Mini Kabibi Habibi
/*! For license information please see main.bundle.js.LICENSE.txt */
(()=>{var e,t,r={45973:(e,t,r)=>{var n=r(15269),o=r(33460);"string"==typeof n&&(n=[[e.id,n]]);for(var i=0;i<n.length;i++)o.loadStyles(n[i][1],!1);n.locals&&(e.exports=n.locals)},15269:(e,t,r)=>{var n=r(88490),o=r(22099)(n);o.push([e.id,'svg>path.OfficeIconColors_m20 {\r\n fill: #FAFAFAFF;\r\n}\r\nsvg>path.OfficeIconColors_m21 {\r\n fill: #C8C6C4FF;\r\n}\r\nsvg>path.OfficeIconColors_m22 {\r\n fill: #3A3A38FF;\r\n}\r\nsvg>path.OfficeIconColors_m23 {\r\n fill: #797774FF;\r\n}\r\nsvg>path.OfficeIconColors_m24 {\r\n fill: #1E8BCDFF;\r\n}\r\nsvg>path.OfficeIconColors_m25 {\r\n fill: #0063B1FF;\r\n}\r\nsvg>path.OfficeIconColors_m26 {\r\n fill: #83BEECFF;\r\n}\r\nsvg>path.OfficeIconColors_m27 {\r\n fill: #379E4EFF;\r\n}\r\nsvg>path.OfficeIconColors_m28 {\r\n fill: #309048FF;\r\n}\r\nsvg>path.OfficeIconColors_m29 {\r\n fill: #A1DDAAFF;\r\n}\r\nsvg>path.OfficeIconColors_m210 {\r\n fill: #DE6C00FF;\r\n}\r\nsvg>path.OfficeIconColors_m211 {\r\n fill: #DE6C00FF;\r\n}\r\nsvg>path.OfficeIconColors_m212 {\r\n fill: #F8DB8FFF;\r\n}\r\nsvg>path.OfficeIconColors_m213 {\r\n fill: #ED3D3BFF;\r\n}\r\nsvg>path.OfficeIconColors_m214 {\r\n fill: #D42314FF;\r\n}\r\nsvg>path.OfficeIconColors_m215 {\r\n fill: #FF9198FF;\r\n}\r\nsvg>path.OfficeIconColors_m216 {\r\n fill: #FF672DFF;\r\n}\r\nsvg>path.OfficeIconColors_m217 {\r\n fill: #E84B12FF;\r\n}\r\nsvg>path.OfficeIconColors_m218 {\r\n fill: #FFB255FF;\r\n}\r\nsvg>path.OfficeIconColors_m219 {\r\n fill: #A846B2FF;\r\n}\r\nsvg>path.OfficeIconColors_m220 {\r\n fill: #922E9BFF;\r\n}\r\nsvg>path.OfficeIconColors_m221 {\r\n fill: #D492D8FF;\r\n}\r\nsvg>path.OfficeIconColors_m222 {\r\n fill: #FFFFFF66;\r\n}\r\nsvg>path.OfficeIconColors_m223 {\r\n fill: #DCEDFA;\r\n}\r\nsvg>path.OfficeIconColors_m224 {\r\n fill: #0063B1FF;\r\n}\r\nsvg>path.OfficeIconColors_m225 {\r\n fill: #EADECCFF;\r\n}\r\nsvg>path.OfficeIconColors_m226 {\r\n fill: #705F53FF;\r\n}\r\nsvg>path.OfficeIconColors_m227 {\r\n fill: #FFFFFFFF;\r\n}\r\nsvg>path.OfficeIconColors_m228 {\r\n fill: #007EE5FF;\r\n}\r\nsvg>path.OfficeIconColors_m229 {\r\n fill: #D83B01FF;\r\n}\r\nsvg>path.OfficeIconColors_m230 {\r\n fill: #0849B1FF;\r\n}\r\nsvg>path.OfficeIconColors_m231 {\r\n fill: #0078D7FF;\r\n}\r\nsvg>path.OfficeIconColors_m232 {\r\n fill: #7DA3C6FF;\r\n}\r\nsvg>path.OfficeIconColors_m233 {\r\n fill: #2B579AFF;\r\n}\r\nsvg>path.OfficeIconColors_m234 {\r\n fill: #B7472AFF;\r\n}\r\nsvg>path.OfficeIconColors_m235 {\r\n fill: #ED9583FF;\r\n}\r\nsvg>path.OfficeIconColors_m236 {\r\n fill: #217346FF;\r\n}\r\nsvg>path.OfficeIconColors_m237 {\r\n fill: #6EB38AFF;\r\n}\r\nsvg>path.OfficeIconColors_m238 {\r\n fill: #7719AAFF;\r\n}\r\nsvg>path.OfficeIconColors_m239 {\r\n fill: #DDC5ECFF;\r\n}\r\nsvg>path.OfficeIconColors_m240 {\r\n fill: #FF0000FF;\r\n}\r\nsvg>path.OfficeIconColors_m241 {\r\n fill: #FFFF00FF;\r\n}\r\nsvg>path.OfficeIconColors_m242 {\r\n fill: #00FF00FF;\r\n}\r\nsvg>path.OfficeIconColors_m243 {\r\n fill: #00FFFFFF;\r\n}\r\nsvg>path.OfficeIconColors_m244 {\r\n fill: #FF0000FF;\r\n}\r\nsvg>path.OfficeIconColors_m245 {\r\n fill: #FF8000FF;\r\n}\r\nsvg>path.OfficeIconColors_m246 {\r\n fill: #57D200FF;\r\n}\r\nsvg>path.OfficeIconColors_m247 {\r\n fill: #3165BBFF;\r\n}\r\nsvg>path.OfficeIconColors_m248 {\r\n fill: #969696FF;\r\n}\r\nsvg>path.OfficeIconColors_m249 {\r\n fill: #797979FF;\r\n}\r\nsvg>path.OfficeIconColors_m250 {\r\n fill: #B3B3B3FF;\r\n}\r\nsvg>path.OfficeIconColors_m251 {\r\n fill: #FF00FFFF;\r\n}\r\nsvg>path.OfficeIconColors_m252 {\r\n fill: #000000FF;\r\n}\r\nsvg>path.OfficeIconColors_m253 {\r\n fill: #9FCDB3FF;\r\n}\r\nsvg>path.OfficeIconColors_m254 {\r\n fill: #028484FF;\r\n}\r\nsvg>path.OfficeIconColors_m255 {\r\n fill: #3B5998FF;\r\n}\r\nsvg>path.OfficeIconColors_m256 {\r\n fill: #1DA1F2FF;\r\n}\r\nsvg>path.OfficeIconColors_m257 {\r\n fill: #DD4B39FF;\r\n}\r\nsvg>path.OfficeIconColors_m258 {\r\n fill: #35465DFF;\r\n}\r\nsvg>path.OfficeIconColors_m259 {\r\n fill: #464342FF;\r\n}\r\nsvg>path.OfficeIconColors_m260 {\r\n fill: #BD081CFF;\r\n}\r\nsvg>path.OfficeIconColors_m261 {\r\n fill: #0077B5FF;\r\n}\r\nsvg>path.OfficeIconColors_m262 {\r\n fill: #FF4500FF;\r\n}\r\nsvg>path.OfficeIconColors_m263 {\r\n fill: #008372FF;\r\n}\r\nsvg>path.OfficeIconColors_m264 {\r\n fill: #0078D7FF;\r\n}\r\nsvg>path.OfficeIconColors_m265 {\r\n fill: #0063DBFF;\r\n}\r\nsvg>path.OfficeIconColors_m266 {\r\n fill: #FF0084FF;\r\n}\r\nsvg>path.OfficeIconColors_m267 {\r\n fill: #CD201FFF;\r\n}\r\nsvg>path.OfficeIconColors_m268 {\r\n fill: #FF00AAFF;\r\n}\r\nsvg>path.OfficeIconColors_m269 {\r\n fill: #F57D00FF;\r\n}\r\nsvg>path.OfficeIconColors_m270 {\r\n fill: #00BF00FF;\r\n}\r\nsvg>path.OfficeIconColors_m271 {\r\n fill: #E6E6E6FF;\r\n}\r\nsvg>path.OfficeIconColors_m272 {\r\n fill: #5A5A5AFF;\r\n}\r\nsvg>path.OfficeIconColors_m273 {\r\n fill: #F4840BFF;\r\n}\r\nsvg>path.OfficeIconColors_m274 {\r\n fill: #FF1600FF;\r\n}\r\nsvg>path.OfficeIconColors_m275 {\r\n fill: #933DC1FF;\r\n}\r\nsvg>path.OfficeIconColors_m276 {\r\n fill: #00BFFFFF;\r\n}\r\nsvg>path.OfficeIconColors_m277 {\r\n fill: #B5D82AFF;\r\n}\r\nsvg>path.OfficeIconColors_m278 {\r\n fill: #F2D80DFF;\r\n}\r\nsvg>path.OfficeIconColors_m279 {\r\n fill: #D40078FF;\r\n}\r\nsvg>path.OfficeIconColors_m280 {\r\n fill: #FABD14FF;\r\n}\r\nsvg>path.OfficeIconColors_m281 {\r\n fill: #0F893EFF;\r\n}\r\nsvg>path.OfficeIconColors_m282 {\r\n fill: #004E8CFF;\r\n}\r\nsvg>path.OfficeIconColors_m283 {\r\n fill: #AC008CFF;\r\n}\r\nsvg>path.OfficeIconColors_m284 {\r\n fill: #F7630DFF;\r\n}\r\nsvg>path.OfficeIconColors_m285 {\r\n fill: #E81123FF;\r\n}\r\nsvg>path.OfficeIconColors_m286 {\r\n fill: #00B6C1FF;\r\n}\r\nsvg>path.OfficeIconColors_m287 {\r\n fill: #0063AFFF;\r\n}\r\nsvg>path.OfficeIconColors_m288 {\r\n fill: #5B2D90FF;\r\n}\r\nsvg>path.OfficeIconColors_m289 {\r\n fill: #C6A477FF;\r\n}\r\nsvg>path.OfficeIconColors_m290 {\r\n fill: #7EC500FF;\r\n}\r\nsvg>path.OfficeIconColors_m291 {\r\n fill: #00AC56FF;\r\n}\r\nsvg>path.OfficeIconColors_m292 {\r\n fill: #0099BBFF;\r\n}\r\nsvg>path.OfficeIconColors_m293 {\r\n fill: #C10051FF;\r\n}\r\nsvg>path.OfficeIconColors_m294 {\r\n fill: #84939AFF;\r\n}\r\nsvg>path.OfficeIconColors_m295 {\r\n fill: #106EBEFF;\r\n}\r\nsvg>path.OfficeIconColors_m296 {\r\n fill: #EE3124FF;\r\n}\r\nsvg>path.OfficeIconColors_m297 {\r\n fill: #DCEAF5FF;\r\n}\r\nsvg>path.OfficeIconColors_m298 {\r\n fill: #C6DFF3FF;\r\n}\r\nsvg>path.OfficeIconColors_m299 {\r\n fill: #B0D4F1FF;\r\n}\r\nsvg>path.OfficeIconColors_m2100 {\r\n fill: #9AC9EEFF;\r\n}\r\nsvg>path.OfficeIconColors_m2101 {\r\n fill: #83BEECFF;\r\n}\r\nsvg>path.OfficeIconColors_m2102 {\r\n fill: #60ACE1FF;\r\n}\r\nsvg>path.OfficeIconColors_m2103 {\r\n fill: #3D9BD6FF;\r\n}\r\nsvg>path.OfficeIconColors_m2104 {\r\n fill: #1B86CAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2105 {\r\n fill: #1A6EBDFF;\r\n}\r\nsvg>path.OfficeIconColors_m2106 {\r\n fill: #FFFFFFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2107 {\r\n fill: #00A4FFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2108 {\r\n fill: #0000007F;\r\n}\r\nsvg>path.OfficeIconColors_m2109 {\r\n fill: #FFFFFF66;\r\n}\r\nsvg>path.OfficeIconColors_m2110 {\r\n fill: #FFFFFF4C;\r\n}\r\nsvg>path.OfficeIconColors_m2111 {\r\n fill: #FFFFFF7F;\r\n}\r\nsvg>path.OfficeIconColors_m2112 {\r\n fill: #000000FF;\r\n}\r\nsvg>path.OfficeIconColors_m2113 {\r\n fill: #A4373AFF;\r\n}\r\nsvg>path.OfficeIconColors_m2114 {\r\n fill: #31752FFF;\r\n}\r\nsvg>path.OfficeIconColors_m2115 {\r\n fill: #077568FF;\r\n}\r\nsvg>path.OfficeIconColors_m2116 {\r\n fill: #3955A3FF;\r\n}\r\nsvg>path.OfficeIconColors_m2117 {\r\n fill: #8EA6DDFF;\r\n}\r\nsvg>path.OfficeIconColors_m2118 {\r\n fill: #00A1E0FF;\r\n}\r\nsvg>path.OfficeIconColors_m2119 {\r\n fill: #002050FF;\r\n}\r\nsvg>path.OfficeIconColors_m2120 {\r\n fill: #FFEF9CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2121 {\r\n fill: #638AC6FF;\r\n}\r\nsvg>path.OfficeIconColors_m2122 {\r\n fill: #638AC63F;\r\n}\r\nsvg>path.OfficeIconColors_m2123 {\r\n fill: #63BE7BFF;\r\n}\r\nsvg>path.OfficeIconColors_m2124 {\r\n fill: #63BE7B3F;\r\n}\r\nsvg>path.OfficeIconColors_m2125 {\r\n fill: #FF555AFF;\r\n}\r\nsvg>path.OfficeIconColors_m2126 {\r\n fill: #FF555A3F;\r\n}\r\nsvg>path.OfficeIconColors_m2127 {\r\n fill: #FFB628FF;\r\n}\r\nsvg>path.OfficeIconColors_m2128 {\r\n fill: #008AEFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2129 {\r\n fill: #D6007BFF;\r\n}\r\nsvg>path.OfficeIconColors_m2130 {\r\n fill: #ED7D31FF;\r\n}\r\nsvg>path.OfficeIconColors_m2131 {\r\n fill: #107C10FF;\r\n}\r\nsvg>path.OfficeIconColors_m2132 {\r\n fill: #C30052FF;\r\n}\r\nsvg>path.OfficeIconColors_m2133 {\r\n fill: #9C0041FF;\r\n}\r\nsvg>path.OfficeIconColors_m2134 {\r\n fill: #F7BFA0FF;\r\n}\r\nsvg>path.OfficeIconColors_m2135 {\r\n fill: #A2D3A0FF;\r\n}\r\nsvg>path.OfficeIconColors_m2136 {\r\n fill: #9FCDC7FF;\r\n}\r\nsvg>path.OfficeIconColors_m2137 {\r\n fill: #D492D84C;\r\n}\r\nsvg>path.OfficeIconColors_m2138 {\r\n fill: #00AECDFF;\r\n}\r\nsvg>path.OfficeIconColors_m2139 {\r\n fill: #4285F1FF;\r\n}\r\nsvg>path.OfficeIconColors_m2140 {\r\n fill: #32A651FF;\r\n}\r\nsvg>path.OfficeIconColors_m2141 {\r\n fill: #FBBE05FF;\r\n}\r\nsvg>path.OfficeIconColors_m2142 {\r\n fill: #EA4235FF;\r\n}\r\nsvg>path.OfficeIconColors_m2143 {\r\n fill: #D492D899;\r\n}\r\nsvg>path.OfficeIconColors_m2144 {\r\n fill: #0182BCFF;\r\n}\r\nsvg>path.OfficeIconColors_m2145 {\r\n fill: #312F62FF;\r\n}\r\nsvg>path.OfficeIconColors_m2146 {\r\n fill: #7CBC31FF;\r\n}\r\nsvg>path.OfficeIconColors_m2147 {\r\n fill: #FAFAFAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2148 {\r\n fill: #3A3A38FF;\r\n}\r\nsvg>path.OfficeIconColors_m2149 {\r\n fill: #797774FF;\r\n}\r\nsvg>path.OfficeIconColors_m2150 {\r\n fill: #F07D88FF;\r\n}\r\nsvg>path.OfficeIconColors_m2151 {\r\n fill: #55ABE5FF;\r\n}\r\nsvg>path.OfficeIconColors_m2152 {\r\n fill: #5FBE7DFF;\r\n}\r\nsvg>path.OfficeIconColors_m2153 {\r\n fill: #B9C0CBFF;\r\n}\r\nsvg>path.OfficeIconColors_m2154 {\r\n fill: #FF8C00FF;\r\n}\r\nsvg>path.OfficeIconColors_m2155 {\r\n fill: #33BAB1FF;\r\n}\r\nsvg>path.OfficeIconColors_m2156 {\r\n fill: #A3B367FF;\r\n}\r\nsvg>path.OfficeIconColors_m2157 {\r\n fill: #A895E2FF;\r\n}\r\nsvg>path.OfficeIconColors_m2158 {\r\n fill: #026802FF;\r\n}\r\nsvg>path.OfficeIconColors_m2159 {\r\n fill: #FFF100FF;\r\n}\r\nsvg>path.OfficeIconColors_m2160 {\r\n fill: #5558AFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2161 {\r\n fill: #800080FF;\r\n}\r\nsvg>path.OfficeIconColors_m2162 {\r\n fill: #FF91983F;\r\n}\r\nsvg>path.OfficeIconColors_m2163 {\r\n fill: #68217AFF;\r\n}\r\nsvg>path.OfficeIconColors_m2164 {\r\n fill: #2B2C33FF;\r\n}\r\nsvg>path.OfficeIconColors_m2165 {\r\n fill: #00A7E9FF;\r\n}\r\nsvg>path.OfficeIconColors_m2166 {\r\n fill: #00979DFF;\r\n}\r\nsvg>path.OfficeIconColors_m2167 {\r\n fill: #FBD115FF;\r\n}\r\nsvg>path.OfficeIconColors_m2168 {\r\n fill: #006BFFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2169 {\r\n fill: #231840FF;\r\n}\r\nsvg>path.OfficeIconColors_m2170 {\r\n fill: #9E8BFCFF;\r\n}\r\nsvg>path.OfficeIconColors_m2171 {\r\n fill: #F3E9FFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2172 {\r\n fill: #FFFFFF4C;\r\n}\r\nsvg>path.OfficeIconColors_m2173 {\r\n fill: #3A3A38FF;\r\n}\r\nsvg>path.OfficeIconColors_m2174 {\r\n fill: #797774FF;\r\n}\r\nsvg>path.OfficeIconColors_m2175 {\r\n fill: #00000059;\r\n}\r\nsvg>path.OfficeIconColors_m2176 {\r\n fill: #FFFFFF7F;\r\n}\r\nsvg>path.OfficeIconColors_m2177 {\r\n fill: #A7DCD5FF;\r\n}\r\nsvg>path.OfficeIconColors_m2178 {\r\n fill: #329494FF;\r\n}\r\nsvg>path.OfficeIconColors_m2179 {\r\n fill: #008085FF;\r\n}\r\nsvg>path.OfficeIconColors_m2180 {\r\n fill: #90E3E3FF;\r\n}\r\nsvg>path.OfficeIconColors_m2181 {\r\n fill: #FFFFFFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2182 {\r\n fill: #0000000C;\r\n}\r\nsvg>path.OfficeIconColors_m2183 {\r\n fill: #00000019;\r\n}\r\nsvg>path.OfficeIconColors_m2184 {\r\n fill: #00000033;\r\n}\r\nsvg>path.OfficeIconColors_m2185 {\r\n fill: #0000007F;\r\n}\r\nsvg>path.OfficeIconColors_m2186 {\r\n fill: #000000C0;\r\n}\r\nsvg>path.OfficeIconColors_m2187 {\r\n fill: #41A5EEFF;\r\n}\r\nsvg>path.OfficeIconColors_m2188 {\r\n fill: #2B7CD3FF;\r\n}\r\nsvg>path.OfficeIconColors_m2189 {\r\n fill: #185ABDFF;\r\n}\r\nsvg>path.OfficeIconColors_m2190 {\r\n fill: #103F91FF;\r\n}\r\nsvg>path.OfficeIconColors_m2191 {\r\n fill: #163870FF;\r\n}\r\nsvg>path.OfficeIconColors_m2192 {\r\n fill: #33C481FF;\r\n}\r\nsvg>path.OfficeIconColors_m2193 {\r\n fill: #21A366FF;\r\n}\r\nsvg>path.OfficeIconColors_m2194 {\r\n fill: #107C41FF;\r\n}\r\nsvg>path.OfficeIconColors_m2195 {\r\n fill: #185C37FF;\r\n}\r\nsvg>path.OfficeIconColors_m2196 {\r\n fill: #134A2CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2197 {\r\n fill: #FF8F6BFF;\r\n}\r\nsvg>path.OfficeIconColors_m2198 {\r\n fill: #ED6C47FF;\r\n}\r\nsvg>path.OfficeIconColors_m2199 {\r\n fill: #D35230FF;\r\n}\r\nsvg>path.OfficeIconColors_m2200 {\r\n fill: #C43E1CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2201 {\r\n fill: #993117FF;\r\n}\r\nsvg>path.OfficeIconColors_m2202 {\r\n fill: #CA64EAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2203 {\r\n fill: #AE4BD5FF;\r\n}\r\nsvg>path.OfficeIconColors_m2204 {\r\n fill: #9332BFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2205 {\r\n fill: #7719AAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2206 {\r\n fill: #511575FF;\r\n}\r\nsvg>path.OfficeIconColors_m2207 {\r\n fill: #50D9FFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2208 {\r\n fill: #28A8EAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2209 {\r\n fill: #1490DFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2210 {\r\n fill: #0078D4FF;\r\n}\r\nsvg>path.OfficeIconColors_m2211 {\r\n fill: #0364B8FF;\r\n}\r\nsvg>path.OfficeIconColors_m2212 {\r\n fill: #0358A7FF;\r\n}\r\nsvg>path.OfficeIconColors_m2213 {\r\n fill: #06509BFF;\r\n}\r\nsvg>path.OfficeIconColors_m2214 {\r\n fill: #064A8CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2215 {\r\n fill: #0A2767FF;\r\n}\r\nsvg>path.OfficeIconColors_m2216 {\r\n fill: #0A27677F;\r\n}\r\nsvg>path.OfficeIconColors_m2217 {\r\n fill: #7B83EBFF;\r\n}\r\nsvg>path.OfficeIconColors_m2218 {\r\n fill: #5059C9FF;\r\n}\r\nsvg>path.OfficeIconColors_m2219 {\r\n fill: #4B53BCFF;\r\n}\r\nsvg>path.OfficeIconColors_m2220 {\r\n fill: #363A7EFF;\r\n}\r\nsvg>path.OfficeIconColors_m2221 {\r\n fill: #37C6D0FF;\r\n}\r\nsvg>path.OfficeIconColors_m2222 {\r\n fill: #1A9BA1FF;\r\n}\r\nsvg>path.OfficeIconColors_m2223 {\r\n fill: #038387FF;\r\n}\r\nsvg>path.OfficeIconColors_m2224 {\r\n fill: #036C70FF;\r\n}\r\nsvg>path.OfficeIconColors_m2225 {\r\n fill: #0E4F51FF;\r\n}\r\nsvg>path.OfficeIconColors_m2226 {\r\n fill: #DE6C00FF;\r\n}\r\nsvg>path.OfficeIconColors_m2227 {\r\n fill: #FFFFFF00;\r\n}\r\nsvg>path.OfficeIconColors_m2228 {\r\n fill: #3A3A38FF;\r\n}\r\nsvg>path.OfficeIconColors_m2229 {\r\n fill: #FFFFFF00;\r\n}\r\nsvg>path.OfficeIconColors_m2230 {\r\n fill: #1E8BCDFF;\r\n}\r\nsvg>path.OfficeIconColors_m2231 {\r\n fill: #FFFFFF00;\r\n}\r\nsvg>path.OfficeIconColors_m2232 {\r\n fill: #66C2B5FF;\r\n}\r\nsvg>path.OfficeIconColors_m2233 {\r\n fill: #FAC914FF;\r\n}\r\nsvg>path.OfficeIconColors_m2234 {\r\n fill: #E9001BFF;\r\n}\r\nsvg>path.OfficeIconColors_m2235 {\r\n fill: #A8C4CFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2236 {\r\n fill: #6EB005FF;\r\n}\r\nsvg>path.OfficeIconColors_m2237 {\r\n fill: #B4009EFF;\r\n}\r\nsvg>path.OfficeIconColors_m2238 {\r\n fill: #C8C6C4FF;\r\n}\r\nsvg>path.OfficeIconColors_m2239 {\r\n fill: #666EDAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2240 {\r\n fill: #41479DFF;\r\n}\r\nsvg>path.OfficeIconColors_m2241 {\r\n fill: #E08095FF;\r\n}\r\nsvg>path.OfficeIconColors_m2242 {\r\n fill: #C94F60FF;\r\n}\r\nsvg>path.OfficeIconColors_m2243 {\r\n fill: #AF2031FF;\r\n}\r\nsvg>path.OfficeIconColors_m2244 {\r\n fill: #881421FF;\r\n}\r\nsvg>path.OfficeIconColors_m2245 {\r\n fill: #66121CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2246 {\r\n fill: #E8467CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2247 {\r\n fill: #D23062FF;\r\n}\r\nsvg>path.OfficeIconColors_m2248 {\r\n fill: #BC1948FF;\r\n}\r\nsvg>path.OfficeIconColors_m2249 {\r\n fill: #8C193FFF;\r\n}\r\nsvg>path.OfficeIconColors_m2250 {\r\n fill: #7B193BFF;\r\n}\r\nsvg>path.OfficeIconColors_m2251 {\r\n fill: #000000FF;\r\n}\r\nsvg>path.OfficeIconColors_m2252 {\r\n fill: #C8C6C4FF;\r\n}\r\nsvg>path.OfficeIconColors_m2253 {\r\n fill: #86F2F2FF;\r\n}\r\nsvg>path.OfficeIconColors_m2254 {\r\n fill: #F29E00FF;\r\n}\r\nsvg>path.OfficeIconColors_m2255 {\r\n fill: #D83B01FF;\r\n}\r\nsvg>path.OfficeIconColors_m2256 {\r\n fill: #D83B013F;\r\n}\r\nsvg>path.OfficeIconColors_m2257 {\r\n fill: #D5559CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2258 {\r\n fill: #C21F24FF;\r\n}\r\nsvg>path.OfficeIconColors_m2259 {\r\n fill: #C21F243F;\r\n}\r\nsvg>path.OfficeIconColors_m2260 {\r\n fill: #F32940FF;\r\n}\r\nsvg>path.OfficeIconColors_m2261 {\r\n fill: #5E050026;\r\n}\r\nsvg>path.OfficeIconColors_m2262 {\r\n fill: #185ABDFF;\r\n}\r\nsvg>path.OfficeIconColors_m2263 {\r\n fill: #107C41FF;\r\n}\r\nsvg>path.OfficeIconColors_m2264 {\r\n fill: #C43E1CFF;\r\n}\r\nsvg>path.OfficeIconColors_m2265 {\r\n fill: #7719AAFF;\r\n}\r\nsvg>path.OfficeIconColors_m2266 {\r\n fill: #0078D4FF;\r\n}\r\nsvg>path.OfficeIconColors_m2267 {\r\n fill: #4B53BCFF;\r\n}\r\nsvg>path.OfficeIconColors_m2268 {\r\n fill: #038387FF;\r\n}\r\nsvg>path.OfficeIconColors_m2269 {\r\n fill: #AF2031FF;\r\n}\r\nsvg>path.OfficeIconColors_m2270 {\r\n fill: #BC1948FF;\r\n}\r\nsvg>path.OfficeIconColors_m2271 {\r\n fill: #F8DE6DFF;\r\n}\r\nsvg>path.OfficeIconColors_m2272 {\r\n fill: #E9C011FF;\r\n}\r\nsvg>path.OfficeIconColors_m2273 {\r\n fill: #E6AD10FF;\r\n}\r\nsvg>path.OfficeIconColors_m2274 {\r\n fill: #D7960FFF;\r\n}\r\nsvg>path.OfficeIconColors_m2275 {\r\n fill: #D08A0FFF;\r\n}\r\nsvg>path.OfficeIconColors_m2276 {\r\n fill: #C87E0EFF;\r\n}\r\nsvg>path.OfficeIconColors_m2277 {\r\n fill: #34C1E0FF;\r\n}\r\nsvg>path.OfficeIconColors_m2278 {\r\n fill: #83E688FF;\r\n}\r\nsvg>path.OfficeIconColors_m2279 {\r\n fill: #37B658FF;\r\n}\r\nsvg>path.OfficeIconColors_m2280 {\r\n fill: #088142FF;\r\n}\r\nsvg>path.OfficeIconColors_m2281 {\r\n fill: #09743DFF;\r\n}\r\nsvg>path.OfficeIconColors_m2282 {\r\n fill: #0A5A33FF;\r\n}\r\nsvg>path.OfficeIconColors_m2283 {\r\n fill: #0A5A33FF;\r\n}\r\nsvg>path.OfficeIconColors_m2284 {\r\n fill: #0A5A33FF;\r\n}\r\nsvg>path.OfficeIconColors_m2285 {\r\n fill: #E5512AFF;\r\n}\r\nsvg>path.OfficeIconColors_m2286 {\r\n fill: #BB3B01FF;\r\n}\r\nsvg>path.OfficeIconColors_m2287 {\r\n fill: #8661C5FF;\r\n}\r\nsvg>path.OfficeIconColors_m2288 {\r\n fill: #0472D8FF;\r\n}\r\nsvg>path.OfficeIconColors_m2289 {\r\n fill: #0C4497FF;\r\n}\r\nsvg>path.OfficeIconColors_m2290 {\r\n fill: #2096FFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2291 {\r\n fill: #56C5FFFF;\r\n}\r\nsvg>path.OfficeIconColors_m2292 {\r\n fill: #4C43E0FF;\r\n}\r\nsvg>path.OfficeIconColors_m2293 {\r\n fill: #EEE5FFFF;\r\n}\r\nsvg>path.OfficeIconColors_DynamicColor {\r\n fill: inherit;\r\n}\r\n\nsvg > path.OfficeIconColors_mWord0001 {\n fill: rgba(180, 180, 180, 1);\n}\nsvg > path.OfficeIconColors_mWord0002 {\n fill: #333333;\n}\nsvg > path.OfficeIconColors_mWord0003 {\n fill: #107c10;\n}\nsvg > path.OfficeIconColors_mWord0004 {\n fill: #a4262c;\n}\nsvg > path.OfficeIconColors_mMSLogoGrey {\n fill: #737373;\n}\nsvg > path.OfficeIconColors_MSLogoOrange {\n fill: #f25022;\n}\nsvg > path.OfficeIconColors_MSLogoGreen {\n fill: #7fba00;\n}\nsvg > path.OfficeIconColors_MSLogoBlue {\n fill: #00a4ef;\n}\nsvg > path.OfficeIconColors_MSLogoYellow {\n fill: #ffb900;\n}\nsvg > path.OfficeIconColors_MSLogoWithVisioBlack {\n fill: #242424;\n}\nsvg > path.OfficeIconColors_Transparent {\n fill: transparent;\n}\nsvg > path.OfficeIconColors_mIconGray {\n fill: #919191;\n}\nsvg > path.OfficeIconColors_mIconLightBlack {\n fill: #3a3a38;\n}\nsvg > path.OfficeIconColors_IllustrationYellow {\n fill: #ffe5b9;\n}\nsvg > path.OfficeIconColors_IllustrationPink {\n fill: #df816e;\n}\nsvg > path.OfficeIconColors_IllustrationLightPink1 {\n fill: #f0d8d3;\n}\nsvg > path.OfficeIconColors_IllustrationLightPink2 {\n fill: #f7ddd7;\n}\nsvg > path.OfficeIconColors_IllustrationDarkPink {\n fill: #ce7e6e;\n}\nsvg > path.OfficeIconColors_IllustrationFillWhiteAndStrokeGray {\n fill: white;\n stroke: #b3b3b3;\n}\nsvg > path.OfficeIconColors_IllustrationFillWhiteAndStrokeDarkGray {\n fill: white;\n stroke: #808080;\n}\nsvg > path.OfficeIconColors_White {\n fill: white;\n}\nsvg > path.OfficeIconColors_mWhite {\n fill: white;\n}\nsvg > rect.OfficeIconColors_mYellow {\n fill: #ffb900;\n}\nsvg > path.OfficeIconColors_mNeutralDark {\n fill: #242424;\n}\n.OfficeIconColors_mBookmarkIconInnerPath {\n fill: #185abd;\n fill: var(--clrBookmarkInnerPath, #185abd);\n}\n.OfficeIconColors_mBookmarkIconInnerPath:hover {\n fill: #1651aa;\n fill: var(--clrBookmarkInnerPathHover, #1651aa);\n}\n.OfficeIconColors_mBookmarkIconOuterPath {\n fill: #185abd;\n fill: var(--clrBookmarkOuterPath, #185abd);\n}\n.OfficeIconColors_mBookmarkIconOuterPath:hover {\n fill: #1651aa;\n fill: var(--clrBookmarkOuterPathHover, #1651aa);\n}\n.OfficeIconColors_mSocialMediaIconPath {\n fill: #212121;\n}\n.OfficeIconColors_mRewriteCopilotPath {\n fill: #616161;\n}\n.OfficeIconColors_mRewriteErrorWarningPath {\n fill: #de590b;\n}\n.OfficeIconColors_mRewriteStopGeneratingSuggestionsPath {\n fill: #616161;\n}\n\n.OfficeIconColors_mChatPPTDark {\n fill-rule: evenodd;\n clip-rule: evenodd;\n fill: #212121;\n}\n.OfficeIconColors_mChatPPTLight {\n fill-rule: evenodd;\n clip-rule: evenodd;\n fill: #e1dfdd;\n}\n.OfficeIconColors_mChatPPTBlue {\n fill: #0063b1;\n}\n.OfficeIconColors_mChatPPTRectStroke {\n stroke: #ffe8e9;\n stroke-width: 2;\n}\n.OfficeIconColors_mChatPPTWhite {\n fill: white;\n}\n\n/* Comment Canvas Icon Styles */\n/*Comment Hint Icon*/\n.OfficeIconColors_mCommentHintIconCenter {\n fill: var(--clrCommentIconCenter, #fafafa);\n}\n.OfficeIconColors_mCommentHintIconBorder {\n fill: var(--clrCommentIconBorder, #242424);\n}\n/*Comment Multi Hint Icon*/\n.OfficeIconColors_mCommentMultiHintIconCenter {\n fill: var(--clrCommentIconCenter, #fafafa);\n}\n.OfficeIconColors_mCommentMultiHintIconBorder {\n fill: var(--clrCommentIconBorder, #242424);\n}\n/*Comment Resolved Hint Icon*/\n.OfficeIconColors_mCommentResolvedHintIconCenter {\n fill: var(--clrCommentIconCenter, #fafafa);\n}\n.OfficeIconColors_mCommentResolvedHintIconBorder {\n fill: var(--clrCommentIconBorder, #242424);\n}\n.OfficeIconColors_mCommentResolvedHintIconStamp {\n fill: var(--clrCommentIconStamp, #639d54);\n}\n/*Comment Resolved Multi Hint Icon*/\n.OfficeIconColors_mCommentResolvedMultiHintIconCenter {\n fill: var(--clrCommentIconCenter, #fafafa);\n}\n.OfficeIconColors_mCommentResolvedMultiHintIconBorder {\n fill: var(--clrCommentIconBorder, #242424);\n}\n.OfficeIconColors_mCommentResolvedMultiHintIconStamp {\n fill: var(--clrCommentIconStamp, #639d54);\n}\n/*Comment Entrypoint*/\n.OfficeIconColors_mCommentMarginEntrypointCenter {\n fill: var(--clrCommentIconCenter, #fafafa);\n}\n.CommentMarginEntrypoint:hover\n .OfficeIconColors_mCommentMarginEntrypointCenter {\n fill: var(--clrCommentIconCenterHover, #d492d84c);\n}\n.OfficeIconColors_mCommentMarginEntrypointBorder {\n fill: var(--clrCommentIconBorder, #242424);\n}\n.CommentMarginEntrypoint:hover\n .OfficeIconColors_mCommentMarginEntrypointBorder {\n fill: var(--clrCommentIconBorderHover, #9c44a6);\n}\n.OfficeIconColors_mCommentMarginEntrypointStamp {\n fill: var(--clrCommentIconStamp, #639d54);\n}\n.CommentMarginEntrypoint:hover .OfficeIconColors_mCommentMarginEntrypointStamp {\n fill: var(--clrCommentIconStampHover, #9c44a6);\n}\n\n/* Border Styles icon */\n.BorderStyleIconOutter {\n vertical-align: middle;\n stroke: black;\n}\n\n/* Shell header API requires an icon font. Currently it is containing a single icon */\n@font-face {\n font-family: "header-icon-font";\n src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS4AAsAAAAABGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFKmNtYXAAAAFoAAAAVAAAAFQXVtKHZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAALAAAACwj/lT52hlYWQAAAJ0AAAANgAAADYV29+GaGhlYQAAAqwAAAAkAAAAJAePA8ZobXR4AAAC0AAAABQAAAAUCgAAM2xvY2EAAALkAAAADAAAAAwAKABsbWF4cAAAAvAAAAAgAAAAIAANABxuYW1lAAADEAAAAYYAAAGGmUoJ+3Bvc3QAAASYAAAAIAAAACAAAwAAAAMDAAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QADwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkA//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAABwAzADsDzQONAAQACAAMABAAEwAWABkAAAkDIQcXMycjByEnBTM3IxMDIwETIRMBIwPN/jP+MwEIAYpaULO/4lEBCFH+X7NQRFxmvQF2hP741gEkvAJz/cgCOAEaM83MzMzMzP2ZAWf+MwHN/pkBZwAAAAABAAAAAAAAT5fqk18PPPUACwQAAAAAANl4zX4AAAAA2XjNfgAAAAADzQONAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAPNAAEAAAAAAAAAAAAAAAAAAAAFBAAAAAAAAAAAAAAAAgAAAAQAADMAAAAAAAoAFAAeAFgAAQAAAAUAGgAHAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=)\n format("woff");\n font-weight: normal;\n font-style: normal;\n}\n.header-icon-upgradeproductglyph {\n font-family: "header-icon-font" !important;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.header-icon-upgradeproductglyph:before {\n content: "\\e900";\n}\n\nsvg > path.OfficeIconColors_mCP0 {\n fill: url(#paint0_radial_608_3800);\n}\nsvg > path.OfficeIconColors_mCP1 {\n fill: url(#paint1_radial_608_3800);\n}\nsvg > path.OfficeIconColors_mCP2 {\n fill: url(#paint2_linear_608_3800);\n}\nsvg > path.OfficeIconColors_mCP3 {\n fill: url(#paint3_linear_608_3800);\n}\nsvg > path.OfficeIconColors_mCP4 {\n fill: url(#paint4_radial_608_3800);\n}\nsvg > path.OfficeIconColors_mCP5 {\n fill: url(#paint5_linear_608_3800);\n}\n\nsvg > path.OfficeIconColors_m16Copilot0 {\n fill: url(#paint0_radial_56201_15528);\n}\nsvg > path.OfficeIconColors_m16Copilot1 {\n fill: url(#paint1_radial_56201_15528);\n}\nsvg > path.OfficeIconColors_m16Copilot2 {\n fill: url(#paint2_linear_56201_15528);\n}\nsvg > path.OfficeIconColors_m16Copilot3 {\n fill: url(#paint3_linear_56201_15528);\n}\nsvg > path.OfficeIconColors_m16Copilot4 {\n fill: url(#paint4_radial_56201_15528);\n}\nsvg > path.OfficeIconColors_m16Copilot5 {\n fill: url(#paint5_linear_56201_15528);\n}\n\n.OfficeIconColors_mPPT20CoPilot0 {\n fill: url(#paint0_radial_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot1 {\n fill: url(#paint1_linear_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot2 {\n fill: url(#paint2_radial_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot3 {\n fill: url(#paint3_linear_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot4 {\n fill: url(#paint4_radial_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot5 {\n fill: url(#paint5_linear_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot6 {\n fill: url(#paint6_radial_1223_282176);\n}\n.OfficeIconColors_mPPT20CoPilot7 {\n fill: url(#paint7_linear_1223_282176);\n}\n\nsvg > path.OfficeIconColors_m20Copilot0 {\n fill: url(#paint0_radial_56201_15523);\n}\nsvg > path.OfficeIconColors_m20Copilot1 {\n fill: url(#paint1_radial_56201_15523);\n}\nsvg > path.OfficeIconColors_m20Copilot2 {\n fill: url(#paint2_linear_56201_15523);\n}\nsvg > path.OfficeIconColors_m20Copilot3 {\n fill: url(#paint3_linear_56201_15523);\n}\nsvg > path.OfficeIconColors_m20Copilot4 {\n fill: url(#paint4_radial_56201_15523);\n}\nsvg > path.OfficeIconColors_m20Copilot5 {\n fill: url(#paint5_linear_56201_15523);\n}\n\nsvg > path.OfficeIconColors_m32Copilot0 {\n fill: url(#paint0_radial_56201_15508);\n}\nsvg > path.OfficeIconColors_m32Copilot1 {\n fill: url(#paint1_radial_56201_15508);\n}\nsvg > path.OfficeIconColors_m32Copilot2 {\n fill: url(#paint2_linear_56201_15508);\n}\nsvg > path.OfficeIconColors_m32Copilot3 {\n fill: url(#paint3_linear_56201_15508);\n}\nsvg > path.OfficeIconColors_m32Copilot4 {\n fill: url(#paint4_radial_56201_15508);\n}\nsvg > path.OfficeIconColors_m32Copilot5 {\n fill: url(#paint5_linear_56201_15508);\n}\n\nsvg > path.OfficeIconColors_m20Copilot020 {\n fill: url(#paint0_radial_copilot_20);\n}\nsvg > path.OfficeIconColors_m20Copilot120 {\n fill: url(#paint1_radial_copilot_20);\n}\nsvg > path.OfficeIconColors_m20Copilot220 {\n fill: url(#paint2_linear_copilot_20);\n}\nsvg > path.OfficeIconColors_m20Copilot320 {\n fill: url(#paint3_linear_copilot_20);\n}\nsvg > path.OfficeIconColors_m20Copilot420 {\n fill: url(#paint4_radial_copilot_20);\n}\nsvg > path.OfficeIconColors_m20Copilot520 {\n fill: url(#paint5_linear_copilot_20);\n}\n\nsvg > path.OfficeIconColors_HighContrast:not([class*="OfficeIconColors_m"]) {\n fill: transparent;\n}\nsvg\n > path.OfficeIconColors_HighContrastCoPilot:not(\n [class*="OfficeIconColors_m"]\n ) {\n fill: transparent;\n}\nsvg > rect.OfficeIconColors_HighContrast:not([class*="OfficeIconColors_m"]),\nsvg\n > path.OfficeIconColors_HighContrastInverse:not(\n [class*="OfficeIconColors_m"]\n ),\nsvg\n > rect.OfficeIconColors_HighContrastInverse:not(\n [class*="OfficeIconColors_m"]\n ) {\n fill: transparent;\n}\n\n@media screen and (-ms-high-contrast: active), (forced-colors: active) {\n /*\n ** Note: The additional `:not(.OfficeIconColors_HighContrast)` pseudo-class is required for selectors below\n ** in this CSS media query group if there are any corresponding non-high-contrast selectors (outside this CSS media\n ** query group) that also have an inverse `:not([class*="OfficeIconColors_m"])`. The same applies vice-versa.\n ** This is required so that these selectors have the same specificity as their non-high-contrast selectors outside\n ** this CSS media query group. Otherwise, the non-high-contrast selectors will take precedence because\n ** they will have higher specificity.\n */\n svg > path[class*="OfficeIconColors_m"]:not(.OfficeIconColors_HighContrast),\n svg\n > path[class*="OfficeIconColors_m"]:not(\n .OfficeIconColors_HighContrastInverse\n ),\n svg > rect[class*="OfficeIconColors_m"]:not(.OfficeIconColors_HighContrast),\n svg\n > rect[class*="OfficeIconColors_m"]:not(\n .OfficeIconColors_HighContrastInverse\n ) {\n fill: transparent;\n }\n\n .UxDarkMode\n svg\n > path[class*="OfficeIconColors_m"]:not(.OfficeIconColors_HighContrast),\n .UxDarkMode\n svg\n > path[class*="OfficeIconColors_m"]:not(\n .OfficeIconColors_HighContrastInverse\n ),\n .UxDarkMode\n svg\n > rect[class*="OfficeIconColors_m"]:not(.OfficeIconColors_HighContrast),\n .UxDarkMode\n svg\n > rect[class*="OfficeIconColors_m"]:not(\n .OfficeIconColors_HighContrastInverse\n ) {\n fill: transparent;\n }\n\n svg\n > path.OfficeIconColors_HighContrastCoPilot:not(\n [class*="OfficeIconColors_m"]\n ) {\n fill: canvasText;\n }\n\n svg > path.OfficeIconColors_HighContrast:not([class*="OfficeIconColors_m"]),\n svg > rect.OfficeIconColors_HighContrast:not([class*="OfficeIconColors_m"]) {\n fill: ButtonText;\n }\n\n svg\n > path.OfficeIconColors_HighContrastInverse:not(\n [class*="OfficeIconColors_m"]\n ) {\n fill: ButtonFace;\n }\n\n a[aria-disabled="true"] svg > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"] a svg > path.OfficeIconColors_HighContrast {\n fill: grayText;\n }\n a[aria-disabled="false"] svg > path.OfficeIconColors_HighContrast,\n [aria-disabled="false"] a svg > path.OfficeIconColors_HighContrast {\n fill: linkText;\n }\n\n /*\n * Comment Margin Entrypoint requires overriding of path classes for\n * high contrast hover scenarios\n **/\n .CommentMarginEntrypoint:hover\n .OfficeIconColors_mCommentMarginEntrypointStamp,\n .CommentMarginEntrypoint:hover\n .OfficeIconColors_mCommentMarginEntrypointBorder,\n .CommentMarginEntrypoint:hover\n .OfficeIconColors_mCommentMarginEntrypointCenter {\n fill: transparent;\n }\n .CommentMarginEntrypoint:hover .OfficeIconColors_HighContrast {\n fill: highlight;\n }\n\n button:hover svg > path.OfficeIconColors_HighContrast,\n button:focus svg > path.OfficeIconColors_HighContrast,\n button[aria-pressed="true"] svg > path.OfficeIconColors_HighContrast,\n button[aria-selected="true"] svg > path.OfficeIconColors_HighContrast,\n button[aria-expanded="true"] svg > path.OfficeIconColors_HighContrast,\n button[aria-checked="true"] svg > path.OfficeIconColors_HighContrast {\n fill: highlightText;\n }\n\n /*\n * VNext buttons have different high contrast styles and we\n * don\'t want to change it to change the icon color on focus and expanded\n **/\n button:focus[class*="ms-ButtonNext"] svg > path.OfficeIconColors_HighContrast,\n button[aria-expanded="true"][class*="ms-ButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast {\n fill: ButtonText;\n }\n\n /*\n * VNext buttons have different high contrast styles and we\n * need the color to be highlight for hover\n **/\n button:hover[class*="ms-ButtonNext"] svg > path.OfficeIconColors_HighContrast,\n button:hover[aria-pressed="true"][class*="ms-ButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast {\n fill: Highlight;\n }\n\n /**\n * V9 menu button styles\n */\n div:hover[class*="ms-MenuButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast {\n fill: HighlightText;\n }\n div[aria-disabled="true"][class*="ms-MenuButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast {\n fill: GrayText;\n }\n\n /*\n * VNext buttons have different high contrast styles and we\n * need the color to be highlightText for pressed, selected and checked\n **/\n button[aria-pressed="true"][class*="ms-ButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-selected="true"][class*="ms-ButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-checked="true"][class*="ms-ButtonNext"]\n svg\n > path.OfficeIconColors_HighContrast {\n fill: HighlightText;\n }\n\n button:hover[aria-disabled="true"] svg > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"] button:hover svg > path.OfficeIconColors_HighContrast,\n button:hover:disabled svg > path.OfficeIconColors_HighContrast,\n button:focus[aria-disabled="true"] svg > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"] button:focus svg > path.OfficeIconColors_HighContrast,\n button:focus:disabled svg > path.OfficeIconColors_HighContrast,\n button:hover:focus[aria-disabled="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n button:hover:focus\n svg\n > path.OfficeIconColors_HighContrast,\n button:hover:focus:disabled svg > path.OfficeIconColors_HighContrast,\n button[aria-disabled="true"] svg > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"] button svg > path.OfficeIconColors_HighContrast,\n button:disabled svg > path.OfficeIconColors_HighContrast,\n button[aria-pressed="true"][aria-disabled="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n button[aria-pressed="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-pressed="true"]:disabled svg > path.OfficeIconColors_HighContrast,\n button[aria-selected="true"][aria-disabled="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n button[aria-selected="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-selected="true"]:disabled\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-expanded="true"][aria-disabled="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n button[aria-expanded="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-expanded="true"]:disabled\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-checked="true"][aria-disabled="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n button[aria-checked="true"]\n svg\n > path.OfficeIconColors_HighContrast,\n button[aria-checked="true"]:disabled\n svg\n > path.OfficeIconColors_HighContrast {\n fill: grayText;\n }\n\n /* For the checkbox, we need to check for an input with a label nearby */\n input:hover[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:focus[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast {\n fill: highlightText;\n }\n\n input:hover[type="checkbox"][aria-checked="true"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input:hover[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:hover:disabled[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:focus[type="checkbox"][aria-checked="true"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input:focus[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:focus:disabled[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:hover:focus[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:hover:focus:disabled[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input[type="checkbox"][aria-checked="true"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:disabled[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input[type="checkbox"][aria-checked="true"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input[type="checkbox"][aria-checked="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast {\n fill: grayText;\n }\n\n input:hover:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:focus:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast {\n fill: highlightText;\n }\n\n input:hover:checked[type="checkbox"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input:hover:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:hover:disabled:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:focus:checked[type="checkbox"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input:focus:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:focus:disabled:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:hover:focus[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:hover:focus:disabled:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:checked[type="checkbox"][aria-disabled="true"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n [aria-disabled="true"]\n input:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast,\n input:disabled:checked[type="checkbox"]\n ~ label\n svg\n > path.OfficeIconColors_HighContrast {\n fill: grayText;\n }\n}\n\n.UxDarkMode svg>path.OfficeIconColors_m20 {\r\n fill: #00000000;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m21 {\r\n fill: #5E5E5EFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m22 {\r\n fill: #D4D4D4FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m23 {\r\n fill: #989898FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m24 {\r\n fill: #3B9ADCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m25 {\r\n fill: #83BEECFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m26 {\r\n fill: #0063B1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m27 {\r\n fill: #73DD83FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m28 {\r\n fill: #A1DDAAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m29 {\r\n fill: #309048FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m210 {\r\n fill: #F8B760FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m211 {\r\n fill: #F8DB8FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m212 {\r\n fill: #E39123FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m213 {\r\n fill: #E94C4FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m214 {\r\n fill: #F67780FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m215 {\r\n fill: #D42314FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m216 {\r\n fill: #FF892DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m217 {\r\n fill: #FF912DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m218 {\r\n fill: #DB4B04FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m219 {\r\n fill: #D471D8FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m220 {\r\n fill: #D492D8FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m221 {\r\n fill: #922E9BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m222 {\r\n fill: #00000066;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m223 {\r\n fill: #004377;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m224 {\r\n fill: #83BEECFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m225 {\r\n fill: #EADECCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m226 {\r\n fill: #705F53FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m227 {\r\n fill: #FFFFFFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m228 {\r\n fill: #007EE5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m229 {\r\n fill: #D83B01FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m230 {\r\n fill: #0849B1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m231 {\r\n fill: #0078D7FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m232 {\r\n fill: #7DA3C6FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m233 {\r\n fill: #2B579AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m234 {\r\n fill: #B7472AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m235 {\r\n fill: #ED9583FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m236 {\r\n fill: #217346FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m237 {\r\n fill: #6EB38AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m238 {\r\n fill: #7719AAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m239 {\r\n fill: #DDC5ECFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m240 {\r\n fill: #FF0000FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m241 {\r\n fill: #FFFF00FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m242 {\r\n fill: #00FF00FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m243 {\r\n fill: #00FFFFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m244 {\r\n fill: #FF0000FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m245 {\r\n fill: #FF8000FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m246 {\r\n fill: #57D200FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m247 {\r\n fill: #3165BBFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m248 {\r\n fill: #969696FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m249 {\r\n fill: #797979FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m250 {\r\n fill: #B3B3B3FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m251 {\r\n fill: #FF00FFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m252 {\r\n fill: #000000FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m253 {\r\n fill: #9FCDB3FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m254 {\r\n fill: #028484FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m255 {\r\n fill: #3B5998FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m256 {\r\n fill: #1DA1F2FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m257 {\r\n fill: #DD4B39FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m258 {\r\n fill: #35465DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m259 {\r\n fill: #464342FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m260 {\r\n fill: #BD081CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m261 {\r\n fill: #0077B5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m262 {\r\n fill: #FF4500FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m263 {\r\n fill: #008372FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m264 {\r\n fill: #0078D7FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m265 {\r\n fill: #0063DBFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m266 {\r\n fill: #FF0084FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m267 {\r\n fill: #CD201FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m268 {\r\n fill: #FF00AAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m269 {\r\n fill: #F57D00FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m270 {\r\n fill: #00BF00FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m271 {\r\n fill: #E6E6E6FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m272 {\r\n fill: #5A5A5AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m273 {\r\n fill: #F4840BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m274 {\r\n fill: #FF1600FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m275 {\r\n fill: #933DC1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m276 {\r\n fill: #00BFFFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m277 {\r\n fill: #B5D82AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m278 {\r\n fill: #F2D80DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m279 {\r\n fill: #D40078FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m280 {\r\n fill: #FABD14FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m281 {\r\n fill: #0F893EFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m282 {\r\n fill: #004E8CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m283 {\r\n fill: #AC008CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m284 {\r\n fill: #F7630DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m285 {\r\n fill: #E81123FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m286 {\r\n fill: #00B6C1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m287 {\r\n fill: #0063AFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m288 {\r\n fill: #5B2D90FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m289 {\r\n fill: #C6A477FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m290 {\r\n fill: #7EC500FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m291 {\r\n fill: #00AC56FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m292 {\r\n fill: #0099BBFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m293 {\r\n fill: #C10051FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m294 {\r\n fill: #84939AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m295 {\r\n fill: #106EBEFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m296 {\r\n fill: #EE3124FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m297 {\r\n fill: #1C2F4FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m298 {\r\n fill: #1C3D63FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m299 {\r\n fill: #1C4B79FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2100 {\r\n fill: #1C5A8EFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2101 {\r\n fill: #1C68A3FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2102 {\r\n fill: #1E75B0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2103 {\r\n fill: #1F83C0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2104 {\r\n fill: #2592D0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2105 {\r\n fill: #459BD1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2106 {\r\n fill: #32313100;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2107 {\r\n fill: #00A4FFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2108 {\r\n fill: #FFFFFF7F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2109 {\r\n fill: #00000066;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2110 {\r\n fill: #0000004C;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2111 {\r\n fill: #0000007F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2112 {\r\n fill: #000000FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2113 {\r\n fill: #A4373AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2114 {\r\n fill: #31752FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2115 {\r\n fill: #077568FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2116 {\r\n fill: #3955A3FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2117 {\r\n fill: #8EA6DDFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2118 {\r\n fill: #00A1E0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2119 {\r\n fill: #002050FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2120 {\r\n fill: #FFEF9CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2121 {\r\n fill: #638AC6FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2122 {\r\n fill: #638AC63F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2123 {\r\n fill: #63BE7BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2124 {\r\n fill: #63BE7B3F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2125 {\r\n fill: #FF555AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2126 {\r\n fill: #FF555A3F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2127 {\r\n fill: #FFB628FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2128 {\r\n fill: #008AEFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2129 {\r\n fill: #D6007BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2130 {\r\n fill: #ED7D31FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2131 {\r\n fill: #107C10FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2132 {\r\n fill: #C30052FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2133 {\r\n fill: #9C0041FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2134 {\r\n fill: #F7BFA0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2135 {\r\n fill: #A2D3A0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2136 {\r\n fill: #9FCDC7FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2137 {\r\n fill: #922E9B4C;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2138 {\r\n fill: #00AECDFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2139 {\r\n fill: #4285F1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2140 {\r\n fill: #32A651FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2141 {\r\n fill: #FBBE05FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2142 {\r\n fill: #EA4235FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2143 {\r\n fill: #922E9B99;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2144 {\r\n fill: #0182BCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2145 {\r\n fill: #312F62FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2146 {\r\n fill: #7CBC31FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2147 {\r\n fill: #FAFAFAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2148 {\r\n fill: #3A3A38FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2149 {\r\n fill: #797774FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2150 {\r\n fill: #F07D88FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2151 {\r\n fill: #55ABE5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2152 {\r\n fill: #5FBE7DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2153 {\r\n fill: #B9C0CBFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2154 {\r\n fill: #FF8C00FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2155 {\r\n fill: #33BAB1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2156 {\r\n fill: #A3B367FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2157 {\r\n fill: #A895E2FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2158 {\r\n fill: #026802FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2159 {\r\n fill: #FFF100FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2160 {\r\n fill: #5558AFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2161 {\r\n fill: #800080FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2162 {\r\n fill: #D423143F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2163 {\r\n fill: #68217AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2164 {\r\n fill: #2B2C33FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2165 {\r\n fill: #00A7E9FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2166 {\r\n fill: #00979DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2167 {\r\n fill: #FBD115FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2168 {\r\n fill: #006BFFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2169 {\r\n fill: #231840FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2170 {\r\n fill: #9E8BFCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2171 {\r\n fill: #F3E9FFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2172 {\r\n fill: #FFFFFF4C;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2173 {\r\n fill: #3A3A38FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2174 {\r\n fill: #797774FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2175 {\r\n fill: #00000059;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2176 {\r\n fill: #FFFFFF7F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2177 {\r\n fill: #A7DCD5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2178 {\r\n fill: #66BBBCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2179 {\r\n fill: #88D6D6FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2180 {\r\n fill: #008085FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2181 {\r\n fill: #FFFFFFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2182 {\r\n fill: #0000000C;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2183 {\r\n fill: #00000019;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2184 {\r\n fill: #00000033;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2185 {\r\n fill: #0000007F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2186 {\r\n fill: #000000C0;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2187 {\r\n fill: #41A5EEFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2188 {\r\n fill: #2B7CD3FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2189 {\r\n fill: #185ABDFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2190 {\r\n fill: #103F91FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2191 {\r\n fill: #163870FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2192 {\r\n fill: #33C481FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2193 {\r\n fill: #21A366FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2194 {\r\n fill: #107C41FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2195 {\r\n fill: #185C37FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2196 {\r\n fill: #134A2CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2197 {\r\n fill: #FF8F6BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2198 {\r\n fill: #ED6C47FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2199 {\r\n fill: #D35230FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2200 {\r\n fill: #C43E1CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2201 {\r\n fill: #993117FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2202 {\r\n fill: #CA64EAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2203 {\r\n fill: #AE4BD5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2204 {\r\n fill: #9332BFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2205 {\r\n fill: #7719AAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2206 {\r\n fill: #511575FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2207 {\r\n fill: #50D9FFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2208 {\r\n fill: #28A8EAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2209 {\r\n fill: #1490DFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2210 {\r\n fill: #0078D4FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2211 {\r\n fill: #0364B8FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2212 {\r\n fill: #0358A7FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2213 {\r\n fill: #06509BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2214 {\r\n fill: #064A8CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2215 {\r\n fill: #0A2767FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2216 {\r\n fill: #0A27677F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2217 {\r\n fill: #7B83EBFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2218 {\r\n fill: #5059C9FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2219 {\r\n fill: #4B53BCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2220 {\r\n fill: #363A7EFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2221 {\r\n fill: #37C6D0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2222 {\r\n fill: #1A9BA1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2223 {\r\n fill: #038387FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2224 {\r\n fill: #036C70FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2225 {\r\n fill: #0E4F51FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2226 {\r\n fill: #FFFFFF00;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2227 {\r\n fill: #F8B760FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2228 {\r\n fill: #FFFFFF00;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2229 {\r\n fill: #D4D4D4FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2230 {\r\n fill: #FFFFFF00;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2231 {\r\n fill: #3B9ADCFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2232 {\r\n fill: #66C2B5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2233 {\r\n fill: #FAC914FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2234 {\r\n fill: #E9001BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2235 {\r\n fill: #A8C4CFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2236 {\r\n fill: #6EB005FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2237 {\r\n fill: #B4009EFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2238 {\r\n fill: #C8C6C4FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2239 {\r\n fill: #666EDAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2240 {\r\n fill: #41479DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2241 {\r\n fill: #E08095FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2242 {\r\n fill: #C94F60FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2243 {\r\n fill: #AF2031FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2244 {\r\n fill: #881421FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2245 {\r\n fill: #66121CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2246 {\r\n fill: #E8467CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2247 {\r\n fill: #D23062FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2248 {\r\n fill: #BC1948FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2249 {\r\n fill: #8C193FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2250 {\r\n fill: #7B193BFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2251 {\r\n fill: #FFFFFFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2252 {\r\n fill: #C8C6C4FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2253 {\r\n fill: #86F2F2FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2254 {\r\n fill: #F29E00FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2255 {\r\n fill: #D83B01FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2256 {\r\n fill: #D83B013F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2257 {\r\n fill: #D5559CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2258 {\r\n fill: #C21F24FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2259 {\r\n fill: #C21F243F;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2260 {\r\n fill: #F32940FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2261 {\r\n fill: #5E050026;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2262 {\r\n fill: #2B7CD3FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2263 {\r\n fill: #21A366FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2264 {\r\n fill: #D35230FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2265 {\r\n fill: #CA64EAFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2266 {\r\n fill: #1490DFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2267 {\r\n fill: #7B83EBFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2268 {\r\n fill: #1A9BA1FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2269 {\r\n fill: #D74758FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2270 {\r\n fill: #E8467CFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2271 {\r\n fill: #F8DE6DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2272 {\r\n fill: #E9C011FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2273 {\r\n fill: #E6AD10FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2274 {\r\n fill: #D7960FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2275 {\r\n fill: #D08A0FFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2276 {\r\n fill: #C87E0EFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2277 {\r\n fill: #34C1E0FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2278 {\r\n fill: #83E688FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2279 {\r\n fill: #37B658FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2280 {\r\n fill: #088142FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2281 {\r\n fill: #09743DFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2282 {\r\n fill: #0A5A33FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2283 {\r\n fill: #0A5A33FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2284 {\r\n fill: #0A5A33FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2285 {\r\n fill: #E5512AFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2286 {\r\n fill: #BB3B01FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2287 {\r\n fill: #8661C5FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2288 {\r\n fill: #0472D8FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2289 {\r\n fill: #0C4497FF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2290 {\r\n fill: #2096FFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2291 {\r\n fill: #56C5FFFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2292 {\r\n fill: #9281FDFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_m2293 {\r\n fill: #3C39AEFF;\r\n}\r\n.UxDarkMode svg>path.OfficeIconColors_DynamicColor {\r\n fill: inherit;\r\n}\r\n',""]),e.exports=o},56151:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});class n{static getTypeName(){return"AugLoop_Core_SchemaObject"}static getBaseTypes(){return[]}static getTypeNameFor(e){return e&&e.H_?e.H_.T_:void 0}static getBaseTypesFor(e){return e&&e.H_&&e.H_.B_&&Array.isArray(e.H_.B_)?e.H_.B_:[]}static getAllTypesFor(e){const t=n.getTypeNameFor(e);return t?[t,...n.getBaseTypesFor(e)]:[]}static matchesTypesFor(e,t){if(!Array.isArray(t)||0===t.length)return!0;const r=n.getTypeNameFor(e),o=n.getBaseTypesFor(e);for(const e of t){if(e===r)return!0;if(o.indexOf(e)>=0)return!0}return!1}static assign(e,t,r){if(r)for(const e of Object.keys(r))t[e]=r[e];return t.H_=e.H_,t}constructor(e){n.assign(n,this,e)}}n.H_={T_:n.getTypeName(),B_:n.getBaseTypes()}},18342:(e,t,r)=>{"use strict";var n,o,i,a,s,l;r.r(t),r.d(t,{AddOperation:()=>I,Annotation:()=>b,AnnotationState:()=>n,Apology:()=>ie,AuthTokenIsMissingDetails:()=>le,Binary:()=>V,BinaryClassificationAnnotation:()=>y,Blob:()=>U,BlobRefType:()=>d,CancelSignalTriggeredWorkflowExecutionOperation:()=>W,ContextHolder:()=>ee,CopilotLicenseType:()=>o,DeleteOperation:()=>R,DeltaUpdateOperation:()=>B,DirtyAreaSignal:()=>G,DirtyDocumentSignal:()=>z,Document:()=>$,DynamicContext:()=>Z,EntryPoint:()=>i,Event:()=>C,EventsHolder:()=>ne,FocusOperation:()=>O,GridCell:()=>X,GridConstants:()=>f,GridNeighborhoodContext:()=>Y,ItemChanges:()=>s,ItemChangesDelta:()=>F,ItemDelta:()=>k,ItemFilter:()=>J,ItemOperation:()=>a,MicroSyncOperation:()=>L,MoveOperation:()=>x,NotActivatedWorkflowApology:()=>ue,OpenType:()=>p,Operation:()=>E,OperationErrorCode:()=>l,OperationWithSiblingContext:()=>A,PurgeByTypesOperation:()=>N,PurgeOperation:()=>D,PurgeSubtreeExceptTypesOperation:()=>_,Scenario:()=>m,SchemaObject:()=>v.h,SecondaryApology:()=>ae,Session:()=>q,Signal:()=>H,SignalOperation:()=>K,StreamAnnotation:()=>S,SubDocument:()=>Q,TenantContextHolder:()=>re,TileGroup:()=>j,UpdateAnnotationMetaDataOperation:()=>w,UpdateOperation:()=>P,UserCommand:()=>T,UserCommandsHolder:()=>oe,UserContextHolder:()=>te,VisibilityOperation:()=>M,WorkflowActivationFailureDetails:()=>se,WorkflowExecutionErrorCode:()=>h,WorkflowNotActivatedReasonCode:()=>g,ecsMetadataBlockHeight:()=>u,ecsMetadataBlockWidth:()=>c}),function(e){e[e.Undefined=0]="Undefined",e[e.Created=10]="Created",e[e.Sent=20]="Sent",e[e.Duplicated=30]="Duplicated",e[e.Seen=40]="Seen",e[e.Tried=50]="Tried",e[e.Kept=60]="Kept",e[e.Rejected=70]="Rejected"}(n||(n={})),function(e){e[e.Unknown=0]="Unknown",e[e.CopilotInM365=1]="CopilotInM365",e[e.CopilotPro=2]="CopilotPro",e[e.CopilotEnterprise=3]="CopilotEnterprise"}(o||(o={})),function(e){e.Unknown="Unknown",e.Canvas="Canvas",e.CopilotChat="CopilotChat",e.Test="Test"}(i||(i={})),function(e){e[e.None=0]="None",e[e.Added=1]="Added",e[e.Updated=2]="Updated",e[e.Deleted=3]="Deleted"}(a||(a={})),function(e){e[e.ContentChanged=0]="ContentChanged",e[e.ContentWasEmpty=1]="ContentWasEmpty",e[e.FormattingChanged=2]="FormattingChanged",e[e.ContentWasInsideOfTheTable=3]="ContentWasInsideOfTheTable"}(s||(s={})),function(e){e[e.AddOfZeroElements=0]="AddOfZeroElements",e[e.AddOfItemsWithExtraOrMissingIds=1]="AddOfItemsWithExtraOrMissingIds",e[e.AddOfItemWithUndefinedId=2]="AddOfItemWithUndefinedId",e[e.AddOfUndefinedItem=3]="AddOfUndefinedItem",e[e.AddOfItemsWithDuplicateIds=4]="AddOfItemsWithDuplicateIds",e[e.SetHeadToNonExistingItem=5]="SetHeadToNonExistingItem",e[e.DeleteOfNonExistingItem=6]="DeleteOfNonExistingItem",e[e.UpdateOfNonExistentItem=7]="UpdateOfNonExistentItem",e[e.UpdateOfStubbedItem=8]="UpdateOfStubbedItem",e[e.MoveOfNonExistentItem=9]="MoveOfNonExistentItem",e[e.UpdateMetaDataOfNonAnnotationType=10]="UpdateMetaDataOfNonAnnotationType",e[e.SequentialyInvertedUpdate=11]="SequentialyInvertedUpdate",e[e.MoveToTheSamePath=12]="MoveToTheSamePath",e[e.UnknownOperation=13]="UnknownOperation",e[e.DeltaOfNonExistingItem=100]="DeltaOfNonExistingItem"}(l||(l={}));const u=512,c=32;var d,p,h,g,m;!function(e){e[e.None=0]="None",e[e.HttpsGetDownloadUrl=1]="HttpsGetDownloadUrl",e[e.AlCodedLocation=2]="AlCodedLocation",e[e.Token=3]="Token",e[e.SpeAlCodedLocation=4]="SpeAlCodedLocation"}(d||(d={})),function(e){e[e.NewDocument=0]="NewDocument",e[e.EditDocument=1]="EditDocument",e[e.ViewOnlyDocument=2]="ViewOnlyDocument"}(p||(p={}));class f{}f.lowerIndexBound=1,f.maxNumberOfRows=1048576,f.maxNumberOfColumns=16384,f.firstColumnName="A",f.lastColumnName="XFD",function(e){e[e.LambdaExecutionUnhandledError=0]="LambdaExecutionUnhandledError",e[e.LambdaExecutionError=1]="LambdaExecutionError",e[e.WorkflowExecutionTimeout=2]="WorkflowExecutionTimeout",e[e.NetworkError=3]="NetworkError",e[e.SignalNotGotToExecution=4]="SignalNotGotToExecution",e[e.RequestTruncated=5]="RequestTruncated",e[e.WorkflowWrongAnnotationType=6]="WorkflowWrongAnnotationType",e[e.SequenceOutOfOrder=7]="SequenceOutOfOrder",e[e.WorkflowExecutionThrottled=8]="WorkflowExecutionThrottled",e[e.WorkflowExecutionCancelled=9]="WorkflowExecutionCancelled",e[e.NetworkTimeoutOrWorkflowIsBusy=10]="NetworkTimeoutOrWorkflowIsBusy",e[e.RequiredTokenNotAvailable=11]="RequiredTokenNotAvailable",e[e.InvalidInputQuantityForSingleItemWorkflow=12]="InvalidInputQuantityForSingleItemWorkflow",e[e.ExceededRequestSizeLimit=13]="ExceededRequestSizeLimit",e[e.UnknownAnnotationParent=14]="UnknownAnnotationParent",e[e.AnnotationsNotArray=15]="AnnotationsNotArray",e[e.UnexpectedOutput=16]="UnexpectedOutput",e[e.MixedOutput=17]="MixedOutput",e[e.OutputIsNotAnnotation=18]="OutputIsNotAnnotation",e[e.UnexpectedError=19]="UnexpectedError",e[e.WorkflowNotActivated=20]="WorkflowNotActivated"}(h||(h={})),function(e){e[e.Unknown=0]="Unknown",e[e.AuthTokenIsMissing=1]="AuthTokenIsMissing",e[e.UserContextIsMissing=2]="UserContextIsMissing",e[e.SeedingNotCompleted=3]="SeedingNotCompleted"}(g||(g={})),function(e){e.Unknown="Unknown",e.Testing="Testing",e.CopilotSummary="Copilot Summary",e.CopilotCompose="Copilot Compose",e.Rewrite="Copilot Rewrite",e.ChatQnA="Copilot Chat Question & Answer",e.CIQ="Context IQ",e.Editor="Editor",e.Handoff="Handoff",e.ReadAloud="Read Aloud"}(m||(m={}));var v=r(56151);class b{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Core_Annotation"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[b.getTypeName()])}constructor(e){v.h.assign(b,this,e)}}b.H_={T_:b.getTypeName(),B_:b.getBaseTypes()};class y{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Core_BinaryClassificationAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[y.getTypeName()])}constructor(e){v.h.assign(y,this,e)}}y.H_={T_:y.getTypeName(),B_:y.getBaseTypes()};class S{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Core_StreamAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[S.getTypeName()])}constructor(e){v.h.assign(S,this,e)}}S.H_={T_:S.getTypeName(),B_:S.getBaseTypes()};class C{static getTypeName(){return"AugLoop_Core_Event"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[C.getTypeName()])}constructor(e){v.h.assign(C,this,e)}}C.H_={T_:C.getTypeName(),B_:C.getBaseTypes()};class T{static getTypeName(){return"AugLoop_Core_UserCommand"}static getBaseTypes(){return["AugLoop_Core_Event"]}static typeGuard(e){return v.h.matchesTypesFor(e,[T.getTypeName()])}constructor(e){v.h.assign(T,this,e)}}T.H_={T_:T.getTypeName(),B_:T.getBaseTypes()};class k{static getTypeName(){return"AugLoop_Core_ItemDelta"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[k.getTypeName()])}constructor(e){v.h.assign(k,this,e)}}k.H_={T_:k.getTypeName(),B_:k.getBaseTypes()};class F{static getTypeName(){return"AugLoop_Core_ItemChangesDelta"}static getBaseTypes(){return["AugLoop_Core_ItemDelta"]}static typeGuard(e){return v.h.matchesTypesFor(e,[F.getTypeName()])}constructor(e){v.h.assign(F,this,e)}}F.H_={T_:F.getTypeName(),B_:F.getBaseTypes()};class E{static getTypeName(){return"AugLoop_Core_Operation"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[E.getTypeName()])}constructor(e){v.h.assign(E,this,e)}}E.H_={T_:E.getTypeName(),B_:E.getBaseTypes()};class A{static getTypeName(){return"AugLoop_Core_OperationWithSiblingContext"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[A.getTypeName()])}constructor(e){v.h.assign(A,this,e)}}A.H_={T_:A.getTypeName(),B_:A.getBaseTypes()};class I{static getTypeName(){return"AugLoop_Core_AddOperation"}static getBaseTypes(){return["AugLoop_Core_OperationWithSiblingContext","AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[I.getTypeName()])}constructor(e){v.h.assign(I,this,e)}}I.H_={T_:I.getTypeName(),B_:I.getBaseTypes()};class x{static getTypeName(){return"AugLoop_Core_MoveOperation"}static getBaseTypes(){return["AugLoop_Core_OperationWithSiblingContext","AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[x.getTypeName()])}constructor(e){v.h.assign(x,this,e)}}x.H_={T_:x.getTypeName(),B_:x.getBaseTypes()};class w{static getTypeName(){return"AugLoop_Core_UpdateAnnotationMetaDataOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[w.getTypeName()])}constructor(e){v.h.assign(w,this,e)}}w.H_={T_:w.getTypeName(),B_:w.getBaseTypes()};class P{static getTypeName(){return"AugLoop_Core_UpdateOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[P.getTypeName()])}constructor(e){v.h.assign(P,this,e)}}P.H_={T_:P.getTypeName(),B_:P.getBaseTypes()};class R{static getTypeName(){return"AugLoop_Core_DeleteOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[R.getTypeName()])}constructor(e){v.h.assign(R,this,e)}}R.H_={T_:R.getTypeName(),B_:R.getBaseTypes()};class D{static getTypeName(){return"AugLoop_Core_PurgeOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[D.getTypeName()])}constructor(e){v.h.assign(D,this,e)}}D.H_={T_:D.getTypeName(),B_:D.getBaseTypes()};class _{static getTypeName(){return"AugLoop_Core_PurgeSubtreeExceptTypesOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[_.getTypeName()])}constructor(e){v.h.assign(_,this,e)}}_.H_={T_:_.getTypeName(),B_:_.getBaseTypes()};class N{static getTypeName(){return"AugLoop_Core_PurgeByTypesOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[N.getTypeName()])}constructor(e){v.h.assign(N,this,e)}}N.H_={T_:N.getTypeName(),B_:N.getBaseTypes()};class O{static getTypeName(){return"AugLoop_Core_FocusOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[O.getTypeName()])}constructor(e){v.h.assign(O,this,e)}}O.H_={T_:O.getTypeName(),B_:O.getBaseTypes()};class M{static getTypeName(){return"AugLoop_Core_VisibilityOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[M.getTypeName()])}constructor(e){v.h.assign(M,this,e)}}M.H_={T_:M.getTypeName(),B_:M.getBaseTypes()};class B{static getTypeName(){return"AugLoop_Core_DeltaUpdateOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[B.getTypeName()])}constructor(e){v.h.assign(B,this,e)}}B.H_={T_:B.getTypeName(),B_:B.getBaseTypes()};class L{static getTypeName(){return"AugLoop_Core_MicroSyncOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[L.getTypeName()])}constructor(e){v.h.assign(L,this,e)}}L.H_={T_:L.getTypeName(),B_:L.getBaseTypes()};class K{static getTypeName(){return"AugLoop_Signals_SignalOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[K.getTypeName()])}constructor(e){v.h.assign(K,this,e)}}K.H_={T_:K.getTypeName(),B_:K.getBaseTypes()};class W{static getTypeName(){return"AugLoop_Core_CancelSignalTriggeredWorkflowExecutionOperation"}static getBaseTypes(){return["AugLoop_Core_Operation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[W.getTypeName()])}constructor(e){v.h.assign(W,this,e)}}W.H_={T_:W.getTypeName(),B_:W.getBaseTypes()};class H{static getTypeName(){return"AugLoop_Signals_Signal"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[H.getTypeName()])}constructor(e){v.h.assign(H,this,e)}}H.H_={T_:H.getTypeName(),B_:H.getBaseTypes()};class G{static getTypeName(){return"AugLoop_Core_DirtyAreaSignal"}static getBaseTypes(){return["AugLoop_Signals_Signal"]}static typeGuard(e){return v.h.matchesTypesFor(e,[G.getTypeName()])}constructor(e){v.h.assign(G,this,e)}}G.H_={T_:G.getTypeName(),B_:G.getBaseTypes()};class z{static getTypeName(){return"AugLoop_Core_DirtyDocumentSignal"}static getBaseTypes(){return["AugLoop_Core_DirtyAreaSignal","AugLoop_Signals_Signal"]}static typeGuard(e){return v.h.matchesTypesFor(e,[z.getTypeName()])}constructor(e){v.h.assign(z,this,e)}}z.H_={T_:z.getTypeName(),B_:z.getBaseTypes()};class U{static getTypeName(){return"AugLoop_Core_Blob"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[U.getTypeName()])}constructor(e){v.h.assign(U,this,e)}}U.H_={T_:U.getTypeName(),B_:U.getBaseTypes()};class V{static getTypeName(){return"AugLoop_Core_Binary"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[V.getTypeName()])}constructor(e){v.h.assign(V,this,e)}}V.H_={T_:V.getTypeName(),B_:V.getBaseTypes()};class j{static getTypeName(){return"AugLoop_Core_TileGroup"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[j.getTypeName()])}constructor(e){v.h.assign(j,this,e)}}j.H_={T_:j.getTypeName(),B_:j.getBaseTypes()};class q{static getTypeName(){return"AugLoop_Core_Session"}static getBaseTypes(){return["AugLoop_Core_TileGroup"]}static typeGuard(e){return v.h.matchesTypesFor(e,[q.getTypeName()])}constructor(e){v.h.assign(q,this,e)}}q.H_={T_:q.getTypeName(),B_:q.getBaseTypes()};class ${static getTypeName(){return"AugLoop_Core_Document"}static getBaseTypes(){return["AugLoop_Core_TileGroup"]}static typeGuard(e){return v.h.matchesTypesFor(e,[$.getTypeName()])}constructor(e){v.h.assign($,this,e)}}$.H_={T_:$.getTypeName(),B_:$.getBaseTypes()};class Q{static getTypeName(){return"AugLoop_Core_SubDocument"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[Q.getTypeName()])}constructor(e){v.h.assign(Q,this,e)}}Q.H_={T_:Q.getTypeName(),B_:Q.getBaseTypes()};class X{static getTypeName(){return"AugLoop_Core_GridCell"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[X.getTypeName()])}constructor(e){v.h.assign(X,this,e)}}X.H_={T_:X.getTypeName(),B_:X.getBaseTypes()};class Y{static getTypeName(){return"AugLoop_Core_GridNeighborhoodContext"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[Y.getTypeName()])}constructor(e){v.h.assign(Y,this,e)}}Y.H_={T_:Y.getTypeName(),B_:Y.getBaseTypes()};class J{static getTypeName(){return"AugLoop_Core_ItemFilter"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[J.getTypeName()])}constructor(e){v.h.assign(J,this,e)}}J.H_={T_:J.getTypeName(),B_:J.getBaseTypes()};class Z{static getTypeName(){return"AugLoop_Core_DynamicContext"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[Z.getTypeName()])}constructor(e){v.h.assign(Z,this,e)}}Z.H_={T_:Z.getTypeName(),B_:Z.getBaseTypes()};class ee{static getTypeName(){return"AugLoop_Core_ContextHolder"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[ee.getTypeName()])}constructor(e){v.h.assign(ee,this,e)}}ee.H_={T_:ee.getTypeName(),B_:ee.getBaseTypes()};class te{static getTypeName(){return"AugLoop_Core_UserContextHolder"}static getBaseTypes(){return["AugLoop_Core_ContextHolder"]}static typeGuard(e){return v.h.matchesTypesFor(e,[te.getTypeName()])}constructor(e){v.h.assign(te,this,e)}}te.H_={T_:te.getTypeName(),B_:te.getBaseTypes()};class re{static getTypeName(){return"AugLoop_Core_TenantContextHolder"}static getBaseTypes(){return["AugLoop_Core_ContextHolder"]}static typeGuard(e){return v.h.matchesTypesFor(e,[re.getTypeName()])}constructor(e){v.h.assign(re,this,e)}}re.H_={T_:re.getTypeName(),B_:re.getBaseTypes()};class ne{static getTypeName(){return"AugLoop_Core_EventsHolder"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[ne.getTypeName()])}constructor(e){v.h.assign(ne,this,e)}}ne.H_={T_:ne.getTypeName(),B_:ne.getBaseTypes()};class oe{static getTypeName(){return"AugLoop_Core_UserCommandsHolder"}static getBaseTypes(){return["AugLoop_Core_EventsHolder"]}static typeGuard(e){return v.h.matchesTypesFor(e,[oe.getTypeName()])}constructor(e){v.h.assign(oe,this,e)}}oe.H_={T_:oe.getTypeName(),B_:oe.getBaseTypes()};class ie{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Core_Apology"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[ie.getTypeName()])}constructor(e){v.h.assign(ie,this,e)}}ie.H_={T_:ie.getTypeName(),B_:ie.getBaseTypes()};class ae{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Core_SecondaryApology"}static getBaseTypes(){return["AugLoop_Core_Apology","AugLoop_Core_Annotation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[ae.getTypeName()])}constructor(e){v.h.assign(ae,this,e)}}ae.H_={T_:ae.getTypeName(),B_:ae.getBaseTypes()};class se{static getTypeName(){return"AugLoop_Core_WorkflowActivationFailureDetails"}static getBaseTypes(){return[]}static typeGuard(e){return v.h.matchesTypesFor(e,[se.getTypeName()])}constructor(e){v.h.assign(se,this,e)}}se.H_={T_:se.getTypeName(),B_:se.getBaseTypes()};class le{static getTypeName(){return"AugLoop_Core_AuthTokenIsMissingDetails"}static getBaseTypes(){return["AugLoop_Core_WorkflowActivationFailureDetails"]}static typeGuard(e){return v.h.matchesTypesFor(e,[le.getTypeName()])}constructor(e){v.h.assign(le,this,e)}}le.H_={T_:le.getTypeName(),B_:le.getBaseTypes()};class ue{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Core_NotActivatedWorkflowApology"}static getBaseTypes(){return["AugLoop_Core_Apology","AugLoop_Core_Annotation"]}static typeGuard(e){return v.h.matchesTypesFor(e,[ue.getTypeName()])}constructor(e){v.h.assign(ue,this,e)}}ue.H_={T_:ue.getTypeName(),B_:ue.getBaseTypes()}},84354:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{ExcelFormulaCompletionAnnotation:()=>i,ExcelFormulaCompletionSignal:()=>u,FormulaCompletionBlockedAnnotation:()=>s,FormulaCompletionBlockedReason:()=>n,FormulaCompletionFormulaAnnotation:()=>a,FormulaCompletionValuePreviewAnnotation:()=>l}),function(e){e.InputRAIFailed="InputRAIFailed",e.OutputRAIFailed="OutputRAIFailed",e.FormulaValidationFailed="FormulaValidationFailed",e.InternalError="InternalError"}(n||(n={}));var o=r(56151);class i{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelFormulaCompletion_ExcelFormulaCompletionAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return o.h.matchesTypesFor(e,[i.getTypeName()])}constructor(e){o.h.assign(i,this,e)}}i.H_={T_:i.getTypeName(),B_:i.getBaseTypes()};class a{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelFormulaCompletion_FormulaCompletionFormulaAnnotation"}static getBaseTypes(){return["AugLoop_ExcelFormulaCompletion_ExcelFormulaCompletionAnnotation","AugLoop_Core_Annotation"]}static typeGuard(e){return o.h.matchesTypesFor(e,[a.getTypeName()])}constructor(e){o.h.assign(a,this,e)}}a.H_={T_:a.getTypeName(),B_:a.getBaseTypes()};class s{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelFormulaCompletion_FormulaCompletionBlockedAnnotation"}static getBaseTypes(){return["AugLoop_ExcelFormulaCompletion_ExcelFormulaCompletionAnnotation","AugLoop_Core_Annotation"]}static typeGuard(e){return o.h.matchesTypesFor(e,[s.getTypeName()])}constructor(e){o.h.assign(s,this,e)}}s.H_={T_:s.getTypeName(),B_:s.getBaseTypes()};class l{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelFormulaCompletion_FormulaCompletionValuePreviewAnnotation"}static getBaseTypes(){return["AugLoop_ExcelFormulaCompletion_FormulaCompletionFormulaAnnotation","AugLoop_ExcelFormulaCompletion_ExcelFormulaCompletionAnnotation","AugLoop_Core_Annotation"]}static typeGuard(e){return o.h.matchesTypesFor(e,[l.getTypeName()])}constructor(e){o.h.assign(l,this,e)}}l.H_={T_:l.getTypeName(),B_:l.getBaseTypes()};class u{static getTypeName(){return"AugLoop_ExcelFormulaCompletion_ExcelFormulaCompletionSignal"}static getBaseTypes(){return["AugLoop_Signals_Signal"]}static typeGuard(e){return o.h.matchesTypesFor(e,[u.getTypeName()])}constructor(e){o.h.assign(u,this,e)}}u.H_={T_:u.getTypeName(),B_:u.getBaseTypes()}},21693:(e,t,r)=>{"use strict";var n,o,i;r.r(t),r.d(t,{CalculatedCellSuggestion:()=>p,CalculatedColumnSuggestion:()=>d,DataTypeInstructionType:()=>i,ExcelCurrencyFormat:()=>l,ExcelDateOrder:()=>s,ExcelIntelligenceCell:()=>g,ExcelIntelligenceScenarioTypes:()=>a,ExcelIntelligenceTableSignal:()=>h,GeneratedFormulaSuggestion:()=>c,PreviewMetadata:()=>n,SuggestionResult:()=>o}),function(e){e.Success="Success",e.FetchingError="fetchingError",e.NotImplementedExcelFunction="notImplementedExcelFunction",e.CalcError="calcError",e.NotHybrid="notHybrid",e.NotSupported="notSupported",e.IncompleteDataError="incompleteDataError",e.ScratchpadError="scratchpadError"}(n||(n={})),function(e){e.InternalError="internalError",e.Success="success",e.NoSuggestion="noSuggestion",e.MultipleFormulas="multipleFormulas",e.NoCopilotLicense="noCopilotLicense",e.AuthFailure="authFailure",e.UserThrottled="userThrottled",e.HarmfulContent="harmfulContent",e.IrrelevantQuery="irrelevantQuery",e.LlmGeneralErrorFailure="llmGeneralErrorFailure"}(o||(o={})),function(e){e[e.Insertion=0]="Insertion",e[e.FromColumn=1]="FromColumn"}(i||(i={}));var a,s,l,u=r(56151);class c{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelIntelligence_GeneratedFormulaSuggestion"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return u.h.matchesTypesFor(e,[c.getTypeName()])}constructor(e){u.h.assign(c,this,e)}}c.H_={T_:c.getTypeName(),B_:c.getBaseTypes()};class d{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelIntelligence_CalculatedColumnSuggestion"}static getBaseTypes(){return["AugLoop_ExcelIntelligence_GeneratedFormulaSuggestion","AugLoop_Core_Annotation"]}static typeGuard(e){return u.h.matchesTypesFor(e,[d.getTypeName()])}constructor(e){u.h.assign(d,this,e)}}d.H_={T_:d.getTypeName(),B_:d.getBaseTypes()};class p{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelIntelligence_CalculatedCellSuggestion"}static getBaseTypes(){return["AugLoop_ExcelIntelligence_GeneratedFormulaSuggestion","AugLoop_Core_Annotation"]}static typeGuard(e){return u.h.matchesTypesFor(e,[p.getTypeName()])}constructor(e){u.h.assign(p,this,e)}}p.H_={T_:p.getTypeName(),B_:p.getBaseTypes()};class h{static getTypeName(){return"AugLoop_ExcelIntelligence_ExcelIntelligenceTableSignal"}static getBaseTypes(){return["AugLoop_Signals_Signal"]}static typeGuard(e){return u.h.matchesTypesFor(e,[h.getTypeName()])}constructor(e){u.h.assign(h,this,e)}}h.H_={T_:h.getTypeName(),B_:h.getBaseTypes()};class g{static getTypeName(){return"AugLoop_ExcelIntelligence_ExcelIntelligenceCell"}static getBaseTypes(){return["AugLoop_Excel_ExcelCell","AugLoop_Core_GridCell"]}static typeGuard(e){return u.h.matchesTypesFor(e,[g.getTypeName()])}constructor(e){u.h.assign(g,this,e)}}g.H_={T_:g.getTypeName(),B_:g.getBaseTypes()},function(e){e.ColumnSuggestion="ColumnSuggestion",e.CellSuggestion="CellSuggestion"}(a||(a={})),function(e){e.MonthDayYear="MonthDayYear",e.DayMonthYear="DayMonthYear",e.YearMonthDay="YearMonthDay",e.MonthYearDay="MonthYearDay",e.DayYearMonth="DayYearMonth",e.YearDayMonth="YearDayMonth"}(s||(s={})),function(e){e.Parenthesis="Parenthesis",e.Lead="Lead",e.Internal="Internal",e.Trail="Trail"}(l||(l={}))},24101:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseExcelBlock:()=>E,BaseExcelTable:()=>N,DirtyDocumentSignalForClp:()=>$,DirtyRangeSignal:()=>q,EXTENDED_BLOCK_OVERLAP:()=>n,EcsAccessInfo:()=>j,ExcelBlock:()=>A,ExcelCell:()=>B,ExcelComparisonAnnotation:()=>U,ExcelComparisonItem:()=>V,ExcelDetectedTableBoundaryNew:()=>G,ExcelDetectedTableBoundaryPartNew:()=>H,ExcelExtendedBlock:()=>I,ExcelGridSubtreeFilter:()=>R,ExcelMergedCell:()=>L,ExcelMergedCellInfo:()=>x,ExcelMetadata:()=>y,ExcelPivotTable:()=>M,ExcelRange:()=>T,ExcelRangeAddressNew:()=>K,ExcelRangeDataSamplingScheme:()=>f,ExcelRangeDataSamplingSchemeNew:()=>p,ExcelRangeFilter:()=>w,ExcelRangeSampleFilter:()=>D,ExcelRangeWrapper:()=>k,ExcelRangeWrapperAnnotation:()=>F,ExcelRecognizedTableFieldAggregation:()=>g,ExcelRecognizedTableFieldAggregationNew:()=>l,ExcelRecognizedTableFieldClassification:()=>h,ExcelRecognizedTableFieldClassificationNew:()=>s,ExcelRecognizedTableNew:()=>W,ExcelRecognizedTableOrientation:()=>m,ExcelRecognizedTableOrientationNew:()=>u,ExcelTable:()=>O,ExcelTableColumn:()=>_,ExcelTableDataGridPartNew:()=>z,ExcelWorkflowTriggerParameters:()=>X,FetchRangeProperty:()=>i,ObserverSessionType:()=>v,PathFilter:()=>P,SamplingScheme:()=>c,TableType:()=>d,WorkflowLimitsRestoredSignal:()=>Q,Worksheet:()=>S,WorksheetMetadata:()=>C,excelExtensionSyncSenderId:()=>o,pipelineCellTypeName:()=>a});const n=5,o="ExcelExtensionSenderId";var i;!function(e){e[e.None=0]="None",e[e.FormulaR1C1=1]="FormulaR1C1",e[e.Text=2]="Text",e[e.NumberFormat=4]="NumberFormat",e[e.RawValue=8]="RawValue",e[e.NumberFormatCategory=16]="NumberFormatCategory",e[e.Borders=32]="Borders",e[e.FillColor=64]="FillColor",e[e.FontColor=128]="FontColor",e[e.FontOptions=256]="FontOptions",e[e.UseNewFormatFetcher=512]="UseNewFormatFetcher",e[e.SparseCells=1024]="SparseCells",e[e.OmitCoordsForAdjacentCell=2048]="OmitCoordsForAdjacentCell",e[e.FormulaA1=4096]="FormulaA1",e[e.IsFormula=8192]="IsFormula",e[e.IncludeRichFormattedEmptyCells=16384]="IncludeRichFormattedEmptyCells",e[e.NumberFormatNonLocalized=32768]="NumberFormatNonLocalized",e[e.NotSupportedInAugloop=65536]="NotSupportedInAugloop",e[e.FetchMultipleRanges=131072]="FetchMultipleRanges",e[e.NotSupportedInAugloop2=262144]="NotSupportedInAugloop2"}(i||(i={}));const a="ICell";var s,l,u,c,d,p,h,g,m,f,v;!function(e){e.Dimension="dimension",e.Measure="measure"}(s||(s={})),function(e){e.None="none",e.Sum="sum",e.Count="count",e.Average="average",e.Min="min",e.Max="max",e.DistinctCount="distinctCount",e.StdDev="stdDev",e.Variance="variance"}(l||(l={})),function(e){e.RowMajor="rowMajor",e.ColumnMajor="columnMajor"}(u||(u={})),function(e){e[e.None=0]="None",e[e.RowsSampled=1]="RowsSampled",e[e.ColumnsSampled=2]="ColumnsSampled"}(c||(c={})),function(e){e.None="none",e.Other="other",e.ColumnMajorFlat="columnMajorFlat",e.RowMajorFlat="rowMajorFlat",e.SimpleCrossTable="simpleCrossTable"}(d||(d={})),function(e){e.None="none",e.ColumnMajorTabularSkipRows="columnMajorTabularSkipRows",e.RowMajorTabularSkipColumns="rowMajorTabularSkipColumns "}(p||(p={})),function(e){e.Dimension="dimension",e.Measure="measure"}(h||(h={})),function(e){e.None="none",e.Sum="sum",e.Count="count",e.Average="average",e.Min="min",e.Max="max",e.DistinctCount="distinctCount",e.StdDev="stdDev",e.Variance="variance"}(g||(g={})),function(e){e.RowMajor="rowMajor",e.ColumnMajor="columnMajor"}(m||(m={})),function(e){e.None="none",e.ColumnMajorTabularSkipRows="columnMajorTabularSkipRows",e.RowMajorTabularSkipColumns="rowMajorTabularSkipColumns "}(f||(f={})),function(e){e.None="None",e.Invisible="Invisible",e.Visible="Visible",e.InferredByCopilotLicense="InferredByCopilotLicense"}(v||(v={}));var b=r(56151);class y{static getTypeName(){return"AugLoop_Excel_ExcelMetadata"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[y.getTypeName()])}constructor(e){b.h.assign(y,this,e)}}y.H_={T_:y.getTypeName(),B_:y.getBaseTypes()};class S{static getTypeName(){return"AugLoop_Excel_Worksheet"}static getBaseTypes(){return["AugLoop_Core_TileGroup"]}static typeGuard(e){return b.h.matchesTypesFor(e,[S.getTypeName()])}constructor(e){b.h.assign(S,this,e)}}S.H_={T_:S.getTypeName(),B_:S.getBaseTypes()};class C{static getTypeName(){return"AugLoop_Excel_WorksheetMetadata"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[C.getTypeName()])}constructor(e){b.h.assign(C,this,e)}}C.H_={T_:C.getTypeName(),B_:C.getBaseTypes()};class T{static getTypeName(){return"AugLoop_Excel_ExcelRange"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[T.getTypeName()])}constructor(e){b.h.assign(T,this,e)}}T.H_={T_:T.getTypeName(),B_:T.getBaseTypes()};class k{static getTypeName(){return"AugLoop_Excel_ExcelRangeWrapper"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[k.getTypeName()])}constructor(e){b.h.assign(k,this,e)}}k.H_={T_:k.getTypeName(),B_:k.getBaseTypes()};class F{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Excel_ExcelRangeWrapperAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[F.getTypeName()])}constructor(e){b.h.assign(F,this,e)}}F.H_={T_:F.getTypeName(),B_:F.getBaseTypes()};class E{static getTypeName(){return"AugLoop_Excel_BaseExcelBlock"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[E.getTypeName()])}constructor(e){b.h.assign(E,this,e)}}E.H_={T_:E.getTypeName(),B_:E.getBaseTypes()};class A{static getTypeName(){return"AugLoop_Excel_ExcelBlock"}static getBaseTypes(){return["AugLoop_Excel_BaseExcelBlock","AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[A.getTypeName()])}constructor(e){b.h.assign(A,this,e)}}A.H_={T_:A.getTypeName(),B_:A.getBaseTypes()};class I{static getTypeName(){return"AugLoop_Excel_ExcelExtendedBlock"}static getBaseTypes(){return["AugLoop_Excel_BaseExcelBlock","AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[I.getTypeName()])}constructor(e){b.h.assign(I,this,e)}}I.H_={T_:I.getTypeName(),B_:I.getBaseTypes()};class x{static getTypeName(){return"AugLoop_Excel_ExcelMergedCellInfo"}static getBaseTypes(){return["AugLoop_Excel_ExcelRange"]}static typeGuard(e){return b.h.matchesTypesFor(e,[x.getTypeName()])}constructor(e){b.h.assign(x,this,e)}}x.H_={T_:x.getTypeName(),B_:x.getBaseTypes()};class w{static getTypeName(){return"AugLoop_Excel_ExcelRangeFilter"}static getBaseTypes(){return["AugLoop_Core_ItemFilter"]}static typeGuard(e){return b.h.matchesTypesFor(e,[w.getTypeName()])}constructor(e){b.h.assign(w,this,e)}}w.H_={T_:w.getTypeName(),B_:w.getBaseTypes()};class P{static getTypeName(){return"AugLoop_Excel_PathFilter"}static getBaseTypes(){return["AugLoop_Core_ItemFilter"]}static typeGuard(e){return b.h.matchesTypesFor(e,[P.getTypeName()])}constructor(e){b.h.assign(P,this,e)}}P.H_={T_:P.getTypeName(),B_:P.getBaseTypes()};class R{static getTypeName(){return"AugLoop_Excel_ExcelGridSubtreeFilter"}static getBaseTypes(){return["AugLoop_Core_ItemFilter"]}static typeGuard(e){return b.h.matchesTypesFor(e,[R.getTypeName()])}constructor(e){b.h.assign(R,this,e)}}R.H_={T_:R.getTypeName(),B_:R.getBaseTypes()};class D{static getTypeName(){return"AugLoop_Excel_ExcelRangeSampleFilter"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeFilter","AugLoop_Core_ItemFilter"]}static typeGuard(e){return b.h.matchesTypesFor(e,[D.getTypeName()])}constructor(e){b.h.assign(D,this,e)}}D.H_={T_:D.getTypeName(),B_:D.getBaseTypes()};class _{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Excel_ExcelTableColumn"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeWrapperAnnotation","AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[_.getTypeName()])}constructor(e){b.h.assign(_,this,e)}}_.H_={T_:_.getTypeName(),B_:_.getBaseTypes()};class N{static getTypeName(){return"AugLoop_Excel_BaseExcelTable"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[N.getTypeName()])}constructor(e){b.h.assign(N,this,e)}}N.H_={T_:N.getTypeName(),B_:N.getBaseTypes()};class O{static getTypeName(){return"AugLoop_Excel_ExcelTable"}static getBaseTypes(){return["AugLoop_Excel_BaseExcelTable","AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[O.getTypeName()])}constructor(e){b.h.assign(O,this,e)}}O.H_={T_:O.getTypeName(),B_:O.getBaseTypes()};class M{static getTypeName(){return"AugLoop_Excel_ExcelPivotTable"}static getBaseTypes(){return["AugLoop_Excel_BaseExcelTable","AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[M.getTypeName()])}constructor(e){b.h.assign(M,this,e)}}M.H_={T_:M.getTypeName(),B_:M.getBaseTypes()};class B{static getTypeName(){return"AugLoop_Excel_ExcelCell"}static getBaseTypes(){return["AugLoop_Core_GridCell"]}static typeGuard(e){return b.h.matchesTypesFor(e,[B.getTypeName()])}constructor(e){b.h.assign(B,this,e)}}B.H_={T_:B.getTypeName(),B_:B.getBaseTypes()};class L{static getTypeName(){return"AugLoop_Excel_ExcelMergedCell"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeWrapper"]}static typeGuard(e){return b.h.matchesTypesFor(e,[L.getTypeName()])}constructor(e){b.h.assign(L,this,e)}}L.H_={T_:L.getTypeName(),B_:L.getBaseTypes()};class K{static getTypeName(){return"AugLoop_ExcelTableAi_ExcelRangeAddressNew"}static getBaseTypes(){return["AugLoop_Excel_ExcelRange"]}static typeGuard(e){return b.h.matchesTypesFor(e,[K.getTypeName()])}constructor(e){b.h.assign(K,this,e)}}K.H_={T_:K.getTypeName(),B_:K.getBaseTypes()};class W{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelTableAi_ExcelRecognizedTableNew"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeWrapperAnnotation","AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[W.getTypeName()])}constructor(e){b.h.assign(W,this,e)}}W.H_={T_:W.getTypeName(),B_:W.getBaseTypes()};class H{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Excel_ExcelDetectedTableBoundaryPartNew"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[H.getTypeName()])}constructor(e){b.h.assign(H,this,e)}}H.H_={T_:H.getTypeName(),B_:H.getBaseTypes()};class G{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelTableAi_ExcelDetectedTableBoundaryNew"}static getBaseTypes(){return["AugLoop_Excel_ExcelRangeWrapperAnnotation","AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[G.getTypeName()])}constructor(e){b.h.assign(G,this,e)}}G.H_={T_:G.getTypeName(),B_:G.getBaseTypes()};class z{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelTableAi_ExcelTableDataGridPartNew"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[z.getTypeName()])}constructor(e){b.h.assign(z,this,e)}}z.H_={T_:z.getTypeName(),B_:z.getBaseTypes()};class U{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Excel_ExcelComparisonAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return b.h.matchesTypesFor(e,[U.getTypeName()])}constructor(e){b.h.assign(U,this,e)}}U.H_={T_:U.getTypeName(),B_:U.getBaseTypes()};class V{static getTypeName(){return"AugLoop_Excel_ExcelComparisonItem"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[V.getTypeName()])}constructor(e){b.h.assign(V,this,e)}}V.H_={T_:V.getTypeName(),B_:V.getBaseTypes()};class j{static getTypeName(){return"AugLoop_Excel_EcsAccessInfo"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[j.getTypeName()])}constructor(e){b.h.assign(j,this,e)}}j.H_={T_:j.getTypeName(),B_:j.getBaseTypes()};class q{static getTypeName(){return"AugLoop_Excel_DirtyRangeSignal"}static getBaseTypes(){return["AugLoop_Core_DirtyAreaSignal","AugLoop_Signals_Signal"]}static typeGuard(e){return b.h.matchesTypesFor(e,[q.getTypeName()])}constructor(e){b.h.assign(q,this,e)}}q.H_={T_:q.getTypeName(),B_:q.getBaseTypes()};class ${static getTypeName(){return"AugLoop_Excel_DirtyDocumentSignalForClp"}static getBaseTypes(){return["AugLoop_Core_DirtyDocumentSignal","AugLoop_Core_DirtyAreaSignal","AugLoop_Signals_Signal"]}static typeGuard(e){return b.h.matchesTypesFor(e,[$.getTypeName()])}constructor(e){b.h.assign($,this,e)}}$.H_={T_:$.getTypeName(),B_:$.getBaseTypes()};class Q{static getTypeName(){return"AugLoop_Excel_WorkflowLimitsRestoredSignal"}static getBaseTypes(){return["AugLoop_Core_DirtyAreaSignal","AugLoop_Signals_Signal"]}static typeGuard(e){return b.h.matchesTypesFor(e,[Q.getTypeName()])}constructor(e){b.h.assign(Q,this,e)}}Q.H_={T_:Q.getTypeName(),B_:Q.getBaseTypes()};class X{static getTypeName(){return"AugLoop_Excel_ExcelWorkflowTriggerParameters"}static getBaseTypes(){return[]}static typeGuard(e){return b.h.matchesTypesFor(e,[X.getTypeName()])}constructor(e){b.h.assign(X,this,e)}}X.H_={T_:X.getTypeName(),B_:X.getBaseTypes()}},15051:(e,t,r)=>{"use strict";var n,o,i;r.r(t),r.d(t,{FormulaByExampleAnnotation:()=>u,FormulaByExampleInvocationMethod:()=>o,FormulaByExamplePreviewAnnotation:()=>c,FormulaByExampleResultKind:()=>n,FormulaByExampleSignal:()=>s,FormulaByExampleWarmUpAnnotation:()=>d,FormulaByExampleWarmUpSignal:()=>l,ValueType:()=>i}),function(e){e[e.Success=0]="Success",e[e.NoFormulas=1]="NoFormulas",e[e.Failed=2]="Failed"}(n||(n={})),function(e){e[e.Explicit=0]="Explicit",e[e.Implicit=1]="Implicit"}(o||(o={})),function(e){e[e.General=0]="General",e[e.Number=1]="Number",e[e.DateTime=2]="DateTime"}(i||(i={}));var a=r(56151);class s{static getTypeName(){return"AugLoop_FormulaByExample_FormulaByExampleSignal"}static getBaseTypes(){return["AugLoop_Signals_Signal"]}static typeGuard(e){return a.h.matchesTypesFor(e,[s.getTypeName()])}constructor(e){a.h.assign(s,this,e)}}s.H_={T_:s.getTypeName(),B_:s.getBaseTypes()};class l{static getTypeName(){return"AugLoop_FormulaByExample_FormulaByExampleWarmUpSignal"}static getBaseTypes(){return["AugLoop_Signals_Signal"]}static typeGuard(e){return a.h.matchesTypesFor(e,[l.getTypeName()])}constructor(e){a.h.assign(l,this,e)}}l.H_={T_:l.getTypeName(),B_:l.getBaseTypes()};class u{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_FormulaByExample_FormulaByExampleAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return a.h.matchesTypesFor(e,[u.getTypeName()])}constructor(e){a.h.assign(u,this,e)}}u.H_={T_:u.getTypeName(),B_:u.getBaseTypes()};class c{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_FormulaByExample_FormulaByExamplePreviewAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return a.h.matchesTypesFor(e,[c.getTypeName()])}constructor(e){a.h.assign(c,this,e)}}c.H_={T_:c.getTypeName(),B_:c.getBaseTypes()};class d{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_FormulaByExample_FormulaByExampleWarmUpAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return a.h.matchesTypesFor(e,[d.getTypeName()])}constructor(e){a.h.assign(d,this,e)}}d.H_={T_:d.getTypeName(),B_:d.getBaseTypes()}},32474:(e,t,r)=>{"use strict";function n(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}r.d(t,{A:()=>n})},75296:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var n=r(29607);function o(e,t,r){void 0===r&&(r=!0);var o=!1;if(e&&t)if(r)if(e===t)o=!0;else for(o=!1;t;){var i=(0,n.P)(t);if(i===e){o=!0;break}t=i}else e.contains&&(o=e.contains(t));return o}},46054:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(29607);function o(e,t,r){return null!=r||(r=document),!e||e===r.body||e instanceof Document?null:t(e)?e:o((0,n.P)(e),t)}},83902:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(25920);function o(e,t){void 0===t&&(t=!0);var r=[];if(e){for(var o=0;o<e.children.length;o++)r.push(e.children.item(o));t&&(0,n.q)(e)&&r.push.apply(r,e._virtual.children)}return r}},29607:(e,t,r)=>{"use strict";r.d(t,{P:()=>o});var n=r(25920);function o(e,t){var r,o;if(void 0===t&&(t=!0),!e)return null;var i=t&&function(e){var t;return e&&(0,n.q)(e)&&(t=e._virtual.parent),t}(e);return i||("function"!=typeof e.assignedElements&&(null===(r=e.assignedSlot)||void 0===r?void 0:r.parentNode)?e.assignedSlot:11===(null===(o=e.parentNode)||void 0===o?void 0:o.nodeType)?e.parentNode.host:e.parentNode)}},25920:(e,t,r)=>{"use strict";function n(e){return e&&!!e._virtual}r.d(t,{q:()=>n})},8372:(e,t,r)=>{"use strict";r.d(t,{s:()=>i});var n=r(46054),o=r(36803);function i(e,t,r){var i,a=(0,n.w)(e,(function(e){var r;return t===e||!!(null===(r=e.hasAttribute)||void 0===r?void 0:r.call(e,o.r))}),r);return null!==a&&!!(null===(i=a.hasAttribute)||void 0===i?void 0:i.call(a,o.r))}},36803:(e,t,r)=>{"use strict";r.d(t,{V:()=>o,r:()=>n});var n="data-portal-element";function o(e){e.setAttribute(n,"true")}},24778:(e,t,r)=>{"use strict";r.d(t,{a:()=>c});var n=r(54029),o=r(10477),i=r(39398),a=r(96137),s=r(79101),l=r(54752),u=r(85725);function c(e,t){void 0===t&&(t={});var r=t.factoryOptions,c=(void 0===r?{}:r).defaultProp,p=function(r){var l,u,c,p,h=(l=t.displayName,u=o.useContext(a.z),c=t.fields,p=["theme","styles","tokens"],s.X.getSettings(c||p,l,u.customizations)),g=t.state;g&&(r=(0,n.Cl)((0,n.Cl)({},r),g(r)));var m=r.theme||h.theme,f=d(r,m,t.tokens,h.tokens,r.tokens),v=function(e,t,r){for(var n=[],o=3;o<arguments.length;o++)n[o-3]=arguments[o];return i.TW.apply(void 0,n.map((function(n){return"function"==typeof n?n(e,t,r):n})))}(r,m,f,t.styles,h.styles,r.styles),b=(0,n.Cl)((0,n.Cl)({},r),{styles:v,tokens:f,_defaultStyles:v,theme:m});return e(b)};return p.displayName=t.displayName||e.name,c&&(p.create=(0,l.Bw)(p,{defaultProp:c})),(0,u.k)(p,t.statics),p}function d(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];for(var i={},a=0,s=r;a<s.length;a++){var l=s[a];l&&(l="function"==typeof l?l(e,t):l,Array.isArray(l)&&(l=d.apply(void 0,(0,n.fX)([e,t],l,!1))),(0,u.k)(i,l))}return i}},54752:(e,t,r)=>{"use strict";var n;r.d(t,{Bw:()=>d,Sk:()=>h,WL:()=>c});var o=r(54029),i=r(10477),a=r(97665),s=r(90044),l=r(83082),u=r(85725);function c(e,t){for(var a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];var l=e;return l.isSlot?0===(a=i.Children.toArray(a)).length?l(t):l((0,o.Cl)((0,o.Cl)({},t),{children:a})):i.createElement.apply(n||(n=r.t(i,2)),(0,o.fX)([e,t],a,!1))}function d(e,t){void 0===t&&(t={});var r=t.defaultProp,n=void 0===r?"children":r;return function(t,r,s,c,d){if(i.isValidElement(r))return r;var p=function(e,t){var r,n;return"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((r={})[e]=t,n=r):n=t,n}(n,r),h=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];for(var o={},i=[],s=0,c=r;s<c.length;s++){var d=c[s];i.push(d&&d.className),(0,u.k)(o,d)}return o.className=(0,a.e)([e,i],{rtl:(0,l.jI)(t)}),o}(c,d,t,p);if(s){if(s.component){var g=s.component;return i.createElement(g,(0,o.Cl)({},h))}if(s.render)return s.render(h,e)}return i.createElement(e,(0,o.Cl)({},h))}}var p=(0,s.J9)((function(e){return d(e)}));function h(e,t){var r={},n=e,o=function(e){if(t.hasOwnProperty(e)){var o=function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];if(o.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,r,n,o,i){return void 0!==e.create?e.create(t,r,n,o):p(e)(t,r,n,o,i)}(t[e],r,n[e],n.slots&&n.slots[e],n._defaultStyles&&n._defaultStyles[e],n.theme)};o.isSlot=!0,r[e]=o}};for(var i in t)o(i);return r}},85725:(e,t,r)=>{"use strict";r.d(t,{k:()=>n});var n=r(54029).Cl},85152:(e,t,r)=>{"use strict";r.d(t,{$xS:()=>o,DoI:()=>u,Er0:()=>g,Qpb:()=>l,e5x:()=>p,epd:()=>m,j0c:()=>h,nkM:()=>s,oam:()=>c,ozo:()=>i,uf9:()=>f,ww0:()=>d,xyI:()=>n,yd$:()=>a});const n="Enter",o=" ",i="Tab",a="ArrowDown",s="ArrowLeft",l="ArrowRight",u="ArrowUp",c="End",d="Home",p="PageDown",h="PageUp",g="Backspace",m="Delete",f="Escape"},12937:(e,t,r)=>{"use strict";r.d(t,{DU:()=>i,Iy:()=>s});var n,o=r(75997);function i(e){n!==e&&(n=e)}function a(){return void 0===n&&(n="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),n}function s(){return{rtl:a(),shadowConfig:o.ou}}n=a()},62103:(e,t,r)=>{"use strict";r.d(t,{nr:()=>u});var n,o=r(54029),i=r(75997),a="__stylesheet__",s="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),l={};try{l=window||{}}catch(e){}var u=function(){function e(e,t){var r,n,i,a,s,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=(0,o.Cl)({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null==t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(n=null==t?void 0:t.counter)&&void 0!==n?n:this._counter,this._keyToClassName=null!==(a=null!==(i=this._config.classNameCache)&&void 0!==i?i:null==t?void 0:t.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(s=null==t?void 0:t.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(n=l[a],l[i.Se])return l[i.Se].getInstance(t);if(!n||n._lastStyleElement&&n._lastStyleElement.ownerDocument!==document){var r=(null==l?void 0:l.FabricConfig)||{},o=new e(r.mergeStyles,r.serializedStylesheet);n=o,l[a]=o}return n},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=(0,o.Cl)((0,o.Cl)({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,r=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(r,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,r,n){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:r,rules:n}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,r){void 0===r&&(r=i.P6);var n=this._config.injectionMode,o=0!==n?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(n){case 1:this._insertRuleIntoSheet(o.sheet,e);break;case 2:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:r,sheet:o?o.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,r=t.head,n=t.createElement("style"),o=null;n.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&n.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:r.childNodes[0]}return r.insertBefore(n,r.contains(o)?o:null),this._lastStyleElement=n,n},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),s||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}()},61295:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(54029),o=r(75997);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!(0,o.db)(e[0]))return e[0];for(var r={},a={},s=0,l=e;s<l.length;s++){var u=l[s];if(u&&!(0,o.db)(u))for(var c in u)if(u.hasOwnProperty(c)){if("subComponentStyles"===c&&void 0!==u.subComponentStyles){var d=u.subComponentStyles;for(var p in d)d.hasOwnProperty(p)&&(a.hasOwnProperty(p)?a[p].push(d[p]):a[p]=[d[p]]);continue}var h=r[c],g=u[c];r[c]=void 0===h?g:(0,n.fX)((0,n.fX)([],Array.isArray(h)?h:[h],!0),Array.isArray(g)?g:[g],!0)}}if(Object.keys(a).length>0){r.subComponentStyles={};var m=r.subComponentStyles,f=function(e){if(a.hasOwnProperty(e)){var t=a[e];m[e]=function(e){return i.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var p in a)f(p)}return r}},14345:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var n=r(61295);function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var o=[],i=0,a=t;i<a.length;i++){var s=a[i];s&&o.push("function"==typeof s?s(e):s)}return 1===o.length?o[0]:o.length?n.T.apply(void 0,o):{}}},35151:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(75997);function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=[],i=[],a=e;return function e(t){for(var r=0,s=t;r<s.length;r++){var l=s[r];if(l&&!(0,n.db)(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var u=a.argsFromClassName(l);u?e(u):-1===o.indexOf(l)&&o.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&i.push(l)}}(t),{classes:o,objects:i}}},35931:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var n=r(12937),o=r(62103),i=r(14363);function a(e){var t=o.nr.getInstance(),r=(0,i.bz)((0,n.Iy)(),e);if(!t.classNameFromKey(r)){var a=t.getClassName();t.insertRule("@font-face{".concat(r,"}"),!0),t.cacheClassName(a,r,[],["font-face",r])}}},54574:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var n=r(12937),o=r(62103),i=r(14363);function a(e){var t=o.nr.getInstance(),r=[];for(var a in e)e.hasOwnProperty(a)&&r.push(a,"{",(0,i.bz)((0,n.Iy)(),e[a]),"}");var s=r.join(""),l=t.classNameFromKey(s);if(l)return l;var u=t.getClassName();return t.insertRule("@keyframes ".concat(u,"{").concat(s,"}"),!0),t.cacheClassName(u,s,[],["keyframes",s]),u}},11579:(e,t,r)=>{"use strict";r.d(t,{L:()=>d,l:()=>c});var n=r(54029),o=r(61295),i=r(35151),a=r(12937),s=r(14363),l=r(75997),u=r(62103);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d(e,(0,a.Iy)())}function d(e,t){var r,a={subComponentStyles:{}},c=void 0;(0,l.db)(e[0])?(c=e[0],r=e[1]):r=e[0],null!=c||(c=null==t?void 0:t.shadowConfig);var d=(0,n.Cl)((0,n.Cl)({},t),{shadowConfig:c});if(!r&&e.length<=1)return{subComponentStyles:{}};var p=u.nr.getInstance(c);d.stylesheet=p;var h=o.T.apply(void 0,e),g=[];for(var m in h)if(h.hasOwnProperty(m)){if("subComponentStyles"===m){a.subComponentStyles=h.subComponentStyles||{};continue}if("__shadowConfig__"===m)continue;var f=h[m],v=(0,i.h)(p,f),b=v.classes,y=v.objects;(null==y?void 0:y.length)?(T=(0,s.GJ)(d||{},{displayName:m},y))&&(g.push(T),a[m]=b.concat([T.className]).join(" ")):a[m]=b.join(" ")}for(var S=0,C=g;S<C.length;S++){var T;(T=C[S])&&(0,s.Ae)(T,null==t?void 0:t.specificityMultiplier,c)}return a}},97665:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l,e:()=>u});var n=r(35151),o=r(75997),i=r(12937),a=r(62103),s=r(14363);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u(e,(0,i.Iy)())}function u(e,t){var r=e instanceof Array?e:[e],i=t||{};(0,o.db)(r[0])&&(i.shadowConfig=r[0]),i.stylesheet=a.nr.getInstance(i.shadowConfig);var l=(0,n.h)(i.stylesheet,r),u=l.classes,c=l.objects;return c.length&&u.push((0,s.kG)(i,c)),u.join(" ")}},75997:(e,t,r)=>{"use strict";r.d(t,{HD:()=>a,P6:()=>n,Se:()=>o,db:()=>s,ou:()=>i});var n="__global__",o="__shadow_dom_stylesheet__",i={stylesheetKey:n,inShadow:!1,window:void 0,__isShadowConfig__:!0},a=function(e,t,r){return{stylesheetKey:e,inShadow:t,window:r,__isShadowConfig__:!0}},s=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__}},14363:(e,t,r)=>{"use strict";r.d(t,{Ae:()=>I,bz:()=>E,kG:()=>x,GJ:()=>A});var n,o=r(54029),i=r(62103),a={},s={"user-select":1};function l(e,t){var r=function(){var e;if(!n){var t="undefined"!=typeof document?document:void 0,r="undefined"!=typeof navigator?navigator:void 0,o=null===(e=null==r?void 0:r.userAgent)||void 0===e?void 0:e.toLowerCase();n=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(o&&o.indexOf("firefox")>-1),isOpera:!!(o&&o.indexOf("opera")>-1),isMs:!(!r||!/rv:11.0/i.test(r.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return n}(),o=e[t];if(s[o]){var i=e[t+1];s[o]&&(r.isWebkit&&e.push("-webkit-"+o,i),r.isMoz&&e.push("-moz-"+o,i),r.isMs&&e.push("-ms-"+o,i),r.isOpera&&e.push("-o-"+o,i))}}var u,c=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function d(e,t){var r=e[t],n=e[t+1];if("number"==typeof n){var o=c.indexOf(r)>-1,i=r.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(n).concat(a)}}var p="left",h="right",g="@noflip",m=((u={})[p]=h,u[h]=p,u),f={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function v(e,t,r){if(e.rtl){var n=t[r];if(!n)return;var o=t[r+1];if("string"==typeof o&&o.indexOf(g)>=0)t[r+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(p)>=0)t[r]=n.replace(p,h);else if(n.indexOf(h)>=0)t[r]=n.replace(h,p);else if(String(o).indexOf(p)>=0)t[r+1]=o.replace(p,h);else if(String(o).indexOf(h)>=0)t[r+1]=o.replace(h,p);else if(m[n])t[r]=m[n];else if(f[o])t[r+1]=f[o];else switch(n){case"margin":case"padding":t[r+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[r+1]=function(e,t){var r=e.split(" "),n=parseInt(r[0],10);return r[0]=r[0].replace(String(n),String(-1*n)),r.join(" ")}(o)}}}var b="displayName",y=/\:global\((.+?)\)/g;function S(e,t){return e.indexOf(":global(")>=0?e.replace(y,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function C(e,t,r,n,o){void 0===t&&(t={__order:[]}),0===r.indexOf("@")?T([n],t,r=r+"{"+e,o):r.indexOf(",")>-1?function(e){if(!y.test(e))return e;for(var t=[],r=/\:global\((.+?)\)/g,n=null;n=r.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var r=t[0],n=t[1],o=t[2];return e.slice(0,r)+o+e.slice(n)}),e)}(r).split(",").map((function(e){return e.trim()})).forEach((function(r){return T([n],t,S(r,e),o)})):T([n],t,S(r,e),o)}function T(e,t,r,n){void 0===t&&(t={__order:[]}),void 0===r&&(r="&");var o,i=t[r];i||(i={},t[r]=i,t.__order.push(r));for(var a=0,s=e;a<s.length;a++){var l=s[a];if("string"==typeof l){var u=n.argsFromClassName(l);u&&T(u,t,r,n)}else if(Array.isArray(l))T(l,t,r,n);else for(var c in l)if(l.hasOwnProperty(c)){var d=l[c];if("selectors"===c){var p=l.selectors;for(var h in p)p.hasOwnProperty(h)&&C(r,t,h,p[h],n)}else"object"==typeof d||(o=c).indexOf(":global(")>=0||0===o.indexOf(":")?null!=d&&C(r,t,c,d,n):void 0!==d&&("margin"===c||"padding"===c?k(i,c,d):i[c]=d)}}return t}function k(e,t,r){var n="string"==typeof r?function(e){for(var t=[],r=0,n=0,o=0;o<e.length;o++)switch(e[o]){case"(":n++;break;case")":n&&n--;break;case"\t":case" ":n||(o>r&&t.push(e.substring(r,o)),r=o+1)}return r<e.length&&t.push(e.substring(r)),t}(r):[r];0===n.length&&n.push(r),"!important"===n[n.length-1]&&(n=n.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=n[0],e[t+"Right"]=n[1]||n[0],e[t+"Bottom"]=n[2]||n[0],e[t+"Left"]=n[3]||n[1]||n[0]}function F(e,t){return t<=0?"":1===t?e:e+F(e,t-1)}function E(e,t){if(!t)return"";var r,n,o,i=[];for(var s in t)t.hasOwnProperty(s)&&s!==b&&void 0!==t[s]&&i.push(s,t[s]);for(var u=0;u<i.length;u+=2)o=void 0,"-"!==(o=(r=i)[n=u]).charAt(0)&&(r[n]=a[o]=a[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),d(i,u),v(e,i,u),l(i,u);for(u=1;u<i.length;u+=4)i.splice(u,1,":",i[u],";");return i.join("")}function A(e){for(var t,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=null!==(t=e.stylesheet)&&void 0!==t?t:i.nr.getInstance(e.shadowConfig),a=T(r,void 0,void 0,o),s=function(e,t){for(var r=[e.rtl?"rtl":"ltr"],n=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];r.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(n=!0,r.push(l,s[l]))}return n?r.join(""):void 0}(e,a);if(s){var l={className:o.classNameFromKey(s),key:s,args:r};if(!l.className){l.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(a));for(var u=[],c=0,d=a.__order;c<d.length;c++){var p=d[c];u.push(p,E(e,a[p]))}l.rulesToInsert=u}return l}}function I(e,t,r,n){void 0===t&&(t=1);var o=null!=n?n:i.nr.getInstance(r),a=e.className,s=e.key,l=e.args,u=e.rulesToInsert;if(u){for(var c=0;c<u.length;c+=2){var d=u[c+1];if(d){var p=u[c];p=p.replace(/&/g,F(".".concat(e.className),t));var h="".concat(p,"{").concat(d,"}").concat(0===p.indexOf("@")?"}":"");o.insertRule(h)}}o.cacheClassName(a,s,l,u)}}function x(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=A.apply(void 0,(0,o.fX)([e],t,!1));return n?(I(n,e.specificityMultiplier,e.shadowConfig,e.stylesheet),n.className):""}},43665:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var n=r(85152),o=r(87513);function i(e,t){const{disabled:r,disabledFocusable:i=!1,"aria-disabled":a,onClick:s,onKeyDown:l,onKeyUp:u,...c}=null!=t?t:{},d="string"==typeof a?"true"===a:a,p=r||i||d,h=(0,o.D)((e=>{p?(e.preventDefault(),e.stopPropagation()):null==s||s(e)})),g=(0,o.D)((e=>{if(null==l||l(e),e.isDefaultPrevented())return;const t=e.key;if(p&&(t===n.xyI||t===n.$xS))return e.preventDefault(),void e.stopPropagation();t!==n.$xS?t===n.xyI&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()})),m=(0,o.D)((e=>{if(null==u||u(e),e.isDefaultPrevented())return;const t=e.key;if(p&&(t===n.xyI||t===n.$xS))return e.preventDefault(),void e.stopPropagation();t===n.$xS&&(e.preventDefault(),e.currentTarget.click())}));if("button"===e||void 0===e)return{...c,disabled:r&&!i,"aria-disabled":!!i||d,onClick:i?void 0:h,onKeyUp:i?void 0:u,onKeyDown:i?void 0:l};{const t=!!c.href;let n=t?void 0:"button";!n&&p&&(n="link");const o={role:n,tabIndex:i||!t&&!r?0:void 0,...c,onClick:h,onKeyUp:m,onKeyDown:g,"aria-disabled":p};return"a"===e&&p&&(o.href=void 0),o}}r(10477)},96264:(e,t,r)=>{"use strict";r.d(t,{U:()=>a,u:()=>s});var n=r(10477);const o=n.createContext(void 0),i={},a=o.Provider,s=()=>{var e;return null!==(e=n.useContext(o))&&void 0!==e?e:i}},14274:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});var n=r(24223),o=r(29784);const i=e=>{(0,o.C)(e);const{iconOnly:t,iconPosition:r}=e;return(0,n.FD)(e.root,{children:["after"!==r&&e.icon&&(0,n.Y)(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&(0,n.Y)(e.icon,{})]})}},58559:(e,t,r)=>{"use strict";r.d(t,{P:()=>u});var n=r(10477),o=r(43665),i=r(43839),a=r(94190);const s=n.createContext(void 0),l={},u=(s.Provider,(e,t)=>{const{size:r}=null!==(u=n.useContext(s))&&void 0!==u?u:l;var u;const{appearance:c="secondary",as:d="button",disabled:p=!1,disabledFocusable:h=!1,icon:g,iconPosition:m="before",shape:f="rounded",size:v=(null!=r?r:"medium")}=e,b=i.lq(g,{elementType:"span"});return{appearance:c,disabled:p,disabledFocusable:h,iconPosition:m,shape:f,size:v,iconOnly:Boolean((null==b?void 0:b.children)&&!e.children),components:{root:"button",icon:"span"},root:i.Gk((0,a.g)(d,(0,o.F)(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:"button"===d?"button":void 0}}),icon:b}})},59761:(e,t,r)=>{"use strict";r.d(t,{B:()=>h});var n=r(69287),o=r(77675),i=r(26838);const a=(0,n.y)("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),s=(0,n.y)("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),l=(0,o.X)({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),u=(0,o.X)({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),c=(0,o.X)({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),d=(0,o.X)({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),p=(0,o.X)({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),h=e=>{const t=a(),r=s(),n=l(),o=u(),h=c(),g=d(),m=p(),{appearance:f,disabled:v,disabledFocusable:b,icon:y,iconOnly:S,iconPosition:C,shape:T,size:k}=e;return e.root.className=(0,i.z)("fui-Button",t,f&&n[f],n[k],y&&"small"===k&&n.smallWithIcon,y&&"large"===k&&n.largeWithIcon,n[T],(v||b)&&o.base,(v||b)&&o.highContrast,f&&(v||b)&&o[f],"primary"===f&&h.primary,h[k],h[T],S&&g[k],e.root.className),e.icon&&(e.icon.className=(0,i.z)("fui-Button__icon",r,!!e.root.children&&m[C],m[k],e.icon.className)),e}},15580:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var n=r(24223),o=r(29784);const i=e=>{(0,o.C)(e);const{iconOnly:t,iconPosition:r}=e;return(0,n.FD)(e.root,{children:["after"!==r&&e.icon&&(0,n.Y)(e.icon,{}),!t&&(0,n.FD)(e.contentContainer,{children:[e.root.children,e.secondaryContent&&(0,n.Y)(e.secondaryContent,{})]}),"after"===r&&e.icon&&(0,n.Y)(e.icon,{})]})}},29968:(e,t,r)=>{"use strict";r.d(t,{d:()=>i});var n=r(24223),o=r(29784);const i=e=>{(0,o.C)(e);const{icon:t,iconOnly:r}=e;return(0,n.FD)(e.root,{children:[e.icon&&(0,n.Y)(e.icon,{}),!r&&e.root.children,(!r||!(null==t?void 0:t.children))&&e.menuIcon&&(0,n.Y)(e.menuIcon,{})]})}},69515:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var n=r(10477),o=r(54116),i=r(43839),a=r(58559);const s=({menuIcon:e,...t},r)=>{const s=(0,a.P)(t,r);return s.root["aria-expanded"]=!!t["aria-expanded"]&&("true"===t["aria-expanded"]||!0===t["aria-expanded"]),{...s,iconOnly:Boolean(!t.children),components:{root:"button",icon:"span",menuIcon:"span"},menuIcon:i.lq(e,{defaultProps:{children:n.createElement(o.yuG,null)},renderByDefault:!0,elementType:"span"})}}},98581:(e,t,r)=>{"use strict";r.d(t,{U:()=>u});var n=r(77675),o=r(26838),i=r(59761);const a=(0,n.X)({base:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"},outline:{g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],sj55zd:"f14nttnl"},primary:{De3pzq:"f8w4g0q"},secondary:{De3pzq:"f1nfm20t",g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],sj55zd:"f14nttnl"},subtle:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},transparent:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59"}},{d:[".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1ly1fcm{border-top-color:var(--colorNeutralStroke1Selected);}",".fi8bssc{border-right-color:var(--colorNeutralStroke1Selected);}",".fj6btzu{border-left-color:var(--colorNeutralStroke1Selected);}",".f1s9tnsa{border-bottom-color:var(--colorNeutralStroke1Selected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),s=(0,n.X)({outline:{sj55zd:"f14nttnl"},primary:{},secondary:{sj55zd:"f14nttnl"},subtle:{sj55zd:"f1qj7y59"},transparent:{sj55zd:"f1qj7y59"},highContrast:{ze5xyy:"f4xjyn1"}},{d:[".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}]]}),l=(0,n.X)({base:{Bg96gwp:"fez10in"},small:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},medium:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},large:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",Bg96gwp:"faaz57k",a9b677:"fjw5fx7"},notIconOnly:{Frg6f3:["fbyavb5","fm0x6gh"]}},{d:[".fez10in{line-height:0;}",".f1ugzwwg{font-size:12px;}",".fvblgha{height:12px;}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".frx94fk{width:12px;}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".faaz57k{line-height:var(--lineHeightBase400);}",".fjw5fx7{width:16px;}",".fbyavb5{margin-left:var(--spacingHorizontalXS);}",".fm0x6gh{margin-right:var(--spacingHorizontalXS);}"]}),u=e=>{const t=a(),r=s(),n=l();return e.root.className=(0,o.z)("fui-MenuButton",e.root["aria-expanded"]&&t.base,e.root["aria-expanded"]&&t[e.appearance],e.root.className),e.icon&&(e.icon.className=(0,o.z)("fui-MenuButton__icon",e.root["aria-expanded"]&&r[e.appearance]&&r.highContrast,e.icon.className)),e.menuIcon&&(e.menuIcon.className=(0,o.z)("fui-MenuButton__menuIcon",n.base,n[e.size],!e.iconOnly&&n.notIconOnly,e.menuIcon.className)),(0,i.B)({...e,iconPosition:"before"}),e}},22918:(e,t,r)=>{"use strict";r.d(t,{H:()=>s});var n=r(10477),o=r(39850),i=r(87513),a=r(58352);function s(e,t){const{checked:r,defaultChecked:s,disabled:l,disabledFocusable:u}=e,{onClick:c,role:d}=t.root,[p,h]=(0,o.i)({state:r,defaultState:s,initialState:!1}),g="menuitemcheckbox"===d||"checkbox"===d,m=n.useCallback((e=>{if(!l&&!u){if(e.defaultPrevented)return;h(!p)}}),[p,l,u,h]);return{...t,checked:p,root:{...t.root,[g?"aria-checked":"aria-pressed"]:p,onClick:(0,i.D)((0,a.p)(c,m))}}}},77625:(e,t,r)=>{"use strict";r.d(t,{q:()=>a});var n=r(53386),o=r(10477),i=r(35721);const a=e=>{const t=o.createContext({value:{current:e},version:{current:-1},listeners:[]});var r;return t.Provider=(r=t.Provider,e=>{const t=o.useRef(e.value),a=o.useRef(0),s=o.useRef();return s.current||(s.current={value:t,version:a,listeners:[]}),(0,n.E)((()=>{t.current=e.value,a.current+=1,(0,i.unstable_runWithPriority)(i.unstable_NormalPriority,(()=>{s.current.listeners.forEach((t=>{t([a.current,e.value])}))}))}),[e.value]),o.createElement(r,{value:s.current},e.children)}),delete t.Consumer,t}},24439:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var n=r(87513),o=r(53386),i=r(10477);const a=(e,t)=>{const r=i.useContext(e),{value:{current:a},version:{current:s},listeners:l}=r,u=t(a),[c,d]=i.useState([a,u]),p=e=>{d((r=>{if(!e)return[a,u];if(e[0]<=s)return Object.is(r[1],u)?r:[a,u];try{if(Object.is(r[0],e[1]))return r;const n=t(e[1]);return Object.is(r[1],n)?r:[e[1],n]}catch(e){}return[r[0],r[1]]}))};Object.is(c[1],u)||p(void 0);const h=(0,n.D)(p);return(0,o.E)((()=>(l.push(h),()=>{const e=l.indexOf(h);l.splice(e,1)})),[h,l]),c[1]}},82170:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(10477);function o(e){const t=n.useContext(e);return!!t.version&&-1!==t.version.current}},56676:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i,o:()=>a});var n=r(10477);const o=n.createContext(void 0),i=o.Provider,a=()=>n.useContext(o)},2483:(e,t,r)=>{"use strict";r.d(t,{c:()=>o,m:()=>i});var n=r(56676);function o(e,t){return i((0,n.o)(),e,t)}function i(e,t,r){if(!e)return t;t={...t};const{generatedControlId:n,hintId:o,labelFor:i,labelId:a,required:s,validationMessageId:l,validationState:u}=e;var c,d,p,h,g,m,f,v,b,y,S,C;return n&&(null!==(d=(c=t).id)&&void 0!==d||(c.id=n)),!a||(null==r?void 0:r.supportsLabelFor)&&i===t.id||null!==(h=(p=t)["aria-labelledby"])&&void 0!==h||(p["aria-labelledby"]=a),(l||o)&&(t["aria-describedby"]=[l,o,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===u&&(null!==(m=(g=t)["aria-invalid"])&&void 0!==m||(g["aria-invalid"]=!0)),s&&((null==r?void 0:r.supportsRequired)?null!==(v=(f=t).required)&&void 0!==v||(f.required=!0):null!==(y=(b=t)["aria-required"])&&void 0!==y||(b["aria-required"]=!0)),(null==r?void 0:r.supportsSize)&&(null!==(C=(S=t).size)&&void 0!==C||(S.size=e.size)),t}},10625:(e,t,r)=>{"use strict";r.d(t,{R:()=>O});var n,o=r(54029),i=r(10477),a=r(97130),s=r(11021),l=r(50157),u=r(29607),c=r(72341),d=r(83082),p=r(69250),h=r(40409),g=r(75296),m=r(82015),f=r(24011),v=r(76111),b=r(8372),y=r(10166),S=r(37295),C=r(97665),T=r(39398),k="data-is-focusable",F="data-focuszone-id",E="tabindex",A="data-no-vertical-wrap",I="data-no-horizontal-wrap",x=999999999,w=-999999999;function P(e,t){var r;"function"==typeof MouseEvent?r=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(r=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(r)}var R={},D=new Set,_=["text","number","password","email","tel","url","search","textarea"],N=!1,O=function(e){function t(r){var n,o,g,m,f=e.call(this,r)||this;f._root=i.createRef(),f._mergedRef=(0,s.K)(),f._onFocus=function(e){if(!f._portalContainsElement(e.target)){var t,r=f.props,n=r.onActiveElementChanged,o=r.doNotAllowFocusEventToPropagate,i=r.stopFocusPropagation,a=r.onFocusNotification,s=r.onFocus,c=r.shouldFocusInnerElementWhenReceivedFocus,d=r.defaultTabbableElement,p=f._isImmediateDescendantOfZone(e.target);if(p)t=e.target;else for(var h=e.target;h&&h!==f._root.current;){if((0,l.S0)(h,void 0,f._inShadowRoot)&&f._isImmediateDescendantOfZone(h)){t=h;break}h=(0,u.P)(h,N)}if(c&&e.target===f._root.current){var g=d&&"function"==typeof d&&f._root.current&&d(f._root.current);g&&(0,l.S0)(g,void 0,f._inShadowRoot)?(t=g,g.focus()):(f.focus(!0),f._activeElement&&(t=null))}var m=!f._activeElement;t&&t!==f._activeElement&&((p||m)&&f._setFocusAlignment(t,!0,!0),f._activeElement=t,m&&f._updateTabIndexes()),n&&n(f._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},f._onBlur=function(){f._setParkedFocus(!1)},f._onMouseDown=function(e){if(!f._portalContainsElement(e.target)&&!f.props.disabled){for(var t=e.target,r=[];t&&t!==f._root.current;)r.push(t),t=(0,u.P)(t,N);for(;r.length&&((t=r.pop())&&(0,l.S0)(t,void 0,f._inShadowRoot)&&f._setActiveElement(t,!0),!(0,l.HC)(t)););}},f._onKeyDown=function(e,t){if(!f._portalContainsElement(e.target)){var r=f.props,n=r.direction,o=r.disabled,i=r.isInnerZoneKeystroke,s=r.pagingSupportDisabled,u=r.shouldEnterInnerZone;if(!(o||(f.props.onKeyDown&&f.props.onKeyDown(e),e.isDefaultPrevented()||f._getDocument().activeElement===f._root.current&&f._isInnerZone))){if((u&&u(e)||i&&i(e))&&f._isImmediateDescendantOfZone(e.target)){var p=f._getFirstInnerZone();if(p){if(!p.focus(!0))return}else{if(!(0,l.Z5)(e.target))return;if(!f.focusElement((0,l.eX)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case c.c.space:if(f._shouldRaiseClicksOnSpace&&f._tryInvokeClickForFocusable(e.target,e))break;return;case c.c.left:if(n!==a.E.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusLeft(t)))break;return;case c.c.right:if(n!==a.E.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusRight(t)))break;return;case c.c.up:if(n!==a.E.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusUp()))break;return;case c.c.down:if(n!==a.E.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusDown()))break;return;case c.c.pageDown:if(!s&&f._moveFocusPaging(!0))break;return;case c.c.pageUp:if(!s&&f._moveFocusPaging(!1))break;return;case c.c.tab:if(f.props.allowTabKey||f.props.handleTabKey===a.l.all||f.props.handleTabKey===a.l.inputOnly&&f._isElementInput(e.target)){var h=!1;if(f._processingTabKey=!0,h=n!==a.E.vertical&&f._shouldWrapFocus(f._activeElement,I)?((0,d.jI)(t)?!e.shiftKey:e.shiftKey)?f._moveFocusLeft(t):f._moveFocusRight(t):e.shiftKey?f._moveFocusUp():f._moveFocusDown(),f._processingTabKey=!1,h)break;f.props.shouldResetActiveElementWhenTabFromZone&&(f._activeElement=null)}return;case c.c.home:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!1))return!1;var g=f._root.current&&f._root.current.firstChild;if(f._root.current&&g&&f.focusElement((0,l.eX)(f._root.current,g,!0)))break;return;case c.c.end:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!0))return!1;var m=f._root.current&&f._root.current.lastChild;if(f._root.current&&f.focusElement((0,l.yv)(f._root.current,m,!0,!0,!0)))break;return;case c.c.enter:if(f._shouldRaiseClicksOnEnter&&f._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},f._getHorizontalDistanceFromCenter=function(e,t,r){var n=f._focusAlignment.left||f._focusAlignment.x||0,o=Math.floor(r.top),i=Math.floor(t.bottom),a=Math.floor(r.bottom),s=Math.floor(t.top);return e&&o>i||!e&&a<s?n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n):f._shouldWrapFocus(f._activeElement,A)?x:w},(0,p.f)(f),f._id=(0,h.O)("FocusZone"),f._focusAlignment={left:0,top:0},f._processingTabKey=!1;var v=null===(o=null!==(n=r.shouldRaiseClicks)&&void 0!==n?n:t.defaultProps.shouldRaiseClicks)||void 0===o||o;return f._shouldRaiseClicksOnEnter=null!==(g=r.shouldRaiseClicksOnEnter)&&void 0!==g?g:v,f._shouldRaiseClicksOnSpace=null!==(m=r.shouldRaiseClicksOnSpace)&&void 0!==m?m:v,f}return(0,o.C6)(t,e),t.getOuterZones=function(){return D.size},t._onKeyDownCapture=function(e){e.which===c.c.tab&&D.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e,r=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),R[this._id]=this,r){for(var n=(0,u.P)(r,N);n&&n!==this._getDocument().body&&1===n.nodeType;){if((0,l.HC)(n)){this._isInnerZone=!0;break}n=(0,u.P)(n,N)}this._isInnerZone||(D.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e,t=this._root.current,r=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!(0,g.s)(this._root.current,this._activeElement,N)||this._defaultFocusElement&&!(0,g.s)(this._root.current,this._defaultFocusElement,N))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&r&&this._lastIndexPath&&(r.activeElement===r.body||null===r.activeElement||r.activeElement===t)){var n=(0,l.nA)(t,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete R[this._id],this._isInnerZone||(D.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,r=t.as,a=t.elementType,s=t.rootProps,l=t.ariaDescribedBy,u=t.ariaLabelledBy,c=t.className,d=(0,m.G1)(this.props,m.vt),p=r||a||"div";this._evaluateFocusBeforeRender();var h=(0,T.O4)();return i.createElement(p,(0,o.Cl)({"aria-labelledby":u,"aria-describedby":l},d,s,{className:(0,f.A)((n||(n=(0,C.Z)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),n),c),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,h)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(k)&&this._isInnerZone){var r=this._getOwnerZone(this._root.current);if(r!==this._root.current){var n=R[r.getAttribute(F)];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&(0,g.s)(this._root.current,this._activeElement)&&(0,l.S0)(this._activeElement,void 0,this._inShadowRoot)&&(!t||(0,l.F2)(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement((0,l.eX)(this._root.current,o,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement((0,l.yv)(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var r=this.props,n=r.onBeforeFocus,o=r.shouldReceiveFocus;return!(o&&!o(e)||n&&!n(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var r=t.activeElement;if(r!==e){var n=(0,g.s)(e,r,!1);this._lastIndexPath=n?(0,l.Ep)(e,r):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var r=this._activeElement;this._activeElement=e,r&&((0,l.HC)(r)&&this._updateTabIndexes(r),r.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var r=e;if(r===this._root.current)return!1;do{if("BUTTON"===r.tagName||"A"===r.tagName||"INPUT"===r.tagName||"TEXTAREA"===r.tagName||"SUMMARY"===r.tagName)return!1;if(this._isImmediateDescendantOfZone(r)&&"true"===r.getAttribute(k)&&"true"!==r.getAttribute("data-disable-click-on-enter"))return P(r,t),!0;r=(0,u.P)(r,N)}while(r!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if((0,l.HC)(e))return R[e.getAttribute(F)];for(var t=e.firstElementChild;t;){if((0,l.HC)(t))return R[t.getAttribute(F)];var r=this._getFirstInnerZone(t);if(r)return r;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,r,n){void 0===n&&(n=!0);var o=this._activeElement,i=-1,s=void 0,u=!1,c=this.props.direction===a.E.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var d=c?o.getBoundingClientRect():null;do{if(o=e?(0,l.eX)(this._root.current,o):(0,l.yv)(this._root.current,o),!c){s=o;break}if(o){var p=t(d,o.getBoundingClientRect());if(-1===p&&-1===i){s=o;break}if(p>-1&&(-1===i||p<i)&&(i=p,s=o),i>=0&&p<0)break}}while(o);if(s&&s!==this._activeElement)u=!0,this.focusElement(s);else if(this.props.isCircularNavigation&&n)return e?this.focusElement((0,l.eX)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement((0,l.yv)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return u},t.prototype._moveFocusDown=function(){var e=this,t=-1,r=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(n,o){var i=-1,a=Math.floor(o.top),s=Math.floor(n.bottom);return a<s?e._shouldWrapFocus(e._activeElement,A)?x:w:((-1===t&&a>=s||a===t)&&(t=a,i=r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,r=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(n,o){var i=-1,a=Math.floor(o.bottom),s=Math.floor(o.top),l=Math.floor(n.top);return a>l?e._shouldWrapFocus(e._activeElement,A)?x:w:((-1===t&&a<=l||s===t)&&(t=s,i=r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,r=this._shouldWrapFocus(this._activeElement,I);return!!this._moveFocus((0,d.jI)(e),(function(n,o){var i=-1;return((0,d.jI)(e)?parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&o.right<=n.right&&t.props.direction!==a.E.vertical?i=n.right-o.right:r||(i=w),i}),void 0,r)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,r=this._shouldWrapFocus(this._activeElement,I);return!!this._moveFocus(!(0,d.jI)(e),(function(n,o){var i=-1;return((0,d.jI)(e)?parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&o.left>=n.left&&t.props.direction!==a.E.vertical?i=o.left-n.left:r||(i=w),i}),void 0,r)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var r=this._activeElement;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var n=(0,v.Hc)(r);if(!n)return!1;var o=-1,i=void 0,a=-1,s=-1,u=n.clientHeight,c=r.getBoundingClientRect();do{if(r=e?(0,l.eX)(this._root.current,r):(0,l.yv)(this._root.current,r)){var d=r.getBoundingClientRect(),p=Math.floor(d.top),h=Math.floor(c.bottom),g=Math.floor(d.bottom),m=Math.floor(c.top),f=this._getHorizontalDistanceFromCenter(e,c,d);if(e&&p>h+u||!e&&g<m-u)break;f>-1&&(e&&p>a?(a=p,o=f,i=r):!e&&g<s?(s=g,o=f,i=r):(-1===o||f<=o)&&(o=f,i=r))}}while(r);var b=!1;if(i&&i!==this._activeElement)b=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement((0,l.eX)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement((0,l.yv)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return b},t.prototype._setFocusAlignment=function(e,t,r){if(this.props.direction===a.E.bidirectional&&(!this._focusAlignment||t||r)){var n=e.getBoundingClientRect(),o=n.left+n.width/2,i=n.top+n.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),r&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=(0,u.P)(e,N);t&&t!==this._root.current&&t!==this._getDocument().body;){if((0,l.HC)(t))return t;t=(0,u.P)(t,N)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!(0,g.s)(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!(0,l.S0)(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,r=0;t&&r<t.length;r++){var n=t[r];(0,l.HC)(n)?"true"===n.getAttribute(k)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(E)&&n.setAttribute(E,"-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute(E)&&n.setAttribute(E,"0"))):(n.getAttribute&&"false"===n.getAttribute(k)&&n.setAttribute(E,"-1"),(0,l.S0)(n,void 0,this._inShadowRoot)?this.props.disabled?n.setAttribute(E,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(E)&&n.setAttribute(E,"-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute(E)&&n.setAttribute(E,"0")):"svg"===n.tagName&&"false"!==n.getAttribute("focusable")&&n.setAttribute("focusable","false")),this._updateTabIndexes(n)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&_.indexOf(e.type.toLowerCase())>-1){var r=e.selectionStart,n=r!==e.selectionEnd,o=e.value,i=e.readOnly;if(n||r>0&&!t&&!i||r!==o.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||(0,l._l)(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&(0,b.s)(e,this._root.current)},t.prototype._getDocument=function(){return(0,y.Y)(this._root.current)},t.contextType=S.c,t.defaultProps={isCircularNavigation:!1,direction:a.E.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t}(i.Component)},97130:(e,t,r)=>{"use strict";r.d(t,{E:()=>n,l:()=>o});var n,o={none:0,all:1,inputOnly:2};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(n||(n={}))},34907:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var n=r(31976),o=r(10477);function i(){var e=o.useRef();return e.current||(e.current=new n.j),o.useEffect((function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}}),[]),e.current}},99139:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(10477),o=r(21160);function i(e){var t=n.useState(e),r=t[0],i=t[1];return[r,{setTrue:(0,o.d)((function(){return function(){i(!0)}})),setFalse:(0,o.d)((function(){return function(){i(!1)}})),toggle:(0,o.d)((function(){return function(){i((function(e){return!e}))}}))}]}},21160:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var n=r(10477);function o(e){var t=n.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}},93643:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});var n=r(10477),o=r(21160);function i(e,t,r){var i=n.useState(t),a=i[0],s=i[1],l=(0,o.d)(void 0!==e),u=l?e:a,c=n.useRef(u),d=n.useRef(r);n.useEffect((function(){c.current=u,d.current=r}));var p=(0,o.d)((function(){return function(e,t){var r="function"==typeof e?e(c.current):e;d.current&&d.current(t,r),l||s(r)}}));return[u,p]}},72085:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(10477),o=r(21160);function i(){var e=n.useState(0)[1];return(0,o.d)((function(){return function(){return e((function(e){return++e}))}}))}},30838:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(10477),o=r(40409);function i(e,t){var r=n.useRef(t);return r.current||(r.current=(0,o.O)(e)),r.current}},39773:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(54029),o=r(10477);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.useCallback((function(t){r.current=t;for(var n=0,o=e;n<o.length;n++){var i=o[n];"function"==typeof i?i(t):i&&(i.current=t)}}),(0,n.fX)([],e,!0));return r}},59432:(e,t,r)=>{"use strict";r.d(t,{x:()=>i});var n=r(63874),o=r(10477);function i(e,t,r,i){var a=o.useRef(r);a.current=r,o.useEffect((function(){var r=e&&"current"in e?e.current:e;if(r&&r.addEventListener)return(0,n.on)(r,t,(function(e){return a.current(e)}),i)}),[e,t,i])}},57142:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(10477);function o(e){var t=n.useRef();return n.useEffect((function(){t.current=e})),t.current}},92467:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(10477);function o(e,t){void 0===t&&(t=null);var r,o=n.useRef({ref:(r=function(e){o.ref.current!==e&&(o.cleanup&&(o.cleanup(),o.cleanup=void 0),o.ref.current=e,null!==e&&(o.cleanup=o.callback(e)))},r.current=t,r),callback:e}).current;return o.callback=e,o.ref}},94552:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(10477),o=r(21160),i=function(){var e=(0,o.d)({});return n.useEffect((function(){return function(){for(var t=0,r=Object.keys(e);t<r.length;t++){var n=r[t];clearTimeout(n)}}}),[e]),(0,o.d)({setTimeout:function(t,r){var n=setTimeout(t,r);return e[n]=1,n},clearTimeout:function(t){delete e[t],clearTimeout(t)}})}},44018:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var n=r(10166),o=r(10477),i=r(18660);function a(e,t){var r,a,s,l=o.useRef(),u=o.useRef(null),c=(0,i.ox)();if(!e||e!==l.current||"string"==typeof e){var d=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(r=null==d?void 0:d.getRootNode())||void 0===r?void 0:r.host)u.current=null!==(s=null===(a=null==d?void 0:d.getRootNode())||void 0===a?void 0:a.querySelector(e))&&void 0!==s?s:null;else{var p=(0,n.Y)(d);u.current=p?p.querySelector(e):null}else u.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;l.current=e}return[u,c]}},48782:(e,t,r)=>{"use strict";r.d(t,{F:()=>a,U:()=>s});var n=r(10477);const o=n.createContext(void 0),i={},a=o.Provider,s=()=>n.useContext(o)?n.useContext(o):i},54116:(e,t,r)=>{"use strict";r.d(t,{BEt:()=>d,Crl:()=>u,NGN:()=>a,_jO:()=>o,nUb:()=>s,oAB:()=>l,xeZ:()=>c,yuG:()=>i});var n=r(95629);const o=(0,n.U)("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),i=(0,n.U)("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),a=(0,n.U)("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),s=(0,n.U)("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),l=(0,n.U)("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),u=(0,n.U)("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),c=(0,n.U)("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),d=(0,n.U)("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"])},26510:(e,t,r)=>{"use strict";r.d(t,{LKJ:()=>i,aUx:()=>o,vMY:()=>a});var n=r(95629);const o=(0,n.U)("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),i=(0,n.U)("ProhibitedFilled","1em",["M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0c0-1.52-.53-2.93-1.4-4.04L5.96 15.1A6.5 6.5 0 0 0 16.5 10ZM4.9 14.04l9.14-9.14a6.5 6.5 0 0 0-9.13 9.13Z"]),a=(0,n.U)("SearchRegular","1em",["M12.73 13.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 14 8.5a5.5 5.5 0 1 0-1.98 4.23Z"])},81257:(e,t,r)=>{"use strict";r.d(t,{D7b:()=>a,FUA:()=>i,jvo:()=>o});var n=r(95629);const o=(0,n.U)("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),i=(0,n.U)("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),a=(0,n.U)("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"])},95629:(e,t,r)=>{"use strict";r.d(t,{U:()=>u});var n=r(10477),o=r(48782),i=r(77675),a=r(26838);const s=(0,i.X)({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),l=(e,t)=>{const{title:r,primaryFill:n="currentColor",...i}=e,l={...i,title:void 0,fill:n},u=s(),c=(0,o.U)();return l.className=(0,a.z)(u.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==c?void 0:c.textDirection)&&u.rtl,l.className),r&&(l["aria-label"]=r),l["aria-label"]||l["aria-labelledby"]?l.role="img":l["aria-hidden"]=!0,l},u=(e,t,r,o)=>{const i="1em"===t?"20":t,a=n.forwardRef(((e,a)=>{const s={...l(e,{flipInRtl:null==o?void 0:o.flipInRtl}),ref:a,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return n.createElement("svg",s,...r.map((e=>n.createElement("path",{d:e,fill:s.fill}))))}));return a.displayName=e,a}},21728:(e,t,r)=>{"use strict";r.d(t,{n:()=>u}),r(10477);var n=r(2483),o=r(39850),i=r(27927),a=r(43839),s=r(87513),l=r(84632);const u=(e,t)=>{e=(0,n.c)(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=(0,l.Pv)();var u;const{size:c="medium",appearance:d=(null!==(u=r.inputDefaultAppearance)&&void 0!==u?u:"outline"),onChange:p}=e,[h,g]=(0,o.i)({state:e.value,defaultState:e.defaultValue,initialState:""}),m=(0,i.n)({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),f={size:c,appearance:d,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:a.Gk(e.input,{defaultProps:{type:"text",ref:t,...m.primary},elementType:"input"}),contentAfter:a.lq(e.contentAfter,{elementType:"span"}),contentBefore:a.lq(e.contentBefore,{elementType:"span"}),root:a.Gk(e.root,{defaultProps:m.root,elementType:"span"})};return f.input.value=h,f.input.onChange=(0,s.D)((e=>{const t=e.target.value;null==p||p(e,{value:t}),g(t)})),f}},39392:(e,t,r)=>{"use strict";r.d(t,{d:()=>h});var n=r(26734),o=r(69287),i=r(77675),a=r(26838);const s=(n.L.spacingHorizontalSNudge,n.L.spacingHorizontalMNudge,n.L.spacingHorizontalM,n.L.spacingHorizontalXXS,n.L.spacingHorizontalXXS,n.L.spacingHorizontalSNudge,n.L.spacingHorizontalS,n.L.spacingHorizontalM,n.L.spacingHorizontalM,n.L.spacingHorizontalSNudge,(0,o.y)("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]})),l=(0,i.X)({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),u=(0,o.y)("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),c=(0,i.X)({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),d=(0,o.y)("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),p=(0,i.X)({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),h=e=>{const{size:t,appearance:r}=e,n=e.input.disabled,o="true"==`${e.input["aria-invalid"]}`,i=r.startsWith("filled"),h=l(),g=c(),m=p();e.root.className=(0,a.z)("fui-Input",s(),h[t],e.contentBefore&&h[`${t}WithContentBefore`],e.contentAfter&&h[`${t}WithContentAfter`],h[r],!n&&"outline"===r&&h.outlineInteractive,!n&&"underline"===r&&h.underlineInteractive,!n&&i&&h.filledInteractive,i&&h.filled,!n&&o&&h.invalid,n&&h.disabled,e.root.className),e.input.className=(0,a.z)("fui-Input__input",u(),g[t],e.contentBefore&&g[`${t}WithContentBefore`],e.contentAfter&&g[`${t}WithContentAfter`],n&&g.disabled,e.input.className);const f=[d(),n&&m.disabled,m[t]];return e.contentBefore&&(e.contentBefore.className=(0,a.z)("fui-Input__contentBefore",...f,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=(0,a.z)("fui-Input__contentAfter",...f,e.contentAfter.className)),e}},24223:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c,FD:()=>d});var n=r(18642);function o(e){return Boolean(null==e?void 0:e.hasOwnProperty(n.on))}var i=r(10477);function a(e,t){return function(r,i,a,s,l){return o(i)?t(function(e,t){return{...t,[n.on]:e}}(r,i),null,a,s,l):o(r)?t(r,i,a,s,l):e(r,i,a,s,l)}}function s(e){const{as:t,[n.on]:r,[n.Y9]:o,...i}=e,a=i,s="string"==typeof r&&null!=t?t:r;return"string"!=typeof s&&t&&(a.as=t),{elementType:s,props:a,renderFunction:o}}r(87621);var l=r(63609);const u=r.t(l,2),c=a(u.jsx,((e,t,r)=>{const{elementType:n,renderFunction:o,props:a}=s(e),l={...a,...t};return o?u.jsx(i.Fragment,{children:o(n,l)},r):u.jsx(n,l,r)})),d=a(u.jsxs,((e,t,r)=>{const{elementType:n,renderFunction:o,props:a}=s(e),l={...a,...t};return o?u.jsx(i.Fragment,{children:o(n,{...l,children:u.jsxs(i.Fragment,{children:l.children},void 0)})},r):u.jsxs(n,l,r)}))},68541:(e,t,r)=>{"use strict";r.d(t,{J:()=>p});var n=r(10477),o=r(43839),i=r(94190),a=r(24223),s=r(29784),l=r(77675),u=r(26838);const c=(0,l.X)({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]});var d=r(60414);const p=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{disabled:r=!1,required:n=!1,weight:a="regular",size:s="medium"}=e;return{disabled:r,required:o.lq(!0===n?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:a,size:s,components:{root:"label",required:"span"},root:o.Gk((0,i.g)("label",{ref:t,...e}),{elementType:"label"})}})(e,t);return(e=>{const t=c();e.root.className=(0,u.z)("fui-Label",t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=(0,u.z)("fui-Label__required",t.required,e.disabled&&t.disabled,e.required.className))})(r),(0,d.$e)("useLabelStyles_unstable")(r),(e=>((0,s.C)(e),(0,a.FD)(e.root,{children:[e.root.children,e.required&&(0,a.Y)(e.required,{})]})))(r)}));p.displayName="Label"},11691:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(10477),o=r.t(n,2);function i(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}var a=r(94991),s=r(30834);const l=n.createContext(void 0);l.Provider;var u=r(53950),c=r(26838),d=r(79513);const p=(0,r(77675).X)({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),h=o.useInsertionEffect;var g=r(93931);const m=e=>{const t=(e=>{const{element:t,className:r}=(0,a.h)(e.mountNode),o=n.useRef(null),g=(e=>{const{targetDocument:t,dir:r}=(0,s.Y)(),o=n.useContext(l),i=(0,d.Y)(),a=p(),g=(0,u.q)(),m={dir:r,disabled:e.disabled,focusVisibleRef:i,className:(0,c.z)(g,a.root,e.className),targetNode:null!=o?o:null==t?void 0:t.body};return h?(e=>{const{className:t,dir:r,focusVisibleRef:o,targetNode:i}=e,[a]=n.useState((()=>{let e;return{get:function(t,r){return e||(r&&(e=t.ownerDocument.createElement("div"),t.appendChild(e)),e)},dispose:function(){e&&(e.remove(),e=void 0)}}})),s=n.useMemo((()=>void 0===i||e.disabled?null:new Proxy({},{get(e,t){if("remove"===t){const e=a.get(i,!1);return e&&0===e.childNodes.length?e.remove.bind(e):()=>{}}const r=a.get(i,!0),n=r[t];return"function"==typeof n?n.bind(r):n},set(e,t,r){const n=a.get(i,!0);return!!n&&(Object.assign(n,{[t]:r}),!0)}})),[a,i,e.disabled]);return n.useEffect((()=>()=>{null==s||s.remove()}),[s]),h((()=>{if(!s)return;const e=t.split(" ").filter(Boolean);return s.classList.add(...e),s.setAttribute("dir",r),s.setAttribute("data-portal-node","true"),o.current=s,()=>{s.classList.remove(...e),s.removeAttribute("dir")}}),[t,r,s,o]),s})(m):(e=>{const{className:t,dir:r,focusVisibleRef:o,targetNode:i}=e,a=n.useMemo((()=>{if(void 0===i||e.disabled)return null;const t=i.ownerDocument.createElement("div");return i.appendChild(t),t}),[i,e.disabled]);return n.useMemo((()=>{a&&(a.className=t,a.setAttribute("dir",r),a.setAttribute("data-portal-node","true"),o.current=a)}),[t,r,a,o]),n.useEffect((()=>()=>{null==a||a.remove()}),[a]),a})(m)})({disabled:!!t,className:r}),m=null!=t?t:g,f={children:e.children,mountNode:m,virtualParentRootRef:o};return n.useEffect((()=>{if(!m)return;const e=o.current,t=m.contains(e);return e&&!t?(i(m,e),()=>{i(m,void 0)}):void 0}),[m]),f})(e);return(e=>n.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&g.createPortal(e.children,e.mountNode)))(t)};m.displayName="Portal"},94991:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(70853);function o(e){return(0,n.s)(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}},19758:(e,t,r)=>{"use strict";r.d(t,{T:()=>$e});var n=r(20332),o=r(87513),i=r(53386),a=r(10477);const s="data-popper-is-intersecting",l="data-popper-escaped",u="data-popper-reference-hidden",c="data-popper-placement",d="fui-positioningend",p=["top","right","bottom","left"],h=Math.min,g=Math.max,m=Math.round,f=(Math.floor,e=>({x:e,y:e})),v={left:"right",right:"left",bottom:"top",top:"bottom"},b={start:"end",end:"start"};function y(e,t,r){return g(e,h(t,r))}function S(e,t){return"function"==typeof e?e(t):e}function C(e){return e.split("-")[0]}function T(e){return e.split("-")[1]}function k(e){return"x"===e?"y":"x"}function F(e){return"y"===e?"height":"width"}function E(e){return["top","bottom"].includes(C(e))?"y":"x"}function A(e){return k(E(e))}function I(e){return e.replace(/start|end/g,(e=>b[e]))}function x(e){return e.replace(/left|right|bottom|top/g,(e=>v[e]))}function w(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function P(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function R(e,t,r){let{reference:n,floating:o}=e;const i=E(t),a=A(t),s=F(a),l=C(t),u="y"===i,c=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[s]/2-o[s]/2;let h;switch(l){case"top":h={x:c,y:n.y-o.height};break;case"bottom":h={x:c,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-o.width,y:d};break;default:h={x:n.x,y:n.y}}switch(T(t)){case"start":h[a]-=p*(r&&u?-1:1);break;case"end":h[a]+=p*(r&&u?-1:1)}return h}async function D(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=S(t,e),g=w(h),m=s[p?"floating"===d?"reference":"floating":d],f=P(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),y=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},C=P(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(f.top-C.top+g.top)/y.y,bottom:(C.bottom-f.bottom+g.bottom)/y.y,left:(f.left-C.left+g.left)/y.x,right:(C.right-f.right+g.right)/y.x}}function _(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return p.some((t=>e[t]>=0))}function O(){return"undefined"!=typeof window}function M(e){return K(e)?(e.nodeName||"").toLowerCase():"#document"}function B(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function L(e){var t;return null==(t=(K(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function K(e){return!!O()&&(e instanceof Node||e instanceof B(e).Node)}function W(e){return!!O()&&(e instanceof Element||e instanceof B(e).Element)}function H(e){return!!O()&&(e instanceof HTMLElement||e instanceof B(e).HTMLElement)}function G(e){return!(!O()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof B(e).ShadowRoot)}function z(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function U(e){return["table","td","th"].includes(M(e))}function V(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function j(e){const t=q(),r=W(e)?Q(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function q(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $(e){return["html","body","#document"].includes(M(e))}function Q(e){return B(e).getComputedStyle(e)}function X(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Y(e){if("html"===M(e))return e;const t=e.assignedSlot||e.parentNode||G(e)&&e.host||L(e);return G(t)?t.host:t}function J(e){const t=Y(e);return $(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&z(t)?t:J(t)}function Z(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=J(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=B(o);if(i){const e=ee(a);return t.concat(a,a.visualViewport||[],z(o)?o:[],e&&r?Z(e):[])}return t.concat(o,Z(o,[],r))}function ee(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function te(e){const t=Q(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=H(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=m(r)!==i||m(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function re(e){return W(e)?e:e.contextElement}function ne(e){const t=re(e);if(!H(t))return f(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=te(t);let a=(i?m(r.width):r.width)/n,s=(i?m(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const oe=f(0);function ie(e){const t=B(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:oe}function ae(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=re(e);let a=f(1);t&&(n?W(n)&&(a=ne(n)):a=ne(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==B(e))&&t}(i,r,n)?ie(i):f(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,c=o.width/a.x,d=o.height/a.y;if(i){const e=B(i),t=n&&W(n)?B(n):n;let r=e,o=ee(r);for(;o&&n&&t!==r;){const e=ne(o),t=o.getBoundingClientRect(),n=Q(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,u*=e.y,c*=e.x,d*=e.y,l+=i,u+=a,r=B(o),o=ee(r)}}return P({width:c,height:d,x:l,y:u})}function se(e,t){const r=X(e).scrollLeft;return t?t.left+r:ae(L(e)).left+r}function le(e,t,r){void 0===r&&(r=!1);const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:se(e,n)),y:n.top+t.scrollTop}}function ue(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=B(e),n=L(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=q();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=L(e),r=X(e),n=e.ownerDocument.body,o=g(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=g(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+se(e);const s=-r.scrollTop;return"rtl"===Q(n).direction&&(a+=g(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}(L(e));else if(W(t))n=function(e,t){const r=ae(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=H(e)?ne(e):f(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=ie(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return P(n)}function ce(e,t){const r=Y(e);return!(r===t||!W(r)||$(r))&&("fixed"===Q(r).position||ce(r,t))}function de(e,t,r){const n=H(t),o=L(t),i="fixed"===r,a=ae(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=f(0);if(n||!n&&!i)if(("body"!==M(t)||z(o))&&(s=X(t)),n){const e=ae(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=se(o));const u=!o||n||i?f(0):le(o,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function pe(e){return"static"===Q(e).position}function he(e,t){if(!H(e)||"fixed"===Q(e).position)return null;if(t)return t(e);let r=e.offsetParent;return L(e)===r&&(r=r.ownerDocument.body),r}function ge(e,t){const r=B(e);if(V(e))return r;if(!H(e)){let t=Y(e);for(;t&&!$(t);){if(W(t)&&!pe(t))return t;t=Y(t)}return r}let n=he(e,t);for(;n&&U(n)&&pe(n);)n=he(n,t);return n&&$(n)&&pe(n)&&!j(n)?r:n||function(e){let t=Y(e);for(;H(t)&&!$(t);){if(j(t))return t;if(V(t))return null;t=Y(t)}return null}(e)||r}const me={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i="fixed"===o,a=L(n),s=!!t&&V(t.floating);if(n===a||s&&i)return r;let l={scrollLeft:0,scrollTop:0},u=f(1);const c=f(0),d=H(n);if((d||!d&&!i)&&(("body"!==M(n)||z(a))&&(l=X(n)),H(n))){const e=ae(n);u=ne(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}const p=!a||d||i?f(0):le(a,l,!0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:r.y*u.y-l.scrollTop*u.y+c.y+p.y}},getDocumentElement:L,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?V(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=Z(e,[],!1).filter((e=>W(e)&&"body"!==M(e))),o=null;const i="fixed"===Q(e).position;let a=i?Y(e):e;for(;W(a)&&!$(a);){const t=Q(a),r=j(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||z(a)&&!r&&ce(e,a))?n=n.filter((e=>e!==a)):o=t,a=Y(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=i[0],s=i.reduce(((e,r)=>{const n=ue(t,r,o);return e.top=g(n.top,e.top),e.right=h(n.right,e.right),e.bottom=h(n.bottom,e.bottom),e.left=g(n.left,e.left),e}),ue(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ge,getElementRects:async function(e){const t=this.getOffsetParent||ge,r=this.getDimensions,n=await r(e.floating);return{reference:de(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=te(e);return{width:t,height:r}},getScale:ne,isElement:W,isRTL:function(e){return"rtl"===Q(e).direction}},fe=D,ve=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=C(r),s=T(r),l="y"===E(r),u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=S(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof g&&(h="end"===s?-1*g:g),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},be=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=S(e,t),u={x:r,y:n},c=await D(t,l),d=E(C(o)),p=k(d);let h=u[p],g=u[d];if(i){const e="y"===p?"bottom":"right";h=y(h+c["y"===p?"top":"left"],h,h-c[e])}if(a){const e="y"===d?"bottom":"right";g=y(g+c["y"===d?"top":"left"],g,g-c[e])}const m=s.fn({...t,[p]:h,[d]:g});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[p]:i,[d]:a}}}}}},ye=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...f}=S(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const v=C(o),b=E(s),y=C(s)===s,k=await(null==l.isRTL?void 0:l.isRTL(u.floating)),w=p||(y||!m?[x(s)]:function(e){const t=x(e);return[I(e),t,I(t)]}(s)),P="none"!==g;!p&&P&&w.push(...function(e,t,r,n){const o=T(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}(C(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(I)))),i}(s,m,g,k));const R=[s,...w],_=await D(t,f),N=[];let O=(null==(n=i.flip)?void 0:n.overflows)||[];if(c&&N.push(_[v]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=T(e),o=A(e),i=F(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=x(a)),[a,x(a)]}(o,a,k);N.push(_[e[0]],_[e[1]])}if(O=[...O,{placement:o,overflows:N}],!N.every((e=>e<=0))){var M,B;const e=((null==(M=i.flip)?void 0:M.index)||0)+1,t=R[e];if(t)return{data:{index:e,overflows:O},reset:{placement:t}};let r=null==(B=O.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:B.placement;if(!r)switch(h){case"bestFit":{var L;const e=null==(L=O.filter((e=>{if(P){const t=E(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},Se=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:l=(()=>{}),...u}=S(e,t),c=await D(t,u),d=C(o),p=T(o),m="y"===E(o),{width:f,height:v}=i.floating;let b,y;"top"===d||"bottom"===d?(b=d,y=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(y=d,b="end"===p?"top":"bottom");const k=v-c.top-c.bottom,F=f-c.left-c.right,A=h(v-c[b],k),I=h(f-c[y],F),x=!t.middlewareData.shift;let w=A,P=I;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(P=F),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(w=k),x&&!p){const e=g(c.left,0),t=g(c.right,0),r=g(c.top,0),n=g(c.bottom,0);m?P=f-2*(0!==e||0!==t?e+t:g(c.left,c.right)):w=v-2*(0!==r||0!==n?r+n:g(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:w});const R=await a.getDimensions(s.floating);return f!==R.width||v!==R.height?{reset:{rects:!0}}:{}}}},Ce=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=S(e,t);switch(n){case"referenceHidden":{const e=_(await D(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{const e=_(await D(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}},Te=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=S(e,t)||{};if(null==u)return{};const d=w(c),p={x:r,y:n},g=A(o),m=F(g),f=await a.getDimensions(u),v="y"===g,b=v?"top":"left",C=v?"bottom":"right",k=v?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[g]-p[g]-i.floating[m],I=p[g]-i.reference[g],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let P=x?x[k]:0;P&&await(null==a.isElement?void 0:a.isElement(x))||(P=s.floating[k]||i.floating[m]);const R=E/2-I/2,D=P/2-f[m]/2-1,_=h(d[b],D),N=h(d[C],D),O=_,M=P-f[m]-N,B=P/2-f[m]/2+R,L=y(O,B,M),K=!l.arrow&&null!=T(o)&&B!==L&&i.reference[m]/2-(B<O?_:N)-f[m]/2<0,W=K?B<O?B-O:B-M:0;return{[g]:p[g]+W,data:{[g]:L,centerOffset:B-L-W,...K&&{alignmentOffset:W}},reset:K}}}),ke=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=S(e,t),c={x:r,y:n},d=E(o),p=k(d);let h=c[p],g=c[d];const m=S(s,t),f="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+f.mainAxis,r=i.reference[p]+i.reference[e]-f.mainAxis;h<t?h=t:h>r&&(h=r)}if(u){var v,b;const e="y"===p?"width":"height",t=["top","left"].includes(C(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:f.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(b=a.offset)?void 0:b[d])||0)-(t?f.crossAxis:0);g<r?g=r:g>n&&(g=n)}return{[p]:h,[d]:g}}}},Fe=(e,t,r)=>{const n=new Map,o={platform:me,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=R(u,n,l),p=n,h={},g=0;for(let r=0;r<s.length;r++){const{name:i,fn:m}=s[r],{x:f,y:v,data:b,reset:y}=await m({x:c,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=f?f:c,d=null!=v?v:d,h={...h,[i]:{...h[i],...b}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(u=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:c,y:d}=R(u,p,l))),r=-1)}return{x:c,y:d,placement:p,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};var Ee=r(70853);const Ae=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:n,overflowY:o}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+o+n)?t:Ae(t)},Ie=e=>{var t;const r=Ae(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)};function xe(e){const t=[];let r=e;for(;r;){const n=Ae(r);if(e.ownerDocument.body===n){t.push(n);break}if("BODY"===n.nodeName&&n!==e.ownerDocument.body)break;t.push(n),r=n}return t}function we(e){let t=!1;const{container:r,target:n,arrow:o,strategy:i,middleware:a,placement:p,useTransform:h=!0,disableUpdateOnResize:g=!1}=e,m=r.ownerDocument.defaultView;if(!n||!r||!m)return{updatePosition:()=>{},dispose:()=>{}};const f=g?null:function(e,t){return new e.ResizeObserver((e=>{e.every((e=>e.contentRect.width>0&&e.contentRect.height>0))&&y()}))}(m);let v=!0;const b=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const y=function(e){let g;return()=>(g||(g=new Promise((e=>{Promise.resolve().then((()=>{g=void 0,e(void(t||(v&&(xe(r).forEach((e=>b.add(e))),(0,Ee.s)(n)&&xe(n).forEach((e=>b.add(e))),b.forEach((e=>{e.addEventListener("scroll",y,{passive:!0})})),null==f||f.observe(r),(0,Ee.s)(n)&&(null==f||f.observe(n)),v=!1),Object.assign(r.style,{position:i}),Fe(n,r,{placement:p,middleware:a,strategy:i}).then((({x:e,y:n,middlewareData:a,placement:p})=>{t||(function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:n,y:o}=r.arrow;Object.assign(t.style,{left:null!=n?`${n}px`:"",top:null!=o?`${o}px`:""})}({arrow:o,middlewareData:a}),function(e){var t,r,n;const{container:o,placement:i,middlewareData:a,strategy:d,lowPPI:p,coordinates:h,useTransform:g=!0}=e;if(!o)return;o.setAttribute(c,i),o.removeAttribute(s),a.intersectionObserver.intersecting&&o.setAttribute(s,""),o.removeAttribute(l),(null===(t=a.hide)||void 0===t?void 0:t.escaped)&&o.setAttribute(l,""),o.removeAttribute(u),(null===(r=a.hide)||void 0===r?void 0:r.referenceHidden)&&o.setAttribute(u,"");const m=(null===(n=o.ownerDocument.defaultView)||void 0===n?void 0:n.devicePixelRatio)||1,f=Math.round(h.x*m)/m,v=Math.round(h.y*m)/m;Object.assign(o.style,{position:d}),g?Object.assign(o.style,{transform:p?`translate(${f}px, ${v}px)`:`translate3d(${f}px, ${v}px, 0)`}):Object.assign(o.style,{left:`${f}px`,top:`${v}px`})}({container:r,middlewareData:a,placement:p,coordinates:{x:e,y:n},lowPPI:((null==m?void 0:m.devicePixelRatio)||1)<=1,strategy:i,useTransform:h}),r.dispatchEvent(new CustomEvent(d)))})).catch((e=>{})))))}))}))),g)}();return m&&(m.addEventListener("scroll",y,{passive:!0}),m.addEventListener("resize",y)),y(),{updatePosition:y,dispose:()=>{t=!0,m&&(m.removeEventListener("scroll",y),m.removeEventListener("resize",y)),b.forEach((e=>{e.removeEventListener("scroll",y)})),b.clear(),null==f||f.disconnect()}}}var Pe=r(30834);function Re(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=Ae(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function De(e,t){if("number"==typeof e)return e;const{start:r,end:n,...o}=e,i=o,a=t?"end":"start",s=t?"start":"end";return e[a]&&(i.left=e[a]),e[s]&&(i.right=e[s]),i}const _e=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var n;if(null===(n=t.resetMaxSize)||void 0===n?void 0:n.maxSizeAlreadyReset)return{};const{applyMaxWidth:o,applyMaxHeight:i}=e;return o&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),i&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Ne(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:o,isRtl:i}=t;return Se({...o&&{padding:De(o,i)},...n&&{altBoundary:!0,boundary:Re(r,n)},apply({availableHeight:t,availableWidth:r,elements:n,rects:o}){const i=(e,t,r)=>{if(e&&(n.floating.style.setProperty("box-sizing","border-box"),n.floating.style.setProperty(`max-${t}`,`${r}px`),o.floating[t]>r)){n.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";n.floating.style.getPropertyValue(`overflow-${e}`)||n.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:a,applyMaxHeight:s}=e;i(a,"width",r),i(s,"height",t)}})}const Oe="--fui-match-target-size";function Me(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const Be=e=>{const{side:t,alignment:r}=Me(e),n={top:"above",bottom:"below",right:"after",left:"before"}[t],o=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(n)[r];return{position:n,alignment:o}};function Le(e){const t=(r=e)?"number"==typeof r||"object"==typeof r?r:({rects:{floating:e,reference:t},placement:n})=>{const{position:o,alignment:i}=Be(n);return r({positionedRect:e,targetRect:t,position:o,alignment:i})}:r;var r;return ve(t)}var Ke=r(15535);const We=(e,t,r)=>{const n=((e,t)=>{const r="above"===e||"below"===e,n="top"===t||"bottom"===t;return r&&n||!r&&!n})(t,e)?"center":e,o=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],i=n&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[n];return o&&i?`${o}-${i}`:o};function He(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:o=[],isRtl:i}=e,a=o.reduce(((e,t)=>{const{position:r,align:n}=(0,Ke.P)(t),o=We(n,r,i);return o&&e.push(o),e}),[]);return ye({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Re(n,r)},fallbackStrategy:"bestFit",...a.length&&{fallbackPlacements:a}})}function Ge(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:n,overflowBoundary:o,container:i,overflowBoundaryPadding:a,isRtl:s}=e;return be({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:ke({crossAxis:!0,mainAxis:!1})},...n&&{crossAxis:"all"===n,limiter:ke({crossAxis:"all"!==n,mainAxis:!1})},...a&&{padding:De(a,s)},...o&&{altBoundary:!0,boundary:Re(i,o)}})}const ze=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}},Ue=({options:e})=>e,Ve=a.createContext(void 0),je=(Ve.Provider,()=>{var e;return null!==(e=a.useContext(Ve))&&void 0!==e?e:Ue});function qe(e,t,r){const n=a.useRef(!0),[o]=a.useState((()=>({value:e,callback:t,facade:{get current(){return o.value},set current(e){const t=o.value;if(t!==e){if(o.value=e,r&&n.current)return;o.callback(e,t)}}}})));return(0,i.E)((()=>{n.current=!1}),[]),o.callback=t,o.facade}function $e(e){const t=a.useRef(null),r=a.useRef(null),s=a.useRef(null),l=a.useRef(null),u=a.useRef(null),{enabled:c=!0}=e,p=function(e){const{dir:t,targetDocument:r}=(0,Pe.Y)(),n="rtl"===t,o=function(e,t){const{align:r,arrowPadding:n,autoSize:o,coverTarget:i,disableUpdateOnResize:s,flipBoundary:l,offset:u,overflowBoundary:c,pinned:d,position:p,unstable_disableTether:h,strategy:g,overflowBoundaryPadding:m,fallbackPositions:f,useTransform:v,matchTargetSize:b,shiftToCoverTarget:y}=t;return a.useCallback(((t,a)=>e({container:t,arrow:a,options:{autoSize:o,disableUpdateOnResize:s,matchTargetSize:b,offset:u,strategy:g,coverTarget:i,flipBoundary:l,overflowBoundary:c,useTransform:v,overflowBoundaryPadding:m,pinned:d,arrowPadding:n,align:r,fallbackPositions:f,shiftToCoverTarget:y,position:p,unstable_disableTether:h}})),[o,s,b,u,g,i,l,c,v,m,d,n,r,f,y,p,h,e])}(je(),e),{positionFixed:i}=e;return a.useCallback(((e,t)=>{const r=Ie(e),a=o(e,t),{autoSize:s,disableUpdateOnResize:l,matchTargetSize:u,offset:c,coverTarget:d,flipBoundary:p,overflowBoundary:h,useTransform:g,overflowBoundaryPadding:m,pinned:f,position:v,arrowPadding:b,strategy:y,align:S,fallbackPositions:C,shiftToCoverTarget:T,unstable_disableTether:k}=a,F=ze(s),E=[F&&_e(F),u&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:o=!1}={}}}=e;if(t.width===r.width||o)return{};const{width:i}=t;return n.style.setProperty(Oe,`${i}px`),n.style.width||(n.style.width=`var(${Oe})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},c&&Le(c),d&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:o}=e,i={x:n,y:o};switch(Me(t).side){case"bottom":i.y-=r.reference.height;break;case"top":i.y+=r.reference.height;break;case"left":i.x+=r.reference.width;break;case"right":i.x-=r.reference.width}return i}},!f&&He({container:e,flipBoundary:p,hasScrollableElement:r,isRtl:n,fallbackPositions:C}),Ge({container:e,hasScrollableElement:r,overflowBoundary:h,disableTether:k,overflowBoundaryPadding:m,isRtl:n,shiftToCoverTarget:T}),F&&Ne(F,{container:e,overflowBoundary:h,overflowBoundaryPadding:m,isRtl:n}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await fe(e,{altBoundary:!0}),n=r.top<t.height&&r.top>0,o=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:n||o}}}},t&&Te({element:t,padding:b}),Ce({strategy:"referenceHidden"}),Ce({strategy:"escaped"}),!1].filter(Boolean);return{placement:We(S,v,n),middleware:E,strategy:(null!=y?y:i)?"fixed":"absolute",disableUpdateOnResize:l,useTransform:g}}),[o,n,r,i])}(e),h=a.useCallback((()=>{var e;t.current&&t.current.dispose(),t.current=null;const o=null!==(e=s.current)&&void 0!==e?e:r.current;c&&(0,n.S)()&&o&&l.current&&(t.current=we({container:l.current,target:o,arrow:u.current,...p(l.current,u.current)}))}),[c,p]),g=(0,o.D)((e=>{s.current=e,h()}));a.useImperativeHandle(e.positioningRef,(()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,g(t)}})),[e.target,g]),(0,i.E)((()=>{var t;g(null!==(t=e.target)&&void 0!==t?t:null)}),[e.target,g]),(0,i.E)((()=>{h()}),[h]);const m=qe(null,(e=>{r.current!==e&&(r.current=e,h())})),f=(0,o.D)((()=>{var t;return null===(t=e.onPositioningEnd)||void 0===t?void 0:t.call(e)}));return{targetRef:m,containerRef:qe(null,(e=>{var t;l.current!==e&&(null===(t=l.current)||void 0===t||t.removeEventListener(d,f),null==e||e.addEventListener(d,f),l.current=e,h())})),arrowRef:qe(null,(e=>{u.current!==e&&(u.current=e,h())}))}}},15535:(e,t,r)=>{"use strict";r.d(t,{P:()=>o});const n={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function o(e){return null==e?{}:"string"==typeof e?n[e]:e}},35070:(e,t,r)=>{"use strict";r.d(t,{q:()=>x});var n=r(10477),o=r.t(n,2),i=r(40193),a=r(18769),s=r(79513),l=r(30834),u=r(84632),c=r(60414),d=r(51284),p=r(43839),h=r(94190),g=r(82502),m=r(53386),f=r(6813),v=r(63012),b=r(38182),y=r(26838);const S="fui-FluentProvider",C=(0,b.X)({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),T=o.useInsertionEffect?o.useInsertionEffect:m.E,k={},F={},E=(e,t)=>{const r=(0,l.Y)(),o=n.useContext(d.D),i=(0,u.Pv)(),m=n.useContext(c.k7)||k,{applyStylesToPortals:b=!0,customStyleHooks_unstable:y,dir:C=r.dir,targetDocument:E=r.targetDocument,theme:I,overrides_unstable:x={}}=e,w=A(o,I),P=A(i,x),R=A(m,y),D=(0,a.J)();var _;const{styleTagId:N,rule:O}=(e=>{const{targetDocument:t,theme:r,rendererAttributes:o}=e,i=n.useRef(),a=(0,f.Bi)(S),s=o,l=n.useMemo((()=>(0,v.d)(`.${a}`,r)),[r,a]);return function(e,t){n.useState((()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)}))}(t,a),T((()=>{const e=null==t?void 0:t.getElementById(a);return e?i.current=e:(i.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach((e=>{r.setAttribute(e,t[e])})),e.head.appendChild(r),r})(t,{...s,id:a}),i.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(i.current,l)),()=>{var e;null===(e=i.current)||void 0===e||e.remove()}}),[a,t,l,s]),{styleTagId:a,rule:l}})({theme:w,targetDocument:E,rendererAttributes:null!==(_=D.styleElementAttributes)&&void 0!==_?_:F});return{applyStylesToPortals:b,customStyleHooks_unstable:R,dir:C,targetDocument:E,theme:w,overrides_unstable:P,themeClassName:N,components:{root:"div"},root:p.Gk((0,h.g)("div",{...e,dir:C,ref:(0,g.a)(t,(0,s.Y)({targetDocument:E}))}),{elementType:"div"}),serverStyleProps:{cssRule:O,attributes:{...D.styleElementAttributes,id:N}}}};function A(e,t){return e&&t?{...e,...t}:e||t}var I=r(30187);const x=n.forwardRef(((e,t)=>{const r=E(e,t);(e=>{const t=(0,a.J)(),r=C({dir:e.dir,renderer:t});e.root.className=(0,y.z)(S,e.themeClassName,r.root,e.root.className)})(r);const n=(0,I.r)(r);return(0,i.t)(r,n)}));x.displayName="FluentProvider"},63012:(e,t,r)=>{"use strict";function n(e,t){return t?`${e} { ${Object.keys(t).reduce(((e,r)=>`${e}--${r}: ${t[r]}; `),"")} }`:`${e} {}`}r.d(t,{d:()=>n})},40193:(e,t,r)=>{"use strict";r.d(t,{t:()=>g});var n=r(24223),o=r(29784),i=r(20332),a=r(87112),s=r(30834),l=r(51284),u=r(53950),c=r(60414),d=r(40996),p=r(84632),h=r(48782);const g=(e,t)=>((0,o.C)(e),(0,n.Y)(s.K,{value:t.provider,children:(0,n.Y)(l.N,{value:t.theme,children:(0,n.Y)(u.I,{value:t.themeClassName,children:(0,n.Y)(c.gH,{value:t.customStyleHooks_unstable,children:(0,n.Y)(d.J,{value:t.tooltip,children:(0,n.Y)(a.e,{dir:t.textDirection,children:(0,n.Y)(h.F,{value:t.iconDirection,children:(0,n.Y)(p.Nv,{value:t.overrides_unstable,children:(0,n.FD)(e.root,{children:[(0,i.S)()?null:(0,n.Y)("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))},30187:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(10477);function o(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:o,root:i,targetDocument:a,theme:s,themeClassName:l,overrides_unstable:u}=e,c=n.useMemo((()=>({dir:o,targetDocument:a})),[o,a]),[d]=n.useState((()=>({}))),p=n.useMemo((()=>({textDirection:o})),[o]);return{customStyleHooks_unstable:r,overrides_unstable:u,provider:c,textDirection:o,iconDirection:p,tooltip:d,theme:s,themeClassName:t?i.className:l}}},60414:(e,t,r)=>{"use strict";r.d(t,{$e:()=>s,gH:()=>a,k7:()=>o});var n=r(10477);const o=n.createContext(void 0),i=()=>{},a=o.Provider,s=e=>{var t,r;return null!==(r=null===(t=n.useContext(o))||void 0===t?void 0:t[e])&&void 0!==r?r:i}},84632:(e,t,r)=>{"use strict";r.d(t,{Nv:()=>i,Pv:()=>a});var n=r(10477);const o=n.createContext(void 0),i=o.Provider;function a(){var e;return null!==(e=n.useContext(o))&&void 0!==e?e:{}}},30834:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,Y:()=>s});var n=r(10477);const o=n.createContext(void 0),i={targetDocument:"object"==typeof document?document:void 0,dir:"ltr"},a=o.Provider;function s(){var e;return null!==(e=n.useContext(o))&&void 0!==e?e:i}},53950:(e,t,r)=>{"use strict";r.d(t,{I:()=>a,q:()=>s});var n=r(10477);const o=n.createContext(void 0),i="",a=o.Provider;function s(){var e;return null!==(e=n.useContext(o))&&void 0!==e?e:i}},51284:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,N:()=>o});const n=r(10477).createContext(void 0),o=n.Provider},40996:(e,t,r)=>{"use strict";r.d(t,{J:()=>a,n:()=>s});var n=r(10477);const o=n.createContext(void 0),i={},a=o.Provider;function s(){var e;return null!==(e=n.useContext(o))&&void 0!==e?e:i}},69946:(e,t,r)=>{"use strict";r.d(t,{A7:()=>n,BV:()=>o,KQ:()=>i});const n="data-fui-focus-visible",o="data-fui-focus-within",i={style:{},selector:"focus",customizeSelector:e=>e}},36632:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(69946);function o(e,{selector:t=n.KQ.selector,customizeSelector:r=n.KQ.customizeSelector}=n.KQ){return{[r(i(t))]:e}}function i(e){switch(e){case"focus":return`&[${n.A7}]`;case"focus-within":return`&[${n.BV}]:focus-within`}}},59274:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var n=r(57829),o=r(83853),i=r(10477);const a=(e={})=>{const{circular:t,axis:r,memorizeCurrent:a=!0,tabbable:l,ignoreDefaultKeydown:u,unstable_hasDefault:c}=e;return(0,o.p)(n.S),(e=>{(0,o.p)();const t=(0,n.U6)(e,!0);return i.useMemo((()=>({[n.h7]:t})),[t])})({mover:{cyclic:!!t,direction:s(null!=r?r:"vertical"),memorizeCurrent:a,tabbable:l,hasDefault:c},...u&&{focusable:{ignoreKeydown:u}}})};function s(e){switch(e){case"horizontal":return n.iA.Horizontal;case"grid":return n.iA.Grid;case"grid-linear":return n.iA.GridLinear;case"both":return n.iA.Both;default:return n.iA.Vertical}}},79513:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var n=r(10477),o=r(30834),i=r(70853),a=r(59266),s=r(69946);function l(e,t){if(u(e))return()=>{};const r={current:void 0},n=(0,a.SQ)(t);function o(e){n.isNavigatingWithKeyboard()&&(0,i.s)(e)&&(r.current=e,e.setAttribute(s.A7,""))}function l(){r.current&&(r.current.removeAttribute(s.A7),r.current=void 0)}n.subscribe((e=>{e?o(t.document.activeElement):l()}));const c=e=>{l(),o(e.composedPath()[0])},d=t=>{(!t.relatedTarget||(0,i.s)(t.relatedTarget)&&!e.contains(t.relatedTarget))&&l()};return e.addEventListener(a.Oy,c),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&o(t.document.activeElement),()=>{l(),e.removeEventListener(a.Oy,c),e.removeEventListener("focusout",d),delete e.focusVisible,(0,a.bd)(n)}}function u(e){return!!e&&(!!e.focusVisible||u(null==e?void 0:e.parentElement))}function c(e={}){const t=(0,o.Y)(),r=n.useRef(null);var i;const a=null!==(i=e.targetDocument)&&void 0!==i?i:t.targetDocument;return n.useEffect((()=>{if((null==a?void 0:a.defaultView)&&r.current)return l(r.current,a.defaultView)}),[r,a]),r}},79036:(e,t,r)=>{"use strict";r.d(t,{R:()=>u});var n=r(10477),o=r(30834),i=r(59266),a=r(69946);function s(e){e.removeAttribute(a.BV)}function l(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function u(){const{targetDocument:e}=(0,o.Y)(),t=n.useRef(null);return n.useEffect((()=>{if((null==e?void 0:e.defaultView)&&t.current)return function(e,t){const r=(0,i.SQ)(t);r.subscribe((t=>{t||s(e)}));const n=t=>{r.isNavigatingWithKeyboard()&&l(t.target)&&e.setAttribute(a.BV,"")},o=t=>{(!t.relatedTarget||l(t.relatedTarget)&&!e.contains(t.relatedTarget))&&s(e)};return e.addEventListener(i.Oy,n),e.addEventListener("focusout",o),()=>{e.removeEventListener(i.Oy,n),e.removeEventListener("focusout",o),(0,i.bd)(r)}}(t.current,e.defaultView)}),[t,e]),t}},48984:(e,t,r)=>{"use strict";r.d(t,{K:()=>a});var n=r(10477),o=r(59266),i=r(30834);function a(){const{targetDocument:e}=(0,i.Y)(),t=n.useRef(null);return n.useEffect((()=>{const r=null==e?void 0:e.defaultView;if(r){const e=(0,o.SQ)(r);return t.current=e,()=>{(0,o.bd)(e),t.current=null}}}),[e]),t}},83853:(e,t,r)=>{"use strict";r.d(t,{p:()=>u});var n=r(10477),o=r(57829),i=r(30834),a=r(28189),s=r(53386);const l=e=>e;function u(e=l){const{targetDocument:t}=(0,i.Y)(),r=n.useRef(null);return(0,s.E)((()=>{const n=function(e){const t=(null==e?void 0:e.defaultView)||void 0,r=null==t?void 0:t.__tabsterShadowDOMAPI;if(t)return(0,o._A)(t,{autoRoot:{},controlTab:!1,getParent:a.P,checkUncontrolledTrappingFocus:e=>{var t;return!!(null===(t=e.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r})}(t);if(n)return r.current=e(n),()=>{(0,o.hC)(n),r.current=null}}),[t,e]),r}},4228:(e,t,r)=>{"use strict";r.d(t,{m:()=>s}),r(10477);var n=r(99482),o=r(78372),i=r(60414),a=r(50539);const s=e=>{const t=(0,n.w)(e);return(0,a.k)(t),(0,i.$e)("useTooltipStyles_unstable")(t),(0,o.x)(t)};s.displayName="Tooltip",s.isFluentTriggerComponent=!0},78372:(e,t,r)=>{"use strict";r.d(t,{x:()=>s});var n=r(24223),o=r(10477),i=r(11691),a=r(29784);const s=e=>((0,a.C)(e),(0,n.FD)(o.Fragment,{children:[e.children,e.shouldRenderTooltip&&(0,n.Y)(i.Z,{mountNode:e.mountNode,children:(0,n.FD)(e.content,{children:[e.withArrow&&(0,n.Y)("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}))},99482:(e,t,r)=>{"use strict";r.d(t,{w:()=>k});var n=r(10477),o=r(15535);const i=(e,t)=>{return"number"==typeof e?{mainAxis:e+t}:{...e,mainAxis:(null!==(r=e.mainAxis)&&void 0!==r?r:0)+t};var r};var a=r(19758),s=r(40996),l=r(30834),u=r(48984),c=r(59266),d=r(40784),p=r(56662),h=r(39850),g=r(43839),m=r(6813),f=r(82502),v=r(53386),b=r(58352),y=r(72605),S=r(69023),C=r(87513),T=r(85152);const k=e=>{var t,r,k,F,E,A;const I=(0,s.n)(),x=(0,d.wR)(),{targetDocument:w}=(0,l.Y)(),[P,R]=(0,p.Z)(),{appearance:D="normal",children:_,content:N,withArrow:O=!1,positioning:M="above",onVisibleChange:B,relationship:L,showDelay:K=250,hideDelay:W=250,mountNode:H}=e,[G,z]=(0,h.i)({state:e.visible,initialState:!1}),U=n.useCallback(((e,t)=>{R(),z((r=>(t.visible!==r&&(null==B||B(e,t)),t.visible)))}),[R,z,B]),V={withArrow:O,positioning:M,showDelay:K,hideDelay:W,relationship:L,visible:G,shouldRenderTooltip:G,appearance:D,mountNode:H,components:{content:"div"},content:g.Gk(N,{defaultProps:{role:"tooltip"},elementType:"div"})};V.content.id=(0,m.Bi)("tooltip-",V.content.id);const j={enabled:V.visible,arrowPadding:8,position:"above",align:"center",offset:4,...(0,o.P)(V.positioning)};var q;V.withArrow&&(j.offset="number"==typeof(q=j.offset)||"object"==typeof q&&null!==q?i(q,6):"function"==typeof q?e=>{const t=q(e);return i(t,6)}:{mainAxis:6});const{targetRef:$,containerRef:Q,arrowRef:X}=(0,a.T)(j);V.content.ref=(0,f.a)(V.content.ref,Q),V.arrowRef=X,(0,v.E)((()=>{if(G){var e;const t={hide:e=>U(void 0,{visible:!1,documentKeyboardEvent:e})};null===(e=I.visibleTooltip)||void 0===e||e.hide(),I.visibleTooltip=t;const r=e=>{e.key!==T.uf9||e.defaultPrevented||(t.hide(e),e.preventDefault())};return null==w||w.addEventListener("keydown",r,{capture:!0}),()=>{I.visibleTooltip===t&&(I.visibleTooltip=void 0),null==w||w.removeEventListener("keydown",r,{capture:!0})}}}),[I,w,G,U]);const Y=n.useRef(!1),J=n.useCallback((e=>{if("focus"===e.type&&Y.current)return void(Y.current=!1);const t=I.visibleTooltip?0:V.showDelay;P((()=>{U(e,{visible:!0})}),t),e.persist()}),[P,U,V.showDelay,I]),Z=function(){const e=(0,u.K)();return n.useCallback((()=>{var t,r;return null!==(r=null===(t=e.current)||void 0===t?void 0:t.isNavigatingWithKeyboard())&&void 0!==r&&r}),[e])}(),[ee]=n.useState((()=>{const e=e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.isFocusedProgrammatically)&&!Z()&&(Y.current=!0)};let t=null;return r=>{null==t||t.removeEventListener(c.Oy,e),null==r||r.addEventListener(c.Oy,e),t=r}})),te=n.useCallback((e=>{let t=V.hideDelay;"blur"===e.type&&(t=0,Y.current=(null==w?void 0:w.activeElement)===e.target),P((()=>{U(e,{visible:!1})}),t),e.persist()}),[P,U,V.hideDelay,w]);V.content.onPointerEnter=(0,b.p)(V.content.onPointerEnter,R),V.content.onPointerLeave=(0,b.p)(V.content.onPointerLeave,te),V.content.onFocus=(0,b.p)(V.content.onFocus,R),V.content.onBlur=(0,b.p)(V.content.onBlur,te);const re=(0,y.h)(_),ne={},oe=!0===(null==re||null===(t=re.props)||void 0===t?void 0:t["aria-expanded"])||"true"===(null==re||null===(r=re.props)||void 0===r?void 0:r["aria-expanded"]);return"label"===L?"string"==typeof V.content.children?ne["aria-label"]=V.content.children:(ne["aria-labelledby"]=V.content.id,V.shouldRenderTooltip=!0):"description"===L&&(ne["aria-describedby"]=V.content.id,V.shouldRenderTooltip=!0),(x||oe)&&(V.shouldRenderTooltip=!1),V.children=(0,S.L)(_,{...ne,...null==re?void 0:re.props,ref:(0,f.a)(null==re?void 0:re.ref,ee,void 0===j.target?$:void 0),onPointerEnter:(0,C.D)((0,b.p)(null==re||null===(k=re.props)||void 0===k?void 0:k.onPointerEnter,J)),onPointerLeave:(0,C.D)((0,b.p)(null==re||null===(F=re.props)||void 0===F?void 0:F.onPointerLeave,te)),onFocus:(0,C.D)((0,b.p)(null==re||null===(E=re.props)||void 0===E?void 0:E.onFocus,J)),onBlur:(0,C.D)((0,b.p)(null==re||null===(A=re.props)||void 0===A?void 0:A.onBlur,te))}),V}},50539:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(77675),o=r(26838);const i=(0,n.X)({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),a=e=>{const t=i();return e.content.className=(0,o.z)("fui-Tooltip__content",t.root,"inverted"===e.appearance&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow,e}},29784:(e,t,r)=>{"use strict";function n(e){}r.d(t,{C:()=>n}),r(10477)},18642:(e,t,r)=>{"use strict";r.d(t,{Y9:()=>n,b9:()=>i,on:()=>o});const n=Symbol.for("fui.slotRenderFunction"),o=Symbol.for("fui.slotElementType"),i=Symbol.for("fui.slotClassNameProp")},94190:(e,t,r)=>{"use strict";r.d(t,{g:()=>o}),r(10477);var n=r(27927);const o=(e,t,r)=>{var o;return(0,n._)(null!==(o=t.as)&&void 0!==o?o:e,t,r)}},27712:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(10477);function o(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)&&!n.isValidElement(e)}},43839:(e,t,r)=>{"use strict";r.d(t,{Gf:()=>s,Gk:()=>i,lq:()=>a});var n=r(10477),o=r(18642);function i(e,t){const{defaultProps:r,elementType:n}=t,i=s(e),a={...r,...i,[o.on]:n,[o.b9]:null==i?void 0:i.className};return i&&"function"==typeof i.children&&(a[o.Y9]=i.children,a.children=null==r?void 0:r.children),a}function a(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return i(e,t)}function s(e){return"string"==typeof e||"number"==typeof e||Array.isArray(e)||n.isValidElement(e)?{children:e}:e}},39850:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(10477);const o=e=>{const[t,r]=n.useState((()=>void 0===e.defaultState?e.initialState:"function"==typeof e.defaultState?e.defaultState():e.defaultState)),o=n.useRef(e.state);n.useEffect((()=>{o.current=e.state}),[e.state]);const a=n.useCallback((e=>{(function(e){return"function"==typeof e})(e)&&e(o.current)}),[]);return i(e.state)?[e.state,a]:[t,r]},i=e=>{const[t]=n.useState((()=>void 0!==e));return t}},87513:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(10477),o=r(53386);const i=e=>{const t=n.useRef((()=>{throw new Error("Cannot call an event handler while rendering")}));return(0,o.E)((()=>{t.current=e}),[e]),n.useCallback(((...e)=>(0,t.current)(...e)),[t])}},29731:(e,t,r)=>{"use strict";r.d(t,{t:()=>o});var n=r(10477);function o(){const e=n.useRef(!0);return e.current?(e.current=!1,!0):e.current}},6813:(e,t,r)=>{"use strict";var n;r.d(t,{Bi:()=>s});var o=r(10477),i=r(40784);const a=o.createContext(void 0);function s(e="fui-",t){const s=(0,i.LM)(),l=o.useContext(a)||"",u=(n||(n=r.t(o,2))).useId;if(u){const r=u(),n=o.useMemo((()=>r.replace(/:/g,"")),[r]);return t||`${l}${e}${n}`}return o.useMemo((()=>t||`${l}${e}${++s.current}`),[l,e,t,s])}a.Provider},53386:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(10477);const o=(0,r(20332).S)()?n.useLayoutEffect:n.useEffect},82502:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var n=r(10477);function o(...e){const t=n.useCallback((r=>{t.current=r;for(const t of e)"function"==typeof t?t(r):t&&(t.current=r)}),[...e]);return t}},30238:(e,t,r)=>{"use strict";r.d(t,{W:()=>s});var n=r(10477),o=r(87513),i=r(30834);const a=(e,t)=>!!(null==e?void 0:e.contains(t)),s=e=>{const{targetDocument:t}=(0,i.Y)(),r=null==t?void 0:t.defaultView,{refs:s,callback:u,element:d,disabled:p,disabledFocusOnIframe:h,contains:g=a}=e,m=n.useRef(void 0);c({element:d,disabled:h||p,callback:u,refs:s,contains:g});const f=n.useRef(!1),v=(0,o.D)((e=>{if(f.current)return void(f.current=!1);const t=e.composedPath()[0];s.every((e=>!g(e.current||null,t)))&&!p&&u(e)})),b=(0,o.D)((e=>{f.current=s.some((t=>g(t.current||null,e.target)))}));n.useEffect((()=>{if(p)return;let e=l(r);const t=t=>{t!==e?v(t):e=void 0};return null==d||d.addEventListener("click",t,!0),null==d||d.addEventListener("touchstart",t,!0),null==d||d.addEventListener("contextmenu",t,!0),null==d||d.addEventListener("mousedown",b,!0),m.current=null==r?void 0:r.setTimeout((()=>{e=void 0}),1),()=>{null==d||d.removeEventListener("click",t,!0),null==d||d.removeEventListener("touchstart",t,!0),null==d||d.removeEventListener("contextmenu",t,!0),null==d||d.removeEventListener("mousedown",b,!0),null==r||r.clearTimeout(m.current),e=void 0}}),[v,d,p,b,r])},l=e=>{var t,r,n;if(e)return"object"==typeof e.window&&e.window===e?e.event:null!==(n=null===(r=e.ownerDocument)||void 0===r||null===(t=r.defaultView)||void 0===t?void 0:t.event)&&void 0!==n?n:void 0},u="fuiframefocus",c=e=>{const{disabled:t,element:r,callback:i,contains:s=a,pollDuration:l=1e3,refs:c}=e,d=n.useRef(),p=(0,o.D)((e=>{c.every((t=>!s(t.current||null,e.target)))&&!t&&i(e)}));n.useEffect((()=>{if(!t)return null==r||r.addEventListener(u,p,!0),()=>{null==r||r.removeEventListener(u,p,!0)}}),[r,t,p]),n.useEffect((()=>{var e;if(!t)return d.current=null==r||null===(e=r.defaultView)||void 0===e?void 0:e.setInterval((()=>{const e=null==r?void 0:r.activeElement;if("IFRAME"===(null==e?void 0:e.tagName)||"WEBVIEW"===(null==e?void 0:e.tagName)){const t=new CustomEvent(u,{bubbles:!0});e.dispatchEvent(t)}}),l),()=>{var e;null==r||null===(e=r.defaultView)||void 0===e||e.clearTimeout(d.current)}}),[r,t,l])}},56662:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(10477),o=r(30834);const i=e=>-1,a=e=>{};function s(){const{targetDocument:e}=(0,o.Y)(),t=null==e?void 0:e.defaultView;return function(e,t){const r=n.useRef(void 0),o=n.useCallback(((n,o)=>(void 0!==r.current&&t(r.current),r.current=e(n,o),r.current)),[t,e]),i=n.useCallback((()=>{void 0!==r.current&&(t(r.current),r.current=void 0)}),[t]);return n.useEffect((()=>i),[i]),[o,i]}(t?t.setTimeout:i,t?t.clearTimeout:a)}},40784:(e,t,r)=>{"use strict";r.d(t,{LM:()=>s,wR:()=>l});var n=r(10477),o=r(20332);const i={current:0},a=n.createContext(void 0);function s(){var e;return null!==(e=n.useContext(a))&&void 0!==e?e:i}function l(){const e=s()!==i,[t,r]=n.useState(e);return(0,o.S)()&&e&&n.useLayoutEffect((()=>{r(!1)}),[]),t}},20332:(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}r.d(t,{S:()=>n})},69023:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(10477),o=r(8153);function i(e,t){return"function"==typeof e?e(t):e?a(e,t):e||null}function a(e,t){if(!n.isValidElement(e)||e.type===n.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if((0,o.Z)(e)){const r=a(e.props.children,t);return n.cloneElement(e,void 0,r)}return n.cloneElement(e,t)}},72605:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var n=r(10477),o=r(8153);function i(e){return n.isValidElement(e)?(0,o.Z)(e)?i(e.props.children):e:null}},8153:(e,t,r)=>{"use strict";function n(e){return Boolean(e.type.isFluentTriggerComponent)}r.d(t,{Z:()=>n}),r(10477)},27927:(e,t,r)=>{"use strict";r.d(t,{_:()=>v,n:()=>b}),r(10477);const n=(...e)=>{const t={};for(const r of e){const e=Array.isArray(r)?r:Object.keys(r);for(const r of e)t[r]=1}return t},o=n(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),i=n(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=n(["itemID","itemProp","itemRef","itemScope","itemType"]),s=n(i,o,a),l=n(s,["form"]),u=n(s,["height","loop","muted","preload","src","width"]),c=n(u,["poster"]),d=n(s,["start"]),p=n(s,["value"]),h=n(s,["download","href","hrefLang","media","rel","target","type"]),g=n(s,["dateTime"]),m=n(s,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),f={label:l,audio:u,video:c,ol:d,li:p,a:h,button:m,input:n(m,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),textarea:n(m,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:n(m,["form","multiple","required"]),option:n(s,["selected","value"]),table:n(s,["cellPadding","cellSpacing"]),tr:s,th:n(s,["colSpan","rowSpan","scope"]),td:n(s,["colSpan","headers","rowSpan","scope"]),colGroup:n(s,["span"]),col:n(s,["span"]),fieldset:n(s,["disabled","form"]),form:n(s,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:n(s,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:n(s,["alt","crossOrigin","height","src","srcSet","useMap","width"]),time:g,dialog:n(s,["open","onCancel","onClose"])};function v(e,t,r){const n=e&&f[e]||s;return n.as=1,function(e,t,r){const n=Array.isArray(t),o={},i=Object.keys(e);for(const a of i)!(!n&&t[a]||n&&t.indexOf(a)>=0||0===a.indexOf("data-")||0===a.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(a))||(o[a]=e[a]);return o}(t,n,r)}const b=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:v(e,t,[...r||[],"style","className"])})},70853:(e,t,r)=>{"use strict";function n(e,t){var r;const n=e;var o;return Boolean((null==n||null===(r=n.ownerDocument)||void 0===r?void 0:r.defaultView)&&n instanceof n.ownerDocument.defaultView[null!==(o=null==t?void 0:t.constructorName)&&void 0!==o?o:"HTMLElement"])}r.d(t,{s:()=>n})},58352:(e,t,r)=>{"use strict";function n(e,t){return(...r)=>{null==e||e(...r),null==t||t(...r)}}r.d(t,{p:()=>n})},28189:(e,t,r)=>{"use strict";function n(e,t={}){if(!e)return null;if(!t.skipVirtual){const t=function(e){return(t=e)&&t._virtual&&e._virtual.parent||null;var t}(e);if(t)return t}const r=e.parentNode;return r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}r.d(t,{P:()=>n})},18660:(e,t,r)=>{"use strict";r.d(t,{IF:()=>s,ZY:()=>a,_0:()=>o,ox:()=>i});var n=r(10477),o=n.createContext({window:"object"==typeof window?window:void 0}),i=function(){return n.useContext(o).window},a=function(){var e;return null===(e=n.useContext(o).window)||void 0===e?void 0:e.document},s=function(e){return n.createElement(o.Provider,{value:e},e.children)}},82148:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var n={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},38068:(e,t,r)=>{"use strict";r.d(t,{r:()=>u});var n=r(54029),o=r(10477),i=r(10138),a=r(64608),s=r(60204),l=r(21782),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,r=e.theme;return o.createElement(i.S,(0,n.Cl)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:(0,l.$)(r,t),onRenderDescription:a.K}))},(0,n.Cg)([(0,s.T)("ActionButton",["theme","styles"],!0)],t)}(o.Component)},21782:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var n=r(39398),o=r(90044),i=r(44682),a=(0,o.J9)((function(e,t){var r,o,a,s=(0,i.$)(e),l={root:(r={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},r[n.up]={borderColor:"Window"},r),rootHovered:(o={color:e.palette.themePrimary},o[n.up]={color:"Highlight"},o),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(a={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},a[n.up]={color:"GrayText"},a),rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return(0,n.TW)(s,l,t)}))},75856:(e,t,r)=>{"use strict";r.d(t,{_:()=>i,o:()=>a});var n=r(90044),o=r(39398),i={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},a=(0,n.J9)((function(e,t,r,n,a,s,l,u,c,d,p){var h,g,m=(0,o.Km)(i,e||{}),f=d&&!p;return(0,o.l8)(t.__shadowConfig__,{root:[m.msButton,t.root,n,c&&["is-checked",t.rootChecked],f&&["is-expanded",t.rootExpanded,(h={},h[":hover .".concat(m.msButtonIcon)]=t.iconExpandedHovered,h[":hover .".concat(m.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,h[":hover"]=t.rootExpandedHovered,h)],u&&[i.msButtonHasMenu,t.rootHasMenu],l&&["is-disabled",t.rootDisabled],!l&&!f&&!c&&(g={":hover":t.rootHovered},g[":hover .".concat(m.msButtonLabel)]=t.labelHovered,g[":hover .".concat(m.msButtonIcon)]=t.iconHovered,g[":hover .".concat(m.msButtonDescription)]=t.descriptionHovered,g[":hover .".concat(m.msButtonMenuIcon)]=t.menuIconHovered,g[":focus"]=t.rootFocused,g[":active"]=t.rootPressed,g[":active .".concat(m.msButtonIcon)]=t.iconPressed,g[":active .".concat(m.msButtonDescription)]=t.descriptionPressed,g[":active .".concat(m.msButtonMenuIcon)]=t.menuIconPressed,g),l&&c&&[t.rootCheckedDisabled],!l&&c&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},r],flexContainer:[m.msButtonFlexContainer,t.flexContainer],textContainer:[m.msButtonTextContainer,t.textContainer],icon:[m.msButtonIcon,a,t.icon,f&&t.iconExpanded,c&&t.iconChecked,l&&t.iconDisabled],label:[m.msButtonLabel,t.label,c&&t.labelChecked,l&&t.labelDisabled],menuIcon:[m.msButtonMenuIcon,s,t.menuIcon,c&&t.menuIconChecked,l&&!p&&t.menuIconDisabled,!l&&!f&&!c&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},f&&["is-expanded",t.menuIconExpanded]],description:[m.msButtonDescription,t.description,c&&t.descriptionChecked,l&&t.descriptionDisabled],screenReaderText:[m.msButtonScreenReaderText,t.screenReaderText]})}))},10138:(e,t,r)=>{"use strict";r.d(t,{S:()=>N});var n=r(54029),o=r(10477),i=r(11021),a=r(90044),s=r(24011),l=r(8372),u=r(72341),c=r(37442),d=r(69250),p=r(31976),h=r(24077),g=r(15017),m=r(96746),f=r(40409),v=r(82015),b=r(29305),y=r(64608),S=r(70361),C=r(56419),T=r(37241),k=r(49598),F=r(82313),E=r(63311),A=function(e){var t=e.className,r=e.imageProps,i=(0,v.G1)(e,v.vt,["aria-label","aria-labelledby","title","aria-describedby"]),a=r.alt||e["aria-label"],l=a||e["aria-labelledby"]||e.title||r["aria-label"]||r["aria-labelledby"]||r.title,u={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},c=l?{}:{"aria-hidden":!0};return o.createElement("div",(0,n.Cl)({},c,i,{className:(0,s.A)(E.xD,E.xW.root,E.xW.image,t)}),o.createElement(F._,(0,n.Cl)({},u,r,{alt:l?a:""})))},I=r(82148),x=r(28894),w=r(75856),P=r(61826),R=r(26277),D=r(13025),_="BaseButton",N=function(e){function t(t){var r=e.call(this,t)||this;return r._buttonElement=o.createRef(),r._splitButtonContainer=o.createRef(),r._mergedRef=(0,i.K)(),r._renderedVisibleMenu=!1,r._getMemoizedMenuButtonKeytipProps=(0,a.J9)((function(e){return(0,n.Cl)((0,n.Cl)({},e),{hasMenu:!0})})),r._onRenderIcon=function(e,t){var i=r.props.iconProps;if(i&&(void 0!==i.iconName||i.imageProps)){var a=i.className,l=i.imageProps,u=(0,n.Tt)(i,["className","imageProps"]);if(i.styles)return o.createElement(T.I,(0,n.Cl)({className:(0,s.A)(r._classNames.icon,a),imageProps:l},u));if(i.iconName)return o.createElement(k.l8,(0,n.Cl)({className:(0,s.A)(r._classNames.icon,a)},u));if(l)return o.createElement(A,(0,n.Cl)({className:(0,s.A)(r._classNames.icon,a),imageProps:l},u))}return null},r._onRenderTextContents=function(){var e=r.props,t=e.text,n=e.children,i=e.secondaryText,a=void 0===i?r.props.description:i,s=e.onRenderText,l=void 0===s?r._onRenderText:s,u=e.onRenderDescription,c=void 0===u?r._onRenderDescription:u;return t||"string"==typeof n||a?o.createElement("span",{className:r._classNames.textContainer},l(r.props,r._onRenderText),c(r.props,r._onRenderDescription)):[l(r.props,r._onRenderText),c(r.props,r._onRenderDescription)]},r._onRenderText=function(){var e=r.props.text,t=r.props.children;return void 0===e&&"string"==typeof t&&(e=t),r._hasText()?o.createElement("span",{key:r._labelId,className:r._classNames.label,id:r._labelId},e):null},r._onRenderChildren=function(){var e=r.props.children;return"string"==typeof e?null:e},r._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?r.props.description:t;return n?o.createElement("span",{key:r._descriptionId,className:r._classNames.description,id:r._descriptionId},n):null},r._onRenderAriaDescription=function(){var e=r.props.ariaDescription;return e?o.createElement("span",{className:r._classNames.screenReaderText,id:r._ariaDescriptionId},e):null},r._onRenderMenuIcon=function(e){var t=r.props.menuIconProps;return o.createElement(k.l8,(0,n.Cl)({iconName:"ChevronDown"},t,{className:r._classNames.menuIcon}))},r._onRenderMenu=function(e){var t=r.props.menuAs?(0,D.C)(r.props.menuAs,x.l):x.l;return o.createElement(t,(0,n.Cl)({},e))},r._onDismissMenu=function(e){var t=r.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||r._dismissMenu()},r._dismissMenu=function(){r._menuShouldFocusOnMount=void 0,r._menuShouldFocusOnContainer=void 0,r.setState({menuHidden:!0})},r._openMenu=function(e,t){void 0===t&&(t=!0),r.props.menuProps&&(r._menuShouldFocusOnContainer=e,r._menuShouldFocusOnMount=t,r._renderedVisibleMenu=!0,r.setState({menuHidden:!1}))},r._onToggleMenu=function(e){var t=!0;r.props.menuProps&&!1===r.props.menuProps.shouldFocusOnMount&&(t=!1),r.state.menuHidden?r._openMenu(e,t):r._dismissMenu()},r._onSplitContainerFocusCapture=function(e){var t=r._splitButtonContainer.current;!t||e.target&&(0,l.s)(e.target,t)||t.focus()},r._onSplitButtonPrimaryClick=function(e){r.state.menuHidden||r._dismissMenu();var t=r._processingTouch&&!r.props.toggle;!t&&r.props.onClick?r.props.onClick(e):t&&r._onMenuClick(e)},r._onKeyDown=function(e){!r.props.disabled||e.which!==u.c.enter&&e.which!==u.c.space?r.props.disabled||(r.props.menuProps?r._onMenuKeyDown(e):void 0!==r.props.onKeyDown&&r.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},r._onKeyUp=function(e){r.props.disabled||void 0===r.props.onKeyUp||r.props.onKeyUp(e)},r._onKeyPress=function(e){r.props.disabled||void 0===r.props.onKeyPress||r.props.onKeyPress(e)},r._onMouseUp=function(e){r.props.disabled||void 0===r.props.onMouseUp||r.props.onMouseUp(e)},r._onMouseDown=function(e){r.props.disabled||void 0===r.props.onMouseDown||r.props.onMouseDown(e)},r._onClick=function(e){r.props.disabled||(r.props.menuProps?r._onMenuClick(e):void 0!==r.props.onClick&&r.props.onClick(e))},r._onSplitButtonContainerKeyDown=function(e){e.which===u.c.enter||e.which===u.c.space?r._buttonElement.current&&(r._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):r._onMenuKeyDown(e)},r._onMenuKeyDown=function(e){var t;if(!r.props.disabled){r.props.onKeyDown&&r.props.onKeyDown(e);var n=e.which===u.c.up,o=e.which===u.c.down;if(!e.defaultPrevented&&r._isValidMenuOpenKey(e)){var i=r.props.onMenuClick;i&&i(e,r.props),r._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.which!==u.c.enter&&e.which!==u.c.space||(0,c.Fy)(!0,e.target,null===(t=r.context)||void 0===t?void 0:t.registeredProviders),e.altKey||e.metaKey||!n&&!o||!r.state.menuHidden&&r.props.menuProps&&((void 0!==r._menuShouldFocusOnMount?r._menuShouldFocusOnMount:r.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),r._menuShouldFocusOnMount=!0,r.forceUpdate()))}},r._onTouchStart=function(){r._isSplitButton&&r._splitButtonContainer.current&&!("onpointerdown"in r._splitButtonContainer.current)&&r._handleTouchAndPointerEvent()},r._onMenuClick=function(e){var t=r.props,n=t.onMenuClick,o=t.menuProps;n&&n(e,r.props);var i="boolean"==typeof(null==o?void 0:o.shouldFocusOnContainer)?o.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(r._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},(0,d.f)(r),r._async=new p.j(r),r._events=new h.g(r),(0,g.J)(_,t,["menuProps","onClick"],"split",r.props.split),(0,m.A)(_,t,{rootProps:void 0,description:"secondaryText",toggled:"checked"}),r._labelId=(0,f.O)(),r._descriptionId=(0,f.O)(),r._ariaDescriptionId=(0,f.O)(),r.state={menuHidden:!0},r}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,r=t.ariaDescription,n=t.ariaLabel,o=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,u=t.secondaryText,c=void 0===u?this.props.description:u,d=t.href,p=t.iconProps,h=t.menuIconProps,g=t.styles,m=t.checked,f=t.variantClassName,S=t.theme,C=t.toggle,T=t.getClassNames,k=t.role,F=this.state.menuHidden,E=a||l;this._classNames=T?T(S,i,f,p&&p.className,h&&h.className,E,m,!F,!!this.props.menuProps,this.props.split,!!s):(0,w.o)(S,g,i,f,p&&p.className,h&&h.className,E,!!this.props.menuProps,m,!F,this.props.split);var A=this,I=A._ariaDescriptionId,x=A._labelId,P=A._descriptionId,R=!E&&!!d,D=R?"a":"button",_=(0,v.G1)((0,b.kp)(R?{}:{type:"button"},this.props.rootProps,this.props),R?v.t0:v.uw,["disabled"]),N=n||_["aria-label"],O=void 0;r?O=I:c&&this.props.onRenderDescription!==y.K?O=P:_["aria-describedby"]&&(O=_["aria-describedby"]);var M=void 0;_["aria-labelledby"]?M=_["aria-labelledby"]:O&&!N&&(M=this._hasText()?x:void 0);var B=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),L="menuitemcheckbox"===k||"checkbox"===k,K=L||!0===C?!!m:void 0,W=(0,b.kp)(_,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:E&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":N,"aria-labelledby":M,"aria-describedby":O,"aria-disabled":E,"data-is-focusable":B})[L?"aria-checked":"aria-pressed"]=K,e));if(o&&(W["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(D,W);if(this.props.menuProps){var H=this.props.menuProps.id,G=void 0===H?"".concat(this._labelId,"-menu"):H;(0,b.kp)(W,{"aria-expanded":!F,"aria-controls":F?null:G,"aria-haspopup":!0})}return this._onRenderContent(D,W)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?((0,c.Fy)(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&((0,c.Fy)(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var r=this,i=this.props,a=e,s=i.menuIconProps,l=i.menuProps,u=i.onRenderIcon,c=void 0===u?this._onRenderIcon:u,d=i.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,h=i.onRenderChildren,g=void 0===h?this._onRenderChildren:h,m=i.onRenderMenu,f=void 0===m?this._onRenderMenu:m,v=i.onRenderMenuIcon,b=void 0===v?this._onRenderMenuIcon:v,y=i.disabled,C=i.keytipProps;C&&l&&(C=this._getMemoizedMenuButtonKeytipProps(C));var T=function(e){return o.createElement(a,(0,n.Cl)({},t,e),o.createElement("span",{className:r._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},c(i,r._onRenderIcon),r._onRenderTextContents(),p(i,r._onRenderAriaDescription),g(i,r._onRenderChildren),!r._isSplitButton&&(l||s||r.props.onRenderMenuIcon)&&b(r.props,r._onRenderMenuIcon),l&&!l.doNotLayer&&r._shouldRenderMenu()&&f(r._getMenuProps(l),r._onRenderMenu)))},k=C?o.createElement(R.x,{keytipProps:this._isSplitButton?void 0:C,ariaDescribedBy:t["aria-describedby"],disabled:y},(function(e){return T(e)})):T();return l&&l.doNotLayer?o.createElement(o.Fragment,null,k,this._shouldRenderMenu()&&f(this._getMenuProps(l),this._onRenderMenu)):o.createElement(o.Fragment,null,k,o.createElement(S.MO,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,r=t.persistMenu,n=t.renderPersistedMenuHiddenOnMount;return!e||!(!r||!this._renderedVisibleMenu&&!n)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,r=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=(0,n.Cl)((0,n.Cl)({},e),{labelElementId:this._labelId})),(0,n.Cl)((0,n.Cl)({id:this._labelId+"-menu",directionalHint:I.A.bottomLeftEdge},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?r:void 0,className:(0,s.A)("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var r=this,i=this.props,a=i.styles,s=void 0===a?{}:a,l=i.disabled,u=i.allowDisabledFocus,c=i.checked,d=i.getSplitButtonClassNames,p=i.primaryDisabled,h=i.menuProps,g=i.toggle,m=i.role,f=i.primaryActionButtonProps,y=this.props.keytipProps,S=this.state.menuHidden,T=d?d(!!l,!S,!!c,!!u):s&&(0,P.t)(s,!!l,!S,!!c,!!p);(0,b.kp)(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),y&&h&&(y=this._getMemoizedMenuButtonKeytipProps(y));var k=(0,v.G1)(t,[],["disabled"]);f&&(0,b.kp)(t,f);var F=function(i){return o.createElement("div",(0,n.Cl)({},k,{"data-ktp-target":i?i["data-ktp-target"]:void 0,role:m||"button","aria-disabled":l,"aria-haspopup":!0,"aria-expanded":!S,"aria-pressed":g?!!c:void 0,"aria-describedby":(0,C._)(t["aria-describedby"],i?i["aria-describedby"]:void 0),className:T&&T.splitButtonContainer,onKeyDown:r._onSplitButtonContainerKeyDown,onTouchStart:r._onTouchStart,ref:r._splitButtonContainer,"data-is-focusable":!0,onClick:l||p?void 0:r._onSplitButtonPrimaryClick,tabIndex:!l&&!p||u?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:r._onSplitContainerFocusCapture}),o.createElement("span",{style:{display:"flex",width:"100%"}},r._onRenderContent(e,t),r._onRenderSplitButtonMenuButton(T,i),r._onRenderSplitButtonDivider(T)))};return y?o.createElement(R.x,{keytipProps:y,disabled:l},(function(e){return F(e)})):F()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?o.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,r){var i=this.props,a=i.allowDisabledFocus,s=i.checked,l=i.disabled,u=i.splitButtonMenuProps,c=i.splitButtonAriaLabel,d=i.primaryDisabled,p=this.state.menuHidden,h=this.props.menuIconProps;void 0===h&&(h={iconName:"ChevronDown"});var g=(0,n.Cl)((0,n.Cl)({},u),{styles:e,checked:s,disabled:l,allowDisabledFocus:a,onClick:this._onMenuClick,menuProps:void 0,iconProps:(0,n.Cl)((0,n.Cl)({},h),{className:this._classNames.menuIcon}),ariaLabel:c,"aria-haspopup":!0,"aria-expanded":!p,"data-is-focusable":!1});return o.createElement(t,(0,n.Cl)({},g,{"data-ktp-execute-target":r?r["data-ktp-execute-target"]:r,onMouseDown:this._onMouseDown,tabIndex:d&&!a?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&e.which===u.c.down&&(e.altKey||e.metaKey)},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=S.dM,t}(o.Component)},44682:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var n=r(90044),o=r(39398),i={outline:0},a=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},s=(0,n.J9)((function(e){var t,r,n=e.semanticColors,s=e.effects,l=e.fonts,u=n.buttonBorder,c=n.disabledBackground,d=n.disabledText,p={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[(0,o.gm)(e,{inset:1,highContrastStyle:p,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+u,borderRadius:s.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[(0,o.gm)(e,{inset:1,highContrastStyle:p,borderColor:"transparent"}),{backgroundColor:c,borderColor:c,color:d,cursor:"default",":hover":i,":focus":i}],iconDisabled:(t={color:d},t[o.up]={color:"GrayText"},t),menuIconDisabled:(r={color:d},r[o.up]={color:"GrayText"},r),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:a(l.mediumPlus.fontSize),menuIcon:a(l.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:o.dX}}))},93662:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var n=r(38068).r},30840:(e,t,r)=>{"use strict";r.d(t,{Y:()=>g});var n=r(54029),o=r(10477),i=r(10138),a=r(64608),s=r(60204),l=r(39398),u=r(90044),c=r(44682),d=r(66608),p=r(37442),h=(0,u.J9)((function(e,t,r){var o=(0,c.$)(e),i=(0,d.$)(e),a={root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:l.BO.semibold}};return(0,l.TW)(o,a,r?function(e){var t,r,o,i,a,s,u,c,d,h=e.palette,g=e.semanticColors;return{root:(t={backgroundColor:g.primaryButtonBackground,border:"1px solid ".concat(g.primaryButtonBackground),color:g.primaryButtonText},t[l.up]=(0,n.Cl)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},(0,l.Qg)()),t[".".concat(p.Y2," &:focus, :host(.").concat(p.Y2,") &:focus")]={":after":{border:"none",outlineColor:h.white}},t),rootHovered:(r={backgroundColor:g.primaryButtonBackgroundHovered,border:"1px solid ".concat(g.primaryButtonBackgroundHovered),color:g.primaryButtonTextHovered},r[l.up]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},r),rootPressed:(o={backgroundColor:g.primaryButtonBackgroundPressed,border:"1px solid ".concat(g.primaryButtonBackgroundPressed),color:g.primaryButtonTextPressed},o[l.up]=(0,n.Cl)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},(0,l.Qg)()),o),rootExpanded:{backgroundColor:g.primaryButtonBackgroundPressed,color:g.primaryButtonTextPressed},rootChecked:{backgroundColor:g.primaryButtonBackgroundPressed,color:g.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:g.primaryButtonBackgroundPressed,color:g.primaryButtonTextPressed},rootDisabled:(i={color:g.primaryButtonTextDisabled,backgroundColor:g.primaryButtonBackgroundDisabled},i[l.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i),splitButtonContainer:(a={},a[l.up]={border:"none"},a),splitButtonDivider:(0,n.Cl)((0,n.Cl)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(s={backgroundColor:h.white},s[l.up]={backgroundColor:"Window"},s)),splitButtonMenuButton:(u={backgroundColor:g.primaryButtonBackground,color:g.primaryButtonText},u[l.up]={backgroundColor:"Canvas"},u[":hover"]=(c={backgroundColor:g.primaryButtonBackgroundHovered},c[l.up]={color:"Highlight"},c),u),splitButtonMenuButtonDisabled:{backgroundColor:g.primaryButtonBackgroundDisabled,":hover":{backgroundColor:g.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:g.primaryButtonBackgroundPressed,":hover":{backgroundColor:g.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:g.primaryButtonBackgroundPressed,":hover":{backgroundColor:g.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:g.primaryButtonText},splitButtonMenuIconDisabled:(d={color:h.neutralTertiary},d[l.up]={color:"GrayText"},d)}}(e):function(e){var t,r,o,i,a,s=e.semanticColors,u=e.palette,c=s.buttonBackground,d=s.buttonBackgroundPressed,p=s.buttonBackgroundHovered,h=s.buttonBackgroundDisabled,g=s.buttonText,m=s.buttonTextHovered,f=s.buttonTextDisabled,v=s.buttonTextChecked,b=s.buttonTextCheckedHovered;return{root:{backgroundColor:c,color:g},rootHovered:(t={backgroundColor:p,color:m},t[l.up]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:d,color:v},rootExpanded:{backgroundColor:d,color:v},rootChecked:{backgroundColor:d,color:v},rootCheckedHovered:{backgroundColor:d,color:b},rootDisabled:(r={color:f,backgroundColor:h},r[l.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r),splitButtonContainer:(o={},o[l.up]={border:"none"},o),splitButtonMenuButton:{color:u.white,backgroundColor:"transparent",":hover":(i={backgroundColor:u.neutralLight},i[l.up]={color:"Highlight"},i)},splitButtonMenuButtonDisabled:{backgroundColor:s.buttonBackgroundDisabled,":hover":{backgroundColor:s.buttonBackgroundDisabled}},splitButtonDivider:(0,n.Cl)((0,n.Cl)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:u.neutralTertiaryAlt},a[l.up]={backgroundColor:"WindowText"},a)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:u.neutralQuaternaryAlt,":hover":{backgroundColor:u.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:u.neutralQuaternaryAlt,":hover":{backgroundColor:u.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:s.buttonText},splitButtonMenuIconDisabled:{color:s.buttonTextDisabled}}}(e),i,t)})),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,r=void 0!==t&&t,s=e.styles,l=e.theme;return o.createElement(i.S,(0,n.Cl)({},this.props,{variantClassName:r?"ms-Button--primary":"ms-Button--default",styles:h(l,s,r),onRenderDescription:a.K}))},(0,n.Cg)([(0,s.T)("DefaultButton",["theme","styles"],!0)],t)}(o.Component)},23693:(e,t,r)=>{"use strict";r.d(t,{K:()=>h});var n=r(54029),o=r(10477),i=r(10138),a=r(64608),s=r(60204),l=r(39398),u=r(90044),c=r(44682),d=r(66608),p=(0,u.J9)((function(e,t){var r,n=(0,c.$)(e),o=(0,d.$)(e),i=e.palette,a={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(r={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},r[l.up]={borderColor:"Highlight",color:"Highlight"},r),rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}};return(0,l.TW)(n,a,o,t)})),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,r=e.theme;return o.createElement(i.S,(0,n.Cl)({},this.props,{variantClassName:"ms-Button--icon",styles:p(r,t),onRenderText:a.K,onRenderDescription:a.K}))},(0,n.Cg)([(0,s.T)("IconButton",["theme","styles"],!0)],t)}(o.Component)},40586:(e,t,r)=>{"use strict";r.d(t,{j:()=>l});var n=r(54029),o=r(10477),i=r(64608),a=r(60204),s=r(30840),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.C6)(t,e),t.prototype.render=function(){return o.createElement(s.Y,(0,n.Cl)({},this.props,{primary:!0,onRenderDescription:i.K}))},(0,n.Cg)([(0,a.T)("PrimaryButton",["theme","styles"],!0)],t)}(o.Component)},61826:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var n=r(90044),o=r(39398),i=(0,n.J9)((function(e,t,r,n,i){return{root:(0,o.Zq)(e.splitButtonMenuButton,r&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],n&&!t&&[e.splitButtonMenuButtonChecked],i&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:(0,o.Zq)(e.splitButtonContainer,!t&&n&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!n&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:(0,o.Zq)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&i&&e.splitButtonMenuIcon),flexContainer:(0,o.Zq)(e.splitButtonFlexContainer),divider:(0,o.Zq)("ms-SplitButton-divider",e.splitButtonDivider,(i||t)&&e.splitButtonDividerDisabled)}}))},66608:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});var n=r(54029),o=r(39398),i=(0,r(90044).J9)((function(e,t){var r,i,a,s,l,u,c,d,p,h,g,m,f,v,b,y,S,C=e.effects,T=e.palette,k=e.semanticColors,F={left:-2,top:-2,bottom:-2,right:-2,border:"none"},E={position:"absolute",width:1,right:31,top:8,bottom:8},A={splitButtonContainer:[(0,o.gm)(e,{highContrastStyle:F,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(r={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},r[o.up]=(0,n.Cl)((0,n.Cl)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},(0,o.Qg)()),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),r),".ms-Button--default + .ms-Button":(i={},i[o.up]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":(0,n.Cl)({backgroundColor:"HighlightText",color:"Highlight"},(0,o.Qg)())}},i),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(a={},a[o.up]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":(0,n.Cl)({backgroundColor:"HighlightText",color:"Highlight"},(0,o.Qg)())},a),".ms-Button--primary + .ms-Button":(s={border:"none"},s[o.up]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":(0,n.Cl)((0,n.Cl)({},(0,o.Qg)()),{color:"HighlightText"})}},s),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(l={},l[o.up]=(0,n.Cl)((0,n.Cl)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},(0,o.Qg)()),{".ms-Button-menuIcon":{color:"HighlightText"}}),l),".ms-Button.is-disabled":(u={},u[o.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(c={backgroundColor:k.buttonBackgroundDisabled,color:k.buttonTextDisabled},c[o.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c),".ms-Button--primary.is-disabled":(d={backgroundColor:k.primaryButtonBackgroundDisabled,color:k.primaryButtonTextDisabled},d[o.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},d)},splitButtonContainerChecked:{".ms-Button--primary":(p={},p[o.up]=(0,n.Cl)({color:"Window",backgroundColor:"WindowText"},(0,o.Qg)()),p)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(h={},h[o.up]=(0,n.Cl)({color:"Window",backgroundColor:"WindowText"},(0,o.Qg)()),h)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(g={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:C.roundedCorner2,borderBottomRightRadius:C.roundedCorner2,border:"1px solid ".concat(T.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},g[o.up]={".ms-Button-menuIcon":{color:"WindowText"}},g),splitButtonDivider:(0,n.Cl)((0,n.Cl)({},E),(m={},m[o.up]={backgroundColor:"WindowText"},m)),splitButtonDividerDisabled:(0,n.Cl)((0,n.Cl)({},E),(f={},f[o.up]={backgroundColor:"GrayText"},f)),splitButtonMenuButtonDisabled:(v={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(b={},b[o.up]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},b),".ms-Button-menuIcon":(y={},y[o.up]={color:"GrayText"},y)},v[o.up]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},v),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(S={outline:"none",border:"none"},S[o.up]=(0,n.Cl)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},(0,o.Qg)()),S),splitButtonMenuFocused:(0,n.Cl)({},(0,o.gm)(e,{highContrastStyle:F,inset:2}))};return(0,o.TW)(A,t)}))},61043:(e,t,r)=>{"use strict";r.d(t,{P:()=>Je});var n,o=r(54029),i=r(10477),a=r(73725),s=r(82148),l=r(50157),u=r(75296),c=r(63874),d=r(90290),p=r(82015),h=r(24011),g=r(29305),m=r(83082),f=r(12215),v=r(76111),b=r(41292),y=function(){function e(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.top=r,this.bottom=n,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function S(e,t,r){return{targetEdge:e,alignmentEdge:t,isAuto:r}}var C=((n={})[s.A.topLeftEdge]=S(b.x.top,b.x.left),n[s.A.topCenter]=S(b.x.top),n[s.A.topRightEdge]=S(b.x.top,b.x.right),n[s.A.topAutoEdge]=S(b.x.top,void 0,!0),n[s.A.bottomLeftEdge]=S(b.x.bottom,b.x.left),n[s.A.bottomCenter]=S(b.x.bottom),n[s.A.bottomRightEdge]=S(b.x.bottom,b.x.right),n[s.A.bottomAutoEdge]=S(b.x.bottom,void 0,!0),n[s.A.leftTopEdge]=S(b.x.left,b.x.top),n[s.A.leftCenter]=S(b.x.left),n[s.A.leftBottomEdge]=S(b.x.left,b.x.bottom),n[s.A.rightTopEdge]=S(b.x.right,b.x.top),n[s.A.rightCenter]=S(b.x.right),n[s.A.rightBottomEdge]=S(b.x.right,b.x.bottom),n);function T(e,t){return!(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function k(e,t){var r=[];return e.top<t.top&&r.push(b.x.top),e.bottom>t.bottom&&r.push(b.x.bottom),e.left<t.left&&r.push(b.x.left),e.right>t.right&&r.push(b.x.right),r}function F(e,t){return e[b.x[t]]}function E(e,t,r){return e[b.x[t]]=r,e}function A(e,t){var r=L(t);return(F(e,r.positiveEdge)+F(e,r.negativeEdge))/2}function I(e,t){return e>0?t:-1*t}function x(e,t){return I(e,F(t,e))}function w(e,t,r){return I(r,F(e,r)-F(t,r))}function P(e,t,r,n){void 0===n&&(n=!0);var o=F(e,t)-r,i=E(e,t,r);return n&&(i=E(e,-1*t,F(e,-1*t)-o)),i}function R(e,t,r,n){return void 0===n&&(n=0),P(e,r,F(t,r)+I(r,n))}function D(e,t,r){return x(r,e)>x(r,t)}function _(e,t){for(var r=0,n=0,o=k(e,t);n<o.length;n++){var i=o[n];r+=Math.pow(w(e,t,i),2)}return r}function N(e,t,r,n){return void 0===n&&(n=200),(r===b.x.bottom||r===b.x.top)&&w(e,t,r)>=n}function O(e,t,r,n){for(var o=0,i=e;o<i.length;o++){var a=i[o],s=void 0;n&&n===-1*a?(s=P(t.elementRectangle,a,F(r,a),!1),t.forcedInBounds=!0):D(s=R(t.elementRectangle,r,a),r,-1*a)||(s=P(s,-1*a,F(r,-1*a),!1),t.forcedInBounds=!0),t.elementRectangle=s}return t}function M(e,t,r){var n=L(t).positiveEdge;return P(e,n,r-(A(e,t)-F(e,n)))}function B(e,t,r,n,o){void 0===n&&(n=0);var i=new y(e.left,e.right,e.top,e.bottom),a=r.alignmentEdge,s=r.targetEdge,l=o?s:-1*s;return i=o?R(i,t,s,n):function(e,t,r,n){void 0===n&&(n=0);var o=I(-1*r,n);return P(e,-1*r,F(t,r)+o)}(i,t,s,n),i=a?R(i,t,a):M(i,l,A(t,s))}function L(e){return e===b.x.top||e===b.x.bottom?{positiveEdge:b.x.left,negativeEdge:b.x.right}:{positiveEdge:b.x.top,negativeEdge:b.x.bottom}}function K(e,t,r){return r&&Math.abs(w(e,r,t))>Math.abs(w(e,r,-1*t))?-1*t:t}function W(e,t,r,n,o,i,a,s){var l,u={},c=z(t),d=i?r:-1*r,p=o||L(r).positiveEdge;return a&&!function(e,t,r){return void 0!==r&&F(e,t)===F(r,t)}(e,(l=p,-1*l),n)||(p=K(e,p,n)),u[b.x[d]]=w(e,c,d),u[b.x[p]]=w(e,c,p),s&&(u[b.x[-1*d]]=w(e,c,-1*d),u[b.x[-1*p]]=w(e,c,-1*p)),u}function H(e,t,r){var n=A(t,e),o=A(r,e),i=L(e),a=i.positiveEdge,s=i.negativeEdge;return n<=o?a:s}function G(e,t,r,n,o,i,a,s,l){void 0===i&&(i=!1);var u=B(e,t,n,o,l);return T(u,r)?{elementRectangle:u,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:function(e,t,r,n,o,i,a,s,l){void 0===o&&(o=!1),void 0===a&&(a=0);var u=n.alignmentEdge,c=n.alignTargetEdge,d={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:u};s||l||(d=function(e,t,r,n,o,i,a){void 0===o&&(o=!1),void 0===a&&(a=0);var s=[b.x.left,b.x.right,b.x.bottom,b.x.top];(0,m.jI)()&&(s[0]*=-1,s[1]*=-1);for(var l,u=e,c=n.targetEdge,d=n.alignmentEdge,p=c,h=d,g=0;g<4;g++){if(D(u,r,c))return{elementRectangle:u,targetEdge:c,alignmentEdge:d};if(o&&N(t,r,c,i)){switch(c){case b.x.bottom:u.bottom=r.bottom;break;case b.x.top:u.top=r.top}return{elementRectangle:u,targetEdge:c,alignmentEdge:d,forcedInBounds:!0}}var f=_(u,r);(!l||f<l)&&(l=f,p=c,h=d),s.splice(s.indexOf(c),1),s.length>0&&(s.indexOf(-1*c)>-1?c*=-1:(d=c,c=s.slice(-1)[0]),u=B(e,t,{targetEdge:c,alignmentEdge:d},a))}return{elementRectangle:u=B(e,t,{targetEdge:p,alignmentEdge:h},a),targetEdge:p,alignmentEdge:h}}(e,t,r,n,o,i,a));var p=k(d.elementRectangle,r),h=s?-d.targetEdge:void 0;if(p.length>0)if(c)if(d.alignmentEdge&&p.indexOf(-1*d.alignmentEdge)>-1){var g=function(e,t,r,n){var o=e.alignmentEdge,i=e.targetEdge,a=-1*o;return{elementRectangle:B(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},r,n),targetEdge:i,alignmentEdge:a}}(d,t,a,l);if(T(g.elementRectangle,r))return g;d=O(k(g.elementRectangle,r),d,r,h)}else d=O(p,d,r,h);else d=O(p,d,r,h);return d}(u,t,r,n,i,a,o,s,l)}function z(e){var t=e.getBoundingClientRect();return new y(t.left,t.right,t.top,t.bottom)}function U(e,t,r,n,i,a){void 0===i&&(i=!1);var l=e.gapSpace?e.gapSpace:0,u=function(e,t){var r;if(t){if(t.preventDefault){var n=t;r=new y(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)r=z(t);else{var o=t,i=o.left||o.x,a=o.top||o.y,s=o.right||i,l=o.bottom||a;r=new y(i,s,a,l)}if(!T(r,e))for(var u=0,c=k(r,e);u<c.length;u++){var d=c[u];r[b.x[d]]=e[b.x[d]]}}else r=new y(0,0,0,0);return r}(r,e.target),c=function(e,t,r,n,o){return e.isAuto&&(e.alignmentEdge=H(e.targetEdge,t,r)),e.alignTargetEdge=o,e}(function(e,t,r){if(void 0===e&&(e=s.A.bottomAutoEdge),r)return{alignmentEdge:r.alignmentEdge,isAuto:r.isAuto,targetEdge:r.targetEdge};var n=(0,o.Cl)({},C[e]);return(0,m.jI)()?(n.alignmentEdge&&n.alignmentEdge%2==0&&(n.alignmentEdge=-1*n.alignmentEdge),void 0!==t?C[t]:n):n}(e.directionalHint,e.directionalHintForRTL,n),u,r,e.coverTarget,e.alignTargetEdge),d=G(z(t),u,r,c,l,i,a,e.directionalHintFixed,e.coverTarget);return(0,o.Cl)((0,o.Cl)({},d),{targetRectangle:u})}function V(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+r}function j(e,t,r,n,i,a,s,l){void 0===i&&(i=!1);var u=null!=l?l:(0,f.z)(),c=e.isBeakVisible&&e.beakWidth||0,d=V(e.isBeakVisible,e.beakWidth,e.gapSpace),p=e;p.gapSpace=d;var h,g,m,S,C,T,k,E,I,_=e.bounds?(I=e.bounds,new y(I.left,I.right,I.top,I.bottom)):new y(0,u.innerWidth-(0,v.XJ)(),0,u.innerHeight),N=U(p,r,_,n,i,a),O=(h=N,g=function(e,t){var r=t.targetRectangle,n=L(t.targetEdge),o=n.positiveEdge,i=n.negativeEdge,a=A(r,t.targetEdge),s=new y(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new y(0,e,0,e);return D(l=M(l=P(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-x(o,t.elementRectangle)),s,o)?D(l,s,i)||(l=R(l,s,i)):l=R(l,s,o),l}(c,N),m=_,S=-1*h.targetEdge,C=new y(0,h.elementRectangle.width,0,h.elementRectangle.height),T={},k=K(h.elementRectangle,h.alignmentEdge?h.alignmentEdge:L(S).positiveEdge,m),E=w(h.elementRectangle,h.targetRectangle,S)>Math.abs(F(g,S)),T[b.x[S]]=F(g,S),T[b.x[k]]=w(g,C,k),{elementPosition:(0,o.Cl)({},T),closestEdge:H(h.targetEdge,g,C),targetEdge:S,hideBeak:!E});return(0,o.Cl)((0,o.Cl)({},function(e,t,r,n,o){return{elementPosition:W(e.elementRectangle,t,e.targetEdge,r,e.alignmentEdge,n,o,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(N,t,_,e.coverTarget,s)),{beakPosition:O})}var q=r(10166),$=r(70195),Q=r(72341),X=r(34907),Y=r(59432),J=r(39773),Z=r(18660);function ee(e){var t=e.originalElement,r=e.containsFocus;t&&r&&t!==(0,f.z)()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0)}var te=i.forwardRef((function(e,t){var r=(0,d.N)({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),n=i.useRef(),a=(0,J.a)(n,t);!function(e,t){var r="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;i.useEffect((function(){if(r&&t.current)return(0,$.q)(t.current)}),[t,r])}(r,n),function(e,t){var r=e.onRestoreFocus,n=void 0===r?ee:r,o=i.useRef(),a=i.useRef(!1);i.useEffect((function(){return o.current=(0,q.Y)().activeElement,(0,l.SE)(t.current)&&(a.current=!0),function(){var e;null==n||n({originalElement:o.current,containsFocus:a.current,documentContainsFocus:(null===(e=(0,q.Y)())||void 0===e?void 0:e.hasFocus())||!1}),o.current=void 0}}),[]),(0,Y.x)(t,"focus",i.useCallback((function(){a.current=!0}),[]),!0),(0,Y.x)(t,"blur",i.useCallback((function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(a.current=!1)}),[]),!0)}(r,n);var s=r.role,u=r.className,c=r.ariaLabel,h=r.ariaLabelledBy,g=r.ariaDescribedBy,m=r.style,f=r.children,v=r.onDismiss,b=function(e,t){var r=(0,X.Y)(),n=i.useState(!1),o=n[0],a=n[1];return i.useEffect((function(){return r.requestAnimationFrame((function(){var r;if(!e.style||!e.style.overflowY){var n=!1;if(t&&t.current&&(null===(r=t.current)||void 0===r?void 0:r.firstElementChild)){var i=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;i>0&&s>i&&(n=s-i>1)}o!==n&&a(n)}})),function(){return r.dispose()}})),o}(r,n),y=i.useCallback((function(e){e.which===Q.c.escape&&v&&(v(e),e.preventDefault(),e.stopPropagation())}),[v]),S=(0,Z.ox)();return(0,Y.x)(S,"keydown",y),i.createElement("div",(0,o.Cl)({ref:a},(0,p.G1)(r,p.JM),{className:u,role:s,"aria-label":c,"aria-labelledby":h,"aria-describedby":g,onKeyDown:y,style:(0,o.Cl)({overflowY:b?"scroll":void 0,outline:"none"},m)}),f)}));te.displayName="Popup";var re,ne=r(50550),oe=r(39398),ie=r(21160),ae=r(44018),se=r(20508),le=((re={})[b.x.top]=oe.lw.slideUpIn10,re[b.x.bottom]=oe.lw.slideDownIn10,re[b.x.left]=oe.lw.slideLeftIn10,re[b.x.right]=oe.lw.slideRightIn10,re),ue={opacity:0,filter:"opacity(0)",pointerEvents:"none"},ce=["role","aria-roledescription"],de={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:s.A.bottomAutoEdge},pe=(0,ne.Z)({disableCaching:!0});function he(e,t,r,n){var o,a=e.calloutMaxHeight,s=e.finalHeight,l=e.directionalHint,u=e.directionalHintFixed,c=e.hidden,d=e.gapSpace,p=e.beakWidth,h=e.isBeakVisible,g=e.coverTarget,m=i.useState(),f=m[0],v=m[1],S=null!==(o=null==n?void 0:n.elementPosition)&&void 0!==o?o:{},C=S.top,T=S.bottom,k=(null==r?void 0:r.current)?function(e){var t,r,n,o,i=e,a=e,s=e,l=null!==(t=s.left)&&void 0!==t?t:s.x,u=null!==(r=s.top)&&void 0!==r?r:s.y,c=null!==(n=s.right)&&void 0!==n?n:l,d=null!==(o=s.bottom)&&void 0!==o?o:u;return i.stopPropagation?new y(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==l&&void 0!==u?new y(l,c,u,d):z(a)}(r.current):void 0;return i.useEffect((function(){var e,r,o=null!==(e=t())&&void 0!==e?e:{},i=o.top,s=o.bottom;(null==n?void 0:n.targetEdge)===b.x.top&&(null==k?void 0:k.top)&&!g&&(s=k.top-function(e,t,r){return V(e,t,r)}(h,p,d)),"number"==typeof C&&s?r=s-C:"number"==typeof T&&"number"==typeof i&&s&&(r=s-i-T),v(!a&&!c||a&&r&&a>r?r:a||void 0)}),[T,a,s,l,u,t,c,n,C,d,p,h,k,g]),f}function ge(e,t,r,n,a,s){var l,u=i.useState(),c=u[0],d=u[1],p=i.useRef(0),h=i.useRef(),g=(0,X.Y)(),m=e.hidden,v=e.target,b=e.finalHeight,y=e.calloutMaxHeight,S=e.onPositioned,C=e.directionalHint,T=e.hideOverflow,k=e.preferScrollResizePositioning,F=(0,se.bX)(),E=i.useRef();E.current!==s.current&&(E.current=s.current,l=s.current?null==F?void 0:F.getComputedStyle(s.current):void 0);var A=null==l?void 0:l.overflowY;return i.useEffect((function(){if(!m){var i=g.requestAnimationFrame((function(){var i,s,l,u;if(t.current&&r){var g=(0,o.Cl)((0,o.Cl)({},e),{target:n.current,bounds:a()}),m=r.cloneNode(!0);m.style.maxHeight=y?"".concat(y):"",m.style.visibility="hidden",null===(i=r.parentElement)||void 0===i||i.appendChild(m);var C=h.current===v?c:void 0,E=k&&!(T||"clip"===A||"hidden"===A),I=b?function(e,t,r,n,o){return function(e,t,r,n,o){return j(e,t,r,n,!1,void 0,!0,null!=o?o:(0,f.z)())}(e,t,r,n,o)}(g,t.current,m,C,F):function(e,t,r,n,o,i,a){return j(e,t,r,n,o,void 0,void 0,a)}(g,t.current,m,C,E,0,F);null===(s=r.parentElement)||void 0===s||s.removeChild(m),!c&&I||c&&I&&(u=I,!ve((l=c).elementPosition,u.elementPosition)||!ve(l.beakPosition.elementPosition,u.beakPosition.elementPosition))&&p.current<5?(p.current++,d(I)):p.current>0&&(p.current=0,null==S||S(c))}}),r);return h.current=v,function(){g.cancelAnimationFrame(i),h.current=void 0}}d(void 0),p.current=0}),[m,C,g,r,y,t,n,b,a,S,c,e,v,T,k,A,F]),c}var me=i.memo(i.forwardRef((function(e,t){var r=(0,d.N)(de,e),n=r.styles,a=r.style,s=r.ariaLabel,g=r.ariaDescribedBy,m=r.ariaLabelledBy,f=r.className,v=r.isBeakVisible,b=r.children,y=r.beakWidth,S=r.calloutWidth,C=r.calloutMaxWidth,T=r.calloutMinWidth,k=r.doNotLayer,F=r.finalHeight,E=r.hideOverflow,A=void 0===E?!!F:E,I=r.backgroundColor,x=r.calloutMaxHeight,w=r.onScroll,P=r.shouldRestoreFocus,R=void 0===P||P,D=r.target,_=r.hidden,N=r.onLayerMounted,O=r.popupProps,M=i.useRef(null),B=i.useRef(null),L=(0,J.a)(B,null==O?void 0:O.ref),K=i.useState(null),W=K[0],H=K[1],G=i.useCallback((function(e){H(e)}),[]),z=(0,J.a)(M,t),U=(0,ae.P)(r.target,{current:W}),V=U[0],j=U[1],q=function(e,t,r){var n=e.bounds,o=e.minPagePadding,a=void 0===o?de.minPagePadding:o,s=e.target,l=i.useState(!1),u=l[0],c=l[1],d=i.useRef(),p=i.useCallback((function(){if(!d.current||u){var e="function"==typeof n?r?n(s,r):void 0:n;!e&&r&&(e=function(e,t){return function(e,t){var r=void 0;if(t.getWindowSegments&&(r=t.getWindowSegments()),void 0===r||r.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var n=0,o=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();n=(i.left+i.right)/2,o=(i.top+i.bottom)/2}else null!==e&&(n=e.left||e.x,o=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,l=r;s<l.length;s++){var u=l[s];n&&u.left<=n&&u.right>=n&&o&&u.top<=o&&u.bottom>=o&&(a={top:u.top,left:u.left,right:u.right,bottom:u.bottom,width:u.width,height:u.height})}return a}(e,t)}(t.current,r),e={top:e.top+a,left:e.left+a,right:e.right-a,bottom:e.bottom-a,width:e.width-2*a,height:e.height-2*a}),d.current=e,u&&c(!1)}return d.current}),[n,a,s,t,r,u]),h=(0,X.Y)();return(0,Y.x)(r,"resize",h.debounce((function(){c(!0)}),500,{leading:!0})),p}(r,V,j),$=ge(r,M,W,V,q,L),Q=he(r,q,V,$),Z=function(e,t,r,n,o){var a=e.hidden,s=e.onDismiss,l=e.preventDismissOnScroll,d=e.preventDismissOnResize,p=e.preventDismissOnLostFocus,h=e.dismissOnTargetClick,g=e.shouldDismissOnWindowFocus,m=e.preventDismissOnEvent,f=i.useRef(!1),v=(0,X.Y)(),b=(0,ie.d)([function(){f.current=!0},function(){f.current=!1}]),y=!!t;return i.useEffect((function(){var e=function(e){y&&!l&&b(e)},t=function(e){d||m&&m(e)||null==s||s(e)},i=function(e){p||b(e)},b=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,a=r.current&&!(0,u.s)(r.current,i);if(a&&f.current)f.current=!1;else if(!n.current&&a||e.target!==o&&a&&(!n.current||"stopPropagation"in n.current||h||i!==n.current&&!(0,u.s)(n.current,i))){if(m&&m(e))return;null==s||s(e)}},S=function(e){g&&((!m||m(e))&&(m||p)||(null==o?void 0:o.document.hasFocus())||null!==e.relatedTarget||null==s||s(e))},C=new Promise((function(r){v.setTimeout((function(){if(!a&&o){var n=[(0,c.on)(o,"scroll",e,!0),(0,c.on)(o,"resize",t,!0),(0,c.on)(o.document.documentElement,"focus",i,!0),(0,c.on)(o.document.documentElement,"click",i,!0),(0,c.on)(o,"blur",S,!0)];r((function(){n.forEach((function(e){return e()}))}))}}),0)}));return function(){C.then((function(e){return e()}))}}),[a,v,r,n,o,s,g,h,p,d,l,y,m]),b}(r,$,M,V,j),ee=Z[0],re=Z[1],ne=(null==$?void 0:$.elementPosition.top)&&(null==$?void 0:$.elementPosition.bottom),oe=(0,o.Cl)((0,o.Cl)({},null==$?void 0:$.elementPosition),{maxHeight:Q});if(ne&&(oe.bottom=void 0),function(e,t,r){var n=e.hidden,o=e.setInitialFocus,a=(0,X.Y)(),s=!!t;i.useEffect((function(){if(!n&&o&&s&&r){var e=a.requestAnimationFrame((function(){return(0,l.vO)(r)}),r);return function(){return a.cancelAnimationFrame(e)}}}),[n,s,a,r,o])}(r,$,W),i.useEffect((function(){_||null==N||N()}),[_]),!j)return null;var se=A,me=v&&!!D,ve=pe(n,{theme:r.theme,className:f,overflowYHidden:se,calloutWidth:S,positions:$,beakWidth:y,backgroundColor:I,calloutMaxWidth:C,calloutMinWidth:T,doNotLayer:k}),be=(0,o.Cl)((0,o.Cl)({maxHeight:x||"100%"},a),se&&{overflowY:"hidden"}),ye=r.hidden?{visibility:"hidden"}:void 0;return i.createElement("div",{ref:z,className:ve.container,style:ye},i.createElement("div",(0,o.Cl)({},(0,p.G1)(r,p.JM,ce),{className:(0,h.A)(ve.root,$&&$.targetEdge&&le[$.targetEdge]),style:$?(0,o.Cl)({},oe):ue,tabIndex:-1,ref:G}),me&&i.createElement("div",{className:ve.beak,style:fe($)}),me&&i.createElement("div",{className:ve.beakCurtain}),i.createElement(te,(0,o.Cl)({role:r.role,"aria-roledescription":r["aria-roledescription"],ariaDescribedBy:g,ariaLabel:s,ariaLabelledBy:m,className:ve.calloutMain,onDismiss:r.onDismiss,onMouseDown:ee,onMouseUp:re,onRestoreFocus:r.onRestoreFocus,onScroll:w,shouldRestoreFocus:R,style:be},O,{ref:L}),b)))})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||(0,g.ab)(e,t)}));function fe(e){var t,r,n=(0,o.Cl)((0,o.Cl)({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(r=null==e?void 0:e.beakPosition)||void 0===r?void 0:r.hideBeak)?"none":void 0});return n.top||n.bottom||n.left||n.right||(n.left=0,n.top=0),n}function ve(e,t){for(var r in t)if(t.hasOwnProperty(r)){var n=e[r],o=t[r];if(void 0===n||void 0===o)return!1;if(n.toFixed(2)!==o.toFixed(2))return!1}return!0}function be(e){return{height:e,width:e}}me.displayName="CalloutContentBase";var ye={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},Se=(0,a.I)(me,(function(e){var t,r=e.theme,n=e.className,o=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,u=e.calloutMinWidth,c=e.doNotLayer,d=(0,oe.Km)(ye,r),p=r.semanticColors,h=r.effects;return{container:[d.container,{position:"relative"}],root:[d.root,r.fonts.medium,{position:"absolute",display:"flex",zIndex:c?oe.nA.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[oe.up]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},(0,oe.QN)(),n,!!i&&{width:i},!!l&&{maxWidth:l},!!u&&{minWidth:u}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},be(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:p.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:p.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},o&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),Ce=i.createContext(void 0),Te=function(){return function(){}};Ce.Provider;var ke=r(93931),Fe=r(90044),Ee=r(35864),Ae=r(79101),Ie=r(96137);function xe(e,t){void 0===e&&(e={});var r=we(t)?t:function(e){return function(t){return e?(0,o.Cl)((0,o.Cl)({},t),e):t}}(t);return r(e)}function we(e){return"function"==typeof e}var Pe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return(0,o.C6)(t,e),t.prototype.componentDidMount=function(){Ae.X.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Ae.X.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return i.createElement(Ie.z.Consumer,null,(function(r){var n=function(e,t){var r,n,i,a=(t||{}).customizations,s=void 0===a?{settings:{},scopedSettings:{}}:a;return{customizations:{settings:xe(s.settings,e.settings),scopedSettings:(r=s.scopedSettings,n=e.scopedSettings,void 0===r&&(r={}),(we(n)?n:(void 0===(i=n)&&(i={}),function(e){var t=(0,o.Cl)({},e);for(var r in i)i.hasOwnProperty(r)&&(t[r]=(0,o.Cl)((0,o.Cl)({},e[r]),i[r]));return t}))(r)),inCustomizerContext:!0}}}(e.props,r);return t&&(n=t(n)),i.createElement(Ie.z.Provider,{value:n},e.props.children)}))},t}(i.Component),Re=r(32351),De=(0,ne.Z)(),_e=(0,Fe.J9)((function(e,t){return(0,Re.a)((0,o.Cl)((0,o.Cl)({},e),{rtl:t}))})),Ne=i.forwardRef((function(e,t){var r=e.className,n=e.theme,a=e.applyTheme,s=e.applyThemeToBody,l=e.styles,u=De(l,{theme:n,applyTheme:a,className:r}),c=i.useRef(null);return function(e,t,r){var n=t.bodyThemed;i.useEffect((function(){if(e){var t=(0,q.Y)(r.current);if(t)return t.body.classList.add(n),function(){t.body.classList.remove(n)}}}),[n,e,r])}(s,u,c),i.createElement(i.Fragment,null,function(e,t,r,n){var a=t.root,s=e.as,l=void 0===s?"div":s,u=e.dir,c=e.theme,d=(0,p.G1)(e,p.JM,["dir"]),h=function(e){var t=e.theme,r=e.dir,n=(0,m.jI)(t)?"rtl":"ltr",o=(0,m.jI)()?"rtl":"ltr",i=r||n;return{rootDir:i!==n||i!==o?i:r,needsTheme:i!==n}}(e),g=h.rootDir,f=h.needsTheme,v=i.createElement(Ee.N,{providerRef:r},i.createElement(l,(0,o.Cl)({dir:g},d,{className:a,ref:(0,J.a)(r,n)})));return f&&(v=i.createElement(Pe,{settings:{theme:_e(c,"rtl"===u)}},v)),v}(e,u,c,t))}));Ne.displayName="FabricBase";var Oe,Me={fontFamily:"inherit"},Be={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},Le=(0,a.I)(Ne,(function(e){var t=e.applyTheme,r=e.className,n=e.preventBlanketFontInheritance,o=e.theme;return{root:[(0,oe.Km)(Be,o).root,o.fonts.medium,{color:o.palette.neutralPrimary},!n&&{"& button":Me,"& input":Me,"& textarea":Me},t&&{color:o.semanticColors.bodyText,backgroundColor:o.semanticColors.bodyBackground},r],bodyThemed:[{backgroundColor:o.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"}),Ke=r(37442),We=r(70361),He=r(36803),Ge={},ze={},Ue="fluent-default-layer-host",Ve="#".concat(Ue),je=r(80837),qe=(0,ne.Z)(),$e=i.forwardRef((function(e,t){var r,n=null!==(r=i.useContext(Ce))&&void 0!==r?r:Te,a=i.useRef(null),s=(0,J.a)(a,t),l=i.useRef(),u=i.useRef(null),c=i.useContext(We.dM),d=i.useState(!1),p=d[0],g=d[1],m=i.useCallback((function(e){var t,r=!!(null==(t=null==c?void 0:c.providerRef)?void 0:t.current)&&t.current.classList.contains(Ke.Y2);e&&r&&e.classList.add(Ke.Y2)}),[c]),f=e.children,v=e.className,b=e.eventBubblingEnabled,y=e.fabricProps,S=e.hostId,C=e.insertFirst,T=e.onLayerDidMount,k=void 0===T?function(){}:T,F=e.onLayerMounted,E=void 0===F?function(){}:F,A=e.onLayerWillUnmount,I=e.styles,x=e.theme,w=(0,J.a)(u,null==y?void 0:y.ref,m),P=qe(I,{theme:x,className:v,isNotHost:!S}),R=function(){null==A||A();var e=l.current;l.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},D=function(){var e,t,r,n,o=(0,q.Y)(a.current),i=(null===(t=null===(e=a.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(r=null==a?void 0:a.current)||void 0===r?void 0:r.getRootNode():void 0;if(o&&(o||i)){var s=function(e,t){var r,n;void 0===t&&(t=null);var o=null!=t?t:e;if(S){var i=function(e){var t=ze[e];return t&&t[0]||void 0}(S);return i?null!==(r=i.rootRef.current)&&void 0!==r?r:null:null!==(n=o.getElementById(S))&&void 0!==n?n:null}var a=Ve,s=a?o.querySelector(a):null;return s||(s=function(e,t){void 0===t&&(t=null);var r=e.createElement("div");return r.setAttribute("id",Ue),r.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(r):null==e||e.body.appendChild(r),r}(e,t)),s}(o,i);if(s){s.__tabsterElementFlags||(s.__tabsterElementFlags={}),s.__tabsterElementFlags.noDirectAriaHidden=!0,R();var u=(null!==(n=s.ownerDocument)&&void 0!==n?n:o).createElement("div");u.className=P.root,(0,He.V)(u),function(e,t){var r=e,n=t;r._virtual||(r._virtual={children:[]});var o=r._virtual.parent;if(o&&o!==t){var i=o._virtual.children.indexOf(r);i>-1&&o._virtual.children.splice(i,1)}r._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(r))}(u,a.current),C?s.insertBefore(u,s.firstChild):s.appendChild(u),l.current=u,g(!0)}}};return(0,je.E)((function(){D(),S&&function(e,t){Ge[e]||(Ge[e]=[]),Ge[e].push(t);var r=ze[e];if(r)for(var n=0,o=r;n<o.length;n++)o[n].notifyLayersChanged()}(S,D);var e=l.current?n(l.current):void 0;return function(){e&&e(),R(),S&&function(e,t){var r=Ge[e];if(r){var n=r.indexOf(t);n>=0&&(r.splice(n,1),0===r.length&&delete Ge[e])}var o=ze[e];if(o)for(var i=0,a=o;i<a.length;i++)a[i].notifyLayersChanged()}(S,D)}}),[S]),i.useEffect((function(){l.current&&p&&(null==E||E(),null==k||k(),g(!1))}),[p,E,k]),i.createElement("span",{className:"ms-layer",ref:s},l.current&&ke.createPortal(i.createElement(Ee.N,{layerRoot:!0,providerRef:w},i.createElement(Le,(0,o.Cl)({},!b&&(Oe||(Oe={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(e){return Oe[e]=Qe}))),Oe),y,{className:(0,h.A)(P.content,null==y?void 0:y.className),ref:w}),f)),l.current))}));$e.displayName="LayerBase";var Qe=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},Xe={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Ye=(0,a.I)($e,(function(e){var t=e.className,r=e.isNotHost,n=e.theme,o=(0,oe.Km)(Xe,n);return{root:[o.root,n.fonts.medium,r&&[o.rootNoHost,{position:"fixed",zIndex:oe.nA.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[o.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Je=i.forwardRef((function(e,t){var r=e.layerProps,n=e.doNotLayer,a=(0,o.Tt)(e,["layerProps","doNotLayer"]),s=i.createElement(Se,(0,o.Cl)({},a,{doNotLayer:n,ref:t}));return n?s:i.createElement(Ye,(0,o.Cl)({},r),s)}));Je.displayName="Callout"},6696:(e,t,r)=>{"use strict";r.d(t,{L:()=>p});var n=r(54029),o=r(10477),i=r(30838),a=r(39773),s=r(93643),l=r(50550),u=r(70361),c=r(37241),d=(0,l.Z)(),p=o.forwardRef((function(e,t){var r=e.disabled,l=e.required,p=e.inputProps,h=e.name,g=e.ariaLabel,m=e.ariaLabelledBy,f=e.ariaDescribedBy,v=e.ariaPositionInSet,b=e.ariaSetSize,y=e.title,S=e.checkmarkIconProps,C=e.styles,T=e.theme,k=e.className,F=e.boxSide,E=void 0===F?"start":F,A=(0,i.B)("checkbox-",e.id),I=o.useRef(null),x=(0,a.a)(I,t),w=o.useRef(null),P=(0,s.k)(e.checked,e.defaultChecked,e.onChange),R=P[0],D=P[1],_=(0,s.k)(e.indeterminate,e.defaultIndeterminate),N=_[0],O=_[1];(0,u.vk)(I);var M=d(C,{theme:T,className:k,disabled:r,indeterminate:N,checked:R,reversed:"start"!==E,isUsingCustomLabelRender:!!e.onRenderLabel}),B=o.useCallback((function(e){N?(D(!!R,e),O(!1)):D(!R,e)}),[D,O,N,R]),L=o.useCallback((function(e){return e&&e.label?o.createElement("span",{className:M.text,title:e.title},e.label):null}),[M.text]),K=o.useCallback((function(e){if(w.current){var t=!!e;w.current.indeterminate=t,O(t)}}),[O]);!function(e,t,r,n,i){o.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},get indeterminate(){return!!r},set indeterminate(e){n(e)},focus:function(){i.current&&i.current.focus()}}}),[i,t,r,n])}(e,R,N,K,w),o.useEffect((function(){return K(N)}),[K,N]);var W=e.onRenderLabel||L,H=N?"mixed":void 0,G=(0,n.Cl)((0,n.Cl)({className:M.input,type:"checkbox"},p),{checked:!!R,disabled:r,required:l,name:h,id:A,title:y,onChange:B,"aria-disabled":r,"aria-label":g,"aria-labelledby":m,"aria-describedby":f,"aria-posinset":v,"aria-setsize":b,"aria-checked":H});return o.createElement("div",{className:M.root,title:y,ref:x},o.createElement("input",(0,n.Cl)({},G,{ref:w,title:y,"data-ktp-execute-target":!0})),o.createElement("label",{className:M.label,htmlFor:A},o.createElement("div",{className:M.checkbox,"data-ktp-target":!0},o.createElement(c.I,(0,n.Cl)({iconName:"CheckMark"},S,{className:M.checkmark}))),W(e,L)))}));p.displayName="CheckboxBase"},59688:(e,t,r)=>{"use strict";r.d(t,{S:()=>p});var n=r(73725),o=r(6696),i=r(54029),a=r(39398),s=r(37442),l={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},u="20px",c="200ms",d="cubic-bezier(.4, 0, .23, 1)",p=(0,n.I)(o.L,(function(e){var t,r,n,o,p,h,g,m,f,v,b,y,S,C,T,k,F,E,A=e.className,I=e.theme,x=e.reversed,w=e.checked,P=e.disabled,R=e.isUsingCustomLabelRender,D=e.indeterminate,_=I.semanticColors,N=I.effects,O=I.palette,M=I.fonts,B=(0,a.Km)(l,I),L=_.inputForegroundChecked,K=O.neutralSecondary,W=O.neutralPrimary,H=_.inputBackgroundChecked,G=_.inputBackgroundChecked,z=_.disabledBodySubtext,U=_.inputBorderHovered,V=_.inputBackgroundCheckedHovered,j=_.inputBackgroundChecked,q=_.inputBackgroundCheckedHovered,$=_.inputBackgroundCheckedHovered,Q=_.inputTextHovered,X=_.disabledBodySubtext,Y=_.bodyText,J=_.disabledText,Z=[(t={content:'""',borderRadius:N.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:P?z:H,transitionProperty:"border-width, border, border-color",transitionDuration:c,transitionTimingFunction:d},t[a.up]={borderColor:"WindowText"},t)];return{root:[B.root,{position:"relative",display:"flex"},x&&"reversed",w&&"is-checked",!P&&"is-enabled",P&&"is-disabled",!P&&[!w&&(r={},r[":hover .".concat(B.checkbox)]=(n={borderColor:U},n[a.up]={borderColor:"Highlight"},n),r[":focus .".concat(B.checkbox)]={borderColor:U},r[":hover .".concat(B.checkmark)]=(o={color:K,opacity:"1"},o[a.up]={color:"Highlight"},o),r),w&&!D&&(p={},p[":hover .".concat(B.checkbox)]={background:q,borderColor:$},p[":focus .".concat(B.checkbox)]={background:q,borderColor:$},p[a.up]=(h={},h[":hover .".concat(B.checkbox)]={background:"Highlight",borderColor:"Highlight"},h[":focus .".concat(B.checkbox)]={background:"Highlight"},h[":focus:hover .".concat(B.checkbox)]={background:"Highlight"},h[":focus:hover .".concat(B.checkmark)]={color:"Window"},h[":hover .".concat(B.checkmark)]={color:"Window"},h),p),D&&(g={},g[":hover .".concat(B.checkbox,", :hover .").concat(B.checkbox,":after")]=(m={borderColor:V},m[a.up]={borderColor:"WindowText"},m),g[":focus .".concat(B.checkbox)]={borderColor:V},g[":hover .".concat(B.checkmark)]={opacity:"0"},g),(f={},f[":hover .".concat(B.text,", :focus .").concat(B.text)]=(v={color:Q},v[a.up]={color:P?"GrayText":"WindowText"},v),f)],A],input:(b={position:"absolute",background:"none",opacity:0},b[".".concat(s.Y2," &:focus + label::before, :host(.").concat(s.Y2,") &:focus + label::before")]=(y={outline:"1px solid "+I.palette.neutralSecondary,outlineOffset:"2px"},y[a.up]={outline:"1px solid WindowText"},y),b),label:[B.label,I.fonts.medium,{display:"flex",alignItems:R?"center":"flex-start",cursor:P?"default":"pointer",position:"relative",userSelect:"none"},x&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[B.checkbox,(S={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:u,width:u,border:"1px solid ".concat(W),borderRadius:N.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:c,transitionTimingFunction:d,overflow:"hidden",":after":D?Z:null},S[a.up]=(0,i.Cl)({borderColor:"WindowText"},(0,a.Qg)()),S),D&&{borderColor:H},x?{marginLeft:4}:{marginRight:4},!P&&!D&&w&&(C={background:j,borderColor:G},C[a.up]={background:"Highlight",borderColor:"Highlight"},C),P&&(T={borderColor:z},T[a.up]={borderColor:"GrayText"},T),w&&P&&(k={background:X,borderColor:z},k[a.up]={background:"Window"},k)],checkmark:[B.checkmark,(F={opacity:w&&!D?"1":"0",color:L},F[a.up]=(0,i.Cl)({color:P?"GrayText":"Window"},(0,a.Qg)()),F)],text:[B.text,(E={color:P?J:Y,fontSize:M.medium.fontSize,lineHeight:"20px"},E[a.up]=(0,i.Cl)({color:P?"GrayText":"WindowText"},(0,a.Qg)()),E),x?{marginRight:4}:{marginLeft:4}]}}),void 0,{scope:"Checkbox"})},62186:(e,t,r)=>{"use strict";r.d(t,{a:()=>te});var n=r(54029),o=r(10477),i=r(2904),a=r(72341),s=r(69250),l=r(31976),u=r(10166),c=r(82015),d=r(18660),p="backward",h=function(e){function t(t){var r=e.call(this,t)||this;return r._inputElement=o.createRef(),r._autoFillEnabled=!0,r._onCompositionStart=function(e){r.setState({isComposing:!0}),r._autoFillEnabled=!1},r._onCompositionUpdate=function(){(0,i.l)()&&r._updateValue(r._getCurrentInputValue(),!0)},r._onCompositionEnd=function(e){var t=r._getCurrentInputValue();r._tryEnableAutofill(t,r.value,!1,!0),r.setState({isComposing:!1}),r._async.setTimeout((function(){r._updateValue(r._getCurrentInputValue(),!1)}),0)},r._onClick=function(){r.value&&""!==r.value&&r._autoFillEnabled&&(r._autoFillEnabled=!1)},r._onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case a.c.backspace:r._autoFillEnabled=!1;break;case a.c.left:case a.c.right:r._autoFillEnabled&&(r.setState((function(e){return{inputValue:r.props.suggestedDisplayValue||e.inputValue}})),r._autoFillEnabled=!1);break;default:r._autoFillEnabled||-1!==r.props.enableAutofillOnKeyPress.indexOf(e.which)&&(r._autoFillEnabled=!0)}},r._onInputChanged=function(e){var t=r._getCurrentInputValue(e);if(r.state.isComposing||r._tryEnableAutofill(t,r.value,e.nativeEvent.isComposing),!(0,i.l)()||!r.state.isComposing){var n=e.nativeEvent.isComposing,o=void 0===n?r.state.isComposing:n;r._updateValue(t,o)}},r._onChanged=function(){},r._updateValue=function(e,t){if(e||e!==r.value){var n=r.props,o=n.onInputChange,i=n.onInputValueChange;o&&(e=(null==o?void 0:o(e,t))||""),r.setState({inputValue:e},(function(){return null==i?void 0:i(e,t)}))}},(0,s.f)(r),r._async=new l.j(r),r.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},r}return(0,n.C6)(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var r=e.updateValueInWillReceiveProps();if(null!==r&&r!==t.inputValue&&!t.isComposing)return(0,n.Cl)((0,n.Cl)({},t),{inputValue:r})}return null},Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t,r){var n,o=this.props,i=o.suggestedDisplayValue,a=o.shouldSelectFullInputValueInComponentDidUpdate,s=0;if(!o.preventValueSelection){var l=(null===(n=this.context)||void 0===n?void 0:n.window.document)||(0,u.Y)(this._inputElement.current);if(this._inputElement.current&&this._inputElement.current===(null==l?void 0:l.activeElement)&&this._autoFillEnabled&&this.value&&i&&g(i,this.value)){var c=!1;if(a&&(c=a()),c)this._inputElement.current.setSelectionRange(0,i.length,p);else{for(;s<this.value.length&&this.value[s].toLocaleLowerCase()===i[s].toLocaleLowerCase();)s++;s>0&&this._inputElement.current.setSelectionRange(s,i.length,p)}}else this._inputElement.current&&(null===r||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(r.start,r.end,r.dir))}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=(0,c.G1)(this.props,c.QQ),t=(0,n.Cl)((0,n.Cl)({},this.props.style),{fontFamily:"inherit"});return o.createElement("input",(0,n.Cl)({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype.getSnapshotBeforeUpdate=function(){var e,t,r=this._inputElement.current;return r&&r.selectionStart!==this.value.length?{start:null!==(e=r.selectionStart)&&void 0!==e?e:r.value.length,end:null!==(t=r.selectionEnd)&&void 0!==t?t:r.value.length,dir:r.selectionDirection||"backward"}:null},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,r,n){!r&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||n)&&(this._autoFillEnabled=!0)},t.prototype._getDisplayValue=function(){return this._autoFillEnabled?(e=this.value,t=this.props.suggestedDisplayValue,r=e,t&&e&&g(t,r)&&(r=t),r):this.value;var e,t,r},t.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},t.defaultProps={enableAutofillOnKeyPress:[a.c.down,a.c.up]},t.contextType=d._0,t}(o.Component);function g(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var m,f,v,b,y=r(29305),S=r(90290),C=r(50157),T=r(56419),k=r(46054),F=r(24011),E=r(44970),A=r(80330),I=r(24077),x=r(98300),w=r(40409),P=r(60204),R=r(36141),D=r(61043),_=r(82148),N=r(59688),O=r(39398),M=r(90044),B=(0,M.J9)((function(e){var t,r=e.semanticColors;return{backgroundColor:r.disabledBackground,color:r.disabledText,cursor:"default",selectors:(t={":after":{borderColor:r.disabledBackground}},t[O.up]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}})),L={selectors:(m={},m[O.up]=(0,n.Cl)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},(0,O.Qg)()),m)},K={selectors:(f={},f[O.up]=(0,n.Cl)({color:"WindowText",backgroundColor:"Window"},(0,O.Qg)()),f)},W=(0,M.J9)((function(e,t,r,o,i,a){var s,l=e.palette,u=e.semanticColors,c={textHoveredColor:u.menuItemTextHovered,textSelectedColor:l.neutralDark,textDisabledColor:u.disabledText,backgroundHoveredColor:u.menuItemBackgroundHovered,backgroundPressedColor:u.menuItemBackgroundPressed},d={root:[e.fonts.medium,{backgroundColor:o?c.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:i?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:(0,n.Cl)((0,n.Cl)((s={},s[O.up]={border:"none",borderColor:"Background"},s),!i&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:c.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},a?[{backgroundColor:"transparent",color:c.textSelectedColor,selectors:{":hover":[{backgroundColor:c.backgroundHoveredColor},L]}},(0,O.gm)(e,{inset:-1,isFocusedOnly:!1}),L]:[]],rootHovered:{backgroundColor:c.backgroundHoveredColor,color:c.textHoveredColor},rootFocused:{backgroundColor:c.backgroundHoveredColor},rootDisabled:{color:c.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}};return(0,O.TW)(d,t,r)})),H=(0,M.J9)((function(e,t){var r,o,i=e.semanticColors,a=e.fonts,s={buttonTextColor:i.bodySubtext,buttonTextHoveredCheckedColor:i.buttonTextChecked,buttonBackgroundHoveredColor:i.listItemBackgroundHovered,buttonBackgroundCheckedColor:i.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:i.listItemBackgroundCheckedHovered},l={selectors:(r={},r[O.up]=(0,n.Cl)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},(0,O.Qg)()),r)},u={root:{color:s.buttonTextColor,fontSize:a.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(o={},o[O.up]=(0,n.Cl)({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},(0,O.Qg)()),o)},icon:{fontSize:a.small.fontSize},rootHovered:[{backgroundColor:s.buttonBackgroundHoveredColor,color:s.buttonTextHoveredCheckedColor,cursor:"pointer"},l],rootPressed:[{backgroundColor:s.buttonBackgroundCheckedColor,color:s.buttonTextHoveredCheckedColor},l],rootChecked:[{backgroundColor:s.buttonBackgroundCheckedColor,color:s.buttonTextHoveredCheckedColor},l],rootCheckedHovered:[{backgroundColor:s.buttonBackgroundCheckedHoveredColor,color:s.buttonTextHoveredCheckedColor},l],rootDisabled:[B(e),{position:"absolute"}]};return(0,O.TW)(u,t)})),G=(0,M.J9)((function(e,t,r){var o,i,a,s,l,u,c=e.semanticColors,d=e.fonts,p=e.effects,h={textColor:c.inputText,borderColor:c.inputBorder,borderHoveredColor:c.inputBorderHovered,borderPressedColor:c.inputFocusBorderAlt,borderFocusedColor:c.inputFocusBorderAlt,backgroundColor:c.inputBackground,erroredColor:c.errorText},g={headerTextColor:c.menuHeader,dividerBorderColor:c.bodyDivider},m={selectors:(o={},o[O.up]={color:"GrayText"},o)},f=[{color:c.inputPlaceholderText},m],v=[{color:c.inputTextHovered},m],b=[{color:c.disabledText},m],y=(0,n.Cl)((0,n.Cl)({color:"HighlightText",backgroundColor:"Window"},(0,O.Qg)()),{selectors:{":after":{borderColor:"Highlight"}}}),S=(0,O.Sq)(h.borderPressedColor,p.roundedCorner2,"border",0),C={container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:h.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:h.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(i={},i[O.up]=y,i)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:h.borderColor,borderRadius:p.roundedCorner2}}}],rootHovered:{selectors:(a={":after":{borderColor:h.borderHoveredColor},".ms-ComboBox-Input":[{color:c.inputTextHovered},(0,O.CX)(v),K]},a[O.up]=(0,n.Cl)((0,n.Cl)({color:"HighlightText",backgroundColor:"Window"},(0,O.Qg)()),{selectors:{":after":{borderColor:"Highlight"}}}),a)},rootPressed:[{position:"relative",selectors:(s={},s[O.up]=y,s)}],rootFocused:[{selectors:(l={".ms-ComboBox-Input":[{color:c.inputTextHovered},K]},l[O.up]=y,l)},S],rootDisabled:B(e),rootError:{selectors:{":after":{borderColor:h.erroredColor},":hover:after":{borderColor:c.inputBorderHovered}}},rootDisallowFreeForm:{},input:[(0,O.CX)(f),{backgroundColor:h.backgroundColor,color:h.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},K],inputDisabled:[B(e),(0,O.CX)(b)],errorMessage:[e.fonts.small,{color:h.erroredColor,marginTop:"5px"}],callout:{boxShadow:p.elevation8},optionsContainerWrapper:{width:r},optionsContainer:{display:"block"},screenReaderText:O.dX,header:[d.medium,{fontWeight:O.BO.semibold,color:g.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(u={},u[O.up]=(0,n.Cl)({color:"GrayText"},(0,O.Qg)()),u)}],divider:{height:1,backgroundColor:g.dividerBorderColor}};return(0,O.TW)(C,t)})),z=(0,M.J9)((function(e,t,r,n,o,i,a,s){return{container:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:(0,O.Zq)(e.__shadowConfig__,e.label,n&&e.labelDisabled),root:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox",s?e.rootError:r&&"is-open",o&&"is-required",e.root,!a&&e.rootDisallowFreeForm,s&&!i?e.rootError:!n&&i&&e.rootFocused,!n&&{selectors:{":hover":s?e.rootError:!r&&!i&&e.rootHovered,":active":s?e.rootError:e.rootPressed,":focus":s?e.rootError:e.rootFocused}},n&&["is-disabled",e.rootDisabled]),input:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-Input",e.input,n&&e.inputDisabled),errorMessage:(0,O.Zq)(e.__shadowConfig__,e.errorMessage),callout:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:(0,O.Zq)(e.__shadowConfig__,e.screenReaderText)}})),U=(0,M.J9)((function(e){return{optionText:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:(0,O.Zq)(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:(0,O.Zq)(e.__shadowConfig__,e.optionTextWrapper)}})),V=r(61894),j=r(33116),q=r(23693),$=r(93662),Q=r(39773),X=r(83902),Y=r(20508);!function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(v||(v={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(b||(b={}));var J=o.memo((function(e){return(0,e.render)()}),(function(e,t){e.render;var r=(0,n.Tt)(e,["render"]),o=(t.render,(0,n.Tt)(t,["render"]));return(0,y.ab)(r,o)})),Z="ComboBox",ee={options:[],allowFreeform:!1,allowParentArrowNavigation:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};var te=o.forwardRef((function(e,t){var r=(0,S.N)(ee,e),i=(r.ref,(0,n.Tt)(r,["ref"])),a=o.useRef(null),s=(0,Q.a)(a,t),l=function(e){var t=e.options,r=e.defaultSelectedKey,n=e.selectedKey,i=o.useState((function(){return oe(t,function(e,t){var r=ie(e);return r.length?r:ie(t)}(r,n))})),a=i[0],s=i[1],l=o.useState(t),u=l[0],c=l[1],d=o.useState(),p=d[0],h=d[1];return o.useEffect((function(){if(void 0!==n){var e=ie(n),r=oe(t,e);s(r)}c(t)}),[t,n]),o.useEffect((function(){null===n&&h(void 0)}),[n]),[a,s,u,c,p,h]}(i),u=l[0],c=l[1],d=l[2],p=l[3],h=l[4],g=l[5];return o.createElement(ne,(0,n.Cl)({},i,{hoisted:{mergedRootRef:s,rootRef:a,selectedIndices:u,setSelectedIndices:c,currentOptions:d,setCurrentOptions:p,suggestedDisplayValue:h,setSuggestedDisplayValue:g}}))}));function re(e,t){for(var r=(0,X.i)(e),n=0;n<r.length;n++){var o=r[n];if(t(o))return o;var i=re(o,t);if(i)return i}return null}te.displayName=Z;var ne=function(e){function t(t){var r=e.call(this,t)||this;return r._autofill=o.createRef(),r._comboBoxWrapper=o.createRef(),r._comboBoxMenu=o.createRef(),r._selectedElement=o.createRef(),r._overrideScrollDismiss=!1,r.focus=function(e,t){r.props.disabled||(r._autofill.current&&(t?(0,C.lo)(r._autofill.current):r._autofill.current.focus(),e&&r.setState({isOpen:!0})),r._hasFocus()||r.setState({focusState:"focused"}))},r.dismissMenu=function(){r.state.isOpen&&r.setState({isOpen:!1})},r._onUpdateValueInAutofillWillReceiveProps=function(){var e=r._autofill.current;return e?null===e.value||void 0===e.value?null:ae(r._currentVisibleValue):null},r._renderComboBoxWrapper=function(e,t){var i=r.props,a=i.label,s=i.disabled,l=i.ariaLabel,u=i.ariaDescribedBy,c=void 0===u?r.props["aria-describedby"]:u,d=i.required,p=i.errorMessage,g=i.buttonIconProps,m=i.isButtonAriaHidden,f=i.title,v=i.placeholder,b=i.tabIndex,y=i.autofill,S=i.iconButtonProps,C=i.hoisted.suggestedDisplayValue,k=r.state,F=k.ariaActiveDescendantValue,E=k.isOpen,A=r._hasFocus()&&r.props.multiSelect&&e?e:v,I={"aria-labelledby":[r.props["aria-labelledby"],a&&r._id+"-label"].join(" ").trim()||void 0,"aria-label":l&&!a?l:void 0},x=!!(p&&p.length>0);return o.createElement("div",{"data-ktp-target":!0,ref:r._comboBoxWrapper,id:r._id+"wrapper",className:r._classNames.root,"aria-owns":E?r._id+"-list":void 0},o.createElement(h,(0,n.Cl)({"data-ktp-execute-target":!0,"data-is-interactable":!s,componentRef:r._autofill,id:r._id+"-input",className:r._classNames.input,type:"text",onFocus:r._onFocus,onBlur:r._onBlur,onKeyDown:r._onInputKeyDown,onKeyUp:r._onInputKeyUp,onClick:r._onAutofillClick,onTouchStart:r._onTouchStart,onInputValueChange:r._onInputChange,"aria-expanded":E,"aria-autocomplete":r._getAriaAutoCompleteValue(),role:"combobox",readOnly:s},I,{"aria-describedby":void 0!==p?(0,T._)(c,t):c,"aria-activedescendant":F,"aria-required":d,"aria-disabled":s,"aria-invalid":x,"aria-controls":E?r._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:r._currentVisibleValue,suggestedDisplayValue:C,updateValueInWillReceiveProps:r._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:r._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:f,preventValueSelection:!r._hasFocus(),placeholder:A,tabIndex:s?-1:b},y)),o.createElement(q.K,(0,n.Cl)({className:"ms-ComboBox-CaretDown-button",styles:r._getCaretButtonStyles(),role:m?"presentation":void 0,"aria-hidden":m},m?void 0:I,{"data-is-focusable":!1,tabIndex:-1,onClick:r._onComboBoxClick,onBlur:r._onBlur,iconProps:g,disabled:s,checked:E},S)))},r._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return r._currentVisibleValue===r.props.hoisted.suggestedDisplayValue},r._getVisibleValue=function(){var e=r.props,t=e.text,n=e.allowFreeform,o=e.allowFreeInput,i=e.autoComplete,a=e.hoisted,s=a.suggestedDisplayValue,l=a.selectedIndices,u=a.currentOptions,c=r.state,d=c.currentPendingValueValidIndex,p=c.currentPendingValue,h=c.isOpen,g=se(u,d);if((!h||!g)&&(t||""===t)&&null==p)return t;if(r.props.multiSelect){if(r._hasFocus()){var m=-1;return"on"===i&&g&&(m=d),r._getPendingString(p,u,m)}return r._getMultiselectDisplayString(l,u,s)}return m=r._getFirstSelectedIndex(),n||o?("on"===i&&g&&(m=d),r._getPendingString(p,u,m)):g&&"on"===i?(m=d,ae(p)):!r.state.isOpen&&p?se(u,m)?p:ae(s):se(u,m)?ce(u[m]):ae(s)},r._onInputChange=function(e){r.props.disabled?r._handleInputWhenDisabled(null):(r.props.onInputValueChange&&r.props.onInputValueChange(e),r.props.allowFreeform||r.props.allowFreeInput?r._processInputChangeWithFreeform(e):r._processInputChangeWithoutFreeform(e))},r._onFocus=function(){var e,t;null===(t=null===(e=r._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),r._hasFocus()||r.setState({focusState:"focusing"})},r._onResolveOptions=function(){if(r.props.onResolveOptions){var e=r.props.onResolveOptions((0,n.fX)([],r.props.hoisted.currentOptions,!0));Array.isArray(e)?r.props.hoisted.setCurrentOptions(e):e&&e.then&&(r._currentPromise=e,e.then((function(t){e===r._currentPromise&&r.props.hoisted.setCurrentOptions(t)})))}},r._onBlur=function(e){var t,n,o=(0,Y.LW)(r.context),i=e.relatedTarget;if(null===e.relatedTarget&&(i=null==o?void 0:o.activeElement),i){var a=null===(t=r.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(i),s=null===(n=r._comboBoxMenu.current)||void 0===n?void 0:n.contains(i),l=r._comboBoxMenu.current&&(0,k.w)(r._comboBoxMenu.current,(function(e){return e===i}),o);if(a||s||l)return l&&r._hasFocus()&&(!r.props.multiSelect||r.props.allowFreeform)&&r._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}r._hasFocus()&&(r.setState({focusState:"none"}),r.props.multiSelect&&!r.props.allowFreeform||r._submitPendingValue(e))},r._onRenderContainer=function(e,t){var i=e.onRenderList,a=e.calloutProps,s=e.dropdownWidth,l=e.dropdownMaxWidth,u=e.onRenderUpperContent,c=void 0===u?r._onRenderUpperContent:u,d=e.onRenderLowerContent,p=void 0===d?r._onRenderLowerContent:d,h=e.useComboBoxAsMenuWidth,g=e.persistMenu,m=e.shouldRestoreFocus,f=void 0===m||m,v=r.state.isOpen,b=r._id,y=h&&r._comboBoxWrapper.current?r._comboBoxWrapper.current.clientWidth+2:void 0;return o.createElement(D.P,(0,n.Cl)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:_.A.bottomLeftEdge,directionalHintFixed:!1},a,{onLayerMounted:r._onLayerMounted,className:(0,F.A)(r._classNames.callout,null==a?void 0:a.className),target:r._comboBoxWrapper.current,onDismiss:r._onDismiss,onMouseDown:r._onCalloutMouseDown,onScroll:r._onScroll,setInitialFocus:!1,calloutWidth:h&&r._comboBoxWrapper.current?y&&y:s,calloutMaxWidth:l||y,hidden:g?!v:void 0,shouldRestoreFocus:f,preventDismissOnEvent:function(e){return r._preventDismissOnScrollOrResize(e)}}),c(r.props,r._onRenderUpperContent),o.createElement("div",{className:r._classNames.optionsContainerWrapper,ref:r._comboBoxMenu},null==i?void 0:i((0,n.Cl)((0,n.Cl)({},e),{id:b}),r._onRenderList)),p(r.props,r._onRenderLowerContent))},r._onLayerMounted=function(){r._onCalloutLayerMounted(),r._async.setTimeout((function(){r._scrollIntoView()}),0),r.props.calloutProps&&r.props.calloutProps.onLayerMounted&&r.props.calloutProps.onLayerMounted()},r._onRenderLabel=function(e){var t=e.props,n=t.label,i=t.disabled,a=t.required;return n?o.createElement(V.J,{id:r._id+"-label",disabled:i,required:a,className:r._classNames.label},n,e.multiselectAccessibleText&&o.createElement("span",{className:r._classNames.screenReaderText},e.multiselectAccessibleText)):null},r._onRenderList=function(e){var t=e.onRenderItem,i=void 0===t?r._onRenderItem:t,a=e.label,s=e.ariaLabel,l=e.multiSelect,u={items:[]},c=[],d=function(){var e=u.id?[o.createElement("div",{role:"group",key:u.id,"aria-labelledby":u.id},u.items)]:u.items;c=(0,n.fX)((0,n.fX)([],c,!0),e,!0),u={items:[]}};e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case j.W.Header:u.items.length>0&&d();var o=r._id+e.key;u.items.push(i((0,n.Cl)((0,n.Cl)({id:o},e),{index:t}),r._onRenderItem)),u.id=o;break;case j.W.Divider:t>0&&u.items.push(i((0,n.Cl)((0,n.Cl)({},e),{index:t}),r._onRenderItem)),u.items.length>0&&d();break;default:u.items.push(i((0,n.Cl)((0,n.Cl)({},e),{index:t}),r._onRenderItem))}}(e,t)})),u.items.length>0&&d();var p=r._id;return o.createElement("div",{id:p+"-list",className:r._classNames.optionsContainer,"aria-labelledby":a&&p+"-label","aria-label":s&&!a?s:void 0,"aria-multiselectable":l?"true":void 0,role:"listbox"},c)},r._onRenderItem=function(e){switch(e.itemType){case j.W.Divider:return r._renderSeparator(e);case j.W.Header:return r._renderHeader(e);default:return r._renderOption(e)}},r._onRenderLowerContent=function(){return null},r._onRenderUpperContent=function(){return null},r._renderOption=function(e){var t,i=r.props.onRenderOption,a=void 0===i?r._onRenderOptionContent:i,s=null!==(t=e.id)&&void 0!==t?t:r._id+"-list"+e.index,l=r._isOptionSelected(e.index),u=r._isOptionChecked(e.index),c=r._isOptionIndeterminate(e.index),d=r._getCurrentOptionStyles(e),p=U(d),h=e.title;return o.createElement(J,{key:e.key,index:e.index,disabled:e.disabled,isSelected:l,isChecked:u,isIndeterminate:c,text:e.text,render:function(){return r.props.multiSelect?o.createElement(N.S,{id:s,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:s+"-label",key:e.key,styles:d,className:"ms-ComboBox-option",onChange:r._onItemClick(e),label:e.text,checked:u,indeterminate:c,title:h,disabled:e.disabled,onRenderLabel:r._renderCheckboxLabel.bind(r,(0,n.Cl)((0,n.Cl)({},e),{id:s+"-label"})),inputProps:(0,n.Cl)({"aria-selected":u?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):o.createElement($.c,{id:s,key:e.key,"data-index":e.index,styles:d,checked:l,className:"ms-ComboBox-option",onClick:r._onItemClick(e),onMouseEnter:r._onOptionMouseEnter.bind(r,e.index),onMouseMove:r._onOptionMouseMove.bind(r,e.index),onMouseLeave:r._onOptionMouseLeave,role:"option","aria-selected":l?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:h},o.createElement("span",{className:p.optionTextWrapper,ref:l?r._selectedElement:void 0},a(e,r._onRenderOptionContent)))},data:e.data})},r._onCalloutMouseDown=function(e){e.preventDefault()},r._onScroll=function(){var e;r._isScrollIdle||void 0===r._scrollIdleTimeoutId?r._isScrollIdle=!1:(r._async.clearTimeout(r._scrollIdleTimeoutId),r._scrollIdleTimeoutId=void 0),(null===(e=r.props.calloutProps)||void 0===e?void 0:e.onScroll)&&r.props.calloutProps.onScroll(),r._scrollIdleTimeoutId=r._async.setTimeout((function(){r._isScrollIdle=!0}),250)},r._onRenderOptionContent=function(e){var t=U(r._getCurrentOptionStyles(e));return o.createElement("span",{className:t.optionText},e.text)},r._onRenderMultiselectOptionContent=function(e){var t=U(r._getCurrentOptionStyles(e));return o.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},r._onDismiss=function(){var e=r.props.onMenuDismiss;e&&e(),r.props.persistMenu&&r._onCalloutLayerMounted(),r._setOpenStateAndFocusOnClose(!1,!1),r._resetSelectedIndex()},r._onAfterClearPendingInfo=function(){r._processingClearPendingInfo=!1},r._onInputKeyDown=function(e){var t=r.props,n=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,s=t.allowParentArrowNavigation,l=t.autoComplete,u=t.hoisted.currentOptions,c=r.state,d=c.isOpen,p=c.currentPendingValueValidIndexOnHover;if(r._lastKeyDownWasAltOrMeta=de(e),n)r._handleInputWhenDisabled(e);else{var h=r._getPendingSelectedIndex(!1);switch(e.which){case a.c.enter:r._autofill.current&&r._autofill.current.inputElement&&r._autofill.current.inputElement.select(),r._submitPendingValue(e),r.props.multiSelect&&d?r.setState({currentPendingValueValidIndex:h}):(d||(!o||void 0===r.state.currentPendingValue||null===r.state.currentPendingValue||r.state.currentPendingValue.length<=0)&&r.state.currentPendingValueValidIndex<0)&&r.setState({isOpen:!d});break;case a.c.tab:return r.props.multiSelect||r._submitPendingValue(e),void(d&&r._setOpenStateAndFocusOnClose(!d,!1));case a.c.escape:if(r._resetSelectedIndex(),!d)return;r.setState({isOpen:!1});break;case a.c.up:if(p===b.clearAll&&(h=r.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(d){r._setOpenStateAndFocusOnClose(!d,!0);break}return}e.preventDefault(),r._setPendingInfoFromIndexAndDirection(h,v.backward);break;case a.c.down:e.altKey||e.metaKey?r._setOpenStateAndFocusOnClose(!0,!0):(p===b.clearAll&&(h=-1),e.preventDefault(),r._setPendingInfoFromIndexAndDirection(h,v.forward));break;case a.c.home:case a.c.end:if(o||i)return;h=-1;var g=v.forward;e.which===a.c.end&&(h=u.length,g=v.backward),r._setPendingInfoFromIndexAndDirection(h,g);break;case a.c.space:if(!o&&!i&&"off"===l)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===a.c.alt||"Meta"===e.key)return;if(s&&(e.keyCode===a.c.left||e.keyCode===a.c.right))return;if(!o&&!i&&"on"===l){r._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},r._onInputKeyUp=function(e){var t=r.props,n=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,s=t.autoComplete,l=r.state.isOpen,u=r._lastKeyDownWasAltOrMeta&&de(e);r._lastKeyDownWasAltOrMeta=!1;var c=u&&!((0,E.c)()||(0,A.u)());n?r._handleInputWhenDisabled(e):e.which!==a.c.space?c&&l?r._setOpenStateAndFocusOnClose(!l,!0):("focusing"===r.state.focusState&&r.props.openOnKeyboardFocus&&r.setState({isOpen:!0}),"focused"!==r.state.focusState&&r.setState({focusState:"focused"})):o||i||"off"!==s||r._setOpenStateAndFocusOnClose(!l,!!l)},r._onOptionMouseLeave=function(){r._shouldIgnoreMouseEvent()||r.props.persistMenu&&!r.state.isOpen||r.setState({currentPendingValueValidIndexOnHover:b.clearAll})},r._onComboBoxClick=function(){var e=r.props.disabled,t=r.state.isOpen;e||(r._setOpenStateAndFocusOnClose(!t,!1),r.setState({focusState:"focused"}))},r._onAutofillClick=function(){var e=r.props,t=e.disabled;e.allowFreeform&&!t?r.focus(r.state.isOpen||r._processingTouch):r._onComboBoxClick()},r._onTouchStart=function(){r._comboBoxWrapper.current&&!("onpointerdown"in r._comboBoxWrapper)&&r._handleTouchAndPointerEvent()},r._onPointerDown=function(e){"touch"===e.pointerType&&(r._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},(0,s.f)(r),r._async=new l.j(r),r._events=new I.g(r),(0,x.Y)(Z,t,{defaultSelectedKey:"selectedKey",text:"defaultSelectedKey",selectedKey:"value",dropdownWidth:"useComboBoxAsMenuWidth",ariaLabel:"label"}),r._id=t.id||(0,w.O)("ComboBox"),r._isScrollIdle=!0,r._processingTouch=!1,r._gotMouseMove=!1,r._processingClearPendingInfo=!1,r.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:b.default},r}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return function(e,t){for(var r=[],n=0,o=t;n<o.length;n++){var i=e[o[n]];i&&r.push(i)}return r}(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},t.prototype.componentDidUpdate=function(e,t){var r,o,i,a=this,s=this.props,l=s.allowFreeform,u=s.allowFreeInput,c=s.text,d=s.onMenuOpen,p=s.onMenuDismissed,h=s.hoisted,g=h.currentOptions,m=h.selectedIndices,f=this.state,v=f.currentPendingValue,b=f.currentPendingValueValidIndex,S=f.isOpen;!S||t.isOpen&&t.currentPendingValueValidIndex===b||this._async.setTimeout((function(){return a._scrollIntoView()}),0);var C=(0,Y.LW)(this.context);this._hasFocus()&&(S||t.isOpen&&!S&&this._focusInputAfterClose&&this._autofill.current&&(null==C?void 0:C.activeElement)!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!S||this._hasFocus()&&(!S&&!this.props.multiSelect&&e.hoisted.selectedIndices&&m&&e.hoisted.selectedIndices[0]!==m[0]||!l&&!u||c!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),S&&!t.isOpen&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout((function(){a._overrideScrollDismiss=!1}),100),null==d||d()),!S&&t.isOpen&&p&&p();var T=b,k=g.map((function(e,t){return(0,n.Cl)((0,n.Cl)({},e),{index:t})}));!(0,y.ab)(e.hoisted.currentOptions,g)&&v&&(T=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(v):this._updateAutocompleteIndexWithoutFreeform(v));var F=void 0;S&&this._hasFocus()&&-1!==T?F=null!==(r=k[T].id)&&void 0!==r?r:this._id+"-list"+T:S&&m.length&&(F=null!==(i=null===(o=k[m[0]])||void 0===o?void 0:o.id)&&void 0!==i?i:this._id+"-list"+m[0]),F!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:F})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this._id+"-error",t=this.props,r=t.className,i=t.disabled,a=t.required,s=t.errorMessage,l=t.onRenderContainer,u=void 0===l?this._onRenderContainer:l,d=t.onRenderLabel,p=void 0===d?this._onRenderLabel:d,h=t.onRenderList,g=void 0===h?this._onRenderList:h,m=t.onRenderItem,f=void 0===m?this._onRenderItem:m,v=t.onRenderOption,b=void 0===v?this._onRenderOptionContent:v,y=t.allowFreeform,S=t.styles,C=t.theme,T=t.persistMenu,k=t.multiSelect,F=t.hoisted,E=F.suggestedDisplayValue,A=F.selectedIndices,I=F.currentOptions,x=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var w=k?this._getMultiselectDisplayString(A,I,E):void 0,P=(0,c.G1)(this.props,c.JM,["onChange","value","aria-describedby","aria-labelledby"]),R=!!(s&&s.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(C,!!x,!!i,!!a,!!this._hasFocus(),!!y,!!R,r):z(G(C,S),r,!!x,!!i,!!a,!!this._hasFocus(),!!y,!!R);var D=this._renderComboBoxWrapper(w,e);return o.createElement("div",(0,n.Cl)({},P,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),p({props:this.props,multiselectAccessibleText:w},this._onRenderLabel),D,(T||x)&&u((0,n.Cl)((0,n.Cl)({},this.props),{onRenderList:g,onRenderItem:f,onRenderOption:b,options:I.map((function(e,t){return(0,n.Cl)((0,n.Cl)({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),R&&o.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},s))},t.prototype._getPendingString=function(e,t,r){return null!=e?e:se(t,r)?ce(t[r]):""},t.prototype._getMultiselectDisplayString=function(e,t,r){for(var n=[],o=0;e&&o<e.length;o++){var i=e[o];t[i].itemType!==j.W.SelectAll&&n.push(se(t,i)?t[i].text:ae(r))}var a=this.props.multiSelectDelimiter,s=void 0===a?", ":a;return n.join(s)},t.prototype._preventDismissOnScrollOrResize=function(e){var t=this.props.calloutProps;return(null==t?void 0:t.preventDismissOnEvent)?t.preventDismissOnEvent(e):!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},t.prototype._processInputChangeWithFreeform=function(e){var t=this,r=this.props.hoisted.currentOptions,o=-1;if(""===e)return 1===(a=r.map((function(e,t){return(0,n.Cl)((0,n.Cl)({},e),{index:t})})).filter((function(t){return le(t)&&!t.disabled&&ce(t)===e}))).length&&(o=a[0].index),this._setPendingInfo(e,o,e),o;var i=e;e=this._adjustForCaseSensitivity(e);var a,s="";if("on"===this.props.autoComplete){if((a=r.map((function(e,t){return(0,n.Cl)((0,n.Cl)({},e),{index:t})})).filter((function(r){return le(r)&&!r.disabled&&0===t._adjustForCaseSensitivity(ce(r)).indexOf(e)}))).length>0){var l=ce(a[0]);s=this._adjustForCaseSensitivity(l)!==e?l:"",o=a[0].index}}else 1===(a=r.map((function(e,t){return(0,n.Cl)((0,n.Cl)({},e),{index:t})})).filter((function(r){return le(r)&&!r.disabled&&t._adjustForCaseSensitivity(ce(r))===e}))).length&&(o=a[0].index);return this._setPendingInfo(i,o,s),o},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,r=this.state,n=r.currentPendingValue,o=r.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=ae(n)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout((function(){t._autoCompleteTimeout=void 0}),1e3),i}var a=o>=0?o:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},t.prototype._updateAutocompleteIndexWithoutFreeform=function(e){var t=this,r=this.props.hoisted.currentOptions,o=e;e=this._adjustForCaseSensitivity(e);var i=r.map((function(e,t){return(0,n.Cl)((0,n.Cl)({},e),{index:t})})).filter((function(r){return le(r)&&!r.disabled&&0===t._adjustForCaseSensitivity(r.text).indexOf(e)}));return i.length>0?(this._setPendingInfo(o,i[0].index,ce(i[0])),i[0].index):-1},t.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var r=this.props.hoisted.currentOptions,n=e+t;if(!se(r,n=Math.max(0,Math.min(r.length-1,n))))return-1;var o=r[n];if(!ue(o)||!0===o.hidden){if(t===v.none||!(n>0&&t<v.none||n>=0&&n<r.length&&t>v.none))return e;n=this._getNextSelectableIndex(n,t)}return n},t.prototype._setSelectedIndex=function(e,t,r){void 0===r&&(r=v.none);var o=this.props,i=o.onChange,a=o.onPendingValueChanged,s=o.hoisted,l=s.selectedIndices,u=s.currentOptions,c=l?l.slice():[],d=u.slice();if(se(u,e=this._getNextSelectableIndex(e,r))){if(this.props.multiSelect||c.length<1||1===c.length&&c[0]!==e){var p=(0,n.Cl)({},u[e]);if(!p||p.disabled)return;if(this.props.multiSelect)if(p.selected=void 0!==p.selected?!p.selected:c.indexOf(e)<0,p.itemType===j.W.SelectAll)c=[],p.selected?u.forEach((function(e,t){!e.disabled&&ue(e)&&(c.push(t),d[t]=(0,n.Cl)((0,n.Cl)({},e),{selected:!0}))})):d=u.map((function(e){return(0,n.Cl)((0,n.Cl)({},e),{selected:!1})}));else{p.selected&&c.indexOf(e)<0?c.push(e):!p.selected&&c.indexOf(e)>=0&&(c=c.filter((function(t){return t!==e}))),d[e]=p;var h=d.filter((function(e){return e.itemType===j.W.SelectAll}))[0];if(h){var g=this._isSelectAllChecked(c),m=d.indexOf(h);g?(c.push(m),d[m]=(0,n.Cl)((0,n.Cl)({},h),{selected:!0})):(c=c.filter((function(e){return e!==m})),d[m]=(0,n.Cl)((0,n.Cl)({},h),{selected:!1}))}}else c[0]=e;t.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(c),this.props.hoisted.setCurrentOptions(d)),this._hasPendingValue&&a&&(a(),this._hasPendingValue=!1),i&&i(t,p,e,ce(p))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t,r=this.props,n=r.onChange,o=r.allowFreeform,i=r.autoComplete,a=r.multiSelect,s=r.hoisted,l=s.currentOptions,u=this.state,c=u.currentPendingValue,d=u.currentPendingValueValidIndex,p=u.currentPendingValueValidIndexOnHover,h=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==c)return void(p>=0&&(this._setSelectedIndex(p,e),this._clearPendingInfo()));if(se(l,d)){var g=this._adjustForCaseSensitivity(ce(l[d])),m=this._autofill.current,f=this._adjustForCaseSensitivity(c);if(f===g||i&&0===g.indexOf(f)&&(null==m?void 0:m.isValueSelected)&&c.length+(m.selectionEnd-m.selectionStart)===g.length||void 0!==(null===(t=null==m?void 0:m.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(m.inputElement.value)===g){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,c);else{var v={key:c||(0,w.O)(),text:ae(c)};a&&(v.selected=!0);var b=l.concat([v]);h&&(a||(h=[]),h.push(b.length-1)),s.setCurrentOptions(b),s.setSelectedIndices(h)}}else d>=0?this._setSelectedIndex(d,e):p>=0&&this._setSelectedIndex(p,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,r=e.key;return t&&t>0?o.createElement("div",{role:"presentation",key:r,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,r=void 0===t?this._onRenderOptionContent:t;return o.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},r(e,this._onRenderOptionContent))},t.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},t.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==b.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},t.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){return!(!this.props.multiSelect||void 0===e||!this.props.hoisted.selectedIndices)&&this.props.hoisted.selectedIndices.indexOf(e)>=0},t.prototype._isOptionIndeterminate=function(e){var t=this.props,r=t.multiSelect,n=t.hoisted;if(r&&void 0!==e&&n.selectedIndices&&n.currentOptions){var o=n.currentOptions[e];if(o&&o.itemType===j.W.SelectAll)return n.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},t.prototype._isSelectAllChecked=function(e){var t=this.props,r=t.multiSelect,n=t.hoisted,o=n.currentOptions.find((function(e){return e.itemType===j.W.SelectAll})),i=e||n.selectedIndices;if(!r||!i||!o)return!1;var a=n.currentOptions.indexOf(o),s=i.filter((function(e){return e!==a})),l=n.currentOptions.filter((function(e){return!e.disabled&&e.itemType!==j.W.SelectAll&&ue(e)}));return s.length===l.length},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,r=t.currentPendingValueValidIndex,n=t.currentPendingValue;return r>=0||e&&null!=n?r:this.props.multiSelect?-1:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,r=e.scrollSelectedToTop,n=this._getPendingSelectedIndex(!0);if(t)t(n>=0?n:this._getFirstSelectedIndex());else{var o=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(o=re(this._comboBoxMenu.current,(function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===n.toString()}))),o&&o.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,s=o.offsetParent,l=s.offsetHeight,u=s.offsetTop,c=a,d=c.offsetHeight,p=c.scrollTop,h=u+l>p+d;u<p||r?(i=!1,a.scrollTo(0,u)):h&&a.scrollTo(0,u-d+l)}else o.offsetParent.scrollIntoView(i)}}},t.prototype._onItemClick=function(e){var t=this,r=this.props.onItemClick,n=e.index;return function(o){t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1})),r&&r(o,e,n),t._setSelectedIndex(n,o)}},t.prototype._resetSelectedIndex=function(){var e=this.props.hoisted.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();t>0&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:b.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,r){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(r),this.setState({currentPendingValue:ae(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:b.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var r=t[e];this._setPendingInfo(ce(r),e,ce(r))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var r=this.props.hoisted.currentOptions;t===v.forward&&e>=r.length-1?e=-1:t===v.backward&&e<=0&&(e=r.length);var n=this._getNextSelectableIndex(e,t);e===n?t===v.forward?e=this._getNextSelectableIndex(-1,t):t===v.backward&&(e=this._getNextSelectableIndex(r.length,t)):e=n,se(r,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var r=this.props.hoisted.currentOptions,n=this.state,o=n.currentPendingValue,i=n.currentPendingValueValidIndex,a=n.currentPendingValueValidIndexOnHover,s=void 0,l=void 0;a!==e.currentPendingValueValidIndexOnHover&&se(r,a)?s=a:i!==e.currentPendingValueValidIndex&&se(r,i)?s=i:o!==e.currentPendingValue&&(l=o),(void 0!==s||void 0!==l||this._hasPendingValue)&&(t(void 0!==s?r[s]:void 0,s,l),this._hasPendingValue=void 0!==s||void 0!==l)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==a.c.tab&&e.which!==a.c.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0}),500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return H(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,r=this.props.comboBoxOptionStyles,n=e.styles,o=W(this.props.theme,r,n,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return o.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,o},t.prototype._getAriaAutoCompleteValue=function(){return this.props.disabled||"on"!==this.props.autoComplete?"list":this.props.allowFreeform?"inline":"both"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},t.contextType=d._0,(0,n.Cg)([(0,P.T)("ComboBox",["theme","styles"],!0)],t)}(o.Component);function oe(e,t){if(!e||!t)return[];var r={};e.forEach((function(e,t){e.selected&&(r[t]=!0)}));for(var n=function(t){var n=(0,R.SL)(e,(function(e){return e.key===t}));n>-1&&(r[n]=!0)},o=0,i=t;o<i.length;o++)n(i[o]);return Object.keys(r).map(Number).sort()}function ie(e){return void 0===e?[]:e instanceof Array?e:[e]}function ae(e){return e||""}function se(e,t){return!!e&&t>=0&&t<e.length}function le(e){return e.itemType!==j.W.Header&&e.itemType!==j.W.Divider&&e.itemType!==j.W.SelectAll}function ue(e){return e.itemType!==j.W.Header&&e.itemType!==j.W.Divider}function ce(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function de(e){return e.which===a.c.alt||"Meta"===e.key}},28894:(e,t,r)=>{"use strict";r.d(t,{l:()=>He});var n=r(54029),o=r(10477),i=r(73725),a=r(22137),s=r(82802),l=r(82148),u=r(97130),c=r(10625),d=r(50550),p=r(90044),h=r(83082),g=r(29305),m=r(10166),f=r(72341),v=r(50157),b=r(44970),y=r(80330),S=r(90290),C=r(13025),T=r(82015),k=r(24011),F=r(70361);function E(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function A(e){return!(!e.subMenuProps&&!e.items)}function I(e){return!(!e.isDisabled&&!e.disabled)}function x(e){return null!==E(e)?"menuitemcheckbox":"menuitem"}var w,P=r(61043),R=r(69250),D=r(37241),_=function(e){var t=e.item,r=e.classNames,i=t.iconProps;return o.createElement(D.I,(0,n.Cl)({},i,{className:r.icon}))},N=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,_):_(e):null},O=function(e){var t=e.onCheckmarkClick,r=e.item,n=e.classNames,i=E(r);return t?o.createElement(D.I,{iconName:!1!==r.canCheck&&i?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(r,e)}}):null},M=function(e){var t=e.item,r=e.classNames;return t.text||t.name?o.createElement("span",{className:r.label},t.text||t.name):null},B=function(e){var t=e.item,r=e.classNames;return t.secondaryText?o.createElement("span",{className:r.secondaryText},t.secondaryText):null},L=function(e){var t=e.item,r=e.classNames,i=e.theme;return A(t)?o.createElement(D.I,(0,n.Cl)({iconName:(0,h.jI)(i)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:r.subMenuIcon})):null},K=function(e){function t(t){var r=e.call(this,t)||this;return r.openSubMenu=function(){var e=r.props,t=e.item,n=e.openSubMenu,o=e.getSubmenuTarget;if(o){var i=o();A(t)&&n&&i&&n(t,i)}},r.dismissSubMenu=function(){var e=r.props,t=e.item,n=e.dismissSubMenu;A(t)&&n&&n()},r.dismissMenu=function(e){var t=r.props.dismissMenu;t&&t(void 0,e)},(0,R.f)(r),r}return(0,n.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,r=e.classNames,n=t.onRenderContent||this._renderLayout;return o.createElement("div",{className:t.split?r.linkContentMenu:r.linkContent},n(this.props,{renderCheckMarkIcon:O,renderItemIcon:N,renderItemName:M,renderSecondaryText:B,renderSubMenuIcon:L}))},t.prototype._renderLayout=function(e,t){return o.createElement(o.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(o.Component),W=r(39398),H=(0,p.J9)((function(e){return(0,W.l8)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),G=36,z=(0,W.L6)(0,W.mm),U=(0,p.J9)((function(e){var t,r,o,i,a,s=e.semanticColors,l=e.fonts,u=e.palette,c=s.menuItemBackgroundHovered,d=s.menuItemTextHovered,p=s.menuItemBackgroundPressed,h=s.bodyDivider,g={item:[l.medium,{color:s.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:h,position:"relative"},root:[(0,W.gm)(e),l.medium,{color:s.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:G,lineHeight:G,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:s.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[W.up]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:c,color:d,selectors:{".ms-ContextualMenu-icon":{color:u.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:u.neutralPrimary}}},rootFocused:{backgroundColor:u.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:u.neutralPrimary}}},rootPressed:{backgroundColor:p,selectors:{".ms-ContextualMenu-icon":{color:u.themeDark},".ms-ContextualMenu-submenuIcon":{color:u.neutralPrimary}}},rootExpanded:{backgroundColor:p,color:s.bodyTextChecked,selectors:(r={".ms-ContextualMenu-submenuIcon":(o={},o[W.up]={color:"inherit"},o)},r[W.up]=(0,n.Cl)({},(0,W.Qg)()),r)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:G,fontSize:W.fF.medium,width:W.fF.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(i={},i[z]={fontSize:W.fF.large,width:W.fF.large},i)},iconColor:{color:s.menuIcon},iconDisabled:{color:s.disabledBodyText},checkmarkIcon:{color:s.bodySubtext},subMenuIcon:{height:G,lineHeight:G,color:u.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:W.fF.small,selectors:(a={":hover":{color:u.neutralPrimary},":active":{color:u.neutralPrimary}},a[z]={fontSize:W.fF.medium},a)},splitButtonFlexContainer:[(0,W.gm)(e),{display:"flex",height:G,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return(0,W.TW)(g)})),V=r(37442),j="28px",q=(0,W.L6)(0,W.mm),$=(0,p.J9)((function(e){var t;return(0,W.l8)(H(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[q]={right:32},t)},divider:{height:16,width:1}})})),Q={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},X=(0,p.J9)((function(e,t,r,n,o,i,a,s,l,u,c,d){var p,h,g,m,f=U(e),v=(0,W.Km)(Q,e);return(0,W.l8)({item:[v.item,f.item,a],divider:[v.divider,f.divider,s],root:[v.root,f.root,n&&[v.isChecked,f.rootChecked],o&&f.anchorLink,r&&[v.isExpanded,f.rootExpanded],t&&[v.isDisabled,f.rootDisabled],!t&&!r&&[{selectors:(p={":hover":f.rootHovered,":active":f.rootPressed},p[".".concat(V.Y2," &:focus, .").concat(V.Y2," &:focus:hover, :host(.").concat(V.Y2,") &:focus, :host(.").concat(V.Y2,") &:focus:hover")]=f.rootFocused,p[".".concat(V.Y2," &:hover, :host(.").concat(V.Y2,") &:hover")]={background:"inherit;"},p)}],d],splitPrimary:[f.root,{width:"calc(100% - ".concat(j,")")},n&&["is-checked",f.rootChecked],(t||c)&&["is-disabled",f.rootDisabled],!(t||c)&&!n&&[{selectors:(h={":hover":f.rootHovered},h[":hover ~ .".concat(v.splitMenu)]=f.rootHovered,h[":active"]=f.rootPressed,h[".".concat(V.Y2," &:focus, .").concat(V.Y2," &:focus:hover, :host(.").concat(V.Y2,") &:focus, :host(.").concat(V.Y2,") &:focus:hover")]=f.rootFocused,h[".".concat(V.Y2," &:hover, :host(.").concat(V.Y2,") &:hover")]={background:"inherit;"},h)}]],splitMenu:[v.splitMenu,f.root,{flexBasis:"0",padding:"0 8px",minWidth:j},r&&["is-expanded",f.rootExpanded],t&&["is-disabled",f.rootDisabled],!t&&!r&&[{selectors:(g={":hover":f.rootHovered,":active":f.rootPressed},g[".".concat(V.Y2," &:focus, .").concat(V.Y2," &:focus:hover, :host(.").concat(V.Y2,") &:focus, :host(.").concat(V.Y2,") &:focus:hover")]=f.rootFocused,g[".".concat(V.Y2," &:hover, :host(.").concat(V.Y2,") &:hover")]={background:"inherit;"},g)}]],anchorLink:f.anchorLink,linkContent:[v.linkContent,f.linkContent],linkContentMenu:[v.linkContentMenu,f.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&f.iconColor,f.icon,l,t&&[v.isDisabled,f.iconDisabled]],iconColor:f.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&f.checkmarkIcon,f.icon,l],subMenuIcon:[v.subMenuIcon,f.subMenuIcon,u,r&&{color:e.palette.neutralPrimary},t&&[f.iconDisabled]],label:[v.label,f.label],secondaryText:[v.secondaryText,f.secondaryText],splitContainer:[f.splitButtonFlexContainer,!t&&!n&&[{selectors:(m={},m[".".concat(V.Y2," &:focus, .").concat(V.Y2," &:focus:hover, :host(.").concat(V.Y2,") &:focus, :host(.").concat(V.Y2,") &:focus:hover")]=f.rootFocused,m)}]],screenReaderText:[v.screenReaderText,f.screenReaderText,W.dX,{visibility:"hidden"}]})})),Y=function(e){var t=e.theme,r=e.disabled,n=e.expanded,o=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,u=e.iconClassName,c=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return X(t,r,n,o,i,a,s,l,u,c,d,p)},J=(0,i.I)(K,Y,void 0,{scope:"ContextualMenuItem"}),Z=r(40409),ee=r(56419),te=function(e){function t(t){var r=e.call(this,t)||this;return r._onItemMouseEnter=function(e){var t=r.props,n=t.item,o=t.onItemMouseEnter;o&&o(n,e,e.currentTarget)},r._onItemClick=function(e){var t=r.props,n=t.item,o=t.onItemClickBase;o&&o(n,e,e.currentTarget)},r._onItemMouseLeave=function(e){var t=r.props,n=t.item,o=t.onItemMouseLeave;o&&o(n,e)},r._onItemKeyDown=function(e){var t=r.props,n=t.item,o=t.onItemKeyDown;o&&o(n,e)},r._onItemMouseMove=function(e){var t=r.props,n=t.item,o=t.onItemMouseMove;o&&o(n,e,e.currentTarget)},r._getSubmenuTarget=function(){},(0,R.f)(r),r}return(0,n.C6)(t,e),t.prototype.shouldComponentUpdate=function(e){return!(0,g.ab)(e,this.props)},t}(o.Component),re=r(26277),ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=o.createRef(),t._getMemoizedMenuButtonKeytipProps=(0,p.J9)((function(e){return(0,n.Cl)((0,n.Cl)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var r=t.props,n=r.item,o=r.onItemClick;o&&o(n,e)},t._renderAriaDescription=function(e,r){return e?o.createElement("span",{id:t._ariaDescriptionId,className:r},e):null},t}return(0,n.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,u=t.hasCheckmarks,c=t.hasIcons,d=t.expandedMenuItemKey,p=t.onItemClick,h=t.openSubMenu,g=t.dismissSubMenu,m=t.dismissMenu,f=J;this.props.item.contextualMenuItemAs&&(f=(0,C.C)(this.props.item.contextualMenuItemAs,f)),this.props.contextualMenuItemAs&&(f=(0,C.C)(this.props.contextualMenuItemAs,f));var v=r.rel;r.target&&"_blank"===r.target.toLowerCase()&&(v=v||"nofollow noopener noreferrer");var b=A(r),y=(0,T.G1)(r,T.t0),S=I(r),k=r.itemProps,F=r.ariaDescription,E=r.keytipProps;E&&b&&(E=this._getMemoizedMenuButtonKeytipProps(E)),F&&(this._ariaDescriptionId=(0,Z.O)());var x=(0,ee._)(r.ariaDescribedBy,F?this._ariaDescriptionId:void 0,y["aria-describedby"]),w={"aria-describedby":x};return o.createElement("div",null,o.createElement(re.x,{keytipProps:r.keytipProps,ariaDescribedBy:x,disabled:S},(function(t){return o.createElement("a",(0,n.Cl)({},w,y,t,{ref:e._anchor,href:r.href,target:r.target,rel:v,className:i.root,role:"menuitem","aria-haspopup":b||void 0,"aria-expanded":b?r.key===d:void 0,"aria-posinset":s+1,"aria-setsize":l,"aria-disabled":I(r),style:r.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:b?e._onItemKeyDown:void 0}),o.createElement(f,(0,n.Cl)({componentRef:r.componentRef,item:r,classNames:i,index:a,onCheckmarkClick:u&&p?p:void 0,hasIcons:c,openSubMenu:h,dismissSubMenu:g,dismissMenu:m,getSubmenuTarget:e._getSubmenuTarget},k)),e._renderAriaDescription(F,i.screenReaderText))})))},t}(te),oe=r(31976),ie=r(24077),ae=r(51195),se=function(e){function t(t){var r=e.call(this,t)||this;return r._getMemoizedMenuButtonKeytipProps=(0,p.J9)((function(e){return(0,n.Cl)((0,n.Cl)({},e),{hasMenu:!0})})),r._onItemKeyDown=function(e){var t=r.props,n=t.item,o=t.onItemKeyDown;e.which===f.c.enter?(r._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(n,e)},r._getSubmenuTarget=function(){return r._splitButton},r._renderAriaDescription=function(e,t){return e?o.createElement("span",{id:r._ariaDescriptionId,className:t},e):null},r._onItemMouseEnterPrimary=function(e){var t=r.props,o=t.item,i=t.onItemMouseEnter;i&&i((0,n.Cl)((0,n.Cl)({},o),{subMenuProps:void 0,items:void 0}),e,r._splitButton)},r._onItemMouseEnterIcon=function(e){var t=r.props,n=t.item,o=t.onItemMouseEnter;o&&o(n,e,r._splitButton)},r._onItemMouseMovePrimary=function(e){var t=r.props,o=t.item,i=t.onItemMouseMove;i&&i((0,n.Cl)((0,n.Cl)({},o),{subMenuProps:void 0,items:void 0}),e,r._splitButton)},r._onItemMouseMoveIcon=function(e){var t=r.props,n=t.item,o=t.onItemMouseMove;o&&o(n,e,r._splitButton)},r._onIconItemClick=function(e){var t=r.props,n=t.item,o=t.onItemClickBase;o&&o(n,e,r._splitButton?r._splitButton:e.currentTarget)},r._executeItemClick=function(e){var t=r.props,n=t.item,o=t.executeItemClick,i=t.onItemClick;if(!n.disabled&&!n.isDisabled)return r._processingTouch&&!n.canCheck&&i?i(n,e):void(o&&o(n,e))},r._onTouchStart=function(e){r._splitButton&&!("onpointerdown"in r._splitButton)&&r._handleTouchAndPointerEvent(e)},r._onPointerDown=function(e){"touch"===e.pointerType&&(r._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},r._async=new oe.j(r),r._events=new ie.g(r),r._dismissLabelId=(0,Z.O)(),r}return(0,n.C6)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,r=this.props,i=r.item,a=r.classNames,s=r.index,l=r.focusableElementIndex,u=r.totalItemCount,c=r.hasCheckmarks,d=r.hasIcons,p=r.onItemMouseLeave,h=r.expandedMenuItemKey,g=A(i),m=i.keytipProps;m&&(m=this._getMemoizedMenuButtonKeytipProps(m));var f=i.ariaDescription;f&&(this._ariaDescriptionId=(0,Z.O)());var v=null!==(e=E(i))&&void 0!==e?e:void 0;return o.createElement(re.x,{keytipProps:m,disabled:I(i)},(function(e){return o.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:x(i),"aria-label":i.ariaLabel,className:a.splitContainer,"aria-disabled":I(i),"aria-expanded":g?i.key===h:void 0,"aria-haspopup":!0,"aria-describedby":(0,ee._)(i.ariaDescribedBy,f?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":v,"aria-posinset":l+1,"aria-setsize":u,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:p?p.bind(t,(0,n.Cl)((0,n.Cl)({},i),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":i["aria-roledescription"]},t._renderSplitPrimaryButton(i,a,s,c,d),t._renderSplitDivider(i),t._renderSplitIconButton(i,a,s,e),t._renderAriaDescription(f,a.screenReaderText))}))},t.prototype._renderSplitPrimaryButton=function(e,t,r,i,a){var s=this.props,l=s.contextualMenuItemAs,u=void 0===l?J:l,c=s.onItemClick,d={key:e.key,disabled:I(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onClick:e.onClick,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},p=e.itemProps;return o.createElement("button",(0,n.Cl)({},(0,T.G1)(d,T.uw)),o.createElement(u,(0,n.Cl)({"data-is-focusable":!1,item:d,classNames:t,index:r,onCheckmarkClick:i&&c?c:void 0,hasIcons:a},p)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||$;return o.createElement(ae.G,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,r,i){var a=this.props,s=a.onItemMouseLeave,l=a.onItemMouseDown,u=a.openSubMenu,c=a.dismissSubMenu,d=a.dismissMenu,p=J;this.props.item.contextualMenuItemAs&&(p=(0,C.C)(this.props.item.contextualMenuItemAs,p)),this.props.contextualMenuItemAs&&(p=(0,C.C)(this.props.contextualMenuItemAs,p));var h={onClick:this._onIconItemClick,disabled:I(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},g=(0,n.Cl)((0,n.Cl)({},(0,T.G1)(h,T.uw)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:s?s.bind(this,e):void 0,onMouseDown:function(t){return l?l(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":i["data-ktp-execute-target"],"aria-haspopup":!0}),m=e.itemProps;return o.createElement("button",(0,n.Cl)({},g),o.createElement(p,(0,n.Cl)({componentRef:e.componentRef,item:h,classNames:t,index:r,hasIcons:!1,openSubMenu:u,dismissSubMenu:c,dismissMenu:d,getSubmenuTarget:this._getSubmenuTarget},m)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,r=this.props.onTap;r&&r(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}(te),le=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=o.createRef(),t._getMemoizedMenuButtonKeytipProps=(0,p.J9)((function(e){return(0,n.Cl)((0,n.Cl)({},e),{hasMenu:!0})})),t._renderAriaDescription=function(e,r){return e?o.createElement("span",{id:t._ariaDescriptionId,className:r},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return(0,n.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,u=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,p=t.expandedMenuItemKey,h=t.onItemMouseDown,g=t.onItemClick,m=t.openSubMenu,f=t.dismissSubMenu,v=t.dismissMenu,b=J;r.contextualMenuItemAs&&(b=(0,C.C)(r.contextualMenuItemAs,b)),d&&(b=(0,C.C)(d,b));var y=E(r),S=null!==y,k=x(r),F=A(r),w=r.itemProps,P=r.ariaLabel,R=r.ariaDescription,D=(0,T.G1)(r,T.uw);delete D.disabled;var _=r.role||k;R&&(this._ariaDescriptionId=(0,Z.O)());var N=(0,ee._)(r.ariaDescribedBy,R?this._ariaDescriptionId:void 0,D["aria-describedby"]),O={className:i.root,onClick:this._onItemClick,onKeyDown:F?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return h?h(r,e):void 0},onMouseMove:this._onItemMouseMove,href:r.href,title:r.title,"aria-label":P,"aria-describedby":N,"aria-haspopup":F||void 0,"aria-expanded":F?r.key===p:void 0,"aria-posinset":s+1,"aria-setsize":l,"aria-disabled":I(r),"aria-checked":"menuitemcheckbox"!==_&&"menuitemradio"!==_||!S?void 0:!!y,"aria-selected":"menuitem"===_&&S?!!y:void 0,role:_,style:r.style},M=r.keytipProps;return M&&F&&(M=this._getMemoizedMenuButtonKeytipProps(M)),o.createElement(re.x,{keytipProps:M,ariaDescribedBy:N,disabled:I(r)},(function(t){return o.createElement("button",(0,n.Cl)({ref:e._btn},D,O,t),o.createElement(b,(0,n.Cl)({componentRef:r.componentRef,item:r,classNames:i,index:a,onCheckmarkClick:u&&g?g:void 0,hasIcons:c,openSubMenu:m,dismissSubMenu:f,dismissMenu:v,getSubmenuTarget:e._getSubmenuTarget},w)),e._renderAriaDescription(R,i.screenReaderText))}))},t}(te),ue=r(57142),ce=r(30838),de=r(80837),pe=r(34907),he=r(44018),ge=r(12215),me=r(59432);!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(w||(w={}));var fe,ve,be=[479,639,1023,1365,1919,99999999];function ye(){var e;return null!==(e=null!=fe?fe:ve)&&void 0!==e?e:w.large}function Se(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var Ce=r(18660),Te=o.createContext({}),ke=(0,d.Z)(),Fe=(0,d.Z)(),Ee={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:l.A.bottomAutoEdge,beakWidth:16};function Ae(e){for(var t=0,r=0,n=e;r<n.length;r++){var o=n[r];o.itemType!==s.G.Divider&&o.itemType!==s.G.Header&&(t+=o.customOnRenderListLength?o.customOnRenderListLength:1)}return t}function Ie(e,t){var r=null==t?void 0:t.target,o=e.subMenuProps?e.subMenuProps.items:e.items;if(o){for(var i=[],a=0,s=o;a<s.length;a++){var l=s[a];if(l.preferMenuTargetAsEventTarget){var u=l.onClick,c=(0,n.Tt)(l,["onClick"]);i.push((0,n.Cl)((0,n.Cl)({},c),{onClick:Me(u,r)}))}else i.push(l)}return i}}var xe="ContextualMenu",we=(0,p.J9)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return W.pB.apply(void 0,(0,n.fX)([t,Y],e,!1))}}));function Pe(e,t){var r=e.hidden,n=e.items,i=e.theme,a=e.className,s=e.id,u=e.target,c=o.useState(),d=c[0],p=c[1],m=o.useState(),f=m[0],v=m[1],b=o.useState(),y=b[0],S=b[1],C=(0,ce.B)(xe,s),T=o.useCallback((function(){S(void 0),p(void 0),v(void 0)}),[]),k=o.useCallback((function(e,t,r){var n=e.key;d!==n&&(t.focus(),S(r),p(n),v(t))}),[d]);o.useEffect((function(){r&&T()}),[r,T]);var F=function(e,t){var r=o.useRef(!1);o.useEffect((function(){return r.current=!0,function(){r.current=!1}}),[]);return function(n,o){o?e(n,o):r.current&&t()}}(t,T);return[d,k,function(){var e=Oe(d,n),t=null;if(e&&(t={items:Ie(e,{target:u}),target:f,onDismiss:F,isSubMenu:!0,id:C,shouldFocusOnMount:!0,shouldFocusOnContainer:y,directionalHint:(0,h.jI)(i)?l.A.leftTopEdge:l.A.rightTopEdge,className:a,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&(0,g.kp)(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var r=e.onItemClick;t.onItemClick=Me(r,u)}return t},F]}var Re=o.memo(o.forwardRef((function(e,t){var r,i=(0,S.N)(Ee,e),a=(i.ref,(0,n.Tt)(i,["ref"])),l=o.useRef(null),d=(0,pe.Y)(),p=(0,ce.B)(xe,a.id),g=function(e,t){var r;return null===(r=a.onDismiss)||void 0===r?void 0:r.call(a,e,t)},x=(0,he.P)(a.target,l),R=x[0],D=x[1],_=function(e,t,r){var n=e.hidden,i=e.onRestoreFocus,a=o.useRef(),s=o.useCallback((function(e){var t,r;i?i(e):(null==e?void 0:e.documentContainsFocus)&&(null===(r=null===(t=a.current)||void 0===t?void 0:t.focus)||void 0===r||r.call(t))}),[i]);return(0,de.E)((function(){var e,o;if(n)a.current&&(s({originalElement:a.current,containsFocus:!0,documentContainsFocus:(null===(o=(0,m.Y)())||void 0===o?void 0:o.hasFocus())||!1}),a.current=void 0);else{var i=null==t?void 0:t.document.activeElement;(null===(e=r.current)||void 0===e?void 0:e.contains(i))||"BODY"===i.tagName||(a.current=i)}}),[n,null==t?void 0:t.document.activeElement,s,r]),[s]}(a,D,l)[0],N=Pe(a,g),O=N[0],M=N[1],B=N[2],L=N[3],K=function(e){var t=e.delayUpdateFocusOnHover,r=e.hidden,n=o.useRef(!t),i=o.useRef(!1);o.useEffect((function(){n.current=!t,i.current=!r&&!t&&i.current}),[t,r]);var a=o.useCallback((function(){t&&(n.current=!1)}),[t]);return[n,i,a]}(a),W=K[0],H=K[1],G=K[2],z=function(e){var t=o.useRef(!0),r=o.useRef();return[function(){t.current||void 0===r.current?t.current=!1:(e.clearTimeout(r.current),r.current=void 0),r.current=e.setTimeout((function(){t.current=!0}),250)},t]}(d),U=z[0],V=z[1],j=function(e,t){var r=e.subMenuHoverDelay,n=void 0===r?250:r,i=o.useRef(void 0),a=function(){void 0!==i.current&&(t.clearTimeout(i.current),i.current=void 0)};return[a,function(e){i.current=t.setTimeout((function(){e(),a()}),n)},i]}(a,d),q=j[0],$=j[1],Q=j[2],X=function(e,t){var r=o.useState(ye()),n=r[0],i=r[1],a=o.useCallback((function(){var t=function(e){var t=w.small;if(e){try{for(;Se(e)>be[t];)t++}catch(e){t=ye()}ve=t}else{if(void 0===fe)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");t=fe}return t}((0,ge.z)(e.current));n!==t&&i(t)}),[e,n]),s=(0,Ce.ox)();return(0,me.x)(s,"resize",a),o.useEffect((function(){void 0===t&&a()}),[t]),null!=t?t:n}(l,a.responsiveMode);!function(e,t){var r=e.hidden,n=void 0!==r&&r,i=e.onMenuDismissed,a=e.onMenuOpened,s=(0,ue.Z)(n),l=o.useRef(a),u=o.useRef(i),c=o.useRef(e);l.current=a,u.current=i,c.current=e,o.useEffect((function(){var e,t;n&&!1===s?null===(e=u.current)||void 0===e||e.call(u,c.current):n||!1===s||null===(t=l.current)||void 0===t||t.call(l,c.current)}),[n,s]),o.useEffect((function(){return function(){var e;return null===(e=u.current)||void 0===e?void 0:e.call(u,c.current)}}),[])}(a);var Y,Z=function(e,t,r,n){var i=e.theme,a=e.isSubMenu,s=e.focusZoneProps,l=void 0===s?{}:s,c=l.checkForNoWrap,d=l.direction,p=void 0===d?u.E.vertical:d,g=o.useRef(),m=function(e,r,n){var o=!1;return r(e)&&(t(e,n),e.preventDefault(),e.stopPropagation(),o=!0),o},S=function(e){return e.which===f.c.escape||function(e){var t=(0,h.jI)(i)?f.c.right:f.c.left;return!(e.which!==t||!a||p!==u.E.vertical&&(!c||(0,v._l)(e.target,"data-no-horizontal-wrap")))}(e)||e.which===f.c.up&&(e.altKey||e.metaKey)},C=function(e){g.current=De(e);var t=e.which===f.c.escape&&((0,b.c)()||(0,y.u)());return m(e,S,t)},T=function(e){var t=g.current&&De(e);return g.current=!1,!!t&&!((0,y.u)()||(0,b.c)())};return[C,function(e){return m(e,T,!0)},function(e){if(!C(e)&&r.current){var t=!(!e.altKey&&!e.metaKey),n=e.which===f.c.up,o=e.which===f.c.down;if(!t&&(n||o)){var i=n?(0,v.dm)(r.current,r.current.lastChild,!0):(0,v.j5)(r.current,r.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var r=(0,h.jI)(i)?f.c.left:f.c.right;e.disabled||t.which!==r&&t.which!==f.c.enter&&(t.which!==f.c.down||!t.altKey&&!t.metaKey)||(n(e,t.currentTarget),t.preventDefault())}]}(a,g,l,M),ee=Z[0],te=Z[1],re=Z[2],oe=Z[3],ie=function(e,t,r,n,o,i,a,s,l,u,c,d,p){var h=e.target,g=function(){return!t.current||!i.current},m=function(e,t,r){var n=r||t.currentTarget;e.key!==a&&(u(),void 0===a&&n.focus(),A(e)?(t.stopPropagation(),l((function(){n.focus(),c(e,n,!0)}))):l((function(){d(t),n.focus()})))},f=function(t,r,n){var o=Ie(t,{target:h});if(u(),A(t)||o&&o.length){if(t.key!==a){var i="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===r.nativeEvent.pointerType;c(t,n,i)}}else v(t,r);r.stopPropagation(),r.preventDefault()},v=function(t,r){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&Be(r,h);var n=!1;t.onClick?n=!!t.onClick(r,t):e.onItemClick&&(n=!!e.onItemClick(r,t)),!n&&r.defaultPrevented||p(r,!0)}};return[function(e,t,r){o.current&&(i.current=!0),g()||m(e,t,r)},function(e,a,s){var l=a.currentTarget;o.current&&(i.current=!0,t.current&&void 0===r.current&&l!==(null==n?void 0:n.document.activeElement)&&m(e,a,s))},function(e,t){var r;if(!g()&&(u(),void 0===a))if(s.current.setActive)try{s.current.setActive()}catch(e){}else null===(r=s.current)||void 0===r||r.focus()},function(e,t){f(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,f]}(a,V,Q,D,W,H,O,l,$,q,M,L,g),ae=ie[0],Re=ie[1],Oe=ie[2],Me=ie[3],Le=ie[4],Ke=ie[5],We=ie[6],He=function(e,t,r){var n=0,i=e.items,a=e.totalItemCount,l=e.hasCheckmarks,u=e.hasIcons;return o.createElement("ul",{className:t.list,onKeyDown:ee,onKeyUp:te,role:"presentation"},i.map((function(e,r){var o=Ge(e,r,n,a,l,u,t);if(e.itemType!==s.G.Divider&&e.itemType!==s.G.Header){var i=e.customOnRenderListLength?e.customOnRenderListLength:1;n+=i}return o})))},Ge=function(e,t,r,n,i,l,u){var c,d,p=[],h=e.iconProps||{iconName:"None"},g=e.getItemClassNames,m=e.itemProps,f=m?m.styles:void 0,v=e.itemType===s.G.Divider?e.className:void 0,b=e.submenuIconProps?e.submenuIconProps.className:"";if(g)d=g(a.theme,I(e),O===e.key,!!E(e),!!e.href,"None"!==h.iconName,e.className,v,h.className,b,e.primaryDisabled);else{var y={theme:a.theme,disabled:I(e),expanded:O===e.key,checked:!!E(e),isAnchorLink:!!e.href,knownIcon:"None"!==h.iconName,itemClassName:e.className,dividerClassName:v,iconClassName:h.className,subMenuClassName:b,primaryDisabled:e.primaryDisabled};d=Fe(we(null===(c=u.subComponentStyles)||void 0===c?void 0:c.menuItem,f),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=s.G.Divider),e.itemType){case s.G.Divider:p.push(Ve(t,d));break;case s.G.Header:p.push(Ve(t,d));var S=qe(e,d,u,t,i,l);p.push(Ue(S,e.key||t,d,e.title));break;case s.G.Section:p.push(ze(e,d,u,t,i,l));break;default:var C=function(){return je(e,d,t,r,n,i,l)},T=a.onRenderContextualMenuItem?a.onRenderContextualMenuItem(e,C):C();p.push(Ue(T,e.key||t,d,e.title))}return o.createElement(o.Fragment,{key:e.key},p)},ze=function(e,t,r,i,a,l){var u=e.sectionProps;if(u){var c,d;if(u.title){var h=void 0,g="";if("string"==typeof u.title){var m=p+u.title.replace(/\s/g,"");h={key:"section-".concat(u.title,"-title"),itemType:s.G.Header,text:u.title,id:m},g=m}else{var f=u.title.id||p+u.title.key.replace(/\s/g,"");h=(0,n.Cl)((0,n.Cl)({},u.title),{id:f}),g=f}h&&(d={role:"group","aria-labelledby":g},c=qe(h,t,r,i,a,l))}if(u.items&&u.items.length>0){var v=0;return o.createElement("li",{role:"presentation",key:u.key||e.key||"section-".concat(i)},o.createElement("div",(0,n.Cl)({},d),o.createElement("ul",{className:r.list,role:"presentation"},u.topDivider&&Ve(i,t,!0,!0),c&&Ue(c,e.key||i,t,e.title),u.items.map((function(e,t){var n=Ge(e,t,v,Ae(u.items),a,l,r);if(e.itemType!==s.G.Divider&&e.itemType!==s.G.Header){var o=e.customOnRenderListLength?e.customOnRenderListLength:1;v+=o}return n})),u.bottomDivider&&Ve(i,t,!1,!0))))}}},Ue=function(e,t,r,n){return o.createElement("li",{role:"presentation",title:n,key:t,className:r.item},e)},Ve=function(e,t,r,n){return n||e>0?o.createElement("li",{role:"separator",key:"separator-"+e+(void 0===r?"":r?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},je=function(e,t,r,i,s,l,u){if(e.onRender)return e.onRender((0,n.Cl)({"aria-posinset":i+1,"aria-setsize":s},e),g);var c={item:e,classNames:t,index:r,focusableElementIndex:i,totalItemCount:s,hasCheckmarks:l,hasIcons:u,contextualMenuItemAs:a.contextualMenuItemAs,onItemMouseEnter:ae,onItemMouseLeave:Oe,onItemMouseMove:Re,onItemMouseDown:_e,executeItemClick:Ke,onItemKeyDown:oe,expandedMenuItemKey:O,openSubMenu:M,dismissSubMenu:L,dismissMenu:g};if(e.href){var d=ne;return e.contextualMenuItemWrapperAs&&(d=(0,C.C)(e.contextualMenuItemWrapperAs,d)),o.createElement(d,(0,n.Cl)({},c,{onItemClick:Le}))}if(e.split&&A(e)){var p=se;return e.contextualMenuItemWrapperAs&&(p=(0,C.C)(e.contextualMenuItemWrapperAs,p)),o.createElement(p,(0,n.Cl)({},c,{onItemClick:Me,onItemClickBase:We,onTap:q}))}var h=le;return e.contextualMenuItemWrapperAs&&(h=(0,C.C)(e.contextualMenuItemWrapperAs,h)),o.createElement(h,(0,n.Cl)({},c,{onItemClick:Me,onItemClickBase:We}))},qe=function(e,t,r,i,s,l){var u=J;e.contextualMenuItemAs&&(u=(0,C.C)(e.contextualMenuItemAs,u)),a.contextualMenuItemAs&&(u=(0,C.C)(a.contextualMenuItemAs,u));var c=e.itemProps,d=e.id,p=c&&(0,T.G1)(c,T.JM);return o.createElement("div",(0,n.Cl)({id:d,className:r.header},p,{style:e.style}),o.createElement(u,(0,n.Cl)({item:e,classNames:t,index:i,onCheckmarkClick:s?Me:void 0,hasIcons:l},c)))},$e=a.isBeakVisible,Qe=a.items,Xe=a.labelElementId,Ye=a.id,Je=a.className,Ze=a.beakWidth,et=a.directionalHint,tt=a.directionalHintForRTL,rt=a.alignTargetEdge,nt=a.gapSpace,ot=a.coverTarget,it=a.ariaLabel,at=a.doNotLayer,st=a.target,lt=a.bounds,ut=a.useTargetWidth,ct=a.useTargetAsMinWidth,dt=a.directionalHintFixed,pt=a.shouldFocusOnMount,ht=a.shouldFocusOnContainer,gt=a.title,mt=a.styles,ft=a.theme,vt=a.calloutProps,bt=a.onRenderSubMenu,yt=void 0===bt?Ne:bt,St=a.onRenderMenuList,Ct=void 0===St?function(e,t){return He(e,Ft)}:St,Tt=a.focusZoneProps,kt=a.getMenuClassNames,Ft=kt?kt(ft,Je):ke(mt,{theme:ft,className:Je}),Et=function e(t){for(var r=0,n=t;r<n.length;r++){var o=n[r];if(o.iconProps)return!0;if(o.itemType===s.G.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}(Qe),At=(0,n.Cl)((0,n.Cl)({direction:u.E.vertical,handleTabKey:u.l.all,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},Tt),{className:(0,k.A)(Ft.root,null===(r=a.focusZoneProps)||void 0===r?void 0:r.className)}),It=function(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}(Qe),xt=O&&!0!==a.hidden?B():null;$e=void 0===$e?X<=w.medium:$e;var wt=R.current;if((ut||ct)&&wt&&wt.offsetWidth){var Pt=wt.getBoundingClientRect().width-2;ut?Y={width:Pt}:ct&&(Y={minWidth:Pt})}if(Qe&&Qe.length>0){var Rt=Ae(Qe),Dt=Ft.subComponentStyles?Ft.subComponentStyles.callout:void 0;return o.createElement(Te.Consumer,null,(function(e){return o.createElement(P.P,(0,n.Cl)({styles:Dt,onRestoreFocus:_},vt,{target:st||e.target,isBeakVisible:$e,beakWidth:Ze,directionalHint:et,directionalHintForRTL:tt,gapSpace:nt,coverTarget:ot,doNotLayer:at,className:(0,k.A)("ms-ContextualMenu-Callout",vt&&vt.className),setInitialFocus:pt,onDismiss:a.onDismiss||e.onDismiss,onScroll:U,bounds:lt,directionalHintFixed:dt,alignTargetEdge:rt,hidden:a.hidden||e.hidden,ref:t}),o.createElement("div",{style:Y,ref:l,id:Ye,className:Ft.container,tabIndex:ht?0:-1,onKeyDown:re,onKeyUp:te,onFocusCapture:G,"aria-label":it,"aria-labelledby":Xe,role:"menu"},gt&&o.createElement("div",{className:Ft.title}," ",gt," "),Qe&&Qe.length?function(e,t){var r=a.focusZoneAs,i=void 0===r?c.R:r;return o.createElement(i,(0,n.Cl)({},t),e)}(Ct({ariaLabel:it,items:Qe,totalItemCount:Rt,hasCheckmarks:It,hasIcons:Et,defaultMenuItemRenderer:function(e){return function(e,t){var r=e.index,n=e.focusableElementIndex,o=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return Ge(e,r,n,o,i,a,t)}(e,Ft)},labelElementId:Xe},(function(e,t){return He(e,Ft)})),At):null,xt&&yt(xt,Ne)),o.createElement(F.MO,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||(0,g.ab)(e,t)}));function De(e){return e.which===f.c.alt||"Meta"===e.key}function _e(e,t){var r;null===(r=e.onMouseDown)||void 0===r||r.call(e,e,t)}function Ne(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Oe(e,t){for(var r=0,n=t;r<n.length;r++){var o=n[r];if(o.itemType===s.G.Section&&o.sectionProps){var i=Oe(e,o.sectionProps.items);if(i)return i}else if(o.key&&o.key===e)return o}}function Me(e,t){return e?function(r,n){return Be(r,t),e(r,n)}:e}function Be(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Re.displayName="ContextualMenuBase";var Le={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ke(e){return o.createElement(We,(0,n.Cl)({},e))}var We=(0,i.I)(Re,(function(e){var t=e.className,r=e.theme,n=(0,W.Km)(Le,r),o=r.fonts,i=r.semanticColors,a=r.effects;return{root:[r.fonts.medium,n.root,n.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[n.container,{selectors:{":focus":{outline:0}}}],list:[n.list,n.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[n.header,o.small,{fontWeight:W.BO.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:G,lineHeight:G,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[n.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(e){return{onRenderSubMenu:e.onRenderSubMenu?(0,a.j)(e.onRenderSubMenu,Ke):Ke}}),{scope:"ContextualMenu"}),He=We;He.displayName="ContextualMenu"},82802:(e,t,r)=>{"use strict";var n;r.d(t,{G:()=>n}),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(n||(n={}))},51195:(e,t,r)=>{"use strict";r.d(t,{G:()=>a});var n=r(10477),o=(0,r(50550).Z)(),i=n.forwardRef((function(e,t){var r=e.styles,i=e.theme,a=e.getClassNames,s=e.className,l=o(r,{theme:i,getClassNames:a,className:s});return n.createElement("span",{className:l.wrapper,ref:t},n.createElement("span",{className:l.divider}))}));i.displayName="VerticalDividerBase";var a=(0,r(73725).I)(i,(function(e){var t=e.theme,r=e.getClassNames,n=e.className;if(!t)throw new Error("Theme is undefined or null.");if(r){var o=r(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},n],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"})},49598:(e,t,r)=>{"use strict";r.d(t,{l8:()=>d,ne:()=>c});var n=r(54029),o=r(10477),i=r(63311),a=r(90044),s=r(82015),l=r(24011),u=r(39398),c=(0,a.J9)((function(e){var t=(0,u.sW)(e)||{subset:{},code:void 0},r=t.code,n=t.subset;return r?{children:r,iconClassName:n.className,fontFamily:n.fontFace&&n.fontFace.fontFamily,mergeImageProps:n.mergeImageProps}:null}),void 0,!0),d=function(e){var t=e.iconName,r=e.className,a=e.style,u=void 0===a?{}:a,d=c(t)||{},p=d.iconClassName,h=d.children,g=d.fontFamily,m=d.mergeImageProps,f=(0,s.G1)(e,s.vt),v=e["aria-label"]||e.title,b=e["aria-label"]||e["aria-labelledby"]||e.title?{role:m?void 0:"img"}:{"aria-hidden":!0},y=h;return m&&"object"==typeof h&&"object"==typeof h.props&&v&&(y=o.cloneElement(h,{alt:v})),o.createElement("i",(0,n.Cl)({"data-icon-name":t},b,f,m?{title:void 0,"aria-label":void 0}:{},{className:(0,l.A)(i.xD,i.xW.root,p,!t&&i.xW.placeholder,r),style:(0,n.Cl)({fontFamily:g},u)}),y)};(0,a.J9)((function(e,t,r){return d({iconName:e,className:t,"aria-label":r})}))},37241:(e,t,r)=>{"use strict";r.d(t,{I:()=>m});var n,o=r(73725),i=r(54029),a=r(10477);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(n||(n={}));var s=r(82313),l=r(80352),u=r(50550),c=r(82015),d=r(49598),p=(0,u.Z)({cacheSize:100}),h=function(e){function t(t){var r=e.call(this,t)||this;return r._onImageLoadingStateChange=function(e){r.props.imageProps&&r.props.imageProps.onLoadingStateChange&&r.props.imageProps.onLoadingStateChange(e),e===l.P6.error&&r.setState({imageLoadError:!0})},r.state={imageLoadError:!1},r}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.className,o=e.styles,l=e.iconName,u=e.imageErrorAs,h=e.theme,g="string"==typeof l&&0===l.length,m=!!this.props.imageProps||this.props.iconType===n.image||this.props.iconType===n.Image,f=(0,d.ne)(l)||{},v=f.iconClassName,b=f.children,y=f.mergeImageProps,S=p(o,{theme:h,className:r,iconClassName:v,isImage:m,isPlaceholder:g}),C=m?"span":"i",T=(0,c.G1)(this.props,c.vt,["aria-label"]),k=this.state.imageLoadError,F=(0,i.Cl)((0,i.Cl)({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),E=k&&u||s._,A=this.props["aria-label"]||this.props.ariaLabel,I=F.alt||A||this.props.title,x=I||this.props["aria-labelledby"]||F["aria-label"]||F["aria-labelledby"]?{role:m||y?void 0:"img","aria-label":m||y?void 0:I}:{"aria-hidden":!0},w=b;return y&&b&&"object"==typeof b&&I&&(w=a.cloneElement(b,{alt:I})),a.createElement(C,(0,i.Cl)({"data-icon-name":l},x,T,y?{title:void 0,"aria-label":void 0}:{},{className:S.root}),m?a.createElement(E,(0,i.Cl)({},F)):t||w)},t}(a.Component),g=r(63311),m=(0,o.I)(h,g.$f,void 0,{scope:"Icon"},!0);m.displayName="Icon"},63311:(e,t,r)=>{"use strict";r.d(t,{$f:()=>i,xD:()=>o,xW:()=>n});var n=(0,r(39398).l8)({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),o="ms-Icon",i=function(e){var t=e.className,r=e.iconClassName,o=e.isPlaceholder,i=e.isImage,a=e.styles;return{root:[o&&n.placeholder,n.root,i&&n.image,r,t,a&&a.root,a&&a.imageContainer]}}},82313:(e,t,r)=>{"use strict";r.d(t,{_:()=>v});var n=r(73725),o=r(54029),i=r(10477),a=r(50550),s=r(82015),l=r(80352),u=r(80837),c=r(39773),d=(0,a.Z)(),p=/\.svg$/i,h=i.forwardRef((function(e,t){var r=i.useRef(),n=i.useRef(),a=function(e,t){var r=e.onLoadingStateChange,n=e.onLoad,o=e.onError,a=e.src,s=i.useState(l.P6.notLoaded),c=s[0],d=s[1];(0,u.E)((function(){d(l.P6.notLoaded)}),[a]),i.useEffect((function(){c===l.P6.notLoaded&&t.current&&(a&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&p.test(a))&&d(l.P6.loaded)})),i.useEffect((function(){null==r||r(c)}),[c]);var h=i.useCallback((function(e){null==n||n(e),a&&d(l.P6.loaded)}),[a,n]),g=i.useCallback((function(e){null==o||o(e),d(l.P6.error)}),[o]);return[c,h,g]}(e,n),h=a[0],g=a[1],m=a[2],f=(0,s.G1)(e,s.xM,["width","height"]),v=e.src,b=e.alt,y=e.width,S=e.height,C=e.shouldFadeIn,T=void 0===C||C,k=e.shouldStartVisible,F=e.className,E=e.imageFit,A=e.role,I=e.maximizeFrame,x=e.styles,w=e.theme,P=e.loading,R=function(e,t,r,n){var o=i.useRef(t),a=i.useRef();return(void 0===a||o.current===l.P6.notLoaded&&t===l.P6.loaded)&&(a.current=function(e,t,r,n){var o=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===l.P6.loaded&&(o===l.N_.cover||o===l.N_.contain||o===l.N_.centerContain||o===l.N_.centerCover)&&r.current&&n.current){var s;if(s="number"==typeof i&&"number"==typeof a&&o!==l.N_.centerContain&&o!==l.N_.centerCover?i/a:n.current.clientWidth/n.current.clientHeight,r.current.naturalWidth/r.current.naturalHeight>s)return l.Aw.landscape}return l.Aw.portrait}(e,t,r,n)),o.current=t,a.current}(e,h,n,r),D=d(x,{theme:w,className:F,width:y,height:S,maximizeFrame:I,shouldFadeIn:T,shouldStartVisible:k,isLoaded:h===l.P6.loaded||h===l.P6.notLoaded&&e.shouldStartVisible,isLandscape:R===l.Aw.landscape,isCenter:E===l.N_.center,isCenterContain:E===l.N_.centerContain,isCenterCover:E===l.N_.centerCover,isContain:E===l.N_.contain,isCover:E===l.N_.cover,isNone:E===l.N_.none,isError:h===l.P6.error,isNotImageFit:void 0===E});return i.createElement("div",{className:D.root,style:{width:y,height:S},ref:r},i.createElement("img",(0,o.Cl)({},f,{onLoad:g,onError:m,key:"fabricImage"+e.src||"",className:D.image,ref:(0,c.a)(n,t),src:v,alt:b,role:A,loading:P})))}));h.displayName="ImageBase";var g=r(39398),m=r(12215),f={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},v=(0,n.I)(h,(function(e){var t=e.className,r=e.width,n=e.height,o=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,u=e.isCenter,c=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,v=e.isNone,b=e.isError,y=e.isNotImageFit,S=e.theme,C=(0,g.Km)(f,S),T={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},k=(0,m.z)(),F=void 0!==k&&void 0===k.navigator.msMaxTouchPoints,E=c&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[C.root,S.fonts.medium,{overflow:"hidden"},o&&[C.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&g.lw.fadeIn400,(u||c||d||p||h)&&{position:"relative"},t],image:[C.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],u&&[C.imageCenter,T],c&&[C.imageContain,F&&{width:"100%",height:"100%",objectFit:"contain"},!F&&E,!F&&T],d&&[C.imageCover,F&&{width:"100%",height:"100%",objectFit:"cover"},!F&&E,!F&&T],p&&[C.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},T],h&&[C.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},T],v&&[C.imageNone,{width:"auto",height:"auto"}],y&&[!!r&&!n&&{height:"auto",width:"100%"},!r&&!!n&&{height:"100%",width:"auto"},!!r&&!!n&&{height:"100%",width:"100%"}],l&&C.imageLandscape,!l&&C.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",b&&"is-error"]}}),void 0,{scope:"Image"},!0);v.displayName="Image"},80352:(e,t,r)=>{"use strict";var n,o,i;r.d(t,{Aw:()=>o,N_:()=>n,P6:()=>i}),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(n||(n={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(o||(o={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(i||(i={}))},26277:(e,t,r)=>{"use strict";r.d(t,{x:()=>a});var n=r(54029),o=r(3287),i=r(7550),a=function(e){var t,r=e.children,a=(0,n.Tt)(e,["children"]),s=(0,i.i)(a),l=s.keytipId,u=s.ariaDescribedBy;return r(((t={})[o.aR]=l,t[o.er]=l,t["aria-describedby"]=u,t))}},7550:(e,t,r)=>{"use strict";r.d(t,{i:()=>d});var n=r(54029),o=r(10477),i=r(21160),a=r(57142),s=r(80837),l=r(56419),u=r(60505),c=r(13639);function d(e){var t=o.useRef(),r=e.keytipProps?(0,n.Cl)({disabled:e.disabled},e.keytipProps):void 0,d=(0,i.d)(u._.getInstance()),p=(0,a.Z)(e);(0,s.E)((function(){t.current&&r&&((null==p?void 0:p.keytipProps)!==e.keytipProps||(null==p?void 0:p.disabled)!==e.disabled)&&d.update(r,t.current)})),(0,s.E)((function(){return r&&(t.current=d.register(r)),function(){r&&d.unregister(r,t.current)}}),[]);var h={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return r&&(h=function(e,t,r){var o=e.addParentOverflow(t),i=(0,l._)(r,(0,c.gt)(o.keySequences)),a=(0,n.fX)([],o.keySequences,!0);return o.overflowSetSequence&&(a=(0,c.YY)(a,o.overflowSetSequence)),{ariaDescribedBy:i,keytipId:(0,c.Z2)(a)}}(d,r,e.ariaDescribedBy)),h}},25109:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(10477),o=r(3287),i=r(7550);function a(e){var t=(0,i.i)(e),r=t.keytipId,a=t.ariaDescribedBy;return n.useCallback((function(e){if(e){var t=l(e,o.aR)||e,n=l(e,o.er)||t,i=l(e,o.KR)||n;s(t,o.aR,r),s(n,o.er,r),s(i,"aria-describedby",a,!0)}}),[r,a])}function s(e,t,r,n){if(void 0===n&&(n=!1),e&&r){var o=r;if(n){var i=e.getAttribute(t);i&&-1===i.indexOf(r)&&(o="".concat(i," ").concat(r))}e.setAttribute(t,o)}}function l(e,t){return e.querySelector("[".concat(t,"]"))}},61894:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var n=r(73725),o=r(54029),i=r(10477),a=r(82015),s=(0,r(50550).Z)({cacheSize:100}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,r=void 0===t?"label":t,n=e.children,l=e.className,u=e.disabled,c=e.styles,d=e.required,p=e.theme,h=s(c,{className:l,disabled:u,required:d,theme:p});return i.createElement(r,(0,o.Cl)({},(0,a.G1)(this.props,a.JM),{className:h.root}),n)},t}(i.Component),u=r(39398),c=(0,n.I)(l,(function(e){var t,r=e.theme,n=e.className,i=e.disabled,a=e.required,s=r.semanticColors,l=u.BO.semibold,c=s.bodyText,d=s.disabledBodyText,p=s.errorText;return{root:["ms-Label",r.fonts.medium,{fontWeight:l,color:c,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},i&&{color:d,selectors:(t={},t[u.up]=(0,o.Cl)({color:"GrayText"},(0,u.Qg)()),t)},a&&{selectors:{"::after":{content:"' *'",color:p,paddingRight:12}}},n]}}),void 0,{scope:"Label"})},90056:(e,t,r)=>{"use strict";r.d(t,{N:()=>m});var n=r(73725),o=r(54029),i=r(10477),a=r(39773),s=r(50550),l=r(70361),u=(0,s.Z)(),c=function(e,t){t.as;var r=t.disabled,n=t.target,i=t.href,a=(t.theme,t.getStyles,t.styles,t.componentRef,t.underline,(0,o.Tt)(t,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"==typeof e?"a"===e?(0,o.Cl)({target:n,href:r?void 0:i},a):"button"===e?(0,o.Cl)({type:"button",disabled:r},a):(0,o.Cl)((0,o.Cl)({},a),{disabled:r}):(0,o.Cl)({target:n,href:i,disabled:r},a)},d=i.forwardRef((function(e,t){var r=function(e,t){var r=e.as,n=e.className,s=e.disabled,d=e.href,p=e.onClick,h=e.styles,g=e.theme,m=e.underline,f=i.useRef(null),v=(0,a.a)(f,t);(function(e,t){i.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])})(e,f),(0,l.vk)(f);var b=u(h,{className:n,isButton:!d,isDisabled:s,isUnderlined:m,theme:g}),y=r||(d?"a":"button");return{state:{},slots:{root:y},slotProps:{root:(0,o.Cl)((0,o.Cl)({},c(y,e)),{"aria-disabled":s,className:b.root,onClick:function(e){s?e.preventDefault():p&&p(e)},ref:v})}}}(e,t),n=r.slots,s=r.slotProps;return i.createElement(n.root,(0,o.Cl)({},s.root))}));d.displayName="LinkBase";var p=r(39398),h=r(37442),g={root:"ms-Link"},m=(0,n.I)(d,(function(e){var t,r,n,o,i,a,s,l=e.className,u=e.isButton,c=e.isDisabled,d=e.isUnderlined,m=e.theme,f=m.semanticColors,v=f.link,b=f.linkHovered,y=f.disabledText,S=f.focusBorder,C=(0,p.Km)(g,m);return{root:[C.root,m.fonts.medium,{color:v,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:d?"underline":"none",selectors:(t={},t[".".concat(h.Y2," &:focus, :host(.").concat(h.Y2,") &:focus")]={boxShadow:"0 0 0 1px ".concat(S," inset"),outline:"1px auto ".concat(S),selectors:(r={},r[p.up]={outline:"1px solid WindowText"},r)},t[p.up]={borderBottom:"none"},t)},u&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(n={},n[p.up]={color:"LinkText",forcedColorAdjust:"none"},n)},!u&&{selectors:(o={},o[p.up]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)},c&&["is-disabled",{color:y,cursor:"default"},{selectors:(i={"&:link, &:visited":{pointerEvents:"none"}},i[p.up]={color:"GrayText"},i)}],!c&&{selectors:{"&:active, &:hover, &:active:hover":{color:b,textDecoration:"underline",selectors:(a={},a[p.up]={color:"LinkText"},a)},"&:focus":{color:v,selectors:(s={},s[p.up]={color:"LinkText"},s)}}},C.root,l]}}),void 0,{scope:"Link"})},10783:(e,t,r)=>{"use strict";r.d(t,{B:()=>E});var n=r(54029),o=r(10477),i=r(77672),a=r(69250),s=r(31976),l=r(24077),u=r(76111),c=r(82015),d=r(24011),p=r(29607),h=r(36141),g=r(12215),m=r(22137),f=function(e){if(void 0===e)return 0;var t=0;return"scrollTop"in e?t=e.scrollTop:"scrollY"in e&&(t=e.scrollY),Math.ceil(t)},v=function(e,t){"scrollTop"in e?e.scrollTop=t:"scrollY"in e&&e.scrollTo(e.scrollX,t)},b=r(18660),y=r(20508),S="spacer-",C={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},T=function(e){return e.getBoundingClientRect()},k=T,F=T,E=function(e){function t(t){var r=e.call(this,t)||this;return r._root=o.createRef(),r._surface=o.createRef(),r._pageRefs={},r._getDerivedStateFromProps=function(e,t){return e.items!==r.props.items||e.renderCount!==r.props.renderCount||e.startIndex!==r.props.startIndex||e.version!==r.props.version||!t.hasMounted&&r.props.renderEarly&&(0,i.S)()?(r._resetRequiredWindows(),r._requiredRect=null,r._measureVersion++,r._invalidatePageCache(),r._updatePages(e,t)):t},r._onRenderRoot=function(e){var t=e.rootRef,r=e.surfaceElement,i=e.divProps;return o.createElement("div",(0,n.Cl)({ref:t},i),r)},r._onRenderSurface=function(e){var t=e.surfaceRef,r=e.pageElements,i=e.divProps;return o.createElement("div",(0,n.Cl)({ref:t},i),r)},r._onRenderPage=function(e,t){for(var i,a=r.props,s=a.onRenderCell,l=a.onRenderCellConditional,u=a.role,c=e.page,d=c.items,p=void 0===d?[]:d,h=c.startIndex,g=(0,n.Tt)(e,["page"]),m=void 0===u?"listitem":"presentation",f=[],v=0;v<p.length;v++){var b=h+v,y=p[v],S=r.props.getKey?r.props.getKey(y,b):y&&y.key;null==S&&(S=b);var C=null!=l?l:s,T=null!==(i=null==C?void 0:C(y,b,r.props.ignoreScrollingState?void 0:r.state.isScrolling))&&void 0!==i?i:null;l&&!T||f.push(o.createElement("div",{role:m,className:"ms-List-cell",key:S,"data-list-index":b,"data-automationid":"ListCell"},T))}return o.createElement("div",(0,n.Cl)({},g),f)},(0,a.f)(r),r.state={pages:[],isScrolling:!1,getDerivedStateFromProps:r._getDerivedStateFromProps,hasMounted:!1},r._estimatedPageHeight=0,r._totalEstimates=0,r._requiredWindowsAhead=0,r._requiredWindowsBehind=0,r._measureVersion=0,r._cachedPageHeights={},r._estimatedPageHeight=0,r._focusedIndex=-1,r._pageCache={},r}return(0,n.C6)(t,e),t.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},Object.defineProperty(t.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!1,configurable:!0}),t.prototype.scrollToIndex=function(e,t,r){void 0===r&&(r=0);for(var n=this.props.startIndex,o=n+this._getRenderCount(),i=this._allowedRect,a=0,s=1,l=n;l<o;l+=s){var u=this._getPageSpecification(this.props,l,i),c=u.height;if(s=u.itemCount,l<=e&&l+s>e){if(t&&this._scrollElement){for(var d=F(this._scrollElement),p=f(this._scrollElement),h={top:p,bottom:p+d.height},g=e-l,m=0;m<g;++m)a+=t(l+m);var b=a+t(e);switch(r){case 1:return void v(this._scrollElement,a);case 2:return void v(this._scrollElement,b-d.height);case 3:return void v(this._scrollElement,(a+b-d.height)/2)}if(a>=h.top&&b<=h.bottom)return;a<h.top||b>h.bottom&&(a=b-d.height)}return void(this._scrollElement&&v(this._scrollElement,a))}a+=c}},t.prototype.getStartItemIndexInView=function(e){for(var t=0,r=this.state.pages||[];t<r.length;t++){var n=r[t];if(!n.isSpacer&&(this._scrollTop||0)>=n.top&&(this._scrollTop||0)<=n.top+n.height){if(!e){var o=Math.floor(n.height/n.itemCount);return n.startIndex+Math.floor((this._scrollTop-n.top)/o)}for(var i=0,a=n.startIndex;a<n.startIndex+n.itemCount;a++){if(o=e(a),n.top+i<=this._scrollTop&&this._scrollTop<n.top+i+o)return a;i+=o}}}return 0},t.prototype.componentDidMount=function(){this._async=new s.j(this),this._events=new l.g(this),this._onAsyncScrollDebounced=this._async.debounce(this._onAsyncScroll,100,{leading:!1,maxWait:500}),this._onAsyncIdleDebounced=this._async.debounce(this._onAsyncIdle,200,{leading:!1}),this._onAsyncResizeDebounced=this._async.debounce(this._onAsyncResize,16,{leading:!1}),this._onScrollingDoneDebounced=this._async.debounce(this._onScrollingDone,500,{leading:!1}),this._scrollElement=(0,u.Hc)(this._root.current),this._scrollTop=0,this.setState((0,n.Cl)((0,n.Cl)({},this._updatePages(this.props,this.state)),{hasMounted:!0})),this._measureVersion++;var e=(0,y.k_)(this.context);this._events.on(e,"resize",this._onAsyncResizeDebounced),this._root.current&&this._events.on(this._root.current,"focus",this._onFocus,!0),this._scrollElement&&(this._events.on(this._scrollElement,"scroll",this._onScroll),this._events.on(this._scrollElement,"scroll",this._onAsyncScrollDebounced))},t.prototype.componentDidUpdate=function(e,t){var r=this.props,n=this.state;this.state.pagesVersion!==t.pagesVersion&&(r.getPageHeight?this._onAsyncIdleDebounced():this._updatePageMeasurements(n.pages)?(this._materializedRect=null,this._hasCompletedFirstRender?this._onAsyncScrollDebounced():(this._hasCompletedFirstRender=!0,this.setState(this._updatePages(r,n)))):this._onAsyncIdleDebounced(),r.onPagesUpdated&&r.onPagesUpdated(n.pages))},t.prototype.componentWillUnmount=function(){var e,t;null===(e=this._async)||void 0===e||e.dispose(),null===(t=this._events)||void 0===t||t.dispose(),delete this._scrollElement},t.prototype.shouldComponentUpdate=function(e,t){var r=this.state.pages,n=t.pages,o=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.className!==this.props.className)return!0;if(e.items===this.props.items&&r.length===n.length)for(var i=0;i<r.length;i++){var a=r[i],s=n[i];if(a.key!==s.key||a.itemCount!==s.itemCount){o=!0;break}}else o=!0;return o},t.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,e.prototype.forceUpdate.call(this)},t.prototype.getTotalListHeight=function(){return this._surfaceRect.height},t.prototype.render=function(){for(var e=this.props,t=e.className,r=e.role,o=void 0===r?"list":r,i=e.onRenderSurface,a=e.onRenderRoot,s=this.state.pages,l=void 0===s?[]:s,u=[],p=(0,c.G1)(this.props,c.JM),h=0,g=l;h<g.length;h++){var f=g[h];u.push(this._renderPage(f))}var v=i?(0,m.j)(i,this._onRenderSurface):this._onRenderSurface;return(a?(0,m.j)(a,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:l,surfaceElement:v({surfaceRef:this._surface,pages:l,pageElements:u,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:(0,n.Cl)((0,n.Cl)({},p),{className:(0,d.A)("ms-List",t),role:u.length>0?o:void 0,"aria-label":u.length>0?p["aria-label"]:void 0})})},t.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},t.prototype._invalidatePageCache=function(){this._pageCache={}},t.prototype._renderPage=function(e){var t,r=this,n=this.props.usePageCache;if(n&&(t=this._pageCache[e.key])&&t.pageElement)return t.pageElement;var o=this._getPageStyle(e),i=this.props.onRenderPage,a=(void 0===i?this._onRenderPage:i)({page:e,className:"ms-List-page",key:e.key,ref:function(t){r._pageRefs[e.key]=t},style:o,role:"presentation"},this._onRenderPage);return n&&0===e.startIndex&&(this._pageCache[e.key]={page:e,pageElement:a}),a},t.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return(0,n.Cl)((0,n.Cl)({},t?t(e):{}),e.items?{}:{height:e.height})},t.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var r=t.getAttribute("data-list-index");if(r){this._focusedIndex=Number(r);break}t=(0,p.P)(t)}},t.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDoneDebounced()},t.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},t.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(this.props,this.state),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this.setState(this._updatePages(this.props,this.state))},t.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,r=e.renderedWindowsBehind,n=this._requiredWindowsAhead,o=this._requiredWindowsBehind,i=Math.min(t,n+1),a=Math.min(r,o+1);i===n&&a===o||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(t>i||r>a)&&this._onAsyncIdleDebounced()},t.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||(this.setState({isScrolling:!1}),this._onAsyncIdle())},t.prototype._onAsyncResize=function(){this.forceUpdate()},t.prototype._updatePages=function(e,t){this._requiredRect||this._updateRenderRects(e,t);var r=this._buildPages(e,t),o=t.pages;return this._notifyPageChanges(o,r.pages,this.props),(0,n.Cl)((0,n.Cl)((0,n.Cl)({},t),r),{pagesVersion:{}})},t.prototype._notifyPageChanges=function(e,t,r){var n=r.onPageAdded,o=r.onPageRemoved;if(n||o){for(var i={},a=0,s=e;a<s.length;a++)(c=s[a]).items&&(i[c.startIndex]=c);for(var l=0,u=t;l<u.length;l++){var c;(c=u[l]).items&&(i[c.startIndex]?delete i[c.startIndex]:this._onPageAdded(c))}for(var d in i)i.hasOwnProperty(d)&&this._onPageRemoved(i[d])}},t.prototype._updatePageMeasurements=function(e){var t=!1;if(!this._shouldVirtualize())return t;for(var r=0;r<e.length;r++){var n=e[r];n.items&&(t=this._measurePage(n)||t)}return t},t.prototype._measurePage=function(e){var t=!1,r=this._pageRefs[e.key],n=this._cachedPageHeights[e.startIndex];if(r&&this._shouldVirtualize()&&(!n||n.measureVersion!==this._measureVersion)){var o={width:r.clientWidth,height:r.clientHeight};(o.height||o.width)&&(t=e.height!==o.height,e.height=o.height,this._cachedPageHeights[e.startIndex]={height:o.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+o.height)/(this._totalEstimates+1)),this._totalEstimates++)}return t},t.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},t.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},t.prototype._buildPages=function(e,t){var r=e.renderCount,o=e.items,i=e.startIndex,a=e.getPageHeight;r=this._getRenderCount(e);for(var s=(0,n.Cl)({},C),l=[],u=1,c=0,d=null,p=this._focusedIndex,g=i+r,m=this._shouldVirtualize(e),f=0===this._estimatedPageHeight&&!a,v=this._allowedRect,b=function(r){var n=y._getPageSpecification(e,r,v),a=n.height,b=n.data,C=n.key;u=n.itemCount;var T,k,F=c+a-1,E=(0,h.SL)(t.pages,(function(e){return!!e.items&&e.startIndex===r}))>-1,A=!v||F>=v.top&&c<=v.bottom,I=!y._requiredRect||F>=y._requiredRect.top&&c<=y._requiredRect.bottom;if(!f&&(I||A&&E)||!m||p>=r&&p<r+u||r===i){d&&(l.push(d),d=null);var x=Math.min(u,g-r),w=y._createPage(C,o.slice(r,r+x),r,void 0,void 0,b);w.top=c,w.height=a,y._visibleRect&&y._visibleRect.bottom&&(w.isVisible=F>=y._visibleRect.top&&c<=y._visibleRect.bottom),l.push(w),I&&y._allowedRect&&(T=s,k={top:c,bottom:F,height:a,left:v.left,right:v.right,width:v.width},T.top=k.top<T.top||-1===T.top?k.top:T.top,T.left=k.left<T.left||-1===T.left?k.left:T.left,T.bottom=k.bottom>T.bottom||-1===T.bottom?k.bottom:T.bottom,T.right=k.right>T.right||-1===T.right?k.right:T.right,T.width=T.right-T.left+1,T.height=T.bottom-T.top+1)}else d||(d=y._createPage(S+r,void 0,r,0,void 0,b,!0)),d.height=(d.height||0)+(F-c)+1,d.itemCount+=u;if(c+=F-c+1,f&&m)return"break"},y=this,T=i;T<g&&"break"!==b(T);T+=u);return d&&(d.key=S+"end",l.push(d)),this._materializedRect=s,(0,n.Cl)((0,n.Cl)({},t),{pages:l,measureVersion:this._measureVersion})},t.prototype._getPageSpecification=function(e,t,r){var n=e.getPageSpecification;if(n){var o=n(t,r,e.items),i=o.itemCount,a=void 0===i?this._getItemCountForPage(t,r):i,s=o.height;return{itemCount:a,height:void 0===s?this._getPageHeight(t,r,a):s,data:o.data,key:o.key}}return{itemCount:a=this._getItemCountForPage(t,r),height:this._getPageHeight(t,r,a)}},t.prototype._getPageHeight=function(e,t,r){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,r,this.props.items);var n=this._cachedPageHeights[e];return n?n.height:this._estimatedPageHeight||30},t.prototype._getItemCountForPage=function(e,t){return(this.props.getItemCountForPage?this.props.getItemCountForPage(e,t):10)||10},t.prototype._createPage=function(e,t,r,n,o,i,a){void 0===r&&(r=-1),void 0===n&&(n=t?t.length:0),void 0===o&&(o={}),e=e||"page-"+r;var s=this._pageCache[e];return s&&s.page?s.page:{key:e,startIndex:r,itemCount:n,items:t,style:o,top:0,height:0,data:i,isSpacer:a||!1}},t.prototype._getRenderCount=function(e){var t=e||this.props,r=t.items,n=t.startIndex,o=t.renderCount;return void 0===o?r?r.length-n:0:o},t.prototype._updateRenderRects=function(e,t,r){var o=e.renderedWindowsAhead,i=e.renderedWindowsBehind,a=t.pages;if(this._shouldVirtualize(e)){var s=this._surfaceRect||(0,n.Cl)({},C),l=function(e){if(void 0===e)return 0;var t=0;return"scrollHeight"in e?t=e.scrollHeight:"document"in e&&(t=e.document.documentElement.scrollHeight),t}(this._scrollElement),u=f(this._scrollElement);this._surface.current&&(r||!a||!this._surfaceRect||!l||l!==this._scrollHeight||Math.abs(this._scrollTop-u)>.3333333333333333*this._estimatedPageHeight)&&(s=this._surfaceRect=k(this._surface.current),this._scrollTop=u),!r&&l&&l===this._scrollHeight||this._measureVersion++,this._scrollHeight=l||0;var c=Math.max(0,-s.top),d=(0,g.z)(this._root.current),p={top:c,left:s.left,bottom:c+d.innerHeight,right:s.right,width:s.width,height:d.innerHeight};this._requiredRect=A(p,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=A(p,i,o),this._visibleRect=p}},t.defaultProps={startIndex:0,onRenderCell:function(e,t,r){return o.createElement(o.Fragment,null,e&&e.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},t.contextType=b._0,t}(o.Component);function A(e,t,r){var n=e.top-t*e.height,o=e.height+(t+r)*e.height;return{top:n,bottom:n+o,height:o,left:e.left,right:e.right,width:e.width}}},75724:(e,t,r)=>{"use strict";var n,o,i;r.d(t,{f5:()=>i}),function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(n||(n={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(o||(o={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(i||(i={}))},88333:(e,t,r)=>{"use strict";r.d(t,{w:()=>l});var n=r(73725),o=r(39398),i=r(10477),a=(0,r(50550).Z)(),s=i.forwardRef((function(e,t){var r=e.styles,n=e.theme,o=e.className,s=e.vertical,l=e.alignContent,u=e.children,c=a(r,{theme:n,className:o,alignContent:l,vertical:s});return i.createElement("div",{className:c.root,ref:t},i.createElement("div",{className:c.content,role:"separator","aria-orientation":s?"vertical":"horizontal"},u))})),l=(0,n.I)(s,(function(e){var t,r,n=e.theme,i=e.alignContent,a=e.vertical,s=e.className,l="start"===i,u="center"===i,c="end"===i;return{root:[n.fonts.medium,{position:"relative"},i&&{textAlign:i},!i&&{textAlign:"center"},a&&(u||!i)&&{verticalAlign:"middle"},a&&l&&{verticalAlign:"top"},a&&c&&{verticalAlign:"bottom"},a&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:n.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[o.up]={backgroundColor:"WindowText"},t)}},!a&&{padding:"4px 0",selectors:{":before":(r={backgroundColor:n.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},r[o.up]={backgroundColor:"WindowText"},r)}},s],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:n.semanticColors.bodyText,background:n.semanticColors.bodyBackground},a&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"});l.displayName="Separator"},37103:(e,t,r)=>{"use strict";r.d(t,{y:()=>f});var n=r(73725),o=r(54029),i=r(10477),a=r(35252),s=r(50550),l=r(82015),u=r(37526),c=(0,s.Z)(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.type,r=e.size,n=e.ariaLabel,s=e.ariaLive,d=e.styles,p=e.label,h=e.theme,g=e.className,m=e.labelPosition,f=n,v=(0,l.G1)(this.props,l.JM,["size"]),b=r;void 0===b&&void 0!==t&&(b=t===a.Q.large?a.H.large:a.H.medium);var y=c(d,{theme:h,size:b,className:g,labelPosition:m});return i.createElement("div",(0,o.Cl)({},v,{className:y.root}),i.createElement("div",{className:y.circle}),p&&i.createElement("div",{className:y.label},p),f&&i.createElement("div",{role:"status","aria-live":s},i.createElement(u.P,null,i.createElement("div",{className:y.screenReaderText},f))))},t.defaultProps={size:a.H.medium,ariaLive:"polite",labelPosition:"bottom"},t}(i.Component),p=r(39398),h=r(90044),g={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},m=(0,h.J9)((function(){return(0,p.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),f=(0,n.I)(d,(function(e){var t,r=e.theme,n=e.size,i=e.className,s=e.labelPosition,l=r.palette,u=(0,p.Km)(g,r);return{root:[u.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===s&&{flexDirection:"column-reverse"},"right"===s&&{flexDirection:"row"},"left"===s&&{flexDirection:"row-reverse"},i],circle:[u.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:l.themePrimary,borderRightColor:l.themeLight,borderBottomColor:l.themeLight,borderLeftColor:l.themeLight,animationName:m(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[p.up]=(0,o.Cl)({borderTopColor:"Highlight"},(0,p.Qg)()),t)},n===a.H.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],n===a.H.small&&["ms-Spinner--small",{width:16,height:16}],n===a.H.medium&&["ms-Spinner--medium",{width:20,height:20}],n===a.H.large&&["ms-Spinner--large",{width:28,height:28}]],label:[u.label,r.fonts.small,{color:l.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===s&&{margin:"0 0 8px"},"right"===s&&{margin:"0 0 0 8px"},"left"===s&&{margin:"0 8px 0 0"}],screenReaderText:p.dX}}),void 0,{scope:"Spinner"})},35252:(e,t,r)=>{"use strict";var n,o;r.d(t,{H:()=>n,Q:()=>o}),function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(n||(n={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(o||(o={}))},91074:(e,t,r)=>{"use strict";r.d(t,{B:()=>T});var n=r(54029),o=r(10477),i=r(54752),a=r(24778),s=r(30838),l=r(96746),u=r(82015),c=r(24011),d=r(39398),p={root:"ms-StackItem"},h={start:"flex-start",end:"flex-end"},g=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},m=function(e){var t=parseFloat(e),r=isNaN(t)?0:t,n=isNaN(t)?"":t.toString();return{value:r,unit:e.substring(n.toString().length)||"px"}},f=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var r=e.split(" ");return r.length<2?g(e,t):r.reduce((function(e,r){return g(e,t)+" "+g(r,t)}))},v={start:"flex-start",end:"flex-end"},b={root:"ms-Stack",inner:"ms-Stack-inner",child:"ms-Stack-child"},y=(0,a.a)((function(e){var t=e.children,r=(0,u.G1)(e,u.vt);if(null==t)return null;var o=(0,i.Sk)(e,{root:"div"});return(0,i.WL)(o.root,(0,n.Cl)({},r),t)}),{displayName:"StackItem",styles:function(e,t,r){var n=e.grow,o=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,u=e.className,c=e.basis,g=void 0===c?"auto":c,m=(0,d.Km)(p,t);return{root:[t.fonts.medium,m.root,{flexBasis:g,margin:r.margin,padding:r.padding,height:s?"100%":"auto",width:"auto"},n&&{flexGrow:!0===n?1:n},(i||!n&&!o)&&{flexShrink:0},o&&!i&&{flexShrink:1},a&&{alignSelf:h[a]||a},l&&{order:l},u]}}});function S(e,t){var r=t.disableShrink,i=t.enableScopedSelectors,a=t.doNotRenderFalsyValues,s=o.Children.toArray(e);return o.Children.map(s,(function(e){if(!e)return a?null:e;if(!o.isValidElement(e))return e;if(e.type===o.Fragment)return e.props.children?S(e.props.children,{disableShrink:r,enableScopedSelectors:i,doNotRenderFalsyValues:a}):null;var t,s=e,l={};(t=e)&&"object"==typeof t&&t.type&&t.type.displayName===y.displayName&&(l={shrink:!r});var u=s.props.className;return o.cloneElement(s,(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},l),s.props),u&&{className:u}),i&&{className:(0,c.A)(b.child,u)}))}))}var C={Item:y},T=(0,a.a)((function(e){var t=e.as,r=void 0===t?"div":t,o=e.disableShrink,a=void 0!==o&&o,c=e.doNotRenderFalsyValues,d=void 0!==c&&c,p=e.enableScopedSelectors,h=void 0!==p&&p,g=e.wrap,m=(0,n.Tt)(e,["as","disableShrink","doNotRenderFalsyValues","enableScopedSelectors","wrap"]);(0,l.A)("Stack",e,{gap:"tokens.childrenGap",maxHeight:"tokens.maxHeight",maxWidth:"tokens.maxWidth",padding:"tokens.padding"});var f=(0,s.B)("stack-inner"),v=S(e.children,{disableShrink:a,enableScopedSelectors:h,doNotRenderFalsyValues:d}),b=(0,u.G1)(m,u.vt),y=(0,i.Sk)(e,{root:r,inner:"div"});return g?(0,i.WL)(y.root,(0,n.Cl)({},b),(0,i.WL)(y.inner,{key:f},v)):(0,i.WL)(y.root,(0,n.Cl)({},b),v)}),{displayName:"Stack",styles:function(e,t,r){var o,i,a,s,l,u,c,h,y,S,C,T,k,F=e.className,E=e.disableShrink,A=e.enableScopedSelectors,I=e.grow,x=e.horizontal,w=e.horizontalAlign,P=e.reversed,R=e.verticalAlign,D=e.verticalFill,_=e.wrap,N=(0,d.Km)(b,t),O=r&&r.childrenGap?r.childrenGap:e.gap,M=r&&r.maxHeight?r.maxHeight:e.maxHeight,B=r&&r.maxWidth?r.maxWidth:e.maxWidth,L=r&&r.padding?r.padding:e.padding,K=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var r=e.split(" ");if(r.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===r.length)return{rowGap:m(g(r[0],t)),columnGap:m(g(r[1],t))};var n=m(g(e,t));return{rowGap:n,columnGap:n}}(O,t),W=K.rowGap,H=K.columnGap,G="".concat(-.5*H.value).concat(H.unit),z="".concat(-.5*W.value).concat(W.unit),U={textOverflow:"ellipsis"},V="> "+(A?"."+b.child:"*"),j=((o={})["".concat(V,":not(.").concat(p.root,")")]={flexShrink:0},o);return _?{root:[N.root,{flexWrap:"wrap",maxWidth:B,maxHeight:M,width:"auto",overflow:"visible",height:"100%"},w&&(i={},i[x?"justifyContent":"alignItems"]=v[w]||w,i),R&&(a={},a[x?"alignItems":"justifyContent"]=v[R]||R,a),F,{display:"flex"},x&&{height:D?"100%":"auto"}],inner:[N.inner,(s={display:"flex",flexWrap:"wrap",marginLeft:G,marginRight:G,marginTop:z,marginBottom:z,overflow:"visible",boxSizing:"border-box",padding:f(L,t),width:0===H.value?"100%":"calc(100% + ".concat(H.value).concat(H.unit,")"),maxWidth:"100vw"},s[V]=(0,n.Cl)({margin:"".concat(.5*W.value).concat(W.unit," ").concat(.5*H.value).concat(H.unit)},U),s),E&&j,w&&(l={},l[x?"justifyContent":"alignItems"]=v[w]||w,l),R&&(u={},u[x?"alignItems":"justifyContent"]=v[R]||R,u),x&&(c={flexDirection:P?"row-reverse":"row",height:0===W.value?"100%":"calc(100% + ".concat(W.value).concat(W.unit,")")},c[V]={maxWidth:0===H.value?"100%":"calc(100% - ".concat(H.value).concat(H.unit,")")},c),!x&&(h={flexDirection:P?"column-reverse":"column",height:"calc(100% + ".concat(W.value).concat(W.unit,")")},h[V]={maxHeight:0===W.value?"100%":"calc(100% - ".concat(W.value).concat(W.unit,")")},h)]}:{root:[N.root,(y={display:"flex",flexDirection:x?P?"row-reverse":"row":P?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:D?"100%":"auto",maxWidth:B,maxHeight:M,padding:f(L,t),boxSizing:"border-box"},y[V]=U,y),E&&j,I&&{flexGrow:!0===I?1:I},w&&(S={},S[x?"justifyContent":"alignItems"]=v[w]||w,S),R&&(C={},C[x?"alignItems":"justifyContent"]=v[R]||R,C),x&&H.value>0&&(T={},T["".concat(V,P?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(H.value).concat(H.unit)},T),!x&&W.value>0&&(k={},k["".concat(V,P?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(W.value).concat(W.unit)},k),F]}},statics:C})},77971:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var n=r(24778),o=r(54029),i=r(54752),a=r(82015),s=(0,n.a)((function(e){if(null==e.children)return null;e.block,e.className;var t=e.as,r=void 0===t?"span":t,n=(e.variant,e.nowrap,(0,o.Tt)(e,["block","className","as","variant","nowrap"])),s=(0,i.Sk)(e,{root:r});return(0,i.WL)(s.root,(0,o.Cl)({},(0,a.G1)(n,a.vt)))}),{displayName:"Text",styles:function(e,t){var r=e.as,n=e.className,o=e.block,i=e.nowrap,a=e.variant,s=t.fonts,l=t.semanticColors,u=s[a||"medium"];return{root:[u,{color:u.color||l.bodyText,display:o?"td"===r?"table-cell":"block":"inline",mozOsxFontSmoothing:u.MozOsxFontSmoothing,webkitFontSmoothing:u.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},n]}}})},45650:(e,t,r)=>{"use strict";r.d(t,{m:()=>h});var n=r(73725),o=r(54029),i=r(10477),a=r(50550),s=r(82015),l=r(61043),u=r(82148),c=(0,a.Z)(),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return"string"==typeof e.content?i.createElement("p",{className:t._classNames.subText},e.content):i.createElement("div",{className:t._classNames.subText},e.content)},t}return(0,o.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,r=e.calloutProps,n=e.directionalHint,a=e.directionalHintForRTL,u=e.styles,d=e.id,p=e.maxWidth,h=e.onRenderContent,g=void 0===h?this._onRenderContent:h,m=e.targetElement,f=e.theme;return this._classNames=c(u,{theme:f,className:t||r&&r.className,beakWidth:r&&r.isBeakVisible?r.beakWidth:0,gapSpace:r&&r.gapSpace,maxWidth:p}),i.createElement(l.P,(0,o.Cl)({target:m,directionalHint:n,directionalHintForRTL:a},r,(0,s.G1)(this.props,s.JM,["id"]),{className:this._classNames.root}),i.createElement("div",{className:this._classNames.content,id:d,onFocus:this.props.onFocus,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},g(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:u.A.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(i.Component),p=r(39398),h=(0,n.I)(d,(function(e){var t=e.className,r=e.beakWidth,n=void 0===r?16:r,o=e.gapSpace,i=void 0===o?0:o,a=e.maxWidth,s=e.theme,l=s.semanticColors,u=s.fonts,c=s.effects,d=-(Math.sqrt(n*n/2)+i)+1/window.devicePixelRatio;return{root:["ms-Tooltip",s.fonts.medium,p.lw.fadeIn200,{background:l.menuBackground,boxShadow:c.elevation8,padding:"8px",maxWidth:a,selectors:{":after":{content:"''",position:"absolute",bottom:d,left:d,right:d,top:d,zIndex:0}}},t],content:["ms-Tooltip-content",u.small,{position:"relative",zIndex:1,color:l.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}}),void 0,{scope:"Tooltip"})},49738:(e,t,r)=>{"use strict";r.d(t,{S:()=>k});var n,o=r(73725),i=r(54029),a=r(10477),s=r(39398),l=r(50550),u=r(40409),c=r(8372),d=r(72341),p=r(69250),h=r(29305),g=r(82015),m=r(31976),f=r(16418),v=r(45650);!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(n||(n={}));var b=r(18660),y=r(20508),S=(0,l.Z)(),C=function(e){function t(r){var o=e.call(this,r)||this;return o._tooltipHost=a.createRef(),o._defaultTooltipId=(0,u.O)("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case f.$.Parent:return o._tooltipHost.current.parentElement;case f.$.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipFocus=function(e){o._ignoreNextFocusEvent?o._ignoreNextFocusEvent=!1:o._onTooltipMouseEnter(e)},o._onTooltipContentFocus=function(e){t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,o._clearDismissTimer(),o._clearOpenTimer()},o._onTooltipBlur=function(e){var t;o._ignoreNextFocusEvent=(null===(t=(0,y.LW)(o.context))||void 0===t?void 0:t.activeElement)===e.target,o._dismissTimerId=o._async.setTimeout((function(){o._hideTooltip()}),0)},o._onTooltipMouseEnter=function(e){var r,i=o.props,a=i.overflowMode,s=i.delay,l=(0,y.LW)(o.context);if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==a){var u=o._getTargetElement();if(u&&!function(e){return e.clientWidth<e.scrollWidth}(r=u)&&!function(e){return e.clientHeight<e.scrollHeight}(r))return}if(!e.target||!(0,c.s)(e.target,o._getTargetElement(),l))if(o._clearDismissTimer(),o._clearOpenTimer(),s!==n.zero){var d=o._getDelayTime(s);o._openTimerId=o._async.setTimeout((function(){o._toggleTooltip(!0)}),d)}else o._toggleTooltip(!0)},o._onTooltipMouseLeave=function(e){var r=o.props.closeDelay;o._clearDismissTimer(),o._clearOpenTimer(),r?o._dismissTimerId=o._async.setTimeout((function(){o._toggleTooltip(!1)}),r):o._toggleTooltip(!1),t._currentVisibleTooltip===o&&(t._currentVisibleTooltip=void 0)},o._onTooltipKeyDown=function(e){(e.which===d.c.escape||e.ctrlKey)&&o.state.isTooltipVisible&&(o._hideTooltip(),e.stopPropagation())},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isTooltipVisible:e},(function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)}))},o._getDelayTime=function(e){switch(e){case n.medium:return 300;case n.long:return 500;default:return 0}},(0,p.f)(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,r=e.children,n=e.content,o=e.directionalHint,l=e.directionalHintForRTL,u=e.hostClassName,c=e.id,d=e.setAriaDescribedBy,p=void 0===d||d,m=e.tooltipProps,f=e.styles,b=e.theme;this._classNames=S(f,{theme:b,className:u});var y=this.state.isTooltipVisible,C=c||this._defaultTooltipId,T=(0,i.Cl)((0,i.Cl)({id:"".concat(C,"--tooltip"),content:n,targetElement:this._getTargetElement(),directionalHint:o,directionalHintForRTL:l,calloutProps:(0,h.kp)({},t,{onDismiss:this._hideTooltip,onFocus:this._onTooltipContentFocus,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},(0,g.G1)(this.props,g.JM,["id"])),m),k=(null==m?void 0:m.onRenderContent)?m.onRenderContent(T,(function(e){return(null==e?void 0:e.content)?a.createElement(a.Fragment,null,e.content):null})):n,F=y&&!!k,E=p&&y&&k?C:void 0;return a.createElement("div",{className:this._classNames.root,ref:this._tooltipHost,onFocusCapture:this._onTooltipFocus,onBlurCapture:this._onTooltipBlur,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,role:"none","aria-describedby":E},r,F&&a.createElement(v.m,(0,i.Cl)({},T)),a.createElement("div",{hidden:!0,id:C,style:s.dX},k))},t.prototype.componentDidMount=function(){this._async=new m.j(this)},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:n.medium},t.contextType=b._0,t}(a.Component),T={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},k=(0,o.I)(C,(function(e){var t=e.className,r=e.theme;return{root:[(0,s.Km)(T,r).root,{display:"inline"},t]}}),void 0,{scope:"TooltipHost"})},16418:(e,t,r)=>{"use strict";var n;r.d(t,{$:()=>n}),function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(n||(n={}))},16014:(e,t,r)=>{"use strict";r.d(t,{f:()=>h});var n=r(73725),o=r(54029),i=r(10477),a=r(50550),s=r(82015),l=r(36141),u=r(10625),c=r(30838),d=(0,a.Z)(),p=i.forwardRef((function(e,t){var r=(0,c.B)(void 0,e.id),n=e.items,a=e.columnCount,p=e.onRenderItem,h=e.isSemanticRadio,g=e.ariaPosInSet,m=void 0===g?e.positionInSet:g,f=e.ariaSetSize,v=void 0===f?e.setSize:f,b=e.styles,y=e.doNotContainWithinFocusZone,S=(0,s.G1)(e,s.vt,y?[]:["onBlur"]),C=d(b,{theme:e.theme}),T=(0,l.D3)(n,a),k=i.createElement("table",(0,o.Cl)({"aria-posinset":m,"aria-setsize":v,id:r,role:h?"radiogroup":"grid"},S,{className:C.root}),i.createElement("tbody",{role:h?"presentation":"rowgroup"},T.map((function(e,t){return i.createElement("tr",{role:h?"presentation":"row",key:t},e.map((function(e,t){return i.createElement("td",{role:"presentation",key:t+"-cell",className:C.tableCell},p(e,t))})))}))));return y?k:i.createElement(u.R,{elementRef:t,isCircularNavigation:e.shouldFocusCircularNavigate,className:C.focusedContainer,onBlur:e.onBlur},k)})),h=(0,n.I)(p,(function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}}));h.displayName="ButtonGrid"},3567:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});var n=r(10477).createContext(void 0)},12850:(e,t,r)=>{"use strict";r.d(t,{N:()=>w});var n,o,i,a,s=r(10477),l=r(24011),u=r(18660),c=r(49455),d=r(40409),p=(r(62103),r(11579)),h=(r(35931),r(54574),0),g=function(){return h},m=function(e,t){return(0,p.L)(Array.isArray(e)?e:[e],t)},f=(n=function(e){var t=e.semanticColors,r=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:r.medium.fontFamily,fontWeight:r.medium.fontWeight,fontSize:r.medium.fontSize,MozOsxFontSmoothing:r.medium.MozOsxFontSmoothing,WebkitFontSmoothing:r.medium.WebkitFontSmoothing}]}},o=new Map,i=new Set,a=function(e){var t=e.currentTarget,r=t.__id__;o.delete(r),t.removeEventListener("unload",a),i.delete(r)},function(e){void 0===e&&(e={});var t,r=e.theme,l=(0,u.ox)();l&&(l.__id__=l.__id__||(0,d.O)(),t=l.__id__,i.has(t)||(i.add(t),l.addEventListener("unload",a)));var p=(0,c.D)();r=r||p;var h=g(),f=[t,h,r],v=function(e,t){var r,n,o,i=t[0],a=t[1],s=t[2];return null===(o=null===(n=null===(r=e.get(i))||void 0===r?void 0:r.get(a))||void 0===n?void 0:n.get(s))||void 0===o?void 0:o.classMap}(o,f);if(s.useEffect((function(){return function(e,t){var r,n,o=t[0],i=t[1],a=t[2],s=null===(n=null===(r=e.get(o))||void 0===r?void 0:r.get(i))||void 0===n?void 0:n.get(a);s&&s.refCount++}(o,[t,h,r]),function(){return function(e,t){var r,n,o,i,a,s,l,u,c=t[0],d=t[1],p=t[2],h=null===(n=null===(r=e.get(c))||void 0===r?void 0:r.get(d))||void 0===n?void 0:n.get(p);h&&(h.refCount--,0===h.refCount&&(null===(i=null===(o=e.get(c))||void 0===o?void 0:o.get(d))||void 0===i||i.delete(p),0===(null===(s=null===(a=e.get(c))||void 0===a?void 0:a.get(d))||void 0===s?void 0:s.size)&&(null===(l=e.get(c))||void 0===l||l.delete(d),0===(null===(u=e.get(c))||void 0===u?void 0:u.size)&&e.delete(c))))}(o,[t,h,r])}}),[t,h,r]),!v){var b=function(e){return"function"==typeof e}(n)?n(r):n;v=m(b,{targetWindow:l,rtl:!!r.rtl}),function(e,t,r){var n,o,i=t[0],a=t[1],s=t[2],l=null!==(n=e.get(i))&&void 0!==n?n:new Map;e.set(i,l);var u=null!==(o=l.get(a))&&void 0!==o?o:new Map;l.set(a,u),u.set(s,{classMap:r,refCount:0})}(o,f,v)}return v});var v=r(54029),b=r(82015),y={label:b.q6,audio:b.Sg,video:b.Fo,ol:b.p3,li:b.P4,a:b.t0,button:b.uw,input:b.QQ,textarea:b.Sh,select:b.Cq,option:b.tK,table:b.al,tr:b.g0,th:b.cr,td:b.k3,colGroup:b.lA,col:b.Qf,form:b.Gp,iframe:b.Cs,img:b.xM},S=r(29305),C=r(96137),T=r(35864),k=r(3567),F=function(e){var t,r,n,o=e.customizerContext,i=e.ref,a=e.theme,l=e.as||"div",u="string"==typeof e.as?(r=e,n=(t=e.as)&&y[t]||b.vt,(0,b.G1)(r,n,undefined)):e.as===s.Fragment?{children:e.children}:(0,S.cJ)(e,["as"]);return s.createElement(k.D.Provider,{value:a},s.createElement(C.z.Provider,{value:o},s.createElement(T.N,{providerRef:i},s.createElement(l,(0,v.Cl)({},u)))))},E=r(38725),A=new Map,I=r(90290),x=r(39773),w=s.forwardRef((function(e,t){var r=function(e,t){var r,n,o,i,a=(0,I.N)(t,e);return n=(r=a).theme,o=(0,c.D)(),i=r.theme=s.useMemo((function(){var e=(0,E.z)(o,n);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,o=e;n<o.length;n++){var i=o[n];if(i){var a=i.id||A.get(i);a||(a=(0,d.O)(""),A.set(i,a)),r.push(a)}}return r.join("-")}(o,n),e}),[o,n]),r.customizerContext=s.useMemo((function(){return{customizations:{inCustomizerContext:!0,settings:{theme:i},scopedSettings:i.components||{}}}}),[i]),r.theme.rtl!==o.rtl&&(r.dir=r.theme.rtl?"rtl":"ltr"),{state:a,render:F}}(e,{ref:(0,x.a)(t,s.useRef(null)),as:"div",applyTo:"element"}),n=r.render,o=r.state;return function(e){var t=f(e),r=e.className,n=e.applyTo;!function(e,t){var r,n="body"===e.applyTo,o=null===(r=(0,u.ZY)())||void 0===r?void 0:r.body;s.useEffect((function(){if(n&&o){for(var e=0,r=t;e<r.length;e++){var i=r[e];i&&o.classList.add(i)}return function(){if(n&&o)for(var e=0,r=t;e<r.length;e++){var i=r[e];i&&o.classList.remove(i)}}}}),[n,o,t])}(e,[t.root,t.body]),e.className=(0,l.A)(r,t.root,"element"===n&&t.body)}(o),n(o)}));w.displayName="ThemeProvider"},49455:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});var n=r(10477),o=r(19746),i=r(32351),a=r(3567),s=function(){var e=n.useContext(a.D),t=(0,o.m)(["theme"]).theme;return e||t||(0,i.a)({})}},20508:(e,t,r)=>{"use strict";r.d(t,{CQ:()=>o,LW:()=>a,bX:()=>i,k_:()=>s});var n=r(18660),o=function(){var e;return null!==(e=(0,n.ZY)())&&void 0!==e?e:"undefined"!=typeof document?document:void 0},i=function(){var e;return null!==(e=(0,n.ox)())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},a=function(e){var t,r;return null!==(r=null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.document)&&void 0!==r?r:"undefined"!=typeof document?document:void 0},s=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0}},3287:(e,t,r)=>{"use strict";r.d(t,{Cm:()=>u,KR:()=>l,aR:()=>a,er:()=>s,fy:()=>o,oQ:()=>i,uA:()=>n});var n,o="ktp",i="-",a="data-ktp-target",s="data-ktp-execute-target",l="data-ktp-aria-target",u="ktp-layer-id";!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(n||(n={}))},60505:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=r(54029),o=r(24077),i=r(40409),a=r(3287),s=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var r=e;t||(r=this.addParentOverflow(e),this.sequenceMapping[r.keySequences.toString()]=r);var n=this._getUniqueKtp(r);if(t?this.persistedKeytips[n.uniqueID]=n:this.keytips[n.uniqueID]=n,this.inKeytipMode||!this.delayUpdatingKeytipChange){var i=t?a.uA.PERSISTED_KEYTIP_ADDED:a.uA.KEYTIP_ADDED;o.g.raise(this,i,{keytip:r,uniqueID:n.uniqueID})}return n.uniqueID},e.prototype.update=function(e,t){var r=this.addParentOverflow(e),n=this._getUniqueKtp(r,t),i=this.keytips[t];i&&(n.keytip.visible=i.keytip.visible,this.keytips[t]=n,delete this.sequenceMapping[i.keytip.keySequences.toString()],this.sequenceMapping[n.keytip.keySequences.toString()]=n.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||o.g.raise(this,a.uA.KEYTIP_UPDATED,{keytip:n.keytip,uniqueID:n.uniqueID}))},e.prototype.unregister=function(e,t,r){void 0===r&&(r=!1),r?delete this.persistedKeytips[t]:delete this.keytips[t],!r&&delete this.sequenceMapping[e.keySequences.toString()];var n=r?a.uA.PERSISTED_KEYTIP_REMOVED:a.uA.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||o.g.raise(this,n,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){o.g.raise(this,a.uA.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){o.g.raise(this,a.uA.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},e.prototype.addParentOverflow=function(e){var t=(0,n.fX)([],e.keySequences,!0);if(t.pop(),0!==t.length){var r=this.sequenceMapping[t.toString()];if(r&&r.overflowSetSequence)return(0,n.Cl)((0,n.Cl)({},e),{overflowSetSequence:r.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){o.g.raise(this,a.uA.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=(0,i.O)()),{keytip:(0,n.Cl)({},e),uniqueID:t}},e._instance=new e,e}()},13639:(e,t,r)=>{"use strict";r.d(t,{YY:()=>s,Z2:()=>a,gt:()=>u,mf:()=>l});var n=r(54029),o=r(3287),i=r(36141);function a(e){return e.reduce((function(e,t){return e+o.oQ+t.split("").join(o.oQ)}),o.fy)}function s(e,t){var r=t.length,o=(0,n.fX)([],t,!0).pop(),a=(0,n.fX)([],e,!0);return(0,i.Ty)(a,r-1,o)}function l(e){return"["+o.er+'="'+e+'"]'}function u(e){var t=" "+o.Cm;return e.length?t+" "+a(e):t}},41292:(e,t,r)=>{"use strict";var n,o;r.d(t,{x:()=>n,y:()=>o}),function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(n||(n={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(o||(o={}))},33116:(e,t,r)=>{"use strict";var n;r.d(t,{W:()=>n}),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}(n||(n={}))},46085:(e,t,r)=>{"use strict";r.d(t,{Z:()=>T});var n=r(54029),o=r(10477),i=r(12215),a=r(75296),s=r(29607),l=r(72341),u=r(24077),c=r(31976),d=r(69250),p=r(24011),h=r(70361),g=r(76111),m=r(10166),f=r(50157),v=r(22692),b="data-selection-index",y="data-selection-toggle",S="data-selection-invoke",C="data-selection-all-toggle",T=function(e){function t(t){var r=e.call(this,t)||this;r._root=o.createRef(),r.ignoreNextFocus=function(){r._handleNextFocus(!1)},r._onSelectionChange=function(){var e=r.props.selection,t=e.isModal&&e.isModal();r.setState({isModal:t})},r._onMouseDownCapture=function(e){var t=e.target,n=(0,i.z)(r._root.current),o=null==n?void 0:n.document;if((null==o?void 0:o.activeElement)===t||(0,a.s)(null==o?void 0:o.activeElement,t)){if((0,a.s)(t,r._root.current))for(;t!==r._root.current;){if(r._hasAttribute(t,S)){r.ignoreNextFocus();break}t=(0,s.P)(t)}}else r.ignoreNextFocus()},r._onFocus=function(e){var t=e.target,n=r.props.selection,o=r._isCtrlPressed||r._isMetaPressed,i=r._getSelectionMode();if(r._shouldHandleFocus&&i!==v.Qc.none){var a=r._hasAttribute(t,y),s=r._findItemRoot(t);if(!a&&s){var l=r._getItemIndex(s);void 0===r._getItemSpan(s)&&(o?(n.setIndexSelected(l,n.isIndexSelected(l),!0),r.props.enterModalOnTouch&&r._isTouch&&n.setModal&&(n.setModal(!0),r._setIsTouch(!1))):r.props.isSelectedOnFocus&&r._onItemSurfaceClick("focus",l))}}r._handleNextFocus(!1)},r._onMouseDown=function(e){r._updateModifiers(e);var t=r.props.toggleWithoutModifierPressed,n=e.target,o=r._findItemRoot(n);if(!r._isSelectionDisabled(n))for(;n!==r._root.current&&!r._hasAttribute(n,C);){if(o){if(r._hasAttribute(n,y))break;if(r._hasAttribute(n,S))break;if(!(n!==o&&!r._shouldAutoSelect(n)||r._isShiftPressed||r._isCtrlPressed||r._isMetaPressed||t)){r._onInvokeMouseDown(e,r._getItemIndex(o),r._getItemSpan(o));break}if(r.props.disableAutoSelectOnInputElements&&("A"===n.tagName||"BUTTON"===n.tagName||"INPUT"===n.tagName))return}n=(0,s.P)(n)}},r._onTouchStartCapture=function(e){r._setIsTouch(!0)},r._onClick=function(e){var t=r.props.enableTouchInvocationTarget,n=void 0!==t&&t;r._updateModifiers(e);for(var o=e.target,i=r._findItemRoot(o),a=r._isSelectionDisabled(o);o!==r._root.current;){if(r._hasAttribute(o,C)){a||r._onToggleAllClick(e);break}if(i){var l=r._getItemIndex(i),u=r._getItemSpan(i);if(r._hasAttribute(o,y)){a||(r._isShiftPressed?r._onItemSurfaceClick("click",l,u):r._onToggleClick(e,l,u));break}if(r._isTouch&&n&&r._hasAttribute(o,"data-selection-touch-invoke")||r._hasAttribute(o,S)){void 0===u&&r._onInvokeClick(e,l);break}if(o===i){a||r._onItemSurfaceClick("click",l,u);break}if("A"===o.tagName||"BUTTON"===o.tagName||"INPUT"===o.tagName)return}o=(0,s.P)(o)}},r._onContextMenu=function(e){var t=e.target,n=r.props,o=n.onItemContextMenu,i=n.selection;if(o){var a=r._findItemRoot(t);if(a){var s=r._getItemIndex(a);r._onInvokeMouseDown(e,s),o(i.getItems()[s],s,e.nativeEvent)||e.preventDefault()}}},r._onDoubleClick=function(e){var t=e.target,n=r.props.onItemInvoked,o=r._findItemRoot(t);if(o&&n&&!r._isInputElement(t)){for(var i=r._getItemIndex(o);t!==r._root.current&&!r._hasAttribute(t,y)&&!r._hasAttribute(t,S);){if(t===o){r._onInvokeClick(e,i);break}t=(0,s.P)(t)}t=(0,s.P)(t)}},r._onKeyDownCapture=function(e){r._updateModifiers(e),r._handleNextFocus(!0)},r._onKeyDown=function(e){r._updateModifiers(e);var t=e.target,n=r._isSelectionDisabled(t),o=r.props,i=o.selection,a=o.selectionClearedOnEscapePress,u=e.which===l.c.a&&(r._isCtrlPressed||r._isMetaPressed),c=e.which===l.c.escape;if(!r._isInputElement(t)){var d=r._getSelectionMode();if(u&&d===v.Qc.multiple&&!i.isAllSelected())return n||i.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(a&&c&&i.getSelectedCount()>0)return n||i.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var p=r._findItemRoot(t);if(p)for(var h=r._getItemIndex(p),g=r._getItemSpan(p);t!==r._root.current&&!r._hasAttribute(t,y);){if(r._shouldAutoSelect(t)){n||void 0!==g||r._onInvokeMouseDown(e,h,g);break}if(!(e.which!==l.c.enter&&e.which!==l.c.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName&&"SUMMARY"!==t.tagName))return!1;if(t===p){if(e.which===l.c.enter)return void(void 0===g&&(r._onInvokeClick(e,h),e.preventDefault()));if(e.which===l.c.space)return n||r._onToggleClick(e,h,g),void e.preventDefault();break}t=(0,s.P)(t)}}},r._events=new u.g(r),r._async=new c.j(r),(0,d.f)(r);var n=r.props.selection,p=n.isModal&&n.isModal();return r.state={isModal:p},r}return(0,n.C6)(t,e),t.getDerivedStateFromProps=function(e,t){var r=e.selection.isModal&&e.selection.isModal();return(0,n.Cl)((0,n.Cl)({},t),{isModal:r})},t.prototype.componentDidMount=function(){var e=(0,i.z)(this._root.current),t=null==e?void 0:e.document;this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(t,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(null==t?void 0:t.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(null==t?void 0:t.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},t.prototype.render=function(){var e=this.state.isModal;return o.createElement("div",{className:(0,p.A)("ms-SelectionZone",this.props.className,{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,o.createElement(h.MO,null))},t.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===v.Qc.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=(0,s.P)(e)}return!1},t.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===v.Qc.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},t.prototype._onToggleClick=function(e,t,r){var n=this.props.selection,o=this._getSelectionMode();if(n.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(void 0!==r?!n.isRangeSelected(t,r):!n.isIndexSelected(t))&&n.setModal&&(n.setModal(!0),this._setIsTouch(!1)),o===v.Qc.multiple)void 0!==r?n.toggleRangeSelected(t,r):n.toggleIndexSelected(t);else{if(o!==v.Qc.single)return void n.setChangeEvents(!0);if(void 0===r||1===r){var i=n.isIndexSelected(t),a=n.isModal&&n.isModal();n.setAllSelected(!1),n.setIndexSelected(t,!i,!0),a&&n.setModal&&n.setModal(!0)}}n.setChangeEvents(!0),e.stopPropagation()},t.prototype._onInvokeClick=function(e,t){var r=this.props,n=r.selection,o=r.onItemInvoked;o&&(o(n.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},t.prototype._onItemSurfaceClick=function(e,t,r){var n,o=this.props,i=o.selection,a=o.toggleWithoutModifierPressed,s=this._isCtrlPressed||this._isMetaPressed,l=this._getSelectionMode();l===v.Qc.multiple?this._isShiftPressed&&!this._isTabPressed?void 0!==r?null===(n=i.selectToRange)||void 0===n||n.call(i,t,r,!s):i.selectToIndex(t,!s):"click"===e&&(s||a)?void 0!==r?i.toggleRangeSelected(t,r):i.toggleIndexSelected(t):this._clearAndSelectIndex(t,r):l===v.Qc.single&&this._clearAndSelectIndex(t,r)},t.prototype._onInvokeMouseDown=function(e,t,r){var n=this.props.selection;if(void 0!==r){if(n.isRangeSelected(t,r))return}else if(n.isIndexSelected(t))return;this._clearAndSelectIndex(t,r)},t.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=(0,i.z)(this._root.current),r=null==t?void 0:t.document,n=(0,g.Hc)(this._root.current);this._events.off(r,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(n,"click",this._tryClearOnEmptyClick),(n&&e.target instanceof Node&&n.contains(e.target)||n===e.target)&&this._tryClearOnEmptyClick(e)},t.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},t.prototype._clearAndSelectIndex=function(e,t){var r,n=this.props,o=n.selection,i=n.selectionClearedOnSurfaceClick,a=void 0===i||i;if((void 0!==t&&1!==t||1!==o.getSelectedCount()||!o.isIndexSelected(e))&&a){var s=o.isModal&&o.isModal();o.setChangeEvents(!1),o.setAllSelected(!1),void 0!==t?null===(r=o.setRangeSelected)||void 0===r||r.call(o,e,t,!0,!0):o.setIndexSelected(e,!0,!0),(s||this.props.enterModalOnTouch&&this._isTouch)&&(o.setModal&&o.setModal(!0),this._isTouch&&this._setIsTouch(!1)),o.setChangeEvents(!0)}},t.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===l.c.tab},t.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var r=e.getAttribute(b),n=Number(r);if(null!==r&&n>=0&&n<t.getItems().length)break;e=(0,s.P)(e)}if(e!==this._root.current)return e},t.prototype._getItemIndex=function(e){var t,r=parseInt(null!==(t=e.getAttribute(b))&&void 0!==t?t:"",10);return isNaN(r)?-1:r},t.prototype._getItemSpan=function(e){var t,r=parseInt(null!==(t=e.getAttribute("data-selection-span"))&&void 0!==t?t:"",10);return isNaN(r)?void 0:r},t.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},t.prototype._hasAttribute=function(e,t){for(var r=!1;!r&&e!==this._root.current;){var n=e.getAttribute(t);if("false"===n){r=!1;break}r="true"===n,e=(0,s.P)(e)}return r},t.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===e.getAttribute("contenteditable")||""===e.getAttribute("contenteditable")},t.prototype._isNonHandledClick=function(e){var t=(0,m.Y)();if(t&&e)for(;e&&e!==t.documentElement;){if((0,f.S0)(e)||e.hasAttribute("data-selection-index"))return!1;e=(0,s.P)(e)}return!0},t.prototype._handleNextFocus=function(e){var t=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),this._shouldHandleFocus=e,e&&this._async.setTimeout((function(){t._shouldHandleFocus=!1}),100)},t.prototype._setIsTouch=function(e){var t=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,e&&this._async.setTimeout((function(){t._isTouch=!1}),300)},t.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:v.Qc.none:t},t.defaultProps={isSelectedOnFocus:!0,toggleWithoutModifierPressed:!1,selectionMode:v.Qc.multiple,selectionClearedOnEscapePress:!0},t}(o.Component)},40515:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n={},o=void 0;try{o=window}catch(e){}function i(e,t){if(void 0!==o){var r=o.__packages__=o.__packages__||{};r[e]&&n[e]||(n[e]=t,(r[e]=r[e]||[]).push(t))}}i("@fluentui/set-version","6.0.0")},39398:(e,t,r)=>{"use strict";r.d(t,{lw:()=>Q,cs:()=>z,WG:()=>Re.W,dK:()=>De.d,pD:()=>Xe,s:()=>_e.s,BO:()=>_e.BO,up:()=>ee,hT:()=>te,fF:()=>_e.fF,mm:()=>ne,iD:()=>re,nA:()=>ae,TW:()=>qe.T,pB:()=>$e.p,sQ:()=>Ne.s,QN:()=>ue,gm:()=>le,Km:()=>Z,Qg:()=>ie,sW:()=>ze,Sq:()=>de,CX:()=>Pe,L6:()=>oe,O4:()=>Ie,dX:()=>X,i7:()=>o.i,EQ:()=>xe,l8:()=>Qe.l,Zq:()=>n.Z,S8:()=>we,aH:()=>Ge,K1:()=>He});var n=r(97665),o=r(54574),i="cubic-bezier(.1,.9,.2,1)",a="cubic-bezier(.1,.25,.75,.9)",s="0.167s",l="0.267s",u="0.367s",c="0.467s",d=(0,o.i)({from:{opacity:0},to:{opacity:1}}),p=(0,o.i)({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),h=V(-10),g=V(-20),m=V(-40),f=V(-400),v=V(10),b=V(20),y=V(40),S=V(400),C=j(10),T=j(20),k=j(-10),F=j(-20),E=q(10),A=q(20),I=q(40),x=q(400),w=q(-10),P=q(-20),R=q(-40),D=q(-400),_=$(-10),N=$(-20),O=$(10),M=$(20),B=(0,o.i)({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),L=(0,o.i)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),K=(0,o.i)({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),W=(0,o.i)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),H=(0,o.i)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),G=(0,o.i)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),z={easeFunction1:i,easeFunction2:a,durationValue1:s,durationValue2:l,durationValue3:u,durationValue4:c};function U(e,t,r){return{animationName:e,animationDuration:t,animationTimingFunction:r,animationFillMode:"both"}}function V(e){return(0,o.i)({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function j(e){return(0,o.i)({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function q(e){return(0,o.i)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function $(e){return(0,o.i)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}var Q=function(e){var t={},r=function(r){var o;e.hasOwnProperty(r)&&Object.defineProperty(t,r,{get:function(){return void 0===o&&(o=(0,n.Z)(e[r]).toString()),o},enumerable:!0,configurable:!0})};for(var o in e)r(o);return t}({slideRightIn10:U("".concat(d,",").concat(h),u,i),slideRightIn20:U("".concat(d,",").concat(g),u,i),slideRightIn40:U("".concat(d,",").concat(m),u,i),slideRightIn400:U("".concat(d,",").concat(f),u,i),slideLeftIn10:U("".concat(d,",").concat(v),u,i),slideLeftIn20:U("".concat(d,",").concat(b),u,i),slideLeftIn40:U("".concat(d,",").concat(y),u,i),slideLeftIn400:U("".concat(d,",").concat(S),u,i),slideUpIn10:U("".concat(d,",").concat(C),u,i),slideUpIn20:U("".concat(d,",").concat(T),u,i),slideDownIn10:U("".concat(d,",").concat(k),u,i),slideDownIn20:U("".concat(d,",").concat(F),u,i),slideRightOut10:U("".concat(p,",").concat(E),u,i),slideRightOut20:U("".concat(p,",").concat(A),u,i),slideRightOut40:U("".concat(p,",").concat(I),u,i),slideRightOut400:U("".concat(p,",").concat(x),u,i),slideLeftOut10:U("".concat(p,",").concat(w),u,i),slideLeftOut20:U("".concat(p,",").concat(P),u,i),slideLeftOut40:U("".concat(p,",").concat(R),u,i),slideLeftOut400:U("".concat(p,",").concat(D),u,i),slideUpOut10:U("".concat(p,",").concat(_),u,i),slideUpOut20:U("".concat(p,",").concat(N),u,i),slideDownOut10:U("".concat(p,",").concat(O),u,i),slideDownOut20:U("".concat(p,",").concat(M),u,i),scaleUpIn100:U("".concat(d,",").concat(B),u,i),scaleDownIn100:U("".concat(d,",").concat(K),u,i),scaleUpOut103:U("".concat(p,",").concat(W),s,a),scaleDownOut98:U("".concat(p,",").concat(L),s,a),fadeIn100:U(d,s,a),fadeIn200:U(d,l,a),fadeIn400:U(d,u,a),fadeIn500:U(d,c,a),fadeOut100:U(p,s,a),fadeOut200:U(p,l,a),fadeOut400:U(p,u,a),fadeOut500:U(p,c,a),rotate90deg:U(H,"0.1s",a),rotateN90deg:U(G,"0.1s",a)}),X={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},Y=r(62103),J=(0,r(90044).J9)((function(e,t){var r=Y.nr.getInstance();return t?Object.keys(e).reduce((function(t,n){return t[n]=r.getClassName(e[n]),t}),{}):e}));function Z(e,t,r){return J(e,void 0!==r?r:t.disableGlobalClassNames)}var ee="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",te="@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)",re=479,ne=639;function oe(e,t){var r="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",n="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(r).concat(n)}function ie(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}var ae,se=r(37442);function le(e,t,r,n,o,i,a,s){return function(e,t){var r,n;void 0===t&&(t={});var o=t.borderRadius,i=t.inset,a=void 0===i?0:i,s=t.width,l=void 0===s?1:s,u=t.position,c=void 0===u?"relative":u,d=t.highContrastStyle,p=t.borderColor,h=void 0===p?e.palette.white:p,g=t.outlineColor,m=void 0===g?e.palette.neutralSecondary:g,f=t.isFocusedOnly,v=void 0===f||f,b=t.pointerEvents;return{outline:"transparent",position:c,selectors:(r={"::-moz-focus-inner":{border:"0"}},r[".".concat(se.Y2," &").concat(v?":focus":"",":after, :host(.").concat(se.Y2,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:b,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(l,"px solid ").concat(h),outline:"".concat(l,"px solid ").concat(m),zIndex:ae.FocusStyle,borderRadius:o,selectors:(n={},n[ee]=d,n)},r)}}(e,"number"!=typeof t&&t?t:{inset:t,position:r,highContrastStyle:n,borderColor:o,outlineColor:i,isFocusedOnly:a,borderRadius:s})}function ue(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(ae||(ae={}));var ce,de=function(e,t,r,n){var o,i,a;void 0===r&&(r="border"),void 0===n&&(n=-1);var s="borderBottom"===r;return{borderColor:e,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:s?0:n,top:n,bottom:n,right:s?0:n},o[r]="2px solid ".concat(e),o.borderRadius=t,o.width="borderBottom"===r?"100%":void 0,o.selectors=(i={},i[ee]=(a={},a["border"===r?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},pe=r(54029),he=r(12215),ge=r(79101),me=function(){return me=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},me.apply(this,arguments)},fe="undefined"==typeof window?r.g:window,ve=fe&&fe.CSPSettings&&fe.CSPSettings.nonce,be=((ce=fe.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(ce=me(me({},ce),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),ce.registeredThemableStyles||(ce=me(me({},ce),{registeredThemableStyles:[]})),fe.__themeState__=ce,ce);function ye(e){be.theme=e,function(){if(be.theme){for(var e=[],t=0,r=be.registeredThemableStyles;t<r.length;t++){var n=r[t];e.push(n.themableStyle)}e.length>0&&(void 0===(i=1)&&(i=3),3!==i&&2!==i||(Se(be.registeredStyles),be.registeredStyles=[]),3!==i&&1!==i||(Se(be.registeredThemableStyles),be.registeredThemableStyles=[]),o=[].concat.apply([],e),be.loadStyles?be.loadStyles(Ce(o).styleString,o):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],r=document.createElement("style"),n=Ce(e),o=n.styleString,i=n.themable;r.setAttribute("data-load-themed-styles","true"),ve&&r.setAttribute("nonce",ve),r.appendChild(document.createTextNode(o)),be.perf.count++,t.appendChild(r);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:r},document.dispatchEvent(a);var s={styleElement:r,themableStyle:e};i?be.registeredThemableStyles.push(s):be.registeredStyles.push(s)}}(o))}var o,i}()}function Se(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function Ce(e){var t=be.theme,r=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){r=!0;var o=t?t[n]:void 0,i=e.defaultValue||"inherit";return t&&!o&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'.concat(n,'". Falling back to "').concat(i,'".')),o||i}return e.rawString})).join(""),themable:r}}var Te=r(32351),ke=(0,Te.a)({}),Fe=[],Ee="theme";function Ae(){var e,t,r,n=(0,he.z)();(null===(t=null==n?void 0:n.FabricConfig)||void 0===t?void 0:t.legacyTheme)?xe(n.FabricConfig.legacyTheme):ge.X.getSettings([Ee]).theme||((null===(r=null==n?void 0:n.FabricConfig)||void 0===r?void 0:r.theme)&&(ke=(0,Te.a)(n.FabricConfig.theme)),ge.X.applySettings(((e={})[Ee]=ke,e)))}function Ie(e){return void 0===e&&(e=!1),!0===e&&(ke=(0,Te.a)({},e)),ke}function xe(e,t){var r;return void 0===t&&(t=!1),ke=(0,Te.a)(e,t),ye((0,pe.Cl)((0,pe.Cl)((0,pe.Cl)((0,pe.Cl)({},ke.palette),ke.semanticColors),ke.effects),function(e){for(var t={},r=0,n=Object.keys(e.fonts);r<n.length;r++)for(var o=n[r],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(ke))),ge.X.applySettings(((r={})[Ee]=ke,r)),Fe.forEach((function(e){try{e(ke)}catch(e){}})),ke}Ae();var we={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"};function Pe(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var Re=r(43713),De=r(88414),_e=r(11394),Ne=r(66471),Oe=r(47852),Me=r(70105),Be=r(35931),Le=Oe.h.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),Ke=Y.nr.getInstance();Ke&&Ke.onReset&&Ke.onReset((function(){for(var e in Le)Le.hasOwnProperty(e)&&Le[e].subset&&(Le[e].subset.className=void 0)}));var We=function(e){return e.toLowerCase()};function He(e,t){var r=(0,pe.Cl)((0,pe.Cl)({},e),{isRegistered:!1,className:void 0}),n=e.icons;for(var o in t=t?(0,pe.Cl)((0,pe.Cl)({},Le.__options),t):Le.__options,n)if(n.hasOwnProperty(o)){var i=n[o],a=We(o);Le[a]?je(o):Le[a]={code:i,subset:r}}}function Ge(e,t){Le.__remapped[We(e)]=We(t)}function ze(e){var t=void 0,r=Le.__options;if(e=e?We(e):"",e=Le.__remapped[e]||e)if(t=Le[e]){var o=t.subset;o&&o.fontFace&&(o.isRegistered||((0,Be.n)(o.fontFace),o.isRegistered=!0),o.className||(o.className=(0,n.Z)(o.style,{fontFamily:o.fontFace.fontFamily,fontWeight:o.fontFace.fontWeight||"normal",fontStyle:o.fontFace.fontStyle||"normal"})))}else!r.disableWarnings&&r.warnOnMissingIcons&&(0,Me.R)('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}var Ue=[],Ve=void 0;function je(e){Le.__options.disableWarnings||(Ue.push(e),void 0===Ve&&(Ve=setTimeout((function(){(0,Me.R)("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+Ue.slice(0,10).join(", ")+(Ue.length>10?" (+ ".concat(Ue.length-10," more)"):"")),Ve=void 0,Ue=[]}),2e3)))}var qe=r(61295),$e=r(14345),Qe=r(11579),Xe="https://res.cdn.office.net/files/fabric-cdn-prod_20250411.001";(0,r(40515).v)("@fluentui/style-utilities","8.12.0"),Ae()},32351:(e,t,r)=>{"use strict";r.d(t,{a:()=>u});var n={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"},o=r(43713),i=r(88414),a=r(38725),s={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},l=r(42960);function u(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var r=!!e.isInverted,u={palette:n,effects:o.W,fonts:i.d,spacing:s,isInverted:r,disableGlobalClassNames:!1,semanticColors:(0,l.b)(n,o.W,void 0,r,t),rtl:void 0};return(0,a.z)(u,e)}},43713:(e,t,r)=>{"use strict";var n;r.d(t,{W:()=>o}),function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(n||(n={}));var o={elevation4:n.depth4,elevation8:n.depth8,elevation16:n.depth16,elevation64:n.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"}},88414:(e,t,r)=>{"use strict";r.d(t,{d:()=>g});var n,o,i,a,s=r(35931),l=r(11394),u=r(66471),c=r(10166),d=r(12215),p=r(14319),h="language",g=(0,u.s)(function(e){if(void 0===e&&(e="sessionStorage"),void 0===n){var t=(0,c.Y)(),r="localStorage"===e?function(e){var t=null;try{var r=(0,d.z)();t=r?r.localStorage.getItem(e):null}catch(e){}return t}(h):"sessionStorage"===e?p.G(h):void 0;r&&(n=r),void 0===n&&t&&(n=t.documentElement.getAttribute("lang")),void 0===n&&(n="en")}return n}());function m(e,t,r,n){e="'".concat(e,"'");var o=void 0!==n?"local('".concat(n,"'),"):"";(0,s.n)({fontFamily:e,src:o+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:r,fontStyle:"normal",fontDisplay:"swap"})}function f(e,t,r,n,o){void 0===n&&(n="segoeui");var i="".concat(e,"/").concat(r,"/").concat(n);m(t,i+"-light",l.BO.light,o&&o+" Light"),m(t,i+"-semilight",l.BO.semilight,o&&o+" SemiLight"),m(t,i+"-regular",l.BO.regular,o),m(t,i+"-semibold",l.BO.semibold,o&&o+" SemiBold"),m(t,i+"-bold",l.BO.bold,o&&o+" Bold")}!function(e){if(e){var t="".concat(e,"/fonts");f(t,l.Dn.Thai,"leelawadeeui-thai","leelawadeeui"),f(t,l.Dn.Arabic,"segoeui-arabic"),f(t,l.Dn.Cyrillic,"segoeui-cyrillic"),f(t,l.Dn.EastEuropean,"segoeui-easteuropean"),f(t,l.Dn.Greek,"segoeui-greek"),f(t,l.Dn.Hebrew,"segoeui-hebrew"),f(t,l.Dn.Vietnamese,"segoeui-vietnamese"),f(t,l.Dn.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),f(t,l.bi.Selawik,"selawik","selawik"),f(t,l.Dn.Armenian,"segoeui-armenian"),f(t,l.Dn.Georgian,"segoeui-georgian"),m("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),l.BO.light),m("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),l.BO.semibold)}}((a=null===(o=(0,d.z)())||void 0===o?void 0:o.FabricConfig,null!==(i=null==a?void 0:a.fontBaseUrl)&&void 0!==i?i:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"))},11394:(e,t,r)=>{"use strict";var n,o,i,a,s;r.d(t,{BO:()=>a,Dn:()=>n,bi:()=>o,fF:()=>s,s:()=>i}),function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(n||(n={})),function(e){e.Arabic="'".concat(n.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(n.Cyrillic,"'"),e.EastEuropean="'".concat(n.EastEuropean,"'"),e.Greek="'".concat(n.Greek,"'"),e.Hebrew="'".concat(n.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(n.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(n.Vietnamese,"'"),e.WestEuropean="'".concat(n.WestEuropean,"'"),e.Armenian="'".concat(n.Armenian,"'"),e.Georgian="'".concat(n.Georgian,"'")}(o||(o={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(i||(i={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(a||(a={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(s||(s={}))},66471:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});var n=r(11394),o="'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif",i="'Segoe UI', '".concat(n.Dn.WestEuropean,"'"),a={ar:n.bi.Arabic,bg:n.bi.Cyrillic,cs:n.bi.EastEuropean,el:n.bi.Greek,et:n.bi.EastEuropean,he:n.bi.Hebrew,hi:n.bi.Hindi,hr:n.bi.EastEuropean,hu:n.bi.EastEuropean,ja:n.bi.Japanese,kk:n.bi.EastEuropean,ko:n.bi.Korean,lt:n.bi.EastEuropean,lv:n.bi.EastEuropean,pl:n.bi.EastEuropean,ru:n.bi.Cyrillic,sk:n.bi.EastEuropean,"sr-latn":n.bi.EastEuropean,th:n.bi.Thai,tr:n.bi.EastEuropean,uk:n.bi.Cyrillic,vi:n.bi.Vietnamese,"zh-hans":n.bi.ChineseSimplified,"zh-hant":n.bi.ChineseTraditional,hy:n.bi.Armenian,ka:n.bi.Georgian};function s(e,t,r){return{fontFamily:r,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function l(e){var t=function(e){for(var t in a)if(a.hasOwnProperty(t)&&e&&0===t.indexOf(e))return a[t];return i}(e),r="".concat(t,", ").concat(o);return{tiny:s(n.s.mini,n.BO.regular,r),xSmall:s(n.s.xSmall,n.BO.regular,r),small:s(n.s.small,n.BO.regular,r),smallPlus:s(n.s.smallPlus,n.BO.regular,r),medium:s(n.s.medium,n.BO.regular,r),mediumPlus:s(n.s.mediumPlus,n.BO.regular,r),large:s(n.s.large,n.BO.regular,r),xLarge:s(n.s.xLarge,n.BO.semibold,r),xLargePlus:s(n.s.xLargePlus,n.BO.semibold,r),xxLarge:s(n.s.xxLarge,n.BO.semibold,r),xxLargePlus:s(n.s.xxLargePlus,n.BO.semibold,r),superLarge:s(n.s.superLarge,n.BO.semibold,r),mega:s(n.s.mega,n.BO.semibold,r)}}},38725:(e,t,r)=>{"use strict";function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++)o(e||{},i[n]);return e}function o(e,t,r){for(var n in void 0===r&&(r=[]),r.push(t),t)if(t.hasOwnProperty(n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n){var i=t[n];if("object"!=typeof i||null===i||Array.isArray(i))e[n]=i;else{var a=r.indexOf(i)>-1;e[n]=a?i:o(e[n]||{},i,r)}}return r.pop(),e}r.d(t,{z:()=>a});var i=r(42960);function a(e,t){var r,o,a;void 0===t&&(t={});var s=n({},e,t,{semanticColors:(0,i.B)(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(r=t.palette)||void 0===r?void 0:r.themePrimary)&&!(null===(o=t.palette)||void 0===o?void 0:o.accent)&&(s.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var l=0,u=Object.keys(s.fonts);l<u.length;l++){var c=u[l];s.fonts[c]=n(s.fonts[c],t.defaultFontStyle,null===(a=null==t?void 0:t.fonts)||void 0===a?void 0:a[c])}return s}},42960:(e,t,r)=>{"use strict";r.d(t,{B:()=>i,b:()=>o});var n=r(54029);function o(e,t,r,o,a){return void 0===a&&(a=!1),function(e,t){var r="";return!0===t&&(r=" /* @deprecated */"),e.listTextColor=e.listText+r,e.menuItemBackgroundChecked+=r,e.warningHighlight+=r,e.warningText=e.messageText+r,e.successText+=r,e}(i(e,t,(0,n.Cl)({primaryButtonBorder:"transparent",errorText:o?"#F1707B":"#a4262c",messageText:o?"#F3F2F1":"#323130",messageLink:o?"#6CB8F6":"#005A9E",messageLinkHovered:o?"#82C7FF":"#004578",infoIcon:o?"#C8C6C4":"#605e5c",errorIcon:o?"#F1707B":"#A80000",blockingIcon:o?"#442726":"#FDE7E9",warningIcon:o?"#C8C6C4":"#797775",severeWarningIcon:o?"#FCE100":"#D83B01",successIcon:o?"#92C353":"#107C10",infoBackground:o?"#323130":"#f3f2f1",errorBackground:o?"#442726":"#FDE7E9",blockingBackground:o?"#442726":"#FDE7E9",warningBackground:o?"#433519":"#FFF4CE",severeWarningBackground:o?"#4F2A0F":"#FED9CC",successBackground:o?"#393D1B":"#DFF6DD",warningHighlight:o?"#fff100":"#ffb900",successText:o?"#92c353":"#107C10"},r),o),a)}function i(e,t,r,o,i){void 0===i&&(i=!1);var a={},s=e||{},l=s.white,u=s.black,c=s.themePrimary,d=s.themeDark,p=s.themeDarker,h=s.themeDarkAlt,g=s.themeLighter,m=s.neutralLight,f=s.neutralLighter,v=s.neutralDark,b=s.neutralQuaternary,y=s.neutralQuaternaryAlt,S=s.neutralPrimary,C=s.neutralSecondary,T=s.neutralSecondaryAlt,k=s.neutralTertiary,F=s.neutralTertiaryAlt,E=s.neutralLighterAlt,A=s.accent;return l&&(a.bodyBackground=l,a.bodyFrameBackground=l,a.accentButtonText=l,a.buttonBackground=l,a.primaryButtonText=l,a.primaryButtonTextHovered=l,a.primaryButtonTextPressed=l,a.inputBackground=l,a.inputForegroundChecked=l,a.listBackground=l,a.menuBackground=l,a.cardStandoutBackground=l),u&&(a.bodyTextChecked=u,a.buttonTextCheckedHovered=u),c&&(a.link=c,a.primaryButtonBackground=c,a.inputBackgroundChecked=c,a.inputIcon=c,a.inputFocusBorderAlt=c,a.menuIcon=c,a.menuHeader=c,a.accentButtonBackground=c),d&&(a.primaryButtonBackgroundPressed=d,a.inputBackgroundCheckedHovered=d,a.inputIconHovered=d),p&&(a.linkHovered=p),h&&(a.primaryButtonBackgroundHovered=h),g&&(a.inputPlaceholderBackgroundChecked=g),m&&(a.bodyBackgroundChecked=m,a.bodyFrameDivider=m,a.bodyDivider=m,a.variantBorder=m,a.buttonBackgroundCheckedHovered=m,a.buttonBackgroundPressed=m,a.listItemBackgroundChecked=m,a.listHeaderBackgroundPressed=m,a.menuItemBackgroundPressed=m,a.menuItemBackgroundChecked=m),f&&(a.bodyBackgroundHovered=f,a.buttonBackgroundHovered=f,a.buttonBackgroundDisabled=f,a.buttonBorderDisabled=f,a.primaryButtonBackgroundDisabled=f,a.disabledBackground=f,a.listItemBackgroundHovered=f,a.listHeaderBackgroundHovered=f,a.menuItemBackgroundHovered=f),b&&(a.primaryButtonTextDisabled=b,a.disabledSubtext=b),y&&(a.listItemBackgroundCheckedHovered=y),k&&(a.disabledBodyText=k,a.variantBorderHovered=(null==r?void 0:r.variantBorderHovered)||k,a.buttonTextDisabled=k,a.inputIconDisabled=k,a.disabledText=k),S&&(a.bodyText=S,a.actionLink=S,a.buttonText=S,a.inputBorderHovered=S,a.inputText=S,a.listText=S,a.menuItemText=S),E&&(a.bodyStandoutBackground=E,a.defaultStateBackground=E),v&&(a.actionLinkHovered=v,a.buttonTextHovered=v,a.buttonTextChecked=v,a.buttonTextPressed=v,a.inputTextHovered=v,a.menuItemTextHovered=v),C&&(a.bodySubtext=C,a.focusBorder=C,a.inputBorder=C,a.smallInputBorder=C,a.inputPlaceholderText=C),T&&(a.buttonBorder=T),F&&(a.disabledBodySubtext=F,a.disabledBorder=F,a.buttonBackgroundChecked=F,a.menuDivider=F),A&&(a.accentButtonBackground=A),(null==t?void 0:t.elevation4)&&(a.cardShadow=t.elevation4),!o&&(null==t?void 0:t.elevation8)?a.cardShadowHovered=t.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered),(0,n.Cl)((0,n.Cl)({},a),r)}},26734:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});const n={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"}},31976:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(12215),o=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var r=this,n=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),n=setTimeout((function(){try{r._timeoutIds&&delete r._timeoutIds[n],e.apply(r._parent)}catch(e){r._logError(e)}}),t),this._timeoutIds[n]=!0),n},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var r=this,o=0,i=(0,n.z)(t);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),o=i.setTimeout((function(){try{r._immediateIds&&delete r._immediateIds[o],e.apply(r._parent)}catch(e){r._logError(e)}}),0),this._immediateIds[o]=!0),o},e.prototype.clearImmediate=function(e,t){var r=(0,n.z)(t);this._immediateIds&&this._immediateIds[e]&&(r.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var r=this,n=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),n=setInterval((function(){try{e.apply(r._parent)}catch(e){r._logError(e)}}),t),this._intervalIds[n]=!0),n},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,r){var n=this;if(this._isDisposed)return this._noop;var o,i,a=t||0,s=!0,l=!0,u=0,c=null;r&&"boolean"==typeof r.leading&&(s=r.leading),r&&"boolean"==typeof r.trailing&&(l=r.trailing);var d=function(t){var r=Date.now(),p=r-u,h=s?a-p:a;return p>=a&&(!t||s)?(u=r,c&&(n.clearTimeout(c),c=null),o=e.apply(n._parent,i)):null===c&&l&&(c=n.setTimeout(d,h)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,r){var n=this;if(this._isDisposed){var o=function(){};return o.cancel=function(){},o.flush=function(){return null},o.pending=function(){return!1},o}var i,a,s=t||0,l=!1,u=!0,c=null,d=0,p=Date.now(),h=null;r&&"boolean"==typeof r.leading&&(l=r.leading),r&&"boolean"==typeof r.trailing&&(u=r.trailing),r&&"number"==typeof r.maxWait&&!isNaN(r.maxWait)&&(c=r.maxWait);var g=function(e){h&&(n.clearTimeout(h),h=null),p=e},m=function(t){g(t),i=e.apply(n._parent,a)},f=function(e){var t=Date.now(),r=!1;e&&(l&&t-d>=s&&(r=!0),d=t);var o=t-d,a=s-o,g=t-p,v=!1;return null!==c&&(g>=c&&h?v=!0:a=Math.min(a,c-g)),o>=s||v||r?m(t):null!==h&&e||!u||(h=n.setTimeout(f,a)),i},v=function(){return!!h},b=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,f(!0)};return b.cancel=function(){v()&&g(Date.now())},b.flush=function(){return v()&&m(Date.now()),i},b.pending=v,b},e.prototype.requestAnimationFrame=function(e,t){var r=this,o=0,i=(0,n.z)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var a=function(){try{r._animationFrameIds&&delete r._animationFrameIds[o],e.apply(r._parent)}catch(e){r._logError(e)}};o=i.requestAnimationFrame?i.requestAnimationFrame(a):i.setTimeout(a,0),this._animationFrameIds[o]=!0}return o},e.prototype.cancelAnimationFrame=function(e,t){var r=(0,n.z)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(r.cancelAnimationFrame?r.cancelAnimationFrame(e):r.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}()},64608:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,K:()=>p});var n=r(54029),o=r(10477),i=r(31976),a=r(24077),s=r(15017),l=r(98300),u=r(96746),c=function(e){function t(r,n){var o=e.call(this,r,n)||this;return function(e,t,r){for(var n=0,o=r.length;n<o;n++)d(e,t,r[n])}(o,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}return(0,n.C6)(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var r=this.__disposables[e];r.dispose&&r.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new i.j(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new a.g(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(r){return t[e]=r}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){(0,u.A)(this.className,this.props,e)},t.prototype._warnMutuallyExclusive=function(e){(0,l.Y)(this.className,this.props,e)},t.prototype._warnConditionallyRequiredProps=function(e,t,r){(0,s.J)(this.className,this.props,e,t,r)},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},t}(o.Component);function d(e,t,r){var n=e[r],o=t[r];(n||o)&&(e[r]=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return o&&(e=o.apply(this,t)),n!==o&&(e=n.apply(this,t)),e})}function p(){return null}},37526:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var n=r(54029),o=r(10477),i=r(12215),a=function(e){function t(t){var r=e.call(this,t)||this;return r.state={isRendered:void 0===(0,i.z)()},r}return(0,n.C6)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?o.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(o.Component)},24077:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var n=r(10166),o=r(29305),i=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,r,i,a,s){var l,u=null!=s?s:(0,n.Y)();if(e._isElement(t)){if(void 0!==u&&u.createEvent){var c=u.createEvent("HTMLEvents");c.initEvent(r,a||!1,!0),(0,o.kp)(c,i),l=t.dispatchEvent(c)}else if(void 0!==u&&u.createEventObject){var d=u.createEventObject(i);t.fireEvent("on"+r,d)}}else for(;t&&!1!==l;){var p=t.__events__,h=p?p[r]:null;if(h)for(var g in h)if(h.hasOwnProperty(g))for(var m=h[g],f=0;!1!==l&&f<m.length;f++){var v=m[f];v.objectCallback&&(l=v.objectCallback.call(v.parent,i))}t=a?t.parent:null}return l},e.isObserved=function(e,t){var r=e&&e.__events__;return!!r&&!!r[t]},e.isDeclared=function(e,t){var r=e&&e.__declaredEvents;return!!r&&!!r[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,r){for(var n in t)t.hasOwnProperty(n)&&this.on(e,n,t[n],r)},e.prototype.on=function(t,r,n,o){var i=this;if(r.indexOf(",")>-1)for(var a=r.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],n,o);else{var l=this._parent,u={target:t,eventName:r,parent:l,callback:n,options:o};if((a=t.__events__=t.__events__||{})[r]=a[r]||{count:0},a[r][this._id]=a[r][this._id]||[],a[r][this._id].push(u),a[r].count++,e._isElement(t)){var c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var r;try{if(!1===(r=n.apply(l,e))&&e[0]){var o=e[0];o.preventDefault&&o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.cancelBubble=!0}}catch(o){}return r}};u.elementCallback=c,t.addEventListener?t.addEventListener(r,c,o):t.attachEvent&&t.attachEvent("on"+r,c)}else u.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return n.apply(l,e)};this._eventRecords.push(u)}},e.prototype.off=function(e,t,r,n){for(var o=0;o<this._eventRecords.length;o++){var i=this._eventRecords[o];if(!(e&&e!==i.target||t&&t!==i.eventName||r&&r!==i.callback||"boolean"==typeof n&&n!==i.options)){var a=i.target.__events__,s=a[i.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&r?(s.count--,l.splice(l.indexOf(i),1)):(s.count-=l.length,delete a[i.eventName][this._id]),s.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(o--,1)}}},e.prototype.raise=function(t,r,n){return e.raise(this._parent,t,r,n)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var r=0;r<e.length;r++)t[e[r]]=!0},e._uniqueId=0,e}()},35864:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(10477),o=r(70361),i=function(e){var t=e.providerRef,r=e.layerRoot,i=n.useState([])[0],a=n.useContext(o.dM),s=void 0!==a&&!r,l=n.useMemo((function(){return s?void 0:{providerRef:t,registeredProviders:i,registerProvider:function(e){i.push(e),null==a||a.registerProvider(e)},unregisterProvider:function(e){null==a||a.unregisterProvider(e);var t=i.indexOf(e);t>=0&&i.splice(t,1)}}}),[t,i,a,s]);return n.useEffect((function(){if(l)return l.registerProvider(l.providerRef),function(){return l.unregisterProvider(l.providerRef)}}),[l]),l?n.createElement(o.dM.Provider,{value:l},e.children):n.createElement(n.Fragment,null,e.children)}},47852:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r(12215),o="__globalSettings__",i="__callbacks__",a=0,s=function(){function e(){}return e.getValue=function(e,t){var r=l();return void 0===r[e]&&(r[e]="function"==typeof t?t():t),r[e]},e.setValue=function(e,t){var r=l(),n=r[i],o=r[e];if(t!==o){r[e]=t;var a={oldValue:o,value:t,key:e};for(var s in n)n.hasOwnProperty(s)&&n[s](a)}return t},e.addChangeListener=function(e){var t=e.__id__,r=u();t||(t=e.__id__=String(a++)),r[t]=e},e.removeChangeListener=function(e){delete u()[e.__id__]},e}();function l(){var e,t=(0,n.z)()||{};return t[o]||(t[o]=((e={})[i]={},e)),t[o]}function u(){return l()[i]}},72341:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var n={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},56419:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter((function(e){return e})).join(" ").trim();return""===r?void 0:r}r.d(t,{_:()=>n})},36141:(e,t,r)=>{"use strict";function n(e,t,r){void 0===r&&(r=0);for(var n=-1,o=r;e&&o<e.length;o++)if(t(e[o],o)){n=o;break}return n}function o(e,t){var r=n(e,t);if(!(r<0))return e[r]}function i(e,t){return e.reduce((function(e,r,n){return n%t==0?e.push([r]):e[e.length-1].push(r),e}),[])}function a(e,t){return e.filter((function(e,r){return t!==r}))}function s(e,t,r){var n=e.slice();return n[r]=t,n}function l(e,t,r){var n=e.slice();return n.splice(t,0,r),n}function u(e){var t=[];return e.forEach((function(e){return t=t.concat(e)})),t}function c(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r.d(t,{Bq:()=>u,D3:()=>i,I6:()=>o,SL:()=>n,Ty:()=>l,fx:()=>s,r1:()=>c,xR:()=>a})},91496:(e,t,r)=>{"use strict";function n(e){throw new Error("Unexpected object: "+e)}r.d(t,{x:()=>n})},50550:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(62103),o=r(11579),i=r(83082),a=r(12215),s=50,l=5,u=0,c=n.nr.getInstance();c&&c.onReset&&c.onReset((function(){return u++}));var d="__retval__";function p(e){void 0===e&&(e={});var t=new Map,r=0,n=0,c=u;return function(p,h){var m;if(void 0===h&&(h={}),e.useStaticStyles&&"function"==typeof p&&p.__noStyleOverride__)return p(h);n++;var f=p?p.__shadowConfig__:void 0,v=f&&f.window?f.window:"__default__";t.has(v)||t.set(v,new Map);var b=t.get(v),y=h.theme,S=y&&void 0!==y.rtl?y.rtl:(0,i.jI)(),C=e.disableCaching;if(c!==u&&(c=u,t.set(v,new Map),b=t.get(v),r=0),e.disableCaching||(b=g(t.get(v),p),b=g(b,h)),!C&&b[d]||(b[d]=void 0===p?{}:(0,o.L)(["function"==typeof p?p(h):p],{shadowConfig:p.__shadowConfig__,rtl:!!S,specificityMultiplier:e.useStaticStyles?l:void 0}),C||r++),r>(e.cacheSize||s)){var T=(0,a.z)();(null===(m=null==T?void 0:T.FabricConfig)||void 0===m?void 0:m.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(r,"/").concat(n,".")),console.trace()),t.get(v).clear(),r=0,e.disableCaching=!0}return b[d]}}function h(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function g(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var r=0,n=t.__cachedInputs__;r<n.length;r++)e=h(e,n[r]);else e=h(e,t);else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=h(e,t[o]));return e}},13025:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n=r(54029),o=r(10477),i=r(90044),a=(0,i.J5)((function(e){var t=e;return(0,i.J5)((function(r){if(e===r)throw new Error("Attempted to compose a component with itself.");var a=r,s=(0,i.J5)((function(e){return function(t){return o.createElement(a,(0,n.Cl)({},t,{defaultRender:e}))}}));return function(e){var r=e.defaultRender;return o.createElement(t,(0,n.Cl)({},e,{defaultRender:r?s(r):a}))}}))}));function s(e,t){return a(e)(t)}},11021:(e,t,r)=>{"use strict";r.d(t,{K:()=>o});var n=r(36141),o=function(e){var t={refs:[]};return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.resolver&&(0,n.r1)(t.refs,e)||(t.resolver=function(e){return function(t){for(var r=0,n=e.refs;r<n.length;r++){var o=n[r];"function"==typeof o?o(t):o&&(o.current=t)}}}(t)),t.refs=e,t.resolver}}},24011:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,o=e;n<o.length;n++){var i=o[n];if(i)if("string"==typeof i)r.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)r.push(i.toString());else for(var a in i)i[a]&&r.push(a)}return r.join(" ")}r.d(t,{A:()=>n})},79101:(e,t,r)=>{"use strict";r.d(t,{X:()=>l});var n=r(54029),o=r(47852),i={settings:{},scopedSettings:{},inCustomizerContext:!1},a=o.h.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),s=[],l=function(){function e(){}return e.reset=function(){a.settings={},a.scopedSettings={}},e.applySettings=function(t){a.settings=(0,n.Cl)((0,n.Cl)({},a.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,r){a.scopedSettings[t]=(0,n.Cl)((0,n.Cl)({},a.scopedSettings[t]),r),e._raiseChange()},e.getSettings=function(e,t,r){void 0===r&&(r=i);for(var n={},o=t&&r.scopedSettings[t]||{},s=t&&a.scopedSettings[t]||{},l=0,u=e;l<u.length;l++){var c=u[l];n[c]=o[c]||r.settings[c]||s[c]||a.settings[c]}return n},e.applyBatchedUpdates=function(t,r){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,r||e._raiseChange()},e.observe=function(e){s.push(e)},e.unobserve=function(e){s=s.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||s.forEach((function(e){return e()}))},e}()},96137:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});var n=r(10477).createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},60204:(e,t,r)=>{"use strict";r.d(t,{T:()=>v});var n=r(54029),o=r(10477),i=r(79101),a=r(96137),s=r(75997),l=r(61295),u=r(10091),c=r(92321),d=function(e){var t=e.stylesheetKey,r=e.children,n=(0,u.A)(),o=n.useAdoptedStylesheetEx,i=n.useMergeStylesRootStylesheets,a=n.useWindow,l=(0,c.v)(),d=i(),p=a();return o(s.P6,l,d,p),o(t,l,d,p),r(!!l)},p=r(12215),h=r(18660),g=r(90044),m=(0,g.J9)(s.HD),f=(0,g.J9)((function(e,t,r){var n,o=null!==(n=null!=t?t:e)&&void 0!==n?n:{};return o.__shadowConfig__=r,o}));function v(e,t,r){return function(s){var u,c=(u=function(u){function c(e){var t=u.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return(0,n.C6)(c,u),c.prototype.componentDidMount=function(){i.X.observe(this._onSettingChanged)},c.prototype.componentWillUnmount=function(){i.X.unobserve(this._onSettingChanged)},c.prototype.render=function(){var u=this;return o.createElement(d,{stylesheetKey:e},(function(c){return o.createElement(a.z.Consumer,null,(function(a){var d,h=i.X.getSettings(t,e,a.customizations),g=null!==(d=u.context.window)&&void 0!==d?d:(0,p.z)(),v=m(e,c,g),b=u.props;if(h.styles&&"function"==typeof h.styles&&(h.styles=h.styles((0,n.Cl)((0,n.Cl)({},h),b))),r&&h.styles){if(u._styleCache.default!==h.styles||u._styleCache.component!==b.styles){var y=(0,l.T)(h.styles,b.styles);y.__shadowConfig__=v,u._styleCache.default=h.styles,u._styleCache.component=b.styles,u._styleCache.merged=y}return o.createElement(s,(0,n.Cl)({},h,b,{styles:u._styleCache.merged}))}var S=f(h.styles,b.styles,v);return o.createElement(s,(0,n.Cl)({},h,b,{styles:S}))}))}))},c.prototype._onSettingChanged=function(){this.forceUpdate()},c}(o.Component),u.displayName="Customized"+e,u.contextType=h._0,u);return function(e,t){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}(s,c)}}},19746:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(10477),o=r(79101),i=r(96137);function a(e,t){var r,a=(r=n.useState(0)[1],function(){return r((function(e){return++e}))}),s=n.useContext(i.z).customizations,l=s.inCustomizerContext;return n.useEffect((function(){return l||o.X.observe(a),function(){l||o.X.unobserve(a)}}),[l]),o.X.getSettings(e,t,s)}},77672:(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}r.d(t,{S:()=>n})},10166:(e,t,r)=>{"use strict";r.d(t,{Y:()=>o});var n=r(77672);function o(e){if((0,n.S)()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},12215:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var n=r(77672),o=void 0;try{o=window}catch(e){}function i(e){if((0,n.S)()&&void 0!==o){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:o}}},63874:(e,t,r)=>{"use strict";function n(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}r.d(t,{on:()=>n})},50157:(e,t,r)=>{"use strict";r.d(t,{SE:()=>F,lo:()=>I,vO:()=>f,Ep:()=>w,j5:()=>p,oR:()=>g,nA:()=>x,dm:()=>h,Cm:()=>m,eX:()=>b,yv:()=>v,Z5:()=>k,HC:()=>T,S0:()=>C,F2:()=>S,_l:()=>E});var n=r(46054),o=r(75296),i=r(29607),a=r(12215),s=r(10166),l="data-is-focusable",u="data-is-visible",c="data-focuszone-id",d="data-is-sub-focuszone";function p(e,t,r,n){return b(e,t,!0,!1,!1,r,void 0,void 0,void 0,n)}function h(e,t,r,n){return v(e,t,!0,!1,!0,r,void 0,void 0,n)}function g(e,t,r,n,o){return void 0===n&&(n=!0),b(e,t,n,!1,!1,r,!1,!0,void 0,o)}function m(e,t,r,n,o){return void 0===n&&(n=!0),v(e,t,n,!1,!0,r,!1,!0,o)}function f(e,t,r){var n=b(e,e,!0,!1,!1,!0,void 0,void 0,t,r);return!!n&&(I(n),!0)}function v(e,t,r,n,o,i,a,s,l){var u;if(!t||!a&&t===e)return null;var c=y(t);if(o&&c&&(i||!T(t)&&!k(t))){var d=v(e,t.lastElementChild||l&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,s,l);if(d){if(s&&C(d,!0,l)||!s)return d;var p=v(e,d.previousElementSibling,!0,!0,!0,i,a,s,l);if(p)return p;for(var h=d.parentElement;h&&h!==t;){var g=v(e,h.previousElementSibling,!0,!0,!0,i,a,s,l);if(g)return g;h=h.parentElement}}}return r&&c&&C(t,s,l)?t:v(e,t.previousElementSibling,!0,!0,!0,i,a,s,l)||(n?null:v(e,t.parentElement,!0,!1,!1,i,a,s,l))}function b(e,t,r,n,o,i,a,s,l,u){var c;if(!t||t===e&&o&&!a)return null;var d=(l?S:y)(t);if(r&&d&&C(t,s,u))return t;if(!o&&d&&(i||!T(t)&&!k(t))){var p=b(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,s,l,u);if(p)return p}return t===e?null:b(e,t.nextElementSibling,!0,!0,!1,i,a,s,l,u)||(n?null:b(e,t.parentElement,!1,!1,!0,i,a,s,l,u))}function y(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(u);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function S(e,t){var r=null!=t?t:(0,a.z)();return!!e&&y(e)&&!e.hidden&&"hidden"!==r.getComputedStyle(e).visibility}function C(e,t,r){if(void 0===r&&(r=!0),!e||e.disabled)return!1;var n=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(n=parseInt(o,10));var i=e.getAttribute?e.getAttribute(l):null,a=null!==o&&n>=0,s=!(!r||!e.shadowRoot||!e.shadowRoot.delegatesFocus),u=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||s);return t?-1!==n&&u:u}function T(e){return!!(e&&e.getAttribute&&e.getAttribute(c))}function k(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(d))}function F(e){var t=(0,s.Y)(e),r=t&&t.activeElement;return!(!r||!(0,o.s)(e,r))}function E(e,t,r){return"true"!==function(e,t,r){var o=(0,n.w)(e,(function(e){return e.hasAttribute(t)}),r);return o&&o.getAttribute(t)}(e,t,null!=r?r:(0,s.Y)())}var A=void 0;function I(e){if(e){var t=(0,a.z)(e);t&&(void 0!==A&&t.cancelAnimationFrame(A),A=t.requestAnimationFrame((function(){e&&e.focus(),A=void 0})))}}function x(e,t){for(var r=e,n=0,o=t;n<o.length;n++){var i=o[n],a=r.children[Math.min(i,r.children.length-1)];if(!a)break;r=a}return C(r)&&y(r)?r:b(e,r,!0)||v(e,r)}function w(e,t){for(var r=[];t&&e&&t!==e;){var n=(0,i.P)(t,!0);if(null===n)return[];r.unshift(Array.prototype.indexOf.call(n.children,t)),t=n}return r}},40409:(e,t,r)=>{"use strict";r.d(t,{O:()=>u});var n=r(12215),o=r(62103),i="__currentId__",a="id__",s=(0,n.z)()||{};void 0===s[i]&&(s[i]=0);var l=!1;function u(e){if(!l){var t=o.nr.getInstance();t&&t.onReset&&t.onReset(c),l=!0}var r=s[i]++;return(void 0===e?a:e)+r}function c(e){void 0===e&&(e=0),s[i]=e}},90290:(e,t,r)=>{"use strict";r.d(t,{N:()=>o});var n=r(54029);function o(e,t){for(var r=(0,n.Cl)({},t),o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];void 0===r[a]&&(r[a]=e[a])}return r}},2904:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(12215),o=function(){var e,t=(0,n.z)();return!!(null===(e=null==t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1}},69250:(e,t,r)=>{"use strict";function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length<2?t[0]:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];t.forEach((function(t){return t&&t.apply(e,r)}))}}function o(e){!function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=n(e,e[r],t[r]))}(e,{componentDidMount:i,componentDidUpdate:a,componentWillUnmount:s})}function i(){l(this.props.componentRef,this)}function a(e){e.componentRef!==this.props.componentRef&&(l(e.componentRef,null),l(this.props.componentRef,this))}function s(){l(this.props.componentRef,null)}function l(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}r.d(t,{f:()=>o})},90044:(e,t,r)=>{"use strict";r.d(t,{J5:()=>d,J9:()=>c});var n=r(62103),o=!1,i=0,a={empty:!0},s={},l="undefined"==typeof WeakMap?null:WeakMap;function u(){i++}function c(e,t,r){if(void 0===t&&(t=100),void 0===r&&(r=!1),!l)return e;if(!o){var c=n.nr.getInstance();c&&c.onReset&&n.nr.getInstance().onReset(u),o=!0}var d,h=0,g=i;return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var l,u=d;(void 0===d||g!==i||t>0&&h>t)&&(d=p(),h=0,g=i),u=d;for(var c=0;c<n.length;c++){var m=(l=n[c])?"object"==typeof l||"function"==typeof l?l:(s[l]||(s[l]={val:l}),s[l]):a;u.map.has(m)||u.map.set(m,p()),u=u.map.get(m)}return u.hasOwnProperty("value")||(u.value=e.apply(void 0,n),h++),!r||null!==u.value&&void 0!==u.value||(u.value=e.apply(void 0,n)),u.value}}function d(e){if(!l)return e;var t=new l;return function(r){if(!r||"function"!=typeof r&&"object"!=typeof r)return e(r);if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}function p(){return{map:l?new l:null}}},80330:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});var n=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)}},70195:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});var n=r(10166),o=["TEMPLATE","STYLE","SCRIPT"];function i(e){var t=(0,n.Y)(e);if(!t)return function(){};for(var r=[];e!==t.body&&e.parentElement;){for(var i=0,a=e.parentElement.children;i<a.length;i++){var s=a[i],l=s.getAttribute("aria-hidden");s!==e&&"true"!==(null==l?void 0:l.toLowerCase())&&-1===o.indexOf(s.tagName)&&r.push([s,l])}e=e.parentElement}return r.forEach((function(e){e[0].setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){var t=e[0],r=e[1];r?t.setAttribute("aria-hidden",r):t.removeAttribute("aria-hidden")}))}(r),r=[]}}},29305:(e,t,r)=>{"use strict";function n(e,t){if(!e||!t)return!e&&!t;for(var r in e)if(e.hasOwnProperty(r)&&(!t.hasOwnProperty(r)||t[r]!==e[r]))return!1;for(var r in t)if(t.hasOwnProperty(r)&&!e.hasOwnProperty(r))return!1;return!0}function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return i.apply(this,[null,e].concat(t))}function i(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t=t||{};for(var o=0,i=r;o<i.length;o++){var a=i[o];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}function a(e,t){var r={};for(var n in e)-1===t.indexOf(n)&&e.hasOwnProperty(n)&&(r[n]=e[n]);return r}r.d(t,{ab:()=>n,cJ:()=>a,kp:()=>o})},44970:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n,o=r(12215);function i(e){var t;if(void 0===n||e){var r=(0,o.z)(),i=null===(t=null==r?void 0:r.navigator)||void 0===t?void 0:t.userAgent;n=!!i&&-1!==i.indexOf("Macintosh")}return!!n}},82015:(e,t,r)=>{"use strict";r.d(t,{Cq:()=>f,Cs:()=>E,Fo:()=>u,G1:()=>x,Gp:()=>F,JM:()=>I,P4:()=>d,QQ:()=>g,Qf:()=>k,Sg:()=>l,Sh:()=>m,al:()=>b,cr:()=>S,g0:()=>y,k3:()=>C,lA:()=>T,p3:()=>c,q6:()=>s,t0:()=>p,tK:()=>v,uw:()=>h,vt:()=>a,xM:()=>A});var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r={},n=0,o=e;n<o.length;n++)for(var i=o[n],a=0,s=Array.isArray(i)?i:Object.keys(i);a<s.length;a++)r[s[a]]=1;return r},o=n(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),i=n(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=n(i,o),s=n(a,["form"]),l=n(a,["height","loop","muted","preload","src","width"]),u=n(l,["poster"]),c=n(a,["start"]),d=n(a,["value"]),p=n(a,["download","href","hrefLang","media","rel","target","type"]),h=n(a,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),g=n(h,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),m=n(h,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),f=n(h,["form","multiple","required"]),v=n(a,["selected","value"]),b=n(a,["cellPadding","cellSpacing"]),y=a,S=n(a,["rowSpan","scope"]),C=n(a,["colSpan","headers","rowSpan","scope"]),T=n(a,["span"]),k=n(a,["span"]),F=n(a,["acceptCharset","action","encType","encType","method","noValidate","target"]),E=n(a,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),A=n(a,["alt","crossOrigin","height","src","srcSet","useMap","width"]),I=a;function x(e,t,r){for(var n=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!n&&t[s]||n&&t.indexOf(s)>=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(s))||(o[s]=e[s])}return o}},22137:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(90044),o=(0,n.J5)((function(e){return(0,n.J5)((function(t){var r=(0,n.J5)((function(e){return function(r){return t(r,e)}}));return function(n,o){return e(n,o?r(o):t)}}))}));function i(e,t){return o(e)(t)}},83082:(e,t,r)=>{"use strict";r.d(t,{SM:()=>c,jI:()=>u});var n,o=r(72341),i=r(10166),a=r(14319),s=r(12937),l="isRTL";function u(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===n){var t=(0,a.G)(l);null!==t&&function(e,t){void 0===t&&(t=!1);var r=(0,i.Y)();r&&r.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&(0,a.S)(l,e?"1":"0"),n=e,(0,s.DU)(n)}(n="1"===t);var r=(0,i.Y)();void 0===n&&r&&(n="rtl"===(r.body&&r.body.getAttribute("dir")||r.documentElement.getAttribute("dir")),(0,s.DU)(n))}return!!n}function c(e,t){return void 0===t&&(t={}),u(t)&&(e===o.c.left?e=o.c.right:e===o.c.right&&(e=o.c.left)),e}},76111:(e,t,r)=>{"use strict";r.d(t,{Hc:()=>m,XJ:()=>g,c8:()=>c,fY:()=>h,mh:()=>p});var n,o=r(10166),i=r(97665),a=r(12215),s=0,l=(0,i.Z)({overflow:"hidden !important"}),u="data-is-scrollable",c=function(e,t){var r=(0,a.z)(e);if(e&&r){var n=0,o=null,i=r.getComputedStyle(e);t.on(e,"touchstart",(function(e){1===e.targetTouches.length&&(n=e.targetTouches[0].clientY)}),{passive:!1}),t.on(e,"touchmove",(function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),o)){var t=e.targetTouches[0].clientY-n,a=m(e.target);a&&o!==a&&(o=a,i=r.getComputedStyle(o));var s=o.scrollTop,l="column-reverse"===(null==i?void 0:i.flexDirection);0===s&&(l?t<0:t>0)&&e.preventDefault(),o.scrollHeight-Math.abs(Math.ceil(s))<=o.clientHeight&&(l?t>0:t<0)&&e.preventDefault()}}),{passive:!1}),o=e}},d=function(e){e.preventDefault()};function p(){var e=(0,o.Y)();e&&e.body&&!s&&(e.body.classList.add(l),e.body.addEventListener("touchmove",d,{passive:!1,capture:!1})),s++}function h(){if(s>0){var e=(0,o.Y)();e&&e.body&&1===s&&(e.body.classList.remove(l),e.body.removeEventListener("touchmove",d)),s--}}function g(e){if(void 0===n){var t=null!=e?e:(0,o.Y)(),r=t.createElement("div");r.style.setProperty("width","100px"),r.style.setProperty("height","100px"),r.style.setProperty("overflow","scroll"),r.style.setProperty("position","absolute"),r.style.setProperty("top","-9999px"),t.body.appendChild(r),n=r.offsetWidth-r.clientWidth,t.body.removeChild(r)}return n}function m(e){for(var t=e,r=(0,o.Y)(e);t&&t!==r.body;){if("true"===t.getAttribute(u))return t;t=t.parentElement}for(t=e;t&&t!==r.body;){if("false"!==t.getAttribute(u)){var n=getComputedStyle(t),i=n?n.getPropertyValue("overflow-y"):"";if(i&&("scroll"===i||"auto"===i))return t}t=t.parentElement}return t&&t!==r.body||(t=(0,a.z)(e)),t}},74659:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(22692),o=r(24077),i=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0]||{},o=r.onSelectionChanged,i=r.onItemsChanged,s=r.getKey,l=r.canSelectItem,u=void 0===l?function(){return!0}:l,c=r.items,d=r.selectionMode,p=void 0===d?n.Qc.multiple:d;this.mode=p,this._getKey=s||a,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=o,this._onItemsChanged=i,this._canSelectItem=u,this._keyToIndexMap={},this._isModal=!1,this.setItems(c||[],!0),this.count=this.getSelectedCount()}return e.prototype.canSelectItem=function(e,t){return!("number"==typeof t&&t<0)&&this._canSelectItem(e,t)},e.prototype.getKey=function(e,t){var r=this._getKey(e,t);return"number"==typeof r||r?"".concat(r):""},e.prototype.setChangeEvents=function(e,t){this._changeEventSuppressionCount+=e?-1:1,0===this._changeEventSuppressionCount&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},e.prototype.isModal=function(){return this._isModal},e.prototype.setModal=function(e){this._isModal!==e&&(this.setChangeEvents(!1),this._isModal=e,e||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},e.prototype.setItems=function(e,t){void 0===t&&(t=!0);var r={},i={},a=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var s=!1,l=0;l<e.length;l++)(p=e[l])&&(b=this.getKey(p,l))&&(s||b in this._keyToIndexMap&&this._keyToIndexMap[b]===l||(s=!0),r[b]=l),i[l]=p&&!this.canSelectItem(p),i[l]&&this._unselectableCount++;(t||0===e.length)&&this._setAllSelected(!1,!0);var u={},c=0;for(var d in this._exemptedIndices)if(this._exemptedIndices.hasOwnProperty(d)){var p,h=Number(d),g=(p=this._items[h])?this.getKey(p,Number(h)):void 0,m=g?r[g]:h;void 0===m?a=!0:(u[m]=!0,c++,a=a||m!==h)}if(this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(a=!0),!s)for(var f=0,v=Object.keys(this._keyToIndexMap);f<v.length;f++){var b;if(!((b=v[f])in r)){s=!0;break}}this._exemptedIndices=u,this._exemptedCount=c,this._keyToIndexMap=r,this._unselectableIndices=i,this._items=e,this._selectedItems=null,a&&this._updateCount(),s&&(o.g.raise(this,n.Nx),this._onItemsChanged&&this._onItemsChanged()),a&&this._change(),this.setChangeEvents(!0)},e.prototype.getItems=function(){return this._items},e.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(e[t])}return this._selectedItems},e.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},e.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},e.prototype.getItemIndex=function(e){var t=this._keyToIndexMap[e];return null!=t?t:-1},e.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var r=e+t,n=e;n<r;n++)if(!this.isIndexSelected(n))return!1;return!0},e.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===n.Qc.single&&(e=Math.min(e,1)),this.count>0&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&e>0},e.prototype.isKeySelected=function(e){var t=this._keyToIndexMap[e];return this.isIndexSelected(t)},e.prototype.isIndexSelected=function(e){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},e.prototype.setAllSelected=function(e){if(!e||this.mode===n.Qc.multiple){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0)}},e.prototype.setKeySelected=function(e,t,r){var n=this._keyToIndexMap[e];n>=0&&this.setIndexSelected(n,t,r)},e.prototype.setIndexSelected=function(e,t,r){if(this.mode!==n.Qc.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var o=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===n.Qc.single&&this._setAllSelected(!1,!0),o&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!o&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),r&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.setRangeSelected=function(e,t,r,o){if(this.mode!==n.Qc.none&&(e=Math.min(Math.max(0,e),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-e),!(e<0||e>=this._items.length||0===t))){this.setChangeEvents(!1);for(var i=e,a=e+t-1,s=(this._anchoredIndex||0)>=a?i:a;i<=a;i++)this.setIndexSelected(i,r,!!o&&i===s);this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToRange=function(e,t,r){if(this.mode!==n.Qc.none)if(this.mode!==n.Qc.single){var o=this._anchoredIndex||0,i=Math.min(e,o),a=Math.max(e+t-1,o);for(this.setChangeEvents(!1),r&&this._setAllSelected(!1,!0);i<=a;i++)this.setIndexSelected(i,!0,!1);this.setChangeEvents(!0)}else 1===t&&this.setIndexSelected(e,!0,!0)},e.prototype.selectToIndex=function(e,t){if(this.mode!==n.Qc.none)if(this.mode!==n.Qc.single){var r=this._anchoredIndex||0,o=Math.min(e,r),i=Math.max(e,r);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);o<=i;o++)this.setIndexSelected(o,!0,!1);this.setChangeEvents(!0)}else this.setIndexSelected(e,!0,!0)},e.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},e.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},e.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},e.prototype.toggleRangeSelected=function(e,t){if(this.mode!==n.Qc.none){var r=this.isRangeSelected(e,t),o=e+t;if(!(this.mode===n.Qc.single&&t>1)){this.setChangeEvents(!1);for(var i=e;i<o;i++)this.setIndexSelected(i,!r,!1);this.setChangeEvents(!0)}}},e.prototype._updateCount=function(e){void 0===e&&(e=!1);var t=this.getSelectedCount();t!==this.count&&(this.count=t,this._change()),this.count||e||this.setModal(!1)},e.prototype._setAllSelected=function(e,t){if(void 0===t&&(t=!1),!e||this.mode===n.Qc.multiple){var r=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),r>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,o.g.raise(this,n.ij),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function a(e,t){var r=(e||{}).key;return void 0===r?"".concat(t):r}},22692:(e,t,r)=>{"use strict";r.d(t,{Nx:()=>a,Qc:()=>n,ij:()=>i});var n,o,i="change",a="items-change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(n||(n={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(o||(o={}))},14319:(e,t,r)=>{"use strict";r.d(t,{G:()=>o,S:()=>i});var n=r(12215);function o(e){var t=null;try{var r=(0,n.z)();t=r?r.sessionStorage.getItem(e):null}catch(e){}return t}function i(e,t){var r;try{null===(r=(0,n.z)())||void 0===r||r.sessionStorage.setItem(e,t)}catch(e){}}},37442:(e,t,r)=>{"use strict";r.d(t,{Fy:()=>s,Y2:()=>o});var n=r(12215),o="ms-Fabric--isFocusVisible",i="ms-Fabric--isFocusHidden";function a(e,t){e&&(e.classList.add(t?o:i),e.classList.remove(t?i:o))}function s(e,t,r){var o;r?r.forEach((function(t){return a(t.current,e)})):a(null===(o=(0,n.z)(t))||void 0===o?void 0:o.document.body,e)}},37295:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var n=r(10477).createContext(void 0)},10091:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(10477),o=r(75997),i=function(){return!1},a=function(){},s=n.createContext({stylesheets:new Map,useAdoptedStylesheetEx:i,useAdoptedStylesheet:i,useShadowConfig:function(){return o.ou},useMergeStylesShadowRootContext:a,useHasMergeStylesShadowRootContext:i,useMergeStylesRootStylesheets:function(){return new Map},useWindow:a,useStyled:a}),l=function(){var e=n.useContext(s);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}}},92321:(e,t,r)=>{"use strict";r.d(t,{h:()=>i,v:()=>a});var n=r(10477),o=r(37295),i=function(){return!!a()},a=function(){return n.useContext(o.c)}},73725:(e,t,r)=>{"use strict";r.d(t,{I:()=>u});var n=r(54029),o=r(10477),i=r(14345),a=r(10091),s=r(19746),l=["theme","styles"];function u(e,t,r,u,c){var d=(u=u||{scope:"",fields:void 0}).scope,p=u.fields,h=void 0===p?l:p,g=o.forwardRef((function(l,u){var c=o.useRef(),p=(0,s.m)(h,d),g=p.styles,m=(p.dir,(0,n.Tt)(p,["styles","dir"])),f=r?r(l):void 0,v=(0,a.A)().useStyled,b=c.current&&c.current.__cachedInputs__||[],y=l.styles;if(!c.current||g!==b[1]||y!==b[2]){var S=function(e){return(0,i.p)(e,t,g,y)};S.__cachedInputs__=[t,g,y],S.__noStyleOverride__=!g&&!y,c.current=S}return c.current.__shadowConfig__=v(d),o.createElement(e,(0,n.Cl)({ref:u},m,f,l,{styles:c.current}))}));g.displayName="Styled".concat(e.displayName||e.name);var m=c?o.memo(g):g;return g.displayName&&(m.displayName=g.displayName),m}},70361:(e,t,r)=>{"use strict";r.d(t,{MO:()=>f,dM:()=>g,vk:()=>m});var n,o=r(10477),i=r(12215),a=r(72341),s=((n={})[a.c.up]=1,n[a.c.down]=1,n[a.c.left]=1,n[a.c.right]=1,n[a.c.home]=1,n[a.c.end]=1,n[a.c.tab]=1,n[a.c.pageUp]=1,n[a.c.pageDown]=1,n);function l(e){return!!s[e]}var u=r(37442),c=new WeakMap,d=new WeakMap;function p(e,t){var r,n=c.get(e);return r=n?n+t:1,c.set(e,r),r}function h(e){var t=d.get(e);return t||(t={onMouseDown:function(t){return v(t,e.registeredProviders)},onPointerDown:function(t){return b(t,e.registeredProviders)},onKeyDown:function(t){return y(t,e.registeredProviders)},onKeyUp:function(t){return S(t,e.registeredProviders)}},d.set(e,t),t)}var g=o.createContext(void 0);function m(e){var t=o.useContext(g);o.useEffect((function(){var r,n,o,a,s=(0,i.z)(null==e?void 0:e.current);if(s&&!0!==(null===(r=s.FabricConfig)||void 0===r?void 0:r.disableFocusRects)){var l,u,c,d,g=s;if((null===(n=null==t?void 0:t.providerRef)||void 0===n?void 0:n.current)&&(null===(a=null===(o=null==t?void 0:t.providerRef)||void 0===o?void 0:o.current)||void 0===a?void 0:a.addEventListener)){g=t.providerRef.current;var m=h(t);l=m.onMouseDown,u=m.onPointerDown,c=m.onKeyDown,d=m.onKeyUp}else l=v,u=b,c=y,d=S;var f=p(g,1);return f<=1&&(g.addEventListener("mousedown",l,!0),g.addEventListener("pointerdown",u,!0),g.addEventListener("keydown",c,!0),g.addEventListener("keyup",d,!0)),function(){var e;s&&!0!==(null===(e=s.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(f=p(g,-1))&&(g.removeEventListener("mousedown",l,!0),g.removeEventListener("pointerdown",u,!0),g.removeEventListener("keydown",c,!0),g.removeEventListener("keyup",d,!0))}}}),[t,e])}var f=function(e){return m(e.rootRef),null};function v(e,t){(0,u.Fy)(!1,e.target,t)}function b(e,t){"mouse"!==e.pointerType&&(0,u.Fy)(!1,e.target,t)}function y(e,t){l(e.which)&&(0,u.Fy)(!0,e.target,t)}function S(e,t){l(e.which)&&(0,u.Fy)(!0,e.target,t)}},80837:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(10477),o=(0,r(77672).S)()?n.useLayoutEffect:n.useEffect},70105:(e,t,r)=>{"use strict";function n(e){console&&console.warn&&console.warn(e)}r.d(t,{R:()=>n})},15017:(e,t,r)=>{"use strict";function n(e,t,r,n,o){}r.d(t,{J:()=>n})},96746:(e,t,r)=>{"use strict";function n(e,t,r){}r.d(t,{A:()=>n})},98300:(e,t,r)=>{"use strict";function n(e,t,r){}r.d(t,{Y:()=>n})},38182:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});var n=r(48703),o=r(27743);function i(e,t,r=n.A){const i=r();let a=null,s=null;return function(r){const{dir:n,renderer:l}=r,u="ltr"===n;return u?null===a&&(a=(0,o.N)(e,n)):null===s&&(s=(0,o.N)(e,n)),i(l,t),u?a:s}}},46751:(e,t,r)=>{"use strict";r.d(t,{AX:()=>m,EJ:()=>l,FS:()=>g,Ut:()=>v,aN:()=>u,ed:()=>s,ez:()=>c,fj:()=>d,k1:()=>a,qw:()=>f,uq:()=>p,wn:()=>h});const n="undefined"==typeof window?r.g:window,o="@griffel/";function i(e,t){return n[Symbol.for(o+e)]||(n[Symbol.for(o+e)]=t),n[Symbol.for(o+e)]}const a=i("DEFINITION_LOOKUP_TABLE",{}),s="data-make-styles-bucket",l="data-priority",u="f",c=7,d="___",p="_",h=d.length+c,g=0,m=1,f={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},v="DO_NOT_USE_DIRECTLY: @griffel/reset-value"},84105:(e,t,r)=>{"use strict";r.d(t,{Pt:()=>S});const n=["Top","Right","Bottom","Left"];function o(e,t,...r){const[o,i=o,a=o,s=i]=r,l=[o,i,a,s],u={};for(let r=0;r<l.length;r+=1)(l[r]||0===l[r])&&(u[e+n[r]+t]=l[r]);return u}function i(...e){return o("border","Width",...e)}function a(...e){return o("border","Style",...e)}function s(...e){return o("border","Color",...e)}const l=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function u(e){return l.includes(e)}const c=e=>"number"==typeof e&&!Number.isNaN(e),d=e=>"auto"===e,p=["content","fit-content","max-content","min-content"],h=e=>p.some((t=>e===t))||(e=>"string"==typeof e&&/(\d+(\w+|%))/.test(e))(e),g=/var\(.*\)/gi,m=/^[a-zA-Z0-9\-_\\#;]+$/,f=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function v(e){return void 0!==e&&"string"==typeof e&&m.test(e)&&!f.test(e)}const b=["-moz-initial","inherit","initial","revert","unset"],y=["dashed","dotted","double","solid","wavy"],S={border:function(...e){return u(e[0])?Object.assign({},a(e[0]),e[1]&&i(e[1]),e[2]&&s(e[2])):Object.assign({},i(e[0]),e[1]&&a(e[1]),e[2]&&s(e[2]))},borderLeft:function(...e){return u(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})},borderBottom:function(...e){return u(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})},borderRight:function(...e){return u(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})},borderTop:function(...e){return u(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})},borderColor:s,borderStyle:a,borderRadius:function(e,t=e,r=e,n=t){return{borderBottomRightRadius:r,borderBottomLeftRadius:n,borderTopRightRadius:t,borderTopLeftRadius:e}},borderWidth:i,flex:function(...e){const t=1===e.length,r=2===e.length,n=3===e.length;if(t){const[t]=e;if("initial"===t)return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(d(t))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if("none"===t)return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(c(t))return{flexGrow:t,flexShrink:1,flexBasis:0};if(h(t))return{flexGrow:1,flexShrink:1,flexBasis:t}}if(r){const[t,r]=e;if(c(r))return{flexGrow:t,flexShrink:r,flexBasis:0};if(h(r))return{flexGrow:t,flexShrink:1,flexBasis:r}}if(n){const[t,r,n]=e;if(c(t)&&c(r)&&(d(n)||h(n)))return{flexGrow:t,flexShrink:r,flexBasis:n}}return{}},gap:function(e,t=e){return{columnGap:e,rowGap:t}},gridArea:function(...e){if(e.some((e=>!function(e){return void 0===e||"number"==typeof e||"string"==typeof e&&!g.test(e)}(e))))return{};const t=void 0!==e[0]?e[0]:"auto",r=void 0!==e[1]?e[1]:v(t)?t:"auto";return{gridRowStart:t,gridColumnStart:r,gridRowEnd:void 0!==e[2]?e[2]:v(t)?t:"auto",gridColumnEnd:void 0!==e[3]?e[3]:v(r)?r:"auto"}},margin:function(...e){return o("margin","",...e)},marginBlock:function(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}},marginInline:function(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}},padding:function(...e){return o("padding","",...e)},paddingBlock:function(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}},paddingInline:function(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}},overflow:function(e,t=e){return{overflowX:e,overflowY:t}},inset:function(...e){const[t,r=t,n=t,o=r]=e;return{top:t,right:r,bottom:n,left:o}},outline:function(e,t,r){return Object.assign({outlineWidth:e},t&&{outlineStyle:t},r&&{outlineColor:r})},transition:function(...e){return function(e){return 1===e.length&&b.includes(e[0])}(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:(t=e,1===t.length&&Array.isArray(t[0])?t[0]:[t]).reduce(((e,[t,r="0s",n="0s",o="ease"],i)=>(0===i?(e.transitionProperty=t,e.transitionDuration=r,e.transitionDelay=n,e.transitionTimingFunction=o):(e.transitionProperty+=`, ${t}`,e.transitionDuration+=`, ${r}`,e.transitionDelay+=`, ${n}`,e.transitionTimingFunction+=`, ${o}`),e)),{});var t},textDecoration:function(e,...t){if(0===t.length)return function(e){return y.includes(e)}(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[r,n,o]=t;return Object.assign({textDecorationLine:e},r&&{textDecorationStyle:r},n&&{textDecorationColor:n},o&&{textDecorationThickness:o})}}},48703:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=()=>{const e={};return function(t,r){void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}}},26838:(e,t,r)=>{"use strict";r.d(t,{z:()=>s});var n=r(46751),o=r(91904),i=r(27743);const a={};function s(){let e=null,t="",r="";const s=new Array(arguments.length);for(let e=0;e<arguments.length;e++){const o=arguments[e];if("string"==typeof o&&""!==o){const i=o.indexOf(n.fj);if(-1===i)t+=o+" ";else{const a=o.substr(i,n.wn);i>0&&(t+=o.slice(0,i)),r+=a,s[e]=a}}}if(""===r)return t.slice(0,-1);const l=a[r];if(void 0!==l)return t+l;const u=[];for(let t=0;t<arguments.length;t++){const r=s[t];if(r){const t=n.k1[r];t&&(u.push(t[n.FS]),e=t[n.AX])}}const c=Object.assign.apply(Object,[{}].concat(u)),[d,p]=(0,i.z)(c,e),h=(0,o.G)(p,e,s),g=h+" "+d;return a[r]=g,n.k1[h]=[c,e],t+g}},27743:(e,t,r)=>{"use strict";r.d(t,{N:()=>a,z:()=>i});var n=r(46751),o=r(91904);function i(e,t){let r="",n="";for(const o in e){const i=e[o];if(0===i){n+=o+" ";continue}const a=Array.isArray(i),s="rtl"===t?(a?i[1]:i)+" ":(a?i[0]:i)+" ";r+=s,n+=s}return[r.slice(0,-1),n.slice(0,-1)]}function a(e,t){const r={};for(const a in e){const[s,l]=i(e[a],t);if(""===l){r[a]="";continue}const u=(0,o.G)(l,t),c=u+(""===s?"":" "+s);n.k1[u]=[e[a],t],r[a]=c}return r}},91904:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(32474),o=r(46751);function i(e,t,r=[]){return o.fj+function(e){const t=e.length;if(t===o.ez)return e;for(let r=t;r<o.ez;r++)e+="0";return e}((0,n.A)(e+t))}},18769:(e,t,r)=>{"use strict";r.d(t,{J:()=>p});var n=r(46751);const o=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce(((e,t,r)=>(e[t]=r,e)),{});function i(e,t,r,i,a={}){var s,l;const u="m"===e,c=null!=(s=a.m)?s:"0",d=null!=(l=a.p)?l:0,p=function(e,t,r){return("m"===e?e+t:e)+r}(e,c,d);if(!i.stylesheets[p]){const s=t&&t.createElement("style"),l=function(e,t,r,o){const i=[];if(o[n.ed]=t,o[n.EJ]=String(r),e)for(const t in o)e.setAttribute(t,o[t]);return{elementAttributes:o,insertRule:function(t){return null!=e&&e.sheet?e.sheet.insertRule(t,e.sheet.cssRules.length):i.push(t)},element:e,bucketName:t,cssRules:()=>null!=e&&e.sheet?Array.from(e.sheet.cssRules).map((e=>e.cssText)):i}}(s,e,d,Object.assign({},i.styleElementAttributes,u&&{media:c}));i.stylesheets[p]=l,t&&s&&t.head.insertBefore(s,function(e,t,r,i,a={}){var s,l;const u=o[r],c=null!=(s=a.m)?s:"",d=null!=(l=a.p)?l:0;let p=e=>u-o[e.getAttribute(n.ed)],h=e.head.querySelectorAll(`[${n.ed}]`);if("m"===r){const t=e.head.querySelectorAll(`[${n.ed}="${r}"]`);t.length&&(h=t,p=e=>i.compareMediaQueries(c,e.media))}const g=h.length;let m=g-1;for(;m>=0;){const e=h.item(m);if((function(e,t,r){var o,i;return t+(null!=(o=r.m)?o:"")===e.getAttribute(n.ed)+(null!=(i=e.media)?i:"")}(f=e,r,a)?d-Number(f.getAttribute("data-priority")):p(f))>0)return e.nextSibling;m--}var f;return g>0?h.item(0):t?t.nextSibling:null}(t,r,e,i,a))}return i.stylesheets[p]}function a(e,t){try{e.insertRule(t)}catch(e){}}let s=0;const l=(e,t)=>e<t?-1:e>t?1:0;function u(e=("undefined"==typeof document?void 0:document),t={}){const{unstable_filterCSSRule:r,insertionPoint:n,styleElementAttributes:o,compareMediaQueries:u=l}=t,c={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:u,id:"d"+s++,insertCSSRules(t){for(const s in t){const l=t[s];for(let t=0,u=l.length;t<u;t++){const[u,d]=(o=l[t],Array.isArray(o)?o:[o]),p=i(s,e,n||null,c,d);c.insertionCache[u]||(c.insertionCache[u]=s,r?r(u)&&a(p,u):a(p,u))}}var o}};return c}var c=r(10477);const d=c.createContext(u());function p(){return c.useContext(d)}},87112:(e,t,r)=>{"use strict";r.d(t,{e:()=>i,m:()=>a});var n=r(10477);const o=n.createContext("ltr"),i=({children:e,dir:t})=>n.createElement(o.Provider,{value:t},e);function a(){return n.useContext(o)}},69287:(e,t,r)=>{"use strict";r.d(t,{y:()=>s});var n=r(48703),o=r(41067),i=r(18769),a=r(87112);function s(e,t,r){const s=function(e,t,r,o=n.A){const i=o();return function(n){const{dir:o,renderer:a}=n,s="ltr"===o?e:t||e;return i(a,Array.isArray(r)?{r}:r),s}}(e,t,r,o.A);return function(){const e=(0,a.m)(),t=(0,i.J)();return s({dir:e,renderer:t})}}},77675:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var n=r(38182),o=r(41067),i=r(18769),a=r(87112);function s(e,t){const r=(0,n.X)(e,t,o.A);return function(){const e=(0,a.m)(),t=(0,i.J)();return r({dir:e,renderer:t})}}},41067:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(10477),o=r.t(n,2);const i=o.useInsertionEffect?o.useInsertionEffect:void 0,a=()=>{const e={};return function(t,r){i&&"undefined"!=typeof window&&window.document&&window.document.createElement?i((()=>{t.insertCSSRules(r)}),[t,r]):void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}}},55056:(e,t,r)=>{"use strict";r.d(t,{n:()=>st});var n=r(48703),o=r(32474);function i(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e[n]=r,e}),{})}function a(e){return"number"==typeof e}function s(e,t){return-1!==e.indexOf(t)}function l(e,t,r,n){return t+(o=r,0===parseFloat(o)?o:"-"===o[0]?o.slice(1):"-"+o)+n;var o}function u(e){return e.replace(/ +/g," ").split(" ").map((function(e){return e.trim()})).filter(Boolean).reduce((function(e,t){var r=e.list,n=e.state,o=(t.match(/\(/g)||[]).length,i=(t.match(/\)/g)||[]).length;return n.parensDepth>0?r[r.length-1]=r[r.length-1]+" "+t:r.push(t),n.parensDepth+=o-i,{list:r,state:n}}),{list:[],state:{parensDepth:0}}).list}function c(e){var t=u(e);if(t.length<=3||t.length>4)return e;var r=t[0],n=t[1],o=t[2];return[r,t[3],o,n].join(" ")}var d={padding:function(e){var t=e.value;return a(t)?t:c(t)},textShadow:function(e){return function(e){for(var t=[],r=0,n=0,o=!1;n<e.length;)o||","!==e[n]?"("===e[n]?(o=!0,n++):")"===e[n]?(o=!1,n++):n++:(t.push(e.substring(r,n).trim()),r=++n);return r!=n&&t.push(e.substring(r,n+1)),t}(e.value).map((function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,(function(e,t,r,n){return"0"===n?e:t+(""===r?"-":"")+n}))})).join(",")},borderColor:function(e){return c(e.value)},borderRadius:function(e){var t=e.value;if(a(t))return t;if(s(t,"/")){var r=t.split("/"),n=r[0],o=r[1];return d.borderRadius({value:n.trim()})+" / "+d.borderRadius({value:o.trim()})}var i=u(t);switch(i.length){case 2:return i.reverse().join(" ");case 4:var l=i[0],c=i[1],p=i[2];return[c,l,i[3],p].join(" ");default:return t}},background:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,o=e.bgImgDirectionRegex,i=e.bgPosDirectionRegex;if(a(t))return t;var s=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(s,d.backgroundPosition({value:s,valuesToConvert:r,isRtl:n,bgPosDirectionRegex:i})),d.backgroundImage({value:t,valuesToConvert:r,bgImgDirectionRegex:o})},backgroundImage:function(e){var t=e.value,r=e.valuesToConvert,n=e.bgImgDirectionRegex;return s(t,"url(")||s(t,"linear-gradient(")?t.replace(n,(function(e,t,n){return e.replace(n,r[n])})):t},backgroundPosition:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,o=e.bgPosDirectionRegex;return t.replace(n?/^((-|\d|\.)+%)/:null,(function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(r)+"%"}return e}(t)})).replace(o,(function(e){return r[e]}))},backgroundPositionX:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,o=e.bgPosDirectionRegex;return a(t)?t:d.backgroundPosition({value:t,valuesToConvert:r,isRtl:n,bgPosDirectionRegex:o})},transition:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){var t=e.split(" ");return t[0]=r[t[0]]||t[0],t.join(" ")})).join(", ")},transitionProperty:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){return r[e]||e})).join(", ")},transform:function(e){var t=e.value,r="[^\\u0020-\\u007e]",n="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+r+"|"+n+")(?:[_a-z0-9-]|"+r+"|"+n+")*)?)|(?:inherit|auto))",i=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),a=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),s=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),u=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return t.replace(i,l).replace(a,l).replace(s,l).replace(u,l)}};d.objectPosition=d.backgroundPosition,d.margin=d.padding,d.borderWidth=d.padding,d.boxShadow=d.textShadow,d.webkitBoxShadow=d.boxShadow,d.mozBoxShadow=d.boxShadow,d.WebkitBoxShadow=d.boxShadow,d.MozBoxShadow=d.boxShadow,d.borderStyle=d.borderColor,d.webkitTransform=d.transform,d.mozTransform=d.transform,d.WebkitTransform=d.transform,d.MozTransform=d.transform,d.transformOrigin=d.backgroundPosition,d.webkitTransformOrigin=d.transformOrigin,d.mozTransformOrigin=d.transformOrigin,d.WebkitTransformOrigin=d.transformOrigin,d.MozTransformOrigin=d.transformOrigin,d.webkitTransition=d.transition,d.mozTransition=d.transition,d.WebkitTransition=d.transition,d.MozTransition=d.transition,d.webkitTransitionProperty=d.transitionProperty,d.mozTransitionProperty=d.transitionProperty,d.WebkitTransitionProperty=d.transitionProperty,d.MozTransitionProperty=d.transitionProperty,d["text-shadow"]=d.textShadow,d["border-color"]=d.borderColor,d["border-radius"]=d.borderRadius,d["background-image"]=d.backgroundImage,d["background-position"]=d.backgroundPosition,d["background-position-x"]=d.backgroundPositionX,d["object-position"]=d.objectPosition,d["border-width"]=d.padding,d["box-shadow"]=d.textShadow,d["-webkit-box-shadow"]=d.textShadow,d["-moz-box-shadow"]=d.textShadow,d["border-style"]=d.borderColor,d["-webkit-transform"]=d.transform,d["-moz-transform"]=d.transform,d["transform-origin"]=d.transformOrigin,d["-webkit-transform-origin"]=d.transformOrigin,d["-moz-transform-origin"]=d.transformOrigin,d["-webkit-transition"]=d.transition,d["-moz-transition"]=d.transition,d["transition-property"]=d.transitionProperty,d["-webkit-transition-property"]=d.transitionProperty,d["-moz-transition-property"]=d.transitionProperty;var p=i([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),h=["content"],g=i([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),m=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),f=new RegExp("(left)|(right)");function v(e){return Object.keys(e).reduce((function(t,r){var n=e[r];if("string"==typeof n&&(n=n.trim()),s(h,r))return t[r]=n,t;var o=b(r,n),i=o.key,a=o.value;return t[i]=a,t}),Array.isArray(e)?[]:{})}function b(e,t){var r,n=/\/\*\s?@noflip\s?\*\//.test(t),o=n?e:p[r=e]||r,i=n?t:function(e,t){if(!function(e){return!("boolean"==typeof e||function(e){return null==e}(e))}(t))return t;if((r=t)&&"object"==typeof r)return v(t);var r,n,o=a(t),i=function(e){return"function"==typeof e}(t),s=o||i?t:t.replace(/ !important.*?$/,""),l=!o&&s.length!==t.length,u=d[e];return n=u?u({value:s,valuesToConvert:g,propertiesToConvert:p,isRtl:!0,bgImgDirectionRegex:m,bgPosDirectionRegex:f}):g[s]||s,l?n+" !important":n}(o,t);return{key:o,value:i}}var y=r(46751);const S=/[A-Z]/g,C=/^ms-/,T={};function k(e){return"-"+e.toLowerCase()}function F(e){if(Object.prototype.hasOwnProperty.call(T,e))return T[e];if("--"===e.substr(0,2))return e;const t=e.replace(S,k);return T[e]=C.test(t)?"-"+t:t}function E(e){return"&"===e.charAt(0)?e.slice(1):e}var A="-moz-",I="-webkit-",x="comm",w="rule",P="decl",R="@import",D="@keyframes",_="@layer",N=Math.abs,O=String.fromCharCode,M=Object.assign;function B(e){return e.trim()}function L(e,t){return(e=t.exec(e))?e[0]:e}function K(e,t,r){return e.replace(t,r)}function W(e,t,r){return e.indexOf(t,r)}function H(e,t){return 0|e.charCodeAt(t)}function G(e,t,r){return e.slice(t,r)}function z(e){return e.length}function U(e){return e.length}function V(e,t){return t.push(e),e}function j(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case _:if(e.children.length)break;case R:case P:return e.return=e.return||e.value;case x:return"";case D:return e.return=e.value+"{"+j(e.children,n)+"}";case w:if(!z(e.value=e.props.join(",")))return""}return z(r=j(e.children,n))?e.return=e.value+"{"+r+"}":""}var $=1,Q=1,X=0,Y=0,J=0,Z="";function ee(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:$,column:Q,length:a,return:"",siblings:s}}function te(e,t){return M(ee("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function re(){return J=Y>0?H(Z,--Y):0,Q--,10===J&&(Q=1,$--),J}function ne(){return J=Y<X?H(Z,Y++):0,Q++,10===J&&(Q=1,$++),J}function oe(){return H(Z,Y)}function ie(){return Y}function ae(e,t){return G(Z,e,t)}function se(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function le(e){return $=Q=1,X=z(Z=e),Y=0,[]}function ue(e){return Z="",e}function ce(e){return B(ae(Y-1,he(91===e?e+2:40===e?e+1:e)))}function de(e){for(;(J=oe())&&J<33;)ne();return se(e)>2||se(J)>3?"":" "}function pe(e,t){for(;--t&&ne()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return ae(e,ie()+(t<6&&32==oe()&&32==ne()))}function he(e){for(;ne();)switch(J){case e:return Y;case 34:case 39:34!==e&&39!==e&&he(J);break;case 40:41===e&&he(e);break;case 92:ne()}return Y}function ge(e,t){for(;ne()&&e+J!==57&&(e+J!==84||47!==oe()););return"/*"+ae(t,Y-1)+"*"+O(47===e?e:ne())}function me(e){for(;!se(oe());)ne();return ae(e,Y)}function fe(e){return ue(ve("",null,null,null,[""],e=le(e),0,[0],e))}function ve(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,h=0,g=0,m=1,f=1,v=1,b=0,y="",S=o,C=i,T=n,k=y;f;)switch(g=b,b=ne()){case 40:if(108!=g&&58==H(k,d-1)){-1!=W(k+=K(ce(b),"&","&\f"),"&\f",N(u?s[u-1]:0))&&(v=-1);break}case 34:case 39:case 91:k+=ce(b);break;case 9:case 10:case 13:case 32:k+=de(g);break;case 92:k+=pe(ie()-1,7);continue;case 47:switch(oe()){case 42:case 47:V(ye(ge(ne(),ie()),t,r,l),l);break;default:k+="/"}break;case 123*m:s[u++]=z(k)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:f=0;case 59+c:-1==v&&(k=K(k,/\f/g,"")),h>0&&z(k)-d&&V(h>32?Se(k+";",n,r,d-1,l):Se(K(k," ","")+";",n,r,d-2,l),l);break;case 59:k+=";";default:if(V(T=be(k,t,r,u,c,o,s,y,S=[],C=[],d,i),i),123===b)if(0===c)ve(k,t,T,T,S,i,d,s,C);else switch(99===p&&110===H(k,3)?100:p){case 100:case 108:case 109:case 115:ve(e,T,T,n&&V(be(e,T,T,0,0,o,s,y,o,S=[],d,C),C),o,C,d,s,n?S:C);break;default:ve(k,T,T,T,[""],C,0,s,C)}}u=c=h=0,m=v=1,y=k="",d=a;break;case 58:d=1+z(k),h=g;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==re())continue;switch(k+=O(b),b*m){case 38:v=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(z(k)-1)*v,v=1;break;case 64:45===oe()&&(k+=ce(ne())),p=oe(),c=d=z(y=k+=me(ie())),b++;break;case 45:45===g&&2==z(k)&&(m=0)}}return i}function be(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,h=0===o?i:[""],g=U(h),m=0,f=0,v=0;m<n;++m)for(var b=0,y=G(e,p+1,p=N(f=a[m])),S=e;b<g;++b)(S=B(f>0?h[b]+" "+y:K(y,/&\f/g,h[b])))&&(l[v++]=S);return ee(e,t,r,0===o?w:s,l,u,c,d)}function ye(e,t,r,n){return ee(e,t,r,x,O(J),G(e,2,-2),0,n)}function Se(e,t,r,n,o){return ee(e,t,r,P,G(e,0,n),G(e,n+1,-1),n,o)}function Ce(e){var t=U(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Te(e){return function(t){t.root||(t=t.return)&&e(t)}}const ke=e=>{if(e.type===w){if("string"==typeof e.props)return;e.props=e.props.map((e=>-1===e.indexOf(":global(")?e:function(e){return ue(function(e){for(;ne();)switch(se(J)){case 0:V(me(Y-1),e);break;case 2:V(ce(J),e);break;default:V(O(J),e)}return e}(le(e)))}(e).reduce(((e,t,r,n)=>{if(""===t)return e;if(":"===t&&"global"===n[r+1]){const t=n[r+2].slice(1,-1)+" ";return e.unshift(t),n[r+1]="",n[r+2]="",e}return e.push(t),e}),[]).join("")))}};function Fe(e,t,r){switch(function(e,t){return 45^H(e,0)?(((t<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3):0}(e,t)){case 5103:return I+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return I+e+e;case 4215:if(102===H(e,9))return I+e+e;if(116===H(e,t+1))return I+e+e;break;case 4789:return A+e+e;case 5349:case 4246:case 6968:return I+e+A+e+e;case 6187:if(!L(e,/grab/))return K(K(K(e,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),e,"")+e;case 5495:case 3959:return K(e,/(image-set\([^]*)/,I+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return K(e,/(.+)-inline(.+)/,I+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(z(e)-1-t>6)switch(H(e,t+1)){case 102:if(108===H(e,t+3))return K(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+A+(108==H(e,t+3)?"$3":"$2-$3"))+e;case 115:return~W(e,"stretch")?Fe(K(e,"stretch","fill-available"),t)+e:e}}return e}function Ee(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case P:return void(e.return=Fe(e.value,e.length));case w:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(L(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return j([te(e,{props:[K(t,/:(read-\w+)/,":"+A+"$1")]})],n);case"::placeholder":return j([te(e,{props:[K(t,/:(plac\w+)/,":"+I+"input-$1")]}),te(e,{props:[K(t,/:(plac\w+)/,":"+A+"$1")]})],n)}return""}))}}const Ae=e=>{(function(e){switch(e.type){case"@container":case"@media":case"@supports":case _:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort(((e,t)=>e.props[0]>t.props[0]?1:-1))};const Ie=/,( *[^ &])/g;function xe(e,t,r){let n=t;return r.length>0&&(n=r.reduceRight(((e,t)=>{return`${r=t,"&"+E(r.replace(Ie,",&$1"))} { ${e} }`;var r}),t)),`${e}{${n}}`}function we(e,t){const{className:r,selectors:n,property:o,rtlClassName:i,rtlProperty:a,rtlValue:s,value:l}=e,{container:u,layer:c,media:d,supports:p}=t;let h=xe(`.${r}`,Array.isArray(l)?`${l.map((e=>`${F(o)}: ${e}`)).join(";")};`:`${F(o)}: ${l};`,n);return a&&i&&(h+=xe(`.${i}`,Array.isArray(s)?`${s.map((e=>`${F(a)}: ${e}`)).join(";")};`:`${F(a)}: ${s};`,n)),d&&(h=`@media ${d} { ${h} }`),c&&(h=`@layer ${c} { ${h} }`),p&&(h=`@supports ${p} { ${h} }`),u&&(h=`@container ${u} { ${h} }`),function(e,t){const r=[];return j(fe(e),Ce([ke,Ae,Ee,q,Te((e=>r.push(e)))])),r}(h)}function Pe(e){let t="";for(const r in e){const n=e[r];if("string"!=typeof n&&"number"!=typeof n){if(Array.isArray(n))for(const e of n)t+=F(r)+":"+e+";"}else t+=F(r)+":"+n+";"}return t}function Re(e){let t="";for(const r in e)t+=`${r}{${Pe(e[r])}}`;return t}function De(e,t){const r=[];return j(fe(`@keyframes ${e} {${t}}`),Ce([q,Ee,Te((e=>r.push(e)))])),r}const _e={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Ne(e,t){return 0===e.length?t:`${e} and ${t}`}function Oe(e){return"@media"===e.substr(0,6)}function Me(e){return"@layer"===e.substr(0,6)}const Be=/^(:|\[|>|&)/;function Le(e){return Be.test(e)}function Ke(e){return"@supports"===e.substr(0,9)}function We(e){return"@container"===e.substring(0,10)}const He={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Ge(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return He[t.slice(4,8)]||He[t.slice(3,5)]||"d"}return"d"}function ze(e,t){return e?t+e:e}function Ue(e){return ze(e.container,"c")+ze(e.media,"m")+ze(e.layer,"l")+ze(e.supports,"s")}function Ve(e,t,r){const n=e+Ue(r)+t,i=(0,o.A)(n),a=i.charCodeAt(0);return a>=48&&a<=57?String.fromCharCode(a+17)+i.slice(1):i}function je({property:e,selector:t,salt:r,value:n},i){return y.aN+(0,o.A)(r+t+Ue(i)+e+n.trim())}function qe(e){return e===y.Ut}function $e(e){return e.replace(/>\s+/g,">")}function Qe(e,t){const r=JSON.stringify(t,null,2),n=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${e}": ${r.split("\n").map(((e,t)=>" ".repeat(0===t?0:6)+e)).join("\n")}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];-1===e.indexOf("&")?(n.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),n.push(`Try to update a property to include it i.e "${e}" => "&${e}".`)):(n.push(""),n.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues")),n.join("\n")}function Xe(e,t){[`@griffel/react: You are using unsupported shorthand CSS property "${e}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${e}: "${t}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join("\n")}function Ye(e){return _e[e]}function Je(e){var t;return null!=(t=null==e?void 0:e[0])?t:0}function Ze(e,t,r,n){e[t]=n?[r,n]:r}function et(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function tt(e,t,r,n,o,i){const a=[];0!==i&&a.push(["p",i]),"m"===t&&o&&a.push(["m",o]),null!=e[t]||(e[t]=[]),r&&e[t].push(et(r,a)),n&&e[t].push(et(n,a))}function rt(e,t="",r=[],n={container:"",layer:"",media:"",supports:""},i={},a={},s){for(const u in e){if(y.qw.hasOwnProperty(u)){Xe(u,e[u]);continue}const c=e[u];if(null!=c)if(qe(c))Ze(i,Ve($e(r.join("")),u,n),0,void 0);else if("string"==typeof c||"number"==typeof c){const e=$e(r.join("")),o=Ye(u);if(o){const e=o[1],s=Object.fromEntries(e.map((e=>[e,y.Ut])));rt(s,t,r,n,i,a)}const l=Ve(e,u,n),d=je({value:c.toString(),salt:t,selector:e,property:u},n),p=s&&{key:u,value:s}||b(u,c),h=p.key!==u||p.value!==c,g=h?je({value:p.value.toString(),property:p.key,salt:t,selector:e},n):void 0,m=h?{rtlClassName:g,rtlProperty:p.key,rtlValue:p.value}:void 0,f=Ge(r,n),[v,S]=we(Object.assign({className:d,selectors:r,property:u,value:c},m),n);Ze(i,l,d,g),tt(a,f,v,S,n.media,Je(o))}else if("animationName"===u){const e=Array.isArray(c)?c:[c],s=[],l=[];for(const t of e){const e=Re(t),r=Re(v(t)),i=y.aN+(0,o.A)(e);let u;const c=De(i,e);let d=[];e===r?u=i:(u=y.aN+(0,o.A)(r),d=De(u,r));for(let e=0;e<c.length;e++)tt(a,"k",c[e],d[e],n.media,0);s.push(i),l.push(u)}rt({animationName:s.join(", ")},t,r,n,i,a,l.join(", "))}else if(Array.isArray(c)){if(0===c.length)continue;const e=$e(r.join("")),o=Ye(u);if(o){const e=o[1],s=Object.fromEntries(e.map((e=>[e,y.Ut])));rt(s,t,r,n,i,a)}const s=Ve(e,u,n),l=je({value:c.map((e=>(null!=e?e:"").toString())).join(";"),salt:t,selector:e,property:u},n),d=c.map((e=>b(u,e)));if(d.some((e=>e.key!==d[0].key)))continue;const p=d[0].key!==u||d.some(((e,t)=>e.value!==c[t])),h=p?je({value:d.map((e=>{var t;return(null!=(t=null==e?void 0:e.value)?t:"").toString()})).join(";"),salt:t,property:d[0].key,selector:e},n):void 0,g=p?{rtlClassName:h,rtlProperty:d[0].key,rtlValue:d.map((e=>e.value))}:void 0,m=Ge(r,n),[f,v]=we(Object.assign({className:l,selectors:r,property:u,value:c},g),n);Ze(i,s,l,h),tt(a,m,f,v,n.media,Je(o))}else if(null!=(l=c)&&"object"==typeof l&&!1===Array.isArray(l))if(Le(u))rt(c,t,r.concat(E(u)),n,i,a);else if(Oe(u)){const e=Ne(n.media,u.slice(6).trim());rt(c,t,r,Object.assign({},n,{media:e}),i,a)}else if(Me(u)){const e=(n.layer?`${n.layer}.`:"")+u.slice(6).trim();rt(c,t,r,Object.assign({},n,{layer:e}),i,a)}else if(Ke(u)){const e=Ne(n.supports,u.slice(9).trim());rt(c,t,r,Object.assign({},n,{supports:e}),i,a)}else if(We(u)){const e=u.slice(10).trim();rt(c,t,r,Object.assign({},n,{container:e}),i,a)}else Qe(u,c)}var l;return[i,a]}var nt=r(27743);var ot=r(41067),it=r(18769),at=r(87112);function st(e){const t=function(e,t=n.A){const r=t();let o=null,i=null,a=null,s=null;return function(t){const{dir:n,renderer:l}=t;null===o&&([o,i]=function(e,t=""){const r={},n={};for(const o in e){const i=e[o],[a,s]=rt(i,t);r[o]=a,Object.keys(s).forEach((e=>{n[e]=(n[e]||[]).concat(s[e])}))}return[r,n]}(e));const u="ltr"===n;return u?null===a&&(a=(0,nt.N)(o,n)):null===s&&(s=(0,nt.N)(o,n)),r(l,i),u?a:s}}(e,ot.A);return function(){const e=(0,at.m)(),r=(0,it.J)();return t({dir:e,renderer:r})}}},33460:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.splitStyles=t.detokenize=t.clearStyles=t.loadTheme=t.flush=t.configureRunMode=t.configureLoadStyles=t.loadStyles=void 0;var o,i="undefined"==typeof window?r.g:window,a=i&&i.CSPSettings&&i.CSPSettings.nonce,s=((o=i.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(o=n(n({},o),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),o.registeredThemableStyles||(o=n(n({},o),{registeredThemableStyles:[]})),i.__themeState__=o,o),l=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,u=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function c(e){var t=u();e();var r=u();s.perf.duration+=r-t}function d(){c((function(){var e=s.runState.buffer.slice();s.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&p(t)}))}function p(e,t){s.loadStyles?s.loadStyles(m(e).styleString,e):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],r=document.createElement("style"),n=m(e),o=n.styleString,i=n.themable;r.setAttribute("data-load-themed-styles","true"),a&&r.setAttribute("nonce",a),r.appendChild(document.createTextNode(o)),s.perf.count++,t.appendChild(r);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:r},document.dispatchEvent(l);var u={styleElement:r,themableStyle:e};i?s.registeredThemableStyles.push(u):s.registeredStyles.push(u)}}(e)}function h(e){void 0===e&&(e=3),3!==e&&2!==e||(g(s.registeredStyles),s.registeredStyles=[]),3!==e&&1!==e||(g(s.registeredThemableStyles),s.registeredThemableStyles=[])}function g(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function m(e){var t=s.theme,r=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){r=!0;var o=t?t[n]:void 0,i=e.defaultValue||"inherit";return t&&!o&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'.concat(n,'". Falling back to "').concat(i,'".')),o||i}return e.rawString})).join(""),themable:r}}function f(e){var t=[];if(e){for(var r=0,n=void 0;n=l.exec(e);){var o=n.index;o>r&&t.push({rawString:e.substring(r,o)}),t.push({theme:n[1],defaultValue:n[2]}),r=l.lastIndex}t.push({rawString:e.substring(r)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),c((function(){var r=Array.isArray(e)?e:f(e),n=s.runState,o=n.mode,i=n.buffer,a=n.flushTimer;t||1===o?(i.push(r),a||(s.runState.flushTimer=setTimeout((function(){s.runState.flushTimer=0,d()}),0))):p(r)}))},t.configureLoadStyles=function(e){s.loadStyles=e},t.configureRunMode=function(e){s.runState.mode=e},t.flush=d,t.loadTheme=function(e){s.theme=e,function(){if(s.theme){for(var e=[],t=0,r=s.registeredThemableStyles;t<r.length;t++){var n=r[t];e.push(n.themableStyle)}e.length>0&&(h(1),p([].concat.apply([],e)))}}()},t.clearStyles=h,t.detokenize=function(e){return e&&(e=m(f(e)).styleString),e},t.splitStyles=f},63107:(e,t,r)=>{"use strict";r.d(t,{$E:()=>u,EW:()=>f,Il:()=>p,JA:()=>o,KJ:()=>h,Kz:()=>F,Mu:()=>C,My:()=>y,NU:()=>s,Nn:()=>b,OD:()=>c,Q7:()=>d,TA:()=>S,ay:()=>m,ig:()=>a,nV:()=>T,qw:()=>v,rh:()=>g,v2:()=>l,xc:()=>k,xv:()=>i});var n=r(70972);function o(e,t){return e?e+"."+t:t}function i(e,t,r,i,a){void 0===a&&(a=4),i&&e.push((0,n.m9)("".concat(o(t,r)),i,a))}function a(e,t,r,i){"boolean"==typeof i&&e.push((0,n.LK)("".concat(o(t,r)),i))}function s(e,t,r,i){if("number"==typeof i){var a=Math.round(i);e.push((0,n.Ug)("".concat(o(t,r)),a))}}function l(e,t,r,i){"number"==typeof i&&e.push((0,n.ip)("".concat(o(t,r)),i))}function u(e,t,r,i){i&&e.push((0,n.k)("".concat(o(t,r)),i))}var c,d={getFields:function(e){var t="Activity.Result",r=[];return s(r,t,"Code",e.code),i(r,t,"Type",e.type),s(r,t,"Tag",e.tag),a(r,t,"IsExpected",e.isExpected),r.push((0,n.m9)("zC.Activity.Result","Office.System.Result")),r}},p={contractName:"Office.System.Activity",getFields:function(e){var t="Activity",r=[];return i(r,t,"CV",e.cV),s(r,t,"Duration",e.duration),s(r,t,"Count",e.count),s(r,t,"AggMode",e.aggMode),a(r,t,"Success",e.success),e.result&&r.push.apply(r,d.getFields(e.result)),r.push((0,n.m9)("zC.Activity",this.contractName)),r}},h={getFields:function(e){var t="User",r=[];return i(r,t,"PrimaryIdentityHash",e.primaryIdentityHash),i(r,t,"PrimaryIdentitySpace",e.primaryIdentitySpace),i(r,t,"TenantId",e.tenantId,1),i(r,t,"TenantGroup",e.tenantGroup,1),a(r,t,"IsAnonymous",e.isAnonymous),a(r,t,"IsSignedIn",e.isSignedIn),i(r,t,"TelemetryRegion",e.telemetryRegion),r}},g={getFields:function(e,t){var r=[];return i(r,e,"Name",t.name),i(r,e,"State",t.state),r}},m={getFields:function(e){var t="UserAction",r=[];return s(r,t,"Id",e.id),i(r,t,"Name",e.name),i(r,t,"CommandSurface",e.commandSurface),i(r,t,"ParentName",e.parentName),i(r,t,"TriggerMethod",e.triggerMethod),s(r,t,"TimeOffsetMs",e.timeOffsetMs),r}};!function(e){e.Web="Web",e.Desktop="Desktop",e.Universal="Universal",e.Mobile="Mobile",e.Win32="Win32",e.Mac="Mac",e.iOS="iOS",e.Android="Android"}(c||(c={}));var f,v={getFields:function(e){var t="App",r=[];return i(r,t,"Name",e.name,1),i(r,t,"Platform",e.platform,1),i(r,t,"Version",e.version,1),r}},b={getFields:function(e){var t="Session",r=[];return i(r,t,"Id",e.id,1),i(r,t,"EcsETag",e.ecsETag,1),r}},y={getFields:function(e){var t=[];return t.push((0,n.m9)("Pillar",e.pillar)),t.push((0,n.m9)("Veto",e.veto)),t.push((0,n.LK)("IsIntentional",e.isIntentional)),t.push((0,n.LK)("IsInternal",e.isInternal)),t.push((0,n.LK)("AlertOnPillar",e.alertOnPillar)),t.push((0,n.LK)("IsSessionEndingError",e.isSessionEndingError)),a(t,void 0,"InStaging",e.inStaging),t}};!function(e){e.Automation="Automation",e.Dogfood="Dogfood",e.Microsoft="Microsoft",e.Insiders="Insiders",e.Production="Production"}(f||(f={}));var S,C,T,k,F={getFields:function(e){var t=[];return i(t,"Release","AudienceGroup",e.audienceGroup,1),t}};!function(e){var t,r,o,s,l="Copilot";(s=e.FeatureActionType||(e.FeatureActionType={})).IsEnabled="IsEnabled",s.IsSeen="IsSeen",s.IsTried="IsTried",s.IsKept="IsKept",s.IsRejected="IsRejected",(o=e.Capability||(e.Capability={})).ContentGeneration="Content Generation",o.Commanding="Commanding",o.QAandSummaries="QA and Summaries",o.Collaboration="Collaboration",o.Suggestions="Suggestions",(r=e.EntryPoint||(e.EntryPoint={})).Chat="Chat",r.Canvas="Canvas",r.SuggestionsPane="Suggestions Pane",r.Backstage="Backstage",(t=e.Verb||(e.Verb={})).Create="Create",t.Command="Command",t.Ask="Ask",t.Summarize="Summarize",t.Share="Share",t.Analyze="Analyze",e.getFields=function(e){var t=[];return i(t,l,"FeatureActionType",e.featureActionType),a(t,l,"IsUserInitiated",e.isUserInitiated),i(t,l,"FeatureName",e.featureName),i(t,l,"SubFeatureName",e.subFeatureName),i(t,l,"Capability",e.capability),a(t,l,"IsThumbsUp",e.isThumbsUp),i(t,l,"EntryPoint",e.entryPoint),i(t,l,"Verb",e.verb),i(t,l,"InteractionId",e.interactionId),i(t,l,"ConversationId",e.conversationId),t.push((0,n.m9)("zC.".concat(l),"Office.System.Copilot")),t}}(S||(S={})),function(e){var t,r="Asha";(t=e.EventType||(e.EventType={})).Pillar="Pillar",t.Error="Error",e.getFields=function(e){var t=[];return i(t,r,"EventType",e.eventType),i(t,r,"Pillar",e.pillar),i(t,r,"Scenario",e.scenario),i(t,r,"Veto",e.veto),i(t,r,"Error",e.error),a(t,r,"InStaging",e.inStaging),a(t,r,"IsSessionEndingError",e.isSessionEndingError),a(t,r,"IsIntentional",e.isIntentional),a(t,r,"IsInternal",e.isInternal),t.push((0,n.m9)("zC.".concat(r),"Office.System.Asha")),t}}(C||(C={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.name&&r.push((0,n.m9)("".concat(e,".Name"),t.name)),void 0!==t.platform&&r.push((0,n.m9)("".concat(e,".Platform"),t.platform)),void 0!==t.version&&r.push((0,n.m9)("".concat(e,".Version"),t.version)),void 0!==t.sessionId&&r.push((0,n.m9)("".concat(e,".SessionId"),t.sessionId)),void 0!==t.immediateHost&&r.push((0,n.m9)("".concat(e,".ImmediateHost"),t.immediateHost)),void 0!==t.subModuleName&&r.push((0,n.m9)("".concat(e,".SubModuleName"),t.subModuleName)),void 0!==t.context&&r.push((0,n.m9)("".concat(e,".Context"),t.context)),void 0!==t.referrer&&r.push((0,n.m9)("".concat(e,".Referrer"),t.referrer)),r}}(T||(T={})),function(e){var t="ContentIdentifier";e.getFields=function(e){var r=[];return r.push((0,n.m9)("".concat(t,".ContentType"),e.contentType)),r.push((0,n.m9)("".concat(t,".ContentId"),e.contentId)),void 0!==e.subContentType&&r.push((0,n.m9)("".concat(t,".SubContentType"),e.subContentType)),void 0!==e.subContentId&&r.push((0,n.m9)("".concat(t,".SubContentId"),e.subContentId)),r.push((0,n.m9)("zC.".concat(t),"Office.System.ContentIdentifier")),r}}(k||(k={}))},70972:(e,t,r)=>{"use strict";function n(e,t,r){return l(e,1,t,r)}function o(e,t,r){return l(e,2,t,r)}function i(e,t,r){return l(e,3,t,r)}function a(e,t,r){return l(e,0,t,r)}function s(e,t,r){return l(e,4,t,r)}function l(e,t,r,n){return{name:e,dataType:t,value:r,classification:n||4}}r.d(t,{LK:()=>n,Ug:()=>o,ip:()=>i,k:()=>s,m9:()=>a})},94958:(e,t,r)=>{"use strict";r.d(t,{d$:()=>i,vV:()=>s,wC:()=>a});var n,o=(n=[],{fireEvent:function(e){n.forEach((function(t){return t(e)}))},addListener:function(e){e&&n.push(e)}});function i(){return o}function a(e,t,r){o.fireEvent({level:e,category:t,message:r})}function s(e,t,r){a(0,e,(function(){var e=r instanceof Error?r.message:"";return"".concat(t,": ").concat(e)}))}},61027:(e,t,r)=>{"use strict";var n;r.d(t,{o:()=>n}),function(e){e.DataClassification={EssentialServiceMetadata:1,AccountData:2,SystemMetadata:4,OrganizationIdentifiableInformation:8,EndUserIdentifiableInformation:16,CustomerContent:32,AccessControl:64,PublicNonPersonalData:128,EndUserPseudonymousInformation:256,PublicPersonalData:512,SupportData:1024,DirectMeasurementData:2048,Everything:65535},e.DataFieldType={String:0,Boolean:1,Int64:2,Double:3,Guid:4},e.SamplingPolicy={NotSet:0,Measure:1,Diagnostics:2,CriticalBusinessImpact:191,CriticalCensus:192,CriticalExperimentation:193,CriticalUsage:194},e.PersistencePriority={NotSet:0,Normal:1,High:2},e.CostPriority={NotSet:0,Normal:1,High:2},e.DataCategories={NotSet:0,SoftwareSetup:1,ProductServiceUsage:2,ProductServicePerformance:4,DeviceConfiguration:8,InkingTypingSpeech:16},e.DiagnosticLevel={ReservedDoNotUse:0,Required:10,BasicEvent:10,Optional:100,FullEvent:100,RequiredServiceData:110,NecessaryServiceDataEvent:110,RequiredServiceDataForEssentialServices:120,AlwaysOnNecessaryServiceDataEvent:120},e.DnmInterval={Hourly:1,Daily:2},e.AllowedPartA={ReleaseAudienceGroup:1,WacRing:2,AppName:3,AppPlatform:4,AppVersion:5},e.CustomerContentType={None:0,MocaAddIn:1},e.LogLevel={Error:0,Warning:1,Info:2,Verbose:3},e.Category={Core:0,Sink:1,Transport:2},e.PrimaryIdentitySpace={UserObjectId:"UserObjectId",MSACID:"MSACID",OrgIdPuid:"OrgIdPuid",OrgIdPUID:"OrgIdPUID",OrgIdCID:"OrgIdCID",MsaPuid:"MsaPuid",MSAPUID:"MSAPUID",WopiAuth:"WopiAuth",ThirdParty:"ThirdParty",Other:"Other"},e.AudienceGroup={Automation:"Automation",Dogfood:"Dogfood",Microsoft:"Microsoft",Insiders:"Insiders",Production:"Production"},e.QosPillarName={Interruptions:"Interruptions",Open:"Open",Save:"Save",RealTimeCoauth:"RealTimeCoauth",NotebookNavigation:"NotebookNavigation",Fidelity:"Fidelity",AsyncCollab:"AsyncCollab",Present:"Present",ContentConsumption:"ContentConsumption",ContentCreation:"ContentCreation"}}(n||(n={}))},21921:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Activity:()=>C.Il,App:()=>C.qw,Asha:()=>C.Mu,AudienceGroup:()=>C.EW,CV:()=>z,ContentIdentifier:()=>C.xc,Contracts:()=>p,Copilot:()=>C.TA,CopilotContractBuilder:()=>U,EnumObjects:()=>Q.o,Funnel:()=>C.rh,HealthQosError:()=>C.My,IDEAs:()=>M,Module:()=>C.nV,Platform:()=>C.OD,Release:()=>C.Kz,Result:()=>C.Q7,Session:()=>C.Nn,SimpleTelemetryLogger:()=>B,SpecializedTelemetryLogger:()=>j,SuppressNexus:()=>N,TelemetryLogger:()=>V,TraceContext:()=>he,TraceFlags:()=>$,TraceParent:()=>ue,TraceState:()=>oe,User:()=>C.KJ,UserAction:()=>C.ay,addBooleanDataField:()=>C.ig,addDoubleDataField:()=>C.v2,addGuidDataField:()=>C.$E,addInt64DataField:()=>C.NU,addStringDataField:()=>C.xv,cloneEvent:()=>O,createTraceContext:()=>me,getCurrentMilliseconds:()=>L,getEffectiveEventFlags:()=>q,getFields:()=>G,getFullFieldName:()=>C.JA,logError:()=>k.vV,logNotification:()=>k.wC,makeBooleanDataField:()=>d.LK,makeDoubleDataField:()=>d.ip,makeGuidDataField:()=>d.k,makeInt64DataField:()=>d.Ug,makeStringDataField:()=>d.m9,onNotification:()=>k.d$,parseTraceContext:()=>ge,sendHealthQosError:()=>X});var n,o,i,a,s,l,u,c,d=r(70972);!function(e){e.getFields=function(e,t){var r=[];return r.push((0,d.Ug)("".concat(e,".Code"),t.code)),void 0!==t.type&&r.push((0,d.m9)("".concat(e,".Type"),t.type)),void 0!==t.tag&&r.push((0,d.Ug)("".concat(e,".Tag"),t.tag)),void 0!==t.isExpected&&r.push((0,d.LK)("".concat(e,".IsExpected"),t.isExpected)),r.push((0,d.m9)("zC.Activity.Result","Office.System.Result")),r}}(n||(n={})),function(e){e.contractName="Office.System.Activity",e.getFields=function(t){var r="Activity",o=[];return void 0!==t.cV&&o.push((0,d.m9)("".concat(r,".CV"),t.cV)),o.push((0,d.Ug)("".concat(r,".Duration"),t.duration)),o.push((0,d.Ug)("".concat(r,".Count"),t.count)),o.push((0,d.Ug)("".concat(r,".AggMode"),t.aggMode)),void 0!==t.success&&o.push((0,d.LK)("".concat(r,".Success"),t.success)),void 0!==t.result&&o.push.apply(o,n.getFields("".concat(r,".Result"),t.result)),o.push((0,d.m9)("zC.Activity",e.contractName)),o}}(o||(o={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.id&&r.push((0,d.m9)("".concat(e,".Id"),t.id)),void 0!==t.version&&r.push((0,d.m9)("".concat(e,".Version"),t.version)),void 0!==t.sessionId&&r.push((0,d.m9)("".concat(e,".SessionId"),t.sessionId)),r}}(i||(i={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.alias&&r.push((0,d.m9)("".concat(e,".Alias"),t.alias)),void 0!==t.primaryIdentityHash&&r.push((0,d.m9)("".concat(e,".PrimaryIdentityHash"),t.primaryIdentityHash)),void 0!==t.primaryIdentitySpace&&r.push((0,d.m9)("".concat(e,".PrimaryIdentitySpace"),t.primaryIdentitySpace)),void 0!==t.tenantId&&r.push((0,d.m9)("".concat(e,".TenantId"),t.tenantId)),void 0!==t.tenantGroup&&r.push((0,d.m9)("".concat(e,".TenantGroup"),t.tenantGroup)),void 0!==t.isAnonymous&&r.push((0,d.LK)("".concat(e,".IsAnonymous"),t.isAnonymous)),void 0!==t.telemetryRegion&&r.push((0,d.m9)("".concat(e,".TelemetryRegion"),t.telemetryRegion)),r}}(a||(a={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.name&&r.push((0,d.m9)("".concat(e,".Name"),t.name)),void 0!==t.state&&r.push((0,d.m9)("".concat(e,".State"),t.state)),r}}(s||(s={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.id&&r.push((0,d.Ug)("".concat(e,".Id"),t.id)),void 0!==t.name&&r.push((0,d.m9)("".concat(e,".Name"),t.name)),void 0!==t.commandSurface&&r.push((0,d.m9)("".concat(e,".CommandSurface"),t.commandSurface)),void 0!==t.parentName&&r.push((0,d.m9)("".concat(e,".ParentName"),t.parentName)),void 0!==t.triggerMethod&&r.push((0,d.m9)("".concat(e,".TriggerMethod"),t.triggerMethod)),void 0!==t.timeOffsetMs&&r.push((0,d.Ug)("".concat(e,".TimeOffsetMs"),t.timeOffsetMs)),r}}(l||(l={})),function(e){e.getFields=function(e,t){var r=[];return void 0!==t.name&&r.push((0,d.m9)("".concat(e,".Name"),t.name)),void 0!==t.platform&&r.push((0,d.m9)("".concat(e,".Platform"),t.platform)),void 0!==t.version&&r.push((0,d.m9)("".concat(e,".Version"),t.version)),void 0!==t.sessionId&&r.push((0,d.m9)("".concat(e,".SessionId"),t.sessionId)),void 0!==t.immediateHost&&r.push((0,d.m9)("".concat(e,".ImmediateHost"),t.immediateHost)),r.push((0,d.m9)("zC.".concat(e),"Office.System.Module")),r}}(u||(u={})),(c||(c={})).getFields=function(e,t){var r=[];return r.push((0,d.m9)("".concat(e,".ErrorGroup"),t.errorGroup)),r.push((0,d.Ug)("".concat(e,".Tag"),t.tag)),void 0!==t.code&&r.push((0,d.Ug)("".concat(e,".Code"),t.code)),void 0!==t.id&&r.push((0,d.Ug)("".concat(e,".Id"),t.id)),void 0!==t.count&&r.push((0,d.Ug)("".concat(e,".Count"),t.count)),r};var p,h=o,g=n,m=c,f=s,v=i,b=l,y=a,S=u;!function(e){var t,r;t=e.Office||(e.Office={}),(r=t.System||(t.System={})).Activity=h,r.Result=g,r.Error=m,r.Funnel=f,r.Host=v,r.User=y,r.UserAction=b,r.Module=S}(p||(p={}));var C=r(63107),T=r(54029),k=r(94958),F={};function E(e,t){"Office."===e.substring(0,7)&&"."!==e[e.length-1]?F[e]?(t.ariaTenantToken&&(F[e].ariaTenantToken=t.ariaTenantToken),t.dnmToken&&(F[e].dnmToken=t.dnmToken)):F[e]=t:(0,k.wC)(0,0,(function(){return"Namespace: ".concat(e)}))}function A(e,t){for(var r=e.length;r>0;){var n=e.substr(0,r);if(F[n]){var o=F[n];return t.ariaTenantToken=o.ariaTenantToken,t.dnmToken=o.dnmToken,!0}r=e.lastIndexOf(".",r-1)}return!1}var I=9007199254740991,x=-I,w=/^Office(\.[A-Z][a-zA-Z0-9]*){2,}$/,P=/^[a-zA-Z0-9_\.]{1,95}$/;function R(e){return P.test(e)}function D(e){e&&e.forEach((function(e){"string"==typeof e.name&&R(e.name)||_("dataField name",e.name,P),2===e.dataType&&function(e){if("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e<x||e>I)throw new Error("Invalid integer ".concat(JSON.stringify(e)))}(e.value)}))}function _(e,t,r,n){throw new Error("Invalid ".concat(e," '").concat(t,"' as it does not match regex ").concat(r)+(n?" or exceeds ".concat(n," chars"):""))}var N=-1;function O(e){var t={eventName:e.eventName,eventFlags:e.eventFlags||{},telemetryProperties:e.telemetryProperties?(0,T.Cl)({},e.telemetryProperties):{},dataFields:e.dataFields?e.dataFields.slice():[],timestamp:e.timestamp||(new Date).getTime()};return e.eventContract&&(t.eventContract={name:e.eventContract.name,dataFields:e.eventContract.dataFields.slice()}),t}var M,B=function(){function e(t,r,n){var o,i,a;this.telemetrySinks=[],this.persistentDataFields=[],this.partAFields=[],this.eventQueue=[],this.config=n||{},this.instanceId=++e.instanceCounter,t&&(this.telemetrySinks=t.telemetrySinks,(o=this.persistentDataFields).push.apply(o,t.persistentDataFields),this.config=(0,T.Cl)((0,T.Cl)({},t.getConfig()),this.config),(i=this.partAFields).push.apply(i,t.partAFields)),r&&(a=this.persistentDataFields).push.apply(a,r)}return e.prototype.addEventContentType=function(e,t){e.push((0,d.Ug)("EventContent.Type",t))},e.prototype.sendTelemetryEvent=function(e){var t=O(e),r=t.telemetryProperties;r.nexusTenantToken=N;var n=r.ariaTenantToken;n||A(t.eventName,r)||n?this.sendTelemetryEventInternal(t,1):(0,k.wC)(0,0,(function(){return"No tenant token: "+e.eventName}))},e.prototype.sendNonStandardEvent=function(e,t){var r=O(e);this.sendTelemetryEventInternal(r,t)},e.prototype.sendCustomerContent=function(e){var t=O(e),r=t.telemetryProperties,n=r.customerContentVersion;return(!n||n>2)&&(r.customerContentVersion=2),r.ariaTenantToken=void 0,r.nexusTenantToken=void 0,r.dnmToken=void 0,this.addEventContentType(t.dataFields,2),this.sendTelemetryEventInternal(t,2)},e.prototype.sendDirectNumericEvent=function(e){var t=O(e),r=t.telemetryProperties;r.dnmToken||A(t.eventName,r)||r.dnmToken?(this.addEventContentType(t.dataFields,1),this.sendTelemetryEventInternal(t,3)):(0,k.wC)(0,0,(function(){return"No dnm token: "+t.eventName}))},e.prototype.sendTelemetryEventInternal=function(e,t){if(2===t||!e.telemetryProperties.customerContentVersion&&!e.telemetryProperties.customerContentType){try{if(0===this.telemetrySinks.length)return void(this.config.enableQueue&&this.eventQueue.length<1e3?this.eventQueue.push([e,t]):(0,k.wC)(1,0,(function(){return"No telemetry sinks are attached."})));this.processTelemetryEvent(e,t)}catch(e){return void(0,k.vV)(0,"SendTelemetryEvent",e)}this.telemetrySinks.forEach((function(r){try{3===t||2===t?r.sendNonStandardEvent&&r.sendNonStandardEvent(e,t):r.sendTelemetryEvent(e)}catch(e){}}))}else(0,k.wC)(0,0,(function(){return"Customer content"}))},e.prototype.processTelemetryEvent=function(e,t){var r,n,o;if(e.dataFields&&(null===(o=e.dataFields)||void 0===o||o.unshift((0,d.m9)("OTelJS.Version","4.23.1139")),3!==t&&this.persistentDataFields&&(r=e.dataFields).unshift.apply(r,this.persistentDataFields)),this.partAFields.length>0){var i=e.eventContract||{name:"",dataFields:[]};(n=i.dataFields).push.apply(n,this.partAFields),e.eventContract=i}this.config.disableValidation||function(e){var t;(t=e.eventName)&&!(t.length>98)&&w.test(t)||_("eventName",e.eventName,w,98);var r=e.eventContract;r&&(r.name&&!R(r.name)&&_("eventContract",r.name,P),D(r.dataFields)),D(e.dataFields)}(e)},e.prototype.addSink=function(e){this.telemetrySinks.push(e),this.flushQueue()},e.prototype.flushQueue=function(){var e=this.eventQueue;if(this.eventQueue=[],this.telemetrySinks.length>0)for(var t=0,r=e;t<r.length;t++){var n=r[t],o=n[0],i=n[1];this.sendTelemetryEventInternal(o,i)}},e.prototype.setTenantToken=function(e,t,r){E(e,{ariaTenantToken:t,nexusTenantToken:r})},e.prototype.setDNMToken=function(e,t){E(e,{dnmToken:t})},e.prototype.cloneEvent=function(e){return O(e)},e.prototype.getConfig=function(){return this.config},e.instanceCounter=0,e}(),L=function(){return(L="object"==typeof self&&"object"==typeof self.performance&&"function"==typeof self.performance.now?function(){return self.performance.now()}:function(){return Date.now()})()},K=function(e){var t,r=L(),n=O(e.telemetryEvent);return(0,T.Cl)((0,T.Cl)({cv:e.parentCv.getNext()},n),{createChildActivity:function(t){return K({telemetryEvent:t,sendTelemetryEvent:e.sendTelemetryEvent,parentCv:this.cv})},setResult:function(e,t,r){this.result={code:e,type:t,tag:r}},endNow:function(){var n,o,i=this;if(!t){void 0===this.success&&void 0===this.result&&(0,k.wC)(1,0,(function(){return"Activity does not have success or result set"}));var a=L(),s=Math.floor(1e3*(a-r));t=!0;var l={duration:s,count:1,aggMode:0,cV:this.cv.value,success:this.success,result:this.result},u=null!==(o=null===(n=this.eventContract)||void 0===n?void 0:n.dataFields)&&void 0!==o?o:[];return u.push.apply(u,C.Il.getFields(l)),this.eventContract={name:C.Il.contractName,dataFields:u},e.sendTelemetryEvent(this)}(0,k.wC)(0,0,(function(){return"'".concat(i.eventName,"' already ended")}))}})};!function(e){var t,r;t=e.Copilot||(e.Copilot={}),r=function(){function e(e){this.contractName="IDEAs.Copilot.UserSuccessRate",this.IsSuccess=e.IsSuccess,this.RAIBlockEncountered=e.RAIBlockEncountered,this.AuthBlockEncountered=e.AuthBlockEncountered,this.UnsupportedFeatureRequested=e.UnsupportedFeatureRequested,this.ClientBlockEncountered=e.ClientBlockEncountered,this.ServiceBlockEncountered=e.ServiceBlockEncountered}return e.prototype.Accept=function(e){e.Visit({name:"IsSuccess",value:this.IsSuccess,type:1}),e.Visit({name:"RAIBlockEncountered",value:this.RAIBlockEncountered,type:1}),e.Visit({name:"AuthBlockEncountered",value:this.AuthBlockEncountered,type:1}),e.Visit({name:"UnsupportedFeatureRequested",value:this.UnsupportedFeatureRequested,type:1}),e.Visit({name:"ClientBlockEncountered",value:this.ClientBlockEncountered,type:1}),e.Visit({name:"ServiceBlockEncountered",value:this.ServiceBlockEncountered,type:1})},e}(),t.UserSuccessRate=r}(M||(M={}));var W,H=function(e,t){return{Visit:function(r){try{if(void 0!==r.value){var n=r.name,o=r.value,i=r.type;switch(i){case 1:(0,C.ig)(e,t,n,o);break;case 0:(0,C.xv)(e,t,n,o);break;case 2:(0,C.NU)(e,t,n,o);break;case 3:(0,C.v2)(e,t,n,o);break;case 4:(0,C.$E)(e,t,n,o);break;default:throw new Error("Invalid type: ".concat(i))}}}catch(e){(0,k.wC)(0,0,(function(){return"Error: ".concat(e)}))}}}};function G(e,t){var r=[];return e.Accept(H(r,t)),r.push((0,d.m9)("zC.".concat(t),e.contractName)),r}var z=function(){function e(e){this.value=e,this.nextChild=0}return e.prototype.getNext=function(){return new e("".concat(this.value,".").concat(++this.nextChild))},e}(),U=function(){function e(){this.featureActionType=void 0,this.isUserInitiated=void 0,this.featureName=void 0,this.isThumbsUp=void 0,this.entryPoint=void 0,this.subFeatureName=void 0,this.interactionId=void 0,this.conversationId=void 0}return e.Enabled=function(t){var r=new e;return r.featureActionType=C.TA.FeatureActionType.IsEnabled,r.featureName=t,r},e.Seen=function(t){var r=new e;return r.featureActionType=C.TA.FeatureActionType.IsSeen,r.featureName=t,r},e.Kept=function(t,r,n){var o=new e;return o.featureActionType=C.TA.FeatureActionType.IsKept,o.featureName=t,o.interactionId=r,o.conversationId=n,o},e.Rejected=function(t,r,n){var o=new e;return o.featureActionType=C.TA.FeatureActionType.IsRejected,o.featureName=t,o.isUserInitiated=!0,o.interactionId=r,o.conversationId=n,o},e.ThumbsUp=function(t,r,n){var o=new e;return o.featureName=t,o.isUserInitiated=!0,o.isThumbsUp=!0,o.interactionId=r,o.conversationId=n,o},e.ThumbsDown=function(t,r,n){var o=new e;return o.featureName=t,o.isUserInitiated=!0,o.isThumbsUp=!1,o.interactionId=r,o.conversationId=n,o},e.Tried=function(t,r,n,o,i){var a=new e;return a.featureActionType=C.TA.FeatureActionType.IsTried,a.featureName=t,a.isUserInitiated=n,a.entryPoint=o,a.interactionId=r,a.conversationId=i,a},e}(),V=function(e){function t(t,r,n){var o=e.call(this,t,r,n)||this;return o.baseCv=function(){if(!W){for(var e=[],t=0;t<22;t++)e.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Math.floor(64*Math.random())));W=new z(e.join(""))}return W}(),o}return(0,T.C6)(t,e),t.prototype.createActivity=function(e){return K({sendTelemetryEvent:this.sendTelemetryEvent.bind(this),telemetryEvent:e,parentCv:this.baseCv})},t.prototype.sendActivity=function(e,t,r,n){return this.sendTelemetryEvent({eventName:e,eventContract:{name:C.Il.contractName,dataFields:C.Il.getFields(t)},dataFields:r,eventFlags:n})},t.prototype.sendError=function(e){var t=function(e){var t="Error",r=[];return r.push((0,d.m9)("".concat(t,".ErrorGroup"),e.errorGroup)),r.push((0,d.Ug)("".concat(t,".Tag"),e.tag)),void 0!==e.code&&r.push((0,d.Ug)("".concat(t,".Code"),e.code)),void 0!==e.id&&r.push((0,d.Ug)("".concat(t,".Id"),e.id)),void 0!==e.count&&r.push((0,d.Ug)("".concat(t,".Count"),e.count)),r}(e.error);return null!=e.dataFields&&t.push.apply(t,e.dataFields),this.sendTelemetryEvent({eventName:e.eventName,dataFields:t,eventFlags:e.eventFlags})},t.prototype.createCustomerContentActivity=function(e){return K({sendTelemetryEvent:this.sendCustomerContent.bind(this),telemetryEvent:e,parentCv:this.baseCv})},t}(B),j=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return(0,T.C6)(t,e),t.prototype.sendCopilotEvent=function(e,t,r,n,o,i){var a=o?(0,T.fX)([],o,!0):[];a.push.apply(a,C.TA.getFields(r)),this.sendTelemetryEvent({eventName:e,telemetryProperties:n,eventFlags:(0,T.Cl)((0,T.Cl)({},t),{samplingPolicy:191}),dataFields:a,timestamp:i})},t.prototype.sendCopilotAshaErrorEvent=function(e){var t=e.eventName,r=e.eventFlags,n=e.copilotContractBuilder,o=e.veto,i=e.error,a=e.scenario,s=e.inStaging,l=void 0!==s&&s,u=e.isSessionEndingError,c=void 0!==u&&u,d=e.isIntentional,p=void 0===d||d,h=e.isInternal,g=void 0!==h&&h,m=e.telemetryProperties,f=e.dataFields,v=e.timestamp,b=f?(0,T.fX)([],f,!0):[];b.push.apply(b,C.TA.getFields(n)),b.push.apply(b,C.Mu.getFields({eventType:C.Mu.EventType.Error,pillar:void 0,scenario:a,veto:o,error:i,inStaging:l,isSessionEndingError:c,isIntentional:p,isInternal:g})),this.sendTelemetryEvent({eventName:t,telemetryProperties:m,eventFlags:(0,T.Cl)((0,T.Cl)({},r),{samplingPolicy:191}),dataFields:b,timestamp:v})},t.prototype.sendAshaPillarEvent=function(e,t,r,n,o,i,a){var s=i?(0,T.fX)([],i,!0):[];s.push.apply(s,C.Mu.getFields({eventType:C.Mu.EventType.Pillar,pillar:r,scenario:n})),this.sendTelemetryEvent({eventName:e,telemetryProperties:o,eventFlags:(0,T.Cl)((0,T.Cl)({},t),{samplingPolicy:194}),dataFields:s,timestamp:a})},t.prototype.sendAshaErrorEvent=function(e){var t=e.eventName,r=e.eventFlags,n=e.veto,o=e.error,i=e.scenario,a=e.inStaging,s=void 0!==a&&a,l=e.isSessionEndingError,u=void 0!==l&&l,c=e.isIntentional,d=void 0===c||c,p=e.isInternal,h=void 0!==p&&p,g=e.telemetryProperties,m=e.dataFields,f=e.timestamp,v=m?(0,T.fX)([],m,!0):[];v.push.apply(v,C.Mu.getFields({eventType:C.Mu.EventType.Error,pillar:void 0,scenario:i,veto:n,error:o,inStaging:s,isSessionEndingError:u,isIntentional:d,isInternal:h})),this.sendTelemetryEvent({eventName:t,telemetryProperties:g,eventFlags:(0,T.Cl)((0,T.Cl)({},r),{samplingPolicy:194}),dataFields:v,timestamp:f})},t.prototype.createCopilotTriedActivity=function(e){var t=e.eventName,r=e.eventFlags,n=e.featureName,o=e.interactionId,i=e.isUserInitiated,a=e.entryPoint,s=e.conversationId,l=e.subFeatureName,u=e.telemetryProperties,c=e.dataFields,d=e.timestamp,p=c?(0,T.fX)([],c,!0):[];return p.push.apply(p,C.TA.getFields({featureActionType:C.TA.FeatureActionType.IsTried,featureName:n,interactionId:o,isUserInitiated:i,entryPoint:a,conversationId:s,subFeatureName:l,isThumbsUp:void 0})),this.createActivity({eventName:t,telemetryProperties:u,eventFlags:(0,T.Cl)((0,T.Cl)({},r),{samplingPolicy:191}),dataFields:p,timestamp:d})},t}(V);function q(e){var t={costPriority:1,samplingPolicy:1,persistencePriority:1,dataCategories:0,diagnosticLevel:100};return e.eventFlags&&e.eventFlags.dataCategories||(0,k.wC)(0,0,(function(){return"DataCategories"})),e.eventFlags?(e.eventFlags.costPriority&&(t.costPriority=e.eventFlags.costPriority),e.eventFlags.samplingPolicy&&(t.samplingPolicy=e.eventFlags.samplingPolicy),e.eventFlags.persistencePriority&&(t.persistencePriority=e.eventFlags.persistencePriority),e.eventFlags.dataCategories&&(t.dataCategories=e.eventFlags.dataCategories),e.eventFlags.diagnosticLevel&&(t.diagnosticLevel=e.eventFlags.diagnosticLevel),t):t}var $,Q=r(61027);function X(e,t,r,n,o,i,a,s,l,u,c){n.forEach((function(n){e.sendTelemetryEvent({eventName:t.name+".Qos.Error."+r,eventFlags:{diagnosticLevel:110},dataFields:(0,T.fX)((0,T.fX)([],C.My.getFields({veto:n,pillar:o,isIntentional:i,isInternal:a,alertOnPillar:s,isSessionEndingError:l,inStaging:u}),!0),c||[],!0),telemetryProperties:{ariaTenantToken:t.token,nexusTenantToken:N}})}))}!function(e){e[e.None=0]="None",e[e.Sampled=1]="Sampled"}($||($={}));var Y="[-_*/0-9a-z]",J="[a-z]".concat(Y,"{0,255}"),Z="[0-9a-z]".concat(Y,"{0,240}"),ee="[a-z]".concat(Y,"{0,13}"),te="".concat(Z,"@").concat(ee),re=new RegExp("^(?:".concat(J,"|").concat(te,")$")),ne=/^[ -+--<>-~]{0,255}[!-+--<>-~]$/,oe=function(){function e(){this._listMemberMap=new Map}return e.prototype.set=function(e,t){if(!re.test(e)||!ne.test(t))return!1;var r=this._listMemberMap;return r.has(e)&&r.delete(e),r.set(e,t),r.size>32&&r.delete(r.keys().next().value),!0},e.prototype.unset=function(e){this._listMemberMap.delete(e)},e.prototype.get=function(e){return this._listMemberMap.get(e)},Object.defineProperty(e.prototype,"keys",{get:function(){return Array.from(this._listMemberMap.keys()).reverse()},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){var e=this;return this.keys.map((function(t){return"".concat(t).concat("=").concat(e._listMemberMap.get(t))})).join(",")},e.parse=function(t){var r=new e,n=t.split(","),o=!0;return n.reverse().forEach((function(e){var t=e.trim();if(t){var n=t.split("=");2===n.length&&r.set(n[0],n[1])||((0,k.wC)(1,0,(function(){return"Invalid trace state entry '".concat(t,"'")})),o=!1)}})),o?r:void 0},e}(),ie=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-\S+)?$/,ae=function(e){return/^0+$/.test(e)},se=/^([\da-f]{16})$/,le=16,ue=function(){function e(e,t,r){void 0===e&&(e=de()),void 0===t&&(t=pe()),this.traceId=e,this.version="00",this._parentId=t,this._traceFlags=function(e){return void 0===e&&(e=$.None),e&$.Sampled}(r)}return Object.defineProperty(e.prototype,"parentId",{get:function(){return this._parentId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"traceFlags",{get:function(){return this._traceFlags},enumerable:!1,configurable:!0}),e.prototype.isValid=function(){return ie.test(this.serialize())&&!ae(this.traceId)&&!ae(this._parentId)},e.prototype.isSampled=function(){return(this.traceFlags&$.Sampled)===$.Sampled},e.prototype.updateSampled=function(e,t){return t!==this._parentId&&!!this.updateParentId(t)&&(this._traceFlags=e?this._traceFlags|$.Sampled:this._traceFlags&~$.Sampled,!0)},e.prototype.updateParentId=function(e){return e?!(!se.test(e)||ae(e)||(this._parentId=e,0)):(this._parentId=pe(),!0)},e.prototype.serialize=function(){return"".concat(this.version,"-").concat(this.traceId,"-").concat(this._parentId,"-0").concat(this._traceFlags)},e.create=function(t,r,n){var o=new e(t,r,n);return o.isValid()?o:void 0},e.createNew=function(t){return new e(de(),pe(),t)},e.parse=function(t){var r=ie.exec(t);if(r&&"ff"!==r[1]&&("00"!==r[1]||!r[5]))return e.create(r[2],r[3],parseInt(r[4],le))},e}();function ce(e){var t=new Uint8Array(e);window.crypto.getRandomValues(t);var r=Array.from(t).map((function(e){return(256+e).toString(le).slice(1)})).join("");return ae(r)?r.slice(1)+"1":r}function de(){return ce(16)}function pe(){return ce(8)}var he=function(){function e(){}return e.getFields=function(e){var t="Event.",r=e.parent,n=e.state,o=n?n.serialize():void 0;return(0,T.fX)([(0,d.m9)(t+"TraceId",r.traceId),(0,d.m9)(t+"TraceParentId",r.parentId),(0,d.Ug)(t+"TraceFlags",r.traceFlags)],o?[(0,d.m9)(t+"TraceState",o)]:[],!0)},e}();function ge(e,t){var r=ue.parse(e);if(r){var n=void 0;return t&&(n=oe.parse(t)),n||(n=new oe),{parent:r,state:n}}}function me(e){return{parent:ue.createNew(e),state:new oe}}},80095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readPropertyInfo=void 0,t.readPropertyInfo=function(e){return Array.isArray(e)&&2===e.length&&"opt-field"===e[0]?[!0,e[1]]:[!1,e]}},40288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomTypeRegistry=void 0;const n=r(1548);t.CustomTypeRegistry=new class{constuctor(e=!1){this.throwOnError=e}registerTypeInfos(e){if(-1===this.typeInfosCache.indexOf(e)){this.typeInfosCache.push(e);for(const t of Object.keys(e)){const r=this.typeInfos[t];r?r!==e[t]&&this.handleError(`There are two definitions of the same namespace and interface: ${t}`):this.typeInfos[t]=e[t]}}}getTypeInfo(e){const t=this.typeInfos[e];if(t)return t;this.handleError(`CustomTypeInfo "${e}" not registered as a custom types.`)}registerExternalTypeInfos(e){for(const t of Object.keys(e))this.externalTypes[t]?this.handleError(`The external type "${t}" is already defined.`):this.externalTypes[t]=e[t]}getExternalType(e){return this.externalTypes[e]}getExternalTypeInfos(){return this.externalTypes}validateParsedObj(e,t){for(const r of Object.keys(t))e[r]=(0,n.verifyType)(this,e[r],t[r]);return e}setThrowOnError(e){this.throwOnError=e}handleError(e){if(this.throwOnError)throw new Error(e)}constructor(){this.typeInfos={},this.typeInfosCache=[],this.externalTypes={}}}},1548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyType=void 0;const n=r(80095);function o(e,t){t&&e.handleError("Type of property does not match type in CustomTypes definition.")}function i(e,t,r,o){for(const i of Object.keys(t)){const a=r[i];if(a){const[,r]=(0,n.readPropertyInfo)(a);t[i]=u(e,t[i],r,o)}else i.startsWith("$")||e.handleError(`Property "${i}" does not exist in CustomType definition.`)}return t}function a(e,t,r){for(const n of Object.keys(t))t[n]=u(e,t[n],r);return t}function s(e,t,r,o){if(!r)return e.handleError("Unable to generate default value for unregistered type."),t;for(const i of Object.keys(r)){const[a,s]=(0,n.readPropertyInfo)(r[i]);if((t.hasOwnProperty(i)||!a)&&void 0===t[i]){const r=l(e,void 0,s,o);void 0!==r&&(t[i]=r)}}return t}function l(e,t,r,n=!1,o=!1){if(!n&&!o&&null==t)if("string"==typeof r)switch(r){case"$string":return"";case"$number":return 0;case"$boolean":return!1;case"$any":return;default:return s(e,t={},e.getTypeInfo(r),n)}else{const[o,i]=r;switch(o){case"$array":return[];case"$indexer":return{};case"$union":return s(e,t={},e.getTypeInfo(i[0]),n)}}return null!=t?t:void 0}function u(e,t,r,n=!1){if(null!=t)if("string"==typeof r)switch(r){case"$string":o(e,"string"!=typeof t);break;case"$number":o(e,"number"!=typeof t);break;case"$boolean":o(e,"boolean"!=typeof t);break;case"$any":if("object"==typeof t)for(const o of Object.keys(t))t[o]=u(e,t[o],r,n);break;default:const a=e.getTypeInfo(r);return a?(i(e,t,a,n),s(e,t,a,n)):t}else{const[c,d]=r;switch(c){case"$array":const c=Array.isArray(t);return o(e,!c),c?a(e,t,d):t;case"$indexer":const p=!("object"==typeof t&&Array.isArray(t)||"object"!=typeof t);return o(e,!p),p?a(e,t,d):t;case"$union":const h=function(e,t,r,n){for(const n of Object.keys(r)){let o=!0;const i=e.getTypeInfo(r[n]);if(i){for(const e of Object.keys(t))if(!i[e]){o=!1;break}if(o)return i}}}(e,t,d);return h?(i(e,t,h,n),s(e,t,h,n)):(e.handleError("Json object is not assignable to any custom type in union."),t);case"$optional":return u(e,t,d),l(e,t,r,n,!0);case"$external":if("object"==typeof t){t=u(e,t,"$any",n);const r=e.getExternalType(d);if(r&&r.parse)return r.parse(t)}}}else t=l(e,t,r,n);return t}t.verifyType=u},23070:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventImpl=void 0;class r{unsubscribe(){this.event.unsubscribe(this)}constructor(e){this.event=e}}t.EventImpl=class{subscribe(e){const t=new r(this);return this.handlers.set(t,e),this.hasListener||this.sendUpdate(!0),t}unsubscribe(e){this.handlers.delete(e),this.hasListener&&0===this.handlers.size&&this.sendUpdate(!1)}unsubscribeAll(){this.handlers.clear(),this.hasListener&&this.sendUpdate(!1)}trigger(e){this.handlers.forEach(((t,r)=>t(e,r)))}sendUpdate(e){this.hasListener=e,this.listenerUpdate(e)}constructor(e){this.listenerUpdate=e,this.handlers=new Map,this.hasListener=!1}}},19556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRekaEnvironment=void 0;const n=r(24134),o=r(28509);t.createRekaEnvironment=function(){return new i};class i{registerClass(e){this.RekaServiceRegistry.registerService({serviceInfo:e.ServiceInfo,factory:()=>new e})}registerServiceInstance(e){this.RekaServiceRegistry.registerService({serviceInfo:e.ServiceInfo,factory:()=>e})}registerClasses(...e){e.forEach((e=>this.registerClass(e)))}constructor(){this.RekaInstance=new n.CRekaInstance(((...e)=>this.registerClasses(...e)),(e=>this.registerServiceInstance(e))),this.RekaServiceRegistry=new o.CRekaServiceRegistry(this.RekaInstance)}}},24134:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CRekaInstance=void 0,t.CRekaInstance=class{initBridge(e,t){this.nativeBridge=e,this.registerClasses(...t),this.nativeBridge.invokeNative({serviceName:"$RekaBridge",methodName:"init",value:"",promiseId:0})}getConstantJson(e,t){this.verifyNativeBridgePresent();const r=this.nativeBridge.RekaConstants;if(void 0!==r){const n=r[e];if(void 0!==n){const e=n[t];if(void 0!==e)return e}}throw new Error(`Reka native service "${e}" must be registered before accessing it's constant property "${t}". This error also happens when the service implementation does not use the generated code from the correct (usually the latest) version of Reka service definition.`)}InvokeNative(e,t,r,n){this.verifyNativeBridgePresent(),this.nativeBridge.invokeNative({serviceName:e,methodName:t,value:r,promiseId:0},n)}InvokeNativeAndReturn(e,t,r,n){return new Promise(((o,i)=>{const a=++this.nextNativePromiseId;this.nativePromises[a]={onSuccess:e=>o(e),onFailure:e=>i(e)},this.nativeBridge?this.nativeBridge.invokeNative({serviceName:e,methodName:t,value:r,promiseId:a},n):i("Native bridge is not initialized.")}))}RegisterService(e,t){this.factories[e]=t}registerServiceInstance(e){this.registerServiceInstanceImpl(e)}invokeJavaScript({serviceName:e="",methodName:t="",value:r="",promiseId:n=0}){if("$RekaBridge"===e)return this.invokeJavaScriptBridge(t,r,n);const o=(this.services[e]||(this.services[e]=this.factories[e]())).Invoke(t,r);this.nativeBridge&&o&&o.then&&o.then((e=>this.invokeNativeBridge("onSuccess",e,n)),(e=>this.invokeNativeBridge("onFailure",function(e){try{if(e instanceof Error)return e.message||e.toString();if("object"==typeof e&&null!==e)try{return JSON.stringify(e)}catch(e){return"Unable to serialize error object: "+e.message}return String(e)}catch(e){return"Unable to stringify error value"}}(e),n)))}invokeNativeBridge(e,t,r){this.nativeBridge.invokeNative({serviceName:"$RekaBridge",methodName:e,value:t,promiseId:r})}invokeJavaScriptBridge(e,t,r){const n=this.nativePromises[r];n&&(delete this.nativePromises[r],n[e](t))}verifyNativeBridgePresent(){if(!this.nativeBridge)throw new Error("Native bridge is not initialized.")}constructor(e,t){this.services={},this.factories={},this.nextNativePromiseId=0,this.nativePromises={},this.nativeBridge=void 0,this.registerClasses=e,this.registerServiceInstanceImpl=t}}},28509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CRekaServiceRegistry=t.stringifyJson=t.parseJson=void 0;const n=r(40288),o=r(23070);function i(e,t){const r=e?JSON.parse(e):[];if(Array.isArray(r))return t?n.CustomTypeRegistry.validateParsedObj(r,t):r;throw new Error("Everything should be an array")}function a(e,t){if("object"==typeof t){const e=n.CustomTypeRegistry.getExternalTypeInfos();for(const r of Object.keys(e)){const n=e[r];if(t instanceof n.typeConstructor){n.stringify&&(t=n.stringify(t));break}}}return t}function s(e){if(Array.isArray(e))return 0===e.length?"":JSON.stringify(e,a);throw new Error("Everything should be an array")}function l(e){if("string"!=typeof e){let t,r,n,o;switch(e[0]){case"FireAndForgetMethod":return[t,n,o]=e,[t,void 0,n,o];case"ReturnsPromiseMethod":return[t,r,n,o]=e,[t,[r],n,o];case"Event":case"Constant":return[t,r]=e,[t,[r],void 0,void 0]}}return[e,void 0,void 0,void 0]}t.parseJson=i,t.stringifyJson=s;class u{Invoke(e,t){const[,,r]=l(this.methodInfos[e]);let n;try{n=i(t,r)}catch(r){throw new Error(`Reka service invocation failed: JSON payload (length=${t.length}) for ${e} is invalid.\nInner exception: ${r.stack}`)}const o=this.service[e](...n);if(o&&o.then)return o.then((e=>s([e])))}constructor(e,t){this.service=e,this.methodInfos=t}}class c{Invoke(e,t){const[,r]=l(this.methodInfos[e]);let n;try{n=i(t,r)}catch(r){throw new Error(`Reka native service invocation failed: JSON payload (length=${t.length}) for ${e} is invalid.\nInner exception: ${r.stack}`)}this.service[e].trigger(n[0])}constructor(e,t){this.service=e,this.methodInfos=t}}t.CRekaServiceRegistry=class{registerService(e){const[t,r]=e.serviceInfo,n=e.factory;this.rekaInstance.RegisterService(t,(()=>new u(n(),r)))}getNativeService(e){const[t,r]=e;let n=this.nativeServices[t];if(!n){this.nativeServices[t]=n={};let e=!1;const a={};for(const u of Object.keys(r)){const[c,d,p,h]=l(r[u]);switch(c){case"ReturnsPromiseMethod":n[u]=(...e)=>this.rekaInstance.InvokeNativeAndReturn(t,u,s(e),h).then((e=>i(e,d)[0]));break;case"FireAndForgetMethod":n[u]=(...e)=>this.rekaInstance.InvokeNative(t,u,s(e),h);break;case"Event":n[u]=new o.EventImpl((e=>{e&&n.eventSubscribed(u)})),e=!0;break;case"Constant":Object.defineProperty(n,u,{configurable:!1,enumerable:!0,get:()=>(void 0===a[u]&&(a[u]=i(this.rekaInstance.getConstantJson(t,u),d)[0]),a[u])})}}e&&(n.eventSubscribed=e=>{this.rekaInstance.InvokeNative("$RekaBridge","createService",t)},this.rekaInstance.RegisterService(t,(()=>new c(n,r))))}return n}constructor(e){this.nativeServices={},this.rekaInstance=e}}},73993:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerClasses=t.registerServiceInstance=t.registerClass=t.RekaServiceRegistry=t.RekaInstance=void 0;const n=(0,r(19556).createRekaEnvironment)();t.RekaInstance=n.RekaInstance,t.RekaServiceRegistry=n.RekaServiceRegistry,t.registerClass=function(e){n.registerClass(e)},t.registerServiceInstance=function(e){n.registerServiceInstance(e)},t.registerClasses=function(...e){n.registerClasses(...e)}},64038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataServiceRegistry=t.DataServiceManager=t.EventImpl=t.createRekaEnvironment=t.registerClasses=t.RekaServiceRegistry=t.RekaInstance=t.CustomTypeRegistry=void 0;var n=r(40288);Object.defineProperty(t,"CustomTypeRegistry",{enumerable:!0,get:function(){return n.CustomTypeRegistry}});var o=r(73993);Object.defineProperty(t,"RekaInstance",{enumerable:!0,get:function(){return o.RekaInstance}}),Object.defineProperty(t,"RekaServiceRegistry",{enumerable:!0,get:function(){return o.RekaServiceRegistry}}),Object.defineProperty(t,"registerClasses",{enumerable:!0,get:function(){return o.registerClasses}});var i=r(19556);Object.defineProperty(t,"createRekaEnvironment",{enumerable:!0,get:function(){return i.createRekaEnvironment}});var a=r(23070);Object.defineProperty(t,"EventImpl",{enumerable:!0,get:function(){return a.EventImpl}});var s=r(73993);Object.defineProperty(t,"DataServiceManager",{enumerable:!0,get:function(){return s.RekaInstance}}),Object.defineProperty(t,"DataServiceRegistry",{enumerable:!0,get:function(){return s.RekaServiceRegistry}})},53095:e=>{var t={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,r){return"number"!=typeof r||t[e]?r:r+"px"}},57627:(e,t,r)=>{"use strict";var n=r(32354),o=[],i=[],a=n.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,n(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},32354:(e,t,r)=>{"use strict";function n(e){i.length||o(),i[i.length]=e}e.exports=n;var o,i=[],a=0;function s(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,r=i.length-a;t<r;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0}var l,u,c,d=void 0!==r.g?r.g:self,p=d.MutationObserver||d.WebKitMutationObserver;function h(e){return function(){var t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}"function"==typeof p?(l=1,u=new p(s),c=document.createTextNode(""),u.observe(c,{characterData:!0}),o=function(){l=-l,c.data=l}):o=h(s),n.requestFlush=o,n.makeRequestCallFromTimer=h},22099:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);n&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},88490:e=>{"use strict";e.exports=function(e){return e[1]}},23775:(e,t,r)=>{var n=r(55329),o=r(51646),i={float:"cssFloat"},a=r(53095);function s(e,t,r){var s=i[t];if(void 0===s&&(s=function(e){var t=o(e),r=n(t);return i[t]=i[e]=i[r]=r,r}(t)),s){if(void 0===r)return e.style[s];e.style[s]=a(s,r)}}function l(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:function(e,t){for(var r in t)t.hasOwnProperty(r)&&s(e,r,t[r])}(arguments[0],arguments[1]):s(arguments[0],arguments[1],arguments[2])}e.exports=l,e.exports.set=l,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,r){return t[r]=s(e,r||""),t}),{}):s(e,t||"")}},13176:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,r){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,r)}function r(e,n,o){return r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,r,n){var o=[null];o.push.apply(o,r);var i=new(Function.bind.apply(e,o));return n&&t(i,n.prototype),i},r.apply(null,arguments)}function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var i=Object.hasOwnProperty,a=Object.setPrototypeOf,s=Object.isFrozen,l=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,c=Object.freeze,d=Object.seal,p=Object.create,h="undefined"!=typeof Reflect&&Reflect,g=h.apply,m=h.construct;g||(g=function(e,t,r){return e.apply(t,r)}),c||(c=function(e){return e}),d||(d=function(e){return e}),m||(m=function(e,t){return r(e,n(t))});var f,v=x(Array.prototype.forEach),b=x(Array.prototype.pop),y=x(Array.prototype.push),S=x(String.prototype.toLowerCase),C=x(String.prototype.toString),T=x(String.prototype.match),k=x(String.prototype.replace),F=x(String.prototype.indexOf),E=x(String.prototype.trim),A=x(RegExp.prototype.test),I=(f=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return m(f,t)});function x(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return g(e,t,n)}}function w(e,t,r){var n;r=null!==(n=r)&&void 0!==n?n:S,a&&a(e,null);for(var o=t.length;o--;){var i=t[o];if("string"==typeof i){var l=r(i);l!==i&&(s(t)||(t[o]=l),i=l)}e[i]=!0}return e}function P(e){var t,r=p(null);for(t in e)!0===g(i,e,[t])&&(r[t]=e[t]);return r}function R(e,t){for(;null!==e;){var r=u(e,t);if(r){if(r.get)return x(r.get);if("function"==typeof r.value)return x(r.value)}e=l(e)}return function(e){return console.warn("fallback value for",e),null}}var D=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=c(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=c(["#text"]),K=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),W=c(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=d(/<%[\w\W]*|[\w\W]*%>/gm),V=d(/\${[\w\W]*}/gm),j=d(/^data-[\-\w.\u00B7-\uFFFF]/),q=d(/^aria-[\-\w]+$/),$=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=d(/^(?:\w+script|data):/i),X=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=d(/^html$/i),J=d(/^[a-z][.\w]*(-[.\w]+)+$/i);return function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,o=function(e){return t(e)};if(o.version="2.5.7",o.removed=[],!r||!r.document||9!==r.document.nodeType)return o.isSupported=!1,o;var i=r.document,a=r.document,s=r.DocumentFragment,l=r.HTMLTemplateElement,u=r.Node,d=r.Element,p=r.NodeFilter,h=r.NamedNodeMap,g=void 0===h?r.NamedNodeMap||r.MozNamedAttrMap:h,m=r.HTMLFormElement,f=r.DOMParser,x=r.trustedTypes,Z=d.prototype,ee=R(Z,"cloneNode"),te=R(Z,"nextSibling"),re=R(Z,"childNodes"),ne=R(Z,"parentNode");if("function"==typeof l){var oe=a.createElement("template");oe.content&&oe.content.ownerDocument&&(a=oe.content.ownerDocument)}var ie=function(t,r){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var n=null,o="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(o)&&(n=r.currentScript.getAttribute(o));var i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(x,i),ae=ie?ie.createHTML(""):"",se=a,le=se.implementation,ue=se.createNodeIterator,ce=se.createDocumentFragment,de=se.getElementsByTagName,pe=i.importNode,he={};try{he=P(a).documentMode?a.documentMode:{}}catch(e){}var ge={};o.isSupported="function"==typeof ne&&le&&void 0!==le.createHTMLDocument&&9!==he;var me,fe,ve=z,be=U,ye=V,Se=j,Ce=q,Te=Q,ke=X,Fe=J,Ee=$,Ae=null,Ie=w({},[].concat(n(D),n(_),n(N),n(M),n(L))),xe=null,we=w({},[].concat(n(K),n(W),n(H),n(G))),Pe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Re=null,De=null,_e=!0,Ne=!0,Oe=!1,Me=!0,Be=!1,Le=!0,Ke=!1,We=!1,He=!1,Ge=!1,ze=!1,Ue=!1,Ve=!0,je=!1,qe=!0,$e=!1,Qe={},Xe=null,Ye=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Je=null,Ze=w({},["audio","video","img","source","image","track"]),et=null,tt=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",it=ot,at=!1,st=null,lt=w({},[rt,nt,ot],C),ut=["application/xhtml+xml","text/html"],ct=null,dt=a.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(t){ct&&ct===t||(t&&"object"===e(t)||(t={}),t=P(t),me=me=-1===ut.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,fe="application/xhtml+xml"===me?C:S,Ae="ALLOWED_TAGS"in t?w({},t.ALLOWED_TAGS,fe):Ie,xe="ALLOWED_ATTR"in t?w({},t.ALLOWED_ATTR,fe):we,st="ALLOWED_NAMESPACES"in t?w({},t.ALLOWED_NAMESPACES,C):lt,et="ADD_URI_SAFE_ATTR"in t?w(P(tt),t.ADD_URI_SAFE_ATTR,fe):tt,Je="ADD_DATA_URI_TAGS"in t?w(P(Ze),t.ADD_DATA_URI_TAGS,fe):Ze,Xe="FORBID_CONTENTS"in t?w({},t.FORBID_CONTENTS,fe):Ye,Re="FORBID_TAGS"in t?w({},t.FORBID_TAGS,fe):{},De="FORBID_ATTR"in t?w({},t.FORBID_ATTR,fe):{},Qe="USE_PROFILES"in t&&t.USE_PROFILES,_e=!1!==t.ALLOW_ARIA_ATTR,Ne=!1!==t.ALLOW_DATA_ATTR,Oe=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Be=t.SAFE_FOR_TEMPLATES||!1,Le=!1!==t.SAFE_FOR_XML,Ke=t.WHOLE_DOCUMENT||!1,Ge=t.RETURN_DOM||!1,ze=t.RETURN_DOM_FRAGMENT||!1,Ue=t.RETURN_TRUSTED_TYPE||!1,He=t.FORCE_BODY||!1,Ve=!1!==t.SANITIZE_DOM,je=t.SANITIZE_NAMED_PROPS||!1,qe=!1!==t.KEEP_CONTENT,$e=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,it=t.NAMESPACE||ot,Pe=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Pe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Pe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Pe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(Ne=!1),ze&&(Ge=!0),Qe&&(Ae=w({},n(L)),xe=[],!0===Qe.html&&(w(Ae,D),w(xe,K)),!0===Qe.svg&&(w(Ae,_),w(xe,W),w(xe,G)),!0===Qe.svgFilters&&(w(Ae,N),w(xe,W),w(xe,G)),!0===Qe.mathMl&&(w(Ae,M),w(xe,H),w(xe,G))),t.ADD_TAGS&&(Ae===Ie&&(Ae=P(Ae)),w(Ae,t.ADD_TAGS,fe)),t.ADD_ATTR&&(xe===we&&(xe=P(xe)),w(xe,t.ADD_ATTR,fe)),t.ADD_URI_SAFE_ATTR&&w(et,t.ADD_URI_SAFE_ATTR,fe),t.FORBID_CONTENTS&&(Xe===Ye&&(Xe=P(Xe)),w(Xe,t.FORBID_CONTENTS,fe)),qe&&(Ae["#text"]=!0),Ke&&w(Ae,["html","head","body"]),Ae.table&&(w(Ae,["tbody"]),delete Re.tbody),c&&c(t),ct=t)},gt=w({},["mi","mo","mn","ms","mtext"]),mt=w({},["annotation-xml"]),ft=w({},["title","style","font","a","script"]),vt=w({},_);w(vt,N),w(vt,O);var bt=w({},M);w(bt,B);var yt=function(e){y(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},St=function(e,t){try{y(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){y(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!xe[e])if(Ge||ze)try{yt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ct=function(e){var t,r;if(He)e="<remove></remove>"+e;else{var n=T(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===me&&it===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=ie?ie.createHTML(e):e;if(it===ot)try{t=(new f).parseFromString(o,me)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(it,"template",null);try{t.documentElement.innerHTML=at?ae:o}catch(e){}}var i=t.body||t.documentElement;return e&&r&&i.insertBefore(a.createTextNode(r),i.childNodes[0]||null),it===ot?de.call(t,Ke?"html":"body")[0]:Ke?t.documentElement:i},Tt=function(e){return ue.call(e.ownerDocument||e,e,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null,!1)},kt=function(e){return e instanceof m&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof g)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ft=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Et=function(e,t,r){ge[e]&&v(ge[e],(function(e){e.call(o,t,r,ct)}))},At=function(e){var t;if(Et("beforeSanitizeElements",e,null),kt(e))return yt(e),!0;if(A(/[\u0080-\uFFFF]/,e.nodeName))return yt(e),!0;var r=fe(e.nodeName);if(Et("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),e.hasChildNodes()&&!Ft(e.firstElementChild)&&(!Ft(e.content)||!Ft(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent))return yt(e),!0;if("select"===r&&A(/<template/i,e.innerHTML))return yt(e),!0;if(7===e.nodeType)return yt(e),!0;if(Le&&8===e.nodeType&&A(/<[/\w]/g,e.data))return yt(e),!0;if(!Ae[r]||Re[r]){if(!Re[r]&&xt(r)){if(Pe.tagNameCheck instanceof RegExp&&A(Pe.tagNameCheck,r))return!1;if(Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(r))return!1}if(qe&&!Xe[r]){var n=ne(e)||e.parentNode,i=re(e)||e.childNodes;if(i&&n)for(var a=i.length-1;a>=0;--a){var s=ee(i[a],!0);s.__removalCount=(e.__removalCount||0)+1,n.insertBefore(s,te(e))}}return yt(e),!0}return e instanceof d&&!function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:it,tagName:"template"});var r=S(e.tagName),n=S(t.tagName);return!!st[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===ot?"svg"===r:t.namespaceURI===rt?"svg"===r&&("annotation-xml"===n||gt[n]):Boolean(vt[r]):e.namespaceURI===rt?t.namespaceURI===ot?"math"===r:t.namespaceURI===nt?"math"===r&&mt[n]:Boolean(bt[r]):e.namespaceURI===ot?!(t.namespaceURI===nt&&!mt[n])&&!(t.namespaceURI===rt&&!gt[n])&&!bt[r]&&(ft[r]||!vt[r]):!("application/xhtml+xml"!==me||!st[e.namespaceURI]))}(e)?(yt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!A(/<\/no(script|embed|frames)/i,e.innerHTML)?(Be&&3===e.nodeType&&(t=e.textContent,t=k(t,ve," "),t=k(t,be," "),t=k(t,ye," "),e.textContent!==t&&(y(o.removed,{element:e.cloneNode()}),e.textContent=t)),Et("afterSanitizeElements",e,null),!1):(yt(e),!0)},It=function(e,t,r){if(Ve&&("id"===t||"name"===t)&&(r in a||r in dt))return!1;if(Ne&&!De[t]&&A(Se,t));else if(_e&&A(Ce,t));else if(!xe[t]||De[t]){if(!(xt(e)&&(Pe.tagNameCheck instanceof RegExp&&A(Pe.tagNameCheck,e)||Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(e))&&(Pe.attributeNameCheck instanceof RegExp&&A(Pe.attributeNameCheck,t)||Pe.attributeNameCheck instanceof Function&&Pe.attributeNameCheck(t))||"is"===t&&Pe.allowCustomizedBuiltInElements&&(Pe.tagNameCheck instanceof RegExp&&A(Pe.tagNameCheck,r)||Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(r))))return!1}else if(et[t]);else if(A(Ee,k(r,ke,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==F(r,"data:")||!Je[e])if(Oe&&!A(Te,k(r,ke,"")));else if(r)return!1;return!0},xt=function(e){return"annotation-xml"!==e&&T(e,Fe)},wt=function(t){var r,n,i,a;Et("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(a=s.length;a--;){var u=r=s[a],c=u.name,d=u.namespaceURI;if(n="value"===c?r.value:E(r.value),i=fe(c),l.attrName=i,l.attrValue=n,l.keepAttr=!0,l.forceKeepAttr=void 0,Et("uponSanitizeAttribute",t,l),n=l.attrValue,!l.forceKeepAttr&&(St(c,t),l.keepAttr))if(Me||!A(/\/>/i,n)){Be&&(n=k(n,ve," "),n=k(n,be," "),n=k(n,ye," "));var p=fe(t.nodeName);if(It(p,i,n))if(!je||"id"!==i&&"name"!==i||(St(c,t),n="user-content-"+n),Le&&A(/((--!?|])>)|<\/(style|title)/i,n))St(c,t);else{if(ie&&"object"===e(x)&&"function"==typeof x.getAttributeType)if(d);else switch(x.getAttributeType(p,i)){case"TrustedHTML":n=ie.createHTML(n);break;case"TrustedScriptURL":n=ie.createScriptURL(n)}try{d?t.setAttributeNS(d,c,n):t.setAttribute(c,n),kt(t)?yt(t):b(o.removed)}catch(e){}}}else St(c,t)}Et("afterSanitizeAttributes",t,null)}},Pt=function e(t){var r,n=Tt(t);for(Et("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)Et("uponSanitizeShadowNode",r,null),At(r)||(r.content instanceof s&&e(r.content),wt(r));Et("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(t){var n,a,l,c,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((at=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ft(t)){if("function"!=typeof t.toString)throw I("toString is not a function");if("string"!=typeof(t=t.toString()))throw I("dirty is not a string, aborting")}if(!o.isSupported){if("object"===e(r.toStaticHTML)||"function"==typeof r.toStaticHTML){if("string"==typeof t)return r.toStaticHTML(t);if(Ft(t))return r.toStaticHTML(t.outerHTML)}return t}if(We||ht(p),o.removed=[],"string"==typeof t&&($e=!1),$e){if(t.nodeName){var h=fe(t.nodeName);if(!Ae[h]||Re[h])throw I("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)1===(a=(n=Ct("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!Ge&&!Be&&!Ke&&-1===t.indexOf("<"))return ie&&Ue?ie.createHTML(t):t;if(!(n=Ct(t)))return Ge?null:Ue?ae:""}n&&He&&yt(n.firstChild);for(var g=Tt($e?t:n);l=g.nextNode();)3===l.nodeType&&l===c||At(l)||(l.content instanceof s&&Pt(l.content),wt(l),c=l);if(c=null,$e)return t;if(Ge){if(ze)for(d=ce.call(n.ownerDocument);n.firstChild;)d.appendChild(n.firstChild);else d=n;return(xe.shadowroot||xe.shadowrootmod)&&(d=pe.call(i,d,!0)),d}var m=Ke?n.outerHTML:n.innerHTML;return Ke&&Ae["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&A(Y,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),Be&&(m=k(m,ve," "),m=k(m,be," "),m=k(m,ye," ")),ie&&Ue?ie.createHTML(m):m},o.setConfig=function(e){ht(e),We=!0},o.clearConfig=function(){ct=null,We=!1},o.isValidAttribute=function(e,t,r){ct||ht({});var n=fe(e),o=fe(t);return It(n,o,r)},o.addHook=function(e,t){"function"==typeof t&&(ge[e]=ge[e]||[],y(ge[e],t))},o.removeHook=function(e){if(ge[e])return b(ge[e])},o.removeHooks=function(e){ge[e]&&(ge[e]=[])},o.removeAllHooks=function(){ge={}},o}()}()},34116:(e,t,r)=>{"use strict";const n=r(58076),o=r(36073),i=r(28058);e.exports={XMLParser:o,XMLValidator:n,XMLBuilder:i}},54196:(e,t)=>{"use strict";const r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+n+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,r){if(t){const n=Object.keys(t),o=n.length;for(let i=0;i<o;i++)e[n[i]]="strict"===r?[t[n[i]]]:t[n[i]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=function(e){return!(null==o.exec(e))},t.getAllMatches=function(e,t){const r=[];let n=t.exec(e);for(;n;){const o=[];o.startIndex=t.lastIndex-n[0].length;const i=n.length;for(let e=0;e<i;e++)o.push(n[e]);r.push(o),n=t.exec(e)}return r},t.nameRegexp=n},58076:(e,t,r)=>{"use strict";const n=r(54196),o={allowBooleanAttributes:!1,unpairedTags:[]};function i(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function a(e,t){const r=t;for(;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{const n=e.substr(r,t-r);if(t>5&&"xml"===n)return g("InvalidXml","XML declaration allowed only at the start of the document.",f(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&(r--,0===r))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=Object.assign({},o,t);const r=[];let l=!1,u=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let o=0;o<e.length;o++)if("<"===e[o]&&"?"===e[o+1]){if(o+=2,o=a(e,o),o.err)return o}else{if("<"!==e[o]){if(i(e[o]))continue;return g("InvalidChar","char '"+e[o]+"' is not expected.",f(e,o))}{let m=o;if(o++,"!"===e[o]){o=s(e,o);continue}{let v=!1;"/"===e[o]&&(v=!0,o++);let b="";for(;o<e.length&&">"!==e[o]&&" "!==e[o]&&"\t"!==e[o]&&"\n"!==e[o]&&"\r"!==e[o];o++)b+=e[o];if(b=b.trim(),"/"===b[b.length-1]&&(b=b.substring(0,b.length-1),o--),d=b,!n.isName(d)){let t;return t=0===b.trim().length?"Invalid space after '<'.":"Tag '"+b+"' is an invalid name.",g("InvalidTag",t,f(e,o))}const y=c(e,o);if(!1===y)return g("InvalidAttr","Attributes for '"+b+"' have open quote.",f(e,o));let S=y.value;if(o=y.index,"/"===S[S.length-1]){const r=o-S.length;S=S.substring(0,S.length-1);const n=p(S,t);if(!0!==n)return g(n.err.code,n.err.msg,f(e,r+n.err.line));l=!0}else if(v){if(!y.tagClosed)return g("InvalidTag","Closing tag '"+b+"' doesn't have proper closing.",f(e,o));if(S.trim().length>0)return g("InvalidTag","Closing tag '"+b+"' can't have attributes or invalid starting.",f(e,m));if(0===r.length)return g("InvalidTag","Closing tag '"+b+"' has not been opened.",f(e,m));{const t=r.pop();if(b!==t.tagName){let r=f(e,t.tagStartPos);return g("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+b+"'.",f(e,m))}0==r.length&&(u=!0)}}else{const n=p(S,t);if(!0!==n)return g(n.err.code,n.err.msg,f(e,o-S.length+n.err.line));if(!0===u)return g("InvalidXml","Multiple possible root nodes found.",f(e,o));-1!==t.unpairedTags.indexOf(b)||r.push({tagName:b,tagStartPos:m}),l=!0}for(o++;o<e.length;o++)if("<"===e[o]){if("!"===e[o+1]){o++,o=s(e,o);continue}if("?"!==e[o+1])break;if(o=a(e,++o),o.err)return o}else if("&"===e[o]){const t=h(e,o);if(-1==t)return g("InvalidChar","char '&' is not expected.",f(e,o));o=t}else if(!0===u&&!i(e[o]))return g("InvalidXml","Extra text at the end",f(e,o));"<"===e[o]&&o--}}}var d;return l?1==r.length?g("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",f(e,r[0].tagStartPos)):!(r.length>0)||g("InvalidXml","Invalid '"+JSON.stringify(r.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):g("InvalidXml","Start tag expected.",1)};const l='"',u="'";function c(e,t){let r="",n="",o=!1;for(;t<e.length;t++){if(e[t]===l||e[t]===u)""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){o=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:o}}const d=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function p(e,t){const r=n.getAllMatches(e,d),o={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return g("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",v(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return g("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",v(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return g("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",v(r[e]));const n=r[e][2];if(!m(n))return g("InvalidAttr","Attribute '"+n+"' is an invalid name.",v(r[e]));if(o.hasOwnProperty(n))return g("InvalidAttr","Attribute '"+n+"' is repeated.",v(r[e]));o[n]=1}return!0}function h(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let r=/\d/;for("x"===e[t]&&(t++,r=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(r))break}return-1}(e,++t);let r=0;for(;t<e.length;t++,r++)if(!(e[t].match(/\w/)&&r<20)){if(";"===e[t])break;return-1}return t}function g(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function m(e){return n.isName(e)}function f(e,t){const r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function v(e){return e.startIndex+e[1].length}},28058:(e,t,r)=>{"use strict";const n=r(78958),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function i(e){this.options=Object.assign({},o,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=a,this.options.format?(this.indentate=s,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,r){const n=this.j2x(e,r+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,r):this.buildObjectNode(n.val,t,n.attrStr,r)}function s(e){return this.options.indentBy.repeat(e)}function l(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}i.prototype.build=function(e){return this.options.preserveOrder?n(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},i.prototype.j2x=function(e,t){let r="",n="";for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o))if(void 0===e[o])this.isAttribute(o)&&(n+="");else if(null===e[o])this.isAttribute(o)?n+="":"?"===o[0]?n+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+o+"/"+this.tagEndChar;else if(e[o]instanceof Date)n+=this.buildTextValNode(e[o],o,"",t);else if("object"!=typeof e[o]){const i=this.isAttribute(o);if(i)r+=this.buildAttrPairStr(i,""+e[o]);else if(o===this.options.textNodeName){let t=this.options.tagValueProcessor(o,""+e[o]);n+=this.replaceEntitiesValue(t)}else n+=this.buildTextValNode(e[o],o,"",t)}else if(Array.isArray(e[o])){const r=e[o].length;let i="";for(let a=0;a<r;a++){const r=e[o][a];void 0===r||(null===r?"?"===o[0]?n+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+o+"/"+this.tagEndChar:"object"==typeof r?this.options.oneListGroup?i+=this.j2x(r,t+1).val:i+=this.processTextOrObjNode(r,o,t):i+=this.buildTextValNode(r,o,"",t))}this.options.oneListGroup&&(i=this.buildObjectNode(i,o,"",t)),n+=i}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){const t=Object.keys(e[o]),n=t.length;for(let i=0;i<n;i++)r+=this.buildAttrPairStr(t[i],""+e[o][t[i]])}else n+=this.processTextOrObjNode(e[o],o,t);return{attrStr:r,val:n}},i.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},i.prototype.buildObjectNode=function(e,t,r,n){if(""===e)return"?"===t[0]?this.indentate(n)+"<"+t+r+"?"+this.tagEndChar:this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{let o="</"+t+this.tagEndChar,i="";return"?"===t[0]&&(i="?",o=""),!r&&""!==r||-1!==e.indexOf("<")?!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===i.length?this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(n)+"<"+t+r+i+this.tagEndChar+e+this.indentate(n)+o:this.indentate(n)+"<"+t+r+i+">"+e+o}},i.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},i.prototype.buildTextValNode=function(e,t,r,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(t,e);return o=this.replaceEntitiesValue(o),""===o?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+o+"</"+t+this.tagEndChar}},i.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e},e.exports=i},78958:e=>{function t(e,a,s,l){let u="",c=!1;for(let d=0;d<e.length;d++){const p=e[d],h=r(p);if(void 0===h)continue;let g="";if(g=0===s.length?h:`${s}.${h}`,h===a.textNodeName){let e=p[h];o(g,a)||(e=a.tagValueProcessor(h,e),e=i(e,a)),c&&(u+=l),u+=e,c=!1;continue}if(h===a.cdataPropName){c&&(u+=l),u+=`<![CDATA[${p[h][0][a.textNodeName]}]]>`,c=!1;continue}if(h===a.commentPropName){u+=l+`\x3c!--${p[h][0][a.textNodeName]}--\x3e`,c=!0;continue}if("?"===h[0]){const e=n(p[":@"],a),t="?xml"===h?"":l;let r=p[h][0][a.textNodeName];r=0!==r.length?" "+r:"",u+=t+`<${h}${r}${e}?>`,c=!0;continue}let m=l;""!==m&&(m+=a.indentBy);const f=l+`<${h}${n(p[":@"],a)}`,v=t(p[h],a,g,m);-1!==a.unpairedTags.indexOf(h)?a.suppressUnpairedNode?u+=f+">":u+=f+"/>":v&&0!==v.length||!a.suppressEmptyNode?v&&v.endsWith(">")?u+=f+`>${v}${l}</${h}>`:(u+=f+">",v&&""!==l&&(v.includes("/>")||v.includes("</"))?u+=l+a.indentBy+v+l:u+=v,u+=`</${h}>`):u+=f+"/>",c=!0}return u}function r(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];if(e.hasOwnProperty(n)&&":@"!==n)return n}}function n(e,t){let r="";if(e&&!t.ignoreAttributes)for(let n in e){if(!e.hasOwnProperty(n))continue;let o=t.attributeValueProcessor(n,e[n]);o=i(o,t),!0===o&&t.suppressBooleanAttributes?r+=` ${n.substr(t.attributeNamePrefix.length)}`:r+=` ${n.substr(t.attributeNamePrefix.length)}="${o}"`}return r}function o(e,t){let r=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes)if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+r)return!0;return!1}function i(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){const n=t.entities[r];e=e.replace(n.regex,n.val)}return e}e.exports=function(e,r){let n="";return r.format&&r.indentBy.length>0&&(n="\n"),t(e,r,"",n)}},41810:(e,t,r)=>{const n=r(54196);function o(e,t){let r="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)r+=e[t];if(r=r.trim(),-1!==r.indexOf(" "))throw new Error("External entites are not supported");const n=e[t++];let o="";for(;t<e.length&&e[t]!==n;t++)o+=e[t];return[r,o,t]}function i(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function a(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function s(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function l(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function u(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}function c(e){if(n.isName(e))return e;throw new Error(`Invalid entity name ${e}`)}e.exports=function(e,t){const r={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let n=1,d=!1,p=!1,h="";for(;t<e.length;t++)if("<"!==e[t]||p)if(">"===e[t]){if(p?"-"===e[t-1]&&"-"===e[t-2]&&(p=!1,n--):n--,0===n)break}else"["===e[t]?d=!0:h+=e[t];else{if(d&&a(e,t))t+=7,[entityName,val,t]=o(e,t+1),-1===val.indexOf("&")&&(r[c(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(d&&s(e,t))t+=8;else if(d&&l(e,t))t+=8;else if(d&&u(e,t))t+=9;else{if(!i)throw new Error("Invalid DOCTYPE");p=!0}n++,h=""}if(0!==n)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:t}}},27506:(e,t)=>{const r={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e}};t.buildOptions=function(e){return Object.assign({},r,e)},t.defaultOptions=r},32066:(e,t,r)=>{"use strict";const n=r(54196),o=r(31706),i=r(41810),a=r(15880);function s(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];this.lastEntities[n]={regex:new RegExp("&"+n+";","g"),val:e[n]}}}function l(e,t,r,n,o,i,a){if(void 0!==e&&(this.options.trimValues&&!n&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));const n=this.options.tagValueProcessor(t,e,r,o,i);return null==n?e:typeof n!=typeof e||n!==e?n:this.options.trimValues||e.trim()===e?S(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function u(e){if(this.options.removeNSPrefix){const t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}const c=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(e,t,r){if(!this.options.ignoreAttributes&&"string"==typeof e){const r=n.getAllMatches(e,c),o=r.length,i={};for(let e=0;e<o;e++){const n=this.resolveNameSpace(r[e][1]);let o=r[e][4],a=this.options.attributeNamePrefix+n;if(n.length)if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==o){this.options.trimValues&&(o=o.trim()),o=this.replaceEntitiesValue(o);const e=this.options.attributeValueProcessor(n,o,t);i[a]=null==e?o:typeof e!=typeof o||e!==o?e:S(o,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(i[a]=!0)}if(!Object.keys(i).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=i,e}return i}}const p=function(e){e=e.replace(/\r\n?/g,"\n");const t=new o("!xml");let r=t,n="",a="";for(let s=0;s<e.length;s++)if("<"===e[s])if("/"===e[s+1]){const t=v(e,">",s,"Closing Tag is not closed.");let o=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){const e=o.indexOf(":");-1!==e&&(o=o.substr(e+1))}this.options.transformTagName&&(o=this.options.transformTagName(o)),r&&(n=this.saveTextToParentTag(n,r,a));const i=a.substring(a.lastIndexOf(".")+1);if(o&&-1!==this.options.unpairedTags.indexOf(o))throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`);let l=0;i&&-1!==this.options.unpairedTags.indexOf(i)?(l=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=a.lastIndexOf("."),a=a.substring(0,l),r=this.tagsNodeStack.pop(),n="",s=t}else if("?"===e[s+1]){let t=b(e,s,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new o(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(r,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){const t=v(e,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){const o=e.substring(s+4,t-2);n=this.saveTextToParentTag(n,r,a),r.add(this.options.commentPropName,[{[this.options.textNodeName]:o}])}s=t}else if("!D"===e.substr(s+1,2)){const t=i(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){const t=v(e,"]]>",s,"CDATA is not closed.")-2,o=e.substring(s+9,t);n=this.saveTextToParentTag(n,r,a);let i=this.parseTextData(o,r.tagname,a,!0,!1,!0,!0);null==i&&(i=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:o}]):r.add(this.options.textNodeName,i),s=t+2}else{let i=b(e,s,this.options.removeNSPrefix),l=i.tagName;const u=i.rawTagName;let c=i.tagExp,d=i.attrExpPresent,p=i.closeIndex;this.options.transformTagName&&(l=this.options.transformTagName(l)),r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,a,!1));const h=r;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(r=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),l!==t.tagname&&(a+=a?"."+l:l),this.isItStopNode(this.options.stopNodes,a,l)){let t="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)"/"===l[l.length-1]?(l=l.substr(0,l.length-1),a=a.substr(0,a.length-1),c=l):c=c.substr(0,c.length-1),s=i.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(l))s=i.closeIndex;else{const r=this.readStopNodeData(e,u,p+1);if(!r)throw new Error(`Unexpected end of ${u}`);s=r.i,t=r.tagContent}const n=new o(l);l!==c&&d&&(n[":@"]=this.buildAttributesMap(c,a,l)),t&&(t=this.parseTextData(t,l,a,!0,d,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),n.add(this.options.textNodeName,t),this.addChild(r,n,a)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){"/"===l[l.length-1]?(l=l.substr(0,l.length-1),a=a.substr(0,a.length-1),c=l):c=c.substr(0,c.length-1),this.options.transformTagName&&(l=this.options.transformTagName(l));const e=new o(l);l!==c&&d&&(e[":@"]=this.buildAttributesMap(c,a,l)),this.addChild(r,e,a),a=a.substr(0,a.lastIndexOf("."))}else{const e=new o(l);this.tagsNodeStack.push(r),l!==c&&d&&(e[":@"]=this.buildAttributesMap(c,a,l)),this.addChild(r,e,a),r=e}n="",s=p}}else n+=e[s];return t.child};function h(e,t,r){const n=this.options.updateTag(t.tagname,r,t[":@"]);!1===n||("string"==typeof n?(t.tagname=n,e.addChild(t)):e.addChild(t))}const g=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const r=this.docTypeEntities[t];e=e.replace(r.regx,r.val)}for(let t in this.lastEntities){const r=this.lastEntities[t];e=e.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const r=this.htmlEntities[t];e=e.replace(r.regex,r.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function m(e,t,r,n){return e&&(void 0===n&&(n=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function f(e,t,r){const n="*."+r;for(const r in e){const o=e[r];if(n===o||t===o)return!0}return!1}function v(e,t,r,n){const o=e.indexOf(t,r);if(-1===o)throw new Error(n);return o+t.length-1}function b(e,t,r,n=">"){const o=function(e,t,r=">"){let n,o="";for(let i=t;i<e.length;i++){let t=e[i];if(n)t===n&&(n="");else if('"'===t||"'"===t)n=t;else if(t===r[0]){if(!r[1])return{data:o,index:i};if(e[i+1]===r[1])return{data:o,index:i}}else"\t"===t&&(t=" ");o+=t}}(e,t+1,n);if(!o)return;let i=o.data;const a=o.index,s=i.search(/\s/);let l=i,u=!0;-1!==s&&(l=i.substring(0,s),i=i.substring(s+1).trimStart());const c=l;if(r){const e=l.indexOf(":");-1!==e&&(l=l.substr(e+1),u=l!==o.data.substr(e+1))}return{tagName:l,tagExp:i,closeIndex:a,attrExpPresent:u,rawTagName:c}}function y(e,t,r){const n=r;let o=1;for(;r<e.length;r++)if("<"===e[r])if("/"===e[r+1]){const i=v(e,">",r,`${t} is not closed`);if(e.substring(r+2,i).trim()===t&&(o--,0===o))return{tagContent:e.substring(n,r),i};r=i}else if("?"===e[r+1])r=v(e,"?>",r+1,"StopNode is not closed.");else if("!--"===e.substr(r+1,3))r=v(e,"--\x3e",r+3,"StopNode is not closed.");else if("!["===e.substr(r+1,2))r=v(e,"]]>",r,"StopNode is not closed.")-2;else{const n=b(e,r,">");n&&((n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&o++,r=n.closeIndex)}}function S(e,t,r){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&a(e,r)}return n.isExist(e)?e:""}e.exports=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=s,this.parseXml=p,this.parseTextData=l,this.resolveNameSpace=u,this.buildAttributesMap=d,this.isItStopNode=f,this.replaceEntitiesValue=g,this.readStopNodeData=y,this.saveTextToParentTag=m,this.addChild=h}}},36073:(e,t,r)=>{const{buildOptions:n}=r(27506),o=r(32066),{prettify:i}=r(92699),a=r(58076);e.exports=class{parse(e,t){if("string"==typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const r=a.validate(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}const r=new o(this.options);r.addExternalEntities(this.externalEntities);const n=r.parseXml(e);return this.options.preserveOrder||void 0===n?n:i(n,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}constructor(e){this.externalEntities={},this.options=n(e)}}},92699:(e,t)=>{"use strict";function r(e,t,a){let s;const l={};for(let u=0;u<e.length;u++){const c=e[u],d=n(c);let p="";if(p=void 0===a?d:a+"."+d,d===t.textNodeName)void 0===s?s=c[d]:s+=""+c[d];else{if(void 0===d)continue;if(c[d]){let e=r(c[d],t,p);const n=i(e,t);c[":@"]?o(e,c[":@"],p,t):1!==Object.keys(e).length||void 0===e[t.textNodeName]||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],void 0!==l[d]&&l.hasOwnProperty(d)?(Array.isArray(l[d])||(l[d]=[l[d]]),l[d].push(e)):t.isArray(d,p,n)?l[d]=[e]:l[d]=e}}}return"string"==typeof s?s.length>0&&(l[t.textNodeName]=s):void 0!==s&&(l[t.textNodeName]=s),l}function n(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const r=t[e];if(":@"!==r)return r}}function o(e,t,r,n){if(t){const o=Object.keys(t),i=o.length;for(let a=0;a<i;a++){const i=o[a];n.isArray(i,r+"."+i,!0,!0)?e[i]=[t[i]]:e[i]=t[i]}}}function i(e,t){const{textNodeName:r}=t,n=Object.keys(e).length;return 0===n||!(1!==n||!e[r]&&"boolean"!=typeof e[r]&&0!==e[r])}t.prettify=function(e,t){return r(e,t)}},31706:e=>{"use strict";e.exports=class{add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}constructor(e){this.tagname=e,this.child=[],this[":@"]={}}}},6204:e=>{"use strict";e.exports=function(e,t,r,n,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},59266:(e,t,r)=>{"use strict";r.d(t,{Oy:()=>i,RY:()=>a,SQ:()=>p,bd:()=>h,kG:()=>l});var n="undefined"!=typeof WeakRef,o=class{deref(){var e,t;let r;return this._weakRef?(r=null==(e=this._weakRef)?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(null==(t=null==r?void 0:r.isDisposed)?void 0:t.call(r))&&delete this._instance),r}constructor(e){n&&"object"==typeof e?this._weakRef=new WeakRef(e):this._instance=e}},i="keyborg:focusin",a="keyborg:focusout",s=!1;function l(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}var u=0,c=class{get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,r=t.HTMLElement.prototype,n=r.focus.__keyborgNativeFocus,o=t.__keyborgData;if(o){t.document.removeEventListener("focusin",o.focusInHandler,!0),t.document.removeEventListener("focusout",o.focusOutHandler,!0);for(const e of o.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",o.focusInHandler,!0),t.removeEventListener("focusout",o.focusOutHandler,!0))}o.shadowTargets.clear(),delete t.__keyborgData}n&&(r.focus=n)}(e);const t=e.document;t.removeEventListener(i,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(r)for(const e of Object.keys(r))d.update(r[e],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const r=null==(t=this._win)?void 0:t.document.activeElement,n=!this._triggerKeys||this._triggerKeys.has(e.keyCode),o=r&&("INPUT"===r.tagName||"TEXTAREA"===r.tagName||r.isContentEditable);return n&&!o}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout((()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)}),500)}}constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout((()=>{delete this._isMouseOrTouchUsedTimer}),1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++u,this._win=e;const r=e.document;if(t){const e=t.triggerKeys,r=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==r?void 0:r.length)&&(this._dismissKeys=new Set(r))}r.addEventListener(i,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;s||(s=function(e){const t=e.HTMLElement,r=t.prototype.focus;let n=!1;return t.prototype.focus=function(){n=!0},e.document.createElement("button").focus(),t.prototype.focus=r,n}(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=p;const n=new Set,l=e=>{const t=e.target;if(!t)return;const r=new CustomEvent(a,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},u=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const o=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(o.add(r),r=r.host):r=r.parentNode;for(const e of n){const t=e.deref();t&&o.has(t)||(n.delete(e),t&&(t.removeEventListener("focusin",u,!0),t.removeEventListener("focusout",l,!0)))}c(t,e.relatedTarget||void 0)},c=(e,t,r)=>{var a;const c=e.shadowRoot;if(c){for(const e of n)if(e.deref()===c)return;return c.addEventListener("focusin",u,!0),c.addEventListener("focusout",l,!0),void n.add(new o(c))}const p={relatedTarget:t,originalEvent:r},h=new CustomEvent(i,{cancelable:!0,bubbles:!0,composed:!0,detail:p});h.details=p,(s||d.lastFocusedProgrammatically)&&(p.isFocusedProgrammatically=e===(null==(a=d.lastFocusedProgrammatically)?void 0:a.deref()),d.lastFocusedProgrammatically=void 0),e.dispatchEvent(h)},d=t.__keyborgData={focusInHandler:u,focusOutHandler:l,shadowTargets:n};function p(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new o(this)),r.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let h=t.document.activeElement;for(;h&&h.shadowRoot;)c(h),h=h.shadowRoot.activeElement;p.__keyborgNativeFocus=r}(e)}},d=class e{static create(t,r){return new e(t,r)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach((e=>e(t)))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}constructor(e,t){this._cb=[],this._id="k"+ ++u,this._win=e;const r=e.__keyborg;r?(this._core=r.core,r.refs[this._id]=this):(this._core=new c(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}};function p(e,t){return d.create(e,t)}function h(e){d.dispose(e)}},65973:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",p="[object Error]",h="[object Function]",g="[object GeneratorFunction]",m="[object Map]",f="[object Number]",v="[object Null]",b="[object Object]",y="[object Promise]",S="[object Proxy]",C="[object RegExp]",T="[object Set]",k="[object String]",F="[object Undefined]",E="[object WeakMap]",A="[object ArrayBuffer]",I="[object DataView]",x=/^\[object .+?Constructor\]$/,w=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[s]=P[l]=P[A]=P[c]=P[I]=P[d]=P[p]=P[h]=P[m]=P[f]=P[b]=P[C]=P[T]=P[k]=P[E]=!1;var R="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,D="object"==typeof self&&self&&self.Object===Object&&self,_=R||D||Function("return this")(),N=t&&!t.nodeType&&t,O=N&&e&&!e.nodeType&&e,M=O&&O.exports===N,B=M&&R.process,L=function(){try{return B&&B.binding&&B.binding("util")}catch(e){}}(),K=L&&L.isTypedArray;function W(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function H(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function G(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var z,U,V,j=Array.prototype,q=Function.prototype,$=Object.prototype,Q=_["__core-js_shared__"],X=q.toString,Y=$.hasOwnProperty,J=(z=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+z:"",Z=$.toString,ee=RegExp("^"+X.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=M?_.Buffer:void 0,re=_.Symbol,ne=_.Uint8Array,oe=$.propertyIsEnumerable,ie=j.splice,ae=re?re.toStringTag:void 0,se=Object.getOwnPropertySymbols,le=te?te.isBuffer:void 0,ue=(U=Object.keys,V=Object,function(e){return U(V(e))}),ce=Oe(_,"DataView"),de=Oe(_,"Map"),pe=Oe(_,"Promise"),he=Oe(_,"Set"),ge=Oe(_,"WeakMap"),me=Oe(Object,"create"),fe=Ke(ce),ve=Ke(de),be=Ke(pe),ye=Ke(he),Se=Ke(ge),Ce=re?re.prototype:void 0,Te=Ce?Ce.valueOf:void 0;function ke(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Fe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ae(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Ee;++t<r;)this.add(e[t])}function Ie(e){var t=this.__data__=new Fe(e);this.size=t.size}function xe(e,t){for(var r=e.length;r--;)if(We(e[r][0],t))return r;return-1}function we(e){return null==e?void 0===e?F:v:ae&&ae in Object(e)?function(e){var t=Y.call(e,ae),r=e[ae];try{e[ae]=void 0;var n=!0}catch(e){}var o=Z.call(e);return n&&(t?e[ae]=r:delete e[ae]),o}(e):function(e){return Z.call(e)}(e)}function Pe(e){return qe(e)&&we(e)==s}function Re(e,t,r,n,a){return e===t||(null==e||null==t||!qe(e)&&!qe(t)?e!=e&&t!=t:function(e,t,r,n,a,u){var h=Ge(e),g=Ge(t),v=h?l:Be(e),y=g?l:Be(t),S=(v=v==s?b:v)==b,F=(y=y==s?b:y)==b,E=v==y;if(E&&ze(e)){if(!ze(t))return!1;h=!0,S=!1}if(E&&!S)return u||(u=new Ie),h||$e(e)?De(e,t,r,n,a,u):function(e,t,r,n,a,s,l){switch(r){case I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!s(new ne(e),new ne(t)));case c:case d:case f:return We(+e,+t);case p:return e.name==t.name&&e.message==t.message;case C:case k:return e==t+"";case m:var u=H;case T:var h=n&o;if(u||(u=G),e.size!=t.size&&!h)return!1;var g=l.get(e);if(g)return g==t;n|=i,l.set(e,t);var v=De(u(e),u(t),n,a,s,l);return l.delete(e),v;case"[object Symbol]":if(Te)return Te.call(e)==Te.call(t)}return!1}(e,t,v,r,n,a,u);if(!(r&o)){var x=S&&Y.call(e,"__wrapped__"),w=F&&Y.call(t,"__wrapped__");if(x||w){var P=x?e.value():e,R=w?t.value():t;return u||(u=new Ie),a(P,R,r,n,u)}}return!!E&&(u||(u=new Ie),function(e,t,r,n,i,a){var s=r&o,l=_e(e),u=l.length;if(u!=_e(t).length&&!s)return!1;for(var c=u;c--;){var d=l[c];if(!(s?d in t:Y.call(t,d)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var h=!0;a.set(e,t),a.set(t,e);for(var g=s;++c<u;){var m=e[d=l[c]],f=t[d];if(n)var v=s?n(f,m,d,t,e,a):n(m,f,d,e,t,a);if(!(void 0===v?m===f||i(m,f,r,n,a):v)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,r,n,a,u))}(e,t,r,n,Re,a))}function De(e,t,r,n,a,s){var l=r&o,u=e.length,c=t.length;if(u!=c&&!(l&&c>u))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var p=-1,h=!0,g=r&i?new Ae:void 0;for(s.set(e,t),s.set(t,e);++p<u;){var m=e[p],f=t[p];if(n)var v=l?n(f,m,p,t,e,s):n(m,f,p,e,t,s);if(void 0!==v){if(v)continue;h=!1;break}if(g){if(!W(t,(function(e,t){if(o=t,!g.has(o)&&(m===e||a(m,e,r,n,s)))return g.push(t);var o}))){h=!1;break}}else if(m!==f&&!a(m,f,r,n,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function _e(e){return function(e,t,r){var n=t(e);return Ge(e)?n:function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}(n,r(e))}(e,Qe,Me)}function Ne(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function Oe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!je(e)||function(e){return!!J&&J in e}(e))&&(Ue(e)?ee:x).test(Ke(e))}(r)?r:void 0}ke.prototype.clear=function(){this.__data__=me?me(null):{},this.size=0},ke.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ke.prototype.get=function(e){var t=this.__data__;if(me){var r=t[e];return r===n?void 0:r}return Y.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return me?void 0!==t[e]:Y.call(t,e)},ke.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=me&&void 0===t?n:t,this},Fe.prototype.clear=function(){this.__data__=[],this.size=0},Fe.prototype.delete=function(e){var t=this.__data__,r=xe(t,e);return!(r<0||(r==t.length-1?t.pop():ie.call(t,r,1),--this.size,0))},Fe.prototype.get=function(e){var t=this.__data__,r=xe(t,e);return r<0?void 0:t[r][1]},Fe.prototype.has=function(e){return xe(this.__data__,e)>-1},Fe.prototype.set=function(e,t){var r=this.__data__,n=xe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new ke,map:new(de||Fe),string:new ke}},Ee.prototype.delete=function(e){var t=Ne(this,e).delete(e);return this.size-=t?1:0,t},Ee.prototype.get=function(e){return Ne(this,e).get(e)},Ee.prototype.has=function(e){return Ne(this,e).has(e)},Ee.prototype.set=function(e,t){var r=Ne(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Ae.prototype.add=Ae.prototype.push=function(e){return this.__data__.set(e,n),this},Ae.prototype.has=function(e){return this.__data__.has(e)},Ie.prototype.clear=function(){this.__data__=new Fe,this.size=0},Ie.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Ie.prototype.get=function(e){return this.__data__.get(e)},Ie.prototype.has=function(e){return this.__data__.has(e)},Ie.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Fe){var n=r.__data__;if(!de||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ee(n)}return r.set(e,t),this.size=r.size,this};var Me=se?function(e){return null==e?[]:(e=Object(e),function(t,r){for(var n=-1,o=null==t?0:t.length,i=0,a=[];++n<o;){var s=t[n];l=s,oe.call(e,l)&&(a[i++]=s)}var l;return a}(se(e)))}:function(){return[]},Be=we;function Le(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||w.test(e))&&e>-1&&e%1==0&&e<t}function Ke(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function We(e,t){return e===t||e!=e&&t!=t}(ce&&Be(new ce(new ArrayBuffer(1)))!=I||de&&Be(new de)!=m||pe&&Be(pe.resolve())!=y||he&&Be(new he)!=T||ge&&Be(new ge)!=E)&&(Be=function(e){var t=we(e),r=t==b?e.constructor:void 0,n=r?Ke(r):"";if(n)switch(n){case fe:return I;case ve:return m;case be:return y;case ye:return T;case Se:return E}return t});var He=Pe(function(){return arguments}())?Pe:function(e){return qe(e)&&Y.call(e,"callee")&&!oe.call(e,"callee")},Ge=Array.isArray,ze=le||function(){return!1};function Ue(e){if(!je(e))return!1;var t=we(e);return t==h||t==g||t==u||t==S}function Ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function je(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qe(e){return null!=e&&"object"==typeof e}var $e=K?function(e){return function(t){return e(t)}}(K):function(e){return qe(e)&&Ve(e.length)&&!!P[we(e)]};function Qe(e){return null!=(t=e)&&Ve(t.length)&&!Ue(t)?function(e,t){var r=Ge(e),n=!r&&He(e),o=!r&&!n&&ze(e),i=!r&&!n&&!o&&$e(e),a=r||n||o||i,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)!t&&!Y.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Le(u,l))||s.push(u);return s}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||$))return ue(e);var t,r,n=[];for(var o in Object(e))Y.call(e,o)&&"constructor"!=o&&n.push(o);return n}(e);var t}e.exports=function(e,t){return Re(e,t)}},59006:(e,t,r)=>{"use strict";r.d(t,{Jy:()=>o,Y:()=>n,YI:()=>a,q4:()=>i});var n=15,o=272,i=10,a="__about_font"},69479:(e,t,r)=>{"use strict";function n(e,t,r){var n=e.toLocaleLowerCase(),o=r.find((function(e){return e.name.toLocaleLowerCase()===n}));if(o)return o;var i=t.find((function(e){return e.name.toLocaleLowerCase()===n}));if(i)return i;for(var a=0;a<t.length;++a){var s=t[a];if(s.submenu){var l=s.submenu.variants.find((function(e){return e.name.toLocaleLowerCase()===n}));if(l)return l}}}r.d(t,{d:()=>n})},43113:(e,t,r)=>{"use strict";function n(e){var t;return null!==(t=e.isThemeFont)&&void 0!==t&&t}function o(e){return void 0!==e.name&&void 0!==e.fontKey}function i(e){return void 0!==e.name&&void 0!==e.variantKey}function a(e){return void 0!==e.name&&void 0!==e.mruKey}function s(e){return o(e)?e.fontKey:i(e)?e.variantKey:e.mruKey}function l(e){return!("data"in e||"fontSectionName"in e||"fontType"in e)}r.d(t,{Dy:()=>a,Fh:()=>n,Vg:()=>i,lN:()=>l,pG:()=>s,qy:()=>o})},16684:e=>{e.exports=function(e,t){var r,n,o,i,a,s,l,u;for(r=3&e.length,n=e.length-r,o=t,a=3432918353,s=461845907,u=0;u<n;)l=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,o=27492+(65535&(i=5*(65535&(o=(o^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&e.charCodeAt(u+2))<<16;case 2:l^=(255&e.charCodeAt(u+1))<<8;case 1:o^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}},18068:function(e){(function(){var t,r,n,o,i,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-i)/1e6},r=process.hrtime,o=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})(),a=1e9*process.uptime(),i=o-a):Date.now?(e.exports=function(){return Date.now()-n},n=Date.now()):(e.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(this)},55329:e=>{var t=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){t||(t=document.createElement("div"));var n=t.style;if(e in n)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),i=r.length;i>=0;i--){var a=r[i]+o;if(a in n)return a}return!1}},92851:(e,t,r)=>{"use strict";var n=r(88308);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},59215:(e,t,r)=>{e.exports=r(92851)()},88308:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},43314:(e,t,r)=>{for(var n=r(18068),o="undefined"==typeof window?r.g:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],u=0;!s&&u<i.length;u++)s=o[i[u]+"Request"+a],l=o[i[u]+"Cancel"+a]||o[i[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,p=[];s=function(e){if(0===p.length){var t=n(),r=Math.max(0,16.666666666666668-(t-c));c=r+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(r))}return p.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}},11007:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.renderViewDefault=function(e){return i.default.createElement("div",e)},t.renderTrackHorizontalDefault=function(e){var t=e.style,r=a(e,["style"]),o=n({},t,{right:2,bottom:2,left:2,borderRadius:3});return i.default.createElement("div",n({style:o},r))},t.renderTrackVerticalDefault=function(e){var t=e.style,r=a(e,["style"]),o=n({},t,{right:2,bottom:2,top:2,borderRadius:3});return i.default.createElement("div",n({style:o},r))},t.renderThumbHorizontalDefault=function(e){var t=e.style,r=a(e,["style"]),o=n({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return i.default.createElement("div",n({style:o},r))},t.renderThumbVerticalDefault=function(e){var t=e.style,r=a(e,["style"]),o=n({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return i.default.createElement("div",n({style:o},r))};var o,i=(o=r(10477))&&o.__esModule?o:{default:o};function a(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},32287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(43314),a=v(i),s=v(r(23775)),l=r(10477),u=v(r(59215)),c=v(r(57964)),d=v(r(10531)),p=v(r(1996)),h=v(r(36349)),g=v(r(9598)),m=r(93505),f=r(11007);function v(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this,e].concat(o)));return a.getScrollLeft=a.getScrollLeft.bind(a),a.getScrollTop=a.getScrollTop.bind(a),a.getScrollWidth=a.getScrollWidth.bind(a),a.getScrollHeight=a.getScrollHeight.bind(a),a.getClientWidth=a.getClientWidth.bind(a),a.getClientHeight=a.getClientHeight.bind(a),a.getValues=a.getValues.bind(a),a.getThumbHorizontalWidth=a.getThumbHorizontalWidth.bind(a),a.getThumbVerticalHeight=a.getThumbVerticalHeight.bind(a),a.getScrollLeftForOffset=a.getScrollLeftForOffset.bind(a),a.getScrollTopForOffset=a.getScrollTopForOffset.bind(a),a.scrollLeft=a.scrollLeft.bind(a),a.scrollTop=a.scrollTop.bind(a),a.scrollToLeft=a.scrollToLeft.bind(a),a.scrollToTop=a.scrollToTop.bind(a),a.scrollToRight=a.scrollToRight.bind(a),a.scrollToBottom=a.scrollToBottom.bind(a),a.handleTrackMouseEnter=a.handleTrackMouseEnter.bind(a),a.handleTrackMouseLeave=a.handleTrackMouseLeave.bind(a),a.handleHorizontalTrackMouseDown=a.handleHorizontalTrackMouseDown.bind(a),a.handleVerticalTrackMouseDown=a.handleVerticalTrackMouseDown.bind(a),a.handleHorizontalThumbMouseDown=a.handleHorizontalThumbMouseDown.bind(a),a.handleVerticalThumbMouseDown=a.handleVerticalThumbMouseDown.bind(a),a.handleWindowResize=a.handleWindowResize.bind(a),a.handleScroll=a.handleScroll.bind(a),a.handleDrag=a.handleDrag.bind(a),a.handleDragEnd=a.handleDragEnd.bind(a),a.state={didMountUniversal:!1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,i.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,r=void 0===t?0:t,n=e.scrollTop,o=void 0===n?0:n,i=e.scrollWidth,a=void 0===i?0:i,s=e.scrollHeight,l=void 0===s?0:s,u=e.clientWidth,c=void 0===u?0:u,d=e.clientHeight,p=void 0===d?0:d;return{left:r/(a-c)||0,top:o/(l-p)||0,scrollLeft:r,scrollTop:o,scrollWidth:a,scrollHeight:l,clientWidth:c,clientHeight:p}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,r=e.thumbMinSize,n=this.view,o=n.scrollWidth,i=n.clientWidth,a=(0,h.default)(this.trackHorizontal),s=Math.ceil(i/o*a);return a===s?0:t||Math.max(s,r)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,r=e.thumbMinSize,n=this.view,o=n.scrollHeight,i=n.clientHeight,a=(0,g.default)(this.trackVertical),s=Math.ceil(i/o*a);return a===s?0:t||Math.max(s,r)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,r=t.scrollWidth,n=t.clientWidth;return e/((0,h.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(r-n)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,r=t.scrollHeight,n=t.clientHeight;return e/((0,g.default)(this.trackVertical)-this.getThumbVerticalHeight())*(r-n)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,r=this.trackVertical,n=this.thumbHorizontal,o=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),r.addEventListener("mouseenter",this.handleTrackMouseEnter),r.addEventListener("mouseleave",this.handleTrackMouseLeave),r.addEventListener("mousedown",this.handleVerticalTrackMouseDown),n.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,r=this.trackVertical,n=this.thumbHorizontal,o=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),r.removeEventListener("mouseenter",this.handleTrackMouseEnter),r.removeEventListener("mouseleave",this.handleTrackMouseLeave),r.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),n.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,r=this.props,n=r.onScroll,o=r.onScrollFrame;n&&n(e),this.update((function(e){var r=e.scrollLeft,n=e.scrollTop;t.viewScrollLeft=r,t.viewScrollTop=n,o&&o(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,r=e.clientX,n=t.getBoundingClientRect().left,o=this.getThumbHorizontalWidth(),i=Math.abs(n-r)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(i)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,r=e.clientY,n=t.getBoundingClientRect().top,o=this.getThumbVerticalHeight(),i=Math.abs(n-r)-o/2;this.view.scrollTop=this.getScrollTopForOffset(i)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,r=e.clientX,n=t.offsetWidth,o=t.getBoundingClientRect().left;this.prevPageX=n-(r-o)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,r=e.clientY,n=t.offsetHeight,o=t.getBoundingClientRect().top;this.prevPageY=n-(r-o)}},{key:"setupDragging",value:function(){(0,s.default)(document.body,m.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=p.default}},{key:"teardownDragging",value:function(){(0,s.default)(document.body,m.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,r=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(r)}if(this.prevPageY){var n=e.clientY,o=-this.trackVertical.getBoundingClientRect().top+n-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(o)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,s.default)(this.trackHorizontal,{opacity:1}),(0,s.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,s.default)(e.trackHorizontal,{opacity:0}),(0,s.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&a.default.cancel(this.requestFrame),this.requestFrame=(0,a.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,r=t.onUpdate,n=t.hideTracksWhenNotNeeded,o=this.getValues();if((0,d.default)()){var i=o.scrollLeft,a=o.clientWidth,l=o.scrollWidth,u=(0,h.default)(this.trackHorizontal),c=this.getThumbHorizontalWidth(),p={width:c,transform:"translateX("+i/(l-a)*(u-c)+"px)"},m=o.scrollTop,f=o.clientHeight,v=o.scrollHeight,b=(0,g.default)(this.trackVertical),y=this.getThumbVerticalHeight(),S={height:y,transform:"translateY("+m/(v-f)*(b-y)+"px)"};if(n){var C={visibility:l>a?"visible":"hidden"},T={visibility:v>f?"visible":"hidden"};(0,s.default)(this.trackHorizontal,C),(0,s.default)(this.trackVertical,T)}(0,s.default)(this.thumbHorizontal,p),(0,s.default)(this.thumbVertical,S)}r&&r(o),"function"==typeof e&&e(o)}},{key:"render",value:function(){var e=this,t=(0,d.default)(),r=this.props,o=(r.onScroll,r.onScrollFrame,r.onScrollStart,r.onScrollStop,r.onUpdate,r.renderView),i=r.renderTrackHorizontal,a=r.renderTrackVertical,s=r.renderThumbHorizontal,u=r.renderThumbVertical,p=r.tagName,h=(r.hideTracksWhenNotNeeded,r.autoHide),g=(r.autoHideTimeout,r.autoHideDuration),f=(r.thumbSize,r.thumbMinSize,r.universal),v=r.autoHeight,b=r.autoHeightMin,y=r.autoHeightMax,S=r.style,C=r.children,T=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),k=this.state.didMountUniversal,F=n({},m.containerStyleDefault,v&&n({},m.containerStyleAutoHeight,{minHeight:b,maxHeight:y}),S),E=n({},m.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},v&&n({},m.viewStyleAutoHeight,{minHeight:(0,c.default)(b)?"calc("+b+" + "+t+"px)":b+t,maxHeight:(0,c.default)(y)?"calc("+y+" + "+t+"px)":y+t}),v&&f&&!k&&{minHeight:b,maxHeight:y},f&&!k&&m.viewStyleUniversalInitial),A={transition:"opacity "+g+"ms",opacity:0},I=n({},m.trackHorizontalStyleDefault,h&&A,(!t||f&&!k)&&{display:"none"}),x=n({},m.trackVerticalStyleDefault,h&&A,(!t||f&&!k)&&{display:"none"});return(0,l.createElement)(p,n({},T,{style:F,ref:function(t){e.container=t}}),[(0,l.cloneElement)(o({style:E}),{key:"view",ref:function(t){e.view=t}},C),(0,l.cloneElement)(i({style:I}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,l.cloneElement)(s({style:m.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,l.cloneElement)(a({style:x}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,l.cloneElement)(u({style:m.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(l.Component);t.default=b,b.propTypes={onScroll:u.default.func,onScrollFrame:u.default.func,onScrollStart:u.default.func,onScrollStop:u.default.func,onUpdate:u.default.func,renderView:u.default.func,renderTrackHorizontal:u.default.func,renderTrackVertical:u.default.func,renderThumbHorizontal:u.default.func,renderThumbVertical:u.default.func,tagName:u.default.string,thumbSize:u.default.number,thumbMinSize:u.default.number,hideTracksWhenNotNeeded:u.default.bool,autoHide:u.default.bool,autoHideTimeout:u.default.number,autoHideDuration:u.default.number,autoHeight:u.default.bool,autoHeightMin:u.default.oneOfType([u.default.number,u.default.string]),autoHeightMax:u.default.oneOfType([u.default.number,u.default.string]),universal:u.default.bool,style:u.default.object,children:u.default.node},b.defaultProps={renderView:f.renderViewDefault,renderTrackHorizontal:f.renderTrackHorizontalDefault,renderTrackVertical:f.renderTrackVerticalDefault,renderThumbHorizontal:f.renderThumbHorizontalDefault,renderThumbVertical:f.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},93505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},11719:(e,t,r)=>{"use strict";t.ur=void 0;var n,o=(n=r(32287))&&n.__esModule?n:{default:n};o.default,t.ur=o.default},9598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,r=getComputedStyle(e),n=r.paddingTop,o=r.paddingBottom;return t-parseFloat(n)-parseFloat(o)}},36349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,r=getComputedStyle(e),n=r.paddingLeft,o=r.paddingRight;return t-parseFloat(n)-parseFloat(o)}},10531:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==i)return i;if("undefined"!=typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),i=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else i=0;return i||0};var n,o=(n=r(23775))&&n.__esModule?n:{default:n},i=!1},57964:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},1996:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},48644:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>R});var n={};function o(e){var t=null;return function(){return null==t&&(t=e()),t}}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}r.r(n),r.d(n,{FILE:()=>m,TEXT:()=>v,URL:()=>f});var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[],this.isNodeInDocument=t}var t,r;return t=e,(r=[{key:"enter",value:function(e){var t=this,r=this.entered.length;return this.entered=function(e,t){var r=new Set,n=function(e){return r.add(e)};e.forEach(n),t.forEach(n);var o=[];return r.forEach((function(e){return o.push(e)})),o}(this.entered.filter((function(r){return t.isNodeInDocument(r)&&(!r.contains||r.contains(e))})),[e]),0===r&&this.entered.length>0}},{key:"leave",value:function(e){var t,r,n=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),r=e,t.filter((function(e){return e!==r}))),n>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}])&&i(t.prototype,r),e}(),s=o((function(){return/firefox/i.test(navigator.userAgent)})),l=o((function(){return Boolean(window.safari)}));function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var c=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=t.length,o=[],i=0;i<n;i++)o.push(i);o.sort((function(e,r){return t[e]<t[r]?-1:1}));for(var a,s,l=[],u=[],c=[],d=0;d<n-1;d++)a=t[d+1]-t[d],s=r[d+1]-r[d],u.push(a),l.push(s),c.push(s/a);for(var p=[c[0]],h=0;h<u.length-1;h++){var g=c[h],m=c[h+1];if(g*m<=0)p.push(0);else{a=u[h];var f=u[h+1],v=a+f;p.push(3*v/((v+f)/g+(v+a)/m))}}p.push(c[c.length-1]);for(var b,y=[],S=[],C=0;C<p.length-1;C++){b=c[C];var T=p[C],k=1/u[C],F=T+p[C+1]-b-b;y.push((b-T-F)*k),S.push(F*k*k)}this.xs=t,this.ys=r,this.c1s=p,this.c2s=y,this.c3s=S}var t,r;return t=e,(r=[{key:"interpolate",value:function(e){var t=this.xs,r=this.ys,n=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return r[a];for(var s,l=0,u=i.length-1;l<=u;){var c=t[s=Math.floor(.5*(l+u))];if(c<e)l=s+1;else{if(!(c>e))return r[s];u=s-1}}var d=e-t[a=Math.max(0,u)],p=d*d;return r[a]+n[a]*d+o[a]*p+i[a]*d*p}}])&&u(t.prototype,r),e}(),d=1;function p(e){var t=e.nodeType===d?e:e.parentElement;if(!t)return null;var r=t.getBoundingClientRect(),n=r.top;return{x:r.left,y:n}}function h(e){return{x:e.clientX,y:e.clientY}}var g,m="__NATIVE_FILE__",f="__NATIVE_URL__",v="__NATIVE_TEXT__";function b(e,t,r){var n=t.reduce((function(t,r){return t||e.getData(r)}),"");return null!=n?n:r}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=(y(g={},m,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items}},matchesTypes:["Files"]}),y(g,f,{exposeProperties:{urls:function(e,t){return b(e,t,"").split("\n")}},matchesTypes:["Url","text/uri-list"]}),y(g,v,{exposeProperties:{text:function(e,t){return b(e,t,"")}},matchesTypes:["Text","text/plain"]}),g);function C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var T=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.item={},this.initializeExposedProperties()}var t,r;return t=e,(r=[{key:"initializeExposedProperties",value:function(){var e=this;Object.keys(this.config.exposeProperties).forEach((function(t){Object.defineProperty(e.item,t,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})}))}},{key:"loadDataTransfer",value:function(e){var t=this;if(e){var r={};Object.keys(this.config.exposeProperties).forEach((function(n){r[n]={value:t.config.exposeProperties[n](e,t.config.matchesTypes),configurable:!0,enumerable:!0}})),Object.defineProperties(this.item,r)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}])&&C(t.prototype,r),e}();function k(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(S).filter((function(e){return S[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null}function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var E=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.globalContext=t}var t,r;return t=e,(r=[{key:"window",get:function(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}},{key:"document",get:function(){if(this.window)return this.window.document}}])&&F(t.prototype,r),e}();function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var P=function(){function e(t,r){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.getSourceClientOffset=function(e){return p(n.sourceNodes.get(e))},this.endDragNativeItem=function(){n.isDraggingNativeItem()&&(n.actions.endDrag(),n.registry.removeSource(n.currentNativeHandle),n.currentNativeHandle=null,n.currentNativeSource=null)},this.isNodeInDocument=function(e){return n.document&&n.document.body&&document.body.contains(e)},this.endDragIfSourceWasRemovedFromDOM=function(){var e=n.currentDragSourceNode;n.isNodeInDocument(e)||n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragStartCapture=function(){n.clearCurrentDragSourceNode(),n.dragStartSourceIds=[]},this.handleTopDragStart=function(e){if(!e.defaultPrevented){var t=n.dragStartSourceIds;n.dragStartSourceIds=null;var r=h(e);n.monitor.isDragging()&&n.actions.endDrag(),n.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:n.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=k(o);if(n.monitor.isDragging()){if(o&&"function"==typeof o.setDragImage){var a=n.monitor.getSourceId(),u=n.sourceNodes.get(a),d=n.sourcePreviewNodes.get(a)||u;if(d){var g=n.getCurrentSourcePreviewNodeOptions(),m=function(e,t,r,n,o){var i,a,u="IMG"===(i=t).nodeName&&(s()||!document.documentElement.contains(i)),d=p(u?e:t),h={x:r.x-d.x,y:r.y-d.y},g=e.offsetWidth,m=e.offsetHeight,f=n.anchorX,v=n.anchorY,b=function(e,t,r,n){var o=e?t.width:r,i=e?t.height:n;return l()&&e&&(i/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:i}}(u,t,g,m),y=b.dragPreviewWidth,S=b.dragPreviewHeight,C=o.offsetX,T=o.offsetY,k=0===T||T;return{x:0===C||C?C:new c([0,.5,1],[h.x,h.x/g*y,h.x+y-g]).interpolate(f),y:k?T:(a=new c([0,.5,1],[h.y,h.y/m*S,h.y+S-m]).interpolate(v),l()&&u&&(a+=(window.devicePixelRatio-1)*S),a)}}(u,d,r,{anchorX:g.anchorX,anchorY:g.anchorY},{offsetX:g.offsetX,offsetY:g.offsetY});o.setDragImage(d,m.x,m.y)}}try{o.setData("application/json",{})}catch(e){}n.setCurrentDragSourceNode(e.target),n.getCurrentSourcePreviewNodeOptions().captureDraggingState?n.actions.publishDragSource():setTimeout((function(){return n.actions.publishDragSource()}),0)}else if(i)n.beginDragNativeItem(i);else{if(o&&!o.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}}},this.handleTopDragEndCapture=function(){n.clearCurrentDragSourceNode()&&n.actions.endDrag()},this.handleTopDragEnterCapture=function(e){if(n.dragEnterTargetIds=[],n.enterLeaveCounter.enter(e.target)&&!n.monitor.isDragging()){var t=e.dataTransfer,r=k(t);r&&n.beginDragNativeItem(r,t)}},this.handleTopDragEnter=function(e){var t=n.dragEnterTargetIds;n.dragEnterTargetIds=[],n.monitor.isDragging()&&(n.altKeyPressed=e.altKey,s()||n.actions.hover(t,{clientOffset:h(e)}),t.some((function(e){return n.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=n.getCurrentDropEffect())))},this.handleTopDragOverCapture=function(){n.dragOverTargetIds=[]},this.handleTopDragOver=function(e){var t=n.dragOverTargetIds;if(n.dragOverTargetIds=[],!n.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));n.altKeyPressed=e.altKey,n.actions.hover(t||[],{clientOffset:h(e)}),(t||[]).some((function(e){return n.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=n.getCurrentDropEffect())):n.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=function(e){n.isDraggingNativeItem()&&e.preventDefault(),n.enterLeaveCounter.leave(e.target)&&n.isDraggingNativeItem()&&n.endDragNativeItem()},this.handleTopDropCapture=function(e){n.dropTargetIds=[],e.preventDefault(),n.isDraggingNativeItem()&&n.currentNativeSource.loadDataTransfer(e.dataTransfer),n.enterLeaveCounter.reset()},this.handleTopDrop=function(e){var t=n.dropTargetIds;n.dropTargetIds=[],n.actions.hover(t,{clientOffset:h(e)}),n.actions.drop({dropEffect:n.getCurrentDropEffect()}),n.isDraggingNativeItem()?n.endDragNativeItem():n.endDragIfSourceWasRemovedFromDOM()},this.handleSelectStart=function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new E(r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new a(this.isNodeInDocument)}var t,r;return t=e,(r=[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"connectDragPreview",value:function(e,t,r){var n=this;return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),function(){n.sourcePreviewNodes.delete(e),n.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDragSource",value:function(e,t,r){var n=this;this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);var o=function(t){return n.handleDragStart(t,e)},i=function(e){return n.handleSelectStart(e)};return t.setAttribute("draggable","true"),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){n.sourceNodes.delete(e),n.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(e,t){var r=this,n=function(t){return r.handleDragEnter(t,e)},o=function(t){return r.handleDragOver(t,e)},i=function(t){return r.handleDrop(t,e)};return t.addEventListener("dragenter",n),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",n),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return I({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId();return I({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(n).some((function(t){return n[t]===e}))}},{key:"beginDragNativeItem",value:function(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){var r=new T(S[e]);return r.loadDataTransfer(t),r}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout((function(){return t.window&&t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}},{key:"handleDragStart",value:function(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleDragOver",value:function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}}])&&w(t.prototype,r),e}();const R=function(e,t){return new P(e,t)}},53037:(e,t,r)=>{"use strict";var n=r(10477),o=r(35721);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},g={};function m(e,t,r,n,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var f={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){f[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];f[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){f[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){f[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){f[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){f[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){f[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){f[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){f[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,r,n){var o=f.hasOwnProperty(t)?f[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!d.call(g,e)||!d.call(h,e)&&(p.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,b);f[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,b);f[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,b);f[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){f[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),f.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){f[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C=Symbol.for("react.element"),T=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),I=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var _=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}var M,B=Object.assign;function L(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var K=!1;function W(e,t){if(!e||K)return"";K=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=n.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{K=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?L(e):""}function H(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return W(e.type,!1);case 11:return W(e.type.render,!1);case 1:return W(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case T:return"Portal";case E:return"Profiler";case F:return"StrictMode";case w:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case x:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:G(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===F?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function j(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=V(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var r=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function X(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=U(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){Y(e,t);var r=U(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&$(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+U(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:U(r)}}function ie(e,t){var r=U(t.value),n=U(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function pe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","ms","Moz","O"];function me(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function fe(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(he).forEach((function(e){ge.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Se=null;function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,ke=null,Fe=null;function Ee(e){if(e=So(e)){if("function"!=typeof Te)throw Error(i(280));var t=e.stateNode;t&&(t=To(t),Te(e.stateNode,e.type,t))}}function Ae(e){ke?Fe?Fe.push(e):Fe=[e]:ke=e}function Ie(){if(ke){var e=ke,t=Fe;if(Fe=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function xe(e,t){return e(t)}function we(){}var Pe=!1;function Re(e,t,r){if(Pe)return e(t,r);Pe=!0;try{return xe(e,t,r)}finally{Pe=!1,(null!==ke||null!==Fe)&&(we(),Ie())}}function De(e,t){var r=e.stateNode;if(null===r)return null;var n=To(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(i(231,t,typeof r));return r}var _e=!1;if(c)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){_e=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ce){_e=!1}function Oe(e,t,r,n,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var Me=!1,Be=null,Le=!1,Ke=null,We={onError:function(e){Me=!0,Be=e}};function He(e,t,r,n,o,i,a,s,l){Me=!1,Be=null,Oe.apply(We,arguments)}function Ge(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ue(e){if(Ge(e)!==e)throw Error(i(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ge(e)))throw Error(i(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(n=o.return)){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Ue(o),e;if(a===n)return Ue(o),t;a=a.sibling}throw Error(i(188))}if(r.return!==n.return)r=o,n=a;else{for(var s=!1,l=o.child;l;){if(l===r){s=!0,r=o,n=a;break}if(l===n){s=!0,n=o,r=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===r){s=!0,r=a,n=o;break}if(l===n){s=!0,n=a,r=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(r.alternate!==n)throw Error(i(190))}if(3!==r.tag)throw Error(i(188));return r.stateNode.current===r?e:t}(e))?je(e):null}function je(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=je(e);if(null!==t)return t;e=e.sibling}return null}var qe=o.unstable_scheduleCallback,$e=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Ye=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,rt=o.unstable_LowPriority,nt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&r;if(0!==a){var s=a&~o;0!==s?n=dt(s):0!=(i&=a)&&(n=dt(i))}else 0!=(a=r&~o)?n=dt(a):0!==i&&(n=dt(i));if(0===n)return 0;if(0!==t&&t!==n&&0==(t&o)&&((o=n&-n)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-at(t)),n|=e[r],t&=~o;return n}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function gt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function ft(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function vt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=r}function bt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-at(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var yt=0;function St(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Ct,Tt,kt,Ft,Et,At=!1,It=[],xt=null,wt=null,Pt=null,Rt=new Map,Dt=new Map,_t=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ot(e,t){switch(e){case"focusin":case"focusout":xt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Mt(e,t,r,n,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=So(t))&&Tt(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Bt(e){var t=yo(e.target);if(null!==t){var r=Ge(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=ze(r)))return e.blockedOn=t,void Et(e.priority,(function(){kt(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=So(r))&&Tt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);Se=n,r.target.dispatchEvent(n),Se=null,t.shift()}return!0}function Kt(e,t,r){Lt(e)&&r.delete(t)}function Wt(){At=!1,null!==xt&&Lt(xt)&&(xt=null),null!==wt&&Lt(wt)&&(wt=null),null!==Pt&&Lt(Pt)&&(Pt=null),Rt.forEach(Kt),Dt.forEach(Kt)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Wt)))}function Gt(e){function t(t){return Ht(t,e)}if(0<It.length){Ht(It[0],e);for(var r=1;r<It.length;r++){var n=It[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==xt&&Ht(xt,e),null!==wt&&Ht(wt,e),null!==Pt&&Ht(Pt,e),Rt.forEach(t),Dt.forEach(t),r=0;r<_t.length;r++)(n=_t[r]).blockedOn===e&&(n.blockedOn=null);for(;0<_t.length&&null===(r=_t[0]).blockedOn;)Bt(r),null===r.blockedOn&&_t.shift()}var zt=S.ReactCurrentBatchConfig,Ut=!0;function Vt(e,t,r,n){var o=yt,i=zt.transition;zt.transition=null;try{yt=1,qt(e,t,r,n)}finally{yt=o,zt.transition=i}}function jt(e,t,r,n){var o=yt,i=zt.transition;zt.transition=null;try{yt=4,qt(e,t,r,n)}finally{yt=o,zt.transition=i}}function qt(e,t,r,n){if(Ut){var o=Qt(e,t,r,n);if(null===o)Un(e,t,n,$t,r),Ot(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return xt=Mt(xt,e,t,r,n,o),!0;case"dragenter":return wt=Mt(wt,e,t,r,n,o),!0;case"mouseover":return Pt=Mt(Pt,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return Rt.set(i,Mt(Rt.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,Dt.set(i,Mt(Dt.get(i)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(Ot(e,n),4&t&&-1<Nt.indexOf(e)){for(;null!==o;){var i=So(o);if(null!==i&&Ct(i),null===(i=Qt(e,t,r,n))&&Un(e,t,n,$t,r),i===o)break;o=i}null!==o&&n.stopPropagation()}else Un(e,t,n,null,r)}}var $t=null;function Qt(e,t,r,n){if($t=null,null!==(e=yo(e=Ce(n))))if(null===(t=Ge(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=ze(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function er(){if(Zt)return Zt;var e,t,r=Jt,n=r.length,o="value"in Yt?Yt.value:Yt.textContent,i=o.length;for(e=0;e<n&&r[e]===o[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function or(e){function t(t,r,n,o,i){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var ir,ar,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ur=or(lr),cr=B({},lr,{view:0,detail:0}),dr=or(cr),pr=B({},cr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(ir=e.screenX-sr.screenX,ar=e.screenY-sr.screenY):ar=ir=0,sr=e),ir)},movementY:function(e){return"movementY"in e?e.movementY:ar}}),hr=or(pr),gr=or(B({},pr,{dataTransfer:0})),mr=or(B({},cr,{relatedTarget:0})),fr=or(B({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),vr=B({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),br=or(vr),yr=or(B({},lr,{data:0})),Sr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Tr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Tr[e])&&!!t[e]}function Fr(){return kr}var Er=B({},cr,{key:function(e){if(e.key){var t=Sr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fr,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ar=or(Er),Ir=or(B({},pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xr=or(B({},cr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fr})),wr=or(B({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pr=B({},pr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rr=or(Pr),Dr=[9,13,27,32],_r=c&&"CompositionEvent"in window,Nr=null;c&&"documentMode"in document&&(Nr=document.documentMode);var Or=c&&"TextEvent"in window&&!Nr,Mr=c&&(!_r||Nr&&8<Nr&&11>=Nr),Br=String.fromCharCode(32),Lr=!1;function Kr(e,t){switch(e){case"keyup":return-1!==Dr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hr=!1,Gr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gr[e.type]:"textarea"===t}function Ur(e,t,r,n){Ae(n),0<(t=jn(t,"onChange")).length&&(r=new ur("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Vr=null,jr=null;function qr(e){Ln(e,0)}function $r(e){if(q(Co(e)))return e}function Qr(e,t){if("change"===e)return t}var Xr=!1;if(c){var Yr;if(c){var Jr="oninput"in document;if(!Jr){var Zr=document.createElement("div");Zr.setAttribute("oninput","return;"),Jr="function"==typeof Zr.oninput}Yr=Jr}else Yr=!1;Xr=Yr&&(!document.documentMode||9<document.documentMode)}function en(){Vr&&(Vr.detachEvent("onpropertychange",tn),jr=Vr=null)}function tn(e){if("value"===e.propertyName&&$r(jr)){var t=[];Ur(t,jr,e,Ce(e)),Re(qr,t)}}function rn(e,t,r){"focusin"===e?(en(),jr=r,(Vr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $r(jr)}function on(e,t){if("click"===e)return $r(t)}function an(e,t){if("input"===e||"change"===e)return $r(t)}var sn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(sn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!d.call(t,o)||!sn(e[o],t[o]))return!1}return!0}function un(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cn(e,t){var r,n=un(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=un(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pn(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=$((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function gn(e){var t=pn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&hn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=void 0===n.end?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=cn(r,i);var a=cn(r,n);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mn=c&&"documentMode"in document&&11>=document.documentMode,fn=null,vn=null,bn=null,yn=!1;function Sn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;yn||null==fn||fn!==$(n)||(n="selectionStart"in(n=fn)&&hn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},bn&&ln(bn,n)||(bn=n,0<(n=jn(vn,"onSelect")).length&&(t=new ur("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=fn)))}function Cn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Tn={animationend:Cn("Animation","AnimationEnd"),animationiteration:Cn("Animation","AnimationIteration"),animationstart:Cn("Animation","AnimationStart"),transitionend:Cn("Transition","TransitionEnd")},kn={},Fn={};function En(e){if(kn[e])return kn[e];if(!Tn[e])return e;var t,r=Tn[e];for(t in r)if(r.hasOwnProperty(t)&&t in Fn)return kn[e]=r[t];return e}c&&(Fn=document.createElement("div").style,"AnimationEvent"in window||(delete Tn.animationend.animation,delete Tn.animationiteration.animation,delete Tn.animationstart.animation),"TransitionEvent"in window||delete Tn.transitionend.transition);var An=En("animationend"),In=En("animationiteration"),xn=En("animationstart"),wn=En("transitionend"),Pn=new Map,Rn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dn(e,t){Pn.set(e,t),l(t,[e])}for(var _n=0;_n<Rn.length;_n++){var Nn=Rn[_n];Dn(Nn.toLowerCase(),"on"+(Nn[0].toUpperCase()+Nn.slice(1)))}Dn(An,"onAnimationEnd"),Dn(In,"onAnimationIteration"),Dn(xn,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(wn,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var On="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mn=new Set("cancel close invalid load scroll toggle".split(" ").concat(On));function Bn(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,a,s,l,u){if(He.apply(this,arguments),Me){if(!Me)throw Error(i(198));var c=Be;Me=!1,Be=null,Le||(Le=!0,Ke=c)}}(n,t,void 0,e),e.currentTarget=null}function Ln(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Bn(o,s,u),i=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Bn(o,s,u),i=l}}}if(Le)throw e=Ke,Le=!1,Ke=null,e}function Kn(e,t){var r=t[fo];void 0===r&&(r=t[fo]=new Set);var n=e+"__bubble";r.has(n)||(zn(t,e,2,!1),r.add(n))}function Wn(e,t,r){var n=0;t&&(n|=4),zn(r,e,n,t)}var Hn="_reactListening"+Math.random().toString(36).slice(2);function Gn(e){if(!e[Hn]){e[Hn]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mn.has(t)||Wn(t,!1,e),Wn(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hn]||(t[Hn]=!0,Wn("selectionchange",!1,t))}}function zn(e,t,r,n){switch(Xt(t)){case 1:var o=Vt;break;case 4:o=jt;break;default:o=qt}r=o.bind(null,t,r,e),o=void 0,!_e||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Un(e,t,r,n,o){var i=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=yo(s)))return;if(5===(l=a.tag)||6===l){n=i=a;continue e}s=s.parentNode}}n=n.return}Re((function(){var n=i,o=Ce(r),a=[];e:{var s=Pn.get(e);if(void 0!==s){var l=ur,u=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Ar;break;case"focusin":u="focus",l=mr;break;case"focusout":u="blur",l=mr;break;case"beforeblur":case"afterblur":l=mr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=xr;break;case An:case In:case xn:l=fr;break;case wn:l=wr;break;case"scroll":l=dr;break;case"wheel":l=Rr;break;case"copy":case"cut":case"paste":l=br;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ir}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var h,g=n;null!==g;){var m=(h=g).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==p&&null!=(m=De(g,p))&&c.push(Vn(g,m,h))),d)break;g=g.return}0<c.length&&(s=new l(s,u,null,r,o),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===Se||!(u=r.relatedTarget||r.fromElement)||!yo(u)&&!u[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(u=(u=r.relatedTarget||r.toElement)?yo(u):null)&&(u!==(d=Ge(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=n),l!==u)){if(c=hr,m="onMouseLeave",p="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ir,m="onPointerLeave",p="onPointerEnter",g="pointer"),d=null==l?s:Co(l),h=null==u?s:Co(u),(s=new c(m,g+"leave",l,r,o)).target=d,s.relatedTarget=h,m=null,yo(o)===n&&((c=new c(p,g+"enter",u,r,o)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(p=u,g=0,h=c=l;h;h=qn(h))g++;for(h=0,m=p;m;m=qn(m))h++;for(;0<g-h;)c=qn(c),g--;for(;0<h-g;)p=qn(p),h--;for(;g--;){if(c===p||null!==p&&c===p.alternate)break e;c=qn(c),p=qn(p)}c=null}else c=null;null!==l&&$n(a,s,l,c,!1),null!==u&&null!==d&&$n(a,d,u,c,!0)}if("select"===(l=(s=n?Co(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var f=Qr;else if(zr(s))if(Xr)f=an;else{f=nn;var v=rn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(f=on);switch(f&&(f=f(e,n))?Ur(a,f,r,o):(v&&v(e,s,n),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=n?Co(n):window,e){case"focusin":(zr(v)||"true"===v.contentEditable)&&(fn=v,vn=n,bn=null);break;case"focusout":bn=vn=fn=null;break;case"mousedown":yn=!0;break;case"contextmenu":case"mouseup":case"dragend":yn=!1,Sn(a,r,o);break;case"selectionchange":if(mn)break;case"keydown":case"keyup":Sn(a,r,o)}var b;if(_r)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hr?Kr(e,r)&&(y="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(y="onCompositionStart");y&&(Mr&&"ko"!==r.locale&&(Hr||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hr&&(b=er()):(Jt="value"in(Yt=o)?Yt.value:Yt.textContent,Hr=!0)),0<(v=jn(n,y)).length&&(y=new yr(y,e,null,r,o),a.push({event:y,listeners:v}),(b||null!==(b=Wr(r)))&&(y.data=b))),(b=Or?function(e,t){switch(e){case"compositionend":return Wr(t);case"keypress":return 32!==t.which?null:(Lr=!0,Br);case"textInput":return(e=t.data)===Br&&Lr?null:e;default:return null}}(e,r):function(e,t){if(Hr)return"compositionend"===e||!_r&&Kr(e,t)?(e=er(),Zt=Jt=Yt=null,Hr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mr&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=jn(n,"onBeforeInput")).length&&(o=new yr("onBeforeInput","beforeinput",null,r,o),a.push({event:o,listeners:n}),o.data=b)}Ln(a,t)}))}function Vn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function jn(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=De(e,r))&&n.unshift(Vn(e,i,o)),null!=(i=De(e,t))&&n.push(Vn(e,i,o))),e=e.return}return n}function qn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $n(e,t,r,n,o){for(var i=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=De(r,i))&&a.unshift(Vn(r,l,s)):o||null!=(l=De(r,i))&&a.push(Vn(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}var Qn=/\r\n?/g,Xn=/\u0000|\uFFFD/g;function Yn(e){return("string"==typeof e?e:""+e).replace(Qn,"\n").replace(Xn,"")}function Jn(e,t,r){if(t=Yn(t),Yn(e)!==t&&r)throw Error(i(425))}function Zn(){}var eo=null,to=null;function ro(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var no="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:no;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&8===o.nodeType)if("/$"===(r=o.data)){if(0===n)return e.removeChild(o),void Gt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=o}while(r);Gt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),ho="__reactFiber$"+po,go="__reactProps$"+po,mo="__reactContainer$"+po,fo="__reactEvents$"+po,vo="__reactListeners$"+po,bo="__reactHandles$"+po;function yo(e){var t=e[ho];if(t)return t;for(var r=e.parentNode;r;){if(t=r[mo]||r[ho]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=co(e);null!==e;){if(r=e[ho])return r;e=co(e)}return t}r=(e=r).parentNode}return null}function So(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Co(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function To(e){return e[go]||null}var ko=[],Fo=-1;function Eo(e){return{current:e}}function Ao(e){0>Fo||(e.current=ko[Fo],ko[Fo]=null,Fo--)}function Io(e,t){Fo++,ko[Fo]=e.current,e.current=t}var xo={},wo=Eo(xo),Po=Eo(!1),Ro=xo;function Do(e,t){var r=e.type.contextTypes;if(!r)return xo;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in r)i[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _o(e){return null!=e.childContextTypes}function No(){Ao(Po),Ao(wo)}function Oo(e,t,r){if(wo.current!==xo)throw Error(i(168));Io(wo,t),Io(Po,r)}function Mo(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(i(108,z(e)||"Unknown",o));return B({},r,n)}function Bo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xo,Ro=wo.current,Io(wo,e),Io(Po,Po.current),!0}function Lo(e,t,r){var n=e.stateNode;if(!n)throw Error(i(169));r?(e=Mo(e,t,Ro),n.__reactInternalMemoizedMergedChildContext=e,Ao(Po),Ao(wo),Io(wo,e)):Ao(Po),Io(Po,r)}var Ko=null,Wo=!1,Ho=!1;function Go(e){null===Ko?Ko=[e]:Ko.push(e)}function zo(){if(!Ho&&null!==Ko){Ho=!0;var e=0,t=yt;try{var r=Ko;for(yt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Ko=null,Wo=!1}catch(t){throw null!==Ko&&(Ko=Ko.slice(e+1)),qe(Ze,zo),t}finally{yt=t,Ho=!1}}return null}var Uo=[],Vo=0,jo=null,qo=0,$o=[],Qo=0,Xo=null,Yo=1,Jo="";function Zo(e,t){Uo[Vo++]=qo,Uo[Vo++]=jo,jo=e,qo=t}function ei(e,t,r){$o[Qo++]=Yo,$o[Qo++]=Jo,$o[Qo++]=Xo,Xo=e;var n=Yo;e=Jo;var o=32-at(n)-1;n&=~(1<<o),r+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(n&(1<<a)-1).toString(32),n>>=a,o-=a,Yo=1<<32-at(t)+o|r<<o|n,Jo=i+e}else Yo=1<<i|r<<o|n,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ri(e){for(;e===jo;)jo=Uo[--Vo],Uo[Vo]=null,qo=Uo[--Vo],Uo[Vo]=null;for(;e===Xo;)Xo=$o[--Qo],$o[Qo]=null,Jo=$o[--Qo],$o[Qo]=null,Yo=$o[--Qo],$o[Qo]=null}var ni=null,oi=null,ii=!1,ai=null;function si(e,t){var r=Ru(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function li(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ni=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ni=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Xo?{id:Yo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Ru(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ni=e,oi=null,!0);default:return!1}}function ui(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var r=t;if(!li(e,t)){if(ui(e))throw Error(i(418));t=uo(r.nextSibling);var n=ni;t&&li(e,t)?si(n,r):(e.flags=-4097&e.flags|2,ii=!1,ni=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ni=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ni=e}function pi(e){if(e!==ni)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ro(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oi=null}}else oi=ni?uo(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=oi;e;)e=uo(e.nextSibling)}function gi(){oi=ni=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var fi=S.ReactCurrentBatchConfig;function vi(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(i(309));var n=r.stateNode}if(!n)throw Error(i(147,e));var o=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!r._owner)throw Error(i(290,e))}return e}function bi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yi(e){return(0,e._init)(e._payload)}function Si(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=_u(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Bu(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function u(e,t,r,n){var i=r.type;return i===k?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===D&&yi(i)===t.type)?((n=o(t,r.props)).ref=vi(e,t,r),n.return=e,n):((n=Nu(r.type,r.key,r.props,null,e.mode,n)).ref=vi(e,t,r),n.return=e,n)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Lu(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,i){return null===t||7!==t.tag?((t=Ou(r,e.mode,n,i)).return=e,t):((t=o(t,r)).return=e,t)}function p(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bu(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case C:return(r=Nu(t.type,t.key,t.props,null,e.mode,r)).ref=vi(e,null,t),r.return=e,r;case T:return(t=Lu(t,e.mode,r)).return=e,t;case D:return p(e,(0,t._init)(t._payload),r)}if(te(t)||O(t))return(t=Ou(t,e.mode,r,null)).return=e,t;bi(e,t)}return null}function h(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==o?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case C:return r.key===o?u(e,t,r,n):null;case T:return r.key===o?c(e,t,r,n):null;case D:return h(e,t,(o=r._init)(r._payload),n)}if(te(r)||O(r))return null!==o?null:d(e,t,r,n,null);bi(e,r)}return null}function g(e,t,r,n,o){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case C:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o);case T:return c(t,e=e.get(null===n.key?r:n.key)||null,n,o);case D:return g(e,t,r,(0,n._init)(n._payload),o)}if(te(n)||O(n))return d(t,e=e.get(r)||null,n,o,null);bi(t,n)}return null}function m(o,i,s,l){for(var u=null,c=null,d=i,m=i=0,f=null;null!==d&&m<s.length;m++){d.index>m?(f=d,d=null):f=d.sibling;var v=h(o,d,s[m],l);if(null===v){null===d&&(d=f);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=f}if(m===s.length)return r(o,d),ii&&Zo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=p(o,s[m],l))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Zo(o,m),u}for(d=n(o,d);m<s.length;m++)null!==(f=g(d,o,m,s[m],l))&&(e&&null!==f.alternate&&d.delete(null===f.key?m:f.key),i=a(f,i,m),null===c?u=f:c.sibling=f,c=f);return e&&d.forEach((function(e){return t(o,e)})),ii&&Zo(o,m),u}function f(o,s,l,u){var c=O(l);if("function"!=typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,m=s,f=s=0,v=null,b=l.next();null!==m&&!b.done;f++,b=l.next()){m.index>f?(v=m,m=null):v=m.sibling;var y=h(o,m,b.value,u);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(o,m),s=a(y,s,f),null===d?c=y:d.sibling=y,d=y,m=v}if(b.done)return r(o,m),ii&&Zo(o,f),c;if(null===m){for(;!b.done;f++,b=l.next())null!==(b=p(o,b.value,u))&&(s=a(b,s,f),null===d?c=b:d.sibling=b,d=b);return ii&&Zo(o,f),c}for(m=n(o,m);!b.done;f++,b=l.next())null!==(b=g(m,o,f,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?f:b.key),s=a(b,s,f),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(o,e)})),ii&&Zo(o,f),c}return function e(n,i,a,l){if("object"==typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case C:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===k){if(7===c.tag){r(n,c.sibling),(i=o(c,a.props.children)).return=n,n=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===D&&yi(u)===c.type){r(n,c.sibling),(i=o(c,a.props)).ref=vi(n,c,a),i.return=n,n=i;break e}r(n,c);break}t(n,c),c=c.sibling}a.type===k?((i=Ou(a.props.children,n.mode,l,a.key)).return=n,n=i):((l=Nu(a.type,a.key,a.props,null,n.mode,l)).ref=vi(n,i,a),l.return=n,n=l)}return s(n);case T:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){r(n,i.sibling),(i=o(i,a.children||[])).return=n,n=i;break e}r(n,i);break}t(n,i),i=i.sibling}(i=Lu(a,n.mode,l)).return=n,n=i}return s(n);case D:return e(n,i,(c=a._init)(a._payload),l)}if(te(a))return m(n,i,a,l);if(O(a))return f(n,i,a,l);bi(n,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(r(n,i.sibling),(i=o(i,a)).return=n,n=i):(r(n,i),(i=Bu(a,n.mode,l)).return=n,n=i),s(n)):r(n,i)}}var Ci=Si(!0),Ti=Si(!1),ki=Eo(null),Fi=null,Ei=null,Ai=null;function Ii(){Ai=Ei=Fi=null}function xi(e){var t=ki.current;Ao(ki),e._currentValue=t}function wi(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Pi(e,t){Fi=e,Ai=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ys=!0),e.firstContext=null)}function Ri(e){var t=e._currentValue;if(Ai!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===Fi)throw Error(i(308));Ei=e,Fi.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Di=null;function _i(e){null===Di?Di=[e]:Di.push(e)}function Ni(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,_i(t)):(r.next=o.next,o.next=r),t.interleaved=r,Oi(e,n)}function Oi(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Mi=!1;function Bi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ki(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wi(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&xl)){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Oi(e,r)}return null===(o=n.interleaved)?(t.next=t,_i(n)):(t.next=o.next,o.next=t),n.interleaved=t,Oi(e,r)}function Hi(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&r))){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,bt(e,r)}}function Gi(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?o=i=a:i=i.next=a,r=r.next}while(null!==r);null===i?o=i=t:i=i.next=t}else o=i=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function zi(e,t,r,n){var o=e.updateQueue;Mi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var p=s.lane,h=s.eventTime;if((n&p)===p){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,m=s;switch(p=t,h=r,m.tag){case 1:if("function"==typeof(g=m.payload)){d=g.call(h,d,p);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(p="function"==typeof(g=m.payload)?g.call(h,d,p):g))break e;d=B({},d,p);break e;case 2:Mi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ml|=a,e.lanes=a,e.memoizedState=d}}function Ui(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(i(191,o));o.call(n)}}}var Vi={},ji=Eo(Vi),qi=Eo(Vi),$i=Eo(Vi);function Qi(e){if(e===Vi)throw Error(i(174));return e}function Xi(e,t){switch(Io($i,t),Io(qi,e),Io(ji,Vi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ao(ji),Io(ji,t)}function Yi(){Ao(ji),Ao(qi),Ao($i)}function Ji(e){Qi($i.current);var t=Qi(ji.current),r=le(t,e.type);t!==r&&(Io(qi,e),Io(ji,r))}function Zi(e){qi.current===e&&(Ao(ji),Ao(qi))}var ea=Eo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=[];function na(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var oa=S.ReactCurrentDispatcher,ia=S.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ua=null,ca=!1,da=!1,pa=0,ha=0;function ga(){throw Error(i(321))}function ma(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function fa(e,t,r,n,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Za:es,e=r(n,o),da){a=0;do{if(da=!1,pa=0,25<=a)throw Error(i(301));a+=1,ua=la=null,t.updateQueue=null,oa.current=ts,e=r(n,o)}while(da)}if(oa.current=Ja,t=null!==la&&null!==la.next,aa=0,ua=la=sa=null,ca=!1,t)throw Error(i(300));return e}function va(){var e=0!==pa;return pa=0,e}function ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ua?sa.memoizedState=ua=e:ua=ua.next=e,ua}function ya(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ua?sa.memoizedState:ua.next;if(null!==t)ua=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ua?sa.memoizedState=ua=e:ua=ua.next=e}return ua}function Sa(e,t){return"function"==typeof t?t(e):t}function Ca(e){var t=ya(),r=t.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=e;var n=la,o=n.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}n.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,n=n.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((aa&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=p,s=n):u=u.next=p,sa.lanes|=d,Ml|=d}c=c.next}while(null!==c&&c!==a);null===u?s=n:u.next=l,sn(n,t.memoizedState)||(ys=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=u,r.lastRenderedState=n}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Ml|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Ta(e){var t=ya(),r=t.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sn(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function ka(){}function Fa(e,t){var r=sa,n=ya(),o=t(),a=!sn(n.memoizedState,o);if(a&&(n.memoizedState=o,ys=!0),n=n.queue,Ma(Ia.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==ua&&1&ua.memoizedState.tag){if(r.flags|=2048,Ra(9,Aa.bind(null,r,n,o,t),void 0,null),null===wl)throw Error(i(349));0!=(30&aa)||Ea(r,t,o)}return o}function Ea(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Aa(e,t,r,n){t.value=r,t.getSnapshot=n,xa(t)&&wa(e)}function Ia(e,t,r){return r((function(){xa(t)&&wa(e)}))}function xa(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!sn(e,r)}catch(e){return!0}}function wa(e){var t=Oi(e,1);null!==t&&ru(t,e,1,-1)}function Pa(e){var t=ba();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:e},t.queue=e,e=e.dispatch=$a.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Da(){return ya().memoizedState}function _a(e,t,r,n){var o=ba();sa.flags|=e,o.memoizedState=Ra(1|t,r,void 0,void 0===n?null:n)}function Na(e,t,r,n){var o=ya();n=void 0===n?null:n;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==n&&ma(n,a.deps))return void(o.memoizedState=Ra(t,r,i,n))}sa.flags|=e,o.memoizedState=Ra(1|t,r,i,n)}function Oa(e,t){return _a(8390656,8,e,t)}function Ma(e,t){return Na(2048,8,e,t)}function Ba(e,t){return Na(4,2,e,t)}function La(e,t){return Na(4,4,e,t)}function Ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Wa(e,t,r){return r=null!=r?r.concat([e]):null,Na(4,4,Ka.bind(null,t,e),r)}function Ha(){}function Ga(e,t){var r=ya();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ma(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function za(e,t){var r=ya();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ma(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Ua(e,t,r){return 0==(21&aa)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=r):(sn(r,t)||(r=mt(),sa.lanes|=r,Ml|=r,e.baseState=!0),t)}function Va(e,t){var r=yt;yt=0!==r&&4>r?r:4,e(!0);var n=ia.transition;ia.transition={};try{e(!1),t()}finally{yt=r,ia.transition=n}}function ja(){return ya().memoizedState}function qa(e,t,r){var n=tu(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Qa(e)?Xa(t,r):null!==(r=Ni(e,t,r,n))&&(ru(r,e,n,eu()),Ya(r,t,n))}function $a(e,t,r){var n=tu(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Xa(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,sn(s,a)){var l=t.interleaved;return null===l?(o.next=o,_i(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(r=Ni(e,t,o,n))&&(ru(r,e,n,o=eu()),Ya(r,t,n))}}function Qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Xa(e,t){da=ca=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Ya(e,t,r){if(0!=(4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,bt(e,r)}}var Ja={readContext:Ri,useCallback:ga,useContext:ga,useEffect:ga,useImperativeHandle:ga,useInsertionEffect:ga,useLayoutEffect:ga,useMemo:ga,useReducer:ga,useRef:ga,useState:ga,useDebugValue:ga,useDeferredValue:ga,useTransition:ga,useMutableSource:ga,useSyncExternalStore:ga,useId:ga,unstable_isNewReconciler:!1},Za={readContext:Ri,useCallback:function(e,t){return ba().memoizedState=[e,void 0===t?null:t],e},useContext:Ri,useEffect:Oa,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,_a(4194308,4,Ka.bind(null,t,e),r)},useLayoutEffect:function(e,t){return _a(4194308,4,e,t)},useInsertionEffect:function(e,t){return _a(4,2,e,t)},useMemo:function(e,t){var r=ba();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ba();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=qa.bind(null,sa,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},ba().memoizedState=e},useState:Pa,useDebugValue:Ha,useDeferredValue:function(e){return ba().memoizedState=e},useTransition:function(){var e=Pa(!1),t=e[0];return e=Va.bind(null,e[1]),ba().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=sa,o=ba();if(ii){if(void 0===r)throw Error(i(407));r=r()}else{if(r=t(),null===wl)throw Error(i(349));0!=(30&aa)||Ea(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Oa(Ia.bind(null,n,a,e),[e]),n.flags|=2048,Ra(9,Aa.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=ba(),t=wl.identifierPrefix;if(ii){var r=Jo;t=":"+t+"R"+(r=(Yo&~(1<<32-at(Yo)-1)).toString(32)+r),0<(r=pa++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ri,useCallback:Ga,useContext:Ri,useEffect:Ma,useImperativeHandle:Wa,useInsertionEffect:Ba,useLayoutEffect:La,useMemo:za,useReducer:Ca,useRef:Da,useState:function(){return Ca(Sa)},useDebugValue:Ha,useDeferredValue:function(e){return Ua(ya(),la.memoizedState,e)},useTransition:function(){return[Ca(Sa)[0],ya().memoizedState]},useMutableSource:ka,useSyncExternalStore:Fa,useId:ja,unstable_isNewReconciler:!1},ts={readContext:Ri,useCallback:Ga,useContext:Ri,useEffect:Ma,useImperativeHandle:Wa,useInsertionEffect:Ba,useLayoutEffect:La,useMemo:za,useReducer:Ta,useRef:Da,useState:function(){return Ta(Sa)},useDebugValue:Ha,useDeferredValue:function(e){var t=ya();return null===la?t.memoizedState=e:Ua(t,la.memoizedState,e)},useTransition:function(){return[Ta(Sa)[0],ya().memoizedState]},useMutableSource:ka,useSyncExternalStore:Fa,useId:ja,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=B({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ns(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:B({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=eu(),o=tu(e),i=Ki(n,o);i.payload=t,null!=r&&(i.callback=r),null!==(t=Wi(e,i,o))&&(ru(t,e,o,n),Hi(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=eu(),o=tu(e),i=Ki(n,o);i.tag=1,i.payload=t,null!=r&&(i.callback=r),null!==(t=Wi(e,i,o))&&(ru(t,e,o,n),Hi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=eu(),n=tu(e),o=Ki(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=Wi(e,o,n))&&(ru(t,e,n,r),Hi(t,e,n))}};function is(e,t,r,n,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&ln(r,n)&&ln(o,i))}function as(e,t,r){var n=!1,o=xo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ri(i):(o=_o(t)?Ro:wo.current,i=(n=null!=(n=t.contextTypes))?Do(e,o):xo),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Bi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ri(i):(i=_o(t)?Ro:wo.current,o.context=Do(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ns(e,t,i,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),zi(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function us(e,t){try{var r="",n=t;do{r+=H(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cs(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,r){(r=Ki(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Ul||(Ul=!0,Vl=n),ds(0,t)},r}function gs(e,t,r){(r=Ki(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===jl?jl=new Set([this]):jl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ms(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new ps;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=Eu.bind(null,e,t,r),t.then(e,e))}function fs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,r,n,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Ki(-1,1)).tag=2,Wi(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bs=S.ReactCurrentOwner,ys=!1;function Ss(e,t,r,n){t.child=null===e?Ti(t,null,r,n):Ci(t,e.child,r,n)}function Cs(e,t,r,n,o){r=r.render;var i=t.ref;return Pi(t,o),n=fa(e,t,r,n,i,o),r=va(),null===e||ys?(ii&&r&&ti(t),t.flags|=1,Ss(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Us(e,t,o))}function Ts(e,t,r,n,o){if(null===e){var i=r.type;return"function"!=typeof i||Du(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Nu(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,ks(e,t,i,n,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(a,n)&&e.ref===t.ref)return Us(e,t,o)}return t.flags|=1,(e=_u(i,n)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,r,n,o){if(null!==e){var i=e.memoizedProps;if(ln(i,n)&&e.ref===t.ref){if(ys=!1,t.pendingProps=n=i,0==(e.lanes&o))return t.lanes=e.lanes,Us(e,t,o);0!=(131072&e.flags)&&(ys=!0)}}return As(e,t,r,n,o)}function Fs(e,t,r){var n=t.pendingProps,o=n.children,i=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Io(_l,Dl),Dl|=r;else{if(0==(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Io(_l,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==i?i.baseLanes:r,Io(_l,Dl),Dl|=n}else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,Io(_l,Dl),Dl|=n;return Ss(e,t,o,r),t.child}function Es(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,r,n,o){var i=_o(r)?Ro:wo.current;return i=Do(t,i),Pi(t,o),r=fa(e,t,r,n,i,o),n=va(),null===e||ys?(ii&&n&&ti(t),t.flags|=1,Ss(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Us(e,t,o))}function Is(e,t,r,n,o){if(_o(r)){var i=!0;Bo(t)}else i=!1;if(Pi(t,o),null===t.stateNode)zs(e,t),as(t,r,n),ls(t,r,n,o),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=r.contextType;u="object"==typeof u&&null!==u?Ri(u):Do(t,u=_o(r)?Ro:wo.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==u)&&ss(t,a,n,u),Mi=!1;var p=t.memoizedState;a.state=p,zi(t,n,a,o),l=t.memoizedState,s!==n||p!==l||Po.current||Mi?("function"==typeof c&&(ns(t,r,c,n),l=t.memoizedState),(s=Mi||is(t,r,s,n,p,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=u,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,Li(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:rs(t.type,s),a.props=u,d=t.pendingProps,p=a.context,l="object"==typeof(l=r.contextType)&&null!==l?Ri(l):Do(t,l=_o(r)?Ro:wo.current);var h=r.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&ss(t,a,n,l),Mi=!1,p=t.memoizedState,a.state=p,zi(t,n,a,o);var g=t.memoizedState;s!==d||p!==g||Po.current||Mi?("function"==typeof h&&(ns(t,r,h,n),g=t.memoizedState),(u=Mi||is(t,r,u,n,p,g,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,g,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,g,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),a.props=n,a.state=g,a.context=l,n=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return xs(e,t,r,n,i,o)}function xs(e,t,r,n,o,i){Es(e,t);var a=0!=(128&t.flags);if(!n&&!a)return o&&Lo(t,r,!1),Us(e,t,i);n=t.stateNode,bs.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=Ci(t,e.child,null,i),t.child=Ci(t,null,s,i)):Ss(e,t,s,i),t.memoizedState=n.state,o&&Lo(t,r,!0),t.child}function ws(e){var t=e.stateNode;t.pendingContext?Oo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oo(0,t.context,!1),Xi(e,t.containerInfo)}function Ps(e,t,r,n,o){return gi(),mi(o),t.flags|=256,Ss(e,t,r,n),t.child}var Rs,Ds,_s,Ns,Os={dehydrated:null,treeContext:null,retryLane:0};function Ms(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,r){var n,o=t.pendingProps,a=ea.current,s=!1,l=0!=(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&0!=(2&a)),n?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Io(ea,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Mu(l,o,0,null),e=Ou(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ms(r),t.memoizedState=Os,e):Ls(t,l));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return function(e,t,r,n,o,a,s){if(r)return 256&t.flags?(t.flags&=-257,Ks(e,t,s,n=cs(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=Mu({mode:"visible",children:n.children},o,0,null),(a=Ou(a,o,s,null)).flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,0!=(1&t.mode)&&Ci(t,e.child,null,s),t.child.memoizedState=Ms(s),t.memoizedState=Os,a);if(0==(1&t.mode))return Ks(e,t,s,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var l=n.dgst;return n=l,Ks(e,t,s,n=cs(a=Error(i(419)),n,void 0))}if(l=0!=(s&e.childLanes),ys||l){if(null!==(n=wl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(n.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Oi(e,o),ru(n,e,o,-1))}return mu(),Ks(e,t,s,n=cs(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Iu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ni=t,ii=!0,ai=null,null!==e&&($o[Qo++]=Yo,$o[Qo++]=Jo,$o[Qo++]=Xo,Yo=e.id,Jo=e.overflow,Xo=t),(t=Ls(t,n.children)).flags|=4096,t)}(e,t,l,o,n,a,r);if(s){s=o.fallback,l=t.mode,n=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=_u(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==n?s=_u(n,s):(s=Ou(s,l,r,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Ms(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Os,o}return e=(s=e.child).sibling,o=_u(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Ls(e,t){return(t=Mu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ks(e,t,r,n){return null!==n&&mi(n),Ci(t,e.child,null,r),(e=Ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ws(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),wi(e.return,t,r)}function Hs(e,t,r,n,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function Gs(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Ss(e,t,n.children,r),0!=(2&(n=ea.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ws(e,r,t);else if(19===e.tag)Ws(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Io(ea,n),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===ta(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Hs(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Hs(t,!0,r,null,i);break;case"together":Hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Us(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ml|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(r=_u(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=_u(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Vs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function js(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function qs(e,t,r){var n=t.pendingProps;switch(ri(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return js(t),null;case 1:case 17:return _o(t.type)&&No(),js(t),null;case 3:return n=t.stateNode,Yi(),Ao(Po),Ao(wo),na(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ai&&(au(ai),ai=null))),Ds(e,t),js(t),null;case 5:Zi(t);var o=Qi($i.current);if(r=t.type,null!==e&&null!=t.stateNode)_s(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(i(166));return js(t),null}if(e=Qi(ji.current),pi(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[ho]=t,n[go]=a,e=0!=(1&t.mode),r){case"dialog":Kn("cancel",n),Kn("close",n);break;case"iframe":case"object":case"embed":Kn("load",n);break;case"video":case"audio":for(o=0;o<On.length;o++)Kn(On[o],n);break;case"source":Kn("error",n);break;case"img":case"image":case"link":Kn("error",n),Kn("load",n);break;case"details":Kn("toggle",n);break;case"input":X(n,a),Kn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Kn("invalid",n);break;case"textarea":oe(n,a),Kn("invalid",n)}for(var l in be(r,a),o=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"==typeof u?n.textContent!==u&&(!0!==a.suppressHydrationWarning&&Jn(n.textContent,u,e),o=["children",u]):"number"==typeof u&&n.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Jn(n.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Kn("scroll",n)}switch(r){case"input":j(n),Z(n,a,!0);break;case"textarea":j(n),ae(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=Zn)}n=o,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[ho]=t,e[go]=n,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(r,n),r){case"dialog":Kn("cancel",e),Kn("close",e),o=n;break;case"iframe":case"object":case"embed":Kn("load",e),o=n;break;case"video":case"audio":for(o=0;o<On.length;o++)Kn(On[o],e);o=n;break;case"source":Kn("error",e),o=n;break;case"img":case"image":case"link":Kn("error",e),Kn("load",e),o=n;break;case"details":Kn("toggle",e),o=n;break;case"input":X(e,n),o=Q(e,n),Kn("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=B({},n,{value:void 0}),Kn("invalid",e);break;case"textarea":oe(e,n),o=ne(e,n),Kn("invalid",e)}for(a in be(r,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?fe(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==r||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Kn("scroll",e):null!=c&&y(e,a,c,l))}switch(r){case"input":j(e),Z(e,n,!1);break;case"textarea":j(e),ae(e);break;case"option":null!=n.value&&e.setAttribute("value",""+U(n.value));break;case"select":e.multiple=!!n.multiple,null!=(a=n.value)?re(e,!!n.multiple,a,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return js(t),null;case 6:if(e&&null!=t.stateNode)Ns(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(i(166));if(r=Qi($i.current),Qi(ji.current),pi(t)){if(n=t.stateNode,r=t.memoizedProps,n[ho]=t,(a=n.nodeValue!==r)&&null!==(e=ni))switch(e.tag){case 3:Jn(n.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jn(n.nodeValue,r,0!=(1&e.mode))}a&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[ho]=t,t.stateNode=n}return js(t),null;case 13:if(Ao(ea),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!=(1&t.mode)&&0==(128&t.flags))hi(),gi(),t.flags|=98560,a=!1;else if(a=pi(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[ho]=t}else gi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;js(t),a=!1}else null!==ai&&(au(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ea.current)?0===Nl&&(Nl=3):mu())),null!==t.updateQueue&&(t.flags|=4),js(t),null);case 4:return Yi(),Ds(e,t),null===e&&Gn(t.stateNode.containerInfo),js(t),null;case 10:return xi(t.type._context),js(t),null;case 19:if(Ao(ea),null===(a=t.memoizedState))return js(t),null;if(n=0!=(128&t.flags),null===(l=a.rendering))if(n)Vs(a,!1);else{if(0!==Nl||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Vs(a,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(a=r).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Io(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ye()>Gl&&(t.flags|=128,n=!0,Vs(a,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=ta(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Vs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return js(t),null}else 2*Ye()-a.renderingStartTime>Gl&&1073741824!==r&&(t.flags|=128,n=!0,Vs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=a.last)?r.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,r=ea.current,Io(ea,n?1&r|2:1&r),t):(js(t),null);case 22:case 23:return du(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&Dl)&&(js(t),6&t.subtreeFlags&&(t.flags|=8192)):js(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function $s(e,t){switch(ri(t),t.tag){case 1:return _o(t.type)&&No(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yi(),Ao(Po),Ao(wo),na(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(Ao(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));gi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ao(ea),null;case 4:return Yi(),null;case 10:return xi(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Rs=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ds=function(){},_s=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Qi(ji.current);var i,a=null;switch(r){case"input":o=Q(e,o),n=Q(e,n),a=[];break;case"select":o=B({},o,{value:void 0}),n=B({},n,{value:void 0}),a=[];break;case"textarea":o=ne(e,o),n=ne(e,n),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=Zn)}for(c in be(r,n),r=null,o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var u=n[c];if(l=null!=o?o[c]:void 0,n.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(r||(r={}),r[i]=u[i])}else r||(a||(a=[]),a.push(c,r)),r=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Kn("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ns=function(e,t,r,n){r!==n&&(t.flags|=4)};var Qs=!1,Xs=!1,Ys="function"==typeof WeakSet?WeakSet:Set,Js=null;function Zs(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){Fu(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Fu(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,r,i)}o=o.next}while(o!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ol(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[ho],delete t[go],delete t[fo],delete t[vo],delete t[bo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Zn));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function ul(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ul(e,t,r),e=e.sibling;null!==e;)ul(e,t,r),e=e.sibling}var cl=null,dl=!1;function pl(e,t,r){for(r=r.child;null!==r;)hl(e,t,r),r=r.sibling}function hl(e,t,r){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,r)}catch(e){}switch(r.tag){case 5:Xs||Zs(r,t);case 6:var n=cl,o=dl;cl=null,pl(e,t,r),dl=o,null!==(cl=n)&&(dl?(e=cl,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):cl.removeChild(r.stateNode));break;case 18:null!==cl&&(dl?(e=cl,r=r.stateNode,8===e.nodeType?lo(e.parentNode,r):1===e.nodeType&&lo(e,r),Gt(e)):lo(cl,r.stateNode));break;case 4:n=cl,o=dl,cl=r.stateNode.containerInfo,dl=!0,pl(e,t,r),cl=n,dl=o;break;case 0:case 11:case 14:case 15:if(!Xs&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&el(r,t,a),o=o.next}while(o!==n)}pl(e,t,r);break;case 1:if(!Xs&&(Zs(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){Fu(r,t,e)}pl(e,t,r);break;case 21:pl(e,t,r);break;case 22:1&r.mode?(Xs=(n=Xs)||null!==r.memoizedState,pl(e,t,r),Xs=n):pl(e,t,r);break;default:pl(e,t,r)}}function gl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Ys),t.forEach((function(t){var n=xu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function ml(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var o=r[n];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(i(160));hl(a,s,o),cl=null,dl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Fu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)fl(t,e),t=t.sibling}function fl(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&n){try{rl(3,e,e.return),nl(3,e)}catch(t){Fu(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Fu(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&n&&null!==r&&Zs(r,r.return);break;case 5:if(ml(t,e),vl(e),512&n&&null!==r&&Zs(r,r.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(t){Fu(e,e.return,t)}}if(4&n&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==r?r.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&Y(o,a),ye(l,s);var c=ye(l,a);for(s=0;s<u.length;s+=2){var d=u[s],p=u[s+1];"style"===d?fe(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):y(o,d,p,c)}switch(l){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var g=a.value;null!=g?re(o,!!a.multiple,g,!1):h!==!!a.multiple&&(null!=a.defaultValue?re(o,!!a.multiple,a.defaultValue,!0):re(o,!!a.multiple,a.multiple?[]:"",!1))}o[go]=a}catch(t){Fu(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&n){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Fu(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Gt(t.containerInfo)}catch(t){Fu(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Hl=Ye())),4&n&&gl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Xs=(c=Xs)||d,ml(t,e),Xs=c):ml(t,e),vl(e),8192&n){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Js=e,d=e.child;null!==d;){for(p=Js=d;null!==Js;){switch(g=(h=Js).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:Zs(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){n=h,r=h.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Fu(n,r,e)}}break;case 5:Zs(h,h.return);break;case 22:if(null!==h.memoizedState){Cl(p);continue}}null!==g?(g.return=h,Js=g):Cl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,s=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(t){Fu(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){Fu(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:ml(t,e),vl(e),4&n&&gl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(al(r)){var n=r;break e}r=r.return}throw Error(i(160))}switch(n.tag){case 5:var o=n.stateNode;32&n.flags&&(pe(o,""),n.flags&=-33),ul(e,sl(e),o);break;case 3:case 4:var a=n.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(t){Fu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,r){Js=e,yl(e,t,r)}function yl(e,t,r){for(var n=0!=(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&n){var a=null!==o.memoizedState||Qs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Xs;s=Qs;var u=Xs;if(Qs=a,(Xs=l)&&!u)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?Tl(o):null!==l?(l.return=a,Js=l):Tl(o);for(;null!==i;)Js=i,yl(i,t,r),i=i.sibling;Js=o,Qs=s,Xs=u}Sl(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Js=i):Sl(e)}}function Sl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xs||nl(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Xs)if(null===r)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:rs(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ui(t,a,n);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ui(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Gt(p)}}}break;default:throw Error(i(163))}Xs||512&t.flags&&ol(t)}catch(e){Fu(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(r=t.sibling)){r.return=t.return,Js=r;break}Js=t.return}}function Cl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Js=r;break}Js=t.return}}function Tl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){Fu(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){Fu(t,o,e)}}var i=t.return;try{ol(t)}catch(e){Fu(t,i,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){Fu(t,a,e)}}}catch(e){Fu(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var kl,Fl=Math.ceil,El=S.ReactCurrentDispatcher,Al=S.ReactCurrentOwner,Il=S.ReactCurrentBatchConfig,xl=0,wl=null,Pl=null,Rl=0,Dl=0,_l=Eo(0),Nl=0,Ol=null,Ml=0,Bl=0,Ll=0,Kl=null,Wl=null,Hl=0,Gl=1/0,zl=null,Ul=!1,Vl=null,jl=null,ql=!1,$l=null,Ql=0,Xl=0,Yl=null,Jl=-1,Zl=0;function eu(){return 0!=(6&xl)?Ye():-1!==Jl?Jl:Jl=Ye()}function tu(e){return 0==(1&e.mode)?1:0!=(2&xl)&&0!==Rl?Rl&-Rl:null!==fi.transition?(0===Zl&&(Zl=mt()),Zl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ru(e,t,r,n){if(50<Xl)throw Xl=0,Yl=null,Error(i(185));vt(e,r,n),0!=(2&xl)&&e===wl||(e===wl&&(0==(2&xl)&&(Bl|=r),4===Nl&&su(e,Rl)),nu(e,n),1===r&&0===xl&&0==(1&t.mode)&&(Gl=Ye()+500,Wo&&zo()))}function nu(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!=(s&r)&&0==(s&n)||(o[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var n=pt(e,e===wl?Rl:0);if(0===n)null!==r&&$e(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&$e(r),1===t)0===e.tag?function(e){Wo=!0,Go(e)}(lu.bind(null,e)):Go(lu.bind(null,e)),ao((function(){0==(6&xl)&&zo()})),r=null;else{switch(St(n)){case 1:r=Ze;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=wu(r,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ou(e,t){if(Jl=-1,Zl=0,0!=(6&xl))throw Error(i(327));var r=e.callbackNode;if(Tu()&&e.callbackNode!==r)return null;var n=pt(e,e===wl?Rl:0);if(0===n)return null;if(0!=(30&n)||0!=(n&e.expiredLanes)||t)t=fu(e,n);else{t=n;var o=xl;xl|=2;var a=gu();for(wl===e&&Rl===t||(zl=null,Gl=Ye()+500,pu(e,t));;)try{bu();break}catch(t){hu(e,t)}Ii(),El.current=a,xl=o,null!==Pl?t=0:(wl=null,Rl=0,t=Nl)}if(0!==t){if(2===t&&0!==(o=gt(e))&&(n=o,t=iu(e,o)),1===t)throw r=Ol,pu(e,0),su(e,n),nu(e,Ye()),r;if(6===t)su(e,n);else{if(o=e.current.alternate,0==(30&n)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!sn(i(),o))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=fu(e,n))&&0!==(a=gt(e))&&(n=a,t=iu(e,a)),1===t))throw r=Ol,pu(e,0),su(e,n),nu(e,Ye()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(i(345));case 2:case 5:Cu(e,Wl,zl);break;case 3:if(su(e,n),(130023424&n)===n&&10<(t=Hl+500-Ye())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){eu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=no(Cu.bind(null,e,Wl,zl),t);break}Cu(e,Wl,zl);break;case 4:if(su(e,n),(4194240&n)===n)break;for(t=e.eventTimes,o=-1;0<n;){var s=31-at(n);a=1<<s,(s=t[s])>o&&(o=s),n&=~a}if(n=o,10<(n=(120>(n=Ye()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Fl(n/1960))-n)){e.timeoutHandle=no(Cu.bind(null,e,Wl,zl),n);break}Cu(e,Wl,zl);break;default:throw Error(i(329))}}}return nu(e,Ye()),e.callbackNode===r?ou.bind(null,e):null}function iu(e,t){var r=Kl;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=fu(e,t))&&(t=Wl,Wl=r,null!==t&&au(t)),e}function au(e){null===Wl?Wl=e:Wl.push.apply(Wl,e)}function su(e,t){for(t&=~Ll,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-at(t),n=1<<r;e[r]=-1,t&=~n}}function lu(e){if(0!=(6&xl))throw Error(i(327));Tu();var t=pt(e,0);if(0==(1&t))return nu(e,Ye()),null;var r=fu(e,t);if(0!==e.tag&&2===r){var n=gt(e);0!==n&&(t=n,r=iu(e,n))}if(1===r)throw r=Ol,pu(e,0),su(e,t),nu(e,Ye()),r;if(6===r)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Cu(e,Wl,zl),nu(e,Ye()),null}function uu(e,t){var r=xl;xl|=1;try{return e(t)}finally{0===(xl=r)&&(Gl=Ye()+500,Wo&&zo())}}function cu(e){null!==$l&&0===$l.tag&&0==(6&xl)&&Tu();var t=xl;xl|=1;var r=Il.transition,n=yt;try{if(Il.transition=null,yt=1,e)return e()}finally{yt=n,Il.transition=r,0==(6&(xl=t))&&zo()}}function du(){Dl=_l.current,Ao(_l)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,oo(r)),null!==Pl)for(r=Pl.return;null!==r;){var n=r;switch(ri(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&No();break;case 3:Yi(),Ao(Po),Ao(wo),na();break;case 5:Zi(n);break;case 4:Yi();break;case 13:case 19:Ao(ea);break;case 10:xi(n.type._context);break;case 22:case 23:du()}r=r.return}if(wl=e,Pl=e=_u(e.current,null),Rl=Dl=t,Nl=0,Ol=null,Ll=Bl=Ml=0,Wl=Kl=null,null!==Di){for(t=0;t<Di.length;t++)if(null!==(n=(r=Di[t]).interleaved)){r.interleaved=null;var o=n.next,i=r.pending;if(null!==i){var a=i.next;i.next=o,n.next=a}r.pending=n}Di=null}return e}function hu(e,t){for(;;){var r=Pl;try{if(Ii(),oa.current=Ja,ca){for(var n=sa.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}ca=!1}if(aa=0,ua=la=sa=null,da=!1,pa=0,Al.current=null,null===r||null===r.return){Nl=1,Ol=t,Pl=null;break}e:{var a=e,s=r.return,l=r,u=t;if(t=Rl,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=fs(s);if(null!==g){g.flags&=-257,vs(g,s,l,0,t),1&g.mode&&ms(a,c,t),u=c;var m=(t=g).updateQueue;if(null===m){var f=new Set;f.add(u),t.updateQueue=f}else m.add(u);break e}if(0==(1&t)){ms(a,c,t),mu();break e}u=Error(i(426))}else if(ii&&1&l.mode){var v=fs(s);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mi(us(u,l));break e}}a=u=us(u,l),4!==Nl&&(Nl=2),null===Kl?Kl=[a]:Kl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Gi(a,hs(0,u,t));break e;case 1:l=u;var b=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===jl||!jl.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Gi(a,gs(a,l,t));break e}}a=a.return}while(null!==a)}Su(r)}catch(e){t=e,Pl===r&&null!==r&&(Pl=r=r.return);continue}break}}function gu(){var e=El.current;return El.current=Ja,null===e?Ja:e}function mu(){0!==Nl&&3!==Nl&&2!==Nl||(Nl=4),null===wl||0==(268435455&Ml)&&0==(268435455&Bl)||su(wl,Rl)}function fu(e,t){var r=xl;xl|=2;var n=gu();for(wl===e&&Rl===t||(zl=null,pu(e,t));;)try{vu();break}catch(t){hu(e,t)}if(Ii(),xl=r,El.current=n,null!==Pl)throw Error(i(261));return wl=null,Rl=0,Nl}function vu(){for(;null!==Pl;)yu(Pl)}function bu(){for(;null!==Pl&&!Qe();)yu(Pl)}function yu(e){var t=kl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?Su(e):Pl=t,Al.current=null}function Su(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(r=qs(r,t,Dl)))return void(Pl=r)}else{if(null!==(r=$s(r,t)))return r.flags&=32767,void(Pl=r);if(null===e)return Nl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Nl&&(Nl=5)}function Cu(e,t,r){var n=yt,o=Il.transition;try{Il.transition=null,yt=1,function(e,t,r,n){do{Tu()}while(null!==$l);if(0!=(6&xl))throw Error(i(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-at(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}(e,a),e===wl&&(Pl=wl=null,Rl=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||ql||(ql=!0,wu(tt,(function(){return Tu(),null}))),a=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||a){a=Il.transition,Il.transition=null;var s=yt;yt=1;var l=xl;xl|=4,Al.current=null,function(e,t){if(eo=Ut,hn(e=pn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var s=0,l=-1,u=-1,c=0,d=0,p=e,h=null;t:for(;;){for(var g;p!==r||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==n&&3!==p.nodeType||(u=s+n),3===p.nodeType&&(s+=p.nodeValue.length),null!==(g=p.firstChild);)h=p,p=g;for(;;){if(p===e)break t;if(h===r&&++c===o&&(l=s),h===a&&++d===n&&(u=s),null!==(g=p.nextSibling))break;h=(p=h).parentNode}p=g}r=-1===l||-1===u?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(to={focusedElem:e,selectionRange:r},Ut=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var f=m.memoizedProps,v=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?f:rs(t.type,f),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var S=t.stateNode.containerInfo;1===S.nodeType?S.textContent="":9===S.nodeType&&S.documentElement&&S.removeChild(S.documentElement);break;default:throw Error(i(163))}}catch(e){Fu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=tl,tl=!1}(e,r),fl(r,e),gn(to),Ut=!!eo,to=eo=null,e.current=r,bl(r,e,o),Xe(),xl=l,yt=s,Il.transition=a}else e.current=r;if(ql&&(ql=!1,$l=e,Ql=o),0===(a=e.pendingLanes)&&(jl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),nu(e,Ye()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Ul)throw Ul=!1,e=Vl,Vl=null,e;0!=(1&Ql)&&0!==e.tag&&Tu(),0!=(1&(a=e.pendingLanes))?e===Yl?Xl++:(Xl=0,Yl=e):Xl=0,zo()}(e,t,r,n)}finally{Il.transition=o,yt=n}return null}function Tu(){if(null!==$l){var e=St(Ql),t=Il.transition,r=yt;try{if(Il.transition=null,yt=16>e?16:e,null===$l)var n=!1;else{if(e=$l,$l=null,Ql=0,0!=(6&xl))throw Error(i(331));var o=xl;for(xl|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!=(16&Js.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var p=d.child;if(null!==p)p.return=d,Js=p;else for(;null!==Js;){var h=(d=Js).sibling,g=d.return;if(il(d),d===c){Js=null;break}if(null!==h){h.return=g,Js=h;break}Js=g}}}var m=a.alternate;if(null!==m){var f=m.child;if(null!==f){m.child=null;do{var v=f.sibling;f.sibling=null,f=v}while(null!==f)}}Js=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!=(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Js=b;break e}Js=a.return}}var y=e.current;for(Js=y;null!==Js;){var S=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==S)S.return=s,Js=S;else e:for(s=y;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Fu(l,l.return,e)}if(l===s){Js=null;break e}var C=l.sibling;if(null!==C){C.return=l.return,Js=C;break e}Js=l.return}}if(xl=o,zo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}n=!0}return n}finally{yt=r,Il.transition=t}}return!1}function ku(e,t,r){e=Wi(e,t=hs(0,t=us(r,t),1),1),t=eu(),null!==e&&(vt(e,1,t),nu(e,t))}function Fu(e,t,r){if(3===e.tag)ku(e,e,r);else for(;null!==t;){if(3===t.tag){ku(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===jl||!jl.has(n))){t=Wi(t,e=gs(t,e=us(r,e),1),1),e=eu(),null!==t&&(vt(t,1,e),nu(t,e));break}}t=t.return}}function Eu(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&r,wl===e&&(Rl&r)===r&&(4===Nl||3===Nl&&(130023424&Rl)===Rl&&500>Ye()-Hl?pu(e,0):Ll|=r),nu(e,t)}function Au(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var r=eu();null!==(e=Oi(e,t))&&(vt(e,t,r),nu(e,r))}function Iu(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Au(e,r)}function xu(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(i(314))}null!==n&&n.delete(t),Au(e,r)}function wu(e,t){return qe(e,t)}function Pu(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ru(e,t,r,n){return new Pu(e,t,r,n)}function Du(e){return!(!(e=e.prototype)||!e.isReactComponent)}function _u(e,t){var r=e.alternate;return null===r?((r=Ru(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Nu(e,t,r,n,o,a){var s=2;if(n=e,"function"==typeof e)Du(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Ou(r.children,o,a,t);case F:s=8,o|=8;break;case E:return(e=Ru(12,r,t,2|o)).elementType=E,e.lanes=a,e;case w:return(e=Ru(13,r,t,o)).elementType=w,e.lanes=a,e;case P:return(e=Ru(19,r,t,o)).elementType=P,e.lanes=a,e;case _:return Mu(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case A:s=10;break e;case I:s=9;break e;case x:s=11;break e;case R:s=14;break e;case D:s=16,n=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ru(s,r,t,o)).elementType=e,t.type=n,t.lanes=a,t}function Ou(e,t,r,n){return(e=Ru(7,e,n,t)).lanes=r,e}function Mu(e,t,r,n){return(e=Ru(22,e,n,t)).elementType=_,e.lanes=r,e.stateNode={isHidden:!1},e}function Bu(e,t,r){return(e=Ru(6,e,null,t)).lanes=r,e}function Lu(e,t,r){return(t=Ru(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ku(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ft(0),this.expirationTimes=ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ft(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wu(e,t,r,n,o,i,a,s,l){return e=new Ku(e,t,r,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ru(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bi(i),e}function Hu(e){if(!e)return xo;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_o(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var r=e.type;if(_o(r))return Mo(e,r,t)}return t}function Gu(e,t,r,n,o,i,a,s,l){return(e=Wu(r,n,!0,e,0,i,0,s,l)).context=Hu(null),r=e.current,(i=Ki(n=eu(),o=tu(r))).callback=null!=t?t:null,Wi(r,i,o),e.current.lanes=o,vt(e,o,n),nu(e,n),e}function zu(e,t,r,n){var o=t.current,i=eu(),a=tu(o);return r=Hu(r),null===t.context?t.context=r:t.pendingContext=r,(t=Ki(i,a)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Wi(o,t,a))&&(ru(e,o,a,i),Hi(e,o,a)),a}function Uu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function ju(e,t){Vu(e,t),(e=e.alternate)&&Vu(e,t)}kl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)ys=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return ys=!1,function(e,t,r){switch(t.tag){case 3:ws(t),gi();break;case 5:Ji(t);break;case 1:_o(t.type)&&Bo(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Io(ki,n._currentValue),n._currentValue=o;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Io(ea,1&ea.current),t.flags|=128,null):0!=(r&t.child.childLanes)?Bs(e,t,r):(Io(ea,1&ea.current),null!==(e=Us(e,t,r))?e.sibling:null);Io(ea,1&ea.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(128&e.flags)){if(n)return Gs(e,t,r);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Io(ea,ea.current),n)break;return null;case 22:case 23:return t.lanes=0,Fs(e,t,r)}return Us(e,t,r)}(e,t,r);ys=0!=(131072&e.flags)}else ys=!1,ii&&0!=(1048576&t.flags)&&ei(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;zs(e,t),e=t.pendingProps;var o=Do(t,wo.current);Pi(t,r),o=fa(null,t,n,e,o,r);var a=va();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_o(n)?(a=!0,Bo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Bi(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,n,e,r),t=xs(null,t,n,!0,a,r)):(t.tag=0,ii&&a&&ti(t),Ss(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(zs(e,t),e=t.pendingProps,n=(o=n._init)(n._payload),t.type=n,o=t.tag=function(e){if("function"==typeof e)return Du(e)?1:0;if(null!=e){if((e=e.$$typeof)===x)return 11;if(e===R)return 14}return 2}(n),e=rs(n,e),o){case 0:t=As(null,t,n,e,r);break e;case 1:t=Is(null,t,n,e,r);break e;case 11:t=Cs(null,t,n,e,r);break e;case 14:t=Ts(null,t,n,rs(n.type,e),r);break e}throw Error(i(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,As(e,t,n,o=t.elementType===n?o:rs(n,o),r);case 1:return n=t.type,o=t.pendingProps,Is(e,t,n,o=t.elementType===n?o:rs(n,o),r);case 3:e:{if(ws(t),null===e)throw Error(i(387));n=t.pendingProps,o=(a=t.memoizedState).element,Li(e,t),zi(t,n,null,r);var s=t.memoizedState;if(n=s.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,n,r,o=us(Error(i(423)),t));break e}if(n!==o){t=Ps(e,t,n,r,o=us(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ni=t,ii=!0,ai=null,r=Ti(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(gi(),n===o){t=Us(e,t,r);break e}Ss(e,t,n,r)}t=t.child}return t;case 5:return Ji(t),null===e&&ci(t),n=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,ro(n,o)?s=null:null!==a&&ro(n,a)&&(t.flags|=32),Es(e,t),Ss(e,t,s,r),t.child;case 6:return null===e&&ci(t),null;case 13:return Bs(e,t,r);case 4:return Xi(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Ci(t,null,n,r):Ss(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,Cs(e,t,n,o=t.elementType===n?o:rs(n,o),r);case 7:return Ss(e,t,t.pendingProps,r),t.child;case 8:case 12:return Ss(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Io(ki,n._currentValue),n._currentValue=s,null!==a)if(sn(a.value,s)){if(a.children===o.children&&!Po.current){t=Us(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===n){if(1===a.tag){(u=Ki(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,null!==(u=a.alternate)&&(u.lanes|=r),wi(a.return,r,t),l.lanes|=r;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),wi(s,r,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Ss(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Pi(t,r),n=n(o=Ri(o)),t.flags|=1,Ss(e,t,n,r),t.child;case 14:return o=rs(n=t.type,t.pendingProps),Ts(e,t,n,o=rs(n.type,o),r);case 15:return ks(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rs(n,o),zs(e,t),t.tag=1,_o(n)?(e=!0,Bo(t)):e=!1,Pi(t,r),as(t,n,o),ls(t,n,o,r),xs(null,t,n,!0,e,r);case 19:return Gs(e,t,r);case 22:return Fs(e,t,r)}throw Error(i(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function $u(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function Zu(e,t,r,n,o){var i=r._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=Uu(a);s.call(e)}}zu(t,a,e,o)}else a=function(e,t,r,n,o){if(o){if("function"==typeof n){var i=n;n=function(){var e=Uu(a);i.call(e)}}var a=Gu(t,n,e,0,null,!1,0,"",Ju);return e._reactRootContainer=a,e[mo]=a.current,Gn(8===e.nodeType?e.parentNode:e),cu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof n){var s=n;n=function(){var e=Uu(l);s.call(e)}}var l=Wu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[mo]=l.current,Gn(8===e.nodeType?e.parentNode:e),cu((function(){zu(t,l,r,n)})),l}(r,t,e,o,n);return Uu(a)}Qu.prototype.render=$u.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));zu(e,t,null,null)},Qu.prototype.unmount=$u.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){zu(null,e,null,null)})),t[mo]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ft();e={blockedOn:null,target:e,priority:t};for(var r=0;r<_t.length&&0!==t&&t<_t[r].priority;r++);_t.splice(r,0,e),0===r&&Bt(e)}},Ct=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(bt(t,1|r),nu(t,Ye()),0==(6&xl)&&(Gl=Ye()+500,zo()))}break;case 13:cu((function(){var t=Oi(e,1);if(null!==t){var r=eu();ru(t,e,1,r)}})),ju(e,1)}},Tt=function(e){if(13===e.tag){var t=Oi(e,134217728);null!==t&&ru(t,e,134217728,eu()),ju(e,134217728)}},kt=function(e){if(13===e.tag){var t=tu(e),r=Oi(e,t);null!==r&&ru(r,e,t,eu()),ju(e,t)}},Ft=function(){return yt},Et=function(e,t){var r=yt;try{return yt=e,t()}finally{yt=r}},Te=function(e,t,r){switch(t){case"input":if(J(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=To(n);if(!o)throw Error(i(90));q(n),J(n,o)}}}break;case"textarea":ie(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},xe=uu,we=cu;var ec={usingClientEntryPoint:!1,Events:[So,Co,To,Ae,Ie,uu]},tc={findFiberByHostInstance:yo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{ot=nc.inject(rc),it=nc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xu(t))throw Error(i(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:T,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Xu(e))throw Error(i(299));var r=!1,n="",o=qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Wu(e,1,!1,null,0,r,0,n,o),e[mo]=t.current,Gn(8===e.nodeType?e.parentNode:e),new $u(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,r){if(!Yu(t))throw Error(i(200));return Zu(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Xu(e))throw Error(i(405));var n=null!=r&&r.hydratedSources||null,o=!1,a="",s=qu;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=Gu(t,null,e,1,null!=r?r:null,o,0,a,s),e[mo]=t.current,Gn(e),n)for(e=0;e<n.length;e++)o=(o=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Qu(t)},t.render=function(e,t,r){if(!Yu(t))throw Error(i(200));return Zu(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Yu(e))throw Error(i(40));return!!e._reactRootContainer&&(cu((function(){Zu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Yu(r))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Zu(e,t,r,!1,n)},t.version="18.3.1-next-f1338f8080-20240426"},44388:(e,t,r)=>{"use strict";var n=r(93931);t.H=n.createRoot,n.hydrateRoot},93931:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(53037)},86825:(e,t)=>{"use strict";if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;r("react.element"),r("react.portal"),r("react.fragment"),r("react.strict_mode"),r("react.profiler"),r("react.provider"),r("react.context"),r("react.forward_ref"),r("react.suspense"),r("react.suspense_list"),r("react.memo"),r("react.lazy"),r("react.block"),r("react.server.block"),r("react.fundamental"),r("react.debug_trace_mode"),r("react.legacy_hidden")}},87621:(e,t,r)=>{"use strict";r(86825)},68264:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(23554),o=r(78869),i=r(43270);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=r(10477),l=r(93931);var u=r(24957),c=function(e){return e.scrollTop},d="unmounted",p="exited",h="entering",g="entered",m="exiting",f=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=p,n.appearStatus=h):o=g:o=t.unmountOnExit||t.mountOnEnter?d:p,n.state={status:o},n.nextCallback=null,n}(0,i.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:p}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==h&&r!==g&&(t=h):r!==h&&r!==g||(t=m)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);r&&c(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:d})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[l.findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),u=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:h},(function(){t.props.onEntering(i,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:g},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:g},(function(){t.props.onEntered(i)}))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:l.findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:m},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:p},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:p},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(u.A.Provider,{value:null},"function"==typeof r?r(e,n):s.cloneElement(s.Children.only(r),n))},t}(s.Component);function v(){}f.contextType=u.A,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},f.UNMOUNTED=d,f.EXITED=p,f.ENTERING=h,f.ENTERED=g,f.EXITING=m;const b=f;var y=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return n=t,void((r=e).classList?r.classList.remove(n):"string"==typeof r.className?r.className=a(r.className,n):r.setAttribute("class",a(r.className&&r.className.baseVal||"",n)));var r,n}))},S=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,r){var n=t.resolveArguments(e,r),o=n[0],i=n[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,r)},t.onEntering=function(e,r){var n=t.resolveArguments(e,r),o=n[0],i=n[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,r)},t.onEntered=function(e,r){var n=t.resolveArguments(e,r),o=n[0],i=n[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,r)},t.onExit=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"appear"),t.removeClasses(r,"enter"),t.addClass(r,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var r=t.resolveArguments(e)[0];t.addClass(r,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"exit"),t.addClass(r,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,r){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,r]},t.getClassNames=function(e){var r=t.props.classNames,n="string"==typeof r,o=n?(n&&r?r+"-":"")+e:r[e];return{baseClassName:o,activeClassName:n?o+"-active":r[e+"Active"],doneClassName:n?o+"-done":r[e+"Done"]}},t}(0,i.A)(t,e);var r=t.prototype;return r.addClass=function(e,t,r){var n=this.getClassNames(t)[r+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===r&&o&&(n+=" "+o),"active"===r&&e&&c(e),n&&(this.appliedClasses[t][r]=n,function(e,t){e&&t&&t.split(" ").forEach((function(t){return n=t,void((r=e).classList?r.classList.add(n):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(r,n)||("string"==typeof r.className?r.className=r.className+" "+n:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+n)));var r,n}))}(e,n))},r.removeClasses=function(e,t){var r=this.appliedClasses[t],n=r.base,o=r.active,i=r.done;this.appliedClasses[t]={},n&&y(e,n),o&&y(e,o),i&&y(e,i)},r.render=function(){var e=this.props,t=(e.classNames,(0,o.A)(e,["classNames"]));return s.createElement(b,(0,n.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.Component);S.defaultProps={classNames:""},S.propTypes={};const C=S},1879:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(78869),o=r(23554),i=r(43270),a=r(10477),s=r(24957);function l(e,t){var r=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),r}function u(e,t,r){return null!=r[t]?r[t]:e.props[t]}function c(e,t,r){var n=l(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var u=o[l][n];s[o[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var s=o[i];if((0,a.isValidElement)(s)){var l=i in t,c=i in n,d=t[i],p=(0,a.isValidElement)(d)&&!d.props.in;!c||l&&!p?c||!l||p?c&&l&&(0,a.isValidElement)(d)&&(o[i]=(0,a.cloneElement)(s,{onExited:r.bind(null,s),in:d.props.in,exit:u(s,"exit",e),enter:u(s,"enter",e)})):o[i]=(0,a.cloneElement)(s,{in:!1}):o[i]=(0,a.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:u(s,"exit",e),enter:u(s,"enter",e)})}})),o}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}(0,i.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,l(r.children,(function(e){return(0,a.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:u(e,"appear",r),enter:u(e,"enter",r),exit:u(e,"exit",r)})}))):c(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=l(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,o.A)({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,o=(0,n.A)(e,["component","childFactory"]),i=this.state.contextValue,l=d(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===t?a.createElement(s.A.Provider,{value:i},l):a.createElement(s.A.Provider,{value:i},a.createElement(t,o,l))},t}(a.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const h=p},24957:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(10477).createContext(null)},23051:(e,t,r)=>{"use strict";var n=r(10477),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,i={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},5868:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,f={};function v(e,t,r){this.props=e,this.context=t,this.refs=f,this.updater=r||g}function b(){}function y(e,t,r){this.props=e,this.context=t,this.refs=f,this.updater=r||g}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var S=y.prototype=new b;S.constructor=y,m(S,v.prototype),S.isPureReactComponent=!0;var C=Array.isArray,T=Object.prototype.hasOwnProperty,k={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,o)&&!F.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:r,type:e,key:a,ref:s,props:i,_owner:k.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var I=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function w(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return a=a(l=e),e=""===i?"."+x(l,0):i,C(a)?(o="",null!=e&&(o=e.replace(I,"$&/")+"/"),w(a,t,o,"",(function(e){return e}))):null!=a&&(A(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",C(e))for(var u=0;u<e.length;u++){var c=i+x(s=e[u],u);l+=w(s,t,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=w(s=s.value,t,o,c=i+x(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function P(e,t,r){if(null==e)return e;var n=[],o=0;return w(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},_={transition:null},N={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:_,ReactCurrentOwner:k};function O(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,r){P(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=y,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.act=O,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)T.call(t,u)&&!F.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:r,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=_.transition;_.transition={};try{e()}finally{_.transition=t}},t.unstable_act=O,t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,r){return D.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,r){return D.current.useReducer(e,t,r)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return D.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return D.current.useTransition()},t.version="18.3.1"},10477:(e,t,r)=>{"use strict";e.exports=r(5868)},63609:(e,t,r)=>{"use strict";e.exports=r(23051)},80338:(e,t)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.OJ=function(e){return{type:o,payload:e}},t.l5=function(e){var t=e.dispatch;return function(e){return function(r){if(r.type===o){var s=function(){t({type:i});var e=[];return r.payload.forEach((function(r){e.push(t(r))})),t({type:a}),{v:e}}();if("object"===(void 0===s?"undefined":n(s)))return s.v}return e(r)}}},t._y=function(e){var t=[],n=t;function o(){n===t&&(n=t.slice())}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return o(),n.push(e),function(){if(t){t=!1,o();var r=n.indexOf(e);n.splice(r,1)}}}return function(){var o=e.apply(void 0,arguments),l=o.subscribe,u=0;return r({},o,{dispatch:function(){for(var e=arguments.length,r=Array(e),s=0;s<e;s++)r[s]=arguments[s];r.forEach((function(e){e.type&&(e.type===i?u+=1:e.type===a&&(u-=1))}));var l=o.dispatch.apply(o,r);return 0===u&&function(){for(var e=t=n,r=0;r<e.length;r++)e[r]()}(),l},subscribe:s,subscribeImmediate:l})}};var o=t.D_="ENHANCED_BATCHING.BATCH",i=t.LB="ENHANCED_BATCHING.PUSH",a=t.C2="ENHANCED_BATCHING.POP"},84394:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}r.d(t,{Tw:()=>g,HY:()=>p,Zz:()=>h,y$:()=>d});var l="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function d(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(s(1));return r(d)(e,t)}if("function"!=typeof e)throw new Error(s(2));var o=e,i=t,a=[],u=a,p=!1;function h(){u===a&&(u=a.slice())}function g(){if(p)throw new Error(s(3));return i}function m(e){if("function"!=typeof e)throw new Error(s(4));if(p)throw new Error(s(5));var t=!0;return h(),u.push(e),function(){if(t){if(p)throw new Error(s(6));t=!1,h();var r=u.indexOf(e);u.splice(r,1),a=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if(p)throw new Error(s(9));try{p=!0,i=o(i,e)}finally{p=!1}for(var t=a=u,r=0;r<t.length;r++)(0,t[r])();return e}return f({type:c.INIT}),(n={dispatch:f,subscribe:m,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw new Error(s(10));o=e,f({type:c.REPLACE})}})[l]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(s(11));function r(){e.next&&e.next(g())}return r(),{unsubscribe:t(r)}}})[l]=function(){return this},e},n}function p(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];"function"==typeof e[o]&&(r[o]=e[o])}var i,a=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:c.INIT}))throw new Error(s(12));if(void 0===r(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))}))}(r)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var n=!1,o={},l=0;l<a.length;l++){var u=a[l],c=r[u],d=e[u],p=c(d,t);if(void 0===p)throw t&&t.type,new Error(s(14));o[u]=p,n=n||p!==d}return(n=n||a.length!==Object.keys(e).length)?o:e}}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(s(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return n=h.apply(void 0,i)(r.dispatch),a(a({},r),{},{dispatch:n})}}}},94662:(e,t)=>{"use strict";var r,n,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,d=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(d,0))},n=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,f=null,v=-1,b=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,C=S.port2;S.port1.onmessage=function(){if(null!==f){var e=t.unstable_now();y=e+b;try{f(!0,e)?C.postMessage(null):(m=!1,f=null)}catch(e){throw C.postMessage(null),e}}else m=!1},r=function(e){f=e,m||(m=!0,C.postMessage(null))},n=function(e,r){v=p((function(){e(t.unstable_now())}),r)},o=function(){h(v),v=-1}}function T(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,o=e[n];if(!(void 0!==o&&0<E(o,t)))break e;e[n]=t,e[r]=o,r=n}}function k(e){return void 0===(e=e[0])?null:e}function F(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length;n<o;){var i=2*(n+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>E(a,r))void 0!==l&&0>E(l,a)?(e[n]=l,e[s]=r,n=s):(e[n]=a,e[i]=r,n=i);else{if(!(void 0!==l&&0>E(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function E(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var A=[],I=[],x=1,w=null,P=3,R=!1,D=!1,_=!1;function N(e){for(var t=k(I);null!==t;){if(null===t.callback)F(I);else{if(!(t.startTime<=e))break;F(I),t.sortIndex=t.expirationTime,T(A,t)}t=k(I)}}function O(e){if(_=!1,N(e),!D)if(null!==k(A))D=!0,r(M);else{var t=k(I);null!==t&&n(O,t.startTime-e)}}function M(e,r){D=!1,_&&(_=!1,o()),R=!0;var i=P;try{for(N(r),w=k(A);null!==w&&(!(w.expirationTime>r)||e&&!t.unstable_shouldYield());){var a=w.callback;if("function"==typeof a){w.callback=null,P=w.priorityLevel;var s=a(w.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?w.callback=s:w===k(A)&&F(A),N(r)}else F(A);w=k(A)}if(null!==w)var l=!0;else{var u=k(I);null!==u&&n(O,u.startTime-r),l=!1}return l}finally{w=null,P=i,R=!1}}var B=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||R||(D=!0,r(M))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return k(A)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var r=P;P=t;try{return e()}finally{P=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=P;P=e;try{return t()}finally{P=r}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:x++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,T(I,e),null===k(A)&&e===k(I)&&(_?o():_=!0,n(O,a-s))):(e.sortIndex=l,T(A,e),D||R||(D=!0,r(M))),e},t.unstable_wrapCallback=function(e){var t=P;return function(){var r=P;P=t;try{return e.apply(this,arguments)}finally{P=r}}}},35721:(e,t,r)=>{"use strict";e.exports=r(94662)},54920:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=r?r.call(n,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},15880:e=>{const t=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const n={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};e.exports=function(e,o={}){if(o=Object.assign({},n,o),!e||"string"!=typeof e)return e;let i=e.trim();if(void 0!==o.skipLike&&o.skipLike.test(i))return e;if(o.hex&&t.test(i))return Number.parseInt(i,16);{const t=r.exec(i);if(t){const r=t[1],n=t[2];let s=(a=t[3])&&-1!==a.indexOf(".")?("."===(a=a.replace(/0+$/,""))?a="0":"."===a[0]?a="0"+a:"."===a[a.length-1]&&(a=a.substr(0,a.length-1)),a):a;const l=t[4]||t[6];if(!o.leadingZeros&&n.length>0&&r&&"."!==i[2])return e;if(!o.leadingZeros&&n.length>0&&!r&&"."!==i[1])return e;{const t=Number(i),a=""+t;return-1!==a.search(/[eE]/)||l?o.eNotation?t:e:-1!==i.indexOf(".")?"0"===a&&""===s||a===s||r&&a==="-"+s?t:e:n?s===a||r+s===a?t:e:i===a||i===r+a?t:e}}return e}var a}},57829:(e,t,r)=>{"use strict";r.d(t,{CP:()=>a,GD:()=>c,S:()=>Te,U6:()=>X,_A:()=>Ce,h7:()=>o,hC:()=>Fe,iA:()=>s,mz:()=>ke});var n=r(59266);const o="data-tabster",i=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),a={Source:0,Target:1},s={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4};function l(e,t){var r;return null===(r=e.storageEntry(t))||void 0===r?void 0:r.tabster}function u(e,t,r){var n,i;const a=r||e._noop?void 0:t.getAttribute(o);let s,l=e.storageEntry(t);if(a){if(a===(null===(n=null==l?void 0:l.attr)||void 0===n?void 0:n.string))return;try{const e=JSON.parse(a);if("object"!=typeof e)throw new Error(`Value is not a JSON object, got '${a}'.`);s={string:a,object:e}}catch(e){}}else if(!l)return;l||(l=e.storageEntry(t,!0)),l.tabster||(l.tabster={});const u=l.tabster||{},c=(null===(i=l.attr)||void 0===i?void 0:i.object)||{},d=(null==s?void 0:s.object)||{};for(const r of Object.keys(c))if(!d[r]){if("root"===r){const t=u[r];t&&e.root.onRoot(t,!0)}switch(r){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const n=u[r];n&&(n.dispose(),delete u[r]);break;case"observed":delete u[r],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[r]}}for(const r of Object.keys(d)){const n=d.sys;switch(r){case"deloser":u.deloser?u.deloser.setProps(d.deloser):e.deloser&&(u.deloser=e.deloser.createDeloser(t,d.deloser));break;case"root":u.root?u.root.setProps(d.root):u.root=e.root.createRoot(t,d.root,n),e.root.onRoot(u.root);break;case"modalizer":u.modalizer?u.modalizer.setProps(d.modalizer):e.modalizer&&(u.modalizer=e.modalizer.createModalizer(t,d.modalizer,n));break;case"restorer":u.restorer?u.restorer.setProps(d.restorer):e.restorer&&d.restorer&&(u.restorer=e.restorer.createRestorer(t,d.restorer));break;case"focusable":u.focusable=d.focusable;break;case"groupper":u.groupper?u.groupper.setProps(d.groupper):e.groupper&&(u.groupper=e.groupper.createGroupper(t,d.groupper,n));break;case"mover":u.mover?u.mover.setProps(d.mover):e.mover&&(u.mover=e.mover.createMover(t,d.mover,n));break;case"observed":e.observedElement&&(u.observed=d.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":u.uncontrolled=d.uncontrolled;break;case"outline":e.outline&&(u.outline=d.outline);break;case"sys":u.sys=d.sys;break;default:console.error(`Unknown key '${r}' in data-tabster attribute value.`)}}s?l.attr=s:(0===Object.keys(u).length&&(delete l.tabster,delete l.attr),e.storageEntry(t,!1))}const c="tabster:movefocus",d="tabster:mover:movefocus",p="tabster:mover:memorized-element",h="tabster:restorer:restore-focus",g="undefined"!=typeof CustomEvent?CustomEvent:function(){};class m extends g{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class f extends m{constructor(e){super("tabster:focusin",e)}}class v extends m{constructor(e){super("tabster:focusout",e)}}class b extends m{constructor(e){super(c,e)}}class y extends m{constructor(e){super("tabster:mover:state",e)}}class S extends m{constructor(){super(h)}}class C extends m{constructor(e){super("tabster:root:focus",e)}}class T extends m{constructor(e){super("tabster:root:blur",e)}}const k={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,n)=>e.createTreeWalker(t,r,n),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!(null==e?void 0:e.contains(t))),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>(null==e?void 0:e.firstChild)||null,getLastChild:e=>(null==e?void 0:e.lastChild)||null,getNextSibling:e=>(null==e?void 0:e.nextSibling)||null,getPreviousSibling:e=>(null==e?void 0:e.previousSibling)||null,getFirstElementChild:e=>(null==e?void 0:e.firstElementChild)||null,getLastElementChild:e=>(null==e?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(null==e?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(null==e?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.getSelection())||null},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};let F;const E="undefined"!=typeof DOMRect?DOMRect:class{constructor(e,t,r,n){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(n||0)}};let A=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),F=!1}catch(e){F=!0}function I(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}class x{deref(){return this._target}static cleanup(e,t){return!e._target||!(!t&&K(e._target.ownerDocument,e._target))&&(delete e._target,!0)}constructor(e){this._target=e}}class w{get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}constructor(e,t,r){const n=I(e);let o;n.WeakRef?o=new n.WeakRef(t):(o=new x(t),n.fakeWeakRefs.push(o)),this._ref=o,this._data=r}}function P(e,t){const r=I(e);r.fakeWeakRefs=r.fakeWeakRefs.filter((e=>!x.cleanup(e,t)))}function R(e){const t=I(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=function(e){return e.basics.WeakRef}(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout((()=>{t.fakeWeakRefsTimer=void 0,P(e),R(e)}),12e4))}function D(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const n=F?r:{acceptNode:r};return k.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,n,!1)}function _(e,t){let r=t.__tabsterCacheId;const n=I(e),o=r?n.containerBoundingRectCache[r]:void 0;if(o)return o.rect;const i=t.ownerDocument&&t.ownerDocument.documentElement;if(!i)return new E;let a=0,s=0,l=i.clientWidth,u=i.clientHeight;if(t!==i){const e=t.getBoundingClientRect();a=Math.max(a,e.left),s=Math.max(s,e.top),l=Math.min(l,e.right),u=Math.min(u,e.bottom)}const c=new E(a<l?a:-1,s<u?s:-1,a<l?l-a:0,s<u?u-s:0);return r||(r="r-"+ ++n.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),n.containerBoundingRectCache[r]={rect:c,element:t},n.containerBoundingRectCacheTimer||(n.containerBoundingRectCacheTimer=window.setTimeout((()=>{n.containerBoundingRectCacheTimer=void 0;for(const e of Object.keys(n.containerBoundingRectCache))delete n.containerBoundingRectCache[e].element.__tabsterCacheId;n.containerBoundingRectCache={}}),50)),c}function N(e,t,r){const n=O(t);if(!n)return!1;const o=_(e,n),i=t.getBoundingClientRect(),a=i.height*(1-r),s=Math.max(0,o.top-i.top)+Math.max(0,i.bottom-o.bottom);return 0===s||s<=a}function O(e){const t=e.ownerDocument;if(t){for(let t=k.getParentElement(e);t;t=k.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function M(e){return!!e.__shouldIgnoreFocus}function B(e,t){const r=I(e);let n=t.__tabsterElementUID;return n||(n=t.__tabsterElementUID=function(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let e=0;e<t.length;e++)t[e]=4294967295*Math.random();const r=[];for(let e=0;e<t.length;e++)r.push(t[e].toString(36));return r.push("|"),r.push((++A).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}(e())),!r.elementByUId[n]&&K(t.ownerDocument,t)&&(r.elementByUId[n]=new w(e,t)),n}function L(e,t){const r=I(e);for(const e of Object.keys(r.elementByUId)){const n=r.elementByUId[e],o=n&&n.get();o&&t&&!k.nodeContains(t,o)||delete r.elementByUId[e]}}function K(e,t){return k.nodeContains(null==e?void 0:e.body,t)}function W(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}let H=0;class G{getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}constructor(e,t,r){const n=e.getWindow;this._tabster=e,this._element=new w(n,t),this._props={...r},this.id="i"+ ++H}}class z{dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,null===(e=k.getParentNode(t))||void 0===e||e.removeChild(t))}setTopLeft(e,t){var r;const n=null===(r=this.input)||void 0===r?void 0:r.style;n&&(n.top=`${e}px`,n.left=`${t}px`)}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}constructor(e,t,r,o,i){var a;this._focusIn=e=>{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&(0,n.kG)(e))}const t=this.input;if(this.onFocusIn&&t){const r=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,r),r)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const r=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,r),r)}};const s=e(),l=s.document.createElement("i");l.tabIndex=0,l.setAttribute("role","none"),l.setAttribute("data-tabster-dummy",""),l.setAttribute("aria-hidden","true");const u=l.style;u.position="fixed",u.width=u.height="1px",u.opacity="0.001",u.zIndex="-1",u.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(l),this.input=l,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=null!==(a=r.isPhantom)&&void 0!==a&&a,this._fixedTarget=i,l.addEventListener("focusin",this._focusIn),l.addEventListener("focusout",this._focusOut),l.__tabsterDummyContainer=o,this._isPhantom&&(this._disposeTimer=s.setTimeout((()=>{delete this._disposeTimer,this.dispose()}),0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(s.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}}class U{_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;null===(t=this._instance)||void 0===t||t.moveOut(e)}moveOutWithDefaultAction(e,t){var r;null===(r=this._instance)||void 0===r||r.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;null===(t=this._instance)||void 0===t||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,o,i){const a=new z(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let s,l;if("BODY"===t.tagName)s=t,l=r&&o||!r&&!o?k.getFirstElementChild(t):null;else{let n,i;r&&(!o||o&&!e.focusable.isFocusable(t,!1,!0,!0))?(s=t,l=o?t.firstElementChild:null):(s=k.getParentElement(t),l=r&&o||!r&&!o?t:k.getNextElementSibling(t));do{n=r&&o||!r&&!o?k.getPreviousElementSibling(l):l,i=Q(n),i===t?l=r&&o||!r&&!o?n:k.getNextElementSibling(n):i=null}while(i)}(null==s?void 0:s.dispatchEvent(new b({by:"root",owner:s,next:null,relatedEvent:i})))&&(k.insertBefore(s,a,l),(0,n.kG)(a))}}static addPhantomDummyWithTarget(e,t,r,n){const o=new z(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new w(e.getWindow,n)).input;if(o){let e,n;t.querySelector(i)&&!r?(e=t,n=k.getFirstElementChild(t)):(e=k.getParentElement(t),n=r?t:k.getNextElementSibling(t)),e&&k.insertBefore(e,o,n)}}constructor(e,t,r,n,o,i){this._element=t,this._instance=new j(e,t,this,r,n,o,i)}}class V{add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new w(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter((t=>{const r=t.get();return r&&r!==e})),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){var e;const t=null===(e=this._win)||void 0===e?void 0:e.call(this);this._updateTimer&&(null==t||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(null==t||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var e;this._updateTimer||(this._updateTimer=null===(e=this._win)||void 0===e?void 0:e.call(this).setTimeout((()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const r of this._updateQueue)t.push(r(e));this._updateQueue.clear();for(const e of t)e();e.clear()}else this._scheduledUpdatePositions()}),100))}constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{var t;this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=null===(t=this._win)||void 0===t?void 0:t.call(this).setTimeout((()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const r=k.getParentNode(t);r&&!this._changedParents.has(r)||e()}}}this._changedParents=new WeakSet}),100)))},this._win=e}}class j{dispose(e,t){var r,n,o,i;if(0===(this._wrappers=this._wrappers.filter((r=>r.manager!==e&&!t))).length){delete(null===(r=this._element)||void 0===r?void 0:r.get()).__tabsterDummy;for(const e of this._transformElements)e.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=null===(n=this._firstDummy)||void 0===n?void 0:n.input;t&&this._tabster._dummyObserver.remove(t),null===(o=this._firstDummy)||void 0===o||o.dispose(),null===(i=this._lastDummy)||void 0===i||i.dispose()}}_onFocus(e,t,r,n){var o;const i=this._getCurrent();!i||t.useDefaultAction&&!this._callForDefaultAction||null===(o=i.manager.getHandler(e))||void 0===o||o(t,r,n)}_getCurrent(){return this._wrappers.sort(((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority)),this._wrappers[0]}_ensurePosition(){var e,t,r;const n=null===(e=this._element)||void 0===e?void 0:e.get(),o=null===(t=this._firstDummy)||void 0===t?void 0:t.input,i=null===(r=this._lastDummy)||void 0===r?void 0:r.input;if(n&&o&&i)if(this._isOutside){const e=k.getParentNode(n);if(e){const t=k.getNextSibling(n);t!==i&&k.insertBefore(e,i,t),k.getPreviousElementSibling(n)!==o&&k.insertBefore(e,o,n)}}else{k.getLastElementChild(n)!==i&&k.appendChild(n,i);const e=k.getFirstElementChild(n);e&&e!==o&&e.parentNode&&k.insertBefore(e.parentNode,o,e)}}constructor(e,t,r,o,i,a,s){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,r)=>{this._onFocus(!0,e,t,r)},this._onFocusOut=(e,t,r)=>{this._onFocus(!1,e,t,r)},this.moveOut=e=>{var t;const r=this._firstDummy,o=this._lastDummy;if(r&&o){this._ensurePosition();const i=r.input,a=o.input,s=null===(t=this._element)||void 0===t?void 0:t.get();if(i&&a&&s){let t;e?(i.tabIndex=0,t=i):(a.tabIndex=0,t=a),t&&(0,n.kG)(t)}}},this.moveOutWithDefaultAction=(e,t)=>{var r;const o=this._firstDummy,i=this._lastDummy;if(o&&i){this._ensurePosition();const a=o.input,s=i.input,l=null===(r=this._element)||void 0===r?void 0:r.get();if(a&&s&&l){let r;e?!o.isOutside&&this._tabster.focusable.isFocusable(l,!0,!0,!0)?r=l:(o.useDefaultAction=!0,a.tabIndex=0,r=a):(i.useDefaultAction=!0,s.tabIndex=0,r=s),r&&l.dispatchEvent(new b({by:"root",owner:l,next:null,relatedEvent:t}))&&(0,n.kG)(r)}}},this.setTabbable=(e,t)=>{var r,n;for(const r of this._wrappers)if(r.manager===e){r.tabbable=t;break}const o=this._getCurrent();if(o){const e=o.tabbable?0:-1;let t=null===(r=this._firstDummy)||void 0===r?void 0:r.input;t&&(t.tabIndex=e),t=null===(n=this._lastDummy)||void 0===n?void 0:n.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout((()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()}),0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{var t,r;const n=(null===(t=this._firstDummy)||void 0===t?void 0:t.input)||(null===(r=this._lastDummy)||void 0===r?void 0:r.input),o=this._transformElements,i=new Set;let a=0,s=0;const l=this._getWindow();for(let t=n;t&&t.nodeType===Node.ELEMENT_NODE;t=k.getParentElement(t)){let r=e.get(t);if(void 0===r){const n=l.getComputedStyle(t).transform;n&&"none"!==n&&(r={scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),e.set(t,r||null)}r&&(i.add(t),o.has(t)||t.addEventListener("scroll",this._addTransformOffsets),a+=r.scrollTop,s+=r.scrollLeft)}for(const e of o)i.has(e)||e.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=i,()=>{var e,t;null===(e=this._firstDummy)||void 0===e||e.setTopLeft(a,s),null===(t=this._lastDummy)||void 0===t||t.setTopLeft(a,s)}};const l=t.get();if(!l)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=s;const u=l.__tabsterDummy;if((u||this)._wrappers.push({manager:r,priority:o,tabbable:!0}),u)return u;l.__tabsterDummy=this;const c=null==i?void 0:i.dummyInputsPosition,d=l.tagName;this._isOutside=c?2===c:(a||"UL"===d||"OL"===d||"TABLE"===d)&&!("LI"===d||"TD"===d||"TH"===d),this._firstDummy=new z(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new z(this._getWindow,this._isOutside,{isFirst:!1},t);const p=this._firstDummy.input;p&&e._dummyObserver.add(p,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}}function q(e){let t=null;for(let r=k.getLastElementChild(e);r;r=k.getLastElementChild(r))t=r;return t||void 0}function $(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function Q(e){var t;return(null===(t=null==e?void 0:e.__tabsterDummyContainer)||void 0===t?void 0:t.get())||null}function X(e,t){const r=JSON.stringify(e);return!0===t?r:{[o]:r}}class Y extends U{constructor(e,t,r,o){super(e,t,1,o,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const r=this._element.get();if(r){this._setFocused(!0);const t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:r,ignoreAccessibility:!0});if(t)return void(0,n.kG)(t)}null===(t=e.input)||void 0===t||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class J extends G{addDummyInputs(){this._dummyManager||(this._dummyManager=new Y(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener(n.Oy,this._onFocusIn),r.removeEventListener(n.RY,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),null===(e=this._dummyManager)||void 0===e||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const r=this.getElement();r&&Y.moveWithPhantomDummy(this._tabster,r,!0,e,t)}}_add(){}_remove(){}constructor(e,t,r,o,i){super(e,t,o),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const r=this._element.get();r&&(e?(this._isFocused=!0,null===(t=this._dummyManager)||void 0===t||t.setTabbable(!1),r.dispatchEvent(new C({element:r}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout((()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,null===(e=this._dummyManager)||void 0===e||e.setTabbable(!0),r.dispatchEvent(new T({element:r}))}),0))},this._onFocusIn=e=>{const t=this._tabster.getParent,r=this._element.get();let n=e.composedPath()[0];do{if(n===r)return void this._setFocused(!0);n=n&&t(n)}while(n)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const a=e.getWindow;this.uid=B(a,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const s=a().document;s.addEventListener(n.Oy,this._onFocusIn),s.addEventListener(n.RY,this._onFocusOut),this._add()}}class Z{_autoRootUnwait(e){e.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach((e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])})),this.rootById={}}createRoot(e,t,r){const n=new J(this._tabster,e,this._onRootDispose,t,r);return this._roots[n.id]=n,this._forceDummy&&n.addDummyInputs(),n}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r){var n,o,i,a;if(void 0===r&&(r={}),!t.ownerDocument)return;const{checkRtl:s,referenceElement:u}=r,c=e.getParent;let d,p,h,g;e.drainInitQueue();let m,f,v,b,y=!1,S=u||t;const C={};for(;S&&(!d||s);){const r=l(e,S);if(s&&void 0===v){const e=S.dir;e&&(v="rtl"===e.toLowerCase())}if(!r){S=c(S);continue}const a=S.tagName;(r.uncontrolled||"IFRAME"===a||"WEBVIEW"===a)&&(b=S),g||!(null===(n=r.focusable)||void 0===n?void 0:n.excludeFromMover)||h||(y=!0);const u=r.modalizer,T=r.groupper,k=r.mover;!p&&u&&(p=u),h||!T||p&&!u||(p?(!T.isActive()&&T.getProps().tabbability&&p.userId!==(null===(o=e.modalizer)||void 0===o?void 0:o.activeId)&&(p=void 0,h=T),f=T):h=T),g||!k||p&&!u||T&&S===t||!S.contains(t)||(g=k,m=!!h&&h!==T),r.root&&(d=r.root),(null===(i=r.focusable)||void 0===i?void 0:i.ignoreKeydown)&&Object.assign(C,r.focusable.ignoreKeydown),S=c(S)}if(!d){const r=e.root;r._autoRoot&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.body)&&(d=r._autoRootCreate())}return h&&!g&&(m=!0),d?{root:d,modalizer:p,groupper:h,mover:g,groupperBeforeMover:m,modalizerInGroupper:f,rtl:s?!!v:void 0,uncontrolled:b,excludedFromMover:y,ignoreKeydown:e=>!!C[e.key]}:void 0}static getRoot(e,t){var r;const n=e.getParent;for(let o=t;o;o=n(o)){const t=null===(r=l(e,o))||void 0===r?void 0:r.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var e;const t=this._win().document,r=t.body;if(r){this._autoRootUnwait(t);const n=this._autoRoot;if(n)return function(e,t,r){let n;if(r){const t=e.getAttribute(o);if(t)try{n=JSON.parse(t)}catch(e){}}n||(n={}),function(e,t){for(const r of Object.keys(t)){const n=t[r];n?e[r]=n:delete e[r]}}(n,t),Object.keys(n).length>0?e.setAttribute(o,X(n,!0)):e.removeAttribute(o)}(r,{root:n},!0),u(this._tabster,r),null===(e=l(this._tabster,r))||void 0===e?void 0:e.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit((()=>{this._autoRoot&&this._autoRootCreate()}))}}class ee{dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach((r=>r(e,t)))}constructor(){this._callbacks=[]}}class te{dispose(){}getProps(e){const t=l(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,n){return!(!W(e,i)||!t&&-1===e.tabIndex)&&(r||this.isVisible(e))&&(n||this.isAccessible(e))}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(function(e){var t,r;const n=e.ownerDocument,o=null===(t=n.defaultView)||void 0===t?void 0:t.getComputedStyle(e);if(null===e.offsetParent&&n.body!==e&&"fixed"!==(null==o?void 0:o.position))return!0;if("hidden"===(null==o?void 0:o.visibility))return!0;if("fixed"===(null==o?void 0:o.position)){if("none"===o.display)return!0;if(null===(null===(r=e.parentElement)||void 0===r?void 0:r.offsetParent)&&n.body!==e.parentElement)return!0}return!1}(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){var t;for(let r=e;r;r=k.getParentElement(r)){const e=l(this._tabster,r);if(this._isHidden(r))return!1;if(!(null===(t=null==e?void 0:e.focusable)||void 0===t?void 0:t.ignoreAriaDisabled)&&this._isDisabled(r))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const r=e.getAttribute("aria-hidden");return!(!r||"true"!==r.toLowerCase()||(null===(t=this._tabster.modalizer)||void 0===t?void 0:t.isAugmented(e)))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const r=this._findElements(!1,e,t);return r?r[0]:r}_findElements(e,t,r){var n,o,i;const{container:a,currentElement:s=null,includeProgrammaticallyFocusable:l,useActiveModalizer:u,ignoreAccessibility:c,modalizerId:d,isBackward:p,onElement:h}=t;r||(r={});const g=[];let{acceptCondition:m}=t;const f=!!m;if(!a)return null;m||(m=e=>this.isFocusable(e,l,!1,c));const v={container:a,modalizerUserId:void 0===d&&u?null===(n=this._tabster.modalizer)||void 0===n?void 0:n.activeId:d||(null===(i=null===(o=Z.getTabsterContext(this._tabster,a))||void 0===o?void 0:o.modalizer)||void 0===i?void 0:i.userId),from:s||a,isBackward:p,isFindAll:e,acceptCondition:m,hasCustomCondition:f,includeProgrammaticallyFocusable:l,ignoreAccessibility:c,cachedGrouppers:{},cachedRadioGroups:{}},b=D(a.ownerDocument,a,(e=>this._acceptElement(e,v)));if(!b)return null;const y=t=>{var n,o;const i=null!==(n=v.foundElement)&&void 0!==n?n:v.foundBackward;return i&&g.push(i),e?!(i&&(v.found=!1,delete v.foundElement,delete v.foundBackward,delete v.fromCtx,v.from=i,h&&!h(i))||!i&&!t):(i&&r&&(r.uncontrolled=null===(o=Z.getTabsterContext(this._tabster,i))||void 0===o?void 0:o.uncontrolled),!(!t||i))};if(s||(r.outOfDOMOrder=!0),s&&k.nodeContains(a,s))b.currentNode=s;else if(p){const e=q(a);if(!e)return null;if(this._acceptElement(e,v)===NodeFilter.FILTER_ACCEPT&&!y(!0))return v.skippedFocusable&&(r.outOfDOMOrder=!0),g;b.currentNode=e}do{p?b.previousNode():b.nextNode()}while(y());return v.skippedFocusable&&(r.outOfDOMOrder=!0),g.length?g:null}_acceptElement(e,t){var r,n,o;if(t.found)return NodeFilter.FILTER_ACCEPT;const i=t.foundBackward;if(i&&(e===i||!k.nodeContains(i,e)))return t.found=!0,t.foundElement=i,NodeFilter.FILTER_ACCEPT;const a=t.container;if(e===a)return NodeFilter.FILTER_SKIP;if(!k.nodeContains(a,e))return NodeFilter.FILTER_REJECT;if(Q(e))return NodeFilter.FILTER_REJECT;if(k.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const s=t.currentCtx=Z.getTabsterContext(this._tabster,e);if(!s)return NodeFilter.FILTER_SKIP;if(M(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return(null===(r=s.modalizer)||void 0===r?void 0:r.userId)===(null===(n=this._tabster.modalizer)||void 0===n?void 0:n.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,u=t.fromCtx;u||(u=t.fromCtx=Z.getTabsterContext(this._tabster,t.from));const c=null==u?void 0:u.mover;let d=s.groupper,p=s.mover;if(l=null===(o=this._tabster.modalizer)||void 0===o?void 0:o.acceptElement(e,t),void 0!==l&&(t.skippedFocusable=!0),void 0===l&&(d||p||c)){const r=null==d?void 0:d.getElement(),n=null==c?void 0:c.getElement();let o=null==p?void 0:p.getElement();o&&k.nodeContains(n,o)&&k.nodeContains(a,n)&&(!r||!p||k.nodeContains(n,r))&&(p=c,o=n),!r||r!==a&&k.nodeContains(a,r)||(d=void 0),o&&!k.nodeContains(a,o)&&(p=void 0),d&&p&&(o&&r&&!k.nodeContains(r,o)?p=void 0:d=void 0),d&&(l=d.acceptElement(e,t)),p&&(l=p.acceptElement(e,t))}if(void 0===l&&(l=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&$(e)&&!e.checked){const r=e.name;let n=t.cachedRadioGroups[r];if(n||(n=function(e){if(!$(e))return;const t=e.name;let r,n=Array.from(k.getElementsByName(e,t));return n=n.filter((e=>!!$(e)&&(e.checked&&(r=e),!0))),{name:t,buttons:new Set(n),checked:r}}(e),n&&(t.cachedRadioGroups[r]=n)),(null==n?void 0:n.checked)&&n.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return l}constructor(e){this._tabster=e}}const re="Home",ne="ArrowLeft",oe="ArrowUp",ie="ArrowRight",ae="ArrowDown",se={2:0,3:1,1:2};class le extends ee{dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener(n.Oy,this._onFocusIn,!0),t.removeEventListener(n.RY,this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete le._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var r,n;let o=le._lastResetElement,i=o&&o.get();i&&k.nodeContains(t,i)&&delete le._lastResetElement,i=null===(n=null===(r=e._nextVal)||void 0===r?void 0:r.element)||void 0===n?void 0:n.get(),i&&k.nodeContains(t,i)&&delete e._nextVal,o=e._lastVal,i=o&&o.get(),i&&k.nodeContains(t,i)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=null===(e=this._lastVal)||void 0===e?void 0:e.get();return(!t||t&&!K(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,r,n){return!!this._tabster.focusable.isFocusable(e,t,!1,r)&&(e.focus({preventScroll:n}),!0)}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){var r;const{container:n,ignoreAccessibility:o}=t;let i;if(n){const t=Z.getTabsterContext(this._tabster,n);t&&(i=null===(r=le.findNextTabbable(this._tabster,t,n,void 0,void 0,!e,o))||void 0===r?void 0:r.element)}return i&&!k.nodeContains(n,i)&&(i=void 0),i||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return!!r&&(this.focus(r,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),le._lastResetElement=new w(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const n=this._tabster.getWindow(),o=this._asyncFocus;if(o){if(se[e]>se[o.source])return;n.clearTimeout(o.timeout)}this._asyncFocus={source:e,callback:t,timeout:n.setTimeout((()=>{this._asyncFocus=void 0,t()}),r)}}cancelAsyncFocus(e){const t=this._asyncFocus;(null==t?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){null===r?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){var n,o;if(this._tabster._noop)return;const i={relatedTarget:t};if(e){const t=null===(n=le._lastResetElement)||void 0===n?void 0:n.get();if(le._lastResetElement=void 0,t===e||M(e))return;i.isFocusedProgrammatically=r;const a=Z.getTabsterContext(this._tabster,e),s=null===(o=null==a?void 0:a.modalizer)||void 0===o?void 0:o.userId;s&&(i.modalizerId=s)}const a=this._nextVal={element:e?new w(this._win,e):void 0,detail:i};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===a&&this.setVal(e,i),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new w(this._win,e))}static findNextTabbable(e,t,r,n,o,i,a){const s=r||t.root.getElement();if(!s)return null;let l=null;const u=le._isTabbingTimer,c=e.getWindow();u&&c.clearTimeout(u),le.isTabbing=!0,le._isTabbingTimer=c.setTimeout((()=>{delete le._isTabbingTimer,le.isTabbing=!1}),0);const d=t.modalizer,p=t.groupper,h=t.mover,g=t=>{if(l=t.findNextTabbable(n,o,i,a),n&&!(null==l?void 0:l.element)){const o=t!==d&&k.getParentElement(t.getElement());if(o){const s=Z.getTabsterContext(e,n,{referenceElement:o});if(s){const n=t.getElement(),u=i?n:n&&q(n)||n;u&&(l=le.findNextTabbable(e,s,r,u,o,i,a),l&&(l.outOfDOMOrder=!0))}}}};if(p&&h)g(t.groupperBeforeMover?p:h);else if(p)g(p);else if(h)g(h);else if(d)g(d);else{const t={container:s,currentElement:n,referenceElement:o,ignoreAccessibility:a,useActiveModalizer:!0},r={},u=e.focusable[i?"findPrev":"findNext"](t,r);l={element:u,outOfDOMOrder:r.outOfDOMOrder,uncontrolled:r.uncontrolled}}return l}constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;t.addEventListener(n.Oy,this._onFocusIn,!0),t.addEventListener(n.RY,this._onFocusOut,!0),e.addEventListener("keydown",this._onKeyDown,!0);const r=k.getActiveElement(t);r&&r!==t.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{var t;this._setFocusedElement(void 0,null===(t=e.detail)||void 0===t?void 0:t.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if("Tab"!==e.key||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const r=this._tabster,o=r.controlTab,i=Z.getTabsterContext(r,t);if(!i||i.ignoreKeydown(e))return;const a=e.shiftKey,s=le.findNextTabbable(r,i,void 0,t,void 0,a,!0),u=i.root.getElement();if(!u)return;const c=null==s?void 0:s.element,d=function(e,t){var r;const n=e.getParent;let o=t;do{const t=null===(r=l(e,o))||void 0===r?void 0:r.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(o,!!t.completely))return o;o=n(o)}while(o)}(r,t);if(c){const l=s.uncontrolled;if(i.uncontrolled||k.nodeContains(l,t)){if(!s.outOfDOMOrder&&l===i.uncontrolled||d&&!k.nodeContains(d,c))return;return void U.addPhantomDummyWithTarget(r,t,a,c)}if(l||"IFRAME"===c.tagName)return void(u.dispatchEvent(new b({by:"root",owner:u,next:c,relatedEvent:e}))&&U.moveWithPhantomDummy(this._tabster,null!=l?l:c,!1,a,e));(o||(null==s?void 0:s.outOfDOMOrder))&&u.dispatchEvent(new b({by:"root",owner:u,next:c,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),(0,n.kG)(c))}else!d&&u.dispatchEvent(new b({by:"root",owner:u,next:null,relatedEvent:e}))&&i.root.moveOutWithDefaultAction(a,e)},this._onChanged=(e,t)=>{var r,n;if(e)e.dispatchEvent(new f(t));else{const e=null===(r=this._lastVal)||void 0===r?void 0:r.get();if(e){const r={...t},o=Z.getTabsterContext(this._tabster,e),i=null===(n=null==o?void 0:o.modalizer)||void 0===n?void 0:n.userId;i&&(r.modalizerId=i),e.dispatchEvent(new v(r))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}}le.isTabbing=!1;class ue extends ee{dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),(0,n.bd)(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;null===(t=this._keyborg)||void 0===t||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(null===(e=this._keyborg)||void 0===e?void 0:e.isNavigatingWithKeyboard())}constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=(0,n.SQ)(e()),this._keyborg.subscribe(this._onChange)}}const ce=["input","textarea","*[contenteditable]"].join(", ");class de extends U{constructor(e,t,r,o){super(t,e,3,o),this._onFocusDummyInput=e=>{var t,r;const o=this._element.get(),i=e.input;if(o&&i){const a=Z.getTabsterContext(this._tabster,o);let s;a&&(s=null===(t=le.findNextTabbable(this._tabster,a,void 0,i,void 0,!e.isFirst,!0))||void 0===t?void 0:t.element);const l=null===(r=this._getMemorized())||void 0===r?void 0:r.get();l&&this._tabster.focusable.isFocusable(l)&&(s=l),s&&(0,n.kG)(s)}},this._tabster=t,this._getMemorized=r,this._setHandlers(this._onFocusDummyInput)}}class pe extends G{dispose(){var e;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager}setCurrent(e){this._current=e?new w(this._win,e):void 0,!this._props.trackState&&!this._props.visibilityAware||this._setCurrentTimer||(this._setCurrentTimer=this._win().setTimeout((()=>{var e;delete this._setCurrentTimer;const t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(const r of t){const t=null==r?void 0:r.get();if(t&&(null===(e=this._allElements)||void 0===e?void 0:e.get(t))===this){const e=this._props;if(t&&(void 0!==e.visibilityAware||e.trackState)){const e=this.getState(t);e&&t.dispatchEvent(new y(e))}}}})))}getCurrent(){var e;return(null===(e=this._current)||void 0===e?void 0:e.get())||null}findNextTabbable(e,t,r,n){const o=this.getElement(),i=o&&Q(e)===o;if(!o)return null;let a,s=null,l=!1;if(this._props.tabbable||i||e&&!k.nodeContains(o,e)){const i={currentElement:e,referenceElement:t,container:o,ignoreAccessibility:n,useActiveModalizer:!0},u={};s=this._tabster.focusable[r?"findPrev":"findNext"](i,u),l=!!u.outOfDOMOrder,a=u.uncontrolled}return{element:s,uncontrolled:a,outOfDOMOrder:l}}acceptElement(e,t){var r,n;if(!le.isTabbing)return(null===(r=t.currentCtx)||void 0===r?void 0:r.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:o,visibilityAware:i,hasDefault:a=!0}=this._props,s=this.getElement();if(s&&(o||i||a)&&(!k.nodeContains(s,t.from)||Q(t.from)===s)){let e;if(o){const r=null===(n=this._current)||void 0===n?void 0:n.get();r&&t.acceptCondition(r)&&(e=r)}if(!e&&a&&(e=this._tabster.focusable.findDefault({container:s,useActiveModalizer:!0})),!e&&i&&(e=this._tabster.focusable.findElement({container:s,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{var r;const n=B(this._win,e),o=this._visible[n];return s!==e&&!!(null===(r=this._allElements)||void 0===r?void 0:r.get(e))&&t.acceptCondition(e)&&(2===o||1===o&&(1===i||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=s,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const e=this.getElement();if(this._unobserve||!e||"undefined"==typeof MutationObserver)return;const t=this._win(),r=this._allElements=new WeakMap,n=this._tabster.focusable;let o=this._updateQueue=[];const i=k.createMutationObserver((e=>{for(const t of e){const e=t.target,r=t.removedNodes,n=t.addedNodes;if("attributes"===t.type)"tabindex"===t.attributeName&&o.push({element:e,type:2});else{for(let e=0;e<r.length;e++)o.push({element:r[e],type:3});for(let e=0;e<n.length;e++)o.push({element:n[e],type:1})}}d()})),a=(e,t)=>{var n,o;const i=r.get(e);i&&t&&(null===(n=this._intersectionObserver)||void 0===n||n.unobserve(e),r.delete(e)),i||t||(r.set(e,this),null===(o=this._intersectionObserver)||void 0===o||o.observe(e))},s=e=>{const t=n.isFocusable(e);r.get(e)?t||a(e,!0):t&&a(e)},u=e=>{const{mover:r}=p(e);if(r&&r!==this){if(r.getElement()!==e||!n.isFocusable(e))return;a(e)}const o=D(t.document,e,(e=>{const{mover:t,groupper:r}=p(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;const o=null==r?void 0:r.getFirst(!0);return r&&r.getElement()!==e&&o&&o!==e?NodeFilter.FILTER_REJECT:(n.isFocusable(e)&&a(e),NodeFilter.FILTER_SKIP)}));if(o)for(o.currentNode=e;o.nextNode(););},c=e=>{r.get(e)&&a(e,!0);for(let t=k.getFirstElementChild(e);t;t=k.getNextElementSibling(t))c(t)},d=()=>{!this._updateTimer&&o.length&&(this._updateTimer=t.setTimeout((()=>{delete this._updateTimer;for(const{element:e,type:t}of o)switch(t){case 2:s(e);break;case 1:u(e);break;case 3:c(e)}o=this._updateQueue=[]}),0))},p=e=>{const t={};for(let r=e;r;r=k.getParentElement(r)){const e=l(this._tabster,r);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};o.push({element:e,type:1}),d(),i.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{i.disconnect()}}getState(e){const t=B(this._win,e);if(t in this._visible){const r=this._visible[t]||0;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:r}}}constructor(e,t,r,n,o){var i;super(e,t,n),this._visible={},this._onIntersection=e=>{for(const t of e){const e=t.target,r=B(this._win,e);let n,o=this._fullyVisible;if(t.intersectionRatio>=.25?(n=t.intersectionRatio>=.75?2:1,2===n&&(o=r)):n=0,this._visible[r]!==n){void 0===n?(delete this._visible[r],o===r&&delete this._fullyVisible):(this._visible[r]=n,this._fullyVisible=o);const t=this.getState(e);t&&e.dispatchEvent(new y(t))}}},this._win=e.getWindow,this.visibilityTolerance=null!==(i=n.visibilityTolerance)&&void 0!==i?i:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=r;e.controlTab||(this.dummyManager=new de(this._element,e,(()=>n.memorizeCurrent?this._current:void 0),o))}}class he{dispose(){var e;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),null===(e=this._ignoredInputResolve)||void 0===e||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(d,this._onMoveFocus),t.removeEventListener(p,this._onMemorizedElement),Object.keys(this._movers).forEach((e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])}))}createMover(e,t,r){const n=new pe(this._tabster,e,this._onMoverDispose,t,r);return this._movers[n.id]=n,n}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,r){var o,i;const a=this._tabster,u=Z.getTabsterContext(a,e,{checkRtl:!0});if(!u||!u.mover||u.excludedFromMover||r&&u.ignoreKeydown(r))return null;const c=u.mover,d=c.getElement();if(u.groupperBeforeMover){const e=u.groupper;if(!e||e.isActive(!0))return null;for(let t=k.getParentElement(e.getElement());t&&t!==d;t=k.getParentElement(t))if(null===(i=null===(o=l(a,t))||void 0===o?void 0:o.groupper)||void 0===i?void 0:i.isActive(!0))return null}if(!d)return null;const p=a.focusable,h=c.getProps(),g=h.direction||s.Both,m=g===s.Both,f=m||g===s.Vertical,v=m||g===s.Horizontal,y=g===s.GridLinear,S=y||g===s.Grid,C=h.cyclic;let T,F,E,A=0,I=0;if(S&&(E=e.getBoundingClientRect(),A=Math.ceil(E.left),I=Math.floor(E.right)),u.rtl&&(4===t?t=3:3===t&&(t=4)),2===t&&f||4===t&&(v||S))if(T=p.findNext({currentElement:e,container:d,useActiveModalizer:!0}),T&&S){const e=Math.ceil(T.getBoundingClientRect().left);!y&&I>e&&(T=void 0)}else!T&&C&&(T=p.findFirst({container:d,useActiveModalizer:!0}));else if(1===t&&f||3===t&&(v||S))if(T=p.findPrev({currentElement:e,container:d,useActiveModalizer:!0}),T&&S){const e=Math.floor(T.getBoundingClientRect().right);!y&&e>A&&(T=void 0)}else!T&&C&&(T=p.findLast({container:d,useActiveModalizer:!0}));else if(7===t)S?p.findElement({container:d,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{var r;if(!p.isFocusable(t))return!1;const n=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&A<=n||(T=t,!1)}}):T=p.findFirst({container:d,useActiveModalizer:!0});else if(8===t)S?p.findElement({container:d,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{var r;if(!p.isFocusable(t))return!1;const n=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&A>=n||(T=t,!1)}}):T=p.findLast({container:d,useActiveModalizer:!0});else if(5===t){if(p.findElement({currentElement:e,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>!(!p.isFocusable(e)||N(this._win,e,c.visibilityTolerance)&&(T=e,1))}),S&&T){const e=Math.ceil(T.getBoundingClientRect().left);p.findElement({currentElement:T,container:d,useActiveModalizer:!0,acceptCondition:t=>{if(!p.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return A<r||e>=r||(T=t,!1)}})}F=!1}else if(6===t){if(p.findElement({currentElement:e,container:d,useActiveModalizer:!0,acceptCondition:e=>!(!p.isFocusable(e)||N(this._win,e,c.visibilityTolerance)&&(T=e,1))}),S&&T){const e=Math.ceil(T.getBoundingClientRect().left);p.findElement({currentElement:T,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!p.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return A>r||e<=r||(T=t,!1)}})}F=!0}else if(S){const r=1===t,n=A,o=Math.ceil(E.top),i=I,a=Math.floor(E.bottom);let s,l,u=0;p.findAll({container:d,currentElement:e,isBackward:r,onElement:e=>{const t=e.getBoundingClientRect(),c=Math.ceil(t.left),d=Math.ceil(t.top),p=Math.floor(t.right),h=Math.floor(t.bottom);if(r&&o<h||!r&&a>d)return!0;const g=Math.ceil(Math.min(i,p))-Math.floor(Math.max(n,c)),m=Math.ceil(Math.min(i-n,p-c));if(g>0&&m>=g){const t=g/m;t>u&&(s=e,u=t)}else if(0===u){const t=function(e,t,r,n,o,i,a,s){const l=r<o?o-r:a<e?e-a:0,u=n<i?i-n:s<t?t-s:0;return 0===l?u:0===u?l:Math.sqrt(l*l+u*u)}(n,o,i,a,c,d,p,h);(void 0===l||t<l)&&(l=t,s=e)}else if(u>0)return!1;return!0}}),T=s}return T&&(!r||r&&d.dispatchEvent(new b({by:"mover",owner:d,next:T,relatedEvent:r})))?(void 0!==F&&function(e,t,r){const n=O(t);if(n){const o=_(e,n),i=t.getBoundingClientRect();n.scrollTop+=r?i.top-o.top:i.bottom-o.bottom}}(this._win,T,F),r&&(r.preventDefault(),r.stopImmediatePropagation()),(0,n.kG)(T),T):null}async _isIgnoredInput(e,t){if("true"===e.getAttribute("aria-expanded")&&e.hasAttribute("aria-activedescendant"))return!0;if(W(e,ce)){let r,n=0,o=0,i=0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName){const r=e.type,a=e.value;if(i=(a||"").length,"email"===r||"number"===r){if(i){const r=k.getSelection(e);if(r){const e=r.toString().length,n=t===ne||t===oe;if(r.modify("extend",n?"backward":"forward","character"),e!==r.toString().length)return r.modify("extend",n?"forward":"backward","character"),!0;i=0}}}else{const t=e.selectionStart;if(null===t)return"hidden"===r;n=t||0,o=e.selectionEnd||0}}else"true"===e.contentEditable&&(r=new(function(e){const t=I(e);if(t.basics.Promise)return t.basics.Promise;throw new Error("No Promise defined.")}(this._win))((t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};const r=this._win();this._ignoredInputTimer&&r.clearTimeout(this._ignoredInputTimer);const{anchorNode:a,focusNode:s,anchorOffset:l,focusOffset:u}=k.getSelection(e)||{};this._ignoredInputTimer=r.setTimeout((()=>{var t,r,c;delete this._ignoredInputTimer;const{anchorNode:d,focusNode:p,anchorOffset:h,focusOffset:g}=k.getSelection(e)||{};if(d===a&&p===s&&h===l&&g===u){if(n=h||0,o=g||0,i=(null===(r=e.textContent)||void 0===r?void 0:r.length)||0,d&&p&&k.nodeContains(e,d)&&k.nodeContains(e,p)&&d!==e){let t=!1;const r=e=>{if(e===d)t=!0;else if(e===p)return!0;const i=e.textContent;if(i&&!k.getFirstChild(e)){const e=i.length;t?p!==d&&(o+=e):(n+=e,o+=e)}let a=!1;for(let t=k.getFirstChild(e);t&&!a;t=t.nextSibling)a=r(t);return a};r(e)}null===(c=this._ignoredInputResolve)||void 0===c||c.call(this,!0)}else null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1)}),0)})));if(r&&!await r)return!0;if(n!==o)return!0;if(n>0&&(t===ne||t===oe||t===re))return!0;if(n<i&&(t===ie||t===ae||"End"===t))return!0}return!1}constructor(e,t){this._init=()=>{const e=this._win();e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(d,this._onMoveFocus),e.addEventListener(p,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{var t;let r=e,n=e;for(let o=k.getParentElement(e);o;o=k.getParentElement(o)){const e=null===(t=l(this._tabster,o))||void 0===t?void 0:t.mover;e&&(e.setCurrent(n),r=void 0),!r&&this._tabster.focusable.isFocusable(o)&&(r=n=o)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const r=e.key;let n;if(r===ae?n=2:r===ie?n=4:r===oe?n=1:r===ne?n=3:"PageDown"===r?n=6:"PageUp"===r?n=5:r===re?n=7:"End"===r&&(n=8),!n)return;const o=this._tabster.focusedElement.getFocusedElement();o&&!await this._isIgnoredInput(o,r)&&this._moveFocus(o,n,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],n=null===(t=e.detail)||void 0===t?void 0:t.key;r&&void 0!==n&&!e.defaultPrevented&&(this._moveFocus(r,n),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{var t;const r=e.composedPath()[0];let n=null===(t=e.detail)||void 0===t?void 0:t.memorizedElement;if(r){const t=Z.getTabsterContext(this._tabster,r),o=null==t?void 0:t.mover;o&&(n&&!k.nodeContains(o.getElement(),n)&&(n=void 0),o.setCurrent(n),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}}class ge{isUncontrolledCompletely(e,t){var r;const n=null===(r=this._isUncontrolledCompletely)||void 0===r?void 0:r.call(this,e,t);return void 0===n?t:n}constructor(e){this._isUncontrolledCompletely=e}}class me extends G{dispose(){var e;if(this._props.type===a.Source){const t=null===(e=this._element)||void 0===e?void 0:e.get();null==t||t.removeEventListener("focusout",this._onFocusOut),null==t||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new S)}}constructor(e,t,r){var n;if(super(e,t,r),this._hasFocus=!1,this._onFocusOut=e=>{var t;const r=null===(t=this._element)||void 0===t?void 0:t.get();r&&null===e.relatedTarget&&r.dispatchEvent(new S),r&&!k.nodeContains(r,e.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===a.Source){const e=null===(n=this._element)||void 0===n?void 0:n.get();null==e||e.addEventListener("focusout",this._onFocusOut),null==e||e.addEventListener("focusin",this._onFocusIn),this._hasFocus=k.nodeContains(e,e&&k.getActiveElement(e.ownerDocument))}}}class fe{push(e){var t;(null===(t=this._stack[this._stack.length-1])||void 0===t?void 0:t.get())!==e&&(this._stack.length>fe.DEPTH&&this._stack.shift(),this._stack.push(new w(this._getWindow,e)))}pop(e){var t;void 0===e&&(e=()=>!0);const r=this._getWindow().document;for(let n=this._stack.length-1;n>=0;n--){const n=null===(t=this._stack.pop())||void 0===t?void 0:t.get();if(n&&k.nodeContains(r.body,k.getParentElement(n))&&e(n))return n}}constructor(e){this._stack=[],this._getWindow=e}}fe.DEPTH=10;class ve{dispose(){const e=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(2),e.removeEventListener(h,this._onRestoreFocus)}createRestorer(e,t){const r=new me(this._tabster,e,t);return t.type===a.Target&&k.getActiveElement(e.ownerDocument)===e&&this._history.push(e),r}constructor(e){this._onRestoreFocus=e=>{var t,r;this._focusedElementState.cancelAsyncFocus(2);const n=e.composedPath()[0];if(n){const e=null===(r=null===(t=l(this._tabster,n))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id;this._focusedElementState.requestAsyncFocus(2,(()=>this._restoreFocus(n,e)),0)}},this._onFocusIn=e=>{var t;if(!e)return;const r=l(this._tabster,e);(null===(t=null==r?void 0:r.restorer)||void 0===t?void 0:t.getProps().type)===a.Target&&this._history.push(e)},this._restoreFocus=(e,t)=>{var r;const n=this._getWindow().document;if(k.getActiveElement(n)!==n.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&k.nodeContains(n.body,e))return;const o=e=>{var t,r;return null===(r=null===(t=l(this._tabster,e))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id};null===(r=this._history.pop((e=>t===o(e))))||void 0===r||r.focus()},this._tabster=e,this._getWindow=e.getWindow,this._getWindow().addEventListener(h,this._onRestoreFocus),this._history=new fe(this._getWindow),this._keyboardNavState=e.keyboardNavigation,this._focusedElementState=e.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}}class be{static _overrideAttachShadow(e){const t=e.Element.prototype.attachShadow;t.__origAttachShadow||(Element.prototype.attachShadow=function(e){const r=t.call(this,e);for(const e of be._shadowObservers)e._addSubObserver(r);return r},Element.prototype.attachShadow.__origAttachShadow=t)}_addSubObserver(e){if(this._options&&this._callback&&!this._subObservers.has(e)&&this._options.subtree&&function(e,t){var r,n;if(!e||!t)return!1;let o=t;for(;o;){if(o===e)return!0;o="function"!=typeof o.assignedElements&&(null===(r=o.assignedSlot)||void 0===r?void 0:r.parentNode)?null===(n=o.assignedSlot)||void 0===n?void 0:n.parentNode:o.nodeType===document.DOCUMENT_FRAGMENT_NODE?o.host:o.parentNode}return!1}(this._root,e)){const t=new MutationObserver(this._callbackWrapper);this._subObservers.set(e,t),this._isObserving&&t.observe(e,this._options),this._walkShadows(e)}}disconnect(){this._isObserving=!1,delete this._options,be._shadowObservers.delete(this);for(const e of this._subObservers.values())e.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument,n=null==r?void 0:r.defaultView;r&&n&&(be._overrideAttachShadow(n),be._shadowObservers.add(this),this._root=e,this._options=t,this._isObserving=!0,this._observer.observe(e,t),this._walkShadows(e))}_walkShadows(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument;if(r){if(e===r)e=r.body;else{const t=e.shadowRoot;if(t)return void this._addSubObserver(t)}r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(e.nodeType===Node.ELEMENT_NODE)if(t){const t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{const t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}}).nextNode()}}takeRecords(){const e=this._observer.takeRecords();for(const t of this._subObservers.values())e.push(...t.takeRecords());return e}constructor(e){this._isObserving=!1,this._callbackWrapper=(e,t)=>{for(const t of e)if("childList"===t.type){const e=t.removedNodes,r=t.addedNodes;for(let t=0;t<e.length;t++)this._walkShadows(e[t],!0);for(let e=0;e<r.length;e++)this._walkShadows(r[e])}this._callback(e,t)},this._callback=e,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=new Map}}be._shadowObservers=new Set;class ye{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class Se{_mergeProps(e){var t;e&&(this.getParent=null!==(t=e.getParent)&&void 0!==t?t:this.getParent)}createTabster(e,t){const r=new ye(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){var e,t,r,n,o,i,a,s;this.internal.stopObserver();const l=this._win;null==l||l.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],l&&this._forgetMemorizedTimer&&(l.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),null===(e=this.outline)||void 0===e||e.dispose(),null===(t=this.crossOrigin)||void 0===t||t.dispose(),null===(r=this.deloser)||void 0===r||r.dispose(),null===(n=this.groupper)||void 0===n||n.dispose(),null===(o=this.mover)||void 0===o||o.dispose(),null===(i=this.modalizer)||void 0===i||i.dispose(),null===(a=this.observedElement)||void 0===a||a.dispose(),null===(s=this.restorer)||void 0===s||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),function(e){const t=I(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}(this.getWindow),L(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),l&&(function(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}(l),delete l.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let n=r.get(e);return n?!1===t&&0===Object.keys(n).length&&r.delete(e):!0===t&&(n={},r.set(e,n)),n}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer||(this._forgetMemorizedTimer=this._win.setTimeout((()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())L(this.getWindow,e),le.forgetMemorized(this.focusedElement,e)}),0),P(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=null===(t=this._win)||void 0===t?void 0:t.setTimeout((()=>{delete this._initTimer,this.drainInitQueue()}),0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach((e=>e()))}constructor(e,t){var r,n;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=function(e){const t=e.__tabsterInstanceContext;return new((null==t?void 0:t.basics.WeakMap)||WeakMap)}(e),this._win=e;const i=this.getWindow;(null==t?void 0:t.DOMAPI)&&function(e){for(const t of Object.keys(e))k[t]=e[t]}({...t.DOMAPI}),this.keyboardNavigation=new ue(i),this.focusedElement=new le(this,i),this.focusable=new te(this),this.root=new Z(this,null==t?void 0:t.autoRoot),this.uncontrolled=new ge((null==t?void 0:t.checkUncontrolledCompletely)||(null==t?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=null===(r=null==t?void 0:t.controlTab)||void 0===r||r,this.rootDummyInputs=!!(null==t?void 0:t.rootDummyInputs),this._dummyObserver=new V(i),this.getParent=null!==(n=null==t?void 0:t.getParent)&&void 0!==n?n:k.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=i().document;this._unobserve=function(e,t,r,n){if("undefined"==typeof MutationObserver)return()=>{};const i=t.getWindow;let a;function s(t,r){a||(a=I(i).elementByUId),u(t,r);const n=D(e,t,(e=>u(e,r)));if(n)for(;n.nextNode(););}function u(e,n){var s;if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const u=e.__tabsterElementUID;return u&&a&&(n?delete a[u]:null!==(s=a[u])&&void 0!==s||(a[u]=new w(i,e))),(l(t,e)||e.hasAttribute(o))&&r(t,e,n),NodeFilter.FILTER_SKIP}const c=k.createMutationObserver((e=>{var n,i,a,l,u;const c=new Set;for(const u of e){const e=u.target,d=u.removedNodes,p=u.addedNodes;if("attributes"===u.type)u.attributeName===o&&(c.has(e)||r(t,e));else{for(let r=0;r<d.length;r++){const o=d[r];c.add(o),s(o,!0),null===(i=(n=t._dummyObserver).domChanged)||void 0===i||i.call(n,e)}for(let r=0;r<p.length;r++)s(p[r]),null===(l=(a=t._dummyObserver).domChanged)||void 0===l||l.call(a,e)}}c.clear(),null===(u=t.modalizer)||void 0===u||u.hiddenUpdate()}));return n&&s(i().document.body),c.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[o]}),()=>{c.disconnect()}}(t,this,u,e)}}},R(i),this.queueInit((()=>{this.internal.resumeObserver(!0)}))}}function Ce(e,t){let r=function(e){return e.__tabsterInstance}(e);return r?r.createTabster(!1,t):(r=new Se(e,t),e.__tabsterInstance=r,r.createTabster())}function Te(e){const t=e.core;return t.mover||(t.mover=new he(t,t.getWindow)),t.mover}function ke(e){const t=e.core;return t.restorer||(t.restorer=new ve(t)),t.restorer}function Fe(e,t){e.core.disposeTabster(e,t)}},97992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearImmediate:()=>l,setImmediate:()=>s});let n=1;const o=new Map;let i,a=!1,s=(e,...t)=>(o.set(n,[e,t]),i(n),n++),l=e=>{o.delete(e)};function u(e){if(a)setTimeout(u,0,e);else{const t=o.get(e);if(t){a=!0;try{t[0](...t[1])}finally{l(e),a=!1}}}}const c="undefined"==typeof self?void 0===r.g?void 0:r.g:self;c.setImmediate?(s=c.setImmediate,l=c.clearImmediate):c.importScripts?function(){const e=new MessageChannel;e.port1.onmessage=e=>{u(e.data)},i=t=>{e.port2.postMessage(t)}}():function(){const e=`setImmediate$${Math.random()}$`;window.addEventListener("message",(t=>{"string"==typeof t.data&&t.data.startsWith(e)&&u(+t.data.slice(e.length))})),i=t=>{window.postMessage(e+t,"*")}}()},51646:(e,t,r)=>{var n=r(53641);e.exports=function(e){return n(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},25974:e=>{e.exports=function(e){return t.test(e)?e.toLowerCase():r.test(e)?(function(e){return e.replace(o,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():n.test(e)?function(e){return e.replace(i,(function(e,t,r){return t+" "+r.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var t=/\s/,r=/(_|-|\.|:)/,n=/([a-z][A-Z]|[A-Z][a-z])/,o=/[\W_]+(.|$)/g,i=/(.)([A-Z]+)/g},53641:(e,t,r)=>{var n=r(25974);e.exports=function(e){return n(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},54029:(e,t,r)=>{"use strict";r.d(t,{C6:()=>o,Cg:()=>s,Cl:()=>i,Tt:()=>a,fX:()=>l});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create},30125:(e,t,r)=>{var n=r(90496),o=r(15699),i=o;i.v1=n,i.v4=o,e.exports=i},72668:e=>{for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var n=r||0,o=t;return[o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]]].join("")}},39465:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var r=new Uint8Array(16);e.exports=function(){return t(r),r}}else{var n=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}},90496:(e,t,r)=>{var n,o,i=r(39465),a=r(72668),s=0,l=0;e.exports=function(e,t,r){var u=t&&r||0,c=t||[],d=(e=e||{}).node||n,p=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==p){var h=i();null==d&&(d=n=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=o=16383&(h[6]<<8|h[7]))}var g=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,f=g-s+(m-l)/1e4;if(f<0&&void 0===e.clockseq&&(p=p+1&16383),(f<0||g>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=g,l=m,o=p;var v=(1e4*(268435455&(g+=122192928e5))+m)%4294967296;c[u++]=v>>>24&255,c[u++]=v>>>16&255,c[u++]=v>>>8&255,c[u++]=255&v;var b=g/4294967296*1e4&268435455;c[u++]=b>>>8&255,c[u++]=255&b,c[u++]=b>>>24&15|16,c[u++]=b>>>16&255,c[u++]=p>>>8|128,c[u++]=255&p;for(var y=0;y<6;++y)c[u+y]=d[y];return t||a(c)}},15699:(e,t,r)=>{var n=r(39465),o=r(72668);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||n)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},1810:(e,t)=>{"use strict";function r(e,t,r){let n=0,o=e.length;for(;n<o;){const i=Math.floor((n+o)/2);r(e[i],t)<0?n=i+1:o=i}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.binsearch=function(e,t,n=void 0){return void 0===n&&(n=(e,t)=>e===t?0:e<t?-1:1),r(e,t,n)},t.strict_binsearch=function(e,t,n=void 0){const o=r(e,t,n);return o===e.length||0!==n(e[o],t)?-1:o}},94251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Colorize=void 0,t.tuple=d,t.find_all_proposed_fixes=g,t.numComparator=f;const n=r(1810),o=r(8135),i=r(30808),a=r(12048),s=r(47861),l=r(95110),u=r(91860);function c(e,t){if("number"==typeof e)return e-t;for(let r=0;r<e.length;r+=1){const n=c(e[r],t[r]);if(0!==n)return n}return 0}function d(...e){return e}class p{static setReportingThreshold(e){p.reportingThreshold=e}static getReportingThreshold(){return p.reportingThreshold}static setFormattingDiscount(e){p.formattingDiscount=e}static getFormattingDiscount(){return p.formattingDiscount}static process_formulas(e,t,r){(0,u.watchdog)("wd0xea1170");const n=JSON.stringify(o.ExcelUtils.baseVector()),i=(e,t)=>[e[0]+t[0],e[1]+t[1],e[2]+t[2]],a=[];for(let s=0;s<e.length;s++){(0,u.watchdog)("wd0xa1597b");const l=e[s];for(let c=0;c<l.length;c++){(0,u.watchdog)("wd0x0d7fc8");const d=l[c].toString();if(d.length>0){const l=o.ExcelUtils.all_dependencies(s,c,r+s,t+c,e),u=c+t+1,h=s+r+1;if(0===l.length)"="===d[0]&&a.push([[u,h,0],p.distinguishedZeroHash]);else{const e=l.reduce(i);if(JSON.stringify(e)===n)a.push([[u,h,0],e.toString()]);else{const t=this.hash_vector(e).toString();a.push([[u,h,0],t])}}}}}return a}static color_all_data(e){const t=[];for(const r of Object.keys(e)){(0,u.watchdog)("wd0xc22046");const e=r.split(","),n=Number(e[0]),o=Number(e[1]);t.push([[n,o,0],p.distinguishedZeroHash])}return t}static process_values(e,t,r,n){const o=[];for(let i=0;i<e.length;i++){(0,u.watchdog)("wd0x503d57");const a=e[i];for(let e=0;e<a.length;e++){(0,u.watchdog)("wd0x366ad1");const s=a[e].toString();if(s.length>0&&"="!==t[i][e][0]&&Number(s).toString()===s){const t=e+r+1,a=i+n+1;o.push([[t,a,1],p.distinguishedZeroHash])}}}return o}static identify_ranges(e,t){const r={};for(const t of e)(0,u.watchdog)("wd0x770d8c"),r[t[1]]=r[t[1]]||[],r[t[1]].push(t[0]);for(const e of Object.keys(r))(0,u.watchdog)("wd0x84ae4d"),r[e].sort(t);return r}static group_ranges(e,t){const r={};let n=0,o=1;t||(n=1,o=0);for(const t of Object.keys(e)){(0,u.watchdog)("wd0xa372ae"),r[t]=[];let i=e[t].shift(),a=i;for(const s of e[t])s[n]===a[n]&&s[o]===a[o]+1||(r[t].push([i,a]),i=s),a=s;r[t].push([i,a])}return r}static identify_groups(e){const t=this.identify_ranges(e,((e,t)=>e[0]===t[0]?e[1]-t[1]:e[0]-t[0])),r=this.group_ranges(t,!0),n=a.JSONclone.clone(r);return this.merge_groups(n)}static processed_to_matrix(e,t,r,n,o){const i=new Array(e);for(let r=0;r<e;r++)i[r]=new Array(t).fill(0);for(const e of o){const[[t,o,a],s]=e,l=o-n-1,u=t-r-1;let c=Number(p.distinguishedZeroHash);1===a||(c=Number(s)),i[l][u]=c}return i}static stencilize(e){return i.Stencil.stencil_computation(e,((e,t)=>e*t),1)}static compute_stencil_probabilities(e,t,r){const n=new Array(e);for(let r=0;r<e;r++)n[r]=new Array(t).fill(0);let o=0;const i={};for(let n=0;n<e;n++)for(let e=0;e<t;e++)i[r[n][e]]=i[r[n][e]]+1||1,0!==r[n][e]&&(o+=1);for(let a=0;a<e;a++)for(let e=0;e<t;e++)n[a][e]=i[r[a][e]]/o;let a=0,s=0;for(let n=0;n<e;n++)for(let e=0;e<t;e++)r[n][e]>0&&(s+=i[r[n][e]]);for(let n=0;n<e;n++)for(let e=0;e<t;e++)i[r[n][e]]>0&&(a+=this.entropy(i[r[n][e]]/s));return Math.log2(o),n}static generate_suspicious_cells(e,t,r,n,o,i,a=.01){const s=[];let l=0,u=0;for(let c=0;c<e;c++)for(let e=0;e<t;e++){const t=e+r+1,d=c+n+1;i[c][e]>0&&(l+=o[c][e],u+=1,i[c][e]<=a&&0!==o[c][e]&&s.push([t,d,i[c][e]]))}const c=l/u;return s.sort(((e,t)=>Math.abs(t[2]-c)-Math.abs(e[2]-c))),s}static process_suspicious(e,t,r){(0,u.watchdog)("wd0x72fd38"),new l.Timer("process_suspicious");const[n,i]=o.ExcelUtils.extract_sheet_cell(e),a=o.ExcelUtils.cell_dependency(i,0,0);let s=[];t.length>this.formulasThreshold?console.warn("Too many formulas to perform formula analysis."):s=p.process_formulas(t,a[0]-1,a[1]-1);let c=[],h=[];const g=r.length,m=r[0].length;if(r.length>this.valuesThreshold)console.warn("Too many values to perform reference analysis.");else{const e=o.ExcelUtils.generate_all_references(t,a[0]-1,a[1]-1);c=p.color_all_data(e),h=p.process_values(r,t,a[0]-1,a[1]-1)}const f=p.identify_groups(c),v=p.identify_groups(s);let b=[];return r.length<1e4&&(b=p.find_suspicious_cells(g,m,a,t,s,h,1)),d(b,v,f,p.generate_proposed_fixes(v))}static entropy(e){return-e*Math.log2(e)}static entropydiff(e,t){const r=e+t;return-(this.entropy(e/r)+this.entropy(t/r))/Math.log2(r)}static fix_metric(e,t,r,n){const[o,i]=t,[a,l]=n,u=s.RectangleUtils.area([[o[0],o[1],0],[i[0],i[1],0]]),c=s.RectangleUtils.area([[a[0],a[1],0],[l[0],l[1],0]]),d=Math.min(u,c),p=Math.max(u,c),h=Math.min(r,e),g=Math.max(r,e);let m=Math.abs(g-h)/this.Multiplier;m<1&&(m=1);let f=(1+this.entropydiff(d,p))/(m*d);return f=-f,f}static count_proposed_fixes(e){let t=0;for(const r in e){const[n,o]=e[r][1],[i,a]=e[r][2];t+=s.RectangleUtils.diagonal([[n[0],n[1],0],[o[0],o[1],0]]),t+=s.RectangleUtils.diagonal([[i[0],i[1],0],[a[0],a[1],0]])}return t}static fix_proposed_fixes(e){const t={},r={};for(const n in e){if(e[n][1]>e[n][2]){const t=e[n][1];e[n][1]=e[n][2],e[n][2]=t}t[JSON.stringify(e[n][1])]=e[n],r[JSON.stringify(e[n][2])]=e[n]}const n=[],o={};for(const i in e){const a=e[i][0];if(-a<p.reportingThreshold/100)continue;const s=JSON.stringify(e[i][1]),l=JSON.stringify(e[i][2]);if(s in r||l in t){if(!o[s]&&s in r){const t=[-a*JSON.parse(r[s][0]),e[i][1],r[s][1]];n.push(t),o[s]=!0,o[l]=!0;continue}if(!o[l]&&l in t){const r=[-a*JSON.parse(t[l][0]),e[i][1],t[l][2]];n.push(r),o[l]=!0,o[s]=!0}}else n.push(e[i])}return n}static generate_proposed_fixes(e){const t=g(e);return t.sort(c),t}static merge_groups(e){for(const t of Object.keys(e)){(0,u.watchdog)("wd0x781a33");const r=e[t].slice();e[t]=this.merge_individual_groups(r)}return e}static merge_individual_groups(e){const t=new l.Timer("merge_individual_groups");let r=0;for(e=e.sort();;){(0,u.watchdog)("wd0x0a3668");let n=!1;const o={},i=[],a=e.slice();for(;a.length>0;){const e=a.shift();for(let t=0;t<a.length;t++)if((0,u.watchdog)("wd0x9cf1d5"),s.RectangleUtils.is_mergeable(e,a[t])){const r=JSON.stringify(e),l=JSON.stringify(a[t]);if(!(r in o)&&!(l in o)){i.push(s.RectangleUtils.bounding_box(e,a[t])),o[r]=!0,o[l]=!0,n=!0;break}}}for(let t=0;t<e.length;t++)(0,u.watchdog)("wd0x1bc2bb"),JSON.stringify(e[t])in o||i.push(e[t]);if(i.sort(),!n)return i;if(e=i.slice(),r++,r>2e3)return console.warn("Too many iterations; abandoning this group."),t.split("done, "+r+" iterations."),[[[-1,-1,0],[-1,-1,0]]]}}static hash_vector(e){{const t=0,r=0,n=Math.abs(e[0]-t),o=Math.abs(e[1]-r),i=e[2];return this.Multiplier*(n+o+i)}}static adjust_proposed_fixes(e,t,r,n){return e.map((e=>{const o=e[0];if(100*-o<1)return null;const i=e[1].map((e=>e.toString().padStart(10,"0"))),a=e[2].map((e=>e.toString().padStart(10,"0"))),s=i<a?e[1]:e[2],l=i<a?e[2]:e[1],[[u,c],[p,h]]=s,[[g,m],[f,v]]=l,b=u-r-1,y=c-n-1,S=f-r-1,C=v-n-1;let T=!0;const k=JSON.stringify(t[y][b]);for(let e=y;e<=C;e++)for(let r=b;r<=S;r++)if(JSON.stringify(t[e][r])!==k){T=!1;break}return d(o,s,l,T)})).filter((e=>null!==e))}static find_suspicious_cells(e,t,r,n,o,i,a){return(0,u.watchdog)("wd0x8cabd6"),[]}}function h(e,t){const[r,n]=e,[o,i]=t;return r[0]!==o[0]?r[0]-o[0]:r[1]-o[1]}function g(e){let t=[];const r={};!function(e,t){for(const r of Object.keys(e))(0,u.watchdog)("wd0xa287cd"),t[r]=e[r].sort(h).map(((e,t,r)=>[e[0].map(((e,t,r)=>Number(e))),e[1].map(((e,t,r)=>Number(e)))]))}(e,r);const n={},o={};for(const t of Object.keys(e))(0,u.watchdog)("wd0xb02b87"),n[t]=r[t].map(((e,t,r)=>{const[n,o]=e;return n})),o[t]=r[t].map(((e,t,r)=>{const[n,o]=e;return o}));const i=function(e){const t={};for(const r of Object.keys(e)){let n=1e6,o=1e6,i=-1e6,a=-1e6;for(let t=0;t<e[r].length;t++){const s=e[r][t][0][0],l=e[r][t][1][0],u=e[r][t][0][1],c=e[r][t][1][1];l>i&&(i=l),s<n&&(n=s),c>a&&(a=c),u<o&&(o=u)}t[r]=[[n,o,0],[i,a,0]]}return t}(e),a=Object.keys(e);m(a,((e,t)=>i[e][0][0]-i[t][0][0]));const s=a.map(((e,t,r)=>i[e])),l=Object.keys(e);m(l,((e,t)=>i[e][0][1]-i[t][0][1]));const c=l.map(((e,t,r)=>i[e]));for(const d of Object.keys(e))for(let e=0;e<r[d].length;e++){(0,u.watchdog)("wd0xe37031");const p=b(d,r[d][e],0,a,l,n,o,i,s,c);t=t.concat(p)}return t=t.map(((e,t,r)=>f(e[1],e[2])<0?[e[0],e[2],e[1]]:[e[0],e[1],e[2]])),t=function(e){const t={};return e.filter((e=>!(t[e]=e in t)))}(t),t}function m(e,t){const r=e.map(((e,t)=>({item:e,index:t}))).sort(((e,r)=>t(e.item,r.item)||e.index-r.index)).map((({item:e})=>e));for(let t=0;t<e.length;t+=1)e[t]=r[t];return e}function f(e,t){for(let r=0;r<3;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0}function v(e,t,r,o){const i=e[0],a=e[1],s=t[0],l=t[1],u=[i-1,l,0],c=[s,a-1,0],d=[s+1,a,0],p=[i,l+1,0],h=[];let g=-1;if(g=(0,n.strict_binsearch)(o,u,f),-1!==g&&r[g][1]===a){const e=[r[g],o[g]];h.push(e)}if(g=(0,n.strict_binsearch)(o,c,f),-1!==g&&r[g][0]===i){const e=[r[g],o[g]];h.push(e)}if(g=(0,n.strict_binsearch)(r,d,f),-1!==g&&o[g][1]===l){const e=[r[g],o[g]];h.push(e)}if(g=(0,n.strict_binsearch)(r,p,f),-1!==g&&o[g][0]===s){const e=[r[g],o[g]];h.push(e)}return h}function b(e,t,r,o,i,a,s,l,u,c){const[d,h]=t;let g=[];const m=(0,n.binsearch)(u,t,((e,t)=>e[0][0]-t[0][0])),f=(0,n.binsearch)(c,t,((e,t)=>e[0][1]-t[0][1]));let b,y,S;m>f?(b=o,S=m,y=0):(b=i,S=f,y=1),S>0&&(S-=1);for(let r=S;r<b.length;r++){const n=b[r];if(n===e)continue;const o=l[n];if(0===y){if(h[0]+1<o[0][0])break}else if(h[1]+1<o[0][1])break;if(h[0]+1<o[0][0]||h[1]+1<o[0][1]||o[1][0]+1<d[0]||o[1][1]+1<d[1]);else{const r=v(d,h,a[n],s[n]);r.length>0&&(g=g.concat(r.map(((r,o,i)=>[p.fix_metric(parseFloat(e),t,parseFloat(n),r),t,r]))))}}return g}t.Colorize=p,p.reportingThreshold=35,p.suspiciousCellsReportingThreshold=85,p.formattingDiscount=50,p.formulasThreshold=1e4,p.valuesThreshold=1e4,p.Multiplier=1,p.distinguishedZeroHash="12345"},74072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detect_errors=function(e,t,r,l=1/0){t=t??n.Colorize.getFormattingDiscount(),r=r??n.Colorize.getReportingThreshold(),a.watchdog.arm(l);const u=e.worksheets.map((function(e){if((0,a.watchdog)("wd0x8d98cc"),0===e.formulas.length&&0===e.values.length)return{name:"",out:null};let l=e.usedRangeAddress;l=l.replace(/!(!+)/,"!");const u=new i.Timer("excelint"),[c,d,p,h]=n.Colorize.process_suspicious(l,e.formulas,e.values);(0,a.watchdog)("wd0x7919b4");const g=u.elapsedTime(),m=n.Colorize.adjust_proposed_fixes(h,e.styles,0,0),f=u.elapsedTime(),v=m.map((e=>{(0,a.watchdog)("wd0xfb8f16");const[o,i,s,l]=e;let u=-o;return l||(u*=(100-t)/100),100*u>=r?(0,n.tuple)(u,i,s,l):null})).filter((e=>null!==e)),b=(e,t)=>(t[0]-e[0]+1)*(t[1]-e[1]+1)*(t[2]-e[2]+1),y=u.elapsedTime(),S=v.map((t=>{(0,a.watchdog)("wd0x2375dd");const r=t[1][0][0]===t[2][0][0]?"vertical":"horizontal",n=[],i=[],s=[],l=[],u=[],c=[],d=[],p=[],h=[],g=t[3],m=[b(...t[1]),b(...t[2])];for(let r=0;r<2;r++){const a=t[r+1][0],g=a[1]-1,m=a[0]-1,f=e.formulas[g][m],v=o.ExcelUtils.numeric_constants(f);u.push(v),c.push(c.reduce(((e,t)=>e+t),0));const b=o.ExcelUtils.all_cell_dependencies(f,m+1,g+1,!1);d.push(b.length);const y=o.ExcelUtils.formulaToR1C1(f,m+1,g+1),S=o.ExcelUtils.column_index_to_name(m+1)+(g+1)+":",C=S+y;s.push(y),l.push(C),n.push(f),i.push(S+f),p.push((f.match(/\$/g)||[]).length),h.push(b)}const f=Math.abs(c[0]-c[1]),v=[];for(let e=0;e<h.length;e++)if(h[e].length>0){if("vertical"===r&&0===h[e][0][0]&&-1===h[e][0][1]){v.push("recurrent-formula");break}if("horizontal"===r&&-1===h[e][0][0]&&0===h[e][0][1]){v.push("recurrent-formula");break}}d[0]!==d[1]&&v.push("different-referent-count"),u[0].length!==u[1].length&&(1===Math.abs(u[0].length-u[1].length)?v.push("one-extra-constant"):v.push("number-of-constants-mismatch")),u[0].length>0&&u[1].length>0&&(d[0]+d[1]===0?v.push("both-constants"):d[0]*d[1]==0&&v.push("one-is-all-constants")),s[0]!==s[1]&&JSON.stringify(h[0].sort())!==JSON.stringify(h[1].sort())&&v.push("r1c1-mismatch"),p[0]!==p[1]&&v.push("absolute-ref-mismatch");for(let e=0;e<h.length;e++)if(h[e].length>0&&h[e][0][0]*h[e][0][1]!=0){v.push("off-axis-reference");break}return 0===v.length&&v.push("unclassified"),{bin:v,direction:r,sameFormat:g,rangeSizes:m,numbers:c,sameConstants:u[0]===u[1],numeric_difference:f,magnitude_numeric_difference:0===f?0:Math.log10(f),formulas:i,r1c1formulas:l,dependence_vectors:h}})),C=u.elapsedTime(),T=e.formulas.flat().filter((e=>e.length>0)).length,k=e.values.flat().filter((e=>e.length>0)).length,F=e.values[0].length,E=e.values.length,A=E*F,I=v.map((e=>e[0])).reduce(((e,t)=>e+t),0);let x=v.map((e=>((0,a.watchdog)("wd0xbcc23c"),e[0]>=r/100?s(e[1][0],e[1][1]).concat(s(e[2][0],e[2][1])):[])));const w=Array.from(new Set(x.flat(1).map((e=>JSON.stringify(e)))));x=w.map((e=>JSON.parse(e)));const P=u.elapsedTime(),R={suspiciousnessThreshold:r,formattingDiscount:t,proposedFixes:v,exampleFixes:S,suspiciousRanges:v.length,weightedSuspiciousRanges:I,suspiciousCells:x.length,elapsedTimeSeconds:P/1e3,proposedFixesTimeSeconds:g/1e3,adjustProposedFixesTimeSeconds:(f-g)/1e3,adjustFormatProposedFixesTimeSeconds:(y-f)/1e3,exampleFixesTimeSeconds:(C-y)/1e3,numCountingTimeSeconds:(P-C)/1e3,columns:F,rows:E,totalCells:A,numFormulaCells:T,numValueCells:k};return{name:e.sheetName,out:R}})).filter((e=>null!==e.out)),c={};for(const{name:e,out:t}of u)c[e]=t;return{workbookName:e.workbookName,worksheets:c}};const n=r(94251),o=r(8135),i=r(95110),a=r(91860);function s(e,t){const[r,n]=e,[o,i]=t,a=[];for(let e=r;e<=o;e++)for(let t=n;t<=i;t++)a.push([e,t,0]);return a}},8135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExcelUtils=void 0;const n=r(91860);class o{static column_name_to_index(e){if(1===e.length)return e[0].charCodeAt(0)-"A".charCodeAt(0)+1;let t=0;const r=e.split("");for(const e of r)t*=26,t+=e.charCodeAt(0)-"A".charCodeAt(0)+1;return t}static column_index_to_name(e){let t="";for(;e>0;)t+=String.fromCharCode((e-1)%26+65),e=Math.floor((e-1)/26);return t.split("").reverse().join("")}static cell_dependency(e,t,r){(0,n.watchdog)("wd0x1a9bd3");{const t=o.cell_both_absolute.exec(e);if(t){const e=o.column_name_to_index(t[1]);let r=Number(t[2]);return t[2][0]>=" "&&(r=Number(t[2].charCodeAt(0)-16384)),[e,r,0]}}(0,n.watchdog)("wd0xa26bda");{const t=o.cell_col_absolute.exec(e);if(t){const e=o.column_name_to_index(t[1]);let n=Number(t[2]);return t[2][0]>=" "&&(n=Number(t[2].charCodeAt(0)-16384)),[e,n-r,0]}}(0,n.watchdog)("wd0x2a23e1");{const r=o.cell_row_absolute.exec(e);if(r){const e=o.column_name_to_index(r[1]);let n=Number(r[2]);return r[2][0]>=" "&&(n=Number(r[2].charCodeAt(0)-16384)),[e-t,n,0]}}(0,n.watchdog)("wd0x3ebc91");{const n=o.cell_both_relative.exec(e);if(n){const e=o.column_name_to_index(n[1]);let i=Number(n[2]);return n[2][0]>=" "&&(i=Number(n[2].charCodeAt(0)-16384)),[e-t,i-r,0]}}throw new Error("We should never get here.")}static toR1C1(e,t,r=!1){const n=o.cell_dependency(e,0,0),i=o.cell_dependency(t,0,0);let a="R",s="C";r&&(a="ρ",s="γ");const l=[];i.forEach(((e,t,r)=>{l.push(e-n[t])}));let u="";return o.cell_both_absolute.exec(t)?u=a+i[1]+s+i[0]:o.cell_col_absolute.exec(t)?(0===l[1]?u+=a:u+=a+"["+l[1]+"]",u+=s+i[0]):o.cell_row_absolute.exec(t)?(0===l[0]?u+=s:u+=s+"["+l[0]+"]",u=a+i[1]+u):(0===l[1]?u+=a:u+=a+"["+l[1]+"]",0===l[0]?u+=s:u+=s+"["+l[0]+"]"),u}static formulaToR1C1(e,t,r){let n=e.slice();const i=o.column_index_to_name(t)+r;let a;for(;a=o.range_pair.exec(n);)a&&(a[1],a[2],n=n.replace(a[0],o.toR1C1(i,a[1],!0)+":"+o.toR1C1(i,a[2],!0)));let s=null;for(;s=o.single_dep.exec(n);)if(s){const e=s[1];n=n.replace(s[0],o.toR1C1(i,e,!0))}return n=n.replace(/ρ/g,"R"),n=n.replace(/γ/g,"C"),n}static extract_sheet_cell(e){(0,n.watchdog)("wd0x012630");const t=o.sheet_plus_cell.exec(e);return t?[t[1],t[2],t[2]]:["","",""]}static all_cell_dependencies(e,t,r,i=!0){(0,n.watchdog)("wd0x2f82fe");let a=null;const s=[];if("string"!=typeof e)return null;for(e=(e=(e=(e=(e=(e=(e=e.replace(this.formulas_with_numbers,"_")).replace(this.formulas_with_quoted_sheetnames_2,"_")).replace(this.formulas_with_quoted_sheetnames_1,"_")).replace(this.formulas_with_unquoted_sheetnames_2,"_")).replace(this.formulas_with_unquoted_sheetnames_1,"_")).replace(this.formulas_with_unquoted_sheetnames_1,"_")).replace(this.formulas_with_structured_references,"_");a=o.range_pair.exec(e);)if((0,n.watchdog)("wd0x784918"),a){const n=a[1],i=o.cell_dependency(n,t,r),l=a[2],u=o.cell_dependency(l,t,r),c=u[0]-i[0]+1,d=u[1]-i[1]+1;for(let e=0;e<c;e++)for(let t=0;t<d;t++)s.push([e+i[0],t+i[1],0]);e=e.replace(a[0],"_")}let l=null;for(;l=o.single_dep.exec(e);)if((0,n.watchdog)("wd0x0fb232"),l){const n=l[1],i=o.cell_dependency(n,t,r);s.push(i),e=e.replace(l[0],"_")}if(i){let t=null;for(;t=o.number_dep.exec(e);)(0,n.watchdog)("wd0xd82ed1"),t&&(s.push([0,0,1]),e=e.replace(t[0],"_"))}return s}static numeric_constants(e){const t=[];if("string"!=typeof(e=e.slice()))return t;e=(e=(e=(e=(e=(e=(e=e.replace(this.formulas_with_numbers,"_")).replace(this.formulas_with_quoted_sheetnames_2,"_")).replace(this.formulas_with_quoted_sheetnames_1,"_")).replace(this.formulas_with_unquoted_sheetnames_2,"_")).replace(this.formulas_with_unquoted_sheetnames_1,"_")).replace(this.formulas_with_unquoted_sheetnames_1,"_")).replace(this.formulas_with_structured_references,"_");let r=null;for(;r=o.range_pair.exec(e);)r&&(e=e.replace(r[0],"_"));let n=null;for(;n=o.single_dep.exec(e);)n&&(e=e.replace(n[0],"_"));let i=null;for(;i=o.number_dep.exec(e);)i&&(t.push(parseFloat(i)),e=e.replace(i[0],"_"));return t}static baseVector(){return[0,0,0]}static all_dependencies(e,t,r,i,a){(0,n.watchdog)("wd0x961028");let s=[];if(e>=a.length||t>=a[0].length||e<0||t<0)return[];const l=a[e][t];return l.length>1&&"="===l[0]&&(s=o.all_cell_dependencies(l,i,r)),s}static generate_all_references(e,t,r){(0,n.watchdog)("wd0x6a6002");const i={};for(let a=0;a<e.length;a++){const s=e[a];for(let a=0;a<s.length;a++){(0,n.watchdog)("wd0x93d412");const l=s[a];if("="===l[0]){const a=o.all_cell_dependencies(l,0,0);for(const o of a)if((0,n.watchdog)("wd0x8a466e"),0===o[0]&&0===o[1]&&0!==o[2]);else{const n=o[0]-t-1,a=o[1]-r-1;{let t=!1;if(a>=e.length||n>=e[0].length||n<0||a<0)t=!0;else{const r=e[a][n];void 0!==r&&"="!==r[0]&&(t=!0)}t&&(i[o.join(",")]=!0)}}}}}return i}}t.ExcelUtils=o,o.general_re="\\$?[A-Z][A-Z]?\\$?[\\d\\u2000-\\u6000]+",o.sheet_re="[^\\!]+",o.sheet_plus_cell=new RegExp("("+o.sheet_re+")\\!("+o.general_re+")"),o.sheet_plus_range=new RegExp("("+o.sheet_re+")\\!("+o.general_re+"):("+o.general_re+")"),o.single_dep=new RegExp("("+o.general_re+")"),o.range_pair=new RegExp("("+o.general_re+"):("+o.general_re+")","g"),o.number_dep=new RegExp("([0-9]+\\.?[0-9]*)"),o.cell_both_relative=new RegExp("[^\\$A-Z]?([A-Z][A-Z]?)([\\d\\u2000-\\u6000]+)"),o.cell_col_absolute=new RegExp("\\$([A-Z][A-Z]?)([\\d\\u2000-\\u6000]+)"),o.cell_row_absolute=new RegExp("[^\\$A-Z]?([A-Z][A-Z]?)\\$([\\d\\u2000-\\u6000]+)"),o.cell_both_absolute=new RegExp("\\$([A-Z][A-Z]?)\\$([\\d\\u2000-\\u6000]+)"),o.formulas_with_numbers=new RegExp("/ATAN2|BIN2DEC|BIN2HEX|BIN2OCT|DAYS360|DEC2BIN|DEC2HEX|DEC2OCT|HEX2BIN|HEX2DEC|HEX2OCT|IMLOG2|IMLOG10|LOG10|OCT2BIN|OCT2DEC|OCT2HEX|SUNX2MY2|SUMX2PY2|SUMXMY2|T.DIST.2T|T.INV.2T/","g"),o.formulas_with_quoted_sheetnames_1=new RegExp("'[^']*'!\\$?[A-Z][A-Z]?\\$?\\d+","g"),o.formulas_with_quoted_sheetnames_2=new RegExp("'[^']*'!\\$?[A-Z][A-Z]?\\$?\\d+:\\$?[A-Z][A-Z]?\\$?\\d+","g"),o.formulas_with_unquoted_sheetnames_1=new RegExp("[A-Za-z0-9]+!\\$?[A-Z][A-Z]?\\$?\\d+","g"),o.formulas_with_unquoted_sheetnames_2=new RegExp("[A-Za-z0-9]+!\\$?[A-Z][A-Z]?\\$?\\d+:\\$?[A-Z][A-Z]?\\$?\\d+","g"),o.formulas_with_structured_references=new RegExp("\\[([^\\]])*\\]","g"),o.originalSheetSuffix="_EL"},1311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detect_errors=void 0;var n=r(74072);Object.defineProperty(t,"detect_errors",{enumerable:!0,get:function(){return n.detect_errors}})},30808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stencil=t.InfoGain=void 0,t.InfoGain=class{static normalized_entropy(e){const t=e.reduce(((e,t)=>e+t),0);let r=0;for(let n=0;n<e.length;n++){const o=e[n]/t;0!==o&&(r-=o*Math.log2(o))}return r/Math.log2(t)}};class r{static initialize(){if(!r.initialized){if(r.stencil_right=r.stencil.filter((([e,t])=>e<=0)),r.stencil_left=r.stencil.filter((([e,t])=>e>=0)),r.stencil_top=r.stencil.filter((([e,t])=>t>=0)),r.stencil_bottom=r.stencil.filter((([e,t])=>t<=0)),r.stencil_topleft=r.stencil_top.filter((([e,t])=>e>=0)),r.stencil_topright=r.stencil_top.filter((([e,t])=>e<=0)),r.stencil_bottomleft=r.stencil_bottom.filter((([e,t])=>e>=0)),r.stencil_bottomright=r.stencil_bottom.filter((([e,t])=>e<=0)),r.reflectStencils){let e;e=r.stencil.filter((([e,t])=>e>0)).map((([e,t])=>[-e,t])),r.stencil_right=r.stencil_right.concat(e),e=r.stencil.filter((([e,t])=>e<0)).map((([e,t])=>[-e,t])),r.stencil_left=r.stencil_left.concat(e),e=r.stencil.filter((([e,t])=>t<0)).map((([e,t])=>[e,-t])),r.stencil_top=r.stencil_top.concat(e),e=r.stencil.filter((([e,t])=>t>0)).map((([e,t])=>[e,-t])),r.stencil_bottom=r.stencil_bottom.concat(e),e=r.stencil_top.filter((([e,t])=>e<0)).map((([e,t])=>[-e,t])),r.stencil_topleft=r.stencil_topleft.concat(e),e=r.stencil_left.filter((([e,t])=>t<0)).map((([e,t])=>[e,-t])),r.stencil_topleft=r.stencil_topleft.concat(e),r.stencil_topleft.splice(r.stencil_topleft.findIndex((e=>JSON.stringify(e)===JSON.stringify([1,1]))),1),e=r.stencil_top.filter((([e,t])=>e>0)).map((([e,t])=>[-e,t])),r.stencil_topright=r.stencil_topright.concat(e),e=r.stencil_right.filter((([e,t])=>t<0)).map((([e,t])=>[e,-t])),r.stencil_topright=r.stencil_topright.concat(e),r.stencil_topright.splice(r.stencil_topright.findIndex((e=>JSON.stringify(e)===JSON.stringify([-1,1]))),1),e=r.stencil_bottom.map((([e,t])=>[-e,t])).filter((([e,t])=>e>0)),r.stencil_bottomleft=r.stencil_bottomleft.concat(e),e=r.stencil_left.map((([e,t])=>[e,-t])).filter((([e,t])=>t<0)),r.stencil_bottomleft=r.stencil_bottomleft.concat(e),r.stencil_bottomleft.splice(r.stencil_bottomleft.findIndex((e=>JSON.stringify(e)===JSON.stringify([1,-1]))),1),e=r.stencil_bottom.map((([e,t])=>[-e,t])).filter((([e,t])=>e<0)),r.stencil_bottomright=r.stencil_bottomright.concat(e),e=r.stencil_right.map((([e,t])=>[e,-t])).filter((([e,t])=>t<0)),r.stencil_bottomright=r.stencil_bottomright.concat(e),r.stencil_bottomright.splice(r.stencil_bottomright.findIndex((e=>JSON.stringify(e)===JSON.stringify([-1,-1]))),1)}r.initialized=!0}}static apply_stencil(e,t,n,o,i,a){if(e.length!==r.stencil.length)throw Error("Length mismatched");let s=i;for(let r=0;r<e.length;r++){const[i,l]=e[r];s=a(s,t[n+l][o+i])}return s}static stencil_computation(e,t,n){r.initialize();const o=e.length,i=e[0].length,a=Array(o).fill(0).map((()=>Array(i).fill(0)));for(let s=1;s<i-1;s++)for(let i=1;i<o-1;i++)a[i][s]=r.apply_stencil(r.stencil,e,s,i,n,t);for(let s=1;s<i-1;s++)a[0][s]=r.apply_stencil(r.stencil_top,e,0,s,n,t),a[o-1][s]=r.apply_stencil(r.stencil_bottom,e,o-1,s,n,t);for(let s=1;s<o-1;s++)a[s][0]=r.apply_stencil(r.stencil_left,e,s,0,n,t),a[s][i-1]=r.apply_stencil(r.stencil_right,e,s,i-1,n,t);return a[0][0]=r.apply_stencil(r.stencil_topleft,e,0,0,n,t),a[0][i-1]=r.apply_stencil(r.stencil_topright,e,0,i-1,n,t),a[o-1][0]=r.apply_stencil(r.stencil_bottomleft,e,o-1,0,n,t),a[o-1][i-1]=r.apply_stencil(r.stencil_bottomright,e,o-1,i-1,n,t),a}}t.Stencil=r,r.reflectStencils=!0,r.ninePointStencil=[[-1,-1],[-1,0],[-1,1],[0,-1],[0,0],[0,1],[1,-1],[1,0],[1,1]],r.stencil=r.ninePointStencil,r.initialized=!1},12048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONclone=void 0;class r{static clone(e){if(e){if(Array.isArray(e))return e.slice();if(e.constructor===Object){const t={};for(const n of Object.keys(e))t[n]=r.clone(e[n]);return t}return e}return null}}t.JSONclone=r},47861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RectangleUtils=void 0;class r{static is_adjacent(e,t){const[[r,n,o],[i,a,s]]=e,[[l,u,c],[d,p,h]]=t;return!(r-d>1||l-i>1||n-p>1||u-a>1)}static bounding_box(e,t){const[[r,n,o],[i,a,s]]=e,[[l,u,c],[d,p,h]]=t;return[[Math.min(r,l),Math.min(n,u),0],[Math.max(i,d),Math.max(a,p),0]]}static area(e){const[[t,r,n],[o,i,a]]=e;return(o-t+1)*(i-r+1)}static diagonal(e){const[[t,r,n],[o,i,a]]=e,s=o-t+1,l=i-r+1;return Math.sqrt(s*s+l*l)}static overlap(e,t){const[[r,n,o],[i,a,s]]=e,[[l,u,c],[d,p,h]]=t;let g=0,m=0;return g=i>d?d-r+1:i-l+1,m=a>p?p-n+1:a-u+1,g*m}static is_mergeable(e,t){return r.is_adjacent(e,t)&&r.area(e)+r.area(t)-r.overlap(e,t)===r.area(r.bounding_box(e,t))}}t.RectangleUtils=r},95110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0,t.createPerf=o;const r=1e9,n=1e6;function o(){return"undefined"!=typeof process?{now:()=>{const[e,t]=process.hrtime();return(e*r+t)/n}}:"undefined"!=typeof performance?performance:Date}t.Timer=class{start(){this.startTimeMS=this.perf.now(),this.splitTimeMS=this.startTimeMS}split(e){const t=this.perf.now(),r=t-this.splitTimeMS;console.warn("timer: "+this.name+" @ "+e+" : = "+this.roundMe(r)+" (total = "+this.roundMe(t-this.startTimeMS)+")"),this.splitTimeMS=t}elapsedTime(){return this.perf.now()-this.startTimeMS}roundMe(e){return Math.round(100*e)/100}constructor(e){this.perf=o(),this.name=e,this.start()}}},91860:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchdog=void 0;const n=(0,r(95110).createPerf)();t.watchdog=function(){let e=1/0;const t=(t="")=>{if(n.now()>e)throw new Error(`Time limit exceeded with message: ${t}`)};return t.arm=t=>{e=n.now()+t},t}()},76733:(e,t,r)=>{"use strict";r.d(t,{Xp:()=>h,dx:()=>p});var n=r(55056),o=r(26838),i=r(75724),a=[i.f5.lightBlue,i.f5.blue,i.f5.darkBlue,i.f5.teal,i.f5.green,i.f5.darkGreen,i.f5.lightPink,i.f5.pink,i.f5.magenta,i.f5.purple,i.f5.orange,i.f5.lightRed,i.f5.darkRed,i.f5.violet,i.f5.gold,i.f5.burgundy,i.f5.warmGray,i.f5.cyan,i.f5.rust,i.f5.coolGray],s=a.length;const l={"#4F6BED":i.f5.lightBlue,"#0078D4":i.f5.blue,"#004E8C":i.f5.darkBlue,"#038387":i.f5.teal,"#498205":i.f5.green,"#0B6A0B":i.f5.darkGreen,"#C239B3":i.f5.lightPink,"#E3008C":i.f5.pink,"#881798":i.f5.magenta,"#5C2E91":i.f5.purple,"#CA5010":i.f5.orange,"#EE1111":i.f5.red,"#D13438":i.f5.lightRed,"#A4262C":i.f5.darkRed,transparent:i.f5.transparent,"#8764B8":i.f5.violet,"#986F0B":i.f5.gold,"#750B1C":i.f5.burgundy,"#7A7574":i.f5.warmGray,"#005B70":i.f5.cyan,"#8E562E":i.f5.rust,"#69797E":i.f5.coolGray,"#1D1D1D":i.f5.black,"#393939":i.f5.gray},u={[i.f5.lightBlue]:"#4F6BED",[i.f5.blue]:"#0078D4",[i.f5.darkBlue]:"#004E8C",[i.f5.teal]:"#038387",[i.f5.lightGreen]:"#498205",[i.f5.green]:"#498205",[i.f5.darkGreen]:"#0B6A0B",[i.f5.lightPink]:"#C239B3",[i.f5.pink]:"#E3008C",[i.f5.magenta]:"#881798",[i.f5.purple]:"#5C2E91",[i.f5.orange]:"#CA5010",[i.f5.red]:"#EE1111",[i.f5.lightRed]:"#D13438",[i.f5.darkRed]:"#A4262C",[i.f5.transparent]:"transparent",[i.f5.violet]:"#8764B8",[i.f5.gold]:"#986F0B",[i.f5.burgundy]:"#750B1C",[i.f5.warmGray]:"#7A7574",[i.f5.cyan]:"#005B70",[i.f5.rust]:"#8E562E",[i.f5.coolGray]:"#69797E",[i.f5.black]:"#1D1D1D",[i.f5.gray]:"#393939"},c=(0,n.n)({...Object.fromEntries(Object.keys(l).map((e=>[e,{backgroundColor:e}])))}),d=(0,n.n)({baseColor:{color:"#FFFFFF"}}),p=(e,t)=>{const r=c(),n=d();return(0,o.z)(e?r[function(e){var t=e.primaryText,r=e.text,n=e.initialsColor;return"string"==typeof n?n:function(e){switch(e){case i.f5.lightBlue:return"#4F6BED";case i.f5.blue:return"#0078D4";case i.f5.darkBlue:return"#004E8C";case i.f5.teal:return"#038387";case i.f5.lightGreen:case i.f5.green:return"#498205";case i.f5.darkGreen:return"#0B6A0B";case i.f5.lightPink:return"#C239B3";case i.f5.pink:return"#E3008C";case i.f5.magenta:return"#881798";case i.f5.purple:return"#5C2E91";case i.f5.orange:return"#CA5010";case i.f5.red:return"#EE1111";case i.f5.lightRed:return"#D13438";case i.f5.darkRed:return"#A4262C";case i.f5.transparent:return"transparent";case i.f5.violet:return"#8764B8";case i.f5.gold:return"#986F0B";case i.f5.burgundy:return"#750B1C";case i.f5.warmGray:return"#7A7574";case i.f5.cyan:return"#005B70";case i.f5.rust:return"#8E562E";case i.f5.coolGray:return"#69797E";case i.f5.black:return"#1D1D1D";case i.f5.gray:return"#393939"}}(n=void 0!==n?n:function(e){var t=i.f5.blue;if(!e)return t;for(var r=0,n=e.length-1;n>=0;n--){var o=e.charCodeAt(n),l=n%8;r^=(o<<l)+(o>>8-l)}return a[r%s]}(r||t))}({primaryText:e,initialsColor:t})]:t?r[u[t]]:void 0,n.baseColor)},h=e=>Object.keys(i.f5).indexOf(e)>=0},43794:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppButton:()=>n.S,default:()=>a,getAppButtonMenuItem:()=>o.a,getAppButtonMenuItemWithoutMemoization:()=>o.Y,isAppButtonProps:()=>i.q});var n=r(86515),o=r(32005),i=r(6645);const a=n.S},77063:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppFlyoutAnchor:()=>n.y,default:()=>l,getActionFlyoutAnchorStyles:()=>a.ho,getAppFlyoutAnchorMenuItem:()=>s.Q,getAppFlyoutAnchorMenuItemWithMemoization:()=>s.i,getClassNamesForFlyoutAnchorMenuButton:()=>i.B,getSizedFlyoutAnchorStyles:()=>a.g,isAppFlyoutAnchorProps:()=>o.i,menuTextChevronClass:()=>a.iQ,menuTextContainerClass:()=>a.Q3,menuTextLine2Class:()=>a.Xb});var n=r(67289),o=r(13105),i=r(60309),a=r(15294),s=r(3713);const l=n.y},26367:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppSplitButton:()=>n.A,default:()=>l,getActionSplitButtonStyles:()=>a.Tt,getAppSplitButtonMenuItem:()=>s.e,getAppSplitButtonMenuItemWithMemoization:()=>s.Y,getClassNamesForMLRMenuSplitButton:()=>i.Gk,getClassNamesForSplitMenuButton:()=>i.t6,getSizedSplitButtonStyles:()=>a.C6,getSplitButtonVerticalDividerClassNames:()=>i.CC,isAppSplitButtonProps:()=>o.w,splitContainerClass:()=>a.u5,splitIconClass:()=>a.Kd,splitTextClass:()=>a.cB});var n=r(56227),o=r(30133),i=r(57013),a=r(55456),s=r(4733);const l=n.A},18309:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppToggleButton:()=>m,default:()=>y,getAppToggleButtonMenuItem:()=>b._,getClassNamesForAppToggleButtonInMenu:()=>f.T,isAppToggleButtonProps:()=>v.a});var n=r(10477),o=r(42745),i=r(10191),a=r(57674),s=r(85963),l=r(20203),u=r(40353),c=r(23162),d=r(62833),p=r(14465),h=r(11351),g=r(72497);class m extends n.PureComponent{render(){return n.createElement(h.l,{id:this.props.id,ref:this.baseButton,styles:this.props.styles,onClick:this.onExecute,onDoubleClick:this.handleDoubleClick,checked:this.props.toggled,toggle:!0,disabled:this.props.disabled,iconProps:(0,l.J)(this.props.icon,this.props.iconColor,this.props.toggleUsingIcon&&!this.props.toggled),...(0,g.t)(this.props.label,this.props.hideLabel),"data-automation-type":this.props.dataAutomationType||"AppToggleButton","data-unique-id":(0,i.lj)(this.props),role:this.props.role,title:this.props.title,onFocus:this.onFocus,keytipProps:(0,p.W)(this.props.keytipProps,this.keytipExecute),ariaLabel:this.props.label,ariaDescription:this.props.ariaDescription||this.props.customTooltip,onRenderText:this.props.onRenderText,"data-nav":this.props.dataNav,"aria-keyshortcuts":this.props.keyShortcuts})}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&(this.tooltipHost=new c.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.baseButton.current?.buttonElement,controlId:this.props.id,controlLabel:(0,d.R)(this.props.hideLabel,this.props.label,this.props.customTooltip),tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0,targetOverflowSetItem:!!(0,s.i2)(this.context,s.PE.tooltipsTargetOverflowSetItemEnabled),location:this.props.location}),this.tooltipHost.registerTooltipHostActions())}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label&&e.hideLabel===this.props.hideLabel||this.tooltipHost.updateTooltip((0,d.R)(this.props.hideLabel,this.props.label,this.props.customTooltip))}constructor(){super(...arguments),this.baseButton=n.createRef(),this.keytipExecute=e=>{(0,u.PB)(e,this.executeFromKeytip)},this.handleDoubleClick=e=>{this.props.isDoubleClickEnabled&&this.onExecute(e,!0)},this.onExecute=(e,t)=>{if(this.props.onExecute){const{id:r,toggled:n,location:o,shouldTakeFocus:i}=this.props;this.props.onExecute({id:r,toggled:n,location:o,inputMethod:this.baseButton?.current?.getInputMethod(e),shouldTakeFocus:i,triggerTime:e?.timeStamp,event:e?.nativeEvent,isDoubleClick:t})}},this.executeFromKeytip=()=>{if(this.props.onExecute){const{id:e,toggled:t,location:r,shouldTakeFocus:n}=this.props;this.props.onExecute({id:e,toggled:t,location:r,inputMethod:o.i.Keyboard,shouldTakeFocus:n})}},this.onFocus=()=>{this.props?.onFocus?.()}}}m.contextType=a.B;var f=r(99997),v=r(38701),b=r(52913);const y=m},37308:(e,t,r)=>{"use strict";r.d(t,{P:()=>p});var n=r(39398),o=r(90044),i=r(26184),a=r(28389),s=r(74445),l=r(69284),u=r(59928),c=r(10011),d=r(80894);const p=(0,o.J9)(((e,t)=>{const r=(e=>{const t=(0,i.B)(e);return{root:[{backgroundColor:"transparent",color:t.textColor,fontWeight:"normal",borderRadius:0,border:`${a.H}px solid transparent`,height:s.Z.controlHeight,padding:`0 ${d.c}px`},{selectors:{":hover":{backgroundColor:t.hoverBackgroundColor,color:t.textColor},":active":{backgroundColor:t.pressedBackgroundColor},[l.si]:{selectors:{":active":{backgroundColor:t.pressedBackgroundColor}}}}}],rootDisabled:{backgroundColor:"transparent",color:t.textDisabledColor,border:"1px solid transparent",selectors:{":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"},[l.si]:[[(0,u.C$)(e),{backgroundColor:t.focusDisabledBackgroundColor}]]}},rootChecked:{backgroundColor:t.toggledBackgroundColor,color:t.textColor,borderColor:t.focusedBorderColor,selectors:{[l.si]:{backgroundColor:t.toggledBackgroundColor,selectors:{":hover":{backgroundColor:t.hoverBackgroundColor}}}}},rootExpanded:{backgroundColor:t.toggledBackgroundColor,selectors:{":hover":{backgroundColor:t.hoverBackgroundColor}}},rootCheckedHovered:{backgroundColor:t.hoverBackgroundColor},rootCheckedDisabled:{backgroundColor:t.toggledBackgroundColor,selectors:{":hover":[(0,c.M)(e),l.s0],":active":[(0,c.M)(e),l.s0],[l.si]:[[(0,u.C$)(e),{backgroundColor:t.disabledBackgroundColor}]]}},label:{marginRight:2,marginLeft:10,fontWeight:n.BO.regular},menuIcon:{marginRight:2}}})(e);return(0,n.TW)(r,t)}))},11351:(e,t,r)=>{"use strict";r.d(t,{l:()=>p});var n=r(10477),o=r(10138),i=r(42745),a=r(15640),s=r(40480),l=r(10011),u=r(44366),c=r(57674),d=r(85963);class p extends n.PureComponent{render(){const e=(0,d.i2)(this.context,d.PE.trackOOUXAsyncUiEnabled);return n.createElement(s.V,null,(t=>n.createElement(n.Fragment,null,n.createElement(o.S,{elementRef:this.buttonRef,...this.props,componentRef:this.button,onMouseDown:this.onMouseDown,styles:(0,l.Z)(t,this.props.styles,void 0!==this.props.iconProps),allowDisabledFocus:!0,onPointerDown:this.onPointerDown,onPointerUp:this.onPointerUp}),e&&n.createElement(u.y,{elementTimingId:"AppBaseButton",hidden:!this.button?.current?.state||this.button.current.state.menuHidden,interactivityTrackerContext:void 0}))))}get buttonElement(){return this.buttonRef.current}constructor(){super(...arguments),this.button=n.createRef(),this.buttonRef=n.createRef(),this.pointerDownEventId=void 0,this.pointerInputMethod=void 0,this.openMenu=(e,t)=>{this.button.current&&this.button.current.openMenu(e,t)},this.dismissMenu=()=>{this.button.current&&this.button.current.dismissMenu()},this.focus=()=>{this.button.current&&this.button.current.focus()},this.getInputMethod=e=>{let t=this.pointerInputMethod;return!e||t===i.i.Pen||t===i.i.Touch||(0,a.lT)()&&t===i.i.Mouse||(t=(0,i.m)(e)),this.pointerInputMethod=void 0,t},this.onMouseDown=e=>{this.props.onMouseDown&&this.props.onMouseDown(e),this.props.takeFocusOnClick||e.preventDefault()},this.onPointerDown=e=>{this.pointerDownEventId=e.pointerId},this.onPointerUp=e=>{if(this.pointerDownEventId===e.pointerId)switch(e.pointerType){case"touch":this.pointerInputMethod=i.i.Touch;break;case"pen":this.pointerInputMethod=i.i.Pen;break;case"mouse":this.pointerInputMethod=i.i.Mouse;break;default:this.pointerInputMethod=i.i.Unknown}this.pointerDownEventId=void 0}}}p.contextType=c.B},10011:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,Z:()=>d});var n=r(39398),o=r(90044),i=r(31781),a=r(69284),s=r(59928),l=r(85631),u=r(80894);function c(e){const t=(0,i.C)(e);return{backgroundColor:t.toggledBackgroundColor,color:t.textColor,border:"1px solid transparent"}}const d=(0,o.J9)(((e,t,r=!1)=>{const o=(0,i.C)(e),d={root:[{height:32,backgroundColor:o.defaultBackgroundColor,color:o.textColor,padding:"0 11px",boxSizing:"border-box",border:`1px solid ${o.borderColor}`,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"default",verticalAlign:"top",borderRadius:2,fontSize:14,fontWeight:600,position:"relative"},a.Yw,(0,s.mt)(e,void 0,!1)],flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},rootDisabled:[{color:o.textDisabledColor,backgroundColor:o.disabledBackgroundColor,border:`1px solid ${o.disabledBorderColor}`,pointerEvents:"none",cursor:"default",selectors:{":hover":[{outline:0,backgroundColor:o.disabledBackgroundColor},a.uP],":focus":a.Fu,":active":{outline:0,backgroundColor:o.disabledBackgroundColor}}},a.G_,(0,s.mt)(e,void 0,!0)],rootHovered:[a.s0,a.KN],rootFocused:[a.s0,a.KN],rootChecked:[{backgroundColor:o.toggledBackgroundColor},a.s0,a.zr],rootCheckedHovered:[{backgroundColor:o.hoverBackgroundColor,color:o.textColor},a.s0,a.KN],rootCheckedDisabled:{backgroundColor:o.toggledBackgroundColor,selectors:{":hover":[c(e),a.uP],":active":[c(e),a.s0],":focus":[a.Fu]}},rootExpanded:[{backgroundColor:o.expandedBackgroundColor,selectors:{":hover":[a.KN,a.s0]}},a.s0],label:[l.Mb,{lineHeight:"100%",textAlign:"left",marginLeft:r?9:8,marginRight:8,display:"block"}],labelDisabled:[{color:o.textDisabledColor},a.G_],icon:{width:u.I,height:20,lineHeight:20,margin:0,fill:o.textColor},iconDisabled:{opacity:.4,selectors:{[n.up]:{opacity:1}}},textContainer:{flexGrow:1},screenReaderText:a.dX};return(0,n.TW)(d,t)}))},80894:(e,t,r)=>{"use strict";r.d(t,{I:()=>n,c:()=>o});const n=20,o=9},17713:(e,t,r)=>{"use strict";r.d(t,{EV:()=>p,Sw:()=>c,nV:()=>m,rx:()=>d,xU:()=>g});var n=r(39398),o=r(90044),i=r(31781),a=r(69284),s=r(74445),l=r(66069),u=r(21609);const c=(0,o.J9)(((e,t,r,n,o,i)=>"function"==typeof e?e(t,r,n,o,i):e)),d=(0,o.J9)((e=>({display:"inline-block",verticalAlign:"middle",flexShrink:"0",width:20,height:20,fontSize:20,lineHeight:20,margin:0,padding:"0 10px 0 0",fill:(0,i.C)(e).textColor}))),p={display:"inline-block",verticalAlign:"middle",flexShrink:"0",width:20,height:20,fontSize:u.k.fontSizeBase100,lineHeight:u.k.lineHeightBase300,margin:u.k.spacingHorizontalNone,padding:`${u.k.spacingVerticalNone} ${u.k.spacingHorizontalMNudge} ${u.k.spacingVerticalNone} ${u.k.spacingHorizontalNone}`,fill:u.k.legacy_neutralDark},h={selectors:{[n.up]:{backgroundColor:"Highlight",color:"HighlightText",outlineColor:"ButtonText",...(0,n.Qg)()}}},g="secondaryTextMenu",m=(e,t,...r)=>(0,o.J9)(((o,u,p)=>{const m=[];e&&m.push(c(e,u,p,void 0,void 0,o));for(const e of r)e&&m.push(c(e,u,p));const f=(0,n.l8)(...m),v=(0,i.C)(o);return(0,n.l8)({item:[{position:"relative",boxSizing:"border-box",selectors:{":hover":a.mp,":focus":a.mp}},u&&[a.G_,{selectors:{":hover":[a.uP,a.Jt],":focus":[a.Fu,a.G_]}}]],root:[{font:"inherit",color:v.textColor,width:"100%",textAlign:"left",backgroundColor:"transparent",boxSizing:"border-box",border:"1px solid transparent",borderRadius:0,display:"block",cursor:"default",height:s.Z.menuItemHeight,lineHeight:s.Z.menuItemHeight,padding:"0 15px 0 9px",outlineOffset:"-2px",selectors:{":hover":[h,{[`.${g}`]:{[n.up]:{color:"HighlightText"}}}],":focus":[h,{[`.${g}`]:{[n.up]:{color:"HighlightText"}}}],":active":[h,{[`.${g}`]:{[n.up]:{color:"HighlightText"}}}],[`.${g}`]:{padding:"0 0 0 20px",color:o?.palette.neutralPrimary,[n.up]:{color:"ButtonText"}}}},a.Yw,u&&[{color:v.textDisabledColor,pointerEvents:"none",userSelect:"none",selectors:{":hover":[a.uP,a.Jt],":focus":[a.Fu,a.G_],[`.${g}`]:{color:v.textDisabledColor,[n.up]:{color:"GrayText"}}}},a.G_],(0,l.$)(o,p,u),{selectors:{[a.si]:{backgroundColor:u?v.defaultBackgroundColor:v.menuFocusedBackgroundColor}}}],linkContent:{height:s.Z.menuItemHeight-2,display:"flex",alignItems:"center",position:"relative"},icon:[d(o),u&&{opacity:.4,selectors:{[n.up]:{opacity:1}}}],label:[{lineHeight:"normal",verticalAlign:"middle",display:"inline-block",flexGrow:"1",...(0,n.Qg)()},u&&a.G_],labelDisabled:a.G_,divider:{margin:"3px 8px"},checkmarkIcon:{},secondaryText:[g],subMenuIcon:{},splitContainer:{},splitPrimary:{},splitMenu:{},linkContentMenu:{},screenReaderText:[a.dX,{visibility:"hidden"}]},f,t)}));(0,o.J9)((e=>{const t={fontSize:12};return(0,n.l8)({root:{height:s.Z.smallMenuItemHeight,lineHeight:s.Z.smallMenuItemHeight},linkContent:{height:s.Z.smallMenuItemHeight-2},icon:{height:16,width:16,lineHeight:16},label:t,subMenuIcon:{height:12},secondaryText:{padding:"0 0 0 20px",...t}},e)}))},72497:(e,t,r)=>{"use strict";function n(e,t){return t?{title:e}:{text:e}}r.d(t,{t:()=>n})},86515:(e,t,r)=>{"use strict";r.d(t,{S:()=>f});var n=r(10477),o=r(42745),i=r(10191),a=r(57674),s=r(85963),l=r(20203),u=r(40353),c=r(62833),d=r(23162),p=r(14465),h=r(63580),g=r(11351),m=r(72497);class f extends n.PureComponent{render(){return n.createElement(g.l,{ref:this.baseButton,styles:this.props.styles,onClick:this.onExecute,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp,onMouseDown:this.props.onMouseDown,disabled:this.props.disabled,takeFocusOnClick:this.props.takeFocusOnClick,iconProps:(0,l.J)(this.props.icon,this.props.iconColor,void 0,this.props.flipIconInRtl),...(0,m.t)(this.props.label,this.props.hideLabel),"data-automation-type":this.props.dataAutomationType||"AppButton","data-unique-id":(0,i.lj)(this.props),role:this.props.role,keytipProps:(0,p.W)(this.props.keytipProps,this.keytipExecute),title:this.props.title,ariaLabel:this.props.fullDescriptionLabel||this.props.label,ariaDescription:this.props.ariaDescription?this.props.customTooltip?this.props.ariaDescription.trim()+" "+this.props.customTooltip.trim():this.props.ariaDescription.trim():this.props.customTooltip,"aria-expanded":this.props.ariaExpanded,onRenderText:this.props.onRenderText,onRenderChildren:this.props.onRenderChildren,lang:this.props.lang,id:this.props.noDomId?void 0:this.props.id,"data-nav":this.props.dataNav,className:this.props.className,"aria-keyshortcuts":this.props.keyShortcuts,"aria-current":this.props.ariaCurrent,...this.props.tabsterAttributes?{[h.d]:this.props.tabsterAttributes}:{}})}componentDidMount(){this.initializeTooltipHost()}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){e.customTooltip===this.props.customTooltip&&e.label===this.props.label&&e.hideLabel===this.props.hideLabel||(this.tooltipHost?this.tooltipHost.updateTooltip((0,c.R)(this.props.hideLabel,this.props.label,this.props.customTooltip)):this.initializeTooltipHost())}initializeTooltipHost(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&(this.tooltipHost=new d.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.baseButton.current?.buttonElement,controlId:this.props.id,controlLabel:(0,c.R)(this.props.hideLabel,this.props.label,this.props.customTooltip),tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!this.context?.isPlatformFeatureEnabled?.(s.H9.disableDelayRenderToolTipMultiWindow),targetOverflowSetItem:!!(0,s.i2)(this.context,s.PE.tooltipsTargetOverflowSetItemEnabled),location:this.props.location}),this.tooltipHost.registerTooltipHostActions())}focus(){this.baseButton&&this.baseButton.current&&this.baseButton.current.focus()}removeToolTip(){this.tooltipHost?.setTooltipUndefined()}constructor(){super(...arguments),this.baseButton=n.createRef(),this.keytipExecute=e=>{(0,u.PB)(e,this.executeFromKeytip)},this.onExecute=e=>{if(this.props.onExecute){const{id:t,location:r,shouldTakeFocus:n}=this.props;this.props.onExecute({id:t,location:r,inputMethod:this.baseButton?.current?.getInputMethod(e),shouldTakeFocus:n,triggerTime:e&&e.timeStamp,event:e.nativeEvent})}},this.executeFromKeytip=()=>{if(this.props.onExecute){const{id:e,location:t}=this.props;this.props.onExecute({id:e,location:t,inputMethod:o.i.Keyboard})}},this.onFocus=()=>{this.props?.onFocus?.()},this.onBlur=()=>{this.props?.onBlur?.()}}}f.contextType=a.B},32005:(e,t,r)=>{"use strict";r.d(t,{Y:()=>p,a:()=>h});var n=r(10477),o=r(42745),i=r(10191),a=r(20203),s=r(40353),l=r(27931),u=r(97439),c=r(97177),d=r(17713);const p=(e,t,r,l,p,h)=>{const g=()=>t.onExecute&&t.onExecute({id:t.id,location:t.location,inputMethod:o.i.Keyboard,shouldTakeFocus:t.shouldTakeFocus,terminalParentControlId:t.terminalParentControlId}),m=n.createRef(),f=h?(0,u.k)(t.fullDescriptionLabel):(0,u.k)(t.fullDescriptionLabel||t.label),v=void 0!==t.dismissHostingSurfaceOnExecute?{...l?.data,persistOnClick:t.dismissHostingSurfaceOnExecute}:l?.data;return{...l,key:t.id,name:t.label,iconProps:(0,a.J)(t.icon,t.iconColor,void 0,t.flipIconInRtl,t.disabled),onClick:e=>{t.onExecute&&t.onExecute({id:t.id,location:t.location,inputMethod:e&&(0,o.m)(e),shouldTakeFocus:t.shouldTakeFocus,dismissHostingSurfaceOnExecute:t.dismissHostingSurfaceOnExecute,triggerTime:e&&e.timeStamp,event:e?.nativeEvent,terminalParentControlId:t.terminalParentControlId}),!1===t.dismissHostingSurfaceOnExecute&&e?.preventDefault()},onFocus:t.onFocus,onBlur:t.onBlur,disabled:t.disabled,onRenderContent:p,getItemClassNames:(0,d.nV)(r,t.styles),keytipProps:t.keytipProps&&(0,c.J)(t.keytipProps,(e=>{(0,s.cs)(e,m,g,t.dismissHostingSurfaceOnExecute)})),componentRef:m,lang:t.lang,title:void 0,ariaLabel:f,ariaDescription:t.customTooltip,secondaryText:t.secondaryText,"data-unique-id":(0,i.lj)(t),"aria-keyshortcuts":t.keyShortcuts,data:v}},h=(0,l.Y)(p)},6645:(e,t,r)=>{"use strict";r.d(t,{q:()=>n});const n=e=>"AppButtonProps"===e.type},72272:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r(58559),o=r(51641),i=r(14465),a=r(18970);const s=(e,t)=>{const{disabled:r,customKeytipFunction:s}=e,l=(0,o.b)({...e,deriveKeytip:s??i.W},t,"AppButton"),u=(0,n.P)({...e,type:"button",disabledFocusable:r},l);return(0,a.g)(e,u)}},18970:(e,t,r)=>{"use strict";r.d(t,{g:()=>S});var n=r(10477),o=r(85631),i=r(10191),a=r(6813),s=r(69284),l=r(85963),u=r(57674),c=r(37241),d=r(43839),p=r(1290),h=r(20203),g=r(42745),m=r(15640),f=r(55056),v=r(26838),b=r(63900);const y=(0,f.n)({base:{[`& .${s.zD}`]:{...b.dX}},iconBefore:{marginRight:"0px"},iconAfter:{marginLeft:"0px"}}),S=(e,t)=>{const{dataAutomationType:r,dataNav:f,fullDescriptionLabel:b,id:S,keyShortcuts:C,label:T,location:k,onExecute:F,onMouseDown:E,shouldTakeFocus:A,takeFocusOnClick:I,hideLabel:x,toggled:w=!1,ariaDescription:P,customTooltip:R,iconColor:D,flipIconInRtl:_,onClick:N,isDoubleClickEnabled:O=!1,hideIcon:M,disabled:B}=e,L=!!x;t.iconOnly=!1,t.root.children=L?void 0:t.root.children||n.createElement("span",{className:o.Mb},T),function(e,t){void 0!==t&&(e.root["aria-label"]=t)}(t,b||T),function(e,t){void 0!==t&&(e.root["aria-keyshortcuts"]=t)}(t,C),function(e,t){void 0!==t&&(e.root["data-automation-type"]=t)}(t,r??"AppButton"),function(e,t,r){const n=(0,i.lj)({id:t,location:r});void 0!==n&&(e.root["data-unique-id"]=n)}(t,S,k),function(e,t){void 0!==t&&(e.root["data-nav"]=t)}(t,f),function(e,t){const r=n.useRef((0,a.Bi)()).current,o=n.useContext(u.B);if(t){const i=e.root["aria-describedby"]||"",a=e.root["aria-label"]||"";e.root["aria-describedby"]=r+" "+i;const u=e.root.children?[n.createElement(n.Fragment,{key:r},e.root.children)]:[];u.push(n.createElement("span",{className:s.zD,id:r,key:`${r}-ariaDescription`},(0,l.i2)(o,l.PE.isDescriptionReadoutWithoutLabelEnabled)?function(e,t){return""!==t&&"string"==typeof e&&e.startsWith(t)?e.replace(t,"").trim():e}(t,a):t)),e.root.children=n.createElement(n.Fragment,null,u)}}(t,P||R);const K=n.useContext(u.B);!function(e,t,r,o){const i=n.useContext(u.B),a=!!(0,l.i2)(i,l.PE.fluentV9IconIsEnabled);if("string"==typeof e.icon?.children){const{icon:{children:i},iconName:s}=e,l=s??i;e.icon=d.Gk({children:a?n.createElement(p.z,{iconName:l,iconColor:t,hideIcon:o,flipInRtl:r}):n.createElement(c.I,{...(0,h.J)(l,t,o,r)})},{elementType:"span"})}}(t,D,_,!!(0,l.i2)(K,l.PE.fluentV9ToggleIconEnabled)&&M);const W=(e=>{const t=n.useRef(void 0),r=n.useRef(void 0);return e.root.onPointerDown=n.useCallback((e=>{t.current=e.pointerId}),[]),e.root.onPointerUp=n.useCallback((e=>{if(t.current===e.pointerId)switch(e.pointerType){case"touch":r.current=g.i.Touch;break;case"pen":r.current=g.i.Pen;break;case"mouse":r.current=g.i.Mouse;break;default:r.current=g.i.Unknown}t.current=void 0}),[]),n.useCallback((e=>{const t=r.current;return!e||t===g.i.Pen||t===g.i.Touch||(0,m.lT)()&&t===g.i.Mouse?t:(0,g.m)(e)}),[])})(t);return t.root.onClick=n.useCallback((e=>{B||(F?(F({id:S,location:k,toggled:w,inputMethod:W(e),shouldTakeFocus:A,triggerTime:e&&e.timeStamp,event:e?.nativeEvent}),N?.(e)):N?.(e))}),[F,S,k,w,W,A,N,B]),t.root.onMouseDown=n.useCallback((e=>{E&&E(e),I||e.preventDefault()}),[E,I]),((e,t,r)=>{const n=y();r&&(e.root.className=(0,v.z)(t&&n.base,e.root.className),e.icon&&(e.icon.className=(0,v.z)(t&&("before"===e.iconPosition?n.iconBefore:n.iconAfter),e.icon.className)))})(t,L,!!(0,l.i2)(K,l.PE.hideCustomTooltipInV9AppControlsEnabled)),t.root.onDoubleClick=n.useCallback((e=>{O&&F&&F({id:S,location:k,toggled:w,inputMethod:W(e),shouldTakeFocus:A,triggerTime:e&&e.timeStamp,event:e?.nativeEvent,isDoubleClick:!0})}),[W,S,O,k,F,A,w]),t}},32557:(e,t,r)=>{"use strict";r.d(t,{RK:()=>s,Ug:()=>u,nZ:()=>l});var n=r(39398),o=r(90044),i=r(31781),a=r(69284);const s=(0,o.J9)(((e,t)=>{const r=(0,i.C)(e);return(0,n.TW)({root:{minWidth:258,minHeight:84,width:"100%",padding:"12px 20px 16px 17px",lineHeight:"normal"},rootChecked:{backgroundColor:r.selectedBackgroundColor},rootCheckedHovered:[{backgroundColor:r.hoverBackgroundColor},a.KN,a.s0],rootHovered:{backgroundColor:r.hoverBackgroundColor},rootFocused:{backgroundColor:r.toggledBackgroundColor},textContainer:{textAlign:"left",marginLeft:14},label:{margin:0,fontWeight:"bold",display:"block"},labelDisabled:[{color:r.textDisabledColor},a.G_],descriptionDisabled:[{color:r.textDisabledColor},a.G_],icon:{height:48,width:48}},t)})),l=(0,o.J9)(((e,t)=>{const r=(0,i.C)(e);return(0,n.TW)({root:[{selectors:{":hover":a.mp,":focus":a.mp,[`${a.si}, &:focus`]:a.mp}}],rootHovered:[a.mp],rootFocused:{borderColor:r.focusedBorderColor,selectors:{":hover":{borderColor:"transparent"}}}},t)})),u=(0,o.J9)((()=>(0,n.l8)({table:{borderCollapse:"collapse"},column:{paddingRight:6},columnWithSeparation:{minWidth:"2.75em"}})))},6171:(e,t,r)=>{"use strict";r.d(t,{T:()=>b});var n=r(10477),o=r(39398),i=r(72341),a=r(31976),s=r(42745),l=r(10191),u=r(57674),c=r(20203),d=r(40353),p=r(40480),h=r(23162),g=r(14465),m=r(11351),f=r(72497),v=r(32557);class b extends n.PureComponent{componentDidMount(){this.initializeTooltipHost()}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0),this.async.dispose()}componentDidUpdate(e){this.props.customTooltip&&e.customTooltip!==this.props.customTooltip&&(this.tooltipHost?this.tooltipHost.updateTooltip(this.props.customTooltip):this.initializeTooltipHost())}initializeTooltipHost(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&this.props.customTooltip&&(this.tooltipHost=new h.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.baseButton.current?.buttonElement,controlId:this.props.id,controlLabel:this.props.customTooltip,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions())}removeToolTip(){this.tooltipHost?.setTooltipUndefined()}render(){let e="";return this.props.ariaDescription&&""!==this.props.ariaDescription&&(e=this.props.label+this.props.ariaDescription+this.props.description),n.createElement(p.V,null,(t=>n.createElement(m.l,{ref:this.baseButton,styles:(0,v.RK)(t,this.props.styles),onClick:this.onExecute,checked:this.props.toggled,toggle:this.props.toggleable,disabled:this.props.disabled,iconProps:(0,c.J)(this.props.icon,this.props.iconColor),data:this.props.description,onRenderDescription:this.onRenderCompoundButtonDescription,...(0,f.t)(this.props.label,void 0),"data-automation-type":this.props.dataAutomationType||"AppCompoundButton","data-unique-id":(0,l.lj)(this.props),"aria-setsize":this.props.setSize,"aria-posinset":this.props.positionInSet,role:this.props.role,"aria-checked":this.props.toggled,onMouseEnter:this.onMouseEnter,onMouseMove:this.onMouseMove,onMouseLeave:this.onMouseLeave,onWheel:this.onWheel,onKeyDown:this.onKeydown,keytipProps:(0,g.W)(this.props.keytipProps,this.keytipExecute),lang:this.props.lang,ariaLabel:e,ariaDescription:this.props.ariaDescription||this.props.customTooltip,"data-nav":this.props.dataNav})))}constructor(e){super(e),this.baseButton=n.createRef(),this.navigationIdleDelay_ms=250,this.keytipExecute=e=>{(0,d.PB)(e,this.executeFromKeytip)},this.onExecute=e=>{if(this.props.onExecute){const{id:t,toggled:r,location:n,shouldTakeFocus:o,terminalParentControlId:i}=this.props;this.props.onExecute({id:t,toggled:r,location:n,inputMethod:this.baseButton?.current?.getInputMethod(e),shouldTakeFocus:o,triggerTime:e&&e.timeStamp,event:e?.nativeEvent,terminalParentControlId:i})}},this.executeFromKeytip=()=>{if(this.props.onExecute){const{id:e,toggled:t,location:r,shouldTakeFocus:n,terminalParentControlId:o}=this.props;this.props.onExecute({id:e,toggled:t,location:r,inputMethod:s.i.Keyboard,shouldTakeFocus:n,terminalParentControlId:o})}},this.onMouseMove=e=>{if(this.props.enableFocusOnHover){const t=e.currentTarget;if(!this.isNavigationIdle||document&&t===document.activeElement)return;t.focus()}},this.onMouseEnter=e=>{this.props.enableFocusOnHover&&this.isNavigationIdle&&!this.props.disabled&&e.currentTarget.focus()},this.onMouseLeave=e=>{if(this.props.enableFocusOnHover&&this.isNavigationIdle&&!this.props.disabled){const t=document.querySelectorAll('[tabindex="0"][role="menu"]');for(let r=0;r<t.length;r+=1)if(t[r].contains(e.currentTarget)){t[r].setActive?t[r].setActive():t[r].focus();break}}},this.onWheel=()=>{this.setNavigationTimeout()},this.onKeydown=e=>{e.which!==i.c.up&&e.which!==i.c.down&&e.which!==i.c.left&&e.which!==i.c.right||this.setNavigationTimeout()},this.setNavigationTimeout=()=>{this.isNavigationIdle||void 0===this.navigationIdleTimeoutId?this.isNavigationIdle=!1:(this.async.clearTimeout(this.navigationIdleTimeoutId),this.navigationIdleTimeoutId=void 0),this.navigationIdleTimeoutId=this.async.setTimeout((()=>{this.isNavigationIdle=!0}),this.navigationIdleDelay_ms)},this.onRenderCompoundButtonDescription=e=>{let t=e.data;return"string"!=typeof t&&(t=n.createElement(y,{...e})),n.createElement("div",{className:e.styles&&(0,o.Zq)(e.styles.description)},t)},this.isNavigationIdle=!0,this.async=new a.j(this)}}b.contextType=u.B;const y=e=>{const t=(0,v.Ug)(),r=e.data;return n.createElement("table",{className:t.table},n.createElement("tbody",null,r.map(((r,o)=>n.createElement("tr",{key:`${e.id}-${o}-row`},r.map(((r,i)=>n.createElement("td",{key:`${e.id}-${o}${i}-column`,className:1===i?t.columnWithSeparation:t.column},r))))))))}},14310:(e,t,r)=>{"use strict";r.d(t,{M:()=>l}),r(10477);var n=r(43839),o=r(58559),i=r(15111),a=r(14465),s=r(18970);const l=(e,t)=>{const{disabled:r,keytipProps:l,useDirectClick:u,directClickRef:c,fullDescriptionLabel:d}=e,p=(0,i.k)(e,t,"AppButton",a.W,{directClickRef:c,keytipProps:l,useDirectClick:u}),h=(({contentContainer:e,secondaryContent:t,...r},i)=>{var a,s;const l={...(0,o.P)(r,i),components:{root:"button",icon:"span",contentContainer:"span",secondaryContent:"span"},contentContainer:n.Gk(e,{elementType:"span"}),secondaryContent:n.lq(t,{elementType:"span"})};return l.iconOnly=Boolean((null===(a=l.icon)||void 0===a?void 0:a.children)&&!r.children&&!(null===(s=l.secondaryContent)||void 0===s?void 0:s.children)),l})({...e,type:"button",disabledFocusable:r},p);return(0,s.g)(e,h),h.root["aria-label"]=d||void 0,h}},15294:(e,t,r)=>{"use strict";r.d(t,{Q3:()=>c,Xb:()=>d,g:()=>f,ho:()=>h,iQ:()=>p});var n=r(90044),o=r(39398),i=r(26184),a=r(69284),s=r(18550),l=r(91574),u=r(77769);const c="ribbon-menu-text",d="ribbon-menu-line2",p="ribbon-menu-chevron",h=(0,n.J9)(((e,t)=>{const r=(0,i.B)(e);return{root:{paddingLeft:9,paddingRight:t?9:0},label:{marginRight:2,marginLeft:10},menuIcon:{fill:r.textColor},textContainer:{selectors:{[`.${p}`]:{fill:r.textColor}}}}})),g={large:{textContainer:{selectors:{[`.${c}`]:[{display:"flex",alignItems:"center",flexDirection:"column"},a.gP],[`.${d}`]:{lineHeight:"normal"},[`.${p}`]:{width:8,height:8,padding:"0px 2px"}}}}},m={large:(0,o.TW)(g.large,{textContainer:{selectors:{[`.${d}`]:{lineHeight:"normal"}}}})};function f(e,t,r){const n=!e.hideLabel&&e.label,o=t===s.J.Large&&n&&(0,l.u)(e.label)?m:g;return(0,u.A)(t,r,o)}},67289:(e,t,r)=>{"use strict";r.d(t,{y:()=>D});var n=r(10477),o=r(90044),i=r(64608),a=r(33640),s=r(95583),l=r(10191),u=r(45368),c=r(57674),d=r(85963),p=r(20203),h=r(71938),g=r(40353),m=r(97014),f=r(66619),v=r(51974),b=r(32969),y=r(66152),S=r(5968),C=r(40480),T=r(23162),k=r(62833),F=r(6892),E=r(14465),A=r(11351),I=r(39398),x=r(31781),w=r(85631),P=r(69284);const R=(0,o.J9)(((e,t,r)=>{const n=(0,x.C)(e),o={root:{paddingRight:11,paddingLeft:11},label:[w.Mb,{marginRight:0,marginLeft:8}],labelDisabled:[{color:n.textDisabledColor},P.G_],menuIcon:{height:12,lineHeight:12,width:12,fill:n.textColor,marginLeft:4,marginRight:0},menuIconDisabled:{fill:n.textDisabledColor,selectors:{[I.up]:{opacity:1}}},rootChecked:{backgroundColor:n.toggledBackgroundColor}};return(0,I.TW)(o,r)}));class D extends n.PureComponent{render(){const{id:e,hideLabel:t,hideChevron:r,hideIcon:o,label:a,icon:s,disabled:c,iconColor:d,onRenderText:g,onRenderIcon:m,lang:f,role:T,toggled:k,ariaLabel:F,labelInMenu:I,shadowRenderMenu:x,deferredMenuDefinition:w,controlInMenuRendererFunction:P,menuDefinition:D,preventMenuExecution:_,noDomId:N,delayUpdateFocusOnHover:O}=this.props;return n.createElement(S.K.Provider,{value:(0,S.z)(!!this.state.isShadowRendering)},n.createElement(C.V,null,(S=>n.createElement(v.q.Provider,{value:w?{deferredMenuDefinition:w,getMenuPropsFromMenuDefinition:this.getMenuPropsFromMenuDefinitionFunction(P,S)}:v.l},n.createElement(A.l,{menuAs:w?.menuAs??b.Qt,id:N?void 0:e,ref:this.baseButton,menuProps:{...this.getMenuPropsFromMenuDefinitionFunction(P,S)(D),delayUpdateFocusOnHover:O},onFocus:this.onFocus,onBlur:this.onBlur,styles:R(S,!!r,this.props.styles),disabled:c,onRenderMenuIcon:r?i.K:void 0,iconProps:(0,p.J)(s,d,o),menuIconProps:(0,p.J)((0,h.r)(this.props)),onAfterMenuDismiss:this.onAfterMenuDismiss,text:a&&!t?a:void 0,"data-automation-type":this.props.dataAutomationType||"AppFlyoutAnchor","data-unique-id":(0,l.lj)(this.props),onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onPointerEnter:this.props.onPointerEnter,title:this.props.title,keytipProps:(0,E.W)(this.props.keytipProps,this.keytipExecute),ariaLabel:F||I||a,ariaDescription:this.props.customTooltip,onRenderText:g,onRenderIcon:m,role:T,lang:f,checked:k,toggle:void 0!==k,persistMenu:this.shouldPersistMenu(),renderPersistedMenuHiddenOnMount:(0,y.L)(x),"data-nav":this.props.dataNav,menuTriggerKeyCode:this.props.menuTriggerKeyCode,onMenuClick:_?(0,u.v)(this.executeMenuButton):this.setMenuExecutionEvent,"data-is-focusable":this.props.dataIsFocusable,"aria-keyshortcuts":this.props.keyShortcuts})))))}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&(this.tooltipHost=new T.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.baseButton.current?.buttonElement,controlId:this.props.id,controlLabel:(0,k.R)(this.props.hideLabel,this.props.label,this.props.customTooltip),tooltipTopMargin:this.props.fancyTooltipTopMargin,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0,targetOverflowSetItem:!!(0,d.i2)(this.context,d.PE.tooltipsTargetOverflowSetItemEnabled),location:this.props.location}),this.tooltipHost.registerTooltipHostActions()),this.tryInitiateShadowRendering()}componentDidUpdate(e){this.tryInitiateShadowRendering(),!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label&&e.hideLabel===this.props.hideLabel||this.tooltipHost.updateTooltip((0,k.R)(this.props.hideLabel,this.props.label,this.props.customTooltip)),this.menuExecutionEvent=void 0}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0),(0,d.i2)(this.context,d.PE.closeMenuOnUnmount)&&this.isMenuOpen&&(this.dismissMenu(),this.onAfterMenuDismiss())}unregisterTooltips(){this.tooltipHostMap.forEach((e=>{e.unregisterTooltipHostActions()})),this.tooltipHostMap.clear()}shouldPersistMenu(){return this.props.persistMenu&&this.state.menuHasBeenOpened}constructor(e){super(e),this.isMenuOpen=!1,this.baseButton=n.createRef(),this.tooltipHostMap=new Map,this.initiatedShadowRendering=!1,this.flyoutDropdownId="FlyoutDropDownId",this.openMenu=(e,t)=>{this.baseButton.current&&(this.baseButton.current.openMenu(e,t),(0,d.i2)(this.context,d.PE.closeMenuOnUnmount)&&(this.isMenuOpen=!0))},this.dismissMenu=()=>{this.baseButton.current&&(this.baseButton.current.dismissMenu(),(0,d.i2)(this.context,d.PE.closeMenuOnUnmount)&&(this.isMenuOpen=!1))},this.focus=()=>{this.baseButton.current&&this.baseButton.current.focus()},this.getMenuPropsFromMenuDefinitionFunction=(0,o.J9)(((e,t)=>(0,o.J9)((r=>{const{label:n,location:o,directionalHint:i,directionalHintFixed:a,useTargetAsMinWidth:s,calloutWidth:l,menuHostId:u,shouldFocusOnContainer:c,shouldFocusOnMount:p}=this.props,h=r?(0,m.Tp)({menuDefinition:r,controlInMenuRendererFunction:e,location:o,onSubMenuPositioned:this.onSubMenuReady,customMenuItemStyles:this.props.menuItemStyles,customMenuClassNames:this.props.menuClassNames,arePerfImprovementsEnabled:this.context.isExperimentalFeatureEnabled?.("ContextualUIPerfImprovementsIsEnabled"),onMenuPositioned:this.onCalloutReady,theme:t,isMultiWindowSupportEnabled:this.context.isExperimentalFeatureEnabled?.(d.PE.multiWindowSupportIsEnabled),terminalParentControlId:this.getTerminalParentControlId(),useFullDescriptionLabelOnly:this.context.isExperimentalFeatureEnabled?.(d.PE.useFullDescriptionLabelOnly),isExperimentalFeatureEnabled:this.context.isExperimentalFeatureEnabled},a,this.context.appWindow,this.context.responsiveClassName):f.R;return{...h,onMenuOpened:this.onMenuOpened,directionalHint:i,useTargetAsMinWidth:s,ariaLabel:n,id:this.flyoutDropdownId,shouldFocusOnContainer:c,shouldFocusOnMount:p,calloutProps:{...h.calloutProps,layerProps:{hostId:u},calloutWidth:l,preventDismissOnScroll:this.props.preventCalloutDismissOnScroll,shouldDismissOnWindowFocus:this.props.shouldDismissOnWindowFocus},focusZoneProps:{shouldInputLoseFocusOnArrowKey:()=>this.props.enableDownArrowNavigation??!1}}})))),this.keytipExecute=e=>{const{shouldFocusOnContainer:t,shouldFocusOnMount:r}=this.props;(0,g.PB)(e,(()=>this.openMenu(t,r)))},this.onAfterMenuDismiss=()=>{this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss(this.props.id),this.tooltipHost&&this.tooltipHost.hideAllTooltips(!1),this.tooltipHostMap&&this.unregisterTooltips()},this.onMenuOpened=()=>{(0,d.i2)(this.context,d.PE.closeMenuOnUnmount)&&(this.isMenuOpen=!0),this.state.menuHasBeenOpened||this.setState({menuHasBeenOpened:!0}),this.resetShadowRenderingAfterUserAction(),this.executeMenuButton(),this.tooltipHost&&this.tooltipHost.hideAllTooltips(!0)},this.executeMenuButton=()=>{const{id:e,location:t}=this.props;this.props.onExecute&&(this.props.onExecute({id:e,location:t,inputMethod:this.baseButton?.current?.getInputMethod(),event:this.menuExecutionEvent}),this.menuExecutionEvent=void 0)},this.onFocus=()=>{this.props.onFocus&&this.props.onFocus(this.props.id)},this.onBlur=()=>{this.props.onBlur&&this.props.onBlur(this.props.id)},this.onSubMenuReady=(e,t)=>{t&&(this.tooltipHostMap=(0,F.zm)(e,t+"MenuId",this.tooltipHostMap,this.context.setTooltipElement,this.context.updateTooltipsHidden,!0,this.context.appWindow))},this.onCalloutReady=e=>{0===this.tooltipHostMap.size&&(this.tooltipHostMap=(0,F.zm)(e,this.flyoutDropdownId,this.tooltipHostMap,this.context.setTooltipElement,this.context.updateTooltipsHidden,!0,this.context.appWindow))},this.tryInitiateShadowRendering=()=>{!this.initiatedShadowRendering&&(0,y.L)(this.props.shadowRenderMenu)&&(0,a.N)()&&!this.props.disabled&&!1===this.state.menuHasBeenOpened&&(this.initiatedShadowRendering=!0,window.requestIdleCallback((()=>{const{id:e,location:t}=this.props;this.props.onExecute&&this.props.onExecute({id:e,location:t,isShadowRendering:!0})}),void 0,`Flyout-${this.props.id}-ShadowMenuOpen`),window.requestIdleCallback((()=>{!1===this.state.menuHasBeenOpened&&this.setState({isShadowRendering:!0,menuHasBeenOpened:!0})}),void 0,`Flyout-${this.props.id}-StartShadowRendering`))},this.resetShadowRenderingAfterUserAction=()=>{this.state.isShadowRendering&&this.setState({isShadowRendering:!1})},this.setMenuExecutionEvent=e=>{this.menuExecutionEvent=e?.nativeEvent},this.getTerminalParentControlId=()=>{const{id:e,location:t,terminalParentControlId:r}=this.props;return t!==s.IZ.Overflow?r??e:r},this.state={menuHasBeenOpened:!1,isShadowRendering:!1},this.flyoutDropdownId=(0,l.ir)(this.props,this.props.id)}}D.defaultProps={directionalHintFixed:!0,useTargetAsMinWidth:!0},D.contextType=c.B},60309:(e,t,r)=>{"use strict";r.d(t,{B:()=>u});var n=r(39398),o=r(90044),i=r(69284),a=r(31781),s=r(16594),l=r(17713);const u=(e,t)=>(0,o.J9)(((r,o,u,c)=>{const d=(0,a.C)(r);return(0,n.l8)((0,l.nV)()(r,o,u),((e,t,r,o)=>(0,n.l8)({root:[{paddingRight:0,selectors:{":hover":[{backgroundColor:e.hoverBackgroundColor},i.mp],":active":[{backgroundColor:e.pressedBackgroundColor}]}},r&&[i.zr,i.mp],o&&[{backgroundColor:e.toggledBackgroundColor,border:`1px solid ${e.selectedBorderColor}`},i.zr,i.mp],t&&o&&{selectors:{[i.si]:{backgroundColor:e.toggledBackgroundColor}}}],subMenuIcon:[{display:"flex",width:38,height:16,justifyContent:"center",fill:(0,s.Q)()?e.textColor:"#444444"},t&&{opacity:.4}],label:{paddingRight:12}}))(d,o,u,c),e?(0,l.Sw)(e,o,u,c):e,t)}))},3713:(e,t,r)=>{"use strict";r.d(t,{Q:()=>b,i:()=>y});var n=r(10477),o=r(97130),i=r(10191),a=r(20203),s=r(86621),l=r(40353),u=r(27931),c=r(82462),d=r(97014),p=r(97439),h=r(97177),g=r(38295),m=r(60309);const f=(e,t,r,n,o,i,a,s,l)=>({...(0,d.N9)({menuDefinition:t.menuDefinition,controlInMenuRendererFunction:r,location:t.location,onSubMenuPositioned:n,subComponentStyles:o,customMenuClassNames:t.menuClassNames,arePerfImprovementsEnabled:i,onMenuItemExecuted:(0,g.g)(t.id,a),terminalParentControlId:t.terminalParentControlId??t.id,useFullDescriptionLabelOnly:s,isExperimentalFeatureEnabled:l},t.id),onMenuOpened:()=>t.onExecute&&t.onExecute({id:t.id,location:t.location}),onMenuDismissed:()=>t.onAfterMenuDismiss&&t.onAfterMenuDismiss(t.id,{location:t.location})}),v=(0,u.Y)(f,c.C),b=(e,t,r,u,c,d,g,b,y,S,C)=>{const T=n.createRef(),k=b&&!t.menuDefinition?.isFlexLayout?v:f,F=S?(0,p.k)(t.fullDescriptionLabel):(0,p.k)(t.fullDescriptionLabel||t.label),E=t.customTooltip;return{key:t.id,name:t.labelInMenu||t.label,iconProps:(0,a.J)(t.icon,t.iconColor,t.hideIcon,void 0,t.disabled),subMenuProps:k(e,t,r,c,g,b,y,S,C),submenuIconProps:(0,s.d)(u),arrowDirection:o.E.bidirectional,disabled:t.disabled,getItemClassNames:(0,m.B)(d,t.styles),keytipProps:t.keytipProps&&(0,h.J)(t.keytipProps,(e=>{(0,l.hz)(e,T)})),componentRef:T,lang:t.lang,checked:t.toggled,role:t.roleInMenu||"menuitem","data-unique-id":(0,i.lj)(t),"aria-keyshortcuts":t.keyShortcuts,ariaLabel:F,ariaDescription:E,secondaryText:t.secondaryText}},y=(0,u.Y)(b,c.C)},13105:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});const n=e=>"AppFlyoutAnchorProps"===e.type},83588:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(10477),o=r(51974),i=r(5968);const a=e=>{const{isShadowRendering:t,menuAnchorContextValue:r,children:a}=e;return n.createElement(i.K.Provider,{value:(0,i.z)(!!t)},n.createElement(o.q.Provider,{value:r},a))}},22243:(e,t,r)=>{"use strict";r.d(t,{y:()=>c});var n=r(24223),o=r(10477),i=r(29784),a=r(83588),s=r(95902),l=r(44366),u=r(23008);const c=(e,t)=>{(0,i.C)(e);const{shadowRenderMenu:r,isShadowRendering:c,persistMenu:d,menuAnchorContextValue:p}=e,{id:h,location:g}=t,m=!e.menu.hidden||r&&c||d,f=(0,u.D)(),[v,b]=o.useState(!1);return(0,n.Y)(s.K,{...t,showTooltip:t.showTooltip&&e.menu.hidden,visible:v,children:(0,n.FD)("div",{onMouseLeave:e=>b(!1),onFocus:e=>b(!0),onBlur:e=>b(!1),children:[f&&(0,n.Y)(l.y,{elementTimingId:h,hidden:e.menu.hidden,interactivityTrackerContext:`${h}_${g}`}),(0,n.Y)(a.F,{isShadowRendering:c,menuAnchorContextValue:p,children:(0,n.FD)(o.Fragment,{children:[(0,n.Y)(e.menuButton,{}),m&&(0,n.Y)(e.menu,{})]})})]})})}},5506:(e,t,r)=>{"use strict";r.d(t,{z:()=>h});var n=r(10477),o=r(32969),i=r(91324),a=r(98581),s=r(24473),l=r(29968);const u=n.memo(n.forwardRef(((e,t)=>{const r=(0,s._)(e,t);return(0,a.U)(r),(e=>(0,l.d)(e))(r)})));u.displayName="next/AppMenuButton";var c=r(82502),d=r(43839),p=r(69714);const h=(e,t)=>{const{shadowRenderMenu:r,menuDefinition:a,deferredMenuDefinition:s,useLegacyContextMenu:l,interactivityTrackerContext:h,alwaysRestoreFocus:g}=e,m=n.useRef(null),f={...e,ref:(0,c.a)(t,m)},v=(0,p.U)(e,"Flyout"),b=v.getMenuProps(a),y={...b,alwaysRestoreFocus:g,isV9ContextMenuEnabled:e.isV9ContextMenuEnabled,isV9FloatieEnabled:e.isV9FloatieEnabled},S={...b,useLegacyContextMenu:l,interactivityTrackerContext:h,alwaysRestoreFocus:g,isV9ContextMenuEnabled:e.isV9ContextMenuEnabled,isV9FloatieEnabled:e.isV9FloatieEnabled},C=e.isV9ContextMenuEnabled,T={shadowRenderMenu:r,useLegacyContextMenu:l,...v,components:{menuButton:u,menu:s?.menuAs??o.Qt},menu:d.Gk(e.menu,{defaultProps:!C||s?.menuAs?y:S,elementType:s?.menuAs??o.Qt}),menuButton:d.Gk(e.menuButton,{defaultProps:f,elementType:u})};return T.menuButton.onKeyDownCapture=e.onKeyDown,((e,t)=>((0,i.G)(e,t),t.menuButton.menuHidden=t.menu.hidden,t.menu.useLegacyContextMenu=t.useLegacyContextMenu,t))(e,T)}},24473:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=r(69515),o=r(51641),i=r(14465),a=r(83496);const s=(e,t)=>{const{disabled:r,customKeytipFunction:s}=e,l=(0,o.b)({...e,deriveKeytip:s??i.W,useDirectClick:!0},t,"AppButton"),u=(0,n.e)({...e,type:"button",disabledFocusable:r},l);return(0,a.z)(e,u)}},83496:(e,t,r)=>{"use strict";r.d(t,{z:()=>p});var n=r(10477),o=r(37241),i=r(43839),a=r(18970),s=r(71938),l=r(1290),u=r(20203),c=r(57674),d=r(85963);const p=(e,t)=>{const{onClick:r,onKeyDown:p,ariaLabel:h,labelInMenu:g,label:m,disabled:f}=e,v=(0,a.g)(e,{...t,iconPosition:"before"}),b={...v,components:{...v.components,menuIcon:"span"}},y=n.useContext(c.B),S=!!(0,d.i2)(y,d.PE.fluentV9IconIsEnabled),C=n.useCallback((e=>{f||r?.(e)}),[r,f]);b.root.onClick=C;const T=n.useCallback((e=>{f||p?.(e)}),[p,f]);b.root.onKeyDown=T,b.root["aria-label"]=h||g||m,b.menuHidden=e.menuHidden;const k=(0,s.r)(e);return b.menuIcon=i.lq(k?{children:S?n.createElement(l.z,{iconName:k}):n.createElement(o.I,{...(0,u.J)(k)}),className:t.menuIcon?.className,style:t.menuIcon?.style}:void 0,{elementType:"span"}),b.root["aria-haspopup"]=!0,b}},91324:(e,t,r)=>{"use strict";r.d(t,{G:()=>c});var n=r(10477),o=r(6813),i=r(82502),a=r(42745),s=r(57674),l=r(85963),u=r(58352);const c=(e,t,r)=>{const c=n.useRef(!1),{onAfterMenuDismiss:d,id:p,location:h,onExecute:g,preventMenuExecution:m}=e,f=(0,o.Bi)("",t.menuButton.id);t.menuButton.id=f;const[v,b]=n.useState(!1),y=n.useRef(!0),S=n.useContext(s.B),C=(()=>{const e=n.useContext(s.B);return(0,l.i2)(e,l.PE.appFlyoutAnchorRestoreFocusFixEnabled)})(),T=n.useCallback((e=>{C&&e&&("Escape"===e.key||e.altKey&&"ArrowUp"===e.key||"Alt"===e.key)&&(c.current=!0)}),[C]),k=n.useCallback((()=>b(!1)),[]),F=n.useCallback((e=>{if(e.preventDefault(),v)b(!1);else{if(g&&g({id:p,location:h,inputMethod:a.i.Mouse,event:e.nativeEvent}),m)return;b("mouse")}}),[v,g,p,h,m]),E=n.useCallback((e=>{(e.altKey&&"ArrowDown"===e.key||"Enter"===e.key||" "===e.key)&&(e.preventDefault(),g&&g({id:p,location:h,inputMethod:a.i.Keyboard,event:e.nativeEvent}),b("keyboard"))}),[g,p,h]),A=n.useRef(null),I=!!(0,l.i2)(S,l.PE.isMenuButtonRefFixEnabled),x=n.useRef(t.menuButton.ref),w=(0,i.a)(I?x?.current:x,A);w.current&&(w.current.dismissMenu=k),n.useLayoutEffect((()=>{if(y.current)y.current=!1;else if(!v&&d){if(C){d(f);const e=requestAnimationFrame((()=>{document.hasFocus()&&c.current&&(w.current?.focus(),c.current=!1)}));return()=>{cancelAnimationFrame(e)}}d(f)}}),[C,v,d,f,w]),n.useLayoutEffect((()=>{!v&&((e,t,r)=>(0,l.i2)(e,l.PE.programaticMenuOpensEnabled)&&(t??("DeferredOverflowMenuDefinition"===r?.type?r.overflowMenuDefinition:r))?.shouldAutoOpen)(S,e.menuDefinition,e.deferredMenuDefinition)&&(w?.current?.clientWidth>0||(r?.current?.clientWidth??0)>0)&&b("programmatic")}),[v,w,e.menuDefinition,e.deferredMenuDefinition,S,r]);const P=!!(0,l.i2)(S,l.PE.contextMenuUnmountFixIsEnabled);n.useEffect((()=>{if(!P)return()=>{(0,l.i2)(S,l.PE.closeMenuOnUnmount)&&v&&d?.(f)}}),[S,v,d,f,P]),t.menuButton.onClick=F,t.menuButton.onKeyDown=E,t.menuButton["aria-expanded"]=!!v,t.menu.hidden=!v,t.menu.onDismiss=C?(0,u.p)(T,k):k,t.menu.onItemClick=k;const R=!!(0,l.i2)(S,l.PE.shouldFocusOnContainerEnabled);t.menu.shouldFocusOnContainer="mouse"===v&&(!R||!1!==t.menuButton.shouldFocusOnContainer),r?t.menu.target=r:(t.menuButton.ref=w,t.menu.target=A)}},69714:(e,t,r)=>{"use strict";r.d(t,{U:()=>f});var n=r(10477),o=r(10191),i=r(33640),a=r(57674),s=r(51974),l=r(66152),u=r(6892),c=r(49455),d=r(95583),p=r(97014),h=r(66619),g=r(85963);const m=(e,t,r)=>t!==d.IZ.Overflow?r??e:r,f=(e,t)=>{const r=n.useRef(!1),d=n.useRef(new Map),[f,v]=n.useState(!1),[b,y]=n.useState(!1),S=n.useContext(a.B),C=n.useRef((0,o.ir)(e,e.id)),{id:T,location:k,shadowRenderMenu:F,disabled:E,onExecute:A,deferredMenuDefinition:I,persistMenu:x}=e,w=n.useCallback((()=>{b&&y(!1)}),[b,y]),P=n.useCallback(((e,t)=>{t&&(d.current=(0,u.zm)(e,t+"MenuId",d.current,S.setTooltipElement,S.updateTooltipsHidden,!0))}),[S]),R=n.useCallback((e=>{0===d.current.size&&(d.current=(0,u.zm)(e,C.current,d.current,S.setTooltipElement,S.updateTooltipsHidden,!0))}),[C,S]),D=n.useCallback((()=>{d.current.forEach((e=>{e.unregisterTooltipHostActions()})),d.current.clear()}),[]),_=n.useCallback((()=>{f||v(!0),w()}),[f,v,w]);n.useCallback((()=>{r.current||!(0,l.L)(F)||!(0,i.N)()||E||f||e.menuDefinition?.shouldAutoOpen||(r.current=!0,window.requestIdleCallback((()=>{A?.({id:T,location:k,isShadowRendering:!0})}),void 0,`${t}-${T}-ShadowMenuOpen`),window.requestIdleCallback((()=>{f||(v(!0),y(!0))}),void 0,`${t}-${T}-StartShadowRendering`))}),[T,t,k,E,f,F,A,e.menuDefinition?.shouldAutoOpen])();const N=((e,t,r,o,i,s)=>{const{controlInMenuRendererFunction:l,label:u,location:d,directionalHint:f,directionalHintFixed:v,useTargetAsMinWidth:b,calloutWidth:y,menuHostId:S,menuClassNames:C,menuItemStyles:T,preventCalloutDismissOnScroll:k,terminalParentControlId:F,id:E}=e,A=n.useContext(a.B),I=(0,c.D)();return n.useCallback((e=>{const n=e?(0,p.Tp)({menuDefinition:e,controlInMenuRendererFunction:l,location:d,onSubMenuPositioned:o,customMenuClassNames:C,customMenuItemStyles:T,arePerfImprovementsEnabled:A.isExperimentalFeatureEnabled?.("ContextualUIPerfImprovementsIsEnabled"),onMenuPositioned:i,theme:I,isMultiWindowSupportEnabled:A.isExperimentalFeatureEnabled?.(g.PE.multiWindowSupportIsEnabled),terminalParentControlId:m(E,d,F),useFullDescriptionLabelOnly:A.isExperimentalFeatureEnabled?.(g.PE.useFullDescriptionLabelOnly),isExperimentalFeatureEnabled:A.isExperimentalFeatureEnabled},v,A.appWindow,A.responsiveClassName):h.R;return{...n,onMenuOpened:r,onMenuDismissed:s,directionalHint:f,useTargetAsMinWidth:b,ariaLabel:u,id:t,calloutProps:{...n.calloutProps,layerProps:{hostId:S},calloutWidth:y,preventDismissOnScroll:k}}}),[A,l,d,o,C,T,i,r,s,f,v,b,u,t,S,y,k,E,F,I])})(e,C.current,_,P,R,D),O=n.useMemo((()=>I?{deferredMenuDefinition:I,getMenuPropsFromMenuDefinition:N}:s.l),[N,I]);return{isShadowRendering:b,persistMenu:x&&f,menuAnchorContextValue:O,getMenuProps:N}}},26515:(e,t,r)=>{"use strict";r.d(t,{I:()=>it});var n=r(10477),o=r(59761);function i(){return!(!window.LPC||!window.LivePersonaCardHoverTargetV2)}var a=r(87513),s=r(72272),l=r(1290);const u=(e,t)=>{const{children:r,setSize:o,positionInSet:u,label:c,hideLabel:d,dataAutomationType:p}=e,{LivePersonaCardTarget:h,cardParameters:g,onLPCExecute:m}=(e=>{const{personaInfo:t,disableLPCOpen:r,anchorSelector:o,id:a,location:s,onCardClose:l,onCardOpen:u,cardLocationToOpen:c}=e,d=()=>window.LivePersonaCardHoverTargetV2,p=n.useCallback((()=>!!d()&&!o),[o]),h=n.useCallback((()=>{u?.({id:a,location:s})}),[a,s,u]),g=n.useMemo((()=>({personaInfo:t,behavior:{onCardOpen:h,onCardClose:l,disableHover:!0,disableClick:!p(),enableStickiness:!0,locationToOpen:c}})),[c,l,h,t,p]),m=n.useCallback((()=>{if(t&&i()){const t=(n=o)?document.querySelector(n):null;t&&(e=t,r=g,i()&&window.LPC.openCard&&window.LPC.openCard(e,r))}var e,r,n}),[o,g,t]),f=()=>{p()||r||m()},v=d();return t.isUnauthenticatedSender||r||!p()?{LivePersonaCardTarget:void 0,cardParameters:void 0,onLPCExecute:f}:{LivePersonaCardTarget:v,cardParameters:g,onLPCExecute:f}})(e),f=(0,a.D)((()=>{const{id:t,onExecute:r,personaInfo:n,location:o}=e;n.isUnauthenticatedSender||(m?.(),r?.({...n,id:t,location:o}))})),v=(0,s.h)({...e,as:"button",appearance:"subtle",type:"button","aria-setsize":o,"aria-posinset":u,title:d?c:void 0,"data-automation-type":p||"AppPersonaButton",onExecute:f},t),b=(e=>{const{icon:t,iconColor:r,label:o,hideLabel:i,personaProps:a,secondaryText:s}=e,u=a?.avatar??{},{icon:c={}}=u,d=c;return d.children=d.children??(t&&n.createElement(l.T,{iconName:t,iconColor:r})),u.icon=d,{textAlignment:"center",...a,avatar:null===a?.avatar?null:u,name:a?.name??!i?o:void 0,secondaryText:a?.secondaryText??s}})(e);return{...e,...v,children:r,LivePersonaCardTarget:h,cardParameters:g,resolvedAppPersonaProps:b}};var c=r(24223),d=r(69287),p=r(77675),h=r(26838);const g=(0,d.y)("rlroi9i",null,[".rlroi9i{display:inline-grid;grid-auto-rows:max-content;grid-auto-flow:column;justify-items:start;grid-template-columns:max-content [middle] auto;}"]),m=(0,p.X)({beforeAfterCenter:{wkccdc:"f1iantul"},after:{},before:{B7hvi0a:"f1tll2w5",Budl1dq:"ffvkwdr"},below:{Bxotwcr:"f1nkeedh",B7hvi0a:"f1oiokrs",Budl1dq:"f1emgwh2"},media:{Ijaq50:"f1hek2iy"},mediaBeforeAfterCenter:{Ijaq50:"fa4dipu"},start:{qb2dma:"f9h729m"},center:{qb2dma:"f7nlbp4"},afterAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Bw0ie65:"f1warjpf"},beforeAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Br312pm:"fwu52yu"},secondLineSpacing:{B6of3ja:"f1ryq6si"},primary:{Ijaq50:"f1q3ipgb"},secondary:{Ijaq50:"f3drtdk"},tertiary:{Ijaq50:"fa1o6s1"},quaternary:{Ijaq50:"f1tuwaia"}},{d:[".f1iantul{grid-template-rows:1fr [primary] max-content [secondary] max-content [tertiary] max-content [quaternary] max-content 1fr;}",".f1tll2w5{justify-items:end;}",".ffvkwdr{grid-template-columns:auto [middle] max-content;}",".f1nkeedh{grid-auto-flow:unset;}",".f1oiokrs{justify-items:center;}",".f1emgwh2{grid-template-columns:unset;}",".f1hek2iy{grid-row-start:span 5;}",".fa4dipu{grid-row-start:span 6;}",".f9h729m{align-self:start;}",".f7nlbp4{align-self:center;}",".f1rnkkuc{grid-row-start:unset;}",".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".f1ryq6si{margin-top:-2px;}",".f1q3ipgb{grid-row-start:primary;}",".f3drtdk{grid-row-start:secondary;}",".fa1o6s1{grid-row-start:tertiary;}",".f1tuwaia{grid-row-start:quaternary;}"]}),f=(0,p.X)({"extra-small":{Bs1gm4r:"f1e48tse"},small:{Bs1gm4r:"f18q9vkd"},medium:{Bs1gm4r:"f18q9vkd"},large:{Bs1gm4r:"fx34bi6"},"extra-large":{Bs1gm4r:"fx34bi6"},huge:{Bs1gm4r:"f1o96qtm"},after:{t21cq0:["f103ycu4","f1tao51"]},below:{jrapky:"fbo7acy"},before:{Frg6f3:["f1tao51","f103ycu4"]}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}",".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}",".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}",".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}",".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}",".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}",".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]}),v=(0,p.X)({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),b=(0,d.y)("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),y=(0,d.y)("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),S=(0,p.X)({beforeAlignToPrimary:{Bw0ie65:"f1warjpf"},afterAlignToPrimary:{Br312pm:"fwu52yu"},body1:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},caption1:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtitle2:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]});var C=r(29784);const T=e=>((0,C.C)(e),(0,c.FD)(e.root,{children:[e.initials&&(0,c.Y)(e.initials,{}),e.icon&&(0,c.Y)(e.icon,{}),e.image&&(0,c.Y)(e.image,{}),e.badge&&(0,c.Y)(e.badge,{}),e.activeAriaLabelElement]}));var k=r(6813),F=r(43839),E=r(94190),A=r(58352);const I=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,x=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,w=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,P=/\s+/g,R=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;var D=r(26510),_=r(95629);const N=(0,_.U)("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),O=(0,_.U)("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),M=(0,_.U)("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),B=(0,_.U)("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),L=(0,_.U)("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),K=(0,_.U)("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),W=(0,_.U)("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),H=(0,_.U)("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),G=(0,_.U)("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),z=(0,_.U)("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),U=(0,_.U)("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),V=(0,_.U)("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),j=(0,_.U)("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),q=(0,_.U)("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),$=(0,_.U)("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Q=(0,_.U)("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),X=(0,_.U)("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),Y=(0,_.U)("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),J=(0,_.U)("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Z=(0,_.U)("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),ee=(0,_.U)("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),te=(0,_.U)("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),re=(0,_.U)("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),ne=(0,_.U)("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),oe=(0,_.U)("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),ie=(0,_.U)("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),ae=(0,_.U)("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),se=(0,_.U)("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),le=(0,_.U)("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),ue=(0,_.U)("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),ce=(0,_.U)("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),de=(0,_.U)("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),pe=(0,_.U)("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),he=(0,_.U)("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),ge=(0,_.U)("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),me=(0,_.U)("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),fe=(0,_.U)("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),ve=(0,_.U)("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),be=(0,_.U)("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),ye=(0,_.U)("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),Se={tiny:G,"extra-small":G,small:z,medium:U,large:V,"extra-large":V},Ce={tiny:O,"extra-small":O,small:B,medium:K,large:H,"extra-large":H},Te={tiny:N,"extra-small":N,small:M,medium:L,large:W,"extra-large":W},ke={tiny:j,"extra-small":j,small:q,medium:$,large:Q,"extra-large":Q},Fe={tiny:X,"extra-small":X,small:Y,medium:J,large:Z,"extra-large":Z},Ee={tiny:ee,"extra-small":ee,small:re,medium:oe,large:ae,"extra-large":ae},Ae={tiny:te,"extra-small":te,small:ne,medium:ie,large:se,"extra-large":se},Ie={tiny:pe,"extra-small":pe,small:he,medium:ge,large:me,"extra-large":me},xe={tiny:le,"extra-small":le,small:ue,medium:ce,large:de,"extra-large":de},we={tiny:fe,"extra-small":fe,small:ve,medium:be,large:ye,"extra-large":ye},Pe=(e,t)=>{const{shape:r="circular",size:n="medium",iconPosition:o="before",appearance:i="filled",color:a="brand"}=e;return{shape:r,size:n,iconPosition:o,appearance:i,color:a,components:{root:"div",icon:"span"},root:F.Gk((0,E.g)("div",{ref:t,...e}),{elementType:"div"}),icon:F.lq(e.icon,{elementType:"span"})}},Re={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},De=(0,d.y)("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),_e=(0,d.y)("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),Ne=(0,p.X)({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]});var Oe=r(60414);const Me=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{size:r="medium",status:o="available",outOfOffice:i=!1}=e,a=Re[o],s=e.outOfOffice&&"out-of-office"!==e.status?` ${Re["out-of-office"]}`:"",l=((e,t,r)=>{switch(e){case"available":return t?Ce[r]:Te[r];case"away":return t?Ie[r]:Se[r];case"blocked":return ke[r];case"busy":return t?we[r]:Fe[r];case"do-not-disturb":return t?Ae[r]:Ee[r];case"offline":return t?Ie[r]:xe[r];case"out-of-office":return Ie[r];case"unknown":return we[r]}})(o,i,r);return{...Pe({"aria-label":a+s,role:"img",...e,size:r,icon:F.lq(e.icon,{defaultProps:{children:l?n.createElement(l,null):null},renderByDefault:!0,elementType:"span"})},t),status:o,outOfOffice:i}})(e,t);return(e=>{const t=De(),r=_e(),n=Ne(),o="busy"===(i=e.status)||"do-not-disturb"===i||"blocked"===i;var i;e.root.className=(0,h.z)("fui-PresenceBadge",t,o&&n.statusBusy,"away"===e.status&&n.statusAway,"available"===e.status&&n.statusAvailable,"offline"===e.status&&n.statusOffline,"out-of-office"===e.status&&n.statusOutOfOffice,"unknown"===e.status&&n.statusUnknown,e.outOfOffice&&n.outOfOffice,e.outOfOffice&&"available"===e.status&&n.outOfOfficeAvailable,e.outOfOffice&&o&&n.outOfOfficeBusy,e.outOfOffice&&("out-of-office"===e.status||"away"===e.status||"offline"===e.status)&&n.statusOutOfOffice,e.outOfOffice&&"unknown"===e.status&&n.outOfOfficeUnknown,"tiny"===e.size&&n.tiny,"large"===e.size&&n.large,"extra-large"===e.size&&n.extraLarge,e.root.className),e.icon&&(e.icon.className=(0,h.z)("fui-PresenceBadge__icon",r,e.icon.className))})(r),(0,Oe.$e)("usePresenceBadgeStyles_unstable")(r),(e=>((0,C.C)(e),(0,c.FD)(e.root,{children:["before"===e.iconPosition&&e.icon&&(0,c.Y)(e.icon,{}),e.root.children,"after"===e.iconPosition&&e.icon&&(0,c.Y)(e.icon,{})]})))(r)}));Me.displayName="PresenceBadge";var Be=r(30834),Le=r(96264);const Ke={active:"active",inactive:"inactive"},We=(e,t)=>{const{dir:r}=(0,Be.Y)(),{shape:o,size:i}=(0,Le.u)(),{name:a,size:s=(null!=i?i:32),shape:l=(null!=o?o:"circular"),active:u="unset",activeAppearance:c="ring",idForColor:d}=e;let{color:p="neutral"}=e;var h;"colorful"===p&&(p=Ge[ze(null!==(h=null!=d?d:a)&&void 0!==h?h:"")%Ge.length]);const g=(0,k.Bi)("avatar-"),m=F.Gk((0,E.g)("span",{role:"img",id:g,...e,ref:t},["name"]),{elementType:"span"}),[f,v]=n.useState(void 0);let b=F.lq(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:f},elementType:"img"});(null==b?void 0:b.src)||(b=void 0),b&&(b.onError=(0,A.p)(b.onError,(()=>v(!0))),b.onLoad=(0,A.p)(b.onLoad,(()=>v(void 0))));let y,S=F.lq(e.initials,{renderByDefault:!0,defaultProps:{children:(C=a,T="rtl"===r,_={firstInitialOnly:s<=16},C?(C=function(e){return(e=(e=(e=e.replace(I,"")).replace(x,"")).replace(P," ")).trim()}(C),R.test(C)||!(null==_?void 0:_.allowPhoneInitials)&&w.test(C)?"":function(e,t,r){let n="";const o=e.split(" ");return 0!==o.length&&(n+=o[0].charAt(0).toUpperCase()),r||(2===o.length?n+=o[1].charAt(0).toUpperCase():3===o.length&&(n+=o[2].charAt(0).toUpperCase())),t&&n.length>1?n.charAt(1)+n.charAt(0):n}(C,T,null==_?void 0:_.firstInitialOnly)):""),id:g+"__initials"},elementType:"span"});var C,T,_;(null==S?void 0:S.children)||(S=void 0),S||b&&!f||(y=F.lq(e.icon,{renderByDefault:!0,defaultProps:{children:n.createElement(D.aUx,null),"aria-hidden":!0},elementType:"span"}));const N=F.lq(e.badge,{defaultProps:{size:He(s),id:g+"__badge"},elementType:Me});let O;if(!m["aria-label"]&&!m["aria-labelledby"]&&(a?(m["aria-label"]=a,N&&(m["aria-labelledby"]=m.id+" "+N.id)):S&&(m["aria-labelledby"]=S.id+(N?" "+N.id:"")),"active"===u||"inactive"===u)){const e=Ke[u];if(m["aria-labelledby"]){const t=g+"__active";m["aria-labelledby"]+=" "+t,O=n.createElement("span",{hidden:!0,id:t},e)}else m["aria-label"]&&(m["aria-label"]+=" "+e)}return{size:s,shape:l,active:u,activeAppearance:c,activeAriaLabelElement:O,color:p,components:{root:"span",initials:"span",icon:"span",image:"img",badge:Me},root:m,initials:S,icon:y,image:b,badge:N}},He=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Ge=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],ze=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const n=e.charCodeAt(r),o=r%8;t^=(n<<o)+(n>>8-o)}return t},Ue=(0,d.y)("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),Ve=(0,d.y)("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),je=(0,d.y)("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),qe=(0,p.X)({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),$e=(0,p.X)({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),Qe=(0,p.X)({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),Xe=(0,p.X)({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),Ye=e=>{const{size:t,shape:r,active:n,activeAppearance:o,color:i}=e,a=Ue(),s=Ve(),l=je(),u=qe(),c=$e(),d=Qe(),p=Xe(),g=[a,32!==t&&c[t]];if(e.badge&&g.push(u.badgeAlign,u[e.badge.size||"medium"]),t<=24?g.push(u.textCaption2Strong):t<=28?g.push(u.textCaption1Strong):t<=40||(t<=56?g.push(u.textSubtitle2):t<=96?g.push(u.textSubtitle1):g.push(u.textTitle3)),"square"===r&&(t<=24?g.push(u.squareSmall):t<=48?g.push(u.squareMedium):t<=72?g.push(u.squareLarge):g.push(u.squareXLarge)),"active"!==n&&"inactive"!==n||(g.push(u.activeOrInactive),"ring"!==o&&"ring-shadow"!==o||(g.push(u.ring,p[i]),e.badge&&g.push(u.ringBadgeCutout),t<=48?g.push(u.ringThick):t<=64?g.push(u.ringThicker):g.push(u.ringThickest)),"shadow"!==o&&"ring-shadow"!==o||(g.push(u.shadow),t<=28?g.push(u.shadow4):t<=48?g.push(u.shadow8):t<=64?g.push(u.shadow16):g.push(u.shadow28)),"inactive"===n&&g.push(u.inactive)),e.root.className=(0,h.z)("fui-Avatar",...g,e.root.className),e.badge&&(e.badge.className=(0,h.z)("fui-Avatar__badge",u.badge,e.badge.className)),e.image&&(e.image.className=(0,h.z)("fui-Avatar__image",s,d[i],e.badge&&u.badgeCutout,e.image.className)),e.initials&&(e.initials.className=(0,h.z)("fui-Avatar__initials",l,d[i],e.badge&&u.badgeCutout,e.initials.className)),e.icon){let r;r=t<=16?u.icon12:t<=24?u.icon16:t<=40?u.icon20:t<=48?u.icon24:t<=56?u.icon28:t<=72?u.icon32:u.icon48,e.icon.className=(0,h.z)("fui-Avatar__icon",l,r,d[i],e.badge&&u.badgeCutout,e.icon.className)}return e};var Je=r(76733);const Ze=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{initialsColor:r,name:n}=e;return{...We(e,t),initialsColor:r,name:n}})(e,t);return(e=>{(e=>{const{name:t,initialsColor:r}=e,n=(0,Je.dx)(t,r);e.initials&&(e.initials.className=(0,h.z)(n,e.initials.className))})(e),Ye(e)})(r),T(r)})));Ze.displayName="AppAvatar";const et=n.forwardRef(((e,t)=>{const r=We(e,t);return Ye(r),(0,Oe.$e)("useAvatarStyles_unstable")(r),T(r)}));et.displayName="Avatar";const tt={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},rt={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},nt={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},ot=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{name:r,presenceOnly:n,size:o="medium"}=e,i=((e,t)=>{const{name:r,presenceOnly:n=!1,size:o="medium",textAlignment:i="start",textPosition:a="after"}=e,s=F.lq(e.primaryText,{renderByDefault:!0,defaultProps:{children:r},elementType:"span"}),l=F.lq(e.secondaryText,{elementType:"span"}),u=F.lq(e.tertiaryText,{elementType:"span"}),c=F.lq(e.quaternaryText,{elementType:"span"});return{numTextLines:[s,l,u,c].filter(Boolean).length,presenceOnly:n,size:o,textAlignment:i,textPosition:a,components:{root:"div",avatar:et,presence:Me,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:F.Gk((0,E.g)("div",{...e,ref:t},["name"]),{elementType:"div"}),avatar:n?void 0:F.lq(e.avatar,{renderByDefault:!0,defaultProps:{name:r,badge:e.presence,size:rt[o]},elementType:et}),presence:n?F.lq(e.presence,{defaultProps:{size:tt[o]},elementType:Me}):void 0,primaryText:s,secondaryText:l,tertiaryText:u,quaternaryText:c}})(e,t);return i.components.avatar=Ze,i.avatar=n?void 0:F.lq(e.avatar,{renderByDefault:!0,defaultProps:{name:r,badge:e.presence,size:nt[o]},elementType:Ze}),i})(e,t);return(e=>{const{presenceOnly:t,size:r,textAlignment:n,textPosition:o}=e,i=t&&"start"===n&&"extra-large"!==r&&"huge"!==r,a="below"!==o&&"center"===n,{primaryTextClassName:s,optionalTextClassName:l}=((e,t)=>{const{presenceOnly:r,size:n,textPosition:o}=e,i=b(),a=y(),s=S();let l,u;return r?("extra-small"===n?l=e.numTextLines<=1&&s.caption1:"extra-large"!==n&&"huge"!==n||(l=s.subtitle2),t&&("before"===o?u=s.beforeAlignToPrimary:"after"===o&&(u=s.afterAlignToPrimary))):("huge"===n||"extra-large"===n)&&(l=s.subtitle2),{primaryTextClassName:(0,h.z)(i,l,u),optionalTextClassName:(0,h.z)(a,!r&&"huge"===n&&s.body1,u)}})(e,i),u=g(),c=m(),d=f(),p={...d,...v()};e.root.className=(0,h.z)("fui-Persona",u,a&&c.beforeAfterCenter,c[o],e.root.className),e.avatar&&(e.avatar.className=(0,h.z)("fui-Persona__avatar","below"!==o&&c.media,a&&c.mediaBeforeAfterCenter,c[n],d[r],d[o],e.avatar.className)),e.presence&&(e.presence.className=(0,h.z)("fui-Persona__presence","below"!==o&&c.media,a&&c.mediaBeforeAfterCenter,c[n],p[r],p[o],"after"===o&&i&&c.afterAlignToPrimary,"before"===o&&i&&c.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=(0,h.z)("fui-Persona__primaryText",a&&c.primary,s,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=(0,h.z)("fui-Persona__secondaryText",a&&c.secondary,l,c.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=(0,h.z)("fui-Persona__tertiaryText",a&&c.tertiary,l,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=(0,h.z)("fui-Persona__quaternaryText",a&&c.quaternary,l,e.quaternaryText.className))})(r),(e=>{const{presenceOnly:t,textPosition:r}=e;(0,C.C)(e);const n=t?e.presence&&(0,c.Y)(e.presence,{}):e.avatar&&(0,c.Y)(e.avatar,{});return(0,c.FD)(e.root,{children:[("after"===r||"below"===r)&&n,e.primaryText&&(0,c.Y)(e.primaryText,{}),e.secondaryText&&(0,c.Y)(e.secondaryText,{}),e.tertiaryText&&(0,c.Y)(e.tertiaryText,{}),e.quaternaryText&&(0,c.Y)(e.quaternaryText,{}),"before"===r&&n]})})(r)})));ot.displayName="next/AppPersona";const it=n.memo(n.forwardRef(((e,t)=>{const r=u(e,t);return(0,o.B)(r),(e=>{const{children:t,resolvedAppPersonaProps:r,LivePersonaCardTarget:n,cardParameters:o}=e;(0,C.C)(e);const i=(0,c.Y)(e.root,{children:t||(0,c.Y)(ot,{...r})});return n&&o?(0,c.Y)(n,{cardParameters:o,children:i}):i})(r)})))},90702:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(39398),o=r(90044);const i={root:{height:24,paddingLeft:0},icon:{height:16,width:16,lineHeight:16},label:{fontSize:12},labelWrapper:{lineHeight:24,marginRight:"auto"},input:{fontSize:12,width:"calc(100% - 12px)"},spinButtonWrapper:{height:22,marginRight:15,marginLeft:0},arrowButtonsContainer:{width:12,minWidth:12}},a={root:{width:12,minWidth:12,height:11}},s=(0,o.J9)(((e,t)=>e?{spinButtonStyles:(0,n.l8)(i,t),buttonStyles:a}:{spinButtonStyles:t,buttonStyles:void 0}))},9571:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});const n=""},340:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(10477),o=r(25109),i=r(39773),a=r(73725),s=r(54029),l=r(23693),u=r(61894),c=r(37241),d=r(50550),p=r(90290);function h(e,t,r){void 0===r&&(r=10);var n=Math.pow(r,t);return Math.round(e*n)/n}var g,m=r(82015),f=r(72341),v=r(39398),b=r(90044),y=r(41292),S=(0,b.J9)((function(e){var t,r=e.semanticColors,n=r.disabledText,o=r.disabledBackground;return{backgroundColor:o,pointerEvents:"none",cursor:"default",color:n,selectors:(t={":after":{borderColor:o}},t[v.up]={color:"GrayText"},t)}})),C=(0,b.J9)((function(e,t,r){var n,o,i,a=e.palette,s=e.semanticColors,l=e.effects,u=a.neutralSecondary,c=s.buttonText,d=s.buttonText,p=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed,g={root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:u,selectors:{"&.ms-DownButton":{borderRadius:"0 0 ".concat(l.roundedCorner2," 0")},"&.ms-UpButton":{borderRadius:"0 ".concat(l.roundedCorner2," 0 0")}}},rootHovered:{backgroundColor:p,color:c},rootChecked:{backgroundColor:h,color:d,selectors:(n={},n[v.up]={backgroundColor:"Highlight",color:"HighlightText"},n)},rootPressed:{backgroundColor:h,color:d,selectors:(o={},o[v.up]={backgroundColor:"Highlight",color:"HighlightText"},o)},rootDisabled:{opacity:.5,selectors:(i={},i[v.up]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}};return(0,v.TW)(g,{},r)}));!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(g||(g={}));var T=r(30838),k=r(34907),F=r(93643),E=r(57142),A=(0,d.Z)(),I={disabled:!1,label:"",step:1,labelPosition:y.y.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},x=function(){},w=function(e,t){var r=t.min,n=t.max;return"number"==typeof n&&(e=Math.min(e,n)),"number"==typeof r&&(e=Math.max(e,r)),e},P=n.forwardRef((function(e,t){var r=(0,p.N)(I,e),o=r.disabled,i=r.label,a=r.min,d=r.max,v=r.step,b=r.defaultValue,S=r.value,P=r.precision,D=r.labelPosition,_=r.iconProps,N=r.incrementButtonIcon,O=r.incrementButtonAriaLabel,M=r.decrementButtonIcon,B=r.decrementButtonAriaLabel,L=r.ariaLabel,K=r.ariaDescribedBy,W=r.upArrowButtonStyles,H=r.downArrowButtonStyles,G=r.theme,z=r.ariaPositionInSet,U=r.ariaSetSize,V=r.ariaValueNow,j=r.ariaValueText,q=r.className,$=r.inputProps,Q=r.onDecrement,X=r.onIncrement,Y=r.iconButtonProps,J=r.onValidate,Z=r.onChange,ee=r.styles,te=n.useRef(null),re=(0,T.B)("input"),ne=(0,T.B)("Label"),oe=n.useState(!1),ie=oe[0],ae=oe[1],se=n.useState(g.notSpinning),le=se[0],ue=se[1],ce=(0,k.Y)(),de=n.useMemo((function(){return null!=P?P:Math.max(function(e){var t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}(v),0)}),[P,v]),pe=(0,F.k)(S,null!=b?b:String(a||0),Z),he=pe[0],ge=pe[1],me=n.useState(),fe=me[0],ve=me[1],be=n.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;be.latestValue=he,be.latestIntermediateValue=fe;var ye=(0,E.Z)(S);n.useEffect((function(){S!==ye&&void 0!==fe&&ve(void 0)}),[S,ye,fe]);var Se=A(ee,{theme:G,disabled:o,isFocused:ie,keyboardSpinDirection:le,labelPosition:D,className:q}),Ce=(0,m.G1)(r,m.JM,["onBlur","onFocus","className","onChange"]),Te=n.useCallback((function(e){var t=be.latestIntermediateValue;if(void 0!==t&&t!==be.latestValue){var r=void 0;J?r=J(t,e):t&&t.trim().length&&!isNaN(Number(t))&&(r=String(w(Number(t),{min:a,max:d}))),void 0!==r&&r!==be.latestValue&&ge(r,e)}ve(void 0)}),[be,d,a,J,ge]),ke=n.useCallback((function(){be.stepTimeoutHandle>=0&&(ce.clearTimeout(be.stepTimeoutHandle),be.stepTimeoutHandle=-1),(be.spinningByMouse||le!==g.notSpinning)&&(be.spinningByMouse=!1,ue(g.notSpinning))}),[be,le,ce]),Fe=n.useCallback((function(e,t){if(t.persist(),void 0!==be.latestIntermediateValue)return"keydown"!==t.type&&"mousedown"!==t.type||Te(t),void ce.requestAnimationFrame((function(){Fe(e,t)}));var r=e(be.latestValue||"",t);void 0!==r&&r!==be.latestValue&&ge(r,t);var n=be.spinningByMouse;be.spinningByMouse="mousedown"===t.type,be.spinningByMouse&&(be.stepTimeoutHandle=ce.setTimeout((function(){Fe(e,t)}),n?75:400))}),[be,ce,Te,ge]),Ee=n.useCallback((function(e){if(X)return X(e);var t=w(Number(e)+Number(v),{max:d});return t=h(t,de),String(t)}),[de,d,X,v]),Ae=n.useCallback((function(e){if(Q)return Q(e);var t=w(Number(e)-Number(v),{min:a});return t=h(t,de),String(t)}),[de,a,Q,v]),Ie=n.useCallback((function(e){(o||e.which===f.c.up||e.which===f.c.down)&&ke()}),[o,ke]),xe=n.useCallback((function(e){Fe(Ee,e)}),[Ee,Fe]),we=n.useCallback((function(e){Fe(Ae,e)}),[Ae,Fe]);!function(e,t,r){n.useImperativeHandle(e.componentRef,(function(){return{get value(){return r},focus:function(){t.current&&t.current.focus()}}}),[t,r])}(r,te,he),R(r);var Pe=!!he&&!isNaN(Number(he)),Re=(_||i)&&n.createElement("div",{className:Se.labelWrapper},_&&n.createElement(c.I,(0,s.Cl)({},_,{className:Se.icon,"aria-hidden":"true"})),i&&n.createElement(u.J,{id:ne,htmlFor:re,className:Se.label,disabled:o},i));return n.createElement("div",{className:Se.root,ref:t},D!==y.y.bottom&&Re,n.createElement("div",(0,s.Cl)({},Ce,{className:Se.spinButtonWrapper,"aria-label":L&&L,"aria-posinset":z,"aria-setsize":U,"data-ktp-target":!0}),n.createElement("input",(0,s.Cl)({value:null!=fe?fe:he,id:re,onChange:x,onInput:function(e){ve(e.target.value)},className:Se.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":i&&ne,"aria-valuetext":null!=j?j:Pe?void 0:he,"aria-valuenow":V,"aria-valuemin":a,"aria-valuemax":d,"aria-describedby":K,onBlur:function(e){var t;Te(e),ae(!1),null===(t=r.onBlur)||void 0===t||t.call(r,e)},ref:te,onFocus:function(e){var t;te.current&&((be.spinningByMouse||le!==g.notSpinning)&&ke(),te.current.select(),ae(!0),null===(t=r.onFocus)||void 0===t||t.call(r,e))},onKeyDown:function(e){if(e.which!==f.c.up&&e.which!==f.c.down&&e.which!==f.c.enter||(e.preventDefault(),e.stopPropagation()),o)ke();else{var t=g.notSpinning;switch(e.which){case f.c.up:t=g.up,Fe(Ee,e);break;case f.c.down:t=g.down,Fe(Ae,e);break;case f.c.enter:Te(e);break;case f.c.escape:ve(void 0)}le!==t&&ue(t)}},onKeyUp:Ie,disabled:o,"aria-disabled":o,"data-lpignore":!0,"data-ktp-execute-target":!0},$)),n.createElement("span",{className:Se.arrowButtonsContainer},n.createElement(l.K,(0,s.Cl)({styles:C(G,!0,W),className:"ms-UpButton",checked:le===g.up,disabled:o,iconProps:N,onMouseDown:xe,onMouseLeave:ke,onMouseUp:ke,tabIndex:-1,ariaLabel:O,"data-is-focusable":!1},Y)),n.createElement(l.K,(0,s.Cl)({styles:C(G,!1,H),className:"ms-DownButton",checked:le===g.down,disabled:o,iconProps:M,onMouseDown:we,onMouseLeave:ke,onMouseUp:ke,tabIndex:-1,ariaLabel:B,"data-is-focusable":!1},Y)))),D===y.y.bottom&&Re)}));P.displayName="SpinButton";var R=function(e){},D=(0,a.I)(P,(function(e){var t,r,n,o,i=e.theme,a=e.className,l=e.labelPosition,u=e.disabled,c=e.isFocused,d=i.palette,p=i.semanticColors,h=i.effects,g=i.fonts,m=p.inputBorder,f=p.inputBackground,b=p.inputBorderHovered,C=p.inputFocusBorderAlt,T=p.inputText,k=d.white,F=p.inputBackgroundChecked,E=p.disabledText;return{root:[g.medium,{outline:"none",width:"100%",minWidth:86},a],labelWrapper:[{display:"inline-flex",alignItems:"center"},l===y.y.start&&{height:32,float:"left",marginRight:10},l===y.y.end&&{height:32,float:"right",marginLeft:10},l===y.y.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:v.fF.large},u&&{color:E}],label:{pointerEvents:"none",lineHeight:v.fF.large},spinButtonWrapper:[(0,s.Cl)((0,s.Cl)({display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86},(0,v.Sq)(m,h.roundedCorner2,"border",0)),{":after":(t={borderWidth:"1px"},t[v.up]={borderColor:"GrayText"},t)}),(l===y.y.top||l===y.y.bottom)&&{width:"100%"},!u&&[{":hover:after":(r={borderColor:b},r[v.up]={borderColor:"Highlight"},r)},c&&{":hover:after, :after":(n={borderColor:C,borderWidth:"2px"},n[v.up]={borderColor:"Highlight"},n)}],u&&S(i)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:g.medium.fontSize,fontFamily:"inherit",color:T,backgroundColor:f,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:"".concat(h.roundedCorner2," 0 0 ").concat(h.roundedCorner2)},!u&&{selectors:{"::selection":{backgroundColor:F,color:k,selectors:(o={},o[v.up]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},o)}}},u&&S(i)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},u&&S(i)]}}),void 0,{scope:"SpinButton"}),_=r(42745),N=r(58261),O=r(10191),M=r(21406),B=r(57674),L=r(79095),K=r(20203),W=r(40353),H=r(19094),G=r(40480),z=r(23162),U=r(62833),V=r(9571),j=r(31781),q=r(85631),$=r(69284),Q=r(86272);const X=e=>{const t=(0,j.C)(e);return{backgroundColor:t.disabledBackgroundColor,pointerEvents:"none",cursor:"default",color:t.inputTextDisabledColor}},Y=e=>{switch(e){case y.y.top:case y.y.bottom:return;default:return{display:"flex"}}},J=e=>{switch(e){case y.y.top:case y.y.bottom:return{width:"100%"};default:return{}}},Z=(e,t,r,n,o=y.y.start)=>(0,v.TW)(((e,t,r,n)=>{const o=(0,j.C)(e);return{root:[Y(n),{alignItems:"center",padding:"0 10px",selectors:{"input[type=text]":{paddingTop:3,paddingRight:3,paddingBottom:4,paddingLeft:4}},outline:"none",fontSize:14,width:"100%",minWidth:86}],label:[q.Mb,{fontSize:14,padding:0,pointerEvents:"none",fontWeight:v.BO.regular,lineHeight:"inherit"},t&&[{color:o.inputTextDisabledColor,cursor:"default"},$.G_]],labelWrapper:[{height:40,lineHeight:40,alignItems:"center",display:"inline-flex"},n===y.y.top&&{marginBottom:10},n===y.y.bottom&&{marginTop:10}],spinButtonWrapper:[{display:"flex",height:26,position:"static",boxSizing:"content-box",borderWidth:1,borderStyle:"solid",borderColor:o.inputBorderColor,backgroundColor:o.inputBackgroundColor,width:70,minWidth:0,overflow:"initial","::after":{content:"none"}},(0,Q.W)(1),!t&&[r&&{borderColor:o.inputFocusBorderColor,outline:"2px dashed transparent",overflow:"hidden",[v.up]:{borderColor:"Highlight"},":active":{outline:"2px dashed transparent",[v.up]:{borderColor:"Highlight"},button:{backgroundColor:o.spinButtonContainerContainerHoverBackground}},selectors:{"&&":{borderColor:o.inputFocusBorderColor,selectors:{":after":{content:"none"}}}}},!r&&{":hover":{outline:"2px dashed transparent",[v.up]:{borderColor:"Highlight"},button:{backgroundColor:o.spinButtonContainerContainerHoverBackground}}}],t&&[X(e),$.G_,r&&$.Fu],J(n)],input:[{minWidth:0,boxSizing:"border-box",boxShadow:"none",borderStyle:"none",borderRadius:"none",margin:0,fontSize:14,flex:"none",color:o.inputTextColor,backgroundColor:"transparent",height:"100%",paddingTop:3,paddingRight:3,paddingBottom:4,paddingLeft:4,outline:0,textOverflow:"ellipsis",display:"block",float:"left",width:"calc(100% - 14px)",overflow:"hidden",cursor:"text",userSelect:"text"},t&&[X(e),$.G_],!t&&{"::selection":{backgroundColor:o.inputSelectionBackgroundColor,color:o.inputSelectionTextColor,selectors:{[v.up]:{backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"}}}}],icon:[{padding:"0 4px 0 0",height:20,width:20,lineHeight:20,fontSize:20},t&&[{opacity:.4,color:o.textDisabledColor},$.G_]],arrowButtonsContainer:[{outline:"none",fontSize:12,display:"block",float:"left",height:"100%",cursor:"default",padding:0,boxSizing:"border-box",":hover":{backgroundColor:o.spinButtonContainerContainerHoverBackground,selectors:{button:{selectors:{[v.up]:{border:"1px solid Highlight"}}}}},button:{border:"none"}},r&&{backgroundColor:o.spinButtonArrowBoxFocusedBackgroundColor},t&&[X(e),$.G_]]}})(t,r,n,o),e),ee=(0,b.J9)(((e,t)=>{const r=(0,j.C)(e);return(0,v.TW)({root:{width:14,minWidth:14},rootHovered:[{backgroundColor:r.inputButtonHoverBackground,selectors:{"&&:hover":[{backgroundColor:r.inputButtonHoverBackground},$.s0]}},$.s0],rootPressed:[{backgroundColor:r.inputButtonPressedBackgroundColor,selectors:{"&&:active":[{backgroundColor:r.inputButtonPressedBackgroundColor},$.s0]}},$.s0],icon:{height:8,width:8,lineHeight:8,fill:r.inputTextColor}},t)}));var te=r(68075);class re extends n.PureComponent{render(){const e=this.props.value===V.E?this.props.value:(0,te.XO)(this.props.value,this.props.unitType,this.props.validUnits,this.props.numberFormatInfo,this.props.reservedValue),t=(0,te.FT)(this.props.unitType,this.props.validUnits),{ariaDescriptionId:r,ariaDescriptionElement:a}=(0,N.Z)(this.props.id,this.props.customTooltip),s=(0,O.lj)(this.props);return n.createElement(G.V,null,(l=>{const u=ee(l,this.props.buttonStyles);return n.createElement("div",{className:(0,M.Ou)(),"data-unique-id":s,id:this.props.id},n.createElement(D,{ref:(0,i.a)((0,o.Z)({keytipProps:(0,H.U_)(this.props.keytipProps,this.keytipExecute)}),this.spinButtonRef),componentRef:this.spinButton,label:this.props.hideLabel?void 0:this.props.label,labelPosition:this.props.labelPosition,iconProps:(0,K.J)(this.props.icon,this.props.iconColor),disabled:this.props.disabled,onDecrement:this.onDecrement,onIncrement:this.onIncrement,onValidate:this.onValidate,value:e,onFocus:this.onFocus,onBlur:this.onBlur,styles:Z(this.props.styles,l,!!this.props.disabled,this.state.focused,this.props.labelPosition),upArrowButtonStyles:u,downArrowButtonStyles:u,incrementButtonIcon:(0,K.J)(this.props.incrementButtonIcon),decrementButtonIcon:(0,K.J)(this.props.decrementButtonIcon),incrementButtonAriaLabel:this.props.incrementAriaLabel,decrementButtonAriaLabel:this.props.decrementAriaLabel,ariaPositionInSet:this.props.positionInSet,ariaSetSize:this.props.setSize,ariaValueNow:this.props.value===V.E?void 0:this.props.value,ariaValueText:e,keytipProps:(0,H.U_)(this.props.keytipProps,this.keytipExecute),title:void 0,ariaDescribedBy:a&&r,"data-unique-id":`${s}-input`,inputProps:(0,L.B)(this.context,this.props.dataNav),min:t?t.minValue:void 0,max:t?t.maxValue:void 0}),a)}))}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&(this.tooltipHost=new z.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.spinButtonRef.current,controlId:this.props.id,controlLabel:(0,U.R)(!!this.props.hideLabel,this.props.label,this.props.customTooltip),tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0,location:this.props.location}),this.tooltipHost.registerTooltipHostActions())}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label||this.tooltipHost.updateTooltip((0,U.R)(!!this.props.hideLabel,this.props.label,this.props.customTooltip))}focus(){this.spinButton.current&&this.spinButton.current.focus()}spin(e,t,r){let n,{value:o,unitType:i}=this.props;if(e===V.E)return;const a=void 0!==this.props.validReservedValues?(0,te.BI)(e,this.props.validReservedValues):-1;if(void 0!==this.props.validReservedValues&&a>=0)if(t)if(a>0)n=this.props.validReservedValues[a-1];else{const e=(0,te.FT)(this.props.unitType,this.props.validUnits);void 0!==e&&(o=e.minValue,this.props.customNormalizeValue&&(o=this.props.customNormalizeValue(o,e)))}else{if(!(a<this.props.validReservedValues.length-1))return;n=this.props.validReservedValues[a+1]}else{const{value:r,unit:a}=(0,te.vH)(e,this.props.validUnits,this.props.numberFormatInfo,this.props.unitType);if(isNaN(r)||void 0===a)return;void 0!==this.props.validReservedValues&&this.props.validReservedValues.length>0&&!t&&r===a.minValue?n=this.props.validReservedValues[0]:(o=(0,te.I5)(r,a,t,this.props.numberFormatInfo,this.props.customNormalizeValue),i=a.unitType)}const s=void 0!==n?n:(0,te.XO)(o,i,this.props.validUnits,this.props.numberFormatInfo);return this.executeCommand(o,i,n,!1,(0,_.m)(r),r?.nativeEvent),s}executeCommand(e,t,r,n,o,i){this.props.onExecute&&this.props.onExecute({id:this.props.id,value:e,unitType:t,reservedValue:r,location:this.props.location,shouldTakeFocus:n&&!1,inputMethod:o,event:i})}constructor(){super(...arguments),this.spinButtonRef=n.createRef(),this.spinButton=n.createRef(),this.state={focused:!1},this.onFocus=()=>{this.setState({focused:!0})},this.onBlur=()=>{this.setState({focused:!1})},this.keytipExecute=e=>{(0,W.PB)(e)},this.onDecrement=(e,t)=>this.spin(e,!1,t),this.onIncrement=(e,t)=>this.spin(e,!0,t),this.onValidate=(e,t)=>{const r=t;let n=!(!r||!r.which)&&r.which!==f.c.tab;if(void 0!==this.props.shouldTakeFocus&&(n=this.props.shouldTakeFocus),e.trim()===V.E)return;if(void 0!==this.props.validReservedValues){const r=(0,te.RF)(e,this.props.validReservedValues);if(void 0!==r)return this.executeCommand(this.props.value,this.props.unitType,r,n,_.i.Keyboard,t?.nativeEvent),r}const o=void 0!==this.props.reservedValue&&void 0!==this.props.validReservedValues?(0,te.RF)(this.props.reservedValue,this.props.validReservedValues):void 0,i=void 0!==o?o:(0,te.XO)(this.props.value,this.props.unitType,this.props.validUnits,this.props.numberFormatInfo);if(e===i)return;const{value:a,unit:s}=(0,te.vH)(e,this.props.validUnits,this.props.numberFormatInfo,this.props.unitType);let l;return null!=s&&(0,te.Wm)(a,s)?(l=(0,te.XO)(a,s.unitType,this.props.validUnits,this.props.numberFormatInfo),this.executeCommand(a,s.unitType,void 0,n,_.i.Keyboard,t?.nativeEvent)):l=i,l}}}re.contextType=B.B;const ne=(0,L.W)(re)},68075:(e,t,r)=>{"use strict";r.d(t,{BI:()=>g,FT:()=>d,I5:()=>l,RF:()=>h,Wm:()=>u,XO:()=>s,vH:()=>a});var n=r(36141),o=r(9571);const i="{0}";function a(e,t,r,n){let o,{value:a,unitsPlaceholder:s}=function(e,t){let r,n;const o=new RegExp("\\"+t.numberGroupSeparator,"g"),a=e.replace(o,""),s=function(e){const t="[0-9]";return`${t}*${`[${e.numberDecimalSeparator}]`}?${t}+`}(t),l=new RegExp(s,"g"),u=a.match(l);if(null===u||1!==u.length)return{value:r,unitsPlaceholder:n};const c=function(e,t){let r="";const n=e.negativeSign;switch(e.numberNegativePattern){case 0:r=`[(][ ]?${t}[ ]?[)]`;break;case 1:case 2:r=`${n}[ ]?${t}`;break;case 3:case 4:r=`${t}[ ]?${n}`}return r}(t,s),d=a.match(c);n=null!==d?a.replace(d[0],i):a.replace(u[0],i),n=p(n),n=n.toLowerCase();let h=`${null!==d?"-":""}${u[0]}`;return h=h.replace(t.numberDecimalSeparator,"."),r=parseFloat(h),{value:r,unitsPlaceholder:n}}(e,r);return void 0===a||isNaN(a)||void 0===s?(a=Number.NaN,{value:a,unit:o}):(o=function(e,t,r){if(e===i)return d(r,t);for(let r=0;r<t.length;r+=1){let n=c(t[r].unitType,t);if(void 0!==n&&(n=p(n),n=n.toLowerCase(),n===e))return t[r]}}(s,t,n),{value:a,unit:o})}function s(e,t,r,n,a){if(e===o.E)return e;if(void 0!==a)return a;const s=function(e,t){let r="",n="";if(void 0===e||isNaN(e)||void 0===t)return"0";const o=Math.pow(10,t.numberDecimalDigits),i=Math.abs(Math.round(e*o)/o),a=Math.floor(i),s=(i*o-a*o)/o;if(0===a)r="0";else{const e=t.numberGroupSizes.length;let n=0,o=a;for(;o>0;){const i=t.numberGroupSizes[n];if(0===i)r=`${o.toString()}${r}`,o=0;else{for(let e=0;e<i&&o>0;e+=1)r=`${(o%10).toString()}${r}`,o=Math.floor(o/10);o>0&&(r=`${t.numberGroupSeparator}${r}`)}n<e-1&&(n+=1)}}let l="",u=Math.round(s*o)/o;for(let e=0;e<t.numberDecimalDigits;e+=1){const r=Math.floor(10*u);l=`${l}${r.toString()}`;const n=Math.pow(10,t.numberDecimalDigits-e-1);u=Math.round(u*n*10-r*n)/n}let c=l.length;for(;c>0&&"0"===l.charAt(c-1);)c-=1;l=l.substring(0,Math.max(0,c)),""!==l&&(n=`${n}${t.numberDecimalSeparator}${l}`);let d=`${r}${n}`;if(e<0)switch(t.numberNegativePattern){case 0:d=`(${d})`;break;case 1:d=`${t.negativeSign}${d}`;break;case 2:d=`${t.negativeSign} ${d}`;break;case 3:d=`${d}${t.negativeSign}`;break;case 4:d=`${d} ${t.negativeSign}`}return d}(e,n),l=c(t,r);return void 0===l?s:l.replace(i,s)}function l(e,t,r,n,o){const i=Math.pow(10,n.numberDecimalDigits),a=Math.round(e*i),s=Math.round(t.step*i);let l=a/s;l=r?Math.floor(l):Math.ceil(l);const u=l*s/i,c=r?u+t.step:u-t.step;return o?o(c,t):function(e,t){return e<t.minValue?t.minValue:e>t.maxValue?t.maxValue:e}(c,t)}function u(e,t){return!(void 0===e||isNaN(e)||e<t.minValue||e>t.maxValue)}function c(e,t){const r=d(e,t);if(void 0!==r)return r.unitPlaceholder}function d(e,t){const r=(0,n.SL)(t,(t=>t.unitType===e));return r>=0?t[r]:void 0}function p(e){return e.replace(/\s/g,"")}function h(e,t){const r=g(e,t);return r>=0?t[r]:void 0}function g(e,t){return(0,n.SL)(t,(t=>t.toLowerCase()===e.trim().toLowerCase()))}},55456:(e,t,r)=>{"use strict";r.d(t,{C6:()=>f,Kd:()=>d,Tt:()=>v,cB:()=>h,u5:()=>p});var n=r(39398),o=r(90044),i=r(18550),a=r(91574),s=r(26184),l=r(75196),u=r(77769),c=r(37308);const d="ribbon-split-icon",p="ribbon-split-container",h="ribbon-split-text",g={large:{splitButtonContainer:{height:72,minWidth:40,selectors:{"> :first-child":{flexDirection:"column"}}},root:{height:36,borderRight:"",borderBottom:0,paddingBottom:2},splitButtonFlexContainer:{height:"100%",fontSize:12,display:"block",lineHeight:"normal"},splitButtonMenuButton:{width:"100%",height:36,borderLeft:"",borderTop:0,padding:"0px 1px",selectors:{[n.up]:{color:"ButtonText",selectors:{":hover":{color:"HighlightText"}}},[`.${d}`]:{width:8,height:18,padding:"0px 2px"},[`.${h}`]:{lineHeight:8},[`.${p}`]:{display:"flex",alignItems:"center",flexDirection:"column",selectors:{[n.up]:{...(0,n.Qg)(),selectors:{":hover":{color:"HighlightText",...(0,n.Qg)()}}}}}}},splitButtonContainerChecked:{selectors:{[`.${p}`]:{selectors:{[n.up]:{...(0,n.Qg)()}}}}},flexContainer:{height:32,flexDirection:"column",justifyContent:"flex-start"}},small:{splitButtonContainer:{height:24},splitButtonMenuButton:{height:24,width:12},root:{minWidth:0,paddingRight:2},splitButtonMenuIcon:[l.U.defaultSizedControlStyles.small.menuIcon,{marginLeft:2}]}},m={large:(0,n.TW)(g.large,{splitButtonMenuButton:{selectors:{[`.${h}`]:{lineHeight:"normal",display:"flex",alignItems:"flex-end"},[`.${d}`]:{height:13}}}})},f=(0,o.J9)(((e,t,r,n)=>{const o=t===i.J.Large&&!r&&(0,a.u)(e)?m:g;return(0,u.A)(t,n,o)||{}})),v=(0,o.J9)(((e,t)=>{const r=(0,s.B)(e),o=(0,c.P)(e);return(0,n.TW)(o,{root:{padding:"1px 2px 1px 9px"},label:{marginRight:2},splitButtonMenuButton:[o.root,{width:16,padding:0,selectors:{[`.${d}`]:{fill:r.textColor}}}],splitButtonMenuButtonDisabled:o.rootDisabled,splitButtonMenuButtonExpanded:o.rootExpanded,splitButtonContainer:{height:40,outline:"none",borderRadius:0,selectors:{":hover button":{borderColor:r.hoverBackgroundColor},":active button":{borderColor:r.pressedBackgroundColor}}},splitButtonContainerChecked:{selectors:{button:{borderColor:r.toggledBackgroundColor}}},splitButtonMenuIconDisabled:[{fill:r.textDisabledColor,opacity:.4}],splitButtonDivider:{width:0},menuIcon:{marginLeft:2}},t)}))},21285:(e,t,r)=>{"use strict";r.d(t,{Ug:()=>f,tC:()=>v,wv:()=>m});var n=r(39398),o=r(90044),i=r(61826),a=r(83778),s=r(31781),l=r(69284),u=r(59928),c=r(94839),d=r(10011);const p="splitMenuButton",h="splitPrimaryButton",g={[n.up]:{backgroundColor:"Highlight",...(0,n.Qg)()}},m=e=>({selectors:{[n.up]:{selectors:{"svg > path.OfficeIconColors_HighContrast":{fill:e?"GrayText":"HighlightText"}}}}}),f=(0,o.J9)(((e,t,r=!1)=>(0,o.J9)(((o,i,a,s,l,u,c,d,p,h)=>{const g=(0,n.TW)(b(e,r),t);return(0,n.l8)({root:[g.root,c&&g.rootChecked,d&&{selectors:{":hover $icon":g.iconExpandedHovered,":hover $menuIcon":g.rootExpandedHovered,":hover":g.rootExpandedHovered}},u&&g.rootDisabled,!u&&!d&&!c&&{selectors:{":hover":g.rootHovered,":hover $icon":g.iconHovered,":hover $description":g.descriptionHovered,":hover $menuIcon":g.menuIconHovered,":focus":g.rootFocused,":active":g.rootPressed,":active $icon":g.iconPressed,":active $description":g.descriptionPressed,":active $menuIcon":g.menuIconPressed}},u&&c&&[g.rootCheckedDisabled],!u&&c&&{selectors:{":hover":g.rootCheckedHovered,":active":g.rootCheckedPressed}}],flexContainer:g.flexContainer,textContainer:g.textContainer,icon:[g.icon,d&&g.iconExpanded,c&&g.iconChecked,u&&g.iconDisabled],label:[g.label,c&&g.labelChecked,u&&g.labelDisabled],menuIcon:[g.menuIcon,c&&g.menuIconChecked,u&&g.menuIconDisabled,!u&&!d&&!c&&{selectors:{":hover":g.menuIconHovered,":active":g.menuIconPressed}},d&&[g.menuIconExpanded,{selectors:{":hover":g.menuIconExpandedHovered}}]],description:[g.description,c&&g.descriptionChecked,u&&g.descriptionDisabled],screenReaderText:g.screenReaderText})})))),v=(0,o.J9)(((e,t,r=!1,s=!1)=>(0,o.J9)(((o,l,u,c)=>{const d=(0,a.X)((0,n.l8)(y(e,r),t),s);return(0,i.t)(d,o,l,u)})))),b=(0,o.J9)(((e,t=!1)=>{const r=(0,d.Z)(e,void 0,t),o=(0,s.C)(e);return(0,n.TW)(r,{root:[h,{padding:"0 12px 0 11px",margin:0,height:32,border:`1px solid ${o.borderColor}`,borderRight:0,borderRadius:"2px 0 0 2px",color:o.textColor,selectors:{":hover":l.s0}}],rootHovered:{outline:"none"},rootChecked:[{outline:"none",selector:{commonHighContrastHoverFocusStyles:l.s0},commonHighContrastHoverFocusStyles:l.s0},m(!1)],rootCheckedHovered:{outline:"none"},rootFocused:(0,u.yr)(e),label:{marginRight:2,fontWeight:n.BO.semibold},rootCheckedDisabled:[m(!0)]})})),y=(0,o.J9)(((e,t=!1)=>((e,t=!1)=>{const r=(0,s.C)(e),o=(0,n.TW)((0,d.Z)(e,void 0,t));return{splitButtonDivider:{backgroundColor:r.borderColor,right:32,position:"absolute",alignSelf:"center",height:16,width:1},splitButtonMenuButton:[p,o.root,{height:32,width:32,padding:0,borderLeft:0,borderRadius:"0 2px 2px 0",outline:"none"},{selectors:{":hover":{selectors:g}}}],splitButtonMenuButtonDisabled:o.rootDisabled,splitButtonMenuButtonExpanded:[o.rootExpanded,{selectors:{":hover":{backgroundColor:r.hoverBackgroundColor,selectors:g}}}],splitButtonMenuIcon:{height:12,lineHeight:12,width:12,fill:r.textColor},splitButtonMenuIconDisabled:{fill:r.textDisabledColor},splitButtonContainer:[{position:"relative",display:"inline-block",boxSizing:"border-box",border:"none",borderRadius:2,height:32,selectors:{":focus:after":[(0,c.B)({width:2,color:r.focusedBorderColor}),{[n.up]:{border:"none"}}]}}],splitButtonContainerHovered:[l.KN],splitButtonContainerFocused:[l.KN,{selectors:{[n.up]:{backgroundColor:"Highlight",color:"HighlightText",outlineColor:"ButtonText",...(0,n.Qg)()},[`.${p}`]:[{borderColor:r.focusedBorderColor},l.s0,m(!1)],[`.${h}`]:[{borderColor:r.focusedBorderColor},l.s0,m(!1)]}}],splitButtonContainerChecked:[{selectors:{":focus":{selectors:{[n.up]:[l.KN,l.s0]}},[`.${h}`]:[m(!1)],[`:focus .${p}`]:{borderColor:r.focusedBorderColor},[`:focus .${h}`]:{borderColor:r.focusedBorderColor,selectors:g}}},l.zr],splitButtonContainerCheckedHovered:[l.KN],splitButtonContainerDisabled:{outline:0,pointerEvents:"none",selectors:{":focus":[l.Fu,l.$P,{[`.${p}`]:[{borderColor:r.focusedBorderColor},l.s0,m(!0)]},{[`.${h}`]:[{borderColor:r.focusedBorderColor},l.s0,m(!0)]}],":focus button":{borderColor:r.focusedBorderColor,selectors:g}}}}})(e,t)))},56227:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(10477),o=r(90044),i=r(33640),a=r(10191),s=r(45368),l=r(57674),u=r(85963),c=r(31798),d=r(20203),p=r(71938),h=r(97014),g=r(66619),m=r(51974),f=r(32969),v=r(66152),b=r(5968),y=r(40480),S=r(23162),C=r(62833),T=r(6892),k=r(14465),F=r(63580),E=r(72497),A=r(11351),I=r(21285);class x extends n.PureComponent{render(){const{disabled:e,primaryDisabled:t,menuDefinition:r,toggled:o,toggleable:i,icon:l,iconColor:u,role:h,keytipProps:g,ariaRoleDescription:S,ariaChecked:C,title:T,styles:E,dataNav:x,shadowRenderMenu:w,deferredMenuDefinition:P,controlInMenuRendererFunction:R,preventMenuExecution:D,splitButtonAriaLabel:_,fullDescriptionLabel:N,delayUpdateFocusOnHover:O}=this.props,M=x?{"data-nav":void 0}:void 0;return n.createElement(b.K.Provider,{value:(0,b.z)(!!this.state.isShadowRendering)},n.createElement(y.V,null,(b=>n.createElement(m.q.Provider,{value:P?{deferredMenuDefinition:P,getMenuPropsFromMenuDefinition:this.getMenuPropsFromMenuDefinitionFunction(R,b)}:m.l},n.createElement(A.l,{onClick:this.onExecute,ref:this.baseButton,split:!0,menuAs:P?.menuAs??f.Qt,checked:o,toggle:i,menuProps:{...this.getMenuPropsFromMenuDefinitionFunction(R,b)(r),delayUpdateFocusOnHover:O},disabled:e,primaryDisabled:t,menuIconProps:(0,d.J)((0,p.r)(this.props)),getClassNames:(0,I.Ug)(b,E,void 0!==l),getSplitButtonClassNames:(0,I.tC)(b,E,void 0!==l,(0,c.C)(this.context)),iconProps:(0,d.J)(l,u),onAfterMenuDismiss:this.onAfterMenuDismiss,onPointerEnter:this.props.onPointerEnter,...this._getLabel(),"data-automation-type":this.props.dataAutomationType||"AppSplitButton","data-unique-id":(0,a.lj)(this.props),role:h,title:T,keytipProps:(0,k.W)(g,this.keytipExecute),ariaLabel:N||this.props.label,splitButtonAriaLabel:_,ariaDescription:this.props.ariaDescription?this.props.customTooltip?this.props.ariaDescription.trim()+" "+this.props.customTooltip.trim():this.props.ariaDescription.trim():this.props.customTooltip,"aria-roledescription":S,"aria-checked":C,persistMenu:this.shouldPersistMenu(),renderPersistedMenuHiddenOnMount:(0,v.L)(w),"data-nav":this.props.dataNav,menuTriggerKeyCode:this.props.menuTriggerKeyCode,primaryActionButtonProps:M,onMenuClick:D?(0,s.v)(this.executeMenuButton):this.setMenuExecutionEvent,...this.props.tabsterAttributes?{[F.d]:this.props.tabsterAttributes}:{}})))))}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&(this.tooltipHost=new S.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.baseButton.current?.buttonElement,controlId:this.props.id,controlLabel:(0,C.R)(this.props.hideLabel,this.props.label,this.props.customTooltip),tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0,targetOverflowSetItem:!!(0,u.i2)(this.context,u.PE.tooltipsTargetOverflowSetItemEnabled),location:this.props.location}),this.tooltipHost.registerTooltipHostActions()),this.tryInitiateShadowRendering()}componentDidUpdate(e){this.tryInitiateShadowRendering(),!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label&&e.hideLabel===this.props.hideLabel||this.tooltipHost.updateTooltip((0,C.R)(this.props.hideLabel,this.props.label,this.props.customTooltip)),this.menuExecutionEvent=void 0}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}unregisterTooltips(){this.tooltipHostMap.forEach((e=>{e.unregisterTooltipHostActions()})),this.tooltipHostMap.clear()}shouldPersistMenu(){return this.props.persistMenu&&this.state.menuHasBeenOpened}constructor(e){super(e),this.baseButton=n.createRef(),this.tooltipHostMap=new Map,this.initiatedShadowRendering=!1,this.splitButtonDropdownId="SplitButtonDropDownId",this.openMenu=()=>{this.baseButton?.current?.openMenu(!0,!1)},this.dismissMenu=()=>{this.baseButton?.current?.dismissMenu()},this.getMenuPropsFromMenuDefinitionFunction=(0,o.J9)(((e,t)=>(0,o.J9)((r=>{const{location:n,directionalHintFixed:o,useTargetAsMinWidth:i,calloutWidth:a,menuHostId:s,terminalParentControlId:l,id:c}=this.props,d=r?(0,h.Tp)({menuDefinition:r,controlInMenuRendererFunction:e,location:n,onSubMenuPositioned:this.onSubMenuReady,customMenuItemStyles:this.props.menuItemStyles,customMenuClassNames:this.props.menuClassNames,onMenuPositioned:this.onCalloutReady,theme:t,isMultiWindowSupportEnabled:this.context.isExperimentalFeatureEnabled?.(u.PE.multiWindowSupportIsEnabled),terminalParentControlId:l??c,isExperimentalFeatureEnabled:this.context.isExperimentalFeatureEnabled},o,this.context.appWindow):g.R;return{...d,onMenuOpened:this.onMenuOpened,directionalHint:this.props.directionalHint,useTargetAsMinWidth:i,id:this.splitButtonDropdownId,calloutProps:{...d.calloutProps,layerProps:{hostId:s},calloutWidth:a,preventDismissOnScroll:this.props.preventCalloutDismissOnScroll}}})))),this._getLabel=()=>{const{label:e,hideLabel:t,vertical:r,onRenderText:n,onPointerEnter:o,onMenuButtonPointerEnter:i}=this.props,a=(0,E.t)(e,t);return r?{splitButtonMenuProps:{menuIconProps:(0,d.J)((0,p.r)(this.props)),text:a.text,onRenderText:n,onRenderMenuIcon:()=>null,onPointerEnter:i||o},menuIconProps:{},onRenderMenuIcon:()=>null}:{...a,onRenderText:n,splitButtonMenuProps:{onPointerEnter:i||o}}},this.keytipExecute=(e,t)=>{t&&t.focus(),this.openMenu()},this.onExecute=e=>{if(this.props.onExecute){const{id:t,toggled:r,location:n,shouldTakeFocus:o}=this.props;this.props.onExecute({id:t,toggled:r,location:n,inputMethod:this.baseButton?.current?.getInputMethod(e),shouldTakeFocus:o,triggerTime:e&&e.timeStamp,event:e.nativeEvent})}},this.onAfterMenuDismiss=()=>{this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss(this.props.id),this.tooltipHost&&this.tooltipHost.hideAllTooltips(!1),this.tooltipHostMap&&this.unregisterTooltips()},this.onMenuOpened=()=>{this.state.menuHasBeenOpened||this.setState({menuHasBeenOpened:!0}),this.resetShadowRenderingAfterUserAction(),this.executeMenuButton(),this.tooltipHost&&this.tooltipHost.hideAllTooltips(!0)},this.executeMenuButton=()=>{if(this.props.onMenuButtonExecute){const{id:e,location:t}=this.props;this.props.onMenuButtonExecute({id:e,location:t,inputMethod:this.baseButton?.current?.getInputMethod(),event:this.menuExecutionEvent}),this.menuExecutionEvent=void 0}},this.onSubMenuReady=(e,t)=>{t&&(this.tooltipHostMap=(0,T.zm)(e,t+"MenuId",this.tooltipHostMap,this.context.setTooltipElement,this.context.updateTooltipsHidden,!0,this.context.appWindow))},this.onCalloutReady=e=>{0===this.tooltipHostMap.size&&(this.tooltipHostMap=(0,T.zm)(e,this.splitButtonDropdownId,this.tooltipHostMap,this.context.setTooltipElement,this.context.updateTooltipsHidden,!0,this.context.appWindow))},this.tryInitiateShadowRendering=()=>{!this.initiatedShadowRendering&&(0,v.L)(this.props.shadowRenderMenu)&&(0,i.N)()&&!this.props.disabled&&!1===this.state.menuHasBeenOpened&&(this.initiatedShadowRendering=!0,window.requestIdleCallback((()=>{const{id:e,location:t}=this.props;this.props.onMenuButtonExecute&&this.props.onMenuButtonExecute({id:e,location:t,isShadowRendering:!0})}),void 0,`SplitButton-${this.props.id}-ShadowMenuOpen`),window.requestIdleCallback((()=>{!1===this.state.menuHasBeenOpened&&this.setState({isShadowRendering:!0,menuHasBeenOpened:!0})}),void 0,`SplitButton-${this.props.id}-StartShadowRendering`))},this.resetShadowRenderingAfterUserAction=()=>{this.state.isShadowRendering&&this.setState({isShadowRendering:!1})},this.setMenuExecutionEvent=e=>{this.menuExecutionEvent=e?.nativeEvent},this.state={menuHasBeenOpened:!1,isShadowRendering:!1},this.splitButtonDropdownId=(0,a.ir)(this.props,this.props.id)}}x.defaultProps={directionalHintFixed:!0,useTargetAsMinWidth:!0},x.contextType=l.B},57013:(e,t,r)=>{"use strict";r.d(t,{CC:()=>v,Gk:()=>y,t6:()=>b});var n=r(39398),o=r(90044),i=r(31781),a=r(21406),s=r(69284),l=r(74445),u=r(66069),c=r(16594),d=r(17713),p=r(21285);const h="split-divider",g="split-container",m="splitPrimaryMenu",f="splitButtonMenu",v=(0,o.J9)((e=>{const t=(0,i.C)(e);return(0,n.l8)((0,a.IJ)(e),{divider:[h,{height:20,width:1,backgroundColor:t.menuDividerBackgroundColor}]})})),b=(e,t)=>(0,o.J9)(((r,o,a,h,v,b,y,S,C,T,k)=>(0,n.l8)((0,d.nV)()(r,o,a),((e,t,r,o,a)=>{const d=(0,p.wv)(t||a),h={selectors:{[`.${m}`]:d,[`.${f}`]:(0,p.wv)(t)}},v=`.${g}:focus &:hover, ${s.si} .${g}:focus &:hover`,b=r?":hover":":focus:hover",y=(0,i.C)(e);return(0,n.l8)({linkContentMenu:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:"100%"},splitPrimary:[m,{pointerEvents:"auto",font:"inherit",color:"inherit",width:"100%",textAlign:"left",backgroundColor:"transparent",border:"none",borderRadius:0,display:"block",lineHeight:l.Z.menuItemHeight,padding:"0 0 0 9px",overflow:"auto"},(0,u.$)(e,r,t),{selectors:{":active":[{backgroundColor:`${y.pressedBackgroundColor}`},s.s0],[`${v}`]:{backgroundColor:y.hoverBackgroundColor,selectors:{[n.up]:{backgroundColor:"Highlight",color:"HighlightText",...(0,n.Qg)()}}},":hover":s.s0,":focus":s.s0,[n.up]:{color:"ButtonText",...(0,n.Qg)()}}},(t||a)&&{color:y.textDisabledColor,pointerEvents:"none",userSelect:"none"},o&&{backgroundColor:y.toggledBackgroundColor,border:`1px solid ${y.selectedBorderColor}`,selectors:{":hover":[{backgroundColor:y.toggledBackgroundColor,border:`1px solid ${y.selectedBorderColor}`},s.s0]}},r&&{selectors:{":hover":[{backgroundColor:y.hoverBackgroundColor},s.s0],":active":[{backgroundColor:`${y.pressedBackgroundColor}`},s.s0]}},(r||o)&&s.s0],icon:(t||a)&&{opacity:.4,selectors:{[n.up]:{opacity:1,...(0,n.Qg)()}}},label:[{paddingRight:10,textOverflow:"ellipsis",overflow:"hidden"},t&&s.G_],labelDisabled:[{color:y.textDisabledColor},s.G_],splitMenu:[f,{pointerEvents:"auto",padding:0,color:"inherit",backgroundColor:"transparent",border:"none",borderRadius:0,display:"block",height:l.Z.menuItemHeight,lineHeight:l.Z.menuItemHeight,width:39,selectors:{[`${v}`]:[{backgroundColor:y.hoverBackgroundColor},s.s0],":focus":s.s0,":active":s.s0,":hover":s.s0}},t&&{color:y.textDisabledColor,pointerEvents:"none",userSelect:"none"},(0,u.$)(e,r,t),o&&!r&&[{selectors:{backgroundColor:y.defaultBackgroundColor,":active":[{backgroundColor:`${y.pressedBackgroundColor} !important`},s.s0]}}],o&&r&&[{selectors:{":hover":[{backgroundColor:y.expandedBackgroundColor},s.s0]}},s.s0],!o&&r&&[{selectors:{":hover":[{backgroundColor:y.hoverBackgroundColor},s.s0],":active":s.s0}},s.s0]],splitContainer:[g,{pointerEvents:"none",display:"flex",flexWrap:"nowrap",justifyContent:"center",alignItems:"center",height:l.Z.menuItemHeight,border:"1px solid transparent",boxSizing:"border-box",outline:"0px solid transparent",cursor:"default"},!o&&{selectors:{[`${s.si}`]:[{borderColor:y.focusedBorderColor,backgroundColor:y.menuFocusedBackgroundColor,selectors:{[`.${m}`]:[s.s0,d],[`.${f}`]:{selectors:{[n.up]:{backgroundColor:"transparent",color:"HighlightText",outlineColor:"inherit",...(0,n.Qg)()}}}}},s.KN]}},!t&&a&&{selectors:{[`${s.si}`]:{selectors:{[`.${f}`]:[{backgroundColor:y.menuFocusedBackgroundColor}]}}}},!t&&a&&r&&[{selectors:{[`.${m}`]:s.G_,[`.${f}`]:[{backgroundColor:y.selectedBackgroundColor,border:`1px solid ${y.selectedBorderColor}`},s.s0]}}],(t||a)&&{selectors:{[`${s.si}`]:[{backgroundColor:y.defaultBackgroundColor,selectors:{[`.${m}`]:s.$P}},s.Fu]}},t&&{selectors:{[n.up]:{selectors:{"svg > path.OfficeIconColors_HighContrast":{fill:"GrayText"}}}}},!t&&{selectors:{":active":{selectors:{[`.${f}`]:[s.s0,h]}}}},r&&[{backgroundColor:y.expandedBackgroundColor,selectors:{":active":{selectors:{[`.${m}`]:[{backgroundColor:`${y.pressedBackgroundColor}`},s.s0]}}}},s.zr,h],o&&[{borderLeftColor:y.toggledBackgroundColor,selectors:{[`${s.si}`]:[{borderColor:y.focusedBorderColor,backgroundColor:y.toggledBackgroundColor,selectors:{[`.${m}`]:[s.s0],[`.${f}`]:[{backgroundColor:y.toggledBackgroundColor},s.s0,h]}},s.KN]}},s.zr],o&&!t&&{selectors:{[`${b}`]:{selectors:{[`.${f}`]:[{selectors:{":hover":[{backgroundColor:y.hoverBackgroundColor},s.s0,h]}}]}},":hover:active":{borderColor:y.focusedBorderColor}}},(0,u.$)(e,r,t)],subMenuIcon:[{display:"flex",width:38,height:16,justifyContent:"center",fill:(0,c.Q)()?y.textColor:"#444444"},t&&{opacity:.4,selectors:{[n.up]:{opacity:1}}}]})})(r,o,a,h,k),e?(0,d.Sw)(e,o,a,h,k):e,t))),y=(0,o.J9)((e=>{const t={height:l.Z.smallMenuItemHeight,lineHeight:l.Z.smallMenuItemHeight};return(0,n.l8)({splitContainer:[t,{overflow:"hidden",selectors:{[`& .${h}`]:{height:16}}}],splitPrimary:t,splitMenu:[t,{width:28}]},e)}))},4733:(e,t,r)=>{"use strict";r.d(t,{Y:()=>S,e:()=>y});var n=r(10477),o=r(97130),i=r(42745),a=r(10191),s=r(20203),l=r(86621),u=r(40353),c=r(27931),d=r(82462),p=r(97014),h=r(97177),g=r(38295),m=r(57013),f=r(85963);const v=(e,t,r,n,o,i,a,s)=>({...(0,p.N9)({menuDefinition:t.menuDefinition,controlInMenuRendererFunction:r,location:t.location,onSubMenuPositioned:n,subComponentStyles:o,customMenuClassNames:t.menuClassNames,arePerfImprovementsEnabled:i,onMenuItemExecuted:(0,g.g)(t.id,a),terminalParentControlId:t.terminalParentControlId??t.id,isExperimentalFeatureEnabled:s},t.id),onMenuOpened:()=>t.onMenuButtonExecute&&t.onMenuButtonExecute({id:t.id,location:t.location}),onMenuDismissed:()=>t.onAfterMenuDismiss&&t.onAfterMenuDismiss(e,{location:t.location})}),b=(0,c.Y)(v,d.C),y=(e,t,r,c,d,p,g,y,S,C)=>{const T=n.createRef(),{id:k,onExecute:F,toggled:E,location:A,shouldTakeFocus:I}=t,x=y?b:v;return{key:t.id,name:t.label,ariaLabel:t.label,"aria-roledescription":t.ariaRoleDescription,iconProps:(0,s.J)(t.icon,t.iconColor,void 0,void 0,t.disabled),onClick:e=>{C?.(f.PE.splitButtonInMenuDoubleExecuteFixEnabled)&&e?.stopPropagation(),F&&F({id:k,toggled:E,location:A,inputMethod:e&&(0,i.m)(e),shouldTakeFocus:I,triggerTime:e&&e.timeStamp,event:e?.nativeEvent,terminalParentControlId:t.terminalParentControlId}),!1===t.dismissHostingSurfaceOnExecute&&e?.preventDefault()},subMenuProps:x(e,t,r,d,g,y,S,C),submenuIconProps:(0,l.d)(c),split:!0,isChecked:t.toggled,arrowDirection:o.E.bidirectional,disabled:t.disabled,primaryDisabled:t.primaryDisabled,getItemClassNames:(0,m.t6)(p,t.styles),getSplitButtonVerticalDividerClassNames:m.CC,role:t.roleInMenu||"menuitem",keytipProps:t.keytipProps&&(0,h.J)(t.keytipProps,(e=>{(0,u.hz)(e,T)})),componentRef:T,"data-unique-id":(0,a.lj)(t)}},S=(0,c.Y)(y,d.C)},30133:(e,t,r)=>{"use strict";r.d(t,{w:()=>n});const n=e=>"AppSplitButtonProps"===e.type},99997:(e,t,r)=>{"use strict";r.d(t,{T:()=>l});var n=r(39398),o=r(90044),i=r(31781),a=r(69284),s=r(17713);const l=(e,t)=>(0,o.J9)(((r,o,l,u)=>{const c=(0,i.C)(r);return(0,n.l8)((0,s.nV)()(r,o,l),{root:u&&[{backgroundColor:c.toggledBackgroundColor,border:`1px solid ${c.selectedBorderColor}`,selectors:{[a.si]:{backgroundColor:c.toggledBackgroundColor,borderColor:c.focusedBorderColor},[n.up]:{border:"none"}},[`.${s.xU}`]:{[n.up]:{color:"HighlightText"}}},a.zr,a.s0]},e?(0,s.Sw)(e,o,l,u):e,t)}))},52913:(e,t,r)=>{"use strict";r.d(t,{_:()=>d});var n=r(10477),o=r(42745),i=r(10191),a=r(20203),s=r(40353),l=r(97439),u=r(97177),c=r(99997);function d(e,t,r,d){const p=t=>{e.onExecute&&e.onExecute({id:e.id,toggled:e.toggled,location:e.location,inputMethod:t&&(0,o.m)(t),shouldTakeFocus:e.shouldTakeFocus,triggerTime:t&&t.timeStamp,event:t?.nativeEvent,terminalParentControlId:e.terminalParentControlId}),!1===e.dismissHostingSurfaceOnExecute&&t?.preventDefault()},h=n.createRef(),g=d?(0,l.k)(e.fullDescriptionLabel):(0,l.k)(e.fullDescriptionLabel||e.label);return{key:e.id,name:e.label,iconProps:(0,a.J)(e.icon,e.iconColor,e.toggleUsingIcon&&!e.toggled,e.flipIconInRtl,e.disabled),onClick:p,checked:e.toggled,disabled:e.disabled,onRenderContent:r,getItemClassNames:(0,c.T)(t,e.styles),role:e.roleInMenu||"menuitemcheckbox",keytipProps:e.keytipProps&&(0,u.J)(e.keytipProps,(t=>{(0,s.cs)(t,h,p,e.dismissHostingSurfaceOnExecute)})),componentRef:h,title:void 0,ariaLabel:g,ariaDescription:e.customTooltip,"data-unique-id":(0,i.lj)(e),"aria-keyshortcuts":e.keyShortcuts,secondaryText:e.secondaryText}}},38701:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});const n=e=>"AppToggleButtonProps"===e.type},23008:(e,t,r)=>{"use strict";r.d(t,{D:()=>a});var n=r(10477),o=r(57674),i=r(85963);const a=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.trackOOUXAsyncUiEnabled)}},75196:(e,t,r)=>{"use strict";r.d(t,{U:()=>o,f:()=>n});const n=24,o={defaultSizedControlStyles:{small:{root:{height:n,minWidth:24,padding:1},flexContainer:{justifyContent:"flex-start"},icon:{width:16,height:16,lineHeight:16,marginLeft:2,marginRight:0,fontSize:16},textContainer:{fontSize:12,marginLeft:4,marginRight:0},label:{margin:0},menuIcon:{width:8,height:8,lineHeight:8,fontSize:8,marginLeft:4,marginRight:0,display:"block",selectors:{svg:{display:"block"}}}},large:{root:{position:"relative",padding:1,height:72,minWidth:40},flexContainer:{flexDirection:"column",justifyContent:"flex-start"},icon:{width:32,height:32,lineHeight:32,fontSize:32},textContainer:{wordWrap:"normal",fontSize:12,marginTop:2,lineHeight:"normal"},label:{margin:0}}},largeActionButtonHeight:72}},77769:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(39398),o=r(90044),i=r(18550),a=r(75196);const s=(0,o.J9)(((e,t,r)=>{switch(e){case i.J.Small:return(0,n.TW)(t,a.U.defaultSizedControlStyles.small,r&&r.small);case i.J.Large:return(0,n.TW)(t,a.U.defaultSizedControlStyles.large,r&&r.large)}return t}))},6892:(e,t,r)=>{"use strict";r.d(t,{zm:()=>c});var n=r(82148),o=r(23162),i=r(6645),a=r(13105),s=r(30133),l=r(38701);const u=e=>(0,i.q)(e)||(0,l.a)(e)||(e=>"AppCompoundButtonProps"===e.type)(e)||(0,s.w)(e)||(0,a.i)(e)||(e=>"AppInkButtonProps"===e.type)(e)||(e=>"AppInkFlyoutAnchorProps"===e.type)(e)||(e=>"AppSpinButtonProps"===e.type)(e);function c(e,t,r,i,a,s,l){if(e&&i&&a){const c=function(e,t){if(void 0===e)return[];const r=(t||window).document.getElementById(e);if(null===r)return[];const n=r.querySelectorAll("li"),o=[];return n.forEach((e=>{if(e&&e.hasChildNodes())if("INPUT"===e.children[0].nodeName)o.push(e);else{let t=e;if("DIV"===e.children[0].nodeName){if(!e.firstChild.hasChildNodes&&!e.firstChild.hasChildNodes())return;t=e.firstChild}"BUTTON"===t.children[0].nodeName&&o.push(t)}})),o}(t,l),d=function(e){const t=e?e.sections:void 0;return void 0===t?[]:t.concat(e?.footer?e.footer:[]).reduce(((e,t)=>e.concat(t.controls.filter((e=>u(e))))),[])}(e),p=new Map;c&&d&&c.length===d.length&&d.forEach(((e,t)=>{const r=function(e){switch(e.type){case"AppSpinButtonProps":case"AppComboBoxProps":case"AppCheckboxProps":case"AppFlyoutAnchorProps":case"AppSplitButtonProps":case"AppToggleButtonProps":case"AppCompoundButtonProps":case"AppButtonProps":return e.customTooltip||"";default:return""}}(e);if(""!==r){const l=c[t],u=function(e,t){switch(t.type){case"AppSpinButtonProps":case"AppCheckboxProps":return e.querySelector("div");case"AppComboBoxProps":{const t=e.querySelector("div");return t.children&&t.children[0]}default:return e.querySelector("button")}}(l,e),d=new o.x({updateTooltipsHidden:a,setTooltipElement:i,htmlElement:l,controlId:e.id,controlLabel:r,tooltipTopMargin:0,isMenuComponent:!0,hoverElement:u,tooltipDirection:e.tooltipDirection||n.A.leftCenter,performSetOnNextFrame:!!s});d.registerTooltipHostActions(),p.set(e.id,d)}})),p.forEach(((e,t)=>{r.set(t,e)}))}return r}},14465:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(90044),o=r(19094);const i=(0,n.J9)(((e,t)=>e?(0,o.ez)(e,32,t):void 0))},38295:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});const n=(e,t)=>t?r=>t(r,e):void 0},63580:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});const n="data-tabster"},1911:(e,t,r)=>{"use strict";r.d(t,{b:()=>a,n:()=>s});var n=r(39398),o=r(90044);const i={root:{height:24,lineHeight:24},text:{fontSize:12,marginLeft:0},checkbox:{height:16,width:16}},a=(e,t)=>t?t=>(0,n.TW)(i,"function"==typeof e?e(t):e):e||{},s=(0,o.J9)((e=>e?(0,n.TW)(i):{}))},87320:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppCheckbox:()=>T});var n=r(10477),o=r(25109),i=r(40409),a=r(39773),s=r(6696),l=r(73725),u=r(58261),c=r(10191),d=r(21406),p=r(95583),h=r(57674),g=r(20203),m=r(40353),f=r(40480),v=r(23162),b=r(62833),y=r(89858),S=r(21266);const C=(0,l.I)(s.L,y.$f);class T extends n.PureComponent{render(){const{label:e,checked:t,disabled:r,dataAutomationType:s}=this.props,{ariaDescriptionId:l,ariaDescriptionElement:h}=(0,u.Z)(this.props.id,this.props.customTooltip),m=(0,c.lj)(this.props);return n.createElement(f.V,null,(u=>n.createElement("div",{className:`${(0,d.Ou)()} fui-checkbox`,"data-unique-id":m,id:this.props.location===p.IZ.Ribbon?this.props.id:m},n.createElement(C,{ref:(0,a.a)((0,o.Z)({keytipProps:(0,S.l)(this.props.keytipProps,this.keytipExecute)}),this.checkboxRef),id:(0,i.O)(this.props.id),inputProps:{onFocus:this.onFocus,onBlur:this.onBlur,"data-nav":this.props.dataNav,"data-unique-id":`${m}-input`,"data-automation-type":s||"AppCheckbox",role:this.props.isMenuItem?"menuitemcheckbox":"checkbox","aria-haspopup":void 0!==this.props.isMenuExpanded?"menu":void 0,"aria-expanded":this.props.isMenuExpanded,...void 0!==this.props.tabIndex&&{tabIndex:this.props.tabIndex}},componentRef:this.checkBox,checked:t,disabled:r,label:e,onChange:this.onExecute,checkmarkIconProps:this.props.iconColor?(0,g.J)(this.props.checkmarkIcon,this.props.iconColor):(0,g.J)(this.props.checkmarkIcon),ariaPositionInSet:this.props.positionInSet,ariaSetSize:this.props.setSize,title:this.props.title,styles:(0,y.WS)(u,this.state.focused,!!t,!!r,this.props.styles),ariaLabel:e,ariaDescribedBy:h&&l}),h)))}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&(this.tooltipHost=new v.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.checkboxRef.current,controlId:this.props.id,controlLabel:(0,b.R)(!1,this.props.label,this.props.customTooltip),tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions())}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label||this.tooltipHost.updateTooltip((0,b.R)(!1,this.props.label,this.props.customTooltip))}constructor(e){super(e),this.checkboxRef=n.createRef(),this.checkBox=n.createRef(),this.onFocus=()=>{this.setState({focused:!0})},this.onBlur=()=>{this.setState({focused:!1})},this.keytipExecute=e=>{(0,m.PB)(e,this.onExecute)},this.onExecute=()=>{this.props.onExecute&&this.props.onExecute({id:this.props.id,checked:!this.props.checked,location:this.props.location})},this.state={focused:!1}}}T.contextType=h.B},89858:(e,t,r)=>{"use strict";r.d(t,{$f:()=>C,FN:()=>g,Oq:()=>h,T2:()=>p,WS:()=>T,t5:()=>c});var n=r(39398),o=r(90044),i=r(69284),a=r(31781),s=r(74445),l=r(94839),u=r(85631);const c="checkbox-checkbox",d="checkbox-text",p="checkbox-check",h=(0,o.J9)((()=>({root:{width:"100%"}}))),g=(0,o.J9)((()=>({root:{width:"100%",height:28,lineHeight:28}}))),m=[i.s0,i.KN],f=e=>[{opacity:1,fill:e.checkBoxHoverCheckmarkColor},v],v={selectors:{"svg > path.OfficeIconColors_HighContrast":{fill:"HighlightText"}}},b=[i.s0,i.KN],y=[i.s0,i.KN],S=(0,o.J9)(((e,t,r,o)=>{const h=(0,a.C)(e);return(0,n.l8)({root:[{border:"1px solid transparent",background:"none",cursor:"default",display:"flex",height:s.Z.controlHeight,boxSizing:"border-box",margin:0,outline:"none",padding:"0 9px",position:"relative"},!o&&[{selectors:{[`:hover .${p}`]:f(h),[`:hover .${c}`]:m,[`:hover .${d}`]:i.s0,":hover":y,[`:active .${c}`]:[{background:h.checkBoxPressedBackgroundColor},m],[`:active .${p}`]:[{fill:h.checkMarkColor},v]}}],o&&[i.G_],r&&!o&&{selectors:{[`:hover .${p}`]:[{fill:h.checkMarkColor},v],[`:hover .${c}`]:[{background:h.checkBoxHoverBackgroundColor},m]}},t&&[{selectors:{[`${i.iv} &`]:{borderColor:h.focusedBorderColor,":after":(0,l.B)({width:2,color:h.focusedBorderColor,gap:-1})}}},y]],input:[{position:"absolute",opacity:0,background:"none"}],checkbox:[c,{borderColor:h.checkBoxBorderColor,height:20,width:20,display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",borderWidth:1,borderStyle:"solid",margin:"0 4px",boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",overflow:"hidden",backgroundColor:h.inputBackgroundColor},!o&&[{selectors:{":hover":m,":focus":b}}],r&&[i.s0,i.zr],o&&[{backgroundColor:"none",selectors:{":focus":i.Fu}},i.G_],o&&r&&[{background:h.checkMarkCheckDisableBackgroundColor,selectors:{":focus":i.Fu}},i.G_],t&&b],checkmark:[p,{opacity:0,display:"inline-flex"},v,r&&[{opacity:1,width:20,height:20,fill:h.checkMarkSelectedColor},v],r&&o&&[{fill:h.checkMarkDisabledColor,opacity:1},v],t&&v],text:[d,u.Mb,{color:h.inputTextColor,marginLeft:5,marginRight:4,fontSize:14},o&&[{color:h.textDisabledColor},i.G_],t&&[{color:h.checkBoxFocusedTextColor},i.s0]],label:[{alignItems:"center",cursor:"default",display:"flex",margin:"0 -4px",position:"relative",textAlign:"left",userSelect:"none"},o&&{cursor:"default"}]})})),C=e=>({label:[e.reversed&&{flexDirection:"row-reverse",justifyContent:"flex-end"}]}),T=(e,t,r,o,i)=>void 0===i?S(e,t,r,o):"function"==typeof i?a=>(0,n.l8)(S(e,t,r,o),i(a)):(0,n.l8)(S(e,t,r,o),i)},21266:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});var n=r(90044),o=r(19094);const i=(0,n.J9)(((e,t)=>e?(0,o.ez)(e,22,t):void 0))},44906:(e,t,r)=>{"use strict";r.d(t,{FN:()=>o.FN,Oq:()=>o.Oq,T2:()=>o.T2,bA:()=>i.b,hG:()=>s,no:()=>i.n,t5:()=>o.t5});var n=r(10477),o=r(89858),i=r(1911);const a=n.lazy((()=>Promise.resolve().then(r.bind(r,87320)).then((e=>({default:e.AppCheckbox}))))),s=n.forwardRef((e=>n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(a,{...e}))))},88824:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppCheckbox:()=>n.hG,checkboxCheckClassName:()=>n.T2,checkboxClassName:()=>n.t5,default:()=>o,getCheckBoxStylesInMLRMenu:()=>n.FN,getCheckBoxStylesInMenu:()=>n.Oq,getCheckboxSizedStyles:()=>n.no,getMergedCheckboxSizedStyles:()=>n.bA});var n=r(44906);const o=n.hG},24890:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppColorPicker:()=>ne,AppColorPickerBase:()=>te,AppColorPickerCurrent:()=>re});var n=r(10477),o=r(54029),i=r(50550),a=r(72341),s=r(16014),l=r(73725),u=r(39398),c=r(90044),d=r(10166),p=255,h=100;function g(e,t){if(e){var r=null!=t?t:(0,d.Y)();return m(e)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:h}}(e)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:h}}(e)||function(e){var t,r,n,o,i=e.match(/^hsl(a?)\(([\d., ]+)\)$/);if(i){var a=!!i[1],s=a?4:3,l=i[2].split(/ *, */).map(Number);if(l.length===s){var u=(t=l[0],r=l[1],n=l[2],o=function(e,t,r){var n=r+(t*=(r<50?r:100-r)/100);return{h:e,s:0===n?0:2*t/n*100,v:n}}(t,r,n),function(e,t,r){var n=[],o=(r/=100)*(t/=100),i=e/60,a=o*(1-Math.abs(i%2-1)),s=r-o;switch(Math.floor(i)){case 0:n=[o,a,0];break;case 1:n=[a,o,0];break;case 2:n=[0,o,a];break;case 3:n=[0,a,o];break;case 4:n=[a,0,o];break;case 5:n=[o,0,a]}return{r:Math.round(p*(n[0]+s)),g:Math.round(p*(n[1]+s)),b:Math.round(p*(n[2]+s))}}(o.h,o.s,o.v));return u.a=a?100*l[3]:h,u}}}(e)||function(e,t){var r;if(void 0!==t){var n=t.createElement("div");n.style.backgroundColor=e,n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",n.style.height="1px",n.style.width="1px",t.body.appendChild(n);var o=null===(r=t.defaultView)||void 0===r?void 0:r.getComputedStyle(n),i=o&&o.backgroundColor;if(t.body.removeChild(n),"rgba(0, 0, 0, 0)"!==i&&"transparent"!==i)return m(i);switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}}}(e,r)}}function m(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var r=!!t[1],n=r?4:3,o=t[2].split(/ *, */).map(Number);if(o.length===n)return{r:o[0],g:o[1],b:o[2],a:r?100*o[3]:h}}}}function f(e){var t,r,n;r=p,void 0===n&&(n=0);var o=(e=(t=e)<n?n:t>r?r:t).toString(16);return 1===o.length?"0"+o:o}function v(e,t){var r,n,i,a,s,l,u,c,m,v,b,y,S=g(e,null!=t?t:(0,d.Y)());if(S)return(0,o.Cl)((0,o.Cl)({},(n=(r=S).a,i=void 0===n?h:n,a=r.b,s=r.g,l=r.r,u=function(e,t,r){var n=NaN,o=Math.max(e,t,r),i=o-Math.min(e,t,r);return 0===i?n=0:e===o?n=(t-r)/i%6:t===o?n=(r-e)/i+2:r===o&&(n=(e-t)/i+4),(n=Math.round(60*n))<0&&(n+=360),{h:n,s:Math.round(100*(0===o?0:i/o)),v:Math.round(o/p*100)}}(l,s,a),c=u.h,m=u.s,v=u.v,b=function(e,t,r){return[f(e),f(t),f(r)].join("")}(l,s,a),y=function(e,t,r,n,o){return n===h||"number"!=typeof n?"#".concat(o):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(n/h,")")}(l,s,a,i,b),{a:i,b:a,g:s,h:c,hex:b,r:l,s:m,str:y,v,t:h-i})),{str:e})}var b=r(82015),y=r(24011),S=r(93662),C=r(30838),T=function(e){var t,r=(0,C.B)("gridCell"),i=e.item,a=e.id,s=void 0===a?r:a,l=e.className,u=e.selected,c=e.disabled,d=void 0!==c&&c,p=e.onRenderItem,h=e.cellDisabledStyle,g=e.cellIsSelectedStyle,m=e.index,f=e.label,v=e.getClassNames,T=e.onClick,k=e.onHover,F=e.onMouseMove,E=e.onMouseLeave,A=e.onMouseEnter,I=e.onFocus,x=(0,b.G1)(e,b.uw),w=n.useCallback((function(e){T&&!d&&T(i,e)}),[d,i,T]),P=n.useCallback((function(e){A&&A(e)||!k||d||k(i,e)}),[d,i,k,A]),R=n.useCallback((function(e){F&&F(e)||!k||d||k(i,e)}),[d,i,k,F]),D=n.useCallback((function(e){E&&E(e)||!k||d||k(void 0,e)}),[d,k,E]),_=n.useCallback((function(e){I&&!d&&I(i,e)}),[d,i,I]);return n.createElement(S.c,(0,o.Cl)({id:s,"data-index":m,"data-is-focusable":!0,"aria-selected":u,ariaLabel:f,title:f},x,{className:(0,y.A)(l,(t={},t[""+g]=u,t[""+h]=d,t)),onClick:w,onMouseEnter:P,onMouseMove:R,onMouseLeave:D,onFocus:_,getClassNames:v}),p(i))},k=r(21782),F=(0,i.Z)(),E=(0,c.J9)((function(e,t,r,n,o,i,a,s,l){var c=(0,k.$)(e);return(0,u.l8)({root:["ms-Button",c.root,r,t,a&&["is-checked",c.rootChecked],i&&["is-disabled",c.rootDisabled],!i&&!a&&{selectors:{":hover":c.rootHovered,":focus":c.rootFocused,":active":c.rootPressed}},i&&a&&[c.rootCheckedDisabled],!i&&a&&{selectors:{":hover":c.rootCheckedHovered,":active":c.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",c.flexContainer]})})),A=r(37442),I={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},x=(0,l.I)((function(e){var t,r,i=e.item,a=e.idPrefix,s=void 0===a?e.id:a,l=e.isRadio,u=e.selected,c=void 0!==u&&u,d=e.disabled,p=void 0!==d&&d,h=e.styles,g=e.circle,m=void 0===g||g,f=e.color,b=e.onClick,y=e.onHover,S=e.onFocus,C=e.onMouseEnter,k=e.onMouseMove,A=e.onMouseLeave,I=e.onWheel,x=e.onKeyDown,w=e.height,P=e.width,R=e.borderWidth,D=F(h,{theme:e.theme,disabled:p,selected:c,circle:m,isWhite:(t=f,r=v(t),"ffffff"===(null==r?void 0:r.hex)),height:w,width:P,borderWidth:R}),_=function(e){var t,r=D.svg;return n.createElement("svg",{className:r,role:"img","aria-label":e.label,viewBox:"0 0 20 20",fill:null===(t=v(e.color))||void 0===t?void 0:t.str},m?n.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):n.createElement("rect",{width:"100%",height:"100%"}))},N=l?{role:"radio","aria-checked":c,selected:void 0}:{role:"gridcell",selected:c};return n.createElement(T,(0,o.Cl)({item:i,id:"".concat(s,"-").concat(i.id,"-").concat(i.index),key:i.id,disabled:p},N,{onRenderItem:function(t){var r=e.onRenderColorCellContent;return(void 0===r?_:r)(t,_)},onClick:b,onHover:y,onFocus:S,label:i.label,className:D.colorCell,getClassNames:E,index:i.index,onMouseEnter:C,onMouseMove:k,onMouseLeave:A,onWheel:I,onKeyDown:x}))}),(function(e){var t,r,n,o,i,a,s=e.theme,l=e.disabled,c=e.selected,d=e.circle,p=e.isWhite,h=e.height,g=void 0===h?20:h,m=e.width,f=void 0===m?20:m,v=e.borderWidth,b=s.semanticColors,y=s.palette,S=y.neutralLighter,C=y.neutralLight,T=y.neutralSecondary,k=y.neutralTertiary,F=v||(f<24?2:4);return{colorCell:[(0,u.gm)(s,{inset:-1,position:"relative",highContrastStyle:I}),{backgroundColor:b.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:g,width:f,verticalAlign:"top","forced-color-adjust":"none"},!d&&{selectors:(t={},t[".".concat(A.Y2," &:focus::after, :host(.").concat(A.Y2,") &:focus::after")]={outlineOffset:"".concat(F-1,"px")},t)},d&&{borderRadius:"50%",selectors:(r={},r[".".concat(A.Y2," &:focus::after, :host(.").concat(A.Y2,") &:focus::after")]={outline:"none",borderColor:b.focusBorder,borderRadius:"50%",left:-F,right:-F,top:-F,bottom:-F,selectors:(n={},n[u.up]={outline:"1px solid ButtonText"},n)},r)},c&&{padding:2,border:"".concat(F,"px solid ").concat(C),selectors:(o={},o["&:hover::before"]={content:'""',height:g,width:f,position:"absolute",top:-F,left:-F,borderRadius:d?"50%":"default",boxShadow:"inset 0 0 0 1px ".concat(T)},o)},!c&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:b.bodyBackground,padding:2,border:"".concat(F,"px solid ").concat(S)},i["&:focus"]={borderColor:b.bodyBackground,padding:0,selectors:{":hover":{borderColor:s.palette.neutralLight,padding:2}}},i)},l&&{color:b.disabledBodyText,pointerEvents:"none",opacity:.3},p&&!c&&{backgroundColor:k,padding:1,selectors:(a={},a[u.up]={outline:"1px solid ButtonText"},a)}],svg:[{width:"100%",height:"100%"},d&&{borderRadius:"50%"}]}}),void 0,{scope:"ColorPickerGridCell"},!0),w=r(21160),P=r(94552),R=r(93643),D=r(20508),_=(0,i.Z)(),N=n.forwardRef((function(e,t){var r=(0,C.B)("swatchColorPicker"),i=e.id||r,l=(0,D.CQ)(),u=(0,w.d)({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),c=(0,P.j)(),d=c.setTimeout,p=c.clearTimeout,h=e.colorCells,g=e.cellShape,m=void 0===g?"circle":g,f=e.columnCount,v=e.shouldFocusCircularNavigate,b=void 0===v||v,y=e.className,S=e.disabled,T=void 0!==S&&S,k=e.doNotContainWithinFocusZone,F=e.styles,E=e.cellMargin,A=void 0===E?10:E,I=e.defaultSelectedId,N=e.focusOnHover,O=e.mouseLeaveParentSelector,M=e.onChange,B=e.onColorChanged,L=e.onCellHovered,K=e.onCellFocused,W=e.getColorGridCellStyles,H=e.cellHeight,G=e.cellWidth,z=e.cellBorderWidth,U=e.onRenderColorCellContent,V=n.useMemo((function(){return h.map((function(e,t){return(0,o.Cl)((0,o.Cl)({},e),{index:t})}))}),[h]),j=n.useCallback((function(e,t){var r,n=null===(r=h.filter((function(e){return e.id===t}))[0])||void 0===r?void 0:r.color;null==M||M(e,t,n),null==B||B(t,n)}),[M,B,h]),q=(0,R.k)(e.selectedId,I,j),$=q[0],Q=q[1],X=_(F,{theme:e.theme,className:y,cellMargin:A}),Y={root:X.root,tableCell:X.tableCell,focusedContainer:X.focusedContainer},J=h.length<=f,Z=n.useCallback((function(e){K&&(u.cellFocused=!1,K(void 0,void 0,e))}),[u,K]),ee=n.useCallback((function(e){return N?(u.isNavigationIdle&&!T&&e.currentTarget.focus(),!0):!u.isNavigationIdle||!!T}),[N,u,T]),te=n.useCallback((function(e){if(!N)return!u.isNavigationIdle||!!T;var t=e.currentTarget;return!u.isNavigationIdle||l&&t===l.activeElement||t.focus(),!0}),[N,u,T,l]),re=n.useCallback((function(e){var t,r=O;if(N&&r&&u.isNavigationIdle&&!T)for(var n=null!==(t=null==l?void 0:l.querySelectorAll(r))&&void 0!==t?t:[],o=0;o<n.length;o+=1)if(n[o].contains(e.currentTarget)){if(n[o].setActive)try{n[o].setActive()}catch(e){}else n[o].focus();break}}),[T,N,u,O,l]),ne=n.useCallback((function(e,t){L&&(e?L(e.id,e.color,t):L(void 0,void 0,t))}),[L]),oe=n.useCallback((function(e,t){if(K)return e?(u.cellFocused=!0,K(e.id,e.color,t)):(u.cellFocused=!1,K(void 0,void 0,t))}),[u,K]),ie=n.useCallback((function(e,t){T||e.disabled||e.id!==$&&(K&&u.cellFocused&&(u.cellFocused=!1,K(void 0,void 0,t)),Q(e.id,t))}),[T,u,K,$,Q]),ae=n.useCallback((function(){u.isNavigationIdle||void 0===u.navigationIdleTimeoutId?u.isNavigationIdle=!1:(p(u.navigationIdleTimeoutId),u.navigationIdleTimeoutId=void 0),u.navigationIdleTimeoutId=d((function(){u.isNavigationIdle=!0}),u.navigationIdleDelay)}),[p,u,d]),se=n.useCallback((function(e){e.which!==a.c.up&&e.which!==a.c.down&&e.which!==a.c.left&&e.which!==a.c.right||ae()}),[ae]),le=function(e){return n.createElement(x,{item:e,idPrefix:i,color:e.color,styles:W,disabled:T||e.disabled,onClick:ie,onHover:ne,onFocus:oe,selected:$===e.id,circle:"circle"===m,label:e.label,onMouseEnter:ee,onMouseMove:te,onMouseLeave:re,onWheel:ae,onKeyDown:se,onRenderColorCellContent:U,height:H,width:G,borderWidth:z,isRadio:J})};return h.length<1||f<1?null:n.createElement(s.f,(0,o.Cl)({},e,{ref:t,id:i,items:V,columnCount:f,isSemanticRadio:J,onRenderItem:function(t,r){var n=e.onRenderColorCell;return(void 0===n?le:n)(t,le)},shouldFocusCircularNavigate:b,doNotContainWithinFocusZone:k,onBlur:Z,theme:e.theme,styles:Y}))}));N.displayName="SwatchColorPicker";var O=r(75296),M=r(33640),B=r(57674),L=r(85963),K=r(86725),W=r(40271),H=r(23162),G=r(31781),z=r(69284),U=r(94839);function V(e){return{width:16,height:16,border:`4px solid ${e}`,boxShadow:"none",padding:2,margin:1,color:"transparent",selectors:{[u.up]:{borderColor:"Highlight"}}}}function j(){return{border:"none",flex:"0 0 auto",width:20,height:20,padding:5,boxSizing:"content-box",stroke:"currentColor",strokeWidth:2,selectors:{[u.up]:{strokeWidth:1}}}}function q(e){const t=(0,G.C)(e);return{border:"3px solid "+t.toggledBackgroundColor,boxShadow:`0 0 0 1px ${t.colorPickerSelectedBorderColor}`,width:16,height:16,padding:2,margin:1}}const $=(0,c.J9)((e=>(0,c.J9)((t=>(0,u.l8)(X(t),e&&e(t)))))),Q="gridCell-SVG",X=(0,c.J9)((e=>{const{theme:t,disabled:r,selected:n,circle:o,isWhite:i}=e,a=(0,G.C)(t),s=a.hoverBackgroundColor;return{colorCell:[{backgroundColor:"transparent",padding:0,width:30,height:30,overflow:"visible",position:"relative",boxSizing:"border-box",display:"inline-block",border:"none !important",background:"transparent",cursor:"pointer",textAlign:"center",verticalAlign:"top",userSelect:"none",color:"transparent",selectors:{":disabled":{pointerEvents:"auto"},[`${z.si}, ${z.iv} &:focus::after`]:{outline:"none"},":focus":{padding:0},":hover":{border:"none",outline:"none",padding:0,selectors:{[`.${Q}`]:{height:20,width:20,border:"none",color:"transparent",padding:5}}},[`:focus:hover .${Q}`]:V(s),[`:focus .${Q}`]:V(s),[`${z.eE} .${Q}`]:V(s),[`:active .${Q}, :active:hover .${Q}`]:V(a.pressedBackgroundColor),[z.iZ]:(0,U.B)({width:2,color:a.focusedBorderColor})}},i&&{selectors:{[`.${Q}`]:{padding:0,border:"1px solid "+a.colorPickerWhiteCellBorderColor,margin:5,height:20,width:20}}},o&&{selectors:{[`.${Q}`]:{borderRadius:"100%"}}},n&&{selectors:{[`.${Q}`]:[{selectors:{[u.up]:{borderColor:"Highlight"}}},q(t)],[`:active .${Q}`]:{borderWidth:3},[`:focus:hover .${Q}`]:{borderWidth:3},"&:hover::before":{position:"relative"}}},r&&{color:a.colorPickerDisabledCellColor,cursor:"default",opacity:1,fillOpacity:.3,selectors:{[u.up]:{opacity:1,selectors:{[`:focus .${Q}, :hover:focus .${Q}`]:{borderColor:"Highlight"}}},[`.${Q}`]:{color:"transparent"},[`:active .${Q}`]:j()}}],svg:[j(),Q]}}));var Y=r(96359),J=r(73982);const Z=(0,l.I)(N,(e=>{const{className:t}=e;return{root:[{padding:3,margin:4,outline:"none",borderSpacing:"0",borderCollapse:"collapse",selectors:{".ms-Button-flexContainer":{justifyContent:"center"}}},t],tableCell:{padding:0}}}),void 0,void 0,!0),ee=e=>'[id*="-'+e+'-"]';class te extends n.PureComponent{render(){return n.createElement("div",{ref:this.colorPickerWrapper,onBlur:this.props.blurOnInteralEvents?void 0:this.onPickerBlur,role:this.props.isMenuItem?"menuitem":void 0},n.createElement(Z,{disabled:this.props.disabled,selectedId:this.props.selectedId,cellShape:"square",styles:this.props.styles,getColorGridCellStyles:$(this.props.cellStyles),columnCount:this.props.columnCount,colorCells:this.getColorCellsToRender(),onColorChanged:this.onExecute,onCellFocused:this.onPreviewExecute,doNotContainWithinFocusZone:!0,"aria-label":this.props.ariaLabel,ariaPosInSet:this.props.positionInSet,ariaSetSize:this.props.setSize,"data-no-vertical-wrap":!0,"data-no-horizontal-wrap":!1,focusOnHover:!0,mouseLeaveParentSelector:'[tabindex="0"][role="menu"]',isControlled:!0}))}static getDerivedStateFromProps(e,t){return e.isShadowRendering&&void 0===t.itemsToRender?{itemsToRender:0}:null}componentDidMount(){this.applyTooltipsToGridCells(),this.removeBrowserTooltipFromCells(),this.renderMoreItemsInIdleCallback()}componentDidUpdate(){this.applyTooltipsToGridCells(),this.removeBrowserTooltipFromCells(),this.renderMoreItemsInIdleCallback()}componentWillUnmount(){this.tooltipHostMap.forEach((e=>{e.unregisterTooltipHostActions()})),this.tooltipHostMap.clear()}constructor(e){super(e),this.tooltipHostMap=new Map,this.colorPickerWrapper=n.createRef(),this.totalShadowRenderingTime=0,this.renderMoreItemsInIdleCallback=()=>{if(this.props.isShadowRendering&&void 0!==this.state.itemsToRender&&this.state.itemsToRender<this.props.colorCells.length){this.currentShadowRenderingStart&&(this.totalShadowRenderingTime+=performance.now()-this.currentShadowRenderingStart);const e=(0,K.A4)(this.totalShadowRenderingTime,this.state.itemsToRender);(0,M.N)()&&window.requestIdleCallback((()=>{this.currentShadowRenderingStart=performance.now(),this.setState({itemsToRender:this.state.itemsToRender+e})}),void 0,`ColorPicker-${this.props.id}-ShadowRenderIncrement`)}},this.getColorCellsToRender=()=>this.props.isShadowRendering&&void 0!==this.state.itemsToRender&&this.state.itemsToRender<this.props.colorCells.length?this.props.colorCells.slice(0,this.state.itemsToRender):this.props.colorCells,this.onExecute=(e,t)=>{if(this.props.onExecute){const{id:r,location:n,shouldTakeFocus:o,terminalParentControlId:i}=this.props;this.props.onExecute({id:r,selectedColorId:e,color:t,location:n,shouldTakeFocus:o,terminalParentControlId:i})}},this.onPreviewExecute=(e,t)=>{this.props.onFocus&&e&&t?this.props.onFocus({id:this.props.id,selectedColorId:e,color:t}):this.props.onBlur&&!e&&!t&&this.props.blurOnInteralEvents&&this.props.onBlur()},this.onPickerBlur=e=>{this.props.onBlur&&!(0,O.s)(this.colorPickerWrapper.current,e.relatedTarget)&&this.props.onBlur()},this.applyTooltipsToGridCells=()=>{(0,L.i2)(this.context,L.PE.disableColorPickerFancyTooltips)||this.getColorCellsToRender().map((e=>{if(this.context.updateTooltipsHidden&&this.context.setTooltipElement){const t=new H.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.colorPickerWrapper.current&&this.colorPickerWrapper.current.querySelector(ee(e.id)),controlId:e.id,controlLabel:e.label||"",tooltipTopMargin:0,isMenuComponent:!0,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0});t.registerTooltipHostActions(),this.tooltipHostMap.set(e.id,t)}}))},this.removeBrowserTooltipFromCells=()=>{(0,L.i2)(this.context,L.PE.disableColorPickerFancyTooltips)||this.context.updateTooltipsHidden&&this.context.setTooltipElement&&this.getColorCellsToRender().map((e=>{const t=this.colorPickerWrapper.current&&this.colorPickerWrapper.current.querySelector(ee(e.id));t&&t.setAttribute("title","")}))},this.state={}}}te.contextType=B.B;const re=(0,W.d)(te),ne=n.forwardRef(((e,t)=>{const r=(0,Y.d)();return(()=>{const e=n.useContext(B.B);return(0,L.i2)(e,L.PE.fluentV9ComponentLevelSwatchPickerIsEnabled)})()&&r?n.createElement(J.n,{...e,ref:t}):n.createElement(re,{...e})}))},77921:(e,t,r)=>{"use strict";r.d(t,{G2:()=>o.AppColorPickerBase,eb:()=>o.AppColorPickerCurrent,nz:()=>a});var n=r(10477),o=r(24890);const i=n.lazy((()=>Promise.resolve().then(r.bind(r,24890)).then((e=>({default:e.AppColorPicker}))))),a=n.forwardRef(((e,t)=>n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(i,{...e,ref:t}))))},73982:(e,t,r)=>{"use strict";r.d(t,{n:()=>ie});var n=r(10477),o=r(43839),i=r(2483),a=r(59274),s=r(39850),l=r(87513),u=r(94190),c=r(24223),d=r(29784),p=r(77625),h=r(24439);const g={requestSelectionChange:()=>{},isGrid:!1,size:"medium",shape:"square",spacing:"medium",selectedValue:void 0},m=(0,p.q)(void 0),f=m.Provider,v=e=>(0,h.i)(m,((t=g)=>e(t)));var b=r(77675),y=r(26838);const S=(0,b.X)({root:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f14ufcw5",mc9l5x:"f22iagw"},row:{Beiy3e4:"f1063pyq"},grid:{Beiy3e4:"f1vx9l62"},spacingSmall:{i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},spacingMedium:{i8kkvl:0,Belr9w4:0,rmohyg:"f4xv25i"}},{d:[[".f14ufcw5{padding:var(--spacingHorizontalNone) var(--spacingVerticalNone);}",{p:-1}],".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],[".f4xv25i{gap:4px;}",{p:-1}]]});var C=r(60414);const T=n.forwardRef(((e,t)=>{const r=((e,t)=>{e=(0,i.c)(e);const{layout:r,onSelectionChange:n,size:c="medium",shape:d,spacing:p="medium",style:h,...g}=e,m="grid"===r,f=(0,a.i)({circular:!0,axis:m?"grid-linear":"both",memorizeCurrent:!0}),v=m?"grid":"radiogroup",[b,y]=(0,s.i)({state:e.selectedValue,defaultState:e.defaultSelectedValue,initialState:""}),S=(0,l.D)(((e,t)=>{null==n||n(e,{type:"click",event:e,selectedValue:t.selectedValue,selectedSwatch:t.selectedSwatch}),y(t.selectedValue)}));return{components:{root:"div"},root:o.Gk((0,u.g)("div",{ref:t,role:v,...f,...g}),{elementType:"div"}),isGrid:m,requestSelectionChange:S,selectedValue:b,size:c,shape:d,spacing:p}})(e,t),n=(e=>{const{isGrid:t,size:r,shape:n,spacing:o,requestSelectionChange:i,selectedValue:a}=e;return{swatchPicker:{isGrid:t,size:r,shape:n,spacing:o,selectedValue:a,requestSelectionChange:i}}})(r);return(e=>{const t=S(),r=e.isGrid?t.grid:t.row,n="small"===e.spacing?t.spacingSmall:t.spacingMedium;e.root.className=(0,y.z)("fui-SwatchPicker",t.root,r,n,e.root.className)})(r),(0,C.$e)("useSwatchPickerStyles_unstable")(r),((e,t)=>((0,d.C)(e),(0,c.Y)(f,{value:t.swatchPicker,children:(0,c.Y)(e.root,{children:e.root.children})})))(r,n)}));T.displayName="SwatchPicker";const k=e=>e.colorCells.map((t=>({value:t.id,"aria-label":t.label,color:t.color,disabled:e.disabled})));var F=r(69287);const E=(0,F.y)("r1xhj18k",null,[".r1xhj18k{display:flex;flex-direction:row;}"]),A=(0,b.X)({spacingSmall:{i8kkvl:"f16mnhsx"},spacingMedium:{i8kkvl:"f1q8lukm"}},{d:[".f16mnhsx{column-gap:2px;}",".f1q8lukm{column-gap:4px;}"]}),I=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{style:r,...n}=e,i=v((e=>e.spacing));return{components:{root:"div"},root:o.Gk((0,u.g)("div",{ref:t,role:"row",...n}),{elementType:"div"}),spacing:i}})(e,t);return(e=>{const t=E(),r=A(),n="small"===e.spacing?r.spacingSmall:r.spacingMedium;e.root.className=(0,y.z)("fui-SwatchPickerRow",t,n,e.root.className)})(r),(0,C.$e)("useSwatchPickerRowStyles_unstable")(r),(e=>((0,d.C)(e),(0,c.Y)(e.root,{})))(r)}));I.displayName="SwatchPickerRow";var x=r(58352);const w=(0,F.y)("r18b5q7m",null,{r:[".r18b5q7m{display:inline-flex;box-sizing:border-box;border:1px solid var(--colorTransparentStroke);background-size:cover;background-repeat:no-repeat;padding:0;}",".r18b5q7m:hover{cursor:pointer;border:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",".r18b5q7m:hover:active{border:none;box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}",".r18b5q7m:focus{outline:none;}",".r18b5q7m:focus-visible{outline:none;}",".r18b5q7m[data-fui-focus-visible]{border:none;outline:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}"],s:["@media (forced-colors: active){.r18b5q7m{forced-color-adjust:none;}.r18b5q7m:hover{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke2Hover),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}.r18b5q7m:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}}"]}),P=(0,b.X)({selected:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",E5pizo:"f8ps3yo",Bvxd0ez:"f106r15f",vajtyg:"ft0nc49",j6ew2k:"f16jq8vy",Bspt33j:"f18nq7tj"}},{d:[[".f3bhgqh{border:none;}",{p:-2}],".f8ps3yo{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke1),inset 0 0 0 5px var(--colorStrokeFocus1);}",".f16jq8vy[data-fui-focus-visible]{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus2),inset 0 0 0 5px var(--colorStrokeFocus1);}"],h:[".f106r15f:hover{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokeHover),inset 0 0 0 6px var(--colorStrokeFocus1);}",".ft0nc49:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokePressed),inset 0 0 0 7px var(--colorStrokeFocus1);}"],m:[["@media (forced-colors: active){.f18nq7tj{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 5px var(--colorStrokeFocus1);}}",{m:"(forced-colors: active)"}]]}),R=(0,b.X)({"extra-small":{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},small:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},medium:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},large:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),D=(0,b.X)({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),_=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{src:r,value:n,onClick:i,style:a,...s}=e,c=v((e=>e.size)),d=v((e=>e.shape)),p=v((e=>e.isGrid)),h=v((e=>e.requestSelectionChange)),g=v((e=>e.selectedValue===n)),m=p?"gridcell":"radio",f=p?{"aria-selected":g}:{"aria-checked":g},b=(0,l.D)((0,x.p)(i,(e=>h(e,{selectedValue:n,selectedSwatch:r}))));return{components:{root:"button"},root:o.Gk((0,u.g)("button",{ref:t,role:m,...f,onClick:b,...s,style:{backgroundImage:`url(${r})`,...a}}),{elementType:"button"}),value:n,selected:g,size:c,shape:d}})(e,t);return(e=>{const t=w(),r=P(),n=R(),o=D(),{size:i="medium",shape:a="square"}=e;e.root.className=(0,y.z)("fui-ImageSwatch",t,n[i],o[a],e.selected&&r.selected,e.root.className)})(r),(0,C.$e)("useImageSwatchStyles_unstable")(r),(e=>((0,d.C)(e),(0,c.Y)(e.root,{})))(r)}));_.displayName="ImageSwatch";const N={color:"--fui-SwatchPicker--color",borderColor:"--fui-SwatchPicker--borderColor"},{color:O,borderColor:M}=N,B=(0,F.y)("ryw27oi",null,{r:[".ryw27oi{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid var(--fui-SwatchPicker--borderColor);background:var(--fui-SwatchPicker--color);overflow:hidden;padding:0;}",".ryw27oi:hover{cursor:pointer;border:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",".ryw27oi:hover:active{border:none;box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}",".ryw27oi:focus{outline:none;}",".ryw27oi:focus-visible{outline:none;}",".ryw27oi[data-fui-focus-visible]{border:none;outline:none;box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}"],s:["@media (forced-colors: active){.ryw27oi{forced-color-adjust:none;}.ryw27oi:hover{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke2Hover),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}.ryw27oi:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}}"]}),L=(0,b.X)({disabled:{eoavqd:"fphbwmw",Bvxd0ez:"f1q3txrk",Bs5ihcz:"f1hjbkfk"},selected:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",E5pizo:"f8ps3yo",Bvxd0ez:"f106r15f",vajtyg:"ft0nc49",j6ew2k:"f16jq8vy",Bspt33j:"f18nq7tj"},selectedSmall:{E5pizo:"fxflcoq",Bvxd0ez:"fha7ylp",vajtyg:"fb3iqi"}},{h:[".fphbwmw:hover{cursor:not-allowed;}",".f1q3txrk:hover{box-shadow:none;}",".f106r15f:hover{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokeHover),inset 0 0 0 6px var(--colorStrokeFocus1);}",".ft0nc49:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThickest) var(--colorCompoundBrandStrokePressed),inset 0 0 0 7px var(--colorStrokeFocus1);}",".fha7ylp:hover{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorCompoundBrandStrokeHover),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",".fb3iqi:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThickest) var(--colorStrokeFocus1);}"],m:[["@media (forced-colors: active){.f1hjbkfk:hover{box-shadow:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18nq7tj{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke2Pressed),inset 0 0 0 5px var(--colorStrokeFocus1);}}",{m:"(forced-colors: active)"}]],d:[[".f3bhgqh{border:none;}",{p:-2}],".f8ps3yo{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorBrandStroke1),inset 0 0 0 5px var(--colorStrokeFocus1);}",".f16jq8vy[data-fui-focus-visible]{box-shadow:inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus2),inset 0 0 0 5px var(--colorStrokeFocus1);}",".fxflcoq{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}"]}),K=(0,b.X)({"extra-small":{a9b677:"f64fuq3",Bqenvij:"fjamq6b",Bvxd0ez:"fnzblak",Bfsrqk8:0,B9zn80p:0,libdba:0,qi15n7:0,G6mxvm:0,Bpld233:0,B2v0cj4:0,qv9p00:0,Bg6oviu:0,Bk6r4ia:0,Bckajt6:0,Bone85h:0,hkxzgu:0,b661bw:0,kpb45w:0,uiygdg:0,rljib7:"f18wa7jm",vajtyg:"faswyoo"},small:{a9b677:"fq4mcun",Bqenvij:"frvgh55",Bfsrqk8:0,B9zn80p:0,libdba:0,qi15n7:0,G6mxvm:0,Bpld233:0,B2v0cj4:0,qv9p00:0,Bg6oviu:0,Bk6r4ia:0,Bckajt6:0,Bone85h:0,hkxzgu:0,b661bw:0,kpb45w:0,uiygdg:0,rljib7:"f18wa7jm",vajtyg:"faswyoo"},medium:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},large:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"],h:[".fnzblak:hover{box-shadow:inset 0 0 0 var(--strokeWidthThin) var(--colorBrandStroke1),inset 0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus1);}",[".f18wa7jm:hover:active{border:none;}",{p:-2}],".faswyoo:hover:active{box-shadow:inset 0 0 0 var(--strokeWidthThick) var(--colorCompoundBrandStrokePressed),inset 0 0 0 var(--strokeWidthThicker) var(--colorStrokeFocus1);}",[".f18wa7jm:hover:active{border:none;}",{p:-2}]]}),W=(0,b.X)({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),H=(0,b.X)({disabledIcon:{sj55zd:"fqpbvvt",Bhu2qc9:"f14y0k3d"},icon:{qhf8xq:"f1euv43f",mc9l5x:"f22iagw",qb2dma:"f7nlbp4"},"extra-small":{Be2twd7:"f4ybsrx"},small:{Be2twd7:"f4ybsrx"},medium:{Be2twd7:"fe5j1ua"},large:{Be2twd7:"f1rt2boy"}},{d:[".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f14y0k3d{filter:drop-shadow(0 1px 1px rgb(0 0 0 / 1));}",".f1euv43f{position:absolute;}",".f22iagw{display:flex;}",".f7nlbp4{align-self:center;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}"]});var G=r(26510),z=r(26734);const U=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{borderColor:r,color:i,disabled:a,disabledIcon:s,icon:c,value:d,onClick:p,size:h,shape:g,style:m,...f}=e,b=v((e=>e.size)),y=v((e=>e.shape)),S=v((e=>e.isGrid)),C=v((e=>e.requestSelectionChange)),T=v((e=>e.selectedValue===d)),k=(0,l.D)((0,x.p)(p,(e=>C(e,{selectedValue:d,selectedSwatch:i})))),F={[N.color]:i,[N.borderColor]:null!=r?r:z.L.colorTransparentStroke},E=S?"gridcell":"radio",A=S?{"aria-selected":T}:{"aria-checked":T},I=o.lq(c,{elementType:"span"}),w=o.lq(s,{defaultProps:{children:n.createElement(G.LKJ,null)},renderByDefault:!0,elementType:"span"});return{components:{root:"button",icon:"span",disabledIcon:"span"},root:o.Gk((0,u.g)("button",{ref:t,role:E,...A,onClick:k,type:"button",disabled:a,...f,style:{...F,...m}}),{elementType:"button"}),icon:I,disabledIcon:w,disabled:a,size:null!=h?h:b,shape:null!=g?g:y,selected:T,color:i,value:d}})(e,t);return(e=>{const{size:t="medium",shape:r="square"}=e,n=B(),o=L(),i=K(),a=W(),s=H(),l="small"===t||"extra-small"===t?o.selectedSmall:"";e.root.className=(0,y.z)("fui-ColorSwatch",n,i[t],a[r],e.selected&&o.selected,e.selected&&l,e.disabled&&o.disabled,e.root.className),e.disabled&&e.disabledIcon&&(e.disabledIcon.className=(0,y.z)(s.icon,s[t],s.disabledIcon,e.disabledIcon.className)),e.icon&&(e.icon.className=(0,y.z)(s.icon,s[t],e.icon.className))})(r),(0,C.$e)("useColorSwatchStyles_unstable")(r),(e=>((0,d.C)(e),(0,c.FD)(e.root,{children:[e.root.children,e.icon&&(0,c.Y)(e.icon,{}),e.disabled&&e.disabledIcon&&(0,c.Y)(e.disabledIcon,{})]})))(r)}));U.displayName="ColorSwatch";var V=r(26423),j=r(95902),q=r(4228),$=r(55056),Q=r(63900),X=r(21609);const Y={border:"none !important",boxShadow:`inset 0 0 0 ${X.k.strokeWidthThick} ${X.k.colorBrandStroke1}, inset 0 0 0 ${X.k.strokeWidthThicker} ${X.k.colorStrokeFocus1}`},J={border:"1px solid GrayText !important",boxShadow:`inset 0 0 0 ${X.k.strokeWidthThick} ${X.k.colorBrandStroke1}, inset 0 0 0 ${X.k.strokeWidthThicker} ${X.k.colorStrokeFocus1}`},Z=(0,$.n)({colorSwatch:{margin:`${X.k.spacingHorizontalXXS} ${X.k.spacingVerticalXXS}`,width:`${X.k.spacingHorizontalL}`,height:`${X.k.spacingVerticalL}`,border:`1px solid ${X.k.colorNeutralStencil1Alpha}`,[Q.up]:{border:"1px solid GrayText !important"}},isWhite:{border:`1px solid ${X.k.colorNeutralForeground3}`},isBlack:{border:`1px solid ${X.k.colorNeutralForeground1}`},swatchPickerBoxStyle:{marginLeft:`${X.k.spacingHorizontalXS}`,marginRight:`${X.k.spacingHorizontalXS}`,marginBottom:`${X.k.spacingVerticalSNudge}`},swatchSelected:{...Y,"&:active, &:focus, &:hover":{...Y},[Q.up]:{...J,"&:active, &:focus, &:hover":{...J}}}}),ee=(0,$.n)({tooltip:{":hover":{cursor:"pointer"}}}),te=(e,t)=>(e=>{const{items:t,columnCount:r,renderRow:o,renderSwatch:i}=e,a=o||(({children:e,rowId:t})=>n.createElement(I,{key:t},e)),s=i||(e=>{var t;return e.src?n.createElement(_,{key:e.value,src:null!==(t=e.src)&&void 0!==t?t:"",...e}):n.createElement(U,{key:e.value,color:e.color||"",...e})}),l=Math.ceil(t.length/r);return Array.from({length:l},((e,n)=>{const o=n*r,i=o+r;return t.slice(o,i)})).map(((e,t)=>a({children:e.map(s),rowId:t})))})({items:e.items,columnCount:e.columnCount,renderSwatch:r=>n.createElement(re,{key:r.value,...r,showTooltip:e.showTooltip,selectedValue:t})}),re=e=>{const{color:t,value:r,selectedValue:o,...i}=e,a=e["aria-label"]||"",s=(0,V.l)(),l=(e=>{const t=Z(),{color:r,value:n,selectedValue:o}=e;return(0,y.z)(t.colorSwatch,"#ffffff"===r&&t.isWhite,"#000000"===r&&t.isBlack,o===n&&t.swatchSelected)})({...e,selectedValue:o}),u=(()=>{const e=ee();return(0,y.z)(e.tooltip)})(),[c,d]=n.useState(!1),p=n.createElement(U,{color:t,value:r,"aria-label":a,...i,className:l,onMouseEnter:e=>{e.currentTarget.focus()},onMouseLeave:e=>d(!1),onFocus:e=>d(!0),onBlur:e=>d(!1)});return s?n.createElement(j.K,{...e,label:a,tooltipClassName:u,visible:c},p):n.createElement(q.m,{withArrow:!0,relationship:"label",positioning:"below",content:{children:a,className:u},visible:c},p)},ne=(0,$.n)({swatchPickerStyle:{padding:X.k.spacingVerticalXXS,margin:X.k.spacingVerticalXS,outline:"none",borderSpacing:"0"}});var oe=r(37971);const ie=n.memo(n.forwardRef(((e,t)=>e.colorCells?.length>0?n.createElement(oe.o,null,n.createElement(ae,{...e,ref:t})):null))),ae=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{id:r,location:n,shouldTakeFocus:i,terminalParentControlId:s}=e,l=(0,a.i)({axis:"grid"}),u={items:k(e),columnCount:e.columnCount,showTooltip:e.showTooltip},c=o.Gk(e.swatchPicker,{defaultProps:{...e,layout:"grid",size:e.size??"small",selectedValue:e.selectedId,shape:void 0===e.cellShape||"circle"===e.cellShape?"circular":e.cellShape,onSelectionChange:(t,o)=>{e.onExecute?.({id:r,selectedColorId:o.selectedValue,color:o.selectedSwatch,location:n,shouldTakeFocus:i,terminalParentControlId:s})},...l,ref:t,role:"grid"},elementType:T});return{gridProps:u,components:{swatchPicker:T},swatchPicker:c,selectedValue:e.selectedId}})(e,t);return(e=>{const t=ne();e.swatchPicker.className=(0,y.z)(t.swatchPickerStyle,e.swatchPicker.className)})(r),(e=>((0,d.C)(e),(0,c.Y)("div",{"data-no-horizontal-wrap":!1,className:Z().swatchPickerBoxStyle,children:(0,c.Y)(e.swatchPicker,{children:te(e.gridProps,e.selectedValue)})})))(r)})));ie.displayName="next/AppColorPicker"},96359:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});var n=r(10477),o=r(57674),i=r(85963);const a=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.fluentV9ColorPickerIsEnabled)}},50949:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppColorPicker:()=>n.nz,AppColorPickerBase:()=>n.G2,AppColorPickerCurrent:()=>n.eb});var n=r(77921)},28073:(e,t,r)=>{"use strict";r.d(t,{FA:()=>c,Jm:()=>h,rj:()=>u});var n=r(39398),o=r(90044),i=r(74445),a=r(18550),s=r(60660);const l=(e,t)=>({root:{height:i.Z.comboBoxSmallHeight,lineHeight:i.Z.comboBoxSmallHeight-2,paddingRight:i.Z.comboBoxSmallCaretWidth},container:[{height:t?48:i.Z.comboBoxSmallHeight},(0,s.p3)(i.Z.comboBoxSmallRightMargin,e)],input:{fontSize:12,height:16,lineHeight:16},label:{fontSize:12,lineHeight:t?12:void 0,marginLeft:4,marginRight:4}}),u={root:{height:28,minHeight:28},optionText:{fontSize:12}},c={root:{height:i.Z.comboBoxSmallHeight,width:i.Z.comboBoxSmallCaretWidth,minWidth:i.Z.comboBoxSmallCaretWidth},icon:{height:8,width:8,lineHeight:8}},d=(0,o.J9)(((e,t)=>({width:16,height:16,marginLeft:t?0:4,marginRight:e?void 0:4,paddingBottom:t?5:void 0}))),p=(0,o.J9)(((e,t,r,o,i,s,p,h)=>{switch(e){case a.J.Small:case a.J.Large:return{styles:(0,n.TW)(l(t,h),o),iconStyles:(0,n.Zq)(d(r,h),p),optionStyles:(0,n.TW)(u,i),caretDownButtonStyles:(0,n.TW)(c,s)};default:return{styles:o,iconStyles:p,optionStyles:i,caretDownButtonStyles:s}}})),h=(e,t)=>p(e,t?t.pinToPreviousComboBox:void 0,t?t.showLabel:void 0,t?t.styles:void 0,t?t.optionStyles:void 0,t?t.caretDownButtonStyles:void 0,t?t.iconStyles:void 0,t?t.identifiersAbove:void 0)},60660:(e,t,r)=>{"use strict";r.d(t,{As:()=>b,HV:()=>m,Hp:()=>p,Kh:()=>d,MB:()=>S,WA:()=>f,bt:()=>C,k6:()=>T,p3:()=>g,x3:()=>k});var n=r(39398),o=r(90044),i=r(74445),a=r(86272),s=r(31781),l=r(69284),u=r(85631),c=r(79606);const d=283,p=(0,o.J9)(((e,t)=>(0,n.Zq)({width:"inherit",display:"flex",alignItems:t?"center":"unset"},e))),h={color:"HighlightText",borderColor:"Highlight",backgroundColor:"Window"};function g(e,t){const{comboBoxBorderWidth:r}=i.Z;return t?[{marginTop:0,marginRight:`${e}px`,marginBottom:0,marginLeft:-e-r+"px !important"},(0,a.b)("marginLeft",(t=>-e-r*t+"px !important"))]:{margin:`0 ${e}px 0 0px`}}const m=(0,o.J9)(((e,t,r,o,i)=>(0,n.l8)({controlAndIconContainer:{display:"flex",alignItems:"center"},icon:{width:20,height:20,marginLeft:o?0:10,marginRight:e?void 0:10,paddingBottom:o?5:void 0,opacity:i?.4:void 0}},{controlAndIconContainer:t&&t.controlAndIconContainer,icon:r}))),f=(0,o.J9)((e=>{const t=e.labelStyle||(0,n.TW)(v(e.theme,e.identifiersAbove),e.customStyles);return(0,n.Zq)(t.label,{pointerEvents:"none"},e.disabled&&t.labelDisabled)})),v=(0,o.J9)(((e,t)=>{const r=(0,s.C)(e);return{label:{marginLeft:t?0:10,marginRight:10,fontWeight:n.BO.regular},labelDisabled:[{color:r.inputTextDisabledColor,cursor:"default"},l.G_]}})),b=(0,o.J9)((e=>(0,n.Zq)(e,u.Mb))),y=(0,o.J9)(((e,t,r,o,u,p)=>{const m=t||130,f=(0,s.C)(e),b={borderColor:f.inputFocusBorderColor,zIndex:1},{comboBoxHeight:y,comboBoxCaretWidth:S,comboBoxBorderWidth:C,comboBoxRightMargin:T,comboBoxVerticalPadding:k}=i.Z;return{container:[{display:"flex",alignItems:"center",height:i.Z.controlHeight},g(T,r)],root:[n.dK.medium,{height:y,width:m,lineHeight:y-2,paddingLeft:0,paddingRight:S,borderColor:f.inputBorderColor,zIndex:0,boxShadow:"none",paddingTop:0,paddingBottom:0,position:"relative",outline:0,userSelect:"none",backgroundColor:f.inputBackgroundColor,borderWidth:C,borderStyle:"solid",cursor:"text",display:"block",overflow:"hidden",whiteSpace:"nowrap",boxSizing:"border-box",selectors:{input:{selectors:{"::-ms-clear":{display:"none"}}},"input[type=text]":{padding:0,paddingLeft:4},".ms-Label":{display:"inline-block",marginBottom:8}}},o&&{selectors:{"&&":{borderColor:f.inputFocusBorderColor},[n.up]:[h,{selectors:{button:c.h}}]}},(0,a.W)(C)],rootDisabled:[l.G_,{backgroundColor:f.disabledBackgroundColor,cursor:"default"},u&&[b,l.Fu,{selectors:{[n.up]:{outlineColor:"GrayText"}}}]],inputDisabled:[{color:f.inputTextDisabledColor,selectors:{[n.up]:{color:"GrayText",...(0,n.Qg)(),backgroundColor:"ButtonFace",selectors:{"::selection":{color:"GrayText !important",backgroundColor:"Highlight",...(0,n.Qg)()}}}}}],...v(e,p),rootFocused:[b,{selectors:{[n.up]:[h,{selectors:{":hover button":c.h}}],"button:not(.is-checked)":[{backgroundColor:f.hoverBackgroundColor,selectors:{[n.up]:c.h}},l.KN,l.s0]}},l.KN],rootHovered:[{zIndex:1},{selectors:{button:[{background:f.hoverBackgroundColor},l.KN,l.s0],[n.up]:{color:"HighlightText",borderColor:"Highlight",backgroundColor:"Window",selectors:{button:c.h}}}},l.KN],rootPressed:{selectors:{[n.up]:h}},input:{font:"inherit",color:f.inputTextColor,height:y-k,lineHeight:y-k,backgroundColor:"transparent",boxSizing:"border-box",width:"100%",borderStyle:"none",outline:"none",textOverflow:"ellipsis",padding:0,selectors:{"::selection":{backgroundColor:f.inputSelectionBackgroundColor,color:f.inputSelectionTextColor}}},header:[n.dK.medium,{fontWeight:600,borderStyle:"none",height:32,lineHeight:32,cursor:"default",padding:"0px 12px",userSelect:"none",textAlign:"left",backgroundColor:f.defaultBackgroundColor,color:f.inputTextColor,fontSize:14,maxWidth:d,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}],callout:[l.$V,{border:"none"}],optionsContainer:{display:"inline-block"},divider:{margin:"3px 8px",backgroundColor:f.menuDividerBackgroundColor,display:"block",height:1,position:"relative"},screenReaderText:l.dX}})),S=(0,o.J9)(((e,t,r,i)=>(0,o.J9)(((o,a,s,l,u,c,d)=>{const p=(0,n.TW)(y(o,t,r,a,u,i),e);return{container:(0,n.Zq)(p.container,i&&{display:"block"}),label:f({theme:o,labelStyle:p,disabled:s}),root:(0,n.Zq)(p.root,!c&&p.rootDisallowFreeForm,!s&&u&&p.rootFocused,!s&&{selectors:{":hover":!a&&!u&&p.rootHovered,":active":p.rootPressed,":focus":p.rootFocused}},s&&p.rootDisabled),errorMessage:"",rootError:"",input:(0,n.Zq)(p.input,s&&p.inputDisabled),callout:(0,n.Zq)(p.callout),optionsContainerWrapper:(0,n.Zq)(p.optionsContainerWrapper),optionsContainer:(0,n.Zq)(p.optionsContainer),header:(0,n.Zq)(p.header),divider:(0,n.Zq)(p.divider),screenReaderText:(0,n.Zq)(p.screenReaderText)}})))),C=(0,o.J9)((e=>({optionText:(0,n.Zq)(e.optionText),root:(0,n.Zq)(e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:(0,n.Zq)(e.optionTextWrapper),stackStyle:(0,n.Zq)(e.stackStyle),subTextStyle:(0,n.Zq)(e.subTextStyle)}))),T=(e,t)=>e&&!t?40:t?10:16,k=(0,o.J9)(((e,t,r,o,i,a)=>{const u=(0,s.C)(e),c={root:{height:a?50:32,paddingLeft:T(o,i),paddingRight:T(o,i),maxWidth:d,minHeight:32},header:{paddingLeft:12},rootHovered:{backgroundColor:u.hoverBackgroundColor,selectors:{":hover":l.s0}},rootFocused:[{backgroundColor:u.selectedBackgroundColor,selectors:{[l.iZ]:[{border:`1px solid ${u.selectedBorderColor}`,selectors:{[n.up]:[{border:"none"},l.KN,l.s0]}}]}},l.KN,l.s0],rootChecked:[{backgroundColor:u.selectedBackgroundColor,selectors:{[l.iZ]:[{border:`1px solid ${u.selectedBorderColor}`,selectors:{[n.up]:[{border:"none"},l.KN]}},l.KN],[`${l.iv} &:after`]:{outlineWidth:2,left:1,right:1,top:1,bottom:1}}},l.KN,l.s0],rootCheckedHovered:{backgroundColor:u.hoverBackgroundColor,selectors:{":hover":l.s0}},rootPressed:{backgroundColor:u.pressedBackgroundColor},rootCheckedPressed:{backgroundColor:u.pressedBackgroundColor},optionText:[{fontSize:16,overflow:"visible"}],optionTextWrapper:{whiteSpace:"nowrap"},stackStyle:{overflow:"hidden"},subTextStyle:{fontSize:"11px",display:"block"}};return(0,n.l8)(c,t,r)}))},54225:(e,t,r)=>{"use strict";r.d(t,{LV:()=>a,SK:()=>i,kR:()=>s,mZ:()=>o});var n=r(74445);const o="acui-combobox-custom-option",i="32px",a="50px";function s(e,t){const{comboBoxRightMargin:r,comboBoxBorderWidth:o}=n.Z,i=r+o;let a=0;return e?.pinToPreviousComboBox&&(a+=i),t?.pinToPreviousComboBox&&(a-=i),Math.ceil(a)}},12688:(e,t,r)=>{"use strict";r.d(t,{N:()=>s,e:()=>a});var n=r(39398),o=r(90044),i=r(74445);const a=(0,o.J9)(((e,t)=>(0,n.TW)({container:{margin:0},root:{marginRight:i.Z.menuItemGapToRightEdge},label:{marginLeft:e?void 0:i.Z.menuNoIconGutterPadding,fontWeight:n.BO.regular}},t))),s=(0,o.J9)((e=>(0,n.TW)({label:{fontSize:12,marginLeft:36}},e)))},73494:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppComboBox:()=>W,AppComboBoxBase:()=>K,StickyFooterAppComboBox:()=>Q,comboboxOptionHeight:()=>H.SK,comboboxOptionHeightWithSubText:()=>H.LV,customOptionKey:()=>H.mZ,default:()=>X,getComboBoxClassNames:()=>L.MB,getComboBoxContainerMarginStyles:()=>L.p3,getComboBoxControlWidthOffset:()=>H.kR,getComboBoxIconClassNames:()=>L.HV,getComboBoxListClassNames:()=>j,getComboBoxOptionClassNames:()=>L.bt,getComboBoxOptionPadding:()=>L.k6,getComboBoxOptionStyles:()=>L.x3,getComboBoxSizedStyles:()=>z.Jm,getComboBoxStylesInMLRMenu:()=>G.N,getComboBoxStylesInMenu:()=>G.e,getComboxLabelClassname:()=>L.WA,getControlContainerStyles:()=>L.Hp,getFooterOptionButtonStyles:()=>q,getTextContainerClassname:()=>L.As,maxContentWidth:()=>L.Kh,optionSmallStyles:()=>z.rj,smallCaretDownButtonStyles:()=>z.FA});var n=r(10477),o=r(90044),i=r(61894),a=r(37241),s=r(72341),l=r(36141),u=r(82148),c=r(91074),d=r(24077),p=r(62186),h=r(25109),g=r(33116),m=r(17713),f=r(33640),v=r(75744),b=r(95583),y=r(10191),S=r(81235),C=r(58261),T=r(79606),k=r(45368),F=r(57674),E=r(85963),A=r(31798),I=r(79095),x=r(20203),w=r(71938),P=r(40353),R=r(19094),D=r(66152),_=r(86725),N=r(40480),O=r(23162),M=r(62833),B=r(4749),L=r(60660);class K extends n.PureComponent{render(){let e={};e=this.state.text?{text:this.state.text}:void 0===this.props.selectedKey&&this.state.option?{selectedKey:this.state.option.key}:this.props.value&&void 0!==this.props.selectedKey?{text:this.props.value,selectedKey:this.props.selectedKey}:this.props.value||""===this.props.value?{text:this.props.value,selectedKey:null}:void 0!==this.props.selectedKey?{selectedKey:this.props.selectedKey}:{defaultSelectedKey:this.props.defaultSelectedKey};const{disabled:t,allowFreeForm:r,autoComplete:o,options:i,label:a,showLabel:s,dataNav:l,preventMenuExecution:u,placeholder:c,useComboBoxAsMenuWidth:d}=this.props,{isShadowRendering:g}=this.state,m=i.some((e=>"AppComboBoxHeader"===e.type)),f=i.some((e=>"AppComboBoxItem"===e.type&&!!e.data)),{ariaDescriptionId:v,ariaDescriptionElement:b}=(0,C.Z)(this.props.id,this.props.customTooltip),S=this.getComboboxId();return this.comboBoxDropdownId=S+"Dropdown",n.createElement(N.V,null,(i=>n.createElement("div",{ref:this.appComboBoxWrapper,className:(0,L.Hp)(this.props.styles&&this.props.styles.controlContainer,this.props.identifiersAbove)},n.createElement(p.a,{...e,ref:(0,h.Z)({keytipProps:(0,R.U_)(this.props.keytipProps,this.keytipExecute)}),componentRef:this.comboBox,disabled:t,allowFreeform:r,autoComplete:o?"on":"off",options:this.getOptionsToRender(i,m||f,e),onChange:this.onExecute,onItemClick:this.onItemClick,onFocus:this.onFocus,onBlur:this.onBlur,onMenuOpen:this.onMenuOpen,onMenuDismissed:this.onAfterMenuDismiss,onPendingValueChanged:this.onPreviewExecute,onInputValueChange:this.props.onInputValueChange,getClassNames:(0,L.MB)(this.props.styles,this.props.width,this.props.pinToPreviousComboBox,this.props.identifiersAbove),caretDownButtonStyles:(0,T.E)(i,this.props.caretDownButtonStyles,(0,A.C)(this.context)),buttonIconProps:(0,x.J)((0,w.r)(this.props)),label:s?a:void 0,"data-automation-type":this.props.dataAutomationType||"AppComboBox","data-unique-id":(0,y.lj)(this.props),title:void 0,"aria-posinset":this.props.positionInSet,"aria-setsize":this.props.setSize,ariaLabel:a,ariaDescribedBy:b&&v,calloutProps:this.getCalloutProps?.(this.comboBoxDropdownId,!!g,!!this.props.preventCalloutDismissOnScroll),onRenderOption:this.onRenderOption(i),onRenderList:this.props.onRenderList,onScrollToItem:this.props.onScrollToItem,persistMenu:this.shouldPersistMenu(),autofill:(0,I.B)(this.context,l),onRenderLabel:this.getOnRenderLabel(i),id:S,placeholder:c,useComboBoxAsMenuWidth:d,iconButtonProps:u?{onClick:(0,k.v)()}:{onMouseUp:this.setMenuExecutionEvent},isButtonAriaHidden:!1}),b)))}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&!this.props.disableTooltips&&(this.tooltipHost=new O.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.appComboBoxWrapper.current,controlId:this.props.id,controlLabel:(0,M.R)(this.props.showLabel,this.props.label,this.props.customTooltip),tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions()),this.tryInitiateShadowRendering(),this.appComboBoxWrapper.current&&this.events.on(this.appComboBoxWrapper.current,this.keydown,this.onKeyDown,!0)}componentDidUpdate(e){this.tryInitiateShadowRendering(),this.renderMoreItemsInIdleCallback(),!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label&&e.showLabel===this.props.showLabel||this.tooltipHost.updateTooltip((0,M.R)(this.props.showLabel,this.props.label,this.props.customTooltip)),this.menuExecutionEvent=void 0}componentWillUnmount(){this.getCalloutProps=void 0,this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0),this.events.off(),this.events.dispose()}focus(e,t){this.comboBox.current?.focus(e,t)}static getDerivedStateFromProps(e,t){return t.prevPropsSelectedKey!==e.selectedKey||t.prevPropsValue!==e.value?{prevPropsSelectedKey:e.selectedKey,prevPropsValue:e.value,option:void 0,text:""}:null}unregisterTooltips(){this.tooltipHostMap.forEach((e=>{e.unregisterTooltipHostActions()})),this.tooltipHostMap.clear()}removeBrowserTooltips(e){e.forEach((e=>{e.removeAttribute("title")}))}createArrayOfButtonElements(){const e=[],t=document.getElementById(this.comboBoxDropdownId);return null!==t&&t.querySelectorAll("button").forEach((t=>{e.push(t)})),e}createArrayOfAppComboBoxItems(){const e=[];return this.props.options.forEach((t=>{"AppComboBoxItem"===t.type&&e.push(t)})),e}shouldPersistMenu(){return this.props.persistMenu&&this.state.menuHasBeenOpened}constructor(e){super(e),this.keydown="keydown",this.enterKey="Enter",this.comboBox=n.createRef(),this.tooltipHostMap=new Map,this.appComboBoxWrapper=n.createRef(),this.processingEscKeyDown=!1,this.didSetInitialText=!1,this.initiatedShadowRendering=!1,this.totalShadowRenderingTime=0,this.comboBoxDropdownId="ComboBoxDropDownId",this.tryInitiateShadowRendering=()=>{!this.initiatedShadowRendering&&(0,D.L)(this.props.shadowRenderMenu)&&(0,f.N)()&&!this.props.disabled&&!1===this.state.menuHasBeenOpened&&(this.initiatedShadowRendering=!0,window.requestIdleCallback((()=>{const{id:e,location:t}=this.props;this.props.onMenuOpen&&this.props.onMenuOpen({id:e,location:t,isShadowRendering:!0})}),void 0,`ComboBox-${this.props.id}-ShadowMenuOpen`),window.requestIdleCallback((()=>{!1===this.state.menuHasBeenOpened&&this.setState({isShadowRendering:!0,menuHasBeenOpened:!0,itemsToRender:0})}),void 0,`ComboBox-${this.props.id}-StartShadowRendering`))},this.getCalloutProps=(0,o.J9)(((e,t,r)=>({directionalHintFixed:!this.props.directionalHintDynamic,id:e,layerProps:{hostId:this.props.calloutHostLayerId},onPositioned:this.onCalloutReady,bounds:this.context.isExperimentalFeatureEnabled?.(E.PE.multiWindowSupportIsEnabled)?(0,v.W)(this.context.appWindow):B.HN,shouldUpdateWhenHidden:t,preventDismissOnScroll:r}))),this.getComboboxId=()=>this.props.location!==b.IZ.Ribbon&&(0,y.lj)(this.props)||this.props.id,this.getOnRenderLabel=(0,o.J9)((e=>t=>{const{iconStyles:r,label:o,showLabel:s,styles:l,identifiersAbove:u,icon:c,iconColor:d,disabled:p}=this.props;if(!s&&!c)return n.createElement("div",null);const h=(0,L.HV)(s,l,r,u,p),{required:g}=t.props,m=this.getComboboxId(),f=n.createElement("div",{className:(0,L.As)(l?.textContainer)},n.createElement(i.J,{htmlFor:m+"-input",id:m+"-label",className:(0,L.WA)({theme:e,customStyles:l,identifiersAbove:u,disabled:p}),disabled:p,required:g},o));return this.props.icon?n.createElement("div",{className:h.controlAndIconContainer},n.createElement(a.I,{...(0,x.J)(c,d),className:h.icon}),s&&f):f})),this.getOptionsSliceToRender=e=>{if(!this.state.isShadowRendering)return this.props.options;const t=this.props.options.slice(0,this.state.itemsToRender);if((0,E.i2)(this.context,E.PE.comboBoxShadowRenderingFix)&&void 0!==this.state.itemsToRender){const{text:r,selectedKey:n,defaultSelectedKey:o}=e,i=(0,l.SL)(this.props.options,(e=>e.key===n||e.key===o||"AppComboBoxItem"===e.type&&e.text===r));i>=this.state.itemsToRender&&t.push(this.props.options[i])}return t},this.getOptionsToRender=(e,t,r)=>{const n=this.getOptionsSliceToRender(r);return this.getComboBoxOptionsToRender(e,n,t,this.props.optionStyles)},this.getComboBoxOptionsToRender=(0,o.J9)(((e,t,r,o)=>t.map((t=>function(e,t,r,o){const i=e=>(n.isValidElement(e.data?.subText)||"string"==typeof e.data?.subText)&&e.data?.ariaLabelSubText?`${e.text}${"\n"+e.data?.ariaLabelSubText}`:"string"==typeof e.data?.subText&&null!=e.data?.subText?`${e.text}${"\n"+e.data?.subText}`:`${e.text}`;switch(t.type){case"AppComboBoxItem":return{itemType:g.W.Normal,key:t.key,text:t.text,styles:(0,L.x3)(e,r,t.styles,o,!!t.data,!!t.data?.subText),useAriaLabelAsText:t.useAriaLabelAsText||void 0===t.useAriaLabelAsText&&null!=t.ariaLabel,ariaLabel:t.ariaLabel??i(t),data:t.data,disabled:t.disabled,hidden:t.hidden,title:t.useAriaLabelAsText&&t.ariaLabel?t.ariaLabel:i(t)};case"AppComboBoxHeader":return{itemType:g.W.Header,key:t.key,text:t.text};case"AppComboBoxDivider":return{itemType:g.W.Divider,key:t.key,text:"-"}}}(e,t,o,r))))),this.renderMoreItemsInIdleCallback=()=>{const{isShadowRendering:e,itemsToRender:t}=this.state,{options:r}=this.props;if(e&&void 0!==t)if(t<r.length){this.currentShadowRenderingStart&&(this.totalShadowRenderingTime+=performance.now()-this.currentShadowRenderingStart);const e=(0,_.A4)(this.totalShadowRenderingTime,t);(0,f.N)()&&window.requestIdleCallback((()=>{this.currentShadowRenderingStart=performance.now(),this.setState({itemsToRender:t+e})}),void 0,`ComboBox-${this.props.id}-ShadowRenderIncrement`)}else this.setState({isShadowRendering:!1})},this.keytipExecute=e=>{(0,P.PB)(e)},this.onExecute=(0,S.T)(((e,t,r,n)=>{if(!this.props.onExecute)return;if(this.processingEscKeyDown||this.didSetInitialText)return void(this.didSetInitialText||(this.processingEscKeyDown=!1,void 0!==this.initialText&&(this.setState({text:this.initialText}),this.initialText=void 0)));const o=void 0!==this.props.selectedKey;let i=!0;if(void 0!==this.props.shouldTakeFocus?i=this.props.shouldTakeFocus:e&&e.type===this.keydown&&(i=e.nativeEvent.which!==s.c.tab),t&&void 0!==r&&"string"==typeof t.key){o||this.setState({option:t});const n=this.props.options.filter((e=>e.key===t.key&&"AppComboBoxItem"===e.type))[0];this.props.onExecute({id:this.props.id,newValue:{key:t.key,text:t.text,index:r,commandValueId:n&&n.commandValueId},location:this.props.location,shouldTakeFocus:i,event:e?.nativeEvent})}else n&&(o||this.setState({text:n}),this.props.executeOnlyOnEnterKey&&e?.nativeEvent?.key!==this.enterKey||this.props.onExecute({id:this.props.id,newValue:n,location:this.props.location,shouldTakeFocus:i,event:e?.nativeEvent}));this.didSetInitialText=!1})),this.onItemClick=(0,S.T)(((e,t,r)=>{if(!this.props.onItemClick)return;let n=!0;if(void 0!==this.props.shouldTakeFocus?n=this.props.shouldTakeFocus:e&&e.type===this.keydown&&(n=e.nativeEvent.which!==s.c.tab),t&&void 0!==r&&"string"==typeof t.key){const e=this.props.options.filter((e=>e.key===t.key&&"AppComboBoxItem"===e.type))[0];this.props.onItemClick({id:this.props.id,newValue:{key:t.key,text:t.text,index:r,commandValueId:e&&e.commandValueId},location:this.props.location,shouldTakeFocus:n})}})),this.onBlur=()=>{this.processingEscKeyDown&&(this.processingEscKeyDown=!1,void 0!==this.initialText&&(this.setState({text:this.initialText}),this.initialText=void 0,this.didSetInitialText=!0)),this.props.onBlur?.()},this.onFocus=()=>{if(this.props.onFocus?.({hasOptions:0!==this.props.options.length}),void 0!==this.props.selectedKey)if(this.didSetInitialText=!1,null!==this.props.selectedKey){const e=(0,l.I6)(this.props.options,(e=>"AppComboBoxItem"===e.type&&e.key===this.props.selectedKey));this.initialText=e?e.text:void 0}else this.initialText=this.state.prevPropsValue},this.onMenuOpen=()=>{if(this.state.menuHasBeenOpened||this.setState({menuHasBeenOpened:!0}),this.resetShadowRenderingAfterUserAction(),this.props.onMenuOpen){const{id:e,location:t}=this.props;this.props.onMenuOpen({id:e,location:t,event:this.menuExecutionEvent}),this.menuExecutionEvent=void 0}this.tooltipHost&&this.tooltipHost.hideAllTooltips(!0)},this.onAfterMenuDismiss=()=>{this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss(this.props.id),this.tooltipHost&&this.tooltipHost.hideAllTooltips(!1),this.tooltipHostMap&&this.unregisterTooltips()},this.onCalloutReady=()=>{if(this.tooltipHost&&this.context.setTooltipElement&&this.context.updateTooltipsHidden&&0===this.tooltipHostMap.size){const e=this.createArrayOfButtonElements();(this.props.disableTooltips||this.applyTooltipsToComboBoxItems(e))&&this.removeBrowserTooltips(e)}},this.showTooltipForComboboxItem=e=>{if(this.tooltipHostMap.size>0){const t=this.tooltipHostMap.get(e);t&&t.setTooltip()}},this.applyTooltipsToComboBoxItems=e=>{const t=this.createArrayOfAppComboBoxItems();return e.length===t.length&&(t.forEach(((t,r)=>{if(void 0===t.ariaLabel||0===t.ariaLabel.length||t.ariaLabel===t.text)return;const n=e[r];if(this.context.updateTooltipsHidden&&this.context.setTooltipElement){const e=new O.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:n,controlId:t.key,controlLabel:t.ariaLabel,tooltipTopMargin:0,isMenuComponent:!0,tooltipDirection:this.props.tooltipDirection||u.A.leftCenter});e.registerTooltipHostActions(),this.tooltipHostMap.set(t.key,e)}})),!0)},this.onPreviewExecute=(e,t,r)=>{if(void 0!==e||void 0!==t||void 0!==r)if(this.props.onPreviewExecute&&void 0!==t&&t>=0&&e&&"string"==typeof e.key){const r=this.props.options.filter((t=>t.key===e.key&&"AppComboBoxItem"===t.type))[0];this.props.onPreviewExecute({id:this.props.id,newValue:{key:e.key,text:e.text,index:t,commandValueId:r&&r.commandValueId}}),this.showTooltipForComboboxItem(e.key)}else this.props.onPreviewExecute&&r&&""!==r&&this.props.onPreviewExecute({id:this.props.id,newValue:r});else this.props.onRevertPreviewExecute&&this.props.onRevertPreviewExecute()},this.onRenderOption=e=>t=>{const r=(0,L.bt)((0,L.x3)(e,this.props.optionStyles,t.styles));return n.createElement(c.B,{horizontal:!0,className:r.stackStyle},t.data?.icon&&n.createElement(c.B.Item,{align:"center"},n.createElement(a.I,{...(0,x.J)(t.data.icon),styles:{root:(0,m.rx)(e)}})),n.createElement(c.B,{className:r.stackStyle},n.createElement("span",{className:`${r.optionText} AppComboBox-OptionText`},t.text),t.data?.subText&&n.createElement("span",{className:r.subTextStyle},t.data.subText)))},this.onKeyDown=e=>{e.which===s.c.escape&&(this.processingEscKeyDown=!0)},this.resetShadowRenderingAfterUserAction=()=>{this.state.isShadowRendering&&this.setState({isShadowRendering:!1})},this.setMenuExecutionEvent=e=>{this.menuExecutionEvent=e?.nativeEvent},this.state={prevPropsSelectedKey:e.selectedKey,prevPropsValue:e.value,menuHasBeenOpened:!1,isShadowRendering:!1},this.events=new d.g(this)}}K.contextType=F.B,K.defaultProps={autoComplete:!0};const W=(0,I.W)(K);var H=r(54225),G=r(12688),z=r(28073),U=r(83902),V=r(39398);const j=(0,o.J9)((e=>(0,V.l8)({comboBoxOptionsListStyle:{...e?.optionsContainer,overflowY:"auto"},comboBoxFooterStyle:{}}))),q=(0,o.J9)((e=>(0,V.l8)({root:{maxWidth:"100%",padding:"18px 10px"}},e)));class $ extends n.Component{render(){const{forwardedRef:e}=this.props;return n.createElement(W,{...this.props,ref:e,options:this.state.options,onRenderList:this.onRenderList,onScrollToItem:this.scrollIntoView})}static getDerivedStateFromProps(e,t){return{options:$.createCombinedOptions(e)}}constructor(e){super(e),this._comboBoxListMenu=n.createRef(),this.onRenderList=e=>{const t=j(this.props.styles),{onRenderItem:r,options:o,label:i,ariaLabel:a}=e,s=e.id,l=[],u=[];return o.forEach((e=>{e.data?.stickyFooterOption?l.push(e):u.push(e)})),n.createElement(n.Fragment,null,n.createElement("div",{id:s+"-list",className:t.comboBoxOptionsListStyle,"aria-labelledby":i&&s+"-label","aria-label":a&&!i?a:void 0,role:"listbox",ref:this._comboBoxListMenu},u.map((e=>r?.(e)))),n.createElement("div",{id:s+"-footer",className:t.comboBoxFooterStyle},l.map((e=>r?.(e)))))},this.scrollIntoView=e=>{const t=this.findFirstDescendant(this._comboBoxListMenu.current,(t=>t.dataset?.index===e.toString()));if(t&&t.offsetParent){let e=!0;if(this._comboBoxListMenu.current&&this._comboBoxListMenu.current.offsetParent){const r=this._comboBoxListMenu.current,n=t,{offsetHeight:o,offsetTop:i}=n,{offsetHeight:a,scrollTop:s}=r,l=i+o>s+a;i<s?(e=!1,r.scrollTo(0,i)):l&&r.scrollTo(0,i-a+o)}else t.offsetParent.scrollIntoView(e)}},this.findFirstDescendant=(e,t)=>{const r=(0,U.i)(e);for(let e=0;e<r.length;e++){const n=r[e];if(t(n))return n;const o=this.findFirstDescendant(n,t);if(o)return o}return null};const t=$.createCombinedOptions(e);this.state={options:t}}}$.createCombinedOptions=e=>{const t=[...e.options];return e.showFooterOption&&t.push({...e.footerOption,data:{...e.footerOption.data,stickyFooterOption:!0},styles:q(e.footerOption.styles)}),t};const Q=n.forwardRef(((e,t)=>n.createElement($,{...e,forwardedRef:t}))),X=W},42745:(e,t,r)=>{"use strict";var n;function o(e){let t;if(e){const r=e.type.toLowerCase();"click"===r?t=0===e.nativeEvent.detail?n.Keyboard:n.Mouse:"keydown"===r||"keypress"===r||"keyup"===r?t=n.Keyboard:"mousedown"!==r&&"mouseup"!==r||(t=n.Mouse)}return t}r.d(t,{i:()=>n,m:()=>o}),function(e){e[e.NotDefined=-1]="NotDefined",e[e.Unknown=0]="Unknown",e[e.Keyboard=1]="Keyboard",e[e.Mouse=2]="Mouse",e[e.Touch=3]="Touch",e[e.Pen=4]="Pen",e[e.CrossSlide=9]="CrossSlide"}(n||(n={}))},95583:(e,t,r)=>{"use strict";var n,o,i;r.d(t,{IZ:()=>n}),function(e){e.ContextMenu="ContextMenu",e.Floatie="Floatie",e.Ribbon="Ribbon",e.SingleLineRibbon="SingleLineRibbon",e.MultilineRibbon="MultilineRibbon",e.Overflow="Overflow",e.TellMe="TellMe",e.FarPeripheralControls="FarPeripheralControls",e.NearPeripheralControls="NearPeripheralControls",e.PeripheralOverflow="PeripheralOverflow",e.Header="Header",e.FileMenu="FileMenu",e.StatusBar="StatusBar",e.ActionHub="ActionHub",e.ViewerToolbar="ViewerToolbar",e.EditorToolbar="EditorToolbar",e.SingleLineToolBar="SingleLineToolBar",e.ToolBarOverflow="ToolBarOverflow",e.TaskPane="TaskPane",e.Canvas="Canvas"}(n||(n={})),function(e){e.StatefulSplitButton="StatefulSplitButton"}(o||(o={})),function(e){e.Floatie="Floatie",e.SearchResult="SearchResult",e.StandardContextMenu="StandardContextMenu",e.ZeroTermMenu="ZeroTermMenu"}(i||(i={}))},26184:(e,t,r)=>{"use strict";r.d(t,{B:()=>c});var n=r(90044),o=r(16594),i=r(5593),a=r(10);const s={defaultBackgroundColor:a.p.gray20,hoverBackgroundColor:a.p.gray30,pressedBackgroundColor:a.p.gray50,toggledBackgroundColor:a.p.gray40,disabledBackgroundColor:a.p.gray20,focusedBackgroundColor:"transparent",textColor:a.p.gray180,textDisabledColor:a.p.gray90,disabledBorderColor:a.p.gray20,focusedBorderColor:a.p.gray130,focusDisabledBackgroundColor:"transparent",focusDisabledBorderColor:a.p.black,placeholderTextColor:a.p.gray130,tabHeaderBackgroundColor:a.p.gray20,tabHeaderHoverBackgroundColor:a.p.gray30,tabHeaderPressedBackgroundColor:a.p.gray50,tabHeaderFocusedBorderColor:a.p.gray130,activeTabHeaderBackgroundColor:a.p.gray20,activeTabHeaderTextColor:a.p.gray180,activeTabHeaderHoverBackgroundColor:a.p.gray30,activeTabHeaderHoverTextColor:a.p.gray180,activeTabHeaderPressedBackgroundColor:a.p.gray50,activeTabHeaderPressedTextColor:a.p.gray180,contextualTabHeaderBackgroundColor:a.p.white,contextualTabHeaderTextColor:"",contextualTabHeaderHoverBackgroundColor:a.p.gray30,tellMeControlActiveBackgroundColor:a.p.white,tellMeControlDefaultBackgroundColor:a.p.gray20,tellMeControlBorderColor:a.p.white},l=(0,n.J9)((e=>({defaultBackgroundColor:e.palette.neutralLighterAlt,hoverBackgroundColor:e.palette.neutralLighter,pressedBackgroundColor:e.palette.neutralQuaternaryAlt,toggledBackgroundColor:e.palette.neutralLight,disabledBackgroundColor:e.palette.neutralLighterAlt,focusedBackgroundColor:"transparent",textColor:e.palette.neutralDark,textDisabledColor:e.palette.neutralTertiaryAlt,disabledBorderColor:e.palette.neutralLighterAlt,focusedBorderColor:e.palette.neutralPrimaryAlt,focusDisabledBackgroundColor:"transparent",focusDisabledBorderColor:e.palette.neutralDark,placeholderTextColor:e.palette.neutralPrimaryAlt,tabHeaderBackgroundColor:e.palette.neutralLighterAlt,tabHeaderHoverBackgroundColor:e.palette.neutralLighter,tabHeaderPressedBackgroundColor:e.palette.neutralQuaternaryAlt,tabHeaderFocusedBorderColor:e.palette.neutralPrimaryAlt,activeTabHeaderBackgroundColor:e.palette.neutralLighterAlt,activeTabHeaderTextColor:e.palette.neutralDark,activeTabHeaderHoverBackgroundColor:e.palette.neutralLighter,activeTabHeaderHoverTextColor:e.palette.neutralDark,activeTabHeaderPressedBackgroundColor:e.palette.neutralQuaternaryAlt,activeTabHeaderPressedTextColor:e.palette.neutralDark,contextualTabHeaderBackgroundColor:e.palette.white,contextualTabHeaderTextColor:e.palette.themePrimary,contextualTabHeaderHoverBackgroundColor:e.palette.neutralLighter,tellMeControlActiveBackgroundColor:e.palette.white,tellMeControlDefaultBackgroundColor:e.palette.neutralLighterAlt,tellMeControlBorderColor:e.palette.white,itemDividerColor:e.palette.neutralQuaternary}))),u=(0,n.J9)((e=>({...l(e),contextualTabHeaderTextColor:e.palette.themeDark,tellMeControlActiveBackgroundColor:e.palette.neutralQuaternaryAlt,tellMeControlDefaultBackgroundColor:e.palette.neutralQuaternaryAlt}))),c=e=>(0,o.Q)()&&null!=e?(0,i.BZ)()?u(e):l(e):s},10:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});const n={shade30:"#0E336A",shade20:"#002050",shade10:"#124078",primary:"#2B579A",tint10:"#3C65A4",tint20:"#4A78B0",tint30:"#7DA3C6",tint40:"#A5B9D1",...r(66865).v}},66865:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});const n={white:"#FFFFFF",gray10:"#FAF9F8",gray20:"#F3F2F1",gray30:"#EDEBE9",gray40:"#E1DFDD",gray50:"#D2D0CE",gray60:"#C8C6C4",gray70:"#BEBBB8",gray80:"#B3B0AD",gray90:"#A19F9D",gray96:"#F5F5F5",gray100:"#979593",gray110:"#8A8886",gray120:"#797775",gray130:"#605E5C",gray140:"#484644",gray150:"#3B3A39",gray160:"#323130",gray170:"#292827",gray180:"#252423",gray190:"#201f1E",gray200:"#1B1A19",gray210:"#161514",gray220:"#11100F",gray230:"#616161",gray240:"#bdbdbd",gray250:"#242424",black:"#000000"}},86272:(e,t,r)=>{"use strict";function n(e,t){return{selectors:{"@media (resolution: 72dpi)":{[e]:t(1.33)},"@media (resolution: 120dpi)":{[e]:t(.8)},"@media (resolution: 144dpi)":{[e]:t(.67)},"@media (resolution: 168dpi)":{[e]:t(1.14)},"@media (resolution: 240dpi)":{[e]:t(.8)}}}}function o(e){return n("borderWidth",(t=>e*t))}r.d(t,{W:()=>o,b:()=>n})},85631:(e,t,r)=>{"use strict";r.d(t,{AT:()=>i,Mb:()=>n,aB:()=>a,aU:()=>o});const n="textContainer",o="ribbon-divider-wrapper",i="app-slider",a=e=>e?`.${n}`:`[class*='${n}']`},21406:(e,t,r)=>{"use strict";r.d(t,{IJ:()=>d,Ou:()=>p,vH:()=>c});var n=r(39398),o=r(90044),i=r(16594),a=r(86272),s=r(69284),l=r(31781),u=r(85631);const c=(0,n.Zq)({selectors:{":before":{whiteSpace:"pre",content:'"\\a"'}}}),d=((0,o.J9)(((e,t,r)=>{const o=(0,s.Zo)(e,t);return{...(0,n.l8)({container:[o.container,r,[{selectors:{":focus":{outline:0}}}]],root:o.root,list:o.list,header:o.header,title:o.title}),subComponentStyles:o.subComponentStyles}})),(0,o.J9)(((e,t,r,o,i,a,l,u,c,d,p)=>{const h=(0,s.Jq)(e,t,r);return(0,n.l8)({item:[h.item,u],divider:[h.divider,c],root:[h.root,i&&h.rootChecked,a&&h.anchorLink,o&&h.rootExpanded,r&&h.rootDisabled,!r&&!o&&[{selectors:{":hover":h.rootHovered,":active":h.rootPressed,[`${s.si}, ${s.KP}`]:h.rootFocused,[s.eE]:{background:"inherit;"}}}]],splitPrimary:[h.root,i&&h.rootChecked,r&&h.rootDisabled,!r&&!i&&[{selectors:{":hover":h.rootHovered,":active":h.rootPressed,[`${s.si}, ${s.KP}`]:h.rootFocused,[s.eE]:{background:"inherit;"}}}]],splitMenu:[h.root,{width:32},o&&h.rootExpanded,r&&h.rootDisabled,!r&&!o&&[{selectors:{":hover":h.rootHovered,":active":h.rootPressed,[`${s.si}, ${s.KP}`]:h.rootFocused,[s.eE]:{background:"inherit;"}}}]],linkContent:h.linkContent,linkContentMenu:[h.linkContent,{justifyContent:"center"}],icon:[l&&h.iconColor,h.icon,d,r&&h.iconDisabled],checkmarkIcon:[l&&h.checkmarkIcon,h.icon,d],secondaryText:h.secondaryText,subMenuIcon:[h.subMenuIcon,p],label:[h.label,r&&h.labelDisabled],labelDisabled:h.labelDisabled,splitContainer:h.splitButtonFlexContainer,screenReaderText:void 0})})),(0,o.J9)((e=>{const t=(0,l.C)(e);return(0,n.l8)({wrapper:[u.aU,{display:"inline-flex",height:"100%",alignItems:"center"}],divider:(0,n.Zq)({width:1,height:"100%",backgroundColor:(0,i.Q)()?t.menuDividerBackgroundColor:"#c8c8c8"},(0,a.b)("width",(e=>1*e)))})}))),p=(0,o.J9)((()=>(0,n.Zq)({display:"inline",width:"100%"})))},69284:(e,t,r)=>{"use strict";r.d(t,{$P:()=>x,$V:()=>y,Fu:()=>v,G_:()=>I,Gy:()=>b,Jq:()=>L,Jt:()=>P,KN:()=>m,KP:()=>d,Od:()=>k,Yw:()=>A,Zo:()=>M,dX:()=>_,eE:()=>g,eS:()=>T,gP:()=>w,gm:()=>R,iZ:()=>h,iv:()=>c,mp:()=>S,s0:()=>E,si:()=>p,tP:()=>C,uP:()=>F,zD:()=>D,zr:()=>f});var n=r(39398),o=r(90044),i=r(16594),a=r(26184),s=r(31781),l=r(7971),u=r(28389);const c=".ms-Fabric--isFocusVisible",d=`${c} &:focus:hover`,p=`${c} &:focus`,h=`${c} &:focus:after`,g=`${c} &:hover`,m={outline:"2px dashed transparent"},f={outline:"2px solid transparent"},v={outline:"2px dotted transparent"},b={border:"1px solid transparent"},y={boxShadow:"0 4px 8px 0px rgba(0, 0, 0, 0.1)"},S={outline:"4px dashed transparent",outlineOffset:"-4px"},C=18,T="@media (prefers-reduced-motion: reduce)";function k(){return{forcedColorAdjust:"auto",MsHighContrastAdjust:"auto"}}const F={outline:"none"},E={selectors:{[n.up]:{backgroundColor:"Highlight",color:"HighlightText",outlineColor:"ButtonText",...(0,n.Qg)()}}},A={selectors:{[n.up]:{backgroundColor:"ButtonFace",color:"ButtonText",outlineColor:"inherit",...(0,n.Qg)()}}},I={selectors:{[n.up]:{backgroundColor:"ButtonFace",color:"GrayText",borderColor:"GrayText",opacity:1,...(0,n.Qg)()}}},x={selectors:{[n.up]:{backgroundColor:"Highlight",color:"GrayText",borderColor:"GrayText",opacity:1,outlineColor:"GrayText",...(0,n.Qg)()}}},w=(n.up,(0,n.Qg)(),n.up,(0,n.Qg)(),{selectors:{[n.up]:{...(0,n.Qg)()}}}),P={selectors:{[n.up]:{backgroundColor:"transparent"}}},R=(0,o.J9)(((e=0,t="relative")=>({outline:"transparent",position:t,selectors:{"::-moz-focus-inner":{border:"0"},[h]:{content:'""',position:"absolute",left:e+1,top:e+1,bottom:e+1,right:e+1,border:`${u.H}px solid #ffffff`,outline:"1px solid #666666",zIndex:1}}}))),D="acui-hidden-content",_={position:"absolute",width:"1px",height:"1px",margin:"-1px",padding:"0px",border:"0px",overflow:"hidden"},N={outline:0},O={fontSize:"16px",margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",verticalAlign:"middle",flexShrink:0},M=((0,o.J9)((e=>{const t=(0,a.B)(e);return{root:[R(-1),n.dK.medium,{boxSizing:"border-box",border:`${u.H}px solid transparent`,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",padding:"0 16px",borderRadius:0}],rootDisabled:[R(-1),{backgroundColor:(0,i.Q)()?t.defaultBackgroundColor:l.Z.defaultBackgroundColor,color:(0,i.Q)()?t.textDisabledColor:"#a6a6a6",cursor:"default",pointerEvents:"none",selectors:{":hover":N,":focus":[x,v]}},I],iconDisabled:{color:(0,i.Q)()?t.textDisabledColor:"#a6a6a6"},menuIconDisabled:{color:(0,i.Q)()?t.textDisabledColor:"#a6a6a6"},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},textContainer:{flexGrow:1},icon:O,menuIcon:[O,{fontSize:"12px"}],label:{margin:"0 4px",lineHeight:"100%"},labelDisabled:{selectors:{[n.up]:{color:"grayText"}}},screenReaderText:_}})),(0,o.J9)(((e,t)=>{const r={root:{backgroundColor:(0,s.C)(e).defaultBackgroundColor,minWidth:"180px"},container:{},list:{listStyleType:"none",margin:"0",padding:"0",lineHeight:"0"},title:{fontSize:"16px",paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:"#eaeaea"},header:[n.dK.small,{fontWeight:600,color:t&&t.primary,background:"none",border:"none",height:32,lineHeight:32,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],subComponentStyles:{menuItem:{},callout:{}}};return{...(0,n.TW)(r),subComponentStyles:{menuItem:{},callout:{}}}}))),B=(0,o.J9)((e=>({selectors:{[n.up]:{backgroundColor:"Highlight",borderColor:"Highlight",color:e?"GrayText":"HighlightText",...(0,n.Qg)()}}}))),L=(0,o.J9)(((e,t,r)=>{const o=(0,a.B)(e),s=(0,i.Q)()?o.hoverBackgroundColor:l.Z.defaultBackgroundColor,u=(0,i.Q)()?o.toggledBackgroundColor:"#eaeaea",c=(0,i.Q)()?o.itemDividerColor:"#c8c8c8",d="32px",p={item:[n.dK.medium,{color:"#333333",position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:c,position:"relative"},root:[R(),{font:"inherit",color:"inherit",backgroundColor:"transparent",border:"none",width:"100%",height:d,lineHeight:d,display:"block",cursor:"pointer",padding:"0px 6px",textAlign:"left"}],rootDisabled:{color:c,cursor:"default",pointerEvents:"none",selectors:{[n.up]:{color:"grayText"},":hover":F}},rootHovered:[{backgroundColor:s,...B(r)},F],rootFocused:{backgroundColor:s,...B(r)},rootChecked:{...B(r)},rootPressed:{backgroundColor:u,...B(r)},rootExpanded:{backgroundColor:u,color:"#000000",...B(r)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 6px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",selectors:{[n.up]:{color:r?"grayText":void 0}}},labelDisabled:{selectors:{[n.up]:{color:"grayText"}}},icon:{display:"inline-block",minHeight:"1px",maxHeight:d,width:"14px",margin:"0 4px",verticalAlign:"middle",flexShrink:"0"},iconColor:{color:t.primary,selectors:{[n.up]:{color:"HighlightText"}}},iconDisabled:{color:c},checkmarkIcon:{color:"#666666",selectors:{[n.up]:{color:"HighlightText"}}},subMenuIcon:{height:d,lineHeight:d,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:10},splitButtonFlexContainer:{display:"flex",height:d,flexWrap:"nowrap",justifyContent:"center",alignItems:"center"}};return(0,n.TW)(p)}))},28389:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});const n=1},7971:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={defaultBackgroundColor:"#F4F4F4",hoverBackgroundColor:"#E1DFDD",contextualTabHeaderBackgroundColor:"#E1DFDD",toggledBackgroundColor:"#D2D0CE",selectedBackgroundColor:"#D2D0CE",expandedBackgroundColor:"#D2D0CE",pressedBackgroundColor:"#C8C6C4",focusedBorderColor:"#797673",textSelectedColor:"#737373",textDisabledColor:"#707070",textExpandedColor:"#000000",textPressedColor:"#000000",textToggledHoverColor:"#000000",textHoverColor:"#333333",textColor:"#333333",inputFocusBorderColor:"#969696",inputBorderColor:"#C8C8C8",menuBackgroundColor:"#FFFFFF",menuItemTextColor:"#222222"}},74445:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={controlHeight:40,menuItemHeight:32,smallMenuItemHeight:28,menuNoIconGutterPadding:40,menuItemGapToRightEdge:14,comboBoxHeight:28,comboBoxCaretWidth:16,comboBoxBorderWidth:1,comboBoxRightMargin:8,comboBoxSmallHeight:24,comboBoxSmallCaretWidth:12,comboBoxSmallRightMargin:2,comboBoxVerticalPadding:4,minTargetSize:24}},83778:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});var n=r(39398),o=r(74445);const i=(e,t)=>{if(t){if(u(e))return s(e);if(l(e))return a(e)}return e},a=e=>{const t=e.root,r=c(t.width),n=c(t.minWidth);return r>=o.Z.minTargetSize||n>=o.Z.minTargetSize?e:{...e,root:{...t,width:-1===r?t.width:o.Z.minTargetSize,minWidth:o.Z.minTargetSize}}},s=e=>{let t,r;e.root.forEach(((e,n)=>{t=e.width??t,r=e.minWidth??r}));const i=c(t),a=c(r);return i>=o.Z.minTargetSize||a>=o.Z.minTargetSize?e:(0,n.TW)(e,{root:{width:-1===i?void 0:o.Z.minTargetSize,minWidth:o.Z.minTargetSize}})},l=e=>!!e.root&&"object"==typeof e.root,u=e=>!!e.root&&Array.isArray(e.root),c=e=>{if("number"==typeof e)return e;if("string"==typeof e){const t=parseInt(e,10);if(!isNaN(t))return t}return-1}},59928:(e,t,r)=>{"use strict";r.d(t,{C$:()=>c,W3:()=>u,_N:()=>d,kv:()=>p,mt:()=>h,yr:()=>l});var n=r(90044),o=r(39398),i=r(69284),a=r(31781),s=r(94839);const l=(0,n.J9)((e=>{const t=(0,a.C)(e);return[{selectors:{":after":[(0,s.B)({width:2,color:t.focusedBorderColor,gap:-1}),{[o.up]:{border:"none"}}]}},i.KN,i.s0]})),u=(0,n.J9)((e=>{const t=(0,a.C)(e);return[{selectors:{":after":[(0,s.B)({width:2,color:t.focusedBorderColor,gap:-1}),{[o.up]:{border:"none"}}]}},i.mp,i.s0]})),c=(0,n.J9)((e=>{const t=(0,a.C)(e);return[{backgroundColor:t.disabledBackgroundColor,selectors:{":after":[(0,s.B)({width:2,color:t.focusedBorderColor,gap:-1}),{[o.up]:{border:"none"}}]}},i.Fu,i.$P]})),d=(0,n.J9)((e=>{const t=(0,a.C)(e);return[{backgroundColor:t.pressedBackgroundColor,color:t.textColor},i.KN,i.s0]})),p={border:"0"},h=(0,n.J9)(((e,t,r)=>{const n=(0,a.C)(e);return t?{backgroundColor:n.expandedBackgroundColor,color:n.textColor,selectors:{":focus":{outline:"0"},":hover":{backgroundColor:n.expandedBackgroundColor,color:n.textColor},[`${i.si}, &:focus`]:r?c(e):l(e)}}:{selectors:{":hover":{backgroundColor:n.hoverBackgroundColor,color:n.textColor},":focus":{outline:"0"},[`${i.si}, &:focus`]:r?c(e):l(e),":active":d(e),"::-moz-focus-inner":p}}}))},79606:(e,t,r)=>{"use strict";r.d(t,{E:()=>d,h:()=>c});var n=r(90044),o=r(83082),i=r(39398),a=r(69284),s=r(74445),l=r(31781),u=r(83778);const c={backgroundColor:"Highlight",selectors:{"svg > path.OfficeIconColors_HighContrast":{fill:"HighlightText"}}},d=(0,n.J9)(((e,t,r=!1)=>{const n=(0,o.jI)(),d=(0,l.C)(e),{comboBoxHeight:p,comboBoxCaretWidth:h}=s.Z,g={root:[{height:p,width:h,minWidth:h,margin:0,padding:0,top:-1,right:-1,border:"none",selectors:{[i.up]:{border:"none"}}},n&&{right:0}],rootDisabled:{background:"transparent",borderColor:"transparent"},rootHovered:[{cursor:"default",...(0,i.Qg)(),selectors:{":hover":{backgroundColor:d.comboBoxButtonHoverBackgroundColor,selectors:{[i.up]:c}}}},a.s0],rootChecked:[{backgroundColor:d.comboBoxButtonSelectedBackgroundColor},a.s0],rootCheckedHovered:[{backgroundColor:d.comboBoxButtonHoverBackgroundColor},a.s0],rootCheckedPressed:{selectors:{":active":[{backgroundColor:d.inputPressedBackgroundColor},a.s0]}},rootExpandedHovered:a.s0,rootExpanded:a.s0,rootPressed:[{selectors:{":active":{backgroundColor:d.inputButtonPressedBackgroundColor}}},a.s0],icon:{margin:0,display:"flex",height:12,width:12,lineHeight:12,fill:d.inputTextColor},iconDisabled:{opacity:.4}};return(0,u.X)((0,i.TW)(g,t),r)}))},94839:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(90044),o=r(39398);const i=(0,n.J9)((e=>{const t=e.gap,r="object"==typeof t?t:{top:t||0,bottom:t||0,left:t||0,right:t||0},n=e.radius?{borderRadius:e.radius}:void 0;return{content:'""',position:"absolute",borderWidth:e.width,borderStyle:e.style||"solid",borderColor:e.color,pointerEvents:"none",...r,...n,selectors:{[o.up]:{borderColor:"HighlightText",...(0,o.Qg)()}}}}))},66069:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var n=r(90044),o=r(59928),i=r(31781),a=r(69284),s=r(94839);const l=(0,n.J9)(((e,t,r)=>((e,t,r,n)=>r?{background:t.expandedBackgroundColor,selectors:{":focus":[!n&&{outline:"0"},n&&[{color:t.textDisabledColor},a.$P]],[a.si]:n?(0,o.C$)(e):(0,o.yr)(e),[a.iZ]:(0,s.B)({color:t.focusedBorderColor,width:2})}}:{selectors:{":hover":!n&&{background:t.hoverBackgroundColor},":focus":[!n&&{outline:"0"},{background:t.hoverBackgroundColor,borderColor:t.focusedBorderColor,selectors:{":hover":{borderColor:"transparent"}}},n&&{color:t.textDisabledColor}],[a.si]:n?(0,o.C$)(e):(0,o.W3)(e),[a.iZ]:(0,s.B)({color:t.focusedBorderColor,width:2}),":active":(0,o._N)(e),"::-moz-focus-inner":o.kv}})(e,(0,i.C)(e),t,r)))},63900:(e,t,r)=>{"use strict";r.d(t,{E7:()=>P,Fu:()=>S,G_:()=>b,Gy:()=>k,Jt:()=>C,KN:()=>m,Qt:()=>c,RQ:()=>y,Ys:()=>F,Yw:()=>f,Zc:()=>I,_j:()=>D,b6:()=>A,dX:()=>x,db:()=>d,dn:()=>v,i2:()=>g,lf:()=>p,mn:()=>h,rc:()=>w,u4:()=>E,uM:()=>R,up:()=>u,zr:()=>T});var n=r(84105),o=r(55056),i=r(36632),a=r(39398),s=r(21609),l=r(74445);const u="@media (forced-colors: active)",c={backgroundColor:"Highlight"},d={backgroundColor:"HighlightText"},p={color:"HighlightText"},h={color:"Highlight"},g={...p,...c,outlineColor:"ButtonText",...(0,a.Qg)()},m={outlineColor:"ButtonText",outlineStyle:"dashed",outlineWidth:"2px"},f={backgroundColor:"ButtonFace",outlineColor:"inherit",outlineStyle:"inherit",outlineWidth:"inherit"},v={color:"ButtonText"},b={...n.Pt.borderColor("GrayText"),opacity:"1"},y={color:"GrayText"},S=(n.Pt.borderColor("GrayText"),{outlineColor:"GrayText",outlineWidth:"2px",outlineStyle:"dotted"}),C={backgroundColor:"transparent"},T={...n.Pt.borderColor("Highlight"),outlineColor:"ButtonText",outlineWidth:"2px",outlineStyle:"solid"},k={...n.Pt.borderColor("Window"),outlineStyle:"none"},F={...n.Pt.borderWidth("1px"),...n.Pt.borderStyle("solid")},E={...n.Pt.borderColor("Highlight")},A={width:`${l.Z.minTargetSize}px`,minWidth:`${l.Z.minTargetSize}px`,minHeight:`${l.Z.minTargetSize}px`,height:`${l.Z.minTargetSize}px`},I=(0,o.n)({base:{":focus::after":{content:'""',color:s.k.legacy_black,position:"absolute",left:"-1px",top:"-1px",bottom:"-1px",right:"-1px",...n.Pt.borderWidth("2px"),...n.Pt.borderStyle("solid"),pointerEvents:"none"},...(0,i.i)({...n.Pt.borderRadius("0px"),boxShadow:"none"})}}),x={position:"absolute",width:"1px",height:"1px",...n.Pt.margin("-1px"),...n.Pt.padding("0px"),...n.Pt.border("0px"),...n.Pt.overflow("hidden")},w=(0,o.n)({base:{opacity:".4",[`${u}`]:{...b}}}),P=((0,o.n)({base:{[`${u}`]:{background:"Canvas",color:"CanvasText",...(0,a.Qg)()}}}),{cursor:"not-allowed !important"}),R={"& path.OfficeIconColors_HighContrast":{fill:"HighlightText !important"}},D={"& path.OfficeIconColors_HighContrast":{fill:"Highlight !important"}}},94867:(e,t,r)=>{"use strict";r.d(t,{P:()=>c});var n=r(90044),o=r(16594),i=r(5593),a=r(10);const s=(0,n.J9)((e=>e?{primaryDefaultBackgroundColor:e.primary,primaryHoverBackgroundColor:e.shade10,primarySelectedBackgroundColor:e.shade20,primaryPressedBackgroundColor:e.shade30,primaryFocusBackgroundColor:e.shade10,primaryFocusBorderColor:a.p.white,primaryDisabledBackgroundColor:a.p.gray20,primaryDisabledBorderColor:a.p.gray20,primaryFocusDisabledBackgroundColor:a.p.gray20,primaryFocusDisabledBorderColor:a.p.black,defaultTextLabelColorForPrimaryBackground:a.p.white,textDisabledColorForPrimaryBackground:a.p.gray70,primaryTextColor:e.primary,primaryTextHoverColor:e.shade10,primaryTextActiveColor:e.shade20,controlBackgroundColorForPrimaryBackground:a.p.white,controlHoverBackgroundColorForPrimaryBackground:e.shade10,controlPressedBackgroundColorForPrimaryBackground:e.shade30}:{primaryDefaultBackgroundColor:a.p.primary,primaryHoverBackgroundColor:a.p.shade10,primarySelectedBackgroundColor:a.p.shade20,primaryPressedBackgroundColor:a.p.shade30,primaryFocusBackgroundColor:a.p.shade10,primaryFocusBorderColor:a.p.white,primaryDisabledBackgroundColor:a.p.gray20,primaryDisabledBorderColor:a.p.gray20,primaryFocusDisabledBackgroundColor:a.p.gray20,primaryFocusDisabledBorderColor:a.p.black,defaultTextLabelColorForPrimaryBackground:a.p.white,textDisabledColorForPrimaryBackground:a.p.gray70,primaryTextColor:a.p.primary,primaryTextHoverColor:a.p.shade10,primaryTextActiveColor:a.p.shade20,controlBackgroundColorForPrimaryBackground:a.p.white,controlHoverBackgroundColorForPrimaryBackground:a.p.shade10,controlPressedBackgroundColorForPrimaryBackground:a.p.shade30})),l=(0,n.J9)((e=>({primaryDefaultBackgroundColor:e.palette.themePrimary,primaryHoverBackgroundColor:e.palette.themeDarkAlt,primarySelectedBackgroundColor:e.palette.themeDark,primaryPressedBackgroundColor:e.palette.themeDarker,primaryFocusBackgroundColor:e.palette.themeDark,primaryFocusBorderColor:e.palette.white,primaryDisabledBackgroundColor:e.palette.neutralLighterAlt,primaryDisabledBorderColor:e.palette.neutralLighterAlt,primaryFocusDisabledBackgroundColor:e.palette.neutralLighterAlt,primaryFocusDisabledBorderColor:e.palette.black,defaultTextLabelColorForPrimaryBackground:e.palette.white,textDisabledColorForPrimaryBackground:e.palette.neutralTertiaryAlt,primaryTextColor:e.palette.themePrimary,primaryTextHoverColor:e.palette.themeDarkAlt,primaryTextActiveColor:e.palette.themeDark,controlBackgroundColorForPrimaryBackground:e.palette.white,controlHoverBackgroundColorForPrimaryBackground:e.palette.themeLighter,controlPressedBackgroundColorForPrimaryBackground:e.palette.themeLight}))),u=(0,n.J9)((e=>{const t=o.o3.getInstance().getThemeForMode(o.bx.Light);return{...l(e),primaryTextColor:e.palette.themeDark,primaryFocusBorderColor:t.palette.white,defaultTextLabelColorForPrimaryBackground:t.palette.white,controlBackgroundColorForPrimaryBackground:t.palette.white,controlHoverBackgroundColorForPrimaryBackground:t.palette.themeLighter,controlPressedBackgroundColorForPrimaryBackground:t.palette.themeLight}})),c=(e,t)=>(0,o.Q)()&&null!=e?(0,i.BZ)()?u(e):l(e):s(t)},31781:(e,t,r)=>{"use strict";r.d(t,{C:()=>d});var n=r(90044),o=r(16594),i=r(5593),a=r(10),s=r(7971);const l={defaultBackgroundColor:s.Z?a.p.white:"",disabledBackgroundColor:a.p.gray20,hoverBackgroundColor:a.p.gray20,toggledBackgroundColor:a.p.gray30,selectedBackgroundColor:a.p.gray30,languageDialogBackgroundChecked:a.p.gray130,expandedBackgroundColor:a.p.gray30,pressedBackgroundColor:a.p.gray40,focusedBackgroundColor:a.p.white,focusDisabledBackgroundColor:a.p.gray20,borderColor:a.p.gray60,focusedBorderColor:a.p.black,selectedBorderColor:a.p.gray110,menuFocusedBackgroundColor:a.p.gray30,disabledBorderColor:a.p.gray20,textColor:a.p.gray180,textSecondaryColor:a.p.gray130,textDisabledColor:a.p.gray70,textDisclaimerColor:a.p.gray90,inputBackgroundColor:a.p.white,inputBorderColor:a.p.gray110,inputHoverBorderColor:a.p.gray120,inputFocusBorderColor:a.p.gray130,inputPressedBorderColor:a.p.gray60,inputPressedBackgroundColor:a.p.gray80,inputTextDisabledColor:a.p.gray60,inputSelectionTextColor:a.p.white,inputSelectionBackgroundColor:a.p.gray130,inputTextColor:a.p.gray180,inputButtonHoverBackground:a.p.gray40,inputButtonPressedBackgroundColor:a.p.gray50,checkBoxBorderColor:a.p.gray110,checkBoxHoverBackgroundColor:s.Z.hoverBackgroundColor,checkBoxHoverCheckmarkColor:s.Z.hoverBackgroundColor,checkBoxPressedBackgroundColor:a.p.gray50,checkMarkSelectedColor:a.p.gray180,checkMarkCheckDisableBackgroundColor:a.p.gray60,checkMarkDisabledColor:a.p.white,checkBoxFocusedTextColor:a.p.black,checkMarkColor:a.p.gray180,comboBoxButtonHoverBackgroundColor:a.p.gray30,comboBoxButtonSelectedBackgroundColor:a.p.gray40,spinButtonArrowBoxFocusedBackgroundColor:a.p.gray20,spinButtonContainerContainerHoverBackground:a.p.gray20,menuBackgroundColor:a.p.white,menuItemTextColor:a.p.gray180,menuDividerBackgroundColor:a.p.gray60,textFieldHoverBorderColor:a.p.gray80,textFieldLabelColor:a.p.gray160,defaultGalleryBackgroundColor:a.p.white,fontGalleryBackgroundColor:a.p.white,tableGalleryBackgroundColor:a.p.white,galleryExpandButtonDefaultBackgroundColor:a.p.gray20,galleryHoverFocusColor:a.p.gray40,galleryPressedBackgroundColor:a.p.gray60,gallerySelectedColor:a.p.gray50,galleryTextColor:a.p.black,fontGalleryTextColor:a.p.black,fontGalleryTextDisabledColor:a.p.gray70,tableGalleryCellColor:a.p.black,linkDisabledColor:a.p.gray70,cellHighlightBackgroundColor:a.p.gray50,cellHighlightBorderColor:a.p.gray160,peripheralSelectedBackgroundColor:a.p.gray50,peripheralFocusedOutlineColor:a.p.black,warningIconColor:a.p.gray120,colorPickerWhiteCellBorderColor:a.p.gray50,colorPickerDisabledCellColor:a.p.gray60,colorPickerSelectedBorderColor:a.p.gray110,dialogBackgroundColor:s.Z?a.p.white:""},u=(0,n.J9)((e=>({defaultBackgroundColor:e.palette.white,disabledBackgroundColor:e.palette.neutralLighterAlt,hoverBackgroundColor:e.palette.neutralLighterAlt,toggledBackgroundColor:e.palette.neutralLighter,selectedBackgroundColor:e.palette.neutralLighter,languageDialogBackgroundChecked:e.palette.neutralPrimaryAlt,expandedBackgroundColor:e.palette.neutralLighter,pressedBackgroundColor:e.palette.neutralLight,focusedBackgroundColor:e.palette.white,focusDisabledBackgroundColor:e.palette.neutralLighterAlt,borderColor:e.palette.neutralQuaternary,focusedBorderColor:e.palette.black,selectedBorderColor:e.palette.neutralSecondaryAlt,menuFocusedBackgroundColor:e.palette.neutralLighter,disabledBorderColor:e.palette.neutralLighterAlt,textColor:e.palette.neutralDark,textSecondaryColor:e.palette.neutralPrimaryAlt,textDisabledColor:e.palette.neutralTertiaryAlt,textDisclaimerColor:e.palette.neutralTertiary,inputBackgroundColor:e.palette.white,inputBorderColor:e.palette.neutralSecondaryAlt,inputHoverBorderColor:e.palette.neutralSecondary,inputFocusBorderColor:e.palette.neutralPrimaryAlt,inputPressedBorderColor:e.palette.neutralQuaternary,inputPressedBackgroundColor:e.palette.neutralTertiaryAlt,inputTextDisabledColor:e.palette.neutralQuaternary,inputSelectionTextColor:e.palette.white,inputSelectionBackgroundColor:e.palette.neutralPrimaryAlt,inputTextColor:e.palette.neutralDark,inputButtonHoverBackground:e.palette.neutralLight,inputButtonPressedBackgroundColor:e.palette.neutralQuaternaryAlt,checkBoxBorderColor:e.palette.neutralSecondaryAlt,checkBoxHoverBackgroundColor:e.palette.neutralLight,checkBoxHoverCheckmarkColor:e.palette.neutralLight,checkBoxPressedBackgroundColor:e.palette.neutralQuaternaryAlt,checkMarkSelectedColor:e.palette.neutralDark,checkMarkCheckDisableBackgroundColor:e.palette.neutralQuaternary,checkMarkDisabledColor:e.palette.white,checkBoxFocusedTextColor:e.palette.black,checkMarkColor:e.palette.neutralDark,comboBoxButtonHoverBackgroundColor:e.palette.neutralLighter,comboBoxButtonSelectedBackgroundColor:e.palette.neutralLight,spinButtonArrowBoxFocusedBackgroundColor:e.palette.neutralLighterAlt,spinButtonContainerContainerHoverBackground:e.palette.neutralLighterAlt,menuBackgroundColor:e.palette.white,menuItemTextColor:e.palette.neutralDark,menuDividerBackgroundColor:e.palette.neutralQuaternary,textFieldHoverBorderColor:e.palette.neutralTertiaryAlt,textFieldLabelColor:e.palette.neutralPrimary,defaultGalleryBackgroundColor:e.palette.white,fontGalleryBackgroundColor:e.palette.white,tableGalleryBackgroundColor:e.palette.white,galleryExpandButtonDefaultBackgroundColor:e.palette.neutralLighterAlt,galleryHoverFocusColor:e.palette.neutralSecondary,galleryPressedBackgroundColor:e.palette.neutralQuaternary,gallerySelectedColor:e.palette.neutralSecondaryAlt,galleryTextColor:e.palette.black,fontGalleryTextColor:e.palette.black,fontGalleryTextDisabledColor:e.palette.neutralTertiaryAlt,tableGalleryCellColor:e.palette.black,linkDisabledColor:e.palette.neutralTertiaryAlt,cellHighlightBackgroundColor:e.palette.neutralQuaternaryAlt,cellHighlightBorderColor:e.palette.neutralPrimary,peripheralSelectedBackgroundColor:e.palette.neutralQuaternaryAlt,peripheralFocusedOutlineColor:e.palette.black,warningIconColor:e.palette.neutralSecondary,colorPickerWhiteCellBorderColor:e.palette.neutralQuaternaryAlt,colorPickerDisabledCellColor:e.palette.neutralQuaternary,colorPickerSelectedBorderColor:e.palette.neutralSecondaryAlt,dialogBackgroundColor:e.palette.white}))),c=(0,n.J9)((e=>{const t=o.o3.getInstance().getThemeForMode(o.bx.Light);return{...u(e),fontGalleryBackgroundColor:t.palette.white,fontGalleryTextColor:t.palette.black,fontGalleryTextDisabledColor:t.palette.neutralTertiaryAlt,tableGalleryBackgroundColor:t.palette.white,tableGalleryCellColor:t.palette.black,menuBackgroundColor:e.palette.neutralLight,gallerySelectedColor:e.palette.neutralSecondary,galleryHoverFocusColor:e.palette.neutralSecondaryAlt,defaultBackgroundColor:e.palette.neutralLight,defaultGalleryBackgroundColor:e.palette.neutralLight,dialogBackgroundColor:e.palette.neutralLighter,languageDialogBackgroundChecked:t.palette.neutralPrimaryAlt}})),d=e=>(0,o.Q)()&&null!=e?(0,i.BZ)()?c(e):u(e):l},18550:(e,t,r)=>{"use strict";var n;r.d(t,{J:()=>n}),function(e){e.Small="Small",e.Large="Large"}(n||(n={}))},53272:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});let n=!1;function o(){return n}},75659:(e,t,r)=>{"use strict";function n(e){return"gridcell"===e||"option"===e||"row"===e||"tab"===e||"columnheader"===e||"rowheader"===e||"treeitem"===e}function o(e){return"checkbox"===e||"menuitemcheckbox"===e||"radio"===e||"menuitemradio"===e}r.d(t,{V:()=>o,r:()=>n})},78327:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw new Error(t??"Assertion failed")}r.d(t,{v:()=>n})},15640:(e,t,r)=>{"use strict";r.d(t,{cX:()=>o,lT:()=>a,mP:()=>s,nZ:()=>l,nr:()=>i});var n=r(59109);function o(){return navigator.userAgent.indexOf("Macintosh")>=0}function i(){return/apple/i.test(navigator.vendor)}function a(){return navigator.userAgent.indexOf("Trident")>=0}function s(){return window.innerWidth<=n._.Small.Portrait||window.innerHeight<=569}function l(){return!!window.ResizeObserver&&!!window.IntersectionObserver}},88237:(e,t,r)=>{"use strict";r.d(t,{Nc:()=>i,f8:()=>o});var n=r(87755);const o=(e,t)=>{const r={cssFromProps:(0,n.v)(e),customDefinedCss:(0,n.v)(t)};return Object.assign(r.customDefinedCss,r.cssFromProps),r},i=(e,t)=>{if(e){const r=e;if("root"===t){const e=r[t];if(e){const{borderRadius:n,...o}=e;r[t]={...o}}}return r[t]}return null}},87755:(e,t,r)=>{"use strict";r.d(t,{c:()=>i,v:()=>o});const n=["zIndex","fontWeight","gridColumn","opacity","columnCount","order","flexShrink","flexGrow"],o=e=>{if(void 0===e)return{};const t={};for(const[r,o]of Object.entries(e))"selectors"!==r&&("number"!=typeof o||n.includes(r)?t[r]=o:t[r]=`${o}px`);return t};function i(e){if(!e)return;const t="function"==typeof e?e({}):e;return t.root?o(t.root):void 0}},10191:(e,t,r)=>{"use strict";function n(e,t){return e.id&&`${e.location?`${e.location}-`:""}${o(e.id,t)}`}function o(e,t){return e&&`${e}${t?`-${t}`:""}`}function i(e,t){return(n(e)||t)+"Dropdown"}r.d(t,{ir:()=>i,lj:()=>n,vT:()=>o})},9236:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=(0,r(90044).J9)(((e,t)=>function(...r){e&&e(...r),t()}))},701:(e,t,r)=>{"use strict";function n(e,t){return o(e,(e=>e.classList?.contains(t)))}function o(e,t){return e?t(e)?e:o(e.parentElement,t):null}r.d(t,{O:()=>o,u:()=>n})},58261:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(10477);const o=(e,t)=>{const r={ariaDescriptionId:void 0,ariaDescriptionElement:void 0};return t&&e&&(r.ariaDescriptionId=`${e}-aria-describedby`,r.ariaDescriptionElement=n.createElement("span",{id:r.ariaDescriptionId,style:{display:"none"}},t)),r}},75744:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(4749);const o=e=>void 0===e||e===window?n.HN:void 0},92392:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});const n=e=>{const{key:t,currentTarget:r}=e;if(("ArrowLeft"===t||"ArrowRight"===t)&&0===r.selectionStart&&r.selectionEnd===r.value.length){const e="ArrowLeft"===t?0:r.value.length;r.setSelectionRange(e,e)}}},33640:(e,t,r)=>{"use strict";function n(){return!!window.requestIdleCallback}r.d(t,{N:()=>n})},91574:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});const n="";function o(e){return-1!==e.indexOf(n)||-1!==e.indexOf(" ")}},47615:(e,t,r)=>{"use strict";function n(e){return requestAnimationFrame((()=>setTimeout(e,0)))}r.d(t,{z:()=>n})},45368:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});const n=(0,r(90044).J9)((e=>t=>{t?.preventDefault(),e?.()}))},81235:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=e=>{let t=!1;return function(...r){t||(t=!0,e(...r),t=!1)}}},37418:(e,t,r)=>{"use strict";function n(e,t){return Object.keys(e).length===Object.keys(t).length&&0===Object.keys(e).filter((r=>{if(!t.hasOwnProperty(r))return!0;const n=e[r]!==t[r];return n&&"deferredMenuDefinition"===r||"menuDefinition"===r?JSON.stringify(e[r])!==JSON.stringify(t[r]):n})).length}r.d(t,{w:()=>n})},57674:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});const n=r(10477).createContext({});n.displayName="AppContext"},63863:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});const n=(0,r(90044).J9)(((e,t,r,n,o,i,a)=>({isExperimentalFeatureEnabled:e,isPlatformFeatureEnabled:o,setTooltipElement:t,updateTooltipsHidden:r,appWindow:n??window,responsiveClassName:i,logger:a})))},2599:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});const n={fluentV9RibbonButtonIsEnabled:"SharedOnline.FluentV9RibbonButtonEnabled",fluentV9ButtonIsEnabled:"FluentV9ButtonBRSIsEnabled",fluentV9CompoundButtonIsEnabled:"SharedOnline.FluentV9CompoundButtonEnabled",fluentV9CheckboxIsEnabled:"SharedOnline.FluentV9CheckboxEnabled",fluentV9StatusBarButtonEnabled:"SharedOnline.FluentV9StatusBarButtonEnabled",fluentV9InputComboboxIsEnabled:"SharedOnline.FluentV9InputComboboxEnabled",fluentV9MessageBarIsEnabled:"SharedOnline.FluentV9MessageBarEnabled",fluentV9ToggleIconEnabled:"SharedOnline.ChangeGate.FluentV9ToggleIconEnabled",fluentV9RibbonIconPreviewGalleryIsEnabled:"SharedOnline.FluentV9RibbonIconPreviewGalleryEnabled",fluentV9RibbonFontStyleGalleryIsEnabled:"SharedOnline.FluentV9RibbonFontStyleGalleryEnabled",fluentV9TabListSpinButtonFocusIsEnabled:"SharedOnline.FluentV9TabSpinFocusIsEnabled",fluentV9TaskPaneIsEnabled:"SharedOnline.FluentV9TaskPaneIsEnabled",fluentV9DialogIsEnabled:"SharedOnline.FluentV9DialogEnabled",fluentV9RibbonControlsIsEnabled:"SharedOnline.FluentV9RibbonControlsIsEnabled",fluentV9ShortcutPillsIsEnabled:"SharedOnline.FluentV9ShortcutPillsIsEnabled",fluentV9HeaderButtonIsEnabled:"SharedOnline.ChangeGate.FluentV9HeaderButtonEnabled",newV9RibbonMenuEnabled:"SharedOnline.NewV9RibbonMenuEnabled",fluentV9StatusBarButtonInWordPPTVisioEnabled:"SharedOnline.ChangeGate.FluentV9StatusBarButtonInWordPPTVisioEnabled",fluentV9TabsterEnabled:"SharedOnline.fluentV9TabsterEnabled",disableFluentV9StatusBar:"DisableVNextStatusBar",fluentV9TooltipIsEnabled:"SharedOnline.fluentV9TooltipIsEnabled",fluentV9SearchBoxIsEnabled:"SharedOnline.ChangeGate.OfficeVSO:10175791_fluentV9SearchBoxIsEnabled",fluentV9StackIsEnabled:"SharedOnline.FluentV9StackEnabled",fluentV9IconIsEnabled:"SharedOnline.FluentV9IconEnabled",fluentV9TableStylesPreviewGalleryIsEnabled:"SharedOnline.FluentV9TableStylesPreviewGalleryEnabled",fluentV9ToastNotificationIsEnabled:"Microsoft.Office.SharedOnline.FluentV9ToastNotificationEnabled",fluentV9ComponentLevelSwatchPickerIsEnabled:"SharedOnline.FluentV9ComponentLavelSwatchPickerEnabled",fluentV9LabelEnabled:"SharedOnline.fluentV9LabelEnabled",fluentV9MenuIsEnabled:"SharedOnline.fluentV9MenuEnabled"}},69868:(e,t,r)=>{"use strict";r.d(t,{AO:()=>l,pz:()=>u,sB:()=>s});var n=r(15640),o=r(42955),i=r(41875);const a={SingleLine:void 0,Multiline:void 0},s=e=>u("SingleLine",e),l=e=>u("Multiline",e),u=(e,t,r)=>(void 0!==r&&(a[e]=!r),t?.(i.j.ribbonScalingSafeguard)?a[e]=!1!==a[e]&&void 0!==t&&(0,o.V4)(t)&&!(0,n.lT)()&&(0,n.nZ)():a[e]=!!a[e]||void 0!==t&&(0,o.V4)(t)&&!(0,n.lT)()&&(0,n.nZ)(),a[e])},85963:(e,t,r)=>{"use strict";r.d(t,{i2:()=>s,H9:()=>a,PE:()=>i});var n=r(41875),o=r(2599);const i={renderInitiallyEnabledRibbonIsEnabled:"RenderInitiallyEnabledRibbonIsEnabled",updatedTellMePlaceholderIsEnabled:"UpdatedTellMePlaceholderIsEnabled",multilineRibbonIsEnabled:"ReactMultilineRibbonIsEnabled",taskPaneResizingIsEnabled:"TaskPaneResizingIsEnabled",activateComboAndSpinControlOnEnter:"ActivateComboAndSpinMenuItemOnEnterIsEnabled",chatPPTEnabled:"Microsoft.Office.PowerPointOnline.ChatPPTOnline",ribbonCachedScalingIsEnabled:"ReactRibbonCachedScalingIsEnabled",disableRibbonAnimationComponents:"DisableAnimationComponentsIsEnabled",delayInstallAddInIsEnabled:"DelayInstallAddInIsEnabled",tooltipsTargetOverflowSetItemEnabled:"TooltipsTargetOverflowSetItemEnabled",disableColorPickerFancyTooltips:"DisableColorPickerFancyTooltips",isDisabledTooltipsEnabled:"SharedOnline.DisabledTooltipsEnabled",batchTopBarScaleDataInRibbon:"BatchTopBarScaleDataInRibbon",decentralizedScalingLogicIsEnabled:"Microsoft.Office.SharedOnline.DecentralizedScalingLogicIsEnabled",perfMarkerThrottlingOverrideIsEnabled:"Microsoft.Office.SharedOnline.PerfMarkerThrottlingOverrideIsEnabled",shouldContextualTabUseNormalTabStyles:"ShouldContextualTabUseNormalTabStyles",zoomSliderIsEnabled:"ZoomSliderIsEnabled",shouldMergeAppToggleButtonMenuItemStyles:"ShouldMergeAppToggleButtonMenuItemStyles",multiWindowSupportIsEnabled:"SharedOnline.ChangeGate.MultiWindowSupportIsEnabled",customAnonymousNameIsEnabled:"Microsoft.Office.SharedOnline.IsCustomAnonymousNameEnabled",ribbonBottomBarMemoryLeakFix:"SharedOnline.ChangeGate.RibbonBottomBarMemoryLeakFix",comboBoxShadowRenderingFix:"SharedOnline.ChangeGate.ComboBoxShadowRenderingFix",useFullDescriptionLabelOnly:"SharedOnline.ChangeGate.UseFullDescriptionLabelOnly",closeMenuOnUnmount:"SharedOnline.ChangeGate.CloseMenuOnUnmount",appTooltipAppContextIsEnabled:"SharedOnline.ChangeGate.AppTooltipAppContextIsEnabled",headerIcon:"SharedOnline.ChangeGate.HeaderIcon",singleLineToolBar:"SharedOnline.IsSingleLineToolbarEnabled",dismissHostingSurfaceOnExecuteFixEnabled:"SharedOnline.ChangeGate.DismissHostingSurfaceOnExecuteFixEnabled",controlIdLoggingIsEnabled:"SharedOnline.ChangeGate.OfficeVSO_8561837_EnableControlIDDatafields",controlsPerLayoutScalingFix:"SharedOnline.ChangeGate.ControlsPerLayoutScalingFix",globalThemePaddingFix:"SharedOnline.ChangeGate.GlobalThemePaddingFix",appGalleryPreviewButtonIdIsEnabled:"AppGalleryPreviewButtonIdIsEnabled",mfpRemoveUnnecessaryRequestAnimationFrame:"Microsoft.Office.SharedOnline.ModernFontPickerRemoveUnnecessaryRequestAnimationFrameIsEnabled",mfpDeferOnMenuDismissedEnabled:"Microsoft.Office.SharedOnline.ModernFontPickerDeferOnMenuDismissedIsEnabled",copilotMaxTaskpaneWidthIsEnabled:"Microsoft.Office.WordOnline.CopilotTaskPaneMaxWidth",messageBarUpdatesEnabled:"SharedOnline.ChangeGate.MessageBarUpdatesEnabled",paddlesFixIsEnabled:"SharedOnline.ChangeGate.PaddlesFixIsEnabled",appGallerySplitButtonStylesFixEnabled:"SharedOnline.ChangeGate.AppGallerySplitButtonTextAlignmentFixEnabled",updatedPaddleOffsetEnabled:"SharedOnline.ChangeGate.UpdatedPaddleOffsetEnabled",menuButtonIconForLargeFlyoutAnchorsEnabled:"SharedOnline.ChangeGate.MenuButtonIconForLargeFlyoutAnchorsEnabled",isNewFluentIconsEnabled:"Microsoft.Office.SharedOnline.FluentIconsEnabled",v9MenuAutoDismissFixEnabled:"SharedOnline.ChangeGate.v9MenuAutoDismissFixEnabled",isMenuButtonRefFixEnabled:"SharedOnline.ChangeGate.OfficeVSO:8941200_v9menuButtonRefFixEnabled",fixIncorrectMenuShownDuringSearch:"SharedOnline.ChangeGate.FixIncorrectMenuShownDuringSearch",fixOnMenuOpenedTriggerOnSubmenuHover:"SharedOnline.ChangeGate.FixOnMenuOpenedTriggerOnSubmenuHover",isFluentV9DispatchOptimizationEnabled:"SharedOnline.FluentV9DispatchOptimizationEnabled",isFluentV9FloatieDispatchOptimizationEnabled:"SharedOnline.FluentV9FloatieDispatchOptimizationEnabled",hideCustomTooltipInV9AppControlsEnabled:"SharedOnline.ChangeGate.HideCustomTooltipInV9AppControlsEnabled",triggerOnMenuDismissedOnSubmenuClose:"SharedOnline.ChangeGate.TriggerOnMenuDismissedOnSubmenuClose",isCloseBtnTabKeyDownOnResizeHandleEnabled:"SharedOnline.ChangeGate.isCloseBtnTabKeyDownOnResizeHandleEnabled",fluentV9ColorPickerIsEnabled:"SharedOnline.FluentV9ColorPickerEnabled",fluentV9PreviewGalleryIsEnabled:"SharedOnline.FluentV9PreviewGalleryEnabled",insertTableGridFluentV9IsEnabled:"SharedOnline.InsertTableGridFluentV9IsEnabled",isShadowOverflowFixEnabled:"SharedOnline.ChangeGate.IsShadowOverflowFixEnabled",isConditionForV9StandaloneCMEnabled:"SharedOnline.ChangeGate.IsConditionForV9StandaloneCMEnabled",isFileMenuExtraPaddingFixEnabled:"SharedOnline.ChangeGate.OfficeVSO:9133405_FileMenuExtraPaddingFixEnabled",isStopKeyDownEventPropagationInV9MenuEnabled:"SharedOnline.ChangeGate.StopKeyDownEventPropagationInV9MenuEnabled",isContextualApiTelemetryLevelUpdateEnabled:"SharedOnline.ChangeGate.ContextualApiTelemetryLevelUpdateEnabled",minimumTargetSizesEnabled:"Microsoft.Office.SharedOnline.MinimumTargetSizesEnabled",trackOOUXAsyncUiEnabled:"TrackOOUXAsyncUiEnabled",useFileMenuIdForAsyncUI:"SharedOnline.ChangeGate.OfficeVSO:9429092_UseFileMenuIdForAsyncUI",isHighContrastModeEnabled:"SharedUXHighContrastThemeIsEnabled",isHighContrastThemeOn:"HighContrastThemeIsOn",isDescriptionReadoutWithoutLabelEnabled:"SharedOnline.ChangeGate.DescriptionReadoutWithoutLabelEnabled",isfileMenuRegressionUpdateEnabled:"SharedOnline.FileMenuRegressionUpdate",persistedFloatieHandlingEnabled:"SharedOnline.persistedFloatieHandlingEnabled",isV9ContextMenuPositionFixEnabled:"SharedOnline.isV9ContextMenuPositionFixEnabled",persistedFloatieHandlingEnabledP1:"SharedOnline.persistedFloatieHandlingEnabledP1",modernFontPickerIn1JSChangeGateEnabled:"SharedOnline.ChangeGate.ModernFontPickerIn1JSEnabled",isV8AppContextMenuSlideFixEnabled:"SharedOnline.isV8AppContextMenuSlideFixEnabled",isAppContextualMenuSplitButtonArialLabelEnabled:"SharedOnline.ChangeGate.AppContextualMenuSplitButtonArialLabelEnabled",isExposeMenuOpenEventForMFPEnabled:"SharedOnline.ChangeGate.ExposeMenuOpenEventForMFPEnabled",openToDesktopInL1Enabled:"SharedOnline.OpenToDesktopInL1Enabled",openToDesktopInL2ExportEnabled:"SharedOnline.OpenToDesktopInL2ExportEnabled",isContextMenuAndFloatieRightClickDisabled:"SharedOnline.ChangeGate.ContextMenuAndFloatieRightClickDisabled",isSplitButtonIgnoreFastDisableEnabled:"SharedOnline.IsSplitButtonIgnoreFastDisableEnabled",isFavoritesInFileMenuEnabled:"SharedOnline.IsFavoritesInFileMenuEnabled",appFlyoutAnchorRestoreFocusFixEnabled:"SharedOnline.AppFlyoutAnchorRestoreFocusFixEnabled",headlessThemingEnabled:"SharedOnline.HeadlessThemingEnabled",dialogScrollBarOverlappingFixEnabled:"SharedOnline.ChangeGate.DialogScrollBarOverlappingFixEnabled",floatieDismissOnCtrlFixEnabled:"SharedOnline.FloatieDismissOnCtrlFixEnabled",persistedPanesFixEnabled:"SharedOnline.ChangeGate.PersistedPanesFixEnabled",programaticMenuOpensEnabled:"SharedOnline.ChangeGate.ProgramaticMenuOpensEnabled",overflowingStylesPreviewFixIsEnabled:"Microsoft.Office.SharedOnline.OverflowingStylesPreviewFixIsEnabled",draggableFloatieMoveFixIsEnabled:"SharedOnline.ChangeGate.DraggableFloatieMoveFixIsEnabled",contextMenuUnmountFixIsEnabled:"SharedOnline.ChangeGate.ContextMenuUnmountFixIsEnabled",undefinedMenuItemFixEnabled:"SharedOnline.ChangeGate.UndefinedMenuItemFixEnabled",inputArrowKeyNavFixEnabled:"SharedOnline.ChangeGate.InputArrowKeyNavFixEnabled",spinButtonDisabledStylesEnabled:"SharedOnline.ChangeGate.SpinButtonDisabledStylesEnabled",splitButtonInMenuDoubleExecuteFixEnabled:"SharedOnline.ChangeGate.SplitButtonInMenuDoubleExecuteFixEnabled",fontPreviewGalleryDismissFixEnabled:"SharedOnline.ChangeGate.FontPreviewGalleryDismissFixEnabled",floatieCaretButtonStylesFixEnabled:"SharedOnline.ChangeGate.FloatieCaretButtonStylesFixEnabled",paddlesZIndexIsEnabled:"SharedOnline.ChangeGate.PaddlesZIndexIsEnabled",shouldFocusOnContainerEnabled:"SharedOnline.ChangeGate.ShouldFocusOnContainerEnabled",expandFontPickerSubmenuFixEnabled:"SharedOnline.ChangeGate.ExpandFontPickerSubmenuFixEnabled",react18RenderNotificationsFixEnabled:"Microsoft.Office.SharedOnline.React18RenderNotificationsFixEnabled",react18RenderIconFixEnabled:"SharedOnline.ChangeGate.React18RenderIconFixEnabledV2",react18RenderTooltipFixEnabled:"SharedOnline.React18RenderTooltipFixEnabled",react18AppThemeProviderProxyEnabled:"Microsoft.Office.SharedOnline.React18AppThemeProviderProxyEnabled",react18RenderFixEnabled:"SharedOnline.ChangeGate.React18RenderFixEnabled",react18RenderTaskPaneFixEnabled:"SharedOnline.ChangeGate.React18RenderTaskPaneFixEnabled",react18RenderHeaderButtonFixEnabled:"Microsoft.Office.SharedOnline.React18RenderHeaderButtonFixEnabled",displayFreeFontsFirstFlightEnabled:"Microsoft.Office.WordOnline.DisplayFreeFontsFirst",isProTipSuggestionEnabled:"Microsoft.Office.WordOnline.ProTipSuggestionEnabled",...n.j,...o.n,isSISURibbonEnabled:"IsSISURibbonEnabled"},a={disableDelayRenderToolTipMultiWindow:"DisableDelayRenderTooltipForMultiWindow",disableTaskpaneRefreshStyling:"DisableTaskpaneRefreshStyling",modalContextMenuIsEnabled:"ModalContextMenuIsEnabled",renderV9MenuAndFloatieTogetherEnabled:"RenderV9MenuAndFloatieTogetherEnabled",isSchedulingUpdateCommandUIOnMenuPositionedEnabled:"SchedulingUpdateCommandUIOnMenuPositionedEnabled",tooltipForMacIsEnabled:"TooltipForMacIsEnabled"},s=(e,t)=>((e,t)=>e.isExperimentalFeatureEnabled&&e.isExperimentalFeatureEnabled(t))(e,t)},31798:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(85963);const o=e=>!!(0,n.i2)(e,n.PE.minimumTargetSizesEnabled)},42955:(e,t,r)=>{"use strict";r.d(t,{Eq:()=>u,V4:()=>s,qj:()=>l});var n=r(2599);let o=!1,i=!1,a=!1;function s(e){return o||!!e?.(n.n.fluentV9ButtonIsEnabled)}function l(e){return i||!!e?.(n.n.fluentV9CompoundButtonIsEnabled)}function u(e){return a||!!e?.(n.n.fluentV9CheckboxIsEnabled)}},41875:(e,t,r)=>{"use strict";r.d(t,{O:()=>i,j:()=>o});var n=r(15640);const o={sharedShyRibbonIsEnabled:"SharedShyRibbonIsEnabled",reactSharedHeaderIsEnabled:"ReactSharedHeaderIsEnabled",hideHeaderEmbedded:"HideHeaderEmbedded",ribbonScalingSafeguard:"SharedOnline.ChangeGate.RibbonScalingSafeguard",ribbonScalingSafeguardTopBar:"SharedOnline.ChangeGate.RibbonScalingSafeguardTopBar",doNotMeasureHiddenPreviewGalleryItems:"SharedOnline.ChangeGate.doNotMeasureHiddenPreviewGalleryItems",deterministicRibbonScaling:"Microsoft.Office.SharedOnline.DeterministicRibbonScaling",deterministicRibbonScalingSetting:"DeterministicRibbonScalingEnabled"},i=e=>void 0!==e&&e(o.sharedShyRibbonIsEnabled)&&e(o.reactSharedHeaderIsEnabled)&&!e(o.hideHeaderEmbedded)&&!(0,n.lT)()},79095:(e,t,r)=>{"use strict";r.d(t,{B:()=>y,W:()=>b});var n=r(10477),o=r(39398),i=r(72341),a=r(90044),s=r(95583),l=r(31781),u=r(10191),c=r(57674),d=r(85963),p=r(40480);function h(e,t){return r=>{if(r.which===i.c.enter||r.altKey&&r.which===i.c.down)!function(e,t){if(e){const r=document.querySelector("div[data-unique-id="+e+"]");if(null!==r)switch(t){case"AppComboBoxProps":const e=r.querySelector("button[class*=ms-ComboBox-CaretDown-button]");e&&e.click();break;case"AppSpinButtonProps":const t=r.querySelector("input[type=text]");t&&t.focus()}}}(e,t),r.stopPropagation(),r.preventDefault();else if(r.which===i.c.escape||r.altKey&&r.which===i.c.up){const t=document.querySelector("div[data-unique-id="+e+"]");t&&t.focus(),r.stopPropagation(),r.preventDefault()}}}function g(e,t,r){if(!0===t)return"option";if(r&&(r===s.IZ.Ribbon||r===s.IZ.SingleLineRibbon||r===s.IZ.MultilineRibbon||r===s.IZ.Floatie))switch(e){case"AppComboBoxProps":return"combobox";case"AppSpinButtonProps":return"spinbutton"}return"menuItem"}const m=(0,a.J9)((e=>{const t=(0,l.C)(e);return(0,o.Zq)({selectors:{":focus":{outline:"0px",border:"1px solid",background:t.hoverBackgroundColor,borderColor:t.focusedBorderColor},":not(:focus)":{border:"1px solid transparent"}}})}));function f(e){return(0,d.i2)(e,d.PE.activateComboAndSpinControlOnEnter)}const v=(0,a.J9)(((e,t,r,n,o,i,a,s)=>f(t)?{tabIndex:-1,className:m(e),onKeyDown:h(r,n),role:g(n,s,o),"data-nav":!!s,"data-is-focusable":!0,"data-unique-id":r,"aria-disabled":a,"aria-label":i}:{}));function b(e){class t extends n.PureComponent{render(){const{innerRef:t,...r}=this.props,o=(0,u.lj)(r)+r.type;return n.createElement(p.V,null,(i=>n.createElement(c.B.Consumer,null,(a=>n.createElement(n.Fragment,null,f(a)&&n.createElement("div",{...v(i,a,o,r.type,r.location,r.label,r.disabled,r.dataNav)},n.createElement(e,{...r,ref:t})),!f(a)&&n.createElement(e,{...r,ref:t}))))))}}return n.forwardRef(((e,r)=>n.createElement(t,{...e,innerRef:r})))}const y=(0,a.J9)(((e,t)=>({"data-nav":!(!t||f(e))||void 0,"data-is-focusable":!f(e)&&void 0})))},28095:(e,t,r)=>{"use strict";r.d(t,{_I:()=>v,cE:()=>b,j:()=>d,q4:()=>y});var n=r(39398),o=r(90044),i=r(31781),a=r(69284),s=r(94839),l=r(26184),u=r(74445),c=r(79606);const d="fastDisabledComboBoxTarget",p={backgroundColor:"Highlight",selectors:{"svg > path.OfficeIconColors_HighContrast":{fill:"HighlightText !important"}},...(0,n.Qg)()},h=(0,o.J9)((e=>t=>{const{disabled:r,isSelected:o,isPrimaryButtonHover:l,isHover:u,isPressed:c,submenuOpen:d}=t,h=(0,i.C)(e);return{root:[{[a.iZ]:(0,s.B)({width:"2px",color:h.focusedBorderColor})},o&&!r&&!l&&!d&&{backgroundColor:h.selectedBackgroundColor,":after":(0,s.B)({width:"1px",color:h.selectedBorderColor}),[n.up]:p},o&&!r&&d&&{[n.up]:p},!r&&!c&&u&&{backgroundColor:h.hoverBackgroundColor,":after":(0,s.B)({width:"0px",color:"transparent"})},!r&&{[n.up]:[{":focus":p}]}],icon:[!r&&{selectors:{[n.up]:{selectors:{":hover":{selectors:p.selectors},":focus":p}}}},l&&!r&&{selectors:{[n.up]:p}},{selectors:{[`${a.iv} & [role="button"]:focus:after`]:{outlineWidth:"2px",outlineOffset:"-1px"}}}],menuButton:[!r&&{selectors:{[n.up]:{...(l||d)&&p,":focus":p,":hover":p}}}]}})),g=e=>{const t=(0,l.B)(e);return{subComponentStyles:{separatorStyles:{},itemStyles:h(e),headerStyles:{expand:[{fill:t.textColor,[a.iZ]:{outlineWidth:"2px",outlineOffset:"-1px"},selectors:{[n.up]:{selectors:{":active":p,":focus":p,":hover":p,"svg > path.OfficeIconColors_HighContrast":{fill:"ButtonText !important"}}}}}]}}}},m=e=>{const{disabled:t}=e;return{root:[!t&&{selectors:{[n.up]:{selectors:{":focus":p}}}}]}},f={subComponentStyles:{textFieldStyles:{subComponentStyles:{buttonStyles:{root:{width:u.Z.minTargetSize,minWidth:u.Z.minTargetSize}}}}}},v=(0,o.J9)(((e,t=!1)=>r=>{const{theme:o}=r,{controlHeight:s,comboBoxBorderWidth:l,comboBoxRightMargin:h}=u.Z;return(0,n.TW)({root:{height:s,marginRight:h,borderWidth:l},subComponentStyles:{actionButtonStyles:m,dropDownStyles:g(o),textFieldStyles:e=>function(e){const{isActive:t,disabled:r,theme:o}=e,s=(0,i.C)(o),{comboBoxHeight:l,comboBoxVerticalPadding:h}=u.Z;return{root:[d,{height:l,boxSizing:"border-box",alignItems:"center",overflow:"hidden",borderColor:t?s.inputFocusBorderColor:s.inputBorderColor,zIndex:t?1:void 0,backgroundColor:r?s.disabledBackgroundColor:s.inputBackgroundColor,whiteSpace:"nowrap",padding:0,borderRadius:0,selectors:{[n.up]:[{borderColor:"ButtonText",...(0,n.Qg)()},!r&&{selectors:{":hover":[a.s0,p]}},a.KN]}},t&&!r&&[a.s0,{selectors:{[n.up]:p}}],r&&a.G_,r&&t&&[a.$P,a.Jt]],textInput:[{borderRadius:0,color:r?s.inputTextDisabledColor:s.inputTextColor,height:l-h,backgroundColor:"transparent",lineHeight:l-h,padding:"0px 0px 0px 4px","::selection":{backgroundColor:s.inputSelectionBackgroundColor,color:s.inputSelectionTextColor,[n.up]:{color:"HighlightText",backgroundColor:"Highlight",...(0,n.Qg)()}}},r&&{[n.up]:{color:"GrayText",backgroundColor:"ButtonFace",...(0,n.Qg)(),"::selection":{color:"GrayText !important",backgroundColor:"Highlight",...(0,n.Qg)()}}}],subComponentStyles:{buttonStyles:(0,c.E)(o,{root:[d,{top:0}],icon:{fontSize:12}})}}}(e)}},e,t&&f)})),b={display:"flex",flexDirection:"row",alignItems:"center"},y=(0,o.J9)(((e,t,r)=>{const o=(0,i.C)(e),s={label:t&&[{color:o.inputTextDisabledColor,cursor:"default"},a.G_]};return(0,n.TW)(s,r)}))},55064:(e,t,r)=>{"use strict";r.d(t,{M:()=>v});var n=r(10477),o=r(55033),i=r(94935),a=r(40480),s=r(39398),l=r(70783);const u=n.memo((e=>{const t=e.style;return n.createElement(l.A,{...e,automationType:"AppCharacterCode",uniqueId:e.id,title:void 0,label:e.title,ariaLabel:e.title},n.createElement("div",{className:(0,s.Zq)(t&&t.label)},e.character))}));var c=r(90044),d=r(45263);function p(){return{border:"none",selectors:{[s.up]:{border:"1px solid GrayText"}}}}const h={root:{height:40,width:40,padding:"0",fontSize:24,selectors:{":focus":{borderWidth:4}}},rootDisabled:{pointerEvents:"auto",selectors:{":hover":p(),":active":p()}}},g=(0,c.J9)((e=>({...e,galleryButtonInExpanded:(0,s.TW)(h,e&&e.galleryButtonInExpanded)}))),m=(0,c.J9)(((e,t)=>(0,d.cW)(e,g(t))));var f=r(57674);class v extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,galleryButtons:s}=this.props;return n.createElement(a.V,null,(a=>n.createElement(o.z,{...this.props,getGalleryButtonComponent:u,styles:m(a,r),defaultWidth:t||(0,i.fl)(e,40,s,r)})))}}v.contextType=f.B},82873:(e,t,r)=>{"use strict";r.d(t,{i:()=>k});var n=r(10477),o=r(55033),i=r(45263),a=r(94935),s=r(40480),l=r(39398),u=r(83082),c=r(82148),d=r(72341),p=r(75659),h=r(10191),g=r(57674),m=r(23162),f=r(71489),v=r(56227);class b extends n.PureComponent{render(){const{id:e,disabled:t,index:r,title:o,selected:a,role:l,keytipProps:g,uniqueId:m,location:b,contextMenuMap:y,menuDefinition:S,label:C,controlInMenuRendererFunction:T,style:k,iconName:F,tooltipDirection:E}=this.props;return null!=S&&null!=T?n.createElement(s.V,null,(s=>n.createElement("div",{ref:this.galleryButtonWrapper,style:{width:"100%",margin:"0px"}},n.createElement(v.A,{type:"AppSplitButtonProps",ref:this.galleryButton,id:e,label:C??e,"data-index":r&&r,onExecute:this.onExecute,disabled:t,toggled:a,tooltipDirection:E,directionalHint:(0,u.jI)()?c.A.leftTopEdge:c.A.rightTopEdge,directionalHintFixed:!1,controlInMenuRendererFunction:T,ariaChecked:(0,p.V)(this.props.role)?a:void 0,menuDefinition:S,keytipProps:g,downChevronIcon:F,role:l&&l,ariaDescription:this.props.customTooltip,title:o&&o,styles:(0,i.qR)(s,k),"data-automation-type":(0,f.z)(this.props.automationType),"data-unique-id":(0,h.lj)({id:m,location:b}),"data-contextmenu-id":y?.primaryMenuId,menuTriggerKeyCode:(0,u.jI)()?d.c.left:d.c.right,onMenuButtonPointerEnter:this.onMenuButtonPointerEnter,onPointerEnter:this.onPointerEnter})))):n.createElement("div",null)}componentDidMount(){if(this.context.setTooltipElement&&this.context.updateTooltipsHidden){const e=this.isGalleryItemInMenuRole();this.tooltipHost=new m.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.galleryButtonWrapper.current,controlId:this.props.id,controlLabel:this.props.customTooltip||this.props.label||"",tooltipTopMargin:e?0:3,isMenuComponent:e,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions()}}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label||this.tooltipHost.updateTooltip(this.props.customTooltip||this.props.label||""),this.props.currentActiveButtonId!==this.props.id&&this.galleryButton?.current?.dismissMenu()}constructor(e){super(e),this.galleryButton=n.createRef(),this.galleryButtonWrapper=n.createRef(),this.onPointerEnter=()=>{this.props.setActiveButtonId?.(this.props.id)},this.onMenuButtonPointerEnter=()=>{this.galleryButton?.current?.openMenu()},this.onExecute=()=>{!this.props.disabled&&this.props.onExecute&&this.props.onExecute({galleryButton:this.props,location:this.props.location,shouldTakeFocus:this.props.shouldTakeFocus,terminalParentControlId:this.props.terminalParentControlId})},this.isGalleryItemInMenuRole=()=>"gridcell"===this.props.role||"menuitem"===this.props.role||"menuitemradio"===this.props.role}}b.contextType=g.B;var y=r(70783),S=r(85963);const C=n.memo((e=>{const t=e.style,r=n.useContext(g.B),o=(0,S.i2)(r,S.PE.appGallerySplitButtonStylesFixEnabled),a=r.isExperimentalFeatureEnabled?.(S.PE.overflowingStylesPreviewFixIsEnabled);return null!=e.menuDefinition&&null!=e.controlInMenuRendererFunction&&null!=e.iconName?n.createElement(b,{...e,title:void 0,style:(0,i.yT)(t,o,a),label:e.styleDisplayName,ariaLabel:e.styleDisplayName,automationType:"AppFontStyles",uniqueId:e.id,shouldTakeFocus:!0,customTooltip:e.title,tooltipDirection:(0,u.jI)()?c.A.rightCenter:c.A.leftCenter,menuDefinition:e.menuDefinition,controlInMenuRendererFunction:e.controlInMenuRendererFunction,iconName:e.iconName}):n.createElement(y.A,{...e,title:void 0,label:e.styleDisplayName,ariaLabel:e.styleDisplayName,automationType:"AppFontStyles",uniqueId:e.id,shouldTakeFocus:!0,customTooltip:e.title},n.createElement("div",{className:(0,l.Zq)(t&&t.label)},e.styleDisplayName))}));var T=r(49152);class k extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,getGalleryButtonComponent:l,galleryButtons:u}=this.props;return n.createElement(s.V,null,(s=>n.createElement(o.z,{...this.props,styles:(0,i.cW)(s,(0,T.NU)(s,r)),getGalleryButtonComponent:this.props.gallerySections?.[0].galleryButtons?.[0].menuDefinition?C:l||C,columns:e,defaultWidth:t||(0,a.fl)(e,T.xR,u,r)})))}}k.contextType=g.B},49152:(e,t,r)=>{"use strict";r.d(t,{NI:()=>v,NU:()=>f,xR:()=>l});var n=r(39398),o=r(90044),i=r(31781),a=r(69284),s=r(17297);const l=124,u={[n.up]:{borderColor:"transparent",color:"ButtonText",backgroundColor:"ButtonFace",...(0,n.Qg)()}},c=(0,o.J9)((e=>{const t=(0,i.C)(e);return{root:["galleryButton",{boxSizing:"content-box",height:28,padding:"0px 0px 0px 8px",borderWidth:4,textAlign:"left",color:t.fontGalleryTextColor,selectors:{[n.up]:{borderColor:"transparent"}}}],rootDisabled:[{color:t.fontGalleryTextDisabledColor}],rootHovered:[{color:t.fontGalleryTextColor}],rootPressed:[{color:t.fontGalleryTextColor}],rootChecked:[{color:t.fontGalleryTextColor}],flexContainer:{justifyContent:"flex-start",backgroundColor:t.fontGalleryBackgroundColor,...(0,a.Od)()},label:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",display:"block",textOverflow:"ellipsis",lineHeight:"normal",selectors:{...u}}}})),d={root:{height:34,borderTop:"none",borderBottom:"none"}},p={root:{height:30}},h=e=>{const t=(0,i.C)(e);return{root:{width:108,height:26,padding:(0,s.G)()?2:4},rootCheckedHovered:{padding:(0,s.G)()?2:4},rootHovered:{padding:(0,s.G)()?2:4},flexContainer:{backgroundColor:t.fontGalleryBackgroundColor,overflow:"hidden"},label:{paddingLeft:8,textOverflow:"unset"}}},g={selectors:{[n.up]:{borderColor:"Highlight",backgroundColor:"transparent",outlineColor:"ButtonText",...(0,n.Qg)()}}},m={root:{height:24,padding:"2px 0px 2px 2px",width:114,borderWidth:4,selectors:{":focus":{borderWidth:4}}},rootChecked:[{borderWidth:4,selectors:{":focus":[a.KN,g]}},g],rootFocused:g,rootPressed:g,rootHovered:[a.KN,g],rootCheckedHovered:[a.KN,g],label:{paddingLeft:6},flexContainer:{selectors:{[n.up]:{backgroundColor:"ButtonFace"}}}},f=(0,o.J9)(((e,t)=>({...t,galleryContainer:t&&t.galleryContainer,galleryButtonInPreview:(0,n.TW)(c(e),h(e),t&&t.galleryButtonInPreview),galleryButtonInExpanded:(0,n.TW)(c(e),m,t&&t.galleryButtonInExpanded),previewExpandButton:(0,n.TW)(d,(0,s.G)()&&p,t&&t.previewExpandButton)}))),v={display:"block",textAlign:"center",fontSize:"10px",textOverflow:"ellipsis",selectors:{...u}}},68414:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(10477),o=r(39398),i=r(70783),a=r(49152);const s=n.memo((e=>{const t=e.style&&e.style.label,r=e&&e.style&&e.style.textContainer,s=e.previewStyleLabel?a.NI:e.style&&e.style.label;return n.createElement(i.A,{...e,title:void 0,automationType:"AppFontStylesTwoRowPreview",label:e.styleDisplayName,ariaLabel:null!=e.previewStyleFontNameAndSize?e.customTooltip:e.styleDisplayName,shouldTakeFocus:!0,showTooltip:!0},n.createElement("div",{className:(0,o.Zq)(r)},n.createElement("div",{className:(0,o.Zq)(t)},null!=e.previewStyleFontNameAndSize?e.styleDisplayName:e.previewStyleLabel),n.createElement("div",{className:(0,o.Zq)(s)},null!=e.previewStyleFontNameAndSize?e.previewStyleFontNameAndSize:e.styleDisplayName)))}))},93235:(e,t,r)=>{"use strict";r.d(t,{q:()=>g});var n=r(10477),o=r(55033),i=r(45263),a=r(94935),s=r(40480),l=r(37241),u=r(39398),c=r(70783),d=r(8171);const p=n.memo((e=>{const t=e=>e?(0,u.l8)(d.zM,e.styles):d.zM,r=e.fullIconProps&&(e.fullIconProps instanceof Array?e.fullIconProps:[e.fullIconProps]);return n.createElement(c.A,{...e,automationType:"AppIcon",uniqueId:e.id,title:void 0,label:e.title,ariaLabel:e.title,shouldTakeFocus:!0},r&&r.map(((e,r)=>n.createElement(l.I,{...e,key:r,styles:t(e)}))),e.label&&n.createElement("div",{className:(0,u.Zq)(d.vT,e.style?.label)}," ",e.label," "))}));var h=r(57674);class g extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,galleryButtons:l}=this.props;return n.createElement(s.V,null,(s=>n.createElement(o.z,{...this.props,styles:(0,i.cW)(s,(0,d.x0)(r)),getGalleryButtonComponent:p,defaultWidth:t||(0,a.fl)(e,d.Q2,l,r)})))}}g.contextType=h.B},8171:(e,t,r)=>{"use strict";r.d(t,{Q2:()=>i,mY:()=>l,vT:()=>s,x0:()=>c,zM:()=>u});var n=r(39398),o=r(90044);const i=68,a={root:{boxSizing:"border-box",height:60,width:i,padding:0,borderTopWidth:4,borderBottomWidth:4,borderLeftWidth:4,borderRightWidth:4}},s={margin:"0px 3px",textOverflow:"ellipsis",overflowX:"hidden"},l={root:{height:20,width:20}},u={root:{height:48,width:48}},c=(0,o.J9)((e=>({...e,galleryButtonInExpanded:(0,n.TW)(a,e&&e.galleryButtonInExpanded)})))},60689:(e,t,r)=>{"use strict";r.d(t,{i:()=>k});var n=r(10477),o=r(70783),i=r(55033),a=r(94935),s=r(40480),l=r(39398),u=r(90044),c=r(45263),d=r(16594);const p="galleryLine",h=e=>{let t;return t=e?{direction:"rtl",textAlign:"right /* @noflip */"}:{direction:"ltr",textAlign:"left /* @noflip */"},{...t,width:72,overflow:"hidden"}},g=(e,t)=>{if(!t)return[{position:"relative"},{position:"relative"},{position:"relative"}];const r=e?"marginRight":"marginLeft";return[{position:"relative",[r]:"0px /* @noflip */"},{position:"relative",[r]:"7px /* @noflip */"},{position:"relative",[r]:"14px /* @noflip */"}]},m={selectors:{[l.up]:{backgroundColor:"HighlightText",...(0,l.Qg)()}}},f=e=>[p,{height:2,width:"100%",margin:"0px 4px",backgroundColor:(0,d.Q)()?e.palette.neutralTertiaryAlt:"#BDBDBD",position:"absolute",top:"50%",outline:"1px solid transparent",selectors:{[l.up]:{backgroundColor:"ButtonText",...(0,l.Qg)()}}}],v={root:{height:72,width:72,padding:"15px 4px",borderTopWidth:4,borderBottomWidth:4,borderLeftWidth:4,borderRightWidth:4,selectors:{":focus":{[`.${p}`]:m},":hover":{[`.${p}`]:m}}}},b=(0,u.J9)((e=>({...e,galleryButtonInExpanded:(0,l.TW)(v,e&&e.galleryButtonInExpanded)}))),y=(0,u.J9)(((e,t)=>(0,c.cW)(e,b(t)))),S=(0,u.J9)(((e,t,r)=>({root:h(t),levels:g(t,r),line:f(e)}))),C=n.memo((e=>{const{infoAtLevel:t,rtl:r,id:o,multiLevel:i}=e;return Array.isArray(t)?n.createElement(s.V,null,(e=>{const a=S(e,r,i);return n.createElement("div",{className:(0,l.Zq)(a.root)},t.map(((e,t)=>n.createElement("div",{key:o+"-"+t+"-level",className:(0,l.Zq)(a.levels&&a.levels[t],e.styleAtLevel)},n.createElement("span",null,e.textAtLevel),n.createElement("span",{className:(0,l.Zq)(a.line)})))))})):n.createElement("div",{className:(0,l.Zq)(t.styleAtLevel)},t.textAtLevel)}));var T=r(57674);class k extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,galleryButtons:o}=this.props;return n.createElement(s.V,null,(s=>n.createElement(i.z,{...this.props,getGalleryButtonComponent:this.AppListGalleryButton,styles:y(s,r),defaultWidth:t||(0,a.fl)(e,72,o,r)})))}constructor(){super(...arguments),this.AppListGalleryButton=n.memo((e=>n.createElement(o.A,{...e,automationType:this.props.dataAutomationType||"AppList",uniqueId:this.props.id,shouldTakeFocus:!0},n.createElement(C,{...e,rtl:this.props.rtl,multiLevel:this.props.multiLevel}))))}}k.contextType=T.B},55033:(e,t,r)=>{"use strict";r.d(t,{z:()=>S});var n=r(10477),o=r(90044),i=r(72341),a=r(75296),s=r(31976),l=r(39398),u=r(91074),c=r(10625),d=r(33640),p=r(57674),h=r(86725),g=r(40271),m=r(40480),f=r(45263),v=r(70783),b=r(85963);class y extends n.PureComponent{render(){const{id:e,positionInSet:t,level:r,gallerySections:n}=this.props;return n?this.renderGallerySections(e,n,t,r):(console.warn("gallerySections must be defined"),null)}static getDerivedStateFromProps(e,t){const r={};return e.selectedId!==t.selectedId&&(r.selectedId=e.selectedId),e.isShadowRendering&&void 0===t.itemsToRender&&(r.itemsToRender=0),Object.keys(r).length>0?r:null}componentDidMount(){this.renderMoreItemsInIdleCallback()}componentDidUpdate(){this.renderMoreItemsInIdleCallback()}componentWillUnmount(){this.cancelPendingRenderIdleCallback()}cancelPendingRenderIdleCallback(){-1!==this.renderIdleCallbackId&&(window.cancelIdleCallback(this.renderIdleCallbackId),this.renderIdleCallbackId=-1)}getTotalGalleryButtons(){const{gallerySections:e,galleryButtons:t}=this.props;return e?e.reduce(((e,t)=>e+t.galleryButtons.length),0):t.length}renderGalleryButtons(e,t,r,n,o,i,a,s,l){const u=this.getGalleryButtonsToRender(t,n);let c;return u.some((e=>e.id===this.state.selectedId))&&(c=this.state.selectedId),this.renderGalleryStack(e,u,r,o,i,c,a,s,l)}renderGalleryStack(e,t,r,o,i,a,s,l,d){const{id:p,defaultWidth:h,disabled:g,role:m}=this.props;let v,b=t;d&&(this.state.collapsedSections.includes(r)?t.length>d.amountToShowWhenCollapsed&&(b=t.slice(0,d.amountToShowWhenCollapsed),v=this.renderGalleryButton(d.expandButton,this.getOnGalleryExpandButtonExecute(r,d.expandButton.onExecute))):v=this.renderGalleryButton(d.collapseButton,this.getOnGalleryExpandButtonExecute(r,d.collapseButton.onExecute)));const y=this.addPropsToGalleryButtonsArray(b,a,g),S=(0,f.cW)(e,this.props.styles),C=n.createElement(u.B,{key:`${p}-stack${o}`,"aria-label":i,styles:S.galleryStack,horizontal:!0,wrap:!0,tokens:(0,f.Jt)(h,this.props.customExpandedGalleryChildrenGap),role:m},y.map(((e,t)=>n.createElement(n.Fragment,{key:`galleryButton-${t}`},this.renderGalleryButton(e)))),v);return s||v?n.createElement(c.R,{shouldFocusOnMount:l,"data-is-focusable":!!v||void 0,shouldFocusInnerElementWhenReceivedFocus:!!v,shouldResetActiveElementWhenTabFromZone:!!v,isCircularNavigation:!0},C):C}addPropsToGalleryButton(e,t,r,n){return{...e,disabled:n||e.disabled,index:t,selected:e.id===r}}getGalleryButtonsToRender(e,t){let r=e;return this.props.isShadowRendering&&void 0!==this.state.itemsToRender&&void 0!==t&&(this.state.itemsToRender<=t?r=[]:this.state.itemsToRender<=t+e.length&&(r=e.slice(0,this.state.itemsToRender-t))),r}renderGallerySections(e,t,r,o){const i=r||1;let a=t;const s=[];if(this.props.isShadowRendering&&void 0!==this.state.itemsToRender){let e=0;for(let r=0;r<t.length;r+=1)s[r]=e,e+=t[r].galleryButtons.length;a=t.filter(((e,t)=>s[t]<this.state.itemsToRender))}return n.createElement(m.V,null,(t=>n.createElement("div",{key:`${e}-galleryWrapper`,"data-no-vertical-wrap":!0,"data-no-horizontal-wrap":!1},a.map(((r,a)=>{const l=r.title?r.title.replace(/[ ]/g,"-"):"",u=`title-${this.props.id}-${l}`;return n.createElement("div",{key:`${e}-gallerySectionWrapper${a}`,"aria-labelledby":r.title?u:void 0},r.topDivider&&this.renderDivider(t,a,"top"),r.title&&this.renderSectionTitle(t,a,r.title,o,u),this.renderGalleryButtons(t,r.galleryButtons,r.id??"",this.props.isShadowRendering&&void 0!==this.state.itemsToRender?s[a]:void 0,a+i,r.ariaLabel,r.tabNavigationEnabled,r.focusOnMount,r.collapse),r.bottomDivider&&this.renderDivider(t,a,"bottom"))})))))}renderDivider(e,t,r){const o=(0,f.cW)(e,this.props.styles);return n.createElement("div",{key:`separator-${t}-${r}`,className:(0,l.Zq)(o.expandedGallerySectionDivider),role:"separator"})}renderSectionTitle(e,t,r,o=1,i){const a=(0,f.cW)(e,this.props.styles);return n.createElement("div",{id:i,key:`title${t}`,className:(0,l.Zq)(a.expandedGallerySectionTitle),role:"heading","aria-level":o},n.createElement("span",{className:(0,l.Zq)(a.expandedGallerySectionTitleInnerSpan)},r))}getOnGalleryExpandButtonExecute(e,t){return r=>{this.setState({collapsedSections:this.state.collapsedSections.includes(e)?this.state.collapsedSections.filter((t=>t!==e)):[...this.state.collapsedSections,e]}),t?.(r)}}constructor(e){super(e),this.navigationIdleDelay=250,this.renderIdleCallbackId=-1,this.totalShadowRenderingTime=0,this.setActiveButtonId=e=>{this.setState({currentActiveButtonId:e})},this.renderMoreItemsInIdleCallback=()=>{if(this.props.isShadowRendering&&void 0!==this.state.itemsToRender&&this.state.itemsToRender<this.getTotalGalleryButtons()){this.currentShadowRenderingStart&&(this.totalShadowRenderingTime+=performance.now()-this.currentShadowRenderingStart);const e=(0,h.A4)(this.totalShadowRenderingTime,this.state.itemsToRender);(0,d.N)()&&(this.cancelPendingRenderIdleCallback(),this.renderIdleCallbackId=window.requestIdleCallback((()=>{this.currentShadowRenderingStart=performance.now(),this.setState({itemsToRender:this.state.itemsToRender+e})}),void 0,`Gallery-${this.props.id}-ShadowRenderIncrement`))}},this.addPropsToGalleryButtonsArray=(0,o.J9)(((e,t,r)=>e.map(((e,n)=>this.addPropsToGalleryButton(e,n,t,r))))),this.renderGalleryButton=(e,t)=>{const r=(0,b.i2)(this.context,b.PE.fluentV9RibbonIconPreviewGalleryIsEnabled),o=this.props.getGalleryButtonComponent||v.A,i=!1!==this.props.useInMenuHover||!!e.focusOnHover;return n.createElement(m.V,null,(a=>{const s={...e,setActiveButtonId:this.setActiveButtonId,currentActiveButtonId:this.state.currentActiveButtonId,onFocus:this.props.onGalleryButtonFocus,onExecute:t??this.onGalleryButtonExecute,style:(0,f.cW)(a,(0,f.Mg)(this.props.styles,e.style),i).galleryButtonInExpanded,role:e.role||"menuitemradio",focusOnHover:i,onMouseEnter:this.onMouseEnter,onWheel:this.onWheel,onMouseMove:this.onMouseMove,onMouseLeave:r?()=>{}:this.onMouseLeave,onKeyDown:this.onKeydown,shouldKeepFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus,contextMenuMap:this.props.contextMenuMap,terminalParentControlId:this.props.terminalParentControlId,controlInMenuRendererFunction:this.props.controlInMenuRendererFunction,iconName:this.props.iconName};return n.createElement(o,{...s})||n.createElement(v.A,{...s})}))},this.onMouseMove=e=>{const t=e.currentTarget;!this.isNavigationIdle||document&&t===document.activeElement||this.isFocusInContextMenu()||t.focus()},this.onMouseEnter=e=>{!this.isNavigationIdle||this.props.disabled||this.isFocusInContextMenu()||e.currentTarget.focus()},this.onMouseLeave=e=>{if(this.isNavigationIdle&&!this.props.disabled&&!this.isFocusInContextMenu()){const t=document.querySelectorAll('[tabindex="0"][role="menu"]');for(let r=0;r<t.length;r+=1)if(t[r].contains(e.currentTarget)){t[r].setActive?t[r].setActive():t[r].focus();break}}},this.onWheel=()=>{this.setNavigationTimeout()},this.onKeydown=e=>{e.which!==i.c.up&&e.which!==i.c.down&&e.which!==i.c.left&&e.which!==i.c.right||this.setNavigationTimeout()},this.setNavigationTimeout=()=>{this.isNavigationIdle||void 0===this.navigationIdleTimeoutId?this.isNavigationIdle=!1:(this.async.clearTimeout(this.navigationIdleTimeoutId),this.navigationIdleTimeoutId=void 0),this.navigationIdleTimeoutId=this.async.setTimeout((()=>{this.isNavigationIdle=!0}),this.navigationIdleDelay)},this.onGalleryButtonExecute=e=>{const{galleryButton:t,inputMethod:r,shouldTakeFocus:n,triggerTime:o,event:i,terminalParentControlId:a}=e;this.props.onGalleryButtonFocus&&this.props.onGalleryButtonFocus();const s=t.index;void 0!==s&&s>=0&&(this.props.onGalleryButtonExecute&&this.props.onGalleryButtonExecute({galleryButton:t,location:this.props.location,inputMethod:r,shouldTakeFocus:n,triggerTime:o,event:i,terminalParentControlId:a}),this.setState({selectedId:t.id}))},this.isFocusInContextMenu=()=>this.props.contextMenuMap?.primaryMenuId&&(0,a.s)(document.getElementById(this.props.contextMenuMap?.primaryMenuId),document.activeElement),this.isNavigationIdle=!0,this.async=new s.j(this),this.state={selectedId:e.selectedId,collapsedSections:e.gallerySections?.map((e=>e.collapse?e.id??"":"")).filter((e=>!!e))??[]}}}y.contextType=p.B;const S=(0,g.d)(y)},45263:(e,t,r)=>{"use strict";r.d(t,{JB:()=>E,Jt:()=>L,MP:()=>D,Mg:()=>W,a5:()=>G,cW:()=>K,lE:()=>R,mW:()=>k,qR:()=>U,yT:()=>z});var n=r(39398),o=r(90044),i=r(83082),a=r(31781),s=r(74445),l=r(69284),u=r(94839),c=r(83778),d=r(21609),p=r(17297),h=r(16594),g=r(94935);const m="34px",f="4px",v="1px",b="4px",y="4px",S="2px",C="2px",T="30px";function k(...e){function t(e){const t=e;return(0,n.TW)(...t)}function r(e){const t=e;return(0,n.TW)(...t)}return{expandedGallery:e.map((e=>e&&e.expandedGallery)).filter((e=>e)),previewGallery:e.map((e=>e&&e.previewGallery)).filter((e=>e)),expandedGallerySectionTitle:e.map((e=>e&&e.expandedGallerySectionTitle)).filter((e=>e)),expandedGallerySectionTitleInnerSpan:e.map((e=>e&&e.expandedGallerySectionTitleInnerSpan)).filter((e=>e)),expandedGallerySectionDivider:e.map((e=>e&&e.expandedGallerySectionDivider)).filter((e=>e)),galleryButtonInPreview:t(e.map((e=>e&&e.galleryButtonInPreview)).filter((e=>e))),galleryButtonInExpanded:t(e.map((e=>e&&e.galleryButtonInExpanded)).filter((e=>e))),previewExpandButton:t(e.map((e=>e&&e.previewExpandButton)).filter((e=>e))),galleryContainer:t(e.map((e=>e&&e.galleryContainer)).filter((e=>e))),previewStackStyle:r(e.map((e=>e&&e.previewStackStyle)).filter((e=>e))),galleryStack:r(e.map((e=>e&&e.galleryStack)).filter((e=>e)))}}function F(e){const t=(0,a.C)(e);return{backgroundColor:t.defaultGalleryBackgroundColor,borderWidth:1,borderStyle:"solid",borderColor:t.inputBorderColor,boxSizing:"border-box",height:s.Z.controlHeight-4,marginTop:2}}const E=(0,o.J9)(((e,t,r,o,i,s,l)=>{const u=(0,a.C)(e);return(0,n.l8)({galleryContainer:[F(e),(0,p.G)()&&{backgroundColor:d.k.colorNeutralBackground1,borderColor:d.k.colorNeutralStroke1,borderRadius:d.k.borderRadiusMedium,height:"32px",marginTop:0},s&&{borderColor:u.focusedBorderColor},r&&o&&{borderColor:u.inputBorderColor},l&&{display:"flex"},t.root,r&&[t.rootExpanded],o&&t.rootFocused,i&&{borderColor:"transparent",backgroundColor:u.galleryExpandButtonDefaultBackgroundColor,selectors:{":active":{borderColor:"transparent"}}}]})})),A=(0,o.J9)((e=>{const t=(0,a.C)(e);return{root:{display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"default",verticalAlign:"top",boxSizing:"border-box",backgroundColor:t.defaultGalleryBackgroundColor,color:t.galleryTextColor,padding:"10px 10px",border:"1px solid transparent",selectors:{":focus":{borderColor:t.galleryHoverFocusColor,selectors:{[n.up]:[{borderColor:"transparent"}]}},[`${l.iZ}, &:focus:after`]:{left:0,right:0,top:0,bottom:0},[n.up]:{borderColor:"transparent",...(0,l.Od)()}}},rootCheckedDisabled:[l.$P,{selectors:{":focus":l.Fu}}],rootHovered:{color:t.galleryTextColor},rootPressed:{color:t.galleryTextColor,borderColor:t.galleryPressedBackgroundColor,selectors:{[n.up]:[{borderColor:"transparent"}]}},rootChecked:[{borderColor:t.gallerySelectedColor},l.s0,l.zr],rootFocused:[l.s0,l.KN],rootDisabled:[{opacity:.4,pointerEvents:"none",selectors:{":focus":l.Fu}},l.G_],flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center",lineHeight:"normal"}}})),I=(0,o.J9)(((e,t)=>{const r=(0,a.C)(e);return{root:{height:"64px",width:"64px",selectors:{":focus":{borderWidth:f},[`${l.iZ}, &:focus:after`]:{outline:0}}},rootFocused:{selectors:{[`${l.si}, &:focus`]:{borderWidth:f,[n.up]:[{borderColor:"highlight",backgroundColor:"highlight"}]}}},rootPressed:[l.s0],rootHovered:[!t&&{borderWidth:f,borderColor:r.galleryHoverFocusColor},l.s0,l.KN],rootCheckedHovered:[l.s0,l.KN],rootChecked:{borderWidth:v,borderColor:r.gallerySelectedColor,selectors:{[`${l.iZ}, &:focus:after`]:[(0,u.B)({width:2,color:r.gallerySelectedColor,gap:0}),{borderRadius:0,[n.up]:{borderColor:"transparent"}}],[`${l.si}, &:focus`]:[{selectors:{[n.up]:[{borderColor:"highlight"}]}},l.s0,l.KN]}}}})),x=(0,o.J9)((e=>({selectors:{":after":[(0,u.B)({width:2,color:d.k.colorStrokeFocus2,gap:-1,radius:e})]}}))),w=(0,o.J9)((()=>{const e=x(d.k.borderRadiusMedium),t={paddingTop:S,paddingBottom:S,paddingLeft:C,paddingRight:C,selectors:{[`${l.si}, &:focus`]:[e]}};return{root:[{height:T,width:"126px",border:"none",paddingTop:S,paddingBottom:S,paddingLeft:C,paddingRight:C,backgroundColor:"transparent",borderRadius:d.k.borderRadiusMedium}],rootHovered:[{backgroundColor:d.k.colorNeutralBackground1Hover,selectors:{[`${l.si}, &:focus`]:[e]}}],rootFocused:[{backgroundColor:"transparent"},e],rootPressed:[{backgroundColor:d.k.colorNeutralBackground1Pressed}],rootDisabled:[t,{color:d.k.colorNeutralForegroundDisabled,backgroundColor:"transparent",selectors:{":focus":{[n.up]:{backgroundColor:"transparent",outline:"highlight solid 2px"}}}}],rootChecked:{backgroundColor:d.k.colorNeutralBackground1Selected,outline:`${v} solid ${d.k.colorNeutralStrokeAccessible}`,outlineOffset:`-${v}`,selectors:{[`${l.si}, &:focus`]:[e]}},rootCheckedHovered:[{backgroundColor:d.k.colorNeutralBackground1Hover,outline:`${v} solid ${d.k.colorNeutralStrokeAccessibleHover}`,outlineOffset:`-${v}`,selectors:{[`${l.si}, &:focus`]:[e],[n.up]:{commonHighContrastOutlineHoverFocus:l.KN}}}],rootCheckedPressed:[{backgroundColor:d.k.colorNeutralBackground1Pressed,outline:`${v} solid ${d.k.colorNeutralStrokeAccessiblePressed}`,outlineOffset:`-${v}`},l.s0],rootCheckedDisabled:[t,{backgroundColor:d.k.colorNeutralBackground1Selected,selectors:{[`${l.si}, &:focus`]:[{backgroundColor:"transparent"},e],[n.up]:{color:"highlightText","svg > path.OfficeIconColors_HighContrast":{fill:"highlightText !important"}}}}]}})),P=(0,o.J9)((e=>{const t=(0,a.C)(e),r=(0,p.G)()?{}:{border:"2px solid "+t.focusedBorderColor,paddingTop:"2px",paddingBottom:"2px",paddingLeft:"2px",paddingRight:"2px"},o={pointerEvents:"none",cursor:"default",border:"none",paddingTop:b,paddingBottom:b,paddingLeft:y,paddingRight:y,selectors:{":hover":[{outline:0,backgroundColor:"transparent"},l.uP],":focus":[l.Fu,{backgroundColor:t.galleryHoverFocusColor},r],":active":{outline:0,backgroundColor:"transparent"}}};return{root:{height:m,width:"126px",border:"none",paddingTop:b,paddingBottom:b,paddingLeft:y,paddingRight:y,backgroundColor:"transparent"},rootHovered:[{backgroundColor:t.galleryHoverFocusColor,borderWidth:0,selectors:{":focus":[r]}},l.s0,l.KN],rootFocused:[l.s0,{backgroundColor:t.galleryHoverFocusColor},r],rootPressed:[{backgroundColor:t.galleryPressedBackgroundColor},l.s0],rootDisabled:[o,{color:t.textDisabledColor,backgroundColor:"transparent"},l.G_],rootChecked:{backgroundColor:t.gallerySelectedColor,outline:`${v} solid ${d.k.colorNeutralStrokeAccessible}`,outlineOffset:`-${v}`,selectors:{":focus":[r,l.s0]}},rootCheckedHovered:[{backgroundColor:t.galleryHoverFocusColor,outline:`${v} solid ${d.k.colorNeutralStrokeAccessibleHover}`,outlineOffset:`-${v}`,selectors:{":focus":[r],[n.up]:{commonHighContrastOutlineHoverFocus:l.KN}}},l.s0],rootCheckedPressed:[{backgroundColor:t.galleryPressedBackgroundColor,outline:`${v} solid ${d.k.colorNeutralStrokeAccessiblePressed}`,outlineOffset:`-${v}`},l.s0],rootCheckedDisabled:[o,{backgroundColor:t.gallerySelectedColor,selectors:{":focus":[l.Fu,{backgroundColor:t.galleryHoverFocusColor,left:0,top:0,marginRight:0},r]}}]}})),R=150,D="gallery-item-animate",_=(0,o.J9)((()=>{const e=`${R}ms cubic-bezier(0.1, 0.9, 0.2, 1)`,t=`opacity ${R}ms linear,width ${e}, min-width ${e}, padding-left ${e}, padding-right ${e}`;return{root:{selectors:{"&.gallery-item-animate-enter":{},"&.gallery-item-animate-enter:not(.gallery-item-animate-enter-active)":{opacity:0,width:0,minWidth:0,paddingLeft:0,paddingRight:0},"&.gallery-item-animate-enter-active":{transition:t},"&.gallery-item-animate-exit":{},"&.gallery-item-animate-exit-active":{transition:t,width:0,minWidth:0,opacity:0,paddingLeft:0,paddingRight:0}}}}})),N=(0,o.J9)((()=>{const e=`${d.k.borderRadiusNone} ${d.k.borderRadiusMedium} ${d.k.borderRadiusMedium} ${d.k.borderRadiusNone}`;return{root:{height:T,backgroundColor:d.k.colorNeutralBackground1,color:d.k.colorNeutralForeground1,border:"1px solid "+d.k.colorNeutralStroke1,borderTopRightRadius:d.k.borderRadiusMedium,borderBottomRightRadius:d.k.borderRadiusMedium,[`${l.si}, &:focus`]:[x(e)]},rootHovered:{backgroundColor:d.k.colorNeutralBackground1Hover,borderColor:d.k.colorNeutralStroke1Hover,[`${l.si}, &:focus`]:[x(e)]},rootPressed:{backgroundColor:d.k.colorNeutralBackground1Pressed,borderColor:d.k.colorNeutralStroke1Pressed,color:d.k.colorNeutralForeground1},rootFocused:{backgroundColor:d.k.colorNeutralBackground1},rootDisabled:{backgroundColor:d.k.colorNeutralBackground1,borderColor:d.k.colorNeutralStrokeDisabled,[`${l.si}, &:focus`]:[x(e)]},rootExpanded:{backgroundColor:d.k.colorNeutralBackground1Selected,borderColor:d.k.colorNeutralStroke1Selected,[`${l.si}, &:focus`]:[x(e)]},rootExpandedHovered:{backgroundColor:d.k.colorNeutralBackground1Selected,borderColor:d.k.colorNeutralStroke1Selected,[`${l.si}, &:focus`]:[x(e)]},icon:{fill:d.k.colorNeutralForeground1,width:12,height:12,lineHeight:12}}})),O=(0,o.J9)((e=>{const t=(0,a.C)(e);return{root:{height:m,width:"16px",minWidth:"16px",backgroundColor:t.galleryExpandButtonDefaultBackgroundColor,color:t.galleryTextColor,border:"1px solid "+t.inputBorderColor,borderRight:"none",borderRadius:"unset",padding:0},rootHovered:{backgroundColor:t.galleryHoverFocusColor},rootPressed:{backgroundColor:t.galleryPressedBackgroundColor,borderColor:t.galleryPressedBackgroundColor,color:t.galleryTextColor},rootFocused:{borderColor:t.focusedBorderColor},rootDisabled:{pointerEvents:"none",opacity:.4,backgroundColor:t.galleryExpandButtonDefaultBackgroundColor,borderColor:"transparent",selectors:{":hover":[{outline:0,backgroundColor:"transparent"},l.uP],":focus":l.Fu,":active":{outline:0,backgroundColor:"transparent"}}},rootExpanded:{backgroundColor:t.galleryHoverFocusColor},rootExpandedHovered:{backgroundColor:t.galleryHoverFocusColor},icon:{fill:(0,h.Q)()?t.textColor:"#444444",width:12,height:12,lineHeight:12}}})),M=(0,o.J9)((()=>({root:{overflow:"hidden"}}))),B=(0,o.J9)((()=>({root:{padding:g.fc,width:"max-content"},inner:{margin:"1px 0px",padding:0}}))),L=(0,o.J9)(((e,t)=>({childrenGap:t??g.fc,maxWidth:e,padding:"2px 0px"}))),K=(0,o.J9)(((e,t,r,o=!1)=>{const i=(0,a.C)(e);return{...t,galleryContainer:(0,n.TW)(t&&t.galleryContainer),expandedGallery:t&&t.expandedGallery,previewGallery:(0,n.Zq)({display:"inline-block",marginLeft:"4px",marginRight:"4px"},t&&t.previewGallery),galleryButtonInExpanded:(0,n.TW)(A(e),I(e,r??!0),t&&t.galleryButtonInExpanded),previewExpandButton:(0,c.X)((0,n.TW)(O(e),(0,p.G)()&&N(),t&&t.previewExpandButton),o),galleryButtonInPreview:(0,n.TW)(A(e),P(e),_(),(0,p.G)()&&w(),t&&t.galleryButtonInPreview),expandedGallerySectionTitle:(0,n.Zq)({fontSize:14,fontWeight:600,paddingRight:14,paddingLeft:14,backgroundColor:i.menuBackgroundColor,color:i.menuItemTextColor,position:"relative",boxSizing:"border-box",height:32,lineHeight:32,cursor:"default"},t&&t.expandedGallerySectionTitle),expandedGallerySectionTitleInnerSpan:(0,n.Zq)({verticalAlign:"top"},t&&t.expandedGallerySectionTitleInnerSpan),expandedGallerySectionDivider:(0,n.Zq)({display:"block",height:"1px",backgroundColor:"#DADADA",position:"relative"},t&&t.expandedGallerySectionDivider),previewStackStyle:(0,n.TW)(M(),t&&t.previewStackStyle),galleryStack:(0,n.l8)(B(),t&&t.galleryStack)}})),W=(0,o.J9)(((e,t)=>({...e,galleryButtonInExpanded:(0,n.TW)(e&&e.galleryButtonInExpanded,t),galleryButtonInPreview:(0,n.TW)(e&&e.galleryButtonInPreview,t)}))),H=((0,o.J9)((e=>k(H,e))),{expandedGallerySectionTitle:{height:28,lineHeight:28,fontSize:12}}),G=(0,o.J9)((e=>(0,n.l8)(e,{root:{visibility:"hidden",position:"absolute"}}))),z=(0,o.J9)(((e,t,r)=>r?(0,n.l8)(e,{label:{width:"inherit",direction:(0,i.jI)()?"rtl":"ltr",textAlign:"start"}}):(0,n.l8)(e,{label:{width:"inherit",textAlign:t&&(0,i.jI)()?"left !important":"right"}}))),U=(0,o.J9)(((e,t)=>{const r=(0,a.C)(e);return{root:{height:36,width:"100%",padding:0,border:"0px transparent solid",backgroundColor:"inherit",borderRadius:0,selectors:{":hover":{backgroundColor:r.hoverBackgroundColor,border:"0px transparent none"},":focus-visible":{outline:"none"}},fontWeight:400},label:(0,n.Zq)({fontWeight:400},t?.label),icon:{height:16,width:16},splitButtonContainer:{marginRight:-1,marginLeft:1,height:36,justifyContent:"space-between",border:"0px transparent solid",backgroundColor:"transparent",width:"100%",selectors:{":hover":{backgroundColor:r.hoverBackgroundColor,border:"0px transparent none"},":focus-visible":{outline:"none"}}},splitButtonContainerChecked:[{backgroundColor:r.toggledBackgroundColor,outline:"1px solid",outlineColor:r.selectedBorderColor,borderRadius:0},l.s0],splitButtonMenuButton:{border:"none",height:36,width:28,backgroundColor:"inherit",selectors:{":hover":{backgroundColor:r.hoverBackgroundColor,border:"none"},":focus-visible":{outline:"none"}}},splitButtonMenuButtonExpanded:{backgroundColor:"transparent"},splitButtonDivider:{backgroundColor:r.borderColor,right:27,position:"absolute",alignSelf:"center",height:16,width:1}}}))},94935:(e,t,r)=>{"use strict";r.d(t,{fc:()=>o,fl:()=>a});var n=r(90044);const o=2,i=(0,n.J9)(((e,t)=>e*t+(e+1)*o)),a=(e,t,r,n)=>{const o=n&&(e=>{const t=e?.galleryButtonInExpanded?.root,r=t&&t.width;return"number"==typeof r?r:"string"==typeof r?parseInt(r,10):void 0})(n),a=o||t,s=r?Math.min(r.length,e):e;return a&&i(s,a)}},70783:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(10477),o=r(93662),i=r(82015),a=r(42745),s=r(75659),l=r(10191),u=r(57674),c=r(85963),d=r(40353),p=r(97177),h=r(23162),g=r(71489);class m extends n.PureComponent{render(){const{id:e,disabled:t,index:r,ariaLabel:a,title:u,selected:c,style:d,role:h,keytipProps:m,uniqueId:f,location:v,contextMenuMap:b,allowDisabledFocus:y,isPreviewGalleryButton:S}=this.props,C=this.props.focusOnHover?(0,i.G1)(this.props,i.uw,["type"]):void 0;return n.createElement(o.c,{...C,ref:this.galleryButton,elementRef:this.galleryButtonWrapper,id:this.getID(e,S),"data-index":r&&r,disabled:t,checked:c,"aria-selected":(0,s.r)(this.props.role)?c:void 0,"aria-current":(0,s.r)(this.props.role)?void 0:c,"aria-checked":(0,s.V)(this.props.role)?c:void 0,role:h&&h,ariaLabel:a&&a,ariaDescription:this.props.customTooltip,title:u&&u,onClick:this.onExecute,onFocus:this.onFocus,onBlur:this.onBlur,styles:d,"data-automation-type":(0,g.z)(this.props.automationType),"data-unique-id":(0,l.lj)({id:f,location:v}),keytipProps:(0,p.J)(m,this.keytipExecute),allowDisabledFocus:y??!0,"data-contextmenu-id":b?.primaryMenuId},this.props.children)}componentDidMount(){if(this.context.setTooltipElement&&this.context.updateTooltipsHidden){const e=this.isGalleryItemInMenuRole();this.tooltipHost=new h.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.galleryButtonWrapper.current,controlId:this.props.id,controlLabel:this.props.customTooltip||this.props.label||"",tooltipTopMargin:e?0:3,isMenuComponent:e,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions()}}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){!this.tooltipHost||e.customTooltip===this.props.customTooltip&&e.label===this.props.label||this.tooltipHost.updateTooltip(this.props.customTooltip||this.props.label||"")}constructor(e){super(e),this.galleryButton=n.createRef(),this.galleryButtonWrapper=n.createRef(),this.isGalleryItemInMenuRole=()=>"gridcell"===this.props.role||"menuitem"===this.props.role||"menuitemradio"===this.props.role,this.getID=(e,t)=>t&&(0,c.i2)(this.context,c.PE.appGalleryPreviewButtonIdIsEnabled)?`${e}-PreviewButton`:e,this.keytipExecute=e=>{(0,d.PB)(e,this.executeFromKeytip)},this.onExecute=e=>{!this.props.disabled&&this.props.onExecute&&this.props.onExecute({galleryButton:this.props,location:this.props.location,inputMethod:(0,a.m)(e),shouldTakeFocus:this.props.shouldTakeFocus,triggerTime:e&&e.timeStamp,event:e?.nativeEvent,terminalParentControlId:this.props.terminalParentControlId})},this.executeFromKeytip=()=>{!this.props.disabled&&this.props.onExecute&&this.props.onExecute({galleryButton:this.props,location:this.props.location,inputMethod:a.i.Keyboard,shouldTakeFocus:this.props.shouldTakeFocus,terminalParentControlId:this.props.terminalParentControlId})},this.onFocus=()=>{this.props.onFocus&&!this.props.disabled&&this.props.onFocus(this.props)},this.onBlur=()=>{this.props.onBlur&&!this.props.disabled&&this.props.onBlur(this.props)}}}m.contextType=u.B},8806:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});const n="GalleryButton"},52267:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(10477),o=r(74281),i=r(94406),a=r(14274);const s=n.memo(n.forwardRef(((e,t)=>{const r=(0,o.N)(e,t);return(0,i.n)(r),(0,a.e)(r)})))},74281:(e,t,r)=>{"use strict";r.d(t,{N:()=>h});var n=r(10477),o=r(85963),i=r(57674);const a=(e,t)=>{const r=(0,n.useContext)(i.B);return t&&(0,o.i2)(r,o.PE.appGalleryPreviewButtonIdIsEnabled)?`${e}-PreviewButton`:e};var s=r(42745);const l=e=>(0,n.useCallback)((t=>{!e.disabled&&e.onExecute&&e.onExecute({galleryButton:e,location:e.location,inputMethod:(0,s.m)(t),shouldTakeFocus:e.shouldTakeFocus,triggerTime:t&&t.timeStamp,event:t?.nativeEvent,terminalParentControlId:e.terminalParentControlId})}),[e]);var u,c=r(8806);!function(e){e.GridCell="gridcell",e.Option="option",e.Row="row",e.Tab="tab",e.ColumnHeader="columnheader",e.RowHeader="rowheader",e.TreeItem="treeitem",e.Checkbox="checkbox",e.MenuItemCheckbox="menuitemcheckbox",e.Radio="radio",e.MenuItemRadio="menuitemradio"}(u||(u={}));const d=e=>[u.GridCell,u.Option,u.Row,u.Tab,u.ColumnHeader,u.RowHeader,u.TreeItem].includes(e);var p=r(72272);const h=(e,t)=>{const{onExecute:r,...n}=e,o=(0,p.h)({...n,id:a(e.id,e.isPreviewGalleryButton),onClick:l(e),onFocus:e.disabled?()=>{}:e.onFocus,onBlur:e.disabled?()=>{}:e.onBlur,role:e.role&&e.role,dataAutomationType:(i=e.automationType,i&&`${i}${c.H}`),fullDescriptionLabel:e.ariaLabel&&e.ariaLabel,size:e.size&&"large"===e.size.toLowerCase()?"large":"medium"},t);var i,s;return o.selected=e.selected??!1,o.allowDisabledFocus=e.allowDisabledFocus??!1,o.root["data-unique-id"]=void 0!==e.index?String(e.index):void 0,o.root["aria-selected"]=d(e.role)?e.selected:void 0,o.root["aria-current"]=d(e.role)?e.selected:void 0,o.root["aria-checked"]=(s=e.role,[u.Checkbox,u.MenuItemCheckbox,u.Radio,u.MenuItemRadio].includes(s)?e.selected:void 0),o}},94406:(e,t,r)=>{"use strict";r.d(t,{n:()=>m});var n=r(55056),o=r(26838),i=r(69284),a=r(59761),s=r(63900),l=r(21609),u=r(39398);const c={outline:`1px solid ${l.k.colorNeutralStrokeAccessible}`,outlineOffset:"-1px"},d={...s.Qt,forcedColorAdjust:"none",...s.u4},p={outlineOffset:"0px",forcedColorAdjust:"none",...s.u4},h=(0,n.n)({root:{[`& .${i.zD}`]:{...s.dX},minWidth:"unset",fontSize:l.k.fontSizeBase200,fontWeight:l.k.fontWeightRegular,lineHeight:l.k.lineHeightBase200,"&:focus":{outline:`1px solid ${l.k.colorNeutralStrokeAccessible}`,outlineOffset:"-1px"},[`${s.up}`]:{...(0,u.Qg)(),...s.Yw,...s.dn,outlineStyle:"none",border:`${l.k.strokeWidthThin} solid ButtonText`,"&:active, &:focus, &:hover":{...s.db,forcedColorAdjust:"none",...s.u4,outlineOffset:"0px"}}},selected:{...c,[s.up]:{...d,"&:active, &:focus, &:hover":{...p,...s.db,...s._j}}},disabledAndSelected:{...c,[s.up]:{...d,...s.uM,"&:active, &:focus, &:hover":{...p,...s.Qt,...s.uM}}}}),g=(0,n.n)({medium:{height:"26px",margin:l.k.spacingVerticalXXS,padding:l.k.spacingVerticalXS},large:{height:"52px",margin:l.k.spacingVerticalXS,padding:l.k.spacingVerticalXS},icon:{height:"auto",margin:l.k.spacingVerticalNone,width:"auto"},iconSlr:{margin:l.k.spacingVerticalNone,width:"fit-content",minWidth:"26px"}}),m=e=>{const t=h(),r=g(),n=(0,s.rc)();return e.root.className=(0,o.z)("ms-ButtonNext","ms-Button",t.root,"large"===e.size?r.large:r.medium,e.disabled&&e.selected&&t.disabledAndSelected,(e.disabled||e.disabledFocusable)&&!e.selected&&n.base,e.selected&&!e.disabled&&t.selected,e.root.className),e.icon&&(e.icon.className=(0,o.z)("large"===e.size?r.icon:r.iconSlr)),(0,a.B)(e),e}},71393:(e,t,r)=>{"use strict";r.d(t,{Q:()=>I});var n=r(10477),o=r(1879),i=r(68264),a=r(39398),s=r(91074),l=r(82148),u=r(36141),c=r(67289),d=r(10191),p=r(95583),h=r(9236),g=r(57674),m=r(69868),f=r(31798),v=r(71938),b=r(39482),y=r(66152),S=r(40480),C=r(45263),T=r(70783),k=r(90044),F=r(19094);const E=(0,k.J9)((e=>e?(0,F.ez)(e,29):void 0));var A=r(58051);class I extends n.PureComponent{render(){const{id:e,disabled:t=!1,automationType:r,uniqueId:o,keytipProps:i,controlInMenuRendererFunction:a,location:s,persistMenu:u,deferredMenuDefinition:h,shadowRenderMenu:m,preventMenuExecution:T,stack:k}=this.props,F=this.state.expanded;return this.appFlyoutAnchorId=e+"-previewExpandButton",n.createElement(b.OW.Consumer,null,(({isMeasured:b})=>n.createElement(g.B.Consumer,null,(g=>n.createElement(S.V,null,(S=>{const A=(0,C.cW)(S,this.props.styles,void 0,(0,f.C)(g)),I=(0,C.JB)(S,A.galleryContainer,F,this.state.focused,t,this.state.buttonFocused,!!k);return n.createElement(n.Fragment,null,this.renderHiddenFlyout(S,g),n.createElement("div",{id:e,className:I.galleryContainer,"data-automation-type":r,"data-unique-id":(0,d.lj)({id:o,location:s}),"aria-label":this.props.flyoutAnchorProps&&this.props.flyoutAnchorProps.label},this.renderButtonDisplay(S,A),n.createElement(c.y,{type:"AppFlyoutAnchorProps",id:this.appFlyoutAnchorId,onExecute:this.onPreviewExpandButtonExecute,onAfterMenuDismiss:this.onAfterMenuDismiss,onFocus:this.onFocusDownButton,onBlur:this.onBlurDownButton,location:this.props.location,"aria-haspopup":!0,"aria-expanded":!t&&F,disabled:t,icon:(0,v.r)(this.props),keytipProps:E(i),styles:A.previewExpandButton,menuDefinition:this.getMenuDefinition(u),deferredMenuDefinition:h,directionalHint:l.A.bottomRightEdge,label:this.props.menuLauncherLabel,hideLabel:!0,hideChevron:!0,"data-automation-type":this.props.dataAutomationType||"AppPreviewGalleryMenu","data-unique-id":(0,d.lj)({id:o,location:s},"previewExpandButton"),controlInMenuRendererFunction:a,downChevronIcon:this.props.downChevronIcon,downChevronIconSize:this.props.downChevronIconSize,fancyTooltipTopMargin:3,persistMenu:u,shadowRenderMenu:s===p.IZ.Ribbon&&(0,y.o)(m,b),preventMenuExecution:T,terminalParentControlId:this.props.id})))}))))))}renderButtonDisplay(e,t){const{stack:r,animate:i}=this.props,a=!!r,l=i?n.createElement(o.A,{component:null},this.renderPreview(e)):this.renderPreview(e);return a?n.createElement(s.B,{horizontal:!0,wrap:!0,styles:t.previewStackStyle},l):l}renderPreview(e){const{animate:t,disabled:r,galleryButtons:o,onGalleryButtonExecute:a,selectedId:s,contextMenuMap:l}=this.props;return o.map(((u,c)=>{const d={...u,index:c,id:u.id,disabled:r||u.disabled,onFocus:(0,h.Q)(this.props.onGalleryButtonFocus,this.onFocus),onBlur:this.onBlur,onExecute:a,location:this.props.location,style:(0,C.cW)(e,(0,C.Mg)(this.props.styles,u.style)).galleryButtonInPreview,selected:this.getSelectedIndex(o,s)===c,key:u.id+"-"+c,role:"radio",ariaLabel:u.label,shouldKeepFocus:void 0===u.shouldTakeFocus||u.shouldTakeFocus,contextMenuMap:l,isPreviewGalleryButton:!0},p=this.props.getGalleryButtonComponent||T.A,g=n.createElement(p,{key:d.key,...d})||n.createElement(T.A,{key:d.key,...d});return t?n.createElement(i.A,{key:d.key,timeout:C.lE,classNames:C.MP,enter:t,exit:t},g):g}))}getSelectedIndex(e,t){const r=(0,u.SL)(e,(e=>e.id===t));return r>=0?r:void 0}constructor(e){super(e),this.appFlyoutAnchorId="",this.onPreviewExpandButtonExecute=e=>{this.props.onMenuButtonExecute(e),e.isShadowRendering||this.toggleExpandedState()},this.onFocusDownButton=()=>{this.setState({buttonFocused:!0}),this.onFocus()},this.onBlurDownButton=()=>{this.setState({buttonFocused:!1}),this.onBlur()},this.onFocus=()=>{this.setState({focused:!0})},this.onBlur=()=>{this.setState({focused:!1})},this.onAfterMenuDismiss=()=>{this.toggleExpandedState(),this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss(this.props.id),document.activeElement&&document.activeElement.id!==this.appFlyoutAnchorId&&this.onBlurDownButton()},this.toggleExpandedState=()=>{this.setState({expanded:!this.state.expanded})},this.getMenuDefinition=e=>{const{expandedOptions:t}=this.props,{expanded:r}=this.state;return r||e?t:void 0},this.renderHiddenFlyout=(e,t)=>{const r=(0,m.sB)(t.isExperimentalFeatureEnabled)||(0,m.AO)(t.isExperimentalFeatureEnabled),o={icon:this.props.flyoutAnchorProps?.icon??"",label:this.props.flyoutAnchorProps?.label??this.props.menuLauncherLabel},i=r?{"aria-hidden":!1,dataIsFocusable:!0,deferredMenuDefinition:this.props.deferredMenuDefinition,directionalHint:l.A.bottomRightEdge,keytipProps:E(this.props.keytipProps),menuDefinition:this.getMenuDefinition(this.props.persistMenu),onExecute:this.onPreviewExpandButtonExecute,terminalParentControlId:this.props.id,onAfterMenuDismiss:this.onAfterMenuDismiss,...this.props.flyoutAnchorProps}:{};return n.createElement(c.y,{type:"AppFlyoutAnchorProps",id:`${(0,d.vT)(this.props.id,A.Z)}`,location:this.props.location,controlInMenuRendererFunction:this.props.controlInMenuRendererFunction,downChevronIcon:this.props.downChevronIcon,downChevronIconSize:this.props.downChevronIconSize,"aria-hidden":!0,styles:(0,C.a5)((0,a.l8)(this.getHiddenFlyoutAnchorStyles(e,this.props.hiddenFlyoutAnchorStyles),this.props.flyoutAnchorProps?.styles)),dataIsFocusable:!1,...i,...o})},this.getHiddenFlyoutAnchorStyles=(e,t)=>t&&"function"==typeof t?t(e):t,this.state={selectedIndex:this.getSelectedIndex(e.galleryButtons,e.selectedId),expanded:!1,focused:!1,buttonFocused:!1}}}},58051:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n="ghostFlyout"},75451:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(24223),o=r(29784);const i=e=>((0,o.C)(e),(0,n.FD)(e.root,{children:[(0,n.Y)(e.hiddenFlyoutAnchor,{}),(0,n.FD)(e.container,{children:[(0,n.Y)(e.buttonDisplay,{}),(0,n.Y)("div",{children:(0,n.Y)(e.actionFlyoutAnchor,{})})]})]}))},67547:(e,t,r)=>{"use strict";r.d(t,{r:()=>W});var n=r(10477),o=r(43839),i=r(94190),a=r(10191),s=r(95583),l=r(58051),u=r(22243),c=r(18642),d=r(5506),p=r(24473),h=r(29968),g=r(21609),m=r(55056),f=r(84105),v=r(26838),b=r(98581),y=r(63900),S=r(74445),C=r(57674),T=r(31798);const k=(0,m.n)({base:{width:"100%",minWidth:"16px",padding:"0px",fill:g.k.colorNeutralForeground1,backgroundColor:g.k.colorNeutralBackground1,borderRadius:g.k.borderRadiusMedium,borderTopLeftRadius:g.k.borderRadiusNone,borderBottomLeftRadius:g.k.borderRadiusNone,borderTop:"none",borderBottom:"none",borderRight:"none",[`${y.up}`]:{...f.Pt.border(g.k.strokeWidthThin,"solid",g.k.colorNeutralForeground1Hover)}},baseWithMinTargetSize:{minWidth:`${S.Z.minTargetSize}px`},medium:{height:"30px"},large:{height:"60px"}}),F=(0,m.n)({base:{margin:"0px"},medium:{width:g.k.spacingHorizontalM,height:g.k.spacingVerticalM},large:{width:g.k.spacingHorizontalS,height:g.k.spacingVerticalS}}),E=n.memo(n.forwardRef(((e,t)=>{const r=(0,p._)(e,t);return(e=>{const t=k(),r=F(),o=(0,y.rc)(),i=n.useContext(C.B),a=(0,T.C)(i);e.root.className=(0,v.z)(t.base,"large"===e.size?.toLowerCase()?t.large:t.medium,a&&t.baseWithMinTargetSize,"ms-ButtonNext","ms-Button",e.root.className),e.menuIcon&&(e.menuIcon.className=(0,v.z)("ms-Button-icon",r.base,"large"===e.size?.toLowerCase()?r.large:r.medium,(e?.disabled||e?.disabledFocusable)&&o.base,e.menuIcon.className)),(0,b.U)(e)})(r),(0,h.d)(r)})));E.displayName="next/useAppPreviewGalleryMenuButton";const A=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=(0,d.z)(e,t);return r.components&&(r.components.menuButton=E,r.menuButton[c.on]=E),r.menuButton.icon=void 0,r})(e,t);return(0,u.y)(r,e)})));A.displayName="next/AppPreviewGalleryFlyoutAnchor";var I=r(69868);const x=(0,m.n)({base:{overflow:"hidden",display:"flex",...f.Pt.border(g.k.strokeWidthThin,"solid",g.k.colorNeutralStroke1),borderRadius:g.k.borderRadiusMedium,borderRightColor:g.k.colorTransparentBackground,borderRightWidth:g.k.spacingVerticalNone,borderTopRightRadius:"0px",borderBottomRightRadius:"0px",[`${y.up}`]:{...f.Pt.border(g.k.strokeWidthThin,"solid",g.k.colorNeutralForeground1),borderRightColor:"transparent",borderRightWidth:g.k.spacingVerticalNone}}}),w=(0,m.n)({root:{display:"flex",flexWrap:"wrap",flexDirection:"row",width:"444px"}});var P=r(24223),R=r(68264),D=r(45263),_=r(52267),N=r(29784),O=r(1879);const M=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=o.Gk((0,i.g)("div",{ref:t,...e}),{elementType:"div"}),n=o.Gk(e.stackWrapper,{elementType:"div"}),a={...e,components:{root:"div",stackWrapper:"div"},root:r,stackWrapper:n};return a.onGalleryButtonExecute=e.onGalleryButtonExecute,a})(e,t);return(e=>{const t=x(),r=w();e.root.className=(0,v.z)(t.base,e.root.className),e.stackWrapper&&(e.stackWrapper.className=(0,v.z)(r.root,e.stackWrapper.className))})(r),(e=>{const{stack:t,animate:r}=e,o=!!t;(0,N.C)(e);const i=(e=>{const{animate:t,disabled:r,galleryButtons:o,onGalleryButtonExecute:i,contextMenuMap:a,onFocus:s,onBlur:l,location:u,selectedId:c}=e;return o.map(((o,d)=>{const p={...o,index:d,id:o.id,disabled:r||o.disabled,onFocus:s,onBlur:l,onExecute:i,location:u,selected:c===o.id,key:o.id+"-"+d,role:"radio",ariaLabel:o.label,shouldTakeFocus:void 0===o.shouldTakeFocus||o.shouldTakeFocus,contextMenuMap:a,isPreviewGalleryButton:!0,size:e.size},h=e.getGalleryButtonComponent||_.A,g=n.createElement(h,{key:p.key,...p});return t?n.createElement(R.A,{key:p.key,timeout:D.lE,classNames:D.MP,enter:t,exit:t},g):g}))})(e),a=r?(0,P.Y)(O.A,{component:null,children:i}):i;return o?(0,P.Y)(e.root,{children:(0,P.Y)(e.stackWrapper,{children:a})}):a})(r)})));M.displayName="next/AppPreviewGalleryButtonDisplay";var B=r(66152),L=r(39482);const K=(e,t)=>n.useMemo((()=>e.findIndex((e=>e.id===t))),[e,t]),W=(e,t)=>{const{id:r,automationType:u,uniqueId:c,location:d,controlInMenuRendererFunction:p,deferredMenuDefinition:h,downChevronIcon:g,downChevronIconSize:m,disabled:f,shadowRenderMenu:v,preventMenuExecution:b,persistMenu:y,expandedOptions:S,galleryButtons:T,selectedId:k,onMenuButtonExecute:F,onAfterMenuDismiss:E,keytipProps:x}=e,w=r+"-previewExpandButton",[P,R]=n.useState({selectedIndex:K(T,k),expanded:!1,focused:!1,buttonFocused:!1}),D={...e,id:`${r}-Wrapper`},_={id:r,"data-automation-type":u,"data-automation-id":(0,a.lj)({id:c,location:d}),"aria-label":e.flyoutAnchorProps&&e.flyoutAnchorProps.label},N=n.useContext(L.OW),O=(W=P,H=R,n.useCallback((()=>{H({...W,buttonFocused:!0,focused:!0})}),[H,W]));var W,H;const G=((e,t)=>n.useCallback((()=>{t({...e,buttonFocused:!1,focused:!1})}),[t,e]))(P,R),z=((e,t,r)=>{const o=((e,t)=>()=>{t({...e,expanded:!e.expanded})})(t,r);return n.useCallback((t=>{e(t),t.isShadowRendering||o()}),[e,o])})(F,P,R),U=(()=>{const e=n.useContext(C.B);return!(!e||!e.isExperimentalFeatureEnabled)&&((0,I.sB)(e.isExperimentalFeatureEnabled)||(0,I.AO)(e.isExperimentalFeatureEnabled))})()?{"aria-hidden":!1,"data-focusable":!0,deferredMenuDefinition:h,directionalHint:6,menuDefinition:S,terminalParentControlId:r,onExecute:z,onAfterMenuDismiss:E,...e.flyoutAnchorProps}:{},V={icon:e.flyoutAnchorProps?.icon??void 0,label:e.flyoutAnchorProps?.label??e.menuLauncherLabel},j={id:`${(0,a.vT)(r,l.Z)}`,location:d,controlInMenuRendererFunction:p,downChevronIcon:g,downChevronIconSize:m,"aria-hidden":!0,"data-focusable":!1,...U,...V,keytipProps:x},q={...e,onFocus:O,onBlur:G,location:d,selectedId:k,id:`${r}-ButtonDisplay`},$=o.Gk((0,i.g)("div",{ref:t,...D}),{elementType:"div"}),Q=o.Gk(e.container,{defaultProps:_,elementType:"div"}),X=o.Gk(e.hiddenFlyoutAnchor,{defaultProps:j,elementType:A}),Y=o.Gk(e.actionFlyoutAnchor,{defaultProps:{id:w,onExecute:z,onAfterMenuDismiss:E,menuDefinition:S,onFocus:O,onBlur:G,location:d,"aria-haspopup":!0,"aria-expanded":!f&&P.expanded,disabled:f,deferredMenuDefinition:h,directionalHint:6,label:e.menuLauncherLabel,hideLabel:!0,dataAutomationType:e.dataAutomationType||"AppPreviewGalleryMenu",dataUniqueId:(0,a.lj)({id:c,location:d},"previewExpandButton"),controlInMenuRendererFunction:p,downChevronIcon:g,downChevronIconSize:m,fancyTootipTopMargin:3,persistMenu:y,shadowRenderMenu:d===s.IZ.Ribbon&&(0,B.o)(v,N.isMeasured),preventMenuExecution:b,terminalParentControlId:r,showTooltip:!0,keytipProps:x,size:e.size},elementType:A}),J=o.Gk(e.buttonDisplay,{defaultProps:q,elementType:M});return{...e,size:e.size&&"large"===e.size.toLowerCase()?"large":"medium",components:{root:"div",container:"div",hiddenFlyoutAnchor:A,actionFlyoutAnchor:A,buttonDisplay:M},root:$,container:Q,hiddenFlyoutAnchor:X,actionFlyoutAnchor:Y,buttonDisplay:J}}},64464:(e,t,r)=>{"use strict";r.d(t,{v:()=>h});var n=r(55056),o=r(84105),i=r(26838),a=r(21609),s=r(63900);const l=(0,n.n)({base:{backgroundColor:a.k.colorNeutralBackground1}}),u=(0,n.n)({medium:{height:"30px"},large:{height:"60px"}}),c=(0,n.n)({base:{visibility:"hidden",position:"absolute"}}),d=(0,n.n)({base:{position:"relative",display:"flex !important",opacity:"0px",gap:a.k.spacingVerticalNone},large:{width:a.k.spacingHorizontalL,height:"60px",padding:`${a.k.spacingVerticalM} ${a.k.spacingHorizontalXS}`}}),p=(0,n.n)({base:{display:"flex",...o.Pt.border(a.k.strokeWidthThin,"solid",a.k.colorNeutralStroke1),borderRadius:a.k.borderRadiusMedium,[`${s.up}`]:{...o.Pt.outline(a.k.strokeWidthThin,"solid","ButtonText"),outlineOffset:`calc(0px - ${a.k.strokeWidthThin})`,borderBottom:"none",borderTop:"none",borderRight:"none",borderRightTopRadius:a.k.borderRadiusNone,borderRightBottomRadius:a.k.borderRadiusNone}}}),h=e=>{const t=l(),r=u(),n=c(),o=d(),a=p();return e.root.className=(0,i.z)(t.base,"large"===e.size?r.large:r.medium,e.root.className),e.hiddenFlyoutAnchor.className=(0,i.z)(n.base,e.hiddenFlyoutAnchor.className),e.actionFlyoutAnchor.className=(0,i.z)(o.base,"large"===e.size&&o.large,e.actionFlyoutAnchor.className),e.container.className=(0,i.z)(a.base,e.container.className),e}},71489:(e,t,r)=>{"use strict";r.d(t,{z:()=>o});var n=r(8806);const o=e=>e&&`${e}${n.H}`},51641:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(15111),o=r(26423),i=r(58168);const a=(e,t,r)=>{const{customTooltip:a,deriveKeytip:s,directClickRef:l,hideLabel:u,keytipProps:c,label:d,location:p,tooltipDirection:h,useDirectClick:g=!1,neverShowTooltip:m}=e;let f=t;return(0,o.l)()||(f=(0,i._)(t,{customTooltip:a,direction:h,hideLabel:u,label:d,location:p,neverShowTooltip:m}).mergedRef),(0,n.k)(e,f,r,s,{directClickRef:l,keytipProps:c,useDirectClick:g})}},71938:(e,t,r)=>{"use strict";function n(e){return void 0!==(t=e.downChevronIcon)&&"string"!=typeof t?e.downChevronIcon[e.downChevronIconSize||"icon12"]:e.downChevronIcon;var t}r.d(t,{r:()=>n})},1290:(e,t,r)=>{"use strict";r.d(t,{z:()=>k,T:()=>F});var n=r(10477),o=r(20332);let i;try{i=window}catch(e){}const a="__globalSettings__",s="__callbacks__";let l=0;function u(){const e=function(e){if((0,o.S)()&&void 0!==i){const e=void 0;return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:i}}()||{};return e[a]||(e[a]={[s]:{}}),e[a]}function c(){return u()[s]}const d=class{static getValue(e,t){const r=u();return void 0===r[e]&&(r[e]="function"==typeof t?t():t),r[e]}static setValue(e,t){const r=u(),n=r[s],o=r[e];if(t!==o){r[e]=t;const i={oldValue:o,value:t,key:e};for(const e in n)n.hasOwnProperty(e)&&n[e](i)}return t}static addChangeListener(e){let t=e.__id__;const r=c();t||(t=e.__id__=String(l++)),r[t]=e}static removeChangeListener(e){delete c()[e.__id__]}}.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}});var p=r(43839),h=r(55056),g=r(30834),m=r(26838),f=r(63900);const v=(0,h.n)({root:{display:"inline-block",textDecoration:"inherit"},image:{overflow:"hidden"},defaultIcon:{WebkitFontSmoothing:"antialiased",display:"inline-block",fontStyle:"normal",fontWeight:"400",speak:"none"}}),b=(0,h.n)({hideIcon:{visibility:"hidden"},flip:{"-webkit-transform":"scaleX(-1)",transform:"scaleX(-1)"},disabled:{opacity:.4,selectors:{[f.up]:{opacity:1}}}});var y=r(24223),S=r(29784),C=r(27917),T=r(37241);const k=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=e.iconName,{iconCode:o,mergeImageProps:i,iconClassName:a}=(e=>{const{code:t,subset:r}=function(e){let t;const r=d.__options;if(e=e?(e=>e.toLowerCase())(e):"",e=d.__remapped[e]||e)if(t=d[e],t){const{subset:e}=t;e&&(e.isRegistered||(e.isRegistered=!0))}else!r.disableWarnings&&r.warnOnMissingIcons&&console.warn(`The icon "${e}" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.`);return t}(e)||{subset:{},code:void 0};return t?{iconCode:t,iconClassName:r.className,mergeImageProps:r.mergeImageProps}:{}})(r),s=e["aria-label"]||e["aria-labelledby"]||e.title?{}:{"aria-hidden":!0},l=e["aria-label"]||e.title||"",u=i&&"object"==typeof o&&"object"==typeof o.props?n.cloneElement(o,{alt:l}):o,c=p.Gk({...e,ref:t},{defaultProps:{ref:t,...s},elementType:"i"});return{iconName:r,iconColor:e.iconColor,hideIcon:e.hideIcon,flipInRtl:e.flipInRtl,disabled:e.disabled,shouldFlipIcon:e.shouldFlipIcon,components:{root:"i"},root:c,iconClassName:a,children:u}})(e,t);return(e=>{const t=b(),r=v(),{dir:n}=(0,g.Y)(),o="rtl"===n,{iconColor:i,hideIcon:a,flipInRtl:s,disabled:l,shouldFlipIcon:u}=e,c=s&&o||u;i&&(e.root.style={...e.root.style,color:i,fill:i}),e.root.className=(0,m.z)(r.defaultIcon,r.root,e.iconClassName,a&&t.hideIcon,c&&t.flip,l&&t.disabled,e.root.className)})(r),(e=>((0,S.C)(e),(0,y.Y)(e.root,{"data-icon-name":e.iconName,children:e.children})))(r)})));k.displayName="AppIcon";const F=n.memo(n.forwardRef(((e,t)=>(0,C.e)()?n.createElement(k,{...e,ref:t}):n.createElement(T.I,{...e}))))},86621:(e,t,r)=>{"use strict";r.d(t,{d:()=>i});var n=r(83082),o=r(20203);const i=e=>{const t=(0,n.jI)()?e.submenuLauncherRtl:e.submenuLauncher;return(0,o.J)(t)}},27917:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(10477),o=r(57674),i=r(85963);const a=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.fluentV9IconIsEnabled)}},20203:(e,t,r)=>{"use strict";r.d(t,{J:()=>s});var n=r(90044),o=r(83082),i=r(39398);const a=(0,n.J9)(((e,t,r,n,o)=>({iconName:e,...(t||r||n||o)&&{styles:{root:{...t&&{color:t,fill:t},...r&&{visibility:"hidden"},...n&&{"-webkit-transform":"scaleX(-1)",transform:"scaleX(-1)"},...o&&{opacity:.4,selectors:{[i.up]:{opacity:1}}}}}}}))),s=(e,t,r,n,i,s)=>{const l=(0,o.jI)();return e?a(e,t,r,n&&l||s,i):void 0}},93602:(e,t,r)=>{"use strict";r.d(t,{g:()=>K});var n,o=r(10477),i=r(26277),a=r(54029),s=r(61894),l=r(37241),u=r(50550),c=r(69250),d=r(31976),p=r(40409),h=r(37526),g=r(70105),m=r(82015),f=r(12215),v=r(2904),b=(0,u.Z)(),y="TextField",S=function(e){function t(t){var r=e.call(this,t)||this;r._textElement=o.createRef(),r._onFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({isFocused:!0},(function(){r.props.validateOnFocusIn&&r._validate(r.value)}))},r._onBlur=function(e){r.props.onBlur&&r.props.onBlur(e),r.setState({isFocused:!1},(function(){r.props.validateOnFocusOut&&r._validate(r.value)}))},r._onRenderLabel=function(e){var t=e.label,n=e.required,i=r._classNames.subComponentStyles?r._classNames.subComponentStyles.label:void 0;return t?o.createElement(s.J,{required:n,htmlFor:r._id,styles:i,disabled:e.disabled,id:r._labelId},e.label):null},r._onRenderDescription=function(e){return e.description?o.createElement("span",{className:r._classNames.description},e.description):null},r._onRevealButtonClick=function(e){r.setState((function(e){return{isRevealingPassword:!e.isRevealingPassword}}))},r._onInputChange=function(e){var t,n,o=e.target.value,i=C(r.props,r.state)||"";void 0!==o&&o!==r._lastChangeValue&&o!==i?(r._lastChangeValue=o,null===(n=(t=r.props).onChange)||void 0===n||n.call(t,e,o),r._isControlled||r.setState({uncontrolledValue:o})):r._lastChangeValue=void 0},(0,c.f)(r),r._async=new d.j(r),r._fallbackId=(0,p.O)(y),r._descriptionId=(0,p.O)(y+"Description"),r._labelId=(0,p.O)(y+"Label"),r._prefixId=(0,p.O)(y+"Prefix"),r._suffixId=(0,p.O)(y+"Suffix"),r._warnControlledUsage();var n=t.defaultValue,i=void 0===n?"":n;return"number"==typeof i&&(i=String(i)),r.state={uncontrolledValue:r._isControlled?void 0:i,isFocused:!1,errorMessage:""},r._delayedValidate=r._async.debounce(r._validate,r.props.deferredValidationTime),r._lastValidation=0,r}return(0,a.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return C(this.props,this.state)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,r){var n=this.props,o=(r||{}).selection,i=void 0===o?[null,null]:o,a=i[0],s=i[1];!!e.multiline!=!!n.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s)),e.value!==n.value&&(this._lastChangeValue=void 0);var l=C(e,t),u=this.value;l!==u&&(this._warnControlledUsage(e),this.state.errorMessage&&!n.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),T(n)&&this._delayedValidate(u))},t.prototype.render=function(){var e=this.props,t=e.borderless,r=e.className,i=e.disabled,s=e.invalid,u=e.iconProps,c=e.inputClassName,d=e.label,p=e.multiline,g=e.required,m=e.underlined,y=e.prefix,S=e.resizable,C=e.suffix,T=e.theme,k=e.styles,F=e.autoAdjustHeight,E=e.canRevealPassword,A=e.revealPasswordAriaLabel,I=e.type,x=e.onRenderPrefix,w=void 0===x?this._onRenderPrefix:x,P=e.onRenderSuffix,R=void 0===P?this._onRenderSuffix:P,D=e.onRenderLabel,_=void 0===D?this._onRenderLabel:D,N=e.onRenderDescription,O=void 0===N?this._onRenderDescription:N,M=this.state,B=M.isFocused,L=M.isRevealingPassword,K=this._errorMessage,W="boolean"==typeof s?s:!!K,H=!!E&&"password"===I&&function(){if("boolean"!=typeof n){var e=(0,f.z)();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");n=!((0,v.l)()||t)}else n=!0}return n}(),G=this._classNames=b(k,{theme:T,className:r,disabled:i,focused:B,required:g,multiline:p,hasLabel:!!d,hasErrorMessage:W,borderless:t,resizable:S,hasIcon:!!u,underlined:m,inputClassName:c,autoAdjustHeight:F,hasRevealButton:H});return o.createElement("div",{ref:this.props.elementRef,className:G.root},o.createElement("div",{className:G.wrapper},_(this.props,this._onRenderLabel),o.createElement("div",{className:G.fieldGroup},(void 0!==y||this.props.onRenderPrefix)&&o.createElement("div",{className:G.prefix,id:this._prefixId},w(this.props,this._onRenderPrefix)),p?this._renderTextArea():this._renderInput(),u&&o.createElement(l.I,(0,a.Cl)({className:G.icon},u)),H&&o.createElement("button",{"aria-label":A,className:G.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!L,type:"button"},o.createElement("span",{className:G.revealSpan},o.createElement(l.I,{className:G.revealIcon,iconName:L?"Hide":"RedEye"}))),(void 0!==C||this.props.onRenderSuffix)&&o.createElement("div",{className:G.suffix,id:this._suffixId},R(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&o.createElement("span",{id:this._descriptionId},O(this.props,this._onRenderDescription),K&&o.createElement("div",{role:"alert"},o.createElement(h.P,null,this._renderErrorMessage()))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,(0,g.R)("Warning: 'value' prop on '".concat(y,"' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return void 0!==(e=this.props)["value"]&&null!==e.value;var e},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return o.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return o.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),t.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?o.createElement("p",{className:this._classNames.errorMessage},o.createElement("span",{"data-automation-id":"error-message"},e)):o.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),t.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,r=(0,m.G1)(this.props,m.Sh,["defaultValue"]),n=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return o.createElement("textarea",(0,a.Cl)({id:this._id},r,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":n,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,r=e.invalid,n=void 0===r?!!this._errorMessage:r,i=e.onRenderPrefix,s=e.onRenderSuffix,l=e.prefix,u=e.suffix,c=e.type,d=void 0===c?"text":c,p=[];e.label&&p.push(this._labelId),(void 0!==l||i)&&p.push(this._prefixId),(void 0!==u||s)&&p.push(this._suffixId);var h=(0,a.Cl)((0,a.Cl)({type:this.state.isRevealingPassword?"text":d,id:this._id},(0,m.G1)(this.props,m.QQ,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(p.length>0?p.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":n,onFocus:this._onFocus,onBlur:this._onBlur}),g=function(e){return o.createElement("input",(0,a.Cl)({},e))};return(this.props.onRenderInput||g)(h,g)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!T(this.props)){this._latestValidateValue=e;var r=this.props.onGetErrorMessage,n=r&&r(e||"");if(void 0!==n)if("string"!=typeof n&&"then"in n){var o=++this._lastValidation;n.then((function(r){o===t._lastValidation&&t.setState({errorMessage:r}),t._notifyAfterValidate(e,r)}))}else this.setState({errorMessage:n}),this._notifyAfterValidate(e,n);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){var e,t;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var r=null===(t=null===(e=this.props.scrollContainerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.scrollTop,n=this._textElement.current;n.style.height="",n.style.height=n.scrollHeight+"px",r&&(this.props.scrollContainerRef.current.scrollTop=r)}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(o.Component);function C(e,t){var r=e.value,n=void 0===r?t.uncontrolledValue:r;return"number"==typeof n?String(n):n}function T(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var k=r(73725),F=r(72341),E=r(10191),A=r(21406),I=r(57674),x=r(40353),w=r(19094),P=r(23162),R=r(39398),D=r(85631),_=r(7971),N=r(31781),O=r(69284),M=r(16594);function B(e,t,r){return()=>({root:[D.Mb,e&&t&&{color:_.Z.textDisabledColor},e&&{fontSize:R.s.medium,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},e&&r&&{selectors:{[R.up]:{height:31}}},{fontWeight:400}]})}const L=(0,k.I)(S,(function(e){const{theme:t,className:r,disabled:n,focused:o,required:i,multiline:a,hasLabel:s,borderless:l,underlined:u,hasIcon:c,resizable:d,hasErrorMessage:p,inputClassName:h,autoAdjustHeight:g}=e,m=(0,N.C)(t),f={disabledBackground:(0,M.Q)()?m.disabledBackgroundColor:_.Z.defaultBackgroundColor,inputPlaceholderText:(0,M.Q)()?m.textColor:_.Z.textColor,disabledText:(0,M.Q)()?m.textDisabledColor:"#a6a6a6",errorText:"#a80000",inputBorderHovered:(0,M.Q)()?m.inputHoverBorderColor:"#797775",inputFocusBorderAlt:(0,M.Q)()?m.inputFocusBorderColor:"#605E5C",inputBorder:m.inputBorderColor,inputBackground:"transparent",inputText:(0,M.Q)()?m.textColor:_.Z.textColor,bodySubtext:(0,M.Q)()?m.textColor:_.Z.textColor},v={background:f.disabledBackground,color:n?f.disabledText:f.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap"};return{root:[R.S8,{position:"relative"},r],wrapper:[u&&{display:"flex",borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:f.inputBorder,width:"100%"},p&&u&&!n&&{borderBottomColor:f.errorText,selectors:{":hover":{borderBottomColor:f.errorText,selectors:{[R.up]:{borderBottomColor:"Highlight"}}}}},u&&n&&{borderBottomColor:f.disabledBackground},u&&!n&&!o&&!p&&{selectors:{":hover":{borderBottomColor:f.inputBorderHovered,selectors:{[R.up]:{borderBottomColor:"Highlight"}}}}},u&&o&&{borderBottomColor:p?f.errorText:f.inputFocusBorderAlt,selectors:{[R.up]:{borderBottomWidth:2,borderBottomColor:"Highlight"}}}],fieldGroup:[R.S8,{border:`1px solid ${f.inputBorder}`,background:f.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative",selectors:{":hover":!n&&O.KN}},a&&{minHeight:"60px",height:"auto",display:"flex"},l&&{border:"none"},!o&&!n&&{selectors:{":hover":{borderColor:f.inputBorderHovered}}},o&&[{borderColor:f.inputFocusBorderAlt},O.KN],n&&[{backgroundColor:f.disabledBackground,borderColor:f.disabledBackground,cursor:"default",selectors:{[R.up]:{backgroundColor:"transparent"}}},O.G_],u&&{flex:"1 1 0px",border:"none",textAlign:"left"},u&&o&&{selectors:{[R.up]:{height:31}}},u&&n&&{backgroundColor:"transparent"},p&&{borderColor:f.errorText,selectors:{"&:focus, &:hover":{borderColor:f.errorText}}},p&&o&&{borderColor:f.errorText},!s&&i&&{selectors:{":after":{content:"'*'",color:f.errorText,position:"absolute",top:-5,right:-10},[R.up]:{selectors:{":after":{right:-14}}}}}],field:[R.S8,{fontSize:R.s.medium,borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:f.inputText,padding:"0 12px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:{"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"},"::placeholder":{color:f.inputPlaceholderText,opacity:1},":-ms-input-placeholder":{color:f.inputPlaceholderText,opacity:1}}},a&&!d&&[{resize:"none"}],a&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,overflow:"auto",width:"100%"},a&&g&&{overflow:"hidden"},c&&{paddingRight:24},a&&c&&{paddingRight:40},n&&{backgroundColor:"transparent",borderColor:"transparent",color:f.disabledText,selectors:{"::placeholder":{color:f.disabledText},":-ms-input-placeholder":{color:f.disabledText},[R.up]:{"::placeholder":{color:"GrayText"},":-ms-input-placeholder":{color:"GrayText"}}}},u&&{textAlign:"left"},o&&!l&&{selectors:{[R.up]:{paddingLeft:11,paddingRight:11}}},o&&a&&!l&&{selectors:{[R.up]:{paddingTop:4}}},h],icon:[a&&{paddingRight:24,paddingBottom:8,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:5,right:8,top:"auto",fontSize:16,lineHeight:18},n&&{color:f.disabledText}],description:[{color:f.bodySubtext,fontSize:R.s.xSmall}],errorMessage:[R.lw.slideDownIn20,R.dK.small,{color:f.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center",userSelect:"none"}],prefix:[v],suffix:[v],subComponentStyles:{label:B(u,n,o)},revealButton:{},revealSpan:{},revealIcon:{}}}));class K extends o.PureComponent{render(){const{placeholder:e,value:t,onRenderPrefix:r,onRenderSuffix:n,onRenderLabel:a,styles:s,spellCheck:l,autoComplete:u,disabled:c,role:d,title:p,label:h,defaultValue:g,multiline:m,resizable:f,maxLength:v,keytipProps:b,readOnly:y,autoFocus:S,required:C,ariaDescribedBy:T,tabIndex:k}=this.props;let F="";F=void 0!==g||void 0===t?void 0:this.state.text||""===this.state.text?this.state.text:t;const I=this.props.inputType||"text",x=(0,E.lj)(this.props);return o.createElement(i.x,{keytipProps:(0,w.U_)(b,this.keytipExecute)},(t=>o.createElement("div",{className:(0,A.Ou)(),"data-unique-id":x},o.createElement(L,{...t,componentRef:this.textField,elementRef:this.elementRef,placeholder:e,value:F,defaultValue:g,onRenderSuffix:n,onRenderPrefix:r,onRenderLabel:a,styles:s,spellCheck:l??!1,autoComplete:u,onChange:this.onChange,onKeyDown:this.onKeyDown,onKeyPress:this.props.onKeyPress,role:d,"aria-setsize":this.props.setSize,"aria-posinset":this.props.positionInSet,"aria-describedby":T,title:p,disabled:c,"data-unique-id":`${x}-input`,onFocus:this.focus,label:this.props.hideLabel?void 0:h,multiline:m,resizable:f,onBlur:this.blur,maxLength:v,id:this.props.id,type:I,ariaLabel:this.props.label||this.props.customTooltip,readOnly:y||!1,errorMessage:this.props.errorMessage,onKeyUp:this.props.onKeyUp,autoFocus:S,required:C,tabIndex:k}))))}componentDidMount(){const e=this.props.customTooltip||this.props.hideLabel&&this.props.label;this.context.setTooltipElement&&this.context.updateTooltipsHidden&&e&&(this.tooltipHost=new P.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.elementRef.current,controlId:this.props.id,controlLabel:e,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions())}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){const t=this.props.customTooltip||this.props.label;this.tooltipHost&&e.customTooltip!==this.props.customTooltip&&t&&this.tooltipHost.updateTooltip(t)}get value(){return this.textField&&this.textField.current?this.textField.current.value:void 0}static getDerivedStateFromProps(e,t){return void 0===e.defaultValue&&t.previousValue!==e.value?{previousValue:e.value,text:void 0}:null}constructor(e){super(e),this.textField=o.createRef(),this.elementRef=o.createRef(),this.keytipExecute=e=>{(0,x.PB)(e)},this.resetState=()=>{this.setState({text:this.initialText}),this.props.onChange&&this.props.onChange(this.initialText)},this.focus=()=>{this.textField&&this.textField.current&&(this.props.onFocus?.(),this.props.selectTextOnFocus?this.textField.current.select():this.textField.current.focus(),this.initialText=this.value)},this.select=()=>{this.textField.current?.select()},this.blur=()=>{this.props.onBlur&&this.props.onBlur(),this.props.executeOnBlur&&this.validateAndExecute(),this.initialText=void 0},this.onChange=(e,t)=>{this.props.readOnly||(this.setState({text:t}),this.props.onChange&&this.props.onChange(t))},this.onKeyDown=e=>{this.props.onKeyDown&&this.props.onKeyDown(e),e.keyCode===F.c.enter&&this.props.executeOnEnter&&(e.stopPropagation(),e.preventDefault(),this.validateAndExecute())},this.validateAndExecute=()=>{this.props.onExecute&&void 0!==this.value&&null!==this.value&&this.props.value!==this.value&&this.props.onExecute(this.value)},this.state={previousValue:e.value}}}K.contextType=I.B},19094:(e,t,r)=>{"use strict";r.d(t,{F4:()=>s,U_:()=>l,ez:()=>a});var n=r(82148),o=r(90044),i=r(4749);const a=(e,t,r,o=n.A.topCenter)=>({onReturn:s,...e,onExecute:r,calloutProps:{coverTarget:!0,directionalHint:o,gapSpace:t,...e.calloutProps,bounds:i.HN}}),s=e=>e&&e.focus(),l=((0,o.J9)(((e,t)=>e?a(e,24,t):void 0)),(0,o.J9)(((e,t)=>e?a(e,26,t):void 0)),(0,o.J9)(((e,t)=>e?a(e,26,t):void 0)))},40353:(e,t,r)=>{"use strict";function n(e,t){e&&e.focus(),t&&t(e)}function o(e,t){e.focus(),t.current?t.current.openSubMenu():e.click()}function i(e,t,r,n){e.focus(),t.current&&!1!==n?(t.current.dismissMenu(!0),r()):e.click()}r.d(t,{PB:()=>n,cs:()=>i,hz:()=>o})},15111:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var n=r(10477),o=r(25109),i=r(39773),a=r(40353),s=r(42745);const l=(e,t,r,l,u)=>{const{keytipProps:c}=u||{},d=((e,t,r,o)=>{const{checked:i=!1,id:a,location:l,onExecute:u,shouldTakeFocus:c,toggled:d=!1}=e,{useDirectClick:p,directClickRef:h}=o||{};return n.useCallback((()=>{if(p)h?h.current?.click():t?.current?.click();else if(u)switch(r){case"AppButton":u({id:a,location:l,toggled:d,inputMethod:s.i.Keyboard,shouldTakeFocus:c});break;case"AppCheckbox":u({checked:!i,id:a,location:l})}}),[i,h,a,l,u,t,c,d,r,p])})(e,t,r,u),p=n.useCallback((e=>{(0,a.PB)(e,d)}),[d]),h=n.useMemo((()=>({keytipProps:l(c,p)})),[l,c,p]),g=(0,o.Z)(h);return(0,i.a)(t,g)}},20880:(e,t,r)=>{"use strict";r.d(t,{w:()=>g});var n=r(10477),o=r(61894),i=r(37241),a=r(57674),s=r(40480),l=r(23162),u=r(39398),c=r(90044);const d=(0,c.J9)((e=>(0,u.l8)({root:{display:"flex",flexWrap:"nowrap",alignItems:"center",userSelect:"none",padding:"0px 10px"},label:{fontWeight:400,cursor:"default !important"}},e))),p=(0,c.J9)((e=>(0,u.l8)({root:{width:20,height:20,alignItems:"center",paddingRight:10}},e.styles))),h=(0,c.J9)(((e,t)=>(0,u.l8)({container:{height:130,margin:16,padding:0,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",backgroundColor:e.palette.themePrimary,borderRadius:4,flexGrow:1},label:{width:160,marginLeft:22,padding:0,fontWeight:700,fontSize:20,lineHeight:24,color:"white",whiteSpace:"normal",wordBreak:"normal"},icon:{marginRight:12},customStyles:t})));class g extends n.PureComponent{componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&this.props.customTooltip&&(this.tooltipHost=new l.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.labelRef.current,controlId:this.props.id,controlLabel:this.props.customTooltip,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions())}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}renderBanner(){const{label:e,iconProps:t,forId:r,id:a,required:l}=this.props;return n.createElement(s.V,null,(s=>{const u=h(s,this.props.styles);return n.createElement("div",{className:u.container,ref:this.labelRef},n.createElement(o.J,{htmlFor:r,id:a,className:u.label,required:l},e),t&&n.createElement(n.Fragment,null,n.createElement("div",{style:{flexGrow:1}}),n.createElement(i.I,{...t,className:u.icon})))}))}render(){const{label:e,iconProps:t,forId:r,id:a,required:s,isBanner:l}=this.props;if(l)return this.renderBanner();const u=d(this.props.styles);return n.createElement("div",{className:u.root,ref:this.labelRef},t&&n.createElement(i.I,{...t,styles:p(t)}),n.createElement(o.J,{htmlFor:r,id:a,className:u.label,required:s},e))}constructor(){super(...arguments),this.labelRef=n.createRef()}}g.contextType=a.B},17353:(e,t,r)=>{"use strict";function n(e,t,r){return t?r?`${e}-${t.toString()}-${r}`:`${e}-${t.toString()}`:e}r.d(t,{b:()=>n})},82462:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n=(e,t)=>{if("componentRef"!==e)return t}},27931:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var n=r(16684),o=r.n(n);const i=()=>false;function a(e,t){const r={};return function(n,...a){const s=e(n,...a);if(i())return s;const l=JSON.stringify(s,t),u=o()(l).toString(36);return r[n]&&r[n].resultHash===u?r[n].prevResult:(r[n]={prevResult:s,resultHash:u},s)}}},12007:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppContextualMenu:()=>y,AppContextualMenuBase:()=>f,AppContextualMenuCurrent:()=>v});var n=r(10477),o=r(57674),i=r(72341),a=r(83082),s=r(28894),l=r(61303),u=r(95583),c=r(85963),d=r(39482),p=r(40271),h=r(701),g=r(69284),m=r(11202);class f extends n.PureComponent{render(){const{isMeasured:e,focusZoneProps:t,calloutProps:r,items:o,id:i}=this.props;if(e)return null;const a=this.supportsRightClickMenu();let l=a?!this.state.focusInRightClickMenu:this.props.shouldFocusOnMount;this.context.isExperimentalFeatureEnabled?.("Microsoft.Office.SharedOnline.AutoOpenSubmenuFixes")||(l=a?!this.state.focusInRightClickMenu:void 0);const u=this.props.delayUpdateFocusOnHover??(a?this.state.focusInRightClickMenu:void 0);return o?.findIndex((e=>void 0===e))>=0&&this.context.logger?.onMessage(`AppContextualMenu with id ${i} attempting to render an undefined item`),n.createElement(n.Fragment,null,n.createElement(s.l,{...this.props,onMenuOpened:this.onMenuOpened,focusZoneProps:{...t,componentRef:this.focusZoneRef,elementRef:this.focusZoneElement},onRestoreFocus:this.restoreFocus,onDismiss:this.onDismiss,delayUpdateFocusOnHover:u,shouldFocusOnMount:l,calloutProps:{preventDismissOnEvent:a?this.preventDismissOnEvent:void 0,...r,onPositioned:this.onPositioned,layerProps:{...r?.layerProps,eventBubblingEnabled:r?.layerProps?.eventBubblingEnabled??a}}}))}getContextualMenuItemToExpand(e){if(this.context.isExperimentalFeatureEnabled?.(c.PE.programaticMenuOpensEnabled))for(const t of e){if(t.data?.shouldAutoOpen)return t;if(t.sectionProps?.items){const e=this.getContextualMenuItemToExpand(t.sectionProps.items);if(e)return e}}}constructor(e){super(e),this.focusZoneRef=n.createRef(),this.focusZoneElement=n.createRef(),this.scrollBarOffsetApplied=!1,this.shouldRestoreFocus=!1,this.restoreFocus=e=>{const{target:t}=this.props;if((this.shouldRestoreFocus||this.state.alwaysRestoreFocus)&&e.containsFocus&&t){const r=t;"object"==typeof t&&!t.hasOwnProperty("current")&&r&&r.focus?r?.focus():e.originalElement?.focus(),this.shouldRestoreFocus=!1}},this.onDismiss=(e,t)=>{const{onDismiss:r}=this.props,n=e;if(n&&(n.keyCode===i.c.escape||n.altKey&&n.keyCode===i.c.up||n.keyCode===i.c.alt)&&(this.shouldRestoreFocus=!0),r&&r(e,t),this.state.focusInRightClickMenu&&this.setState({focusInRightClickMenu:!1}),this.scrollBarOffsetApplied=!1,this.context.isPlatformFeatureEnabled?.(c.H9.modalContextMenuIsEnabled)){const e=document.querySelector(".menu-Dismiss-element");e&&document.body.removeChild(e)}},this.onMenuOpened=e=>{this.props.onMenuOpened&&this.props.onMenuOpened(e),!this.props.shouldFocusOnContainer&&this.focusZoneRef&&this.focusZoneRef.current&&this.focusZoneRef.current.focusElement(this.getFirstMenuItem())},this.applyContextualMenuSlideFix=()=>6===this.props?.directionalHint&&((0,c.i2)(this.context,c.PE.fluentV9TableStylesPreviewGalleryIsEnabled)||(0,c.i2)(this.context,c.PE.fluentV9RibbonFontStyleGalleryIsEnabled)||(0,c.i2)(this.context,c.PE.fluentV9RibbonIconPreviewGalleryIsEnabled)||(0,c.i2)(this.context,c.PE.isV8AppContextMenuSlideFixEnabled)),this.onPositioned=e=>{if(!this.scrollBarOffsetApplied&&(0,h.O)(this.focusZoneElement.current,(e=>e.scrollHeight>e.clientHeight&&e.clientHeight>0))){let t=(0,a.jI)()?"left":"right";this.applyContextualMenuSlideFix()&&e?.elementPosition.right&&e?.elementPosition.left&&(t=(0,a.jI)()?"right":"left");let r=e?.elementPosition[t];const n=(0,h.O)(this.focusZoneElement.current,(e=>parseInt(e.style?.[t]?.split("px")[0],10)===Math.trunc(r||0)));n&&r&&(r<g.tP&&(t="left"===t?"right":"left",r=e?.elementPosition[t]),n.style[t]=r-g.tP+"px",this.scrollBarOffsetApplied=!0)}this.props.calloutProps?.onPositioned?.(e);const t=this.getContextualMenuItemToExpand(this.props.items)?.componentRef;if(t&&t.current?.openSubMenu(),this.context.isPlatformFeatureEnabled?.(c.H9.modalContextMenuIsEnabled)){const e=document.createElement("div");e.className="menu-Dismiss-element",e.style.width="100vw",e.style.height="100vh",e.style.zIndex="10000",e.style.position="fixed",e.style.inset="0px",e.addEventListener("click",(t=>{t?.target===e&&this.onDismiss()})),document.body.appendChild(e)}},this.getFirstMenuItem=()=>{const e=this.props.id??(this.props.calloutProps&&this.props.calloutProps.id);if(e){const t=document.getElementById(e);if(t){const e=t.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(e)return e}}},this.preventDismissOnEvent=e=>{if("focus"!==e.type)return!1;const t=e.target,r=!(!t?.getAttribute("data-unique-id")?.startsWith(u.IZ.ContextMenu)&&!t.id.startsWith(u.IZ.ContextMenu));return this.setState({focusInRightClickMenu:r}),r},this.supportsRightClickMenu=()=>Array.isArray(this.props.items)&&this.props.items?.some((e=>e.data?.contextMenuMap||Array.isArray(e.sectionProps?.items)&&e.sectionProps?.items?.some((e=>void 0!==e.data?.contextMenuMap)))),this.state={focusInRightClickMenu:!1,alwaysRestoreFocus:e.alwaysRestoreFocus}}}f.contextType=o.B;const v=(b=(0,p.d)(f),e=>n.createElement(d.OW.Consumer,null,(t=>n.createElement(b,{...e,isMeasured:t.isMeasured}))));var b;const y=n.forwardRef(((e,t)=>{const r=e.isV9ContextMenuEnabled,o=e.isV9FloatieEnabled,i=(0,m.bs)(e.id),a=e.attachedFloatie?o&&r:r,s=void 0===e.useLegacyContextMenu||e.useLegacyContextMenu;return!a||s&&!i||e.isSearchExecuting?n.createElement(v,{...e}):n.createElement(l.Q,{...e,ref:t})}))},11202:(e,t,r)=>{"use strict";r.d(t,{dJ:()=>m,PT:()=>f,IX:()=>c,Om:()=>g,jP:()=>u,Y_:()=>p,V3:()=>h,fH:()=>d,NJ:()=>l,bs:()=>s});var n=r(10477),o=r(57674),i=r(85963);const a=new Set(["Ribbon-Paste_MLRDropdown","Ribbon-OrientationDropdown","Ribbon-MergeDropdown","Ribbon-InsertCellsDropdown","Ribbon-DeleteCellsDropdown","Ribbon-FormatDropdown","Ribbon-AutoSumDropdown","Ribbon-ClearCellsDropdown","Ribbon-SortAndFilterDropdown","Ribbon-FindAndSelectDropdown","Ribbon-SensitivityDropdown"]),s=e=>{const t=n.useContext(o.B);return e&&a.has(e)&&(0,i.i2)(t,i.PE.fluentV9MenuIsEnabled)},l=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.v9MenuAutoDismissFixEnabled)},u=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.fixOnMenuOpenedTriggerOnSubmenuHover)},c=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.isFluentV9DispatchOptimizationEnabled)},d=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.triggerOnMenuDismissedOnSubmenuClose)},p=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.isShadowOverflowFixEnabled)},h=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.fluentV9ShortcutPillsIsEnabled)},g=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.useFileMenuIdForAsyncUI)},m=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.isAppContextualMenuSplitButtonArialLabelEnabled)},f=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.isContextMenuAndFloatieRightClickDisabled)}},32969:(e,t,r)=>{"use strict";r.d(t,{Qt:()=>s});var n=r(10477),o=r(61303),i=r(11202);const a=n.lazy((()=>Promise.resolve().then(r.bind(r,12007)).then((e=>({default:e.AppContextualMenuCurrent}))))),s=n.forwardRef(((e,t)=>{const r=e.isV9ContextMenuEnabled,s=e.isV9FloatieEnabled,l=(0,i.bs)(e.id),u=e.attachedFloatie?s&&r:r,c=void 0===e.useLegacyContextMenu||e.useLegacyContextMenu;return!u||c&&!l||e.isSearchExecuting?n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(a,{...e,ref:t})):n.createElement(o.Q,{...e,ref:t})}))},61303:(e,t,r)=>{"use strict";r.d(t,{Q:()=>Zt});var n=r(10477),o=r(55056),i=r(30834),a=r(83853);const s=()=>{const e=(0,a.p)(),{targetDocument:t}=(0,i.Y)();return{findAllFocusable:n.useCallback(((t,r)=>{var n;return(null===(n=e.current)||void 0===n?void 0:n.focusable.findAll({container:t,acceptCondition:r}))||[]}),[e]),findFirstFocusable:n.useCallback((t=>{var r;return null===(r=e.current)||void 0===r?void 0:r.focusable.findFirst({container:t})}),[e]),findLastFocusable:n.useCallback((t=>{var r;return null===(r=e.current)||void 0===r?void 0:r.focusable.findLast({container:t})}),[e]),findNextFocusable:n.useCallback(((r,n={})=>{if(!e.current||!t)return null;const{container:o=t.body}=n;return e.current.focusable.findNext({currentElement:r,container:o})}),[e,t]),findPrevFocusable:n.useCallback(((r,n={})=>{if(!e.current||!t)return null;const{container:o=t.body}=n;return e.current.focusable.findPrev({currentElement:r,container:o})}),[e,t])}};var l=r(15535),u=r(19758),c=r(6813),d=r(39850),p=r(87513),h=r(56662),g=r(30238),m=r(28189);function f(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const n=(0,m.P)(t,{skipVirtual:r.has(t)});if(r.add(t),n===e)return!0;t=n}}return!1}var v=r(29731),b=r(77625),y=r(24439);const S=(0,b.q)(void 0),C={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},T=S.Provider,k=e=>(0,y.i)(S,((t=C)=>e(t))),F="fuimenuenter";var E=r(82170);const A=(0,b.q)(void 0),I={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},x=A.Provider,w=e=>(0,y.i)(A,((t=I)=>e(t)));function P(){const e=k((e=>e.isSubmenu)),t=(0,E.V)(A);return e||t}const R=["after","after-bottom","before-top","before","before-bottom","above"],D=e=>{const t=P(),{hoverDelay:r=500,inline:o=!1,hasCheckmarks:i=!1,hasIcons:a=!1,closeOnScroll:s=!1,openOnContext:d=!1,persistOnItemClick:p=!1,openOnHover:h=t,defaultCheckedValues:g,mountNode:m=null}=e,f=(0,c.Bi)("menu"),[v,b]=(e=>{const[t,r]=n.useState(void 0);return[t,e=>{if(null==e)return void r(void 0);let t;t=e instanceof MouseEvent?e:e.nativeEvent,MouseEvent;const n=function(e){const t=e.clientX,r=e.clientY,n=t+1,o=r+1;return{getBoundingClientRect:function(){return{left:t,top:r,right:n,bottom:o,x:t,y:r,height:1,width:1}}}}(t);r(n)}]})(),y={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?v:void 0,fallbackPositions:t?R:void 0,...(0,l.P)(e.positioning)},S=n.Children.toArray(e.children);let C,T;2===S.length?(C=S[0],T=S[1]):1===S.length&&(T=S[0]);const{targetRef:k,containerRef:F}=(0,u.T)(y),[E,A]=N({hoverDelay:r,isSubmenu:t,setContextTarget:b,closeOnScroll:s,menuPopoverRef:F,triggerRef:k,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[I,x]=_({checkedValues:e.checkedValues,defaultCheckedValues:g,onCheckedValueChange:e.onCheckedValueChange});return{inline:o,hoverDelay:r,triggerId:f,isSubmenu:t,openOnHover:h,contextTarget:v,setContextTarget:b,hasCheckmarks:i,hasIcons:a,closeOnScroll:s,menuTrigger:C,menuPopover:T,mountNode:m,triggerRef:k,menuPopoverRef:F,components:{},openOnContext:d,open:E,setOpen:A,checkedValues:I,onCheckedValueChange:x,persistOnItemClick:p}},_=e=>{const[t,r]=(0,d.i)({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}});return[t,(0,p.D)(((t,{name:n,checkedItems:o})=>{var i;null===(i=e.onCheckedValueChange)||void 0===i||i.call(e,t,{name:n,checkedItems:o}),r((e=>({...e,[n]:o})))}))]},N=e=>{const{targetDocument:t}=(0,i.Y)(),r=k((e=>e.setOpen)),o=(0,p.D)(((t,r)=>{var n;return null===(n=e.onOpenChange)||void 0===n?void 0:n.call(e,t,r)})),a=n.useRef(!1),[l,u]=(0,d.i)({state:e.open,defaultState:e.defaultOpen,initialState:!1}),c=(0,p.D)(((t,n)=>{const i=t instanceof CustomEvent&&t.type===F?t.detail.nativeEvent:t;null==o||o(i,{...n}),n.open&&"contextmenu"===t.type&&e.setContextTarget(t),n.open||e.setContextTarget(void 0),n.bubble&&r(t,{...n}),u(n.open)})),[m,b]=(0,h.Z)(),y=(0,p.D)(((t,r)=>{var n;b(),t instanceof Event||!t.persist||t.persist(),"mouseleave"===t.type||"mouseenter"===t.type||"mousemove"===t.type||t.type===F?((null===(n=e.triggerRef.current)||void 0===n?void 0:n.contains(t.target))&&(a.current="mouseenter"===t.type||"mousemove"===t.type),m((()=>c(t,r)),e.hoverDelay)):c(t,r)}));(0,g.W)({contains:f,disabled:!l,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:e=>y(e,{open:!1,type:"clickOutside",event:e})});const S=e.openOnContext||e.closeOnScroll;(e=>{const{refs:t,callback:r,element:o,disabled:i,contains:a}=e,s=(0,p.D)((e=>{const n=a||((e,t)=>!!(null==e?void 0:e.contains(t))),o=e.composedPath()[0];t.every((e=>!n(e.current||null,o)))&&!i&&r(e)}));n.useEffect((()=>{if(!i)return null==o||o.addEventListener("wheel",s),null==o||o.addEventListener("touchmove",s),()=>{null==o||o.removeEventListener("wheel",s),null==o||o.removeEventListener("touchmove",s)}}),[s,o,i])})({contains:f,element:t,callback:e=>y(e,{open:!1,type:"scrollOutside",event:e}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!l||!S}),(e=>{const{refs:t,callback:r,element:o,disabled:i}=e,a=(0,p.D)((e=>{const n=t[0],o=e.target;var a;!f(null!==(a=n.current)&&void 0!==a?a:null,o)&&!i&&r(e)}));n.useEffect((()=>{if(null!=o)return i||o.addEventListener(F,a),()=>{o.removeEventListener(F,a)}}),[a,o,i])})({element:t,callback:e=>{a.current||y(e,{open:!1,type:"menuMouseEnter",event:e})},disabled:!l,refs:[e.menuPopoverRef]});const{findFirstFocusable:C}=s(),T=n.useCallback((()=>{const t=C(e.menuPopoverRef.current);null==t||t.focus()}),[C,e.menuPopoverRef]),E=(0,v.t)();return n.useEffect((()=>{var r;l?T():E||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&(null===(r=e.triggerRef.current)||void 0===r||r.focus())}),[e.triggerRef,e.isSubmenu,l,T,t,e.menuPopoverRef]),[l,y]};var O=r(47615),M=r(57674),B=r(85963);function L(e){return"x"in e&&"y"in e}function K(e){return e&&"current"in e}const W=e=>{const t=n.useRef(null),[r,o]=n.useState(null),i=n.useContext(M.B),a=!!(0,B.i2)(i,B.PE.isV9ContextMenuPositionFixEnabled),s=!!(0,B.i2)(i,"SharedOnline.ChangeGate.AvoidRerenderingBeforeLoad");return n.useEffect((()=>{const t=(e,t)=>{o((r=>r?.x!==e||r?.y!==t?{x:e,y:t}:r))};if(a){let r,n;if(e?.target)if(L(e.target))r=e.target?.x,n=e.target?.y;else if(K(e.target)){const t=e.target?.current?.getBoundingClientRect();r=t?.x,n=t?.y}s?r&&n&&t(r,n):t(r,n)}}),[e,a,s]),n.useLayoutEffect((()=>{const r=e?.target,n=e?.onPositioningEnd;if(void 0!==r)if(L(r)){const e={getBoundingClientRect:((e=0,t=0)=>()=>({width:0,height:0,top:t,right:e,bottom:t,left:e,x:e,y:t}))(r.x,r.y)};t.current?.setTarget(e),n&&(0,O.z)(n)}else K(r)&&r?.current&&t.current?.setTarget(r.current)}),[e.target,e.onPositioningEnd,r]),t};var H=r(11202);const G=(0,o.n)({root:{visibility:"hidden",position:"absolute"}});var z=r(85152),U=r(43839),V=r(94190),j=r(82502),q=r(57829);var $=r(24223),Q=r(29784),X=r(11691),Y=r(84105),J=r(26838),Z=r(77675);const ee=(0,Z.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}"],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]});var te=r(39398),re=r(21609);const ne=(0,o.n)({root:{...Y.Pt.borderRadius("8px"),...Y.Pt.padding("6px","0px"),display:"flex",flexDirection:"column",alignItems:"flex-start",maxWidth:"none",minWidth:"none",maxHeight:"calc(100vh - 50px)",backgroundColor:re.k.colorNeutralBackground1,boxShadow:re.k.shadow16},highContrast:{[`${te.up}`]:{...Y.Pt.borderStyle("solid")}},borderFix:{...Y.Pt.border("0px"),[`${te.up}`]:{...Y.Pt.border("1px")}}}),oe=n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=k((e=>e.menuPopoverRef)),o=k((e=>e.setOpen)),s=k((e=>e.open)),l=k((e=>e.openOnHover)),u=k((e=>e.triggerRef)),c=P(),d=n.useRef(!0),g=((0,a.p)(q.mz),(0,q.U6)({restorer:{type:q.CP.Source}})),[m,f]=(0,h.Z)(),{dir:v}=(0,i.Y)(),b="ltr"===v?z.nkM:z.Qpb,y=n.useCallback((e=>{e&&e.addEventListener("mouseover",(e=>{var t;d.current&&(d.current=!1,t=e,r.current.dispatchEvent(new CustomEvent(F,{bubbles:!0,detail:{nativeEvent:t}})),m((()=>d.current=!0),250))}))}),[r,m]);var S;n.useEffect((()=>{}),[f]);const C=null!==(S=k((e=>e.inline)))&&void 0!==S&&S,T=k((e=>e.mountNode)),E=U.Gk((0,V.g)("div",{role:"presentation",...g,...e,ref:(0,j.a)(t,r,y)}),{elementType:"div"}),{onMouseEnter:A,onKeyDown:I}=E;return E.onMouseEnter=(0,p.D)((e=>{(l||c)&&o(e,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:e}),null==A||A(e)})),E.onKeyDown=(0,p.D)((e=>{const t=e.key;var n,i;(t===z.uf9||c&&t===b)&&s&&(null===(n=r.current)||void 0===n?void 0:n.contains(e.target))&&!e.isDefaultPrevented()&&(o(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),e.preventDefault()),t===z.ozo&&(o(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),c||null===(i=u.current)||void 0===i||i.focus()),null==I||I(e)})),{inline:C,mountNode:T,components:{root:"div"},root:E}})(e,t);return(e=>{const t=(0,n.useContext)(M.B),r=(0,B.i2)(t,B.PE.isFileMenuExtraPaddingFixEnabled),o=ne();e.root.className=(0,J.z)(o.root,o.highContrast,r&&o.borderFix,e.root.className),(e=>{const t=ee();e.root.className=(0,J.z)("fui-MenuPopover",t.root,e.root.className)})(e)})(r),(e=>((0,Q.C)(e),e.inline?(0,$.Y)(e.root,{}):(0,$.Y)(X.Z,{mountNode:e.mountNode,children:(0,$.Y)(e.root,{})})))(r)}));oe.displayName="next/AppMenuPopover";var ie=r(59274);const ae=(0,Z.X)({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),se=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{findAllFocusable:r}=s(),{targetDocument:o}=(0,i.Y)(),a={checkedValues:k((e=>e.checkedValues)),onCheckedValueChange:k((e=>e.onCheckedValueChange)),triggerId:k((e=>e.triggerId)),hasIcons:k((e=>e.hasIcons)),hasCheckmarks:k((e=>e.hasCheckmarks))},l=(0,E.V)(S),u=(0,ie.i)({circular:!0});((e,t,r)=>{let n=!1;for(const r in t)e[r]&&(n=!0);return r&&n})(e,a,l)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const c=n.useRef(null);n.useEffect((()=>{const e=c.current;if(l&&o&&e){const t=t=>{const r=t.detail.next;r&&e.contains(o.activeElement)&&!e.contains(r)&&t.preventDefault()};return o.addEventListener(q.GD,t),()=>{o.removeEventListener(q.GD,t)}}}),[c,o,l]);const h=n.useCallback(((e,t)=>{const n=["menuitem","menuitemcheckbox","menuitemradio"];if(!c.current)return;const o=r(c.current,(e=>e.hasAttribute("role")&&-1!==n.indexOf(e.getAttribute("role"))));let i=o.indexOf(t)+1;i===o.length&&(i=0);const a=o.map((e=>{var t;return null===(t=e.textContent)||void 0===t?void 0:t.charAt(0).toLowerCase()})),s=e.key.toLowerCase(),l=(e,t)=>{for(let t=e;t<a.length;t++)if(s===a[t])return t;return-1};let u=l(i);-1===u&&(u=l(0)),u>-1&&o[u].focus()}),[r]);var g;const[m,f]=(0,d.i)({state:null!==(g=e.checkedValues)&&void 0!==g?g:l?a.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var v;const b=null!==(v=e.onCheckedValueChange)&&void 0!==v?v:l?a.onCheckedValueChange:void 0,y=(0,p.D)(((e,t,r,n)=>{const o=[...(null==m?void 0:m[t])||[]];n?o.splice(o.indexOf(r),1):o.push(r),null==b||b(e,{name:t,checkedItems:o}),f((e=>({...e,[t]:o})))})),C=(0,p.D)(((e,t,r)=>{const n=[r];f((e=>({...e,[t]:n}))),null==b||b(e,{name:t,checkedItems:n})}));return{components:{root:"div"},root:U.Gk((0,V.g)("div",{ref:(0,j.a)(t,c),role:"menu","aria-labelledby":a.triggerId,...u,...e}),{elementType:"div"}),hasIcons:a.hasIcons||!1,hasCheckmarks:a.hasCheckmarks||!1,checkedValues:m,hasMenuContext:l,setFocusByFirstCharacter:h,selectRadio:C,toggleCheckbox:y}})(e,t),o=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:n,selectRadio:o,setFocusByFirstCharacter:i,toggleCheckbox:a}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:n,selectRadio:o,setFocusByFirstCharacter:i,toggleCheckbox:a}}}(r);return(e=>{const t=ae();e.root.className=(0,J.z)("fui-MenuList",t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className)})(r),((e,t)=>((0,Q.C)(e),(0,$.Y)(x,{value:t.menuList,children:(0,$.Y)(e.root,{})})))(r,o)}));var le=r(82802),ue=r(26423),ce=r(95902);const de=n.createContext(void 0),pe={headerId:""},he=de.Provider;const ge=(0,Z.X)({root:{Be2twd7:"fy9rknc",sj55zd:"f11d4kpn",uwmqm3:["f177v4lu","f19lj068"],z189sj:["f19lj068","f177v4lu"],Bhrd7zp:"fl43uef",Bqenvij:"f1d2rq10",mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".fy9rknc{font-size:var(--fontSizeBase200);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f177v4lu{padding-left:8px;}",".f19lj068{padding-right:8px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1d2rq10{height:32px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}"]});var me=r(60414);const fe=n.forwardRef(((e,t)=>{const r=function(e,t){const{headerId:r}=null!==(o=n.useContext(de))&&void 0!==o?o:pe;var o;return{components:{root:"div"},root:U.Gk((0,V.g)("div",{ref:t,id:r,...e}),{elementType:"div"})}}(e,t);return(e=>{const t=ge();e.root.className=(0,J.z)("fui-MenuGroupHeader",t.root,e.root.className)})(r),(0,me.$e)("useMenuGroupHeaderStyles_unstable")(r),(e=>((0,Q.C)(e),(0,$.Y)(e.root,{})))(r)}));fe.displayName="MenuGroupHeader";const ve=(0,Z.X)({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f8dz51a",a9b677:"f14z66ap",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"}},{d:[[".f8dz51a{margin:4px -5px 4px -5px;}",{p:-1}],".f14z66ap{width:auto;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}]]}),be=n.forwardRef(((e,t)=>{const r=((e,t)=>({components:{root:"div"},root:U.Gk((0,V.g)("div",{role:"presentation","aria-hidden":!0,...e,ref:t}),{elementType:"div"})}))(e,t);return(e=>{const t=ve();e.root.className=(0,J.z)("fui-MenuDivider",t.root,e.root.className)})(r),(0,me.$e)("useMenuDividerStyles_unstable")(r),(e=>((0,Q.C)(e),(0,$.Y)(e.root,{})))(r)}));be.displayName="MenuDivider";const ye=n.forwardRef(((e,t)=>{const r=function(e,t){const r=(0,c.Bi)("menu-group");return{components:{root:"div"},root:U.Gk((0,V.g)("div",{ref:t,"aria-labelledby":r,role:"group",...e}),{elementType:"div"}),headerId:r}}(e,t),o=function(e){const{headerId:t}=e;return{menuGroup:n.useMemo((()=>({headerId:t})),[t])}}(r);return(e=>{e.root.className=(0,J.z)("fui-MenuGroup",e.root.className)})(r),(0,me.$e)("useMenuGroupStyles_unstable")(r),((e,t)=>((0,Q.C)(e),(0,$.Y)(he,{value:t.menuGroup,children:(0,$.Y)(e.root,{})})))(r,o)}));ye.displayName="MenuGroup";var Se=r(4228),Ce=r(37241),Te=r(27917),ke=r(1290),Fe=r(87755);const Ee=e=>{const t=(0,Te.e)(),r=e.iconProps?t?n.createElement(ke.z,{...e.iconProps,style:(0,Fe.c)(e.iconProps?.styles)}):n.createElement(Ce.I,{...e.iconProps}):void 0;return{...e,"aria-label":e.ariaLabel,children:e.text||e.name,icon:r,secondaryContent:e.secondaryText,persistOnClick:!1===e.data?.persistOnClick}};var Ae=r(69287);const Ie=(0,Z.X)({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),xe=(0,Ae.y)("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),we=(0,Ae.y)("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),Pe=(0,Ae.y)("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),Re=(0,Ae.y)("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),De=(0,Ae.y)("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),_e=(0,Ae.y)("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),Ne=(0,Z.X)({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",t0hwav:"ft33916",Bbusuzp:"f1dcs8yz",ze5xyy:"f1kc2mi9",Bqrx1nm:"fkavljg",Bctn1xl:"fk56vqo",h5esng:"ff3wi9b",Bh6z0a4:"f1ikwg0d",Bh953qp:"f10l1t5h"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkavljg:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fk56vqo:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff3wi9b:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ikwg0d:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10l1t5h:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),Oe=(0,Z.X)({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]});var Me=r(63900);const Be=(0,o.n)({root:{...Y.Pt.borderRadius("4px"),...Y.Pt.gap("8px","0px"),...Y.Pt.margin("0px","6px"),...Y.Pt.padding("0px","6px"),...Y.Pt.borderWidth("0px"),height:"32px",flexShrink:0,alignItems:"center",minWidth:"224px",[`${Me.up}`]:{...Me.dn,"& [class*='secondaryContent']":{...Me.dn},":hover":{...Me.i2,"& [class*='secondaryContent']":{...Me.lf}},":hover:active":{...Me.i2,"& [class*='secondaryContent']":{...Me.lf}}}},icon:{...Y.Pt.padding("6px","0px"),alignItems:"flex-start"},content:{alignItems:"center",fontFamily:re.k.fontFamilyBase,...Y.Pt.flex(1,0),...Y.Pt.padding("6px","0px"),textOverflow:"ellipsis",whiteSpace:"nowrap",...Y.Pt.overflow("hidden")},secondaryContent:{display:"flex",alignItems:"center",justifyContent:"flex-end",fontFamily:re.k.fontFamilyBase,...Y.Pt.gap("2px"),...Y.Pt.padding("6px","0px","6px","4px")},submenuIndicator:{display:"flex",alignItems:"center",justifyContent:"flex-end",...Y.Pt.padding("6px","0px","6px","4px")},divider:{display:"flex",...Y.Pt.margin("3px","0px"),...Y.Pt.borderBottom("1px","solid",re.k.colorNeutralStroke2),flexDirection:"column",alignItems:"flex-start"},menuGroupHeader:{flexDirection:"column",alignItems:"flex-start",...Y.Pt.borderRadius("8px"),...Y.Pt.padding("8px","12px"),height:"16px",alignSelf:"stretch",color:re.k.colorNeutralForeground1,lineHeight:"16px",[`${Me.up}`]:{...Me.mn}},splitButton:{display:"flex",alignItems:"center",minWidth:"unset",justifyContent:"flex-end",...Y.Pt.padding("6px","6px","6px","0px"),...Y.Pt.margin("0px","6px","0px","-6px"),...Y.Pt.gap("0px")},subMenu:{minWidth:"unset"},disabled:{":hover:active":{backgroundColor:re.k.colorNeutralBackground1,color:re.k.colorNeutralForegroundDisabled,[`${Me.up}`]:{...Me.RQ,...Me.Jt}},":hover":{[`${Me.up}`]:{...Me.RQ,...Me.Jt}}},checked:{borderRadius:re.k.borderRadiusMedium,...Y.Pt.padding("0px","5px"),border:`1px solid ${re.k.colorNeutralForeground4}`,backgroundColor:`${re.k.colorNeutralBackground1Selected} !important`},shortcutPillsTagGroup:{gap:"2px"}});var Le=r(53386);const Ke=n.createContext(void 0),We=Ke.Provider,He=(0,Z.X)({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),Ge=(e,t)=>{const r=r=>{const{className:o,filled:i,...a}=r,s=He();return n.createElement(n.Fragment,null,n.createElement(e,Object.assign({},a,{className:(0,J.z)(s.root,i&&s.visible,"fui-Icon-filled",o)})),n.createElement(t,Object.assign({},a,{className:(0,J.z)(s.root,!i&&s.visible,"fui-Icon-regular",o)})))};return r.displayName="CompoundIcon",r};var ze=r(54116),Ue=r(43665);const Ve=n.createContext(void 0),je={setMultiline:()=>null},qe=Ve.Provider,$e=()=>{var e;return null!==(e=n.useContext(Ve))&&void 0!==e?e:je},Qe=()=>$e()!==je,Xe=Ge(ze.oAB,ze.Crl),Ye=Ge(ze.NGN,ze.nUb),Je=e=>{const{hasSubmenu:t,multiline:r}=e,n=Qe()&&t,{setMultiline:o}=$e();(0,Le.E)((()=>{n||o(r)}),[o,r,n])},Ze=e=>{const{hasSubmenu:t}=e,r=w((e=>e.hasIcons)),n=w((e=>e.hasCheckmarks)),o=Qe()&&t;return{hasIcons:r&&!o,hasCheckmarks:n&&!o}};var et=r(19094),tt=r(15111),rt=r(90044),nt=r(58352);const ot=n.createContext(void 0),it={handleTagDismiss:()=>({}),size:"medium",role:"toolbar",handleTagSelect:()=>({})},at=ot.Provider,st=(0,Z.X)({base:{mc9l5x:"ftuwxu6"},medium:{i8kkvl:"fsnqrgy"},small:{i8kkvl:"f1rjii52"},"extra-small":{i8kkvl:"f1ufnopg"}},{d:[".ftuwxu6{display:inline-flex;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}"]}),lt=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{onDismiss:r,disabled:o=!1,defaultSelectedValues:a,size:l="medium",appearance:u="filled",dismissible:c=!1,role:h="toolbar",onTagSelect:g,selectedValues:m,...f}=e,v=n.useRef(),{targetDocument:b}=(0,i.Y)(),{findNextFocusable:y,findPrevFocusable:S}=s(),[C,T]=(0,d.i)({defaultState:a,state:m,initialState:[]}),k=(0,p.D)(((e,t)=>{var n;null==r||r(e,t);const o=null==b?void 0:b.activeElement;if(null===(n=v.current)||void 0===n?void 0:n.contains(o)){const e=y(o,{container:v.current});if(e)return void e.focus();if(null==o?void 0:o.className.includes("fui-InteractionTagSecondary")){const e=S(o.parentElement,{container:v.current});null==e||e.focus()}else{const e=S(o,{container:v.current});null==e||e.focus()}}})),F=(0,p.D)((0,nt.p)(g,((e,t)=>{C.includes(t.value)?T(C.filter((e=>e!==t.value))):T([...C,t.value])}))),E=(0,ie.i)({circular:!0,axis:"both",memorizeCurrent:!0});return{handleTagDismiss:k,handleTagSelect:g?F:void 0,selectedValues:C,role:h,size:l,disabled:o,appearance:u,dismissible:c,components:{root:"div"},root:U.Gk((0,V.g)("div",{ref:(0,j.a)(t,v),role:h,"aria-disabled":o,...E,...f}),{elementType:"div"})}})(e,t);return(e=>{const t=st(),{size:r}=e;e.root.className=(0,J.z)("fui-TagGroup",t.base,t[r],e.root.className)})(r),(0,me.$e)("useTagGroupStyles_unstable")(r),((e,t)=>((0,Q.C)(e),(0,$.Y)(at,{value:t.tagGroup,children:(0,$.Y)(e.root,{})})))(r,function(e){const{handleTagDismiss:t,handleTagSelect:r,selectedValues:o,size:i,disabled:a,appearance:s,dismissible:l,role:u}=e;return{tagGroup:n.useMemo((()=>({handleTagDismiss:t,handleTagSelect:r,selectedValues:o,size:i,disabled:a,appearance:s,dismissible:l,role:u})),[t,r,o,i,a,s,l,u])}}(r))}));lt.displayName="TagGroup";const ut={medium:28,small:20,"extra-small":16},ct={rounded:"square",circular:"circular"};var dt=r(96264),pt=r(26734);const ht=(pt.L.strokeWidthThin,pt.L.colorTransparentStroke,(0,Ae.y)("r1wstn2o","r7a32g8",{r:['.r1wstn2o{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1wstn2o[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r7a32g8{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r7a32g8[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r1wstn2o{position:relative;}.r1wstn2o::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-top-left-radius:var(--borderRadiusMedium);border-top-right-radius:var(--borderRadiusMedium);}}','@media (forced-colors: active){.r7a32g8{position:relative;}.r7a32g8::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;top:-1px;right:-1px;left:-1px;bottom:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']})),gt=(0,Ae.y)("rlv0lsa","r18mdwmi",{r:['.rlv0lsa{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".rlv0lsa[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r18mdwmi{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r18mdwmi[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.rlv0lsa{position:relative;}.rlv0lsa::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r18mdwmi{position:relative;}.r18mdwmi::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;top:-1px;right:-1px;left:-1px;bottom:-1px;border-radius:var(--borderRadiusCircular);}}']}),mt=(0,Z.X)({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"]},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0"},selected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"]},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{qhf8xq:"f10pi13n",Bqenvij:"fjamq6b",b7i14k:"f15j58gw",Bej73l1:"fitnkyp",sg3u8k:"f12jc7rs",dpul0f:"fitizsl",Bj2wrql:"ff8e2ck",u6d25:"f1oinwhq"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".f10pi13n{position:relative;}",".fjamq6b{height:20px;}",'.f15j58gw:before,.f15j58gw:after{content:"";}',".fitnkyp:before,.fitnkyp:after{position:absolute;}",".f12jc7rs:before,.f12jc7rs:after{height:2px;}",".fitizsl:before,.fitizsl:after{width:100%;}",".ff8e2ck:before{bottom:100%;}",".f1oinwhq:after{top:100%;}"]}),ft=(0,Z.X)({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),vt=(0,Z.X)({medium:{uwmqm3:["f1rtp3s9","f18k1jr3"]},small:{uwmqm3:["f15vdbe4","fwiuce9"]},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"]}},{d:[".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}"]}),bt=(0,Z.X)({medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"]}},{d:[".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}"]}),yt=(0,Z.X)({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",B7ck84d:"f1e4lqlz"},medium:{uwmqm3:["f1rtp3s9","f18k1jr3"],z189sj:["f7x41pl","fruq291"],a9b677:"f64fuq3",Be2twd7:"fe5j1ua"},small:{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"fjw5fx7",Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"frx94fk",Be2twd7:"f1ugzwwg"}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f1e4lqlz{box-sizing:content-box;}",".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f64fuq3{width:20px;}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".fjw5fx7{width:16px;}",".f4ybsrx{font-size:16px;}",".frx94fk{width:12px;}",".f1ugzwwg{font-size:12px;}"]}),St=(0,Z.X)({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",uwmqm3:["f10xn8zz","f136y8j8"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f10xn8zz{padding-left:1px;}",".f136y8j8{padding-right:1px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"]}),Ct=(0,Z.X)({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1k1gsvr",mc9l5x:"f22iagw",ze5xyy:"f4xjyn1",oy3o9n:"f1xtr1b3"},medium:{uwmqm3:["fruq291","f7x41pl"],z189sj:["f18k1jr3","f1rtp3s9"],Be2twd7:"fe5j1ua"},small:{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f1ugzwwg"},filled:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},outline:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},brand:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},selected:{Bi91k9c:"f1rq72xc",lj723h:"f18otbis"}},{d:[[".f1k1gsvr{grid-area:dismissIcon;}",{p:-1}],".f22iagw{display:flex;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fe5j1ua{font-size:20px;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f4ybsrx{font-size:16px;}",".f1ugzwwg{font-size:12px;}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xtr1b3:active{color:Highlight;}}",{m:"(forced-colors: active)"}]],h:[".f8491dx:hover{cursor:pointer;}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"]}),Tt=(0,Z.X)({base:{Huce71:"fz5stix",uwmqm3:["fgiv446","ffczdla"],z189sj:["ffczdla","fgiv446"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},withoutSecondaryText:{Br312pm:"faqcfhe",Ijaq50:"f1q3ipgb",nk6f5a:"fc0ab3q",Byoj8tv:"f1g03r3y"},withSecondaryText:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1ebragv",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",B6of3ja:"f1ryq6si"}},{d:[".fz5stix{white-space:nowrap;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".faqcfhe{grid-column-start:primary;}",".f1q3ipgb{grid-row-start:primary;}",".fc0ab3q{grid-row-end:secondary;}",".f1g03r3y{padding-bottom:var(--spacingHorizontalXXS);}",[".f1ebragv{grid-area:primary;}",{p:-1}],".f1ryq6si{margin-top:-2px;}"]}),kt=(0,Ae.y)("r7hv1ps","rnrslm9",[".r7hv1ps{grid-area:secondary;padding-left:var(--spacingHorizontalXXS);padding-right:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}",".rnrslm9{grid-area:secondary;padding-right:var(--spacingHorizontalXXS);padding-left:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}"]),Ft=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{handleTagDismiss:r,size:o,disabled:i,appearance:a,dismissible:s,role:l}=null!==(u=n.useContext(ot))&&void 0!==u?u:it;var u;const d=(0,c.Bi)("fui-Tag",e.id),{appearance:h=(null!=a?a:"filled"),disabled:g=!1,dismissible:m=null!=s&&s,selected:f=!1,shape:v="rounded",size:b=o,value:y=d}=e,S=(0,p.D)((t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),t.defaultPrevented||null==r||r(t,{value:y})})),C=(0,p.D)((t=>{var n;null==e||null===(n=e.onKeyDown)||void 0===n||n.call(e,t),t.defaultPrevented||t.key!==z.epd&&t.key!==z.Er0||null==r||r(t,{value:y})})),T=m?"button":"span";return{appearance:h,avatarShape:ct[v],avatarSize:ut[b],disabled:!!i||g,dismissible:m,selected:f,shape:v,size:b,components:{root:T,media:"span",icon:"span",primaryText:"span",secondaryText:"span",dismissIcon:"span"},root:U.Gk((0,V.g)(T,{ref:t,role:"listbox"===l?"option":void 0,...e,disabled:!!i||g,id:d,...m&&{onClick:S,onKeyDown:C}}),{elementType:T}),media:U.lq(e.media,{elementType:"span"}),icon:U.lq(e.icon,{elementType:"span"}),primaryText:U.lq(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:U.lq(e.secondaryText,{elementType:"span"}),dismissIcon:U.lq(e.dismissIcon,{renderByDefault:m,defaultProps:{children:n.createElement(ze.BEt,null)},elementType:"span"})}})(e,t);return(e=>{const t=ht(),r=gt(),n=mt(),o=ft(),i=vt(),a=bt(),s=yt(),l=St(),u=Ct(),c=Tt(),d=kt(),{disabled:p,shape:h,size:g,appearance:m,selected:f}=e;e.root.className=(0,J.z)("fui-Tag","rounded"===h?t:r,p?o[m]:n[m],f&&!p&&n.selected,n[g],!e.media&&!e.icon&&i[g],!e.dismissIcon&&a[g],e.root.className),e.media&&(e.media.className=(0,J.z)("fui-Tag__media",l.base,l[g],e.media.className)),e.icon&&(e.icon.className=(0,J.z)("fui-Tag__icon",s.base,s[g],e.icon.className)),e.primaryText&&(e.primaryText.className=(0,J.z)("fui-Tag__primaryText",c.base,c[g],e.secondaryText?c.withSecondaryText:c.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=(0,J.z)("fui-Tag__secondaryText",d,e.secondaryText.className)),e.dismissIcon&&(e.dismissIcon.className=(0,J.z)("fui-Tag__dismissIcon",u.base,u[g],!p&&u[m],f&&!p&&u.selected,e.dismissIcon.className))})(r),(0,me.$e)("useTagStyles_unstable")(r),((e,t)=>((0,Q.C)(e),(0,$.FD)(e.root,{children:[e.media&&(0,$.Y)(dt.U,{value:t.avatar,children:(0,$.Y)(e.media,{})}),e.icon&&(0,$.Y)(e.icon,{}),e.primaryText&&(0,$.Y)(e.primaryText,{}),e.secondaryText&&(0,$.Y)(e.secondaryText,{}),e.dismissIcon&&e.dismissible&&(0,$.Y)(e.dismissIcon,{})]})))(r,function(e){const{avatarSize:t,avatarShape:r}=e;return{avatar:n.useMemo((()=>({size:t,shape:r})),[r,t])}}(r))}));Ft.displayName="Tag";const Et=e=>n.createElement(At,{...e}),At=n.memo((({secondaryText:e,shortcutMetadata:t,showAllShortcuts:r=!1})=>{const o=Be(),i=xt(e,t);if(!i)return e;const a=r?i:[i[0]];return n.createElement(n.Fragment,null,a.map(((e,r)=>n.createElement(n.Fragment,null,n.createElement(lt,{key:r,size:"extra-small",className:o.shortcutPillsTagGroup},e.map(((e,t)=>n.createElement(It,{key:t,token:e})))),r<a.length-1&&n.createElement("span",null,t?.delimiter)))))})),It=n.memo((e=>n.createElement(Ft,null,e.token))),xt=(e,t)=>{if(!e||!t)return null;const r=new RegExp(`${t.separators.map((e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|")}`,"g");return e.split(t.delimiter).map((e=>e.split(r)))},wt=(0,rt.J9)(((e,t)=>e?(0,et.ez)(e,e.offset?.x||100,t):void 0)),Pt=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{keytipProps:r}=e,o=r?{...r,disabled:e.disabled}:void 0,a=(0,tt.k)(e,t,"AppButton",(()=>wt(o,((e,t)=>{o?.onExecute?.(e,t)}))),{keytipProps:o}),s=(0,H.V3)();return((e,t)=>{const r=null!==(o=n.useContext(Ke))&&void 0!==o&&o;var o;const a=k((e=>e.persistOnItemClick)),{as:s="div",disabled:l=!1,hasSubmenu:u=r,persistOnClick:c=a}=e,{hasIcons:d,hasCheckmarks:h}=Ze({hasSubmenu:u}),g=k((e=>e.setOpen));Je({multiline:!!e.subText,hasSubmenu:u});const{dir:m}=(0,i.Y)(),f=n.useRef(null),v=n.useRef(!1),b={hasSubmenu:u,disabled:l,persistOnClick:c,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:U.Gk((0,V.g)(s,(0,Ue.F)(s,{role:"menuitem",...e,disabled:!1,disabledFocusable:l,ref:(0,j.a)(t,f),onKeyDown:(0,p.D)((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.isDefaultPrevented()||t.key!==z.$xS&&t.key!==z.xyI||(v.current=!0)})),onMouseMove:(0,p.D)((t=>{var r,n;t.currentTarget.ownerDocument.activeElement!==t.currentTarget&&(null===(n=f.current)||void 0===n||n.focus()),null===(r=e.onMouseMove)||void 0===r||r.call(e,t)})),onClick:(0,p.D)((t=>{var r;u||c||(g(t,{open:!1,keyboard:v.current,bubble:!0,type:"menuItemClick",event:t}),v.current=!1),null===(r=e.onClick)||void 0===r||r.call(e,t)}))})),{elementType:"div"}),icon:U.lq(e.icon,{renderByDefault:d,elementType:"span"}),checkmark:U.lq(e.checkmark,{renderByDefault:h,elementType:"span"}),submenuIndicator:U.lq(e.submenuIndicator,{renderByDefault:u,defaultProps:{children:"ltr"===m?n.createElement(Xe,null):n.createElement(Ye,null)},elementType:"span"}),content:U.lq(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:U.lq(e.secondaryContent,{elementType:"span"}),subText:U.lq(e.subText,{elementType:"span"})};return((e,t)=>{const r=w((e=>e.setFocusByFirstCharacter)),{onKeyDown:n}=e.root;e.root.onKeyDown=e=>{var o;null==n||n(e),(null===(o=e.key)||void 0===o?void 0:o.length)>1||t.current&&(null==r||r(e,t.current))}})(b,f),b})({...e,"aria-checked":"menuitemradio"===e.role?e.checked:void 0,secondaryContent:s?Et({shortcutMetadata:e.shortcutMetadata,secondaryText:e.secondaryText,showAllShortcuts:!1}):e.secondaryContent},a)})(e,t);return(e=>{const t=Be();e.root.className=(0,J.z)("ms-MenuButtonNext",t.root,e.disabled&&t.disabled,e.root.className),e.icon&&(e.icon.className=(0,J.z)(t.icon,e.icon.className)),e.content&&(e.content.className=(0,J.z)(t.content,e.content.className)),e.secondaryContent&&(e.secondaryContent.className=(0,J.z)(t.secondaryContent,e.secondaryContent.className)),e.submenuIndicator&&(e.submenuIndicator.className=(0,J.z)(t.secondaryContent,e.submenuIndicator.className)),(e=>{const t=Ne(),r=xe(),n=we(),o=Pe(),i=Re(),a=De(),s=Oe(),l=_e(),u=!!e.subText;e.root.className=(0,J.z)("fui-MenuItem",r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=(0,J.z)("fui-MenuItem__content",n,e.content.className,u&&s.content)),e.checkmark&&(e.checkmark.className=(0,J.z)("fui-MenuItem__checkmark",t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=(0,J.z)("fui-MenuItem__secondaryContent",!e.disabled&&o,e.secondaryContent.className,u&&s.secondaryContent)),e.icon&&(e.icon.className=(0,J.z)("fui-MenuItem__icon",i,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=(0,J.z)("fui-MenuItem__submenuIndicator",a,e.submenuIndicator.className,u&&s.submenuIndicator)),e.subText&&(e.subText.className=(0,J.z)("fui-MenuItem__subText",e.subText.className,l)),(e=>{const t=Ie();e.checkmark&&(e.checkmark.className=(0,J.z)(t.root,e.checked&&t.rootChecked,e.checkmark.className))})(e)})(e)})(r),(e=>((0,Q.C)(e),(0,$.FD)(e.root,{children:[e.checkmark&&(0,$.Y)(e.checkmark,{}),e.icon&&(0,$.Y)(e.icon,{}),e.content&&(0,$.FD)(e.content,{children:[e.content.children,e.subText&&(0,$.Y)(e.subText,{})]}),e.secondaryContent&&(0,$.Y)(e.secondaryContent,{}),e.submenuIndicator&&(0,$.Y)(e.submenuIndicator,{})]})))(r)}));function Rt(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:n,inline:o,isSubmenu:i,menuPopoverRef:a,mountNode:s,onCheckedValueChange:l,open:u,openOnContext:c,openOnHover:d,persistOnItemClick:p,setOpen:h,triggerId:g,triggerRef:m}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:n,inline:o,isSubmenu:i,menuPopoverRef:a,mountNode:s,onCheckedValueChange:l,open:u,openOnContext:c,openOnHover:d,persistOnItemClick:p,setOpen:h,triggerId:g,triggerRef:m}}}Pt.displayName="next/AppMenuItem";const Dt=(e,t)=>n.createElement(T,{value:t.menu},e.menuTrigger,e.open&&e.menuPopover),_t=e=>{const t=D(e),r=Rt(t);return Dt(t,r)};_t.displayName="Menu";const Nt=(e,t)=>{if("rtl"===t)switch(e){case"ArrowLeft":return"ArrowRight";case"ArrowRight":return"ArrowLeft"}return e},Ot=(0,Z.X)({root:{Bhlrgs3:"f1v24km9",mc9l5x:"f22iagw",rue6gn:0,oe75ve:0,Bbblmiw:0,Bn2ps6a:"fa49so4",Bu15iap:["fsdyxoe","fuk6rhi"],B71tm0z:["fn8z6db","f1be8c1t"],Gjs4sj:["f1vtn0lh","f8hq2kl"],foni4y:"f7j48hl",Ie9k5m:"f13du8c1",f30fub:"fe64lw1",Jberyy:"f92oj5h"}},{d:[".f1v24km9[data-multiline]>.fui-MenuItem:nth-of-type(2){align-self:center;}",".f22iagw{display:flex;}",[".fa49so4>.fui-MenuItem:nth-of-type(1){flex:1;}",{p:-1}],".fsdyxoe>.fui-MenuItem:nth-of-type(2){border-top-left-radius:0;}",".fuk6rhi>.fui-MenuItem:nth-of-type(2){border-top-right-radius:0;}",".fn8z6db>.fui-MenuItem:nth-of-type(2){border-bottom-left-radius:0;}",".f1be8c1t>.fui-MenuItem:nth-of-type(2){border-bottom-right-radius:0;}",".f1vtn0lh>.fui-MenuItem:nth-of-type(2){padding-left:0;}",".f8hq2kl>.fui-MenuItem:nth-of-type(2){padding-right:0;}",'.f7j48hl>.fui-MenuItem:nth-of-type(2)::before{content:"";}',".f13du8c1>.fui-MenuItem:nth-of-type(2)::before{width:var(--strokeWidthThin);}",".fe64lw1>.fui-MenuItem:nth-of-type(2)::before{height:20px;}",".f92oj5h>.fui-MenuItem:nth-of-type(2)::before{background-color:var(--colorNeutralStroke1);}"]}),Mt=n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=n.useRef(),{dir:o,targetDocument:a}=(0,i.Y)(),l=Nt(z.Qpb,o),u=Nt(z.nkM,o),{findNextFocusable:c,findPrevFocusable:d}=s(),{multilineRef:p,setMultiline:h}=(()=>{const[e]=n.useState((()=>{let e=!1,t=null;function r(){null==t||t.toggleAttribute("data-multiline",e)}return{multilineRef:e=>{e?(t=e,r()):t=null},setMultiline:t=>{e=t,r()}}}));return e})(),g=n.useCallback((e=>{var t;const n=null==a?void 0:a.activeElement;if(n&&(null===(t=r.current)||void 0===t?void 0:t.contains(n))){if(e.key===l){const e=c(n,{container:r.current});null==e||e.focus()}if(e.key===u){const e=d(n,{container:r.current});null==e||e.focus()}}}),[c,d,a,l,u]);return{components:{root:"div"},setMultiline:h,root:U.Gk((0,V.g)("div",{role:"group",ref:(0,j.a)(t,r,p),onKeyDown:g,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=Ot();e.root.className=(0,J.z)("fui-MenuSplitGroup",t.root,e.root.className)})(r),(0,me.$e)("useMenuSplitGroupStyles_unstable")(r),((e,t)=>{var r;return(0,Q.C)(e),(0,$.Y)(qe,{value:null!==(r=null==t?void 0:t.menuSplitGroup)&&void 0!==r?r:je,children:(0,$.Y)(e.root,{})})})(r,(e=>n.useMemo((()=>({menuSplitGroup:{setMultiline:e.setMultiline}})),[e.setMultiline]))(r))}));Mt.displayName="MenuSplitGroup";var Bt=r(72605),Lt=r(69023),Kt=r(70853);const Wt=e=>{const t=e=>e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&"true"===e.getAttribute("aria-disabled");return!(!(0,Kt.s)(e.target)||!t(e.target))||(0,Kt.s)(e.currentTarget)&&t(e.currentTarget)},Ht=e=>{const t=(e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=k((e=>e.triggerRef)),a=k((e=>e.menuPopoverRef)),l=k((e=>e.setOpen)),u=k((e=>e.open)),c=k((e=>e.triggerId)),d=k((e=>e.openOnHover)),h=k((e=>e.openOnContext)),g=P(),{findFirstFocusable:m}=s(),f=n.useCallback((()=>{const e=m(a.current);null==e||e.focus()}),[m,a]),v=n.useRef(!1),b=n.useRef(!1),{dir:y}=(0,i.Y)(),S="ltr"===y?z.Qpb:z.nkM,C=(0,Bt.h)(t),T={id:c,...null==C?void 0:C.props,ref:(0,j.a)(o,null==C?void 0:C.ref),onMouseEnter:(0,p.D)((0,nt.p)(null==C?void 0:C.props.onMouseEnter,(e=>{Wt(e)||d&&b.current&&l(e,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:e})}))),onMouseLeave:(0,p.D)((0,nt.p)(null==C?void 0:C.props.onMouseLeave,(e=>{Wt(e)||d&&l(e,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:e})}))),onContextMenu:(0,p.D)((0,nt.p)(null==C?void 0:C.props.onContextMenu,(e=>{Wt(e)||e.isDefaultPrevented()||h&&(e.preventDefault(),l(e,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:e}))}))),onMouseMove:(0,p.D)((0,nt.p)(null==C?void 0:C.props.onMouseMove,(e=>{Wt(e)||d&&!b.current&&(l(e,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:e}),b.current=!0)})))},F={"aria-haspopup":"menu","aria-expanded":u||g?u:void 0,...T,onClick:(0,p.D)((0,nt.p)(null==C?void 0:C.props.onClick,(e=>{Wt(e)||h||(l(e,{open:!u,keyboard:v.current,type:"menuTriggerClick",event:e}),v.current=!1)}))),onKeyDown:(0,p.D)((0,nt.p)(null==C?void 0:C.props.onKeyDown,(e=>{if(Wt(e))return;const t=e.key;!h&&(g&&t===S||!g&&t===z.yd$)&&l(e,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:e}),t!==z.uf9||g||l(e,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:e}),u&&t===S&&g&&f()})))},E=(0,Ue.F)("button"===(null==C?void 0:C.type)||"a"===(null==C?void 0:C.type)?C.type:"div",F);return{isSubmenu:g,children:(0,Lt.L)(t,h?T:r?F:E)}})(e);return(e=>n.createElement(We,{value:e.isSubmenu},e.children))(t)};Ht.displayName="MenuTrigger",Ht.isFluentTriggerComponent=!0;const Gt=(0,o.n)({portalAbove:{zIndex:999},portalBelow:{zIndex:99999}}),zt=e=>{const t=e.itemProps,r=(e=>{const[t,r]=n.useState(!1),o=(0,H.jP)(),i=(0,H.fH)();return{hasIcons:e?.items[0]?.sectionProps?.items.some((e=>void 0!==e.iconProps)),onOpenChange:(n,a)=>{if(a.open&&(!o||!t))return r(a.open),void e?.onMenuOpened?.();n&&"Tab"===n.key?r(!0):!a.open&&t&&(i&&e?.onMenuDismissed?.(),r(a.open))},positioning:{autoSize:!0},open:t}})(t.subMenuProps),o=Ee(t),i=Be(),a=Gt(),s=(0,H.dJ)();return n.createElement(_t,{mountNode:{className:a.portalBelow},...r},t.split?n.createElement(Mt,null,n.createElement(Pt,{...o,shortcutMetadata:e.shortcutMetadata}),n.createElement(Ht,{disableButtonEnhancement:!0},n.createElement(Pt,{icon:null,className:i.splitButton,shortcutMetadata:e.shortcutMetadata,"aria-label":s?t.ariaLabel:void 0}))):n.createElement(Ht,null,n.createElement(Pt,{...o,hasSubmenu:!0,shortcutMetadata:e.shortcutMetadata})),t.subMenuProps?.items?n.createElement(oe,null,n.createElement(se,{className:i.subMenu},t.subMenuProps.items.map((t=>n.createElement(Vt,{itemProps:t,onDismiss:e.onDismiss,shortcutMetadata:e.shortcutMetadata}))))):n.createElement(n.Fragment,null))},Ut=e=>{const t=k((e=>e.setOpen)),r=(0,H.IX)(),o=(0,H.fH)();return r||o?n.createElement("div",{onClick:0===e.onDismiss?.length?void 0:e=>{t(e,{open:!1,keyboard:void 0,bubble:!0,type:"menuItemClick",event:e})}},e.itemProps.onRender?.(e.itemProps,e.onDismiss?e.onDismiss:()=>{})):e.itemProps.onRender?.(e.itemProps,e.onDismiss?e.onDismiss:()=>{})},Vt=e=>{const t=e.itemProps,r=e.onDismiss,o=Be(),i=(0,c.Bi)("menu-item-section"),a=t.data&&"persistOnClick"in t.data;if(t.data&&!a)return n.createElement(Ut,{itemProps:t,onDismiss:r});if(t.itemType===le.G.Header){const e=(e=>{const t=e.text||e.name;return"string"==typeof t?t:e.key})(t);return e?n.createElement(fe,{className:o.menuGroupHeader},e):null}if(t.itemType===le.G.Divider){const e=Ee(t);return n.createElement(be,{className:o.divider,...e})}if(t.itemType===le.G.Section){const a=t.sectionProps,s=(e=>{const t=e.sectionProps?.title;return"string"==typeof t?t:t?.text})(t),l=a?.topDivider?n.createElement(be,{className:o.divider}):null,u=a?.bottomDivider?n.createElement(be,{className:o.divider}):null,c=s?n.createElement(fe,{className:o.menuGroupHeader},s):null,d=n.createElement(ye,null,c,a?.items.map(((t,o)=>n.createElement(Vt,{key:`${i}-${o}`,itemProps:t,onDismiss:r,shortcutMetadata:e.shortcutMetadata}))));return n.createElement(n.Fragment,null,l,d,u)}if(t.subMenuProps)return n.createElement(zt,{itemProps:t,onDismiss:r,shortcutMetadata:e.shortcutMetadata});const s=Ee(t);if(t.ariaDescription){const r=(0,ue.l)(),i=n.createElement(Pt,{className:t.checked?o.checked:void 0,...s,shortcutMetadata:e.shortcutMetadata});return r?n.createElement(ce.K,{label:t.ariaDescription,customTooltip:t.ariaDescription,showTooltip:!0,directionalHint:9},i):n.createElement(Se.m,{content:t.ariaDescription,relationship:"description",positioning:"before",withArrow:!0},i)}return n.createElement(Pt,{className:t.checked?o.checked:void 0,...s,shortcutMetadata:e.shortcutMetadata})};var jt=r(44366),qt=r(94991);const $t=n.forwardRef(((e,t)=>{const r=(e=>{const t=Gt(),r=(0,qt.h)(e.mountNode);return r.className=(0,J.z)("above"===e.position?t.portalAbove:t.portalBelow,r.className),D({...e,mountNode:r})})(e),o=Rt(r);return n.createElement("div",{"data-unique-id":e.dataUniqueId},Dt(r,o))}));var Qt=r(75296),Xt=r(35070),Yt=r(37971),Jt=r(16594);const Zt=n.memo(n.forwardRef(((e,t)=>{const r=(e=>{const t=e.items,r=n.useContext(M.B),o=(0,H.NJ)(),i=(0,H.IX)(),a=(0,H.Y_)(),l=n.useRef(null),u=e.contextMenuRef?.current?.dataset?.popperPlacement,c=a?"top-start"===u||"top-end"===u?"above":"below":void 0,d=(0,H.Om)(),p=(0,H.PT)(),h=!!(0,B.i2)(r,B.PE.appFlyoutAnchorRestoreFocusFixEnabled),{findFirstFocusable:g}=s(),m=D({...e,open:!e.hidden,closeOnScroll:!1}),f=G();return t?.findIndex((e=>void 0===e))>=0&&r?.logger?.onMessage(`AppContextualMenu with id ${e.id} attempting to render an undefined item`),n.useEffect((()=>{!e.hidden&&l.current&&i&&!e.positionAndHide&&(0,O.z)((()=>{const e=g(l.current);e?.focus()}))}),[e.hidden,g,i,e.positionAndHide]),{...e,...m,appMenuItems:t,appMenuPopoverProps:{id:e.id,ref:e.contextMenuRef?e.contextMenuRef:void 0,className:e.className,...p&&{onContextMenu:t=>!e.openOnContext&&t.preventDefault()},...h&&{onKeyDown:n.useCallback((e=>{e.stopPropagation()}),[])}},appMenuListProps:{},positioning:{positioningRef:W(e),unstable_disableTether:"all"},preventDismissOnTargetClick:!0,listRef:l,findFirstFocusable:g,isV9MenuAutoDismissFixEnabled:o,hiddenMenuStyle:f,isDispatchOptimizationEnabled:i,menuPosition:c,id:(v=e.id,b=e.interactivityTrackerContext,d&&"FileMenuFlyoutLauncherDropdown"===v&&"FileMenuFlyoutLauncherDropdown"===b?"file-menu":"context-menu")};var v,b})(e);return(e=>{const{appMenuItems:t,shortcutMetadata:r}=e,o=n.useContext(M.B),i=!!(0,B.i2)(o,B.PE.headlessThemingEnabled),a=n.createElement(n.Fragment,null,n.createElement(jt.y,{elementTimingId:e.id,hidden:e.hidden||e.positionAndHide,interactivityTrackerContext:e.interactivityTrackerContext}),n.createElement($t,{open:!!e.isDispatchOptimizationEnabled||e.open,positioning:e.positioning,onOpenChange:e.hidden&&e.isDispatchOptimizationEnabled?void 0:(t,r)=>{e.preventDismissOnTargetClick&&"clickOutside"===r.type&&(0,Qt.s)(e.target?.current,r.event.target)||(e.isV9MenuAutoDismissFixEnabled&&e.calloutProps?.preventDismissOnLostFocus&&"clickOutside"===r.type?e.listRef.current&&e.findFirstFocusable(e.listRef.current)?.focus():r.open||t&&"Tab"===t.key||e.onDismiss?.(t,!0))},hasIcons:!0,position:e.menuPosition,dataUniqueId:"v9-context-menu"},n.createElement(oe,{...e.appMenuPopoverProps,className:e.hidden&&e.isDispatchOptimizationEnabled||e.positionAndHide?e.hiddenMenuStyle?.root:void 0},n.createElement(se,{ref:e.listRef,...e.appMenuListProps},t?.map((t=>n.createElement(Vt,{itemProps:t,shortcutMetadata:r,onDismiss:e.onDismiss})))))));return i?n.createElement(Yt.o,null,a):n.createElement(Xt.q,{theme:Jt.o3.getInstance().getThemeNext()},a)})(r)})));Zt.displayName="next/AppContextualMenu"},51974:(e,t,r)=>{"use strict";r.d(t,{l:()=>o,q:()=>i});var n=r(10477);const o={},i=n.createContext(o);i.displayName="MenuAnchorContext"},66619:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});const n={items:[]}},97014:(e,t,r)=>{"use strict";r.d(t,{Tp:()=>O,N9:()=>M});var n=r(39398),o=r(83082),i=r(72341),a=r(82802),s=r(97130),l=r(75744),u=r(85963),c=r(4749),d=r(10477),p=r(31781),h=r(90044);const g=(0,h.J9)((e=>(0,n.l8)({container:{overflow:"hidden auto",paddingTop:8,width:367,height:370,selectors:{"@media screen and (max-height: 256px)":{display:"none"},img:{borderRadius:4}}},header:{padding:"20px 18px 12px"},footer:{},root:{display:"flex",flexDirection:"column",listStyleType:"none",maxHeight:e?720:504}}))),m=e=>{const{headerProps:t,footerProps:r,menuListProps:n,defaultRender:o,containerRef:i,theme:a,expandMaxHeight:s}=e,l=t&&n.defaultMenuItemRenderer({...t,index:-1,focusableElementIndex:-1,totalItemCount:1,hasCheckmarks:!1,hasIcons:!1}),u=n.defaultMenuItemRenderer({...r,index:-1,focusableElementIndex:-1,totalItemCount:1,hasCheckmarks:!1,hasIcons:!0}),c=g(s),h={"--border-color":(0,p.C)(a).borderColor,"--scroll-background":"transparent"};return d.createElement("div",{className:c.root,style:h},l&&d.createElement("div",{className:c.header},l),d.createElement("div",{className:c.container,ref:i},o(n)),d.createElement("div",{className:c.footer},u))},f=e=>d.createElement(m,{...e});var v,b=r(7971),y=r(69284),S=r(16594);!function(e){e[e.Normal=0]="Normal",e[e.Footer=1]="Footer",e[e.Flex=2]="Flex",e[e.Header=3]="Header"}(v||(v={}));const C=e=>{const t=(0,p.C)(e);return{item:{backgroundColor:t.menuBackgroundColor},label:{color:(0,S.Q)()?t.menuItemTextColor:b.Z.menuItemTextColor}}},T=(e,t)=>{const r=(0,p.C)(e);return{divider:{margin:t===v.Footer?"3px 18px":t===v.Flex?"8px 0px 8px 18px":"3px 8px",backgroundColor:(0,S.Q)()?t?r.borderColor:r.menuDividerBackgroundColor:"#E5E5E5",display:"block",height:t===v.Footer?.8:1,position:"relative",[n.up]:{backgroundColor:"ButtonText"}}}},k=(0,h.J9)((e=>(0,n.l8)({divider:{},root:{},linkContent:{},icon:{},checkmarkIcon:{},secondaryText:{},subMenuIcon:{},splitContainer:{},splitPrimary:{},splitMenu:{},linkContentMenu:{},screenReaderText:{}},C(e)))),F=(0,h.J9)(((e,t)=>r=>(0,n.l8)({root:{},linkContent:{},icon:{},checkmarkIcon:{},secondaryText:{},subMenuIcon:{},splitContainer:{},splitPrimary:{},splitMenu:{},linkContentMenu:{},screenReaderText:{}},C(r),T(r,t),e))),E={container:{overflow:"hidden",maxHeight:"100%",display:"flex",padding:0},root:{display:"flex"},list:{},header:{paddingLeft:18},title:{},subComponentStyles:{callout:{},menuItem:{}}},A={calloutMain:{overflow:"hidden",minWidth:"fit-content"},root:{maxWidth:"fit-content"}},I=(e=(0,n.O4)(),t,r)=>{const o=(0,p.C)(e),i=e.rtl,a={root:{float:"left",border:"none",background:"none !important",color:e.palette.themePrimary??"#0078D4",cursor:"pointer",fontSize:"12px",marginBottom:"2px",marginLeft:"-11px",display:"flex",alignItems:"center",gap:"6px",":hover":{textDecoration:"underline",cursor:"pointer"},":focus":{},"& i":{display:"none !important"}},linkContent:{display:"flex",alignItems:"center",gap:"6px",height:"32px",backgroundColor:"transparent",fontSize:"12px",fontWeight:"600",paddingRight:"4px"},label:{flexGrow:0,lineHeight:"unset"},icon:{width:"16px",height:"16px",display:"flex",padding:"0"}},s=2===t&&0===r?a:{};return(0,n.l8)({item:{direction:i?"ltr":"rtl",margin:"16px 18px",float:2===t?0===r?"left":"right":void 0},root:{position:"relative",direction:i?"rtl":"ltr",padding:"0px 12px",height:"unset",width:"unset",borderRadius:4,border:`1px solid ${o.borderColor}`},linkContent:{display:"flex",gap:"6px",height:32,backgroundColor:"transparent",fontSize:13,fontWeight:600,position:"relative",alignItems:"center",paddingRight:4},label:{flexGrow:0,lineHeight:"unset"},icon:{width:"16px",height:"16px",display:"flex",padding:"0"},checkmarkIcon:{},secondaryText:{},subMenuIcon:{},screenReaderText:{}},s)},x=((0,h.J9)((e=>t=>(0,n.l8)({item:{},label:{},root:{},linkContent:{},icon:{},checkmarkIcon:{},secondaryText:{},subMenuIcon:{},splitContainer:{},splitPrimary:{},splitMenu:{},linkContentMenu:{},screenReaderText:{}},T(t),e))),(0,h.J9)((e=>(0,n.l8)({item:{},label:{},divider:{},root:{},linkContent:{},icon:{},checkmarkIcon:{},secondaryText:{},subMenuIcon:{},splitContainer:{},splitPrimary:{},splitMenu:{},linkContentMenu:{}},e))),(e,t)=>(0,h.J9)((()=>{let r={...(0,n.l8)({container:[{whiteSpace:"nowrap",paddingTop:4,paddingBottom:4,selectors:{":focus":{outline:0}}},y.Gy],list:{listStyleType:"none",margin:0,padding:0,lineHeight:0},header:{fontSize:14,fontWeight:n.BO.semibold,padding:"0px 12px",userSelect:"none",height:32,lineHeight:32,cursor:"default"},root:{overflow:"hidden"},title:{}},e),subComponentStyles:{menuItem:{},callout:{}}};return t&&(r={...r,root:`${r.root} ${t}`}),r})));let w="";const P=(0,h.J9)(((e,t,r)=>{if(r){w=(0,p.C)(e).menuBackgroundColor;const r=e=>{const r=R(w);return(0,n.l8)("function"==typeof t?t(e):t,r)};return r}const o=(0,p.C)(e).menuBackgroundColor,i={root:[y.$V,{border:"none"}],calloutMain:[{width:"calc(100% + 2px)",selectors:{[n.up]:{width:"100%"}}},(0,S.Q)()&&{backgroundColor:o}]};return e=>(0,n.l8)("function"==typeof t?t(e):t,i)})),R=(0,h.J9)((e=>({root:[y.$V,{border:"none"}],calloutMain:[{width:"calc(100% + 2px)",selectors:{[n.up]:{width:"100%"}}},(0,S.Q)()&&{backgroundColor:e}]})));function D(e,t,r,n){const{controlInMenuRendererFunction:o,location:i,onSubMenuPositioned:s,subComponentStyles:l,arePerfImprovementsEnabled:c,onMenuPositioned:d,onMenuItemExecuted:p,terminalParentControlId:h,useFullDescriptionLabelOnly:g,customMenuItemStyles:m,menuDefinition:f,isExperimentalFeatureEnabled:b}=r,y="header"===t,S="footer"===t,C=!y&&!S;let T=o({controlProps:e.controls,location:i,onSubMenuPositioned:s,subComponentStyles:l,arePerfImprovementsEnabled:c,onMenuPositioned:d,onMenuItemExecuted:p,terminalParentControlId:h,...C&&{useFullDescriptionLabelOnly:g,customMenuItemStyles:m},...S&&{footerItemStyles:I},isExperimentalFeatureEnabled:b});const k=b?.(u.PE.undefinedMenuItemFixEnabled);return k&&Array.isArray(T)&&(T=T.filter((e=>!!e))),{key:`section-${t}`,itemType:a.G.Section,getItemClassNames:F(l,y?v.Header:S?v.Footer:f?.isFlexLayout?v.Flex:void 0),itemProps:{lang:e.lang},sectionProps:{title:!_(e)&&e.title?{text:e.title,key:`section-${t}-title`,itemType:a.G.Header,itemProps:{lang:e.lang}}:void 0,...C&&{bottomDivider:n},...S&&{topDivider:!0,bottomDivider:!1},items:T}}}function _(e){return 0===e.controls.length}function N(e,t){let r=[];const{menuDefinition:n,isExperimentalFeatureEnabled:o}=e;if(!n)return[];n.title&&(r=r.concat({name:n.title,key:"menu-title",itemType:a.G.Header,getItemClassNames:k})),n.sections.forEach(((i,a)=>{let s=a<n.sections.length-1&&!_(n.sections[a+1])&&!(t&&t(a,n.sections.length-1));if(o&&o("Microsoft.Office.SharedOnline.AddinFlyoutLineDividerEnabled")&&n.isFlexLayout&&i&&i.controls){const e=a===n.sections.length-1;s=i.controls.some((e=>e.id?.startsWith("MRUAddins")))&&!e}r=r.concat(D(i,a,e,s))})),n.footer&&!n.isFlexLayout&&r.push(D(n.footer,"footer",e));const i=o?.(u.PE.undefinedMenuItemFixEnabled);return i?r.filter((e=>!!e)):r}function O(e,t=!0,r,a){const{menuDefinition:u,customMenuClassNames:p,onMenuPositioned:h,isExperimentalFeatureEnabled:g}=e,m=u&&u.focusZoneProps||{direction:s.E.bidirectional,checkForNoWrap:!0,"data-no-horizontal-wrap":"true"},v=e.theme||(0,n.O4)(),b={items:N(e,void 0),isBeakVisible:!1,directionalHintFixed:t,focusZoneProps:{...m},getMenuClassNames:x(u?.footer&&u.isFlexLayout?(0,n.l8)(E,p):p,a),ariaLabel:u?u.ariaLabel:"",calloutProps:{minPagePadding:0,styles:P(v,u?.footer&&u.isFlexLayout?(0,n.l8)(A,p?.subComponentStyles?.callout):p?.subComponentStyles?.callout),onPositioned:()=>h&&h(u)},bounds:e.isMultiWindowSupportEnabled?(0,l.W)(r):c.HN};if(u?.footer&&u.isFlexLayout){const t=d.createRef();if(b.onRenderMenuList=(r,n)=>u.footer&&r&&n?f({theme:v,menuListProps:r,defaultRender:n,containerRef:t,headerProps:u?.header?D(u.header,"header",e):void 0,footerProps:D(u.footer,"footer",e),expandMaxHeight:!!g?.("Microsoft.Office.SharedOnline.AddinFlyoutMaxHeightEnabled")}):n?.(r)||null,b.focusZoneProps&&(b.focusZoneProps.shouldEnterInnerZone=e=>e.which===(0,o.SM)(i.c.right)),b.calloutProps){const e=b.calloutProps.onPositioned;b.calloutProps.onPositioned=r=>{const n=t.current;return n&&(n.scrollTop=0),e?.(r)},b.calloutProps.calloutWidth=360,b.calloutProps.calloutMaxWidth=360}}return b}function M(e,t){const{menuDefinition:r,onSubMenuPositioned:o,isExperimentalFeatureEnabled:i}=e,a=e.theme||(0,n.O4)(),s=i?.("SharedOnline.ChangeGate.SubmenuThemingColorChangeEnabled");return{...O(e,void 0),directionalHintFixed:void 0,calloutProps:{styles:P(a,r?.footer&&r.isFlexLayout?A:void 0,s),onPositioned:()=>o&&o(r,t)},id:t+"MenuId"}}},28980:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(9236);function o(e,t){const r=e,o={...r,role:r.roleInMenu??r.role??"menuitem"};return"dismissHostingSurfaceOnExecute"in e&&!1===e.dismissHostingSurfaceOnExecute?o:{...o,onExecute:(0,n.Q)(r.onExecute,t)}}},68336:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=(0,r(90044).J9)((e=>()=>e(void 0,!0)))},97439:(e,t,r)=>{"use strict";r.d(t,{k:()=>n});const n=e=>{if(!e)return;const t=function(e){if(!(void 0===e||e.length<2||"{"!==e[0]&&"["!==e[0]||"}"!==e[e.length-1]&&"]"!==e[e.length-1]))try{return JSON.parse(e)}catch(e){return}}(e);return void 0===t||void 0===t.parts||0===t.parts.length?e:t.parts.map((({Text:e})=>e)).join("")}},97177:(e,t,r)=>{"use strict";r.d(t,{J:()=>s});var n=r(90044),o=r(19094),i=r(4749);const a={x:19,y:17},s=(0,n.J9)(((e,t)=>{if(e)return{offset:a,...e,onExecute:t,onReturn:o.F4,calloutProps:{gapSpace:0,...e.calloutProps,bounds:i.HN}}}))},44366:(e,t,r)=>{"use strict";r.d(t,{y:()=>s});var n=r(10477),o=r(57674),i=r(99552);class a{static get isElementTimingSupported(){return void 0===a._isElementTimingSupported&&(a._isElementTimingSupported=a.calcIsElementTimingSupported()),a._isElementTimingSupported}static setIsElementTimingSupportedTestHook(e){a._isElementTimingSupported=e}static calcIsElementTimingSupported(){return!("undefined"==typeof window||(window.PerformanceObserver?.supportedEntryTypes||[]).indexOf("element")<0)&&"elementTiming"in new Image}static getElementAttributes(e,t,r,n,o){if(r||!Boolean(e)||!a.isElementTimingSupported||!(0,i.aD)(e))return null;const s={elementtiming:e,"data-ui-mutation-time":performance.now().toString(),"data-ui-mutation-context-value":n??"",style:{position:a.elementPosition,top:a.elementTop,left:a.elementLeft,fontSize:a.elementFontSize,userSelect:a.elementUserSelect,overflow:a.elementOverflow,zIndex:a.elementZIndex,pointerEvents:a.elementPointerEvents}};return t||(s.style.color=a.elementColor),o&&(s["data-ui-mutation-remove-element"]=!0),s}static getReactElement(e,t,r,o){const i=this.getElementAttributes(e,t,o,r);return i?n.createElement(a.elementType,i,a.innerText):null}static getHTMLElement(e,t,r,n,o){const i=this.getElementAttributes(e,t,r,n,o);if(!i)return null;const s=document.createElement(a.elementType);return s.innerText=a.innerText,Object.keys(i).forEach((e=>{const t=i[e];"style"===e?Object.keys(t).forEach((e=>{"string"==typeof i.style[e]&&(s.style[e]=i.style[e])})):!0===t?s.setAttribute(e,"true"):s.setAttribute(e,t)})),s}}a.elementType="p",a.innerText=".",a.elementPosition="fixed",a.elementTop="0px",a.elementLeft="0",a.elementColor="transparent",a.elementFontSize="1px",a.elementUserSelect="none",a.elementOverflow="hidden",a.elementZIndex="-1",a.elementPointerEvents="none",a._isElementTimingSupported=void 0;class s extends n.PureComponent{render(){const{elementTimingId:e,hidden:t=!1,interactivityTrackerContext:r}=this.props;let n;return this.context?.isExperimentalFeatureEnabled?n=this.context?.isExperimentalFeatureEnabled:this.fromWrapper||(n=this.props.isChangeGateEnabled),a.getReactElement(e,!!n?.("SharedOnline.ChangeGate.OfficeVSO_9513221_removeTransparantStyle"),r,t)}constructor(e,t){super(e),this.fromWrapper=!1,this.fromWrapper=!0===t}}s.contextType=o.B},39482:(e,t,r)=>{"use strict";r.d(t,{OW:()=>h});var n,o=r(10477),i=r(64608),a=r(29305),s=r(82015),l=r(24077),u=r(31976),c=r(90044),d=r(57674),p=r(85963);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(n||(n={}));const h=o.createContext({isMeasured:!1});h.displayName="MeasuredContext";const g={position:"absolute",visibility:"hidden"},m={position:"relative"};class f extends i.${static getDerivedStateFromProps(e,t){if(t.prevProps!==e){const{data:r}=t.prevProps,{data:n,onBatchScaleData:o}=e,{renderedData:i}=t;if(!e.dataNeedsMeasuring&&n&&r&&r.cacheKey&&n.cacheKey===r.cacheKey&&o&&void 0!==n.appliedScalingStepCount&&i&&void 0!==i.appliedScalingStepCount){const t=o({...n},i.appliedScalingStepCount);if(t&&t.cacheKey===i.cacheKey)return{renderedData:t,measureContainer:!0,prevProps:e}}return{dataToMeasure:{...n},prevProps:e,resizeDirection:"grow",measureContainer:!0}}return null}shouldComponentUpdate(e,t){const r=(0,a.ab)(this.props,e);return!(!1===t.measureContainer&&r&&(0,a.ab)({...this.state,measureContainer:!1},t)||r&&(0,a.ab)(this.state,t))}render(){const{className:e,onRenderData:t,measureContentVisibly:r}=this.props,{dataToMeasure:n,renderedData:i}=this.state,a=(0,s.G1)(this.props,s.JM,["data"]),l=this._nextResizeGroupStateProvider.shouldRenderDataForMeasurement(n)||this.props.dataNeedsMeasuring&&n,u=!this.hasRenderedContent()&&l;return o.createElement("div",{...a,className:e,ref:this._root},o.createElement("div",{style:r?void 0:m},l&&!u&&o.createElement("div",{style:r?void 0:g,ref:this._updateHiddenDiv},o.createElement(h.Provider,{value:{isMeasured:!0}},t(n))),o.createElement("div",{ref:this._initialHiddenDiv,style:u&&!r?g:void 0,"data-unique-id":"visibleContent"},o.createElement(h.Provider,{value:v(!this.hasRenderedContent())},u?t(n):i&&t(i)))))}componentDidMount(){this.resizeWindow=this.context.appWindow??window,this.events=new l.g(this.resizeWindow),this.async=new u.j(this.resizeWindow),this.resizeHandler=this.async.debounce(this.onResize,16,{leading:!0}),this.events.on(this.resizeWindow,"resize",this.resizeHandler),this.afterComponentRendered(this.props.direction)}componentWillUnmount(){this.events?.off(this.resizeWindow,"resize",this.resizeHandler),this.resizeHandler=void 0,this.resizeWindow=void 0,this.async?.dispose(),this.events?.dispose()}componentDidUpdate(){this.state.renderedData&&this.props.dataDidRender&&this.props.dataDidRender(this.state.renderedData),this.afterComponentRendered(this.props.direction)}remeasure(){this._root.current&&this.setState({measureContainer:!0})}afterComponentRendered(e){this.async?.requestAnimationFrame((()=>{let t;if(this.state.measureContainer&&this._root.current){const r=this._root.current.getBoundingClientRect();t=e&&e===n.vertical?r.height:r.width}const r=this._nextResizeGroupStateProvider.getNextState(this.props,this.state,this.props.measureRenderedContent?this.props.measureRenderedContent:()=>{const t=this.hasRenderedContent()?this._updateHiddenDiv:this._initialHiddenDiv;return t.current?e&&e===n.vertical?t.current.scrollHeight:t.current.scrollWidth:0},t);r&&!this.props.measureContentVisibly?this.setState(r):this.props.onAfterScalingComplete?.(this.state.renderedData)}),this.context.isExperimentalFeatureEnabled?.(p.PE.multiWindowSupportIsEnabled)?this._root.current:void 0)}hasRenderedContent(){return!!this.state.renderedData}constructor(e){super(e),this._nextResizeGroupStateProvider=((e=(()=>{const e={};return{getCachedMeasurement:t=>t&&t.cacheKey&&e.hasOwnProperty(t.cacheKey)?e[t.cacheKey]:t?.estimatedWidth,addMeasurementToCache:(t,r)=>{t.cacheKey&&(e[t.cacheKey]=r)}}})())=>{const t=e;let r;function n(e,r,n){const o=t.getCachedMeasurement(e);if(void 0!==o&&!n)return o;const i=r();return t.addMeasurementToCache(e,i),i}function o(e,o,i,a,s){let l=e,u=n(e,i,s);for(;u>r||a&&!a(l);){const e=o(l,u);if(void 0===e)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};const n=!(u>r);if(u=t.getCachedMeasurement(e),void 0===u||s&&n)return{dataToMeasure:e,resizeDirection:"shrink"};l=e}return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0}}function i(e,i,a,s,l,u){let c=e,d=n(e,a,u);for(;d<r;){const r=i(c);if(void 0===r){if(l&&!l(e))break;return{renderedData:c,resizeDirection:void 0,dataToMeasure:void 0}}if(d=t.getCachedMeasurement(r),void 0===d)return{dataToMeasure:r};c=r}return{resizeDirection:"shrink",...o(c,s,a,l)}}function a(e,t,n,o){let i;return i=e===r?{}:e>r?o?{resizeDirection:"grow",dataToMeasure:o(n)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:n},r=e,{...i,measureContainer:!1}}return{getNextState:function(e,t,n,s){if(void 0===s&&void 0===t.dataToMeasure)return;if(s){if(r&&t.renderedData&&!t.dataToMeasure)return{...t,...a(s,e.data,t.renderedData,e.onGrowData)};r=s}let l={...t,measureContainer:!1};return t.dataToMeasure&&(l="grow"===t.resizeDirection&&e.onGrowData?{...l,...i(t.dataToMeasure,e.onGrowData,n,e.onReduceData,e.isScalingComplete,e.dataNeedsMeasuring)}:{...l,...o(t.dataToMeasure,e.onReduceData,n,e.isScalingComplete,e.dataNeedsMeasuring)}),l},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==t.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:{...e.data},prevProps:e,resizeDirection:"grow",measureContainer:!0}}}})(),this._root=o.createRef(),this._initialHiddenDiv=o.createRef(),this._updateHiddenDiv=o.createRef(),this.resizeHandler=void 0,this.events=void 0,this.async=void 0,this.resizeWindow=void 0,this.onResize=()=>{this._root.current&&this.setState({measureContainer:!0})},this.state=this._nextResizeGroupStateProvider.getInitialResizeGroupState(this.props),this._warnDeprecations({styles:"className"})}}f.contextType=d.B;const v=(0,c.J9)((e=>({isMeasured:e})))},9472:(e,t,r)=>{"use strict";r.d(t,{R:()=>I});var n=r(10477),o=r(90044),i=r(39398),a=r(37308),s=r(42955),l=r(40480),u=r(57674),c=r(47163),d=r(99984),p=r(14274),h=r(72272),g=r(40453),m=r(20955),f=r(75484),v=r(36536),b=r(95902);const y=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,label:n,onRenderText:o,size:i,variant:a,variantId:s}=e,l=(0,h.h)({...e,children:(0,g.T)(n,i,o,(0,f.JU)(i)),dataAutomationType:r??"RibbonButton"},t);return(0,m.Z)(l,a,s),l})({...e,size:e.size?.toLowerCase()},t);return(0,v.C)(r),n.createElement(b.K,{...e},(0,p.e)(r))})));y.displayName="next/RibbonButton";var S=r(35989),C=r(97069),T=r(95033);const k=n.lazy((()=>Promise.resolve().then(r.bind(r,43794)))),F=(0,o.J9)(((e,t,r)=>(0,i.TW)(e,t,r)));class E extends n.PureComponent{render(){const e=(0,S.mB)(this.props.textContainerInitialWidth,this.props.textContainerFinalWidth,this.props.hideLabel);return n.createElement(l.V,null,(t=>n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(k,{...this.props,ref:this.appButton,styles:F((0,a.P)(t),e,this.props.styles),onRenderText:this.props.onRenderText||(0,d.x)(this.props.size),dataAutomationType:this.props.dataAutomationType||"RibbonButton"}))))}focus(){this.appButton&&this.appButton.current&&this.appButton.current.focus()}constructor(){super(...arguments),this.appButton=n.createRef()}}const A=(0,c.H)((0,C.B)())(E);A.displayName="RibbonButtonCurrent";const I=n.forwardRef(((e,t)=>{const r=n.useContext(u.B),o=(0,T.I)();return!(0,s.V4)(r.isExperimentalFeatureEnabled)&&!o||e.useLegacyButton?n.createElement(A,{ref:t,...e}):n.createElement(y,{ref:t,...e})}));I.displayName="RibbonButton"},35989:(e,t,r)=>{"use strict";r.d(t,{WN:()=>a,dQ:()=>l,iV:()=>s,mB:()=>u,mz:()=>i});var n=r(39398),o=r(90044);const i=50,a=350,s={exit:"ribbonButtonLabel-exit",exitActive:"ribbonButtonLabel-exit-active",enter:"ribbonButtonLabel-enter",enterActive:"ribbonButtonLabel-enter-active",enterDone:"ribbonButtonLabel-enter-done"},l={root:{selectors:{[n.up]:{borderColor:"transparent"}}}},u=(0,o.J9)(((e,t,r)=>{let o;return o=r?{[`.${s.enter}:not(.${s.enterActive}) & .ms-Button-icon`]:{marginRight:null!=e?`${e}px`:void 0},[`.${s.enterActive} & .ms-Button-icon`]:{transition:"margin-right 300ms cubic-bezier(0.1, 0.9, 0.2, 1)",marginRight:null!=t?`${t}px`:void 0}}:{[`.${s.enter}:not(.${s.enterActive}) & .ms-Button-textContainer`]:{maxWidth:null!=e?`${e}px`:void 0,opacity:0},[`.${s.enterActive} & .ms-Button-textContainer`]:{opacity:1,maxWidth:null!=t?`${t}px`:void 0,transition:"max-width 300ms cubic-bezier(0.1, 0.9, 0.2, 1), opacity 50ms linear 300ms"}},{root:{selectors:{[`.${s.exit} & .ms-Button-textContainer`]:{opacity:1},[`.${s.exit}.${s.exitActive} & .ms-Button-textContainer`]:{opacity:0,transition:"opacity 50ms linear"},[n.up]:{border:"1px solid transparent",...(0,n.Qg)()},...o},display:"inline-block"},splitButtonMenuButton:{selectors:{[n.up]:{border:"1px solid transparent"}}},textContainer:"ms-Button-textContainer",icon:"ms-Button-icon"}}))},97069:(e,t,r)=>{"use strict";r.d(t,{B:()=>s});var n=r(20603),o=r(35989);const i=".ms-Button-textContainer",a={className:o.iV,inDuration:o.WN,outDuration:o.mz};function s(){return{shouldAnimate:l,getInitialInState:u,getDataFromHiddenRender:h,getInState:c,getCacheKeyForHiddenRender:p,getOutState:g,shouldAnimateOut:d,transition:a}}function l(e){return!!e.animate}function u(e){return{state:{hideLabel:e.hideLabel}}}function c(e,t,r,n){const o=r.querySelector(i);return{animationProps:{textContainerInitialWidth:o&&o.clientWidth||0,textContainerFinalWidth:n.finalWidth||0},state:{hideLabel:e.hideLabel}}}function d(e,t){return!!t.state.hideLabel!=!!e.hideLabel}function p(e){return(0,n.is)(e)}function h(e){const t=e.querySelector(i);return{finalWidth:t&&t.clientWidth||0}}function g(e,t){return{offsetExitedProps:{hideLabel:t.state.hideLabel},hiddenPropOverrides:{animate:!1}}}},36536:(e,t,r)=>{"use strict";r.d(t,{C:()=>p,F:()=>d});var n=r(55056),o=r(84105),i=r(26838),a=r(59761),s=r(17297),l=r(75484);const u=(0,n.n)({small:{...o.Pt.padding("1px"),minHeight:"24px",minWidth:"24px"},large:{height:"72px",paddingTop:"3px",paddingRight:"1px",paddingBottom:"1px",paddingLeft:"1px"}}),c=(0,n.n)({small:{minHeight:"24px",minWidth:"24px"},large:{height:"72px"}}),d=e=>{const t=u(),r=c();(0,s.G)()?e.root.className=(0,i.z)((0,l.uo)(e.size,r),e.root.className):e.root.className=(0,i.z)((0,l.uo)(e.size,t),e.root.className),(0,l.jA)(e)},p=e=>(d(e),(0,a.B)(e),e)},20955:(e,t,r)=>{"use strict";function n(e,t,r){void 0!==t&&(e.variant=t),void 0!==r&&(e.variantId=r)}r.d(t,{Z:()=>n})},40453:(e,t,r)=>{"use strict";r.d(t,{T:()=>l});var n=r(10477),o=r(26838),i=r(18550),a=r(85631),s=r(75334);const l=(e,t,r,l)=>{if(!t&&r)return r();if(t?.toLowerCase()===i.J.Large.toLowerCase())return(0,s.m)(e,l);const u=(0,o.z)(a.Mb,l);return n.createElement("span",{className:u},e)}},82826:(e,t,r)=>{"use strict";r.d(t,{w:()=>ue});var n=r(10477),o=r(39398),i=r(57674),a=r(42955),s=r(17297),l=r(56021),u=r(2483),c=r(39850),d=r(27927),p=r(6813),h=r(43839),g=r(87513),m=r(82502),f=r(53386),v=r(54116),b=r(95629);const y=(0,b.U)("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),S=(0,b.U)("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]);var C=r(81257),T=r(68541),k=r(79036),F=r(10191),E=r(51641),A=r(37241),I=r(27917),x=r(20203),w=r(1290),P=r(21609),R=r(55056),D=r(69287),_=r(77675),N=r(26838);const O="fui-Checkbox__indicator",M=(0,D.y)("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),B=(0,_.X)({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),L=(0,D.y)("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),K=(0,_.X)({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),W=(0,D.y)("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),H=(0,_.X)({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),G=(0,_.X)({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]});var z=r(84105);const U=(0,R.n)({unchecked:{[`> .${O}`]:{backgroundColor:P.k.colorNeutralBackground1,...z.Pt.borderColor(P.k.colorNeutralStrokeAccessible),"> i":{opacity:0}},":hover":{[`> .${O}`]:{backgroundColor:P.k.colorNeutralBackground1Hover,...z.Pt.borderColor(P.k.colorNeutralStrokeAccessibleHover),color:P.k.colorNeutralForeground2Hover}},":active:hover":{[`> .${O}`]:{backgroundColor:P.k.colorNeutralBackground1Pressed,...z.Pt.borderColor(P.k.colorNeutralStrokeAccessiblePressed),color:P.k.colorNeutralForeground2Pressed}}},checked:{[`> .${O}`]:{backgroundColor:P.k.colorNeutralBackground1,...z.Pt.borderColor(P.k.colorNeutralStrokeAccessible),color:P.k.colorNeutralForeground2},":hover":{[`> .${O}`]:{backgroundColor:P.k.colorNeutralBackground1Hover,...z.Pt.borderColor(P.k.colorNeutralStrokeAccessibleHover),color:P.k.colorNeutralForeground2Hover}},":active:hover":{[`> .${O}`]:{backgroundColor:P.k.colorNeutralBackground1Pressed,...z.Pt.borderColor(P.k.colorNeutralStrokeAccessiblePressed),color:P.k.colorNeutralForeground2Pressed}}},disabledBase:{color:P.k.colorNeutralForegroundDisabled,[`> .${O}`]:{...z.Pt.borderColor(P.k.colorNeutralStrokeDisabled),color:P.k.colorNeutralForegroundDisabled}},disabledUnchecked:{[`> .${O}`]:{"> i":{opacity:0}}}}),V="--acui-AppIcon__color",j="--acui-AppIcon__fill",q=(0,R.n)({root:{color:`var(${V})`,fill:`var(${j})`}}),$=(0,R.n)({root:{alignItems:"center",display:"flex",justifyContent:"center"}});var Q=r(21266);const X=(e,t)=>{const{"aria-label":r,"aria-posinset":o,"aria-setsize":i,label:a,positionInSet:s,setSize:l}=e,b=(0,E.b)({...e,deriveKeytip:Q.l,hideLabel:!1},t,"AppCheckbox"),P=(e=>{const{checked:t=!1,id:r,location:o,onExecute:i}=e;return n.useCallback((()=>{i&&i({checked:!t,id:r,location:o})}),[t,r,o,i])})(e),R=(0,F.lj)(e),D=((e,t)=>{e=(0,u.c)(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:o,shape:i="square",size:a="medium",labelPosition:s="after",onChange:l}=e,[b,F]=(0,c.i)({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),E=(0,d.n)({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),A="mixed"===b,I=(0,p.Bi)("checkbox-",E.primary.id);let x;A?x="circular"===i?n.createElement(v.xeZ,null):"large"===a?n.createElement(S,null):n.createElement(y,null):b&&(x="large"===a?n.createElement(C.FUA,null):n.createElement(C.jvo,null));const w={shape:i,checked:b,disabled:r,size:a,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:T.J},root:h.Gk(e.root,{defaultProps:{ref:(0,k.R)(),...E.root},elementType:"span"}),input:h.Gk(e.input,{defaultProps:{type:"checkbox",id:I,ref:t,checked:!0===b,...E.primary},elementType:"input"}),label:h.lq(e.label,{defaultProps:{htmlFor:I,disabled:r,required:o,size:"medium"},elementType:T.J}),indicator:h.lq(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:x},elementType:"div"})};w.input.onChange=(0,g.D)((e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==l||l(e,{checked:t}),F(t)}));const P=(0,m.a)(w.input.ref);return w.input.ref=P,(0,f.E)((()=>{P.current&&(P.current.indeterminate=A)}),[P,A]),w})({...e,id:`${R}-input`,"aria-label":r??("string"==typeof a?a:void 0),"aria-posinset":o??s,"aria-setsize":i??l,onChange:P,type:"checkbox"},b);return((e,t)=>{const{dataAutomationType:r,dataNav:n,isMenuExpanded:o,isMenuItem:i}=e,a=(0,F.lj)(e);t.input={...t.input,"aria-expanded":o,"aria-haspopup":void 0!==o?"menu":void 0,"data-automation-type":r||"AppCheckbox","data-nav":n,"data-unique-id":`${a}-input`,role:i?"menuitemcheckbox":"checkbox"}})(e,D),((e,t)=>{const{checkmarkIcon:r,iconColor:o}=e,i=(0,I.e)(),a=((e,t,r)=>{e.root.style={[`${V}`]:r,[`${j}`]:r};const n=$(),o=q();return t&&r?(0,N.z)(n.root,o.root):n.root})(t,r,o);if(t.indicator){const e=(0,x.J)(r,o),s={root:{...e?.styles?.root??{},alignItems:"center",display:"flex",justifyContent:"center"}};t.indicator.children=i?n.createElement(w.z,{...e,className:a}):n.createElement(A.I,{...e,styles:s})}})(e,D),D};var Y=r(18550);const J=(0,R.n)({small:{},medium:{width:`calc(16px + 2 * ${P.k.spacingHorizontalSNudge})`},large:{width:`calc(20px + 2 * ${P.k.spacingHorizontalSNudge})`}}),Z=(0,R.n)({small:{},medium:{gap:P.k.spacingHorizontalXS,...z.Pt.margin(P.k.spacingHorizontalNone),...z.Pt.padding(P.k.spacingVerticalXXS,P.k.spacingHorizontalXS)},large:{gap:P.k.spacingHorizontalS,...z.Pt.margin(P.k.spacingHorizontalNone),...z.Pt.padding(P.k.spacingHorizontalSNudge)}}),ee=(0,R.n)({base:{...z.Pt.borderRadius(P.k.borderRadiusMedium)},small:{},medium:{...z.Pt.margin(P.k.spacingHorizontalXXS)},large:{...z.Pt.margin(P.k.spacingHorizontalNone)}}),te=(0,R.n)({base:{...z.Pt.padding(P.k.spacingVerticalNone)},small:{},medium:{fontSize:P.k.fontSizeBase200,...z.Pt.margin(P.k.spacingVerticalNone)},large:{lineHeight:"normal",...z.Pt.margin(P.k.spacingHorizontalNone)}}),re=e=>((e=>{const{size:t}=e,r=Z(),n=J(),o=ee(),i=te();e.root&&(e.root.className=(0,N.z)(r[t],e.root.className)),e.input&&(e.input.className=(0,N.z)(n[t],e.input.className)),e.indicator&&(e.indicator.className=(0,N.z)(o.base,o[t],e.indicator.className)),e.label&&(e.label.className=(0,N.z)(i.base,i[t],e.label.className))})(e),(e=>{const{checked:t,disabled:r}=e,n=U();e.root.className=(0,N.z)(!r&&!t&&n.unchecked,!r&&t&&n.checked,r&&(t?n.disabledBase:n.disabledUnchecked),e.root.className),(e=>{const{checked:t,disabled:r,labelPosition:n,shape:o,size:i}=e,a=M(),s=B();e.root.className=(0,N.z)("fui-Checkbox",a,r?s.disabled:"mixed"===t?s.mixed:t?s.checked:s.unchecked,e.root.className);const l=L(),u=K();e.input.className=(0,N.z)("fui-Checkbox__input",l,"large"===i&&u.large,u[n],e.input.className);const c=W(),d=H();e.indicator&&(e.indicator.className=(0,N.z)(O,c,"large"===i&&d.large,"circular"===o&&d.circular,e.indicator.className));const p=G();e.label&&(e.label.className=(0,N.z)("fui-Checkbox__label",p.base,p[i],p[n],e.label.className))})(e)})(e),e);var ne=r(24223),oe=r(29784);const ie=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,size:n}=e,o=(e=>e===Y.J.Small?"medium":"large")(n);return X({...e,dataAutomationType:r??"RibbonCheckbox",size:o},t)})(e,t);return re(r),((e,t)=>n.createElement("div",{id:e.id},(e=>((0,oe.C)(e),(0,ne.FD)(e.root,{children:[(0,ne.Y)(e.input,{}),"before"===e.labelPosition&&e.label&&(0,ne.Y)(e.label,{}),e.indicator&&(0,ne.Y)(e.indicator,{}),"after"===e.labelPosition&&e.label&&(0,ne.Y)(e.label,{})]})))(t)))(e,r)})));ie.displayName="next/RibbonCheckbox";var ae=r(95033);const se=n.lazy((()=>Promise.resolve().then(r.bind(r,88824))));class le extends n.PureComponent{render(){const e=(0,s.G)()&&!this.props.isMenuItem?(0,o.TW)((0,l.NI)(this.props.disabled,this.props.checked),this.props.styles):this.props.styles;return n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(se,{...this.props,styles:e,dataAutomationType:"RibbonCheckbox"}))}}const ue=n.forwardRef(((e,t)=>{const r=n.useContext(i.B),o=(0,ae.I)();return!(0,a.Eq)(r.isExperimentalFeatureEnabled)&&!o||e.useLegacyCheckbox?n.createElement(le,{ref:t,...e}):n.createElement(ie,{ref:t,...e})}))},92886:(e,t,r)=>{"use strict";r.d(t,{_:()=>bt});var n=r(10477),o=r(39398),i=r(39482),a=r(66152),s=r(17297),l=r(56021),u=r(55056);const c=(0,u.n)({root:{visibility:"visible"}}),d=(0,u.n)({root:{visibility:"hidden"}});var p=r(24223),h=r(29784),g=r(11691);const m=()=>{},f={controller:{active:m,blur:m,find:m,first:m,focus:m,focusLastActive:m,scrollActiveIntoView:m,last:m,next:m,prev:m,showAttributes:m,hideAttributes:m,showFocusVisibleAttributes:m,hideFocusVisibleAttributes:m}},v=n.createContext(void 0),b=v.Provider,y=()=>{var e;return null!==(e=n.useContext(v))&&void 0!==e?e:f};var S=r(77625);const C=(0,S.q)({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});C.Provider;var T=r(24439);const k={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},F=(0,S.q)(void 0),E=e=>(0,T.i)(F,((t=k)=>e(t))),A=F.Provider,I=(e,t)=>((0,h.C)(e),(0,p.Y)(e.root,{children:(0,p.Y)(b,{value:t.activeDescendant,children:(0,p.Y)(A,{value:t.listbox,children:(0,p.FD)(C.Provider,{value:t.combobox,children:[(0,p.Y)(e.input,{}),e.clearIcon&&(0,p.Y)(e.clearIcon,{}),e.expandIcon&&(0,p.Y)(e.expandIcon,{}),e.listbox&&(e.inlinePopup?(0,p.Y)(e.listbox,{}):(0,p.Y)(g.Z,{mountNode:e.mountNode,children:(0,p.Y)(e.listbox,{})}))]})})})}));var x=r(95902),w=r(1290),P=r(94991),R=r(26838),D=r(87513),_=r(82502),N=r(48984);function O(e){const t=(0,N.K)(),r=(0,D.D)(e);n.useEffect((()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}}),[t,r])}var M=r(30834),B=r(70853);const L="data-activedescendant",K="data-activedescendant-focusvisible",W=e=>{if(!e)return;const t=H(e.parentElement);if(!t)return;const{offsetHeight:r}=e,n=G(e,t),{scrollMarginTop:o,scrollMarginBottom:i}=z(e),{offsetHeight:a,scrollTop:s}=t,l=n+r+i>s+a;n-o<s?t.scrollTo(0,n-o-2):l&&t.scrollTo(0,n+r+i-a+2)},H=e=>e?e.scrollHeight>e.offsetHeight?e:H(e.parentElement):null,G=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+G(e.offsetParent,t):0,z=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const n=r.getComputedStyle(e);var o,i;return{scrollMarginTop:null!==(o=U(n.scrollMarginTop))&&void 0!==o?o:U(n.scrollMarginBlockStart),scrollMarginBottom:null!==(i=U(n.scrollMarginBottom))&&void 0!==i?i:U(n.scrollMarginBlockEnd)}},U=e=>e?parseInt(e,10):0;function V(e){const{imperativeRef:t,matchOption:r}=e,o=n.useRef(!1),i=n.useRef(!0),a=n.useRef(null),s=n.useRef(null),l=n.useRef(null),u=n.useRef(!0),c=n.useCallback((()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")}),[]),d=n.useCallback((e=>{var t;e&&(a.current=e),u.current&&a.current&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",a.current))}),[]);O((e=>{o.current=e;const t=f();t&&(e&&i.current?t.setAttribute(K,""):t.removeAttribute(K))}));const p=(0,D.D)(r),h=n.useRef(null),{optionWalker:g,listboxCallbackRef:m}=function(e){const{matchOption:t}=e,{targetDocument:r}=(0,M.Y)(),o=n.useRef(null),i=n.useRef(null),a=n.useCallback((e=>(0,B.s)(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),[t]),s=n.useCallback((e=>{e&&r?(i.current=e,o.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):i.current=null}),[r,a]);return{optionWalker:n.useMemo((()=>({first:()=>o.current&&i.current?(o.current.currentNode=i.current,o.current.firstChild()):null,last:()=>o.current&&i.current?(o.current.currentNode=i.current,o.current.lastChild()):null,next:()=>o.current?o.current.nextNode():null,prev:()=>o.current?o.current.previousNode():null,find:(e,t)=>{if(!o.current||!i.current)return null;const n=t?null==r?void 0:r.getElementById(t):null;o.current.currentNode=null!=n?n:i.current;let a=o.current.currentNode;for(;a&&!e(a.id);)a=o.current.nextNode();return a},setCurrent:e=>{o.current&&(o.current.currentNode=e)}})),[r]),listboxCallbackRef:s}}({matchOption:p}),f=n.useCallback((()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.querySelector(`#${a.current}`)}),[h]),v=n.useCallback((e=>{i.current=e;const t=f();t&&(e&&o.current?t.setAttribute(K,""):t.removeAttribute(K))}),[f]),b=n.useCallback((()=>{const e=f();var t;return e&&(e.removeAttribute(L),e.removeAttribute(K)),c(),s.current=a.current,a.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null}),[f,c]),y=n.useCallback((e=>{if(!e)return;const t=b();W(e),d(e.id),e.setAttribute(L,""),o.current&&i.current&&e.setAttribute(K,"");const r=(n={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:n}));var n;e.dispatchEvent(r)}),[b,d]),S=n.useMemo((()=>({first:({passive:e}={})=>{const t=g.first();return e||y(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=g.last();return e||y(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=f();if(!t)return;g.setCurrent(t);const r=g.next();return e||y(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=f();if(!t)return;g.setCurrent(t);const r=g.prev();return e||y(r),null==r?void 0:r.id},blur:()=>{b()},active:()=>{var e;return null===(e=f())||void 0===e?void 0:e.id},focus:e=>{if(!h.current)return;const t=h.current.querySelector(`#${e}`);t&&y(t)},focusLastActive:()=>{if(!h.current||!s.current)return;const e=h.current.querySelector(`#${s.current}`);return e?(y(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const n=g.find(e,r);return t||y(n),null==n?void 0:n.id},scrollActiveIntoView:()=>{if(!h.current)return;const e=f();e&&W(e)},showAttributes(){u.current=!0,d()},hideAttributes(){u.current=!1,c()},showFocusVisibleAttributes(){v(!0)},hideFocusVisibleAttributes(){v(!1)}})),[g,h,d,c,y,b,f,v]);return n.useImperativeHandle(t,(()=>S)),{listboxRef:(0,_.a)(h,m),activeParentRef:l,controller:S}}var j=r(2483),q=r(54116),$=r(6813),Q=r(27927),X=r(43839),Y=r(30238),J=r(58352),Z=r(93931),ee=r(29731),te=r(39850);const re=()=>{const e=n.useRef(new Map),t=n.useMemo((()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter((({text:e})=>t(e))),getOptionsMatchingValue:t=>{const r=[];for(const n of e.current.values())t(n.value)&&r.push(n);return r}})),[]),r=n.useCallback((t=>(e.current.set(t.id,t),()=>e.current.delete(t.id))),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},ne=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:o}=e,[i,a]=(0,te.i)({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null==o||o(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:n.useCallback(((e,t)=>{if(t.disabled)return;let n=[t.value];if(r){const e=i.findIndex((e=>e===t.value));n=e>-1?[...i.slice(0,e),...i.slice(e+1)]:[...i,t.value]}a(n),null==o||o(e,{optionValue:t.value,optionText:t.text,selectedOptions:n})}),[o,r,i,a]),selectedOptions:i}};var oe=r(15535),ie=r(19758),ae=r(94190),se=r(82170),le=r(85152);function ue(e,t={}){const{open:r=!0,multiselect:n=!1}=t,o=e.key,{altKey:i,ctrlKey:a,key:s,metaKey:l}=e;return 1!==s.length||o===le.$xS||i||a||l?r?o===le.DoI&&i||o===le.xyI||!n&&o===le.$xS?"CloseSelect":n&&o===le.$xS?"Select":o===le.uf9?"Close":o===le.yd$?"Next":o===le.DoI?"Previous":o===le.ww0?"First":o===le.oam?"Last":o===le.j0c?"PageUp":o===le.e5x?"PageDown":o===le.ozo?"Tab":"None":o===le.yd$||o===le.DoI||o===le.xyI||o===le.$xS?"Open":"None":"Type"}var ce=r(77675);const de="fui-Option",pe=(0,ce.X)({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),he={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},ge=(0,ce.X)({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]});var me=r(60414);const fe=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{multiselect:r,disableAutoFocus:o=!1}=e,i=re(),{listboxRef:a,activeParentRef:s,controller:l}=V({matchOption:e=>e.classList.contains(de)}),u=(0,se.V)(F),c=E((e=>e.onActiveDescendantChange)),d=E((e=>e.getOptionById)),p=E((e=>e.getOptionsMatchingValue)),h=u?d:i.getOptionById,g=u?p:i.getOptionsMatchingValue,m=n.useMemo((()=>{let e=null;const t=e=>{null==c||c(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}}),[c]),[f,b]=n.useState(!1);O(b);const S=y(),C=!!n.useContext(v),T=C?S.controller:l,{clearSelection:k,selectedOptions:A,selectOption:I}=ne(e),x=E((e=>e.selectedOptions)),w=E((e=>e.selectOption)),P=u?{selectedOptions:x,selectOption:w,...he}:{selectedOptions:A,selectOption:I,...he};n.useEffect((()=>{if(!C){if(T.hideFocusVisibleAttributes(),!o)if(!r&&P.selectedOptions.length>0){const e=g((e=>e===P.selectedOptions[0])).pop();(null==e?void 0:e.id)&&T.focus(e.id)}else T.first();return()=>{T.blur()}}}),[]);const R=n.useCallback((()=>{C||(T.showFocusVisibleAttributes(),f&&T.scrollActiveIntoView())}),[T,C,f]),N=n.useCallback((()=>{C||T.hideFocusVisibleAttributes()}),[T,C]),M={components:{root:"div"},root:X.Gk((0,ae.g)("div",{ref:(0,_.a)(t,s,a,m),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!u,multiselect:r,clearSelection:k,activeDescendantController:T,onActiveDescendantChange:c,...i,...P};return M.root.onKeyDown=(0,D.D)((0,J.p)(M.root.onKeyDown,(e=>{const t=ue(e,{open:!0}),r=T.active(),n=r?h(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":n?T.next():T.first();break;case"Previous":n?T.prev():T.first();break;case"PageUp":case"First":T.first();break;case"PageDown":case"Last":T.last();break;case"Select":case"CloseSelect":n&&I(e,n)}}))),M.root.onFocus=(0,D.D)((0,J.p)(M.root.onFocus,R)),M.root.onBlur=(0,D.D)((0,J.p)(M.root.onBlur,N)),M})(e,t),o=function(e){const t=(0,se.V)(F),{getOptionById:r,getOptionsMatchingValue:o,multiselect:i,registerOption:a,selectedOptions:s,selectOption:l,activeDescendantController:u}=e,c=E((e=>e.registerOption));return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:o,multiselect:i,registerOption:t?c:a,selectedOptions:s,selectOption:l,setActiveOption:()=>{},onOptionClick:E((e=>e.onOptionClick)),onActiveDescendantChange:E((e=>e.onActiveDescendantChange))},activeDescendant:n.useMemo((()=>({controller:u})),[u])}}(r);return(e=>{const t=ge();e.root.className=(0,R.z)("fui-Listbox",t.root,e.root.className)})(r),(0,me.$e)("useListboxStyles_unstable")(r),((e,t)=>((0,h.C)(e),(0,p.Y)(b,{value:t.activeDescendant,children:(0,p.Y)(F.Provider,{value:t.listbox,children:(0,p.Y)(e.root,{})})})))(r,o)}));fe.displayName="Listbox";var ve=r(27712);function be(e,t,r){const{state:{open:o,setOpen:i,setHasFocus:a},defaultProps:s,elementType:l,activeDescendantController:u}=r,c=X.Gk(e,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",..."object"==typeof s&&s},elementType:l}),d=n.useRef(null);return c.ref=(0,_.a)(d,c.ref,t),c.onBlur=(0,J.p)((e=>{i(e,!1),a(!1)}),c.onBlur),c.onFocus=(0,J.p)((e=>{e.target===e.currentTarget&&a(!0)}),c.onFocus),c.onClick=(0,J.p)((e=>{i(e,!o)}),c.onClick),c.onKeyDown=(0,J.p)(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:o,selectOption:i,multiselect:a,open:s}=e,l=n.useCallback((()=>{const e=t.active();return e?r(e):void 0}),[t,r]),u=function(){const e=(0,N.K)();return n.useCallback((t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)}),[e])}();return(0,D.D)((e=>{const r=ue(e,{open:s,multiselect:a}),n=l();switch(r){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(u(!0),r){case"First":t.first();break;case"Last":t.last();break;case"Next":(e=>{e?t.next():t.first()})(n);break;case"Previous":(e=>{e?t.prev():t.first()})(n);break;case"PageDown":(()=>{for(let e=0;e<10;e++)t.next()})();break;case"PageUp":(()=>{for(let e=0;e<10;e++)t.prev()})();break;case"Open":o(e,!0);break;case"Close":e.stopPropagation(),o(e,!1);break;case"CloseSelect":!a&&!(null==n?void 0:n.disabled)&&o(e,!1);case"Select":n&&i(e,n);break;case"Tab":!a&&n&&i(e,n)}}))}({activeDescendantController:u,...r.state}),c.onKeyDown),c}function ye(e,t,r){const{state:{open:o,value:i,selectOption:a,setValue:s,multiselect:l,selectedOptions:u,clearSelection:c,getOptionById:d,setOpen:p},freeform:h,defaultProps:g,activeDescendantController:m}=r,f=be(e,t,{state:r.state,defaultProps:g,elementType:"input",activeDescendantController:m});f.onChange=(0,J.p)(f.onChange,(e=>{const t=e.target.value;s(t);const r=(e=>{const t=null==e?void 0:e.trim().toLowerCase();if(!t||0===t.length)return void m.blur();const r=m.find((e=>{const r=d(e);return!!r&&0===r.text.toLowerCase().indexOf(t)}));if(r)return d(r);m.blur()})(t);l||1!==u.length||!(t.length<1)&&r||c(e)})),f.onBlur=(0,J.p)(f.onBlur,(e=>{if(!o&&!h){const t=m.active(),r=t?d(t):null;i&&r&&i.trim().toLowerCase()===(null==r?void 0:r.text.toLowerCase())&&a(e,r),s(void 0)}}));const[v,b]=n.useState(!1),y=n.useRef(!1),S=f.onKeyDown,C=(0,D.D)((t=>{o||"Type"!==ue(t)||p(t,!0),t.key===le.nkM||t.key===le.Qpb?b(!0):b(!1);const r=ue(t,{open:o,multiselect:l});var n;"Type"===r?y.current=!0:("Open"===r&&" "!==t.key||"Next"===r||"Previous"===r||"First"===r||"Last"===r||"PageUp"===r||"PageDown"===r)&&(y.current=!1),!y.current&&o||" "!==t.key?null==S||S(t):null==e||null===(n=e.onKeyDown)||void 0===n||n.call(e,t)}));return f.onKeyDown=C,v&&(f["aria-activedescendant"]=void 0),f}var Se=r(68541),Ce=r(58261),Te=r(51641),ke=r(19094),Fe=r(33640),Ee=r(86725),Ae=r(36141),Ie=r(57674),xe=r(85963);const we=e=>e.ariaLabel?e.ariaLabel:n.isValidElement(e.data?.subText)||e.data?.ariaLabelSubText?`${e.text}\n${e.data?.ariaLabelSubText}`:(e=>"string"==typeof e.data?.subText&&e.data?.subText?`${e.text}\n${e.data.subText}`:e.text)(e),Pe=e=>e.useAriaLabelAsText||void 0===e.useAriaLabelAsText&&e.ariaLabel?we(e):e.text,Re=e=>{const t=we(e);return t===e.text?void 0:t};function De(e,t,r,n){return e&&void 0!==n?[{key:r,text:n,type:"AppComboBoxItem"},...t]:t}var _e=r(49455),Ne=r(37241),Oe=r(81257);const Me=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{children:r,disabled:o,text:i,value:a}=e,s=n.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",o=!1;return n.Children.forEach(t,(e=>{"string"==typeof e?r+=e:o=!0})),o&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(i,r),u=null!=a?a:l,c=(0,$.Bi)("fluent-option",e.id),d=n.useMemo((()=>({id:c,disabled:o,text:l,value:u})),[c,o,l,u]),{controller:p}=y(),h=E((e=>e.multiselect)),g=E((e=>e.registerOption)),m=E((e=>{const t=e.selectedOptions;return void 0!==u&&void 0!==t.find((e=>e===u))})),f=E((e=>e.selectOption)),v=E((e=>e.onOptionClick));let b=n.createElement(q._jO,null);h&&(b=m?n.createElement(Oe.jvo,null):""),n.useEffect((()=>{if(c&&s.current)return g(d,s.current)}),[c,d,g]);const S=h?{role:"menuitemcheckbox","aria-checked":m}:{role:"option","aria-selected":m};return{components:{root:"div",checkIcon:"span"},root:X.Gk((0,ae.g)("div",{ref:(0,_.a)(t,s),"aria-disabled":o?"true":void 0,id:c,...S,...e,onClick:t=>{var r;o?t.preventDefault():(p.focus(c),f(t,d),v(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:X.lq(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:b},elementType:"span"}),disabled:o,multiselect:h,selected:m,focusVisible:!1,active:!1}})(e,t);return(e=>{const{disabled:t,multiselect:r,selected:n}=e,o=pe();e.root.className=(0,R.z)(de,o.root,o.active,t&&o.disabled,n&&o.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=(0,R.z)("fui-Option__checkIcon",o.checkIcon,r&&o.multiselectCheck,n&&o.selectedCheck,n&&r&&o.selectedMultiselectCheck,t&&o.checkDisabled,t&&r&&o.multiselectCheckDisabled,e.checkIcon.className))})(r),(0,me.$e)("useOptionStyles_unstable")(r),(e=>((0,h.C)(e),(0,p.FD)(e.root,{children:[e.checkIcon&&(0,p.Y)(e.checkIcon,{}),e.root.children]})))(r)}));Me.displayName="Option";const Be=(0,ce.X)({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"fiut8dr",B8lkq7l:"f1xxzjds",eii1in:0,H93o2g:0,Gwp8xu:0,Bd39igo:"f16cmn8k",om0q45:"f5642y",Hl9o3s:"ffdf81h",sl1c2c:0,z4hxbw:0,B0i58d9:0,Bi9x0x4:0,Bgurq3m:"f1bsn9kn"},label:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",mc9l5x:"ftgm304",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mpq0zz"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}",'.f1xxzjds:not(:last-child)::after{content:"";}',[".f16cmn8k:not(:last-child)::after{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".f5642y:not(:last-child)::after{display:block;}",".ffdf81h:not(:last-child)::after{padding-bottom:var(--spacingHorizontalXS);}",[".f1bsn9kn:not(:last-child)::after{margin:0 calc(var(--spacingHorizontalXS) * -1) var(--spacingVerticalXS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".ftgm304{display:block;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".f1mpq0zz{padding:var(--spacingHorizontalS) var(--spacingHorizontalSNudge);}",{p:-1}]]}),Le=n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=(0,$.Bi)("group-label"),{label:n}=e;return{components:{root:"div",label:"span"},root:X.Gk((0,ae.g)("div",{ref:t,role:"group","aria-labelledby":n?r:void 0,...e}),{elementType:"div"}),label:X.lq(n,{defaultProps:{id:r,role:"presentation"},elementType:"span"})}})(e,t);return(e=>{const t=Be();e.root.className=(0,R.z)("fui-OptionGroup",t.root,e.root.className),e.label&&(e.label.className=(0,R.z)("fui-OptionGroup__label",t.label,e.label.className))})(r),(0,me.$e)("useOptionGroupStyles_unstable")(r),(e=>((0,h.C)(e),(0,p.FD)(e.root,{children:[e.label&&(0,p.Y)(e.label,{children:e.label.children}),e.root.children]})))(r)}));Le.displayName="OptionGroup";var Ke=r(17713),We=r(27917),He=r(20203),Ge=r(16594),ze=r(84105),Ue=r(21609),Ve=r(63900),je=r(54225),qe=r(88237);const $e=(0,u.n)({base:{height:je.SK,paddingTop:0,paddingBottom:0,":hover":{[`${Ve.up}`]:{...Ve.i2,...Ve.KN}}},baseWithSubText:{height:je.LV},customOption:{height:0,marginBottom:`calc(${Ue.k.spacingVerticalXXS} * -1)`,...ze.Pt.padding(0),width:0,visibility:"hidden","::after":{...ze.Pt.border("none")}},iconWrapper:{alignSelf:"center",flexBasis:"auto",height:"auto",width:"auto"},optionGroupWithNoLabel:{paddingBottom:Ue.k.spacingVerticalNone,paddingTop:Ue.k.spacingVerticalNone},optionText:{fontSize:"16px",whiteSpace:"nowrap",...ze.Pt.overflow("visible")},optionTextWrapper:{display:"flex",flexDirection:"column",flexWrap:"nowrap",height:"auto",...ze.Pt.overflow("hidden"),width:"auto"},optionWrapper:{display:"flex",flexDirection:"row",flexWrap:"nowrap",height:"auto",...ze.Pt.overflow("hidden"),width:"100%"},subText:{display:"block",fontSize:"11px",whiteSpace:"nowrap"}}),Qe=e=>({root:e?.icon}),Xe=(e,t,r,n)=>{const o=((e,t)=>({root:{...Array.isArray(e.root)?Object.assign({},...e.root):e.root,...t?{opacity:.4}:{}}}))(t,r),i=Qe(n);return(0,qe.f8)((0,qe.f8)(i.root,e?.styles).customDefinedCss,o.root).customDefinedCss};var Ye=r(87755);const Je=e=>{const t={base:(0,Ye.v)(e?.root),optionText:(0,Ye.v)(e?.optionText),optionTextWrapper:(0,Ye.v)(e?.stackStyle),optionWrapper:(0,Ye.v)(e?.optionTextWrapper),subText:(0,Ye.v)(e?.subTextStyle)};return Object.assign(t.optionWrapper,t?.optionTextWrapper),t},Ze=(e,t,r,o,i,a,s)=>n.createElement(Le,{className:r?void 0:a,key:o,label:r||i,onMouseOver:()=>{s?.(!1)},onMouseLeave:()=>{e.onRevertPreviewExecute?.()}},t),et=(e,t,r,o,i,a)=>{const s=(0,$.Bi)(je.mZ),l=((e,t,r,o,i)=>{const{allowFreeForm:a,options:s}=e,l=n.useContext(Ie.B),{defaultSelectedKey:u,selectedKey:c,text:d}=r;if(!t.isShadowRendering)return De(a,s,o,i);const p=s.slice(0,t.itemsToRender);if((0,xe.i2)(l,xe.PE.comboBoxShadowRenderingFix)&&void 0!==t.itemsToRender){const e=(0,Ae.SL)(s,(e=>e.key===c||e.key===u||"AppComboBoxItem"===e.type&&Pe(e)===d));e>=t.itemsToRender&&p.push(s[e])}return De(a,p,o,i)})(e,t,o,s,i);return void 0!==t.optionsToRender&&l.length===t.optionsToRender.length||r({...t,optionsToRender:l}),((e,t,r,o)=>{const i=[];let a=[],s="",l="";const u=r.optionStyles,c=(()=>{const e=$e();return{base:e.base,baseWithSubText:e.baseWithSubText,customOption:e.customOption,iconWrapper:e.iconWrapper,optionGroupWithNoLabel:e.optionGroupWithNoLabel,optionText:(0,R.z)(e.optionText,"AppComboBox-OptionText"),optionTextWrapper:e.optionTextWrapper,optionWrapper:e.optionWrapper,subText:e.subText}})(),d=n.useMemo((()=>({className:c.optionGroupWithNoLabel})),[c.optionGroupWithNoLabel]),p=(0,_e.D)()||Ge.o3.getInstance().getTheme(),h=Je(u),g=(0,We.e)();return e.forEach(((e,u)=>{switch(e.type){case"AppComboBoxItem":const m=Je(e.styles),f=e.key===t;a.push(n.createElement(Me,{"aria-label":we(e),className:f?c.customOption:(0,R.z)(c.base,e.data?.subText&&c.baseWithSubText),onMouseEnter:()=>{((e,t,n)=>{r.onPreviewExecute&&t&&t>=0&&e&&"string"==typeof e.key?r.onPreviewExecute({id:r.id,newValue:{key:e.key,text:e.text,index:t,commandValueId:e&&e.commandValueId}}):r.onPreviewExecute&&n&&r.onPreviewExecute({id:r.id,newValue:n})})(e,u,e.text)},style:f?void 0:{...h.base,...m.base},disabled:e.disabled,key:e.key,text:Pe(e),title:r.disableTooltips?void 0:Re(e)},n.createElement("div",{className:c.optionWrapper,style:{...h.optionWrapper,...m.optionWrapper}},e.data?.icon&&n.createElement("div",{className:c.iconWrapper},g?n.createElement(w.z,{iconName:e.data.icon,style:Ke.EV}):n.createElement(Ne.I,{...(0,He.J)(e.data.icon),styles:{root:(0,Ke.rx)(p)}})),n.createElement("div",{className:c.optionTextWrapper,style:{...h.optionTextWrapper,...m.optionTextWrapper}},n.createElement("span",{className:c.optionText,style:{...h.optionText,...m.optionText}},e.text),e.data?.subText&&n.createElement("span",{className:c.subText,style:{...h.subText,...m.subText}},e.data.subText)))));break;case"AppComboBoxHeader":s=e.key,l=e.text;break;case"AppComboBoxDivider":i.push(Ze(r,a,l,s,d,c.optionGroupWithNoLabel,o)),a=[]}})),a.length>0&&i.push(Ze(r,a,l,s,d,c.optionGroupWithNoLabel,o)),i})(l,s,e,a)};var tt=r(81235),rt=r(92392);function nt(e,t){const r=e.findIndex((e=>Pe(e)===t));return r<0?void 0:e[r]}var ot=r(95583),it=r(10191),at=r(71938);const st=(e,t,r)=>{const{allowFreeForm:i,autoComplete:s,customTooltip:l,disabled:u,icon:c,id:d,label:p,options:h,positionInSet:g,required:m,setSize:f,showLabel:v,value:b}=e,[y,S]=n.useState({isShadowRendering:!1,menuHasBeenOpened:!1,prevPropsValue:b}),C=n.useRef({didSetInitialText:!1,processingEscKeyDown:!1,closingMenuFromSelection:!1}),[T,k]=n.useState(void 0),F=((e,t,r)=>{const{disabled:o,id:i,location:s,onMenuOpen:l,options:u,shadowRenderMenu:c}=e,{isShadowRendering:d,itemsToRender:p,menuHasBeenOpened:h}=t,g=n.useRef(!1),m=n.useRef(),f=n.useRef(0),v=n.useCallback((()=>{d&&r({...t,isShadowRendering:!1})}),[d,r,t]);return n.useCallback((()=>{g.current||!(0,a.L)(c)||!(0,Fe.N)()||o||h||(g.current=!0,window.requestIdleCallback((()=>{l?.({id:i,location:s,isShadowRendering:!0})}),void 0,`ComboBox-${i}-ShadowMenuOpen`),window.requestIdleCallback((()=>{h||r({...t,isShadowRendering:!0,itemsToRender:0,menuHasBeenOpened:!0})}),void 0,`ComboBox-${i}-StartShadowRendering`))}),[i,s,o,h,l,r,c,t])(),(()=>{if(d&&void 0!==p)if(p<u.length){m.current&&(f.current+=performance.now()-m.current);const e=(0,Ee.A4)(f.current,p);(0,Fe.N)()&&window.requestIdleCallback((()=>{m.current=performance.now(),r({...t,itemsToRender:p+e})}),void 0,`ComboBox-${i}-ShadowRenderIncrement`)}else r({...t,isShadowRendering:!1})})(),{resetShadowRenderingAfterUserAction:v}})(e,y,S),E=(0,Te.b)({...e,deriveKeytip:ke.U_,hideLabel:v},t,"AppCombobox"),A=(({defaultSelectedKey:e,selectedKey:t,value:r},{option:n,text:o})=>{let i={};return i=void 0!==o&&void 0===n?{text:o}:void 0!==o&&n?{text:o,selectedKey:n.key}:void 0===t&&void 0===r&&n?{selectedKey:n.key}:r&&void 0!==t?{text:r,selectedKey:t}:r||""===r?{text:r,selectedKey:null}:void 0!==t?{selectedKey:t}:{selectedKey:e},i})(e,y),{ariaDescriptionId:I,ariaDescriptionElement:x}=(0,Ce.Z)(d,l),N=et(e,y,S,A,T,r),O=((e,t,r,o,i)=>{const{onBlur:a}=e,{initialText:s}=o.current,{text:l}=t;return n.useCallback((()=>{i?.(!0),""===l&&(r({...t,text:s}),o.current.initialText=void 0),a?.()}),[s,o,a,r,t,l,i])})(e,y,S,C,r),B=((e,t,r,o)=>{const{onFocus:i,options:a,selectedKey:s}=e;return n.useCallback((()=>{if(o?.(!1),i?.({hasOptions:0!==a.length}),t.current){const e=t.current;e.setSelectionRange(0,e.value.length)}if(null!=s){const e=(0,Ae.I6)(a,(e=>"AppComboBoxItem"===e.type&&e.key===s));r.current.initialText=Pe(e)}else{const e=t.current;r.current.initialText=e.value}}),[t,r,i,a,s,o])})(e,E,C,r),L=((e,t,r,o)=>{const{allowFreeForm:i,onInput:a,onInputValueChange:s}=e;return n.useCallback((n=>{const l=n.target.value;if(a?.(n),s?.(l),r({...t,text:l}),i){const t=-1!==e.options.findIndex((e=>!!l.trim()&&"AppComboBoxItem"===e.type&&(Pe(e).trim().toLowerCase()===l.trim().toLowerCase()||e.key.trim().toLowerCase()===l.trim().toLowerCase())));o(t?void 0:l)}}),[i,a,s,e.options,o,r,t])})(e,y,S,k),K=((e,t,r,n,o)=>(i,a)=>{if(a.open){t.menuHasBeenOpened||r({...t,menuHasBeenOpened:!0}),n.resetShadowRenderingAfterUserAction();const{id:o,location:i,onMenuOpen:a}=e;a?.({id:o,location:i,isShadowRendering:!0})}else{const{id:t,onAfterMenuDismiss:r}=e;if(e.isMenuItem&&!o.current.closingMenuFromSelection)return;o.current.closingMenuFromSelection=!1,r?.(t)}})(e,y,S,F,C),W=((e,t,r,o)=>{const{executeOnlyOnEnterKey:i,id:a,location:s,onExecute:l,options:u,selectedKey:c,shouldTakeFocus:d}=e,p=n.useCallback(((e,n)=>{if(!l)return;const p={...o.current},h=void 0!==c,g=n.optionText;let m=!0;if(void 0!==d?m=d:"keydown"===e.type&&(m=e.key!==le.ozo),g){const n=u.findIndex((e=>Pe(e)===g||e.key===g));if(n>=0){const o=u[n];r(h?{...t,option:void 0,text:void 0}:{...t,option:o,text:void 0});const i=u.filter((e=>e.key===o.key&&"AppComboBoxItem"===e.type))[0];p.initialText=g,l({id:a,newValue:{key:o.key,text:g??"",index:n,commandValueId:i&&i.commandValueId},location:s,shouldTakeFocus:m,event:e})}else g&&(r({...t,option:void 0,text:void 0}),i&&e?.key!==le.xyI||(p.initialText=g,l({id:a,newValue:g??"",location:s,shouldTakeFocus:m,event:e})));e?.key===le.xyI&&e.stopPropagation()}o.current.closingMenuFromSelection=!0,o.current=p}),[i,a,o,s,l,u,c,r,d,t]);return(0,tt.T)(p)})(e,y,S,C);let H=lt(h,A.selectedKey,A.text);const G=ut(),z=(0,P.h)(e.mountNode);z.className=(0,R.z)(G.portal,z.className);const U=((e,t)=>{var r,o;e=(0,j.c)(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{listboxRef:i,activeParentRef:a,controller:s}=V({matchOption:e=>e.classList.contains(de)}),l=(e=>{const{appearance:t="outline",disableAutoFocus:r,children:o,clearable:i=!1,editable:a=!1,inlinePopup:s=!1,mountNode:l,multiselect:u,onOpenChange:c,size:d="medium",activeDescendantController:p,freeform:h=!1,disabled:g=!1,onActiveOptionChange:m=null}=e,f=re(),{getOptionsMatchingValue:v}=f,{getOptionById:b}=f,y=n.useCallback((()=>{const e=p.active();return e?b(e):void 0}),[p,b]),S=y(),C=n.useCallback((e=>{let t;"function"==typeof e&&(t=e(y())),t?p.focus(t.id):p.blur()}),[p,y]),[T,k]=n.useState(!1),[F,E]=n.useState(!1),A=n.useRef(!1),I=(0,ee.t)(),[x,w]=(0,te.i)({state:e.value,initialState:void 0}),{selectedOptions:P,selectOption:R,clearSelection:_}=ne(e),N=n.useCallback(((e,t)=>{Z.unstable_batchedUpdates((()=>{w(void 0),R(e,t)}))}),[w,R]),O=n.useMemo((()=>{if(void 0!==x)return x;if(I&&void 0!==e.defaultValue)return e.defaultValue;const t=v((e=>P.includes(e))).map((e=>e.text));return u?a?"":t.join(", "):t[0]}),[x,a,v,u,P]),[M,B]=(0,te.i)({state:e.open,defaultState:e.defaultOpen,initialState:!1}),L=n.useCallback(((e,t)=>{g||(null==c||c(e,{open:t}),Z.unstable_batchedUpdates((()=>{t||h||w(void 0),B(t)})))}),[c,B,w,h,g]);n.useEffect((()=>{if(M){if(!u&&P.length>0){const e=v((e=>e===P[0])).pop();(null==e?void 0:e.id)&&p.focus(e.id)}}else p.blur()}),[M,p]),n.useEffect((()=>{!M||r||p.active()||p.first()}),[M,o,r,p,b]);const K=(0,D.D)((e=>{const t=e.detail.previousId?f.getOptionById(e.detail.previousId):null,r=f.getOptionById(e.detail.id);null==m||m(e,{event:e,type:"change",previousOption:t,nextOption:r})}));return{...f,freeform:h,disabled:g,selectOption:N,clearSelection:_,selectedOptions:P,activeOption:S,appearance:t,clearable:i,focusVisible:T,ignoreNextBlur:A,inlinePopup:s,mountNode:l,open:M,hasFocus:F,setActiveOption:C,setFocusVisible:k,setHasFocus:E,setOpen:L,setValue:w,size:d,value:O,multiselect:u,onOptionClick:(0,D.D)((e=>{u||L(e,!1)})),onActiveDescendantChange:K}})({...e,editable:!0,activeDescendantController:s}),{clearable:u,clearSelection:c,disabled:d,multiselect:p,open:h,selectedOptions:g,setOpen:m,value:f,hasFocus:v}=l,[b,y]=function(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...(0,oe.P)(t)},{targetRef:n,containerRef:o}=(0,ie.T)(r);return[o,n]}(e),{disableAutoFocus:S=!1,freeform:C,inlinePopup:T}=e,k=(0,$.Bi)("combobox-"),{primary:F,root:E}=(0,Q.n)({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),A=n.useRef(null),I=function(e,t,r){const{state:{multiselect:n},triggerRef:o,defaultProps:i}=r,a=(0,$.Bi)("fluent-listbox",(0,ve.g)(e)?e.id:void 0),s=X.lq(e,{renderByDefault:!0,elementType:fe,defaultProps:{id:a,multiselect:n,tabIndex:void 0,...i}}),l=(0,j.c)({id:a},{supportsLabelFor:!0});s&&!s["aria-label"]&&!s["aria-labelledby"]&&l["aria-labelledby"]&&(s["aria-labelledby"]=l["aria-labelledby"]);const u=(0,D.D)((0,J.p)((e=>{e.preventDefault()}),null==s?void 0:s.onMouseDown)),c=(0,D.D)((0,J.p)((e=>{var t;e.preventDefault(),null===(t=o.current)||void 0===t||t.focus()}),null==s?void 0:s.onClick)),d=(0,_.a)(null==s?void 0:s.ref,t);return s&&(s.ref=d,s.onMouseDown=u,s.onClick=c),s}(e.listbox,(0,_.a)(b,i),{state:l,triggerRef:A,defaultProps:{children:e.children,disableAutoFocus:S}});var x;const w=ye(null!==(x=e.input)&&void 0!==x?x:{},(0,_.a)(A,a,t),{state:l,freeform:C,defaultProps:{type:"text",value:null!=f?f:"","aria-controls":h?null==I?void 0:I.id:void 0,...F},activeDescendantController:s}),P=X.Gk(e.root,{defaultProps:{"aria-owns":!T&&h?null==I?void 0:I.id:void 0,...E},elementType:"div"});P.ref=(0,_.a)(P.ref,y);const R=g.length>0&&!d&&u&&!p,N={components:{root:"div",input:"input",expandIcon:"span",listbox:fe,clearIcon:"span"},root:P,input:w,listbox:h||v?I:void 0,clearIcon:X.lq(e.clearIcon,{defaultProps:{"aria-hidden":"true",children:n.createElement(q.BEt,null)},elementType:"span",renderByDefault:!0}),expandIcon:X.lq(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":d?"true":void 0,"aria-expanded":h,children:n.createElement(q.yuG,null),role:"button"},elementType:"span"}),showClearIcon:R,activeDescendantController:s,...l},{targetDocument:O}=(0,M.Y)();(0,Y.W)({element:O,callback:e=>m(e,!1),refs:[A,b,y],disabled:!h});const{onMouseDown:B}=N.expandIcon||{},L=(0,D.D)((0,J.p)(B,(e=>{var t;e.preventDefault(),N.setOpen(e,!N.open),null===(t=A.current)||void 0===t||t.focus()})));if(N.expandIcon){N.expandIcon.onMouseDown=L;const t="Open";if(!N.expandIcon["aria-label"]&&!N.expandIcon["aria-labelledby"])if(e["aria-labelledby"]){var K;const e=null!==(K=N.expandIcon.id)&&void 0!==K?K:`${k}-chevron`,r=`${e} ${N.input["aria-labelledby"]}`;N.expandIcon["aria-label"]=t,N.expandIcon.id=e,N.expandIcon["aria-labelledby"]=r}else e["aria-label"]?N.expandIcon["aria-label"]=`${t} ${e["aria-label"]}`:N.expandIcon["aria-label"]=t}const W=(0,D.D)((0,J.p)(null===(r=N.clearIcon)||void 0===r?void 0:r.onMouseDown,(e=>{e.preventDefault()}))),H=(0,D.D)((0,J.p)(null===(o=N.clearIcon)||void 0===o?void 0:o.onClick,(e=>{c(e)})));return N.clearIcon&&(N.clearIcon.onMouseDown=W,N.clearIcon.onClick=H),p&&(N.clearIcon=void 0),N})({...e,"aria-describedby":e["aria-describedby"]??(x&&I),"aria-label":e["aria-label"]??(v?void 0:p),"aria-posinset":e["aria-posinset"]??g,"aria-setsize":e["aria-setsize"]??f,autoComplete:s?"on":"off",children:N,freeform:i,onBlur:O,onFocus:B,onInput:L,onOpenChange:K,onOptionSelect:W,positioning:{matchTargetSize:void 0,autoSize:!1},selectedOptions:H?[H]:[],title:void 0,type:"text",value:A.text??H,mountNode:z},E),ae=X.lq(e.comboboxLabel,{defaultProps:{children:p,disabled:u,required:m},elementType:Se.J,renderByDefault:!0}),se=c||e.showLabel&&ae?X.lq(e.iconLabelWrapper,{elementType:"div",renderByDefault:!0}):void 0,ue=X.Gk(e.wrapper,{elementType:"div"});let ce={...U,showLabel:v,components:{...U.components,comboboxLabel:Se.J,iconLabelWrapper:"div",wrapper:"div"},comboboxLabel:ae,iconLabelWrapper:se,wrapper:ue,icon:c};const pe=((e,t,r,o,i,a)=>{const{activeDescendantController:s,open:l,options:u,getOptionById:c,selectedOptions:d}=e,{optionsToRender:p}=t,h=!!(0,xe.i2)(n.useContext(Ie.B),xe.PE.inputArrowKeyNavFixEnabled);return n.useCallback((e=>{if(h&&(0,rt.x)(e),e?.key===le.uf9){const{initialText:e}=a.current;return r({...t,text:e}),void(a.current.initialText=void 0)}if(void 0===p)return;const n=p.filter((e=>"AppComboBoxItem"===e.type)),g=e?.key,m=s.active();if(l&&(g===le.yd$||g===le.DoI)&&n.length>0)if(void 0!==o&&g===le.yd$&&u.length>=2){const e=u[1];s.focus(e.id),r({...t,text:e.text}),i(void 0)}else if(void 0!==m){const e=c(m);e&&(void 0===t.option&&d&&d.length>0?r({...t,text:e.text,option:nt(n,d[0])}):r({...t,text:e.text}))}}),[h,p,s,l,a,r,t,o,u,i,c,d])})(ce,y,S,T,k,C);return U.input.onKeyDown=(0,J.p)(U.input.onKeyDown,pe),ce=((e,t)=>{const{id:r,location:n,showLabel:o}=e,i=n!==ot.IZ.Ribbon&&(0,it.lj)(e)||r;return t.root.id=i+"-wrapper",t.comboboxLabel&&(t.comboboxLabel.id=i+"-label",t.comboboxLabel.htmlFor=i+"-input"),t.input.id=i+"-input",t.input["aria-labelledby"]=e["aria-labelledby"]??(o?i+"-label":void 0),t.wrapper.id=i,t})(e,ce),ce=((e,t)=>{const r=(0,We.e)();if(t.expandIcon){const{caretDownButtonStyles:i,disabled:a}=e,s=(0,He.J)((0,at.r)(e)),l={root:[{display:"flex",height:12,lineHeight:12,margin:0,padding:"0 1px 0 2px",width:12},a&&{opacity:.4}]},u=Qe(i);t.expandIcon.children=r?n.createElement(w.z,{...s,style:Xe(s,l,a,i)}):n.createElement(Ne.I,{...s,styles:(0,o.l8)(l,s?.styles,u)})}return t})(e,ce),ce=((e,t)=>{const{dataAutomationType:r}=e;return t.input={...t.input,"data-is-interactable":!0,"data-lpignore":!0},t.wrapper={...t.wrapper,"data-automation-type":r||"AppCombobox","data-unique-id":(0,it.lj)(e)},t})(e,ce),ce=((e,t)=>{const{disabled:r}=e;return r&&(t.input.disabled=void 0,t.input["aria-disabled"]=!0,t.input.readOnly=!0),t})(e,ce),ce=((e,t)=>{const{pinToPreviousComboBox:r}=e;return t.pinToPreviousComboBox=r,t})(e,ce),((e,t)=>{const{activeDescendantController:r,getOptionById:o,open:i}=e,a=o(r.active()??"");n.useEffect((()=>{i&&t&&a&&a.text!==t&&r.blur()}))})(ce,T),ce},lt=(e,t,r)=>{if(void 0===t&&void 0===r)return;const n=e.find((e=>e.key===t)),o=e.find((e=>Pe(e)===r));return n?Pe(n):o?r:void 0},ut=(0,u.n)({portal:{zIndex:99999}});var ct=r(83866),dt=r(18550),pt=r(90588);const ht=n.memo(n.forwardRef(((e,t)=>{const[r,o]=n.useState(),s=((e,t,r)=>{const{caretDownButtonStyles:o,dataAutomationType:s,shadowRenderMenu:l,width:u,size:c}=e,d=n.useContext(i.OW),p=((e,t)=>n.useMemo((()=>"small"===t?{...e,icon:{...e?.icon,height:8,lineHeight:8,minWidth:8,width:8}}:e),[e,t]))(o,c);let h=st({...e,caretDownButtonStyles:p,dataAutomationType:s??"RibbonComboBox",persistMenu:!0,preventCalloutDismissOnScroll:!0,shadowRenderMenu:(0,a.o)(l,d.isMeasured)},t,r);var g;return h=((e,t)=>(e.comboboxLabel&&(e.comboboxLabel.size=t===dt.J.Small?"small":"medium"),e))(h,c),h=((e,t)=>(e.root.style=n.useMemo((()=>({...e.root.style,[`${pt.hH}`]:null!=t?`${t}px`:"130px"})),[e.root.style,t]),e))(h,u),(g=h).listbox&&(g.listbox.style={...g.listbox.style,maxWidth:ct.SY,minWidth:g.listbox.style?.width??"auto",width:"auto"}),h=g,h=((e,t)=>{switch(t){case dt.J.Small:e.size="small";break;case dt.J.Large:e.size="large";break;default:e.size="medium"}return e})(h,c),h})(e,t,o),l=function(e){const{appearance:t,open:r,getOptionById:o,getOptionsMatchingValue:i,registerOption:a,selectedOptions:s,selectOption:l,setOpen:u,size:c,activeDescendantController:d,onOptionClick:p,onActiveDescendantChange:h}=e,g={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:i,registerOption:a,selectedOptions:s,selectOption:l,setActiveOption:()=>null,onOptionClick:p,onActiveDescendantChange:h};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:s,selectOption:l,setActiveOption:()=>null,setOpen:u,size:c},activeDescendant:n.useMemo((()=>({controller:d})),[d]),listbox:g}}(s);(0,pt.TL)(s,e);const u=(e=>{const t=c().root,r=d().root;return void 0===e||e?t:r})(r);return((e,t,r,n)=>((0,h.C)(e),(0,p.Y)(x.K,{...r,tooltipClassName:n,children:(0,p.FD)(e.wrapper,{children:[e.iconLabelWrapper&&(0,p.FD)(e.iconLabelWrapper,{children:[e.icon&&(0,p.Y)(w.T,{className:e.iconClassName,iconName:e.icon}),e.comboboxLabel&&e.showLabel&&(0,p.Y)(e.comboboxLabel,{})]}),I(e,t)]})})))(s,l,e,u)})));ht.displayName="next/RibbonCombobox";var gt=r(44706),mt=r(95033);const ft=n.lazy((()=>Promise.resolve().then(r.bind(r,73494))));class vt extends n.PureComponent{render(){const{shadowRenderMenu:e}=this.props,t=(0,s.G)()&&!this.props.isMenuItem?(0,o.TW)((0,l.F5)(this.props.id,this.props.size,this.props.disabled,this.props.pinToPreviousComboBox,this.props.identifiersAbove),this.props.styles):this.props.styles,r=(0,s.G)()?(0,o.TW)(this.props.caretDownButtonStyles,l.xC):this.props.caretDownButtonStyles;return n.createElement(i.OW.Consumer,null,(({isMeasured:o})=>n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(ft,{...this.props,styles:t,dataAutomationType:"RibbonComboBox",persistMenu:!0,optionStyles:this.props.optionStyles,shadowRenderMenu:(0,a.o)(e,o),preventCalloutDismissOnScroll:!0,caretDownButtonStyles:r}))))}}const bt=n.forwardRef(((e,t)=>{const r=(0,mt.I)();return!(0,gt.b)()&&!r||e.useLegacyCombobox||e.isMenuItem?n.createElement(vt,{ref:t,...e}):n.createElement(ht,{ref:t,...e})}))},83866:(e,t,r)=>{"use strict";r.d(t,{SY:()=>o,ZK:()=>n,fW:()=>a,p4:()=>i});const n="28px",o="283px",i=["FontPicker","FontName","FontName_New","Floatie-FontName-Floatie","Floatie-FontPicker-Floatie"],a=["FontSize","Floatie-FontSize-Floatie"]},90588:(e,t,r)=>{"use strict";r.d(t,{U9:()=>k,hH:()=>T,TL:()=>D});var n=r(10477),o=r(55056),i=r(84105),a=r(77675),s=r(26838);const l="fui-Combobox",u="fui-Combobox__input",c=(0,a.X)({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),d=(0,a.X)({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),p=(0,a.X)({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]});var h=r(60660),g=r(74445),m=r(63900),f=r(21609),v=r(28095),b=r(83866),y=r(57674),S=r(31798);const C="--acuiRibbonCombobox__expandIcon--backgroundColor",T="--acuiRibbonCombobox--widthToUse",k={backgroundColor:f.k.colorNeutralBackgroundDisabled,cursor:"default",[`${m.up}`]:{backgroundColor:"transparent"}},F=(0,o.n)({base:{borderBottomColor:f.k.colorNeutralStroke1,columnGap:0,height:b.ZK,...i.Pt.margin(f.k.spacingVerticalXXS,f.k.spacingHorizontalNone),minWidth:"unset",paddingRight:f.k.spacingHorizontalNone,width:`var(${T})`,[`${C}`]:f.k.colorNeutralBackground1,":hover":{borderBottomColor:f.k.colorNeutralStroke1,[`${C}`]:f.k.colorNeutralBackground1Hover},":active":{borderBottomColor:f.k.colorNeutralStroke1},"::after":{borderBottomWidth:f.k.strokeWidthThin},":disabled":k,[`${m.up}`]:{border:`${f.k.strokeWidthThin} solid ButtonText`,":hover":{...m.u4},":disabled":{...m.RQ}}},small:{height:"24px"},medium:{},large:{height:"24px"},pinnedToPreviousComboboxBase:{borderBottomLeftRadius:f.k.borderRadiusNone,borderTopLeftRadius:f.k.borderRadiusNone},pinnedToPreviousComboboxMultiline:{[`&.${l}`]:{marginLeft:`calc(0px - ${f.k.spacingHorizontalXXS} - ${f.k.strokeWidthThin})`}},pinnedToPreviousComboboxSingleLine:{[`&.${l}`]:{marginLeft:`calc(0px - ${f.k.spacingHorizontalS} - ${f.k.strokeWidthThin})`}},pinnedToNextCombobox:{borderBottomRightRadius:f.k.borderRadiusNone,borderTopRightRadius:f.k.borderRadiusNone},withIdentifiersAbove:{marginTop:0}}),E=(0,o.n)({base:{...i.Pt.padding(0)},small:{width:"16px",height:"16px"},medium:{width:"20px",height:"20px"},large:{width:"16px",height:"16px"},inMenu:{paddingRight:f.k.spacingHorizontalMNudge}}),A=(0,o.n)({base:{boxSizing:"border-box",height:"100%",textOverflow:"ellipsis",width:"100%","::selection":{backgroundColor:f.k.legacy_neutralPrimaryAlt,color:f.k.legacy_white},[`&.${u}`]:{paddingLeft:f.k.spacingHorizontalS,paddingRight:0},[`${m.up}`]:{...m.dn,":hover":{...m.mn}}},small:{fontSize:f.k.fontSizeBase200},medium:{},large:{fontSize:f.k.fontSizeBase200}}),I=(0,o.n)({base:{alignItems:"center",backgroundColor:`var(${C})`,borderBottomRightRadius:f.k.borderRadiusMedium,borderTopRightRadius:f.k.borderRadiusMedium,display:"inline-flex",height:"100%",marginLeft:f.k.spacingHorizontalNone,fill:f.k.colorNeutralForeground1,":hover":{[`${C}`]:f.k.colorNeutralBackground1Hover},":active":{[`${C}`]:f.k.colorNeutralBackground1Pressed},[`${m.up}`]:{":hover":{...m.db,...m._j},":hover:active":{backgroundColor:"Window"}}},baseWithMinTargetSize:{minWidth:`${g.Z.minTargetSize}px`,justifyContent:"center"},expanded:{[`${C}`]:f.k.colorNeutralBackground1Selected},pinnedToNextCombobox:{borderBottomRightRadius:f.k.borderRadiusNone,borderTopRightRadius:f.k.borderRadiusNone}}),x=(0,o.n)({base:{boxSizing:"border-box",lineHeight:"normal",overflowWrap:"break-word",...i.Pt.padding("5px",0),pointerEvents:"none"},small:{...i.Pt.margin("6px","4px","7px","4px")},medium:{...i.Pt.margin("6px","6px","7px","2px")},large:{...i.Pt.margin("6px","4px","7px","4px")}}),w=(0,o.n)({base:{alignItems:"center",display:"flex",marginLeft:"6px"},baseWithIdentifiersAbove:{marginLeft:0}}),P=(0,o.n)({base:{alignItems:"center",display:"flex"},small:{height:"24px",marginRight:f.k.spacingHorizontalXXS},medium:{height:"32px",marginRight:f.k.spacingHorizontalS},large:{height:"24px",marginRight:f.k.spacingHorizontalXXS},isInMenuNoIcon:{marginLeft:`${g.Z.menuNoIconGutterPadding}px`},isInMenuWithIcon:{marginLeft:`${g.Z.menuItemGapToRightEdge}px`,marginRight:`${g.Z.menuItemGapToRightEdge}px`},withIdentifiersAbove:{alignItems:"flex-start",flexDirection:"column",height:"auto"}}),R=(0,o.n)({base:{[`${m.up}`]:{...m.G_}},control:{color:f.k.colorNeutralForegroundDisabled,backgroundColor:f.k.colorNeutralBackgroundDisabled,pointerEvents:"none",[`${m.up}`]:{...m.RQ}}}),D=(e,t)=>(((e,t)=>{const{pinToPreviousComboBox:r,size:o,icon:i}=e,{id:a}=e.wrapper,{disabled:l,isMenuItem:u,identifiersAbove:c}=t,d=F(),p=A(),g=I(),m=x(),f=P(),C=E(),T=w(),k=R(),D=(0,n.useContext)(y.B),_=(0,S.C)(D);e.root.className=(0,s.z)(d.base,d[o],a&&b.fW.includes(a)&&r&&(0,s.z)(d.pinnedToPreviousComboboxBase,"large"===o?d.pinnedToPreviousComboboxMultiline:d.pinnedToPreviousComboboxSingleLine),a&&b.p4.includes(a)&&d.pinnedToNextCombobox,c&&d.withIdentifiersAbove,e.root.className,v.j,l&&k.base),e.input.className=(0,s.z)(p.base,p[o],e.input.className,l&&k.control),e.iconClassName=(0,s.z)(C.base,C[o],u&&C.medium,u&&C.inMenu,e.iconClassName),e.expandIcon&&(e.expandIcon.className=(0,s.z)("ms-ComboBox-CaretDown-button",g.base,_&&g.baseWithMinTargetSize,e.expandIcon["aria-expanded"]&&g.expanded,a&&b.p4.includes(a)&&g.pinnedToNextCombobox,e.expandIcon.className,v.j,l&&k.control)),e.comboboxLabel&&(e.comboboxLabel.className=(0,s.z)((0,h.As)(),m.base,m[o],e.comboboxLabel.className)),e.iconLabelWrapper&&(e.iconLabelWrapper.className=(0,s.z)(T.base,c&&T.baseWithIdentifiersAbove,e.iconLabelWrapper.className)),e.wrapper.className=(0,s.z)(f.base,f[o],u&&!i&&f.isInMenuNoIcon,u&&i&&f.isInMenuWithIcon,c&&f.withIdentifiersAbove,e.wrapper.className)})(e,t),(e=>{const{appearance:t,open:r,size:n,showClearIcon:o}=e,i="true"==`${e.input["aria-invalid"]}`,a=e.input.disabled,h=c(),g=p(),m=d();e.root.className=(0,s.z)(l,h.root,h[t],h[n],!a&&"outline"===t&&h.outlineInteractive,i&&"underline"!==t&&h.invalid,i&&"underline"===t&&h.invalidUnderline,a&&h.disabled,e.root.className),e.input.className=(0,s.z)(u,m.input,m[n],a&&m.disabled,e.input.className),e.listbox&&(e.listbox.className=(0,s.z)("fui-Combobox__listbox",h.listbox,e.inlinePopup&&h.inlineListbox,!r&&h.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=(0,s.z)("fui-Combobox__expandIcon",g.icon,g[n],a&&g.disabled,o&&g.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=(0,s.z)("fui-Combobox__clearIcon",g.icon,g[n],a&&g.disabled,!o&&g.hidden,e.clearIcon.className))})(e),e)},69246:(e,t,r)=>{"use strict";r.d(t,{M:()=>k});var n=r(10477),o=r(6171),i=r(90044),a=r(39398),s=r(37308);const l={root:{padding:"12px 20px 16px 17px"},label:{marginLeft:0,fontWeight:a.BO.bold}},u=(0,i.J9)(((e,t)=>(0,a.TW)((0,s.P)(e),l,t)));var c=r(40480),d=r(42955),p=r(57674),h=r(15580),g=r(22918),m=r(14310),f=r(40453),v=r(20955),b=r(75484);const y=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,label:n,size:o,variant:i,variantId:a}=e,s=((e,t)=>{const{checked:r,toggled:n}=e;let o=(0,m.M)(e,t);return o=(0,g.H)({...e,checked:r??n},o),o})({...e,children:(0,f.T)(n,o,void 0,(0,b.JU)(o)),dataAutomationType:r??"RibbonCompoundButton"},t);return(0,v.Z)(s,i,a),s})({...e,size:e.size?.toLowerCase()},t);return(0,h.z)(r)})));y.displayName="next/RibbonCompoundButton";const S=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,label:n,size:o,variant:i,variantId:a}=e,s=(0,m.M)({...e,children:(0,f.T)(n,o,void 0,(0,b.JU)(o)),dataAutomationType:r??"RibbonCompoundButton"},t);return(0,v.Z)(s,i,a),s})({...e,size:e.size?.toLowerCase()},t);return(0,h.z)(r)})));S.displayName="next/RibbonCompoundButton";var C=r(95033);class T extends n.PureComponent{render(){return n.createElement(c.V,null,(e=>n.createElement(o.T,{...this.props,styles:u(e,this.props.styles),dataAutomationType:this.props.dataAutomationType||"RibbonCompoundButton"})))}}const k=n.forwardRef(((e,t)=>{const{toggleable:r}=e,o=n.useContext(p.B),i=(0,C.I)();return!(0,d.qj)(o.isExperimentalFeatureEnabled)&&!i||e.useLegacyButton?n.createElement(T,{...e,ref:t}):r?n.createElement(y,{ref:t,...e}):n.createElement(S,{ref:t,...e})}))},15052:(e,t,r)=>{"use strict";r.d(t,{Fh:()=>O});var n=r(10477),o=r(90044),i=r(39398),a=r(37308),s=r(15294),l=r(42955),u=r(39482),c=r(66152),d=r(40480),p=r(57674),h=r(99984),g=r(35989),m=r(22243),f=r(18642),v=r(5506),b=r(15843),y=r(29968),S=r(24473),C=r(40453),T=r(64192),k=r(35739),F=r(75484);const E=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{label:r,size:n,onRenderText:o}=e,i=(0,b.j)(n),a=(0,C.T)(r,n,o,(0,F.JU)(n,i)),s=(0,S._)({...e,children:(0,k.e)(e)||a},t);return(0,T.e)(e,s),s})(e,t);return(0,b.H)(r),(0,y.d)(r)})));E.displayName="next/RibbonMenuButton";var A=r(37418),I=r(26838),x=r(85963);const w=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,shadowRenderMenu:o}=e,i=n.useContext(u.OW),a=(0,v.z)({...e,dataAutomationType:r??"RibbonFlyoutAnchor",persistMenu:!0,preventCalloutDismissOnScroll:!0,shadowRenderMenu:(0,c.o)(o,i.isMeasured)},t);return a.components&&(a.components.menuButton=E,a.menuButton[f.on]=E),a})({...e,size:e.size?.toLowerCase()},t);return(()=>{const e=n.useContext(p.B);return(0,x.i2)(e,x.PE.isfileMenuRegressionUpdateEnabled)})()&&((e,t)=>{e.menu.className=(0,I.z)(t.menuClassName,e.menu.className),e.menuButton.className=(0,I.z)(t.menuButtonClassName,e.menuButton.className,!e.menu.hidden&&t.menuButtonExpandedClassName)})(r,e),(0,m.y)(r,e)})),A.w);w.displayName="next/RibbonFlyoutAnchor";var P=r(95033);const R=n.lazy((()=>Promise.resolve().then(r.bind(r,77063)))),D=(0,o.J9)(((e,t,r)=>(0,i.TW)(e,t,g.dQ,r))),_=(e,t,r)=>D((0,a.P)(e),(0,s.ho)(e,!!t),r),N=n.memo(n.forwardRef(((e,t)=>{const{shadowRenderMenu:r}=e;return n.createElement(u.OW.Consumer,null,(({isMeasured:o})=>n.createElement(d.V,null,(i=>n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(R,{...e,menuDefinition:e.menuDefinition,styles:_(i,e.hideChevron,e.styles),ref:e.legacyRef||t,dataAutomationType:e.dataAutomationType||"RibbonFlyoutAnchor",onRenderText:e.onRenderText||(0,h.x)(e.size),persistMenu:!0,shadowRenderMenu:(0,c.o)(r,o),preventCalloutDismissOnScroll:!0}))))))})));N.displayName="RibbonFlyoutAnchorCurrent";const O=n.memo(n.forwardRef(((e,t)=>{const r=n.useContext(p.B),o=(0,P.I)(),i=(0,P.r)(),a=((0,l.V4)(r.isExperimentalFeatureEnabled)||o)&&!e.useLegacyButton,s={...e,useLegacyContextMenu:!i};return a?n.createElement(w,{ref:t,...s}):n.createElement(N,{ref:t,...e})})));O.displayName="RibbonFlyoutAnchor"},64192:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(20955),o=r(71938),i=r(85963),a=r(10477),s=r(57674);const l=(e,t)=>{const{variant:r,variantId:l}=e,{size:u}=t;(0,n.Z)(t,r,l),"ribbonModeButton"!==t.variant&&"overflowButton"!==t.variant||(t.iconOnly=!0,t.root.children=void 0);const c=a.useContext(s.B);if("large"===u&&(0,o.r)(e)&&t.menuIcon){const e=(0,i.i2)(c,i.PE.menuButtonIconForLargeFlyoutAnchorsEnabled);e?e&&t.root.children&&(t.menuIcon.children=void 0):t.menuIcon.children=void 0}return t}},15843:(e,t,r)=>{"use strict";r.d(t,{H:()=>S,j:()=>h});var n=r(55056),o=r(26838),i=r(84105),a=r(98581),s=r(63900),l=r(75484),u=r(15294),c=r(21609),d=r(17297);const p=(0,n.n)({medium:{paddingLeft:"10px"},small:{paddingLeft:"4px"}}),h=e=>{const t=p();return(0,o.z)("small"===e&&t.small,"medium"===e&&t.medium)},g=(0,n.n)({medium:{paddingLeft:"9px",paddingRight:"0px"},small:{paddingTop:"1px",paddingLeft:"0px",paddingRight:"0px",paddingBottom:"1px"},large:{paddingLeft:"0px",paddingTop:"1px",paddingRight:"0px",paddingBottom:"1px",[`& .${u.Q3}`]:{whiteSpace:"nowrap"}},expanded:{backgroundColor:c.k.legacy_neutralLight,...i.Pt.borderColor("transparent"),color:c.k.legacy_neutralDark,[`${s.up}`]:{...s.Qt,...s.lf,...s.zr}},overflowButton:{paddingRight:"9px"}}),m=(0,n.n)({small:{paddingRight:"1px"},medium:{paddingRight:"3px"},overflowButton:{...i.Pt.padding("5px")},expanded:{backgroundColor:c.k.colorNeutralBackground1Selected}}),f=(0,n.n)({small:{marginLeft:"1px"},medium:{marginRight:"0px",paddingLeft:"0px",marginTop:"2px"},large:{marginTop:"1px"},ribbonModeButton:{marginTop:"0px",fill:c.k.legacy_neutralDark}}),v=(0,n.n)({ribbonModeButton:{fill:c.k.colorNeutralForeground1}}),b=(0,n.n)({medium:{fontSize:"12px",height:"12px",lineHeight:"12px",marginLeft:"4px",marginRight:"2px",width:"12px",fill:c.k.legacy_neutralDark},small:{height:"8px",fontSize:"8px",lineHeight:"8px",width:"8px",marginRight:"1px",marginLeft:"4px",fill:c.k.legacy_neutralDark}}),y=(0,n.n)({base:{fill:c.k.colorNeutralForeground1},small:{height:"8px",width:"8px",fontSize:"8px",lineHeight:"8px",marginLeft:c.k.spacingHorizontalXS},medium:{lineHeight:"12px",marginLeft:c.k.spacingHorizontalXS}}),S=e=>{const t=g(),r=f(),n=b(),i=m(),u=v(),c=y(),p=(0,s.rc)();return(0,d.G)()?(e.root.className=(0,o.z)((0,l.nX)(e,i),!e.menuHidden&&i.expanded,"overflowButton"===e.variant&&i.overflowButton,e.root.className),e.icon&&(e.icon.className=(0,o.z)((0,l.nX)(e,u),e.icon.className)),e.menuIcon&&(e.menuIcon.className=(0,o.z)(c.base,e.disabled&&p.base,(0,l.nX)(e,c),e.menuIcon.className))):(e.root.className=(0,o.z)((0,l.nX)(e,t),!e.menuHidden&&t.expanded,"overflowButton"===e.variant&&t.overflowButton,e.root.className),e.icon&&(e.icon.className=(0,o.z)((0,l.nX)(e,r),e.icon.className)),e.menuIcon&&(e.menuIcon.className=(0,o.z)(e.disabled&&p.base,(0,l.nX)(e,n),e.menuIcon.className))),(0,l.jA)({...e,iconPosition:"before"}),(0,a.U)(e),e}},24697:(e,t,r)=>{"use strict";r.d(t,{Y:()=>ai});var n=r(10477),o=r(73725),i=r(50550),a=r(40409),s=r(50157),l=r(12215),u=r(82015),c=r(61043),d=r(82148),p=r(70361),h=r(37526),g=r(54029),m=(0,i.Z)(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.message,r=e.styles,o=e.as,i=void 0===o?"div":o,a=e.className,s=m(r,{className:a});return n.createElement(i,(0,g.Cl)({role:"status",className:s.root},(0,u.G1)(this.props,u.JM,["className"])),n.createElement(h.P,null,n.createElement("div",{className:s.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(n.Component),v=r(39398),b=(0,o.I)(f,(function(e){return{root:e.className,screenReaderText:v.dX}}),void 0,{scope:"Announced"}),y=r(10625),S=r(97130),C=r(88333),T=r(10783);function k(e,t){return e.itemKey===t}var F=r(49598),E=n.createContext({});function A(e){if(null==e)throw new Error("condition is not satisfied")}function I(e){e.preventDefault()}var x=(0,i.Z)(),w=function(){return w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},P={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",icon:"ms-GroupHeader-icon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},R=(0,o.I)((function(e){var t,r,o=e.className,i=e.group,a=e.isCollapsed,s=e.onToggleCollapse,l=e.styles,u=e.theme;A(u);var c=x(l,{theme:u,className:o,isCollapsed:a}),d=n.useContext(E),p=d.onItemMouseEnter,h=d.iconResources,g=n.useCallback((function(e){null==p||p(function(e){return{text:e.text,itemKey:e.groupKey}}(i),e)}),[i,p]),m=n.useCallback((function(e){"Enter"!==e.key&&" "!=e.key||null==s||s()}),[s]),f=void 0!==s?n.createElement("div",{role:"button","aria-label":i.text,"aria-expanded":!a,"data-is-focusable":!0,className:c.expand,onMouseDown:I,onMouseUp:s,onKeyDown:m,onMouseOver:g,onFocus:g,tabIndex:-1},n.createElement(F.l8,{className:c.expandIsCollapsed,iconName:null!==(t=null==h?void 0:h.chevronDownName)&&void 0!==t?t:"ChevronDown-svg"})):void 0;return n.createElement("div",{className:c.root},i.icon&&n.createElement(F.l8,{className:c.icon,iconName:null===(r=i.icon)||void 0===r?void 0:r.source}),i.onRenderHeaderLabel?i.onRenderHeaderLabel({group:i,isCollapsed:a,labelStyle:c.title}):n.createElement("h1",{className:c.title},i.text),f)}),(function(e){var t,r,n,o=e.theme,i=e.className,a=e.isCollapsed,s=o.palette,l=o.fonts;A(o);var u=(0,v.Km)(P,o),c=[(0,v.gm)(o,{highContrastStyle:w({outline:"2px dashed ButtonText"},(0,v.Qg)())}),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[u.root,o.fonts.medium,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingBottom:"1px",cursor:"default",userSelect:"none",selectors:(t={},t[":global(.".concat(u.group,".").concat(u.isDropping,")")]={selectors:(r={},r["& > .".concat(u.root)]={transition:"transform ".concat(v.cs.durationValue4," ").concat("cubic-bezier(0.075, 0.820, 0.165, 1.000)"," ")+"opacity ".concat(v.cs.durationValue1," ").concat("cubic-bezier(0.390, 0.575, 0.565, 1.000)"),transitionDelay:v.cs.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},r[".".concat(u.check)]={opacity:0},r)},t[":focus"]={outline:"none"},t)},i],groupHeaderContainer:[{display:"flex",alignItems:"center",height:32}],expand:[u.expand,c,(n={display:"flex",alignItems:"center",justifyContent:"center",fontSize:l.small.fontSize,width:32,height:32,color:s.neutralSecondary,":hover":{backgroundColor:s.neutralLight},":active":{backgroundColor:s.neutralQuaternaryAlt}},n[v.up]=w({":hover":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",outline:"2px dashed ButtonText"},":active":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",outline:"2px solid ButtonText"},":focus":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText"}},(0,v.Qg)()),n)],expandIsCollapsed:[{width:"12px",height:"12px"},a?[u.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:"rotate(180deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[u.title,{paddingLeft:12,textAlign:"start",fontSize:l.medium.fontSize,fontWeight:v.BO.semibold,lineHeight:"20px",outline:0,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",margin:0,flexGrow:1}],icon:[u.icon,{fontSize:v.fF.large,color:s.neutralSecondary,paddingLeft:12}]}})),D=r(83082),_=r(75296),N=r(82802),O=r(51195),M=r(28894),B=n.createContext({refreshContainingMenu:function(){}});B.displayName="SubmenuContext";var L,K,W=r(99139),H=r(30838),G=r(21160),z=function(){return z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},z.apply(this,arguments)},U={list:{paddingTop:4,paddingBottom:4},subComponentStyles:{menuItem:{divider:(L={margin:"".concat(3,"px 8px")},L[v.up]=z({backgroundColor:"WindowText"},(0,v.Qg)()),L)}}},V={root:"ms-GroupedComboBoxButton-root",mainContainer:"ms-GroupedComboBoxButton-mainContainer",rootTooltipHost:"ms-GroupedComboBoxButton-root-tooltipHost",textContainer:"ms-GroupedComboBoxButton-textContainer",icon:"ms-GroupedComboBoxButton-icon",labelContainer:"ms-GroupedComboBoxButton-labelContainer",labelText:"ms-GroupedComboBoxButton-labelText",individualItemLabelText:"ms-GroupedComboBoxButton-individualItemLabelText",menuIcon:"ms-GroupedComboBoxButton-menuIcon",secondaryText:"ms-GroupedComboBoxButton-secondaryText",divider:"ms-GroupedComboBoxButton-divider",menuButton:"ms-GroupedComboBoxButton-menuButton",indicator:"ms-GroupedComboBoxButton-indicator"},j=((K={})[v.up]=z(z({},(0,v.Qg)()),{backgroundColor:"Highlight",color:"HighlightText",".ms-GroupedComboBoxButton-menuButton":z({backgroundColor:"Highlight",color:"HighlightText"},(0,v.Qg)()),".ms-GroupedComboBoxButton-divider":z({backgroundColor:"HighlightText"},(0,v.Qg)())}),K),q={display:"flex",height:"100%",alignItems:"center",flexShrink:3,whiteSpace:"nowrap",overflow:"hidden"},$=r(49738),Q={calloutProps:{styles:{calloutMain:{whiteSpace:"pre-line"}}}},X=function(e){var t=e.targetElement,r=e.tooltip,o=e.showTooltipOnRight,i=e.mainContent,a=e.hostClassName,s=e.tooltipHost,l="function"==typeof r?r():r;return n.createElement($.S,{componentRef:s,content:l,directionalHint:o?d.A.rightCenter:d.A.leftCenter,directionalHintForRTL:o?d.A.leftCenter:d.A.rightCenter,calloutProps:t?{target:t}:void 0,tooltipProps:Q,hostClassName:a},i)},Y={alignSelf:"center"},J={display:"none",visibility:"hidden"};function Z(e){var t,r=null===(t=e.item.icon)||void 0===t?void 0:t.source;return r?[n.createElement(F.l8,{iconName:r,style:Y})]:[null]}function ee(e){var t=e.item,r=e.labelClassName,o=e.indicatorClassName,i=e.indicatorIconName,a=t.showIndicator,s=t.displayText,l=t.text,u=null!=s?s:l;return n.createElement(n.Fragment,null,a&&i&&n.createElement(F.l8,{className:o,iconName:i}),n.createElement("span",{className:r},u))}function te(e,t,r){return n.createElement(B.Provider,{value:{refreshContainingMenu:e}},null==r?void 0:r(t))}function re(e,t,r){return e-=window.pageXOffset,t-=window.pageYOffset,e>=r.left&&e<r.right&&t>=r.top&&t<r.bottom}function ne(e,t){var r,n=null===(r=t.current)||void 0===r?void 0:r.getBoundingClientRect();return!!n&&re(e.clientX,e.clientY,n)}var oe=r(72085),ie=function(e,t,r){return{height:e?t:"0px",opacity:e?"100%":"0%",transitionProperty:"height, opacity",transitionDuration:"".concat(r,", 0s")}},ae=function(e){var t=e.onHeightTransitionEnd,r=e.height,o=e.transitionDuration,i=void 0===o?"200ms":o,a=n.useState(!0),s=a[0],l=a[1];s&&requestAnimationFrame((function(){return l(!1)}));var u=n.useCallback((function(e){"height"===e.propertyName&&(null==t||t(e))}),[t]);return n.createElement("div",{style:ie(s,r,i),onTransitionEnd:u})};ae.displayName="TransitionOutItem";var se=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};function le(e,t,r,o,i){var a=n.useRef(),s=n.useRef(),l=n.useRef();if(e)if(void 0!==a.current&&t.length!==a.current.length){var u=t.map(r),c=u.findIndex((function(e,t){var r;return e!==(null===(r=a.current)||void 0===r?void 0:r[t])}));c<0?l.current=u.length:u.length>a.current.length?s.current=c:l.current=c,a.current=u}else void 0===a.current&&(a.current=t.map(r));var d=n.useCallback((function(e){return e===s.current}),[]),p=(0,oe.C)(),h=n.useCallback((function(){return n.createElement(ae,{height:i,onHeightTransitionEnd:function(){l.current=void 0,p()}})}),[i,p]),g=function(e,t,r,n){var o=t;return e&&void 0!==r.current&&(o=se([],t,!0)).splice(r.current,0,n()),o}(e,t,l,(function(){return o(h)}));return[g,d,n.useCallback((function(e){return e===l.current?h():void 0}),[h])]}function ue(e,t){var r=e.order,n=t.order;return void 0===r&&null==n?e.text.localeCompare(t.text):void 0===r||void 0===n?void 0===r?-1:1:r-n}var ce=function(){return ce=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ce.apply(this,arguments)};function de(e){var t=null==e?void 0:e.data;return n.createElement(Se,ce({},t,{isSubButton:!0}))}var pe={styles:{divider:{marginLeft:"8px",marginRight:"8px"}}};function he(e){return{key:"EMPTY_ITEM",onRender:e}}function ge(e){return e.key}var me=(0,i.Z)();function fe(e){e.preventDefault(),e.stopPropagation()}var ve=/apple/i.test(navigator.vendor);function be(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(ve)return e.filter((function(e){return!!e})).join(" ")}var ye=function(e){var t,r,o,i=e.className,s=e.item,l=e.reserveSpaceForIcon,u=void 0!==l&&l,c=e.isSubButton,p=e.styles,h=e.theme,g=e.parentGroupKey,m=e.selectedKey,f=e.animateEntrance,v=void 0!==f&&f,b=e.itemHeight,y=void 0===b?32:b,C=s.text,T=s.secondaryText,I=s.disabled,x=s.sections,w=s.onRenderIcon,P=void 0===w?Z:w,R=s.onRenderLabel,L=void 0===R?ee:R,K=s.tooltip,z=(0,W.C)(!1),V=z[0],j=z[1],$=n.useState(!1),Q=$[0],Y=$[1],re=n.useState(!1),oe=re[0],ie=re[1],ae=n.useState(!1),se=ae[0],ce=ae[1],ve=n.useState(x),ye=ve[0],Se=ve[1],Ce=function(){var e=n.useState(0),t=e[0],r=e[1];return[t,n.useCallback((function(){r(1)}),[]),n.useCallback((function(){r(2)}),[]),n.useCallback((function(){r(0)}),[])]}(),Te=Ce[0],ke=Ce[1],Fe=Ce[2],Ee=Ce[3],Ae=0!==Te,Ie=n.useContext(E),xe=Ie.onItemClick,we=Ie.onItemSecondaryAction,Pe=Ie.onItemMouseEnter,Re=Ie.onItemMouseLeave,De=Ie.onItemGotFocus,_e=Ie.onItemLostFocus,Ne=Ie.submenuMaxWidth,Oe=Ie.submenuMaxHeight,Me=Ie.onSubmenuOpen,Be=Ie.onSubmenuClose,Le=Ie.iconResources,Ke=Ie.onRenderTooltip,We=void 0===Ke?X:Ke,He=Ie.onRenderMenu,Ge=Ie.onTouchStart,ze=Ie.getItemTooltip,Ue=n.useContext(B),Ve=(0,H.B)("labelcontainer"),je=n.useRef(null),qe=P({item:s,onRenderTooltip:We,isActive:Q||se,mouseLeaveBoundingBox:function(){Y(!1)},refreshContainingMenu:Ue.refreshContainingMenu,labelElementId:Ve,componentRef:je}),$e=qe[0],Qe=qe[1],Xe=qe[2],Ye=n.useRef(null),Je=(0,G.d)({openMenu:Fe,closeMenu:Ee,setIsHover:function(e){var t;Y(e),e||null===(t=je.current)||void 0===t||t.setHover(e)}}),Ze=n.useCallback((function(e,t){return He?He({isSubmenu:!0},(function(){return te(Se,e,t)})):te(Se,e,t)}),[He]),et=(0,G.d)((function(){return(0,a.O)("grouped-combobox-button-submenu")})),tt=n.useRef(null),rt=n.useCallback((function(){Y(!1),null==Be||Be()}),[Y,Be]),nt=function(e,t,r,o,i){return le(!0,n.useMemo((function(){return r&&e?function(e,t,r){var n=[];return e.forEach((function(e,o){o>0&&n.length>0&&n.push({key:"separator".concat(o),itemType:N.G.Divider,itemProps:pe});var i=e.items.some((function(e){return e.icon})),a=e.sortByOrder?e.items.sort(ue):e.items;n.push.apply(n,a.map((function(e){var n=k(e,t)?t:void 0,o={reserveSpaceForIcon:i,item:e,styles:r,selectedKey:n,animateEntrance:!0};return{key:e.itemKey,data:o,onRender:de}})))})),n}(r,o,i):[]}),[r,i,e,o]),ge,he,t)[0]}(Ae,y,ye,m,p),ot=n.useRef(null),it=n.useCallback((function(e){Y(!0);var t=ne(e,Ct),r=ne(e,Ye);ie(t||!e.isDefaultPrevented()&&r);var n=e.target==ot.current||ne(e,ot);null==Pe||Pe(s,e,n?Je:void 0,c,g)}),[Y,Pe,s,c,g,ie,Je]),at=n.useCallback((function(e){var t;e.target instanceof Node&&(null===(t=mt.current)||void 0===t?void 0:t.contains(e.target))&&(Y(!1),ie(!1),null==Re||Re(s,e))}),[Y,Re,s]);A(h);var st,lt,ut=!!m,ct=function(e){var t=n.useState(!e),r=t[0],o=t[1],i=n.useRef(!0);return n.useEffect((function(){return function(){i.current=!1}}),[]),r||requestAnimationFrame((function(){i.current&&o(!0)})),r}(v),dt=me(p,{theme:h,className:i,disabled:I||!1,isHover:Q||se,isPressed:V,reserveSpaceForIcon:u,hasIcon:null!==$e,submenuOpen:Ae,isSelected:ut,isSubButton:c,isPrimaryButtonHover:oe,showButton:ct,itemHeight:y}),pt=(0,D.jI)(h),ht=n.useCallback((function(e){var t;I||("ArrowLeft"===e.key&&pt||"ArrowRight"===e.key&&!pt||e.altKey&&"ArrowDown"===e.key?(c||(ke(),null==Me||Me(s,Je,g)),e.stopPropagation(),e.preventDefault()):e.shiftKey&&"Enter"===e.key&&we?((null==we?void 0:we(s,Ue.refreshContainingMenu,e))&&(null===(t=je.current)||void 0===t||t.refresh()),e.stopPropagation(),e.preventDefault()):"Enter"!==e.key&&" "!==e.key&&"Tab"!==e.key||(null==xe||xe(s,e),e.stopPropagation(),"Tab"!==e.key&&e.preventDefault()))}),[I,pt,we,c,ke,Me,s,Je,g,Ue.refreshContainingMenu,xe]),gt=n.useCallback((function(e){I||(j.setFalse(),null==xe||xe(s,e),null==e||e.stopPropagation())}),[I,j,xe,s]),mt=n.useRef(null),ft=n.useCallback((function(e){ce(!0),De&&mt.current&&(0,_.s)(mt.current,e.target,!1)&&De(s,e)}),[De,s]),vt=n.useCallback((function(e){ce(!1),null==_e||_e(s,e)}),[_e,s]),bt=n.useCallback((function(){null==Ge||Ge(s,Je,c,g)}),[Ge,s,Je,c,g]),yt=n.useCallback((function(e){var t;(function(e){return"pointerId"in e&&"pointerType"in e})(t=e.nativeEvent)&&"touch"===t.pointerType&&(Y(!0),null==Pe||Pe(s,e,Je,!1,g),e.stopPropagation())}),[Pe,s,Je,g]),St=!!ye,Ct=n.useRef(null),Tt=n.useCallback((function(e){j.setTrue(),e.preventDefault()}),[j]),kt=n.useMemo((function(){return Ae&&nt.length>0?nt.reduce((function(e,t){return t.itemType===N.G.Divider?e+6+1:e+y}),8):0}),[Ae,y,nt]),Ft=n.useCallback((function(e){var t,r=e.containsFocus,n=e.documentContainsFocus;r&&n&&(null===(t=mt.current)||void 0===t||t.focus())}),[]),Et=n.createElement("div",{className:dt.mainContainer,role:"button",onMouseDown:Tt,onMouseUp:gt,onContextMenu:fe,onFocus:ft,tabIndex:-1},n.createElement("span",{ref:Ct,className:dt.textContainer},n.createElement("span",{id:Ve,className:dt.labelContainer,"aria-label":C},L({item:s,labelClassName:g||s.groupKey?dt.labelText:dt.individualItemLabelText,theme:h,indicatorClassName:dt.indicator,indicatorIconName:null==Le?void 0:Le.indicatorName})),n.createElement("div",{style:q},T&&n.createElement("span",{className:dt.secondaryText},T),St&&n.createElement(O.G,{"aria-hidden":"true",styles:{divider:[dt.divider]}}))),St&&n.createElement(n.Fragment,null,n.createElement("div",{ref:ot,"aria-hidden":!0,className:dt.menuButton,onMouseDown:fe,onMouseUp:fe,onClick:yt},n.createElement(F.l8,{iconName:pt?null!==(t=null==Le?void 0:Le.chevronLeftName)&&void 0!==t?t:"ChevronLeft-svg":null!==(r=null==Le?void 0:Le.chevronRightName)&&void 0!==r?r:"ChevronRight-svg",className:dt.menuIcon})),Ae&&n.createElement(M.l,{id:et,isBeakVisible:!1,items:nt,shouldFocusOnMount:1===Te,directionalHint:d.A.rightTopEdge,directionalHintForRTL:d.A.leftTopEdge,calloutProps:{calloutMaxHeight:Oe,calloutMaxWidth:Ne,finalHeight:kt,hideOverflow:!1},onRenderMenuList:Ze,styles:U,isSubMenu:!0,onDismiss:Je.closeMenu,onMenuDismissed:rt,target:ot,focusZoneProps:{componentRef:tt,direction:S.E.vertical,checkForNoWrap:!0},onRestoreFocus:Ft}))),At=(0,H.B)("icon"),It=$e&&se&&Xe,xt=It?At+"-action":void 0,wt=null!==$e?n.createElement(n.Fragment,null,n.createElement("div",{ref:Ye,id:At,"aria-label":Qe,className:dt.icon},$e),It&&xt&&(st=xt,lt=Xe,n.createElement("span",{id:st,"aria-hidden":!0,style:J},lt))):void 0,Pt=n.createElement("div",{ref:mt,role:"menuitem","aria-label":be(Qe,C,T),"aria-describedby":xt,"aria-expanded":St?Ae:void 0,"aria-haspopup":St?"menu":void 0,"aria-owns":Ae?et:void 0,"aria-disabled":I,className:dt.root,onMouseOver:it,onMouseLeave:at,onKeyDown:ht,onFocus:ft,onBlur:vt,tabIndex:-1,"data-is-focusable":!0,onTouchStart:bt},wt,Et);return K||void 0===K&&ze?We({targetElement:mt,tooltip:null!=K?K:ze?function(){return ze(s,se)}:void 0,showTooltipOnRight:null!=c&&c,mainContent:Pt,hoverElement:null!==(o=Ct.current)&&void 0!==o?o:void 0,hostClassName:dt.rootTooltipHost}):Pt};ye.displayName="GroupedComboBoxButtonBase";var Se=(0,o.I)(ye,(function(e){var t,r,n,o,i,a,s,l,u,c,d,p=e.theme,h=e.className,g=e.dividerClassName,m=e.iconClassName,f=e.subMenuClassName,b=e.isHover,y=e.isPressed,S=e.disabled,C=e.reserveSpaceForIcon,T=e.hasIcon,k=e.submenuOpen,F=e.isSelected,E=e.isSubButton,A=e.isPrimaryButtonHover,I=e.showButton,x=e.itemHeight,w=(0,v.Km)(V,p);return{root:[w.root,{display:"flex",width:"100%",flexDirection:"row",alignItems:"center",opacity:"0%",height:0,transitionProperty:"opacity, height",transitionDelay:"200ms, 0ms",transitionDuration:"100ms, 200ms"},I&&{opacity:"100%",height:x},(0,v.gm)(p,{highContrastStyle:z({outline:S?"2px dotted GrayText":"2px dashed ButtonText"},(0,v.Qg)())}),p.fonts.medium,{color:p.semanticColors.bodyText,backgroundColor:"transparent",border:"none",lineHeight:"20px",cursor:"pointer",textAlign:"left",":focus":!S&&j},S&&(t={color:p.semanticColors.disabledBodyText,cursor:"default"},t[v.up]=z({color:"GrayText"},(0,v.Qg)()),t),F&&!S&&[{backgroundColor:p.palette.neutralLight,color:p.semanticColors.menuItemTextHovered},j],!y&&!S&&b&&{backgroundColor:p.semanticColors.menuItemBackgroundHovered,color:p.semanticColors.menuItemTextHovered},k&&!S&&{backgroundColor:p.semanticColors.menuItemBackgroundPressed,color:p.semanticColors.menuItemTextHovered},!y&&!S&&b&&{backgroundColor:p.semanticColors.menuItemBackgroundHovered,color:p.semanticColors.menuItemTextHovered},A&&!S&&(r={},r[v.up]=z(z({zIndex:1,backgroundColor:"Highlight",color:"HighlightText"},(0,v.Qg)()),{outline:"2px dashed ButtonText"}),r),!S&&y&&(n={backgroundColor:p.semanticColors.menuItemBackgroundPressed,color:p.semanticColors.menuItemTextHovered},n[v.up]=z(z({zIndex:1,backgroundColor:"Highlight",color:"HighlightText"},(0,v.Qg)()),{outline:"2px solid ButtonText"}),n),h],mainContainer:[w.mainContainer,{display:"flex",flexGrow:"1",alignItems:"center",justifyContent:"flex-start",minWidth:0,height:"100%"},S&&{":focus":(o={},o[v.up]=z({backgroundColor:"ButtonFace",color:"GrayText"},(0,v.Qg)()),o)},E&&{paddingRight:8}],rootTooltipHost:[w.rootTooltipHost,{width:"100%",height:"100%",minWidth:0}],textContainer:[w.textContainer,{display:"flex",alignItems:"center",justifyContent:"space-between",height:"100%",width:"100%",flexGrow:1,minWidth:0,overflow:"hidden"},C&&!T&&{paddingLeft:38}],icon:[w.icon,{display:"flex",alignItems:"stretch",justifyContent:"center"},C&&T&&{margin:"0px 0px 0px 6px",width:"32px",height:"100%",minWidth:"32px"},S&&(i={},i[v.up]=z({color:"GrayText"},(0,v.Qg)()),i),m],labelContainer:[w.labelContainer,{padding:C?"0 1px 0 2px":"0 1px 0 12px",overflow:"hidden",whiteSpace:"nowrap",minWidth:"40%",flexGrow:1,flexShrink:4,height:"100%",display:"flex",alignItems:"center"}],labelText:[w.labelText,{overflow:"hidden",textOverflow:"clip"},S&&(a={color:p.semanticColors.disabledBodyText},a[v.up]=z({color:"GrayText"},(0,v.Qg)()),a)],individualItemLabelText:[w.individualItemLabelText,{fontWeight:v.BO.semibold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flexShrink:5,paddingRight:"8px"}],menuIcon:[w.menuIcon,{width:12,height:12,lineHeight:16,textAlign:"center"},p.fonts.small,S&&(s={color:p.semanticColors.disabledBodyText},s[v.up]=z({color:"GrayText"},(0,v.Qg)()),s)],secondaryText:[w.secondaryText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flexShrink:5,paddingRight:"8px"},p.fonts.small],divider:[w.divider,{height:"50%"},(l={},l[v.up]=[S&&{color:"GrayText",backgroundColor:"GrayText"},!S&&{backgroundColor:"windowText",color:"windowText"},!S&&(F||A||y)&&{backgroundColor:"highlightText",color:"highlightText",borderColor:"Highlight"},(0,v.Qg)()],l),g],menuButton:[w.menuButton,S&&(u={backgroundColor:p.semanticColors.listBackground},u[v.up]=z({color:"GrayText",backgroundColor:"transparent"},(0,v.Qg)()),u),{color:p.palette.neutralSecondary,minWidth:28,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"transparent"},b&&!S&&{backgroundColor:p.semanticColors.menuItemBackgroundHovered,color:p.palette.neutralSecondary},k&&(c={backgroundColor:p.semanticColors.menuItemBackgroundPressed,color:p.palette.neutralSecondary},c[v.up]=z({backgroundColor:"Highlight",color:"HighlightText"},(0,v.Qg)()),c),!y&&!S&&b&&{backgroundColor:p.semanticColors.menuItemBackgroundHovered,color:p.palette.neutralSecondary},y&&!S&&{backgroundColor:p.semanticColors.menuItemBackgroundPressed,color:p.palette.neutralSecondary},(d={},d[v.up]=[{":hover":z({zIndex:1,backgroundColor:"Highlight",color:"HighlightText",outline:"2px dashed ButtonText"},(0,v.Qg)())},(A||y||k)&&!S&&z({backgroundColor:"Highlight",color:"HighlightText"},(0,v.Qg)())],d),f],indicator:[w.indicator,{alignSelf:"start",width:8,height:8},(0,D.jI)(p)&&{transform:"scaleX(-1)"}]}}),void 0,{scope:"GroupedComboBoxButton"});Se.displayName="GroupedComboBoxButton";var Ce,Te=function(){function e(e,t){this._pendingFocus=!1,this._elementCreated=!1,this._list=e,this._root=t}return e.prototype.scrollAndFocus=function(e){this.scrollToElementCore(e),this._elementCreated?this.focusElement():this._pendingFocus=!0},e.prototype.onElementCreated=function(){this._elementCreated=!0,this._pendingFocus&&(this.focusElement(),this._pendingFocus=!1)},e.prototype.onElementRemoved=function(){this._elementCreated=!1},e}(),ke=(Ce=function(e,t){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Ce(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ce(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ke(t,e),t.prototype.scrollToElementCore=function(){var e;null===(e=this._list.current)||void 0===e||e.scrollToIndex(0)},t.prototype.focusElement=function(){if(this._root.current){var e=this._root.current.querySelector('[data-list-index="0"]');e?(0,s.vO)(e):(0,s.vO)(this._root.current)}},t.prototype.setFocusToKthItem=function(e){if(this._root.current){var t='[data-list-index="'.concat(e,'"]'),r=this._root.current.querySelector(t);r&&(0,s.vO)(r)}},t.prototype.onCollapsed=function(){this._root.current&&(0,s.vO)(this._root.current)},t}(Te),Ee=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ee(t,e),t.prototype.scrollToElementCore=function(e){var t;null===(t=this._list.current)||void 0===t||t.scrollToIndex(e-1)},t.prototype.focusElement=function(){var e=this._root.current;if(e){var t=e.lastElementChild,r=(0,s.yv)(e,t,!0,!0,!0);(0,s.lo)(r)}},t}(Te),Ie=function(){function e(e,t){this.itemCount=0,this.firstElementWorker=new Fe(e,t),this.lastElementWorker=new Ae(e,t)}return e.prototype.onPageUpdates=function(e){if(0!==e.length){var t=e.find((function(e){return!e.isSpacer}));t&&(0===t.startIndex?this.firstElementWorker.onElementCreated():this.firstElementWorker.onElementRemoved());for(var r=e.length;r>0;--r){var n=e[r-1];if(!n.isSpacer){n.startIndex+n.itemCount===this.itemCount?this.lastElementWorker.onElementCreated():this.lastElementWorker.onElementRemoved();break}}}},e.prototype.scrollToAndFocus=function(e){"FirstElement"===e?this.firstElementWorker.scrollAndFocus(this.itemCount):"LastElement"===e&&this.lastElementWorker.scrollAndFocus(this.itemCount)},e.prototype.onCollapsed=function(){this.firstElementWorker.onCollapsed()},e.prototype.setFocusToKthItem=function(e){this.firstElementWorker.setFocusToKthItem(e)},e}(),xe=r(92467),we=function(){return we=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},we.apply(this,arguments)},Pe=function(e,t){var r="200ms",n="cubic-bezier(0.33, 0.0, 0.1, 1.0)",o={overflow:"hidden",opacity:"100%",transition:"max-height ".concat(r," ").concat(n,", opacity 0ms linear ").concat(r)},i=void 0!==t?{maxHeight:t}:void 0,a=e?{maxHeight:"0px",opacity:"0%",transition:"max-height ".concat(r," ").concat(n,", opacity 0ms linear 0ms")}:void 0;return we(we(we({},o),i),a)},Re=function(e){var t=e.theme;return{root:[{cursor:"pointer",background:"none",backgroundColor:"none",border:"none",color:null==t?void 0:t.palette.blue,flexDirection:"row",height:32,paddingLeft:38,alignItems:"center",display:"flex",width:"100%",":hover":{backgroundColor:null==t?void 0:t.palette.neutralLight},":focus":{backgroundColor:null==t?void 0:t.palette.neutralLight},":active":{backgroundColor:null==t?void 0:t.palette.neutralQuaternaryAlt}}]}};function De(e){return null!==e.current&&(0,s.SE)(e.current)}function _e(e){return e.itemKey}function Ne(){return{itemKey:"EMPTY_ITEM",text:""}}var Oe=(0,i.Z)(),Me=function(e){var t=e.items,r=e.isCollapsed,o=e.groupKey,i=e.text,a=e.headerStyles,s=e.itemStyles,l=e.onGroupToggled,u=e.componentRef,c=e.selectedKey,d=e.parentBottomPadding,p=void 0===d?0:d,h=e.itemHeight,g=void 0===h?32:h,m=e.initialItemLimit,f=e.theme,v=e.stringResources,b=n.useRef(!0),y=n.useState(m),S=y[0],C=y[1],F=(0,xe.E)((function(e){var t=getComputedStyle(e);(parseFloat(t.transitionDuration)<=0||t.transitionProperty.indexOf("max-height")<0)&&(b.current=!1)})),E=n.useRef(null),A=n.useRef(null),I=(0,G.d)((function(){return new Ie(E,A)}));I.itemCount=t.length;var x=n.useCallback((function(){null==l||l(o,!r)}),[o,r,l]),w=function(e,t,r,o){var i=n.useState(void 0),a=i[0],s=i[1],l=n.useCallback((function(){var n,i=null===(n=o.current)||void 0===n?void 0:n.getBoundingClientRect();s(i?function(e,t,r){var n=document.documentElement.clientHeight-t-r.top;if(!(Math.floor(n)<=0))return Math.min(e,n)}(t,r,i):void 0),requestAnimationFrame(e)}),[o,t,r,e]);return[a,l,n.useCallback((function(e){"max-height"===e.propertyName&&s(void 0)}),[])]}(x,t.length*g,p+4,F),P=w[0],D=w[1],_=w[2],N=n.useCallback((function(){b.current?D():x(),!r&&De(A)&&I.onCollapsed()}),[r,D,x,I]);n.useImperativeHandle(u,(function(){return{scrollToElement:function(e){r?(x(),setTimeout((function(){return I.scrollToAndFocus(e)}),0)):I.scrollToAndFocus(e)},get hasFocus(){return De(A)}}}),[x,I,r]);var O=S?t.slice(0,S):t,M=le(b.current,O,_e,Ne,g),B=M[0],L=M[1],K=M[2],W=t.some((function(e){return e.icon})),z=n.useCallback((function(){C(void 0),S&&setTimeout((function(){return I.setFocusToKthItem(S)}),0)}),[C,I]),U=Oe(Re,{theme:f}),V=function(){return n.createElement("button",{className:U.root,role:"menuitem",onClick:z},v?v.showMoreButtonLabel:"+show more")},j=n.useCallback((function(e,t){if(!e)return null;var r=K(t);if(void 0!==r)return r;var i=function(e,t){return void 0!==t&&(!!k(e,t)||!(e.disableCheckSubItemForSelected||!e.sections)&&e.sections.some((function(e){return e.items.some((function(e){return k(e,t)}))})))}(e,c)?c:void 0,a=L(t);return S&&t==S-1?n.createElement(n.Fragment,null,n.createElement(Se,{item:e,styles:s,reserveSpaceForIcon:W,key:e.itemKey,parentGroupKey:o,selectedKey:i,animateEntrance:a,itemHeight:g}),n.createElement(V,null)):n.createElement(Se,{item:e,styles:s,reserveSpaceForIcon:W,key:e.itemKey,parentGroupKey:o,selectedKey:i,animateEntrance:a,itemHeight:g})}),[K,c,L,s,W,o,g,z,S]),q=(0,H.B)("GroupedComboBoxSection");n.useEffect((function(){var e;return null===(e=E.current)||void 0===e?void 0:e.forceUpdate()}),[c]);var $=n.useCallback((function(e){return I.onPageUpdates(e)}),[I]);return n.createElement("div",{id:q,ref:A},n.createElement(R,{group:e,isCollapsed:r,styles:a,onToggleCollapse:N}),n.createElement("div",{ref:F,style:Pe(null!=r&&r,P),onTransitionEnd:_},(void 0!==P||!r)&&n.createElement(T.B,{role:"group","aria-label":i,componentRef:E,onPagesUpdated:$,items:B,onRenderCell:j,getKey:_e,ignoreScrollingState:!0,renderedWindowsAhead:1,renderedWindowsBehind:1})))};Me.displayName="Section";var Be=function(){return Be=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Be.apply(this,arguments)};function Le(e,t,r){return e.filter((function(e){if(e.excludeFromSearch)return!1;var n=t.test(e.text);return!n&&r.length>1&&e.sections&&(n=e.sections.some((function(e){return e.items.some((function(e){return!e.excludeFromSearch&&t.test(e.text)}))}))),n}))}function Ke(e){return e.some((function(e){return!He(e)&&e.items.length>0}))}function We(e){var t=e.filter((function(e){return He(e)||e.items.length>0}));return t.length===e.length?e:t}function He(e){return void 0!==e.itemKey}function Ge(e,t,r){var n=e.groupKey,o=e.initiallyCollapsed,i=t.get(n);return void 0!==i?i:!r&&o}var ze=function(){return ze=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ze.apply(this,arguments)},Ue=n.forwardRef((function(e,t){var r=e.groupedItems,o=e.headerStyles,i=e.sectionClassNames,a=e.separatorStyles,s=e.componentRef,l=e.itemStyles,u=e.onGroupToggled,c=e.selectedKey,d=e.width,p=e.onDismiss,h=e.parentBottomPadding,g=e.isFiltering,m=e.groupStates,f=e.itemHeight,v=e.theme,b=e.stringResources;console.assert(void 0===r.find((function(e){return!He(e)&&0===e.items.length})),"'groups' must not contain any empty groups.");var T=n.useReducer((function(e){return e+1}),0)[1],k=n.useCallback((function(e,t){m.set(e,t),T(),null==u||u(e,t)}),[m,u]),F=n.useMemo((function(){for(var e=[],t=0;t<r.length;++t)e.push(n.createRef());return e}),[r.length]),E=function(e,t,r){return n.useCallback((function(n){var o;if(0!==t.length){var i,a=void 0;switch(n.key){case"ArrowDown":if(n.ctrlKey||n.metaKey){var s=e.findIndex((function(e){var t;return null===(t=e.current)||void 0===t?void 0:t.hasFocus}));s>-1&&s+1<t.length&&(a=s+1,i="FirstElement")}break;case"ArrowUp":if(n.ctrlKey||n.metaKey)s=e.findIndex((function(e){var t;return null===(t=e.current)||void 0===t?void 0:t.hasFocus})),s>0&&(a=s-1,i="LastElement");else if(n.altKey)return n.stopPropagation(),void(null==r||r(n));break;case"Home":a=0,i="FirstElement";break;case"End":a=t.length-1,i="LastElement";break;case"Tab":return void(null==r||r(n))}void 0!==a&&i&&(null===(o=e[a].current)||void 0===o||o.scrollToElement(i),n.stopPropagation(),n.preventDefault())}}),[e,t,r])}(F,r,p),A=n.useMemo((function(){return function(e){return{listStyleType:"none",margin:"0px",padding:"".concat(4,"px 0px ").concat(4,"px 0px"),width:e}}(d)}),[d]);return 0===r.length?null:n.createElement(y.R,{style:A,componentRef:s,direction:S.E.vertical,allowFocusRoot:!0,isCircularNavigation:!1,checkForNoWrap:!0,onKeyDown:E,elementRef:t,as:"div"},r.map((function(e,t){return He(e)?n.createElement(n.Fragment,{key:t},n.createElement(Se,{item:e,reserveSpaceForIcon:!!e.icon,key:e.itemKey,itemHeight:f}),t!=r.length-1&&n.createElement(C.w,{styles:a})):n.createElement(n.Fragment,{key:e.groupKey},n.createElement(Me,ze({},e,{componentRef:F[t],classNames:i,headerStyles:o,itemStyles:l,onGroupToggled:k,selectedKey:c,parentBottomPadding:h,isCollapsed:Ge(e,m,g),itemHeight:f,initialItemLimit:e.initialItemLimit,theme:v,stringResources:b})),t!=r.length-1&&n.createElement(C.w,{styles:a}))})))}));function Ve(e,t){return"".concat(e.itemKey,"-").concat(t)}function je(e,t){var r,n;(null===(r=e.current)||void 0===r?void 0:r.key)!==t&&(null===(n=e.current)||void 0===n||n.menuCommands.setIsHover(!1),e.current=void 0)}Ue.displayName="SectionedList";var qe=r(76111),$e=r(24077);var Qe=(0,i.Z)(),Xe={root:"ms-GroupedComboBoxDropDown",group:"ms-GroupedComboBoxDropDown-group",link:"ms-Link",listCell:"ms-List-cell"},Ye=(0,o.I)((function(e){var t=e.id,r=e.className,o=e.styles,i=e.theme,a=e.groupedItems,s=e.scrollbarWidth,l=e.dropDownWidth,u=e.dropDownMaxWidth,g=e.dropDownMaxHeight,m=e.submenuMaxWidth,f=e.submenuMaxHeight,v=e.target,y=e.onAnnounceSearchResult,S=e.onDismiss,C=e.onItemClick,T=e.onItemSecondaryAction,k=e.onItemMouseEnter,F=e.onItemMouseLeave,x=e.onItemGotFocus,w=e.onItemLostFocus,P=e.onMenuLostFocus,R=e.filterText,D=e.renderEmptyContent,_=e.componentRef,N=e.onGroupToggled,O=e.iconResources,M=e.onRenderTooltip,B=e.selectedKey,L=e.onRenderMenu,K=e.directionalHintFixed,W=void 0===K||K,H=e.onRestoreFocus,G=e.getItemTooltip,z=e.groupStates,U=void 0===z?new Map:z,V=e.itemHeight,j=e.stringResources;A(i);var q=Qe(o,{theme:i,className:r}),$=function(e,t,r){var o=n.useRef(),i=n.useRef(),a=n.useRef(),s=n.useRef(),l=n.useRef(),u=n.useCallback((function(){o.current&&window.clearTimeout(o.current),o.current=void 0,i.current=void 0}),[]),c=n.useCallback((function(e,t,r,n){var o,i=Ve(e,n),a=r?l:s;(null===(o=a.current)||void 0===o?void 0:o.key)!==i&&function(e,t,r){var n;null===(n=e.current)||void 0===n||n.menuCommands.setIsHover(!1),e.current={key:t,menuCommands:r},r.setIsHover(!0)}(a,i,t)}),[]),d=n.useCallback((function(t,r,n,c,d){var p,h,g,m=Ve(t,d);if(je(s,m),je(l,m),!c&&m!==i.current&&m!==(null===(p=a.current)||void 0===p?void 0:p.key)){u();var f=null===(h=a.current)||void 0===h?void 0:h.menuCommands;n?(o.current=window.setTimeout((function(){null==f||f.closeMenu(),null==n||n.openMenu(),a.current={menuCommands:n,key:m},o.current=void 0,i.current=void 0}),250),i.current=m):m!==i.current&&m===(null===(g=a.current)||void 0===g?void 0:g.key)?u():a.current&&(o.current=window.setTimeout((function(){null==f||f.closeMenu(),a.current=void 0,o.current=void 0}),250),i.current=void 0)}null==e||e(t,r)}),[u,r,e]),p=n.useCallback((function(e,r){u(),null==t||t(e,r)}),[u,t]),h=n.useCallback((function(e,t,r){var n;u(),null===(n=null==a?void 0:a.current)||void 0===n||n.menuCommands.closeMenu(),a.current={key:Ve(e,r),menuCommands:t}}),[u]);return[d,p,h,n.useCallback((function(){u(),a.current=void 0}),[u]),u,c]}(k,F),Q=$[0],X=$[1],Y=$[2],J=$[3],Z=$[4],ee=$[5];n.useEffect((function(){return Z}),[Z]);var te=n.useMemo((function(){return{onItemClick:C,onItemSecondaryAction:T,onItemMouseEnter:Q,onItemMouseLeave:X,onItemGotFocus:x,onItemLostFocus:w,submenuMaxWidth:m,submenuMaxHeight:f,onSubmenuOpen:Y,onSubmenuClose:J,iconResources:O,onRenderTooltip:M,onRenderMenu:L,onTouchStart:ee,getItemTooltip:G}}),[C,T,Q,X,x,w,m,f,Y,J,O,M,L,ee,G]),re=function(e,t){if(!t)return We(e);var r=new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),n=function(e){return e.filter((function(e){return!He(e)}))}(e);return We(n.map((function(e){return Be(Be({},e),{initiallyCollapsed:!1,items:Le(e.items,r,t)})})))}(a,R),ne=0===re.length&&Ke(a),oe=n.useState(),ie=oe[0],ae=oe[1],se=n.useRef(null);n.useImperativeHandle(_,(function(){return{announceText:ae,focusDropDown:function(){var e;null===(e=se.current)||void 0===e||e.focus()}}}));var le=function(e,t,r){var o=n.useState(e),i=o[0],a=o[1],s=n.useMemo((function(){return e}),[e]),l=n.useMemo((function(){return void 0===t?e:void 0!==e?Math.max(0,e-t):void 0}),[e,t]),u=(0,xe.E)((function(e){var t=window.ResizeObserver?new window.ResizeObserver((function(){if(s){var t=function(e,t){if(e.clientHeight>window.innerHeight)return!0;var r=(0,qe.Hc)(e);if(!r||!("scrollHeight"in r))return!0;if(r.parentElement){var n=parseInt(window.getComputedStyle(r.parentElement).getPropertyValue("top"))+1;if(e.clientHeight+n+t>window.innerHeight)return!0}return r.scrollHeight>r.clientHeight}(e,r);a(t?s:l)}})):void 0;return null==t||t.observe(e),(0,qe.mh)(),(0,qe.c8)(e,new $e.g(e)),function(){null==t||t.disconnect(),(0,qe.fY)()}}));return[i,u]}(l,s,8),ue=le[0],ce=le[1],de=q.subComponentStyles,pe=de.separatorStyles,he=de.itemStyles,ge=de.headerStyles,me=n.useState(),fe=me[0],ve=me[1],be=Ke(a);n.useEffect((function(){be&&ve(R?null==y?void 0:y(re,R):void 0)}),[R,re,be,y]);var ye=function(){return n.createElement(Ue,{ref:ce,componentRef:se,groupedItems:re,separatorStyles:pe,sectionClassNames:q,itemStyles:he,onGroupToggled:N,selectedKey:B,onDismiss:S,width:l&&s?l-s:void 0,headerStyles:ge,parentBottomPadding:8,isFiltering:void 0!==R,groupStates:U,itemHeight:V,theme:i,stringResources:j})};return n.createElement(c.P,{id:t,role:"menu",target:v,isBeakVisible:!1,directionalHint:d.A.bottomLeftEdge,directionalHintForRTL:d.A.bottomRightEdge,directionalHintFixed:W,alignTargetEdge:!0,onDismiss:S,calloutMaxHeight:g,calloutWidth:ue,calloutMaxWidth:u,shouldRestoreFocus:!0,onRestoreFocus:H,minPagePadding:8,onMouseDown:I,onMouseLeave:P},n.createElement(p.MO,null),n.createElement(h.P,null,n.createElement(b,{"aria-live":"polite",message:ie})),n.createElement(h.P,null,n.createElement(b,{"aria-live":"polite",message:fe})),ne?null==D?void 0:D(R):n.createElement(E.Provider,{value:te},L?L({isSubmenu:!1},ye):ye()))}),(function(e){var t,r=e.theme,n=e.className,o=r.palette,i=(0,v.Km)(Xe,r);return{root:[i.root,r.fonts.small,{position:"relative",selectors:(t={},t[".".concat(i.listCell)]={minHeight:38},t)},n],group:[i.group,{transition:"background-color ".concat(v.cs.durationValue2," ").concat("cubic-bezier(0.445, 0.050, 0.550, 0.950)")}],groupIsDropping:{backgroundColor:o.neutralLight},subComponentStyles:{separatorStyles:{root:{fontSize:0,marginLeft:"8px",marginRight:"8px"}}}}}),void 0,{scope:"GroupedComboBoxDropDown"});function Je(e){return"object"==typeof e&&null!==e&&"key"in e&&"keyCode"in e}Ye.displayName="GroupedComboBoxDropDown";var Ze=r(77971),et=r(25109),tt=r(23693),rt=r(39773),nt=function(){return nt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nt.apply(this,arguments)},ot=(0,i.Z)();function it(e){e.preventDefault()}function at(e,t){e.current&&(e.current.value=null!=t?t:"")}function st(e){null==e||e.focus()}function lt(e){if(void 0!==e)return n.createElement(Ze.E,null,e)}var ut=n.forwardRef((function(e,t){var r=e.className,o=e.componentRef,i=e.iconProps,a=void 0===i?{iconName:"ChevronDown-svg"}:i,s=e.onButtonClick,l=e.styles,u=e.theme,c=e.onBlur,d=e.buttonChecked,p=void 0!==d&&d,h=e.onPendingValueChanged,g=e.onSubmit,m=e.onCancel,f=e.value,v=e.disabled,b=e.hideFocusVisual,y=void 0!==b&&b,S=e.prefix,C=e.onRenderPrefix,T=void 0===C?lt:C,k=e.keytipProps,F=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["className","componentRef","iconProps","onButtonClick","styles","theme","onBlur","buttonChecked","onPendingValueChanged","onSubmit","onCancel","value","disabled","hideFocusVisual","prefix","onRenderPrefix","keytipProps"]),E=n.useRef(),I=n.useRef(null);n.useEffect((function(){at(I,f),E.current=f}),[f]);var x=n.useState(!1),w=x[0],P=x[1],R=n.useState(),D=R[0],_=R[1],N=n.useMemo((function(){return T(S)}),[T,S]);void 0!==N&&N!==D&&_(N);var O=n.useCallback((function(){void 0===N&&_(void 0)}),[N]),M=void 0!==D&&void 0===N;A(u);var B=ot(l,{theme:u,isActive:w||p,className:r,disabled:v||!1,hideFocusVisual:y,prefixExiting:M}),L=n.useMemo((function(){return B.subComponentStyles.buttonStyles()}),[B.subComponentStyles]),K=n.useCallback((function(e){var t;at(I,E.current),e&&(null===(t=I.current)||void 0===t||t.select())}),[]);n.useImperativeHandle(o,(function(){return{focus:function(){var e;return null===(e=I.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=I.current)||void 0===e?void 0:e.blur()},cancelPendingChange:K,setPendingText:function(e){return at(I,e)}}}),[K]);var W=n.useCallback((function(){P(!0),K(!0)}),[K]),H=n.useCallback((function(e){P(!1),null==c||c(e)}),[c]),G=n.useCallback((function(e){null==h||h(e.target.value),e.stopPropagation()}),[h]),z=n.useCallback((function(e){var t;"Enter"===e.key||"Tab"==e.key?null==g||g(e,null===(t=I.current)||void 0===t?void 0:t.value,E.current):"Escape"===e.key&&m&&m(e)}),[g,m]),U=n.useCallback((function(e){var t;null===(t=I.current)||void 0===t||t.focus(),s&&s(e)}),[I,s]),V=n.useCallback((function(e){var t;"touch"===e.pointerType&&(null===(t=I.current)||void 0===t||t.focus(),p||null==s||s(e),e.stopPropagation(),e.preventDefault())}),[s,p]);k&&!k.onExecute&&(k.onExecute=st);var j=(0,et.Z)({keytipProps:k,disabled:v});A("function"==typeof j);var q=(0,rt.a)(j,t);return n.createElement("div",{className:B.root,ref:q},D&&n.createElement("div",{className:B.prefix,onAnimationEnd:O},D),n.createElement("input",nt({ref:I,"data-ktp-execute-target":k?"":void 0,type:"text",onFocus:W,onBlur:H,onPointerDown:V,autoComplete:"off",spellCheck:!1,translate:"no","data-lpignore":!0,className:B.textInput,onChange:G,onKeyDown:z,readOnly:v},F)),n.createElement(tt.K,{"data-is-focusable":!1,tabIndex:-1,styles:L,iconProps:a,onMouseDown:it,onClick:U,checked:p,disabled:v}))}));ut.displayName="TextFieldWithActionBase";var ct,dt=r(90044),pt=function(){return pt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pt.apply(this,arguments)},ht={root:"ms-TextFieldWithAction-root",textInput:"ms-TextFieldWithAction-textInput"},gt=(0,dt.J9)((function(e){var t,r=e.semanticColors;return{backgroundColor:r.disabledBackground,color:r.disabledText,cursor:"default",selectors:(t={":after":{borderColor:r.disabledBackground}},t[v.up]=pt({color:"GrayText",backgroundColor:"transparent",selectors:{":after":{borderColor:"GrayText"}}},(0,v.Qg)()),t)}})),mt={selectors:(ct={},ct[v.up]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},(0,v.Qg)()),ct)},ft=function(e){var t,r={buttonTextColor:e.semanticColors.bodySubtext,buttonTextHoveredCheckedColor:e.semanticColors.buttonTextChecked,buttonBackgroundHoveredColor:e.semanticColors.listItemBackgroundHovered,buttonBackgroundCheckedColor:e.semanticColors.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:e.semanticColors.listItemBackgroundCheckedHovered};return{icon:{display:"flex",width:12,height:12},root:{color:r.buttonTextColor,padding:"0px 2px",borderRadius:0,selectors:(t={},t[v.up]=pt({color:"ButtonText"},(0,v.Qg)()),t)},rootHovered:[{backgroundColor:r.buttonBackgroundHoveredColor,color:r.buttonTextHoveredCheckedColor},mt],rootPressed:[{backgroundColor:r.buttonBackgroundCheckedColor,color:r.buttonTextHoveredCheckedColor},mt],rootChecked:[{backgroundColor:r.buttonBackgroundCheckedColor,color:r.buttonTextHoveredCheckedColor},mt],rootCheckedHovered:[{backgroundColor:r.buttonBackgroundCheckedHoveredColor,color:r.buttonTextHoveredCheckedColor},mt],rootDisabled:[gt(e)]}},vt=pt(pt({borderColor:"Highlight"},(0,v.Qg)()),{color:"HighlightText"}),bt="cubic-bezier(0.33, 0.00, 0.10, 1.00)",yt=(0,dt.J9)((function(){return(0,v.i7)({"0%":{width:"0px",opacity:"0%",animationTimingFunction:bt},"66%":{width:"16px",opacity:"0%",animationTimingFunction:"linear"},"100%":{opacity:"100%"}})})),St=(0,dt.J9)((function(){return(0,v.i7)({"0%":{width:"16px",opacity:"100%",animationTimingFunction:"linear"},"33%":{width:"16px",opacity:"0%",animationTimingFunction:bt},"100%":{width:"0px"}})})),Ct=(0,o.I)(ut,(function(e){var t,r,n,o,i,a,s=e.hideFocusVisual,l=e.className,u=e.isActive,c=e.theme,d=e.disabled,p=e.prefixExiting,h=(0,v.Km)(ht,c),g=(0,v.Sq)(c.semanticColors.inputFocusBorderAlt,c.effects.roundedCorner2),m=c.semanticColors;return{root:[h.root,{display:"flex",width:"100%",flexDirection:"row",alignItems:"stretch",position:"relative",border:"1px solid ".concat(m.inputBorder),borderRadius:"2px",borderStyle:"solid",boxSizing:"border-box",backgroundColor:m.inputBackground},u&&!d&&!s&&[g,{selectors:(t={},t[v.up]=vt,t)}],d&&[{borderColor:m.disabledBorder,selectors:(r={},r[v.up]=pt({borderColor:"GrayText"},(0,v.Qg)()),r)},u&&{selectors:(n={},n[v.up]=pt({outline:"GrayText dotted 2px"},(0,v.Qg)()),n)}],{selectors:(o={},o[v.up]=[{backgroundColor:"Window"},!d&&{selectors:{":hover":vt}},(0,v.Qg)()],o)},l],textInput:[h.textInput,{width:"100%",minWidth:0,borderWidth:0,outline:0,margin:0,padding:"0px 0px 0px 2px",boxShadow:"none",textOverflow:"ellipsis",backgroundColor:"transparent",color:m.inputText,selectors:(i={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},i[v.up]=pt({background:"Window",color:d?"GrayText":"WindowText"},(0,v.Qg)()),i)},d&&{backgroundColor:m.disabledBackground,color:m.disabledText},c.fonts.medium],prefix:{wordWrap:"none",padding:"0px 0px 0px 2px",alignSelf:"center",width:16,height:16,color:d?m.disabledText:m.inputPlaceholderText,lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(a={},a[v.up]=pt({color:d?"GrayText":"WindowText"},(0,v.Qg)()),a),animationName:"".concat(p?St():yt()),animationDuration:"300ms",opacity:p?"0%":"100%"},subComponentStyles:{buttonStyles:ft(c)}}}),void 0,{scope:"TextFieldWithAction"});Ct.displayName="TextFieldWithAction";var Tt=r(10166),kt=function(){return kt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kt.apply(this,arguments)},Ft=(0,i.Z)(),Et=n.forwardRef((function(e,t){var r,o=e.id,i=void 0===o?(0,a.O)("GroupedComboBox"):o,c=e.onItemClick,d=e.componentRef,p=e.onMenuOpened,h=e.onMenuDismissed,g=e.onFilterItems,m=e.onFilterEnd,f=e.onFilterBegin,v=e.enableFiltering,b=e.disabled,y=e.onChange,S=e.tabIndex,C=e.onRenderTextFieldPrefix,T=e.iconResources,k=e.ariaLabel,F=e.styles,E=e.theme,I=e.menuInitiallyOpened,x=e.hideFocusVisual,w=e.onItemGotFocus,P=e.onItemPreview,R=(e.onItemMouseEnter,e.width),D=e.keytipProps,_=e.selectedItem,N=e.maxTextLength,O=e.stringResources,M=e.mfpDeferOnMenuDismissedEnabled,B=e.allowCaretOverrideOnKeyDown,L=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["id","onItemClick","componentRef","onMenuOpened","onMenuDismissed","onFilterItems","onFilterEnd","onFilterBegin","enableFiltering","disabled","onChange","tabIndex","onRenderTextFieldPrefix","iconResources","ariaLabel","styles","theme","menuInitiallyOpened","hideFocusVisual","onItemGotFocus","onItemPreview","onItemMouseEnter","width","keytipProps","selectedItem","maxTextLength","stringResources","mfpDeferOnMenuDismissedEnabled","allowCaretOverrideOnKeyDown"]);A(E);var K=Ft(F,{theme:E,width:R}),H=n.useState(_),z=H[0],U=H[1],V=n.useState(),j=V[0],q=V[1],$=(0,W.C)(null!=I&&I),Q=$[0],X=$[1],Y=n.useState(!1),J=Y[0],Z=Y[1],ee=(0,G.d)((function(){return new Map})),te=void 0!==j,re=n.useRef(!1);re.current=Q;var ne=n.useRef(!1),oe=n.useRef(null),ie=n.useCallback((function(e){null==p||p(e),ne.current=!1,X.setTrue()}),[p,X]),ae=function(e,t,r,o,i){var a=function(e,t){var r=n.useRef(),o=n.useRef(null),i=n.useRef(null);function a(){r.current&&null!==o.current&&r.current(o.current)}return n.useEffect((function(){return r.current=e,function(){r.current=void 0,o.current=null,i.current&&window.clearTimeout(i.current)}}),[e]),n.useCallback((function(e){o.current=e,null!==t&&(i.current&&window.clearTimeout(i.current),i.current=window.setTimeout(a,t))}),[t])}(o,e&&t.current?300:null);return n.useCallback((function(n){e&&null!==n?(n.length>=1&&!t.current&&(r(),null==i||i(),o(n)),a(n)):a(null)}),[a,e,r,t,o,i])}(v,re,ie,g||q,f),se=n.useCallback((function(e){var t;q(void 0),ae(null),te&&(null==m||m()),e||null===(t=oe.current)||void 0===t||t.cancelPendingChange(!1),re.current&&(X.setFalse(),h&&(M?window.requestAnimationFrame((function(){window.setTimeout((function(){h()}),0)})):window.requestAnimationFrame(h))),Z(!1)}),[h,q,X,oe,m,ae,te]),le=n.useCallback((function(e){re.current?se(!1):ie(e)}),[se,ie]);n.useEffect((function(){void 0!==_&&U(_)}),[_,U]);var ue=n.useCallback((function(e,t){t&&Je(t)&&"Tab"===t.key&&(t.preventDefault(),ne.current=!0),se(!1),null==c||c(e,t),t&&!t.defaultPrevented&&U({name:e.text,key:e.itemKey})}),[c,U,se]),ce=n.useCallback((function(e,t){null==P||P(e,t)}),[P]),de=n.useCallback((function(e,t){var r;w&&w(e,t);var n=P?P(e,t):e.text;!(null==t?void 0:t.defaultPrevented)&&n&&(null===(r=oe.current)||void 0===r||r.setPendingText(n)),Z(!0)}),[w,P]),pe=n.useCallback((function(){se(!1)}),[se]),he=n.useRef(null);n.useImperativeHandle(d,(function(){return{announceText:function(e){var t;null===(t=he.current)||void 0===t||t.announceText(e)},dismissMenu:pe,focus:function(e,t){var r;return!!(null===(r=oe.current)||void 0===r?void 0:r.focus)&&(t?(0,s.lo)(oe.current):oe.current.focus(),e&&ie(),!0)},get isDropdownOpen(){return re.current}}}),[oe,pe,ie]);var ge=n.useCallback((function(e){var t;switch(e.key){case"ArrowDown":e.altKey?re.current||(ie(e),e.stopPropagation(),e.preventDefault()):re.current&&(null===(t=he.current)||void 0===t||t.focusDropDown(),e.preventDefault(),e.stopPropagation());break;case"ArrowUp":e.altKey&&re.current&&(se(!1),e.stopPropagation(),e.preventDefault());break;case"ArrowLeft":case"ArrowRight":if(B&&!re.current){var r=e.currentTarget;if(0===r.selectionStart&&r.selectionEnd===r.value.length){var n="ArrowLeft"===e.key?0:r.value.length;r.setSelectionRange(n,n)}}}}),[B,ie,se]),me=n.useCallback((function(e){re.current&&(se(!1),e.stopPropagation(),e.preventDefault())}),[se]),fe=n.useCallback((function(e,t,r){var n;if("Enter"===e.key&&!re.current&&(""===t||r===t))return null===(n=oe.current)||void 0===n||n.cancelPendingChange(!1),ie(e),void e.stopPropagation();var o="Tab"===e.key;if(t){if(se(!0),void 0===r||r!==t){var i=void 0;if(y){var a={text:t};y(a,e),i=a.selectedItem}U(null!=i?i:{name:t})}o||e.stopPropagation()}else o&&re.current&&se(!1)}),[y,U,se,ie]),ve=n.useCallback((function(e){var t=e.originalElement;e.containsFocus&&(ne.current?function(e){if(e){var t=(0,Tt.Y)();if(t){var r=(0,s.eX)(t.body,e,!1,!1,!0,!0,!1,!1);null!==r&&(0,s.lo)(r)}}}(be.current):t&&t!==(0,l.z)()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0))}),[]),be=n.useRef(null),ye="".concat(i,"-list"),Se=(0,u.G1)(L,u.JM,["onchange","value"]);return n.createElement("div",kt({},Se,{id:i,ref:t,className:K.root}),n.createElement(Ct,{ref:be,keytipProps:D,role:"combobox","aria-expanded":Q,"aria-owns":Q?ye:void 0,"aria-label":k,"aria-controls":Q?ye:void 0,"aria-autocomplete":v?"list":"none",onKeyDownCapture:ge,componentRef:oe,value:null==z?void 0:z.name,buttonChecked:Q,disabled:b,onButtonClick:le,onSubmit:fe,onCancel:me,onPendingValueChanged:ae,styles:K.subComponentStyles.textFieldStyles,tabIndex:S,onRenderPrefix:C,hideFocusVisual:x,maxLength:N,iconProps:(null==T?void 0:T.dropDownButtonName)?{iconName:null==T?void 0:T.dropDownButtonName}:void 0}),Q&&n.createElement(Ye,kt({},L,{id:ye,iconResources:T,componentRef:he,filterText:j,target:be,onItemClick:ue,onDismiss:pe,styles:K.subComponentStyles.dropDownStyles,onItemGotFocus:de,onItemMouseEnter:ce,selectedKey:J?void 0:null!==(r=null==z?void 0:z.key)&&void 0!==r?r:null==z?void 0:z.name,onRestoreFocus:ve,groupStates:te?new Map:ee,stringResources:O})))}));Et.displayName="GroupedComboBoxBase";var At=(0,o.I)(Et,(function(e){var t;return{root:{display:"flex",flexDirection:"row",alignItems:"center",width:null!==(t=e.width)&&void 0!==t?t:160},subComponentStyles:{textFieldStyles:{root:{height:"100%"},textInput:{},prefix:{}},dropDownStyles:{}}}}),void 0,{scope:"GroupedComboBox"});At.displayName="GroupedComboBox";var It={allFontsSectionLabel:"Office Fonts",pinnedSectionLabel:"Pinned Fonts",suggestedSectionLabel:"Suggested Fonts",mruSectionLabel:"Most Recently Used",infoCommandLabel:"About This Font...",organizationSectionLabel:"Organization Fonts",premiumFontsSectionLabel:"Premium Fonts",freeFontsSectionLabel:"Free Fonts",showMoreButtonLabel:"+show more",pinnedDescription:"Pinned font",unPinnedDescription:"Unpinned font",pinnedTooltip:"Unpin font",unPinnedTooltip:"Pin font",themeFontTooltip:"Theme font",embeddedFontTooltip:"Embedded font",premiumFontTooltip:"Premium font",missingFontTooltip:"Missing font",compatibleFontTooltip:"Compatibility font",fontPinningTooltip:"(Shift+Enter to pin/unpin font)",fontMissingFontTooltip:"Missing Font (Shift+Enter for more info)",fontOtherActionTooltip:"(Shift+Enter for more info)",pinnedFontAnnouncement:"Pinned font {0}",unPinnedFontAnnouncement:"Unpinned font {0}",numberOfSuggestionsAnnouncement:"{0} suggestions available for {1}",noSuggestionsAnnouncement:"No suggestions available for {0}",numberOfSuggestionsInGroupAnnouncement:"{0} in {1}"},xt=r(59006);function wt(e){if(null==e)throw new Error("condition is not satisfied")}var Pt=r(43113);function Rt(e){wt(e.data);var t=e.data,r=t.$isPinned;return[t,null!=r&&r]}function Dt(e,t){wt(e.data);var r=e.data;t?r.$isPinned=!0:delete r.$isPinned}function _t(e,t){return!((0,Pt.lN)(e)||!t||(0,Pt.Dy)(e)||!(0,Pt.Vg)(e)&&"organization"===e.fontType)}var Nt={empty:"",premium:"Diamond-svg",info:"Info-svg",warning:"WarningLarge-svg",warningInTextField:"WarningSmall-svg",pin:"Pinned-svg",pinned:"PinnedSolid-svg",explore:"Explore-svg"},Ot={source:Nt.empty},Mt=function(){return Mt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mt.apply(this,arguments)},Bt="-pinned";function Lt(e){return e+Bt}function Kt(e){return Mt(Mt({},e),{itemKey:Lt(e.itemKey)})}function Wt(e,t,r,n,o,i,a){var s=e.submenu;if(s){var l=[],u=[{items:l},{sortByOrder:!0,items:s.variants.map((function(n){var a,s=n.name,u=n.displayName,c=n.variantKey,d=n.disabled,p=n.tooltip,h=n.order,g={text:s,displayText:u,itemKey:c,icon:t?Ot:void 0,data:n,tooltip:p,onRenderIcon:t?i:void 0,onRenderLabel:o,disabled:d,order:h};return t&&(n.$isPinned||r.includes(c))&&(n.$isPinned=!0,l.push(Kt(g))),n.parentKey=null!==(a=n.parentKey)&&void 0!==a?a:e.fontKey,g}))}];return a&&s.showFontInfoCommand&&u.push({items:[{text:n.infoCommandLabel,itemKey:xt.YI,excludeFromSearch:!0,data:e,tooltip:null}]}),u}}function Ht(e,t,r,n,o,i,a,s){var l=e,u=!("data"in e),c=a&&_t(e,!!r),d=e.fontType,p=e.fontKey;c&&t.includes(p)?l.$isPinned=!0:l.$isPinned&&delete l.$isPinned;var h=r||"premium"!==d;return{text:e.name,displayText:e.displayName,itemKey:e.fontKey,sections:h?Wt(e,c,t,s||It,n,o,i):void 0,data:l,secondaryText:e.isoLanguageCode,icon:Ot,onRenderIcon:c||!r||u?o:void 0,onRenderLabel:n}}function Gt(e,t){if(t.length<2)return t.find((function(t){return t.itemKey===e}));for(var r=0,n=t.length;n>r;){var o=Math.floor((r+n)/2),i=e.localeCompare(t[o].itemKey);if(i<0)n=o;else{if(!(i>0))return t[o];r=o+1}}}var zt=function(){return zt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zt.apply(this,arguments)};function Ut(e,t){var r,n=e.fonts,o=e.individualItems,i=e.initialPinnedFontKeys,a=void 0===i?[]:i,s=e.suggestedFontKeys,l=e.mruList,u=void 0===l?[]:l,c=e.stringResources,d=void 0===c?It:c,p=e.isSubscriber,h=e.maximumMruEntries,g=void 0===h?xt.Y:h,m=e.allowFontInfoPane,f=void 0===m||m,v=e.allowPinning,b=void 0===v||v,y=e.allFontsDefaultCollapsed,S=void 0===y||y,C=e.displayFreeFontsFirstFlightEnabled,T=e.shouldShowSegregatedView,k=t.renderPreviewFontLabel,F=t.renderOwnFontLabel,E=t.renderHeaderLabel,A=t.renderIcon,I=(r=C&&!p?n.sort(Vt):n.sort((function(e,t){return e.fontKey.localeCompare(t.fontKey)}))).filter((function(e){return"organization"!==e.fontType})).map((function(e){return Ht(e,a,p,k,A,f,b,d)})),x=u.findIndex((function(e){return!(0,Pt.Fh)(e)}));-1===x&&(x=u.length);var w=[];if(o){var P=o.map((function(e){return Ht(e,a,p,k,A,f,b,d)}));w.push.apply(w,P)}if(w.push({text:d.mruSectionLabel,groupKey:"MRU",items:u.slice(0,g+x).map((function(e){return function(e,t,r,n){var o=e.name,i=e.mruKey,a=e.variantType,s=e.displayName,l=e.themeStyle,u=e.fontFamilyKey,c=n&&u?Gt(u,n):void 0;return{text:o,displayText:s,itemKey:i,sections:null==c?void 0:c.sections,data:e,icon:Ot,onRenderIcon:r,secondaryText:l,onRenderLabel:"missing"!==a?t:void 0,disableCheckSubItemForSelected:!0}}(e,k,A,I)}))}),s&&s.length>0&&(wt(d.suggestedSectionLabel),w.push({text:d.suggestedSectionLabel,groupKey:"Suggested",items:I.filter((function(e){return e.itemKey&&s.includes(e.itemKey)}))})),p&&b&&w.push({text:d.pinnedSectionLabel,groupKey:"Pinned",initiallyCollapsed:s&&s.length>0,items:I.filter((function(e){return e.itemKey&&a.includes(e.itemKey)}))}),p){var R=r.filter((function(e){return"organization"===e.fontType}));R.length>0&&(wt(d.organizationSectionLabel),w.push({text:d.organizationSectionLabel,groupKey:"Organization",initiallyCollapsed:s&&s.length>0,items:R.map((function(e){return Ht(e,a,p,F,A,f,b,d)}))}))}if(T){var D=r.filter((function(e){return"premium"!==e.fontType&&"organization"!==e.fontType})).map((function(e){return Ht(e,a,p,k,A,f,b,d)})),_=r.filter((function(e){return"premium"===e.fontType})).map((function(e){return Ht(e,a,p,k,A,f,b,d)}));w.push({text:d.freeFontsSectionLabel,groupKey:"Free",items:D,initialItemLimit:xt.q4}),w.push({text:d.premiumFontsSectionLabel,groupKey:"Premium",items:_,initiallyCollapsed:!1})}else w.push({text:d.allFontsSectionLabel,groupKey:"All",initiallyCollapsed:S,items:I,onRenderHeaderLabel:E});return function(e){null==e||e.forEach((function(e){if(!He(e)){var t=e.groupKey,r=e.items;t&&(e.items=function(e,t){return(null==e?void 0:e.map((function(e){var r;return zt(zt({},e),{sections:(null===(r=null==e?void 0:e.sections)||void 0===r?void 0:r.map((function(e){return function(e,t){var r;return zt(zt({},e),{items:(null===(r=null==e?void 0:e.items)||void 0===r?void 0:r.map((function(e){return zt(zt({},e),{groupKey:t})})))||[]})}(e,t)})))||[],groupKey:t})})))||[]}(r,t))}}))}(w),w}function Vt(e,t){var r="premium"===e.fontType,n="premium"===t.fontType;return r&&!n?1:n&&!r?-1:e.fontKey.localeCompare(t.fontKey)}function jt(e,t){return t.reduce((function(t,r){return t[r]=e[r],t}),Object.create(null))}var qt=["fonts","individualItems","mruList","stringResources","isSubscriber","maximumMruEntries","initialPinnedFontKeys","suggestedFontKeys","allowFontInfoPane","allowPinning","allFontsDefaultCollapsed","displayFreeFontsFirstFlightEnabled","shouldShowSegregatedView"];function $t(e,t){return t.items.findIndex((function(t){return t.itemKey===e}))}function Qt(e){var t=e.findIndex((function(e){return!He(e)&&"Pinned"===e.groupKey}));if(-1===t)throw new Error('No "Pinned" group is found in "groups"');return e[t]}function Xt(e,t,r,n,o){var i=function(e){return e.findIndex((function(e){return"All"===e.groupKey}))}(e);if(-1===i)return null;var a=Gt(r,e[i].items);if(void 0===(null==a?void 0:a.sections))return null;var s=a.sections;if(0===s.length)throw new Error("Sections is empty.");var l,u=-1,c=1===(l=s[s.length-1]).items.length&&l.items[0].itemKey===xt.YI?3:2;if(s.length>=c&&(u=$t(Lt(t),s[0])),!n(u))return null;s.length<c&&s.unshift({items:[]});var d=function(e,t){return t.find((function(t){return t.itemKey===e}))}(t,s[1].items);if(!d)return null;o(s[0].items,d,u);var p=s.slice();a.sections=p;var h=function(e){return e.findIndex((function(e){return"MRU"===e.groupKey}))}(e);return-1===h?null:(e[h].items.forEach((function(e){var t=e.data;(0,Pt.Dy)(t)&&t.fontFamilyKey===r&&(e.sections=p)})),p)}function Yt(e,t,r){return Xt(e,t,r,(function(e){return-1===e}),(function(e,t){var r=Kt(t);Dt(r,!0),function(e,t){var r,n=null!==(r=t.order)&&void 0!==r?r:-1,o=e.findIndex((function(e){var r,o=null!==(r=e.order)&&void 0!==r?r:-1;return n!==o?n<o:t.text.localeCompare(e.text)<0}));-1===o?e.push(t):e.splice(o,0,t)}(e,r)}))}function Jt(e,t,r){return Xt(e,t,r,(function(e){return-1!==e}),(function(e,t,r){Dt(t,!1),e.splice(r,1)}))}var Zt=r(69479);function er(e,t){return e===(null==t?void 0:t.pinnedButtonName)||e===(null==t?void 0:t.unpinnedButtonName)||e===Nt.pin||e===Nt.pinned}function tr(e,t){if((0,Pt.lN)(e))return!0;if((0,Pt.Vg)(e))return t;if(t){if((0,Pt.Dy)(e)){var r=e.variantType;return e.isThemeFont||!!r}return _t(e,t)}return(0,Pt.Dy)(e)?(0,Pt.Fh)(e):"premium"===e.fontType}function rr(e,t,r,n){var o,i,a,s,l,u,c;if(!e.groupKey){var d=null==n?void 0:n["".concat(e.itemKey,"ButtonName")];return null!=d?d:Nt.explore}var p=Rt(e),h=p[0],g=p[1];if(g&&(0,Pt.Vg)(h)&&function(e){return e.itemKey.endsWith(Bt)}(e))return null!==(o=null==n?void 0:n.pinnedButtonName)&&void 0!==o?o:Nt.pinned;var m=h.variantType;return"missing"===m?null!==(i=null==n?void 0:n.missingFontName)&&void 0!==i?i:Nt.warning:r&&(0,Pt.Fh)(h)?null!==(a=null==n?void 0:n.infoButtonName)&&void 0!==a?a:Nt.info:t?r?"embedded"===m||"compatible"===m?null!==(l=null==n?void 0:n.infoButtonName)&&void 0!==l?l:Nt.info:g?null!==(u=null==n?void 0:n.pinnedButtonName)&&void 0!==u?u:Nt.pinned:null!==(c=null==n?void 0:n.unpinnedButtonName)&&void 0!==c?c:Nt.pin:Nt.empty:"premium"===h.fontType?null!==(s=null==n?void 0:n.premiumFontName)&&void 0!==s?s:Nt.premium:Nt.empty}function nr(e,t,r){var o=e.isSubscriber,i=void 0!==o&&o,a=e.onFontPinned,s=e.onFontUnpinned,l=e.onFontPreview,u=e.onFontItemFocus,c=e.onFontMenuBlur,d=e.componentRef,p=e.onFontSelected,h=e.onExploreFontsButtonClicked,g=e.onFontInfoRequested,m=e.onMenuOpened,f=e.onMenuDismissed,v=e.stringResources,b=void 0===v?It:v,y=e.iconResources,S=e.onFontChange,C=e.mruList,T=e.fonts,k=e.menuInitiallyOpened,F=e.allowFontInfoPane,E=void 0===F||F,A=e.allowPinning,I=void 0===A||A,x=e.mfpRemoveUnnecessaryRequestAnimationFrame,w=n.useRef(null),P=n.useRef(!0),R=n.useState(k?Ut(e,t):[]),D=R[0],_=R[1],N=function(e,t,r,o,i){var a,s=n.useMemo((function(){return{recreateGroups:!1}}),[]),l=(a=e,qt.map((function(e){return a[e]})));return n.useEffect((function(){var n;(null===(n=r.current)||void 0===n?void 0:n.isDropdownOpen)?(s.recreateGroups=!1,t(Ut(jt(e,qt),o))):(s.recreateGroups=!0,s.data=jt(e,qt))}),l),n.useCallback((function(e){var r=s.recreateGroups,n=s.data;r?(wt(n),t(Ut(n,o)),s.recreateGroups=!1,s.data=void 0,null==i||i(e)):null==i||i(e)}),[i,t,o,s])}(e,_,w,t,m);n.useEffect((function(){return function(){P.current=!1}}),[]);var O=n.useCallback((function(){P.current&&r(!1),null==f||f(),null==c||c()}),[f,c,r]),M=n.useCallback((function(e){null==c||c(e)}),[c]),B=n.useCallback((function(e,t){var r=e.text,n=(0,Zt.d)(r,T,null!=C?C:[]);if(n){if(!i&&(0,Pt.qy)(n)&&"premium"===n.fontType)return void(null==g||g(n,"premium",t));e.selectedItem={name:n.name,key:(0,Pt.pG)(n)},p&&(null==t||t.persist(),window.requestAnimationFrame((function(){p(n,t)})))}else if(S){var o=null==t?void 0:t.key;window.requestAnimationFrame((function(){S(r,o)}))}}),[T,C,S,p,g,i]),L=n.useMemo((function(){return function(e){return function(t,r){if(0===t.length)return e.noSuggestionsAnnouncement.replace("{0}",r);var n=(t=t.filter((function(e){return!e.itemKey}))).map((function(t){return e.numberOfSuggestionsInGroupAnnouncement.replace("{0}","".concat(t.items.length)).replace("{1}","".concat(t.text))})).join(", , "),o=e.numberOfSuggestionsAnnouncement.replace("{0}","".concat(t.reduce((function(e,t){return e+t.items.length}),0))).replace("{1}",r);return"".concat(o,". , ").concat(n)}}(b)}),[b]),K=n.useCallback((function(e,t,r,n){var o,l,u,c,d,p,h;if((0,Pt.qy)(e)){var m=e.fontKey;if("premium"===e.fontType&&!i)return null==g||g(e,"premium",r),null===(o=w.current)||void 0===o||o.dismissMenu(r),!1;if((0,Pt.lN)(e))return!0;t?(_((function(e){return function(e,t){var r=Qt(e),n=$t(t,r);if(-1===n)return e;var o=Gt(t,e[e.length-1].items);return o?(Dt(o,!1),r.items.splice(n,1),r.items=r.items.slice(),e.slice()):e}(e,m)})),null===(l=w.current)||void 0===l||l.announceText(b.unPinnedFontAnnouncement.replace("{0}",e.name)),s&&s(e,r)):(_((function(e){return function(e,t){var r=Qt(e);if(-1!==$t(t,r))return e;var n=Gt(t,e[e.length-1].items);if(!n)return e;var o=r.items.findIndex((function(e){return n.itemKey.localeCompare(e.itemKey)<=0}));return-1===o?r.items.push(n):r.items.splice(o,0,n),Dt(n,!0),r.items=r.items.slice(),e.slice()}(e,m)})),null===(u=w.current)||void 0===u||u.announceText(b.pinnedFontAnnouncement.replace("{0}",e.name)),a&&a(e,r))}else if((0,Pt.Dy)(e)){var f=e.isThemeFont,v=e.variantType;if(f)return null==g||g(e,"theme",r),null===(c=w.current)||void 0===c||c.dismissMenu(r),!1;if("missing"===v||"embedded"===v||"compatible"===v)return null==g||g(e,v,r),null===(d=w.current)||void 0===d||d.dismissMenu(r),!1}else _((function(r){wt(e.parentKey);var o=(t?Jt:Yt)(r,e.variantKey,e.parentKey);return null!==o&&(wt(n),n(o)),r})),t?(null===(p=w.current)||void 0===p||p.announceText(b.unPinnedFontAnnouncement.replace("{0}",e.name)),null==s||s(e,r)):(null===(h=w.current)||void 0===h||h.announceText(b.pinnedFontAnnouncement.replace("{0}",e.name)),null==a||a(e,r));return!0}),[i,g,a,s,b.pinnedFontAnnouncement,b.unPinnedFontAnnouncement]),W=n.useMemo((function(){return{isSubscriber:i||!1,fontIconButtonClicked:K,stringResources:b,iconResources:y}}),[i,K,b,y]);n.useImperativeHandle(d,(function(){return{dismissMenu:function(){var e;return null===(e=w.current)||void 0===e?void 0:e.dismissMenu()},focus:function(e,t){var r;return(null===(r=w.current)||void 0===r?void 0:r.focus(e,t))||!1},get isDropdownOpen(){var e,t;return null!==(t=null===(e=w.current)||void 0===e?void 0:e.isDropdownOpen)&&void 0!==t&&t}}}),[]);var H=n.useCallback((function(e,t){var r=e.itemKey,n=e.groupKey,o=Rt(e)[0];n&&(o.fontSectionName=n),!o.fontSectionName||r===xt.YI||!i&&(0,Pt.qy)(o)&&"premium"===o.fontType?(o.fontSectionName?t&&Je(t)&&"Tab"==t.key||(function(e){if(!(0,Pt.qy)(e))throw new Error("data is not a IFontFamily object.")}(o),null==g||g(o,r===xt.YI?"about":"premium",t)):null==h||h(t),null==t||t.preventDefault()):p&&(null==t||t.persist(),x?p(o,t):window.requestAnimationFrame((function(){return p(o,t)})))}),[i,h,g,p]),G=n.useCallback((function(e,t,r){var n=e.itemKey,o=e.groupKey,a=Rt(e),s=a[0],l=a[1];if(o&&(s.fontSectionName=o),n===xt.YI||!tr(s,i))return H(e,r),!1;if(er(rr(e,i,!0,y))){if(!I)return H(e,r),!1}else if(!E)return H(e,r),!1;return K(s,l,r,t)}),[E,I,y,i,K,H]),z=n.useCallback((function(e,t){if(e.itemKey!==xt.YI){if(e.data){if(r(!0),u){var n=Rt(e)[0];u(n,t)}if(l)return n=Rt(e)[0],l(n,t)}}else null==t||t.preventDefault()}),[l,u,r]);return[w,D,W,N,O,M,H,G,z,B,L]}function or(e){return(0,Pt.Fh)(e)?"theme":e.fontType||e.variantType}var ir=n.createContext({isSubscriber:!1,fontIconButtonClicked:function(){},stringResources:It});function ar(e){var t,r,o=e.item,i=e.labelClassName,a=e.theme,s=null!==(t=o.displayText)&&void 0!==t?t:o.text,l=null===(r=null==a?void 0:a.fonts)||void 0===r?void 0:r.medium.fontFamily,u={fontFamily:l?"'".concat(s,"', ").concat(l):"'".concat(s,"'")};return n.createElement("span",{className:i,style:u},s)}ir.displayName="FontPickerContext";var sr=(0,i.Z)();function lr(e){e.preventDefault()}var ur=function(){return ur=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ur.apply(this,arguments)},cr=/apple/i.test(navigator.vendor);function dr(e,t){return e?t?"scaleX(-0.75) scaleY(0.75)":"scale(0.75)":t?"scaleX(-1)":void 0}var pr=(0,o.I)((function(e){var t=e.componentRef,r=e.item,o=e.isActive,i=e.styles,a=e.theme,s=e.tooltipText,l=e.mouseLeaveBoundingBox,u=e.refreshContainingMenu,c=e.onRenderTooltip,d=e.labelElementId,p=e.allowFontInfoPaneCommands,h=void 0===p||p,g=r.disabled,m=r.groupKey,f=n.useRef(null),v=n.useReducer((function(e){return e+1}),0)[1];n.useImperativeHandle(t,(function(){return{refresh:v,setHover:function(e){E(e?"hover":"rest"),e||(I.current=!1,K.current=!1)}}}));var b=n.useContext(ir),y=b.isSubscriber,S=b.fontIconButtonClicked,C=b.iconResources,T=n.useState("rest"),k=T[0],E=T[1],I=n.useRef(!1),x=Rt(r),w=x[0],P=x[1];m&&(w.fontSectionName=m);var R=tr(w,y)?rr(r,y||!1,o||"rest"!==k,C):Nt.empty,D=R===Nt.empty,_=D||g,N=n.useState(D?void 0:R),O=N[0],M=N[1],B=h||er(null!=O?O:Nt.empty,C);D||O===R||M(R);var L=n.useCallback((function(e){"opacity"===e.propertyName&&D&&M(void 0)}),[D]),K=n.useRef(!1),W=n.useCallback((function(e){e.preventDefault(),_?I.current&&E("hover"):E((function(e){return"rest"===e?"hover":e}))}),[_]),H=n.useCallback((function(){return E("rest")}),[]),G=n.useCallback((function(e){_||K.current||E("pressed"),e.stopPropagation(),e.preventDefault()}),[_]),z=n.useCallback((function(e,t){f.current&&(re(e,t,f.current.getBoundingClientRect())||(E("rest"),null==l||l()))}),[l]),U=n.useCallback((function(e){if(_||K.current)return K.current=!1,void(I.current=!1);E((function(e){return"pressed"===e?I.current?"rest":"hover":e})),I.current=!1,B&&S(w,P,e,u),window.setTimeout(z,1,e.pageX,e.pageY),e.stopPropagation(),e.preventDefault()}),[_,B,S,w,P,u,z]),V=n.useCallback((function(e){!_&&B&&("Enter"!==e.key&&" "!==e.key||(S(w,P,e,u),v(),e.stopPropagation(),e.preventDefault()))}),[_,B,S,w,P,u]),j=w.fontType;A(a);var q=sr(i,{isPremium:"premium"===j&&!y,isHover:"hover"===k,isPressed:"pressed"===k,isVisible:!D,theme:a,disabled:g,canInteract:B}),$=n.useCallback((function(){I.current=!0,K.current=null!=_&&_}),[_]),Q=n.useCallback((function(e){I.current=!1,K.current=!1,e.preventDefault(),e.stopPropagation()}),[]),X=n.createElement("div",{ref:f,role:B?"button":"img","aria-label":s,"aria-describedby":d,"aria-disabled":g,"data-no-horizontal-wrap":!0,className:q.root,onMouseOver:W,onMouseOut:H,onMouseDown:B?G:lr,onMouseUp:B?U:lr,onKeyDown:B?V:void 0,onTouchStart:B?$:void 0,onContextMenu:B?Q:void 0,tabIndex:-1},n.createElement("div",{className:q.iconWrapper,onTransitionEnd:L},void 0!==O&&n.createElement(F.l8,{iconName:O,onMouseOver:W,onMouseOut:H,className:q.icon})));return s&&c?c({targetElement:f,tooltip:s,showTooltipOnRight:!1,mainContent:X}):X}),(function(e){var t,r,n,o,i=e.theme,a=e.isPremium,s=e.isHover,l=e.isPressed,u=e.isVisible,c=e.disabled,d=e.canInteract,p=void 0===d||d;return{root:[p&&(0,v.gm)(i,{highContrastStyle:ur({outline:c?"2px dotted GrayText":"2px dashed ButtonText"},(0,v.Qg)())}),(t={width:32,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:a?i.semanticColors.inputFocusBorderAlt:i.semanticColors.bodyText},t[v.up]=[ur({color:"ButtonText",backgroundColor:"transparent"},(0,v.Qg)()),!c&&p&&{":focus":{color:"HighlightText",backgroundColor:"Highlight"}}],t),s&&p&&(r={backgroundColor:i.semanticColors.menuItemBackgroundChecked},r[v.up]=ur({zIndex:1,color:"HighlightText",backgroundColor:"Highlight",outline:"2px dashed ButtonText"},(0,v.Qg)()),r),l&&p&&(n={backgroundColor:i.palette.neutralQuaternary},n[v.up]=ur({zIndex:1,color:"HighlightText",backgroundColor:"Highlight",outline:"2px solid ButtonText"},(0,v.Qg)()),n)],iconWrapper:[{opacity:u?1:0,transition:"opacity ".concat(cr?0:100,"ms"),height:"20px",width:"20px"}],icon:[{height:"100%",width:"100%",transition:"transform ".concat(cr?0:200,"ms cubic-bezier(0.33, 0, 0.1, 1.0)"),transform:dr(l&&p,(0,D.jI)(i))},c&&{opacity:.4,selectors:(o={},o[v.up]={opacity:1},o)}]}}),void 0,{scope:"PinActionButton"});pr.displayName="PinActionButton";var hr=function(){return hr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hr.apply(this,arguments)},gr=(0,dt.J9)((function(e,t,r,o,i){return function(a){var s=a.item,l=a.isActive,u=function(e,t,r){var n=Rt(e),o=n[0],i=n[1];if(tr(o,r)){if(!e.groupKey)return[e.text,e.text];var a=function(e,t,r){switch(or(e)){case"theme":return t.themeFontTooltip;case"missing":return t.missingFontTooltip;case"embedded":return t.embeddedFontTooltip;case"premium":if(!r)return t.premiumFontTooltip;break;case"compatible":return t.compatibleFontTooltip}}(o,t,r);if(a)return[a,a];wt(r);var s=t.pinnedTooltip,l=t.pinnedDescription,u=t.unPinnedTooltip,c=t.unPinnedDescription;return i?[s,l]:[u,c]}}(s,t,e);if(!u)return[null];var c=u[0],d=u[1],p=n.createElement(pr,hr(hr({},a),{styles:i,tooltipText:c,allowFontInfoPaneCommands:r})),h=l?function(e,t,r,n,o){var i=Rt(e)[0],a=or(i);return r&&("theme"===a||"embedded"===a||"compatible"===a||"missing"===a||"premium"===a&&!t)?o.fontOtherActionTooltip:n&&_t(i,t)?o.fontPinningTooltip:void 0}(s,e,r,o,t):void 0;return[p,d,h]}}));function mr(e,t,r,n,o){return gr(e,t,r,n,o)}var fr={width:16,height:16,display:"flex"},vr=function(){return vr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vr.apply(this,arguments)},br=n.forwardRef((function(e,t){var r,o,i,a=e.isSubscriber,s=e.selectedFont,l=e.stringResources,u=void 0===l?It:l,c=e.iconResources,d=e.previewFontFamily,p=e.dropDownWidth,h=void 0===p?xt.Jy:p,g=e.menuInitiallyOpened,m=e.styles,f=e.allowFontInfoPane,b=void 0===f||f,y=e.allowPinning,S=void 0===y||y,C=e.mfpDeferOnMenuDismissedEnabled,T=e.allowCaretOverrideOnKeyDown,k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["isSubscriber","selectedFont","stringResources","iconResources","previewFontFamily","dropDownWidth","menuInitiallyOpened","styles","allowFontInfoPane","allowPinning","mfpDeferOnMenuDismissedEnabled","allowCaretOverrideOnKeyDown"]),E=e.theme||(0,v.O4)(),A="function"==typeof m?null===(o=null===(r=m({theme:E,width:e.width}))||void 0===r?void 0:r.subComponentStyles)||void 0===o?void 0:o.actionButtonStyles:null===(i=null==m?void 0:m.subComponentStyles)||void 0===i?void 0:i.actionButtonStyles,I=n.useMemo((function(){return{renderHeaderLabel:void 0,renderIcon:mr(null!=a&&a,u,b,S,A),renderOwnFontLabel:ar,renderPreviewFontLabel:function(e){return function(e,t){var r=e.item,o=e.labelClassName,i=e.indicatorClassName,a=e.indicatorIconName,s=r.text,l=r.displayText,u=r.showIndicator,c=r.data,d=null!=l?l:s,p=c&&(0,Pt.Dy)(c)&&c.previewFontName?c.previewFontName:l?t:void 0;return n.createElement(n.Fragment,null,u&&n.createElement(F.l8,{className:i,iconName:null!=a?a:"NewFont-svg"}),n.createElement("span",{className:o,style:void 0!==p?{fontFamily:p}:void 0},d))}(e,d)}}}),[a,u,b,S,A,d]),x=n.useState(!1),w=x[0],P=nr(e,I,x[1]),R=P[0],D=P[1],_=P[2],N=P[3],O=P[4],M=P[5],B=P[6],L=P[7],K=P[8],W=P[9],H=P[10],G=null==s?void 0:s.isMissingFont,z=null==c?void 0:c.missingIconInTextFieldName,U=u.missingFontTooltip,V=e.onRenderTooltip,j=n.useCallback((function(){var e=n.createElement(F.l8,{style:fr,iconName:null!=z?z:Nt.warningInTextField,"aria-label":null!=U?U:""});return V?V({mainContent:e,tooltip:U,showTooltipOnRight:!1}):n.createElement($.S,{content:U},e)}),[z,U,V]),q=n.useCallback((function(e,t){return function(e,t,r,n,o,i){if(!n||!tr(e,r))return e.name;var a=or(e),s=void 0;return o&&("theme"===a||"embedded"===a||"compatible"===a||"premium"===a&&!r)?s=t.fontOtherActionTooltip:o&&"missing"===a?s=t.fontMissingFontTooltip:i&&_t(e,r)&&(s=t.fontPinningTooltip),s?"".concat(e.name," \n").concat(s):e.name}(Rt(e)[0],u,null!=a&&a,t,b,S)}),[u,a,b,S]),Q=G&&!1!==a&&!w,X={showMoreButtonLabel:u.showMoreButtonLabel};return n.createElement(ir.Provider,{value:_},n.createElement(At,vr({},k,{ref:t,componentRef:R,groupedItems:D,enableFiltering:!0,selectedItem:s,onAnnounceSearchResult:H,onMenuOpened:N,onMenuDismissed:O,onMenuLostFocus:M,onItemClick:B,onItemSecondaryAction:L,onItemPreview:K,onChange:W,onRenderTextFieldPrefix:Q?j:void 0,getItemTooltip:q,iconResources:c,dropDownWidth:h,styles:m,menuInitiallyOpened:g,stringResources:X,mfpDeferOnMenuDismissedEnabled:C,allowCaretOverrideOnKeyDown:T})))}));function yr(e){return e.isThemeFont??!1}function Sr(e){return void 0!==e.name&&void 0!==e.fontKey}function Cr(e){return void 0!==e.name&&void 0!==e.variantKey}function Tr(e){return void 0!==e.name&&void 0!==e.mruKey}function kr(e){return!("data"in e||"fontSectionName"in e||"fontType"in e)}function Fr(e){const{item:t,labelClassName:r,theme:o}=e,i=t.displayText??t.text,a=o?.fonts?.medium.fontFamily,s={fontFamily:a?`'${i}', ${a}`:`'${i}'`};return n.createElement("span",{className:r,style:s},i)}function Er(e,t,r){const n=e-window.pageXOffset,o=t-window.pageYOffset;return n>=r.left&&n<r.right&&o>=r.top&&o<r.bottom}function Ar(e,t){const r=t.current?.getBoundingClientRect();return!!r&&Er(e.clientX,e.clientY,r)}br.displayName="FontPicker";const Ir={allFontsSectionLabel:"Office Fonts",pinnedSectionLabel:"Pinned Fonts",suggestedSectionLabel:"Suggested Fonts",mruSectionLabel:"Most Recently Used",infoCommandLabel:"About This Font...",organizationSectionLabel:"Organization Fonts",premiumFontsSectionLabel:"Premium Fonts",freeFontsSectionLabel:"Free Fonts",showMoreButtonLabel:"+show more",pinnedDescription:"Pinned font",unPinnedDescription:"Unpinned font",pinnedTooltip:"Unpin font",unPinnedTooltip:"Pin font",themeFontTooltip:"Theme font",embeddedFontTooltip:"Embedded font",premiumFontTooltip:"Premium font",missingFontTooltip:"Missing font",compatibleFontTooltip:"Compatibility font",fontPinningTooltip:"(Shift+Enter to pin/unpin font)",fontMissingFontTooltip:"Missing Font (Shift+Enter for more info)",fontOtherActionTooltip:"(Shift+Enter for more info)",pinnedFontAnnouncement:"Pinned font {0}",unPinnedFontAnnouncement:"Unpinned font {0}",numberOfSuggestionsAnnouncement:"{0} suggestions available for {1}",noSuggestionsAnnouncement:"No suggestions available for {0}",numberOfSuggestionsInGroupAnnouncement:"{0} in {1}"},xr=n.createContext({isSubscriber:!1,fontIconButtonClicked:()=>{},stringResources:Ir});function wr(e){if(null==e)throw new Error("condition is not satisfied")}function Pr(e){wr(e.data);const t=e.data,{$isPinned:r}=t;return[t,r??!1]}function Rr(e,t){wr(e.data);const r=e.data;t?r.$isPinned=!0:delete r.$isPinned}function Dr(e,t){return!(kr(e)||!t||Tr(e)||!Cr(e)&&"organization"===e.fontType)}xr.displayName="FontPickerContext";const _r={empty:"",premium:"Diamond-svg",info:"Info-svg",warning:"WarningLarge-svg",warningInTextField:"WarningSmall-svg",pin:"Pinned-svg",pinned:"PinnedSolid-svg",explore:"Explore-svg"},Nr=_r,Or={source:_r.empty},Mr="-pinned";function Br(e){return e+Mr}function Lr(e){return{...e,itemKey:Br(e.itemKey)}}function Kr(e,t){return e===t?.pinnedButtonName||e===t?.unpinnedButtonName||e===Nr.pin||e===Nr.pinned}function Wr(e,t){if(kr(e))return!0;if(Cr(e))return t;if(t){if(Tr(e)){const{variantType:t,isThemeFont:r}=e;return r||!!t}return Dr(e,t)}return Tr(e)?yr(e):"premium"===e.fontType}function Hr(e,t,r,n){if(!e.groupKey){const t=n?.[`${e.itemKey}ButtonName`];return t??Nr.explore}const[o,i]=Pr(e);if(i&&Cr(o)&&function(e){return e.itemKey.endsWith(Mr)}(e))return n?.pinnedButtonName??Nr.pinned;const{variantType:a}=o;if("missing"===a)return n?.missingFontName??Nr.warning;if(r&&yr(o))return n?.infoButtonName??Nr.info;if(!t){const{fontType:e}=o;return"premium"===e?n?.premiumFontName??Nr.premium:Nr.empty}return r?"embedded"===a||"compatible"===a?n?.infoButtonName??Nr.info:i?n?.pinnedButtonName??Nr.pinned:n?.unpinnedButtonName??Nr.pin:Nr.empty}const Gr=(0,i.Z)();function zr(e){e.preventDefault()}const Ur=/apple/i.test(navigator.vendor);function Vr(e,t){return e?t?"scaleX(-0.75) scaleY(0.75)":"scale(0.75)":t?"scaleX(-1)":void 0}const jr=(0,o.I)((e=>{const{componentRef:t,item:r,isActive:o,styles:i,theme:a,tooltipText:s,mouseLeaveBoundingBox:l,refreshContainingMenu:u,onRenderTooltip:c,labelElementId:d,allowFontInfoPaneCommands:p=!0}=e,{disabled:h,groupKey:g}=r,m=n.useRef(null),[,f]=n.useReducer((e=>e+1),0);n.useImperativeHandle(t,(()=>({refresh:f,setHover:e=>{T(e?"hover":"rest"),e||(k.current=!1,N.current=!1)}})));const v=n.useContext(xr),{isSubscriber:b,fontIconButtonClicked:y,iconResources:S}=v,[C,T]=n.useState("rest"),k=n.useRef(!1),[E,A]=Pr(r);g&&(E.fontSectionName=g);const I=Wr(E,b)?Hr(r,b||!1,o||"rest"!==C,S):Nr.empty,x=I===Nr.empty,w=x||h,[P,R]=n.useState(x?void 0:I),D=p||Kr(P??Nr.empty,S);x||P===I||R(I);const _=n.useCallback((e=>{"opacity"===e.propertyName&&x&&R(void 0)}),[x]),N=n.useRef(!1),O=n.useCallback((e=>{e.preventDefault(),w?k.current&&T("hover"):T((e=>"rest"===e?"hover":e))}),[w]),M=n.useCallback((()=>T("rest")),[]),B=n.useCallback((e=>{w||N.current||T("pressed"),e.stopPropagation(),e.preventDefault()}),[w]),L=n.useCallback(((e,t)=>{m.current&&(Er(e,t,m.current.getBoundingClientRect())||(T("rest"),l?.()))}),[l]),K=n.useCallback((e=>{if(w||N.current)return N.current=!1,void(k.current=!1);T((e=>"pressed"===e?k.current?"rest":"hover":e)),k.current=!1,D&&y(E,A,e,u),window.setTimeout(L,1,e.pageX,e.pageY),e.stopPropagation(),e.preventDefault()}),[w,D,y,E,A,u,L]),W=n.useCallback((e=>{!w&&D&&("Enter"!==e.key&&" "!==e.key||(y(E,A,e,u),f(),e.stopPropagation(),e.preventDefault()))}),[w,D,y,E,A,u]),{fontType:H}=E;wr(a);const G=Gr(i,{isPremium:"premium"===H&&!b,isHover:"hover"===C,isPressed:"pressed"===C,isVisible:!x,theme:a,disabled:h,canInteract:D}),z=n.useCallback((()=>{k.current=!0,N.current=w??!1}),[w]),U=n.useCallback((e=>{k.current=!1,N.current=!1,e.preventDefault(),e.stopPropagation()}),[]),V=n.createElement("div",{ref:m,role:D?"button":"img","aria-label":s,"aria-describedby":d,"aria-disabled":h,"data-no-horizontal-wrap":!0,className:G.root,onMouseOver:O,onMouseOut:M,onMouseDown:D?B:zr,onMouseUp:D?K:zr,onKeyDown:D?W:void 0,onTouchStart:D?z:void 0,onContextMenu:D?U:void 0,tabIndex:-1},n.createElement("div",{className:G.iconWrapper,onTransitionEnd:_},void 0!==P&&n.createElement(F.l8,{iconName:P,onMouseOver:O,onMouseOut:M,className:G.icon})));return s&&c?c({targetElement:m,tooltip:s,showTooltipOnRight:!1,mainContent:V}):V}),(e=>{const{theme:t,isPremium:r,isHover:n,isPressed:o,isVisible:i,disabled:a,canInteract:s=!0}=e;return{root:[s&&(0,v.gm)(t,{highContrastStyle:{outline:a?"2px dotted GrayText":"2px dashed ButtonText",...(0,v.Qg)()}}),{width:32,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:r?t.semanticColors.inputFocusBorderAlt:t.semanticColors.bodyText,[v.up]:[{color:"ButtonText",backgroundColor:"transparent",...(0,v.Qg)()},!a&&s&&{":focus":{color:"HighlightText",backgroundColor:"Highlight"}}]},n&&s&&{backgroundColor:t.semanticColors.menuItemBackgroundChecked,[v.up]:{zIndex:1,color:"HighlightText",backgroundColor:"Highlight",outline:"2px dashed ButtonText",...(0,v.Qg)()}},o&&s&&{backgroundColor:t.palette.neutralQuaternary,[v.up]:{zIndex:1,color:"HighlightText",backgroundColor:"Highlight",outline:"2px solid ButtonText",...(0,v.Qg)()}}],iconWrapper:[{opacity:i?1:0,transition:`opacity ${Ur?0:100}ms`,height:"20px",width:"20px"}],icon:[{height:"100%",width:"100%",transition:`transform ${Ur?0:200}ms cubic-bezier(0.33, 0, 0.1, 1.0)`,transform:Vr(o&&s,(0,D.jI)(t))},a&&{opacity:.4,selectors:{[v.up]:{opacity:1}}}]}}),void 0,{scope:"PinActionButton"});function qr(e){if(yr(e))return"theme";const{fontType:t}=e;if(t)return t;const{variantType:r}=e;return r}jr.displayName="PinActionButton";const $r=(0,dt.J9)(((e,t,r,o,i)=>a=>{const{item:s,isActive:l}=a,u=function(e,t,r){const[n,o]=Pr(e);if(!Wr(n,r))return;if(!e.groupKey)return[e.text,e.text];const i=function(e,t,r){switch(qr(e)){case"theme":return t.themeFontTooltip;case"missing":return t.missingFontTooltip;case"embedded":return t.embeddedFontTooltip;case"premium":if(!r)return t.premiumFontTooltip;break;case"compatible":return t.compatibleFontTooltip}}(n,t,r);if(i)return[i,i];wr(r);const{pinnedTooltip:a,pinnedDescription:s,unPinnedTooltip:l,unPinnedDescription:u}=t;return o?[a,s]:[l,u]}(s,t,e);if(!u)return[null];const[c,d]=u,p=n.createElement(jr,{...a,styles:i,tooltipText:c,allowFontInfoPaneCommands:r}),h=l?function(e,t,r,n,o){const[i]=Pr(e),a=qr(i);return r&&("theme"===a||"embedded"===a||"compatible"===a||"missing"===a||"premium"===a&&!t)?o.fontOtherActionTooltip:n&&Dr(i,t)?o.fontPinningTooltip:void 0}(s,e,r,o,t):void 0;return[p,d,h]}));function Qr(e,t,r,n,o){return $r(e,t,r,n,o)}const Xr={width:16,height:16,display:"flex"};function Yr(e){e.preventDefault()}const Jr=n.createContext({}),Zr=(0,i.Z)();function en(e){return{text:e.text,itemKey:e.groupKey}}const tn=32,rn={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",icon:"ms-GroupHeader-icon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},nn=(0,o.I)((e=>{const{className:t,group:r,isCollapsed:o,onToggleCollapse:i,styles:a,theme:s}=e;wr(s);const l=Zr(a,{theme:s,className:t,isCollapsed:o}),{onItemMouseEnter:u,iconResources:c}=n.useContext(Jr),d=n.useCallback((e=>{u?.(en(r),e)}),[r,u]),p=n.useCallback((e=>{u?.(en(r),e)}),[r,u]),h=n.useCallback((e=>{"Enter"!==e.key&&" "!==e.key||i?.()}),[i]),g=void 0!==i?n.createElement("div",{role:"button","aria-label":r.text,"aria-expanded":!o,"data-is-focusable":!0,className:l.expand,onMouseDown:Yr,onMouseUp:i,onKeyDown:h,onMouseOver:d,onFocus:p,tabIndex:-1},n.createElement(F.l8,{className:l.expandIsCollapsed,iconName:c?.chevronDownName??"ChevronDown-svg"})):void 0;return n.createElement("div",{className:l.root},r.icon&&n.createElement(F.l8,{className:l.icon,iconName:r.icon?.source}),r.onRenderHeaderLabel?r.onRenderHeaderLabel({group:r,isCollapsed:o,labelStyle:l.title}):n.createElement("h1",{className:l.title},r.text),g)}),(e=>{const{theme:t,className:r,isCollapsed:n}=e,{cellLeftPadding:o}={cellLeftPadding:12},{palette:i,fonts:a}=t;wr(t);const s=(0,v.Km)(rn,t),l=[(0,v.gm)(t,{highContrastStyle:{outline:"2px dashed ButtonText",...(0,v.Qg)()}}),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[s.root,t.fonts.medium,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingBottom:"1px",cursor:"default",userSelect:"none",selectors:{[`:global(.${s.group}.${s.isDropping})`]:{selectors:{[`& > .${s.root}`]:{transition:`transform ${v.cs.durationValue4} cubic-bezier(0.075, 0.820, 0.165, 1.000) opacity ${v.cs.durationValue1} cubic-bezier(0.390, 0.575, 0.565, 1.000)`,transitionDelay:v.cs.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},[`.${s.check}`]:{opacity:0}}},":focus":{outline:"none"}}},r],groupHeaderContainer:[{display:"flex",alignItems:"center",height:tn}],expand:[s.expand,l,{display:"flex",alignItems:"center",justifyContent:"center",fontSize:a.small.fontSize,width:32,height:tn,color:i.neutralSecondary,":hover":{backgroundColor:i.neutralLight},":active":{backgroundColor:i.neutralQuaternaryAlt},[v.up]:{":hover":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",outline:"2px dashed ButtonText"},":active":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",outline:"2px solid ButtonText"},":focus":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText"},...(0,v.Qg)()}}],expandIsCollapsed:[{width:"12px",height:"12px"},n?[s.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:"rotate(180deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[s.title,{paddingLeft:o,textAlign:"start",fontSize:a.medium.fontSize,fontWeight:v.BO.semibold,lineHeight:"20px",outline:0,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",margin:0,flexGrow:1}],icon:[s.icon,{fontSize:v.fF.large,color:i.neutralSecondary,paddingLeft:o}]}})),on={list:{paddingTop:4,paddingBottom:4},subComponentStyles:{menuItem:{divider:{margin:"3px 8px",[v.up]:{backgroundColor:"WindowText",...(0,v.Qg)()}}},callout:{}},title:{},container:{},root:{},header:{}},an={root:"ms-GroupedComboBoxButton-root",mainContainer:"ms-GroupedComboBoxButton-mainContainer",rootTooltipHost:"ms-GroupedComboBoxButton-root-tooltipHost",textContainer:"ms-GroupedComboBoxButton-textContainer",icon:"ms-GroupedComboBoxButton-icon",labelContainer:"ms-GroupedComboBoxButton-labelContainer",labelText:"ms-GroupedComboBoxButton-labelText",individualItemLabelText:"ms-GroupedComboBoxButton-individualItemLabelText",menuIcon:"ms-GroupedComboBoxButton-menuIcon",secondaryText:"ms-GroupedComboBoxButton-secondaryText",divider:"ms-GroupedComboBoxButton-divider",menuButton:"ms-GroupedComboBoxButton-menuButton",indicator:"ms-GroupedComboBoxButton-indicator"},sn={[v.up]:{...(0,v.Qg)(),backgroundColor:"Highlight",color:"HighlightText",".ms-GroupedComboBoxButton-menuButton":{backgroundColor:"Highlight",color:"HighlightText",...(0,v.Qg)()},".ms-GroupedComboBoxButton-divider":{backgroundColor:"HighlightText",...(0,v.Qg)()}}},ln={display:"flex",height:"100%",alignItems:"center",flexShrink:3,whiteSpace:"nowrap",overflow:"hidden"},un={calloutProps:{styles:{calloutMain:{whiteSpace:"pre-line"}}}},cn=e=>{const{targetElement:t,tooltip:r,showTooltipOnRight:o,mainContent:i,hostClassName:a,tooltipHost:s}=e,l="function"==typeof r?r():r;return n.createElement($.S,{componentRef:s,content:l,directionalHint:o?d.A.rightCenter:d.A.leftCenter,directionalHintForRTL:o?d.A.leftCenter:d.A.rightCenter,calloutProps:t?{target:t}:void 0,tooltipProps:un,hostClassName:a},i)},dn=n.createContext({refreshContainingMenu:()=>{}});dn.displayName="SubmenuContext";const pn={alignSelf:"center"},hn={display:"none",visibility:"hidden"};function gn(e){const t=e.item.icon?.source;return t?[n.createElement(F.l8,{iconName:t,style:pn})]:[null]}function mn(e){const{item:t,labelClassName:r,indicatorClassName:o,indicatorIconName:i}=e,{showIndicator:a,displayText:s,text:l}=t,u=s??l;return n.createElement(n.Fragment,null,a&&i&&n.createElement(F.l8,{className:o,iconName:i}),n.createElement("span",{className:r},u))}function fn(e,t,r){return n.createElement(dn.Provider,{value:{refreshContainingMenu:e}},r?.(t))}const vn=(e,t,r)=>({height:e?t:"0px",opacity:e?"100%":"0%",transitionProperty:"height, opacity",transitionDuration:`${r}, 0s`}),bn=e=>{const{onHeightTransitionEnd:t,height:r,transitionDuration:o="200ms"}=e,[i,a]=n.useState(!0);i&&requestAnimationFrame((()=>a(!1)));const s=n.useCallback((e=>{"height"===e.propertyName&&t?.(e)}),[t]);return n.createElement("div",{style:vn(i,r,o),onTransitionEnd:s})};function yn(e,t,r,o,i){const a=n.useRef(),s=n.useRef(),l=n.useRef();if(e)if(void 0!==a.current&&t.length!==a.current.length){const e=t.map(r),n=e.findIndex(((e,t)=>e!==a.current?.[t]));n<0?l.current=e.length:e.length>a.current.length?s.current=n:l.current=n,a.current=e}else void 0===a.current&&(a.current=t.map(r));const u=n.useCallback((e=>e===s.current),[]),c=(0,oe.C)(),d=n.useCallback((()=>n.createElement(bn,{height:i,onHeightTransitionEnd:()=>{l.current=void 0,c()}})),[i,c]),p=function(e,t,r,n){let o=t;return e&&void 0!==r.current&&(o=[...t],o.splice(r.current,0,n())),o}(e,t,l,(()=>o(d)));return[p,u,n.useCallback((e=>e===l.current?d():void 0),[d])]}function Sn(e,t){const r=e.order,n=t.order;return void 0===r&&void 0===n?e.text.localeCompare(t.text):void 0===r||void 0===n?void 0===r?-1:1:r-n}function Cn(e,t){return e.itemKey===t}function Tn(e){const t=e?.data;return n.createElement(Nn,{...t,isSubButton:!0})}bn.displayName="TransitionOutItem";const kn={styles:{divider:{marginLeft:"8px",marginRight:"8px"}}};function Fn(e){return{key:"EMPTY_ITEM",onRender:e}}function En(e){return e.key}var An;!function(e){e[e.Closed=0]="Closed",e[e.OpenByKeyboard=1]="OpenByKeyboard",e[e.OpenByOther=2]="OpenByOther"}(An||(An={}));var In=r(57674),xn=r(85963);const wn=(0,i.Z)();function Pn(e){e.preventDefault(),e.stopPropagation()}const Rn=/apple/i.test(navigator.vendor);function Dn(...e){if(Rn)return e.filter((e=>!!e)).join(" ")}const _n=e=>{const{className:t,item:r,reserveSpaceForIcon:o=!1,isSubButton:i,styles:s,theme:l,parentGroupKey:u,selectedKey:c,animateEntrance:p=!1,itemHeight:h=tn}=e,{text:g,secondaryText:m,disabled:f,sections:v,onRenderIcon:b=gn,onRenderLabel:y=mn,tooltip:C}=r,[T,k]=(0,W.C)(!1),[E,A]=n.useState(!1),[I,x]=n.useState(!1),[w,P]=n.useState(!1),[R,B]=n.useState(v),[L,K,z,U]=function(){const[e,t]=n.useState(An.Closed);return[e,n.useCallback((()=>{t(An.OpenByKeyboard)}),[]),n.useCallback((()=>{t(An.OpenByOther)}),[]),n.useCallback((()=>{t(An.Closed)}),[])]}(),V=L!==An.Closed,{onItemClick:j,onItemSecondaryAction:q,onItemMouseEnter:$,onItemMouseLeave:Q,onItemGotFocus:X,onItemLostFocus:Y,submenuMaxWidth:J,submenuMaxHeight:Z,onSubmenuOpen:ee,onSubmenuClose:te,iconResources:re,onRenderTooltip:ne=cn,onRenderMenu:oe,onTouchStart:ie,getItemTooltip:ae}=n.useContext(Jr),se=n.useContext(dn),le=n.useContext(In.B),ue=(0,H.B)("labelcontainer"),ce=n.useRef(null),de=E||w,[pe,he,ge]=b({item:r,onRenderTooltip:ne,isActive:de,mouseLeaveBoundingBox:()=>{A(!1)},refreshContainingMenu:se.refreshContainingMenu,labelElementId:ue,componentRef:ce}),me=n.useRef(null),fe=(0,G.d)({openMenu:z,closeMenu:U,setIsHover:e=>{A(e),e||ce.current?.setHover(e)}}),ve=n.useCallback(((e,t)=>oe?oe({isSubmenu:!0},(()=>fn(B,e,t))):fn(B,e,t)),[oe]),be=(0,G.d)((()=>(0,a.O)("grouped-combobox-button-submenu"))),ye=n.useRef(null),Se=n.useCallback((()=>{A(!1),te?.()}),[A,te]),Ce=function(e,t,r,o,i){const a=n.useMemo((()=>r&&e?function(e,t,r){const n=[];return e.forEach(((e,o)=>{o>0&&n.length>0&&n.push({key:`separator${o}`,itemType:N.G.Divider,itemProps:kn});const i=e.items.some((e=>e.icon)),a=e.sortByOrder?e.items.sort(Sn):e.items;n.push(...a.map((e=>{const n=Cn(e,t)?t:void 0,o={reserveSpaceForIcon:i,item:e,styles:r,selectedKey:n,animateEntrance:!0};return{key:e.itemKey,data:o,onRender:Tn}})))})),n}(r,o,i):[]),[r,i,e,o]),[s]=yn(!0,a,En,Fn,t);return s}(V,h,R,c,s),Te=n.useRef(null),ke=n.useCallback((e=>{A(!0);const t=Ar(e,Be),n=Ar(e,me);x(t||!e.isDefaultPrevented()&&n);const o=e.target===Te.current||Ar(e,Te);$?.(r,e,o?fe:void 0,i,u)}),[A,$,r,i,u,x,fe]),Fe=n.useCallback((e=>{e.target instanceof Node&&Re.current?.contains(e.target)&&(A(!1),x(!1),Q?.(r,e))}),[A,Q,r]);wr(l);const Ee=!!c,Ae=function(e){const[t,r]=n.useState(!e),o=n.useRef(!0);return n.useEffect((()=>()=>{o.current=!1}),[]),t||requestAnimationFrame((()=>{o.current&&r(!0)})),t}(p),Ie=wn(s,{theme:l,className:t,disabled:f||!1,isHover:E||w,isPressed:T,reserveSpaceForIcon:o,hasIcon:null!==pe,submenuOpen:V,isSelected:Ee,isSubButton:i,isPrimaryButtonHover:I,showButton:Ae,itemHeight:h}),xe=(0,D.jI)(l),we=n.useCallback((e=>{f||("ArrowLeft"===e.key&&xe||"ArrowRight"===e.key&&!xe||e.altKey&&"ArrowDown"===e.key?(i||(K(),ee?.(r,fe,u)),e.stopPropagation(),e.preventDefault()):e.shiftKey&&"Enter"===e.key&&q?(q?.(r,se.refreshContainingMenu,e)&&ce.current?.refresh(),e.stopPropagation(),e.preventDefault()):"Enter"!==e.key&&" "!==e.key&&"Tab"!==e.key||(j?.(r,e),e.stopPropagation(),"Tab"!==e.key&&e.preventDefault()))}),[f,xe,q,i,K,ee,r,fe,u,se.refreshContainingMenu,j]),Pe=n.useCallback((e=>{f||(k.setFalse(),j?.(r,e),e?.stopPropagation())}),[f,k,j,r]),Re=n.useRef(null),De=n.useCallback((e=>{P(!0),X&&Re.current&&(0,_.s)(Re.current,e.target,!1)&&X(r,e)}),[X,r]),_e=n.useCallback((e=>{P(!1),Y?.(r,e)}),[Y,r]),Ne=n.useCallback((()=>{ie?.(r,fe,i,u)}),[ie,r,fe,i,u]),Oe=n.useCallback((e=>{const{nativeEvent:t}=e;var n;(function(e){return"pointerId"in e&&"pointerType"in e})(n=t)&&"touch"===n.pointerType&&(A(!0),$?.(r,e,fe,!1,u),e.stopPropagation())}),[$,r,fe,u]),Me=!!R,Be=n.useRef(null),Le=n.useCallback((e=>{k.setTrue(),e.preventDefault()}),[k]),Ke=n.useMemo((()=>V&&Ce.length>0?Ce.reduce(((e,t)=>{const{itemType:r}=t;return r===N.G.Divider?e+6+1:e+h}),8):0),[V,h,Ce]),We=n.useCallback((e=>{const{containsFocus:t,documentContainsFocus:r}=e;t&&r&&Re.current?.focus()}),[]),He=!!(0,xn.i2)(le,xn.PE.expandFontPickerSubmenuFixEnabled),Ge=n.createElement("div",{className:Ie.mainContainer,role:"button",onMouseDown:Le,onMouseUp:Pe,onContextMenu:Pn,onFocus:De,tabIndex:-1},n.createElement("span",{ref:Be,className:Ie.textContainer},n.createElement("span",{id:ue,className:Ie.labelContainer,"aria-label":g},y({item:r,labelClassName:u||r.groupKey?Ie.labelText:Ie.individualItemLabelText,theme:l,indicatorClassName:Ie.indicator,indicatorIconName:re?.indicatorName})),n.createElement("div",{style:ln},m&&n.createElement("span",{className:Ie.secondaryText},m),Me&&n.createElement(O.G,{"aria-hidden":"true",styles:{divider:[Ie.divider]}}))),Me&&n.createElement(n.Fragment,null,n.createElement("div",{ref:Te,role:He?"button":void 0,"aria-haspopup":He?"menu":void 0,"aria-expanded":He?V:void 0,className:Ie.menuButton,onMouseDown:Pn,onMouseUp:Pn,onClick:Oe},n.createElement(F.l8,{iconName:xe?re?.chevronLeftName??"ChevronLeft-svg":re?.chevronRightName??"ChevronRight-svg",className:Ie.menuIcon})),V&&n.createElement(M.l,{id:be,isBeakVisible:!1,items:Ce,shouldFocusOnMount:L===An.OpenByKeyboard,directionalHint:d.A.rightTopEdge,directionalHintForRTL:d.A.leftTopEdge,calloutProps:{calloutMaxHeight:Z,calloutMaxWidth:J,finalHeight:Ke,hideOverflow:!1},onRenderMenuList:ve,styles:on,isSubMenu:!0,onDismiss:fe.closeMenu,onMenuDismissed:Se,target:Te,focusZoneProps:{componentRef:ye,direction:S.E.vertical,checkForNoWrap:!0},onRestoreFocus:We}))),ze=(0,H.B)("icon"),Ue=pe&&w&&ge,Ve=Ue?ze+"-action":void 0,je=null!==pe?n.createElement(n.Fragment,null,n.createElement("div",{ref:me,id:ze,"aria-label":he,className:Ie.icon},pe),Ue&&Ve&&(qe=Ve,$e=ge,n.createElement("span",{id:qe,"aria-hidden":!0,style:hn},$e))):void 0;var qe,$e;const Qe=n.createElement("div",{ref:Re,role:"menuitem","aria-label":Dn(he,g,m),"aria-describedby":Ve,"aria-expanded":Me?V:void 0,"aria-haspopup":Me?"menu":void 0,"aria-owns":V?be:void 0,"aria-disabled":f,className:Ie.root,onMouseOver:ke,onMouseLeave:Fe,onKeyDown:we,onFocus:De,onBlur:_e,tabIndex:-1,"data-is-focusable":!0,onTouchStart:Ne},je,Ge);return C||void 0===C&&ae?ne({targetElement:Re,tooltip:C??(ae?()=>ae(r,w):void 0),showTooltipOnRight:i??!1,mainContent:Qe,hoverElement:Be.current??void 0,hostClassName:Ie.rootTooltipHost}):Qe};_n.displayName="GroupedComboBoxButtonBase";const Nn=(0,o.I)(_n,(e=>{const{theme:t,className:r,dividerClassName:n,iconClassName:o,subMenuClassName:i,isHover:a,isPressed:s,disabled:l,reserveSpaceForIcon:u,hasIcon:c,submenuOpen:d,isSelected:p,isSubButton:h,isPrimaryButtonHover:g,showButton:m,itemHeight:f}=e,b=(0,v.Km)(an,t);return{root:[b.root,{display:"flex",width:"100%",flexDirection:"row",alignItems:"center",opacity:"0%",height:0,transitionProperty:"opacity, height",transitionDelay:"200ms, 0ms",transitionDuration:"100ms, 200ms"},m&&{opacity:"100%",height:f},(0,v.gm)(t,{highContrastStyle:{outline:l?"2px dotted GrayText":"2px dashed ButtonText",...(0,v.Qg)()}}),t.fonts.medium,{color:t.semanticColors.bodyText,backgroundColor:"transparent",border:"none",lineHeight:"20px",cursor:"pointer",textAlign:"left",":focus":!l&&sn},l&&{color:t.semanticColors.disabledBodyText,cursor:"default",[v.up]:{color:"GrayText",...(0,v.Qg)()}},p&&!l&&[{backgroundColor:t.palette.neutralLight,color:t.semanticColors.menuItemTextHovered},sn],!s&&!l&&a&&{backgroundColor:t.semanticColors.menuItemBackgroundHovered,color:t.semanticColors.menuItemTextHovered},d&&!l&&{backgroundColor:t.semanticColors.menuItemBackgroundPressed,color:t.semanticColors.menuItemTextHovered},!s&&!l&&a&&{backgroundColor:t.semanticColors.menuItemBackgroundHovered,color:t.semanticColors.menuItemTextHovered},g&&!l&&{[v.up]:{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",...(0,v.Qg)(),outline:"2px dashed ButtonText"}},!l&&s&&{backgroundColor:t.semanticColors.menuItemBackgroundPressed,color:t.semanticColors.menuItemTextHovered,[v.up]:{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",...(0,v.Qg)(),outline:"2px solid ButtonText"}},r],mainContainer:[b.mainContainer,{display:"flex",flexGrow:"1",alignItems:"center",justifyContent:"flex-start",minWidth:0,height:"100%"},l&&{":focus":{[v.up]:{backgroundColor:"ButtonFace",color:"GrayText",...(0,v.Qg)()}}},h&&{paddingRight:8}],rootTooltipHost:[b.rootTooltipHost,{width:"100%",height:"100%",minWidth:0}],textContainer:[b.textContainer,{display:"flex",alignItems:"center",justifyContent:"space-between",height:"100%",width:"100%",flexGrow:1,minWidth:0,overflow:"hidden"},u&&!c&&{paddingLeft:38}],icon:[b.icon,{display:"flex",alignItems:"stretch",justifyContent:"center"},u&&c&&{margin:"0px 0px 0px 6px",width:"32px",height:"100%",minWidth:"32px"},l&&{[v.up]:{color:"GrayText",...(0,v.Qg)()}},o],labelContainer:[b.labelContainer,{padding:u?"0 1px 0 2px":"0 1px 0 12px",overflow:"hidden",whiteSpace:"nowrap",minWidth:"40%",flexGrow:1,flexShrink:4,height:"100%",display:"flex",alignItems:"center"}],labelText:[b.labelText,{overflow:"hidden",textOverflow:"clip"},l&&{color:t.semanticColors.disabledBodyText,[v.up]:{color:"GrayText",...(0,v.Qg)()}}],individualItemLabelText:[b.individualItemLabelText,{fontWeight:v.BO.semibold,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flexShrink:5,paddingRight:"8px"}],menuIcon:[b.menuIcon,{width:12,height:12,lineHeight:16,textAlign:"center"},t.fonts.small,l&&{color:t.semanticColors.disabledBodyText,[v.up]:{color:"GrayText",...(0,v.Qg)()}}],secondaryText:[b.secondaryText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flexShrink:5,paddingRight:"8px"},t.fonts.small],divider:[b.divider,{height:"50%"},{[v.up]:[l&&{color:"GrayText",backgroundColor:"GrayText"},!l&&{backgroundColor:"windowText",color:"windowText"},!l&&(p||g||s)&&{backgroundColor:"highlightText",color:"highlightText",borderColor:"Highlight"},(0,v.Qg)()]},n],menuButton:[b.menuButton,l&&{backgroundColor:t.semanticColors.listBackground,[v.up]:{color:"GrayText",backgroundColor:"transparent",...(0,v.Qg)()}},{color:t.palette.neutralSecondary,minWidth:28,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"transparent"},a&&!l&&{backgroundColor:t.semanticColors.menuItemBackgroundHovered,color:t.palette.neutralSecondary},d&&{backgroundColor:t.semanticColors.menuItemBackgroundPressed,color:t.palette.neutralSecondary,[v.up]:{backgroundColor:"Highlight",color:"HighlightText",...(0,v.Qg)()}},!s&&!l&&a&&{backgroundColor:t.semanticColors.menuItemBackgroundHovered,color:t.palette.neutralSecondary},s&&!l&&{backgroundColor:t.semanticColors.menuItemBackgroundPressed,color:t.palette.neutralSecondary},{[v.up]:[{":hover":{zIndex:1,backgroundColor:"Highlight",color:"HighlightText",outline:"2px dashed ButtonText",...(0,v.Qg)()}},(g||s||d)&&!l&&{backgroundColor:"Highlight",color:"HighlightText",...(0,v.Qg)()}]},i],indicator:[b.indicator,{alignSelf:"start",width:8,height:8},(0,D.jI)(t)&&{transform:"scaleX(-1)"}]}}),void 0,{scope:"GroupedComboBoxButton"});Nn.displayName="GroupedComboBoxButton";class On{scrollAndFocus(e){this.scrollToElementCore(e),this._elementCreated?this.focusElement():this._pendingFocus=!0}onElementCreated(){this._elementCreated=!0,this._pendingFocus&&(this.focusElement(),this._pendingFocus=!1)}onElementRemoved(){this._elementCreated=!1}constructor(e,t){this._pendingFocus=!1,this._elementCreated=!1,this._list=e,this._root=t}}class Mn extends On{scrollToElementCore(){this._list.current?.scrollToIndex(0)}focusElement(){if(!this._root.current)return;const e=this._root.current.querySelector('[data-list-index="0"]');e?(0,s.vO)(e):(0,s.vO)(this._root.current)}setFocusToKthItem(e){if(!this._root.current)return;const t=`[data-list-index="${e}"]`,r=this._root.current.querySelector(t);r&&(0,s.vO)(r)}onCollapsed(){this._root.current&&(0,s.vO)(this._root.current)}}class Bn extends On{scrollToElementCore(e){this._list.current?.scrollToIndex(e-1)}focusElement(){const e=this._root.current;if(!e)return;const t=e.lastElementChild,r=(0,s.yv)(e,t,!0,!0,!0);(0,s.lo)(r)}}class Ln{onPageUpdates(e){if(0===e.length)return;const t=e.find((e=>!e.isSpacer));t&&(0===t.startIndex?this.firstElementWorker.onElementCreated():this.firstElementWorker.onElementRemoved());for(let t=e.length;t>0;--t){const r=e[t-1];if(!r.isSpacer){r.startIndex+r.itemCount===this.itemCount?this.lastElementWorker.onElementCreated():this.lastElementWorker.onElementRemoved();break}}}scrollToAndFocus(e){"FirstElement"===e?this.firstElementWorker.scrollAndFocus(this.itemCount):"LastElement"===e&&this.lastElementWorker.scrollAndFocus(this.itemCount)}onCollapsed(){this.firstElementWorker.onCollapsed()}setFocusToKthItem(e){this.firstElementWorker.setFocusToKthItem(e)}constructor(e,t){this.itemCount=0,this.firstElementWorker=new Mn(e,t),this.lastElementWorker=new Bn(e,t)}}const Kn=(e,t)=>{const r="200ms",n="cubic-bezier(0.33, 0.0, 0.1, 1.0)";return{overflow:"hidden",opacity:"100%",transition:`max-height ${r} ${n}, opacity 0ms linear ${r}`,...void 0!==t?{maxHeight:t}:void 0,...e?{maxHeight:"0px",opacity:"0%",transition:`max-height ${r} ${n}, opacity 0ms linear 0ms`}:void 0}},Wn=e=>{const{theme:t}=e;return{root:[{cursor:"pointer",background:"none",backgroundColor:"none",border:"none",color:t?.palette.blue,flexDirection:"row",height:32,paddingLeft:38,alignItems:"center",display:"flex",width:"100%",":hover":{backgroundColor:t?.palette.neutralLight},":focus":{backgroundColor:t?.palette.neutralLight},":active":{backgroundColor:t?.palette.neutralQuaternaryAlt}}]}};function Hn(e){return null!==e.current&&(0,s.SE)(e.current)}function Gn(e){return e.itemKey}function zn(){return{itemKey:"EMPTY_ITEM",text:""}}const Un=(0,i.Z)(),Vn=e=>{const{items:t,isCollapsed:r,groupKey:o,text:i,headerStyles:a,itemStyles:s,onGroupToggled:l,componentRef:u,selectedKey:c,parentBottomPadding:d=0,itemHeight:p=tn,initialItemLimit:h,theme:g,stringResources:m}=e,f=n.useRef(!0),[v,b]=n.useState(h),y=(0,xe.E)((e=>{const t=getComputedStyle(e);(parseFloat(t.transitionDuration)<=0||t.transitionProperty.indexOf("max-height")<0)&&(f.current=!1)})),S=n.useRef(null),C=n.useRef(null),k=(0,G.d)((()=>new Ln(S,C)));k.itemCount=t.length;const F=n.useCallback((()=>{l?.(o,!r)}),[o,r,l]),[E,A,I]=function(e,t,r,o){const[i,a]=n.useState(void 0);return[i,n.useCallback((()=>{const n=o.current?.getBoundingClientRect();a(n?function(e,t,r){const n=document.documentElement.clientHeight-t-r.top;if(!(Math.floor(n)<=0))return Math.min(e,n)}(t,r,n):void 0),requestAnimationFrame(e)}),[o,t,r,e]),n.useCallback((e=>{"max-height"===e.propertyName&&a(void 0)}),[])]}(F,t.length*p,d+4,y),x=n.useCallback((()=>{f.current?A():F(),!r&&Hn(C)&&k.onCollapsed()}),[r,A,F,k]);n.useImperativeHandle(u,(()=>({scrollToElement:e=>{r?(F(),setTimeout((()=>k.scrollToAndFocus(e)),0)):k.scrollToAndFocus(e)},get hasFocus(){return Hn(C)}})),[F,k,r]);const w=v?t.slice(0,v):t,[P,R,D]=yn(f.current,w,Gn,zn,p),_=t.some((e=>e.icon)),N=n.useCallback((()=>{b(void 0),v&&setTimeout((()=>k.setFocusToKthItem(v)),0)}),[v,k]),O=Un(Wn,{theme:g}),M=()=>n.createElement("button",{className:O.root,role:"menuitem",onClick:N},m?m.showMoreButtonLabel:"+show more"),B=n.useCallback(((e,t)=>{if(!e)return null;const r=D(t);if(void 0!==r)return r;const i=function(e,t){return void 0!==t&&(!!Cn(e,t)||!(e.disableCheckSubItemForSelected||!e.sections)&&e.sections.some((e=>e.items.some((e=>Cn(e,t))))))}(e,c)?c:void 0,a=R(t);return v&&t===v-1?n.createElement(n.Fragment,null,n.createElement(Nn,{item:e,styles:s,reserveSpaceForIcon:_,key:e.itemKey,parentGroupKey:o,selectedKey:i,animateEntrance:a,itemHeight:p}),n.createElement(M,null)):n.createElement(Nn,{item:e,styles:s,reserveSpaceForIcon:_,key:e.itemKey,parentGroupKey:o,selectedKey:i,animateEntrance:a,itemHeight:p})}),[D,c,R,v,s,_,o,p,M]),L=(0,H.B)("GroupedComboBoxSection");n.useEffect((()=>S.current?.forceUpdate()),[c]);const K=n.useCallback((e=>k.onPageUpdates(e)),[k]);return n.createElement("div",{id:L,ref:C},n.createElement(nn,{group:e,isCollapsed:r,styles:a,onToggleCollapse:x}),n.createElement("div",{ref:y,style:Kn(r??!1,E),onTransitionEnd:I},(void 0!==E||!r)&&n.createElement(T.B,{role:"group","aria-label":i,componentRef:S,onPagesUpdated:K,items:P,onRenderCell:B,getKey:Gn,ignoreScrollingState:!0,renderedWindowsAhead:1,renderedWindowsBehind:1})))};function jn(e,t,r){return e.filter((e=>{if(e.excludeFromSearch)return!1;let n=t.test(e.text);return!n&&r.length>1&&e.sections&&(n=e.sections.some((e=>e.items.some((e=>!e.excludeFromSearch&&t.test(e.text)))))),n}))}function qn(e){return e.some((e=>!Qn(e)&&e.items.length>0))}function $n(e){const t=e.filter((e=>Qn(e)||e.items.length>0));return t.length===e.length?e:t}function Qn(e){return void 0!==e.itemKey}function Xn(e,t,r){const{groupKey:n,initiallyCollapsed:o}=e,i=t.get(n);return void 0!==i?i:!r&&o}Vn.displayName="Section";const Yn=n.forwardRef(((e,t)=>{const{groupedItems:r,headerStyles:o,sectionClassNames:i,separatorStyles:a,componentRef:s,itemStyles:l,onGroupToggled:u,selectedKey:c,width:d,onDismiss:p,parentBottomPadding:h,isFiltering:g,groupStates:m,itemHeight:f,theme:v,stringResources:b}=e;console.assert(void 0===r.find((e=>!Qn(e)&&0===e.items.length)),"'groups' must not contain any empty groups.");const[,T]=n.useReducer((e=>e+1),0),k=n.useCallback(((e,t)=>{m.set(e,t),T(),u?.(e,t)}),[m,u]),F=n.useMemo((()=>{const e=[];for(let t=0;t<r.length;++t)e.push(n.createRef());return e}),[r.length]),E=function(e,t,r){return n.useCallback((n=>{if(0===t.length)return;let o,i;switch(n.key){case"ArrowDown":if(n.ctrlKey||n.metaKey){const r=e.findIndex((e=>e.current?.hasFocus));r>-1&&r+1<t.length&&(o=r+1,i="FirstElement")}break;case"ArrowUp":if(n.ctrlKey||n.metaKey){const t=e.findIndex((e=>e.current?.hasFocus));t>0&&(o=t-1,i="LastElement")}else if(n.altKey)return n.stopPropagation(),void r?.(n);break;case"Home":o=0,i="FirstElement";break;case"End":o=t.length-1,i="LastElement";break;case"Tab":return void r?.(n)}if(void 0!==o&&i){const t=e[o];t.current?.scrollToElement(i),n.stopPropagation(),n.preventDefault()}}),[e,t,r])}(F,r,p),A=n.useMemo((()=>function(e){return{listStyleType:"none",margin:"0px",padding:"4px 0px 4px 0px",width:e}}(d)),[d]);return 0===r.length?null:n.createElement(y.R,{style:A,componentRef:s,direction:S.E.vertical,allowFocusRoot:!0,isCircularNavigation:!1,checkForNoWrap:!0,onKeyDown:E,elementRef:t,as:"div"},r.map(((e,t)=>Qn(e)?n.createElement(n.Fragment,{key:t},n.createElement(Nn,{item:e,reserveSpaceForIcon:!!e.icon,key:e.itemKey,itemHeight:f}),t!==r.length-1&&n.createElement(C.w,{styles:a})):n.createElement(n.Fragment,{key:e.groupKey},n.createElement(Vn,{...e,componentRef:F[t],classNames:i,headerStyles:o,itemStyles:l,onGroupToggled:k,selectedKey:c,parentBottomPadding:h,isCollapsed:Xn(e,m,g),itemHeight:f,initialItemLimit:e.initialItemLimit,theme:v,stringResources:b}),t!==r.length-1&&n.createElement(C.w,{styles:a})))))}));function Jn(e,t){return`${e.itemKey}-${t}`}function Zn(e,t){e.current?.key!==t&&(e.current?.menuCommands.setIsHover(!1),e.current=void 0)}Yn.displayName="SectionedList";const eo=(0,i.Z)(),to={root:"ms-GroupedComboBoxDropDown",group:"ms-GroupedComboBoxDropDown-group",link:"ms-Link",listCell:"ms-List-cell"},ro=(0,o.I)((e=>{const{id:t,className:r,styles:o,theme:i,groupedItems:a,scrollbarWidth:s,dropDownWidth:l,dropDownMaxWidth:u,dropDownMaxHeight:g,submenuMaxWidth:m,submenuMaxHeight:f,target:v,onAnnounceSearchResult:y,onDismiss:S,onItemClick:C,onItemSecondaryAction:T,onItemMouseEnter:k,onItemMouseLeave:F,onItemGotFocus:E,onItemLostFocus:A,onMenuLostFocus:I,filterText:x,renderEmptyContent:w,componentRef:P,onGroupToggled:R,iconResources:D,onRenderTooltip:_,selectedKey:N,onRenderMenu:O,directionalHintFixed:M=!0,onRestoreFocus:B,getItemTooltip:L,groupStates:K=new Map,itemHeight:W,stringResources:H}=e;wr(i);const G=eo(o,{theme:i,className:r}),[z,U,V,j,q,$]=((e,t,r)=>{const o=n.useRef(),i=n.useRef(),a=n.useRef(),s=n.useRef(),l=n.useRef(),u=n.useCallback((()=>{o.current&&window.clearTimeout(o.current),o.current=void 0,i.current=void 0}),[]),c=n.useCallback(((e,t,r,n)=>{const o=Jn(e,n),i=r?l:s;i.current?.key!==o&&function(e,t,r){e.current?.menuCommands.setIsHover(!1),e.current={key:t,menuCommands:r},r.setIsHover(!0)}(i,o,t)}),[]);return[n.useCallback(((t,r,n,c,d)=>{const p=Jn(t,d);if(Zn(s,p),Zn(l,p),!c&&p!==i.current&&p!==a.current?.key){u();const e=a.current?.menuCommands;n?(o.current=window.setTimeout((()=>{e?.closeMenu(),n?.openMenu(),a.current={menuCommands:n,key:p},o.current=void 0,i.current=void 0}),250),i.current=p):p!==i.current&&p===a.current?.key?u():a.current&&(o.current=window.setTimeout((()=>{e?.closeMenu(),a.current=void 0,o.current=void 0}),250),i.current=void 0)}e?.(t,r)}),[u,r,e]),n.useCallback(((e,r)=>{u(),t?.(e,r)}),[u,t]),n.useCallback(((e,t,r)=>{u(),a?.current?.menuCommands.closeMenu(),a.current={key:Jn(e,r),menuCommands:t}}),[u]),n.useCallback((()=>{u(),a.current=void 0}),[u]),u,c]})(k,F);n.useEffect((()=>q),[q]);const Q=n.useMemo((()=>({onItemClick:C,onItemSecondaryAction:T,onItemMouseEnter:z,onItemMouseLeave:U,onItemGotFocus:E,onItemLostFocus:A,submenuMaxWidth:m,submenuMaxHeight:f,onSubmenuOpen:V,onSubmenuClose:j,iconResources:D,onRenderTooltip:_,onRenderMenu:O,onTouchStart:$,getItemTooltip:L})),[C,T,z,U,E,A,m,f,V,j,D,_,O,$,L]),X=function(e,t){if(!t)return $n(e);const r=new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),n=function(e){return e.filter((e=>!Qn(e)))}(e);return $n(n.map((e=>({...e,initiallyCollapsed:!1,items:jn(e.items,r,t)}))))}(a,x),Y=0===X.length&&qn(a),[J,Z]=n.useState(),ee=n.useRef(null);n.useImperativeHandle(P,(()=>({announceText:Z,focusDropDown:()=>{ee.current?.focus()}})));const[te,re]=function(e,t,r){const[o,i]=n.useState(e),a=n.useMemo((()=>e),[e]),s=n.useMemo((()=>void 0===t?e:void 0!==e?Math.max(0,e-t):void 0),[e,t]),l=(0,xe.E)((e=>{const t=window.ResizeObserver?new window.ResizeObserver((()=>{if(!a)return;const t=function(e,t){if(e.clientHeight>window.innerHeight)return!0;const r=(0,qe.Hc)(e);if(!r||!("scrollHeight"in r))return!0;if(r.parentElement){const n=parseInt(window.getComputedStyle(r.parentElement).getPropertyValue("top"),10)+1;if(e.clientHeight+n+t>window.innerHeight)return!0}return r.scrollHeight>r.clientHeight}(e,r);i(t?a:s)})):void 0;return t?.observe(e),(0,qe.mh)(),(0,qe.c8)(e,new $e.g(e)),()=>{t?.disconnect(),(0,qe.fY)()}}));return[o,l]}(l,s,8),{separatorStyles:ne,itemStyles:oe,headerStyles:ie}=G.subComponentStyles,[ae,se]=n.useState(),le=qn(a);n.useEffect((()=>{le&&se(x?y?.(X,x):void 0)}),[x,X,le,y]);const ue=()=>n.createElement(Yn,{ref:re,componentRef:ee,groupedItems:X,separatorStyles:ne,sectionClassNames:G,itemStyles:oe,onGroupToggled:R,selectedKey:N,onDismiss:S,width:l&&s?l-s:void 0,headerStyles:ie,parentBottomPadding:8,isFiltering:void 0!==x,groupStates:K,itemHeight:W,theme:i,stringResources:H});return n.createElement(c.P,{id:t,role:"menu",target:v,isBeakVisible:!1,directionalHint:d.A.bottomLeftEdge,directionalHintForRTL:d.A.bottomRightEdge,directionalHintFixed:M,alignTargetEdge:!0,onDismiss:S,calloutMaxHeight:g,calloutWidth:te,calloutMaxWidth:u,shouldRestoreFocus:!0,onRestoreFocus:B,minPagePadding:8,onMouseDown:Yr,onMouseLeave:I},n.createElement(p.MO,null),n.createElement(h.P,null,n.createElement(b,{"aria-live":"polite",message:J})),n.createElement(h.P,null,n.createElement(b,{"aria-live":"polite",message:ae})),Y?w?.(x):n.createElement(Jr.Provider,{value:Q},O?O({isSubmenu:!1},ue):ue()))}),(e=>{const{theme:t,className:r}=e,{palette:n}=t,o=(0,v.Km)(to,t);return{root:[o.root,t.fonts.small,{position:"relative",selectors:{[`.${o.listCell}`]:{minHeight:38}}},r],group:[o.group,{transition:`background-color ${v.cs.durationValue2} cubic-bezier(0.445, 0.050, 0.550, 0.950)`}],groupIsDropping:{backgroundColor:n.neutralLight},subComponentStyles:{separatorStyles:{root:{fontSize:0,marginLeft:"8px",marginRight:"8px"}}}}}),void 0,{scope:"GroupedComboBoxDropDown"});function no(e){return"object"==typeof e&&null!==e&&"key"in e&&"keyCode"in e}ro.displayName="GroupedComboBoxDropDown";const oo=(0,i.Z)();function io(e){e.preventDefault()}function ao(e,t){e.current&&(e.current.value=t??"")}function so(e){e?.focus()}function lo(e){if(void 0!==e)return n.createElement(Ze.E,null,e)}const uo=n.forwardRef(((e,t)=>{const{className:r,componentRef:o,iconProps:i={iconName:"ChevronDown-svg"},onButtonClick:a,styles:s,theme:l,onBlur:u,buttonChecked:c=!1,onPendingValueChanged:d,onSubmit:p,onCancel:h,value:g,disabled:m,hideFocusVisual:f=!1,prefix:v,onRenderPrefix:b=lo,keytipProps:y,...S}=e,C=n.useRef(),T=n.useRef(null);n.useEffect((()=>{ao(T,g),C.current=g}),[g]);const[k,F]=n.useState(!1),[E,A]=n.useState(),I=n.useMemo((()=>b(v)),[b,v]);void 0!==I&&I!==E&&A(I);const x=n.useCallback((()=>{void 0===I&&A(void 0)}),[I]),w=void 0!==E&&void 0===I;wr(l);const P=oo(s,{theme:l,isActive:k||c,className:r,disabled:m||!1,hideFocusVisual:f,prefixExiting:w}),R=n.useMemo((()=>P.subComponentStyles.buttonStyles()),[P.subComponentStyles]),D=n.useCallback((e=>{ao(T,C.current),e&&T.current?.select()}),[]);n.useImperativeHandle(o,(()=>({focus:()=>T.current?.focus(),blur:()=>T.current?.blur(),cancelPendingChange:D,setPendingText:e=>ao(T,e)})),[D]);const _=n.useCallback((()=>{F(!0),D(!0)}),[D]),N=n.useCallback((e=>{F(!1),u?.(e)}),[u]),O=n.useCallback((e=>{d?.(e.target.value),e.stopPropagation()}),[d]),M=n.useCallback((e=>{"Enter"===e.key||"Tab"===e.key?p?.(e,T.current?.value,C.current):"Escape"===e.key&&h&&h(e)}),[p,h]),B=n.useCallback((e=>{T.current?.focus(),a&&a(e)}),[T,a]),L=n.useCallback((e=>{"touch"===e.pointerType&&(T.current?.focus(),c||a?.(e),e.stopPropagation(),e.preventDefault())}),[a,c]);y&&!y.onExecute&&(y.onExecute=so);const K=(0,et.Z)({keytipProps:y,disabled:m});wr("function"==typeof K);const W=(0,rt.a)(K,t);return n.createElement("div",{className:P.root,ref:W},E&&n.createElement("div",{className:P.prefix,onAnimationEnd:x},E),n.createElement("input",{ref:T,"data-ktp-execute-target":y?"":void 0,type:"text",onFocus:_,onBlur:N,onPointerDown:L,autoComplete:"off",spellCheck:!1,translate:"no","data-lpignore":!0,className:P.textInput,onChange:O,onKeyDown:M,readOnly:m,...S}),n.createElement(tt.K,{"data-is-focusable":!1,tabIndex:-1,styles:R,iconProps:i,onMouseDown:io,onClick:B,checked:c,disabled:m}))}));uo.displayName="TextFieldWithActionBase";const co={root:"ms-TextFieldWithAction-root",textInput:"ms-TextFieldWithAction-textInput"},po=(0,dt.J9)((e=>{const{semanticColors:t}=e;return{backgroundColor:t.disabledBackground,color:t.disabledText,cursor:"default",selectors:{":after":{borderColor:t.disabledBackground},[v.up]:{color:"GrayText",backgroundColor:"transparent",selectors:{":after":{borderColor:"GrayText"}},...(0,v.Qg)()}}}})),ho={selectors:{[v.up]:{backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",...(0,v.Qg)()}}},go=e=>{const t={buttonTextColor:e.semanticColors.bodySubtext,buttonTextHoveredCheckedColor:e.semanticColors.buttonTextChecked,buttonBackgroundHoveredColor:e.semanticColors.listItemBackgroundHovered,buttonBackgroundCheckedColor:e.semanticColors.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:e.semanticColors.listItemBackgroundCheckedHovered};return{icon:{display:"flex",width:12,height:12},root:{color:t.buttonTextColor,padding:"0px 2px",borderRadius:0,selectors:{[v.up]:{color:"ButtonText",...(0,v.Qg)()}}},rootHovered:[{backgroundColor:t.buttonBackgroundHoveredColor,color:t.buttonTextHoveredCheckedColor},ho],rootPressed:[{backgroundColor:t.buttonBackgroundCheckedColor,color:t.buttonTextHoveredCheckedColor},ho],rootChecked:[{backgroundColor:t.buttonBackgroundCheckedColor,color:t.buttonTextHoveredCheckedColor},ho],rootCheckedHovered:[{backgroundColor:t.buttonBackgroundCheckedHoveredColor,color:t.buttonTextHoveredCheckedColor},ho],rootDisabled:[po(e)]}},mo={borderColor:"Highlight",...(0,v.Qg)(),color:"HighlightText"},fo="cubic-bezier(0.33, 0.00, 0.10, 1.00)",vo=(0,dt.J9)((()=>(0,v.i7)({"0%":{width:"0px",opacity:"0%",animationTimingFunction:fo},"66%":{width:"16px",opacity:"0%",animationTimingFunction:"linear"},"100%":{opacity:"100%"}}))),bo=(0,dt.J9)((()=>(0,v.i7)({"0%":{width:"16px",opacity:"100%",animationTimingFunction:"linear"},"33%":{width:"16px",opacity:"0%",animationTimingFunction:fo},"100%":{width:"0px"}}))),yo=(0,o.I)(uo,(e=>{const{hideFocusVisual:t,className:r,isActive:n,theme:o,disabled:i,prefixExiting:a}=e,s=(0,v.Km)(co,o),l=(0,v.Sq)(o.semanticColors.inputFocusBorderAlt,o.effects.roundedCorner2),{semanticColors:u}=o;return{root:[s.root,{display:"flex",width:"100%",flexDirection:"row",alignItems:"stretch",position:"relative",border:`1px solid ${u.inputBorder}`,borderRadius:"2px",borderStyle:"solid",boxSizing:"border-box",backgroundColor:u.inputBackground},n&&!i&&!t&&[l,{selectors:{[v.up]:mo}}],i&&[{borderColor:u.disabledBorder,selectors:{[v.up]:{borderColor:"GrayText",...(0,v.Qg)()}}},n&&{selectors:{[v.up]:{outline:"GrayText dotted 2px",...(0,v.Qg)()}}}],{selectors:{[v.up]:[{backgroundColor:"Window"},!i&&{selectors:{":hover":mo}},(0,v.Qg)()]}},r],textInput:[s.textInput,{width:"100%",minWidth:0,borderWidth:0,outline:0,margin:0,padding:"0px 0px 0px 2px",boxShadow:"none",textOverflow:"ellipsis",backgroundColor:"transparent",color:u.inputText,selectors:{"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"},[v.up]:{background:"Window",color:i?"GrayText":"WindowText",...(0,v.Qg)()}}},i&&{backgroundColor:u.disabledBackground,color:u.disabledText},o.fonts.medium],prefix:{wordWrap:"none",padding:"0px 0px 0px 2px",alignSelf:"center",width:16,height:16,color:i?u.disabledText:u.inputPlaceholderText,lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:{[v.up]:{color:i?"GrayText":"WindowText",...(0,v.Qg)()}},animationName:`${a?bo():vo()}`,animationDuration:"300ms",opacity:a?"0%":"100%"},subComponentStyles:{buttonStyles:go(o)}}}),void 0,{scope:"TextFieldWithAction"});yo.displayName="TextFieldWithAction";const So=(0,i.Z)(),Co=n.forwardRef(((e,t)=>{const{id:r=(0,a.O)("GroupedComboBox"),onItemClick:o,componentRef:i,onMenuOpened:c,onMenuDismissed:d,onFilterItems:p,onFilterEnd:h,onFilterBegin:g,enableFiltering:m,disabled:f,onChange:v,tabIndex:b,onRenderTextFieldPrefix:y,iconResources:S,ariaLabel:C,styles:T,theme:k,menuInitiallyOpened:F,hideFocusVisual:E,onItemGotFocus:A,onItemPreview:I,onItemMouseEnter:x,width:w,keytipProps:P,selectedItem:R,maxTextLength:D,stringResources:_,mfpDeferOnMenuDismissedEnabled:N,allowCaretOverrideOnKeyDown:O,...M}=e;wr(k);const B=So(T,{theme:k,width:w}),[L,K]=n.useState(R),[H,z]=n.useState(),[U,V]=(0,W.C)(F??!1),[j,q]=n.useState(!1),$=(0,G.d)((()=>new Map)),Q=void 0!==H,X=n.useRef(!1);X.current=U;const Y=n.useRef(!1),J=n.useRef(null),Z=n.useCallback((e=>{c?.(e),Y.current=!1,V.setTrue()}),[c,V]),ee=function(e,t,r,o,i){const a=function(e,t){const r=n.useRef(),o=n.useRef(null),i=n.useRef(null);function a(){r.current&&null!==o.current&&r.current(o.current)}return n.useEffect((()=>(r.current=e,()=>{r.current=void 0,o.current=null,i.current&&window.clearTimeout(i.current)})),[e]),n.useCallback((e=>{o.current=e,null!==t&&(i.current&&window.clearTimeout(i.current),i.current=window.setTimeout(a,t))}),[t])}(o,e&&t.current?300:null);return n.useCallback((n=>{e&&null!==n?(n.length>=1&&!t.current&&(r(),i?.(),o(n)),a(n)):a(null)}),[a,e,r,t,o,i])}(m,X,Z,p||z,g),te=n.useCallback((e=>{z(void 0),ee(null),Q&&h?.(),e||J.current?.cancelPendingChange(!1),X.current&&(V.setFalse(),d&&(N?window.requestAnimationFrame((()=>{window.setTimeout((()=>{d()}),0)})):window.requestAnimationFrame(d))),q(!1)}),[ee,Q,h,V,d,N]),re=n.useCallback((e=>{X.current?te(!1):Z(e)}),[te,Z]);n.useEffect((()=>{void 0!==R&&K(R)}),[R,K]);const ne=n.useCallback(((e,t)=>{t&&no(t)&&"Tab"===t.key&&(t.preventDefault(),Y.current=!0),te(!1),o?.(e,t),t&&!t.defaultPrevented&&K({name:e.text,key:e.itemKey})}),[o,K,te]),oe=n.useCallback(((e,t)=>{I?.(e,t)}),[I]),ie=n.useCallback(((e,t)=>{A&&A(e,t);const r=I?I(e,t):e.text;!t?.defaultPrevented&&r&&J.current?.setPendingText(r),q(!0)}),[A,I]),ae=n.useCallback((()=>{te(!1)}),[te]),se=n.useRef(null);n.useImperativeHandle(i,(()=>({announceText:e=>{se.current?.announceText(e)},dismissMenu:ae,focus:(e,t)=>!!J.current?.focus&&(t?(0,s.lo)(J.current):J.current.focus(),e&&Z(),!0),get isDropdownOpen(){return X.current}})),[J,ae,Z]);const le=n.useCallback((e=>{switch(e.key){case"ArrowDown":e.altKey?X.current||(Z(e),e.stopPropagation(),e.preventDefault()):X.current&&(se.current?.focusDropDown(),e.preventDefault(),e.stopPropagation());break;case"ArrowUp":e.altKey&&X.current&&(te(!1),e.stopPropagation(),e.preventDefault());break;case"ArrowLeft":case"ArrowRight":if(O&&!X.current){const t=e.currentTarget;if(0===t.selectionStart&&t.selectionEnd===t.value.length){const r="ArrowLeft"===e.key?0:t.value.length;t.setSelectionRange(r,r)}}}}),[O,Z,te]),ue=n.useCallback((e=>{X.current&&(te(!1),e.stopPropagation(),e.preventDefault())}),[te]),ce=n.useCallback(((e,t,r)=>{if("Enter"===e.key&&!X.current&&(""===t||r===t))return J.current?.cancelPendingChange(!1),Z(e),void e.stopPropagation();const n="Tab"===e.key;if(t){if(te(!0),void 0===r||r!==t){let r;if(v){const n={text:t};v(n,e),r=n.selectedItem}K(r??{name:t})}n||e.stopPropagation()}else n&&X.current&&te(!1)}),[v,K,te,Z]),de=n.useCallback((e=>{const{originalElement:t,containsFocus:r}=e;r&&(Y.current?function(e){if(!e)return;const t=(0,Tt.Y)();if(!t)return;const r=(0,s.eX)(t.body,e,!1,!1,!0,!0,!1,!1);null!==r&&(0,s.lo)(r)}(pe.current):t&&t!==(0,l.z)()&&setTimeout((()=>{t.focus?.()}),0))}),[]),pe=n.useRef(null),he=`${r}-list`,ge=(0,u.G1)(M,u.JM,["onchange","value"]);return n.createElement("div",{...ge,id:r,ref:t,className:B.root},n.createElement(yo,{ref:pe,keytipProps:P,role:"combobox","aria-expanded":U,"aria-owns":U?he:void 0,"aria-label":C,"aria-controls":U?he:void 0,"aria-autocomplete":m?"list":"none",onKeyDownCapture:le,componentRef:J,value:L?.name,buttonChecked:U,disabled:f,onButtonClick:re,onSubmit:ce,onCancel:ue,onPendingValueChanged:ee,styles:B.subComponentStyles.textFieldStyles,tabIndex:b,onRenderPrefix:y,hideFocusVisual:E,maxLength:D,iconProps:S?.dropDownButtonName?{iconName:S?.dropDownButtonName}:void 0}),U&&n.createElement(ro,{...M,id:he,iconResources:S,componentRef:se,filterText:H,target:pe,onItemClick:ne,onDismiss:ae,styles:B.subComponentStyles.dropDownStyles,onItemGotFocus:ie,onItemMouseEnter:oe,selectedKey:j?void 0:L?.key??L?.name,onRestoreFocus:de,groupStates:Q?new Map:$,stringResources:_}))}));Co.displayName="GroupedComboBoxBase";const To=(0,o.I)(Co,(e=>({root:{display:"flex",flexDirection:"row",alignItems:"center",width:e.width??160},subComponentStyles:{textFieldStyles:{root:{height:"100%"},textInput:{},prefix:{}},dropDownStyles:{}}})),void 0,{scope:"GroupedComboBox"});To.displayName="GroupedComboBox";const ko=15,Fo=272,Eo=10,Ao="__about_font";function Io(e,t,r,n,o,i,a){const{submenu:s}=e;if(!s)return;const l=[],u=[{items:l},{sortByOrder:!0,items:s.variants.map((n=>{const{name:a,displayName:s,variantKey:u,disabled:c,tooltip:d,order:p}=n,h={text:a,displayText:s,itemKey:u,icon:t?Or:void 0,data:n,tooltip:d,onRenderIcon:t?i:void 0,onRenderLabel:o,disabled:c,order:p};return t&&(n.$isPinned||r.includes(u))&&(n.$isPinned=!0,l.push(Lr(h))),n.parentKey=n.parentKey??e.fontKey,h}))}];return a&&s.showFontInfoCommand&&u.push({items:[{text:n.infoCommandLabel,itemKey:Ao,excludeFromSearch:!0,data:e,tooltip:null}]}),u}function xo(e,t,r,n,o,i,a,s){const l=e,u=!("data"in e),c=a&&Dr(e,!!r),{fontType:d,fontKey:p}=e;c&&t.includes(p)?l.$isPinned=!0:l.$isPinned&&delete l.$isPinned;const h=r||"premium"!==d;return{text:e.name,displayText:e.displayName,itemKey:e.fontKey,sections:h?Io(e,c,t,s||Ir,n,o,i):void 0,data:l,secondaryText:e.isoLanguageCode,icon:Or,onRenderIcon:c||!r||u?o:void 0,onRenderLabel:n}}function wo(e,t){if(t.length<2)return t.find((t=>t.itemKey===e));let r=0,n=t.length;for(;n>r;){const o=Math.floor((r+n)/2),i=e.localeCompare(t[o].itemKey);if(i<0)n=o;else{if(!(i>0))return t[o];r=o+1}}}function Po(e,t){const{fonts:r,individualItems:n,initialPinnedFontKeys:o=[],suggestedFontKeys:i,mruList:a=[],stringResources:s=Ir,isSubscriber:l,maximumMruEntries:u=ko,allowFontInfoPane:c=!0,allowPinning:d=!0,allFontsDefaultCollapsed:p=!0,displayFreeFontsFirstFlightEnabled:h,shouldShowSegregatedView:g}=e,{renderPreviewFontLabel:m,renderOwnFontLabel:f,renderHeaderLabel:v,renderIcon:b}=t;let y;y=h&&!l?r.sort(Ro):r.sort(((e,t)=>e.fontKey.localeCompare(t.fontKey)));const S=y.filter((e=>"organization"!==e.fontType)).map((e=>xo(e,o,l,m,b,c,d,s)));let C=a.findIndex((e=>!yr(e)));-1===C&&(C=a.length);const T=[];if(n){const e=n.map((e=>xo(e,o,l,m,b,c,d,s)));T.push(...e)}if(T.push({text:s.mruSectionLabel,groupKey:"MRU",items:a.slice(0,u+C).map((e=>function(e,t,r,n){const{name:o,mruKey:i,variantType:a,displayName:s,themeStyle:l,fontFamilyKey:u}=e,c=n&&u?wo(u,n):void 0;return{text:o,displayText:s,itemKey:i,sections:c?.sections,data:e,icon:Or,onRenderIcon:r,secondaryText:l,onRenderLabel:"missing"!==a?t:void 0,disableCheckSubItemForSelected:!0}}(e,m,b,S)))}),i&&i.length>0&&(wr(s.suggestedSectionLabel),T.push({text:s.suggestedSectionLabel,groupKey:"Suggested",items:S.filter((e=>e.itemKey&&i.includes(e.itemKey)))})),l&&d&&T.push({text:s.pinnedSectionLabel,groupKey:"Pinned",initiallyCollapsed:i&&i.length>0,items:S.filter((e=>e.itemKey&&o.includes(e.itemKey)))}),l){const e=y.filter((e=>"organization"===e.fontType));e.length>0&&(wr(s.organizationSectionLabel),T.push({text:s.organizationSectionLabel,groupKey:"Organization",initiallyCollapsed:i&&i.length>0,items:e.map((e=>xo(e,o,l,f,b,c,d,s)))}))}if(g){const e=y.filter((e=>"premium"!==e.fontType&&"organization"!==e.fontType)).map((e=>xo(e,o,l,m,b,c,d,s))),t=y.filter((e=>"premium"===e.fontType)).map((e=>xo(e,o,l,m,b,c,d,s)));T.push({text:s.freeFontsSectionLabel,groupKey:"Free",items:e,initialItemLimit:Eo}),T.push({text:s.premiumFontsSectionLabel,groupKey:"Premium",items:t,initiallyCollapsed:!1})}else T.push({text:s.allFontsSectionLabel,groupKey:"All",initiallyCollapsed:p,items:S,onRenderHeaderLabel:v});return function(e){e?.forEach((e=>{if(!Qn(e)){const{groupKey:t,items:r}=e;t&&(e.items=function(e,t){return e?.map((e=>({...e,sections:e?.sections?.map((e=>function(e,t){return{...e,items:e?.items?.map((e=>({...e,groupKey:t})))||[]}}(e,t)))||[],groupKey:t})))||[]}(r,t))}}))}(T),T}function Ro(e,t){const r="premium"===e.fontType,n="premium"===t.fontType;return r&&!n?1:n&&!r?-1:e.fontKey.localeCompare(t.fontKey)}function Do(e,t){return t.reduce(((t,r)=>(t[r]=e[r],t)),Object.create(null))}const _o=["fonts","individualItems","mruList","stringResources","isSubscriber","maximumMruEntries","initialPinnedFontKeys","suggestedFontKeys","allowFontInfoPane","allowPinning","allFontsDefaultCollapsed","displayFreeFontsFirstFlightEnabled","shouldShowSegregatedView"];function No(e){const t=e.findIndex((e=>!Qn(e)&&"Pinned"===e.groupKey));if(-1===t)throw new Error('No "Pinned" group is found in "groups"');return e[t]}function Oo(e,t){return t.items.findIndex((t=>t.itemKey===e))}function Mo(e,t,r,n,o){const i=function(e){return e.findIndex((e=>"All"===e.groupKey))}(e);if(-1===i)return null;const a=wo(r,e[i].items);if(void 0===a?.sections)return null;const s=a.sections;if(0===s.length)throw new Error("Sections is empty.");var l;let u=-1;const c=1===(l=s[s.length-1]).items.length&&l.items[0].itemKey===Ao?3:2;if(s.length>=c&&(u=Oo(Br(t),s[0])),!n(u))return null;s.length<c&&s.unshift({items:[]});const d=function(e,t){return t.find((t=>t.itemKey===e))}(t,s[1].items);if(!d)return null;o(s[0].items,d,u);const p=s.slice();a.sections=p;const h=function(e){return e.findIndex((e=>"MRU"===e.groupKey))}(e);return-1===h?null:(e[h].items.forEach((e=>{const t=e.data;Tr(t)&&t.fontFamilyKey===r&&(e.sections=p)})),p)}function Bo(e,t,r){return Mo(e,t,r,(e=>-1===e),((e,t)=>{const r=Lr(t);Rr(r,!0),function(e,t){const r=t.order??-1,n=e.findIndex((e=>{const n=e.order??-1;return r!==n?r<n:t.text.localeCompare(e.text)<0}));-1===n?e.push(t):e.splice(n,0,t)}(e,r)}))}function Lo(e,t,r){return Mo(e,t,r,(e=>-1!==e),((e,t,r)=>{Rr(t,!1),e.splice(r,1)}))}function Ko(e,t,r){const{isSubscriber:o=!1,onFontPinned:i,onFontUnpinned:a,onFontPreview:s,onFontItemFocus:l,onFontMenuBlur:u,componentRef:c,onFontSelected:d,onExploreFontsButtonClicked:p,onFontInfoRequested:h,onMenuOpened:g,onMenuDismissed:m,stringResources:f=Ir,iconResources:v,onFontChange:b,mruList:y,fonts:S,menuInitiallyOpened:C,allowFontInfoPane:T=!0,allowPinning:k=!0,mfpRemoveUnnecessaryRequestAnimationFrame:F}=e,E=n.useRef(null),A=n.useRef(!0),[I,x]=n.useState(C?Po(e,t):[]),w=function(e,t,r,o,i){const a=n.useMemo((()=>({recreateGroups:!1})),[]),s=(l=e,_o.map((e=>l[e])));var l;return n.useEffect((()=>{r.current?.isDropdownOpen?(a.recreateGroups=!1,t(Po(Do(e,_o),o))):(a.recreateGroups=!0,a.data=Do(e,_o))}),s),n.useCallback((e=>{const{recreateGroups:r,data:n}=a;r?(wr(n),t(Po(n,o)),a.recreateGroups=!1,a.data=void 0,i?.(e)):i?.(e)}),[i,t,o,a])}(e,x,E,t,g);n.useEffect((()=>()=>{A.current=!1}),[]);const P=n.useCallback((()=>{A.current&&r(!1),m?.(),u?.()}),[m,u,r]),R=n.useCallback((e=>{u?.(e)}),[u]),D=n.useCallback(((e,t)=>{const{text:r}=e,n=function(e,t,r){const n=e.toLocaleLowerCase(),o=r.find((e=>e.name.toLocaleLowerCase()===n));if(o)return o;const i=t.find((e=>e.name.toLocaleLowerCase()===n));if(i)return i;for(let e=0;e<t.length;++e){const r=t[e];if(!r.submenu)continue;const o=r.submenu.variants.find((e=>e.name.toLocaleLowerCase()===n));if(o)return o}}(r,S,y??[]);if(n){if(!o&&Sr(n)&&"premium"===n.fontType)return void h?.(n,"premium",t);e.selectedItem={name:n.name,key:(i=n,Sr(i)?i.fontKey:Cr(i)?i.variantKey:i.mruKey)},d&&(t?.persist(),window.requestAnimationFrame((()=>{d(n,t)})))}else if(b){const e=t?.key;window.requestAnimationFrame((()=>{b(r,e)}))}var i}),[S,y,b,d,h,o]),_=n.useMemo((()=>(e=>(t,r)=>{if(0===t.length)return e.noSuggestionsAnnouncement.replace("{0}",r);const n=t.filter((e=>!e.itemKey)),o=n.map((t=>e.numberOfSuggestionsInGroupAnnouncement.replace("{0}",`${t.items.length}`).replace("{1}",`${t.text}`))).join(", , ");return`${e.numberOfSuggestionsAnnouncement.replace("{0}",`${n.reduce(((e,t)=>e+t.items.length),0)}`).replace("{1}",r)}. , ${o}`})(f)),[f]),N=n.useCallback(((e,t,r,n)=>{if(Sr(e)){const{fontKey:n,fontType:s}=e;if("premium"===s&&!o)return h?.(e,"premium",r),E.current?.dismissMenu(r),!1;if(kr(e))return!0;t?(x((e=>function(e,t){const r=No(e),n=Oo(t,r);if(-1===n)return e;const o=wo(t,e[e.length-1].items);return o?(Rr(o,!1),r.items.splice(n,1),r.items=r.items.slice(),e.slice()):e}(e,n))),E.current?.announceText(f.unPinnedFontAnnouncement.replace("{0}",e.name)),a&&a(e,r)):(x((e=>function(e,t){const r=No(e);if(-1!==Oo(t,r))return e;const n=wo(t,e[e.length-1].items);if(!n)return e;const o=r.items.findIndex((e=>n.itemKey.localeCompare(e.itemKey)<=0));return-1===o?r.items.push(n):r.items.splice(o,0,n),Rr(n,!0),r.items=r.items.slice(),e.slice()}(e,n))),E.current?.announceText(f.pinnedFontAnnouncement.replace("{0}",e.name)),i&&i(e,r))}else if(Tr(e)){const{isThemeFont:t,variantType:n}=e;if(t)return h?.(e,"theme",r),E.current?.dismissMenu(r),!1;if("missing"===n||"embedded"===n||"compatible"===n)return h?.(e,n,r),E.current?.dismissMenu(r),!1}else x((r=>{wr(e.parentKey);const o=(t?Lo:Bo)(r,e.variantKey,e.parentKey);return null!==o&&(wr(n),n(o)),r})),t?(E.current?.announceText(f.unPinnedFontAnnouncement.replace("{0}",e.name)),a?.(e,r)):(E.current?.announceText(f.pinnedFontAnnouncement.replace("{0}",e.name)),i?.(e,r));return!0}),[o,h,i,a,f.pinnedFontAnnouncement,f.unPinnedFontAnnouncement]),O=n.useMemo((()=>({isSubscriber:o||!1,fontIconButtonClicked:N,stringResources:f,iconResources:v})),[o,N,f,v]);n.useImperativeHandle(c,(()=>({dismissMenu:()=>E.current?.dismissMenu(),focus:(e,t)=>E.current?.focus(e,t)||!1,get isDropdownOpen(){return E.current?.isDropdownOpen??!1}})),[]);const M=n.useCallback(((e,t)=>{const{itemKey:r,groupKey:n}=e,[i]=Pr(e);n&&(i.fontSectionName=n),!i.fontSectionName||r===Ao||!o&&Sr(i)&&"premium"===i.fontType?(i.fontSectionName?t&&no(t)&&"Tab"===t.key||(function(e){if(!Sr(e))throw new Error("data is not a IFontFamily object.")}(i),h?.(i,r===Ao?"about":"premium",t)):p?.(t),t?.preventDefault()):d&&(t?.persist(),F?d(i,t):window.requestAnimationFrame((()=>d(i,t))))}),[o,F,p,h,d]),B=n.useCallback(((e,t,r)=>{const{itemKey:n,groupKey:i}=e,[a,s]=Pr(e);if(i&&(a.fontSectionName=i),n===Ao||!Wr(a,o))return M(e,r),!1;if(Kr(Hr(e,o,!0,v))){if(!k)return M(e,r),!1}else if(!T)return M(e,r),!1;return N(a,s,r,t)}),[T,k,v,o,N,M]),L=n.useCallback(((e,t)=>{const{itemKey:n}=e;if(n!==Ao){if(e.data){if(r(!0),l){const[r]=Pr(e);l(r,t)}if(s){const[r]=Pr(e);return s(r,t)}}}else t?.preventDefault()}),[s,l,r]);return[E,I,O,w,P,R,M,B,L,D,_]}const Wo=n.forwardRef(((e,t)=>{const{isSubscriber:r,selectedFont:o,stringResources:i=Ir,iconResources:a,previewFontFamily:s,dropDownWidth:l=Fo,menuInitiallyOpened:u,styles:c,allowFontInfoPane:d=!0,allowPinning:p=!0,mfpDeferOnMenuDismissedEnabled:h,allowCaretOverrideOnKeyDown:g,...m}=e,f=e.theme||(0,v.O4)(),b="function"==typeof c?c({theme:f,width:e.width})?.subComponentStyles?.actionButtonStyles:c?.subComponentStyles?.actionButtonStyles,y=n.useMemo((()=>({renderHeaderLabel:void 0,renderIcon:Qr(r??!1,i,d,p,b),renderOwnFontLabel:Fr,renderPreviewFontLabel:e=>function(e,t){const{item:r,labelClassName:o,indicatorClassName:i,indicatorIconName:a}=e,{text:s,displayText:l,showIndicator:u,data:c}=r,d=l??s,p=c&&Tr(c)&&c.previewFontName?c.previewFontName:l?t:void 0;return n.createElement(n.Fragment,null,u&&n.createElement(F.l8,{className:i,iconName:a??"NewFont-svg"}),n.createElement("span",{className:o,style:void 0!==p?{fontFamily:p}:void 0},d))}(e,s)})),[r,i,d,p,b,s]),[S,C]=n.useState(!1),[T,k,E,A,I,x,w,P,R,D,_]=Ko(e,y,C),N=o?.isMissingFont,O=a?.missingIconInTextFieldName,M=i.missingFontTooltip,B=e.onRenderTooltip,L=n.useCallback((()=>{const e=n.createElement(F.l8,{style:Xr,iconName:O??Nr.warningInTextField,"aria-label":M??""});return B?B({mainContent:e,tooltip:M,showTooltipOnRight:!1}):n.createElement($.S,{content:M},e)}),[O,M,B]),K=n.useCallback(((e,t)=>{const[n]=Pr(e);return function(e,t,r,n,o,i){if(!n||!Wr(e,r))return e.name;const a=qr(e);let s;return o&&("theme"===a||"embedded"===a||"compatible"===a||"premium"===a&&!r)?s=t.fontOtherActionTooltip:o&&"missing"===a?s=t.fontMissingFontTooltip:i&&Dr(e,r)&&(s=t.fontPinningTooltip),s?`${e.name} \n${s}`:e.name}(n,i,r??!1,t,d,p)}),[i,r,d,p]),W=N&&!1!==r&&!S,H={showMoreButtonLabel:i.showMoreButtonLabel};return n.createElement(xr.Provider,{value:E},n.createElement(To,{...m,ref:t,componentRef:T,groupedItems:k,enableFiltering:!0,selectedItem:o,onAnnounceSearchResult:_,onMenuOpened:A,onMenuDismissed:I,onMenuLostFocus:x,onItemClick:w,onItemSecondaryAction:P,onItemPreview:R,onChange:D,onRenderTextFieldPrefix:W?L:void 0,getItemTooltip:K,iconResources:a,dropDownWidth:l,styles:c,menuInitiallyOpened:u,stringResources:H,mfpDeferOnMenuDismissedEnabled:h,allowCaretOverrideOnKeyDown:g}))}));Wo.displayName="FontPicker";var Ho=r(95583),Go=r(10191),zo=r(42745),Uo=r(71938),Vo=r(20203),jo=r(20880),qo=r(40480),$o=r(43066),Qo=r(29047),Xo=r(26423),Yo=r(5072),Jo=r(95902),Zo=r(28095);const ei={margin:"4px 8px"};var ti=r(31798);function ri(e,t){return n.createElement($o.M,null,t(e))}const ni=e=>{const{componentRef:t,fonts:r,individualItems:o,mruList:i,initialPinnedFontKeys:s,suggestedFontKeys:l,selectedFont:u,disabled:c,maximumMruEntries:p=10,previewFontFamily:h,shouldShowSegregatedView:g,hideFocusVisual:m=!0,onExecute:f,onExploreFontsButtonClicked:v,onFontFamilyPreview:b,onFontFamilyResetPreview:y,onFontPinChanged:S,onFontInfoRequested:C,isSubscriber:T,stringResources:k,iconResources:F,menuInitiallyOpened:E,id:A,styles:I,width:x,dropDownWidth:w,label:P,labelStyles:R,showLabel:D,keytipProps:_,onMenuOpen:N,onAfterMenuDismiss:O,location:M,downChevronIcon:B,downChevronIconSize:L,scrollbarWidth:K,dataAutomationType:W,directionalHintDynamic:H,icon:G,iconColor:z,maxTextLength:U,allowFontInfoPane:V,allowPinning:j,allFontsDefaultCollapsed:q,itemHeight:$,displayFreeFontsFirst:Q}=e,X=e.location!==Ho.IZ.Ribbon&&(0,Go.lj)(e)||A,{setTooltipElement:Y,updateTooltipsHidden:J}=n.useContext(In.B),[Z,ee]=n.useState(!1),te=n.useContext(In.B),{isExperimentalFeatureEnabled:re}=te,ne=!!re?.(xn.PE.isExposeMenuOpenEventForMFPEnabled),oe=n.useCallback((e=>{J?.(!0),ee(!1),N?.({id:X,location:M,event:ne?e?.nativeEvent:void 0})}),[X,M,N,J,ne]),ie=n.useCallback((()=>{J?.(!1),O?.(X)}),[O,X,J]),ae=n.useCallback(((e,t)=>{f?.({selectedFont:e,id:X,location:M,shouldTakeFocus:!(t&&"key"in t&&"Tab"===t.key),inputMethod:(0,zo.m)(t),event:t?.nativeEvent})}),[f,X,M]),se=n.useCallback((e=>{v?.({id:"ExploreFonts",inputMethod:(0,zo.m)(e),event:e?.nativeEvent})}),[v]),le=n.useCallback(((e,t)=>{f?.({selectedFont:e,id:X,location:M,shouldTakeFocus:"Tab"!==t,inputMethod:t?zo.i.Keyboard:void 0})}),[f,X,M]),ue=n.useCallback(((e,t)=>{b?.({selectedFont:e,id:X,inputMethod:(0,zo.m)(t),event:t?.nativeEvent})}),[b,X]),ce=n.useCallback((e=>{y?.({id:X,inputMethod:(0,zo.m)(e),event:e?.nativeEvent})}),[y,X]),de=n.useCallback(((e,t,r)=>{C?.({id:X,font:e,location:M,trigger:t,inputMethod:(0,zo.m)(r)})}),[C,X,M]),pe=n.useCallback(((e,t)=>{S?.({id:X,font:e,location:M,isPinned:!0,inputMethod:(0,zo.m)(t)})}),[S,X,M]),he=n.useCallback(((e,t)=>{S?.({id:X,font:e,location:M,isPinned:!1,inputMethod:(0,zo.m)(t)})}),[S,X,M]),{tooltipRef:ge}=(0,Qo.i)(`${X}-tooltip`,{label:P,direction:d.A.bottomCenter}),me=(0,Xo.l)(),fe=k?.emptySearchResultLabel,ve=n.useCallback((e=>function(e,t){if(!e)return null;if(!t)return n.createElement(Ze.E,null,e);const r=e.indexOf("{0}");if(-1===r)return n.createElement(Ze.E,null,e);const o=e.substr(0,r),i=e.substr(r+3);return n.createElement("div",{style:ei},n.createElement("span",null,o),n.createElement("strong",null,(a=t).length<=30?a:`${a.substr(0,29)}…`),n.createElement("span",null,i));var a}(fe,e)),[fe]),be=n.useMemo((()=>({...F,dropDownButtonName:(0,Uo.r)(e)})),[F,B,L]),ye=n.useCallback((e=>{const t=e?.themeStyle||i?.find((t=>t.mruKey===e.name))?.themeStyle;return t?`${e.name} (${t})`:e.name}),[i]),Se=(0,Zo._I)(I,(0,ti.C)(te)),Ce=e=>{const{tooltip:t,showTooltipOnRight:r,mainContent:o,hoverElement:i,hostClassName:s,targetElement:l}=e;return n.createElement(Yo.k,{tooltipTargetRef:l,tooltipLabel:t,tooltipId:(0,a.O)("AppFontPickerTooltip"),hoverElement:i,containerClassname:s,tooltipDirection:r?d.A.rightCenter:d.A.leftCenter,tooltipDirectionForRTL:r?d.A.leftCenter:d.A.rightCenter,setTooltipElement:Y,updateTooltipsHidden:J,isMenuComponent:!0},o)},Te=re?.(xn.PE.modernFontPickerIn1JSChangeGateEnabled)?Wo:br,ke=a=>n.createElement(Te,{id:X,"data-unique-id":(0,Go.lj)(e),"data-automation-type":W??"AppFontPicker",ref:me?void 0:ge,componentRef:t,fonts:r,individualItems:o,mruList:i,initialPinnedFontKeys:s,suggestedFontKeys:l,selectedFont:u,disabled:c,maximumMruEntries:p,previewFontFamily:h,hideFocusVisual:m,onExploreFontsButtonClicked:se,onFontChange:le,onFontSelected:ae,onFontPinned:pe,onFontUnpinned:he,onFontInfoRequested:de,onFontPreview:ye,onFontItemFocus:ue,onFontMenuBlur:ce,isSubscriber:T,shouldShowSegregatedView:g,stringResources:k,iconResources:be,onMenuDismissed:ie,onMenuOpened:oe,ariaLabel:P,menuInitiallyOpened:E,renderEmptyContent:ve,styles:Se,theme:a,width:x,onRenderTooltip:Ce,dropDownWidth:w,keytipProps:_,scrollbarWidth:K,onRenderMenu:ri,directionalHintFixed:!H,maxTextLength:U,allowFontInfoPane:V,allowPinning:j,itemHeight:$,allFontsDefaultCollapsed:q,displayFreeFontsFirstFlightEnabled:Q,mfpRemoveUnnecessaryRequestAnimationFrame:re?.(xn.PE.mfpRemoveUnnecessaryRequestAnimationFrame),mfpDeferOnMenuDismissedEnabled:re?.(xn.PE.mfpDeferOnMenuDismissedEnabled),allowCaretOverrideOnKeyDown:re?.(xn.PE.inputArrowKeyNavFixEnabled)});n.useEffect((()=>{const e=document.getElementById(X);e&&(e.onmouseover=()=>{ee(!0)},e.onkeydown=e=>{"Tab"===e.key&&ee(!0)})}),[X]);const Fe=!!G;return D||Fe?n.createElement(qo.V,null,(e=>n.createElement("div",{style:Zo.cE},n.createElement(jo.w,{type:"AppLabelProps",iconProps:Fe?(0,Vo.J)(G,z,void 0,void 0,c):void 0,forId:X,id:`${X}-label`,disabled:c,label:P,styles:(0,Zo.q4)(e,c,R)}),me?n.createElement(Jo.K,{label:P,showTooltip:!0,visible:Z},ke(e)):ke(e)))):n.createElement(qo.V,null,(e=>me?n.createElement(Jo.K,{label:P,showTooltip:!0,visible:Z},ke(e)):ke(e)))};ni.displayName="AppFontPicker";var oi=r(56021),ii=r(17297);const ai=e=>{const t=(0,ii.G)()&&!e.isMenuItem?(0,oi.xm)(e.size,e.styles):e.styles;return n.createElement(ni,{...e,dataAutomationType:"RibbonFontPicker",preventCalloutDismissOnScroll:!0,styles:t})}},81385:(e,t,r)=>{"use strict";r.d(t,{I:()=>p});var n=r(10477),o=r(55033),i=r(45263),a=r(94935),s=r(40480),l=r(16164),u=r(5240),c=r(57674);const d=n.memo((e=>{const t={...e,getTableStyling:l.iB,shouldTakeFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus};return n.createElement(u.Z,{...t})}));class p extends n.PureComponent{render(){const{columns:e,defaultWidth:t,galleryButtons:r}=this.props;return n.createElement(s.V,null,(s=>n.createElement(o.z,{...this.props,styles:(0,i.cW)(s,(0,l.Ue)()),getGalleryButtonComponent:d,defaultWidth:t||(0,a.fl)(e,l.Cr,r,void 0)})))}}p.contextType=c.B},16164:(e,t,r)=>{"use strict";r.d(t,{Cr:()=>a,Ue:()=>h,gR:()=>g,iB:()=>p});var n=r(39398),o=r(90044),i=r(31781);const a=82,s=(0,o.J9)((e=>({root:{boxSizing:"content-box",height:26,width:41,padding:0,borderTopWidth:6,borderBottomWidth:6,selectors:{":focus":{borderColor:(0,i.C)(e).galleryHoverFocusColor}}}}))),l={root:{boxSizing:"content-box",height:58,width:74,padding:0,borderWidth:4}},u={root:{height:38}},c={tableStyles:{fontSize:5,width:40},tableCellStyles:{height:4,lineHeight:4,width:5}},d={tableStyles:{fontSize:6,width:"auto",height:"auto",borderSpacing:"2px 1px"},tableCellStyles:{height:14,lineHeight:7,width:22}},p=((0,o.J9)((e=>(0,n.l8)(c,e))),(0,o.J9)((e=>(0,n.l8)(d,e)))),h=((0,o.J9)(((e,t)=>({galleryButtonInPreview:(0,n.TW)(s(e),t&&t.galleryButtonInPreview),previewExpandButton:(0,n.TW)(u,t&&t.previewExpandButton)}))),(0,o.J9)((e=>({galleryButtonInExpanded:(0,n.TW)(l,e&&e.galleryButtonInExpanded)})))),g=(0,o.J9)(((e,t)=>t||{}))},5240:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(10477),o=r(39398),i=r(36141),a=r(70783);class s extends n.PureComponent{render(){let{columns:e,tableCellStyles:t,tableStyles:r,getTableStyling:s,id:l}=this.props;void 0!==e&&0!==e||(e=5);const u=(0,i.D3)(t||new Array(e*e),e);return n.createElement(a.A,{...this.props,automationType:"RibbonTable",uniqueId:l,shouldTakeFocus:void 0===this.props.shouldTakeFocus||this.props.shouldTakeFocus},n.createElement("table",{"aria-hidden":"true",className:(0,o.Zq)(r,s&&(0,o.Zq)(s().tableStyles))},n.createElement("tbody",null,u.map(((e,t)=>n.createElement("tr",{key:`${l}-${t}-row`},e.map(((e,t)=>n.createElement("td",{key:`${l}-${t}-cell`,className:s&&(0,o.Zq)(s({tableCellStyles:e}).tableCellStyles)},this.props.tableCellContent)))))))))}}},86492:(e,t,r)=>{"use strict";r.d(t,{Fr:()=>d,Ly:()=>E,Mt:()=>I,Sd:()=>x,Tq:()=>A,VN:()=>k,u1:()=>F});var n=r(39398),o=r(90044),i=r(31781),a=r(69284),s=r(18550),l=r(45263),u=r(1915),c=r(17297);const d=76,p={padding:"2px"},h=(0,o.J9)((e=>({root:{boxSizing:"content-box",height:26,width:41,padding:(0,c.G)()?2:4,borderTopWidth:0,borderBottomWidth:0},rootFocused:p,rootChecked:{selectors:{":focus":p}},flexContainer:[{backgroundColor:(0,i.C)(e).tableGalleryBackgroundColor,color:(0,i.C)(e).tableGalleryCellColor},a.Yw]}))),g=(0,o.J9)((e=>({root:[{boxSizing:"content-box",height:41,width:60,padding:4,borderTopWidth:4,borderBottomWidth:4,borderLeftWidth:4,borderRightWidth:4}],rootDisabled:{selectors:{":hover":{boxSizing:"content-box",height:41,width:60,padding:4,borderTopWidth:4,borderBottomWidth:4,borderLeftWidth:4,borderRightWidth:4},":active":{boxSizing:"content-box",height:41,width:60,padding:4,borderTopWidth:4,borderBottomWidth:4,borderLeftWidth:4,borderRightWidth:4}}},flexContainer:{backgroundColor:(0,i.C)(e).tableGalleryBackgroundColor,color:(0,i.C)(e).tableGalleryCellColor}}))),m={root:{height:34,borderTop:"none",borderBottom:"none"}},f={root:{height:30}},v={borderCollapse:"collapse",fontWeight:"bold",tableLayout:"fixed"},b={fontSize:5,width:40},y={fontSize:6,width:60},S={overflow:"hidden",padding:"0px 1px"},C={height:4,lineHeight:4,width:5},T={height:7,lineHeight:7,width:8},k=(0,o.J9)((e=>({tableStyles:(0,n.Zq)(b,v,e&&e.tableStyles),tableCellStyles:(0,n.Zq)(C,S,e&&e.tableCellStyles)}))),F=(0,o.J9)((e=>({tableStyles:(0,n.Zq)(y,v,e&&e.tableStyles),tableCellStyles:(0,n.Zq)(T,S,e&&e.tableCellStyles)}))),E=(0,o.J9)((e=>e===s.J.Large?F:k)),A=(0,o.J9)(((e,t)=>{const r=t?.galleryContainer,o=(0,n.TW)(m,(0,c.G)()&&f,t&&t.previewExpandButton);return{...t,galleryContainer:r,previewExpandButton:o,galleryButtonInPreview:(0,n.TW)(h(e),t&&t.galleryButtonInPreview)}})),I=(0,o.J9)(((e,t)=>e===s.J.Large?(0,l.mW)(t,(0,u.QY)()):t||{})),x=(0,o.J9)(((e,t)=>({galleryButtonInExpanded:(0,n.TW)(g(e),t&&t.galleryButtonInExpanded)})))},26297:(e,t,r)=>{"use strict";r.d(t,{b:()=>B,a:()=>_});var n=r(10477),o=r(90044),i=r(71393),a=r(45263),s=r(40480),l=r(5240),u=r(86492),c=r(57674),d=r(85963),p=r(43839),h=r(74281);var g=r(24223),m=r(29784),f=r(26838),v=r(95902),b=r(55056),y=r(94406),S=r(21609),C=r(63900);const T="--1JS-ribbonTableGallery__background",k="--1JS-ribbonTableGallery__forcedColorAdjust",F=(0,b.n)({root:{fontWeight:S.k.fontWeightBold,tableLayout:"fixed",borderCollapse:"collapse",background:`var(${T})`,"forced-color-adjust":`var(${k})`,[`${C.up}`]:{...C.Yw,...C.dn}},medium:{fontSize:"5px",width:"40px",height:"22px",transform:"scaleY(0.9)"},large:{fontSize:"6px",width:"60px",height:"44px",transform:"scaleY(0.9)"}}),E=(0,b.n)({root:{overflow:"hidden",padding:"0 1px"},medium:{height:"4px",lineHeight:"4px",width:"5px"},large:{height:"7px",lineHeight:"7px",width:"8px"}}),A=e=>{if(void 0===e)return[];const t=[];for(const[r,n]of Object.entries(e)){const e=I(n);t.push(e)}return t},I=e=>{if(void 0===e)return{};const t={};for(const[r,n]of Object.entries(e))t[r.replace(/-([a-z])/g,(e=>e[1].toUpperCase()))]=n;return t},x=n.memo(n.forwardRef(((e,t)=>{const{title:r,...o}=e,i=((e,t)=>{const{columns:r,tableCellContent:o,tableCellClassNames:i,customTableStyles:a,customCellStyles:s}=e,l=(0,h.N)({...e},t);l.label=e.label,l.customTooltip=e.customTooltip,l.showTooltip=e.showTooltip??!0,l.hideLabel=e.hideLabel;const u=p.Gk(e.table,{defaultProps:{"aria-hidden":!0},elementType:"table"}),c=p.Gk(e.tableBody,{elementType:"tbody"}),d=p.Gk(e.tableRow,{elementType:"tr"}),g=p.Gk(e.tableCell,{defaultProps:{children:o},elementType:"td"});l.columns=r&&r>0?r:5;const m=s??i;var f,v;return l.customTableStyles=a,l.tableCellCustomStyles=(f=m??new Array(l.columns*l.columns),v=l.columns,(0,n.useCallback)((e=>e.reduce(((e,t,r)=>(r%v==0?e.push([t]):e[e.length-1].push(t),e)),[])),[v])(f)),{...l,components:{...l.components,table:"table",tableBody:"tbody",tableRow:"tr",tableCell:"td"},table:u,tableBody:c,tableRow:d,tableCell:g}})({...o,tableCellContent:_,label:e.label??e.title,ariaLabel:e.label??e.title,shouldTakeFocus:e.shouldTakeFocus??!0,customCellStyles:A(e.tableCellStyles),customTableStyles:I(e.tableStyles)},t);return(e=>{const t=E(),r=(e=>{const t=F();return e.root.style={...e.root.style,[T]:e.customTableStyles?.background,[k]:e.customTableStyles?.forcedColorAdjust},t})(e);e.table.className=(0,f.z)(r.root,"large"===e.size?r.large:r.medium,e.table.className),e.tableCell.className=(0,f.z)(t.root,"large"===e.size?t.large:t.medium,e.tableCell.className),(0,y.n)(e)})(i),(e=>{(0,m.C)(e);const{id:t,tableCellCustomStyles:r}=e,n=e.tableCell.className;return(0,g.Y)(e.root,{children:(0,g.Y)(v.K,{...e,children:(0,g.Y)(e.table,{children:(0,g.Y)(e.tableBody,{children:r.map(((r,o)=>(0,g.Y)(e.tableRow,{children:r.map(((r,i)=>("string"==typeof r?e.tableCell.className=(0,f.z)(n,r):e.tableCell.style={...e.tableCell.style,backgroundColor:r?.backgroundColor,color:r?.color,borderRight:r?.borderRight,borderBottom:r?.borderBottom,borderTop:r?.borderTop,borderLeft:r?.borderLeft,overflow:r?.overflow},(0,g.Y)(e.tableCell,{},`${t}--${o}-row--${i}-cell`))))},`${t}-${o}-row`)))})})})})})(i)})));x.displayName="next/RibbonPreviewTableStylesGalleryButton";var w=r(67547),P=r(64464),R=r(75451);const D=n.memo(n.forwardRef(((e,t)=>{const r={...e,getGalleryButtonComponent:x,onGalleryButtonExecute:e.onGalleryButtonExecute,automationType:"RibbonPreviewTableStylesGallery",uniqueId:e.id,persistMenu:!0},n=(0,w.r)(r,t);return(0,P.v)(n),(0,R.W)(n)})));D.displayName="next/RibbonTableStylesPreviewGallery";const _="—",N=(0,o.J9)((e=>n.memo((t=>{const r={...t,tableCellContent:_,getTableStyling:e||u.VN};return n.createElement(l.Z,{...r,title:void 0,label:t.title,ariaLabel:t.title,shouldTakeFocus:void 0===t.shouldTakeFocus||t.shouldTakeFocus})}))));class O extends i.Q{}class M extends n.PureComponent{render(){return n.createElement(s.V,null,(e=>n.createElement(O,{...this.props,styles:(0,a.cW)(e,(0,u.Tq)(e,this.props.styles)),getGalleryButtonComponent:N(this.props.getTableStyling),onGalleryButtonExecute:this.props.onGalleryButtonExecute,automationType:"RibbonPreviewTableStylesGallery",uniqueId:this.props.id,persistMenu:!0})))}}const B=n.forwardRef(((e,t)=>(()=>{const e=n.useContext(c.B);return(0,d.i2)(e,d.PE.fluentV9TableStylesPreviewGalleryIsEnabled)})()?n.createElement(D,{ref:t,...e}):n.createElement(M,{ref:t,...e})))},75497:(e,t,r)=>{"use strict";r.d(t,{J:()=>a});var n=r(10477),o=r(57674),i=r(85963);const a=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.fluentV9RibbonIconPreviewGalleryIsEnabled)}},1915:(e,t,r)=>{"use strict";r.d(t,{QY:()=>u,ht:()=>c});var n=r(39398),o=r(90044),i=r(75497),a=r(17297);const s={root:{height:60,width:76,boxSizing:"border-box",borderRadius:"unset"}},l={root:{padding:4},rootCheckedHovered:{padding:4},rootHovered:{padding:4}},u=(0,o.J9)((()=>({galleryContainer:{root:{height:62}},galleryButtonInPreview:(0,n.l8)(s,(0,a.G)()&&l),galleryButtonInExpanded:s,previewExpandButton:{root:{height:60,width:16},icon:{width:8,height:8,lineHeight:8}}}))),c=(0,o.J9)((()=>{const e=(0,i.J)();return{galleryButtonInPreview:{root:{maxWidth:240,backgroundColor:"transparent",height:e?"22px":"30px",width:e?"140px":"148px"},flexContainer:{flexWrap:"row nowrap",justifyContent:"start",alignItems:"center",fontSize:12}},previewStackStyle:{inner:{width:444}}}}))},43881:(e,t,r)=>{"use strict";r.d(t,{q:()=>K});var n=r(10477),o=r(73725),i=r(54029),a=r(70361),s=r(61894),l=r(94552),u=r(93643),c=r(21160),d=r(30838),p=r(50550),h=r(83082),g=r(72341),m=r(63874),f=r(24011),v=r(82015),b=r(20508),y=(0,p.Z)(),S=function(e){return function(t){var r;return(r={})[e]="".concat(t,"%"),r}},C=function(e,t,r){return r===t?0:(e-t)/(r-t)*100},T=n.forwardRef((function(e,t){var r=function(e,t){var r=e.step,o=void 0===r?1:r,a=e.className,s=e.disabled,p=void 0!==s&&s,T=e.label,k=e.max,F=void 0===k?10:k,E=e.min,A=void 0===E?0:E,I=e.showValue,x=void 0===I||I,w=e.buttonProps,P=void 0===w?{}:w,R=e.vertical,D=void 0!==R&&R,_=e.snapToStep,N=e.valueFormat,O=e.styles,M=e.theme,B=e.originFromZero,L=e["aria-labelledby"],K=e.ariaLabel,W=void 0===K?e["aria-label"]:K,H=e.ranged,G=e.onChange,z=e.onChanged,U=n.useRef([]),V=(0,l.j)(),j=V.setTimeout,q=V.clearTimeout,$=n.useRef(null),Q=(0,b.bX)(),X=(0,u.k)(e.value,e.defaultValue,(function(e,t){return null==G?void 0:G(t,H?[oe.latestLowerValue,t]:void 0,e)})),Y=X[0],J=X[1],Z=(0,u.k)(e.lowerValue,e.defaultLowerValue,(function(e,t){return null==G?void 0:G(oe.latestValue,[t,oe.latestValue],e)})),ee=Z[0],te=Z[1],re=Math.max(A,Math.min(F,Y||0)),ne=Math.max(A,Math.min(re,ee||0)),oe=(0,c.d)({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:re,latestLowerValue:ne});oe.latestValue=re,oe.latestLowerValue=ne;var ie=(0,d.B)("Slider",e.id||(null==P?void 0:P.id)),ae=y(O,{className:a,disabled:p,vertical:D,showTransitions:!_&&!oe.isBetweenSteps,showValue:x,ranged:H,theme:M}),se=(F-A)/o,le=function(){q(oe.onKeyDownTimer),oe.onKeyDownTimer=-1},ue=function(e){le(),z&&(oe.onKeyDownTimer=j((function(){z(e,oe.latestValue,H?[oe.latestLowerValue,oe.latestValue]:void 0)}),1e3))},ce=function(t){var r=e.ariaValueText;if(void 0!==t)return r?r(t):t.toString()},de=function(e,t,r){t=Math.min(F,Math.max(A,t)),r=void 0!==r?Math.min(F,Math.max(A,r)):void 0;var n=0;if(isFinite(o))for(;Math.round(o*Math.pow(10,n))/Math.pow(10,n)!==o;)n++;var i=parseFloat(t.toFixed(n));oe.isBetweenSteps=void 0!==r&&r!==i,H?oe.isAdjustingLowerValue&&(B?i<=0:i<=oe.latestValue)?te(i,e):!oe.isAdjustingLowerValue&&(B?i>=0:i>=oe.latestLowerValue)&&J(i,e):J(i,e)},pe=function(e,t){var r=0;switch(e.type){case"mousedown":case"mousemove":r=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":r=t?e.touches[0].clientY:e.touches[0].clientX}return r},he=function(t){var r,n=$.current.getBoundingClientRect(),o=(e.vertical?n.height:n.width)/se;if(e.vertical){var i=pe(t,e.vertical);r=(n.bottom-i)/o}else{var a=pe(t,e.vertical);r=((0,h.jI)(e.theme)?n.right-a:a-n.left)/o}return r},ge=function(e,t){var r=he(e),n=A+o*r,i=A+o*Math.round(r);de(e,i,n),t||(e.preventDefault(),e.stopPropagation())},me=function(e){if(H){var t=he(e),r=A+o*t;oe.isAdjustingLowerValue=r<=oe.latestLowerValue||r-oe.latestLowerValue<=oe.latestValue-r}"mousedown"===e.type?U.current.push((0,m.on)(Q,"mousemove",ge,!0),(0,m.on)(Q,"mouseup",fe,!0)):"touchstart"===e.type&&U.current.push((0,m.on)(Q,"touchmove",ge,!0),(0,m.on)(Q,"touchend",fe,!0)),ge(e,!0)},fe=function(e){oe.isBetweenSteps=void 0,null==z||z(e,oe.latestValue,H?[oe.latestLowerValue,oe.latestValue]:void 0),ve()},ve=n.useCallback((function(){U.current.forEach((function(e){return e()})),U.current=[]}),[]);n.useEffect((function(){return ve}),[ve]);var be=n.useRef(null),ye=n.useRef(null),Se=n.useRef(null);!function(e,t,r,o){n.useImperativeHandle(e.componentRef,(function(){return{get value(){return r},get range(){return o},focus:function(){var e;null===(e=t.current)||void 0===e||e.focus()}}}),[o,t,r])}(e,Se,re,H?[ne,re]:void 0);var Ce=S(D?"bottom":(0,h.jI)(e.theme)?"right":"left"),Te=S(D?"height":"width"),ke=B?0:A,Fe=C(re,A,F),Ee=C(ne,A,F),Ae=C(ke,A,F),Ie=H?Fe-Ee:Math.abs(Ae-Fe),xe=Math.min(100-Fe,100-Ae),we=H?Ee:Math.min(Fe,Ae),Pe={className:ae.root,ref:t},Re={className:ae.titleLabel,children:T,disabled:p,htmlFor:W?void 0:ie},De=x?{className:ae.valueLabel,children:N?N(re):re,disabled:p,htmlFor:p?ie:void 0}:void 0,_e=H&&x?{className:ae.valueLabel,children:N?N(ne):ne,disabled:p}:void 0,Ne=B?{className:ae.zeroTick,style:Ce(Ae)}:void 0,Oe={className:(0,f.A)(ae.lineContainer,ae.activeSection),style:Te(Ie)},Me={className:(0,f.A)(ae.lineContainer,ae.inactiveSection),style:Te(xe)},Be={className:(0,f.A)(ae.lineContainer,ae.inactiveSection),style:Te(we)},Le=(0,i.Cl)({"aria-disabled":p,role:"slider",tabIndex:p?void 0:0},{"data-is-focusable":!p}),Ke=(0,i.Cl)((0,i.Cl)((0,i.Cl)({id:ie,className:(0,f.A)(ae.slideBox,P.className),ref:Se},!p&&{onMouseDown:me,onTouchStart:me,onKeyDown:function(t){var r=oe.isAdjustingLowerValue?oe.latestLowerValue:oe.latestValue,n=0;switch(t.which){case(0,h.SM)(g.c.left,e.theme):case g.c.down:n=-o,le(),ue(t);break;case(0,h.SM)(g.c.right,e.theme):case g.c.up:n=o,le(),ue(t);break;case g.c.home:r=A,le(),ue(t);break;case g.c.end:r=F,le(),ue(t);break;default:return}de(t,r+n),t.preventDefault(),t.stopPropagation()}}),P&&(0,v.G1)(P,v.JM,["id","className"])),!H&&(0,i.Cl)((0,i.Cl)({},Le),{"aria-valuemin":A,"aria-valuemax":F,"aria-valuenow":re,"aria-valuetext":ce(re),"aria-label":W||T,"aria-labelledby":L})),We=p?{}:{onFocus:function(e){oe.isAdjustingLowerValue=e.target===be.current}},He=(0,i.Cl)({ref:ye,className:ae.thumb,style:Ce(Fe)},H&&(0,i.Cl)((0,i.Cl)((0,i.Cl)({},Le),We),{id:"max-".concat(ie),"aria-valuemin":ne,"aria-valuemax":F,"aria-valuenow":re,"aria-valuetext":ce(re),"aria-label":"max ".concat(W||T)})),Ge=H?(0,i.Cl)((0,i.Cl)((0,i.Cl)({ref:be,className:ae.thumb,style:Ce(Ee)},Le),We),{id:"min-".concat(ie),"aria-valuemin":A,"aria-valuemax":re,"aria-valuenow":ne,"aria-valuetext":ce(ne),"aria-label":"min ".concat(W||T)}):void 0;return{root:Pe,label:Re,sliderBox:Ke,container:{className:ae.container},valueLabel:De,lowerValueLabel:_e,thumb:He,lowerValueThumb:Ge,zeroTick:Ne,activeTrack:Oe,topInactiveTrack:Me,bottomInactiveTrack:Be,sliderLine:{ref:$,className:ae.line}}}(e,t);return n.createElement("div",(0,i.Cl)({},r.root),r&&n.createElement(s.J,(0,i.Cl)({},r.label)),n.createElement("div",(0,i.Cl)({},r.container),e.ranged&&(e.vertical?r.valueLabel&&n.createElement(s.J,(0,i.Cl)({},r.valueLabel)):r.lowerValueLabel&&n.createElement(s.J,(0,i.Cl)({},r.lowerValueLabel))),n.createElement("div",(0,i.Cl)({},r.sliderBox),n.createElement("div",(0,i.Cl)({},r.sliderLine),e.ranged&&n.createElement("span",(0,i.Cl)({},r.lowerValueThumb)),n.createElement("span",(0,i.Cl)({},r.thumb)),r.zeroTick&&n.createElement("span",(0,i.Cl)({},r.zeroTick)),n.createElement("span",(0,i.Cl)({},r.bottomInactiveTrack)),n.createElement("span",(0,i.Cl)({},r.activeTrack)),n.createElement("span",(0,i.Cl)({},r.topInactiveTrack)))),e.ranged&&e.vertical?r.lowerValueLabel&&n.createElement(s.J,(0,i.Cl)({},r.lowerValueLabel)):r.valueLabel&&n.createElement(s.J,(0,i.Cl)({},r.valueLabel))),n.createElement(a.MO,null))}));T.displayName="SliderBase";var k=r(39398),F={root:"ms-Slider",enabled:"ms-Slider-enabled",disabled:"ms-Slider-disabled",row:"ms-Slider-row",column:"ms-Slider-column",container:"ms-Slider-container",slideBox:"ms-Slider-slideBox",line:"ms-Slider-line",thumb:"ms-Slider-thumb",activeSection:"ms-Slider-active",inactiveSection:"ms-Slider-inactive",valueLabel:"ms-Slider-value",showValue:"ms-Slider-showValue",showTransitions:"ms-Slider-showTransitions",zeroTick:"ms-Slider-zeroTick"},E=(0,o.I)(T,(function(e){var t,r,n,o,a,s,l,u,c,d,p,g,m,f=e.className,v=e.titleLabelClassName,b=e.theme,y=e.vertical,S=e.disabled,C=e.showTransitions,T=e.showValue,E=e.ranged,A=b.semanticColors,I=b.palette,x=(0,k.Km)(F,b),w=A.inputBackgroundCheckedHovered,P=A.inputBackgroundChecked,R=I.neutralSecondaryAlt,D=I.neutralPrimary,_=I.neutralSecondaryAlt,N=A.disabledText,O=A.disabledBackground,M=A.inputBackground,B=A.smallInputBorder,L=A.disabledBorder,K=!S&&{backgroundColor:w,selectors:(t={},t[k.up]={backgroundColor:"Highlight"},t)},W=!S&&{backgroundColor:R,selectors:(r={},r[k.up]={borderColor:"Highlight"},r)},H=!S&&{backgroundColor:P,selectors:(n={},n[k.up]={backgroundColor:"Highlight"},n)},G=!S&&{border:"2px solid ".concat(w),selectors:(o={},o[k.up]={borderColor:"Highlight"},o)},z=!e.disabled&&{backgroundColor:A.inputPlaceholderBackgroundChecked,selectors:(a={},a[k.up]={backgroundColor:"Highlight"},a)};return{root:(0,i.fX)((0,i.fX)((0,i.fX)((0,i.fX)((0,i.fX)([x.root,b.fonts.medium,{userSelect:"none"},y&&{marginRight:8}],[S?void 0:x.enabled],!1),[S?x.disabled:void 0],!1),[y?void 0:x.row],!1),[y?x.column:void 0],!1),[f],!1),titleLabel:[{padding:0},v],container:[x.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},y&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:(0,i.fX)((0,i.fX)([x.slideBox,!E&&(0,k.gm)(b),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(s={},s[":active .".concat(x.activeSection)]=K,s[":hover .".concat(x.activeSection)]=H,s[":active .".concat(x.inactiveSection)]=W,s[":hover .".concat(x.inactiveSection)]=W,s[":active .".concat(x.thumb)]=G,s[":hover .".concat(x.thumb)]=G,s[":active .".concat(x.zeroTick)]=z,s[":hover .".concat(x.zeroTick)]=z,s[k.up]={forcedColorAdjust:"none"},s)},y?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[T?x.showValue:void 0],!1),[C?x.showTransitions:void 0],!1),thumb:[x.thumb,E&&(0,k.gm)(b,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:B,borderRadius:10,boxSizing:"border-box",background:M,display:"block",width:16,height:16,position:"absolute"},y?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:(0,h.jI)(b)?"translateX(50%)":"translateX(-50%)"},C&&{transition:"left ".concat(k.cs.durationValue3," ").concat(k.cs.easeFunction1)},S&&{borderColor:L,selectors:(l={},l[k.up]={borderColor:"GrayText"},l)}],line:[x.line,{display:"flex",position:"relative"},y?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},y?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[x.activeSection,{background:D,selectors:(u={},u[k.up]={backgroundColor:"WindowText"},u)},C&&{transition:"width ".concat(k.cs.durationValue3," ").concat(k.cs.easeFunction1)},S&&{background:N,selectors:(c={},c[k.up]={backgroundColor:"GrayText",borderColor:"GrayText"},c)}],inactiveSection:[x.inactiveSection,{background:_,selectors:(d={},d[k.up]={border:"1px solid WindowText"},d)},C&&{transition:"width ".concat(k.cs.durationValue3," ").concat(k.cs.easeFunction1)},S&&{background:O,selectors:(p={},p[k.up]={borderColor:"GrayText"},p)}],zeroTick:[x.zeroTick,{position:"absolute",background:A.disabledBorder,selectors:(g={},g[k.up]={backgroundColor:"WindowText"},g)},e.disabled&&{background:A.disabledBackground,selectors:(m={},m[k.up]={backgroundColor:"GrayText"},m)},e.vertical?{width:"16px",height:"1px",transform:(0,h.jI)(b)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[x.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},y?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}}),void 0,{scope:"Slider"}),A=r(10191),I=r(57674),x=r(40480),w=r(23162),P=r(90044),R=r(74445),D=r(85631),_=r(31781),N=r(69284),O=r(94839);const M=(0,P.J9)(((e,t)=>{const r=R.Z.controlHeight;return(0,k.l8)({root:[D.AT,{display:"flex",width:300,textAlign:"center",height:r}],text:[D.Mb,{flex:"0 1 0px",lineHeight:r,fontSize:12,padding:"0 3px",color:e?"#C8C8C8":void 0}]},t)})),B=(0,P.J9)(((e,t)=>{const r=R.Z.controlHeight,n=(0,_.C)(e),o={root:{flex:"1 0 0px",display:"grid",height:r},slideBox:{selectors:{[`${N.iZ}`]:[(0,O.B)({width:2,color:n.focusedBorderColor,gap:0}),{outline:"transparent"}]}}};return(0,k.TW)(o,t?.slider)}));class L extends n.PureComponent{componentDidMount(){this.initializeTooltipHost()}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){this.props.customTooltip&&e.customTooltip!==this.props.customTooltip&&(this.tooltipHost?this.tooltipHost.updateTooltip(this.props.customTooltip):this.initializeTooltipHost())}initializeTooltipHost(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&this.props.customTooltip&&(this.tooltipHost=new w.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.wrapperRef.current,controlId:this.props.id,controlLabel:this.props.customTooltip,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions())}render(){const{label:e,disabled:t,min:r,max:o,value:i,step:a,text:s,styles:l,snapToStep:u}=this.props,c=M(t,l);return n.createElement("div",{className:c.root,ref:this.wrapperRef,"data-automation-type":this.props.dataAutomationType||"AppSlider","data-unique-id":(0,A.lj)(this.props)},n.createElement(x.V,null,(l=>n.createElement(n.Fragment,null,n.createElement(E,{onChange:this.onExecute,onChanged:this.onChanged,disabled:t,showValue:!1,min:r,max:o,value:Math.floor(i),step:a,styles:B(l,this.props.styles),"aria-label":s?`${e} ${s}`:e,snapToStep:u}),s?n.createElement("span",{unselectable:"on",className:c.text},s):null))))}constructor(){super(...arguments),this.wrapperRef=n.createRef(),this.onExecute=e=>{if(this.props.onExecute){const{id:t,location:r}=this.props;this.props.onExecute({id:t,value:e,location:r})}},this.onChanged=(e,t)=>{if(this.props.onChanged){const{id:e,location:r}=this.props;this.props.onChanged({id:e,value:t,location:r})}}}}L.contextType=I.B;class K extends n.PureComponent{render(){return n.createElement(L,{...this.props,dataAutomationType:"RibbonSlider"})}}},77372:(e,t,r)=>{"use strict";r.d(t,{X:()=>be});var n=r(10477),o=r(39398),i=r(340),a=r(24223),s=r(29784),l=r(68541),u=r(41292),c=r(1290),d=r(95902);var p=r(6813),h=r(2483),g=r(27927),m=r(39850),f=r(56662),v=r(43839),b=r(82502),y=r(58352),S=r(85152);function C(e,t,r=10){const n=Math.pow(r,t);return Math.round(e*n)/n}const T=(e,t,r)=>void 0!==t&&e===t?r===t?"both":"min":void 0!==r&&e===r?"max":"none",k=(e,t,r)=>{let n=e;if(void 0!==t){if(void 0!==r&&t>r)return new Error,e;n=Math.max(t,n)}return void 0!==r&&(n=Math.min(r,n)),n};var F=r(95629);const E=(0,F.U)("ChevronDown16Regular","16",["M3.15 5.65c.2-.2.5-.2.7 0L8 9.79l4.15-4.14a.5.5 0 0 1 .7.7l-4.5 4.5a.5.5 0 0 1-.7 0l-4.5-4.5a.5.5 0 0 1 0-.7Z"]),A=(0,F.U)("ChevronUp16Regular","16",["M3.15 10.35c.2.2.5.2.7 0L8 6.21l4.15 4.14a.5.5 0 0 0 .7-.7l-4.5-4.5a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 0 0 0 .7Z"]);var I=r(84632);var x=r(10191),w=r(58261),P=r(51641),R=r(68075),D=r(69287),_=r(77675),N=r(26838);const O="fui-SpinButton",M="fui-SpinButton__input",B="fui-SpinButton__incrementButton",L="fui-SpinButton__decrementButton",K="fui-SpinButton__button_active",W=(0,D.y)("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),H=(0,_.X)({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Cffpyd:"flb8es4",hxi8he:["f1lclws","frjp63v"],Bcuq369:"f1yv9wnt",Imo2if:["frjp63v","f1lclws"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.flb8es4::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lclws::before{border-right-color:GrayText;}.frjp63v::before{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1yv9wnt::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),G=(0,D.y)("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),z=(0,_.X)({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),U=(0,D.y)("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),V=(0,_.X)({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]});function j({value:e,unit:t}){return Math.abs(Math.round((e-t.minValue)/t.step))-1}function q({reservedValue:e,validReservedValues:t,unit:r}){const n=t.indexOf(e)+1;return r.minValue-r.step*n}var $=r(9571);var Q=r(19094),X=r(10656);const Y=(e,t)=>{const{size:r}=e,o=(0,X.d)(r),i=((e,t)=>{const{dataNav:r,id:o,customTooltip:i}=e,a=(0,x.lj)(e),s=(0,p.Bi)("input"),l=(0,p.Bi)("label"),u=(0,P.b)({...e,deriveKeytip:Q.U_},t,"AppInput"),c=function(e){const{id:t,unitType:r,validUnits:o,numberFormatInfo:i,incrementAriaLabel:a,decrementAriaLabel:s,validReservedValues:l,reservedValue:u,location:c,value:d,customNormalizeValue:p,onExecute:h}=e,g=n.useRef(null),m=(0,R.FT)(r,o),f=n.useMemo((()=>void 0===l?m?.minValue:void 0===m?void 0:m.minValue-l.length*m.step),[m,l]),[v,b]=n.useState((()=>(0,R.XO)(null===d?$.E:d,r,o,i,u)));return n.useEffect((()=>{const e=(0,R.XO)(null===d?$.E:d,r,o,i,u);b(e),g.current=d}),[i,u,r,o,d]),{...e,incrementButton:{"aria-label":a},decrementButton:{"aria-label":s},"aria-setsize":e.setSize,"aria-posinset":e.positionInSet,displayValue:v,max:m?.maxValue,min:f,precision:i.numberDecimalDigits,step:m?.step,value:isNaN(d)?null:d,onChange:(0,y.p)(e.onChange,((e,n)=>{let a,s=void 0===n.value||null===n.value?$.E:n.value;if((e.nativeEvent instanceof KeyboardEvent&&e.nativeEvent.key===S.xyI||"blur"===e.type)&&n.displayValue){const e=n.displayValue.trim();if(l&&(a=(0,R.RF)(e,l),a&&m&&(s=q({reservedValue:a,validReservedValues:l,unit:m}))),void 0===a){const{value:t,unit:n}=(0,R.vH)(e,o,i,r);if(n&&(0,R.Wm)(t,n))s=t;else if(l&&f&&n&&t>=f){const e=j({value:t,unit:n});e>=0&&e<l.length&&(a=l[e],s=q({reservedValue:a,validReservedValues:l,unit:n}))}}if(s===$.E&&(s=null===g.current?$.E:g.current,l&&s&&m&&!(0,R.Wm)(s,m))){const e=j({value:s,unit:m});a=l[e]}}else if(s&&m){if(l&&s<m.minValue){const e=j({value:s,unit:m});e>=0&&e<l.length?a=l[e]:s=m.minValue}else{let t=!1;const r=(e=>{if(!(e.target instanceof HTMLElement))return;let t=e.target;if(e.nativeEvent instanceof KeyboardEvent&&t.className.includes(M))return M;for(let e=0;e<3;e++){if(t.className.includes(B))return B;if(t.className.includes(L))return L;if(t.className.includes(O)||null==t.parentElement)return;t=t.parentElement}})(e);t=r===M?e.nativeEvent instanceof KeyboardEvent&&e.nativeEvent.key===S.DoI:r===B||r!==L&&null!=n?.value&&n.value>d,s=(0,R.I5)(d,m,t,i,p)}void 0===a&&p&&s&&(s=p(s,m))}const u=(0,R.XO)(s,r,o,i,a);h?.({id:t,unitType:r,value:s,reservedValue:a,shouldTakeFocus:!1,location:c}),g.current=s===$.E?null:s,b(u)})),onKeyDown:t=>{t.key===S.xyI&&t.preventDefault(),e.onKeyDown?.(t)}}}(e),d=((e,t)=>{e=(0,h.c)(e,{supportsLabelFor:!0,supportsRequired:!0});const r=(0,g.n)({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","size","value"]}),o=(0,I.Pv)();var i;const{value:a,displayValue:s,defaultValue:l,min:u,max:c,step:d=1,stepPage:p=1,precision:F,onChange:x,size:w="medium",appearance:P=(null!==(i=o.inputDefaultAppearance)&&void 0!==i?i:"outline"),root:R,input:D,incrementButton:_,decrementButton:N}=e,O=n.useMemo((()=>null!=F?F:Math.max(function(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}(d),0)),[F,d]),[M,B]=(0,m.i)({state:a,defaultState:l,initialState:0}),L=n.useRef(null),K=void 0!==a,[W,H]=n.useState(void 0),[G,z]=n.useState("rest"),U=n.useRef({value:M,spinState:"rest",spinTime:0,spinDelay:150,atBound:null!==M?T(C(M,O),u,c):"none"}),[V,j]=(0,f.Z)(),q=(e,t,r)=>{let n=U.current.value;if(r){const e=parseFloat(r);isNaN(e)||(n=e)}const o=n,i="up"===t||"upPage"===t?1:-1,a="upPage"===t||"downPage"===t?p:d;if(null===o){const t=k((void 0===u?0:u)+a*i,u,c);return void X(e,t)}let s=o+a*i;Number.isNaN(s)||(s=k(s,u,c)),X(e,s),"rest"!==U.current.spinState&&V((()=>{U.current.spinTime+=U.current.spinDelay,U.current.spinDelay=150+U.current.spinTime/1e3*-70,q(e,t)}),U.current.spinDelay)},$=e=>{U.current.previousTextValue||(U.current.previousTextValue=null!=W?W:String(M));const t=e.target.value;H(t),L.current&&(L.current.ariaValueNow=t)},Q=e=>{j(),U.current.spinState="rest",U.current.spinDelay=150,U.current.spinTime=0},X=(e,t,r)=>{const n=void 0!==t&&M!==t,o=void 0!==r&&void 0!==U.current.previousTextValue&&U.current.previousTextValue!==r;let i;if(n)i=C(t,O),B(i),U.current.value=i;else if(o&&!K){const e=parseFloat(r);isNaN(e)||(B(C(e,O)),U.current.value=C(e,O))}(n||o)&&(null==x||x(e,{value:i,displayValue:r})),H(void 0)};let Y;if(void 0!==W)Y=W;else if(null===a||null===M)Y=null!=s?s:"",U.current.value=null,U.current.atBound="none";else{const e=C(M,O);U.current.value=e,U.current.atBound=T(e,u,c),Y=K&&null!=s?s:String(e)}const J={size:w,appearance:P,spinState:G,atBound:U.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:v.Gk(R,{defaultProps:r.root,elementType:"span"}),input:v.Gk(D,{defaultProps:{autoComplete:"off",role:"spinbutton",appearance:P,type:"text",...r.primary},elementType:"input"}),incrementButton:v.Gk(_,{defaultProps:{tabIndex:-1,children:n.createElement(A,null),disabled:r.primary.disabled||"max"===U.current.atBound||"both"===U.current.atBound,"aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:v.Gk(N,{defaultProps:{tabIndex:-1,children:n.createElement(E,null),disabled:r.primary.disabled||"min"===U.current.atBound||"both"===U.current.atBound,"aria-label":"Decrement value",type:"button"},elementType:"button"})};var Z,ee;return J.input.value=Y,J.input.ref=(0,b.a)(L,t),J.input["aria-valuemin"]=u,J.input["aria-valuemax"]=c,J.input["aria-valuenow"]=null!==(Z=U.current.value)&&void 0!==Z?Z:void 0,J.input["aria-valuetext"]=null!==(ee=J.input["aria-valuetext"])&&void 0!==ee?ee:void 0!==a&&s||void 0,J.input.onChange=(0,y.p)(J.input.onChange,$),J.input.onInput=(0,y.p)(J.input.onInput,$),J.input.onBlur=(0,y.p)(J.input.onBlur,(e=>{X(e,M,W),U.current.previousTextValue=void 0})),J.input.onKeyDown=(0,y.p)(J.input.onKeyDown,(e=>{let t="rest";e.key===S.DoI?(q(e,"up",W),t="up"):e.key===S.yd$?(q(e,"down",W),t="down"):e.key===S.j0c?(e.preventDefault(),q(e,"upPage",W),t="up"):e.key===S.e5x?(e.preventDefault(),q(e,"downPage",W),t="down"):e.shiftKey||e.key!==S.ww0||void 0===u?e.shiftKey||e.key!==S.oam||void 0===c?e.key===S.xyI?(X(e,M,W),U.current.previousTextValue=void 0):e.key===S.uf9&&U.current.previousTextValue&&(H(void 0),U.current.previousTextValue=void 0):(X(e,c),t="up"):(X(e,u),t="down"),G!==t&&z(t)})),J.input.onKeyUp=(0,y.p)(J.input.onKeyUp,(e=>{"rest"!==G&&(z("rest"),U.current.spinState="rest")})),J.incrementButton.onMouseDown=(0,y.p)((e=>{X(e,M,W),U.current.spinState="up",q(e,"up")}),J.incrementButton.onMouseDown),J.incrementButton.onMouseUp=(0,y.p)(J.incrementButton.onMouseUp,Q),J.incrementButton.onMouseLeave=(0,y.p)(J.incrementButton.onMouseLeave,Q),J.decrementButton.onMouseDown=(0,y.p)((e=>{X(e,M,W),U.current.spinState="down",q(e,"down")}),J.decrementButton.onMouseDown),J.decrementButton.onMouseUp=(0,y.p)(J.decrementButton.onMouseUp,Q),J.decrementButton.onMouseLeave=(0,y.p)(J.decrementButton.onMouseLeave,Q),J})(c,u),{ariaDescriptionId:F,ariaDescriptionElement:D}=(0,w.Z)(o,i);return d.input["aria-describedby"]=D&&F,{...e,...d,ariaDescriptionElement:D,dataNav:r,inputId:s,labelId:l,uniqueId:a}})({...e,size:o},t);return i.labelSize=o,i};var J=r(55056),Z=r(21609),ee=r(63900);const te=(0,J.n)({container:{display:"flex",alignItems:"center"},vertical:{flexDirection:"column"},labelBefore:{marginRight:Z.k.spacingHorizontalMNudge},labelAfter:{marginLeft:Z.k.spacingHorizontalMNudge},root:{boxSizing:"border-box",width:"70px",[`${ee.up}`]:{":focus-within":{outlineColor:"Highlight"}}}}),re=(0,J.n)({base:{[`${ee.up}`]:{":enabled:hover":{...ee.Qt,...ee.lf}}}});var ne=r(84105),oe=r(74445),ie=r(57674),ae=r(85963);const se=(0,J.n)({small:{...ne.Pt.margin(0,0,0,Z.k.spacingHorizontalXS),width:"100%"},medium:{...ne.Pt.padding(0,Z.k.spacingHorizontalMNudge)},menu:{height:`${oe.Z.menuItemHeight}px`}}),le=(0,J.n)({base:{...ne.Pt.padding(0,Z.k.spacingHorizontalMNudge,0,0)},small:{width:"16px",height:"16px"},medium:{width:"20px",height:"20px"}}),ue=(0,J.n)({small:{marginLeft:"auto",marginRight:Z.k.spacingVerticalXS},medium:{},menu:{minHeight:"26px"}}),ce=(0,J.n)({base:{color:Z.k.colorNeutralStrokeDisabled,[`${ee.up}`]:{color:"GrayText"}}}),de=(0,J.n)({base:{opacity:".4"}}),pe=(e,t)=>(((e,t)=>{const{size:r}=e,{isMenuItem:o}=t,i=se(),a=le(),s=ue(),l=ce(),u=de(),c=(0,n.useContext)(ie.B),d=(0,ae.i2)(c,ae.PE.spinButtonDisabledStylesEnabled);e.containerClassName=(0,N.z)(i[r],o&&i.menu,e.containerClassName),e.labelClassName=(0,N.z)("textContainer",d&&e.disabled&&l.base,e.labelClassName),e.iconClassName=(0,N.z)(a.base,a[r],d&&e.disabled&&u.base,e.iconClassName),e.root.className=(0,N.z)(s[r],o&&s.menu,e.root.className)})(e,t),(e=>{(e=>{const t=te(),r=re();e.containerClassName=(0,N.z)(t.container,(e.labelPosition===u.y.top||e.labelPosition===u.y.bottom)&&t.vertical,e.containerClassName),e.labelPosition===u.y.start||void 0===e.labelPosition?e.labelClassName=(0,N.z)(t.labelBefore,e.labelClassName):e.labelPosition===u.y.end&&(e.labelClassName=(0,N.z)(t.labelAfter,e.labelClassName)),e.root.className=(0,N.z)(t.root,e.root.className),e.incrementButton.className=(0,N.z)(r.base,e.incrementButton.className),e.decrementButton.className=(0,N.z)(r.base,e.decrementButton.className)})(e),(e=>{const{appearance:t,spinState:r,size:n}=e,o=e.input.disabled,i="true"==`${e.input["aria-invalid"]}`,a=t.startsWith("filled"),s=H(),l=V(),u=z();e.root.className=(0,N.z)(O,W(),s[n],s[t],a&&s.filled,!o&&"outline"===t&&s.outlineInteractive,!o&&"underline"===t&&s.underlineInteractive,!o&&a&&s.filledInteractive,!o&&i&&s.invalid,o&&s.disabled,e.root.className),e.incrementButton.className=(0,N.z)(B,"up"===r&&`${K}`,U(),l.increment,l[t],"small"===n&&l.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=(0,N.z)(L,"down"===r&&`${K}`,U(),l.decrement,l[t],"small"===n&&l.decrementButtonSmall,e.decrementButton.className),e.input.className=(0,N.z)(M,G(),o&&u.disabled,e.input.className)})(e)})(e),e),he=n.memo(n.forwardRef(((e,t)=>{const r=Y(e,t);return pe(r,e),((e,t)=>{const{ariaDescriptionElement:r,dataNav:o,icon:i,iconClassName:p,id:h,inputId:g,label:m,hideLabel:f,labelId:v,labelSize:b,labelPosition:y,uniqueId:S,containerClassName:C,setSize:T,positionInSet:k}=e,F={...e,id:void 0,input:{...e.input,id:g,"data-nav":o?"true":void 0},"data-unique-id":`${S}-input`},E={className:C,id:h,"data-unique-id":S,"aria-posinset":k,"aria-setsize":T},A=n.createElement(d.K,{...t},(e=>((0,s.C)(e),(0,a.FD)(e.root,{children:[(0,a.Y)(e.input,{}),(0,a.Y)(e.incrementButton,{}),(0,a.Y)(e.decrementButton,{})]})))(F));switch(y){case u.y.top:return n.createElement("div",{...E},n.createElement("div",{className:e.containerClassName},i&&n.createElement(c.T,{className:p,iconName:i}),!f&&n.createElement(l.J,{className:e.labelClassName,id:v,size:b,htmlFor:g},m)),A,r);case u.y.bottom:return n.createElement("div",{...E},A,n.createElement("div",null,i&&n.createElement(c.T,{className:p,iconName:i}),!f&&n.createElement(l.J,{className:e.labelClassName,id:v,htmlFor:g,size:b},m)),r);case u.y.end:return n.createElement("div",{...E},A,i&&n.createElement(c.T,{className:p,iconName:i}),!f&&n.createElement(l.J,{className:e.labelClassName,id:v,size:b,htmlFor:g},m),r);case u.y.start:default:return n.createElement("div",{...E},i&&n.createElement(c.T,{className:p,iconName:i}),!f&&n.createElement(l.J,{className:e.labelClassName,id:v,size:b,htmlFor:g},m),A,r)}})(r,e)})));he.displayName="next/RibbonSpinButton";var ge=r(17297),me=r(56021),fe=r(95033);class ve extends n.PureComponent{render(){const e=(0,ge.G)()&&!this.props.isMenuItem?(0,o.TW)(this.props.styles,(0,me._A)(this.props.disabled,this.props.size)):this.props.styles,t=(0,ge.G)()?(0,o.TW)(this.props.buttonStyles,me.xC):this.props.buttonStyles;return n.createElement(i.A,{...this.props,styles:e,buttonStyles:t})}}const be=n.forwardRef(((e,t)=>{const r=(0,fe.I)();return!(()=>{const e=n.useContext(ie.B);return(0,ae.i2)(e,ae.PE.fluentV9TabListSpinButtonFocusIsEnabled)})()&&!r||e.isMenuItem?n.createElement(ve,{ref:t,...e}):n.createElement(he,{ref:t,...e})}))},75484:(e,t,r)=>{"use strict";r.d(t,{uo:()=>x,nX:()=>I,JU:()=>S,jA:()=>w});var n=r(10477),o=r(55056),i=r(84105),a=r(26838),s=r(39398),l=r(21609),u=r(17297),c=r(15294),d=r(69284),p=r(18550),h=r(63900);var g=r(59360),m=r(85963),f=r(31798),v=r(57674);const b=(0,o.n)({base:{paddingLeft:"10px",paddingRight:"2px",whiteSpace:"nowrap"},small:{paddingLeft:l.k.spacingHorizontalXS,paddingRight:l.k.spacingHorizontalNone},large:{paddingLeft:l.k.spacingHorizontalNone,paddingRight:l.k.spacingHorizontalNone}}),y=(0,o.n)({base:{whiteSpace:"nowrap",paddingLeft:l.k.spacingHorizontalXS},large:{fontSize:l.k.fontSizeBase200,lineHeight:"normal",...i.Pt.padding(l.k.spacingHorizontalNone)}}),S=(e,t)=>{const r=(0,u.G)(),n=b(),o=y();return(0,a.z)(r?o.base:n.base,"small"===e&&n.small,"large"===e&&(r?o.large:n.large),t)},C=(0,o.n)({base:{position:"relative",boxShadow:"none",backgroundColor:"transparent",...i.Pt.borderColor("transparent"),...i.Pt.borderRadius("0px"),focusInnerWidth:"0px",...i.Pt.borderWidth("1px"),...i.Pt.borderStyle("solid"),...i.Pt.overflow("visible"),minWidth:"40px",paddingLeft:"9px",paddingRight:"9px",paddingTop:"0px",paddingBottom:"0px",...i.Pt.gap("0px"),height:"40px",minHeight:"40px",fontWeight:400,":hover":{backgroundColor:l.k.legacy_neutralLighter,...i.Pt.borderColor("transparent"),boxShadow:"none",cursor:"default"},":active":{backgroundColor:l.k.legacy_neutralQuaternaryAlt,...i.Pt.borderColor("transparent"),boxShadow:"none",color:l.k.legacy_neutralDark,transform:"none"},":hover:active":{backgroundColor:l.k.legacy_neutralQuaternaryAlt,...i.Pt.borderColor("transparent")},[`${h.up}`]:{...(0,s.Qg)(),...h.Yw,...h.dn,...h.Gy,":hover":{...h.Qt,...h.lf,...h.KN},":hover:active":{...h.Qt,...h.lf,...h.KN},":focus":{...h.Qt,...h.lf,...h.KN}},lineHeight:"1",textOverflow:"unset",whiteSpace:"normal",[`& .${c.Q3}`]:{display:"flex",alignItems:"center",flexDirection:"column",...i.Pt.padding("1px"),whiteSpace:"nowrap",[`${h.up}`]:{...(0,s.Qg)()}},[`& .${c.Xb}`]:{lineHeight:"normal"},[`& .${c.iQ}`]:{width:"8px",height:"8px",paddingLeft:"2px",paddingRight:"2px",paddingTop:"0px",paddingBottom:"0px",fill:l.k.legacy_neutralDark},[`& .${d.zD}`]:{...h.dX}},pixelFocusBorder:{...i.Pt.borderRadius("0px"),focusInnerWidth:"0px"},disabled:{backgroundColor:"transparent",color:l.k.legacy_neutralTertiaryAlt,...i.Pt.borderColor("transparent"),pointerEvents:"none",[`${h.up}`]:{...h.RQ,...h.G_,":hover":{...h.Jt},":focus":{...h.Fu}}},small:{fontSize:"12px",fontWeight:400,...i.Pt.gap("0px"),height:"24px",minHeight:"24px",minWidth:"24px",...i.Pt.padding("1px"),justifyContent:"flex-start"},large:{flexDirection:"column",fontSize:"12px",fontWeight:400,...i.Pt.gap("0px"),height:"72px",justifyContent:"flex-start",lineHeight:"normal"},groupLauncher:{...i.Pt.gap("0px"),paddingLeft:"2px",paddingRight:"2px",width:"12px",minWidth:"12px",minHeight:"12px",height:"12px",marginRight:-(0,g.EA)("Multiline").groupDividerPadding.left+"px",justifyContent:"center",":hover":{...i.Pt.borderRadius("0px")},":active":{...i.Pt.borderRadius("0px")}},groupLauncherWithMinTargetSizes:{marginBottom:"8px"},ribbonModeButton:{...i.Pt.gap("0px"),height:"16px",minHeight:"16px",width:"20px",minWidth:"20px",justifyContent:"flex-start",paddingLeft:"3px"},floatieButton:{...i.Pt.gap("0px"),fontSize:"12px",height:"28px",minHeight:"28px",minWidth:"28px",paddingLeft:"3px",paddingRight:"3px"},floatieLargeButton:{flexDirection:"column",fontSize:"12px",...i.Pt.gap("0px"),height:"60px",justifyContent:"flex-start",lineHeight:"normal",minHeight:"60px",minWidth:"48px",paddingLeft:"2px",paddingRight:"2px",paddingTop:"4px",paddingBottom:"0px",...i.Pt.borderWidth("1px")},minTargetSizes:{...h.b6}}),T=(0,o.n)({base:{...i.Pt.gap("0px"),...i.Pt.margin(l.k.spacingHorizontalNone),fontWeight:l.k.fontWeightRegular,...i.Pt.borderColor("transparent"),":hover":{...i.Pt.borderColor("transparent"),[`${h.up}`]:{...h.u4}},":hover:active":{...i.Pt.borderColor("transparent"),[`${h.up}`]:{...h.u4}},[`& .${d.zD}`]:{...h.dX}},disabled:{pointerEvents:"none",backgroundColor:l.k.colorTransparentBackground,...i.Pt.borderColor("transparent"),":hover":{backgroundColor:l.k.colorTransparentBackgroundHover,...i.Pt.borderColor("transparent")},":hover:active":{backgroundColor:l.k.colorTransparentBackgroundPressed,...i.Pt.borderColor("transparent")}},small:{minWidth:"24px",height:"24px",...i.Pt.padding("3px")},medium:{minWidth:"32px",...i.Pt.padding("5px")},large:{minWidth:"40px",height:"72px",flexDirection:"column",justifyContent:"flex-start",...i.Pt.padding("1px"),[`& .${c.iQ}`]:{width:"8px",height:"8px",lineHeight:"8px",paddingLeft:"2px",paddingTop:"1px",paddingBottom:"4px",fill:l.k.colorNeutralForeground1},[`& .${c.Q3}`]:{fontSize:l.k.fontSizeBase200,lineHeight:"normal"},[`& .${c.Xb}`]:{fontSize:l.k.fontSizeBase200,lineHeight:l.k.lineHeightBase200}},groupLauncher:{...i.Pt.padding("0px"),alignSelf:"center",width:"12px",minWidth:"12px",minHeight:"12px",height:"12px"},groupLauncherWithMinTargetSizes:{marginBottom:"8px"},ribbonModeButton:{width:"20px",minWidth:"20px",minHeight:"20px",height:"20px"},minTargetSizes:{...h.b6}}),k=(0,o.n)({disabled:{pointerEvents:"auto"}}),F=(0,o.n)({base:{fontSize:"20px",height:"20px",width:"20px",marginRight:"0px","& i":{width:"inherit"}},small:{fontSize:"16px",height:"16px",width:"18px","& i":{height:"16px",width:"16px",marginLeft:"2px"}},large:{fontSize:"32px",height:"32px",width:"32px",lineHeight:"32px"},groupLauncher:{fontSize:"8px",height:"8px",width:"8px"},ribbonModeButton:{fontSize:"12px",height:"12px",width:"12px"},ribbonModeButtonMultiline:{transform:"rotate(180deg)"},floatieLargeButton:{paddingLeft:"12px",paddingRight:"12px",fontSize:"24px",height:"100%",width:"24px"}}),E=(0,o.n)({base:{...i.Pt.margin(l.k.spacingHorizontalNone),"& i":{width:"inherit",height:"inherit"}},small:{fontSize:l.k.fontSizeBase400,height:"20x",width:"20x",lineHeight:l.k.lineHeightBase300,...i.Pt.margin(l.k.spacingHorizontalNone),"& i":{height:"16px",width:"16px"}},medium:{fontSize:l.k.fontSizeBase500,height:"20px",width:"20px",lineHeight:l.k.lineHeightBase300},large:{fontSize:l.k.fontSizeHero800,height:"32px",width:"32px",lineHeight:l.k.lineHeightBase600,...i.Pt.padding(l.k.spacingVerticalNone,l.k.spacingHorizontalXXS,l.k.spacingVerticalXXS,l.k.spacingHorizontalXXS),marginTop:l.k.spacingVerticalNone},groupLauncher:{fontSize:"8px",height:"8px",width:"8px",lineHeight:"8px",...i.Pt.margin(l.k.spacingHorizontalNone)},ribbonModeButton:{fontSize:l.k.fontSizeBase200,height:"12px",width:"12px",lineHeight:"12px",...i.Pt.margin(l.k.spacingHorizontalNone)},ribbonModeButtonMultiline:{transform:"rotate(180deg)"}}),A=(0,o.n)({base:{...i.Pt.margin(l.k.spacingHorizontalNone),"& i":{width:"inherit",height:"inherit"}},small:{fontSize:l.k.fontSizeBase400,height:"20x",width:"20x",lineHeight:l.k.lineHeightBase300,...i.Pt.margin(l.k.spacingHorizontalNone),"& i":{height:"16px",width:"16px"}},medium:{fontSize:l.k.fontSizeBase500,height:"20px",width:"20px",lineHeight:l.k.lineHeightBase300},large:{fontSize:l.k.fontSizeHero800,height:"24px",width:"24px",lineHeight:"0px",...i.Pt.padding(l.k.spacingVerticalXS,l.k.spacingHorizontalSNudge,l.k.spacingVerticalSNudge,l.k.spacingHorizontalSNudge),marginTop:l.k.spacingVerticalNone},groupLauncher:{fontSize:"8px",height:"8px",width:"8px",lineHeight:"8px",...i.Pt.margin(l.k.spacingHorizontalNone)},ribbonModeButton:{fontSize:l.k.fontSizeBase200,height:"12px",width:"12px",lineHeight:"12px",...i.Pt.margin(l.k.spacingHorizontalNone)},ribbonModeButtonMultiline:{transform:"rotate(180deg)"}}),I=(e,t,r=!1)=>"ribbonModeButton"===e.variant?(0,a.z)("ms-RibbonButton--ribbonMode",t.ribbonModeButton,r&&t.minTargetSizes):"groupLauncher"===e.variant?(0,a.z)(t.groupLauncher,r&&t.minTargetSizes,r&&t.groupLauncherWithMinTargetSizes):x(e.size,t),x=(e,t,r=!1)=>e===p.J.Small.toLowerCase()?(0,a.z)(t.small,r&&t.withMinTargetSize):e===p.J.Large.toLowerCase()?t.large:(0,a.z)(t.medium,r&&t.withMinTargetSize),w=e=>{const t=n.useContext(v.B),r=(0,m.i2)(t,m.PE.isNewFluentIconsEnabled),o=(0,f.C)(t),i=(0,m.i2)(t,m.PE.isDisabledTooltipsEnabled),s=C(),l=F(),c=(0,h.Zc)(),d=T(),g=k(),b=A(),y=E(),S=(0,h.rc)();return(0,u.G)()?(e.root.className=(0,a.z)("ms-Button","ms-ButtonNext",d.base,I(e,d,o),(e.disabled||e.disabledFocusable)&&d.disabled,(e.disabled||e.disabledFocusable)&&i&&g.disabled,e.root.className),r?e.icon&&(e.icon.className=(0,a.z)("ms-RibbonButton-icon",b.base,(e.disabled||e.disabledFocusable)&&S.base,I(e,b),"ribbonModeButtonMultiline"===e.variantId&&b.ribbonModeButtonMultiline,e.icon.className)):e.icon&&(e.icon.className=(0,a.z)("ms-RibbonButton-icon",y.base,(e.disabled||e.disabledFocusable)&&S.base,I(e,y),"ribbonModeButtonMultiline"===e.variantId&&y.ribbonModeButtonMultiline,e.icon.className))):(e.root.className=(0,a.z)("ms-Button",s.base,s.pixelFocusBorder,c.base,(e.disabled||e.disabledFocusable)&&s.disabled,(e.disabled||e.disabledFocusable)&&i&&g.disabled,I(e,s,o),"floatieButton"===e.variant&&s.floatieButton,"floatieLargeButton"===e.variant&&s.floatieLargeButton,"floatieButton"===e.variant&&e.size===p.J.Large.toLowerCase()&&s.floatieLargeButton,e.root.className),e.icon&&(e.icon.className=(0,a.z)("ms-RibbonButton-icon",l.base,(e.disabled||e.disabledFocusable)&&S.base,I(e,l),"ribbonModeButtonMultiline"===e.variantId&&l.ribbonModeButtonMultiline,"floatieLargeButton"===e.variant&&l.floatieLargeButton,"floatieButton"===e.variant&&e.size===p.J.Large.toLowerCase()&&l.floatieLargeButton,e.icon.className))),e}},99984:(e,t,r)=>{"use strict";r.d(t,{x:()=>a});var n=r(90044),o=r(18550),i=r(75334);const a=(0,n.J9)((e=>(t,r)=>e===o.J.Large&&t&&t.text?(0,i.m)(t.text):r?r(t):null))},47163:(e,t,r)=>{"use strict";r.d(t,{H:()=>c});var n=r(10477),o=r(68264),i=r(39398),a=r(90044);const s=(0,a.J9)((()=>(0,i.l8)({root:{position:"fixed",visibility:"hidden"},childrenContainer:{position:"relative"}})));class l extends n.PureComponent{render(){if(this.props.cacheKey&&this.props.cacheKey in this.renderCache||!this.props.onRendered)return null;const e=s();return n.createElement("div",{className:e.root},n.createElement("div",{className:e.childrenContainer},this.props.children))}componentDidUpdate(){this.notifyRender()}componentDidMount(){this.notifyRender()}notifyRender(){if(!this.props.onRendered)return;if(void 0===this.props.cacheKey)return void this.props.onRendered();const e=this.renderCache[this.props.cacheKey];if(e)this.props.onRendered(e);else{const e=this.props.onRendered();this.renderCache[this.props.cacheKey]=e}}constructor(){super(...arguments),this.renderCache={}}}const u=(0,a.J9)((()=>(0,i.l8)({wrapperElement:{display:"inline"}}))),c=e=>t=>{class r extends n.PureComponent{static getDerivedStateFromProps(t,r){return(r.animatingIn||r.animatingOut)&&e.shouldAnimate(t)?r.animatingIn&&e.shouldAnimateOut(t,r.animatingIn)?{animatingIn:void 0,animatingOut:e.getOutState(t,r.animatingIn)}:null:{animatingIn:e.getInitialInState(t),animatingOut:void 0}}render(){return this.renderInternal(!!e.shouldAnimate(this.props))}renderInternal(r){let i,a,s,c,d,p;r?(i=this.state.animatingOut?{...this.props,...this.state.animatingOut.hiddenPropOverrides}:void 0,s=!this.state.animatingOut,a=s?e.transition.inDuration:e.transition.outDuration,c=this.state.animatingOut?this.state.animatingOut.offsetExitedProps:void 0,d=!!this.state.animatingIn,p=!!this.state.animatingOut):(a=0,s=!0,d=!1,p=!1);const h=this.state.animatingIn&&this.state.animatingIn.animationProps,g=u();return n.createElement(n.Fragment,null,n.createElement(o.A,{in:s,enter:d,exit:p,onExited:this.onLayoutExited,classNames:e.transition.className,timeout:a},n.createElement("div",{ref:this.visibleRef,className:g.wrapperElement},n.createElement(t,{ref:this.props.forwardedRef,...this.props,...c,...h}))),n.createElement(l,{onRendered:i&&this.onHiddenPropsRendered,cacheKey:i&&e.getCacheKeyForHiddenRender&&e.getCacheKeyForHiddenRender(i)},i&&n.createElement("div",{ref:this.hiddenRef,className:g.wrapperElement},n.createElement(t,{...i}))))}constructor(t){super(t),this.visibleRef=n.createRef(),this.hiddenRef=n.createRef(),this.onHiddenPropsRendered=t=>{if(null!=t)return this.dataFromHiddenRender=t,t;const r=e.getDataFromHiddenRender(this.hiddenRef.current);return this.dataFromHiddenRender=r,r},this.onLayoutExited=()=>{this.setState({animatingOut:void 0,animatingIn:e.getInState(this.props,this.state.animatingOut,this.visibleRef.current,this.dataFromHiddenRender)})},this.state={}}}return n.memo(n.forwardRef(((e,o)=>e.animate?n.createElement(r,{...e,forwardedRef:o}):n.createElement(t,{...e,forwardedRef:o}))))}},20603:(e,t,r)=>{"use strict";r.d(t,{XY:()=>s,is:()=>a});var n=r(16684),o=r.n(n);function i(e){switch(e.type){case"AppButtonProps":case"AppInkButtonProps":case"AppToggleButtonProps":case"AppFlyoutAnchorProps":case"AppInkFlyoutAnchorProps":case"AppSplitButtonProps":return{controlType:e.type,id:e.id,label:e.hideLabel?"":e.label};case"AppCheckboxProps":case"AppSpinButtonProps":case"AppLabelProps":case"AppInputProps":case"AppGalleryButtonProps":case"AppPromptInputProps":case"AppSuggestionProps":case"AppSuggestionListProps":return{controlType:e.type,id:e.id,label:e.label};case"AppFontPickerProps":return{controlType:e.type,id:e.id,width:e.width};case"AppComboBoxProps":return{controlType:e.type,id:e.id,width:e.width,label:e.showLabel?e.label:""};case"AppIconPreviewGalleryProps":case"AppFontStylesPreviewGalleryProps":case"RibbonTableStylesPreviewGalleryProps":return e.renderAsFlyout?{controlType:"AppFlyoutAnchorProps",id:e.id,label:e.flyoutAnchorProps?.hideLabel?"":e.flyoutAnchorProps?.label}:{controlType:e.type,id:e.id,galleryButtons:e.galleryButtons.map((e=>i(e)))};case"AppSliderProps":return{controlType:e.type,id:e.id,text:e.text};default:throw new Error("The following AppControlProps is not valid as a top level ribbon control"+e.type)}}function a(e){return o()(JSON.stringify(i(e))).toString(36)}function s(e){return o()(JSON.stringify(function(e){const t=[];let r;switch(e.type){case"Multiline":r=e.controls,t.push({controlType:"layout",id:"layout",layout:e.layout&&JSON.stringify(e.layout)});break;case"SingleLine":r=e.topLevelControls,e.overflowControls&&e.overflowControls.length>0&&t.push({controlType:"button",id:"overflow",hasOwnOverflow:e.hasOwnOverflow?.toString(),shouldAllowAllControlsInOverflow:e.shouldAllowAllControlsInOverflow?.toString()})}return t.push(...r.map((e=>i(e)))),t}(e))).toString(36)}},26334:(e,t,r)=>{"use strict";r.d(t,{$:()=>u,D:()=>d});var n=r(90044),o=r(15294),i=r(55456),a=r(18550),s=r(99984),l=r(61864);const u=(0,n.J9)((e=>e===a.J.Large?{onRenderText:e=>(0,l.e)(e.text,e.menuIconProps,e.disabled,o.Q3,o.Xb,o.iQ),hideChevron:!0}:{})),c=(0,n.J9)((e=>({onRenderText:e===a.J.Large?e=>(0,l.e)(e.text,e.menuIconProps,e.disabled,i.u5,i.cB,i.Kd):(0,s.x)(e),vertical:e===a.J.Large})));function d(e,t){switch(e.type){case"AppFlyoutAnchorProps":return u(t);case"AppSplitButtonProps":return c(t);default:return{}}}},27528:(e,t,r)=>{"use strict";r.d(t,{Xe:()=>I,s8:()=>x,K$:()=>w});var n=r(10477),o=r(39398),i=r(97130),a=r(90044),s=r(60309),l=r(32005),u=r(52913),c=r(3713),d=r(4733),p=r(10191),h=r(95583),g=r(86621),m=r(20203),f=r(40353),v=r(17353),b=r(97014),y=r(97177),S=r(27931),C=r(68336);const T=(e,t,r,n)=>({key:t.id,data:t,onRender:r,customOnRenderListLength:n?n(t):1,"data-unique-id":(0,p.lj)(t)}),k=(0,S.Y)(T);var F=r(4920);const E={secondaryText:{paddingLeft:"20px"}};function A(e,t,r,o){return function(e,t,r,o,i,a){return(i?T:k)(e.id,e,((e,o)=>n.createElement("div",{key:e.key},t(e.data,(0,C.A)(o),Number(e["aria-posinset"]),Number(e["aria-setsize"]),r,a))),o)}(e,F.R,t,w,r,o)}function I(e,t){if(!t)return e;if("AppFlyoutAnchorProps"===e.type)return e;if("onExecute"in e){const r=e.onExecute;if(r)return{...e,onExecute:n=>{n.isShadowRendering||t(e.id),r.apply(e,[n])}}}else if("onGalleryButtonExecute"in e){const r=e.onGalleryButtonExecute;if(r)return{...e,onGalleryButtonExecute:n=>{n.isShadowRendering||t(e.id),r.apply(e,[n])}}}return e}const x=(0,a.J9)(((e,t,r)=>a=>{const{controlProps:S,location:C,onSubMenuPositioned:T,arePerfImprovementsEnabled:k,onMenuItemExecuted:F,terminalParentControlId:P,useFullDescriptionLabelOnly:R,footerItemStyles:D,customMenuItemStyles:_,isExperimentalFeatureEnabled:N}=a,O=S.filter((e=>w(e)>0));return O.map(((a,S)=>{const w={...I(a,F),location:C,appStrings:t,terminalParentControlId:P};switch(w.type){case"RibbonTableStylesPreviewGalleryProps":case"AppIconPreviewGalleryProps":case"AppFontStylesPreviewGalleryProps":return function(e,t,r,a){const l=n.createRef();return{type:"AppFlyoutAnchorProps",key:e.id,name:e.flyoutAnchorProps&&e.flyoutAnchorProps.label||e.menuLauncherLabel,subMenuProps:{...(0,b.N9)({menuDefinition:e.expandedOptions,controlInMenuRendererFunction:t,location:e.location}),onMenuOpened:()=>e.onMenuButtonExecute&&e.onMenuButtonExecute({id:e.id,location:e.location}),onMenuDismissed:()=>e.onAfterMenuDismiss&&e.onAfterMenuDismiss(e.id)},submenuIconProps:(0,g.d)(r),arrowDirection:i.E.bidirectional,disabled:e.disabled,getItemClassNames:(0,s.B)((0,o.l8)(void 0,e.flyoutAnchorProps&&e.flyoutAnchorProps.styles)),iconProps:(0,m.J)(e.flyoutAnchorProps&&e.flyoutAnchorProps.icon),keytipProps:e.keytipProps&&(0,y.J)(e.keytipProps,(e=>{(0,f.hz)(e,l)})),componentRef:l,"data-unique-id":(0,p.lj)(e)}}(w,x(e,t,r),e);case"AppButtonProps":return(r?l.Y:l.a)((0,v.b)(w.id,w.location,h.IZ.SingleLineRibbon.toString()),{...w,shouldTakeFocus:void 0===w.shouldTakeFocus||w.shouldTakeFocus},((e,t,r,n,i)=>(0,o.TW)(E,D?.(i,O.length,S),_)),void 0,void 0,R);case"AppInkButtonProps":case"AppToggleButtonProps":return(0,u._)({...w,shouldTakeFocus:void 0===w.shouldTakeFocus||w.shouldTakeFocus,type:"AppToggleButtonProps"},(0,o.TW)(E,_),void 0,R);case"AppFlyoutAnchorProps":case"AppInkFlyoutAnchorProps":return(0,c.Q)((0,v.b)(w.id,w.location,h.IZ.SingleLineRibbon.toString()),{...w,type:"AppFlyoutAnchorProps"},x(e,t,r),e,T,_,void 0,k,F,R,N);case"AppSplitButtonProps":return(0,d.e)((0,v.b)(w.id,w.location,h.IZ.SingleLineRibbon.toString()),{...w,shouldTakeFocus:!0},x(e,t,r),e,T,_,void 0,k,F,N);case"AppFontStylesFullGalleryProps":return A(w,e,r,x(e,t,!0));case"AppToggleProps":case"AppSpinButtonProps":case"AppCheckboxProps":case"AppComboBoxProps":case"AppColorPickerProps":case"RibbonInsertTableProps":case"RibbonChangeColorsFullGalleryProps":case"AppCharacterCodeGalleryProps":case"RibbonTableStylesFullGalleryProps":case"AppListGalleryProps":case"AppIconFullGalleryProps":case"AppInkThicknessFullGalleryProps":case"AppCompoundButtonProps":case"RibbonPageNumberFullGalleryProps":case"AppSliderProps":case"SingleLine":case"Multiline":case"AppInputProps":case"AppPersonaButtonProps":case"AppFontPickerProps":case"AppSearchBoxProps":case"AppErrorViewProps":case"AppLabelProps":case"AppMultiActionButtonProps":return A(w,e,r);default:throw new Error(`Ribbon controls of type ${w.type} are not valid as a control in a ribbon menu`)}}))}));function w(e){switch(e.type){case"RibbonChangeColorsFullGalleryProps":case"AppCharacterCodeGalleryProps":case"RibbonTableStylesFullGalleryProps":case"AppListGalleryProps":case"RibbonPageNumberFullGalleryProps":case"AppIconFullGalleryProps":case"AppFontStylesFullGalleryProps":return e.gallerySections?e.gallerySections.length:0;default:return 1}}},4920:(e,t,r)=>{"use strict";r.d(t,{R:()=>Wo});var n=r(10477),o=r(83082),i=r(39398),a=r(20880),s=r(90044),l=r(74445);const u=(0,s.J9)((e=>(0,i.TW)({root:{height:l.Z.menuItemHeight,margin:`0 ${l.Z.menuItemGapToRightEdge}px 0 0`,width:"auto",justifyContent:"space-between"}},e)));(0,s.J9)((e=>(0,i.TW)({root:{height:l.Z.smallMenuItemHeight,margin:`0 ${l.Z.menuItemGapToRightEdge}px 0 0`,width:"auto",justifyContent:"space-between"},labelWrapper:{marginRight:20}},e)));var c=r(32557),d=r(89858),p=r(12688),h=r(13176);const g={bodyContainer:{width:340,height:330,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},title:{textAlign:"center",fontSize:18,fontWeight:600,lineHeight:22,marginTop:16}},m=(0,s.J9)((e=>(0,i.l8)({root:{marginTop:"16px"},label:{display:"flex",flexDirection:"column",textOverflow:"ellipsis",whiteSpace:"normal",wordBreak:"normal",overflow:"hidden",maxWidth:"276px",textAlign:"center",fontWeight:400,fontSize:"14px",lineHeight:"20px"}},e))),f=(0,s.J9)((e=>(0,i.l8)({root:{width:160,height:160}},e))),v=(0,s.J9)(((e,t)=>(0,i.l8)({root:{width:"83px",height:"28px",marginTop:"16px",border:"none",backgroundColor:"transparent",color:e.palette.themePrimary},rootHovered:{backgroundColor:"transparent"},rootPressed:{backgroundColor:"transparent",color:e.palette.themeDark},label:{textAlign:"center",fontWeight:600,fontSize:"14px",lineHeight:"20px"}},t))),b=(0,s.J9)((e=>(0,i.l8)(g,e))),y={display:"flex",flexDirection:"column",textOverflow:"ellipsis",whiteSpace:"normal",wordBreak:"normal",overflow:"hidden",maxWidth:"276px",textAlign:"center",fontWeight:400,fontSize:"14px",lineHeight:"20px",padding:"4px"},S=(0,s.J9)((e=>(0,i.Zq)({marginTop:16,textAlign:"center",whiteSpace:"normal",wordBreak:"normal",fontWeight:400,fontSize:14,lineHeight:20,maxWidth:276,selectors:{a:{color:e.palette.themePrimary,textDecoration:"none",selectors:{":visited":{color:e.palette.themePrimary},":hover":{color:e.palette.themeDark,textDecoration:"underline"},":active":{color:e.palette.themeDarkAlt}}}}})));var C=r(37241),T=r(40480),k=r(86515),F=r(10191);const E=(0,s.J9)((e=>(0,i.l8)({root:{color:e.palette.themeDark,selectors:{":visited":{color:e.palette.themeDark},":hover":{color:e.palette.themeDarker},":active":{color:e.palette.themeDarkAlt}}}})));class A extends n.PureComponent{render(){const{handler:e,onExecute:t,text:r,type:o,...i}=this.props,a=e?.hasOwnProperty("href")?this.getLinkPropsFromUrlDetails(e):{onClick:t||e,href:"#"};return n.createElement(T.V,null,(e=>{const t=E(e);return n.createElement("a",{...a,...i,role:this.props.role,"data-unique-id":(0,F.lj)(this.props),className:t.root},r)}))}constructor(){super(...arguments),this.getLinkPropsFromUrlDetails=(0,s.J9)((e=>{const t={href:e.href,target:e.target},r=e.download?.trim();return r&&(t.download=r),t}))}}const I=e=>{const{disabled:t,fullDescriptionLabel:r,ariaDescription:o,iconName:i,id:s,label:l,retryButtonTitle:u,styles:c,title:d,onRetry:p,linkText:g,linkUrl:F,onLinkClicked:E,isNoResultView:I=!1}=e;return n.createElement(T.V,null,(e=>{const T=b(c);return n.createElement("div",{id:s+"ErrorView",className:T.bodyContainer},n.createElement(C.I,{styles:f(c?c.icon:void 0),iconName:i,id:s+"Icon"}),d&&n.createElement("div",{className:T.title},d),I?n.createElement("div",{className:S(e),dangerouslySetInnerHTML:{__html:(x=g??"",h.sanitize(x,{ALLOWED_ATTR:["target","href"],ALLOWED_TAGS:["a"]}))}}):n.createElement(a.w,{type:"AppLabelProps",id:s+"Message",styles:m(c?.message),label:l??"",forId:s+"ErrorView"}),u&&p&&n.createElement(k.S,{type:"AppButtonProps",id:s+"RetryButton",disabled:t,styles:v(e,c?.retryButton),label:u,ariaDescription:o,fullDescriptionLabel:r,onExecute:p,role:"button"}),g&&F&&n.createElement("div",{style:c?c.link:y},n.createElement(A,{id:"link",type:"AppLinkProps",handler:{href:F,target:"_blank"},text:g,onClick:E})));var x}))},x=(0,s.J9)((e=>({root:{marginLeft:e?10:l.Z.menuNoIconGutterPadding,paddingLeft:0,fontWeight:i.BO.regular}})));var w=r(93602),P=r(97177),R=r(66375),D=r(30834),_=r(53950);const N=e=>{const{dir:t}=(0,D.Y)(),r=(0,_.q)();return n.createElement(n.Fragment,null,e.children({className:r,dir:t}))};var O=r(73725),M=r(54029),B=r(93643),L=r(30838),K=r(50550),W=r(82015),H=r(70361),G=r(61894),z=(0,K.Z)(),U="Toggle",V=n.forwardRef((function(e,t){var r=e.as,o=void 0===r?"div":r,i=e.ariaLabel,a=e.checked,s=e.className,l=e.defaultChecked,u=void 0!==l&&l,c=e.disabled,d=e.inlineLabel,p=e.label,h=e.offAriaLabel,g=e.offText,m=e.onAriaLabel,f=e.onChange,v=e.onChanged,b=e.onClick,y=e.onText,S=e.role,C=e.styles,T=e.theme,k=(0,B.k)(a,u,n.useCallback((function(e,t){null==f||f(e,t),null==v||v(t)}),[f,v])),F=k[0],E=k[1],A=z(C,{theme:T,className:s,disabled:c,checked:F,inlineLabel:d,onOffMissing:!y&&!g}),I=F?m:h,x=(0,L.B)(U,e.id),w="".concat(x,"-label"),P="".concat(x,"-stateText"),R=F?y:g,D=(0,W.G1)(e,W.QQ,["defaultChecked"]),_=void 0;i||I||(p&&(_=w),R&&!_&&(_=P));var N=n.useRef(null);(0,H.vk)(N),j(e,F,N);var O={root:{className:A.root,hidden:D.hidden},label:{children:p,className:A.label,htmlFor:x,id:w},container:{className:A.container},pill:(0,M.Cl)((0,M.Cl)({},D),{"aria-disabled":c,"aria-checked":F,"aria-label":i||I,"aria-labelledby":_,className:A.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:c,id:x,onClick:function(e){c||(E(!F,e),b&&b(e))},ref:N,role:S||"switch",type:"button"}),thumb:{className:A.thumb},stateText:{children:R,className:A.text,htmlFor:x,id:P}};return n.createElement(o,(0,M.Cl)({ref:t},O.root),p&&n.createElement(G.J,(0,M.Cl)({},O.label)),n.createElement("div",(0,M.Cl)({},O.container),n.createElement("button",(0,M.Cl)({},O.pill),n.createElement("span",(0,M.Cl)({},O.thumb))),(F&&y||g)&&n.createElement(G.J,(0,M.Cl)({},O.stateText))))}));V.displayName=U+"Base";var j=function(e,t,r){n.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},focus:function(){r.current&&r.current.focus()}}}),[t,r])},q=(0,O.I)(V,(function(e){var t,r,n,o,a,s,l,u=e.theme,c=e.className,d=e.disabled,p=e.checked,h=e.inlineLabel,g=e.onOffMissing,m=u.semanticColors,f=u.palette,v=m.bodyBackground,b=m.inputBackgroundChecked,y=m.inputBackgroundCheckedHovered,S=f.neutralDark,C=m.disabledBodySubtext,T=m.smallInputBorder,k=m.inputForegroundChecked,F=m.disabledBodySubtext,E=m.disabledBackground,A=m.smallInputBorder,I=m.inputBorderHovered,x=m.disabledBodySubtext,w=m.disabledText;return{root:["ms-Toggle",p&&"is-checked",!d&&"is-enabled",d&&"is-disabled",u.fonts.medium,{marginBottom:"8px"},h&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",{display:"inline-block"},d&&{color:w,selectors:(t={},t[i.up]={color:"GrayText"},t)},h&&!g&&{marginRight:16},g&&h&&{order:1,marginLeft:16},h&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",(0,i.gm)(u,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid ".concat(A),background:v,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!d&&[!p&&{selectors:{":hover":[{borderColor:I}],":hover .ms-Toggle-thumb":[{backgroundColor:S,selectors:(r={},r[i.up]={borderColor:"Highlight"},r)}]}},p&&[{background:b,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(n={":hover":[{backgroundColor:y,borderColor:"transparent",selectors:(o={},o[i.up]={backgroundColor:"Highlight"},o)}]},n[i.up]=(0,M.Cl)({backgroundColor:"Highlight"},(0,i.Qg)()),n)}]],d&&[{cursor:"default"},!p&&[{borderColor:x}],p&&[{backgroundColor:C,borderColor:"transparent",justifyContent:"flex-end"}]],!d&&{selectors:{"&:hover":{selectors:(a={},a[i.up]={borderColor:"Highlight"},a)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:T,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!d&&p&&[{backgroundColor:k,selectors:(s={},s[i.up]={backgroundColor:"Window",borderColor:"Window"},s)}],d&&[!p&&[{backgroundColor:F}],p&&[{backgroundColor:E}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:i.BO.regular}}},d&&{selectors:{"&&":{color:w,selectors:(l={},l[i.up]={color:"GrayText"},l)}}}]}}),void 0,{scope:"Toggle"}),$=r(21406),Q=r(85631),X=r(69284),Y=r(31781),J=r(7971),Z=r(66865),ee=r(94867),te=r(16594);const re={textDisabledColor:J.Z.textDisabledColor,pillCheckedBackground:J.Z.pressedBackgroundColor,pillCheckedHoveredBackground:J.Z.selectedBackgroundColor,pillCheckedDisabledBackground:J.Z.textDisabledColor,thumbBackground:J.Z.textColor,thumbCheckedBackground:J.Z.defaultBackgroundColor,thumbDisabledBackground:J.Z.textDisabledColor,thumbCheckedDisabledBackground:J.Z.textDisabledColor,pillBorderColor:J.Z.inputBorderColor,pillBorderHoveredColor:J.Z.inputFocusBorderColor,pillBorderDisabledColor:J.Z.textDisabledColor},ne=(0,s.J9)((e=>(0,te.Q)()?{textDisabledColor:e.palette.neutralSecondary,pillCheckedBackground:e.palette.neutralQuaternary,pillCheckedHoveredBackground:e.palette.neutralQuaternaryAlt,pillCheckedDisabledBackground:e.palette.neutralSecondary,thumbBackground:e.palette.neutralPrimary,thumbCheckedBackground:e.palette.neutralLighterAlt,thumbDisabledBackground:e.palette.neutralSecondary,thumbCheckedDisabledBackground:e.palette.neutralSecondary,pillBorderColor:e.palette.neutralQuaternary,pillBorderHoveredColor:e.palette.neutralSecondaryAlt,pillBorderDisabledColor:e.palette.neutralSecondary}:re)),oe=(0,s.J9)(((e,t)=>{if(!(0,te.Q)())return(e=>({thumbOffBackgroundRest:Z.v.gray130,thumbOffBackgroundHover:Z.v.gray180,thumbOffBackgroundPressed:Z.v.gray180,thumbOffBackgroundDisabled:Z.v.gray70,thumbBackgroundOn:Z.v.white,pillOffBorderColor:Z.v.gray110,pillOffBorderColorActive:Z.v.gray180,pillBorderColorDisabled:Z.v.gray70,pillOffBackgroundPressed:e.tint40,pillOffBackgroundDisabled:Z.v.white,pillOnBackgroundRest:e.primary,pillOnBackgroundHover:e.shade10,pillOnBackgroundPressed:e.shade20,pillOnBackgroundDisabled:Z.v.gray70,pillOnBorderColorRest:e.primary,pillOnBorderColorHover:e.shade10,pillOnBorderColorPressed:e.shade20}))(t);const r=(0,ee.P)(e,t),n=r.primaryDefaultBackgroundColor,o=r.primaryHoverBackgroundColor;return{thumbOffBackgroundRest:e.palette.neutralPrimaryAlt,thumbOffBackgroundHover:e.palette.neutralDark,thumbOffBackgroundPressed:e.palette.neutralDark,thumbOffBackgroundDisabled:e.palette.neutralTertiaryAlt,thumbBackgroundOn:e.palette.white,pillOffBorderColor:e.palette.neutralSecondaryAlt,pillOffBorderColorActive:e.palette.neutralDark,pillBorderColorDisabled:e.palette.neutralTertiaryAlt,pillOffBackgroundPressed:e.palette.themeLighter,pillOffBackgroundDisabled:e.palette.white,pillOnBackgroundRest:n,pillOnBackgroundHover:o,pillOnBackgroundPressed:e.palette.themeDark,pillOnBackgroundDisabled:e.palette.neutralTertiaryAlt,pillOnBorderColorRest:n,pillOnBorderColorHover:o,pillOnBorderColorPressed:e.palette.themeDark}})),ie=(e,t,r)=>{const{disabled:n,checked:o,inlineLabel:a,onText:s,offText:l}=t,u=!s&&!l,c=ne(e),d={root:[i.dK.medium,{marginBottom:"8px"},a&&{display:"flex",alignItems:"center"}],label:[Q.Mb,n&&{color:c.textDisabledColor,selectors:{[i.up]:{color:"GrayText"}}},a&&!u&&{marginRight:16},u&&a&&{order:1,marginLeft:16},{fontWeight:i.BO.regular}],container:[{display:"inline-flex",position:"relative"}],pill:[(0,X.gm)(-3),{marginLeft:1,fontSize:"20px",boxSizing:"border-box",width:"2.2em",height:"1em",borderRadius:"1em",transition:"all 0.1s ease",borderWidth:"1px",borderStyle:"solid",background:"transparent",borderColor:c.pillBorderColor,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 .2em",[X.iZ]:{borderWidth:"2px",outline:"none",left:-4,right:-4,top:-4,bottom:-4}},!n&&[!o&&{selectors:{":hover":{borderColor:c.pillBorderHoveredColor}}},o&&{background:c.pillCheckedBackground,borderColor:"transparent",justifyContent:"flex-end",selectors:{":hover":[{backgroundColor:c.pillCheckedHoveredBackground,borderColor:"transparent",selectors:{[i.up]:{backgroundColor:"Highlight"}}}],[i.up]:{backgroundColor:"WindowText"}}}],n&&[{cursor:"default"},!o&&[{borderColor:c.pillBorderDisabledColor}],o&&[{backgroundColor:c.pillCheckedDisabledBackground,borderColor:"transparent",justifyContent:"flex-end"}]],!n&&{selectors:{"&:hover":{selectors:{[i.up]:{borderColor:"Highlight"}}},"&:active":{selectors:{[i.up]:{borderColor:"Highlight"}}}}}],thumb:[{width:".5em",height:".5em",borderRadius:".5em",transition:"all 0.1s ease",backgroundColor:c.thumbBackground,borderColor:"transparent",borderWidth:".28em",borderStyle:"solid",boxSizing:"border-box"},!n&&o&&[{backgroundColor:c.thumbCheckedBackground,selectors:{[i.up]:{backgroundColor:"Window",borderColor:"Window"}}}],n&&[!o&&[{backgroundColor:c.thumbDisabledBackground}],o&&[{backgroundColor:c.thumbCheckedDisabledBackground}]]],text:[Q.Mb,{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none"}}},n&&{selectors:{"&&":{color:c.textDisabledColor,selectors:{[i.up]:{color:"GrayText"}}}}}]};return(0,i.TW)(d,r,t.styles)},ae="thumbToggle",se=(e,t,r,n)=>{if(!n)return{};const o=oe(e,n),a=(0,Y.C)(e),s={backgroundColor:"Window",borderColor:"Highlight",selectors:{[`.${ae}`]:{borderColor:"Highlight"}}};return{pill:[{background:"transparent",borderColor:o.pillOffBorderColor,selectors:{":focus":{selectors:{[i.up]:{outline:"2px solid ButtonText",borderColor:"ButtonText",...(0,i.Qg)()}}},[X.iZ]:{borderColor:a.focusedBorderColor}}},!t&&[!r&&{selectors:{":active":{background:o.pillOffBackgroundPressed,borderColor:o.pillOffBorderColorActive,selectors:{[`.${ae}`]:{background:o.thumbOffBackgroundPressed}}},":hover":{borderColor:o.pillOffBorderColorActive,selectors:{[`.${ae}`]:{background:o.thumbOffBackgroundPressed,selectors:{[i.up]:{background:"ButtonText"}}}}}}},r&&{background:o.pillOnBackgroundRest,borderColor:o.pillOnBorderColorRest,selectors:{":hover":[{backgroundColor:o.pillOnBackgroundHover,borderColor:o.pillOnBorderColorHover}],":active":[{backgroundColor:o.pillOnBackgroundPressed,borderColor:o.pillOnBorderColorPressed}],[i.up]:{backgroundColor:"Highlight",...(0,i.Qg)(),selectors:{":hover":{...s,borderColor:"Highlight"},":active":{...s,borderColor:"Highlight"}}}}}],t&&[!r&&[{backgroundColor:o.pillOffBackgroundDisabled,borderColor:o.pillBorderColorDisabled}],r&&[{backgroundColor:o.pillOnBackgroundDisabled,borderColor:o.pillBorderColorDisabled}]]],thumb:[ae,{backgroundColor:o.thumbOffBackgroundRest},!t&&[!r&&[{selectors:{":hover":{backgroundColor:o.thumbOffBackgroundHover,selectors:{[i.up]:{backgroundColor:"ButtonText",...(0,i.Qg)()}}},":active":{backgroundColor:o.thumbOffBackgroundPressed}}}],r&&[{backgroundColor:o.thumbBackgroundOn,selectors:{[i.up]:{backgroundColor:"Window",...(0,i.Qg)()}}}]],t&&[!r&&[{backgroundColor:o.thumbOffBackgroundDisabled}],r&&[{backgroundColor:o.thumbBackgroundOn}]]],label:{selectors:{[i.up]:{color:"ButtonText",...(0,i.Qg)()}}}}};class le extends n.PureComponent{render(){return n.createElement(T.V,null,(e=>n.createElement("div",{className:(0,$.Ou)(),"data-unique-id":(0,F.lj)(this.props)},n.createElement(q,{...this.props,styles:ie(e,this.props,se(e,this.props.disabled,this.props.checked,this.props.appColors))}))))}constructor(e){super(e)}}const ue={root:{paddingTop:5},label:{order:0,fontWeight:i.BO.semibold,marginLeft:10},container:{order:1,margin:"0 5px 0 10px"},pill:{width:40,height:20}},ce=()=>ue,de=(0,s.J9)((e=>t=>(0,i.TW)(ue,"function"==typeof e?e(t):e)));var pe=r(43066),he=r(57674),ge=r(85963),me=r(31976),fe=r(24077),ve=r(50157),be=r(95583),ye=r(9472);function Se(e,t){return e.length>t+1&&"AppComboBoxProps"===e[t+1].type?{hasPinnedControl:e[t+1].pinToPreviousComboBox}:{}}var Ce=r(47163),Te=r(27931);const ke=e=>{switch(e.type){case"SingleLine":return e.topLevelControls;case"Multiline":return e.controls}},Fe=((0,s.J9)((()=>e=>{return n.createElement(Ur,{...e,fastDisabled:void 0!==e.fastDisabled?e.fastDisabled:(t=ke(e),!t||!t.some((e=>{const t=e;return!(t.disabled||"AppSplitButtonProps"===t.type&&t.primaryDisabled)})))});var t})),(0,Te.Y)(((e,t,r)=>()=>!t&&r),((e,t)=>"function"==typeof t?t.toString():t)));var Ee=r(20603),Ae=r(17297),Ie=r(59360);const xe=(0,s.J9)(((e,t,r,n)=>(0,i.l8)({root:{display:"inline-block",verticalAlign:"top",pointerEvents:r&&"auto",selectors:{".controlGroupLayout-enter & .layoutWrapper .moved":{opacity:0},".controlGroupLayout-enter:not(.controlGroupLayout-enter-active) & .layoutWrapper":{width:null!=e?`${e}px !important`:void 0},".controlGroupLayout-enter-active & .layoutWrapper":{transition:"width 300ms cubic-bezier(0.1, 0.9, 0.2, 1)",width:null!=t?`${t}px`:void 0,opacity:1},".controlGroupLayout-enter-active & .layoutWrapper .moved":{transition:"opacity 87ms linear 300ms",opacity:1},".controlGroupLayout-exit & .layoutWrapper .moved":{opacity:1},".controlGroupLayout-exit-active & .layoutWrapper .moved":{transition:"opacity 87ms linear",opacity:0}}},container:{display:"flex",height:(0,Ie.EA)("Multiline").bottomBarHeight,flexDirection:"column"},groupLabel:{flexGrow:1,textAlign:"center",userSelect:"none",fontSize:10,lineHeight:10,opacity:n?.4:1},groupLabelContainer:{display:"flex",height:(0,Ie.ho)(),justifyContent:"flex-end"},layoutWrapper:{flex:1,display:"inline"}},(0,Ae.G)()&&we()))),we=(0,s.J9)((()=>(0,i.l8)({root:{},container:{height:(0,Ie.EA)("Multiline").bottomBarHeight-2*Ie._L},groupLabel:{},groupLabelContainer:{paddingTop:2},layoutWrapper:{}})));function Pe(e,t){const r={moving:{}},n=Re(e.layout,e.controls),o=Re(t.layout,t.controls);for(const e in n.idToRow)(n.idToRow[e]!==o.idToRow[e]||n.idIsStacked[e]!==o.idIsStacked[e]||n.idToType[e]!==o.idToType[e])&&(r.moving[e]=!0),delete o.idToRow[e];for(const e in o.idToRow)r.moving[e]=!0;return r}function Re(e,t){const r={idToRow:{},idIsStacked:{},idToType:{}};for(const n of t)r.idToType[n.id]=n.type,e||(r.idToRow[n.id]=1);if(!e)return r;for(const t of e.sections)if(Array.isArray(t))for(let e=0;e<t.length;e+=1){const n=t[e];if(Array.isArray(n))for(const t of n)if("string"!=typeof t){if(Array.isArray(t))for(const n of t)n&&(r.idToRow[n]=e,r.idIsStacked[n]=!0)}else r.idToRow[t]=e}return r}const De=".layoutWrapper";var _e=r(82148),Ne=r(4749);const Oe=(0,s.J9)(((e,t)=>{if(e)return{...e,offset:t?{x:8,y:-17}:void 0,calloutProps:{...e.calloutProps,gapSpace:0,coverTarget:!1,directionalHint:t?_e.A.topLeftEdge:_e.A.topCenter,bounds:Ne.HN}}})),Me=(0,s.J9)(((e,t)=>{if(e)return{...e,offset:t?{x:8,y:0}:void 0,calloutProps:{...e.calloutProps,gapSpace:12,directionalHint:t?_e.A.topLeftEdge:_e.A.topCenter,bounds:Ne.HN}}})),Be=(0,s.J9)(((e,t)=>{if(e)return{...e,offset:t?{x:8,y:24}:void 0,calloutProps:{...e.calloutProps,directionalHint:t?_e.A.bottomLeftEdge:_e.A.bottomCenter,gapSpace:0,coverTarget:!1,bounds:Ne.HN}}}));var Le=r(51195),Ke=r(91074),We=r(24223),He=r(29784),Ge=r(43839),ze=r(94190),Ue=r(55056),Ve=r(26838);const je=e=>{const t={rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(void 0===e||""===e)return t;if("number"==typeof e)return t.rowGap.value=e,t.columnGap.value=e,t;const r=e.split(" ");if(r.length>2)return t;if(2===r.length)return t.rowGap=Qe(r[0]),t.columnGap=Qe(r[1]),t;const n=Qe(e);return t.rowGap=n,t.columnGap=n,t},qe=e=>void 0===e||""===e?"0px":"number"==typeof e?e.toString()+"px":e,$e=e=>{switch(e){case"start":return"flex-start";case"end":return"flex-end";default:return e??""}},Qe=e=>{const t=parseFloat(e),r=isNaN(t)?0:t,n=isNaN(t)?"":t.toString();return{value:r,unit:e.substring(n.toString().length)||"px"}},Xe="--acui-AppStack__justifyContent",Ye="--acui-AppStack__alignItems",Je="--acui-AppStack__height",Ze="--acui-AppStack__innerWidth",et="--acui-AppStack__innerHeight",tt="--acui-AppStack__maxWidth",rt="--acui-AppStack__maxHeight",nt="--acui-AppStack__verticalMargin",ot="--acui-AppStack__horizontalMargin",it="--acui-AppStack__innerPadding",at="--acui-AppStack__childMargin",st="--acui-AppStack__childMaxWidth",lt="--acui-AppStack__childMaxHeight",ut="--acui-AppStack__childMarginTop",ct="--acui-AppStack__childMarginLeft",dt=(0,Ue.n)({flexDirectionRow:{flexDirection:"row"},flexDirectionColumn:{flexDirection:"column"},justifyContentStyle:{justifyContent:`var(${Xe})`},alignItemsStyle:{alignItems:`var(${Ye})`}}),pt=(0,Ue.n)({root:{display:"flex",flexWrap:"wrap",width:"auto",overflow:"visible",height:`var(${Je})`},inner:{display:"flex",flexWrap:"wrap",marginLeft:`var(${ot})`,marginRight:`var(${ot})`,marginTop:`var(${nt})`,marginBottom:`var(${nt})`,overflow:"visible",boxSizing:"border-box",padding:`var(${it})`,width:`var(${Ze})`,height:`var(${et})`,maxWidth:"100vw"},childStyles:{"& > *":{textOverflow:"ellipsis",margin:`var(${at})`}},maxWidthStyle:{maxWidth:`var(${tt})`},maxHeightStyle:{maxHeight:`var(${rt})`},childMaxWidthStyle:{"& > *":{maxWidth:`var(${st})`}},childMaxHeightStyle:{"& > *":{maxHeight:`var(${lt})`}}}),ht=(0,Ue.n)({root:{display:"flex",flexWrap:"nowrap",width:"auto",height:`var(${Je})`,padding:`var(${it})`,boxSizing:"border-box"},childHorizontalStyle:{"& > *:not(:first-child)":{marginLeft:`var(${ct})`}},childVerticalStyle:{"& > *:not(:first-child)":{marginTop:`var(${ut})`}}}),gt=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=Ge.Gk((0,ze.g)("div",{...e,ref:t}),{elementType:"div"}),n=Ge.Gk(e.inner,{elementType:"div"});return{...e,components:{root:"div",inner:"div"},root:r,inner:n}})(e,t);return(e=>{const{wrap:t,horizontal:r,tokens:o,className:i,horizontalAlign:a,verticalAlign:s}=e,l=pt(),u=ht(),c=dt();(e=>{const{horizontal:t,tokens:r,horizontalAlign:n,verticalAlign:o,verticalFill:i}=e,{rowGap:a,columnGap:s}=je(r?.childrenGap),l={horizontalAlign:$e(n),verticalAlign:$e(o)};e.root.style={[`${Xe}`]:t?l.horizontalAlign:l.verticalAlign,[`${Ye}`]:t?l.verticalAlign:l.horizontalAlign,[`${Je}`]:i||!t?"100%":"auto",[`${ot}`]:`${-.5*s.value}${s.unit}`,[`${nt}`]:`${-.5*a.value}${a.unit}`,[`${it}`]:qe(r?.padding),[`${Ze}`]:0===s.value?"100%":`calc(100% + ${s.value}${s.unit})`,[`${et}`]:0===a.value?"100%":`calc(100% + ${a.value}${a.unit})`,[`${at}`]:`${.5*a.value}${a.unit} ${.5*s.value}${s.unit}`,...t?{[`${st}`]:0===s.value?"100%":`calc(100% + ${s.value}${s.unit})`,[`${ct}`]:`${s.value}${s.unit}`}:{[`${lt}`]:0===a.value?"100%":`calc(100% + ${a.value}${a.unit})`,[`${ut}`]:`${a.value}${a.unit}`},[`${tt}`]:qe(r?.maxWidth),[`${rt}`]:qe(r?.maxHeight),...e.root.style}})(e);const{rowGap:d,columnGap:p}=je(o?.childrenGap);e.root.className=n.useMemo((()=>(0,Ve.z)(t?l.root:u.root,!t&&r?c.flexDirectionRow:c.flexDirectionColumn,!t&&r&&p.value>0&&u.childHorizontalStyle,!t&&!r&&d.value>0&&u.childVerticalStyle,(r&&a||!r&&s)&&c.justifyContentStyle,(r&&s||!r&&a)&&c.alignItemsStyle,!!o?.maxWidth&&l.maxWidthStyle,!!o?.maxHeight&&l.maxHeightStyle,i,e.root.className)),[t,r,p.value,d.value,a,s,o?.maxWidth,o?.maxHeight,i,e.root.className]),e.inner.className=n.useMemo((()=>t?(0,Ve.z)(l.inner,(r&&a||!r&&s)&&c.justifyContentStyle,(r&&s||!r&&a)&&c.alignItemsStyle,r?c.flexDirectionRow:c.flexDirectionColumn,r?l.childMaxWidthStyle:l.childMaxHeightStyle,l.childStyles,e.inner&&e.inner.className):""),[t,r,a,s,e.inner])})(r),(e=>((0,He.C)(e),(0,We.Y)(e.root,{children:e.wrap?(0,We.Y)(e.inner,{children:e.children}):e.children})))(r)})),((e,t)=>{return((e,t,r=[],n=!1)=>{let o=!0;const i=[];n&&console.log(`rendered comparing keys: ${r.join(", ")}`);for(const a of r){if("object"==typeof e[a])try{if(JSON.stringify(e[a])!==JSON.stringify(t[a])){n&&console.log(`rendered Different prop detected: ${a}`,e[a],t[a]),i.push(a),o=!1;break}}catch(r){if(e[a]!==t[a]){i.push(a),o=!1,n&&console.log(`rendered Different prop detected: ${a}`,e[a],t[a]);break}}else if(e[a]!==t[a]){i.push(a),o=!1,n&&console.log(`rendered Different prop detected: ${a}`,e[a],t[a]);break}o&&n&&console.log("rendered Same prop detected: ",a,typeof e[a])}return n&&console.log("rendered changed props: ",i),o})(e,t,(r=e,Object.keys(r)),!1);var r}));gt.displayName="next/StackNext";const mt=n.memo((e=>(()=>{const e=n.useContext(he.B);return(0,ge.i2)(e,ge.PE.fluentV9StackIsEnabled)})()?n.createElement(gt,{...e}):n.createElement(Ke.B,{...e})));var ft=r(75196),vt=r(18550),bt=r(53272),yt=r(68414),St=r(28980),Ct=r(65882);function Tt(e,t){switch(e.type){case"AppButtonProps":case"AppInkButtonProps":case"AppComboBoxProps":case"AppToggleButtonProps":case"AppFlyoutAnchorProps":case"AppInkFlyoutAnchorProps":case"AppSplitButtonProps":case"AppSpinButtonProps":case"AppLabelProps":return(0,Ct.X)(e.iconSet,t)}}var kt=r(39482);let Ft={};class Et extends n.PureComponent{render(){return n.createElement(kt.OW.Consumer,null,(({isMeasured:e})=>n.createElement("div",{ref:e?this.wrapper:void 0,style:(0,o.jI)()?{marginRight:this.props.offset||0}:{marginLeft:this.props.offset||0}},this.props.children)))}componentDidMount(){this.setRefComponent()}componentDidUpdate(){this.setRefComponent()}setRefComponent(){var e,t;this.wrapper.current&&this.props.id&&(e=this.props.id,t=this.wrapper.current,Ft[e]=t)}constructor(){super(...arguments),this.wrapper=n.createRef()}}var At=r(26334),It=r(77769),xt=r(15294),wt=r(55456),Pt=r(90702),Rt=r(1911),Dt=r(28073);const _t={fontSize:12,height:16,lineHeight:16},Nt=28,Ot={root:{height:l.Z.comboBoxSmallHeight,width:l.Z.comboBoxSmallCaretWidth,minWidth:l.Z.comboBoxSmallCaretWidth},icon:{height:8,width:8,lineHeight:8}},Mt={root:{marginRight:l.Z.comboBoxSmallRightMargin,height:l.Z.comboBoxSmallHeight},subComponentStyles:{dropDownStyles:{subComponentStyles:{itemStyles:{labelText:_t},headerStyles:{expand:{height:Nt},title:_t}}},textFieldStyles:{root:{height:l.Z.comboBoxSmallHeight},textInput:_t,subComponentStyles:{buttonStyles:Ot}}}},Bt=(0,s.J9)((e=>e?(0,i.TW)(e,Mt):Mt));function Lt(e,t){return e===vt.J.Large?t.styles:Bt(t.styles)}const Kt=(0,s.J9)((e=>e?{root:{height:24},fieldGroup:{height:22},subComponentStyles:{label:{root:{fontSize:"12px",padding:"0px",marginTop:"2px",lineHeight:"inherit"}}}}:{})),Wt={root:{paddingLeft:0},label:{fontSize:12}},Ht=(0,s.J9)(((e,t)=>e?{styles:(0,i.l8)(Wt,t)}:{})),Gt=(0,s.J9)(((e,t)=>({styles:t})));var zt=r(16164),Ut=r(45263),Vt=r(1915);const jt={root:{width:95},flexContainer:{justifyContent:"center"},textContainer:{minWidth:10},label:{padding:"unset",textOverflow:"ellipsis",textAlign:"center"}},qt={galleryButtonInExpanded:jt,galleryButtonInPreview:jt},$t=(0,s.J9)(((e,t)=>e===vt.J.Large?(0,Ut.mW)((0,Vt.QY)(),qt,t):t||{})),Qt=(0,s.J9)(((e,t,r)=>e===vt.J.Large?(0,Ut.mW)(t,(0,Vt.QY)(),r&&(0,Vt.ht)()):t||{}));var Xt=r(86492);function Yt(e,t){switch(e.type){case"AppButtonProps":case"AppToggleButtonProps":return{styles:(0,It.A)(t,e.styles)};case"AppFlyoutAnchorProps":return{styles:(0,xt.g)(e,t,e.styles)};case"AppSplitButtonProps":return{styles:(0,wt.C6)(e.label,t,e.hideLabel,e.styles)};case"AppSpinButtonProps":const r=(0,Pt.A)(t,e.styles);return{styles:r.spinButtonStyles,buttonStyles:r.buttonStyles};case"AppComboBoxProps":const n=(0,Dt.Jm)(t,e);return{styles:n.styles,optionStyles:n.optionStyles,iconStyles:n.iconStyles,caretDownButtonStyles:n.caretDownButtonStyles};case"AppFontPickerProps":return{itemHeight:t===vt.J.Small?Nt:void 0,styles:Lt(t,e)};case"AppFontStylesPreviewGalleryProps":return{styles:$t(t,e.styles)};case"RibbonTableStylesPreviewGalleryProps":return{styles:(0,Xt.Mt)(t,e.styles),getTableStyling:(0,Xt.Ly)(t)};case"AppIconPreviewGalleryProps":return{styles:Qt(t,e.styles,!!e.stack)};case"RibbonChangeColorsPreviewGalleryProps":return{styles:(0,zt.gR)(t,e.styles)};case"AppCheckboxProps":return{styles:e.styles?(0,Rt.b)(e.styles,t):(0,Rt.n)(t)};case"AppLabelProps":return{styles:Ht(t,e.styles).styles};case"AppSliderProps":return{styles:Gt(t,e.styles).styles};case"AppInputProps":return{styles:Kt(t)};default:return{}}}const Jt=(0,s.J9)((e=>(0,i.l8)((0,$.IJ)(e),{divider:[{height:"calc(100% - 8px)"},"ribbon-vertical-divider",X.gP],wrapper:{padding:"0 4px"}}))),Zt=(0,s.J9)((e=>(0,i.l8)((0,$.IJ)(e),{divider:[{height:"calc(100% - 4px)"},X.gP,"ribbon-row-divider"],wrapper:{padding:"0 4px"}}))),er={childrenGap:"2 0"};var tr;!function(e){e[e.Top=0]="Top",e[e.Middle=1]="Middle",e[e.Bottom=2]="Bottom"}(tr||(tr={}));function rr(e){return{"data-lid":e}}const nr=(0,Ie.EA)("Multiline"),or=e=>nr.bottomBarHeight-(0,Ie.ho)()-e*ft.f,ir=Ie.cF/or(2),ar=ft.f/or(1),sr=e=>{const{layout:t,controlProps:r,controlRendererFunction:o,animate:i,layoutChanges:a,dismissMenu:s,isRibbonSpanning:l,spanningComponentId:u,spanningOffset:c}=e,d=t||function(e){return function(...e){return{sections:e}}(function(...e){return[e]}(...e.map((e=>e.id))))}(r),p=function(e){const t={};for(const r of e)t[r.id]=r;return t}(r),h=1===d.sections.length&&Array.isArray(d.sections[0])&&1===d.sections[0].length&&null!==d.sections[0][0]&&0===d.sections[0][0].filter((e=>Array.isArray(e))).length;return n.createElement(mt,{verticalFill:!0,horizontal:!0,style:h?{justifyContent:"center"}:void 0},d.sections.map(((e,t)=>{if("object"==typeof e&&"Divider"!==e.type){const r=e=>n.createElement(lr,{key:`$Section-${t}`,section:e,controls:p,controlRendererFunction:o,animate:i,layoutChanges:a,dismissMenu:s,isRibbonSpanning:l,spanningComponentId:u,spanningOffset:c});if(Array.isArray(e))return r(e);const d=e;return n.createElement("div",{...rr(d.layoutIndex)},r(d.controlId))}return n.createElement(Le.G,{key:`divider${t}`,getClassNames:Jt})})))},lr=e=>{const{section:t,controls:r,controlRendererFunction:o,animate:i,layoutChanges:a,dismissMenu:s,isRibbonSpanning:l,spanningComponentId:u,spanningOffset:c}=e;if("object"!=typeof t&&!Array.isArray(t))return n.createElement(n.Fragment,null);const d=t.length,p=1===d?vt.J.Large:vt.J.Small,h=n.createElement(mt,{verticalAlign:"center",tokens:(0,Ae.G)()?er:void 0},t.map(((e,t)=>n.createElement(cr,{key:t,row:e,controls:r,controlRendererFunction:o,defaultControlSize:p,keytipLocation:t===d-1?tr.Bottom:t,animate:i,layoutChanges:a,dismissMenu:s,isConsciousControl:1===d,isRibbonSpanning:l,spanningComponentId:u,spanningOffset:c})))),g=`section${t}`;return d>1&&l?n.createElement(Et,{id:g,offset:u===g?c:0},h):h},ur=()=>n.createElement("div",{key:"spacer",style:{width:"4px"}}),cr=e=>{const{row:t,controls:r,controlRendererFunction:o,defaultControlSize:i,keytipLocation:a,animate:s,layoutChanges:l,dismissMenu:u,isConsciousControl:c,isRibbonSpanning:d,spanningComponentId:p,spanningOffset:h}=e,g=[];let m,f=0;if("object"==typeof t&&!Array.isArray(t)&&void 0!==t.layoutIndex)return n.createElement("div",{...rr(t.layoutIndex)},cr({...e,row:t.controlId}));if(!Array.isArray(t))return n.createElement(n.Fragment,null);let v=ir;for(const b of t){if("object"!=typeof b||Array.isArray(b)||void 0===b.layoutIndex)if("string"==typeof b){if(!r[b])continue;Array.isArray(m)&&g.push(n.createElement(ur,null)),l&&l.moving[b]?g.push(n.createElement("div",{key:b,className:"moved"},n.createElement(pr,{controlId:b,controls:r,size:i,controlRendererFunction:o,renderOptions:{animate:s,keytipLocation:a},dismissMenu:u,isConsciousControl:c,isRibbonSpanning:d,spanningComponentId:p,spanningOffset:h}))):g.push(n.createElement(pr,{key:b,controlId:b,controls:r,size:i,controlRendererFunction:o,renderOptions:{animate:s,keytipLocation:a},dismissMenu:u,isConsciousControl:c,isRibbonSpanning:d,spanningComponentId:p,spanningOffset:h}))}else if(Array.isArray(b)){const e=b.filter((e=>null!=e&&r[e]));if(0===e.length)continue;"string"==typeof m&&g.push(n.createElement(ur,null)),v=1;const t=[];let i=!1;e.map(((a,c)=>{l&&l.moving[a]&&(i=!0),t.push(n.createElement(pr,{key:a,controlId:a,controls:r,size:vt.J.Small,controlRendererFunction:o,renderOptions:{animate:s,keytipLocation:c,stackedItems:e},dismissMenu:u}))}));const a=b.ariaProps;let f="start";2===b.length&&(2===e.length?f="center":1===e.length&&(v=ar));const y=n.createElement(mt,{id:a&&a.id,"aria-labelledby":a&&a.labelledBy,role:a&&a.labelledBy?"group":void 0,horizontalAlign:"start",className:i?"moved":void 0,verticalAlign:f,key:`controlStack-${JSON.stringify(b)} `,tokens:(0,Ae.G)()?er:void 0},t),S=`controlStack-${JSON.stringify(b)}`;g.push(c&&d?n.createElement(Et,{id:S,offset:p===S?h:0},y):y)}else f+=1,g.push(n.createElement(Le.G,{key:`divider${f}`,getClassNames:Zt}));else{const t=b;g.push(n.createElement("div",{...rr(t.layoutIndex)},cr({...e,row:t.controlId})))}m=b}return n.createElement(mt,{horizontal:!0,style:{flexGrow:v}},g)};function dr(e){if((0,bt.o)())return e===tr.Top?_e.A.topCenter:_e.A.bottomCenter}const pr=e=>{const{controlId:t,controls:r,size:o,controlRendererFunction:i,renderOptions:a,dismissMenu:s,isConsciousControl:l,isRibbonSpanning:u,spanningComponentId:c,spanningOffset:d}=e,p=r[t],h={...fr(p,s),size:o,key:`${t}-${o}`,animate:a.animate,downChevronIconSize:"icon8",keytipProps:mr(p,a.keytipLocation,!!a.stackedItems),tooltipDirection:p.tooltipDirection||dr(a.keytipLocation),...hr(p,o),...(0,At.D)(p,o)},g=i({...h,...gr(h,r,a)});return l&&u?n.createElement(Et,{id:t,offset:c===t?d:0},g):g};function hr(e,t){const r=n.useContext(he.B);return{...t!==vt.J.Large||e.hasOwnProperty("hideLabel")&&!r.isExperimentalFeatureEnabled?.("SharedOnline.ChangeGate.AlwaysShowLargeButtonLabels")?{}:{hideLabel:!1},icon:Tt(e,t),...Yt(e,t),getGalleryButtonComponent:"AppFontStylesPreviewGalleryProps"===e.type&&t===vt.J.Large?yt.N:void 0}}function gr(e,t,r){return"AppComboBoxProps"===e.type&&r.stackedItems?r.stackedItems.every((e=>t[e]&&"AppComboBoxProps"===t[e].type))?{styles:(0,i.TW)(e.styles,{controlContainer:{width:"100%",flexGrow:ir},controlAndIconContainer:{width:"100%",flex:1},container:{width:"100%"},label:{flex:1,width:"100%"}})}:{styles:(0,i.TW)(e.styles,{container:{width:"100%"}})}:{}}function mr(e,t,r){switch(e.type){case"AppButtonProps":case"AppInkButtonProps":case"AppToggleButtonProps":case"AppFlyoutAnchorProps":case"AppInkFlyoutAnchorProps":case"AppSplitButtonProps":case"AppComboBoxProps":case"AppSpinButtonProps":case"AppCheckboxProps":case"RibbonTableStylesPreviewGalleryProps":case"AppFontStylesPreviewGalleryProps":case"AppIconPreviewGalleryProps":case"AppFontPickerProps":case"RibbonChangeColorsPreviewGalleryProps":case"AppPromptInputProps":case"AppSuggestionProps":if(e.keytipProps)switch(t){case tr.Top:return Oe(e.keytipProps,r);case tr.Middle:return Me(e.keytipProps,r);case tr.Bottom:return Be(e.keytipProps,r)}}}function fr(e,t){switch(e.type){case"AppButtonProps":case"AppToggleButtonProps":case"AppSplitButtonProps":case"AppCheckboxProps":return t?(0,St.A)(e,t):e}return e}const vr=(0,s.J9)((()=>({root:{height:12,width:12,padding:0,marginRight:-(0,Ie.EA)("Multiline").groupDividerPadding.left,position:"relative",alignSelf:"flex-end",justifyContent:"center"},icon:{display:"flex !important",height:8,width:8},rootFocused:{[X.si]:{borderColor:"transparent"},[X.iZ]:{top:-3,left:-3,right:-3}}})));class br extends n.PureComponent{componentDidMount(){this.container.current&&this.props.onFocusIn&&this.events.on(this.container.current,"focusin",this.props.onFocusIn,!0),this.allowMouseIn&&this.container.current&&this.props.onMouseEnter&&this.events.on(this.container.current,"mouseenter",this.props.onMouseEnter,!0)}componentWillUnmount(){this.events.off()}render(){this.allowMouseIn=!!this.context.isExperimentalFeatureEnabled?.(ge.PE.isDisabledTooltipsEnabled);const{id:e,initialWidth:t,finalWidth:r,hideGroupLabel:o,groupLabel:i,fastDisabled:a,forceHideGroupLabelOnly:s,allControlsDisabled:l}=this.props,u=(e=>`${e}-group`)(e),c=(e=>`${e}-label`)(e),d=l&&!a,p=xe(t,r,this.allowMouseIn,d);return n.createElement("div",{className:`${p.root}`,ref:this.container,"data-unique-id":(0,F.lj)(this.props),id:u,role:"group","aria-labelledby":o?void 0:c,"aria-label":o?i:void 0},n.createElement("div",{className:p.container},n.createElement("div",{className:`${p.layoutWrapper} layoutWrapper`},n.createElement(sr,{layout:this.props.layout,controlProps:this.getControlsWithKey(a),controlRendererFunction:this.props.controlRendererFunction,animate:!!this.props.animate,layoutChanges:this.props.layoutChanges,dismissMenu:this.props.dismissMenu,isRibbonSpanning:this.props.isRibbonSpanning,spanningComponentId:this.props.spanningComponentId,spanningOffset:this.props.spanningOffset})),n.createElement("div",{className:p.groupLabelContainer},!(o||s)&&n.createElement("label",{className:p.groupLabel,htmlFor:u,id:c},i),this.props.groupLauncher&&n.createElement(this.renderGroupLauncher,{...this.props.groupLauncher}))))}hasContainer(){return!!this.container.current}focus(){this.container.current&&(0,ve.vO)(this.container.current,!0)}containsFocus(){return!!this.hasContainer()&&(0,ve.SE)(this.container.current)}constructor(e){super(e),this.container=n.createRef(),this.allowMouseIn=!1,this.renderGroupLauncher=n.memo((e=>n.createElement(ye.R,{type:"AppButtonProps",label:e.label,id:e.id,onExecute:e.onExecute,icon:e.icon,variant:"groupLauncher",keytipProps:Be(e.keytipProps),hideLabel:!0,styles:vr(),disabled:e.disabled,location:be.IZ.MultilineRibbon,showTooltip:!0}))),this.getControlsWithKey=e=>this.props.controls.map(((t,r,n)=>({...t,key:t.id,fastDisabledCallback:"function"==typeof e?e:void 0,shadowRenderMenu:Fe(`shouldShadowRenderFn-${t.id}${t.location||""}-MLR`,"function"==typeof e?e():void 0,!this.props.preventShadowRendering&&t.shadowRenderMenu),...Se(n,r)}))),this.events=new fe.g(this)}}br.contextType=he.B;const yr=(0,Ce.H)({shouldAnimate:function(e){return!!e.animate},getInitialInState:function(e){return{state:{controls:e.controls,layout:e.layout,layoutCacheKey:(0,Ee.XY)({type:"Multiline",...e})}}},getDataFromHiddenRender:function(e){const t=e.querySelector(De);return{finalWidth:t&&t.clientWidth||0}},getInState:function(e,t,r,n){const o=r.querySelector(De);return{state:{controls:e.controls,layout:e.layout,layoutCacheKey:(0,Ee.XY)({type:"Multiline",...e})},animationProps:{initialWidth:o.clientWidth,finalWidth:n.finalWidth,layoutChanges:t.offsetExitedProps.layoutChanges}}},getCacheKeyForHiddenRender:function(e){return(0,Ee.XY)({type:"Multiline",...e})},getOutState:function(e,t){return{offsetExitedProps:{layout:t.state.layout,controls:t.state.controls,layoutChanges:Pe(t.state,e)},hiddenPropOverrides:{animate:!1}}},shouldAnimateOut:function(e,t){return(0,Ee.XY)({type:"Multiline",...e})!==t.state.layoutCacheKey},transition:{className:"controlGroupLayout",inDuration:387,outDuration:87}})(br);var Sr=r(13639),Cr=r(10166),Tr=r(39773),kr=r(75296),Fr=r(60505),Er=r(57142),Ar=r(21160),Ir=function(e,t,r){for(var n=0,o=e;n<o.length;n++){var i=o[n];r[t.register(i,!0)]=i}},xr=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];e.unregister(t[o],o,!0),delete t[o]}},wr=function(e){var t=Fr._.getInstance(),r=e.className,o=e.overflowItems,i=e.keytipSequences,a=e.itemSubMenuProvider,s=e.onRenderOverflowButton,l=(0,Ar.d)({}),u=n.useCallback((function(e){return a?a(e):e.subMenuProps?e.subMenuProps.items:void 0}),[a]),c=n.useMemo((function(){var e=[],r=[];return i?null==o||o.forEach((function(n){var o,a=n.keytipProps;if(a){var s={content:a.content,keySequences:a.keySequences,disabled:a.disabled||!(!n.disabled&&!n.isDisabled),hasDynamicChildren:a.hasDynamicChildren,hasMenu:a.hasMenu};a.hasDynamicChildren||u(n)?(s.onExecute=t.menuExecute.bind(t,i,null===(o=null==n?void 0:n.keytipProps)||void 0===o?void 0:o.keySequences),s.hasOverflowSubMenu=!0):s.onExecute=a.onExecute,e.push(s);var l=(0,M.Cl)((0,M.Cl)({},n),{keytipProps:(0,M.Cl)((0,M.Cl)({},a),{overflowSetSequence:i})});null==r||r.push(l)}else null==r||r.push(n)})):r=o,{modifiedOverflowItems:r,keytipsToRegister:e}}),[o,u,t,i]),d=c.modifiedOverflowItems;return function(e,t,r){var o=(0,Er.Z)(e);n.useEffect((function(){o&&(xr(r,o),Ir(t,r,e))})),n.useEffect((function(){return Ir(t,r,e),function(){xr(r,e)}}),[])}(l,c.keytipsToRegister,t),n.createElement("div",{className:r},s(d))},Pr=r(20508),Rr=(0,K.Z)(),Dr=n.forwardRef((function(e,t){var r=n.useRef(null),o=(0,Tr.a)(r,t);!function(e,t){var r=(0,Pr.CQ)();n.useImperativeHandle(e.componentRef,(function(){return{focus:function(e,r){var n=!1;return t.current&&(n=(0,ve.vO)(t.current,r)),n},focusElement:function(e){var n=!1;return!!e&&(t.current&&(0,kr.s)(t.current,e)&&(e.focus(),n=(null==r?void 0:r.activeElement)===e),n)}}}),[t,r])}(e,r);var i=e.items,a=e.overflowItems,s=e.className,l=e.styles,u=e.vertical,c=e.role,d=e.overflowSide,p=void 0===d?"end":d,h=e.onRenderItem,g=Rr(l,{className:s,vertical:u}),m=!!a&&a.length>0;return n.createElement("div",(0,M.Cl)({},(0,W.G1)(e,W.JM),{role:c||"group","aria-orientation":"menubar"===c?!0===u?"vertical":"horizontal":void 0,className:g.root,ref:o}),"start"===p&&m&&n.createElement(wr,(0,M.Cl)({},e,{className:g.overflowButton})),i&&i.map((function(e,t){return n.createElement("div",{className:g.item,key:e.key,role:"none"},h(e))})),"end"===p&&m&&n.createElement(wr,(0,M.Cl)({},e,{className:g.overflowButton})))}));Dr.displayName="OverflowSet";var _r={flexShrink:0,display:"inherit"},Nr=(0,O.I)(Dr,(function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",_r],overflowButton:["ms-OverflowSet-overflowButton",_r]}}),void 0,{scope:"OverflowSet"}),Or=r(15052),Mr=r(80894),Br=r(28389);Mr.I,Mr.c,Br.H;const Lr=(0,s.J9)((e=>(0,i.l8)({root:{display:"inline-block",verticalAlign:"top",pointerEvents:e&&"auto"}}))),Kr=(0,s.J9)((e=>{const t=(0,Y.C)(e);return{icon:{fill:(0,te.Q)()?t.textColor:"#444444",fontSize:20}}})),Wr=(0,s.J9)((()=>({root:[],item:"ribbonOverflowItem"})));class Hr extends n.PureComponent{setKeyAndKeytipsForOverflowControls(e,t="",r){const{keytipProps:n}=this.props;return e.map((e=>{const o={...e,key:e.id,menuSectionTitle:t,sectionId:r};if(n&&e.keytipProps){const t={...e.keytipProps};switch(e.type){case"AppSpinButtonProps":case"AppComboBoxProps":t.onExecute=()=>{this.inputInMenuExecute(t.keySequences,n.keySequences)};break;default:t.onExecute=()=>{e.onExecute({})}}o.keytipProps=t}return o}))}componentDidMount(){this.container.current&&this.props.onFocusIn&&this.events.on(this.container.current,"focusin",this.props.onFocusIn,!0),this.allowMouseIn&&this.container.current&&this.props.onMouseEnter&&this.events.on(this.container.current,"mouseenter",this.props.onMouseEnter,!0)}componentWillUnmount(){this.events.off()}render(){this.allowMouseIn=!!this.context.isExperimentalFeatureEnabled?.(ge.PE.isDisabledTooltipsEnabled);const e=Lr(this.allowMouseIn),{overflowControls:t,multiMenuOverflowControls:r,keytipProps:o,fastDisabled:i}=this.props;let a=[];return r&&0!==r.length?a=r.reduce(((e,t)=>[...e,...this.setKeyAndKeytipsForOverflowControls(t.controls,t.title,t.id)]),[]):t&&0!==t.length&&(a=this.setKeyAndKeytipsForOverflowControls(t,this.props.overflowMenuLauncherLabel,this.props.id)),n.createElement("div",{className:`${e.root}`,ref:this.container,id:(s=this.props.id,`${s}-group`)},n.createElement(Nr,{componentRef:this.overflowSet,role:"group","aria-label":this.props.groupLabel,items:this.getContextualTopLevelControlsWithKey(i),overflowItems:a,onRenderItem:this.onRenderItem,onRenderOverflowButton:this.onRenderOverflowButton,keytipSequences:o&&o.keySequences,itemSubMenuProvider:this.itemSubMenuProvider,"data-unique-id":(0,F.lj)(this.props),styles:Wr()}));var s}focus(){this.overflowSet.current&&this.overflowSet.current.focus(!0,!0)}hasContainer(){return!!this.container.current&&0!==this.container.current.offsetHeight}containsFocus(){return!!this.hasContainer()&&(0,ve.SE)(this.container.current)}constructor(e){super(e),this.overflowSet=n.createRef(),this.overflowButtonLegacy=n.createRef(),this.overflowButton=n.createRef(),this.container=n.createRef(),this.allowMouseIn=!1,this.getContextualTopLevelControlsWithKey=e=>this.props.topLevelControls&&this.props.topLevelControls.map(((t,r,n)=>({...t,hideLabel:"hideLabel"in t?t.hideLabel:void 0,icon:Tt(t),key:t.id,fastDisabledCallback:"function"==typeof e?e:void 0,shadowRenderMenu:Fe(`shouldShadowRenderFn-${t.id}${t.location||""}-SLR`,"function"==typeof this.props.fastDisabled?this.props.fastDisabled?.():void 0,!this.props.preventShadowRendering&&t.shadowRenderMenu),...Se(n,r)}))),this.onRenderOverflowButton=e=>{const t=n.createElement(T.V,null,(t=>n.createElement(Or.Fh,{ref:this.overflowButton,legacyRef:this.overflowButtonLegacy,type:"AppFlyoutAnchorProps",id:(0,F.vT)(this.props.id,"overflow"),variant:"overflowButton",icon:this.props.overflowMenuLauncherIcon,menuDefinition:this.props.deferredOverflowMenuAs?void 0:Gr(e),directionalHint:_e.A.bottomLeftEdge,label:this.props.overflowMenuLauncherLabel,disabled:this.props.overflowMenuLauncherDisabled,hideLabel:!0,hideChevron:!0,styles:Kr(t),onExecute:this.props.onOverflowMenuOpen,location:be.IZ.Overflow,onAfterMenuDismiss:this.props.onOverflowMenuClose,keytipProps:this.props.keytipProps,controlInMenuRendererFunction:this.props.controlInMenuRendererFunction,downChevronIcon:this.props.overflowMenuLauncherIcon,deferredMenuDefinition:this.props.deferredOverflowMenuAs?{type:"DeferredOverflowMenuDefinition",menuAs:this.props.deferredOverflowMenuAs,overflowMenuDefinition:Gr(e),parentKeytipSequence:this.props.keytipProps?.keySequences,anchorId:this.props.id}:void 0,preventMenuExecution:this.props.preventMenuExecution,shadowRenderMenu:!this.props.preventShadowRendering&&void 0,showTooltip:!0})));return this.props.isRibbonSpanning?n.createElement(Et,{id:this.props.overflowMenuLauncherLabel,key:this.props.overflowMenuLauncherLabel,offset:this.props.spanningComponentId===this.props.overflowMenuLauncherLabel?this.props.spanningOffset:0},t):t},this.onRenderItem=e=>{const t=this.props.controlRendererFunction({...e,animate:this.props.animate});return this.props.isRibbonSpanning?n.createElement(Et,{id:e.key,key:e.key,offset:this.props.spanningComponentId===e.key?this.props.spanningOffset:0},t):t},this.itemSubMenuProvider=e=>{const t=e.menuDefinition,r=e.deferredMenuDefinition,n=e.keytipProps;return!!t||!!r||n&&!!n.hasMenu},this.inputInMenuExecute=(e,t)=>{if(this.overflowButtonLegacy&&this.overflowButtonLegacy.current){this.overflowButtonLegacy.current.focus(),this.overflowButtonLegacy.current.openMenu(!1,!1);const r=(0,Sr.YY)(e,t),n=(0,Cr.Y)().querySelector((0,Sr.mf)((0,Sr.Z2)(r)));n&&n.focus()}},this.events=new fe.g(this)}}function Gr(e){const t={};e.forEach((({menuSectionTitle:e,...r})=>{t[e]=t[e]||[],t[e].push({...r,icon:Tt(r)})}));const r=Object.keys(t).map((e=>{const r={title:e,controls:t[e]};return t[e][0]?.sectionId&&(r.id=t[e][0]?.sectionId),r}));return 0===r.length?void 0:{sections:r}}Hr.contextType=he.B;const zr=(0,s.J9)((()=>(0,i.l8)({root:{display:"inline-block",verticalAlign:"top"},rootFastDisabled:Ie.Rl})));(0,s.J9)((e=>{const t=(0,Y.C)(e);return{icon:{fill:(0,te.Q)()?t.textColor:"#444444"}}}));class Ur extends n.PureComponent{render(){this.isFastDisabled=this.isFastDisabledActive();const e=zr();return n.createElement("div",{className:`${e.root}${this.isFastDisabled?` ${e.rootFastDisabled}`:""}`,"aria-disabled":!!this.isFastDisabled||void 0},"SingleLine"===this.props.type&&n.createElement(Hr,{ref:this.props.componentRef||this.group,...this.props,onFocusIn:this.onFocusIn,onMouseEnter:this.onMouseIn,fastDisabled:!this.focusInControlGroup&&this.fastDisabledCallback}),"Multiline"===this.props.type&&n.createElement(yr,{ref:this.props.componentRef||this.group,...this.props,onFocusIn:this.onFocusIn,onMouseEnter:this.onMouseIn,fastDisabled:!this.focusInControlGroup&&this.fastDisabledCallback}))}focus(){this.group.current&&this.group.current.focus()}hasContainer(){return!!this.group.current&&this.group.current.hasContainer()}containsFocus(){return!!this.group.current&&this.group.current.containsFocus()}constructor(e){super(e),this.group=n.createRef(),this.focusInControlGroup=!1,this.isFastDisabled=void 0,this.async=new me.j,this.isFastDisabledActive=()=>("function"==typeof this.props.fastDisabled?this.props.fastDisabled():this.props.fastDisabled)&&!this.focusInControlGroup,this.fastDisabledCallback=()=>this.isFastDisabled,this.onFocusIn=()=>{this.props.onFocusIn?.(),this.isFastDisabledActive()&&(this.focusInControlGroup=!0,this.forceUpdate())},this.onMouseIn=this.async.debounce((()=>{const e=this.context.isExperimentalFeatureEnabled?.(ge.PE.isDisabledTooltipsEnabled);e&&this.isFastDisabledActive()&&(this.focusInControlGroup=!0,this.forceUpdate())}),100)}}Ur.contextType=he.B;var Vr=r(22708),jr=r(77372),qr=r(92886),$r=r(82826),Qr=r(73982);const Xr=n.memo(n.forwardRef(((e,t)=>n.createElement(Qr.n,{...e,onFocusUpdated:e.onFocus,size:e.size?.toLowerCase(),showTooltip:!0,ref:t}))));Xr.displayName="next/RibbonColorPicker";var Yr=r(96359),Jr=r(95033);const Zr=n.lazy((()=>Promise.resolve().then(r.bind(r,50949)).then((e=>({default:e.AppColorPicker})))));class en extends n.PureComponent{render(){return n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(Zr,{...this.props}))}}const tn=n.forwardRef(((e,t)=>{const r=(0,Jr.I)();return(0,Yr.d)()||r?n.createElement(Xr,{...e,size:vt.J.Small,ref:t}):n.createElement(en,{ref:t,...e})}));var rn=r(24697),nn=r(16014),on=r(72341),an=r(42745),sn=r(37971);const ln=(0,s.J9)(((e,t,r)=>({root:(0,i.Zq)(e.root),cell:(0,i.Zq)(e.cell,t&&e.cellHighlighted,r&&e.cellDisabled),tableTitle:(0,i.Zq)(e.tableTitle),tableTitleInnerSpan:(0,i.Zq)(e.tableTitleInnerSpan),tableCell:(0,i.Zq)(e.tableCell,t&&e.cellHighlighted,r&&e.cellDisabled)})));var un=r(21609);const cn=(0,s.J9)(((e,t,r)=>{const o=(0,Y.C)(e),a=(0,te.Q)(),s=(0,n.useContext)(he.B),l=(0,ge.i2)(s,ge.PE.insertTableGridFluentV9IsEnabled),u=[{backgroundColor:a?o.cellHighlightBackgroundColor:"#DADADA",border:`1px solid ${o.cellHighlightBorderColor}`,zIndex:2},X.KN,X.s0],c=[{backgroundColor:un.k.colorNeutralForegroundDisabled,borderColor:un.k.colorPaletteMinkForeground2,zIndex:2},X.KN,X.s0],d={root:{display:"block",border:"1px solid transparent",padding:10,selectors:{table:{borderSpacing:"0"},"table tr td:not(:first-child) div":{marginLeft:-1},"table tr:not(:first-child) td div":{marginTop:-1},":focus":{outline:0}}},cell:{border:`1px solid ${o.selectedBorderColor}`,width:15,height:15,position:"relative",selectors:{":focus":u}},cellHighlighted:l?c:u,cellDisabled:l?[{backgroundColor:un.k.colorBrandForegroundOnLightPressed,selectors:{":focus":X.Fu}}]:[{backgroundColor:a?e.palette.themeDarkAlt:t.shade10,selectors:{":focus":X.Fu}}],tableTitle:l?{height:32,fontSize:14,lineHeight:32,color:un.k.colorNeutralForeground1,fontWeight:"600"}:{height:32,fontSize:14,lineHeight:32,color:a?o.menuItemTextColor:J.Z.menuItemTextColor,background:o.menuBackgroundColor,fontWeight:"600"},tableTitleInnerSpan:{marginLeft:12,verticalAlign:"middle"},tableCell:{border:`1px solid ${un.k.colorPaletteBeigeBorderActive}`,selectors:{":focus":`${u}`},backgroundColor:`${un.k.colorNeutralBackground1}`}};return(0,i.TW)(d,r)})),dn=n.createContext(void 0),pn={size:"medium",noNativeElements:!1,sortable:!1},hn=dn.Provider,gn=()=>{var e;return null!==(e=n.useContext(dn))&&void 0!==e?e:pn};var mn=r(77675);const fn=(0,mn.X)({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),vn=(0,mn.X)({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),bn=(0,mn.X)({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]});var yn=r(60414);const Sn=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{noNativeElements:r,size:n}=gn();var o;const i=(null!==(o=e.as)&&void 0!==o?o:r)?"div":"td";return{components:{root:i},root:Ge.Gk((0,ze.g)(i,{ref:t,role:"div"===i?"cell":void 0,...e}),{elementType:i}),noNativeElements:r,size:n}})(e,t);return(e=>{const t=bn(),r={table:fn(),flex:vn()};e.root.className=(0,Ve.z)("fui-TableCell",t.root,e.noNativeElements?r.flex.root:r.table.root,e.noNativeElements?r.flex[e.size]:r.table[e.size],e.root.className)})(r),(0,yn.$e)("useTableCellStyles_unstable")(r),(e=>((0,He.C)(e),(0,We.Y)(e.root,{})))(r)}));Sn.displayName="TableCell";var Cn=r(82502),Tn=r(79513),kn=r(79036);const Fn=n.createContext(void 0),En=(Fn.Provider,(e,t)=>{const{noNativeElements:r,size:o}=gn();var i;const a=(null!==(i=e.as)&&void 0!==i?i:r)?"div":"tr",s=(0,Tn.Y)(),l=(0,kn.R)(),u=""===n.useContext(Fn);var c;return{components:{root:a},root:Ge.Gk((0,ze.g)(a,{ref:(0,Cn.a)(t,s,l),role:"div"===a?"row":void 0,...e}),{elementType:a}),size:o,noNativeElements:r,appearance:null!==(c=e.appearance)&&void 0!==c?c:"none",isHeaderRow:u}}),An=(0,mn.X)({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),In=(0,mn.X)({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),xn=(0,mn.X)({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootSubtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),wn=n.forwardRef(((e,t)=>{const r=En(e,t);return(e=>{const t=xn(),r={table:An(),flex:In()};e.root.className=(0,Ve.z)("fui-TableRow",t.root,t.rootSubtleSelection,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?r.flex.root:r.table.root,t[e.appearance],e.root.className)})(r),(0,yn.$e)("useTableRowStyles_unstable")(r),(e=>((0,He.C)(e),(0,We.Y)(e.root,{})))(r)}));wn.displayName="TableRow";const Pn=(0,mn.X)({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),Rn=(0,mn.X)({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Dn=(0,mn.X)({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),_n=n.forwardRef(((e,t)=>{const r=((e,t)=>{var r;const n=(null!==(r=e.as)&&void 0!==r?r:e.noNativeElements)?"div":"table";var o,i,a;return{components:{root:n},root:Ge.Gk((0,ze.g)(n,{ref:t,role:"div"===n?"table":void 0,...e}),{elementType:n}),size:null!==(o=e.size)&&void 0!==o?o:"medium",noNativeElements:null!==(i=e.noNativeElements)&&void 0!==i&&i,sortable:null!==(a=e.sortable)&&void 0!==a&&a}})(e,t);return(e=>{const t=Dn(),r={table:Pn(),flex:Rn()};e.root.className=(0,Ve.z)("fui-Table",t.root,e.noNativeElements?r.flex.root:r.table.root,e.root.className)})(r),(0,yn.$e)("useTableStyles_unstable")(r),((e,t)=>((0,He.C)(e),(0,We.Y)(hn,{value:t.table,children:(0,We.Y)(e.root,{})})))(r,function(e){const{size:t,noNativeElements:r,sortable:o}=e;return{table:n.useMemo((()=>({noNativeElements:r,size:t,sortable:o})),[r,t,o])}}(r))}));_n.displayName="Table";const Nn=(0,mn.X)({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),On=(0,mn.X)({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Mn=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{noNativeElements:r}=gn();var n;const o=(null!==(n=e.as)&&void 0!==n?n:r)?"div":"tbody";return{components:{root:o},root:Ge.Gk((0,ze.g)(o,{ref:t,role:"div"===o?"rowgroup":void 0,...e}),{elementType:o}),noNativeElements:r}})(e,t);return(e=>{const t={table:Nn(),flex:On()};e.root.className=(0,Ve.z)("fui-TableBody",e.noNativeElements?t.flex.root:t.table.root,e.root.className)})(r),(0,yn.$e)("useTableBodyStyles_unstable")(r),(e=>((0,He.C)(e),(0,We.Y)(e.root,{})))(r)}));Mn.displayName="TableBody";var Bn=r(35070);class Ln extends n.PureComponent{componentWillUnmount(){this.async.dispose()}get cellCount(){return this.props.columns*this.props.rows}render(){return n.createElement(T.V,null,(e=>{const t=cn(e,this.props.appColors,this.props.styles),r=ln(t,!1,!!this.props.disabled);return n.createElement("div",null,this.state.displayTitle&&this.renderTableTitle(r),this.renderTable(r))}))}renderTableTitle(e){return n.createElement("div",{id:this.props.id,className:e.tableTitle,role:"heading","aria-level":1},n.createElement("span",{className:e.tableTitleInnerSpan},this.state.displayTitle))}renderTable(e){const t=(0,ge.i2)(this.context,ge.PE.insertTableGridFluentV9IsEnabled),r=!!(0,ge.i2)(this.context,ge.PE.headlessThemingEnabled);return n.createElement("div",{className:e.root,"aria-labelledby":this.props.id,onFocus:this.props.onFocus,"data-automation-type":"RibbonInsertTable","data-unique-id":(0,F.lj)(this.props),"aria-posinset":this.props.positionInSet,"aria-setsize":this.props.setSize,"data-no-vertical-wrap":!0,"data-no-horizontal-wrap":!1},t?r?n.createElement(sn.o,null,n.createElement(_n,{role:"grid","aria-labelledby":this.props.id,style:{width:"auto",borderCollapse:"collapse"}},n.createElement(Mn,null,this.generateTable()))):n.createElement(Bn.q,{theme:te.o3.getInstance().getThemeNext()},n.createElement(_n,{role:"grid","aria-labelledby":this.props.id,style:{width:"auto",borderCollapse:"collapse"}},n.createElement(Mn,null,this.generateTable()))):n.createElement(nn.f,{items:this.generateItems(this.cellCount),columnCount:this.props.columns,onRenderItem:this.onRenderItem,doNotContainWithinFocusZone:!0,"aria-labelledby":this.props.id}))}updatePreviewTitle(e,t,r,n){let o=Kn(e,t,r),i=Wn(e,t,r);o=void 0!==o?o+1:void 0,i=void 0!==i?i+1:void 0;const a=this.buildPreviewTitle(o,i);return n&&this.setState({displayTitle:a}),a}buildPreviewTitle(e,t){return void 0!==e&&void 0!==t&&this.props.onPreviewTitle?this.props.onPreviewTitle.replace("{0}",String(e)).replace("{1}",String(t)):this.props.title}generateItem(e){return{index:e,label:this.updatePreviewTitle(e,this.props.columns,this.cellCount,!1)}}constructor(e){super(e),this.navigationIdleDelay_ms=250,this.defaultTableSizeIndex=0,this.onMouseLeave=e=>{if(!this.isNavigationIdle||this.props.disabled)return;const t=document.querySelectorAll('[tabindex="0"][role="menu"]');for(let r=0;r<t.length;r+=1)if(t[r].contains(e.currentTarget)){t[r].setActive?t[r].setActive():t[r].focus();break}this.setState({hoveredCellIndex:void 0}),this.props.onPreviewTitle&&this.setState({displayTitle:this.buildPreviewTitle(void 0,void 0)})},this.onKeydown=(e,t)=>{if(!this.props.disabled)if(t.which===on.c.up||t.which===on.c.down||t.which===on.c.left||t.which===on.c.right){const e=function(e,t,r,n){if(void 0===t)return 0;let o=0;switch(e){case 38:o=t<r?n-(r-t):t-r;break;case 40:o=t>=n-r?t-(n-r):t+r;break;case 37:o=Gn(t,r)?t+r-1:t-1;break;case 39:o=zn(t,r)?t-r+1:t+1}return o}(t.keyCode,this.state.hoveredCellIndex,this.props.columns,this.cellCount);if(t.preventDefault(),t.stopPropagation(),this.setState({hoveredCellIndex:e}),this.props.title&&this.props.onPreviewTitle){this.updatePreviewTitle(e,this.props.columns,this.cellCount,!0);const t=this.updatePreviewTitle(e,this.props.columns,this.cellCount,!0),r=(this.context.appWindow?.document||document).querySelector(`[aria-label="${t}"]`);r&&r.focus()}this.setNavigationTimeout()}else t.which===on.c.enter&&void 0!==this.state.hoveredCellIndex&&(t.preventDefault(),t.stopPropagation(),this.onClick(e,t))},this.onKeydownV2=(e,t)=>{if(!this.props.disabled)if("ArrowUp"===t.key||"ArrowDown"===t.key||"ArrowLeft"===t.key||"ArrowRight"===t.key){const e=function(e,t,r,n){if(void 0===t)return 0;let o=0;switch(e){case"ArrowUp":o=t<r?n-(r-t):t-r;break;case"ArrowDown":o=t>=n-r?t-(n-r):t+r;break;case"ArrowLeft":o=Gn(t,r)?t+r-1:t-1;break;case"ArrowRight":o=zn(t,r)?t-r+1:t+1}return o}(t.key,this.state.hoveredCellIndex,this.props.columns,this.cellCount);if(t.preventDefault(),t.stopPropagation(),this.setState({hoveredCellIndex:e}),this.props.title&&this.props.onPreviewTitle){const t=this.updatePreviewTitle(e,this.props.columns,this.cellCount,!0),r=(this.context.appWindow?.document||document).querySelector(`[aria-label="${t}"]`);r&&r.focus()}this.setNavigationTimeout()}else"Enter"===t.key&&void 0!==this.state.hoveredCellIndex&&(t.preventDefault(),t.stopPropagation(),this.onClick(e,t))},this.onRenderItem=e=>n.createElement(T.V,null,(t=>{const r=cn(t,this.props.appColors,this.props.styles),o=ln(r,this.isCellHighlighted(e.index),!!this.props.disabled);return n.createElement("div",{role:"gridcell","aria-label":e.label,className:o.cell,onMouseEnter:t=>this.onMouseEnterOrFocus(e,t),onClick:t=>this.onClick(e,t),onMouseLeave:this.onMouseLeave,onWheel:this.onWheel,onFocus:()=>this.onMouseEnterOrFocus(e),onMouseMove:t=>this.onMouseMove(e,t),onKeyDown:t=>this.onKeydown(e,t),"data-is-focusable":!0,tabIndex:0})})),this.onRenderItemV2=e=>{const t=e.index===this.state.hoveredCellIndex||e.index===this.defaultTableSizeIndex&&!this.state.hoveredCellIndex;return n.createElement(T.V,null,(r=>{const o=cn(r,this.props.appColors,this.props.styles),i=ln(o,this.isCellHighlighted(e.index),!!this.props.disabled);return n.createElement(Sn,{key:e.index,role:"gridcell","aria-label":e.label,className:i.tableCell,style:{height:15,width:15,padding:0},onMouseEnter:t=>this.onMouseEnterOrFocusV2(e,t),onClick:t=>this.onClick(e,t),onMouseLeave:this.onMouseLeave,onWheel:this.onWheel,onFocus:()=>this.onMouseEnterOrFocusV2(e),onMouseMove:t=>this.onMouseMove(e,t),onKeyDown:t=>this.onKeydownV2(e,t),"data-is-focusable":t,tabIndex:t?0:-1})}))},this.onMouseEnterOrFocus=(e,t)=>{this.isNavigationIdle&&!this.props.disabled&&(this.props.onPreviewTitle&&this.updatePreviewTitle(e.index,this.props.columns,this.cellCount,!0),t&&t.currentTarget.focus(),this.setState({hoveredCellIndex:e.index}))},this.onMouseEnterOrFocusV2=(e,t)=>{if(!this.isNavigationIdle||this.props.disabled)return;const r=e.index!==this.defaultTableSizeIndex||this.state.hoveredCellIndex?e.index:this.defaultTableSizeIndex;this.props.onPreviewTitle&&this.updatePreviewTitle(r,this.props.columns,this.cellCount,!0),t&&t.currentTarget.focus(),this.setState({hoveredCellIndex:r})},this.onClick=(e,t)=>{if(!this.props.disabled&&this.props.onExecute){const r=Kn(e.index,this.props.columns,this.cellCount),n=Wn(e.index,this.props.columns,this.cellCount);if(void 0!==r&&void 0!==n){const{id:e,location:o}=this.props;this.props.onExecute({id:e,columns:r+1,rows:n+1,location:o,triggerTime:t.timeStamp,inputMethod:(0,an.m)(t),event:t?.nativeEvent,terminalParentControlId:this.props.terminalParentControlId})}}},this.onMouseMove=(e,t)=>{const r=t.currentTarget;!this.isNavigationIdle||document&&r===document.activeElement||(this.props.onPreviewTitle&&this.updatePreviewTitle(e.index,this.props.columns,this.cellCount,!0),t.currentTarget.focus(),this.setState({hoveredCellIndex:e.index}))},this.generateItems=e=>{let t=0;const r=[];for(;t<e;)r.push(this.generateItem(t)),t+=1;return r},this.generateTable=()=>{const e=this.generateCells(),t=[],r=this.props.columns;let o=0;for(;o<e.length;){const i=[];for(let t=0;t<r;t++)i.push(this.onRenderItemV2(e[o+t]));t.push(n.createElement(wn,{appearance:"neutral",key:t.length},i)),o+=r}return t},this.generateCells=()=>{const e=[];let t=0;for(;t<this.cellCount;)e.push({index:t,label:this.updatePreviewTitle(t,this.props.columns,this.cellCount,!1)}),t++;return e},this.isCellHighlighted=e=>void 0!==this.state.hoveredCellIndex&&e<=this.state.hoveredCellIndex&&e%this.props.columns<=this.state.hoveredCellIndex%this.props.columns,this.onWheel=()=>{this.setNavigationTimeout()},this.setNavigationTimeout=()=>{this.isNavigationIdle||void 0===this.navigationIdleTimeoutId?this.isNavigationIdle=!1:(this.async.clearTimeout(this.navigationIdleTimeoutId),this.navigationIdleTimeoutId=void 0),this.navigationIdleTimeoutId=this.async.setTimeout((()=>{this.isNavigationIdle=!0}),this.navigationIdleDelay_ms)},this.isNavigationIdle=!0,this.async=new me.j(this),this.state={hoveredCellIndex:void 0,displayTitle:this.props.title}}}function Kn(e,t,r){if(Hn(e,r))return e%t}function Wn(e,t,r){if(Hn(e,r))return Math.floor(e/t)}function Hn(e,t){return e<t&&e>=0}function Gn(e,t){return e%t==0}function zn(e,t){return e%t==t-1}Ln.contextType=he.B;var Un=r(81385),Vn=r(55064);class jn extends n.PureComponent{render(){return n.createElement(Vn.M,{...this.props})}}var qn=r(55033),$n=r(94935),Qn=r(5240),Xn=r(26297);const Yn=n.memo((e=>{const t={...e,tableCellContent:Xn.a,getTableStyling:Xt.u1,shouldTakeFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus,title:void 0,label:e.title,ariaLabel:e.title};return n.createElement(Qn.Z,{...t})}));class Jn extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,galleryButtons:o}=this.props;return n.createElement(T.V,null,(i=>n.createElement(qn.z,{...this.props,styles:(0,Ut.cW)(i,(0,Xt.Sd)(i,r)),getGalleryButtonComponent:Yn,defaultWidth:t||(0,$n.fl)(e,Xt.Fr,o,r)})))}}Jn.contextType=he.B;var Zn=r(60689);class eo extends n.PureComponent{render(){return n.createElement(Zn.i,{...this.props})}}var to=r(70783);const ro=e=>({root:{height:75,width:61,padding:2,fontSize:12,color:(0,te.Q)()?e.palette.neutralPrimary:"#333333",boxSizing:"content-box",borderWidth:4}}),no=(0,s.J9)(((e,t)=>({galleryButtonInExpanded:(0,i.TW)(ro(e),t&&t.galleryButtonInExpanded)}))),oo=e=>({height:"100%",width:"100%",position:"relative",border:`1px solid ${(0,te.Q)()?e.palette.neutralSecondaryAlt:"#969696"}`,boxSizing:"border-box"}),io=(0,s.J9)(((e,t)=>(0,Ut.cW)(e,no(e,t)))),ao=e=>{let t;switch(e%3){case 0:t={textAlign:"left",margin:"3px 6px"};break;case 1:t={textAlign:"center",margin:"3px 0px"};break;case 2:t={textAlign:"right",margin:"3px -6px"}}const r=e<3?{top:"0"}:{bottom:"0"};return{...t,...r,position:"absolute",width:"100%"}},so=n.memo((e=>{const t=void 0!==e.index?e.index:0;return n.createElement(T.V,null,(r=>n.createElement(to.A,{...e,automationType:"RibbonPageNumber",uniqueId:e.id,shouldTakeFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus,title:void 0,label:e.title,ariaLabel:e.title},n.createElement("div",{className:(0,i.Zq)(oo(r))},n.createElement("div",{className:(0,i.Zq)(ao(t))},e.text)))))}));class lo extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,galleryButtons:o}=this.props;return n.createElement(T.V,null,(i=>n.createElement(qn.z,{...this.props,getGalleryButtonComponent:so,styles:io(i,r),"data-automation-type":"RibbonPageNumberGallery","data-unique-id":(0,F.lj)(this.props),defaultWidth:t||(0,$n.fl)(e,73,o,r)})))}}lo.contextType=he.B;var uo=r(93235);class co extends n.PureComponent{render(){return n.createElement(uo.q,{...this.props})}}var po=r(82873);class ho extends n.PureComponent{render(){return n.createElement(po.i,{...this.props})}}const go=n.memo((e=>{const t=e.style;return n.createElement(to.A,{...e,title:void 0,label:e.styleDisplayName,ariaLabel:e.styleDisplayName,automationType:"AppInkThickness",uniqueId:e.id,shouldTakeFocus:!0},n.createElement("div",{className:(0,i.Zq)(t&&t.label)},e.styleDisplayName))})),mo={[i.up]:{borderColor:"transparent",color:"ButtonText",backgroundColor:"ButtonText",...(0,i.Qg)()}},fo=(0,s.J9)((()=>({root:{height:26,borderWidth:2}}))),vo=(0,s.J9)((()=>({root:["galleryButton",{boxSizing:"content-box",height:28,padding:"0px 0px 0px 8px",borderWidth:4,textAlign:"left",selectors:{[i.up]:{borderColor:"transparent"}}}],flexContainer:{justifyContent:"flex-start",...(0,X.Od)()},label:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",display:"block",textOverflow:"ellipsis",lineHeight:"normal",selectors:{...mo}}}))),bo={selectors:{[i.up]:{borderColor:"Highlight",backgroundColor:"transparent",outlineColor:"ButtonText",...(0,i.Qg)()}}},yo={root:{width:108,borderWidth:4,selectors:{":focus":{borderWidth:4}}},rootChecked:[{borderWidth:4,selectors:{":focus":[X.KN,bo]}},bo],rootFocused:bo,rootPressed:bo,rootHovered:[X.KN,bo],rootCheckedHovered:[X.KN,bo]},So=(0,s.J9)(((e,t)=>({...t,galleryContainer:t&&t.galleryContainer,galleryButtonInPreview:(0,i.TW)(vo(),(0,Ae.G)()&&fo(),t&&t.galleryButtonInPreview),galleryButtonInExpanded:(0,i.TW)(vo(),yo,t&&t.galleryButtonInExpanded)})));class Co extends n.PureComponent{render(){const{columns:e,defaultWidth:t,styles:r,getGalleryButtonComponent:o,galleryButtons:i}=this.props;return n.createElement(T.V,null,(a=>n.createElement(qn.z,{...this.props,styles:(0,Ut.cW)(a,So(a,r)),getGalleryButtonComponent:o||go,columns:e,defaultWidth:t||(0,$n.fl)(e,124,i,void 0)})))}}Co.contextType=he.B;class To extends n.PureComponent{render(){return n.createElement(Co,{...this.props})}}var ko=r(69246),Fo=r(43881),Eo=r(23693),Ao=r(23162);const Io=e=>{const t={root:{":hover":X.s0,":focus":X.s0},rootDisabled:{":hover":X.Jt,":focus":X.$P}};return(0,i.TW)(t,e)};class xo extends n.PureComponent{componentDidMount(){this.initializeTooltipHost()}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(e){this.props.customTooltip&&e.customTooltip!==this.props.customTooltip&&(this.tooltipHost?this.tooltipHost.updateTooltip(this.props.customTooltip):this.initializeTooltipHost())}initializeTooltipHost(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&this.props.customTooltip&&(this.tooltipHost=new Ao.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.iconButtonWrapper.current,controlId:this.props.id,controlLabel:this.props.customTooltip,tooltipDirection:this.props.tooltipDirection,performSetOnNextFrame:!0,location:this.props.location}),this.tooltipHost.registerTooltipHostActions())}render(){const{customTooltip:e,styles:t,...r}=this.props;return n.createElement(Eo.K,{ref:this.iconButtonRef,elementRef:this.iconButtonWrapper,...r,styles:Io(this.props.styles),ariaLabel:e})}constructor(){super(...arguments),this.iconButtonRef=n.createRef(),this.iconButtonWrapper=n.createRef()}}xo.contextType=he.B;const wo=(0,s.J9)((e=>(0,i.l8)((e=>{const t=(0,Y.C)(e);return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",paddingTop:"5px",alignItems:"center",color:t.textColor},title:{fontSize:"12px",paddingLeft:"15px"},button:{border:`1px solid ${t.borderColor}`,selectors:{":hover":[{border:`1px solid ${t.selectedBorderColor}`,backgroundColor:t.hoverBackgroundColor},X.s0],":focus":[{border:`1px solid ${t.selectedBorderColor}`}],[i.up]:X.Yw}}}})(e)))),Po=e=>{const{id:t,label:r,description:o,icon:i,onExecute:a}=e,s=n.useContext(he.B),l=n.useRef(void 0),u=n.useRef(null),c=n.useRef(null),d=r??"";n.useEffect((()=>(s.setTooltipElement&&s.updateTooltipsHidden&&d&&(l.current=new Ao.x({updateTooltipsHidden:s.updateTooltipsHidden,setTooltipElement:s.setTooltipElement,htmlElement:c.current,controlId:t,controlLabel:d,tooltipTopMargin:0,isMenuComponent:!0,tooltipDirection:_e.A.bottomCenter,performSetOnNextFrame:!0}),l.current.registerTooltipHostActions()),()=>{l.current&&(l.current.unregisterTooltipHostActions(),l.current=void 0)})),[]),n.useEffect((()=>{l.current&&l.current.updateTooltip(d)}),[d]);const p=t+"Title",h=t+"Button";return n.createElement(T.V,null,(e=>{const s=wo(e);return n.createElement("div",{className:s.root,id:t+"Item",ref:c},n.createElement("label",{className:s.title,id:p},r),n.createElement(xo,{className:s.button,id:h,"data-is-focusable":!0,type:"AppIconButtonProps",iconProps:{iconName:i},"aria-label":o,"aria-describedby":p,ref:u,onClick:a?e=>{e.preventDefault(),e.stopPropagation(),a({event:e.nativeEvent,id:t})}:void 0}))}))};var Ro=r(10625),Do=r(97130);const _o=(0,s.J9)(((e,t,r)=>(0,i.l8)(((e,t)=>{const r=(0,Y.C)(e),n=(0,o.jI)(),a='"Segoe UI Semibold", "Segoe UI Semibold_EmbeddedFont", "Segoe UI Semibold_MSFontService", sans-serif;';return{root:{lineHeight:"initial",display:"flex",alignItems:"center",gap:"8px",padding:"7px 9px",margin:"1px 1px 1px 16px",border:"1px solid transparent",background:"none",fontSize:"12px",cursor:t?"pointer":"default",borderRadius:"6px",color:r.textColor,fontFamily:'"Segoe UI Semilight", "Segoe UI Semilight_EmbeddedFont", "Segoe UI Semilight_MSFontService", sans-serif !important;',boxSizing:"content-box",width:310,selectors:{":hover":[{backgroundColor:t?r.hoverBackgroundColor:"transparent",border:`1px solid ${r.selectedBorderColor}`},t?X.s0:null],":hover a":X.s0,":focus":[{backgroundColor:t?r.hoverBackgroundColor:"transparent",border:`1px solid ${r.selectedBorderColor}`},t?X.s0:null],":focus a":X.s0,":pressed":[{backgroundColor:t?r.pressedBackgroundColor:"transparent"}],[i.up]:t?X.Yw:null}},content:{flexGrow:1,overflow:"hidden",padding:"0px 2px 2px 2px"},icon:{height:"24px",width:"24px",minWidth:"24px",overflow:"hidden",borderRadius:"4px",border:`1px solid ${r.borderColor}`,padding:"6px",selectors:{">img":{borderRadius:"4px"}}},labelContainer:{display:"flex",gap:4,alignItems:"baseline"},secondaryLabel:{fontSize:10,fontFamily:a},label:{direction:n?"ltr":void 0,lineHeight:18,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",fontSize:"13px",fontFamily:a},description:{direction:n?"ltr":void 0,textOverflow:"ellipsis",lineHeight:16,whiteSpace:"nowrap",overflow:"hidden",textAlign:"left"},links:{display:"flex",gap:4,selectors:{">a":{lineHeight:16,fontSize:11,overflow:"hidden",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",[i.up]:{color:"LinkText"}},">a:hover, >a:focus, >a:focus-visible":{textDecoration:"underline",[i.up]:X.s0},">a:focus-visible":{outline:"1px solid",outlineColor:r.focusedBorderColor}}},divider:{fontSize:11,color:(0,te.Q)()?r.menuDividerBackgroundColor:"#c8c8c8"},details:{display:"flex",gap:4,alignItems:"center",selectors:{">a":{lineHeight:16,fontSize:11,overflow:"hidden",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",[i.up]:{color:"LinkText"}},">a:hover":{textDecoration:"underline",[i.up]:X.s0}}},detail:{display:"flex",gap:1,alignItems:"center",lineHeight:16,fontSize:11,fontWeight:600,textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},button:{height:"unset",padding:"7px 1px",fontSize:"11px",border:`1px solid ${r.borderColor}`,borderRadius:"4px",cursor:"pointer",fontWeight:600,wordBreak:"keep-all",color:r.textColor,selectors:{":hover":[{backgroundColor:r.hoverBackgroundColor},X.s0],[i.up]:X.Yw}}}})(e,t),r))),No=e=>{const{id:t,icon:r,label:o,description:i,links:a,details:s,actionButtonText:l,styles:u,secondaryLabel:c,customTooltip:d,disableCircularNavigation:p,role:h="menuitem",onActionButtonExecute:g,onExecute:m,onLinkExecute:f}=e,v=n.useContext(he.B),b=n.useRef(void 0),y=n.useRef(null),S=n.useRef(null),F=d??i??"";n.useEffect((()=>(v.setTooltipElement&&v.updateTooltipsHidden&&F&&(b.current=new Ao.x({updateTooltipsHidden:v.updateTooltipsHidden,setTooltipElement:v.setTooltipElement,htmlElement:S.current,controlId:t,controlLabel:F,tooltipTopMargin:0,isMenuComponent:!0,tooltipDirection:_e.A.leftCenter,performSetOnNextFrame:!0}),b.current.registerTooltipHostActions()),()=>{b.current&&(b.current.unregisterTooltipHostActions(),b.current=void 0)})),[]),n.useEffect((()=>{b.current&&b.current.updateTooltip(F)}),[F]);const E=n.useCallback((e=>(e.event?.preventDefault(),e.event?.stopPropagation(),g(e))),[g]),I=n.useCallback((e=>{!e.nativeEvent.defaultPrevented&&m&&(e.preventDefault(),e.stopPropagation(),m({event:e.nativeEvent,id:t}))}),[m,t]),x=e=>{e.stopPropagation(),f?.(e.currentTarget.href)};return n.createElement(T.V,null,(e=>{const d=_o(e,void 0!==m,u),g=[o,i].filter((e=>!!e)).join(" ");return n.createElement("div",{ref:S},n.createElement(Ro.R,{className:d.root,"aria-label":g,role:h,as:"button",isCircularNavigation:!p,direction:Do.E.horizontal,onClick:m?I:void 0,"data-is-focusable":!0,id:t+"Item",allowFocusRoot:!0,ref:y},r&&n.createElement(C.I,{iconName:r,className:d.icon}),n.createElement("div",{className:d.content},n.createElement("div",{className:d.labelContainer},n.createElement("span",{className:d.label},o),c&&n.createElement("span",{className:d.secondaryLabel},c)),n.createElement("div",{className:d.description},i),a&&a.length>0&&n.createElement("div",{className:d.links},a.map((e=>n.createElement(A,{type:"AppLinkProps",id:e.href,key:e.href,"aria-label":e.text,onClick:x,"data-is-focusable":!0,handler:{href:e.href,target:e.href},text:e.text}))).reduce(((e,t,r)=>e.length>0?[e,n.createElement("span",{key:r,className:d.divider},"|"),t]:[t]),[])),s&&s.length>0&&n.createElement("div",{className:d.details},s.map((e=>e.href?n.createElement(A,{type:"AppLinkProps",id:e.href,key:e.href,"aria-label":e.text,onClick:x,"data-is-focusable":!0,handler:{href:e.href,target:e.href},text:e.text}):n.createElement("span",{className:d.detail,key:e.text},e.icon&&n.createElement(C.I,{iconName:e.icon}),e.text))).reduce(((e,t,r)=>e.length>0?[...e,n.createElement("span",{key:r,className:d.divider},"|"),t]:[t]),[]))),l&&n.createElement(k.S,{"data-is-focusable":!0,className:d.button,type:"AppButtonProps",label:l,fullDescriptionLabel:l+" "+o,id:t+"ActionButton",onExecute:E})))}))},Oo=e=>{const{isFeedbackButton:t}=e;return t?n.createElement(Po,{...e}):n.createElement(No,{...e})};var Mo=r(9236),Bo=r(26515);function Lo(e,t){if(!e)throw new Error(`Missing appIcons for the control of type ${t} in a Ribbon menu`);return!0}const Ko=e=>n.createElement(Bo.I,{...e,personaProps:{avatar:{children:(t,r)=>e.onRenderIcon?e.onRenderIcon(e):n.createElement(t,{...r})}}});function Wo(e,t,r,s,l,h){const g=isNaN(r)?void 0:r,m=isNaN(s)?void 0:s;switch(e.type){case"AppSpinButtonProps":if(Lo(l,e.type))return n.createElement(jr.X,{positionInSet:g,setSize:m,...e,styles:u(e.styles),incrementButtonIcon:l.spinButtonUpChevron,decrementButtonIcon:l.spinButtonDownChevron,isMenuItem:!0});break;case"AppComboBoxProps":if(Lo(l,e.type))return n.createElement(qr._,{positionInSet:g,setSize:m,...e,showLabel:!0,styles:(0,p.e)(e.icon,e.styles),pinToPreviousComboBox:!1,downChevronIcon:l.downChevron,identifiersAbove:!1,isMenuItem:!0});break;case"AppCheckboxProps":if(Lo(l,e.type))return n.createElement($r.w,{positionInSet:g,styles:(0,d.Oq)(),setSize:m,isMenuItem:!0,...e,checkmarkIcon:l.checkboxCheckmark,useLegacyCheckbox:!("useLegacyCheckbox"in e)||!!e.useLegacyCheckbox});break;case"AppColorPickerProps":return n.createElement(tn,{positionInSet:g,setSize:m,isMenuItem:!0,...(0,St.A)(e,t),shouldTakeFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus});case"AppFontPickerProps":if(Lo(l,e.type)){const t=(0,i.l8)(x(!!e.icon),e.labelStyles);return n.createElement(rn.Y,{...e,labelStyles:t,showLabel:!0,downChevronIcon:l.downChevron,isMenuItem:!0})}break;case"AppToggleProps":return n.createElement(le,{...e,styles:e.styles?de(e.styles):ce()});case"RibbonInsertTableProps":return n.createElement(Ln,{positionInSet:g,setSize:m,appColors:e.appColors,...(0,St.A)(e,t)});case"RibbonChangeColorsFullGalleryProps":return n.createElement(Un.I,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"AppCharacterCodeGalleryProps":return n.createElement(jn,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"RibbonTableStylesFullGalleryProps":return n.createElement(Jn,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"AppListGalleryProps":return n.createElement(eo,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"RibbonPageNumberFullGalleryProps":return n.createElement(lo,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"AppIconFullGalleryProps":return n.createElement(co,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"AppFontStylesFullGalleryProps":return n.createElement(ho,{positionInSet:g,setSize:m,controlInMenuRendererFunction:h,...(0,Vr.q)(e,t),iconName:(0,o.jI)()?l?.submenuLauncherRtl:l?.submenuLauncher});case"AppInkThicknessFullGalleryProps":return n.createElement(To,{positionInSet:g,setSize:m,...(0,Vr.q)(e,t)});case"AppPersonaButtonProps":return n.createElement(Ko,{...e,positionInSet:g,setSize:m});case"AppCompoundButtonProps":return n.createElement(T.V,null,(r=>n.createElement(ko.M,{positionInSet:g,setSize:m,...(0,St.A)(e,t),useLegacyButton:!0,keytipProps:(0,P.J)(e.keytipProps),shouldTakeFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus,lang:e.lang,enableFocusOnHover:!1,styles:(0,c.nZ)(r,e.styles)})));case"AppSliderProps":return n.createElement(Fo.q,{positionInSet:g,setSize:m,...e,shouldTakeFocus:void 0===e.shouldTakeFocus||e.shouldTakeFocus});case"AppInputProps":return n.createElement(w.g,{positionInSet:g,setSize:m,...e,role:e.role||"menuitem"});case"Multiline":return n.createElement(pe.M,null,n.createElement(N,null,(r=>n.createElement("div",{...r},n.createElement(Ur,{...e,dismissMenu:t})))));case"AppSearchBoxProps":return n.createElement(R.L,{...e});case"AppErrorViewProps":return n.createElement(I,{...e,...(0,St.A)(e,t)});case"AppLabelProps":if(e.isBanner)return n.createElement(a.w,{...e,...(0,St.A)(e,t)});throw new Error("Not supporting base type AppLabel");case"AppMultiActionButtonProps":return n.createElement(Oo,{...e,onExecute:(0,Mo.Q)(e.onExecute,t),onActionButtonExecute:(0,Mo.Q)(e.onActionButtonExecute,t),onLinkExecute:(0,Mo.Q)(e.onLinkExecute,t)});default:throw new Error(`The control of type ${e.type} is not valid in a Ribbon menu`)}throw new Error("No JSX element returned")}},90537:(e,t,r)=>{"use strict";r.d(t,{S:()=>o});const n="";function o(e){const t=e??"";let r=t,o=null;const i=t.lastIndexOf(n);if(-1!==i)r=t.substr(0,i),o=t.substr(i+2);else{const e=t.lastIndexOf(" ");-1!==e&&(r=t.substr(0,e),o=t.substr(e+1))}return{line1:r,line2:o}}},75334:(e,t,r)=>{"use strict";r.d(t,{m:()=>u});var n=r(10477),o=r(90044),i=r(26838),a=r(85631),s=r(21406),l=r(90537);const u=(0,o.J9)(((e,t)=>{const{line1:r,line2:o}=(0,l.S)(e),u=!!o;return n.createElement("span",{className:(0,i.z)(a.Mb,t)},r,u&&n.createElement("span",{className:s.vH,"aria-hidden":"true"}),o&&o.length&&o)}))},61864:(e,t,r)=>{"use strict";r.d(t,{e:()=>u});var n=r(10477),o=r(37241),i=r(90537),a=r(1290),s=r(57674),l=r(85963);const u=(e,t,r,u,d,p)=>{const{line1:h,line2:g}=(0,i.S)(e);return n.createElement(s.B.Consumer,null,(e=>{const i=!!(0,l.i2)(e,l.PE.fluentV9IconIsEnabled);return n.createElement("div",{className:u},h,n.createElement("div",{className:d},g,i?n.createElement(a.z,{...t,className:p,style:r?c:void 0}):n.createElement(o.I,{...t,className:p,style:r?c:void 0})))}))},c={opacity:.4}},65882:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var n=r(18550);function o(e,t){if(!e)return;let r;switch(t){case n.J.Small:r=e.icon16;break;case n.J.Large:r=e.icon32}return r||e.default}},59360:(e,t,r)=>{"use strict";r.d(t,{Rl:()=>b,ho:()=>g,EA:()=>v,cF:()=>p,_L:()=>h});var n=r(39398),o=r(69284),i=r(74445);const a=100,s=i.Z.controlHeight;var l=r(90588),u=r(17297),c=r(28095);const d=12,p=4,h=4;function g(){return(0,u.G)()?14:d}const m={bottomBarHeight:s,groupDividerPadding:{top:4,right:4,bottom:4,left:4}};let f;function v(e){return f||("SingleLine"===e?m:{bottomBarHeight:(0,u.G)()?a:90,groupDividerPadding:(0,u.G)()?{top:0,right:8,bottom:0,left:8}:{top:0,right:8,bottom:2,left:8}})}const b={selectors:{"&":{opacity:.4,pointerEvents:"none"},'&, & button, & input[type="text"], & div, & span, & label':[o.G_,{selectors:{[n.up]:{backgroundColor:"transparent",selectors:{'[aria-pressed="true"], [aria-checked="true"]':{backgroundColor:"highlight"}}}}}],[`.${c.j}`]:l.U9}}},22708:(e,t,r)=>{"use strict";r.d(t,{q:()=>o});var n=r(9236);function o(e,t){return"dismissHostingSurfaceOnExecute"in e&&!1===e.dismissHostingSurfaceOnExecute?e:{...e,onGalleryButtonExecute:(0,n.Q)(e.onGalleryButtonExecute,t)}}},35739:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(18550),o=r(20203),i=r(71938),a=r(61864),s=r(15294);function l(e){const{size:t,label:r,disabled:l}=e;if(t?.toLowerCase()===n.J.Large.toLowerCase()){const t=(0,o.J)((0,i.r)(e));if(t)return(0,a.e)(r,t,l,s.Q3,s.Xb,s.iQ)}}},44706:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});var n=r(10477),o=r(57674),i=r(85963),a=r(17297);const s=()=>{const e=n.useContext(o.B);return(0,a.G)()&&(0,i.i2)(e,i.PE.fluentV9InputComboboxIsEnabled)}},10656:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var n=r(18550);function o(e){return e===n.J.Small?"small":"medium"}},95033:(e,t,r)=>{"use strict";r.d(t,{I:()=>s,r:()=>l});var n=r(10477),o=r(57674),i=r(85963),a=r(17297);const s=()=>{const e=n.useContext(o.B);return(0,a.G)()&&(0,i.i2)(e,i.PE.fluentV9RibbonControlsIsEnabled)},l=e=>{const t=n.useContext(o.B);return(0,i.i2)(t,i.PE.newV9RibbonMenuEnabled)}},56021:(e,t,r)=>{"use strict";r.d(t,{F5:()=>b,NI:()=>k,UE:()=>y,_A:()=>T,xC:()=>m,xm:()=>S});var n=r(21609),o=r(39398),i=r(69284),a=r(18550),s=r(10191),l=r(95583),u=r(89858),c=r(63900);const d={transform:"scaleX(1)",transitionProperty:"transform",transitionDuration:n.k.durationNormal,transitionDelay:n.k.curveDecelerateMid,"@media screen and (prefers-reduced-motion: reduce)":{transitionDuration:"0.01ms",transitionDelay:"0.01ms"}},p={boxSizing:"border-box",content:'""',position:"absolute",left:"-1px",bottom:"-1px",right:"-1px",height:`max(2px, ${n.k.borderRadiusMedium})`,borderBottomLeftRadius:n.k.borderRadiusMedium,borderBottomRightRadius:n.k.borderRadiusMedium,borderBottom:`2px solid ${n.k.colorCompoundBrandStroke}`,clipPath:"inset(calc(100% - 2px) 0 0 0)",transform:"scaleX(0)",transitionProperty:"transform",transitionDuration:n.k.durationUltraFast,transitionDelay:n.k.curveAccelerateMid,"@media screen and (prefers-reduced-motion: reduce)":{transitionDuration:"0.01ms",transitionDelay:"0.01ms"}},h={borderBottomColor:n.k.colorCompoundBrandStrokePressed},g={"::after":{...p},":focus-within::after":{...d},":focus-within:active::after":{...h}},m={root:[{backgroundColor:n.k.colorNeutralBackground1},i.Yw],rootHovered:{selectors:{":hover":[{backgroundColor:n.k.colorNeutralBackground1Hover},i.s0]}},rootChecked:{backgroundColor:n.k.colorNeutralBackground1Selected},rootCheckedHovered:[{backgroundColor:n.k.colorNeutralBackground1Hover},i.s0],rootCheckedPressed:{selectors:{":active":{backgroundColor:n.k.colorNeutralBackground1Pressed}}},rootPressed:{selectors:{":active":{backgroundColor:n.k.colorNeutralBackground1Pressed}}}},f=(e,t)=>t?48:e===a.J.Large||e===a.J.Small?24:32,v=(e,t,r)=>({container:{height:f(e,r)},root:[{borderRadius:n.k.borderRadiusMedium,backgroundColor:n.k.colorNeutralBackground1,borderColor:n.k.colorNeutralStroke1,selectors:{"input[type=text]":{padding:n.k.spacingHorizontalNone,paddingLeft:n.k.spacingHorizontalS},button:{borderColor:n.k.colorNeutralBackground1,borderTopRightRadius:n.k.borderRadiusMedium,borderBottomRightRadius:n.k.borderRadiusMedium}}},!t&&{...g}],rootHovered:{borderColor:n.k.colorNeutralStroke1Hover},rootFocused:{borderColor:n.k.colorNeutralStroke1Selected},rootPressed:{borderColor:n.k.colorNeutralStroke1Pressed},rootDisabled:{borderColor:n.k.colorNeutralStrokeDisabled,backgroundColor:n.k.colorNeutralBackgroundDisabled},input:{color:n.k.colorNeutralForeground1},label:{margin:r?"0px 6px 7px 2px":"6px 6px 7px 2px"}}),b=(e,t,r,i,a)=>{switch(e){case"FontSize":case(0,s.vT)("FontSize",l.IZ.Floatie):return(0,o.TW)(v(t,r,a),i&&{root:{borderTopLeftRadius:n.k.borderRadiusNone,borderBottomLeftRadius:n.k.borderRadiusNone}});case"FontPicker":case"FontName":case"FontName_New":return(0,o.TW)(v(t,r,a),{root:{borderTopRightRadius:n.k.borderRadiusNone,borderBottomRightRadius:n.k.borderRadiusNone,button:{borderTopRightRadius:n.k.borderRadiusNone,borderBottomRightRadius:n.k.borderRadiusNone}}})}return v(t,r,a)},y=(e,t)=>({root:{height:32,display:"flex",alignItems:"center"},wrapper:{display:"flex"},fieldGroup:[{backgroundColor:n.k.colorNeutralBackground1,borderColor:n.k.colorNeutralStroke1,borderRadius:n.k.borderRadiusMedium,height:28,display:"flex",alignItems:"center"},!t&&{...g},t&&{borderColor:n.k.colorNeutralStrokeDisabled,backgroundColor:n.k.colorNeutralBackgroundDisabled}],field:[{paddingLeft:n.k.spacingHorizontalM,paddingRight:n.k.spacingHorizontalM,paddingTop:5,paddingBottom:7,height:24,width:e||130,color:n.k.colorNeutralForeground1,selectors:{"::placeholder":{color:n.k.colorNeutralStrokeAccessible},":-ms-input-placeholder":{color:n.k.colorNeutralStrokeAccessible}}},t&&{color:n.k.colorNeutralForegroundDisabled,selectors:{"::placeholder":{color:n.k.colorNeutralForegroundDisabled},":-ms-input-placeholder":{color:n.k.colorNeutralForegroundDisabled}}}]}),S=(e,t)=>(0,o.TW)({root:{height:f(e)},subComponentStyles:{textFieldStyles:e=>function(e){const{isActive:t,disabled:r}=e;return{root:[{backgroundColor:n.k.colorNeutralBackground1,borderColor:t?n.k.colorNeutralStrokeAccessible:n.k.colorNeutralStroke1,borderTopLeftRadius:n.k.borderRadiusMedium,borderBottomLeftRadius:n.k.borderRadiusMedium,borderTopRightRadius:n.k.borderRadiusNone,borderBottomRightRadius:n.k.borderRadiusNone},!r&&{...g,":hover":{button:{...i.s0}}},t&&!r&&{...g,selectors:{"::after":{...d},button:{...i.s0}}},r&&{borderColor:n.k.colorNeutralStrokeDisabled,backgroundColor:n.k.colorNeutralBackgroundDisabled}],textInput:{color:n.k.colorNeutralForeground1,[`${o.up}`]:{...c.dn,":hover":{...c.mn}}},subComponentStyles:{buttonStyles:m}}}(e),dropDownStyles:m}},t),C="spinButtonWrapper",T=(e,t)=>{const r=t===a.J.Small,s={root:[{selectors:{"input[type=text]":{paddingTop:3,paddingRight:0,paddingBottom:5,paddingLeft:8}}},!e&&{[`.${C}`]:{"::before":{...p,right:0,bottom:0,left:0,zIndex:20},":focus-within::before":{...d},":focus-within:active::before":{...h}}}],spinButtonWrapper:[C,{borderRadius:n.k.borderRadiusMedium,backgroundColor:n.k.colorNeutralBackground1,borderColor:n.k.colorNeutralStroke1,position:"relative",selectors:{":hover":{borderColor:n.k.colorNeutralStroke1Hover,button:{[o.up]:{backgroundColor:"ButtonFace"}}},":focus":{borderColor:n.k.colorNeutralStroke1Selected},":active":{borderColor:n.k.colorNeutralStroke1Pressed,button:{commonHighContrastButtonRestStyles:i.Yw}}}},e&&{backgroundColor:n.k.colorNeutralBackgroundDisabled,borderColor:n.k.colorNeutralStroke1}],labelWrapper:{height:32},label:{margin:"6px 6px 7px 2px"},input:[{color:n.k.colorNeutralForeground1},e&&{color:n.k.colorNeutralForegroundDisabled}],arrowButtonsContainer:{"&.ms-DownButton":[{borderRadius:`0 0 ${n.k.borderRadiusMedium} 0`},m],"&.ms-UpButton":[{borderRadius:`0 ${n.k.borderRadiusMedium} 0 0`},m]}};return(0,o.TW)(s,r&&{root:{marginLeft:4,paddingRight:0,width:"auto"},spinButtonWrapper:{marginRight:4}})},k=(e,t)=>({root:[{height:32,selectors:{[`${i.iv} &`]:{borderRadius:n.k.borderRadiusMedium},[`${i.iv} &:after`]:{borderRadius:n.k.borderRadiusMedium}}},!e&&{[`:active .${u.t5}`]:{background:n.k.colorNeutralBackground1Pressed,borderColor:n.k.colorNeutralStrokeAccessiblePressed}},!t&&!e&&{[`:hover .${u.T2}`]:{fill:n.k.colorNeutralBackground1Hover,background:n.k.colorNeutralBackground1Hover},[`:active .${u.T2}`]:{fill:n.k.colorNeutralBackground2Pressed,background:n.k.colorNeutralBackground1Pressed}},t&&!e&&{[`:hover .${u.t5}`]:{background:n.k.colorNeutralBackground1Hover}}],checkbox:[{borderRadius:n.k.borderRadiusMedium,borderColor:n.k.colorNeutralStrokeAccessible,backgroundColor:n.k.colorNeutralBackground1,margin:n.k.spacingHorizontalSNudge},!e&&{":hover":{borderColor:n.k.colorNeutralStrokeAccessibleHover,background:n.k.colorNeutralBackground1Hover}},e&&t&&{background:n.k.colorNeutralBackground1},e&&{borderColor:n.k.colorNeutralStrokeDisabled}],text:[{margin:"5px 6px 7px 2px",color:n.k.colorNeutralForeground1},e&&{color:n.k.colorNeutralForegroundDisabled}],checkmark:[t&&{fill:n.k.colorNeutralForeground2},t&&e&&{fill:n.k.colorNeutralForegroundDisabled}]})},66375:(e,t,r)=>{"use strict";r.d(t,{L:()=>ce});var n=r(10477),o=r(73725),i=r(54029),a=r(50550),s=r(82015),l=r(72341),u=r(93643),c=r(39773),d=r(30838),p=r(23693),h=r(37241),g="SearchBox",m={root:{height:"auto"},icon:{fontSize:"12px"}},f={iconName:"Clear"},v={ariaLabel:"Clear text"},b=(0,a.Z)(),y=n.forwardRef((function(e,t){var r=e.ariaLabel,o=e.className,a=e.defaultValue,y=void 0===a?"":a,S=e.disabled,C=e.underlined,T=e.styles,k=e.labelText,F=e.placeholder,E=void 0===F?k:F,A=e.theme,I=e.clearButtonProps,x=void 0===I?v:I,w=e.disableAnimation,P=void 0!==w&&w,R=e.showIcon,D=void 0!==R&&R,_=e.onClear,N=e.onBlur,O=e.onEscape,M=e.onSearch,B=e.onKeyDown,L=e.iconProps,K=e.role,W=e.onChange,H=e.onChanged,G=n.useState(!1),z=G[0],U=G[1],V=n.useRef(),j=(0,u.k)(e.value,y,(function(e,t){e&&e.timeStamp===V.current||(V.current=null==e?void 0:e.timeStamp,null==W||W(e,t),null==H||H(t))})),q=j[0],$=j[1],Q=String(q),X=n.useRef(null),Y=n.useRef(null),J=(0,c.a)(X,t),Z=(0,d.B)(g,e.id),ee=x.onClick,te=b(T,{theme:A,className:o,underlined:C,hasFocus:z,disabled:S,hasInput:Q.length>0,disableAnimation:P,showIcon:D}),re=(0,s.G1)(e,s.QQ,["className","placeholder","onFocus","onBlur","value","role"]),ne=n.useCallback((function(e){var t;null==_||_(e),e.defaultPrevented||($(""),null===(t=Y.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())}),[_,$]),oe=n.useCallback((function(e){null==ee||ee(e),e.defaultPrevented||ne(e)}),[ee,ne]),ie=n.useCallback((function(e){U(!1),null==N||N(e)}),[N]),ae=function(e){$(e.target.value,e)};return function(e,t,r){n.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.blur()},hasFocus:function(){return r}}}),[t,r])}(e.componentRef,Y,z),n.createElement("div",{role:K,ref:J,className:te.root,onFocusCapture:function(t){var r;U(!0),null===(r=e.onFocus)||void 0===r||r.call(e,t)}},n.createElement("div",{className:te.iconContainer,onClick:function(){Y.current&&(Y.current.focus(),Y.current.selectionStart=Y.current.selectionEnd=0)},"aria-hidden":!0},n.createElement(h.I,(0,i.Cl)({iconName:"Search"},L,{className:te.icon}))),n.createElement("input",(0,i.Cl)({},re,{id:Z,className:te.field,placeholder:E,onChange:ae,onInput:ae,onBlur:ie,onKeyDown:function(e){switch(e.which){case l.c.escape:null==O||O(e),Q&&!e.defaultPrevented&&ne(e);break;case l.c.enter:M&&(M(Q),e.preventDefault(),e.stopPropagation());break;default:null==B||B(e),e.defaultPrevented&&e.stopPropagation()}},value:Q,disabled:S,role:"searchbox","aria-label":r,ref:Y})),Q.length>0&&n.createElement("div",{className:te.clearButton},n.createElement(p.K,(0,i.Cl)({onBlur:ie,styles:m,iconProps:f},x,{onClick:oe}))))}));y.displayName=g;var S=r(39398),C=r(83082),T={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},k=(0,o.I)(y,(function(e){var t,r,n,o,i,a=e.theme,s=e.underlined,l=e.disabled,u=e.hasFocus,c=e.className,d=e.hasInput,p=e.disableAnimation,h=e.showIcon,g=a.palette,m=a.fonts,f=a.semanticColors,v=a.effects,b=(0,S.Km)(T,a),y={color:f.inputPlaceholderText,opacity:1},k=g.neutralSecondary,F=g.neutralPrimary,E=g.neutralLighter,A=g.neutralLighter,I=g.neutralLighter;return{root:[b.root,m.medium,S.S8,{color:f.inputText,backgroundColor:f.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:v.roundedCorner2,border:"1px solid ".concat(f.inputBorder),height:32,selectors:(t={},t[S.up]={borderColor:"WindowText"},t[":hover"]={borderColor:f.inputBorderHovered,selectors:(r={},r[S.up]={borderColor:"Highlight"},r)},t[":hover .".concat(b.iconContainer)]={color:f.inputIconHovered},t)},!u&&d&&{selectors:(n={},n[":hover .".concat(b.iconContainer)]={width:4},n[":hover .".concat(b.icon)]={opacity:0,pointerEvents:"none"},n)},u&&["is-active",{position:"relative"},(0,S.Sq)(f.inputFocusBorderAlt,s?0:v.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(o={},o[":hover .".concat(b.iconContainer)]={width:32},o[":hover .".concat(b.icon)]={opacity:1},o)}],l&&["is-disabled",{borderColor:E,backgroundColor:I,pointerEvents:"none",cursor:"default",selectors:(i={},i[S.up]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&l&&{backgroundColor:"transparent"},d&&"can-clear",c],iconContainer:[b.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:f.inputIcon,cursor:"text"},u&&{width:4},l&&{color:f.inputIconDisabled},!p&&{transition:"width ".concat(S.cs.durationValue1)},h&&u&&{width:32}],icon:[b.icon,{opacity:1},u&&{opacity:0,pointerEvents:"none"},!p&&{transition:"opacity ".concat(S.cs.durationValue1," 0s")},h&&u&&{opacity:1}],clearButton:[b.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:A},"&:hover .ms-Button-icon":{color:F},".ms-Button":{borderRadius:(0,C.jI)(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:k}}}],field:[b.field,S.S8,(0,S.CX)(y),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:f.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},l&&{color:f.disabledText}]}}),void 0,{scope:"SearchBox"}),F=r(10191),E=r(20203),A=r(40480),I=r(90044),x=r(31781);const w=(0,I.J9)(((e,t,r)=>{const n={root:[{position:"relative",background:(0,x.C)(e).defaultBackgroundColor,selectors:{'input[type="search"]::-webkit-search-cancel-button':{display:"none"}}}],iconContainer:t&&{marginLeft:"5px"},icon:t&&{height:"20px",width:"20px"}};return(0,S.TW)(n,r)}));(0,I.J9)(((e,t)=>{const r={icon:e&&{height:"16px",width:"16px"}};return(0,S.TW)(r,t)}));var P=r(57674),R=r(85963),D=r(43839),_=r(39850),N=r(87513),O=r(27712),M=r(82502),B=r(58352),L=r(21728),K=r(26510),W=r(54116),H=r(24223),G=r(29784),z=r(77675),U=r(69287),V=r(26838),j=r(39392);const q=(0,z.X)({small:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},medium:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},large:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1ng84yb","f11gcy0p"],z189sj:["f11gcy0p","f1ng84yb"]},input:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fhxju0i","f1cnd47f"],Boqhc8c:"f18izjht",B8uat0v:"fcoa6sg"},unfocusedNoContentAfter:{z189sj:["fhxju0i","f1cnd47f"]}},{d:[".fjuset5{column-gap:0;}",".f1xzfw5u{max-width:468px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f18izjht::-webkit-search-decoration{display:none;}",".fcoa6sg::-webkit-search-cancel-button{display:none;}"]}),$=(0,z.X)({small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},large:{z189sj:["f11gcy0p","f1ng84yb"]}},{d:[".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}"]}),Q=(0,z.X)({contentAfter:{uwmqm3:["f1uw59to","fw5db7e"],i8kkvl:"f1ufnopg"},rest:{Bqenvij:"fniina8",a9b677:"f3tsq5r",uwmqm3:["f1cnd47f","fhxju0i"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),X=(0,U.y)("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),Y=(0,z.X)({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]});var J=r(60414);const Z=n.forwardRef(((e,t)=>{const r=((e,t)=>{const{size:r="medium",disabled:o=!1,root:i,contentBefore:a,dismiss:s,contentAfter:l,value:u,defaultValue:c,...d}=e,p=n.useRef(null),h=n.useRef(null),[g,m]=(0,_.i)({state:u,defaultState:c,initialState:""}),[f,v]=n.useState(!1),b=n.useCallback((()=>{v(!0)}),[v]),y=n.useCallback((e=>{var t;v(!!(null===(t=p.current)||void 0===t?void 0:t.contains(e.relatedTarget)))}),[v]),S=D.Gf(i),C=(0,N.D)((t=>{var r,n,o;(0,O.g)(s)&&(null===(o=s.onClick)||void 0===o||o.call(s,t)),m(""),null===(r=e.onChange)||void 0===r||r.call(e,t,{value:""}),null===(n=h.current)||void 0===n||n.focus()})),T=(0,L.n)({type:"search",disabled:o,size:r,value:g,root:D.Gk({...S,ref:(0,M.a)(null==S?void 0:S.ref,p),onFocus:(0,B.p)(null==S?void 0:S.onFocus,b),onBlur:(0,B.p)(null==S?void 0:S.onBlur,y)},{elementType:"span"}),contentBefore:D.lq(a,{renderByDefault:!0,defaultProps:{children:n.createElement(K.vMY,null)},elementType:"span"}),contentAfter:D.lq(l,{renderByDefault:!0,elementType:"span"}),...d,onChange:(0,N.D)((t=>{var r;const n=t.target.value;null===(r=e.onChange)||void 0===r||r.call(e,t,{value:n}),m(n)}))},(0,M.a)(h,t)),k={...T,components:{...T.components,dismiss:"span"},dismiss:D.lq(s,{defaultProps:{children:n.createElement(W.BEt,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:o,focused:f,size:r};return k.dismiss&&(k.dismiss.onClick=C),k})(e,t);return(e=>{const{disabled:t,focused:r,size:n}=e,o=q(),i=$(),a=Q(),s=X(),l=Y();e.root.className=(0,V.z)("fui-SearchBox",o[n],!r&&o.unfocusedNoContentAfter,e.root.className),e.input.className=(0,V.z)("fui-SearchBox__input",o.input,!r&&i[n],e.input.className),e.dismiss&&(e.dismiss.className=(0,V.z)("fui-SearchBox__dismiss",s,t&&l.disabled,l[n],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=(0,V.z)("fui-SearchBox__contentBefore",e.contentBefore.className)),e.contentAfter?e.contentAfter.className=(0,V.z)("fui-SearchBox__contentAfter",a.contentAfter,!r&&a.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=(0,V.z)(e.dismiss.className,a.contentAfter)),(0,j.d)(e)})(r),(0,J.$e)("useSearchBoxStyles_unstable")(r),(e=>((0,G.C)(e),(0,H.FD)(e.root,{children:[e.contentBefore&&(0,H.Y)(e.contentBefore,{}),(0,H.Y)(e.input,{}),e.contentAfter&&(0,H.FD)(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&(0,H.Y)(e.dismiss,{})]})]})))(r)}));Z.displayName="SearchBox";var ee=r(1290),te=r(21609),re=r(55056),ne=r(63900);const oe=(0,re.n)({icon:{width:te.k.spacingHorizontalXL,height:te.k.spacingHorizontalXL}}),ie=(0,re.n)({root:{width:"100%","&:focus, &:active, &:hover, &:focus-within":{[`${ne.up}`]:{...ne.u4,...ne.Yw,...ne.mn}},"> span > span":{"&:hover":{[`${ne.up}`]:{...ne.dn}}}}});var ae=r(88237);const se=e=>(0,ae.Nc)(e.styles,"root")??{},le=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>{const r=(o=e.onChange,i=e.onClear,(e,t)=>{""===t.value&&"click"===e.type&&i?.(e),o?.(e,t.value)});var o,i;const a=(e=>(t,r)=>{switch(t.key){case"Enter":e.onSearch?.(t),t.preventDefault(),t.stopPropagation();break;case"Escape":""===r||t.defaultPrevented||(e.onClear?.(t),t.stopPropagation());break;default:e.onKeyDown?.(t),t.defaultPrevented&&t.stopPropagation()}})(e),s=(e=>{const t=oe();return(0,V.z)(t.icon,e)})(e.iconClassName),l=e.icon?n.createElement(ee.z,{iconName:e.icon,iconColor:e.iconColor,hidden:e.hideIcon??!1,disabled:e.disabled??!1,flipInRtl:!1,shouldFlipIcon:e.shouldFlipIcon,className:s}):void 0;return{searchBoxRoot:D.Gk(e.searchBoxRoot,{defaultProps:{...e,placeholder:e.placeholder||e.label,type:e.searchType||"search",contentBefore:e.contentBefore??l,onChange:r,style:se(e),onKeyDown:e=>a(e,e.currentTarget.value),ref:t??e.componentRef},elementType:Z}),components:{searchBoxRoot:Z}}})(e,t);return(e=>{const t=ie();e.searchBoxRoot.className=(0,V.z)(t.root,e.searchBoxRoot.className)})(r),(e=>((0,G.C)(e),(0,H.Y)(e.searchBoxRoot,{})))(r)}))),ue=e=>{const{placeholder:t,styles:r,autoComplete:o,componentRef:i,clearButtonProps:a,label:s,icon:l,iconColor:u,typeProp:c,ariaControls:d,dataAutomationType:p,shouldFlipIcon:h,resultAriaLiveText:g}=e;return n.createElement(A.V,null,(m=>n.createElement(n.Fragment,null,n.createElement(k,{...e,type:c||"search","data-automation-type":p||"AppSearchBox","data-unique-id":(0,F.lj)(e),placeholder:t||s,styles:w(m,!!l,r),iconProps:(0,E.J)(l,u,!1,!1,!1,h),autoComplete:o,componentRef:i,clearButtonProps:a,"aria-controls":d,"data-no-horizontal-wrap":"false"}),g?n.createElement("div",{role:"marquee","aria-live":"polite","aria-atomic":"true",style:{width:0,height:0,overflow:"hidden",zIndex:-1}},g):null)))},ce=n.memo((e=>(()=>{const e=n.useContext(P.B);return(0,R.i2)(e,R.PE.fluentV9SearchBoxIsEnabled)})()?n.createElement(le,{...e}):n.createElement(ue,{...e})))},5968:(e,t,r)=>{"use strict";r.d(t,{K:()=>i,z:()=>a});var n=r(10477),o=r(90044);const i=n.createContext({isShadowRendering:!1});i.displayName="ShadowRenderingContext";const a=(0,o.J9)((e=>({isShadowRendering:e})))},86725:(e,t,r)=>{"use strict";r.d(t,{A4:()=>i});const n=1,o=30;function i(e,t){if(e>0&&t>0){const r=o*(t/e);if(r>n)return Math.floor(r)}return n}},66152:(e,t,r)=>{"use strict";function n(e,t){return!1===t&&!1!==o(e)}function o(e){return"function"==typeof e?e():e}r.d(t,{L:()=>o,o:()=>n})},40271:(e,t,r)=>{"use strict";r.d(t,{d:()=>i});var n=r(10477),o=r(5968);function i(e){return t=>n.createElement(o.K.Consumer,null,(r=>n.createElement(e,{...t,isShadowRendering:r.isShadowRendering})))}},65553:(e,t,r)=>{"use strict";var n;r.d(t,{t:()=>n}),function(e){e[e.Collapsed=0]="Collapsed",e[e.Expanded=1]="Expanded",e[e.ExpandedSoftDismiss=2]="ExpandedSoftDismiss",e[e.Pinned=3]="Pinned"}(n||(n={}))},80922:(e,t,r)=>{"use strict";r.d(t,{V:()=>v});var n=r(10477),o=r(37103),i=r(35252),a=r(57674),s=r(40480),l=r(43066),u=r(23162),c=r(90044),d=r(39398),p=r(94867),h=r(69284),g=r(16594);const m=(0,c.J9)(((e,t,r)=>{const n=f(e,t);return(0,d.TW)({root:{margin:"0 auto"},label:{color:(0,p.P)(e,t).primaryTextColor,fontSize:14,selectors:{[d.up]:{color:"ButtonText",...(0,d.Qg)()}}},circle:[{borderBottomColor:n.borderBottomColor,borderLeftColor:n.borderLeftColor,borderRightColor:n.borderRightColor,borderTopColor:n.borderTopColor,selectors:{[d.up]:{borderBottomColor:"ButtonFace",borderLeftColor:"ButtonFace",borderRightColor:"ButtonFace",borderTopColor:"Highlight",...(0,d.Qg)()},[h.eS]:{animation:"none"}}}]},r)})),f=(0,c.J9)(((e,t)=>(0,g.Q)()?{borderBottomColor:e.palette.themeLighter,borderLeftColor:e.palette.themeLighter,borderRightColor:e.palette.themeLighter,borderTopColor:e.palette.themePrimary}:{borderBottomColor:t.tint40,borderLeftColor:t.tint40,borderRightColor:t.tint40,borderTopColor:t.primary}));class v extends n.PureComponent{render(){const{styles:e,appColors:t,label:r,labelPosition:a,spinnerSize:u,minValue:c,maxValue:d,valueNow:p}=this.props;return this.tooltipLabel=this.props.customTooltip||r||"",n.createElement(l.M,null,n.createElement(s.V,null,(s=>n.createElement("div",{ref:this.appSpinnerWrapper},n.createElement(o.y,{label:r,labelPosition:a,ariaLabel:r,size:void 0!==u?u:i.H.large,styles:m(s,t,e),role:"progressbar","aria-live":"polite","aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":p})))))}componentDidMount(){this.context.setTooltipElement&&this.context.updateTooltipsHidden&&this.appSpinnerWrapper.current&&(this.tooltipHost=new u.x({updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement,htmlElement:this.appSpinnerWrapper.current,controlId:this.props.id,controlLabel:this.tooltipLabel,performSetOnNextFrame:!0}),this.tooltipHost.registerTooltipHostActions())}componentWillUnmount(){this.tooltipHost&&(this.tooltipHost.unregisterTooltipHostActions(),this.tooltipHost=void 0)}componentDidUpdate(){this.tooltipHost&&this.tooltipHost.updateTooltip(this.tooltipLabel)}constructor(){super(...arguments),this.appSpinnerWrapper=n.createRef(),this.tooltipLabel=""}}v.contextType=a.B},21609:(e,t,r)=>{"use strict";r.d(t,{k:()=>n});const n={...r(26734).L,legacy_themeDarker:"var(--legacy_themeDarker)",legacy_themeDark:"var(--legacy_themeDark)",legacy_themeDarkAlt:"var(--legacy_themeDarkAlt)",legacy_themePrimary:"var(--legacy_themePrimary)",legacy_themeSecondary:"var(--legacy_themeSecondary)",legacy_themeTertiary:"var(--legacy_themeTertiary)",legacy_themeLight:"var(--legacy_themeLight)",legacy_themeLighter:"var(--legacy_themeLighter)",legacy_neutralDark:"var(--legacy_neutralDark)",legacy_neutralPrimary:"var(--legacy_neutralPrimary)",legacy_neutralPrimaryAlt:"var(--legacy_neutralPrimaryAlt)",legacy_neutralSecondary:"var(--legacy_neutralSecondary)",legacy_neutralSecondaryAlt:"var(--legacy_neutralSecondaryAlt)",legacy_neutralTertiary:"var(--legacy_neutralTertiary)",legacy_neutralTertiaryAlt:"var(--legacy_neutralTertiaryAlt)",legacy_neutralQuaternary:"var(--legacy_neutralQuaternary)",legacy_neutralQuaternaryAlt:"var(--legacy_neutralQuaternaryAlt)",legacy_neutralLight:"var(--legacy_neutralLight)",legacy_neutralLighter:"var(--legacy_neutralLighter)",legacy_neutralLighterAlt:"var(--legacy_neutralLighterAlt)",legacy_black:"var(--legacy_black)",legacy_white:"var(--legacy_white)",messageBarWarningBackground:"var(--messageBarWarningBackground)",messageBarSuccessBackground:"var(--messageBarSuccessBackground)",messageBarErrorBackground:"var(--messageBarErrorBackground)"}},5593:(e,t,r)=>{"use strict";r.d(t,{BZ:()=>o});var n=r(16594);const o=()=>n.o3.getInstance().getThemeMode()===n.bx.Dark},17297:(e,t,r)=>{"use strict";r.d(t,{G:()=>o});let n=!1;function o(){return n}},40480:(e,t,r)=>{"use strict";r.d(t,{V:()=>a});var n=r(10477),o=r(49455),i=r(16594);const a=e=>{const t=(0,o.D)()||i.o3.getInstance().getTheme();return n.createElement(n.Fragment,null,e.children(t))}},16594:(e,t,r)=>{"use strict";r.d(t,{bx:()=>We,o3:()=>He,Q:()=>Ge});var n=r(39398),o=r(32351);const i="#0a0a0a",a="#141414",s="#1f1f1f",l="#242424",u="#292929",c="#2e2e2e",d="#333333",p="#383838",h="#3d3d3d",g="#424242",m="#575757",f="#616161",v="#707070",b="#adadad",y="#b3b3b3",S="#bdbdbd",C="#d6d6d6",T="#e0e0e0",k="#e6e6e6",F="#ebebeb",E="#f0f0f0",A="#f5f5f5",I="#fafafa",x="rgba(255, 255, 255, 0.1)",w="rgba(255, 255, 255, 0.2)",P="rgba(255, 255, 255, 0.4)",R="rgba(255, 255, 255, 0.5)",D="rgba(0, 0, 0, 0.05)",_="rgba(0, 0, 0, 0.1)",N="rgba(0, 0, 0, 0.2)",O="rgba(0, 0, 0, 0.3)",M="rgba(0, 0, 0, 0.5)",B="#ffffff",L="#000000",K="#ffff00",W="#1aebff",H="#3ff23f",G="#000000",z="#ffffff",U="#000000",V="#000000",j="#ffffff",q={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},$={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Q={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:$,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},X={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:q,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},Y={cranberry:q,green:$,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},J=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Z=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],ee={success:"green",warning:"orange",danger:"cranberry"},te=J.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:Q[t].tint60,[`colorPalette${r}Background2`]:Q[t].tint40,[`colorPalette${r}Background3`]:Q[t].primary,[`colorPalette${r}Foreground1`]:Q[t].shade10,[`colorPalette${r}Foreground2`]:Q[t].shade30,[`colorPalette${r}Foreground3`]:Q[t].primary,[`colorPalette${r}BorderActive`]:Q[t].primary,[`colorPalette${r}Border1`]:Q[t].tint40,[`colorPalette${r}Border2`]:Q[t].primary};return Object.assign(e,n)}),{});te.colorPaletteYellowForeground1=Q.yellow.shade30,te.colorPaletteRedForegroundInverted=Q.red.tint20,te.colorPaletteGreenForegroundInverted=Q.green.tint20,te.colorPaletteYellowForegroundInverted=Q.yellow.tint40;const re=Z.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:X[t].tint40,[`colorPalette${r}Foreground2`]:X[t].shade30,[`colorPalette${r}BorderActive`]:X[t].primary};return Object.assign(e,n)}),{}),ne={...te,...re},oe=Object.entries(ee).reduce(((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:Y[r].tint60,[`colorStatus${n}Background2`]:Y[r].tint40,[`colorStatus${n}Background3`]:Y[r].primary,[`colorStatus${n}Foreground1`]:Y[r].shade10,[`colorStatus${n}Foreground2`]:Y[r].shade30,[`colorStatus${n}Foreground3`]:Y[r].primary,[`colorStatus${n}ForegroundInverted`]:Y[r].tint30,[`colorStatus${n}BorderActive`]:Y[r].primary,[`colorStatus${n}Border1`]:Y[r].tint40,[`colorStatus${n}Border2`]:Y[r].primary};return Object.assign(e,o)}),{});oe.colorStatusDangerBackground3Hover=Y[ee.danger].shade10,oe.colorStatusDangerBackground3Pressed=Y[ee.danger].shade20,oe.colorStatusWarningForeground1=Y[ee.warning].shade20,oe.colorStatusWarningForeground3=Y[ee.warning].shade20,oe.colorStatusWarningBorder2=Y[ee.warning].shade20;const ie={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},ae={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},se={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},le={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},ue={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},ce={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};function de(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const pe={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},he={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},ge="10px",me="12px",fe="16px",ve="20px",be="24px",ye="32px",Se={spacingHorizontalNone:"0",spacingHorizontalXXS:"2px",spacingHorizontalXS:"4px",spacingHorizontalSNudge:"6px",spacingHorizontalS:"8px",spacingHorizontalMNudge:ge,spacingHorizontalM:me,spacingHorizontalL:fe,spacingHorizontalXL:ve,spacingHorizontalXXL:be,spacingHorizontalXXXL:ye},Ce={spacingVerticalNone:"0",spacingVerticalXXS:"2px",spacingVerticalXS:"4px",spacingVerticalSNudge:"6px",spacingVerticalS:"8px",spacingVerticalMNudge:ge,spacingVerticalM:me,spacingVerticalL:fe,spacingVerticalXL:ve,spacingVerticalXXL:be,spacingVerticalXXXL:ye},Te={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},ke=(e=>{const t=(e=>({colorNeutralForeground1:l,colorNeutralForeground1Hover:l,colorNeutralForeground1Pressed:l,colorNeutralForeground1Selected:l,colorNeutralForeground2:g,colorNeutralForeground2Hover:l,colorNeutralForeground2Pressed:l,colorNeutralForeground2Selected:l,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:f,colorNeutralForeground3Hover:g,colorNeutralForeground3Pressed:g,colorNeutralForeground3Selected:g,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:v,colorNeutralForegroundDisabled:S,colorNeutralForegroundInvertedDisabled:P,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:g,colorNeutralForeground2LinkHover:l,colorNeutralForeground2LinkPressed:l,colorNeutralForeground2LinkSelected:l,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:l,colorNeutralForegroundStaticInverted:B,colorNeutralForegroundInverted:B,colorNeutralForegroundInvertedHover:B,colorNeutralForegroundInvertedPressed:B,colorNeutralForegroundInvertedSelected:B,colorNeutralForegroundInverted2:B,colorNeutralForegroundOnBrand:B,colorNeutralForegroundInvertedLink:B,colorNeutralForegroundInvertedLinkHover:B,colorNeutralForegroundInvertedLinkPressed:B,colorNeutralForegroundInvertedLinkSelected:B,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:B,colorNeutralBackground1Hover:A,colorNeutralBackground1Pressed:T,colorNeutralBackground1Selected:F,colorNeutralBackground2:I,colorNeutralBackground2Hover:E,colorNeutralBackground2Pressed:"#dbdbdb",colorNeutralBackground2Selected:k,colorNeutralBackground3:A,colorNeutralBackground3Hover:F,colorNeutralBackground3Pressed:C,colorNeutralBackground3Selected:T,colorNeutralBackground4:E,colorNeutralBackground4Hover:I,colorNeutralBackground4Pressed:A,colorNeutralBackground4Selected:B,colorNeutralBackground5:F,colorNeutralBackground5Hover:A,colorNeutralBackground5Pressed:E,colorNeutralBackground5Selected:I,colorNeutralBackground6:k,colorNeutralBackgroundInverted:u,colorNeutralBackgroundStatic:d,colorNeutralBackgroundAlpha:R,colorNeutralBackgroundAlpha2:"rgba(255, 255, 255, 0.8)",colorSubtleBackground:"transparent",colorSubtleBackgroundHover:A,colorSubtleBackgroundPressed:T,colorSubtleBackgroundSelected:F,colorSubtleBackgroundLightAlphaHover:"rgba(255, 255, 255, 0.7)",colorSubtleBackgroundLightAlphaPressed:R,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:_,colorSubtleBackgroundInvertedPressed:O,colorSubtleBackgroundInvertedSelected:N,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:E,colorNeutralBackgroundInvertedDisabled:x,colorNeutralStencil1:k,colorNeutralStencil2:I,colorNeutralStencil1Alpha:_,colorNeutralStencil2Alpha:D,colorBackgroundOverlay:"rgba(0, 0, 0, 0.4)",colorScrollbarOverlay:M,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:B,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:I,colorNeutralCardBackgroundHover:B,colorNeutralCardBackgroundPressed:A,colorNeutralCardBackgroundSelected:F,colorNeutralCardBackgroundDisabled:E,colorNeutralStrokeAccessible:f,colorNeutralStrokeAccessibleHover:m,colorNeutralStrokeAccessiblePressed:"#4d4d4d",colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:"#d1d1d1",colorNeutralStroke1Hover:"#c7c7c7",colorNeutralStroke1Pressed:y,colorNeutralStroke1Selected:S,colorNeutralStroke2:T,colorNeutralStroke3:E,colorNeutralStrokeSubtle:T,colorNeutralStrokeOnBrand:B,colorNeutralStrokeOnBrand2:B,colorNeutralStrokeOnBrand2Hover:B,colorNeutralStrokeOnBrand2Pressed:B,colorNeutralStrokeOnBrand2Selected:B,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:T,colorNeutralStrokeInvertedDisabled:P,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:D,colorNeutralStrokeAlpha2:w,colorStrokeFocus1:B,colorStrokeFocus2:L,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...ie,...ae,...se,...ue,...le,...ce,...Se,...Ce,...pe,...he,...t,...ne,...oe,...de(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...de(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(Te),Fe=J.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:Q[t].shade40,[`colorPalette${r}Background2`]:Q[t].shade30,[`colorPalette${r}Background3`]:Q[t].primary,[`colorPalette${r}Foreground1`]:Q[t].tint30,[`colorPalette${r}Foreground2`]:Q[t].tint40,[`colorPalette${r}Foreground3`]:Q[t].tint20,[`colorPalette${r}BorderActive`]:Q[t].tint30,[`colorPalette${r}Border1`]:Q[t].primary,[`colorPalette${r}Border2`]:Q[t].tint20};return Object.assign(e,n)}),{});Fe.colorPaletteRedForeground3=Q.red.tint30,Fe.colorPaletteRedBorder2=Q.red.tint30,Fe.colorPaletteGreenForeground3=Q.green.tint40,Fe.colorPaletteGreenBorder2=Q.green.tint40,Fe.colorPaletteDarkOrangeForeground3=Q.darkOrange.tint30,Fe.colorPaletteDarkOrangeBorder2=Q.darkOrange.tint30,Fe.colorPaletteRedForegroundInverted=Q.red.primary,Fe.colorPaletteGreenForegroundInverted=Q.green.primary,Fe.colorPaletteYellowForegroundInverted=Q.yellow.shade30;const Ee=Z.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:X[t].shade30,[`colorPalette${r}Foreground2`]:X[t].tint40,[`colorPalette${r}BorderActive`]:X[t].tint30};return Object.assign(e,n)}),{});Ee.colorPaletteDarkRedBackground2=X.darkRed.shade20,Ee.colorPalettePlumBackground2=X.plum.shade20;const Ae={...Fe,...Ee},Ie=Object.entries(ee).reduce(((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:Y[r].shade40,[`colorStatus${n}Background2`]:Y[r].shade30,[`colorStatus${n}Background3`]:Y[r].primary,[`colorStatus${n}Foreground1`]:Y[r].tint30,[`colorStatus${n}Foreground2`]:Y[r].tint40,[`colorStatus${n}Foreground3`]:Y[r].tint20,[`colorStatus${n}BorderActive`]:Y[r].tint30,[`colorStatus${n}ForegroundInverted`]:Y[r].shade10,[`colorStatus${n}Border1`]:Y[r].primary,[`colorStatus${n}Border2`]:Y[r].tint20};return Object.assign(e,o)}),{});Ie.colorStatusDangerBackground3Hover=Y[ee.danger].shade10,Ie.colorStatusDangerBackground3Pressed=Y[ee.danger].shade20,Ie.colorStatusDangerForeground3=Y[ee.danger].tint40,Ie.colorStatusDangerBorder2=Y[ee.danger].tint30,Ie.colorStatusSuccessForeground3=Y[ee.success].tint40,Ie.colorStatusSuccessBorder2=Y[ee.success].tint40,Ie.colorStatusWarningForegroundInverted=Y[ee.warning].shade20;const xe=(e=>{const t=(e=>({colorNeutralForeground1:B,colorNeutralForeground1Hover:B,colorNeutralForeground1Pressed:B,colorNeutralForeground1Selected:B,colorNeutralForeground2:C,colorNeutralForeground2Hover:B,colorNeutralForeground2Pressed:B,colorNeutralForeground2Selected:B,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:b,colorNeutralForeground3Hover:C,colorNeutralForeground3Pressed:C,colorNeutralForeground3Selected:C,colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:"#999999",colorNeutralForegroundDisabled:"#5c5c5c",colorNeutralForegroundInvertedDisabled:P,colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:C,colorNeutralForeground2LinkHover:B,colorNeutralForeground2LinkPressed:B,colorNeutralForeground2LinkSelected:B,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:l,colorNeutralForegroundStaticInverted:B,colorNeutralForegroundInverted:l,colorNeutralForegroundInvertedHover:l,colorNeutralForegroundInvertedPressed:l,colorNeutralForegroundInvertedSelected:l,colorNeutralForegroundInverted2:l,colorNeutralForegroundOnBrand:B,colorNeutralForegroundInvertedLink:B,colorNeutralForegroundInvertedLinkHover:B,colorNeutralForegroundInvertedLinkPressed:B,colorNeutralForegroundInvertedLinkSelected:B,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:u,colorNeutralBackground1Hover:h,colorNeutralBackground1Pressed:s,colorNeutralBackground1Selected:p,colorNeutralBackground2:s,colorNeutralBackground2Hover:d,colorNeutralBackground2Pressed:a,colorNeutralBackground2Selected:c,colorNeutralBackground3:a,colorNeutralBackground3Hover:u,colorNeutralBackground3Pressed:i,colorNeutralBackground3Selected:l,colorNeutralBackground4:i,colorNeutralBackground4Hover:s,colorNeutralBackground4Pressed:L,colorNeutralBackground4Selected:"#1a1a1a",colorNeutralBackground5:L,colorNeutralBackground5Hover:a,colorNeutralBackground5Pressed:"#050505",colorNeutralBackground5Selected:"#0f0f0f",colorNeutralBackground6:d,colorNeutralBackgroundInverted:B,colorNeutralBackgroundStatic:h,colorNeutralBackgroundAlpha:"rgba(26, 26, 26, 0.5)",colorNeutralBackgroundAlpha2:"rgba(31, 31, 31, 0.7)",colorSubtleBackground:"transparent",colorSubtleBackgroundHover:p,colorSubtleBackgroundPressed:c,colorSubtleBackgroundSelected:d,colorSubtleBackgroundLightAlphaHover:"rgba(36, 36, 36, 0.8)",colorSubtleBackgroundLightAlphaPressed:"rgba(36, 36, 36, 0.5)",colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:_,colorSubtleBackgroundInvertedPressed:O,colorSubtleBackgroundInvertedSelected:N,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:a,colorNeutralBackgroundInvertedDisabled:x,colorNeutralStencil1:m,colorNeutralStencil2:d,colorNeutralStencil1Alpha:x,colorNeutralStencil2Alpha:"rgba(255, 255, 255, 0.05)",colorBackgroundOverlay:M,colorScrollbarOverlay:"rgba(255, 255, 255, 0.6)",colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:B,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:d,colorNeutralCardBackgroundHover:h,colorNeutralCardBackgroundPressed:c,colorNeutralCardBackgroundSelected:p,colorNeutralCardBackgroundDisabled:a,colorNeutralStrokeAccessible:b,colorNeutralStrokeAccessibleHover:S,colorNeutralStrokeAccessiblePressed:y,colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:"#666666",colorNeutralStroke1Hover:"#757575",colorNeutralStroke1Pressed:"#6b6b6b",colorNeutralStroke1Selected:v,colorNeutralStroke2:"#525252",colorNeutralStroke3:h,colorNeutralStrokeSubtle:i,colorNeutralStrokeOnBrand:u,colorNeutralStrokeOnBrand2:B,colorNeutralStrokeOnBrand2Hover:B,colorNeutralStrokeOnBrand2Pressed:B,colorNeutralStrokeOnBrand2Selected:B,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:g,colorNeutralStrokeInvertedDisabled:P,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:x,colorNeutralStrokeAlpha2:w,colorStrokeFocus1:L,colorStrokeFocus2:B,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...ie,...ae,...se,...ue,...le,...ce,...Se,...Ce,...pe,...he,...t,...Ae,...Ie,...de(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...de(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(Te),we=J.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:G,[`colorPalette${r}Background2`]:G,[`colorPalette${r}Background3`]:z,[`colorPalette${r}Foreground1`]:z,[`colorPalette${r}Foreground2`]:z,[`colorPalette${r}Foreground3`]:z,[`colorPalette${r}BorderActive`]:W,[`colorPalette${r}Border1`]:z,[`colorPalette${r}Border2`]:z};return Object.assign(e,n)}),{});we.colorPaletteRedForegroundInverted=z,we.colorPaletteGreenForegroundInverted=z,we.colorPaletteYellowForegroundInverted=z;const Pe=Z.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:G,[`colorPalette${r}Foreground2`]:z,[`colorPalette${r}BorderActive`]:W};return Object.assign(e,n)}),{}),Re={...we,...Pe},De=Object.entries(ee).reduce(((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:G,[`colorStatus${n}Background2`]:G,[`colorStatus${n}Background3`]:z,[`colorStatus${n}Foreground1`]:z,[`colorStatus${n}Foreground2`]:z,[`colorStatus${n}Foreground3`]:z,[`colorStatus${n}BorderActive`]:W,[`colorStatus${n}ForegroundInverted`]:z,[`colorStatus${n}Border1`]:z,[`colorStatus${n}Border2`]:z};return Object.assign(e,o)}),{});De.colorStatusDangerBackground3Hover=W,De.colorStatusDangerBackground3Pressed=W;const _e={...ue,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},Ne={...(()=>{const e={colorNeutralForeground1:z,colorNeutralForeground1Hover:U,colorNeutralForeground1Pressed:U,colorNeutralForeground1Selected:U,colorNeutralForeground2:z,colorNeutralForeground2Hover:U,colorNeutralForeground2Pressed:U,colorNeutralForeground2Selected:U,colorNeutralForeground2BrandHover:U,colorNeutralForeground2BrandPressed:U,colorNeutralForeground2BrandSelected:U,colorNeutralForeground3:z,colorNeutralForeground3Hover:U,colorNeutralForeground3Pressed:U,colorNeutralForeground3Selected:U,colorNeutralForeground3BrandHover:U,colorNeutralForeground3BrandPressed:U,colorNeutralForeground3BrandSelected:U,colorNeutralForeground4:z,colorNeutralForegroundDisabled:H,colorNeutralForegroundInvertedDisabled:H,colorBrandForegroundLink:K,colorBrandForegroundLinkHover:K,colorBrandForegroundLinkPressed:K,colorBrandForegroundLinkSelected:K,colorNeutralForeground2Link:K,colorNeutralForeground2LinkHover:K,colorNeutralForeground2LinkPressed:K,colorNeutralForeground2LinkSelected:K,colorCompoundBrandForeground1:W,colorCompoundBrandForeground1Hover:W,colorCompoundBrandForeground1Pressed:W,colorBrandForeground1:z,colorBrandForeground2:z,colorBrandForeground2Hover:z,colorBrandForeground2Pressed:z,colorNeutralForeground1Static:G,colorNeutralForegroundStaticInverted:z,colorNeutralForegroundInverted:U,colorNeutralForegroundInvertedHover:U,colorNeutralForegroundInvertedPressed:U,colorNeutralForegroundInvertedSelected:U,colorNeutralForegroundInverted2:z,colorNeutralForegroundOnBrand:V,colorNeutralForegroundInvertedLink:K,colorNeutralForegroundInvertedLinkHover:K,colorNeutralForegroundInvertedLinkPressed:K,colorNeutralForegroundInvertedLinkSelected:K,colorBrandForegroundInverted:z,colorBrandForegroundInvertedHover:U,colorBrandForegroundInvertedPressed:U,colorBrandForegroundOnLight:V,colorBrandForegroundOnLightHover:U,colorBrandForegroundOnLightPressed:U,colorBrandForegroundOnLightSelected:U,colorNeutralBackground1:G,colorNeutralBackground1Hover:W,colorNeutralBackground1Pressed:W,colorNeutralBackground1Selected:W,colorNeutralBackground2:G,colorNeutralBackground2Hover:W,colorNeutralBackground2Pressed:W,colorNeutralBackground2Selected:W,colorNeutralBackground3:G,colorNeutralBackground3Hover:W,colorNeutralBackground3Pressed:W,colorNeutralBackground3Selected:W,colorNeutralBackground4:G,colorNeutralBackground4Hover:W,colorNeutralBackground4Pressed:W,colorNeutralBackground4Selected:W,colorNeutralBackground5:G,colorNeutralBackground5Hover:W,colorNeutralBackground5Pressed:W,colorNeutralBackground5Selected:W,colorNeutralBackground6:G,colorNeutralBackgroundInverted:G,colorNeutralBackgroundStatic:G,colorNeutralBackgroundAlpha:G,colorNeutralBackgroundAlpha2:G,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:W,colorSubtleBackgroundPressed:W,colorSubtleBackgroundSelected:W,colorSubtleBackgroundLightAlphaHover:W,colorSubtleBackgroundLightAlphaPressed:W,colorSubtleBackgroundLightAlphaSelected:W,colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:W,colorSubtleBackgroundInvertedPressed:W,colorSubtleBackgroundInvertedSelected:W,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:W,colorTransparentBackgroundPressed:W,colorTransparentBackgroundSelected:W,colorNeutralBackgroundDisabled:G,colorNeutralBackgroundInvertedDisabled:G,colorNeutralStencil1:z,colorNeutralStencil2:z,colorNeutralStencil1Alpha:z,colorNeutralStencil2Alpha:z,colorBackgroundOverlay:M,colorScrollbarOverlay:j,colorBrandBackground:j,colorBrandBackgroundHover:W,colorBrandBackgroundPressed:W,colorBrandBackgroundSelected:W,colorCompoundBrandBackground:W,colorCompoundBrandBackgroundHover:W,colorCompoundBrandBackgroundPressed:W,colorBrandBackgroundStatic:G,colorBrandBackground2:G,colorBrandBackground2Hover:G,colorBrandBackground2Pressed:G,colorBrandBackground3Static:G,colorBrandBackground4Static:G,colorBrandBackgroundInverted:j,colorBrandBackgroundInvertedHover:W,colorBrandBackgroundInvertedPressed:W,colorBrandBackgroundInvertedSelected:W,colorNeutralCardBackground:G,colorNeutralCardBackgroundHover:W,colorNeutralCardBackgroundPressed:W,colorNeutralCardBackgroundSelected:W,colorNeutralCardBackgroundDisabled:G,colorNeutralStrokeAccessible:z,colorNeutralStrokeAccessibleHover:W,colorNeutralStrokeAccessiblePressed:W,colorNeutralStrokeAccessibleSelected:W,colorNeutralStroke1:z,colorNeutralStroke1Hover:W,colorNeutralStroke1Pressed:W,colorNeutralStroke1Selected:W,colorNeutralStroke2:z,colorNeutralStroke3:z,colorNeutralStrokeSubtle:z,colorNeutralStrokeOnBrand:G,colorNeutralStrokeOnBrand2:z,colorNeutralStrokeOnBrand2Hover:z,colorNeutralStrokeOnBrand2Pressed:z,colorNeutralStrokeOnBrand2Selected:z,colorBrandStroke1:z,colorBrandStroke2:z,colorBrandStroke2Hover:W,colorBrandStroke2Pressed:W,colorBrandStroke2Contrast:G,colorCompoundBrandStroke:W,colorCompoundBrandStrokeHover:W,colorCompoundBrandStrokePressed:W,colorNeutralStrokeDisabled:H,colorNeutralStrokeInvertedDisabled:H,colorTransparentStroke:z,colorTransparentStrokeInteractive:W,colorTransparentStrokeDisabled:H,colorNeutralStrokeAlpha:z,colorNeutralStrokeAlpha2:G,colorStrokeFocus1:G,colorStrokeFocus2:W,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"};return{...ie,...ae,...se,...ue,...le,...ce,...Se,...Ce,...pe,...he,...e,...Re,...De,...de(e.colorNeutralShadowAmbient,e.colorNeutralShadowKey),...de(e.colorBrandShadowAmbient,e.colorBrandShadowKey,"Brand")}})(),..._e},Oe=(0,o.a)({palette:{themeDarker:"#0e336a",themeDark:"#13458f",themeDarkAlt:"#1651aa",themePrimary:"#185abd",themeSecondary:"#2e6ac5",themeTertiary:"#6794d7",themeLight:"#aec6eb",themeLighter:"#d2e0f4",neutralDark:"#252423",neutralPrimary:"#323130",neutralPrimaryAlt:"#605E5C",neutralSecondary:"#797775",neutralSecondaryAlt:"#8A8886",neutralTertiary:"#B3B0AD",neutralTertiaryAlt:"#BEBBB8",neutralQuaternary:"#C8C6C4",neutralQuaternaryAlt:"#D2D0CE",neutralLight:"#E1DFDD",neutralLighter:"#EDEBE9",neutralLighterAlt:"#F3F2F1",black:"#000000",white:"#FFFFFF"}}),Me=(0,o.a)({palette:{themeDarker:"#82ABF1",themeDark:"#598FEC",themeDarkAlt:"#3D7CE8",themePrimary:"#296FE6",themeSecondary:"#2461CA",themeTertiary:"#19428A",themeLight:"#0C2145",themeLighter:"#071225",neutralDark:"#F3F2F1",neutralPrimary:"#D2D0CE",neutralPrimaryAlt:"#B3B0AD",neutralSecondary:"#979593",neutralSecondaryAlt:"#797775",neutralTertiary:"#605E5C",neutralTertiaryAlt:"#484644",neutralQuaternary:"#3B3A39",neutralQuaternaryAlt:"#292827",neutralLight:"#323130",neutralLighter:"#1B1A19",neutralLighterAlt:"#252423",black:"#FFFFFF",white:"#000000"}}),Be={...ke,legacy_themeDarker:"#0e336a",legacy_themeDark:"#13458f",legacy_themeDarkAlt:"#1651aa",legacy_themePrimary:"#185abd",legacy_themeSecondary:"#2e6ac5",legacy_themeTertiary:"#6794d7",legacy_themeLight:"#aec6eb",legacy_themeLighter:"#d2e0f4",legacy_neutralDark:"#252423",legacy_neutralPrimary:"#323130",legacy_neutralPrimaryAlt:"#605E5C",legacy_neutralSecondary:"#797775",legacy_neutralSecondaryAlt:"#8A8886",legacy_neutralTertiary:"#B3B0AD",legacy_neutralTertiaryAlt:"#BEBBB8",legacy_neutralQuaternary:"#C8C6C4",legacy_neutralQuaternaryAlt:"#D2D0CE",legacy_neutralLight:"#E1DFDD",legacy_neutralLighter:"#EDEBE9",legacy_neutralLighterAlt:"#F3F2F1",legacy_black:"#000000",legacy_white:"#FFFFFF",messageBarWarningBackground:"#FFFAD6",messageBarSuccessBackground:"#DEF2DE",messageBarErrorBackground:"#FDE7E9"},Le={...xe,legacy_themeDarker:"#82ABF1",legacy_themeDark:"#598FEC",legacy_themeDarkAlt:"#3D7CE8",legacy_themePrimary:"#296FE6",legacy_themeSecondary:"#2461CA",legacy_themeTertiary:"#19428A",legacy_themeLight:"#0C2145",legacy_themeLighter:"#071225",legacy_neutralDark:"#F3F2F1",legacy_neutralPrimary:"#D2D0CE",legacy_neutralPrimaryAlt:"#B3B0AD",legacy_neutralSecondary:"#979593",legacy_neutralSecondaryAlt:"#8A8886",legacy_neutralTertiary:"#797775",legacy_neutralTertiaryAlt:"#605E5C",legacy_neutralQuaternary:"#484644",legacy_neutralQuaternaryAlt:"#3B3A39",legacy_neutralLight:"#323130",legacy_neutralLighter:"#292827",legacy_neutralLighterAlt:"#252423",legacy_black:"#FFFFFF",legacy_white:"#1B1A19",messageBarWarningBackground:"#4C4400",messageBarSuccessBackground:"#052505",messageBarErrorBackground:"#3F1011"},Ke={...Ne,legacy_themeDarker:"#FFFFFF",legacy_themeDark:"#FFFFFF",legacy_themeDarkAlt:"#FFFFFF",legacy_themePrimary:"#FFFFFF",legacy_themeSecondary:"#FFFFFF",legacy_themeTertiary:"#000000",legacy_themeLight:"#000000",legacy_themeLighter:"#000000",legacy_neutralDark:"#FFFFFF",legacy_neutralPrimary:"#FFFFFF",legacy_neutralPrimaryAlt:"#FFFFFF",legacy_neutralSecondary:"#FFFFFF",legacy_neutralSecondaryAlt:"#FFFFFF",legacy_neutralTertiary:"#FFFFFF",legacy_neutralTertiaryAlt:"#000000",legacy_neutralQuaternary:"#000000",legacy_neutralQuaternaryAlt:"#000000",legacy_neutralLight:"#000000",legacy_neutralLighter:"#000000",legacy_neutralLighterAlt:"#000000",legacy_black:"#FFFFFF",legacy_white:"#000000",messageBarWarningBackground:"#000000",messageBarSuccessBackground:"#000000",messageBarErrorBackground:"#000000"};var We;!function(e){e[e.Light=0]="Light",e[e.Dark=1]="Dark",e[e.HighContrast=2]="HighContrast"}(We||(We={}));class He{static getInstance(){return He.instance||(He.instance=new He),He.instance}isThemingInitialized(){return this.themingIsInitialized}async waitForInitialThemeLoad(){return this.themingInitializePromise}isFluentThemingInitialized(){if(!this.fluentThemingIsInitialized){if(null==(0,n.O4)())return!1;this.fluentThemingIsInitialized=!0}return!0}overrideThemingIsInitialized(e){e?this.onThemingInitialized():this.themingIsInitialized=!1}getThemeMode(){return this.currentTheme}getTheme(){return void 0===this.AppThemeListV8[this.currentTheme]||null===this.AppThemeListV8[this.currentTheme]?(0,n.O4)():this.AppThemeListV8[this.currentTheme]}getThemeNext(){return this.AppThemeList[this.currentTheme]}setTheme(e,t,r){r&&(this.AppThemeList[e]=r),this.AppThemeListV8[e]=t}loadTheme(e){this.currentTheme=e,(0,n.EQ)(this.AppThemeListV8[e]),this.themeChangedCallbacks.forEach((e=>e())),this.onThemingInitialized()}getThemeForMode(e){return this.AppThemeListV8[e]}getThemeForModeNext(e){return this.AppThemeList[e]}convertVNextThemeToV8Theme(e){return this.currentTheme===We.Light?this.AppThemeListV8[We.Light]:this.AppThemeListV8[We.Dark]}registerOnThemeChanged(e){-1===this.themeChangedCallbacks.indexOf(e)&&this.themeChangedCallbacks.push(e)}unregisterOnThemeChanged(e){const t=this.themeChangedCallbacks.indexOf(e);-1!==t&&this.themeChangedCallbacks.splice(t,1)}constructor(){let e;this.AppThemeList={[We.Light]:Be,[We.Dark]:Le,[We.HighContrast]:Ke},this.AppThemeListV8={[We.Light]:Oe,[We.Dark]:Me,[We.HighContrast]:Me},this.currentTheme=We.Light,this.themeChangedCallbacks=[],this.themingIsInitialized=!1,this.fluentThemingIsInitialized=!1,this.themingInitializePromise=new Promise((t=>{e=t})),this.onThemingInitialized=()=>{this.themingIsInitialized=!0,e()}}}function Ge(){return He.getInstance().isThemingInitialized()||He.getInstance().isFluentThemingInitialized()}},37971:(e,t,r)=>{"use strict";r.d(t,{o:()=>C});var n=r(10477),o=r(12850),i=r(55056),a=r(53950),s=(r(63012),r(35070)),l=r(26838),u=r(30834),c=r(79513),d=r(87112);r(43839),r(30187),r(40193),r(84632),r(60414);var p=r(16594);function h(){const e=p.o3.getInstance(),t=function(){const[,e]=n.useState(0);return()=>e((e=>e+1))}();return n.useEffect((()=>(e.registerOnThemeChanged(t),()=>{e.unregisterOnThemeChanged(t)}))),e.getThemeNext()}const g={backgroundColor:"transparent",width:"inherit",height:"inherit",display:"inherit",flexGrow:"inherit",flexShrink:"inherit",flexBasis:"inherit",position:"static",maxHeight:"inherit"},m=(0,i.n)({root:{lineHeight:"unset",...g}}),f=(0,i.n)({root:g});let v;const b=e=>{const{children:t}=e;return v=(0,a.q)(),n.createElement(n.Fragment,null,t)},y=e=>{const{children:t,className:r,dir:o,targetDocument:i}=e,a=n.useMemo((()=>({dir:o,targetDocument:i})),[o,i]),s=(0,c.Y)();return n.createElement(u.K,{value:a},n.createElement("div",{className:r,ref:s},t))};(0,i.n)({root:{display:"contents",outline:"none",background:"none",border:"none",padding:0,margin:0}});const S=e=>{const{fluentProviderProps:t,globalTheme:r,dir:o,targetDocument:i,children:a,useExistingTheme:u}=e,c=m();return u&&v?n.createElement(y,{className:v,dir:o,targetDocument:i},a):n.createElement(s.q,{...t,className:(0,l.z)(c.root,t?.className),theme:r,dir:o},n.createElement(b,null,a))},C=e=>{const t=h(),r=(0,u.Y)(),i=f(),{children:a,fluentProviderProps:s,themeProviderProps:c,useExistingThemeClassName:p}=e,g="rtl"===r.dir||"rtl"===(window.document.body&&window.document.body.getAttribute("dir")||window.document.documentElement.getAttribute("dir"))?"rtl":"ltr";return n.createElement(d.e,{dir:g},n.createElement(S,{fluentProviderProps:s,globalTheme:t,dir:g,targetDocument:r.targetDocument,useExistingTheme:p},n.createElement(o.N,{...c,className:(0,l.z)(i.root,e.themeProviderProps?.className)},a)))};C.displayName="AppThemeProvider"},83278:(e,t,r)=>{"use strict";r.d(t,{t:()=>p});var n=r(10477),o=r(45650),i=r(82148),a=r(75744),s=r(57674),l=r(85963),u=r(40480),c=r(4749),d=r(60488);class p extends n.PureComponent{render(){const{content:e}=this.props,t="function"==typeof e?e():e,r=this.context.isPlatformFeatureEnabled?.(l.H9.tooltipForMacIsEnabled),s=r?{isBeakVisible:!1}:{};return n.createElement(u.V,null,(e=>n.createElement(o.m,{calloutProps:{...s,styles:(0,d.$)(e,this.props.hidden,this.props.delayTooltip,r),beakWidth:10,bounds:this.context.isExperimentalFeatureEnabled?.(l.PE.multiWindowSupportIsEnabled)?(0,a.W)(this.context.appWindow):c.HN,gapSpace:this.props.topMargin,id:"Callout-"+this.props.id},directionalHint:this.props.directionalHint?this.props.directionalHint:i.A.bottomCenter,directionalHintForRTL:this.props.directionalHintForRTL,content:t,targetElement:this.props.targetElement,onMouseEnter:this.props.mouseEnterCallback,onMouseLeave:this.props.mouseLeaveCallback,id:this.props.id})))}}p.contextType=s.B},60488:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var n=r(39398),o=r(31781),i=r(69284),a=r(16594);const s=(e,t,r,s)=>l=>{const{overflowYHidden:u,calloutWidth:c,beakWidth:d}=l,p=(0,o.C)(e);return{container:[{position:"relative",selectors:{".ms-Tooltip":{padding:s?"1px 6px 2px 6px":"4px 12px"}}},t&&{visibility:"hidden"}],root:[{position:"absolute",boxSizing:"border-box",borderRadius:2,border:`1px solid ${p.borderColor}`},!s&&{boxShadow:"0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)"},!!c&&{width:c},!r&&{animationDelay:"0s"},r&&{animationDelay:"500ms"}],beak:{position:"absolute",backgroundColor:p.defaultBackgroundColor,boxSizing:"border-box",transform:"rotate(45deg)",height:d,width:d,border:`1px solid ${p.borderColor}`},beakCurtain:[{position:"absolute",backgroundColor:p.defaultBackgroundColor,borderRadius:2,borderColor:"transparent",minWidth:20,selectors:{[n.up]:{outline:"none"}}},i.zr],calloutMain:[{backgroundColor:p.defaultBackgroundColor,overflowX:"hidden",overflowY:"auto",position:"relative",whiteSpace:"pre-line",userSelect:"none",selectors:{p:{color:(0,a.Q)()?p.textColor:"#323130",fontSize:12}}},u&&{overflowY:"hidden"}]}}},52746:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppTooltip:()=>n.t,default:()=>i,getAppTooltipStyles:()=>o.$});var n=r(83278),o=r(60488);const i=n.t},95902:(e,t,r)=>{"use strict";r.d(t,{K:()=>v});var n=r(10477),o=r(50539),i=r(78372),a=r(99482),s=r(53272);const l=(e,t)=>{const{tooltipLabel:r}=e,o=(0,s.o)(),i=n.useRef(null);return n.useEffect((()=>{i.current&&(i.current.innerHTML=(e=>{if(!e)return e;let t=e;return t=t.replace(/\n/g," <br /> "),t=t.replace(/\r/g," <br /> "),t=t.replace(/\t/g," "),t})(r??""))})),n.createElement("div",{onMouseEnter:()=>{t?.(o)},ref:i})};var u=r(55056),c=r(26838);const d=(0,u.n)({root:{maxWidth:"350px","@media (forced-colors: active)":{color:"ButtonText"}}});var p=r(85631);const h=n.memo(n.forwardRef(((e,t)=>{const[r,s]=n.useState(e.tooltipVisible||!1),u=((e,t,r)=>{const n=(e=>{const t=d();return(0,c.z)(t.root,e)})(e.tooltipClassName),o=(0,a.w)({...e,content:{children:l(e,r),className:n},relationship:e.relationship||"label",withArrow:e.withArrow||!0,positioning:e.positioning||"below",onVisibleChange:(t,n)=>r?.(n.visible&&((e,t)=>{if(!t)return!0;const r=document.getElementById(t)?.querySelector((0,p.aB)(!0));return!r||r.textContent!==e||"none"===window.getComputedStyle(r).display})(e.tooltipLabel,e.elementId)),visible:t,hideDelay:70});return o.shouldRenderTooltip=o.visible,o})(e,r,s);n.useEffect((()=>{void 0!==e.tooltipVisible&&s(e.tooltipVisible)}),[e.tooltipVisible]);const h=()=>{s(!1)};return n.useEffect((()=>(window.addEventListener("keydown",h),window.addEventListener("click",h),()=>{window.removeEventListener("keydown",h),window.removeEventListener("click",h)})),[]),(0,o.k)(u),(0,i.x)(u)})));var g=r(62833),m=r(26423);const f={0:"above-start",1:"above",2:"above-end",3:"above",4:"below",5:"below",6:"below-end",7:"below",8:"before-top",9:"before",10:"before-bottom",11:"after-top",12:"after",13:"after-bottom"},v=e=>{if((0,m.l)()){const{hideLabel:t,label:r,customTooltip:o,showTooltip:i=!1}=e,a=(0,g.R)(t,r,o);if(i&&a)return n.createElement(h,{tooltipVisible:e.visible,tooltipLabel:a,positioning:f[e.directionalHint||5],elementId:e.id,tooltipClassName:e.tooltipClassName,relationship:e.relationship},e.children)}return n.createElement(n.Fragment,null,e.children)}},23162:(e,t,r)=>{"use strict";r.d(t,{x:()=>c});var n=r(75296),o=r(82148),i=r(72341),a=r(53272),s=r(47615),l=r(701),u=r(57674);class c{updateTooltip(e){this.controlLabel!==e&&(this.controlLabel=e,this.tooltipIsOpen&&this.setTooltip())}updateTooltipAnchor(e){this.anchorElement!==e&&(this.anchorElement=e,this.tooltipIsOpen&&this.setTooltip())}constructor(e){this.tooltipIsOpen=!1,this.inTouchMode=!1,this.timeoutId=0,this.longPressMs=500,this.performOnNextFrameCallbackId=-1,this.targetOverflowSetItem=!1,this.location=void 0,this.registerTooltipHostActionsForMouseEvents=e=>{e&&(e.addEventListener("mouseenter",this.setTooltip,!1),e.addEventListener("mousedown",this.setTooltipUndefined,!1),this.performSetOnNextFrame&&e.addEventListener("mouseleave",this.mouseLeave,!1))},this.registerTooltipHostActions=()=>{this.registerTooltipHostActionsForMouseEvents(this.targetHoverElement?this.targetHoverElement:this.targetElement),this.targetElement&&(this.targetElement.addEventListener("keydown",this.onKeyDown,!1),this.targetElement.addEventListener("focusin",this.focusIn,!1),this.targetElement.addEventListener("focusout",this.focusOut,!1),this.targetElement.addEventListener("pointerenter",this.onPointerEnter,!1),this.targetElement.addEventListener("pointerup",this.onPointerDismiss,!1),this.targetElement.addEventListener("pointerout",this.onPointerDismiss,!1))},this.unregisterTooltipHostActionsForMouseEvents=e=>{e&&(e.removeEventListener("mouseenter",this.setTooltip,!1),e.removeEventListener("mousedown",this.setTooltipUndefined,!1),this.performSetOnNextFrame&&e.removeEventListener("mouseleave",this.mouseLeave,!1))},this.unregisterTooltipHostActions=()=>{this.unregisterTooltipHostActionsForMouseEvents(this.targetHoverElement?this.targetHoverElement:this.targetElement),this.targetElement&&(this.targetElement.removeEventListener("keydown",this.onKeyDown,!1),this.targetElement.removeEventListener("focusin",this.focusIn,!1),this.targetElement.removeEventListener("focusout",this.focusOut,!1),this.targetElement.removeEventListener("pointerenter",this.onPointerEnter,!1),this.targetElement.removeEventListener("pointerup",this.onPointerDismiss,!1),this.targetElement.removeEventListener("pointerout",this.onPointerDismiss,!1),this.setTooltipUndefined())},this.hideAllTooltips=e=>{this.updateTooltipsHidden(e)},this.setTooltipUndefined=()=>{this.tooltipIsOpen&&this.setTooltipInternal({element:void 0,label:void 0,id:void 0,tooltipTopMargin:void 0,isMenuComponent:this.isMenuComponent,tooltipDirection:this.tooltipDirection,tooltipDirectionForRTL:this.tooltipDirectionForRTL,dismissTooltipCallback:void 0,location:void 0},!1)},this.mouseLeave=()=>{(0,a.o)()||this.setTooltipUndefined()},this.focusIn=()=>{this.setTooltip()},this.focusOut=e=>{this.isMenuComponent&&e.relatedTarget&&(0,n.s)(e.relatedTarget,this.targetElement)||this.setTooltipUndefined()},this.setTooltip=()=>{this.setTooltipInternal({element:this.anchorElement?.current??this.targetElement,label:this.controlLabel,id:this.controlId,tooltipTopMargin:this.tooltipTopMargin,isMenuComponent:this.isMenuComponent,tooltipDirection:this.inTouchMode?o.A.topCenter:this.tooltipDirection,tooltipDirectionForRTL:this.inTouchMode?o.A.topCenter:this.tooltipDirectionForRTL,dismissTooltipCallback:this.setTooltipUndefined,location:this.location},!0)},this.setTooltipInternal=(e,t)=>{this.performOnNextFrameCallbackId>-1&&(window.cancelAnimationFrame(this.performOnNextFrameCallbackId),this.performOnNextFrameCallbackId=-1);const r=()=>(this.setTooltipElement(e),this.performOnNextFrameCallbackId=-1,this.performOnNextFrameCallbackId);this.performOnNextFrameCallbackId=this.performSetOnNextFrame?(0,s.z)(r):r(),this.tooltipIsOpen=t},this.onKeyDown=e=>{e&&"keydown"===e.type&&e.which===i.c.enter&&this.setTooltipUndefined(),e.ctrlKey&&e.shiftKey&&e.which===i.c.f10&&(this.tooltipIsOpen?this.setTooltipUndefined():this.setTooltip())},this.onPointerEnter=e=>{e&&"touch"===e.pointerType&&(this.inTouchMode=!0,this.timeoutId=window.setTimeout((()=>{this.timeoutId=0,this.setTooltip()}),this.longPressMs))},this.onPointerDismiss=e=>{e&&"touch"===e.pointerType&&(this.inTouchMode=!1,clearTimeout(this.timeoutId),this.tooltipIsOpen&&e.preventDefault(),this.setTooltipUndefined())},this.updateTooltipsHidden=e.updateTooltipsHidden,this.setTooltipElement=e.setTooltipElement,this.controlId=e.controlId,this.controlLabel=e.controlLabel,this.tooltipTopMargin=e.tooltipTopMargin?e.tooltipTopMargin:0,this.isMenuComponent=e.isMenuComponent,this.tooltipDirection=e.tooltipDirection,this.tooltipDirectionForRTL=e.tooltipDirectionForRTL,this.anchorElement=e.anchorElement,this.performSetOnNextFrame=!!e.performSetOnNextFrame,this.targetOverflowSetItem=!!e.targetOverflowSetItem,this.location=e.location;const t=e.htmlElement||e.refElement?.current;this.targetElement=this.targetOverflowSetItem&&(0,l.u)(t,c.classListItem)||t;const{hoverElement:r}=e;r&&(this.targetHoverElement=r.parentElement?.classList.contains(c.classListItem)?r.parentElement:r)}}c.classListItem="ms-OverflowSet-item",c.contextType=u.B},29047:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n=r(10477),o=r(57674),i=r(85963),a=r(23162);function s(e,t){const r=n.useRef(),s=n.useContext(o.B),l=!!(0,i.i2)(s,i.PE.tooltipsTargetOverflowSetItemEnabled),{label:u,direction:c,hoverElement:d,location:p}=t||{},h=n.useCallback((()=>(g.current&&u&&s.updateTooltipsHidden&&s.setTooltipElement&&(r.current=new a.x({updateTooltipsHidden:s.updateTooltipsHidden,setTooltipElement:s.setTooltipElement,htmlElement:g.current,controlId:e,controlLabel:"function"==typeof u?u():u,tooltipDirection:c,performSetOnNextFrame:!0,targetOverflowSetItem:l,hoverElement:d,location:p}),r.current.registerTooltipHostActions()),()=>{r.current?.setTooltipUndefined(),r.current?.unregisterTooltipHostActions(),r.current=void 0})),[s.updateTooltipsHidden,s.setTooltipElement,e,u,c,l,d,p]),g=n.useRef(),m=n.useCallback((e=>{e&&(g.current=e,h())}),[h]);return n.useEffect(h,[h]),{tooltipRef:m,tooltipHostRef:r}}},5072:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});var n=r(10477),o=r(23162);class i extends n.Component{componentDidMount(){const{tooltipId:e,tooltipLabel:t,hoverElement:r,tooltipTargetRef:n,updateTooltipsHidden:i,setTooltipElement:a,tooltipDirection:s,tooltipDirectionForRTL:l,isMenuComponent:u}=this.props;i&&a&&(this._appTooltipHost=new o.x({updateTooltipsHidden:i,setTooltipElement:a,htmlElement:this._contentRef.current,controlId:e,controlLabel:t??"",hoverElement:r,performSetOnNextFrame:!0,anchorElement:n,tooltipDirection:s,tooltipDirectionForRTL:l,isMenuComponent:u}),this._appTooltipHost.registerTooltipHostActions())}componentDidUpdate(){const{tooltipLabel:e,tooltipTargetRef:t}=this.props;this._appTooltipHost&&(e&&this._appTooltipHost.updateTooltip(e),t&&this._appTooltipHost.updateTooltipAnchor(t))}componentWillUnmount(){this._appTooltipHost?.unregisterTooltipHostActions(),this._appTooltipHost=void 0}shouldComponentUpdate(e){return this.props.children!==e.children||this.props.containerClassname!==e.containerClassname}render(){const{children:e,containerClassname:t}=this.props;return n.createElement("div",{ref:this._contentRef,className:t},e)}constructor(e){super(e),this._contentRef=n.createRef()}}},43066:(e,t,r)=>{"use strict";r.d(t,{M:()=>b});var n=r(10477),o=r(93931),i=r(44388),a=r(72341),s=r(75296),l=r(18660),u=r(53272),c=r(85631);const d="shycomponentchange";var p=r(57674),h=r(63863),g=r(85963),m=r(83278);const f={contain:"content"},v="undefined"!=typeof __Delay_FluentV8_Tooltip__&&__Delay_FluentV8_Tooltip__?n.lazy((()=>Promise.resolve().then(r.bind(r,52746)))):m.t;class b extends n.PureComponent{render(){return n.createElement(p.B.Consumer,null,(e=>n.createElement(p.B.Provider,{value:(0,h.g)(e.isExperimentalFeatureEnabled,this.setTooltipElement,this.updateTooltipsHidden,e.appWindow,e.isPlatformFeatureEnabled,e.responsiveClassName,e.logger)},this.props.children,n.createElement("div",{ref:this.tooltipWrapper}))))}componentDidMount(){document.addEventListener("keydown",this.globalKeyDown,{capture:!0}),document.addEventListener(d,this.onShyComponentChange)}componentWillUnmount(){document.removeEventListener("keydown",this.globalKeyDown,{capture:!0}),document.removeEventListener(d,this.onShyComponentChange)}getAppToolTip(){const e=(0,u.o)(),{isExperimentalFeatureEnabled:t,isPlatformFeatureEnabled:r,setTooltipElement:o,updateTooltipsHidden:i,appWindow:a}=this.context;let s=n.createElement(n.Suspense,{fallback:n.createElement(n.Fragment,null)},n.createElement(v,{appColors:this.props.appColors,targetElement:this.tooltipElement,content:this.tooltipLabel,id:this.tooltipId,topMargin:this.tooltipTopMargin,delayTooltip:this.delayTooltip,hidden:!this.tooltipElement||!this.tooltipLabel||!this.tooltipId,directionalHint:this.tooltipDirection,directionalHintForRTL:this.tooltipDirectionForRTL,mouseLeaveCallback:e?this.onMouseLeave:void 0,mouseEnterCallback:e?this.onMouseEnter:void 0}));return t?.(g.PE.appTooltipAppContextIsEnabled)&&(s=n.createElement(p.B.Provider,{value:(0,h.g)(t,o,i,a,r)},s)),t?.(g.PE.multiWindowSupportIsEnabled)&&a?n.createElement(l.IF,{window:a},s):s}constructor(){super(...arguments),this.tooltipWrapper=n.createRef(),this.tooltipWrapperRoot=void 0,this.hideTopLevelTooltips=!1,this.delayTooltip=!0,this.isTooltipDisabled=!1,this.timeoutID=0,this.tooltipIsVisible=!1,this.hoverTimeout=0,this.mouseEntered=!1,this.dismissFromTimeout=!1,this.location=void 0,this.renderTooltip=()=>{if(this.props.disableTooltip)return!this.isTooltipDisabled&&this.overwriteTooltip(),void(this.isTooltipDisabled=!0);if(this.isTooltipDisabled&&(this.isTooltipDisabled=!1),this.tooltipIsVisible=!(this.delayTooltip||!this.tooltipElement||!this.tooltipLabel||!this.tooltipId),this.delayTooltip&&this.overwriteTooltip(),!this.tooltipWrapper.current||this.hideTopLevelTooltips&&!this.isMenuComponent)this.overwriteTooltip();else{const e=this.context.isExperimentalFeatureEnabled?.(g.PE.react18RenderTooltipFixEnabled);e?(this.tooltipWrapperRoot&&o.flushSync((()=>this.tooltipWrapperRoot?.unmount())),this.tooltipWrapperRoot=(0,i.H)(this.tooltipWrapper.current),this.tooltipWrapperRoot?.render((0,u.o)()?o.createPortal(this.getAppToolTip(),this.tooltipWrapper.current):this.getAppToolTip())):o.render((0,u.o)()?o.createPortal(this.getAppToolTip(),this.tooltipWrapper.current):this.getAppToolTip(),this.tooltipWrapper.current)}},this.overwriteTooltip=()=>{if(this.tooltipWrapper.current){const e=this.context.isExperimentalFeatureEnabled?.(g.PE.react18RenderTooltipFixEnabled);!this.tooltipWrapperRoot&&e&&(this.tooltipWrapperRoot=(0,i.H)(this.tooltipWrapper.current)),this.tooltipWrapperRoot?this.tooltipWrapperRoot?.render(n.createElement("div",{style:f})):o.render(n.createElement("div",{style:f}),this.tooltipWrapper.current)}},this.clearTimeoutIfNeeded=(e,t)=>{(this.dismissFromTimeout||(0!==this.hoverTimeout||void 0!==this.hoverTimeout)&&e!==t)&&(clearTimeout(this.hoverTimeout),this.hoverTimeout=0,this.dismissFromTimeout=!1)},this.setTooltipElement=e=>{if(e.element){const t=e.element.querySelector((0,c.aB)(!0)),r="function"==typeof e.label?e.label():e.label;if(t&&t.textContent===r&&"none"!==window.getComputedStyle(t).display)return}this.clearTimeoutIfNeeded(this.tooltipId,e.id),e.element?(e.element.addEventListener("mouseleave",this.onMouseLeave,!1),e.element.addEventListener("mouseenter",this.onMouseEnter,!1)):this.tooltipElement&&(this.tooltipElement.removeEventListener("mouseleave",this.onMouseLeave,!1),this.tooltipElement.removeEventListener("mouseenter",this.onMouseEnter,!1)),this.isMenuComponent!==e.isMenuComponent&&(this.delayTooltip=!0),this.tooltipElement=e.element,this.tooltipLabel=e.label,this.tooltipId=e.id,this.tooltipTopMargin=e.tooltipTopMargin,this.isMenuComponent=e.isMenuComponent,this.tooltipDirection=e.tooltipDirection,this.tooltipDirectionForRTL=e.tooltipDirectionForRTL,this.dismissTooltipCallback=e.dismissTooltipCallback,this.location=e.location,this.setDelayTimeout(),this.trackTooltipVisibility(),this.renderTooltip()},this.updateTooltipsHidden=e=>{this.hideTopLevelTooltips=e,this.tooltipIsVisible=!1,this.renderTooltip()},this.setDelayTimeout=()=>{this.tooltipIsVisible&&!this.tooltipElement&&(this.delayTooltip=!1,clearTimeout(this.timeoutID),this.timeoutID=window.setTimeout((()=>{this.delayTooltip=!0,this.timeoutID=0}),500)),this.tooltipIsVisible=!!this.tooltipElement&&this.tooltipIsVisible},this.trackTooltipVisibility=()=>{!this.tooltipIsVisible&&this.tooltipElement&&(clearTimeout(this.timeoutID),this.timeoutID=window.setTimeout((()=>{this.tooltipIsVisible=!0}),500))},this.globalKeyDown=e=>{this.tooltipIsVisible&&this.tooltipElement&&e.ctrlKey&&!e.shiftKey&&e.which===a.c.ctrl&&(e.stopPropagation(),this.dismissTooltipCallback&&this.dismissTooltipCallback())},this.onShyComponentChange=e=>{this.tooltipIsVisible&&this.tooltipElement&&this.dismissTooltipCallback&&e.detail.isShowing&&this.dismissTooltipCallback()},this.isMouseWithinTooltipOrAnchor=e=>e===this.tooltipWrapper.current||(0,s.s)(this.tooltipWrapper.current,e)||e===this.tooltipElement||(0,s.s)(this.tooltipElement,e),this.onMouseLeave=e=>{if((0,u.o)()){if(e.relatedTarget&&!this.isMouseWithinTooltipOrAnchor(e.relatedTarget)&&(this.delayTooltip=!1,this.mouseEntered=!1,0===this.hoverTimeout||void 0===this.hoverTimeout)){const t={detail:{location:this.location,x:e.clientX,y:e.clientY}};this.hoverTimeout=window.setTimeout((()=>{this.mouseEntered||(this.dismissFromTimeout=!0,this.dismissTooltipCallback&&this.dismissTooltipCallback(),document.dispatchEvent(new CustomEvent("hoverableTooltipMouseLeave",t))),this.hoverTimeout=0}),500)}}else this.dismissTooltipCallback&&this.dismissTooltipCallback()},this.onMouseEnter=e=>{(0,u.o)()&&e.target&&this.isMouseWithinTooltipOrAnchor(e.target)&&(this.mouseEntered=!0,document.dispatchEvent(new CustomEvent("hoverableTooltipMouseEntered",{detail:{location:this.location}})))}}}b.contextType=p.B},26423:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(10477),o=r(57674),i=r(85963);const a=()=>{const e=n.useContext(o.B);return(0,i.i2)(e,i.PE.fluentV9TooltipIsEnabled)}},62833:(e,t,r)=>{"use strict";function n(e,t,r){return e||void 0===e?r||t:r&&r!==t?r:""}r.d(t,{R:()=>n})},58168:(e,t,r)=>{"use strict";r.d(t,{_:()=>u});var n=r(10477),o=r(40409),i=r(39773),a=r(29047),s=r(62833),l=r(26423);const u=(e,t)=>{const{customTooltip:r,hideLabel:u,id:c,label:d="",direction:p,location:h,neverShowTooltip:g}=t||{},m=n.useMemo((()=>c||(0,o.O)("tooltip-")),[c]),f=(0,s.R)(u,d,r),{tooltipRef:v,tooltipHostRef:b}=(0,a.i)(m,{label:f,direction:p,location:h}),y=(0,l.l)();return{mergedRef:(0,i.a)(e,g||y?null:v),tooltipHostRef:b}}},46923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LimitedSizeHotMap=void 0;class r extends Map{set(e,t){if(!this.query(e)&&this.size>=this.maxSize){const e=this.keys().next().value;this.delete(e)}return super.set(e,t)}query(e){if(this.has(e)){const t=this.get(e);return this.delete(e),this.set(e,t),!0}return!1}constructor(e){if(super(),this.maxSize=e,e<1)throw new Error("maxSize must be greater than 0")}}t.LimitedSizeHotMap=r},14803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kindAnonymizers=void 0,t.anonymize=function(e){try{return String(JSON.stringify(i(e,void 0)))}catch(e){if(null==e||"object"!=typeof e)return`<error: ${String(JSON.stringify(e))}>`;const t=String(e.name),r=String(e.message);return r.indexOf(t)>=0?`<error ${r}>`:`<error ${t}: ${r}>`}},t.anonymizeMagnitude=function(e){const t=Math.abs(e);return 0===t?-1e4:Math.floor((0,n.mathLog2)(t))},t.anonymizeFormulaString=function(e){return e.toLowerCase().replace(c,"w").replace(u,"d").replace(l,"w")};const n=r(93447);function o(e){return e}function i(e,r){if("string"==typeof r&&null!=a[r])return e;const n=function(e){if("object"==typeof e&&null!==e){const t=e.kind;if("string"==typeof t)return t}}(e);let o=void 0!==n?t.kindAnonymizers[n]:void 0;return void 0===o&&(o=s[function(e){const t=typeof e;if("object"===t){if(null===e)return"null";if(Array.isArray(e))return"Array"}return t}(e)]),void 0!==o?o(e,r):"<unexpected>"}const a={kind:!0,type:!0,index:!0,length:!0,row:!0,col:!0,rows:!0,cols:!0},s={boolean:o,symbol:function(e){return"symbol"!=typeof e?"<unexpected>":`<symbol ${String(e)}>`},undefined:o,null:o,number:function(e){return"number"!=typeof e?"<unexpected>":isFinite(e)?"<number>":e},bigint:function(e){return"bigint"!=typeof e?"<unexpected>":"<bigint>"},string:function(e){return"string"!=typeof e?"<unexpected>":e.length>0?"<string>":e},function:function(e){if("function"!=typeof e)return"<unexpected>";const t=e.name;return"string"==typeof t&&t.length>0?`<function ${t}>`:"<function>"},object:function(e){if("object"!=typeof e)return"<unexpected>";const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=i(e[r],r));return t},Array:function(e){return"object"==typeof e&&Array.isArray(e)?e.map(i):"<unexpected>"}};t.kindAnonymizers=Object.create(null);const l=new RegExp("[^=\\[\\]\\.\\\\\\/%@#\\-_\\+,;\\(\\):?\"&<>'!\\{\\}~\\^\\*$¢£¤¥₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹\\sꃂd]","g"),u=/[0-9]/g,c=/d/g},98497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NonstrictSparseArray2D=t.NonstrictArray2D=t.StrictSparseArray2D=t.StrictArray2D=void 0,t.array2DForall=function(e,t){for(let r=0;r<t.rows;r+=1)for(let n=0;n<t.cols;n+=1)if(!e(t.get(r,n)))return!1;return!0},t.array2DForall2=function(e,t,r){const n=(0,o.fastMin)(t.rows,r.rows),i=(0,o.fastMin)(t.cols,r.cols);for(let o=0;o<n;o+=1)for(let n=0;n<i;n+=1)if(!e(t.get(o,n),r.get(o,n)))return!1;return!0},t.jaggedArray=u,t.array2DToJaggedArray=function(e){return u(e.rows,e.cols,e.get.bind(e))},t.constantArray=c,t.constantArray2D=d,t.singletonArray2D=function(e){return d(1,1,e)},t.rowArray2D=function(e){return new s(1,e.length,((t,r)=>e[r]))},t.colArray2D=function(e){return new s(e.length,1,((t,r)=>e[t]))},t.transposeArray2D=function(e){return new s(e.cols,e.rows,((t,r)=>e.get(r,t)))},t.transposeSparseArray2D=function(e){return new l(e.cols,e.rows,e.denseCols,e.denseRows,((t,r)=>e.get(r,t)),(()=>e.getSparse()))},t.sparseArray2DTo1D=function(e,t){const r=e.getSparse.bind(e);return(0,n.assertTrue)("calc.common.sparseArray2DTo1D",t?0===e.cols||e.rows>0:0===e.rows||e.cols>0),t?{length:e.cols,denseLength:e.denseCols,get:t=>e.get(0,t),getSparse:r}:{length:e.rows,denseLength:e.denseRows,get:t=>e.get(t,0),getSparse:r}},t.broadcastArray=function(e,t,r,n,o,i){if(e===r&&t===n)return o;if(1===e&&1===t)return c(r,n,void 0===o[0]?i:o[0][0]);const a=[];let s;s=1===e?(e,r)=>r<t?o[0][r]:i:1===t?(t,r)=>t<e?o[t][0]:i:(r,n)=>r<e&&n<t?o[r][n]:i;for(let e=0;e<r;e+=1){a.push([]);for(let t=0;t<n;t+=1)a[e][t]=s(e,t)}return a},t.broadcastArray2D=function(e,t,r,n){return r.rows===e&&r.cols===t?r:1===r.rows&&1===r.cols?d(e,t,r.get(0,0)):1===r.rows?new s(e,t,((e,t)=>t<r.cols?r.get(0,t):n)):1===r.cols?new s(e,t,((e,t)=>e<r.rows?r.get(e,0):n)):new s(e,t,((e,t)=>e<r.rows&&t<r.cols?r.get(e,t):n))};const n=r(42614),o=r(19348);class i{get(e,t){return(0,n.assertIndex)("calc.common.StrictArray2D.get",e,this.rows),(0,n.assertIndex)("calc.common.StrictArray2D.get",t,this.cols),this.elements[e][t]}strict(){return this}map(e){return new s(this.rows,this.cols,((t,r)=>e(this.elements[t][r])))}constructor(e,t,r){(0,n.assertNatural)("calc.common.StrictArray2D",e),(0,n.assertNatural)("calc.common.StrictArray2D",t);const o=r.length;o<e&&(0,n.assertFalse)(`calc.common.StrictArray2D: expected elements.length >= ${e}; given ${o}`);for(let i=0;i<o;i+=1){const o=r[i].length;o<t&&(0,n.assertFalse)(`calc.common.StrictArray2D: expected elements[${i}].length >= ${e}; given ${o}`)}this.rows=e,this.cols=t,this.elements=r}}t.StrictArray2D=i;class a{get(e,t){return(0,n.assertIndex)("calc.common.StrictSparseArray2D.get",e,this.rows),(0,n.assertIndex)("calc.common.StrictSparseArray2D.get",t,this.cols),e<this.denseRows&&t<this.denseCols?this.denseElements[e][t]:this.sparseElement}getSparse(){return this.sparseElement}strict(){return this}map(e){return new l(this.rows,this.cols,this.denseRows,this.denseCols,((t,r)=>e(this.denseElements[t][r])),(()=>e(this.sparseElement)))}constructor(e,t,r,o,i,a){(0,n.assertNatural)("calc.common.StrictSparseArray2D",e),(0,n.assertNatural)("calc.common.StrictSparseArray2D",t),(0,n.assertIndex)("calc.common.StrictSparseArray2D",r,e+1),(0,n.assertIndex)("calc.common.StrictSparseArray2D",o,t+1);const s=i.length;s<r&&(0,n.assertFalse)(`calc.common.StrictSparseArray2D: expected elements.length >= ${r}; given ${s}`);for(let e=0;e<s;e+=1){const t=i[e].length;t<o&&(0,n.assertFalse)(`calc.common.StrictSparseArray2D: expected elements[${e}].length >= ${o}; given ${t}`)}this.rows=e,this.cols=t,this.denseRows=r,this.denseCols=o,this.denseElements=i,this.sparseElement=a}}t.StrictSparseArray2D=a;class s{get(e,t){return(0,n.assertIndex)("calc.common.NonstrictArray2D.get",e,this.rows),(0,n.assertIndex)("calc.common.NonstrictArray2D.get",t,this.cols),this.func(e,t)}strict(){const e=u(this.rows,this.cols,this.func);return new i(this.rows,this.cols,e)}map(e){return new s(this.rows,this.cols,((t,r)=>e(this.func(t,r))))}constructor(e,t,r){(0,n.assertNatural)("calc.common.NonstrictArray2D",e),(0,n.assertNatural)("calc.common.NonstrictArray2D",t),this.rows=e,this.cols=t,this.func=r}}t.NonstrictArray2D=s;class l{get(e,t){return(0,n.assertIndex)("calc.common.NonstrictSparseArray2D.get",e,this.rows),(0,n.assertIndex)("calc.common.NonstrictSparseArray2D.get",t,this.cols),e<this.denseRows&&t<this.denseCols?this.denseFunc(e,t):this.sparseFunc()}getSparse(){return this.sparseFunc()}strict(){const e=u(this.denseRows,this.denseCols,this.denseFunc),t=this.sparseFunc();return new a(this.rows,this.cols,this.denseRows,this.denseCols,e,t)}map(e){return new l(this.rows,this.cols,this.denseRows,this.denseCols,((t,r)=>e(this.denseFunc(t,r))),(()=>e(this.sparseFunc())))}constructor(e,t,r,o,i,a){(0,n.assertNatural)("calc.common.NonstrictSparseArray2D",e),(0,n.assertNatural)("calc.common.NonstrictSparseArray2D",t),(0,n.assertIndex)("calc.common.NonstrictSparseArray2D",r,e+1),(0,n.assertIndex)("calc.common.NonstrictSparseArray2D",o,t+1),this.rows=e,this.cols=t,this.denseRows=r,this.denseCols=o,this.denseFunc=i,this.sparseFunc=a}}function u(e,t,r){const n=[];for(let o=0;o<e;o+=1){const e=[];for(let n=0;n<t;n+=1)e[n]=r(o,n);n[o]=e}return n}function c(e,t,r){const n=[],o=[];for(let e=0;e<t;e+=1)o[e]=r;for(let t=0;t<e;t+=1)n[t]=o;return n}function d(e,t,r){return new s(e,t,((e,t)=>r))}t.NonstrictSparseArray2D=l},42614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ulsLogger=void 0,t.assertNever=function(e,r){const i=`${e}: code should be unreachable because a value has type 'never'; given ${(0,o.anonymize)(r)}`;return t.ulsLogger.ULS.assertTag(595980872,n.LogCategory.msoulscat_ES_EWAJS,!1,i)},t.assertFalse=c,t.assertTrue=function(e,t){t||c(`${e}: expected condition to be true`)},t.assertInteger=function(e,t){(0,i.isInteger)(t)||c(`${e}: expected integer; given ${(0,o.anonymize)(t)}`)},t.assertNatural=function(e,t){(!(0,i.isInteger)(t)||t<0)&&c(`${e}: expected natural number; given ${(0,o.anonymize)(t)}`)},t.assertPositiveInteger=function(e,t){(!(0,i.isInteger)(t)||t<=0)&&c(`${e}: expected positive integer; given ${(0,o.anonymize)(t)}`)},t.assertIndex=function(e,t,r){(!(0,i.isInteger)(t)||t<0||t>=r)&&c(`${e}: expected natural number less than ${(0,o.anonymize)(r)}; given ${(0,o.anonymize)(t)}`)},t.assertPositiveLength=function(e,t,r){(!(0,i.isInteger)(t)||t<=0||t>r)&&c(`${e}: expected positive integer at most ${(0,o.anonymize)(r)}; given ${(0,o.anonymize)(t)}`)};const n=r(68247),o=r(14803),i=r(93447);function a(e,t){return function(r,n,o,i){if(e(r,n,o,i),!o)throw new Error(`${t} ${r} ${n} ${i}`)}}function s(e){return{shipAssertTag:a(e.shipAssertTag.bind(e),"shipAssertTag"),assertTag:a(e.assertTag.bind(e),"assertTag"),traceTag:e.traceTag.bind(e),debugTraceTag:e.debugTraceTag.bind(e),dnmTraceTag:e.dnmTraceTag.bind(e)}}function l(e){return(...t)=>{try{return e(...t)}catch{}}}class u{createBufferingCallback(e){return(...t)=>{this.callBuffer.length<this.callBufferCapacity&&this.callBuffer.push({method:e,args:t})}}invokeBufferedCalls(){if(0===this.callBuffer.length)return;const e=this.callBuffer;this.callBuffer=[];const r=`calc.common.DefaultLogger.invokeBufferedCalls: ${e.length} calls before initLogger`;t.ulsLogger.ULS.traceTag(579736781,n.LogCategory.msoulscat_ES_EWAJS,n.TraceLevel.Warning,r);for(const r of e)t.ulsLogger.noThrowLogger[r.method](...r.args)}constructor(){this.callBufferCapacity=100,this.callBuffer=[],this.shipAssertTag=this.createBufferingCallback("shipAssertTag"),this.assertTag=this.createBufferingCallback("assertTag"),this.traceTag=this.createBufferingCallback("traceTag"),this.dnmTraceTag=this.createBufferingCallback("dnmTraceTag"),this.debugTraceTag=this.createBufferingCallback("debugTraceTag")}}function c(e){return t.ulsLogger.ULS.assertTag(595980873,n.LogCategory.msoulscat_ES_EWAJS,!1,e)}t.ulsLogger=new class{setLogger(e){const t=this.logger;this.logger=e,this.ULS=s(e),this.noThrowLogger=function(e){return{shipAssertTag:l(e.shipAssertTag.bind(e)),assertTag:l(e.assertTag.bind(e)),traceTag:l(e.traceTag.bind(e)),debugTraceTag:l(e.debugTraceTag.bind(e)),dnmTraceTag:l(e.dnmTraceTag.bind(e))}}(e),t instanceof u&&t.invokeBufferedCalls()}constructor(){this.logger=new u,this.ULS=s(this.logger),this.noThrowLogger=this.logger}}},58579:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},37757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asyncLoop=void 0,t.asyncLoopDelayPromiseImpl=s,t.asyncLoopFactory=l;const n=r(19348),o=r(46011),i=r(74778),a=r(48461);function s(e){return()=>new Promise((t=>e.setImmediate(t,void 0)))}function l(e){return(0,o.isTypedChangeGateEnabled)("Microsoft.Office.Excel.CalcTS.UseAsyncLoopImmediate")?function(e){return(t,r)=>{const o=r?.timeThreshold??10,a=r?.costThreshold??1,s={iterations:0,microtaskContinues:0,macrotaskContinues:0,macrotaskTotalDelay:0},[l,[u,c]]=(0,i.newPromise)();let d=!0,p=(0,n.now)();return function r(){if(!d||!function(){try{let e=0;for(;e<a;){s.iterations+=1;const r=t();if(void 0===r)return!1;e+=r}return!0}catch(e){return c(e),!1}}())return u();const i=(0,n.now)();i-p<o?(Promise.resolve().then(r),s.microtaskContinues+=1):(e.setImmediate((()=>{p=(0,n.now)(),s.macrotaskTotalDelay+=p-i,r()})),s.macrotaskContinues+=1)}(),{promise:l,stop:function(){d=!1},stats:s}}}(e):(t=s(e),(e,r)=>{const o=r?.timeThreshold??10,a=r?.costThreshold??1,s={iterations:0,microtaskContinues:0,macrotaskContinues:0,macrotaskTotalDelay:0},[l,[u,c]]=(0,i.newPromise)();let d=!0,p=t(),h=(0,n.now)();return function r(){if(!d||!function(){try{let t=0;for(;t<a;){s.iterations+=1;const r=e();if(void 0===r)return!1;t+=r}return!0}catch(e){return c(e),!1}}())return u();const i=(0,n.now)();i-h<o?(Promise.resolve().then(r),s.microtaskContinues+=1):(p.then((()=>{p=t(),h=(0,n.now)(),s.macrotaskTotalDelay+=h-i,r()})),s.macrotaskContinues+=1)}(),{promise:l,stop:function(){d=!1},stats:s}});var t}t.asyncLoop=l(a.defaultSetTimeoutInterface)},29818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codePointCapitalD=t.codePointCapitalC=t.codePointCapitalB=t.codePointCapitalA=t.codePointTilde=t.codePointRightCurlyBracket=t.codePointPipe=t.codePointLeftCurlyBracket=t.codePointBacktick=t.codePointUnderscore=t.codePointCircumflexAccent=t.codePointRightSquareBracket=t.codePointBackslash=t.codePointLeftSquareBracket=t.codePointAtSign=t.codePointQuestionMark=t.codePointGreaterThanSign=t.codePointEqualsSign=t.codePointLessThanSign=t.codePointSemicolon=t.codePointColon=t.codePointDigitNine=t.codePointDigitEight=t.codePointDigitSeven=t.codePointDigitSix=t.codePointDigitFive=t.codePointDigitFour=t.codePointDigitThree=t.codePointDigitTwo=t.codePointDigitOne=t.codePointDigitZero=t.codePointSlash=t.codePointFullStop=t.codePointMinusSign=t.codePointComma=t.codePointPlusSign=t.codePointAsterisk=t.codePointRightParen=t.codePointLeftParen=t.codePointSingleQuote=t.codePointAmpersand=t.codePointPercentSign=t.codePointDollarSign=t.codePointHash=t.codePointDoubleQuote=t.codePointExclamationMark=t.codePointSpace=t.codePointCR=t.codePointLF=t.codePointTab=void 0,t.codePointThaiDigitNine=t.codePointThaiDigitZero=t.codePointSmallZ=t.codePointSmallY=t.codePointSmallX=t.codePointSmallW=t.codePointSmallV=t.codePointSmallU=t.codePointSmallT=t.codePointSmallS=t.codePointSmallR=t.codePointSmallQ=t.codePointSmallP=t.codePointSmallO=t.codePointSmallN=t.codePointSmallM=t.codePointSmallL=t.codePointSmallK=t.codePointSmallJ=t.codePointSmallI=t.codePointSmallH=t.codePointSmallG=t.codePointSmallF=t.codePointSmallE=t.codePointSmallD=t.codePointSmallC=t.codePointSmallB=t.codePointSmallA=t.codePointCapitalZ=t.codePointCapitalY=t.codePointCapitalX=t.codePointCapitalW=t.codePointCapitalV=t.codePointCapitalU=t.codePointCapitalT=t.codePointCapitalS=t.codePointCapitalR=t.codePointCapitalQ=t.codePointCapitalP=t.codePointCapitalO=t.codePointCapitalN=t.codePointCapitalM=t.codePointCapitalL=t.codePointCapitalK=t.codePointCapitalJ=t.codePointCapitalI=t.codePointCapitalH=t.codePointCapitalG=t.codePointCapitalF=t.codePointCapitalE=void 0,t.codePointInvertedQuestionMark=t.codePointInvertedExclamationMark=t.codePointRightSingleQuotationMark=t.codePointLeftSingleQuotationMark=t.codePointEuroSign=t.codePointFullwidthLatinSmallZ=t.codePointFullwidthLatinSmallA=t.codePointFullwidthLatinCapitalZ=t.codePointFullwidthLatinCapitalA=t.codePointFullwidthDigitNine=t.codePointFullwidthDigitZero=void 0,t.codePointTab=9,t.codePointLF=10,t.codePointCR=13,t.codePointSpace=32,t.codePointExclamationMark=33,t.codePointDoubleQuote=34,t.codePointHash=35,t.codePointDollarSign=36,t.codePointPercentSign=37,t.codePointAmpersand=38,t.codePointSingleQuote=39,t.codePointLeftParen=40,t.codePointRightParen=41,t.codePointAsterisk=42,t.codePointPlusSign=43,t.codePointComma=44,t.codePointMinusSign=45,t.codePointFullStop=46,t.codePointSlash=47,t.codePointDigitZero=48,t.codePointDigitOne=49,t.codePointDigitTwo=50,t.codePointDigitThree=51,t.codePointDigitFour=52,t.codePointDigitFive=53,t.codePointDigitSix=54,t.codePointDigitSeven=55,t.codePointDigitEight=56,t.codePointDigitNine=57,t.codePointColon=58,t.codePointSemicolon=59,t.codePointLessThanSign=60,t.codePointEqualsSign=61,t.codePointGreaterThanSign=62,t.codePointQuestionMark=63,t.codePointAtSign=64,t.codePointLeftSquareBracket=91,t.codePointBackslash=92,t.codePointRightSquareBracket=93,t.codePointCircumflexAccent=94,t.codePointUnderscore=95,t.codePointBacktick=96,t.codePointLeftCurlyBracket=123,t.codePointPipe=124,t.codePointRightCurlyBracket=125,t.codePointTilde=126,t.codePointCapitalA=65,t.codePointCapitalB=66,t.codePointCapitalC=67,t.codePointCapitalD=68,t.codePointCapitalE=69,t.codePointCapitalF=70,t.codePointCapitalG=71,t.codePointCapitalH=72,t.codePointCapitalI=73,t.codePointCapitalJ=74,t.codePointCapitalK=75,t.codePointCapitalL=76,t.codePointCapitalM=77,t.codePointCapitalN=78,t.codePointCapitalO=79,t.codePointCapitalP=80,t.codePointCapitalQ=81,t.codePointCapitalR=82,t.codePointCapitalS=83,t.codePointCapitalT=84,t.codePointCapitalU=85,t.codePointCapitalV=86,t.codePointCapitalW=87,t.codePointCapitalX=88,t.codePointCapitalY=89,t.codePointCapitalZ=90,t.codePointSmallA=97,t.codePointSmallB=98,t.codePointSmallC=99,t.codePointSmallD=100,t.codePointSmallE=101,t.codePointSmallF=102,t.codePointSmallG=103,t.codePointSmallH=104,t.codePointSmallI=105,t.codePointSmallJ=106,t.codePointSmallK=107,t.codePointSmallL=108,t.codePointSmallM=109,t.codePointSmallN=110,t.codePointSmallO=111,t.codePointSmallP=112,t.codePointSmallQ=113,t.codePointSmallR=114,t.codePointSmallS=115,t.codePointSmallT=116,t.codePointSmallU=117,t.codePointSmallV=118,t.codePointSmallW=119,t.codePointSmallX=120,t.codePointSmallY=121,t.codePointSmallZ=122,t.codePointThaiDigitZero=3664,t.codePointThaiDigitNine=3673,t.codePointFullwidthDigitZero=65296,t.codePointFullwidthDigitNine=65305,t.codePointFullwidthLatinCapitalA=65313,t.codePointFullwidthLatinCapitalZ=65338,t.codePointFullwidthLatinSmallA=65345,t.codePointFullwidthLatinSmallZ=65370,t.codePointEuroSign=8364,t.codePointLeftSingleQuotationMark=8216,t.codePointRightSingleQuotationMark=8217,t.codePointInvertedExclamationMark=161,t.codePointInvertedQuestionMark=191},99595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combinations=function e(...t){if(0===t.length)return[[]];const[r,...n]=t,o=e(...n),i=[];for(const e of r)for(const t of o)i.push([e,...t]);return i}},49233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maxRetriesForLoadingScript=t.initCalcCalled=void 0,t.isCalcInit=function(){return g},t.getCalcAbsUrl=function(){return h},t.getCalcAbsUrlOrThrow=m,t.initCalc=function(e,t,r){f(e,t,r,void 0)},t.initCalcInThread=async function(e,t,r,n){f(function(e){const t=e=>`[${(new Date).toISOString()}] ${e}`;return{shipAssertTag(r,n,o,i){e.shipAssertTag(r,n,o,t(i))},assertTag(r,n,o,i){e.assertTag(r,n,o,t(i))},traceTag(r,n,o,i){e.traceTag(r,n,o,t(i))},debugTraceTag(r,n,o,i){e.debugTraceTag(r,n,o,t(i))},dnmTraceTag(r,n,o,i){e.dnmTraceTag(r,n,o,t(i))}}}((await i.Endpoint.createOutside(e)).post),(e=>!0===t[e]),r,n)},t.initCalcThread=async function(e){const t=m(),r=new MessageChannel,n={port:r.port1,options:{id:"WorkerThreadLogger"}},o={port:r.port2,options:{id:"WorkerThreadLogger"}};try{const[r]=await Promise.all([i.Endpoint.createInside(n,(()=>a.ulsLogger.noThrowLogger)),e.call.initCalcThreadInside.transfer([o.port],o,(0,s.getFeatures)(),t)]);return r}catch(e){throw n.port.close(),e}};const n=r(16533),o=r(68247),i=n.__importStar(r(18832)),a=r(42614),s=r(46011),l=r(64056),u=r(74778),c=r(26600),d=r(62659);t.initCalcCalled=new u.ResolvablePromise,t.maxRetriesForLoadingScript=9;const p=/^(https)|(http)|(file):\/\//;let h,g=!1;function m(){if(null==h)throw new Error("initCalc was not passed calcAbsUrl");return h}function f(e,r,n,u){if(g){const e="calc.config.initCalc: Calc is already initialized";return void a.ulsLogger.ULS.traceTag(595910878,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,e)}if(a.ulsLogger.setLogger(e),(0,c.initStopwatch)(e),(0,s.initFeatureConfiguration)(r),null!=n&&!p.test(n)){const e=`calc.config.initCalc: calcAbsUrl is not absolute: ${n}`;a.ulsLogger.ULS.traceTag(595910879,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,e)}i.setConfig(u??{importScriptsMaxRetries:t.maxRetriesForLoadingScript,onWorkerError(e){const t={error:(0,d.messageFromError)(e),innerError:e.info.error?(0,d.messageFromError)(e.info.error):void 0},r=`calc.onWorkerError: ${JSON.stringify(t)}`;a.ulsLogger.ULS.traceTag(593335298,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,r)},onCreateWorker(e){const t=`calc.onCreateWorker: ${JSON.stringify(e)}`;a.ulsLogger.ULS.traceTag(593335299,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,t)}}),h=n,g=!0;const m=`calc.config.initCalc: package version ${l.packageVersion} (production) initialized`;a.ulsLogger.ULS.traceTag(594642132,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,m),t.initCalcCalled.resolve(void 0)}},19348:(e,t)=>{"use strict";function r(){const e=Object.create(null);return e.___=void 0,delete e.___,e}function n(e){return Object.keys(e).map((e=>Number(e))).filter((e=>!isNaN(e)))}function o(e,t){for(const r of t)e.push(r);return e}function i(e){return null!=e}Object.defineProperty(t,"__esModule",{value:!0}),t.now=t.staticAssertIsOptional=void 0,t.makeNewtypeIso=function(e,t){return{wrap:e,unwrap:t}},t.staticAssertExtends=function(){},t.staticAssertSame=function(){},t.staticAssertIs=function(){return e=>e},t.identity=function(e){return e},t.makeStringMap=r,t.cloneStringMap=function(e){const t=r();for(const r in e)t[r]=e[r];return t},t.numEnumArray=n,t.numEnumMap=function(e,t){const r={};for(const o of n(e))r[o]=t(o);return r},t.strEnumArray=function(e){return Object.keys(e).map((e=>e)).map((t=>e[t])).sort()},t.safePush=o,t.safeConcat=function(e,t){const r=[];o(r,e);for(const e of t)o(r,e);return r},t.isDefined=i,t.isNone=function(e){return null==e},t.filterOutNones=function(e){return e.filter(i)},t.pair=function(e,t){return[e,t]},t.fastMin=function(e,t){return e<t?e:t},t.fastMax=function(e,t){return e<t?t:e},t.fastAbs=function(e){return e<0?-e:e},t.makeStringCompareCI=function(e){const t={sensitivity:"accent"};try{const r=new Intl.Collator(function(e){const t=[e],r=e.indexOf("-");return r>0&&t.push(e.substring(0,r)),"en"!==t[t.length-1]&&t.push("en"),t}(e),t);return r.compare.bind(r)}catch(e){return function(e,t){return e===t?0:e.toLocaleUpperCase().localeCompare(t.toLocaleUpperCase())}}},t.typedInstanceCreator=function(){return e=>e},t.singleton=function(e){class t{static instance(){return void 0===t.value&&(t.value=e()),t.value}instance(){return t.instance()}}return t.value=void 0,t},t.mapFromArrayOfPairs=function(e){return e.reduce(((e,[t,r])=>(e[t]=r,e)),{})},t.staticAssertIsOptional=e=>e,t.now="undefined"!=typeof performance&&null!=performance.now?()=>performance.now():()=>Date.now()},80904:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RootPointer=t.ArrayMapTree=void 0,t.floorToPowerOf2=o,t.enumerateInOrder=a,t.enumerateKeysInOrder=function(e,t){return a(e,t).map((([e])=>e))};const n=r(7325);function o(e){if(0===e)return 0;let t=e;return t=(t|t>>>1)>>>0,t=(t|t>>>2)>>>0,t=(t|t>>>4)>>>0,t=(t|t>>>8)>>>0,t=(t|t>>>16)>>>0,t+=1,t/2}class i{static create(e){return new i(e,[],[])}setValue(e,t){return this.setValues([[e,t]])}remove(e){return void 0===this.getKeyIndex(e)?this:this.filter((t=>t!==e))}getOrSetValue(e,t){const r=this.getKeyIndex(e);if(void 0===r){const r=t();return[this.setValue(e,r),r]}return[this,this.values[r]]}filter(e){const t=[];for(let r=0;r<this.keys.length;r+=1){const n=this.keys[r],o=this.values[r];e(n,o)&&t.push([n,o])}return t.length===this.getCount()?this:this.ofSequence(t)}getCount(){return this.keys.length}getValue(e){const t=this.getKeyIndex(e);if(void 0!==t)return this.values[t]}getEntry(e){const t=this.getKeyIndex(e);if(void 0!==t)return(0,n.entry)(this.keys[t],this.values[t])}contains(e){return void 0!==this.getKeyIndex(e)}forEach(e){for(let t=0;t<this.keys.length;t+=1)if(!e(this.keys[t],this.values[t]))return!1;return!0}setValues(e){const t=this.keys.map(((e,t)=>[e,this.values[t],t])),r=t.length;e.forEach((([e,n],o)=>t.push([e,n,o+r]))),t.sort((([e,,t],[r,,n])=>{const o=this.keyCompare(e,r);return 0!==o?o:t-n}));const n=[];let o;for(let e=0;e<t.length;e+=1){const[r,i]=t[e];void 0===o||0!==this.keyCompare(r,o)?(n.push([r,i]),o=r):n[n.length-1]=[r,i]}return this.ofSequence(n)}getKeyIndex(e){let r=t.RootPointer;for(;r>=0&&r<this.keys.length;){const t=this.keyCompare(e,this.keys[r]);if(0===t)return r;t<0?r=u(r):t>0&&(r=c(r))}}ofSequence(e){const r=e.slice();r.sort((([e],[t])=>this.keyCompare(e,t)));const n=new Array(r.length),o=new Array(r.length),a=function(e){const r=new Array(e);return l(t.RootPointer,r,0,e),r}(r.length);for(let e=0;e<r.length;e+=1){const[t,i]=r[a[e]];n[e]=t,o[e]=i}return new i(this.keyCompare,n,o)}constructor(e,t,r){this.keyCompare=e,this.keys=t,this.values=r}}function a(e,t){const r=[];return s(e,t,r),r}function s(e,t,r){t<0||t>=e.keys.length||(s(e,u(t),r),r.push([e.keys[t],e.values[t]]),s(e,c(t),r))}function l(e,t,r,n){if(e>=t.length)return;const i=function(e){const t=o(e);return t/2-1<=e-t?t-1:e-t/2}(n);t[e]=r+i,l(u(e),t,r,i),l(c(e),t,r+i+1,n-i-1)}function u(e){return 2*e+1}function c(e){return 2*e+2}t.ArrayMapTree=i,t.RootPointer=0},56738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BinaryHeap=void 0,t.BinaryHeap=class{insert(e){this.items.push(e);let t=this.getCount()-1;for(;t>0;){const r=t-1>>>1,n=this.items[r];if(!(this.cmp(n,e)>0))break;this.items[t]=n,t=r}this.items[t]=e}peek(){return this.items[0]}removeMin(){const e=this.peek(),t=this.items.pop(),r=this.getCount()-1;if(r<0||void 0===t)return e;let n=0;for(this.items[0]=t;n<r;){let e=n;const o=1+(n<<1),i=2+(n<<1);if(o<=r&&this.cmp(this.items[o],t)<0&&(e=o),i<=r&&this.cmp(this.items[i],e===o?this.items[e]:t)<0&&(e=i),n===e)break;this.items[n]=this.items[e],n=e}return this.items[n]=t,e}getCount(){return this.items.length}clear(){this.items.length=0}forEach(e){for(const t of this.items)if(!e(t))return}constructor(e){this.items=[],this.cmp=e}}},11038:(e,t)=>{"use strict";var r;function n(e,t,r=10){return n=>{if(void 0!==n.split)return n.split;const o=e(n),i=n===t?0:n.depth;return void 0!==i&&i<r&&(n.split=o,o[0][0].depth=i+1,o[1][0].depth=i+1),o}}function o(e,r){return r===t.empty?t.empty:r===t.dense?t.dense:{setOperations:e,root:r}}function i(e,r){return r===t.empty?e:r===t.dense||e===t.empty?r:e===t.dense?e:o(e.setOperations,a(e.setOperations,e.setOperations.top,e.root,r.root))}function a(e,r,n,o){if(o===t.empty)return n;if(o===t.dense)return o;if(n===t.empty)return o;if(n===t.dense)return n;if(n.isExact&&o.isExact){const i=function(e,r,n,o){const{key:i}=n,{key:a}=o,s=e.compare(i,a);if(void 0!==s)return s<0?o:n;const l=e.union(i,a);if(void 0!==l){const n=e.compare(l,r);return void 0!==n&&0===n?t.dense:f(e,r,l,!0)}}(e,r,n,o);if(void 0!==i)return i}const i=v(e,r,n),s=v(e,r,o),[[l],[u]]=e.split(r);return h(e,l,u,a(e,l,i.left,s.left),a(e,u,i.right,s.right))}function s(e,r,n,o){if(n===t.empty)return n;if(o===t.empty)return o;if(n===t.dense)return o;if(o===t.dense)return n;if(n.isExact&&o.isExact){const i=function(e,r,n,o){const{key:i}=n,{key:a}=o;if(!e.meets(i,a))return t.empty;const s=e.compare(i,a);if(void 0!==s)return s<0?n:o;const l=e.intersect(i,a);return void 0!==l?f(e,r,l,!0):void 0}(e,r,n,o);if(void 0!==i)return i}const i=v(e,r,n),a=v(e,r,o),[[l],[u]]=e.split(r);return h(e,l,u,s(e,l,i.left,a.left),s(e,u,i.right,a.right))}function l(e,r,n,o){if(n===t.empty||o===t.empty)return!1;if(n===t.dense||o===t.dense)return!0;if(n.isExact&&o.isExact)return e.meets(n.key,o.key);const i=v(e,r,n),a=v(e,r,o),[[s],[u]]=e.split(r);return l(e,s,i.left,a.left)||l(e,u,i.right,a.right)}function u(e,r){return e===t.empty||r===t.empty?e:r===t.dense?t.empty:e===t.dense?o(r.setOperations,c(r.setOperations,r.setOperations.top,e,r.root)):o(e.setOperations,c(e.setOperations,e.setOperations.top,e.root,r.root))}function c(e,r,n,o){if(n===t.empty)return n;if(o===t.empty)return n;if(o===t.dense)return t.empty;if(n===t.dense){const n=v(e,r,o),[[i],[a]]=e.split(r);return h(e,i,a,c(e,i,t.dense,n.left),c(e,a,t.dense,n.right))}if(n.isExact&&o.isExact){const t=function(e,t,r,n){const{key:o}=r,{key:i}=n;if(!e.meets(o,i))return r;const a=e.except(o,i);return void 0!==a?f(e,t,a,!0):void 0}(e,r,n,o);if(void 0!==t)return t}const i=v(e,r,n),a=v(e,r,o),[[s],[l]]=e.split(r);return h(e,s,l,c(e,s,i.left,a.left),c(e,l,i.right,a.right))}function d(e,t){if(void 0!==e&&void 0!==t)return 0===e?t:0===t||e===t?e:void 0}function p(e,r,n,o){if(n===o)return 0;if(n===t.empty)return-1;if(o===t.empty)return 1;if(n===t.dense)return o===t.dense?0:1;if(o===t.dense)return-1;if(n.isExact&&o.isExact)return function(e,t,r){return e.compare(t.key,r.key)}(e,n,o);const i=v(e,r,n),a=v(e,r,o),[[s],[l]]=e.split(r),u=p(e,s,i.left,a.left);if(void 0===u)return;const c=p(e,l,i.right,a.right);return void 0!==c?d(u,c):void 0}function h(e,r,n,o,i){return o===t.empty?i===t.empty?t.empty:i===t.dense?g(o,i,void 0,!1,e.infimum(n,n),e.supremum(n,n)):g(o,i,void 0,!1,i.infimum,i.supremum):i===t.empty?o===t.dense?g(o,i,void 0,!1,e.infimum(r,r),e.supremum(r,r)):g(o,i,void 0,!1,o.infimum,o.supremum):o===t.dense?i===t.dense?t.dense:g(o,i,void 0,!1,e.combineInfima(e.infimum(r,r),i.infimum),e.combineSuprema(e.supremum(r,r),i.supremum)):i===t.dense?g(o,i,void 0,!1,e.combineInfima(o.infimum,e.infimum(n,n)),e.combineSuprema(o.supremum,e.supremum(n,n))):g(o,i,void 0,!1,e.combineInfima(o.infimum,i.infimum),e.combineSuprema(o.supremum,i.supremum))}function g(e,t,r,n,o,i){return{key:r,left:e,right:t,isExact:n,infimum:o,supremum:i}}function m(e,r,n){if(!e.meets(r,n))return t.empty;const o=e.compare(r,n);if(void 0!==o)return o<=0?t.dense:f(e,r,n,!0);const i=e.intersect(r,n);return void 0!==i?f(e,r,i,!0):f(e,r,n,!1)}function f(e,t,r,n){return g(void 0,void 0,r,!!n,e.infimum(r,t),e.supremum(r,t))}function v(e,r,n){if(void 0!==n.left)return n;const[[o],[i]]=e.split(r),a=h(e,o,i,m(e,o,n.key),m(e,i,n.key));if(a===t.empty||a===t.dense)throw new Error("incorrect set operations implementation");const s=a,l=n;return Object.assign(l,{left:s.left,right:s.right})}function b(e){return void 0===e||e===t.empty||e===t.dense?0:b(e.left)+b(e.right)+1}function y(e,r,n){return function r(o,i){if(i===t.empty)return!0;if(i===t.dense)return n(o);if(i.isExact)return n(i.key);const a=v(e,o,i),[[s],[l]]=e.split(o);return r(s,a.left)&&r(l,a.right)}(e.top,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.dense=t.SetKind=void 0,t.cacheKeySplitting=n,t.createFromKey=function(e){const t={...e,split:n(e.split,e.top)};return e=>o(t,m(t,t.top,e))},t.fromUntyped=o,t.union=i,t.unionUntyped=a,t.intersect=function(e,r){return e===t.empty?e:r===t.empty||e===t.dense?r:r===t.dense?e:o(e.setOperations,s(e.setOperations,e.setOperations.top,e.root,r.root))},t.intersectUntyped=s,t.meets=function(e,r){return e!==t.empty&&r!==t.empty&&(e===t.dense||r===t.dense||l(e.setOperations,e.setOperations.top,e.root,r.root))},t.meetsUntyped=l,t.except=u,t.exceptUntyped=c,t.compare=function(e,r){return e===r?0:e===t.empty?-1:r===t.empty?1:e===t.dense?r===t.dense?0:1:r===t.dense?-1:p(e.setOperations,e.setOperations.top,e.root,r.root)},t.combineCmp=d,t.compareUntyped=p,t.lazy=m,t.symmetricDiff=function(e,t){return i(u(e,t),u(t,e))},t.complement=function(e){return u(t.dense,e)},t.getNodeCount=function(e){return e===t.empty||e===t.dense?0:b(e.root)},t.forEachKey=function(e,r){return e===t.empty||y(e.setOperations,e.root,r)},t.forEachKeyUntyped=y,function(e){e[e.Dense=0]="Dense",e[e.Empty=1]="Empty"}(r||(t.SetKind=r={})),t.dense=r.Dense,t.empty=r.Empty},74806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boundedPareto=i,t.boundedParetoSplitter=a,t.boundedParetoSetOperations=function(e,t,r,i,s){const l=a(e,t,r);return{id:s,split:e=>l.split(e),canSplit:e=>l.canSplit(e),meets:n.ivlMeets,intersect:n.ivlMeet,union:(e,t)=>(0,n.ivlMeetsOrTouches)(e,t)?(0,n.ivlJoin)(e,t):void 0,except:n.ivlExcept,compare:n.ivlCompare,top:i,infimum:([e])=>e,supremum:([,e])=>e,combineInfima:(e,t)=>(0,o.fastMin)(e,t),combineSuprema:(e,t)=>(0,o.fastMax)(e,t)}};const n=r(3968),o=r(19348);function i(e,t,r){const n=t**e,o=1-(t/r)**e,i=r**e,a=i*n,s=i-n,l=-1/e;return{cdf:1===e?e=>(1-n/e)/o:t=>(1-n*t**-e)/o,invCdf:1===e?e=>1/((i-e*s)/a):e=>((i-e*s)/a)**l}}function a(e,t,r){const n=i(e,t,r);return{canSplit:([e,t])=>t-e>1,split([e,t]){const r=n.cdf(t),i=n.cdf(e+1),a=n.invCdf((r+i)/2),s=(0,o.fastMin)((0,o.fastMax)(Math.round(a),e+1),t-1);return[[[e,s],n.cdf(s)-n.cdf(e+1)],[[s,t],n.cdf(t)-n.cdf(s)]]}}}},31161:(e,t)=>{"use strict";function r(e,t){return e&t-1}Object.defineProperty(t,"__esModule",{value:!0}),t.Deque=void 0,t.Deque=class{getCount(){return this.count}maybeResize(){const e=this.values.length;if(this.count>=e){this.values.length=e<<1;for(let t=0;t<this.front;t+=1)this.values[e+t]=this.values[t],this.values[t]=void 0;return}const t=e>>4;if(t>=1&&this.count<t){for(let n=0;n<this.count;n+=1)this.values[r(this.front+n,t)]=this.values[r(this.front+n,e)];this.values.length=t,this.front=r(this.front,t)}}pushBack(e){this.maybeResize(),this.values[r(this.front+this.count,this.values.length)]=e,this.count+=1}pushFront(e){this.maybeResize();const t=r(this.front-1,this.values.length);this.values[t]=e,this.front=t,this.count+=1}peekBack(){return this.values[r(this.front+this.count-1,this.values.length)]}peekFront(){return this.values[this.front]}peekPos(e){if(!(e<0||e>=this.count))return this.values[r(this.front+e,this.values.length)]}popBack(){const e=r(this.front+this.count-1,this.values.length),t=this.values[e];return void 0!==t&&(this.values[e]=void 0,this.count-=1),t}popFront(){const e=this.values[this.front];return void 0!==e&&(this.values[this.front]=void 0,this.front=r(this.front+1,this.values.length),this.count-=1),e}forEach(e){const t=this.values.length;for(let n=0;n<this.count;n+=1)if(!e(this.values[r(this.front+n,t)]))return!1;return!0}constructor(){this.front=0,this.count=0,this.values=[void 0]}}},24701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeDictionary=i,t.makeStringDict=function(){return i(o.identity)},t.makeNumberDict=function(){return i((e=>String(e)))};const n=r(7325),o=r(19348);function i(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}return{entries:(0,o.makeStringMap)(),keyToString:e,getCount(){return Object.keys(this.entries).length},getValue(e){const r=this.keyToString(e),n=t(this.entries,r)?this.entries[r]:void 0;return(0,o.isDefined)(n)?n.value:void 0},getEntry(e){const t=this.getValue(e);return void 0===t?void 0:(0,n.entry)(e,t)},setValue(e,r){const i=this.keyToString(e),a=t(this.entries,i)?this.entries[i]:void 0;(0,o.isDefined)(a)?a.value=r:this.entries[i]=(0,n.entry)(e,r)},contains(e){const r=this.keyToString(e),n=t(this.entries,r)?this.entries[r]:void 0;return(0,o.isDefined)(n)},remove(e){const r=this.keyToString(e);return!!t(this.entries,r)&&(delete this.entries[r],!0)},getOrSetValue(e,r){const i=this.keyToString(e),a=t(this.entries,i)?this.entries[i]:void 0;if((0,o.isDefined)(a))return a.value;const s=r();return delete this.entries[i],this.entries[i]=(0,n.entry)(e,s),s},forEach(e){for(const r in this.entries){const n=t(this.entries,r)?this.entries[r]:void 0;if((0,o.isDefined)(n)&&!e(n.key,n.value))return!1}return!0},filter(e){const t=[];this.forEach(((r,n)=>(e(r,n)||t.push(r),!0)));for(const e of t)this.remove(e)}}}},30613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeHashSet=function(e,t){return{map:{},keyToHash:e,keyEquals:t,nelements:0,add(e){const t=this.keyToHash(e);if((0,o.isNone)(this.map[t]))this.map[t]=[e],this.nelements+=1;else{const r=this.map[t];for(let t=0;t<r.length;t+=1)if(this.keyEquals(e,r[t]))return;(0,n.logCollisionKey)(e),r.push(e),this.nelements+=1}},contains(e){const t=this.keyToHash(e),r=this.map[t];if((0,o.isNone)(r))return!1;for(let t=0;t<r.length;t+=1)if(this.keyEquals(e,r[t]))return!0;return(0,n.logCollisionKey)(e),!1},forEach(e){Object.keys(this.map).forEach((t=>{this.map[Number(t)].forEach((t=>{e(t)}))}))},size(){return this.nelements},remove(e){const t=this.keyToHash(e),r=this.map[t];if((0,o.isNone)(r))return!1;const i=[];let a=!1;return r.forEach((t=>{this.keyEquals(e,t)?(this.nelements-=1,a=!0):i.push(t)})),this.map[t]=i,a||(0,n.logCollisionKey)(e),a}}};const n=r(63464),o=r(19348)},37353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeHashTable=function(e,t){return{map:{},nentries:0,keyToHash:e,keyEquals:t,getCount(){return this.nentries},getValue(e){const t=this.getEntry(e);return void 0===t?void 0:t.value},getEntry(e){const t=this.keyToHash(e),r=this.map[t];if(!(0,i.isNone)(r)){for(let t=0;t<r.length;t+=1){const n=r[t];if(this.keyEquals(e,n.key))return n}(0,o.logCollisionKey)(e)}},contains(e){return void 0!==this.getValue(e)},setValue(e,t){const r=this.keyToHash(e),i=this.map[r];if(null==i)this.map[r]=[(0,n.entry)(e,t)],this.nentries+=1;else{for(let r=0;r<i.length;r+=1){const n=i[r];if(this.keyEquals(n.key,e))return void(n.value=t)}i.push((0,n.entry)(e,t)),this.nentries+=1,(0,o.logCollisionKey)(e)}},remove(e){const t=this.keyToHash(e),r=this.map[t];if((0,i.isNone)(r))return!1;const n=[];let a=!1;for(let t=0;t<r.length;t+=1){const o=r[t];this.keyEquals(e,o.key)?(this.nentries-=1,a=!0):n.push(o)}return this.map[t]=n,a||(0,o.logCollisionKey)(e),a},getOrSetValue(e,t){const r=this.keyToHash(e),a=this.map[r];if((0,i.isNone)(a)){const o=t();return this.map[r]=[(0,n.entry)(e,o)],this.nentries+=1,o}for(let t=0;t<a.length;t+=1){const r=a[t];if(this.keyEquals(e,r.key))return r.value}const s=t();return a.push((0,n.entry)(e,s)),this.nentries+=1,(0,o.logCollisionKey)(e),s},forEach(e){return Object.keys(this.map).every((t=>this.map[Number(t)].every((t=>e(t.key,t.value)))))},filter(e){const t=[];this.forEach(((r,n)=>(e(r,n)||t.push(r),!0)));for(const e of t)this.remove(e)}}};const n=r(7325),o=r(63464),i=r(19348)},15219:(e,t)=>{"use strict";function r(e,t,r,n,o){let i=t,a=t+r-1;for(;i<=a;){const t=i+(a-i>>>1),r=o(e[t],n);if(0===r)return t;r<0?i=t+1:a=t-1}return~i}Object.defineProperty(t,"__esModule",{value:!0}),t.Histogram=void 0,t.linearBuckets=function(e,t,r){const n=(t-e)/(r-1),o=[];for(let t=e,i=0;i<r;t+=n,i+=1)o.push(t);return o},t.exponentialBuckets=function(e,t,r){const n=Math.log(e),o=(Math.log(t)-n)/(r-1),i=[];for(let e=0,t=0;t<r;e+=o,t+=1)i.push(Math.exp(n+e));return i},t.binarySearch=r,t.Histogram=class{addSample(e){let t=this.findBucket(e);t<0&&(t=~t),this.sampleCounts[t]+=1}reset(){const e={buckets:this.buckets,sampleCounts:this.sampleCounts};return this.sampleCounts=this.createSampleCounts(),e}constructor(e){this.buckets=e,this.createSampleCounts=()=>new Array(this.buckets.length+1).fill(0),this.sampleCounts=this.createSampleCounts(),this.findBucket=(()=>{const e=(e,t)=>e-t,t=this.buckets.length;return n=>r(this.buckets,0,t,n,e)})()}}},38877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.entry=t.makeEmptyTable=t.rTree=t.RingBuffer=t.rbTree=t.RedBlackMapTree=t.productSet=t.PriorityQueue=t.ivlCompare=t.ivlExcept=t.ivlMeetsOrTouches=t.ivlMeets=t.ivlDistance=t.ivlMeet=t.ivlJoin=t.binarySearch=t.exponentialBuckets=t.linearBuckets=t.Histogram=t.makeHashTable=t.makeHashSet=t.makeNumberDict=t.makeStringDict=t.makeDictionary=t.Deque=t.bspSplit=t.bspSet=t.BinaryHeap=t.ArrayMapTree=void 0;const n=r(16533);var o=r(80904);Object.defineProperty(t,"ArrayMapTree",{enumerable:!0,get:function(){return o.ArrayMapTree}});var i=r(56738);Object.defineProperty(t,"BinaryHeap",{enumerable:!0,get:function(){return i.BinaryHeap}}),t.bspSet=n.__importStar(r(11038)),t.bspSplit=n.__importStar(r(74806));var a=r(31161);Object.defineProperty(t,"Deque",{enumerable:!0,get:function(){return a.Deque}});var s=r(24701);Object.defineProperty(t,"makeDictionary",{enumerable:!0,get:function(){return s.makeDictionary}}),Object.defineProperty(t,"makeStringDict",{enumerable:!0,get:function(){return s.makeStringDict}}),Object.defineProperty(t,"makeNumberDict",{enumerable:!0,get:function(){return s.makeNumberDict}});var l=r(30613);Object.defineProperty(t,"makeHashSet",{enumerable:!0,get:function(){return l.makeHashSet}});var u=r(37353);Object.defineProperty(t,"makeHashTable",{enumerable:!0,get:function(){return u.makeHashTable}});var c=r(15219);Object.defineProperty(t,"Histogram",{enumerable:!0,get:function(){return c.Histogram}}),Object.defineProperty(t,"linearBuckets",{enumerable:!0,get:function(){return c.linearBuckets}}),Object.defineProperty(t,"exponentialBuckets",{enumerable:!0,get:function(){return c.exponentialBuckets}}),Object.defineProperty(t,"binarySearch",{enumerable:!0,get:function(){return c.binarySearch}});var d=r(3968);Object.defineProperty(t,"ivlJoin",{enumerable:!0,get:function(){return d.ivlJoin}}),Object.defineProperty(t,"ivlMeet",{enumerable:!0,get:function(){return d.ivlMeet}}),Object.defineProperty(t,"ivlDistance",{enumerable:!0,get:function(){return d.ivlDistance}}),Object.defineProperty(t,"ivlMeets",{enumerable:!0,get:function(){return d.ivlMeets}}),Object.defineProperty(t,"ivlMeetsOrTouches",{enumerable:!0,get:function(){return d.ivlMeetsOrTouches}}),Object.defineProperty(t,"ivlExcept",{enumerable:!0,get:function(){return d.ivlExcept}}),Object.defineProperty(t,"ivlCompare",{enumerable:!0,get:function(){return d.ivlCompare}});var p=r(91206);Object.defineProperty(t,"PriorityQueue",{enumerable:!0,get:function(){return p.PriorityQueue}}),t.productSet=n.__importStar(r(62272));var h=r(29027);Object.defineProperty(t,"RedBlackMapTree",{enumerable:!0,get:function(){return h.RedBlackMapTree}}),t.rbTree=n.__importStar(r(7769));var g=r(94449);Object.defineProperty(t,"RingBuffer",{enumerable:!0,get:function(){return g.RingBuffer}}),t.rTree=n.__importStar(r(56771));var m=r(7325);Object.defineProperty(t,"makeEmptyTable",{enumerable:!0,get:function(){return m.makeEmptyTable}}),Object.defineProperty(t,"entry",{enumerable:!0,get:function(){return m.entry}})},3968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ivlJoin=function(e,t){const[r,o]=e,[i,a]=t;return[(0,n.fastMin)(r,i),(0,n.fastMax)(o,a)]},t.ivlMeet=function(e,t){const[r,o]=e,[i,a]=t;return[(0,n.fastMax)(r,i),(0,n.fastMin)(o,a)]},t.ivlDistance=function(e,t){const[r,o]=e,[i,a]=t;return.5*(0,n.fastAbs)(r+o-(i+a))},t.ivlMeets=function(e,t){const[r,o]=e,[i,a]=t;return(0,n.fastMax)(r,i)<(0,n.fastMin)(o,a)},t.ivlMeetsOrTouches=function(e,t){const[r,o]=e,[i,a]=t;return(0,n.fastMax)(r,i)<=(0,n.fastMin)(o,a)},t.ivlExcept=function(e,t){const[r,n]=e,[o,i]=t;return r<o&&i>=n?[r,o]:r>=o&&i<n?[i,n]:void 0},t.ivlCompare=function(e,t){const[r,n]=e,[o,i]=t;return r===o&&n===i?0:r>=o&&n<=i?-1:r<=o&&n>=i?1:void 0};const n=r(19348)},91206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PriorityQueue=void 0;const n=r(56738);t.PriorityQueue=class{peek(){const e=this.heap.peek();if(void 0!==e)return e[0]}enqueue(e){this.max+=1,this.heap.insert([e,this.max])}push(e){this.min-=1,this.heap.insert([e,this.min])}pop(){const e=this.heap.removeMin();return void 0===e?(this.min=0,void(this.max=0)):e[0]}getCount(){return this.heap.getCount()}clear(){this.heap.clear()}constructor(e){this.min=0,this.max=0,this.heap=new n.BinaryHeap((([t,r],[n,o])=>{const i=e(t,n);return 0!==i?i:r-o}))}}},62272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSetSerializer=t.symmetricDiffProduct=t.complementProduct=t.createFromProduct=void 0,t.project=y,t.unionProduct=E,t.intersectProduct=function(e,t){if(e===n.empty)return e;if(t===n.empty)return t;if(e===n.dense)return t;if(t===n.dense)return e;const r={...e.productOperations,...t.productOperations},o=A(r,e.root,t.root,a(r));return o===n.empty?o:d(r,o)},t.exceptProduct=x,t.compareProduct=function(e,t){if(e===t)return 0;if(e===n.empty)return-1;if(t===n.empty)return 1;if(e===n.dense)return t===n.dense?0:1;if(t===n.dense)return-1;const r={...e.productOperations,...t.productOperations};return w(r,e.root,t.root,a(r))},t.meetsProduct=function(e,t){if(e===n.empty||t===n.empty)return!1;if(e===n.dense||t===n.dense)return!0;const r={...e.productOperations,...t.productOperations};return P(r,e.root,t.root,a(r))},t.getSubspaces=function(e){if(e===n.empty||e===n.dense)return[];const t=[];return function e(r){r.isSubspace?t.push(r.bounds):(e(r.left),e(r.right))}(e.root),t},t.forEachProduct=function(e,t,...r){const o=y(e,...r);if(o===n.empty)return!0;if(o===n.dense)return t(h.denseProduct(r));const{productOperations:i,root:a}=o;return function e(n){return n.isSubspace?t(h.fromUntypedProduct(i,n.bounds,r)):e(n.left)&&e(n.right)}(a)},t.getSubspaceCount=function(e){return e===n.empty||e===n.dense?0:u(e.root)},t.productSetSerializer=function(e){return new O(e)};const n=r(11038),o=([e],[t])=>{return(r=String(e))<(n=String(t))?-1:r>n?1:0;var r,n},i={},a=e=>{const t=[];for(const r of Object.keys(e)){const n=r;t.push([n,e[n].id])}const r=function(e){let t="";for(const r of e)t+=String(r[0]),t+="\0",t+=String(r[1]),t+="\0";return t}(t.sort(o));let n=i[r];return void 0===n&&(n={box:{},probabilities:{},depth:1},i[r]=n),n};function s(e){return Object.getOwnPropertyNames(e).length>0}function l(e){return s(e)?{isSubspace:!0,bounds:e}:n.dense}function u(e){return e.isSubspace?1:e.subspaceCount}const c=(e,t,r)=>({isSubspace:!1,left:e,right:t,bounds:r,subspaceCount:u(e)+u(t)});function d(e,t){if(t===n.dense)return t;if(t.isSubspace){let r=!1;for(const n of Object.keys(t.bounds))if(Object.prototype.hasOwnProperty.call(e,n)){r=!0;break}if(!r)return n.dense}return{productOperations:e,root:t}}function p(e){return void 0===e?n.dense:e}const h={unzip(e){const t={},r={};for(const o of Object.keys(e)){const i=o;if(Object.prototype.hasOwnProperty.call(e,i)){const o=e[i];if(o===n.empty)return n.empty;if(o===n.dense)continue;t[i]=o.setOperations,r[i]=o.root}}return d(t,l(r))},combineProduct(e,t,r,o){const i={};for(const a of Object.keys(e)){const s=a;if(Object.prototype.hasOwnProperty.call(e,s)){const a=o(e[s],e[s].top,p(t[s]),p(r[s]));if(a===n.empty)return n.empty;if(a===n.dense)continue;i[s]=a}}return i},restrict(e,...t){const r={};for(const n of t)if(Object.prototype.hasOwnProperty.call(e,n)){const t=e[n];r[n]=t}return r},fromUntypedProduct(e,t,r){const o={};for(const i of r){const r=t[i];o[i]=(0,n.fromUntyped)(e[i],void 0!==r?r:n.dense)}return o},denseProduct(e){const t={};for(const r of e)t[r]=n.dense;return t}};function g(e,t,r){const o=h.combineProduct(e,t,r,n.unionUntyped);if(o===n.empty)throw new Error("broken invariant: the union of two non-empty products cannot be empty");return o}function m(e,t,r){let o=0;for(const i of Object.keys(e)){const a=i;if(Object.prototype.hasOwnProperty.call(e,a)){const i=p(t[a]),s=p(r[a]),l=e[a];if(o=(0,n.combineCmp)(o,(0,n.compareUntyped)(l,l.top,i,s)),void 0===o)return}}return o}t.createFromProduct=h.unzip.bind(h);const f=(()=>{const e={};return(t,r,o)=>{if(r===e.left&&o===e.right)return e.res;e.left=r,e.right=o;const i=m(t,r.bounds,o.bounds);if(void 0!==i)return e.res=i<=0?o:r;let a;const s=Object.keys(t);for(const i of s)if(Object.prototype.hasOwnProperty.call(t,i)&&0!==(0,n.compareUntyped)(t[i],t[i].top,p(r.bounds[i]),p(o.bounds[i]))){if(void 0!==a)return e.res=void 0;a=i}if(void 0!==a){const i=(0,n.unionUntyped)(t[a],t[a].top,p(r.bounds[a]),p(o.bounds[a]));if(i===n.empty)return e.res=n.empty;if(i===n.dense){const{[a]:t,...n}=r.bounds;return e.res=l(n)}const s={...r.bounds,[a]:i};return e.res=l(s)}return e.res=void 0}})();function v(e,t,r){if(r===n.empty)return t;if(r===n.dense)return r;if(t===n.empty)return r;if(t===n.dense)return t;if(!t.isSubspace||!r.isSubspace)return c(t,r,g(e,t.bounds,r.bounds));const o=f(e,t,r);return void 0!==o?o:c(t,r,g(e,t.bounds,r.bounds))}function b(e,t,r,...o){if(t===n.empty||t===n.dense)return t;if(t.isSubspace)return l(h.restrict(t.bounds,...o));const[i,a]=S(e,r),[s,u]=T(e,t,i,a);return v(e,b(e,s,i,...o),b(e,u,a,...o))}function y(e,...t){if(e===n.dense||e===n.empty)return e;const r=h.restrict(e.productOperations,...t);if(!s(r))return n.dense;const o=b(r,e.root,a(r),...t);return o===n.empty?o:d(r,o)}function S(e,t){if(void 0!==t.children)return t.children;const{box:r,probabilities:o}=t;let i,a,s=0;const l=Object.keys(e);for(const t of l)if(Object.prototype.hasOwnProperty.call(e,t)){const l=o[t],u=e[t];if(void 0===l){i=t,a=u.top;break}if(l>s){const e=p(r[t]);if(e===n.empty)throw new Error("the key split can never return empty");let o=u.top;if(e!==n.dense){if(!e.isExact)throw new Error("the key can always be represented exactly");o=e.key}if(!u.canSplit(o))continue;i=t,s=l,a=o}}if(void 0===i||void 0===a)throw new Error("there has to be at least one dimension");const u=e[i],[[c,d],[h,g]]=u.split(a),m=[{box:{...r,[i]:(0,n.lazy)(u,u.top,c)},probabilities:{...o,[i]:d},depth:t.depth+1},{box:{...r,[i]:(0,n.lazy)(u,u.top,h)},probabilities:{...o,[i]:g},depth:t.depth+1}];return t.depth<10&&(t.children=m),m}function C(e,t,r,o){if(t===n.empty)return[n.empty,n.empty];if(t===n.dense)return[l(r),l(o)];const i=m(e,t.bounds,r);if(void 0!==i&&i<=0)return[t,n.empty];const a=h.combineProduct(e,t.bounds,r,n.intersectUntyped);if(a===n.empty)return[n.empty,t];const s=h.combineProduct(e,t.bounds,o,n.intersectUntyped);if(t.isSubspace)return[l(a),s===n.empty?n.empty:l(s)];const[u,c]=C(e,t.left,r,o),[d,p]=C(e,t.right,r,o);return[v(e,u,d),v(e,c,p)]}const T=(e,t,{box:r},{box:n})=>C(e,t,r,n);function k(e,t,r,o,i){const[a,s]=S(e,o),[l,u]=T(e,t,a,s),[c,d]=T(e,r,a,s),p=i(e,l,c,a);return p===n.dense?n.dense:v(e,p,i(e,u,d,s))}function F(e,t,r,o){if(r===n.empty)return t;if(t===n.empty)return r;if(t===n.dense)return t;if(r===n.dense)return r;if(t.isSubspace&&r.isSubspace){const n=f(e,t,r);if(void 0!==n)return n}return k(e,t,r,o,F)}function E(e,t){if(t===n.empty)return e;if(t===n.dense)return t;if(e===n.empty)return t;if(e===n.dense)return e;const r={...e.productOperations,...t.productOperations},o=F(r,e.root,t.root,a(r));return o===n.empty?o:d(r,o)}function A(e,t,r,o){if(t===n.empty||r===n.empty)return n.empty;if(t===n.dense)return r;if(r===n.dense)return t;if(t.isSubspace&&r.isSubspace){const o=h.combineProduct(e,t.bounds,r.bounds,n.intersectUntyped);return o===n.empty?n.empty:l(o)}return k(e,t,r,o,A)}function I(e,t,r,o){if(t===n.empty)return t;if(r===n.dense)return n.empty;if(r===n.empty)return t;if(t===n.dense)return k(e,t,r,o,I);if(t.isSubspace&&r.isSubspace){const o=function(e,t,r){const o=m(e,t.bounds,r.bounds);if(0===o||-1===o)return n.empty;let i;const a=Object.keys(e);for(const o of a)if(Object.prototype.hasOwnProperty.call(e,o)){const a=(0,n.compareUntyped)(e[o],e[o].top,p(t.bounds[o]),p(r.bounds[o]));if(void 0===a||a>0){if(void 0!==i)return;i=o}}if(void 0!==i){const o=(0,n.exceptUntyped)(e[i],e[i].top,p(t.bounds[i]),p(r.bounds[i]));if(o===n.empty)return n.empty;if(o===n.dense){const{[i]:e,...r}=t.bounds;return l(r)}return l({...t.bounds,[i]:o})}}(e,t,r);if(void 0!==o)return o}return k(e,t,r,o,I)}function x(e,t){if(e===n.empty)return e;if(t===n.empty)return e;if(t===n.dense)return n.empty;if(e===n.dense){const e=I(t.productOperations,n.dense,t.root,a(t.productOperations));return e===n.empty?e:d(t.productOperations,e)}const r={...e.productOperations,...t.productOperations},o=I(r,e.root,t.root,a(r));return o===n.empty?o:d(r,o)}function w(e,t,r,o){if(t===r)return 0;if(t===n.empty)return-1;if(r===n.empty)return 1;if(t===n.dense)return r===n.dense?0:1;if(r===n.dense)return-1;if(t.isSubspace&&r.isSubspace)return m(e,t.bounds,r.bounds);const[i,a]=S(e,o),[s,l]=T(e,t,i,a),[u,c]=T(e,r,i,a),d=w(e,s,u,i);return void 0!==d?(0,n.combineCmp)(d,w(e,l,c,a)):void 0}function P(e,t,r,o){if(t===n.empty||r===n.empty)return!1;if(t===n.dense||r===n.dense)return!0;if(!function(e,t,r){for(const o of Object.keys(e)){const i=o;if(Object.prototype.hasOwnProperty.call(e,i)){const o=p(t[i]),a=p(r[i]),s=e[i];if(!(0,n.meetsUntyped)(s,s.top,o,a))return!1}}return!0}(e,t.bounds,r.bounds))return!1;if(t.isSubspace&&r.isSubspace)return!0;const[i,a]=S(e,o),[s,l]=T(e,t,i,a),[u,c]=T(e,r,i,a);return P(e,s,u,i)||P(e,l,c,a)}t.complementProduct=e=>x(n.dense,e),t.symmetricDiffProduct=(e,t)=>E(x(e,t),x(t,e));class R{putBack(e){this.cursor-=1,this.buffer[this.cursor]=e}pick(){return this.buffer[this.cursor]}get length(){return this.buffer.length-this.cursor}get empty(){return 0===this.length}pop(){const e=this.pick();return this.cursor+=1,e}constructor(e=[]){this.buffer=e,this.cursor=0}}class D{constructor(){this.size=0,this.clear=()=>{},this.get=()=>{},this.set=()=>this}}function _(e,t){return function(r,n,...o){const i=t.get(r);void 0===i?(e(r,n,...o),t.set(r,t.size)):n.push("__cached__",i)}}function N(e,t){return function(r,...n){if("__cached__"===r.pick()){r.pop();const e=r.pop();return t[e]}const o=e(r,...n);return t.push(o),o}}class O{getDims(e){return Object.keys(e)}serialize(e){this.cached.clear();const t=[];t.push(e.length);for(const r of e)this.serializeProductSetCached(r,t);return JSON.stringify(t)}deserialize(e){this.cache.length=0;const t=new R(JSON.parse(e)),r=t.pop(),n=[];for(let e=0;e<r;e+=1){const e=this.deserializeProductSetCached(t);n.push(e)}return n}static normalizeKey(e){if(Array.isArray(e))return[...e];if("object"==typeof e){const t={...e};return delete t.depth,delete t.split,t}return e}constructor(e){this.globalProductOperations=e,this.cached="undefined"!=typeof Map?new Map:new D,this.cache=[],this.serializers={},this.serializeProductSet=(e,t)=>{if(e===n.empty||e===n.dense)return void t.push(e);const r=e,o=this.getDims(r.productOperations);t.push(o),this.serializeUntypedSparseProductCached(r.root,t,o)},this.deserializeProductSet=e=>{const t=e.pop();if(t===n.empty||t===n.dense)return t;e.putBack(t);const r={},o=e.pop();for(const e of o){const t=this.globalProductOperations[e];r[e]=t}return{productOperations:r,root:this.deserializeUntypedSparseProductCached(e,o)}},this.serializeUntypedSparse=(e,t,r)=>{t.push(e?.isExact),t.push(this.serializers[r].serializeBound(e?.infimum)),t.push(this.serializers[r].serializeBound(e?.supremum));const o=O.normalizeKey(e?.key);t.push(this.serializers[r].serializeKey(o));for(const o of[e?.left,e?.right])null==o||o===n.empty||o===n.dense?t.push(o):(t.push("us"),this.serializeUntypedSparseCached(o,t,r))},this.deserializeUntypedSparse=(e,t)=>{const r=e.pop(),n=this.serializers[t].deserializeBound(e.pop()),o=this.serializers[t].deserializeBound(e.pop()),i=this.serializers[t].deserializeKey(e.pop()),[a,s]=["left","right"].map((r=>{const n=e.pop();return"us"===n?this.deserializeUntypedSparseCached(e,t):n}));return{infimum:n,supremum:o,isExact:r,key:i,left:a,right:s}},this.serializeUntypedSparseProduct=(e,t,r)=>{t.push(e.isSubspace);for(const n of r){const r=e.bounds[n];this.serializeUntypedSparseCached(r,t,n)}e.isSubspace||(this.serializeUntypedSparseProductCached(e.left,t,r),this.serializeUntypedSparseProductCached(e.right,t,r),t.push(e.subspaceCount))},this.deserializeUntypedSparseProduct=(e,t)=>{const r=e.pop(),n={};for(const r of t){const t=this.deserializeUntypedSparseCached(e,r);n[r]=t}return r?{isSubspace:r,bounds:n}:{isSubspace:r,bounds:n,left:this.deserializeUntypedSparseProductCached(e,t),right:this.deserializeUntypedSparseProductCached(e,t),subspaceCount:e.pop()}},this.serializeUntypedSparseCached=_(this.serializeUntypedSparse,this.cached),this.deserializeUntypedSparseCached=N(this.deserializeUntypedSparse,this.cache),this.serializeProductSetCached=_(this.serializeProductSet,this.cached),this.deserializeProductSetCached=N(this.deserializeProductSet,this.cache),this.serializeUntypedSparseProductCached=_(this.serializeUntypedSparseProduct,this.cached),this.deserializeUntypedSparseProductCached=N(this.deserializeUntypedSparseProduct,this.cache);for(const t in e){const r={serializeKey:e[t].serializeKey??(e=>JSON.stringify(e)),deserializeKey:e[t].deserializeKey??(e=>JSON.parse(e)),serializeBound:e[t].serializeBound??(e=>JSON.stringify(e)),deserializeBound:e[t].deserializeBound??(e=>JSON.parse(e))};this.serializers[t]=r}}}t.ProductSetSerializer=O},56771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RTree=t.RTKind=void 0,t.copyExcept=i;const n=r(7325),o=r(19348);function i(e,t,r){if(void 0!==r){const n=e.slice();return n[t]=r,n}const n=e.slice(0,-1);return t<e.length-1&&(n[t]=e[e.length-1]),n}var a,s;function l(e,t,r){return{kind:e,key:t,value:r}}function u(e,t){return l(a.Ptr,e,t)}function c(e,t){return l(a.Leaf,e,t)}function d(e,t){return l(a.Branch,e,t)}!function(e){e[e.Ptr=1]="Ptr",e[e.Leaf=2]="Leaf",e[e.Branch=3]="Branch"}(a||(t.RTKind=a={})),function(e){e[e.NotFound=1]="NotFound",e[e.Removed=2]="Removed",e[e.Delete=3]="Delete"}(s||(s={}));class p{static create(e,t,r,n,o=2){const i=o>1?Math.ceil(o):1;return new p({keyJoin:e,keyMeets:t,keyCompare:r,keyDistance:n,minChildren:i,maxChildren:2*i,keyGe:function(e,t){const n=r(e,t);return void 0!==n&&n>=0},keyLe:function(e,t){const n=r(e,t);return void 0!==n&&n<=0}},void 0,0)}getCount(){return this.count}get bounds(){return this.root?.key}getValue(e){if(void 0!==this.root)return function t(r,n){const o=r.keyCompare(n.key,e);if(n.kind===a.Ptr)return 0===o?n.value:void 0;if(!(void 0===o||o<0))for(const e of n.value){const n=t(r,e);if(void 0!==n)return n}}(this.lattice,this.root)}getEntry(e){const t=this.getValue(e);return void 0===t?void 0:(0,n.entry)(e,t)}setValue(e,t,r=(e=>!0)){const n=v(this.lattice,this.root,e,r,t);return void 0!==n?n===this.root?this:new p(this.lattice,n,this.count):new p(this.lattice,f(this.lattice,this.root,u(e,t)),this.count+1)}filter(e){let t=new p(this.lattice,void 0,0);return this.forEach(((r,n)=>(e(r,n)&&(t=t.setValue(r,n)),!0))),t}contains(e,t=(e=>!0)){return void 0!==v(this.lattice,this.root,e,t)}getOrSetValue(e,t){const r=this.getValue(e);if(void 0===r){const r=t();return[this.setValue(e,r),r]}return[this,r]}forEach(e){return h(this.root,e)}forEachGe(e,t){return h(this.root,t,(t=>this.lattice.keyGe(t,e)),(t=>this.lattice.keyGe(t,e)))}forEachLe(e,t){return h(this.root,t,(t=>this.lattice.keyMeets(t,e)),(t=>this.lattice.keyLe(t,e)))}forEachMeets(e,t){return h(this.root,t,(t=>this.lattice.keyMeets(t,e)),(t=>this.lattice.keyMeets(t,e)))}remove(e){if(null==this.root)return this;const t=[],r=this.lattice,n=(l,u)=>{const p=r.keyCompare(l.key,e);if(void 0===p||p<0)return(0,o.pair)(l,s.NotFound);if(l.kind===a.Leaf){const n=l.value;for(let a=0;a<n.length;a+=1)if(0===r.keyCompare(n[a].key,e)){const e=i(n,a);if(e.length<u){const r=c(l.key,e);return t.push(r),(0,o.pair)(r,s.Delete)}return(0,o.pair)(c(g(r,e),e),s.Removed)}}else{const e=l.value;for(let a=0;a<e.length;a+=1){const[c,p]=n(e[a],r.minChildren);if(p===s.Delete){const n=i(e,a);if(n.length>=u)return(0,o.pair)(d(g(r,n),n),s.Removed);const c=d(l.key,n);return t.push(c),(0,o.pair)(c,s.Delete)}if(p===s.Removed)return(0,o.pair)(d(l.key,i(e,a,c)),s.Removed)}}return(0,o.pair)(l,s.NotFound)},l=this.root.kind===a.Leaf?1:2,[m,v]=n(this.root,l);if(m===this.root)return this;let b=v===s.Delete?void 0:m;for(let e=0;e<t.length;e+=1)h(t[e],((e,t)=>(b=f(this.lattice,b,u(e,t)),!0)));return new p(this.lattice,b,this.count-1)}constructor(e,t,r){this.lattice=e,this.root=t,this.count=r}}function h(e,t,r,n){const o=void 0!==r?r:()=>!0,i=void 0!==n?n:()=>!0;if(null==e)return!0;const s=e=>{if(!o(e.key))return!0;if(e.kind===a.Leaf){const r=e.value;for(let e=0;e<r.length;e+=1){const n=r[e];if(i(n.key)&&!t(n.key,n.value))return!1}}else{const t=e.value;for(let e=0;e<t.length;e+=1)if(!s(t[e]))return!1}return!0};return s(e)}function g(e,t){let r=t[0].key;for(let n=1;n<t.length;n+=1)r=e.keyJoin(r,t[n].key);return r}function m(e,t,r){const[n,i]=function(e,t){const[r,n]=function(e,t){let r=0,n=1,i=e.keyDistance(t[0].key,t[1].key);for(let o=2;o<t.length;o+=1)for(let a=0;a<o;a+=1){const s=e.keyDistance(t[a].key,t[o].key);s>i&&(r=a,n=o,i=s)}return(0,o.pair)(r,n)}(e,t),i=t[r].key,a=t[n].key,s=[];for(let r=0;r<t.length;r+=1){const n=t[r];s.push([n,e.keyDistance(i,n.key)-e.keyDistance(a,n.key)])}s.sort(((e,t)=>e[1]-t[1]));let l=e.minChildren;for(;l<t.length-e.minChildren&&s[l][1]<0;l+=1);const u=[],c=[];for(let e=0;e<l;e+=1)u.push(s[e][0]);for(let e=l;e<t.length;e+=1)c.push(s[e][0]);return(0,o.pair)(u,c)}(e,r);return(0,o.pair)(l(t,g(e,n),n),l(t,g(e,i),i))}function f(e,t,r){if(null==t)return c(r.key,[r]);const[n,i]=function t(n){if(n.kind===a.Leaf){const t=[...n.value,r];if(t.length>e.maxChildren){const[r,i]=m(e,n.kind,t);return(0,o.pair)(c(r.key,r.value),i)}return(0,o.pair)(c(e.keyJoin(n.key,r.key),t),void 0)}const i=n.value.slice(),s=function(e,t,r){let n=0,o=e.keyDistance(t[0].key,r),i=t[0].value.length;for(let a=1;a<t.length;a+=1){const s=t[a],l=e.keyDistance(s.key,r);(l<o||l===o&&s.value.length<i)&&(n=a,o=l,i=s.value.length)}return n}(e,i,r.key),[l,u]=t(i[s]);if(i[s]=l,null!=u&&(i.push(u),i.length>e.maxChildren)){const[t,r]=m(e,n.kind,i);return(0,o.pair)(d(t.key,t.value),r)}return(0,o.pair)(d(e.keyJoin(n.key,r.key),i),void 0)}(t);return null!=i?d(e.keyJoin(n.key,i.key),[n,i]):n}function v(e,t,r,n,o){if(void 0!==t)return function t(n){if(n.kind!==a.Leaf)for(let o=0;o<n.value.length;o+=1){const a=n.value[o];if(e.keyMeets(a.key,r)){const e=t(a);if(void 0!==e)return d(n.key,i(n.value,o,e))}}else for(let e=0;e<n.value.length;e+=1){const t=s(n.value[e]);if(void 0!==t)return c(n.key,i(n.value,e,t))}}(t);function s(t){if(0===e.keyCompare(t.key,r))return void 0!==o&&t.value!==o&&n(t.value)?u(t.key,o):t}}t.RTree=p},29027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RedBlackMapTree=void 0;const n=r(7769);class o{static create(e){return new o(n.emptyUntyped,0,e)}getCount(){return this.count}getValue(e){const t=(0,n.findUntyped)(this,e,this.root);return t?.value}getEntry(e){return(0,n.findUntyped)(this,e,this.root)}contains(e){return void 0!==this.getValue(e)}forEach(e){return(0,n.forEachUntyped)(e,this.root)}setValue(e,t){return new o((0,n.insertUntyped)(this,e,t,this.root),this.contains(e)?this.count:this.count+1,this.keyCompare)}remove(e){return this.contains(e)?new o((0,n.removeUntyped)(this,e,this.root),this.count-1,this.keyCompare):this}getOrSetValue(e,t){const r=this.getValue(e);if(void 0!==r)return[this,r];const i=t();return[new o((0,n.insertUntyped)(this,e,i,this.root),this.count+1,this.keyCompare),i]}filter(e){let t=n.emptyUntyped,r=0;return this.forEach(((o,i)=>(e(o,i)&&(t=(0,n.insertUntyped)(this,o,i,t),r+=1),!1))),new o(t,r,this.keyCompare)}constructor(e,t,r){this.root=e,this.count=t,this.keyCompare=r}}t.RedBlackMapTree=o},7769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyUntyped=t.Color=void 0,t.fromUntyped=d,t.isLeaf=p,t.empty=function(e){return d(e,t.emptyUntyped)},t.findUntyped=y,t.find=function(e,t){return y(t.ops,e,t.root)},t.forEachUntyped=S,t.forEach=function(e,t){return S(e,t.root)},t.insertUntyped=F,t.insert=function(e,t,r){return d(r.ops,F(r.ops,e,t,r.root))},t.removeUntyped=I,t.remove=function(e,t){return d(t.ops,I(t.ops,e,t.root))};const n=r(42614);var o,i;!function(e){e[e.Red=0]="Red",e[e.Black=1]="Black"}(o||(t.Color=o={})),function(e){e[e.DoubleBlack=2]="DoubleBlack"}(i||(i={}));const a=o.Red,s=o.Black,l=i.DoubleBlack,u={c:s,l:void 0,r:void 0},c={c:l,l:void 0,r:void 0};function d(e,t){return{ops:e,root:t}}function p(e){return void 0===e.l}function h(e){return e.c===a}function g(e){return e.c===s&&void 0!==e.l}function m(e){return e.c===s&&void 0===e.l}function f(e,t,r,n,o){return{c:e,l:t,key:r,value:n,r:o}}function v(e,{l:t,key:r,value:n,r:o}){return f(e,t,r,n,o)}function b(e){return p(e)?u:v(s,e)}function y(e,t,r){if(p(r))return;const n=e.keyCompare(t,r.key);return n<0?y(e,t,r.l):n>0?y(e,t,r.r):r}function S(e,t){return!!p(t)||!!S(e,t.l)&&!!e(t.key,t.value)&&S(e,t.r)}function C(e,t,r,n,o){if(e===s){if(h(t)&&h(t.l))return f(a,v(s,t.l),t.key,t.value,f(s,t.r,r,n,o));if(h(o)&&h(o.r))return f(a,f(s,t,r,n,o.l),o.key,o.value,v(s,o.r));if(h(t)&&h(t.r))return f(a,f(s,t.l,t.key,t.value,t.r.l),t.r.key,t.r.value,f(s,t.r.r,r,n,o));if(h(o)&&h(o.l))return f(a,f(s,t,r,n,o.l.l),o.l.key,o.l.value,f(s,o.l.r,o.key,o.value,o.r))}if(e===l){if(h(o)&&h(o.l))return f(s,f(s,t,r,n,o.l.l),o.l.key,o.l.value,f(s,o.l.r,o.key,o.value,o.r));if(h(t)&&h(t.r))return f(s,f(s,t.l,t.key,t.value,t.r.l),t.r.key,t.r.value,f(s,t.r.r,r,n,o))}return f(e,t,r,n,o)}function T(e,t,r,o,i){return e===a&&t.c===l&&g(i)?C(s,f(a,b(t),r,o,i.l),i.key,i.value,i.r):e===a&&g(t)&&i.c===l?C(s,t.l,t.key,t.value,f(a,t.r,r,o,b(i))):e===s&&t.c===l&&g(i)?C(l,f(a,b(t),r,o,i.l),i.key,i.value,i.r):e===s&&g(t)&&i.c===l?C(l,t.l,t.key,t.value,f(a,t.r,r,o,b(i))):e===s&&t.c===l&&h(i)&&g(i.l)?f(s,C(s,f(a,b(t),r,o,i.l.l),i.l.key,i.l.value,i.l.r),i.key,i.value,i.r):e===s&&h(t)&&g(t.r)&&i.c===l?f(s,t.l,t.key,t.value,C(s,t.r.l,t.r.key,t.r.value,f(a,t.r.r,r,o,b(i)))):((0,n.assertTrue)("calc.common.rbTree.rotate: expected R|B",t.c!==l&&i.c!==l),f(e,t,r,o,i))}function k(e,t,r,n){if(p(n))return f(a,u,t,r,u);const o=e.keyCompare(t,n.key);return o<0?C(n.c,k(e,t,r,n.l),n.key,n.value,n.r):o>0?C(n.c,n.l,n.key,n.value,k(e,t,r,n.r)):f(n.c,n.l,t,r,n.r)}function F(e,t,r,n){return function(e){return!h(e)||e.l.c!==a&&e.r.c!==a?e:v(s,e)}(k(e,t,r,n))}function E(e,t,r){if(p(r))return r;if(r.c===a&&m(r.l)&&m(r.r))return 0===e.keyCompare(t,r.key)?u:r;if(r.c===s&&m(r.l)&&m(r.r))return 0===e.keyCompare(t,r.key)?c:r;if(r.c===s&&h(r.l)&&m(r.l.l)&&m(r.l.r)&&m(r.r)){const n=e.keyCompare(t,r.key);return n<0?f(s,E(e,t,r.l),r.key,r.value,u):n>0?r:f(s,u,r.l.key,r.l.value,u)}const o=e.keyCompare(t,r.key);if(o<0)return T(r.c,E(e,t,r.l),r.key,r.value,r.r);if(o>0)return T(r.c,r.l,r.key,r.value,E(e,t,r.r));(0,n.assertTrue)("calc.common.rbTree.rem: expected node",!p(r.r));const[i,l,d]=A(r.r);return T(r.c,r.l,i,l,d)}function A(e){if(e.c===a&&m(e.l)&&m(e.r))return[e.key,e.value,u];if(e.c===s&&m(e.l)&&m(e.r))return[e.key,e.value,c];if(e.c===s&&m(e.l)&&h(e.r))return[e.key,e.value,v(s,e.r)];(0,n.assertTrue)("calc.common.rbTree.remMin: expected node",!p(e.l));const[t,r,o]=A(e.l);return[t,r,T(e.c,o,e.key,e.value,e.r)]}function I(e,t,r){const o=E(e,t,function(e){return g(e)&&e.l.c===s&&e.r.c===s?v(a,e):e}(r));return(0,n.assertTrue)("calc.common.rbTree.remove: expected R|B",o.c===a||o.c===s),o}t.emptyUntyped=u},94449:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RingBuffer=void 0,t.RingBuffer=class{count(){return this.counter}isEmpty(){return 0===this.counter}enqueue(e){this.list[this.writeIndex]=e,0!==this.counter&&this.writeIndex===this.readIndex?this.readIndex=(this.readIndex+1)%this.capacity:this.counter++,this.writeIndex=(this.writeIndex+1)%this.capacity}dequeue(){if(this.isEmpty())return;const e=this.list[this.readIndex];return this.list[this.readIndex]=void 0,this.readIndex=(this.readIndex+1)%this.capacity,this.counter--,e}executeOnEveryElement(e){for(let t=0;t<this.counter;t++){const r=(this.readIndex+t)%this.capacity,n=this.list[r];if(void 0!==n&&!e(n))return!1}return!0}constructor(e=1/0){this.list=e<1/0?new Array(e):new Array,this.counter=0,this.capacity=e,this.readIndex=0,this.writeIndex=0}}},7325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeEmptyTable=function(){return r},t.entry=function(e,t){return{key:e,value:t}};const r={getCount:()=>0,getValue:()=>{},getEntry:()=>{},contains:()=>!1,forEach:()=>!0}},63464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logCollisionKey=function(e){!function(e){const t=i[e];i[e]=(void 0===t?0:t)+1,a+=1,a%100==0&&(o.ulsLogger.ULS.traceTag(595858520,n.LogCategory.msoulscat_ES_EWAJS,n.TraceLevel.Info,`calc.common.hashUtils.logCollision: ${JSON.stringify(i)}.`),i={})}(function(e){return"object"==typeof e?null===e?"null":`Object {${Object.keys(e)}}`:typeof e}(e))};const n=r(68247),o=r(42614);let i={},a=0},46011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTypedChangeGateEnabled=t.setFeatureGateDictionaryGetter=t.overrideTypedFeatureGates=t.getTypedFeatureGate=t.FeatureName=void 0,t.initFeatureConfiguration=function(e){"function"==typeof e&&(s=e)},t.isFeatureEnabled=u,t.getFeatures=function(){const e={};for(const t in a){const r=a[t];null!=r&&(e[r]=u(r))}return e};const n=r(68247),o=r(18648),i=r(42614);var a;!function(e){e.FeatureCheckingEnabled="FeatureCheckingEnabled",e.CalcPreventSpillingHack="CalcPreventSpillingHack",e.CalcLegacyImplicitIntersection="CalcLegacyImplicitIntersection",e.CalcRecordFunctions="CalcRecordFunctions",e.CalcNestedRecordFunction="CalcNestedRecordFunction",e.CalcLetRecFunction="CalcLetRecFunction",e.CalcLambdaBasicFunctions="CalcLambdaBasicFunctions",e.CalcLambdaDefaultParameters="CalcLambdaDefaultParameters",e.CalcLambdaCellValues="CalcLambdaCellValues",e.CalcLambdaArrayLifting="CalcLambdaArrayLifting"}(a||(t.FeatureName=a={}));let s=e=>{const t=`calc.common.isFeatureEnabledCallback: called with ${e} before initCalc`;return i.ulsLogger.ULS.traceTag(526989323,n.LogCategory.msoulscat_ES_EWAJS,n.TraceLevel.Warning,t),!1};const l={};function u(e){return void 0===l[e]&&(l[e]=s(e)),l[e]}t.getTypedFeatureGate=(0,o.makeGetTypedFeatureGate)({Number_Of_Times_Test_Was_Executed:1,"Microsoft.Office.Excel.TestBooleanFeatureGate":!1,"Microsoft.Office.Excel.TestStringFeatureGate":"","Microsoft.Office.Excel.TestNumericFeatureGate":0,"Microsoft.Office.Excel.ProseFormulaRepairExperimentLogBuggyIsEnabled":!1,"Microsoft.Office.Excel.ProseFormulaRepairExperimentIsEnabled":!1,"Microsoft.Office.Excel.CalcTSDemoFeatureGateString":"DummyStringValue","Microsoft.Office.Excel.CalcTSDemoFeatureGateInt":42,"Microsoft.Office.Excel.CalcTSDemoFeatureGateBoolean":!1,"Microsoft.Office.Excel.CalcTSAutocompleteExperimentIsEnabled":!1,"Microsoft.Office.Excel.CalcTSUnitExperimentIsEnabled":!1,"Microsoft.Office.Excel.CalcTSExceLintExperimentIsEnabled":!1,"Microsoft.Office.Excel.SmartFormulaBarUseDevScheduler":!1,"Microsoft.Office.Excel.x10DoNotThrowOnDoublePluginRegistration":!0,"Microsoft.Office.Excel.AutocompleteRangeSuggestionPlugin":!1,"Microsoft.Office.Excel.x10AutocompleteWrapperPluginIsEnabled":!1,"Microsoft.Office.Excel.x10AutocompleteBinaryModelExperimentPlugin":!1,TESTING_ONLY_RECALC_SERVICE_IMPORTSCRIPTS_FAIL:!1,TESTING_ONLY_SCHEDULER_IMPORTSCRIPTS_FAIL:!1,TESTING_ONLY_TEST_PLUGIN_IMPORTSCRIPTS_FAIL:!1,"Microsoft.Office.Excel.FormulaCollection":!1,"Microsoft.Office.Excel.x10ParserPerformanceMeasurements":!1,"Microsoft.Office.Excel.ArgumentAssistanceOnMainThread":!1,"Microsoft.Office.Excel.AutoCompleteOnMainThread":!1,"Microsoft.Office.Excel.UnitlessTimeAndDate":!1,"Microsoft.Office.Excel.UnitExpIgnoreDivMul":!1,"Microsoft.Office.Excel.x10PythonSyntaxHighlightingEnabled":!1,"Microsoft.Office.Excel.x10PythonAutocompletionEnabled":!1,"Microsoft.Office.Excel.x10PythonTooltipEnabled":!1,"Microsoft.Office.Excel.MockWorkerThreadPlugin":!1,"Microsoft.Office.Excel.EnableFullSessionLogging":!0,"Microsoft.Office.Excel.ChatGPTPluginEnabled":!1,"Microsoft.Office.Excel.FileOptimization":!1,"Microsoft.Office.Excel.PluginResponseWindowDebugTimeExtension":0,"Microsoft.Office.Excel.FormulaByExampleConditionals":!1,"Microsoft.Office.Excel.FormulaByExampleReferenceRowFormula":!1,"Microsoft.Office.Excel.GotoCtrlClick":!1,"Microsoft.Office.Excel.CalcEtaLambda":!1,"Microsoft.Office.Excel.EtaReducedLambdas":!1,"Microsoft.Office.Excel.DesktopX10VPEnabled":!1,"Microsoft.Office.Excel.InCellControlsAutodetection":!1,"Microsoft.Office.Excel.InCellControlsAutodetectionWin32":!1,"Microsoft.Office.Excel.DropdownAutodetection":!1,"Microsoft.Office.Excel.FormulaAuthoringWithNameManager":!1,"Microsoft.Office.Excel.GetLocalePluginEnabled":!1,"Microsoft.Office.Excel.CalculatedColumnFromHeader":!1,"Microsoft.Office.Excel.ValueErrorHighlightPlugin":!1,"Microsoft.Office.Excel.FormulaByExampleLearnFromOneExample":!1,"Microsoft.Office.Excel.X10FBEDesktopPluginEnabled":!0,"Microsoft.Office.Excel.FormulaGenerationCopilotAutoCompleteEntry":!1,"Microsoft.Office.Excel.FormulaAuthoringCopilotIPE":!1,"Microsoft.Office.Excel.AugLoop.FormulaByExampleScratchpadPreview":!1,"Microsoft.Office.Excel.AutoCompleteUserDefinedEnum":!1,"Microsoft.Office.Excel.FormulaCompletionPluginEnabled":!1,"Microsoft.Office.Excel.FormulaCompletionStartDelta":500});var c=r(18648);Object.defineProperty(t,"overrideTypedFeatureGates",{enumerable:!0,get:function(){return c.overrideTypedFeatureGates}}),Object.defineProperty(t,"setFeatureGateDictionaryGetter",{enumerable:!0,get:function(){return c.setFeatureGateDictionaryGetter}}),t.isTypedChangeGateEnabled=(0,o.makeTypedIsChangeGateEnabled)(["OfficeVSO:XXX_TestChangeGate","OfficeVSO:7903424_Microsoft.Office.Excel.ProvideX10FeaturesFromSchedulerFeatures","Microsoft.Office.Excel.X10IntelligentPythonWP5","Microsoft.Office.Excel.UseObjectInsteadOfMapForFunctionShortDescriptions","OfficeVSO:9214272_FormulaRepairSuggestionsLimit2RatherThan1","Microsoft.Office.Excel.Parser2024","OfficeVSO:9429166_addRepairDiagnostics","OfficeVSO:9510546_X10FBEDesktopPluginChangeGate","OfficeVSO:9506075_ImportRangeWithOnlySheetIdFix","OfficeVSO:9538069_NamedRangeBrokenLinksFix","Microsoft.Office.Excel.CalcTS.UseAsyncLoopImmediate","OfficeVSO:9617414_ShadowEvalPoundErrors","OfficeVSO:9646883_NameManager-FG-Removal","OfficeVSO:9674315_FBEGenerateExplanationInPlugin","OfficeVSO:9683390_FormulaByExamplePlugin","OfficeVSO:9848728_refactorFormulaCopilotIPERequest","OfficeVSO:9766399_FBEAshaVetos","OfficeVSO:10087100_changePythonPluginFGtoCG","OfficeVSO:10160560_RefactorFBETasks","OfficeVSO:10105681_MitigateUpdateSnapshotLeak","OfficeVSO:10116371_pythonpqplugin","OfficeVSO:10193618_FixX10SnapshotLeak"])},36442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIsomorphicSubtrees=function(e,t,r=(()=>""),n=(()=>1)){const o=[e],i=new Set(o);for(let e=0;e<o.length;e+=1)for(const r of t(o[e]))i.has(r)||(i.add(r),o.push(r));i.clear(),o.reverse();const a=new Map,s=[],l=new Map,u=[];o.forEach(((e,o)=>{const i=t(e).map((e=>a.get(e)));if(i.some((e=>void 0===e)))throw new Error("Circular references in the tree");const c=i.map((e=>s[e])),d=function(e){let t=l.get(e);return void 0!==t||(t=l.size,l.set(e,t)),t}(c.join("/")+"/"+r(e));if(s.push(d),void 0===u[d]){const t=c.map((e=>u[e])),r=t.map((e=>e.size)).reduce(((e,t)=>e+t),n(e)),o=t.map((e=>e.depth)).reduce(((e,t)=>Math.max(e,t)),0)+1;u[d]={subtrees:[e],size:r,depth:o}}else u[d].subtrees.push(e);a.set(e,o)}));for(const e of u)e.subtrees.reverse();const c=new Array(o.length);for(const e of u)c[c.length-a.get(e.subtrees[0])-1]=e;return c.filter((e=>void 0!==e))}},57435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fnv1a=function(e){let t=r;const n=e.length;for(let r=0;r<n;r+=1)t^=e.charCodeAt(r),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0};const r=2166136261},64056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageVersion=void 0,t.packageVersion="12.6.2"},52123:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.result=t.ulsStopwatchFactory=t.defaultSetTimeoutInterface=t.clearTimerUnified=t.setImmediateUnified=t.mixin=t.LimitedSizeHotMap=t.JSF32=t.fnv1a=t.findIsomorphicSubtrees=t.isTypedChangeGateEnabled=t.setFeatureGateDictionaryGetter=t.overrideTypedFeatureGates=t.getTypedFeatureGate=t.isFeatureEnabled=t.FeatureName=t.initCalcInThread=t.initCalcThread=t.initCalc=t.getCalcAbsUrlOrThrow=t.getCalcAbsUrl=t.isCalcInit=t.maxRetriesForLoadingScript=t.initCalcCalled=t.combinations=t.codePoint=t.asyncLoop=t.asyncLoopFactory=t.asyncLoopDelayPromiseImpl=t.PackageName=void 0;const n=r(16533),o=r(16330);t.PackageName="excel-online-calc-common",n.__exportStar(r(14803),t),n.__exportStar(r(98497),t),n.__exportStar(r(42614),t),n.__exportStar(r(58579),t);var i=r(37757);Object.defineProperty(t,"asyncLoopDelayPromiseImpl",{enumerable:!0,get:function(){return i.asyncLoopDelayPromiseImpl}}),Object.defineProperty(t,"asyncLoopFactory",{enumerable:!0,get:function(){return i.asyncLoopFactory}}),Object.defineProperty(t,"asyncLoop",{enumerable:!0,get:function(){return i.asyncLoop}}),t.codePoint=n.__importStar(r(29818));var a=r(99595);Object.defineProperty(t,"combinations",{enumerable:!0,get:function(){return a.combinations}});var s=r(49233);Object.defineProperty(t,"initCalcCalled",{enumerable:!0,get:function(){return s.initCalcCalled}}),Object.defineProperty(t,"maxRetriesForLoadingScript",{enumerable:!0,get:function(){return s.maxRetriesForLoadingScript}}),Object.defineProperty(t,"isCalcInit",{enumerable:!0,get:function(){return s.isCalcInit}}),Object.defineProperty(t,"getCalcAbsUrl",{enumerable:!0,get:function(){return s.getCalcAbsUrl}}),Object.defineProperty(t,"getCalcAbsUrlOrThrow",{enumerable:!0,get:function(){return s.getCalcAbsUrlOrThrow}}),Object.defineProperty(t,"initCalc",{enumerable:!0,get:function(){return s.initCalc}}),Object.defineProperty(t,"initCalcThread",{enumerable:!0,get:function(){return s.initCalcThread}}),Object.defineProperty(t,"initCalcInThread",{enumerable:!0,get:function(){return s.initCalcInThread}}),n.__exportStar(r(19348),t),n.__exportStar(r(38877),t);var l=r(46011);Object.defineProperty(t,"FeatureName",{enumerable:!0,get:function(){return l.FeatureName}}),Object.defineProperty(t,"isFeatureEnabled",{enumerable:!0,get:function(){return l.isFeatureEnabled}}),Object.defineProperty(t,"getTypedFeatureGate",{enumerable:!0,get:function(){return l.getTypedFeatureGate}}),Object.defineProperty(t,"overrideTypedFeatureGates",{enumerable:!0,get:function(){return l.overrideTypedFeatureGates}}),Object.defineProperty(t,"setFeatureGateDictionaryGetter",{enumerable:!0,get:function(){return l.setFeatureGateDictionaryGetter}}),Object.defineProperty(t,"isTypedChangeGateEnabled",{enumerable:!0,get:function(){return l.isTypedChangeGateEnabled}});var u=r(36442);Object.defineProperty(t,"findIsomorphicSubtrees",{enumerable:!0,get:function(){return u.findIsomorphicSubtrees}});var c=r(57435);Object.defineProperty(t,"fnv1a",{enumerable:!0,get:function(){return c.fnv1a}});var d=r(27321);Object.defineProperty(t,"JSF32",{enumerable:!0,get:function(){return d.JSF32}});var p=r(46923);Object.defineProperty(t,"LimitedSizeHotMap",{enumerable:!0,get:function(){return p.LimitedSizeHotMap}});var h=r(31602);Object.defineProperty(t,"mixin",{enumerable:!0,get:function(){return h.mixin}}),n.__exportStar(r(93447),t),n.__exportStar(r(74778),t),n.__exportStar(r(16330),t),n.__exportStar(r(49653),t),n.__exportStar(r(52507),t);var g=r(48461);Object.defineProperty(t,"setImmediateUnified",{enumerable:!0,get:function(){return g.setImmediateUnified}}),Object.defineProperty(t,"clearTimerUnified",{enumerable:!0,get:function(){return g.clearTimerUnified}}),Object.defineProperty(t,"defaultSetTimeoutInterface",{enumerable:!0,get:function(){return g.defaultSetTimeoutInterface}});var m=r(26600);Object.defineProperty(t,"ulsStopwatchFactory",{enumerable:!0,get:function(){return m.ulsStopwatchFactory}}),n.__exportStar(r(17312),t),n.__exportStar(r(62659),t),n.__exportStar(r(65349),t),t.result={isSuccess:o.isSuccess}},27321:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSF32=void 0;const r=(e,t)=>(e<<t|e>>>32-t)>>>0;t.JSF32=class{next(){return this.nextU32()*(1/4294967296)}nextU32(){const e=this.x[0]-r(this.x[1],27)>>>0;return this.x[0]=(this.x[1]^r(this.x[2],17))>>>0,this.x[1]=this.x[2]+this.x[3]>>>0,this.x[2]=this.x[3]+e>>>0,this.x[3]=e+this.x[0]>>>0}constructor(e){this.x=new Uint32Array([4058668781,e,e,e]);for(let e=0;e<20;e+=1)this.nextU32()}}},31602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mixin=function(e,t,r){return class extends e{constructor(...e){super(...e);const n=t(this);for(const e of r)Object.defineProperty(this,e,{value:n[e].bind(n),enumerable:!1,configurable:!1})}}}},93447:(e,t)=>{"use strict";function r(e){try{return e()}catch{return!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.mathLog2=t.repeat=t.stringEndsWith=t.stringStartsWith=t.isInteger=void 0,t.arrayFill=function(e,t){for(let r=0;r<e.length;r+=1)e[r]=t;return e},t.objectValues=function(e){const t=[];for(const r in e)Object.hasOwnProperty.call(e,r)&&t.push(e[r]);return t},t.isInteger="function"==typeof Number.isInteger&&r((()=>Number.isInteger(1)&&!Number.isInteger(1.1)))?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,t.stringStartsWith="function"==typeof"".startsWith&&r((()=>"ab".startsWith("a")&&!"ab".startsWith("b")&&"abc".startsWith("b",1)&&!"abc".startsWith("a",1)))?(e,t,r=0)=>e.startsWith(t,r):(e,t,r=0)=>r+t.length<=e.length&&e.substring(r,r+t.length)===t,t.stringEndsWith="function"==typeof"".endsWith&&r((()=>"ab".endsWith("b")&&!"ab".endsWith("a")))?(e,t)=>e.endsWith(t):(e,t)=>t.length<=e.length&&e.substring(e.length-t.length,e.length)===t,t.repeat="function"==typeof"".repeat&&r((()=>"aaa"==="a".repeat(3)))?(e,t)=>e.repeat(t):(e,t)=>Array(t+1).join(e),t.mathLog2=Math.log2??(e=>Math.log(e)*Math.LOG2E)},74778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaybeThenable=t.ResolvablePromiseWithTimeout=t.ResolvablePromiseWithLimitedSubscribers=t.ResolvablePromiseWithSyncValue=t.ResolvablePromise=void 0,t.promiseFinally=function(e,t){return e.then((e=>(t(),e)),(e=>(t(),Promise.reject(e))))},t.newPromise=function(){let e;return[new Promise(((t,r)=>e=[t,r])),e]},t.promiseLoop=function(e,t){let r;return new Promise(((n,o)=>{Promise.resolve(t).then((function t(i){if(void 0!==i){r=i;try{Promise.resolve(e(r)).then(t,o)}catch(e){o(e)}}else n(r)}),o)}))},t.isThenable=l,t.bindMaybeThenable=function(e,t,r){return l(e)?e.then(t,r):t(e)},t.collapseThenable=function(e){return e};const n=r(42614),o=r(19348);class i{then(e,t){return this.promise.then(e,t)}toPromise(){return this.promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}constructor(){this.promise=new Promise(((e,t)=>{this._resolve=e,this._reject=t}))}}t.ResolvablePromise=i;class a extends i{getCurrentValue(){return this.value}resolve(e){return l(e)||this.isUninitialized&&(this.value=e,this.isUninitialized=!1),super.resolve(e)}constructor(){super(),this.value=void 0,this.isUninitialized=!0,super.then((e=>this.value=e))}}t.ResolvablePromiseWithSyncValue=a;class s extends a{static makeAssertMessage(e){return`ResolvablePromiseWithBoundedSubscribers should not pass a limited amount of ${e} active subscribers when not settled`}settle(){this.isSettled=!0}then(e,t){return(0,n.assertTrue)(s.makeAssertMessage(this.limit),this.isSettled||this.currentSubscribers++<this.limit),super.then(e,t)}constructor(e){super(),this.limit=e,this.currentSubscribers=0,this.isSettled=!1,super.then(this.settle.bind(this),this.settle.bind(this))}}function l(e){return(0,o.isDefined)(e)&&"function"==typeof e.then}t.ResolvablePromiseWithLimitedSubscribers=s,t.ResolvablePromiseWithTimeout=class extends i{constructor(e,t){super(),t.setTimeout((()=>{const e=new Error("Promise timeout");e.name="TimeoutError",this.reject(e)}),e)}},t.MaybeThenable={all(e){const t=new Array(e.length),r=new i;let n=0;return e.forEach(((o,i)=>{l(o)?o.then((o=>{t[i]=o,++n===e.length&&r.resolve(t)}),(e=>{r.reject(e)})):t[i]=o})),r},any(e){const t=new i;return e.forEach(((e,r)=>{l(e)?e.then((e=>{t.resolve({result:e,resolvedIndex:r})}),(e=>{t.reject(e)})):t.resolve({result:e,resolvedIndex:r})})),t}}},16330:(e,t)=>{"use strict";var r,n;function o(e){return{kind:r.Success,value:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonKind=t.successUndefined=t.ResultKind=void 0,t.success=o,t.failure=function(e){return{kind:r.Failure,reason:e}},t.isSuccess=function(e){return e.kind===r.Success},t.javaScriptError=function(e){return{kind:n.JavaScriptError,error:e}},function(e){e.Success="Success",e.Failure="Failure",e.Paused="Paused",e.Breaked="Breaked"}(r||(t.ResultKind=r={})),t.successUndefined=o(void 0),function(e){e.JavaScriptError="JavaScriptError"}(n||(t.ReasonKind=n={}))},49653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VoidMachine=t.AllMachine=t.MachineRuntime=t.MachineCycle=t.breakTransition=t.nextTransition=t.TransitionKind=void 0,t.callMachineTransition=a,t.nextOnSuccessReceiver=function(){return s};const n=r(16330);var o;function i(e,t,r){return{kind:e,machine:t,receiver:r}}function a(e,t){return i(o.CallMachine,e,t)}!function(e){e[e.Next=1]="Next",e[e.CallMachine=2]="CallMachine",e[e.Break=3]="Break"}(o||(t.TransitionKind=o={})),t.nextTransition=i(o.Next,void 0,void 0),t.breakTransition=i(o.Break,void 0,void 0);const s={receiveResult:e=>(0,n.isSuccess)(e)?t.nextTransition:e};class l extends Error{constructor(e,t){super("Cycle detected: tried to call an already-running Machine"),this.machine=e,this.stackDepth=t}}t.MachineCycle=l;class u{static resetStats(){u.maxStackDepth=0,u.numPauses=0,u.numCycles=0}pushFrame(e){const t=this.stack.length,r=e.machine;if(!0===r.runStatus)throw u.numCycles+=1,new l(r,t);!1===r.runStatus&&(r.runStatus=!0),this.stack.push(e),u.maxStackDepth<t+1&&(u.maxStackDepth=t+1)}advanceTopFrame(){const e=this.stack[this.stack.length-1].machine;return"boolean"!=typeof e.runStatus?e.runStatus:e.next()}step(){this.numSteps+=1;const e=this.transition;try{switch(e.kind){case o.Next:return this.transition=this.advanceTopFrame(),t.nextTransition;case o.CallMachine:return this.pushFrame(e),this.transition=this.advanceTopFrame(),t.nextTransition;case o.Break:return this.transition=t.nextTransition,e;default:const r=this.stack.pop();return r?(r.machine.runStatus=e,this.transition=r.receiver.receiveResult(e),t.nextTransition):e}}catch(e){return this.transition=(0,n.failure)((0,n.javaScriptError)(e)),t.nextTransition}}run(e=(()=>!1)){if(this.result)return this.result;try{for(;;){const t=this.step();if(t.kind===o.Break)return t;if(t.kind!==o.Next)return this.result=t;if(e())return u.numPauses+=1,t}}catch(e){return this.result=(0,n.failure)((0,n.javaScriptError)(e))}}runToResult(){for(;;){const e=this.run();if(e.kind!==o.Break)return e}}constructor(e){this.numSteps=0,this.stack=[];try{this.pushFrame(a(e,{receiveResult:e=>e})),this.transition=t.nextTransition}catch(e){this.transition=(0,n.failure)((0,n.javaScriptError)(e))}}}t.MachineRuntime=u,u.maxStackDepth=0,u.numPauses=0,u.numCycles=0,t.AllMachine=class{next(){return this.values.length<this.machines.length?a(this.machines[this.values.length],this):(0,n.success)(this.values)}receiveResult(e){return(0,n.isSuccess)(e)?(this.values.push(e.value),this.next()):e}constructor(e){this.machines=e,this.runStatus=!1,this.values=[]}},t.VoidMachine=class{next(){return a(this.machine,this)}receiveResult(e){return(0,n.isSuccess)(e)?n.successUndefined:e}constructor(e){this.machine=e,this.runStatus=!1}}},52507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pledge=void 0;const n=r(49653),o=r(16330);class i{setState(e,t,r){return this.onFulfilled=t,this.onRejected=r,this.transition=e,e}next(){return this.transition instanceof i?this.transition=(0,n.callMachineTransition)(this.transition,this):this.transition}receiveResult(e){let t;try{if((0,o.isSuccess)(e)){if(!this.onFulfilled)return this.setState(e,void 0,void 0);t=this.onFulfilled(e.value)}else{if(!this.onRejected)return this.setState(e,void 0,void 0);t=this.onRejected(e.reason)}}catch(e){return this.setState((0,o.failure)((0,o.javaScriptError)(e)),void 0,void 0)}return t instanceof i?(this.setState(t.transition,t.onFulfilled,t.onRejected),t.setState(this,void 0,void 0),this.next()):this.setState((0,o.success)(t),void 0,void 0)}bind(e){return new i(this,e,void 0)}catch(e){return new i(this,void 0,e)}finally(e){return new i(this,(t=>(e(),t)),(t=>(e(),i.reject(t))))}static all(e){return i.fromMachine(new n.AllMachine(e.map(i.resolve)))}settle(){return new n.MachineRuntime(this).runToResult()}static settleOrThrow(e){const t=e.settle();if((0,o.isSuccess)(t))return t.value;throw t.reason.error}constructor(e,t,r){this.transition=e,this.onFulfilled=t,this.onRejected=r,this.runStatus=!(e instanceof i||e.kind===n.TransitionKind.CallMachine)&&e}}t.Pledge=i,i.resolve=e=>e instanceof i?e:new i((0,o.success)(e),void 0,void 0),i.reject=e=>new i((0,o.failure)(e),void 0,void 0),i.undefinedPledge=i.resolve(void 0),i.fromMachine=e=>{if(e instanceof i)return e;const t=new i(i.undefinedPledge,void 0,void 0);return t.transition=(0,n.callMachineTransition)(e,t),t},i.try=e=>i.undefinedPledge.bind(e),i.RepeatMachine=class{next(){const e=this.onLoop(this.accum);return e instanceof i?(0,n.callMachineTransition)(e,this):this.receiveSuccess(e)}receiveResult(e){return(0,o.isSuccess)(e)?this.receiveSuccess(e.value):e}receiveSuccess(e){return void 0===e?(0,o.success)(this.accum):(this.accum=e,n.nextTransition)}constructor(e,t){this.onLoop=e,this.accum=t,this.runStatus=!1}},i.repeat=(e,t)=>i.resolve(t).bind((t=>i.fromMachine(new i.RepeatMachine(e,t))))},48461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSetTimeoutInterface=void 0,t.setImmediateUnified=s,t.clearTimerUnified=l;const n=r(97992),o=r(42614),{setImmediate:i,clearImmediate:a}=void 0!==globalThis.setImmediateNode&&void 0!==globalThis.clearImmediateNode?{setImmediate:globalThis.setImmediateNode,clearImmediate:globalThis.clearImmediateNode}:{setImmediate:n.setImmediate,clearImmediate:n.clearImmediate};function s(e,...t){return{kind:"Immediate",timer:i(e,...t)}}function l(e){switch(e.kind){case"Immediate":a(e.timer);break;case"Timeout":clearTimeout(e.timer);break;case"Mocking":e.delayedCallback.isValid=!1;break;default:(0,o.assertNever)("unknown timer.kind",e)}}t.defaultSetTimeoutInterface={setImmediate:s,setTimeout:function(e,t,...r){return{kind:"Timeout",timer:setTimeout(e,t,...r)}},clearImmediate:l,clearTimeout:l}},26600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ulsStopwatchFactory=void 0,t.initStopwatch=function(e){o.ULS=e};const n=r(68247),o={ULS:new n.NulLogger};t.ulsStopwatchFactory=(0,n.initStopwatchFactory)((e=>o.ULS.traceTag(595948114,n.LogCategory.msoulscat_ES_EWAJS,n.TraceLevel.Info,e)))},17312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHighSurrogate=s,t.isLowSurrogate=l,t.isAnySurrogate=u,t.surrogatePairToCodePoint=c,t.stringFromCodePoint=function(e){if(e<=65535)return String.fromCharCode(e);const t=e-65536;return String.fromCharCode(t>>10|o,1023&t|i)},t.scanCodePoints=function(e,t,r){let n=t;for(let t=0;t<r;t+=1){if(n>=e.length)return;s(e.charCodeAt(n))&&n+1<e.length&&l(e.charCodeAt(n+1))?n+=2:n+=1}return n},t.scanCodePointsBack=function(e,t,r){let n=t;for(let t=0;t<r;t+=1){if(n-1<0)return;l(e.charCodeAt(n-1))&&n-2>=0&&s(e.charCodeAt(n-2))?n-=2:n-=1}return n},t.countCodePoints=function(e,t,r){let n=0;for(let o=t;o<r;n+=1)s(e.charCodeAt(o))&&o+1<r&&l(e.charCodeAt(o+1))?o+=2:o+=1;return n},t.stringCodePointAt=d,t.numCodeUnits=p,t.codePointIterator=function*(e,t=0){let r=t;for(;r<e.length;){const t=d(e,r);yield t,r+=p(t)}},t.forEachClassInterval=h,t.makeIsInClass=function(e){const t=function(e){const t=[];for(let e=0;e<512;++e)t.push([]);return h(e,((e,r)=>{const o=r-1>>g;for(let i=e>>g;i<=o;++i){const o=i<<g,a=i+1<<g;t[i].push((0,n.fastMax)(e,o),(0,n.fastMin)(r,a))}})),t}(e);return e=>{if(e<0||e>65535)return!1;const r=t[e>>>g];for(let t=0;t<r.length;t+=2){const n=r[t],o=r[t+1];if(e>=n&&e<o)return!0}return!1}};const n=r(19348),o=55296,i=56320,a=65533;function s(e){return(64512&e)===o}function l(e){return(64512&e)===i}function u(e){return 55296==(63488&e)}function c(e,t){if(s(e)&&l(t))return 65536+((1023&e)<<10|1023&t)}function d(e,t){const r=e.charCodeAt(t);return u(r)?t+1>=e.length?a:c(r,e.charCodeAt(t+1))??a:r}function p(e){return e>=65536?2:1}function h(e,t){if(1==(1&e.length))throw new Error("Invalid class length");for(let r=0;r<e.length;r+=2)t(e[r],e[r+1])}const g=7},62659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partialArray=function(e){const t=[];return Object.keys(e).map(Number).forEach((r=>t[r]=e[r])),t},t.messageFromError=function(e){if(null==e||"object"!=typeof e)return(0,n.anonymize)(e);const t=e,r=String(t.name),o=String(t.message);if(null!=t.stack){const e=String(t.stack);return e.indexOf(o)>=0&&e.indexOf(r)>=0?e:`${r}: ${o}\n${e}`}return o.indexOf(r)>=0?o:`${r}: ${o}`},t.prependErrorMessage=function(e,t){if(null==e||"object"!=typeof e)return e;const r=e;return r.message=`${t} ${String(r.message)}`,r};const n=r(14803)},65349:(e,t)=>{"use strict";function r(){return e=>function(e){const t=class{constructor(e){this.obj=e}};for(const r of e)t.prototype[r]=function(...e){const t=this.obj[r](...e);return Promise.resolve(t)};return t}(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.wrapIntoAsyncClass=r,t.wrapIntoAsync=function(e,t){return new(r()(t))(e)}},69424:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(69424),t),n.__exportStar(r(23348),t),n.__exportStar(r(15091),t)},23348:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.DateOrder=t.CurrencyFormat=void 0,function(e){e.Paren="Paren",e.Lead="Lead",e.Intern="Intern",e.Trail="Trail"}(r||(t.CurrencyFormat=r={})),function(e){e.MDY="MDY",e.DMY="DMY",e.YMD="YMD",e.MYD="MYD",e.DYM="DYM",e.YDM="YDM"}(n||(t.DateOrder=n={}))},15091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},59184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adjustFormulaOrigin=function(e,t,r,o){const i=t.originGridCell.value;if((0,c.isGridCellEqual)(i,r))return(0,n.success)(o);try{const a=(0,d.reduceBottomUp)(new f(g.bind(void 0,e.config.refStyle,i,r),e,t,o.annotations),o);return(0,n.success)({...o,node:a})}catch(e){if(e instanceof m)return(0,n.failure)(e.reason);throw e}};const n=r(52123),o=r(103),i=r(39429),a=r(41472),s=r(19275),l=r(97083),u=r(89990),c=r(33156),d=r(98400);function p(e,t,r,n){if(r.kind===a.PosKind.Abs)return r;const o=(0,i.wrapPosition)(e,r.index,n)-t;return o===r.index?r:(0,a.pos)(a.PosKind.Rel,o)}function h(e,t,r,n){const i=p(t.row,r.row,n.row,s.sheetRows),l=p(t.col,r.col,n.col,s.sheetCols),u=(0,o.canonicaliseBrackets)(e,i)||(0,o.canonicaliseBrackets)(e,l);return(0,a.cellRefSingle)(i,l,u,n.label)}function g(e,t,r,n){switch(n.kind){case a.CellRefKind.Error:case a.CellRefKind.Bad:return n;case a.CellRefKind.Single:return h(e,t,r,n);case a.CellRefKind.Range:{const o=h(e,t,r,n.ref1),i=h(e,t,r,n.ref2);return o===n.ref1&&i===n.ref2?n:(0,a.cellRefRange)(o,i,n.label)}case a.CellRefKind.Row:{const i=p(t.row,r.row,n.row1,s.sheetRows),l=p(t.row,r.row,n.row2,s.sheetRows),u=(0,o.canonicaliseBrackets)(e,i)||(0,o.canonicaliseBrackets)(e,l);return(0,a.cellRefRow)(i,l,u,n.label)}case a.CellRefKind.Col:{const i=p(t.col,r.col,n.col1,s.sheetCols),l=p(t.col,r.col,n.col2,s.sheetCols),u=(0,o.canonicaliseBrackets)(e,i)||(0,o.canonicaliseBrackets)(e,l);return(0,a.cellRefCol)(i,l,u,n.label)}}}const m=(0,c.createFailureErrorClass)("TransformRefsError");class f extends d.IdentityVisitor{nameNode(e,t,r){const o=(0,a.nameNode)(e,t,r),{headResolved:i,fieldsResolved:s}=this.resolver.resolveDottedName(this.locals,o,this.annotations),c=(0,a.flattenNameParts)(e).parts;if((0,l.canDenoteCellRef)(this.locals,t,c)){const[e,o,...l]=c;if(i.kind===u.ResolvedKind.ResolvedCellRef){(0,n.assertTrue)("calc.analyze.adjustFormulaOrigin: all flattened field parts resolved",c.length===1+s.length);const u=this.fn(e.ref);if(u.kind===a.CellRefKind.Single||u.kind===a.CellRefKind.Row||u.kind===a.CellRefKind.Col){const n=(e,t)=>(0,a.fieldRefNamePart)(e,t.rhs,t.canDenoteNamedObject,t.label,t.qualifiedLabel);return(0,a.nameNode)(l.reduce(n,n((0,a.cellRefNamePart)(u,e.asWhole,e.label,e.qualifiedLabel),o)),t,r)}const d=(e,{rhs:t,qualifiedLabel:r})=>(0,a.fieldRefNode)(e,t,r);return l.reduce(d,d((0,a.cellRefNode)(u,i.node.qualifier,i.node.label),o))}if(i.resolution.kind!==n.ResultKind.Success&&i.resolution.reason.kind!==u.ResolveReasonKind.NoOriginSheet&&i.resolution.reason.kind!==u.ResolveReasonKind.InvalidQualifier)throw new m(i.resolution.reason)}return o}cellRefNode(e,t,r){return(0,a.cellRefNode)(this.fn(e),t,r)}constructor(e,t,r,n){super(),this.fn=e,this.locals=r,this.annotations=n,this.resolver=(0,l.createResolver)(t)}}},33040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildAnnotations=function(e,t,r,i){const u=[];return(0,s.reduceTopDown_Pledge)(new l(e,u,(r??[]).reduce(((t,r)=>{const n=(0,a.getBoundName)(e,r.whole);return t.setValue(n,r)}),n.RedBlackMapTree.create(e.stringCompareCI))),t),u[t.label]=(0,o.formulaRootAnnotation)(r,i),u};const n=r(52123),o=r(41472),i=r(35097),a=r(33156),s=r(98400);class l extends s.PledgeReducer{appNode(e,t,r,i){return n.Pledge.try((()=>(e.kind===o.NodeKind.Name&&(this.annotations[e.label]=o.appHeadNameAnnotation),super.appNode(e,t,r,i))))}letNode(e,t,r,o){const a=e.id===i.WorksheetFuncId.LETREC||e.id!==i.WorksheetFuncId.LET&&(0,n.assertFalse)("calc.lang.buildAnnotations"),l=this.bindNames(t),u=l[t.length];return this.lazyVisitAppHeadNode(e).bind((e=>a?n.Pledge.all(t.map((({binder:e})=>n.Pledge.try((()=>(0,s.visitFormulaNode)(u,e.arg)))))):n.Pledge.all(t.map((({binder:e},t)=>{const r=l[t];return n.Pledge.try((()=>(0,s.visitFormulaNode)(r,e.arg)))}))))).bind((e=>void 0===r?void 0:(0,s.visitFormulaNode)(u,r.arg))).bind((e=>n.Pledge.all(o.map((e=>n.Pledge.try((()=>(0,s.visitFormulaNode)(this,e.arg)))))))).bind((e=>{}))}lambdaNode(e,t,r,o){const i=this.bindNames(t),a=i[t.length];return this.lazyVisitAppHeadNode(e).bind((e=>n.Pledge.all(t.map((({name:e},t)=>{if(void 0===e.arg.def)return n.Pledge.resolve(void 0);const r=i[t],o=e.arg.def;return n.Pledge.try((()=>(0,s.visitFormulaNode)(r,o.rhs)))}))))).bind((e=>void 0===r?void 0:(0,s.visitFormulaNode)(a,r.arg))).bind((e=>n.Pledge.all(o.map((e=>n.Pledge.try((()=>(0,s.visitFormulaNode)(this,e.arg)))))))).bind((e=>{}))}bindNames(e){const t=[this];return e.reduce(((e,{name:r})=>{if(void 0===r.arg.wholeName)return t.push(new l(this.localeInfo,this.annotations,e)),e;const n=(0,a.getBoundName)(this.localeInfo,r.arg.wholeName),i=e.setValue(n,r.arg);return t.push(new l(this.localeInfo,this.annotations,i)),this.annotations[r.arg.label]=(0,o.localNameDeclAnnotation)(n,r.arg.wholeName),i}),this.names),t}nameNode(e,t,r){return n.Pledge.try((()=>{if(void 0===t){const t=(0,o.headNamePart)(e),r=this.names.getEntry((0,a.getBoundName)(this.localeInfo,t.asWhole));void 0===r||(r.value.kind===o.NodeKind.ContextName?this.annotations[t.label]=(0,o.localNameUseAnnotation)(r.key,r.value.whole,r.value.label):(this.annotations[t.label]=(0,o.localNameUseAnnotation)(r.key,r.value.wholeName,r.value.label),this.annotations[r.value.label].uses.push({label:t.label})))}return super.nameNode(e,t,r)}))}constructor(e,t,r){super(s.voidVisitor),this.localeInfo=e,this.annotations=t,this.names=r}}},103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canonicaliseColRange=t.canonicaliseRowRange=t.formatColRange=t.formatRowRange=t.canonicaliseCol=t.canonicaliseRow=void 0,t.columnName=d,t.canonicaliseBrackets=function(e,t){return e===i.RefStyle.R1C1&&t.kind===i.PosKind.Rel&&0!==t.index},t.resolvePosition=p,t.formatRow=g,t.formatCol=m,t.formatCellPos=S,t.canonicaliseCellPos=function(e,r,n,o){const i=(0,t.canonicaliseRow)(e.row,r,o),a=(0,t.canonicaliseCol)(e.col,n,o);return void 0===i||void 0===a?void 0:{row:i,col:a}},t.formatRangePos=C,t.canonicaliseRangePos=function(e,r,n,o,i,s){const l=v(e.row,r,o,a.sheetRows,s),u=v(e.col,n,i,a.sheetCols,s);if(void 0===l||void 0===u)return;const[c,d,p,h]=l,[g,m,f,b]=u,y=(0,t.canonicaliseRow)(e.row,c,s),S=(0,t.canonicaliseCol)(e.col,g,s),C=(0,t.canonicaliseRow)(e.row,d,s),T=(0,t.canonicaliseCol)(e.col,m,s);return void 0!==y&&void 0!==S&&void 0!==C&&void 0!==T?0===f&&b===a.sheetCols-1&&n.kind===i.kind?{row1:y,row2:C,col1:void 0,col2:void 0}:0===p&&h===a.sheetRows-1&&r.kind===o.kind?{col1:S,col2:T,row1:void 0,row2:void 0}:{row1:y,col1:S,row2:C,col2:T}:void 0},t.shouldQuoteQualifier=A,t.formatQualifier=I,t.quoteQualifier=x,t.formatGridRange=function(e,t,r=i.RefStyle.A1,o,s){const l=1===t.cols&&1===t.rows?S(e,r,(0,a.gridCell)(0,0),(0,i.pos)(i.PosKind.Rel,t.row),(0,i.pos)(i.PosKind.Rel,t.col),!1):C(e,r,(0,a.gridCell)(0,0),(0,i.pos)(i.PosKind.Rel,t.row),(0,i.pos)(i.PosKind.Rel,t.col),(0,i.pos)(i.PosKind.Rel,t.row+t.rows-1),(0,i.pos)(i.PosKind.Rel,t.col+t.cols-1),!1);if((0,n.assertTrue)("calc.lang.formatGridRange",void 0!==l),void 0===o&&void 0===s)return l;if(void 0===o||void 0===s)return I(e,r,o??s)+"!"+l;const u=o+":"+s;return(A(e,r,o)||A(e,r,s)?x(u):u)+"!"+l},t.formatName=function(e,t,r=i.RefStyle.A1,n){return void 0===n?t:I(e,r,n)+"!"+t};const n=r(52123),o=r(39429),i=r(41472),a=r(19275),s=(0,i.pos)(i.PosKind.Abs,0),l=(0,i.pos)(i.PosKind.Abs,a.sheetRows-1),{codePointCapitalA:u,codePointFullStop:c}=n.codePoint;function d(e){let t=e+1,r="";for(;t>0;){const e=(t-1)%26;r=String.fromCharCode(u+e)+r,t=Math.floor((t-e)/26)}return r}function p(e,t,r,n){if(t.kind===i.PosKind.Abs)return t.index;if(n)return(0,o.wrapPosition)(e,t.index,r);const a=e+t.index;return 0<=a&&a<r?a:void 0}function h(e,t,r,n,o,a){const s=p(r,n,o,a);if(void 0===s)return;if(n.kind===i.PosKind.Abs)return t+(s+1).toFixed();const l=s-r;return 0===l?t:t+e.rcLeftBracket+l.toFixed()+e.rcRightBracket}function g(e,t,r,n,o){return t===i.RefStyle.A1?function(e,t,r){const n=p(e,t,a.sheetRows,r);if(void 0===n)return;const o=(n+1).toFixed();return t.kind===i.PosKind.Abs?"$"+o:o}(r,n,o):h(e,e.rowLetter,r,n,a.sheetRows,o)}function m(e,t,r,n,o){return t===i.RefStyle.A1?function(e,t,r){const n=p(e,t,a.sheetCols,r);if(void 0===n)return;const o=d(n);return t.kind===i.PosKind.Abs?"$"+o:o}(r,n,o):h(e,e.columnLetter,r,n,a.sheetCols,o)}function f(e,t,r,n){if(r.kind===i.PosKind.Abs)return r;const o=p(t,r,e,n);if(void 0===o)return;const a=o-t;return a===r.index?r:(0,i.pos)(i.PosKind.Rel,a)}function v(e,t,r,n,o){const i=p(e,t,n,o),a=p(e,r,n,o);if(void 0!==i&&void 0!==a)return i<=a?[t,r,i,a]:[r,t,a,i]}function b(e,t,r,n,o,a,s,l,u){const c=v(a,s,l,r,u);if(void 0===c)return;const[d,p,h,g]=c;if(void 0!==t&&0===h&&g===r-1&&s.kind===l.kind)return t(n,o,u);const m=e(n,o,a,d,u);if(void 0===m)return;if(o===i.RefStyle.R1C1&&d.kind===p.kind&&d.index===p.index)return m;const f=e(n,o,a,p,u);return void 0!==f?m+":"+f:void 0}function y(e,t,r,n,o,i){const a=v(r,n,o,t,i);if(void 0===a)return;const[s,l,u,c]=a;if(void 0!==e&&0===u&&c===t-1&&n.kind===o.kind)return e;const d=f(t,r,s,i),p=f(t,r,l,i);return void 0!==d&&void 0!==p?[!1,d,p]:void 0}function S(e,t,r,n,o,a){const s=g(e,t,r.row,n,a),l=m(e,t,r.col,o,a);if(void 0!==s&&void 0!==l)return t===i.RefStyle.A1?l+s:s+l}function C(e,r,n,o,i,s,l,u){const c=v(n.row,o,s,a.sheetRows,u),d=v(n.col,i,l,a.sheetCols,u);if(void 0===c||void 0===d)return;const[p,h,g,m]=c,[f,b,y,C]=d;if(0===y&&C===a.sheetCols-1&&i.kind===l.kind)return(0,t.formatRowRange)(e,r,n.row,p,h,u);if(0===g&&m===a.sheetRows-1&&o.kind===s.kind)return(0,t.formatColRange)(e,r,n.col,f,b,u);const T=S(e,r,n,p,f,u),k=S(e,r,n,h,b,u);return void 0!==T&&void 0!==k?T+":"+k:void 0}function T(e,t){return t===c||e.isIdentContinue(t)}t.canonicaliseRow=f.bind(void 0,a.sheetRows),t.canonicaliseCol=f.bind(void 0,a.sheetCols),t.formatRowRange=b.bind(void 0,g,void 0,a.sheetRows),t.formatColRange=b.bind(void 0,m,((e,r,n)=>(0,t.formatRowRange)(e,r,0,s,l,n)),a.sheetCols),t.canonicaliseRowRange=y.bind(void 0,void 0,a.sheetRows),t.canonicaliseColRange=y.bind(void 0,[!0,s,l],a.sheetCols);const k=/'/g;function F(e,t){if(0===t.length)return!1;let r=0;const o=(0,n.stringCodePointAt)(t,r);if(!e.isIdentStart(o))return!1;r+=(0,n.numCodeUnits)(o);for(const o of(0,n.codePointIterator)(t,r))if(!T(e,o))return!1;return!0}const E=(0,a.gridCell)(0,0);function A(e,t,r){if(0===e.stringCompareCI(r,e.trueName))return!0;if(0===e.stringCompareCI(r,e.falseName))return!0;const a=(0,o.parseCellRef)(e,t,E,r,0);if(void 0!==a)if(a.refStyle===i.RefStyle.A1){const{i:t}=a;if(t>=r.length&&void 0===e.getWorksheetFuncId(r.substring(0,t)))return!0}else if(!(0,o.isR1C1IdentStart)(a.row,a.col))return!0;return!F(e,r)&&!function(e,t){let r=0;if(!(0,n.stringStartsWith)(t,e.leftBracket,r))return!1;if(r+=e.leftBracket.length,r===t.length)return!1;const o=(0,n.stringCodePointAt)(t,r);if(!T(e,o))return!1;for(r+=(0,n.numCodeUnits)(o);;){if((0,n.stringStartsWith)(t,e.rightBracket,r)){r+=e.rightBracket.length;break}if(r===t.length)return!1;const o=(0,n.stringCodePointAt)(t,r);if(!T(e,o))return!1;r+=(0,n.numCodeUnits)(o)}const i=t.indexOf(":",r);return i<0?F(e,t.substring(r)):F(e,t.substring(r,i))&&F(e,t.substring(i+1))}(e,r)&&!function(e,t){const r=e.leftBracket.length,n=e.rightBracket.length;return!(t.length<r+n)&&t.substring(0,r)===e.leftBracket&&t.substring(t.length-n)===e.rightBracket&&F(e,t.substring(r,t.length-n))}(e,r)}function I(e,t,r){return A(e,t,r)?x(r):r}function x(e){return`'${e.replace(k,"''")}'`}},39429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpecialPos=void 0,t.isR1C1IdentStart=D,t.parseCellRef=function(e,t,r,i,a){const s=function(e,t,r,i,a){const{col:s,row:l}=r,[u,c,d]=F(e,s,l,A,E,i,a),p="object"==typeof c&&c.kind===o.PosKind.Abs||c===R.A1BadDollar||"object"==typeof u&&u.kind===o.PosKind.Abs||u===R.A1BadDollar;if(null!=c&&null!=u||p||(null!=c||null!=u)&&(a-1>=0&&i.charCodeAt(a-1)===b||d<i.length&&i.charCodeAt(d)===b)){if(d<i.length&&e.isIdentContinue((0,n.stringCodePointAt)(i,d)))return;if(t!==o.RefStyle.A1&&!p)return;return{refStyle:o.RefStyle.A1,row:c,col:u,i:d}}}(e,t,r,i,a);return void 0!==s?s:function(e,t,r,i,a){const{col:s,row:l}=r;let u=!1,[c,d,p]=F(e,l,s,I,x,i,a);if(null!=c||null!=d||"R"===e.rowLetter&&"C"===e.columnLetter||(u=!0,[c,d,p]=F(e,l,s,w,P,i,a)),(null!=c||null!=d)&&(p>=i.length||!D(c,d)||!e.isIdentContinue((0,n.stringCodePointAt)(i,p))))return{refStyle:o.RefStyle.R1C1,row:c,col:d,i:p,enLocale:u}}(e,0,r,i,a)},t.parseGridCellA1=function(e,t){const[r,n,o]=F(e,0,0,A,E,t,0);return"object"==typeof r&&"object"==typeof n&&o===t.length?(0,a.gridCell)(n.index,r.index):void 0},t.parseGridRangeA1=function(e,t){const[r,o,i]=F(e,0,0,A,E,t,0);if("object"!=typeof r||"object"!=typeof o)return;if(i===t.length)return(0,a.gridCell)(o.index,r.index);if(t.charCodeAt(i)!==b)return;const[s,l,u]=F(e,0,0,A,E,t,i+1);if("object"!=typeof s||"object"!=typeof l)return;if(u!==t.length)return;const c=(0,n.fastMin)(o.index,l.index),d=(0,n.fastMin)(r.index,s.index);return(0,a.gridRange)(c,d,(0,n.fastMax)(o.index,l.index)+1-c,(0,n.fastMax)(r.index,s.index)+1-d)},t.parseQualifier=function(e){const t=e.lastIndexOf("!");if(t<0||0===t||t===e.length-1)return;const r=e.substring(0,t),o=e.substring(t+1);if(r.indexOf("'")<0)return{qualifier:r,unqualified:o};if(!(0,n.stringStartsWith)(r,"'")||!(0,n.stringEndsWith)(r,"'"))return;const i=[];for(let e=1;e<r.length-1;++e){const t=r.charAt(e);if("'"===t){if(e+1>=r.length-1||"'"!==r.charAt(e+1))return;i.push(t),++e}else i.push(t)}return{qualifier:i.join(""),unqualified:o}},t.wrapPosition=_;const n=r(52123),o=r(41472),i=r(86086),a=r(19275),s=a.sheetRows,l=s.toString(10).length,u=a.sheetCols,c=u.toString(26).length,d=u.toString(10).length,{codePointCapitalA:p,codePointCapitalZ:h,codePointSmallA:g,codePointSmallZ:m,codePointPlusSign:f,codePointMinusSign:v,codePointColon:b}=n.codePoint;function y(e){return e>=g&&e<=m||e>=p&&e<=h}function S(e){return 1+(e>=g?e-g:e-p)}function C(e,t,r,i){return function(a,s,l,u,c){const[d,p]=function(e,t){return(0,n.stringStartsWith)(e,"$",t)?[o.PosKind.Abs,t+1]:[o.PosKind.Rel,t]}(l,u),[h,g]=e(a,r,l,p);if(g>p){if(h<1||h>t)return d===o.PosKind.Abs||(!0===i?"object"==typeof c&&c.kind===o.PosKind.Abs||c===R.A1BadDollar:(0,n.stringStartsWith)(l,"$",g))?[R.A1BadDollar,!0,g]:void 0;const e=d===o.PosKind.Rel?h-s:h;return[(0,o.pos)(d,e-1),d===o.PosKind.Abs,g]}return d!==o.PosKind.Abs||!0!==i&&g!==l.length&&a.isNumeral((0,n.stringCodePointAt)(l,g))?[void 0,!1,u]:[R.A1BadDollar,!0,g]}}function T(e,t,r){return _(e,t,r)-e}function k(e,t,r,a){return function(s,l,u,c){const d=t?e?"R":s.rowLetter:e?"C":s.columnLetter;if(c>=u.length||0!==s.stringCompareCI(d,u[c]))return[void 0,!1,c];let p=c+d.length;const[h,g]=(0,i.parseUint)(s,a,u,p);if(g>p&&h>=1&&h<=r)return[(0,o.pos)(o.PosKind.Abs,h-1),!1,g];if((0,n.stringStartsWith)(u,s.rcLeftBracket,p)){if(p+=s.rcLeftBracket.length,(0,n.stringStartsWith)(u,s.rcRightBracket,p))return[(0,o.pos)(o.PosKind.Rel,T(l,0,r)),!0,p+s.rcRightBracket.length];let e=1;const t=u.charCodeAt(p);t===f?p+=1:t===v&&(e=-1,p+=1);const[c,d]=(0,i.parseUint)(s,a,u,p);if(d>p&&c<r&&(0,n.stringStartsWith)(u,s.rcRightBracket,d))return[(0,o.pos)(o.PosKind.Rel,T(l,c*e,r)),!0,d+s.rcRightBracket.length]}return[R.RCNoNum,!1,c+d.length]}}function F(e,t,r,n,o,i,a){const s=n(e,t,i,a,void 0);if(null==s)return[void 0,void 0,a];const[l,u,c]=s;if(c>a){const t=o(e,r,i,c,l);if(null==t)return u?[l,void 0,c]:[void 0,void 0,a];const[n,,s]=t;return s>c?[l,n,s]:[l,void 0,c]}const d=o(e,r,i,a,l);if(null==d)return[void 0,void 0,a];const[p,,h]=d;return h>a?[void 0,p,h]:[void 0,void 0,a]}const E=C(i.parseUint,s,l,!0),A=C(((e,t,r,o)=>function(e,t,r){let o=0,i=r;const a=(0,n.fastMin)(t.length,r+e);for(;i<a;i+=1){const e=t.charCodeAt(i);if(!y(e))break;o=26*o+S(e)}return i===a&&i<t.length&&y(t.charCodeAt(i))?[0,r]:[o,i]}(t,r,o)),u,c,!1),I=k(!1,!0,s,l),x=k(!1,!1,u,d),w=k(!0,!0,s,l),P=k(!0,!1,u,d);var R;function D(e,t){return"object"!=typeof e&&"object"!=typeof t}function _(e,t,r){return e+t&r-1}!function(e){e[e.RCNoNum=0]="RCNoNum",e[e.A1BadDollar=1]="A1BadDollar"}(R||(t.SpecialPos=R={}))},78770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.englishSysTimeFormat=t.englishSysDateFormat=t.englishPictureDbnum=t.englishPictureColor=t.englishPictureSingle=t.englishPictureSpecial=t.englishSpecialRefNames=t.englishErrorNames=t.LCID=t.Country=t.ulsLogger=t.NulLogger=t.TraceLevel=t.LogCategory=t.PictureSingle=t.PictureSpecial=t.PictureDbnum=t.PictureColor=void 0,t.calcConfig=function(e,t=s.RefStyle.A1,r=u.xlMathpack,n=!1,o=!0,i=a.tzUTC,l=a.xlDatepack){return{localeInfo:e,refStyle:t,mathpack:r,date1904:n,dateCompatibility:o,timezone:i,datepack:l}},t.localeInfo=h,t.isNumeral=f,t.getOrdinal=v,t.getNumberShape=b,t.isIdentStart=S,t.isIdentContinue=C,t.englishWorksheetFuncIdToName=function(e){const t=F()[e];return void 0===t?`wsf:${e}`:t},t.englishErrorTypeToName=function(e){const r=t.englishErrorNames[e];return void 0===r?`error.type:${e}`:r},t.englishOperatorIdToName=function(e){if(e===d.OperatorId.Isect)return" ";if(e===d.OperatorId.Union)return",";const t=d.operatorStrings[e];return void 0===t?`op:${e}`:t},t.operatorIdToName=function(e,t,r){return t===d.OperatorId.Isect?r:t===d.OperatorId.Union?e.listSeparator:d.operatorStrings[t]},t.getEnglishWorksheetFuncIdToName=F,t.createWorksheetFuncNameCallbacks=E,t.createIsThousandsPositionCallback=function(e){if(0===e.length||0===e[0])return()=>!1;if(2===e.length&&0===e[1]){const t=e[0];return e=>e>0&&e%t==0}const t=0===e[e.length-1]&&e.length>=2;return r=>{if(r<=0)return!1;let n=r;for(let t=0;t<e.length&&(n-=e[t],!(n<=0));t+=1);return n>0&&t?n%e[e.length-2]==0:0===n}},t.getEnglishLocaleInfo=function(){return null==A&&(A=function(){const e=F(),r=(0,n.makeStringCompareCI)("en-US"),{getWorksheetFuncId:o,getWorksheetFuncName:i}=E(r,e);return h(o,i,f,v,b,(e=>e>0&&e%3==0),S,C,r,t.englishErrorNames,t.englishSpecialRefNames,"TRUE","FALSE","R","C","{","}","[","]","[","]",".",",",",",";",",",";",m.USA,{primary:"en-US",userDefault:"en-US",instLang:"en-US",userCurrent:"en-US"},g.USA,!1,!1,!1,!1,!1,!1,!1,2,!1," ",!1,c.CurrencyFormat.Paren,!0,!1,"$",2,c.DateOrder.MDY,"/","-",!0,!1,!1,!0,":",void 0,!1,!1,!0,["AM","PM"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"],t.englishPictureSpecial,t.englishPictureSingle,t.englishPictureColor,t.englishPictureDbnum,t.englishSysDateFormat,t.englishSysTimeFormat)}()),A};const n=r(52123);Object.defineProperty(t,"ulsLogger",{enumerable:!0,get:function(){return n.ulsLogger}});const o=r(68247);Object.defineProperty(t,"LogCategory",{enumerable:!0,get:function(){return o.LogCategory}}),Object.defineProperty(t,"NulLogger",{enumerable:!0,get:function(){return o.NulLogger}}),Object.defineProperty(t,"TraceLevel",{enumerable:!0,get:function(){return o.TraceLevel}});const i=r(44663);Object.defineProperty(t,"PictureColor",{enumerable:!0,get:function(){return i.PictureColor}}),Object.defineProperty(t,"PictureDbnum",{enumerable:!0,get:function(){return i.PictureDbnum}}),Object.defineProperty(t,"PictureSingle",{enumerable:!0,get:function(){return i.PictureSingle}}),Object.defineProperty(t,"PictureSpecial",{enumerable:!0,get:function(){return i.PictureSpecial}});const a=r(96085),s=r(41472),l=r(72383),u=r(59059),c=r(18403),d=r(26460),p=r(49519);function h(e,t,r,n,o,i,a,s,l,u,c,d,p,h,g,m,f,v,b,y,S,C,T,k,F,E,A,I,x,w,P,R,D,_,N,O,M,B,L,K,W,H,G,z,U,V,j,q,$,Q,X,Y,J,Z,ee,te,re,ne,oe,ie,ae,se,le,ue,ce,de,pe,he,ge){return{getWorksheetFuncId:e,getWorksheetFuncName:t,isNumeral:r,getOrdinal:n,getNumberShape:o,isThousandsPosition:i,isIdentStart:a,isIdentContinue:s,stringCompareCI:l,errorNames:u,specialRefNames:c,trueName:d,falseName:p,rowLetter:h,columnLetter:g,leftBrace:m,rightBrace:f,leftBracket:v,rightBracket:b,rcLeftBracket:y,rcRightBracket:S,decimalSeparator:C,listSeparator:T,columnSeparator:k,rowSeparator:F,thousandsSeparator:E,statementSeparator:A,lcid:I,cultureTag:x,country:w,isThai:P,isEastAsia:R,isKorea:D,isJapan:_,isChinaT:N,isChinaS:O,isComplexScript:M,numberDecimals:B,isExpSepBySpace:L,fractionSeparator:K,isPercentSepBySpace:W,currencyFormat:H,isCurrencySymbolLead:G,isCurrencySepBySpace:z,currencySymbol:U,currencyDecimals:V,dateOrder:j,dateSeparator:q,dateAltSeparator:$,year4Digits:Q,month2Digits:X,day2Digits:Y,longDateFormat:J,timeSeparator:Z,timeAltSeparator:ee,hour2Digits:te,clock24Hour:re,isAMPMSepBySpace:ne,ampmSymbols:oe,dayNameShort:ie,dayNameLong:ae,monthNameShort:se,monthNameLong:le,pictureSpecial:ue,pictureSingle:ce,pictureColor:de,pictureDbnum:pe,sysDateFormat:he,sysTimeFormat:ge}}var g,m;function f(e){const t=0|e;if(t<128)return t>=48&&t<58;const r=15&t;switch(2147483632&t){case 1632:case 1776:case 3664:case 3792:case 3872:case 4160:case 6112:case 6160:return r<=9;case 2400:case 2528:case 2656:case 2784:case 2912:case 3040:case 3168:case 3296:case 3424:return r>=6&&r<=15;case 4960:return r>=9;case 4976:return r<=1;default:return!1}}function v(e){const t=0|e;if(t<128)return(t<48||t>=58)&&(0,n.assertFalse)("calc.config.getOrdinal"),15&t;const r=15&t;let o;switch(2147483632&t){case 1632:case 1776:case 3664:case 3792:case 3872:case 4160:case 6112:case 6160:o=r;break;case 2400:case 2528:case 2656:case 2784:case 2912:case 3040:case 3168:case 3296:case 3424:o=r-6;break;case 4960:o=r-8;break;case 4976:o=r+8;break;default:return(0,n.assertFalse)("calc.config.getOrdinal")}return(o<0||o>9||4968===t)&&(0,n.assertFalse)("calc.config.getOrdinal"),o}function b(e){const t=0|e;if(t<128)return(t<48||t>=58)&&(0,n.assertFalse)("calc.config.getNumberShape"),c.NumberShape.ASCII;switch(f(t)||(0,n.assertFalse)("calc.config.getNumberShape"),2147483632&t){case 1632:return c.NumberShape.ArabicIndic;case 1776:return c.NumberShape.ExtendedArabicIndic;case 2400:return c.NumberShape.Devanagari;case 2528:return c.NumberShape.Bengali;case 2656:return c.NumberShape.Gurmukhi;case 2784:return c.NumberShape.Gujarati;case 2912:return c.NumberShape.Oriya;case 3040:return c.NumberShape.Tamil;case 3168:return c.NumberShape.Telugu;case 3296:return c.NumberShape.Kannada;case 3424:return c.NumberShape.Malayalam;case 3664:return c.NumberShape.Thai;case 3792:return c.NumberShape.Lao;case 3872:return c.NumberShape.Tibetan;case 4160:return c.NumberShape.Myanmar;case 4960:case 4976:return c.NumberShape.Ethiopic;case 6112:return c.NumberShape.Khmer;case 6160:return c.NumberShape.Mongolian;default:return(0,n.assertFalse)("calc.config.getNumberShape")}}!function(e){e[e.USA=1]="USA",e[e.UK=44]="UK",e[e.AUS=61]="AUS",e[e.NZ=64]="NZ",e[e.UNK=1]="UNK",e[e.CAN=2]="CAN",e[e.DUT=31]="DUT",e[e.FRN=33]="FRN",e[e.SPA=34]="SPA",e[e.ITN=39]="ITN",e[e.SWE=46]="SWE",e[e.GER=49]="GER",e[e.JPN=81]="JPN",e[e.MEX=52]="MEX",e[e.BRA=55]="BRA",e[e.LAM=3]="LAM",e[e.BEL=32]="BEL",e[e.SWZ=41]="SWZ",e[e.SWG=41]="SWG",e[e.SWF=41]="SWF",e[e.AUT=43]="AUT",e[e.DAN=45]="DAN",e[e.NOR=47]="NOR",e[e.POR=351]="POR",e[e.FIN=358]="FIN",e[e.ICE=354]="ICE",e[e.GRK=30]="GRK",e[e.TUR=90]="TUR",e[e.CZE=420]="CZE",e[e.HUN=36]="HUN",e[e.POL=48]="POL",e[e.RUS=7]="RUS",e[e.HEB=972]="HEB",e[e.ARB=966]="ARB",e[e.PER=981]="PER",e[e.ARB_Algeria=213]="ARB_Algeria",e[e.ARB_Bahrain=966]="ARB_Bahrain",e[e.ARB_Djibouti=253]="ARB_Djibouti",e[e.ARB_Egypt=20]="ARB_Egypt",e[e.ARB_Iraq=964]="ARB_Iraq",e[e.ARB_Jordan=962]="ARB_Jordan",e[e.ARB_Kuwait=965]="ARB_Kuwait",e[e.ARB_Lebanon=961]="ARB_Lebanon",e[e.ARB_Libya=218]="ARB_Libya",e[e.ARB_Mauritania=222]="ARB_Mauritania",e[e.ARB_Morocco=216]="ARB_Morocco",e[e.ARB_Oman=968]="ARB_Oman",e[e.ARB_Qatar=974]="ARB_Qatar",e[e.ARB_SaudiArabia=966]="ARB_SaudiArabia",e[e.ARB_Somalia=1]="ARB_Somalia",e[e.ARB_Sudan=249]="ARB_Sudan",e[e.ARB_Syria=963]="ARB_Syria",e[e.ARB_Tunisia=216]="ARB_Tunisia",e[e.ARB_UAE=971]="ARB_UAE",e[e.ARB_Yemen=969]="ARB_Yemen",e[e.KOR=82]="KOR",e[e.TW=886]="TW",e[e.PRC=86]="PRC",e[e.THA=66]="THA",e[e.VIET=84]="VIET"}(g||(t.Country=g={})),function(e){e[e.None=0]="None",e[e.USA=1033]="USA",e[e.Greek=1032]="Greek",e[e.Hungarian=1038]="Hungarian",e[e.Turkish=1055]="Turkish",e[e.Thailand=1054]="Thailand",e[e.Vietnam=1066]="Vietnam",e[e.Arabic=1025]="Arabic",e[e.Hebrew=1037]="Hebrew",e[e.Tamil=1097]="Tamil",e[e.Syriac=1114]="Syriac",e[e.Iraq=2049]="Iraq",e[e.Algerian=5121]="Algerian",e[e.Basque=1069]="Basque",e[e.PortBrazil=1046]="PortBrazil",e[e.Croatian=1050]="Croatian",e[e.Czech=1029]="Czech",e[e.Danish=1030]="Danish",e[e.Dutch=1043]="Dutch",e[e.Australian=3081]="Australian",e[e.CanadianEnglish=4105]="CanadianEnglish",e[e.British=2057]="British",e[e.Finnish=1035]="Finnish",e[e.French=1036]="French",e[e.FrenchCanadian=3084]="FrenchCanadian",e[e.Italian=1040]="Italian",e[e.NorskBokmal=1044]="NorskBokmal",e[e.NorskNynorsk=2068]="NorskNynorsk",e[e.Polish=1045]="Polish",e[e.PortIberian=2070]="PortIberian",e[e.Romanian=1048]="Romanian",e[e.Russian=1049]="Russian",e[e.Ukrainian=1058]="Ukrainian",e[e.Belarusian=1059]="Belarusian",e[e.SerbianCyrillic=3098]="SerbianCyrillic",e[e.SerbianLatin=2074]="SerbianLatin",e[e.Slovak=1051]="Slovak",e[e.Slovenian=1060]="Slovenian",e[e.SpanishModern=3082]="SpanishModern",e[e.Swedish=1053]="Swedish",e[e.HongKong=3076]="HongKong",e[e.ChinaT=1028]="ChinaT",e[e.Korea=1042]="Korea",e[e.Japan=1041]="Japan",e[e.China=2052]="China",e[e.ChinaStroke=133124]="ChinaStroke",e[e.Devihi=1125]="Devihi",e[e.Hindi=1081]="Hindi",e[e.German=1031]="German",e[e.Swiss=4108]="Swiss",e[e.Indonesia=1057]="Indonesia",e[e.EnglishIndonesia=14345]="EnglishIndonesia",e[e.EnglishIndia=16393]="EnglishIndia",e[e.Singapore=4100]="Singapore",e[e.EnglishSingapore=18441]="EnglishSingapore",e[e.Serbia=9242]="Serbia",e[e.Mexico=2058]="Mexico",e[e.Ireland=6153]="Ireland",e[e.EnglishZimbabwe=12297]="EnglishZimbabwe",e[e.Belgium=2067]="Belgium",e[e.SystemTime=62464]="SystemTime",e[e.SystemLongDate=63488]="SystemLongDate",e[e.EuroTrailing=1]="EuroTrailing",e[e.EuroLeading=2]="EuroLeading",e[e.LANG=1023]="LANG",e[e.COUNTRY=64512]="COUNTRY",e[e.OPTIONS=16711680]="OPTIONS"}(m||(t.LCID=m={}));const y=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,0,0,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0]);function S(e){const t=0|e;return t>=0&&t<128?y[t]>=2:(0,l.isIdentStart)(t)}function C(e){const t=0|e;return t>=0&&t<128?y[t]>=1:(0,l.isIdentContinue)(t)}let T;t.englishErrorNames=(0,n.partialArray)({[p.ErrorType.NULL]:"#NULL!",[p.ErrorType.DIV0]:"#DIV/0!",[p.ErrorType.VALUE]:"#VALUE!",[p.ErrorType.REF]:"#REF!",[p.ErrorType.NAME]:"#NAME?",[p.ErrorType.NUM]:"#NUM!",[p.ErrorType.NA]:"#N/A",[p.ErrorType.GETTING_DATA]:"#GETTING_DATA",[p.ErrorType.SPILL]:"#SPILL!",[p.ErrorType.CONNECT]:"#CONNECT!",[p.ErrorType.BLOCKED]:"#BLOCKED!",[p.ErrorType.UNKNOWN]:"#UNKNOWN!",[p.ErrorType.FIELD]:"#FIELD!",[p.ErrorType.CALC]:"#CALC!",[p.ErrorType.BUSY]:"#BUSY!",[p.ErrorType.EXTERNAL]:"#EXTERNAL!"}),t.englishSpecialRefNames=(0,n.partialArray)({[s.SpecialRefId.All]:"#All",[s.SpecialRefId.Data]:"#Data",[s.SpecialRefId.Headers]:"#Headers",[s.SpecialRefId.Totals]:"#Totals",[s.SpecialRefId.ThisRow]:"#This Row"}),t.englishPictureSpecial=(0,n.partialArray)({[i.PictureSpecial.AP1]:"AM/PM",[i.PictureSpecial.AP2]:"A/P",[i.PictureSpecial.AP3]:"上午/下午",[i.PictureSpecial.General]:"General",[i.PictureSpecial.Currency]:"$"}),t.englishPictureSingle=(0,n.partialArray)({[i.PictureSingle.Sep]:";",[i.PictureSingle.Hash]:"#",[i.PictureSingle.Zero]:"0",[i.PictureSingle.Decimal]:".",[i.PictureSingle.Percent]:"%",[i.PictureSingle.Comma]:",",[i.PictureSingle.Colon]:":",[i.PictureSingle.DateSep]:"/",[i.PictureSingle.Slash]:"/",[i.PictureSingle.Space]:" ",[i.PictureSingle.Minus]:"-",[i.PictureSingle.Plus]:"+",[i.PictureSingle.OpenParen]:"(",[i.PictureSingle.CloseParen]:")",[i.PictureSingle.Backslash]:"\\",[i.PictureSingle.Star]:"*",[i.PictureSingle.Year]:"y",[i.PictureSingle.Month]:"m",[i.PictureSingle.Day]:"d",[i.PictureSingle.Hour]:"h",[i.PictureSingle.Minute]:"m",[i.PictureSingle.Second]:"s",[i.PictureSingle.E]:"E",[i.PictureSingle.APDelim]:"/",[i.PictureSingle.Quote]:'"',[i.PictureSingle.ColorStart]:"[",[i.PictureSingle.ColorEnd]:"]",[i.PictureSingle.Text]:"@",[i.PictureSingle.Question]:"?",[i.PictureSingle.Underscore]:"_",[i.PictureSingle.Reign]:"r",[i.PictureSingle.LocDay]:"a",[i.PictureSingle.Era]:"g",[i.PictureSingle.EraYear]:"e",[i.PictureSingle.BidiDate]:"B",[i.PictureSingle.BidiNum]:"N",[i.PictureSingle.DayTh]:"ว",[i.PictureSingle.MonthTh]:"ด",[i.PictureSingle.YearTh]:"ป",[i.PictureSingle.EngYearTh]:"b",[i.PictureSingle.ThYear]:"ค",[i.PictureSingle.HourTh]:"ช",[i.PictureSingle.MinuteTh]:"น",[i.PictureSingle.SecondTh]:"ท",[i.PictureSingle.ZeroTh]:"๐"}),t.englishPictureColor=(0,n.partialArray)({[i.PictureColor.Black]:"Black",[i.PictureColor.White]:"White",[i.PictureColor.Red]:"Red",[i.PictureColor.Green]:"Green",[i.PictureColor.Blue]:"Blue",[i.PictureColor.Yellow]:"Yellow",[i.PictureColor.Magenta]:"Magenta",[i.PictureColor.Cyan]:"Cyan",[i.PictureColor.Color]:"Color"}),t.englishPictureDbnum=(0,n.partialArray)({[i.PictureDbnum.DBNUM1]:"DBNum1",[i.PictureDbnum.DBNUM2]:"DBNum2",[i.PictureDbnum.DBNUM3]:"DBNum3",[i.PictureDbnum.DBNUM4]:"DBNum4"}),t.englishSysDateFormat="dddd, mmmm dd, yyyy",t.englishSysTimeFormat="h:mm:ss AM/PM";const k=/_/g;function F(){if(null==T){T=[];for(const e of(0,n.numEnumArray)(d.WorksheetFuncId)){const t=(0,d.getWorksheetFuncEnglishName)(e)??d.WorksheetFuncId[e].replace(k,".");T[e]=t}}return T}function E(e,t){const r=function(e,t){const r=[];return t.forEach(((e,t)=>{null!=e&&r.push([e,t])})),n.ArrayMapTree.create(e).setValues(r)}(e,t);return{getWorksheetFuncId:e=>r.getValue(e),getWorksheetFuncName(e){const r=t[e];return null==r?(0,n.assertFalse)(`calc.config.getWorksheetFuncName: unknown function ID ${e}`):r}}}let A},96085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xlDatepack=t.TimeGranularity=t.TimeDivision=t.dateTime=t.Rounding=t.tzUTC=t.tzData=void 0;const n=r(52123),o=r(85502),i=r(49519);var a=o.dtr.Rounding;t.Rounding=a;var s,l=o.dtr.TimeDivision;t.TimeDivision=l,t.tzData=(0,n.typedInstanceCreator)()(((e,t,r,n,o)=>({bias:e,standardDate:t,standardBias:r,daylightDate:n,daylightBias:o}))),t.tzUTC=(0,t.tzData)(0,void 0,0,void 0,0),t.dateTime=o.dtr.dtr,function(e){e[e.Year=0]="Year",e[e.Day=1]="Day",e[e.Instant=2]="Instant"}(s||(t.TimeGranularity=s={})),t.xlDatepack={fromNum:function(e,t,r){return o.dtr.fromNum(e.mathpack.toNumber(t),r,e.date1904,e.dateCompatibility)},toNum:function(e,t){const r=o.dtr.toNum(t,e.date1904,e.dateCompatibility);return"number"==typeof r?e.mathpack.fromNumber(r):i.numErrorOper},toNumWithDuration:function(e,t,r,n){const a=o.dtr.toNumWithDuration(t,e.date1904,e.dateCompatibility,r,n);return"number"==typeof a?e.mathpack.fromNumber(a):i.numErrorOper},daysPerMonth:o.dtr.daysPerMonth,toDays:function(e,t){return o.dtr.toDays(t,e.date1904,e.dateCompatibility)},toTime:function(e,t,r,n){return o.dtr.toTime(e.mathpack.toNumber(t),r,n)},utcToLocal:function(e,t,r){return o.dtr.utcToLocal(t,r,e.date1904,e.dateCompatibility)}}},41472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BadType=t.StructRefKind=t.SpecialRefId=t.NamePartKind=t.NodeKind=t.appHeadNameAnnotation=t.AnnotationKind=t.CommentKind=t.PosKind=t.CellRefKind=t.QualifierKind=t.SyntaxFeature=t.RefStyle=void 0,t.errorQualifier=function(e=0){return{kind:a.Error,isQuoted:!1,isClosed:!0,isTerminated:!0,label:e}},t.relativeQualifier=function(e=0){return{kind:a.Relative,isQuoted:!1,isClosed:!0,isTerminated:!0,label:e}},t.documentQualifier=function(e,t,r=!1,n=0){return{kind:a.Document,isQuoted:r,isClosed:!0,isTerminated:!0,label:n,document:e,path:t}},t.sheetQualifier=function(e,t,r=!1,n=0){return{kind:a.Sheet,isQuoted:r,isClosed:!0,isTerminated:!0,label:n,sheet:e,document:t}},t.identQualifier=function(e,t=!1,r=0){return{kind:a.Ident,isQuoted:t,isClosed:!0,isTerminated:!0,label:r,name:e}},t.sheetRangeQualifier=function(e,t,r,n=!1,o=0){return{kind:a.SheetRange,isQuoted:n,isClosed:!0,isTerminated:!0,label:o,sheet1:e,sheet2:t,document:r}},t.badQualifier=function(e,t=!1,r=!0,n=!0,o=0){return{kind:a.Bad,isQuoted:t,isClosed:r,isTerminated:n,label:o,chars:e}},t.pos=function(e,t){return{kind:e,index:t}},t.cellRefError=function(e=0){return{kind:s.Error,label:e,isBracketed:!1}},t.cellRefSingle=function(e,t,r=!1,n=0){return{kind:s.Single,label:n,row:e,col:t,isBracketed:r}},t.cellRefRange=function(e,t,r=0){const n=e.isBracketed||t.isBracketed;return{kind:s.Range,label:r,ref1:e,ref2:t,isBracketed:n}},t.cellRefRow=function(e,t,r=!1,n=0){return{kind:s.Row,label:n,row1:e,row2:t,isBracketed:r}},t.cellRefCol=function(e,t,r=!1,n=0){return{kind:s.Col,label:n,col1:e,col2:t,isBracketed:r}},t.cellRefBad=function(e,t=!1,r=0){return{kind:s.Bad,label:r,chars:e,isBracketed:t}},t.formula=function(e,t,r,n){return{node:e,spans:t,annotations:r,depthUpperBound:n??E(e)}},t.singleLineComment=function(e,t=0){return{kind:u.SingleLine,label:t,chars:e,isClosed:!0}},t.multiLineComment=function(e,t=!0,r=0){return{kind:u.MultiLine,label:r,chars:e,isClosed:t}},t.formulaSpan=function(e,t,r,o,i,a){return(0,n.assertNatural)("calc.lang.formulaSpan",e),(0,n.assertInteger)("calc.lang.formulaSpan",t),t<e&&(0,n.assertFalse)(`calc.lang.formulaSpan: expected end >= ${e}; given ${t}`),{start:e,end:t,pre:r,post:o,preComments:i,postComments:a}},t.localNameUseAnnotation=function(e,t,r){return{kind:c.LocalNameUse,name:e,whole:t,label:r}},t.localNameDeclAnnotation=function(e,t,r=[]){return{kind:c.LocalNameDecl,name:e,whole:t,uses:r}},t.formulaRootAnnotation=function(e,t){return{kind:c.FormulaRoot,contextNames:e,syntaxFeatures:t}},t.literalNode=function(e,t=!0,r=0){return{kind:d.Literal,label:r,oper:e,isClosed:t}},t.arrayNode=function(e,t=!0,r=0){return{kind:d.Array,label:r,nodes:e,isClosed:t}},t.appNode=function(e,t,r=!0,n=0){return{kind:d.App,label:n,head:e,args:t,isClosed:r}},t.flattenLetArgs=b,t.indexedArg=y,t.varNode=function(e,t=0){return{kind:d.Var,label:t,name:e,wholeName:e.whole}},t.letVar=S,t.letNode=function(e,t,r,n=[],o=!0,i=0){const a=t.map(((e,t)=>{return r=e,Array.isArray(r)?S(y(e[0],2*t),y(e[1],2*t+1)):e;var r})).sort(((e,t)=>e.name.index-t.name.index)),s=void 0!==r&&f(r)?y(r,2*a.length):r,l=b(a,s,n);return{kind:d.Let,label:i,head:e,args:l,isClosed:o,vars:a,body:s,badArgs:n}},t.flattenLambdaArgs=C,t.paramName=function(e,t,r=!0,n=0){return{kind:d.ParamName,label:n,name:e,isBracketed:t,isClosed:r}},t.paramDefault=function(e,t=0){return{kind:d.ParamDef,label:t,rhs:e}},t.paramNode=function(e,t,r=0){return{kind:d.Param,label:r,name:e,wholeName:e.name.kind===d.Ident?e.name.whole:void 0,def:t,isOptional:e.isBracketed||void 0!==t}},t.lambdaParam=T,t.lambdaNode=function(e,t,r,n=[],o=!0,i=0){const a=t.map(((e,t)=>f(e)?T(y(e,t)):e)).sort(((e,t)=>e.name.index-t.name.index)),s=void 0!==r&&f(r)?y(r,a.length):r,l=C(a,s,n);return{kind:d.Lambda,label:i,head:e,args:l,isClosed:o,params:a,body:s,badArgs:n}},t.operatorNode=function(e,t=0){return{kind:d.Operator,label:t,id:e}},t.wsfNode=function(e,t,r=0){return{kind:d.WSF,label:r,id:e,whole:t}},t.parenNode=function(e,t=!0,r=0){return{kind:d.Paren,label:r,node:e,isClosed:t}},t.nameNode=function(e,t,r=0){return{kind:d.Name,label:r,whole:e.asWhole,parts:e,qualifier:t}},t.identNamePart=function(e,t=!0,r=0,n=0){return{kind:p.IdentNamePart,label:r,qualifiedLabel:n,asWhole:e,canDenoteNamedObject:t}},t.cellRefNamePart=function(e,t,r=0,n=0){return{kind:p.CellRefNamePart,label:r,qualifiedLabel:n,asWhole:t,canDenoteNamedObject:!1,ref:e}},t.fieldRefNamePart=function(e,t,r=!0,o=0,i=0){return(0,n.assertTrue)("calc.lang.fieldRefNamePart",t.isClosed&&!t.isBracketed),{kind:p.FieldRefNamePart,label:o,qualifiedLabel:i,asWhole:e.asWhole+"."+(t.field.kind===d.Ident?t.field.whole:t.field.chars),canDenoteNamedObject:r,lhs:e,rhs:t}},t.flattenNameParts=function(e){const t=[e];let r=t[0];for(;r.kind===p.FieldRefNamePart;)t.push(r.lhs),r=r.lhs;return t.reverse(),{kind:r.kind,parts:t}},t.headNamePart=function(e){let t=e;for(;t.kind===p.FieldRefNamePart;)t=t.lhs;return t},t.contextNameNode=function(e,t=0){return{kind:d.ContextName,label:t,whole:e}},t.cellRefNode=function(e,t,r=0){return{kind:d.CellRef,label:r,ref:e,qualifier:t}},t.fieldRefNode=function(e,t,r=0){return{kind:d.FieldRef,label:r,lhs:e,rhs:t}},t.fieldRef=function(e,t=!1,r=!0,n=!1,o=0){return{kind:d.FieldRefRHS,label:o,field:e,isBracketed:t,isClosed:r,shouldBeBracketed:n}},t.structRefNode=function(e,t,r=0){return{kind:d.StructRef,label:r,lhs:e,rhs:t}},t.specialRef=function(e,t=!1,r=!0,n=0){return{kind:g.SpecialRef,label:n,id:e,isBracketed:t,isClosed:r}},t.columnRef=function(e,t=!1,r=!0,n=0){return{kind:g.ColumnRef,label:n,name:e,isBracketed:t,isClosed:r}},t.rangeOpRef=function(e,t,r=0){return{kind:g.RangeOpRef,label:r,lhs:e,rhs:t}},t.commaOpRef=function(e,t=0){const r={[h.All]:!1,[h.Data]:!1,[h.Headers]:!1,[h.Totals]:!1,[h.ThisRow]:!1},n=[];for(const t of e)switch(t.kind){case g.SpecialRef:r[t.id]=!0;break;case g.ColumnRef:case g.RangeOpRef:n.push(t)}return{kind:g.CommaOpRef,label:t,refs:e,specialRefs:r,columnRefs:n}},t.thisRowOpRef=function(e,t=0){return{kind:g.ThisRowOpRef,label:t,ref:e}},t.missingRef=function(e=0){return{kind:g.MissingRef,label:e}},t.badRef=function(e,t=!1,r=!0,n=0){return{kind:g.BadRef,chars:e,isBracketed:t,isClosed:r,label:n}},t.structRef=function(e,t=!0,r=0){return{kind:d.StructRefRHS,label:r,isClosed:t,innerRef:e}},t.identNode=function(e,t=0){return{kind:d.Ident,label:t,whole:e}},t.missingNode=function(e="",t=0){return{kind:d.Missing,label:t,chars:e}},t.badCharsNode=function(e,t,r=0){return{kind:d.BadChars,label:r,type:e,chars:t}},t.badSequenceNode=function(e,t,r=0){return{kind:d.BadSequence,label:r,type:e,contents:t}},t.getDepthUpperBound=E;const n=r(52123);var o,i,a,s,l,u,c,d,p,h,g,m;function f(e){return void 0!==e.kind}!function(e){e[e.R1C1=1]="R1C1",e[e.A1=2]="A1"}(o||(t.RefStyle=o={})),function(e){e.Comments="Comments",e.Statements="Statements"}(i||(t.SyntaxFeature=i={})),function(e){e.Error="ErrorQualifier",e.Relative="RelativeQualifier",e.Document="DocumentQualifier",e.Sheet="SheetQualifier",e.Ident="IdentQualifier",e.SheetRange="SheetRangeQualifier",e.Bad="BadQualifier"}(a||(t.QualifierKind=a={})),function(e){e.Error="CellRefError",e.Single="CellRefSingle",e.Range="CellRefRange",e.Row="CellRefRow",e.Col="CellRefCol",e.Bad="CellRefBad"}(s||(t.CellRefKind=s={})),function(e){e.Abs="Abs",e.Rel="Rel"}(l||(t.PosKind=l={})),function(e){e.SingleLine="SingleLineComment",e.MultiLine="MultiLineComment"}(u||(t.CommentKind=u={})),function(e){e.LocalNameUse="LocalNameUse",e.LocalNameDecl="LocalNameDecl",e.AppHeadName="AppHeadName",e.FormulaRoot="FormulaRoot"}(c||(t.AnnotationKind=c={})),t.appHeadNameAnnotation={kind:c.AppHeadName},function(e){e.Literal="Literal",e.Array="Array",e.App="App",e.Let="Let",e.Lambda="Lambda",e.Paren="Paren",e.Name="Name",e.CellRef="CellRef",e.FieldRef="FieldRef",e.StructRef="StructRef",e.Missing="Missing",e.BadChars="BadChars",e.BadSequence="BadSequence",e.Operator="Operator",e.WSF="WSF",e.Var="Var",e.Param="Param",e.ContextName="ContextName",e.Ident="Ident",e.ParamName="ParamName",e.ParamDef="ParamDef",e.FieldRefRHS="FieldRefRHS",e.StructRefRHS="StructRefRHS"}(d||(t.NodeKind=d={})),function(e){e.IdentNamePart="IdentNamePart",e.CellRefNamePart="CellRefNamePart",e.FieldRefNamePart="FieldRefNamePart"}(p||(t.NamePartKind=p={})),function(e){e[e.All=1]="All",e[e.Data=2]="Data",e[e.Headers=3]="Headers",e[e.Totals=4]="Totals",e[e.ThisRow=5]="ThisRow"}(h||(t.SpecialRefId=h={})),function(e){e.SpecialRef="SpecialStructRef",e.ColumnRef="ColumnStructRef",e.RangeOpRef="RangeOpStructRef",e.CommaOpRef="CommaOpStructRef",e.ThisRowOpRef="ThisRowOpStructRef",e.MissingRef="MissingStructRef",e.BadRef="BadStructRef"}(g||(t.StructRefKind=g={})),function(e){e.Unexpected="Unexpected",e.Qualifier="Qualifier",e.NumberLiteral="NumberLiteral",e.StringLiteral="StringLiteral",e.ErrorLiteral="ErrorLiteral",e.FieldName="FieldName",e.ParamName="ParamName",e.StructRef="StructRef",e.FieldRef="FieldRef"}(m||(t.BadType=m={}));const v=e=>{const t=[];for(const{arg:r,index:o}of e)(0,n.assertIndex)("calc.lang.flattenNumberedArgs: idx",o,e.length),(0,n.assertTrue)("calc.lang.flattenNumberedArgs: repetition",void 0===t[o]),t[o]=r;return t};function b(e,t,r){return v((0,n.safeConcat)([...void 0===t?[]:[t],...r],e.map((({name:e,binder:t})=>[e,t]))))}function y(e,t){return(0,n.assertNatural)("calc.lang.indexedArg: index",t),{arg:e,index:t}}function S(e,t){return{name:e,binder:t}}function C(e,t,r=[]){return v([...e.map((e=>e.name)),...void 0===t?[]:[t],...r])}function T(e){return{name:e}}const k=50;function F(e,t){if(t>k)return 1/0;switch(e.kind){case d.Array:{let r=0;for(const o of e.nodes)for(const e of o)r=(0,n.fastMax)(r,F(e,t+1));return r+1}case d.Param:return void 0===e.def?1:F(e.def.rhs,t+1)+1;case d.Let:case d.Lambda:case d.App:{let r=F(e.head,t+1);for(const o of e.args)r=(0,n.fastMax)(r,F(o,t+1));return r+1}case d.Paren:return F(e.node,t+1)+1;case d.FieldRef:return F(e.lhs,t+1)+1;case d.Var:case d.Name:case d.CellRef:case d.StructRef:case d.Literal:case d.Operator:case d.WSF:case d.Missing:case d.BadChars:return 1;case d.BadSequence:{let r=0;for(const o of e.contents)r=(0,n.fastMax)(r,F(o,t+1));return r+1}default:return(0,n.assertNever)("calc.lang.getDepthUpperBound",e)}}function E(e){return F(e,0)}},72383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentContinue=t.isIdentStart=void 0;const n=r(52123);t.isIdentStart=(0,n.makeIsInClass)([65,91,92,93,95,96,97,123,161,162,164,165,167,169,170,171,173,174,175,187,188,697,699,706,711,712,713,716,717,718,720,722,728,732,733,734,736,741,750,751,880,884,886,888,890,894,902,903,904,907,908,909,910,930,931,1014,1015,1154,1162,1316,1329,1367,1369,1370,1377,1416,1488,1515,1520,1523,1569,1611,1646,1648,1649,1748,1749,1750,1765,1767,1774,1776,1786,1789,1791,1792,1808,1809,1810,1840,1869,1958,1969,1970,1994,2027,2036,2038,2042,2043,2308,2362,2365,2366,2384,2385,2392,2402,2417,2419,2427,2432,2437,2445,2447,2449,2451,2473,2474,2481,2482,2483,2486,2490,2493,2494,2510,2511,2524,2526,2527,2530,2544,2546,2565,2571,2575,2577,2579,2601,2602,2609,2610,2612,2613,2615,2616,2618,2649,2653,2654,2655,2674,2677,2693,2702,2703,2706,2707,2729,2730,2737,2738,2740,2741,2746,2749,2750,2768,2769,2784,2786,2821,2829,2831,2833,2835,2857,2858,2865,2866,2868,2869,2874,2877,2878,2908,2910,2911,2914,2929,2930,2947,2948,2949,2955,2958,2961,2962,2966,2969,2971,2972,2973,2974,2976,2979,2981,2984,2987,2990,3002,3024,3025,3077,3085,3086,3089,3090,3113,3114,3124,3125,3130,3133,3134,3160,3162,3168,3170,3205,3213,3214,3217,3218,3241,3242,3252,3253,3258,3261,3262,3294,3295,3296,3298,3333,3341,3342,3345,3346,3369,3370,3386,3389,3390,3424,3426,3450,3456,3461,3479,3482,3506,3507,3516,3517,3518,3520,3527,3585,3643,3648,3663,3713,3715,3716,3717,3719,3721,3722,3723,3725,3726,3732,3736,3737,3744,3745,3748,3749,3750,3751,3752,3754,3756,3757,3761,3762,3764,3773,3774,3776,3781,3782,3783,3804,3806,3840,3841,3904,3912,3913,3949,3976,3980,4096,4139,4159,4160,4176,4182,4186,4190,4193,4194,4197,4199,4206,4209,4213,4226,4238,4239,4256,4294,4304,4347,4348,4349,4352,4442,4447,4515,4520,4602,4608,4681,4682,4686,4688,4695,4696,4697,4698,4702,4704,4745,4746,4750,4752,4785,4786,4790,4792,4799,4800,4801,4802,4806,4808,4823,4824,4881,4882,4886,4888,4955,4992,5008,5024,5109,5121,5741,5743,5751,5761,5787,5792,5867,5870,5873,5888,5901,5902,5906,5920,5938,5952,5970,5984,5997,5998,6001,6016,6068,6103,6104,6108,6109,6176,6264,6272,6313,6314,6315,6400,6429,6480,6510,6512,6517,6528,6570,6593,6600,6656,6679,6917,6964,6981,6988,7043,7073,7086,7088,7168,7204,7245,7248,7258,7294,7424,7616,7680,7958,7960,7966,7968,8006,8008,8014,8016,8024,8025,8026,8027,8028,8029,8030,8031,8062,8064,8117,8118,8125,8126,8127,8130,8133,8134,8141,8144,8148,8150,8156,8160,8173,8178,8181,8182,8189,8208,8209,8211,8215,8216,8218,8220,8222,8224,8226,8229,8232,8240,8241,8242,8244,8245,8246,8251,8252,8305,8306,8308,8309,8319,8320,8321,8325,8336,8341,8450,8452,8453,8454,8455,8456,8457,8468,8469,8471,8473,8478,8481,8483,8484,8485,8486,8487,8488,8489,8490,8494,8495,8506,8508,8512,8517,8522,8526,8527,8531,8533,8539,8543,8544,8585,8592,8602,8658,8659,8660,8661,8704,8705,8706,8708,8711,8713,8715,8716,8719,8720,8721,8722,8725,8726,8730,8731,8733,8737,8739,8740,8741,8742,8743,8749,8750,8751,8756,8760,8764,8766,8776,8777,8780,8781,8786,8787,8800,8802,8804,8808,8810,8812,8814,8816,8834,8836,8838,8840,8853,8854,8857,8858,8869,8870,8895,8896,8978,8979,9312,9398,9424,9450,9472,9548,9552,9589,9601,9616,9618,9622,9632,9634,9635,9642,9650,9652,9654,9656,9660,9662,9664,9666,9670,9673,9675,9676,9678,9682,9698,9702,9711,9712,9733,9735,9737,9738,9742,9744,9756,9757,9758,9759,9792,9793,9794,9795,9824,9826,9827,9830,9831,9835,9836,9838,9839,9840,11264,11311,11312,11359,11360,11376,11377,11390,11392,11493,11520,11558,11568,11622,11631,11632,11648,11671,11680,11687,11688,11695,11696,11703,11704,11711,11712,11719,11720,11727,11728,11735,11736,11743,12288,12292,12293,12312,12317,12320,12321,12330,12337,12342,12344,12349,12353,12439,12443,12448,12449,12544,12549,12590,12593,12687,12704,12728,12784,12829,12832,12842,12849,12851,12857,12858,12896,12924,12927,12928,12963,12969,13059,13060,13069,13070,13076,13077,13080,13081,13090,13092,13094,13096,13099,13100,13110,13111,13115,13116,13129,13131,13133,13134,13137,13138,13143,13144,13179,13183,13184,13189,13192,13259,13261,13268,13269,13271,13272,13273,13275,13278,13312,19894,19968,40900,40960,42125,42240,42509,42512,42528,42538,42540,42560,42592,42594,42607,42624,42648,42786,42888,42891,42893,43003,43010,43011,43014,43015,43019,43020,43043,43072,43124,43138,43188,43274,43302,43312,43335,43520,43561,43584,43587,43588,43596,44032,55204,57344,63561,63744,64046,64048,64107,64112,64218,64256,64263,64275,64280,64285,64286,64287,64297,64298,64311,64312,64317,64318,64319,64320,64322,64323,64325,64326,64434,64467,64830,64848,64912,64914,64968,65008,65020,65072,65074,65075,65093,65097,65107,65108,65112,65113,65127,65128,65132,65136,65141,65142,65277,65281,65375,65377,65471,65474,65480,65482,65488,65490,65496,65498,65501,65504,65511]),t.isIdentContinue=(0,n.makeIsInClass)([48,58,63,64,65,91,92,93,95,96,97,123,161,162,164,165,167,169,170,171,173,174,175,187,188,888,890,894,900,903,904,907,908,909,910,930,931,1316,1329,1367,1369,1370,1377,1416,1425,1470,1471,1472,1473,1475,1476,1478,1479,1480,1488,1515,1520,1523,1536,1540,1542,1545,1547,1548,1550,1563,1567,1568,1569,1631,1632,1642,1646,1748,1749,1792,1807,1867,1869,1970,1984,2039,2042,2043,2305,2362,2364,2382,2384,2389,2392,2404,2406,2416,2417,2419,2427,2432,2433,2436,2437,2445,2447,2449,2451,2473,2474,2481,2482,2483,2486,2490,2492,2501,2503,2505,2507,2511,2519,2520,2524,2526,2527,2532,2534,2555,2561,2564,2565,2571,2575,2577,2579,2601,2602,2609,2610,2612,2613,2615,2616,2618,2620,2621,2622,2627,2631,2633,2635,2638,2641,2642,2649,2653,2654,2655,2662,2678,2689,2692,2693,2702,2703,2706,2707,2729,2730,2737,2738,2740,2741,2746,2748,2758,2759,2762,2763,2766,2768,2769,2784,2788,2790,2800,2801,2802,2817,2820,2821,2829,2831,2833,2835,2857,2858,2865,2866,2868,2869,2874,2876,2885,2887,2889,2891,2894,2902,2904,2908,2910,2911,2916,2918,2930,2946,2948,2949,2955,2958,2961,2962,2966,2969,2971,2972,2973,2974,2976,2979,2981,2984,2987,2990,3002,3006,3011,3014,3017,3018,3022,3024,3025,3031,3032,3046,3067,3073,3076,3077,3085,3086,3089,3090,3113,3114,3124,3125,3130,3133,3141,3142,3145,3146,3150,3157,3159,3160,3162,3168,3172,3174,3184,3192,3200,3202,3204,3205,3213,3214,3217,3218,3241,3242,3252,3253,3258,3260,3269,3270,3273,3274,3278,3285,3287,3294,3295,3296,3300,3302,3312,3313,3315,3330,3332,3333,3341,3342,3345,3346,3369,3370,3386,3389,3397,3398,3401,3402,3406,3415,3416,3424,3428,3430,3446,3449,3456,3458,3460,3461,3479,3482,3506,3507,3516,3517,3518,3520,3527,3530,3531,3535,3541,3542,3543,3544,3552,3570,3572,3585,3643,3647,3663,3664,3674,3713,3715,3716,3717,3719,3721,3722,3723,3725,3726,3732,3736,3737,3744,3745,3748,3749,3750,3751,3752,3754,3756,3757,3770,3771,3774,3776,3781,3782,3783,3784,3790,3792,3802,3804,3806,3840,3844,3859,3898,3902,3912,3913,3949,3953,3973,3974,3980,3984,3992,3993,4029,4030,4045,4046,4048,4096,4170,4176,4250,4254,4294,4304,4347,4348,4349,4352,4442,4447,4515,4520,4602,4608,4681,4682,4686,4688,4695,4696,4697,4698,4702,4704,4745,4746,4750,4752,4785,4786,4790,4792,4799,4800,4801,4802,4806,4808,4823,4824,4881,4882,4886,4888,4955,4959,4961,4969,4989,4992,5018,5024,5109,5121,5741,5743,5751,5760,5787,5792,5867,5870,5873,5888,5901,5902,5909,5920,5941,5952,5972,5984,5997,5998,6001,6002,6004,6016,6100,6103,6104,6107,6110,6112,6122,6128,6138,6155,6159,6160,6170,6176,6264,6272,6315,6400,6429,6432,6444,6448,6460,6464,6465,6470,6510,6512,6517,6528,6570,6576,6602,6608,6618,6624,6684,6912,6988,6992,7002,7009,7037,7040,7083,7086,7098,7168,7224,7232,7242,7245,7294,7424,7655,7678,7958,7960,7966,7968,8006,8008,8014,8016,8024,8025,8026,8027,8028,8029,8030,8031,8062,8064,8117,8118,8133,8134,8148,8150,8156,8157,8176,8178,8181,8182,8191,8192,8209,8211,8215,8216,8218,8220,8222,8224,8226,8229,8241,8242,8244,8245,8246,8251,8252,8260,8261,8274,8275,8287,8293,8298,8306,8308,8317,8319,8333,8336,8341,8352,8374,8400,8433,8448,8528,8531,8585,8592,9001,9003,9192,9216,9255,9280,9291,9312,9886,9888,9917,9920,9924,9985,9989,9990,9994,9996,10024,10025,10060,10061,10062,10063,10067,10070,10071,10072,10079,10081,10088,10102,10133,10136,10160,10161,10175,10176,10181,10183,10187,10188,10189,10192,10214,10224,10627,10649,10712,10716,10748,10750,11085,11088,11093,11264,11311,11312,11359,11360,11376,11377,11390,11392,11499,11517,11518,11520,11558,11568,11622,11631,11632,11648,11671,11680,11687,11688,11695,11696,11703,11704,11711,11712,11719,11720,11727,11728,11735,11736,11743,11744,11776,11823,11824,11904,11930,11931,12020,12032,12246,12272,12284,12288,12312,12317,12336,12337,12349,12350,12352,12353,12439,12441,12448,12449,12544,12549,12590,12593,12687,12688,12728,12736,12772,12784,12831,12832,12868,12880,13055,13056,19894,19904,40900,40960,42125,42128,42183,42240,42509,42512,42540,42560,42592,42594,42611,42620,42622,42623,42648,42752,42893,43003,43052,43072,43124,43136,43205,43216,43226,43264,43311,43312,43348,43520,43575,43584,43598,43600,43610,44032,55204,57344,64046,64048,64107,64112,64218,64256,64263,64275,64280,64285,64311,64312,64317,64318,64319,64320,64322,64323,64325,64326,64434,64467,64830,64848,64912,64914,64968,65008,65022,65024,65040,65056,65063,65072,65074,65075,65093,65097,65107,65108,65112,65113,65127,65128,65132,65136,65141,65142,65277,65279,65280,65281,65375,65377,65471,65474,65480,65482,65488,65490,65496,65498,65501,65504,65511,65512,65519,65529,65534])},35097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.worksheetFuncTypes=t.worksheetFuncEnglishNames=t.WorksheetFuncId=void 0;const n=r(20759);var o;!function(e){e[e.COUNT=0]="COUNT",e[e.IF=1]="IF",e[e.ISNA=2]="ISNA",e[e.ISERROR=3]="ISERROR",e[e.SUM=4]="SUM",e[e.AVERAGE=5]="AVERAGE",e[e.MIN=6]="MIN",e[e.MAX=7]="MAX",e[e.ROW=8]="ROW",e[e.COLUMN=9]="COLUMN",e[e.NA=10]="NA",e[e.NPV=11]="NPV",e[e.STDEV=12]="STDEV",e[e.DOLLAR=13]="DOLLAR",e[e.FIXED=14]="FIXED",e[e.SIN=15]="SIN",e[e.COS=16]="COS",e[e.TAN=17]="TAN",e[e.ATAN=18]="ATAN",e[e.PI=19]="PI",e[e.SQRT=20]="SQRT",e[e.EXP=21]="EXP",e[e.LN=22]="LN",e[e.LOG10=23]="LOG10",e[e.ABS=24]="ABS",e[e.INT=25]="INT",e[e.SIGN=26]="SIGN",e[e.ROUND=27]="ROUND",e[e.LOOKUP=28]="LOOKUP",e[e.INDEX=29]="INDEX",e[e.REPT=30]="REPT",e[e.MID=31]="MID",e[e.LEN=32]="LEN",e[e.VALUE=33]="VALUE",e[e.TRUE=34]="TRUE",e[e.FALSE=35]="FALSE",e[e.AND=36]="AND",e[e.OR=37]="OR",e[e.NOT=38]="NOT",e[e.MOD=39]="MOD",e[e.DCOUNT=40]="DCOUNT",e[e.DSUM=41]="DSUM",e[e.DAVERAGE=42]="DAVERAGE",e[e.DMIN=43]="DMIN",e[e.DMAX=44]="DMAX",e[e.DSTDEV=45]="DSTDEV",e[e.VAR=46]="VAR",e[e.DVAR=47]="DVAR",e[e.TEXT=48]="TEXT",e[e.LINEST=49]="LINEST",e[e.TREND=50]="TREND",e[e.LOGEST=51]="LOGEST",e[e.GROWTH=52]="GROWTH",e[e.GOTO=53]="GOTO",e[e.HALT=54]="HALT",e[e.RETURN=55]="RETURN",e[e.PV=56]="PV",e[e.FV=57]="FV",e[e.NPER=58]="NPER",e[e.PMT=59]="PMT",e[e.RATE=60]="RATE",e[e.MIRR=61]="MIRR",e[e.IRR=62]="IRR",e[e.RAND=63]="RAND",e[e.MATCH=64]="MATCH",e[e.DATE=65]="DATE",e[e.TIME=66]="TIME",e[e.DAY=67]="DAY",e[e.MONTH=68]="MONTH",e[e.YEAR=69]="YEAR",e[e.WEEKDAY=70]="WEEKDAY",e[e.HOUR=71]="HOUR",e[e.MINUTE=72]="MINUTE",e[e.SECOND=73]="SECOND",e[e.NOW=74]="NOW",e[e.AREAS=75]="AREAS",e[e.ROWS=76]="ROWS",e[e.COLUMNS=77]="COLUMNS",e[e.OFFSET=78]="OFFSET",e[e.ABSREF=79]="ABSREF",e[e.RELREF=80]="RELREF",e[e.ARGUMENT=81]="ARGUMENT",e[e.SEARCH=82]="SEARCH",e[e.TRANSPOSE=83]="TRANSPOSE",e[e.ERROR=84]="ERROR",e[e.STEP=85]="STEP",e[e.TYPE=86]="TYPE",e[e.ECHO=87]="ECHO",e[e.SET_NAME=88]="SET_NAME",e[e.CALLER=89]="CALLER",e[e.DEREF=90]="DEREF",e[e.WINDOWS=91]="WINDOWS",e[e.SERIES=92]="SERIES",e[e.DOCUMENTS=93]="DOCUMENTS",e[e.ACTIVE_CELL=94]="ACTIVE_CELL",e[e.SELECTION=95]="SELECTION",e[e.RESULT=96]="RESULT",e[e.ATAN2=97]="ATAN2",e[e.ASIN=98]="ASIN",e[e.ACOS=99]="ACOS",e[e.CHOOSE=100]="CHOOSE",e[e.HLOOKUP=101]="HLOOKUP",e[e.VLOOKUP=102]="VLOOKUP",e[e.LINKS=103]="LINKS",e[e.INPUT=104]="INPUT",e[e.ISREF=105]="ISREF",e[e.GET_FORMULA=106]="GET_FORMULA",e[e.GET_NAME=107]="GET_NAME",e[e.SET_VALUE=108]="SET_VALUE",e[e.LOG=109]="LOG",e[e.EXEC=110]="EXEC",e[e.CHAR=111]="CHAR",e[e.LOWER=112]="LOWER",e[e.UPPER=113]="UPPER",e[e.PROPER=114]="PROPER",e[e.LEFT=115]="LEFT",e[e.RIGHT=116]="RIGHT",e[e.EXACT=117]="EXACT",e[e.TRIM=118]="TRIM",e[e.REPLACE=119]="REPLACE",e[e.SUBSTITUTE=120]="SUBSTITUTE",e[e.CODE=121]="CODE",e[e.NAMES=122]="NAMES",e[e.DIRECTORY=123]="DIRECTORY",e[e.FIND=124]="FIND",e[e.CELL=125]="CELL",e[e.ISERR=126]="ISERR",e[e.ISTEXT=127]="ISTEXT",e[e.ISNUMBER=128]="ISNUMBER",e[e.ISBLANK=129]="ISBLANK",e[e.T=130]="T",e[e.N=131]="N",e[e.FOPEN=132]="FOPEN",e[e.FCLOSE=133]="FCLOSE",e[e.FSIZE=134]="FSIZE",e[e.FREADLN=135]="FREADLN",e[e.FREAD=136]="FREAD",e[e.FWRITELN=137]="FWRITELN",e[e.FWRITE=138]="FWRITE",e[e.FPOS=139]="FPOS",e[e.DATEVALUE=140]="DATEVALUE",e[e.TIMEVALUE=141]="TIMEVALUE",e[e.SLN=142]="SLN",e[e.SYD=143]="SYD",e[e.DDB=144]="DDB",e[e.GET_DEF=145]="GET_DEF",e[e.REFTEXT=146]="REFTEXT",e[e.TEXTREF=147]="TEXTREF",e[e.INDIRECT=148]="INDIRECT",e[e.REGISTER=149]="REGISTER",e[e.CALL=150]="CALL",e[e.ADD_BAR=151]="ADD_BAR",e[e.ADD_MENU=152]="ADD_MENU",e[e.ADD_COMMAND=153]="ADD_COMMAND",e[e.ENABLE_COMMAND=154]="ENABLE_COMMAND",e[e.CHECK_COMMAND=155]="CHECK_COMMAND",e[e.RENAME_COMMAND=156]="RENAME_COMMAND",e[e.SHOW_BAR=157]="SHOW_BAR",e[e.DELETE_MENU=158]="DELETE_MENU",e[e.DELETE_COMMAND=159]="DELETE_COMMAND",e[e.GET_CHART_ITEM=160]="GET_CHART_ITEM",e[e.DIALOG_BOX=161]="DIALOG_BOX",e[e.CLEAN=162]="CLEAN",e[e.MDETERM=163]="MDETERM",e[e.MINVERSE=164]="MINVERSE",e[e.MMULT=165]="MMULT",e[e.FILES=166]="FILES",e[e.IPMT=167]="IPMT",e[e.PPMT=168]="PPMT",e[e.COUNTA=169]="COUNTA",e[e.CANCEL_KEY=170]="CANCEL_KEY",e[e.FOR=171]="FOR",e[e.WHILE=172]="WHILE",e[e.BREAK=173]="BREAK",e[e.NEXT=174]="NEXT",e[e.INITIATE=175]="INITIATE",e[e.REQUEST=176]="REQUEST",e[e.POKE=177]="POKE",e[e.EXECUTE=178]="EXECUTE",e[e.TERMINATE=179]="TERMINATE",e[e.RESTART=180]="RESTART",e[e.HELP=181]="HELP",e[e.GET_BAR=182]="GET_BAR",e[e.PRODUCT=183]="PRODUCT",e[e.FACT=184]="FACT",e[e.GET_CELL=185]="GET_CELL",e[e.GET_WORKSPACE=186]="GET_WORKSPACE",e[e.GET_WINDOW=187]="GET_WINDOW",e[e.GET_DOCUMENT=188]="GET_DOCUMENT",e[e.DPRODUCT=189]="DPRODUCT",e[e.ISNONTEXT=190]="ISNONTEXT",e[e.GET_NOTE=191]="GET_NOTE",e[e.NOTE=192]="NOTE",e[e.STDEVP=193]="STDEVP",e[e.VARP=194]="VARP",e[e.DSTDEVP=195]="DSTDEVP",e[e.DVARP=196]="DVARP",e[e.TRUNC=197]="TRUNC",e[e.ISLOGICAL=198]="ISLOGICAL",e[e.DCOUNTA=199]="DCOUNTA",e[e.DELETE_BAR=200]="DELETE_BAR",e[e.UNREGISTER=201]="UNREGISTER",e[e.USDOLLAR=204]="USDOLLAR",e[e.FINDB=205]="FINDB",e[e.SEARCHB=206]="SEARCHB",e[e.REPLACEB=207]="REPLACEB",e[e.LEFTB=208]="LEFTB",e[e.RIGHTB=209]="RIGHTB",e[e.MIDB=210]="MIDB",e[e.LENB=211]="LENB",e[e.ROUNDUP=212]="ROUNDUP",e[e.ROUNDDOWN=213]="ROUNDDOWN",e[e.ASC=214]="ASC",e[e.DBCS=215]="DBCS",e[e.RANK=216]="RANK",e[e.ADDRESS=219]="ADDRESS",e[e.DAYS360=220]="DAYS360",e[e.TODAY=221]="TODAY",e[e.VDB=222]="VDB",e[e.ELSE=223]="ELSE",e[e.ELSE_IF=224]="ELSE_IF",e[e.END_IF=225]="END_IF",e[e.FOR_CELL=226]="FOR_CELL",e[e.MEDIAN=227]="MEDIAN",e[e.SUMPRODUCT=228]="SUMPRODUCT",e[e.SINH=229]="SINH",e[e.COSH=230]="COSH",e[e.TANH=231]="TANH",e[e.ASINH=232]="ASINH",e[e.ACOSH=233]="ACOSH",e[e.ATANH=234]="ATANH",e[e.DGET=235]="DGET",e[e.CREATE_OBJECT=236]="CREATE_OBJECT",e[e.VOLATILE=237]="VOLATILE",e[e.LAST_ERROR=238]="LAST_ERROR",e[e.CUSTOM_UNDO=239]="CUSTOM_UNDO",e[e.CUSTOM_REPEAT=240]="CUSTOM_REPEAT",e[e.FORMULA_CONVERT=241]="FORMULA_CONVERT",e[e.GET_LINK_INFO=242]="GET_LINK_INFO",e[e.TEXT_BOX=243]="TEXT_BOX",e[e.INFO=244]="INFO",e[e.GROUP=245]="GROUP",e[e.GET_OBJECT=246]="GET_OBJECT",e[e.DB=247]="DB",e[e.PAUSE=248]="PAUSE",e[e.RESUME=251]="RESUME",e[e.FREQUENCY=252]="FREQUENCY",e[e.ADD_TOOLBAR=253]="ADD_TOOLBAR",e[e.DELETE_TOOLBAR=254]="DELETE_TOOLBAR",e[e._UDF=255]="_UDF",e[e.RESET_TOOLBAR=256]="RESET_TOOLBAR",e[e.EVALUATE=257]="EVALUATE",e[e.GET_TOOLBAR=258]="GET_TOOLBAR",e[e.GET_TOOL=259]="GET_TOOL",e[e.SPELLING_CHECK=260]="SPELLING_CHECK",e[e.ERROR_TYPE=261]="ERROR_TYPE",e[e.APP_TITLE=262]="APP_TITLE",e[e.WINDOW_TITLE=263]="WINDOW_TITLE",e[e.SAVE_TOOLBAR=264]="SAVE_TOOLBAR",e[e.ENABLE_TOOL=265]="ENABLE_TOOL",e[e.PRESS_TOOL=266]="PRESS_TOOL",e[e.REGISTER_ID=267]="REGISTER_ID",e[e.GET_PROJECT=268]="GET_PROJECT",e[e.AVEDEV=269]="AVEDEV",e[e.BETADIST=270]="BETADIST",e[e.GAMMALN=271]="GAMMALN",e[e.BETAINV=272]="BETAINV",e[e.BINOMDIST=273]="BINOMDIST",e[e.CHIDIST=274]="CHIDIST",e[e.CHIINV=275]="CHIINV",e[e.COMBIN=276]="COMBIN",e[e.CONFIDENCE=277]="CONFIDENCE",e[e.CRITBINOM=278]="CRITBINOM",e[e.EVEN=279]="EVEN",e[e.EXPONDIST=280]="EXPONDIST",e[e.FDIST=281]="FDIST",e[e.FINV=282]="FINV",e[e.FISHER=283]="FISHER",e[e.FISHERINV=284]="FISHERINV",e[e.FLOOR=285]="FLOOR",e[e.GAMMADIST=286]="GAMMADIST",e[e.GAMMAINV=287]="GAMMAINV",e[e.CEILING=288]="CEILING",e[e.HYPGEOMDIST=289]="HYPGEOMDIST",e[e.LOGNORMDIST=290]="LOGNORMDIST",e[e.LOGINV=291]="LOGINV",e[e.NEGBINOMDIST=292]="NEGBINOMDIST",e[e.NORMDIST=293]="NORMDIST",e[e.NORMSDIST=294]="NORMSDIST",e[e.NORMINV=295]="NORMINV",e[e.NORMSINV=296]="NORMSINV",e[e.STANDARDIZE=297]="STANDARDIZE",e[e.ODD=298]="ODD",e[e.PERMUT=299]="PERMUT",e[e.POISSON=300]="POISSON",e[e.TDIST=301]="TDIST",e[e.WEIBULL=302]="WEIBULL",e[e.SUMXMY2=303]="SUMXMY2",e[e.SUMX2MY2=304]="SUMX2MY2",e[e.SUMX2PY2=305]="SUMX2PY2",e[e.CHITEST=306]="CHITEST",e[e.CORREL=307]="CORREL",e[e.COVAR=308]="COVAR",e[e.FORECAST=309]="FORECAST",e[e.FTEST=310]="FTEST",e[e.INTERCEPT=311]="INTERCEPT",e[e.PEARSON=312]="PEARSON",e[e.RSQ=313]="RSQ",e[e.STEYX=314]="STEYX",e[e.SLOPE=315]="SLOPE",e[e.TTEST=316]="TTEST",e[e.PROB=317]="PROB",e[e.DEVSQ=318]="DEVSQ",e[e.GEOMEAN=319]="GEOMEAN",e[e.HARMEAN=320]="HARMEAN",e[e.SUMSQ=321]="SUMSQ",e[e.KURT=322]="KURT",e[e.SKEW=323]="SKEW",e[e.ZTEST=324]="ZTEST",e[e.LARGE=325]="LARGE",e[e.SMALL=326]="SMALL",e[e.QUARTILE=327]="QUARTILE",e[e.PERCENTILE=328]="PERCENTILE",e[e.PERCENTRANK=329]="PERCENTRANK",e[e.MODE=330]="MODE",e[e.TRIMMEAN=331]="TRIMMEAN",e[e.TINV=332]="TINV",e[e.MOVIE_COMMAND=334]="MOVIE_COMMAND",e[e.GET_MOVIE=335]="GET_MOVIE",e[e.CONCATENATE=336]="CONCATENATE",e[e.POWER=337]="POWER",e[e.SPREADBASE_DATA_FIELD=338]="SPREADBASE_DATA_FIELD",e[e.GET_VIEW=339]="GET_VIEW",e[e.GET_FIELD=340]="GET_FIELD",e[e.GET_ITEM=341]="GET_ITEM",e[e.RADIANS=342]="RADIANS",e[e.DEGREES=343]="DEGREES",e[e.SUBTOTAL=344]="SUBTOTAL",e[e.SUMIF=345]="SUMIF",e[e.COUNTIF=346]="COUNTIF",e[e.COUNTBLANK=347]="COUNTBLANK",e[e.SCENARIO_GET=348]="SCENARIO_GET",e[e.OPTIONS_LISTS=349]="OPTIONS_LISTS",e[e.ISPMT=350]="ISPMT",e[e.DATEDIF=351]="DATEDIF",e[e.DATESTRING=352]="DATESTRING",e[e.NUMBERSTRING=353]="NUMBERSTRING",e[e.ROMAN=354]="ROMAN",e[e.OPENDIALOG=355]="OPENDIALOG",e[e.SAVEDIALOG=356]="SAVEDIALOG",e[e.VIEW_GET=357]="VIEW_GET",e[e.GETPIVOTDATA=358]="GETPIVOTDATA",e[e.HYPERLINK=359]="HYPERLINK",e[e.FURIGANA=360]="FURIGANA",e[e.AVERAGEA=361]="AVERAGEA",e[e.MAXA=362]="MAXA",e[e.MINA=363]="MINA",e[e.STDEVPA=364]="STDEVPA",e[e.VARPA=365]="VARPA",e[e.STDEVA=366]="STDEVA",e[e.VARA=367]="VARA",e[e.BAHTTEXT=368]="BAHTTEXT",e[e.THAIDOW=369]="THAIDOW",e[e.THAIDIGIT=370]="THAIDIGIT",e[e.THAIMOY=371]="THAIMOY",e[e.THAINUMSOUND=372]="THAINUMSOUND",e[e.THAINUMSTRING=373]="THAINUMSTRING",e[e.THAISTRINGLENGTH=374]="THAISTRINGLENGTH",e[e.ISTHAIDIGIT=375]="ISTHAIDIGIT",e[e.ROUNDBAHTDOWN=376]="ROUNDBAHTDOWN",e[e.ROUNDBAHTUP=377]="ROUNDBAHTUP",e[e.THAIYEAR=378]="THAIYEAR",e[e.RTD=379]="RTD",e[e.CUBEVALUE=380]="CUBEVALUE",e[e.CUBEMEMBER=381]="CUBEMEMBER",e[e.CUBEMEMBERPROPERTY=382]="CUBEMEMBERPROPERTY",e[e.CUBERANKEDMEMBER=383]="CUBERANKEDMEMBER",e[e.HEX2BIN=384]="HEX2BIN",e[e.HEX2DEC=385]="HEX2DEC",e[e.HEX2OCT=386]="HEX2OCT",e[e.DEC2BIN=387]="DEC2BIN",e[e.DEC2HEX=388]="DEC2HEX",e[e.DEC2OCT=389]="DEC2OCT",e[e.OCT2BIN=390]="OCT2BIN",e[e.OCT2HEX=391]="OCT2HEX",e[e.OCT2DEC=392]="OCT2DEC",e[e.BIN2DEC=393]="BIN2DEC",e[e.BIN2OCT=394]="BIN2OCT",e[e.BIN2HEX=395]="BIN2HEX",e[e.IMSUB=396]="IMSUB",e[e.IMDIV=397]="IMDIV",e[e.IMPOWER=398]="IMPOWER",e[e.IMABS=399]="IMABS",e[e.IMSQRT=400]="IMSQRT",e[e.IMLN=401]="IMLN",e[e.IMLOG2=402]="IMLOG2",e[e.IMLOG10=403]="IMLOG10",e[e.IMSIN=404]="IMSIN",e[e.IMCOS=405]="IMCOS",e[e.IMEXP=406]="IMEXP",e[e.IMARGUMENT=407]="IMARGUMENT",e[e.IMCONJUGATE=408]="IMCONJUGATE",e[e.IMAGINARY=409]="IMAGINARY",e[e.IMREAL=410]="IMREAL",e[e.COMPLEX=411]="COMPLEX",e[e.IMSUM=412]="IMSUM",e[e.IMPRODUCT=413]="IMPRODUCT",e[e.SERIESSUM=414]="SERIESSUM",e[e.FACTDOUBLE=415]="FACTDOUBLE",e[e.SQRTPI=416]="SQRTPI",e[e.QUOTIENT=417]="QUOTIENT",e[e.DELTA=418]="DELTA",e[e.GESTEP=419]="GESTEP",e[e.ISEVEN=420]="ISEVEN",e[e.ISODD=421]="ISODD",e[e.MROUND=422]="MROUND",e[e.ERF=423]="ERF",e[e.ERFC=424]="ERFC",e[e.BESSELJ=425]="BESSELJ",e[e.BESSELK=426]="BESSELK",e[e.BESSELY=427]="BESSELY",e[e.BESSELI=428]="BESSELI",e[e.XIRR=429]="XIRR",e[e.XNPV=430]="XNPV",e[e.PRICEMAT=431]="PRICEMAT",e[e.YIELDMAT=432]="YIELDMAT",e[e.INTRATE=433]="INTRATE",e[e.RECEIVED=434]="RECEIVED",e[e.DISC=435]="DISC",e[e.PRICEDISC=436]="PRICEDISC",e[e.YIELDDISC=437]="YIELDDISC",e[e.TBILLEQ=438]="TBILLEQ",e[e.TBILLPRICE=439]="TBILLPRICE",e[e.TBILLYIELD=440]="TBILLYIELD",e[e.PRICE=441]="PRICE",e[e.YIELD=442]="YIELD",e[e.DOLLARDE=443]="DOLLARDE",e[e.DOLLARFR=444]="DOLLARFR",e[e.NOMINAL=445]="NOMINAL",e[e.EFFECT=446]="EFFECT",e[e.CUMPRINC=447]="CUMPRINC",e[e.CUMIPMT=448]="CUMIPMT",e[e.EDATE=449]="EDATE",e[e.EOMONTH=450]="EOMONTH",e[e.YEARFRAC=451]="YEARFRAC",e[e.COUPDAYBS=452]="COUPDAYBS",e[e.COUPDAYS=453]="COUPDAYS",e[e.COUPDAYSNC=454]="COUPDAYSNC",e[e.COUPNCD=455]="COUPNCD",e[e.COUPNUM=456]="COUPNUM",e[e.COUPPCD=457]="COUPPCD",e[e.DURATION=458]="DURATION",e[e.MDURATION=459]="MDURATION",e[e.ODDLPRICE=460]="ODDLPRICE",e[e.ODDLYIELD=461]="ODDLYIELD",e[e.ODDFPRICE=462]="ODDFPRICE",e[e.ODDFYIELD=463]="ODDFYIELD",e[e.RANDBETWEEN=464]="RANDBETWEEN",e[e.WEEKNUM=465]="WEEKNUM",e[e.AMORDEGRC=466]="AMORDEGRC",e[e.AMORLINC=467]="AMORLINC",e[e.CONVERT=468]="CONVERT",e[e.ACCRINT=469]="ACCRINT",e[e.ACCRINTM=470]="ACCRINTM",e[e.WORKDAY=471]="WORKDAY",e[e.NETWORKDAYS=472]="NETWORKDAYS",e[e.GCD=473]="GCD",e[e.MULTINOMIAL=474]="MULTINOMIAL",e[e.LCM=475]="LCM",e[e.FVSCHEDULE=476]="FVSCHEDULE",e[e.CUBEKPIMEMBER=477]="CUBEKPIMEMBER",e[e.CUBESET=478]="CUBESET",e[e.CUBESETCOUNT=479]="CUBESETCOUNT",e[e.IFERROR=480]="IFERROR",e[e.COUNTIFS=481]="COUNTIFS",e[e.SUMIFS=482]="SUMIFS",e[e.AVERAGEIF=483]="AVERAGEIF",e[e.AVERAGEIFS=484]="AVERAGEIFS",e[e.AGGREGATE=485]="AGGREGATE",e[e.BINOM_DIST=486]="BINOM_DIST",e[e.BINOM_INV=487]="BINOM_INV",e[e.CONFIDENCE_NORM=488]="CONFIDENCE_NORM",e[e.CONFIDENCE_T=489]="CONFIDENCE_T",e[e.CHISQ_TEST=490]="CHISQ_TEST",e[e.F_TEST=491]="F_TEST",e[e.COVARIANCE_P=492]="COVARIANCE_P",e[e.COVARIANCE_S=493]="COVARIANCE_S",e[e.EXPON_DIST=494]="EXPON_DIST",e[e.GAMMA_DIST=495]="GAMMA_DIST",e[e.GAMMA_INV=496]="GAMMA_INV",e[e.MODE_MULT=497]="MODE_MULT",e[e.MODE_SNGL=498]="MODE_SNGL",e[e.NORM_DIST=499]="NORM_DIST",e[e.NORM_INV=500]="NORM_INV",e[e.PERCENTILE_EXC=501]="PERCENTILE_EXC",e[e.PERCENTILE_INC=502]="PERCENTILE_INC",e[e.PERCENTRANK_EXC=503]="PERCENTRANK_EXC",e[e.PERCENTRANK_INC=504]="PERCENTRANK_INC",e[e.POISSON_DIST=505]="POISSON_DIST",e[e.QUARTILE_EXC=506]="QUARTILE_EXC",e[e.QUARTILE_INC=507]="QUARTILE_INC",e[e.RANK_AVG=508]="RANK_AVG",e[e.RANK_EQ=509]="RANK_EQ",e[e.STDEV_S=510]="STDEV_S",e[e.STDEV_P=511]="STDEV_P",e[e.T_DIST=512]="T_DIST",e[e.T_DIST_2T=513]="T_DIST_2T",e[e.T_DIST_RT=514]="T_DIST_RT",e[e.T_INV=515]="T_INV",e[e.T_INV_2T=516]="T_INV_2T",e[e.VAR_S=517]="VAR_S",e[e.VAR_P=518]="VAR_P",e[e.WEIBULL_DIST=519]="WEIBULL_DIST",e[e.NETWORKDAYS_INTL=520]="NETWORKDAYS_INTL",e[e.WORKDAY_INTL=521]="WORKDAY_INTL",e[e.ECMA_CEILING=522]="ECMA_CEILING",e[e.ISO_CEILING=523]="ISO_CEILING",e[e.BETA_DIST=525]="BETA_DIST",e[e.BETA_INV=526]="BETA_INV",e[e.CHISQ_DIST=527]="CHISQ_DIST",e[e.CHISQ_DIST_RT=528]="CHISQ_DIST_RT",e[e.CHISQ_INV=529]="CHISQ_INV",e[e.CHISQ_INV_RT=530]="CHISQ_INV_RT",e[e.F_DIST=531]="F_DIST",e[e.F_DIST_RT=532]="F_DIST_RT",e[e.F_INV=533]="F_INV",e[e.F_INV_RT=534]="F_INV_RT",e[e.HYPGEOM_DIST=535]="HYPGEOM_DIST",e[e.LOGNORM_DIST=536]="LOGNORM_DIST",e[e.LOGNORM_INV=537]="LOGNORM_INV",e[e.NEGBINOM_DIST=538]="NEGBINOM_DIST",e[e.NORM_S_DIST=539]="NORM_S_DIST",e[e.NORM_S_INV=540]="NORM_S_INV",e[e.T_TEST=541]="T_TEST",e[e.Z_TEST=542]="Z_TEST",e[e.ERF_PRECISE=543]="ERF_PRECISE",e[e.ERFC_PRECISE=544]="ERFC_PRECISE",e[e.GAMMALN_PRECISE=545]="GAMMALN_PRECISE",e[e.CEILING_PRECISE=546]="CEILING_PRECISE",e[e.FLOOR_PRECISE=547]="FLOOR_PRECISE",e[e.ACOT=548]="ACOT",e[e.ACOTH=549]="ACOTH",e[e.COT=550]="COT",e[e.COTH=551]="COTH",e[e.CSC=552]="CSC",e[e.CSCH=553]="CSCH",e[e.SEC=554]="SEC",e[e.SECH=555]="SECH",e[e.IMTAN=556]="IMTAN",e[e.IMCOT=557]="IMCOT",e[e.IMCSC=558]="IMCSC",e[e.IMCSCH=559]="IMCSCH",e[e.IMSEC=560]="IMSEC",e[e.IMSECH=561]="IMSECH",e[e.BITAND=562]="BITAND",e[e.BITOR=563]="BITOR",e[e.BITXOR=564]="BITXOR",e[e.BITLSHIFT=565]="BITLSHIFT",e[e.BITRSHIFT=566]="BITRSHIFT",e[e.PERMUTATIONA=567]="PERMUTATIONA",e[e.COMBINA=568]="COMBINA",e[e.XOR=569]="XOR",e[e.PDURATION=570]="PDURATION",e[e.BASE=571]="BASE",e[e.DECIMAL=572]="DECIMAL",e[e.DAYS=573]="DAYS",e[e.BINOM_DIST_RANGE=574]="BINOM_DIST_RANGE",e[e.GAMMA=575]="GAMMA",e[e.SKEW_P=576]="SKEW_P",e[e.GAUSS=577]="GAUSS",e[e.PHI=578]="PHI",e[e.RRI=579]="RRI",e[e.UNICHAR=580]="UNICHAR",e[e.UNICODE=581]="UNICODE",e[e.MUNIT=582]="MUNIT",e[e.ARABIC=583]="ARABIC",e[e.ISOWEEKNUM=584]="ISOWEEKNUM",e[e.NUMBERVALUE=585]="NUMBERVALUE",e[e.SHEET=586]="SHEET",e[e.SHEETS=587]="SHEETS",e[e.FORMULATEXT=588]="FORMULATEXT",e[e.ISFORMULA=589]="ISFORMULA",e[e.IFNA=590]="IFNA",e[e.CEILING_MATH=591]="CEILING_MATH",e[e.FLOOR_MATH=592]="FLOOR_MATH",e[e.IMSINH=593]="IMSINH",e[e.IMCOSH=594]="IMCOSH",e[e.FILTERXML=595]="FILTERXML",e[e.WEBSERVICE=596]="WEBSERVICE",e[e.ENCODEURL=597]="ENCODEURL",e[e.FORECAST_ETS=598]="FORECAST_ETS",e[e.FORECAST_ETS_CONFINT=599]="FORECAST_ETS_CONFINT",e[e.FORECAST_ETS_SEASONALITY=600]="FORECAST_ETS_SEASONALITY",e[e.FORECAST_LINEAR=601]="FORECAST_LINEAR",e[e.FORECAST_ETS_STAT=602]="FORECAST_ETS_STAT",e[e.MAXIFS=603]="MAXIFS",e[e.MINIFS=604]="MINIFS",e[e.TEXTJOIN=605]="TEXTJOIN",e[e.CONCAT=606]="CONCAT",e[e.IFS=607]="IFS",e[e.SWITCH=608]="SWITCH",e[e.SINGLE=609]="SINGLE",e[e.AVERAGE_WEIGHTED=610]="AVERAGE_WEIGHTED",e[e.ANCHORARRAY=611]="ANCHORARRAY",e[e._FV=612]="_FV",e[e.FIELDVALUE=613]="FIELDVALUE",e[e.FILTER=614]="FILTER",e[e.SORT=615]="SORT",e[e.UNIQUE=616]="UNIQUE",e[e.RICHSEARCH=617]="RICHSEARCH",e[e.LARGEPROPERTY=618]="LARGEPROPERTY",e[e.SMALLPROPERTY=619]="SMALLPROPERTY",e[e.AVERAGEPROPERTY=620]="AVERAGEPROPERTY",e[e.FINDN=621]="FINDN",e[e.TEXTSLICE=622]="TEXTSLICE",e[e.TEXTBEFORE=623]="TEXTBEFORE",e[e.TEXTAFTER=624]="TEXTAFTER",e[e.TEXTSPLIT=625]="TEXTSPLIT",e[e._SORT=626]="_SORT",e[e._ONEDARRAY=627]="_ONEDARRAY",e[e.XMATCH=628]="XMATCH",e[e.XLOOKUP=629]="XLOOKUP",e[e.SORTBY=630]="SORTBY",e[e.RANDARRAY=631]="RANDARRAY",e[e.SEQUENCE=632]="SEQUENCE",e[e.STOCKHISTORY=633]="STOCKHISTORY",e[e.WRAPROWS=634]="WRAPROWS",e[e.VSTACK=635]="VSTACK",e[e.HSTACK=636]="HSTACK",e[e.CHOOSEROWS=637]="CHOOSEROWS",e[e.CHOOSECOLS=638]="CHOOSECOLS",e[e.LET=639]="LET",e[e.LAMBDA=640]="LAMBDA",e[e.MAKEARRAY=641]="MAKEARRAY",e[e.APPLY=642]="APPLY",e[e.ISLAMBDA=643]="ISLAMBDA",e[e.ARITY=644]="ARITY",e[e.RECURSE=645]="RECURSE",e[e.PERCENTOF=646]="PERCENTOF",e[e.VALUETOTEXT=647]="VALUETOTEXT",e[e.ARRAYTOTEXT=648]="ARRAYTOTEXT",e[e.FORMATTEDNUMBER=649]="FORMATTEDNUMBER",e[e.TOCOL=650]="TOCOL",e[e.TOROW=651]="TOROW",e[e.WRAPCOLS=652]="WRAPCOLS",e[e.MAP=653]="MAP",e[e.REDUCE=654]="REDUCE",e[e.SCAN=655]="SCAN",e[e.BYROW=656]="BYROW",e[e.BYCOL=657]="BYCOL",e[e.ISOMITTED=658]="ISOMITTED",e[e.EXPAND=659]="EXPAND",e[e.TAKE=660]="TAKE",e[e.DROP=661]="DROP",e[e.PY=662]="PY",e[e.IMAGE=664]="IMAGE",e[e.UNIT=665]="UNIT",e[e.GROUPBY=666]="GROUPBY",e[e.PIVOTBY=667]="PIVOTBY",e[e.PQSOURCE=668]="PQSOURCE",e[e.PYTHON_STR=669]="PYTHON_STR",e[e.PYTHON_TYPE=670]="PYTHON_TYPE",e[e.PYTHON_TYPENAME=671]="PYTHON_TYPENAME",e[e._FF=672]="_FF",e[e.FIELDFUNCTION=673]="FIELDFUNCTION",e[e.TRANSLATE=674]="TRANSLATE",e[e.DETECTLANGUAGE=675]="DETECTLANGUAGE",e[e.REGEXTEST=676]="REGEXTEST",e[e.REGEXREPLACE=677]="REGEXREPLACE",e[e.REGEXEXTRACT=678]="REGEXEXTRACT",e[e.TRIMRANGE=679]="TRIMRANGE",e[e.IMPORTCSV=680]="IMPORTCSV",e[e.IMPORTTEXT=681]="IMPORTTEXT",e[e._TRO_TRAILING=682]="_TRO_TRAILING",e[e._TRO_LEADING=683]="_TRO_LEADING",e[e._TRO_ALL=684]="_TRO_ALL",e[e.TESTFUNCTIONBEGIN=685]="TESTFUNCTIONBEGIN",e[e.GRF=686]="GRF",e[e.RICHERROR=687]="RICHERROR",e[e.COUNTER=688]="COUNTER",e[e.BROKENRECORD=689]="BROKENRECORD",e[e.STREAM=690]="STREAM",e[e.GETRICHERRORS=691]="GETRICHERRORS",e[e.DBGSTAT=692]="DBGSTAT",e[e.RICHNUMBER=693]="RICHNUMBER",e[e.RICHERNUMBER=694]="RICHERNUMBER",e[e.DBGWRITE=695]="DBGWRITE",e[e.TEST=696]="TEST",e[e.AAC=697]="AAC",e[e.AWC=698]="AWC",e[e.PARSEDEXPRESSION=699]="PARSEDEXPRESSION",e[e.AGE_CONTACTTEST=700]="AGE_CONTACTTEST",e[e.FIRSTNAME_CONTACTTEST=701]="FIRSTNAME_CONTACTTEST",e[e.FULLNAME_CONTACTTEST=702]="FULLNAME_CONTACTTEST",e[e.LASTNAME_CONTACTTEST=703]="LASTNAME_CONTACTTEST",e[e.TRANSLATENAME_CONTACTTEST=704]="TRANSLATENAME_CONTACTTEST",e[e.ARRAYVALUE=705]="ARRAYVALUE",e[e.RECORD=706]="RECORD",e[e.DISPLAYSTRING_GENERALTEST=707]="DISPLAYSTRING_GENERALTEST",e[e.LAMBDADOC=708]="LAMBDADOC",e[e.REFIDENTITY=709]="REFIDENTITY",e[e.PQEVALUATE=710]="PQEVALUATE",e[e.REFTYPE=711]="REFTYPE",e[e.LETREC=750]="LETREC",e[e.NESTEDRECORD=751]="NESTEDRECORD"}(o||(t.WorksheetFuncId=o={})),t.worksheetFuncEnglishNames=[[255,"255"],[268,"GET.WORKBOOK"],[349,"OPTIONS.LISTS.GET"],[355,"OPEN.DIALOG"],[356,"SAVE.DIALOG"],[360,"PHONETIC"],[369,"THAIDAYOFWEEK"],[371,"THAIMONTHOFYEAR"],[612,"_FV"],[626,"_SORT"],[627,"_ONEDARRAY"],[669,"PYTHON_STR"],[670,"PYTHON_TYPE"],[671,"PYTHON_TYPENAME"],[672,"_FF"],[682,"_TRO_TRAILING"],[683,"_TRO_LEADING"],[684,"_TRO_ALL"],[700,"AGE_CONTACTTEST"],[701,"FIRSTNAME_CONTACTTEST"],[702,"FULLNAME_CONTACTTEST"],[703,"LASTNAME_CONTACTTEST"],[704,"TRANSLATENAME_CONTACTTEST"],[707,"DISPLAYSTRING_GENERALTEST"]].reduce(((e,t)=>(e[t[0]]=t[1],e)),[]);const i=[];t.worksheetFuncTypes=[[1,255,i,[57],i,1,0,32],[1,3,[36,831,831],i,i,823,0,64],[1,1,[271],i,i,4,0,64],[1,1,[271],i,i,4,0,64],[1,255,i,[305],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[0,1,[16],i,i,33,0,0],[0,1,[16],i,i,33,0,0],[0,0,i,i,i,3,0,32],[2,255,[1],[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,2,[1,1],i,i,2,0,64],[1,3,[1,65,4],i,i,2,0,64],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[0,0,i,i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,3,[263,48,48],i,i,263,0,0],[2,4,[48,1,1,1],i,i,311,0,0],[2,2,[2,1],i,i,2,0,64],[3,3,[2,1,1],i,i,2,0,64],[1,1,[2],i,i,1,0,64],[1,1,[7],i,i,1,0,64],[0,0,i,i,i,4,0,32],[0,0,i,i,i,4,0,32],[1,255,i,[52],i,4,0,32],[1,255,i,[52],i,4,0,32],[1,1,[4],i,i,4,0,32],[2,2,[1,1],i,i,1,0,0],[3,3,[16,83,18],i,i,1,0,0],[3,3,[16,19,18],i,i,1,0,0],[3,3,[16,19,18],i,i,1,0,0],[3,3,[16,19,18],i,i,1,0,0],[3,3,[16,19,18],i,i,1,0,0],[3,3,[16,19,18],i,i,1,0,0],[1,255,i,[49],i,1,0,32],[3,3,[16,19,18],i,i,1,0,0],[2,2,[263,2],i,i,2,0,64],[1,4,[48,112,84,84],i,i,32,0,0],[1,4,[48,112,112,84],i,i,32,0,0],[1,4,[48,112,84,84],i,i,32,0,0],[1,4,[48,112,112,84],i,i,32,0,0],[1,1,[16],i,i,512,0,2],[0,1,[4],i,i,512,0,2],[0,1,[575],i,i,512,0,2],[3,5,[1,1,1,1,1],i,i,1,0,0],[3,5,[1,1,1,1,1],i,i,1,0,0],[3,5,[1,1,1,1,1],i,i,1,0,0],[3,5,[1,1,1,1,1],i,i,1,0,0],[3,6,[1,1,1,1,1,1],i,i,1,0,0],[3,3,[48,1,1],i,i,1,0,32],[1,2,[48,1],i,i,1,0,0],[0,0,i,i,i,1,16383,0],[2,3,[263,305,17],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,2,[1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[0,0,i,i,i,1,16383,0],[1,1,[16],i,i,1,0,0],[1,1,[48],i,i,1,0,0],[1,1,[48],i,i,1,0,0],[3,5,[16,65,65,65,65],i,i,16,16383,0],[2,2,[2,16],i,i,16,0,2],[2,2,[16,16],i,i,2,0,2],[0,3,[66,81,16],i,i,4,0,2],[2,3,[2,2,1],i,i,1,0,64],[1,1,[39],i,i,32,0,0],[0,2,[1,24],i,i,4,0,2],[0,0,i,i,i,4,0,2],[1,1,[303],i,i,1,0,0],[0,1,[4],i,i,4,0,2],[1,2,[2,63],i,i,4,0,2],[0,0,i,i,i,50,0,2],[1,1,[16],i,i,47,0,2],[0,2,[65,66],i,i,32,0,2],[4,5,[87,117,117,1,117],i,i,4,0,4],[0,2,[1,66],i,i,32,0,2],[0,0,i,i,i,16,0,2],[0,0,i,i,i,16,0,2],[0,1,[1],i,i,4,0,2],[2,2,[1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[2,255,[33],[831],i,823,0,0],[3,4,[263,49,49,4],i,i,295,0,0],[3,4,[263,49,49,4],i,i,295,0,0],[0,2,[66,65],i,i,32,0,2],[1,7,[2,65,66,67,65,65,2],i,i,575,0,2],[1,1,[63],i,i,4,0,64],[1,1,[18],i,i,2,0,2],[1,2,[2,4],i,i,6,0,2],[2,2,[16,47],i,i,4,0,2],[1,2,[1,1],i,i,1,0,0],[1,4,[2,1,4,4],i,i,7,0,2],[1,1,[1],i,i,2,0,64],[1,1,[2],i,i,2,0,64],[1,1,[2],i,i,2,0,64],[1,1,[2],i,i,2,0,64],[1,2,[2,9],i,i,2,0,64],[1,2,[2,9],i,i,2,0,64],[2,2,[258,258],i,i,4,0,64],[1,1,[2],i,i,2,0,64],[4,4,[2,1,1,2],i,i,2,0,64],[3,4,[2,2,2,2],i,i,2,0,64],[1,1,[2],i,i,1,0,0],[0,3,[66,65,66],i,i,32,0,2],[0,1,[2],i,i,2,0,2],[2,3,[2,2,1],i,i,1,0,64],[1,2,[2,16],i,i,303,16383,0],[1,1,[271],i,i,4,0,64],[1,1,[399],i,i,4,0,64],[1,1,[399],i,i,4,0,64],[1,1,[399],i,i,4,0,64],[1,1,[23],i,i,2,0,0],[1,1,[23],i,i,1,0,0],[1,2,[2,1],i,i,1,0,2],[1,1,[1],i,i,1,0,2],[1,1,[1],i,i,1,0,2],[1,1,[1],i,i,2,0,2],[2,2,[1,1],i,i,2,0,2],[2,2,[1,2],i,i,1,0,2],[2,2,[1,2],i,i,1,0,2],[1,2,[1,1],i,i,1,0,2],[1,1,[3],i,i,1,0,64],[1,1,[3],i,i,1,0,64],[3,3,[1,1,1],i,i,1,0,0],[4,4,[1,1,1,1],i,i,1,0,0],[4,5,[1,1,1,1,1],i,i,1,0,0],[1,3,[2,66,65],i,i,2,0,2],[1,2,[16,4],i,i,2,0,2],[1,2,[2,4],i,i,16,0,2],[1,2,[2,4],i,i,16,16383,0],[1,255,[2,3,66,66,66,65,67,66,67],[66],i,3,0,2],[1,255,[3],[127],i,575,0,2],[0,1,[3],i,i,1,0,2],[2,4,[3,115,83,3],i,i,1,0,2],[3,5,[3,83,115,83,3],i,i,1,0,2],[4,5,[3,3,3,4,3],i,i,4,0,2],[4,5,[3,3,3,4,3],i,i,4,0,2],[4,5,[3,3,3,3,3],i,i,4,0,2],[0,1,[3],i,i,4,0,2],[2,3,[3,3,3],i,i,4,0,2],[3,4,[3,3,3,3],i,i,4,0,2],[1,3,[1,67,66],i,i,1,0,2],[1,1,[52],i,i,36,0,2],[1,1,[2],i,i,2,0,64],[1,1,[32],i,i,1,0,0],[1,1,[32],i,i,32,0,0],[2,2,[32,32],i,i,32,0,0],[0,2,[2,2],i,i,32,0,2],[4,6,[1,1,1,1,1,1],i,i,1,0,0],[4,6,[1,1,1,1,1,1],i,i,1,0,0],[1,255,i,[121],i,1,0,32],[0,2,[1,16],i,i,4,0,2],[3,4,[2,1,1,1],i,i,512,0,2],[1,1,[4],i,i,512,0,2],[0,0,i,i,i,512,0,2],[0,0,i,i,i,512,0,2],[2,2,[2,2],i,i,1,0,2],[2,2,[1,2],i,i,32,0,2],[3,3,[1,18,18],i,i,4,0,2],[2,2,[1,2],i,i,4,0,2],[1,1,[1],i,i,4,0,2],[0,1,[1],i,i,512,0,2],[0,1,[2],i,i,4,0,2],[0,4,[3,3,3,3],i,i,3,0,2],[1,255,i,[113],i,1,0,32],[1,1,[1],i,i,1,0,0],[1,2,[1,16],i,i,47,0,2],[1,1,[1],i,i,47,0,2],[1,2,[1,2],i,i,47,0,2],[1,2,[1,2],i,i,63,0,2],[3,3,[16,19,18],i,i,1,0,0],[1,1,[143],i,i,4,0,64],[0,3,[82,65,65],i,i,2,0,2],[0,4,[66,82,17,17],i,i,1,0,2],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[3,3,[16,19,18],i,i,1,0,0],[3,3,[16,19,18],i,i,1,0,0],[1,2,[1,1],i,i,1,0,0],[1,1,[143],i,i,4,0,64],[3,3,[16,83,18],i,i,1,0,0],[1,1,[3],i,i,4,0,2],[1,1,[3],i,i,4,0,2],void 0,void 0,[1,2,[1,1],i,i,2,0,192],[2,3,[2,2,1],i,i,1,0,192],[2,3,[2,2,1],i,i,1,0,192],[4,4,[2,1,1,2],i,i,2,0,192],[1,2,[2,9],i,i,2,0,192],[1,2,[2,9],i,i,2,0,192],[3,3,[2,1,1],i,i,2,0,192],[1,1,[2],i,i,1,0,192],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[1,1,[2],i,i,2,0,192],[1,1,[2],i,i,2,0,192],[2,3,[1,16,4],i,i,1,0,32],void 0,void 0,[2,5,[1,65,65,68,66],i,i,2,0,0],[2,3,[1,1,4],i,i,1,0,0],[0,0,i,i,i,1,16383,0],[5,7,[1,1,1,1,1,1,4],i,i,1,0,0],[0,0,i,i,i,512,0,2],[1,1,[12],i,i,512,0,2],[0,0,i,i,i,512,0,2],[1,3,[2,82,84],i,i,512,0,2],[1,255,i,[49],i,1,0,32],[1,255,i,[32],i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[3,3,[16,19,18],i,i,263,0,0],[2,11,[1,18,17,17,18,17,17,115,84,21,17],i,i,2,0,2],[0,1,[4],i,i,4,0,2],[0,0,i,i,i,16,0,2],[0,2,[2,2],i,i,4,0,2],[0,3,[2,2,2],i,i,4,0,2],[2,5,[2,23,23,23,23],i,i,2,0,66],[2,4,[2,1,1,2],i,i,1,0,2],[1,4,[2,66,65,65],i,i,1,0,2],[1,1,[2],i,i,3,16383,0],[0,0,i,i,i,2,0,2],[1,5,[1,2,1,1,1],i,i,47,0,2],[4,5,[1,1,1,1,1],i,i,1,0,0],[0,1,[4],i,i,512,0,2],void 0,void 0,[0,1,[1],i,i,512,0,2],[2,2,[48,48],i,i,32,0,32],[0,2,[66,96],i,i,2,0,2],[1,1,[2],i,i,4,0,2],[1,255,[17],[127],i,575,0,192],[1,1,[3],i,i,4,0,2],[1,1,[2],i,i,63,0,2],[1,2,[1,3],i,i,47,0,2],[1,3,[1,3,1],i,i,47,0,2],[1,3,[2,66,4],i,i,4,0,2],[1,1,[15],i,i,1,0,0],[0,1,[2],i,i,4,0,2],[0,1,[2],i,i,4,0,2],[0,2,[99,66],i,i,4,0,2],[3,3,[3,1,4],i,i,4,0,2],[3,3,[3,1,4],i,i,4,0,2],[2,3,[2,3,66],i,i,1,0,2],[1,2,[1,2],i,i,35,0,2],[1,255,i,[49],i,1,0,32],[3,5,[1,1,1,65,65],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[3,5,[1,1,1,65,65],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[3,3,[1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[4,4,[1,1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[3,3,[1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[3,3,[1,32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[4,4,[32,32,1,1],i,i,1,0,0],[3,4,[32,32,1,65],i,i,1,0,0],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[2,3,[49,1,1],i,i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,3,[49,1,65],i,i,1,0,32],[1,255,i,[32],i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,2,[1,1],i,i,1,0,0],void 0,[3,4,[2,1,1,1],i,i,1,0,130],[2,3,[2,1,1],i,i,1,0,130],[1,255,i,[2],i,2,0,64],[2,2,[1,1],i,i,1,0,0],[2,9,[66,2,66,65,65,65,66,66,66],i,i,2,0,2],[1,2,[1,2],i,i,35,0,2],[1,3,[1,66,2],i,i,35,0,2],[1,4,[1,66,66,2],i,i,7,0,2],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[2,255,[1],[16],i,1,0,0],[2,3,[16,15,16],i,i,1,0,64],[2,2,[16,15],i,i,1,0,64],[1,1,[16],i,i,1,0,0],[1,2,[1,2],i,i,19,0,2],[1,1,[33],i,i,33,0,2],[4,4,[1,1,1,1],i,i,1,0,0],[3,3,[1,1,2],i,i,1,0,128],[1,1,[1],i,i,2,0,192],[2,2,[1,1],i,i,2,0,192],[1,2,[1,5],i,i,2,0,0],[0,4,[66,66,66,65],i,i,6,0,2],[0,5,[66,66,66,66,65],i,i,6,0,2],[1,2,[1,2],i,i,19,0,2],[2,255,[18,18],[2,79],i,15,0,0],[1,2,[2,39],i,i,39,0,0],[1,1,[16],i,i,2,0,128],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,255,i,[49],i,1,0,32],[1,1,[1],i,i,2,0,64],[1,1,[1],i,i,2,0,192],[1,1,[3],i,i,2,0,192],[1,1,[1],i,i,2,0,192],[1,1,[1],i,i,2,0,192],[1,1,[1],i,i,2,0,192],[1,1,[2],i,i,1,0,192],[1,1,[2],i,i,4,0,192],[1,1,[1],i,i,1,0,192],[1,1,[1],i,i,1,0,192],[1,1,[1],i,i,1,0,192],[3,255,[2,2],[2],i,2,0,0],[1,255,[2],[50],i,15,0,0],[2,3,[2,50,2],i,i,10,0,0],[3,3,[2,2,2],i,i,15,0,0],[3,4,[2,2,1,2],i,i,10,0,0],[1,2,[95,95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[2,3,[95,95,95],i,i,9,0,0],[1,255,i,[127],i,9,0,0],[1,255,i,[127],i,9,0,0],[4,4,[95,95,95,127],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[1,2,[95,95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,3,[127,127,95],i,i,9,0,0],[3,3,[95,127,127],i,i,9,0,0],[5,6,[95,95,95,95,95,95],i,i,9,0,0],[5,6,[95,95,95,95,95,95],i,i,9,0,0],[4,5,[95,95,95,95,95],i,i,9,0,0],[4,5,[95,95,95,95,95],i,i,9,0,0],[4,5,[95,95,95,95,95],i,i,9,0,0],[4,5,[95,95,95,95,95],i,i,9,0,0],[4,5,[95,95,95,95,95],i,i,9,0,0],[3,3,[95,95,95],i,i,9,0,0],[3,3,[95,95,95],i,i,9,0,0],[3,3,[95,95,95],i,i,9,0,0],[6,7,[95,95,95,95,95,95,95],i,i,9,0,0],[6,7,[95,95,95,95,95,95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[6,6,[95,95,95,95,95,95],i,i,9,0,0],[6,6,[95,95,95,95,95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,0,0],[2,3,[95,95,95],i,i,9,0,0],[3,4,[95,95,95,95],i,i,9,0,0],[3,4,[95,95,95,95],i,i,9,0,0],[3,4,[95,95,95,95],i,i,9,0,0],[3,4,[95,95,95,95],i,i,9,0,0],[3,4,[95,95,95,95],i,i,9,0,0],[3,4,[95,95,95,95],i,i,9,0,0],[5,6,[95,95,95,95,95,95],i,i,9,0,0],[5,6,[95,95,95,95,95,95],i,i,9,0,0],[7,8,[95,95,95,95,95,95,95,95],i,i,9,0,0],[7,8,[95,95,95,95,95,95,95,95],i,i,9,0,0],[8,9,[95,95,95,95,95,95,95,95,95],i,i,9,0,0],[8,9,[95,95,95,95,95,95,95,95,95],i,i,9,0,0],[2,2,[95,95],i,i,9,16383,0],[1,2,[95,95],i,i,9,0,0],[6,7,[95,95,95,95,95,95,95],i,i,9,0,128],[6,7,[95,95,95,95,95,95,95],i,i,9,0,0],[3,3,[95,95,95],i,i,9,0,0],[6,8,[95,95,95,95,95,95,95,95],i,i,9,0,0],[4,5,[95,95,95,95,95],i,i,9,0,0],[2,3,[95,95,127],i,i,9,0,0],[2,3,[95,95,127],i,i,9,0,0],[1,255,i,[127],i,9,0,0],[1,255,i,[127],i,9,0,0],[1,255,i,[127],i,9,0,0],[2,2,[95,127],i,i,9,0,0],[3,4,[2,2,1,2],i,i,10,0,0],[2,5,[2,50,2,1,2],i,i,10,0,64],[1,1,[2],i,i,9,0,0],[2,2,[47,575],i,i,303,0,0],[2,255,i,[16,15],i,1,0,64],[3,255,[16],[16,15],i,1,0,64],[2,3,[16,15,16],i,i,1,0,64],[3,255,[16],[16,15],i,1,0,64],[3,254,[1,1,48,17],[16],i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[2,2,[32,32],i,i,1,0,0],[3,3,[1,1,4],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,254,i,[32],i,32,0,32],[1,254,i,[32],i,1,0,32],[4,4,[1,1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[2,2,[49,1],i,i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,3,[49,1,65],i,i,1,0,32],[2,3,[49,1,65],i,i,1,0,32],[3,3,[1,1,4],i,i,1,0,0],[2,2,[49,1],i,i,1,0,32],[2,2,[49,1],i,i,1,0,32],[2,3,[1,16,4],i,i,1,0,32],[2,3,[1,16,4],i,i,1,0,32],[1,254,i,[49],i,1,0,32],[1,254,i,[49],i,1,0,32],[3,3,[1,1,4],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[1,254,i,[49],i,1,0,32],[1,254,i,[49],i,1,0,32],[4,4,[1,1,1,4],i,i,1,0,0],[2,4,[95,95,75,127],i,i,9,0,0],[2,4,[95,95,75,127],i,i,9,0,0],[2,2,[1,1],i,i,1,0,128],[1,2,[1,65],i,i,1,0,128],void 0,[4,6,[1,1,1,4,65,65],i,i,1,0,0],[3,5,[1,1,1,65,65],i,i,1,0,0],[3,3,[1,1,4],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[5,5,[1,1,1,1,4],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[4,4,[1,1,1,4],i,i,1,0,0],[2,2,[1,4],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[4,4,[32,32,1,1],i,i,1,0,0],[2,3,[49,1,1],i,i,1,0,32],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[1],i,i,1,0,0],[1,2,[1,65],i,i,1,0,128],[1,2,[1,65],i,i,1,0,128],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[2,2,[1,1],i,i,1,0,0],[1,254,i,[52],i,4,0,32],[3,3,[1,1,1],i,i,1,0,0],[2,3,[1,1,65],i,i,2,0,0],[2,2,[2,1],i,i,1,0,0],[2,2,[3,3],i,i,1,0,64],[3,4,[1,1,1,65],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,254,i,[49],i,1,0,32],[1,1,[1],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[3,3,[1,1,1],i,i,1,0,0],[1,1,[1],i,i,2,0,0],[1,1,[2],i,i,1,0,0],[1,1,[1],i,i,32,0,0],[1,1,[2],i,i,1,0,0],[1,1,[1],i,i,1,0,0],[1,3,[2,66,66],i,i,1,0,0],[0,1,[50],i,i,1,16383,32],[0,1,[48],i,i,1,16383,32],[1,1,[16],i,i,2,16383,0],[1,1,[16],i,i,4,0,0],[2,2,[47,575],i,i,303,0,0],[1,3,[1,65,65],i,i,1,0,0],[1,3,[1,65,65],i,i,1,0,0],[1,1,[95],i,i,9,0,0],[1,1,[95],i,i,9,0,0],[2,2,[2,2],i,i,47,0,64],[1,1,[2],i,i,10,0,64],[1,1,[2],i,i,10,0,64],[3,6,[1,48,48,65,65,65],i,i,1,0,0],[3,7,[1,48,48,65,65,65,65],i,i,1,0,0],[2,4,[48,48,65,65],i,i,1,0,0],[3,3,[1,32,32],i,i,1,0,0],[3,6,[48,48,1,65,65,65],i,i,1,0,0],[3,254,[16],[16,15],i,1,0,64],[3,254,[16],[16,15],i,1,0,64],[3,254,[114,68],[114],i,2,0,96],[1,254,i,[114],i,2,0,96],[2,254,i,[44,575],i,831,0,64],[3,254,[47],[575,575],[575],831,0,64],[1,1,[1527],i,i,1503,0,233],[2,254,i,[113,113],i,1,0,33],[1,1,[16],i,i,48,0,41],[2,3,[271,2,4],i,i,303,0,105],[2,2,[271,2],i,i,303,0,97],[2,3,[48,48,111],i,i,303,0,65],[1,4,[160,96,96,4],i,i,32,0,65],[1,3,[160,4,4],i,i,32,0,65],[2,2,[2,256],i,i,1,0,80],[3,3,[2,49,1],i,i,1,0,48],[3,3,[2,49,1],i,i,1,0,48],[2,254,[2],[49],i,1,0,48],[2,7,[34,2,65,65,65,74,68],i,i,1,0,65],[1,3,[2,65,65],i,i,2,0,65],[2,6,[2,34,65,65,65,74],i,i,2,0,65],[2,6,[2,34,65,65,65,74],i,i,2,0,65],[2,6,[2,98,98,68,65,495],i,i,32,0,65],[1,4,[32,96,96,4],i,i,32,0,81],[2,2,[4,16],i,i,32,0,49],[2,4,[391,48,65,65],i,i,1,0,65],[3,6,[391,48,48,511,65,65],i,i,319,0,65],[2,254,[160],[160,65],i,32,0,65],[0,5,[65,65,65,65,68],i,i,32,16383,1],[1,4,[65,65,65,65],i,i,32,0,1],[2,254,[258,1,65,65,65],[65],i,32,0,97],[2,3,[32,1,463],i,i,32,0,65],[1,254,i,[48],i,32,0,33],[1,254,i,[48],i,32,0,33],[2,254,[48],[33],i,32,0,1],[2,254,[48],[33],i,32,0,1],[3,254,i,[319,319],[319],319,0,1],[1,254,i,[319],i,319,0,1],[3,3,[65,65,319],i,i,32,0,1],[1,254,i,[319],i,319,0,1],[1,1,[271],i,i,4,0,1],[1,1,[271],i,i,9,0,1],[0,0,i,i,i,319,0,1],[2,2,[49,49],i,i,9,0,1],[1,2,[399,1],i,i,2,0,65],[1,2,[32,1],i,i,2,0,65],[2,2,[15,2],i,i,256,0,97],[1,3,[48,65,68],i,i,32,0,97],[1,3,[48,65,68],i,i,32,0,97],[2,3,[32,1,463],i,i,32,0,65],[2,254,[48],[319],i,32,0,65],[3,3,[511,48,271],i,i,319,0,65],[3,3,[511,48,271],i,i,32,0,65],[1,2,[48,271],i,i,32,0,65],[1,2,[48,271],i,i,32,0,65],[1,1,[1535],i,i,4,0,65],[2,4,[32,65,65,495],i,i,32,0,65],[2,3,[48,65,65],i,i,48,0,65],[2,3,[48,65,65],i,i,48,0,65],[2,254,[1,1],[447],i,303,0,97],void 0,[1,5,[2,66,65,65,65],i,i,264,0,65],[2,2,[15,2],i,i,271,0,97],[3,8,[112,96,96,65,65,96,96,65],i,i,32,0,65],[4,11,[112,112,96,96,65,65,96,65,96,96,65],i,i,32,0,65],[1,1,[2],i,i,264,0,9],[1,1,[256],i,i,2,0,97],[1,1,[256],i,i,2,0,97],[1,1,[256],i,i,2,0,97],[3,254,[256,2,4],[47],i,303,0,105],[2,254,[256,2],[47],i,303,0,97],[1,3,[2,2,2],i,i,2,0,97],[1,1,[2],i,i,2,0,97],[2,3,[2,2,1],i,i,4,0,65],[3,5,[2,2,2,1,1],i,i,2,0,65],[2,4,[2,2,1,1],i,i,34,0,65],[1,3,[48,65,65],i,i,16,0,65],[1,4,[2,65,65,66],i,i,32,0,65],[1,6,[2,99,65,65,65,66],i,i,32,0,65],[1,1,[16],i,i,16,0,73],[1,1,[16],i,i,16,0,73],[1,1,[16],i,i,16,0,73],[0,0,i,i,i,1,0,1],[1,2,[287,2],i,i,288,0,97],[1,2,[1,1],i,i,10,0,97],[0,0,i,i,i,1,0,1],[3,254,[47],[2,47],i,47,0,97],[0,1,[1],i,i,1,0,1],[0,1,[1],i,i,32,0,1],[1,2,[2,1],i,i,47,0,1],[1,1,[1],i,i,264,0,97],[1,1,[1],i,i,264,0,97],[2,2,[2,47],i,i,47,0,1],[1,254,[2],[1151],i,1087,0,96],[1,254,[1],[1151],i,1087,0,0],[1,254,[1],[1151],i,1087,0,0],[1,1,[16],i,i,32,0,1],[1,1,[256],i,i,2,0,97],[1,1,[256],i,i,2,0,97],[1,1,[256],i,i,2,0,97],[1,1,[256],i,i,2,0,97],[2,2,[256,2],i,i,2,0,97],[1,1,[32],i,i,256,0,97],[3,254,[15],[2,47],i,303,0,97],[1,1,[256],i,i,2,0,97],[4,254,[256,66,66,66],[66,96],i,319,0,1],[1,1,[48],i,i,16,0,97],[2,2,[2,2],i,i,34,0,65],[1,1,[16],i,i,2,0,97],void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,[3,254,i,[319,319],[319],319,0,1],[3,254,[15],[2,303],i,303,0,97]].map((e=>void 0===e?void 0:(0,n.functionType)(...e)))},85882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visitQualifier=t.visitAppHeadNode=t.visitWSFNode=t.visitOperatorNode=t.visitFormulaNode=t.createResolver=t.resolveGridRef=t.canDenoteCellRef=t.canDenoteUserDefinedFunc=t.canDenoteLocalName=t.relabelFormula=t.createPrinter=t.anonymizeFormula=t.xlMathpack=t.ieeeMathpack=t.parseSignedLiteral=t.parseNumberLiteral=t.parseUint=t.isLineBreak=t.isSpace=t.wrapPosition=t.parseQualifier=t.parseGridRangeA1=t.parseGridCellA1=t.parseCellRef=t.isR1C1IdentStart=t.SpecialPos=t.formatName=t.formatGridRange=t.quoteQualifier=t.formatQualifier=t.shouldQuoteQualifier=t.canonicaliseRangePos=t.formatRangePos=t.canonicaliseCellPos=t.formatCellPos=t.canonicaliseColRange=t.canonicaliseRowRange=t.formatColRange=t.formatRowRange=t.canonicaliseCol=t.canonicaliseRow=t.formatCol=t.formatRow=t.resolvePosition=t.canonicaliseBrackets=t.columnName=t.buildAnnotations=t.adjustFormulaOrigin=t.PackageName=void 0,t.value=t.types=t.testUtil=t.signature=t.printServiceTypes=t.printService=t.mathpackXL=t.location=t.formulaModule=t.config=t.reducePledge=t.reduceBottomUp=t.PledgeReducer=t.zipVisitor=t.ZipVisitor=t.depthVisitor=t.composeVisitor=t.ComposeVisitor=t.binaryVisitor=t.BinaryVisitor=t.DelegatingVisitor=t.voidVisitor=t.constVisitor=t.ConstVisitor=t.identityVisitor=t.IdentityVisitor=t.bindVisitor=t.visitCellRef=void 0;const n=r(16533);t.PackageName="excel-online-calc-lang";var o=r(59184);Object.defineProperty(t,"adjustFormulaOrigin",{enumerable:!0,get:function(){return o.adjustFormulaOrigin}});var i=r(33040);Object.defineProperty(t,"buildAnnotations",{enumerable:!0,get:function(){return i.buildAnnotations}});var a=r(103);Object.defineProperty(t,"columnName",{enumerable:!0,get:function(){return a.columnName}}),Object.defineProperty(t,"canonicaliseBrackets",{enumerable:!0,get:function(){return a.canonicaliseBrackets}}),Object.defineProperty(t,"resolvePosition",{enumerable:!0,get:function(){return a.resolvePosition}}),Object.defineProperty(t,"formatRow",{enumerable:!0,get:function(){return a.formatRow}}),Object.defineProperty(t,"formatCol",{enumerable:!0,get:function(){return a.formatCol}}),Object.defineProperty(t,"canonicaliseRow",{enumerable:!0,get:function(){return a.canonicaliseRow}}),Object.defineProperty(t,"canonicaliseCol",{enumerable:!0,get:function(){return a.canonicaliseCol}}),Object.defineProperty(t,"formatRowRange",{enumerable:!0,get:function(){return a.formatRowRange}}),Object.defineProperty(t,"formatColRange",{enumerable:!0,get:function(){return a.formatColRange}}),Object.defineProperty(t,"canonicaliseRowRange",{enumerable:!0,get:function(){return a.canonicaliseRowRange}}),Object.defineProperty(t,"canonicaliseColRange",{enumerable:!0,get:function(){return a.canonicaliseColRange}}),Object.defineProperty(t,"formatCellPos",{enumerable:!0,get:function(){return a.formatCellPos}}),Object.defineProperty(t,"canonicaliseCellPos",{enumerable:!0,get:function(){return a.canonicaliseCellPos}}),Object.defineProperty(t,"formatRangePos",{enumerable:!0,get:function(){return a.formatRangePos}}),Object.defineProperty(t,"canonicaliseRangePos",{enumerable:!0,get:function(){return a.canonicaliseRangePos}}),Object.defineProperty(t,"shouldQuoteQualifier",{enumerable:!0,get:function(){return a.shouldQuoteQualifier}}),Object.defineProperty(t,"formatQualifier",{enumerable:!0,get:function(){return a.formatQualifier}}),Object.defineProperty(t,"quoteQualifier",{enumerable:!0,get:function(){return a.quoteQualifier}}),Object.defineProperty(t,"formatGridRange",{enumerable:!0,get:function(){return a.formatGridRange}}),Object.defineProperty(t,"formatName",{enumerable:!0,get:function(){return a.formatName}});var s=r(39429);Object.defineProperty(t,"SpecialPos",{enumerable:!0,get:function(){return s.SpecialPos}}),Object.defineProperty(t,"isR1C1IdentStart",{enumerable:!0,get:function(){return s.isR1C1IdentStart}}),Object.defineProperty(t,"parseCellRef",{enumerable:!0,get:function(){return s.parseCellRef}}),Object.defineProperty(t,"parseGridCellA1",{enumerable:!0,get:function(){return s.parseGridCellA1}}),Object.defineProperty(t,"parseGridRangeA1",{enumerable:!0,get:function(){return s.parseGridRangeA1}}),Object.defineProperty(t,"parseQualifier",{enumerable:!0,get:function(){return s.parseQualifier}}),Object.defineProperty(t,"wrapPosition",{enumerable:!0,get:function(){return s.wrapPosition}}),n.__exportStar(r(78770),t),n.__exportStar(r(96085),t),n.__exportStar(r(41472),t);var l=r(86086);Object.defineProperty(t,"isSpace",{enumerable:!0,get:function(){return l.isSpace}}),Object.defineProperty(t,"isLineBreak",{enumerable:!0,get:function(){return l.isLineBreak}}),Object.defineProperty(t,"parseUint",{enumerable:!0,get:function(){return l.parseUint}}),Object.defineProperty(t,"parseNumberLiteral",{enumerable:!0,get:function(){return l.parseNumberLiteral}}),Object.defineProperty(t,"parseSignedLiteral",{enumerable:!0,get:function(){return l.parseSignedLiteral}}),n.__exportStar(r(19275),t),n.__exportStar(r(90823),t);var u=r(36423);Object.defineProperty(t,"ieeeMathpack",{enumerable:!0,get:function(){return u.ieeeMathpack}});var c=r(59059);Object.defineProperty(t,"xlMathpack",{enumerable:!0,get:function(){return c.xlMathpack}}),n.__exportStar(r(18403),t);var d=r(74722);Object.defineProperty(t,"anonymizeFormula",{enumerable:!0,get:function(){return d.anonymizeFormula}}),Object.defineProperty(t,"createPrinter",{enumerable:!0,get:function(){return d.createPrinter}}),n.__exportStar(r(44633),t);var p=r(40967);Object.defineProperty(t,"relabelFormula",{enumerable:!0,get:function(){return p.relabelFormula}});var h=r(97083);Object.defineProperty(t,"canDenoteLocalName",{enumerable:!0,get:function(){return h.canDenoteLocalName}}),Object.defineProperty(t,"canDenoteUserDefinedFunc",{enumerable:!0,get:function(){return h.canDenoteUserDefinedFunc}}),Object.defineProperty(t,"canDenoteCellRef",{enumerable:!0,get:function(){return h.canDenoteCellRef}}),Object.defineProperty(t,"resolveGridRef",{enumerable:!0,get:function(){return h.resolveGridRef}}),Object.defineProperty(t,"createResolver",{enumerable:!0,get:function(){return h.createResolver}}),n.__exportStar(r(89990),t),n.__exportStar(r(12724),t),n.__exportStar(r(26460),t),n.__exportStar(r(7835),t),n.__exportStar(r(20759),t),n.__exportStar(r(33156),t),n.__exportStar(r(49519),t);var g=r(98400);Object.defineProperty(t,"visitFormulaNode",{enumerable:!0,get:function(){return g.visitFormulaNode}}),Object.defineProperty(t,"visitOperatorNode",{enumerable:!0,get:function(){return g.visitOperatorNode}}),Object.defineProperty(t,"visitWSFNode",{enumerable:!0,get:function(){return g.visitWSFNode}}),Object.defineProperty(t,"visitAppHeadNode",{enumerable:!0,get:function(){return g.visitAppHeadNode}}),Object.defineProperty(t,"visitQualifier",{enumerable:!0,get:function(){return g.visitQualifier}}),Object.defineProperty(t,"visitCellRef",{enumerable:!0,get:function(){return g.visitCellRef}}),Object.defineProperty(t,"bindVisitor",{enumerable:!0,get:function(){return g.bindVisitor}}),Object.defineProperty(t,"IdentityVisitor",{enumerable:!0,get:function(){return g.IdentityVisitor}}),Object.defineProperty(t,"identityVisitor",{enumerable:!0,get:function(){return g.identityVisitor}}),Object.defineProperty(t,"ConstVisitor",{enumerable:!0,get:function(){return g.ConstVisitor}}),Object.defineProperty(t,"constVisitor",{enumerable:!0,get:function(){return g.constVisitor}}),Object.defineProperty(t,"voidVisitor",{enumerable:!0,get:function(){return g.voidVisitor}}),Object.defineProperty(t,"DelegatingVisitor",{enumerable:!0,get:function(){return g.DelegatingVisitor}}),Object.defineProperty(t,"BinaryVisitor",{enumerable:!0,get:function(){return g.BinaryVisitor}}),Object.defineProperty(t,"binaryVisitor",{enumerable:!0,get:function(){return g.binaryVisitor}}),Object.defineProperty(t,"ComposeVisitor",{enumerable:!0,get:function(){return g.ComposeVisitor}}),Object.defineProperty(t,"composeVisitor",{enumerable:!0,get:function(){return g.composeVisitor}}),Object.defineProperty(t,"depthVisitor",{enumerable:!0,get:function(){return g.depthVisitor}}),Object.defineProperty(t,"ZipVisitor",{enumerable:!0,get:function(){return g.ZipVisitor}}),Object.defineProperty(t,"zipVisitor",{enumerable:!0,get:function(){return g.zipVisitor}}),Object.defineProperty(t,"PledgeReducer",{enumerable:!0,get:function(){return g.PledgeReducer}}),Object.defineProperty(t,"reduceBottomUp",{enumerable:!0,get:function(){return g.reduceBottomUp}}),Object.defineProperty(t,"reducePledge",{enumerable:!0,get:function(){return g.reducePledge}}),t.config=n.__importStar(r(78770)),t.formulaModule=n.__importStar(r(41472)),t.location=n.__importStar(r(19275)),t.mathpackXL=n.__importStar(r(59059)),t.printService=n.__importStar(r(74722)),t.printServiceTypes=n.__importStar(r(44633)),t.signature=n.__importStar(r(26460)),t.testUtil=n.__importStar(r(83757)),t.types=n.__importStar(r(20759)),t.value=n.__importStar(r(49519))},86086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSpace=d,t.isLineBreak=function(e){return e===s},t.parseUint=p,t.parseNumberLiteral=g,t.parseSignedLiteral=function(e,t,r,n,o){let i=n,a=!1;if(i<r.length){const e=r.charCodeAt(i);if((e===u||e===l)&&(a=e===l,i+=1,o))for(;i<r.length&&d(r.charCodeAt(i));)i+=1}const s=g(e,t,r,i,!1,!1,!1);return void 0===s?.value?[t.zero,n]:(i=s.i,[a?t.neg(s.value):s.value,i])};const n=r(52123),o=r(18403),i=r(33156),{codePointSpace:a,codePointLF:s,codePointMinusSign:l,codePointPlusSign:u,codePointSlash:c}=n.codePoint;function d(e){return e===a||e===s}function p(e,t,r,o){(0,n.assertIndex)("calc.parse.parseUint",t,16);let i=0,a=o,s=r.length;for(;a<s;){const o=(0,n.stringCodePointAt)(r,a);if(!e.isNumeral(o))break;const l=e.getOrdinal(o);0===i&&0!==l&&(s=(0,n.fastMin)(s,a+t)),i=10*i+l,a+=(0,n.numCodeUnits)(o)}return a===s&&a<r.length&&e.isNumeral((0,n.stringCodePointAt)(r,a))?[0,o]:[i,a]}function h(e,t,r,o){let a=o;const[s,l]=p(e,5,r,a);if(l===a)return!1;if(s>32767)return!1;if(a=l,!(a<r.length&&r.charCodeAt(a)===c))return!1;a+=1;const[u,d]=p(e,5,r,a);if(d===a)return!1;if(u>32767)return!1;if(a=d,0===u)return[!1,0,a];const h=t.div(t.fromNumber(s),t.fromNumber(u));return(0,n.assertTrue)("calc.lang.tryTokenizeFrac",(0,i.isNumberOper)(h)),[h,u,a]}function g(e,t,r,a,s,c,g){let m,f,v,b=a,y=0,S="",C=!1,T=!1,k=0,F=0,E=o.NumberShape.ASCII;if(!((0,n.stringStartsWith)(r,e.decimalSeparator,a)||a<r.length&&e.isNumeral((0,n.stringCodePointAt)(r,a))))return;const A=()=>{if((c||s&&r.indexOf("%",b)>=0)&&(y-=2,void 0!==m)){const e=t.div(m,t.fromNumber(100));(0,n.assertTrue)("calc.lang.parseNumberLiteral",(0,i.isNumberOper)(e)),m=e,v=o.KnownFormat.Pct}if((0,n.fastAbs)(y)>=309)return{value:void 0,i:b,consumedThousands:C,consumedDecimal:T,numDigDec:k,numShape:E,format:v};let a=t.parse(e,!0,y,S);if(void 0!==m){const e=t.add(a,m);(0,n.assertTrue)("calc.lang.parseNumberLiteral",(0,i.isNumberOper)(e)),a=e}return{value:a,i:b,consumedThousands:C,consumedDecimal:T,numDigDec:k,numShape:E,format:v}};for(;b<r.length;){const t=(0,n.stringCodePointAt)(r,b);if(!e.isNumeral(t))break;if(0!==e.getOrdinal(t))break;(f=e.getNumberShape(t))!==o.NumberShape.ASCII&&(E=f),b+=(0,n.numCodeUnits)(t)}if(g){const n=h(e,t,r,b);if(!1!==n){const[e,t,r]=n;return b=r,!1===e?{value:void 0,i:b,consumedThousands:C,consumedDecimal:T,numDigDec:k,numShape:E,format:v}:(v=t>=10?o.KnownFormat.FractBond:o.KnownFormat.Fract,m=e,A())}}let I=b;for(;b<r.length;){const t=(0,n.stringCodePointAt)(r,b);if(e.isNumeral(t))y+=1,(f=e.getNumberShape(t))!==o.NumberShape.ASCII&&(E=f),b+=(0,n.numCodeUnits)(t);else{if(!(s&&y>0&&(0,n.stringStartsWith)(r,e.thousandsSeparator,b)))break;C=!0,b+=e.thousandsSeparator.length}}if(S+=r.substring(I,b),C){const t=function(e,t,r){let o=r,i="";for(let r=0;r<t.length;){const a=(0,n.stringCodePointAt)(t,r);if(e.isNumeral(a)){const e=(0,n.numCodeUnits)(a);i+=t.substring(r,r+e),r+=e,o-=1}else{if(0===o||!e.isThousandsPosition(o))return;r+=e.thousandsSeparator.length}}return i}(e,S,y);if(void 0===t)return;S=t}if(a<b&&b<r.length&&d(r.charCodeAt(b))){const n=h(e,t,r,b+1);if(!1!==n){const[e,t,r]=n;return b=r,!1===e?{value:void 0,i:b,consumedThousands:C,consumedDecimal:T,numDigDec:k,numShape:E,format:v}:(v=t>=10?o.KnownFormat.FractBond:o.KnownFormat.Fract,m=e,A())}}let x=!1;if((0,n.stringStartsWith)(r,e.decimalSeparator,b)&&(x=b===a,T=!0,b+=e.decimalSeparator.length),0===y)for(;b<r.length;){const t=(0,n.stringCodePointAt)(r,b);if(!e.isNumeral(t))break;if(0!==e.getOrdinal(t))break;y-=1,(f=e.getNumberShape(t))!==o.NumberShape.ASCII&&(E=f),F+=1,b+=(0,n.numCodeUnits)(t)}for(I=b;b<r.length;){const t=(0,n.stringCodePointAt)(r,b);if(!e.isNumeral(t))break;(f=e.getNumberShape(t))!==o.NumberShape.ASCII&&(E=f),k+=1,b+=(0,n.numCodeUnits)(t)}if(S+=r.substring(I,b),k>0&&(k+=F),x&&b<=a+e.decimalSeparator.length)return;const w=function(e,t,r){let o=r;if(o<t.length&&0===e.stringCompareCI("E",t.substring(o,o+1)))o+=1;else{if(!(0,n.stringStartsWith)(t,"**",o))return[0,r];o+=2}let i=!1;if(o<t.length){const e=(0,n.stringCodePointAt)(t,o);((i=e===l)||e===u)&&(o+=(0,n.numCodeUnits)(e))}if(o>=t.length||!e.isNumeral((0,n.stringCodePointAt)(t,o)))return!1;const[a,s]=p(e,10,t,o);return s!==o&&!(a>2147483647)&&[i?-a:a,s]}(e,r,b);if(!1!==w){const[e,t]=w;y+=e,t!==b&&(v=o.KnownFormat.Exp),b=t}return!1===w?{value:void 0,i:b,consumedThousands:C,consumedDecimal:T,numDigDec:k,numShape:E,format:v}:A()}},19275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.originCell=t.sheetGridCell=t.sheetGridRange=t.sheetGridCube=t.sheetCols=t.sheetRows=t.NameSource=t.LexicalKind=void 0,t.lexicalSourceCell=a,t.lexicalSourceRange=s,t.lexicalSourceGrid=function(e,t){switch(e){case o.Cell:return m(t)?a(t):(0,n.assertFalse)("calc.lang.lexicalSourceGrid: expected cell");case o.Range:return s(t)}},t.lexicalSourceName=function(e){return{kind:o.NameManager,name:e}},t.lexicalSourceWSF=function(e){return{kind:o.WSF,id:e}},t.lexicalSourceUDF=function(e){return{kind:o.UDF,udf:e}},t.documentLoc=function(e,t){return{path:e,name:t}},t.structRefColumnLoc=function(e,t,r,n){return{name:e,range:t,hasHeadersRow:r,hasTotalsRow:n}},t.sheetRange=l,t.sheetIndex=u,t.allSheetsRange=function(e){return{document:e,index:void 0,index2:void 0}},t.sheetRangeIndexes=function(e,t){return{sheets:e,position:t}},t.unsafeGridRange=c,t.gridRange=function(e,r,o,i){return(0,n.assertIndex)("calc.lang.gridRange",e,t.sheetRows),(0,n.assertIndex)("calc.lang.gridRange",r,t.sheetCols),(0,n.assertPositiveLength)("calc.lang.gridRange",o,t.sheetRows-e),(0,n.assertPositiveLength)("calc.lang.gridRange",i,t.sheetCols-r),c(e,r,o,i)},t.gridCell=function(e,r){return(0,n.assertIndex)("calc.lang.gridCell",e,t.sheetRows),(0,n.assertIndex)("calc.lang.gridCell",r,t.sheetCols),c(e,r,1,1)},t.documentScope=p,t.nameScope=function(e,t){return void 0===t?p(e):u(e,t)},t.nameLoc=function(e,t){return{scope:e,name:t}},t.userDefinedFuncLoc=function(e,t){return{document:e,id:t}},t.isSheetIndex=h,t.isGridCell=g,t.isSheetGridRange=function(e){return h(e.sheet)},t.isSheetGridCell=m;const n=r(52123);var o,i;function a(e){return{kind:o.Cell,range:e}}function s(e){return{kind:o.Range,range:e}}function l(e,t,r){return{document:e,index:t,index2:r}}function u(e,t){return l(e,t,t)}function c(e,t,r,n){return{row:e,col:t,rows:r,cols:n}}function d(e,t){return{sheet:e,range:t}}function p(e){return{document:e,index:void 0}}function h(e){return e.index===e.index2}function g(e){return 1===e.rows&&1===e.cols}function m(e){return g(e.range)}!function(e){e[e.Cell=1]="Cell",e[e.Range=2]="Range",e[e.NameManager=3]="NameManager",e[e.CondFormatting=4]="CondFormatting",e[e.DataValidation=5]="DataValidation",e[e.Indirect=6]="Indirect",e[e.WSF=7]="WSF",e[e.UDF=8]="UDF",e[e.Other=9]="Other"}(o||(t.LexicalKind=o={})),function(e){e.AppHead="AppHead",e.Plain="Plain",e.StructRef="StructRef",e.Indirect="Indirect"}(i||(t.NameSource=i={})),t.sheetRows=1<<20,t.sheetCols=16384,t.sheetGridCube=d,t.sheetGridRange=d,t.sheetGridCell=d,t.originCell=d},90823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numberComponents=void 0,t.formatScientificLeft=function(e,t){if(t<=1)return t;const r=e%t;return 0===r?t:r<0?r+t:r};const n=r(52123);t.numberComponents=(0,n.typedInstanceCreator)()(((e,t,r)=>({sign:e,mantissa:t,exponent:r})))},36423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ieeeMathpack=void 0;const n=r(52123),o=r(90823),i=r(20759),a=r(49519),{codePointDigitZero:s}=n.codePoint;function l(e){return{kind:i.OperKind.Number,_valueIEEE:e}}const u=l(0),c=l(1),d=l(Math.PI);function p(e){return isFinite(e)?l(e):a.numErrorOper}function h(e,t){const{_valueIEEE:r}=e,{_valueIEEE:n}=t;return r<n?-1:r>n?1:0}function g(e,t){const r=void 0===t?e.toExponential():e.toExponential(t),o=r.indexOf("e"),i=!(0,n.stringStartsWith)(r,"-"),a=r.substring(i?0:1,o).replace(".",""),l=parseInt(r.substring(o+1),10)+1;return function(e){for(let t=0;t<e.length;t+=1)if(e.charCodeAt(t)!==s)return!1;return!0}(a)?{sign:i,mantissa:"",exponent:0}:{sign:i,mantissa:a,exponent:l}}const m=["0","1","2","3","4","5","6","7","8","9"];function f(e){const{_valueIEEE:t}=e;return l(t<0?Math.ceil(t):Math.floor(t))}function v(e){const{_valueIEEE:t}=e;return l(Math.floor(t))}function b(e){return e.substring(0,1)+"."+e.substring(1)}t.ieeeMathpack={zero:u,one:c,pi:d,add:(e,t)=>p(e._valueIEEE+t._valueIEEE),sub:(e,t)=>p(e._valueIEEE-t._valueIEEE),mul:(e,t)=>p(e._valueIEEE*t._valueIEEE),div:function(e,t){const{_valueIEEE:r}=e,{_valueIEEE:n}=t;return 0===n?a.div0ErrorOper:p(r/n)},power:function(e,t){const{_valueIEEE:r}=e,{_valueIEEE:n}=t,o=r**n;return isFinite(o)?l(o):isNaN(o)?a.div0ErrorOper:a.numErrorOper},percent:e=>l(e._valueIEEE/100),neg:e=>l(-e._valueIEEE),compare:h,formatGeneral:function({decimalSeparator:e},t,r){const{_valueIEEE:n}=t;let o=String(n).replace("e","E");return"."!==e&&(o=o.replace(".",e)),o},formatFixed:function(e,t,r){const{_valueIEEE:n}=e;let{sign:i,mantissa:a,exponent:s}=g(n),l=r+(s+t);if(0===l){const e=parseFloat("5e"+String(s-1));if(Math.abs(n)>=e)return(0,o.numberComponents)(i,"1",s+t+1)}if(l<1)return(0,o.numberComponents)(!0,"",0);l<=21&&(({sign:i,mantissa:a,exponent:s}=g(n,l-1)),l=r+(s+t));const u=a.substring(0,l);return(0,o.numberComponents)(i,u,0===u.length?0:s+t)},formatScientific:function(e,t,r){const{_valueIEEE:i}=e;let{sign:a,mantissa:s,exponent:l}=g(i),u=(0,o.formatScientificLeft)(l,t),c=u+r;if((0,n.assertTrue)("calc.lang.ieeeFormatScientific",c>0),0===c){const e=parseFloat("5e"+String(l-1));if(Math.abs(i)>=e)return(0,o.numberComponents)(a,"",l+1)}if(c<1)return(0,o.numberComponents)(!0,"",0);c<=21&&(({sign:a,mantissa:s,exponent:l}=g(i,c-1)),u=(0,o.formatScientificLeft)(l,t),c=u+r);const d=s.substring(0,c);return(0,o.numberComponents)(a,d,0===d.length?0:l)},parse:function(e,t,r,o){return l(Number((t?"":"-")+"0."+function({getOrdinal:e},t){let r="";for(const o of(0,n.codePointIterator)(t))r+=m[e(o)];return r}(e,o)+"E"+String(r)))},trunc:f,ceil:function(e){const{_valueIEEE:t}=e;return l(Math.ceil(t))},floor:v,abs:e=>l(Math.abs(e._valueIEEE)),cond:e=>h(e,u),cond2:h,fromNumber:l,toNumber:e=>e._valueIEEE,sqrt:e=>p(Math.sqrt(e._valueIEEE)),exp:e=>p(Math.exp(e._valueIEEE)),ln:e=>p(Math.log(e._valueIEEE)),log:e=>p(Math.log(e._valueIEEE)/Math.LN10),sin:e=>l(Math.sin(e._valueIEEE)),cos:e=>l(Math.cos(e._valueIEEE)),tan:e=>l(Math.tan(e._valueIEEE)),asin:e=>p(Math.asin(e._valueIEEE)),acos:e=>p(Math.acos(e._valueIEEE)),atan:e=>p(Math.atan(e._valueIEEE)),atan2:(e,t)=>l(Math.atan2(t._valueIEEE,e._valueIEEE)),mod:(e,t)=>l(e._valueIEEE%t._valueIEEE),round:function(e,t){const{_valueIEEE:r}=e;if(0===r)return u;const{exponent:n}=g(r),o=f(t)._valueIEEE+n;if(0===o){const e=parseFloat("5e"+String(n-1));if(Math.abs(r)>=e)return p((r<0?-1:1)*parseFloat("10e"+String(n-1)))}return o<1?u:o>21?e:p(parseFloat(r.toExponential(o-1)))},roundUp:function(e,t){const{_valueIEEE:r}=e;if(0===r)return u;const{sign:n,mantissa:o,exponent:i}=g(r),a=f(t)._valueIEEE+i;return a<1?p(parseFloat((n?"":"-")+"10e"+String(i-1-a))):a>21?e:p(parseFloat((n?"":"-")+function(e,t){if(e.length<=t)return b(e);const r=e.substring(0,t);let n=0;for(let e=r.length-1;e>=0&&r.charCodeAt(e)-s==9;e-=1)n+=1;return n===r.length?"10":b(r.substring(0,r.length-n-1)+String.fromCharCode(r.charCodeAt(r.length-n-1)+1))}(o,a)+"e"+String(i-1)))},roundDown:function(e,t){const{_valueIEEE:r}=e;if(0===r)return u;const{sign:n,mantissa:o,exponent:i}=g(r),a=f(t)._valueIEEE+i;if(a<1)return u;if(a>21)return e;const s=o.substring(0,a);return p(parseFloat((n?"":"-")+b(s)+"e"+String(i-1)))},tenTo:function(e){return(0,n.assertInteger)("calc.lang.ieeeTenTo",e),p(Math.pow(10,e))},checkAlmostCancellation:(e,t)=>t,fix:function(e){const{_valueIEEE:t}=e,r=Math.abs(t);return r>=4294967296?4294967295:Math.floor(r)},lfix:function(e){const t=f(e)._valueIEEE;return t<-2147483648||t>2147483647?-2147483648:t},sfix:function(e){const t=v(e)._valueIEEE;return t<-2147483648?-2147483648:t>2147483647?2147483647:t},viewRound:n.identity}},59059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xlMathpack=void 0;const n=r(52123),o=r(85502),i=r(20759),a=r(49519);function s(e){return{kind:i.OperKind.Number,_valueXL:e}}const l=s(o.mathpack.zero()),u=s(o.mathpack.one()),c=s(o.mathpack.pi());function d(e){return 0!=(e.num&o.mathpack.MathErrorNum.DivBy0)?a.div0ErrorOper:a.numErrorOper}function p(e){return t=>(0,n.assertFalse)(`calc.lang.${e}: error ${JSON.stringify(t)}`)}function h(e,t,r){return n=>{const o=e(n._valueXL);return"number"==typeof o?t(o):r(o)}}function g(e,t,r){return(n,o)=>{const i=e(n._valueXL,o._valueXL);return"number"==typeof i?t(i):r(i)}}const m=g(((e,t)=>o.mathpack.equal(t,2)?o.mathpack.mul(e,e):o.mathpack.power(e,t)),s,d),f=h((e=>o.mathpack.div(e,100)),s,p("xlPercent")),v=h(o.mathpack.ceil,s,p("xlCeil")),b=h(o.mathpack.floor,s,p("xlFloor")),y=h(o.mathpack.cond,n.identity,p(`xlCond, isSupported = ${(0,o.isSupported)()}`)),S=g(o.mathpack.cond2,n.identity,p("xlCond2")),C=h(o.mathpack.sfix,n.identity,p("xlSfix")),T=h(o.mathpack.viewRound,s,p("xlViewRound"));t.xlMathpack={zero:l,one:u,pi:c,add:g(o.mathpack.add,s,d),sub:g(o.mathpack.sub,s,d),mul:g(o.mathpack.mul,s,d),div:g(o.mathpack.div,s,d),power:m,percent:f,neg:function(e){return 0!==y(e)?s(o.mathpack.neg(e._valueXL)):e},compare:(e,t)=>o.mathpack.compare(e._valueXL,t._valueXL),formatGeneral:function(e,t,r){const{_valueXL:i}=t,a=o.mathpack.formatGeneral(e,i,r);return"string"!=typeof a?(0,n.assertFalse)(`calc.lang.xlFormatGeneral: error ${JSON.stringify(a)}`):a},formatFixed:function(e,t,r){const{_valueXL:i}=e,a=o.mathpack.formatFixed(i,t,r);return"object"!=typeof a?(0,n.assertFalse)(`calc.lang.xlFormatFixed: error ${JSON.stringify(a)}`):a},formatScientific:function(e,t,r){const{_valueXL:i}=e,a=o.mathpack.formatScientific(i,t,r);return"object"!=typeof a?(0,n.assertFalse)(`calc.lang.xlFormatScientific: error ${JSON.stringify(a)}`):a},parse:function(e,t,r,i){const a=o.mathpack.pack(e,t,r,i);return"number"!=typeof a?(0,n.assertFalse)(`calc.lang.xlParse: error ${JSON.stringify(a)}`):s(a)},trunc:e=>s(o.mathpack.trunc(e._valueXL)),ceil:v,floor:b,abs:e=>s(o.mathpack.abs(e._valueXL)),cond:y,cond2:S,fromNumber:function(e){return(0,n.assertTrue)("calc.lang.xlFromNumber",isFinite(e)),s(e)},toNumber:function(e){const{_valueXL:t}=e;return(0,n.assertTrue)("calc.lang.xlToNumber",isFinite(t)),t},sqrt:h(o.mathpack.sqrt,s,d),exp:h(o.mathpack.exp,s,d),ln:h(o.mathpack.ln,s,d),log:h(o.mathpack.log,s,d),sin:h(o.mathpack.sin,s,d),cos:h(o.mathpack.cos,s,d),tan:h(o.mathpack.tan,s,d),asin:h(o.mathpack.asin,s,d),acos:h(o.mathpack.acos,s,d),atan:h(o.mathpack.atan,s,d),atan2:g(o.mathpack.atan2,s,d),mod:g(o.mathpack.mod,s,d),round:g(o.mathpack.round,s,d),roundUp:g(o.mathpack.roundUp,s,d),roundDown:g(o.mathpack.roundDown,s,d),tenTo:function(e){(0,n.assertInteger)("calc.lang.xlTenTo",e);const t=o.mathpack.tenTo(e);return"number"==typeof t?s(t):d(t)},checkAlmostCancellation:function(e,t){const{_valueXL:r}=e,{_valueXL:n}=t;return o.mathpack.exp32(r)-o.mathpack.exp32(n)>=52428800?l:t},fix:e=>o.mathpack.fix(e._valueXL),lfix:e=>o.mathpack.lfix(e._valueXL),sfix:C,viewRound:T}},18403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KnownFormat=t.Calendar=t.NumberShape=t.DateOrder=t.CurrencyFormat=void 0;var n,o,i,a=r(8119);Object.defineProperty(t,"CurrencyFormat",{enumerable:!0,get:function(){return a.CurrencyFormat}}),Object.defineProperty(t,"DateOrder",{enumerable:!0,get:function(){return a.DateOrder}}),function(e){e.ASCII="ASCII",e.ArabicIndic="ArabicIndic",e.ExtendedArabicIndic="ExtendedArabicIndic",e.Devanagari="Devanagari",e.Bengali="Bengali",e.Gurmukhi="Gurmukhi",e.Gujarati="Gujarati",e.Oriya="Oriya",e.Tamil="Tamil",e.Telugu="Telugu",e.Kannada="Kannada",e.Malayalam="Malayalam",e.Thai="Thai",e.Lao="Lao",e.Tibetan="Tibetan",e.Myanmar="Myanmar",e.Ethiopic="Ethiopic",e.Khmer="Khmer",e.Mongolian="Mongolian",e.ChineseTrad1="ChineseTrad1",e.ChineseTrad2="ChineseTrad2",e.ChineseTrad3="ChineseTrad3",e.ChineseSimp1="ChineseSimp1",e.ChineseSimp2="ChineseSimp2",e.ChineseSimp3="ChineseSimp3",e.Japanese1="Japanese1",e.Japanese2="Japanese2",e.Japanese3="Japanese3",e.Korean1="Korean1",e.Korean2="Korean2",e.Korean3="Korean3",e.Korean4="Korean4"}(n||(t.NumberShape=n={})),function(e){e.Gregorian="Gregorian",e.GregorianUS="GregorianUS",e.Japan="Japan",e.Taiwan="Taiwan",e.Korea="Korea",e.Hijri="Hijri",e.Thai="Thai",e.Hebrew="Hebrew",e.GregorianMEFrench="GregorianMEFrench",e.GregorianArabic="GregorianArabic",e.GregorianXlitEnglish="GregorianXlitEnglish",e.GregorianXlitFrench="GregorianXlitFrench",e.Persian="Persian",e.UmAlQura="UmAlQura"}(o||(t.Calendar=o={})),function(e){e[e.General=0]="General",e[e.NoComFixed0=-1]="NoComFixed0",e[e.NoComFixed=-2]="NoComFixed",e[e.Fixed0=-3]="Fixed0",e[e.Fixed=-4]="Fixed",e[e.Currency=-9]="Currency",e[e.CoCurrency=-10]="CoCurrency",e[e.CurrencyDec=-11]="CurrencyDec",e[e.CoCurrencyDec=-12]="CoCurrencyDec",e[e.Pct0=-13]="Pct0",e[e.Pct=-14]="Pct",e[e.Exp=-15]="Exp",e[e.Fract=-17]="Fract",e[e.FractBond=-18]="FractBond",e[e.MMDDYY=-19]="MMDDYY",e[e.DDMMMYY=-20]="DDMMMYY",e[e.DDMMM=-21]="DDMMM",e[e.MMMYY=-22]="MMMYY",e[e.HHMMAP=-23]="HHMMAP",e[e.HHMMSSAP=-24]="HHMMSSAP",e[e.HHMM=-25]="HHMM",e[e.HHMMSS=-26]="HHMMSS",e[e.MDYHMS=-27]="MDYHMS",e[e.Currency2=-5]="Currency2",e[e.CoCurrency2=-6]="CoCurrency2",e[e.CurrencyDec2=-7]="CurrencyDec2",e[e.CoCurrencyDec2=-8]="CoCurrencyDec2",e[e.Acct=-33]="Acct",e[e.AcctCur=-32]="AcctCur",e[e.AcctDec=-35]="AcctDec",e[e.AcctDecCur=-34]="AcctDecCur",e[e.MMSS=-28]="MMSS",e[e.AbsHMMSS=-31]="AbsHMMSS",e[e.SS0=-29]="SS0",e[e.Eng=-16]="Eng",e[e.Text=-30]="Text",e[e.USCoCurrency=-1037]="USCoCurrency",e[e.USCoCurrencyDec=-1039]="USCoCurrencyDec",e[e.NoComFixed0_Tha=-2036]="NoComFixed0_Tha",e[e.NoComFixed_Tha=-2037]="NoComFixed_Tha",e[e.Fixed0_Tha=-2038]="Fixed0_Tha",e[e.Fixed_Tha=-2039]="Fixed_Tha",e[e.CoCurrency_Tha=-2041]="CoCurrency_Tha",e[e.CoCurrencyDec_Tha=-2043]="CoCurrencyDec_Tha",e[e.Pct0_Tha=-2044]="Pct0_Tha",e[e.Pct_Tha=-2045]="Pct_Tha",e[e.MMDDYY_Tha=-2048]="MMDDYY_Tha",e[e.DDMMMYY_Tha=-2049]="DDMMMYY_Tha",e[e.DDMMM_Tha=-2050]="DDMMM_Tha",e[e.MMMYY_Tha=-2051]="MMMYY_Tha",e[e.HHMM_Tha=-2052]="HHMM_Tha",e[e.HHMMSS_Tha=-2053]="HHMMSS_Tha",e[e.MDYHMS_Tha=-2054]="MDYHMS_Tha",e[e.AbsHMMSS_Tha=-2055]="AbsHMMSS_Tha",e[e.MMSS_Tha=-2056]="MMSS_Tha",e[e.SS0_Tha=-2057]="SS0_Tha",e[e.DMBB_Tha=-2058]="DMBB_Tha"}(i||(t.KnownFormat=i={}))},74722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anonymizeFormula=function(e,t,r){try{const o=r.kind===s.LexicalKind.Cell||r.kind===s.LexicalKind.Range?(0,l.printLocalsGrid)(r,(0,h.sheetGridRangeAnchor)(r.range)):r.kind===s.LexicalKind.NameManager?(0,l.printLocalsName)(r,b):(0,n.assertNever)("calc.lang.anonymizeFormula",r),u=O((0,l.createSimplePrintGlobals)((0,i.calcConfig)((0,i.getEnglishLocaleInfo)(),a.RefStyle.A1,e.mathpack)),o,t,!0);if(u.kind===n.ResultKind.Success)return u.value.formula;if(u.reason.kind===n.ReasonKind.JavaScriptError)throw u.reason.error}catch(e){const t="calc.lang.anonymizeFormula: Format failed: "+(0,n.messageFromError)(e);n.ulsLogger.ULS.traceTag(507381981,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,t)}return(0,n.anonymize)(t)},t.createPrinter=function(e){const t=function(e){return{config:e.config,getDocumentLoc:e.getDocumentLoc.bind(e),getSheetIndex:e.getSheetIndex.bind(e),getSheetName:e.getSheetName.bind(e),getNameLoc:e.getNameLoc.bind(e),getUserDefinedFuncLoc:e.getUserDefinedFuncLoc.bind(e),getSheetRangeIndexes:e.getSheetRangeIndexes.bind(e),getContainingTable:e.getContainingTable.bind(e),getStructRefColumn:e.getStructRefColumn.bind(e),getStructRefSpecialRef:e.getStructRefSpecialRef?.bind(e),getNamedRanges:e.getNamedRanges?.bind(e)??K.getNamedRanges}}(e);return{printFormula:(t,r)=>{const o=O(e,t,r);return(0,n.isSuccess)(o)?(0,n.success)(o.value.formula):o},printFormulaEx:(t,r)=>O(e,t,r),printRange:(e,r,o)=>function(e,t,r,o=(0,n.makeEmptyTable)()){try{const i=t.originSheet.value;if(!(0,h.isDocumentLocEqual)(i.document,r.sheet.document))throw new N((0,h.notImplemented)(["printRange cross-document"]));return(0,n.success)(function(e,t,r,o){const i=t.originSheet.value,l=e.getNamedRanges(r);if(!(0,n.isSuccess)(l))throw new N(l.reason);if(0===l.value.length)return;const u=e=>void 0!==e.index&&(void 0===i.index||!(0,h.isSheetIndexEqual)(e,i)),c=l.value.filter((({scope:e})=>void 0===e.index?(0,h.isDocumentLocEqual)(e.document,r.sheet.document):(0,h.isSheetIndexEqual)(e,r.sheet))).filter((({scope:t,name:r})=>{if(void 0!==t.index||void 0===i.index)return!0;const o=i,a=e.getNameLoc(o,r,s.NameSource.Plain);if(!(0,n.isSuccess)(a))throw new N(a.reason);return null==a.value})).filter((({scope:e,name:t})=>u(e)||!o.contains(t)));if(0===c.length)return;const d=1===c.length?c[0]:[...c].sort(((t,r)=>e.config.localeInfo.stringCompareCI(t.name,r.name)))[0];let p;if(u(d.scope)){const t=e.getSheetName(d.scope.document,d.scope.index);if(!(0,n.isSuccess)(t))throw new N(t.reason);p=(0,a.sheetQualifier)(t.value)}return(0,a.nameNode)((0,a.identNamePart)(d.name),p)}(e,t,r,o)??function(e,t,{sheet:r,range:o}){const i=e.getContainingTable((0,s.sheetGridCell)(r,(0,h.gridRangeAnchor)(o)));if(!(0,n.isSuccess)(i))throw new N(i.reason);if(null==i.value)return;const l=i.value,u=L(e.getStructRefSpecialRef(l,a.SpecialRefId.All));if(!(0,n.isSuccess)(u))throw new N(u.reason);const c=u.value.range,d=u.value.sheet,p=(0,h.gridRangeCompare)(c,o);if(void 0===p||p<0)return;const g=L(e.getStructRefSpecialRef(l,a.SpecialRefId.Data));if(!(0,n.isSuccess)(g))throw new N(g.reason);const m=g.value.range,f=t.originGridCell.value,v=t.originSheet.value,b=void 0!==v.index&&(0,h.isSheetIndexEqual)(v,d)&&(0,h.gridRangeIsects)(c,f)?void 0:(0,a.nameNode)((0,a.identNamePart)(l.name)),y=b??(0,a.nameNode)((0,a.identNamePart)(l.name)),S=m.cols>1&&o.col===m.col&&o.cols===m.cols,C=()=>{const t=L(e.getStructRefColumn(l,o.col));if(!(0,n.isSuccess)(t))throw new N(t.reason);if(1===o.cols)return(0,a.columnRef)(t.value.name);const r=L(e.getStructRefColumn(l,o.col+o.cols-1));if(!(0,n.isSuccess)(r))throw new N(r.reason);return(0,a.rangeOpRef)((0,a.columnRef)(t.value.name),(0,a.columnRef)(r.value.name))};if(o.row===c.row&&o.rows===c.rows)return(0,a.structRefNode)(y,(0,a.structRef)(S?(0,a.specialRef)(a.SpecialRefId.All):(0,a.commaOpRef)([(0,a.specialRef)(a.SpecialRefId.All,!0),C()])));if(1===o.rows&&o.row===f.row&&o.row>=m.row&&o.row<m.row+m.rows)return(0,a.structRefNode)(1===o.cols?b:y,(0,a.structRef)((0,a.thisRowOpRef)(S?void 0:C())));if(o.row===m.row&&o.rows===m.rows)return S?(0,a.structRefNode)(y,(0,a.structRef)(void 0)):(0,a.structRefNode)(1===o.cols?b:y,(0,a.structRef)(C()));const T=o.row===c.row&&o.row+o.rows===m.row,k=o.row===m.row+m.rows&&o.row+o.rows===c.row+c.rows;if(T||k){const e=(0,a.specialRef)(T?a.SpecialRefId.Headers:a.SpecialRefId.Totals,!S);return(0,a.structRefNode)(y,(0,a.structRef)(S?e:(0,a.commaOpRef)([e,C()])))}const F=o.row===c.row&&c.row<m.row&&o.row+o.rows===m.row+m.rows,E=o.row===m.row&&c.row+c.rows>m.row+m.rows&&o.row+o.rows===c.row+c.rows;if(F||E){const e=(0,a.specialRef)(F?a.SpecialRefId.Headers:a.SpecialRefId.Data,!0),t=(0,a.specialRef)(F?a.SpecialRefId.Data:a.SpecialRefId.Totals,!0);return(0,a.structRefNode)(y,(0,a.structRef)(S?(0,a.commaOpRef)([e,t]):(0,a.commaOpRef)([e,t,C()])))}}(e,t,r)??function(e,t,r){const o=t.originSheet.value,i=function(e,t,r){if(0===r.col&&r.cols===s.sheetCols)return function(e,t,r){return(0,a.cellRefRow)(M(e,t),M(e,t+r-1))}(e,r.row,r.rows);if(0===r.row&&r.rows===s.sheetRows)return function(e,t,r){return(0,a.cellRefCol)(M(e,t),M(e,t+r-1))}(t,r.col,r.cols);const n=B(e,t,(0,h.gridRangeAnchor)(r));if((0,s.isGridCell)(r))return n;const o=B(e,t,(0,s.gridCell)(r.row+r.rows-1,r.col+r.cols-1));return(0,a.cellRefRange)(n,o)}(t.printRowsAsAbsoluteReferences?void 0:t.originGridCell.value.row,t.printColsAsAbsoluteReferences?void 0:t.originGridCell.value.col,r.range);let l;if(void 0===o.index||!(0,h.isSheetIndexEqual)(o,r.sheet)){const t=e.getSheetName(r.sheet.document,r.sheet.index);if(!(0,n.isSuccess)(t))throw new N(t.reason);l=(0,a.sheetQualifier)(t.value)}return(0,a.cellRefNode)(i,l)}(e,t,r))}catch(e){return e instanceof N?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)(e))}}(t,e,r,o)}};const n=r(52123),o=r(103),i=r(78770),a=r(41472),s=r(19275),l=r(44633),u=r(97083),c=r(89990),d=r(26460),p=r(20759),h=r(33156),g=r(49519),m=r(98400),f=/'/g,v=/"/g,b=(0,s.sheetGridCell)((0,s.sheetIndex)((0,s.documentLoc)(void 0,"Book1"),0),(0,s.gridCell)(0,0));function y(e){if(!(0,n.isSuccess)(e)&&e.reason.kind!==c.ResolveReasonKind.NoOriginSheet&&e.reason.kind!==c.ResolveReasonKind.InvalidQualifier&&e.reason.kind!==c.ResolveReasonKind.InvalidCellRef&&e.reason.kind!==c.ResolveReasonKind.InvalidStructRef&&e.reason.kind!==c.ResolveReasonKind.EmptyIntersection)throw new _(e.reason)}var S;function C(e){const t=[],r=[];for(const o of e)o.length>0&&(0,n.numCodeUnits)((0,n.stringCodePointAt)(o,0))===o.length?t[(0,n.stringCodePointAt)(o,0)]=!0:r.push(o);return(e,o)=>{const i=(0,n.stringCodePointAt)(e,o);if(!0===t[i])return!0;for(const t of r)if((0,n.stringStartsWith)(e,t,o))return!0;return!1}}function T(e,t){let r="";for(let o=0;o<e.length;){t(e,o)&&(r+="'");const i=(0,n.stringCodePointAt)(e,o);r+=(0,n.stringFromCodePoint)(i),o+=(0,n.numCodeUnits)(i)}return r}!function(e){e[e.Original=0]="Original",e[e.Bracketed=1]="Bracketed",e[e.Unbracketed=2]="Unbracketed"}(S||(S={}));class k{constructor(e){this.str=e,this.append=E,this.length=e.length}}class F{constructor(e,t){this.lhs=e,this.rhs=t,this.append=E,this.length=e.length+t.length}}function E(e){return new F(this,"string"==typeof e?new k(e):e)}function A(e,t){return 0===e.length?new k(""):e.reduce(((e,r)=>e.append(t).append(r)))}const I={pre:"",preComments:void 0},x={pre:" ",preComments:void 0},w={post:"",postComments:void 0},P={literalNode:(e,t,r)=>r,arrayNode:(e,t,r)=>r,appNode:(e,t,r,n)=>n,letNode:(e,t,r,n,o,i)=>i,lambdaNode:(e,t,r,n,o,i)=>i,parenNode:(e,t,r)=>r,nameNode:(e,t,r)=>r,cellRefNode:(e,t,r)=>r,fieldRefNode:(e,t,r)=>r,structRefNode:(e,t,r)=>r,missingNode:(e,t)=>t,badSequenceNode:(e,t,r)=>r,badCharsNode:(e,t,r)=>r,operatorNode:(e,t)=>t,wsfNode:(e,t,r)=>r},R={...(0,m.constVisitor)(void 0),operatorNode:e=>e};class D{print(){const e=new m.ComposeVisitor(new m.ZipVisitor({str:this,label:P,op:R}),(e=>(this.record(e.label,e.str),e))),t=(0,m.reduceBottomUp)(e,this.root),r=new k("=").append(this.recordPrePost(t.label,this.pre(t.label,I),t.str,this.postIfComments(t.label)));return this.printRope(r)}pre(e,t){return this.anonymize?t:this.spans[e]??t}post(e,t){return this.anonymize?t:this.spans[e]??t}preIfComments(e){if(this.anonymize)return I;const t=this.spans[e];return null!=t?.preComments&&t.preComments.length>0?t:I}postIfComments(e){if(this.anonymize)return w;const t=this.spans[e];return null!=t?.postComments&&t.postComments.length>0?t:w}printRef(e,t){let r=new k("");switch(e.kind){case a.StructRefKind.SpecialRef:{(t===S.Original&&e.isBracketed||t===S.Bracketed)&&(r=r.append(this.localeInfo.leftBracket));const n=this.localeInfo.specialRefNames[e.id];if(null==n)throw new _((0,h.internal)("No locale data for specialRefName"));r=r.append(n),(t===S.Original&&e.isBracketed&&e.isClosed||t===S.Bracketed)&&(r=r.append(this.localeInfo.rightBracket));break}case a.StructRefKind.ColumnRef:{const o=0===e.name.length||(0,n.stringStartsWith)(e.name," ")||(0,n.stringEndsWith)(e.name," ");(t===S.Original&&e.isBracketed||t===S.Bracketed||t===S.Unbracketed&&o)&&(r=r.append(this.localeInfo.leftBracket));const i=T(e.name,this.isStructRefEscapable);r=r.append(this.anon(i)),(t===S.Original&&e.isBracketed&&e.isClosed||t===S.Bracketed||t===S.Unbracketed&&o)&&(r=r.append(this.localeInfo.rightBracket));break}case a.StructRefKind.RangeOpRef:r=r.append(this.printRef(e.lhs,t===S.Original?t:S.Bracketed)).append(":").append(this.printRef(e.rhs,t===S.Original?t:S.Bracketed));break;case a.StructRefKind.MissingRef:break;case a.StructRefKind.BadRef:e.isBracketed&&(r=r.append(this.localeInfo.leftBracket)),r=r.append(this.anon(e.chars)),e.isBracketed&&e.isClosed&&(r=r.append(this.localeInfo.rightBracket))}return this.record(e.label,r)}printThisRowOpRef(e,t){let r=new k("@");return e&&(r=e.kind===a.StructRefKind.ColumnRef?r.append(this.printRef(e,e.isClosed?function(e,t){for(let r=0;r<e.length;){if(t(e,r))return!0;r+=(0,n.numCodeUnits)((0,n.stringCodePointAt)(e,r))}return!1}(e.name,this.isStructRefBracketedThisRef)?S.Bracketed:S.Unbracketed:S.Original)):r.append(this.printRef(e,(0,h.isRangeOpClosed)(e)&&(0,h.isRangeOpNoMissing)(e)?S.Bracketed:S.Original))),this.record(t,r)}printApplication(e,t,r,n){const o=t.map(((e,t,r)=>this.recordPrePost(e.label,this.pre(e.label,0===t||0===e.str.length?I:x),e.str,t===r.length-1?this.post(e.label,w):this.postIfComments(e.label))));return e.str.append("(").append(A(o,this.localeInfo.listSeparator)).append(r?")":"")}printCellRef({ref:e,qualifier:t}){return(void 0!==t?this.recordPrePost(t.label,I,(0,m.visitQualifier)(this,t).str,this.postIfComments(t.label)):new k("")).append((0,m.visitCellRef)(this,e).str)}printName({qualifier:e,parts:t},r){const n=void 0!==e?this.recordPrePost(e.label,I,(0,m.visitQualifier)(this,e).str,this.postIfComments(e.label)):new k("");let o=new k("");for(const e of(0,a.flattenNameParts)(t).parts){let t;if(e.kind===a.NamePartKind.FieldRefNamePart){const r=e.rhs.field;t=this.record(e.rhs.label,new k(".").append(this.record(r.label,this.anon(r.kind===a.NodeKind.Ident?r.whole:r.chars))))}else t=e.kind===a.NamePartKind.CellRefNamePart&&r===c.ResolvedKind.ResolvedCellRef?this.printCellRef((0,a.cellRefNode)(e.ref,void 0,e.label)):new k(this.anon(e.asWhole));o=this.record(e.label,o.append(t)),this.recordQualified(e.qualifiedLabel,n,o)}return n.append(o)}printUnrecordedDocQual(e){if(void 0===e)return e;const{path:t,document:r}=e;return this.anon((t??"")+this.localeInfo.leftBracket+r+this.localeInfo.rightBracket)}printParamNameIdent(e){return e.kind===a.NodeKind.Ident?this.record(e.label,this.anon((0,h.getBoundName)(this.localeInfo,e.whole))):this.recordPrePost(e.label,this.pre(e.label,I),this.anon(e.chars),this.post(e.label,w))}printParamName(e){return this.record(e.label,new k(e.isBracketed?this.localeInfo.leftBracket:"").append(this.printParamNameIdent(e.name)).append(e.isBracketed&&e.isClosed?this.localeInfo.rightBracket:""))}record(e,t){const r="string"==typeof t?new k(t):t;return this.labelToRope[e]={ropeStart:r,ropeEnd:r,startOffset:0,endOffset:0,pre:"",post:"",preComments:void 0,postComments:void 0},r}recordQualified(e,t,r){this.labelToRope[e]={ropeStart:t,ropeEnd:r,startOffset:0,endOffset:0,pre:"",post:"",preComments:void 0,postComments:void 0}}recordPrePost(e,{pre:t,preComments:r},n,{post:o,postComments:i}){const a="string"==typeof n?new k(n):n,s=new k(t),l=new k(o);return this.labelToRope[e]={ropeStart:a,ropeEnd:a,startOffset:0,endOffset:0,pre:t,post:o,preComments:r,postComments:i},r&&this.recordComments(r,s,this.spans[e].start-t.length),i&&this.recordComments(i,l,this.spans[e].end),s.append(a).append(l)}recordComments(e,t,r){for(const n of e){const e=this.spans[n.label];if(null==e)return;this.labelToRope[n.label]={ropeStart:t,ropeEnd:t,startOffset:e.start-r,endOffset:e.end-r-t.length,pre:"",post:"",preComments:void 0,postComments:void 0}}}printRope(e){const{str:t,ropeToSpan:r}=function(e){const t=new Map,r=[];let n=0;const o=[e];for(;o.length>0;){const e=o.pop();t.set(e,{start:n,end:n+e.length}),e instanceof F?o.push(e.rhs,e.lhs):(r.push(e.str),n+=e.str.length)}return{str:r.join(""),ropeToSpan:t}}(e),n=[];for(const e of Object.keys(this.labelToRope).map(Number)){const{ropeStart:t,ropeEnd:o,startOffset:i,endOffset:s,pre:l,post:u,preComments:c,postComments:d}=this.labelToRope[e],{start:p}=r.get(t),{end:h}=r.get(o);n[e]=(0,a.formulaSpan)(p+i,h+s,l,u,c,d)}return{formula:t,spans:n}}literalNode(e,t,r){switch(e.kind){case p.OperKind.String:return new k('"'+this.anon(e.value).replace(v,'""')+'"');case p.OperKind.Boolean:return new k(e.value?this.localeInfo.trueName:this.localeInfo.falseName);case p.OperKind.Number:const t=21;return new k(this.anon(this.mathpack.formatGeneral(this.localeInfo,e,t)));case p.OperKind.Missing:return new k("");case p.OperKind.Error:const r=this.localeInfo.errorNames[e.type];if(null==r)throw new _((0,h.internal)(`No locale data for error type ${e.type}`));return new k(r);default:return(0,n.assertNever)("calc.lang.printFormula",e)}}missingNode(e,t){return new k(this.anon(e))}arrayNode(e,t,r){return new k(this.localeInfo.leftBrace).append(A(e.map((e=>A(e.map((e=>this.recordPrePost(e.label,this.preIfComments(e.label),e.str,this.postIfComments(e.label)))),this.localeInfo.columnSeparator))),this.localeInfo.rowSeparator)).append(t?this.localeInfo.rightBrace:"")}appNode(e,t,r,o){if(void 0!==e.op){if(1===t.length){const r=t[0];switch(e.op){case d.OperatorId.Percent:return r.str.append(this.recordPrePost(e.label,this.pre(e.label,I),e.str,w));case d.OperatorId.Pound:return r.str.append(this.recordPrePost(e.label,this.preIfComments(e.label),e.str,w));default:return this.recordPrePost(e.label,I,e.str,this.post(e.label,w)).append(r.str)}}if(2===t.length){const[r,n]=t;let o=" ",i=" ";switch(e.op){case d.OperatorId.Range:o=i="";break;case d.OperatorId.Isect:i="";break;case d.OperatorId.Union:o=""}return r.str.append(this.recordPrePost(e.label,this.pre(e.label,{pre:o}),e.str,this.post(e.label,{post:i}))).append(n.str)}return(0,n.assertFalse)("calc.lang.printFormula: invalid number of operator args")}return this.printApplication(e,t,r,o)}letNode(e,t,r,n,o,i){const s=t.map((({name:e,binder:t})=>(0,a.letVar)((0,a.indexedArg)({str:this.record(e.arg.label,this.record(e.arg.name.label,this.anon((0,h.getBoundName)(this.localeInfo,e.arg.wholeName)))),label:e.arg.label,op:void 0},e.index),t)));return this.printApplication(e,(0,a.flattenLetArgs)(s,r,n),o,i)}lambdaNode(e,t,r,n,o,i){const s=t.map((({name:e})=>{const t=this.printParamName(e.arg.name),r=void 0===e.arg.def?new k(""):this.recordPrePost(e.arg.def.label,this.pre(e.arg.def.label,x),new k(":=").append(this.recordPrePost(e.arg.def.rhs.label,this.pre(e.arg.def.rhs.label,0===e.arg.def.rhs.str.length?I:x),e.arg.def.rhs.str,w)),w);return(0,a.lambdaParam)((0,a.indexedArg)({str:t.append(r),label:e.arg.label,op:void 0},e.index))}));return this.printApplication(e,(0,a.flattenLambdaArgs)(s,r,n),o,i)}parenNode(e,t,r){return new k("(").append(this.recordPrePost(e.label,this.pre(e.label,I),e.str,this.post(e.label,w))).append(t?")":"")}nameNode(e,t,r){const{headResolved:n,node:o}=this.resolver.resolveDottedName(this.locals,(0,a.nameNode)(e,t,r),this.annotations);return y(n.resolution),this.printName(o,n.kind)}cellRefNode(e,t,r){const{node:n,resolution:o}=this.resolver.resolveCellRef(this.locals,(0,a.cellRefNode)(e,t,r));return y(o),this.printCellRef(n)}fieldRefNode(e,t,r){const n=t.shouldBeBracketed,o=t.isBracketed||n?this.localeInfo.leftBracket:"",i=t.isBracketed&&t.isClosed||n?this.localeInfo.rightBracket:"",s=this.record(t.field.label,this.anon(t.field.kind===a.NodeKind.Ident?T(t.field.whole,this.isFieldRefEscapable):t.field.chars)),l=t.field.kind!==a.NodeKind.Ident?this.pre(t.label,I):this.preIfComments(t.label);return e.str.append(this.recordPrePost(t.label,l,new k("."+o).append(s).append(i),this.post(t.label,w)))}structRefNode(e,t,r){const{node:n,table:o,resolution:i}=this.resolver.resolveStructRef(this.locals,(0,a.structRefNode)(e,t,r));y(i);const s=n.rhs.innerRef;let l=void 0===n.lhs?void 0:this.record(n.lhs.label,this.printName(n.lhs,c.ResolvedKind.ResolvedName));if(void 0!==l||void 0===o||!n.rhs.isClosed||s?.kind===a.StructRefKind.ColumnRef||s?.kind===a.StructRefKind.ThisRowOpRef&&s.ref?.kind===a.StructRefKind.ColumnRef||(l=new k(o.name)),void 0===s&&n.rhs.isClosed&&void 0!==l)return l;let u=new k(this.localeInfo.leftBracket);switch(s?.kind){case a.StructRefKind.ColumnRef:case a.StructRefKind.SpecialRef:if(s.kind===a.StructRefKind.SpecialRef&&s.id===a.SpecialRefId.ThisRow&&s.isClosed){u=u.append(this.printThisRowOpRef(void 0,s.label));break}u=u.append(this.printRef(s,s.isClosed?S.Unbracketed:S.Original));break;case a.StructRefKind.RangeOpRef:{const e=(0,h.isRangeOpClosed)(s)&&(0,h.isRangeOpNoMissing)(s)?S.Bracketed:S.Original;u=u.append(this.printRef(s,e));break}case a.StructRefKind.CommaOpRef:{const e=(0,h.isCommaOpRefWellFormed)(s)&&(0,h.isCommaOpClosed)(s)&&(0,h.isCommaOpNoBadOrMissing)(s);if(e&&s.specialRefs[a.SpecialRefId.ThisRow]){u=u.append(this.printThisRowOpRef(0===s.columnRefs.length?void 0:s.columnRefs[0],s.label));break}const t=e?(0,h.normalizeCommaOpRef)(s):s.refs,r=e?1===t.length?S.Unbracketed:S.Bracketed:S.Original;u=u.append(this.record(s.label,A(t.map((e=>this.printRef(e,r))),this.localeInfo.listSeparator)));break}case a.StructRefKind.ThisRowOpRef:u=u.append(this.printThisRowOpRef(s.ref,s.label));break;case a.StructRefKind.BadRef:u=u.append(this.printRef(s,S.Original))}return n.rhs.isClosed&&(u=u.append(this.localeInfo.rightBracket)),(l??new k("")).append(this.record(n.rhs.label,u))}badSequenceNode(e,t,r){return A(t.map((e=>this.recordPrePost(e.label,this.pre(e.label,I),e.str,this.post(e.label,w)))),"")}badCharsNode(e,t,r){return new k(this.anon(t))}operatorNode(e,t){const r=(0,i.operatorIdToName)(this.localeInfo,e,"");if(void 0===r)throw new _((0,h.internal)("Invalid operator"));return new k(r)}wsfNode(e,t,r){return new k(this.localeInfo.getWorksheetFuncName(e))}cellRefError(e){const t=this.localeInfo.errorNames[g.ErrorType.REF];if(null==t)throw new _((0,h.internal)("No locale data for #REF"));return{str:this.record(e,t),label:e}}cellRefSingle(e,t,r,n){const i=(0,o.formatCellPos)(this.localeInfo,this.refStyle,this.locals.originGridCell.value,e,t,this.locals.wrapCellReferences);return void 0!==i?{str:this.record(n,this.anon(i)),label:n}:this.cellRefError(n)}cellRefRange(e,t,r){const n=(0,o.formatRangePos)(this.localeInfo,this.refStyle,this.locals.originGridCell.value,e.row,e.col,t.row,t.col,this.locals.wrapCellReferences);return void 0!==n?{str:this.record(r,this.anon(n)),label:r}:this.cellRefError(r)}cellRefRow(e,t,r,n){const i=(0,o.formatRowRange)(this.localeInfo,this.refStyle,this.locals.originGridCell.value.row,e,t,this.locals.wrapCellReferences);return void 0!==i?{str:this.record(n,this.anon(i)),label:n}:this.cellRefError(n)}cellRefCol(e,t,r,n){const i=(0,o.formatColRange)(this.localeInfo,this.refStyle,this.locals.originGridCell.value.col,e,t,this.locals.wrapCellReferences);return void 0!==i?{str:this.record(n,this.anon(i)),label:n}:this.cellRefError(n)}cellRefBad(e,t,r){return{str:this.record(r,this.anon(e)),label:r}}errorQualifier(e){const t=this.localeInfo.errorNames[g.ErrorType.REF];if(null==t)throw new _((0,h.internal)("No locale data for #REF"));return{str:this.record(e,t),label:e}}relativeQualifier(e){return{str:this.record(e,"!"),label:e}}documentQualifier(e,t,r,n){return{str:this.record(n,(0,o.quoteQualifier)(this.printUnrecordedDocQual((0,a.documentQualifier)(e,t)))+"!"),label:n}}sheetQualifier(e,t,r,n){let i=this.printUnrecordedDocQual(t),a=this.anon(e);const s=(0,o.shouldQuoteQualifier)(this.localeInfo,this.refStyle,(i??"")+a);return s&&(i=i?.replace(f,"''"),a=a.replace(f,"''")),{str:this.record(n,new k(s?"'":"").append(void 0===i?new k(""):this.record(t.label,i)).append(a).append(s?"'":"").append("!")),label:n}}identQualifier(e,t,r){return{str:this.record(r,(0,o.formatQualifier)(this.localeInfo,this.refStyle,this.anon(e))+"!"),label:r}}sheetRangeQualifier(e,t,r,n,i){let a=this.printUnrecordedDocQual(r),s=this.anon(e),l=this.anon(t);const u=(0,o.shouldQuoteQualifier)(this.localeInfo,this.refStyle,(a??"")+s)||(0,o.shouldQuoteQualifier)(this.localeInfo,this.refStyle,l);return u&&(a=a?.replace(f,"''"),s=s.replace(f,"''"),l=l.replace(f,"''")),{str:this.record(i,new k(u?"'":"").append(void 0===a?new k(""):this.record(r.label,a)).append(s).append(":").append(l).append(u?"'":"").append("!")),label:i}}badQualifier(e,t,r,n,o){return{str:this.record(o,this.anon(e)),label:o}}constructor(e,t,r,o){this.root=r,this.anonymize=o,this.labelToRope=[],this.anon=e=>this.anonymize?(0,n.anonymizeFormulaString)(e):e,this.locals=t,this.localeInfo=t.config?.localeInfo??e.config.localeInfo,this.mathpack=e.config.mathpack,this.refStyle=t.config?.refStyle??e.config.refStyle,this.resolver=(0,u.createResolver)(e),this.spans=r.spans,this.annotations=r.annotations;const i=["'",this.localeInfo.leftBracket,this.localeInfo.rightBracket,"#","@"],a=[...i,"\t","\n","\r"," ","!",'"',"$","%","&","(",")","*","+",this.localeInfo.listSeparator,"-",".","/",":",";","<","=",">","?","\\","^","_","`","{","}","~"];this.isStructRefEscapable=C(i),this.isStructRefBracketedThisRef=C(a),this.isFieldRefEscapable=C(["'",this.localeInfo.leftBracket,this.localeInfo.rightBracket])}}const _=(0,h.createFailureErrorClass)("PrintFormulaError"),N=(0,h.createFailureErrorClass)("PrintRangeError");function O(e,t,r,o=!1){try{return(0,n.success)(new D(e,t,r,o).print())}catch(e){return e instanceof _?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)(e))}}function M(e,t){return void 0===e?(0,a.pos)(a.PosKind.Abs,t):(0,a.pos)(a.PosKind.Rel,t-e)}function B(e,t,r){return(0,a.cellRefSingle)(M(e,r.row),M(t,r.col))}function L(e){return(0,n.isSuccess)(e)?((0,n.assertTrue)("calc.lang.printRangeStructRef: NameLoc can't be no-table",null!=e.value),(0,n.success)(e.value)):e.reason.kind===c.ResolveReasonKind.InvalidStructRef?(0,n.assertFalse)("calc.lang.printRangeStructRef: NameLoc can't be InvalidStructRef"):(0,n.failure)(e.reason)}const K={getNamedRanges:()=>(0,n.assertFalse)("calc.lang.prettyPrinter: default getNamedRanges")}},44633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSimplePrintGlobals=function(e){return new a(e)},t.printLocalsGrid=function(e,t,r){return{config:r??void 0,lexicalSource:e,originGridCell:(0,n.success)(t.range),originSheet:(0,n.success)(t.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!1,printRowsAsAbsoluteReferences:!1,printColsAsAbsoluteReferences:!1}},t.printLocalsName=function(e,t,r){return{config:r??void 0,lexicalSource:e,originGridCell:(0,n.success)(t.range),originSheet:(0,n.success)(t.sheet),allowUnqualifiedCell:!1,wrapCellReferences:!0,printRowsAsAbsoluteReferences:!0,printColsAsAbsoluteReferences:!0}};const n=r(52123),o=r(19275),i=r(33156);class a{getDocumentLoc(e,t){return(0,n.success)((0,o.documentLoc)(e,t))}getSheetIndex(e,t){return(0,n.success)(t)}getSheetName(e,t){return(0,n.success)(t)}getNameLoc(e,t){return(0,n.success)(t.indexOf(".")>=0?void 0:(0,o.nameLoc)(e,t))}getUserDefinedFuncLoc(e,t){return(0,n.success)([])}getSheetRangeIndexes(e){if(void 0===e.index)return(0,n.failure)((0,i.notImplemented)(["simplePrintGlobals.getSheetRangeIndexes"]));const t=[e.index];return e.index2!==e.index&&t.push(e.index2),(0,n.success)((0,o.sheetRangeIndexes)(t,0))}getContainingTable(e){return n.successUndefined}getStructRefColumn(e,t){return n.successUndefined}getStructRefSpecialRef(e,t){return n.successUndefined}getNamedRanges(e){return(0,n.success)([])}constructor(e){this.config=e}}},40967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.relabelFormula=function(e,t=function(){let e=1;return()=>e++}()){const{spans:r,annotations:i,depthUpperBound:a}=e,s=[],l=[],u=[],c=[];function d(e){const n=t(),o=r[e];null!=o&&(s[n]=o);const a=i[e];return null!=a&&(l[n]=a),u[e]=n,c[n]=e,n}function p(e){return{...e,label:d(e.label)}}function h(e){if(e.kind===n.CellRefKind.Range){const t=e;return(0,n.cellRefRange)(h(t.ref1),h(t.ref2),d(e.label))}return{...e,label:d(e.label)}}function g(e){return null!=e?(0,n.documentQualifier)(e.document,e.path,e.isQuoted,d(e.label)):void 0}function m(e){return(0,n.fieldRef)(function(e){switch(e.kind){case n.NodeKind.Ident:return b(e);case n.NodeKind.Missing:return(0,n.missingNode)(e.chars,d(e.label));case n.NodeKind.BadChars:return(0,n.badCharsNode)(e.type,e.chars,d(e.label))}}(e.field),e.isBracketed,e.isClosed,e.shouldBeBracketed,d(e.label))}function f(e){switch(e?.kind){case void 0:return;case n.StructRefKind.SpecialRef:return(0,n.specialRef)(e.id,e.isBracketed,e.isClosed,d(e.label));case n.StructRefKind.ColumnRef:return(0,n.columnRef)(e.name,e.isBracketed,e.isClosed,d(e.label));case n.StructRefKind.RangeOpRef:return(0,n.rangeOpRef)(f(e.lhs),f(e.rhs),d(e.label));case n.StructRefKind.CommaOpRef:return(0,n.commaOpRef)(e.refs.map(f),d(e.label));case n.StructRefKind.ThisRowOpRef:return(0,n.thisRowOpRef)(void 0!==e.ref?f(e.ref):void 0,d(e.label));case n.StructRefKind.MissingRef:return(0,n.missingRef)(d(e.label));case n.StructRefKind.BadRef:return(0,n.badRef)(e.chars,e.isBracketed,e.isClosed,d(e.label))}}function v(e,t,r){return(0,n.nameNode)(function(e){const t=(0,n.flattenNameParts)(e),r=(e,{rhs:t,canDenoteNamedObject:r,label:o,qualifiedLabel:i})=>(0,n.fieldRefNamePart)(e,m(t),r,d(o),d(i));if(t.kind===n.NamePartKind.IdentNamePart){const[e,...o]=t.parts,i=(0,n.identNamePart)(e.asWhole,e.canDenoteNamedObject,d(e.label),d(e.qualifiedLabel));return o.reduce(r,i)}const[o,i,...a]=t.parts,s=(0,n.cellRefNamePart)(h(o.ref),o.asWhole,d(o.label),d(o.qualifiedLabel));return a.reduce(r,r(s,i))}(e),function(e){if(null!=e)return e.kind===n.QualifierKind.Sheet||e.kind===n.QualifierKind.SheetRange?{...e,document:g(e.document),label:d(e.label)}:{...e,label:d(e.label)}}(t),d(r))}function b({whole:e,label:t}){return(0,n.identNode)(e,d(t))}const y={literalNode:(e,t,r)=>(0,n.literalNode)(e,t,d(r)),arrayNode:(e,t,r)=>(0,n.arrayNode)(e,t,d(r)),appNode:(e,t,r,o)=>(0,n.appNode)(e,t,r,d(o)),letNode:(e,t,r,o,i,a)=>(0,n.letNode)(e,t.map((({name:e,binder:t})=>(0,n.letVar)((0,n.indexedArg)(function({name:e,label:t}){return(0,n.varNode)(b(e),d(t))}(e.arg),e.index),t))),r,o,i,d(a)),lambdaNode:(e,t,r,o,i,a)=>(0,n.lambdaNode)(e,t.map((({name:e})=>(0,n.lambdaParam)((0,n.indexedArg)(function(e){const t=(0,n.paramName)(function(e){switch(e.kind){case n.NodeKind.Ident:return b(e);case n.NodeKind.Missing:return(0,n.missingNode)(e.chars,d(e.label));case n.NodeKind.BadChars:return(0,n.badCharsNode)(e.type,e.chars,d(e.label))}}(e.name.name),e.name.isBracketed,e.name.isClosed,d(e.name.label)),r=void 0===e.def?void 0:(0,n.paramDefault)(e.def.rhs,d(e.def.label));return(0,n.paramNode)(t,r,d(e.label))}(e.arg),e.index)))),r,o,i,d(a)),parenNode:(e,t,r)=>(0,n.parenNode)(e,t,d(r)),nameNode:(e,t,r)=>v(e,t,r),cellRefNode:(e,t,r)=>(0,n.cellRefNode)(h(e),function(e){if(null!=e)return e.kind===n.QualifierKind.Sheet||e.kind===n.QualifierKind.SheetRange?{...e,document:g(e.document),label:d(e.label)}:{...e,label:d(e.label)}}(t),d(r)),fieldRefNode:(e,t,r)=>(0,n.fieldRefNode)(e,m(t),d(r)),structRefNode(e,t,r){return(0,n.structRefNode)(void 0===e?void 0:function({parts:e,qualifier:t,label:r}){return v(e,t,r)}(e),(o=t,(0,n.structRef)(f(o.innerRef),o.isClosed,d(o.label))),d(r));var o},missingNode:(e,t)=>(0,n.missingNode)(e,d(t)),badSequenceNode:(e,t,r)=>(0,n.badSequenceNode)(e,t,d(r)),badCharsNode:(e,t,r)=>(0,n.badCharsNode)(e,t,d(r)),operatorNode:(e,t)=>(0,n.operatorNode)(e,d(t)),wsfNode:(e,t,r)=>(0,n.wsfNode)(e,t,d(r))},S=(0,n.formula)((0,o.reduceBottomUp)(y,e),s,l,a);for(const e of Object.keys(l)){const t=Number(e),r=l[t];switch(r?.kind){case n.AnnotationKind.LocalNameUse:l[t]=(0,n.localNameUseAnnotation)(r.name,r.whole,u[r.label]);break;case n.AnnotationKind.LocalNameDecl:l[t]=(0,n.localNameDeclAnnotation)(r.name,r.whole,r.uses.map((({label:e})=>({label:u[e]}))))}}for(const e of Object.keys(s).map(Number)){const t=s[e],r=t?.preComments,n=t?.postComments;(r||n)&&(s[e]={...t,preComments:r?r.map(p):void 0,postComments:n?n.map(p):void 0})}return{formula:S,oldToNewLabel:u,newToOldLabel:c}};const n=r(41472),o=r(98400)},97083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDenoteLocalName=g,t.canDenoteUserDefinedFunc=m,t.canDenoteCellRef=f,t.resolveGridRef=C,t.createResolver=function(e){function t(t,r){if(void 0===r){const e=t.originSheet;return(0,n.isSuccess)(e)?[r,(0,n.success)(e.value.document)]:[r,e]}const o=e.getDocumentLoc(r.path,r.document);if(!(0,n.isSuccess)(o))return[r,o];if((0,n.isNone)(o.value))return[r,(0,n.failure)((0,s.invalidQualifier)(s.InvalidQualifierReason.UndefinedDocument))];const a=null==r.path?void 0:o.value.path,l=o.value.name;return[(0,i.documentQualifier)(l,a,r.isQuoted,r.label),(0,n.success)(o.value)]}function r(t,r){if(c(r))return[t,r];const o=u(e.getSheetIndex(r.value,t));if(!(0,n.isSuccess)(o))return[t,o];if((0,n.isNone)(o.value))return[t,(0,n.failure)((0,s.invalidQualifier)(s.InvalidQualifierReason.UndefinedSheetName))];const i=e.getSheetName(r.value,o.value);return(0,n.isSuccess)(i)?[i.value,(0,n.success)((0,a.sheetIndex)(r.value,o.value))]:[t,i]}function o(e,n){const[o,a]=t(e,n.document),[s,l]=r(n.sheet,a);return[(0,i.sheetQualifier)(s,o,n.isQuoted,n.label),l]}function d(u,d){const{qualifier:p,ref:h}=d,g=C(u,h);let m,f,v;if(void 0===p||p.kind===i.QualifierKind.Relative){m=p;const e=u.originSheet;if((0,n.isSuccess)(e)){const t=e.value;f=void 0===t.index?(0,n.failure)((0,s.noOriginSheet)(t)):(0,n.success)(t)}else f=e}else[m,f]=function(u,d){switch(d.kind){case i.QualifierKind.Error:return[d,n.successUndefined];case i.QualifierKind.Sheet:return o(u,d);case i.QualifierKind.SheetRange:return function(o,s){const[u,d]=t(o,s.document),[p,h]=r(s.sheet1,d),[g,m]=r(s.sheet2,d);let f,v=p,b=g;if(c(d))f=d;else if(c(h))f=h;else if(c(m))f=m;else{if((0,l.isSheetIndexEqual)(h.value,m.value))return[(0,i.sheetQualifier)(v,u,s.isQuoted,s.label),(0,n.success)((0,a.sheetIndex)(d.value,h.value.index))];{const t=e.getSheetRangeIndexes(h.value),r=e.getSheetRangeIndexes(m.value);(0,n.isSuccess)(t)?(0,n.isSuccess)(r)?r.value.position<t.value.position&&(v=g,b=p):f=r:f=t,f=(0,n.success)((0,a.sheetRange)(d.value,h.value.index,m.value.index))}}return[(0,i.sheetRangeQualifier)(v,b,u,s.isQuoted,s.label),f]}(u,d);case i.QualifierKind.Document:return[d,(0,n.failure)((0,s.invalidQualifier)(s.InvalidQualifierReason.SheetRangeName))];case i.QualifierKind.Bad:return[d,(0,n.failure)((0,s.invalidQualifier)(s.InvalidQualifierReason.BadQualifier))];default:return(0,n.assertNever)("calc.lang.Resolver.resolveCellRefQualifier",d)}}(u,p);return v=c(g)?g:c(f)?f:(0,n.success)((0,a.sheetGridCube)(f.value,g.value)),(0,s.resolvedCellRef)((0,i.cellRefNode)(h,m,d.label),v)}function v(r,l,d){const{qualifier:p,parts:h}=l;let g,m,f;const v=[];if(void 0===p||p.kind===i.QualifierKind.Relative){const e=r.originSheet;if(!(0,n.isSuccess)(e))return(0,s.resolvedName)(l,e,l.qualifier?.kind,v);const t=e.value;if(d!==a.NameSource.StructRef&&void 0===t.index)return(0,s.resolvedName)(l,(0,n.failure)((0,s.noOriginSheet)(t)),l.qualifier?.kind,v);g=p,f=p?.kind,m=(0,n.success)(t)}else[g,f,m]=function(e,r){switch(r.kind){case i.QualifierKind.Document:{const[o,i]=t(e,r);return[o,o.kind,c(i)?i:(0,n.success)((0,a.documentScope)(i.value))]}case i.QualifierKind.Sheet:{const[t,n]=o(e,r);return[t,t.kind,n]}case i.QualifierKind.SheetRange:return[r,r.kind,(0,n.failure)((0,s.invalidQualifier)(s.InvalidQualifierReason.SheetRangeName))];case i.QualifierKind.Ident:{const l=(0,i.sheetQualifier)(r.name,void 0,r.isQuoted,r.label),[u,d]=o(e,l);if(!(0,n.isSuccess)(d)&&d.reason.kind!==s.ResolveReasonKind.InvalidQualifier)return[r,r.kind,d];if((0,n.isSuccess)(d)&&void 0!==d.value)return[(0,i.identQualifier)(u.sheet,u.isQuoted,u.label),u.kind,d];const p=(0,i.documentQualifier)(r.name,void 0,r.isQuoted,r.label),[h,g]=t(e,p);return c(g)?[r,r.kind,g]:[(0,i.identQualifier)(h.document,h.isQuoted,h.label),h.kind,(0,n.success)((0,a.documentScope)(g.value))]}case i.QualifierKind.Bad:return[r,r.kind,(0,n.failure)((0,s.invalidQualifier)(s.InvalidQualifierReason.BadQualifier))];default:return(0,n.assertNever)("calc.lang.Resolver.resolveNameQualifier",r)}}(r,p);d===a.NameSource.StructRef&&(0,n.isSuccess)(m)&&void 0!==m.value.index&&(m=(0,n.success)((0,a.documentScope)(m.value.document)));let b,y=h;return c(m)?b=m:(v.push((0,a.nameLoc)(m.value,h.asWhole)),b=u(e.getNameLoc(m.value,h.asWhole,d)),(0,n.isSuccess)(b)&&void 0===b.value&&void 0!==m.value.index&&(m=(0,n.success)((0,a.documentScope)(m.value.document)),v.push((0,a.nameLoc)(m.value,h.asWhole)),b=u(e.getNameLoc(m.value,h.asWhole,d))),c(b)||(y=(0,i.identNamePart)(b.value.name,h.canDenoteNamedObject,h.label,h.qualifiedLabel))),(0,s.resolvedName)((0,i.nameNode)(y,g,l.label),b,f,v)}function b(t,r,o=!1){const l=e.getStructRefColumn(t,r.name);if(!(0,n.isSuccess)(l))return{kind:i.StructRefKind.ColumnRef,innerRef:r,resolution:l};const u=l.value;if((0,n.isNone)(u))return{kind:i.StructRefKind.ColumnRef,innerRef:r,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.UndefinedColumnName))};let c=u.range.range;return o&&(c=(0,a.gridRange)(c.row-(u.hasHeadersRow?1:0),c.col,c.rows+(u.hasHeadersRow?1:0)+(u.hasTotalsRow?1:0),c.cols)),{kind:i.StructRefKind.ColumnRef,innerRef:(0,i.columnRef)(u.name,r.isBracketed,r.isClosed,r.label),resolution:(0,n.success)((0,a.sheetGridRange)(u.range.sheet,c))}}function y(t,r,o){if(o===i.SpecialRefId.ThisRow){if(!(0,n.isSuccess)(t.originGridCell))return t.originGridCell;const e=y(t,r,i.SpecialRefId.Data);if(c(e))return e;const o=e.value.range,l=t.originGridCell.value.row;return l<o.row||l>=o.row+o.rows?(0,n.failure)(s.emptyIntersection):(0,n.success)((0,a.sheetGridRange)(e.value.sheet,(0,a.gridRange)(l,o.col,1,o.cols)))}return u(e.getStructRefSpecialRef(r,o))}function S(e,t,r){switch(t.kind){case i.StructRefKind.ColumnRef:return b(e,t,r);case i.StructRefKind.MissingRef:return{kind:i.StructRefKind.MissingRef,innerRef:t,resolution:n.successUndefined}}}function T(e,t,r=!1){const{innerRef:o,resolution:u}=S(e,t.lhs,r),{innerRef:c,resolution:d}=S(e,t.rhs,r),p=(0,i.rangeOpRef)(o,c,t.label);if(!(0,n.isSuccess)(u)&&u.reason.kind!==s.ResolveReasonKind.InvalidStructRef)return{kind:i.StructRefKind.RangeOpRef,innerRef:p,resolution:u};if(!(0,n.isSuccess)(d)&&d.reason.kind!==s.ResolveReasonKind.InvalidStructRef)return{kind:i.StructRefKind.RangeOpRef,innerRef:p,resolution:d};if(!(0,n.isSuccess)(u))return{kind:i.StructRefKind.RangeOpRef,innerRef:p,resolution:u};if(!(0,n.isSuccess)(d))return{kind:i.StructRefKind.RangeOpRef,innerRef:p,resolution:d};let h,g;if(void 0!==u.value)h=u.value.sheet,g=(0,l.gridRangeJoinOpt)(u.value.range,d.value?.range);else{if(void 0===d.value)return{kind:i.StructRefKind.RangeOpRef,innerRef:p,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOp))};h=d.value.sheet,g=d.value.range}return{kind:i.StructRefKind.RangeOpRef,innerRef:p,resolution:(0,n.success)((0,a.sheetGridRange)(h,g))}}function k(r,o){const{qualifier:u,parts:d}=o,p=r.config?.localeInfo??e.config.localeInfo;let h,g,m,f;if(void 0===u){const e=r.originSheet;if(!(0,n.isSuccess)(e))return(0,s.resolvedUserDefinedFunc)(o,e,[],d.asWhole);h=u,g=(0,n.success)(e.value.document)}else[h,g]=function(e,r){switch(r.kind){case i.QualifierKind.Document:return t(e,r);case i.QualifierKind.Ident:{const n=(0,i.documentQualifier)(r.name,void 0,r.isQuoted,r.label),[o,a]=t(e,n);return[(0,i.identQualifier)(o.document,o.isQuoted,o.label),a]}default:return(0,n.assertNever)("calc.lang.Resolver.resolveUserDefinedFuncQualifier",r)}}(r,u);let v=d.asWhole;if(c(g))f=g,m=[];else{v=(0,l.getUserDefinedFuncName)(p,d.asWhole);const t=e.getUserDefinedFuncLoc(g.value,v);m=[(0,a.userDefinedFuncLoc)(g.value,v)],f=(0,n.isSuccess)(t)?0!==t.value.length?t:n.successUndefined:t}return(0,s.resolvedUserDefinedFunc)((0,i.nameNode)((0,i.identNamePart)(v,d.canDenoteNamedObject,d.label,d.qualifiedLabel),h,o.label),f,m,v)}return{resolveGridRef:C,resolveCellRef:d,resolveName:v,resolveStructRef:function(t,r){const{lhs:o,rhs:u}=r;let d,p,h=o;if(void 0!==o){const{node:e,resolution:i,precedents:l}=v(t,o,a.NameSource.StructRef),u=i;if(!(0,n.isSuccess)(u))return(0,s.resolvedStructRef)(r,void 0,u,l);if((0,n.isNone)(u.value))return(0,s.resolvedStructRef)(r,void 0,(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.UndefinedTableName)),l);h=e,d=u.value,p=l}else{const{originGridCell:o,originSheet:i}=t;if(!(0,n.isSuccess)(o))return(0,s.resolvedStructRef)(r,void 0,o,[]);if(!(0,n.isSuccess)(i))return(0,s.resolvedStructRef)(r,void 0,i,[]);if(void 0===i.value.index)return(0,s.resolvedStructRef)(r,void 0,(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOriginSheet)),[]);const l=e.getContainingTable((0,a.sheetGridCell)(i.value,o.value));if(!(0,n.isSuccess)(l))return(0,s.resolvedStructRef)(r,void 0,l,[]);if((0,n.isNone)(l.value))return(0,s.resolvedStructRef)(r,void 0,(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.MissingTableName)),[]);d=l.value,p=[d]}const{structRef:g,resolution:m}=function(e,t,r){switch(r.innerRef?.kind){case i.StructRefKind.ColumnRef:{const{innerRef:e,resolution:n}=b(t,r.innerRef);return{structRef:(0,i.structRef)(e,r.isClosed,r.label),resolution:n}}case i.StructRefKind.RangeOpRef:{const{innerRef:e,resolution:n}=T(t,r.innerRef);return{structRef:(0,i.structRef)(e,r.isClosed,r.label),resolution:n}}case void 0:return{structRef:r,resolution:y(e,t,i.SpecialRefId.Data)};case i.StructRefKind.SpecialRef:return{structRef:r,resolution:y(e,t,r.innerRef.id)};case i.StructRefKind.CommaOpRef:{const{commaOpRef:o,resolution:u}=function(e,t,r){const o=r.refs.map((r=>function(e,t,r){switch(r.kind){case i.StructRefKind.ColumnRef:return b(t,r,!0);case i.StructRefKind.SpecialRef:return{kind:i.StructRefKind.SpecialRef,innerRef:r,resolution:y(e,t,r.id)};case i.StructRefKind.RangeOpRef:return T(t,r,!0);case i.StructRefKind.MissingRef:return{kind:i.StructRefKind.MissingRef,innerRef:r,resolution:n.successUndefined};case i.StructRefKind.BadRef:return{kind:i.StructRefKind.BadRef,innerRef:r,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOp))}}}(e,t,r))),u=(0,i.commaOpRef)(o.map((e=>e.innerRef)),r.label);for(const{resolution:e}of o)if(!(0,n.isSuccess)(e)&&e.reason.kind!==s.ResolveReasonKind.InvalidStructRef)return{commaOpRef:u,resolution:e};const c=[];for(const e of o){if(!(0,n.isSuccess)(e.resolution)||e.kind===i.StructRefKind.BadRef)return{commaOpRef:u,resolution:e.resolution};c.push((e.kind===i.StructRefKind.SpecialRef||(e.kind,i.StructRefKind.MissingRef),{kind:e.kind,resolution:e.resolution}))}if(!(0,l.isCommaOpRefWellFormed)(r))return{commaOpRef:u,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOp))};let d,p;for(const e of c)e.kind===i.StructRefKind.SpecialRef&&(d=(0,l.gridRangeJoinOpt)(d,e.resolution.value?.range),void 0===p&&(p=e.resolution.value?.sheet));if(void 0===d||void 0===p)return{commaOpRef:u,resolution:n.successUndefined};for(const e of c)if(e.kind!==i.StructRefKind.SpecialRef&&e.kind!==i.StructRefKind.MissingRef&&(d=(0,l.gridRangeIsect)(d,e.resolution.value.range),void 0===d))return{commaOpRef:u,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOp))};return{commaOpRef:u,resolution:(0,n.success)((0,a.sheetGridRange)(p,d))}}(e,t,r.innerRef);return{structRef:(0,i.structRef)(o,r.isClosed,r.label),resolution:u}}case i.StructRefKind.ThisRowOpRef:{const o=y(e,t,i.SpecialRefId.ThisRow);if(c(o)||void 0===r.innerRef.ref)return{structRef:r,resolution:o};const{innerRef:u,resolution:d}=r.innerRef.ref.kind===i.StructRefKind.ColumnRef?b(t,r.innerRef.ref):T(t,r.innerRef.ref),p=(0,i.thisRowOpRef)(u,u.label);if(c(d))return{structRef:(0,i.structRef)(p,r.isClosed,r.label),resolution:d};const h=(0,l.gridRangeIsect)(o.value.range,d.value.range);return h?{structRef:(0,i.structRef)(p,r.isClosed,r.label),resolution:(0,n.success)((0,a.sheetGridRange)(o.value.sheet,h))}:{structRef:r,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOp))}}case i.StructRefKind.BadRef:return{structRef:r,resolution:(0,n.failure)((0,s.invalidStructRef)(s.InvalidStructRefReason.InvalidOp))}}}(t,d,u);return(0,s.resolvedStructRef)(m.kind===n.ResultKind.Failure&&m.reason.kind!==s.ResolveReasonKind.EmptyIntersection?r:(0,i.structRefNode)(h,g,r.label),d,m,p)},resolveUserDefinedFunc:k,resolveDottedName:function(t,r,o){const u=r.parts,c=r.qualifier,b={names:new Array,udfs:new Array},y=o[r.label],S=y?.kind===i.AnnotationKind.AppHeadName,C=(0,i.flattenNameParts)(u).parts,T=(0,i.nameNode)((0,i.identNamePart)(u.asWhole,u.canDenoteNamedObject,u.label,u.qualifiedLabel),c,r.label);if(g(c,C)){const[e,...t]=C,a=function(e,t){const r=t[e.label],o=r?.kind===i.AnnotationKind.LocalNameUse?r:void 0;return(0,s.resolvedLocalName)((0,i.nameNode)((0,i.identNamePart)(o?.name??e.asWhole,e.canDenoteNamedObject,e.label,e.qualifiedLabel),void 0,e.qualifiedLabel),(0,n.success)(o))}(e,o);if(void 0!==a.resolution.value)return(0,s.resolvedDottedName)((0,i.nameNode)(t.reduce(h,a.node.parts),c,r.label),a,t.map(p),b)}let F;const E=()=>{if(!F)return!1;const e=F.headResolved.resolution;return e.kind!==n.ResultKind.Success&&e.reason.kind!==s.ResolveReasonKind.InvalidQualifier||e.kind===n.ResultKind.Success&&void 0!==e.value};if(u.canDenoteNamedObject){const e=v(t,T,S?a.NameSource.AppHead:a.NameSource.Plain);if((0,n.safePush)(b.names,e.precedents),F=(0,s.resolvedDottedName)(e.node,e,[],b),E())return F}if(m(S,c,u)){const e=k(t,T);if((0,n.safePush)(b.udfs,e.precedents),F=(0,s.resolvedDottedName)(e.node,e,[],b),E())return F}if(f(t,c,C)){const[e,...o]=C,a=null!=c&&c.kind===i.QualifierKind.Ident?(0,i.sheetQualifier)(c.name,void 0,c.isQuoted,c.label):c,l=d(t,(0,i.cellRefNode)(e.ref,a,e.qualifiedLabel)),h=l.node.qualifier;return(0,n.assertTrue)("calc.lang.Resolver.resolveDottedName: resolveCellRef doesn't generate ErrorQualifier",h?.kind!==i.QualifierKind.Error),(0,n.assertTrue)("calc.lang.Resolver.resolveDottedName: resolveCellRef doesn't touch ref",l.node.ref===e.ref),F=(0,s.resolvedDottedName)((0,i.nameNode)(u,h,r.label),l,o.map(p),b),F}if((0,l.isUnqualifiedNameNode)(r)&&(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.CalcEtaLambda")&&(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.EtaReducedLambdas")){const o=function(t,r){const o=t.config?.localeInfo??e.config.localeInfo,a=(0,l.getEtaFuncId)(o,r.whole),u=r.parts;return(0,s.resolvedWorksheetFunc)((0,i.nameNode)((0,i.identNamePart)(void 0!==a?o.getWorksheetFuncName(a):u.asWhole,u.canDenoteNamedObject,u.label,u.qualifiedLabel),void 0,u.qualifiedLabel),(0,n.success)(a))}(t,r);if(void 0!==o.resolution.value)return(0,s.resolvedDottedName)(o.node,o,[],b)}return void 0!==F?F:(0,s.resolvedDottedName)(r,(0,s.resolvedNever)(T),[],b)}}};const n=r(52123),o=r(103),i=r(41472),a=r(19275),s=r(89990),l=r(33156);function u(e){return(0,n.isSuccess)(e)&&(0,n.isNone)(e.value)?n.successUndefined:e}function c(e){return!(0,n.isSuccess)(e)||void 0===e.value}const d=e=>e.rhs.field.kind===i.NodeKind.Ident,p=e=>e.rhs.field.whole,h=(e,t)=>(0,i.fieldRefNamePart)(e,t.rhs,t.canDenoteNamedObject,t.label,t.qualifiedLabel);function g(e,t){const[r,...n]=t;return r.kind===i.NamePartKind.IdentNamePart&&null==e&&n.every(d)}function m(e,t,r){return r.canDenoteNamedObject&&e&&(void 0===t||t.kind===i.QualifierKind.Document||t.kind===i.QualifierKind.Ident)}function f(e,t,r){const[n,...o]=r;return n.kind===i.NamePartKind.CellRefNamePart&&(null==t&&e.allowUnqualifiedCell||null!=t&&t.kind!==i.QualifierKind.Document)&&o.every(d)}function v(e,t,r,a,s){return r.kind===i.PosKind.Abs?(0,n.success)(r.index):(0,n.isSuccess)(e)?(0,n.success)((0,o.resolvePosition)(t(e.value),r,a,s)):e}const b=({row:e})=>e,y=({col:e})=>e;function S(e,t,r){const o=v(e,b,t.row,a.sheetRows,r),i=v(e,y,t.col,a.sheetCols,r);return(0,n.isSuccess)(o)?(0,n.isSuccess)(i)?void 0===o.value||void 0===i.value?n.successUndefined:(0,n.success)((0,a.gridCell)(o.value,i.value)):i:o}function C(e,t){if(t.kind===i.CellRefKind.Error)return n.successUndefined;const r=e.originGridCell,o=e.wrapCellReferences;switch(t.kind){case i.CellRefKind.Single:return S(r,t,o);case i.CellRefKind.Range:{const e=S(r,t.ref1,o),i=S(r,t.ref2,o);return(0,n.isSuccess)(e)?(0,n.isSuccess)(i)?void 0===e.value||void 0===i.value?n.successUndefined:(0,n.success)((0,l.gridCellRange)(e.value,i.value)):i:e}case i.CellRefKind.Row:{const e=v(r,b,t.row1,a.sheetRows,o),i=v(r,b,t.row2,a.sheetRows,o);return(0,n.isSuccess)(e)?(0,n.isSuccess)(i)?void 0===e.value||void 0===i.value?n.successUndefined:(0,n.success)((0,l.gridCellRange)((0,a.gridCell)(e.value,0),(0,a.gridCell)(i.value,a.sheetCols-1))):i:e}case i.CellRefKind.Col:{const e=v(r,y,t.col1,a.sheetCols,o),i=v(r,y,t.col2,a.sheetCols,o);return(0,n.isSuccess)(e)?(0,n.isSuccess)(i)?void 0===e.value||void 0===i.value?n.successUndefined:(0,n.success)((0,l.gridCellRange)((0,a.gridCell)(0,e.value),(0,a.gridCell)(a.sheetRows-1,i.value))):i:e}case i.CellRefKind.Bad:return(0,n.failure)((0,s.invalidCellRef)(s.InvalidCellRefReason.BadCellRef));default:return(0,n.assertNever)("calc.lang.Resolver.resolveGridRef",t)}}},89990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolvedDottedName=t.resolvedNever=t.resolvedStructRef=t.resolvedLocalName=t.resolvedWorksheetFunc=t.resolvedUserDefinedFunc=t.resolvedCellRef=t.resolvedName=t.ResolvedKind=t.emptyIntersection=t.InvalidStructRefReason=t.InvalidCellRefReason=t.InvalidQualifierReason=t.ResolveReasonKind=void 0,t.resolveLocalsGrid=function(e){return{originGridCell:(0,n.success)(e.range),originSheet:(0,n.success)(e.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!1}},t.noOriginSheet=function(e){return{kind:o.NoOriginSheet,origin:e}},t.invalidQualifier=function(e){return{kind:o.InvalidQualifier,reason:e}},t.invalidCellRef=function(e){return{kind:o.InvalidCellRef,reason:e}},t.invalidStructRef=function(e){return{kind:o.InvalidStructRef,reason:e}};const n=r(52123);var o,i,a,s,l;!function(e){e.NoOriginSheet="NoOriginSheet",e.InvalidQualifier="InvalidQualifier",e.InvalidCellRef="InvalidCellRef",e.InvalidStructRef="InvalidStructRef",e.EmptyIntersection="EmptyIntersection"}(o||(t.ResolveReasonKind=o={})),function(e){e.UndefinedDocument="UndefinedDocument",e.UndefinedSheetName="UndefinedSheetName",e.SheetRangeName="SheetRangeName",e.DocumentCellRef="DocumentCellRef",e.BadQualifier="BadQualifier"}(i||(t.InvalidQualifierReason=i={})),function(e){e.BadCellRef="BadCellRef"}(a||(t.InvalidCellRefReason=a={})),function(e){e.UndefinedColumnName="UndefinedColumnName",e.UndefinedTableName="UndefinedTableName",e.InvalidOriginSheet="InvalidOriginSheet",e.InvalidOp="InvalidOp",e.MissingTableName="MissingTableName",e.NamedObjectNotTable="NamedObjectNotTable"}(s||(t.InvalidStructRefReason=s={})),t.emptyIntersection={kind:o.EmptyIntersection},function(e){e.ResolvedName="ResolvedName",e.ResolvedCellRef="ResolvedCellRef",e.ResolvedUserDefinedFunc="ResolvedUserDefinedFunc",e.ResolvedWorksheetFunc="ResolvedWorksheetFunc",e.ResolvedLocalName="ResolvedLocalName",e.ResolvedStructRef="ResolvedStructRef",e.ResolvedNever="ResolvedNever",e.ResolvedDottedName="ResolvedDottedName"}(l||(t.ResolvedKind=l={})),t.resolvedName=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:l.ResolvedName,node:e,resolution:t,qualifierResolution:r,precedents:n}))),t.resolvedCellRef=(0,n.typedInstanceCreator)()(((e,t)=>({kind:l.ResolvedCellRef,node:e,resolution:t}))),t.resolvedUserDefinedFunc=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:l.ResolvedUserDefinedFunc,node:e,resolution:t,precedents:r,name:n}))),t.resolvedWorksheetFunc=(0,n.typedInstanceCreator)()(((e,t)=>({kind:l.ResolvedWorksheetFunc,node:e,resolution:t}))),t.resolvedLocalName=(0,n.typedInstanceCreator)()(((e,t)=>({kind:l.ResolvedLocalName,node:e,resolution:t}))),t.resolvedStructRef=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:l.ResolvedStructRef,node:e,table:t,resolution:r,precedents:n}))),t.resolvedNever=(0,n.typedInstanceCreator)()((e=>({kind:l.ResolvedNever,node:e,resolution:n.successUndefined}))),t.resolvedDottedName=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:l.ResolvedDottedName,node:e,headResolved:t,fieldsResolved:r,precedents:n})))},12724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeGridRangeTable=function(){return n.rTree.RTree.create(o.gridRangeJoin,o.gridRangeIsects,o.gridRangeCompare,i)};const n=r(52123),o=r(33156);function i(e,t){const{row:r,col:o,rows:i,cols:a}=e,{row:s,col:l,rows:u,cols:c}=t;return(0,n.fastAbs)(r-s+.5*(i-u))+(0,n.fastAbs)(o-l+.5*(a-c))}},26460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operatorStrings=t.OperatorId=t.unknownFunctionType=t.WorksheetFuncId=void 0,t.higherOrderFunctionType=function(){const e=i.OperKind.Number|i.OperKind.String|i.OperKind.Boolean|i.OperKind.Rich|i.OperKind.Error|i.OperKind.Blank|((0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaCellValues)?0:i.OperKind.Range)|((0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaArrayLifting)?0:i.OperKind.Array),t=i.OperKind.Number|i.OperKind.String|i.OperKind.Boolean|i.OperKind.Rich|i.OperKind.Error|i.OperKind.Blank|i.OperKind.Missing|i.OperKind.Array|i.OperKind.Range;return(0,i.functionType)(1,255,[e],[t],[],i.SignatureType.All,i.SpecialPrecs.None,i.FunctionFlags.Allow3dRef|i.FunctionFlags.AllowLStrs)},t.getOperatorType=function(e){const r=v[e];return null!=r?r:t.unknownFunctionType},t.getWorksheetFuncType=b,t.getWorksheetFuncEnglishName=function(e){return o.worksheetFuncEnglishNames[e]},t.isVolatileFunc=function(e){return 0!=(b(e).staticPrecs&(i.SpecialPrecs.Time|i.SpecialPrecs.Calc))};const n=r(52123),o=r(35097);Object.defineProperty(t,"WorksheetFuncId",{enumerable:!0,get:function(){return o.WorksheetFuncId}});const i=r(20759);var a;t.unknownFunctionType=(0,i.functionType)(0,254,[],[i.SignatureType.All],[],i.SignatureType.All,i.SpecialPrecs.All,i.FunctionFlags.AllowLStrs),function(e){e[e.Add=1]="Add",e[e.Sub=2]="Sub",e[e.Mul=3]="Mul",e[e.Div=4]="Div",e[e.Pow=5]="Pow",e[e.Percent=6]="Percent",e[e.Neg=7]="Neg",e[e.Pos=8]="Pos",e[e.Concat=9]="Concat",e[e.Eq=10]="Eq",e[e.Ne=11]="Ne",e[e.Lt=12]="Lt",e[e.Le=13]="Le",e[e.Gt=14]="Gt",e[e.Ge=15]="Ge",e[e.Range=16]="Range",e[e.Isect=17]="Isect",e[e.Union=18]="Union",e[e.And=19]="And",e[e.Or=20]="Or",e[e.Xor=21]="Xor",e[e.Min=22]="Min",e[e.Max=23]="Max",e[e.At=24]="At",e[e.Pound=25]="Pound"}(a||(t.OperatorId=a={})),t.operatorStrings=[void 0,"+","-","*","/","^","%","-","+","&","=","<>","<","<=",">",">=",":",void 0,void 0,"&&","||","^^",void 0,void 0,"@","#"];const s=i.OperKind.Number|i.OperKind.String|i.OperKind.Boolean|i.OperKind.Blank,l=i.OperKind.Number|i.OperKind.String|i.OperKind.Boolean|i.OperKind.Blank,u=(0,i.functionType)(2,2,[i.OperKind.Number,i.OperKind.Number],[],[],i.OperKind.Number,i.SpecialPrecs.None,i.FunctionFlags.None),c=(0,i.functionType)(1,1,[i.OperKind.Number],[],[],i.OperKind.Number,i.SpecialPrecs.None,i.FunctionFlags.None),d=(0,i.functionType)(1,1,[s],[],[],s,i.SpecialPrecs.None,i.FunctionFlags.AllowLStrs),p=(0,i.functionType)(2,2,[i.OperKind.String,i.OperKind.String],[],[],i.OperKind.String,i.SpecialPrecs.None,i.FunctionFlags.AllowLStrs),h=(0,i.functionType)(2,2,[l,l],[],[],i.OperKind.Boolean,i.SpecialPrecs.None,i.FunctionFlags.AllowLStrs),g=(0,i.functionType)(2,2,[i.OperKind.Range,i.OperKind.Range],[],[],i.OperKind.Range,i.SpecialPrecs.AllCells,i.FunctionFlags.None),m=(0,i.functionType)(2,2,[i.OperKind.Range,i.OperKind.Range],[],[],i.OperKind.Range,i.SpecialPrecs.None,i.FunctionFlags.None),f=(0,i.functionType)(2,2,[i.OperKind.Boolean,i.OperKind.Boolean],[],[],i.OperKind.Boolean,i.SpecialPrecs.None,i.FunctionFlags.None),v=[];function b(e){const r=o.worksheetFuncTypes[e];return null!=r?r:t.unknownFunctionType}function y(e,t){const r=o.worksheetFuncTypes[e];null!=r&&(r.staticPrecs=t)}v[a.Add]=u,v[a.Sub]=u,v[a.Mul]=u,v[a.Div]=u,v[a.Pow]=u,v[a.Percent]=c,v[a.Neg]=c,v[a.At]=o.worksheetFuncTypes[o.WorksheetFuncId.SINGLE],v[a.Pound]=o.worksheetFuncTypes[o.WorksheetFuncId.ANCHORARRAY],v[a.Pos]=d,v[a.Concat]=p,v[a.Eq]=h,v[a.Ne]=h,v[a.Lt]=h,v[a.Le]=h,v[a.Gt]=h,v[a.Ge]=h,v[a.Range]=g,v[a.Isect]=m,v[a.Union]=m,v[a.And]=f,v[a.Or]=f,v[a.Xor]=f,v[a.Min]=u,v[a.Max]=u,y(o.WorksheetFuncId.ROW,i.SpecialPrecs.OwnRow),y(o.WorksheetFuncId.COLUMN,i.SpecialPrecs.OwnCol),y(o.WorksheetFuncId.SHEET,i.SpecialPrecs.OwnDocSheets),y(o.WorksheetFuncId.SHEETS,i.SpecialPrecs.OwnDocSheets),y(o.WorksheetFuncId.OFFSET,i.SpecialPrecs.AllCells),y(o.WorksheetFuncId.INDIRECT,i.SpecialPrecs.AllCells),y(o.WorksheetFuncId.SUMIF,i.SpecialPrecs.AllCells),y(o.WorksheetFuncId.AVERAGEIF,i.SpecialPrecs.AllCells),y(o.WorksheetFuncId.LOOKUP,i.SpecialPrecs.AllCells),y(o.WorksheetFuncId.ADDRESS,i.SpecialPrecs.RefStyle),y(o.WorksheetFuncId.FORMULATEXT,i.SpecialPrecs.RefStyle),y(o.WorksheetFuncId.NOW,i.SpecialPrecs.Time),y(o.WorksheetFuncId.TODAY,i.SpecialPrecs.Time),y(o.WorksheetFuncId.RAND,i.SpecialPrecs.Calc),y(o.WorksheetFuncId.RANDBETWEEN,i.SpecialPrecs.Calc),y(o.WorksheetFuncId.RANDARRAY,i.SpecialPrecs.Calc),y(o.WorksheetFuncId.SUBTOTAL,i.SpecialPrecs.CellProps),y(o.WorksheetFuncId.CELL,i.SpecialPrecs.CellProps|i.SpecialPrecs.AllCells),y(o.WorksheetFuncId.INFO,i.SpecialPrecs.None)},7835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VerticalAlignment=t.HorizontalAlignment=t.BorderLineType=t.PatternType=t.FillKind=t.FontVerticalAlignment=t.FontUnderline=void 0;const n=r(52123);var o,i,a,s,l,u,c;!function(e){e.None="None",e.Single="Single",e.Double="Double",e.SingleAccounting="SingleAccounting",e.DoubleAccounting="DoubleAccounting"}(o||(t.FontUnderline=o={})),(0,n.staticAssertSame)(),function(e){e.None="None",e.Subscript="Subscript",e.Superscript="Superscript"}(i||(t.FontVerticalAlignment=i={})),(0,n.staticAssertSame)(),function(e){e.Pattern="Pattern",e.Gradient="Gradient"}(a||(t.FillKind=a={})),function(e){e.None="None",e.Solid="Solid",e.MediumGray="MediumGray",e.DarkGray="DarkGray",e.LightGray="LightGray",e.DarkHorizontal="DarkHorizontal",e.DarkVertical="DarkVertical",e.DarkDown="DarkDown",e.DarkUp="DarkUp",e.DarkGrid="DarkGrid",e.DarkTrellis="DarkTrellis",e.LightHorizontal="LightHorizontal",e.LightVertical="LightVertical",e.LightDown="LightDown",e.LightUp="LightUp",e.LightGrid="LightGrid",e.LightTrellis="LightTrellis",e.Gray125="Gray125",e.Gray0625="Gray0625"}(s||(t.PatternType=s={})),function(e){e.None="None",e.Thin="Thin",e.Medium="Medium",e.Dashed="Dashed",e.Dotted="Dotted",e.Thick="Thick",e.Double="Double",e.Hair="Hair",e.MediumDashed="MediumDashed",e.DashDot="DashDot",e.MediumDashDot="MediumDashDot",e.DashDotDot="DashDotDot",e.MediumDashDotDot="MediumDashDotDot",e.SlantDashDot="SlantDashDot"}(l||(t.BorderLineType=l={})),(0,n.staticAssertSame)(),function(e){e.Automatic="Automatic",e.Left="Left",e.Center="Center",e.Right="Right",e.Fill="Fill",e.Justify="Justify",e.CenterAcrossSelection="CenterAcrossSelection",e.Distributed="Distributed",e.JustifyDistributed="JustifyDistributed"}(u||(t.HorizontalAlignment=u={})),(0,n.staticAssertSame)(),function(e){e.Top="Top",e.Center="Center",e.Bottom="Bottom",e.Justify="Justify",e.Distributed="Distributed"}(c||(t.VerticalAlignment=c={})),(0,n.staticAssertSame)()},83757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sheet1=t.sheet1Name=t.document1=void 0,t.createSingleRange=function(e,r){const o=(0,n.gridCell)(e,r);return(0,n.sheetGridCell)(t.sheet1,o)};const n=r(19275);t.document1=(0,n.documentLoc)(void 0,"Book1"),t.sheet1Name="Sheet1",t.sheet1=(0,n.sheetIndex)(t.document1,0)},20759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionFlags=t.SpecialPrecs=t.SignatureType=t.OperKind=void 0,t.functionType=function(e,t,r,o,i,a,s,l){if((0,n.assertNatural)("calc.lang.functionType",t),(0,n.assertIndex)("calc.lang.functionType",e,t+1),0===o.length?0!==i.length:i.length>=o.length){const e=JSON.stringify(i);(0,n.assertFalse)(`calc.lang.functionType: expected tailTypes.length < restTypes.length; given ${e}`)}if(0===o.length&&r.length+i.length<t){const e=JSON.stringify(r);(0,n.assertFalse)(`calc.lang.functionType: expected headTypes.length + tailTypes.length >= ${t}; given ${e}`)}return{minArgs:e,maxArgs:t,headTypes:r,restTypes:o,tailTypes:i,returnType:a,staticPrecs:s,flags:l}};const n=r(52123);var o,i,a,s;!function(e){e[e.Number=1]="Number",e[e.String=2]="String",e[e.Boolean=4]="Boolean",e[e.Error=8]="Error",e[e.Range=16]="Range",e[e.Array=32]="Array",e[e.Missing=64]="Missing",e[e.Blank=128]="Blank",e[e.Rich=256]="Rich"}(o||(t.OperKind=o={})),function(e){e[e.None=0]="None",e[e.Goto=512]="Goto",e[e.Ref3D=1024]="Ref3D",e[e.All=2047]="All"}(i||(t.SignatureType=i={})),function(e){e[e.None=0]="None",e[e.OwnDoc=1]="OwnDoc",e[e.OwnSheet=2]="OwnSheet",e[e.OwnRow=4]="OwnRow",e[e.OwnCol=8]="OwnCol",e[e.OwnRowCopy=16]="OwnRowCopy",e[e.OwnColCopy=32]="OwnColCopy",e[e.OwnDocSheets=64]="OwnDocSheets",e[e.CellProps=128]="CellProps",e[e.AllCells=256]="AllCells",e[e.AllNames=512]="AllNames",e[e.Time=1024]="Time",e[e.Calc=2048]="Calc",e[e.InFilterMode=4096]="InFilterMode",e[e.RefStyle=8192]="RefStyle",e[e.All=16383]="All"}(a||(t.SpecialPrecs=a={})),function(e){e[e.None=0]="None",e[e.Dark=1]="Dark",e[e.Macro=2]="Macro",e[e.Chart=4]="Chart",e[e.OnlyParsedDuringLoad=8]="OnlyParsedDuringLoad",e[e.Internal=16]="Internal",e[e.Allow3dRef=32]="Allow3dRef",e[e.AllowLStrs=64]="AllowLStrs",e[e.HiddenFromUI=128]="HiddenFromUI"}(s||(t.FunctionFlags=s={}))},33156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonKind=t.LangReasonKind=void 0,t.isWellFormed=function(e){return e.isWellFormed},t.forEachCellInRange=function(e,t){if((0,i.isGridCell)(e))return t(e,0,0);const{row:r,rows:n,col:o,cols:a}=e;for(let e=0;e<n;e+=1)for(let n=0;n<a;n+=1)if(!t((0,i.gridCell)(r+e,o+n),e,n))return!1;return!0},t.forEachTileInRange=function(e,t,r){const{row:o,rows:a,col:s,cols:l}=e;(0,n.assertPositiveInteger)("calc.lang.forEachTileInRange",t),(0,n.assertIndex)("calc.lang.forEachTileInRange",o,i.sheetRows),(0,n.assertIndex)("calc.lang.forEachTileInRange",s,i.sheetCols),(0,n.assertPositiveLength)("calc.lang.forEachTileInRange",a,i.sheetRows-o),(0,n.assertPositiveLength)("calc.lang.forEachTileInRange",l,i.sheetCols-s);for(let e=o;e<o+a;e+=t)for(let u=s;u<s+l;u+=t)if(!r((0,i.unsafeGridRange)(e,u,(0,n.fastMin)(t,a+o-e),(0,n.fastMin)(t,l+s-u))))return!1;return!0},t.gridRangeJoin=l,t.gridRangeJoinOpt=function(e,t){return e?t?l(e,t):e:t},t.gridRangesJoin=function(e){return 0===e.length&&(0,n.assertFalse)("calc.runtime.gridRangesJoin: expected nonempty range array"),e.reduce(l)},t.gridRangeIsect=function(e,t){const{row:r,col:o,rows:a,cols:s}=e,{row:l,col:u,rows:c,cols:d}=t,p=(0,n.fastMax)(r,l),h=(0,n.fastMax)(o,u),g=(0,n.fastMin)(r+a,l+c)-p,m=(0,n.fastMin)(o+s,u+d)-h;return g<=0||m<=0?void 0:(0,i.unsafeGridRange)(p,h,g,m)},t.gridRangeIsects=function(e,t){const{row:r,col:o,rows:i,cols:a}=e,{row:s,col:l,rows:u,cols:c}=t;return(0,n.fastMax)(r,s)<(0,n.fastMin)(r+i,s+u)&&(0,n.fastMax)(o,l)<(0,n.fastMin)(o+a,l+c)},t.gridCellImplicitIsect=function(e,t){const{row:r,col:n}=e,{row:o,col:a,rows:s,cols:l}=t,u=o<=r&&r<o+s,c=a<=n&&n<a+l;return u&&c?(0,i.gridCell)(r,n):u&&1===l?(0,i.gridCell)(r,a):c&&1===s?(0,i.gridCell)(o,n):1===l&&1===s?(0,i.gridCell)(o,a):void 0},t.gridRangeCompare=function(e,t){const{row:r,col:n,rows:o,cols:i}=e,{row:a,col:s,rows:l,cols:u}=t,c=r+o,d=a+l,p=n+i,h=s+u;return r===a&&c===d&&n===s&&p===h?0:r<=a&&c>=d&&n<=s&&p>=h?1:r>=a&&c<=d&&n>=s&&p<=h?-1:void 0},t.gridRangeExcept=function(e,t){const r=[e.row,e.row+e.rows],o=[e.col,e.col+e.cols],a=[t.row,t.row+t.rows],s=[t.col,t.col+t.cols],l=(0,n.ivlCompare)(r,a),u=(0,n.ivlCompare)(o,s);if(void 0!==l&&l<=0){const t=(0,n.ivlExcept)(o,s);if(void 0!==t)return(0,i.gridRange)(e.row,t[0],e.rows,t[1]-t[0])}if(void 0!==u&&u<=0){const t=(0,n.ivlExcept)(r,a);if(void 0!==t)return(0,i.gridRange)(t[0],e.col,t[1]-t[0],e.cols)}},t.gridRangeSize=function(e){return e.rows*e.cols},t.gridRangeAnchorHash=function(e){return i.sheetCols*e.row+e.col},t.isDocumentLocEqual=u,t.isSheetIndexEqual=c,t.sheetRangeToSheetIndex=function(e){if(e.index===e.index2)return{...e,__isRange:!1}},t.isNameScopeEqual=function(e,t){return u(e.document,t.document)&&e.index===t.index},t.isGridCellEqual=d,t.isGridRangeEqual=p,t.isSheetGridCellEqual=function(e,t){return c(e.sheet,t.sheet)&&d(e.range,t.range)},t.isSheetGridRangeEqual=function(e,t){return c(e.sheet,t.sheet)&&p(e.range,t.range)},t.gridRangeAnchor=h,t.sheetGridRangeAnchor=function(e){return(0,i.isSheetGridCell)(e)?e:(0,i.sheetGridCell)(e.sheet,h(e.range))},t.gridCellRange=function(e,t){const{row:r,col:o}=e,{row:a,col:s}=t;return(0,i.unsafeGridRange)((0,n.fastMin)(r,a),(0,n.fastMin)(o,s),Math.abs(a-r)+1,Math.abs(s-o)+1)},t.getArguments=function(e){return 0===function(e){return 1===e.length&&m(e[0])?0:e.length}(e)?g:e},t.isOperatorNode=function(e){return e.kind===o.NodeKind.Operator},t.isWSFNode=function(e){return e.kind===o.NodeKind.WSF},t.isUnqualifiedNameNode=function(e){return e.kind===o.NodeKind.Name&&void 0===e.qualifier},t.isMissingNode=function(e){return e.kind===o.NodeKind.Missing},t.isMissingLiteralNode=m,t.isNumberLiteralNode=function(e){return e.kind===o.NodeKind.Literal&&v(e.oper)},t.isBooleanLiteralNode=f,t.getArgType=function({maxArgs:e,headTypes:t,restTypes:r,tailTypes:o},i,a){if((0,n.assertPositiveInteger)("calc.runtime.getArgType: n",a),(0,n.assertIndex)("calc.runtime.getArgType: i",i,a),i>=e)return s.SignatureType.None;if(i<t.length)return t[i];if(0===r.length)return s.SignatureType.None;if(i<t.length+r.length)return r[i-t.length];const l=(a-t.length)%r.length;return l>o.length?s.SignatureType.None:i>=a-l?o[i-(a-l)]:r[(i-t.length)%r.length]},t.isValidArgsLength=function({minArgs:e,maxArgs:t,headTypes:r,restTypes:n,tailTypes:o},i){return!(i<e||i>t)&&(i<=r.length+n.length||0!==n.length&&(i-r.length)%n.length<=o.length)},t.shouldFieldRefBeBracketed=function(e,t,r){if(0===r.length)return!1;if(t.field.kind!==o.NodeKind.Ident)return!1;let n=e;for(;n.kind===o.NodeKind.App&&n.head.kind===o.NodeKind.Operator;){const e=n.head.id;if(e!==a.OperatorId.Range&&e!==a.OperatorId.Isect||2!==n.args.length)break;n=n.args[1]}return f(n)||n.kind===o.NodeKind.Name||n.kind===o.NodeKind.CellRef},t.isNumberOper=v,t.isStringOper=function(e){return e.kind===s.OperKind.String},t.isBooleanOper=b,t.isErrorOper=function(e){return e.kind===s.OperKind.Error},t.isRangeOper=function(e){return e.kind===s.OperKind.Range},t.isArrayOper=function(e){return e.kind===s.OperKind.Array},t.isMissingOper=y,t.isBlankOper=function(e){return e.kind===s.OperKind.Blank},t.isRichOper=function(e){return e.kind===s.OperKind.Rich},t.isPrimitiveOper=function(e){return 0!=(e.kind&S)},t.isWriteOper=function(e){return 0!=(e.kind&C)},t.isReadOperEqual=function e(t,r,o,i){if(o.kind!==r.kind)return!1;switch(o.kind){case s.OperKind.Boolean:case s.OperKind.String:return o.value===r.value;case s.OperKind.Number:return 0===t.cond2(o,r);case s.OperKind.Error:return o.type===r.type;case s.OperKind.Rich:return i;case s.OperKind.Array:const a=r;if(o.cols!==a.cols||o.rows!==a.rows)return!1;for(let r=0;r<o.rows;r+=1){const n=o.opers[r],s=a.opers[r];for(let r=0;r<o.cols;r+=1)if(!e(t,s[r],n[r],i))return!1}return!0;case s.OperKind.Blank:return!0;default:return(0,n.assertNever)("calc.lang.readOperEq",o)}},t.notImplemented=function(e){return{kind:t.ReasonKind.NotImplemented,features:e}},t.unavailable=function(e,...r){return 0===e.length&&(0,n.assertFalse)("calc.lang.unavailable: expected nonempty array"),{kind:t.ReasonKind.Unavailable,objects:e}},t.internal=function(e){return{kind:t.ReasonKind.Internal,message:e}},t.createFailureErrorClass=function(e){const t=function(t){this.reason=t,this.name=e,this.stack=e,this.message=t.kind};return(t.prototype=Object.create(Error.prototype)).constructor=t,t},t.getWorksheetFuncId=function(e,t){let r=t;return r.length>k.length&&0===e.stringCompareCI(r.substring(0,k.length),k)&&(r=r.substring(k.length),r.length>F.length&&0===e.stringCompareCI(r.substring(0,F.length),F)&&(r=r.substring(F.length))),e.getWorksheetFuncId(r)},t.getUserDefinedFuncName=function(e,t){let r=t;return r.length>E.length&&0===e.stringCompareCI(r.substring(0,E.length),E)&&(r=r.substring(E.length)),r},t.getEtaFuncId=function(e,t){let r=t;return r.length>A.length&&0===e.stringCompareCI(r.substring(0,A.length),A)&&(r=r.substring(A.length)),e.getWorksheetFuncId(r)},t.getBoundName=function(e,t){let r=t;return r.length>I.length&&0===e.stringCompareCI(r.substring(0,I.length),I)?r=r.substring(I.length):r.length>x.length&&0===e.stringCompareCI(r.substring(0,x.length),x)&&(r=r.substring(x.length)),r},t.isCommaOpRefWellFormed=function(e){return e.columnRefs.length<=1&&e.refs.every(w)&&function({specialRefs:e}){const t=Object.keys(e).reduce(((t,r)=>t+(e[Number(r)]?1:0)),0);return 1===t||2===t&&e[o.SpecialRefId.Data]&&(e[o.SpecialRefId.Headers]||e[o.SpecialRefId.Totals])}(e)},t.isCommaOpClosed=function(e){return e.refs.every(R)},t.isCommaOpNoBadOrMissing=function(e){return!e.refs.some(P)},t.isRangeOpClosed=function(e){return R(e.lhs)&&R(e.rhs)},t.isRangeOpNoMissing=function(e){return!P(e.lhs)&&!P(e.rhs)},t.normalizeCommaOpRef=function(e){const t={},r=[];for(const n of e.refs)n.kind!==o.StructRefKind.SpecialRef?r.push(n):void 0===t[n.id]&&(t[n.id]=!0,r.push(n));return r.sort(N),r},t.applyComparison=function(e,t){switch(e){case a.OperatorId.Eq:return 0===t;case a.OperatorId.Ne:return 0!==t;case a.OperatorId.Lt:return t<0;case a.OperatorId.Gt:return t>0;case a.OperatorId.Le:return t<=0;case a.OperatorId.Ge:return t>=0}};const n=r(52123),o=r(41472),i=r(19275),a=r(26460),s=r(20759);function l(e,t){const{row:r,col:o,rows:a,cols:s}=e,{row:l,col:u,rows:c,cols:d}=t,p=(0,n.fastMin)(r,l),h=(0,n.fastMin)(o,u),g=(0,n.fastMax)(r+a,l+c)-p,m=(0,n.fastMax)(o+s,u+d)-h;return(0,i.unsafeGridRange)(p,h,g,m)}function u(e,t){return e===t||e.name===t.name&&e.path===t.path}function c(e,t){return u(e.document,t.document)&&e.index===t.index}function d(e,t){return e.row===t.row&&e.col===t.col}function p(e,t){return e.row===t.row&&e.col===t.col&&e.rows===t.rows&&e.cols===t.cols}function h(e){return(0,i.isGridCell)(e)?e:(0,i.unsafeGridRange)(e.row,e.col,1,1)}const g=[];function m(e){return e.kind===o.NodeKind.Literal&&y(e.oper)}function f(e){return e.kind===o.NodeKind.Literal&&b(e.oper)}function v(e){return e.kind===s.OperKind.Number}function b(e){return e.kind===s.OperKind.Boolean}function y(e){return e.kind===s.OperKind.Missing}const S=s.OperKind.Number|s.OperKind.String|s.OperKind.Boolean,C=S|s.OperKind.Error|s.OperKind.Array|s.OperKind.Rich;var T;!function(e){e.NotImplemented="NotImplemented",e.Unavailable="Unavailable",e.Internal="Internal"}(T||(t.LangReasonKind=T={})),t.ReasonKind={...n.ReasonKind,...T};const k="_xlfn.",F="_xlws.",E="_xludf.",A="_xleta.",I="_xlpm.",x="_xlop.";function w(e){return e.kind!==o.StructRefKind.SpecialRef&&e.kind!==o.StructRefKind.BadRef||e.isBracketed}function P(e){return e.kind===o.StructRefKind.MissingRef||e.kind===o.StructRefKind.BadRef}function R(e){switch(e.kind){case o.StructRefKind.SpecialRef:case o.StructRefKind.ColumnRef:return e.isClosed;case o.StructRefKind.RangeOpRef:return R(e.lhs)&&R(e.rhs);case o.StructRefKind.MissingRef:return!0;case o.StructRefKind.BadRef:return e.isClosed}}const D={[o.SpecialRefId.All]:1,[o.SpecialRefId.Headers]:2,[o.SpecialRefId.Data]:3,[o.SpecialRefId.Totals]:4,[o.SpecialRefId.ThisRow]:5},_=e=>e.kind===o.StructRefKind.MissingRef?7:e.kind!==o.StructRefKind.SpecialRef?6:D[e.id];function N(e,t){return _(e)-_(t)}},49519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.falseOper=t.trueOper=t.blankOper=t.missingOper=t.externalErrorOper=t.busyErrorOper=t.calcErrorOper=t.fieldErrorOper=t.unknownErrorOper=t.blockedErrorOper=t.connectErrorOper=t.spillErrorOper=t.gettingDataErrorOper=t.naErrorOper=t.numErrorOper=t.nameErrorOper=t.refErrorOper=t.valueErrorOper=t.div0ErrorOper=t.nullErrorOper=t.ErrorType=t.cellStringLimit=t.PrecsBound=void 0,t.precedents=function(e,t,r,n,o){return{cells:e,names:t,udfs:r,special:n,bound:o}},t.booleanOper=function(e){return e?t.trueOper:t.falseOper},t.stringOper=function(e){return{kind:o.OperKind.String,value:e}},t.errorOper=function(e){const t=l[e];return void 0!==t?t:s(e)},t.arrayOper=function(e,t,r){return(0,n.assertNatural)("calc.lang.arrayOper",e),(0,n.assertNatural)("calc.lang.arrayOper",t),r.length!==e?(0,n.assertFalse)("calc.lang.arrayOper: Inconsistent row number"):{kind:o.OperKind.Array,rows:e,cols:t,opers:r}},t.rangeSeqOper=function(e,t){return(0,n.assertPositiveInteger)("calc.lang.rangeSeqOper",t.length),{kind:o.OperKind.Range,sheets:e,ranges:t}},t.range3DOper=function(e,t){return{kind:o.OperKind.Range,sheets:e,ranges:[t]}};const n=r(52123),o=r(20759);var i,a;function s(e){return{kind:o.OperKind.Error,type:e}}!function(e){e[e.Lower=-1]="Lower",e[e.Exact=0]="Exact",e[e.Upper=1]="Upper"}(i||(t.PrecsBound=i={})),t.cellStringLimit=32767,function(e){e[e.NULL=1]="NULL",e[e.DIV0=2]="DIV0",e[e.VALUE=3]="VALUE",e[e.REF=4]="REF",e[e.NAME=5]="NAME",e[e.NUM=6]="NUM",e[e.NA=7]="NA",e[e.GETTING_DATA=8]="GETTING_DATA",e[e.SPILL=9]="SPILL",e[e.CONNECT=10]="CONNECT",e[e.BLOCKED=11]="BLOCKED",e[e.UNKNOWN=12]="UNKNOWN",e[e.FIELD=13]="FIELD",e[e.CALC=14]="CALC",e[e.BUSY=16]="BUSY",e[e.EXTERNAL=19]="EXTERNAL",e[e.TIMEOUT=20]="TIMEOUT"}(a||(t.ErrorType=a={})),t.nullErrorOper=s(a.NULL),t.div0ErrorOper=s(a.DIV0),t.valueErrorOper=s(a.VALUE),t.refErrorOper=s(a.REF),t.nameErrorOper=s(a.NAME),t.numErrorOper=s(a.NUM),t.naErrorOper=s(a.NA),t.gettingDataErrorOper=s(a.GETTING_DATA),t.spillErrorOper=s(a.SPILL),t.connectErrorOper=s(a.CONNECT),t.blockedErrorOper=s(a.BLOCKED),t.unknownErrorOper=s(a.UNKNOWN),t.fieldErrorOper=s(a.FIELD),t.calcErrorOper=s(a.CALC),t.busyErrorOper=s(a.BUSY),t.externalErrorOper=s(a.EXTERNAL);const l=(0,n.partialArray)({[a.NULL]:t.nullErrorOper,[a.DIV0]:t.div0ErrorOper,[a.VALUE]:t.valueErrorOper,[a.REF]:t.refErrorOper,[a.NAME]:t.nameErrorOper,[a.NUM]:t.numErrorOper,[a.NA]:t.naErrorOper,[a.GETTING_DATA]:t.gettingDataErrorOper,[a.SPILL]:t.spillErrorOper,[a.CONNECT]:t.connectErrorOper,[a.BLOCKED]:t.blockedErrorOper,[a.UNKNOWN]:t.unknownErrorOper,[a.FIELD]:t.fieldErrorOper,[a.CALC]:t.calcErrorOper,[a.BUSY]:t.busyErrorOper,[a.EXTERNAL]:t.externalErrorOper});t.missingOper={kind:o.OperKind.Missing},t.blankOper={kind:o.OperKind.Blank},t.trueOper={kind:o.OperKind.Boolean,value:!0},t.falseOper={kind:o.OperKind.Boolean,value:!1}},98400:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PledgeReducer=t.ZipVisitor=t.depthVisitor=t.ComposeVisitor=t.BinaryVisitor=t.DelegatingVisitor=t.voidVisitor=t.ConstVisitor=t.identityVisitor=t.IdentityVisitor=void 0,t.visitFormulaNode=i,t.visitOperatorNode=a,t.visitWSFNode=s,t.visitAppHeadNode=l,t.visitQualifier=function(e,t){switch(t.kind){case o.QualifierKind.Error:{const{label:r}=t;return e.errorQualifier(r)}case o.QualifierKind.Relative:{const{label:r}=t;return e.relativeQualifier(r)}case o.QualifierKind.Document:{const{document:r,path:n,isQuoted:o,label:i}=t;return e.documentQualifier(r,n,o,i)}case o.QualifierKind.Sheet:{const{sheet:r,document:n,isQuoted:o,label:i}=t;return e.sheetQualifier(r,n,o,i)}case o.QualifierKind.Ident:{const{name:r,isQuoted:n,label:o}=t;return e.identQualifier(r,n,o)}case o.QualifierKind.SheetRange:{const{sheet1:r,sheet2:n,document:o,isQuoted:i,label:a}=t;return e.sheetRangeQualifier(r,n,o,i,a)}case o.QualifierKind.Bad:{const{chars:r,isQuoted:n,isClosed:o,isTerminated:i,label:a}=t;return e.badQualifier(r,n,o,i,a)}default:return(0,n.assertNever)("calc.lang.visitQualifier",t)}},t.visitCellRef=function(e,t){switch(t.kind){case o.CellRefKind.Error:{const{label:r}=t;return e.cellRefError(r)}case o.CellRefKind.Single:{const{row:r,col:n,isBracketed:o,label:i}=t;return e.cellRefSingle(r,n,o,i)}case o.CellRefKind.Range:{const{ref1:r,ref2:n,label:o}=t;return e.cellRefRange(r,n,o)}case o.CellRefKind.Row:{const{row1:r,row2:n,isBracketed:o,label:i}=t;return e.cellRefRow(r,n,o,i)}case o.CellRefKind.Col:{const{col1:r,col2:n,isBracketed:o,label:i}=t;return e.cellRefCol(r,n,o,i)}case o.CellRefKind.Bad:{const{chars:r,isBracketed:n,label:o}=t;return e.cellRefBad(r,n,o)}default:return(0,n.assertNever)("calc.lang.visitCellRef",t)}},t.bindVisitor=u,t.constVisitor=p,t.binaryVisitor=m,t.composeVisitor=v,t.zipVisitor=function(e){return u(new b(e))},t.reduceBottomUp_Recursive=y,t.reduceBottomUp_CPS=x,t.reduceBottomUp_Pledge=function(e,t){return D(new w(e),t)},t.reduceBottomUp_MaxDepth=R,t.reduceBottomUp=function(e,t){return R(e,t.node,t.depthUpperBound)},t.reduceTopDown_Pledge=D,t.reducePledge=function(e,t){return D(e,t.node)};const n=r(52123),o=r(41472);function i(e,t){switch(t.kind){case o.NodeKind.Literal:{const{oper:r,isClosed:n,label:o}=t;return e.literalNode(r,n,o)}case o.NodeKind.Array:{const{nodes:r,isClosed:n,label:o}=t;return e.arrayNode(r,n,o)}case o.NodeKind.App:{const{head:r,args:n,isClosed:o,label:i}=t;return e.appNode(r,n,o,i)}case o.NodeKind.Let:{const{head:r,vars:n,body:o,badArgs:i,isClosed:a,label:s}=t;return e.letNode(r,n,o,i,a,s)}case o.NodeKind.Lambda:{const{head:r,params:n,body:o,badArgs:i,isClosed:a,label:s}=t;return e.lambdaNode(r,n,o,i,a,s)}case o.NodeKind.Paren:{const{node:r,isClosed:n,label:o}=t;return e.parenNode(r,n,o)}case o.NodeKind.Name:{const{parts:r,qualifier:n,label:o}=t;return e.nameNode(r,n,o)}case o.NodeKind.CellRef:{const{ref:r,qualifier:n,label:o}=t;return e.cellRefNode(r,n,o)}case o.NodeKind.FieldRef:{const{lhs:r,rhs:n,label:o}=t;return e.fieldRefNode(r,n,o)}case o.NodeKind.StructRef:{const{lhs:r,rhs:n,label:o}=t;return e.structRefNode(r,n,o)}case o.NodeKind.Missing:{const{chars:r,label:n}=t;return e.missingNode(r,n)}case o.NodeKind.BadChars:{const{type:r,chars:n,label:o}=t;return e.badCharsNode(r,n,o)}case o.NodeKind.BadSequence:{const{type:r,contents:n,label:o}=t;return e.badSequenceNode(r,n,o)}default:return(0,n.assertNever)("calc.lang.visitFormulaNode",t)}}function a(e,t){const{id:r,label:n}=t;return e.operatorNode(r,n)}function s(e,t){const{id:r,whole:n,label:o}=t;return e.wsfNode(r,n,o)}function l(e,t){switch(t.kind){case o.NodeKind.Operator:return a(e,t);case o.NodeKind.WSF:return s(e,t);default:return i(e,t)}}function u(e){return{literalNode:e.literalNode.bind(e),arrayNode:e.arrayNode.bind(e),appNode:e.appNode.bind(e),letNode:e.letNode.bind(e),lambdaNode:e.lambdaNode.bind(e),parenNode:e.parenNode.bind(e),nameNode:e.nameNode.bind(e),cellRefNode:e.cellRefNode.bind(e),fieldRefNode:e.fieldRefNode.bind(e),structRefNode:e.structRefNode.bind(e),missingNode:e.missingNode.bind(e),badSequenceNode:e.badSequenceNode.bind(e),badCharsNode:e.badCharsNode.bind(e),operatorNode:e.operatorNode.bind(e),wsfNode:e.wsfNode.bind(e)}}class c{literalNode(e,t,r){return(0,o.literalNode)(e,t,r)}arrayNode(e,t,r){return(0,o.arrayNode)(e,t,r)}appNode(e,t,r,n){return(0,o.appNode)(e,t,r,n)}letNode(e,t,r,n,i,a){return(0,o.letNode)(e,t,r,n,i,a)}lambdaNode(e,t,r,n,i,a){return(0,o.lambdaNode)(e,t,r,n,i,a)}parenNode(e,t,r){return(0,o.parenNode)(e,t,r)}nameNode(e,t,r){return(0,o.nameNode)(e,t,r)}cellRefNode(e,t,r){return(0,o.cellRefNode)(e,t,r)}fieldRefNode(e,t,r){return(0,o.fieldRefNode)(e,t,r)}structRefNode(e,t,r){return(0,o.structRefNode)(e,t,r)}missingNode(e,t){return(0,o.missingNode)(e,t)}badSequenceNode(e,t,r){return(0,o.badSequenceNode)(e,t,r)}badCharsNode(e,t,r){return(0,o.badCharsNode)(e,t,r)}operatorNode(e,t){return(0,o.operatorNode)(e,t)}wsfNode(e,t,r){return(0,o.wsfNode)(e,t,r)}}t.IdentityVisitor=c,t.identityVisitor=u(new c);class d{literalNode(e,t,r){return this.value}arrayNode(e,t,r){return this.value}appNode(e,t,r,n){return this.value}letNode(e,t,r,n,o,i){return this.value}lambdaNode(e,t,r,n,o,i){return this.value}parenNode(e,t,r){return this.value}nameNode(e,t,r){return this.value}cellRefNode(e,t,r){return this.value}fieldRefNode(e,t,r){return this.value}structRefNode(e,t,r){return this.value}missingNode(e,t){return this.value}badSequenceNode(e,t,r){return this.value}badCharsNode(e,t,r){return this.value}operatorNode(e,t){return this.value}wsfNode(e,t,r){return this.value}constructor(e){this.value=e}}function p(e){return u(new d(e))}t.ConstVisitor=d,t.voidVisitor=p(void 0);class h{literalNode(e,t,r){return this.visitor.literalNode(e,t,r)}arrayNode(e,t,r){return this.visitor.arrayNode(e,t,r)}appNode(e,t,r,n){return this.visitor.appNode(e,t,r,n)}letNode(e,t,r,n,o,i){return this.visitor.letNode(e,t,r,n,o,i)}lambdaNode(e,t,r,n,o,i){return this.visitor.lambdaNode(e,t,r,n,o,i)}parenNode(e,t,r){return this.visitor.parenNode(e,t,r)}nameNode(e,t,r){return this.visitor.nameNode(e,t,r)}cellRefNode(e,t,r){return this.visitor.cellRefNode(e,t,r)}fieldRefNode(e,t,r){return this.visitor.fieldRefNode(e,t,r)}structRefNode(e,t,r){return this.visitor.structRefNode(e,t,r)}missingNode(e,t){return this.visitor.missingNode(e,t)}badSequenceNode(e,t,r){return this.visitor.badSequenceNode(e,t,r)}badCharsNode(e,t,r){return this.visitor.badCharsNode(e,t,r)}operatorNode(e,t){return this.visitor.operatorNode(e,t)}wsfNode(e,t,r){return this.visitor.wsfNode(e,t,r)}constructor(e){this.visitor=e}}t.DelegatingVisitor=h;class g extends h{arrayNode(e,t,r){return(0,n.assertTrue)("calc.lang.binaryVisitor: non-empty array",e.length>0&&e[0].length>0),e.map((e=>e.reduce(this.reducer))).reduce(this.reducer)}appNode(e,t,r,n){return t.reduce(this.reducer,e)}letNode(e,t,r,n,o,i){return[...t.map((({binder:e})=>e.arg)),...void 0===r?[]:[r.arg],...n.map((e=>e.arg))].reduce(this.reducer,e)}lambdaNode(e,t,r,o,i,a){return[...t.map((({name:e})=>e.arg.def?.rhs)).filter(n.isDefined),...void 0===r?[]:[r.arg],...o.map((e=>e.arg))].reduce(this.reducer,e)}parenNode(e,t,r){return e}fieldRefNode(e,t,r){return e}badSequenceNode(e,t,r){return(0,n.assertTrue)("calc.lang.binaryVisitor: non-empty bad-sequence",t.length>0),t.reduce(this.reducer)}constructor(e,t){super(e),this.reducer=(e,r)=>t(e,r)}}function m(e,t){return u(new g(e,t))}t.BinaryVisitor=g;class f{literalNode(e,t,r){return this.b(this.a.literalNode(e,t,r))}arrayNode(e,t,r){return this.b(this.a.arrayNode(e,t,r))}appNode(e,t,r,n){return this.b(this.a.appNode(e,t,r,n))}letNode(e,t,r,n,o,i){return this.b(this.a.letNode(e,t,r,n,o,i))}lambdaNode(e,t,r,n,o,i){return this.b(this.a.lambdaNode(e,t,r,n,o,i))}parenNode(e,t,r){return this.b(this.a.parenNode(e,t,r))}nameNode(e,t,r){return this.b(this.a.nameNode(e,t,r))}cellRefNode(e,t,r){return this.b(this.a.cellRefNode(e,t,r))}fieldRefNode(e,t,r){return this.b(this.a.fieldRefNode(e,t,r))}structRefNode(e,t,r){return this.b(this.a.structRefNode(e,t,r))}missingNode(e,t){return this.b(this.a.missingNode(e,t))}badSequenceNode(e,t,r){return this.b(this.a.badSequenceNode(e,t,r))}badCharsNode(e,t,r){return this.b(this.a.badCharsNode(e,t,r))}operatorNode(e,t){return this.b(this.a.operatorNode(e,t))}wsfNode(e,t,r){return this.b(this.a.wsfNode(e,t,r))}constructor(e,t){this.a=e,this.b=t}}function v(e,t){return u(new f(e,t))}t.ComposeVisitor=f,t.depthVisitor=v(m(p(0),n.fastMax),(e=>e+1));class b{literalNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].literalNode(e,t,r);return n}arrayNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].arrayNode(e,t,r);return n}appNode(e,t,r,n){const o={};for(const i of this.keys)o[i]=this.visitors[i].appNode(e,t,r,n);return o}letNode(e,t,r,n,o,i){const a={};for(const s of this.keys)a[s]=this.visitors[s].letNode(e,t,r,n,o,i);return a}lambdaNode(e,t,r,n,o,i){const a={};for(const s of this.keys)a[s]=this.visitors[s].lambdaNode(e,t,r,n,o,i);return a}parenNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].parenNode(e,t,r);return n}nameNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].nameNode(e,t,r);return n}cellRefNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].cellRefNode(e,t,r);return n}fieldRefNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].fieldRefNode(e,t,r);return n}structRefNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].structRefNode(e,t,r);return n}missingNode(e,t){const r={};for(const n of this.keys)r[n]=this.visitors[n].missingNode(e,t);return r}badSequenceNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].badSequenceNode(e,t,r);return n}badCharsNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].badCharsNode(e,t,r);return n}operatorNode(e,t){const r={};for(const n of this.keys)r[n]=this.visitors[n].operatorNode(e,t);return r}wsfNode(e,t,r){const n={};for(const o of this.keys)n[o]=this.visitors[o].wsfNode(e,t,r);return n}constructor(e){this.visitors=e,this.keys=Object.keys(e)}}function y(e,t){const r=t=>{switch(t.kind){case o.NodeKind.Literal:{const{oper:r,isClosed:n,label:o}=t;return e.literalNode(r,n,o)}case o.NodeKind.Array:{const{nodes:n,isClosed:o,label:i}=t;return e.arrayNode(n.map((e=>e.map(r))),o,i)}case o.NodeKind.App:{const{head:n,args:i,isClosed:l,label:u}=t;return e.appNode((t=>{switch(t.kind){case o.NodeKind.Operator:return a(e,t);case o.NodeKind.WSF:return s(e,t);default:return r(t)}})(n),i.map(r),l,u)}case o.NodeKind.Let:{const{head:n,vars:i,body:a,badArgs:l,isClosed:u,label:c}=t;return e.letNode(s(e,n),i.map((({name:e,binder:t})=>(0,o.letVar)(e,(0,o.indexedArg)(r(t.arg),t.index)))),void 0===a?void 0:(0,o.indexedArg)(r(a.arg),a.index),l.map((e=>(0,o.indexedArg)(r(e.arg),e.index))),u,c)}case o.NodeKind.Lambda:{const{head:n,params:i,body:a,badArgs:l,isClosed:u,label:c}=t;return e.lambdaNode(s(e,n),i.map((({name:e})=>void 0===e.arg.def?(0,o.lambdaParam)(e):(0,o.lambdaParam)((0,o.indexedArg)((0,o.paramNode)(e.arg.name,(0,o.paramDefault)(r(e.arg.def.rhs),e.arg.def.label),e.arg.label),e.index)))),void 0===a?void 0:(0,o.indexedArg)(r(a.arg),a.index),l.map((e=>(0,o.indexedArg)(r(e.arg),e.index))),u,c)}case o.NodeKind.Paren:{const{node:n,isClosed:o,label:i}=t;return e.parenNode(r(n),o,i)}case o.NodeKind.Name:{const{parts:r,qualifier:n,label:o}=t;return e.nameNode(r,n,o)}case o.NodeKind.CellRef:{const{ref:r,qualifier:n,label:o}=t;return e.cellRefNode(r,n,o)}case o.NodeKind.FieldRef:{const{lhs:n,rhs:o,label:i}=t;return e.fieldRefNode(r(n),o,i)}case o.NodeKind.StructRef:{const{lhs:r,rhs:n,label:o}=t;return e.structRefNode(r,n,o)}case o.NodeKind.Missing:{const{chars:r,label:n}=t;return e.missingNode(r,n)}case o.NodeKind.BadChars:{const{type:r,chars:n,label:o}=t;return e.badCharsNode(r,n,o)}case o.NodeKind.BadSequence:{const{type:n,contents:o,label:i}=t;return e.badSequenceNode(n,o.map(r),i)}default:return(0,n.assertNever)("calc.lang.reduceBottomUp_Recursive",t)}};return r(t)}function S(e,t,r,n){const o=[],i=e=>(o.push(e),a),a=()=>o.length<t.length?r(e,t[o.length],i):n(o);return a}function C(e,t,r){return S(e,t,I,r)}function T(e,t,r,n){return()=>void 0!==t?r(e,t,n):n(void 0)}function k(e,t,r){const{id:n,whole:o,label:i}=t;return()=>r(e.wsfNode(n,o,i))}function F(e,{name:t,binder:r},n){return I(e,r.arg,(e=>n((0,o.letVar)(t,(0,o.indexedArg)(e,r.index)))))}function E(e,{name:t},r){const n=t.arg;return void 0===n.def?()=>r((0,o.lambdaParam)(t)):I(e,n.def.rhs,(e=>r((0,o.lambdaParam)((0,o.indexedArg)((0,o.paramNode)(n.name,(0,o.paramDefault)(e,n.def.label),n.label),t.index)))))}function A(e,{arg:t,index:r},n){return I(e,t,(e=>n((0,o.indexedArg)(e,r))))}function I(e,t,r){switch(t.kind){case o.NodeKind.Literal:{const{oper:n,isClosed:o,label:i}=t;return()=>r(e.literalNode(n,o,i))}case o.NodeKind.Array:{const{nodes:n,isClosed:o,label:i}=t;return S(e,n,C,(t=>r(e.arrayNode(t,o,i))))}case o.NodeKind.App:{const{head:n,args:i,isClosed:a,label:s}=t;return()=>function(e,t,r){switch(t.kind){case o.NodeKind.Operator:{const{id:n,label:o}=t;return()=>r(e.operatorNode(n,o))}case o.NodeKind.WSF:return k(e,t,r);default:return I(e,t,r)}}(e,n,(t=>C(e,i,(n=>r(e.appNode(t,n,a,s))))))}case o.NodeKind.Let:{const{head:n,vars:o,body:i,badArgs:a,isClosed:s,label:l}=t;return()=>k(e,n,(t=>S(e,o,F,(n=>T(e,i,A,(o=>S(e,a,A,(i=>r(e.letNode(t,n,o,i,s,l))))))))))}case o.NodeKind.Lambda:{const{head:n,params:o,body:i,badArgs:a,isClosed:s,label:l}=t;return()=>k(e,n,(t=>()=>S(e,o,E,(n=>T(e,i,A,(o=>S(e,a,A,(i=>r(e.lambdaNode(t,n,o,i,s,l))))))))))}case o.NodeKind.Paren:{const{node:n,isClosed:o,label:i}=t;return()=>I(e,n,(t=>()=>r(e.parenNode(t,o,i))))}case o.NodeKind.Name:{const{parts:n,qualifier:o,label:i}=t;return()=>r(e.nameNode(n,o,i))}case o.NodeKind.CellRef:{const{ref:n,qualifier:o,label:i}=t;return()=>r(e.cellRefNode(n,o,i))}case o.NodeKind.FieldRef:{const{lhs:n,rhs:o,label:i}=t;return()=>I(e,n,(t=>()=>r(e.fieldRefNode(t,o,i))))}case o.NodeKind.StructRef:{const{lhs:n,rhs:o,label:i}=t;return()=>r(e.structRefNode(n,o,i))}case o.NodeKind.Missing:{const{chars:n,label:o}=t;return()=>r(e.missingNode(n,o))}case o.NodeKind.BadChars:{const{type:n,chars:o,label:i}=t;return()=>r(e.badCharsNode(n,o,i))}case o.NodeKind.BadSequence:{const{type:n,contents:o,label:i}=t;return C(e,o,(t=>r(e.badSequenceNode(n,t,i))))}default:return(0,n.assertNever)("calc.lang.reduceBottomUp_CPS",t)}}function x(e,t){let r;return function(e){let t=e;for(;null!=t;)t=t()}(I(e,t,(e=>{r=e}))),r}t.ZipVisitor=b;class w{literalNode(e,t,r){return n.Pledge.try((()=>this.visitor.literalNode(e,t,r)))}arrayNode(e,t,r){return n.Pledge.all(e.map((e=>n.Pledge.all(e.map(this.lazyVisitFormulaNode))))).bind((e=>this.visitor.arrayNode(e,t,r)))}appNode(e,t,r,o){return this.lazyVisitAppHeadNode(e).bind((e=>n.Pledge.all(t.map(this.lazyVisitFormulaNode)).bind((t=>this.visitor.appNode(e,t,r,o)))))}letNode(e,t,r,o,i,a){return this.lazyVisitWSFNode(e).bind((e=>n.Pledge.all(t.map(this.lazyVisitVar)).bind((t=>(void 0===r?n.Pledge.resolve(void 0):this.lazyVisitIndexedArg(r)).bind((r=>n.Pledge.all(o.map(this.lazyVisitIndexedArg)).bind((n=>this.visitor.letNode(e,t,r,n,i,a)))))))))}lambdaNode(e,t,r,o,i,a){return this.lazyVisitWSFNode(e).bind((e=>n.Pledge.all(t.map(this.lazyVisitParam)).bind((t=>(void 0===r?n.Pledge.resolve(void 0):this.lazyVisitIndexedArg(r)).bind((r=>n.Pledge.all(o.map(this.lazyVisitIndexedArg)).bind((n=>this.visitor.lambdaNode(e,t,r,n,i,a)))))))))}parenNode(e,t,r){return this.lazyVisitFormulaNode(e).bind((e=>this.visitor.parenNode(e,t,r)))}nameNode(e,t,r){return n.Pledge.try((()=>this.visitor.nameNode(e,t,r)))}cellRefNode(e,t,r){return n.Pledge.try((()=>this.visitor.cellRefNode(e,t,r)))}fieldRefNode(e,t,r){return this.lazyVisitFormulaNode(e).bind((e=>this.visitor.fieldRefNode(e,t,r)))}structRefNode(e,t,r){return n.Pledge.try((()=>this.visitor.structRefNode(e,t,r)))}missingNode(e,t){return n.Pledge.try((()=>this.visitor.missingNode(e,t)))}badSequenceNode(e,t,r){return n.Pledge.all(t.map(this.lazyVisitFormulaNode)).bind((t=>this.visitor.badSequenceNode(e,t,r)))}badCharsNode(e,t,r){return n.Pledge.try((()=>this.visitor.badCharsNode(e,t,r)))}operatorNode(e,t){return n.Pledge.try((()=>this.visitor.operatorNode(e,t)))}wsfNode(e,t,r){return n.Pledge.try((()=>this.visitor.wsfNode(e,t,r)))}constructor(e){this.visitor=e,this.visitFormulaNode=e=>i(this,e),this.lazyVisitFormulaNode=e=>n.Pledge.resolve(e).bind(this.visitFormulaNode),this.visitAppHeadNode=e=>l(this,e),this.lazyVisitAppHeadNode=e=>n.Pledge.resolve(e).bind(this.visitAppHeadNode),this.visitWSFNode=e=>s(this,e),this.lazyVisitWSFNode=e=>n.Pledge.resolve(e).bind(this.visitWSFNode),this.lazyVisitVar=({name:e,binder:t})=>this.lazyVisitFormulaNode(t.arg).bind((r=>(0,o.letVar)(e,(0,o.indexedArg)(r,t.index)))),this.lazyVisitParam=({name:e})=>{const t=e.arg;return void 0===t.def?n.Pledge.resolve((0,o.lambdaParam)(e)):this.lazyVisitFormulaNode(t.def.rhs).bind((r=>(0,o.lambdaParam)((0,o.indexedArg)((0,o.paramNode)(t.name,(0,o.paramDefault)(r,t.def.label),t.label),e.index))))},this.lazyVisitIndexedArg=({arg:e,index:t})=>this.lazyVisitFormulaNode(e).bind((e=>(0,o.indexedArg)(e,t)))}}t.PledgeReducer=w;const P=50;function R(e,t,r){return r<=P?y(e,t):x(e,t)}function D(e,t){return n.Pledge.settleOrThrow(n.Pledge.resolve(i(e,t)))}},44953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEdit=function(e,t,r){try{if(r.valueType===s.FormatValueType.Text)return l(t);if(""===t)return(0,n.success)((0,s.otherEdit)(o.blankOper));if(t.length>1&&(0,n.stringStartsWith)(t,"="))return(0,n.success)((0,s.formulaEdit)(t));if(!(0,n.stringStartsWith)(t,"'")){const i=function(e,t,r){const i=function(e,t){if(0===e.stringCompareCI(t,e.trueName))return o.trueOper;if(0===e.stringCompareCI(t,e.falseName))return o.falseOper;for(let r=1;r<e.errorNames.length;r+=1){const n=e.errorNames[r];if(null!=n&&0===e.stringCompareCI(n,t))return(0,o.errorOper)(r)}}(e.config.localeInfo,t);if(void 0!==i)return(0,n.success)((0,s.otherEdit)(i));const a=r.valueType===s.FormatValueType.Date||r.valueType===s.FormatValueType.Time?[u,c]:[c,u];for(const o of a){const i=o(e,t,r);if(!(0,n.isSuccess)(i))return i;if(void 0!==i.value){const{value:e,format:t}=i.value;return(0,n.success)((0,s.numberEdit)(e,t))}}return(0,n.success)(void 0)}(e,t,r);if(!(0,n.isSuccess)(i))return i;if(void 0!==i.value)return(0,n.success)(i.value)}return t.length>1&&function(e){const t=e.charAt(0);return"="===t||"+"===t||"-"===t||"@"===t}(t)?(0,n.success)((0,s.formulaEdit)(t)):l(t)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}},t.shouldInstallFormat=function(e,t){return e!==t&&t.source===s.NumberFormatSource.Builtin&&(t.valueType===s.FormatValueType.General||function(e,t){return e?.valueType!==s.FormatValueType.Number&&t.valueType!==s.FormatValueType.Number&&e?.valueType!==t.valueType}(e,t))};const n=r(52123),o=r(85882),i=r(66275),a=r(49746),s=r(62737);function l(e){const t=(0,n.stringStartsWith)(e,"'"),r=t?e.substring(1):e;return r.length>o.cellStringLimit?(0,n.failure)((0,s.notValueString)("cell text too long")):(0,n.success)((0,s.stringEdit)((0,o.stringOper)(r),t))}function u(e,t,r){return(0,a.parseDateInternal)((0,a.initParseDateGlobals)(e),t,r,s.GetTimeKind.ValueCell)}function c(e,t,r){const{localeInfo:n,mathpack:o}=e.config,a=n.isEastAsia&&r.valueType===s.FormatValueType.Percentage&&!0;let l=!1;switch(r.valueType){case s.FormatValueType.Number:case s.FormatValueType.Currency:case s.FormatValueType.Percentage:case s.FormatValueType.Fraction:case s.FormatValueType.Scientific:case s.FormatValueType.Accounting:l=!0}return(0,i.parseConstInternal)(n,o,t,a,!0,l)}},26867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evalFormatImpl=function(e,t,r){try{const o=c(e,t),i=I(o,r);return(0,n.success)({...i,format:b(o,i.format),mulOrDivTainted:o.multOrDivTainted})}catch(e){return e instanceof l?(0,n.failure)(e.reason):e===s?n.successUndefined:(0,n.failure)((0,n.javaScriptError)(e))}},t.evalFormat=function(e,t,r){try{const o=c(e,t),a=I(o,r);return(0,n.success)(function(e,{strong:t,format:r,valueType:n,decimals:o}){if(n!==i.FormatValueType.Number||!e.multOrDivTainted){if(o>0&&t&&(n===i.FormatValueType.Number||n===i.FormatValueType.Currency||n===i.FormatValueType.Accounting||n===i.FormatValueType.Percentage)){const t=f(e,r);o!==t.decimals&&(r=t.synthesizeDecimals(o))}if(n!==i.FormatValueType.General&&t)return r=b(e,r)}}(o,a))}catch(e){return e instanceof l?(0,n.failure)(e.reason):e===s?n.successUndefined:(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i=r(62737),a=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({strong:e,format:t,valueType:r,decimals:n}))),s={},l=(0,o.createFailureErrorClass)("InferenceError"),u={getDocumentLoc:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getDocumentLoc"),getSheetIndex:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getSheetIndex"),getSheetName:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getSheetName"),getNameLoc:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getNameLoc"),getUserDefinedFuncLoc:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getUserDefinedFuncLoc"),getSheetRangeIndexes:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getSheetRangeIndexes"),getCellFormat:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getCellFormat"),getKnownFormat:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getKnownFormat"),getIformat:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getIformat"),getFormatString:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getFormatString"),getContainingTable:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getContainingTable"),getStructRefColumn:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getStructRefColumn"),getStructRefSpecialRef:()=>(0,n.assertFalse)("calc.numfmt.evalFormula: default getStructRefSpecialRef")};function c(e,t){const r=function(e){return{config:e.config,getDocumentLoc:e.getDocumentLoc?.bind(e)??u.getDocumentLoc,getSheetIndex:e.getSheetIndex?.bind(e)??u.getSheetIndex,getSheetName:e.getSheetName?.bind(e)??u.getSheetName,getNameLoc:e.getNameLoc?.bind(e)??u.getNameLoc,getUserDefinedFuncLoc:e.getUserDefinedFuncLoc?.bind(e)??u.getUserDefinedFuncLoc,getSheetRangeIndexes:e.getSheetRangeIndexes?.bind(e)??u.getSheetRangeIndexes,getCellFormat:e.getCellFormat?.bind(e)??u.getCellFormat,getKnownFormat:e.getKnownFormat?.bind(e)??u.getKnownFormat,getIformat:e.getIformat?.bind(e)??u.getIformat,getFormatString:e.getFormatString?.bind(e)??u.getFormatString,getContainingTable:e.getContainingTable?.bind(e)??u.getContainingTable,getStructRefColumn:e.getStructRefColumn?.bind(e)??u.getStructRefColumn,getStructRefSpecialRef:e.getStructRefSpecialRef?.bind(e)??u.getStructRefSpecialRef}}(e);return{globals:r,locals:t,config:e.config,localeInfo:t.config?.localeInfo??e.config.localeInfo,mathpack:e.config.mathpack,get document(){const e=t.originSheet;if(!(0,n.isSuccess)(e))throw new l(e);return e.value.document},get defaultFormat(){const e=v(this,o.KnownFormat.General);return a(!1,e,e.valueType,e.decimals)},get unitlessFormat(){const e=v(this,o.KnownFormat.General);return a(!0,e,e.valueType,e.decimals)},resolver:(0,o.createResolver)(r),multOrDivTainted:!1}}const d={[i.FormatValueType.General]:0,[i.FormatValueType.Number]:1,[i.FormatValueType.Currency]:2,[i.FormatValueType.Accounting]:2,[i.FormatValueType.Percentage]:3,[i.FormatValueType.Date]:4,[i.FormatValueType.Time]:5,[i.FormatValueType.Fraction]:6,[i.FormatValueType.Scientific]:7,[i.FormatValueType.Text]:8,[i.FormatValueType.Custom]:9};var p;!function(e){e[e.Propagate=-2147483648]="Propagate",e[e.Ignore=-2147483647]="Ignore"}(p||(p={}));const h={[o.WorksheetFuncId.INT]:p.Propagate,[o.WorksheetFuncId.MOD]:p.Propagate,[o.WorksheetFuncId.ROUND]:p.Propagate,[o.WorksheetFuncId.SUM]:p.Propagate,[o.WorksheetFuncId.TRUNC]:p.Propagate,[o.WorksheetFuncId.AVERAGE]:p.Propagate,[o.WorksheetFuncId.MAX]:p.Propagate,[o.WorksheetFuncId.MEDIAN]:p.Propagate,[o.WorksheetFuncId.MIN]:p.Propagate,[o.WorksheetFuncId.ROUNDUP]:p.Propagate,[o.WorksheetFuncId.ROUNDDOWN]:p.Propagate,[o.WorksheetFuncId.NPV]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.PV]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.FV]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.PMT]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.RATE]:o.KnownFormat.Pct0,[o.WorksheetFuncId.MIRR]:o.KnownFormat.Pct0,[o.WorksheetFuncId.IRR]:o.KnownFormat.Pct0,[o.WorksheetFuncId.DATE]:o.KnownFormat.MMDDYY,[o.WorksheetFuncId.TIME]:o.KnownFormat.HHMMAP,[o.WorksheetFuncId.NOW]:o.KnownFormat.MDYHMS,[o.WorksheetFuncId.SLN]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.SYD]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.DDB]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.IPMT]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.PPMT]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.TODAY]:o.KnownFormat.MMDDYY,[o.WorksheetFuncId.VDB]:o.KnownFormat.CoCurrencyDec,[o.WorksheetFuncId.DB]:o.KnownFormat.CoCurrencyDec},g=[[i.FormatValueType.General,i.FormatValueType.Number,i.FormatValueType.Currency,i.FormatValueType.Percentage,i.FormatValueType.Date,i.FormatValueType.Time,i.FormatValueType.Fraction,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.Number,i.FormatValueType.Currency,i.FormatValueType.Percentage,i.FormatValueType.Date,i.FormatValueType.Time,i.FormatValueType.Number,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Currency,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Currency,i.FormatValueType.Currency,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Percentage,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Percentage,i.FormatValueType.Percentage,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Date,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Time,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Fraction,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Custom]],m=[[i.FormatValueType.General,i.FormatValueType.Number,i.FormatValueType.Currency,i.FormatValueType.General,i.FormatValueType.Date,i.FormatValueType.Time,i.FormatValueType.Fraction,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.Number,i.FormatValueType.Currency,i.FormatValueType.Number,i.FormatValueType.Date,i.FormatValueType.Time,i.FormatValueType.Fraction,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Currency,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Currency,i.FormatValueType.Currency,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Percentage,i.FormatValueType.Date,i.FormatValueType.Time,i.FormatValueType.Percentage,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Date,i.FormatValueType.Date,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Time,i.FormatValueType.Time,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Fraction,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Scientific,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Text,i.FormatValueType.Custom],[i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.General,i.FormatValueType.Custom]];function f(e,t){if("number"!=typeof t)return t;const r=e.globals.getIformat(e.document,t);if(!(0,n.isSuccess)(r))throw new l(r.reason);return r.value}function v(e,t){const r=e.globals.getKnownFormat(e.document,t);if(!(0,n.isSuccess)(r))throw new l(r.reason);return r.value}function b(e,t){if("number"==typeof t)return t;const r=e.globals.getFormatString(e.document,t.formatString);if(!(0,n.isSuccess)(r))throw new l(r.reason);return void 0!==r.value?r.value:t}function y(e,t,r){(0,n.assertTrue)("calc.numfmt.evalFormula: well-formed bin op",2===t.length);const[o,i]=t;return r(e,o,i)}function S(e,t,[r],[n]){const o=d[r.valueType],i=d[n.valueType],s=o<=i?t[o][i]:t[i][o],l=d[s],u=n.decimals>r.decimals?n.decimals:r.decimals;switch(l){case o:return a(!0,r.format,r.valueType,u);case i:return a(!0,n.format,n.valueType,u);default:return e.unitlessFormat}}function C(e,t,r){return S(e,m,t,r)}function T(e,t,r){const[n]=t,[s]=r;if(n.format===s.format&&n.valueType===s.valueType&&n.valueType===i.FormatValueType.Time)return a(!0,n.format,n.valueType,n.decimals);if(n.valueType===i.FormatValueType.Date&&s.valueType===i.FormatValueType.Time||n.valueType===i.FormatValueType.Time&&s.valueType===i.FormatValueType.Date){const t=v(e,o.KnownFormat.MDYHMS),{valueType:r,decimals:n}=t;return a(!0,t,r,n)}return S(e,g,t,r)}const k=e=>e.unitlessFormat;function F(e,[t],[r]){return t.format===r.format?a(!0,t.format,t.valueType,t.decimals):e.unitlessFormat}function E(e){return d[e]===d[i.FormatValueType.General]}class A{literalNode(e){switch(e.kind){case o.OperKind.String:case o.OperKind.Boolean:case o.OperKind.Error:case o.OperKind.Missing:return n.Pledge.resolve(this.context.defaultFormat);case o.OperKind.Number:const t=21,r=this.context.mathpack.formatGeneral(this.context.localeInfo,this.context.mathpack.abs(e),t),i=r.indexOf(this.context.localeInfo.decimalSeparator),s=i>=0?r.length-i-1:0,l=v(this.context,o.KnownFormat.General);return n.Pledge.resolve(a(!1,l,l.valueType,s));default:return(0,n.assertNever)("calc.numfmt.evalFormat: unexpected literal oper",e)}}arrayNode(e){return n.Pledge.resolve(this.context.defaultFormat)}appNode(e,t){if((0,o.isOperatorNode)(e))return n.Pledge.all(t.map((e=>this.lazyVisitFormulaNode(e).bind((t=>[t,e]))))).bind((t=>function(e,t,r){switch(t){case o.OperatorId.Mul:case o.OperatorId.Div:return e.multOrDivTainted=!0,y(e,r,C);case o.OperatorId.Pow:return y(e,r,C);case o.OperatorId.Add:case o.OperatorId.Sub:return y(e,r,T);case o.OperatorId.Percent:{(0,n.assertTrue)("calc.numfmt.evalFormat: well-formed unary op",1===r.length);const[t,i]=r[0];if(!(0,o.isNumberLiteralNode)(i))return e.defaultFormat;const{strong:s,decimals:l}=t,u=v(e,o.KnownFormat.Pct);return a(s,u,u.valueType,l)}case o.OperatorId.Pound:case o.OperatorId.At:return e.defaultFormat;case o.OperatorId.Neg:case o.OperatorId.Pos:{(0,n.assertTrue)("calc.numfmt.evalFormat: well-formed unary op",1===r.length);const[e]=r[0];return e}case o.OperatorId.Lt:case o.OperatorId.Le:case o.OperatorId.Eq:case o.OperatorId.Ge:case o.OperatorId.Gt:case o.OperatorId.Ne:return y(e,r,k);case o.OperatorId.Isect:case o.OperatorId.Union:case o.OperatorId.Range:case o.OperatorId.Concat:return y(e,r,F);case o.OperatorId.And:case o.OperatorId.Or:case o.OperatorId.Xor:case o.OperatorId.Min:case o.OperatorId.Max:throw new l((0,o.notImplemented)(["evalFormat for Yellow ops"]));default:return(0,n.assertNever)("calc.numfmt.evalFormat: unexpected operator id",t)}}(this.context,e.id,t)));if((0,o.isWSFNode)(e)){const r=e.id,i=h[r]??p.Ignore,s=(0,o.getWorksheetFuncType)(r),l=(0,o.getArguments)(t);if((0,n.assertTrue)("calc.numfmt.evalFormula: well-formed WSF args",(0,o.isValidArgsLength)(s,l.length)),i===p.Ignore)return n.Pledge.resolve(this.context.defaultFormat);if(i===p.Propagate)return 0===l.length?n.Pledge.resolve(this.context.defaultFormat):n.Pledge.all(t.map(this.lazyVisitFormulaNode)).bind((e=>{const t=e[0];let r=t.format,n=t.valueType,o=t.decimals;const i=!E(n);if(!t.strong&&i)return this.context.unitlessFormat;let s=i;for(let t=1;t<e.length;t+=1){const i=e[t],a=!E(i.valueType);if(!i.strong&&a)return this.context.unitlessFormat;s||(r=i.format,n=i.valueType,o=i.decimals,s=a)}return a(!0,r,n,o)}));const u=v(this.context,i),{valueType:c,decimals:d}=u;return n.Pledge.resolve(a(!0,u,c,d))}return this.lazyVisitFormulaNode(e)}letNode(e,t,r,o){return n.Pledge.resolve(this.context.defaultFormat)}lambdaNode(e,t,r,o){return n.Pledge.resolve(this.context.defaultFormat)}parenNode(e){return this.lazyVisitFormulaNode(e)}nameNode(e,t){return n.Pledge.resolve(this.context.defaultFormat)}cellRefNode(e,t){const{resolution:r}=this.context.resolver.resolveCellRef(this.context.locals,(0,o.cellRefNode)(e,t));if(!(0,n.isSuccess)(r))throw(0,n.assertTrue)("calc.numfmt.evalFormat: NoOriginSheet",r.reason.kind!==o.ResolveReasonKind.NoOriginSheet),new l(r.reason);const i=r.value;if(void 0===i)throw s;return(0,o.isSheetGridRange)(i)?n.Pledge.resolve(x(this.context,i)):n.Pledge.resolve(this.context.unitlessFormat)}fieldRefNode(e,t){return this.lazyVisitFormulaNode(e).bind((e=>this.context.defaultFormat))}structRefNode(e,t){const r=(0,o.structRefNode)(e,t),{resolution:i}=this.context.resolver.resolveStructRef(this.context.locals,r);if(!(0,n.isSuccess)(i)){if((0,n.assertTrue)("calc.numfmt.evalFormat: NoOriginSheet",i.reason.kind!==o.ResolveReasonKind.NoOriginSheet),i.reason.kind===o.ResolveReasonKind.EmptyIntersection)throw s;throw new l(i.reason)}const a=i.value;if(void 0===a)throw s;return n.Pledge.resolve(x(this.context,a))}missingNode(e){return(0,n.assertFalse)("calc.numfmt.evalFormat: unexpected missing node")}badSequenceNode(e,t){return(0,n.assertFalse)("calc.numfmt.evalFormat: unexpected bad node")}badCharsNode(e,t){return(0,n.assertFalse)("calc.numfmt.evalFormat: unexpected bad node")}operatorNode(e,t){return n.Pledge.resolve((0,o.operatorNode)(e,t))}wsfNode(e,t,r){return n.Pledge.resolve((0,o.wsfNode)(e,t,r))}constructor(e){this.context=e,this.visitFormulaNode=e=>(0,o.visitFormulaNode)(this,e),this.lazyVisitFormulaNode=e=>n.Pledge.resolve(e).bind(this.visitFormulaNode)}}function I(e,t){return(0,o.reducePledge)(new A(e),t)}function x(e,t){const r=(0,o.sheetGridRangeAnchor)(t),s=e.globals.getCellFormat(r);if(!(0,n.isSuccess)(s))throw new l(s.reason);const u=s.value,c=f(e,u);if(!(0,o.isDocumentLocEqual)(r.sheet.document,e.document)&&("number"!=typeof u||c.source!==i.NumberFormatSource.Builtin))return e.defaultFormat;const{valueType:d,decimals:p}=c;return a(!0,u,d,p)}},68375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNumberFormatter=function(e){return{createFormat:(t,r)=>(0,a.createFormat)(e,t,"boolean"!=typeof r?r:r?u.NumberFormatSource.Builtin:u.NumberFormatSource.CustomString),applyFormat:(t,r,n)=>(0,a.applyFormat)(e,t,r,n),changeFormatDecimals:a.changeFormatDecimals,renderValue:(t,r)=>(0,l.renderValue)(e.config.mathpack,t,r),renderHashesValue:(e,t)=>(0,l.renderHashesValue)(e,t),renderFormulaBar(t,r,n,o){return(0,i.renderFormulaBar)(this,e,t,r,n,o)},parseGeneral:(t,r,n,o)=>(0,s.parseGeneral)(e,t,r,n,o),parseDate:(t,r)=>(0,s.parseDate)(e,t,r),parseEdit:(t,r)=>(0,n.parseEdit)(e,t,r),evalFormat:(t,r)=>(0,o.evalFormat)(e,t,r)}};const n=r(44953),o=r(26867),i=r(10490),a=r(68231),s=r(46),l=r(36297),u=r(62737)},10490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderFormulaBar=function(e,t,r,l,u,c){try{const{localeInfo:d}=t.config;switch(l.kind){case o.OperKind.Number:return function(e,t,r,l,u){if(u.isDate||u.isTime){const c=function(e,t,r,l,u){const{mathpack:c,localeInfo:d}=t.config;if(c.cond(l)<0)return(0,n.success)(void 0);let p="";const h=0!==c.fix(l)||u.isDate;let g=l;if(h){const u=c.trunc(l),h=(0,s.getFormatString)(e,t,r,(0,i.buildMMDDYYFormat)(d,!0),a.NumberFormatSource.CustomString);if(!(0,n.isSuccess)(h))return h;const m=(0,s.applyFormatAndRenderToString)(e,h.value,u);if(!(0,n.isSuccess)(m))return m;if("string"!=typeof m.value)return(0,n.success)(void 0);p+=m.value;const f=c.sub(l,u);(0,n.assertTrue)("calc.numfmt.renderFormulaBar: sub error",!(0,o.isErrorOper)(f)),g=f}if(c.cond(g)>0||u.isTime){h&&(p+=" ");const i=t.getKnownFormat(r,d.clock24Hour?o.KnownFormat.HHMMSS:o.KnownFormat.HHMMSSAP);if(!(0,n.isSuccess)(i))return i;const a=(0,s.applyFormatAndRenderToString)(e,i.value,g);if(!(0,n.isSuccess)(a))return a;if("string"!=typeof a.value)return(0,n.success)(void 0);p+=a.value}return(0,n.success)(p)}(e,(0,s.initUtilGlobals)(t),r,l,u);if(!(0,n.isSuccess)(c))return c;if(void 0!==c.value)return c.value,c}const{mathpack:c,localeInfo:d}=t.config;if(u.isPercent){const e=c.mul(l,c.fromNumber(100));return(0,o.isErrorOper)(e)?(0,n.failure)((0,o.notImplemented)(["renderFormulaBar % overflow"])):(0,n.success)(c.formatGeneral(d,e,21)+"%")}return(0,n.success)(c.formatGeneral(d,l,21))}(e,t,r,l,u);case o.OperKind.String:return(0,n.success)(c?"'"+l.value:l.value);case o.OperKind.Boolean:return(0,n.success)(l.value?d.trueName:d.falseName);case o.OperKind.Error:const p=d.errorNames[l.type];return null==p?(0,n.failure)((0,o.internal)(`No locale data for error type ${l.type}`)):(0,n.success)(p);case o.OperKind.Array:return(0,n.failure)((0,o.notImplemented)(["Array renderFormulaBar"]));case o.OperKind.Rich:return(0,n.failure)((0,o.notImplemented)(["Rich renderFormulaBar"]));case o.OperKind.Blank:return(0,n.success)("");default:return(0,n.assertNever)("calc.numfmt.renderFormulaBar: never value",l)}}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i=r(61177),a=r(62737),s=r(46993)},68231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NumberFormatImpl=t.pictureCalendar=t.pictureNumberShape=void 0,t.createFormat=function(e,t,r){try{return(0,n.success)(new he(e.config,{old:void 0,formatString:t,source:r}))}catch(e){return e instanceof pe?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)(e))}},t.applyFormat=function(e,t,r,i){try{let a,l,u;const{localeInfo:c}=e.config;switch(r.kind){case o.OperKind.String:a=function(e){if(0===e.length)return!1;const t=(0,n.stringCodePointAt)(e,0);return t>=1424&&t<=1535||8207===t||t>=64285&&t<=64335||t>=1536&&t<=1791||t>=1872&&t<=1919||t>=2208&&t<=2303||t>=64336&&t<=65023||t>=65136&&t<=65279}(r.value)?s.Alignment.Right:s.Alignment.Left,l=s.Clip.None,u=r;break;case o.OperKind.Number:a=t.isTextOnly?s.Alignment.Left:s.Alignment.Right,l=s.Clip.All,u=r;break;case o.OperKind.Boolean:a=s.Alignment.Center,l=s.Clip.All,u=(0,o.stringOper)(r.value?c.trueName:c.falseName);break;case o.OperKind.Blank:return(0,n.success)((0,s.formattedValue)([],void 0,s.Alignment.Left,s.Clip.All));case o.OperKind.Error:const e=c.errorNames[r.type];return null==e?(0,n.failure)((0,o.internal)(`No locale data for error type ${r.type}`)):(0,n.success)((0,s.formattedValue)([(0,s.formattedUnitString)(e)],void 0,s.Alignment.Center,s.Clip.All));case o.OperKind.Array:return(0,n.failure)((0,o.notImplemented)(["Array applyFormat"]));case o.OperKind.Rich:return(0,n.failure)((0,o.notImplemented)(["Rich applyFormat"]))}return t.apply(u,a,l,i)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}},t.changeFormatDecimals=function(e,t){try{switch(e.valueType){case s.FormatValueType.General:return(0,n.failure)((0,o.notImplemented)(["changeDecimals General"]));case s.FormatValueType.Number:case s.FormatValueType.Currency:case s.FormatValueType.Accounting:case s.FormatValueType.Percentage:case s.FormatValueType.Scientific:if(0===e.decimals&&t<0)return n.successUndefined;const r=(0,n.fastMax)(0,e.decimals+t),i=e.synthesizeDecimals(r);return i.formatString===e.formatString?n.successUndefined:(0,n.success)(i);default:return n.successUndefined}}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i=r(21835),a=r(36297),s=r(62737),l=r(93542),{codePointMinusSign:u,codePointPlusSign:c,codePointDigitZero:d,codePointHash:p,codePointFullStop:h,codePointDigitOne:g,codePointDigitTwo:m,codePointLeftParen:f,codePointRightParen:v,codePointSmallT:b,codePointBackslash:y}=n.codePoint;var S;!function(e){e[e.WantPic=0]="WantPic",e[e.WantClose=1]="WantClose",e[e.Done=2]="Done"}(S||(S={}));const C={decimalSeparator:"NOTUSED"};function T(e,t,r,o){const{mantissa:i,exponent:a}=e.formatFixed(t,0,0);return(0,n.assertTrue)("calc.numfmt.dtrInteger: mantissa len <= exponent",i.length<=a),(0,n.assertTrue)("calc.numfmt.dtrInteger: mantissa || !exponent",0!==i.length||0===a),(0,l.convertDigitsShape)(a<r?(0,n.repeat)("0",r-a):"",o)+(0,l.convertNumberShape)(C,i+(0,n.repeat)("0",a-i.length),o)}function k(e,t,r,o,i){const{mantissa:a,exponent:s}=e.formatFixed(t,0,0);(0,n.assertTrue)("calc.numfmt.dtrFracSeconds: mantissa len <= exponent",a.length<=s),(0,n.assertTrue)("calc.numfmt.dtrFracSeconds: mantissa || !exponent",0!==a.length||0===s);const u=((s<r?(0,n.repeat)("0",r-s):"")+a+(0,n.repeat)("0",s-a.length)).substring(0,o);return(0,l.convertDigitsShape)(u,i)}function F(e,t){const{mantissa:r,exponent:o}=e.formatFixed(t,0,0);return(0,n.assertTrue)("calc.numfmt.formatInt: mantissa len <= exponent",r.length<=o),(0,n.assertTrue)("calc.numfmt.formatInt: mantissa || !exponent",0!==r.length||0===o),""===r?"0":r.length<o?r+(0,n.repeat)("0",o-r.length):r}function E(e){const t=[];for(let r=0;r<e.length;r+=1){const n=e[r];switch(n.kind){case s.FormattedUnitKind.Blank:case s.FormattedUnitKind.String:{let o=n.str;for(;r+1<e.length;){const t=e[r+1];if(t.kind!==n.kind)break;o+=t.str,r+=1}t.push({kind:n.kind,str:o});break}case s.FormattedUnitKind.Flexible:case s.FormattedUnitKind.General:t.push(n)}}return t}const A=e=>e.kind===s.FormattedUnitKind.Flexible,I={1:o.NumberShape.ChineseTrad1,2:o.NumberShape.ChineseTrad2,3:o.NumberShape.ChineseTrad3},x={1:o.NumberShape.ChineseSimp1,2:o.NumberShape.ChineseSimp2,3:o.NumberShape.ChineseSimp3},w={1:o.NumberShape.Japanese1,2:o.NumberShape.Japanese2,3:o.NumberShape.Japanese3},P={1:o.NumberShape.Korean1,2:o.NumberShape.Korean2,3:o.NumberShape.Korean3,4:o.NumberShape.Korean4};function R(e){return e+1}var D;!function(e){e[e.Ne=0]="Ne",e[e.Le=1]="Le",e[e.Ge=2]="Ge",e[e.Eq=3]="Eq",e[e.Lt=4]="Lt",e[e.Gt=5]="Gt"}(D||(D={}));const _=(0,n.partialArray)({[D.Ne]:"<>",[D.Le]:"<=",[D.Ge]:">=",[D.Eq]:"=",[D.Lt]:"<",[D.Gt]:">"}),N={[D.Ne]:o.OperatorId.Ne,[D.Le]:o.OperatorId.Le,[D.Ge]:o.OperatorId.Ge,[D.Eq]:o.OperatorId.Eq,[D.Lt]:o.OperatorId.Lt,[D.Gt]:o.OperatorId.Gt},O={[o.OperatorId.Ne]:D.Ne,[o.OperatorId.Le]:D.Le,[o.OperatorId.Ge]:D.Ge,[o.OperatorId.Eq]:D.Eq,[o.OperatorId.Lt]:D.Lt,[o.OperatorId.Gt]:D.Gt};var M;function B(e,t,r,n){for(let o=0;o<t.length;o+=1){const i=t[o];if(null==i)continue;if(n+i.length>r.length)continue;const a=r.substring(n,n+i.length);if(0===e.stringCompareCI(i,a))return Number(o)}}function L(e,t,r,o){for(let e=0;e<t.length;e+=1){const i=t[e];if(null!=i&&(0,n.stringStartsWith)(r,i,o))return Number(e)}return B(e,t,r,o)}function K(e,t){return e[t]??""}function W(e,t,r,o){const i=r.substring(o,o+(0,n.numCodeUnits)((0,n.stringCodePointAt)(r,o)));for(let r=0;r<t.length;r+=1){const o=t[r];if(null==o)continue;if(0===o.length)continue;const a=o.substring(0,(0,n.numCodeUnits)((0,n.stringCodePointAt)(o,0)));if(0===e.stringCompareCI(i,a))return!0}return!1}function H(e,t){let r=t.indexOf(K(e.pictureSingle,o.PictureSingle.APDelim));return r<0&&(r=t.length>>1),[t.substring(0,r),t.substring(r+1)]}!function(e){e[e.AMPM=100]="AMPM",e[e.AMPMFE=101]="AMPMFE",e[e.General=102]="General",e[e.Currency=103]="Currency",e[e.Color=200]="Color",e[e.Dbnum=201]="Dbnum",e[e.Cond=202]="Cond",e[e.CurrCode=203]="CurrCode",e[e.Char=300]="Char",e[e.StrLit=301]="StrLit",e[e.Numeral=302]="Numeral",e[e.PrefixDigTh=303]="PrefixDigTh",e[e.LatinDate=304]="LatinDate",e[e.BidiDate=305]="BidiDate",e[e.Exp=306]="Exp"}(M||(M={}));const G=/^[0-9A-F]{1,8}$/i,z=/^(?:([a-z]{2,}(?:-[A-Z0-9](?:[A-Z0-9]+|(?=,)|$)(?:_[A-Z0-9]+)?)*)(?:-x-([a-z]+))?|x-([a-z0-9]+))?(?:,([0-9A-F]{1,4}))?$/i;t.pictureNumberShape=(0,n.partialArray)({1:o.NumberShape.ASCII,2:o.NumberShape.ArabicIndic,3:o.NumberShape.ExtendedArabicIndic,4:o.NumberShape.Devanagari,5:o.NumberShape.Bengali,6:o.NumberShape.Gurmukhi,7:o.NumberShape.Gujarati,8:o.NumberShape.Oriya,9:o.NumberShape.Tamil,10:o.NumberShape.Telugu,11:o.NumberShape.Kannada,12:o.NumberShape.Malayalam,13:o.NumberShape.Thai,14:o.NumberShape.Lao,15:o.NumberShape.Tibetan,16:o.NumberShape.Myanmar,17:o.NumberShape.Ethiopic,18:o.NumberShape.Khmer,19:o.NumberShape.Mongolian,27:o.NumberShape.Japanese1,28:o.NumberShape.Japanese2,29:o.NumberShape.Japanese3,30:o.NumberShape.ChineseSimp1,31:o.NumberShape.ChineseSimp2,32:o.NumberShape.ChineseSimp3,33:o.NumberShape.ChineseTrad1,34:o.NumberShape.ChineseTrad2,35:o.NumberShape.ChineseTrad3,36:o.NumberShape.Korean1,37:o.NumberShape.Korean2,38:o.NumberShape.Korean3,39:o.NumberShape.Korean4}),t.pictureCalendar=(0,n.partialArray)({1:o.Calendar.Gregorian,2:o.Calendar.GregorianUS,3:o.Calendar.Japan,4:o.Calendar.Taiwan,5:o.Calendar.Korea,6:o.Calendar.Hijri,7:o.Calendar.Thai,8:o.Calendar.Hebrew,9:o.Calendar.GregorianMEFrench,10:o.Calendar.GregorianArabic,11:o.Calendar.GregorianXlitEnglish,12:o.Calendar.GregorianXlitFrench,22:o.Calendar.Persian,23:o.Calendar.UmAlQura});const U=Object.keys(s.CultureTag).reduce(((e,t)=>{const r=s.CultureTag[t];return e[String(r)]=r,e}),Object.create(null));function V(e){return e.toString(16).toUpperCase()}function j(e){return Number("0x"+e)}const q={culture:"en-US",tag:void 0},$={culture:"fr-FR",tag:void 0},Q={culture:"ar-IQ",tag:void 0},X={culture:"ar-SA",tag:void 0},Y={culture:"ar-DZ",tag:void 0},J={culture:"th-TH",tag:void 0},Z={[o.PictureSingle.Hour]:o.TimeDivision.Hour,[o.PictureSingle.HourTh]:o.TimeDivision.Hour,[o.PictureSingle.Minute]:o.TimeDivision.Minute,[o.PictureSingle.MinuteTh]:o.TimeDivision.Minute,[o.PictureSingle.Second]:o.TimeDivision.Second,[o.PictureSingle.SecondTh]:o.TimeDivision.Second};function ee(e){return e.kind===te.Char?e.formattedStr:void 0}var te;!function(e){e[e.Char=400]="Char",e[e.Fraction=401]="Fraction",e[e.Exp=402]="Exp",e[e.Num=403]="Num",e[e.FracSeconds=404]="FracSeconds",e[e.DateSep=405]="DateSep",e[e.TimeSep=406]="TimeSep",e[e.SysFormat=407]="SysFormat"}(te||(te={}));const re={kind:M.General};function ne(e){return 1===e.length&&e[0].kind===M.General}var oe,ie,ae;!function(e){e[e.Num=0]="Num",e[e.Date=1]="Date",e[e.Fraction=2]="Fraction",e[e.Percent=3]="Percent",e[e.Exp=4]="Exp",e[e.Text=5]="Text",e[e.General=6]="General",e[e.Other=7]="Other"}(oe||(oe={})),function(e){e[e.Pos=0]="Pos",e[e.Neg=1]="Neg",e[e.Zero=2]="Zero",e[e.Text=3]="Text"}(ie||(ie={})),function(e){e[e.Unknown=0]="Unknown",e[e.Either=1]="Either",e[e.Number=2]="Number",e[e.Text=3]="Text"}(ae||(ae={}));const se={code:[re],color:void 0,dbnum:void 0,dtrRounding:o.Rounding.RoundSec};function le(e){return void 0===e.color&&void 0===e.dbnum&&ne(e.code)}const ue={},ce=(0,o.createFailureErrorClass)("ApplyHashesError"),de=(0,o.createFailureErrorClass)("ApplyError"),pe=(0,o.createFailureErrorClass)("InitError");class he{get isPercent(){return this.hasPercent}get isDate(){return this.hasDate}get isTime(){return this.hasTime}get isTextOnly(){return!this.posBeforeText}get isInputDependent(){return this.isInputDependentFormat()}get culture(){return this.thisCurrCode}get currencySymbol(){return this.thisCurrencySymbol}apply(e,t,r,o){try{return(0,n.success)(this.applyImpl(e,t,r,o))}catch(e){return e instanceof de?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)((0,n.prependErrorMessage)(e,`(while applying format ${this.logFormatString})`)))}}isInputDependentFormat(){for(const e of this.parts)for(const t of e.code)switch(t.kind){case M.General:case M.AMPM:case M.AMPMFE:case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Text:case o.PictureSingle.Year:case o.PictureSingle.YearTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:case o.PictureSingle.Month:case o.PictureSingle.MonthTh:case o.PictureSingle.Day:case o.PictureSingle.DayTh:case o.PictureSingle.LocDay:case o.PictureSingle.Hour:case o.PictureSingle.HourTh:case o.PictureSingle.Minute:case o.PictureSingle.MinuteTh:case o.PictureSingle.Second:case o.PictureSingle.SecondTh:case o.PictureSingle.Era:case o.PictureSingle.EraYear:case te.Fraction:case te.Exp:case te.Num:case te.SysFormat:case te.FracSeconds:case o.PictureSingle.Question:return!0;case te.DateSep:case te.TimeSep:case te.Char:case M.LatinDate:case o.PictureSingle.Decimal:case o.PictureSingle.Percent:case M.BidiDate:case M.Currency:case M.CurrCode:case M.StrLit:case M.Numeral:case M.PrefixDigTh:case M.Exp:case o.PictureSingle.Slash:case o.PictureSingle.Star:case o.PictureSingle.Underscore:}return!1}applyImpl(e,t,r,i){const{mathpack:a,localeInfo:l}=this.config;if(this.valueType===s.FormatValueType.General){const n=void 0;if((0,o.isStringOper)(e))return(0,s.formattedValue)([(0,s.formattedUnitString)(e.value)],n,t,r);if(!i&&0===a.cond(e))return(0,s.formattedValue)([],n,t,r);const u=(0,s.formattedUnitGeneral)(a.toNumber(e),l.decimalSeparator,!0,o.NumberShape.ASCII,o.NumberShape.ASCII,!0);return(0,s.formattedValue)([u],n,t,r)}let u=!1;for(;;){let l;try{let n,p=!1;const h=[];if((0,o.isStringOper)(e))n=ie.Text;else{const t=a.cond(e);void 0!==this.condPos||void 0!==this.condNeg?({partKind:n,forceNeg:p}=this.getPart(e)):n=t<0?ie.Neg:t>0?ie.Pos:ie.Zero,t<0&&(this.onlyOneNumberPart||p)&&h.push((0,s.formattedUnitString)("-"))}l=this.parts[n];const{color:g,dbnum:m,code:f,dtrRounding:v}=l;if(!i&&n===ie.Zero&&l===this.parts[ie.Pos]&&!u)return(0,s.formattedValue)([],g,t,r);const b=this.getNumShape(m);this.applyPart({dtrRounding:v,dbnum:m,forceNeg:p,units:h,numShape:b,bidiDate:void 0},f,e,void 0);const y=r|(n!==ie.Text||le(l)||(d=void 0,void 0===(c=l).color&&void 0===c.dbnum&&1===(d=c.code).length&&d[0].kind===o.PictureSingle.Text)?s.Clip.None:s.Clip.MaxChars),S=h.some(A)?s.Alignment.Left:t;return(0,s.formattedValue)(E(h),g,S,y)}catch(t){if(t===ue){(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyImpl restart",!(0,o.isStringOper)(e)&&0!==a.cond(e)),e=a.zero,u=!0;continue}if(t instanceof ce)return(0,s.hashesValue)(t.reason,l?.color);throw t}}var c,d}applyPart(e,t,r,i){const{mathpack:u,datepack:c,localeInfo:d}=this.config,p=this.applyCurrCode?.calendar??o.Calendar.Gregorian;let h;const g=()=>{if(void 0!==h)return h;(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart getDtr value",!(0,o.isStringOper)(r));const{date1904:t,dateCompatibility:i}=this.config;if(!i&&u.cond(r)<0)throw new ce(s.dateOverflow);if(i&&u.cond(r)<0){if(t)throw new de((0,o.notImplemented)(["negative date 1904"]));throw new ce(s.dateOverflow)}const a=c.fromNum(this.config,u.abs(r),e.dtrRounding);if(!1===a)throw new ce(s.dateOverflow);switch(p){case o.Calendar.Gregorian:case o.Calendar.GregorianUS:case o.Calendar.GregorianMEFrench:case o.Calendar.GregorianArabic:case o.Calendar.GregorianXlitEnglish:case o.Calendar.GregorianXlitFrench:break;case o.Calendar.Thai:a.yr+=543;break;default:throw new de((0,o.notImplemented)(["calendar: "+p]))}return(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: components within range",a.yr>=0&&a.mon>=1&&a.mon<=12&&a.dom>=0&&a.dom<=31&&a.hour>=0&&a.hour<=23&&a.min>=0&&a.min<=59&&a.sec>=0&&a.sec<=59&&a.fracSec>=0&&a.wdy>=1&&a.wdy<=7),h=a},m=()=>{if(void 0!==h)throw new de((0,o.notImplemented)(["use of value after date component"]));return r};let f=!1,v=e.numShape;const b=e.units;for(let h=0;h<t.length;h+=1){const y=t[h];switch(y.kind){case M.General:{f=!0;const t=m();if((0,o.isStringOper)(t))b.push((0,s.formattedUnitString)(t.value));else{const r=u.abs(t);if(u.cond(t)<0&&"0"===u.formatGeneral(d,r,1))throw new de((0,o.notImplemented)(["potential LRestart in interval (-0.5,0)"]));const i=(0,s.formattedUnitGeneral)(u.toNumber(r),d.decimalSeparator,!1,v,this.getNumShape(void 0),this.valueType===s.FormatValueType.General);if(void 0!==e.dbnum){const e=(0,a.renderGeneral)(u,i,255);(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart General renderRes",!1!==e),b.push((0,s.formattedUnitString)(e));break}b.push(i)}break}case o.PictureSingle.Text:{const e=m();(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Text value",(0,o.isStringOper)(e)),b.push((0,s.formattedUnitString)(e.value));break}case M.Exp:case o.PictureSingle.Slash:case te.Char:b.push((0,s.formattedUnitString)(y.formattedStr));break;case o.PictureSingle.Star:b.push((0,s.formattedUnitFlexible)(y.escaped));break;case o.PictureSingle.Underscore:b.push((0,s.formattedUnitBlank)(y.escaped));break;case M.StrLit:b.push((0,s.formattedUnitString)(y.escaped));break;case o.PictureSingle.Percent:case M.Numeral:b.push((0,s.formattedUnitString)(y.formattedStr));break;case M.Currency:b.push((0,s.formattedUnitString)(d.currencySymbol));break;case M.CurrCode:{const{currencySymbol:e,currCode:t}=y;(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart system tag",!(0,s.isSystemCultureTag)(t?.tag)),void 0!==e&&b.push((0,s.formattedUnitString)(e));break}case te.DateSep:b.push((0,s.formattedUnitString)(d.dateSeparator));break;case te.TimeSep:y.printAsTimeSep?b.push((0,s.formattedUnitString)(d.timeSeparator)):b.push((0,s.formattedUnitString)(y.formattedStr));break;case te.Num:{const t=m();(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Num value",!(0,o.isStringOper)(t)),(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Num numState",void 0===i);const{numDigLeft:r,numDigDec:a,numPercent:s,numThousands:l}=y,c=2*s-3*l,{mantissa:d,exponent:p}=u.formatFixed(t,c,a);if((0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Num mantissa || !exponent",0!==d.length||0===p),(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Num mantissa len",d.length<=p+a),u.cond(t)<0&&(this.onlyOneNumberPart||e.forceNeg)&&0===d.length)throw ue;this.applyPart(e,y.codeBefore,u.zero,void 0),this.applyPart(e,y.code,u.zero,{comma:y.comma,fractionDenom:!1,decimal:!1,digits:d,digitsExp:p,numDigLeft:r});break}case te.Exp:{const t=m();(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Exp value",!(0,o.isStringOper)(t)),(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Exp numState",void 0===i);const{numMantDigLeft:r,numMantDigDec:a}=y,l=0===r&&0===a,{mantissa:c,exponent:d}=u.formatScientific(t,r,a);(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Exp mantissa || !exponent",0!==c.length||0===d||l);const p=(0,o.formatScientificLeft)(d,r);(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Exp mantissa len",c.length<=p+a),this.applyPart(e,y.codeMant,u.zero,{comma:y.commaMant,fractionDenom:!1,decimal:!1,digits:c,digitsExp:p,numDigLeft:y.numMantDigLeft}),this.applyPart(e,y.codeBetween,u.zero,void 0);const h=""!==c||l?d-p:0;h<0?b.push((0,s.formattedUnitString)("-")):y.isNeg||b.push((0,s.formattedUnitString)("+"));const g=F(u,u.fromNumber(h));this.applyPart(e,y.codeExp,u.zero,{comma:y.commaMant,fractionDenom:!1,decimal:!1,digits:g,digitsExp:g.length,numDigLeft:y.numExpDigLeft});break}case te.Fraction:{const t=m();(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Fraction value",!(0,o.isStringOper)(t)),(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Fraction numState",void 0===i);const{numPercent:r,numThousands:a,numIntDigLeft:l,numNumerDig:c,numDenomDig:d,commaInt:p,denomValue:h}=y,g=2*r-3*a,f=u.tenTo(g),v=(0,o.isErrorOper)(f)?f:u.mul(u.abs(t),f);if((0,o.isErrorOper)(v))throw new de((0,o.notImplemented)(["overflow on fraction exp adjust"]));const S=e=>{for(let t=e;t<b.length;t+=1){const e=b[t];e.kind===s.FormattedUnitKind.String&&(b[t]=(0,s.formattedUnitBlank)(e.str))}};let C,T,k,E=y.anyZeroNumer;if(void 0!==y.codeInt){let t=u.trunc(v);const r=u.sub(v,t);if((0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart fracPart sub",(0,o.isNumberOper)(r)),({numer:C,denom:T}=this.formFraction(r,h,d)),(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart numer <= denom",u.cond2(C,T)<=0),0===u.cond2(C,T)){C=u.zero;const e=u.add(t,u.one);(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart bumped error",(0,o.isNumberOper)(e)),t=e}0!==u.cond(C)&&(E=!0);const i=F(u,t),a={comma:p,fractionDenom:!1,decimal:!1,digits:i,digitsExp:i.length,numDigLeft:l},s=b.length;this.applyPart(e,y.codeInt,u.zero,a),k=b.length,(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Fraction lastDigInt",void 0!==y.lastDigInt),0===u.cond(t)&&E&&y.lastDigInt!==o.PictureSingle.Zero?(y.lastDigInt!==o.PictureSingle.Question&&(b.length=s),this.applyPart(e,y.codeBetween1,u.zero,void 0),S(s),y.firstDigNumer!==o.PictureSingle.Question&&(b.length=s)):this.applyPart(e,y.codeBetween1,u.zero,void 0)}else{if(({numer:C,denom:T}=this.formFraction(v,h,d)),u.cond(t)<0&&(this.onlyOneNumberPart||e.forceNeg)&&0===u.cond(C))throw ue;E=!0,k=b.length}const A=F(u,C),I={comma:!1,fractionDenom:!1,decimal:!1,digits:A,digitsExp:A.length,numDigLeft:c};this.applyPart(e,y.codeNumer,u.zero,I),this.applyPart(e,y.codeBetween2,u.zero,void 0);const x=F(u,T),w={comma:!1,fractionDenom:!0,decimal:I.decimal,digits:x,digitsExp:x.length,numDigLeft:d};this.applyPart(e,y.codeDenom,u.zero,w),E||(y.anyQuestionNumer||y.firstDigDenom===o.PictureSingle.Question?S(k):b.length=k);break}case o.PictureSingle.Decimal:(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart Decimal numState",void 0!==i),i.digitsExp>0&&(i.numDigLeft=i.digitsExp,this.dumpDigLeft(e,i,i.digitsExp)),i.decimal=!0,b.push((0,s.formattedUnitString)(d.decimalSeparator));break;case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Question:{(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart H/Z/Q numState",void 0!==i);let r=y.count;if(i.decimal||i.fractionDenom&&y.kind===o.PictureSingle.Question){if(i.fractionDenom&&h!==t.length-1)throw new de((0,o.notImplemented)(["left-align bug in denominator"]));if(i.digitsExp<0){const e=(0,n.fastMin)(r,-i.digitsExp),t=(0,l.convertDigitsShape)((0,n.repeat)("0",e),v);b.push((0,s.formattedUnitString)(t)),i.digitsExp+=e,r-=e}{const e=(0,n.fastMin)(r,i.digits.length),t=(0,l.convertDigitsShape)(i.digits.substring(0,e),v);b.push((0,s.formattedUnitString)(t)),i.digits=i.digits.substring(e),r-=e}if(y.kind!==o.PictureSingle.Hash&&r>0){const e=(0,l.convertDigitsShape)((0,n.repeat)("0",r),v);b.push(y.kind===o.PictureSingle.Question?(0,s.formattedUnitBlank)(e):(0,s.formattedUnitString)(e))}break}if(i.numDigLeft>i.digitsExp){const e=(0,n.fastMin)(r,i.numDigLeft-i.digitsExp);if(y.kind!==o.PictureSingle.Hash){let t=(0,l.convertDigitsShape)((0,n.repeat)("0",e),v);i.comma&&(t=(0,l.insertCommas)(d,t,i.numDigLeft-e)),b.push(y.kind===o.PictureSingle.Question?(0,s.formattedUnitBlank)(t):(0,s.formattedUnitString)(t))}r-=e,i.numDigLeft-=e}else r+=i.digitsExp-i.numDigLeft,i.numDigLeft=i.digitsExp;this.dumpDigLeft(e,i,r);break}case M.PrefixDigTh:d.isThai&&(v=e.numShape=o.NumberShape.Thai);break;case M.LatinDate:this.hasTokenCurrCode||(e.bidiDate=s.BidiDate.English);break;case M.BidiDate:throw new de((0,o.notImplemented)(["TokenKind.BidiDate"]));case o.PictureSingle.HourTh:case o.PictureSingle.MinuteTh:case o.PictureSingle.SecondTh:case o.PictureSingle.Hour:case o.PictureSingle.Minute:case o.PictureSingle.Second:{const t=y.kind===o.PictureSingle.HourTh||y.kind===o.PictureSingle.MinuteTh||y.kind===o.PictureSingle.SecondTh,r=t&&!this.hasTokenCurrCode?o.NumberShape.Thai:v;if(y.isAbs){const i=m();if((0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart H/M/S value",!(0,o.isStringOper)(i)),t&&this.hasTokenCurrCode)throw new de((0,o.notImplemented)(["fcAbsHourTh && fIntlNum bug"]));const a=c.toTime(this.config,u.abs(i),Z[y.kind],e.dtrRounding);if(!1===a)throw new de((0,o.notImplemented)(["absolute time overflow"]));b.push((0,s.formattedUnitString)(T(u,u.fromNumber(a),y.count,r)))}else{const e=g();let t;if(y.kind===o.PictureSingle.Minute||y.kind===o.PictureSingle.MinuteTh)t=e.min;else if(y.kind===o.PictureSingle.Second||y.kind===o.PictureSingle.SecondTh)t=e.sec;else if(t=e.hour,y.isAMPM){if(y.kind===o.PictureSingle.HourTh)throw new de((0,o.notImplemented)(["fc12HourTh/fc12Hour2Th forgotten"]));t>12&&(t-=12),0===t&&(t=12)}b.push((0,s.formattedUnitString)(T(u,u.fromNumber(t),y.count,r)))}break}case M.AMPM:case M.AMPMFE:{let e;if(e=!!(0,o.isStringOper)(r)||g().hour<12,(!this.hasTokenCurrCode||y.kind===M.AMPMFE)&&(y.kind===M.AMPMFE||d.isEastAsia||y.pictureKind===o.PictureSpecial.AP2)){const t=H(d,y.tokenStr);b.push((0,s.formattedUnitString)(t[e?0:1]));break}const t=this.getBundledLocaleInfo("localised AM/PM string",o.Calendar.Gregorian,this.applyCurrCode);b.push((0,s.formattedUnitString)(t.ampmSymbols[e?0:1]));break}case te.FracSeconds:{const e=g();(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart FracSeconds rounding",e.rounding>=y.rounding);const t=k(u,u.fromNumber(e.fracSec),e.rounding,y.rounding,v);b.push((0,s.formattedUnitString)(d.decimalSeparator+t));break}case o.PictureSingle.Era:throw new de((0,o.notImplemented)(["PictureSingle.Era"]));case o.PictureSingle.EraYear:throw new de((0,o.notImplemented)(["PictureSingle.EraYear"]));case o.PictureSingle.YearTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:case o.PictureSingle.Year:{const e=y.kind!==o.PictureSingle.YearTh&&y.kind!==o.PictureSingle.ThYear||this.hasTokenCurrCode?v:o.NumberShape.Thai,t=(y.kind===o.PictureSingle.YearTh||y.kind===o.PictureSingle.EngYearTh)&&!this.hasTokenCurrCode,r=g().yr+(t?543:0),n=y.count>2?r:r%100;b.push((0,s.formattedUnitString)(T(u,u.fromNumber(n),y.count,e)));break}case o.PictureSingle.Month:case o.PictureSingle.MonthTh:{const t=g().mon;switch(y.count){case 1:case 2:{const e=y.kind!==o.PictureSingle.MonthTh||this.hasTokenCurrCode?v:o.NumberShape.Thai;b.push((0,s.formattedUnitString)(T(u,u.fromNumber(t),y.count,e)));break}case 3:case 4:case 5:{let r;if(r=e.bidiDate===s.BidiDate.English?(0,o.getEnglishLocaleInfo)():this.getBundledLocaleInfo("localised month string",p,y.kind!==o.PictureSingle.MonthTh||this.hasTokenCurrCode?this.applyCurrCode:J),3===y.count)b.push((0,s.formattedUnitString)(r.monthNameShort[t-1]));else if(4===y.count||e.bidiDate===s.BidiDate.English)b.push((0,s.formattedUnitString)(r.monthNameLong[t-1]));else{const e=r.monthNameLong[t-1];b.push((0,s.formattedUnitString)(e.substring(0,(0,n.numCodeUnits)((0,n.stringCodePointAt)(e,0)))))}break}}break}case o.PictureSingle.Day:case o.PictureSingle.DayTh:case o.PictureSingle.LocDay:{const t=y.kind===o.PictureSingle.DayTh;if(y.count<3){const e=t&&!this.hasTokenCurrCode?o.NumberShape.Thai:v,r=g().dom;b.push((0,s.formattedUnitString)(T(u,u.fromNumber(r),y.count,e)))}else{const r=g().wdy;let n;if(n=e.bidiDate===s.BidiDate.English||!this.hasTokenCurrCode&&d.isEastAsia&&y.kind===o.PictureSingle.Day?(0,o.getEnglishLocaleInfo)():this.getBundledLocaleInfo("localised day string",p,t&&!this.hasTokenCurrCode?J:this.applyCurrCode),t&&this.hasTokenCurrCode&&3===y.count)throw new de((0,o.notImplemented)(["fcDay3Th && fIntlNum bug"]));const i=3===y.count?n.dayNameShort[r-1]:n.dayNameLong[r-1];b.push((0,s.formattedUnitString)(i))}break}case te.SysFormat:(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: applyPart SysFormat numState",void 0===i),this.applyPart(e,y.codeSysFormat,r,i);break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: applyPart code",y)}}f&&m()}dumpDigLeft(e,t,r){const{localeInfo:o}=this.config,{units:i,numShape:a}=e;let u=r;{const e=(0,n.fastMin)(u,t.digits.length);let r=(0,l.convertDigitsShape)(t.digits.substring(0,e),a);t.comma&&(r=(0,l.insertCommas)(o,r,t.numDigLeft-e)),i.push((0,s.formattedUnitString)(r)),t.digits=t.digits.substring(e),u-=e,t.digitsExp-=e,t.numDigLeft-=e}if(u>0){let e=(0,l.convertDigitsShape)((0,n.repeat)("0",u),a);t.comma&&(e=(0,l.insertCommas)(o,e,t.numDigLeft-u)),i.push((0,s.formattedUnitString)(e)),t.digitsExp-=u,t.numDigLeft-=u}}getPart(e){const{mathpack:t}=this.config;for(let r=ie.Pos;r<ie.Zero;r+=1){const i=r;let a;if(r===ie.Pos){if(a=this.condPos,void 0===a&&t.cond(e)>0)return{partKind:i,forceNeg:!1}}else{if(this.parts[i]===this.parts[ie.Pos])throw new ce(s.noFormatPart);if(0===this.parts[ie.Pos].code.length)throw new de((0,o.notImplemented)(['emulation of ";[COND]foo" bug']));if(a=this.condNeg,void 0===a){if(this.parts[ie.Zero]===this.parts[ie.Pos])return(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: getPart condPos",void 0!==this.condPos),{partKind:i,forceNeg:t.cond(this.condPos.operand)>0||this.condPos.operator===o.OperatorId.Eq};if(t.cond(e)<0)return{partKind:i,forceNeg:!1}}}if(void 0===a)continue;const{operator:l,operand:u}=a,c=t.sub(e,u);if((0,o.isErrorOper)(c))throw new de((0,o.notImplemented)(["overflow in condition check"]));if((0,o.applyComparison)(l,t.cond2(e,u)))switch(l){case o.OperatorId.Eq:return{partKind:i,forceNeg:!1};case o.OperatorId.Ne:case o.OperatorId.Gt:case o.OperatorId.Ge:return{partKind:i,forceNeg:!0};case o.OperatorId.Lt:return{partKind:i,forceNeg:t.cond(u)>0};case o.OperatorId.Le:return{partKind:i,forceNeg:t.cond(u)>=0}}}const r=ie.Zero;if(this.parts[r]===this.parts[ie.Pos])throw new ce(s.noFormatPart);return{partKind:r,forceNeg:!0}}getNumShape(e){const t=this.applyCurrCode;let r=t?.numberShape;if(void 0!==r)return r;if(void 0===e)return o.NumberShape.ASCII;const n=this.getBundledLocaleInfo("localised DBNUM culture",o.Calendar.Gregorian,t);return n.isEastAsia&&(n.isKorea?r=P[e]:n.isJapan?r=w[e]:n.isChinaT?r=I[e]:n.isChinaS&&(r=x[e])),r??o.NumberShape.ASCII}formFraction(e,t,r){const{mathpack:i}=this.config;if(void 0!==t){const r=i.fromNumber(137438953472);if((0,o.isErrorOper)(i.sub(e,r)))throw new de((0,o.notImplemented)(["overflow in fraction threshold check"]));if(i.cond2(e,r)<0){const t=i.mul(e,i.fromNumber(1.0000000000000002));(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: formFraction nudged error",(0,o.isNumberOper)(t)),e=t}const a=t,l=i.toNumber(a)<<1,u=i.mul(e,i.fromNumber(l));if(!(0,o.isNumberOper)(u))throw new de((0,o.notImplemented)(["overflow in fraction denom mul"]));const c=i.lfix(u);if(c<0||c>=65535)throw new ce(s.fractionOverflow);return{numer:i.fromNumber(c+1>>1),denom:a}}let a;switch(r){case 1:a=10;break;case 2:a=100;break;case 3:a=1e3;break;case 4:a=1e4;break;case 5:a=1e5;break;case 6:a=1e6;break;default:a=1e7}let l=i.fix(e);if(l>=2147483647)throw new ce(s.fractionOverflow);let u=e,c=1,d=1,p=0,h=0;for(;;){const e=c*l;h+=e;const t=p*l;if(d+=t,e>2147483647||t>2147483647||d>=a){1===p&&2===l&&0===i.cond2(u,i.trunc(u))&&(c+=1);break}[c,h]=[h,c],[p,d]=[d,p];const r=i.sub(u,i.trunc(u));if((0,n.assertTrue)("calc.numfmt.NumberFormatImpl: formFraction frac sub",(0,o.isNumberOper)(r)),0===i.cond(r))break;const s=i.div(i.one,r);if((0,o.isErrorOper)(s))throw new de((0,o.notImplemented)(["overflow in fraction inversion"]));if(u=s,(l=i.fix(u))>2147483647)break}return 0===p&&(p=c=1),{numer:i.fromNumber(c),denom:i.fromNumber(p)}}synthesizeDecimals(e){const t=(0,n.fastMax)(0,(0,n.fastMin)(e,127)),r=[];for(let e=ie.Pos;e<=ie.Text;e+=1){const n=this.parts[e];if((e===ie.Neg||e===ie.Zero)&&n===this.parts[ie.Pos]){r.push(r[ie.Pos]);continue}if(e===ie.Text){r.push(n===this.parts[ie.Pos]?r[ie.Pos]:n);continue}const{code:o,color:i,dbnum:a,dtrRounding:s}=n,l={code:o.map((r=>{if(r.kind===te.Num){const{numDigLeft:n,numPercent:o,numThousands:i,comma:a,codeBefore:s}=r;return{kind:te.Num,numDigLeft:n,numDigDec:t,numPercent:o,numThousands:i,comma:a,code:this.adjustDecimals(e,r.numDigDec,r.code,t),codeBefore:s}}if(r.kind===te.Exp){const{isNeg:n,numMantDigLeft:o,numExpDigLeft:i,commaMant:a,codeBetween:s,codeExp:l}=r;return{kind:te.Exp,isNeg:n,numMantDigLeft:o,numMantDigDec:t,numExpDigLeft:i,commaMant:a,codeMant:this.adjustDecimals(e,r.numMantDigDec,r.codeMant,t),codeBetween:s,codeExp:l}}return r})),color:i,dbnum:a,dtrRounding:s};r.push(l)}try{const e=new he(this.config,{old:this,logFormatString:`synthesizeDecimals(dec=${t} on ${this.logFormatString})`,synth:r});if(e.formatString.length>255)throw new pe(this.notFormatString("format string too long: max length"));return e}catch(e){if(e instanceof pe)return this;throw e}}adjustDecimals(e,t,r,i){if(i===t)return r;let a,s,l,u=!1;for(let e=0;e<r.length;e+=1){const t=r[e];switch(t.kind){case o.PictureSingle.Decimal:void 0===l&&(l=e);break;case o.PictureSingle.Hash:case o.PictureSingle.Question:case o.PictureSingle.Zero:void 0!==l?s=e:(a=e,t.kind===o.PictureSingle.Question&&(u=!0))}}const c=e=>e===o.PictureSingle.Percent||e===M.Currency||e===M.CurrCode||e===o.PictureSingle.Star;if(0===i){if(void 0===l)return r;let e=0,t=0;void 0===a?void 0!==s&&(e=l+1,t=s+1):(e=l,t=(s??l)+1);const o=r.slice(0,e);for(let n=e;n<t;n+=1)c(r[n].kind)&&o.push(r[n]);return(0,n.safePush)(o,r.slice(t)),o}if(t>i){let e;(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: adjustDecimals dec",void 0!==l),function(e){e[e.AfterDigs=0]="AfterDigs",e[e.Dropping=1]="Dropping",e[e.Keeping=2]="Keeping"}(e||(e={}));let a=e.AfterDigs;const s=[];let u=t-i;for(let t=r.length-1;t>=0;t-=1){t<=l&&(a=e.Keeping);const i=r[t];if(a===e.AfterDigs&&(i.kind!==o.PictureSingle.Hash&&i.kind!==o.PictureSingle.Question&&i.kind!==o.PictureSingle.Zero||(a=e.Dropping)),a===e.Keeping||a===e.AfterDigs||c(i.kind))s.push(i);else if(i.kind===o.PictureSingle.Hash||i.kind===o.PictureSingle.Question||i.kind===o.PictureSingle.Zero){const t=(0,n.fastMin)(u,i.count);t<i.count&&s.push({kind:i.kind,count:i.count-t}),u-=t,0===u&&(a=e.Keeping)}}return s.reverse(),s}if(e===ie.Zero&&u&&void 0===s)return r;const d=i-t;if(void 0!==s){const e=r.slice(),t=e[s];return e[s]={kind:t.kind,count:t.count+d},e}const p=r.slice(),h=l??a??p.length-1,g=[];return void 0===l&&g.push({kind:o.PictureSingle.Decimal}),g.push({kind:o.PictureSingle.Zero,count:d}),p.splice(h+1,0,...g),p}parseString(e){if(this.source!==s.NumberFormatSource.CustomBytecode&&e.length>255)throw new pe(this.notFormatString("format string too long: max length"));let t=!1,r=!1,i=0,a=!1;for(let c=ie.Pos;c<=ie.Text&&!a;c+=1){const d=this.tokenize(e.substring(i)),{cond:p,currencySymbol:h,hasTokenCurrCode:g}=d,m=this.convertTokToSun(d),{currCode:f,hasPercent:v,hasDate:b,hasTime:y}=m,S=this.classifySunPartKind(m,c===ie.Text?ae.Text:ae.Unknown),{part:C,applyCurrCode:T}=this.convertSunToCode(m);if(i+=d.consumed,a=d.eos,v&&(this.hasPercent=!0),b&&(this.hasDate=!0),y&&(this.hasTime=!0),g){if(!(c===ie.Pos||this.hasTokenCurrCode&&(l=this.thisCurrCode,u=f,l===u||void 0!==l&&void 0!==u&&(0,s.isFormatCultureEqual)(l,u))))throw new pe((0,o.notImplemented)(["inconsistent CurrCode in number parts"]));this.hasTokenCurrCode||(this.hasTokenCurrCode=!0,this.thisCurrCode=f)}if(void 0!==T&&void 0===this.applyCurrCode&&(this.applyCurrCode=T),void 0!==h&&void 0===this.thisCurrencySymbol&&(this.thisCurrencySymbol=h),this.source===s.NumberFormatSource.System&&((0,n.assertTrue)("calc.numfmt.NumberFormatImpl.parseString: system ipart",c===ie.Pos),!a||S===ae.Text))throw new pe(this.notFormatString("system format with more than one part"));if((S===ae.Text||c===ie.Pos&&S===ae.Either)&&(t=!0,this.parts[ie.Text]=C,S===ae.Text)){if(void 0!==p)throw new pe(this.notFormatString("condition in text part"));if(void 0!==f)throw new pe((0,o.notImplemented)(["CurrCode in text part"]));break}if(r=!0,this.parts[c]=C,this.onlyOneNumberPart=c===ie.Pos,c===ie.Pos)this.parts[ie.Neg]=C,this.parts[ie.Zero]=C,this.condPos=p;else if(c===ie.Neg)this.condNeg=p;else if(void 0!==p)throw new pe(this.notFormatString("condition in zero part"))}var l,u;if(!a)throw new pe(this.notFormatString("too many parts"));r||(this.parts[ie.Pos]=se,this.parts[ie.Neg]=se,this.parts[ie.Zero]=se,this.posBeforeText=!1),t||(this.parts[ie.Text]=se),r&&!t&&this.onlyOneNumberPart&&void 0!==this.condPos&&!ne(this.parts[ie.Pos].code)&&(this.parts[ie.Neg]=se,this.onlyOneNumberPart=!1),(0,n.assertTrue)("calc.numfmt.NumberFormatImpl.parseString: every part set",this.parts.every((e=>void 0!==e))),this.checkBytecode()}tokenize(e){const{localeInfo:t}=this.config,r={color:void 0,dbnum:void 0,dbnumForbidden:!1,cond:void 0,hasTokenCurrCode:!1,currCode:void 0,currencySymbol:void 0,tokens:[],consumed:0,eos:!0};let n,i,a;for(;r.consumed<e.length&&r.eos;){const t=this.readToken(r,e,r.consumed),s=n;switch(n=t,r.consumed+=t.tokenStr.length,t.kind){case o.PictureSingle.Sep:r.eos=!1;continue;case M.Color:if(void 0!==r.color)throw new pe(this.notFormatString("more than one color"));if(0!==r.tokens.length)throw new pe((0,o.notImplemented)(["colour in middle of format"]));r.color=t.color;continue;case M.Dbnum:if(void 0!==r.dbnum)throw new pe(this.notFormatString("more than one DBNUM"));if(r.dbnumForbidden)throw new pe(this.notFormatString("DBNUM after token which forbids it (% or E)"));if(0!==r.tokens.length)throw new pe((0,o.notImplemented)(["DBNUM in middle of format"]));r.dbnum=t.dbnum;continue;case M.Cond:if(void 0!==r.cond)throw new pe(this.notFormatString("more than one condition"));if(0!==r.tokens.length)throw new pe((0,o.notImplemented)(["condition in middle of format"]));r.cond=t.cond;continue;case M.CurrCode:if(void 0!==i)throw new pe(this.notFormatString("more than one currency code in section"));i=t;break;case M.Currency:a=t;break;case M.AMPM:case M.AMPMFE:case o.PictureSingle.Colon:case o.PictureSingle.DateSep:case M.LatinDate:case M.BidiDate:case o.PictureSingle.Year:case o.PictureSingle.Month:case o.PictureSingle.Day:case o.PictureSingle.Hour:case o.PictureSingle.Minute:case o.PictureSingle.Second:case o.PictureSingle.Reign:case o.PictureSingle.LocDay:case o.PictureSingle.Era:case o.PictureSingle.EraYear:case o.PictureSingle.EngYearTh:case o.PictureSingle.DayTh:case o.PictureSingle.MonthTh:case o.PictureSingle.YearTh:case o.PictureSingle.ThYear:case o.PictureSingle.HourTh:case o.PictureSingle.MinuteTh:case o.PictureSingle.SecondTh:if(s?.kind===t.kind){s.count+=t.count;continue}}r.tokens.push(t)}return void 0!==i?(r.hasTokenCurrCode=!0,r.currCode=i.currCode,r.currencySymbol=i.currencySymbol):void 0!==a&&void 0===r.currencySymbol&&(r.currencySymbol=s.FormatCurrency.LocaleInfo),4!==r.dbnum||t.isKorea||void 0===r.currCode&&!t.isThai||(r.dbnum=void 0),r}readToken(e,t,r){const{mathpack:i,localeInfo:a}=this.config,s=B(a,a.pictureSpecial,t,r);if(void 0!==s){let e=s;const n=K(a.pictureSpecial,e);a.isJapan&&e===o.PictureSpecial.GeneralOldMAC&&(e=o.PictureSpecial.General);const i=t.substring(r,r+n.length);switch(e){case o.PictureSpecial.AP1:case o.PictureSpecial.AP2:return{kind:M.AMPM,tokenStr:i,count:1,pictureKind:e};case o.PictureSpecial.AP3:return{kind:M.AMPMFE,tokenStr:i,count:1};case o.PictureSpecial.General:return{kind:M.General,tokenStr:i};case o.PictureSpecial.Currency:return{kind:M.Currency,tokenStr:i}}}const l=(0,n.stringCodePointAt)(t,r),S=(0,n.numCodeUnits)(l),C=t.substring(r,r+S),T=L(a,a.pictureSingle,t,r);if(void 0!==T){let s=T;if((a.isJapan||a.isChinaT)&&(s===o.PictureSingle.E||s===o.PictureSingle.EraYear)){let e,n;s=!(r+S+1<t.length)||(e=t.charCodeAt(r+S))!==u&&e!==c||(n=t.charCodeAt(r+S+1))!==d&&n!==p&&n!==h?o.PictureSingle.EraYear:o.PictureSingle.E}if(s===o.PictureSingle.BidiDate||s===o.PictureSingle.EngYearTh){let e;if(r+S<t.length&&((e=t.charCodeAt(r+S))===g||e===m))return{kind:e===g?M.LatinDate:M.BidiDate,tokenStr:t.substring(r,r+S+1),count:1};s=o.PictureSingle.EngYearTh}if(s===o.PictureSingle.BidiNum)throw new pe(this.notFormatString("bidi num not allowed"));switch(s){case o.PictureSingle.Star:case o.PictureSingle.Underscore:{if(r+S>=t.length)throw new pe(this.notFormatString("unterminated "+C));const e=(0,n.stringCodePointAt)(t,r+S),o=(0,n.numCodeUnits)(e),i=(0,n.stringFromCodePoint)(e);return{kind:s,tokenStr:t.substring(r,r+S+o),escaped:i}}case o.PictureSingle.Backslash:return this.readToken_Backslash(t,r,S);case o.PictureSingle.Quote:{const e=t.indexOf(C,r+S);if(e<0)throw new pe(this.notFormatString("unterminated quoted string"));const n=t.substring(r+S,e),i=t.substring(r,e+S),s=B(a,a.pictureSpecial,n,0);return void 0!==s&&s===o.PictureSpecial.Currency&&K(a.pictureSpecial,s).length===n.length?{kind:M.Currency,tokenStr:i}:{kind:M.StrLit,tokenStr:i,escaped:n}}case o.PictureSingle.E:{if(a.isEastAsia){if(void 0!==e.dbnum)throw new pe(this.notFormatString("invalid DBNUM with exp"));if(e.dbnumForbidden)throw new pe((0,o.notImplemented)(["multiple DBNUM-forbidden tokens (% or E)"]));e.dbnumForbidden=!0}if(r+S>=t.length)throw new pe(this.notFormatString("unterminated exp"));const n=t.charCodeAt(r+S);if(n!==c&&n!==u)throw new pe(this.notFormatString("exp not followed by sign"));const i=t.substring(r,r+S+1);return{kind:M.Exp,tokenStr:i,eStr:C,isNeg:n===u}}case o.PictureSingle.Hash:case o.PictureSingle.Year:case o.PictureSingle.Month:case o.PictureSingle.Day:case o.PictureSingle.Hour:case o.PictureSingle.Minute:case o.PictureSingle.Second:case o.PictureSingle.YearTh:case o.PictureSingle.MonthTh:case o.PictureSingle.DayTh:case o.PictureSingle.HourTh:case o.PictureSingle.MinuteTh:case o.PictureSingle.SecondTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:case o.PictureSingle.Question:case o.PictureSingle.Comma:case o.PictureSingle.Reign:case o.PictureSingle.LocDay:case o.PictureSingle.Era:case o.PictureSingle.EraYear:{if(s===o.PictureSingle.Reign&&!a.isJapan&&!a.isChinaT)break;let e=S,i=1;for(;(0,n.stringStartsWith)(t,C,r+e)&&void 0===B(a,a.pictureSpecial,t,r+e);)e+=S,i+=1;if(s===o.PictureSingle.LocDay&&i<3)break;return{kind:s,tokenStr:t.substring(r,r+e),count:i}}case o.PictureSingle.Sep:case o.PictureSingle.Text:case o.PictureSingle.Decimal:case o.PictureSingle.Slash:case o.PictureSingle.Minus:case o.PictureSingle.Plus:return{kind:s,tokenStr:C};case o.PictureSingle.Space:return{kind:M.Char,tokenStr:C,escaped:C};case o.PictureSingle.Colon:return{kind:s,tokenStr:C,count:1};case o.PictureSingle.Percent:if(a.isEastAsia){if(void 0!==e.dbnum)throw new pe(this.notFormatString("invalid DBNUM with pct"));if(e.dbnumForbidden)throw new pe((0,o.notImplemented)(["multiple DBNUM-forbidden tokens (% or E)"]));e.dbnumForbidden=!0}return{kind:o.PictureSingle.Percent,tokenStr:C};case o.PictureSingle.DateSep:return C===K(a.pictureSingle,o.PictureSingle.Slash)?{kind:o.PictureSingle.Slash,tokenStr:C}:C===K(a.pictureSingle,o.PictureSingle.Minus)?{kind:o.PictureSingle.Minus,tokenStr:C}:{kind:o.PictureSingle.DateSep,tokenStr:C,count:1};case o.PictureSingle.ColorStart:{const e=K(a.pictureSingle,o.PictureSingle.ColorEnd),l=t.indexOf(e,r+S);if(l<0)throw new pe(this.notFormatString("unterminated ["));const u=t.substring(r+S,l),c=t.substring(r,l+e.length),d=B(a,_,u,0);if(void 0!==d){let e=K(_,d).length;for(;e<u.length&&(0,o.isSpace)(u.charCodeAt(e));)e+=1;const t=(0,o.parseSignedLiteral)(a,i,u,e,!1);if(t[1]===e)throw new pe((0,o.notImplemented)(["invalid number in condition"]));if(t[1]!==u.length)throw new pe((0,o.notImplemented)(["trailing junk after condition"]));return{kind:M.Cond,tokenStr:c,cond:{operator:N[d],operand:t[0]}}}const p=B(a,a.pictureColor,u,0);if(void 0!==p){const e=K(a.pictureColor,p);if(p!==o.PictureColor.Color){if(e.length!==u.length)throw new pe((0,o.notImplemented)(["trailing junk after named color"]));return{kind:M.Color,tokenStr:c,color:(k=p,o.PictureColor[k])}}if(p===o.PictureColor.Color){let t=e.length;for(;t<u.length&&(0,o.isSpace)(u.charCodeAt(t));)t+=1;const[r,n]=(0,o.parseUint)(a,4,u,t);if(n===t)throw new pe(this.notFormatString("missing number for numbered color"));if(n!==u.length)throw new pe((0,o.notImplemented)(["trailing junk after numbered color"]));if(r<1||r>56)throw new pe(this.notFormatString("out-of-range numbered color"));return{kind:M.Color,tokenStr:c,color:r+8}}}const h=B(a,a.pictureDbnum,u,0);if(void 0!==h){if(K(a.pictureDbnum,h).length!==u.length)throw new pe((0,o.notImplemented)(["trailing junk after DBNUM"]));return{kind:M.Dbnum,tokenStr:c,dbnum:R(h)}}return(0,n.stringStartsWith)(u,"$")?{kind:M.CurrCode,tokenStr:c,...this.parseCurrCode(u.substring(1))}:{kind:s,tokenStr:C}}case o.PictureSingle.ColorEnd:return{kind:s,tokenStr:C};case o.PictureSingle.OpenParen:case o.PictureSingle.CloseParen:return{kind:s,tokenStr:C,escaped:C};case o.PictureSingle.Extra:case o.PictureSingle.APDelim:case o.PictureSingle.Nen1:case o.PictureSingle.Gatsu1:case o.PictureSingle.Nichi1:case o.PictureSingle.Nen2:case o.PictureSingle.Gatsu2:case o.PictureSingle.Nichi2:case o.PictureSingle.Zero:case o.PictureSingle.ZeroTh:break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: readToken single picKind",s)}}var k;if(a.isNumeral(l)){if(a.getNumberShape(l)!==o.NumberShape.ASCII)throw new pe((0,o.notImplemented)(["non-ASCII digits"]));const e=a.getOrdinal(l);if(0===e){let e=S,i=1;for(;(0,n.stringStartsWith)(t,C,r+e);)e+=S,i+=1;const a=t.substring(r,r+e);return{kind:o.PictureSingle.Zero,tokenStr:a,count:i}}return{kind:M.Numeral,tokenStr:C,ordinal:e}}switch(l){case f:return{kind:o.PictureSingle.OpenParen,tokenStr:C,escaped:C};case v:return{kind:o.PictureSingle.CloseParen,tokenStr:C,escaped:C};case y:return this.readToken_Backslash(t,r,S);case b:if(a.isThai)return{kind:M.PrefixDigTh,tokenStr:C}}return{kind:M.Char,tokenStr:C,escaped:C}}readToken_Backslash(e,t,r){if(t+r>=e.length)throw new pe(this.notFormatString("unterminated backslash"));const i=(0,n.stringCodePointAt)(e,t+r),a=(0,n.numCodeUnits)(i),s=(0,n.stringFromCodePoint)(i),l=e.substring(t,t+r+a);return i===f||i===v?{kind:i===f?o.PictureSingle.OpenParen:o.PictureSingle.CloseParen,tokenStr:l,escaped:s}:{kind:M.Char,tokenStr:l,escaped:s}}convertTokToSun({color:e,dbnum:t,cond:r,currCode:i,tokens:a}){const{localeInfo:s}=this.config,l={suns:[],dtrRounding:o.Rounding.RoundSec,color:e,dbnum:t,currCode:i,hasPercent:!1,hasDate:!1,hasTime:!1,get isEmpty(){return 0===this.suns.length&&void 0===r&&void 0===e&&void 0===t&&void 0===i}},u=0===s.stringCompareCI(K(s.pictureSingle,o.PictureSingle.Month),K(s.pictureSingle,o.PictureSingle.Minute));let c,d,p,h,g,m=!1,f=0,v=0,b=!1,y=!1,C=!1,T=!1,k=0;const F=(e,t)=>{const r=Z[e];if(t){if(y)throw new pe(this.notFormatString("more than one absolute time"));if(void 0!==c&&r>=c)throw new pe(this.notFormatString("absolute time must be largest division"));y=!0}else if(y&&r<=c)throw new pe((0,o.notImplemented)(["larger time division after absolute time"]));(void 0===c||r<c)&&(c=r)};function E(e,t,r){const i=c;if(F(e,t),e===o.PictureSingle.Hour||e===o.PictureSingle.HourTh)C=!0,h=r,g=void 0;else if(e===o.PictureSingle.Second||e===o.PictureSingle.SecondTh)if(void 0===g||y)void 0===i&&(C=!0);else{const e=g.code[0];(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: onTime ambigCode",e.kind===o.PictureSingle.Month);const t=o.PictureSingle.Minute,r=e.count;(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: onTime ambigCount",1===r||2===r);const i=!1;F(t,i),f-=1,v+=1,g.code=[{kind:t,count:r,isAbs:i}],g=void 0}else C=!1}function A(e){const t=K(s.pictureSingle,e.kind);return{kind:te.TimeSep,printAsTimeSep:f>0||v>0,formattedStr:t}}function I(e){const t=K(s.pictureSingle,e.kind);return t===K(s.pictureSingle,o.PictureSingle.DateSep)?{kind:te.DateSep}:t===K(s.pictureSingle,o.PictureSingle.Colon)?A(e):{kind:te.Char,formattedStr:t}}for(let e=0;e<a.length;e+=1){const t=a[e];switch(t.kind){case M.AMPM:case M.AMPMFE:case o.PictureSingle.Colon:case o.PictureSingle.DateSep:case o.PictureSingle.Year:case o.PictureSingle.Month:case o.PictureSingle.Day:case o.PictureSingle.Hour:case o.PictureSingle.Minute:case o.PictureSingle.Second:case o.PictureSingle.Reign:case o.PictureSingle.LocDay:case o.PictureSingle.Era:case o.PictureSingle.EraYear:case o.PictureSingle.EngYearTh:case M.LatinDate:case M.BidiDate:case o.PictureSingle.DayTh:case o.PictureSingle.MonthTh:case o.PictureSingle.YearTh:case o.PictureSingle.ThYear:case o.PictureSingle.HourTh:case o.PictureSingle.MinuteTh:case o.PictureSingle.SecondTh:{const r={kind:oe.Date,code:[]};switch(l.suns.push(r),b=!0,t.kind){case M.LatinDate:case M.BidiDate:if(0!==e&&(1!==e||a[0].kind!==M.CurrCode))throw new pe(this.notFormatString("bidi date must be first"));r.code.push(t);break;case o.PictureSingle.DateSep:r.code.push({kind:te.DateSep});break;case o.PictureSingle.Colon:r.code.push(A(t));break;case o.PictureSingle.Reign:f+=1,s.isJapan&&t.count>=2&&r.code.push({kind:o.PictureSingle.Era,count:3}),r.code.push({kind:o.PictureSingle.EraYear,count:s.isChinaT?1:2});break;case o.PictureSingle.Era:f+=1,r.code.push({kind:o.PictureSingle.Era,count:(0,n.fastMin)(3,t.count)});break;case o.PictureSingle.EraYear:f+=1,r.code.push({kind:o.PictureSingle.EraYear,count:(0,n.fastMin)(2,t.count)});break;case o.PictureSingle.Year:case o.PictureSingle.YearTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:g=void 0,f+=1,r.code.push({kind:t.kind,count:t.count<=2?2:4});break;case o.PictureSingle.Month:if(u&&t.count<=2){if(C){const e=o.PictureSingle.Minute,n=!1;E(e,n,r),v+=1,r.code.push({kind:e,count:t.count,isAbs:n}),C=!1;break}g=r}else g=void 0;f+=1,r.code.push({kind:t.kind,count:(0,n.fastMin)(5,t.count)});break;case o.PictureSingle.MonthTh:f+=1,r.code.push({kind:t.kind,count:(0,n.fastMin)(4,t.count)});break;case o.PictureSingle.Day:case o.PictureSingle.DayTh:g=void 0,f+=1,r.code.push({kind:t.kind,count:(0,n.fastMin)(4,t.count)});break;case o.PictureSingle.LocDay:g=void 0,f+=1,r.code.push({kind:o.PictureSingle.LocDay,count:3===t.count?3:4});break;case o.PictureSingle.Hour:case o.PictureSingle.HourTh:case o.PictureSingle.Minute:case o.PictureSingle.MinuteTh:case o.PictureSingle.Second:case o.PictureSingle.SecondTh:{const e=!1;E(t.kind,e,r),v+=1;const i=(0,n.fastMin)(2,t.count);t.kind===o.PictureSingle.Hour||t.kind===o.PictureSingle.HourTh?r.code.push({kind:t.kind,count:i,isAbs:e,isAMPM:!1}):r.code.push({kind:t.kind,count:i,isAbs:e});break}case M.AMPM:case M.AMPMFE:if(y)throw new pe(this.notFormatString("AM/PM after absolute time"));if(t.count>1)throw new pe((0,o.notImplemented)(["multiple AM/PM symbols"]));void 0!==h&&(h.code[0].isAMPM=!0,h=void 0),T=!0,r.code.push(t);break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: convertTokToSun tok as date",t)}break}case o.PictureSingle.Decimal:case M.Numeral:case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Question:case o.PictureSingle.Comma:{if(b){if(t.kind!==o.PictureSingle.Decimal&&t.kind!==o.PictureSingle.Comma)throw new pe(this.notFormatString("number picture in date/time format"));const r={kind:oe.Date,code:[]};l.suns.push(r);const i=a[e+1];if(t.kind===o.PictureSingle.Decimal&&i?.kind===o.PictureSingle.Zero){const t=i.count;if(t>3)throw new pe(this.notFormatString("invalid number of fractional seconds"));e+=1,E(o.PictureSingle.Second,!1,r),v+=1,r.code.push({kind:te.FracSeconds,rounding:t}),l.dtrRounding=(0,n.fastMax)(l.dtrRounding,t)}else r.code.push(I(t));break}if(t.kind===o.PictureSingle.Comma){const e=K(s.pictureSingle,t.kind),r={kind:oe.Other,code:[{kind:te.Char,formattedStr:e}]};l.suns.push(r);break}const r=e=>e===M.Numeral||e===o.PictureSingle.Hash||e===o.PictureSingle.Zero||e===o.PictureSingle.Question,i={kind:oe.Num,code:[],numDigLeft:0,numDigDec:0,numPercent:0,numThousands:0,comma:!1,decimal:!1,numVal:!1,nonZero:!1,get digitTokens(){return this.anyHash||this.anyQuestion},get reallyNum(){return this.anyHash||this.anyQuestion||this.anyZero},lastDig:void 0,firstDig:void 0,anyHash:!1,anyQuestion:!1,anyZero:!1};let u;for(l.suns.push(i),void 0===d&&(d=i),p=i,e-=1;e+1<a.length;e+=1){const t=a[e+1];let n=!0;switch(t.kind){case o.PictureSingle.Decimal:m=i.decimal=!0,i.code.push(t),u=void 0;break;case M.Numeral:i.code.push({kind:t.kind,formattedStr:t.tokenStr,ordinal:t.ordinal}),i.numVal=i.nonZero=!0,u=void 0;break;case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Question:if(i.decimal?i.numDigDec+=t.count:i.numDigLeft+=t.count,void 0===i.firstDig&&(i.firstDig=t.kind),i.lastDig=t.kind,t.kind===o.PictureSingle.Hash?i.anyHash=!0:t.kind===o.PictureSingle.Question?i.anyQuestion=!0:(i.anyZero=!0,i.numVal=!0),void 0!==u&&u.kind===t.kind)u.count+=t.count;else{const e={kind:t.kind,count:t.count};i.code.push(e),u=e}break;case o.PictureSingle.Comma:const l=a[e+2]?.kind;if(r(l))m||(i.comma=!0);else{let e=t.count;const r=K(s.pictureSingle,o.PictureSingle.Space);r===K(s.pictureSingle,o.PictureSingle.Comma)&&(!s.isCurrencySymbolLead&&s.isCurrencySepBySpace&&l===M.Currency||s.isPercentSepBySpace&&l===o.PictureSingle.Percent)&&(i.code.push({kind:te.Char,formattedStr:r}),e-=1),e>0&&(i.numThousands+=e)}break;default:n=!1}if(!n)break}break}case o.PictureSingle.Percent:{k+=1;const e={kind:oe.Percent,code:[{kind:o.PictureSingle.Percent,formattedStr:t.tokenStr}]};l.suns.push(e),l.hasPercent=!0;break}case M.Exp:{const e={kind:oe.Exp,code:[{kind:M.Exp,formattedStr:t.eStr,isNeg:t.isNeg}],isNeg:t.isNeg};l.suns.push(e);break}case M.General:{const e={kind:oe.General,code:[t]};l.suns.push(e);break}case o.PictureSingle.Text:{const e={kind:oe.Text,code:[t]};l.suns.push(e);break}case o.PictureSingle.Slash:{if(b){const e={kind:oe.Date,code:[I(t)]};l.suns.push(e);break}const e={kind:oe.Fraction,code:[{kind:o.PictureSingle.Slash,formattedStr:t.tokenStr}]};l.suns.push(e);break}case o.PictureSingle.Star:case M.PrefixDigTh:case o.PictureSingle.Underscore:case M.Currency:case M.CurrCode:case M.StrLit:{const e={kind:oe.Other,code:[t]};l.suns.push(e);break}case o.PictureSingle.ColorEnd:case o.PictureSingle.Plus:{const e={kind:oe.Other,code:[{kind:te.Char,formattedStr:t.tokenStr}]};l.suns.push(e);break}case o.PictureSingle.OpenParen:case o.PictureSingle.CloseParen:case M.Char:{const e={kind:oe.Other,code:[{kind:te.Char,formattedStr:t.escaped}]};l.suns.push(e);break}case o.PictureSingle.Minus:{if(b){const e={kind:oe.Date,code:[I(t)]};l.suns.push(e);break}const e=K(s.pictureSingle,t.kind),r={kind:oe.Other,code:[{kind:te.Char,formattedStr:e}]};l.suns.push(r);break}case o.PictureSingle.ColorStart:{let t=S.WantPic;const r={kind:oe.Date,code:[]};for(;e+1<a.length&&t!==S.Done;e+=1){const i=a[e+1];switch(i.kind){case o.PictureSingle.ColorEnd:if(t!==S.WantClose)throw new pe(this.notFormatString("unexpected closing ]"));t=S.Done;continue;case o.PictureSingle.Hour:case o.PictureSingle.HourTh:case o.PictureSingle.Month:case o.PictureSingle.Minute:case o.PictureSingle.Second:{if(i.kind===o.PictureSingle.Month&&!u)break;const e=i.kind===o.PictureSingle.Month?o.PictureSingle.Minute:i.kind,a=!0;E(e,a,r),v+=1;const s=(0,n.fastMin)(2,i.count);e===o.PictureSingle.Hour||e===o.PictureSingle.HourTh?r.code.push({kind:e,count:s,isAbs:a,isAMPM:!1}):r.code.push({kind:e,count:s,isAbs:a}),b=!0,t=S.WantClose;continue}case M.Char:if(i.tokenStr===K(s.pictureSingle,o.PictureSingle.Space))continue}throw new pe(this.notFormatString("unexpected token after ["))}if(t!==S.Done)throw new pe((0,o.notImplemented)(["semicolon inside [ ]"]));l.suns.push(r);break}default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: convertTokToSun tok",t)}if(l.suns.length>=2){const e=l.suns[l.suns.length-2],t=l.suns[l.suns.length-1];if(e.kind===oe.Other&&t.kind===oe.Other){const r=e.code;(0,n.safePush)(r,t.code),l.suns.pop()}}}if(void 0!==d&&(d.numThousands=p.numThousands,d.numPercent=k),T&&void 0!==h&&(h.code[0].isAMPM=!0),y)for(const e of l.suns)if(e.kind===oe.Date)for(const t of e.code)switch(t.kind){case o.PictureSingle.Hour:case o.PictureSingle.HourTh:case o.PictureSingle.Minute:case o.PictureSingle.MinuteTh:case o.PictureSingle.Second:case o.PictureSingle.SecondTh:t.isAbs=Z[t.kind]===c}if(l.suns.length>32)throw new pe(this.notFormatString("format string too long: SUNs limit"));return l.hasDate=f>0,l.hasTime=v>0,l}classifySunPartKind({suns:e,isEmpty:t,hasDate:r,hasTime:o},i){let a=i===ae.Number,s=i===ae.Text,l=!a&&!s;for(const t of e){switch(t.kind){case oe.Num:case oe.Fraction:case oe.Percent:case oe.Exp:a=!0;break;case oe.Text:s=!0;break;case oe.General:continue;case oe.Other:case oe.Date:break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: classifySunPartKind sun",t)}l=!1}if((a?1:0)+(r||o?1:0)+(s?1:0)>1)throw new pe(this.notFormatString("cannot mix number/date/text"));return a||r||o?ae.Number:s?ae.Text:l&&!t?ae.Either:i}convertSunToCode({suns:e,isEmpty:t,dtrRounding:r,color:o,dbnum:i,currCode:a}){const{localeInfo:l}=this.config,u=[];function c(t){for(let r=t-1;r>=0;r-=1){const t=e[r];if(t.kind===oe.Num)return[r,t]}}function d(t){for(let r=t+1;r<e.length;r+=1){const t=e[r];if(t.kind===oe.Num)return[r,t]}}let p,h=!1,g=0;for(let t=0;t<e.length;t+=1){const r=e[t];switch(r.kind){case oe.Text:if(p===oe.Text)break;if(void 0!==p)throw new pe(this.notFormatString("@ after other control"));p=oe.Text;break;case oe.General:if(void 0!==p)throw new pe(this.notFormatString("General after other control"));if(h)throw new pe(this.notFormatString("General after number"));p=oe.General;break;case oe.Num:if(h=!0,p===oe.General)throw new pe(this.notFormatString("number after General"));break;case oe.Fraction:if(void 0!==p)throw new pe(this.notFormatString("/ after other control"));if(l.isEastAsia&&void 0!==i)throw new pe(this.notFormatString("/ not allowed with DBNUM"));p=oe.Fraction;const o=c(t);if(void 0===o)throw new pe(this.notFormatString("no number before /"));const[a,s,m]=this.mergeNumSuns(e,g,o[0]),f=d(t);if(void 0===f)throw new pe(this.notFormatString("no number after /"));const v=e.slice(o[0]+1,f[0]),b=void 0!==d(f[0]);(0,n.safePush)(u,this.flattenSuns(a)),(0,n.safePush)(u,this.buildFractCode(s,m,o[1],v,f[1],b)),g=f[0]+1;break;case oe.Exp:if(void 0!==p)throw new pe(this.notFormatString("E after other control"));p=oe.Exp;const[y,S,C]=this.mergeNumSuns(e,g,t);if(void 0===S)throw new pe(this.notFormatString("no number before E"));const[T,k,F]=this.mergeNumSuns(e,t+1,e.length);if(void 0===k)throw new pe(this.notFormatString("no number after E"));(0,n.safePush)(u,this.flattenSuns(y)),(0,n.safePush)(u,this.buildExpCode(r.isNeg,S,[...C,e[t],...T],k)),(0,n.safePush)(u,this.flattenSuns(F)),g=e.length;break;case oe.Percent:case oe.Other:case oe.Date:break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: convertSunToCode sun",r)}}if(void 0===p){const[t,r,o]=this.mergeNumSuns(e,g,e.length);void 0!==r?(0,n.safePush)(u,this.buildNumberCode(t,r)):(0,n.safePush)(u,this.flattenSuns(t)),(0,n.safePush)(u,this.flattenSuns(o)),g=e.length}(0,n.safePush)(u,this.flattenSuns(e.slice(g))),0!==e.length||t||u.push(re);const m=a?.tag;if((0,s.isSystemCultureTag)(m)){const e=m===s.CultureTag.SysDate?l.sysDateFormat:l.sysTimeFormat,t=new he(this.config,{old:void 0,formatString:e,source:s.NumberFormatSource.System}),r=t.parts[ie.Pos];return{part:{code:[{kind:te.SysFormat,codeSysFormat:r.code,codeThisFormat:u}],color:r.color,dbnum:r.dbnum,dtrRounding:r.dtrRounding},applyCurrCode:t.thisCurrCode}}return{part:{code:u,color:o,dbnum:i,dtrRounding:r},applyCurrCode:a}}flattenSuns(e){return(0,n.safeConcat)([],e.map((e=>e.code)))}buildExpCode(e,t,r,n){if(n.comma)throw new pe(this.notFormatString("comma following E"));const o=t.numDigDec;if(o>127)throw new pe(this.notFormatString("too many decimal digits"));const{code:i,comma:a,numDigLeft:s}=this.bumpDigitsForComma(t);return[{kind:te.Exp,isNeg:e,numMantDigLeft:s,numMantDigDec:o,numExpDigLeft:n.numDigLeft,commaMant:a,codeMant:i,codeBetween:this.flattenSuns(r),codeExp:this.flattenSuns([n])}]}buildNumberCode(e,t){const{numDigDec:r}=t;if(r>127)throw new pe(this.notFormatString("too many decimal digits"));const{code:n,comma:o,numDigLeft:i}=this.bumpDigitsForComma(t);return[{kind:te.Num,numDigLeft:i,numDigDec:r,numPercent:t.numPercent,numThousands:t.numThousands,comma:o,codeBefore:this.flattenSuns(e),code:n}]}buildFractCode(e,t,r,i,a,s){const{mathpack:l}=this.config;if(r.comma)throw new pe(this.notFormatString("comma in numerator"));if(r.decimal)throw new pe((0,o.notImplemented)(["decimals in numerator"]));if(a.comma)throw new pe(this.notFormatString("comma in denominator"));if(a.decimal)throw new pe(this.notFormatString("decimals in denominator"));if(0!==r.numDigDec)throw new pe(this.notFormatString("decimals in numerator"));if((u=a).numVal&&u.nonZero&&u.digitTokens)throw new pe(this.notFormatString("literal and placeholder digits mixed in denominator"));var u;if(s)throw new pe((0,o.notImplemented)(["fraction number formats with trailing numbers"]));let c,d=!1,p=0;if(void 0!==e){if(!e.reallyNum)throw new pe((0,o.notImplemented)(["fixed numerals in fraction integer part"]));if(e.decimal)throw new pe((0,o.notImplemented)(["decimal in fraction integer part"]));if(0!==e.numDigDec)throw new pe(this.notFormatString("decimals in fraction integer part"));if(e.numVal&&e.nonZero)throw new pe((0,o.notImplemented)(["numerals in fraction integer part"]));({code:c,comma:d,numDigLeft:p}=this.bumpDigitsForComma(e))}const h=e?.numPercent??r.numPercent,g=e?.numThousands??r.numThousands;if(g>0)throw new pe((0,o.notImplemented)(["fraction number formats with thousands"]));let m,{code:f,numDigLeft:v,firstDig:b}=a;if(a.numVal&&a.nonZero){if(s)throw new pe((0,o.notImplemented)(["fraction number formats with specified denominator and trailing numbers"]));if(a.code.length>5)throw new pe((0,o.notImplemented)(["too many digits in denominator"]));let e=0;for(let t=0;t<a.code.length;t+=1){const r=a.code[t];switch(r.kind){case M.Numeral:e=10*e+r.ordinal;break;case o.PictureSingle.Zero:if(0===t)throw new pe((0,o.notImplemented)(["leading zero in denominator"]));e*=10;break;default:return(0,n.assertFalse)("calc.numfmt.NumberFormatImpl: buildFractCode denomCode")}}if(e>32767)throw new pe((0,o.notImplemented)(["overflow in denominator not emulated"]));f=[{kind:o.PictureSingle.Hash,count:1}],v=1,b=void 0,m=l.fromNumber(e)}return[{kind:te.Fraction,numIntDigLeft:p,numPercent:h,numThousands:g,numNumerDig:r.numDigLeft,numDenomDig:v,commaInt:d,codeInt:c,codeBetween1:this.flattenSuns(t),codeNumer:r.code,codeBetween2:this.flattenSuns(i),codeDenom:f,denomValue:m,lastDigInt:void 0!==e?e.lastDig:void 0,firstDigNumer:r.firstDig,firstDigDenom:b,anyZeroNumer:r.anyZero,anyQuestionNumer:r.anyQuestion}]}mergeNumSuns(e,t,r){const o=[],i=[];let a;for(let s=t;s<e.length&&s<r;s+=1){const t=e[s];void 0!==a?t.kind===oe.Num?(a.decimal?a.numDigDec+=t.numDigLeft+t.numDigDec:(a.numDigLeft+=t.numDigLeft,a.numDigDec+=t.numDigDec),a.comma=a.comma||t.comma,a.decimal=a.decimal||t.decimal,a.numVal=a.numVal||t.numVal,a.nonZero=a.nonZero||t.nonZero,void 0!==t.lastDig&&(a.lastDig=t.lastDig),void 0===a.firstDig&&(a.firstDig=t.firstDig),a.anyHash=a.anyHash||t.anyHash,a.anyQuestion=a.anyQuestion||t.anyQuestion,a.anyZero=a.anyZero||t.anyZero,(0,n.safePush)(a.code,this.flattenSuns(i)),i.length=0,(0,n.safePush)(a.code,t.code)):i.push(t):t.kind===oe.Num?a=t:o.push(t)}return[o,a,i]}bumpDigitsForComma(e){if(!e.comma)return e;if(this.anyLegalCommaPosition(e))return e;const t=e.numDigLeft%3,r=(0===t?0===e.numDigLeft?3:e.numDigLeft:e.numDigLeft+3-t)+1;for(let t=0;t<e.code.length;t+=1){const n=e.code[t];switch(n.kind){case o.PictureSingle.Hash:{const o=e.code.slice();return o[t]={...n,count:n.count+(r-e.numDigLeft)},{code:o,comma:!0,numDigLeft:r}}case o.PictureSingle.Zero:case o.PictureSingle.Question:case o.PictureSingle.Decimal:{const n=e.code.slice();return n.splice(t,0,{kind:o.PictureSingle.Hash,count:r-e.numDigLeft}),{code:n,comma:!0,numDigLeft:r}}}}throw new pe((0,o.notImplemented)(["comma with pure number literal"]))}anyLegalCommaPosition(e){if(e.numDigLeft<4)return!1;const t=e=>{const t=e?.kind;return t===o.PictureSingle.Hash||t===o.PictureSingle.Zero||t===o.PictureSingle.Question};let r=e.numDigLeft;for(let n=0;n<e.code.length;n+=1){const i=e.code[n];if(i.kind===o.PictureSingle.Decimal)return!1;if(t(i))for(let o=0;o<i.count;o+=1)if(r-=1,r>0&&r%3==0&&(o+1<i.count||t(e.code[n+1])))return!0}return!1}parseCurrCode(e){const{localeInfo:t}=this.config;let r,i,a;{const i=e.indexOf("-");if(0!==e.length&&0!==i){if(r=i<0?e:e.substring(0,i),r.length>61)throw new pe(this.notFormatString("currencySymbol too long"));for(const e of(0,n.codePointIterator)(r))if(t.isNumeral(e)&&t.getNumberShape(e)!==o.NumberShape.ASCII)throw new pe((0,o.notImplemented)(["non-ASCII digits in currencySymbol"]))}i>=0&&(a=e.substring(i+1))}if(void 0!==a&&(i=this.parseFormatCulture(a),void 0===i))throw new pe((0,o.notImplemented)(["unhandled CurrCode: "+(0,n.anonymizeFormulaString)(e)]));if((0,s.isSystemCultureTag)(i?.tag)){if(void 0!==r)throw new pe(this.notFormatString("currencySymbol with sysdate/systime"));if(this.source===s.NumberFormatSource.System)throw new pe(this.notFormatString("system format referenced circularly within system format"))}return{currencySymbol:r,currCode:i}}parseFormatCulture(e){const r={culture:"",numberShape:void 0,nationalNumberInput:!1,calendar:void 0,localCalendarInput:!1,tag:void 0},a=i=>{const a=(32512&i)>>8;if(0!==a&&(r.numberShape=t.pictureNumberShape[a],void 0===r.numberShape))throw new pe((0,o.notImplemented)([`unknown number shape ${a} in culture: ${(0,n.anonymizeFormulaString)(e)}`]));r.nationalNumberInput=0!=(32768&i);const s=127&i;if(0!==s&&(r.calendar=t.pictureCalendar[s],void 0===r.calendar))throw new pe((0,o.notImplemented)([`unknown calendar ${s} in culture: ${(0,n.anonymizeFormulaString)(e)}`]));r.localCalendarInput=0!=(128&i)},l=e.match(z);if(null!=l){r.culture=l[1]??"";const t=l[2]??l[3];if(null!=t){if(r.tag=U[t.toLowerCase()],void 0===r.tag)throw new pe((0,o.notImplemented)(["unknown CurrCode tag: "+(0,n.anonymizeFormulaString)(e)]));switch(r.tag){case s.CultureTag.SysDate:case s.CultureTag.SysTime:case s.CultureTag.Euro1:case s.CultureTag.Euro2:case s.CultureTag.Bitcoin1:case s.CultureTag.Bitcoin2:if(""!==r.culture)throw new pe(this.notFormatString(`CultureTag ${String(r.tag)} cannot have culture`));break;case s.CultureTag.GenLower:case s.CultureTag.GenUpper:case s.CultureTag.NomLower:case s.CultureTag.Gannen:if(""===r.culture)throw new pe(this.notFormatString(`CultureTag ${String(r.tag)} must have culture`))}}const i=l[4];return null!=i&&a(j(i)),r}if(G.test(e)){const t=j(e);let n=65535&t;switch(n){case o.LCID.SystemLongDate:r.tag=s.CultureTag.SysDate;break;case o.LCID.SystemTime:r.tag=s.CultureTag.SysTime;break;case o.LCID.EuroTrailing:r.tag=s.CultureTag.Euro1;break;case o.LCID.EuroLeading:r.tag=s.CultureTag.Euro2;break;default:64512==(64512&n)&&(r.tag=s.CultureTag.GenLower),63488==(64512&n)&&(r.tag=s.CultureTag.GenUpper),62464==(64512&n)&&(r.tag=s.CultureTag.NomLower),void 0!==r.tag&&(n&=-63489),r.culture=(0,i.convertKnownLCID)(n)}return a(t>>16),r}}determineValueType(){const{localeInfo:e}=this.config,t={accountFill:!1,fvt:void 0};for(const e of this.parts){t.accountFill=!1;const r=this.determineValueTypeCodes(t,e.code);if(void 0!==r)return r;if(t.accountFill&&(t.fvt===s.FormatValueType.Number||t.fvt===s.FormatValueType.Currency))return s.FormatValueType.Accounting;if(void 0!==t.fvt)return t.fvt}return void 0!==t.fvt?t.fvt:this.formatString===K(e.pictureSpecial,o.PictureSpecial.General)?s.FormatValueType.General:s.FormatValueType.Custom}determineValueTypeCodes(e,t){const{localeInfo:r}=this.config;for(let i=0;i<t.length;i+=1){const a=t[i];switch(a.kind){case M.General:break;case o.PictureSingle.Text:return s.FormatValueType.Text;case o.PictureSingle.Star:e.accountFill=!0;break;case te.Char:case M.Exp:case o.PictureSingle.Slash:case M.StrLit:case o.PictureSingle.Percent:case o.PictureSingle.Underscore:case M.Numeral:case te.DateSep:case te.TimeSep:break;case M.Currency:e.fvt=s.FormatValueType.Currency;break;case M.CurrCode:void 0!==a.currencySymbol&&(e.fvt=s.FormatValueType.Currency);break;case te.Num:{e.fvt=1===a.numPercent&&0===a.numThousands?s.FormatValueType.Percentage:s.FormatValueType.Number;const t=a.codeBefore;let n,o=0;if(r.isEastAsia){if(o<t.length&&"("===ee(t[o])&&(o+=1),o<t.length&&"US$"===ee(t[o]))return s.FormatValueType.Currency;if(r.isChinaT){if(o<t.length&&"NT$"===ee(t[o]))return s.FormatValueType.Currency}else if(o<t.length&&"$"===ee(t[o]))return s.FormatValueType.Currency}if(void 0!==(n=this.determineValueTypeCodes(e,a.codeBefore.slice(o))))return n;if(void 0!==(n=this.determineValueTypeCodes(e,a.code)))return n;break}case te.Exp:{let t;if(e.fvt=s.FormatValueType.Scientific,void 0!==(t=this.determineValueTypeCodes(e,a.codeMant)))return t;if(void 0!==(t=this.determineValueTypeCodes(e,a.codeBetween)))return t;if(void 0!==(t=this.determineValueTypeCodes(e,a.codeExp)))return t;break}case te.Fraction:{let t;if(e.fvt=s.FormatValueType.Fraction,void 0!==a.codeInt&&void 0!==(t=this.determineValueTypeCodes(e,a.codeInt)))return t;if(void 0!==(t=this.determineValueTypeCodes(e,a.codeBetween1)))return t;if(void 0!==(t=this.determineValueTypeCodes(e,a.codeNumer)))return t;if(void 0!==(t=this.determineValueTypeCodes(e,a.codeBetween2)))return t;if(void 0!==(t=this.determineValueTypeCodes(e,a.codeDenom)))return t;break}case o.PictureSingle.Decimal:case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Question:case M.PrefixDigTh:case M.LatinDate:case M.BidiDate:break;case o.PictureSingle.HourTh:case o.PictureSingle.MinuteTh:case o.PictureSingle.SecondTh:case o.PictureSingle.Hour:case o.PictureSingle.Minute:case o.PictureSingle.Second:case te.FracSeconds:return s.FormatValueType.Time;case M.AMPM:case M.AMPMFE:break;case o.PictureSingle.Era:case o.PictureSingle.EraYear:case o.PictureSingle.YearTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:case o.PictureSingle.MonthTh:case o.PictureSingle.DayTh:case o.PictureSingle.Year:case o.PictureSingle.Month:case o.PictureSingle.Day:case o.PictureSingle.LocDay:return s.FormatValueType.Date;case te.SysFormat:return this.determineValueTypeCodes(e,a.codeThisFormat);default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: determineValueTypeCodes code",a)}}}determineDecimals(){const e=this.parts[ie.Pos];for(const t of e.code)switch(t.kind){case te.Num:return t.numDigDec;case te.Exp:return t.numMantDigDec}return 0}determineBidiDate(){const e=K(this.config.localeInfo.pictureSingle,o.PictureSingle.BidiDate);return(0,n.stringStartsWith)(this.formatString,e+"1")?s.BidiDate.English:(0,n.stringStartsWith)(this.formatString,e+"2")?s.BidiDate.Lunar:void 0}printFormatString(e){const t=e??this.config.localeInfo,[r,n,i,a]=this.parts,s=!(le(a)||a===r),l=this.posBeforeText||!s;let u="";return l&&(u+=this.printPart(r,this.condPos,t),n!==r&&(u+=K(t.pictureSingle,o.PictureSingle.Sep),u+=this.printPart(n,this.condNeg,t),i!==r&&(u+=K(t.pictureSingle,o.PictureSingle.Sep),u+=this.printPart(i,void 0,t)))),s&&(l&&(u+=K(t.pictureSingle,o.PictureSingle.Sep)),u+=this.printPart(a,void 0,t)),u}printPart(e,t,r){const{mathpack:n}=this.config;let i="";var a;if(void 0!==e.color&&(i+=K(r.pictureSingle,o.PictureSingle.ColorStart)+("number"==typeof e.color?K(r.pictureColor,o.PictureColor.Color)+String(e.color-8):K(r.pictureColor,(a=e.color,o.PictureColor[a])))+K(r.pictureSingle,o.PictureSingle.ColorEnd)),void 0!==t){const e=21;i+=K(r.pictureSingle,o.PictureSingle.ColorStart)+K(_,O[t.operator])+n.formatGeneral(r,t.operand,e)+K(r.pictureSingle,o.PictureSingle.ColorEnd)}return void 0!==e.dbnum&&(i+=K(r.pictureSingle,o.PictureSingle.ColorStart)+K(r.pictureDbnum,e.dbnum-1)+K(r.pictureSingle,o.PictureSingle.ColorEnd)),i+=this.printCodes({seenDig:!1,wasPrevDig:!1},e.code,void 0,r),i}printCodes(e,r,i,a){const{mathpack:u}=this.config;let c,d="";if(void 0!==i&&i.numThousands>0){for(let e=0;e<r.length;e+=1){const t=r[e].kind;t!==o.PictureSingle.Zero&&t!==o.PictureSingle.Hash&&t!==o.PictureSingle.Question&&t!==o.PictureSingle.Decimal&&t!==M.Numeral||(c=e)}(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: printCodes thousandsAfter",void 0!==c)}for(let p=0;p<r.length;p+=1){const h=r[p],g=e.wasPrevDig;switch(e.wasPrevDig=!1,h.kind){case M.General:d+=K(a.pictureSpecial,o.PictureSpecial.General);break;case o.PictureSingle.Decimal:void 0!==i&&(i.decimal=!0),e.wasPrevDig=!0,d+=K(a.pictureSingle,o.PictureSingle.Decimal);break;case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Question:{e.seenDig=!0,e.wasPrevDig=!0;const t=h.kind===o.PictureSingle.Zero?"0":K(a.pictureSingle,h.kind),s=(0,n.repeat)(t,h.count);if(void 0===i||i.decimal){d+=s;break}if(i.comma){const e=i.numDigLeft-h.count;d+=(0,l.insertCommas)({isThousandsPosition:t=>{return t>0&&t%3==0&&(t>e||(n=r[p+1]?.kind,n===o.PictureSingle.Hash||n===o.PictureSingle.Zero||n===o.PictureSingle.Question));var n},thousandsSeparator:K(a.pictureSingle,o.PictureSingle.Comma)},s,e)}else d+=s;i.numDigLeft-=h.count;break}case M.Numeral:e.wasPrevDig=!0,d+=h.formattedStr;break;case te.Exp:d+=this.printCodes(e,h.codeMant,{comma:h.commaMant,numThousands:0,decimal:!1,numDigLeft:h.numMantDigLeft},a)+this.printCodes(e,h.codeBetween,void 0,a)+this.printCodes(e,h.codeExp,{comma:!1,numThousands:0,decimal:!1,numDigLeft:h.numExpDigLeft},a);break;case te.Num:d+=this.printCodes(e,h.codeBefore,void 0,a)+this.printCodes(e,h.code,{comma:h.comma,numThousands:h.numThousands,decimal:!1,numDigLeft:h.numDigLeft},a);break;case te.Fraction:{const t=void 0===h.codeInt?"":this.printCodes(e,h.codeInt,{comma:h.commaInt,numThousands:0,decimal:!1,numDigLeft:h.numIntDigLeft},a),r=this.printCodes(e,h.codeBetween1,void 0,a),n=this.printCodes(e,h.codeNumer,{comma:!1,numThousands:0,decimal:!1,numDigLeft:h.numNumerDig},a),o=this.printCodes(e,h.codeBetween2,void 0,a),i=this.printCodes(e,h.codeDenom,{comma:!1,numThousands:h.numThousands,decimal:!1,numDigLeft:h.numDenomDig},a);d+=t+r+n+o+(void 0!==h.denomValue?F(u,h.denomValue):i);break}case te.Char:{const t=K(a.pictureSingle,o.PictureSingle.Backslash),i=L(a,a.pictureSingle,h.formattedStr,0),s=W(a,a.pictureSpecial,h.formattedStr,0);if(void 0!==i&&i!==o.PictureSingle.Extra&&i!==o.PictureSingle.Zero)switch(i){case o.PictureSingle.Comma:const n=r[p+1];if(g){const e=K(a.pictureSingle,o.PictureSingle.Space);if(h.formattedStr!==e||void 0===n||(a.isCurrencySymbolLead||!a.isCurrencySepBySpace||n.kind!==M.Currency)&&(!a.isPercentSepBySpace||n.kind!==o.PictureSingle.Percent)){d+=t;break}}if(n?.kind===te.Char&&n?.formattedStr===h.formattedStr){d+=t;break}break;case o.PictureSingle.Decimal:d+=t;break;case o.PictureSingle.Slash:e.seenDig&&(d+=t);break;case o.PictureSingle.Space:case o.PictureSingle.Minus:case o.PictureSingle.Plus:case o.PictureSingle.OpenParen:case o.PictureSingle.CloseParen:break;case o.PictureSingle.DateSep:K(a.pictureSingle,o.PictureSingle.DateSep)!==K(a.pictureSingle,o.PictureSingle.Minus)&&(d+=t);break;default:d+=t}else(s||a.isNumeral((0,n.stringCodePointAt)(h.formattedStr,0)))&&(d+=t);d+=h.formattedStr;break}case M.Exp:d+=h.formattedStr+(h.isNeg?"-":"+");break;case M.StrLit:{const e=K(a.pictureSingle,o.PictureSingle.Quote);(0,n.assertTrue)("calc.numfmt.NumberFormatImpl: printCodes StrLit",h.escaped.indexOf(e)<0),d+=e+h.escaped+e;break}case o.PictureSingle.Slash:d+=K(a.pictureSingle,o.PictureSingle.Slash);break;case o.PictureSingle.Percent:d+=K(a.pictureSingle,o.PictureSingle.Percent);break;case o.PictureSingle.Star:d+=K(a.pictureSingle,o.PictureSingle.Star)+h.escaped;break;case o.PictureSingle.Underscore:d+=K(a.pictureSingle,o.PictureSingle.Underscore)+h.escaped;break;case M.PrefixDigTh:d+="t";break;case M.Currency:d+=K(a.pictureSpecial,o.PictureSpecial.Currency);break;case M.CurrCode:if(d+=K(a.pictureSingle,o.PictureSingle.ColorStart),d+="$",void 0!==h.currencySymbol&&(d+=h.currencySymbol),void 0!==h.currCode){const{culture:e,numberShape:r,nationalNumberInput:o,calendar:i,localCalendarInput:a,tag:l}=h.currCode;d+="-";let u=0;switch(void 0!==r&&(u|=t.pictureNumberShape.indexOf(r)<<8),o&&(u|=32768),void 0!==i&&(u|=t.pictureCalendar.indexOf(i)),a&&(u|=128),typeof e){case"number":{let t=e;switch(l){case void 0:break;case s.CultureTag.GenLower:t|=64512;break;case s.CultureTag.GenUpper:t|=63488;break;case s.CultureTag.NomLower:t|=62464;break;default:(0,n.assertFalse)("calc.numfmt.NumberFormatImpl: printCodes lcid2")}let r=V(u<<16|t);/^[a-f]{1,7}$/i.test(r)&&(r="0"+r),d+=r;break}case"string":d+=e,void 0!==l&&(""!==e&&(d+="-"),d+="x-",d+=String(l)),0!==u&&(d+=",",d+=V(u))}}d+=K(a.pictureSingle,o.PictureSingle.ColorEnd);break;case o.PictureSingle.Text:d+=K(a.pictureSingle,o.PictureSingle.Text);break;case M.LatinDate:d+=K(a.pictureSingle,o.PictureSingle.BidiDate)+"1";break;case M.BidiDate:d+=K(a.pictureSingle,o.PictureSingle.BidiDate)+"2";break;case te.FracSeconds:d+=K(a.pictureSingle,o.PictureSingle.Decimal)+(0,n.repeat)("0",h.rounding);break;case te.DateSep:d+=K(a.pictureSingle,o.PictureSingle.DateSep);break;case te.TimeSep:d+=K(a.pictureSingle,o.PictureSingle.Colon);break;case o.PictureSingle.Era:case o.PictureSingle.EraYear:case o.PictureSingle.Year:case o.PictureSingle.YearTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:case o.PictureSingle.Month:case o.PictureSingle.MonthTh:case o.PictureSingle.Day:case o.PictureSingle.DayTh:case o.PictureSingle.LocDay:d+=(0,n.repeat)(K(a.pictureSingle,h.kind),h.count);break;case o.PictureSingle.Hour:case o.PictureSingle.HourTh:case o.PictureSingle.Minute:case o.PictureSingle.MinuteTh:case o.PictureSingle.Second:case o.PictureSingle.SecondTh:if(h.isAbs){d+=K(a.pictureSingle,o.PictureSingle.ColorStart)+(0,n.repeat)(K(a.pictureSingle,h.kind),h.count)+K(a.pictureSingle,o.PictureSingle.ColorEnd);break}d+=(0,n.repeat)(K(a.pictureSingle,h.kind),h.count);break;case M.AMPM:case M.AMPMFE:h.kind===M.AMPMFE||a.isEastAsia||h.pictureKind===o.PictureSpecial.AP2?d+=h.tokenStr:d+=K(a.pictureSpecial,h.pictureKind);break;case te.SysFormat:d+=this.printCodes(e,h.codeThisFormat,void 0,a);break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: printCodes code",h)}p===c&&(d+=(0,n.repeat)(K(a.pictureSingle,o.PictureSingle.Comma),i.numThousands))}return d}countBytecodeBuffer(e){const{mathpack:t,localeInfo:r}=this.config;let i=0;for(let a=0;a<e.length;a+=1){const s=e[a];let l=1;switch(s.kind){case o.PictureSingle.Percent:case M.Numeral:case te.Char:case o.PictureSingle.Star:case o.PictureSingle.Underscore:l+=2;break;case M.StrLit:l+=1+2*s.escaped.length;break;case te.FracSeconds:case o.PictureSingle.Hash:case o.PictureSingle.Zero:case o.PictureSingle.Question:case M.Exp:l+=1;break;case o.PictureSingle.Hour:case o.PictureSingle.HourTh:case o.PictureSingle.Minute:case o.PictureSingle.MinuteTh:case o.PictureSingle.Second:case o.PictureSingle.SecondTh:s.isAbs&&(l+=1);break;case te.Fraction:l+=5,void 0!==s.codeInt&&(l+=this.countBytecodeBuffer(s.codeInt)),l+=this.countBytecodeBuffer(s.codeBetween1),l+=this.countBytecodeBuffer(s.codeNumer),l+=this.countBytecodeBuffer(s.codeBetween2),l+=this.countBytecodeBuffer(s.codeDenom),void 0!==s.denomValue&&(l-=2,l+=2+2*F(t,s.denomValue).length),s.commaInt&&(l+=1);break;case te.Exp:l+=3,l+=this.countBytecodeBuffer(s.codeMant),l+=this.countBytecodeBuffer(s.codeBetween),l+=this.countBytecodeBuffer(s.codeExp),s.commaMant&&(l+=1);break;case te.Num:l+=3,l+=this.countBytecodeBuffer(s.codeBefore),l+=this.countBytecodeBuffer(s.code),s.comma&&(l+=1);break;case te.SysFormat:l=0,l+=this.countBytecodeBuffer(s.codeThisFormat);break;case M.CurrCode:l+=2*((s.currencySymbol?.length??0)+1),l+=8;break;case M.AMPM:{const e=r.isEastAsia||s.pictureKind===o.PictureSpecial.AP2?H(r,s.tokenStr):r.ampmSymbols;l+=2+2*(e[0].length+e[1].length)}break;case M.AMPMFE:case M.General:case o.PictureSingle.Decimal:case o.PictureSingle.Slash:case M.PrefixDigTh:case M.Currency:case o.PictureSingle.Text:case M.LatinDate:case M.BidiDate:case te.DateSep:case te.TimeSep:case o.PictureSingle.Era:case o.PictureSingle.EraYear:case o.PictureSingle.Year:case o.PictureSingle.YearTh:case o.PictureSingle.EngYearTh:case o.PictureSingle.ThYear:case o.PictureSingle.Month:case o.PictureSingle.MonthTh:case o.PictureSingle.Day:case o.PictureSingle.DayTh:case o.PictureSingle.LocDay:break;default:return(0,n.assertNever)("calc.numfmt.NumberFormatImpl: printCodes code",s)}i+=l}return i}countBytecodePart({code:e,color:t,dbnum:r,dtrRounding:n}){let o=0;return void 0!==t&&(o+=2),void 0!==r&&(o+=2),0!==n&&(o+=2),o+=this.countBytecodeBuffer(e),o}countBytecode(){let e=0;for(let t=ie.Pos;t<=ie.Text;t+=1){(t===ie.Pos&&void 0!==this.condPos||t===ie.Neg&&void 0!==this.condNeg)&&(e+=10);const r=this.parts[t];let n=!1;for(let e=ie.Pos;e<t;e+=1)if(this.parts[e]===r){n=!0;break}n||(e+=this.countBytecodePart(r))}return e}checkBytecode(){if(this.countBytecode()>255)throw new pe(this.notFormatString("format string too long: bytecode limit"));if(this.countBytecode()>247)throw new pe((0,o.notImplemented)(["format string too long: close to bytecode limit"]))}getBundledLocaleInfo(e,t,r){let n=r;switch(t){case o.Calendar.GregorianUS:n=q;break;case o.Calendar.GregorianMEFrench:n=$;break;case o.Calendar.GregorianArabic:n=Q;break;case o.Calendar.GregorianXlitEnglish:n=X;break;case o.Calendar.GregorianXlitFrench:n=Y;break;case o.Calendar.UmAlQura:case o.Calendar.Hijri:break;case o.Calendar.Thai:n=J}if(void 0!==n?.culture&&""!==n.culture){const t=(0,i.getBundledLocaleInfo)(n);if(void 0===t)throw new de(this.notImplementedCulture(e,n.culture));return t}return this.config.localeInfo}notFormatString(e){return(0,s.notFormatString)(`${e} (source=${String(this.source)}): ${this.logFormatString}`)}notImplementedCulture(e,t){const r="number"==typeof t?`lcid:${V(t)}`:`lang:${t}`;return(0,o.notImplemented)([`${e}: culture = ${r}`])}constructor(e,t){this.config=e,this.hasPercent=!1,this.hasDate=!1,this.hasTime=!1,this.posBeforeText=!0,this.onlyOneNumberPart=!0,this.parts=[void 0,void 0,void 0,void 0],this.hasTokenCurrCode=!1,void 0===t.old?(this.logFormatString=(0,n.anonymizeFormulaString)(t.formatString),this.source=t.source,this.parseString(t.formatString)):(this.hasPercent=t.old.hasPercent,this.hasDate=t.old.hasDate,this.hasTime=t.old.hasTime,this.posBeforeText=t.old.posBeforeText,this.onlyOneNumberPart=t.old.onlyOneNumberPart,this.parts=t.synth,this.hasTokenCurrCode=t.old.hasTokenCurrCode,this.thisCurrCode=t.old.thisCurrCode,this.thisCurrencySymbol=t.old.thisCurrencySymbol,this.applyCurrCode=t.old.applyCurrCode,this.condPos=t.old.condPos,this.condNeg=t.old.condNeg,this.logFormatString=t.logFormatString,this.source=s.NumberFormatSource.CustomString,this.checkBytecode()),this.formatString=this.printFormatString(),this.valueType=this.determineValueType(),this.decimals=this.determineDecimals(),this.bidiDate=this.determineBidiDate()}}t.NumberFormatImpl=he},43177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toXLNumber=t.applyValueEdit=t.getValueEditOperKind=t.applyFormatAndRenderToString=t.getFormatString=t.initUtilGlobals=t.getRibbonFormat=t.RibbonFormat=t.convertKnownLCID=t.englishXLSXKnownFormat=t.isKnownFormatDefined=t.getKnownFormat=t.buildCurrencyFormat=t.buildFractionFormat=t.buildScientificFormat=t.buildPercentFormat=t.buildNumberFormat=t.createNumberFormatter=t.shouldInstallFormat=t.PackageName=void 0;const n=r(16533);t.PackageName="excel-online-calc-numfmt";var o=r(44953);Object.defineProperty(t,"shouldInstallFormat",{enumerable:!0,get:function(){return o.shouldInstallFormat}});var i=r(68375);Object.defineProperty(t,"createNumberFormatter",{enumerable:!0,get:function(){return i.createNumberFormatter}});var a=r(61177);Object.defineProperty(t,"buildNumberFormat",{enumerable:!0,get:function(){return a.buildNumberFormat}}),Object.defineProperty(t,"buildPercentFormat",{enumerable:!0,get:function(){return a.buildPercentFormat}}),Object.defineProperty(t,"buildScientificFormat",{enumerable:!0,get:function(){return a.buildScientificFormat}}),Object.defineProperty(t,"buildFractionFormat",{enumerable:!0,get:function(){return a.buildFractionFormat}}),Object.defineProperty(t,"buildCurrencyFormat",{enumerable:!0,get:function(){return a.buildCurrencyFormat}}),Object.defineProperty(t,"getKnownFormat",{enumerable:!0,get:function(){return a.getKnownFormat}}),Object.defineProperty(t,"isKnownFormatDefined",{enumerable:!0,get:function(){return a.isKnownFormatDefined}}),Object.defineProperty(t,"englishXLSXKnownFormat",{enumerable:!0,get:function(){return a.englishXLSXKnownFormat}});var s=r(21835);Object.defineProperty(t,"convertKnownLCID",{enumerable:!0,get:function(){return s.convertKnownLCID}});var l=r(94654);Object.defineProperty(t,"RibbonFormat",{enumerable:!0,get:function(){return l.RibbonFormat}}),Object.defineProperty(t,"getRibbonFormat",{enumerable:!0,get:function(){return l.getRibbonFormat}}),n.__exportStar(r(62737),t);var u=r(46993);Object.defineProperty(t,"initUtilGlobals",{enumerable:!0,get:function(){return u.initUtilGlobals}}),Object.defineProperty(t,"getFormatString",{enumerable:!0,get:function(){return u.getFormatString}}),Object.defineProperty(t,"applyFormatAndRenderToString",{enumerable:!0,get:function(){return u.applyFormatAndRenderToString}});var c=r(87660);Object.defineProperty(t,"getValueEditOperKind",{enumerable:!0,get:function(){return c.getValueEditOperKind}}),Object.defineProperty(t,"applyValueEdit",{enumerable:!0,get:function(){return c.applyValueEdit}}),Object.defineProperty(t,"toXLNumber",{enumerable:!0,get:function(){return c.toXLNumber}})},61177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.englishXLSXKnownFormat=void 0,t.getSpecial=s,t.getSingle=l,t.getColor=u,t.buildNumberFormat=c,t.buildPercentFormat=d,t.buildScientificFormat=p,t.buildQuoted=h,t.buildFractionFormat=g,t.buildCurrencyFormat=b,t.buildSingle=y,t.buildMMDDYYFormat=E,t.buildNumShapeConstFormat=function(e,t,r,a,s,u,p,h){const g=i.pictureNumberShape.indexOf(r)<<24|function(e){switch(e){case o.NumberShape.ArabicIndic:case o.NumberShape.ExtendedArabicIndic:return o.LCID.Arabic;case o.NumberShape.Devanagari:return o.LCID.Hindi;case o.NumberShape.Bengali:return 1093;case o.NumberShape.Gurmukhi:return 1094;case o.NumberShape.Gujarati:return 1095;case o.NumberShape.Oriya:return 1096;case o.NumberShape.Tamil:return o.LCID.Tamil;case o.NumberShape.Telugu:return 1098;case o.NumberShape.Kannada:return 1099;case o.NumberShape.Malayalam:return 1100;case o.NumberShape.Thai:return o.LCID.Thailand;case o.NumberShape.Lao:return 1108;case o.NumberShape.Tibetan:return 1105;case o.NumberShape.Myanmar:return 1109;case o.NumberShape.Ethiopic:return 1118;case o.NumberShape.Khmer:return 1107;case o.NumberShape.Mongolian:return 1104;case o.NumberShape.ASCII:case o.NumberShape.ChineseTrad1:case o.NumberShape.ChineseTrad2:case o.NumberShape.ChineseTrad3:case o.NumberShape.ChineseSimp1:case o.NumberShape.ChineseSimp2:case o.NumberShape.ChineseSimp3:case o.NumberShape.Japanese1:case o.NumberShape.Japanese2:case o.NumberShape.Japanese3:case o.NumberShape.Korean1:case o.NumberShape.Korean2:case o.NumberShape.Korean3:case o.NumberShape.Korean4:return 0;default:return(0,n.assertNever)("calc.numfmt.lcidFromNumShape",e)}}(r);let m=p;if((a||s)&&(m=2),m=(0,n.fastMin)(m,14),a){const t=y(e,o.PictureSingle.ColorStart,"$"+e.currencySymbol+"-"+g.toString(16).toUpperCase(),o.PictureSingle.ColorEnd);return b({...e,isCurrencySymbolLead:!0,isCurrencySepBySpace:!1,currencyFormat:o.CurrencyFormat.Paren},!0,2,!0,!1,t).replace(t,(()=>t+l(e,o.PictureSingle.Space)))}const f=y(e,o.PictureSingle.ColorStart,"$-"+g.toString(16).toUpperCase(),o.PictureSingle.ColorEnd);if(s)return f+d({...e,isPercentSepBySpace:!1},2);if(u)return f+c(e,!0,4,m);const v=t.formatGeneral(e,h,11),S=v.indexOf("E");if(S>=0){const t=v.substring(0,S),r=t.indexOf(e.decimalSeparator)>=0,i=t.replace(e.decimalSeparator,"").length,a=v.substring(S+2).length;return f+y(e,"0",m>0&&!r?"":o.PictureSingle.Decimal,(0,n.repeat)(l(e,o.PictureSingle.Hash),i-1),o.PictureSingle.E,m>0?"-":"+",(0,n.repeat)("0",a))}return f+y(e,"0",m>0?o.PictureSingle.Decimal:"",(0,n.repeat)(l(e,o.PictureSingle.Hash),m))},t.buildNumShapeDateTimeFormat=function(e,t,r){return y(e,o.PictureSingle.ColorStart,"$-"+(i.pictureNumberShape.indexOf(t)<<24).toString(16).toUpperCase(),o.PictureSingle.ColorEnd)+P(e,r)},t.getKnownFormat=P,t.isKnownFormatDefined=function(e,t){return e<=o.KnownFormat.General&&e>=o.KnownFormat.AcctDec||(e<=-1e3&&e>=-1099?t.isEastAsia:e<=-1100&&e>=-1199?t.isJapan:e<=-1200&&e>=-1299?t.isKorea:e<=-1300&&e>=-1399?t.isChinaT:e<=-1400&&e>=-1499?t.isChinaS:e<=-2e3&&e>=-2099?t.isThai:(0,n.assertFalse)("calc.numfmt.isKnownFormatDefined"))};const n=r(52123),o=r(85882),i=r(68231),a=r(93542);function s(e,t){const r=e.pictureSpecial[t]??o.englishPictureSpecial[t];return(0,n.assertTrue)("calc.numfmt.knownFormat: getSpecial",void 0!==r),r}function l(e,t){const r=e.pictureSingle[t]??o.englishPictureSingle[t];return(0,n.assertTrue)("calc.numfmt.knownFormat: getSingle",void 0!==r),r}function u(e,t){const r=e.pictureColor[t]??o.englishPictureColor[t];return(0,n.assertTrue)("calc.numfmt.knownFormat: getColor",void 0!==r),r}function c(e,t,r,i){let s="";if(r>1){const i=(0,n.repeat)(l(e,o.PictureSingle.Hash),r-1);s+=t?(0,a.insertCommas)({isThousandsPosition:e=>e>0&&e%3==0,thousandsSeparator:l(e,o.PictureSingle.Comma)},i,1):i}return s+="0",i>0&&(s+=l(e,o.PictureSingle.Decimal),s+=(0,n.repeat)("0",i)),s}function d(e,t){let r="";return r+="0",t>0&&(r+=l(e,o.PictureSingle.Decimal),r+=(0,n.repeat)("0",t)),e.isPercentSepBySpace&&(r+=l(e,o.PictureSingle.Space)),r+=l(e,o.PictureSingle.Percent),r}function p(e,t,r,i){let a="";return a+=c(e,!1,t,r),e.isExpSepBySpace&&(a+=l(e,o.PictureSingle.Space)),a+=l(e,o.PictureSingle.E),a+="+",a+=(0,n.repeat)("0",i),a}function h(e,t){const r=l(e,o.PictureSingle.Quote);return r+t+r}function g(e,t){let r="";r+=l(e,o.PictureSingle.Hash);const i=e.fractionSeparator;return i===l(e,o.PictureSingle.Comma)?r+=h(e,i):r+=" "===i?l(e,o.PictureSingle.Space):h(e,i),r+=(0,n.repeat)(l(e,o.PictureSingle.Question),t),r+=l(e,o.PictureSingle.Slash),r+=(0,n.repeat)(l(e,o.PictureSingle.Question),t),r}var m,f;function v(e,t){let r="";return r+=h(e,"-"),t>0&&(r+=(0,n.repeat)(l(e,o.PictureSingle.Question),t)),r}function b(e,t,r,n,i,a,d=!1){const{isCurrencySymbolLead:p,currencyFormat:h,isCurrencySepBySpace:g}=e,f=d?m.Pos:i?m.Text:m.Neg,b=c(e,!0,4,r);let S="";for(let c=m.Pos;c<=f;c+=1){c!==m.Pos&&(S+=l(e,o.PictureSingle.Sep)),c===m.Neg&&t&&(S+=l(e,o.PictureSingle.ColorStart)+u(e,o.PictureColor.Red)+l(e,o.PictureSingle.ColorEnd));const d=()=>c===m.Zero?v(e,r):c===m.Text?l(e,o.PictureSingle.Text):b,f=()=>c!==m.Text?y(e,o.PictureSingle.Star,o.PictureSingle.Space):"",C=()=>{let t="";if(p)switch(h){case o.CurrencyFormat.Paren:t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.OpenParen);break;case o.CurrencyFormat.Trail:t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.Minus);break;case o.CurrencyFormat.Intern:t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.Space)}else{switch(h){case o.CurrencyFormat.Trail:t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.Minus);break;case o.CurrencyFormat.Paren:case o.CurrencyFormat.Intern:t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.Space)}h!==o.CurrencyFormat.Lead&&(t+=f())}return t},T=()=>{if(p)switch(h){case o.CurrencyFormat.Lead:return y(e,o.PictureSingle.Underscore,o.PictureSingle.Minus);case o.CurrencyFormat.Intern:return y(e,o.PictureSingle.Underscore,o.PictureSingle.Space)}else switch(h){case o.CurrencyFormat.Lead:return y(e,o.PictureSingle.Underscore,o.PictureSingle.Minus);case o.CurrencyFormat.Paren:case o.CurrencyFormat.Intern:return y(e,o.PictureSingle.Underscore,o.PictureSingle.Space)}return""},k=()=>c===m.Neg?l(e,o.PictureSingle.OpenParen):"",F=()=>c!==m.Text||p?c===m.Neg?l(e,o.PictureSingle.CloseParen):y(e,o.PictureSingle.Underscore,o.PictureSingle.CloseParen):"",E=()=>{let t="";if(c!==m.Neg)switch(h){case o.CurrencyFormat.Intern:p||c===m.Text||(t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.Minus));break;case o.CurrencyFormat.Lead:case o.CurrencyFormat.Trail:if(h===o.CurrencyFormat.Lead&&!i)break;t+=y(e,o.PictureSingle.Underscore,o.PictureSingle.Minus)}else t+=l(e,o.PictureSingle.Minus);return i&&!p&&h===o.CurrencyFormat.Lead&&(t+=f()),t},A=()=>{let t="";return n&&!p&&g&&(t+=l(e,o.PictureSingle.Space)),n&&(t+=a??s(e,o.PictureSpecial.Currency)),p&&g&&(t+=l(e,o.PictureSingle.Space)),t},I=()=>{let e="";return c!==m.Text&&(p?(n&&(e+=A()),i&&(e+=f())):e+=A()),e};if(i&&(S+=C()),p)switch(h){case o.CurrencyFormat.Paren:i||(S+=k()),S+=I(),i&&(S+=k()),S+=d(),S+=F();break;case o.CurrencyFormat.Lead:S+=E(),S+=I(),S+=d();break;case o.CurrencyFormat.Intern:S+=I(),S+=E(),S+=d();break;case o.CurrencyFormat.Trail:S+=I(),S+=d(),S+=E()}else switch(h){case o.CurrencyFormat.Paren:S+=k(),S+=d(),i&&(S+=F()),S+=I(),i||(S+=F());break;case o.CurrencyFormat.Lead:S+=E(),S+=d(),S+=I();break;case o.CurrencyFormat.Intern:S+=d(),S+=E(),S+=I();break;case o.CurrencyFormat.Trail:S+=d(),S+=I(),S+=E()}i&&(S+=T())}return S}function y(e,...t){return t.map((t=>"string"==typeof t?t:l(e,t))).join("")}!function(e){e[e.Pos=0]="Pos",e[e.Neg=1]="Neg",e[e.Zero=2]="Zero",e[e.Text=3]="Text"}(m||(m={})),function(e){e[e.Day=0]="Day",e[e.Month=1]="Month",e[e.Year=2]="Year"}(f||(f={}));const S={[o.DateOrder.MDY]:[f.Month,f.Day,f.Year],[o.DateOrder.DMY]:[f.Day,f.Month,f.Year],[o.DateOrder.YMD]:[f.Year,f.Month,f.Day],[o.DateOrder.MYD]:[f.Month,f.Year,f.Day],[o.DateOrder.DYM]:[f.Day,f.Year,f.Month],[o.DateOrder.YDM]:[f.Year,f.Day,f.Month]};function C(e,t){return y(e,(t?e.hour2Digits&&!e.clock24Hour:e.hour2Digits)?o.PictureSingle.Hour:"",o.PictureSingle.Hour,o.PictureSingle.Colon,o.PictureSingle.Minute,o.PictureSingle.Minute)}function T(e,t){return C(e,t)+y(e,o.PictureSingle.Colon,o.PictureSingle.Second,o.PictureSingle.Second)}function k(e){let t="";return e.isAMPMSepBySpace&&(t+=l(e,o.PictureSingle.Space)),t+=s(e,o.PictureSpecial.AP1),t}function F(e,t,r,i,a=e.year4Digits){const{month2Digits:s,day2Digits:u}=e,c=[(0,n.repeat)(t,u?2:1),(0,n.repeat)(r,s?2:1),(0,n.repeat)(i,a?4:2)],d=S[e.dateOrder];let p="";for(let t=0;t<3;t+=1)p+=c[d[t]],t<2&&(p+=l(e,o.PictureSingle.DateSep));return p}function E(e,t){const r=l(e,o.PictureSingle.Year),n=l(e,o.PictureSingle.Month);return F(e,l(e,o.PictureSingle.Day),n,r,t)}function A(e,t,r,n=o.PictureSingle.Day,i=o.PictureSingle.Month,a=o.PictureSingle.Year){const{day2Digits:s}=e,u=e.country===o.Country.GER,c="/"===e.dateSeparator&&" "!==e.dateAltSeparator;let d="";return t&&(d+=y(e,s?n:"",n),c?d+=e.dateAltSeparator:(d+=l(e,o.PictureSingle.DateSep),u&&(d+=l(e,o.PictureSingle.Space)))),d+=y(e,i,i,i),r&&(d+=c?e.dateAltSeparator:l(e,u?o.PictureSingle.Space:o.PictureSingle.DateSep),d+=y(e,a,a)),d}function I(e){return y(e,e.hour2Digits?o.PictureSingle.HourTh:"",o.PictureSingle.HourTh,o.PictureSingle.Colon,o.PictureSingle.MinuteTh,o.PictureSingle.MinuteTh)}function x(e){return F(e,l(e,o.PictureSingle.DayTh),l(e,o.PictureSingle.MonthTh),l(e,o.PictureSingle.YearTh))}function w(e,t,r){return A(e,t,r,o.PictureSingle.DayTh,o.PictureSingle.MonthTh,o.PictureSingle.YearTh)}function P(e,t){switch(t){case o.KnownFormat.General:return s(e,o.PictureSpecial.General);case o.KnownFormat.NoComFixed0:return c(e,!1,1,0);case o.KnownFormat.NoComFixed:return c(e,!1,1,2);case o.KnownFormat.Fixed0:return c(e,!0,4,0);case o.KnownFormat.Fixed:return c(e,!0,4,2);case o.KnownFormat.Currency:return b(e,!1,0,!0,!1);case o.KnownFormat.CoCurrency:return b(e,!0,0,!0,!1);case o.KnownFormat.CurrencyDec:return b(e,!1,2,!0,!1);case o.KnownFormat.CoCurrencyDec:return b(e,!0,2,!0,!1);case o.KnownFormat.Pct0:return d(e,0);case o.KnownFormat.Pct:return d(e,2);case o.KnownFormat.Exp:return p(e,1,2,2);case o.KnownFormat.Fract:return g(e,1);case o.KnownFormat.FractBond:return g(e,2);case o.KnownFormat.MMDDYY:return E(e);case o.KnownFormat.DDMMMYY:return A(e,!0,!0);case o.KnownFormat.DDMMM:return A(e,!0,!1);case o.KnownFormat.MMMYY:return A(e,!1,!0);case o.KnownFormat.HHMMAP:return C(e,!0)+k(e);case o.KnownFormat.HHMMSSAP:return T(e,!0)+k(e);case o.KnownFormat.HHMM:return C(e,!1);case o.KnownFormat.HHMMSS:return T(e,!1);case o.KnownFormat.MDYHMS:return y(e,E(e),o.PictureSingle.Space,C(e,!1));case o.KnownFormat.USCoCurrency:case o.KnownFormat.USCoCurrencyDec:return b({...e,isCurrencySymbolLead:!0,isCurrencySepBySpace:!1,currencyFormat:o.CurrencyFormat.Paren},!0,t===o.KnownFormat.USCoCurrencyDec?2:0,!0,!1,e.isChinaT?h(e,"US$"):"$");case o.KnownFormat.Currency2:return b(e,!1,0,!1,!1);case o.KnownFormat.CoCurrency2:return b(e,!0,0,!1,!1);case o.KnownFormat.CurrencyDec2:return b(e,!1,2,!1,!1);case o.KnownFormat.CoCurrencyDec2:return b(e,!0,2,!1,!1);case o.KnownFormat.Acct:return b(e,!1,0,!1,!0);case o.KnownFormat.AcctDec:return b(e,!1,2,!1,!0);case o.KnownFormat.AcctCur:return b(e,!1,0,!0,!0);case o.KnownFormat.AcctDecCur:return b(e,!1,2,!0,!0);case o.KnownFormat.MMSS:return y(e,o.PictureSingle.Minute,o.PictureSingle.Minute,o.PictureSingle.Colon,o.PictureSingle.Second,o.PictureSingle.Second);case o.KnownFormat.AbsHMMSS:return y(e,o.PictureSingle.ColorStart,o.PictureSingle.Hour,o.PictureSingle.ColorEnd,o.PictureSingle.Colon,o.PictureSingle.Minute,o.PictureSingle.Minute,o.PictureSingle.Colon,o.PictureSingle.Second,o.PictureSingle.Second);case o.KnownFormat.SS0:return y(e,o.PictureSingle.Minute,o.PictureSingle.Minute,o.PictureSingle.Colon,o.PictureSingle.Second,o.PictureSingle.Second,o.PictureSingle.Decimal,"0");case o.KnownFormat.Eng:return p(e,3,1,1);case o.KnownFormat.Text:return l(e,o.PictureSingle.Text);case o.KnownFormat.NoComFixed0_Tha:return"t"+c(e,!1,1,0);case o.KnownFormat.NoComFixed_Tha:return"t"+c(e,!1,1,2);case o.KnownFormat.Fixed0_Tha:return"t"+c(e,!0,4,0);case o.KnownFormat.Fixed_Tha:return"t"+c(e,!0,4,2);case o.KnownFormat.CoCurrency_Tha:case o.KnownFormat.CoCurrencyDec_Tha:return b({...e,isCurrencySymbolLead:!0,isCurrencySepBySpace:!1,currencyFormat:o.CurrencyFormat.Paren},!0,t===o.KnownFormat.CoCurrencyDec_Tha?2:0,!0,!1,"t"+s(e,o.PictureSpecial.Currency));case o.KnownFormat.Pct0_Tha:return"t"+d(e,0);case o.KnownFormat.Pct_Tha:return"t"+d(e,2);case o.KnownFormat.MMDDYY_Tha:return x(e);case o.KnownFormat.DDMMMYY_Tha:return w(e,!0,!0);case o.KnownFormat.DDMMM_Tha:return w(e,!0,!1);case o.KnownFormat.MMMYY_Tha:return w(e,!1,!0);case o.KnownFormat.HHMM_Tha:return I(e);case o.KnownFormat.HHMMSS_Tha:return function(e){return I(e)+y(e,o.PictureSingle.Colon,o.PictureSingle.SecondTh,o.PictureSingle.SecondTh)}(e);case o.KnownFormat.MDYHMS_Tha:return y(e,x(e),o.PictureSingle.Space,I(e));case o.KnownFormat.AbsHMMSS_Tha:return y(e,o.PictureSingle.ColorStart,o.PictureSingle.HourTh,o.PictureSingle.ColorEnd,o.PictureSingle.Colon,o.PictureSingle.MinuteTh,o.PictureSingle.MinuteTh,o.PictureSingle.Colon,o.PictureSingle.SecondTh,o.PictureSingle.SecondTh);case o.KnownFormat.MMSS_Tha:return y(e,o.PictureSingle.MinuteTh,o.PictureSingle.MinuteTh,o.PictureSingle.Colon,o.PictureSingle.SecondTh,o.PictureSingle.SecondTh);case o.KnownFormat.SS0_Tha:return y(e,o.PictureSingle.MinuteTh,o.PictureSingle.MinuteTh,o.PictureSingle.Colon,o.PictureSingle.SecondTh,o.PictureSingle.SecondTh,o.PictureSingle.Decimal,"0");case o.KnownFormat.DMBB_Tha:return F(e,l(e,o.PictureSingle.Day),l(e,o.PictureSingle.Month),l(e,o.PictureSingle.EngYearTh),!1);default:return(0,n.assertNever)("calc.numfmt.getKnownFormat",t)}}t.englishXLSXKnownFormat={0:o.KnownFormat.General,1:o.KnownFormat.NoComFixed0,2:o.KnownFormat.NoComFixed,3:o.KnownFormat.Fixed0,4:o.KnownFormat.Fixed,5:o.KnownFormat.Currency,6:o.KnownFormat.CoCurrency,7:o.KnownFormat.CurrencyDec,8:o.KnownFormat.CoCurrencyDec,9:o.KnownFormat.Pct0,10:o.KnownFormat.Pct,11:o.KnownFormat.Exp,12:o.KnownFormat.Fract,13:o.KnownFormat.FractBond,14:o.KnownFormat.MMDDYY,15:o.KnownFormat.DDMMMYY,16:o.KnownFormat.DDMMM,17:o.KnownFormat.MMMYY,18:o.KnownFormat.HHMMAP,19:o.KnownFormat.HHMMSSAP,20:o.KnownFormat.HHMM,21:o.KnownFormat.HHMMSS,22:o.KnownFormat.MDYHMS,37:o.KnownFormat.Currency2,38:o.KnownFormat.CoCurrency2,39:o.KnownFormat.CurrencyDec2,40:o.KnownFormat.CoCurrencyDec2,41:o.KnownFormat.Acct,42:o.KnownFormat.AcctCur,43:o.KnownFormat.AcctDec,44:o.KnownFormat.AcctDecCur,45:o.KnownFormat.MMSS,46:o.KnownFormat.AbsHMMSS,47:o.KnownFormat.SS0,48:o.KnownFormat.Eng,49:o.KnownFormat.Text}},21835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBundledLocaleInfo=function({culture:e,tag:t}){if("number"==typeof e)return;let r=e;return void 0!==t&&(""!==e&&(r+="-"),r+="x-"+String(t)),void 0===a&&(a=function(){const e={},t=["monthNameShort","monthNameLong","dayNameShort","dayNameLong","ampmSymbols"];for(const r of Object.keys(i)){const o=i[r];if("string"==typeof o){const t=e[o];(0,n.assertTrue)("calc.numfmt.buildBundledLocaleData: ref prior culture",void 0!==t),e[r]=t;continue}const[a,s,l,u,c]=o.slice(0,5).map(((r,o)=>{if("string"==typeof r){const i=e[r];return(0,n.assertTrue)("calc.numfmt.buildBundledLocaleData: ref prior culture 2",void 0!==i),i[t[o]]}return r})),d=o[5],p="k"===d,h="j"===d,g="t"===d,m="s"===d,f=p||h||g||m;e[r]={monthNameShort:a,monthNameLong:s,dayNameShort:l,dayNameLong:u,ampmSymbols:c,isEastAsia:f,isKorea:p,isJapan:h,isChinaT:g,isChinaS:m}}return e}()),a[r]},t.convertKnownLCID=function(e){return"string"==typeof e?e:s[e]??e};const n=r(52123),o=r(85882),i={ar:[["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["ص","م"],"z"],en:[["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["AM","PM"],"z"],es:[["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","set","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["do.","lu.","ma.","mi.","ju.","vi.","sá."],["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["a. m.","p. m."],"z"],fr:[["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"en","z"],zh:[["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],["週日","週一","週二","週三","週四","週五","週六"],["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["上午","下午"],"s"],de:[["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"en","z"],hr:[["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["ned","pon","uto","sri","čet","pet","sub"],["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],"en","z"],nl:[["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],"en","z"],sv:[["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],["sön","mån","tis","ons","tor","fre","lör"],["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],"en","z"],it:[["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],"en","z"],ro:[["ian.","feb.","mar.","apr.","mai","iun.","iul.","aug.","sept.","oct.","nov.","dec."],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["dum.","lun.","mar.","mie.","joi","vin.","sâm."],["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"],["a.m.","p.m."],"z"],ru:[["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],"en","z"],sr:[["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],["ned","pon","uto","sre","čet","pet","sub"],["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["pre podne","po podne"],"z"],uk:[["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"],"en","z"],bg:[["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],["нед","пон","вт","ср","четв","пет","съб"],["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],"en","z"],cs:[["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["ne","po","út","st","čt","pá","so"],["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],["dop.","odp."],"z"],da:["sv",["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],["sø","ma","ti","on","to","fr","lø"],["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],"sv","z"],el:[["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],["πμ","μμ"],"z"],et:[["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"],["P","E","T","K","N","R","L"],["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],"en","z"],fi:[["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["su","ma","ti","ke","to","pe","la"],["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["ap.","ip."],"z"],he:[["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"],["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],"en","z"],hu:[["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["V","H","K","Sze","Cs","P","Szo"],["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["de.","du."],"z"],id:[["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],["Mgg","Sen","Sel","Rab","Kam","Jum","Sab"],["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],"en","z"],ja:[["1","2","3","4","5","6","7","8","9","10","11","12"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["日","月","火","水","木","金","土"],["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["午前","午後"],"j"],ko:["ja",["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],["일","월","화","수","목","금","토"],["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],["오전","오후"],"k"],lt:[["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["sk","pr","an","tr","kt","pn","št"],["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["priešpiet","popiet"],"z"],lv:[["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["priekšp.","pēcp."],"z"],nb:[["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],["søn","man","tir","ons","tor","fre","lør"],"da","ro","z"],pl:[["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],"en","z"],pt:[["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],["dom","seg","ter","qua","qui","sex","sáb"],["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],"en","z"],sk:["ja",["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["ne","po","ut","st","št","pi","so"],["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],"en","z"],sl:[["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],["ned.","pon.","tor.","sre.","čet.","pet.","sob."],["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],["dop.","pop."],"z"],th:[["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],"en","z"],tr:[["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"],["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["ÖÖ","ÖS"],"z"],vi:[["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12"],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],["CN","T2","T3","T4","T5","T6","T7"],["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],["SA","CH"],"z"],ta:[["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"],["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்க்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],["காலை","மாலை"],"z"],syr:[["ܟܢ ܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫ ܐ","ܬܫ ܒ","ܟܢ ܐ"],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ"],["ܐ ܒܫ","ܒ ܒܫ","ܓ ܒܫ","ܕ ܒܫ","ܗ ܒܫ","ܥܪܘܒ","ܫܒ"],["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"],["ܩ.ܛ","ܒ.ܛ"],"z"],eu:[["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],["ig.","al.","ar.","az.","og.","or.","lr."],["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],"en","z"],be:[["студз","лют","сак","крас","май","чэрв","ліп","жн","вер","кастр","ліст","снеж"],["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"],["нд","пн","аўт","ср","чц","пт","сб"],["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],"en","z"],dv:[["ޖަނަވަރީ","ފެބްރުއަރީ","މާރޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޮގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ"],["ޖަނަވަރީ","ފެބްރުއަރީ","މާރޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޮގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ"],["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],["މކ","މފ"],"z"],hi:[["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर"],["रवि.","सोम.","मंगल.","बुध.","गुरु.","शुक्र.","शनि."],["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["पूर्वाह्न","अपराह्न"],"z"],fil:[["Ene","Peb","Mar","Abr","May","Hun","Hul","Ago","Set","Okt","Nob","Dis"],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Setyembre","Oktubre","Nobyembre","Disyembre"],["Lin","Lun","Mar","Miy","Huw","Biy","Sab"],["Linggo","Lunes","Martes","Miyerkules","Huwebes","Biyernes","Sabado"],"en","z"],ms:[["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["PG","PTG"],"z"],"ar-SA":"ar","ar-IQ":[["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],"ar","ar","ar","z"],"ar-DZ":"ar","ar-EG":"ar","en-US":"en","en-AU":"en","en-BZ":"en","en-CA":"en","en-029":"en","en-HK":"en","en-IN":"en","en-ID":"en","en-IE":"en","en-JM":"en","en-MY":"en","en-NZ":"en","en-PH":"en","en-SG":"en","en-ZA":"en","en-TT":"en","en-GB":"en","en-ZW":"en","en-AS":"en","en-KE":"en","en-KW":"en","en-NL":"en","en-CH":"en","en-001":"en","en-VU":"en","en-MX":"en","en-IO":"en","en-IL":"en","en-PK":"en","en-NG":"en","en-UK":"en","es-ES":[["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sep.","oct.","nov.","dic."],"es","es","es","en","z"],"es-AR":["es-ES","es",["dom.","lun.","mar.","mié.","jue.","vie.","sáb."],"es",["a. m.","p. m."],"z"],"es-BO":["es-ES","es","es-AR","es","es-AR","z"],"es-CL":[["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],"es","es-AR","es","es-AR","z"],"es-CO":["es-ES","es","es-AR","es","es-AR","z"],"es-CR":["es-ES","es","es-AR","es","es-AR","z"],"es-DO":["es-ES","es","es-AR","es","es-AR","z"],"es-EC":["es-ES","es","es-AR","es","es-AR","z"],"es-SV":["es-ES","es","es-AR","es","es-AR","z"],"es-GT":["es-ES","es","es-AR","es","es-AR","z"],"es-HN":["es-ES","es","es-AR","es","es-AR","z"],"es-419":["es-ES","es","es-AR","es","ro","z"],"es-MX":["es-ES","es","es-AR","es","es","z"],"es-NI":["es-ES","es","es-AR","es","es-AR","z"],"es-PA":["es-ES","es","es-AR","es","es-AR","z"],"es-PY":["es-CL","es","es-AR","es","es-CL","z"],"es-PE":[["Ene.","Feb.","Mar.","Abr.","May.","Jun.","Jul.","Ago.","Set.","Oct.","Nov.","Dic."],["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Setiembre","Octubre","Noviembre","Diciembre"],"es-AR","es","es-AR","z"],"es-PR":["es-ES","es","es-AR","es","es-AR","z"],"es-ES_tradnl":["es-ES","es","es","es","es-ES","z"],"es-US":[["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],"es",["dom","lun","mar","mié","jue","vie","sáb"],"es","en","z"],"es-UY":["es","es-PE","es-AR","es","es-AR","z"],"es-VE":["es-CL","es","es-AR","es","es-CL","z"],"es-CU":["es-ES","es","es-AR","es","ro","z"],"fr-FR":"fr","fr-BE":"fr","fr-CM":["fr","fr","fr","fr",["mat.","soir"],"z"],"fr-CA":"fr","fr-029":"fr","fr-CD":"fr","fr-CI":"fr","fr-HT":"fr","fr-LU":"fr","fr-ML":"fr","fr-MC":"fr","fr-MA":[["jan.","fév.","mar.","avr.","mai","jui.","juil.","août","sept.","oct.","nov.","déc."],"fr","fr","fr","en","z"],"fr-RE":"fr","fr-SN":"fr","fr-CH":"fr","zh-CN":["zh","zh",["周日","周一","周二","周三","周四","周五","周六"],"zh","zh","s"],"zh-SG":[["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"zh","zh-CN","zh","zh","s"],"zh-HK":["zh-SG","zh","zh","zh","zh-SG","t"],"zh-MO":["zh-SG","zh","zh","zh","zh-SG","t"],"zh-TW":["zh-SG","zh","zh","zh","zh-SG","t"],"de-DE":"de","de-AT":[["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],"de","en","z"],"de-LI":[["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"de","de-AT","de","en","z"],"de-LU":["de-LI","de","de-AT","de","de-LI","z"],"de-CH":["de-LI","de","de-AT","de","de-LI","z"],"hr-HR":"hr","hr-BA":[["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],"hr","hr","hr","en","z"],"nl-NL":"nl","nl-BE":"nl","sv-SE":"sv","sv-FI":[["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],"sv","sv","sv",["fm","em"],"z"],"it-IT":"it","it-CH":"it","ro-RO":"ro","ro-MD":["ro","ro",["Du","Lu","Mar","Mie","Jo","Vi","Sâ"],"ro","ro","z"],"ru-RU":"ru","ru-MD-x-genlower":[["янв.","февр.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],"ru","ru","en","z"],"sr-Latn-RS":"sr","sr-Latn-BA":[["jan","feb","mart","apr","maj","jun","jul","avg","sept","okt","nov","dec"],"sr","hr","hr",["prije podne","po podne"],"z"],"sr-Latn-CS":[["jan.","feb.","mart","apr.","maj","jun","jul","avg.","sept.","okt.","nov.","dec."],"sr",["ned.","pon.","uto.","sre.","čet.","pet.","sub."],"sr","en","z"],"uk-UA-x-genlower":["uk",["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"],"uk","uk","uk","z"],"uk-UA":"uk","bg-BG":"bg","cs-CZ":"cs","da-DK":["sv","da","da","da","sv","z"],"el-GR":"el","et-EE":"et","fi-FI":"fi","he-IL":"he","hu-HU":"hu","id-ID":"id","ja-JP":"ja","ko-KR":["ja","ko","ko","ko","ko","k"],"lt-LT":"lt","lv-LV":"lv","nb-NO":["nb","nb","nb","da","nb","z"],"pl-PL":"pl","pt-BR":"pt","pt-PT":"pt","sk-SK":["ja","sk","sk","sk","en","z"],"sl-SI":"sl","th-TH":"th","tr-TR":"tr","vi-VN":"vi","ta-IN":"ta","syr-SY":"syr","eu-ES":"eu","be-BY-x-genlower":["be",["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"],"be","be","be","z"],"be-BY":"be","dv-MV":"dv","hi-IN":"hi","fil-PH":"fil","ms-MY":"ms"};let a;const s={[o.LCID.USA]:"en-US",[o.LCID.Greek]:"el-GR",[o.LCID.Hungarian]:"hu-HU",[o.LCID.Turkish]:"tr-TR",[o.LCID.Thailand]:"th-TH",[o.LCID.Vietnam]:"vi-VN",[o.LCID.Arabic]:"ar-SA",[o.LCID.Hebrew]:"he-IL",[o.LCID.Tamil]:"ta-IN",[o.LCID.Syriac]:"syr-SY",[o.LCID.Iraq]:"ar-IQ",[o.LCID.Algerian]:"ar-DZ",[o.LCID.Basque]:"eu-ES",[o.LCID.PortBrazil]:"pt-BR",[o.LCID.Croatian]:"hr-HR",[o.LCID.Czech]:"cs-CZ",[o.LCID.Danish]:"da-DK",[o.LCID.Dutch]:"nl-NL",[o.LCID.Australian]:"en-AU",[o.LCID.CanadianEnglish]:"en-CA",[o.LCID.British]:"en-GB",[o.LCID.Finnish]:"fi-FI",[o.LCID.French]:"fr-FR",[o.LCID.FrenchCanadian]:"fr-CA",[o.LCID.Italian]:"it-IT",[o.LCID.NorskBokmal]:"nb-NO",[o.LCID.NorskNynorsk]:"nn-NO",[o.LCID.Polish]:"pl-PL",[o.LCID.PortIberian]:"pt-PT",[o.LCID.Romanian]:"ro-RO",[o.LCID.Russian]:"ru-RU",[o.LCID.Ukrainian]:"uk-UA",[o.LCID.Belarusian]:"be-BY",[o.LCID.SerbianCyrillic]:"sr-Cyrl-CS",[o.LCID.SerbianLatin]:"sr-Latn-CS",[o.LCID.Slovak]:"sk-SK",[o.LCID.Slovenian]:"sl-SI",[o.LCID.SpanishModern]:"es-ES",[o.LCID.Swedish]:"sv-SE",[o.LCID.HongKong]:"zh-HK",[o.LCID.ChinaT]:"zh-TW",[o.LCID.Korea]:"ko-KR",[o.LCID.Japan]:"ja-JP",[o.LCID.China]:"zh-CN",[o.LCID.Devihi]:"dv-MV",[o.LCID.Hindi]:"hi-IN",[o.LCID.German]:"de-DE",[o.LCID.Swiss]:"fr-CH",[o.LCID.Indonesia]:"id-ID",[o.LCID.EnglishIndonesia]:"en-ID",[o.LCID.EnglishIndia]:"en-IN",[o.LCID.Singapore]:"zh-SG",[o.LCID.EnglishSingapore]:"en-SG",[o.LCID.Serbia]:"sr-RS",[o.LCID.Mexico]:"es-MX",[o.LCID.Ireland]:"en-IE",[o.LCID.EnglishZimbabwe]:"en-ZW",[o.LCID.Belgium]:"nl-BE"}},46:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseGeneral=function(e,t,r,a,s){try{const{localeInfo:l,mathpack:u}=e.config,c=(0,o.parseConstInternal)(l,u,t,r,a,!1);return(0,n.isSuccess)(c)?void 0!==c.value?c:(0,i.parseDateInternal)((0,i.initParseDateGlobals)(e),t,void 0,s):c}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}},t.parseDate=function(e,t,r){try{return(0,i.parseDateInternal)((0,i.initParseDateGlobals)(e),t,void 0,r)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(66275),i=r(49746)},66275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseConstInternal=function(e,t,r,o,i,a){if(!i)return v(e,t,r,o,m.None,a);for(let i=m.None;i<=m.Trail;i+=1){const s=v(e,t,r,o,i,a);if(!(0,n.isSuccess)(s))return s;if(void 0!==s.value)return s;if(i===m.None&&r.indexOf("€")<0)break}return(0,n.success)(void 0)};const n=r(52123),o=r(85882),i=r(61177),{codePointDollarSign:a,codePointBackslash:s,codePointPercentSign:l,codePointSpace:u,codePointLeftParen:c,codePointMinusSign:d,codePointPlusSign:p,codePointRightParen:h}=n.codePoint;var g,m;function f(e,t,r,n){if(" "===t||""===t)return;const o="$"===t;if(e.isEastAsia){if(n<r.length&&r.charCodeAt(n)===a&&!o)return{currency:g.DollarUS,i:n+1};if(n+2<r.length&&0===e.stringCompareCI(r.substring(n,n+3),"US$"))return{currency:e.isChinaT?g.DollarUS:g.DollarExtra,i:n+3};if(("¥"===t&&e.isJapan||"₩"===t&&e.isKorea)&&n<r.length&&r.charCodeAt(n)===s)return{currency:g.Default,i:n+1};if(e.isChinaT&&n+2<r.length&&0===e.stringCompareCI(r.substring(n,n+3),"NT$"))return{currency:g.DollarExtra,i:n+3}}return n+t.length<=r.length&&0===e.stringCompareCI(r.substring(n,n+t.length),t)?{currency:g.Default,i:n+t.length}:void 0}function v(e,t,r,a,s,v){let b,y=0,S=!1,C=!1,T=!1,{isCurrencySymbolLead:k,currencySymbol:F}=e;s!==m.None&&(k=s===m.Lead,F="€");let E=0;for(;E<r.length;){if(void 0===b&&k){const t=f(e,F,r,E);if(void 0!==t){({currency:b,i:E}=t);continue}}const t=r.charCodeAt(E);switch(t){case l:E+=1,y+=1;continue;case u:E+=1;continue;case c:case d:case p:if(E+=1,C)return(0,n.success)(void 0);C=!0,t===c&&(S=!0),T=t!==p;continue}break}const A=(0,o.parseNumberLiteral)(e,t,r,E,!0,y>0||a,v);if(void 0===A||void 0===A.value)return(0,n.success)(void 0);E=A.i;const I=T?t.neg(A.value):A.value;for(;E<r.length;){if(void 0===b&&!k){const t=f(e,F,r,E);if(void 0!==t){({currency:b,i:E}=t);continue}}switch(r.charCodeAt(E)){case l:E+=1,y+=1;continue;case u:E+=1;continue;case h:if(E+=1,!S)return(0,n.success)(void 0);S=!1;continue}break}if(E!==r.length||S||y>1||void 0!==b&&y>0)return(0,n.success)(void 0);let x,w=A.numDigDec;if(A.consumedDecimal&&w<e.numberDecimals&&(A.consumedThousands||y>0?w=e.numberDecimals:void 0!==b&&(w=e.currencyDecimals)),void 0!==A.format)x=A.format;else if(b===g.DollarUS)x=A.consumedDecimal?o.KnownFormat.USCoCurrencyDec:o.KnownFormat.USCoCurrency;else if(b===g.DollarExtra)x=(0,i.buildCurrencyFormat)({...e,isCurrencySymbolLead:!0,isCurrencySepBySpace:!1,currencyFormat:o.CurrencyFormat.Paren},!1,A.consumedDecimal?2:0,!0,!1,e.isChinaT?(0,i.buildQuoted)(e,"NT$"):(0,i.buildQuoted)(e,"US$"));else if(A.numShape===o.NumberShape.Thai&&e.isThai)x=void 0!==b?A.consumedDecimal?o.KnownFormat.CoCurrencyDec_Tha:o.KnownFormat.CoCurrency_Tha:y>0?A.consumedDecimal?o.KnownFormat.Pct_Tha:o.KnownFormat.Pct0_Tha:A.consumedThousands?A.consumedDecimal?o.KnownFormat.Fixed_Tha:o.KnownFormat.Fixed0_Tha:A.consumedDecimal?o.KnownFormat.NoComFixed_Tha:o.KnownFormat.NoComFixed0_Tha;else if(A.numShape!==o.NumberShape.ASCII)x=(0,i.buildNumShapeConstFormat)(e,t,A.numShape,void 0!==b,y>0,A.consumedThousands,w,I);else if(void 0!==b)switch(s){case m.None:x=A.consumedDecimal?o.KnownFormat.CoCurrencyDec:o.KnownFormat.CoCurrency;break;case m.Lead:x=(0,i.buildCurrencyFormat)({...e,isCurrencySymbolLead:!0,isCurrencySepBySpace:!0,currencyFormat:o.CurrencyFormat.Lead},!0,A.consumedDecimal?2:0,!0,!1,"[$€-x-euro2]");break;case m.Trail:x=(0,i.buildCurrencyFormat)({...e,isCurrencySymbolLead:!1,isCurrencySepBySpace:!0,currencyFormat:o.CurrencyFormat.Lead},!0,A.consumedDecimal?2:0,!0,!1,"[$€-x-euro1]")}else x=y>0?A.consumedDecimal?o.KnownFormat.Pct:o.KnownFormat.Pct0:A.consumedThousands?A.consumedDecimal?o.KnownFormat.Fixed:o.KnownFormat.Fixed0:o.KnownFormat.General;return(0,n.success)({value:I,format:x})}!function(e){e[e.Default=0]="Default",e[e.DollarUS=1]="DollarUS",e[e.DollarExtra=2]="DollarExtra"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Lead=1]="Lead",e[e.Trail=2]="Trail"}(m||(m={}))},49746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initParseDateGlobals=function(e){return{config:e.config,getTime:e.getTime?.bind(e)??d.getTime}},t.parseDateInternal=function(e,t,r,i){const{config:s}=e,{localeInfo:c}=s;if(!c.isEastAsia&&!function(e,t){for(const r of(0,n.codePointIterator)(t))if(e.isNumeral(r))return!0;return!1}(c,t))return(0,n.success)(void 0);if(c.isEastAsia)return(0,n.failure)((0,o.notImplemented)(["parse East Asia date"]));if(c.isThai){let e=t.indexOf("b");if(e<0&&(e=t.indexOf("B")),e>=0&&e+1<t.length&&c.isNumeral((0,n.stringCodePointAt)(t,e+1)))return(0,n.failure)((0,o.notImplemented)(["parse Thai Buddhist date"]))}const d=function(e,t,r){const{localeInfo:i,dateCompatibility:a}=e,s=[];let c=r?.bidiDate,d=o.NumberShape.ASCII;const h=r?.culture;let g,m=!1,f=!1;for(let e=0;e<t.length;){if(s.length>=9)return(0,n.success)(void 0);let r;if(i.isNumeral((0,n.stringCodePointAt)(t,e))||!a&&e+1<t.length&&t.charCodeAt(e)===u&&i.isNumeral((0,n.stringCodePointAt)(t,e+1))){const[a,s]=M(i,t,e,g);if(void 0===a)return(0,n.success)(void 0);e=s,a.numShape!==o.NumberShape.ASCII&&(d=a.numShape),r=a}else{if(t.charCodeAt(e)===l)return(0,n.failure)((0,o.notImplemented)(["absurd date/time string with leading space"]));{const[o,a]=O(i,t,e);if(void 0===o)return(0,n.success)(void 0);if(e=a,o.kind===p.Month){if(m)return(0,n.success)(void 0);m=!0,void 0!==o.bidiDate&&(c=o.bidiDate)}if(o.kind===p.AMPM){if(f)return(0,n.success)(void 0);if(f=!0,0===s.length||s[s.length-1].sep!==T.Space)return(0,n.success)(void 0);g=s[s.length-1].sep=T.Time}r=o}}const[h,v]=B(i,t,e,g);for(e=v;e<t.length&&t.charCodeAt(e)===l;)e+=1;s.push({tok:r,sep:h}),g=h}return(0,n.assertTrue)("calc.numfmt.parseDateInternal: > 0 tokens",0!==s.length),(0,n.success)({tokens:s,bidiDate:c,numShape:d,culture:h})}(s,t,r);if(!(0,n.isSuccess)(d)||void 0===d.value)return d;const{tokens:h,bidiDate:g,numShape:m,culture:f}=d.value;if(g===a.BidiDate.Lunar)return(0,n.failure)((0,o.notImplemented)(["Lunar calendar"]));if(void 0!==f&&(f.localCalendarInput||f.tag===a.CultureTag.Gannen))return(0,n.failure)((0,o.notImplemented)(["parse date: possible local calendar"]));const v=function(e,t){const{localeInfo:r}=e;let i,a,s,l,u,c,d;for(let e=0;e<t.length;e+=1)if(k(t[e].sep)){i={start:e,end:e+1};break}if(void 0!==i){if(0!==i.start&&t[i.start-1].sep!==T.Space&&!F(r,t[i.start-1].sep))return(0,n.success)(void 0);for(;i.end<t.length&&k(t[i.end-1].sep);)i.end+=1;if(i.end<t.length&&t[i.end-1].sep===T.FracSec){i.end+=1;const e=t[i.end-1];if(e.tok.kind!==p.Number)return(0,n.success)(void 0);if(e.tok,c=e,i.end<t.length&&k(t[i.end-1].sep)){i.end+=1;const e=t[i.end-1];if(e.tok.kind!==p.AMPM)return(0,n.failure)((0,o.notImplemented)(["non-AM/PM after FracSec"]));e.tok,d=e}}else{const e=t[i.end-1];e.tok.kind===p.AMPM&&(e.tok,d=e)}const e=i.end-i.start-(void 0!==c?1:0)-(void 0!==d?1:0);for(let r=0;r<e;r+=1)if(t[i.start+r].tok.kind!==p.Number)return(0,n.failure)((0,o.notImplemented)(["non-number in H/M/S component"]));switch(e){case 0:return(0,n.assertFalse)("calc.numfmt.parseDateInternal: 0 time");case 1:(0,n.assertTrue)("calc.numfmt.parseDateInternal: 1 time => !fracSec",void 0===c),s=t[i.start];break;case 2:void 0===c?(s=t[i.start],l=t[i.start+1]):(l=t[i.start],u=t[i.start+1]);break;case 3:s=t[i.start],l=t[i.start+1],u=t[i.start+2];break;default:return(0,n.success)(void 0)}for(let e=i.end;e<t.length;e+=1)if(k(t[e].sep))return(0,n.success)(void 0);if(i.end===t.length){const e=t[i.end-1].sep;if(!(E(e)||void 0!==d&&e===T.FracSec))return(0,n.failure)((0,o.notImplemented)(["trailing sep after time"]))}else{const e=t[i.end-1].sep;if(!E(e)&&e!==T.Intl1St3)return(0,n.failure)((0,o.notImplemented)(["unexpected sep between time and date"]))}if(0===i.start)i.end!==t.length&&(a={start:i.end,end:t.length});else{if(i.end!==t.length)return(0,n.failure)((0,o.notImplemented)(["date part split around time part"]));a={start:0,end:i.start}}}else a={start:0,end:t.length};return(0,n.success)({time:i,date:a,hour:s,min:l,sec:u,fracSec:c,ampm:d})}(s,h);if(!(0,n.isSuccess)(v)||void 0===v.value)return v;const{time:b,date:y,hour:S,min:I,sec:x,fracSec:w,ampm:D}=v.value,_=function(e,t,r,i){const{config:a}=e,{localeInfo:s,dateCompatibility:l,datepack:u}=a;let c,d,h,g=!1;if(void 0!==i){const e=i.end-i.start;if(e<2||e>3)return(0,n.success)(void 0);const{tok:t,sep:a}=r[i.start],{tok:u,sep:m}=r[i.start+1],{tok:f,sep:v}=r[i.end-1];if((0,n.assertTrue)("calc.numfmt.parseDateInternal: all not AM/PM",t.kind!==p.AMPM&&u.kind!==p.AMPM&&f.kind!==p.AMPM),!E(v)&&!F(s,v))return(0,n.success)(void 0);const b=void 0!==function(e,t){for(let r=t.start;r<t.end;r+=1)if(e[r].tok.kind===p.Month)return r}(r,i);if(g=b,b)if(A(a)&&A(m))if(t.kind===p.Month){if(e>2)return(0,n.success)(void 0);d=t,(0,n.assertTrue)("calc.numfmt.parseDateInternal: yr not Month",f.kind!==p.Month),c=f}else{if(u.kind!==p.Month)return(0,n.success)(void 0);h=t,d=u,3===e&&((0,n.assertTrue)("calc.numfmt.parseDateInternal: yr not Month",f.kind!==p.Month),c=f)}else{if(3!==e)return(0,n.success)(void 0);if(E(m))return(0,n.success)(void 0);const r=s.longDateFormat?t:u,o=s.longDateFormat?u:t;if(r.kind!==p.Month)return(0,n.success)(void 0);(0,n.assertTrue)("calc.numfmt.parseDateInternal: Int1 dom & yr not Month",o.kind!==p.Month&&f.kind!==p.Month),h=o,d=r,c=f}else if((0,n.assertTrue)("calc.numfmt.parseDateInternal: all not Month",t.kind!==p.Month&&u.kind!==p.Month&&f.kind!==p.Month),2===e&&a===T.Date)switch(g=!0,s.dateOrder){case o.DateOrder.MDY:d=t,c=f;break;case o.DateOrder.YMD:P(t.value,1,12)?(d=t,h=f):(c=t,d=f);break;case o.DateOrder.DMY:P(f.value,1,12)?(h=t,d=f):(d=t,c=f);break;default:return(0,n.failure)((0,o.notImplemented)(["date parse date order"]))}else{if(e<3||a!==T.Date||m!==T.Date)return(0,n.success)(void 0);switch(t.value>999||!l&&t.value>99?o.DateOrder.YMD:s.dateOrder){case o.DateOrder.MDY:d=t,h=u,c=f;break;case o.DateOrder.YMD:c=t,d=u,h=f;break;case o.DateOrder.DMY:h=t,d=u,c=f;break;default:return(0,n.failure)((0,o.notImplemented)(["date parse date order"]))}}}let m=!1;if(s.dateOrder!==o.DateOrder.DMY&&void 0===h&&void 0!==d&&P(d.value,1,12)&&void 0!==c&&P(c.value,1,31)){const r=R(e,t);if(!(0,n.isSuccess)(r))return r;c.value<=u.daysPerMonth(d.value,r.value,l)&&(h=c,c=C(r.value,4,o.NumberShape.ASCII),m=!0)}return(0,n.success)({yr:c,mon:d,dom:h,useMonthName:g,usingCurrentYear:m})}(e,i,h,y);if(!(0,n.isSuccess)(_)||void 0===_.value)return _;const{yr:N,mon:K,dom:W,useMonthName:H,usingCurrentYear:G}=_.value,z=function(e,t,r,i,a,s,l,u,c,d){const{config:p}=e,{mathpack:h,datepack:g,dateCompatibility:m}=p;let f,v,b;if(void 0!==i||void 0!==a||void 0!==r){if((0,n.assertTrue)("calc.numfmt.parseDateInternal: dom || yr",void 0!==a||void 0!==r),(0,n.assertTrue)("calc.numfmt.parseDateInternal: mon",void 0!==i),v=i.value,!P(v,1,12))return(0,n.success)(void 0);if(void 0===r){const r=R(e,t);if(!(0,n.isSuccess)(r))return r;f=r.value}else f=P(r.value,0,99)?function(e){return 1900+(e<30?100:0)+e}(r.value):r.value;if(!P(f,1900,9999))return(0,n.success)(void 0);if(b=a?.value??1,!P(b,1,g.daysPerMonth(v,f,m)))return(0,n.success)(void 0)}else{const e=g.fromNum(p,h.zero,o.Rounding.RoundSec);(0,n.assertTrue)("calc.numfmt.parseDateInternal: zeroDtr fromNum",!1!==e),({yr:f,mon:v,dom:b}=e)}let y,S=0,C=0,T=0,k=0,F=o.Rounding.RoundSec,E=0;if(void 0!==s){if(s.value<0)return(0,n.failure)((0,o.notImplemented)(["negative hour"]));if(s.value>23){if(void 0!==y)return(0,n.success)(void 0);E=s.value,y=o.TimeDivision.Hour}else S=s.value}if(void 0!==l){if(l.value<0)return(0,n.failure)((0,o.notImplemented)(["negative minute"]));if(l.value>59){if(void 0!==y)return(0,n.success)(void 0);E=l.value,y=o.TimeDivision.Minute}else C=l.value}if(void 0!==u){if(u.value<0)return(0,n.failure)((0,o.notImplemented)(["negative second"]));if(u.value>59){if(void 0!==y)return(0,n.success)(void 0);E=u.value,y=o.TimeDivision.Second}else T=u.value}if(void 0!==c){if(c.value<0)return(0,n.failure)((0,o.notImplemented)(["negative fractional second"]));(0,n.assertTrue)("calc.numfmt.parseDateInternal: fracSec.digits",c.digits>=1&&c.digits<=3),F=c.digits,(0,n.assertTrue)("calc.numfmt.parseDateInternal: fracSec.value",c.value<(3===F?1001:2===F?100:10)),k=c.value}if(void 0!==d){if(void 0!==y||S>12)return(0,n.success)(void 0);d.am?12===S&&(S=0):S<12&&(S+=12)}const A=(0,o.dateTime)(f,v,b,S,C,T,1,k,F),I=void 0!==y?g.toNumWithDuration(p,A,y,E):g.toNum(p,A);return(0,o.isErrorOper)(I)?(0,n.success)(void 0):(0,n.success)({value:I,duration:y})}(e,i,N,K,W,S?.tok,I?.tok,x?.tok,w?.tok,D?.tok);if(!(0,n.isSuccess)(z)||void 0===z.value)return z;const{value:U,duration:V}=z.value,j=function(e,t,r,i,a,s,l,u,c,d,p,h,g){if(u)return c?.sep===T.TimeAlt?(0,n.success)(e.sysTimeFormat):void 0!==p?(0,n.success)(L(e,t,o.KnownFormat.SS0,o.KnownFormat.SS0_Tha)):void 0!==g?g!==o.TimeDivision.Hour||void 0!==h||r?(0,n.success)(o.KnownFormat.General):(0,n.success)(L(e,t,o.KnownFormat.AbsHMMSS,o.KnownFormat.AbsHMMSS_Tha)):r?(0,n.success)(L(e,t,o.KnownFormat.MDYHMS,o.KnownFormat.MDYHMS_Tha)):void 0!==h?(0,n.success)(L(e,t,void 0!==d?o.KnownFormat.HHMMSSAP:o.KnownFormat.HHMMAP,void 0!==d?o.KnownFormat.HHMMSS_Tha:o.KnownFormat.HHMM_Tha)):(0,n.success)(L(e,t,void 0!==d?o.KnownFormat.HHMMSS:o.KnownFormat.HHMM,void 0!==d?o.KnownFormat.HHMMSS_Tha:o.KnownFormat.HHMM_Tha));if((0,n.assertTrue)("calc.numfmt.parseDateInternal: !haveTime => haveDate",r),!s)return(0,n.success)(L(e,t,o.KnownFormat.MMDDYY,o.KnownFormat.MMDDYY_Tha));const m=void 0!==i&&!l,f=L(e,t,void 0===a?o.KnownFormat.MMMYY:m?o.KnownFormat.DDMMMYY:o.KnownFormat.DDMMM,void 0===a?o.KnownFormat.MMMYY_Tha:m?o.KnownFormat.DDMMMYY_Tha:o.KnownFormat.DDMMM_Tha);return e.isEastAsia&&f===o.KnownFormat.DDMMM&&r?(0,n.failure)((0,o.notImplemented)(["parseDateInternal ifmt for East Asian DDMMM"])):(0,n.success)(f)}(c,m,void 0!==y,N,W,H,G,void 0!==b,I,x,w,D,V);return(0,n.isSuccess)(j)?(0,n.success)({value:U,format:j.value}):j};const n=r(52123),o=r(85882),i=r(61177),a=r(62737),{codePointSlash:s,codePointSpace:l,codePointMinusSign:u,codePointColon:c}=n.codePoint,d={getTime:()=>(0,n.assertFalse)("calc.numfmt.parseDateInternal: default getTime")};var p;function h(e,t){return(0,n.assertTrue)("calc.numfmt.monthToken",P(e,1,12)),{kind:p.Month,value:e,bidiDate:t}}!function(e){e[e.Month=0]="Month",e[e.AMPM=1]="AMPM",e[e.Number=2]="Number"}(p||(p={}));const g=[...new Array(12)].map(((e,t)=>h(t+1))),m=e=>g[e],f=e=>h(e+1,a.BidiDate.English),v=e=>h(e+1,a.BidiDate.Lunar),[b,y]=[!0,!1].map((e=>({kind:p.AMPM,am:e}))),S=e=>0===e?b:y;function C(e,t,r){return(0,n.assertTrue)("calc.numfmt.numberToken",(0,n.isInteger)(e)&&P(e,-9999,9999)&&P(t,1,4)),{kind:p.Number,value:e,digits:t,numShape:r}}var T;!function(e){e[e.Nil=0]="Nil",e[e.Space=1]="Space",e[e.Date=2]="Date",e[e.Time=3]="Time",e[e.TimeAlt=4]="TimeAlt",e[e.FracSec=5]="FracSec",e[e.Intl1St3=6]="Intl1St3"}(T||(T={}));const k=e=>e===T.Time||e===T.TimeAlt,F=(e,t)=>e.lcid===o.LCID.Hungarian&&t===T.Date,E=e=>e<=T.Space,A=e=>e<=T.Date,I=["上午","下午"],x={[o.Country.FRN]:[["Jun",h(6)],["Jul",h(7)]],[o.Country.DUT]:[["Mrt",h(3)]],[o.Country.GER]:[["Mrz",h(3)]]},w=["محرم","صفر","ربيع الاول","ربيع الثاني","جمادى الاولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة"];function P(e,t,r){return e>=t&&e<=r}function R(e,t){const r=e.getTime(o.TimeGranularity.Year,t);if(!(0,n.isSuccess)(r))return r;const i=e.config,a=i.datepack.fromNum(i,r.value,o.Rounding.RoundSec);return(0,n.assertTrue)("calc.numfmt.parseDateInternal: current year fromNum",!1!==a),(0,n.success)(a.yr)}function D(e,t,r,n){return n+t.length<=r.length&&0===e.stringCompareCI(t,r.substring(n,n+t.length))}function _(e,t,r,o,i,a){const s=t.indexOf(" ",r);for(let l=0;l<o.length;l+=1){const u=o[l],c=(0,n.fastMin)(i,u.length);if(s>=0&&u.indexOf(" ")<0&&s-r>=c&&s-r<=u.length){const n=u.substring(0,s-r);if(D(e,n,t,r))return[a(l),r+n.length]}let d;for(let n=c;n<=u.length;n+=1){const o=u.substring(0,n);if(!D(e,o,t,r))break;d=r+o.length}if(void 0!==d)return[a(l),d]}}function N(e,t,r,n,o){for(let i=0;i<n.length;i+=1){const a=n[i];if(D(e,a,t,r))return[o(i),r+a.length]}}function O(e,t,r){const n=x[e.country];if(void 0!==n)for(const[o,i]of n)if(D(e,o,t,r))return[i,r+o.length];let i;if(e.isEastAsia){if(i=_(e,t,r,(0,o.getEnglishLocaleInfo)().monthNameLong,3,m),void 0!==i)return i}else if(e.isComplexScript){if(i=N(e,t,r,e.monthNameLong,m),void 0!==i)return i;if(i=N(e,t,r,e.monthNameShort,m),void 0!==i)return i;if(i=N(e,t,r,(0,o.getEnglishLocaleInfo)().monthNameLong,f),void 0!==i)return i;if(i=N(e,t,r,(0,o.getEnglishLocaleInfo)().monthNameShort,f),void 0!==i)return i}else if(i=_(e,t,r,e.monthNameLong,3,m),void 0!==i)return i;return(e.lcid&o.LCID.LANG)==(o.LCID.Arabic&o.LCID.LANG)&&(i=N(e,t,r,w,v),void 0!==i)?i:(i=_(e,t,r,e.ampmSymbols,1,S),void 0!==i?i:(i=_(e,t,r,(0,o.getEnglishLocaleInfo)().ampmSymbols,1,S),void 0!==i||(e.isChinaS||e.isChinaT)&&(i=_(e,t,r,I,1,S),void 0!==i)?i:[void 0,r]))}function M(e,t,r,i){let a=r;const s=t.charCodeAt(a)===u;let l,c,d;if(s&&(a+=1),i===T.FracSec){if([l,c]=(0,o.parseUint)(e,4,a+4<t.length?t.substring(0,a+4):t,a),d=c-a,(0,n.assertTrue)("calc.numfmt.parseDateInternal: 0 < digits <= 4",P(d,1,4)),4===d){let r;for(;c<t.length&&e.isNumeral(r=(0,n.stringCodePointAt)(t,c));)c+=(0,n.numCodeUnits)(r);l=Math.round(l/10),d=3}}else if([l,c]=(0,o.parseUint)(e,4,t,a),d=c-a,d>4||d>2&&l<100)return[void 0,r];if(0===d)return[void 0,r];const p=function(e,t){let r=o.NumberShape.ASCII;for(const i of(0,n.codePointIterator)(t)){const t=e.getNumberShape(i);t!==o.NumberShape.ASCII&&(r=t)}return r}(e,t.substring(a,c));return a=c,[C(s?-l:l,d,p),a]}function B(e,t,r,o){let i=T.Nil,a=r;if(t.charCodeAt(a)===l)for(i=T.Space;t.charCodeAt(a)===l;)a+=1;return null!=e.timeAltSeparator&&e.timeAltSeparator!==e.timeSeparator&&o===T.Time&&(0,n.stringStartsWith)(t,e.timeAltSeparator,a)?(i=T.TimeAlt,a+=e.timeAltSeparator.length):(0,n.stringStartsWith)(t,e.dateSeparator,a)?(i=T.Date,a+=e.dateSeparator.length):(0,n.stringStartsWith)(t,e.timeSeparator,a)?(i=T.Time,a+=e.timeSeparator.length):(0,n.stringStartsWith)(t,e.decimalSeparator,a)&&o===T.Time?(i=T.FracSec,a+=e.decimalSeparator.length):t.charCodeAt(a)===s||t.charCodeAt(a)===u?(i=T.Date,a+=1):t.charCodeAt(a)===c?(i=T.Time,a+=1):(0,n.stringStartsWith)(t,", ",a)&&(i=T.Intl1St3,a+=2),i===T.Space&&(" "===e.dateSeparator?i=T.Date:" "===e.timeSeparator?i=T.Time:" "===e.decimalSeparator&&o===T.Time&&(i=T.FracSec)),[i,a]}function L(e,t,r,n){return t===o.NumberShape.ASCII?r:t!==o.NumberShape.Lao&&t!==o.NumberShape.Thai||!e.isThai?(0,i.buildNumShapeDateTimeFormat)(e,t,r):n}},36297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderGeneral=g,t.renderValue=function(e,t,r){try{return(0,i.isHashesValue)(t)?(0,n.success)((0,i.hashesValue)(t.units,t.color)):(0,n.success)(function(e,{units:t,color:r,alignment:o,clip:a},u){const m=(0,i.memoizedRenderCallback)(u);let f,v;if(t.every(s))f=t;else if(m.renderWidth===1/0)f=t.map((t=>{if(t.kind!==i.FormattedUnitKind.General)return t;const r=g(e,t,h);return(0,n.assertTrue)("calc.numfmt.renderValue: false after format at defaultGenPrecision",!1!==r),(0,i.formattedUnitString)(r)}));else{let r,o,s="",l="";for(let e=0;e<t.length;e+=1){const a=t[e];switch(a.kind){case i.FormattedUnitKind.String:case i.FormattedUnitKind.Blank:void 0!==r?l+=a.str:s+=a.str;break;case i.FormattedUnitKind.General:(0,n.assertTrue)("calc.numfmt.renderValue: expected a single General unit",void 0===r),r=e,o=a;case i.FormattedUnitKind.Flexible:}}(0,n.assertTrue)("calc.numfmt.renderValue: genUnit",void 0!==r&&void 0!==o);const u=o,c=d(m,a,s,l,"0",u.builtin,(t=>g(e,u,(0,n.fastMin)(t,h))));if("number"==typeof c)throw new p((0,i.tooWide)(c));f=t.map((e=>e.kind===i.FormattedUnitKind.General?(0,i.formattedUnitString)(c):e))}if(f.every(l))v=f;else if(m.renderWidth===1/0||m.bestFit)v=f.filter(l);else{let e,t,r="",o="";for(let n=0;n<f.length;n+=1){const a=f[n];switch(a.kind){case i.FormattedUnitKind.String:case i.FormattedUnitKind.Blank:void 0!==e?o+=a.str:r+=a.str;break;case i.FormattedUnitKind.Flexible:e=n,t=a}}(0,n.assertTrue)("calc.numfmt.renderValue: lastFlexUnit",void 0!==e&&void 0!==t);const s=t;let l=d(m,i.Clip.All,r,o,t.str,!1,(e=>(0,n.repeat)(s.str,e)));if("number"==typeof l){if(0!=(l&a))throw new p((0,i.tooWide)(l));l=""}let u=l.length/s.str.length;u=(0,n.fastMax)(u-1,0);const c=(0,n.repeat)(s.str,u);v=f.map(((t,r)=>t.kind!==i.FormattedUnitKind.Flexible?t:(0,i.formattedUnitString)(r===e?c:"")))}if(a!==i.Clip.None){let e="";for(let t=0;t<v.length;t+=1)e+=v[t].str;const t=c(m,a,e);if(m.bestFit&&t===i.Clip.CellWidth)return(0,i.renderedValue)(v,r,o,a);if(void 0!==t)throw new p((0,i.tooWide)(t))}return(0,i.renderedValue)(v,r,o,a)}(e,t,r))}catch(e){return e instanceof p?(0,n.success)((0,i.hashesValue)(e.reason,t.color)):(0,n.failure)((0,n.javaScriptError)(e))}},t.renderHashesValue=function(e,t){try{let r=d((0,i.memoizedRenderCallback)(t),e.clip,"","","#",!1,(e=>(0,n.repeat)("#",e)));if("number"==typeof r)switch(r){case i.Clip.MaxChars:r=(0,n.repeat)("#",u);break;case i.Clip.CellWidth:r="";break;default:return(0,n.assertNever)("calc.numFmt.renderHashesValue",r)}const o=(0,i.formattedUnitString)(r);return(0,n.success)((0,i.renderedValue)([o],e.color,e.alignment,e.clip))}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i=r(62737),a=r(93542),s=e=>e.kind!==i.FormattedUnitKind.General,l=e=>e.kind!==i.FormattedUnitKind.Flexible,u=255;function c(e,t,r){return 0!=(t&i.Clip.MaxChars)&&r.length>u?i.Clip.MaxChars:0!=(t&i.Clip.CellWidth)&&e.renderWidth<1/0&&e.getTextWidth(r)>e.renderWidth?i.Clip.CellWidth:void 0}function d(e,t,r,o,i,a,s){const l=(0,n.fastMax)(0,u-r.length-o.length);let d=0===i.length?l:Math.floor(l/i.length);if(e.renderWidth!==1/0){const t=e.getTextWidth(i);t>0&&(d=(0,n.fastMin)(d,(0,n.fastMax)(Math.floor((e.renderWidth-e.getTextWidth(r+o))/t),0)))}const p=s(d);if(e.bestFit&&a&&(!1===p||p.indexOf("E")>=0)){let e=1,t=p;for(;(!1===t||t.indexOf("E")>=0)&&d+e<=h;)t=s(d+e),e++;if(!1!==t)return t}let g;if(!1===p||void 0===(g=c(e,t,r+p+o))){let i=p;for(let n=d+1;n<d+50;n+=1){const a=s(n);if(!1===a)continue;if(a===i)break;const l=c(e,t,r+a+o);if(void 0!==l){!1===i&&(i=l);break}i=a}return(0,n.assertTrue)("calc.numfmt.renderValue: false after upwards search",!1!==i),i}let m=g;for(let n=d-1;n>=0;n-=1){const i=s(n);if(!1===i)break;const a=c(e,t,r+i+o);if(void 0===a)return i;m=a}return m}const p=(0,o.createFailureErrorClass)("RenderHashesError"),h=11;function g(e,t,r){const o=e.fromNumber(t.num),i=t.includeSign&&e.cond(o)<0?"-":"";let s=i+e.formatGeneral(t,e.abs(o),r-i.length);if("-0"===s&&(s="0"),s.length>r)return!1;const l=s.indexOf("E");if(l>=0){const e=(0,a.convertNumberShape)(t,s.substring(0,l),t.expNumberShape),r=s.substring(l,l+2),o=(0,a.convertDigitsShape)(s.substring(l+2),t.expNumberShape);return(0,n.assertTrue)("calc.numfmt.render: formatGeneral ePart","E-"===r||"E+"===r),e+r+o}return(0,a.convertNumberShape)(t,s,t.numberShape)}},94654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RibbonFormat=void 0,t.getRibbonFormat=function(e,t,r){const s=(r?.culture?.calendar??n.Calendar.Gregorian)===n.Calendar.Gregorian;switch(t){case i.GalleryGeneral:case i.KeyboardGeneral:return(0,o.getKnownFormat)(e,n.KnownFormat.General);case i.GalleryNumber:return(0,o.buildNumberFormat)(e,!1,1,e.currencyDecimals);case i.KeyboardNumber:return(0,o.buildNumberFormat)(e,!0,4,e.currencyDecimals);case i.GalleryCurrency:{const t={...e,currencyFormat:e.currencyFormat===n.CurrencyFormat.Paren?n.CurrencyFormat.Lead:e.currencyFormat};return(0,o.buildCurrencyFormat)(t,!1,e.currencyDecimals,!0,!1,void 0,!0)}case i.KeyboardCurrency:return(0,o.buildCurrencyFormat)(e,!0,e.currencyDecimals,!0,!1);case i.GalleryAccounting:case i.ButtonAccounting:return(0,o.buildCurrencyFormat)(e,!1,e.currencyDecimals,!0,!0);case i.GalleryShortDate:return s?(0,o.getKnownFormat)(e,n.KnownFormat.MMDDYY):(0,o.buildSingle)(e,n.PictureSingle.Month,n.PictureSingle.DateSep,n.PictureSingle.Day,n.PictureSingle.Sep,n.PictureSingle.Text);case i.GalleryLongDate:return s?a(e,"x-sysdate")+(0,o.buildSingle)(e,n.PictureSingle.Day,n.PictureSingle.Day,n.PictureSingle.Day,n.PictureSingle.Day,", ",n.PictureSingle.Month,n.PictureSingle.Month,n.PictureSingle.Month,n.PictureSingle.Month," ",n.PictureSingle.Day,n.PictureSingle.Day,", ",n.PictureSingle.Year,n.PictureSingle.Year,n.PictureSingle.Year,n.PictureSingle.Year):(0,o.buildSingle)(e,n.PictureSingle.Month,n.PictureSingle.DateSep,n.PictureSingle.Day,n.PictureSingle.DateSep,n.PictureSingle.Year,n.PictureSingle.Year,n.PictureSingle.Sep,n.PictureSingle.Text);case i.GalleryTime:return a(e,"x-systime")+(0,o.buildSingle)(e,n.PictureSingle.Hour,n.PictureSingle.Colon,n.PictureSingle.Minute,n.PictureSingle.Minute,n.PictureSingle.Colon,n.PictureSingle.Second,n.PictureSingle.Second," ")+(0,o.getSpecial)(e,n.PictureSpecial.AP1);case i.KeyboardDate:return a(e,"en-US")+(0,o.buildSingle)(e,n.PictureSingle.Day,"-",n.PictureSingle.Month,n.PictureSingle.Month,n.PictureSingle.Month,"-",n.PictureSingle.Year,n.PictureSingle.Year,n.PictureSingle.Sep,n.PictureSingle.Text);case i.KeyboardTime:return a(e,"en-US")+(0,o.buildSingle)(e,n.PictureSingle.Hour,n.PictureSingle.Colon,n.PictureSingle.Minute,n.PictureSingle.Minute," ",(0,o.getSpecial)(e,n.PictureSpecial.AP1),n.PictureSingle.Sep,n.PictureSingle.Text);case i.GalleryPercentage:return(0,o.buildPercentFormat)(e,e.currencyDecimals);case i.ButtonPercentage:case i.KeyboardPercentage:return(0,o.getKnownFormat)(e,n.KnownFormat.Pct0);case i.GalleryFraction:return(0,o.getKnownFormat)(e,n.KnownFormat.Fract);case i.GalleryScientific:case i.KeyboardScientific:return(0,o.buildScientificFormat)(e,1,e.currencyDecimals,2);case i.GalleryText:return(0,o.getKnownFormat)(e,n.KnownFormat.Text);case i.ButtonComma:return(0,o.buildCurrencyFormat)(e,!1,e.currencyDecimals,!1,!0)}};const n=r(85882),o=r(61177);var i;function a(e,t){return(0,o.buildSingle)(e,n.PictureSingle.ColorStart,"$-",t,n.PictureSingle.ColorEnd)}!function(e){e.GalleryGeneral="GalleryGeneral",e.GalleryNumber="GalleryNumber",e.GalleryCurrency="GalleryCurrency",e.GalleryAccounting="GalleryAccounting",e.GalleryShortDate="GalleryShortDate",e.GalleryLongDate="GalleryLongDate",e.GalleryTime="GalleryTime",e.GalleryPercentage="GalleryPercentage",e.GalleryFraction="GalleryFraction",e.GalleryScientific="GalleryScientific",e.GalleryText="GalleryText",e.ButtonComma="ButtonComma",e.ButtonPercentage="ButtonPercentage",e.ButtonAccounting="ButtonAccounting",e.KeyboardGeneral="KeyboardGeneral",e.KeyboardNumber="KeyboardNumber",e.KeyboardCurrency="KeyboardCurrency",e.KeyboardDate="KeyboardDate",e.KeyboardTime="KeyboardTime",e.KeyboardPercentage="KeyboardPercentage",e.KeyboardScientific="KeyboardScientific"}(i||(t.RibbonFormat=i={}))},62737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NumberFormatSource=t.EditKind=t.renderInfiniteWidth=t.renderedValue=t.formattedValue=t.FormattedUnitKind=t.Clip=t.GetTimeKind=t.Alignment=t.NamedColor=t.FormatCurrency=t.CultureTag=t.BidiDate=t.FormatValueType=t.FormatLocKind=t.aggregationError=t.fractionOverflow=t.dateOverflow=t.noFormatPart=t.ReasonKind=t.FormatReasonKind=void 0,t.notValueString=function(e){return{kind:t.ReasonKind.NotValueString,message:e}},t.notFormatString=function(e){return{kind:t.ReasonKind.NotFormatString,message:e}},t.tooWide=function(e){return{kind:t.ReasonKind.TooWide,clip:e}},t.previousFormatFailure=function(e){return{kind:t.ReasonKind.PreviousFormatFailure,format:e}},t.formatLocKnownFormat=function(e,t){return{kind:a.KnownFormat,document:e,knownFormat:t}},t.formatLocIFormat=function(e,t){return{kind:a.IFormat,document:e,iformat:t}},t.isSystemCultureTag=function(e){return e===u.SysDate||e===u.SysTime},t.isFormatCultureEqual=function(e,t){return e.culture===t.culture&&e.numberShape===t.numberShape&&e.nationalNumberInput===t.nationalNumberInput&&e.calendar===t.calendar&&e.localCalendarInput===t.localCalendarInput&&e.tag===t.tag},t.formattedUnitGeneral=function(e,t,r,n,o,i){return{kind:m.General,num:e,decimalSeparator:t,includeSign:r,numberShape:n,expNumberShape:o,builtin:i}},t.formattedUnitString=function(e){return{kind:m.String,str:e}},t.formattedUnitBlank=function(e){return{kind:m.Blank,str:e}},t.formattedUnitFlexible=function(e){return{kind:m.Flexible,str:e}},t.hashesValue=function(e,t){return b(e,t,p.Center,g.All)},t.isHashesValue=function(e){return!Array.isArray(e.units)},t.renderCallback=y,t.memoizedRenderCallback=function(e){const t=(0,n.makeStringMap)();return y(e.renderWidth,(r=>{if(null!=t[r])return t[r];const n=e.getTextWidth(r);return t[r]=n,n}),e.bestFit)},t.renderedValueToString=function(e){let t="";for(const r of e.units)switch(r.kind){case m.String:t+=r.str;break;case m.Blank:for(let e=0;e<r.str.length;e+=1)t+=" "}return t},t.formulaEdit=function(e){return{kind:f.Formula,fmla:e}},t.stringEdit=function(e,t){return{kind:f.String,value:e,tick:t}},t.numberEdit=function(e,t){return{kind:f.Number,value:e,format:t}},t.otherEdit=function(e){return{kind:f.Other,value:e}},t.createFormatGlobals=function(e,t){return{config:e,getTime:t}},t.evalFormatLocalsGrid=function(e,t){const r=(0,o.sheetGridRangeAnchor)(e.range);return{config:t??void 0,lexicalSource:e,originGridCell:(0,n.success)(r.range),originSheet:(0,n.success)(r.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!1}};const n=r(52123),o=r(85882);var i,a,s,l,u,c,d,p,h,g,m,f,v;function b(e,t,r,n){return{units:e,color:t,alignment:r,clip:n}}function y(e,t,r){return{renderWidth:e,bestFit:r,getTextWidth:t}}!function(e){e.NotValueString="NotValueString",e.NotFormatString="NotFormatString",e.NoFormatPart="NoFormatPart",e.TooWide="TooWide",e.DateOverflow="DateOverflow",e.FractionOverflow="FractionOverflow",e.AggregationError="AggregationError",e.PreviousFormatFailure="PreviousFormatFailure"}(i||(t.FormatReasonKind=i={})),t.ReasonKind={...o.LangReasonKind,...i},t.noFormatPart={kind:t.ReasonKind.NoFormatPart},t.dateOverflow={kind:t.ReasonKind.DateOverflow},t.fractionOverflow={kind:t.ReasonKind.FractionOverflow},t.aggregationError={kind:t.ReasonKind.AggregationError},function(e){e.FormatString="FormatString",e.KnownFormat="KnownFormat",e.IFormat="IFormat"}(a||(t.FormatLocKind=a={})),function(e){e.General="General",e.Number="Number",e.Currency="Currency",e.Accounting="Accounting",e.Date="Date",e.Time="Time",e.Percentage="Percentage",e.Fraction="Fraction",e.Scientific="Scientific",e.Text="Text",e.Custom="Custom"}(s||(t.FormatValueType=s={})),function(e){e.English="English",e.Lunar="Lunar"}(l||(t.BidiDate=l={})),function(e){e.SysDate="sysdate",e.SysTime="systime",e.Euro1="euro1",e.Euro2="euro2",e.GenLower="genlower",e.GenUpper="genupper",e.NomLower="nomlower",e.Bitcoin1="xbt1",e.Bitcoin2="xbt2",e.Gannen="gannen"}(u||(t.CultureTag=u={})),function(e){e[e.LocaleInfo=0]="LocaleInfo"}(c||(t.FormatCurrency=c={})),function(e){e.Black="Black",e.White="White",e.Red="Red",e.Green="Green",e.Blue="Blue",e.Yellow="Yellow",e.Magenta="Magenta",e.Cyan="Cyan"}(d||(t.NamedColor=d={})),function(e){e.Left="Left",e.Center="Center",e.Right="Right"}(p||(t.Alignment=p={})),function(e){e.ValueCell="ValueCell",e.Volatile="Volatile",e.NonVolatile="NonVolatile"}(h||(t.GetTimeKind=h={})),function(e){e[e.MaxChars=2]="MaxChars",e[e.CellWidth=4]="CellWidth",e[e.None=0]="None",e[e.All=6]="All"}(g||(t.Clip=g={})),function(e){e.String="String",e.Blank="Blank",e.General="General",e.Flexible="Flexible"}(m||(t.FormattedUnitKind=m={})),t.formattedValue=b,t.renderedValue=b,t.renderInfiniteWidth={renderWidth:1/0,bestFit:!1,getTextWidth:e=>e.length},function(e){e.Formula="Formula",e.String="String",e.Number="Number",e.Other="Other"}(f||(t.EditKind=f={})),function(e){e.Builtin="Builtin",e.CustomString="CustomString",e.CustomBytecode="CustomBytecode",e.System="System"}(v||(t.NumberFormatSource=v={}))},93542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertDigitsShape=c,t.convertNumberShape=function({decimalSeparator:e},t,r){if(r===o.NumberShape.ASCII)return t;switch(r){case o.NumberShape.ArabicIndic:case o.NumberShape.ExtendedArabicIndic:case o.NumberShape.Devanagari:case o.NumberShape.Bengali:case o.NumberShape.Gurmukhi:case o.NumberShape.Gujarati:case o.NumberShape.Oriya:case o.NumberShape.Tamil:case o.NumberShape.Telugu:case o.NumberShape.Kannada:case o.NumberShape.Malayalam:case o.NumberShape.Thai:case o.NumberShape.Lao:case o.NumberShape.Tibetan:case o.NumberShape.Myanmar:case o.NumberShape.Ethiopic:case o.NumberShape.Khmer:case o.NumberShape.Mongolian:{const n=t.indexOf(e);return c(t.substring(0,n<0?void 0:n),r)+(n<0?"":e)+(n<0?"":c(t.substring(n+e.length),r))}case o.NumberShape.ChineseTrad1:case o.NumberShape.ChineseTrad2:case o.NumberShape.ChineseTrad3:case o.NumberShape.ChineseSimp1:case o.NumberShape.ChineseSimp2:case o.NumberShape.ChineseSimp3:case o.NumberShape.Japanese1:case o.NumberShape.Japanese2:case o.NumberShape.Japanese3:case o.NumberShape.Korean1:case o.NumberShape.Korean2:case o.NumberShape.Korean3:case o.NumberShape.Korean4:{const o=u[r],a="ChineseSimp"===o.langId||"ChineseTrad"===o.langId,l=2===o.dbnum||"Korean"===o.langId&&(1===o.dbnum||4===o.dbnum),c=t.indexOf(e);let g=0,m=c<0?t.length:c,f="";if(m>12){if(m>16)for(;12<m;m--,g++)f+=d(o,t.charCodeAt(g));else{let e=16,r=p.Thousand,n=!1;do{if(e>m){e--,r--;continue}const u=t.charCodeAt(g);u!==i?((a||l||u>s||e%4==1)&&(a&&n&&(f+=d(o,i),n=!1),f+=d(o,u)),r>=p.Ten&&(f+=h(o,r))):n=!0,e--,r--,m--,g++}while(e>12)}f+=h(o,p.Trillion)}{let e=12;do{let r=p.Thousand,n=!1,u=!1;do{if(e>m){e--,r--;continue}const c=t.charCodeAt(g);c!==i||0===f.length?((a||l||c>s||e%4==1)&&(a&&u&&(f+=d(o,i),u=!1),f+=d(o,c)),r>=p.Ten&&(f+=h(o,r)),n=!0):u=!0,e--,r--,m--,g++}while(e%4);n&&m/4!=0&&(8===m?f+=h(o,p.HundredMillion):4===m&&(f+=h(o,p.TenThousand)))}while(m>0)}if(g!==t.length)for((0,n.assertTrue)("calc.numfmt.convertNumberShape",c>=0&&g===c),f+=e,g=c+e.length;g<t.length;g++)f+=d(o,t.charCodeAt(g));return f}default:return(0,n.assertNever)("calc.numfmt.convertNumberShape",r)}},t.insertCommas=function(e,t,r){if(""===t)return"";const o=(0,n.countCodePoints)(t,0,t.length);let i="";for(let a=0,s=0;a<t.length;){const l=(0,n.stringCodePointAt)(t,a),u=(0,n.numCodeUnits)(l);i+=t.substring(a,a+u),a+=u,s+=1,e.isThousandsPosition(r+(o-s))&&(i+=e.thousandsSeparator)}return i};const n=r(52123),o=r(85882),{codePointDigitZero:i,codePointDigitNine:a,codePointDigitOne:s}=n.codePoint,l={[o.NumberShape.ArabicIndic]:{zero:1632,one:1633},[o.NumberShape.ExtendedArabicIndic]:{zero:1776,one:1777},[o.NumberShape.Devanagari]:{zero:2406,one:2407},[o.NumberShape.Bengali]:{zero:2534,one:2535},[o.NumberShape.Gurmukhi]:{zero:2662,one:2663},[o.NumberShape.Gujarati]:{zero:2790,one:2791},[o.NumberShape.Oriya]:{zero:2918,one:2919},[o.NumberShape.Tamil]:{zero:48,one:3047},[o.NumberShape.Telugu]:{zero:3174,one:3175},[o.NumberShape.Kannada]:{zero:3302,one:3303},[o.NumberShape.Malayalam]:{zero:3430,one:3431},[o.NumberShape.Thai]:{zero:3664,one:3665},[o.NumberShape.Lao]:{zero:3792,one:3793},[o.NumberShape.Tibetan]:{zero:3872,one:3873},[o.NumberShape.Myanmar]:{zero:4160,one:4161},[o.NumberShape.Ethiopic]:{zero:48,one:4969},[o.NumberShape.Khmer]:{zero:6112,one:6113},[o.NumberShape.Mongolian]:{zero:6160,one:6161}},u={[o.NumberShape.Japanese1]:{digits:[12295,19968,20108,19977,22235,20116,20845,19971,20843,20061],ten:21313,hundred:30334,thousand:21315,tenThousand:19975,hundredMillion:20740,trillion:20806,langId:"Japanese",dbnum:1},[o.NumberShape.Japanese2]:{digits:[12295,22769,24336,21442,22235,20237,20845,19971,20843,20061],ten:25342,hundred:30334,thousand:38433,tenThousand:33836,hundredMillion:20740,trillion:20806,langId:"Japanese",dbnum:2},[o.NumberShape.Japanese3]:{digits:[65296,65297,65298,65299,65300,65301,65302,65303,65304,65305],ten:21313,hundred:30334,thousand:21315,tenThousand:19975,hundredMillion:20740,trillion:20806,langId:"Japanese",dbnum:3},[o.NumberShape.Korean1]:{digits:[65296,19968,20108,19977,22235,20116,63953,19971,20843,20061],ten:21313,hundred:30334,thousand:21315,tenThousand:19975,hundredMillion:20740,trillion:20806,langId:"Korean",dbnum:1},[o.NumberShape.Korean2]:{digits:[63922,22777,36019,63851,22235,20237,63953,19971,20843,20061],ten:63859,hundred:30334,thousand:38433,tenThousand:33836,hundredMillion:20740,trillion:20806,langId:"Korean",dbnum:2},[o.NumberShape.Korean3]:{digits:[65296,65297,65298,65299,65300,65301,65302,65303,65304,65305],ten:21313,hundred:30334,thousand:21315,tenThousand:19975,hundredMillion:20740,trillion:20806,langId:"Korean",dbnum:3},[o.NumberShape.Korean4]:{digits:[50689,51068,51060,49340,49324,50724,50977,52832,54036,44396],ten:49901,hundred:48177,thousand:52380,tenThousand:47564,hundredMillion:50613,trillion:51312,langId:"Korean",dbnum:4},[o.NumberShape.ChineseSimp1]:{digits:[9675,19968,20108,19977,22235,20116,20845,19971,20843,20061],ten:21313,hundred:30334,thousand:21315,tenThousand:19975,hundredMillion:20159,trillion:20806,langId:"ChineseSimp",dbnum:1},[o.NumberShape.ChineseSimp2]:{digits:[38646,22777,36144,21441,32902,20237,38470,26578,25420,29590],ten:25342,hundred:20336,thousand:20191,tenThousand:19975,hundredMillion:20159,trillion:20806,langId:"ChineseSimp",dbnum:2},[o.NumberShape.ChineseSimp3]:{digits:[65296,65297,65298,65299,65300,65301,65302,65303,65304,65305],ten:21313,hundred:30334,thousand:21315,tenThousand:19975,hundredMillion:20159,trillion:20806,langId:"ChineseSimp",dbnum:3},[o.NumberShape.ChineseTrad1]:{digits:[9675,19968,20108,19977,22235,20116,20845,19971,20843,20061],ten:21313,hundred:30334,thousand:21315,tenThousand:33836,hundredMillion:20740,trillion:20806,langId:"ChineseTrad",dbnum:1},[o.NumberShape.ChineseTrad2]:{digits:[38646,22777,36019,21443,32902,20237,38520,26578,25420,29590],ten:25342,hundred:20336,thousand:20191,tenThousand:33836,hundredMillion:20740,trillion:20806,langId:"ChineseTrad",dbnum:2},[o.NumberShape.ChineseTrad3]:{digits:[65296,65297,65298,65299,65300,65301,65302,65303,65304,65305],ten:21313,hundred:30334,thousand:21315,tenThousand:33836,hundredMillion:20740,trillion:20806,langId:"ChineseTrad",dbnum:3}};function c(e,t){if(t===o.NumberShape.ASCII)return e;switch(t){case o.NumberShape.ArabicIndic:case o.NumberShape.ExtendedArabicIndic:case o.NumberShape.Devanagari:case o.NumberShape.Bengali:case o.NumberShape.Gurmukhi:case o.NumberShape.Gujarati:case o.NumberShape.Oriya:case o.NumberShape.Tamil:case o.NumberShape.Telugu:case o.NumberShape.Kannada:case o.NumberShape.Malayalam:case o.NumberShape.Thai:case o.NumberShape.Lao:case o.NumberShape.Tibetan:case o.NumberShape.Myanmar:case o.NumberShape.Ethiopic:case o.NumberShape.Khmer:case o.NumberShape.Mongolian:{let r="";const o=l[t];for(let t=0;t<e.length;t+=1){const l=e.charCodeAt(t);(0,n.assertTrue)("calc.numfmt.convertDigitsShape",i<=l&&l<=a),r+=l===i?(0,n.stringFromCodePoint)(o.zero):(0,n.stringFromCodePoint)(o.one+(l-s))}return r}case o.NumberShape.ChineseTrad1:case o.NumberShape.ChineseTrad2:case o.NumberShape.ChineseTrad3:case o.NumberShape.ChineseSimp1:case o.NumberShape.ChineseSimp2:case o.NumberShape.ChineseSimp3:case o.NumberShape.Japanese1:case o.NumberShape.Japanese2:case o.NumberShape.Japanese3:case o.NumberShape.Korean1:case o.NumberShape.Korean2:case o.NumberShape.Korean3:case o.NumberShape.Korean4:{let r="";const n=u[t];for(let t=0;t<e.length;t+=1)r+=d(n,e.charCodeAt(t));return r}}}function d(e,t){return(0,n.assertTrue)("calc.numfmt.ideographicDigit",i<=t&&t<=a),(0,n.stringFromCodePoint)(e.digits[t-i])}var p;function h(e,t){switch(t){case p.Ten:return(0,n.stringFromCodePoint)(e.ten);case p.Hundred:return(0,n.stringFromCodePoint)(e.hundred);case p.Thousand:return(0,n.stringFromCodePoint)(e.thousand);case p.TenThousand:return(0,n.stringFromCodePoint)(e.tenThousand);case p.HundredMillion:return(0,n.stringFromCodePoint)(e.hundredMillion);case p.Trillion:return(0,n.stringFromCodePoint)(e.trillion);default:return(0,n.assertFalse)("calc.numfmt.ideographicRank")}}!function(e){e[e.Ten=10]="Ten",e[e.Hundred=11]="Hundred",e[e.Thousand=12]="Thousand",e[e.TenThousand=13]="TenThousand",e[e.HundredMillion=14]="HundredMillion",e[e.Trillion=15]="Trillion"}(p||(p={}))},46993:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initUtilGlobals=function(e){return{config:e.config,getKnownFormat:e.getKnownFormat?.bind(e)??a.getKnownFormat,getIformat:e.getIformat?.bind(e)??a.getIformat,getFormatString:e.getFormatString?.bind(e)??a.getFormatString}},t.getFormatString=function(e,t,r,o,i){const a=t.getFormatString(r,o);return(0,n.isSuccess)(a)?void 0!==a.value?t.getIformat(r,a.value):e.createFormat(o,i):a},t.applyFormatAndRenderToString=function(e,t,r){const a=(0,o.isStringOper)(r)?i.Clip.None:i.Clip.All,s=t.apply(r,i.Alignment.Right,a,!0);if(!(0,n.isSuccess)(s))return s;const l=e.renderValue(s.value,i.renderInfiniteWidth);return(0,n.isSuccess)(l)?(0,i.isHashesValue)(l.value)?(0,n.success)(l.value.units):(0,n.success)((0,i.renderedValueToString)(l.value)):l};const n=r(52123),o=r(85882),i=r(62737),a={getKnownFormat:()=>(0,n.assertFalse)("calc.numfmt: default getKnownFormat"),getIformat:()=>(0,n.assertFalse)("calc.numfmt: default getIformat"),getFormatString:()=>(0,n.assertFalse)("calc.numfmt: default getFormatString")}},87660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValueEditOperKind=function(e){return e.value.kind},t.applyValueEdit=function(e,t,r,l){let u=r;if(l.kind===s.EditKind.Number&&l.format!==o.KnownFormat.General){const o=l.format,s="string"==typeof o?o:(0,a.getKnownFormat)(t,o),c="string"!=typeof o,d=e.createFormat(s,c);if(!(0,n.isSuccess)(d))return d;const p=d.value;(0,i.shouldInstallFormat)(p,r)&&(u=p)}return e.applyFormat(u,l.value,!0)},t.toXLNumber=function(e,t,r){const o=t.parseGeneral(r,!1,!0,s.GetTimeKind.NonVolatile);return(0,n.isSuccess)(o)?null==o.value?(0,n.failure)(null):(0,n.success)(e.toNumber(o.value.value)):o};const n=r(52123),o=r(85882),i=r(44953),a=r(61177),s=r(62737)},63114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PackageName=void 0,t.PackageName="excel-online-calc-recalc"},29049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sumproduct=void 0,t.sum=function(e,t){const r=e.dereferenceAllOpers(t);return b(e,r)},t.sumsq=function(e,t){const r=e.dereferenceAllOpers(t),n=ae(d),o=(0,a.reduceDerefOpers)(e,h(e.mathpack.add),n,r);return null==o?e.mathpack.zero:o},t.sumif=C,t.sumifs=function(e,t){if(3===t.length)return C(e,[t[1],t[2],t[0]]);const r=T(e,t);return(0,n.isSuccess)(r)?v(e,[r.value]):r.reason},t.product=function(e,t){const r=e.dereferenceAllOpers(t);return k(e,r)},t.average=function(e,t){const r=e.dereferenceAllOpers(t);return I(e,r)},t.averageif=w,t.averageifs=function(e,t){if(3===t.length)return w(e,[t[1],t[2],t[0]]);const r=T(e,t,void 0,!0);return(0,n.isSuccess)(r)?A(e,[r.value]):r.reason},t.averagea=function(e,t){const r=e.dereferenceAllOpers(t);return x(e,r)},t.concat=function(e,t){const r=e.dereferenceAllOpers(t);return P(e,[],!0,t,r)},t.textjoin=function(e,t){const[r,i,...l]=t,u=[];if(!(0,o.isMissingOper)(r)){if((0,o.isRangeOper)(r)&&r.ranges.length>1)return o.valueErrorOper;const t=(e,t)=>e.coerceOper(t,o.OperKind.String),i=(0,a.reduceDerefOpers)(e,Q(u,s.assertString),t,e.dereferenceAllOpers([r]));if(void 0!==i&&(0,o.isErrorOper)(i))return i;(0,n.assertTrue)("calc.funcs.textjoin: expected string from reduce",void 0!==i&&(0,o.isStringOper)(i))}return P(e,u,(0,o.isMissingOper)(i)||i.value,l,e.dereferenceAllOpers(l))},t.count=function(e,t){const r=e.dereferenceAllOpers(t);return D(e,r)},t.countblank=function(e,t){const r=t[0];if(!(0,o.isSheetIndex)(r.sheets)||1!==r.ranges.length)return o.valueErrorOper;const n=e.dereferenceAllOpers(t);return _(e,n)},t.counta=function(e,t){const r=e.dereferenceAllOpers(t);return N(e,r)},t.countif=M,t.countifs=function(e,t){if(2===t.length)return M(e,t);const r=T(e,t,!0);return(0,n.isSuccess)(r)?O(e,[r.value]):r.reason},t.max=function(e,t){const r=e.dereferenceAllOpers(t);return W(e,r)},t.min=function(e,t){const r=e.dereferenceAllOpers(t);return H(e,r)},t.maxa=function(e,t){const r=e.dereferenceAllOpers(t);return G(e,r)},t.mina=function(e,t){const r=e.dereferenceAllOpers(t);return z(e,r)},t.maxifs=function(e,t){const r=T(e,t);return(0,n.isSuccess)(r)?W(e,[r.value]):r.reason},t.minifs=function(e,t){const r=T(e,t);return(0,n.isSuccess)(r)?H(e,[r.value]):r.reason},t.and=function(e,t){const r=e.dereferenceAllOpers(t);return j(e,r)},t.or=function(e,t){const r=e.dereferenceAllOpers(t);return q(e,r)},t.xor=function(e,t){const r=e.dereferenceAllOpers(t);return $(e,r)},t.large=function(e,t){const[r,n]=e.dereferenceAllOpers(t);return Y(e,r,n)},t.small=function(e,t){const[r,n]=e.dereferenceAllOpers(t);return J(e,r,n)},t.percentile=function(e,t){const[r,n]=e.dereferenceAllOpers(t);return ee(e,r,n)},t.percentile_exc=function(e,t){const[r,n]=e.dereferenceAllOpers(t);return te(e,r,n)},t.quartile=function(e,t){const[r,n]=e.dereferenceAllOpers(t);return ne(e,r,n)},t.quartile_exc=function(e,t){const[r,n]=e.dereferenceAllOpers(t);return oe(e,r,n)},t.median=function(e,t){const r=e.dereferenceAllOpers(t);return ie(e,r)},t.trimmean=function(e,t){const[r,i]=e.dereferenceAllOpers(t);let l=[];const u=(0,a.reduceDerefOpers)(e,Q(l,s.assertNumber),d,[r]);if(null==u)return o.numErrorOper;if((0,o.isErrorOper)(u))return u;const c=e.mathpack;if(c.cond(i)<0)return o.numErrorOper;if(c.cond2(i,c.one)>=0)return o.numErrorOper;l=l.sort(c.cond2);const p=c.lfix((0,s.assertNumber)(c.div((0,s.assertNumber)(c.mul(c.fromNumber(l.length),i)),c.fromNumber(2))));(0,n.assertTrue)("calc.funcs.trimmean",p+p<l.length);const g=l[p],m=l[l.length-1-p];let f=0,v=0;const b=(0,a.reduceDerefOpers)(e,h(e.mathpack.add),((e,t)=>{const r=d(0,t);if(void 0===r)return r;(0,n.assertTrue)("calc.funcs.trimmean: unexpected error",(0,o.isNumberOper)(r));const i=e.mathpack;if(i.cond2(r,g)<0)f+=1;else{if(!(i.cond2(r,m)>0))return r;v+=1}}),[r]);(0,n.assertTrue)("calc.funcs.trimmean: found no elements",void 0!==b&&(0,o.isNumberOper)(b)),(0,n.assertTrue)("calc.funcs.trimmean: trimmed too many",f<=p&&v<=p);let y=b;for(;f<p;f+=1){const e=c.sub(y,g);if((0,o.isErrorOper)(e))return e;y=e}for(;v<p;v+=1){const e=c.sub(y,m);if((0,o.isErrorOper)(e))return e;y=e}return c.div(y,c.fromNumber(l.length-p-p))},t.stdev=function(e,t){const r=e.dereferenceAllOpers(t);return ve(e,r)},t.stdevp=function(e,t){const r=e.dereferenceAllOpers(t);return be(e,r)},t.stdeva=function(e,t){const r=e.dereferenceAllOpers(t);return ye(e,r)},t.stdevpa=function(e,t){const r=e.dereferenceAllOpers(t);return Se(e,r)},t.var_=function(e,t){const r=e.dereferenceAllOpers(t);return pe(e,r)},t.varp=function(e,t){const r=e.dereferenceAllOpers(t);return he(e,r)},t.vara=function(e,t){const r=e.dereferenceAllOpers(t);return ge(e,r)},t.varpa=function(e,t){const r=e.dereferenceAllOpers(t);return me(e,r)},t.mode=function(e,t){return ke(e,t)},t.mode_mult=function(e,t){const r=Te(e,t);return Array.isArray(r)?(0,o.arrayOper)(r.length,1,r.map((e=>[e.value]))):r},t.subtotal=function(e,[t,...r]){const n=e.mathpack.sfix(t),i=Ce.length;if(!(n>=1&&n<=i||n>=101&&n<=i+100))return o.valueErrorOper;const a=n>100||e.isInFilterMode(r),s=e.dereferenceAllOpersAndFormulae(r,a).map(Ee);return(0,Ce[n%100-1])(e,s)},t.aggregate=function(e,t){const[r,i,s,c,...d]=t,p=e.mathpack,h=p.sfix(r),g=p.sfix(i);if(!(h>=1&&h<=Ae.length+Ie.length&&g>=0&&g<=7))return o.valueErrorOper;const m=1==(1&g),f=2==(2&g),v=!(4==(4&g));function b(t){let r=v?e.dereferenceAllOpersAndFormulae(t,m).map(Ee):e.dereferenceAllOpers(t,m);return f&&(r=r.map((e=>{if((0,a.isPrimitiveCoercedOper)(e))return e;if((0,u.isRangeValues)(e)){const t=e.arrays.map((e=>e.map((e=>void 0===e||(0,o.isErrorOper)(e)?void 0:e))));return(0,u.rangeValues)(t)}if((0,a.isCoercedArrayOper)(e)){const t=e.opers.map((e=>e.map((e=>void 0===e||(0,o.isErrorOper)(e)?void 0:e))));return(0,a.coercedArrayOper)(e.rows,e.cols,t)}return e}))),r}if(h>Ae.length){if(void 0===c||d.length>0)return o.valueErrorOper;const t=o.OperKind.Number;!(0,o.isRangeOper)(c)||(0,o.isSheetIndex)(c.sheets)&&1===c.ranges.length&&(0,o.isGridCell)(c.ranges[0])||(0,l.throwEvaluationError)((0,o.notImplemented)(["AGGREGATE multi-cell array param"]));const r=e.coerceOper(e.dereferenceOper(c,t),t);if((0,o.isErrorOper)(r))return o.valueErrorOper;if((0,o.isRangeOper)(s)&&!(0,o.isSheetIndex)(s.sheets))return o.valueErrorOper;const[n]=b([s]),i=Ae.length;return(0,Ie[h-i-1])(e,n,r)}for(let e=2;e<t.length;e+=1){const r=t[e];if(!r||!(0,o.isRangeOper)(r)||!(0,o.isSheetIndex)(r.sheets))return o.valueErrorOper}const y=b(t.slice(2));return(0,n.assertTrue)("calc.funcs.aggregate: requested non-array function with unexpected number",h>=1&&h<=Ae.length),(0,Ae[h-1])(e,y)},t.rank=function(e,t){return xe(e,t,!1)},t.rank_avg=function(e,t){return xe(e,t,!0)},t.avedev=function(e,t){const r=e.dereferenceAllOpers(t),n=Pe(we,e,r);if(!Array.isArray(n))return n;const[o,i]=n;return e.mathpack.div(o,e.mathpack.fromNumber(i))},t.devsq=function(e,t){const r=e.dereferenceAllOpers(t),n=Pe(ae,e,r);if(!Array.isArray(n))return n;const[o]=n;return o},t.geomean=function(e,t){const r=e.mathpack,i=e.dereferenceAllOpers(t),s={count:0,prodExp:0};let l=(0,a.reduceDerefOpers)(e,function(e,t){const r=e.mathpack;return function(e,i,a){if(void 0!==e&&(0,o.isErrorOper)(e))return e;if((0,n.assertTrue)("calc.funcs.geometricReducer",void 0===e||(0,o.isNumberOper)(e)),(0,o.isErrorOper)(i))return i;if((0,n.assertTrue)("calc.funcs.geometricReducer",(0,o.isNumberOper)(i)),r.cond(i)<=0)return o.numErrorOper;const[s,l]=_e(r,i);let u=e??r.one;for(let e=0;e<a;e+=1){if(t.count%512==511){const[e,n]=_e(r,u);if(t.prodExp+=n,u=e,t.prodExp>2130706431||t.prodExp<-2130706431)return o.numErrorOper}t.count+=1,t.prodExp+=l,u=r.mul(u,s),(0,n.assertTrue)("calc.funcs.geometricReducer",!(0,o.isErrorOper)(u))}return u}}(e,s),d,i);if(null==l)return o.numErrorOper;if((0,o.isErrorOper)(l))return l;if((0,n.assertTrue)("calc.funcs.geomean",s.count>0&&(0,o.isNumberOper)(l)),1===s.count)return Ne(r,l,s.prodExp);{const[e,t]=_e(r,l);s.prodExp+=t,l=e}const u=s.prodExp/s.count|0,c=s.prodExp%s.count,p=r.div(r.one,r.fromNumber(s.count));if((0,n.assertTrue)("calc.funcs.geomean",!(0,o.isErrorOper)(p)),c<=1e3){const e=Ne(r,l,c),t=r.power(e,p);return(0,n.assertTrue)("calc.funcs.geomean",!(0,o.isErrorOper)(t)),Ne(r,t,u)}const h=c-1e3,g=Ne(r,l,c-h),m=r.power(g,p);(0,n.assertTrue)("calc.funcs.geomean",!(0,o.isErrorOper)(m));const f=Ne(r,m,u),v=r.mul(r.fromNumber(s.count),r.fromNumber(1.4426950408889636));(0,n.assertTrue)("calc.funcs.geomean",!(0,o.isErrorOper)(v));const b=r.div(r.fromNumber(h),v);(0,n.assertTrue)("calc.funcs.geomean",!(0,o.isErrorOper)(b));const y=r.exp(b);return(0,o.isErrorOper)(y)?y:r.mul(f,y)},t.harmean=function(e,t){const r=e.dereferenceAllOpers(t),i=(l=d,function(e,t){const r=l(e,t);if(void 0===r||!(0,o.isNumberOper)(r))return r;const n=e.mathpack;return n.cond(r)<=0?o.numErrorOper:n.div(n.one,r)}),s=(0,a.reduceDerefOpers)(e,h(e.mathpack.add),i,r);var l;if(null==s)return o.naErrorOper;if((0,o.isErrorOper)(s))return s;const u={count:0},c=(0,a.reduceDerefOpers)(e,g(u),i,r);(0,n.assertTrue)("calc.funcs.harmean",(0,o.isNumberOper)(s)&&c?.kind===o.OperKind.Number&&u.count>0);const p=e.mathpack.div(s,e.mathpack.fromNumber(u.count));return(0,o.isErrorOper)(p)?p:e.mathpack.div(e.mathpack.one,p)};const n=r(52123),o=r(85882),i=r(76765),a=r(36018),s=r(25328),l=r(48742),u=r(58055),c=r(60233);function d(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;switch(r.kind){case o.OperKind.Number:return r;case o.OperKind.Boolean:case o.OperKind.String:return;case o.OperKind.Error:return r;case o.OperKind.Missing:case o.OperKind.Blank:return;default:return(0,n.assertNever)("calc.funcs.arithmeticOperationCoerce",r)}}function p(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;switch(r.kind){case o.OperKind.Boolean:return r.value?e.mathpack.one:e.mathpack.zero;case o.OperKind.Number:return r;case o.OperKind.String:return e.mathpack.zero;case o.OperKind.Error:return r;case o.OperKind.Missing:case o.OperKind.Blank:return;default:return(0,n.assertNever)("calc.funcs.arithmeticAOperationCoerce",r)}}function h(e){return function(t,r,i){if(void 0!==t&&(0,o.isErrorOper)(t))return t;if((0,n.assertTrue)("calc.funcs.numberReducer",void 0===t||(0,o.isNumberOper)(t)),(0,o.isErrorOper)(r))return r;let a,s;(0,n.assertTrue)("calc.funcs.numberReducer",(0,o.isNumberOper)(r)),void 0===t?(a=r,s=i-1):(a=t,s=i);for(let t=0;t<s;t+=1){const t=e(a,r);if((0,o.isErrorOper)(t))return t;a=t}return a}}function g(e){return(t,r,n)=>(e.count+=n,r)}function m(e,t,r){if(!(0,o.isNumberOper)(r))return r;const n=function(e){for(let t=e.length-1;t>=0;t-=1){const r=e[t];if(void 0!==r&&(0,u.isRangeValues)(r))for(let e=r.arrays.length-1;e>=0;e-=1){const t=r.arrays[e];if(t.rows>t.denseRows||t.cols>t.denseCols){const e=t.getSparse();if(e?.kind===o.OperKind.Number)return e}for(let e=t.denseRows-1;e>=0;e-=1)for(let r=t.denseCols-1;r>=0;r-=1){const n=t.get(e,r);if(n?.kind===o.OperKind.Number)return n}}}}(t);return n?.kind!==o.OperKind.Number?r:e.mathpack.checkAlmostCancellation(n,r)}function f(e,t,r){let n=(0,a.reduceDerefOpers)(t,h(t.mathpack.add),d,r);return null==n?t.mathpack.zero:(e&&(n=m(t,r,n)),n)}const v=f.bind(void 0,!1),b=f.bind(void 0,!0);function y(e){return(0,o.isRangeOper)(e)&&1!==e.ranges.length}function S(e,t,r){if(y(t))return(0,n.failure)(o.valueErrorOper);if(void 0===r){const r=e.dereferenceAllOpers([t])[0];return(0,n.success)({values:r,valuesToFilter:r})}if(y(r))return(0,n.failure)(o.valueErrorOper);const{actualEvalRange:i,actualFilterRange:a}=function(e,t){const r=e.ranges[0],i=t.ranges[0],a=(0,n.fastMin)(r.cols,o.sheetCols-i.col),s=(0,n.fastMin)(r.rows,o.sheetRows-i.row),l=(0,o.gridRange)(r.row,r.col,s,a),u=(0,o.range3DOper)(e.sheets,l),c=(0,o.gridRange)(i.row,i.col,s,a);return{actualEvalRange:u,actualFilterRange:(0,o.range3DOper)(t.sheets,c)}}(t,r),s=i.ranges[0],l=a.ranges[0],u=e.dereferenceAllOpers([i])[0];if(s.col===l.col&&s.row===l.row)return(0,n.success)({values:u,valuesToFilter:u});const c=e.dereferenceAllOpers([a])[0];return(0,n.success)({values:u,valuesToFilter:c})}function C(e,[t,r,o]){const a=S(e,t,o);if(!(0,n.isSuccess)(a))return a.reason;const{values:s,valuesToFilter:l}=a.value,c=[(0,u.rangeValues)([(0,i.applyCriteria)(e,s.arrays[0],r,l.arrays[0])])];return v(e,c)}function T(e,t,r=!1,a=!1){const s=t[0];if(y(s))return(0,n.failure)(o.valueErrorOper);let l,c;if(r){const r=t[1],[n]=e.dereferenceAllOpers([s]);l=(0,i.applyCriteria)(e,n.arrays[0],r),c=2}else{const[t]=e.dereferenceAllOpers([s]);l=t.arrays[0],c=1}for(let r=c;r<t.length;r+=2){const a=t[r],u=t[r+1];if(y(a))return(0,n.failure)(o.valueErrorOper);if(a.ranges[0].cols!==s.ranges[0].cols||a.ranges[0].rows!==s.ranges[0].rows)return(0,n.failure)(o.valueErrorOper);const[c]=e.dereferenceAllOpers([a]);l=(0,i.applyCriteria)(e,c.arrays[0],u,l)}return a&&(l=l.strict()),(0,n.success)((0,u.rangeValues)([l]))}function k(e,t){const r=(0,a.reduceDerefOpers)(e,h(e.mathpack.mul),d,t);return null==r?e.mathpack.zero:r}function F(e,t,r,i,s,l){let u=(0,a.reduceDerefOpers)(s,h(s.mathpack.add),e,l,t);if(null==u)return i;if(r&&(u=m(s,l,u)),(0,o.isErrorOper)(u))return u;const c={count:0},d=(0,a.reduceDerefOpers)(s,g(c),e,l,t);(0,n.assertTrue)("calc.funcs.averageCoerceInner",(0,o.isNumberOper)(u)&&d?.kind===o.OperKind.Number&&c.count>0);const p=s.mathpack.div(u,s.mathpack.fromNumber(c.count));return(0,o.isErrorOper)(p)?p:[p,c.count]}function E(e,t,r,n,i){const a=F(e,t,r,o.div0ErrorOper,n,i);return Array.isArray(a)?a[0]:a}const A=E.bind(void 0,d,void 0,!1),I=E.bind(void 0,d,void 0,!0),x=E.bind(void 0,p,(function(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;return(0,o.isStringOper)(r)?e.mathpack.zero:d(0,r)}),!0);function w(e,[t,r,o]){const a=S(e,t,o);if(!(0,n.isSuccess)(a))return a.reason;const{values:s,valuesToFilter:l}=a.value,c=[(0,u.rangeValues)([(0,i.applyCriteria)(e,s.arrays[0],r,l.arrays[0]).strict()])];return A(e,c)}function P(e,t,r,i,s){let l,u=0,c="";const d=(e,t)=>e.coerceOper(t,o.OperKind.String),p=(e,i,a)=>{if(void 0!==e&&(0,o.isErrorOper)(e))return e;for(let e=0;e<a;e+=1){if(void 0!==l&&t.length>0&&(!r||l.value.length>0)){const e=t[u];if(u=(u+1)%t.length,c.length+e.value.length>o.cellStringLimit)return o.valueErrorOper;c+=e.value}if((0,o.isErrorOper)(i))return i;if((0,n.assertTrue)("calc.funcs.concatInner: expected string in reducer",(0,o.isStringOper)(i)),c.length+i.value.length>o.cellStringLimit)return o.valueErrorOper;if(c+=i.value,l=i,""===i.value&&(0===t.length||r))break}return i};for(let t=0;t<s.length;t+=1){const r=i[t];if((0,o.isRangeOper)(r)&&r.ranges.length>1)return o.valueErrorOper;const l=(0,a.reduceDerefOpers)(e,p,d,s.slice(t,t+1));if(void 0!==l&&(0,o.isErrorOper)(l))return l;(0,n.assertTrue)("calc.funcs.concatInner: expected string from reduce",void 0!==l&&(0,o.isStringOper)(l))}if(r&&void 0!==l&&""===l.value&&t.length>0&&c.length>0){const e=t[(u+t.length-1)%t.length];c=c.substring(0,c.length-e.value.length)}return(0,o.stringOper)(c)}function R(e,t,r){const n={count:0};return(0,a.reduceDerefOpers)(t,g(n),e,r),t.mathpack.fromNumber(n.count)}const D=R.bind(void 0,(function(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;return(0,o.isNumberOper)(r)?r:void 0})),_=R.bind(void 0,(function(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;return(0,o.isBlankOper)(r)||(0,c.isEmptyStringOper)(r)?r:void 0})),N=R.bind(void 0,(function(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;return(0,o.isPrimitiveOper)(r)||(0,o.isErrorOper)(r)?r:void 0})),O=R.bind(void 0,((e,t)=>t));function M(e,[t,r]){if(y(t))return o.valueErrorOper;const[n]=e.dereferenceAllOpers([t]),a=[(0,u.rangeValues)([(0,i.applyCriteria)(e,n.arrays[0],r)])];return O(e,a)}const B=(e,t,r)=>e.mathpack.cond2(t,r)>0,L=(e,t,r)=>e.mathpack.cond2(t,r)<0;function K(e,t,r,i,s){const l=(0,a.reduceDerefOpers)(i,((t,r,a)=>void 0===t?r:(0,o.isErrorOper)(t)?t:((0,n.assertTrue)("calc.funcs.minMaxCoerceInner",(0,o.isNumberOper)(t)),(0,o.isErrorOper)(r)?r:((0,n.assertTrue)("calc.funcs.minMaxCoerceInner",(0,o.isNumberOper)(r)),e(i,t,r)?t:r))),t,s,r);return null==l?i.mathpack.zero:l}const W=K.bind(void 0,B,d,void 0),H=K.bind(void 0,L,d,void 0),G=K.bind(void 0,B,p,d),z=K.bind(void 0,L,p,d);function U(e,t){const r=(0,o.isRichOper)(t)?t.getFallback():t;switch(r.kind){case o.OperKind.Boolean:return r;case o.OperKind.Number:return(0,o.booleanOper)(0!==e.mathpack.cond(r));case o.OperKind.String:return;case o.OperKind.Error:return r;case o.OperKind.Missing:case o.OperKind.Blank:return;default:return(0,n.assertNever)("calc.funcs.aggregationFuncs: booleanOperationCoerce",r)}}function V(e,t,r){const i=(0,a.reduceDerefOpers)(t,((t,r,i)=>void 0!==t&&(0,o.isErrorOper)(t)?t:(0,o.isErrorOper)(r)?r:((0,n.assertTrue)("calc.funcs.booleanInner",(void 0===t||(0,o.isBooleanOper)(t))&&(0,o.isBooleanOper)(r)),(0,o.booleanOper)(e(t?.value,r.value,i)))),U,r);return null==i?o.valueErrorOper:i}const j=V.bind(void 0,((e,t)=>!1!==e&&t)),q=V.bind(void 0,((e,t)=>!0===e||t)),$=V.bind(void 0,((e,t,r)=>t?((!0===e?1:0)+r)%2==1:!0===e));function Q(e,t){return(r,n,i)=>{if(void 0!==r&&(0,o.isErrorOper)(r))return r;if(!(0,o.isErrorOper)(n)){const r=t(n);for(let t=0;t<i;t+=1)e.push(r)}return n}}function X(e,t,r,n){const i=[],l=(0,a.reduceDerefOpers)(t,Q(i,s.assertNumber),d,[r]);if(null==l)return o.numErrorOper;if((0,o.isErrorOper)(l))return l;const u=t.mathpack;if(u.cond2(n,u.one)<0)return o.numErrorOper;if(u.cond2(n,u.fromNumber(i.length))>0)return o.numErrorOper;const c=i.sort(u.cond2);if(e){const e=(0,s.assertNumber)(u.add((0,s.assertNumber)(u.sub(u.fromNumber(i.length),n)),u.one));return c[u.lfix(e)-1]}return c[u.lfix(n)-1]}const Y=X.bind(void 0,!0),J=X.bind(void 0,!1);function Z(e,t,r,n){const i=e.mathpack,l=[],u=(0,a.reduceDerefOpers)(e,Q(l,s.assertNumber),d,t);if(null==u)return o.numErrorOper;if((0,o.isErrorOper)(u))return u;if((0,o.isErrorOper)(r))return r;if(i.cond(r)<0)return o.numErrorOper;if(i.cond2(r,i.one)>0)return o.numErrorOper;const c=l.sort(i.cond2),p=(0,s.assertNumber)(i.sub(i.fromNumber(c.length),i.one)),h=(0,s.assertNumber)(i.add(i.fromNumber(c.length),i.one)),g=n?(0,s.assertNumber)(i.mul(p,r)):(0,s.assertNumber)(i.sub((0,s.assertNumber)(i.mul(h,r)),i.one));if(i.cond(g)<0||i.cond2(g,p)>0)return o.numErrorOper;const m=i.lfix(g),f=(0,s.assertNumber)(i.sub(g,i.fromNumber(m)));if(0===i.cond(f))return c[m];const v=i.sub(c[m+1],c[m]);return(0,o.isErrorOper)(v)?v:i.add(c[m],(0,s.assertNumber)(i.mul(v,f)))}const ee=(e,t,r)=>Z(e,[t],r,!0),te=(e,t,r)=>Z(e,[t],r,!1);function re(e,t){const r=e.mathpack;if(r.cond(t)<0)return o.numErrorOper;if(r.cond2(t,r.fromNumber(5))>=0)return o.numErrorOper;const n=r.lfix(t);return r.div(r.fromNumber(n),r.fromNumber(4))}const ne=(e,t,r)=>Z(e,[t],re(e,r),!0),oe=(e,t,r)=>Z(e,[t],re(e,r),!1);function ie(e,t){return Z(e,t,e.mathpack.fromNumber(.5),!0)}function ae(e){return function(t,r){const n=e(t,r);return void 0!==n&&(0,o.isNumberOper)(n)?t.mathpack.mul(n,n):n}}function se(e,t){return function(r,n){const i=e(r,n);if(i?.kind!==o.OperKind.Number)return i;const a=r.mathpack,s=a.sub(i,t);return(0,o.isErrorOper)(s)?s:a.mul(s,s)}}function le(e,t,r,i){const s={count:0};if(null==(0,a.reduceDerefOpers)(r,g(s),e,i,t))return o.div0ErrorOper;(0,n.assertTrue)("calc.funcs.varFirstPass: unexpected count type",s.count>=1);const l=h(r.mathpack.add),u=(0,a.reduceDerefOpers)(r,l,e,i,t),c=(0,a.reduceDerefOpers)(r,l,ae(e),i,void 0===t?void 0:ae(t));if((0,n.assertTrue)("calc.funcs.varFirstPass: expected sum",null!=u),(0,n.assertTrue)("calc.funcs.varFirstPass: expected sumSq",null!=c),(0,o.isErrorOper)(u))return u;if((0,o.isErrorOper)(c))return c;(0,n.assertTrue)("calc.funcs.varFirstPass: unexpected oper type",(0,o.isNumberOper)(u)&&(0,o.isNumberOper)(c));const d=r.mathpack,p=d.div(u,d.fromNumber(s.count));return(0,o.isErrorOper)(p)?p:[s.count,u,c,p]}function ue(e,t,r,i,s){const l=h(r.mathpack.add),u=(0,a.reduceDerefOpers)(r,l,se(e,s),i,void 0===t?void 0:se(t,s));return(0,n.assertTrue)("calc.funcs.varSecondPass: unexpected error",u?.kind===o.OperKind.Number),u}function ce(e,t,r,n){const i=le(e,t,r,n);if(!Array.isArray(i))return i;const a=r.mathpack,[l,u,c,d]=i;if(l<2)return o.div0ErrorOper;const p=a.mul(u,u);if((0,o.isErrorOper)(p))return p;const h=(0,s.assertNumber)(a.div(p,a.fromNumber(l))),g=(0,s.assertNumber)(a.sub(c,h));if(0===a.cond(d))return a.cond(g)<0?a.zero:a.div(g,a.fromNumber(l-1));if(a.cond(g)>=0){const e=(0,s.assertNumber)(a.div(g,a.fromNumber(l-1))),t=21219957905e-324;if(a.cond2(e,a.fromNumber(t))>0){const t=a.div(h,c),r=(0,o.isErrorOper)(t)?t:a.sub(t,a.one);if(!(0,o.isErrorOper)(r)&&a.cond2(a.abs(r),a.fromNumber(.01))>0){const t=a.div(d,e),r=(0,o.isErrorOper)(t)?t:a.sub(a.abs(t),a.fromNumber(1e3));if(!(0,o.isErrorOper)(r)&&a.cond(r)<0)return e}}}const m=ue(e,t,r,n,d);return a.cond(m)<0?a.zero:a.div(m,a.fromNumber(l-1))}function de(e,t,r,n){const i=le(e,t,r,n);if(!Array.isArray(i))return i;const a=r.mathpack,[l,u,c,d]=i;if(l<1)return o.div0ErrorOper;const p=a.mul(u,u);if((0,o.isErrorOper)(p))return p;const h=a.mul(c,a.fromNumber(l));if((0,o.isErrorOper)(h))return h;const g=(0,s.assertNumber)(a.sub(h,p));if(0===a.cond(d))return a.cond(g)<0?a.zero:a.div(g,a.fromNumber(l*l));if(a.cond(g)>=0){const e=(0,s.assertNumber)(a.div(g,a.fromNumber(l*l))),t=21219957905e-324;if(a.cond2(e,a.fromNumber(t))>0){const t=a.div((0,s.assertNumber)(a.div(p,a.fromNumber(l))),c),r=(0,o.isErrorOper)(t)?t:a.sub(t,a.one);if(!(0,o.isErrorOper)(r)&&a.cond2(a.abs(r),a.fromNumber(.01))>0){const t=a.div(d,e),r=(0,o.isErrorOper)(t)?t:a.sub(a.abs(t),a.fromNumber(1e3));if(!(0,o.isErrorOper)(r)&&a.cond(r)<0)return e}}}const m=ue(e,t,r,n,d);return a.cond(m)<0?a.zero:a.div(m,a.fromNumber(l))}const pe=ce.bind(void 0,d,void 0),he=de.bind(void 0,d,void 0),ge=ce.bind(void 0,p,d),me=de.bind(void 0,p,d);function fe(e){return function(t,r){const n=e(t,r);return(0,o.isNumberOper)(n)?t.mathpack.sqrt(n):n}}const ve=fe(pe),be=fe(he),ye=fe(ge),Se=fe(me),Ce=[I,D,N,W,H,k,ve,be,b,pe,he];function Te(e,t){const r=[],i=(0,a.reduceDerefOpers)(e,(s=r,(e,t,r)=>{if(void 0!==e&&(0,o.isErrorOper)(e))return e;if((0,o.isNumberOper)(t))for(let e=0;e<r;e+=1)s.push({value:t,index:s.length});return t}),d,t);var s;if(null==i)return o.naErrorOper;if((0,o.isErrorOper)(i))return i;const l=e.mathpack,u=r.sort(((e,t)=>l.cond2(e.value,t.value)));let c=1,p=0,h=1/0;const g=[];function m(e){c=1,h=e.index}const f=e=>{const{value:t}=e;c>p?(p=c,g.length=0,g.push({value:t,index:h})):c===p&&g.push({value:t,index:h})};m(u[0]);for(let e=1;e<u.length;e+=1)b=u[e-1],y=u[e],0===l.cond2(b.value,y.value)?((v=u[e]).index<h&&(h=v.index),c+=1):(f(u[e-1]),m(u[e]));var v,b,y;return f(u[u.length-1]),p<2?o.naErrorOper:((0,n.assertTrue)("calc.funcs.modeInner: unexpected error",0!==g.length),g.sort(((e,t)=>e.index-t.index)))}function ke(e,t){const r=Te(e,t);return Array.isArray(r)?r[0].value:r}const Fe=(0,o.binaryVisitor)({...(0,o.constVisitor)(!1),wsfNode:e=>e===o.WorksheetFuncId.SUBTOTAL||e===o.WorksheetFuncId.AGGREGATE},((e,t)=>e||t));function Ee(e){if(!(0,u.isRangeValues)(e))return e;const t=e.arrays.map((e=>e.map((([e,t])=>{return void 0!==t&&(r=t.formula,(0,o.reduceBottomUp)(Fe,r))?void 0:e;var r}))));return(0,u.rangeValues)(t)}const Ae=[...Ce,ie,ke],Ie=[Y,J,ee,ne,te,oe];function xe(e,[t,r,n=o.falseOper],i){const l=n.value?1:-1;let u=0,c=0;const p=e.mathpack,h=(0,a.reduceDerefOpers)(e,((e,r,n)=>{if(void 0!==e)return e;if((0,o.isErrorOper)(r))return r;const i=p.cond2(t,(0,s.assertNumber)(r));0===i?u+=n:i===l&&(c+=n)}),d,e.dereferenceAllOpers([r]));if(void 0!==h)return h;if(0===u)return o.naErrorOper;const g=p.fromNumber(c+1);if(i){const e=p.div(p.fromNumber(u-1),p.fromNumber(2));return p.add(g,(0,s.assertNumber)(e))}return g}function we(e){return function(t,r){const n=e(t,r);return n?.kind===o.OperKind.Number?t.mathpack.abs(n):n}}function Pe(e,t,r){const i=F(d,void 0,!0,o.numErrorOper,t,r);if(!Array.isArray(i))return i;const[l,u]=i,c=(0,a.reduceDerefOpers)(t,h(t.mathpack.add),e(function(e,t){return function(r,n){const i=e(r,n);return i?.kind===o.OperKind.Number?r.mathpack.sub(i,t):i}}(d,l)),r);return(0,n.assertTrue)("calc.funcs.sumDevAndCount",void 0!==c),(0,o.isErrorOper)(c)?c:[(0,s.assertNumber)(c),u]}const Re=new Float64Array(1),De=new Int32Array(Re.buffer);function _e(e,t){Re[0]=e.toNumber(t);const r=((2146435072&De[1])>>>20)-1023;return De[1]=-2146435073&De[1]|1072693248,[e.fromNumber(Re[0]),r]}function Ne(e,t,r){Re[0]=e.toNumber(t);const n=((2146435072&De[1])>>>20)-1023;return De[1]=-2146435073&De[1]|n+r+1023<<20&2146435072,e.fromNumber(Re[0])}const Oe=e=>(0,o.isRichOper)(e)?e.getFallback():e;t.sumproduct=(e,t)=>{const r=t.map((e=>(0,o.arrayOper)(e.rows,e.cols,e.opers.map((e=>e.map(Oe)))))),n=e.mathpack;for(const e of r)for(const t of e.opers)for(const e of t)if((0,o.isErrorOper)(e))return e;const i=r[0].rows,a=r[0].cols;if(!r.every((e=>e.rows===i&&e.cols===a)))return o.valueErrorOper;let s=n.zero;for(let e=0;e<i;++e)e:for(let t=0;t<a;++t){const i=r[0].opers[e][t];if(!(0,o.isNumberOper)(i))continue e;let a=i;for(let i=1;i<r.length;++i){const s=r[i].opers[e][t];if(!(0,o.isNumberOper)(s))continue e;if(a=n.mul(a,s),(0,o.isErrorOper)(a))return a}if(s=n.add(a,s),(0,o.isErrorOper)(s))return s}return s}},47776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=function(e,t){const[r,i,l]=t,u=(0,a.rangeOrArrayToVal)(r,o.refErrorOper);if((0,o.isErrorOper)(u))return u;const c=(0,a.rangeOrArrayToVal)(i,o.refErrorOper);if((0,o.isErrorOper)(c))return c;const{rows:d,cols:p}=(0,a.makeSlicer)(u),{rows:h,cols:g}=(0,a.makeSlicer)(c);if(!(1===h&&g>=1||1===g&&h>=1))return o.valueErrorOper;const m=1===h&&1===g?1===d:h>1;if(m?h!==d:g!==p)return o.valueErrorOper;const[f]=e.dereferenceAllOpers([c]),v=(0,n.sparseArray2DTo1D)((0,s.isRangeValues)(f)?f.arrays[0]:new n.StrictSparseArray2D(f.rows,f.cols,f.rows,f.cols,f.opers,o.blankOper),!m),b=[];for(let t=0;t<v.length;++t){const r=e.coerceOper(v.get(t),o.OperKind.Boolean);if(!(0,o.isBooleanOper)(r))return r;if(r.value)b.push(t);else if(t>=v.denseLength)break}if(m?(0,a.validateArraySize)(b.length,p):(0,a.validateArraySize)(d,b.length),0===b.length)return void 0===l||(0,o.isMissingOper)(l)?o.calcErrorOper:l;const[y]=e.dereferenceAllOpers([u]),S=(0,s.isRangeValues)(y)?y.arrays[0]:new n.StrictArray2D(y.rows,y.cols,y.opers),C=e=>new n.NonstrictArray2D(b.length,e.cols,((t,r)=>e.get(b[t],r))),T=m?C(S):(0,n.transposeArray2D)(C((0,n.transposeArray2D)(S)));return(0,o.arrayOper)(T.rows,T.cols,(0,n.array2DToJaggedArray)(T))},t.sort=function(e,t){const[r,i,a,s]=t,p=l(r),h=!!s&&s.value,g=c(p,h),m=g.cols,f=u(e,i,m,(e=>e>=1&&e<=m?e-1:o.valueErrorOper));if(!Array.isArray(f))return f;const v=u(e,a,f.length,(e=>1===e||-1===e?e:o.valueErrorOper));if(!Array.isArray(v))return v;if(1===v.length)v.length=f.length,(0,n.arrayFill)(v,v[0]);else if(v.length!==f.length)return o.valueErrorOper;const b=f.map(((e,t)=>[t=>g.get(t,e),v[t]]));return 1===g.rows?p:d(e,g,h,b)},t.sortby=function(e,t){const[r,...i]=t,a=l(r);(0,n.assertTrue)("calc.funcs.sortby",i.every(((e,t)=>t%2==0?(0,o.isArrayOper)(e)||(0,o.isBlankOper)(e):(0,o.isNumberOper)(e)||(0,o.isMissingOper)(e))));const s=[];for(let e=0;e<i.length;e+=2)s.push([l(i[e]),i[e+1]??o.missingOper]);const u=s[0][0].cols>=s[0][0].rows&&s[0][0].cols===a.cols,p=c(a,u),h=[];for(const[t,r]of s){if(1!==t.rows&&1!==t.cols)return o.valueErrorOper;if(!(u?t.cols===a.cols:t.rows===a.rows))return o.valueErrorOper;const n=t.opers,i=e.mathpack.sfix((0,o.isNumberOper)(r)?r:e.mathpack.one);if(1!==i&&-1!==i)return o.valueErrorOper;h.push([u?e=>n[0][e]:e=>n[e][0],i])}return 1===p.rows?a:d(e,p,u,h)},t.unique=function(e,t){const[r,a,s]=t,u=l(r),d=a?.value??!1,p=s?.value??!1,h=c(u,d);if(1===h.rows)return u;const g=e.config,m=[];let f=n.RedBlackMapTree.create(((e,t)=>{for(let r=0;r<h.cols;++r){const n=(0,i.sortOpers)(g,h.get(e,r),h.get(t,r),1,!0);if(0!==n)return n}return 0}));for(let e=0;e<h.rows;++e){let t;[f,t]=f.getOrSetValue(e,(()=>({firstRow:e,count:0}))),t.count+=1,m.push(t)}const v=p?m.filter((e=>1===e.count)):m.filter(((e,t)=>e.firstRow===t));if(0===v.length)return o.calcErrorOper;const b=new n.NonstrictArray2D(v.length,h.cols,((e,t)=>h.get(v[e].firstRow,t))),y=d?(0,n.transposeArray2D)(b):b;return(0,o.arrayOper)(y.rows,y.cols,(0,n.array2DToJaggedArray)(y))};const n=r(52123),o=r(85882),i=r(30108),a=r(25328),s=r(58055);function l(e){return(0,o.isBlankOper)(e)?(0,o.arrayOper)(1,1,[[e]]):e}function u(e,t=o.missingOper,r,n){const i=e.mathpack,s=(0,o.isMissingOper)(t)?(0,o.arrayOper)(1,1,[[i.one]]):t;if(!(1===s.rows&&s.cols>=1||1===s.cols&&s.rows>=1))return o.valueErrorOper;if(s.rows*s.cols>r)return o.valueErrorOper;const l=[];for(let t=0;t<s.rows;++t)for(let r=0;r<s.cols;++r){const u=e.coerceOper(s.opers[t][r],o.OperKind.Number);if(!(0,o.isNumberOper)(u))return(0,a.assertError)(u);const c=n(i.sfix(u));if("number"!=typeof c)return c;l.push(c)}return l}function c(e,t){return t?new n.NonstrictArray2D(e.cols,e.rows,((t,r)=>e.opers[r][t])):new n.StrictArray2D(e.rows,e.cols,e.opers)}function d(e,t,r,a){const{rows:s,cols:l}=t,u=e.config,c=[];for(let e=0;e<s;++e)c.push(e);c.sort(((e,t)=>{for(let r=0;r<a.length;++r){const[n,o]=a[r],s=(0,i.sortOpers)(u,n(e),n(t),o,!1);if(0!==s)return s}return e-t}));const d=new n.NonstrictArray2D(s,l,((e,r)=>t.get(c[e],r))),p=r?(0,n.transposeArray2D)(d):d;return(0,o.arrayOper)(p.rows,p.cols,(0,n.array2DToJaggedArray)(p))}},76765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCriteria=c,t.compileCriteria=d,t.applyCriteria=function(e,t,r,o){const i=d(e,c(e,r)),a=t,s=void 0===o?a:o;return new n.NonstrictSparseArray2D(s.rows,s.cols,(0,n.fastMax)(a.denseRows,s.denseRows),(0,n.fastMax)(a.denseCols,s.denseCols),((e,t)=>{const r=a.get(e,t);return i(r)?s.get(e,t):void 0}),(()=>{const e=a.getSparse();return i(e)?s.getSparse():void 0}))};const n=r(52123),o=r(85882),i=r(21254),a=r(95392),s=r(60233),l={"=":o.OperatorId.Eq,"<":o.OperatorId.Lt,">":o.OperatorId.Gt},u={"<>":o.OperatorId.Ne,"<=":o.OperatorId.Le,">=":o.OperatorId.Ge};function c(e,t){if(!(0,o.isStringOper)(t))return t;const[r,n]=function(e){if(e.length>=2){const t=u[e.substring(0,2)];if(void 0!==t)return[t,e.substring(2)]}if(e.length>=1){const t=l[e.substring(0,1)];if(void 0!==t)return[t,e.substring(1)]}return[void 0,e]}(t.value),i=function(e,t){const{localeInfo:r}=e.config;if(0===r.stringCompareCI(t,r.trueName))return o.trueOper;if(0===r.stringCompareCI(t,r.falseName))return o.falseOper;for(let e=1;e<r.errorNames.length;e+=1){const n=r.errorNames[e];if(null!=n&&0===r.stringCompareCI(n,t))return(0,o.errorOper)(e)}const n=e.parseGeneral(t,!1);return void 0!==n?n:(0,o.stringOper)(t)}(e,n);return{kind:"FilterExpression",operator:r,operand:i}}function d(e,t){const r="FilterExpression"===t.kind?t:{kind:"FilterExpression",operator:o.OperatorId.Eq,operand:t},{mathpack:l,localeInfo:u}=e.config;if(r.operator===o.OperatorId.Ne&&(0,s.isEmptyStringOper)(r.operand))return e=>!(0,o.isBlankOper)(e);if(r.operator===o.OperatorId.Eq&&(0,s.isEmptyStringOper)(r.operand))return o.isBlankOper;if(void 0!==r.operator&&(0,s.isEmptyStringOper)(r.operand))return e=>!1;if(void 0===r.operator&&(0,s.isEmptyStringOper)(r.operand))return e=>(0,o.isBlankOper)(e)||(0,s.isEmptyStringOper)(e);const c=void 0===r.operator?o.OperatorId.Eq:r.operator;switch(r.operand.kind){case o.OperKind.Number:return d=c,p=r.operand,t=>{const r=(0,o.isRichOper)(t)?t.getFallback():t;if((0,o.isNumberOper)(r))return(0,a.cmpNum)(l,d,r,p);if((0,o.isStringOper)(r)&&d===o.OperatorId.Eq){const t=e.parseGeneral(r.value,!1);return void 0!==t&&(0,a.cmpNum)(l,d,t,p)}return d===o.OperatorId.Ne};case o.OperKind.Boolean:return function(e,t){return r=>{const n=(0,o.isRichOper)(r)?r.getFallback():r;return(0,o.isBooleanOper)(n)?(0,a.cmpBool)(e,n,t):e===o.OperatorId.Ne}}(c,r.operand);case o.OperKind.String:return function(e,t){switch(e){case o.OperatorId.Eq:case o.OperatorId.Ne:const r=new i.WildExp(u,t.value);return t=>{const n=(0,o.isRichOper)(t)?t.getFallback():t;return(0,o.isStringOper)(n)?r.test(n.value)===(e===o.OperatorId.Eq):e===o.OperatorId.Ne};case o.OperatorId.Lt:case o.OperatorId.Gt:case o.OperatorId.Le:case o.OperatorId.Ge:return r=>{const n=(0,o.isRichOper)(r)?r.getFallback():r;return!!(0,o.isStringOper)(n)&&(0,a.cmpStr)(u,e,n,t)}}}(c,r.operand);case o.OperKind.Error:return function(e,t){return r=>{const n=(0,o.isRichOper)(r)?r.getFallback():r;return(0,o.isErrorOper)(n)?(0,a.cmpInt)(e,n.type-t.type):e===o.OperatorId.Ne}}(c,r.operand);default:return(0,n.assertNever)("calc.funcs.criteria.compileCriteria",r.operand)}var d,p}},13982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eomonth=t.edate=t.weeknum=t.isoweeknum=t.second=t.minute=t.hour=t.day=t.month=t.year=void 0,t.weekday=function(e,t){return s(e,t)},t.date=function(e,[t,r,n]){const{mathpack:i,datepack:a,config:s}=e;let l=i.sfix(t);if(l>h)return o.numErrorOper;const u=i.sfix(r);if(u>d||u<c)return o.numErrorOper;let g=i.sfix(n);(g>d||g<c)&&(g=d),s.dateCompatibility?l<p&&(l+=1900):l<p&&!(1899===l&&12===u&&g>=30)&&(l+=1900);const m=(0,o.dateTime)(l,u,g,0,0,0,0,0,o.Rounding.RoundSec);return a.toNum(s,m)},t.time=function(e,[t,r,n]){const{mathpack:i,datepack:a,config:s}=e,l=i.sfix(t);if(l>32767)return o.numErrorOper;const u=i.sfix(r);if(u>32767)return o.numErrorOper;const c=i.sfix(n);if(c>32767)return o.numErrorOper;let d,h,v;s.dateCompatibility?(d=s.date1904?1904:1900,h=g,v=s.date1904?1:0):(d=p-1,h=m,v=f);const b=(0,o.dateTime)(d,h,v,l,u,c,0,0,o.Rounding.RoundSec),y=a.toNum(s,b);return(0,o.isErrorOper)(y)?y:i.cond(y)<0?o.numErrorOper:i.sub(y,i.trunc(y))},t.days360=function(e,[t,r,n]){const{mathpack:i,datepack:a,config:s}=e,l=n?.value??!1,u=a.fromNum(s,t,o.Rounding.RoundSec);if(!1===u)return o.naErrorOper;const c=31===u.dom||!l&&2===u.mon&&u.dom===a.daysPerMonth(2,u.yr,s.dateCompatibility)?30:u.dom,d=i.fromNumber(360*(u.yr-p)+30*u.mon+c),h=a.fromNum(s,r,o.Rounding.RoundSec);if(!1===h)return o.naErrorOper;const g=31!==h.dom||!l&&30!==u.dom?h.dom:30,m=i.fromNumber(360*(h.yr-p)+30*h.mon+g);return i.sub(m,d)},t.datedif=function(e,[t,r,{value:n}]){if(n.length>2||0===n.length)return o.numErrorOper;const{mathpack:i,datepack:a,config:s}=e,l=i.lfix(t),u=a.fromNum(s,t,o.Rounding.RoundSec);if(!1===u)return o.numErrorOper;const c=e.mathpack.lfix(r),d=a.fromNum(s,r,o.Rounding.RoundSec);if(!1===d)return o.numErrorOper;if(l>c)return o.numErrorOper;let p=d.dom,h=d.mon,g=d.yr;u.dom>p&&(h-=1,0===h&&(h=12,g-=1),p+=a.daysPerMonth(h,g,s.dateCompatibility)),u.mon>h&&(h+=12,g-=1);const m=(e,t)=>0===s.localeInfo.stringCompareCI(e,t);if(m(n,"Y"))return i.fromNumber(g-u.yr);if(m(n,"M"))return i.fromNumber(12*(g-u.yr)+(h-u.mon));if(m(n,"D"))return i.fromNumber(c-l);if(m(n,"MD"))return i.fromNumber(p-u.dom);if(m(n,"YM"))return i.fromNumber(h-u.mon);if(m(n,"YD")){let e=0;for(let t=u.mon;t<h;t+=1)e+=a.daysPerMonth(t,u.yr,s.dateCompatibility);return i.fromNumber(e+(p-u.dom))}return o.numErrorOper},t.days=function(e,[t,r]){if((0,o.isStringOper)(t)&&t.value.length>255||(0,o.isStringOper)(r)&&r.value.length>255)return o.valueErrorOper;const n=v(e,t);if((0,o.isErrorOper)(n))return n;const i=v(e,r);return(0,o.isErrorOper)(i)?i:e.mathpack.sub(n,i)},t.workday_intl=k,t.workday=function(e,[t,r,n]){return k(e,n?[t,r,o.missingOper,n]:[t,r])},t.networkdays_intl=I,t.networkdays=function(e,[t,r,n]){return I(e,n?[t,r,o.missingOper,n]:[t,r])},t.yearFrac=function(e,[t,r,n]){let a=P.DefaultBasis;if(void 0!==n){const t=function(e,t){let r=P.DefaultBasis;if(void 0===t||(0,o.isMissingOper)(t))return r;const n=(0,i.chkNumOper)(e,t);if((0,o.isErrorOper)(n))return n;const a=e.mathpack;switch(r=a.lfix(a.floor(n)),r){case P.Basis30360:case P.BasisActual:case P.BasisActual360:case P.BasisActual365:case P.BasisE30360:return r;default:return o.numErrorOper}}(e,n);if("number"!=typeof t)return t;a=t}let s=(0,i.chkDateOper)(e,t);if((0,o.isErrorOper)(s))return s;let l=(0,i.chkDateOper)(e,r);if((0,o.isErrorOper)(l))return l;const u=e.mathpack;if(u.cond2(s,l)>0){const e=s;s=l,l=e}const c=function(e,t,r,n,a){const s=e.mathpack;switch(s.cond2(t,r)){case 1:break;case 0:return s.zero;case-1:switch(n){case P.Basis30360:return function(e,t,r,n,i){const{datepack:a,config:s}=e,l=a.fromNum(s,t,o.Rounding.RoundSec);if(!1===l)return!1;let u=l.dom;const c=l.mon,d=l.yr,p=a.fromNum(s,r,o.Rounding.RoundSec);if(!1===p)return!1;let h=p.dom;const g=p.mon,m=p.yr;return 2===h&&w(e,h,g,m)&&2===u&&w(e,u,c,d)&&(h=30),31===h&&u>=30&&(h=30),31===u&&(u=30),2===c&&w(e,u,c,d)&&(u=30),x(e,d,m,c,g,u,h)}(e,t,r);case P.BasisActual360:case P.BasisActual365:case P.BasisActual:return(0,i.assertNumber)(s.sub(r,t));case P.BasisE30360:return function(e,t,r){const{datepack:n,config:i}=e,a=n.fromNum(i,t,o.Rounding.RoundSec);if(!1===a)return!1;let s=a.dom;const l=a.mon,u=a.yr,c=n.fromNum(i,r,o.Rounding.RoundSec);if(!1===c)return!1;let d=c.dom;const p=c.mon;return 31===s&&(s=30),31===d&&(d=30),x(e,u,c.yr,l,p,s,d)}(e,t,r)}}return!1}(e,s,l,a);if(!1===c)return o.numErrorOper;const d=function(e,t,r,n){const{mathpack:a,datepack:s,config:l}=e,u=a.fromNumber(360),c=a.fromNumber(365),d=a.fromNumber(366);switch(t){case P.BasisActual:const e=s.fromNum(l,r,o.Rounding.RoundSec);if(!1===e)return!1;const t=e.dom,p=e.mon,h=e.yr,g=s.fromNum(l,n,o.Rounding.RoundSec);if(!1===g)return!1;const m=g.dom,f=g.mon,v=g.yr,b=v-1;if(h===v)return 29===s.daysPerMonth(2,h,l.dateCompatibility)?d:c;if(b===h&&(p>f||p===f&&t>=m)){if(29===s.daysPerMonth(2,h,l.dateCompatibility)){const e=s.toNum(l,(0,o.dateTime)(h,2,29,0,0,0,0,0,o.Rounding.RoundSec));return!(0,o.isErrorOper)(e)&&(a.cond2(e,r)>=0?d:c)}if(29===s.daysPerMonth(2,v,l.dateCompatibility)){const e=s.toNum(l,(0,o.dateTime)(h,2,29,0,0,0,0,0,o.Rounding.RoundSec));return!(0,o.isErrorOper)(e)&&(a.cond2(e,n)<=0?d:c)}return c}let y=0;for(let e=h;e<=v;e+=1)29===s.daysPerMonth(2,e,l.dateCompatibility)?y+=366:y+=365;const S=a.fromNumber(v-h+1);return(0,i.assertNumber)(a.div(a.fromNumber(y),S));case P.Basis30360:case P.BasisActual360:case P.BasisE30360:return u;case P.BasisActual365:return c;default:return u}}(e,a,s,l);return!1===d?o.numErrorOper:u.div(c,d)};const n=r(52123),o=r(85882),i=r(25328);function a(e,t,[r]){const{datepack:n,config:i}=t,a=n.fromNum(i,r,o.Rounding.RoundSec);return!1===a?o.numErrorOper:t.mathpack.fromNumber(e(a))}function s(e,[t,r],n=!1){const{config:i,mathpack:a,datepack:s}=e,l=s.fromNum({...i,date1904:i.date1904&&!n},t,o.Rounding.RoundSec);if(!1===l)return o.numErrorOper;let u;switch(void 0!==r?a.sfix(r):1){case 1:case 17:u=l.wdy;break;case 2:case 11:u=1===l.wdy?7:l.wdy-1;break;case 3:u=1===l.wdy?6:l.wdy-2;break;case 12:u=(l.wdy+4)%7+1;break;case 13:u=(l.wdy+3)%7+1;break;case 14:u=(l.wdy+2)%7+1;break;case 15:u=(l.wdy+1)%7+1;break;case 16:u=l.wdy%7+1;break;default:return o.numErrorOper}return a.fromNumber(u)}function l(e,t,r){if(!t){const t=e.lfix(r);if(0===t||1===t)return e.fromNumber(52)}return o.numErrorOper}function u(e,t,[r,a]){const u=(0,i.chkDateOper)(t,r);if((0,o.isErrorOper)(u))return u;const[c,d]=function(e,t,r){if(void 0===t||(0,o.isMissingOper)(t))return[r?2:1,r];const n=(0,i.chkNumOper)(e,t);if(!(0,o.isErrorOper)(n)){const t=e.mathpack.sfix(n);if(r){if(1===t||2===t)return[t,r]}else{if(1===t||2===t)return[t,r];if(t>=11&&t<=16)return[t-9,r];if(17===t)return[1,r];if(21===t)return[2,!0]}}return[void 0,r]}(t,a,e);if(void 0===c)return o.numErrorOper;const{mathpack:p,datepack:h,config:g}=t,m={...g,date1904:!1},f=h.fromNum(m,u,o.Rounding.RoundSec);if(!1===f)return l(p,m.dateCompatibility,u);const v=(0,o.dateTime)(f.yr,1,1,0,0,0,0,0,o.Rounding.RoundSec),b=h.toNum(m,v);if((0,o.isErrorOper)(b))return l(p,m.dateCompatibility,u);const y=s(t,[b],!0);if((0,o.isErrorOper)(y))return y;const S=(0,i.assertNumber)(p.add((0,i.assertNumber)(p.sub(y,p.fromNumber(c))),p.fromNumber(7))),C=(0,i.assertNumber)((0,i.numMod)(p,S,p.fromNumber(7))),T=(0,i.assertNumber)(p.add(p.floor((0,i.assertNumber)(p.div((0,i.assertNumber)(p.add((0,i.assertNumber)(p.sub(u,b)),C)),p.fromNumber(7)))),p.one));return d?function(e,t,r,o){const{mathpack:a,datepack:s,config:l}=e,u={...o},c=(t+6-u.wdy)%7;if(12===u.mon&&u.dom+c>=35)return a.one;u.dom=4,u.mon=1;let d=s.toDays(l,u);if((0,n.assertTrue)("calc.funcs.weeknumISOAmendments",!1!==d),d=(d-1)%7+1,(d-t+7)%7<3){const e=(0,i.assertNumber)(a.sub(r,a.one));if(0===a.cond(e)){const e=u.yr-1;return t===d||e%4==0&&(e%100!=0||e%400==0)&&(t-d+7)%7==6?a.fromNumber(53):a.fromNumber(52)}return e}return r}(t,c,T,f):T}t.year=a.bind(void 0,(e=>e.yr)),t.month=a.bind(void 0,(e=>e.mon)),t.day=a.bind(void 0,(e=>e.dom)),t.hour=a.bind(void 0,(e=>e.hour)),t.minute=a.bind(void 0,(e=>e.min)),t.second=a.bind(void 0,(e=>e.sec)),t.isoweeknum=u.bind(void 0,!0),t.weeknum=u.bind(void 0,!1);const c=-32768,d=32767,p=1900,h=9999,g=1,m=12,f=30;function v(e,t){let r;if((0,o.isStringOper)(t)){const n=t.value.replace(/^\s+/,"");if(r=e.coerceOper((0,o.stringOper)(n),o.OperKind.Number),(0,o.isErrorOper)(r))return r}else r=t;return(0,i.chkDateOper)(e,r)}function b(e,t,r){return r?(0,i.assertNumber)(e.sub(t,e.fromNumber(i.atpm1904to1900Days))):t}function y(e,t){return 0!=(e>>t%7&1)}var S;function C(e){switch(e){case 1:return S.Saturday|S.Sunday;case 2:return S.Sunday|S.Monday;case 3:return S.Monday|S.Tuesday;case 4:return S.Tuesday|S.Wednesday;case 5:return S.Wednesday|S.Thursday;case 6:return S.Thursday|S.Friday;case 7:return S.Friday|S.Saturday;case 11:return S.Sunday;case 12:return S.Monday;case 13:return S.Tuesday;case 14:return S.Wednesday;case 15:return S.Thursday;case 16:return S.Friday;case 17:return S.Saturday;default:return!1}}function T(e){if(7!==e.length)return!1;let t=S.None;for(let r=0;r<e.length;r+=1)if("1"===e[r])t|=1<<(r+2)%7;else if("0"!==e[r])return!1;return t}function k(e,[t,r,a,s]){let l=S.Saturday|S.Sunday,u=(0,i.chkDateOper)(e,t);if((0,o.isErrorOper)(u))return u;let c=(0,i.chkNumOper)(e,r);if((0,o.isErrorOper)(c))return c;const{mathpack:d,config:p}=e;c=d.floor(c);const h=d.cond(c)>0?d.one:d.fromNumber(-1);let g=d.abs(c);const m=(0,i.assertNumber)(d.add(u,c));if(!(0,i.validDateRange)(e,m))return o.numErrorOper;if(0===d.cond(g))return b(d,u,p.date1904);let f=null;const v=[];if(a){if(!(0,o.isMissingOper)(a)){if((0,o.isNumberOper)(a)){const e=C(d.lfix(a));if(!1===e)return o.numErrorOper;l=e}else{if(!(0,o.isStringOper)(a))return o.numErrorOper;{const e=T(a.value);if(!1===e)return o.valueErrorOper;l=e}}if(127===l)return o.valueErrorOper}if(s&&!(0,o.isMissingOper)(s)){const t=(0,i.chkNumMultiOper)(e,s);if(!(0,n.isSuccess)(t))return t.reason;f=t.value}}const k=null==f?[]:function(e){const t=[],r=e.getSparse(),n=e.cols-e.denseCols;for(let o=0;o<e.denseRows;o+=1){for(let r=0;r<e.denseCols;r+=1){const n=e.get(o,r);void 0!==n&&t.push(n)}if(n>0&&void 0!==r)for(let e=0;e<n;e+=1)t.push(r)}const o=(e.rows-e.denseRows)*e.cols;if(o>0&&void 0!==r)for(let e=0;e<o;e+=1)t.push(r);return t}(f);for(let t=k.length-1;t>=0;t-=1){const r=k[t];switch(r.kind){case o.OperKind.Number:case o.OperKind.String:case o.OperKind.Blank:const n=(0,i.chkDateOper)(e,r);if((0,o.isErrorOper)(n))return n;v[t]=n;break;case o.OperKind.Error:return r;default:return o.valueErrorOper}}for(;d.cond(g)>0;){if(u=(0,i.assertNumber)(d.add(u,h)),y(l,d.lfix(u)))continue;let e=!0;for(let t=0;t<k.length;t+=1)if(0===d.cond2(v[t],u)){e=!1;break}e&&(g=(0,i.assertNumber)(d.sub(g,d.one)))}return u=b(d,u,p.date1904),(0,i.validDateRange)(e,u)?u:o.numErrorOper}!function(e){e[e.None=0]="None",e[e.Saturday=1]="Saturday",e[e.Sunday=2]="Sunday",e[e.Monday=4]="Monday",e[e.Tuesday=8]="Tuesday",e[e.Wednesday=16]="Wednesday",e[e.Thursday=32]="Thursday",e[e.Friday=64]="Friday"}(S||(S={}));const F=1900,E=-9999;function A(e,t,[r,n]){const a=(0,i.chkDateOper)(t,r);if((0,o.isErrorOper)(a))return a;let s=(0,i.chkNumOper)(t,n);if((0,o.isErrorOper)(s))return s;const{mathpack:l,config:u}=t;s=l.cond(s)>0?l.floor(s):l.ceil(s);const c=function(e,t,r,n){const{mathpack:a,datepack:s,config:l}=e,u={...l,date1904:!1},c=s.fromNum(u,t,o.Rounding.RoundSec);if(!1===c)return c;let d=a.fromNumber(c.dom),p=a.fromNumber(c.mon);const h=a.fromNumber(12);let g=a.fromNumber(c.yr);if(a.cond(r)>=0){g=(0,i.assertNumber)(a.add(a.floor((0,i.assertNumber)(a.div(r,h))),g));const e=(0,i.assertNumber)((0,i.numMod)(a,r,h)),t=(0,i.assertNumber)(a.add(e,p));1===a.cond2(t,h)&&(g=(0,i.assertNumber)(a.add(g,a.one))),p=(0,i.assertNumber)((0,i.numMod)(a,t,h))}else{const e=a.neg(r),t=a.floor((0,i.assertNumber)(a.div(e,h)));g=(0,i.assertNumber)(a.sub(g,t));const n=(0,i.assertNumber)((0,i.numMod)(a,e,h));if(a.cond2(n,p)>=0)g=(0,i.assertNumber)(a.sub(g,a.one)),p=(0,i.assertNumber)(a.add((0,i.assertNumber)(a.sub(p,n)),h));else{const e=(0,i.assertNumber)(a.sub(p,n));p=(0,i.assertNumber)((0,i.numMod)(a,e,h))}}0===a.cond(p)&&(p=h);const m=a.lfix(p);switch(m){case 4:case 6:case 9:case 11:const e=a.fromNumber(30);a.cond2(d,e)>0&&(d=e);break;case 2:a.cond2(d,a.fromNumber(28))>0&&(d=a.fromNumber(s.daysPerMonth(2,a.toNumber(g),!1)))}if(n&&(d=a.fromNumber(s.daysPerMonth(m,a.toNumber(g),!1))),a.lfix(g)<(u.dateCompatibility?F:E))return!1;const f=function(e,t,r,n,i,a){const s=e.lfix(n),l=e.lfix(i),u=e.lfix(a);return t.toNum(r,(0,o.dateTime)(u,l,s,0,0,0,0,0,o.Rounding.RoundSec))}(a,s,u,d,p,g);return!(0,o.isErrorOper)(f)&&f}(t,a,s,!e);return!1===c?o.numErrorOper:b(l,c,u.date1904)}function I(e,[t,r,n,a]){const s=e.mathpack;let l,u=S.Saturday|S.Sunday,c=5;function d(e){u=e,c=7;let t=u;for(;0!==t;)1==(1&t)&&(c-=1),t>>=1}if(void 0!==n&&!(0,o.isMissingOper)(n))if((0,o.isStringOper)(n)){const e=T(n.value);if(!1===e)return o.valueErrorOper;d(e)}else{const t=(0,i.chkNumOper)(e,n);if((0,o.isErrorOper)(t))return o.valueErrorOper;const r=C(s.lfix(t));if(!1===r)return o.numErrorOper;d(r)}const p=a??o.missingOper,h=(0,i.chkDateOper)(e,t);if((0,o.isErrorOper)(h))return h;const g=(0,i.chkDateOper)(e,r);if((0,o.isErrorOper)(g))return g;let m,f=s.lfix(h),v=s.lfix(g);f>v?(m=f,f=v,v=m,l=-1):l=1,m=f%7,m=v%7;let b=0,k=f<v?f:v,F=f<v?v:f;for(;k%7!=0&&k!==F;)y(u,k)||(b+=1),k+=1;for(;F%7!=6&&k!==F;)y(u,F)||(b+=1),F-=1;if(F===k&&1!=(u>>k%7&1)&&(b+=1),f>v){const e=k;k=F,F=e}let E=s.fromNumber(c*Math.floor((F+1-k)/7)+b);switch(p.kind){case o.OperKind.Number:case o.OperKind.String:const t=(0,i.chkDateOper)(e,p);if((0,o.isErrorOper)(t))return t;m=s.lfix(t),m>=f&&m<=v&&m%7>=2&&(E=(0,i.assertNumber)(s.sub(E,s.one)));break;case o.OperKind.Range:case o.OperKind.Array:const r=function(e,t,r,n,a,s){let l;const u=e.mathpack;if(void 0===s||(0,o.isMissingOper)(s))l=S.Saturday|S.Sunday;else if((0,o.isStringOper)(s)){const e=T(s.value);if(!1===e)return o.valueErrorOper;l=e}else{const t=(0,i.chkNumOper)(e,s);if((0,o.isErrorOper)(t))return o.valueErrorOper;const r=C(u.lfix(t));if(!1===r)return o.numErrorOper;l=r}const c=u.fromNumber(r),d=u.fromNumber(n),p=e.dereferenceOper(a,o.OperKind.Array);if(!(0,o.isArrayOper)(p))return o.valueErrorOper;const h=[];function g(e){if(u.cond2(e,c)>=0&&u.cond2(e,d)<=0){const t=u.lfix(e);y(l,t)||h.push(e)}}for(let t=0;t<p.rows;t+=1)for(let r=0;r<p.cols;r+=1){const n=p.opers[t][r];switch(n.kind){case o.OperKind.Number:case o.OperKind.String:const t=(0,i.chkDateOper)(e,n);if((0,o.isErrorOper)(t))return t;g(t);break;case o.OperKind.Blank:break;case o.OperKind.Error:return n;default:return o.valueErrorOper}}let m=t;if(0!==h.length){const e=h.sort(((e,t)=>u.cond2(e,t)));let t=e[0];m=(0,i.assertNumber)(u.sub(m,u.one));for(let r=0;r<e.length;r+=1){const n=e[r];0!==u.cond2(n,t)&&(t=n,m=(0,i.assertNumber)(u.sub(m,u.one)))}}return m}(e,E,f,v,p,n);if((0,o.isErrorOper)(r))return r;E=r;break;case o.OperKind.Error:return p;case o.OperKind.Missing:break;default:return o.valueErrorOper}return s.mul(s.fromNumber(l),E)}function x(e,t,r,n,o,i,a){const{mathpack:s}=e,l=360*(r-t),u=30*(o-n);return s.fromNumber(a-i+u+l)}function w(e,t,r,n){const{datepack:o,config:i}=e;return t===o.daysPerMonth(r,n,i.dateCompatibility)}var P;t.edate=A.bind(void 0,!0),t.eomonth=A.bind(void 0,!1),function(e){e[e.DefaultBasis=0]="DefaultBasis",e[e.Basis30360=0]="Basis30360",e[e.BasisActual=1]="BasisActual",e[e.BasisActual360=2]="BasisActual360",e[e.BasisActual365=3]="BasisActual365",e[e.BasisE30360=4]="BasisE30360"}(P||(P={}))},92674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delta=function(e,t){const r=i(e,t);if(!Array.isArray(r))return r;const[n,o]=r,a=e.mathpack;return 0===a.cond2(n,o)?a.one:a.zero},t.gestep=function(e,t){const r=i(e,t);if(!Array.isArray(r))return r;const[n,o]=r,a=e.mathpack;return a.cond2(n,o)>=0?a.one:a.zero};const n=r(85882),o=r(25328);function i(e,t){const[r,i]=t,a=void 0===i||(0,n.isMissingOper)(i)?e.mathpack.zero:(0,o.chkNumOper)(e,i);if((0,n.isErrorOper)(a))return a;const s=(0,o.chkNumOper)(e,r);return(0,n.isErrorOper)(s)?s:[s,a]}},88390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWorksheetFunc=function(e){return F||(F=!0,(0,o.isFeatureEnabled)(o.FeatureName.CalcRecordFunctions)&&(k[i.WorksheetFuncId.RECORD]=b.record),(0,o.isFeatureEnabled)(o.FeatureName.CalcNestedRecordFunction)&&(k[i.WorksheetFuncId.NESTEDRECORD]=b.record),(0,o.isFeatureEnabled)(o.FeatureName.CalcLambdaBasicFunctions)&&(k[i.WorksheetFuncId.APPLY]=d.apply,k[i.WorksheetFuncId.ISLAMBDA]=f.islambda)),k[e]};const n=r(16533),o=r(52123),i=r(85882),a=n.__importStar(r(29049)),s=n.__importStar(r(47776)),l=n.__importStar(r(13982)),u=n.__importStar(r(92674)),c=n.__importStar(r(52705)),d=n.__importStar(r(28820)),p=n.__importStar(r(82010)),h=n.__importStar(r(4167)),g=n.__importStar(r(66079)),m=n.__importStar(r(47332)),f=n.__importStar(r(22024)),v=n.__importStar(r(86592)),b=n.__importStar(r(60242)),y=n.__importStar(r(97840)),S=n.__importStar(r(62206)),C=n.__importStar(r(56717)),T=n.__importStar(r(88573)),k={};k[i.WorksheetFuncId.SUM]=a.sum,k[i.WorksheetFuncId.PRODUCT]=a.product,k[i.WorksheetFuncId.AVERAGE]=a.average,k[i.WorksheetFuncId.COUNTBLANK]=a.countblank,k[i.WorksheetFuncId.MAX]=a.max,k[i.WorksheetFuncId.MIN]=a.min,k[i.WorksheetFuncId.AND]=a.and,k[i.WorksheetFuncId.COUNTA]=a.counta,k[i.WorksheetFuncId.OR]=a.or,k[i.WorksheetFuncId.CONCAT]=a.concat,k[i.WorksheetFuncId.AVERAGEIF]=a.averageif,k[i.WorksheetFuncId.AVERAGEIFS]=a.averageifs,k[i.WorksheetFuncId.COUNT]=a.count,k[i.WorksheetFuncId.COUNTIF]=a.countif,k[i.WorksheetFuncId.COUNTIFS]=a.countifs,k[i.WorksheetFuncId.MEDIAN]=a.median,k[i.WorksheetFuncId.SUMSQ]=a.sumsq,k[i.WorksheetFuncId.SUMIF]=a.sumif,k[i.WorksheetFuncId.SUMIFS]=a.sumifs,k[i.WorksheetFuncId.LARGE]=a.large,k[i.WorksheetFuncId.SMALL]=a.small,k[i.WorksheetFuncId.RANK]=a.rank,k[i.WorksheetFuncId.RANK_EQ]=a.rank,k[i.WorksheetFuncId.RANK_AVG]=a.rank_avg,k[i.WorksheetFuncId.PERCENTILE]=a.percentile,k[i.WorksheetFuncId.PERCENTILE_INC]=a.percentile,k[i.WorksheetFuncId.PERCENTILE_EXC]=a.percentile_exc,k[i.WorksheetFuncId.QUARTILE]=a.quartile,k[i.WorksheetFuncId.QUARTILE_INC]=a.quartile,k[i.WorksheetFuncId.QUARTILE_EXC]=a.quartile_exc,k[i.WorksheetFuncId.TRIMMEAN]=a.trimmean,k[i.WorksheetFuncId.AVERAGEA]=a.averagea,k[i.WorksheetFuncId.MAXA]=a.maxa,k[i.WorksheetFuncId.MINA]=a.mina,k[i.WorksheetFuncId.MAXIFS]=a.maxifs,k[i.WorksheetFuncId.MINIFS]=a.minifs,k[i.WorksheetFuncId.XOR]=a.xor,k[i.WorksheetFuncId.AGGREGATE]=a.aggregate,k[i.WorksheetFuncId.SUBTOTAL]=a.subtotal,k[i.WorksheetFuncId.VAR]=a.var_,k[i.WorksheetFuncId.VAR_S]=a.var_,k[i.WorksheetFuncId.VARP]=a.varp,k[i.WorksheetFuncId.VAR_P]=a.varp,k[i.WorksheetFuncId.STDEV]=a.stdev,k[i.WorksheetFuncId.STDEV_S]=a.stdev,k[i.WorksheetFuncId.STDEVP]=a.stdevp,k[i.WorksheetFuncId.STDEV_P]=a.stdevp,k[i.WorksheetFuncId.VARA]=a.vara,k[i.WorksheetFuncId.VARPA]=a.varpa,k[i.WorksheetFuncId.STDEVA]=a.stdeva,k[i.WorksheetFuncId.STDEVPA]=a.stdevpa,k[i.WorksheetFuncId.AVEDEV]=a.avedev,k[i.WorksheetFuncId.DEVSQ]=a.devsq,k[i.WorksheetFuncId.MODE]=a.mode,k[i.WorksheetFuncId.MODE_SNGL]=a.mode,k[i.WorksheetFuncId.MODE_MULT]=a.mode_mult,k[i.WorksheetFuncId.TEXTJOIN]=a.textjoin,k[i.WorksheetFuncId.SUMPRODUCT]=a.sumproduct,k[i.WorksheetFuncId.GEOMEAN]=a.geomean,k[i.WorksheetFuncId.HARMEAN]=a.harmean,k[i.WorksheetFuncId.YEAR]=l.year,k[i.WorksheetFuncId.MONTH]=l.month,k[i.WorksheetFuncId.DAY]=l.day,k[i.WorksheetFuncId.HOUR]=l.hour,k[i.WorksheetFuncId.MINUTE]=l.minute,k[i.WorksheetFuncId.SECOND]=l.second,k[i.WorksheetFuncId.WEEKNUM]=l.weeknum,k[i.WorksheetFuncId.ISOWEEKNUM]=l.isoweeknum,k[i.WorksheetFuncId.WEEKDAY]=l.weekday,k[i.WorksheetFuncId.DATE]=l.date,k[i.WorksheetFuncId.TIME]=l.time,k[i.WorksheetFuncId.DAYS360]=l.days360,k[i.WorksheetFuncId.DAYS]=l.days,k[i.WorksheetFuncId.DATEDIF]=l.datedif,k[i.WorksheetFuncId.WORKDAY]=l.workday,k[i.WorksheetFuncId.WORKDAY_INTL]=l.workday_intl,k[i.WorksheetFuncId.EDATE]=l.edate,k[i.WorksheetFuncId.EOMONTH]=l.eomonth,k[i.WorksheetFuncId.NETWORKDAYS]=l.networkdays,k[i.WorksheetFuncId.NETWORKDAYS_INTL]=l.networkdays_intl,k[i.WorksheetFuncId.YEARFRAC]=l.yearFrac,k[i.WorksheetFuncId.DELTA]=u.delta,k[i.WorksheetFuncId.GESTEP]=u.gestep,k[i.WorksheetFuncId.NA]=c.na,k[i.WorksheetFuncId.T]=c.t_,k[i.WorksheetFuncId.N]=c.n_,k[i.WorksheetFuncId.TYPE]=c.type,k[i.WorksheetFuncId.ERROR_TYPE]=c.error_type,k[i.WorksheetFuncId.INFO]=c.info,k[i.WorksheetFuncId.IF]=p.if_,k[i.WorksheetFuncId.IFS]=p.ifs,k[i.WorksheetFuncId.SWITCH]=p.switch_,k[i.WorksheetFuncId.TRUE]=p.true_,k[i.WorksheetFuncId.FALSE]=p.false_,k[i.WorksheetFuncId.NOT]=p.not,k[i.WorksheetFuncId.CHOOSE]=p.choose,k[i.WorksheetFuncId.INDEX]=h.index,k[i.WorksheetFuncId.MATCH]=h.match,k[i.WorksheetFuncId.LOOKUP]=h.lookup,k[i.WorksheetFuncId.HLOOKUP]=h.hlookup,k[i.WorksheetFuncId.VLOOKUP]=h.vlookup,k[i.WorksheetFuncId.ABS]=g.abs,k[i.WorksheetFuncId.CEILING]=g.ceiling,k[i.WorksheetFuncId.ECMA_CEILING]=g.ceiling,k[i.WorksheetFuncId.DEGREES]=g.degrees,k[i.WorksheetFuncId.FLOOR]=g.floor,k[i.WorksheetFuncId.RADIANS]=g.radians,k[i.WorksheetFuncId.ROUND]=g.round,k[i.WorksheetFuncId.ROUNDUP]=g.roundup,k[i.WorksheetFuncId.ROUNDDOWN]=g.rounddown,k[i.WorksheetFuncId.EVEN]=g.even,k[i.WorksheetFuncId.SIGN]=g.sign,k[i.WorksheetFuncId.PI]=g.pi,k[i.WorksheetFuncId.SQRT]=g.sqrt,k[i.WorksheetFuncId.EXP]=g.exp,k[i.WorksheetFuncId.POWER]=g.power,k[i.WorksheetFuncId.LN]=g.ln,k[i.WorksheetFuncId.LOG10]=g.log10,k[i.WorksheetFuncId.LOG]=g.log,k[i.WorksheetFuncId.SIN]=g.sin,k[i.WorksheetFuncId.COS]=g.cos,k[i.WorksheetFuncId.TAN]=g.tan,k[i.WorksheetFuncId.ASIN]=g.asin,k[i.WorksheetFuncId.ACOS]=g.acos,k[i.WorksheetFuncId.ATAN]=g.atan,k[i.WorksheetFuncId.ATAN2]=g.atan2,k[i.WorksheetFuncId.FACT]=g.fact,k[i.WorksheetFuncId.SQRTPI]=g.sqrtpi,k[i.WorksheetFuncId.FACTDOUBLE]=g.factdouble,k[i.WorksheetFuncId.INT]=g.int,k[i.WorksheetFuncId.TRUNC]=g.trunc,k[i.WorksheetFuncId.ODD]=g.odd,k[i.WorksheetFuncId.MROUND]=g.mround,k[i.WorksheetFuncId.QUOTIENT]=g.quotient,k[i.WorksheetFuncId.FLOOR_MATH]=g.floor_math,k[i.WorksheetFuncId.FLOOR_PRECISE]=g.floor_precise,k[i.WorksheetFuncId.CEILING_MATH]=g.ceiling_math,k[i.WorksheetFuncId.CEILING_PRECISE]=g.ceiling_precise,k[i.WorksheetFuncId.ISO_CEILING]=g.ceiling_precise,k[i.WorksheetFuncId.MOD]=g.mod,k[i.WorksheetFuncId.TEXT]=m.text,k[i.WorksheetFuncId.FIXED]=m.fixed,k[i.WorksheetFuncId.DOLLAR]=m.dollar,k[i.WorksheetFuncId.VALUE]=m.value,k[i.WorksheetFuncId.DATEVALUE]=m.datevalue,k[i.WorksheetFuncId.TIMEVALUE]=m.timevalue,k[i.WorksheetFuncId.NUMBERVALUE]=m.numbervalue,k[i.WorksheetFuncId.ARRAYTOTEXT]=m.arraytotext,k[i.WorksheetFuncId.VALUETOTEXT]=m.valuetotext,k[i.WorksheetFuncId.ISERROR]=f.iserror,k[i.WorksheetFuncId.ISERR]=f.iserr,k[i.WorksheetFuncId.ISBLANK]=f.isblank,k[i.WorksheetFuncId.ISLOGICAL]=f.islogical,k[i.WorksheetFuncId.ISNA]=f.isna,k[i.WorksheetFuncId.ISNONTEXT]=f.isnontext,k[i.WorksheetFuncId.ISTEXT]=f.istext,k[i.WorksheetFuncId.ISNUMBER]=f.isnumber,k[i.WorksheetFuncId.ISREF]=f.isref,k[i.WorksheetFuncId.ISEVEN]=f.iseven,k[i.WorksheetFuncId.ISODD]=f.isodd,k[i.WorksheetFuncId.ISFORMULA]=f.isformula,k[i.WorksheetFuncId.FORMULATEXT]=f.formulatext,k[i.WorksheetFuncId.ROWS]=v.rows,k[i.WorksheetFuncId.COLUMNS]=v.columns,k[i.WorksheetFuncId.AREAS]=v.areas,k[i.WorksheetFuncId.SHEETS]=v.sheets,k[i.WorksheetFuncId.ROW]=v.row,k[i.WorksheetFuncId.COLUMN]=v.column,k[i.WorksheetFuncId.SHEET]=v.sheet,k[i.WorksheetFuncId.OFFSET]=v.offset,k[i.WorksheetFuncId.TRANSPOSE]=v.transpose,k[i.WorksheetFuncId.SINGLE]=v.single,k[i.WorksheetFuncId.ADDRESS]=y.address,k[i.WorksheetFuncId.INDIRECT]=y.indirect,k[i.WorksheetFuncId.TAKE]=y.take,k[i.WorksheetFuncId.DROP]=y.drop,k[i.WorksheetFuncId.SEQUENCE]=y.sequence,k[i.WorksheetFuncId.HSTACK]=y.hstack,k[i.WorksheetFuncId.VSTACK]=y.vstack,k[i.WorksheetFuncId.CHOOSECOLS]=y.choosecols,k[i.WorksheetFuncId.CHOOSEROWS]=y.chooserows,k[i.WorksheetFuncId.TOCOL]=y.tocol,k[i.WorksheetFuncId.TOROW]=y.torow,k[i.WorksheetFuncId.EXPAND]=y.expand,k[i.WorksheetFuncId.WRAPCOLS]=y.wrapcols,k[i.WorksheetFuncId.WRAPROWS]=y.wraprows,k[i.WorksheetFuncId.FILTER]=s.filter,k[i.WorksheetFuncId.SORT]=s.sort,k[i.WorksheetFuncId.SORTBY]=s.sortby,k[i.WorksheetFuncId.UNIQUE]=s.unique,k[i.WorksheetFuncId.LEFT]=S.left,k[i.WorksheetFuncId.RIGHT]=S.right,k[i.WorksheetFuncId.MID]=S.mid,k[i.WorksheetFuncId.LEN]=S.len,k[i.WorksheetFuncId.CONCATENATE]=S.concatenate,k[i.WorksheetFuncId.EXACT]=S.exact,k[i.WorksheetFuncId.REPT]=S.rept,k[i.WorksheetFuncId.TRIM]=S.trim,k[i.WorksheetFuncId.CLEAN]=S.clean,k[i.WorksheetFuncId.CHAR]=S.char,k[i.WorksheetFuncId.UNICHAR]=S.unichar,k[i.WorksheetFuncId.CODE]=S.code,k[i.WorksheetFuncId.UNICODE]=S.unicode,k[i.WorksheetFuncId.LOWER]=S.lower,k[i.WorksheetFuncId.UPPER]=S.upper,k[i.WorksheetFuncId.PROPER]=S.proper,k[i.WorksheetFuncId.FIND]=S.find,k[i.WorksheetFuncId.REPLACE]=S.replace,k[i.WorksheetFuncId.SEARCH]=S.search,k[i.WorksheetFuncId.SUBSTITUTE]=S.substitute,k[i.WorksheetFuncId.TEXTBEFORE]=S.textBefore,k[i.WorksheetFuncId.TEXTAFTER]=S.textAfter,k[i.WorksheetFuncId.TEXTSPLIT]=S.textSplit,k[i.WorksheetFuncId.RAND]=C.rand,k[i.WorksheetFuncId.RANDBETWEEN]=C.randbetween,k[i.WorksheetFuncId.NOW]=C.now,k[i.WorksheetFuncId.TODAY]=C.today,k[i.WorksheetFuncId.RANDARRAY]=C.randarray,k[i.WorksheetFuncId.HYPERLINK]=T.hyperlink,k[i.WorksheetFuncId.FIELDVALUE]=b.fieldvalue,k[i.WorksheetFuncId._FV]=b.fieldvalue,k[i.WorksheetFuncId.MAKEARRAY]=d.makearray,k[i.WorksheetFuncId.ISOMITTED]=f.isomitted,k[i.WorksheetFuncId.MAP]=d.map,k[i.WorksheetFuncId.BYROW]=d.byrow,k[i.WorksheetFuncId.BYCOL]=d.bycol,k[i.WorksheetFuncId.REDUCE]=d.reduce,k[i.WorksheetFuncId.SCAN]=d.scan,k[i.WorksheetFuncId.XLOOKUP]=h.xlookup,k[i.WorksheetFuncId.XMATCH]=h.xmatch;let F=!1},52705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.na=function(e,t){return o.naErrorOper},t.t_=function(e,[t]){const r=l(e,t);return(0,o.isStringOper)(r)||(0,o.isErrorOper)(r)?r:s.emptyStringOper},t.n_=function(e,[t]){const r=l(e,t);if((0,o.isNumberOper)(r)||(0,o.isErrorOper)(r))return r;const n=e.mathpack;return(0,o.isBooleanOper)(r)&&r.value?n.one:n.zero},t.type=function(e,[t]){const r=e.mathpack;switch(t.kind){case o.OperKind.Number:return r.fromNumber(1);case o.OperKind.String:return r.fromNumber(2);case o.OperKind.Boolean:return r.fromNumber(4);case o.OperKind.Error:return r.fromNumber(16);case o.OperKind.Array:return r.fromNumber(64);case o.OperKind.Rich:return r.fromNumber(128);default:return(0,n.assertNever)("calc.funcs.type",t)}},t.error_type=function(e,[t]){return(0,o.isErrorOper)(t)?(t.type>o.ErrorType.CALC&&(0,i.throwEvaluationError)((0,o.notImplemented)(["ERROR.TYPE for "+String(t.type)])),e.mathpack.fromNumber(t.type)):o.naErrorOper},t.info=function(e,t){return o.valueErrorOper};const n=r(52123),o=r(85882),i=r(48742),a=r(93600),s=r(60233);function l(e,t){if((0,o.isRangeOper)(t)){if((0,o.isSheetIndex)(t.sheets)){const r=(0,o.rangeSeqOper)(t.sheets,[(0,o.gridRangeAnchor)(t.ranges[0])]);return e.dereferenceOper(r,a.readOperType)}return o.valueErrorOper}return t}},28820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apply=function(e,[t,...r]){const n=u(e,t,r.length);return(0,o.isErrorOper)(n)?n:e.applyLambda(n,r)},t.makearray=function(e,[t,r,n]){const a=u(e,n,2);if((0,o.isErrorOper)(a))return a;const l=e.mathpack,d=(0,o.isMissingOper)(t)?1:l.fix(t),p=(0,o.isMissingOper)(r)?1:l.fix(r);return d<1||p<1?o.valueErrorOper:((0,i.validateArraySize)(d,p),(0,s.machineCall)(new s.ArrayMachine(e,d,p,((t,r)=>{const n=e.mathpack,o=[n.fromNumber(t+1),n.fromNumber(r+1)];return e.applyLambda(a,o)}),c(o.WorksheetFuncId.MAKEARRAY,e))))},t.map=function(e,t){const r=t.slice(0,t.length-1),i=t[t.length-1];return d(e,o.WorksheetFuncId.MAP,r,i,n.identity)},t.byrow=function(e,t){const r=[t[0]],n=t[1];return void 0===n?o.naErrorOper:d(e,o.WorksheetFuncId.BYROW,r,n,(e=>({rows:e.rows,cols:1,slice:(t,r,n,o)=>e.slice(t,r,0,e.cols)})))},t.bycol=function(e,t){const r=[t[0]],n=t[1];return void 0===n?o.naErrorOper:d(e,o.WorksheetFuncId.BYCOL,r,n,(e=>({rows:1,cols:e.cols,slice:(t,r,n,o)=>e.slice(0,e.rows,n,o)})))},t.reduce=function(e,t){const[r,n,i]=t;return p(e,o.WorksheetFuncId.REDUCE,r,n,i)},t.scan=function(e,t){const[r,n,i]=t;return p(e,o.WorksheetFuncId.SCAN,r,n,i)};const n=r(52123),o=r(85882),i=r(25328),a=r(48742),s=r(93600),l=r(75736);function u(e,t,r){const n=function(e,t){return(0,o.isRangeOper)(t)&&(0,o.isSheetIndex)(t.sheets)&&1===t.ranges.length&&(0,o.isGridCell)(t.ranges[0])?e.dereferenceOper(t,o.SignatureType.All&~o.OperKind.Range):t}(e,t);return n instanceof l.LambdaOper&&n.checkArity(r)?n:o.valueErrorOper}function c(e,t){return r=>{let i=r;if((0,o.isRangeOper)(i)){if(!(0,o.isSheetIndex)(i.sheets)||1!==i.ranges.length||!(0,o.isGridCell)(i.ranges[0]))return(0,s.earlyReturn)((0,n.success)(o.calcErrorOper));i=t.dereferenceOper(i,o.SignatureType.All&~o.OperKind.Range),(0,n.assertTrue)("calc.funcs.coerceLambdaRvToArrayElt",!(0,o.isRangeOper)(i))}return(0,o.isArrayOper)(i)?1!==i.rows||1!==i.cols?(0,s.earlyReturn)((0,n.success)(o.calcErrorOper)):i.opers[0][0]:((0,o.isMissingOper)(i)&&(0,a.throwEvaluationError)((0,o.notImplemented)([`${(0,o.englishWorksheetFuncIdToName)(e)}: MissingOper in result`])),i)}}function d(e,t,r,a,l){const d=u(e,a,r.length);if((0,o.isErrorOper)(d))return d;const p=[];for(const e of r){if(!(0,o.isArrayOper)(e)&&!(0,o.isRangeOper)(e))return o.valueErrorOper;const t=(0,i.rangeOrArrayToVal)(e,o.valueErrorOper);if((0,o.isErrorOper)(t))return t;p.push(l((0,i.makeSlicer)(t)))}const h=p.map((e=>e.rows)).reduce(n.fastMin),g=p.map((e=>e.rows)).reduce(n.fastMax),m=p.map((e=>e.cols)).reduce(n.fastMin),f=p.map((e=>e.cols)).reduce(n.fastMax);return(0,i.validateArraySize)(g,f),(0,s.machineCall)(new s.ArrayMachine(e,g,f,((t,r)=>t>=h||r>=m?o.naErrorOper:e.applyLambda(d,p.map((e=>e.slice(t,1,r,1))))),c(t,e)))}function p(e,t,r,a,l){const d=(0,i.rangeOrArrayToVal)(a,o.valueErrorOper);if((0,o.isErrorOper)(d))return d;const p=(0,i.makeSlicer)(d),h=u(e,l,2);if((0,o.isErrorOper)(h))return h;const g=!(0,o.isMissingOper)(r);let m,f=g?r:void 0,v=!0;if(t===o.WorksheetFuncId.REDUCE)m=e=>(f=e,o.blankOper);else{const r=c(t,e);m=e=>{const t=r(e);return t.kind===s.EarlyReturnKind.EarlyReturn||(f=t),t}}const b=(0,s.machineCall)(new s.ArrayMachine(e,p.rows,p.cols,((t,r)=>{const o=v;return v=!1,o&&!g?p.slice(t,1,r,1):((0,n.assertTrue)("calc.funcs.scanReduce",void 0!==f),e.applyLambda(h,[f,p.slice(t,1,r,1)]))}),m));return t===o.WorksheetFuncId.REDUCE?(0,s.machineCall)(new s.ThenMachine(e,(()=>b),(()=>((0,n.assertTrue)("calc.funcs.scanReduce",void 0!==f),f)))):b}},82010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.if_=function(e,t){const r=t[0];(0,n.assertTrue)("calc.funcs.if: condition is not a boolean",(0,o.isBooleanOper)(r));const i=t[r.value?1:2];return(0,n.assertTrue)("calc.funcs.if: result is undefined",void 0!==i),i},t.choose=function(e,t){const r=t[0];(0,n.assertTrue)("calc.funcs.choose",(0,o.isNumberOper)(r));const i=e.mathpack.fix(r);return i<1||i>t.length-1?o.valueErrorOper:t[i]},t.ifs=function e(t,r){for(let i=0;i<r.length;i+=2){const a=r[i];if((0,o.isArrayOper)(a)){const n=r.slice(i);return u(t,s,e,n)}if((0,o.isErrorOper)(a))return a;if((0,n.assertTrue)("calc.funcs.ifs",(0,o.isBooleanOper)(a)),a.value)return r[i+1]}return o.naErrorOper},t.switch_=function e(t,r){const a=r[0];if((0,o.isArrayOper)(a))return u(t,l,e,r);if((0,o.isErrorOper)(a))return a;const s=function({mathpack:e,localeInfo:t},r){switch(r.kind){case o.OperKind.Number:return t=>(0,o.isRichOper)(t)?(0,i.throwEvaluationError)((0,o.notImplemented)(["SWITCH with a rich value case"])):(0,o.isNumberOper)(t)&&0===e.compare(r,t);case o.OperKind.String:return e=>(0,o.isRichOper)(e)?(0,i.throwEvaluationError)((0,o.notImplemented)(["SWITCH with a rich value case"])):(0,o.isStringOper)(e)&&0===t.stringCompareCI(r.value,e.value);case o.OperKind.Boolean:return e=>(0,o.isRichOper)(e)?(0,i.throwEvaluationError)((0,o.notImplemented)(["SWITCH with a rich value case"])):(0,o.isBooleanOper)(e)&&r.value===e.value;case o.OperKind.Rich:return(0,i.throwEvaluationError)((0,o.notImplemented)(["SWITCH with a rich value condition"]));default:return(0,n.assertNever)("calc.funcs.makeSwitchComparer",r)}}(t.config,a);for(let n=1;n<r.length-1;n+=2){const i=o.OperKind.Error|o.OperKind.Rich|o.OperKind.Number|o.OperKind.Boolean|o.OperKind.String|o.OperKind.Array,a=t.coerceOper(t.dereferenceOper(r[n],i),i);if((0,o.isArrayOper)(a))return u(t,l,e,r);if((0,o.isErrorOper)(a))return a;if(s(a))return r[n+1]}return r.length%2==0?r[r.length-1]:o.naErrorOper},t.true_=function(e,t){return o.trueOper},t.false_=function(e,t){return o.falseOper},t.not=function(e,[t]){return(0,o.booleanOper)(!t.value)};const n=r(52123),o=r(85882),i=r(48742),a=r(60233),s=(0,a.makeStrict)((0,o.getWorksheetFuncType)(o.WorksheetFuncId.IFS)),l=(0,a.makeStrict)((0,o.getWorksheetFuncType)(o.WorksheetFuncId.SWITCH));function u(e,t,r,n){const i=n.slice();return e.dereferenceOpers(i,t),(0,a.arrayLift)(e,t,(n=>{const i=[];for(let r=0;r<n.length;r+=1){const a=(0,o.getArgType)(t,r,n.length);i[r]=e.coerceOper(n[r],a)}return r(e,i)}),i)}},4167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.index=u,t.makeLookupComparer=h,t.binarySearch=g,t.linearSearch=m,t.match=function(e,[t,r,i=e.mathpack.one]){const a=e.mathpack,s=function(e){switch(e.kind){case o.OperKind.Number:return e;case o.OperKind.Range:if(!(0,o.isSheetIndex)(e.sheets))return o.valueErrorOper;if(e.ranges.length>1)return o.refErrorOper;const t=e.ranges[0];return 1!==t.rows||1!==t.cols?o.refErrorOper:e}}(i);if((0,o.isErrorOper)(s))return s;const[l]=e.dereferenceAllOpers([s]),u=v(e,l);if((0,o.isErrorOper)(u))return u;const c=b(r);if((0,o.isErrorOper)(c))return c;const[d]=e.dereferenceAllOpers([c]),p=y(d),h=1===p.rows,f=(0,n.sparseArray2DTo1D)(p,h);let S=-1;return S=a.cond(u)>0?g(e,t,f):0===a.cond(u)?m(e,t,f,o.OperatorId.Eq):m(e,t,f,o.OperatorId.Lt),S<0||S>=f.length?o.naErrorOper:e.mathpack.fromNumber(S+1)},t.lookup=function(e,[t,r,i]){const a=f(r);if((0,o.isErrorOper)(a))return a;const s=C(a),l=k(a,s),[u]=e.dereferenceAllOpers([l]),c=(0,n.sparseArray2DTo1D)(y(u),s),d=g(e,t,c);if(d<0)return o.naErrorOper;if(void 0!==i){const t=b(i);if((0,o.isErrorOper)(t))return t;const r=C(t),a=function(e,t,r){if((0,o.isRangeOper)(r)){const i=r.ranges[0],a=(0,o.gridRange)(i.row,i.col,(0,n.fastMin)(t?1:e,o.sheetRows-i.row),(0,n.fastMin)(t?e:1,o.sheetCols-i.col));return(0,o.range3DOper)(r.sheets,a)}return r}(c.length,r,t),s=(0,n.sparseArray2DTo1D)(S(e,a),r);return d>=s.length?(0,o.isArrayOper)(t)?o.naErrorOper:o.blankOper:s.get(d)}const p=S(e,a);return s?p.get(p.rows-1,d):p.get(d,p.cols-1)},t.hlookup=function(e,t){return T(e,t,!0)},t.vlookup=function(e,t){return T(e,t,!1)},t.makeWildcardComparer=w,t.xlookup=function(e,t){const[r,i,a,s=o.missingOper,l,c]=t,d=I(e,i,l,c);if(void 0!==d.kind)return d;const p=function(e){switch(e.kind){case o.OperKind.Range:return(0,n.assertTrue)("calc.funcs.xlookup",(0,o.isSheetIndex)(e.sheets)),e.ranges.length>1?o.naErrorOper:[e.ranges[0].rows,e.ranges[0].cols];case o.OperKind.Array:return[e.rows,e.cols]}}(a);if(!Array.isArray(p))return p;const[h,g]=p,m=d.lookupArray.length,f=m===h&&(1===h||!d.isHorizontal),v=m===g&&(1===g||d.isHorizontal);if(!f&&!v)return o.valueErrorOper;const b=P(e,d,r);if(void 0===b)return(0,o.isMissingOper)(s)?o.naErrorOper:s;const y=e.mathpack;return u(e,f?[a,y.fromNumber(b+1),1===g?y.one:y.zero]:[a,1===h?y.one:y.zero,y.fromNumber(b+1)])},t.xmatch=function(e,t){const[r,n,i,a]=t,s=I(e,n,i,a);if(void 0!==s.kind)return s;const l=P(e,s,r);return void 0===l?o.naErrorOper:e.mathpack.fromNumber(l+1)};const n=r(52123),o=r(85882),i=r(30108),a=r(21254),s=r(48742),l=r(58055);function u(e,[t,r,i,a]){const s=e.mathpack,l=s.sfix(r);if(l<0)return o.valueErrorOper;const u=void 0===i?void 0:s.sfix(i);if(void 0!==u&&u<0)return o.valueErrorOper;const c=void 0===a?0:s.sfix(a)-1;if(c<0)return o.valueErrorOper;let d,p;switch(t.kind){case o.OperKind.Range:if(!(0,o.isSheetIndex)(t.sheets))return o.valueErrorOper;if(c>=t.ranges.length)return o.refErrorOper;const e=t.ranges[c];if(void 0===u)if(1===e.rows)d=0,p=l-1;else{if(1!==e.cols)return o.refErrorOper;d=l-1,p=-1}else d=l-1,p=u-1;if(d>=e.rows||p>=e.cols)return o.refErrorOper;const r=(0,o.gridRange)(e.row+(0,n.fastMax)(d,0),e.col+(0,n.fastMax)(p,0),-1===d?e.rows:1,-1===p?e.cols:1);return(0,o.rangeSeqOper)(t.sheets,[r]);case o.OperKind.Array:return c>0?o.refErrorOper:(void 0===u?1===t.rows?(d=0,p=l-1):(d=l-1,p=-1):(d=l-1,p=u-1),d>=t.rows||p>=t.cols?o.refErrorOper:-1===d&&-1===p?t:-1===d?(0,o.arrayOper)(t.rows,1,t.opers.map((e=>[e[p]]))):-1===p?(0,o.arrayOper)(1,t.cols,[t.opers[d]]):t.opers[d][p]);default:return(0,n.assertNever)("calc.funcs.lookupFuncs: INDEX",t)}}const c=e=>e<0?o.OperatorId.Lt:e>0?o.OperatorId.Gt:o.OperatorId.Eq,d=(e,t,r)=>c(e.cond2(t,r)),p=(e,t)=>c(e-t);function h(e,t,r=!1){const i=!0,{localeInfo:l,mathpack:u}=e.config;let h;switch(t.kind){case o.OperKind.Number:h=e=>({correctType:i,sgnT:d(u,e,t)});break;case o.OperKind.String:if(r){const e=new a.WildExp(l,t.value);h=t=>({correctType:i,sgnT:e.test(t.value)?o.OperatorId.Eq:o.OperatorId.Ne})}else h=e=>({correctType:i,sgnT:c(l.stringCompareCI(e.value,t.value))});break;case o.OperKind.Boolean:h=e=>({correctType:i,sgnT:p(e.value,t.value)});break;case o.OperKind.Rich:return(0,s.throwEvaluationError)((0,o.notImplemented)(["lookup with rich value condition"]));case o.OperKind.Blank:h=()=>({correctType:i,sgnT:o.OperatorId.Eq});break;default:return(0,n.assertNever)("calc.funcs.makeLookupComparer",t)}return e=>{const r=(0,o.isRichOper)(e)?e.getFallback():e;return t.kind!==r.kind?{correctType:!1,sgnT:o.OperatorId.Ne}:h(r)}}function g(e,t,r){let n=!1;const i=r.length-1;let a=Math.floor((0+i)/2),s=0,l=i;const u=h(e,t);for(;;){let e=u(r.get(a)).sgnT;if(e===o.OperatorId.Ne){if(a<l)for(let t=a+1;t<=l;t+=1)if(e=u(r.get(t)).sgnT,e!==o.OperatorId.Ne){a=t;break}e===o.OperatorId.Ne&&(a=Math.floor((s+l)/2),e=o.OperatorId.Gt)}if(e===o.OperatorId.Eq){if(a<i){a+=1,n=!0,s=a,l=a;continue}return a}if(e===o.OperatorId.Lt?s=a+1:l=a-1,!(s<=l)){if(n)a-=1;else if(e===o.OperatorId.Gt&&(a-=1,a>=0)){s=a,l=a;continue}return a}a=Math.floor((s+l)/2)}}function m(e,t,r,i){let a=-1;const s=h(e,t,i===o.OperatorId.Eq);for(let e=0;e<r.length;e+=1){const t=r.get(e),{correctType:l,sgnT:u}=s(t);if(l){if(u===o.OperatorId.Eq)return e;if(u!==o.OperatorId.Ne&&u===i)return a;a=e}e===r.denseLength&&(e=(0,n.fastMax)(e,r.length-2))}return i!==o.OperatorId.Eq?a:r.length}function f(e){switch(e.kind){case o.OperKind.Number:return o.naErrorOper;case o.OperKind.Range:return(0,o.isSheetIndex)(e.sheets)?e.ranges.length>1?o.naErrorOper:e:o.valueErrorOper;case o.OperKind.Array:return e}}function v(e,t){let r;switch(t.kind){case o.OperKind.Number:return t;case l.DerefOperKind.RangeValues:r=t.arrays[0].get(0,0);break;case o.OperKind.Array:r=t.opers[0][0];break;default:return(0,n.assertNever)("calc.funcs.lookupFuncs.getNumFromRef",t)}return r=e.coerceOper(r,o.OperKind.Number),(0,o.isErrorOper)(r)?o.refErrorOper:r}function b(e){switch(e.kind){case o.OperKind.Number:case o.OperKind.Rich:return o.naErrorOper;case o.OperKind.Range:if(!(0,o.isSheetIndex)(e.sheets))return o.valueErrorOper;if(e.ranges.length>1)return o.naErrorOper;const t=e.ranges[0];return 1!==t.rows&&1!==t.cols?o.naErrorOper:e;case o.OperKind.Array:return 1!==e.rows&&1!==e.cols?o.naErrorOper:e}}function y(e){switch(e.kind){case l.DerefOperKind.RangeValues:return e.arrays[0];case o.OperKind.Array:return new n.StrictSparseArray2D(e.rows,e.cols,e.rows,e.cols,e.opers,o.blankOper)}}function S(e,t){switch(t.kind){case o.OperKind.Range:const r=t.sheets,i=t.ranges[0];return new n.NonstrictSparseArray2D(i.rows,i.cols,i.rows,i.cols,((t,n)=>{const a=(0,o.gridCell)(i.row+t,i.col+n),[s]=e.dereferenceAllOpers([(0,o.rangeSeqOper)(r,[a])]);return s.arrays[0].get(0,0)}),(()=>(0,n.assertFalse)("calc.funcs.lookupFuncs: rangeOrArrayOperToLazyArray2D")));case o.OperKind.Array:return new n.StrictSparseArray2D(t.rows,t.cols,t.rows,t.cols,t.opers,o.blankOper)}}function C(e){if((0,o.isRangeOper)(e)){const t=e.ranges[0];return t.cols>t.rows}return e.cols>e.rows}function T(e,[t,r,i,a=o.trueOper],l){const u=f(r);if((0,o.isErrorOper)(u))return u;const c=k(u,l),[d]=e.dereferenceAllOpers([c]),p=(0,n.sparseArray2DTo1D)(y(d),l),h=a.value?g(e,t,p):m(e,t,p,o.OperatorId.Eq);if(h<0||h>=p.length)return o.naErrorOper;const b=function(e,t){switch(t.kind){case o.OperKind.Number:return t;case o.OperKind.Range:if(!(0,o.isSheetIndex)(t.sheets))return o.valueErrorOper;if(t.ranges.length>1)return o.refErrorOper;const r=t.ranges;return e.calcingArray?(0,s.throwEvaluationError)((0,o.notImplemented)(["HLOOKUP/VLOOKUP ref argument 3 in array formula"])):r[0].rows>1||r[0].cols>1?(0,s.throwEvaluationError)((0,o.notImplemented)(["HLOOKUP/VLOOKUP non-singleton ref argument 3"])):t;case o.OperKind.Array:return(0,s.throwEvaluationError)((0,o.notImplemented)(["HLOOKUP/VLOOKUP array argument 3"]))}}(e,i);if((0,o.isErrorOper)(b))return b;const[C]=e.dereferenceAllOpers([b]),T=v(e,C);if((0,o.isErrorOper)(T))return T;const F=e.mathpack.sfix(T)-1,E=S(e,u);return F<0?o.valueErrorOper:F>=(l?E.rows:E.cols)?o.refErrorOper:l?E.get(F,h):E.get(h,F)}function k(e,t){if((0,o.isRangeOper)(e)){const r=e.ranges[0],n=(0,o.gridRange)(r.row,r.col,t?1:r.rows,t?r.cols:1);return(0,o.rangeSeqOper)(e.sheets,[n])}return e}var F,E;function A(e){return e===E.DescendingBinary||e===E.AscendingBinary}function I(e,t,r=o.missingOper,i=o.missingOper){const a=(0,o.isMissingOper)(r)?F.Exact:e.mathpack.sfix(r);if(a<F.Lower||a>F.Wildcard)return o.valueErrorOper;const s=(0,o.isMissingOper)(i)?E.Linear:e.mathpack.sfix(i);if(s<E.DescendingBinary||s>E.AscendingBinary||0===s)return o.valueErrorOper;if(a===F.Wildcard&&A(s))return o.valueErrorOper;const l=f(t);if((0,o.isErrorOper)(l))return l;const[u]=e.dereferenceAllOpers([l]),c=y(u),{rows:d,cols:p}=c;let h;if(1===d)h=!0;else{if(1!==p)return o.valueErrorOper;h=!1}return{kind:void 0,lookupArray:(0,n.sparseArray2DTo1D)(c,h),matchMode:a,searchMode:s,isHorizontal:h}}function x(e,t,r,n,a){return r===o.OperatorId.Gt?t===F.Higher&&(void 0===a||c((0,i.sortOpers)(e,n,a,1,!1))===o.OperatorId.Lt):t===F.Lower&&(void 0===a||c((0,i.sortOpers)(e,n,a,1,!1))===o.OperatorId.Gt)}function w(e,t){const r=new a.WildExp(e.config.localeInfo,t.value);return e=>(0,o.isStringOper)(e)&&r.test(e.value)?o.OperatorId.Eq:o.OperatorId.Ne}function P(e,t,r){return A(t.searchMode)?function(e,{lookupArray:t,matchMode:r,searchMode:a},s){const l=e.config,u=a===E.DescendingBinary;let d,p=0,h=t.length-1;(0,n.assertTrue)("calc.funcs.xBinarySearch",r!==F.Wildcard);let g=!1;for(;h>=p;){const e=Math.floor((h+p)/2),n=(m=t.get(e),c((0,i.sortOpers)(l,m,s,1,!1)));if(n===o.OperatorId.Eq)g=!0,d=e;else if(!g){const t=r===F.Higher&&n===o.OperatorId.Gt,i=r===F.Lower&&n===o.OperatorId.Lt;(t||i)&&(d=e)}u!==(n===o.OperatorId.Lt)?p=e+1:h=e-1}var m;return d}(e,t,r):function(e,{lookupArray:t,matchMode:r,searchMode:a},s){const l=e.config;let u;const d=r===F.Lower||r===F.Higher,p=r===F.Wildcard&&(0,o.isStringOper)(s)?w(e,s):e=>c((0,i.sortOpers)(l,e,s,1,!1)),h=a===E.ReverseLinear?t.length-1:0,g=a===E.ReverseLinear?-1:1;for(let e=h;e>=0&&e<t.length;e+=g){const i=t.get(e),a=p(i);if(a===o.OperatorId.Eq){u=e;break}if(d&&((0,n.assertTrue)("calc.funcs.xLinearSearch",a!==o.OperatorId.Ne),x(l,r,a,i,void 0===u?void 0:t.get(u))&&(u=e)),e>=t.denseLength){const r=t.denseLength,o=t.length-1;e=g>0?(0,n.fastMax)(e,o-1):(0,n.fastMin)(e,r+1)}}return u}(e,t,r)}!function(e){e[e.Lower=-1]="Lower",e[e.Exact=0]="Exact",e[e.Higher=1]="Higher",e[e.Wildcard=2]="Wildcard"}(F||(F={})),function(e){e[e.DescendingBinary=-2]="DescendingBinary",e[e.ReverseLinear=-1]="ReverseLinear",e[e.Linear=1]="Linear",e[e.AscendingBinary=2]="AscendingBinary"}(E||(E={}))},66079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mod=t.abs=t.odd=t.even=t.rounddown=t.roundup=t.round=t.atan2=t.atan=t.acos=t.asin=t.tan=t.cos=t.sin=t.log10=t.ln=t.power=t.exp=t.sqrt=void 0,t.pi=function(e,t){return e.mathpack.pi},t.log=function(e,[t,r]){const o=e.mathpack;if(void 0===r)return o.log(t);const i=o.ln(t);if((0,n.isErrorOper)(i))return i;const a=o.ln(r);return(0,n.isErrorOper)(a)?a:o.div(i,a)},t.int=function(e,t){let[r]=t;const n=e.mathpack;return n.cond2(n.abs(r),n.fromNumber(1e15))<0&&(r=n.viewRound(r)),n.floor(r)},t.trunc=function(e,[t,r=e.mathpack.zero]){return e.mathpack.roundDown(t,r)},t.mround=function(e,[t,r]){const i=(0,o.chkNumOper)(e,t);if((0,n.isErrorOper)(i))return i;const a=(0,o.chkNumOper)(e,r);if((0,n.isErrorOper)(a))return a;const s=e.mathpack;if(0===s.cond(a))return s.zero;if(0!==s.cond(i)&&s.cond(i)<0!=s.cond(a)<0)return n.numErrorOper;const l=s.div(i,a);if((0,n.isErrorOper)(l))return n.numErrorOper;const u=s.floor(l),c=(0,o.assertNumber)(s.sub(l,u)),d=s.fromNumber(.5-5e-15);if(s.cond2(c,d)<0)return s.mul(u,a);const p=s.add(u,s.one);return(0,n.isErrorOper)(p)?p:s.mul(p,a)},t.ceiling=function(e,[t,r]){return i(e.mathpack,t,r)},t.ceiling_math=function(e,[t,r,o]){const a=e.mathpack;let s=void 0===r||(0,n.isMissingOper)(r)?a.one:a.abs(r);const l=void 0===o||(0,n.isMissingOper)(o)?a.zero:o;return 0!==a.cond(l)&&a.cond(t)<0&&(s=a.neg(s)),0===a.cond(s)?a.zero:i(a,t,s)},t.ceiling_precise=function(e,[t,r]){const o=e.mathpack,a=void 0===r||(0,n.isMissingOper)(r)?o.one:o.abs(r);return 0===o.cond(a)?o.zero:i(o,t,a)},t.floor=function(e,[t,r]){return a(e.mathpack,t,r)},t.floor_math=function(e,[t,r,o]){const i=e.mathpack;let s=void 0===r||(0,n.isMissingOper)(r)?i.one:i.abs(r);const l=void 0===o||(0,n.isMissingOper)(o)?i.zero:o;return 0!==i.cond(l)&&i.cond(t)<0&&(s=i.neg(s)),0===i.cond(s)?i.zero:a(i,t,s)},t.floor_precise=function(e,[t,r]){const o=e.mathpack,i=void 0===r||(0,n.isMissingOper)(r)?o.one:o.abs(r);return 0===o.cond(i)?o.zero:a(o,t,i)},t.sign=function(e,[t]){const r=e.mathpack;return r.fromNumber(r.cond(t))},t.degrees=function(e,[t]){const r=e.mathpack,n=(0,o.assertNumber)(r.div(r.fromNumber(180),r.pi));return r.mul(t,n)},t.radians=function(e,[t]){const r=e.mathpack,n=(0,o.assertNumber)(r.div(r.pi,r.fromNumber(180)));return r.mul(t,n)},t.quotient=function(e,[t,r]){const i=(0,o.chkNumOper)(e,t);if((0,n.isErrorOper)(i))return i;const a=(0,o.chkNumOper)(e,r);if((0,n.isErrorOper)(a))return a;const s=e.mathpack;if(0===s.cond(a))return n.div0ErrorOper;const l=s.div(i,a);return(0,n.isErrorOper)(l)?n.numErrorOper:s.cond(l)>0?s.floor(l):s.ceil(l)},t.fact=function(e,[t]){const r=e.mathpack,o=r.sfix(t);if(r.cond(t)<0||o>170)return n.numErrorOper;let i=r.one;for(let e=o;e>0;e-=1){if((0,n.isErrorOper)(i))return i;i=r.mul(r.fromNumber(e),i)}return i},t.factdouble=function(e,[t]){const r=(0,o.chkNumOper)(e,t);if((0,n.isErrorOper)(r))return r;const i=e.mathpack,a=i.floor(r);if(i.cond2(a,i.fromNumber(-1))<0||i.cond2(a,i.fromNumber(300))>0)return n.numErrorOper;let s=i.one;for(let e=i.toNumber(a);e>1;e-=2){if((0,n.isErrorOper)(s))return s;s=i.mul(i.fromNumber(e),s)}return s},t.sqrtpi=function(e,[t]){const r=(0,o.chkNumOper)(e,t);if((0,n.isErrorOper)(r))return r;const i=e.mathpack;if(i.cond(r)<0)return n.numErrorOper;const a=i.mul(i.pi,r);return(0,n.isErrorOper)(a)?a:i.sqrt(a)};const n=r(85882),o=r(25328);function i(e,t,r){const o=e.cond(t),i=e.cond(r);if(o>0&&i<0)return n.numErrorOper;if(0===o||0===i)return e.zero;const a=e.div(t,r);return(0,n.isErrorOper)(a)?a:e.mul(e.ceil(e.viewRound(a)),r)}function a(e,t,r){const o=e.cond(t),i=e.cond(r);if(o>0&&i<0)return n.numErrorOper;if(0===o&&0===i)return t;const a=e.div(t,r);return(0,n.isErrorOper)(a)?a:e.mul(e.floor(e.viewRound(a)),r)}function s(e,t,[r]){const n=t.mathpack;if(n.cond(r)>=0){const t=n.ceil(r);return 0===n.cond2((0,o.assertNumber)((0,o.numMod)(n,t,n.fromNumber(2))),n.one)===e?n.add(t,n.one):t}const i=n.floor(r);return 0===n.cond2((0,o.assertNumber)((0,o.numMod)(n,i,n.fromNumber(2))),n.one)===e?n.sub(i,n.one):i}t.sqrt=(0,o.wrap1)((e=>e.mathpack.sqrt)),t.exp=(0,o.wrap1)((e=>e.mathpack.exp)),t.power=(0,o.wrap2)((e=>e.mathpack.power)),t.ln=(0,o.wrap1)((e=>e.mathpack.ln)),t.log10=(0,o.wrap1)((e=>e.mathpack.log)),t.sin=(0,o.wrap1)((e=>e.mathpack.sin)),t.cos=(0,o.wrap1)((e=>e.mathpack.cos)),t.tan=(0,o.wrap1)((e=>e.mathpack.tan)),t.asin=(0,o.wrap1)((e=>e.mathpack.asin)),t.acos=(0,o.wrap1)((e=>e.mathpack.acos)),t.atan=(0,o.wrap1)((e=>e.mathpack.atan)),t.atan2=(0,o.wrap2)((e=>e.mathpack.atan2)),t.round=(0,o.wrap2)((e=>e.mathpack.round)),t.roundup=(0,o.wrap2)((e=>e.mathpack.roundUp)),t.rounddown=(0,o.wrap2)((e=>e.mathpack.roundDown)),t.even=s.bind(void 0,!0),t.odd=s.bind(void 0,!1),t.abs=(0,o.wrap1)((e=>e.mathpack.abs)),t.mod=(0,o.wrap2)((e=>e.mathpack.mod))},69352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextFuncs=void 0,t.nextFuncs={v1:{}}},47332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.text=function(e,[t,{value:r}]){const a=(0,o.isRichOper)(t)?t.getFallback():t;if((0,o.isStringOper)(a)&&a.value.length>255||r.length>255)return o.valueErrorOper;let s;switch(a.kind){case o.OperKind.String:{const t=e.coerceOper(a,o.OperKind.Number);s=(0,o.isNumberOper)(t)?t:a;break}case o.OperKind.Number:s=a;break;case o.OperKind.Boolean:{const t=e.coerceOper(a,o.OperKind.String);(0,n.assertTrue)("calc.funcs.text",(0,o.isStringOper)(t)),s=t;break}case o.OperKind.Error:return o.valueErrorOper}const l=e.applyFormat(e.originSheet.document,r,s,i.NumberFormatSource.CustomString);return void 0!==l?(0,o.stringOper)(l):o.valueErrorOper},t.fixed=function(e,[t,r,n]){const{formatValue:a,formatDecimals:s}=p(e,t,r,void 0);if((0,o.isErrorOper)(a))return a;let l;l=n?.value?0===s?o.KnownFormat.NoComFixed0:2===s?o.KnownFormat.NoComFixed:(0,i.buildNumberFormat)(e.config.localeInfo,!1,1,s):0===s?o.KnownFormat.Fixed0:2===s?o.KnownFormat.Fixed:(0,i.buildNumberFormat)(e.config.localeInfo,!0,4,s);const u=e.applyFormat(e.originSheet.document,l,a,i.NumberFormatSource.CustomBytecode);return void 0!==u?(0,o.stringOper)(u):o.valueErrorOper},t.dollar=function(e,[t,r]){const{localeInfo:n}=e.config,{formatValue:a,formatDecimals:s}=p(e,t,r,n.isEastAsia?n.currencyDecimals:void 0);if((0,o.isErrorOper)(a))return a;const u=0===s?o.KnownFormat.Currency:2===s?o.KnownFormat.CurrencyDec:(0,i.buildCurrencyFormat)(n,!1,s,!0,!1),c=e.applyFormat(e.originSheet.document,u,a,i.NumberFormatSource.CustomBytecode);return void 0!==c&&c.length>0&&c.charCodeAt(c.length-1)===l?(0,o.stringOper)(c.substring(0,c.length-1)):void 0!==c?(0,o.stringOper)(c):o.valueErrorOper},t.value=function(e,[t]){switch(t.kind){case o.OperKind.Boolean:return o.valueErrorOper;case o.OperKind.Number:return t;case o.OperKind.String:return t.value.length>255?o.valueErrorOper:e.coerceOper((0,o.stringOper)(h(t.value)),o.OperKind.Number)}},t.datevalue=function(e,[t]){const r=g(e,t);return(0,o.isErrorOper)(r)?r:e.mathpack.trunc(r)},t.timevalue=function(e,[t]){const r=g(e,t);return(0,o.isErrorOper)(r)?r:e.mathpack.sub(r,e.mathpack.trunc(r))},t.isWhitespace=m,t.numbervalue=function(e,t){const[r,i,a]=t,s=e.mathpack,l=e.config.localeInfo;if(void 0!==i&&(!(0,o.isStringOper)(i)||""===i.value)||void 0!==a&&(!(0,o.isStringOper)(a)||""===a.value))return o.valueErrorOper;const u=e=>(0,n.stringFromCodePoint)((0,n.stringCodePointAt)(e,0)),c=l.decimalSeparator,d=i?u(i.value):c;let p=a?u(a.value):l.thousandsSeparator;if(d===p){if(void 0!==a)return o.valueErrorOper;p=c}const h=r.value;if(""===h)return s.zero;let g=!1,f=0;const v=[];let b=0;const y=e=>(v.push(e),b+=e.length);for(;f<h.length&&b<255;)if(m(h.charCodeAt(f)))f+=1;else if(g||!(0,n.stringStartsWith)(h,p,f))if((0,n.stringStartsWith)(h,d,f))g=!0,y(c),f+=d.length;else{const e=(0,n.stringCodePointAt)(h,f);y((0,n.stringFromCodePoint)(e)),f+=(0,n.numCodeUnits)(e)}else f+=p.length;if(f!==h.length)return o.valueErrorOper;let S=0;for(;v.length>0&&"%"===v[v.length-1];)b-=v.pop().length,++S;if(0===v.length)return s.zero;const C=e.coerceOper((0,o.stringOper)(v.join("")),o.OperKind.Number);if(!(0,o.isNumberOper)(C))return o.valueErrorOper;let T=C;for(;S>0;)T=s.div(T,s.fromNumber(100)),(0,n.assertTrue)("calc.funcs.numberValue",(0,o.isNumberOper)(T)),--S;return T},t.arraytotext=function(e,t){return v(e,t[0],t[1])},t.valuetotext=function(e,t){return v(e,t[0],t[1])};const n=r(52123),o=r(85882),i=r(43177),a=r(66079),s=r(48742),{codePointSpace:l,codePointTab:u,codePointLF:c,codePointCR:d}=n.codePoint;function p(e,t,r,i){if(void 0===r||(0,o.isMissingOper)(r))return{formatValue:t,formatDecimals:i??2};const s=e.config.mathpack;if(s.cond(r)<0){const i=0,s=(0,a.round)(e,[t,r]);return(0,n.assertTrue)("calc.funcs.fixedDollarRound",(0,o.isNumberOper)(s)||(0,o.isErrorOper)(s)),{formatValue:s,formatDecimals:i}}const l=s.sfix(r);return l<0||l>127?{formatValue:o.valueErrorOper,formatDecimals:0}:{formatValue:t,formatDecimals:l}}function h(e){let t=0;for(;t<e.length&&e.charCodeAt(t)===l;)t+=1;return e.substring(t)}function g(e,t){return(0,o.isStringOper)(t)?t.value.length>255?o.valueErrorOper:e.parseDate(h(t.value))??o.valueErrorOper:o.valueErrorOper}function m(e){return e===l||e===u||e===d||e===c}var f;function v(e,t,r){const n=void 0===r?f.Concise:e.mathpack.sfix(r);return n!==f.Concise&&n!==f.Strict?o.valueErrorOper:b(e,t,n)}function b(e,t,r){const i=[],a=e.config.localeInfo;switch(t.kind){case o.OperKind.Array:{for(let e=0;e<t.rows;++e)for(let r=0;r<t.cols;++r){const n=t.opers[e][r];if((0,o.isArrayOper)(n)||(0,o.isRangeOper)(n))return o.calcErrorOper}const n=r===f.Concise?a.listSeparator:a.rowSeparator,s=r===f.Concise?a.listSeparator:a.columnSeparator;r===f.Strict&&i.push(a.leftBrace);for(let a=0;a<t.rows;++a){0!==a&&(i.push(n),r===f.Concise&&i.push(" "));for(let n=0;n<t.cols;++n){0!==n&&(i.push(s),r===f.Concise&&i.push(" "));const l=b(e,t.opers[a][n],r);if((0,o.isErrorOper)(l))return l;i.push(l.value)}}r===f.Strict&&i.push(a.rightBrace);break}case o.OperKind.String:r===f.Strict?i.push('"'+t.value.replace(/"/g,'""')+'"'):i.push(t.value);break;case o.OperKind.Number:case o.OperKind.Boolean:{const r=e.coerceOper(t,o.OperKind.String);(0,n.assertTrue)("calc.funcs.operToText",(0,o.isStringOper)(r)),i.push(r.value);break}case o.OperKind.Blank:break;case o.OperKind.Error:{const e=a.errorNames[t.type];null==e&&(0,s.throwEvaluationError)((0,o.internal)(`No locale data for error type ${t.type}`)),i.push(e);break}case o.OperKind.Rich:(0,s.throwEvaluationError)((0,o.notImplemented)(["ARRAYTOTEXT/VALUETOTEXT rich argument"]));default:return(0,n.assertNever)("calc.funcs.operToText",t)}return i.reduce(((e,t)=>e+t.length),0)>o.cellStringLimit?o.calcErrorOper:(0,o.stringOper)(i.join(""))}!function(e){e[e.Concise=0]="Concise",e[e.Strict=1]="Strict"}(f||(f={}))},22024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iserror=function(e,[t]){return(0,o.booleanOper)((0,o.isErrorOper)(t))},t.iserr=function(e,[t]){return(0,o.booleanOper)((0,o.isErrorOper)(t)&&t.type!==o.ErrorType.NA)},t.isblank=function(e,[t]){return(0,o.booleanOper)((0,o.isBlankOper)(t))},t.islogical=function(e,[t]){return(0,o.booleanOper)((0,o.isBooleanOper)(t))},t.isna=function(e,[t]){return(0,o.booleanOper)((0,o.isErrorOper)(t)&&t.type===o.ErrorType.NA)},t.isnontext=function(e,[t]){return(0,o.booleanOper)(!(0,o.isStringOper)(t))},t.istext=function(e,[t]){return(0,o.booleanOper)((0,o.isStringOper)(t))},t.isnumber=function(e,[t]){return(0,o.booleanOper)((0,o.isNumberOper)(t))},t.isref=function(e,[t]){return(0,o.booleanOper)((0,o.isRangeOper)(t))},t.islambda=function(e,[t]){return(0,o.booleanOper)(t instanceof a.LambdaOper)},t.isomitted=function(e,[t]){return(0,o.booleanOper)((0,o.isMissingOper)(t))},t.iseven=s,t.isodd=function(e,t){const r=s(e,t);return(0,o.isBooleanOper)(r)?(0,o.booleanOper)(!r.value):r},t.isformula=function(e,[t]){return l(e,t,(e=>(0,o.booleanOper)(void 0!==e)))},t.formulatext=function(e,[t]){return l(e,t,((t,r)=>{if(void 0===t)return o.naErrorOper;const n=e.printFormula(t,r.range);return t.source.kind===o.LexicalKind.Cell?(0,o.stringOper)(n):(0,o.stringOper)("{"+n+"}")}))};const n=r(52123),o=r(85882),i=r(25328),a=r(75736);function s(e,[t]){const r=(0,i.chkNumOper)(e,t);if((0,o.isErrorOper)(r))return r;const n=e.mathpack,a=(0,i.assertNumber)(n.add(n.abs(r),n.fromNumber(1.0000000000000003e-10))),s=(0,i.assertNumber)(n.div(n.floor(a),n.fromNumber(2)));return(0,o.booleanOper)(0===n.cond2(s,n.floor(s)))}function l(e,t,r){if(!(0,o.isSheetIndex)(t.sheets))return o.valueErrorOper;const i=t.ranges[0];if(e.calcingArray||!(0,o.isGridCell)(i)){const a=t.sheets;return(0,o.arrayOper)(i.rows,i.cols,(0,n.jaggedArray)(i.rows,i.cols,((t,n)=>{const s=(0,o.sheetGridCell)(a,(0,o.gridCell)(i.row+t,i.col+n));return r(e.getCellFormula(s),s)})))}const a=(0,o.sheetGridRangeAnchor)((0,o.sheetGridRange)(t.sheets,i));return r(e.getCellFormula(a),a)}},86592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areas=function(e,[t]){return(0,o.isSheetIndex)(t.sheets)?e.mathpack.fromNumber(t.ranges.length):o.valueErrorOper},t.rows=function(e,[t]){const r=e.mathpack;return(0,o.isArrayOper)(t)?r.fromNumber(t.rows):(0,o.isSheetIndex)(t.sheets)?t.ranges.length>1?o.refErrorOper:r.fromNumber(t.ranges[0].rows):o.valueErrorOper},t.columns=function(e,[t]){const r=e.mathpack;return(0,o.isArrayOper)(t)?r.fromNumber(t.cols):(0,o.isSheetIndex)(t.sheets)?t.ranges.length>1?o.refErrorOper:r.fromNumber(t.ranges[0].cols):o.valueErrorOper},t.row=function(e,[t]){const r=i(e,t);if(!Array.isArray(r))return r;const[a,s]=r,l=e.mathpack;return s?l.fromNumber(a.row+1):(0,o.arrayOper)(a.rows,1,(0,n.jaggedArray)(a.rows,1,(e=>l.fromNumber(a.row+e+1))))},t.column=function(e,[t]){const r=i(e,t);if(!Array.isArray(r))return r;const[a,s]=r,l=e.mathpack;return s?l.fromNumber(a.col+1):(0,o.arrayOper)(1,a.cols,(0,n.jaggedArray)(1,a.cols,((e,t)=>l.fromNumber(a.col+t+1))))},t.sheets=function(e,[t]){const r=e.mathpack;return t?(0,o.isArrayOper)(t)?o.naErrorOper:r.fromNumber(e.getSheetRangeIndexes(t.sheets).length):r.fromNumber(e.getSheetRangeIndexes((0,o.allSheetsRange)(e.reflectionSheet.document)).length)},t.sheet=function(e,[t]){const r=e.mathpack;if(!t){const t=e.reflectionSheet;return void 0===t.index?o.naErrorOper:r.fromNumber(e.getSheetRangePosition(t)+1)}if((0,o.isStringOper)(t)){const n=e.getSheetIndex(e.reflectionSheet.document,t.value);return void 0===n?o.naErrorOper:r.fromNumber(e.getSheetRangePosition(n)+1)}return(0,o.isRangeOper)(t)?r.fromNumber(e.getSheetRangePosition(t.sheets)+1):(0,o.isArrayOper)(t)?o.naErrorOper:(0,n.assertNever)("calc.funcs.sheet",t)},t.offset=function(e,[t,r,i,a,s]){if(!(0,o.isSheetIndex)(t.sheets))return o.valueErrorOper;if(1!==t.ranges.length)return o.valueErrorOper;const l=e.mathpack,{row:u,col:c,rows:d,cols:p}=t.ranges[0];let h=u;(0,o.isNumberOper)(r)&&(h+=l.lfix(r));let g=c;(0,o.isNumberOper)(i)&&(g+=l.lfix(i));let m=h+d-1;if(void 0!==a&&(0,o.isNumberOper)(a)){const e=l.cond(a);if(0===e)return o.refErrorOper;m=h+l.lfix(a)-(e>0?1:-1)}let f=g+p-1;if(void 0!==s&&(0,o.isNumberOper)(s)){const e=l.cond(s);if(0===e)return o.refErrorOper;f=g+l.lfix(s)-(e>0?1:-1)}const v=(0,n.fastMin)(h,m),b=(0,n.fastMin)(g,f),y=(0,n.fastMax)(h,m)-v+1,S=(0,n.fastMax)(g,f)-b+1;return v<0||b<0||v+y>o.sheetRows||b+S>o.sheetCols?o.refErrorOper:(0,o.rangeSeqOper)(t.sheets,[(0,o.gridRange)(v,b,y,S)])},t.transpose=function(e,[t]){return(0,o.isArrayOper)(t)?(0,o.arrayOper)(t.cols,t.rows,(0,n.jaggedArray)(t.cols,t.rows,((e,r)=>t.opers[r][e]))):t},t.single=function(e,[t]){if((0,o.isPrimitiveOper)(t)||(0,o.isMissingOper)(t)||(0,o.isBlankOper)(t)||(0,o.isRichOper)(t))return t;if((0,o.isArrayOper)(t))return t.opers[0][0];if(!(0,o.isSheetIndex)(t.sheets))return o.refErrorOper;if(1!==t.ranges.length)return o.valueErrorOper;const r=e.originGridCell,n=(0,o.gridCellImplicitIsect)(r,t.ranges[0]);return void 0===n?o.valueErrorOper:(0,o.rangeSeqOper)(t.sheets,[n])};const n=r(52123),o=r(85882);function i(e,t){if(!t)return[e.reflectionGridCell,!e.calcingArray];if(!(0,o.isSheetIndex)(t.sheets))return o.valueErrorOper;if(t.ranges.length>1)return o.refErrorOper;const r=t.ranges[0];return[r,(0,o.isGridCell)(r)]}},60242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fieldvalue=function(e,[t,{value:r}]){if((0,o.isRichOper)(t)){const e=t.getField(r);if(void 0!==e)return e}return o.fieldErrorOper},t.record=function(e,t){const r=t[0],o=e.config.localeInfo;let a=n.RedBlackMapTree.create(o.stringCompareCI);for(let e=1;e<t.length;e+=2){const{value:r}=t[e],n=t[e+1];a=a.setValue(r,n)}return new i.RecordOper(a,r)};const n=r(52123),o=r(85882),i=r(75736)},36018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.coercedArrayOper=function(e,t,r){return(0,n.assertNatural)("calc.runtime.coercedArrayOper",e),(0,n.assertNatural)("calc.runtime.coercedArrayOper",t),r.length!==e?(0,n.assertFalse)("calc.runtime.coercedArrayOper: Inconsistent row number"):{kind:o.OperKind.Array,rows:e,cols:t,opers:r}},t.isCoercedArrayOper=function(e){return e.kind===o.OperKind.Array},t.isPrimitiveCoercedOper=function(e){const{kind:t}=e;return"number"==typeof t&&0!=(t&a)},t.reduceDerefOpers=function(e,t,r,a,s){const l=(i,a,l,c)=>{if(a?.kind===o.OperKind.Array){const e=new n.StrictArray2D(a.rows,a.cols,a.opers);let t=i;for(let r=0;r<l;r+=1)t=u(t,e);return t}const d=(c&&void 0!==s?s:r)(e,a);return null==d?i:t(i,d,l)};function u(e,t){let r=e;for(let e=0;e<t.rows;e+=1)for(let n=0;n<t.cols;n+=1){const o=t.get(e,n);void 0!==o&&(r=l(r,o,1,!0))}return r}function c(e,t){let r=e;const n=t.getSparse(),o=t.cols-t.denseCols;for(let e=0;e<t.denseRows;e+=1){for(let n=0;n<t.denseCols;n+=1){const o=t.get(e,n);void 0!==o&&(r=l(r,o,1,!1))}o>0&&void 0!==n&&(r=l(r,n,o,!1))}const i=(t.rows-t.denseRows)*t.cols;return i>0&&void 0!==n&&(r=l(r,n,i,!1)),r}return a.reduce(((e,t)=>(0,i.isRangeValues)(t)?t.arrays.reduce(c,e):l(e,t,1,!1)),void 0)};const n=r(52123),o=r(85882),i=r(58055),a=o.OperKind.Number|o.OperKind.String|o.OperKind.Boolean},97840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chooserows=t.choosecols=t.vstack=t.hstack=t.drop=t.take=t.sequence=void 0,t.address=function(e,[t,r,i,a,s]){const l=e.mathpack,u=i?.kind===o.OperKind.Number?l.sfix(i)-1:0;if(u<0||u>3)return o.valueErrorOper;const c=0!=(1&u),d=0!=(2&u),p=a?.kind!==o.OperKind.Boolean||a.value?o.RefStyle.A1:o.RefStyle.R1C1,h=(e,t,r)=>p===o.RefStyle.R1C1&&e?-t<r&&r<t:1<=r&&r<=t,g=l.sfix(t);if(!h(d,o.sheetRows,g))return o.valueErrorOper;if(!(0,o.isNumberOper)(r))return o.valueErrorOper;const m=l.sfix(r);if(!h(c,o.sheetCols,m))return o.valueErrorOper;const f=(0,o.gridCell)(g<0?o.sheetRows-1:0,m<0?o.sheetCols-1:0),v=(0,o.pos)(d?o.PosKind.Rel:o.PosKind.Abs,p===o.RefStyle.R1C1&&d?g:g-1),b=(0,o.pos)(c?o.PosKind.Rel:o.PosKind.Abs,p===o.RefStyle.R1C1&&c?m:m-1),y=(0,o.formatCellPos)(e.config.localeInfo,p,f,v,b,!1);return(0,n.assertTrue)("calc.funcs.address: cell wrapped",void 0!==y),s?.kind===o.OperKind.String?""===s.value?(0,o.stringOper)("!"+y):s.value.length>255?o.valueErrorOper:(0,o.stringOper)((0,o.formatQualifier)(e.config.localeInfo,e.config.refStyle,s.value)+"!"+y):(0,o.stringOper)(y)},t.indirect=function(e,[{value:t},r]){const i=r?.value??1?o.RefStyle.A1:o.RefStyle.R1C1;if(t.length>255||(0,n.stringStartsWith)(t," "))return o.valueErrorOper;let s=(0,o.originCell)(e.originSheet,e.originGridCell);const l={lexicalKind:o.LexicalKind.Indirect,originGridCell:(0,n.success)(s.range),originSheet:(0,n.success)(s.sheet),allowRelativeQualifier:!1,allowUnqualifiedCell:!0,allowImplicitTable:!1,wrapCellReferences:!0,workbookLoad:!1},u=e.parseFormula(i,s.range,l,"="+t);if(!(0,n.isSuccess)(u))return o.refErrorOper;let c=u.value.node,d=!1,p=!1;for(;;){if(!d&&c.kind===o.NodeKind.App&&(0,o.isOperatorNode)(c.head)&&c.head.id===o.OperatorId.Pound&&1===c.args.length&&(d=!0,c=c.args[0]),p||c.kind!==o.NodeKind.Name){if(c.kind===o.NodeKind.CellRef){const t=e.getCellRef(c.qualifier,c.ref,s,!0);return void 0===t?o.refErrorOper:(0,o.isSheetIndex)(t.sheets)?d?(0,a.throwEvaluationError)((0,o.notImplemented)(["# operator in INDIRECT"])):t:o.refErrorOper}if(c.kind===o.NodeKind.StructRef){if(void 0===c.lhs)return o.refErrorOper;const t=e.getStructRef(c.lhs,c.rhs,s);return void 0===t||d?o.refErrorOper:t}return o.refErrorOper}{const t=e.getNameFormula(c.qualifier,c.whole,o.NameSource.Indirect);if(void 0===t)return o.refErrorOper;s=(0,o.originCell)(s.sheet,(0,o.gridCell)(0,0)),c=t[1],p=!0}}},t.expand=function(e,t){const[r,a,s=o.missingOper,l=o.missingOper]=t,u=e.mathpack,c=(0,o.isMissingOper)(a)?r.rows:u.lfix(a),d=(0,o.isMissingOper)(s)?r.cols:u.lfix(s);if(c<r.rows||d<r.cols)return o.valueErrorOper;if(0===c||0===d)return o.calcErrorOper;if(d>o.sheetRows||c>o.sheetRows)return o.numErrorOper;(0,i.validateArraySize)(c,d);const p=(0,o.isMissingOper)(l)?o.naErrorOper:l;return(0,o.isArrayOper)(p)?o.valueErrorOper:(0,o.arrayOper)(c,d,(0,n.array2DToJaggedArray)(new n.StrictSparseArray2D(c,d,r.rows,r.cols,r.opers,p)))},t.tocol=function(e,t){return b(e,o.WorksheetFuncId.TOCOL,t)},t.torow=function(e,t){return b(e,o.WorksheetFuncId.TOROW,t)},t.wrapcols=function(e,t){return y(e,o.WorksheetFuncId.WRAPCOLS,t)},t.wraprows=function(e,t){return y(e,o.WorksheetFuncId.WRAPROWS,t)};const n=r(52123),o=r(85882),i=r(25328),a=r(48742),s=r(58055);function l(e,t){if((0,n.fastAbs)(e)<t){const r=(0,n.fastAbs)(e);return e<0?{start:t-r,count:r}:{start:0,count:r}}return{start:0,count:t}}function u(e,t){if((0,n.fastAbs)(e)<t){const r=t-(0,n.fastAbs)(e);return e<0?{start:0,count:r}:{start:e,count:r}}return{start:0,count:0}}t.sequence=(e,t)=>{const[r,n,a,s]=t,l=e.mathpack,u=(0,o.isMissingOper)(r)?1:l.sfix(r),c=void 0===n||(0,o.isMissingOper)(n)?1:l.sfix(n);if(u<0||u>o.sheetRows||c<0||c>o.sheetRows)return o.valueErrorOper;if((0,i.validateArraySize)(u,c),0===u||0===c)return o.calcErrorOper;const d=void 0===a||(0,o.isMissingOper)(a)?l.fromNumber(1):a,p=void 0===s||(0,o.isMissingOper)(s)?l.fromNumber(1):s;let h=d;const g=[];for(let e=0;e<u;e++){const e=[];for(let t=0;t<c;t++){if(e.push(h),(0,o.isErrorOper)(h))continue;const t=l.add(h,p);h=(0,o.isErrorOper)(t)?t:l.checkAlmostCancellation(p,t)}g.push(e)}return(0,o.arrayOper)(u,c,g)},t.take=(e,t)=>{const[r,n,a]=t,s=e.mathpack,u=(0,i.rangeOrArrayToVal)(r,o.valueErrorOper);if(!(0,o.isArrayOper)(u)&&!(0,o.isRangeOper)(u))return u;const c=(0,i.makeSlicer)(u),d=(0,o.isMissingOper)(n)?c.rows:s.lfix(n),p=void 0===a||(0,o.isMissingOper)(a)?c.cols:s.lfix(a),{start:h,count:g}=l(d,c.rows),{start:m,count:f}=l(p,c.cols);return 0===g||0===f?o.calcErrorOper:c.slice(h,g,m,f)},t.drop=(e,t)=>{const[r,n,a]=t,s=e.mathpack,l=(0,i.rangeOrArrayToVal)(r,o.valueErrorOper);if(!(0,o.isArrayOper)(l)&&!(0,o.isRangeOper)(l))return l;const c=(0,i.makeSlicer)(l),d=(0,o.isMissingOper)(n)?0:s.lfix(n),p=void 0===a||(0,o.isMissingOper)(a)?0:s.lfix(a),{start:h,count:g}=u(d,c.rows),{start:m,count:f}=u(p,c.cols);return 0===g||0===f?o.calcErrorOper:c.slice(h,g,m,f)},t.hstack=(e,t)=>d(e,t,!0),t.vstack=(e,t)=>d(e,t,!1);const c=()=>o.naErrorOper;function d(e,t,r){const a=e.dereferenceAllOpers(t).map((e=>(0,s.isRangeValues)(e)?e.arrays:[new n.StrictArray2D(e.rows,e.cols,e.opers)])),l=(0,n.safeConcat)([],a).map((e=>r?(0,n.transposeArray2D)(e):e)),u=l.reduce(((e,t)=>(0,n.fastMax)(t.cols,e)),0),d=l.reduce(((e,t)=>e+t.rows),0);if(u>o.sheetRows||d>o.sheetRows)return o.numErrorOper;(0,i.validateArraySize)(d,u);const p=(0,n.safeConcat)([],l.map((e=>function(e,t,r){return e.cols>=t?e:new n.NonstrictSparseArray2D(e.rows,t,e.rows,e.cols,e.get.bind(e),r)}(e,u,c))).map(n.array2DToJaggedArray)),h=new n.StrictArray2D(p.length,p[0].length,p),g=r?(0,n.transposeArray2D)(h):h;return(0,o.arrayOper)(g.rows,g.cols,(0,n.array2DToJaggedArray)(g))}function p(e,t,r){const n=t.lfix(e),a=n>0?n:-n;return a>r||0===a?o.valueErrorOper:(0,i.getAbsoluteIndex)(r,n)}function h(e,t,r){if(e.rows>1&&e.cols>1)return o.valueErrorOper;const n=[];for(const i of e.opers)for(const e of i){if(!(0,o.isNumberOper)(e))return(0,o.isErrorOper)(e)?e:o.valueErrorOper;const i=p(e,t,r);if("number"!=typeof i)return i;n.push(i)}return n}const g=(e,t)=>{const r=[];for(const n of e){const e=t.opers[n];r.push(e)}return r},m=(e,t)=>t.opers.map((t=>{const r=[];for(const n of e)r.push(t[n]);return r})),f=(e,t,r,a)=>{const[s,...l]=t;if((0,o.isRangeOper)(s)){if(s.ranges.length>1)return o.refErrorOper;(0,n.assertTrue)("calc.funcs.ChooseColRow: not 3D ref",(0,o.isSheetIndex)(s.sheets))}const u=e.dereferenceOper(s,o.OperKind.Array);if(!(0,o.isArrayOper)(u))return u;const c=function(e,t,r){const i=[];for(const a of e)if((0,o.isArrayOper)(a)){const e=h(a,t,r);if(!Array.isArray(e))return e;(0,n.safePush)(i,e)}else{const e=p(a,t,r);if("number"!=typeof e)return e;i.push(e)}return i}(l,e.mathpack,a?u.rows:u.cols);if(!Array.isArray(c))return c;if(c.length>o.sheetRows||(a?u.cols:u.rows)>o.sheetRows)return o.numErrorOper;a?(0,i.validateArraySize)(c.length,u.cols):(0,i.validateArraySize)(u.rows,c.length);const d=r(c,u);return 0===d.length||0===d[0].length?o.calcErrorOper:(0,o.arrayOper)(d.length,d[0].length,d)};function v(e,t){return t?new n.NonstrictArray2D(1,e.length,((t,r)=>e[r])):new n.NonstrictArray2D(e.length,1,(t=>e[t]))}function b(e,t,r){const[a,l,u]=r,c=e.mathpack,[d]=e.dereferenceAllOpers([a]),p=(0,s.isRangeValues)(d)?d.arrays:[new n.StrictSparseArray2D(d.rows,d.cols,d.rows,d.cols,d.opers,o.blankOper)],h=void 0===l||(0,o.isMissingOper)(l)?0:c.lfix(l),g=void 0!==u&&!(0,o.isMissingOper)(u)&&u.value;if(h<0||h>3)return o.valueErrorOper;const m=1===h||3===h,f=2===h||3===h,b=[],y=[],S=(e,t)=>{m&&(0,o.isBlankOper)(e)||f&&(0,o.isErrorOper)(e)||(b.push(e),y.push(t))};for(const e of p){const t=g?(0,n.transposeSparseArray2D)(e):e,{rows:r,cols:o,denseRows:i,denseCols:a}=t;for(let e=0;e<i;++e){for(let r=0;r<a;++r)S(t.get(e,r),1);a<o&&S(t.getSparse(),o-a)}i<r&&o>0&&S(t.getSparse(),o*(r-i))}const C=y.reduce(((e,t)=>e+t),0);if(0===C)return o.calcErrorOper;if(C>o.sheetRows)return o.numErrorOper;t===o.WorksheetFuncId.TOROW?(0,i.validateArraySize)(1,C):(0,i.validateArraySize)(C,1);const T=[];for(let e=0;e<b.length;++e){const t=b[e],r=y[e];for(let e=0;e<r;++e)T.push(t)}const k=v(T,t===o.WorksheetFuncId.TOROW);return(0,o.arrayOper)(k.rows,k.cols,(0,n.array2DToJaggedArray)(k))}function y(e,t,r){const[a,s,l=o.missingOper]=r;if(!(1===a.rows&&a.cols>=1||1===a.cols&&a.rows>=1))return o.valueErrorOper;const u=e.mathpack.lfix(s);if(u<1)return o.numErrorOper;const c=1===a.rows?a.opers[0]:a.opers.map((e=>e[0])),d=c.length;if(u>=d){const e=v(c,t===o.WorksheetFuncId.WRAPROWS);return(0,o.arrayOper)(e.rows,e.cols,(0,n.array2DToJaggedArray)(e))}const p=Math.floor((d+u-1)/u);t===o.WorksheetFuncId.WRAPROWS?(0,i.validateArraySize)(p,u):(0,i.validateArraySize)(u,p);const h=(0,o.isMissingOper)(l)?o.naErrorOper:l,g=(e,t)=>{const r=e*u+t;return r>=c.length?h:c[r]},m=t===o.WorksheetFuncId.WRAPROWS?new n.NonstrictArray2D(p,u,((e,t)=>g(e,t))):new n.NonstrictArray2D(u,p,((e,t)=>g(t,e)));return(0,o.arrayOper)(m.rows,m.cols,(0,n.array2DToJaggedArray)(m))}t.choosecols=(e,t)=>f(e,t,m,!1),t.chooserows=(e,t)=>f(e,t,g,!0)},30108:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortOpers=function e(t,r,l,u,c){if((0,o.isBlankOper)(r))return(0,o.isBlankOper)(l)?0:1;if((0,o.isBlankOper)(l))return-1;if((0,o.isRichOper)(r)||(0,o.isRichOper)(l))return(0,i.throwEvaluationError)((0,o.notImplemented)(["rich value sort"]));if(r.kind!==l.kind)return a(u*(s[r.kind]-s[l.kind]));switch(r.kind){case o.OperKind.Number:return a(u*t.mathpack.cond2(r,l));case o.OperKind.String:return a(u*t.localeInfo.stringCompareCI(r.value,l.value));case o.OperKind.Boolean:return a(u*(r.value-l.value));case o.OperKind.Array:{const o=r,i=l,s=(0,n.fastMin)(o.rows,i.rows),d=(0,n.fastMin)(o.cols,i.cols);for(let r=0;r<s;++r){for(let n=0;n<d;++n){const a=e(t,o.opers[r][n],i.opers[r][n],u,c);if(0!==a)return a}if(o.cols!==i.cols)return a(u*(o.cols-i.cols))}return o.rows!==i.rows?a(u*(o.rows-i.rows)):0}case o.OperKind.Error:return c?a(u*(r.type-l.type)):0}};const n=r(52123),o=r(85882),i=r(48742),a=e=>e<0?-1:e>0?1:0,s={[o.OperKind.Number]:1,[o.OperKind.String]:2,[o.OperKind.Boolean]:3,[o.OperKind.Array]:4,[o.OperKind.Error]:5}},62206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textAfter=t.textBefore=t.textSplit=void 0,t.right=function(e,[{value:t},r]){if(void 0!==r&&(0,o.isErrorOper)(r))return r;const i=m(e.mathpack,r);if("number"!=typeof i&&(0,o.isErrorOper)(i))return o.valueErrorOper;const a=(0,n.scanCodePointsBack)(t,t.length,i)??0;return(0,o.stringOper)(t.substring(a))},t.left=function(e,[{value:t},r]){if(void 0!==r&&(0,o.isErrorOper)(r))return r;const i=m(e.mathpack,r);if("number"!=typeof i&&(0,o.isErrorOper)(i))return o.valueErrorOper;const a=(0,n.scanCodePoints)(t,0,i)??t.length;return(0,o.stringOper)(t.substring(0,a))},t.mid=function(e,[{value:t},r,i]){const a=e.mathpack,s=a.fix(r)-1,l=a.fix(i);if(a.cond(r)<0||s<0||a.cond(i)<0||l<0)return o.valueErrorOper;const u=(0,n.scanCodePoints)(t,0,s)??t.length,c=(0,n.scanCodePoints)(t,u,l)??t.length;return(0,o.stringOper)(t.substring(u,c))},t.len=function(e,[{value:t}]){return e.mathpack.fromNumber((0,n.countCodePoints)(t,0,t.length))},t.concatenate=function(e,t){let r="";for(let e=0;e<t.length;e+=1){const{value:n}=t[e];if(r.length+n.length>o.cellStringLimit){r+=n.substring(0,o.cellStringLimit-r.length);break}r+=n}return(0,o.stringOper)(r)},t.exact=function(e,[t,r]){return((0,o.isRichOper)(t)||(0,o.isRichOper)(r))&&(0,s.throwEvaluationError)((0,o.notImplemented)(["EXACT rich argument"])),(0,o.booleanOper)(t.value===r.value)},t.rept=function(e,[{value:t},r]){const i=e.mathpack,a=i.fix(r);return i.cond(r)<0||a>g?o.valueErrorOper:""===t?l.emptyStringOper:a*t.length>o.cellStringLimit?o.valueErrorOper:(0,o.stringOper)((0,n.repeat)(t,a))},t.trim=function(e,[{value:t}]){let r="";for(let e=0;e<t.length;){for(;e<t.length&&t.charCodeAt(e)===u;)e+=1;const n=e;for(;e<t.length;){const r=t.charCodeAt(e)===u;if(e+=1,r)break}r+=t.substring(n,e)}return r.length>0&&r.charCodeAt(r.length-1)===u&&(r=r.substring(0,r.length-1)),(0,o.stringOper)(r)},t.clean=function(e,[{value:t}]){let r="";for(let e=0;e<t.length;e+=1){const n=t.charCodeAt(e);(n>=256||(127&n)>=32)&&(r+=t.charAt(e))}return(0,o.stringOper)(r)},t.char=function(e,[t]){const r=e.mathpack.sfix(t);return r<1||r>255?o.valueErrorOper:(0,o.stringOper)(String.fromCharCode(r))},t.unichar=function(e,[t]){const r=e.mathpack,i=r.lfix(r.trunc(t));return r.cond2(t,r.one)<0||i>=1114112?o.valueErrorOper:i<=65535&&(0,n.isAnySurrogate)(i)||i>=64976&&i<=65007||(65535&i)>=65534?o.naErrorOper:(0,o.stringOper)((0,n.stringFromCodePoint)(i))},t.code=function(e,[{value:t}]){if(0===t.length)return o.valueErrorOper;const r=t.charCodeAt(0);return r>255?(0,s.throwEvaluationError)((0,o.notImplemented)(["CODE for codepoints > 255"])):e.mathpack.fromNumber(r)},t.unicode=function(e,[{value:t}]){if(0===t.length)return o.valueErrorOper;const r=t.charCodeAt(0),i=e.mathpack;if(!(0,n.isAnySurrogate)(r))return i.fromNumber(r);if(1===t.length)return o.valueErrorOper;const a=t.charCodeAt(1),s=(0,n.surrogatePairToCodePoint)(r,a);return void 0===s?o.valueErrorOper:i.fromNumber(s)},t.lower=function(e,[{value:t}]){return(0,o.stringOper)(v(t,"LOWER",t.toLowerCase.bind(t)))},t.upper=function(e,[{value:t}]){return(0,o.stringOper)(v(t,"UPPER",t.toUpperCase.bind(t)))},t.proper=function(e,[{value:t}]){return(0,o.stringOper)(v(t,"PROPER",(()=>{const e=t.toLowerCase();let r="",o=0;for(;;){const t=o;for(;o<e.length&&!f(e.charCodeAt(o));)o+=1;if(r+=e.substring(t,o),o===e.length)break;const i=o,a=(0,n.stringCodePointAt)(e,o);for(r+=(0,n.stringFromCodePoint)(a).toUpperCase(),o+=(0,n.numCodeUnits)(a);o<e.length&&f(e.charCodeAt(o));)o+=1;r+=e.substring(i+1,o)}return r})))},t.find=function(e,[{value:t},{value:r},i]){const a=void 0!==i?e.mathpack.sfix(i)-1:0;if(a<0||a>=g)return o.valueErrorOper;const s=(0,n.scanCodePoints)(r,0,a)??r.length,l=r.indexOf(t,s);return l>=0?e.mathpack.fromNumber((0,n.countCodePoints)(r,0,l)+1):o.valueErrorOper},t.replace=function(e,[{value:t},r,i,{value:a}]){const s=e.mathpack.sfix(r)-1;if(s<0||s>=o.cellStringLimit)return o.valueErrorOper;const l=e.mathpack.sfix(i);if(l<0||l>o.cellStringLimit)return o.valueErrorOper;const u=(0,n.scanCodePoints)(t,0,s)??t.length,c=(0,n.scanCodePoints)(t,u,l)??t.length,d=t.slice(0,u),p=t.slice(c);return d.length+a.length+p.length>o.cellStringLimit?o.valueErrorOper:(0,o.stringOper)(d+a+p)},t.search=function(e,[{value:t},{value:r},i]){const s=void 0!==i?e.mathpack.sfix(i)-1:0;if(s<0||s>=g)return o.valueErrorOper;let l=(0,n.scanCodePoints)(r,0,s)??r.length;const u=new a.WildExp(e.config.localeInfo,t,!0);for(;l<r.length;l+=1)if(u.test(r.slice(l)))return e.mathpack.fromNumber((0,n.countCodePoints)(r,0,l)+1);return o.valueErrorOper},t.substitute=function(e,[t,{value:r},{value:n},i]){const{value:a}=t;let s=1/0;if(void 0!==i){const t=e.coerceOper(i,o.OperKind.Number);if((0,o.isErrorOper)(t))return t;if(s=e.mathpack.sfix(t),s<1||s>g-1)return o.valueErrorOper}const l=r.length;if(l>0){let e="",t=0,i=0;for(;s>=0&&-1!==(i=a.indexOf(r,i));)if(s-=1,s===1/0||0===s){const r=a.slice(t,i);if(e.length+r.length+n.length>o.cellStringLimit)return o.valueErrorOper;e+=r,e+=n,i+=l,t=i}else i+=1;const u=a.slice(t);return e.length+u.length>o.cellStringLimit?o.valueErrorOper:(e+=u,(0,o.stringOper)(e))}return t};const n=r(52123),o=r(85882),i=r(25328),a=r(21254),s=r(48742),l=r(60233),{codePointSpace:u,codePointCapitalA:c,codePointCapitalZ:d,codePointSmallA:p,codePointSmallZ:h}=n.codePoint,g=2147483647;function m(e,t){return void 0===t?1:e.cond(t)<0?o.valueErrorOper:e.sfix(t)}function f(e){return e>=c&&e<=d||e>=p&&e<=h}function v(e,t,r){return""===e?e:function(e){for(let t=0;t<e.length;t+=1)if(e.charCodeAt(t)>=128)return!1;return!0}(e)?r():(0,s.throwEvaluationError)((0,o.notImplemented)([t+" for non-ASCII input"]))}function b(e,t,r){if(void 0===t||(0,o.isMissingOper)(t))return[];if((0,o.isStringOper)(t))return r&&0===t.value.length?o.valueErrorOper:[t.value];const n=[];for(let a=0;a<t.rows;++a){const s=t.opers[a];for(let t=0;t<s.length;++t){const a=s[t],l=e.coerceOper(a,o.OperKind.String);if((0,o.isErrorOper)(l))return l;const u=(0,i.assertString)(l).value;if(r&&0===u.length)return o.valueErrorOper;n.push(u)}}return n.sort(((e,t)=>e.length-t.length)),n}function y(e,t,r){for(const o of r)if((0,n.stringStartsWith)(e,o,t))return o}function S(e,t,r,n,i,a,s,l){const u=function(e,t,r,n,i,a,s){const l=t.value,u=void 0===n||(0,o.isMissingOper)(n)?1:e.mathpack.sfix(n),c=b(e,r,!1);if(!Array.isArray(c))return c;const d=c.reduce(((e,t)=>t.length<e?t.length:e),c[0].length),p=-(l.length-d+1),h=l.length-d+1;if(void 0!==n&&!(0,o.isMissingOper)(n)){if(0!==d&&!(u>=p&&u<=h))return o.valueErrorOper;if(0===u)return o.valueErrorOper}let g,m;if(void 0===i||(0,o.isMissingOper)(i))g=!1;else{const t=e.mathpack.lfix(i);if(0!==t&&1!==t)return o.valueErrorOper;g=1===t}if(void 0===a||(0,o.isMissingOper)(a))m=!1;else{const t=e.mathpack.lfix(a);if(0!==t&&1!==t)return o.valueErrorOper;m=1===t}return function(e,t,r,n,o,i,a){let s=e,l=t;if(0===r)return n>0?[0,0]:[s.length,s.length];if(s.length-r<0)return a;o&&(s=s.toLowerCase(),l=l.map((e=>e.toLowerCase())));let u=n,c=0;const d=s.length;let p=1;for(n<0&&(p=-1,c=d);c<=d&&c>=0;){const e=y(s,c,l);if(void 0!==e){if(u-=p,0===u)return[c,e.length];c+=p*(e.length-1)}c+=p}return i&&n-p==0?1===p?[s.length,0]:[0,0]:a}(l,c,d,u,g,m,void 0===s||(0,o.isMissingOper)(s)?o.naErrorOper:s)}(t,r,n,i,a,s,l);if(Array.isArray(u)){const[t,n]=u;return e===C.TEXTBEFORE?(0,o.stringOper)(r.value.slice(0,t)):(0,o.stringOper)(r.value.slice(t+n))}return u}var C;t.textSplit=(e,t)=>{const[r,i,a,s,l,u]=t,c=r.value;if(0===c.length)return o.valueErrorOper;let d=b(e,i,!0);if(!Array.isArray(d))return d;let p=b(e,a,!0);if(!Array.isArray(p))return p;const h=void 0!==s&&!(0,o.isMissingOper)(s)&&s.value;let g;if(void 0===l||(0,o.isMissingOper)(l))g=!1;else{const t=e.mathpack.lfix(l);if(0!==t&&1!==t)return o.valueErrorOper;g=1===t}const m=void 0===u||(0,o.isMissingOper)(u)?o.naErrorOper:u;if((0,o.isArrayOper)(m))return o.valueErrorOper;let f=c;if(g&&(f=c.toLowerCase(),d=d.map((e=>e.toLowerCase())),p=p.map((e=>e.toLowerCase()))),0===d.length&&0===p.length)return o.valueErrorOper;const v=function(e,t,r,i,a){let s=0,l=0;const u=[];let c;for(;s<=t.length;){let d,p;if(l<t.length&&(d=y(t,l,r),p=void 0===d?y(t,l,i):void 0),(0,n.assertTrue)("calc.runtime.textsplit: current in bounds",l<=t.length),void 0!==d||void 0!==p||l===t.length){(l-s>0||!a)&&(void 0===c&&(c=[],u.push(c)),c.push((0,o.stringOper)(e.slice(s,l))),void 0!==p&&(c=void 0));const t=(d??p??"1").length;(0,n.assertTrue)("calc.runtime.textsplit: matchLength > 0",t>0),l+=t,s=l}else++l}return u}(c,f,d,p,h);if(!Array.isArray(v))return v;if(0===v.length)return o.calcErrorOper;const S=v.reduce(((e,t)=>(0,n.fastMax)(t.length,e)),0);return(0,n.assertTrue)("calc.runtime.textsplit: non-zero cols",S>0),(0,o.arrayOper)(v.length,S,v.map((e=>{for(;e.length<S;)e.push(m);return e})))},function(e){e[e.TEXTBEFORE=1]="TEXTBEFORE",e[e.TEXTAFTER=2]="TEXTAFTER"}(C||(C={})),t.textBefore=(e,t)=>{const[r,n,o,i,a,s]=t;return S(C.TEXTBEFORE,e,r,n,o,i,a,s)},t.textAfter=(e,t)=>{const[r,n,o,i,a,s]=t;return S(C.TEXTAFTER,e,r,n,o,i,a,s)}},25328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArraySlicer=t.RangeSlicer=t.atpm1904to1900Days=t.assertError=t.assertString=t.assertNumber=void 0,t.wrap1=function(e){return(t,r)=>e(t)(r[0])},t.wrap2=function(e){return(t,r)=>e(t)(r[0],r[1])},t.chkNumOper=s,t.chkDateOper=function(e,r){let n=s(e,r);if((0,o.isErrorOper)(n))return n;const i=e.mathpack;return i.cond(n)<0?o.numErrorOper:(n=i.floor(n),p(e,n)?(e.config.date1904&&!(0,o.isStringOper)(r)&&(n=i.add(i.fromNumber(t.atpm1904to1900Days),n)),n):o.numErrorOper)},t.chkNumMultiOper=function e(t,r){switch(r.kind){case o.OperKind.Number:return(0,n.success)(new n.StrictSparseArray2D(1,1,1,1,[[r]],o.blankOper));case o.OperKind.String:const i=t.coerceOper(r,o.OperKind.Number);return(0,o.isErrorOper)(i)?(0,n.failure)(o.valueErrorOper):(0,n.success)(new n.StrictSparseArray2D(1,1,1,1,[[i]],o.blankOper));case o.OperKind.Blank:return(0,n.success)(new n.StrictSparseArray2D(1,1,1,1,[[t.mathpack.zero]],o.blankOper));case o.OperKind.Missing:return(0,n.failure)(o.naErrorOper);case o.OperKind.Error:return(0,n.failure)(r);case o.OperKind.Range:return e(t,(0,a.refToVal)(t,r,!1));case o.OperKind.Array:return(0,n.success)(new n.StrictSparseArray2D(r.rows,r.cols,r.rows,r.cols,r.opers,o.blankOper));default:return(0,n.failure)(o.valueErrorOper)}},t.validDateRange=p,t.numMod=function(e,t,r){const n=e.div(t,r);if((0,o.isErrorOper)(n))return n;const i=e.mul(e.trunc(n),r);if((0,o.isErrorOper)(i))return i;const a=e.sub(t,i);return!(0,o.isErrorOper)(a)&&e.cond(t)<0?e.abs(a):a},t.numInt=function(e,t){const r=e.sub(e.trunc(t),t);return(0,o.isNumberOper)(r)&&0===e.cond(r)},t.validateArraySize=function(e,t){if(e*t>1048576)return(0,i.throwEvaluationError)((0,o.notImplemented)(["Very large array size"]))},t.makeSlicer=function(e){return(0,o.isArrayOper)(e)?new g(e):new h(e)},t.rangeOrArrayToVal=function(e,t){return(0,o.isRangeOper)(e)?e.ranges.length>1?t:((0,n.assertTrue)("calc.funcs.rangeOrArrayToVal: not 3D ref",(0,o.isSheetIndex)(e.sheets)),e):e},t.getAbsoluteIndex=function(e,t){return(0,n.assertTrue)("calc.funcs.getAbsoluteIndex",(0,n.isInteger)(t)&&0!==t&&t<=e&&t>=-e),t>0?t-1:e+t};const n=r(52123),o=r(85882),i=r(48742),a=r(93600);function s(e,t){const r=(0,a.refToVal)(e,t,!1),i=(0,o.isRichOper)(r)?r.getFallback():r;switch(i.kind){case o.OperKind.Number:return i;case o.OperKind.Boolean:return o.valueErrorOper;case o.OperKind.String:const t=e.coerceOper(i,o.OperKind.Number);return(0,o.isNumberOper)(t)?t:o.valueErrorOper;case o.OperKind.Error:return i;case o.OperKind.Array:return o.valueErrorOper;case o.OperKind.Missing:return o.naErrorOper;case o.OperKind.Blank:return e.mathpack.zero;default:return(0,n.assertNever)("calc.funcs.chkNumOper",i)}}t.assertNumber=e=>(0,o.isNumberOper)(e)?e:(0,n.assertFalse)("calc.funcs.assertNumber"),t.assertString=e=>(0,o.isStringOper)(e)?e:(0,n.assertFalse)("calc.funcs.assertString"),t.assertError=e=>(0,o.isErrorOper)(e)?e:(0,n.assertFalse)("calc.funcs.assertError"),t.atpm1904to1900Days=1462;const l=0,u=2958465,c=0,d=2957003;function p(e,t){let r,n;const o=e.mathpack.lfix(t);return e.config.date1904?(r=c,n=d):(r=l,n=u),o>=r&&o<=n}class h{slice(e,t,r,n){const{row:i,col:a}=this.oper.ranges[0];return(0,o.range3DOper)(this.oper.sheets,(0,o.gridRange)(i+e,a+r,t,n))}constructor(e){this.oper=e;const{rows:t,cols:r}=e.ranges[0];this.rows=t,this.cols=r}}t.RangeSlicer=h;class g{slice(e,t,r,n){return(0,o.arrayOper)(t,n,this.oper.opers.slice(e,e+t).map((e=>e.slice(r,r+n))))}constructor(e){this.oper=e,this.rows=e.opers.length,this.cols=e.opers[0].length}}t.ArraySlicer=g},56717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rand=function(e,t){return e.getRandom()},t.randbetween=function(e,[t,r]){const n=(0,i.chkNumOper)(e,t),a=(0,i.chkNumOper)(e,r);if((0,o.isErrorOper)(n))return n;if((0,o.isErrorOper)(a))return a;const s=e.mathpack;if(s.cond2(n,a)>0)return o.numErrorOper;const l=e.getRandom(),u=s.ceil(n),c=s.floor(a),d=s.sub(c,u);return(0,o.isErrorOper)(d)?d:s.add(s.floor((0,i.assertNumber)(s.mul((0,i.assertNumber)(s.add(d,s.one)),l))),u)},t.randarray=function(e,t){const[r=o.missingOper,n=o.missingOper,l=o.missingOper,u=o.missingOper,c=o.missingOper]=t,d=e.mathpack,p=(0,o.isMissingOper)(r)?1:d.sfix(r),h=(0,o.isMissingOper)(n)?1:d.sfix(n);if(p<0||p>o.sheetRows||h<0||h>o.sheetRows)return o.valueErrorOper;if((0,i.validateArraySize)(p,h),0===p||0===h)return o.calcErrorOper;const g=(0,o.isMissingOper)(l)?d.zero:l,m=(0,o.isMissingOper)(u)?d.one:u;if(d.cond2(g,m)>0)return o.valueErrorOper;const f=!(0,o.isMissingOper)(c)&&c.value;if(f&&(!(0,i.numInt)(d,g)||!(0,i.numInt)(d,m)))return o.valueErrorOper;const v=[];for(let t=0;t<p;t++){const t=[];for(let r=0;r<h;r++){const r=f?a(e,g,m):s(e,g,m);t.push(r)}v.push(t)}return(0,o.arrayOper)(p,h,v)},t.now=function(e,t){return e.getTime(o.TimeGranularity.Instant)},t.today=function(e,t){return e.getTime(o.TimeGranularity.Day)};const n=r(52123),o=r(85882),i=r(25328);function a(e,t,r){const n=e.mathpack,o=(0,i.assertNumber)(n.add(r,n.one));return n.floor(s(e,t,o))}function s(e,t,r){const a=e.mathpack,s=a.sub(r,t),l=e.getRandom();if((0,o.isErrorOper)(s)){const e=a.div(t,a.fromNumber(3)),s=a.div(r,a.fromNumber(3));(0,n.assertTrue)("calc.funcs.getRandomFloatBetween",!(0,o.isErrorOper)(e)&&!(0,o.isErrorOper)(s));const u=a.sub(s,e);return(0,n.assertTrue)("calc.funcs.getRandomFloatBetween",!(0,o.isErrorOper)(u)&&a.cond(u)>=0),(0,i.assertNumber)(a.mul(a.fromNumber(3),(0,i.assertNumber)(a.add(e,(0,i.assertNumber)(a.mul(l,u))))))}return(0,i.assertNumber)(a.add(t,(0,i.assertNumber)(a.mul(l,s))))}},88573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hyperlink=function(e,[t,r]){return e.followHyperlinks?t:r??t}},21254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WildExp=void 0;const n=r(52123);var o;!function(e){e[e.OP_DOT=-1]="OP_DOT",e[e.OP_DOTSTAR=-2]="OP_DOTSTAR"}(o||(o={}));const{codePointTilde:i,codePointQuestionMark:a,codePointAsterisk:s}=n.codePoint;t.WildExp=class{pushBlock(e){if(""===e)return;const t=this.blocks.length;this.blocks.push(e),this.bytecode.push(t);for(let t=1;t<e.length;t+=1)this.bytecode.push(o.OP_DOT)}pushMeta(e){e===a?this.bytecode.push(o.OP_DOT):this.bytecode.push(o.OP_DOTSTAR)}test(e){if(void 0!==this.simplePattern)return this.testSimple(e,this.simplePattern);let t=Object.create(null);this.addState(t,0);for(let r=0;r<e.length;r+=1){const n=Object.keys(t);if(t=Object.create(null),0===n.length)return!1;for(let i=0;i<n.length;i+=1){const a=Number(n[i]);if(a===this.bytecode.length)continue;const s=this.bytecode[a];switch(s){case o.OP_DOT:this.addState(t,a+1);break;case o.OP_DOTSTAR:this.addState(t,a);break;default:const n=this.blocks[s];r+n.length<=e.length&&0===this.localeInfo.stringCompareCI(n,e.substring(r,r+n.length))&&this.addState(t,a+1)}}}return this.bytecode.length in t}addState(e,t){e[t]=!0;const r=this.bytecode;for(let n=t;n<r.length&&r[n]===o.OP_DOTSTAR;n+=1)e[n+1]=!0}testSimple(e,t){return t.length<=e.length&&(t.length===e.length||this.appendWildcard)&&0===this.localeInfo.stringCompareCI(t,e.substring(0,t.length))}constructor(e,t,r=!1){this.localeInfo=e,this.source=t,this.appendWildcard=r,this.bytecode=[],this.blocks=[];let o="";for(let e=0;e<t.length;e+=1){const r=t.charCodeAt(e);if(r===i&&e+1<t.length){const r=(0,n.stringCodePointAt)(t,e+1);o+=(0,n.stringFromCodePoint)(r),e+=(0,n.numCodeUnits)(r)}else r!==i&&(r!==a&&r!==s?o+=t.charAt(e):(this.pushBlock(o),o="",this.pushMeta(r)))}0===this.bytecode.length&&(this.simplePattern=o),this.pushBlock(o),r&&this.pushMeta(s)}}},14382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextFuncs=t.getWorksheetFunc=t.LambdaOper=t.RecordOper=t.isMachineCall=t.machineCall=t.MachineCallKind=t.readOperType=t.singleReadOperType=t.createEvaluator=t.createCompiler=t.PackageName=void 0;const n=r(16533);t.PackageName="excel-online-calc-runtime";var o=r(42457);Object.defineProperty(t,"createCompiler",{enumerable:!0,get:function(){return o.createCompiler}});var i=r(94201);Object.defineProperty(t,"createEvaluator",{enumerable:!0,get:function(){return i.createEvaluator}}),n.__exportStar(r(58055),t);var a=r(93600);Object.defineProperty(t,"singleReadOperType",{enumerable:!0,get:function(){return a.singleReadOperType}}),Object.defineProperty(t,"readOperType",{enumerable:!0,get:function(){return a.readOperType}}),Object.defineProperty(t,"MachineCallKind",{enumerable:!0,get:function(){return a.MachineCallKind}}),Object.defineProperty(t,"machineCall",{enumerable:!0,get:function(){return a.machineCall}}),Object.defineProperty(t,"isMachineCall",{enumerable:!0,get:function(){return a.isMachineCall}}),n.__exportStar(r(15881),t);var s=r(75736);Object.defineProperty(t,"RecordOper",{enumerable:!0,get:function(){return s.RecordOper}}),Object.defineProperty(t,"LambdaOper",{enumerable:!0,get:function(){return s.LambdaOper}});var l=r(88390);Object.defineProperty(t,"getWorksheetFunc",{enumerable:!0,get:function(){return l.getWorksheetFunc}});var u=r(69352);Object.defineProperty(t,"nextFuncs",{enumerable:!0,get:function(){return u.nextFuncs}})},80068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.coerceOper=function(e,t,r){const n=u(e,t,r);return(0,o.isErrorOper)(n)&&!(0,o.isErrorOper)(t)&&(0,s.traceErrorOper)("calc.runtime.coerceOper",n.type,`kind = ${t.kind}`),n};const n=r(52123),o=r(85882),i=r(43177),a=r(48742),s=r(60233);function l(e,t){return 0!=(t&o.OperKind.Number)?e.zero:0!=(t&o.OperKind.String)?s.emptyStringOper:0!=(t&o.OperKind.Boolean)?o.falseOper:o.valueErrorOper}function u(e,t,r){const{localeInfo:s,mathpack:c}=e.globals.config;if(0!=(r&t.kind))return t;if((0,o.isNumberOper)(t)){if(0!=(r&o.OperKind.String)){const e=20;return(0,o.stringOper)(c.formatGeneral(s,t,e))}return 0!=(r&o.OperKind.Boolean)?(0,o.booleanOper)(0!==c.cond(t)):0!=(r&o.OperKind.Array)?(0,o.arrayOper)(1,1,[[t]]):o.valueErrorOper}if((0,o.isStringOper)(t)){if(0!=(r&o.OperKind.Number)){if(0===t.value.length)return o.valueErrorOper;if(t.value.length>255)return o.valueErrorOper;const r=e.numberFormatter.parseGeneral(t.value,!1,!0,i.GetTimeKind.NonVolatile);return(0,n.isSuccess)(r)||(0,a.throwEvaluationError)(r.reason),void 0!==r.value?r.value.value:o.valueErrorOper}if(0!=(r&o.OperKind.Boolean)){if(0===s.stringCompareCI(t.value,s.trueName))return o.trueOper;if(0===s.stringCompareCI(t.value,s.falseName))return o.falseOper}return 0!=(r&o.OperKind.Array)?(0,o.arrayOper)(1,1,[[t]]):o.valueErrorOper}if((0,o.isBooleanOper)(t))return 0!=(r&o.OperKind.Number)?t.value?c.one:c.zero:0!=(r&o.OperKind.String)?(0,o.stringOper)(t.value?s.trueName:s.falseName):0!=(r&o.OperKind.Array)?(0,o.arrayOper)(1,1,[[t]]):o.valueErrorOper;switch(t.kind){case o.OperKind.Error:return t;case o.OperKind.Missing:return 0!=(r&o.OperKind.Blank)?o.blankOper:l(c,r);case o.OperKind.Blank:return l(c,r);case o.OperKind.Rich:return 0!=(r&o.OperKind.Array)?(0,o.arrayOper)(1,1,[[t]]):u(e,t.getFallback(),r);case o.OperKind.Range:case o.OperKind.Array:return o.valueErrorOper;default:return(0,n.assertNever)("calc.runtime.coerceOper",t)}}},42457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compiledFormula=v,t.compiledFormulaTerm=function(e,t){return"object"!=typeof t.term?(0,n.assertFalse)(`${e}: expected known compiled formula type; given ${(0,n.anonymize)(t)}`):t.term},t.createCompiler=function(e){return{compileFormula:(t,r)=>function(e,t,r){try{const s=t.config?.localeInfo??e.config.localeInfo,{names:l,numNames:u}=function(e,t){const r=t.annotations[t.node.label],i=n.RedBlackMapTree.create(e.stringCompareCI);if(r?.kind===o.AnnotationKind.FormulaRoot){const{contextNames:t=[]}=r;return{names:t.reduce(((t,r,n)=>t.setValue((0,o.getBoundName)(e,r.whole),n)),i),numNames:t.length}}return{names:i,numNames:0}}(s,r),c={globals:e,locals:t,localeInfo:s,annotations:r.annotations,names:l,numNames:u},d=(i=(0,o.reducePledge)(new p(c),r),(0,a.transformBottomUp)(i,f));return(0,n.success)(v(r,d))}catch(e){return e instanceof l?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)(e))}var i}(e,t,r)}};const n=r(52123),o=r(85882),i=r(15881),a=r(55823),s=r(60233),l=(0,o.createFailureErrorClass)("CompileError"),u=(0,s.makeStrict)((0,o.getWorksheetFuncType)(o.WorksheetFuncId.IF)),c=(0,s.makeStrict)((0,o.getWorksheetFuncType)(o.WorksheetFuncId.CHOOSE));function d(e){return(0,a.isOperTerm)(e)&&(0,o.isWriteOper)(e)}class p{literalNode(e,t,r){return n.Pledge.resolve(this.noopTerm(e,r))}arrayNode(e,t,r){return n.Pledge.all(e.map((e=>n.Pledge.all(e.map(this.lazyVisitFormulaNode))))).bind((e=>this.toArrayTerm(e,r)))}toArrayTerm(e,t){const r=e.length,n=void 0===e[0]?0:e[0].length,i=e.map((e=>e.map((e=>e.kind===a.TermKind.Noop?e.children:e))));return i.every((e=>e.every(d)))?this.noopTerm((0,o.arrayOper)(r,n,i),t):(0,a.arrayTerm)(r,n,e,t)}appNode(e,t,r,i){const s=this.context.annotations[i]?.kind===o.AnnotationKind.FormulaRoot;if((0,o.isOperatorNode)(e)){const r=(0,o.getOperatorType)(e.id);return n.Pledge.all(t.map(this.lazyVisitFormulaNode)).bind((t=>(0,a.appTerm)((0,a.operatorIdToName)(e.id),r,s,void 0,t,i)))}const l=(0,o.getArguments)(t);if((0,o.isWSFNode)(e)){const{id:t}=e;switch(t){case o.WorksheetFuncId.IFERROR:case o.WorksheetFuncId.IFNA:{(0,n.assertTrue)("calc.runtime.toIfPredicateTerm: expected wff",2===l.length);const[e,r]=l,a=new p({...this.context,numNames:this.context.numNames+1});return n.Pledge.all([this.lazyVisitFormulaNode(e),n.Pledge.try((()=>(0,o.visitFormulaNode)(a,r)))]).bind((([e,r])=>this.toIfPredicateTerm(t===o.WorksheetFuncId.IFERROR?o.WorksheetFuncId.ISERROR:o.WorksheetFuncId.ISNA,e,r,i)))}case o.WorksheetFuncId._UDF:return(0,n.assertFalse)("calc.runtime.appNode: expected wff (not UDF)")}return n.Pledge.all(l.map(this.lazyVisitFormulaNode)).bind((e=>{switch(t){case o.WorksheetFuncId.IF:return this.toIfTerm(e,i);case o.WorksheetFuncId.CHOOSE:return this.toChooseTerm(e,i)}const r=(0,o.getWorksheetFuncType)(t);return(0,a.appTerm)((0,a.worksheetFunctionIdToName)(t),r,!1,void 0,e,i)}))}return this.lazyVisitFormulaNode(e).bind((e=>n.Pledge.all(l.map(this.lazyVisitFormulaNode)).bind((t=>this.toAppTerm(e,t,i)))))}toIfPredicateTerm(e,t,r,n){const i=(0,a.readStackTerm)(0,void 0),s=(0,a.conditionalTerm)((0,a.worksheetFunctionIdToName)(o.WorksheetFuncId.IF),u,!1,(0,a.appTerm)((0,a.worksheetFunctionIdToName)(e),(0,o.getWorksheetFuncType)(e),!1,void 0,[i],void 0),[r,i],void 0);return(0,a.letTerm)([t],!1,[void 0],s,n)}toIfTerm(e,t){switch(e.length){case 3:return(0,a.conditionalTerm)((0,a.worksheetFunctionIdToName)(o.WorksheetFuncId.IF),u,!1,e[0],[e[1],e[2]],t);case 2:return(0,a.conditionalTerm)((0,a.worksheetFunctionIdToName)(o.WorksheetFuncId.IF),u,!1,e[0],[e[1],o.falseOper],t);case 1:throw new l((0,o.notImplemented)(["single-argument IF"]));default:return(0,n.assertFalse)("calc.runtime.toIfTerm: expected wff")}}toChooseTerm(e,t){return(0,n.assertTrue)("calc.runtime.toChooseTerm: expected wff",e.length>=1),(0,a.conditionalTerm)((0,a.worksheetFunctionIdToName)(o.WorksheetFuncId.CHOOSE),c,!1,e[0],e.slice(1),t)}toAppTerm(e,t,r){return(0,a.appTerm)((0,a.worksheetFunctionIdToName)(o.WorksheetFuncId._UDF),(0,o.higherOrderFunctionType)(),!1,void 0,[e,...t],r)}letNode(e,t,r,s,l,u){const c=e.id===o.WorksheetFuncId.LETREC||e.id!==o.WorksheetFuncId.LET&&(0,n.assertFalse)("calc.runtime.compile");(0,n.assertTrue)("calc.runtime.letNode: expected wff",void 0!==r);const d=this.bindNames(t),p=d[t.length],h=t.map((({name:e})=>e.arg.label));let g;return g=c?n.Pledge.all(t.map((({binder:e})=>n.Pledge.try((()=>(0,o.visitFormulaNode)(p,e.arg)))))):n.Pledge.all(t.map((({binder:e},t)=>{const r=d[t];return n.Pledge.try((()=>(0,o.visitFormulaNode)(r,e.arg)))}))),g.bind((e=>(0,o.visitFormulaNode)(p,r.arg).bind((r=>(0,a.letTerm)(e.map(((e,r)=>this.noopTerm(e,(0,i.runtimePositionLetVal)(t[r].name.arg.label,t[r].binder.arg.label)))),c,h,r,u)))))}lambdaNode(e,t,r,i,s,l){(0,n.assertTrue)("calc.runtime.lambdaNode: expected wff",void 0!==r);const u=this.bindNames(t),c=u[t.length],d=t.reduce(((e,{name:t},r)=>(0,n.fastMax)(e,t.arg.isOptional?0:r+1)),0),p=t.length;return n.Pledge.all(t.map((({name:e},t)=>{if(void 0===e.arg.def)return n.Pledge.resolve(void 0);const r=u[t],i=e.arg.def.rhs;return n.Pledge.try((()=>(0,o.visitFormulaNode)(r,i)))}))).bind((e=>(0,o.visitFormulaNode)(c,r.arg).bind((r=>{const n=[...e.map(((e,t)=>[e,t])).filter((e=>void 0!==e[0])).map((([e])=>e)),r];return(0,a.lambdaTerm)((e=>e>=d&&e<=p),t.map((({name:e})=>({paramNodeLabel:e.arg.label,paramNameLabel:e.arg.name.name.label,hasDef:void 0!==e.arg.def,isRest:!1}))),n,l)}))))}bindNames(e){const t=this.context.numNames,r=[this];return e.reduce(((e,{name:i},a)=>{(0,n.assertTrue)("calc.runtime.bindNames: expected wff",void 0!==i.arg.wholeName);const s=e.setValue((0,o.getBoundName)(this.context.localeInfo,i.arg.wholeName),t+a);return r.push(new p({...this.context,names:s,numNames:t+a+1})),s}),this.context.names),r}parenNode(e,t,r){return this.lazyVisitFormulaNode(e).bind((e=>this.noopTerm(e,r)))}nameNode(e,t,r){const i=this.context.annotations[r]?.kind===o.AnnotationKind.AppHeadName;return n.Pledge.resolve(this.toNameTerm(e,t,i))}toNameTerm(e,t,r){const{locals:s,names:l,numNames:u}=this.context,c=(0,o.flattenNameParts)(e).parts;if((0,o.canDenoteLocalName)(t,c)){const[e,...t]=c,r=l.getEntry((0,o.getBoundName)(this.context.localeInfo,e.asWhole));if(void 0!==r){const o=r.value,i=(0,a.readStackTerm)(u-o-1,e.qualifiedLabel);return n.Pledge.resolve(t.reduce(((e,t)=>this.toFieldRefTerm(e,t.rhs.field.whole,t.qualifiedLabel)),i))}}let d;if(null==t&&(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.CalcEtaLambda")&&(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.EtaReducedLambdas")){const t=(0,o.getEtaFuncId)(this.context.localeInfo,e.asWhole);if(void 0!==t){const r={...(0,o.getWorksheetFuncType)(t)};r.maxArgs=(0,n.fastMin)(254,r.maxArgs),d=(0,a.lambdaTerm)((e=>(0,o.isValidArgsLength)(r,e)),[{paramNodeLabel:void 0,paramNameLabel:void 0,hasDef:!1,isRest:!0}],[(0,a.appTerm)((0,a.worksheetFunctionIdToName)(t),r,!1,[{isSpread:!0}],[(0,a.readStackTerm)(0,void 0)],(0,i.runtimePositionEtaLambdaBody)(t))],e.qualifiedLabel)}}if((0,o.canDenoteCellRef)(s,t,c)){const[e,...r]=c,n=null!=t&&t.kind===o.QualifierKind.Ident?(0,o.sheetQualifier)(t.name,void 0,t.isQuoted,t.label):t,i=(0,a.cellRefTerm)(e.ref,n,e.qualifiedLabel);d=r.reduce(((e,t)=>this.toFieldRefTerm(e,t.rhs.field.whole,t.qualifiedLabel)),i)}return(0,o.canDenoteUserDefinedFunc)(r,t,e)&&(d=(0,a.udfTerm)(e.asWhole,t,d,e.qualifiedLabel)),e.canDenoteNamedObject&&(d=(0,a.nameTerm)(e.asWhole,t,r?o.NameSource.AppHead:o.NameSource.Plain,d,e.qualifiedLabel)),(0,n.assertTrue)("calc.runtime.compile: expected wff NameNode",void 0!==d),n.Pledge.resolve(d)}cellRefNode(e,t,r){return n.Pledge.resolve((0,a.cellRefTerm)(e,t,r))}fieldRefNode(e,t,r){(0,n.assertTrue)("calc.runtime.compile: expected wff FieldRef",t.field.kind===o.NodeKind.Ident);const i=t.field.whole;return this.lazyVisitFormulaNode(e).bind((e=>this.toFieldRefTerm(e,i,r)))}toFieldRefTerm(e,t,r){const n=o.WorksheetFuncId.FIELDVALUE;return(0,a.appTerm)((0,a.worksheetFunctionIdToName)(n),(0,o.getWorksheetFuncType)(n),!1,void 0,[e,(0,o.stringOper)(t)],r)}noopTerm(e,t){return this.context.locals.emitStepInfo?(0,a.noopTerm)(e,t):e}structRefNode(e,t,r){return n.Pledge.resolve((0,a.structRefTerm)((0,o.structRefNode)(e,t,r),r))}missingNode(e,t){return(0,n.assertFalse)("calc.runtime.compile: unexpected missing node")}badSequenceNode(e,t,r){return(0,n.assertFalse)("calc.runtime.compile: unexpected bad node")}badCharsNode(e,t,r){return(0,n.assertFalse)("calc.runtime.compile: unexpected bad node")}operatorNode(e,t){return n.Pledge.resolve((0,o.operatorNode)(e,t))}wsfNode(e,t,r){return n.Pledge.resolve((0,o.wsfNode)(e,t,r))}constructor(e){this.context=e,this.visitFormulaNode=e=>(0,o.visitFormulaNode)(this,e),this.lazyVisitFormulaNode=e=>n.Pledge.resolve(e).bind(this.visitFormulaNode)}}const h={[o.OperatorId.At]:o.WorksheetFuncId.SINGLE,[o.OperatorId.Pound]:o.WorksheetFuncId.ANCHORARRAY},g=[function(e){if(!(0,a.isOperTerm)(e)&&e.kind===a.TermKind.App&&(0,a.isOperatorName)(e.data.funName)){const t=h[(0,a.operatorNameToId)(e.data.funName)];if(void 0!==t)return(0,a.appTerm)((0,a.worksheetFunctionIdToName)(t),(0,o.getWorksheetFuncType)(t),e.data.isFormulaRoot,e.data.args,e.children,e.position)}return e}],m=(e,t)=>t(e),f=e=>g.reduce(m,e);function v(e,t){return{...e,term:t}}},71637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCellValuesAsArray=g,t.dereference=f,t.dereferenceOper=function(e,t,r){const o=[],s=f(e,t,r,o);if(null==s){if(o.length>0)return(0,a.throwEvaluationError)((0,a.unevaluated)(o));const e=`calc.runtime.dereferenceOper: internal error: expected nonempty anchors; oper = ${(0,n.anonymize)(t)}`;return n.ulsLogger.ULS.assertTag(595980819,i.LogCategory.msoulscat_ES_EWAJS,!1,e)}return s},t.dereferenceOpers=function(e,t,r){const n=[];for(let i=0;i<t.length;i+=1){const a=f(e,t[i],(0,o.getArgType)(r,i,t.length),n);null!=a&&(t[i]=a)}if(n.length>0)return(0,a.throwEvaluationError)((0,a.unevaluated)(n))};const n=r(52123),o=r(85882),i=r(68247),a=r(48742),s=r(93600),l=r(15881),u=r(60233),c=r(18377),d=16;function p(e,t){const r=t.map.getValue(e);if(void 0!==r){const e=(0,c.recordCellCycle)(r,t.current);return(0,a.throwEvaluationError)(e)}}function h(e,t,r){e.precedents.cells.push(t);const o=e.globals.getCellValue(t);if(o.kind===n.ResultKind.Failure)return(0,a.throwEvaluationError)(o.reason);const i=o.value;if(i.kind===l.CellKind.FinalValue)return i.oper;p(i.anchor,e.visitedCells),r.push(i.anchor)}function g(e,t,r,i){let s;if(e.precedents.cells.push(t),!i||(0,o.gridRangeSize)(t.range)<=d)s=t;else{const r=e.globals.getUsedRange(t.sheet);let i;(0,n.isSuccess)(r)?i=null==r.value?void 0:r.value.range:(0,a.throwEvaluationError)(r.reason);const l=void 0===i?void 0:(0,o.gridRangeIsect)(t.range,(0,o.gridRange)(0,0,i.row+i.rows,i.col+i.cols));if(void 0===l)return new n.StrictSparseArray2D(t.range.rows,t.range.cols,0,0,[],o.blankOper);s=(0,o.sheetGridRange)(t.sheet,l)}const u=e.globals.getCellValues(s);if(u.kind===n.ResultKind.Failure)return(0,a.throwEvaluationError)(u.reason);const c=r.length,h=function(e,t,r,i,a){const s=[],u=i.length;let c=0;(0,n.assertTrue)("calc.runtime.deference: readIntoArray2D number of rows",u===r.rows);for(let d=0;d<u;d+=1){s.push([]);const u=i[d].length;(0,n.assertTrue)("calc.runtime.deference: readIntoArray2D number of cols",u===r.cols),c=0===d?u:(0,n.fastMin)(u,c);for(let r=0;r<u;r+=1){const u=i[d][r];l.CellKind.FinalValue===u.kind?s[d][r]=u.oper:(p(u.anchor,e.visitedCells),(0,n.assertTrue)("calc.runtime.deference: readIntoArray2D correct sheet",(0,o.isSheetIndexEqual)(u.anchor.sheet,t.sheet)),a.push(u.anchor),s[d][r]=o.refErrorOper)}}return new n.StrictSparseArray2D(t.range.rows,t.range.cols,u,c,s,o.blankOper)}(e,t,s.range,u.value,r);return c===r.length?h:void 0}function m(e,t,r){const i=g(e,t,r,!1);if(null!=i)return(0,o.arrayOper)(i.rows,i.cols,i.rows===i.denseRows&&i.cols===i.denseCols?i.denseElements:(0,n.array2DToJaggedArray)(i))}function f(e,t,r,i){if(0!=(r&o.OperKind.Range))return t;if(!(0,o.isRangeOper)(t))return t;const l=t.sheets;if(!(0,o.isSheetIndex)(l))return(0,u.traceErrorOper)("calc.runtime.dereference",o.ErrorType.REF,`3D range, oper = ${(0,n.anonymize)(t)}`),o.refErrorOper;if(1!==t.ranges.length)return(0,u.traceErrorOper)("calc.runtime.dereference",o.ErrorType.VALUE,`union range, oper = ${(0,n.anonymize)(t)}`),o.valueErrorOper;const c=t.ranges[0];if(0!=(r&s.singleReadOperType)){if((0,o.isGridCell)(c))return h(e,(0,o.sheetGridCell)(l,c),i);if(e.locals.implicitIntersect&&(0,n.isFeatureEnabled)(n.FeatureName.CalcLegacyImplicitIntersection)&&!(0,n.isFeatureEnabled)(n.FeatureName.CalcPreventSpillingHack)){const r=e.locals.originGridCell;if(!(0,n.isSuccess)(r))return(0,a.throwEvaluationError)(r.reason);const s=(0,o.gridCellImplicitIsect)(r.value,c);return null==s?((0,u.traceErrorOper)("calc.runtime.dereference",o.ErrorType.VALUE,`empty intersection, oper = ${(0,n.anonymize)(t)}`),o.valueErrorOper):h(e,(0,o.sheetGridCell)(l,s),i)}return m(e,(0,o.sheetGridRange)(l,c),i)}return 0!=(r&o.OperKind.Array)?m(e,(0,o.sheetGridRange)(l,c),i):((0,u.traceErrorOper)("calc.runtime.dereference",o.ErrorType.VALUE,`bad target type ${r}`),o.valueErrorOper)}},61695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCellEvaluationMachine=function(e,t,r,o){return n.Pledge.try((()=>new d(e,t,r,o).evalCell()))};const n=r(52123),o=r(85882),i=r(48742),a=r(93600),s=r(15881),l=r(60233),u=r(75736),c=r(18377);class d{evalCell(){const e=this.context.globals.getCellValue(this.cell);if(e.kind===n.ResultKind.Failure)return{kind:i.CellEvaluationResultKind.ReadFailure,failure:e};const t=e.value;if(t.kind===s.CellKind.FinalValue)return{kind:i.CellEvaluationResultKind.ReadOper};const r=this.context.globals.getCellFormula(t.anchor);if(r.kind===n.ResultKind.Failure){const e="calc.runtime.CellEvaluationMachine.next: unexpected Failure from getCellFormula";return(0,n.assertFalse)(e)}const o=r.value;if(null==o){const e=`calc.runtime.CellEvaluationMachine.next: client error: expected getCellFormula(${(0,n.anonymize)(t.anchor)}) != null`;return(0,n.assertFalse)(e)}const l=this.visitAnchor(o),u=this.context.createFormulaEvaluationMachine(this.context,this.stepConfig,(0,i.evalLocalsGrid)(l.source),l.precedents,(0,c.appendVisitedCell)(this.visitedCells,l),c.emptyVisitedNames,a.readOperType,o.formula);return n.Pledge.fromMachine(u).bind(this.receiveSuccess(l)).catch(this.receiveFailure(l))}visitAnchor(e){const t=(0,o.sheetGridRangeAnchor)(e.source.range),r=this.visitedCells.map.getValue(t);if(null!=r){const e=`calc.runtime.CellEvaluationMachine.visitAnchor: unexpected visitValue at ${(0,n.anonymize)(t)}; given ${(0,n.anonymize)(r)}`;return(0,n.assertFalse)(e)}return{cell:t,cycle:void 0,previous:this.visitedCells.current,source:e.source,precedents:(0,i.bottomEvalPrecedents)()}}receiveSuccess(e){return t=>{if((0,o.isRangeOper)(t)||(0,o.isMissingOper)(t)){const e=`calc.runtime.CellEvaluationMachine.receiveSuccess: expected ReadOper; given ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}return this.writeSuccess(e.source,t,e.precedents)}}receiveFailure(e){return t=>{const r=t.kind===s.ReasonKind.PreviousFailure&&void 0!==e.cycle?e.cycle:t;return this.writeFailure(e.source,r,e.precedents)}}writeSuccess(e,t,r){return this.setCellValue(e,t,r),{kind:i.CellEvaluationResultKind.WroteOper,source:e}}writeFailure(e,t,r){return this.context.globals.setCellFailure(e.range,t,r),{kind:i.CellEvaluationResultKind.WroteFailure,source:e}}setCellValue(e,t,r){const n=this.context.globals.config.mathpack.zero,i=(0,o.isBlankOper)(t)?n:t;if(e.kind===o.LexicalKind.Cell){if((0,o.isArrayOper)(i)){const t=void 0===i.opers[0]?o.naErrorOper:i.opers[0][0],a=(0,o.isBlankOper)(t)?n:t;if(!this.isLambdaEnabled(e,a,r))return;return this.context.globals.setCellValue(e.range,a,r)}if(!this.isLambdaEnabled(e,i,r))return;return this.context.globals.setCellValue(e.range,i,r)}const a=e.range.range,s=(0,l.broadcastWriteOper)(a.rows,a.cols,i).opers,u=e=>(0,o.isBlankOper)(e)?n:e,c=s.map((e=>e.map(u)));if(this.isLambdaEnabled(e,c,r))return this.context.globals.setCellValues(e.range,c,r)}isLambdaEnabled(e,t,r){return!((Array.isArray(t)?t.some((e=>e.some((e=>e instanceof u.LambdaOper)))):t instanceof u.LambdaOper)&&!(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaCellValues)&&(this.context.globals.setCellFailure(e.range,(0,o.notImplemented)(["LAMBDA cell values"]),r),1))}constructor(e,t,r,n){this.context=e,this.stepConfig=t,this.visitedCells=r,this.cell=n}}},41705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFormulaEvaluationMachine=function(e,t,r,i,s,l,p,h){const{contextNames:g=[]}=r,m=h.annotations[h.node.label],f=(m?.kind===o.AnnotationKind.FormulaRoot?m.contextNames:void 0)??[];return(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.createFormulaEvaluationMachine: contextNames",f.length===g.length&&g.every(((e,t)=>e.label===f[t].label))),new v(e,t,r,i,s,l,(0,u.evalUsage)([0],0),p,!1,(0,d.noopTerm)((0,a.compiledFormulaTerm)("calc.runtime.createFormulaEvaluationMachine",h),c.runtimePositionFormulaRoot),g)},t.createCallTermEvaluationMachine=function(e,t,r,n,i,a,s,l){return new v(e,t,r,n,i,a,(0,u.evalUsage)(s.lambdaCalls,s.lambdaDepth),o.SignatureType.All,!0,l,[])};const n=r(52123),o=r(85882),i=r(80068),a=r(42457),s=r(71637),l=r(29603),u=r(48742),c=r(15881),d=r(55823),p=r(60233),h=r(75736),g=r(18377),m=()=>(0,u.throwEvaluationError)((0,o.notImplemented)(["LETREC cycle"]));function f(e,t){return{context:e,holeIndex:0,locals:t}}class v{get globals(){return this.context.globals}get numberFormatter(){return this.context.numberFormatter}next(){try{return this.doNext()}catch(e){if(e instanceof u.EvaluationError)return(0,u.handleEvaluationError)(this.context,this.visitedCells,e.reason);throw e}}receiveResult(e){return(0,n.isSuccess)(e)?this.updateTermTransition(e.value):e}doNext(){if((0,d.isOperTerm)(this.term)){const e=this.continuation;if(0===e.length){(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.doNext: lambdaDepth correctly decremented",this.usage.lambdaDepth===this.initialLambdaDepth);const e=(0,s.dereferenceOper)(this,this.term,this.target),t=(0,i.coerceOper)(this,e,this.target);return this.precedents.bound=o.PrecsBound.Exact,!(0,n.isFeatureEnabled)(n.FeatureName.CalcPreventSpillingHack)||this.isNested||this.locals.lexicalSource.kind!==o.LexicalKind.Cell||!(0,o.isArrayOper)(t)||1===t.rows&&1===t.cols?(0,n.success)(t):(0,n.failure)((0,o.notImplemented)(["spilling"]))}const t=e[e.length-1];return this.applyContinuation(this.term,t)}return this.reduceFormula(this.term)}applyContinuation(e,t){const r=t.context;switch(r.kind){case d.TermKind.App:{const i=t.holeIndex,a=r.children.length;(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.applyContinuation",i<=a);const s=t.locals;if(i===a)return(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.applyContinuation",(0,o.isMissingOper)(e)),this.dispatchFunction(s,r.data,r.position);const u=r.data.args[i]?.isSpread;return!0===u?((0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.applyContinuation",e instanceof l.RestArgsOper),(0,n.safePush)(s,e.opers)):((0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.applyContinuation",!(e instanceof l.RestArgsOper)),s.push(e)),i+1<a?this.nextHoleTransition(t,r.children[i+1]):this.nextHoleTransition(t,o.missingOper)}case d.TermKind.Conditional:{const a=t.holeIndex;if(0===a){const l=(0,d.worksheetFunctionNameToId)(r.data.funName),u=l===o.WorksheetFuncId.IF?o.OperKind.Boolean:o.OperKind.Number;let c=(0,s.dereferenceOper)(this,e,u);if((0,o.isArrayOper)(c))return t.locals=[c],this.nextHoleTransition(t,r.children[a+1]);if((0,o.isRichOper)(c))return(0,n.failure)((0,o.notImplemented)(["IF/CHOOSE with a rich value condition"]));if(c=(0,i.coerceOper)(this,c,u),l===o.WorksheetFuncId.IF&&(0,o.isBooleanOper)(c))return this.popContextTransition(r.children[c.value?1:2]);if(l===o.WorksheetFuncId.CHOOSE&&(0,o.isNumberOper)(c)){const e=this.context.globals.config.mathpack.fix(c);if(e<1||e>r.children.length-1){const t=`CHOOSE; out of bounds option = ${(0,n.anonymize)(e)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.applyContinuation",o.ErrorType.VALUE,t),this.popContextTransition(o.valueErrorOper)}return this.popContextTransition(r.children[e])}return(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.applyContinuation",(0,o.isErrorOper)(c)),this.popContextTransition(c)}const l=t.locals;return l[a]=e,a+1<r.children.length?this.nextHoleTransition(t,r.children[a+1]):this.dispatchFunction(l,r.data,r.position)}case d.TermKind.CallName:{const r=t.locals;return this.locals=r.locals,this.caller=r.caller,this.restoreStack(r),this.visitedNames=r.visitedNames,this.popContextTransition(e)}case d.TermKind.Let:{const n=t.holeIndex,o=r.children.length-1;if(n>=o){const r=t.locals;return this.restoreStack(r),this.popContextTransition(e)}if(r.data.rec){const t=this.stackEnv.getCount()-o+n;this.stackEnv.getValue(t).value=e,this.stackEnv=this.stackEnv.setValue(t,e)}else this.stackEnv=this.stackEnv.setValue(this.stackEnv.getCount(),e),this.stackMapNumPushed+=1;return n+1>=o&&this.isLetTcoPossible()?this.popContextTransition(r.children[n+1]):this.nextHoleTransition(t,r.children[n+1])}case d.TermKind.Array:{const n=(0,s.dereferenceOper)(this,e,p.writeOperType),{rows:a,cols:l}=r.data,u=t.holeIndex,c=u%l,d=l===c+1,h=(u-c)/l,g=t.locals;if(g[h][c]=(0,i.coerceOper)(this,n,p.writeOperType),a===h+1&&d)return this.popContextTransition((0,o.arrayOper)(a,l,g));const m=d?h+1:h,f=d?0:c+1;return this.nextHoleTransition(t,r.children[m][f])}case d.TermKind.CallLambda:{const r=t.locals;return this.locals=r.locals,this.caller=r.caller,this.restoreStack(r),this.usage.lambdaDepth-=1,this.popContextTransition(e)}case d.TermKind.CallFirstOrderFunc:{const r=t.locals;return this.locals=r.locals,this.caller=r.caller,this.restoreStack(r),this.popContextTransition(e)}case d.TermKind.PostStep:{const r=t.locals;return this.stepConfig?.postStep(r,e),this.popContextTransition(e)}default:return(0,n.assertNever)("calc.runtime.FormulaEvaluationMachine.applyContinuation",r)}}reduceFormula(e){switch(e.kind){case d.TermKind.CellRef:return this.updateTermTransition(this.evalCellRefTerm(e));case d.TermKind.StructRef:return this.updateTermTransition(this.evalStructRefTerm(e));case d.TermKind.App:{const t=e.data.funName;if(!(0,d.isOperatorName)(t)){const e=(0,d.worksheetFunctionNameToId)(t);if(e!==o.WorksheetFuncId._UDF){const t=this.globals.getWorksheetFunc(e);if(t.kind===n.ResultKind.Failure)return(0,u.throwEvaluationError)(t.reason)}}if(0===e.children.length){const r=new l.FunctionDispatcher(this.context,this.stepConfig,this.locals,this.stackFrameList(e.position),this.precedents,this.visitedCells,this.visitedNames,this.usage).dispatchFunction(t,e.data.funType,e.data.isFormulaRoot,[]);return this.updateTermTransition(r)}return this.pushContextTransition(e,e.children[0],[])}case d.TermKind.CallLambda:{const t=this.isCallLambdaTcoPossible();if(this.usage.lambdaCalls[0]+1>(this.globals.limits.maxLambdaCalls??1/0))return(0,u.throwEvaluationError)((0,c.limitExceeded)(c.LimitKind.LambdaCalls));if(!t&&this.usage.lambdaDepth+1>(this.globals.limits.maxLambdaDepth??1/0))return(0,u.throwEvaluationError)((0,c.limitExceeded)(c.LimitKind.LambdaDepth));t||(this.usage.lambdaDepth+=1),this.usage.lambdaCalls[0]+=1;const r=this.stackEnv;this.stackEnv=e.data.capturedStackEnv;const n=this.stackMapList();this.stackMapLabels=void 0,this.stackMapNumPushed=0,this.stackMapNext=e.data.capturedStackMap;const o=this.locals;this.locals=(0,u.evalLocalsLambda)(e.data.capturedLocals,this.locals);const i=this.caller;return this.switchCaller(e.data.caller,t),t?this.updateTermTransition(e.children):this.pushContextTransition(e,e.children,{locals:o,caller:i,stackEnv:r,stackMap:n})}case d.TermKind.CallFirstOrderFunc:{const t=this.locals;this.locals=(0,u.evalLocalsFirstOrderFunc)(e.data.source,this.locals);const r=this.caller;this.switchCaller(e.data.caller,!1);const n=this.stackEnv;this.stackEnv=u.emptyStackEnv;const o=this.stackMapList();return this.stackMapLabels=void 0,this.stackMapNumPushed=0,this.stackMapNext=void 0,this.pushContextTransition(e,e.children,{locals:t,caller:r,stackEnv:n,stackMap:o})}case d.TermKind.CallMachine:return(0,n.callMachineTransition)(e.data.machine,this);case d.TermKind.Conditional:return this.pushContextTransition(e,e.children[0],void 0);case d.TermKind.Let:{const t=e.children.length-1;if(0===t)return this.updateTermTransition(e.children[0]);const r=this.stackEnv,n=this.stackMapList();if(this.stackMapLabels=e.data.varLabels,this.stackMapNumPushed=0,this.stackMapNext=n,e.data.rec){for(let e=0;e<t;e+=1)this.stackEnv=this.stackEnv.setValue(this.stackEnv.getCount(),new u.LazyOper(m));this.stackMapNumPushed+=t}return this.pushContextTransition(e,e.children[0],{stackEnv:r,stackMap:n})}case d.TermKind.Name:return this.updateTermTransition(this.evalNameTerm(e));case d.TermKind.CallName:{const t=e.data.loc,r=this.checkForNameCycle(t),n=this.stackFrameList(e.position),i=this.locals;this.locals=(0,u.evalLocalsName)((0,o.lexicalSourceName)(t),i);const a=this.caller;this.switchCaller(n,!1);const s=this.stackEnv;this.stackEnv=u.emptyStackEnv;const l=this.stackMapList();this.stackMapLabels=void 0,this.stackMapNumPushed=0,this.stackMapNext=void 0;const c=this.visitedNames;return this.visitedNames=r,this.pushContextTransition(e,e.children,{locals:i,caller:a,stackEnv:s,stackMap:l,visitedNames:c})}case d.TermKind.Udf:return this.updateTermTransition(this.evalUdfTerm(e));case d.TermKind.ReadStack:{const t=this.stackEnv.getValue(this.stackEnv.getCount()-1-e.data);return(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.reduceFormula: ReadStack oper",void 0!==t),this.updateTermTransition(t instanceof u.LazyOper?t.value:t)}case d.TermKind.Array:return this.pushContextTransition(e,e.children[0][0],e.children.map((()=>[])));case d.TermKind.Lambda:return this.updateTermTransition(new h.LambdaOper(e.data.checkArity,e.position,e.data.params??[],this.locals,this.stackEnv,this.stackMapList(),e.children));case d.TermKind.Noop:return this.updateTermTransition(e.children);default:return(0,n.assertNever)("calc.runtime.FormulaEvaluationMachine.reduceFormula",e)}}dispatchFunction(e,t,r){const{funName:n,funType:o,isFormulaRoot:i}=t;(0,s.dereferenceOpers)(this,e,o);const a=new l.FunctionDispatcher(this.context,this.stepConfig,this.locals,this.stackFrameList(r),this.precedents,this.visitedCells,this.visitedNames,this.usage).dispatchFunction(n,o,i,e);return this.popContextTransition(a)}stackFrameList(e){return(0,u.stackFrameList)(this.locals.lexicalSource,e,this.stackEnv,this.stackMapList(),this.caller)}stackMapList(){return void 0!==this.stackMapLabels&&0!==this.stackMapNumPushed?(0,u.stackMapList)(this.stackMapLabels,this.stackMapNumPushed,this.stackMapNext):this.stackMapNext}noopTerm(e,t){return null!=this.stepConfig?(0,d.noopTerm)(e,t):e}pushContextTransition(e,t,r){const n=f(e,r);return this.continuation.push(n),this.updateTermTransition(t)}popContextTransition(e){return this.continuation.pop(),this.updateTermTransition(e)}nextHoleTransition(e,t){return e.holeIndex+=1,this.updateTermTransition(t)}updateTermTransition(e){if(this.term=e,null!=this.stepConfig&&!(0,d.isOperTerm)(e)&&void 0!==e.position&&e.kind!==d.TermKind.Name&&e.kind!==d.TermKind.Udf){const t=function(e,t,r,n,o){const i=(0,u.stackFrameList)(e,t,r,n,o);return{stack:new u.IterableStackFrame(i)}}(this.locals.lexicalSource,e.position,this.stackEnv,this.stackMapList(),this.caller);if(this.continuation.push(f(d.postStepTerm,t)),this.stepConfig.preStep(t)===c.StepAction.Break)return n.breakTransition}return n.nextTransition}switchCaller(e,t){(0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.switchCaller: correct nesting",e.caller===this.caller),t||(this.caller=e)}restoreStack({stackEnv:e,stackMap:t}){this.stackEnv=e,this.stackMapLabels=t?.labels,this.stackMapNumPushed=t?.numPushed??0,this.stackMapNext=t?.next}isLetTcoPossible(){const e=this.continuation[this.continuation.length-2];if(void 0===e)return!1;const t=e.context;return t.kind===d.TermKind.Let?e.holeIndex>=t.children.length-1:t.kind===d.TermKind.CallLambda||t.kind===d.TermKind.CallName}isCallLambdaTcoPossible(){const e=this.continuation[this.continuation.length-1];return void 0!==e&&e.context.kind===d.TermKind.CallLambda}getNameFormulaAsTerm(e,t){const r=this.globals.getNameFormula(e,t);if(r.kind===n.ResultKind.Failure)return(0,u.throwEvaluationError)(r.reason);const o=r.value;return null!=o?(0,a.compiledFormulaTerm)("calc.runtime.FormulaEvaluationMachine.getNameFormulaAsTerm",o):void 0}checkForNameCycle(e){const t=this.visitedNames,r=t.map.getValue(e);if(void 0!==r){const e=(0,g.recordNameCycle)(r,t.current);return(0,u.throwEvaluationError)(e)}return this.visitedNames.map.getCount()+1>(this.globals.limits.maxNameChain??1/0)?(0,u.throwEvaluationError)((0,c.limitExceeded)(c.LimitKind.NameChain)):(0,g.appendVisitedName)(this.visitedNames,e)}evalNameTerm(e){const{resolution:t,precedents:r}=this.context.resolver.resolveName(this.locals,(0,o.nameNode)((0,o.identNamePart)(e.data.name,!0),e.data.qualifier),e.data.source);if((0,n.safePush)(this.precedents.names,r),!(0,n.isSuccess)(t)){if(t.reason.kind===o.ResolveReasonKind.NoOriginSheet){const t=`error ref, no sheet, qualifier = ${(0,n.anonymize)(e.data.qualifier)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalName",o.ErrorType.REF,t),this.noopTerm(o.refErrorOper,e.position)}const r=e.children;return t.reason.kind===o.ResolveReasonKind.InvalidQualifier&&void 0!==r?r:(0,u.throwEvaluationError)(t.reason)}const i=t.value;let a;if(void 0===i||void 0===(a=this.getNameFormulaAsTerm(i,e.data.source))){const t=e.children;if(void 0===t){const t=`error ref, qualifier = ${(0,n.anonymize)(e.data.qualifier)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalName",o.ErrorType.NAME,t),this.noopTerm(o.nameErrorOper,e.position)}return t}return(0,d.callNameTerm)(i,this.noopTerm(a,c.runtimePositionFormulaRoot),e.position)}evalCellRefTerm(e){const{resolution:t}=this.context.resolver.resolveCellRef(this.locals,(0,o.cellRefNode)(e.data.ref,e.data.qualifier));if(!(0,n.isSuccess)(t)){if(t.reason.kind===o.ResolveReasonKind.NoOriginSheet){const t=`error ref, no sheet, qualifier = ${(0,n.anonymize)(e.data.qualifier)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalCellRefTerm",o.ErrorType.REF,t),o.refErrorOper}return(0,u.throwEvaluationError)(t.reason)}const r=t.value;if(!r){const t=`error ref, qualifier = ${(0,n.anonymize)(e.data.qualifier)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalCellRefTerm",o.ErrorType.REF,t),o.refErrorOper}return(0,o.range3DOper)(r.sheet,r.range)}evalStructRefTerm(e){const{resolution:t,precedents:r}=this.context.resolver.resolveStructRef(this.locals,e.data);if((0,n.safePush)(this.precedents.names,r),!(0,n.isSuccess)(t)){if(t.reason.kind===o.ResolveReasonKind.NoOriginSheet){const t=`error ref, no sheet, struct ref = ${(0,n.anonymize)(e.data)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalStructRefTerm",o.ErrorType.REF,t),o.refErrorOper}if(t.reason.kind===o.ResolveReasonKind.EmptyIntersection){const t=`error ref, empty intersection, struct ref = ${(0,n.anonymize)(e.data)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalStructRefTerm",o.ErrorType.VALUE,t),o.valueErrorOper}return(0,u.throwEvaluationError)(t.reason)}const i=t.value;if(!i){const t=`error ref, struct ref = ${(0,n.anonymize)(e.data)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalStructRefTerm",o.ErrorType.REF,t),o.refErrorOper}return(0,o.range3DOper)(i.sheet,i.range)}evalUdfTerm(e){const{resolution:t,precedents:r}=this.context.resolver.resolveUserDefinedFunc(this.locals,(0,o.nameNode)((0,o.identNamePart)(e.data.name,!0),e.data.qualifier));if((0,n.safePush)(this.precedents.udfs,r),!(0,n.isSuccess)(t)){const r=e.children;if(t.reason.kind===o.ResolveReasonKind.InvalidQualifier&&void 0!==r)return r;(0,u.throwEvaluationError)(t.reason)}const i=t.value;if(!i){const t=e.children;if(void 0===t){const t=`UDF resolution, qualifier = ${(0,n.anonymize)(e.data.qualifier)}`;return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalUdfTerm",o.ErrorType.NAME,t),this.noopTerm(o.nameErrorOper,e.position)}return t}if(i.length>1){const t="UDF resolution, ambiguous name";return(0,p.traceErrorOper)("calc.runtime.FormulaEvaluationMachine.evalUdfTerm",o.ErrorType.NAME,t),this.noopTerm(o.nameErrorOper,e.position)}const a=i[0],s=this.globals.getUserDefinedFunc(a);return(0,n.isSuccess)(s)||(0,u.throwEvaluationError)(s.reason),new l.UdfOper(a,s.value)}constructor(e,t,r,o,i,a,s,l,c,p,h){this.context=e,this.stepConfig=t,this.locals=r,this.precedents=o,this.visitedCells=i,this.visitedNames=a,this.usage=s,this.target=l,this.isNested=c,this.runStatus=!1,this.stackEnv=u.emptyStackEnv,this.stackMapLabels=void 0,this.stackMapNumPushed=0,this.stackMapNext=void 0,this.continuation=[],p.kind!==d.TermKind.CallLambda&&p.kind!==d.TermKind.CallFirstOrderFunc?(this.term=null!=t?(0,d.noopTerm)(p,void 0):p,this.caller=void 0):((0,n.assertTrue)("calc.runtime.FormulaEvaluationMachine.constructor: no preStep for CallTerm",void 0===p.position),this.term=p,this.caller=p.data.caller.caller),this.initialLambdaDepth=s.lambdaDepth,h.length>0&&(this.stackEnv=h.reduce(((e,{value:t})=>e.setValue(e.getCount(),t)),this.stackEnv),this.stackMapLabels=h.map((({label:e})=>e)),this.stackMapNumPushed=h.length)}}},29603:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionDispatcher=t.RestArgsOper=t.UdfOper=void 0;const n=r(52123),o=r(85882),i=r(43177),a=r(41257),s=r(80068),l=r(71637),u=r(48742),c=r(58055),d=r(93600),p=r(95392),h=r(15881),g=r(55823),m=r(60233),f=r(75736);class v{getFallback(){return(0,n.assertFalse)("calc.runtime.UdfOper.getFallback")}getField(e){return(0,n.assertFalse)("calc.runtime.UdfOper.getField")}constructor(e,t){this.kind=o.OperKind.Rich,this.loc=e,this.arity=t.arity,this.func=t.func}}t.UdfOper=v;class b{getFallback(){return(0,n.assertFalse)("calc.runtime.RestArgsOper.getFallback")}getField(e){return(0,n.assertFalse)("calc.runtime.RestArgsOper.getField")}constructor(e){this.opers=e,this.kind=o.OperKind.Rich}}function y(e,t,r,i){(0,n.assertTrue)("calc.runtime.compileCallLambda",e.checkArity(t.length));const a=[];{let r=0,i=0;for(const n of e.params){if(n.isRest){a.push(new b(t.slice(i))),i=t.length;continue}let s=i>=t.length?o.missingOper:t[i++];n.hasDef&&((0,o.isMissingOper)(s)&&(s=e.defsAndBody[r]),++r),a.push(s)}(0,n.assertTrue)("calc.runtime.compileCallLambda",i===t.length&&r===e.defsAndBody.length-1)}const s=i?a.map(((t,r)=>{const n=e.params[r];return void 0===n.paramNodeLabel&&void 0===n.paramNameLabel?t:(0,g.noopTerm)(t,(0,h.runtimePositionLambdaParam)(r,n.paramNodeLabel,n.paramNameLabel))})):a,l=a.map(((t,r)=>e.params[r].paramNodeLabel)),u=e.defsAndBody[e.defsAndBody.length-1],c=(0,g.letTerm)(s,!1,l,u,(0,h.runtimePositionLambdaRoot)(e.lambdaNodeLabel,e,t));return(0,g.callLambdaTerm)(e.locals,e.stackEnv,e.stackMap,r,c)}t.RestArgsOper=b;class S{get globals(){return this.context.globals}get numberFormatter(){return this.context.numberFormatter}get internalCaller(){return(0,n.assertTrue)("calc.runtime.FunctionDispatcher.internalCaller",void 0!==this.internalSource),(0,u.stackFrameList)(this.internalSource,S.internalPosition,u.emptyStackEnv,void 0,this.caller)}get internalContext(){const e=this.internalCaller;return{stack:new u.IterableStackFrame(e)}}get calcingArray(){return this.locals.calcingArray}get originGridCell(){const e=this.locals.originGridCell;return(0,n.isSuccess)(e)?e.value:(0,u.throwEvaluationError)(e.reason)}get originSheet(){const e=this.locals.originSheet;return(0,n.isSuccess)(e)?e.value:(0,u.throwEvaluationError)(e.reason)}get reflectionGridCell(){const e=this.locals.reflectionGridCell;return(0,n.isSuccess)(e)?e.value:(0,u.throwEvaluationError)(e.reason)}get reflectionSheet(){const e=this.locals.reflectionSheet;return(0,n.isSuccess)(e)?e.value:(0,u.throwEvaluationError)(e.reason)}get followHyperlinks(){const e=this.locals.followHyperlinks;return(0,n.isSuccess)(e)?e.value:(0,u.throwEvaluationError)(e.reason)}makeChildDispatcher(e){return new S(this.context,this.stepConfig,this.locals,e,this.precedents,this.visitedCells,this.visitedNames,this.usage)}useAsFuncContext(e){return(0,n.assertTrue)("calc.runtime.FunctionDispatcher.useAsFuncContext: caller shouldn't be set",void 0===this.internalSource),void 0!==e&&(this.internalSource=e),this}applyFunction(e,t){const r=this.makeChildDispatcher(this.internalCaller),n=(0,o.getWorksheetFuncType)(e),i=t.some(o.isRangeOper)?t.slice(0):t;return(0,l.dereferenceOpers)(r,i,n),r.termToFuncResult(r.dispatchFunction((0,g.worksheetFunctionIdToName)(e),n,!1,i))}applyLambda(e,t){return this.termToFuncResult(y(e,t,this.internalCaller,null!=this.stepConfig))}throwEvaluationError(e){throw new u.EvaluationError(e)}handleEvaluationError(e){if(e instanceof u.EvaluationError)return(0,u.handleEvaluationError)(this.context,this.visitedCells,e.reason)}applyOperatorOrFunction(e,t,r){if((0,g.isOperatorName)(e))return(0,p.applyOperator)(this.globals,(0,g.operatorNameToId)(e),t,r);const i=(0,g.worksheetFunctionNameToId)(e);if(i===o.WorksheetFuncId._UDF){if(t[0]instanceof f.LambdaOper){const e=t[0],r=t.slice(1);return e.checkArity(r.length)?((0,n.assertTrue)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction: caller shouldn't be set",void 0===this.internalSource),y(e,r,this.caller,null!=this.stepConfig)):o.valueErrorOper}if(t[0]instanceof v){const e=t[0];if(t.length-1!==e.arity)return o.valueErrorOper;const r=e.func(this.useAsFuncContext((0,o.lexicalSourceUDF)(e.loc)),t.slice(1));if(r.kind===o.OperKind.Error){const e="UDF function return value";(0,m.traceErrorOper)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction",r.type,e)}return this.funcContextResultToTerm(r)}switch(t[0].kind){case o.OperKind.Error:return t[0];case o.OperKind.Number:return o.valueErrorOper;case o.OperKind.Rich:return(0,u.throwEvaluationError)((0,o.notImplemented)(["Rich UDF head"]));case o.OperKind.String:case o.OperKind.Boolean:case o.OperKind.Blank:case o.OperKind.Missing:return o.refErrorOper;case o.OperKind.Array:return(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaArrayLifting)?(0,n.assertFalse)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction: unexpected array UDF head"):(0,u.throwEvaluationError)((0,o.notImplemented)(["Array UDF head"]));case o.OperKind.Range:return(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaCellValues)?(0,n.assertFalse)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction: unexpected range UDF head"):(0,u.throwEvaluationError)((0,o.notImplemented)(["Range UDF head"]));default:return(0,n.assertNever)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction",t[0])}}const a=this.globals.getWorksheetFunc(i);if(a.kind===n.ResultKind.Failure)return(0,u.throwEvaluationError)(a.reason);const s=a.value;if(null==s){const e=`nonexistent worksheet function ${i}`;return(0,m.traceErrorOper)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction",o.ErrorType.NAME,e),o.nameErrorOper}try{const e=s(this.useAsFuncContext((0,o.lexicalSourceWSF)(i)),t);if(e.kind===o.OperKind.Error){const t=`worksheet function ${i} return value`;(0,m.traceErrorOper)("calc.runtime.FunctionDispatcher.applyOperatorOrFunction",e.type,t)}return this.funcContextResultToTerm(e)}catch(e){throw(0,n.prependErrorMessage)(e,`(in WSF ${(0,o.englishWorksheetFuncIdToName)(i)})`)}}termToFuncResult(e){switch(e.kind){case g.TermKind.CallLambda:case g.TermKind.CallFirstOrderFunc:return(0,d.machineCall)(this.context.createCallTermEvaluationMachine(this.context,this.stepConfig,this.locals,this.precedents,this.visitedCells,this.visitedNames,this.usage,e));case g.TermKind.CallMachine:return(0,d.machineCall)(e.data.machine)}return e}funcContextResultToTerm(e){return(0,n.assertTrue)("calc.runtime.FunctionDispatcher.funcContextResultToTerm",void 0!==this.internalSource),(0,d.isMachineCall)(e)?(0,g.callFirstOrderFuncTerm)(this.internalSource,this.caller,(0,g.callMachineTerm)(e.machine,S.internalPosition)):e}dispatchFunction(e,t,r,i){if(!(0,o.isValidArgsLength)(t,i.length)){const r=JSON.stringify(t),o=`calc.runtime.FunctionDispatcher.dispatchFunction: bad application of ${JSON.stringify(e)} to ${i.length} arguments, ftype = ${r}`;return(0,n.assertFalse)(o)}const a=i.length;let s=o.SignatureType.None;for(let e=0;e<a;e+=1){const r=i[e],n=r.kind,l=(0,o.getArgType)(t,e,a);0==(n&l)&&(s|=n),(0,o.isRangeOper)(r)&&0==(t.flags&o.FunctionFlags.Allow3dRef)&&0==(l&o.SignatureType.Ref3D)&&!(0,o.isSheetIndex)(r.sheets)&&(s|=n),(0,o.isStringOper)(r)&&0==(t.flags&o.FunctionFlags.AllowLStrs)&&r.value.length>255&&(s|=n)}if(s===o.SignatureType.None)return this.applyOperatorOrFunction(e,i,r);if(0!=(s&o.OperKind.Array)){const r=r=>{const n=this.makeChildDispatcher(this.caller);return n.termToFuncResult(n.dispatchFunction(e,t,!1,r))},{machine:n}=(0,m.arrayLift)(this.useAsFuncContext(void 0),t,r,i);return(0,g.callMachineTerm)(n,void 0)}s&=~o.OperKind.Array;const l=[];for(let e=0;e<a;e+=1){let r=i[e];if(0!=(s&r.kind)){const i=(0,o.getArgType)(t,e,a);if(r=this.coerceOper(r,i),(0,o.isErrorOper)(r)&&0==(i&o.OperKind.Error))return r;if((0,o.isRangeOper)(r)&&0==(t.flags&o.FunctionFlags.Allow3dRef)&&0==(i&o.SignatureType.Ref3D)&&!(0,o.isSheetIndex)(r.sheets)){const e=`3D reference, oper = ${(0,n.anonymize)(r)}`;return(0,m.traceErrorOper)("calc.runtime.FunctionDispatcher.dispatchFunction",o.ErrorType.VALUE,e),o.valueErrorOper}if((0,o.isStringOper)(r)&&0==(t.flags&o.FunctionFlags.AllowLStrs)&&r.value.length>255){const e=`LStr, oper = ${(0,n.anonymize)(r)}`;return(0,m.traceErrorOper)("calc.runtime.FunctionDispatcher.dispatchFunction",o.ErrorType.VALUE,e),o.valueErrorOper}}l[e]=r}return this.applyOperatorOrFunction(e,l,r)}getAvailableFormula(e){const t=this.globals.getCellFormula(e);return(0,n.isSuccess)(t)?(0,n.isNone)(t.value)?void 0:t.value:(0,u.throwEvaluationError)(t.reason)}getNameFormula(e,t,r){const{resolution:i,precedents:a}=this.context.resolver.resolveName(this.locals,(0,o.nameNode)((0,o.identNamePart)(t,!0),e),r);if((0,n.safePush)(this.precedents.names,a),!(0,n.isSuccess)(i))switch(i.reason.kind){case o.ResolveReasonKind.NoOriginSheet:case o.ResolveReasonKind.InvalidQualifier:return;default:return(0,u.throwEvaluationError)(i.reason)}const s=i.value;if(!s)return;const l=this.globals.getNameFormula(s,r);(0,n.isSuccess)(l)||(0,u.throwEvaluationError)(l.reason);const c=l.value;return(0,n.isNone)(c)?void 0:[s,c.node]}getCellRef(e,t,r,i){const a={originGridCell:(0,n.success)(r.range),originSheet:(0,n.success)(r.sheet),allowUnqualifiedCell:!0,wrapCellReferences:i},{resolution:s}=this.context.resolver.resolveCellRef(a,(0,o.cellRefNode)(t,e));if(!(0,n.isSuccess)(s))switch(s.reason.kind){case o.ResolveReasonKind.NoOriginSheet:case o.ResolveReasonKind.InvalidQualifier:return;default:return(0,u.throwEvaluationError)(s.reason)}const l=s.value;if(l)return(0,o.range3DOper)(l.sheet,l.range)}getStructRef(e,t,r){const i={originGridCell:(0,n.success)(r.range),originSheet:(0,n.success)(r.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!1},{resolution:a,precedents:s}=this.context.resolver.resolveStructRef(i,(0,o.structRefNode)(e,t));if((0,n.safePush)(this.precedents.names,s),!(0,n.isSuccess)(a))switch(a.reason.kind){case o.ResolveReasonKind.NoOriginSheet:case o.ResolveReasonKind.InvalidQualifier:case o.ResolveReasonKind.InvalidStructRef:case o.ResolveReasonKind.EmptyIntersection:return;default:return(0,u.throwEvaluationError)(a.reason)}const l=a.value;if(l)return(0,o.range3DOper)(l.sheet,l.range)}dereferenceOper(e,t){return(0,l.dereferenceOper)(this,e,t)}dereferenceOpers(e,t){(0,l.dereferenceOpers)(this,e,t)}getCellFormula(e){this.precedents.cells.push(e);const t=this.globals.getCellValue(e);return(0,n.isSuccess)(t)?this.getAvailableFormula(e):(0,u.throwEvaluationError)(t.reason)}getSheetIndex(e,t){const r=this.globals.getSheetIndex(e,t);return(0,n.isSuccess)(r)?(this.precedents.special|=o.SpecialPrecs.OwnDocSheets,null==r.value?void 0:(0,o.sheetIndex)(e,r.value)):(0,u.throwEvaluationError)(r.reason)}getSheetRangePosition(e){this.precedents.special|=o.SpecialPrecs.OwnDocSheets;const t=this.globals.getSheetRangeIndexes(e);return(0,n.isSuccess)(t)?t.value.position:(0,u.throwEvaluationError)(t.reason)}getSheetRangeIndexes(e){if(void 0!==e.index&&e.index===e.index2)return[e.index];this.precedents.special|=o.SpecialPrecs.OwnDocSheets;const t=this.globals.getSheetRangeIndexes(e);return(0,n.isSuccess)(t)?t.value.sheets:(0,u.throwEvaluationError)(t.reason)}dereferenceAllOpersInner(e,t,r=!1){const i=[],a=[];for(let s=0;s<e.length;s+=1){const d=e[s];if(!(0,o.isRangeOper)(d)){a.push(d);continue}const p=[],h=e=>{const r=(0,l.getCellValuesAsArray)(this,e,i,!0);void 0!==r&&p.push(t(r,e))},g=this.getSheetRangeIndexes(d.sheets);for(let e=0;e<g.length;e+=1){const t=(0,o.sheetIndex)(d.sheets.document,g[e]);for(let e=0;e<d.ranges.length;e+=1){const i=d.ranges[e];if(!r){h((0,o.sheetGridRange)(t,i));continue}const a=this.globals.tryGetHiddenRows(t,i.row,i.row+i.rows);if(!(0,n.isSuccess)(a))return(0,u.throwEvaluationError)(a.reason);const s=a.value;if(0===s.length){h((0,o.sheetGridRange)(t,i));continue}const l=(e,r)=>{const n=(0,o.gridRange)(e,i.col,r-e,i.cols);h((0,o.sheetGridRange)(t,n))};for(let e=0;e<s.length;e+=1){const{start:r,end:a}=s[e],u=0===e?i.row:s[e-1].end;(0,n.assertTrue)("calc.runtime.FunctionDispatcher.dereferenceAllOpersInner: valid interval",u<=r&&r<a&&a<=i.row+i.rows),u!==r&&l(u,r);const c=(0,o.gridRange)(r,i.col,a-r,i.cols);this.precedents.cells.push((0,o.sheetGridRange)(t,c))}const c=s[s.length-1].end;c!==i.row+i.rows&&l(c,i.row+i.rows)}}a.push({kind:c.DerefOperKind.RangeValues,arrays:p})}return i.length>0?(0,u.throwEvaluationError)((0,u.unevaluated)(i)):a}dereferenceAllOpers(e,t){return this.dereferenceAllOpersInner(e,n.identity,t)}dereferenceAllOpersAndFormulae(e,t){return this.dereferenceAllOpersInner(e,((e,t)=>new n.NonstrictSparseArray2D(e.rows,e.cols,e.denseRows,e.denseCols,((r,n)=>{const i=e.get(r,n),a=(0,o.sheetGridCell)(t.sheet,(0,o.gridCell)(t.range.row+r,t.range.col+n));return[i,this.getAvailableFormula(a)]}),(()=>[e.getSparse(),void 0])).strict()),t)}parseFormula(e,t,r,i){const s=this.context.parser.parseFormula((0,a.parseLocals)(r.lexicalKind,t,{refStyle:e}),i);if(!(0,n.isSuccess)(s))return s;const l=this.context.analyzer.checkFormula(r,s.value);return(0,n.isSuccess)(l)?(0,o.isWellFormed)(l.value)?(l.value,l):(0,n.failure)((0,h.illFormedFormula)("ill-formed indirect formula","indirect")):l}getRandom(){this.precedents.special|=o.SpecialPrecs.Calc;const e=this.internalContext,t=this.globals.getRandom(e);return(0,n.isSuccess)(t)||(0,u.throwEvaluationError)(t.reason),t.value}getTime(e){this.precedents.special|=o.SpecialPrecs.Time;const t=this.globals.getTime(e,i.GetTimeKind.Volatile);return(0,n.isSuccess)(t)||(0,u.throwEvaluationError)(t.reason),t.value}coerceOper(e,t){return(0,s.coerceOper)(this,e,t)}parseGeneral(e,t){const r=this.numberFormatter.parseGeneral(e,!1,t,i.GetTimeKind.NonVolatile);return(0,n.isSuccess)(r)||(0,u.throwEvaluationError)(r.reason),r.value?.value}parseDate(e){const t=this.numberFormatter.parseDate(e,i.GetTimeKind.NonVolatile);return(0,n.isSuccess)(t)||(0,u.throwEvaluationError)(t.reason),t.value?.value}getBinaryOperator(e){const t=(0,o.getOperatorType)(e),r=[o.falseOper,o.falseOper];return(o,i)=>{r[0]=o,r[1]=i,(0,l.dereferenceOpers)(this,r,t);const a=this.dispatchFunction((0,g.operatorIdToName)(e),t,!1,r);return(0,n.assertTrue)("calc.runtime.FunctionDispatcher.getBinaryOperator",(0,g.isOperTerm)(a)),a}}getUnaryOperator(e){const t=(0,o.getOperatorType)(e),r=[o.falseOper];return o=>{r[0]=o,(0,l.dereferenceOpers)(this,r,t);const i=this.dispatchFunction((0,g.operatorIdToName)(e),t,!1,r);return(0,n.assertTrue)("calc.runtime.FunctionDispatcher.getUnaryOperator",(0,g.isOperTerm)(i)),i}}isInFilterMode(e){this.precedents.special|=o.SpecialPrecs.InFilterMode;for(const t of e)if((0,o.isRangeOper)(t))for(const e of this.getSheetRangeIndexes(t.sheets)){const r=this.globals.isInFilterMode((0,o.sheetIndex)(t.sheets.document,e));if(!(0,n.isSuccess)(r))return(0,u.throwEvaluationError)(r.reason);if(r.value)return!0}return!1}printFormula(e,t){const r=(0,o.sheetGridCell)(e.source.range.sheet,t),i=(0,o.adjustFormulaOrigin)(this.globals,(0,a.analyzeLocalsGrid)(o.LexicalKind.Cell,(0,o.sheetGridRangeAnchor)(e.source.range)),t,e.formula);if(!(0,n.isSuccess)(i))return(0,u.throwEvaluationError)(i.reason);const s=this.context.printer.printFormula((0,o.printLocalsGrid)(e.source,r,{refStyle:this.config.refStyle}),i.value);return(0,n.isSuccess)(s)?s.value:(0,u.throwEvaluationError)(s.reason)}applyFormat(e,t,r,o){let a;if("number"==typeof t){const r=this.globals.getKnownFormat(e,t);if(!(0,n.isSuccess)(r))return(0,u.throwEvaluationError)(r.reason);a=r.value}else{const r=(0,i.getFormatString)(this.context.numberFormatter,this.globals,e,t,o);if(!(0,n.isSuccess)(r))switch(r.reason.kind){case i.FormatReasonKind.PreviousFormatFailure:case i.FormatReasonKind.NotFormatString:return;default:return(0,u.throwEvaluationError)(r.reason)}a=r.value}const s=(0,i.applyFormatAndRenderToString)(this.context.numberFormatter,a,r);return(0,n.isSuccess)(s)?"string"==typeof s.value?s.value:void 0:(0,u.throwEvaluationError)(s.reason)}constructor(e,t,r,n,i,a,s,l){this.context=e,this.stepConfig=t,this.locals=r,this.caller=n,this.precedents=i,this.visitedCells=a,this.visitedNames=s,this.usage=l,this.internalSource=void 0;const u=e.globals.config.refStyle;this.config={localeInfo:e.globals.config.localeInfo,get refStyle(){return i.special|=o.SpecialPrecs.RefStyle,u},mathpack:e.globals.config.mathpack,date1904:e.globals.config.date1904,dateCompatibility:e.globals.config.dateCompatibility,timezone:e.globals.config.timezone,datepack:e.globals.config.datepack},this.mathpack=this.config.mathpack,this.datepack=this.config.datepack}}t.FunctionDispatcher=S,S.internalPosition=h.runtimePositionFirstOrderFunc},29892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNameEvaluationMachine=function(e,t,r,o){return n.Pledge.try((()=>new s(e,t,r,o).evalName()))};const n=r(52123),o=r(85882),i=r(48742),a=r(18377);class s{evalName(){const e=this.context.globals.getNameFormula(this.name,o.NameSource.Plain);if(e.kind===n.ResultKind.Failure)return n.Pledge.reject(e.reason);const t=e.value;if(null==t)return n.Pledge.resolve(void 0);const r=(0,i.bottomEvalPrecedents)(),s=this.context.createFormulaEvaluationMachine(this.context,this.stepConfig,(0,i.evalLocalsName)((0,o.lexicalSourceName)(this.name),(0,i.evalLocalsGrid)(this.origin)),r,a.emptyVisitedCells,(0,a.appendVisitedName)(a.emptyVisitedNames,this.name),o.SignatureType.All,t);return n.Pledge.fromMachine(s).catch(this.receiveFailure())}receiveFailure(){return e=>{if(e.kind===i.RuntimeInternalReasonKind.Unevaluated){const t=`calc.runtime.NameEvaluationMachine.receiveFailure: unexpected reason ${(0,n.anonymize)(e)}`;return(0,n.assertFalse)(t)}return n.Pledge.reject(e)}}constructor(e,t,r,n){this.context=e,this.stepConfig=t,this.name=r,this.origin=n}}},47367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EvaluationRuntime=void 0,t.createSchedule=function(e){return{yieldIntervalMs:e.yieldIntervalMs,endTimeMs:null==e.totalTimeMs?void 0:(0,n.now)()+e.totalTimeMs,scheduleFunction:null!=e.scheduleFunction?e.scheduleFunction:e=>setTimeout(e,0)}},t.calculateNextDeadline=i,t.runtimeTimer=function(){return{doTimeout:e=>void 0!==e&&(0,n.now)()>=e}};const n=r(52123),o=r(15881);function i(e){if(void 0===e.yieldIntervalMs&&void 0===e.endTimeMs)return;if(void 0===e.yieldIntervalMs)return e.endTimeMs;const t=(0,n.now)()+e.yieldIntervalMs;return void 0===e.endTimeMs?t:(0,n.fastMin)(e.endTimeMs,t)}const a={kind:o.ReasonKind.Timeout},s={kind:o.ReasonKind.Breakpoint};t.EvaluationRuntime=class{evaluateAsync(e){if(this.context.globals.interruptToken[0]===o.Interrupt.Stop)return this.generatePartialResults(),Promise.resolve(this.results);if(this.context.timer.doTimeout(e.endTimeMs))return this.generatePartialResults(),Promise.resolve(this.results);try{const t=this.evaluate(i(e));return Array.isArray(t)?Promise.resolve(t):((0,n.assertTrue)("calc.runtime.EvaluationRuntime.evaluateAsync",t.kind===o.ReasonKind.Timeout),new Promise(((t,r)=>e.scheduleFunction((()=>{try{t(this.evaluateAsync(e))}catch(e){r(e)}})))))}catch(e){return Promise.reject(e)}}evaluateSync(e){const t=r=>{if(this.context.globals.interruptToken[0]===o.Interrupt.Stop||this.context.timer.doTimeout(e.endTimeMs))return this.generatePartialResults(),this.results;const a=this.evaluate(r);if(Array.isArray(a))return a;switch(a.kind){case o.ReasonKind.Timeout:return(0,o.paused)((r=>t(r??i(e))));case o.ReasonKind.Breakpoint:return(0,o.breaked)((()=>t(i(e))));default:return(0,n.assertNever)("calc.runtime.EvaluationRuntime.evaluateSync",a)}};return t(i(e))}evaluate(e){const t=()=>this.context.timer.doTimeout(e);try{for(;this.results.length<this.machineRuntimes.length;){const e=this.machineRuntimes[this.results.length].run(t);if(e.kind===n.TransitionKind.Next)return a;if(e.kind===n.TransitionKind.Break)return s;this.pushResult(e)}return this.results}catch(e){const t=`calc.runtime.EvaluationRuntime.evaluate: unhandled error ${(0,n.messageFromError)(e)}`;return(0,n.assertFalse)(t)}}pushResult(e){return this.results.push(e),n.nextTransition}generatePartialResults(){for(;this.results.length<this.machineRuntimes.length;)this.results.push((0,n.failure)(o.stopped))}constructor(e,t){(0,n.assertPositiveInteger)("calc.runtime.EvaluationRuntime",t.length),this.context=e,this.machineRuntimes=t.map((e=>new n.MachineRuntime(e))),this.results=[]}}},48742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CellEvaluationResultKind=t.IterableStackFrame=t.IterableStackValue=t.emptyStackEnv=t.LazyOper=t.EvaluationError=t.RuntimeInternalReasonKind=void 0,t.unevaluated=function(e){return 0===e.length&&(0,n.assertFalse)("calc.runtime.unevaluated: expected nonempty array"),{kind:a.Unevaluated,anchors:e}},t.throwEvaluationError=l,t.handleEvaluationError=function(e,t,r){if(r.kind===a.Unevaluated){if(t.map.getCount()+1>(e.globals.limits.maxCellChain??1/0))return(0,n.failure)((0,i.limitExceeded)(i.LimitKind.CellChain));const o=r.anchors.map((r=>new u(e.createCellEvaluationMachine(e,void 0,t,r))));return(0,n.callMachineTransition)(new n.AllMachine(o),(0,n.nextOnSuccessReceiver)())}return(0,n.failure)(r)},t.bottomEvalPrecedents=function(){return(0,o.precedents)([],[],[],o.SpecialPrecs.None,o.PrecsBound.Lower)},t.evalUsage=function(e,t){return{lambdaCalls:e,lambdaDepth:t}},t.evalLocalsGrid=function(e){const t=(0,o.sheetGridRangeAnchor)(e.range),r=(0,n.success)(t.range),a=(0,n.success)(t.sheet);return(0,i.evalLocals)(e,r,a,e.kind===o.LexicalKind.Range,r,a,e.kind===o.LexicalKind.Cell,!0,!1,(0,n.success)(!1),void 0)},t.evalLocalsName=function(e,t){const r=e.name.scope;let a;if(void 0!==r.index)a=(0,n.success)(r);else{const e=t.originSheet;if(!(0,n.isSuccess)(e))return l(e.reason);a=(0,o.isDocumentLocEqual)(e.value.document,r.document)?e:(0,n.success)(r)}const s=t.originGridCell;return(0,i.evalLocals)(e,s,a,t.calcingArray,s,a,!1,!1,!0,(0,n.success)(!1),void 0)},t.evalLocalsLambda=function(e,t){return(0,i.evalLocals)(e.lexicalSource,e.originGridCell,e.originSheet,t.calcingArray,t.reflectionGridCell,t.reflectionSheet,t.implicitIntersect,e.allowUnqualifiedCell,e.wrapCellReferences,(0,n.success)(!1),void 0)},t.evalLocalsFirstOrderFunc=function(e,{originGridCell:t,originSheet:r,calcingArray:n,reflectionGridCell:o,reflectionSheet:a,implicitIntersect:s,allowUnqualifiedCell:l,wrapCellReferences:u,followHyperlinks:c}){return(0,i.evalLocals)(e,t,r,n,o,a,s,l,u,c,void 0)},t.evalLocalsSlice=function({lexicalSource:e,originGridCell:t,originSheet:r,calcingArray:n,reflectionGridCell:o,reflectionSheet:a,implicitIntersect:s,allowUnqualifiedCell:l,wrapCellReferences:u,followHyperlinks:c,contextNames:d}){return(0,i.evalLocals)(e,t,r,n,o,a,s,l,u,c,d)},t.stackMapList=function(e,t,r){return{labels:e,numPushed:t,next:r}},t.stackFrameList=function(e,t,r,n,o){return{stackDepth:1+(o?.stackDepth??0),lexicalSource:e,position:t,localValues:new d(r,n),caller:o}};const n=r(52123),o=r(85882),i=r(15881);var a,s;function l(e){throw new t.EvaluationError(e)}!function(e){e.Unevaluated="Unevaluated"}(a||(t.RuntimeInternalReasonKind=a={})),t.EvaluationError=(0,o.createFailureErrorClass)("EvaluationError");class u{next(){return(0,n.callMachineTransition)(this.machine,this)}receiveResult(e){if(!(0,n.isSuccess)(e))return e;switch(e.value.kind){case s.ReadFailure:return e.value.failure;case s.WroteFailure:return(0,n.failure)((0,i.previousFailure)(e.value.source.range))}return n.successUndefined}constructor(e){this.machine=e,this.runStatus=!1}}class c{get value(){return void 0===this._value?this.fallback():this._value}set value(e){this._value=e}get valueOrUndefined(){return this._value}constructor(e){this.fallback=e}}t.LazyOper=c,t.emptyStackEnv=n.RedBlackMapTree.create(((e,t)=>e-t));class d{*[Symbol.iterator](){let e=this.stackEnv.getCount()-1;for(let t=this.stackMap;void 0!==t;t=t.next)for(let r=t.numPushed-1;r>=0;r--){const n=t.labels[r],o=this.stackEnv.getValue(e--);if(void 0===n||void 0===o)continue;const a=o instanceof c?o.valueOrUndefined:o;void 0!==a&&(yield(0,i.stackValue)(n,a))}}constructor(e,t){this.stackEnv=e,this.stackMap=t}}t.IterableStackValue=d;class p{*[Symbol.iterator](){for(let e=this.leafFrame;void 0!==e;e=e.caller)yield e}constructor(e){this.leafFrame=e}}t.IterableStackFrame=p,function(e){e[e.ReadFailure=0]="ReadFailure",e[e.ReadOper=1]="ReadOper",e[e.WroteFailure=2]="WroteFailure",e[e.WroteOper=3]="WroteOper"}(s||(t.CellEvaluationResultKind=s={}))},94201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runtimeEvaluationContext=m,t.evaluationMachineContext=f,t.evalFormula=b,t.evalCells=S,t.evalCellsAsync=C,t.evalName=k,t.createEvaluator=function(e){return{evalFormula:(t,r)=>b(e,t,r),evalCells:(t,r)=>S(e,t,r),evalName:(t,r,n)=>k(e,t,r,n),evalCellsAsync:(t,r)=>C(e,t,r)}};const n=r(52123),o=r(85882),i=r(43177),a=r(41257),s=r(61695),l=r(41705),u=r(29892),c=r(47367),d=r(48742),p=r(93600),h=r(15881),g=r(18377);function m(e){return{globals:e,timer:(0,c.runtimeTimer)(),machineContext:f(e)}}function f(e){return{globals:e,resolver:(0,o.createResolver)(e),numberFormatter:(0,i.createNumberFormatter)(e),parser:(0,a.createParser)(e),printer:(0,o.createPrinter)(e),analyzer:(0,a.createAnalyzer)(e),createCellEvaluationMachine:s.createCellEvaluationMachine,createFormulaEvaluationMachine:l.createFormulaEvaluationMachine,createCallTermEvaluationMachine:l.createCallTermEvaluationMachine}}function v(e){if(Array.isArray(e)){const t=e[0];if(t.kind===n.ResultKind.Success){if((0,o.isRangeOper)(t.value)||(0,o.isMissingOper)(t.value)){const e=`calc.runtime.evalFormula: expected ReadOper; given ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}return t}return t}return e.kind===n.ResultKind.Paused?(0,h.paused)((t=>v(e.resume(t)))):(0,h.breaked)((()=>v(e.resume())))}function b(e,t,r){const n=m(e),o=(0,d.bottomEvalPrecedents)(),i=(0,l.createFormulaEvaluationMachine)(n.machineContext,t.stepConfig,(0,d.evalLocalsSlice)(t),o,g.emptyVisitedCells,g.emptyVisitedNames,p.readOperType,r),a=new c.EvaluationRuntime(n,[i]),s=(0,c.createSchedule)(t.schedulerConfig??e.schedulerConfig);return v(a.evaluateSync(s))}function y(e,t,r){const o=m(e),i=[];for(let e=0;e<r.length;e+=1)i.push(new n.VoidMachine((0,s.createCellEvaluationMachine)(o.machineContext,t,g.emptyVisitedCells,r[e])));return new c.EvaluationRuntime(o,i)}function S(e,t,r){if(0===r.length)return[];const n=y(e,t.stepConfig,r),o=(0,c.createSchedule)(t.schedulerConfig??e.schedulerConfig);return n.evaluateSync(o)}function C(e,t,r){if(0===r.length)return Promise.resolve([]);const n=y(e,void 0,r),o=(0,c.createSchedule)(t.schedulerConfig??e.schedulerConfig);return n.evaluateAsync(o)}function T(e){return Array.isArray(e)?e[0]:e.kind===n.ResultKind.Paused?(0,h.paused)((t=>T(e.resume(t)))):(0,h.breaked)((()=>T(e.resume())))}function k(e,t,r,n){const o=m(e),i=(0,u.createNameEvaluationMachine)(o.machineContext,t.stepConfig,r,n),a=new c.EvaluationRuntime(o,[i]),s=(0,c.createSchedule)(t.schedulerConfig??e.schedulerConfig);return T(a.evaluateSync(s))}},58055:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DerefOperKind=void 0,t.rangeValues=function(e){return{kind:r.RangeValues,arrays:e}},t.isRangeValues=function(e){return e.kind===r.RangeValues},function(e){e.RangeValues="RangeValues"}(r||(t.DerefOperKind=r={}))},93600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayMachine=t.EarlyReturnKind=t.ThenMachine=t.MachineCallKind=t.readOperType=t.singleReadOperType=void 0,t.machineCall=function(e){return{kind:i.MachineCall,machine:e}},t.isMachineCall=s,t.earlyReturn=function(e){return{kind:a.EarlyReturn,value:e}},t.refToVal=function(e,t,r){if(!(0,o.isRangeOper)(t))return t;if(!(0,o.isSheetIndex)(t.sheets))return o.valueErrorOper;if(!r)return 1===t.ranges.length&&(0,o.isGridCell)(t.ranges[0])?e.dereferenceOper(t,o.SignatureType.All&~o.OperKind.Range):e.dereferenceOper(t,o.OperKind.Array);const n=e.dereferenceOper(t,o.SignatureType.All&~(o.OperKind.Range|o.OperKind.Array));return(0,o.isArrayOper)(n)?o.naErrorOper:n};const n=r(52123),o=r(85882);var i,a;function s(e){return e.kind===i.MachineCall}t.singleReadOperType=o.OperKind.Number|o.OperKind.String|o.OperKind.Boolean|o.OperKind.Error|o.OperKind.Blank|o.OperKind.Rich,t.readOperType=t.singleReadOperType|o.OperKind.Array,function(e){e.MachineCall="MachineCall"}(i||(t.MachineCallKind=i={})),t.ThenMachine=class{next(){try{if(void 0===this.oper1){const e=this.f1();if(s(e))return(0,n.callMachineTransition)(e.machine,this);this.oper1=e}if(void 0===this.oper2){const e=this.f2(this.oper1);if(s(e))return(0,n.callMachineTransition)(e.machine,this);this.oper2=e}return(0,n.success)(this.oper2)}catch(e){return this.context.handleEvaluationError(e)??(0,n.failure)((0,n.javaScriptError)(e))}}receiveResult(e){return(0,n.isSuccess)(e)?(void 0===this.oper1?this.oper1=e.value:void 0===this.oper2&&(this.oper2=e.value),n.nextTransition):e}constructor(e,t,r){this.context=e,this.f1=t,this.f2=r,this.runStatus=!1,this.oper1=void 0,this.oper2=void 0}},function(e){e.EarlyReturn="EarlyReturn"}(a||(t.EarlyReturnKind=a={})),t.ArrayMachine=class{next(){try{if(void 0!==this.toDeref){const e=this.coercer(this.toDeref,this.opers.length,this.row.length);if(e.kind===a.EarlyReturn)return e.value;this.row.push(e),this.row.length===this.cols&&(this.opers.push(this.row),this.row=[]),this.toDeref=void 0}if(this.opers.length>=this.rows)return(0,n.success)((0,o.arrayOper)(this.rows,this.cols,this.opers));const e=this.func(this.opers.length,this.row.length);return s(e)?(0,n.callMachineTransition)(e.machine,this):(this.toDeref=e,n.nextTransition)}catch(e){return this.context.handleEvaluationError(e)??(0,n.failure)((0,n.javaScriptError)(e))}}receiveResult(e){return(0,n.isSuccess)(e)?(this.toDeref=e.value,n.nextTransition):e}constructor(e,t,r,n,o){this.context=e,this.rows=t,this.cols=r,this.func=n,this.coercer=o,this.runStatus=!1,this.toDeref=void 0,this.row=[],this.opers=[]}}},95392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cmpInt=void 0,t.cmpBool=a,t.cmpStr=s,t.cmpNum=l,t.applyOperator=function(e,r,c,d=!1){const{mathpack:p}=e.config;if(1===c.length){const e=c[0];switch(r){case o.OperatorId.Percent:return p.percent(e);case o.OperatorId.Neg:return p.neg(e);case o.OperatorId.Pos:return e;default:{const e=`calc.runtime.applyOperator: bad application of ${r} to 1 argument`;return n.ulsLogger.ULS.assertTag(593372496,o.LogCategory.msoulscat_ES_EWAJS,!1,e)}}}if(2===c.length){const h=c[0],g=c[1];switch(r){case o.OperatorId.Add:{const e=p.add(h,g);return d&&(0,o.isNumberOper)(e)?p.checkAlmostCancellation(h,e):e}case o.OperatorId.Sub:{const e=p.sub(h,g);return d&&(0,o.isNumberOper)(e)?p.checkAlmostCancellation(h,e):e}case o.OperatorId.Mul:return p.mul(h,g);case o.OperatorId.Div:return p.div(h,g);case o.OperatorId.Pow:return p.power(h,g);case o.OperatorId.Concat:return(0,o.stringOper)((h.value+g.value).substring(0,o.cellStringLimit));case o.OperatorId.Eq:case o.OperatorId.Ne:case o.OperatorId.Lt:case o.OperatorId.Le:case o.OperatorId.Gt:case o.OperatorId.Ge:return(0,o.booleanOper)(function(e,r,n,u){const{localeInfo:c,mathpack:d}=e.config;if(n.kind!==u.kind){if((0,o.isBlankOper)(n))switch(u.kind){case o.OperKind.Number:return l(d,r,d.zero,u);case o.OperKind.String:return s(c,r,i.emptyStringOper,u);case o.OperKind.Boolean:return a(r,o.falseOper,u)}if((0,o.isBlankOper)(u))switch(n.kind){case o.OperKind.Number:return l(d,r,n,d.zero);case o.OperKind.String:return s(c,r,n,i.emptyStringOper);case o.OperKind.Boolean:return a(r,n,o.falseOper)}return(0,t.cmpInt)(r,n.kind-u.kind)}switch(n.kind){case o.OperKind.Number:return l(d,r,n,u);case o.OperKind.String:return s(c,r,n,u);case o.OperKind.Boolean:return a(r,n,u);case o.OperKind.Blank:return(0,t.cmpInt)(r,0);default:return!1}}(e,r,h,g));case o.OperatorId.Range:return function(e,t){const r=u("calc.runtime.applyRangeOp",e,t);if(null==r)return o.valueErrorOper;const n=(0,o.gridRangesJoin)(e.ranges),i=(0,o.gridRangesJoin)(t.ranges),a=[(0,o.gridRangeJoin)(n,i)];return(0,o.rangeSeqOper)(r,a)}(h,g);case o.OperatorId.Isect:return function(e,t){const r=u("calc.runtime.applyIsectOp",e,t);if(null==r)return o.valueErrorOper;const a=[];for(let r=0;r<e.ranges.length;r+=1)for(let n=0;n<t.ranges.length;n+=1){const i=(0,o.gridRangeIsect)(e.ranges[r],t.ranges[n]);null!=i&&a.push(i)}if(0===a.length){const r=`empty intersection, range1 = ${(0,n.anonymize)(e)}, range2 = ${(0,n.anonymize)(t)}`;return(0,i.traceErrorOper)("calc.runtime.applyIsectOp",o.ErrorType.NULL,r),o.nullErrorOper}return(0,o.rangeSeqOper)(r,a)}(h,g);case o.OperatorId.Union:return function(e,t){const r=u("calc.runtime.applyUnionOp",e,t);return null==r?o.valueErrorOper:(0,o.rangeSeqOper)(r,e.ranges.concat(t.ranges))}(h,g);case o.OperatorId.And:return(0,o.booleanOper)(h.value&&g.value);case o.OperatorId.Or:return(0,o.booleanOper)(h.value||g.value);case o.OperatorId.Xor:return(0,o.booleanOper)(h.value!==g.value);case o.OperatorId.Min:return p.cond2(h,g)<=0?h:g;case o.OperatorId.Max:return p.cond2(h,g)>=0?h:g;default:{const e=`calc.runtime.applyOperator: bad application of ${r} to 2 arguments`;return n.ulsLogger.ULS.assertTag(593372497,o.LogCategory.msoulscat_ES_EWAJS,!1,e)}}}const h=`calc.runtime.applyOperator: bad application of ${r} to ${c.length} arguments`;return n.ulsLogger.ULS.assertTag(593372498,o.LogCategory.msoulscat_ES_EWAJS,!1,h)};const n=r(52123),o=r(85882),i=r(60233);function a(e,r,n){return(0,t.cmpInt)(e,r.value-n.value)}function s(e,r,n,o){return(0,t.cmpInt)(r,e.stringCompareCI(n.value,o.value))}function l(e,r,n,o){return(0,t.cmpInt)(r,e.compare(n,o))}function u(e,t,r){if((0,o.isSheetIndex)(t.sheets))if((0,o.isSheetIndex)(r.sheets))if((0,o.isDocumentLocEqual)(t.sheets.document,r.sheets.document)){if(t.sheets.index===r.sheets.index)return(0,o.sheetIndex)(t.sheets.document,t.sheets.index);{const a=`different sheet, range1 = ${(0,n.anonymize)(t)}, range2 = ${(0,n.anonymize)(r)}`;(0,i.traceErrorOper)(e,o.ErrorType.VALUE,a)}}else{const a=`different document, range1 = ${(0,n.anonymize)(t)}, range2 = ${(0,n.anonymize)(r)}`;(0,i.traceErrorOper)(e,o.ErrorType.VALUE,a)}else(0,i.traceErrorOper)(e,o.ErrorType.VALUE,`3D reference, range2 = ${(0,n.anonymize)(r)}`);else(0,i.traceErrorOper)(e,o.ErrorType.VALUE,`3D reference, range1 = ${(0,n.anonymize)(t)}`)}t.cmpInt=o.applyComparison},15881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runtimePositionFirstOrderFunc=t.runtimePositionFormulaRoot=t.evalLocals=t.stopped=t.LimitKind=t.StepAction=t.RuntimePositionKind=t.stackValue=t.Interrupt=t.CellKind=t.interval=t.ReasonKind=void 0,t.createCompileGlobals=function(e){return{config:e}},t.compileLocalsGrid=function(e,t,r){return{config:r??void 0,lexicalKind:e,originGridCell:(0,n.success)(t),allowUnqualifiedCell:!0,emitStepInfo:!1}},t.compileLocalsName=function(e,t){return{config:t??void 0,lexicalKind:o.LexicalKind.NameManager,originGridCell:(0,n.success)(e),allowUnqualifiedCell:!1,emitStepInfo:!1}},t.illFormedFormula=function(e,r,n){return{kind:t.ReasonKind.IllFormedFormula,message:e,mode:r,diagnostics:n}},t.finalValue=function(e){return{kind:s.FinalValue,oper:e}},t.pendingValue=function(e){return{kind:s.PendingValue,anchor:e}},t.cellWellFormedFormula=function(e,t){return{source:e,formula:t}},t.cellFormula=function(e,t){return{source:e,formula:t}},t.userDefinedFunc=function(e,t){return{arity:e,func:t}},t.evalGlobals=function(e,t,r,i,a,s,u,c,d,p,h,g,m,f,v,b,y,S,C,T,k,F,E,A,I,x,w,P,R,D){return{config:e,getDocumentLoc:t,getSheetIndex:r,getSheetName:i,getSheetRangeIndexes:a,getNameLoc:s,getUserDefinedFuncLoc:u,getCellValue:c,getCellValues:d,getWorksheetFunc:p,getUserDefinedFunc:h,getNameFormula:g,getCellFormula:m,getUsedRange:f,interruptToken:[l.Continue],tryGetHiddenRows:v,tryGetHiddenCols:b,isInFilterMode:y,getKnownFormat:S,getIformat:C,getFormatString:T,getRandom:k,getTime:F,schedulerConfig:null!=R?R:{},limits:null!=D?D:{},setCellValue:E,setCellValues:A,setCellFailure:I,getContainingTable:x,getStructRefColumn:w,getStructRefSpecialRef:P,getIntersectingTables:()=>(0,n.failure)((0,o.notImplemented)(["getIntersectingTables"]))}},t.nameCycle=function(e){return{kind:t.ReasonKind.NameCycle,names:e}},t.cellCycle=function(e){return{kind:t.ReasonKind.CellCycle,cells:e}},t.previousFailure=function(e){return{kind:t.ReasonKind.PreviousFailure,range:e}},t.previousNameFailure=function(e){return{kind:t.ReasonKind.PreviousNameFailure,name:e}},t.limitExceeded=function(e){return{kind:t.ReasonKind.LimitExceeded,limit:e}},t.paused=function(e){return{kind:n.ResultKind.Paused,reason:t.ReasonKind.Timeout,resume:e}},t.breaked=function(e){return{kind:n.ResultKind.Breaked,resume:e}},t.runtimePositionLetVal=function(e,t){return{kind:u.LetVar,varNamePosition:e,varBinderPosition:t}},t.runtimePositionLambdaRoot=function(e,t,r){return{kind:u.LambdaRoot,lambdaNodePosition:e,head:t,args:r}},t.runtimePositionLambdaParam=function(e,t,r){return{kind:u.LambdaParam,idx:e,paramNodePosition:t,paramNamePosition:r}},t.runtimePositionEtaLambdaBody=function(e){return{kind:u.EtaLambdaBody,wsfId:e}};const n=r(52123),o=r(85882),i=r(43177);var a,s,l,u,c,d;!function(e){e.Timeout="Timeout",e.Breakpoint="Breakpoint",e.Stopped="Stopped",e.NameCycle="NameCycle",e.CellCycle="CellCycle",e.PreviousFailure="PreviousFailure",e.PreviousNameFailure="PreviousNameFailure",e.LimitExceeded="LimitExceeded",e.IllFormedFormula="IllFormedFormula"}(a||(a={})),t.ReasonKind={...o.ReasonKind,...a,...i.FormatReasonKind,...o.ResolveReasonKind},t.interval=(0,n.typedInstanceCreator)()(((e,t)=>((0,n.assertPositiveInteger)("calc.runtime.interval: end",t),(0,n.assertIndex)("calc.runtime.interval: start",e,t),{start:e,end:t}))),function(e){e.FinalValue="FinalValue",e.PendingValue="PendingValue"}(s||(t.CellKind=s={})),function(e){e[e.Continue=1]="Continue",e[e.Stop=2]="Stop"}(l||(t.Interrupt=l={})),t.stackValue=(0,n.typedInstanceCreator)()(((e,t)=>({label:e,value:t}))),function(e){e.LetVar="LetVar",e.LambdaRoot="LambdaRoot",e.LambdaParam="LambdaParam",e.EtaLambdaBody="EtaLambdaBody",e.FormulaRoot="FormulaRoot",e.FirstOrderFunc="FirstOrderFunc"}(u||(t.RuntimePositionKind=u={})),function(e){e.Continue="Continue",e.Break="Break"}(c||(t.StepAction=c={})),function(e){e[e.CellChain=0]="CellChain",e[e.NameChain=1]="NameChain",e[e.LambdaCalls=2]="LambdaCalls",e[e.LambdaDepth=3]="LambdaDepth"}(d||(t.LimitKind=d={})),t.stopped={kind:t.ReasonKind.Stopped},t.evalLocals=(0,n.typedInstanceCreator)()(((e,t,r,n,o,i,a,s,l,u,c)=>({lexicalSource:e,originGridCell:t,originSheet:r,calcingArray:n,reflectionGridCell:o,reflectionSheet:i,implicitIntersect:a,allowUnqualifiedCell:s,wrapCellReferences:l,followHyperlinks:u,contextNames:c}))),t.runtimePositionFormulaRoot={kind:u.FormulaRoot},t.runtimePositionFirstOrderFunc={kind:u.FirstOrderFunc}},55823:(e,t,r)=>{"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.postStepTerm=t.worksheetFunctionNameToId=t.worksheetFunctionIdToName=t.operatorNameToId=t.operatorIdToName=t.TermKind=void 0,t.isOperatorName=function(e){return e>0},t.arrayTerm=l,t.lambdaTerm=u,t.letTerm=c,t.appTerm=p,t.nameTerm=h,t.udfTerm=g,t.cellRefTerm=function(e,t,r){const n=s(a.CellRef,r);return n.data={ref:e,qualifier:t},n},t.structRefTerm=function(e,t){const r=s(a.StructRef,t);return r.data=e,r},t.readStackTerm=function(e,t){const r=s(a.ReadStack,t);return r.data=e,r},t.conditionalTerm=m,t.noopTerm=f,t.callNameTerm=function(e,t,r){const n=s(a.CallName,r);return n.children=t,n.data={loc:e},n},t.callLambdaTerm=function(e,t,r,n,o){const i=s(a.CallLambda,void 0);return i.children=o,i.data={capturedLocals:e,capturedStackEnv:t,capturedStackMap:r,caller:n},i},t.callFirstOrderFuncTerm=function(e,t,r){const n=s(a.CallFirstOrderFunc,void 0);return n.children=r,n.data={source:e,caller:t},n},t.callMachineTerm=function(e,t){const r=s(a.CallMachine,t);return r.data={machine:e},r},t.isOperTerm=v,t.transformBottomUp=function(e,t){function r(e){if(v(e))return i.Pledge.resolve(e);switch(e.kind){case a.Let:return i.Pledge.all(e.children.map(n)).bind((t=>c(t.slice(0,t.length-1),e.data.rec,e.data.varLabels,t[t.length-1],e.position)));case a.App:return i.Pledge.all(e.children.map(n)).bind((t=>p(e.data.funName,e.data.funType,e.data.isFormulaRoot,e.data.args,t,e.position)));case a.Conditional:return i.Pledge.all(e.children.map(n)).bind((([t,...r])=>m(e.data.funName,e.data.funType,e.data.isFormulaRoot,t,r,e.position)));case a.Lambda:return i.Pledge.all(e.children.map(n)).bind((t=>u(e.data.checkArity,e.data.params,t,e.position)));case a.Array:return i.Pledge.all(e.children.map((e=>i.Pledge.all(e.map(n))))).bind((t=>l(e.data.rows,e.data.cols,t,e.position)));case a.Name:return(void 0===e.children?i.Pledge.resolve(void 0):n(e.children)).bind((t=>h(e.data.name,e.data.qualifier,e.data.source,t,e.position)));case a.Udf:return(void 0===e.children?i.Pledge.resolve(void 0):n(e.children)).bind((t=>g(e.data.name,e.data.qualifier,t,e.position)));case a.CellRef:case a.StructRef:case a.ReadStack:return i.Pledge.resolve(e);case a.Noop:return n(e.children).bind((t=>f(t,e.position)));default:return(0,i.assertNever)("calc.runtime.transformBottomUp",e)}}function n(e){return i.Pledge.resolve(e).bind(r).bind(t)}return i.Pledge.settleOrThrow(n(e))};const i=r(52123);var a;function s(e,t){return{kind:e,data:void 0,children:void 0,position:t}}function l(e,t,r,n){const o=s(a.Array,n);return o.children=r,o.data={rows:e,cols:t},o}function u(e,t,r,n){(0,i.assertTrue)("calc.runtime.lambdaTerm: defsAndBody",r.length===1+t.reduce(((e,t)=>e+(t.hasDef?1:0)),0)),(0,i.assertTrue)("calc.runtime.lambdaTerm: params",t.every(((e,t,r)=>!(e.hasDef&&e.isRest||e.isRest&&t!==r.length-1))));const o=s(a.Lambda,n);return o.children=r,o.data={checkArity:e,params:t},o}function c(e,t,r,n,o){(0,i.assertTrue)("calc.runtime.letTerm",e.length===r.length);const l=s(a.Let,o);return l.children=[...e,n],l.data={rec:t,varLabels:r},l}!function(e){e[e.Array=-2147483648]="Array",e[e.Lambda=-2147483647]="Lambda",e[e.Let=-2147483646]="Let",e[e.App=-2147483645]="App",e[e.Name=-2147483644]="Name",e[e.Udf=-2147483643]="Udf",e[e.CellRef=-2147483642]="CellRef",e[e.ReadStack=-2147483641]="ReadStack",e[e.Conditional=-2147483640]="Conditional",e[e.StructRef=-2147483639]="StructRef",e[e.Noop=-2147483638]="Noop",e[e.CallLambda=-2147483637]="CallLambda",e[e.CallName=-2147483636]="CallName",e[e.CallFirstOrderFunc=-2147483635]="CallFirstOrderFunc",e[e.CallMachine=-2147483634]="CallMachine",e[e.PostStep=-2147483633]="PostStep"}(a||(t.TermKind=a={})),n=(0,i.makeNewtypeIso)(i.identity,i.identity),t.operatorIdToName=n.wrap,t.operatorNameToId=n.unwrap,o=(0,i.makeNewtypeIso)((e=>-e),(e=>-e)),t.worksheetFunctionIdToName=o.wrap,t.worksheetFunctionNameToId=o.unwrap;const d=[];function p(e,t,r,n=d,o,i){const l=s(a.App,i);return l.children=o,l.data={funName:e,funType:t,isFormulaRoot:r,args:n},l}function h(e,t,r,n,o){const i=s(a.Name,o);return i.data={name:e,qualifier:t,source:r},i.children=n,i}function g(e,t,r,n){const o=s(a.Udf,n);return o.data={name:e,qualifier:t},o.children=r,o}function m(e,t,r,n,o,i){const l=s(a.Conditional,i);return l.children=[n,...o],l.data={funName:e,funType:t,isFormulaRoot:r,args:d},l}function f(e,t){const r=s(a.Noop,t);return r.children=e,r}function v(e){return e.kind>0}t.postStepTerm=s(a.PostStep,void 0)},60233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyStringOper=t.writeOperType=t.singleWriteOperType=void 0,t.traceErrorOper=function(e,t,r){const i=`${e}: generated Excel error, type ${t}; ${r}`;n.ulsLogger.ULS.traceTag(596120270,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Verbose,i)},t.isEmptyStringOper=function(e){return(0,o.isStringOper)(e)&&""===e.value},t.broadcastWriteOper=function(e,t,r){const i=(0,o.isArrayOper)(r)?(0,n.broadcastArray)(r.rows,r.cols,e,t,r.opers,o.naErrorOper):(0,n.constantArray)(e,t,r);return(0,o.arrayOper)(e,t,i)},t.makeStrict=function(e){const t=e=>e&~(o.OperKind.Array|o.OperKind.Range);return(0,o.functionType)(e.minArgs,e.maxArgs,e.headTypes.map(t),e.restTypes.map(t),e.tailTypes.map(t),e.returnType,e.staticPrecs,e.flags)},t.arrayLift=function(e,t,r,a){let s=0,l=0;for(let e=0;e<a.length;e+=1){const r=a[e];(0,o.isArrayOper)(r)&&0==((0,o.getArgType)(t,e,a.length)&o.OperKind.Array)?(s=(0,n.fastMax)(s,r.rows),l=(0,n.fastMax)(l,r.cols)):(s=(0,n.fastMax)(s,1),l=(0,n.fastMax)(l,1))}const u=a.map(((r,i,a)=>function(e,t,r,i,a){switch(i.kind){case o.OperKind.Missing:case o.OperKind.Blank:return(0,n.constantArray2D)(t,r,e.zero);case o.OperKind.Array:return 0!=(a&o.OperKind.Array)?(0,n.constantArray2D)(t,r,i):(0,n.broadcastArray2D)(t,r,new n.StrictArray2D(i.rows,i.cols,i.opers),o.naErrorOper);case o.OperKind.Range:default:return(0,n.constantArray2D)(t,r,i)}}(e.mathpack,s,l,r,(0,o.getArgType)(t,i,a.length))));return(0,i.machineCall)(new i.ArrayMachine(e,s,l,((e,t)=>r(u.map((r=>r.get(e,t))))),(t=>{const r=e.coerceOper((0,i.refToVal)(e,t,!0),i.readOperType);return(0,n.assertTrue)("calc.runtime.arrayLift",!(0,o.isMissingOper)(r)&&!(0,o.isRangeOper)(r)),(0,o.isArrayOper)(r)?r.opers[0][0]:r})))};const n=r(52123),o=r(85882),i=r(93600);t.singleWriteOperType=o.OperKind.Number|o.OperKind.String|o.OperKind.Boolean|o.OperKind.Error|o.OperKind.Rich,t.writeOperType=t.singleWriteOperType|o.OperKind.Array,t.emptyStringOper=(0,o.stringOper)("")},75736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LambdaOper=t.RecordOper=void 0;const n=r(85882);t.RecordOper=class{getFallback(){return this._fallback}getField(e){return this._fields.getValue(e)}constructor(e,t=n.valueErrorOper){this._fields=e,this._fallback=t,this.kind=n.OperKind.Rich}},t.LambdaOper=class{getFallback(){return n.valueErrorOper}getField(e){}constructor(e,t,r,o,i,a,s){this.checkArity=e,this.lambdaNodeLabel=t,this.params=r,this.locals=o,this.stackEnv=i,this.stackMap=a,this.defsAndBody=s,this.kind=n.OperKind.Rich}}},18377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyVisitedNames=t.emptyVisitedCells=void 0,t.appendVisitedCell=function(e,t){return(0,n.assertTrue)("calc.runtime.appendVisitedCell",t.previous===e.current),u(t,e.map.setValue(t.cell,t))},t.recordCellCycle=function(e,t){const r=[],n=(0,o.cellCycle)(r);for(let o=t;r.push(o.cell),o.cycle=n,o!==e;o=o.previous);return r.reverse(),n},t.appendVisitedName=function(e,t){const r={name:t,previous:e.current};return c(r,e.map.setValue(t,r))},t.recordNameCycle=function(e,t){const r=[];for(let n=t;r.push(n.name),n!==e;n=n.previous);return r.reverse(),(0,o.nameCycle)(r)};const n=r(52123),o=r(15881);function i(e,t,r){return void 0===e?void 0===t?0:-1:void 0===t?1:r(e,t)}function a(e,t){return e<t?-1:e===t?0:1}function s(e,t){return"string"==typeof e?"string"!=typeof t?1:a(e,t):"string"==typeof t||e<t?-1:e===t?0:1}function l(e,t){let r;return 0!==(r=a(e.name,t.name))?r:i(e.path,t.path,a)}function u(e,t){return{current:e,map:t}}function c(e,t){return{current:e,map:t}}t.emptyVisitedCells=u(void 0,n.RedBlackMapTree.create((function(e,t){let r;return 0!=(r=e.range.col-t.range.col)||0!=(r=e.range.row-t.range.row)||0!==(r=s(e.sheet.index,t.sheet.index))?r:l(e.sheet.document,t.sheet.document)}))),t.emptyVisitedNames=c(void 0,n.RedBlackMapTree.create((function(e,t){let r;return 0!==(r=a(e.name,t.name))||0!==(r=i(e.scope.index,t.scope.index,s))?r:l(e.scope.document,t.scope.document)})))},66071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnalyzer=function(e){return{checkFormula:(t,r)=>(0,o.checkFormula)(e,t,r),checkFormulaWithDiagnostics:(t,r)=>(0,o.checkFormulaWithDiagnostics)(e,t,r),autocorrectFormula:(t,r)=>(0,n.autocorrectFormula)(e,t,r),resolveStaticPrecedents:(t,r)=>(0,i.resolveStaticPrecedents)(e,t,r)}};const n=r(42357),o=r(46661),i=r(18973)},42357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocorrectFormula=function(e,t,r){try{const{spans:i,annotations:a,depthUpperBound:s}=r,u=new l(e,t,r).autocorrect();return(0,n.success)((0,o.formula)(u,i,a,s))}catch(e){return e instanceof a?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i={getDocumentLoc:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getDocumentLoc"),getSheetIndex:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getSheetIndex"),getSheetName:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getSheetName"),getNameLoc:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getNameLoc"),getUserDefinedFuncLoc:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getUserDefinedFuncLoc"),getSheetRangeIndexes:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getSheetRangeIndexes"),getContainingTable:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getContainingTable"),getStructRefColumn:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getStructRefColumn"),getStructRefSpecialRef:()=>(0,n.assertFalse)("calc.analyze.autocorrectFormula: default getStructRefSpecialRef")},a=(0,o.createFailureErrorClass)("AutocorrectError"),s={...(0,o.binaryVisitor)((0,o.constVisitor)(!1),((e,t)=>e||t)),badSequenceNode:(e,t,r)=>!0,badCharsNode:(e,t,r)=>!0};class l extends o.IdentityVisitor{autocorrect(){return(0,o.reduceBottomUp)(s,this.f)?this.f.node:(0,o.reduceBottomUp)(this,this.f)}literalNode(e,t,r){return t||(this.seenUnclosed=!0),!this.locals.allowUnqualifiedCell&&e.kind===o.OperKind.Error&&e.type===o.ErrorType.REF&&this.qualifyCellRef()?(0,o.cellRefNode)((0,o.cellRefError)(),this.qualifyCellRef(),r):(0,o.literalNode)(e,t,r)}nameNode(e,t,r){const i=(0,o.nameNode)(e,t,r),a=(0,o.flattenNameParts)(e).parts,s={...this.locals,allowUnqualifiedCell:!0},{headResolved:l,fieldsResolved:u}=this.resolver.resolveDottedName(s,i,this.f.annotations);if((0,o.canDenoteCellRef)(s,t,a)){const[e,t,...r]=a;if(l.kind===o.ResolvedKind.ResolvedCellRef){const{ref:i,qualifier:s,label:c}=l.node,{ref:d,qualifier:p}=this.cellRefNode(i,s,c);(0,n.assertTrue)("calc.analyze.autocorrectFormula: resolved CellRefKind correct",i.kind===e.ref.kind),(0,n.assertTrue)("calc.analyze.autocorrectFormula: autocorrect doesn't change CellRefKind",d.kind===i.kind),(0,n.assertTrue)("calc.analyze.autocorrectFormula: autocorrect doesn't generate ErrorQualifier",p?.kind!==o.QualifierKind.Error),(0,n.assertTrue)("calc.analyze.autocorrectFormula: all flattened field parts resolved",a.length===1+u.length);const h=(e,{rhs:t,canDenoteNamedObject:r,label:n,qualifiedLabel:i})=>(0,o.fieldRefNamePart)(e,t,r,n,i);return(0,o.nameNode)(r.reduce(h,h((0,o.cellRefNamePart)(d,e.asWhole,e.label,e.qualifiedLabel),t)),p,c)}this.throwIfResolutionUnknown(l.resolution)}if(this.locals.allowRelativeQualifier&&void 0===t){if(l.kind===o.ResolvedKind.ResolvedName&&(0,n.isSuccess)(l.resolution)&&l.resolution.value&&void 0!==l.resolution.value.scope.index)return(0,o.nameNode)(e,this.qualifySheetName(l.resolution.value.scope),r);this.throwIfResolutionUnknown(l.resolution)}if(t&&(t.kind===o.QualifierKind.Sheet||t.kind===o.QualifierKind.Ident)){if(l.kind===o.ResolvedKind.ResolvedName&&(0,n.isSuccess)(l.resolution)&&l.resolution.value&&void 0===l.resolution.value.scope.index&&l.qualifierResolution===o.QualifierKind.Sheet)return(0,o.nameNode)(e,this.qualifyBookName(l.resolution.value.scope),r);this.throwIfResolutionUnknown(l.resolution)}return i}arrayNode(e,t,r){return t||(this.seenUnclosed=!0),(0,o.arrayNode)(e,t,r)}appNode(e,t,r,n){const i=this.appNodeBase(e,r,n);return r||(this.seenUnclosed=!0),(0,o.isOperatorNode)(e)||(this.seenParen=!0),(0,o.isOperatorNode)(e)&&t.some(o.isMissingNode)&&(this.seenMissingOperand=!0),(0,o.appNode)(e,t,i,n)}letNode(e,t,r,n,i,a){const s=this.appNodeBase(e,i,a);return i||(this.seenUnclosed=!0),this.seenParen=!0,(0,o.letNode)(e,t,r,n,s,a)}lambdaNode(e,t,r,n,i,a){const s=this.appNodeBase(e,i,a);return i||(this.seenUnclosed=!0),this.seenParen=!0,(0,o.lambdaNode)(e,t,r,n,s,a)}parenNode(e,t,r){return t||(this.seenUnclosed=!0),this.seenParen=!0,(0,o.parenNode)(e,t,r)}cellRefNode(e,t,r){return e.isBracketed&&"("===this.localeInfo.rcLeftBracket&&(this.seenParen=!0),this.locals.allowUnqualifiedCell||void 0!==t?(0,o.cellRefNode)(e,t,r):(0,o.cellRefNode)(e,this.qualifyCellRef(),r)}fieldRefNode(e,t,r){return t.isClosed||(this.seenUnclosed=!0),(0,o.fieldRefNode)(e,t,r)}structRefNode(e,t,r){if(t.isClosed||(this.seenUnclosed=!0),void 0!==e&&e.qualifier){const{resolution:i,qualifierResolution:a}=this.resolver.resolveName(this.locals,e,o.NameSource.StructRef);if((0,n.isSuccess)(i)&&i.value&&a===o.QualifierKind.Sheet)return(0,o.structRefNode)((0,o.nameNode)(e.parts,void 0,e.label),t,r);this.throwIfResolutionUnknown(i)}return(0,o.structRefNode)(e,t,r)}qualifyCellRef(){const e=this.locals.originSheet;if(!(0,n.isSuccess)(e))throw new a(e.reason);if(void 0===e.value.index)return;const t=this.globals.getSheetName(e.value.document,e.value.index);if(!(0,n.isSuccess)(t))throw new a(t.reason);return(0,o.sheetQualifier)(t.value,void 0,(0,o.shouldQuoteQualifier)(this.localeInfo,this.refStyle,t.value))}qualifySheetName(e){const t=this.globals.getSheetName(e.document,e.index);if(!(0,n.isSuccess)(t))throw new a(t.reason);return(0,o.sheetQualifier)(t.value,void 0,(0,o.shouldQuoteQualifier)(this.localeInfo,this.refStyle,t.value))}qualifyBookName({document:e}){return(0,o.identQualifier)(e.name,(0,o.shouldQuoteQualifier)(this.localeInfo,this.refStyle,e.name))}appNodeBase(e,t,r){return t||!(0,o.isOperatorNode)(e)&&this.isFormulaRoot(r)&&!this.seenParen&&!this.seenUnclosed&&!this.seenMissingOperand}isFormulaRoot(e){return this.f.annotations[e]?.kind===o.AnnotationKind.FormulaRoot}throwIfResolutionUnknown(e){if(!(0,n.isSuccess)(e)&&e.reason.kind!==o.ResolveReasonKind.NoOriginSheet&&e.reason.kind!==o.ResolveReasonKind.InvalidQualifier&&e.reason.kind!==o.ResolveReasonKind.InvalidCellRef&&e.reason.kind!==o.ResolveReasonKind.InvalidStructRef&&e.reason.kind!==o.ResolveReasonKind.EmptyIntersection)throw new a(e.reason)}constructor(e,t,r){super(),this.f=r,this.seenUnclosed=!1,this.seenParen=!1,this.seenMissingOperand=!1;const n=function(e){return{config:e.config,getDocumentLoc:e.getDocumentLoc?.bind(e)??i.getDocumentLoc,getSheetIndex:e.getSheetIndex?.bind(e)??i.getSheetIndex,getSheetName:e.getSheetName?.bind(e)??i.getSheetName,getNameLoc:e.getNameLoc?.bind(e)??i.getNameLoc,getUserDefinedFuncLoc:e.getUserDefinedFuncLoc?.bind(e)??i.getUserDefinedFuncLoc,getSheetRangeIndexes:e.getSheetRangeIndexes?.bind(e)??i.getSheetRangeIndexes,getContainingTable:e.getContainingTable?.bind(e)??i.getContainingTable,getStructRefColumn:e.getStructRefColumn?.bind(e)??i.getStructRefColumn,getStructRefSpecialRef:e.getStructRefSpecialRef?.bind(e)??i.getStructRefSpecialRef}}(e);this.globals=n,this.locals=t,this.resolver=(0,o.createResolver)(n),this.localeInfo=t.config?.localeInfo??e.config.localeInfo,this.refStyle=t.config?.refStyle??e.config.refStyle}}},46661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkFormulaWithDiagnostics=function(e,t,r){try{const o=C(S(e,t,r,{ok:void 0,isOk:e=>void 0===e,collect:(e,t,r)=>{const n=r??[];return(n[e.label]??(n[e.label]=[])).push(t),n}},!1),r).context.errorData,i={...r,isWellFormed:void 0===o};return(0,n.success)([i,o])}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}},t.checkFormula=function(e,t,r){try{const o=C(S(e,t,r,y),r).context.errorData;return(0,n.success)({...r,isWellFormed:o})}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i=r(90662),a={};function s(e,t){return{context:e,result:t}}const l=o.OperKind.String|o.OperKind.Boolean|o.OperKind.Error,u=(c=e=>0!=(e.kind&l),e=>e.kind===o.NodeKind.Literal&&c(e.oper));var c;function d(e,t,r,n=!1){n||(e.errorData=e.reportError(t,r,e.errorData))}function p(e,t){return t!==o.OperKind.Range||0!=(e&o.OperKind.Range)}function h(e,t){if(t.kind===o.NodeKind.Literal)switch(d(e,t,i.baseErrors.Unclosed_literal,t.isClosed),t.oper.kind){case o.OperKind.Number:case o.OperKind.Boolean:case o.OperKind.String:case o.OperKind.Error:return;case o.OperKind.Missing:break;default:return(0,n.assertNever)("calc.analyze.checker.checkArrayElement: literal kind",t.oper)}d(e,t,i.baseErrors.Illegal_array_literal_element)}function g(e,t,r,o,s){return n.Pledge.try((()=>{if(e.earlyExit&&!e.isOk())throw a;return b(e,t,s)})).bind((a=>(p(a.result,r)||((0,n.assertTrue)("calc.analyze.checker.check: typeSource passed",void 0!==o),d(e,t,{kind:i.TypeError.Types_not_related,typeGiven:a.result,typeExpected:r,typeSource:o})),a.result=r,a)))}function m(e,t,r){if(r.kind===o.NodeKind.Ident){const n=(0,o.getBoundName)(e.localeInfo,r.whole);return d(e,r,i.baseErrors.Invalid_binder,n.indexOf(".")<0),d(e,r,i.baseErrors.Duplicate_binder,!t.contains(n)),t.setValue(n,!0)}return d(e,r,r.kind===o.NodeKind.Missing?i.baseErrors.Missing_binder:i.baseErrors.Invalid_binder),t}const f=e=>0===e.args.length?e:e.args[e.args.length-1];function v(e,t){return n.Pledge.try((()=>(d(e,t,i.baseErrors.Unclosed_application,t.isClosed),(0,o.isWSFNode)(t.head)?function(e,t){return n.Pledge.try((()=>{const r=t.head.id,a=(0,o.getWorksheetFuncType)(r),{minArgs:l,maxArgs:u,headTypes:c,restTypes:p,tailTypes:h,flags:v}=a,y=t.args,S=y.length,C=(0,o.getArguments)(t.args).length;if(d(e,t.head,i.baseErrors.Invalid_function_name,(0==(v&o.FunctionFlags.OnlyParsedDuringLoad)||e.locals.workbookLoad)&&0==(v&o.FunctionFlags.Chart)&&(0==(v&o.FunctionFlags.Macro)||e.locals.lexicalKind===o.LexicalKind.NameManager)),C<l)switch(r){case o.WorksheetFuncId.IF:case o.WorksheetFuncId.LET:case o.WorksheetFuncId.LETREC:case o.WorksheetFuncId.LAMBDA:break;default:const n=y[S-1];d(e,void 0===n?t:n,{kind:i.TypeError.Insufficient_function_arguments,funcId:r,numArgsGiven:C,numArgsExpected:l})}if(C>u){const n=y[S-1];d(e,void 0===n?t:n,{kind:i.TypeError.Excess_function_arguments,funcId:r,numArgsGiven:C,numArgsExpected:u})}else if(p.length>1&&C>c.length+p.length){const n=(C-c.length)%p.length;n>h.length&&d(e,f(t),{kind:i.TypeError.Insufficient_function_arguments,funcId:r,numArgsGiven:C,numArgsExpected:C+(p.length-n)})}let T;if(t.kind===o.NodeKind.App)T=(0,o.getArguments)(t.args).map(((t,n)=>g(e,t,(0,o.getArgType)(a,n,C),{kind:i.TypeSourceKind.WSFArgument,funcId:r,argIndex:n,numArgsGiven:C})));else if(t.kind===o.NodeKind.Let)T=[...t.vars.map((({binder:e})=>e.arg)),...t.body?[t.body.arg]:[]].map((t=>b(e,t)));else{const r=t.params.map((({name:e})=>e.arg.def?.rhs)).filter(n.isDefined),o=t.body?[t.body.arg]:[];T=[...r.map((t=>b(e,t,i.baseErrors.Missing_default_expression))),...o.map((t=>b(e,t)))]}return n.Pledge.all(T).bind((r=>(function(e,t){const r=t.head.id,a=(0,o.getArguments)(t.args).length;switch(r){case o.WorksheetFuncId.IF:const s=e.locals.lexicalKind===o.LexicalKind.NameManager?1:2;return void(a<s&&d(e,f(t),{kind:i.TypeError.Insufficient_function_arguments,funcId:r,numArgsGiven:a,numArgsExpected:s}));case o.WorksheetFuncId._UDF:return d(e,t,i.baseErrors.Unexpected_application_head);case o.WorksheetFuncId.LET:case o.WorksheetFuncId.LETREC:{(0,n.assertTrue)("calc.analyze.applySpecificWorksheetFunctionChecks",t.kind===o.NodeKind.Let);let s=n.RedBlackMapTree.create(e.localeInfo.stringCompareCI);for(const{name:r}of t.vars)s=m(e,s,r.arg.name);for(const r of t.badArgs)d(e,r.arg,i.baseErrors.Invalid_binder);d(e,f(t),{kind:i.TypeError.Insufficient_function_arguments,funcId:r,numArgsGiven:a,numArgsExpected:(0,n.fastMax)(3,a+1+a%2)},a>=3&&void 0!==t.body);break}case o.WorksheetFuncId.LAMBDA:{(0,n.assertTrue)("calc.analyze.applySpecificWorksheetFunctionChecks",t.kind===o.NodeKind.Lambda);let s=n.RedBlackMapTree.create(e.localeInfo.stringCompareCI),l=!1;for(const{name:r}of t.params)d(e,r.arg.name,i.baseErrors.Unclosed_bracket,r.arg.name.isClosed),void 0!==r.arg.def&&d(e,r.arg.name,i.baseErrors.Binder_requires_brackets,r.arg.name.isBracketed),r.arg.isOptional?l=!0:d(e,r.arg,i.baseErrors.Mandatory_binder_after_optional,!l),s=m(e,s,r.arg.name.name);for(const r of t.badArgs)d(e,r.arg,i.baseErrors.Invalid_binder);a>=1&&void 0!==t.body?void 0!==t.body&&(0,o.isMissingLiteralNode)(t.body.arg)&&d(e,t.body.arg,i.baseErrors.Invalid_body):d(e,f(t),{kind:i.TypeError.Insufficient_function_arguments,funcId:r,numArgsGiven:a,numArgsExpected:a+1});break}}}(e,t),s(e,a.returnType))))}))}(e,t):(0,o.isOperatorNode)(t.head)?function(e,t){return n.Pledge.try((()=>{const{head:r,args:a}=t,l=r.id,u=(0,o.getOperatorType)(l),c=a.length,p=c===u.minArgs;return d(e,r,{kind:i.TypeError.Incorrect_number_of_operator_arguments,opId:l},p),n.Pledge.all(a.map(((t,r)=>n.Pledge.try((()=>g(e,t,(0,o.getArgType)(u,r,c),{kind:i.TypeSourceKind.OperatorArgument,opId:l,argIndex:r,numArgsGiven:c},{kind:i.SyntaxError.Missing_operation_argument,opId:l})))))).bind((t=>p&&!a.some(o.isMissingNode)?s(e,u.returnType):s(e,o.SignatureType.All)))}))}(e,t):function(e,t){return n.Pledge.try((()=>{const r=t.head,a=t.args,l=a.length,c=(0,o.getArguments)(a).length,h=a[l-1],m=(0,o.higherOrderFunctionType)().maxArgs-1;return c>m&&d(e,void 0===h?t:h,{kind:i.SyntaxError.Excess_higher_order_function_arguments,numArgsGiven:c,numArgsExpected:m}),n.Pledge.all(a.map((t=>g(e,t,o.SignatureType.All,void 0)))).bind((t=>b(e,r).bind((t=>(p(t.result,o.OperKind.Range)||0!=(t.result&(o.OperKind.Array|o.OperKind.Rich))||d(e,r,u(r)||r.kind===o.NodeKind.Array?i.baseErrors.Unexpected_application_head:i.baseErrors.Unexpected_application_head_with_fix),s(e,o.SignatureType.All))))))}))}(e,t))))}function b(e,t,r,l=!1){return n.Pledge.try((()=>{if(e.earlyExit&&!e.isOk())throw a;switch(t.kind){case o.NodeKind.App:case o.NodeKind.Let:case o.NodeKind.Lambda:return v(e,t);case o.NodeKind.Array:return function(e,t){return n.Pledge.try((()=>{d(e,t,i.baseErrors.Unclosed_array,t.isClosed);const r=t.nodes.length>0&&!(1===t.nodes.length&&1===t.nodes[0].length&&(0,o.isMissingNode)(t.nodes[0][0]));if(d(e,t,i.baseErrors.Empty_array_literal,r),!r)return s(e,o.OperKind.Array);const n=t.nodes[0].length;for(let r=0;r<t.nodes.length;r+=1){const o=t.nodes[r],a=o.length;d(e,t,i.baseErrors.Irregular_array_shape,a===n);for(let t=0;t<a;t+=1)h(e,o[t])}return s(e,o.OperKind.Array)}))}(e,t);case o.NodeKind.BadChars:case o.NodeKind.BadSequence:return function(e,t){return n.Pledge.try((()=>{if(t.kind===o.NodeKind.BadSequence){switch(t.type){case o.BadType.Unexpected:d(e,t,i.baseErrors.Bad_node,t.contents.some((e=>e.kind===o.NodeKind.BadChars||e.kind===o.NodeKind.BadSequence)));break;case o.BadType.StructRef:d(e,t.contents[0]??t,i.baseErrors.Invalid_struct_ref_table_name);break;case o.BadType.FieldRef:return void d(e,t,i.baseErrors.Unexpected_field_ref)}return n.Pledge.all(t.contents.map((t=>b(e,t))))}switch(t.type){case o.BadType.Unexpected:switch(t.chars){case")":return d(e,t,i.baseErrors.Unexpected_closing_paren);case e.localeInfo.rightBrace:return d(e,t,i.baseErrors.Unexpected_closing_brace);case e.localeInfo.rightBracket:return d(e,t,i.baseErrors.Unexpected_closing_bracket);case".":return d(e,t,i.baseErrors.Unexpected_dot);default:return d(e,t,{kind:i.SyntaxError.Unexpected_character,text:t.chars})}case o.BadType.NumberLiteral:return d(e,t,i.baseErrors.Invalid_number_literal);case o.BadType.StringLiteral:return d(e,t,i.baseErrors.Invalid_string_literal);case o.BadType.ErrorLiteral:return d(e,t,i.baseErrors.Invalid_error_literal);case o.BadType.FieldName:case o.BadType.ParamName:return d(e,t,i.baseErrors.Bad_node);case o.BadType.Qualifier:return d(e,t,i.baseErrors.Invalid_qualifier);default:(0,n.assertNever)("calc.analyze.diagnoseBadNode",t)}}))}(e,t).bind((()=>s(e,o.SignatureType.All)));case o.NodeKind.Missing:return!1!==r&&d(e,t,r??i.baseErrors.Bad_node),s(e,o.SignatureType.All);case o.NodeKind.CellRef:return e.locals.allowRelativeQualifier||t.qualifier?.kind!==o.QualifierKind.Relative?e.locals.allowUnqualifiedCell||void 0!==t.qualifier?t.qualifier?.kind===o.QualifierKind.Document||t.qualifier?.kind===o.QualifierKind.Bad?(d(e,t,i.baseErrors.Invalid_qualifier),s(e,o.SignatureType.All)):t.ref.kind===o.CellRefKind.Bad?(d(e,t,i.baseErrors.Invalid_cell_ref),s(e,o.SignatureType.All)):s(e,o.OperKind.Range):(d(e,t,i.baseErrors.Invalid_unqualified_cell),s(e,o.SignatureType.All)):(d(e,t,i.baseErrors.Invalid_rel_sheet_qualifier_in_cell),s(e,o.SignatureType.All));case o.NodeKind.Literal:return d(e,t,i.baseErrors.Unclosed_literal,t.isClosed),(0,o.isErrorOper)(t.oper)&&d(e,t,i.baseErrors.Invalid_error_literal,!((u=t.oper.type)>o.ErrorType.GETTING_DATA&&u!==o.ErrorType.BUSY&&u!==o.ErrorType.EXTERNAL)),s(e,t.oper.kind|((0,o.isErrorOper)(t.oper)&&t.oper.type===o.ErrorType.REF?o.OperKind.Range:0));case o.NodeKind.Name:{const{qualifier:r}=t;if((l||!e.locals.allowRelativeQualifier)&&r?.kind===o.QualifierKind.Relative)return d(e,t,i.baseErrors.Invalid_rel_sheet_qualifier_in_name),s(e,o.SignatureType.All);if(!e.locals.workbookLoad&&r?.kind===o.QualifierKind.Document&&!r.isQuoted)return d(e,t,i.baseErrors.Invalid_qualifier),s(e,o.SignatureType.All);if(r?.kind===o.QualifierKind.SheetRange||r?.kind===o.QualifierKind.Bad)return d(e,t,i.baseErrors.Invalid_qualifier),s(e,o.SignatureType.All);const n=(0,o.flattenNameParts)(t.parts).parts,a=e.annotations[n[0].label],u=e.annotations[t.label],c=u?.kind===o.AnnotationKind.AppHeadName;return a?.kind===o.AnnotationKind.LocalNameUse?d(e,t,i.baseErrors.Invalid_name,(0,o.canDenoteLocalName)(r,n)):d(e,t,l?i.baseErrors.Invalid_struct_ref_table_name:i.baseErrors.Invalid_name,t.parts.canDenoteNamedObject||(0,o.canDenoteUserDefinedFunc)(c,r,t.parts)||(0,o.canDenoteCellRef)(e.locals,r,n)),s(e,o.SignatureType.All)}case o.NodeKind.Paren:return d(e,t,i.baseErrors.Unclosed_paren,t.isClosed),d(e,t,i.baseErrors.Empty_parenthesis,!(0,o.isMissingNode)(t.node)),b(e,t.node,!1);case o.NodeKind.FieldRef:return d(e,t,i.baseErrors.Unclosed_bracket,t.rhs.isClosed),d(e,t,i.baseErrors.Unexpected_field_ref,!(0,o.isMissingNode)(t.lhs)&&!(0,o.isNumberLiteralNode)(t.lhs)),t.rhs.field.kind!==o.NodeKind.Ident&&d(e,t.rhs.field,t.rhs.field.kind===o.NodeKind.Missing?i.baseErrors.Missing_field_name:i.baseErrors.Invalid_field_name),b(e,t.lhs,!1).bind((t=>s(e,o.SignatureType.All)));case o.NodeKind.StructRef:if(d(e,t,i.baseErrors.Missing_struct_ref_table_name,void 0!==t.lhs||e.locals.allowImplicitTable),void 0===t.rhs.innerRef);else{const r=t=>{switch(t?.kind){case void 0:break;case o.StructRefKind.RangeOpRef:r(t.lhs),r(t.rhs);break;case o.StructRefKind.CommaOpRef:d(e,t,i.baseErrors.Invalid_struct_ref_comma_parts,(0,o.isCommaOpRefWellFormed)(t)),t.refs.forEach(r);break;case o.StructRefKind.SpecialRef:case o.StructRefKind.ColumnRef:d(e,t,i.baseErrors.Unclosed_bracket,t.isClosed);break;case o.StructRefKind.ThisRowOpRef:r(t.ref);break;case o.StructRefKind.MissingRef:d(e,t,i.baseErrors.Invalid_struct_ref_missing_part);break;case o.StructRefKind.BadRef:d(e,t,i.baseErrors.Unclosed_bracket,t.isClosed),d(e,t,i.baseErrors.Invalid_struct_ref_bad_part)}};r(t.rhs.innerRef)}return d(e,t,i.baseErrors.Unclosed_bracket,t.rhs.isClosed),(void 0===t.lhs?n.Pledge.resolve(void 0):b(e,t.lhs,void 0,!0)).bind((t=>s(e,o.SignatureType.All)));default:return(0,n.assertNever)("calc.analyze.checker.infer: unhandled formula case",t)}var u}))}const y={ok:!0,isOk:n.identity,collect:(e,t,r)=>!1};function S(e,t,{annotations:r},n,o=!0){const i={globals:e,locals:t,localeInfo:t.config?.localeInfo??e.config.localeInfo,annotations:r,reportError:n.collect,isOk:()=>n.isOk(i.errorData),earlyExit:o,errorData:n.ok};return i}function C(e,t){try{const r=n.Pledge.settleOrThrow(g(e,t.node,o.SignatureType.All,void 0,i.baseErrors.Empty_formula));return function(e,t){const r=t.annotations[t.node.label];function a(t){for(const r of t)d(e,r,i.baseErrors.Unclosed_comment,r.isClosed)}function s(e){const r=t.spans[e];null!=r&&(r.preComments&&a(r.preComments),r.postComments&&a(r.postComments))}r?.kind===o.AnnotationKind.FormulaRoot&&void 0!==r.syntaxFeatures&&r.syntaxFeatures[o.SyntaxFeature.Comments]&&n.Pledge.settleOrThrow(function e(t){return n.Pledge.try((()=>{switch(s(t.label),t.kind){case o.NodeKind.Literal:case o.NodeKind.Missing:case o.NodeKind.BadChars:break;case o.NodeKind.App:case o.NodeKind.Let:case o.NodeKind.Lambda:return t.head.kind===o.NodeKind.Operator&&s(t.head.label),n.Pledge.all(t.args.map(e));case o.NodeKind.Array:return n.Pledge.all((0,n.safeConcat)([],t.nodes.map((t=>t.map(e)))));case o.NodeKind.BadSequence:return n.Pledge.all(t.contents.map(e));case o.NodeKind.CellRef:case o.NodeKind.Name:t.qualifier&&s(t.qualifier.label);break;case o.NodeKind.Paren:return e(t.node);case o.NodeKind.FieldRef:return s(t.rhs.label),s(t.rhs.field.label),e(t.lhs);case o.NodeKind.StructRef:return t.lhs?e(t.lhs):void 0;case o.NodeKind.Var:s(t.name.label);break;case o.NodeKind.Param:if(s(t.name.label),s(t.name.name.label),t.def)return s(t.def.label),e(t.def.rhs);break;default:return(0,n.assertNever)("calc.analyze.checker.comments",t)}}))}(t.node))}(e,t),r}catch(t){if(t===a)return s(e,o.SignatureType.All);throw t}}},90662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baseErrors=t.TypeSourceKind=t.TypeError=t.SyntaxError=void 0,t.formatDiagnostic=function(e){switch(e.kind){case a.Insufficient_function_arguments:case a.Excess_function_arguments:return`${e.kind}: ${(0,o.englishWorksheetFuncIdToName)(e.funcId)}`;case i.Missing_operation_argument:case a.Incorrect_number_of_operator_arguments:return`${e.kind}: ${(0,o.englishOperatorIdToName)(e.opId)}`;case i.Unexpected_character:return`${e.kind}: ${(0,n.anonymizeFormulaString)(e.text)}`;case a.Types_not_related:return`${e.kind}: ${function(e){const{kind:t,argIndex:r}=e;switch(e.kind){case s.WSFArgument:return JSON.stringify({kind:t,funcId:(0,o.englishWorksheetFuncIdToName)(e.funcId),argIndex:r});case s.OperatorArgument:return JSON.stringify({kind:t,opId:(0,o.englishOperatorIdToName)(e.opId),argIndex:r})}}(e.typeSource)}`;default:return e.kind}};const n=r(52123),o=r(85882);var i,a,s;!function(e){e.Unclosed_application="Unclosed_application",e.Unclosed_paren="Unclosed_paren",e.Unclosed_bracket="Unclosed_bracket",e.Unclosed_array="Unclosed_array",e.Unclosed_literal="Unclosed_literal",e.Unclosed_comment="Unclosed_comment",e.Invalid_number_literal="Invalid_number_literal",e.Invalid_string_literal="Invalid_string_literal",e.Invalid_error_literal="Invalid_error_literal",e.Invalid_function_name="Invalid_function_name",e.Invalid_name="Invalid_name",e.Illegal_array_literal_element="Illegal_array_literal_element",e.Empty_array_literal="Empty_array_literal",e.Irregular_array_shape="Irregular_array_shape",e.Empty_parenthesis="Empty_parenthesis",e.Missing_operation_argument="Missing_operation_argument",e.Bad_node="Bad_node",e.Invalid_qualifier="Invalid_qualifier",e.Invalid_cell_ref="Invalid_cell_ref",e.Invalid_binder="Invalid_binder",e.Missing_binder="Missing_binder",e.Duplicate_binder="Duplicate_binder",e.Invalid_body="Invalid_body",e.Mandatory_binder_after_optional="Mandatory_binder_after_optional",e.Missing_default_expression="Missing_default_expression",e.Binder_requires_brackets="Binder_requires_brackets",e.Invalid_field_name="Invalid_field_name",e.Missing_field_name="Missing_field_name",e.Empty_formula="Empty_formula",e.Invalid_rel_sheet_qualifier_in_cell="Invalid_rel_sheet_qualifier_in_cell",e.Invalid_rel_sheet_qualifier_in_name="Invalid_rel_sheet_qualifier_in_name",e.Invalid_unqualified_cell="Invalid_unqualified_cell",e.Unexpected_closing_paren="Unexpected_closing_paren",e.Unexpected_closing_brace="Unexpected_closing_brace",e.Unexpected_closing_bracket="Unexpected_closing_bracket",e.Unexpected_character="Unexpected_character",e.Unexpected_field_ref="Unexpected_field_ref",e.Unexpected_dot="Unexpected_dot",e.Invalid_struct_ref_table_name="Invalid_struct_ref_table_name",e.Missing_struct_ref_table_name="Missing_struct_ref_table_name",e.Invalid_struct_ref_comma_parts="Invalid_struct_ref_comma_parts",e.Invalid_struct_ref_missing_part="Invalid_struct_ref_missing_part",e.Invalid_struct_ref_bad_part="Invalid_struct_ref_bad_part",e.Excess_higher_order_function_arguments="Excess_higher_order_function_arguments"}(i||(t.SyntaxError=i={})),function(e){e.Types_not_related="Types_not_related",e.Unexpected_application_head="Unexpected_application_head",e.Unexpected_application_head_with_fix="Unexpected_application_head_with_fix",e.Incorrect_number_of_operator_arguments="Incorrect_number_of_operator_arguments",e.Excess_function_arguments="Excess_function_arguments",e.Insufficient_function_arguments="Insufficient_function_arguments"}(a||(t.TypeError=a={})),function(e){e.WSFArgument="WSFArgument",e.OperatorArgument="OperatorArgument"}(s||(t.TypeSourceKind=s={})),t.baseErrors={[i.Unclosed_application]:{kind:i.Unclosed_application},[i.Unclosed_paren]:{kind:i.Unclosed_paren},[i.Unclosed_bracket]:{kind:i.Unclosed_bracket},[i.Unclosed_array]:{kind:i.Unclosed_array},[i.Unclosed_literal]:{kind:i.Unclosed_literal},[i.Unclosed_comment]:{kind:i.Unclosed_comment},[i.Invalid_number_literal]:{kind:i.Invalid_number_literal},[i.Invalid_string_literal]:{kind:i.Invalid_string_literal},[i.Invalid_error_literal]:{kind:i.Invalid_error_literal},[i.Invalid_function_name]:{kind:i.Invalid_function_name},[i.Invalid_name]:{kind:i.Invalid_name},[i.Illegal_array_literal_element]:{kind:i.Illegal_array_literal_element},[i.Empty_array_literal]:{kind:i.Empty_array_literal},[i.Irregular_array_shape]:{kind:i.Irregular_array_shape},[i.Empty_parenthesis]:{kind:i.Empty_parenthesis},[i.Bad_node]:{kind:i.Bad_node},[i.Invalid_qualifier]:{kind:i.Invalid_qualifier},[i.Invalid_cell_ref]:{kind:i.Invalid_cell_ref},[i.Invalid_binder]:{kind:i.Invalid_binder},[i.Missing_binder]:{kind:i.Missing_binder},[i.Duplicate_binder]:{kind:i.Duplicate_binder},[i.Invalid_body]:{kind:i.Invalid_body},[i.Mandatory_binder_after_optional]:{kind:i.Mandatory_binder_after_optional},[i.Missing_default_expression]:{kind:i.Missing_default_expression},[i.Binder_requires_brackets]:{kind:i.Binder_requires_brackets},[i.Invalid_field_name]:{kind:i.Invalid_field_name},[i.Missing_field_name]:{kind:i.Missing_field_name},[i.Empty_formula]:{kind:i.Empty_formula},[i.Invalid_rel_sheet_qualifier_in_cell]:{kind:i.Invalid_rel_sheet_qualifier_in_cell},[i.Invalid_rel_sheet_qualifier_in_name]:{kind:i.Invalid_rel_sheet_qualifier_in_name},[i.Invalid_unqualified_cell]:{kind:i.Invalid_unqualified_cell},[i.Unexpected_closing_paren]:{kind:i.Unexpected_closing_paren},[i.Unexpected_closing_brace]:{kind:i.Unexpected_closing_brace},[i.Unexpected_closing_bracket]:{kind:i.Unexpected_closing_bracket},[i.Unexpected_field_ref]:{kind:i.Unexpected_field_ref},[i.Unexpected_dot]:{kind:i.Unexpected_dot},[i.Invalid_struct_ref_table_name]:{kind:i.Invalid_struct_ref_table_name},[i.Missing_struct_ref_table_name]:{kind:i.Missing_struct_ref_table_name},[i.Invalid_struct_ref_comma_parts]:{kind:i.Invalid_struct_ref_comma_parts},[i.Invalid_struct_ref_missing_part]:{kind:i.Invalid_struct_ref_missing_part},[i.Invalid_struct_ref_bad_part]:{kind:i.Invalid_struct_ref_bad_part},[a.Unexpected_application_head]:{kind:a.Unexpected_application_head},[a.Unexpected_application_head_with_fix]:{kind:a.Unexpected_application_head_with_fix}}},18973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveStaticPrecedents=function(e,t,r){try{const a=new l(e,t,r.annotations);return(0,o.reduceBottomUp)(a,r),(0,n.success)((0,i.staticPrecedents)(a.cells,a.names,a.udfs,a.nameSpecial|a.ownSpecial,a.ownSpecial,o.PrecsBound.Upper,a.resolutions))}catch(e){return e instanceof s?(0,n.failure)(e.reason):(0,n.failure)((0,n.javaScriptError)(e))}};const n=r(52123),o=r(85882),i=r(7344),a={getDocumentLoc:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getDocumentLoc"),getSheetIndex:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getSheetIndex"),getSheetName:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getSheetName"),getNameLoc:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getNameLoc"),getUserDefinedFuncLoc:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getUserDefinedFuncLoc"),getSheetRangeIndexes:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getSheetRangeIndexes"),getContainingTable:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getContainingTable"),getStructRefColumn:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getStructRefColumn"),getStructRefSpecialRef:()=>(0,n.assertFalse)("calc.analyze.resolveStaticPrecedents: default getStructRefSpecialRef")},s=(0,o.createFailureErrorClass)("ResolveStaticPrecedentsError");class l extends o.IdentityVisitor{appNode(e,t,r,i){if(e.kind===o.NodeKind.WSF){const r=e.id;let i=(0,o.getWorksheetFuncType)(r).staticPrecs;switch(r){case o.WorksheetFuncId.LOOKUP:case o.WorksheetFuncId.SUMIF:case o.WorksheetFuncId.AVERAGEIF:const e=({label:e})=>{const t=this.resolutions[e],r=t?.kind===o.ResolvedKind.ResolvedCellRef||t?.kind===o.ResolvedKind.ResolvedStructRef?t.resolution:void 0;return r?.kind===n.ResultKind.Success?r.value:void 0},a=(t,r)=>{const n=e(t),i=e(r);return void 0!==n&&void 0!==i&&(0,o.isSheetGridRange)(n)&&(0,o.isSheetGridRange)(i)&&(0,o.isDocumentLocEqual)(n.sheet.document,i.sheet.document)&&n.range.rows===i.range.rows&&n.range.cols===i.range.cols};(t.length<3||t[2].kind===o.NodeKind.Literal||t[2].kind===o.NodeKind.Array||a(t[2],r===o.WorksheetFuncId.LOOKUP?t[1]:t[0]))&&(i&=~o.SpecialPrecs.AllCells)}i!==o.SpecialPrecs.None&&(this.ownSpecial|=i)}return super.appNode(e,t,r,i)}nameNode(e,t,r){const i=this.resolver.resolveDottedName(this.locals,(0,o.nameNode)(e,t,r),this.annotations);this.resolutions[r]=i,(0,n.safePush)(this.names,i.precedents.names),(0,n.safePush)(this.udfs,i.precedents.udfs);const{headResolved:a}=i;switch(a.kind){case o.ResolvedKind.ResolvedName:if(!(0,n.isSuccess)(a.resolution)){this.handleResolutionError(a.resolution.reason);break}void 0!==a.resolution.value&&(this.nameSpecial|=o.SpecialPrecs.All);break;case o.ResolvedKind.ResolvedUserDefinedFunc:if(!(0,n.isSuccess)(a.resolution)){this.handleResolutionError(a.resolution.reason);break}break;case o.ResolvedKind.ResolvedCellRef:this.pushResolvedGridRef(a.resolution)}return super.nameNode(e,t,r)}cellRefNode(e,t,r){const n=this.resolver.resolveCellRef(this.locals,(0,o.cellRefNode)(e,t,r));this.resolutions[r]=n;const{resolution:i}=n;return this.pushResolvedGridRef(i),super.cellRefNode(e,t,r)}structRefNode(e,t,r){const i=this.resolver.resolveStructRef(this.locals,(0,o.structRefNode)(e,t,r));this.resolutions[r]=i,(0,n.safePush)(this.names,i.precedents);const{resolution:a}=i;return this.pushResolvedGridRef(a),super.structRefNode(e,t,r)}pushResolvedGridRef(e){if(e.kind!==n.ResultKind.Success)return this.handleResolutionError(e.reason);if(void 0!==e.value){const t=e.value;if((0,o.isSheetGridRange)(t))this.cells.push(t);else{this.ownSpecial|=o.SpecialPrecs.OwnDocSheets;const e=this.globals.getSheetRangeIndexes(t.sheet);if(!(0,n.isSuccess)(e))throw new s(e.reason);(0,n.safePush)(this.cells,e.value.sheets.map((e=>(0,o.sheetGridRange)((0,o.sheetIndex)(t.sheet.document,e),t.range))))}}}handleResolutionError(e){switch(e.kind){case o.ResolveReasonKind.NoOriginSheet:case o.ResolveReasonKind.InvalidStructRef:case o.ResolveReasonKind.InvalidCellRef:case o.ResolveReasonKind.InvalidQualifier:case o.ResolveReasonKind.EmptyIntersection:return}throw new s(e)}constructor(e,t,r){super(),this.locals=t,this.annotations=r,this.cells=[],this.names=[],this.udfs=[],this.nameSpecial=o.SpecialPrecs.None,this.ownSpecial=o.SpecialPrecs.None,this.resolutions=[],this.globals=function(e){return{config:e.config,getDocumentLoc:e.getDocumentLoc?.bind(e)??a.getDocumentLoc,getSheetIndex:e.getSheetIndex?.bind(e)??a.getSheetIndex,getSheetName:e.getSheetName?.bind(e)??a.getSheetName,getNameLoc:e.getNameLoc?.bind(e)??a.getNameLoc,getUserDefinedFuncLoc:e.getUserDefinedFuncLoc?.bind(e)??a.getUserDefinedFuncLoc,getSheetRangeIndexes:e.getSheetRangeIndexes?.bind(e)??a.getSheetRangeIndexes,getContainingTable:e.getContainingTable?.bind(e)??a.getContainingTable,getStructRefColumn:e.getStructRefColumn?.bind(e)??a.getStructRefColumn,getStructRefSpecialRef:e.getStructRefSpecialRef?.bind(e)??a.getStructRefSpecialRef}}(e),this.resolver=(0,o.createResolver)(this.globals)}}},7344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diagnostics=void 0,t.summarizeFormulaDiagnostics=function(e){if(void 0===e)return;const t={};return Object.keys(e).forEach((r=>{e[Number(r)].forEach((e=>{const r=a.formatDiagnostic(e);t[r]=(t[r]??0)+1}))})),t},t.staticPrecedents=function(e,t,r,n,o,i,a){return{cells:e,names:t,udfs:r,special:n,ownSpecial:o,bound:i,resolutions:a}},t.createAnalyzeGlobals=function(e,t){return{config:e,getSheetName:t}},t.analyzeLocalsGrid=function(e,t,r,n=!1){return{config:r??void 0,lexicalKind:e,originGridCell:(0,o.success)(t.range),originSheet:(0,o.success)(t.sheet),allowRelativeQualifier:!1,allowUnqualifiedCell:!0,allowImplicitTable:!0,wrapCellReferences:!1,workbookLoad:n}},t.analyzeLocalsName=function(e,t,r=!1){return{config:t??void 0,lexicalKind:i.LexicalKind.NameManager,originGridCell:(0,o.success)(e.range),originSheet:(0,o.success)(e.sheet),allowRelativeQualifier:!0,allowUnqualifiedCell:!1,allowImplicitTable:!1,wrapCellReferences:!0,workbookLoad:r}};const n=r(16533),o=r(52123),i=r(85882),a=n.__importStar(r(90662));t.diagnostics=a},41257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.token=t.tokenizeFormulaModule=t.analyzeServiceTypes=t.analyzeService=t.parserService=t.parseServiceTypes=t.stopUsingThis=t.createParser=t.parseResultHelper=t.isUnbracketedFieldName=t.createAnalyzer=t.PackageName=void 0;const n=r(16533);t.PackageName="excel-online-calc-syntax";var o=r(66071);Object.defineProperty(t,"createAnalyzer",{enumerable:!0,get:function(){return o.createAnalyzer}}),n.__exportStar(r(7344),t),n.__exportStar(r(58301),t);var i=r(85971);Object.defineProperty(t,"isUnbracketedFieldName",{enumerable:!0,get:function(){return i.isUnbracketedFieldName}});var a=r(85855);Object.defineProperty(t,"parseResultHelper",{enumerable:!0,get:function(){return a.parseResultHelper}});var s=r(95095);Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return s.createParser}}),t.stopUsingThis=n.__importStar(r(92006)),t.parseServiceTypes=n.__importStar(r(58301)),t.parserService=n.__importStar(r(95095)),t.analyzeService=n.__importStar(r(66071)),t.analyzeServiceTypes=n.__importStar(r(7344)),t.tokenizeFormulaModule=n.__importStar(r(65544)),t.token=n.__importStar(r(51376))},27543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseIdentContinue=t.parseEnd=t.parseEscape=t.parseAtOp=t.parseRangeOp=t.parseDotSepTokenNotFollowedByLeftBracket=t.parseRightBracket=t.parseLeftBracket=t.parseRightSQuote=t.parseLeftSQuote=t.parseRightBrace=t.parseLeftBrace=t.parseRightParen=t.parseLeftParen=t.parseAssignToken=t.parseDotSepToken=t.parseQualSep=t.parseColSep=t.parseRowSep=t.parseListSep=t.parseCharIndex=t.parseSpacesOnly=t.parseWhitespace=void 0;const n=r(52123),o=r(91922),i=r(51376);function a(e){return(0,o.take)(((t,r)=>r.kind===i.TokenKind.Sep&&r.value===e?r:void 0))}function s(e){return(0,o.take)(((t,r)=>r.kind===i.TokenKind.Left&&r.value===e?r:void 0))}function l(e){return(0,o.take)(((t,r)=>r.kind===i.TokenKind.Right&&r.value===e?r:void 0))}t.parseWhitespace=(0,o.many)((0,o.take)(((e,t)=>(0,i.isWhitespaceToken)(t)?t:void 0))),t.parseSpacesOnly=(0,o.opt)((0,o.take)(((e,t)=>t.kind===i.TokenKind.Spaces?t.chars:void 0)),""),t.parseCharIndex=function(e,t,r,o,i){const a=e.at(t,r);if(void 0===a){const e=`calc.parse.pStart: internal error: expected token at ${t}`;return(0,n.assertFalse)(e)}return o(a.start,t)},t.parseListSep=a(i.SepId.List),t.parseRowSep=a(i.SepId.Row),t.parseColSep=a(i.SepId.Col),t.parseQualSep=a(i.SepId.Qual),t.parseDotSepToken=a(i.SepId.Dot),t.parseAssignToken=a(i.SepId.Assign),t.parseLeftParen=s(i.DelimId.Paren),t.parseRightParen=l(i.DelimId.Paren),t.parseLeftBrace=s(i.DelimId.Brace),t.parseRightBrace=l(i.DelimId.Brace),t.parseLeftSQuote=s(i.DelimId.SQuote),t.parseRightSQuote=l(i.DelimId.SQuote),t.parseLeftBracket=s(i.DelimId.Bracket),t.parseRightBracket=l(i.DelimId.Bracket),t.parseDotSepTokenNotFollowedByLeftBracket=(0,o.takePeek)(((e,t,r)=>(0,i.isDotSepToken)(t)&&!(0,i.isLeftBracketToken)(r)?t:void 0)),t.parseRangeOp=(0,o.take)(((e,t)=>(0,i.isRangeOpToken)(t)?t:void 0)),t.parseAtOp=(0,o.take)(((e,t)=>(0,i.isAtOpToken)(t)?t:void 0)),t.parseEscape=(0,o.take)(((e,t)=>t.kind===i.TokenKind.Escape?t:void 0)),t.parseEnd=(0,o.take)(((e,t)=>t.kind===i.TokenKind.End?t:void 0)),t.parseIdentContinue=(0,o.apply)((0,o.many1)((0,o.take)(((e,t)=>t.isIdentContinue?t:void 0))),((e,t)=>{const r=t[0];return 1===t.length?r:(0,i.identToken)(r.start,t.map((e=>e.chars)).join(""))}))},85971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseFieldRef=void 0,t.isUnbracketedFieldName=h;const n=r(52123),o=r(85882),i=r(27543),a=r(12841),s=r(91922),l=r(92749),u=r(51376),{codePointQuestionMark:c,codePointBackslash:d,codePointUnderscore:p}=n.codePoint;function h(e,t){function r(t){return t!==c&&t!==d&&e.isIdentContinue(t)}if(0===t.length)return!1;const o=(0,n.stringCodePointAt)(t,0);if((i=o)===p||i===d||!e.isIdentStart(i)&&!e.isNumeral(i))return!1;var i;for(const e of(0,n.codePointIterator)(t,(0,n.numCodeUnits)(o)))if(!r(e))return!1;return!0}const g=(0,s.take)(((e,t)=>t.kind===u.TokenKind.Ident||t.kind===u.TokenKind.Escape||t.kind===u.TokenKind.Unexpected?t:void 0)),m=(0,s.apply)((0,s.tuple)(i.parseLeftBracket,(0,l.withTokenContext)(u.TokenContext.InFieldRef,(0,s.tuple)(i.parseCharIndex,(0,s.many)(g),i.parseCharIndex,(0,s.opt)(i.parseRightBracket,void 0)))),((e,[t,[r,n,i,a]])=>{const s=void 0!==a,c=n.map((e=>e.kind===u.TokenKind.Escape?"":e.chars)).join("");if(!n.every(((e,t,r)=>e.kind===u.TokenKind.Ident||e.kind===u.TokenKind.Escape&&r[t+1]?.kind===u.TokenKind.Ident))||c.length>255){const t=n.map((e=>e.chars)).join("");return[(0,o.badCharsNode)(o.BadType.FieldName,t,(0,l.addSpan)(e,r,i,"","")),!0,s]}return[(0,o.identNode)(c,(0,l.addSpan)(e,r,i,"","")),!0,s]})),f=(0,s.apply)(i.parseIdentContinue,((e,t)=>{const r=t.start,n=t.start+t.chars.length;return!h(e.localeInfo,t.chars)||t.chars.length>255?[(0,o.badCharsNode)(o.BadType.FieldName,t.chars,(0,l.addSpan)(e,r,n,"","")),!1,!0]:[(0,o.identNode)(t.chars,(0,l.addSpan)(e,r,n,"","")),!1,!0]}));t.parseFieldRef=(0,s.apply)((0,s.tuple)(i.parseCharIndex,i.parseWhitespace,i.parseDotSepToken,(0,s.any)(f,m),i.parseCharIndex),((e,[t,r,n,[i,s,u],c])=>{const d=(0,l.addSpan)(e,n.start,c,r,""),p=(0,o.fieldRef)(i,s,u,!1,d);return(0,a.fieldRefTerm)(r.length>0,p,t,c)}))},34330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSpParam=t.parseFormula=void 0,t.runFormulaParser=function(e,t,r,i,a,s,l,c){const p={[o.SyntaxFeature.Comments]:!0===l?.[o.SyntaxFeature.Comments],[o.SyntaxFeature.Statements]:!0===l?.[o.SyntaxFeature.Statements]},m=(0,d.makeState)(e,t,r,i,a,p);if(void 0===c.at(0,m)){const e="calc.parse.runTokenParser: internal error: expected at least 1 token";return(0,n.assertFalse)(e)}const f=(0,u.runParser)(g,c,0,m);if(!(0,n.isSuccess)(f)){const e="calc.parse.runTokenParser: internal error: !isSuccess";return(0,n.assertFalse)(e)}const v=f.value.index,b=c.at(v,m);if(void 0===b){const e="calc.parse.runTokenParser: internal error: expected one unconsumed token";return(0,n.assertFalse)(e)}if(b.kind!==h.TokenKind.End){const e=`calc.parse.runTokenParser: internal error: didn't consume up to end at index ${v}`;return(0,n.assertFalse)(e)}if(void 0!==c.at(v+1,m)){const e="calc.parse.runTokenParser: internal error: expected no tokens following End";return(0,n.assertFalse)(e)}const y=f.value.output,S=m.spans,C=(0,o.buildAnnotations)(e,y,s,null==l?void 0:p);return(0,o.formula)(y,S,C)};const n=r(52123),o=r(85882),i=r(27543),a=r(85971),s=r(98503),l=r(12841),u=r(91922),c=r(49825),d=r(92749),p=r(95258),h=r(51376),g=(0,u.apply)((0,u.tuple)(i.parseWhitespace,(0,u.lazy)((()=>t.parseFormula)),i.parseWhitespace),((e,[t,r,o])=>{const i=(0,d.getNodeSpan)(e,r);return(0,n.assertTrue)("calc.parse.parseSpFormula",!(i.pre.length>0&&t.length>0)),(0,n.assertTrue)("calc.parse.parseSpFormula",!(i.post.length>0&&o.length>0)),t.length>0&&([i.pre,i.preComments]=(0,d.addWhitespace)(e,t)),o.length>0&&([i.post,i.postComments]=(0,d.addWhitespace)(e,o)),r})),m=(0,u.apply)((0,u.tuple)(i.parseLeftParen,(0,d.withDelim)(h.DelimId.Paren,d.ListSep.Union,h.TokenContext.InParen,(0,u.tuple)(g,(0,u.opt)(i.parseRightParen,void 0))),i.parseCharIndex),((e,[t,[r,n],i])=>(0,o.parenNode)(r,void 0!==n,(0,d.addSpan)(e,t.start,i,"","")))),f=(0,u.many1)(g,(0,u.right)(i.parseColSep,g)),v=(0,u.many1)(f,(0,u.right)(i.parseRowSep,f)),b=(0,u.apply)((0,u.tuple)(i.parseLeftBrace,(0,d.withDelim)(h.DelimId.Brace,d.ListSep.Union,h.TokenContext.InArray,(0,u.tuple)(v,(0,u.opt)(i.parseRightBrace,void 0))),i.parseCharIndex),((e,[t,[r,n],i])=>(0,o.arrayNode)(r,void 0!==n,(0,d.addSpan)(e,t.start,i,"",""))));function y(e){return(0,u.take)(((t,r)=>e(r)?(0,o.badCharsNode)(o.BadType.Unexpected,r.chars,(0,d.addSpan)(t,r.start,r.start+r.chars.length,"","")):void 0))}const S=(0,u.apply)((0,u.tuple)(i.parseCharIndex,y(h.isLeftBracketToken),(0,d.withDelim)(h.DelimId.Bracket,d.ListSep.Union,h.TokenContext.Normal,(0,u.tuple)(g,(0,u.opt)(y(h.isRightBracketToken),void 0))),i.parseCharIndex),((e,[t,r,[n,i],a])=>{const s=[r,n];return null!=i&&s.push(i),(0,o.badSequenceNode)(o.BadType.Unexpected,s,(0,d.addSpan)(e,t,a,"",""))})),C=(0,u.take)(((e,t)=>{switch(t.kind){case h.TokenKind.End:case h.TokenKind.Operator:case h.TokenKind.Spaces:case h.TokenKind.SingleLineComment:case h.TokenKind.MultiLineComment:return;case h.TokenKind.Sep:if(t.value===h.SepId.Dot)return;if(t.value===h.SepId.Qual||t.value===h.SepId.Assign)break;if(e.delim.delimId===h.DelimId.Brace||t.value!==h.SepId.Col&&t.value!==h.SepId.Row)return;break;case h.TokenKind.Right:if(t.value!==h.DelimId.SQuote&&e.delim.stack[t.value])return}return(0,o.badCharsNode)(o.BadType.Unexpected,t.chars,(0,d.addSpan)(e,t.start,t.start+t.chars.length,"",""))})),T=(0,u.any)(c.parseRef,s.parseLiteral,m,b,a.parseFieldRef,p.parseStructRef,S,c.parseUnqualBadRef,C);function k(e){return(0,u.tuple)(i.parseLeftParen,(0,d.withDelim)(h.DelimId.Paren,d.ListSep.Arg,h.TokenContext.InParen,(0,u.tuple)((0,u.apply)((0,u.many1)(e,(0,u.right)(i.parseListSep,e)),((e,t)=>t.map((e=>e.kind===o.NodeKind.Missing?(0,o.literalNode)(o.missingOper,!0,e.label):e)))),(0,u.opt)(i.parseRightParen,void 0))),i.parseCharIndex)}const F=(0,u.apply)(k(g),((e,[t,[r,n],o])=>(0,l.argsTerm)(r,void 0!==n,t.start,o))),E=(0,u.apply)(k((0,u.any)((0,u.lazy)((()=>t.parseSpParam)),g)),((e,[t,[r,n],o])=>(0,l.lambdaArgsTerm)(r,void 0!==n,t.start,o))),A=(0,u.take)(((e,t)=>t.kind!==h.TokenKind.Operator||t.value!==o.OperatorId.Percent&&t.value!==o.OperatorId.Pound?void 0:t)),I=(0,u.take)(((e,t)=>t.kind===h.TokenKind.Operator||(0,h.isDotSepToken)(t)?t:function(e,t){return t.kind===h.TokenKind.Sep&&t.value===h.SepId.List&&e.delim.listSep===d.ListSep.Union?(0,h.operatorToken)(t.start,e.localeInfo.listSeparator,o.OperatorId.Union):void 0}(e,t))),x=(0,u.many)((0,u.take)(((e,t)=>(0,h.isWhitespaceToken)(t)?t:void 0))),w=(0,u.any)((0,u.concat)((0,u.bind)((0,u.any)(T,A),((e,t)=>{const r=(0,l.isWSFNode)(e.localeInfo,t);return r?.id===o.WorksheetFuncId.LAMBDA?(0,u.concat)((0,u.parseSucceed)([t]),(0,u.opt)((0,u.tuple)(E),[])):(0,u.parseSucceed)([t])})),(0,u.many)((0,u.any)(F,a.parseFieldRef,p.parseStructRef))),(0,u.tuple)(I)),P=(0,u.flatten)((0,u.many1)(w,(0,u.concat)(x,w)));t.parseFormula=(0,u.apply)((0,u.tuple)((0,u.opt)(P,void 0),i.parseCharIndex),((e,[t,r])=>{if(null==t){const t=(0,d.addSpan)(e,r,r,"","");return(0,o.missingNode)("",t)}const n=t;return n.push((0,h.endToken)(r)),(0,l.runOperatorPrecedenceParser)(e,n)}));const R=(0,u.applyTake)((0,u.tuple)(c.parseRef),((e,[t])=>{const r=t.kind===l.TermKind.MaybeWSFTerm?t.node:t;if((0,o.isUnqualifiedNameNode)(r))return(0,o.identNode)(r.whole,r.label)})),D=(0,u.apply)((0,u.many1)((0,u.take)(((e,t)=>t.isIdentContinue||(0,h.isDotSepToken)(t)?t:void 0))),((e,t)=>{const r=t[0].start,n=t.map((e=>e.chars)).join(""),i=(0,d.addSpan)(e,r,r+n.length,"","");return(0,o.badCharsNode)(o.BadType.ParamName,n,i)})),_=(0,u.peek)(((e,t)=>{const r=t.start;return(0,o.missingNode)("",(0,d.addSpan)(e,r,r,"",""))})),N=(0,u.applyTake)((0,u.tuple)(i.parseCharIndex,i.parseLeftBracket,(0,d.withDelim)(h.DelimId.Bracket,d.ListSep.Union,h.TokenContext.Normal,(0,u.tuple)(i.parseWhitespace,(0,u.any)(R,D,_),i.parseWhitespace,(0,u.opt)(i.parseRightBracket,void 0))),i.parseCharIndex),((e,[t,r,[n,i,a,s],l])=>{const u=(0,d.getNodeSpan)(e,i);return[u.pre,u.preComments]=(0,d.addWhitespace)(e,n),[u.post,u.postComments]=(0,d.addWhitespace)(e,a),(0,o.paramName)(i,!0,void 0!==s,(0,d.addSpan)(e,t,l,"",""))})),O=(0,u.applyTake)((0,u.tuple)(i.parseCharIndex,R,i.parseCharIndex),((e,[t,r,n])=>{const i=r.whole,{localeInfo:a}=e,s=i.length>6&&0===a.stringCompareCI(i.substring(0,6),"_xlop.");return(0,o.paramName)(r,s,!0,(0,d.addSpan)(e,t,n,"",""))})),M=(0,u.apply)((0,u.tuple)(i.parseWhitespace,i.parseCharIndex,i.parseAssignToken,i.parseWhitespace,(0,u.lazy)((()=>t.parseFormula)),i.parseCharIndex),((e,[t,r,n,i,a,s])=>{const l=(0,d.getNodeSpan)(e,a);return[l.pre,l.preComments]=(0,d.addWhitespace)(e,i),(0,o.paramDefault)(a,(0,d.addSpan)(e,r,s,t,""))})),B=(0,u.lazy)((()=>(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaDefaultParameters)?M:(0,u.parseFail)()));t.parseSpParam=(0,u.applyTake)((0,u.tuple)(i.parseWhitespace,i.parseCharIndex,(0,u.bind)((0,u.any)(O,N),((e,t)=>t.isClosed?(0,u.apply)((0,u.opt)(B,void 0),((e,r)=>[t,r])):(0,u.parseSucceed)([t,void 0]))),i.parseCharIndex,i.parseWhitespace,(0,u.peek)(((e,t)=>t))),((e,[t,r,[n,i],a,s,l])=>{if(void 0!==i||l.kind===h.TokenKind.End&&n.isBracketed||(0,h.isListSepToken)(l))return(0,o.paramNode)(n,i,(0,d.addSpan)(e,r,a,t,s))}))},98503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseLiteral=void 0;const n=r(85882),o=r(27543),i=r(12841),a=r(91922),s=r(92749),l=r(51376),u=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Literal&&t.oper.kind!==n.OperKind.Boolean?t:t.kind===l.TokenKind.CellRef&&function(e){return e.refStyle===n.RefStyle.A1&&null==e.col&&"object"==typeof e.row&&e.row.kind===n.PosKind.Rel}(t)?(0,l.literalToken)(t.start,t.chars,e.mathpack.fromNumber(t.row.index+e.origin.row+1)):void 0)),c=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Literal&&t.oper.kind===n.OperKind.Boolean?t:void 0));t.parseLiteral=(0,a.apply)((0,a.tuple)((0,a.any)(u,(0,a.left)(c,(0,a.fails)(o.parseDotSepTokenNotFollowedByLeftBracket))),o.parseCharIndex),((e,[t,r])=>{const o=(0,s.addSpan)(e,t.start,r,"","");if((0,l.isBadNumberOper)(t.oper))return(0,n.badCharsNode)(n.BadType.NumberLiteral,t.chars,o);if((0,l.isBadErrorOper)(t.oper))return(0,n.badCharsNode)(n.BadType.ErrorLiteral,t.chars,o);if((0,n.isStringOper)(t.oper)&&t.oper.value.length>n.cellStringLimit)return(0,n.badCharsNode)(n.BadType.StringLiteral,t.chars,o);const a=(0,n.literalNode)(t.oper,t.hasRight,o);return(0,n.isBooleanOper)(t.oper)?(0,i.maybeWSFTerm)(a,t.chars):a}))},12841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TermKind=void 0,t.lambdaArgsTerm=function(e,t,r,n){return{kind:l.LambdaArgsTerm,nodes:e,isClosed:t,start:r,end:n}},t.argsTerm=function(e,t,r,n){return{kind:l.ArgsTerm,nodes:e,isClosed:t,start:r,end:n}},t.fieldRefTerm=u,t.structRefTerm=function(e,t,r){return{kind:l.StructRefTerm,rhs:e,start:t,end:r}},t.maybeWSFTerm=function(e,t){return{kind:l.MaybeWSFTerm,node:e,whole:t}},t.isWSFNode=L,t.runOperatorPrecedenceParser=function(e,t){let r=t.length-1;if(r<1){const e="calc.parse.runTermParser: internal error: expected at least 1 term";return(0,n.assertFalse)(e)}if(t[r].kind!==s.TokenKind.End){const e="calc.parse.runTermParser: internal error: array[n].kind !== End";return(0,n.assertFalse)(e)}if(1===r&&c(t[0]))return t[0];if(d(t[0])){const e="calc.parse.runTermParser: internal error: array[0].kind === Spaces/comment";return(0,n.assertFalse)(e)}if(d(t[r-1])){const e="calc.parse.runTermParser: internal error: array[n-1].kind === Spaces/comment";return(0,n.assertFalse)(e)}for(;;){const o=new i.ArraySeq(t),a=(0,i.runParser)(de,o,0,e);if((0,n.isSuccess)(a)&&a.value.index>=r)return a.value.output;if(!(0,n.isSuccess)(a)||0===a.value.index||1===a.value.index&&c(t[0])){const e=`calc.parse.runTermParser: internal error: consumed ${(0,n.isSuccess)(a)?a.value.index:0} out of ${r}`;return(0,n.assertFalse)(e)}r=(t=[a.value.output,...t.slice(a.value.index)]).length-1}};const n=r(52123),o=r(85882),i=r(91922),a=r(92749),s=r(51376);var l;function u(e,t,r,n){return{kind:l.FieldRefTerm,hasDotPreSpace:e,rhs:t,start:r,end:n}}function c(e){return e.kind!==s.TokenKind.Operator&&e.kind!==s.TokenKind.Sep&&e.kind!==s.TokenKind.End&&e.kind!==s.TokenKind.Spaces&&e.kind!==s.TokenKind.SingleLineComment&&e.kind!==s.TokenKind.MultiLineComment&&!(e.kind in l)}function d(e){return e.kind===s.TokenKind.Spaces||e.kind===s.TokenKind.SingleLineComment||e.kind===s.TokenKind.MultiLineComment}function p(e,t){return c(t=t.kind===l.MaybeWSFTerm?t.node:t)?(0,a.getNodeSpan)(e,t).start:t.start}!function(e){e.LambdaArgsTerm="LambdaArgsTerm",e.ArgsTerm="ArgsTerm",e.FieldRefTerm="FieldRefTerm",e.StructRefTerm="StructRefTerm",e.MaybeWSFTerm="MaybeWSFTerm"}(l||(t.TermKind=l={}));const h=(0,i.many)((0,i.take)(((e,t)=>d(t)?t:void 0))),g=(0,i.many1)((0,i.take)(((e,t)=>d(t)?t:void 0))),m=(0,i.peek)(((e,t)=>t)),f=function(e,t,r,o,i){const a=e.at(t,r);if(void 0===a){const e=`calc.parse.pStart: internal error: expected term at ${t}`;return(0,n.assertFalse)(e)}return o(p(r,a),t)};function v(e){return(0,i.apply)((0,i.tuple)(h,f,(0,i.take)(e),f,h),((e,[t,r,n,i,s])=>(0,o.operatorNode)(n,(0,a.addSpan)(e,r,i,t,s))))}function b(e){return(0,i.apply)((0,i.tuple)(h,f,(0,i.take)(e),f),((e,[t,r,n,i])=>(0,o.operatorNode)(n,(0,a.addSpan)(e,r,i,t,""))))}function y(e){return(0,i.apply)((0,i.tuple)(f,(0,i.take)(e),f,h),((e,[t,r,n,i])=>(0,o.operatorNode)(r,(0,a.addSpan)(e,t,n,"",i))))}const S=v(((e,t)=>t.kind!==s.TokenKind.Operator||t.value!==o.OperatorId.Add&&t.value!==o.OperatorId.Sub?void 0:t.value)),C=y(((e,t)=>{if(t.kind===s.TokenKind.Operator){if(t.value===o.OperatorId.Add)return o.OperatorId.Pos;if(t.value===o.OperatorId.Sub)return o.OperatorId.Neg}})),T=y(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.At?t.value:void 0)),k=b(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.Pound?t.value:void 0)),F=(0,i.take)(((e,t)=>t.kind===l.StructRefTerm?t:void 0)),E=v(((e,t)=>t.kind!==s.TokenKind.Operator||t.value!==o.OperatorId.Mul&&t.value!==o.OperatorId.Div?void 0:t.value)),A=v(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.Pow?t.value:void 0)),I=b(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.Percent?t.value:void 0)),x=v(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.Concat?t.value:void 0)),w=v(((e,t)=>t.kind===s.TokenKind.Operator&&t.value>=o.OperatorId.Eq&&t.value<=o.OperatorId.Ge?t.value:void 0)),P=v(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.Range?t.value:void 0)),R=v(((e,t)=>t.kind===s.TokenKind.Operator&&t.value===o.OperatorId.Union?t.value:void 0)),D=(0,i.applyTake)((0,i.tuple)(g,m),((e,[t,r])=>{if(!(r.kind===s.TokenKind.End||r.kind===s.TokenKind.Operator&&r.value!==o.OperatorId.At||r.kind===s.TokenKind.Sep&&(0,s.isDotSepToken)(r))){if(1!==t.length||t[0].kind!==s.TokenKind.Spaces)return t;const n=p(e,r),i=(0,a.addSpan)(e,n,n,t[0].chars,"");return(0,o.operatorNode)(o.OperatorId.Isect,i)}})),_=(0,i.take)(((e,t)=>t.kind===s.TokenKind.Sep&&(0,s.isDotSepToken)(t)?t:void 0)),N=(0,i.take)(((e,t)=>t.kind===l.ArgsTerm?t:void 0)),O=(0,i.take)(((e,t)=>t.kind===l.LambdaArgsTerm?t:void 0)),M=(0,i.take)(((e,t)=>t.kind===l.ArgsTerm||t.kind===l.FieldRefTerm?t:void 0)),B={[o.WorksheetFuncId.LETREC]:n.FeatureName.CalcLetRecFunction};function L(e,t){if(t.kind===l.MaybeWSFTerm&&void 0!==t.whole){const r=(0,o.getWorksheetFuncId)(e,t.whole);if(void 0===r)return;if((0,n.assertTrue)("calc.parse.parseWSFName: unexpected UDF",r!==o.WorksheetFuncId._UDF),0!=((0,o.getWorksheetFuncType)(r).flags&o.FunctionFlags.Internal))return;const i=B[r];if(void 0!==i&&!(0,n.isFeatureEnabled)(i))return;return(0,o.wsfNode)(r,t.whole,t.node.label)}}const K=(0,i.take)(((e,t)=>L(e.localeInfo,t))),W=(0,i.take)(((e,t)=>{const r=L(e.localeInfo,t);return r?.id===o.WorksheetFuncId.LAMBDA?r:void 0})),H=(0,i.apply)((0,i.tuple)(W,O),((e,[t,r])=>{const n=(0,a.getNodeSpan)(e,t).start,i=r.nodes,s=(t.id,[]);let l;const u=[];for(let e=0;e<i.length;e+=1){const t=i[e];t.kind===o.NodeKind.Param?s.push((0,o.lambdaParam)((0,o.indexedArg)(t,e))):e===i.length-1?l=(0,o.indexedArg)(t,e):u.push((0,o.indexedArg)(t,e))}const c=(0,a.addSpan)(e,n,r.end,"","");return(0,o.lambdaNode)(t,s,l,u,r.isClosed,c)})),G=(0,i.apply)((0,i.tuple)(K,N),((e,[t,r])=>{const i=(0,a.getNodeSpan)(e,t).start,s=r.nodes;switch(t.id){case o.WorksheetFuncId.LET:case o.WorksheetFuncId.LETREC:{t.id;const n=[],c=[];let d;for(let t=0;t<s.length;t+=1){const r=s[t];t!==s.length-1?!(t+1<s.length&&(0,o.isUnqualifiedNameNode)(r))||t+3<s.length&&(l=e.refStyle,u=s[t+2],!((0,o.isUnqualifiedNameNode)(u)||l===o.RefStyle.A1&&u.kind===o.NodeKind.CellRef&&void 0===u.qualifier&&u.ref.kind===o.CellRefKind.Single&&u.ref.col.kind===o.PosKind.Rel&&u.ref.row.kind===o.PosKind.Rel))&&(0,o.isUnqualifiedNameNode)(s[t+1])?c.push((0,o.indexedArg)(r,t)):(n.push((0,o.letVar)((0,o.indexedArg)((0,o.varNode)((0,o.identNode)(r.whole,r.parts.label),r.label),t),(0,o.indexedArg)(s[t+1],t+1))),t+=1):d=(0,o.indexedArg)(r,t)}const p=(0,a.addSpan)(e,i,r.end,"","");return(0,o.letNode)(t,n,d,c,r.isClosed,p)}case o.WorksheetFuncId.LAMBDA:return(0,n.assertFalse)("calc.parse.parseWSFApp: unexpected LAMBDA+ArgTerm")}var l,u;return j(e,t,s,r.isClosed,i,r.end)}));function z(e,t,r){return(0,i.apply)((0,i.tuple)((0,i.many)(e),t),((e,[t,n])=>t.reduceRight(r(e),n)))}function U(e,t,r){return(0,i.apply)((0,i.tuple)(e,(0,i.many)(t)),((e,[t,n])=>n.reduce(r(e),t)))}function V(e){return(t,[r,i])=>{if(s=r,Array.isArray(s)){const s=(0,a.getNodeSpan)(e,t);(0,n.assertTrue)("calc.parse.makeAppNodeInfix",0===s.post.length),[s.post,s.postComments]=(0,a.addWhitespace)(e,r);const l=(0,a.getNodeSpan)(e,i),u=(0,a.addSpan)(e,s.start,l.end,"","");return(0,o.badSequenceNode)(o.BadType.Unexpected,[t,i],u)}var s;const l=(0,a.getNodeSpan)(e,t).start,u=(0,a.getNodeSpan)(e,i).end,c=(0,a.addSpan)(e,l,u,"","");return(0,o.appNode)(r,[t,i],!0,c)}}function j(e,t,r,n,i,s){const l=(0,a.addSpan)(e,i,s,"","");return(0,o.appNode)(t,r,n,l)}function q(e){return(t,r)=>{const n=(0,a.getNodeSpan)(e,t).start;switch(r.kind){case l.ArgsTerm:return j(e,t,r.nodes,r.isClosed,n,r.end);case l.FieldRefTerm:{const i=(0,a.addSpan)(e,n,r.end,"",""),{start:s,end:l,pre:u}=(0,a.getNodeSpan)(e,r.rhs);if((0,o.isNumberLiteralNode)(t)){const n=(0,a.addSpan)(e,s,s,"",""),u=(0,o.missingNode)("",n),c=r.rhs.label,d=(0,a.addSpan)(e,s,l,"",""),p=!1,h=(0,o.fieldRef)(r.rhs.field,r.rhs.isBracketed,r.rhs.isClosed,p,d);return(0,o.badSequenceNode)(o.BadType.FieldRef,[t,(0,o.fieldRefNode)(u,h,c)],i)}const c=!r.rhs.isBracketed&&(0,o.shouldFieldRefBeBracketed)(t,r.rhs,u),d=(0,o.fieldRef)(r.rhs.field,r.rhs.isBracketed,r.rhs.isClosed,c,r.rhs.label);return(0,o.fieldRefNode)(t,d,i)}case l.StructRefTerm:{const i=(0,a.addSpan)(e,n,r.end,"","");switch(t.kind){case o.NodeKind.Name:return(0,o.structRefNode)(t,r.rhs,i);case o.NodeKind.Missing:return(0,o.structRefNode)(void 0,r.rhs,i)}return(0,o.badSequenceNode)(o.BadType.StructRef,[t,(0,o.structRefNode)(void 0,r.rhs,(0,a.addSpan)(e,r.start,r.end,"",""))],i)}case o.NodeKind.Operator:return j(e,r,[t],!0,n,(0,a.getNodeSpan)(e,r).end)}}}function $(e){let t=!0;return(r,n)=>{const i=(0,a.getNodeSpan)(e,n).start,s=(0,a.getNodeSpan)(e,r).end,l=(0,a.addSpan)(e,i,s,"","");if((n.id===o.OperatorId.Pos||n.id===o.OperatorId.Neg)&&t&&(t=!1,(0,o.isNumberLiteralNode)(r)&&""===(0,a.getNodeSpan)(e,n).post)){const t=n.id===o.OperatorId.Pos?r.oper:e.mathpack.neg(r.oper);return(0,o.literalNode)(t,!0,l)}return(0,o.appNode)(n,[r],!0,l)}}const Q=(0,i.take)(((e,t)=>t.kind===l.MaybeWSFTerm?t.node:c(t)?t:void 0)),X=(0,i.apply)((0,i.tuple)(h,_,f,h),((e,[t,r,n,i])=>(0,o.badCharsNode)(o.BadType.Unexpected,r.chars,(0,a.addSpan)(e,r.start,n,t,i)))),Y=(0,i.apply)((0,i.tuple)(f,h,_,f),((e,[t,r,n,i])=>{const s=(0,a.addSpan)(e,i,i,"",""),l=(0,a.addSpan)(e,n.start,i,r,""),c=(0,o.fieldRef)((0,o.missingNode)("",s),!1,!0,!1,l);return u(r.length>0,c,t,i)})),J=(0,i.lazy)((()=>(0,i.apply)((0,i.tuple)(f,(0,i.many)((0,i.any)(H,G,Q,X),(0,i.any)(H,G,Q,(0,i.right)((0,i.succeeds)(T),ne))),f),((e,[t,r,n])=>{if(1===r.length)return r[0];const i=(0,a.addSpan)(e,t,n,"","");return 0===r.length?(0,o.missingNode)("",i):(0,o.badSequenceNode)(o.BadType.Unexpected,r,i)})))),Z=U((0,i.lazy)((()=>(0,i.any)((0,i.right)((0,i.succeeds)(T),ne),(0,i.right)((0,i.succeeds)(C),ie),J))),(0,i.any)(k,F),q),ee=U(Z,(0,i.tuple)(P,Z),V),te=U(ee,(0,i.tuple)(D,ee),V),re=U(te,(0,i.any)(M,Y),q),ne=z(T,re,$),oe=U(ne,(0,i.tuple)(R,ne),V),ie=z(C,oe,$),ae=U(ie,I,q),se=U(ae,(0,i.tuple)(A,ae),V),le=U(se,(0,i.tuple)(E,se),V),ue=U(le,(0,i.tuple)(S,le),V),ce=U(ue,(0,i.tuple)(x,ue),V),de=U(ce,(0,i.tuple)(w,ce),V)},72920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQualifier=void 0;const n=r(52123),o=r(85882),i=r(27543),a=r(91922),s=r(92749),l=r(51376);function u(e){return e.kind===l.TokenKind.Literal&&e.oper.kind===o.OperKind.Boolean}const{codePointFullStop:c}=n.codePoint,d=(0,a.opt)((0,a.takePeek)(((e,t,r)=>t.kind!==l.TokenKind.Spaces||(0,l.isWhitespaceToken)(r)?void 0:t.chars)),""),p=(0,a.take)(((e,t)=>t.isIdentContinue&&!u(t)&&t.chars.length>0&&t.chars.charCodeAt(0)!==c?t.chars:void 0)),h=(0,a.take)(((e,t)=>t.isIdentContinue||(0,l.isDotSepToken)(t)?t.chars:void 0)),g=(0,a.apply)((0,a.many1)(p,h),((e,t)=>t.join(""))),m=(0,a.apply)((0,a.many1)((0,a.take)(((e,t)=>t.kind===l.TokenKind.Ident?t.chars:t.kind===l.TokenKind.Escape?"":void 0))),((e,t)=>t.join(""))),f=(e,t)=>(t.path??"")+e.leftBracket+t.document+e.rightBracket;function v(e,t,r,n,i,a){let s,l;if(null==t)null==n?(s=(0,o.identQualifier)(r,i,a),l=r):(s=(0,o.sheetRangeQualifier)(r,n,void 0,i,a),l=`${r}:${n}`);else{const u=f(e.localeInfo,t);null==n?(s=(0,o.sheetQualifier)(r,t,i,a),l=`${u}${r}`):(s=(0,o.sheetRangeQualifier)(r,n,t,i,a),l=`${u}${r}:${n}`)}return[s,i?(0,o.quoteQualifier)(l):l]}const b=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Ident||(0,l.isRangeOpToken)(t)?t.chars:t.kind===l.TokenKind.Escape?"":void 0)),y=(0,a.apply)((0,a.tuple)(i.parseCharIndex,(0,a.many)(b),i.parseLeftBracket,(0,a.many1)(b),i.parseRightBracket,i.parseCharIndex),((e,[t,r,n,i,a,l])=>{const u=r.join(""),c=i.join("");return(0,o.documentQualifier)(c,""!==u?u:void 0,!0,(0,s.addSpan)(e,t,l,"",""))})),S=(0,a.apply)((0,a.tuple)(i.parseCharIndex,i.parseLeftBracket,(0,a.many1)(h),i.parseRightBracket,i.parseCharIndex),((e,[t,r,n,i,a])=>{const l=n.join("");return(0,o.documentQualifier)(l,void 0,!1,(0,s.addSpan)(e,t,a,"",""))})),C=(0,a.apply)((0,a.tuple)(i.parseCharIndex,(0,a.opt)(S,void 0),g,(0,a.opt)((0,a.right)(i.parseRangeOp,g),void 0),i.parseCharIndex),((e,[t,r,n,o,i])=>v(e,r,n,o,!1,(0,s.addSpan)(e,t,i,"","")))),T=(0,a.apply)((0,a.tuple)(i.parseLeftSQuote,(0,s.withTokenContext)(l.TokenContext.InQuotedQual,(0,a.tuple)((0,a.opt)(y,void 0),m,(0,a.opt)((0,a.right)(i.parseRangeOp,m),void 0),i.parseRightSQuote)),i.parseCharIndex),((e,[t,[r,n,o,i],a])=>v(e,r,n,o,!0,(0,s.addSpan)(e,t.start,a,"","")))),k=(0,a.apply)(S,((e,t)=>[t,f(e.localeInfo,t)])),F=(0,a.apply)((0,a.tuple)(i.parseLeftSQuote,(0,s.withTokenContext)(l.TokenContext.InQuotedQual,(0,a.tuple)(y,i.parseRightSQuote)),i.parseCharIndex),((e,[t,[r,n],i])=>[(0,o.documentQualifier)(r.document,r.path,!0,(0,s.addSpan)(e,t.start,i,"","")),(0,o.quoteQualifier)(f(e.localeInfo,r))])),E=(0,a.take)(((e,t)=>t.kind===l.TokenKind.End||t.kind===l.TokenKind.Right&&t.value===l.DelimId.SQuote?void 0:t.chars)),A=(0,a.bind)((0,a.tuple)(i.parseLeftSQuote,(0,s.withTokenContext)(l.TokenContext.InQuotedQual,(0,a.tuple)((0,a.many)(E),(0,a.opt)(i.parseRightSQuote,void 0)))),((e,[t,[r,n]])=>{const l=void 0!==n;return(0,a.apply)((0,a.tuple)(l?(0,a.opt)((0,a.tuple)(i.parseQualSep,d),[void 0,""]):(0,a.parseSucceed)([void 0,""]),i.parseCharIndex),((e,[[n,i],a])=>{const u=void 0!==n,c=`'${r.join("")}${l?"'":""}${u?"!":""}`,d=(0,s.addSpan)(e,t.start,a-i.length,"",i);return[(0,o.badQualifier)(c,!0,l,u,d),c]}))})),I=(0,a.take)(((e,t)=>{if((0,l.isRefErrorToken)(t)){const r=(0,s.addSpan)(e,t.start,t.start+t.chars.length,"","");return[(0,o.errorQualifier)(r),t.chars]}})),x=(0,a.peek)(((e,t)=>{const r=(0,s.addSpan)(e,t.start,t.start,"","");return[(0,o.relativeQualifier)(r),""]})),w=(0,a.apply)((0,a.tuple)((0,a.any)(C,T,k,F,x),i.parseQualSep,d),((e,[[t,r],o,i])=>{const a=(0,s.getNodeSpan)(e,t);return a.end+=1,(0,n.assertTrue)("calc.parse.parseGoodQualifier",a.end===o.start+o.chars.length),(0,n.assertTrue)("calc.parse.parseGoodQualifier",0===a.post.length),a.post=i,[t,`${r}!`]})),P=(0,a.take)(((e,t)=>t.isIdentContinue||(0,l.isDotSepToken)(t)||u(t)||function(e){return e.kind===l.TokenKind.Literal&&(0,l.isNumberLikeOper)(e.oper)}(t)?t.chars:void 0)),R=(0,a.apply)((0,a.tuple)(i.parseCharIndex,(0,a.many)(P),i.parseQualSep,i.parseCharIndex,d),((e,[t,r,n,i,a])=>{const l=`${r.join("")}!`,u=(0,s.addSpan)(e,t,i,"",a);return[(0,o.badQualifier)(l,!1,!0,!0,u),l]}));t.parseQualifier=(0,a.any)(I,w,R,A)},49825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRef=t.parseUnqualBadRef=void 0,t.isCompleteCellRefToken=g;const n=r(52123),o=r(85882),i=r(27543),a=r(85971),s=r(12841),l=r(72920),u=r(91922),c=r(92749),d=r(51376);function p(e,t){return e.refStyle===t.refStyle&&!t.isBadLocale&&t.row!==o.SpecialPos.A1BadDollar&&t.col!==o.SpecialPos.A1BadDollar}function h(e){return e.refStyle===o.RefStyle.R1C1||"object"==typeof e.row&&"object"==typeof e.col}function g(e,t){return t.kind===d.TokenKind.CellRef&&p(e,t)&&h(t)}const m=(0,o.pos)(o.PosKind.Rel,0);function f(e){return e===o.SpecialPos.RCNoNum?m:e}function v(e,t){if(e.row!==o.SpecialPos.A1BadDollar&&e.col!==o.SpecialPos.A1BadDollar){const r=e.refStyle===o.RefStyle.R1C1&&!e.isIdentContinue;if(null!=e.row&&null!=e.col)return(0,o.cellRefSingle)(f(e.row),f(e.col),r,t);if(null!=e.row){const n=f(e.row);return(0,o.cellRefRow)(n,n,r,t)}if(null!=e.col){const n=f(e.col);return(0,o.cellRefCol)(n,n,r,t)}}const r=`calc.parse.cellRefToken2cellRef: bad token ${(0,n.anonymize)(e)}`;return(0,n.assertFalse)(r)}function b(e,t){return t.isIdentContinue&&e.localeInfo.isIdentStart((0,n.stringCodePointAt)(t.chars,0))}const y=(0,u.take)(((e,t)=>g(e,t)&&!b(e,t)||(0,d.isRefErrorToken)(t)?t:void 0)),S=(0,u.take)(((e,t)=>g(e,t)&&b(e,t)?t:void 0)),C=(0,u.apply)((0,u.tuple)((0,u.any)(y,(0,u.withState)((e=>e.cellRefMustBeCellRefNode?S:(0,u.left)(S,(0,u.fails)((0,u.any)(i.parseIdentContinue,i.parseDotSepTokenNotFollowedByLeftBracket)))))),i.parseCharIndex),((e,[t,r])=>{const n=t.kind===d.TokenKind.CellRef?v(t,(0,c.addSpan)(e,t.start,r,"","")):(0,o.cellRefError)((0,c.addSpan)(e,t.start,r,"","")),i=t.kind===d.TokenKind.CellRef?t.chars:void 0;return(0,s.maybeWSFTerm)((0,o.cellRefNode)(n,void 0,(0,c.addSpan)(e,t.start,r,"","")),i)})),T=(0,u.takePeek)(((e,t,r)=>t.kind!==d.TokenKind.CellRef||!p(e,t)||function(e,t,r){return r.kind===d.TokenKind.Left&&r.value===d.DelimId.Paren&&t.isIdentContinue&&null!=(0,o.getWorksheetFuncId)(e.localeInfo,t.chars)}(e,t,r)||r.isIdentContinue?void 0:[t,r.start])),k=(0,u.bind)((0,u.tuple)(T,i.parseSpacesOnly,i.parseRangeOp,i.parseSpacesOnly,T),((e,[[t,r],n,i,a,[l,p]])=>{const h=(0,c.addSpan)(e,t.start,r,"",n),g=(0,c.addSpan)(e,l.start,p,a,""),m=v(t,h),f=v(l,g);let b;if(m.kind===o.CellRefKind.Single&&f.kind===o.CellRefKind.Single){const r=(0,c.addSpan)(e,t.start,p,"","");b=(0,o.cellRefRange)(m,f,r)}else if(0===n.length&&0===a.length)if(m.kind===o.CellRefKind.Row&&f.kind===o.CellRefKind.Row){const r=m.isBracketed||f.isBracketed,n=(0,c.addSpan)(e,t.start,p,"","");b=(0,o.cellRefRow)(m.row1,f.row1,r,n)}else if(m.kind===o.CellRefKind.Col&&f.kind===o.CellRefKind.Col){const r=m.isBracketed||f.isBracketed,n=(0,c.addSpan)(e,t.start,p,"","");b=(0,o.cellRefCol)(m.col1,f.col1,r,n)}if(null==b)return(0,u.parseFail)();const y=(0,s.maybeWSFTerm)((0,o.cellRefNode)(b,void 0,(0,c.addSpan)(e,t.start,p,"","")),void 0);return t.isIdentContinue&&l.isIdentContinue?(0,u.peek)(((e,t)=>t.kind===d.TokenKind.Sep&&t.value===d.SepId.Qual?void 0:y)):(0,u.parseSucceed)(y)})),F=(0,u.any)(k,C);t.parseUnqualBadRef=(0,u.apply)((0,u.take)(((e,t)=>t.kind===d.TokenKind.CellRef?t:void 0)),((e,t)=>{const r=t.start+t.chars.length,n=t.refStyle===o.RefStyle.R1C1&&!t.isIdentContinue;return(0,s.maybeWSFTerm)((0,o.cellRefNode)((0,o.cellRefBad)(t.chars,n,(0,c.addSpan)(e,t.start,r,"","")),void 0,(0,c.addSpan)(e,t.start,r,"","")),t.chars)}));const E=(0,u.take)(((e,t)=>t.kind===d.TokenKind.Ident&&e.localeInfo.isIdentStart((0,n.stringCodePointAt)(t.chars,0))||t.kind===d.TokenKind.CellRef&&b(e,t)?t:void 0)),A=(0,u.take)(((e,t)=>t.kind===d.TokenKind.Literal&&t.oper.kind===o.OperKind.Boolean?t:void 0)),I=(0,u.any)(E,(0,u.left)(A,(0,u.succeeds)(i.parseDotSepTokenNotFollowedByLeftBracket))),x=(0,u.peek)(((e,t)=>(0,d.isLeftBracketToken)(t))),w=(0,u.tuple)((0,u.many1)(I,i.parseIdentContinue),(0,u.many)((0,u.any)(i.parseIdentContinue,i.parseDotSepTokenNotFollowedByLeftBracket)),x,i.parseCharIndex),P=(0,u.apply)(w,(function(e,[t,r,i,l]){const u=t[0],g=1===t.length&&r[0]?.kind===d.TokenKind.Sep,m=u.kind!==d.TokenKind.CellRef||(f=u).refStyle===o.RefStyle.A1&&null==f.row&&"object"==typeof f.col&&f.col.kind===o.PosKind.Rel||function(e,t){return t.refStyle===o.RefStyle.A1&&e.refStyle===o.RefStyle.A1&&t.isIdentContinue||t.refStyle===o.RefStyle.R1C1&&(0,o.isR1C1IdentStart)(t.row,t.col)}(e,u)&&g;var f;if(i||function(e,t,r){return 0===r.length||1===t.length&&t[0].kind===d.TokenKind.Literal||r.some(((t,r)=>r%2==0?t.kind!==d.TokenKind.Sep:t.kind===d.TokenKind.Sep||!(0,a.isUnbracketedFieldName)(e.localeInfo,t.chars)))}(e,t,r)){const n=[...t,...r].map((e=>e.chars)).join(""),i=(0,c.addSpan)(e,u.start,l,"",""),a=(0,c.addSpan)(e,u.start,l,"",""),d=(0,o.identNamePart)(n,m,i,a),p=(0,o.nameNode)(d,void 0,(0,c.addSpan)(e,u.start,l,"",""));return(0,s.maybeWSFTerm)(p,p.whole)}let b,y=m,S=0,C=r[S]?.start??l,T=(0,c.addSpan)(e,u.start,C,"",""),k=(0,c.addSpan)(e,u.start,C,"","");if(1===t.length&&u.kind===d.TokenKind.CellRef)if(p(e,u))if(h(u)){const t=v(u,(0,c.addSpan)(e,u.start,C,"",""));b=(0,o.cellRefNamePart)(t,u.chars,T,k)}else b=(0,o.identNamePart)(u.chars,y,T,k);else y=!1,b=(0,o.identNamePart)(u.chars,y,T,k);else{let n=t.map((e=>e.chars)).join("");(0===e.localeInfo.stringCompareCI(n,"_xlpm")||0===e.localeInfo.stringCompareCI(n,"_xleta")||0===e.localeInfo.stringCompareCI(n,"_xlop"))&&S+1<r.length&&(n+="."+r[S+1].chars,S+=2,C=r[S]?.start??l,T=(0,c.addSpan)(e,u.start,C,"",""),k=(0,c.addSpan)(e,u.start,C,"","")),b=(0,o.identNamePart)(n,y,T,k)}let F=b;for(;S+1<r.length;S+=2){const t=r[S],n=r[S+1],i=r[S+2]?.start??l;F=(0,o.fieldRefNamePart)(F,(0,o.fieldRef)((0,o.identNode)(n.chars,(0,c.addSpan)(e,n.start,i,"","")),!1,!0,!1,(0,c.addSpan)(e,t.start,i,"","")),S+2>=r.length?m:y,(0,c.addSpan)(e,u.start,i,"",""),(0,c.addSpan)(e,u.start,i,"",""))}if(S<r.length){const t=r[S],n=r[S+1]?.start??l,i=(0,o.fieldRef)((0,o.missingNode)("",(0,c.addSpan)(e,n,n,"","")),!1,!0,!1,(0,c.addSpan)(e,t.start,n,"",""));F=(0,o.fieldRefNamePart)(F,i,m,(0,c.addSpan)(e,u.start,n,"",""),(0,c.addSpan)(e,u.start,n,"","")),S+=1}(0,n.assertTrue)("calc.parse.pUnqualName: i == tailTokens",S===r.length),F.kind===o.NamePartKind.CellRefNamePart&&(0,n.assertFalse)("calc.parse.pUnqualName: expected lhs.kind !== NamePartKind.CellRefNamePart");const E=(0,o.nameNode)(F,void 0,(0,c.addSpan)(e,u.start,l,"",""));return(0,s.maybeWSFTerm)(E,E.whole)})),R=(0,u.opt)((0,u.any)(F,P,t.parseUnqualBadRef),{node:void 0}),D=(0,u.any)(F,(0,u.right)((0,u.fails)(P),t.parseUnqualBadRef)),_=(0,u.bind)(l.parseQualifier,((e,[t,r])=>(0,u.apply)(t.kind===o.QualifierKind.SheetRange?(0,c.cellRefMustBeCellRefNode)(t.isQuoted?R:D):t.kind===o.QualifierKind.Error?(0,c.cellRefMustBeCellRefNode)(R):R,((e,{node:i})=>{if(null==i)return t.kind===o.QualifierKind.Error?(0,o.literalNode)(o.refErrorOper,!0,t.label):(0,o.badCharsNode)(o.BadType.Qualifier,r,t.label);const a=(0,c.getNodeSpan)(e,t).start,s=(0,c.getNodeSpan)(e,i).end;if(i.kind===o.NodeKind.Name){const r=(0,c.addSpan)(e,a,s,"","");if(t.kind===o.QualifierKind.Error){const e=(0,o.literalNode)(o.refErrorOper,!0,t.label);return(0,o.badSequenceNode)(o.BadType.Unexpected,[e,i],r)}return(0,n.assertTrue)("calc.parse.pQualRef: sheet-range-name quoted",t.kind!==o.QualifierKind.SheetRange||t.isQuoted),t.kind===o.QualifierKind.SheetRange&&void 0===t.document&&(t=(0,o.identQualifier)(`${t.sheet1}:${t.sheet2}`,t.isQuoted,t.label)),(0,o.nameNode)(function(e,t,r){let n=t;for(;(0,c.getSpan)(e,n.qualifiedLabel).start=r,n.kind===o.NamePartKind.FieldRefNamePart;)n=n.lhs;return t}(e,i.parts,a),t,r)}const l=(0,c.addSpan)(e,a,s,"","");return t.kind===o.QualifierKind.Ident&&(t=(0,o.sheetQualifier)(t.name,void 0,t.isQuoted,t.label)),(0,o.cellRefNode)(i.ref,t,l)})))),N=(0,u.apply)((0,u.any)(F,P),((e,t)=>t.node.kind===o.NodeKind.CellRef&&t.node.ref.kind===o.CellRefKind.Error?(0,o.literalNode)(o.refErrorOper,!0,t.node.label):t));t.parseRef=(0,u.any)(_,N)},85855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseResultHelper=void 0;const n=r(52123),o=r(85882);function i(e,t){const r=e[t];return(0,n.assertTrue)("ParseResultHelper.getFormulaSpan: expected span to be defined",void 0!==r),r}class a extends o.IdentityVisitor{letNode(e,t,r,n,i,a){if(this.caretInNode(r?.arg))this.pushNames(t);else for(let r=0;r<t.length;r+=1){const{binder:n}=t[r];if(this.caretInNode(n.arg)){this.pushNames(e.id===o.WorksheetFuncId.LET?t.slice(0,r):t);break}}return super.letNode(e,t,r,n,i,a)}lambdaNode(e,t,r,n,o,i){if(this.caretInNode(r?.arg))this.pushNames(t);else for(let e=0;e<t.length;e+=1){const{name:r}=t[e];if(void 0!==r.arg.def&&this.caretInNode(r.arg.def.rhs)){this.pushNames(t.slice(0,e));break}}return super.lambdaNode(e,t,r,n,o,i)}caretInNode(e){if(void 0===e)return!1;const t=this.formula.spans[e.label];return void 0!==t&&this.caretPosition>=t.start&&this.caretPosition<=t.end}pushNames(e){(0,n.safePush)(this.references,e.map((({name:e})=>e.arg.wholeName)).filter(n.isDefined).reverse())}constructor(e,t){super(),this.formula=e,this.caretPosition=t,this.references=[]}}function s(e,t,r,a,s=!1,l,u){if(!(0,n.isSuccess)(e))return!1;try{!function(e,t,r,a,s,l,u){if(null==e||null==a)return;const c={};null!=r?r.forEach((e=>{c[e]=!0})):c["*"]=!0;const d={};{let t=0;const r=[],n={...o.voidVisitor,letNode(n,o,a,s,l,u){for(const{name:e}of o)d[e.arg.label]=t;r.push({letCount:t,span:i(e.spans,u)}),t+=1},lambdaNode(n,o,a,s,l,u){for(const{name:e}of o)d[e.arg.label]=t;r.push({letCount:t,span:i(e.spans,u)}),t+=1}};(0,o.reduceBottomUp)(n,e),r.sort(((e,t)=>e.span.start-t.span.start));const a={};for(let e=0;e<r.length;e+=1)a[r[e].letCount]=e;for(const e of Object.keys(d).map(Number))d[e]=a[d[e]]}const p={literalNode(e,t,r){const n=o.identityVisitor.literalNode(e,t,r);return h("literal")&&a("literal",{label:r,value:n,valueKind:e.kind}),n},missingNode(e,t){const r=o.identityVisitor.missingNode(e,t);return h("literal")&&a("literal",{label:t,value:(0,o.literalNode)(o.missingOper,!0,t),valueKind:o.OperKind.Missing}),r},arrayNode:(e,t,r)=>o.identityVisitor.arrayNode(e,t,r),appNode(e,t,r,n){const i=o.identityVisitor.appNode(e,t,r,n);return m(e,0,r,n),i},letNode(e,t,r,n,i,s){const l=(0,o.letNode)(e,t,r,n,i,s);m(e,l.args,i,s);for(const{name:e}of t)h("letName")&&a("letName",{label:e.arg.label,name:e.arg.wholeName,number:d[e.arg.label],qualifier:void 0});return l},lambdaNode(e,t,r,n,i,s){const l=(0,o.lambdaNode)(e,t,r,n,i,s);m(e,l.args,i,s);for(const{name:e}of t)h("letName")&&a("letName",{label:e.arg.name.name.label,name:e.arg.wholeName,number:d[e.arg.label],qualifier:void 0});return l},parenNode:(e,t,r)=>o.identityVisitor.parenNode(e,t,r),nameNode(t,r,n){const i=(0,o.nameNode)(t,r,n),s=e.annotations[t.label],l=e.annotations[n];if(l?.kind===o.AnnotationKind.AppHeadName);else if(s?.kind===o.AnnotationKind.LocalNameUse){const e=d[s.label];h("letName")&&null!=e&&a("letName",{label:n,name:s.name,number:e,qualifier:void 0})}else if(h("namedRange")){const e=i.whole.split(".");a("namedRange",{label:n,name:e[0],names:e.slice(1),qualifier:g(i)})}return i},cellRefNode(t,r,n){const s=(0,o.cellRefNode)(t,r,n);return h("range")&&function(t){if(null!=e&&null!=a)switch(t.ref.kind){case o.CellRefKind.Error:break;case o.CellRefKind.Col:const r=t.ref;a("range",{label:t.label,type:"col",startIndex:r.col1,endIndex:r.col2,span:i(e.spans,r.label),qualifier:g(t)});break;case o.CellRefKind.Row:const n=t.ref;a("range",{label:t.label,type:"row",startIndex:n.row1,endIndex:n.row2,span:i(e.spans,n.label),qualifier:g(t)});break;case o.CellRefKind.Single:const s=t.ref;a("range",{label:t.label,type:"cell",row:s.row,col:s.col,span:i(e.spans,s.label),qualifier:g(t)});break;case o.CellRefKind.Range:const l=t.ref;a("range",{label:t.label,type:"range",top:l.ref1.row,left:l.ref1.col,bottom:l.ref2.row,right:l.ref2.col,topLeftSpan:i(e.spans,l.ref1.label),bottomRightSpan:i(e.spans,l.ref2.label),qualifier:g(t)})}}(s),s},fieldRefNode:(e,t,r)=>o.identityVisitor.fieldRefNode(e,t,r),structRefNode(t,r,s){const c=(0,o.structRefNode)(t,r,s);if(h("structRefRange")){if(null==u||null==l)return c;const{resolution:r}=u.resolveStructRef(l,c);if(!(0,n.isSuccess)(r)||void 0===r.value)return c;const d=r.value;a("structRefRange",{label:s,type:"range",top:(0,o.pos)(o.PosKind.Rel,d.range.row),left:(0,o.pos)(o.PosKind.Rel,d.range.col),bottom:(0,o.pos)(o.PosKind.Rel,d.range.row+d.range.rows-1),right:(0,o.pos)(o.PosKind.Rel,d.range.col+d.range.cols-1),span:i(e.spans,s),qualifier:void 0!==t?g(t):void 0,name:void 0!==t?t.whole:void 0})}return c},badSequenceNode:(e,t,r)=>o.identityVisitor.badSequenceNode(e,t,r),badCharsNode:(e,t,r)=>o.identityVisitor.badCharsNode(e,t,r),operatorNode:(e,t)=>o.identityVisitor.operatorNode(e,t),wsfNode:(e,t,r)=>o.identityVisitor.wsfNode(e,t,r)};function h(e){return c[e]||c["*"]}function g(e){if(null!=e.qualifier){const t={};switch(e.qualifier.kind){case o.QualifierKind.Sheet:const r=e.qualifier;t.type="Sheet",t.sheet=r.sheet,null!=r.document&&(t.document=r.document.document,null!=r.document.path&&(t.documentPath=r.document.path));break;case o.QualifierKind.SheetRange:const n=e.qualifier;t.type="SheetRange",t.sheet1=n.sheet1,t.sheet2=n.sheet2,null!=n.document&&(t.document=n.document.document,null!=n.document.path&&(t.documentPath=n.document.path));break;case o.QualifierKind.Ident:const i=e.qualifier;t.type="Ident",t.name=i.name;break;case o.QualifierKind.Document:const a=e.qualifier;t.type="Document",t.document=a.document,null!=a.path&&(t.documentPath=a.path)}return t}}function m(e,t,r,n){if(null!=a)switch(e.kind){case o.NodeKind.Operator:h("operator")&&a("operator",{label:n,value:e.id});break;case o.NodeKind.WSF:case o.NodeKind.Name:h("function")&&a("function",{label:n,name:e.whole,isClosed:r,args:[]})}}(0,o.reduceBottomUp)(p,e)}(e.value,a??(0,o.getEnglishLocaleInfo)(),t,r,0,l,u)}catch(e){const t=`ParseResultHelper.traverse: unhandled error ${(0,n.messageFromError)(e)}`;n.ulsLogger.ULS.traceTag(507381982,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,t)}return!0}t.parseResultHelper={isSuccess:n.isSuccess,traverse:s,extractReferences:function(e,t,r=!1,o,a){if(!(0,n.isSuccess)(e))return;const l=[];return s(e,["range","namedRange","letName","literal","function","structRefRange"],((t,r)=>{const n={kind:t,ref:r,span:i(e.value.spans,r.label)};l.push(n)}),t,r,o,a),l.sort(((e,t)=>{let r;return 0!=(r=e.span.start-t.span.start)||0!=(r=t.span.end-e.span.end)?r:0})),l},extractLetVariables:function(e,t){if((0,n.isSuccess)(e))try{const r=new a(e.value,t);return(0,o.reduceBottomUp)(r,e.value),r.references.reverse()}catch(e){const t=`ParseResultHelper.extractLetVariables: unhandled error ${(0,n.messageFromError)(e)}`;return n.ulsLogger.ULS.traceTag(507381983,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,t),[]}}}},95258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStructRef=void 0;const n=r(85882),o=r(27543),i=r(12841),a=r(91922),s=r(92749),l=r(51376),u=(0,a.take)(((e,t)=>t.isIdentContinue||t.kind===l.TokenKind.Spaces?t:void 0)),c=(0,a.apply)((0,a.many1)(u),((e,t)=>t.map((e=>e.kind===l.TokenKind.Escape?"":e.chars)).join(""))),d=(0,a.take)(((e,t)=>t.isIdentContinue||t.kind===l.TokenKind.Spaces||t.kind===l.TokenKind.Escape||(0,l.isListSepToken)(t)||(0,l.isRangeOpToken)(t)?t:void 0)),p=(0,a.apply)((0,a.many1)(d),((e,t)=>t.map((e=>e.kind===l.TokenKind.Escape?"":e.chars)).join(""))),h=(0,a.take)(((e,t)=>t.kind===l.TokenKind.SpecialRef?t:void 0)),g=(0,a.apply)((0,a.tuple)(o.parseCharIndex,h,o.parseCharIndex),((e,[t,r,o])=>(0,n.specialRef)(r.value,!1,!0,(0,s.addSpan)(e,t,o,"","")))),m=(0,a.apply)((0,a.tuple)(o.parseCharIndex,o.parseLeftBracket,h,(0,a.opt)(o.parseRightBracket,void 0),o.parseCharIndex),((e,[t,r,o,i,a])=>(0,n.specialRef)(o.value,!0,void 0!==i,(0,s.addSpan)(e,t,a,"","")))),f=(0,a.any)(g,m),v=(0,a.apply)((0,a.tuple)(o.parseCharIndex,c,o.parseCharIndex),((e,[t,r,o])=>(0,n.columnRef)(r,!1,!0,(0,s.addSpan)(e,t,o,"","")))),b=(0,a.apply)((0,a.tuple)(o.parseCharIndex,o.parseLeftBracket,(0,a.opt)(p,void 0),(0,a.opt)(o.parseRightBracket,void 0),o.parseCharIndex),((e,[t,r,o,i,a])=>(0,n.columnRef)(o??"",!0,void 0!==i,(0,s.addSpan)(e,t,a,"","")))),y=(0,a.apply)((0,a.tuple)(o.parseCharIndex,p,o.parseCharIndex),((e,[t,r,o])=>(0,n.columnRef)(r,!1,!0,(0,s.addSpan)(e,t,o,"","")))),S=(0,a.any)(v,b),C=(0,a.apply)(o.parseCharIndex,((e,t)=>(0,n.missingRef)((0,s.addSpan)(e,t,t,"","")))),T=(0,a.any)(S,C),k=(0,a.take)(((e,t)=>"#"===t.chars?t:void 0)),F=(0,a.apply)((0,a.many1)(k,u),((e,t)=>(0,l.unexpectedToken)(t[0].start,t.map((e=>e.chars)).join("")))),E=(0,a.apply)((0,a.many1)(k,d),((e,t)=>(0,l.unexpectedToken)(t[0].start,t.map((e=>e.chars)).join("")))),A=(0,a.apply)((0,a.tuple)(o.parseCharIndex,F,o.parseCharIndex),((e,[t,r,o])=>(0,n.badRef)(r.chars,!1,!0,(0,s.addSpan)(e,t,o,"","")))),I=(0,a.apply)((0,a.tuple)(o.parseCharIndex,o.parseLeftBracket,E,(0,a.opt)(o.parseRightBracket,void 0),o.parseCharIndex),((e,[t,r,o,i,a])=>(0,n.badRef)(o.chars,!0,void 0!==i,(0,s.addSpan)(e,t,a,"","")))),x=(0,a.any)(A,I),w=(0,a.apply)((0,a.tuple)(o.parseCharIndex,T,o.parseRangeOp,T,o.parseCharIndex),((e,[t,r,o,i,a])=>(0,n.rangeOpRef)(r,i,(0,s.addSpan)(e,t,a,"","")))),P=(0,a.any)(w,S),R=(0,a.any)(f,x,w,S,C),D=(0,a.apply)((0,a.tuple)(o.parseCharIndex,R,(0,a.many1)((0,a.tuple)(o.parseListSep,R)),o.parseCharIndex),((e,[t,r,o,i])=>(0,n.commaOpRef)([r,...o.map((([e,t])=>t))],(0,s.addSpan)(e,t,i,"","")))),_=(0,a.apply)((0,a.tuple)(o.parseCharIndex,o.parseAtOp,(0,a.opt)(P,void 0),o.parseCharIndex),((e,[t,r,o,i])=>(0,n.thisRowOpRef)(o,(0,s.addSpan)(e,t,i,"","")))),N=(0,a.apply)(o.parseSpacesOnly,(()=>{})),O=(0,a.peek)(((e,t)=>t.kind===l.TokenKind.End||(0,l.isRightBracketToken)(t)?t:void 0)),M=(0,a.any)((0,a.left)(N,O),(0,a.left)(y,O),(0,a.left)(D,O),(0,a.left)(_,O),(0,a.left)(w,O),(0,a.left)(f,O),(0,a.left)(x,O),(0,a.left)(b,O));t.parseStructRef=(0,a.apply)((0,a.tuple)(o.parseLeftBracket,(0,s.withTokenContext)(l.TokenContext.InStructRef,(0,a.tuple)(M,(0,a.opt)(o.parseRightBracket,void 0))),o.parseCharIndex),((e,[t,[r,o],a])=>{const l=t.start,u=void 0!==o;return(0,i.structRefTerm)((0,n.structRef)(r,u,(0,s.addSpan)(e,l,a,"","")),l,a)}))},91922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArraySeq=void 0,t.runParser=function(e,t,r,o){let i;if(function(e){let t=e;for(;null!=t;)t=t()}(e(t,r,o,(function(e,t){i=(0,n.success)({output:e,index:t})}),(function(){i=(0,n.failure)(void 0)}))),void 0===i){const e="calc.parse.runParser: internal error: parser did not call resolve or reject";return(0,n.assertFalse)(e)}return i},t.lazy=function(e){let t;return function(r,n,o,i,a){const s=t??(t=e());return()=>s(r,n,o,i,a)}},t.setDebugging=function(e){o=e},t.warnSucceedOrFail=function(e,t){return function(r,n,i,a,s){return e(r,n,i,((e,r)=>(o&&console.warn(`${t} succeeded, returning index ${r} with`,e),a(e,r))),(()=>(o&&console.warn(`${t} failed at index ${n}`),s)))}},t.parseSucceed=i,t.parseFail=s,t.bind=l,t.apply=u,t.withState=function(e){return(t,r,n,o,i)=>e(n)(t,r,n,o,i)},t.any=function(...e){return 0===e.length?s():e.reduce(c)},t.opt=function(e,t){return function(r,n,o,i,a){return e(r,n,o,i,(()=>i(t,n)))}},t.succeeds=function(e){return function(t,r,n,o,i){return e(t,r,n,(()=>o(!0,r)),i)}},t.fails=function(e){return function(t,r,n,o,i){return e(t,r,n,i,(()=>o(!0,r)))}},t.take=function(e){return d(e,1)},t.peek=function(e){return d(e,0)},t.takePeek=function(e){return function(t,r,n,o,i){const a=t.at(r,n);if(void 0===a)return i;const s=t.at(r+1,n);if(void 0===s)return i;const l=e(n,a,s);return null==l?i:o(l,r+1)}},t.applyTake=function(e,t){return function(r,n,o,i,a){return e(r,n,o,((e,r)=>{const n=t(o,e);return null==n?a:i(n,r)}),a)}},t.reduce=p,t.many=function(e,t){return void 0===t?function(t,r,n,o,i){return h(e,[])(t,r,n,o,i)}:function(r,n,o,i,a){return e(r,n,o,((e,n)=>h(t,[e])(r,n,o,i,a)),(()=>i([],n)))}},t.many1=function(e,t=e){return l(e,((e,r)=>h(t,[r])))},t.tuple=g,t.left=function(e,t){return u(g(e,t),((e,[t])=>t))},t.right=function(e,t){return u(g(e,t),((e,[,t])=>t))},t.middle=function(e,t,r){return u(g(e,t,r),((e,[,t])=>t))},t.flatten=m,t.concat=function(...e){return m(g(...e))};const n=r(52123);t.ArraySeq=class{at(e,t){return this.elems[e]}constructor(e){this.elems=e}};let o=!1;function i(e){return function(t,r,n,o,i){return o(e,r)}}const a=(e,t,r,n,o)=>o;function s(){return a}function l(e,t){return function(r,n,o,i,a){return e(r,n,o,((e,n)=>t(o,e)(r,n,o,i,a)),a)}}function u(e,t){return function(r,n,o,i,a){return e(r,n,o,((e,r)=>i(t(o,e),r)),a)}}function c(e,t){return function(r,n,o,i,a){return e(r,n,o,i,(()=>t(r,n,o,i,a)))}}function d(e,t){return function(r,n,o,i,a){const s=r.at(n,o);if(void 0===s)return a;const l=e(o,s);return void 0===l?a:i(l,n+t)}}function p(e,t,r){return function(o,i,a,s,l){let u=r,c=i;function d(){return e(o,c,a,p,h)}function p(e,r){if(r<=c){const e=`calc.parse.reduce: internal error: no progress made at index ${c}`;return(0,n.assertFalse)(e)}return u=t(a,e,u),c=r,d}function h(){return s(u,c)}return d}}function h(e,t){return p(e,(function(e,t,r){return r.push(t),r}),t)}function g(...e){if(0===e.length)return i([]);if(1===e.length)return u(e[0],((e,t)=>[t]));const t=e.length;return function(r,n,o,i,a){let s=n;const l=[];function u(){return e[l.length](r,s,o,c,a)}function c(e,r){return s=r,l.push(e),l.length<t?u:i(l,s)}return u}}function m(e){return u(e,((e,t)=>(0,n.safeConcat)([],t)))}},95095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){return(0,n.isTypedChangeGateEnabled)("Microsoft.Office.Excel.Parser2024")?{parseFormula:(t,r,i)=>function(e,t,r,i=0){try{const s=i>=0&&i<r.length?h[r.charCodeAt(i)]:void 0;return null==s?(0,n.failure)((0,a.notFormulaString)("first character is not '=', '+', '-' or '@'")):s<0?(0,n.failure)((0,o.notImplemented)(["Lotus 1-2-3 syntax"])):g(e,t,r,i+s)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}}(e,t,r,i),parseFormulaExpression:(t,r,o)=>function(e,t,r,o=0){try{return g(e,t,r,o)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}}(e,t,r,o)}:(0,l.createParser)(e)};const n=r(52123),o=r(85882),i=r(34330),a=r(58301),s=r(65544),l=r(50089),{codePointEqualsSign:u,codePointPlusSign:c,codePointMinusSign:d,codePointAtSign:p}=n.codePoint,h={[u]:1,[c]:0,[d]:0,[p]:-1};function g(e,t,r,o){const a=t.config?.localeInfo??e.config.localeInfo,l=t.config?.refStyle??e.config.refStyle,u=e.config.mathpack,c=new s.TokenSeq(r,o),d=(0,i.runFormulaParser)(a,u,l,t.lexicalKind,t.originGridCell.value,t.contextNames,t.syntaxFeatures,c);return(0,n.success)(d)}},92749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListSep=void 0,t.makeState=function(e,t,r,n,o,s){return{localeInfo:e,mathpack:t,refStyle:r,lexicalKind:n,origin:o,syntaxFeatures:s,delim:{delimId:void 0,listSep:a.Union,stack:{[i.DelimId.Paren]:!1,[i.DelimId.Brace]:!1,[i.DelimId.Bracket]:!1}},tokenContext:i.TokenContext.Normal,cellRefMustBeCellRefNode:!1,label:1,spans:[]}},t.getNodeSpan=function(e,t){const r=e.spans[t.label];if(null==r){const e=`calc.parse.getNodeSpan: internal error: expected node to have a span; given ${(0,n.anonymize)(t)}`;(0,n.assertFalse)(e)}return r},t.getSpan=function(e,t){const r=e.spans[t];return(0,n.assertTrue)("calc.parse.getSpan: internal error: expected label to have a span",null!=r),r},t.addWhitespace=l,t.addSpan=u,t.withDelim=function(e,t,r,n){return c((n=>{const{delimId:o,listSep:i,stack:a}=n.delim,s=n.tokenContext;return n.delim.delimId=e,n.delim.listSep=t,n.delim.stack={...a,[e]:!0},n.tokenContext=r,{oldDelimId:o,oldListSep:i,oldStack:a,oldTokenContext:s}}),((e,{oldDelimId:t,oldListSep:r,oldStack:n,oldTokenContext:o})=>{e.delim.delimId=t,e.delim.listSep=r,e.delim.stack=n,e.tokenContext=o}),n)},t.withTokenContext=function(e,t){return c((t=>{const r=t.tokenContext;return t.tokenContext=e,r}),((e,t)=>{e.tokenContext=t}),t)},t.cellRefMustBeCellRefNode=function(e){return c((e=>{const t=e.cellRefMustBeCellRefNode;return e.cellRefMustBeCellRefNode=!0,t}),((e,t)=>{e.cellRefMustBeCellRefNode=t}),e)};const n=r(52123),o=r(85882),i=r(51376);var a;!function(e){e[e.Union=1]="Union",e[e.Arg=2]="Arg"}(a||(t.ListSep=a={}));const s=[];function l(e,t){const r="string"==typeof t?s:t.filter(i.isCommentToken);return["string"==typeof t?t:t.map((e=>e.chars)).join(""),r.length>0?r.map((t=>function(e,t){const r=u(e,t.start,t.start+t.chars.length,"","");return t.kind===i.TokenKind.SingleLineComment?(0,o.singleLineComment)(t.chars,r):(0,o.multiLineComment)(t.chars,t.isClosed,r)}(e,t))):void 0]}function u(e,t,r,n,i){const a=e.label;e.label+=1;const[s,u]=l(e,n),[c,d]=l(e,i);return e.spans[a]=(0,o.formulaSpan)(t,r,s,c,u,d),a}function c(e,t,r){return(n,o,i,a,s)=>{const l=e(i);return r(n,o,i,((e,r)=>(t(i,l),a(e,r))),(()=>(t(i,l),s)))}}},58301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonKind=void 0,t.createParseGlobals=function(e){return{config:e}},t.parseLocals=function(e,t,r,o,i){return{config:r??void 0,lexicalKind:e,originGridCell:(0,n.success)(t),contextNames:o,syntaxFeatures:i}},t.notFormulaString=function(e){return{kind:t.ReasonKind.NotFormulaString,message:e}};const n=r(52123),o=r(85882);var i;!function(e){e.NotFormulaString="NotFormulaString"}(i||(i={})),t.ReasonKind={...o.ReasonKind,...i}},51376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poundOperatorToken=t.atOperatorToken=t.rangeOperatorToken=t.geOperatorToken=t.leOperatorToken=t.neOperatorToken=t.gtOperatorToken=t.ltOperatorToken=t.eqOperatorToken=t.concatOperatorToken=t.percentOperatorToken=t.powOperatorToken=t.divOperatorToken=t.mulOperatorToken=t.subOperatorToken=t.addOperatorToken=t.specialRefToken=t.assignSepToken=t.dotSepToken=t.qualSepToken=t.rowSepToken=t.colSepToken=t.listSepToken=t.rightSQuoteToken=t.rightBraceToken=t.rightBracketToken=t.rightParenToken=t.leftSQuoteToken=t.leftBraceToken=t.leftBracketToken=t.leftParenToken=t.identToken=t.multiLineCommentToken=t.singleLineCommentToken=t.escapeToken=t.unexpectedToken=t.spacesToken=t.endToken=t.badErrorOper=t.badNumberOper=t.TokenOperKind=t.SepId=t.DelimId=t.TokenKind=t.TokenContext=void 0,t.isBadNumberOper=function(e){return e.kind===g.BadNumber},t.isNumberLikeOper=m,t.isBadErrorOper=function(e){return e.kind===g.BadError},t.cellRefA1Token=function(e,t,r,n){return b(e,t,(null==r||"object"==typeof r&&r.kind===o.PosKind.Rel)&&(null==n||"object"==typeof n&&n.kind===o.PosKind.Rel),r,n,o.RefStyle.A1,!1)},t.cellRefR1C1Token=function(e,t,r,n,i=!1){return b(e,t,!(r!==o.SpecialPos.RCNoNum&&null!=r&&r.kind!==o.PosKind.Abs||n!==o.SpecialPos.RCNoNum&&null!=n&&n.kind!==o.PosKind.Abs),r,n,o.RefStyle.R1C1,i)},t.literalToken=y,t.identOrBooleanToken=function(e,r,n){return 0===e.stringCompareCI(e.falseName,n)?y(r,n,o.falseOper):0===e.stringCompareCI(e.trueName,n)?y(r,n,o.trueOper):(0,t.identToken)(r,n)},t.operatorToken=S,t.isDotSepToken=function(e){return e.kind===d.Sep&&e.value===h.Dot},t.isListSepToken=function(e){return e.kind===d.Sep&&e.value===h.List},t.isRangeOpToken=function(e){return e.kind===d.Operator&&e.value===o.OperatorId.Range},t.isAtOpToken=function(e){return e.kind===d.Operator&&e.value===o.OperatorId.At},t.isRefErrorToken=function(e){return e.kind===d.Literal&&e.oper.kind===o.OperKind.Error&&e.oper.type===o.ErrorType.REF},t.isLeftBracketToken=function(e){return e.kind===d.Left&&e.value===p.Bracket},t.isRightBracketToken=function(e){return e.kind===d.Right&&e.value===p.Bracket},t.isBracketToken=function(e){return(e.kind===d.Left||e.kind===d.Right)&&e.value===p.Bracket},t.isCommentToken=function(e){return e.kind===d.SingleLineComment||e.kind===d.MultiLineComment},t.isWhitespaceToken=function(e){return e.kind===d.Spaces||e.kind===d.SingleLineComment||e.kind===d.MultiLineComment};const n=r(52123),o=r(85882),{codePointAsterisk:i,codePointMinusSign:a,codePointPlusSign:s,codePointSlash:l,codePointSpace:u}=n.codePoint;var c,d,p,h,g;function m(e){return e.kind===g.BadNumber||e.kind===o.OperKind.Number}function f(e,t,r,n){return{kind:e,start:t,chars:r,isIdentContinue:n}}function v(e,t,r,n){return{kind:e,start:t,chars:r,isIdentContinue:!1,value:n}}function b(e,t,r,n,o,i,a){return{kind:d.CellRef,start:e,chars:t,isIdentContinue:r,row:n,col:o,refStyle:i,isBadLocale:a}}function y(e,t,r,c=!0){const p=r.kind===o.OperKind.Boolean||m(r)&&function(e){for(const t of(0,n.codePointIterator)(e))if(t===s||t===a||t===i||t===u||t===l)return!1;return!0}(t);return{kind:d.Literal,start:e,chars:t,isIdentContinue:p,oper:r,hasRight:c}}function S(e,t,r){return{kind:d.Operator,start:e,chars:t,isIdentContinue:!1,value:r}}function C(e){const t=o.operatorStrings[e];if(null==t)throw new Error(`operatorTokenMaker: invalid operator ${e}`);return r=>S(r,t,e)}!function(e){e[e.Normal=0]="Normal",e[e.InParen=1]="InParen",e[e.InArray=2]="InArray",e[e.InStructRef=3]="InStructRef",e[e.InQuotedQual=4]="InQuotedQual",e[e.InFieldRef=5]="InFieldRef"}(c||(t.TokenContext=c={})),function(e){e[e.End=1]="End",e[e.Left=2]="Left",e[e.Right=3]="Right",e[e.Sep=4]="Sep",e[e.Operator=5]="Operator",e[e.Spaces=6]="Spaces",e[e.Ident=7]="Ident",e[e.CellRef=8]="CellRef",e[e.Literal=9]="Literal",e[e.SpecialRef=10]="SpecialRef",e[e.Unexpected=11]="Unexpected",e[e.Escape=12]="Escape",e[e.SingleLineComment=13]="SingleLineComment",e[e.MultiLineComment=14]="MultiLineComment"}(d||(t.TokenKind=d={})),function(e){e[e.Paren=1]="Paren",e[e.Bracket=2]="Bracket",e[e.Brace=3]="Brace",e[e.SQuote=4]="SQuote"}(p||(t.DelimId=p={})),function(e){e[e.List=1]="List",e[e.Row=2]="Row",e[e.Col=3]="Col",e[e.Qual=4]="Qual",e[e.Dot=5]="Dot",e[e.Assign=6]="Assign"}(h||(t.SepId=h={})),function(e){e.BadNumber="BadNumber",e.BadError="BadError"}(g||(t.TokenOperKind=g={})),t.badNumberOper={kind:g.BadNumber},t.badErrorOper={kind:g.BadError},t.endToken=e=>f(d.End,e,"",!1),t.spacesToken=(e,t)=>f(d.Spaces,e,t,!1),t.unexpectedToken=(e,t)=>f(d.Unexpected,e,t,!1),t.escapeToken=(e,t)=>f(d.Escape,e,t,!1),t.singleLineCommentToken=(e,t)=>f(d.SingleLineComment,e,t,!1),t.multiLineCommentToken=(e,t,r)=>({kind:d.MultiLineComment,start:e,chars:t,isIdentContinue:!1,isClosed:r}),t.identToken=(e,t)=>f(d.Ident,e,t,!0),t.leftParenToken=e=>v(d.Left,e,"(",p.Paren),t.leftBracketToken=(e,t)=>v(d.Left,e,t,p.Bracket),t.leftBraceToken=(e,t)=>v(d.Left,e,t,p.Brace),t.leftSQuoteToken=e=>v(d.Left,e,"'",p.SQuote),t.rightParenToken=e=>v(d.Right,e,")",p.Paren),t.rightBracketToken=(e,t)=>v(d.Right,e,t,p.Bracket),t.rightBraceToken=(e,t)=>v(d.Right,e,t,p.Brace),t.rightSQuoteToken=e=>v(d.Right,e,"'",p.SQuote),t.listSepToken=(e,t)=>v(d.Sep,e,t,h.List),t.colSepToken=(e,t)=>v(d.Sep,e,t,h.Col),t.rowSepToken=(e,t)=>v(d.Sep,e,t,h.Row),t.qualSepToken=e=>v(d.Sep,e,"!",h.Qual),t.dotSepToken=e=>v(d.Sep,e,".",h.Dot),t.assignSepToken=e=>v(d.Sep,e,":=",h.Assign),t.specialRefToken=(e,t,r)=>v(d.SpecialRef,e,t,r),t.addOperatorToken=C(o.OperatorId.Add),t.subOperatorToken=C(o.OperatorId.Sub),t.mulOperatorToken=C(o.OperatorId.Mul),t.divOperatorToken=C(o.OperatorId.Div),t.powOperatorToken=C(o.OperatorId.Pow),t.percentOperatorToken=C(o.OperatorId.Percent),t.concatOperatorToken=C(o.OperatorId.Concat),t.eqOperatorToken=C(o.OperatorId.Eq),t.ltOperatorToken=C(o.OperatorId.Lt),t.gtOperatorToken=C(o.OperatorId.Gt),t.neOperatorToken=C(o.OperatorId.Ne),t.leOperatorToken=C(o.OperatorId.Le),t.geOperatorToken=C(o.OperatorId.Ge),t.rangeOperatorToken=C(o.OperatorId.Range),t.atOperatorToken=C(o.OperatorId.At),t.poundOperatorToken=C(o.OperatorId.Pound)},65544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenSeq=void 0,t.tokenizeFormula=function(e,t,r,s,l,u,c){return function(e,t,r,o,s,l,u){const c=[],d=[];let p=l;const h=(0,a.makeProgressAsserter)("calc.parse.tokenize_Eager",p);for(;p<s.length;){h(p);const a=G({localeInfo:e,mathpack:t,refStyle:r,origin:o,syntaxFeatures:u,tokenContext:d.length>0?d[d.length-1].context:i.TokenContext.Normal},c,s,p);if(c.push(a),p=A(a),a.kind===i.TokenKind.Left&&a.value===i.DelimId.Paren)d.push({delim:i.DelimId.Paren,context:i.TokenContext.InParen,lastParen:d.length,lastBrace:d.length>0?d[d.length-1].lastBrace:void 0});else if(a.kind===i.TokenKind.Right&&a.value===i.DelimId.Paren){const e=d.length>0?d[d.length-1].lastParen:void 0;void 0!==e&&(d.length=e)}else if(a.kind===i.TokenKind.Left&&a.value===i.DelimId.Brace)d.push({delim:i.DelimId.Brace,context:i.TokenContext.InArray,lastParen:d.length>0?d[d.length-1].lastParen:void 0,lastBrace:d.length});else if(a.kind===i.TokenKind.Right&&a.value===i.DelimId.Brace){const e=d.length>0?d[d.length-1].lastBrace:void 0;void 0!==e&&(d.length=e)}else if(a.kind===i.TokenKind.Left&&a.value===i.DelimId.Bracket){c.pop(),(0,n.safePush)(c,B(e,t,r,o,s,a.start,u));const i=c[c.length-1];p=A(i)}else if(a.kind===i.TokenKind.Left&&a.value===i.DelimId.SQuote){c.pop(),(0,n.safePush)(c,L(e,t,r,o,s,a.start,u));const i=c[c.length-1];p=A(i)}else if(a.kind===i.TokenKind.End)return c}return c.push((0,i.endToken)(p)),c}(e,t,r,s,l,u,{[o.SyntaxFeature.Comments]:!0===c?.[o.SyntaxFeature.Comments],[o.SyntaxFeature.Statements]:!0===c?.[o.SyntaxFeature.Statements]})};const n=r(52123),o=r(85882),i=r(51376),a=r(43085),{codePointAsterisk:s,codePointAtSign:l,codePointColon:u,codePointDoubleQuote:c,codePointExclamationMark:d,codePointHash:p,codePointLeftParen:h,codePointQuestionMark:g,codePointRightParen:m,codePointSingleQuote:f,codePointFullStop:v,codePointDigitZero:b,codePointSlash:y,codePointMinusSign:S,codePointSpace:C,codePointInvertedExclamationMark:T,codePointInvertedQuestionMark:k,codePointLeftSingleQuotationMark:F,codePointRightSingleQuotationMark:E}=n.codePoint,A=e=>e.start+e.chars.length;let I;const x={"+":i.addOperatorToken,"-":i.subOperatorToken,"*":i.mulOperatorToken,"/":i.divOperatorToken,"^":i.powOperatorToken,"%":i.percentOperatorToken,"&":i.concatOperatorToken,"=":i.eqOperatorToken,"<":i.ltOperatorToken,">":i.gtOperatorToken,":":i.rangeOperatorToken,".":i.dotSepToken,"@":i.atOperatorToken,"#":i.poundOperatorToken},w={"<>":i.neOperatorToken,"<=":i.leOperatorToken,">=":i.geOperatorToken};function P(e,t){if(t<e.length-1){const r=w[e.substring(t,t+2)];if(void 0!==r)return r(t)}const r=x[e.charAt(t)];return void 0!==r?r(t):(0,n.assertFalse)("calc.parse.tokenizeOperator: internal error: expected operator")}const R=(e,t)=>e.charCodeAt(t)!==c,D=(e,t)=>e.charCodeAt(t)===c;function _(e,t,r){const i=t.charCodeAt(r);return!((0,o.isSpace)(i)||i===f||i===p||i===u||i===l||(0,n.stringStartsWith)(t,e.listSeparator,r)||(0,n.stringStartsWith)(t,e.leftBracket,r)||(0,n.stringStartsWith)(t,e.rightBracket,r))}const N=(e,t)=>(0,o.isSpace)((0,n.stringCodePointAt)(e,t)),O=(e,t)=>!(0,o.isLineBreak)((0,n.stringCodePointAt)(e,t)),M=(e,t)=>!(t+1<e.length&&e.charCodeAt(t)===s&&e.charCodeAt(t+1)===y);function B(e,t,r,n,o,s,l){const u=[];let c=0,d=s;const p=(0,a.makeProgressAsserter)("calc.parse.tokenizeBracketedRef_Eager",d);for(;d<o.length;){p(d);const a=G({localeInfo:e,mathpack:t,refStyle:r,origin:n,syntaxFeatures:l,tokenContext:i.TokenContext.InStructRef},u,o,d);if(u.push(a),d=A(a),a.kind===i.TokenKind.Right&&a.value===i.DelimId.Bracket&&(c-=1,0===c))break;a.kind===i.TokenKind.Left&&a.value===i.DelimId.Bracket&&c<2&&(c+=1)}return u}function L(e,t,r,n,o,s,l){const u=[(0,i.leftSQuoteToken)(s)];let c=A(u[0]);const d=(0,a.makeProgressAsserter)("calc.parse.tokenizeQuotedQualifier_Eager",c);for(;c<o.length;){d(c);const a=G({localeInfo:e,mathpack:t,refStyle:r,origin:n,syntaxFeatures:l,tokenContext:i.TokenContext.InQuotedQual},u,o,c);if(u.push(a),c=A(a),a.kind===i.TokenKind.Right&&a.value===i.DelimId.SQuote)break}return u}function K(e,t,r){return t.charCodeAt(r)!==f&&!(0,n.stringStartsWith)(t,e.leftBracket,r)&&!(0,n.stringStartsWith)(t,e.rightBracket,r)}const W=e=>!(0,n.stringStartsWith)(e.statementSeparator,e.columnSeparator)&&!(0,n.stringStartsWith)(e.statementSeparator,e.rowSeparator),H=e=>!(0,n.stringStartsWith)(e.statementSeparator,e.listSeparator)&&!(0,n.stringStartsWith)(e.statementSeparator,e.decimalSeparator);function G(e,t,r,n){const o=z(e,t,r,n);if(o.kind!==i.TokenKind.Unexpected)return o;const s=(0,a.makeProgressAsserter)("calc.parse.tokenize",n);let l=A(o);for(;l<r.length;){s(l);const n=z(e,t,r,l);if(n.kind!==i.TokenKind.Unexpected)break;l=A(n)}return(0,i.unexpectedToken)(o.start,r.substring(o.start,l))}function z(e,t,r,A){const{localeInfo:B,mathpack:L,refStyle:G,origin:z,syntaxFeatures:U}=e,{tokenContext:V}=e;if(V===i.TokenContext.InStructRef)return function(e,t,r,s){const c=(t,r)=>_(e,t,r),d=(0,n.stringCodePointAt)(t,r);if(s.length>0&&s[s.length-1].kind===i.TokenKind.Escape&&((t,r)=>!_(e,t,r))(t,r))return(0,i.identToken)(r,t.substring(r,r+(0,n.numCodeUnits)(d)));if(d===l)return(0,i.atOperatorToken)(r);if(d===p){const n=function(e,t,r){for(let n=1;n<e.specialRefNames.length;n+=1){const o=e.specialRefNames[n];if(null==o)continue;if(r+o.length>t.length)continue;const a=t.substring(r,r+o.length);if(0===e.stringCompareCI(o,a))return(0,i.specialRefToken)(r,a,n)}}(e,t,r);if(void 0!==n)return n}if(d===f)return(0,i.escapeToken)(r,"'");if((0,n.stringStartsWith)(t,e.rightBracket,r))return(0,i.rightBracketToken)(r,e.rightBracket);if(c(t,r)){const e=(0,a.scanWhile)(t,r,c);return(0,i.identToken)(r,e)}if((0,o.isSpace)(d)){const e=(0,a.scanWhile)(t,r,N);return(0,i.spacesToken)(r,e)}return d===u?(0,i.rangeOperatorToken)(r):(0,n.stringStartsWith)(t,e.listSeparator,r)?(0,i.listSepToken)(r,e.listSeparator):(0,n.stringStartsWith)(t,e.leftBracket,r)?(0,i.leftBracketToken)(r,e.leftBracket):(0,i.unexpectedToken)(r,t.substring(r,r+(0,n.numCodeUnits)(d)))}(B,r,A,t);if(V===i.TokenContext.InQuotedQual)return function(e,t,r,o){const l=(t,r)=>function(e,t,r){const o=t.charCodeAt(r);return o!==f&&o!==u&&o!==s&&o!==g&&!(0,n.stringStartsWith)(t,e.leftBracket,r)&&!(0,n.stringStartsWith)(t,e.rightBracket,r)}(e,t,r),c=(e,t)=>e.charCodeAt(t)===f,d=(0,n.stringCodePointAt)(t,r);if(o.length>0&&o[o.length-1].kind===i.TokenKind.Escape&&c(t,r))return(0,i.identToken)(r,t.substring(r,r+(0,n.numCodeUnits)(d)));if(d===f)return r+1<t.length&&c(t,r+1)?(0,i.escapeToken)(r,"'"):(0,i.rightSQuoteToken)(r);if(d===u)return(0,i.rangeOperatorToken)(r);if((0,n.stringStartsWith)(t,e.leftBracket,r))return(0,i.leftBracketToken)(r,e.leftBracket);if((0,n.stringStartsWith)(t,e.rightBracket,r))return(0,i.rightBracketToken)(r,e.rightBracket);if(l(t,r)){const e=(0,a.scanWhile)(t,r,l);return(0,i.identToken)(r,e)}return(0,i.unexpectedToken)(r,t.substring(r,r+(0,n.numCodeUnits)(d)))}(B,r,A,t);if(V===i.TokenContext.InFieldRef)return function(e,t,r,o){const s=(t,r)=>K(e,t,r),l=(t,r)=>!K(e,t,r),u=(0,n.stringCodePointAt)(t,r);if(o.length>0&&o[o.length-1].kind===i.TokenKind.Escape&&l(t,r))return(0,i.identToken)(r,t.substring(r,r+(0,n.numCodeUnits)(u)));if(u===f&&r+1<t.length&&l(t,r+1))return(0,i.escapeToken)(r,"'");if((0,n.stringStartsWith)(t,e.rightBracket,r))return(0,i.rightBracketToken)(r,e.rightBracket);if(s(t,r)){const e=(0,a.scanWhile)(t,r,s);return(0,i.identToken)(r,e)}return(0,i.unexpectedToken)(r,t.substring(r,r+(0,n.numCodeUnits)(u)))}(B,r,A,t);const j=U[o.SyntaxFeature.Comments],q=U[o.SyntaxFeature.Statements];{const e=function(e,t,r,n,a){const s=(0,o.parseCellRef)(e,t,r,n,a);if(null!=s){const e=s.i,t=n.substring(a,e);return s.refStyle===o.RefStyle.A1?(0,i.cellRefA1Token)(a,t,s.row,s.col):(0,i.cellRefR1C1Token)(a,t,s.row,s.col,s.enLocale)}}(B,G,z,r,A);if(void 0!==e)return e}const $=(0,n.stringCodePointAt)(r,A),Q=V===i.TokenContext.InArray,X=V===i.TokenContext.Normal;if(function(e,t,r,o){let a=o.length-1,s=o[a];if(null==s)return!0;if(s.kind===i.TokenKind.Sep&&s.value===i.SepId.Dot)return!1;if((0,n.stringStartsWith)(t,e.decimalSeparator,r)){for(;null!=s&&(0,i.isWhitespaceToken)(s);)s=o[--a];return null==s||s.kind!==i.TokenKind.Ident&&s.kind!==i.TokenKind.CellRef&&s.kind!==i.TokenKind.Right&&!(s.kind===i.TokenKind.Literal&&!(0,i.isNumberLikeOper)(s.oper))}return e.isNumeral((0,n.stringCodePointAt)(t,r))}(B,r,A,t)){const e=function(e,t,r,n){const a=(0,o.parseNumberLiteral)(e,t,r,n,!1,!1,!1);if(void 0===a)return;const{value:s,i:l}=a,u=r.substring(n,l);return(0,i.literalToken)(n,u,s??i.badNumberOper,!0)}(B,L,r,A);if(void 0!==e)return e}if($===c)return function(e,t){const[r,n]=(0,a.scanEscapedWhile)(e,t+1,R,'"',D),s=n<e.length,l=e.substring(t,s?n+1:n);return(0,i.literalToken)(t,l,(0,o.stringOper)(r),s)}(r,A);if(B.isIdentContinue($)&&!(0,n.stringStartsWith)(r,B.listSeparator,A)&&(!Q||!(0,n.stringStartsWith)(r,B.columnSeparator,A))&&(!Q||!(0,n.stringStartsWith)(r,B.rowSeparator,A))){const e=(0,a.scanWhile)(r,A,((e,t)=>B.isIdentContinue((0,n.stringCodePointAt)(e,t))));return(0,i.identOrBooleanToken)(B,A,e)}if($===p){const e=function(e,t,r){for(let n=1;n<e.errorNames.length;n+=1){const a=e.errorNames[n];if(null==a)continue;if(r+a.length>t.length)continue;const s=t.substring(r,r+a.length);if(0===e.stringCompareCI(a,s))return(0,i.literalToken)(r,s,(0,o.errorOper)(n))}let a=r+1,s=!1;for(;a<t.length;){const o=(0,n.stringCodePointAt)(t,a);if(a!==r+1||o!==T&&o!==k)if(!(a>r+1)||o!==y&&o!==S&&o!==C||s)if(a>r+1&&o===v)a+=1;else{if(a>r+1&&o===b){a+=1,a<t.length&&t.charCodeAt(a)===d&&(a+=1);break}if(o===d||o===g){a!==r+1&&(a+=1);break}if(!e.isIdentContinue(o)||e.isNumeral(o)){if(o!==F&&o!==E)break;a+=1}else a+=(0,n.numCodeUnits)(o)}else s=!0,a+=1;else a+=1}for(;a>r+1&&t.charCodeAt(a-1)===C;)--a;if(a>r+1){const e=t.substring(r,a);return(0,i.literalToken)(r,e,i.badErrorOper)}}(B,r,A);return void 0!==e?e:P(r,A)}if((0,o.isSpace)($)){const e=(0,a.scanWhile)(r,A,N);return(0,i.spacesToken)(A,e)}if($===h)return(0,i.leftParenToken)(A);if($===m)return(0,i.rightParenToken)(A);if((0,n.stringStartsWith)(r,B.leftBrace,A))return(0,i.leftBraceToken)(A,B.leftBrace);if((0,n.stringStartsWith)(r,B.rightBrace,A))return(0,i.rightBraceToken)(A,B.rightBrace);if((0,n.stringStartsWith)(r,B.leftBracket,A))return(0,i.leftBracketToken)(A,B.leftBracket);if((0,n.stringStartsWith)(r,B.rightBracket,A))return(0,i.rightBracketToken)(A,B.rightBracket);if(Q){if(q&&(0,n.stringStartsWith)(r,B.statementSeparator,A)&&W(B))return(0,i.endToken)(A);if((0,n.stringStartsWith)(r,B.columnSeparator,A))return(0,i.colSepToken)(A,B.columnSeparator);if((0,n.stringStartsWith)(r,B.rowSeparator,A))return(0,i.rowSepToken)(A,B.rowSeparator)}if(q&&(0,n.stringStartsWith)(r,B.statementSeparator,A)&&(H(B)||X))return(0,i.endToken)(A);if((0,n.stringStartsWith)(r,B.listSeparator,A))return(0,i.listSepToken)(A,B.listSeparator);if($===d)return(0,i.qualSepToken)(A);if($===f)return(0,i.leftSQuoteToken)(A);if($===y&&A+1<r.length&&j){const e=r.charCodeAt(A+1);if(e===y){const e=(0,a.scanWhile)(r,A,O);return(0,i.singleLineCommentToken)(A,e)}if(e===s){const e=(0,a.scanWhile)(r,A+2,M),t=A+2+e.length,o=(0,n.stringStartsWith)(r,"*/",t);return(0,n.assertTrue)("calc.parse.tokenize: /**/",o||t===r.length),(0,i.multiLineCommentToken)(A,"/*"+e+(o?"*/":""),o)}}return function(e){if(!I){I=(0,n.makeStringMap)();for(const e of Object.getOwnPropertyNames(x))I[e.charCodeAt(0)]=!0;for(const e of Object.getOwnPropertyNames(w))I[e.charCodeAt(0)]=!0}return!0===I[e]}($)?(0,n.stringStartsWith)(r,":=",A)&&(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaDefaultParameters)?(0,i.assignSepToken)(A):P(r,A):(0,i.unexpectedToken)(A,r.substring(A,A+(0,n.numCodeUnits)($)))}t.TokenSeq=class{at(e,t){const{preceding:r,precedingContext:o}=this;if(e<r.length&&o[e]!==t.tokenContext)for(;e<r.length;)r.pop(),o.pop();if(e>r.length)return(0,n.assertFalse)("calc.parse.TokenSeq: index out of bounds");if(e===r.length){if(e>0&&r[e-1].kind===i.TokenKind.End)return;const{formula:a,i0:s}=this,l=0===e?s:A(r[e-1]),u=l===a.length?(0,i.endToken)(l):G(t,r,a,l);return u.start!==l&&(0,n.assertFalse)("calc.parse.TokenSeq: tok start"),u.kind===i.TokenKind.End!=(0===u.chars.length)&&(0,n.assertFalse)("calc.parse.TokenSeq: tok len"),r.push(u),o.push(t.tokenContext),u}return r[e]}constructor(e,t){this.formula=e,this.i0=t,this.preceding=[],this.precedingContext=[]}}},43085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeProgressAsserter=function(e,t){let r=t-1;return function(t){if(t<=r){const r=`${e}: internal error: no progress made at index ${t}`;return(0,n.assertFalse)(r)}r=t}},t.scanWhile=function(e,t,r){let o=t;for(;o<e.length&&r(e,o);)o+=(0,n.numCodeUnits)((0,n.stringCodePointAt)(e,o));return e.substring(t,o)},t.scanEscapedWhile=function(e,t,r,i,a){const s=[];let l=t,u=t;for(;u<e.length;){const t=o(e,u,r,i,a);if(0===t)break;2===t&&(l!==u&&s.push(e.substring(l,u)),l=u+i.length,u+=i.length),u+=(0,n.numCodeUnits)((0,n.stringCodePointAt)(e,u))}return l!==u&&s.push(e.substring(l,u)),[s.join(""),u]};const n=r(52123);function o(e,t,r,o,i){return r(e,t)?1:(0,n.stringStartsWith)(e,o,t)&&t+o.length<e.length&&i(e,t+o.length)?2:0}},62845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBracketedTokens=t.parseIdentContinue=t.parseEnd=t.parseEscape=t.parseAtOp=t.parseRangeOp=t.parseDotSepTokenNotFollowedByLeftBracket=t.parseRightBracket=t.parseLeftBracket=t.parseRightSQuote=t.parseLeftSQuote=t.parseRightBrace=t.parseLeftBrace=t.parseRightParen=t.parseLeftParen=t.parseAssignToken=t.parseDotSepToken=t.parseQualSep=t.parseColSep=t.parseRowSep=t.parseListSep=t.parseCharIndex=t.parseSpacesOnly=t.parseWhitespace=void 0,t.isDotSepToken=s,t.isListSepToken=function(e){return e.kind===a.TokenKind.Sep&&e.value===a.SepId.List},t.isRangeOpToken=l,t.isAtOpToken=u,t.isRefErrorToken=function(e){return e.kind===a.TokenKind.Literal&&e.oper.kind===o.OperKind.Error&&e.oper.type===o.ErrorType.REF},t.isLeftBracketToken=c,t.isRightBracketToken=function(e){return e.kind===a.TokenKind.Right&&e.value===a.DelimId.Bracket},t.isBracketToken=d,t.isCommentToken=function(e){return e.kind===a.TokenKind.SingleLineComment||e.kind===a.TokenKind.MultiLineComment},t.isWhitespaceToken=p;const n=r(52123),o=r(85882),i=r(52672),a=r(28050);function s(e){return e.kind===a.TokenKind.Sep&&e.value===a.SepId.Dot}function l(e){return e.kind===a.TokenKind.Operator&&e.value===o.OperatorId.Range}function u(e){return e.kind===a.TokenKind.Operator&&e.value===o.OperatorId.At}function c(e){return e.kind===a.TokenKind.Left&&e.value===a.DelimId.Bracket}function d(e){return(e.kind===a.TokenKind.Left||e.kind===a.TokenKind.Right)&&e.value===a.DelimId.Bracket}function p(e){return e.kind===a.TokenKind.Spaces||e.kind===a.TokenKind.SingleLineComment||e.kind===a.TokenKind.MultiLineComment}function h(e){return(0,i.take)(((t,r)=>r.kind===a.TokenKind.Sep&&r.value===e?r:void 0))}function g(e){return(0,i.take)(((t,r)=>r.kind===a.TokenKind.Left&&r.value===e?r:void 0))}function m(e){return(0,i.take)(((t,r)=>r.kind===a.TokenKind.Right&&r.value===e?r:void 0))}t.parseWhitespace=(0,i.many)((0,i.take)(((e,t)=>p(t)?t:void 0))),t.parseSpacesOnly=(0,i.opt)((0,i.take)(((e,t)=>t.kind===a.TokenKind.Spaces?t.chars:void 0)),""),t.parseCharIndex=function(e,t,r,o,i){const a=e[t];if(null==a){const r=`calc.parse.pStart: internal error: expected token at ${t} in ${(0,n.anonymize)(e)}`;return(0,n.assertFalse)(r)}return o(a.start,t)},t.parseListSep=h(a.SepId.List),t.parseRowSep=h(a.SepId.Row),t.parseColSep=h(a.SepId.Col),t.parseQualSep=h(a.SepId.Qual),t.parseDotSepToken=h(a.SepId.Dot),t.parseAssignToken=h(a.SepId.Assign),t.parseLeftParen=g(a.DelimId.Paren),t.parseRightParen=m(a.DelimId.Paren),t.parseLeftBrace=g(a.DelimId.Brace),t.parseRightBrace=m(a.DelimId.Brace),t.parseLeftSQuote=g(a.DelimId.SQuote),t.parseRightSQuote=m(a.DelimId.SQuote),t.parseLeftBracket=g(a.DelimId.Bracket),t.parseRightBracket=m(a.DelimId.Bracket),t.parseDotSepTokenNotFollowedByLeftBracket=(0,i.takePeek)(((e,t,r)=>s(t)&&!c(r)?t:void 0)),t.parseRangeOp=(0,i.take)(((e,t)=>l(t)?t:void 0)),t.parseAtOp=(0,i.take)(((e,t)=>u(t)?t:void 0)),t.parseEscape=(0,i.take)(((e,t)=>t.kind===a.TokenKind.Escape?t:void 0)),t.parseEnd=(0,i.take)(((e,t)=>t.kind===a.TokenKind.End?t:void 0)),t.parseIdentContinue=(0,i.apply)((0,i.many1)((0,i.take)(((e,t)=>t.isIdentContinue?t:void 0))),((e,t)=>{const r=t[0];return 1===t.length?r:(0,a.identToken)(r.start,t.map((e=>e.chars)).join(""))}));const f=(0,i.take)(((e,t)=>d(t)||t.kind===a.TokenKind.End?void 0:t)),v=(0,i.lazy)((()=>(0,i.flatten)((0,i.many)((0,i.any)((0,i.many1)(f),(0,i.concat)((0,i.tuple)(t.parseLeftBracket),v,(0,i.opt)((0,i.tuple)(t.parseRightBracket),[])))))));t.parseBracketedTokens=(0,i.apply)((0,i.tuple)(t.parseLeftBracket,v,t.parseCharIndex,(0,i.opt)(t.parseRightBracket,void 0)),((e,[t,r,n,o])=>(r.push((0,a.endToken)(n)),[r,void 0!==o])))},90685:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseFieldRef=void 0,t.isUnbracketedFieldName=h;const n=r(52123),o=r(85882),i=r(62845),a=r(34583),s=r(52672),l=r(74803),u=r(28050),{codePointQuestionMark:c,codePointBackslash:d,codePointUnderscore:p}=n.codePoint;function h(e,t){function r(t){return t!==c&&t!==d&&e.isIdentContinue(t)}if(0===t.length)return!1;const o=(0,n.stringCodePointAt)(t,0);if((i=o)===p||i===d||!e.isIdentStart(i)&&!e.isNumeral(i))return!1;var i;for(const e of(0,n.codePointIterator)(t,(0,n.numCodeUnits)(o)))if(!r(e))return!1;return!0}const g=(0,s.take)(((e,t)=>(0,i.isBracketToken)(t)||t.kind===u.TokenKind.Escape||t.kind===u.TokenKind.End?void 0:t.chars)),m=(0,s.take)(((e,t)=>t.kind!==u.TokenKind.Ident||t.chars!==e.localeInfo.leftBracket&&t.chars!==e.localeInfo.rightBracket&&"'"!==t.chars?void 0:t.chars)),f=(0,s.any)(g,(0,s.right)(i.parseEscape,m)),v=(0,s.apply)((0,s.tuple)((0,s.many)(f),i.parseEnd),((e,[t,r])=>t.join(""))),b=(0,s.applyTake)(i.parseBracketedTokens,((e,[t,r])=>{const i=(0,s.runParser)(v,t,0,e);if(!(0,n.isSuccess)(i))return;const a=t[0].start,u=t[t.length-1].start,c=i.value.output;if(c.length>255){const r=t.map((e=>e.chars)).join("");return[(0,o.badCharsNode)(o.BadType.FieldName,r,(0,l.addSpan)(e,a,u,"","")),!1,!0]}return[(0,o.identNode)(c,(0,l.addSpan)(e,a,u,"","")),!0,r]})),y=(0,s.apply)(i.parseIdentContinue,((e,t)=>{const r=t.start,n=t.start+t.chars.length;return!h(e.localeInfo,t.chars)||t.chars.length>255?[(0,o.badCharsNode)(o.BadType.FieldName,t.chars,(0,l.addSpan)(e,r,n,"","")),!1,!0]:[(0,o.identNode)(t.chars,(0,l.addSpan)(e,r,n,"","")),!1,!0]}));t.parseFieldRef=(0,s.apply)((0,s.tuple)(i.parseCharIndex,i.parseWhitespace,i.parseDotSepToken,(0,s.any)(y,b),i.parseCharIndex),((e,[t,r,n,[i,s,u],c])=>{const d=(0,l.addSpan)(e,n.start,c,r,""),p=(0,o.fieldRef)(i,s,u,!1,d);return(0,a.fieldRefTerm)(r.length>0,p,t,c)}))},31864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSpParam=t.parseFormula=void 0,t.runFormulaParser=function(e,t,r,i,a,s,l,c){const p=c.length-1;if(p<0){const e="calc.parse.runTokenParser: internal error: expected at least 1 token";return(0,n.assertFalse)(e)}if(c[p].kind!==h.TokenKind.End){const e=`calc.parse.runTokenParser: internal error: array[n] !== End in ${(0,n.anonymize)(c)}`;return(0,n.assertFalse)(e)}const m=(0,d.makeState)(e,t,r,i,a),f=(0,u.runParser)(g,c,0,m);if(!(0,n.isSuccess)(f)||f.value.index<p){const e=`calc.parse.runTokenParser: internal error: consumed ${(0,n.isSuccess)(f)?f.value.index:0} out of ${p} in ${(0,n.anonymize)(c)}`;return(0,n.assertFalse)(e)}const v=f.value.output,b=m.spans,y=(0,o.buildAnnotations)(e,v,s,void 0===l?void 0:{[o.SyntaxFeature.Comments]:!0===l[o.SyntaxFeature.Comments],[o.SyntaxFeature.Statements]:!0===l[o.SyntaxFeature.Statements]});return(0,o.formula)(v,b,y)};const n=r(52123),o=r(85882),i=r(62845),a=r(90685),s=r(21005),l=r(34583),u=r(52672),c=r(62955),d=r(74803),p=r(22616),h=r(28050),g=(0,u.apply)((0,u.tuple)(i.parseWhitespace,(0,u.lazy)((()=>t.parseFormula)),i.parseWhitespace),((e,[t,r,o])=>{const i=(0,d.getNodeSpan)(e,r);return(0,n.assertTrue)("calc.parse.parseSpFormula",!(i.pre.length>0&&t.length>0)),(0,n.assertTrue)("calc.parse.parseSpFormula",!(i.post.length>0&&o.length>0)),t.length>0&&([i.pre,i.preComments]=(0,d.addWhitespace)(e,t)),o.length>0&&([i.post,i.postComments]=(0,d.addWhitespace)(e,o)),r})),m=(0,u.apply)((0,u.tuple)(i.parseLeftParen,(0,d.withDelim)({delimId:h.DelimId.Paren,listSep:d.ListSep.Union},g),(0,u.opt)(i.parseRightParen,void 0),i.parseCharIndex),((e,[t,r,n,i])=>(0,o.parenNode)(r,void 0!==n,(0,d.addSpan)(e,t.start,i,"","")))),f=(0,u.many1)(g,(0,u.right)(i.parseColSep,g)),v=(0,u.many1)(f,(0,u.right)(i.parseRowSep,f)),b=(0,u.apply)((0,u.tuple)(i.parseLeftBrace,(0,d.withDelim)({delimId:h.DelimId.Brace,listSep:d.ListSep.Union},v),(0,u.opt)(i.parseRightBrace,void 0),i.parseCharIndex),((e,[t,r,n,i])=>(0,o.arrayNode)(r,void 0!==n,(0,d.addSpan)(e,t.start,i,"",""))));function y(e){return(0,u.takePeek)(((t,r,n)=>e(r)?(0,o.badCharsNode)(o.BadType.Unexpected,r.chars,(0,d.addSpan)(t,r.start,n.start,"","")):void 0))}const S=(0,u.apply)((0,u.tuple)(i.parseCharIndex,y(i.isLeftBracketToken),(0,d.withDelim)({delimId:h.DelimId.Bracket,listSep:d.ListSep.Union},g),(0,u.opt)(y(i.isRightBracketToken),void 0),i.parseCharIndex),((e,[t,r,n,i,a])=>{const s=[r,n];return null!=i&&s.push(i),(0,o.badSequenceNode)(o.BadType.Unexpected,s,(0,d.addSpan)(e,t,a,"",""))})),C=(0,u.takePeek)(((e,t,r)=>{switch(t.kind){case h.TokenKind.End:case h.TokenKind.Operator:case h.TokenKind.Spaces:case h.TokenKind.SingleLineComment:case h.TokenKind.MultiLineComment:return;case h.TokenKind.Sep:if(t.value===h.SepId.Dot)return;if(t.value===h.SepId.Qual||t.value===h.SepId.Assign)break;if(e.delim.delimId===h.DelimId.Brace||t.value!==h.SepId.Col&&t.value!==h.SepId.Row)return;break;case h.TokenKind.Right:if(t.value!==h.DelimId.SQuote&&e.delim.stack[t.value])return}return(0,o.badCharsNode)(o.BadType.Unexpected,t.chars,(0,d.addSpan)(e,t.start,r.start,"",""))})),T=(0,u.any)(c.parseRef,s.parseLiteral,m,b,a.parseFieldRef,p.parseStructRef,S,c.parseUnqualBadRef,C);function k(e){return(0,u.tuple)(i.parseLeftParen,(0,d.withDelim)({delimId:h.DelimId.Paren,listSep:d.ListSep.Arg},(0,u.apply)((0,u.many1)(e,(0,u.right)(i.parseListSep,e)),((e,t)=>t.map((e=>e.kind===o.NodeKind.Missing?(0,o.literalNode)(o.missingOper,!0,e.label):e))))),(0,u.opt)(i.parseRightParen,void 0),i.parseCharIndex)}const F=(0,u.apply)(k(g),((e,[t,r,n,o])=>(0,l.argsTerm)(r,void 0!==n,t.start,o))),E=(0,u.apply)(k((0,u.any)((0,u.lazy)((()=>t.parseSpParam)),g)),((e,[t,r,n,o])=>(0,l.lambdaArgsTerm)(r,void 0!==n,t.start,o))),A=(0,u.take)(((e,t)=>t.kind!==h.TokenKind.Operator||t.value!==o.OperatorId.Percent&&t.value!==o.OperatorId.Pound?void 0:t)),I=(0,u.take)(((e,t)=>t.kind===h.TokenKind.Operator||(0,i.isDotSepToken)(t)?t:function(e,t){return t.kind===h.TokenKind.Sep&&t.value===h.SepId.List&&e.delim.listSep===d.ListSep.Union?(0,h.operatorToken)(t.start,e.localeInfo.listSeparator,o.OperatorId.Union):void 0}(e,t))),x=(0,u.many)((0,u.take)(((e,t)=>(0,i.isWhitespaceToken)(t)?t:void 0))),w=(0,u.any)((0,u.concat)((0,u.bind)((0,u.any)(T,A),((e,t)=>{const r=(0,l.isWSFNode)(e.localeInfo,t);return r?.id===o.WorksheetFuncId.LAMBDA?(0,u.concat)((0,u.parseSucceed)([t]),(0,u.opt)((0,u.tuple)(E),[])):(0,u.parseSucceed)([t])})),(0,u.many)((0,u.any)(F,a.parseFieldRef,p.parseStructRef))),(0,u.tuple)(I)),P=(0,u.flatten)((0,u.many1)(w,(0,u.concat)(x,w)));t.parseFormula=(0,u.apply)((0,u.tuple)((0,u.opt)(P,void 0),i.parseCharIndex),((e,[t,r])=>{if(null==t){const t=(0,d.addSpan)(e,r,r,"","");return(0,o.missingNode)("",t)}const n=t;return n.push((0,h.endToken)(r)),(0,l.runOperatorPrecedenceParser)(e,n)}));const{codePointFullStop:R}=n.codePoint,D=(0,u.apply)((0,u.many1)((0,u.take)(((e,t)=>t.isIdentContinue||(0,i.isDotSepToken)(t)?t:void 0))),((e,t)=>{const r=t[0].start,i=t.map((e=>e.chars)).join(""),a=(0,d.addSpan)(e,r,r+i.length,"","");return function(e,t){if(!e.localeInfo.isIdentStart((0,n.stringCodePointAt)(t,0)))return!1;for(const r of(0,n.codePointIterator)(t))if(r!==R&&!e.localeInfo.isIdentContinue(r))return!1;const r=(0,o.parseCellRef)(e.localeInfo,e.refStyle,e.origin,t,0);if(void 0!==r&&r.i===t.length){const n=r.refStyle===o.RefStyle.A1?(0,h.cellRefA1Token)(0,t,r.row,r.col):(0,h.cellRefR1C1Token)(0,t,r.row,r.col,r.enLocale);if((0,c.isCompleteCellRefToken)(e,n))return!1}return!0}(e,i)?(0,o.identNode)(i,a):(0,o.badCharsNode)(o.BadType.ParamName,i,a)})),_=(0,u.applyTake)((0,u.tuple)(i.parseCharIndex,i.parseLeftBracket,i.parseCharIndex,i.parseSpacesOnly,(0,u.opt)(D,void 0),i.parseSpacesOnly,i.parseCharIndex,(0,u.opt)(i.parseRightBracket,void 0),i.parseCharIndex),((e,[t,r,n,i,a,s,l,u,c])=>{if(void 0!==a){const t=(0,d.getNodeSpan)(e,a);t.pre=i,t.post=s}const p=a??(0,o.missingNode)(i+s,(0,d.addSpan)(e,n,l,"",""));return(0,o.paramName)(p,!0,void 0!==u,(0,d.addSpan)(e,t,c,"",""))})),N=(0,u.applyTake)((0,u.tuple)(i.parseCharIndex,c.parseRef,i.parseCharIndex),((e,[t,r,n])=>{const i=r.kind===l.TermKind.MaybeWSFTerm?r.node:r;if((0,o.isUnqualifiedNameNode)(i))return(0,o.paramName)((0,o.identNode)(i.whole,i.label),!1,!0,(0,d.addSpan)(e,t,n,"",""))})),O=(0,u.apply)((0,u.tuple)(i.parseWhitespace,i.parseCharIndex,i.parseAssignToken,i.parseWhitespace,(0,u.lazy)((()=>t.parseFormula)),i.parseCharIndex),((e,[t,r,n,i,a,s])=>{const l=(0,d.getNodeSpan)(e,a);return[l.pre,l.preComments]=(0,d.addWhitespace)(e,i),(0,o.paramDefault)(a,(0,d.addSpan)(e,r,s,t,""))})),M=(0,u.lazy)((()=>(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaDefaultParameters)?O:(0,u.parseFail)()));t.parseSpParam=(0,u.applyTake)((0,u.tuple)(i.parseWhitespace,i.parseCharIndex,(0,u.bind)((0,u.any)(N,_),((e,t)=>t.isClosed?(0,u.apply)((0,u.opt)(M,void 0),((e,r)=>[t,r])):(0,u.parseSucceed)([t,void 0]))),i.parseCharIndex,i.parseWhitespace,(0,u.peek)(((e,t)=>t))),((e,[t,r,[n,a],s,l,u])=>{if(void 0!==a||u.kind===h.TokenKind.End&&n.isBracketed||(0,i.isListSepToken)(u)&&n.isClosed)return(0,o.paramNode)(n,a,(0,d.addSpan)(e,r,s,t,l))}))},21005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseLiteral=void 0;const n=r(85882),o=r(62845),i=r(34583),a=r(52672),s=r(74803),l=r(28050),u=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Literal&&t.oper.kind!==n.OperKind.Boolean?t:t.kind===l.TokenKind.CellRef&&function(e){return e.refStyle===n.RefStyle.A1&&null==e.col&&"object"==typeof e.row&&e.row.kind===n.PosKind.Rel}(t)?(0,l.literalToken)(t.start,t.chars,e.mathpack.fromNumber(t.row.index+e.origin.row+1)):void 0)),c=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Literal&&t.oper.kind===n.OperKind.Boolean?t:void 0));t.parseLiteral=(0,a.apply)((0,a.tuple)((0,a.any)(u,(0,a.left)(c,(0,a.fails)(o.parseDotSepTokenNotFollowedByLeftBracket))),o.parseCharIndex),((e,[t,r])=>{const o=(0,s.addSpan)(e,t.start,r,"","");if((0,l.isBadNumberOper)(t.oper))return(0,n.badCharsNode)(n.BadType.NumberLiteral,t.chars,o);if((0,l.isBadErrorOper)(t.oper))return(0,n.badCharsNode)(n.BadType.ErrorLiteral,t.chars,o);if((0,n.isStringOper)(t.oper)&&t.oper.value.length>n.cellStringLimit)return(0,n.badCharsNode)(n.BadType.StringLiteral,t.chars,o);const a=(0,n.literalNode)(t.oper,t.hasRight,o);return(0,n.isBooleanOper)(t.oper)?(0,i.maybeWSFTerm)(a,t.chars):a}))},34583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TermKind=void 0,t.lambdaArgsTerm=function(e,t,r,n){return{kind:u.LambdaArgsTerm,nodes:e,isClosed:t,start:r,end:n}},t.argsTerm=function(e,t,r,n){return{kind:u.ArgsTerm,nodes:e,isClosed:t,start:r,end:n}},t.fieldRefTerm=c,t.structRefTerm=function(e,t,r){return{kind:u.StructRefTerm,rhs:e,start:t,end:r}},t.maybeWSFTerm=function(e,t){return{kind:u.MaybeWSFTerm,node:e,whole:t}},t.isWSFNode=K,t.runOperatorPrecedenceParser=function(e,t){let r=t.length-1;if(r<1){const e="calc.parse.runTermParser: internal error: expected at least 1 term";return(0,n.assertFalse)(e)}if(t[r].kind!==l.TokenKind.End){const e=`calc.parse.runTermParser: internal error: array[n].kind !== End in ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}if(1===r&&d(t[0]))return t[0];if(p(t[0])){const e=`calc.parse.runTermParser: internal error: array[0].kind === Spaces/comment in ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}if(p(t[r-1])){const e=`calc.parse.runTermParser: internal error: array[n-1].kind === Spaces/comment in ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}for(;;){const o=(0,a.runParser)(pe,t,0,e);if((0,n.isSuccess)(o)&&o.value.index>=r)return o.value.output;if(!(0,n.isSuccess)(o)||0===o.value.index||1===o.value.index&&d(t[0])){const e=`calc.parse.runTermParser: internal error: consumed ${(0,n.isSuccess)(o)?o.value.index:0} out of ${r} in ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}r=(t=[o.value.output,...t.slice(o.value.index)]).length-1}};const n=r(52123),o=r(85882),i=r(62845),a=r(52672),s=r(74803),l=r(28050);var u;function c(e,t,r,n){return{kind:u.FieldRefTerm,hasDotPreSpace:e,rhs:t,start:r,end:n}}function d(e){return e.kind!==l.TokenKind.Operator&&e.kind!==l.TokenKind.Sep&&e.kind!==l.TokenKind.End&&e.kind!==l.TokenKind.Spaces&&e.kind!==l.TokenKind.SingleLineComment&&e.kind!==l.TokenKind.MultiLineComment&&!(e.kind in u)}function p(e){return e.kind===l.TokenKind.Spaces||e.kind===l.TokenKind.SingleLineComment||e.kind===l.TokenKind.MultiLineComment}function h(e,t){return d(t=t.kind===u.MaybeWSFTerm?t.node:t)?(0,s.getNodeSpan)(e,t).start:t.start}!function(e){e.LambdaArgsTerm="LambdaArgsTerm",e.ArgsTerm="ArgsTerm",e.FieldRefTerm="FieldRefTerm",e.StructRefTerm="StructRefTerm",e.MaybeWSFTerm="MaybeWSFTerm"}(u||(t.TermKind=u={}));const g=(0,a.many)((0,a.take)(((e,t)=>p(t)?t:void 0))),m=(0,a.many1)((0,a.take)(((e,t)=>p(t)?t:void 0))),f=(0,a.peek)(((e,t)=>t)),v=function(e,t,r,o,i){const a=e[t];if(null==a){const r=`calc.parse.pStart: internal error: expected term at ${t} in ${(0,n.anonymize)(e)}`;return(0,n.assertFalse)(r)}return o(h(r,a),t)};function b(e){return(0,a.apply)((0,a.tuple)(g,v,(0,a.take)(e),v,g),((e,[t,r,n,i,a])=>(0,o.operatorNode)(n,(0,s.addSpan)(e,r,i,t,a))))}function y(e){return(0,a.apply)((0,a.tuple)(g,v,(0,a.take)(e),v),((e,[t,r,n,i])=>(0,o.operatorNode)(n,(0,s.addSpan)(e,r,i,t,""))))}function S(e){return(0,a.apply)((0,a.tuple)(v,(0,a.take)(e),v,g),((e,[t,r,n,i])=>(0,o.operatorNode)(r,(0,s.addSpan)(e,t,n,"",i))))}const C=b(((e,t)=>t.kind!==l.TokenKind.Operator||t.value!==o.OperatorId.Add&&t.value!==o.OperatorId.Sub?void 0:t.value)),T=S(((e,t)=>{if(t.kind===l.TokenKind.Operator){if(t.value===o.OperatorId.Add)return o.OperatorId.Pos;if(t.value===o.OperatorId.Sub)return o.OperatorId.Neg}})),k=S(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.At?t.value:void 0)),F=y(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.Pound?t.value:void 0)),E=(0,a.take)(((e,t)=>t.kind===u.StructRefTerm?t:void 0)),A=b(((e,t)=>t.kind!==l.TokenKind.Operator||t.value!==o.OperatorId.Mul&&t.value!==o.OperatorId.Div?void 0:t.value)),I=b(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.Pow?t.value:void 0)),x=y(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.Percent?t.value:void 0)),w=b(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.Concat?t.value:void 0)),P=b(((e,t)=>t.kind===l.TokenKind.Operator&&t.value>=o.OperatorId.Eq&&t.value<=o.OperatorId.Ge?t.value:void 0)),R=b(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.Range?t.value:void 0)),D=b(((e,t)=>t.kind===l.TokenKind.Operator&&t.value===o.OperatorId.Union?t.value:void 0)),_=(0,a.applyTake)((0,a.tuple)(m,f),((e,[t,r])=>{if(!(r.kind===l.TokenKind.End||r.kind===l.TokenKind.Operator&&r.value!==o.OperatorId.At||r.kind===l.TokenKind.Sep&&(0,i.isDotSepToken)(r))){if(1!==t.length||t[0].kind!==l.TokenKind.Spaces)return t;const n=h(e,r),i=(0,s.addSpan)(e,n,n,t[0].chars,"");return(0,o.operatorNode)(o.OperatorId.Isect,i)}})),N=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Sep&&(0,i.isDotSepToken)(t)?t:void 0)),O=(0,a.take)(((e,t)=>t.kind===u.ArgsTerm?t:void 0)),M=(0,a.take)(((e,t)=>t.kind===u.LambdaArgsTerm?t:void 0)),B=(0,a.take)(((e,t)=>t.kind===u.ArgsTerm||t.kind===u.FieldRefTerm?t:void 0)),L={[o.WorksheetFuncId.LETREC]:n.FeatureName.CalcLetRecFunction};function K(e,t){if(t.kind===u.MaybeWSFTerm&&void 0!==t.whole){const r=(0,o.getWorksheetFuncId)(e,t.whole);if(void 0===r)return;if((0,n.assertTrue)("calc.parse.parseWSFName: unexpected UDF",r!==o.WorksheetFuncId._UDF),0!=((0,o.getWorksheetFuncType)(r).flags&o.FunctionFlags.Internal))return;const i=L[r];if(void 0!==i&&!(0,n.isFeatureEnabled)(i))return;return(0,o.wsfNode)(r,t.whole,t.node.label)}}const W=(0,a.take)(((e,t)=>K(e.localeInfo,t))),H=(0,a.take)(((e,t)=>{const r=K(e.localeInfo,t);return r?.id===o.WorksheetFuncId.LAMBDA?r:void 0})),G=(0,a.apply)((0,a.tuple)(H,M),((e,[t,r])=>{const n=(0,s.getNodeSpan)(e,t).start,i=r.nodes,a=(t.id,[]);let l;const u=[];for(let e=0;e<i.length;e+=1){const t=i[e];t.kind===o.NodeKind.Param?a.push((0,o.lambdaParam)((0,o.indexedArg)(t,e))):e===i.length-1?l=(0,o.indexedArg)(t,e):u.push((0,o.indexedArg)(t,e))}const c=(0,s.addSpan)(e,n,r.end,"","");return(0,o.lambdaNode)(t,a,l,u,r.isClosed,c)})),z=(0,a.apply)((0,a.tuple)(W,O),((e,[t,r])=>{const i=(0,s.getNodeSpan)(e,t).start,a=r.nodes;switch(t.id){case o.WorksheetFuncId.LET:case o.WorksheetFuncId.LETREC:{t.id;const n=[],c=[];let d;for(let t=0;t<a.length;t+=1){const r=a[t];t!==a.length-1?!(t+1<a.length&&(0,o.isUnqualifiedNameNode)(r))||t+3<a.length&&(l=e.refStyle,u=a[t+2],!((0,o.isUnqualifiedNameNode)(u)||l===o.RefStyle.A1&&u.kind===o.NodeKind.CellRef&&void 0===u.qualifier&&u.ref.kind===o.CellRefKind.Single&&u.ref.col.kind===o.PosKind.Rel&&u.ref.row.kind===o.PosKind.Rel))&&(0,o.isUnqualifiedNameNode)(a[t+1])?c.push((0,o.indexedArg)(r,t)):(n.push((0,o.letVar)((0,o.indexedArg)((0,o.varNode)((0,o.identNode)(r.whole,r.parts.label),r.label),t),(0,o.indexedArg)(a[t+1],t+1))),t+=1):d=(0,o.indexedArg)(r,t)}const p=(0,s.addSpan)(e,i,r.end,"","");return(0,o.letNode)(t,n,d,c,r.isClosed,p)}case o.WorksheetFuncId.LAMBDA:return(0,n.assertFalse)("calc.parse.parseWSFApp: unexpected LAMBDA+ArgTerm")}var l,u;return q(e,t,a,r.isClosed,i,r.end)}));function U(e,t,r){return(0,a.apply)((0,a.tuple)((0,a.many)(e),t),((e,[t,n])=>t.reduceRight(r(e),n)))}function V(e,t,r){return(0,a.apply)((0,a.tuple)(e,(0,a.many)(t)),((e,[t,n])=>n.reduce(r(e),t)))}function j(e){return(t,[r,i])=>{if(a=r,Array.isArray(a)){const a=(0,s.getNodeSpan)(e,t);(0,n.assertTrue)("calc.parse.makeAppNodeInfix",0===a.post.length),[a.post,a.postComments]=(0,s.addWhitespace)(e,r);const l=(0,s.getNodeSpan)(e,i),u=(0,s.addSpan)(e,a.start,l.end,"","");return(0,o.badSequenceNode)(o.BadType.Unexpected,[t,i],u)}var a;const l=(0,s.getNodeSpan)(e,t).start,u=(0,s.getNodeSpan)(e,i).end,c=(0,s.addSpan)(e,l,u,"","");return(0,o.appNode)(r,[t,i],!0,c)}}function q(e,t,r,n,i,a){const l=(0,s.addSpan)(e,i,a,"","");return(0,o.appNode)(t,r,n,l)}function $(e){return(t,r)=>{const n=(0,s.getNodeSpan)(e,t).start;switch(r.kind){case u.ArgsTerm:return q(e,t,r.nodes,r.isClosed,n,r.end);case u.FieldRefTerm:{const i=(0,s.addSpan)(e,n,r.end,"",""),{start:a,end:l,pre:u}=(0,s.getNodeSpan)(e,r.rhs);if((0,o.isNumberLiteralNode)(t)){const n=(0,s.addSpan)(e,a,a,"",""),u=(0,o.missingNode)("",n),c=r.rhs.label,d=(0,s.addSpan)(e,a,l,"",""),p=!1,h=(0,o.fieldRef)(r.rhs.field,r.rhs.isBracketed,r.rhs.isClosed,p,d);return(0,o.badSequenceNode)(o.BadType.FieldRef,[t,(0,o.fieldRefNode)(u,h,c)],i)}const c=!r.rhs.isBracketed&&(0,o.shouldFieldRefBeBracketed)(t,r.rhs,u),d=(0,o.fieldRef)(r.rhs.field,r.rhs.isBracketed,r.rhs.isClosed,c,r.rhs.label);return(0,o.fieldRefNode)(t,d,i)}case u.StructRefTerm:{const i=(0,s.addSpan)(e,n,r.end,"","");switch(t.kind){case o.NodeKind.Name:return(0,o.structRefNode)(t,r.rhs,i);case o.NodeKind.Missing:return(0,o.structRefNode)(void 0,r.rhs,i)}return(0,o.badSequenceNode)(o.BadType.StructRef,[t,(0,o.structRefNode)(void 0,r.rhs,(0,s.addSpan)(e,r.start,r.end,"",""))],i)}case o.NodeKind.Operator:return q(e,r,[t],!0,n,(0,s.getNodeSpan)(e,r).end)}}}function Q(e){let t=!0;return(r,n)=>{const i=(0,s.getNodeSpan)(e,n).start,a=(0,s.getNodeSpan)(e,r).end,l=(0,s.addSpan)(e,i,a,"","");if((n.id===o.OperatorId.Pos||n.id===o.OperatorId.Neg)&&t&&(t=!1,(0,o.isNumberLiteralNode)(r)&&""===(0,s.getNodeSpan)(e,n).post)){const t=n.id===o.OperatorId.Pos?r.oper:e.mathpack.neg(r.oper);return(0,o.literalNode)(t,!0,l)}return(0,o.appNode)(n,[r],!0,l)}}const X=(0,a.take)(((e,t)=>t.kind===u.MaybeWSFTerm?t.node:d(t)?t:void 0)),Y=(0,a.apply)((0,a.tuple)(g,N,v,g),((e,[t,r,n,i])=>(0,o.badCharsNode)(o.BadType.Unexpected,r.chars,(0,s.addSpan)(e,r.start,n,t,i)))),J=(0,a.apply)((0,a.tuple)(v,g,N,v),((e,[t,r,n,i])=>{const a=(0,s.addSpan)(e,i,i,"",""),l=(0,s.addSpan)(e,n.start,i,r,""),u=(0,o.fieldRef)((0,o.missingNode)("",a),!1,!0,!1,l);return c(r.length>0,u,t,i)})),Z=(0,a.lazy)((()=>(0,a.apply)((0,a.tuple)(v,(0,a.many)((0,a.any)(G,z,X,Y),(0,a.any)(G,z,X,(0,a.right)((0,a.succeeds)(k),oe))),v),((e,[t,r,n])=>{if(1===r.length)return r[0];const i=(0,s.addSpan)(e,t,n,"","");return 0===r.length?(0,o.missingNode)("",i):(0,o.badSequenceNode)(o.BadType.Unexpected,r,i)})))),ee=V((0,a.lazy)((()=>(0,a.any)((0,a.right)((0,a.succeeds)(k),oe),(0,a.right)((0,a.succeeds)(T),ae),Z))),(0,a.any)(F,E),$),te=V(ee,(0,a.tuple)(R,ee),j),re=V(te,(0,a.tuple)(_,te),j),ne=V(re,(0,a.any)(B,J),$),oe=U(k,ne,Q),ie=V(oe,(0,a.tuple)(D,oe),j),ae=U(T,ie,Q),se=V(ae,x,$),le=V(se,(0,a.tuple)(I,se),j),ue=V(le,(0,a.tuple)(A,le),j),ce=V(ue,(0,a.tuple)(C,ue),j),de=V(ce,(0,a.tuple)(w,ce),j),pe=V(de,(0,a.tuple)(P,de),j)},72258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQualifier=void 0;const n=r(52123),o=r(85882),i=r(62845),a=r(52672),s=r(74803),l=r(28050);function u(e){return e.kind===l.TokenKind.Literal&&e.oper.kind===o.OperKind.Boolean}const{codePointFullStop:c}=n.codePoint,d=(0,a.opt)((0,a.takePeek)(((e,t,r)=>t.kind!==l.TokenKind.Spaces||(0,i.isWhitespaceToken)(r)?void 0:t.chars)),""),p=(0,a.take)(((e,t)=>t.isIdentContinue&&!u(t)&&t.chars.length>0&&t.chars.charCodeAt(0)!==c?t.chars:void 0)),h=(0,a.take)(((e,t)=>t.isIdentContinue||(0,i.isDotSepToken)(t)?t.chars:void 0)),g=(0,a.apply)((0,a.many1)(p,h),((e,t)=>t.join(""))),m=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Ident?t.chars:void 0)),f=(e,t)=>(t.path??"")+e.leftBracket+t.document+e.rightBracket;function v(e,t,r,n,i,a){let s,l;if(null==t)null==n?(s=(0,o.identQualifier)(r,i,a),l=r):(s=(0,o.sheetRangeQualifier)(r,n,void 0,i,a),l=`${r}:${n}`);else{const u=f(e.localeInfo,t);null==n?(s=(0,o.sheetQualifier)(r,t,i,a),l=`${u}${r}`):(s=(0,o.sheetRangeQualifier)(r,n,t,i,a),l=`${u}${r}:${n}`)}return[s,i?(0,o.quoteQualifier)(l):l]}const b=(0,a.take)(((e,t)=>t.kind===l.TokenKind.Ident||(0,i.isRangeOpToken)(t)?t.chars:void 0)),y=(0,a.apply)((0,a.tuple)(i.parseCharIndex,(0,a.many)(b),i.parseLeftBracket,(0,a.many1)(b),i.parseRightBracket,i.parseCharIndex),((e,[t,r,n,i,a,l])=>{const u=r.join(""),c=i.join("");return(0,o.documentQualifier)(c,""!==u?u:void 0,!0,(0,s.addSpan)(e,t,l,"",""))})),S=(0,a.apply)((0,a.tuple)(i.parseCharIndex,i.parseLeftBracket,(0,a.many1)(h),i.parseRightBracket,i.parseCharIndex),((e,[t,r,n,i,a])=>{const l=n.join("");return(0,o.documentQualifier)(l,void 0,!1,(0,s.addSpan)(e,t,a,"",""))})),C=(0,a.apply)((0,a.tuple)(i.parseCharIndex,(0,a.opt)(S,void 0),g,(0,a.opt)((0,a.right)(i.parseRangeOp,g),void 0),i.parseCharIndex),((e,[t,r,n,o,i])=>v(e,r,n,o,!1,(0,s.addSpan)(e,t,i,"","")))),T=(0,a.apply)((0,a.tuple)(i.parseLeftSQuote,(0,a.opt)(y,void 0),m,(0,a.opt)((0,a.right)(i.parseRangeOp,m),void 0),i.parseRightSQuote,i.parseCharIndex),((e,[t,r,n,o,i,a])=>v(e,r,n,o,!0,(0,s.addSpan)(e,t.start,a,"","")))),k=(0,a.apply)(S,((e,t)=>[t,f(e.localeInfo,t)])),F=(0,a.apply)((0,a.tuple)(i.parseLeftSQuote,y,i.parseRightSQuote,i.parseCharIndex),((e,[t,r,n,i])=>[(0,o.documentQualifier)(r.document,r.path,!0,(0,s.addSpan)(e,t.start,i,"","")),(0,o.quoteQualifier)(f(e.localeInfo,r))])),E=(0,a.take)(((e,t)=>t.kind===l.TokenKind.End||t.kind===l.TokenKind.Right&&t.value===l.DelimId.SQuote?void 0:t.chars)),A=(0,a.apply)((0,a.tuple)(i.parseLeftSQuote,(0,a.many)(E),(0,a.opt)((0,a.tuple)(i.parseRightSQuote,(0,a.opt)((0,a.tuple)(i.parseQualSep,d),[void 0,""])),[void 0,[void 0,""]]),i.parseCharIndex),((e,[t,r,[n,[i,a]],l])=>{const u=void 0!==n,c=void 0!==i,d=`'${r.join("")}${u?"'":""}${c?"!":""}`,p=(0,s.addSpan)(e,t.start,l-a.length,"",a);return[(0,o.badQualifier)(d,!0,u,c,p),d]})),I=(0,a.takePeek)(((e,t,r)=>{if((0,i.isRefErrorToken)(t)){const n=(0,s.addSpan)(e,t.start,r.start,"","");return[(0,o.errorQualifier)(n),t.chars]}})),x=(0,a.peek)(((e,t)=>{const r=(0,s.addSpan)(e,t.start,t.start,"","");return[(0,o.relativeQualifier)(r),""]})),w=(0,a.apply)((0,a.tuple)((0,a.any)(C,T,k,F,x),i.parseQualSep,d),((e,[[t,r],o,i])=>{const a=(0,s.getNodeSpan)(e,t);return a.end+=1,(0,n.assertTrue)("calc.parse.parseGoodQualifier",a.end===o.start+o.chars.length),(0,n.assertTrue)("calc.parse.parseGoodQualifier",0===a.post.length),a.post=i,[t,`${r}!`]})),P=(0,a.take)(((e,t)=>t.isIdentContinue||(0,i.isDotSepToken)(t)||u(t)||function(e){return e.kind===l.TokenKind.Literal&&(0,l.isNumberLikeOper)(e.oper)}(t)?t.chars:void 0)),R=(0,a.apply)((0,a.tuple)(i.parseCharIndex,(0,a.many)(P),i.parseQualSep,i.parseCharIndex,d),((e,[t,r,n,i,a])=>{const l=`${r.join("")}!`,u=(0,s.addSpan)(e,t,i,"",a);return[(0,o.badQualifier)(l,!1,!0,!0,u),l]}));t.parseQualifier=(0,a.any)(I,w,R,A)},62955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRef=t.parseUnqualBadRef=void 0,t.isCompleteCellRefToken=g;const n=r(52123),o=r(85882),i=r(62845),a=r(90685),s=r(34583),l=r(72258),u=r(52672),c=r(74803),d=r(28050);function p(e,t){return e.refStyle===t.refStyle&&!t.isBadLocale&&t.row!==o.SpecialPos.A1BadDollar&&t.col!==o.SpecialPos.A1BadDollar}function h(e){return e.refStyle===o.RefStyle.R1C1||"object"==typeof e.row&&"object"==typeof e.col}function g(e,t){return t.kind===d.TokenKind.CellRef&&p(e,t)&&h(t)}const m=(0,o.pos)(o.PosKind.Rel,0);function f(e){return e===o.SpecialPos.RCNoNum?m:e}function v(e,t){if(e.row!==o.SpecialPos.A1BadDollar&&e.col!==o.SpecialPos.A1BadDollar){const r=e.refStyle===o.RefStyle.R1C1&&!e.isIdentContinue;if(null!=e.row&&null!=e.col)return(0,o.cellRefSingle)(f(e.row),f(e.col),r,t);if(null!=e.row){const n=f(e.row);return(0,o.cellRefRow)(n,n,r,t)}if(null!=e.col){const n=f(e.col);return(0,o.cellRefCol)(n,n,r,t)}}const r=`calc.parse.cellRefToken2cellRef: bad token ${(0,n.anonymize)(e)}`;return(0,n.assertFalse)(r)}function b(e,t){return t.isIdentContinue&&e.localeInfo.isIdentStart((0,n.stringCodePointAt)(t.chars,0))}const y=(0,u.take)(((e,t)=>g(e,t)&&!b(e,t)||(0,i.isRefErrorToken)(t)?t:void 0)),S=(0,u.take)(((e,t)=>g(e,t)&&b(e,t)?t:void 0)),C=(0,u.apply)((0,u.tuple)((0,u.any)(y,(0,u.withState)((e=>e.cellRefMustBeCellRefNode?S:(0,u.left)(S,(0,u.fails)((0,u.any)(i.parseIdentContinue,i.parseDotSepTokenNotFollowedByLeftBracket)))))),i.parseCharIndex),((e,[t,r])=>{const n=t.kind===d.TokenKind.CellRef?v(t,(0,c.addSpan)(e,t.start,r,"","")):(0,o.cellRefError)((0,c.addSpan)(e,t.start,r,"","")),i=t.kind===d.TokenKind.CellRef?t.chars:void 0;return(0,s.maybeWSFTerm)((0,o.cellRefNode)(n,void 0,(0,c.addSpan)(e,t.start,r,"","")),i)})),T=(0,u.takePeek)(((e,t,r)=>t.kind!==d.TokenKind.CellRef||!p(e,t)||function(e,t,r){return r.kind===d.TokenKind.Left&&r.value===d.DelimId.Paren&&t.isIdentContinue&&null!=(0,o.getWorksheetFuncId)(e.localeInfo,t.chars)}(e,t,r)||r.isIdentContinue?void 0:[t,r.start])),k=(0,u.bind)((0,u.tuple)(T,i.parseSpacesOnly,i.parseRangeOp,i.parseSpacesOnly,T),((e,[[t,r],n,i,a,[l,p]])=>{const h=(0,c.addSpan)(e,t.start,r,"",n),g=(0,c.addSpan)(e,l.start,p,a,""),m=v(t,h),f=v(l,g);let b;if(m.kind===o.CellRefKind.Single&&f.kind===o.CellRefKind.Single){const r=(0,c.addSpan)(e,t.start,p,"","");b=(0,o.cellRefRange)(m,f,r)}else if(0===n.length&&0===a.length)if(m.kind===o.CellRefKind.Row&&f.kind===o.CellRefKind.Row){const r=m.isBracketed||f.isBracketed,n=(0,c.addSpan)(e,t.start,p,"","");b=(0,o.cellRefRow)(m.row1,f.row1,r,n)}else if(m.kind===o.CellRefKind.Col&&f.kind===o.CellRefKind.Col){const r=m.isBracketed||f.isBracketed,n=(0,c.addSpan)(e,t.start,p,"","");b=(0,o.cellRefCol)(m.col1,f.col1,r,n)}if(null==b)return(0,u.parseFail)();const y=(0,s.maybeWSFTerm)((0,o.cellRefNode)(b,void 0,(0,c.addSpan)(e,t.start,p,"","")),void 0);return t.isIdentContinue&&l.isIdentContinue?(0,u.peek)(((e,t)=>t.kind===d.TokenKind.Sep&&t.value===d.SepId.Qual?void 0:y)):(0,u.parseSucceed)(y)})),F=(0,u.any)(k,C);t.parseUnqualBadRef=(0,u.apply)((0,u.take)(((e,t)=>t.kind===d.TokenKind.CellRef?t:void 0)),((e,t)=>{const r=t.start+t.chars.length,n=t.refStyle===o.RefStyle.R1C1&&!t.isIdentContinue;return(0,s.maybeWSFTerm)((0,o.cellRefNode)((0,o.cellRefBad)(t.chars,n,(0,c.addSpan)(e,t.start,r,"","")),void 0,(0,c.addSpan)(e,t.start,r,"","")),t.chars)}));const E=(0,u.take)(((e,t)=>t.kind===d.TokenKind.Ident&&e.localeInfo.isIdentStart((0,n.stringCodePointAt)(t.chars,0))||t.kind===d.TokenKind.CellRef&&b(e,t)?t:void 0)),A=(0,u.take)(((e,t)=>t.kind===d.TokenKind.Literal&&t.oper.kind===o.OperKind.Boolean?t:void 0)),I=(0,u.any)(E,(0,u.left)(A,(0,u.succeeds)(i.parseDotSepTokenNotFollowedByLeftBracket))),x=(0,u.peek)(((e,t)=>(0,i.isLeftBracketToken)(t))),w=(0,u.tuple)((0,u.many1)(I,i.parseIdentContinue),(0,u.many)((0,u.any)(i.parseIdentContinue,i.parseDotSepTokenNotFollowedByLeftBracket)),x,i.parseCharIndex),P=(0,u.apply)(w,(function(e,[t,r,i,l]){const u=t[0],g=1===t.length&&r[0]?.kind===d.TokenKind.Sep,m=u.kind!==d.TokenKind.CellRef||(f=u).refStyle===o.RefStyle.A1&&null==f.row&&"object"==typeof f.col&&f.col.kind===o.PosKind.Rel||function(e,t){return t.refStyle===o.RefStyle.A1&&e.refStyle===o.RefStyle.A1&&t.isIdentContinue||t.refStyle===o.RefStyle.R1C1&&(0,o.isR1C1IdentStart)(t.row,t.col)}(e,u)&&g;var f;if(i||function(e,t,r){return 0===r.length||1===t.length&&t[0].kind===d.TokenKind.Literal||r.some(((t,r)=>r%2==0?t.kind!==d.TokenKind.Sep:t.kind===d.TokenKind.Sep||!(0,a.isUnbracketedFieldName)(e.localeInfo,t.chars)))}(e,t,r)){const n=[...t,...r].map((e=>e.chars)).join(""),i=(0,c.addSpan)(e,u.start,l,"",""),a=(0,c.addSpan)(e,u.start,l,"",""),d=(0,o.identNamePart)(n,m,i,a),p=(0,o.nameNode)(d,void 0,(0,c.addSpan)(e,u.start,l,"",""));return(0,s.maybeWSFTerm)(p,p.whole)}let b,y=m,S=0,C=r[S]?.start??l,T=(0,c.addSpan)(e,u.start,C,"",""),k=(0,c.addSpan)(e,u.start,C,"","");if(1===t.length&&u.kind===d.TokenKind.CellRef)if(p(e,u))if(h(u)){const t=v(u,(0,c.addSpan)(e,u.start,C,"",""));b=(0,o.cellRefNamePart)(t,u.chars,T,k)}else b=(0,o.identNamePart)(u.chars,y,T,k);else y=!1,b=(0,o.identNamePart)(u.chars,y,T,k);else{let n=t.map((e=>e.chars)).join("");(0===e.localeInfo.stringCompareCI(n,"_xlpm")||0===e.localeInfo.stringCompareCI(n,"_xleta"))&&S+1<r.length&&(n+="."+r[S+1].chars,S+=2,C=r[S]?.start??l,T=(0,c.addSpan)(e,u.start,C,"",""),k=(0,c.addSpan)(e,u.start,C,"","")),b=(0,o.identNamePart)(n,y,T,k)}let F=b;for(;S+1<r.length;S+=2){const t=r[S],n=r[S+1],i=r[S+2]?.start??l;F=(0,o.fieldRefNamePart)(F,(0,o.fieldRef)((0,o.identNode)(n.chars,(0,c.addSpan)(e,n.start,i,"","")),!1,!0,!1,(0,c.addSpan)(e,t.start,i,"","")),S+2>=r.length?m:y,(0,c.addSpan)(e,u.start,i,"",""),(0,c.addSpan)(e,u.start,i,"",""))}if(S<r.length){const t=r[S],n=r[S+1]?.start??l,i=(0,o.fieldRef)((0,o.missingNode)("",(0,c.addSpan)(e,n,n,"","")),!1,!0,!1,(0,c.addSpan)(e,t.start,n,"",""));F=(0,o.fieldRefNamePart)(F,i,m,(0,c.addSpan)(e,u.start,n,"",""),(0,c.addSpan)(e,u.start,n,"","")),S+=1}(0,n.assertTrue)("calc.parse.pUnqualName: i == tailTokens",S===r.length),F.kind===o.NamePartKind.CellRefNamePart&&(0,n.assertFalse)("calc.parse.pUnqualName: expected lhs.kind !== NamePartKind.CellRefNamePart");const E=(0,o.nameNode)(F,void 0,(0,c.addSpan)(e,u.start,l,"",""));return(0,s.maybeWSFTerm)(E,E.whole)})),R=(0,u.opt)((0,u.any)(F,P,t.parseUnqualBadRef),{node:void 0}),D=(0,u.any)(F,(0,u.right)((0,u.fails)(P),t.parseUnqualBadRef)),_=(0,u.bind)(l.parseQualifier,((e,[t,r])=>(0,u.apply)(t.kind===o.QualifierKind.SheetRange?(0,c.cellRefMustBeCellRefNode)(t.isQuoted?R:D):t.kind===o.QualifierKind.Error?(0,c.cellRefMustBeCellRefNode)(R):R,((e,{node:i})=>{if(null==i)return t.kind===o.QualifierKind.Error?(0,o.literalNode)(o.refErrorOper,!0,t.label):(0,o.badCharsNode)(o.BadType.Qualifier,r,t.label);const a=(0,c.getNodeSpan)(e,t).start,s=(0,c.getNodeSpan)(e,i).end;if(i.kind===o.NodeKind.Name){const r=(0,c.addSpan)(e,a,s,"","");if(t.kind===o.QualifierKind.Error){const e=(0,o.literalNode)(o.refErrorOper,!0,t.label);return(0,o.badSequenceNode)(o.BadType.Unexpected,[e,i],r)}return(0,n.assertTrue)("calc.parse.pQualRef: sheet-range-name quoted",t.kind!==o.QualifierKind.SheetRange||t.isQuoted),t.kind===o.QualifierKind.SheetRange&&void 0===t.document&&(t=(0,o.identQualifier)(`${t.sheet1}:${t.sheet2}`,t.isQuoted,t.label)),(0,o.nameNode)(function(e,t,r){let n=t;for(;(0,c.getSpan)(e,n.qualifiedLabel).start=r,n.kind===o.NamePartKind.FieldRefNamePart;)n=n.lhs;return t}(e,i.parts,a),t,r)}const l=(0,c.addSpan)(e,a,s,"","");return t.kind===o.QualifierKind.Ident&&(t=(0,o.sheetQualifier)(t.name,void 0,t.isQuoted,t.label)),(0,o.cellRefNode)(i.ref,t,l)})))),N=(0,u.apply)((0,u.any)(F,P),((e,t)=>t.node.kind===o.NodeKind.CellRef&&t.node.ref.kind===o.CellRefKind.Error?(0,o.literalNode)(o.refErrorOper,!0,t.node.label):t));t.parseRef=(0,u.any)(_,N)},22616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStructRef=void 0;const n=r(52123),o=r(85882),i=r(62845),a=r(34583),s=r(52672),l=r(74803),u=r(28050),c=(0,s.take)(((e,t)=>t.isIdentContinue||t.kind===u.TokenKind.Spaces?t:void 0)),d=(0,s.apply)((0,s.many1)(c),((e,t)=>{const r=t[0];return 1===t.length?r:(0,u.identToken)(r.start,t.map((e=>e.kind===u.TokenKind.Escape?"":e.chars)).join(""))})),p=(0,s.take)(((e,t)=>t.isIdentContinue||t.kind===u.TokenKind.Spaces||t.kind===u.TokenKind.Escape||(0,i.isListSepToken)(t)||(0,i.isRangeOpToken)(t)?t:void 0)),h=(0,s.apply)((0,s.many1)(p),((e,t)=>{const r=t[0];return 1===t.length?r:(0,u.identToken)(r.start,t.map((e=>e.kind===u.TokenKind.Escape?"":e.chars)).join(""))})),g=(0,s.take)(((e,t)=>t.kind===u.TokenKind.SpecialRef?t:void 0)),m=(0,s.apply)((0,s.tuple)(i.parseCharIndex,g,i.parseCharIndex),((e,[t,r,n])=>(0,o.specialRef)(r.value,!1,!0,(0,l.addSpan)(e,t,n,"","")))),f=(0,s.apply)((0,s.tuple)(i.parseCharIndex,i.parseLeftBracket,g,(0,s.opt)(i.parseRightBracket,void 0),i.parseCharIndex),((e,[t,r,n,i,a])=>(0,o.specialRef)(n.value,!0,void 0!==i,(0,l.addSpan)(e,t,a,"","")))),v=(0,s.any)(m,f),b=(0,s.apply)((0,s.tuple)(i.parseCharIndex,d,i.parseCharIndex),((e,[t,r,n])=>(0,o.columnRef)(r.chars,!1,!0,(0,l.addSpan)(e,t,n,"","")))),y=(0,s.apply)((0,s.tuple)(i.parseCharIndex,i.parseLeftBracket,(0,s.opt)(h,void 0),(0,s.opt)(i.parseRightBracket,void 0),i.parseCharIndex),((e,[t,r,n,i,a])=>(0,o.columnRef)(n?.chars??"",!0,void 0!==i,(0,l.addSpan)(e,t,a,"","")))),S=(0,s.apply)((0,s.tuple)(i.parseCharIndex,h,i.parseCharIndex),((e,[t,r,n])=>(0,o.columnRef)(r.chars,!1,!0,(0,l.addSpan)(e,t,n,"","")))),C=(0,s.any)(b,y),T=(0,s.apply)(i.parseCharIndex,((e,t)=>(0,o.missingRef)((0,l.addSpan)(e,t,t,"","")))),k=(0,s.any)(C,T),F=(0,s.take)(((e,t)=>"#"===t.chars?t:void 0)),E=(0,s.apply)((0,s.many1)(F,c),((e,t)=>(0,u.unexpectedToken)(t[0].start,t.map((e=>e.chars)).join("")))),A=(0,s.apply)((0,s.many1)(F,p),((e,t)=>(0,u.unexpectedToken)(t[0].start,t.map((e=>e.chars)).join("")))),I=(0,s.apply)((0,s.tuple)(i.parseCharIndex,E,i.parseCharIndex),((e,[t,r,n])=>(0,o.badRef)(r.chars,!1,!0,(0,l.addSpan)(e,t,n,"","")))),x=(0,s.apply)((0,s.tuple)(i.parseCharIndex,i.parseLeftBracket,A,(0,s.opt)(i.parseRightBracket,void 0),i.parseCharIndex),((e,[t,r,n,i,a])=>(0,o.badRef)(n.chars,!0,void 0!==i,(0,l.addSpan)(e,t,a,"","")))),w=(0,s.any)(I,x),P=(0,s.apply)((0,s.tuple)(i.parseCharIndex,k,i.parseRangeOp,k,i.parseCharIndex),((e,[t,r,n,i,a])=>(0,o.rangeOpRef)(r,i,(0,l.addSpan)(e,t,a,"","")))),R=(0,s.any)(P,C),D=(0,s.any)(v,w,P,C,T),_=(0,s.apply)((0,s.tuple)(i.parseCharIndex,D,(0,s.many1)((0,s.tuple)(i.parseListSep,D)),i.parseCharIndex),((e,[t,r,n,i])=>(0,o.commaOpRef)([r,...n.map((([e,t])=>t))],(0,l.addSpan)(e,t,i,"","")))),N=(0,s.apply)((0,s.tuple)(i.parseCharIndex,i.parseAtOp,(0,s.opt)(R,void 0),i.parseCharIndex),((e,[t,r,n,i])=>(0,o.thisRowOpRef)(n,(0,l.addSpan)(e,t,i,"","")))),O=(0,s.apply)(i.parseSpacesOnly,(()=>{})),M=(0,s.any)((0,s.left)(O,i.parseEnd),(0,s.left)(S,i.parseEnd),(0,s.left)(_,i.parseEnd),(0,s.left)(N,i.parseEnd),(0,s.left)(P,i.parseEnd),(0,s.left)(v,i.parseEnd),(0,s.left)(w,i.parseEnd),(0,s.left)(y,i.parseEnd));t.parseStructRef=(0,s.applyTake)((0,s.tuple)(i.parseCharIndex,i.parseBracketedTokens,i.parseCharIndex),((e,[t,[r,i],u])=>{const c=(0,s.runParser)(M,r,0,e);return(0,n.isSuccess)(c)?(0,a.structRefTerm)((0,o.structRef)(c.value.output,i,(0,l.addSpan)(e,t,u,"","")),t,u):void 0}))},52672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runParser=function(e,t,r,o){let i;if(function(e){let t=e;for(;null!=t;)t=t()}(e(t,r,o,(function(e,t){i=(0,n.success)({output:e,index:t})}),(function(){i=(0,n.failure)(void 0)}))),null==i){const e=`calc.parse.runParser: internal error: parser did not call resolve or reject on ${(0,n.anonymize)(t)}`;return(0,n.assertFalse)(e)}return i},t.lazy=function(e){let t;return function(r,n,o,i,a){const s=t??(t=e());return()=>s(r,n,o,i,a)}},t.setDebugging=function(e){o=e},t.warnSucceedOrFail=function(e,t){return function(r,n,i,a,s){return e(r,n,i,((e,n)=>(o&&console.warn(`${t} succeeded, returning index ${n} (of ${r.length}) with`,e),a(e,n))),(()=>(o&&console.warn(`${t} failed at index ${n} (of ${r.length})`),s)))}},t.parseSucceed=i,t.parseFail=s,t.bind=l,t.apply=u,t.withState=function(e){return(t,r,n,o,i)=>e(n)(t,r,n,o,i)},t.any=function(...e){return 0===e.length?s():e.reduce(c)},t.opt=function(e,t){return function(r,n,o,i,a){return e(r,n,o,i,(()=>i(t,n)))}},t.succeeds=function(e){return function(t,r,n,o,i){return e(t,r,n,(()=>o(!0,r)),i)}},t.fails=function(e){return function(t,r,n,o,i){return e(t,r,n,i,(()=>o(!0,r)))}},t.take=function(e){return d(e,1)},t.peek=function(e){return d(e,0)},t.takePeek=function(e){return function(t,r,n,o,i){const a=t[r],s=t[r+1];if(null==a||null==s)return i;const l=e(n,a,s);return null==l?i:o(l,r+1)}},t.applyTake=function(e,t){return function(r,n,o,i,a){return e(r,n,o,((e,r)=>{const n=t(o,e);return null==n?a:i(n,r)}),a)}},t.reduce=p,t.many=function(e,t){return void 0===t?function(t,r,n,o,i){return h(e,[])(t,r,n,o,i)}:function(r,n,o,i,a){return e(r,n,o,((e,n)=>h(t,[e])(r,n,o,i,a)),(()=>i([],n)))}},t.many1=function(e,t=e){return l(e,((e,r)=>h(t,[r])))},t.tuple=g,t.left=function(e,t){return u(g(e,t),((e,[t])=>t))},t.right=function(e,t){return u(g(e,t),((e,[,t])=>t))},t.middle=function(e,t,r){return u(g(e,t,r),((e,[,t])=>t))},t.flatten=m,t.concat=function(...e){return m(g(...e))};const n=r(52123);let o=!1;function i(e){return function(t,r,n,o,i){return o(e,r)}}const a=(e,t,r,n,o)=>o;function s(){return a}function l(e,t){return function(r,n,o,i,a){return e(r,n,o,((e,n)=>t(o,e)(r,n,o,i,a)),a)}}function u(e,t){return function(r,n,o,i,a){return e(r,n,o,((e,r)=>i(t(o,e),r)),a)}}function c(e,t){return function(r,n,o,i,a){return e(r,n,o,i,(()=>t(r,n,o,i,a)))}}function d(e,t){return function(r,n,o,i,a){const s=r[n];if(null==s)return a;const l=e(o,s);return null==l?a:i(l,n+t)}}function p(e,t,r){return function(o,i,a,s,l){let u=r,c=i;function d(){return e(o,c,a,p,h)}function p(e,r){if(r<=c){const e=(0,n.anonymize)(o),t=`calc.parse.reduce: internal error: no progress made at index ${c} on ${e}`;return(0,n.assertFalse)(t)}return u=t(a,e,u),c=r,d}function h(){return s(u,c)}return d}}function h(e,t){return p(e,(function(e,t,r){return r.push(t),r}),t)}function g(...e){if(0===e.length)return i([]);if(1===e.length)return u(e[0],((e,t)=>[t]));const t=e.length;return function(r,n,o,i,a){let s=n;const l=[];function u(){return e[l.length](r,s,o,c,a)}function c(e,r){return s=r,l.push(e),l.length<t?u:i(l,s)}return u}}function m(e){return u(e,((e,t)=>(0,n.safeConcat)([],t)))}},50089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){return{parseFormula:(t,r,i)=>function(e,t,r,i=0){try{const s=i>=0&&i<r.length?p[r.charCodeAt(i)]:void 0;return null==s?(0,n.failure)((0,a.notFormulaString)("first character is not '=', '+', '-' or '@'")):s<0?(0,n.failure)((0,o.notImplemented)(["Lotus 1-2-3 syntax"])):h(e,t,r,i+s)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}}(e,t,r,i),parseFormulaExpression:(t,r,o)=>function(e,t,r,o=0){try{return h(e,t,r,o)}catch(e){return(0,n.failure)((0,n.javaScriptError)(e))}}(e,t,r,o)}};const n=r(52123),o=r(85882),i=r(31864),a=r(48307),s=r(84434),{codePointEqualsSign:l,codePointPlusSign:u,codePointMinusSign:c,codePointAtSign:d}=n.codePoint,p={[l]:1,[u]:0,[c]:0,[d]:-1};function h(e,t,r,o){const a=t.config?.localeInfo??e.config.localeInfo,l=t.config?.refStyle??e.config.refStyle,u=e.config.mathpack,c=(0,s.tokenizeFormula)(a,u,l,t.originGridCell.value,r,o,t.syntaxFeatures),d=(0,i.runFormulaParser)(a,u,l,t.lexicalKind,t.originGridCell.value,t.contextNames,t.syntaxFeatures,c);return(0,n.success)(d)}},74803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListSep=void 0,t.makeState=function(e,t,r,n,o){return{localeInfo:e,mathpack:t,refStyle:r,lexicalKind:n,origin:o,delim:{delimId:void 0,listSep:s.Union,stack:{[a.DelimId.Paren]:!1,[a.DelimId.Brace]:!1,[a.DelimId.Bracket]:!1}},cellRefMustBeCellRefNode:!1,label:1,spans:[]}},t.getNodeSpan=function(e,t){const r=e.spans[t.label];if(null==r){const e=`calc.parse.getNodeSpan: internal error: expected node to have a span; given ${(0,n.anonymize)(t)}`;(0,n.assertFalse)(e)}return r},t.getSpan=function(e,t){const r=e.spans[t];return(0,n.assertTrue)("calc.parse.getSpan: internal error: expected label to have a span",null!=r),r},t.addWhitespace=u,t.addSpan=c,t.withDelim=function({delimId:e,listSep:t},r){return d((r=>{const n=r.delim;return r.delim={delimId:e,listSep:t,stack:{...n.stack,[e]:!0}},n}),((e,t)=>e.delim=t),r)},t.cellRefMustBeCellRefNode=function(e){return d((e=>{const t=e.cellRefMustBeCellRefNode;return e.cellRefMustBeCellRefNode=!0,t}),((e,t)=>e.cellRefMustBeCellRefNode=t),e)};const n=r(52123),o=r(85882),i=r(62845),a=r(28050);var s;!function(e){e[e.Union=1]="Union",e[e.Arg=2]="Arg"}(s||(t.ListSep=s={}));const l=[];function u(e,t){const r="string"==typeof t?l:t.filter(i.isCommentToken);return["string"==typeof t?t:t.map((e=>e.chars)).join(""),r.length>0?r.map((t=>function(e,t){const r=c(e,t.start,t.start+t.chars.length,"","");return t.kind===a.TokenKind.SingleLineComment?(0,o.singleLineComment)(t.chars,r):(0,o.multiLineComment)(t.chars,t.isClosed,r)}(e,t))):void 0]}function c(e,t,r,n,i){const a=e.label;e.label+=1;const[s,l]=u(e,n),[c,d]=u(e,i);return e.spans[a]=(0,o.formulaSpan)(t,r,s,c,l,d),a}function d(e,t,r){return(n,o,i,a,s)=>{const l=e(i);return r(n,o,i,((e,r)=>(t(i,l),a(e,r))),(()=>(t(i,l),s)))}}},48307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonKind=void 0,t.createParseGlobals=function(e){return{config:e}},t.parseLocals=function(e,t,r,o,i){return{config:r??void 0,lexicalKind:e,originGridCell:(0,n.success)(t),contextNames:o,syntaxFeatures:i}},t.notFormulaString=function(e){return{kind:t.ReasonKind.NotFormulaString,message:e}};const n=r(52123),o=r(85882);var i;!function(e){e.NotFormulaString="NotFormulaString"}(i||(i={})),t.ReasonKind={...o.ReasonKind,...i}},28050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poundOperatorToken=t.atOperatorToken=t.rangeOperatorToken=t.geOperatorToken=t.leOperatorToken=t.neOperatorToken=t.gtOperatorToken=t.ltOperatorToken=t.eqOperatorToken=t.concatOperatorToken=t.percentOperatorToken=t.powOperatorToken=t.divOperatorToken=t.mulOperatorToken=t.subOperatorToken=t.addOperatorToken=t.specialRefToken=t.assignSepToken=t.dotSepToken=t.qualSepToken=t.rowSepToken=t.colSepToken=t.listSepToken=t.rightSQuoteToken=t.rightBraceToken=t.rightBracketToken=t.rightParenToken=t.leftSQuoteToken=t.leftBraceToken=t.leftBracketToken=t.leftParenToken=t.identToken=t.multiLineCommentToken=t.singleLineCommentToken=t.escapeToken=t.unexpectedToken=t.spacesToken=t.endToken=t.badErrorOper=t.badNumberOper=t.TokenOperKind=t.SepId=t.DelimId=t.TokenKind=void 0,t.isBadNumberOper=function(e){return e.kind===h.BadNumber},t.isNumberLikeOper=g,t.isBadErrorOper=function(e){return e.kind===h.BadError},t.cellRefA1Token=function(e,t,r,n){return v(e,t,(null==r||"object"==typeof r&&r.kind===o.PosKind.Rel)&&(null==n||"object"==typeof n&&n.kind===o.PosKind.Rel),r,n,o.RefStyle.A1,!1)},t.cellRefR1C1Token=function(e,t,r,n,i=!1){return v(e,t,!(r!==o.SpecialPos.RCNoNum&&null!=r&&r.kind!==o.PosKind.Abs||n!==o.SpecialPos.RCNoNum&&null!=n&&n.kind!==o.PosKind.Abs),r,n,o.RefStyle.R1C1,i)},t.literalToken=b,t.identOrBooleanToken=function(e,r,n){return 0===e.stringCompareCI(e.falseName,n)?b(r,n,o.falseOper):0===e.stringCompareCI(e.trueName,n)?b(r,n,o.trueOper):(0,t.identToken)(r,n)},t.operatorToken=y,t.appendToken=function(e,t,r){return r.push(t),t.start+e};const n=r(52123),o=r(85882),{codePointAsterisk:i,codePointMinusSign:a,codePointPlusSign:s,codePointSlash:l,codePointSpace:u}=n.codePoint;var c,d,p,h;function g(e){return e.kind===h.BadNumber||e.kind===o.OperKind.Number}function m(e,t,r,n){return{kind:e,start:t,chars:r,isIdentContinue:n}}function f(e,t,r,n){return{kind:e,start:t,chars:r,isIdentContinue:!1,value:n}}function v(e,t,r,n,o,i,a){return{kind:c.CellRef,start:e,chars:t,isIdentContinue:r,row:n,col:o,refStyle:i,isBadLocale:a}}function b(e,t,r,d=!0){const p=r.kind===o.OperKind.Boolean||g(r)&&function(e){for(const t of(0,n.codePointIterator)(e))if(t===s||t===a||t===i||t===u||t===l)return!1;return!0}(t);return{kind:c.Literal,start:e,chars:t,isIdentContinue:p,oper:r,hasRight:d}}function y(e,t,r){return{kind:c.Operator,start:e,chars:t,isIdentContinue:!1,value:r}}function S(e){const t=o.operatorStrings[e];if(null==t)throw new Error(`operatorTokenMaker: invalid operator ${e}`);return r=>y(r,t,e)}!function(e){e[e.End=1]="End",e[e.Left=2]="Left",e[e.Right=3]="Right",e[e.Sep=4]="Sep",e[e.Operator=5]="Operator",e[e.Spaces=6]="Spaces",e[e.Ident=7]="Ident",e[e.CellRef=8]="CellRef",e[e.Literal=9]="Literal",e[e.SpecialRef=10]="SpecialRef",e[e.Unexpected=11]="Unexpected",e[e.Escape=12]="Escape",e[e.SingleLineComment=13]="SingleLineComment",e[e.MultiLineComment=14]="MultiLineComment"}(c||(t.TokenKind=c={})),function(e){e[e.Paren=1]="Paren",e[e.Bracket=2]="Bracket",e[e.Brace=3]="Brace",e[e.SQuote=4]="SQuote"}(d||(t.DelimId=d={})),function(e){e[e.List=1]="List",e[e.Row=2]="Row",e[e.Col=3]="Col",e[e.Qual=4]="Qual",e[e.Dot=5]="Dot",e[e.Assign=6]="Assign"}(p||(t.SepId=p={})),function(e){e.BadNumber="BadNumber",e.BadError="BadError"}(h||(t.TokenOperKind=h={})),t.badNumberOper={kind:h.BadNumber},t.badErrorOper={kind:h.BadError},t.endToken=e=>m(c.End,e,"",!1),t.spacesToken=(e,t)=>m(c.Spaces,e,t,!1),t.unexpectedToken=(e,t)=>m(c.Unexpected,e,t,!1),t.escapeToken=(e,t)=>m(c.Escape,e,t,!1),t.singleLineCommentToken=(e,t)=>m(c.SingleLineComment,e,t,!1),t.multiLineCommentToken=(e,t,r)=>({kind:c.MultiLineComment,start:e,chars:t,isIdentContinue:!1,isClosed:r}),t.identToken=(e,t)=>m(c.Ident,e,t,!0),t.leftParenToken=e=>f(c.Left,e,"(",d.Paren),t.leftBracketToken=(e,t)=>f(c.Left,e,t,d.Bracket),t.leftBraceToken=(e,t)=>f(c.Left,e,t,d.Brace),t.leftSQuoteToken=e=>f(c.Left,e,"'",d.SQuote),t.rightParenToken=e=>f(c.Right,e,")",d.Paren),t.rightBracketToken=(e,t)=>f(c.Right,e,t,d.Bracket),t.rightBraceToken=(e,t)=>f(c.Right,e,t,d.Brace),t.rightSQuoteToken=e=>f(c.Right,e,"'",d.SQuote),t.listSepToken=(e,t)=>f(c.Sep,e,t,p.List),t.colSepToken=(e,t)=>f(c.Sep,e,t,p.Col),t.rowSepToken=(e,t)=>f(c.Sep,e,t,p.Row),t.qualSepToken=e=>f(c.Sep,e,"!",p.Qual),t.dotSepToken=e=>f(c.Sep,e,".",p.Dot),t.assignSepToken=e=>f(c.Sep,e,":=",p.Assign),t.specialRefToken=(e,t,r)=>f(c.SpecialRef,e,t,r),t.addOperatorToken=S(o.OperatorId.Add),t.subOperatorToken=S(o.OperatorId.Sub),t.mulOperatorToken=S(o.OperatorId.Mul),t.divOperatorToken=S(o.OperatorId.Div),t.powOperatorToken=S(o.OperatorId.Pow),t.percentOperatorToken=S(o.OperatorId.Percent),t.concatOperatorToken=S(o.OperatorId.Concat),t.eqOperatorToken=S(o.OperatorId.Eq),t.ltOperatorToken=S(o.OperatorId.Lt),t.gtOperatorToken=S(o.OperatorId.Gt),t.neOperatorToken=S(o.OperatorId.Ne),t.leOperatorToken=S(o.OperatorId.Le),t.geOperatorToken=S(o.OperatorId.Ge),t.rangeOperatorToken=S(o.OperatorId.Range),t.atOperatorToken=S(o.OperatorId.At),t.poundOperatorToken=S(o.OperatorId.Pound)},84434:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tokenizeFormula=function(e,t,r,i,u,c,m){const[b,y]=function(e,t,r,i,u,c,m){const b=[],y=[];let C=c;const T=!0===m?.[o.SyntaxFeature.Comments],k=!0===m?.[o.SyntaxFeature.Statements],F=!(0,n.stringStartsWith)(e.statementSeparator,e.columnSeparator)&&!(0,n.stringStartsWith)(e.statementSeparator,e.rowSeparator),E=!(0,n.stringStartsWith)(e.statementSeparator,e.listSeparator)&&!(0,n.stringStartsWith)(e.statementSeparator,e.decimalSeparator),A=(0,s.makeProgressAsserter)("calc.parse.tokenize",C);for(;C<u.length;){A(C);const c=U(e,r,i,u,C,b);if(null!=c){C=c;continue}const m=(0,n.stringCodePointAt)(u,C),I=y.length>0&&y[y.length-1].delim===a.DelimId.Brace;if(V(e,u,C,b)){const r=D(e,t,u,C,b);if(null!=r){C=r;continue}}if(m!==d)if(!e.isIdentContinue(m)||(0,n.stringStartsWith)(u,e.listSeparator,C)||I&&(0,n.stringStartsWith)(u,e.columnSeparator,C)||I&&(0,n.stringStartsWith)(u,e.rowSeparator,C))if(m!==h)if((0,o.isSpace)(m)){const[e,t]=(0,s.scanWhile)(u,C,K);C=(0,a.appendToken)(t-C,(0,a.spacesToken)(C,e),b)}else if(m!==g)if(m!==f)if((0,n.stringStartsWith)(u,e.leftBrace,C))y.push({delim:a.DelimId.Brace,lastParen:y.length>0?y[y.length-1].lastParen:void 0,lastBrace:y.length}),C=(0,a.appendToken)(e.leftBrace.length,(0,a.leftBraceToken)(C,e.leftBrace),b);else if((0,n.stringStartsWith)(u,e.rightBrace,C)){const t=y.length>0?y[y.length-1].lastBrace:void 0;void 0!==t&&(y.length=t),C=(0,a.appendToken)(e.rightBrace.length,(0,a.rightBraceToken)(C,e.rightBrace),b)}else if((0,n.stringStartsWith)(u,e.leftBracket,C))C=G(e,u,C,b);else if((0,n.stringStartsWith)(u,e.rightBracket,C))C=(0,a.appendToken)(e.rightBracket.length,(0,a.rightBracketToken)(C,e.rightBracket),b);else{if(I){if(k&&F&&(0,n.stringStartsWith)(u,e.statementSeparator,C))break;if((0,n.stringStartsWith)(u,e.columnSeparator,C)){C=(0,a.appendToken)(e.columnSeparator.length,(0,a.colSepToken)(C,e.columnSeparator),b);continue}if((0,n.stringStartsWith)(u,e.rowSeparator,C)){C=(0,a.appendToken)(e.rowSeparator.length,(0,a.rowSepToken)(C,e.rowSeparator),b);continue}}if(k&&(0,n.stringStartsWith)(u,e.statementSeparator,C)&&(E||0===y.length))break;if((0,n.stringStartsWith)(u,e.listSeparator,C))C=(0,a.appendToken)(e.listSeparator.length,(0,a.listSepToken)(C,e.listSeparator),b);else if(m!==p)if(m!==v){if(m===S&&C+1<u.length&&T){const e=u.charCodeAt(C+1);if(e===S){const[e,t]=(0,s.scanWhile)(u,C,W);C=(0,a.appendToken)(t-C,(0,a.singleLineCommentToken)(C,e),b);continue}if(e===l){let[e,t]=(0,s.scanWhile)(u,C+2,H);const r=(0,n.stringStartsWith)(u,"*/",t);(0,n.assertTrue)("calc.parse.tokenize: /**/",r||t===u.length),t+=r?2:0,e="/*"+e+(r?"*/":""),C=(0,a.appendToken)(t-C,(0,a.multiLineCommentToken)(C,e,r),b);continue}}if(x(m)){if((0,n.stringStartsWith)(u,":=",C)&&(0,n.isFeatureEnabled)(n.FeatureName.CalcLambdaDefaultParameters)){C=(0,a.appendToken)(2,(0,a.assignSepToken)(C),b);continue}C=R(u,C,b)}else C=(0,a.appendToken)((0,n.numCodeUnits)(m),(0,a.unexpectedToken)(C,(0,n.stringFromCodePoint)(m)),b)}else C=z(e,u,C,b);else C=(0,a.appendToken)(1,(0,a.qualSepToken)(C),b)}else{const e=y.length>0?y[y.length-1].lastParen:void 0;void 0!==e&&(y.length=e),C=(0,a.appendToken)(1,(0,a.rightParenToken)(C),b)}else y.push({delim:a.DelimId.Paren,lastParen:y.length,lastBrace:y.length>0?y[y.length-1].lastBrace:void 0}),C=(0,a.appendToken)(1,(0,a.leftParenToken)(C),b);else{const t=M(e,u,C,b);if(null!=t){C=t;continue}C=R(u,C,b)}else{const[t,r]=(0,s.scanWhile)(u,C,((t,r)=>e.isIdentContinue((0,n.stringCodePointAt)(t,r))));C=(0,a.appendToken)(r-C,(0,a.identOrBooleanToken)(e,C,t),b)}else C=O(u,C,b)}return[b,C]}(e,t,r,i,u,c,m),C=[];let T=0;for(;T<b.length;){const e=b[T];if(e.kind!==a.TokenKind.Unexpected)C.push(e),T+=1;else{const[e,t]=j(b,T,a.TokenKind.Unexpected,((e,t)=>{const r=e,n=t;return(0,a.unexpectedToken)(r.start,r.chars+n.chars)}));C.push(e),T=t}}return C.push((0,a.endToken)(y)),C};const n=r(52123),o=r(85882),i=r(62845),a=r(28050),s=r(10367),{codePointAsterisk:l,codePointAtSign:u,codePointColon:c,codePointDoubleQuote:d,codePointExclamationMark:p,codePointHash:h,codePointLeftParen:g,codePointQuestionMark:m,codePointRightParen:f,codePointSingleQuote:v,codePointFullStop:b,codePointDigitZero:y,codePointSlash:S,codePointMinusSign:C,codePointSpace:T,codePointInvertedExclamationMark:k,codePointInvertedQuestionMark:F,codePointLeftSingleQuotationMark:E,codePointRightSingleQuotationMark:A}=n.codePoint;let I;function x(e){if(!I){I=(0,n.makeStringMap)();for(const e of Object.getOwnPropertyNames(w))I[e.charCodeAt(0)]=!0;for(const e of Object.getOwnPropertyNames(P))I[e.charCodeAt(0)]=!0}return!0===I[e]}const w={"+":a.addOperatorToken,"-":a.subOperatorToken,"*":a.mulOperatorToken,"/":a.divOperatorToken,"^":a.powOperatorToken,"%":a.percentOperatorToken,"&":a.concatOperatorToken,"=":a.eqOperatorToken,"<":a.ltOperatorToken,">":a.gtOperatorToken,":":a.rangeOperatorToken,".":a.dotSepToken,"@":a.atOperatorToken,"#":a.poundOperatorToken},P={"<>":a.neOperatorToken,"<=":a.leOperatorToken,">=":a.geOperatorToken};function R(e,t,r){if(t<e.length-1){const n=P[e.substring(t,t+2)];if(null!=n)return(0,a.appendToken)(2,n(t),r)}const o=w[e.charAt(t)];return null!=o?(0,a.appendToken)(1,o(t),r):(0,n.assertFalse)("calc.parse.tokenizeOperator: internal error: expected operator")}function D(e,t,r,n,i){const s=(0,o.parseNumberLiteral)(e,t,r,n,!1,!1,!1);if(void 0===s)return;const{value:l,i:u}=s,c=r.substring(n,u);return(0,a.appendToken)(u-n,(0,a.literalToken)(n,c,l??a.badNumberOper,!0),i),u}const _=(e,t)=>e.charCodeAt(t)!==d,N=(e,t)=>e.charCodeAt(t)===d;function O(e,t,r){const[n,i]=(0,s.scanEscapedWhile)(e,t+1,_,'"',N),l=e.substring(t,i+1);return i<e.length?(0,a.appendToken)(i+1-t,(0,a.literalToken)(t,l,(0,o.stringOper)(n),!0),r):(0,a.appendToken)(i-t,(0,a.literalToken)(t,l,(0,o.stringOper)(n),!1),r)}function M(e,t,r,i){for(let n=1;n<e.errorNames.length;n+=1){const s=e.errorNames[n];if(null==s)continue;const l=t.substring(r,r+s.length);if(0===e.stringCompareCI(s,l))return(0,a.appendToken)(s.length,(0,a.literalToken)(r,l,(0,o.errorOper)(n)),i)}let s=r+1,l=!1;for(;s<t.length;){const o=(0,n.stringCodePointAt)(t,s);if(s!==r+1||o!==k&&o!==F)if(!(s>r+1)||o!==S&&o!==C&&o!==T||l)if(s>r+1&&o===b)s+=1;else{if(s>r+1&&o===y){s+=1,s<t.length&&t.charCodeAt(s)===p&&(s+=1);break}if(o===p||o===m){s!==r+1&&(s+=1);break}if(!e.isIdentContinue(o)||e.isNumeral(o)){if(o!==E&&o!==A)break;s+=1}else s+=(0,n.numCodeUnits)(o)}else l=!0,s+=1;else s+=1}for(;s>r+1&&t.charCodeAt(s-1)===T;)--s;if(s>r+1){const e=t.substring(r,s);return(0,a.appendToken)(s-r,(0,a.literalToken)(r,e,a.badErrorOper),i)}}function B(e,t,r,n){for(let o=1;o<e.specialRefNames.length;o+=1){const i=e.specialRefNames[o];if(null==i)continue;const s=t.substring(r,r+i.length);if(0===e.stringCompareCI(i,s))return(0,a.appendToken)(i.length,(0,a.specialRefToken)(r,s,o),n)}}function L(e,t,r){const i=t.charCodeAt(r);return!((0,o.isSpace)(i)||i===v||i===h||i===c||i===u||(0,n.stringStartsWith)(t,e.listSeparator,r)||(0,n.stringStartsWith)(t,e.leftBracket,r)||(0,n.stringStartsWith)(t,e.rightBracket,r))}const K=(e,t)=>(0,o.isSpace)((0,n.stringCodePointAt)(e,t)),W=(e,t)=>!(0,o.isLineBreak)((0,n.stringCodePointAt)(e,t)),H=(e,t)=>!(t+1<e.length&&e.charCodeAt(t)===l&&e.charCodeAt(t+1)===S);function G(e,t,r,i){let l=r,d=0;const p=(t,r)=>L(e,t,r),g=(t,r)=>!L(e,t,r),m=(0,s.makeProgressAsserter)("calc.parse.tokenizeBracketedRef",l);for(;l<t.length;){m(l);const r=(0,n.stringCodePointAt)(t,l);if(i.length>0&&i[i.length-1].kind===a.TokenKind.Escape&&g(t,l))l=(0,a.appendToken)((0,n.numCodeUnits)(r),(0,a.identToken)(l,(0,n.stringFromCodePoint)(r)),i);else if(r!==u){if(r===h){const r=B(e,t,l,i);if(null!=r){l=r;continue}}if(r!==v)if((0,n.stringStartsWith)(t,e.rightBracket,l)){if(l=(0,a.appendToken)(e.rightBracket.length,(0,a.rightBracketToken)(l,e.rightBracket),i),d-=1,0===d)return l}else if(p(t,l)){const[e,r]=(0,s.scanWhile)(t,l,p);l=(0,a.appendToken)(r-l,(0,a.identToken)(l,e),i)}else if((0,o.isSpace)(r)){const[e,r]=(0,s.scanWhile)(t,l,K);l=(0,a.appendToken)(r-l,(0,a.spacesToken)(l,e),i)}else r!==c?(0,n.stringStartsWith)(t,e.listSeparator,l)?l=(0,a.appendToken)(e.listSeparator.length,(0,a.listSepToken)(l,e.listSeparator),i):(0,n.stringStartsWith)(t,e.leftBracket,l)&&d<2?(l=(0,a.appendToken)(e.leftBracket.length,(0,a.leftBracketToken)(l,e.leftBracket),i),d+=1):l=(0,a.appendToken)((0,n.numCodeUnits)(r),(0,a.unexpectedToken)(l,(0,n.stringFromCodePoint)(r)),i):l=(0,a.appendToken)(1,(0,a.rangeOperatorToken)(l),i);else l=(0,a.appendToken)(1,(0,a.escapeToken)(l,"'"),i)}else l=(0,a.appendToken)(1,(0,a.atOperatorToken)(l),i)}return l}function z(e,t,r,o){let i=(0,a.appendToken)(1,(0,a.leftSQuoteToken)(r),o);const u=(t,r)=>function(e,t,r){const o=t.charCodeAt(r);return o!==v&&o!==c&&o!==l&&o!==m&&!(0,n.stringStartsWith)(t,e.leftBracket,r)&&!(0,n.stringStartsWith)(t,e.rightBracket,r)}(e,t,r),d=(e,t)=>e.charCodeAt(t)===v,p=(0,s.makeProgressAsserter)("calc.parse.tokenizeQuotedQualifier",i);for(;i<t.length;){p(i);const r=(0,n.stringCodePointAt)(t,i);if(r===v&&!(i+1<t.length&&t.charCodeAt(i+1)===v))return(0,a.appendToken)(1,(0,a.rightSQuoteToken)(i),o);if(r!==c)if((0,n.stringStartsWith)(t,e.leftBracket,i))i=(0,a.appendToken)(e.leftBracket.length,(0,a.leftBracketToken)(i,e.leftBracket),o);else if((0,n.stringStartsWith)(t,e.rightBracket,i))i=(0,a.appendToken)(e.rightBracket.length,(0,a.rightBracketToken)(i,e.rightBracket),o);else if((0,s.getEscapedSkip)(t,i,u,"'",d)>0){const[e,r]=(0,s.scanEscapedWhile)(t,i,u,"'",d);i=(0,a.appendToken)(r-i,(0,a.identToken)(i,e),o)}else i=(0,a.appendToken)((0,n.numCodeUnits)(r),(0,a.unexpectedToken)(i,(0,n.stringFromCodePoint)(r)),o);else i=(0,a.appendToken)(1,(0,a.rangeOperatorToken)(i),o)}return i}function U(e,t,r,n,i,s){const l=(0,o.parseCellRef)(e,t,r,n,i);if(null!=l){const e=l.i,t=n.substring(e,i),r=l.refStyle===o.RefStyle.A1?(0,a.cellRefA1Token)(i,t,l.row,l.col):(0,a.cellRefR1C1Token)(i,t,l.row,l.col,l.enLocale);return(0,a.appendToken)(e-i,r,s)}}function V(e,t,r,o){let s=o.length-1,l=o[s];if(null==l)return!0;if(l.kind===a.TokenKind.Sep&&l.value===a.SepId.Dot)return!1;if((0,n.stringStartsWith)(t,e.decimalSeparator,r)){for(;null!=l&&(0,i.isWhitespaceToken)(l);)l=o[--s];return null==l||l.kind!==a.TokenKind.Ident&&l.kind!==a.TokenKind.CellRef&&l.kind!==a.TokenKind.Right&&(l.kind!==a.TokenKind.Literal||(0,a.isNumberLikeOper)(l.oper))}return e.isNumeral((0,n.stringCodePointAt)(t,r))}function j(e,t,r,n){let o=e[t],i=t+1;for(;i<e.length;i+=1){const t=e[i];if(t.kind!==r)break;o=n(o,t)}return[o,i]}},10367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeProgressAsserter=function(e,t){let r=t-1;return function(t){if(t<=r){const r=`${e}: internal error: no progress made at index ${t}`;return(0,n.assertFalse)(r)}r=t}},t.scanWhile=function(e,t,r){let o=t;for(;o<e.length&&r(e,o);)o+=(0,n.numCodeUnits)((0,n.stringCodePointAt)(e,o));return[e.substring(t,o),o]},t.getEscapedSkip=o,t.scanEscapedWhile=function(e,t,r,i,a){const s=[];let l=t,u=t;for(;u<e.length;){const t=o(e,u,r,i,a);if(0===t)break;2===t&&(l!==u&&s.push(e.substring(l,u)),l=u+i.length,u+=i.length),u+=(0,n.numCodeUnits)((0,n.stringCodePointAt)(e,u))}return l!==u&&s.push(e.substring(l,u)),[s.join(""),u]};const n=r(52123);function o(e,t,r,o,i){return r(e,t)?1:(0,n.stringStartsWith)(e,o,t)&&t+o.length<e.length&&i(e,t+o.length)?2:0}},92006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(51376),t),n.__exportStar(r(65544),t)},44880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnalyzeGlobals=t.staticPrecedents=t.summarizeFormulaDiagnostics=t.diagnostics=t.analyzeLocalsName=t.analyzeLocalsGrid=t.createAnalyzer=void 0;var n=r(41257);Object.defineProperty(t,"createAnalyzer",{enumerable:!0,get:function(){return n.createAnalyzer}}),Object.defineProperty(t,"analyzeLocalsGrid",{enumerable:!0,get:function(){return n.analyzeLocalsGrid}}),Object.defineProperty(t,"analyzeLocalsName",{enumerable:!0,get:function(){return n.analyzeLocalsName}}),Object.defineProperty(t,"diagnostics",{enumerable:!0,get:function(){return n.diagnostics}}),Object.defineProperty(t,"summarizeFormulaDiagnostics",{enumerable:!0,get:function(){return n.summarizeFormulaDiagnostics}}),Object.defineProperty(t,"staticPrecedents",{enumerable:!0,get:function(){return n.staticPrecedents}}),Object.defineProperty(t,"createAnalyzeGlobals",{enumerable:!0,get:function(){return n.createAnalyzeGlobals}})},87481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLocaleInfo=h,t.localeInfoFromData=function(e){return h(e,{})},t.sheetRangeLocationToGridRange=m,t.sheetCellLocationToGridCell=function(e,t){const{row:r,column:n}=t;return(0,a.sheetGridCell)((0,a.sheetIndex)(e,t.sheetId),(0,a.gridCell)(r,n))},t.unusedCellsUpdateToUsedRange=function(e,t){const{sheetId:r,usedRange:o}=t;return(0,n.isDefined)(o)?m(e,{sheetId:r,...o}):(0,l.sheetUsedRange)((0,a.sheetIndex)(e,r),s.emptyUsedRange)},t.sheetGridRangeToCellSet=function({sheet:e,range:t},r,n){const o=function(e,t,r){const n=(0,i.createFromProduct)({row:t}),o=(0,i.createFromProduct)({col:r}),a=(0,i.unionProduct)(n,o);return(0,i.exceptProduct)((0,c.createCellSetFromRange)(e),a)}(t,r,n);return{sheet:e,set:o}},t.sheetGridRangeToHiddenRows=function({sheet:e,range:t},r){return{sheet:e,range:t,hidden:r}},t.sheetGridRangeToHiddenCols=function({sheet:e,range:t},r){return{sheet:e,range:t,hidden:r}},t.sheetGridRangeToLocation=f,t.gridCellToCellLocation=function({row:e,col:t}){return{row:e,column:t}},t.createExcludeCellSet=function(e,t,r,i){let a=o.empty;if((0,n.isNone)(i))return a;for(let s=0;s<i.length;s+=1){const l=i[s];if(e<=l&&l<e+t){let e=1;for(;s+e<i.length&&i[s+e]===l+e;)e+=1;s+=e-1,a=(0,o.union)(a,r((0,n.pair)(l,l+e)))}}return a},t.cellValueToReadOper=function(e,t){switch(typeof t){case"string":return(0,a.stringOper)(t);case"boolean":return(0,a.booleanOper)(t);case"number":return e.fromNumber(t)}switch(t.kind){case"Blank":return a.blankOper;case"Error":return(0,a.errorOper)(t.type);default:return}},t.readOperToCellValue=function(e,t){switch(t.kind){case a.OperKind.String:case a.OperKind.Boolean:return t.value;case a.OperKind.Number:return e.toNumber(t);case a.OperKind.Error:return(0,p.errorValue)(t.type);case a.OperKind.Blank:return p.blankValue;default:return}},t.namedObjectDataToNamedObject=function(e,t,r,o){if(!(0,n.isNone)(o))switch(o.kind){case"NamedValue":switch(typeof o.value){case"string":return(0,u.namedValue)((0,a.stringOper)(o.value));case"boolean":return(0,u.namedValue)((0,a.booleanOper)(o.value));case"number":return(0,u.namedValue)(e.fromNumber(o.value))}return"Error"===o.value.kind?(0,u.namedValue)((0,a.errorOper)(o.value.type)):(0,n.assertNever)("calc.calc.namedObjectDataToNamedObject: NamedValue",o.value.kind);case"NamedFormula":return(0,u.namedFormula)(o.formulaBarText);case"NamedRange":{const e=m(r,o.range);return(0,u.namedRange)((0,a.range3DOper)(e.sheet,e.range))}case"NamedTable":{const e=m(r,o.range);return(0,u.namedTable)(e,o.hasHeadersRow,o.hasTotalsRow,o.columns,t)}case"NamedFailure":return(0,u.namedFailure)(o.failureReason,(0,n.isNone)(o.objectKind)?void 0:o.objectKind);default:return(0,n.assertNever)("calc.calc.namedObjectDataToNamedObject: kind",o)}},t.namedObjectToNamedObjectData=function(e,t,r){if(r)switch(r.kind){case"NamedValue":switch(r.value.kind){case a.OperKind.Number:return(0,p.namedValueData)(e.toNumber(r.value));case a.OperKind.String:case a.OperKind.Boolean:return(0,p.namedValueData)(r.value.value);case a.OperKind.Error:return(0,p.namedValueData)(r.value.type);default:return}case"NamedFormula":return(0,p.namedFormulaData)(r.fmla);case"NamedRange":{const e=(0,a.sheetGridRange)((0,a.sheetIndex)(t,r.value.sheets.index),r.value.ranges[0]);return(0,p.namedRangeData)(f(e))}case"NamedTable":{const e=r.specialRefRanges[a.SpecialRefId.Data],t=[];return r.columnIndexes.forEach(((e,r)=>(t.push((0,p.columnData)(e,r)),!0))),(0,p.namedTableData)(f(e),r.hasHeadersRow,r.hasTotalsRow,t)}case"NamedFailure":return(0,p.namedFailureData)(r.failureReason,r.objectKind);default:return(0,n.assertNever)("calc.calc.namedObjectToNamedObjectData: kind",r)}},t.cellFormatToInferredFormat=function(e){if(void 0!==e)return(0,l.isOutputFormatUnavailable)(e.format)?(0,p.inferredFormat)({kind:e.format.kind},e.valueType,e.decimals):(0,p.inferredFormat)(e.format,e.valueType,e.decimals)},t.evalFormulaFormatToUnion=function(e){if(null!=e)switch(e.kind){case"Origin":return{kind:l.SpecialFormat.Origin};case"Iformat":return(0,n.assertTrue)("calc.calc.evalFormulaFormatToUnion: iformat","number"==typeof e.iformat),e.iformat;case"Known":return(0,n.assertTrue)("calc.calc.evalFormulaFormatToUnion: knownFormat","number"==typeof e.knownFormat),{kind:l.SpecialFormat.Known,knownFormat:e.knownFormat};case"Inferred":return{kind:l.SpecialFormat.Inferred};case"Aggregate":return{kind:l.SpecialFormat.Aggregate};default:return(0,n.assertNever)("calc.calc.evalFormulaFormatToUnion: kind",e.kind)}};const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(22096),l=r(9228),u=r(96630),c=r(99805),d=r(94928),p=r(18665);function h(e,t){const r=(0,n.makeStringCompareCI)("en-US"),{getWorksheetFuncId:o,getWorksheetFuncName:i}=function(e,t,r){const n=(0,a.getEnglishWorksheetFuncIdToName)().slice();return(0,d.filterCheck)(t,d.chWorksheetFunctionName,r,"localeData.worksheetFunctionNames").forEach((e=>n[e.functionId]=e.functionName)),(0,a.createWorksheetFuncNameCallbacks)(e,n)}(r,e.worksheetFunctionNames,t),s=(l=e.thousandsData,(0,n.isNone)(l)?e=>e>0&&e%3==0:(0,a.createIsThousandsPositionCallback)(l));var l;const u=function(e,t){const r=a.englishErrorNames.slice();return(0,d.filterCheck)(e,d.chErrorTypeName,t,"localeData.errorTypeNames").forEach((e=>r[e.errorType]=e.errorName)),r}(e.errorTypeNames,t),{lcid:c}=e,p=c===a.LCID.Thailand,h=c===a.LCID.Korea,g=c===a.LCID.Japan,m=c===a.LCID.ChinaT||c===a.LCID.HongKong,f=c===a.LCID.China,v=h||g||f||m,b=c===a.LCID.Hindi||c===a.LCID.Tamil,y=c===a.LCID.Thailand||c===a.LCID.Vietnam||b,S=(c&a.LCID.LANG)==(a.LCID.Hebrew&a.LCID.LANG)||(c&a.LCID.LANG)==(a.LCID.Arabic&a.LCID.LANG)||c===a.LCID.Syriac||y,C=";"===e.listSeparator||";"===e.decimalSeparator?";;":";";return{...e,cultureTag:{primary:e.cultureTagPrimary,userDefault:e.cultureTagUserDefault,instLang:e.cultureTagInstLang,userCurrent:e.cultureTagUserCurrent},leftBracket:"[",rightBracket:"]",rcLeftBracket:e.leftBracket,rcRightBracket:e.rightBracket,getWorksheetFuncId:o,getWorksheetFuncName:i,isNumeral:a.isNumeral,getOrdinal:a.getOrdinal,getNumberShape:a.getNumberShape,isThousandsPosition:s,isIdentStart:a.isIdentStart,isIdentContinue:a.isIdentContinue,stringCompareCI:r,errorNames:u,statementSeparator:C,isThai:p,isEastAsia:v,isKorea:h,isJapan:g,isChinaT:m,isChinaS:f,isComplexScript:S}}function g(e,t){return(0,n.isNone)(t)?{index:e,length:1}:{index:e,length:(0,n.fastAbs)(t-e)+1}}function m(e,t){const{index:r,length:n}=g(t.row,t.lastRow),{index:o,length:i}=g(t.column,t.lastColumn);return(0,a.sheetGridRange)((0,a.sheetIndex)(e,t.sheetId),(0,a.gridRange)(r,o,n,i))}function f(e){return(0,a.isSheetGridCell)(e)?(0,p.sheetRangeLocation)(e.sheet.index,e.range.row,e.range.col):(0,p.sheetRangeLocation)(e.sheet.index,e.range.row,e.range.col,e.range.row+e.range.rows-1,e.range.col+e.range.cols-1)}},99716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExceLintExperiment=void 0;const n=r(52123),o=r(85882),i=r(1311);t.ExceLintExperiment=class{get done(){return!0}setContext({documents:e}){try{n.ulsLogger.ULS.traceTag(578588694,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,"calc.calc.RecalcService: ExceLint experiment setContext started");const t=function(e){const t=e.getServerDocument(),r=[];for(const i of e.getServerAvailableCells()){let a="UndefinedSheet";if(void 0!==t){const r=e.getSheetName(t,i.sheetIdx.index);r.kind===n.ResultKind.Success&&(a=r.value)}const s=e.getServerUsedRange(i.sheetIdx);if(s.kind===n.ResultKind.Failure||void 0===s.value)continue;const l=s.value.sheet,u={...s.value.range};u.cols=Math.min(u.cols,75),u.rows=Math.min(u.rows,1e3);const c=[],d=[],p=[];let h=0;for(let t=u.row,r=u.row+u.rows-1;t<=r;t+=1){const r=[],i=[],a=[];for(let s=u.col,c=u.col+u.cols-1;s<=c;s+=1){const u=(0,o.sheetGridCell)(l,(0,o.gridCell)(t,s)),c=e.getServerValue(u),d=c.kind===n.ResultKind.Success?JSON.stringify(c.value):"";i.push(d);const p=e.getServerFormat(u),g=p.kind===n.ResultKind.Success?(0,n.fnv1a)(JSON.stringify(p.value)).toString():"";a.push(g);const m=e.getServerFormula(u),f=m.kind===n.ResultKind.Success?m.value?.[1].compiledFmla?.getValue():void 0,v=f?.kind===n.ResultKind.Success?m.value?.[1].fmla??"":"";""!==v&&(h+=1),r.push(v)}c.push(r),d.push(i),p.push(a)}if(0===h)continue;const g={sheetName:a,usedRangeAddress:(0,o.formatGridRange)(e.config.localeInfo,u,o.RefStyle.A1,a),values:d,formulas:c,styles:p};r.push(g)}return{workbookName:"PartialWorkbook",worksheets:r}}(e);this.result=(0,i.detect_errors)(t,void 0,void 0,this.timeLimitMS)}catch(e){this.result=`ExceLint experiment crashed with error: ${e}`}}step(){}get report(){return void 0===this.result||"string"==typeof this.result?[]:Object.keys(this.result.worksheets).map((e=>{const t=this.result.worksheets[e],r=t.exampleFixes.map(((e,r)=>{const o=t.proposedFixes[r][0],i=e.rangeSizes,a=i.reduce(((e,t)=>e+t),0);return{anomalousnessIndex:o,categories:e.bin,sizeOfCellRange:a,sizeOfEachSFRRange:i,redactedFormulaForEachSFR:e.formulas.map(n.anonymizeFormulaString),stylesDiffer:!e.sameFormat,operatorsDiffer:null,direction:e.direction}})),o=r.map((e=>e.sizeOfEachSFRRange.length)).reduce(((e,t)=>e+t),0);return{totalFormulas:t.numFormulaCells,totalSimilarFormulaRanges:o,numberOfAdjacentSFRs:r.length,numberOfAnomalousRanges:t.suspiciousRanges,numberOfCellsInAnomalousRanges:t.suspiciousCells,anomalies:r,elapsedTimeSeconds:t.elapsedTimeSeconds,proposedFixesTimeSeconds:t.proposedFixesTimeSeconds,adjustProposedFixesTimeSeconds:t.adjustProposedFixesTimeSeconds,adjustFormatProposedFixesTimeSeconds:t.adjustFormatProposedFixesTimeSeconds,exampleFixesTimeSeconds:t.exampleFixesTimeSeconds,numCountingTimeSeconds:t.numCountingTimeSeconds,columns:t.columns,rows:t.rows}})).filter((e=>e.totalFormulas>0))}get resultLogMessage(){return"string"==typeof this.result?this.result:void 0===this.result?"ExceLint experiment return <undefined>":`ExceLint experiment done. Result: ${JSON.stringify(this.report)}`}get failedLogMessage(){return this.resultLogMessage+" BTW, experiment ran out of time budget"}constructor(e=75){this.timeLimitMS=e,this.result=void 0}}},11870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrecisionExperiment=t.PrecisionStopReason=t.PrecisionMessageKind=void 0,t.precisionValue=p;const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(22096),l=r(9228),u=r(99805),c=r(7603),d=r(98088);function p(e,t){switch(t.kind){case a.OperKind.Number:return{kind:"n",magnitude:(0,n.anonymizeMagnitude)(e.toNumber(t))};case a.OperKind.String:return{kind:"s"};case a.OperKind.Boolean:return{kind:"b"};case a.OperKind.Error:return{kind:"e",type:(0,a.englishErrorTypeToName)(t.type)};case a.OperKind.Rich:return{kind:"r"};case a.OperKind.Array:return{kind:"a"};case a.OperKind.Blank:return{kind:"z"};default:return(0,n.assertNever)("calc.calc.precisionValue",t)}}var h,g;function m(e,t){const r=e[t.sheet.index];return void 0!==r&&(0,i.meetsProduct)(r,(0,u.createCellSetFromRange)(t.range))}function f(e,t){const r=e[t.sheet.index]??o.empty;e[t.sheet.index]=(0,i.unionProduct)(r,(0,u.createCellSetFromRange)(t.range))}!function(e){e.EvalStatistics="EvalStatistics",e.PrintFormulaStatistics="PrintFormulaStatistics",e.UnhandledFailure="UnhandledFailure"}(h||(t.PrecisionMessageKind=h={})),function(e){e.Success="Success",e.Timeout="Timeout"}(g||(t.PrecisionStopReason=g={}));const v={[a.OperatorId.Add]:.05,[a.OperatorId.Sub]:.069,[a.OperatorId.Eq]:.097,[a.OperatorId.Mul]:.1,[a.OperatorId.Div]:.11,[a.OperatorId.Concat]:.36,[a.OperatorId.Gt]:.65,[a.OperatorId.Ne]:.79,[a.OperatorId.Lt]:.89,[a.OperatorId.Le]:1.6,[a.OperatorId.Ge]:1.9,[a.OperatorId.Percent]:2.9,[a.OperatorId.At]:6.2,[a.OperatorId.Pow]:13,[a.OperatorId.Range]:67},b={[a.WorksheetFuncId.IF]:.076,[a.WorksheetFuncId.SUM]:.11,[a.WorksheetFuncId.IFERROR]:.5,[a.WorksheetFuncId.COUNTIF]:.77,[a.WorksheetFuncId.AND]:.82,[a.WorksheetFuncId.VLOOKUP]:1.5,[a.WorksheetFuncId.AVERAGE]:1.5,[a.WorksheetFuncId.HOUR]:1.9,[a.WorksheetFuncId.MINUTE]:1.9,[a.WorksheetFuncId.TEXT]:2,[a.WorksheetFuncId.OR]:2,[a.WorksheetFuncId.NOW]:2.1,[a.WorksheetFuncId.ISBLANK]:2.3,[a.WorksheetFuncId.CONCATENATE]:2.6,[a.WorksheetFuncId.SUMIF]:2.7,[a.WorksheetFuncId.COUNTIFS]:3.3,[a.WorksheetFuncId.LEFT]:3.4,[a.WorksheetFuncId.ISNUMBER]:3.7,[a.WorksheetFuncId.MID]:3.9,[a.WorksheetFuncId.COUNTA]:4,[a.WorksheetFuncId.MONTH]:4.2,[a.WorksheetFuncId.SECOND]:4.3,[a.WorksheetFuncId.LEN]:4.9,[a.WorksheetFuncId.WEEKNUM]:5,[a.WorksheetFuncId.DAY]:5.2,[a.WorksheetFuncId.ROUND]:5.4,[a.WorksheetFuncId.FIND]:5.8,[a.WorksheetFuncId.NETWORKDAYS]:6.2,[a.WorksheetFuncId.COUNT]:6.2,[a.WorksheetFuncId.YEAR]:6.3,[a.WorksheetFuncId.INT]:6.4,[a.WorksheetFuncId.RIGHT]:6.7,[a.WorksheetFuncId.ABS]:7,[a.WorksheetFuncId.CONCAT]:7.2,[a.WorksheetFuncId.CHAR]:7.4,[a.WorksheetFuncId.MAX]:8,[a.WorksheetFuncId.ROW]:8.1,[a.WorksheetFuncId.WEEKDAY]:9.1,[a.WorksheetFuncId.DAYS]:9.2,[a.WorksheetFuncId.MIN]:9.8,[a.WorksheetFuncId.SEARCH]:9.8,[a.WorksheetFuncId.WORKDAY]:11,[a.WorksheetFuncId.DATEDIF]:12,[a.WorksheetFuncId.TIME]:13,[a.WorksheetFuncId.HYPERLINK]:13,[a.WorksheetFuncId.IFS]:13,[a.WorksheetFuncId.ISERROR]:13,[a.WorksheetFuncId.COUNTBLANK]:14,[a.WorksheetFuncId.TODAY]:14,[a.WorksheetFuncId.VALUE]:18,[a.WorksheetFuncId.ROUNDUP]:18,[a.WorksheetFuncId.MATCH]:19,[a.WorksheetFuncId.DATE]:20,[a.WorksheetFuncId.SUBSTITUTE]:20,[a.WorksheetFuncId.INDIRECT]:22,[a.WorksheetFuncId.INDEX]:23,[a.WorksheetFuncId.TRIM]:24,[a.WorksheetFuncId.UPPER]:25,[a.WorksheetFuncId.SUMIFS]:28,[a.WorksheetFuncId.EXACT]:29,[a.WorksheetFuncId.NOT]:32,[a.WorksheetFuncId.PRODUCT]:35,[a.WorksheetFuncId.ROUNDDOWN]:37,[a.WorksheetFuncId.AVERAGEIF]:38,[a.WorksheetFuncId.ISTEXT]:40,[a.WorksheetFuncId.ISOWEEKNUM]:41,[a.WorksheetFuncId.EOMONTH]:42,[a.WorksheetFuncId.MROUND]:45,[a.WorksheetFuncId.COLUMN]:45,[a.WorksheetFuncId.ROWS]:46,[a.WorksheetFuncId.TIMEVALUE]:52,[a.WorksheetFuncId.TRUNC]:53,[a.WorksheetFuncId.LOOKUP]:59,[a.WorksheetFuncId.NA]:59,[a.WorksheetFuncId.DAYS360]:61,[a.WorksheetFuncId.RANK]:67,[a.WorksheetFuncId.EDATE]:72,[a.WorksheetFuncId.MOD]:82,[a.WorksheetFuncId.OFFSET]:83,[a.WorksheetFuncId.STDEV]:87,[a.WorksheetFuncId.SUBTOTAL]:91},y=(0,a.binaryVisitor)({...(0,a.constVisitor)(.01),nameNode:()=>1,operatorNode:e=>v[e]??100,wsfNode:e=>b[e]??100},n.fastMax);t.PrecisionExperiment=class{get done(){return void 0!==this.result}get resultLogMessage(){return this.createResultLogMessage(g.Success)}get failedLogMessage(){return this.createResultLogMessage(g.Timeout)}get readonlyDebugLog(){return this.log}setContext(e){this.stateId=e.stateId,this.docs=e.documents,this.docs.reconfigure({yieldIntervalMs:e.stepBudget/2,totalTimeMs:e.totalBudget},this.docs.limits,this.docs.maxDereferenceCells,this.docs.isServerWorkbookLoad),this.runtime=new n.MachineRuntime(this.sampleCells().bind((({evalCells:e,printCells:t})=>n.Pledge.all([...e.map(this.testEval),...t.map(this.testPrint)]))).catch((e=>{this.log.push({kind:h.UnhandledFailure,reason:e})})))}step(){if(this.result)return;const e=this.runtime.step();this.result=e.kind===n.TransitionKind.Break||e.kind===n.TransitionKind.Next?void 0:e}sampleCells(){const e=[],t=[],r=[];return this.docs.getServerAvailableCells().forEach((({sheetIdx:i})=>(r.push(n.Pledge.try((()=>{this.docs.forEachServerNonBlankCellInSet(i,o.dense,(r=>{const o=(0,a.sheetGridCell)(i,r),{samplePrecisionEvalRate:s,samplePrecisionPrintFormulaRate:l,samplePrecisionPrintValueRate:u}=this.config;if(s>0){const t=this.getWeight(o),r=void 0===t?void 0:s>=1?1:(0,n.fastMin)(1,s*t);void 0!==r&&this.rng.next()<r&&(f(this.sampledSets,o),e.push({cell:o,p:r}))}const c=(0,n.fastMax)(l,u);if(c>0){const e=this.rng.next();if(e<c){const r=this.isValueCell(o)?u:l;e<r&&t.push({cell:o,p:r})}}return!0}))}))),!0))),n.Pledge.all(r).bind((()=>({evalCells:e,printCells:t})))}getWeight(e){const t=this.getFormula(e);if(!(0,n.isSuccess)(t))return this.onUnavailableObject(t.reason);const[,r]=t.value;return void 0!==r.compiledFmla?function(e){return(0,n.isSuccess)(e)?(0,a.reduceBottomUp)(y,e.value):1}(r.compiledFmla.getValue()):void 0}isValueCell(e){const t=this.getFormula(e);return(0,n.isSuccess)(t)?void 0===t.value[1].compiledFmla:(this.onUnavailableObject(t.reason),!1)}resumeToPledge(e,t){return n.Pledge.try((()=>{try{this.p=t;const r=e();return Array.isArray(r)?r:this.resumeToPledge(r.resume,t)}finally{this.p=void 0}}))}getFormula(e){const t=this.docs.getEditedFormula(e);if(!(0,n.isSuccess)(t))return t;const[r,o]=t.value??[e.range,s.blankCellGridFormula],i=(0,a.lexicalSourceGrid)(o.lexicalKind,(0,a.sheetGridRange)(e.sheet,r));return(0,n.success)([i,o])}onRangeFailure(e,t,r,n,o){const i={samples:[],failures:[t]};this.log.push({kind:h.EvalStatistics,stats:i})}onNameFailure(){}onNumberFormatFailure(){}onInferFormatFailure(){}onReturnCellValue(){}onUnavailableObject(e){const t=(0,a.unavailable)([e]);this.onUnavailable(t)}onUnavailable(e){this.log.push({kind:h.UnhandledFailure,reason:e})}hasWrongPrecedent(e){return e.cells.some((e=>m(this.precisionWrongSets,e)))}onSetCellValue(e,t,r,o,i){const a=this.getFormula(e);if(!(0,n.isSuccess)(a))return this.onUnavailableObject(a.reason);const[s,l]=a.value,u=this.hasWrongPrecedent(r);return this.logPrecisionResult(e,t,s,l,u)}onSetCellValues(e,t,r,o,i){const s=this.getFormula((0,a.sheetGridRangeAnchor)(e));if(!(0,n.isSuccess)(s))return this.onUnavailableObject(s.reason);const[l,u]=s.value,c=this.hasWrongPrecedent(r);(0,a.forEachCellInRange)(e.range,((r,n,o)=>(this.logPrecisionResult((0,a.sheetGridCell)(e.sheet,r),t[n][o],l,u,c),!0)))}logPrecisionResult(e,t,r,o,i){const a=this.docs.allServerAvailable(e);if(!(0,n.isSuccess)(a))return this.onUnavailableObject(a.reason);if(!0!==a.value)return;const s=this.docs.getServerValue(e);if(!(0,n.isSuccess)(s))return this.onUnavailableObject(s.reason);const l=m(this.sampledSets,e),u=this.precisionResult(t,s.value.oper,r,o,l,i);(function(e){return void 0===e.sampled})(u)||f(this.precisionWrongSets,e);const c={samples:[u],failures:[]};this.log.push({kind:h.EvalStatistics,stats:c})}precisionResult(e,t,r,o,i,s){const l=this.p,{mathpack:u}=this.docs.config,c=p(u,t),[d,h]=this.docs.anonymizeFormula(r,o);if((0,a.isReadOperEqual)(u,e,t,!0))return{expected:c,formula:d,functions:h,root:i,cascaded:s,p:l};const g=p(u,e);if((0,a.isNumberOper)(t)&&(0,a.isNumberOper)(e)){const r=u.toNumber(t),o=u.toNumber(e);return{expected:c,sampled:g,relMagnitude:(0,n.anonymizeMagnitude)(0===r?o:(o-r)/r),formula:d,functions:h,root:i,cascaded:s,p:l}}return{expected:c,sampled:g,formula:d,functions:h,root:i,cascaded:s,p:l}}createResultLogMessage(e){if(0===this.log.length&&e===g.Success)return;const t={samples:[],failures:{}},r={samples:[],failures:{}},o={};for(const e of this.log)switch(e.kind){case h.EvalStatistics:t.samples.push(...e.stats.samples);for(const r of e.stats.failures)(0,c.incrementFailure)(t.failures,r);break;case h.PrintFormulaStatistics:r.samples.push(...e.stats.samples);for(const t of e.stats.failures)(0,c.incrementFailure)(r.failures,t);break;case h.UnhandledFailure:(0,c.incrementFailure)(o,e.reason);break;default:(0,n.assertNever)("calc.calc.PrecisionExperiment.createResultMessage",e)}return["PrecisionExperiment",e,`stateId = ${this.stateId}`,`evalStats = ${JSON.stringify(t)}`,`printStats = ${JSON.stringify(r)}`,`unhandledFailures = ${JSON.stringify(o)}`].join(", ")}constructor(e){this.sampledSets={},this.precisionWrongSets={},this.log=[],this.result=void 0,this.testEval=({cell:e,p:t})=>this.resumeToPledge((()=>this.docs.evaluate(l.ComputeKind.EditedCell,[e],d.VolatileMode.PrecisionTest)),t),this.testPrint=({cell:e,p:t})=>n.Pledge.try((()=>{const r=this.getFormula(e);if(!(0,n.isSuccess)(r))return this.onUnavailableObject(r.reason);const[o,i]=r.value;let a;if(void 0===i.compiledFmla){const t=this.docs.getServerValue(e);if(!(0,n.isSuccess)(t))return this.onUnavailableObject(t.reason);a=this.docs.renderValueBarText(e,t.value.oper,i.fmla)}else{const e=i.compiledFmla.getValue();a=(0,n.isSuccess)(e)?this.docs.printFormulaBarText(o,i.origin,e.value):e}if(!(0,n.isSuccess)(a))return void this.log.push({kind:h.PrintFormulaStatistics,stats:{samples:[],failures:[a.reason]}});const s=(0,n.anonymizeFormulaString)(i.fmla),l=a.value===i.fmla?{expected:s,p:t}:{expected:s,sampled:(0,n.anonymizeFormulaString)(a.value),p:t};this.log.push({kind:h.PrintFormulaStatistics,stats:{samples:[l],failures:[]}})})),this.config={samplePrecisionEvalRate:e.samplePrecisionEvalRate??0,samplePrecisionPrintFormulaRate:e.samplePrecisionPrintFormulaRate??0,samplePrecisionPrintValueRate:e.samplePrecisionPrintValueRate??0,rngSeed:e.rngSeed??0|(0,n.now)()},this.rng=new n.JSF32(this.config.rngSeed)}}},72568:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Messages=void 0,function(e){e.Root="calc.exp.UnitExperiment",e.Default="uninitialised",e.Initialised="init",e.Failure="fail",e.UnifyBound="unifyBound"}(r||(t.Messages=r={}))},6881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConstraintKind=t.UnitExperimentSettings=void 0,t.makeSolverContext=function(e,t,r){const n=new u.UF,o=n.makePoint(b),i=(0,c.createPoisonApplication)(b);return{symbolContext:e,typeContext:t,stats:r,uf:n,errorPoint:o,errorUnit:b,apply:i}},t.isInterestingFormat=I,t.updateFormatStatsFromCellFormat=x,t.valueTypeFromCellFormat=w,t.numberFormatFromCellFormat=P,t.runSolverStep=function(e){return e.kind===l.ExperimentState.SolvingSimple?e.constraintCursor===e.constraints.length?function(e){const{apply:t,errorUnit:r}=e.context,n={kind:l.ExperimentState.SolvingFull,context:e.context,stats:e.stats,constraints:e.deferred,constraintCursor:0,unifyNF:(e,o)=>{const i=t(n.substitution,e);if(i===r)return;const a=t(n.substitution,o);if(a===r)return;const s=(0,c.unify)(t,i,a);s.kind!==c.UnificationResultKind.Subst?(n.stats.errorCount+=1,n.stats.enriched.errors.push({error:[t(n.substitution,e),t(n.substitution,o)]})):n.substitution=(0,c.compose)(t,s.substitution,n.substitution)},substitution:N(e.context)};return n}(e):function(e){const{constraints:t,context:r,constraintCursor:n,deferred:a}=e,s=t[n];let l;switch(s.kind){case h.UnitEquality:l=function(e,t){return A(e,t.unit,t.target)}(r,s);break;case h.FormatEquality:l=_(r,s);break;case h.RangeEquality:l=function(e,t){const r=t.type.resolution;if(!(0,i.isSheetIndex)(r.sheet))return m;if((0,i.isGridCell)(r.range)){const n=R(e,r.sheet,r.range);return void 0===n?m:A(e,n,t.target)}const n=e.typeContext.available[r.sheet.index];if(void 0===n)return m;const a=n.usedRange;if(void 0===a)return m;const s=(0,i.gridRangeIsect)(r.range,a);if(void 0===s)return m;const l=(0,o.intersectProduct)((0,o.intersectProduct)((0,p.createCellSetFromRange)(s),p.availableReadProduct),n.availableCells),u=[];return(0,p.forEachCellInSet)(l,(e=>(u.push(e),!0))),{kind:g.Staged,constraint:{kind:h.StagedRangeEquality,cursor:0,index:n.sheetIdx,cells:u,target:t.target},output:void 0}}(r,s);break;case h.StagedRangeEquality:l=function(e,t){const{cursor:r,cells:n}=t;if(r>=n.length)return m;const o=n[r],i=R(e,t.index,o),a=void 0===i?m:A(e,i,t.target);return t.cursor+=1,{kind:g.Staged,constraint:t,output:a}}(r,s)}switch(l.kind){case g.Deferred:a.push(l.constraint);break;case g.Failed:e.stats.errorCount+=1,e.stats.enriched.errors.push({error:l.error});break;case g.Staged:if(t[n]=l.constraint,void 0!==l.output)switch(l.output.kind){case g.Deferred:a.push(l.output.constraint);break;case g.Failed:e.stats.errorCount+=1,e.stats.enriched.errors.push({error:l.output.error})}return e}return e.constraintCursor+=1,e}(e):function(e){const{constraints:t,context:r,constraintCursor:o,unifyNF:i}=e,a=t[o];switch(a.kind){case h.UnitEquality:i(a.unit,a.target.unit);break;case h.FormatEquality:const t=D(r,a.format);if(void 0===t)break;const o=R(r,a.cell.sheet,a.cell.range);if(void 0===o)break;i(t,o);break;default:return e.constraintCursor+=1,(0,n.assertNever)(s.Messages.Root,a)}return e.constraintCursor+=1,e}(e)};const n=r(52123),o=r(62272),i=r(85882),a=r(43177),s=r(72568),l=r(7200),u=r(62969),c=r(53871),d=r(9228),p=r(99805);var h,g;t.UnitExperimentSettings={get UnitlessTimeAndDate(){return(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.UnitlessTimeAndDate")},get IgnoreDivMul(){return(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.UnitExpIgnoreDivMul")}},function(e){e[e.RangeEquality=0]="RangeEquality",e[e.StagedRangeEquality=1]="StagedRangeEquality",e[e.UnitEquality=2]="UnitEquality",e[e.FormatEquality=3]="FormatEquality"}(h||(t.ConstraintKind=h={})),function(e){e[e.Solved=0]="Solved",e[e.Failed=1]="Failed",e[e.Deferred=2]="Deferred",e[e.Staged=3]="Staged"}(g||(g={}));const m={kind:g.Solved},f=e=>({kind:g.Failed,error:e}),v=e=>({kind:g.Deferred,constraint:e}),b=(0,c.fromConstants)({error:1}),y=(0,c.fromConstants)({}),S=(0,c.fromConstants)({currency:1}),C=(0,c.fromConstants)({date:1}),T=(0,c.fromConstants)({time:1});function k(e,t){return void 0===t.link&&(t.link=e.uf.makePoint(t.unit)),t.link}function F(e,t,r,o){return(0,n.assertTrue)(s.Messages.Root,0===r.varCount),e.uf.union(void 0===o?e.uf.makePoint(r):o,t,!0),m}function E(e,t,r,o,i){return t===e.errorUnit?((0,n.assertTrue)(s.Messages.Root,r===e.errorPoint),void 0!==i&&e.uf.union(e.errorPoint,i,!0),m):o===e.errorUnit?((0,n.assertTrue)(s.Messages.Root,i===e.errorPoint),void 0!==r&&e.uf.union(e.errorPoint,r,!0),m):0===t.varCount?0===o.varCount?(0,c.areSignaturesEqual)(t,o)?m:(void 0!==r&&e.uf.union(e.errorPoint,r,!0),void 0!==i&&e.uf.union(e.errorPoint,i,!0),f([t,o])):((0,n.assertTrue)(s.Messages.Root,void 0!==i),F(e,i,t,r)):1===o.varCount?((0,n.assertTrue)(s.Messages.Root,void 0!==r),(0,n.assertTrue)(s.Messages.Root,void 0!==i),e.uf.union(r,i),m):((0,n.assertTrue)(s.Messages.Root,void 0!==r),F(e,r,o,i))}function A(e,t,r){if(!(0,c.isSimpleUnit)(t))return v({kind:h.UnitEquality,unit:t,target:r});const o=k(e,r),[i,a]=e.uf.findWithDescriptor(o);if(1===t.varCount){(0,n.assertTrue)(s.Messages.Root,void 0!==t.name);const r=e.symbolContext.getTable().getValue(t.name);(0,n.assertTrue)(s.Messages.Root,void 0!==r);const[o,l]=e.uf.findWithDescriptor(k(e,r));return E(e,l,o,a,i)}return E(e,t,void 0,a,i)}function I(e,t){if(t===d.SpecialFormat.Unavailable||0===t)return!1;const r=P(e,t);if(void 0===r)return!1;const n=r?.valueType;return void 0!==n&&n!==a.FormatValueType.General&&(n!==a.FormatValueType.Currency&&n!==a.FormatValueType.Accounting||void 0!==r.currencySymbol)}function x(e,t,r,n){n?r.referencedFormatCells+=1:r.allFormatCells+=1;const o=P(e,t),i=n?r.enriched.referencedFormatTypes:r.enriched.allFormatTypes,s=o?.valueType;if(void 0!==s&&(i[s]=(i[s]??0)+1),s===a.FormatValueType.Currency||s===a.FormatValueType.Accounting){const e=n?r.enriched.referencedCurrencyTypes:r.enriched.allCurrencyTypes,t=o?.currencySymbol,i=o?.culture?.culture,s=void 0===t?"none":t===a.FormatCurrency.LocaleInfo?"defaultSymbol":t+"_"+i;e[s]=(e[s]??0)+1}}function w(e,t){return P(e,t)?.valueType}function P(e,t){if("number"==typeof t){const r=e.getIformat(t);return(0,n.isSuccess)(r)?r.value:void 0}return t}function R(e,t,r){const o=e.typeContext.types[t.index];if(void 0===o)return(0,n.assertFalse)(s.Messages.Root);const a=o.getValue(r);if(void 0===a){const a=(0,i.sheetGridCell)(t,r),s=e.typeContext.formats(a);if((0,n.isSuccess)(s)){if(!I(e.typeContext,s.value)||e.typeContext.isStringValue(a)){const n=e.symbolContext.freshSymbol().unit;return e.typeContext.types[t.index]=o.setValue(r,(0,l.primitiveUnitType)(n)),n}let n=D(e,s.value);return void 0===n?n=e.symbolContext.freshSymbol().unit:x(e.typeContext,s.value,e.stats,!0),e.typeContext.types[t.index]=o.setValue(r,(0,l.primitiveUnitType)(n)),n}const u=e.symbolContext.freshSymbol().unit;return e.typeContext.types[t.index]=o.setValue(r,(0,l.primitiveUnitType)(u)),u}return a.kind===l.TypeKind.Scalar?a.unit:void 0}function D(e,r){const n=w(e.typeContext,r);if(void 0!==n)switch(n){case a.FormatValueType.Currency:case a.FormatValueType.Accounting:return S;case a.FormatValueType.Percentage:return y;case a.FormatValueType.Date:return t.UnitExperimentSettings.UnitlessTimeAndDate?y:C;case a.FormatValueType.Time:return t.UnitExperimentSettings.UnitlessTimeAndDate?y:T;default:return}}function _(e,t){const r=D(e,t.format);if(void 0===r)return m;const o=R(e,t.cell.sheet,t.cell.range);if(void 0===o)return m;if(!(0,c.isSimpleUnit)(o))return v(t);if(1===o.varCount){(0,n.assertTrue)(s.Messages.Root,void 0!==o.name);const t=e.symbolContext.getTable().getValue(o.name);(0,n.assertTrue)(s.Messages.Root,void 0!==t);const[i,a]=e.uf.findWithDescriptor(k(e,t));return E(e,a,i,r,void 0)}return E(e,o,void 0,r,void 0)}function N(e){const t=e.symbolContext.getTable();return r=>{const n=t.getValue(r);if(void 0!==n&&void 0!==n.link)return void 0===n.ufSubstitution&&(n.ufSubstitution=e.uf.findWithDescriptor(n.link)[1]),n.ufSubstitution}}},7200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExperimentState=t.primitiveUnitType=t.primitiveType=t.topType=t.bottomType=t.oneType=t.errorType=t.dimensionlessNumberType=t.dimensionLess=t.numberType=t.stringType=t.boolType=t.TypeKind=void 0,t.makePrimitiveType=s,t.makeReferenceType=l,t.makeResolvedReferenceType=function(e,t){const r=l(e);return r.resolution=t,r},t.makeArrayType=u,t.dimensionsFromType=d,t.getLiftingDimensionsFromTypes=function(e,t){return p(d(e),d(t))},t.joinDimensions=p,t.typeFromDimensions=function(e,t){return!0===t?e:u(e,t)},t.isResolvedReferenceType=function(e){return void 0!==e.resolution};const n=r(85882),o=r(53871);var i,a;function s(e,t=void 0){return{kind:i.Scalar,flags:e,unit:t}}function l(e){return{kind:i.Reference,reference:e,resolution:void 0}}function u(e,t){return{kind:i.Array,elementType:e,dimensions:t}}function c(e){return{kind:i.Union,flags:e}}function d(e){switch(e.kind){case i.Reference:const t=e.resolution?.range;return void 0!==t&&(!!(0,n.isGridCell)(t)||{rows:t.rows,columns:t.cols,exact:!0});case i.Array:return e.dimensions;case i.Scalar:return!0;case i.Union:return!1}}function p(e,t){return"object"==typeof e?"object"==typeof t?{rows:Math.max(e.rows,t.rows),columns:Math.max(e.columns,t.columns),exact:e.exact&&t.exact}:{...e,exact:e.exact&&t}:"object"==typeof t?{...t,exact:t.exact&&e}:e&&t}!function(e){e[e.Scalar=0]="Scalar",e[e.Reference=1]="Reference",e[e.Array=2]="Array",e[e.Union=3]="Union"}(i||(t.TypeKind=i={})),t.boolType=s(n.OperKind.Boolean),t.stringType=s(n.OperKind.String),t.numberType=s(n.OperKind.Number),t.dimensionLess=(0,o.fromConstants)({}),t.dimensionlessNumberType=s(n.OperKind.Number,t.dimensionLess),t.errorType=s(n.OperKind.Error),t.oneType=s(n.OperKind.Missing|n.OperKind.Blank),t.bottomType=c(n.SignatureType.None),t.topType=c(n.SignatureType.All),t.primitiveType=s(n.OperKind.Number|n.OperKind.Boolean|n.OperKind.String),t.primitiveUnitType=e=>s(n.OperKind.Number|n.OperKind.Boolean|n.OperKind.String,e),function(e){e[e.Checking=0]="Checking",e[e.SolvingSimple=1]="SolvingSimple",e[e.SolvingFull=2]="SolvingFull"}(a||(t.ExperimentState=a={}))},62969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UF=void 0,t.UF=class{makePoint(e){const t=this.roots.length;return this.roots.push(t),this.backlinks.push(t),this.descriptors.push(e),this.ranks.push(0),t}find(e){const t=this.roots;let r=e;for(;t[r]!==r;)t[r]=t[t[r]],r=t[r];return r}findWithDescriptor(e){const t=this.find(e);return[t,this.descriptors[t]]}union(e,t,r=!1){const n=this.find(e),o=this.find(t);if(n===o)return;const i=this.roots,a=this.backlinks,s=this.ranks;if(r){const e=a[o];return a[o]=a[n],a[n]=e,i[o]=n,void(s[n]<=s[o]&&(s[n]=s[o]+1))}if(s[n]<s[o]){const e=a[n];a[n]=a[o],a[o]=e,i[n]=o}else{const e=a[o];a[o]=a[n],a[n]=e,i[o]=n,s[n]===s[o]&&(s[n]+=1)}}forEachInClass(e,t){const r=this.backlinks;let n=e;for(t(n);r[n]!==e;)n=r[n],t(n)}constructor(){this.roots=[],this.backlinks=[],this.descriptors=[],this.ranks=[]}}},49188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnitExperiment=void 0;const n=r(52123),o=r(62272),i=r(85882),a=r(72568),s=r(6881),l=r(7200),u=r(53871),c=r(99805);t.UnitExperiment=class{get done(){return this.isDone}freshCheckingState(e){this.lastStepMessage="freshCheckingState";const t=[],r={};e.getServerAvailableCells().forEach((o=>{const i=e.getServerUsedRange(o.sheetIdx);if(i.kind!==n.ResultKind.Success)return this.isDone=!0,void(this.statsMessage="Unit experiment: getServerUsedRange failed");const a={...o,usedRange:i.value?.range};r[o.sheetIdx.index]=a,t.push(a)}));const o=void 0===e.getServerDocument()?()=>(0,n.failure)(void 0):t=>e.getIformat(e.getServerDocument(),t);return{kind:l.ExperimentState.Checking,locale:e.config.localeInfo,mathpack:e.config.mathpack,resolver:(0,i.createResolver)(e),documentTypeContext:{formats:t=>e.getServerFormat(t),types:{},available:r,getIformat:o,isStringValue:t=>{if(void 0===e.getServerDocument())return!1;const r=e.getServerValue(t);return r.kind===n.ResultKind.Success&&r.value.oper.kind===i.OperKind.String}},constraints:[],stats:{formulaCells:0,referencedFormatCells:0,allFormatCells:0,totalCells:0,errorCount:0,enriched:{errors:[],referencedFormatTypes:{},allFormatTypes:{},referencedCurrencyTypes:{},allCurrencyTypes:{}}},sheets:t,mutableState:{symbolContext:d.init(),ranges:void 0,cells:void 0,sheetCursor:0,rangeCursor:0,cellCursor:0}}}freshSolvingState(e){return this.lastStepMessage="freshSolvingState",{kind:l.ExperimentState.SolvingSimple,stats:e.stats,context:(0,s.makeSolverContext)(e.mutableState.symbolContext,e.documentTypeContext,e.stats),constraints:e.constraints,constraintCursor:0,deferred:[]}}step(){if(!this.isDone){if(void 0===this.documentContext)return this.isDone=!0,(0,n.assertNever)(`${a.Messages.Root}.${a.Messages.Initialised}`,this.documentContext);void 0===this.state&&(this.state=this.freshCheckingState(this.documentContext));try{const e=this.state;switch(e.kind){case l.ExperimentState.Checking:return e.mutableState.sheetCursor<e.sheets.length?void(this.state=this.runCheckStep(this.documentContext,e)):void(this.state=this.freshSolvingState(e));case l.ExperimentState.SolvingSimple:return this.lastStepMessage="SolvingSimple",void(this.state=(0,s.runSolverStep)(e));case l.ExperimentState.SolvingFull:return e.constraintCursor<e.constraints.length?(this.lastStepMessage="SolvingFull",void(this.state=(0,s.runSolverStep)(e))):(this.lastStepMessage="done SolvingFull",this.isDone=!0,void(this.statsMessage=this.statsForLogging(e.stats)))}}catch(e){return this.statsMessage=`${a.Messages.Root}.${a.Messages.Failure}: ${(0,n.messageFromError)(e)}`,void(this.isDone=!0)}}}setContext({documents:e}){this.documentContext=e}initialiseSheetStep(e){this.lastStepMessage="initialiseSheetStep";const{mutableState:t,sheets:r}=e,{sheetCursor:n}=t,a=r[n],s=a.usedRange,l=[];if(void 0!==s){const e=(0,o.intersectProduct)(a.availableCells,c.availableReadProduct);(0,c.forEachRangeInSet)(e,(e=>{const t=(0,i.gridRangeIsect)(e,s);if(void 0!==t){if((0,i.gridRangeSize)(t)<250)return l.push(t),!0;(0,i.forEachTileInRange)(t,15,(e=>(l.push(e),!0)))}return!0}))}return t.ranges=l,t.rangeCursor=0,e.documentTypeContext.types[a.sheetIdx.index]=(0,i.makeGridRangeTable)(),e}initialiseRangeCells(e,t){this.lastStepMessage="initialiseRangeCells";const{mutableState:r,stats:o,sheets:a}=t,{sheetCursor:l}=r,u=[],d=a[l],p=r.ranges[r.rangeCursor];return e.forEachServerNonBlankCellInSet(d.sheetIdx,(0,c.createCellSetFromRange)(p),(r=>{const a=(0,i.sheetGridCell)(d.sheetIdx,r),l=e.getServerFormula(a);l.kind===n.ResultKind.Success&&void 0!==l.value?.[1].compiledFmla&&(u.push(l.value[1]),o.formulaCells+=1);const c=e.getServerFormat(a);return c.kind===n.ResultKind.Success&&(0,s.isInterestingFormat)(t.documentTypeContext,c.value)&&(0,s.updateFormatStatsFromCellFormat)(t.documentTypeContext,c.value,o,!1),o.totalCells+=1,!0})),r.cells=u,r.cellCursor=0,t}checkCell(e,t){this.lastStepMessage="checkCell";const{sheets:r,constraints:o,stats:a,mutableState:u}=t,{cells:c,sheetCursor:d,cellCursor:p}=u,h=r[d],g=c[p],v=g.compiledFmla.getValue();if(v.kind===n.ResultKind.Success){const r=(0,i.sheetGridCell)(h.sheetIdx,g.origin),u=function(e,t,r){const{constraints:n,locale:o,mathpack:a,resolver:u,documentTypeContext:c}=e,d=c.types[t.sheet.index],p=e.mutableState.symbolContext.copy(),h={origin:t,locale:o,mathpack:a,resolver:u,symbolContext:p,pushConstraint:e=>void 0!==e&&(n.push(e),!0)},g=function(e,t){return(0,i.reducePledge)(new b(e),t)}(h,r),v=m(h,g);let y=f(h,void 0===v?l.topType:v);if(y.kind===l.TypeKind.Reference){const e=p.freshSymbol(),t={kind:s.ConstraintKind.RangeEquality,type:y,target:e};y=(0,l.primitiveUnitType)(e.unit),n.push(t)}return e.mutableState.symbolContext=p,y.kind===l.TypeKind.Array?d:d.setValue(t.range,y)}(t,r,v.value);t.documentTypeContext.types[h.sheetIdx.index]=u;const c=e.getServerFormat(r);c.kind===n.ResultKind.Success&&(0,s.isInterestingFormat)(t.documentTypeContext,c.value)&&(o.push({kind:s.ConstraintKind.FormatEquality,cell:r,format:c.value}),(0,s.updateFormatStatsFromCellFormat)(t.documentTypeContext,c.value,a,!0))}return t.mutableState.cellCursor+=1,t}runCheckStep(e,t){if(!function(e){return void 0!==e.mutableState.ranges}(t))return this.initialiseSheetStep(t);const{mutableState:r}=t;return r.rangeCursor===r.ranges.length?(r.ranges=void 0,r.sheetCursor+=1,t):function(e){return void 0!==e.mutableState.cells}(t)?r.cellCursor<t.mutableState.cells.length?this.checkCell(e,t):(r.cells=void 0,r.rangeCursor+=1,t):this.initialiseRangeCells(e,t)}statsForLogging(e){return JSON.stringify(e)}get resultLogMessage(){return this.statsMessage??`${a.Messages.Root}.${a.Messages.Default}`}get failedLogMessage(){const e=this.state?.kind,t=this.state?.kind===l.ExperimentState.Checking&&0===this.state?.mutableState.cellCursor;return`Units experiment timed out. Last step: ${this.lastStepMessage}. Experiment state: ${void 0!==e?l.ExperimentState[e]:"NotStarted"}. isCellCursorZero: ${t}. Number of constraints: ${this.state?.constraints.length}. Stats: ${this.statsForLogging(this.state?.stats)}`}constructor(){this.isDone=!1,this.lastStepMessage="before started"}};class d{static init(){return new d(0,n.RedBlackMapTree.create(((e,t)=>e.localeCompare(t))))}getTable(){return this.table}freshSymbol(e){const t=`${void 0===e?"gen":e}@${this.seed+=1}`,r={unit:(0,u.fromVar)(t),link:void 0,ufSubstitution:void 0};return this.table=this.table.setValue(t,r),r}copy(){return new d(this.seed,this.table)}constructor(e,t){this.seed=e,this.table=t}}function p(e,t,r){switch(e.kind){case l.TypeKind.Array:if(e.elementType.kind===l.TypeKind.Reference)return;return r?p(e.elementType,t,!1):void 0;case l.TypeKind.Reference:return{kind:s.ConstraintKind.RangeEquality,type:e,target:t};case l.TypeKind.Scalar:return void 0===e.unit?void 0:{kind:s.ConstraintKind.UnitEquality,unit:e.unit,target:t};case l.TypeKind.Union:return;default:return(0,n.assertNever)(a.Messages.Root,e)}}function h(e,t,r){switch(t.kind){case l.TypeKind.Array:if(t.elementType.kind===l.TypeKind.Reference)return;return r?h(e,t.elementType,!1):void 0;case l.TypeKind.Reference:const o=e.symbolContext.freshSymbol(),i={kind:s.ConstraintKind.RangeEquality,type:t,target:o};return[o.unit,i];case l.TypeKind.Scalar:return void 0===t.unit?void 0:[t.unit,void 0];case l.TypeKind.Union:return;default:return(0,n.assertNever)(a.Messages.Root,t)}}function g(e){const t=e.length;if(0===t)return l.topType;let r=l.bottomType;const n=e[0].length;for(let t=0;t<e.length;t+=1){const n=e[t];for(let e=0;e<n.length;e+=1)o=r,i=n[e],r=o===l.bottomType?i:i===l.bottomType||o===l.topType?o:i===l.topType?i:o.kind===l.TypeKind.Scalar&&i.kind===l.TypeKind.Scalar&&void 0===o.unit&&void 0===i.unit?(0,l.makePrimitiveType)(o.flags|i.flags):l.topType}var o,i;return(0,l.makeArrayType)(r,{rows:t,columns:n,exact:!0})}function m(e,t){if(t.kind===l.TypeKind.Reference&&!(0,l.isResolvedReferenceType)(t)){const r=function(e,t){const r=(0,i.resolveLocalsGrid)(e.origin),{resolution:o}=e.resolver.resolveCellRef(r,t.reference);return!!(0,n.isSuccess)(o)&&(!o.value||o.value)}(e,t);return"object"==typeof r?(0,l.makeResolvedReferenceType)(t.reference,r):r?l.errorType:void 0}if(t.kind===l.TypeKind.Array){const r=m(e,t.elementType);return void 0===r?r:r===t.elementType?t:(0,l.makeArrayType)(r,t.dimensions)}return t}function f(e,t){switch(t.kind){case l.TypeKind.Scalar:if(void 0===t.unit){const r=e.symbolContext.freshSymbol();return(0,l.makePrimitiveType)(t.flags,r.unit)}return t;case l.TypeKind.Array:let r=t;const o=[];for(;r.kind===l.TypeKind.Array;)o.push(r.dimensions),r=r.elementType;const i=f(e,r);return o.reduceRight(l.makeArrayType,i);case l.TypeKind.Reference:case l.TypeKind.Union:return t;default:return(0,n.assertNever)(a.Messages.Root,t)}}function v(e,t,r,n,o){const i=e.symbolContext.freshSymbol(),a=p(t,i,n),s=p(r,i,n);if(void 0!==a&&void 0!==s||o&&(void 0!==a||void 0!==s))return e.pushConstraint(a),e.pushConstraint(s),i}class b{literalNode(e){return n.Pledge.resolve(function(e){switch(e.kind){case i.OperKind.Number:return l.numberType;case i.OperKind.String:return l.stringType;case i.OperKind.Boolean:return l.boolType;case i.OperKind.Error:return l.errorType;default:return l.oneType}}(e))}arrayNode(e){return n.Pledge.all(e.map((e=>n.Pledge.all(e.map(this.lazyVisitFormulaNode))))).bind(g)}appNode(e,t){return e.kind===i.NodeKind.Operator?n.Pledge.all(t.map((e=>this.lazyVisitFormulaNode(e).bind((t=>[t,e]))))).bind((t=>function(e,t,r){switch(t){case i.OperatorId.Add:case i.OperatorId.Sub:case i.OperatorId.Mul:case i.OperatorId.Div:case i.OperatorId.Pow:case i.OperatorId.Eq:case i.OperatorId.Ne:case i.OperatorId.Lt:case i.OperatorId.Le:case i.OperatorId.Gt:case i.OperatorId.Ge:case i.OperatorId.Range:case i.OperatorId.Isect:case i.OperatorId.Union:case i.OperatorId.Concat:case i.OperatorId.And:case i.OperatorId.Or:case i.OperatorId.Xor:case i.OperatorId.Min:case i.OperatorId.Max:return function(e,t,r){if(r.length<2)return l.topType;const o=m(e,r[0][0]),c=m(e,r[1][0]);if(void 0===o||void 0===c)return l.topType;const d=(0,l.getLiftingDimensionsFromTypes)(o,c);if(!1===d)return l.topType;const g="object"==typeof d;switch(t){case i.OperatorId.Add:case i.OperatorId.Sub:case i.OperatorId.Min:case i.OperatorId.Max:{const t=v(e,o,c,g,!0);return(0,l.typeFromDimensions)(void 0===t?l.numberType:(0,l.makePrimitiveType)(i.OperKind.Number,t.unit),d)}case i.OperatorId.Eq:case i.OperatorId.Ne:case i.OperatorId.Lt:case i.OperatorId.Le:case i.OperatorId.Gt:case i.OperatorId.Ge:return v(e,o,c,g,!1),(0,l.typeFromDimensions)(l.boolType,d);case i.OperatorId.Mul:case i.OperatorId.Div:if(s.UnitExperimentSettings.IgnoreDivMul)return l.numberType;{const r=e.symbolContext.freshSymbol(),n=e.symbolContext.freshSymbol(),a=p(o,r,g),s=p(c,n,g);if(e.pushConstraint(a),e.pushConstraint(s),void 0===a&&void 0===s)return(0,l.typeFromDimensions)(l.numberType,d);const h=t===i.OperatorId.Mul?(0,u.prod)(r.unit,n.unit):(0,u.prod)(r.unit,(0,u.inv)(n.unit));return(0,l.typeFromDimensions)((0,l.makePrimitiveType)(i.OperKind.Number,h),d)}case i.OperatorId.Pow:const[,m]=r[1];if((0,i.isNumberLiteralNode)(m)){const t=e.mathpack.toNumber(m.oper);if((0,n.isInteger)(t)){const r=h(e,o,"object"==typeof d);return void 0===r?(0,l.typeFromDimensions)(l.numberType,d):(e.pushConstraint(r[1]),(0,l.typeFromDimensions)((0,l.makePrimitiveType)(i.OperKind.Number,(0,u.pow)(r[0],t,l.dimensionLess)),d))}}return l.topType;case i.OperatorId.Range:case i.OperatorId.Isect:case i.OperatorId.Union:return l.topType;case i.OperatorId.Concat:return(0,l.typeFromDimensions)(l.stringType,d);case i.OperatorId.And:case i.OperatorId.Or:case i.OperatorId.Xor:return(0,l.typeFromDimensions)(l.boolType,d);default:return(0,n.assertNever)(a.Messages.Root,t)}}(e,t,r);case i.OperatorId.Percent:case i.OperatorId.Neg:case i.OperatorId.Pos:case i.OperatorId.At:case i.OperatorId.Pound:return function(e,t,r){if(r.length<1)return l.topType;const[o]=r[0],s=m(e,o);if(void 0===s)return l.topType;const u=(0,l.dimensionsFromType)(s);if(!1===u)return l.topType;switch(t){case i.OperatorId.Percent:return(0,l.typeFromDimensions)(l.dimensionlessNumberType,u);case i.OperatorId.Neg:case i.OperatorId.Pos:const r=h(e,s,"object"==typeof u);return void 0===r?(0,l.typeFromDimensions)(l.numberType,u):(e.pushConstraint(r[1]),(0,l.typeFromDimensions)((0,l.makePrimitiveType)(i.OperKind.Number,r[0]),u));case i.OperatorId.At:case i.OperatorId.Pound:return l.topType;default:return(0,n.assertNever)(a.Messages.Root,t)}}(e,t,r);default:return(0,n.assertNever)(a.Messages.Root,t)}}(this.context,e.id,t))):e.kind===i.NodeKind.WSF?n.Pledge.all(t.map(this.lazyVisitFormulaNode)).bind((t=>function(e,t,r){switch(t){case i.WorksheetFuncId.SUM:case i.WorksheetFuncId.AVERAGE:case i.WorksheetFuncId.MAX:case i.WorksheetFuncId.MIN:if(0===r.length)return l.topType;const t=e.symbolContext.freshSymbol();let n=!0;return r.forEach((r=>{const o=m(e,r);o&&e.pushConstraint(p(o,t,!0))&&(n=!1)})),n?l.numberType:(0,l.makePrimitiveType)(i.OperKind.Number,t.unit);case i.WorksheetFuncId.IF:if(r.length<2)return l.topType;const o=m(e,r[0]),a=m(e,r[1]),s=m(e,void 0===r[2]?l.boolType:r[2]);if(void 0===o)return void 0!==a&&void 0!==s&&v(e,a,s,!0,!1),l.topType;const u=(0,l.dimensionsFromType)(o),c="object"==typeof u;if(void 0===a||void 0===s)return l.topType;const d=v(e,a,s,!0,!0),h=d?(0,l.primitiveUnitType)(d.unit):l.primitiveType;return c?(0,l.makeArrayType)(h,u):h;default:return l.topType}}(this.context,e.id,t))):n.Pledge.resolve(l.topType)}letNode(e,t,r,o){return n.Pledge.resolve(l.topType)}lambdaNode(e,t,r,o){return n.Pledge.resolve(l.topType)}parenNode(e){return this.lazyVisitFormulaNode(e)}nameNode(e,t){return n.Pledge.resolve(l.topType)}cellRefNode(e,t){return n.Pledge.resolve((0,l.makeReferenceType)((0,i.cellRefNode)(e,t)))}fieldRefNode(e,t){return n.Pledge.resolve(l.topType)}structRefNode(e,t){return n.Pledge.resolve(l.topType)}missingNode(e){return n.Pledge.resolve(l.topType)}badSequenceNode(e,t){return n.Pledge.resolve(l.topType)}badCharsNode(e,t){return n.Pledge.resolve(l.topType)}operatorNode(e,t){return n.Pledge.resolve((0,i.operatorNode)(e,t))}wsfNode(e,t,r){return n.Pledge.resolve((0,i.wsfNode)(e,t,r))}constructor(e){this.context=e,this.visitFormulaNode=e=>(0,i.visitFormulaNode)(this,e),this.lazyVisitFormulaNode=e=>n.Pledge.resolve(e).bind(this.visitFormulaNode)}}},53871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unify=t.UnificationResultKind=t.someVar=t.everyVar=t.someConst=t.everyConst=void 0,t.makeSignature=l,t.fromConstants=h,t.fromVar=function(e){const t=l(1,{[e]:1},d);return t.name=e,t},t.isSimpleUnit=function(e){if(0===e.varCount)return!0;if(void 0!==e.name)return!0;if(1===e.varCount&&(e.consts===d||(0,t.everyConst)(e,g))){const t=function(e,t){for(const t in e.vars)return 1===e.vars[t]?t:void 0}(e);return void 0!==t&&(e.name=t,!0)}return!1},t.areSignaturesEqual=function(e,t){return m(e,t)&&m(t,e)},t.prod=function(e,t){const r=p(),{vars:n,consts:i}=e,{vars:a,consts:l}=t;for(const e in n){const t=n[e]+(a[e]??0);0!==t&&(r.vars[e]=t,r.varCount+=1)}for(const e in i){const t=i[e]+(l[e]??0);0!==t&&(r.consts[e]=t)}for(const e in a)void 0===n[e]&&(r.vars[e]=a[e],r.varCount+=1);for(const e in l)void 0===i[e]&&(r.consts[e]=l[e]);return s(o.Messages.Root,r),r},t.inv=function(e){const t=p(),{vars:r,consts:n}=e;for(const e in r)t.vars[e]=-r[e];for(const e in n)t.consts[e]=-n[e];return t.varCount=e.varCount,s(o.Messages.Root,t),t},t.pow=function(e,t,r){if(0===t)return r;const n=p(),{vars:i,consts:a}=e;for(const e in i)n.vars[e]=i[e]*t;for(const e in a)n.consts[e]=a[e]*t;return n.varCount=e.varCount,s(o.Messages.Root,n),n},t.shuffleNormalForms=function(e,r){const i=p(),a=p(),l=i.vars,u=a.consts;for(const t in e.vars){const n=e.vars[t]-(r.vars[t]??0);0!==n&&(l[t]=n,i.varCount+=1)}for(const t in r.vars)void 0===e.vars[t]&&(l[t]=-r.vars[t],i.varCount+=1);for(const t in r.consts){const n=r.consts[t]-(e.consts[t]??0);0!==n&&(u[t]=n)}for(const t in e.consts)void 0===r.consts[t]&&(u[t]=-e.consts[t]);return s(o.Messages.Root,i),s(o.Messages.Root,a),(0,n.assertTrue)(o.Messages.Root,(0,t.everyConst)(i,g)),{vars:i,consts:a}},t.toUnitConstraint=f,t.serialiseMeasure=function(e){const t=[],r=[];for(const n in e.vars){const o=e.vars[n];o>0?t.push([n,o]):r.push([n,o])}for(const n in e.consts){const o=e.consts[n];o>0?t.push([n,o]):r.push([n,o])}if(0===r.length)return 0===t.length?"1":t.map((([e,t])=>v(e,t,!0,1))).join("*");let n=r.map((([e,t])=>v(e,t,!1,-1))).join("*");return r.length>1&&(n="("+n+")"),0===t.length?`1/${n}`:`${t.map((([e,t])=>v(e,t,!0,1))).join("*")}/${n}`},t.substituteVariable=b,t.createPoisonApplication=function(e){return(t,r)=>{if(0===r.varCount||t===S)return r;let n=r;for(const o in r.vars){const r=t(o);if(r===e)return e;void 0!==r&&(n=b(o,n,r))}return n}},t.compose=E;const n=r(52123),o=r(72568);function i(e,t){for(const r in e)if(!t(r,e[r]))return!1;return!0}const a=(e,t)=>!i(e,((e,r)=>!t(e,r)));function s(e,t){let r=0;!function(e,t){for(const t in e)e[t],r+=1}(t.vars),(0,n.assertTrue)(e,void 0===t.name||1===t.varCount),(0,n.assertTrue)(e,t.varCount===r)}function l(e,t,r){const n={varCount:e,vars:t,consts:r,name:void 0};return s(o.Messages.Root,n),n}function u(){}function c(){return new u}t.everyConst=(e,t)=>i(e.consts,t),t.someConst=(e,t)=>a(e.consts,t),t.everyVar=(e,t)=>i(e.vars,t),t.someVar=(e,t)=>a(e.vars,t);const d=c();function p(){return l(0,{},c())}function h(e){return l(0,{},e)}const g=()=>!1;function m(e,r){return(0,t.everyVar)(e,((e,t)=>r.vars[e]===t))&&(0,t.everyConst)(e,((e,t)=>r.consts[e]===t))}function f(e,t){const r=p(),{vars:n,consts:i}=e,{vars:a,consts:l}=t;for(const e in n){const t=n[e]-(a[e]??0);0!==t&&(r.vars[e]=t,r.varCount+=1)}for(const e in i){const t=i[e]-(l[e]??0);0!==t&&(r.consts[e]=t)}for(const e in a)void 0===n[e]&&(r.vars[e]=-a[e],r.varCount+=1);for(const e in l)void 0===i[e]&&(r.consts[e]=-l[e]);return s(o.Messages.Root,r),r}function v(e,t,r,n){return r?1===t?e:`${e}^${t}`:-1===t?e:`${e}^${t*n}`}function b(e,t,r){const{vars:n,consts:o}=t,i=n[e];if(void 0===i)return t;let a=0;const{vars:s,consts:u}=p();for(const t in n){const o=r.vars[t],l=void 0===o?0:o,u=(t===e?0:n[t])+l*i;0!==u&&(a+=1,s[t]=u)}for(const e in r.vars)void 0===n[e]&&(a+=1,s[e]=i*r.vars[e]);for(const e in o){const t=r.consts[e],n=o[e]+i*(void 0===t?0:t);0!==n&&(u[e]=n)}for(const e in r.consts)void 0===o[e]&&(u[e]=i*r.consts[e]);return l(a,s,u)}var y;!function(e){e[e.Fail=0]="Fail",e[e.Subst=1]="Subst"}(y||(t.UnificationResultKind=y={}));const S=()=>{},C={kind:y.Subst,substitution:S},T=e=>({kind:y.Subst,substitution:e}),k={kind:y.Fail},F=e=>e<0?-e:e;function E(e,t,r){const n={};return r===S?t:t===S?r:o=>{const i=n[o];if(void 0!==i)return i;const a=r(o);return n[o]=void 0===a?t(o):e(t,a)}}function A(e,t){return r=>e===r?t:void 0}function I(e,r,i){if(e>=100)return(0,n.assertFalse)(o.Messages.UnifyBound);if(0===i.varCount)return(0,t.everyConst)(i,g)?C:k;if(1===i.varCount){let e;for(const t in i.vars){e=t;break}(0,n.assertTrue)(o.Messages.Root,void 0!==e);const t=i.vars[e],r={};for(const e in i.consts){const n=i.consts[e];if(n%t!=0)return k;r[e]=-n/t}return T(A(e,h(r)))}let a,s,u=0;const{vars:c,consts:d,varCount:p}=i;for(const e in c){const t=c[e],r=F(t);(void 0===s||r<s)&&(u=t,s=r,a=e)}(0,n.assertTrue)(o.Messages.Root,void 0!==a),(0,n.assertTrue)(o.Messages.Root,0!==u);const m={},f={};for(const e in c)if(e===a)m[e]=1;else{const t=c[e];m[e]=-Math.floor(t/u)}for(const e in d){const t=d[e];f[e]=-Math.floor(t/u)}const v=l(p,m,f),S=I(e+1,r,b(a,i,v));return S.kind===y.Fail?S:T(E(r,S.substitution,A(a,v)))}t.unify=(e,t,r)=>I(0,e,f(t,r))},52294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMissingJSFeatures=a,t.logMissingJSFeatures=function(e){e().then((e=>{const t={main:a(),worker:e},r=`calc.calc.logMissingJSFeatures: missing = ${JSON.stringify(t)}`;n.ulsLogger.ULS.traceTag(561534152,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,r)})).catch((e=>{const t=`calc.calc.logMissingJSFeatures: threw ${(0,n.messageFromError)(e)}`;n.ulsLogger.ULS.traceTag(561534153,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,t)}))};const n=r(52123),o=r(85882),i=[{name:"self",test:()=>"undefined"!=typeof self},{name:"setImmediate",test:()=>"function"==typeof setImmediate},{name:"fetch",test:()=>"function"==typeof fetch},{name:"Set",test:()=>"function"==typeof Set},{name:"Map",test:()=>"function"==typeof Map},{name:"WeakMap",test:()=>"function"==typeof WeakMap},{name:"Symbol",test:()=>"function"==typeof Symbol},{name:"WebAssembly",test:()=>"object"==typeof WebAssembly},{name:"Atomics",test:()=>"object"==typeof Atomics},{name:"BigInt",test:()=>"function"==typeof BigInt},{name:"String.startsWith",test:()=>"function"==typeof"".startsWith},{name:"String.codePointAt",test:()=>"function"==typeof"".codePointAt},{name:"Object.assign",test:()=>"function"==typeof Object.assign},{name:"Object.setPrototypeOf",test:()=>"function"==typeof Object.setPrototypeOf},{name:"Number.EPSILON",test:()=>"number"==typeof Number.EPSILON},{name:"Number.isFinite",test:()=>"function"==typeof Number.isFinite},{name:"Number.parseInt",test:()=>"function"==typeof Number.parseInt},{name:"Math.acosh",test:()=>"function"==typeof Math.acosh},{name:"Math.hypot",test:()=>"function"==typeof Math.hypot},{name:"Math.log1p",test:()=>"function"==typeof Math.log1p},{name:"Math.trunc",test:()=>"function"==typeof Math.trunc},{name:"Promise.finally",test:()=>"function"==typeof Promise.resolve().finally},{name:"RegExp_flags",test:()=>(new RegExp("x","i"),!0)},{name:"RegExp.flags",test:()=>"string"==typeof/x/.flags},{name:"Array.of",test:()=>"function"==typeof Array.of},{name:"Array.entries",test:()=>"function"==typeof[].entries},{name:"Array.find",test:()=>"function"==typeof[].find},{name:"performance",test:()=>"object"==typeof performance},{name:"performance.now",test:()=>"function"==typeof performance.now},{name:"performance.timeOrigin",test:()=>"number"==typeof performance.timeOrigin},{name:"performance.memory",test:()=>"object"==typeof performance.memory}];function a(){return i.map((({name:e,test:t})=>{try{return t()?"":e}catch{return e}})).filter((e=>e.length>0))}},88756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormulaEvaluationTreeExtractor=t.PartialWorkbook=t.EvalOnClonePropsFromPartialWBDocumentCollection=t.EvalOnClonePropsFromPartialWB=t.MaxStateIdDifferenceForGC=void 0;const n=r(52123),o=r(62272),i=r(85882),a=r(43177),s=r(14382),l=r(41257),u=r(68247),c=r(11870),d=r(27733),p=r(22096),h=r(9228),g=r(99805),m=r(4084),f=r(94928),v=r(7603),b=r(14676),y=r(98088),S=r(99355),C=2*i.sheetCols;t.MaxStateIdDifferenceForGC=17;const T=(0,i.gridRange)(0,0,i.sheetRows,i.sheetCols);function k(e,t){let r;return t.kind===s.ReasonKind.Unavailable&&t.objects.length>0&&"kind"in t.objects[0]&&(r=t.objects[0].kind),(0,n.failure)({cell:e,kind:t.kind,innerKind:r})}const F=(0,i.binaryVisitor)({...(0,i.constVisitor)(!1),wsfNode:e=>e===i.WorksheetFuncId.HYPERLINK},((e,t)=>e||t));var E,A;!function(e){e.EvalFinished="EvalFinished",e.EvalTimedOut="EvalTimedOut",e.StateIdAdvanced="StateIdAdvanced",e.EditReceived="EditReceived",e.SetSheetNames="SetSheetNames",e.SetLangConfig="SetLangConfig"}(E||(E={})),t.EvalOnClonePropsFromPartialWB=class{constructor(e,t){this.formatResults=t,this.resultsPromise=new n.ResolvablePromise,this.stateId=-1,this.cloneLazy=new y.ResettableLazy((()=>e.createSnapshotSync()))}},t.EvalOnClonePropsFromPartialWBDocumentCollection=class{constructor(e,t){this.formatResults=t,this.resultsPromise=new n.ResolvablePromise,this.stateId=-1,this.cloneLazy=new y.ResettableLazy((()=>e.clone(d.voidCallback,p.CloningTarget.Client)))}},function(e){e[e.ServerUpdate=0]="ServerUpdate",e[e.ClientEdit=1]="ClientEdit",e[e.EvalFormula=2]="EvalFormula",e[e.BeforeCompute=3]="BeforeCompute",e[e.ComputeCellValue=4]="ComputeCellValue",e[e.AfterCompute=5]="AfterCompute",e[e.ComputeEvalOnClone=6]="ComputeEvalOnClone",e[e.ComputeEvalFormula=7]="ComputeEvalFormula",e[e.RecalcFinished=8]="RecalcFinished",e[e.CompleteDataQuery=9]="CompleteDataQuery",e[e.MaybeCollectGarbage=10]="MaybeCollectGarbage",e[e.RunExperiment=11]="RunExperiment",e[e.TestAdvanceState=12]="TestAdvanceState"}(A||(A={}));class I{reconfigure(e){this.config=e,this.rng=new n.JSF32(void 0!==e.rngSeed?e.rngSeed:0),this.docs.reconfigure(e,e,e.maxDereferenceCells??C,e.isServerWorkbookLoad??!1)}getDocs(){return this.docs}setWorksheetFuncOverrides(e){this.docs.setWorksheetFuncOverrides(e)}onNameFailure(e,t,r){r.computeKind!==h.ComputeKind.EvalFormula&&this.outputMessageLog.push({kind:h.OutputMessageKind.NameFailure,stateId:this.stateId,name:e,reason:t})}onRangeFailure(e,t,r,n,o){o.computeKind!==h.ComputeKind.EvalFormula&&this.outputMessageLog.push({kind:h.OutputMessageKind.RangeFailure,stateId:this.stateId,cellKind:n,range:e,reason:t})}onNumberFormatFailure(e){this.outputMessageLog.push({kind:h.OutputMessageKind.NumberFormatFailure,stateId:this.stateId,reason:e})}onInferFormatFailure(e,t){this.outputMessageLog.push({kind:h.OutputMessageKind.InferFormatFailure,stateId:this.stateId,range:e,reason:t})}onUnavailableObject(e){const t=(0,i.unavailable)([e]);this.onUnavailable(t)}onUnavailable(e){this.outputMessageLog.push({kind:h.OutputMessageKind.UnhandledFailure,stateId:this.stateId,reason:e})}onSetCellValue(e,t,r,n,o){if(o.computeKind===h.ComputeKind.EvalFormula)return;const i=this.outputCell(e,t,n,this.printFormulaProperties);void 0!==i?(this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,message:h.RecalcStatisticsMessage.ChangedCell,stateId:this.stateId,cellKind:n}),n!==h.ComputedCellKind.EditedCell&&n!==h.ComputedCellKind.DependentCell||this.outputMessageLog.push({kind:h.OutputMessageKind.CellWrite,stateId:this.stateId,cellKind:n,cell:e,...i,formatted:this.formatValue(n,e,t)})):this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,message:h.RecalcStatisticsMessage.UnchangedCell,stateId:this.stateId,cellKind:n})}onSetCellValues(e,t,r,n,o){if(o.computeKind===h.ComputeKind.EvalFormula)return;const a=this.outputRange(e,t,n);void 0!==a&&(n!==h.ComputedCellKind.EditedCell&&n!==h.ComputedCellKind.DependentCell||this.outputMessageLog.push({kind:h.OutputMessageKind.RangeWrite,stateId:this.stateId,cellKind:n,range:e,...a,formatted:t.map(((t,r)=>t.map(((t,o)=>this.formatValue(n,(0,i.sheetGridCell)(e.sheet,(0,i.gridCell)(e.range.row+r,e.range.col+o)),t)))))}))}onReturnCellValue(e,t,r){const n=this.outputCell(e,t,r,(()=>this.printValueProperties(e,t)));void 0!==n?(this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,message:h.RecalcStatisticsMessage.ChangedCell,stateId:this.stateId,cellKind:h.ComputedCellKind.EditedCell}),r===h.ComputedCellKind.EditedCell&&this.outputMessageLog.push({kind:h.OutputMessageKind.CellWrite,stateId:this.stateId,cellKind:h.ComputedCellKind.EditedCell,cell:e,...n,formatted:this.formatValue(r,e,t)})):this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,message:h.RecalcStatisticsMessage.UnchangedCell,stateId:this.stateId,cellKind:h.ComputedCellKind.EditedCell})}createSnapshot(e,t=p.CloningTarget.Client){return new Promise((r=>{this.scheduler.addTask(A.CompleteDataQuery,m.QueuePos.Back,{onRun:()=>{let n=!1;const o=this.docs.clone(d.voidCallback,t);void 0!==this.latestSnapshot&&-1!==this.latestSnapshotID&&this.latestSnapshot.compareVersion(o)||(n=!0,this.latestSnapshot=o,this.latestSnapshotID=e),S.x10Logger.log({kind:"snapshotCreation",payload:n}),r({snapshot:this.latestSnapshot,correspondingId:this.latestSnapshotID})},onDeleted:()=>{r(void 0)}})}))}createSnapshotSync(e=p.CloningTarget.Client){return this.docs.clone(d.voidCallback,e)}outputCell(e,t,r,o){let i;if(r===h.ComputedCellKind.EditedCell||r===h.ComputedCellKind.DependentCell){const r=this.docs.testAndSetClientValue(e,t);i=(0,n.isSuccess)(r)?r.value?t:void 0:void this.onUnavailableObject(r.reason)}const a=this.outputFormat(e,r),s=this.outputFormulaProperties(e,r,o);return void 0!==i||void 0!==a||void 0!==s?{value:t,format:a,formulaBarText:s?.formulaBarText,hasHyperlink:s?.hasHyperlink}:void 0}outputRange(e,t,r){if(r===h.ComputedCellKind.EditedCell||r===h.ComputedCellKind.DependentCell){const r=this.docs.setClientValue(e,t);(0,n.isSuccess)(r)||this.onUnavailableObject(r.reason)}const o=t.map(((t,n)=>t.map(((t,o)=>this.outputFormat((0,i.sheetGridCell)(e.sheet,(0,i.gridCell)(e.range.row+n,e.range.col+o)),r))))),a=this.outputFormulaProperties(e,r,this.printFormulaProperties);return{values:t,formats:o,formulaBarText:a?.formulaBarText}}outputFormat(e,t){if(t!==h.ComputedCellKind.EditedCell)return;const r=this.docs.getEditedFormat(e);if(!(0,n.isSuccess)(r))return void this.onUnavailableObject(r.reason);const o=this.docs.testAndSetClientFormat(e,r.value);if(!(0,n.isSuccess)(o))return void this.onUnavailableObject(o.reason);if(!o.value)return;const s=r.value;if(s===h.SpecialFormat.Unavailable)return{format:(0,i.unavailable)([{kind:h.UnavailableKind.CellFormat}]),valueType:a.FormatValueType.Custom,decimals:0};const l=this.docs.resolveCellFormat(e.sheet.document,s);return(0,n.isSuccess)(l)?{format:"number"==typeof s?s:s.formatString,valueType:l.value.valueType,decimals:l.value.decimals}:void 0}outputFormulaProperties(e,t,r){if(t!==h.ComputedCellKind.EditedCell)return;const o=r(e);if(void 0===o)return;const{formulaBarText:i,hasHyperlink:a,isFormula:s}=o,l=this.docs.testAndSetClientFormula(e,i,a);if(!(0,n.isSuccess)(l))return void this.onUnavailableObject(l.reason);const{hasFmlaChanged:u,hasHyperlinkChanged:c}=l.value;return u||c?{formulaBarText:u?i:void 0,hasHyperlink:c?a:void 0,isFormula:s}:void 0}formatValue(e,t,r,o){const i=o??this.docs,a=i.formatValueCell(t,r);if((0,n.isSuccess)(a))return a.value;i===this.docs&&this.outputMessageLog.push({kind:h.OutputMessageKind.FormatValueFailure,stateId:this.stateId,cellKind:e,range:t,reason:a.reason})}getAvailableFormula(e){const t=this.docs.getEditedFormula(e);if(!(0,n.isSuccess)(t))return t;if(void 0===t.value)return(0,n.failure)({kind:h.UnavailableKind.CellMissingFormula});const[r,o]=t.value;if(void 0===o.compiledFmla)return(0,n.failure)({kind:h.UnavailableKind.CellEvaluatingValue});const a=(0,i.lexicalSourceGrid)(o.lexicalKind,(0,i.sheetGridRange)(e.sheet,r));return(0,n.success)([a,o])}formulaHasHyperlink(e){if(e.lexicalKind!==i.LexicalKind.Cell)return!1;const t=e?.compiledFmla.getValue();return(0,n.isSuccess)(t)?(0,i.reduceBottomUp)(F,t.value):void 0}handleSetCellContents(e,t,r,o,a,s,l,u,c,d,p){let g,m,f,v=void 0!==c?(0,i.unavailable)([{kind:h.UnavailableKind.ClientFailure,reason:c}]):void 0,b=l;void 0!==o?(g=o,(0,n.assertTrue)("calc.calc.PartialWorkbook.handleSetCellContents: formula edit",void 0!==a),m=a):void 0===r?((0,n.assertTrue)("calc.calc.PartialWorkbook.handleSetCellContents: format edit",!e&&void 0===a&&void 0!==l&&void 0===v),g=!1,m=void 0):((0,n.assertTrue)("calc.calc.PartialWorkbook.handleSetCellContents: inferred edit",!e&&void 0===v&&b===h.SpecialFormat.Weak),({isFormula:g,oper:m,cellFailure:v,cellFormat:b,inferredFormat:f}=this.parseInferredEdit(t,r,s,v,b,p)));const y=void 0!==p?p.cloneLazy.getValue():this.docs,S=y.setCellContents(e,t,r,g,s,m,v,b,u,d);if(S.kind===n.ResultKind.Failure)return this.onUnavailableObject(S.reason);if(y.onCellModified(e),!e){const e=(0,i.sheetGridCell)(t.sheet,s);let o=void 0===r?(0,n.success)(void 0):g?y.inferFormulaFormat(e):void 0!==f&&f!==i.KnownFormat.General?y.resolveValueFormat(t.sheet.document,f):(0,n.success)(void 0);o.kind!==n.ResultKind.Success&&(this.onInferFormatFailure(e,o.reason),o=(0,n.success)(h.SpecialFormat.Unavailable)),void 0!==o.value&&y.fillInferredFormat(t,o.value),void 0!==p?(p.stateId=this.stateId,this.enqueueEvalFormulaComputeCellValuesOnDocs(t,y,p)):this.enqueueBeforeCompute(d)}}parseInferredEdit(e,t,r,o,s,l){const c=l?l.cloneLazy.getValue().parseInferredEdit((0,i.sheetGridCell)(e.sheet,r),t,this.getVolatileMode()):this.docs.parseInferredEdit((0,i.sheetGridCell)(e.sheet,r),t,this.getVolatileMode());if(!(0,n.isSuccess)(c))return{isFormula:!1,oper:i.blankOper,cellFailure:c.reason,cellFormat:h.SpecialFormat.Unavailable};const d=t.length>0?t.charAt(0):"";switch("="!==d&&"+"!==d&&"-"!==d||c.value.kind!==a.EditKind.Formula&&c.value.kind!==a.EditKind.Number||n.ulsLogger.ULS.dnmTraceTag(541189698,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,JSON.stringify({startChar:d,editKind:String(c.value.kind)})),c.value.kind){case a.EditKind.Formula:return{isFormula:!0,oper:i.blankOper,cellFailure:o,cellFormat:s};case a.EditKind.String:case a.EditKind.Other:return{isFormula:!1,oper:c.value.value,cellFailure:o,cellFormat:s};case a.EditKind.Number:return{isFormula:!1,oper:c.value.value,cellFailure:o,cellFormat:s,inferredFormat:c.value.format}}}handleSetRangeFormula(e,t,r,o,a){const s=(0,f.isFormulaText)(r);(0,n.assertTrue)("calc.calc.PartialWorkbook: handleSetRangeFormula",""===r&&!e||s);const l=e?void 0:i.blankOper,u=e?void 0:h.SpecialFormat.Weak,c=e?void 0:h.SpecialStyle.Weak,d=this.docs.setRangeFormula(e,t,r,o,l,u,c,a);if(d.kind===n.ResultKind.Failure)return this.onUnavailableObject(d.reason);this.docs.onCellModified(e),e||this.enqueueBeforeCompute(a)}handleEditPaste(e,t,r,o){const a=(0,i.sheetGridRange)(t.sheet,(0,i.gridRange)(t.range.row,t.range.col,r.range.rows,r.range.cols)),s=this.docs.copyRange(r);if(s.kind===n.ResultKind.Failure)return this.onUnavailableObject(s.reason);const l=this.docs.pasteRange(a,s.value);if(l.kind===n.ResultKind.Failure)return this.onUnavailableObject(l.reason);this.docs.onCellModified(!1),this.enqueueBeforeCompute(o)}handleAssumeRecalcFinal(e){this.scheduler.getCount(A.BeforeCompute)<0||this.scheduler.addTask(A.ComputeCellValue,m.QueuePos.Front,(()=>{const t=this.docs.assumeRecalcFinal(e);if(t.kind===n.ResultKind.Failure)return this.onUnavailableObject(t.reason)}))}evalFormula(e,t,r,o,i){return new Promise((a=>{const l=()=>a({value:(0,n.failure)(s.stopped)});this.scheduler.deleteTasks(A.EvalFormula,void 0),this.scheduler.addTask(A.EvalFormula,m.QueuePos.Back,{onRun:()=>{if(!i&&!this.trySetStateId(A.EvalFormula,e))return l();this.enqueueComputeEvalFormula(t,r,o,i,void 0,a)},onDeleted:l}),this.enqueueRecalcFinished()}))}evalFormulaTree(e,t,r,o,i){const a=new x(i??this.docs);return new Promise((l=>{const u=()=>l({value:(0,n.failure)(s.stopped)});this.scheduler.deleteTasks(A.EvalFormula,void 0),this.scheduler.addTask(A.EvalFormula,m.QueuePos.Back,{onRun:()=>{if(!i&&!this.trySetStateId(A.EvalFormula,e))return u();this.enqueueComputeEvalFormula(t,r,o,i,a,l)},onDeleted:u}),this.enqueueRecalcFinished()})).then((e=>a.constructEvaluationTree([[0,t.length],[{value:e.value}]])))}enqueueBeforeCompute(e){this.scheduler.deleteTasks(A.BeforeCompute,void 0),this.scheduler.addTask(A.BeforeCompute,m.QueuePos.Back,(()=>{this.enqueueAfterCompute(),this.restrictToViewport(this.docs.getNonDirtyEditedCells(),e,h.ComputeKind.EditedCell,this.scheduleAvailableValues),this.restrictToViewport(this.docs.getDirtyEditedCells(),e,h.ComputeKind.EditedCell,this.scheduleAvailableFormulas),this.restrictToViewport(this.docs.getDirtyDependentCells(),e,h.ComputeKind.DependentCell,this.scheduleAvailableFormulas)}))}withEvalTiming(e){const t=this.docs.schedulerConfig.totalTimeMs;if(void 0===t)return e();const r=(0,n.now)();let o;try{o=e()}finally{this.stateEvalTime+=(0,n.fastMax)(1,(0,n.now)()-r),this.stateEvalTime>=t&&(this.deleteComputeTasks(E.EvalTimedOut),this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,stateId:this.stateId,message:h.RecalcStatisticsMessage.StateTimedOut}),o=[])}return o}enqueueEvalFormulaComputeCellValuesOnDocs(e,t,r){const a=[];(0,g.forEachCellInSet)(e.set,(t=>(a.push((0,i.sheetGridCell)(e.sheet,t)),!0)));let l=(0,i.makeGridRangeTable)();const u=(t,r,n)=>{(0,i.isSheetIndexEqual)(t.sheet,e.sheet)&&(0,o.meetsProduct)(e.set,(0,g.createCellSetFromRange)(t.range))&&(0,i.forEachCellInRange)(t.range,(e=>(l=l.setValue(e,r),!0)))};let c=()=>t.evaluate(h.ComputeKind.EvalFormula,a,this.getVolatileMode(),u);const d={onRun:()=>{const e=this.withEvalTiming(c);if(Array.isArray(e)){const o=e.map(((e,o)=>{const u=a[o].range;if(!(0,n.isSuccess)(e)){if(e.reason.kind===s.ReasonKind.Stopped)return k(u,e.reason);const t=(0,i.unavailable)([{kind:h.UnavailableKind.EvalFailure,reason:e.reason}]);return this.onUnavailable(t),k(u,t)}const c=t.getCellValue(a[o]);if(!(0,n.isSuccess)(c))return k(u,l.getValue(u)??c.reason);try{(0,n.assertTrue)("calc.calc.PartialWorkbook: FinalValue after evalCell",c.value.kind===s.CellKind.FinalValue)}catch(e){const t=(0,i.unavailable)([{kind:h.UnavailableKind.EvalFailure,reason:(0,n.javaScriptError)(e)}]);return this.onUnavailable(t),k(u,t)}const d=c.value.oper;if(!0===r.formatResults){const e=this.formatValue(h.ComputedCellKind.EditedCell,a[o],d,t);return(0,n.success)({cell:u,value:d,formatted:e})}return!1===r.formatResults?(0,n.success)({cell:u,value:d,formatted:void 0}):(0,n.success)((0,n.pair)(a[o].range,d))}));r.resultsPromise.resolve({stateId:r.stateId,results:o})}else c=e.resume,this.scheduler.addTask(A.ComputeEvalOnClone,m.QueuePos.Front,d)},onDeleted:()=>r.resultsPromise.resolve({stateId:r.stateId,results:(0,n.arrayFill)(new Array(a.length),(0,n.failure)(s.stopped))})};this.scheduler.addTask(A.ComputeEvalOnClone,m.QueuePos.Front,d)}enqueueComputeCellValue(e,t){const r=t===h.ComputeKind.EditedCell&&this.shouldSample(this.config.sampleRecalcEditedStopwatchRate)?(0,n.ulsStopwatchFactory)("calc.calc.PartialWorkbook: recalc edited"):void 0;let o,i=!0,a=()=>this.docs.evaluate(t,[e],this.getVolatileMode());const l=()=>{if(i){i=!1,o=this.shouldSample(this.config.sampleCellEvalStopwatchRate)?(0,n.ulsStopwatchFactory)("calc.calc.PartialWorkbook: cell eval"):void 0;const t=this.docs.getEditedFormula(e);if(!(0,n.isSuccess)(t))return this.onUnavailableObject(t.reason);if(void 0===t.value)return}else this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,stateId:this.stateId,message:h.RecalcStatisticsMessage.ContinueComputation});const t=this.withEvalTiming(a);if(Array.isArray(t)){o?.stop(),r?.stop();for(const e of t)(0,n.isSuccess)(e)||e.reason.kind===s.ReasonKind.Stopped||this.onUnavailableObject({kind:h.UnavailableKind.EvalFailure,reason:e.reason})}else a=t.resume,this.scheduler.addTask(A.ComputeCellValue,m.QueuePos.Front,l)};this.scheduler.addTask(A.ComputeCellValue,m.QueuePos.Back,l)}enqueueComputeEvalFormula(e,t,r,o=this.docs,i,a){const l=this.getVolatileMode();let u=()=>o.evalFormula(e,t,r,l,i);const c={onRun:()=>{const e=u();e.kind===n.ResultKind.Paused||e.kind===n.ResultKind.Breaked?(u=e.resume,this.scheduler.addTask(A.ComputeEvalFormula,m.QueuePos.Front,c)):a(e.value)},onDeleted:()=>a({value:(0,n.failure)(s.stopped)})};this.scheduler.addTask(A.ComputeEvalFormula,m.QueuePos.Back,c)}enqueueReturnCellValue(e,t){const r=this.getVolatileMode();this.scheduler.addTask(A.ComputeCellValue,m.QueuePos.Back,(()=>{this.docs.evalValue(e,t,r)}))}enqueueAfterCompute(){this.scheduler.deleteTasks(A.AfterCompute,E.EditReceived);const e=this.shouldSample(this.config.sampleRecalcViewportStopwatchRate)?(0,n.ulsStopwatchFactory)("calc.calc.PartialWorkbook: recalc viewport"):void 0;this.scheduler.addTask(A.AfterCompute,m.QueuePos.Back,{onRun:()=>{e?.stop(E.EvalFinished),this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,message:h.RecalcStatisticsMessage.EditFinished,stateId:this.stateId})},onDeleted:t=>{e?.stop(t)}})}enqueueRecalcFinished(){this.scheduler.deleteTasks(A.RecalcFinished,void 0),this.scheduler.addTask(A.RecalcFinished,m.QueuePos.Back,(()=>{this.outputMessageLog.push({kind:h.OutputMessageKind.RecalcStatistics,message:h.RecalcStatisticsMessage.RecalcFinished,stateId:this.stateId})}))}promoteCellContents(e,t,r,o){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const i=this.docs.promoteServerAvailability(r,o);if(i.kind===n.ResultKind.Failure)return this.onUnavailableObject(i.reason);this.docs.onCellModified(!0),i.value||this.outputMessageLog.push({kind:h.OutputMessageKind.UpdateRequest,stateId:this.stateId,range:t})}))}writeCellContents(e,t,r,n,o,i,a,s,l,u){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{(u||this.trySetStateId(A.ServerUpdate,e))&&this.handleSetCellContents(!0,t,r,n,i,o,a,s,l,void 0,u)}))}editCellContents(e,t,r,n,o,a=i.blankOper,s=(0,i.sheetGridRange)(t.sheet,T),l){this.lastViewport=s,this.scheduler.addTask(A.ClientEdit,m.QueuePos.Back,(()=>{this.trySetStateId(A.ClientEdit,e)&&this.handleSetCellContents(!1,t,r,n,a,o,h.SpecialFormat.Weak,h.SpecialStyle.Weak,void 0,s,l)})),this.enqueueRecalcFinished()}editCellContentsOnClone(e,t,r,n,o){this.editCellContents(this.stateId,e,t,r,n,void 0,void 0,o)}editCellFormats(e,t,r,o,a=(0,i.sheetGridRange)(t.sheet,T)){this.lastViewport=a,this.scheduler.addTask(A.ClientEdit,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ClientEdit,e))return;const s="SetFormat"===r.kind?this.docs.resolveEditFormat(t.sheet.document,r.format):"RibbonFormat"===r.kind?this.docs.resolveRibbonFormat(t.sheet.document,r.ribbon,(0,i.sheetGridCell)(t.sheet,o)):"ChangeDecimals"===r.kind?this.docs.resolveChangeDecimals(t.sheet.document,r.changeDecimals,(0,i.sheetGridCell)(t.sheet,o)):(0,n.assertNever)("calc.calc.PartialWorkbook: editCellFormats",r);(0,n.isSuccess)(s)||(0,g.forEachRangeInSet)(t.set,(e=>(this.onInferFormatFailure((0,i.sheetGridRange)(t.sheet,e),s.reason),!0))),(0,n.isSuccess)(s)&&void 0===s.value||this.handleSetCellContents(!1,t,void 0,void 0,void 0,(0,i.gridCell)(0,0),(0,n.isSuccess)(s)?s.value:h.SpecialFormat.Unavailable,void 0,void 0,a)})),this.enqueueRecalcFinished()}writeArrayFormula(e,t,r,n=(0,i.gridRangeAnchor)(t.range),o=!1){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{this.trySetStateId(A.ServerUpdate,e)&&this.handleSetRangeFormula(!0,t,r,n,void 0)}))}editArrayFormula(e,t,r,n=(0,i.gridRangeAnchor)(t.range),o=(0,i.sheetGridRange)(t.sheet,T)){this.lastViewport=o,this.scheduler.addTask(A.ClientEdit,m.QueuePos.Back,(()=>{this.trySetStateId(A.ClientEdit,e)&&this.handleSetRangeFormula(!1,t,r,n,o)})),this.enqueueRecalcFinished()}editPaste(e,t,r,n,o=(0,i.sheetGridRange)(r.sheet,T)){this.scheduler.addTask(A.ClientEdit,m.QueuePos.Back,(()=>{this.trySetStateId(A.ClientEdit,e)&&this.handleEditPaste(t,r,n,o)})),this.enqueueRecalcFinished()}assumeRecalcFinal(e,t){this.scheduler.addTask(A.ClientEdit,m.QueuePos.Back,(()=>{this.stateId===e&&this.handleAssumeRecalcFinal(t)}))}testAdvanceState(e){this.scheduler.addTask(A.TestAdvanceState,m.QueuePos.Back,(()=>{this.trySetStateId(A.TestAdvanceState,e)}))}step(){if(!this.scheduler.runTask())return{queueEmpty:!0,messages:[]};const e=this.outputMessageLog;return this.outputMessageLog=[],{queueEmpty:!1,messages:e}}trySetStateId(e,t){if(t<this.stateId)return!1;if(e===A.ClientEdit&&(this.deleteComputeTasks(E.EditReceived),this.stateEvalTime=0),t>this.stateId){if(this.stateId!==-1/0){const e=this.config.sampleWorkbookStatisticsRate;void 0!==e&&this.shouldSample(e)&&this.outputMessageLog.push({kind:h.OutputMessageKind.WorkbookStatistics,stateId:this.stateId,stats:this.getStatistics(),p:e})}const e=1;this.stateChanges===e&&this.enqueueRunExperiments(b.ExperimentKind.OneShot),this.stateChanges>=e&&0===this.scheduler.getCount(A.RunExperiment)&&this.enqueueRunExperiments(b.ExperimentKind.Recurring);const r=this.config.samplePrecisionEvalRate??0,n=this.config.samplePrecisionPrintFormulaRate??0,o=this.config.samplePrecisionPrintValueRate??0;if(this.stateChanges>=e&&(r>0||n>0||o>0)&&this.numPrecisionFailures<I.maxPrecisionFailures&&0===this.scheduler.getCount(A.RunExperiment)){const e=this.config.experimentFactories,t=e?.stepBudget??10,i=e?.totalBudget??1e4,a=new c.PrecisionExperiment({samplePrecisionEvalRate:r,samplePrecisionPrintFormulaRate:n,samplePrecisionPrintValueRate:o}),s={stateId:this.stateId,documents:this.docs.clone(a),stepBudget:t,totalBudget:i,viewport:this.lastViewport};a.setContext(s),this.enqueueRunExperiment("PrecisionExperiment",t,i,b.ExperimentKind.Precision,a,(()=>this.numPrecisionFailures=0),(()=>this.numPrecisionFailures+=1))}this.deleteComputeTasks(E.StateIdAdvanced),this.lastViewport=void 0;const i=this.stateId;this.stateId=t,this.docs.advanceState(i),this.outputMessageLog.push({kind:h.OutputMessageKind.StateAdvanced,stateId:this.stateId}),this.stateEvalTime=0,this.stateChangesSinceLastGC+=1,this.stateChanges+=1,this.enqueueMaybeCollectGarbage()}return!0}deleteComputeTasks(e){this.scheduler.deleteTasks(A.BeforeCompute,void 0),this.scheduler.deleteTasks(A.ComputeCellValue,void 0),this.scheduler.deleteTasks(A.AfterCompute,e),e!==E.EvalTimedOut&&this.scheduler.deleteTasks(A.ComputeEvalFormula,void 0)}enqueueRunExperiment(e,t,r,o,i,a,s){let l=0,u=0;const c=(t,r,n,a)=>{const s=i.failedLogMessage;void 0!==s&&this.outputMessageLog.push({experimentName:e,kind:h.OutputMessageKind.ExperimentRunResult,experimentKind:o,logMessage:s,timeoutReason:{budgetType:t,budget:r,elapsedTime:n,stepsCount:a}})},d=()=>{if(i.done){const t=i.resultLogMessage;return void 0!==t&&this.outputMessageLog.push({experimentName:e,kind:h.OutputMessageKind.ExperimentRunResult,experimentKind:o,logMessage:t}),void a()}const p=(0,n.now)();let g=p;for(let e=0;e<1e3&&g===p;e+=1){i.step(),u+=1;const e=(0,n.now)(),r=e-g;if(r>=t&&!i.done)return c("stepBudget",t,r,u),void s();g=e}if(l+=g>p?g-p:1,l>=r&&!i.done)return c("totalBudget",r,l,u),void s();this.scheduler.addTask(A.RunExperiment,m.QueuePos.Front,d)};this.scheduler.addTask(A.RunExperiment,m.QueuePos.Back,d)}enqueueRunExperiments(e){if(!this.config.experimentFactories)return;const{stepBudget:t,totalBudget:r,factories:n}=this.config.experimentFactories,o=n.filter((t=>t.kind===e&&(t.numFailures??0)<(t.maxFailures??3)));if(0===o.length)return;const i={stateId:this.stateId,documents:this.docs.clone(d.voidCallback,e===b.ExperimentKind.OneShot?p.CloningTarget.Server:p.CloningTarget.Client),stepBudget:t,totalBudget:r,viewport:this.lastViewport};for(const n of o){const o=n.create();o&&(o.setContext(i),this.enqueueRunExperiment(n.experimentName,n.stepBudget??t,r,e,o,(()=>n.numFailures=0),(()=>n.numFailures=(n.numFailures??0)+1)))}}setSheetNames(e,t,r){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,r))return;const o=this.docs.setSheetNames(e,t);o.kind===n.ResultKind.Failure&&this.onUnavailableObject(o.reason),this.deleteComputeTasks(E.SetSheetNames)}))}setLangConfig(e,t){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const r=this.docs.config.localeInfo!==t.localeInfo,n=this.docs.config.refStyle!==t.refStyle;this.docs.setConfig(t),r&&this.docs.clearCompiledNumberFormats(),(r||n)&&(this.docs.clearCompiledFormulas(),this.deleteComputeTasks(E.SetLangConfig))}))}setNumberFormats(e,t,r,o){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,o))return;const i=this.docs.setNumberFormats(e,t,r);return i.kind===n.ResultKind.Failure?this.onUnavailable(i.reason):void 0}))}writeNamedObject(e,t,r,o){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const a=this.docs.setNamedObject(!0,(0,i.nameLoc)(t,r),o);return a.kind===n.ResultKind.Failure?this.onUnavailable(a.reason):void 0}))}writeUndefinedNames(e,t){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const r=this.docs.setUndefinedNames(t);return r.kind===n.ResultKind.Failure?this.onUnavailable(r.reason):void 0}))}promoteNamedObjects(e,t,r){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const o=this.docs.promoteNamedObjects(t,r);if(o.kind===n.ResultKind.Failure)return this.onUnavailable(o.reason);o.value||this.outputMessageLog.push({kind:h.OutputMessageKind.UpdateNamesRequest,stateId:this.stateId,scope:t})}))}extendUnusedRange(e,t){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,t))return;const r=this.docs.extendServerUnused(e.sheet,e.range);if(r.kind===n.ResultKind.Failure)return this.onUnavailableObject(r.reason);this.docs.onCellModified(!0)}))}writeHiddenRows(e,t){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const r=this.docs.writeHiddenRows(t.sheet,t.range,t.hidden);return r.kind===n.ResultKind.Failure?this.onUnavailableObject(r.reason):void 0}))}writeHiddenCols(e,t){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const r=this.docs.writeHiddenCols(t.sheet,t.range,t.hidden);return r.kind===n.ResultKind.Failure?this.onUnavailableObject(r.reason):void 0}))}writeInFilterMode(e,t){this.scheduler.addTask(A.ServerUpdate,m.QueuePos.Back,(()=>{if(!this.trySetStateId(A.ServerUpdate,e))return;const r=this.docs.writeInFilterMode(t.sheet,t.inFilterMode);return r.kind===n.ResultKind.Failure?this.onUnavailableObject(r.reason):void 0}))}getStatistics(){return{queueSize:this.scheduler.getCount(),totalGridStatistics:this.docs.getGridStatistics(),totalNameStatistics:this.docs.getNameStatistics()}}enqueueMaybeCollectGarbage(){this.scheduler.deleteTasks(A.MaybeCollectGarbage,void 0),this.scheduler.addTask(A.MaybeCollectGarbage,m.QueuePos.Back,(()=>{if(this.stateChangesSinceLastGC<t.MaxStateIdDifferenceForGC)return;const e=this.stateId-t.MaxStateIdDifferenceForGC;this.docs.collectGarbage(e),this.outputMessageLog.push({kind:h.OutputMessageKind.GarbageCollected,minStateIdKept:e}),this.stateChangesSinceLastGC=0}))}shouldSample(e){return void 0!==e&&this.rng.next()<=e}translateEnglishFormula(e,t){const r=this.englishParser.parseFormula((0,l.parseLocals)(i.LexicalKind.Cell,t.range),e);if(!(0,n.isSuccess)(r))return r;const o=this.englishAnalyzer.checkFormula((0,l.analyzeLocalsGrid)(i.LexicalKind.Cell,(0,i.sheetGridCell)(t.sheet,t.range)),r.value);if(!(0,n.isSuccess)(o))return o;if(!(0,i.isWellFormed)(o.value))return(0,n.failure)((0,s.illFormedFormula)("ill-formed formula"));const a=this.docs.printFormulaBarText((0,i.lexicalSourceGrid)(i.LexicalKind.Cell,t),t.range,o.value);return(0,n.isSuccess)(a)?(0,n.success)(a.value):a}restrictToViewport(e,t,r,n){if(void 0!==t){const{sheet:a,range:s}=t,l=(0,g.createCellSetFromRange)(s);for(const t of e)(0,i.isSheetIndexEqual)(a,t.sheet)&&n((0,h.sheetCellSet)(a,(0,o.intersectProduct)(t.set,l)),r)}else for(const t of e)n(t,r)}getVolatileMode(){return this.config.volatileMode??y.VolatileMode.Estimation}constructor(e,t={}){this.scheduler=new m.PriorityScheduler,this.englishParser=(0,l.createParser)((0,l.createParseGlobals)(v.initialRecalcServiceConfig)),this.englishAnalyzer=(0,l.createAnalyzer)((0,l.createAnalyzeGlobals)(v.initialRecalcServiceConfig)),this.outputMessageLog=[],this.stateId=-1/0,this.stateChangesSinceLastGC=0,this.stateChanges=0,this.stateEvalTime=0,this.latestSnapshotID=-1,this.numPrecisionFailures=0,this.printFormulaProperties=e=>{const t=(0,i.sheetGridRangeAnchor)(e),r=this.getAvailableFormula(t);if(!(0,n.isSuccess)(r))return void this.onUnavailableObject(r.reason);const[o,a]=r.value,s=a.compiledFmla.getValue(),l=(0,n.isSuccess)(s)?this.docs.printFormulaBarText(o,t.range,s.value):s;return{formulaBarText:l.kind===n.ResultKind.Success?l.value:void this.outputMessageLog.push({kind:h.OutputMessageKind.PrintFormulaFailure,stateId:this.stateId,range:e,reason:l.reason}),hasHyperlink:this.formulaHasHyperlink(a),isFormula:!0}},this.printValueProperties=(e,t)=>{const r=this.docs.getEditedFormula(e);if(!(0,n.isSuccess)(r))return void this.onUnavailableObject(r.reason);const o=r.value?.[1].fmla??"",i=this.docs.renderValueBarText(e,t,o);return{formulaBarText:(0,n.isSuccess)(i)?i.value:void this.outputMessageLog.push({kind:h.OutputMessageKind.PrintFormulaFailure,stateId:this.stateId,range:e,reason:i.reason}),hasHyperlink:!1,isFormula:!1}},this.scheduleAvailableFormulas=(e,t)=>{const r=this.docs.forEachEditedNonBlankCellInSet(e.sheet,e.set,(r=>{const o=(0,i.sheetGridCell)(e.sheet,r),a=this.docs.getEditedFormula(o);return a.kind===n.ResultKind.Failure?(this.onUnavailableObject(a.reason),!0):(void 0!==a.value&&void 0!==a.value[1].compiledFmla&&this.enqueueComputeCellValue(o,t),!0)}));(0,n.isSuccess)(r)||this.onUnavailableObject(r.reason)},this.scheduleAvailableValues=(e,t)=>{const r=this.docs.forEachEditedCellInSet(e.sheet,e.set,(r=>{const o=(0,i.sheetGridCell)(e.sheet,r),a=this.docs.getEditedFormula(o);return a.kind===n.ResultKind.Failure?(this.onUnavailableObject(a.reason),!0):(void 0!==a.value&&void 0!==a.value[1].compiledFmla||this.enqueueReturnCellValue(o,t),!0)}));(0,n.isSuccess)(r)||this.onUnavailableObject(r.reason)},this.docs=new d.PartialWorkbookDocumentCollection(e,this,t,t,t.maxDereferenceCells??C,t.isServerWorkbookLoad??!1),this.reconfigure(t)}}t.PartialWorkbook=I,I.maxPrecisionFailures=3;class x{setCompiledFormula(e){this.compiledFormula=e}constructEvaluationTree(e){let t=[];for(const{span:e,oper:r}of this.extracted){const o=[],i=[];for(const r of t){const[[t],n]=r;t[0]>=e[0]&&t[1]<=e[1]?o.push(r):i.push(r)}const a=[e,r.kind===n.ResultKind.Failure?[{value:r}]:r.value.map((e=>({value:(0,n.success)(e)})))],s=o.length>0?[a,o]:[a];t=[...i,s]}return[e,t]}preStep(){return s.StepAction.Continue}postStep(e,t){const r=e.stack[Symbol.iterator]().next();var o;o=!0!==r.done,(0,n.assertTrue)("expect at least one frame",o);const i=r.value;if("number"==typeof i.position&&this.compiledFormula){const e=this.compiledFormula.spans[i.position];e&&this.extracted.push({span:[e.start,e.end],oper:this.processOper(t)})}}processOper(e){switch(e.kind){case i.OperKind.Range:if((0,i.isSheetIndex)(e.sheets)){const t=e.sheets,r=e.ranges.map((e=>this.docs.getCellValues({sheet:t,range:e}))),o=[];for(const e of r){if("Failure"===e.kind)return e;const t=[];for(const r of e.value){const e=[];for(const t of r){if(t.kind===s.CellKind.PendingValue)return(0,n.failure)((0,i.internal)("PendingValue is not expected"));e.push(t.oper)}t.push(e)}const r=t.length,a=t.reduce(((e,t)=>e>=t.length?e:t.length),0);r*a==1?o.push(t[0][0]):o.push((0,i.arrayOper)(r,a,t))}return(0,n.success)(o)}return(0,n.failure)((0,i.internal)("RangeOper contains sheets which is not SheetIndex"));case i.OperKind.Missing:return(0,n.failure)((0,i.internal)("MissingOper is not expected"));default:return(0,n.success)([e])}}constructor(e){this.docs=e,this.extracted=[]}}t.FormulaEvaluationTreeExtractor=x},12799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blankStyle=t.genFmt=t.knownFormatData=t.kfToIformat=t.englishLocaleData=t.defaultConfig=t.mathpack=t.locale=void 0,t.assertMessageOrder=function(e){e.reduce(v,h)},t.createRange=function(e,t){return[(0,o.sheetGridRange)(e,t),(0,l.sheetCellSet)(e,(0,u.createCellSetFromRange)(t))]},t.createPartialWorkbook=function(e,r,n){const o=new s.PartialWorkbook({...t.defaultConfig,localeInfo:n?.localeOverride??t.locale},r);return o.setWorksheetFuncOverrides(n?.worksheetFuncOverrides??{}),(n?.setNumberFormats??1)&&o.setNumberFormats(e,t.knownFormatData,!1,-1/0),o};const n=r(52123),o=r(85882),i=r(43177),a=r(14382),s=r(88756),l=r(9228),u=r(99805),c=r(14676),d=r(18665);var p;!function(e){e.EditedPhase="EditedPhase",e.DependentPhase="DependentPhase",e.StatisticsPhase="StatisticsPhase",e.Finished="Finished"}(p||(p={}));const h={kind:p.EditedPhase,stateId:-1/0},g=Object.getOwnPropertyNames(l.OutputMessageKind);function m(e,t){const r={};return e.forEach((e=>r[e]=t)),r}const f={[p.EditedPhase]:{[l.OutputMessageKind.StateAdvanced]:()=>p.EditedPhase,[l.OutputMessageKind.RecalcStatistics]:(e,t)=>{if(t.message===l.RecalcStatisticsMessage.ChangedCell){if(t.cellKind===l.ComputedCellKind.EditedCell)return p.EditedPhase;if(t.cellKind===l.ComputedCellKind.DependentCell)return p.DependentPhase;if(t.cellKind===l.ComputedCellKind.IndependentCell)return p.EditedPhase;if(t.cellKind===l.ComputedCellKind.UnknownNonEditedCell)return e(`a different message.cellKind than ${t.cellKind}`);(0,n.assertNever)("calc.calc.partialWorkbook.testutilsutils.transitions",t.cellKind)}if(t.message===l.RecalcStatisticsMessage.UnchangedCell){if(t.cellKind===l.ComputedCellKind.EditedCell)return p.EditedPhase;if(t.cellKind===l.ComputedCellKind.DependentCell)return p.DependentPhase;if(t.cellKind===l.ComputedCellKind.IndependentCell)return p.EditedPhase;if(t.cellKind===l.ComputedCellKind.UnknownNonEditedCell)return e(`a different message.cellKind than ${t.cellKind}`);(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind)}return t.message===l.RecalcStatisticsMessage.ContinueComputation?p.EditedPhase:t.message===l.RecalcStatisticsMessage.EditFinished||t.message===l.RecalcStatisticsMessage.StateTimedOut?p.StatisticsPhase:t.message===l.RecalcStatisticsMessage.RecalcFinished?p.Finished:void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.message)},...m([l.OutputMessageKind.CellWrite,l.OutputMessageKind.RangeWrite],((e,t)=>t.cellKind===l.ComputedCellKind.EditedCell?p.EditedPhase:t.cellKind===l.ComputedCellKind.DependentCell?p.DependentPhase:void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind))),[l.OutputMessageKind.RangeFailure]:(e,t)=>t.cellKind===l.ComputedCellKind.EditedCell?p.EditedPhase:t.cellKind===l.ComputedCellKind.DependentCell?p.DependentPhase:t.cellKind===l.ComputedCellKind.IndependentCell?p.EditedPhase:t.cellKind===l.ComputedCellKind.UnknownNonEditedCell?p.DependentPhase:void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind),[l.OutputMessageKind.PrintFormulaFailure]:()=>p.EditedPhase,[l.OutputMessageKind.InferFormatFailure]:()=>p.EditedPhase,[l.OutputMessageKind.FormatValueFailure]:()=>p.EditedPhase,...m([l.OutputMessageKind.GarbageCollected,l.OutputMessageKind.Alert,l.OutputMessageKind.ExperimentRunResult,l.OutputMessageKind.UpdateRequest,l.OutputMessageKind.WorkbookStatistics,l.OutputMessageKind.UnhandledFailure,l.OutputMessageKind.NumberFormatFailure,l.OutputMessageKind.NameFailure,l.OutputMessageKind.UpdateNamesRequest],(()=>p.EditedPhase))},[p.DependentPhase]:{[l.OutputMessageKind.RecalcStatistics]:(e,t)=>{if(t.message===l.RecalcStatisticsMessage.ChangedCell){if(t.cellKind===l.ComputedCellKind.EditedCell)return e(`a different cellKind than ${t.cellKind}`);if(t.cellKind===l.ComputedCellKind.DependentCell)return p.DependentPhase;if(t.cellKind===l.ComputedCellKind.IndependentCell)return p.DependentPhase;if(t.cellKind===l.ComputedCellKind.UnknownNonEditedCell)return e(`a different cellKind than ${t.cellKind}`);(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind)}if(t.message===l.RecalcStatisticsMessage.UnchangedCell){if(t.cellKind===l.ComputedCellKind.EditedCell)return e(`a different cellKind than ${t.cellKind}`);if(t.cellKind===l.ComputedCellKind.DependentCell)return p.DependentPhase;if(t.cellKind===l.ComputedCellKind.IndependentCell)return p.DependentPhase;if(t.cellKind===l.ComputedCellKind.UnknownNonEditedCell)return e(`a different cellKind than ${t.cellKind}`);(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind)}return t.message===l.RecalcStatisticsMessage.ContinueComputation?e(`a different message.message than ${t.message}`):t.message===l.RecalcStatisticsMessage.EditFinished?p.StatisticsPhase:t.message===l.RecalcStatisticsMessage.StateTimedOut||t.message===l.RecalcStatisticsMessage.RecalcFinished?e(`a different message.message than ${t.message}`):void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.message)},...m([l.OutputMessageKind.CellWrite,l.OutputMessageKind.RangeWrite],((e,t)=>t.cellKind===l.ComputedCellKind.EditedCell?e(`a different message.cellKind than ${t.cellKind}`):t.cellKind===l.ComputedCellKind.DependentCell?p.DependentPhase:void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind))),[l.OutputMessageKind.RangeFailure]:(e,t)=>t.cellKind===l.ComputedCellKind.EditedCell?t.reason.kind===a.ReasonKind.CellCycle?p.DependentPhase:e(`the current state to be ${p.EditedPhase}, or ${p.DependentPhase} and failure ${a.ReasonKind.CellCycle}`):t.cellKind===l.ComputedCellKind.IndependentCell||t.cellKind===l.ComputedCellKind.DependentCell||t.cellKind===l.ComputedCellKind.UnknownNonEditedCell?p.DependentPhase:void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.cellKind),[l.OutputMessageKind.FormatValueFailure]:()=>p.DependentPhase,...m([l.OutputMessageKind.GarbageCollected,l.OutputMessageKind.Alert,l.OutputMessageKind.ExperimentRunResult],((e,t)=>e(`a different message.kind than ${t.kind}`))),...m([l.OutputMessageKind.StateAdvanced,l.OutputMessageKind.UpdateRequest,l.OutputMessageKind.WorkbookStatistics,l.OutputMessageKind.UnhandledFailure,l.OutputMessageKind.NumberFormatFailure,l.OutputMessageKind.NameFailure,l.OutputMessageKind.PrintFormulaFailure,l.OutputMessageKind.InferFormatFailure,l.OutputMessageKind.UpdateNamesRequest],((e,t)=>e(`a different message.kind than ${t.kind}`)))},[p.StatisticsPhase]:{[l.OutputMessageKind.RecalcStatistics]:(e,t)=>t.message===l.RecalcStatisticsMessage.ChangedCell||t.message===l.RecalcStatisticsMessage.UnchangedCell||t.message===l.RecalcStatisticsMessage.ContinueComputation||t.message===l.RecalcStatisticsMessage.EditFinished||t.message===l.RecalcStatisticsMessage.StateTimedOut?e(`a different message.message than ${t.message}`):t.message===l.RecalcStatisticsMessage.RecalcFinished?p.Finished:void(0,n.assertNever)("calc.calc.partialWorkbook.testutils.transitions",t.message),...m([l.OutputMessageKind.GarbageCollected,l.OutputMessageKind.Alert,l.OutputMessageKind.ExperimentRunResult],((e,t)=>e(`a different message.kind than ${t.kind}`))),...m([l.OutputMessageKind.CellWrite,l.OutputMessageKind.RangeWrite,l.OutputMessageKind.RangeFailure,l.OutputMessageKind.PrintFormulaFailure,l.OutputMessageKind.InferFormatFailure,l.OutputMessageKind.FormatValueFailure,l.OutputMessageKind.StateAdvanced,l.OutputMessageKind.UpdateRequest,l.OutputMessageKind.WorkbookStatistics,l.OutputMessageKind.NumberFormatFailure,l.OutputMessageKind.UnhandledFailure,l.OutputMessageKind.NameFailure,l.OutputMessageKind.UpdateNamesRequest],((e,t)=>e(`a different message.kind than ${t.kind}`)))},[p.Finished]:m(g,(e=>e("no message once recalc finished")))};function v(e,t,r){const{stateId:n,kind:o}=e,i=function(e,t){switch(t.kind){case l.OutputMessageKind.GarbageCollected:return expect(t.minStateIdKept).toBeLessThanOrEqual(e),e;case l.OutputMessageKind.Alert:return e;case l.OutputMessageKind.ExperimentRunResult:return t.experimentKind===c.ExperimentKind.OneShot&&expect(e).toEqual(1),e;default:return expect(e).toBeLessThanOrEqual(t.stateId),t.stateId}}(n,t);return{kind:(0,f[o][t.kind])((function(n){return expect({state:e,message:t,index:r}).toEqual(n)}),t,o),stateId:i}}t.locale=(0,o.getEnglishLocaleInfo)(),t.mathpack=o.xlMathpack,t.defaultConfig={localeInfo:t.locale,mathpack:t.mathpack,refStyle:o.RefStyle.A1,date1904:!1,dateCompatibility:!0,timezone:o.tzUTC,datepack:o.xlDatepack},t.englishLocaleData=(0,d.localeData)([{functionId:0,functionName:"COUNT"}],[{errorType:1,errorName:"#NULL!"}],"TRUE","FALSE","R","C","{","}","[","]",".",",",",",";",[3,0],",",1033,1,2,!1," ",!1,"Paren",!0,!1,"$",2,"MDY","/","-",!0,!1,!1,!0,":",null,!1,!1,!0,["AM","PM"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"],["AM/PM","A/P","上午/下午",null,"General","$"],[null,";","#","0",".","%",",",":","/","/"," ","-","+","(",")",null,"\\","*","y","m","d","h","m","s","E","/",'"',"[","]","@","?","_","r","a","g","e",null,null,null,null,null,null,"B","N","ว","ด","ป","b","ค","ช","น","ท","๐",null],["Black","White","Red","Green","Blue","Yellow","Magenta","Cyan","Color"],["DBNum1","DBNum2","DBNum3","DBNum4"],(0,n.partialArray)({[o.SpecialRefId.All]:"#All",[o.SpecialRefId.Data]:"#Data",[o.SpecialRefId.Headers]:"#Headers",[o.SpecialRefId.Totals]:"#Totals",[o.SpecialRefId.ThisRow]:"#This Row"}),"dddd, mmmm dd, yyyy","h:mm:ss AM/PM","en-US","en-US","en-US","en-US"),t.kfToIformat=e=>Math.abs(e),t.knownFormatData=(0,n.numEnumArray)(o.KnownFormat).filter((e=>(0,i.isKnownFormatDefined)(e,(0,o.getEnglishLocaleInfo)()))).map((e=>(0,d.numberFormat)((0,t.kfToIformat)(e),(0,i.getKnownFormat)(t.locale,e),!0))),t.genFmt=(0,t.kfToIformat)(o.KnownFormat.General),t.blankStyle=l.SpecialStyle.Blank},38781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookDocument=void 0;const n=r(52123),o=r(62272),i=r(85882),a=r(22096),s=r(9228),l=r(27856),u=r(99805),c=r(62568);class d{clone(e=a.CloningTarget.Server){let t;if(this.grids){t=(0,n.makeStringMap)();for(const r in this.grids){const n=this.grids[r];t[r]=n.clone(e)}}return new d(this.document,this.stringCompareCI,this.formats.clone(),this.styles.clone(),this.sheets.clone(),t,void 0,this.nameManager.clone())}getReadonlyNameManager(){return this.nameManager}getReadonlySheets(){return this.sheets}setClientValue(e,t,r){const o=this.getGridById(e.sheet.index);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setClientValue(e.range,t,r))}setClientFormula(e,t,r){const o=this.getGridById(e.sheet.index);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setClientFormula(e.range,e.range,t,r))}setRecalcFailure(e,t){const r=this.getGridById(e);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.setRecalcFailure(t))}setRecalcEditTaint(e,t){const r=this.getGridById(e);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.setRecalcEditTaint(t))}setRecalcValue(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.setRecalcValue(e.range,t))}setEditedFormat(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.setEditedFormat(e.range,t))}setClientFormat(e,t,r){const o=this.getGridById(e.sheet.index);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setClientFormat(e.range,t,r))}setHiddenRows(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setHiddenRows(t,r))}setHiddenCols(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setHiddenCols(t,r))}setMergeCell(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.setMergeCell(e.range))}setInFilterMode(e,t){const r=this.getGridById(e);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.setInFilterMode(t))}setCellContents(e,t,r,o,a,s,l,u,c){const d=this.getGridById(t.sheet.index);if(d.kind===n.ResultKind.Failure)return d;const p=void 0!==u&&(0,i.isSheetIndexEqual)(t.sheet,u.sheet)?u.range:void 0;return(0,n.success)(d.value.setCellContents(e,t.set,r,o,a,s,l,p,c))}setRangeFormula(e,t,r,o,a,s,l,u){const c=this.getGridById(t.sheet.index);if(c.kind===n.ResultKind.Failure)return c;const d=void 0!==l&&(0,i.isSheetIndexEqual)(t.sheet,l.sheet)?l.range:void 0;return(0,n.success)(c.value.setRangeFormula(e,t.range,r,o,a,s,d,u))}copyRange(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.copyRange(e.range))}pasteRange(e,t,r){const o=this.getGridById(e.sheet.index);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.pasteRange(e.range,t,r))}assumeRecalcFinal(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.assumeRecalcFinal(e.set,t))}getDirtyEditedCells(){const e=[];return this.forEachSheet(((t,r)=>{e.push((0,s.sheetCellSet)(t.sheetIndex,r.getDirtyEditedCells()))})),e}getNonDirtyEditedCells(){const e=[];return this.forEachSheet(((t,r)=>{e.push((0,s.sheetCellSet)(t.sheetIndex,r.getNonDirtyEditedCells()))})),e}getDirtyDependentCells(){const e=[];return this.forEachSheet(((t,r)=>{e.push((0,s.sheetCellSet)(t.sheetIndex,r.getDirtyDependentCells()))})),e}setNamedObject(e,t,r,n){return this.nameManager.setNamedObject(e,t,r,n)}setUndefinedNames(e){return this.nameManager.setUndefinedNames(e)}promoteNamedObjects(e,t){return this.nameManager.promoteNamedObjects(e,t)}setSheetNames(e){const t=this.grids??this.oldGrids,r=(0,n.makeStringMap)();for(const{sheetId:n}of e)r[n]=t?.[n]??a.PartialWorkbookGrid.create();return new d(this.document,this.stringCompareCI,this.formats,this.styles,this.sheets.setSheetNames(e),r,void 0,this.nameManager.setSheetNames(e))}extendServerUnused(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.extendServerUnused(t,r))}promoteServerAvailability(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.promoteServerAvailability(t,r))}getNameLoc(e,t,r){return this.nameManager.getNameLoc(e,t,r)}getNameFormula(e,t){return this.nameManager.getNameFormula(e,t)}hasRecalcNameFailure(e){return this.nameManager.hasRecalcNameFailure(e)}setRecalcNameFailure(e){return this.nameManager.setRecalcNameFailure(e)}getContainingTable(e){const t=this.nameManager.getContainingTable(e);if(t.kind===n.ResultKind.Failure||void 0!==t.value)return t;const r=this.getGridById(e.sheet.index);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,i.unavailable)([r.reason]));const a=(0,o.intersectProduct)((0,u.createCellSetFromRange)(e.range),u.availableSetProduct);return(0,o.meetsProduct)(a,r.value.getServerAvailability())?n.successUndefined:(0,n.failure)((0,i.unavailable)([{kind:s.UnavailableKind.ContainingTable,range:e}]))}getNamedRanges(e){const t=this.nameManager.getNamedRanges(e);if(t.kind===n.ResultKind.Failure||void 0!==t.value)return t;const r=this.getGridById(e.sheet.index);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,i.unavailable)([r.reason]));const a=(0,o.intersectProduct)((0,u.createCellSetFromRange)(e.range),u.availableSetProduct);return(0,o.meetsProduct)(a,r.value.getServerAvailability())?(0,n.success)([]):(0,n.failure)((0,i.unavailable)([{kind:s.UnavailableKind.NamedRanges,range:e}]))}getIntersectingTables(e){return this.nameManager.getIntersectingTables(e)}getStructRefColumn(e,t){return this.nameManager.getStructRefColumn(e,t)}getStructRefSpecialRef(e,t){return this.nameManager.getStructRefSpecialRef(e,t)}getEditedFormula(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getEditedFormula(e.range))}forEachEditedFormula(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.forEachEditedFormula(e.range,t))}getEditedValue(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getEditedValue(e.range))}forEachEditedValue(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.forEachEditedValue(e.range,t))}getEditedFormat(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getEditedFormat(e.range))}forEachEditedFormat(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.forEachEditedFormat(e.range,t))}getEditedStyle(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getEditedStyle(e.range))}isInFilterMode(e){const t=this.getGridById(e);return t.kind===n.ResultKind.Failure?t:t.value.isInFilterMode()}getHiddenRows(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?a.hiddennessFullyUnavailable:o.value.getHiddenRows(t,r)}tryGetHiddenRows(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:o.value.tryGetHiddenRows(t,r)}getHiddenCols(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?a.hiddennessFullyUnavailable:o.value.getHiddenCols(t,r)}tryGetHiddenCols(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:o.value.tryGetHiddenCols(t,r)}getMergeCell(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getMergeCell(e.range))}getServerFormat(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getServerFormat(e.range))}getServerStyle(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getServerStyle(e.range))}getClientFormat(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getClientFormat(e.range))}getClientValue(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getClientValue(e.range))}getRecalcValues(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getRecalcValues(e.range))}forEachRecalcValue(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.forEachRecalcValue(e.range,t))}getServerValue(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getServerValue(e.range))}getServerFormula(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getServerFormula(e.range))}getClientFormula(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getClientFormula(e.range))}getServerUsedRange(e){const t=this.getGridById(e);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getServerUsedRange())}allServerAvailable(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.allServerAvailable(e.range))}allEditedAvailable(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.allEditedAvailable(e.range))}forEachRecalcDirty(e,t){const r=this.getGridById(e.sheet.index);return r.kind===n.ResultKind.Failure?r:(0,n.success)(r.value.forEachRecalcDirty(e.range,t))}hasRecalcDirty(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.hasRecalcDirty(e.range))}hasRecalcFailure(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.hasRecalcFailure(e.range))}hasEditedEditTaint(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.hasEditedEditTaint(e.range))}hasRecalcEditTaint(e){const t=this.getGridById(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.hasRecalcEditTaint(e.range))}forEachEditedNonBlankCellInSet(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.forEachEditedNonBlankCellInSet(t,r))}forEachServerNonBlankCellInSet(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.forEachServerNonBlankCellInSet(t,r))}forEachEditedCellInSet(e,t,r){const o=this.getGridById(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.forEachEditedCellInSet(t,r))}getSheetIndex(e){const t=this.sheets.getSheetByName(e);return t.kind===n.ResultKind.Failure||void 0===t.value?t:(0,n.success)(t.value.sheetIndex)}getSheetName(e){const t=this.sheets.getSheetById(e);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.name)}getEditedUsedRange(e){const t=this.getGridById(e);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getEditedUsedRange())}getSheetRangeIds(e){return this.sheets.getSheetRangeIds(e)}getIformat(e){return this.formats.getIformat(e)}getIformats(){return this.formats.getIformats()}getKnownFormat(e){return this.formats.getKnownFormat(e)}getFormatString(e){return this.formats.getFormatString(e)}resolveCellStyle(e){return this.styles.resolveCellStyle(e)}setNumberFormats(e,t){this.formats.setNumberFormats(e,t)}setStyles(e,t){this.styles.setStyles(e,t)}setFonts(e,t){this.styles.setFonts(e,t)}setFills(e,t){this.styles.setFills(e,t)}setBorders(e,t){this.styles.setBorders(e,t)}onCellModified(e,t){this.forEachSheet(((r,n)=>{n.onCellModified(e,t)})),this.nameManager.onCellModified(e)}collectGarbage(e,t){this.forEachSheet(((r,n)=>{n.collectGarbage(e,t)})),this.nameManager.collectGarbage(e)}advanceState(e,t){this.forEachSheet(((r,n)=>{n.advanceState(e,t)})),this.nameManager.advanceState(e),this.sheets.advanceState(e),this.oldGrids=this.grids,this.grids=void 0}clearCompiledFormulas(){this.forEachSheet(((e,t)=>{t.clearCompiledFormulas()})),this.nameManager.resetLazyData()}clearCompiledNumberFormats(){this.formats.clearCompiledNumberFormats()}getGridStatistics(){let e=a.emptyGridStatistics;return this.forEachSheet(((t,r)=>e=(0,a.mergeGridStatistics)(e,r.getStatistics()))),e}getNameStatistics(){return this.nameManager.getNameStatistics()}getServerAvailableCells(){const e=[];return this.forEachSheet(((t,r)=>{e.push({sheetIdx:t.sheetIndex,availableCells:r.getServerAvailability()})})),e}forEachSheet(e){const t=this.grids;t&&this.sheets.forEachSheet(((r,n)=>{const o=t[n];o&&e(r,o)}))}getGridById(e){const t=this.grids;if(!t)return(0,n.failure)({kind:s.UnavailableKind.SheetNames});const r=t[e];return void 0===r?(0,n.failure)({kind:s.UnavailableKind.SheetId,document:this.document,sheetId:e}):(0,n.success)(r)}constructor(e,t,r,n,o=new c.PartialWorkbookSheets(e,t),i,a,s=new l.PartialWorkbookNameManager(e,t)){this.document=e,this.stringCompareCI=t,this.formats=r,this.styles=n,this.sheets=o,this.grids=i,this.oldGrids=a,this.nameManager=s}}t.PartialWorkbookDocument=d},27733:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookDocumentCollection=t.voidCallback=void 0;const n=r(52123),o=r(85882),i=r(43177),a=r(14382),s=r(41257),l=r(38781),u=r(98442),c=r(22096),d=r(9228),p=r(96630),h=r(99805),g=r(66370),m=r(98088),f=(0,o.gridCell)(0,0);class v extends o.ConstVisitor{wsfNode(e){this.fns.push((0,o.englishWorksheetFuncIdToName)(e))}operatorNode(e){this.fns.push((0,o.englishOperatorIdToName)(e))}constructor(){super(void 0),this.fns=[]}}function b(e){const t=new v;return(0,o.reduceBottomUp)(t,e),t.fns}const y=(0,o.precedents)([],[],[],o.SpecialPrecs.None,o.PrecsBound.Exact);t.voidCallback={onNameFailure:()=>{},onRangeFailure:()=>{},onNumberFormatFailure:()=>{},onInferFormatFailure:()=>{},onUnavailableObject:()=>{},onUnavailable:()=>{},onSetCellValue:()=>{},onSetCellValues:()=>{},onReturnCellValue:()=>{}};class S{clone(e=t.voidCallback,r=c.CloningTarget.Server){const n=new S(this.config,e,this.schedulerConfig,this.limits,this.maxDereferenceCells,this.isServerWorkbookLoad);return n.documentLoc=this.documentLoc,n.document=this.document?.clone(r),n.worksheetFuncOverrides=this.worksheetFuncOverrides,n.userDefinedFuncOverrides=this.userDefinedFuncOverrides,n.version=this.version,n}compareVersion(e){return this.version===e.version}getSingleReadonlyDocument(){return this.document}reconfigure(e,t,r,n){this.schedulerConfig=e,this.limits=t,this.maxDereferenceCells=r,this.isServerWorkbookLoad=n,this.advanceVersion()}setConfig(e){this.config=e}forEachDocument(e){void 0!==this.document&&e(this.document)}getDocumentLoc(e,t){const r=this.documentLoc;return void 0===r||void 0!==e&&e!==r.path||0!==this.config.localeInfo.stringCompareCI(t,r.name)?(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.DocumentLoc,document:(0,o.documentLoc)(e,t)}])):(0,n.success)(r)}getNameLoc(e,t,r){const i=this.getDocument(e.document);return i.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([i.reason])):i.value.getNameLoc(e.index,t,r)}getUserDefinedFuncLoc(e,t){if(void 0!==this.userDefinedFuncOverrides[t]){const r=(0,o.userDefinedFuncLoc)(e,t);return(0,n.success)([r])}return(0,n.failure)((0,o.notImplemented)(["call UDF"]))}getCellFormat(e){const t=this.allEditedAvailable(e);if(t.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([t.reason]));if(!0!==t.value)return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.GridRange,unavailableCells:t.value,range:e}]));const r=this.getEditedFormat(e);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([r.reason])):r.value===d.SpecialFormat.Unavailable?(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.CellFormat}])):(0,n.success)(r.value)}getCellStyle(e){const t=this.allEditedAvailable(e);if(!(0,n.isSuccess)(t))return(0,n.failure)((0,o.unavailable)([t.reason]));if(!0!==t.value)return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.GridRange,unavailableCells:t.value,range:e}]));const r=this.getEditedStyle(e);return(0,n.isSuccess)(r)?r.value===d.SpecialStyle.Unavailable?(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.CellStyle}])):this.resolveCellStyle(e.sheet.document,r.value):(0,n.failure)((0,o.unavailable)([r.reason]))}getIformat(e,t){const r=this.getDocument(e);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const a=r.value.getIformat(t);if(a.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([a.reason]));const s=a.value.getValue();return s.kind===n.ResultKind.Failure?(0,n.failure)((0,i.previousFormatFailure)((0,i.formatLocIFormat)(e,t))):s}getIformats(e,t,r){const i=this.getDocument(e);if(i.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([i.reason]));const a=i.value.getIformats(),s=[];for(let e=t,o=(0,n.fastMin)(a.length,r);e<o;e+=1){const t=a[e];void 0!==t&&s.push({iformat:e,formatString:t.formatString,builtIn:t.builtIn})}return(0,n.success)(s)}getKnownFormat(e,t){const r=this.getDocument(e);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const a=r.value.getKnownFormat(t);if(a.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([a.reason]));const s=a.value.getValue();return s.kind===n.ResultKind.Failure?(0,n.failure)((0,i.previousFormatFailure)((0,i.formatLocKnownFormat)(e,t))):s}getFormatString(e,t){const r=this.getDocument(e);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getFormatString(t);return i.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([i.reason])):i}getNameFormula(e,t){const r=this.getDocument(e.scope.document);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getNameFormula(e,t);if(i.kind===n.ResultKind.Failure)return i;if(void 0===i.value)return(0,n.success)(void 0);const s=i.value.lazyData.getValue();if((0,n.isSuccess)(s))return s;const l=this.hasRecalcNameFailure(e);return(0,n.isSuccess)(l)?l.value||this.setNameFailure(e,s.reason):this.cb.onUnavailable(l.reason),(0,n.failure)((0,a.previousNameFailure)(e))}getCellFormula(e){const t=this.getEditedFormula(e);if(t.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([t.reason]));if(void 0===t.value)return(0,n.success)(void 0);const[r,i]=t.value;if(void 0===i.compiledFmla)return(0,n.success)(void 0);const s=(0,o.sheetGridRange)(e.sheet,r),l=this.readCompiledFmla(s,i.compiledFmla);return(0,n.isSuccess)(l)?(0,n.success)((0,a.cellFormula)((0,o.lexicalSourceGrid)(i.lexicalKind,s),l.value)):l}setCellValue(e,t,r){const o=this.setRecalcValue(e,t);if(o.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(o.reason);const i=this.propagateEditTaint(e,r);if(i.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(i.reason);this.cb.onSetCellValue(e,t,r,i.value,this.evalParams)}setCellValues(e,t,r){const o=this.setClientValue(e,t);if(o.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(o.reason);const i=this.setRecalcValue(e,t);if(i.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(i.reason);const a=this.propagateEditTaint(e,r);if(a.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(a.reason);this.cb.onSetCellValues(e,t,r,a.value,this.evalParams)}getWorksheetFunc(e){if((0,o.isVolatileFunc)(e)){let t=!1;const r=this.evalParams.volatileMode;switch(e){case o.WorksheetFuncId.RAND:case o.WorksheetFuncId.RANDBETWEEN:case o.WorksheetFuncId.RANDARRAY:case o.WorksheetFuncId.NOW:t=r===m.VolatileMode.GroundTruth;break;case o.WorksheetFuncId.TODAY:t=r===m.VolatileMode.GroundTruth||r===m.VolatileMode.Estimation;break;default:t=void 0===o.WorksheetFuncId[e]}if(!t)return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.VolatileFunction,name:(0,o.englishWorksheetFuncIdToName)(e)}]))}const t=this.worksheetFuncOverrides[e]??(0,a.getWorksheetFunc)(e);return null!=t?(0,n.success)(t):(0,n.failure)((0,o.notImplemented)([(0,o.englishWorksheetFuncIdToName)(e)]))}getUserDefinedFunc(e){const t=e.id;return void 0!==this.userDefinedFuncOverrides[t]?(0,n.success)(this.userDefinedFuncOverrides[t]):(0,n.failure)((0,o.notImplemented)(["call UDF"]))}getSheetRangeIndexes(e){return this.getSheetRangeIds(e)}setCellFailure(e,t,r){const i=this.setRecalcFailure(e.sheet,(0,h.createCellSetFromRange)(e.range));if(i.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(i.reason);const a=this.setClientValue(e,c.clientValueUnknownOper);if(a.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(a.reason);const s=this.setRecalcValue(e,o.blankOper);if(s.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(s.reason);const l=this.propagateEditTaint(e,r);if(l.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(l.reason);const u=this.evalParams;u.onRangeFailure?.(e,t,r),this.cb.onRangeFailure(e,t,r,l.value,u)}getUsedRange(e){const t=this.getEditedUsedRange(e);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t}getSheetName(e,t){const r=this.getDocument(e);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getSheetName(t);return i.kind===n.ResultKind.Failure||void 0===i.value?i:(0,n.success)(i.value)}getSheetIndex(e,t){const r=this.getDocument(e);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getSheetIndex(t);return i.kind===n.ResultKind.Failure||void 0===i.value?i:(0,n.success)(i.value.index)}getContainingTable(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.getContainingTable(e)}getNamedRanges(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.getNamedRanges(e)}getStructRefColumn(e,t){const r=this.getDocument(e.scope.document);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([r.reason])):r.value.getStructRefColumn(e,t)}getStructRefSpecialRef(e,t){const r=this.getDocument(e.scope.document);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([r.reason])):r.value.getStructRefSpecialRef(e,t)}getIntersectingTables(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.getIntersectingTables(e)}getNamedObject(e,t){const r=this.getDocument(e.scope.document);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getNameFormula(e,t);return i.kind===n.ResultKind.Failure?i:(0,n.success)(i.value?.obj)}getHiddenRows(e,t,r){const o=this.getDocument(e.document);return o.kind===n.ResultKind.Failure?c.hiddennessFullyUnavailable:o.value.getHiddenRows(e.index,t,r)}tryGetHiddenRows(e,t,r){const i=this.getDocument(e.document);if(i.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([i.reason]));const a=i.value.tryGetHiddenRows(e.index,t,r);return a.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([a.reason])):a}getHiddenCols(e,t,r){const o=this.getDocument(e.document);return o.kind===n.ResultKind.Failure?c.hiddennessFullyUnavailable:o.value.getHiddenCols(e.index,t,r)}tryGetHiddenCols(e,t,r){const i=this.getDocument(e.document);if(i.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([i.reason]));const a=i.value.tryGetHiddenCols(e.index,t,r);return a.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([a.reason])):a}getMergeCell(e){const t=this.allEditedAvailable(e);if(t.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([t.reason]));if(!0!==t.value)return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.GridRange,unavailableCells:t.value,range:e}]));const r=this.getDocument(e.sheet.document);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getMergeCell(e);return i.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([i.reason])):i}isInFilterMode(e){const t=this.getDocument(e.document);if(t.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([t.reason]));const r=t.value.isInFilterMode(e.index);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([r.reason])):r}getRandom(){return(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection: getRandom",this.evalParams.volatileMode===m.VolatileMode.GroundTruth),(0,n.success)(this.config.mathpack.fromNumber(this.random.next()))}getTime(e,t){return(0,m.getTimeImpl)(this.config,e,t,this.evalParams.volatileMode)}withEvalParams(e,t){const r=this.evalParams;this.evalParams=e;try{const r=t();return Array.isArray(r)?r:r.kind===n.ResultKind.Paused?(0,a.paused)((()=>this.withEvalParams(e,r.resume))):(0,a.breaked)((()=>this.withEvalParams(e,r.resume)))}finally{this.evalParams=r}}withEvalParamsEvalFormula(e,t){const r=this.evalParams;this.evalParams=e;try{const r=t();return r.kind===n.ResultKind.Paused?(0,a.paused)((()=>this.withEvalParamsEvalFormula(e,r.resume))):r.kind===n.ResultKind.Breaked?(0,a.breaked)((()=>this.withEvalParamsEvalFormula(e,r.resume))):r}finally{this.evalParams=r}}evaluate(e,t,r,n){return this.withEvalParams({computeKind:e,computeCells:t,volatileMode:r,onRangeFailure:n},(()=>this.evaluator.evalCells({},t)))}evalFormula(e,t,r,i,s){const l={lexicalKind:o.LexicalKind.Other,originGridCell:(0,n.success)(t.range),originSheet:(0,n.success)(t.sheet),allowRelativeQualifier:!1,allowUnqualifiedCell:!0,allowImplicitTable:!0,wrapCellReferences:!1,workbookLoad:!1,emitStepInfo:void 0!==s,contextNames:void 0},u={lexicalSource:{kind:o.LexicalKind.Other},originGridCell:(0,n.success)(t.range),originSheet:(0,n.success)(t.sheet),calcingArray:!1,reflectionGridCell:(0,n.success)(t.range),reflectionSheet:(0,n.success)(t.sheet),implicitIntersect:!1,allowUnqualifiedCell:!0,wrapCellReferences:!1,followHyperlinks:(0,n.success)(!1),contextNames:void 0,stepConfig:s},c=(e,o)=>{if(o.kind===n.ResultKind.Paused)return(0,a.paused)((()=>c(e,o.resume())));if(o.kind===n.ResultKind.Breaked)return(0,a.breaked)((()=>c(e,o.resume())));if(!(0,n.isSuccess)(o))return(0,n.success)({value:o});const i=this.evalFormulaFormat(t,e,o.value,r);return(0,n.success)({value:(0,n.success)(o.value),formatted:i})};return this.withEvalParamsEvalFormula({computeKind:d.ComputeKind.EvalFormula,computeCells:[t],volatileMode:i},(()=>{const t=this.parser.parseFormula(l,e),r=this.checkFormula(l,t,e,d.FormulaMode.EvalFormula),o=this.compileFormula(l,r);return(0,n.isSuccess)(o)?(s&&s.setCompiledFormula(o.value),c(o.value,this.evaluator.evalFormula(u,o.value))):(0,n.success)({value:o})}))}evalFormulaFormat(e,t,r,i){if(void 0===i)return;if("number"==typeof i)return this.formatValueIformat(e.sheet.document,i,r);if(i.kind===d.SpecialFormat.Known)return this.formatValueKnownFormat(e.sheet.document,i.knownFormat,r);let a=r;if((0,o.isBlankOper)(r)&&(i.kind===d.SpecialFormat.Origin||i.kind===d.SpecialFormat.Inferred||i.kind===d.SpecialFormat.Edit)&&i.renderBlanksAsZeros&&(a=this.config.mathpack.zero),i.kind===d.SpecialFormat.Origin||i.kind===d.SpecialFormat.Aggregate){const t=this.ensureCellExists(e);return(0,n.isNone)(t)||!(0,n.isSuccess)(t)?t:i.kind===d.SpecialFormat.Origin?this.formatValueCell(e,a):this.formatValueAggregate(e,a)}return i.kind===d.SpecialFormat.Inferred?this.applyInferredFormat(e,t,a):i.kind===d.SpecialFormat.Edit?this.applyEditFormat(e,t,a,i.isWholeFormula):(0,n.assertNever)("calc.calc.PartialWorkbookDocumentCollection.evalFormulaFormat",i)}evalValue(e,t,r){const o=this.evalParams;this.evalParams={computeKind:t,computeCells:[e],volatileMode:r};try{const t=this.getEditedFormula(e);if(!(0,n.isSuccess)(t))return this.cb.onUnavailableObject(t.reason);if(void 0!==t.value?.[1].compiledFmla)return;const r=this.hasRecalcDirty(e);if(!(0,n.isSuccess)(r))return this.cb.onUnavailableObject(r.reason);if(r.value)return;const o=this.tryGetCellValue(e.range,e.sheet);if(void 0===o)return;(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection.evalValue",o.kind===a.CellKind.FinalValue),this.cb.onReturnCellValue(e,o.oper,d.ComputedCellKind.EditedCell)}finally{this.evalParams=o}}advanceVersion(){return this.version++,this.version}setUserDefinedFuncOverrides(e){this.userDefinedFuncOverrides=e,this.advanceVersion()}setWorksheetFuncOverrides(e){this.worksheetFuncOverrides=e,this.advanceVersion()}setSheetNames(e,t){const r=this.ensureDocument(e);return r.kind===n.ResultKind.Failure?r:(this.document=r.value.setSheetNames(t),(0,n.success)(void 0))}advanceState(e){void 0!==this.document&&this.document.advanceState(e,this.advanceVersion())}onCellModified(e){if(void 0!==this.document)return this.document.onCellModified(e,this.advanceVersion())}getServerDocument(){return this.documentLoc}allServerAvailable(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.allServerAvailable(e)}forEachEditedNonBlankCellInSet({index:e,document:t},r,o){const i=this.getDocument(t);return i.kind===n.ResultKind.Failure?i:i.value.forEachEditedNonBlankCellInSet(e,r,o)}forEachServerNonBlankCellInSet({index:e,document:t},r,o){const i=this.getDocument(t);return i.kind===n.ResultKind.Failure?i:i.value.forEachServerNonBlankCellInSet(e,r,o)}forEachEditedCellInSet({index:e,document:t},r,o){const i=this.getDocument(t);return i.kind===n.ResultKind.Failure?i:i.value.forEachEditedCellInSet(e,r,o)}clearCompiledFormulas(){if(void 0!==this.document)return this.document.clearCompiledFormulas()}clearCompiledNumberFormats(){if(void 0!==this.document)return this.document.clearCompiledNumberFormats()}getGridStatistics(){return void 0!==this.document?this.document.getGridStatistics():c.emptyGridStatistics}getNameStatistics(){return void 0!==this.document?this.document.getNameStatistics():p.emptyNameStatistics}collectGarbage(e){if(void 0!==this.document)return this.document.collectGarbage(e,this.advanceVersion())}getEditedFormula(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getEditedFormula(e)}forEachEditedFormula(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.forEachEditedFormula(e,t)}getEditedValue(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getEditedValue(e)}forEachEditedValue(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.forEachEditedValue(e,t)}getEditedFormat(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getEditedFormat(e)}forEachEditedFormat(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.forEachEditedFormat(e,t)}getEditedStyle(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getEditedStyle(e)}getServerFormat(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getServerFormat(e)}getServerStyle(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getServerStyle(e)}getClientFormat(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getClientFormat(e)}getClientValue(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getClientValue(e)}getRecalcValues(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getRecalcValues(e)}forEachRecalcValue(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.forEachRecalcValue(e,t)}getServerValue(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getServerValue(e)}getServerFormula(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getServerFormula(e)}getClientFormula(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.getClientFormula(e)}getServerUsedRange(e){const t=this.getDocument(e.document);if(t.kind===n.ResultKind.Failure)return t;const r=t.value.getServerUsedRange(e.index);return r.kind===n.ResultKind.Failure||void 0===r.value?r:(0,n.success)((0,o.sheetGridRange)(e,r.value))}getServerAvailableCells(){const e=[];return this.forEachDocument((t=>{(0,n.safePush)(e,t.getServerAvailableCells())})),e}promoteServerAvailability({sheet:e,set:t},r){const o=this.getDocument(e.document);return o.kind===n.ResultKind.Failure?o:o.value.promoteServerAvailability(e.index,t,r)}extendServerUnused(e,t){const r=this.getDocument(e.document);return r.kind===n.ResultKind.Failure?r:r.value.extendServerUnused(e.index,t,this.advanceVersion())}setCellContents(e,t,r,i,a,s,l,u,d,p){const h=this.getDocument(t.sheet.document);if(h.kind===n.ResultKind.Failure)return h;const g=void 0===r?void 0:i?this.compileFmla(e,o.LexicalKind.Cell,(0,o.sheetGridCell)(t.sheet,a),void 0,r):""===r?c.blankCellGridFormula:{fmla:r,lexicalKind:o.LexicalKind.Cell,origin:a,compiledFmla:void 0,hasHyperlink:c.SpecialBoolean.ClientValueUnknown};return h.value.setCellContents(e,t,g,s,l,u,d,p,this.advanceVersion())}setRangeFormula(e,t,r,i,a,s,l,u){const d=this.getDocument(t.sheet.document);if(d.kind===n.ResultKind.Failure)return d;const p=""===r?c.blankRangeGridFormula:this.compileFmla(e,o.LexicalKind.Range,(0,o.sheetGridCell)(t.sheet,i),(0,o.gridRangeAnchor)(t.range),r);return d.value.setRangeFormula(e,t,p,a,s,l,u,this.advanceVersion())}copyRange(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.copyRange(e)}pasteRange(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.pasteRange(e,t,this.advanceVersion())}assumeRecalcFinal(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.assumeRecalcFinal(e,this.advanceVersion())}getDirtyEditedCells(){return this.document?this.document.getDirtyEditedCells():[]}getNonDirtyEditedCells(){return this.document?this.document.getNonDirtyEditedCells():[]}getDirtyDependentCells(){return this.document?this.document.getDirtyDependentCells():[]}setNamedObject(e,t,r){const i=this.getDocument(t.scope.document);return i.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([i.reason])):i.value.setNamedObject(e,t,r,this.compileNamedObject)}setUndefinedNames(e){const t=this.getDocument(e.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.setUndefinedNames(e)}promoteNamedObjects(e,t){const r=this.getDocument(e.document);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([r.reason])):r.value.promoteNamedObjects(e,t)}setNumberFormats(e,t,r){const i=this.ensureDocument(e);if(i.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([i.reason]));const a=[];return t.forEach((({iformat:e,formatString:t,builtIn:r})=>{const n=this.compileNumberFormat(t,r);a[e]={formatString:t,builtIn:r,compiledFormat:n}})),(0,n.success)(i.value.setNumberFormats(a,r))}setStyles(e,t,r){const o=this.ensureDocument(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setStyles(t,r))}setFonts(e,t,r){const o=this.ensureDocument(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setFonts(t,r))}setFills(e,t,r){const o=this.ensureDocument(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setFills(t,r))}setBorders(e,t,r){const o=this.ensureDocument(e);return o.kind===n.ResultKind.Failure?o:(0,n.success)(o.value.setBorders(t,r))}writeHiddenRows(e,t,r){const o=this.getDocument(e.document);return o.kind===n.ResultKind.Failure?o:o.value.setHiddenRows(e.index,t,r)}writeHiddenCols(e,t,r){const o=this.getDocument(e.document);return o.kind===n.ResultKind.Failure?o:o.value.setHiddenCols(e.index,t,r)}writeMergeCell(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.setMergeCell(e)}writeInFilterMode(e,t){const r=this.getDocument(e.document);return r.kind===n.ResultKind.Failure?r:r.value.setInFilterMode(e.index,t)}resolveCellFormat(e,t){if("number"!=typeof t)return(0,n.success)(t);const r=this.getDocument(e);if(!(0,n.isSuccess)(r))return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.getIformat(t);return(0,n.isSuccess)(i)?i.value.getValue():(0,n.failure)((0,o.unavailable)([i.reason]))}resolveCellStyle(e,t){const r=this.getDocument(e);if(!(0,n.isSuccess)(r))return(0,n.failure)((0,o.unavailable)([r.reason]));const i=r.value.resolveCellStyle(t);return(0,n.isSuccess)(i)?(0,n.success)(i.value):(0,n.failure)((0,o.unavailable)([i.reason]))}resolveValueFormat(e,t){if("string"==typeof t)return this.resolveStringFormat(e,t);const r=this.getKnownFormat(e,t);if(!(0,n.isSuccess)(r))return r;const o=this.getFormatString(e,r.value.formatString);return(0,n.isSuccess)(o)?(0,n.success)(o.value??r.value):o}resolveStringFormat(e,t){const r=this.getFormatString(e,t);return(0,n.isSuccess)(r)?void 0!==r.value?(0,n.success)(r.value):this.formatter.createFormat(t,!1):r}resolveObjectFormat(e,t){const r=this.getFormatString(e,t.formatString);return(0,n.isSuccess)(r)?void 0!==r.value?(0,n.success)(r.value):(0,n.success)(t):r}resolveEditFormat(e,t){return"number"==typeof t?(0,n.success)(t):this.resolveStringFormat(e,t)}resolveRibbonFormat(e,t,r){let o;switch(t){case i.RibbonFormat.GalleryShortDate:case i.RibbonFormat.GalleryLongDate:{const e=this.getCellFormat(r);if(!(0,n.isSuccess)(e))return e;const t=this.resolveCellFormat(r.sheet.document,e.value);if(!(0,n.isSuccess)(t))return t;o=t.value;break}}const a=(0,i.getRibbonFormat)(this.config.localeInfo,t,o);return this.resolveStringFormat(e,a)}resolveChangeDecimals(e,t,r){const o=this.getCellFormat(r);if(!(0,n.isSuccess)(o))return o;const i=this.resolveCellFormat(r.sheet.document,o.value);if(!(0,n.isSuccess)(i))return i;const a=this.formatter.changeFormatDecimals(i.value,t);return(0,n.isSuccess)(a)?void 0===a.value?n.successUndefined:this.resolveObjectFormat(e,a.value):a}parseInferredEdit(e,t,r){const o=this.getCellFormat(e);if(!(0,n.isSuccess)(o))return o;const i=this.resolveCellFormat(e.sheet.document,o.value);if(!(0,n.isSuccess)(i))return i;const a=this.evalParams;this.evalParams={computeKind:d.ComputeKind.ParseEdit,computeCells:[e],volatileMode:r};try{return this.formatter.parseEdit(t,i.value)}finally{this.evalParams=a}}inferFormulaFormat(e){const t=this.getEditedFormula(e);if(!(0,n.isSuccess)(t))return(0,n.success)(void this.cb.onUnavailableObject(t.reason));if(void 0===t.value||void 0===t.value[1].compiledFmla)return(0,n.success)(void this.cb.onUnavailableObject({kind:d.UnavailableKind.CellEvaluatingValue}));const r=t.value[1].compiledFmla.getValue();if(!(0,n.isSuccess)(r))return r;const a=(0,o.lexicalSourceGrid)(t.value[1].lexicalKind,(0,o.sheetGridRange)(e.sheet,t.value[0])),s=r.value;return this.formatter.evalFormat((0,i.evalFormatLocalsGrid)(a),s)}fillInferredFormat(e,t){let r=t,a=t===d.SpecialFormat.Unavailable?(0,n.success)(d.SpecialFormat.Unavailable):this.resolveCellFormat(e.sheet.document,t);if(!(0,n.isSuccess)(a)){const t=a.reason;(0,h.forEachRangeInSet)(e.set,(r=>{const n=(0,o.sheetGridRange)(e.sheet,r);return this.cb.onInferFormatFailure(n,t),!0})),a=(0,n.success)(d.SpecialFormat.Unavailable),r=d.SpecialFormat.Unavailable}const s=a.value;(0,h.forEachCellInSet)(e.set,(t=>{const a=(0,o.sheetGridCell)(e.sheet,t),l=this.getEditedFormat(a);if(!(0,n.isSuccess)(l))return this.cb.onUnavailableObject(l.reason),!0;if(l.value===d.SpecialFormat.Unavailable)return!0;const u=this.resolveCellFormat(e.sheet.document,l.value);if(!(0,n.isSuccess)(u))return this.cb.onInferFormatFailure(a,u.reason),!0;if((0,i.shouldInstallFormat)(s===d.SpecialFormat.Unavailable?void 0:s,u.value)){const e=this.setEditedFormat(a,r);(0,n.isSuccess)(e)||this.cb.onUnavailableObject(e.reason)}return!0}))}anonymizeFormula(e,t){const r=t.compiledFmla?.getValue();return void 0!==r&&(0,n.isSuccess)(r)?[(0,o.anonymizeFormula)(this.config,r.value,e),b(r.value)]:[(0,n.anonymizeFormulaString)(t.fmla),[]]}compileFmla(e,t,r,n,o){return{fmla:o,lexicalKind:t,origin:n??r.range,compiledFmla:new m.ResettableLazy((()=>{const i=this.parser.parseFormula((0,s.parseLocals)(t,r.range),o),l=e?i:this.autocorrectFormula((0,s.analyzeLocalsGrid)(t,r),i),u=e&&this.isServerWorkbookLoad,c=this.checkFormula((0,s.analyzeLocalsGrid)(t,r,void 0,u),l,o,e?d.FormulaMode.ServerCellFormula:d.FormulaMode.EditCellFormula),p=this.adjustFormulaOrigin(c,r,n);return this.compileFormula((0,a.compileLocalsGrid)(t,r.range),p)})),hasHyperlink:c.SpecialBoolean.ClientValueUnknown}}compileFormula(e,t){return(0,n.isSuccess)(t)?this.compiler.compileFormula(e,t.value):t}checkFormula(e,t,r,i){if(!(0,n.isSuccess)(t))return t;const l=this.analyzer.checkFormulaWithDiagnostics(e,t.value);if(!(0,n.isSuccess)(l))return l;if(!(0,o.isWellFormed)(l.value[0])){const e="calc.PartialWorkbook.checkFormula: expected well-formed formula; given "+(0,n.anonymizeFormulaString)(r);return(0,n.failure)((0,a.illFormedFormula)(e,i,(0,s.summarizeFormulaDiagnostics)(l.value[1])))}return(0,n.success)(l.value[0])}autocorrectFormula(e,t){return(0,n.isSuccess)(t)?this.analyzer.autocorrectFormula(e,t.value):t}adjustFormulaOrigin(e,t,r){if(!(0,n.isSuccess)(e)||void 0===r)return e;const i=(0,o.resolveLocalsGrid)(t);return(0,o.adjustFormulaOrigin)(this,i,r,e.value)}compileNumberFormat(e,t){return new m.ResettableLazy((()=>{const r=this.formatter.createFormat(e,t);return(0,n.isSuccess)(r)||this.cb.onNumberFormatFailure(r.reason),r}))}compileKnownFormats(){return(0,n.numEnumMap)(o.KnownFormat,(e=>this.compileNumberFormat((0,i.getKnownFormat)(this.config.localeInfo,e),!1)))}printFormulaBarText(e,t,r){return this.printer.printFormula((0,o.printLocalsGrid)(e,(0,o.sheetGridCell)(e.range.sheet,t)),r)}renderValueBarText(e,t,r){const o=this.getEditedResolvedFormat(e);return(0,n.isSuccess)(o)?this.formatter.renderFormulaBar(e.sheet.document,t,o.value,(0,n.stringStartsWith)(r,"'")):o}formatValueCell(e,t){if((0,o.isBlankOper)(t))return(0,n.success)((0,i.formattedValue)([],void 0,i.Alignment.Left,i.Clip.All));const r=this.getEditedResolvedFormat(e);return(0,n.isSuccess)(r)?this.formatter.applyFormat(r.value,t,!0):r}formatValueAggregate(e,t){if(!(0,o.isNumberOper)(t))return(0,n.success)((0,i.hashesValue)(i.aggregationError,void 0));let r;if((0,o.isNumberOper)(t)&&0===this.config.mathpack.cond(t))r=this.getKnownFormat(e.sheet.document,o.KnownFormat.General);else{if(r=this.getEditedResolvedFormat(e),!(0,n.isSuccess)(r))return r;const{valueType:t}=r.value;t===i.FormatValueType.Text?r=this.getKnownFormat(e.sheet.document,o.KnownFormat.General):t===i.FormatValueType.Time&&(r=this.getKnownFormat(e.sheet.document,o.KnownFormat.AbsHMMSS))}return(0,n.isSuccess)(r)?this.formatter.applyFormat(r.value,t,!0):r}formatValueIformat(e,t,r){const o=this.getIformat(e,t);return(0,n.isSuccess)(o)?this.formatter.applyFormat(o.value,r,!0):o}formatValueKnownFormat(e,t,r){const o=this.getKnownFormat(e,t);return(0,n.isSuccess)(o)?this.formatter.applyFormat(o.value,r,!0):o}getEditedResolvedFormat(e){const t=this.getEditedFormat(e);return(0,n.isSuccess)(t)?t.value===d.SpecialFormat.Unavailable?(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.CellFormat}])):this.resolveCellFormat(e.sheet.document,t.value):(0,n.failure)((0,o.unavailable)([t.reason]))}getDocument(e){return void 0!==this.documentLoc&&void 0!==this.document&&(0,o.isDocumentLocEqual)(this.documentLoc,e)?(0,n.success)(this.document):(0,n.failure)({kind:d.UnavailableKind.DocumentLoc,document:e})}ensureDocument(e){return void 0===this.documentLoc&&void 0===this.document&&(this.documentLoc=e,this.document=new l.PartialWorkbookDocument(e,this.config.localeInfo.stringCompareCI,new u.PartialWorkbookFormats(this.compileKnownFormats()),new g.PartialWorkbookStyles)),this.getDocument(e)}tryGetCellValues(e,t){const r=(0,o.sheetGridRange)(t,e),{row:i,col:s,rows:l,cols:u}=e,c=this.getRecalcValues(r);if(c.kind===n.ResultKind.Failure)return void this.cb.onUnavailableObject(c.reason);let p=!1;for(let e=0;e<l;e+=1){const r=c.value[e];for(let n=0;n<u;n+=1){const{failure:a}=r[n];void 0!==a&&(this.setCellFailure((0,o.sheetGridCell)(t,(0,o.gridCell)(i+e,s+n)),a,y),p=!0)}}if(p)return;const h=e=>(0,a.finalValue)(e.oper),g=c.value.map((e=>e.map(h))),m=this.forEachRecalcDirty(r,(e=>{const r=(0,o.sheetGridCell)(t,e),l=this.getEditedFormula(r);if(l.kind===n.ResultKind.Failure)return this.cb.onUnavailableObject(l.reason),!1;if(void 0===l.value)return this.setCellFailure(r,(0,o.unavailable)([{kind:d.UnavailableKind.CellMissingFormula}]),y),p=!0,!0;const[u,c]=l.value;if(void 0===c.compiledFmla)return this.cb.onUnavailableObject({kind:d.UnavailableKind.CellEvaluatingValue}),!1;const h=this.readCompiledFmla((0,o.sheetGridRange)(t,u),c.compiledFmla);return(0,n.isSuccess)(h)?(g[e.row-i][e.col-s]=(0,a.pendingValue)((0,o.sheetGridCell)(t,(0,o.gridRangeAnchor)(u))),!0):(p=!0,!0)}));if((0,n.isSuccess)(m)){if(m.value&&!p)return g}else this.cb.onUnavailableObject(m.reason)}tryGetCellValue(e,t){const r=this.tryGetCellValues(e,t);return void 0===r?void 0:r[0][0]}makeGetCellValues(e){return t=>{const r=this.allEditedAvailable(t);if(r.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([r.reason]));if(!0!==r.value)return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.GridRange,range:t,unavailableCells:r.value}]));const i=this.hasRecalcFailure(t);if(i.kind===n.ResultKind.Failure)return(0,n.failure)((0,o.unavailable)([i.reason]));if(i.value)return(0,n.failure)((0,a.previousFailure)(t));if((0,o.gridRangeSize)(t.range)>this.maxDereferenceCells)return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.GridRangeSize,range:t}]));const s=e(t.range,t.sheet);return void 0===s?(0,n.failure)((0,a.previousFailure)(t)):(0,n.success)(s)}}readCompiledFmla(e,t){const r=t.getValue();return(0,n.isSuccess)(r)?r:(this.setCellFailure(e,r.reason,y),r.reason.kind===a.ReasonKind.Unavailable?(r.reason,r):(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.CellFormula,reason:r.reason}])))}getEditedUsedRange(e){const t=this.getDocument(e.document);if(t.kind===n.ResultKind.Failure)return t;const r=t.value.getEditedUsedRange(e.index);return r.kind===n.ResultKind.Failure||void 0===r.value?r:(0,n.success)((0,o.sheetGridRange)(e,r.value))}getSheetRangeIds(e){const t=this.getDocument(e.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.getSheetRangeIds(e)}allEditedAvailable(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.allEditedAvailable(e)}forEachRecalcDirty(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.forEachRecalcDirty(e,t)}hasRecalcDirty(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.hasRecalcDirty(e)}hasRecalcFailure(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.hasRecalcFailure(e)}hasEditedEditTaint(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.hasEditedEditTaint(e)}hasRecalcEditTaint(e){const t=this.getDocument(e.sheet.document);return t.kind===n.ResultKind.Failure?t:t.value.hasRecalcEditTaint(e)}setEditedFormat(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.setEditedFormat(e,t)}setClientFormat(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.setClientFormat(e,t,this.advanceVersion())}setRecalcFailure(e,t){const r=this.getDocument(e.document);return r.kind===n.ResultKind.Failure?r:r.value.setRecalcFailure(e.index,t)}testAndSetClientValue(e,t){const r=this.getClientValue(e);if(r.kind===n.ResultKind.Failure)return r;const i=(0,c.isClientValueUnknownOper)(r.value.oper)||!(0,o.isReadOperEqual)(this.config.mathpack,r.value.oper,t,!0);if(i){const r=this.setClientValue(e,t);if(r.kind===n.ResultKind.Failure)return r}return(0,n.success)(i)}testAndSetClientFormat(e,t){const r=this.getClientFormat(e);if(r.kind===n.ResultKind.Failure)return r;const o=t!==r.value;if(o){const r=this.setClientFormat(e,t);if(r.kind===n.ResultKind.Failure)return r}return(0,n.success)(o)}testAndSetClientFormula(e,t,r){const i=this.getClientFormula((0,o.sheetGridRangeAnchor)(e));if(i.kind===n.ResultKind.Failure)return i;const[a,s]=i.value??[e.range,c.blankClientGridFormula],l=(0,o.gridRangeAnchor)(e.range),u=void 0!==t&&t!==s.fmla||void 0!==s.compiledFmla&&!(0,o.isGridCellEqual)(l,s.origin),d=void 0!==r&&r!==s.hasHyperlink;if(u||d){const{compiledFmla:i}=s,u=this.setClientFormula((0,o.sheetGridRange)(e.sheet,a),{fmla:t??s.fmla,compiledFmla:i,origin:void 0!==t?l:s.origin,hasHyperlink:r??s.hasHyperlink});if(u.kind===n.ResultKind.Failure)return u}return(0,n.success)({hasFmlaChanged:u,hasHyperlinkChanged:d})}setRecalcEditTaint(e,t){const r=this.getDocument(e.document);return r.kind===n.ResultKind.Failure?r:r.value.setRecalcEditTaint(e.index,t)}propagateEditTaint(e,t){const r=this.hasEditedEditTaint(e);if(r.kind===n.ResultKind.Failure)return r;if(r.value)return(0,n.success)(d.ComputedCellKind.EditedCell);for(const r of t.cells){const t=this.hasRecalcEditTaint(r);if(t.kind===n.ResultKind.Failure)return t;if(t.value){const t=this.setRecalcEditTaint(e.sheet,(0,h.createCellSetFromRange)(e.range));return t.kind===n.ResultKind.Failure?t:(0,n.success)(d.ComputedCellKind.DependentCell)}}if(0!=(t.special&(o.SpecialPrecs.Calc|o.SpecialPrecs.Time))){const t=this.setRecalcEditTaint(e.sheet,(0,h.createCellSetFromRange)(e.range));return t.kind===n.ResultKind.Failure?t:(0,n.success)(d.ComputedCellKind.DependentCell)}return t.bound===o.PrecsBound.Exact||void 0!==this.evalParams&&this.evalParams.computeKind===d.ComputeKind.EditedCell?(0,n.success)(d.ComputedCellKind.IndependentCell):(0,n.success)(d.ComputedCellKind.UnknownNonEditedCell)}setClientValue(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.setClientValue(e,t,this.advanceVersion())}setRecalcValue(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.setRecalcValue(e,t)}setClientFormula(e,t){const r=this.getDocument(e.sheet.document);return r.kind===n.ResultKind.Failure?r:r.value.setClientFormula(e,t,this.advanceVersion())}hasRecalcNameFailure(e){const t=this.getDocument(e.scope.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.hasRecalcNameFailure(e)}setRecalcNameFailure(e){const t=this.getDocument(e.scope.document);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,o.unavailable)([t.reason])):t.value.setRecalcNameFailure(e)}setNameFailure(e,t){const r=this.setRecalcNameFailure(e);if(r.kind===n.ResultKind.Failure)return this.cb.onUnavailable(r.reason);this.cb.onNameFailure(e,t,this.evalParams)}applyInferredFormat(e,t,r){const i=this.getInferredFormat(e,t);return(0,n.isSuccess)(i)?void 0===i.value?this.formatValueKnownFormat(e.sheet.document,o.KnownFormat.General,r):"number"==typeof i.value?this.formatValueIformat(e.sheet.document,i.value,r):this.formatter.applyFormat(i.value,r,!0):i}applyEditFormat(e,t,r,a){if(t.node.kind===o.NodeKind.CellRef&&!a)return this.applyInferredFormat(e,t,r);const s=this.ensureCellExists(e);if((0,n.isNone)(s)||!(0,n.isSuccess)(s))return s;const l=this.getEditedResolvedFormat(e);if(!(0,n.isSuccess)(l))return l;const u=this.getInferredFormat(e,t);if(!(0,n.isSuccess)(u))return u;let c;if(void 0===u.value)c=void 0;else if("number"==typeof u.value){const t=this.getIformat(e.sheet.document,u.value);if(!(0,n.isSuccess)(t))return t;c=t.value}else c=u.value;const d=(0,i.getKnownFormat)(this.config.localeInfo,o.KnownFormat.General)===l.value.formatString;return(a||d)&&(0,n.isDefined)(c)&&(0,i.shouldInstallFormat)(c,l.value)?this.formatter.applyFormat(c,r,!0):this.formatter.applyFormat(l.value,r,!0)}getInferredFormat(e,t){const r={lexicalSource:{kind:o.LexicalKind.Other},originGridCell:(0,n.success)(e.range),originSheet:(0,n.success)(e.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!1};return this.formatter.evalFormat(r,t)}ensureCellExists(e){const t=this.allEditedAvailable(e);if((0,n.isSuccess)(t))return!0!==t.value?(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.GridRange,unavailableCells:t.value,range:e}])):(0,n.success)(!0);this.cb.onUnavailableObject(t.reason)}constructor(e,t,r,l,u,c){this.cb=t,this.schedulerConfig=r,this.limits=l,this.maxDereferenceCells=u,this.isServerWorkbookLoad=c,this.random=new n.JSF32(4294967296*Math.random()),this.worksheetFuncOverrides={},this.userDefinedFuncOverrides={},this.version=0,this.interruptToken=[a.Interrupt.Continue],this.getCellValue=this.makeGetCellValues(this.tryGetCellValue.bind(this)),this.getCellValues=this.makeGetCellValues(this.tryGetCellValues.bind(this)),this.compileNamedObject=(e,t,r)=>{const i=e?d.FormulaMode.ServerNamedFormula:d.FormulaMode.EditNamedFormula;switch(r.kind){case"NamedFormula":{const t=r.fmla,l=this.parser.parseFormula((0,s.parseLocals)(o.LexicalKind.NameManager,f),t);(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection.compileNamedObject: isServerUpdate",e);const u=e&&this.isServerWorkbookLoad,c=(0,s.analyzeLocalsName)((0,o.originCell)((0,o.documentScope)(this.documentLoc),f),void 0,u),d=l,p=this.checkFormula(c,d,t,i);return this.compileFormula((0,a.compileLocalsName)(f),p)}case"NamedValue":case"NamedRange":case"NamedTable":{let e,i;if("NamedRange"===r.kind){const a=r.value;(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection.compileNamedObject: bad range",(0,o.isDocumentLocEqual)(r.value.sheets.document,t.scope.document));const s=a.sheets,l=this.getDocument(s.document);if(!(0,n.isSuccess)(l))return this.cb.onUnavailableObject(l.reason),(0,n.failure)((0,o.unavailable)([l.reason]));const u=l.value.getSheetName(s.index);if(!(0,n.isSuccess)(u))return this.cb.onUnavailable(u.reason),u;const c=r.value.ranges[0];e=(0,o.formula)((0,o.cellRefNode)((0,o.cellRefRange)((0,o.cellRefSingle)((0,o.pos)(o.PosKind.Abs,c.row),(0,o.pos)(o.PosKind.Abs,c.col)),(0,o.cellRefSingle)((0,o.pos)(o.PosKind.Abs,c.row+c.rows-1),(0,o.pos)(o.PosKind.Abs,c.col+c.cols-1))),(0,o.sheetQualifier)(u.value)),[],[],1),i=(0,o.sheetGridCell)(s,f)}else"NamedTable"===r.kind?(e=(0,o.formula)((0,o.structRefNode)((0,o.nameNode)((0,o.identNamePart)(t.name)),(0,o.structRef)(void 0)),[],[],1),i=(0,o.originCell)((0,o.documentScope)(this.documentLoc),f)):(e=(0,o.formula)((0,o.literalNode)(r.value,!0),[],[],1),i=(0,o.originCell)((0,o.documentScope)(this.documentLoc),f));const l=this.analyzer.checkFormula((0,s.analyzeLocalsName)(i),e);return(0,n.isSuccess)(l)&&(0,o.isWellFormed)(l.value)?this.compileFormula((0,a.compileLocalsName)(f),(0,n.success)(l.value)):(0,n.assertFalse)(`calc.calc.PartialWorkbookDocumentCollection.compileNamedObject: constructed ill-formed formula ${(0,o.anonymizeFormula)(this.config,e,(0,o.lexicalSourceName)(t))}`)}case"NamedFailure":return(0,n.failure)((0,o.unavailable)([{kind:d.UnavailableKind.ClientFailure,reason:r.failureReason}]));default:return(0,n.assertNever)("calc.calc.partialWorkbookDocumentCollection.compileNamedFmla",r)}},this.config=e,this.parser=(0,s.createParser)(this),this.printer=(0,o.createPrinter)(this),this.analyzer=(0,s.createAnalyzer)(this),this.formatter=(0,i.createNumberFormatter)(this),this.compiler=(0,a.createCompiler)(this),this.evaluator=(0,a.createEvaluator)(this)}}t.PartialWorkbookDocumentCollection=S},17980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFailureOutputMessage=function(e){return o.includes(e.kind)};const n=r(9228),o=[n.OutputMessageKind.RangeFailure,n.OutputMessageKind.NameFailure,n.OutputMessageKind.NumberFormatFailure,n.OutputMessageKind.PrintFormulaFailure,n.OutputMessageKind.InferFormatFailure,n.OutputMessageKind.FormatValueFailure,n.OutputMessageKind.UnhandledFailure]},98442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookFormats=void 0;const n=r(52123),o=r(9228);class i{clone(){const e=new i(this.knownFormats);return Object.keys(this.iformats).map(Number).forEach((t=>{e.iformats[t]=this.iformats[t]})),Object.keys(this.formatStrings).forEach((t=>{e.formatStrings[t]=this.formatStrings[t]})),e}clearCompiledNumberFormats(){this.iformats.forEach((e=>{e.compiledFormat.reset()})),Object.keys(this.knownFormats).map((e=>Number(e))).forEach((e=>{this.knownFormats[e].reset()})),this.formatStrings=(0,n.makeStringMap)(),Object.keys(this.iformats).map(Number).forEach((e=>{const t=this.iformats[e];this.formatStrings[t.formatString]=e}))}getIformat(e){const t=this.iformats[e];return void 0===t?(0,n.failure)({kind:o.UnavailableKind.NumberFormat,iformat:e}):(0,n.success)(t.compiledFormat)}getIformats(){return this.iformats}getKnownFormat(e){return(0,n.success)(this.knownFormats[e])}getFormatString(e){return(0,n.success)(this.formatStrings[e])}setNumberFormats(e,t){t||(this.iformats=[],this.formatStrings=(0,n.makeStringMap)()),Object.keys(e).map(Number).forEach((t=>{const r=this.iformats[t];void 0!==r&&delete this.formatStrings[r.formatString];const n=e[t];this.iformats[t]=n,this.formatStrings[n.formatString]=t}))}constructor(e){this.iformats=[],this.formatStrings=(0,n.makeStringMap)(),this.knownFormats=e}}t.PartialWorkbookFormats=i},22096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookGrid=t.CloningTarget=t.denseUsedRange=t.emptyUsedRange=t.emptyGridStatistics=t.hiddennessFullyUnavailable=t.blankGridValue=t.clientValueUnknownOper=t.ClientOperKind=t.blankClientGridFormula=t.isBlankGridFormula=t.blankRangeGridFormula=t.blankCellGridFormula=t.SpecialString=t.SpecialBoolean=t.isBlankCellFormat=t.blankCellFormat=void 0,t.isClientValueUnknownOper=g,t.isBlankGridValue=m,t.mergeGridStatistics=function(e,t){return{serverFormulaeNodeCount:e.serverFormulaeNodeCount+t.serverFormulaeNodeCount,serverFormatsNodeCount:e.serverFormatsNodeCount+t.serverFormatsNodeCount,serverStylesNodeCount:e.serverStylesNodeCount+t.serverStylesNodeCount,serverValuesNodeCount:e.serverValuesNodeCount+t.serverValuesNodeCount,serverDirtySetSubspaceCount:e.serverDirtySetSubspaceCount+t.serverDirtySetSubspaceCount,editedFormulaeNodeCount:e.editedFormulaeNodeCount+t.editedFormulaeNodeCount,editedFormatsNodeCount:e.editedFormatsNodeCount+t.editedFormatsNodeCount,editedStylesNodeCount:e.editedStylesNodeCount+t.editedStylesNodeCount,editedValuesNodeCount:e.editedValuesNodeCount+t.editedValuesNodeCount,editedDirtySetSubspaceCount:e.editedDirtySetSubspaceCount+t.editedDirtySetSubspaceCount,clientFormulaeNodeCount:e.clientFormulaeNodeCount+t.clientFormulaeNodeCount,clientFormatsNodeCount:e.clientFormatsNodeCount+t.clientFormatsNodeCount,clientValuesNodeCount:e.clientValuesNodeCount+t.clientValuesNodeCount,recalcValuesNodeCount:e.recalcValuesNodeCount+t.recalcValuesNodeCount,recalcDirtySetSubspaceCount:e.recalcDirtySetSubspaceCount+t.recalcDirtySetSubspaceCount,recalcFailuresSetSubspaceCount:e.recalcFailuresSetSubspaceCount+t.recalcFailuresSetSubspaceCount,recalcTaintSetSubspaceCount:e.recalcTaintSetSubspaceCount+t.recalcTaintSetSubspaceCount,availabilitySetSubspaceCount:e.availabilitySetSubspaceCount+t.availabilitySetSubspaceCount,availabilityHistorySize:e.availabilityHistorySize+t.availabilityHistorySize,hiddenRowsNodeCount:e.hiddenRowsNodeCount+t.hiddenRowsNodeCount,hiddenColsNodeCount:e.hiddenColsNodeCount+t.hiddenColsNodeCount}},t.usedRangeJoin=C,t.usedRangeIsect=T;const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(14382),l=r(9228),u=r(99805);function c(e){return Array.isArray(e)}var d,p,h;function g(e){return e.kind===h.ClientValueUnknown}function m(e,t){return(0,a.isBlankOper)(e)&&void 0===t}function f(e,t,r){return e.setValue(t,r,(e=>e.fmla!==r.fmla||e.lexicalKind!==r.lexicalKind||void 0!==e.compiledFmla&&!(0,a.isGridCellEqual)(e.origin,r.origin)||null==e.compiledFmla!=(null==r.compiledFmla)))}function v(e,r){return e.forEachMeets(r,((r,n)=>{if(n.fmla.length>0){const o=n.lexicalKind===a.LexicalKind.Cell?t.blankCellGridFormula:t.blankRangeGridFormula;e=e.setValue(r,o)}return!0})),e}function b(e,r){return e.forEachMeets(r,((r,n)=>((n.fmla===p.ClientValueUnknown||n.fmla.length>0)&&(e=e.setValue(r,t.blankClientGridFormula)),!0))),e}function y(e,t,r,n){const o=(0,i.intersectProduct)(t,u.availableReadProduct),a=(0,i.project)((0,i.intersectProduct)(r,o),"row","col");return(0,u.forEachCellInSet)((0,i.exceptProduct)(t,a),(t=>(e=e.setValue(t,n),!0))),e}t.blankCellFormat=0,t.isBlankCellFormat=e=>0===e,function(e){e.ClientValueUnknown="ClientValueUnknown"}(d||(t.SpecialBoolean=d={})),function(e){e[e.ClientValueUnknown=0]="ClientValueUnknown"}(p||(t.SpecialString=p={})),t.blankCellGridFormula={fmla:"",lexicalKind:a.LexicalKind.Cell,origin:(0,a.gridCell)(0,0),compiledFmla:void 0,hasHyperlink:!1},(0,n.staticAssertExtends)(),t.blankRangeGridFormula={fmla:"",lexicalKind:a.LexicalKind.Range,origin:(0,a.gridCell)(0,0),compiledFmla:void 0,hasHyperlink:!1},(0,n.staticAssertExtends)(),t.isBlankGridFormula=(e,t)=>""===e&&!t,t.blankClientGridFormula=t.blankCellGridFormula,function(e){e.ClientValueUnknown="ClientValueUnknown"}(h||(t.ClientOperKind=h={})),t.clientValueUnknownOper={kind:h.ClientValueUnknown},t.blankGridValue={oper:a.blankOper,failure:void 0},(0,n.staticAssertExtends)(),t.hiddennessFullyUnavailable={hidden:[],available:[]};const S={values:(0,a.makeGridRangeTable)(),formats:(0,a.makeGridRangeTable)(),styles:(0,a.makeGridRangeTable)(),formulae:(0,a.makeGridRangeTable)(),dirty:o.empty};function C(e,r){return e===t.emptyUsedRange?r:r===t.emptyUsedRange?e:(0,a.gridRangeJoin)(e,r)}function T(e,r){return e===t.emptyUsedRange||r===t.emptyUsedRange?t.emptyUsedRange:(0,a.gridRangeIsect)(e,r)}var k;t.emptyGridStatistics={serverFormulaeNodeCount:0,serverFormatsNodeCount:0,serverStylesNodeCount:0,serverValuesNodeCount:0,serverDirtySetSubspaceCount:0,editedFormulaeNodeCount:0,editedFormatsNodeCount:0,editedStylesNodeCount:0,editedValuesNodeCount:0,editedDirtySetSubspaceCount:0,clientFormulaeNodeCount:0,clientFormatsNodeCount:0,clientValuesNodeCount:0,recalcValuesNodeCount:0,recalcDirtySetSubspaceCount:0,recalcFailuresSetSubspaceCount:0,recalcTaintSetSubspaceCount:0,availabilitySetSubspaceCount:0,availabilityHistorySize:0,hiddenRowsNodeCount:0,hiddenColsNodeCount:0},t.emptyUsedRange=void 0,t.denseUsedRange=(0,a.gridRange)(0,0,a.sheetRows,a.sheetCols),function(e){e[e.Server=0]="Server",e[e.Client=1]="Client"}(k||(t.CloningTarget=k={}));class F{static create(){return new F}clone(e=k.Server){const t=new F(this.serverContents,this.serverAvailability,this.serverUsed,this.hiddenRows,this.hiddenRowsAvailability,this.hiddenCols,this.hiddenColsAvailability,this.mergeCells,this.inFilterMode,this.filterModeAvailable);return e===k.Client&&(t.editedContents=this.editedContents,t.clientContents=this.clientContents,t.recalcValues=this.recalcValues,t.recalcDirty=this.recalcDirty,t.recalcFailures=this.recalcFailures,t.editedTaint=this.editedTaint,t.recalcTaint=this.recalcTaint,t.editedAvailability=this.editedAvailability),t}advanceState(e,r){this.oldAvailabilities[e]=this.serverAvailability,this.availabilityHistorySize+=1,this.serverAvailability=o.empty,this.serverUsed=t.denseUsedRange,this.hiddenRows=this.hiddenRowsAvailability=o.empty,this.hiddenCols=this.hiddenColsAvailability=o.empty,this.inFilterMode=this.filterModeAvailable=!1,this.rollBackToServerState(r)}rollBackToServerState(e){this.editedContents=this.serverContents,this.editedAvailability=this.serverAvailability,this.editedUsed=this.serverUsed,this.editedTaint=o.empty,this.rollBackToEditedState(e)}rollBackToEditedState(e){this.setClientContents(this.editedContents,e),this.recalcValues=this.editedContents.values,this.recalcFailures=o.empty,this.recalcDirty=this.editedContents.dirty,this.recalcTaint=this.editedTaint}allServerAvailable(e){return this.allAvailable(e,this.serverAvailability)}allEditedAvailable(e){return this.allAvailable(e,this.editedAvailability)}allAvailable(e,t){const r=(0,u.createCellSetFromRange)(e),n=(0,i.intersectProduct)(r,u.availableReadProduct),o=(0,i.intersectProduct)(t,n),a=(0,i.project)((0,i.exceptProduct)(n,o),"row","col"),s=(0,i.compareProduct)(o,n);return!!(void 0!==s&&s>=0)||a}forEachRecalcDirty(e,t){return(0,u.forEachCellInSet)((0,i.intersectProduct)(this.recalcDirty,(0,u.createCellSetFromRange)(e)),t)}hasRecalcDirty(e){return(0,i.meetsProduct)(this.recalcDirty,(0,u.createCellSetFromRange)(e))}hasRecalcFailure(e){return(0,i.meetsProduct)(this.recalcFailures,(0,u.createCellSetFromRange)(e))}hasEditedEditTaint(e){return(0,i.meetsProduct)(this.editedTaint,(0,u.createCellSetFromRange)(e))}hasRecalcEditTaint(e){return(0,i.meetsProduct)(this.recalcTaint,(0,u.createCellSetFromRange)(e))}getEditedUsedRange(){return this.editedUsed}getServerUsedRange(){return this.serverUsed}getServerAvailability(){return this.serverAvailability}getHiddenRows(e,t){const r=u.bspFactory.row((0,n.pair)(e,t)),i=(0,o.intersect)(this.hiddenRowsAvailability,r),a=[];(0,u.forEachRow)(i,(([e,t])=>(a.push((0,s.interval)(e,t)),!0)));const l=[];return(0,u.forEachRow)((0,o.intersect)(this.hiddenRows,i),(([e,t])=>(l.push((0,s.interval)(e,t)),!0))),{hidden:l,available:a}}tryGetHiddenRows(e,t){const r=this.getHiddenRows(e,t);return 1===r.available.length&&r.available[0].start===e&&r.available[0].end===t?(0,n.success)(r.hidden):(0,n.failure)({kind:l.UnavailableKind.HiddenRows})}setHiddenRows(e,t){const r=u.bspFactory.row((0,n.pair)(e.row,e.row+e.rows));this.hiddenRows=(0,o.union)((0,o.except)(this.hiddenRows,r),(0,o.intersect)(t,r)),this.hiddenRowsAvailability=(0,o.union)(this.hiddenRowsAvailability,r)}getHiddenCols(e,t){const r=u.bspFactory.col((0,n.pair)(e,t)),i=(0,o.intersect)(this.hiddenColsAvailability,r),a=[];(0,u.forEachCol)(i,(([e,t])=>(a.push((0,s.interval)(e,t)),!0)));const l=[];return(0,u.forEachCol)((0,o.intersect)(this.hiddenCols,i),(([e,t])=>(l.push((0,s.interval)(e,t)),!0))),{hidden:l,available:a}}tryGetHiddenCols(e,t){const r=this.getHiddenCols(e,t);return 1===r.available.length&&r.available[0].start===e&&r.available[0].end===t?(0,n.success)(r.hidden):(0,n.failure)({kind:l.UnavailableKind.HiddenCols})}setHiddenCols(e,t){const r=u.bspFactory.col((0,n.pair)(e.col,e.col+e.cols));this.hiddenCols=(0,o.union)((0,o.except)(this.hiddenCols,r),(0,o.intersect)(t,r)),this.hiddenColsAvailability=(0,o.union)(this.hiddenColsAvailability,r)}setMergeCell(e){this.mergeCells=this.mergeCells.setValue(e,!0)}getMergeCell(e){let t;return this.mergeCells.forEachGe(e,(e=>(t=e,!0))),t}isInFilterMode(){return this.filterModeAvailable?(0,n.success)(this.inFilterMode):(0,n.failure)({kind:l.UnavailableKind.InFilterMode})}setInFilterMode(e){this.inFilterMode=e,this.filterModeAvailable=!0}forEachNonBlankSetCellInSet(e,r,n,o){const s=(0,i.intersectProduct)(e,u.availableSetProduct);return(0,u.forEachRangeInSet)((0,i.intersectProduct)(n,s),(e=>o.formulae.forEachMeets(e,((n,o)=>!!(0,t.isBlankGridFormula)(o.fmla,void 0!==o.compiledFmla)||(0,a.forEachCellInRange)((0,a.gridRangeIsect)(e,n),r)))))}forEachReadableCellInSet(e,t,r){const n=(0,i.intersectProduct)(e,u.availableReadProduct);return(0,u.forEachRangeInSet)((0,i.intersectProduct)(r,n),(e=>(0,a.forEachCellInRange)(e,t)))}forEachEditedNonBlankCellInSet(e,t){return this.forEachNonBlankSetCellInSet(e,t,this.editedAvailability,this.editedContents)}forEachServerNonBlankCellInSet(e,t){return this.forEachNonBlankSetCellInSet(e,t,this.serverAvailability,this.serverContents)}forEachEditedCellInSet(e,t){return this.forEachReadableCellInSet(e,t,this.editedAvailability)}promoteServerAvailability(e,t){const r=(0,i.intersectProduct)(e,u.availableSetProduct),n=this.oldAvailabilities[t];if(void 0===n)return!1;const a=(0,i.compareProduct)(n,r);return void 0!==a&&a>=0&&(this.unionAvailability(!0,(0,i.intersectProduct)(e,u.availableAllProduct)),this.unionTaint(!0,o.empty),this.unionUsed(!0,(0,u.cellSetBounds)(e)),!0)}extendServerUnused(e,r){const n=e===t.emptyUsedRange?o.empty:(0,u.createCellSetFromRange)(e),a=(0,i.complementProduct)(n);let{values:s,formats:c,styles:d,formulae:p,dirty:h}=this.serverContents;(0,u.forEachRangeInSet)(a,(e=>(s.forEachLe(e,((e,r)=>(m(r.oper,r.failure)||(s=s.setValue(e,t.blankGridValue)),!0))),c.forEachLe(e,((e,r)=>((0,t.isBlankCellFormat)(r)||(c=c.setValue(e,t.blankCellFormat)),!0))),d.forEachLe(e,((e,t)=>(t!==l.SpecialStyle.Blank&&(d=d.setValue(e,l.SpecialStyle.Blank)),!0))),!0))),(0,u.forEachRangeInSet)(a,(e=>(p=v(p,e),!0))),h=(0,i.exceptProduct)(h,a),this.setContents(!0,{values:s,formats:c,styles:d,formulae:p,dirty:h},r);const g=(0,i.intersectProduct)(a,u.availableReadProduct);this.serverAvailability=this.editedAvailability=(0,i.unionProduct)(this.serverAvailability,g),this.editedTaint=this.recalcTaint=o.empty;let f=this.serverUsed;f=T(f,e),this.serverUsed=this.editedUsed=f}setRecalcFailure(e){this.recalcFailures=(0,i.unionProduct)(this.recalcFailures,e)}setRecalcEditTaint(e){this.recalcTaint=(0,i.unionProduct)(this.recalcTaint,e)}setRecalcValue(e,t){(0,a.forEachCellInRange)(e,((e,r,n)=>(this.recalcValues=this.recalcValues.setValue(e,{oper:c(t)?t[r][n]:t,failure:void 0}),!0))),this.recalcDirty=(0,i.exceptProduct)(this.recalcDirty,(0,u.createCellSetFromRange)(e))}setClientContents(e,t){this.clientContents=e}setClientValue(e,t,r){let{values:n}=this.clientContents;(0,a.forEachCellInRange)(e,((e,r,o)=>(n=n.setValue(e,{oper:c(t)?t[r][o]:t,failure:void 0}),!0))),this.setClientContents({...this.clientContents,values:n},r)}setClientFormula(e,t,r,n){let{formulae:o}=this.clientContents;o=b(o,e),void 0!==t?o=o.setValue(t,r):(0,a.forEachCellInRange)(e,(e=>(o=o.setValue(e,r),!0))),this.setClientContents({...this.clientContents,formulae:o},n)}setClientFormat(e,t,r){let{formats:n}=this.clientContents;(0,a.forEachCellInRange)(e,(e=>(n=n.setValue(e,t),!0))),this.setClientContents({...this.clientContents,formats:n},r)}getRecalcValues(e){const{row:r,col:o,rows:i,cols:a}=e,s=new Array(i);for(let e=0;e<i;e+=1)s[e]=(0,n.arrayFill)(new Array(a),t.blankGridValue);return this.recalcValues.forEachLe(e,((e,t)=>(s[e.row-r][e.col-o]=t,!0))),s}forEachRecalcValue(e,t){return this.recalcValues.forEachMeets(e,t)}getClientValue(e){return this.clientContents.values.getValue(e)??t.blankGridValue}getServerValue(e){return this.serverContents.values.getValue(e)??t.blankGridValue}getEditedValue(e){return this.editedContents.values.getValue(e)??t.blankGridValue}forEachEditedValue(e,t){return this.editedContents.values.forEachMeets(e,t)}getServerFormula(e){return this.getFormula(e,this.serverContents.formulae)}getClientFormula(e){return this.getFormula(e,this.clientContents.formulae)}setEditedFormat(e,t){this.editedContents={...this.editedContents,formats:this.editedContents.formats.setValue(e,t)}}getEditedFormat(e){return this.editedContents.formats.getValue(e)??t.blankCellFormat}forEachEditedFormat(e,t){return this.editedContents.formats.forEachMeets(e,t)}getServerFormat(e){return this.serverContents.formats.getValue(e)??t.blankCellFormat}getEditedStyle(e){return this.editedContents.styles.getValue(e)??l.SpecialStyle.Blank}getServerStyle(e){return this.serverContents.styles.getValue(e)??l.SpecialStyle.Blank}getClientFormat(e){return this.clientContents.formats.getValue(e)??t.blankCellFormat}getEditedFormula(e){return this.getFormula(e,this.editedContents.formulae)}forEachEditedFormula(e,t){return this.editedContents.formulae.forEachMeets(e,t)}getFormula(e,r){let n;return r.forEachGe(e,((e,r)=>!!(0,t.isBlankGridFormula)(r.fmla,void 0!==r.compiledFmla)||(n=[e,r],!1))),n}setContents(e,t,r){e&&(this.serverContents=t),this.editedContents=t,e&&this.setClientContents(this.editedContents,r),this.recalcValues=this.editedContents.values,this.recalcDirty=this.editedContents.dirty,this.recalcFailures=o.empty}unionAvailability(e,t){let r=e?this.serverAvailability:this.editedAvailability;r=(0,i.unionProduct)(r,t),e&&(this.serverAvailability=r),this.editedAvailability=r}unionTaint(e,t){this.editedTaint=e?o.empty:(0,i.unionProduct)(this.editedTaint,t),this.recalcTaint=this.editedTaint}unionUsed(e,t){let r=e?this.serverUsed:this.editedUsed;r=C(r,t),e&&(this.serverUsed=r),this.editedUsed=r}setCellContents(e,t,r,n,o,i,a,s,l){this.setCommon(e,t,void 0,r,n,o,i,a,s,l)}setRangeFormula(e,t,r,n,o,i,a,s){const l=(0,u.createCellSetFromRange)(t);this.setCommon(e,l,t,r,n,void 0,o,i,a,s)}setCommon(e,r,n,a,s,c,d,p,h,g){let{values:b,formats:S,styles:C,formulae:T,dirty:k}=e?this.serverContents:this.editedContents;const F=void 0===a&&void 0!==s||void 0!==a?.compiledFmla;let E=a;void 0!==a&&((0,u.forEachRangeInSet)(r,(e=>(T=v(T,e),!0))),(0,t.isBlankGridFormula)(a.fmla,void 0!==a.compiledFmla)&&(E=void 0));const A=void 0!==E&&void 0===n?a:void 0,I=void 0!==E&&void 0!==n?a:void 0;let x=s;void 0!==s&&m(s,c)&&((0,u.forEachRangeInSet)(r,(e=>(b.forEachLe(e,((e,r)=>(m(r.oper,r.failure)||(b=b.setValue(e,t.blankGridValue)),!0))),!0))),k=F?(0,i.unionProduct)(k,r):(0,i.exceptProduct)(k,r),x=void 0);const w=void 0!==x?{oper:x,failure:c}:void 0;let P=d;void 0!==d&&(0,t.isBlankCellFormat)(d)&&((0,u.forEachRangeInSet)(r,(e=>(S.forEachLe(e,((e,r)=>((0,t.isBlankCellFormat)(r)||(S=S.setValue(e,t.blankCellFormat)),!0))),!0))),P=void 0);const R=P===l.SpecialFormat.Weak?void 0:P,D=P===l.SpecialFormat.Weak?P:void 0;let _=p;void 0!==p&&p===l.SpecialStyle.Blank&&((0,u.forEachRangeInSet)(r,(e=>(C.forEachLe(e,((e,t)=>(t!==l.SpecialStyle.Blank&&(C=C.setValue(e,l.SpecialStyle.Blank)),!0))),!0))),_=void 0);const N=_===l.SpecialStyle.Weak?void 0:_,O=_===l.SpecialStyle.Weak?_:void 0;let M=r;if(!e){const e=(0,i.intersectProduct)(r,u.availableSetProduct),t=(0,i.project)((0,i.intersectProduct)(this.editedAvailability,e),"row","col"),n=(0,i.intersectProduct)(r,void 0!==h?(0,u.createCellSetFromRange)(h):o.empty);M=(0,i.unionProduct)(t,n)}if(void 0===A&&void 0===R&&void 0===N&&void 0===w||((0,u.forEachCellInSet)(M,(e=>(void 0!==A&&(T=f(T,e,A)),void 0!==R&&(S=S.setValue(e,R)),void 0!==N&&(C=C.setValue(e,N)),void 0!==w&&(b=b.setValue(e,w)),!0))),void 0===A&&void 0===w||(k=F?(0,i.unionProduct)(k,M):(0,i.exceptProduct)(k,M))),void 0!==I){T=f(T,n,I);const e=(0,u.createCellSetFromRange)(n);k=F?(0,i.unionProduct)(k,e):(0,i.exceptProduct)(k,e)}void 0!==D&&(S=y(S,M,e?this.serverAvailability:this.editedAvailability,l.SpecialFormat.Unavailable)),void 0!==O&&(C=function(e,t,r){const n=(0,i.intersectProduct)(t,u.availableReadProduct),o=(0,i.project)((0,i.intersectProduct)(r,n),"row","col");return(0,u.forEachCellInSet)((0,i.exceptProduct)(t,o),(t=>(e=e.setValue(t,l.SpecialStyle.Unavailable),!0))),e}(C,M,e?this.serverAvailability:this.editedAvailability));const B=void 0===s?o.empty:M,L=void 0===a?o.empty:M,K=void 0===d?o.empty:M,W=void 0===s&&void 0===d?o.empty:M;e||((0,u.forEachRangeInSet)(B,(e=>(this.setClientValue(e,t.clientValueUnknownOper,g),!0))),void 0!==a&&(void 0!==n?this.setClientFormula(n,n,a,g):(0,u.forEachRangeInSet)(L,(e=>(this.setClientFormula(e,void 0,a,g),!0)))),d===l.SpecialFormat.Weak?this.setClientContents({...this.clientContents,formats:y(this.clientContents.formats,K,this.editedAvailability,l.SpecialFormat.ClientValueUnknown)},g):(0,u.forEachRangeInSet)(K,(e=>(this.setClientFormat(e,l.SpecialFormat.ClientValueUnknown,g),!0)))),this.setContents(e,{values:b,formats:S,styles:C,formulae:T,dirty:k},g),this.unionAvailability(e,(0,i.intersectProduct)(B,u.availableAllProduct)),e||(this.editedAvailability=(0,i.exceptProduct)(this.editedAvailability,(0,i.exceptProduct)(r,M))),this.unionTaint(e,W),this.unionUsed(e,(0,u.cellSetBounds)(r))}copyRange(e){function t(t,r){return t.forEachLe(e,((e,t)=>(r=r.setValue(e,t),!0))),r}let{values:r,formats:n,styles:o,formulae:s}=S;const{values:l,formats:c,styles:d,formulae:p}=this.editedContents;r=t(l,r),n=t(c,n),o=t(d,o),p.forEachMeets(e,((t,r)=>(s=s.setValue((0,a.gridRangeIsect)(t,e),r),!0)));const h=(0,a.gridRangeAnchor)(e),g=(0,i.intersectProduct)(this.editedAvailability,(0,u.createCellSetFromRange)(e)),m=T(this.editedUsed,e);return{origin:h,formats:n,styles:o,values:r,formulae:s,availability:g,used:m}}pasteRange(e,r,n){const s=(0,u.createCellSetFromRange)(e),c=(0,a.gridRange)(r.origin.row,r.origin.col,e.rows,e.cols);let{values:h,formats:g,styles:m,formulae:f,dirty:v}=this.editedContents;const y=this.editedUsed,S=e.row-r.origin.row,k=e.col-r.origin.col;function F(e){return(0,a.gridRange)(e.row+S,e.col+k,e.rows,e.cols)}function E(t,r,n){return r.forEachMeets(e,((e,t)=>(r=r.setValue(e,n),!0))),t.forEachLe(c,((e,t)=>(r=r.setValue(F(e),t),!0))),r}const A=C(y,r.used!==t.emptyUsedRange?F(r.used):t.emptyUsedRange),I=T(A,e);h=E(r.values,h,t.blankGridValue),I!==t.emptyUsedRange&&this.setClientValue(I,t.clientValueUnknownOper,n),g=E(r.formats,g,t.blankCellFormat),m=E(r.styles,m,l.SpecialStyle.Blank),I!==t.emptyUsedRange&&this.setClientFormat(I,l.SpecialFormat.ClientValueUnknown,n),f=E(r.formulae,f,t.blankCellGridFormula),v=(0,i.exceptProduct)(v,s);{let{formulae:t}=this.clientContents;t=b(t,e),f.forEachLe(e,((e,{origin:r,compiledFmla:n})=>(void 0!==n&&(v=(0,i.unionProduct)(v,(0,u.createCellSetFromRange)(e))),t=t.setValue(e,{fmla:p.ClientValueUnknown,origin:r,compiledFmla:n,hasHyperlink:d.ClientValueUnknown}),!0))),this.setClientContents({...this.clientContents,formulae:t},n)}const x=!1;var w;this.setContents(x,{values:h,formats:g,styles:m,formulae:f,dirty:v},n),this.editedAvailability=(0,i.exceptProduct)(this.editedAvailability,s),this.unionAvailability(x,(w=r.availability,(0,u.translateAvailabilitySet)(w,S,k))),this.unionTaint(x,I===t.emptyUsedRange?o.empty:(0,u.createCellSetFromRange)(I)),this.unionUsed(x,A)}assumeRecalcFinal(e,t){this.recalcDirty=(0,i.exceptProduct)(this.recalcDirty,e)}getDirtyEditedCells(){return(0,i.intersectProduct)(this.recalcDirty,this.editedTaint)}getNonDirtyEditedCells(){return(0,i.exceptProduct)(this.editedTaint,this.recalcDirty)}getDirtyDependentCells(){return(0,i.exceptProduct)(this.recalcDirty,this.editedTaint)}onCellModified(e,r){const n=e?this.serverContents:this.editedContents;this.setContents(e,n,r),this.unionAvailability(e,o.empty),this.unionTaint(e,o.empty),this.unionUsed(e,t.emptyUsedRange)}clearCompiledFormulas(){for(const e of[this.serverContents.formulae,this.editedContents.formulae])e.forEach(((e,t)=>(void 0!==t.compiledFmla&&t.compiledFmla.reset(),!0)))}getStatistics(){return{serverFormulaeNodeCount:this.serverContents.formulae.getCount(),serverFormatsNodeCount:this.serverContents.formats.getCount(),serverStylesNodeCount:this.serverContents.styles.getCount(),serverValuesNodeCount:this.serverContents.values.getCount(),serverDirtySetSubspaceCount:(0,i.getSubspaceCount)(this.serverContents.dirty),editedFormulaeNodeCount:this.editedContents.formulae.getCount(),editedFormatsNodeCount:this.editedContents.formats.getCount(),editedStylesNodeCount:this.editedContents.styles.getCount(),editedValuesNodeCount:this.editedContents.values.getCount(),editedDirtySetSubspaceCount:(0,i.getSubspaceCount)(this.editedContents.dirty),clientFormulaeNodeCount:this.clientContents.formulae.getCount(),clientFormatsNodeCount:this.clientContents.formats.getCount(),clientValuesNodeCount:this.clientContents.values.getCount(),recalcValuesNodeCount:this.recalcValues.getCount(),recalcDirtySetSubspaceCount:(0,i.getSubspaceCount)(this.recalcDirty),recalcFailuresSetSubspaceCount:(0,i.getSubspaceCount)(this.recalcFailures),recalcTaintSetSubspaceCount:(0,i.getSubspaceCount)(this.recalcTaint),availabilityHistorySize:this.availabilityHistorySize,availabilitySetSubspaceCount:(0,i.getSubspaceCount)(this.editedAvailability),hiddenRowsNodeCount:(0,o.getNodeCount)(this.hiddenRows)+(0,o.getNodeCount)(this.hiddenRowsAvailability),hiddenColsNodeCount:(0,o.getNodeCount)(this.hiddenCols)+(0,o.getNodeCount)(this.hiddenColsAvailability)}}collectGarbage(e,r){let n=o.empty;for(const t in this.oldAvailabilities)if(this.oldAvailabilities.hasOwnProperty(t)){const r=Number(t);if(r>=e){n=(0,i.unionProduct)(n,this.oldAvailabilities[r]);continue}delete this.oldAvailabilities[r],this.availabilityHistorySize-=1}function a(e){return(0,i.meetsProduct)((0,i.intersectProduct)((0,u.createCellSetFromRange)(e),u.availableSetProduct),n)}function s(e,r){return!(0,t.isBlankGridFormula)(r.fmla,void 0!==r.compiledFmla)&&a(e)}function c(e,r){return!(0,t.isBlankCellFormat)(r)&&a(e)}function d(e,t){return t!==l.SpecialStyle.Blank&&a(e)}function p(e,t){return!(!g(t.oper)&&m(t.oper,t.failure))&&a(e)}const h=(0,i.project)(n,"row","col");this.serverContents={formulae:this.serverContents.formulae.filter(s),formats:this.serverContents.formats.filter(c),styles:this.serverContents.styles.filter(d),values:this.serverContents.values.filter(p),dirty:(0,i.intersectProduct)(this.serverContents.dirty,h)},this.editedContents={formulae:this.editedContents.formulae.filter(s),formats:this.editedContents.formats.filter(c),styles:this.editedContents.styles.filter(d),values:this.editedContents.values.filter(p),dirty:(0,i.intersectProduct)(this.editedContents.dirty,h)},this.setClientContents({formulae:this.clientContents.formulae.filter(s),formats:this.clientContents.formats.filter(c),values:this.clientContents.values.filter(p)},r),this.recalcValues=this.recalcValues.filter(p),this.recalcDirty=(0,i.intersectProduct)(this.recalcDirty,h)}constructor(e=S,r=o.empty,n=t.denseUsedRange,i=o.empty,s=o.empty,l=o.empty,u=o.empty,c=(0,a.makeGridRangeTable)(),d=!1,p=!1){this.oldAvailabilities={},this.availabilityHistorySize=0,this.serverContents=e,this.serverAvailability=r,this.serverUsed=n,this.hiddenRows=i,this.hiddenRowsAvailability=s,this.hiddenCols=l,this.hiddenColsAvailability=u,this.mergeCells=c,this.inFilterMode=d,this.filterModeAvailable=p,this.rollBackToServerState(0)}}t.PartialWorkbookGrid=F},9228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutputMessageKind=t.FormulaMode=t.SpecialStyle=t.SpecialFormat=t.SetMessageKind=t.RecalcStatisticsMessage=t.emptyRecalcStatistics=t.ComputedCellKind=t.ComputeKind=t.UnavailableKind=void 0,t.sheetCellSet=g,t.createSheetCellSetFromRange=function(e){return g(e.sheet,(0,o.createCellSetFromRange)(e.range))},t.sheetUsedRange=function(e,t){return{sheet:e,range:t}},t.sheetHiddenRows=function(e,t,r){return{sheet:e,range:t,hidden:r}},t.sheetInFilterMode=function(e,t){return{sheet:e,inFilterMode:t}},t.mergeRecalcStatistics=function(e,t){switch(t.message){case l.ChangedCell:return{...e,changedCellCount:m(e.changedCellCount,t.cellKind),calculatedCellCount:m(e.calculatedCellCount,t.cellKind)};case l.UnchangedCell:return{...e,calculatedCellCount:m(e.calculatedCellCount,t.cellKind)};case l.ContinueComputation:return{...e,continueCount:e.continueCount+1};case l.StateTimedOut:return{...e,stateTimedOut:!0};case l.EditFinished:return{...e,editFinishedCount:e.editFinishedCount+1};case l.RecalcFinished:return{...e,recalcFinishedCount:e.recalcFinishedCount+1};default:return(0,n.assertNever)("calc.calc.partialWorkbookMessages.mergeRecalcStatistics",t)}},t.isOutputFormatUnavailable=function(e){return"object"==typeof e};const n=r(52123),o=r(99805);var i,a,s,l,u,c,d,p,h;function g(e,t){return{sheet:e,set:t}}function m(e,t){return{...e,[t]:(e[t]??0)+1}}!function(e){e.DocumentLoc="DocumentLoc",e.SheetId="SheetId",e.SheetNames="SheetNames",e.GridRange="GridRange",e.GridRangeSize="GridRangeSize",e.CellFormat="CellFormat",e.CellStyle="CellStyle",e.HiddenRows="HiddenRows",e.HiddenCols="HiddenCols",e.InFilterMode="InFilterMode",e.CellFormula="CellFormula",e.CellMissingFormula="CellMissingFormula",e.CellEvaluatingValue="CellEvaluatingValue",e.EvalFailure="EvalFailure",e.ClientFailure="ClientFailure",e.NumberFormat="NumberFormat",e.StyleId="StyleId",e.FontId="FontId",e.FillId="FillId",e.BorderId="BorderId",e.NameLoc="NameLoc",e.VolatileFunction="VolatileFunction",e.TimeGranularity="TimeGranularity",e.GetTimeKind="GetTimeKind",e.ColumnName="ColumnName",e.ContainingTable="ContainingTable",e.NamedRanges="NamedRanges"}(i||(t.UnavailableKind=i={})),function(e){e.PrecisionTest="PrecisionTest",e.EditedCell="EditedCell",e.DependentCell="DependentCell",e.EvalFormula="EvalFormula",e.ParseEdit="ParseEdit"}(a||(t.ComputeKind=a={})),function(e){e.EditedCell="EditedCell",e.DependentCell="DependentCell",e.IndependentCell="IndependentCell",e.UnknownNonEditedCell="UnknownNonEditedCell"}(s||(t.ComputedCellKind=s={})),t.emptyRecalcStatistics={calculatedCellCount:{},changedCellCount:{},continueCount:0,editFinishedCount:0,stateTimedOut:!1,recalcFinishedCount:0},function(e){e.ChangedCell="ChangedCell",e.UnchangedCell="UnchangedCell",e.ContinueComputation="ContinueComputation",e.EditFinished="EditFinished",e.StateTimedOut="StateTimedOut",e.RecalcFinished="RecalcFinished"}(l||(t.RecalcStatisticsMessage=l={})),function(e){e.SetSheetNames="SetSheetNames",e.SetRefStyle="SetRefStyle",e.SetLocaleInfo="SetLocaleInfo",e.SetNumberFormats="SetNumberFormats",e.WriteNamedObject="WriteNamedObject",e.WriteUndefinedNames="WriteUndefinedNames",e.PromoteNamedObjects="PromoteNamedObjects",e.ExtendUnusedRange="ExtendUnusedRange",e.WriteHiddenRows="WriteHiddenRows",e.WriteInFilterMode="WriteInFilterMode",e.SetCellContents="SetCellContents",e.SetRangeFormula="SetRangeFormula",e.PromoteCellContents="PromoteCellContents"}(u||(t.SetMessageKind=u={})),function(e){e.Unavailable="Unavailable",e.Weak="Weak",e.ClientValueUnknown="ClientValueUnknown",e.Origin="Origin",e.Aggregate="Aggregate",e.Inferred="Inferred",e.Known="Known",e.Edit="Edit"}(c||(t.SpecialFormat=c={})),function(e){e.Unavailable="Unavailable",e.Weak="Weak",e.Blank="Blank"}(d||(t.SpecialStyle=d={})),function(e){e.EvalFormula="eval-formula",e.ServerCellFormula="server-cell-formula",e.EditCellFormula="edit-cell-formula",e.ServerNamedFormula="server-named-formula",e.EditNamedFormula="edit-named-formula"}(p||(t.FormulaMode=p={})),function(e){e.StateAdvanced="StateAdvanced",e.CellWrite="CellWrite",e.RangeWrite="RangeWrite",e.NameFailure="NameFailure",e.RangeFailure="RangeFailure",e.NumberFormatFailure="NumberFormatFailure",e.PrintFormulaFailure="PrintFormulaFailure",e.InferFormatFailure="InferFormatFailure",e.FormatValueFailure="FormatValueFailure",e.UnhandledFailure="UnhandledFailure",e.UpdateRequest="UpdateRequest",e.UpdateNamesRequest="UpdateNamesRequest",e.GarbageCollected="GarbageCollected",e.Alert="Alert",e.RecalcStatistics="RecalcStatistics",e.WorkbookStatistics="WorkbookStatistics",e.ExperimentRunResult="ExperimentRunResult"}(h||(t.OutputMessageKind=h={}))},27856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookNameManager=void 0;const n=r(52123),o=r(85882),i=r(9228),a=r(96630);class s{clone(){let e;if(this.sheetScopedNames){e=(0,n.makeStringMap)();for(const t in this.sheetScopedNames){const r=this.sheetScopedNames[t];e[t]=r.clone()}}return new s(this.document,this.stringCompareCI,e,void 0,this.globalNames.clone())}setNamedObject(e,t,r,i){const s=this.getNameFormula(t,o.NameSource.StructRef);void 0!==r&&"NamedTable"===r.kind&&(0,n.isSuccess)(s)&&void 0!==s.value&&"NamedTable"===s.value.obj.kind&&(0,a.isNamedTableRangeEqual)(s.value.obj,r)&&(r=(0,a.mergeNamedTables)(s.value.obj,r));const l=this.getNamesBySheetId(t.scope.index);return l.kind===n.ResultKind.Failure?l:l.value.setNamedObject(e,t,r,i,this.onWriteNamedObject)}setUndefinedNames(e){const t=this.getNamesBySheetId(e.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.setUndefinedNames())}promoteNamedObjects(e,t){const r=this.getNamesBySheetId(e.index);return r.kind===n.ResultKind.Failure?r:r.value.promoteNamedObjects(t,this.onWriteNamedObject)}setSheetNames(e){const t=this.sheetScopedNames??this.oldSheetScopedNames,r=(0,n.makeStringMap)();for(const{sheetId:n}of e)r[n]=t?.[n]??new a.PartialWorkbookNames(this.stringCompareCI,(0,o.sheetIndex)(this.document,n));return new s(this.document,this.stringCompareCI,r,void 0,this.globalNames)}getNameLoc(e,t,r){const o=this.getNamesBySheetId(e);if(o.kind===n.ResultKind.Failure)return o;const i=o.value.getNameLoc(t,r);return i.kind,n.ResultKind.Failure,i}getAvailableNamesInScope(e){const t=this.getAllDocumentNames(),r=this.getNamesBySheetId(e);return r.kind===n.ResultKind.Success&&(0,n.safePush)(t,r.value.getAvailableNames((0,o.nameScope)(this.document,e))),t}getAllDocumentNames(){return this.globalNames.getAvailableNames((0,o.documentScope)(this.document))}getAvailableTableColumns(e){const t=this.getNameFormula(e,o.NameSource.StructRef),r=[];if(t.kind!==n.ResultKind.Success||void 0===t.value||"NamedTable"!==t.value.obj.kind)return{cols:r,isPartial:!0};const i=!t.value.obj.allColumnNamesAvailable;return t.value.obj.columnNames.forEach((e=>(r.push(e),!0))),{cols:r,isPartial:i}}getNameFormula(e,t){const r=this.getNamesBySheetId(e.scope.index);return r.kind===n.ResultKind.Failure?r:r.value.getNameFormula(e.name,t)}hasRecalcNameFailure(e){const t=this.getNamesBySheetId(e.scope.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.hasRecalcFailure(e.name))}setRecalcNameFailure(e){const t=this.getNamesBySheetId(e.scope.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.setRecalcFailure(e.name))}getNamesBySheetId(e){if(void 0===e)return(0,n.success)(this.globalNames);if(!this.sheetScopedNames)return(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.SheetNames}]));const t=this.sheetScopedNames[e];return void 0===t?(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.SheetId,document:this.document,sheetId:e}])):(0,n.success)(t)}getContainingTable(e){const t=this.getNamesBySheetId(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getContainingTable(e.range))}getNamedRanges(e){const t=this.getNamesBySheetId(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getNamedRanges(e.range))}getIntersectingTables(e){const t=this.getNamesBySheetId(e.sheet.index);return t.kind===n.ResultKind.Failure?t:(0,n.success)(t.value.getIntersectingTables(e.range))}getStructRefColumn(e,t){const r=this.getNameFormula(e,o.NameSource.StructRef);if(r.kind===n.ResultKind.Failure)return r;if(void 0===r.value)return(0,n.success)(void 0);if("NamedTable"!==r.value.obj.kind)return(0,n.failure)((0,o.invalidStructRef)(o.InvalidStructRefReason.NamedObjectNotTable));const a=r.value.obj;let s;if("string"==typeof t)s=a.columnNames.getEntry(t);else{const e=a.columnIndexes.getValue(t);s=void 0===e?void 0:(0,n.entry)(e,t)}if(void 0===s)return a.allColumnNamesAvailable?(0,n.success)(void 0):(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.ColumnName,table:e,columnNameOrIndex:t}]));const{sheet:l,range:u}=a.specialRefRanges[o.SpecialRefId.Data],c=(0,o.sheetGridRange)(l,(0,o.gridRange)(u.row,s.value,u.rows,1));return(0,n.success)((0,o.structRefColumnLoc)(s.key,c,a.hasHeadersRow,a.hasTotalsRow))}getStructRefSpecialRef(e,t){const r=this.getNameFormula(e,o.NameSource.StructRef);return r.kind===n.ResultKind.Failure?r:void 0===r.value?(0,n.success)(void 0):"NamedTable"!==r.value.obj.kind?(0,n.failure)((0,o.invalidStructRef)(o.InvalidStructRefReason.NamedObjectNotTable)):(0,n.success)(r.value.obj.specialRefRanges[t])}onCellModified(e){this.forEachSheetScope((t=>{t.onCellModified(e)})),this.globalNames.onCellModified(e)}collectGarbage(e){this.forEachSheetScope((t=>{t.collectGarbage(e)})),this.globalNames.collectGarbage(e)}advanceState(e){this.forEachSheetScope((t=>{t.advanceState(e)})),this.globalNames.advanceState(e),this.oldSheetScopedNames=this.sheetScopedNames,this.sheetScopedNames=void 0}resetLazyData(){this.forEachSheetScope((e=>{e.resetLazyData()})),this.globalNames.resetLazyData()}getNameStatistics(){let e=this.globalNames.getStatistics();return this.forEachSheetScope((t=>e=(0,a.mergeNameStatistics)(e,t.getStatistics()))),e}forEachSheetScope(e){for(const t in this.sheetScopedNames)Object.prototype.hasOwnProperty.call(this.sheetScopedNames,t)&&e(this.sheetScopedNames[t])}constructor(e,t,r,i,s){this.document=e,this.stringCompareCI=t,this.sheetScopedNames=r,this.oldSheetScopedNames=i,this.onWriteNamedObject=(e,t,r)=>{if("NamedRange"===t.kind){const i=t.value;(0,n.assertTrue)("calc.calc.PartialWorkbookDocument.onWriteNamedObject: bad range",(0,o.isDocumentLocEqual)(t.value.sheets.document,e.scope.document));const a=this.getNamesBySheetId(i.sheets.index);if(a.kind===n.ResultKind.Failure)return a;a.value.onWriteNamedRange(e,t,r)}if("NamedTable"===t.kind){const i=this.getNamesBySheetId(t.specialRefRanges[o.SpecialRefId.All].sheet.index);if(i.kind===n.ResultKind.Failure)return i;i.value.onWriteNamedTable(e,t,r)}return n.successUndefined},this.globalNames=s??new a.PartialWorkbookNames(t,(0,o.documentScope)(e))}}t.PartialWorkbookNameManager=s},96630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookNames=t.emptyNameStatistics=t.namedFailure=t.namedFormula=t.namedRange=t.namedValue=void 0,t.namedTable=function(e,t,r,i,a){const{sheet:l,range:u}=e,c=t?(0,o.gridRange)(u.row-1,u.col,1,u.cols):void 0,d=r?(0,o.gridRange)(u.row+u.rows,u.col,1,u.cols):void 0,p=(0,o.gridRangeJoinOpt)((0,o.gridRangeJoinOpt)(c,e.range),d),h=i.reduce(((t,r)=>((0,n.assertTrue)("calc.calc.namedTable: column names in range",r.column>=e.range.col&&r.column<e.range.col+e.range.cols),t.setValue(r.column,r.name))),s);let g=n.RedBlackMapTree.create(a);h.forEach(((e,t)=>(g=g.setValue(t,e),!0)));const m=h.getCount()===e.range.cols;return{kind:"NamedTable",specialRefRanges:{[o.SpecialRefId.Data]:e,[o.SpecialRefId.Headers]:c?(0,o.sheetGridRange)(l,c):void 0,[o.SpecialRefId.Totals]:d?(0,o.sheetGridRange)(l,d):void 0,[o.SpecialRefId.All]:(0,o.sheetGridRange)(l,p)},columnNames:g,columnIndexes:h,allColumnNamesAvailable:m,hasHeadersRow:t,hasTotalsRow:r}},t.mergeNamedTables=function(e,t){let r=e.columnNames,n=e.columnIndexes;t.columnIndexes.forEach(((t,n)=>{const o=e.columnIndexes.getValue(t);return void 0!==o&&(r=r.remove(o)),!0})),t.columnIndexes.forEach(((e,t)=>(r=r.setValue(t,e),n=n.setValue(e,t),!0)));const i=n.getCount()===t.specialRefRanges[o.SpecialRefId.All].range.cols;return{...t,columnNames:r,columnIndexes:n,allColumnNamesAvailable:i}},t.mergeNameStatistics=function(e,t){return{namesCount:e.namesCount+t.namesCount,tablesCount:e.tablesCount+t.tablesCount,rangesCount:e.rangesCount+t.rangesCount,recalcFailuresCount:e.recalcFailuresCount+t.recalcFailuresCount,scopes:e.scopes+t.scopes,allAvailableScopes:e.allAvailableScopes+t.allAvailableScopes}},t.isNamedTableRangeEqual=function(e,t){return(0,o.isSheetGridRangeEqual)(e.specialRefRanges[o.SpecialRefId.Data],t.specialRefRanges[o.SpecialRefId.Data])&&e.hasHeadersRow===t.hasHeadersRow&&e.hasTotalsRow===t.hasTotalsRow};const n=r(52123),o=r(85882),i=r(9228),a=r(98088);t.namedValue=(0,n.typedInstanceCreator)()((e=>({kind:"NamedValue",value:e}))),t.namedRange=(0,n.typedInstanceCreator)()((e=>({kind:"NamedRange",value:e})));const s=n.RedBlackMapTree.create(((e,t)=>e-t));t.namedFormula=(0,n.typedInstanceCreator)()((e=>({kind:"NamedFormula",fmla:e}))),t.namedFailure=(0,n.typedInstanceCreator)()(((e,t)=>({kind:"NamedFailure",failureReason:e,objectKind:t})));const l=(0,o.makeGridRangeTable)(),u=(0,o.makeGridRangeTable)();t.emptyNameStatistics={namesCount:0,tablesCount:0,rangesCount:0,recalcFailuresCount:0,scopes:0,allAvailableScopes:0};class c{static create(e){return new c(n.RedBlackMapTree.create(e),!1,l,u)}update(e,t,r,n){return e!==this.names||t!==this.allAvailable||r!==this.tables||n!==this.ranges?new c(e,t,r,n):this}getEntry(e,t,r){const a=this.names.getEntry(t);return void 0===a?this.allAvailable?(0,n.success)(void 0):(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.NameLoc,name:(0,o.nameLoc)(e,t),source:r}])):(0,n.success)(!1!==a.value?a:void 0)}getEntryIfDefined(e){const t=this.names.getEntry(e);if(void 0!==t)return!1!==t.value?t:void 0}setValue(e,t){return this.update(this.names.setValue(e,t),this.allAvailable,this.tables,this.ranges)}remove(e){return this.update(this.allAvailable?this.names.remove(e):this.names.setValue(e,!1),this.allAvailable,this.tables,this.ranges)}getContainingTable(e){let t;return this.tables.forEachGe(e,((e,r)=>(t=r,!1))),t}getIntersectingTables(e){const t=[];return this.tables.forEachMeets(e,((e,r)=>(t.push(r),!0))),t}getNamedRanges(e){return this.ranges.getValue(e)??[]}getAvailableNames(e){const t=[];return this.names.forEach(((r,n)=>(!1!==n&&t.push((0,o.nameLoc)(e,r)),!0))),t}forEachAvailableName(e){return this.names.forEach(((t,r)=>e(t,!1===r?void 0:r)))}setUndefined(){return this.update(this.names,!0,this.tables,this.ranges)}getStatistics(e){return{namesCount:this.names.getCount(),tablesCount:this.tables.getCount(),rangesCount:this.ranges.getCount(),recalcFailuresCount:e,scopes:1,allAvailableScopes:this.allAvailable?1:0}}collectGarbage(){return this.update(this.allAvailable?this.names.filter(((e,t)=>!1!==t)):this.names,this.allAvailable,this.tables,this.ranges)}resetLazyData(){this.names.forEach(((e,t)=>(!1!==t&&t.lazyData.reset(),!0)))}onWriteNamedTable(e,t,r){const n=t.specialRefRanges[o.SpecialRefId.All].range;return this.update(this.names,this.allAvailable,"remove"===r?this.tables.remove(n):this.tables.setValue(n,e),this.ranges)}onWriteNamedRange(e,t,r){const n=t.value.ranges[0],i=this.ranges.getValue(n)??[],a="remove"===r?i.filter((t=>(0,o.isNameScopeEqual)(e.scope,t.scope)&&e.name===t.name)):[...i,e];return this.update(this.names,this.allAvailable,this.tables,0===a.length?this.ranges.remove(n):this.ranges.setValue(n,a))}constructor(e,t,r,n){this.names=e,this.allAvailable=t,this.tables=r,this.ranges=n}}class d{clone(){const e=new d(this.stringCompareCI,this.scope);return e.contents=this.contents,e}advanceState(e){this.oldContents=this.contents,this.oldStateId=this.isCurrent?e:void 0,this.contents=this.emptyContents,this.isCurrent=this.isChanged=!1,this.recalcFailures=this.emptyRecalcFailures}getStatistics(){return this.contents.getStatistics(this.recalcFailures.getCount())}collectGarbage(e){void 0===this.oldStateId||this.oldStateId<e?(this.oldContents=this.emptyContents,this.oldStateId=void 0):this.oldContents=this.oldContents.collectGarbage(),this.contents=this.contents.collectGarbage()}getNameLoc(e,t){const r=this.contents.getEntry(this.scope,e,t);return(0,n.isSuccess)(r)?(0,n.success)(void 0!==r.value?(0,o.nameLoc)(this.scope,r.value.key):void 0):r}getNameFormula(e,t){const r=this.contents.getEntry(this.scope,e,t);return(0,n.isSuccess)(r)?(0,n.success)(void 0!==r.value?r.value.value:void 0):r}getContainingTable(e){return this.contents.getContainingTable(e)}getIntersectingTables(e){return this.contents.getIntersectingTables(e)}getNamedRanges(e){return this.contents.getNamedRanges(e)}allAvailable(){return this.contents.allAvailable}getAvailableNames(e){return this.contents.getAvailableNames(e)}hasRecalcFailure(e){return this.recalcFailures.contains(e)}setRecalcFailure(e){this.recalcFailures=this.recalcFailures.setValue(e,!0)}onCellModified(e){this.recalcFailures=this.emptyRecalcFailures}resetLazyData(){this.contents.resetLazyData(),this.oldContents!==this.contents&&this.oldContents.resetLazyData()}setNamedObject(e,t,r,i,s){const l=this.contents.getEntryIfDefined(t.name);if(void 0!==l){const e=s((0,o.nameLoc)(this.scope,l.key),l.value.obj,"remove");if(e.kind===n.ResultKind.Failure)return e}if(this.contents=void 0===r?this.contents.remove(t.name):this.contents.setValue(t.name,{obj:r,lazyData:new a.ResettableLazy((()=>i(e,t,r)))}),this.isCurrent=this.isChanged=!0,void 0!==r){const e=s(t,r,"add");if(e.kind===n.ResultKind.Failure)return e}return n.successUndefined}setUndefinedNames(){this.contents=this.contents.setUndefined(),this.isCurrent=this.isChanged=!0}promoteNamedObjects(e,t){if(this.isChanged||e!==this.oldStateId)return(0,n.success)(!1);this.contents=this.oldContents,this.isCurrent=!0;let r=(0,n.success)(!0);return this.contents.forEachAvailableName(((e,i)=>{if(void 0===i)return!0;const a=t((0,o.nameLoc)(this.scope,e),i.obj,"add");return a.kind===n.ResultKind.Success||(r=a,!1)})),r}onWriteNamedTable(e,t,r){this.contents=this.contents.onWriteNamedTable(e,t,r)}onWriteNamedRange(e,t,r){this.contents=this.contents.onWriteNamedRange(e,t,r)}forEachAvailableName(e){return this.contents.forEachAvailableName(e)}constructor(e,t){this.stringCompareCI=e,this.scope=t,this.isCurrent=!1,this.isChanged=!1,this.oldContents=this.contents=this.emptyContents=c.create(e),this.emptyRecalcFailures=this.recalcFailures=n.ArrayMapTree.create(e)}}t.PartialWorkbookNames=d},99805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.availableAllProduct=t.availableReadProduct=t.availableSetProduct=t.bspFactory=t.availabilityOperations=t.anyAvailability=t.AvailabilityKind=void 0,t.createCellSetFromRange=function(e){return(0,a.createFromProduct)({row:t.bspFactory.row([e.row,e.row+e.rows]),col:t.bspFactory.col([e.col,e.col+e.cols])})},t.cellSetBounds=function(e){if(e===o.empty)return;const t=e===o.dense?void 0:e.root.bounds.row,r=e===o.dense?void 0:e.root.bounds.col,[i,a]=void 0===t?h.row.top:function(e){const t=[];return g(e,(e=>(t.push(e),!0))),t.reduce(n.ivlJoin)}((0,o.fromUntyped)(h.row,t)),[l,u]=void 0===r?h.col.top:function(e){const t=[];return m(e,(e=>(t.push(e),!0))),t.reduce(n.ivlJoin)}((0,o.fromUntyped)(h.col,r));return(0,s.gridRange)(i,l,a-i,u-l)},t.forEachRow=g,t.forEachCol=m,t.forEachRangeInSet=f,t.forEachCellInSet=function(e,t){return f(e,(e=>(0,s.forEachCellInRange)(e,t)))},t.translateAvailabilitySet=function(e,r,n){let i=o.empty;return(0,a.forEachProduct)(e,(e=>{let s=o.empty;g(e.row,(([e,n])=>(s=(0,o.union)(s,t.bspFactory.row([e+r,n+r])),!0)));let l=o.empty;m(e.col,(([e,r])=>(l=(0,o.union)(l,t.bspFactory.col([e+n,r+n])),!0)));const u=(0,a.createFromProduct)({row:s,col:l,availability:e.availability});return i=(0,a.unionProduct)(i,u),!0}),"row","col","availability"),i};const n=r(52123),o=r(11038),i=r(74806),a=r(62272),s=r(85882);var l;!function(e){e[e.AvailableSet=0]="AvailableSet",e[e.AvailableRead=1]="AvailableRead"}(l||(t.AvailabilityKind=l={})),t.anyAvailability=[l.AvailableSet,l.AvailableRead+1];const u=[0,s.sheetRows],c=[0,s.sheetCols];t.availabilityOperations=(0,i.boundedParetoSetOperations)(1,t.anyAvailability[0]+1,t.anyAvailability[1],t.anyAvailability,"Availability operations, alpha = 1");const d=(0,i.boundedParetoSetOperations)(.2,u[0]+1,u[1],u,"Row operations, alpha = 0.2"),p=(0,i.boundedParetoSetOperations)(.35,c[0]+1,c[1],c,"Col operations, alpha = 0.35"),h={availability:t.availabilityOperations,row:d,col:p};function g(e,t){return e!==o.dense?(0,o.forEachKey)(e,t):t(h.row.top)}function m(e,t){return e!==o.dense?(0,o.forEachKey)(e,t):t(h.col.top)}function f(e,t){return(0,a.forEachProduct)(e,(e=>g(e.row,(r=>{const[n,o]=r;return m(e.col,(e=>{const[r,i]=e;return t((0,s.gridRange)(n,r,o-n,i-r))}))}))),"row","col")}t.bspFactory={availability:(0,o.createFromKey)(h.availability),row:(0,o.createFromKey)(h.row),col:(0,o.createFromKey)(h.col)},t.availableSetProduct=(0,a.createFromProduct)({availability:t.bspFactory.availability([l.AvailableSet,l.AvailableSet+1])}),t.availableReadProduct=(0,a.createFromProduct)({availability:t.bspFactory.availability([l.AvailableRead,l.AvailableRead+1])}),t.availableAllProduct=(0,a.createFromProduct)({availability:t.bspFactory.availability([l.AvailableSet,l.AvailableRead+1])})},62568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookSheets=void 0;const n=r(52123),o=r(85882),i=r(9228);class a{clone(){return new a(this.document,this.stringCompareCI,this.sheetPosToId,this.sheetNameToId,this.data,void 0)}setSheetNames(e){const t=this.data??this.oldData,r=(0,n.makeStringMap)(),i=[],s=[];for(let n=0;n<e.length;n+=1){const{sheetName:a,sheetId:l}=e[n];i[n]=l,s.push([a,l]);const u=t?.[l];if(void 0===u){const e=(0,o.sheetIndex)(this.document,l);r[l]={pos:n,name:a,sheetIndex:e}}else r[l]={...u,pos:n,name:a}}const l=n.ArrayMapTree.create(this.stringCompareCI).setValues(s);return new a(this.document,this.stringCompareCI,i,l,r,void 0)}advanceState(e){this.oldData=this.data,this.sheetPosToId=void 0,this.sheetNameToId=void 0,this.data=void 0}getSheetRangeIds(e){let t,r;if(!this.sheetPosToId)return(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.SheetNames}]));if(void 0===e.index)t=0,r=this.sheetPosToId.length;else{const o=this.getSheetById(e.index);if(!(0,n.isSuccess)(o))return o;const i=this.getSheetById(e.index2);if(!(0,n.isSuccess)(i))return i;t=(0,n.fastMin)(o.value.pos,i.value.pos),r=(0,n.fastMax)(o.value.pos,i.value.pos)+1}const a=[];for(let e=t;e<r;e+=1)a.push(this.sheetPosToId[e]);return(0,n.success)((0,o.sheetRangeIndexes)(a,t))}getSheetById(e){if(!this.data)return(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.SheetNames}]));const t=this.data[e];return void 0===t?(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.SheetId,document:this.document,sheetId:e}])):(0,n.success)(t)}getSheetByName(e){if(!this.sheetNameToId)return(0,n.failure)((0,o.unavailable)([{kind:i.UnavailableKind.SheetNames}]));const t=this.sheetNameToId.getValue(e);return void 0===t?(0,n.success)(void 0):this.getSheetById(t)}forEachSheet(e){if(this.sheetPosToId&&this.data)for(const t of this.sheetPosToId){const r=this.data[t];r&&e(r,t)}}constructor(e,t,r,n,o,i){this.document=e,this.stringCompareCI=t,this.sheetPosToId=r,this.sheetNameToId=n,this.data=o,this.oldData=i}}t.PartialWorkbookSheets=a},66370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialWorkbookStyles=t.blankStyleValue=void 0;const n=r(52123),o=r(85882),i=r(9228),a={type:o.BorderLineType.None,color:{argb:"00000000"}};t.blankStyleValue={font:{name:"Calibri",bold:!1,italic:!1,underline:o.FontUnderline.None,strikethrough:!1,verticalAlign:o.FontVerticalAlignment.None,size:11,color:{argb:"ff000000"}},fill:{kind:o.FillKind.Pattern,pattern:o.PatternType.None,fgColor:{argb:"00000000"},bgColor:{argb:"00000000"}},border:{top:a,bottom:a,left:a,right:a},alignment:{horizontal:o.HorizontalAlignment.Automatic,vertical:o.VerticalAlignment.Bottom,textRotation:0,wrapText:!1,indent:0,relativeIndent:0,shrinkToFit:!1,readingOrder:0}};class s{clone(){function e(e,t){Object.keys(e).map(Number).forEach((r=>{t[r]=e[r]}))}const t=new s;return e(this.styles,t.styles),e(this.fonts,t.fonts),e(this.fills,t.fills),e(this.borders,t.borders),t}resolveCellStyle(e){if(e===i.SpecialStyle.Blank)return(0,n.success)(t.blankStyleValue);const r=this.styles[e];if(void 0===r)return(0,n.failure)({kind:i.UnavailableKind.StyleId,styleId:e});const{fontId:o,fillId:a,borderId:s,alignment:l}=r,u=void 0!==o?this.fonts[o]:t.blankStyleValue.font;if(void 0===u)return(0,n.failure)({kind:i.UnavailableKind.FontId,fontId:o});const c=void 0!==a?this.fills[a]:t.blankStyleValue.fill;if(void 0===c)return(0,n.failure)({kind:i.UnavailableKind.FillId,fillId:a});const d=void 0!==s?this.borders[s]:t.blankStyleValue.border;return void 0===d?(0,n.failure)({kind:i.UnavailableKind.BorderId,borderId:s}):(0,n.success)({font:u,fill:c,border:d,alignment:l})}setStyles(e,t){t||(this.styles=[]),Object.keys(e).map(Number).forEach((t=>{this.styles[t]=e[t]}))}setFonts(e,t){t||(this.fonts=[]),Object.keys(e).map(Number).forEach((t=>{this.fonts[t]=e[t]}))}setFills(e,t){t||(this.fills=[]),Object.keys(e).map(Number).forEach((t=>{this.fills[t]=e[t]}))}setBorders(e,t){t||(this.borders=[]),Object.keys(e).map(Number).forEach((t=>{this.borders[t]=e[t]}))}constructor(){this.styles=[],this.fonts=[],this.fills=[],this.borders=[]}}t.PartialWorkbookStyles=s},4084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PriorityScheduler=t.QueuePos=void 0;const n=r(52123);var o;!function(e){e[e.Back=0]="Back",e[e.Front=1]="Front"}(o||(t.QueuePos=o={})),t.PriorityScheduler=class{deleteTasks(e,t){const r=this.taskDeqs[e];if(!r)return;let n;for(;n=r.popFront();)"function"!=typeof n&&n.onDeleted&&n.onDeleted(t)}addTask(e,t,r){const i=this.taskDeqs[e]??(this.taskDeqs[e]=new n.Deque);t===o.Back?i.pushBack(r):i.pushFront(r),e<this.minPriority&&(this.minPriority=e)}runTask(){for(let e=this.minPriority;e<this.taskDeqs.length;e+=1){this.minPriority=e;const t=this.taskDeqs[e]?.popFront();if(t)return"function"==typeof t?t():t.onRun(),!0}return!1}getCount(e){return void 0!==e?this.taskDeqs[e]?.getCount()??0:this.taskDeqs.reduce(((e,t)=>t?e+t.getCount():e),0)}constructor(){this.minPriority=0,this.taskDeqs=[]}}},42630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recalcServiceInsideInit=t.RecalcServiceImpl=void 0;const n=r(16533),o=r(52123),i=r(11038),a=r(62272),s=r(85882),l=r(14382),u=r(68247),c=n.__importStar(r(18832)),d=r(87481),p=r(52294),h=r(88756),g=r(22096),m=r(9228),f=r(99805),v=r(94928),b=r(7603),y=r(14676),S=r(18665),C=r(11614),T=r(75355),k=r(98088);class F{setOutputStateId(e){e<=this.currentOutputStateId||(this.flush(),this.currentOutputStateId=e)}pushCellWrite(e,t){(e!==m.ComputedCellKind.DependentCell?this.editedRangeDeltas:this.dependentRangeDeltas).push(t)}pushRangeWrite(e,t){(0,o.safePush)(e!==m.ComputedCellKind.DependentCell?this.editedRangeDeltas:this.dependentRangeDeltas,t)}pushRangeFailure(e,t){(e!==m.ComputedCellKind.DependentCell?this.editedRangeFailures:this.dependentRangeFailures).push(t)}pushUpdateRequest(e){this.rangeUpdateRequests.push(e)}pushUpdateNameRequest(e){this.namesUpdateRequests.push(e.index)}pushRecalcFinished(e){this.recalcFinished=this.recalcFinished||e}isRecalcFinished(){return this.recalcFinished}flush(){(this.rangeUpdateRequests.length>0||this.namesUpdateRequests.length>0)&&(this.onUpdateRequest((0,S.updateRequest)(this.rangeUpdateRequests,[],this.namesUpdateRequests)),this.rangeUpdateRequests=[],this.namesUpdateRequests=[]),(this.editedRangeDeltas.length>0||this.editedRangeFailures.length>0)&&(this.sendRecalcResults("Edited",this.editedRangeDeltas,[],this.editedRangeFailures),this.editedRangeDeltas=[],this.editedRangeFailures=[]),(this.dependentRangeDeltas.length>0||this.dependentRangeFailures.length>0)&&(this.sendRecalcResults("Dependents",this.dependentRangeDeltas,[],this.dependentRangeFailures),this.dependentRangeDeltas=[],this.dependentRangeFailures=[]),this.recalcFinished&&(this.onRecalcResults((0,S.recalcResults)(this.currentOutputStateId,"Dependents",!0,[],[],[])),this.recalcFinished=!1)}sendRecalcResults(e,t,r,n){for(let i=0;i<(0,o.fastMax)((0,o.fastMax)(t.length,r.length),n.length);i+=10)this.onRecalcResults((0,S.recalcResults)(this.currentOutputStateId,e,!1,t.slice(i,i+10),r.slice(i,i+10),n.slice(i,i+10)))}constructor(e,t,r){this.onRecalcResults=e,this.onUpdateRequest=t,this.currentOutputStateId=r,this.editedRangeDeltas=[],this.dependentRangeDeltas=[],this.editedRangeFailures=[],this.dependentRangeFailures=[],this.rangeUpdateRequests=[],this.namesUpdateRequests=[],this.recalcFinished=!1}}function E({kind:e}){return{kind:e}}class A{get document(){return this.dataTransformer.document}get mathpack(){return this.dataTransformer.getLangConfig().mathpack}ping(){}setInputStateId(e,t){const r=e-this.currentInputStateId;return r<0?(this.logInputStateIdDecrease(t),!1):(0!==r&&(this.flushInputLogs(),this.currentInputStateId=e),!0)}setOutputStateId(e){const t=e-this.currentOutputStateId;return t<0?(this.logOutputStateIdDecrease(),!1):(0!==t&&(this.flushOutputLogs(),this.currentOutputStateId=e),!0)}clearAsyncResumeRecalc(){void 0!==this.recalcLoop&&this.recalcLoop.stop()}resumeRecalc(){this.flushInputLogs(),this.clearAsyncResumeRecalc(),this.recalcLoop=this.asyncLoopFunction((()=>{const{messages:e,queueEmpty:t}=this.dataModel.step();return e.length>0&&this.processRecalcResults(e),t?void 0:1}),{costThreshold:1,timeThreshold:this.config.yieldIntervalMs});const e=this.recalcLoop;return(0,o.promiseFinally)(this.recalcLoop.promise,(()=>{this.recalcLoop===e&&(this.recalcLoop=void 0)}))}async testResumeRecalc(e){if(await this.resumeRecalc(),void 0!==e){const t=`calc.calc.RecalcService: resumeRecalc finished; resumeId = ${e}`;o.ulsLogger.ULS.traceTag(574128980,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,t)}}processRecalcResults(e){const t=new F(this.onRecalcResults,this.onUpdateRequest,this.currentOutputStateId);for(const r of e)if(r.kind!==m.OutputMessageKind.GarbageCollected)if(r.kind!==m.OutputMessageKind.Alert)if(r.kind!==m.OutputMessageKind.ExperimentRunResult){if(this.setOutputStateId(r.stateId))switch(t.setOutputStateId(r.stateId),r.kind){case m.OutputMessageKind.CellWrite:{const{cell:e,value:n,format:i,cellKind:a,formulaBarText:s,formatted:l,hasHyperlink:u}=r,{sheet:c,range:d}=e,p=this.cellWriteToRangeDelta(c.index,d.row,d.col,n,i,s,l,u,"messages.<index>.value");(0,o.isDefined)(p)&&t.pushCellWrite(a,p);break}case m.OutputMessageKind.RangeWrite:{const{range:e,values:n,cellKind:o,formulaBarText:i,formatted:a,formats:s}=r,{sheet:l,range:u}=e;t.pushRangeWrite(o,this.rangeWriteToRangeDeltas(l.index,u,n,s,i,a,"messages.<index>.values"));break}case m.OutputMessageKind.NameFailure:this.nameFailures.push(r);break;case m.OutputMessageKind.RangeFailure:{const{range:e,cellKind:n,reason:o}=r;t.pushRangeFailure(n,this.rangeFailure(e,o)),this.rangeFailures.push(r);break}case m.OutputMessageKind.NumberFormatFailure:this.numberFormatFailures.push(r);break;case m.OutputMessageKind.PrintFormulaFailure:this.printFormulaFailures.push(r);break;case m.OutputMessageKind.InferFormatFailure:this.inferFormatFailures.push(r);break;case m.OutputMessageKind.FormatValueFailure:{const{range:e,cellKind:n,reason:o}=r;t.pushRangeFailure(n,this.rangeFailure(e,o)),this.formatValueFailures.push(r);break}case m.OutputMessageKind.UnhandledFailure:this.unhandledFailures.push(r);break;case m.OutputMessageKind.UpdateRequest:t.pushUpdateRequest((0,d.sheetGridRangeToLocation)(r.range));break;case m.OutputMessageKind.UpdateNamesRequest:t.pushUpdateNameRequest(r.scope);break;case m.OutputMessageKind.RecalcStatistics:t.pushRecalcFinished(r.message===m.RecalcStatisticsMessage.RecalcFinished),this.recalcStatistics=(0,m.mergeRecalcStatistics)(this.recalcStatistics,r);break;case m.OutputMessageKind.WorkbookStatistics:this.logWorkbookStats(r.stateId,r.stats,r.p);break;case m.OutputMessageKind.StateAdvanced:break;default:return(0,o.assertNever)("calc.calc.RecalcServiceImpl.processRecalcResults",r)}}else this.logExperimentRunResult(r.experimentName,JSON.stringify({message:r.logMessage,timeoutReason:r.timeoutReason}));else this.onAlert(r.message);else this.onGC(r.minStateIdKept);t.isRecalcFinished()&&this.flushOutputLogs(),t.flush()}logExperimentRunResult(e,t){o.ulsLogger.ULS.traceTag(594409422,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,`calc.calc.RecalcService: ${e} done; ${t}`),"UnitExperiment"===e&&o.ulsLogger.ULS.traceTag(538567681,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,`calc.calc.RecalcService: UnitExperiment done: ${t}`)}logAllFailureStats(){const e=this.nameFailures;this.nameFailures=[];const t=this.rangeFailures;this.rangeFailures=[];const r=this.numberFormatFailures;this.numberFormatFailures=[];const n=this.printFormulaFailures;this.printFormulaFailures=[];const o=this.inferFormatFailures;this.inferFormatFailures=[];const i=this.formatValueFailures;this.formatValueFailures=[];const a=this.unhandledFailures;this.unhandledFailures=[],this.logGenFailureStats(e,595194337,"name",u.TraceLevel.Info),this.logCellFailureStats(t,595658722,"range",u.TraceLevel.Info),this.logGenFailureStats(r,590484946,"format",u.TraceLevel.Info),this.logGenFailureStats(n,592730065,"print-formula",u.TraceLevel.Info),this.logGenFailureStats(o,590484947,"infer-format",u.TraceLevel.Info),this.logCellFailureStats(i,590484948,"format-value",u.TraceLevel.Info),this.logGenFailureStats(a,595194338,"unhandled",u.TraceLevel.Warning)}logGenFailureStats(e,t,r,n){if(0===e.length)return;const i={};for(const{reason:t}of e)(0,b.incrementFailure)(i,t);const a=`calc.calc.RecalcService: recalc ${r} failures; stateId = ${this.currentOutputStateId}, stats = ${JSON.stringify(i)}`;o.ulsLogger.ULS.traceTag(t,u.LogCategory.msoulscat_ES_EWAJS,n,a),this.logJavaScriptFailures(e,r)}logCellFailureStats(e,t,r,n){if(0===e.length)return;const i={};for(const{reason:t,cellKind:r}of e){const e=i[r]??(i[r]={});(0,b.incrementFailure)(e,t)}Object.getOwnPropertyNames(i).sort().forEach((e=>{const a=i[e],s=`calc.calc.RecalcService: recalc ${r} failures; stateId = ${this.currentOutputStateId}, cell kind = ${e}, stats = ${JSON.stringify(a)}`;o.ulsLogger.ULS.traceTag(t,u.LogCategory.msoulscat_ES_EWAJS,n,s)})),this.logJavaScriptFailures(e,r)}logJavaScriptFailures(e,t){for(const{reason:r}of e)if(r.kind===l.ReasonKind.JavaScriptError){const e=`calc.calc.RecalcService: recalc ${t} JavaScript error: ${(0,o.messageFromError)(r.error)}`;o.ulsLogger.ULS.traceTag(595658721,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Warning,e)}}logIgnoredStats(e,t,r,n){if(0===Object.getOwnPropertyNames(n).length)return;const i=`calc.calc.RecalcService: ignored ${r} data; stateId = ${t}, stats = ${JSON.stringify(n)}`;o.ulsLogger.ULS.traceTag(e,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Warning,i)}logIgnoredInputStats(){this.logIgnoredStats(595658723,this.currentInputStateId,"input",this.ignoredInputStats),this.ignoredInputStats={}}logIgnoredOutputStats(){this.logIgnoredStats(595658752,this.currentOutputStateId,"output",this.ignoredOutputStats),this.ignoredOutputStats={}}logRecalcStats(){if(this.currentOutputStateId===-1/0)return;if(this.lastRecalcStatsStateId===this.currentOutputStateId&&this.recalcStatistics===m.emptyRecalcStatistics)return;const e=this.recalcStatistics;this.recalcStatistics=m.emptyRecalcStatistics,this.lastRecalcStatsStateId=this.currentOutputStateId;const t=this.config.sampleRecalcStatisticsRate;if(!this.dataModel.shouldSample(t))return;const r=`calc.calc.RecalcService: recalc statistics; stateId = ${this.currentOutputStateId}, stats = ${JSON.stringify(e)}, p = ${JSON.stringify(t)}`;o.ulsLogger.ULS.traceTag(595654593,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,r)}logUnavailableStats(){if(this.currentOutputStateId===-1/0)return;if(0===this.rangeFailures.length)return;const e=(0,T.computeUnavailableCellsStats)(this.rangeFailures);if(0===e.numOfUnavailableCellsInTheSameSheet&&0===e.numOfUnavailableCellsInDifferentSheet&&0===e.totalNumOfUnavailableCells)return;const t=`calc.calc.RecalcService: unavailable cells statistics; stateId = ${this.currentOutputStateId}, stats = ${JSON.stringify(e)}`;o.ulsLogger.ULS.traceTag(589632004,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,t)}logWorkbookStats(e,t,r){const n=`calc.calc.RecalcService: workbook statistics; stateId = ${e}, stats = ${JSON.stringify(t)}, p = ${JSON.stringify(r)}`;o.ulsLogger.ULS.traceTag(595359882,u.LogCategory.msoulscat_ES_EWAJS,u.TraceLevel.Info,n)}logInputStateIdDecrease(e){(0,v.incrementStat)(this.ignoredInputStats,`${e}: input stateId went backwards`)}logOutputStateIdDecrease(){(0,v.incrementStat)(this.ignoredOutputStats,"output stateId went backwards")}flushInputLogs(){this.logIgnoredInputStats()}flushOutputLogs(){this.logUnavailableStats(),this.logAllFailureStats(),this.logIgnoredOutputStats(),this.logRecalcStats()}cellWriteToRangeDelta(e,t,r,n,i,a,s,l,u){if(!(0,v.check)(n,v.chReadOper,this.ignoredOutputStats,u))return;const c=(0,d.readOperToCellValue)(this.mathpack,n),p=(0,d.cellFormatToInferredFormat)(i);return(0,o.isDefined)(a)||(0,o.isDefined)(c)||(0,o.isDefined)(p)||(0,o.isDefined)(s)||(0,o.isDefined)(l)?(0,S.rangeDelta)((0,S.sheetRangeLocation)(e,t,r),(0,S.cellDataDelta)(a,c,p,s,l)):void 0}rangeWriteToRangeDeltas(e,t,r,n,i,a,s){const l=`${s}.<index>.<index>`,{row:u,col:c,rows:d,cols:p}=t,h=[];for(let t=0;t<d;t+=1)for(let s=0;s<p;s+=1){const d=this.cellWriteToRangeDelta(e,u+t,c+s,r[t][s],n[t][s],0===t&&0===s?i:void 0,a[t][s],void 0,l);(0,o.isDefined)(d)&&h.push(d)}return h}rangeFailure(e,t){return(0,S.rangeFailure)((0,d.sheetGridRangeToLocation)(e),E(t))}setA1ReferenceStyle(e){this.clearAsyncResumeRecalc(),this.dataTransformer.setA1ReferenceStyle(this.dataModel,this.currentInputStateId,e)}setLocale(e){this.clearAsyncResumeRecalc(),this.dataTransformer.setLocaleInfo(this.dataModel,this.currentInputStateId,e,this.ignoredInputStats)}setWorkbookProps(e){this.clearAsyncResumeRecalc(),this.dataTransformer.setWorkbookProps(this.dataModel,this.currentInputStateId,e,this.ignoredInputStats)}setNumberFormats(e,t){this.clearAsyncResumeRecalc(),this.dataModel.setNumberFormats(this.document,(0,v.filterCheck)(e,v.chNumberFormat,this.ignoredInputStats,"numberFormats"),t,this.currentInputStateId)}updateSheetNames(e,t){this.setInputStateId(e,"sheetNames")&&(this.clearAsyncResumeRecalc(),this.dataTransformer.updateSheetNames(this.dataModel,e,t,this.ignoredInputStats))}updateNamedObjects(e,t){this.setInputStateId(e,"namedObjectsUpdates")&&(this.clearAsyncResumeRecalc(),this.dataTransformer.updateNamedObjects(this.dataModel,e,t,this.ignoredInputStats))}updateUnusedCells(e,t){if(!this.setInputStateId(e,"unusedCellsUpdates"))return;this.clearAsyncResumeRecalc();const r=(0,v.filterCheck)(t,v.chUnusedCellsUpdate,this.ignoredInputStats,"unusedCellsUpdates");for(const t of r)this.dataModel.extendUnusedRange((0,d.unusedCellsUpdateToUsedRange)(this.document,t),e)}updateRanges(e,t){this.setInputStateId(e,"rangeUpdates")&&(this.clearAsyncResumeRecalc(),this.applyRangeUpdates(e,t))}updateArrays(e,t){if(!this.setInputStateId(e,"arrayUpdates"))return;this.clearAsyncResumeRecalc();const r=(0,v.filterCheck)(t,v.chArrayUpdate,this.ignoredInputStats,"arrayUpdates");for(const t of r){const{range:r,data:n,fromStateId:i}=t,a=(0,d.sheetRangeLocationToGridRange)(this.document,r);if((0,o.isDefined)(n)){const{formulaBarText:t,isSpilled:r}=n,o=(0,s.gridRangeAnchor)(a.range);this.dataModel.writeArrayFormula(e,a,t,o,r)}else(0,o.isDefined)(i)}}editRangeFormulas(e,t){this.setInputStateId(e,"rangeFormulaEdits")&&(this.clearAsyncResumeRecalc(),this.applyRangeFormulaEdits(t,e))}evalOnClonedModel(e,t,r){return this.evalOnClonedModelOnSnapshot(e,t,void 0,r)}evalOnClonedModelOnSnapshot(e,t,r=void 0,n){(0,o.assertPositiveInteger)("edits array should not be empty",t.length);const i=void 0===r?new h.EvalOnClonePropsFromPartialWB(this.dataModel,n):new h.EvalOnClonePropsFromPartialWBDocumentCollection(r,n);return this.applyRangeUpdates(-1,e,i),this.applyRangeFormulaEdits(t,-1,i),i.resultsPromise.toPromise()}applyRangeUpdates(e,t,r){const n=(0,v.filterCheck)(t,v.chRangeUpdate,this.ignoredInputStats,"rangeUpdates");for(const t of n){const{range:n,excludeRows:i,excludeColumns:a,data:l,fromStateId:u}=t,c=(0,d.sheetRangeLocationToGridRange)(this.document,n),p=c.range,h=(0,d.createExcludeCellSet)(p.row,p.rows,f.bspFactory.row,i),v=(0,d.createExcludeCellSet)(p.col,p.cols,f.bspFactory.col,a),b=(0,d.sheetGridRangeToCellSet)(c,h,v),y=(0,o.isDefined)(l)?(0,d.cellValueToReadOper)(this.mathpack,l.value):s.blankOper;(0,o.assertTrue)("calc.calc.RecalcService: updateRanges oper",null!=y);const S=(0,s.gridRangeAnchor)(p);if((0,o.isDefined)(l)){const t=l.iformat,n="ArrayFormula"===l.kind?void 0:l.formulaBarText??void 0,o=l.failureReason??void 0,i="CellFormula"===l.kind;this.dataModel.writeCellContents(e,b,n,i,S,y,t,m.SpecialStyle.Blank,o,r)}else if((0,o.isNone)(u))this.dataModel.writeCellContents(e,b,"",!1,S,s.blankOper,g.blankCellFormat,void 0,void 0,r);else{if(r)throw new Error("Promote cell data is unsupported for cloned models.");this.dataModel.promoteCellContents(e,c,b,u)}r||(this.dataModel.writeHiddenRows(e,(0,d.sheetGridRangeToHiddenRows)(c,h)),this.dataModel.writeHiddenCols(e,(0,d.sheetGridRangeToHiddenCols)(c,v)))}}localizeEnglishFormula(e,t){const r=this.dataModel.translateEnglishFormula(e,(0,d.sheetCellLocationToGridCell)(this.document,t));return Promise.resolve(r)}applyRangeFormulaEdits(e,t,r){const n=(0,v.filterCheck)(e,v.chRangeFormulaEdit,this.ignoredInputStats,"rangeFormulaEdits");for(const e of n){const{kind:n,range:l,formulaBarText:u,value:c,origin:p,viewport:h}=e;let g=i.empty;l.forEach((e=>{g=(0,a.unionProduct)(g,(0,f.createCellSetFromRange)((0,d.sheetRangeLocationToGridRange)(this.document,e).range))}));const v=(0,d.sheetRangeLocationToGridRange)(this.document,l[0]),b=(0,o.isDefined)(p)?(0,s.gridCell)(p.row,p.column):(0,s.gridRangeAnchor)(v.range),y=(0,o.isDefined)(h)?(0,d.sheetRangeLocationToGridRange)(this.document,h):void 0;let S;(0,o.isDefined)(c)?(S=(0,d.cellValueToReadOper)(this.mathpack,c),(0,o.assertTrue)("calc.calc.RecalcService: editRangeFormulas oper",null!=S)):S=void 0;const C="CellFormula"===n||"Value"!==n&&void 0;r?this.dataModel.editCellContentsOnClone((0,m.sheetCellSet)(v.sheet,g),u,C,b,r):this.dataModel.editCellContents(t,(0,m.sheetCellSet)(v.sheet,g),u,C,b,S,y)}}editRangeFormats(e,t){if(!this.setInputStateId(e,"rangeFormatEdits"))return;this.clearAsyncResumeRecalc();const r=(0,v.filterCheck)(t,v.chRangeFormatEdit,this.ignoredInputStats,"rangeFormatEdits");for(const t of r){const{range:r,operation:n,origin:l,viewport:u}=t,c="SetFormat"!==n.kind||(0,o.isNone)(n.format)?"RibbonFormat"!==n.kind||(0,o.isNone)(n.ribbon)?"ChangeDecimals"!==n.kind||(0,o.isNone)(n.changeDecimals)?void 0:{kind:n.kind,changeDecimals:n.changeDecimals}:{kind:n.kind,ribbon:n.ribbon}:{kind:n.kind,format:n.format};(0,o.assertTrue)("calc.calc.RecalcService: editRangeFormats operation",null!=c);let p=i.empty;r.forEach((e=>{p=(0,a.unionProduct)(p,(0,f.createCellSetFromRange)((0,d.sheetRangeLocationToGridRange)(this.document,e).range))}));const h=(0,d.sheetRangeLocationToGridRange)(this.document,r[0]),g=null!=l?(0,s.gridCell)(l.row,l.column):(0,s.gridRangeAnchor)(h.range),v=(0,o.isDefined)(u)?(0,d.sheetRangeLocationToGridRange)(this.document,u):void 0;this.dataModel.editCellFormats(e,(0,m.sheetCellSet)(h.sheet,p),c,g,v)}}editArrayFormulas(e,t){if(!this.setInputStateId(e,"arrayFormulaEdits"))return;this.clearAsyncResumeRecalc();const r=(0,v.filterCheck)(t,v.chArrayFormulaEdit,this.ignoredInputStats,"arrayFormulaEdits");for(const t of r){const{range:r,formulaBarText:n,origin:i,viewport:a}=t,l=(0,d.sheetRangeLocationToGridRange)(this.document,r),u=(0,o.isDefined)(i)?(0,s.gridCell)(i.row,i.column):(0,s.gridCell)(r.row,r.column),c=(0,o.isDefined)(a)?(0,d.sheetRangeLocationToGridRange)(this.document,a):void 0;this.dataModel.editArrayFormula(e,l,n,u,c)}}editRangePaste(e,t){if(!this.setInputStateId(e,"editRangePaste"))return;this.clearAsyncResumeRecalc();const r=(0,v.filterCheck)(t,v.chPasteEdit,this.ignoredInputStats,"pasteEdits");for(const t of r){const{kind:r,source:n,target:i,viewport:a}=t,s=(0,d.sheetRangeLocationToGridRange)(this.document,n),l=(0,d.sheetCellLocationToGridCell)(this.document,i),u=(0,o.isDefined)(a)?(0,d.sheetRangeLocationToGridRange)(this.document,a):void 0;this.dataModel.editPaste(e,r,l,s,u)}}setConfig(e){const t=Array.isArray(e.runExperiments)?{stepBudget:e.experimentStepBudget??10,totalBudget:e.experimentTotalBudget??1e4,factories:(0,y.getExperimentFactories)(e.runExperiments)}:void 0;this.config={yieldIntervalMs:e.yieldIntervalMs??10,totalTimeMs:e.totalEvalTimeMs??1e4,maxCellChain:2*s.sheetCols,maxNameChain:128,maxLambdaCalls:1e4,maxLambdaDepth:1e3,samplePrecisionEvalRate:e.samplePrecisionEvalRate??.02,samplePrecisionPrintFormulaRate:e.samplePrecisionPrintFormulaRate??.001,samplePrecisionPrintValueRate:e.samplePrecisionPrintValueRate??1e-4,sampleRecalcStatisticsRate:e.sampleRecalcStatisticsRate??.2,sampleWorkbookStatisticsRate:e.sampleWorkbookStatisticsRate??.1,sampleCellEvalStopwatchRate:e.sampleCellEvalStopwatchRate??.003,sampleRecalcEditedStopwatchRate:e.sampleRecalcEditedStopwatchRate??1,sampleRecalcViewportStopwatchRate:e.sampleRecalcViewportStopwatchRate??1,rngSeed:e.rngSeed??1e3*Date.now(),volatileMode:null!=e.volatileMode?k.VolatileMode[e.volatileMode]:k.VolatileMode.Estimation,experimentFactories:t}}reconfigure(e){this.setConfig(e),this.dataModel.reconfigure(this.config)}clearCache(){this.clearAsyncResumeRecalc(),this.dataModel=new h.PartialWorkbook(this.dataTransformer.getLangConfig(),this.config),this.recalcStatistics=m.emptyRecalcStatistics,this.nameFailures=[],this.rangeFailures=[],this.numberFormatFailures=[],this.unhandledFailures=[],this.ignoredInputStats={},this.ignoredOutputStats={},this.currentInputStateId=this.currentOutputStateId=this.lastRecalcStatsStateId=-1/0}processEvalResult({value:e,formatted:t},r){let n,i;if((0,o.isSuccess)(e)){if(!r&&!(0,v.check)(e.value,v.chReadOper,this.ignoredOutputStats,"evalFormula"))throw new Error("ignored output");const t=(0,d.readOperToCellValue)(this.mathpack,e.value);(0,o.assertTrue)("calc.calc.RecalcService.evalFormula",void 0!==t),n=(0,o.success)(t)}else n=(0,o.failure)(E(e.reason));return i=void 0===t?void 0:(0,o.isSuccess)(t)?t:(0,o.failure)(E(t.reason)),(0,S.evalFormulaData)(n,i)}evalFormula(e,t,r,n){return(0,v.check)(r,v.chSheetCellLocation,this.ignoredInputStats,"origin")?(0,v.check)(n,v.chEvalFormulaFormat,this.ignoredInputStats,"format")?this.dataModel.evalFormula(e,t,(0,d.sheetCellLocationToGridCell)(this.document,r),(0,d.evalFormulaFormatToUnion)(n)).then((e=>this.processEvalResult(e,!1))):Promise.reject(new Error("ignored format")):Promise.reject(new Error("ignored input"))}evalFormulaTree(e,t,r,n){if(!(0,v.check)(r,v.chSheetCellLocation,this.ignoredInputStats,"origin"))return Promise.reject(new Error("ignored input"));if(!(0,v.check)(n,v.chEvalFormulaFormat,this.ignoredInputStats,"format"))return Promise.reject(new Error("ignored format"));const o=(e,t)=>{const[r,n]=e,[i,a]=r,s=[i,a.map((({value:e,formatted:r})=>this.processEvalResult({value:e,formatted:r},!t)))];return void 0!==n?[s,n.map((e=>o(e,!1)))]:[s]};return this.dataModel.evalFormulaTree(e,t,(0,d.sheetCellLocationToGridCell)(this.document,r),(0,d.evalFormulaFormatToUnion)(n)).then((e=>o(e,!0)))}evalFormulaOnSnapshotImpl(e,t,r,n){return this.dataModel.evalFormula(-1,e,t,r,n)}evalFormulaTreeOnSnapshotImpl(e,t,r,n){return this.dataModel.evalFormulaTree(-1,e,t,r,n)}testAdvanceState(e){this.setInputStateId(e,"testAdvanceState")&&(this.dataModel.testAdvanceState(e),this.clearAsyncResumeRecalc())}getMissingJSFeatures(){return(0,p.getMissingJSFeatures)()}constructor(e,t,r,n,i,a={},s="Local"){this.onRecalcResults=e,this.onUpdateRequest=t,this.onGC=r,this.onAlert=n,this.asyncLoopFunction=i,this.twConfig=a,this.dataTransformer=new b.RecalcServiceDataTransformer,this.currentInputStateId=-1/0,this.currentOutputStateId=-1/0,this.lastRecalcStatsStateId=-1/0,this.recalcStatistics=m.emptyRecalcStatistics,this.nameFailures=[],this.rangeFailures=[],this.numberFormatFailures=[],this.printFormulaFailures=[],this.inferFormatFailures=[],this.formatValueFailures=[],this.unhandledFailures=[],this.ignoredInputStats={},this.ignoredOutputStats={},this.initCalcThreadInside=async(e,t,r)=>(0,o.initCalcInThread)(e,t,r,this.twConfig),this.setConfig({}),this.dataModel=new h.PartialWorkbook(this.dataTransformer.getLangConfig(),this.config)}}t.RecalcServiceImpl=A;const I=(0,o.mixin)(A,(e=>new C.RecalcSideGrid(e)),["getSheetNames","getRangeValues","getRangeFormats","getRangeFormulae","getIntersectingTables","getIformats","discardSnapshot","createIGridExportEndpoint","getHiddenRows","getHiddenCols","evalFormulaOnSnapshot","evalFormulaTreeOnSnapshot","evalClonedModelOnSnapshot","getCorrespondingSnapshotID"]);if((0,o.getTypedFeatureGate)("TESTING_ONLY_RECALC_SERVICE_IMPORTSCRIPTS_FAIL")&&(self.__retries=(self.__retries??-1)+1,0===self.__retries))throw"";t.recalcServiceInsideInit=({config:e,connection:t})=>c.Endpoint.createInside(t,(r=>new I(((...e)=>r.post.onRecalcResults(...e)),((...e)=>r.post.onUpdateRequest(...e)),((...e)=>r.post.onGC(...e)),((...e)=>r.post.onAlert(...e)),o.asyncLoop,e,t.createMode)))},64338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRecalcService=async function(e,...[t,r]){const[n,g]="boolean"==typeof t?t?[(new u.PluginSchedulerSingleton).instance(),(new u.GridImportManagerSingleton).instance()]:[void 0,void 0]:[t,r];let m=-1/0,f=!1;const v={onRecalcResults(e){},onUpdateRequest(e){},onGC(e){m=e},onAlert(e){if(f)return;const t=document.createElement("div"),r=document.createElement("p");r.textContent=e,t.appendChild(r);const n=document.createElement("button");n.textContent="OK",t.appendChild(n),t.setAttribute("style","position: fixed; top: 0; left: 30%; right: 30%; background: red; color: white; font-size: 16px; font-weight: bold; z-index: 1000; padding: 3em; white-space: pre-line;"),n.onclick=()=>{document.body.removeChild(t)},document.body.appendChild(t),f=!0}},b=await a.createWorker({id:"RecalcService",createMode:e},{local:l.recalcServiceInsideInit,thread:{scriptUrl:(0,o.getCalcAbsUrlOrThrow)(),insideInitName:"excelOnlineCalc.calc.recalcServiceInsideInit"}},(()=>v)),y=[];let S="Requested";function C(e="Requested"){S=e,b.close()}b.onClose=()=>{for(const e of y)try{e()}catch(e){o.ulsLogger.ULS.traceTag(539341771,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`calc.calc.createRecalcService.service.onClose: callback threw ${(0,o.messageFromError)(e)}`)}const e=`calc.calc.createRecalcService.service.onClose: recalc service closed; reason = ${S}`;o.ulsLogger.ULS.traceTag(561534148,i.LogCategory.msoulscat_ES_EWAJS,"Requested"===S?i.TraceLevel.Info:i.TraceLevel.Warning,e)};try{if("Thread"===b.createMode){const e=await(0,o.initCalcThread)(b);y.push((()=>e.close())),(0,s.logMissingJSFeatures)(b.call.getMissingJSFeatures)}b.call.ping.callTimeout=d;let e=p,t=0,r=()=>{};(0,o.promiseLoop)((async()=>{if(await new Promise((e=>setTimeout(e,h))),b.hasBeenClosed())return;const n=b.call.ping.callTimeout,s=(0,o.now)();try{await b.call.ping()}catch(l){if(!a.WorkerError.isWorkerError(l)||"Timeout"!==l.info.cause)throw l;const u=(0,o.now)()-s;t+=1,t>=e&&C("Unresponsive");const c=b.hasBeenClosed(),d={timeout:n,waitTime:u,timeoutCount:t,hasBeenClosed:c},p=`calc.calc.RecalcService: unresponsive; ${JSON.stringify(d)}`;return o.ulsLogger.ULS.traceTag(561534149,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,p),r(n,u,t,c),!0}return t=0,!0}),!0).catch((e=>{const t=`calc.calc.RecalcService: ping loop threw an error: ${(0,o.messageFromError)(e)}`;o.ulsLogger.ULS.traceTag(561534150,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,t)})),b.post.updateRanges.onPostMessageError=a.dispatchWorkerError;const l={setOnRecalcResults(e){v.onRecalcResults=e},setOnUpdateRequest(e){v.onUpdateRequest=e},setOnUnresponsive(e){r=e},setA1ReferenceStyle(...e){b.post.setA1ReferenceStyle(...e),void 0!==n&&n.doNotify(c.NotificationKind.setA1ReferenceStyle,e)},setLocale(...e){b.post.setLocale(...e),void 0!==n&&n.doNotify(c.NotificationKind.setLocale,e)},setWorkbookProps(...e){b.post.setWorkbookProps(...e),void 0!==n&&n.doNotify(c.NotificationKind.setWorkbookProps,e)},updateSheetNames(...e){b.post.updateSheetNames(...e),void 0!==n&&n.doNotify(c.NotificationKind.updateSheetNames,e)},updateNamedObjects(...e){b.post.updateNamedObjects(...e),void 0!==n&&n.doNotify(c.NotificationKind.updateNamedObjects,e)},setNumberFormats:b.post.setNumberFormats,updateUnusedCells:b.post.updateUnusedCells,updateRanges:b.post.updateRanges,updateArrays:b.post.updateArrays,editRangeFormulas:b.post.editRangeFormulas,editRangeFormats:b.post.editRangeFormats,editArrayFormulas:b.post.editArrayFormulas,editRangePaste:b.post.editRangePaste,resumeRecalc:b.post.resumeRecalc,reconfigure(t){b.call.ping.callTimeout=t.responsivenessPingTimeout??d,e=t.responsivenessPingAttempts??p,b.post.reconfigure(t)},clearCache(){b.post.clearCache(),m=-1/0},testAdvanceState:b.post.testAdvanceState,testResumeRecalc:b.call.testResumeRecalc,close:C,stateIdAvailable:e=>e>=m,evalFormula:b.call.evalFormula,evalFormulaTree:b.call.evalFormulaTree,evalOnClonedModel:b.call.evalOnClonedModel,localizeEnglishFormula:(...e)=>b.call.localizeEnglishFormula(...e),createIGridExportEndpoint:(e,t)=>(y.push(t),b.call.createIGridExportEndpoint.transfer([e.port],e))};return void 0!==g&&g.onGridExporterCreated(l),l}catch(e){throw C("Error"),e}};const n=r(16533),o=r(52123),i=r(68247),a=n.__importStar(r(18832)),s=r(52294),l=r(42630),u=r(4276),c=r(75442),d=3e4,p=3,h=1e3},94928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chReadOper=t.chEvalFormulaFormat=t.chWorkbookProps=t.chLocaleData=t.chPasteEdit=t.chArrayFormulaEdit=t.chRangeFormatEdit=t.chRangeFormulaEdit=t.chNamedObjectsUpdate=t.chNamedObject=t.chNamedObjectData=t.chNamedFailureData=t.chNamedTableScope=t.chNamedTableData=t.chColumnData=t.chNamedRangeData=t.chNamedFormulaData=t.chNamedValueData=t.chNamedValue=t.chUnusedCellsUpdate=t.chArrayUpdate=t.chArrayData=t.chRangeUpdate=t.chCellData=t.chCellFormat=t.chCellValue=t.chError=t.chBlank=t.chSheetCellLocation=t.chSheetRangeLocation=t.chRangeLocation=t.chCellLocation=t.chCol=t.chRow=t.chSheetName=t.chSheetId=t.chNumberFormat=t.chErrorTypeName=t.chWorksheetFunctionName=t.chFormulaText=t.chArray=t.chBoolean=t.chNonemptyString=t.chString=t.chNatural=t.chInteger=t.chFiniteNumber=t.chPossiblyInfiniteNumber=t.chNever=void 0,t.incrementStat=a,t.checker=l,t.check=u,t.filterCheck=function(e,r,n,o){if(!u(e,t.chArray,n,o))return[];const i=`${o}.<index>`;return e.filter((e=>u(e,r,n,i)))},t.optChecker=c,t.fromChecker=function(e){return(t,r,n)=>e(t,r,n)},t.objectChecker=d,t.allChecker=p,t.depAllChecker=h,t.arrayChecker=g,t.taggedUnionChecker=m,t.typeofChecker=f,t.intChecker=y,t.eqChecker=S,t.oneOfChecker=C,t.isFormulaText=T;const n=r(52123),o=r(85882),i=r(43177);function a(e,t){e[t]=(e[t]??0)+1}function s(e,t,r){return e.push(`${t.join(".")}: expected ${r}`),!1}function l(e,t){return(r,o,i)=>(0,n.isDefined)(r)&&e(r)||s(o,i,t)}function u(e,t,r,n){const o=[],i=t(e,o,[n]);for(const e of o)a(r,e);return i}function c(e){return(t,r,o)=>!!(0,n.isNone)(t)||e(t,r,o)}function d(e){return(t,r,o)=>{if((0,n.isNone)(t))return s(r,o,"non-null object");const i=o.length;try{let n=!0;for(const a in e)o[i]=a,n=n&&e[a](t[a],r,o);return n}finally{o.length=i}}}function p(...e){return(t,r,n)=>e.reduce(((e,o)=>e&&o(t,r,n)),!0)}function h(e,...t){return(r,n,o)=>t.reduce(((e,t)=>e&&t(r)(r,n,o)),e(r,n,o))}function g(e){return(t,r,n)=>{if(!Array.isArray(t))return s(r,n,"Array");n.push("<index>");try{return t.reduce(((t,o)=>t&&e(o,r,n)),!0)}finally{n.pop()}}}function m(e){const t=`one of ${JSON.stringify(Object.getOwnPropertyNames(e).sort())}`;return(r,o,i)=>{if((0,n.isNone)(r))return s(o,i,"non-null object");const a=i.length;try{const a="string"==typeof r.kind||"number"==typeof r.kind?e[r.kind]:void 0;return(0,n.isNone)(a)?(i.push("kind"),s(o,i,t)):a(r,o,i)}finally{i.length=a}}}function f(e){const t=`typeof one of ${JSON.stringify(Object.getOwnPropertyNames(e).sort())}`;return(r,o,i)=>{const a=e[typeof r];return(0,n.isNone)(a)?s(o,i,t):a(r,o,i)}}function v(e){return"number"==typeof e&&e>-1/0&&e<1/0}function b(e){return(0|e)===e||Math.floor(e)===e}function y(e,t,r=(0!==e?`integer >= ${e} and < ${t}`:`natural < ${t}`)){return l((r=>"number"==typeof r&&r>=e&&r<t&&b(r)),r)}function S(e){return l((t=>t===e),JSON.stringify(e))}function C(...e){const t=Object.create(null),r=Object.create(null);for(const n of e)"number"==typeof n?r[n]=!0:t[n]=!0;return l((e=>{switch(typeof e){case"string":case"symbol":return!0===t[e];case"number":return!0===r[e]}return!1}),`one of ${JSON.stringify(e.slice().sort())}`)}function T(e){return"="===e[0]||"+"===e[0]||"-"===e[0]}t.chNever=l((e=>!1),"never"),t.chPossiblyInfiniteNumber=l((function(e){return"number"==typeof e&&!isNaN(e)}),"number (non-NaN)"),t.chFiniteNumber=l(v,"finite number"),t.chInteger=l((e=>v(e)&&b(e)),"integer"),t.chNatural=y(0,1/0,"natural"),t.chString=l((e=>"string"==typeof e),"string"),t.chNonemptyString=l((e=>"string"==typeof e&&e.length>0),"nonempty string"),t.chBoolean=l((e=>"boolean"==typeof e),"boolean"),t.chArray=l((e=>Array.isArray(e)),"Array"),t.chFormulaText=l((e=>"string"==typeof e&&T(e)),"formula text"),t.chWorksheetFunctionName=d({functionId:t.chNatural,functionName:t.chNonemptyString});const k=l((e=>"string"==typeof e&&e.length>1&&(0,n.stringStartsWith)(e,"#")),"error name");t.chErrorTypeName=d({errorType:t.chNatural,errorName:k}),t.chNumberFormat=d({iformat:t.chNatural,formatString:t.chString,builtIn:t.chBoolean}),t.chSheetId=l((e=>"string"==typeof e||v(e)),"string or finite number"),t.chSheetName=d({sheetId:t.chSheetId,sheetName:t.chString}),t.chRow=y(0,o.sheetRows),t.chCol=y(0,o.sheetCols),t.chCellLocation=d({row:t.chRow,column:t.chCol});const F=l((e=>null==e.lastRow||e.lastRow>=e.row),"lastRow >= row"),E=l((e=>null==e.lastColumn||e.lastColumn>=e.column),"lastColumn >= column"),A=p(t.chCellLocation,d({lastRow:c(t.chRow),lastColumn:c(t.chCol)}));t.chRangeLocation=h(A,(e=>F),(e=>E)),t.chSheetRangeLocation=p(t.chRangeLocation,d({sheetId:t.chSheetId})),t.chSheetCellLocation=p(t.chSheetRangeLocation,d({lastRow:c(t.chNever),lastColumn:c(t.chNever)})),t.chBlank=d({kind:S("Blank")}),t.chError=d({kind:S("Error"),type:t.chNatural}),t.chCellValue=f({number:t.chFiniteNumber,string:t.chString,boolean:t.chBoolean,object:m({Blank:t.chBlank,Error:t.chError})}),t.chCellFormat=f({number:t.chNatural,string:t.chString}),t.chCellData=p(d({value:t.chCellValue,iformat:t.chNatural,failureReason:c(t.chString)}),m({CellFormula:d({formulaBarText:t.chFormulaText}),ArrayFormula:d({formulaBarText:c(t.chNever)}),Value:d({formulaBarText:t.chString})})),t.chRangeUpdate=d({range:t.chSheetRangeLocation,excludeRows:c(g(t.chRow)),excludeColumns:c(g(t.chCol)),data:c(t.chCellData),fromStateId:c(t.chInteger)}),t.chArrayData=d({isSpilled:t.chBoolean,formulaBarText:t.chFormulaText}),t.chArrayUpdate=d({range:t.chSheetRangeLocation,data:c(t.chArrayData),fromStateId:c(t.chInteger)}),t.chUnusedCellsUpdate=d({sheetId:t.chSheetId,usedRange:c(t.chRangeLocation)}),t.chNamedValue=f({number:t.chFiniteNumber,string:t.chString,boolean:t.chBoolean,object:m({Error:t.chError})}),t.chNamedValueData=d({kind:S("NamedValue"),value:t.chNamedValue}),t.chNamedFormulaData=d({kind:S("NamedFormula"),formulaBarText:t.chFormulaText}),t.chNamedRangeData=d({kind:S("NamedRange"),range:t.chSheetRangeLocation}),t.chColumnData=d({column:t.chNatural,name:t.chNonemptyString});const I=e=>(e.lastRow??e.row)-e.row+1,x=e=>(e.lastColumn??e.column)-e.column+1,w=l((e=>(!e.hasHeadersRow||e.range.row>0)&&(!e.hasTotalsRow||e.range.row+I(e.range)<o.sheetRows)),"enough rows for headers and totals"),P=l((e=>{const t=e.range.column,r=e.range.column+x(e.range);return e.columns.every((e=>e.column>=t&&e.column<r))}),"column names in range");t.chNamedTableData=h(d({kind:S("NamedTable"),range:t.chSheetRangeLocation,hasHeadersRow:t.chBoolean,hasTotalsRow:t.chBoolean,columns:g(t.chColumnData)}),(e=>w),(e=>P)),t.chNamedTableScope=e=>l((t=>"NamedTable"!==t.data?.kind||null==e),"NamedTable at global scope"),t.chNamedFailureData=d({kind:S("NamedFailure"),failureReason:t.chString,objectKind:c(C("NamedValue","NamedFormula","NamedRange","NamedTable"))}),t.chNamedObjectData=m({NamedValue:t.chNamedValueData,NamedFormula:t.chNamedFormulaData,NamedRange:t.chNamedRangeData,NamedTable:t.chNamedTableData,NamedFailure:t.chNamedFailureData});const R=d({name:t.chString,data:c(t.chNamedObjectData)});t.chNamedObject=e=>h(R,(r=>(0,t.chNamedTableScope)(e))),t.chNamedObjectsUpdate=d({scope:c(t.chSheetId),objects:c(t.chArray),fromStateId:c(t.chInteger)});const D=l((e=>e.length>0),"a non-empty array"),_=l((e=>e.every((t=>t.sheetId===e[0].sheetId))),"ranges on the same sheet"),N=h(g(t.chSheetRangeLocation),(e=>D),(e=>_));t.chRangeFormulaEdit=p(d({range:N,origin:c(t.chCellLocation),viewport:c(t.chSheetRangeLocation)}),m({CellFormula:d({formulaBarText:t.chFormulaText,value:c(t.chNever)}),Value:d({formulaBarText:t.chString,value:t.chCellValue}),Inferred:d({formulaBarText:t.chString,value:c(t.chNever)})}));const O=m({SetFormat:d({format:t.chCellFormat}),RibbonFormat:d({ribbon:C(...(0,n.strEnumArray)(i.RibbonFormat))}),ChangeDecimals:d({changeDecimals:y(-20,20)})});t.chRangeFormatEdit=d({range:N,operation:O,origin:c(t.chCellLocation),viewport:c(t.chSheetRangeLocation)}),t.chArrayFormulaEdit=d({range:t.chSheetRangeLocation,formulaBarText:l((e=>"string"==typeof e&&(0===e.length||T(e))),"empty string or text denoting formula"),origin:c(t.chCellLocation),viewport:c(t.chSheetRangeLocation)});const M=l((e=>{const t=x(e.source),r=I(e.source);return e.target.column+t<=o.sheetCols&&e.target.row+r<=o.sheetRows}),"(target,source) in range");t.chPasteEdit=h(d({kind:C("CopyPaste"),target:t.chSheetCellLocation,source:t.chSheetRangeLocation,viewport:c(t.chSheetRangeLocation)}),(e=>M));const B=l((e=>2===e.length),"2 AM/PM symbols"),L=l((e=>7===e.length),"7 day symbols"),K=l((e=>12===e.length),"12 month symbols");function W(e){const t=(0,n.numEnumMap)(e,n.identity);return l((e=>e.every(((e,r)=>null==e||r in t))),"indexes in enum")}const H=W(o.SpecialRefId),G=W(o.PictureSpecial),z=W(o.PictureSingle),U=W(o.PictureColor),V=W(o.PictureDbnum);t.chLocaleData=d({worksheetFunctionNames:t.chArray,thousandsData:g(t.chNatural),errorTypeNames:t.chArray,specialRefNames:h(g(c(t.chNonemptyString)),(e=>H)),trueName:t.chNonemptyString,falseName:t.chNonemptyString,rowLetter:t.chNonemptyString,columnLetter:t.chNonemptyString,leftBrace:t.chNonemptyString,rightBrace:t.chNonemptyString,leftBracket:t.chNonemptyString,rightBracket:t.chNonemptyString,decimalSeparator:t.chNonemptyString,listSeparator:t.chNonemptyString,columnSeparator:t.chNonemptyString,rowSeparator:t.chNonemptyString,thousandsSeparator:t.chString,lcid:t.chNatural,country:t.chNatural,numberDecimals:t.chNatural,isExpSepBySpace:t.chBoolean,fractionSeparator:t.chNonemptyString,isPercentSepBySpace:t.chBoolean,currencyFormat:C(o.CurrencyFormat.Paren,o.CurrencyFormat.Lead,o.CurrencyFormat.Intern,o.CurrencyFormat.Trail),isCurrencySymbolLead:t.chBoolean,isCurrencySepBySpace:t.chBoolean,currencySymbol:t.chString,currencyDecimals:t.chNatural,dateOrder:C(o.DateOrder.MDY,o.DateOrder.DMY,o.DateOrder.YMD,o.DateOrder.MYD,o.DateOrder.DYM,o.DateOrder.YDM),dateSeparator:t.chString,dateAltSeparator:t.chString,year4Digits:t.chBoolean,month2Digits:t.chBoolean,day2Digits:t.chBoolean,longDateFormat:t.chBoolean,timeSeparator:t.chString,timeAltSeparator:c(t.chString),hour2Digits:t.chBoolean,clock24Hour:t.chBoolean,isAMPMSepBySpace:t.chBoolean,ampmSymbols:h(g(t.chString),(e=>B)),dayNameShort:h(g(t.chString),(e=>L)),dayNameLong:h(g(t.chString),(e=>L)),monthNameShort:h(g(t.chString),(e=>K)),monthNameLong:h(g(t.chString),(e=>K)),pictureSpecial:h(g(c(t.chNonemptyString)),(e=>G)),pictureSingle:h(g(c(t.chNonemptyString)),(e=>z)),pictureColor:h(g(c(t.chNonemptyString)),(e=>U)),pictureDbnum:h(g(c(t.chNonemptyString)),(e=>V)),sysDateFormat:t.chString,sysTimeFormat:t.chString,cultureTagPrimary:t.chNonemptyString,cultureTagUserDefault:t.chNonemptyString,cultureTagInstLang:t.chNonemptyString,cultureTagUserCurrent:t.chNonemptyString});const j=d({yr:t.chInteger,mon:y(1,13),dom:y(1,6),wdy:y(1,8),hour:y(0,24),min:y(0,60),sec:y(0,60),fracSec:S(0),rounding:y(0,4)}),q=h(d({bias:t.chFiniteNumber,standardDate:c(j),standardBias:t.chFiniteNumber,daylightDate:c(j),daylightBias:t.chFiniteNumber}),(e=>l((e=>(0,n.isNone)(e.standardDate)===(0,n.isNone)(e.daylightDate)),"standardDate iff daylightDate")));t.chWorkbookProps=d({date1904:c(t.chBoolean),dateCompatibility:c(t.chBoolean),timezone:c(q)}),t.chEvalFormulaFormat=c(m({Origin:d({iformat:c(t.chNever),knownFormat:c(t.chNever)}),Iformat:d({iformat:t.chNatural,knownFormat:c(t.chNever)}),Known:d({iformat:c(t.chNever),knownFormat:C(...(0,n.numEnumArray)(o.KnownFormat))}),Inferred:d({iformat:c(t.chNever),knownFormat:c(t.chNever)}),Aggregate:d({iformat:c(t.chNever),knownFormat:c(t.chNever)})}));const $={[o.OperKind.Number]:!0,[o.OperKind.String]:!0,[o.OperKind.Boolean]:!0,[o.OperKind.Error]:!0,[o.OperKind.Array]:!1,[o.OperKind.Blank]:!0,[o.OperKind.Rich]:!1};t.chReadOper=l((e=>$[e.kind]),"supported ReadOper")},7603:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecalcServiceDataTransformer=t.initialRecalcServiceConfig=void 0,t.incrementFailure=function(e,t){switch(t.kind){case a.ReasonKind.NotImplemented:for(const r of t.features)(0,c.incrementStat)(e,`${a.ReasonKind.NotImplemented} ${r}`);break;case a.ReasonKind.IllFormedFormula:(0,c.incrementStat)(e,`${a.ReasonKind.IllFormedFormula} ${t.mode??""} ${JSON.stringify({diagnostics:t.diagnostics??{},message:t.mode===u.FormulaMode.ServerCellFormula||t.mode===u.FormulaMode.ServerNamedFormula?t.message:void 0})}`);break;case a.ReasonKind.Unavailable:for(const r of t.objects){const t=[a.ReasonKind.Unavailable];if("string"==typeof r.kind&&r.kind in u.UnavailableKind){const e=r;switch(t.push(e.kind),e.kind){case u.UnavailableKind.SheetId:t.push(e.sheetId);break;case u.UnavailableKind.NameLoc:t.push(e.source),t.push(void 0===e.name.scope.index?"global":"sheet");break;case u.UnavailableKind.ClientFailure:t.push(e.reason);break;case u.UnavailableKind.CellFormula:case u.UnavailableKind.EvalFailure:t.push(e.reason.kind);break;case u.UnavailableKind.VolatileFunction:t.push(e.name);break;case u.UnavailableKind.TimeGranularity:t.push(o.TimeGranularity[e.granularity]);break;case u.UnavailableKind.GetTimeKind:t.push(e.getTimeKind)}}else t.push(JSON.stringify(r));(0,c.incrementStat)(e,t.join(" "))}break;case a.ReasonKind.LimitExceeded:(0,c.incrementStat)(e,`${t.kind} ${a.LimitKind[t.limit]}`);break;case i.FormatReasonKind.NotFormatString:case i.FormatReasonKind.NotValueString:(0,c.incrementStat)(e,`${t.kind} ${t.message}`);break;case a.ReasonKind.InvalidQualifier:case a.ReasonKind.InvalidCellRef:case a.ReasonKind.InvalidStructRef:(0,c.incrementStat)(e,`${t.kind} ${t.reason}`);break;case a.ReasonKind.Internal:(0,c.incrementStat)(e,`${t.kind} ${t.message}`);break;case a.ReasonKind.JavaScriptError:case s.ReasonKind.NotFormulaString:case a.ReasonKind.CellCycle:case a.ReasonKind.NameCycle:case a.ReasonKind.Stopped:case a.ReasonKind.PreviousFailure:case a.ReasonKind.PreviousNameFailure:case i.FormatReasonKind.PreviousFormatFailure:(0,c.incrementStat)(e,t.kind);break;default:(0,n.assertNever)("calc.calc.incrementFailure",t)}};const n=r(52123),o=r(85882),i=r(43177),a=r(14382),s=r(41257),l=r(87481),u=r(9228),c=r(94928);t.initialRecalcServiceConfig={localeInfo:(0,o.getEnglishLocaleInfo)(),mathpack:o.xlMathpack,refStyle:o.RefStyle.A1,timezone:o.tzUTC,date1904:!1,dateCompatibility:!0,datepack:o.xlDatepack},t.RecalcServiceDataTransformer=class{getLangConfig(){return this.langConfig}setA1ReferenceStyle(e,t,r){this.langConfig={...this.langConfig,refStyle:r?o.RefStyle.A1:o.RefStyle.R1C1},e.setLangConfig(t,this.langConfig)}setLocaleInfo(e,t,r,n){(0,c.check)(r,c.chLocaleData,n,"localeData")&&(this.langConfig={...this.langConfig,localeInfo:(0,l.createLocaleInfo)(r,n)},e.setLangConfig(t,this.langConfig))}setWorkbookProps(e,r,n,o){(0,c.check)(n,c.chWorkbookProps,o,"workbookProps")&&(this.langConfig={...this.langConfig,date1904:n.date1904??t.initialRecalcServiceConfig.date1904,dateCompatibility:n.dateCompatibility??t.initialRecalcServiceConfig.dateCompatibility,timezone:n.timezone??t.initialRecalcServiceConfig.timezone},e.setLangConfig(r,this.langConfig))}updateSheetNames(e,t,r,n){e.setSheetNames(this.document,(0,c.filterCheck)(r,c.chSheetName,n,"sheetNames"),t)}updateNamedObjects(e,t,r,i){const a=(0,c.filterCheck)(r,c.chNamedObjectsUpdate,i,"namedObjectsUpdates");for(const r of a){const{scope:a,objects:s,fromStateId:u}=r,d=(0,o.nameScope)(this.document,(0,n.isDefined)(a)?a:void 0);if((0,n.isDefined)(s)){const r=(0,c.filterCheck)(s,(0,c.chNamedObject)(a),i,"namedObjectsUpdates.<index>.objects");for(const n of r){const{name:r,data:o}=n;e.writeNamedObject(t,d,r,(0,l.namedObjectDataToNamedObject)(this.langConfig.mathpack,this.langConfig.localeInfo.stringCompareCI,this.document,o))}}else(0,n.isDefined)(u)?e.promoteNamedObjects(t,d,u):e.writeUndefinedNames(t,d)}}constructor(){this.document=(0,o.documentLoc)(void 0,""),this.langConfig=t.initialRecalcServiceConfig}}},14676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExperimentKind=void 0,t.getExperimentFactories=function(e){return e.map((({name:e,param:t})=>u[e]?.(t))).filter((e=>void 0!==e))},t.registerExperimentFactory=function(e,t){u[e]=t};const n=r(52123),o=r(68247),i=r(99716),a=r(49188);class s{static create(e){if("number"==typeof e)return new s(e);{const t=`calc.calc.TestExperiment: expected number; given ${e}`;n.ulsLogger.ULS.traceTag(591974878,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,t)}}setContext(){}step(){const e=(0,n.now)();for(;(0,n.now)()<e+this.stepDelay;);this.iters+=1,this.iters>1&&(this.done=!0)}constructor(e){this.stepDelay=e,this.done=!1,this.resultLogMessage="TestExperiment",this.failedLogMessage="TestExperiment exceeded budget",this.iters=0}}var l;!function(e){e.OneShot="OneShot",e.Recurring="Recurring",e.Precision="Precision"}(l||(t.ExperimentKind=l={}));const u={TestExperiment:e=>({experimentName:"TestExperiment",kind:l.OneShot,create:()=>s.create(e)}),ExceLintExperiment:()=>({experimentName:"ExceLintExperiment",kind:l.OneShot,create:()=>new i.ExceLintExperiment}),UnitExperiment:()=>({experimentName:"UnitExperiment",kind:l.OneShot,create:()=>new a.UnitExperiment,stepBudget:80})}},18665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecalcServiceCreateMode=t.workbookProps=t.recalcServiceConfig=t.runExperiment=t.updateRequest=t.evalFormulaFormat=t.recalcResults=t.rangeFailure=t.arrayDelta=t.rangeDelta=t.cellDataDelta=t.inferredFormat=t.rangePasteEdit=t.arrayFormulaEdit=t.rangeFormatEdit=t.formatEditOperation=t.RibbonFormat=t.rangeFormulaEdit=t.namedObjectsUpdate=t.namedObject=t.namedFailureData=t.namedTableData=t.columnData=t.namedRangeData=t.namedFormulaData=t.namedValueData=t.unusedCellsUpdate=t.arrayUpdate=t.arrayData=t.rangeWrite=t.rangeUpdate=t.cellData=t.sheetCellLocation=t.sheetRangeLocation=t.rangeLocation=t.cellLocation=t.richValue=t.errorValue=t.blankValue=t.sheetName=t.numberFormat=t.localeData=t.errorTypeName=t.worksheetFunctionName=void 0,t.getCellValueKind=function(e){return"object"==typeof e?e.kind:typeof e},t.getCellFormatKind=function(e){return"object"==typeof e?e.kind:typeof e},t.cellFormulaCellData=function(e,r,n,o){return(0,t.cellData)(e,r,n,o,"CellFormula")},t.arrayFormulaCellData=function(e,r,n){return(0,t.cellData)(void 0,e,r,n,"ArrayFormula")},t.valueCellData=function(e,r,n,o){return(0,t.cellData)(e,r,n,o,"Value")},t.rangePromote=function(e,r,n,o){return(0,t.rangeUpdate)(e,void 0,r,n,o)},t.arrayWrite=function(e,r){return(0,t.arrayUpdate)(e,r,void 0)},t.arrayPromote=function(e,r){return(0,t.arrayUpdate)(e,void 0,r)},t.namedObjectsWrite=function(e,r){return(0,t.namedObjectsUpdate)(e,r,void 0)},t.undefinedNamesWrite=function(e){return(0,t.namedObjectsUpdate)(e,void 0,void 0)},t.namedObjectsPromote=function(e,r){return(0,t.namedObjectsUpdate)(e,void 0,r)},t.cellFormulaRangeFormulaEdit=function(e,r,n,o){return(0,t.rangeFormulaEdit)(e,r,void 0,n,o,"CellFormula")},t.valueRangeFormulaEdit=function(e,r,n,o){return(0,t.rangeFormulaEdit)(e,r,n,void 0,o,"Value")},t.inferredRangeFormulaEdit=function(e,r,n,o){return(0,t.rangeFormulaEdit)(e,r,void 0,n,o,"Inferred")},t.formatEditSetFormat=function(e){return(0,t.formatEditOperation)("SetFormat",e,void 0,void 0)},t.formatEditRibbonFormat=function(e){return(0,t.formatEditOperation)("RibbonFormat",void 0,e,void 0)},t.formatEditChangeDecimals=function(e){return(0,t.formatEditOperation)("ChangeDecimals",void 0,void 0,e)},t.copyPasteRangePasteEdit=function(e,r,n){const o=(0,t.sheetCellLocation)(e.sheetId,e.row,e.column);return(0,t.rangePasteEdit)("CopyPaste",o,r,n)},t.evalFormulaFormatOrigin=function(){return(0,t.evalFormulaFormat)("Origin")},t.evalFormulaFormatIformat=function(e){return(0,t.evalFormulaFormat)("Iformat",e)},t.evalFormulaFormatKnown=function(e){return(0,t.evalFormulaFormat)("Known",void 0,e)},t.evalFormulaFormatInferred=function(){return(0,t.evalFormulaFormat)("Inferred")},t.evalFormulaFormatAggregate=function(){return(0,t.evalFormulaFormat)("Aggregate")},t.evalFormulaData=function(e,t){return{value:e,formatted:t}};const n=r(52123),o=r(43177);var i;Object.defineProperty(t,"RibbonFormat",{enumerable:!0,get:function(){return o.RibbonFormat}}),t.worksheetFunctionName=(0,n.typedInstanceCreator)()(((e,t)=>({functionId:e,functionName:t}))),t.errorTypeName=(0,n.typedInstanceCreator)()(((e,t)=>({errorType:e,errorName:t}))),t.localeData=(0,n.typedInstanceCreator)()(((e,t,r,n,o,i,a,s,l,u,c,d,p,h,g,m,f,v,b,y,S,C,T,k,F,E,A,I,x,w,P,R,D,_,N,O,M,B,L,K,W,H,G,z,U,V,j,q,$,Q,X,Y,J,Z,ee)=>({worksheetFunctionNames:e,errorTypeNames:t,specialRefNames:$,trueName:r,falseName:n,rowLetter:o,columnLetter:i,leftBrace:a,rightBrace:s,leftBracket:l,rightBracket:u,decimalSeparator:c,listSeparator:d,columnSeparator:p,rowSeparator:h,thousandsData:g,thousandsSeparator:m,lcid:f,country:v,numberDecimals:b,isExpSepBySpace:y,fractionSeparator:S,isPercentSepBySpace:C,currencyFormat:T,isCurrencySymbolLead:k,isCurrencySepBySpace:F,currencySymbol:E,currencyDecimals:A,dateOrder:I,dateSeparator:x,dateAltSeparator:w,year4Digits:P,month2Digits:R,day2Digits:D,longDateFormat:_,timeSeparator:N,timeAltSeparator:O,hour2Digits:M,clock24Hour:B,isAMPMSepBySpace:L,ampmSymbols:K,dayNameShort:W,dayNameLong:H,monthNameShort:G,monthNameLong:z,pictureSpecial:U,pictureSingle:V,pictureColor:j,pictureDbnum:q,sysDateFormat:Q,sysTimeFormat:X,cultureTagPrimary:Y,cultureTagUserDefault:J,cultureTagInstLang:Z,cultureTagUserCurrent:ee}))),t.numberFormat=(0,n.typedInstanceCreator)()(((e,t,r)=>({iformat:e,formatString:t,builtIn:r}))),t.sheetName=(0,n.typedInstanceCreator)()(((e,t)=>({sheetId:e,sheetName:t}))),t.blankValue={kind:"Blank"},t.errorValue=(0,n.typedInstanceCreator)()((e=>({kind:"Error",type:e}))),t.richValue=(0,n.typedInstanceCreator)()((e=>({kind:"Rich",fields:e}))),t.cellLocation=(0,n.typedInstanceCreator)()(((e,t)=>({row:e,column:t}))),t.rangeLocation=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({row:e,column:t,lastRow:r,lastColumn:n}))),t.sheetRangeLocation=(0,n.typedInstanceCreator)()(((e,t,r,n,o)=>({sheetId:e,row:t,column:r,lastRow:n,lastColumn:o}))),t.sheetCellLocation=(0,n.typedInstanceCreator)()(((e,t,r)=>({sheetId:e,row:t,column:r,lastRow:void 0,lastColumn:void 0}))),t.cellData=(0,n.typedInstanceCreator)()(((e,t,r,n,o)=>({formulaBarText:e,value:t,iformat:r,failureReason:n,kind:o}))),t.rangeUpdate=(0,n.typedInstanceCreator)()(((e,t,r,n,o)=>({range:e,data:t,fromStateId:r,excludeRows:n,excludeColumns:o}))),t.rangeWrite=(0,n.typedInstanceCreator)()(((e,r,n,o)=>(0,t.rangeUpdate)(e,r,void 0,n,o))),t.arrayData=(0,n.typedInstanceCreator)()(((e,t)=>({isSpilled:e,formulaBarText:t}))),t.arrayUpdate=(0,n.typedInstanceCreator)()(((e,t,r)=>({range:e,data:t,fromStateId:r}))),t.unusedCellsUpdate=(0,n.typedInstanceCreator)()(((e,t)=>({sheetId:e,usedRange:t}))),t.namedValueData=(0,n.typedInstanceCreator)()((e=>({kind:"NamedValue",value:e}))),t.namedFormulaData=(0,n.typedInstanceCreator)()((e=>({kind:"NamedFormula",formulaBarText:e}))),t.namedRangeData=(0,n.typedInstanceCreator)()((e=>({kind:"NamedRange",range:e}))),t.columnData=(0,n.typedInstanceCreator)()(((e,t)=>({column:e,name:t}))),t.namedTableData=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:"NamedTable",range:e,hasHeadersRow:t,hasTotalsRow:r,columns:n}))),t.namedFailureData=(0,n.typedInstanceCreator)()(((e,t)=>({kind:"NamedFailure",failureReason:e,objectKind:t}))),t.namedObject=(0,n.typedInstanceCreator)()(((e,t)=>({name:e,data:t}))),t.namedObjectsUpdate=(0,n.typedInstanceCreator)()(((e,t,r)=>({scope:e,objects:t,fromStateId:r}))),t.rangeFormulaEdit=(e,t,r,n,o,i="Inferred")=>({range:Array.isArray(e)?e:[e],formulaBarText:t,value:r,origin:n,viewport:o,kind:i}),t.formatEditOperation=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:e,format:t,ribbon:r,changeDecimals:n}))),t.rangeFormatEdit=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({range:e,operation:t,origin:r,viewport:n}))),t.arrayFormulaEdit=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({range:e,formulaBarText:t,origin:r,viewport:n}))),t.rangePasteEdit=(0,n.typedInstanceCreator)()(((e,t,r,n)=>({kind:e,target:t,source:r,viewport:n}))),t.inferredFormat=(0,n.typedInstanceCreator)()(((e,t,r)=>({format:e,category:t,decimals:r}))),t.cellDataDelta=(0,n.typedInstanceCreator)()(((e,t,r,n,o)=>({formulaBarText:e,value:t,format:r,formatted:n,hasHyperlink:o}))),t.rangeDelta=(0,n.typedInstanceCreator)()(((e,t)=>({range:e,data:t}))),t.arrayDelta=(0,n.typedInstanceCreator)()(((e,t)=>({range:e,data:t}))),t.rangeFailure=(0,n.typedInstanceCreator)()(((e,t)=>({range:e,reason:t}))),t.recalcResults=(0,n.typedInstanceCreator)()(((e,t,r,n,o,i)=>({stateId:e,priorityGroup:t,isFinished:r,rangeDeltas:n,arrayDeltas:o,rangeFailures:i}))),t.evalFormulaFormat=(0,n.typedInstanceCreator)()(((e,t,r)=>({kind:e,iformat:t,knownFormat:r}))),t.updateRequest=(0,n.typedInstanceCreator)()(((e,t,r)=>({rangeUpdateRanges:e,arrayUpdateRanges:t,namesUpdateScopes:r}))),t.runExperiment=(0,n.typedInstanceCreator)()(((e,t)=>({name:e,param:t}))),t.recalcServiceConfig=(0,n.typedInstanceCreator)()(((e,t,r,n,o,i,a,s,l,u,c=(null==u?void 0:u/(u>=1?1:10)),d)=>({totalEvalTimeMs:e,samplePrecisionEvalRate:t,samplePrecisionPrintFormulaRate:u,samplePrecisionPrintValueRate:c,sampleRecalcStatisticsRate:s,sampleWorkbookStatisticsRate:n,sampleRecalcEditedStopwatchRate:o,sampleRecalcViewportStopwatchRate:i,sampleCellEvalStopwatchRate:a,rngSeed:r,volatileMode:d,runExperiments:l}))),t.workbookProps=(0,n.typedInstanceCreator)()(((e,t,r)=>({date1904:e,dateCompatibility:t,timezone:r}))),function(e){e.Thread="Thread",e.Local="Local",e.ThreadOrLocal="ThreadOrLocal"}(i||(t.RecalcServiceCreateMode=i={}))},11614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecalcSideGrid=void 0,t.convertX10UpdatesToCalcUpdates=g,t.convertX10RangeFormulaEditsToCalcRangeFormulaEdits=m;const n=r(16533),o=r(52123),i=r(62272),a=r(85882),s=n.__importStar(r(18832)),l=r(87481),u=r(22096),c=r(9228),d=r(99805),p=r(18665),h=r(93019);function g(e,t){return e.map((e=>{if(!(0,o.isDefined)(e.data))return{data:void 0,range:(0,l.sheetGridRangeToLocation)(e.range)};const r=(0,l.readOperToCellValue)(t,e.data.value);return{data:{kind:e.data.kind,formulaBarText:e.data.formulaBarText,value:r??p.blankValue,iformat:e.data.iformat,failureReason:void 0===r?"unsupported Oper serialization":void 0},range:(0,l.sheetGridRangeToLocation)(e.range)}}))}function m(e,t){return e.map((e=>{const[r,...n]=e.range,i=[(0,l.sheetGridRangeToLocation)(r),...n.map((e=>(0,l.sheetGridRangeToLocation)(e)))];return{kind:e.kind,range:i,formulaBarText:e.formulaBarText,value:(0,o.isDefined)(e.value)?(0,l.readOperToCellValue)(t,e.value):void 0,origin:(0,o.isDefined)(e.origin)?(0,l.gridCellToCellLocation)(e.origin):void 0}}))}function f(e){const[t,r]=e,[n,o]=t;if(o.map(v),void 0===r)return e;for(const e of r)f(e);return e}function v(e){if(e.value.kind===o.ResultKind.Failure&&e.value.reason.kind===a.ReasonKind.Unavailable){const t=e.value.reason.objects;for(let e=0;e<t.length;e++){const r=t[e];r.kind===c.UnavailableKind.GridRange&&(t[e]={...r,unavailableCells:!0})}}return e}(0,o.staticAssertSame)(),(0,o.staticAssertSame)(),(0,o.staticAssertSame)(),(0,o.staticAssertSame)(),t.RecalcSideGrid=class{async createIGridExportEndpoint(e){await s.Endpoint.createInside(e,(()=>this))}discardSnapshot(e){return void 0!==this.snapshotPromises[e]&&(delete this.snapshotPromises[e],!0)}async evalClonedModelOnSnapshot(e,t,r,n){const{snapshot:i}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===i)return(0,o.failure)((0,a.unavailable)(["evalOnClonedModel"]));const s=g(t,i.config.mathpack),l=m(r,i.config.mathpack),u=this.calcGrid.evalOnClonedModelOnSnapshot(s,l,i,n);return this.calcGrid.resumeRecalc(),(0,o.success)(await u)}async evalFormulaOnSnapshot(e,t,r,n={kind:c.SpecialFormat.Origin}){const{snapshot:i}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===i)return(0,o.failure)((0,a.unavailable)(["evalFormula"]));const s=this.calcGrid.evalFormulaOnSnapshotImpl(t,r,n,i);this.calcGrid.resumeRecalc();const l=v(await s);return(0,o.success)(l)}async evalFormulaTreeOnSnapshot(e,t,r,n={kind:c.SpecialFormat.Origin}){const{snapshot:i}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===i)return(0,o.failure)((0,a.unavailable)(["evalFormula"]));const s=this.calcGrid.evalFormulaTreeOnSnapshotImpl(t,r,n,i);this.calcGrid.resumeRecalc();const l=f(await s);return(0,o.success)(l)}async getSheetNames(e){const{snapshot:t}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===t)return(0,o.failure)((0,a.unavailable)(["getSheetNames"]));const r={document:this.calcGrid.document,sheets:new Array},n=t.getSheetRangeIndexes((0,a.allSheetsRange)(this.calcGrid.document));if(!(0,o.isSuccess)(n))return n;for(const e of n.value.sheets){const n=t.getSheetName(this.calcGrid.document,e);if(!(0,o.isSuccess)(n))return n;r.sheets.push({sheetIndex:(0,a.sheetIndex)(this.calcGrid.document,e),sheetName:n.value})}return(0,o.success)(r)}async getCorrespondingSnapshotID(e){const t=await this.getOrCreateSnapshot(e);return void 0===t?-1:t.correspondingId}async getOrCreateSnapshot(e){return void 0===this.snapshotPromises[e]&&(this.snapshotPromises[e]=this.calcGrid.dataModel.createSnapshot(this.snapshotCounter++),this.calcGrid.resumeRecalc().catch((e=>{setTimeout((()=>{throw e}))}))),this.snapshotPromises[e]}getRangeFormats(e,t){return this.getRangeData(e,t,"formats")}getRangeValues(e,t){return this.getRangeData(e,t,"values")}getRangeFormulae(e,t){return this.getRangeData(e,t,"formulae")}async getRangeData(e,t,r){const{snapshot:n}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===n)return(0,o.failure)((0,a.unavailable)(["getRangeData/getOrCreateSnapshot"]));const s=n.allEditedAvailable(t);if(s.kind!==o.ResultKind.Success)return(0,o.failure)((0,a.unavailable)(["getRangeData/allEditedAvailable"]));let l=(0,d.createCellSetFromRange)(t.range);!0!==s.value&&(l=(0,i.exceptProduct)(l,s.value));const p=e=>{const r=[];return(0,d.forEachRangeInSet)(l,(n=>{const s=e((0,a.sheetGridRange)(t.sheet,n),(e=>{l=(0,i.exceptProduct)(l,(0,d.createCellSetFromRange)(e))}),((e,t)=>{r.push([[e.row,e.col],t])}));return s.kind===o.ResultKind.Success&&s.value}))?(0,o.success)(r):(0,o.failure)((0,a.unavailable)(["getRangeData/extractData"]))},g={formulae:()=>p(((e,t,r)=>n.forEachEditedFormula(e,((e,{lexicalKind:n,compiledFmla:o,fmla:i,origin:s})=>(n!==a.LexicalKind.Range&&(0,a.isGridCell)(e)?(0,u.isBlankGridFormula)(i,void 0!==o)||r(e,{kind:void 0!==o?h.FormulaKind.CellFormula:h.FormulaKind.Value,formulaBarText:i,origin:(0,a.isGridCellEqual)(s,e)?void 0:s}):t(e),!0))))),formats:()=>p(((e,t,r)=>n.forEachEditedFormat(e,((e,n)=>(n===c.SpecialFormat.Unavailable?t(e):(0,u.isBlankCellFormat)(n)||r(e,"number"==typeof n?n:n.formatString),!0))))),values:()=>p(((e,t,r)=>n.forEachRecalcValue(e,((e,n)=>(void 0!==n.failure?t(e):(0,u.isBlankGridValue)(n.oper,n.failure)||r(e,n.oper),!0)))))}[r]();if(g.kind!==o.ResultKind.Success)return g;const m=[];return(0,d.forEachRangeInSet)(l,(e=>(m.push(e),!0))),(0,o.success)({nonEmptyCells:g.value,availableRanges:m})}async getIntersectingTables(e,t){const{snapshot:r}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===r)return(0,o.failure)((0,a.unavailable)(["getIntersectingTables/getOrCreateSnapshot"]));const n=r.allServerAvailable(t);if(n.kind!==o.ResultKind.Success)return(0,o.failure)((0,a.unavailable)(["getIntersectingTables/allServerAvailable"]));const s=r.getIntersectingTables(t);if(!(0,o.isSuccess)(s))return(0,o.failure)((0,a.unavailable)(["getIntersectingTables/getIntersectingTables"]));const l=[];for(const e of s.value){const t=r.getNamedObject(e,a.NameSource.Plain);if(t.kind!==o.ResultKind.Success)return t;if("NamedTable"!==t.value?.kind)continue;const n=[];t.value.columnIndexes.forEach(((e,t)=>(n.push({column:e,name:t}),!0))),l.push({name:e.name,dataRange:t.value.specialRefRanges[a.SpecialRefId.Data].range,hasHeadersRow:t.value.hasHeadersRow,hasTotalsRow:t.value.hasTotalsRow,columns:n})}const u=(0,d.createCellSetFromRange)(t.range),c=!0===n.value?u:(0,i.exceptProduct)(u,n.value),p=[];return(0,d.forEachRangeInSet)(c,(e=>(p.push(e),!0))),(0,o.success)({tables:l,availableRanges:p})}async getIformats(e,t,r,n){const{snapshot:i}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};if(void 0===i)return(0,o.failure)((0,a.unavailable)(["getIformats/getOrCreateSnapshot"]));const s=i.getIformats(t,r,n);return(0,o.isSuccess)(s)?(0,o.success)({availableFormats:s.value}):(0,o.failure)((0,a.unavailable)(["getIformats/getIntersectingTables"]))}async getHiddenRows(e,t,r,n){const{snapshot:o}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};return void 0===o?u.hiddennessFullyUnavailable:o.getHiddenRows(t,r,n)}async getHiddenCols(e,t,r,n){const{snapshot:o}=await this.getOrCreateSnapshot(e)??{snapshot:void 0};return void 0===o?u.hiddennessFullyUnavailable:o.getHiddenCols(t,r,n)}constructor(e){this.calcGrid=e,this.snapshotPromises={},this.snapshotCounter=0}}},75355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeUnavailableCellsStats=function(e){const t=(0,n.makeStringMap)(),r=(0,n.makeStringMap)();for(const n of e){const e=n.range;if(n.reason.kind===a.LangReasonKind.Unavailable)for(const l of n.reason.objects)l.kind===s.UnavailableKind.GridRange&&((0,a.isSheetIndexEqual)(l.range.sheet,e.sheet)?t[l.range.sheet.index]=(0,i.unionProduct)(t[l.range.sheet.index]??o.empty,!0!==l.unavailableCells?l.unavailableCells:o.empty):r[l.range.sheet.index]=(0,i.unionProduct)(r[l.range.sheet.index]??o.empty,!0!==l.unavailableCells?l.unavailableCells:o.empty))}let u=0,c=0,d=0;const p=(0,n.makeStringMap)();for(const e in t){const r=t[e]??o.empty;p[e]=(0,i.unionProduct)(p[e]??o.empty,r),(0,l.forEachRangeInSet)(r,(e=>(u+=e.rows*e.cols,!0)))}for(const e in r){const t=r[e]??o.empty;p[e]=(0,i.unionProduct)(p[e]??o.empty,t),(0,l.forEachRangeInSet)(t,(e=>(c+=e.rows*e.cols,!0)))}for(const e in p){const t=p[e]??o.empty;(0,l.forEachRangeInSet)(t,(e=>(d+=e.rows*e.cols,!0)))}return{numOfUnavailableCellsInTheSameSheet:u,numOfUnavailableCellsInDifferentSheet:c,totalNumOfUnavailableCells:d}};const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(9228),l=r(99805)},98088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolatileMode=t.ResettableLazy=void 0,t.asyncLazy=function(e){return new s(e)},t.getTimeImpl=function(e,t,r,s=l.Estimation,c=u){switch(s){case l.PrecisionTest:return(0,n.failure)((0,o.unavailable)([{kind:a.UnavailableKind.GetTimeKind,getTimeKind:r}]));case l.Estimation:switch(r){case i.GetTimeKind.NonVolatile:return(0,n.failure)((0,o.unavailable)([{kind:a.UnavailableKind.GetTimeKind,getTimeKind:r}]));case i.GetTimeKind.ValueCell:case i.GetTimeKind.Volatile:}case l.GroundTruth:}const{mathpack:d,datepack:p}=e,h=c(),g=p.utcToLocal(e,(0,o.dateTime)(h.getUTCFullYear(),h.getUTCMonth()+1,h.getUTCDate(),h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCDay()+1,h.getUTCMilliseconds(),o.Rounding.Round1000ths),e.timezone);(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection: to local",!1!==g);const{yr:m,rounding:f}=g;let{mon:v,dom:b,hour:y,min:S,sec:C,fracSec:T}=g;t<o.TimeGranularity.Instant&&(T=0,C=0,S=0,y=0),t<o.TimeGranularity.Day&&(b=1,v=1);const k=(0,o.dateTime)(m,v,b,y,S,C,1,T,f),F=p.toNum(e,k);(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection: toNum",!(0,o.isErrorOper)(F));const E=d.toNumber(F);if(s===l.GroundTruth)return(0,n.success)(F);const A=p.toNum(e,g);(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection: toNum",!(0,o.isErrorOper)(A));const I=d.toNumber(A);let x;switch(t){case o.TimeGranularity.Instant:x=I;break;case o.TimeGranularity.Day:x=E+1;break;case o.TimeGranularity.Year:{const t=(0,o.dateTime)(m+1,v,b,y,S,C,1,T,f),r=p.toNum(e,t);(0,n.assertTrue)("calc.calc.PartialWorkbookDocumentCollection: toNum",!(0,o.isErrorOper)(r)),x=d.toNumber(r);break}}const w=10/1440;return I<E+w||I>x-w?(0,n.failure)((0,o.unavailable)([{kind:a.UnavailableKind.TimeGranularity,granularity:t}])):(0,n.success)(F)};const n=r(52123),o=r(85882),i=r(43177),a=r(9228);class s{getValue(){return void 0===this.value&&(this.value=this.valueCreationFunc()),this.value}force(){void 0===this.value&&(this.value=this.valueCreationFunc())}reset(){this.value=void 0}constructor(e){this.valueCreationFunc=e,this.value=void 0}}var l;t.ResettableLazy=s,function(e){e.GroundTruth="GroundTruth",e.Estimation="Estimation",e.PrecisionTest="PrecisionTest"}(l||(t.VolatileMode=l={}));const u=()=>new Date},74788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forEachProduct=t.exceptProduct=t.compareProduct=t.union=t.empty=t.dense=t.VolatileMode=t.registerExperimentFactory=t.ExperimentKind=t.incrementFailure=t.optChecker=t.oneOfChecker=t.objectChecker=t.check=t.chPossiblyInfiniteNumber=t.chFiniteNumber=t.chBoolean=t.arrayChecker=t.blankStyleValue=t.forEachRangeInSet=t.forEachCellInSet=t.createCellSetFromRange=t.bspFactory=t.namedTable=t.namedFormula=t.sheetInFilterMode=t.sheetHiddenRows=t.sheetCellSet=t.createSheetCellSetFromRange=t.UnavailableKind=t.SpecialStyle=t.SpecialFormat=t.OutputMessageKind=t.ComputedCellKind=t.ComputeKind=t.blankCellFormat=t.CloningTarget=t.isFailureOutputMessage=t.voidCallback=t.PartialWorkbookDocumentCollection=t.mathpack=t.locale=t.knownFormatData=t.genFmt=t.englishLocaleData=t.createRange=t.blankStyle=t.PartialWorkbook=t.UnitExperiment=t.makeGridRangeTable=void 0,t.unionProduct=t.project=t.meetsProduct=t.intersectProduct=void 0;const n=r(52123);var o=n.bspSet.empty;t.empty=o;var i=n.bspSet.dense;t.dense=i;var a=n.bspSet.union;t.union=a;var s=n.productSet.unionProduct;t.unionProduct=s;var l=n.productSet.meetsProduct;t.meetsProduct=l;var u=n.productSet.exceptProduct;t.exceptProduct=u;var c=n.productSet.intersectProduct;t.intersectProduct=c;var d=n.productSet.compareProduct;t.compareProduct=d;var p=n.productSet.project;t.project=p;var h=n.productSet.forEachProduct;t.forEachProduct=h;var g=r(85882);Object.defineProperty(t,"makeGridRangeTable",{enumerable:!0,get:function(){return g.makeGridRangeTable}});var m=r(49188);Object.defineProperty(t,"UnitExperiment",{enumerable:!0,get:function(){return m.UnitExperiment}});var f=r(88756);Object.defineProperty(t,"PartialWorkbook",{enumerable:!0,get:function(){return f.PartialWorkbook}});var v=r(12799);Object.defineProperty(t,"blankStyle",{enumerable:!0,get:function(){return v.blankStyle}}),Object.defineProperty(t,"createRange",{enumerable:!0,get:function(){return v.createRange}}),Object.defineProperty(t,"englishLocaleData",{enumerable:!0,get:function(){return v.englishLocaleData}}),Object.defineProperty(t,"genFmt",{enumerable:!0,get:function(){return v.genFmt}}),Object.defineProperty(t,"knownFormatData",{enumerable:!0,get:function(){return v.knownFormatData}}),Object.defineProperty(t,"locale",{enumerable:!0,get:function(){return v.locale}}),Object.defineProperty(t,"mathpack",{enumerable:!0,get:function(){return v.mathpack}});var b=r(27733);Object.defineProperty(t,"PartialWorkbookDocumentCollection",{enumerable:!0,get:function(){return b.PartialWorkbookDocumentCollection}}),Object.defineProperty(t,"voidCallback",{enumerable:!0,get:function(){return b.voidCallback}});var y=r(17980);Object.defineProperty(t,"isFailureOutputMessage",{enumerable:!0,get:function(){return y.isFailureOutputMessage}});var S=r(22096);Object.defineProperty(t,"CloningTarget",{enumerable:!0,get:function(){return S.CloningTarget}}),Object.defineProperty(t,"blankCellFormat",{enumerable:!0,get:function(){return S.blankCellFormat}});var C=r(9228);Object.defineProperty(t,"ComputeKind",{enumerable:!0,get:function(){return C.ComputeKind}}),Object.defineProperty(t,"ComputedCellKind",{enumerable:!0,get:function(){return C.ComputedCellKind}}),Object.defineProperty(t,"OutputMessageKind",{enumerable:!0,get:function(){return C.OutputMessageKind}}),Object.defineProperty(t,"SpecialFormat",{enumerable:!0,get:function(){return C.SpecialFormat}}),Object.defineProperty(t,"SpecialStyle",{enumerable:!0,get:function(){return C.SpecialStyle}}),Object.defineProperty(t,"UnavailableKind",{enumerable:!0,get:function(){return C.UnavailableKind}}),Object.defineProperty(t,"createSheetCellSetFromRange",{enumerable:!0,get:function(){return C.createSheetCellSetFromRange}}),Object.defineProperty(t,"sheetCellSet",{enumerable:!0,get:function(){return C.sheetCellSet}}),Object.defineProperty(t,"sheetHiddenRows",{enumerable:!0,get:function(){return C.sheetHiddenRows}}),Object.defineProperty(t,"sheetInFilterMode",{enumerable:!0,get:function(){return C.sheetInFilterMode}});var T=r(96630);Object.defineProperty(t,"namedFormula",{enumerable:!0,get:function(){return T.namedFormula}}),Object.defineProperty(t,"namedTable",{enumerable:!0,get:function(){return T.namedTable}});var k=r(99805);Object.defineProperty(t,"bspFactory",{enumerable:!0,get:function(){return k.bspFactory}}),Object.defineProperty(t,"createCellSetFromRange",{enumerable:!0,get:function(){return k.createCellSetFromRange}}),Object.defineProperty(t,"forEachCellInSet",{enumerable:!0,get:function(){return k.forEachCellInSet}}),Object.defineProperty(t,"forEachRangeInSet",{enumerable:!0,get:function(){return k.forEachRangeInSet}});var F=r(66370);Object.defineProperty(t,"blankStyleValue",{enumerable:!0,get:function(){return F.blankStyleValue}});var E=r(94928);Object.defineProperty(t,"arrayChecker",{enumerable:!0,get:function(){return E.arrayChecker}}),Object.defineProperty(t,"chBoolean",{enumerable:!0,get:function(){return E.chBoolean}}),Object.defineProperty(t,"chFiniteNumber",{enumerable:!0,get:function(){return E.chFiniteNumber}}),Object.defineProperty(t,"chPossiblyInfiniteNumber",{enumerable:!0,get:function(){return E.chPossiblyInfiniteNumber}}),Object.defineProperty(t,"check",{enumerable:!0,get:function(){return E.check}}),Object.defineProperty(t,"objectChecker",{enumerable:!0,get:function(){return E.objectChecker}}),Object.defineProperty(t,"oneOfChecker",{enumerable:!0,get:function(){return E.oneOfChecker}}),Object.defineProperty(t,"optChecker",{enumerable:!0,get:function(){return E.optChecker}});var A=r(7603);Object.defineProperty(t,"incrementFailure",{enumerable:!0,get:function(){return A.incrementFailure}});var I=r(14676);Object.defineProperty(t,"ExperimentKind",{enumerable:!0,get:function(){return I.ExperimentKind}}),Object.defineProperty(t,"registerExperimentFactory",{enumerable:!0,get:function(){return I.registerExperimentFactory}});var x=r(98088);Object.defineProperty(t,"VolatileMode",{enumerable:!0,get:function(){return x.VolatileMode}})},15423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copyPasteRangePasteEdit=t.rangePasteEdit=t.arrayFormulaEdit=t.rangeFormatEdit=t.formatEditChangeDecimals=t.formatEditRibbonFormat=t.formatEditSetFormat=t.formatEditOperation=t.RibbonFormat=t.inferredRangeFormulaEdit=t.valueRangeFormulaEdit=t.cellFormulaRangeFormulaEdit=t.rangeFormulaEdit=t.columnData=t.namedTableData=t.namedObjectsPromote=t.undefinedNamesWrite=t.namedObjectsWrite=t.namedObjectsUpdate=t.namedObject=t.namedFailureData=t.namedRangeData=t.namedFormulaData=t.namedValueData=t.unusedCellsUpdate=t.arrayPromote=t.arrayWrite=t.arrayUpdate=t.arrayData=t.rangePromote=t.rangeWrite=t.rangeUpdate=t.valueCellData=t.arrayFormulaCellData=t.cellFormulaCellData=t.cellData=t.sheetCellLocation=t.sheetRangeLocation=t.rangeLocation=t.cellLocation=t.getCellFormatKind=t.getCellValueKind=t.richValue=t.errorValue=t.blankValue=t.sheetName=t.numberFormat=t.localeData=t.errorTypeName=t.worksheetFunctionName=void 0,t.internal=t.RecalcServiceDataTransformer=t.getTime=t.recalcServiceInsideInit=t.readOperToCellValue=t.cellValueToReadOper=t.localeInfoFromData=t.RecalcServiceCreateMode=t.createRecalcService=t.workbookProps=t.recalcServiceConfig=t.runExperiment=t.updateRequest=t.evalFormulaFormatAggregate=t.evalFormulaFormatInferred=t.evalFormulaFormatKnown=t.evalFormulaFormatIformat=t.evalFormulaFormatOrigin=t.evalFormulaFormat=t.evalFormulaData=t.recalcResults=t.rangeFailure=t.arrayDelta=t.rangeDelta=t.cellDataDelta=t.inferredFormat=void 0;const n=r(16533);var o=r(18665);Object.defineProperty(t,"worksheetFunctionName",{enumerable:!0,get:function(){return o.worksheetFunctionName}}),Object.defineProperty(t,"errorTypeName",{enumerable:!0,get:function(){return o.errorTypeName}}),Object.defineProperty(t,"localeData",{enumerable:!0,get:function(){return o.localeData}}),Object.defineProperty(t,"numberFormat",{enumerable:!0,get:function(){return o.numberFormat}}),Object.defineProperty(t,"sheetName",{enumerable:!0,get:function(){return o.sheetName}}),Object.defineProperty(t,"blankValue",{enumerable:!0,get:function(){return o.blankValue}}),Object.defineProperty(t,"errorValue",{enumerable:!0,get:function(){return o.errorValue}}),Object.defineProperty(t,"richValue",{enumerable:!0,get:function(){return o.richValue}}),Object.defineProperty(t,"getCellValueKind",{enumerable:!0,get:function(){return o.getCellValueKind}}),Object.defineProperty(t,"getCellFormatKind",{enumerable:!0,get:function(){return o.getCellFormatKind}}),Object.defineProperty(t,"cellLocation",{enumerable:!0,get:function(){return o.cellLocation}}),Object.defineProperty(t,"rangeLocation",{enumerable:!0,get:function(){return o.rangeLocation}}),Object.defineProperty(t,"sheetRangeLocation",{enumerable:!0,get:function(){return o.sheetRangeLocation}}),Object.defineProperty(t,"sheetCellLocation",{enumerable:!0,get:function(){return o.sheetCellLocation}}),Object.defineProperty(t,"cellData",{enumerable:!0,get:function(){return o.cellData}}),Object.defineProperty(t,"cellFormulaCellData",{enumerable:!0,get:function(){return o.cellFormulaCellData}}),Object.defineProperty(t,"arrayFormulaCellData",{enumerable:!0,get:function(){return o.arrayFormulaCellData}}),Object.defineProperty(t,"valueCellData",{enumerable:!0,get:function(){return o.valueCellData}}),Object.defineProperty(t,"rangeUpdate",{enumerable:!0,get:function(){return o.rangeUpdate}}),Object.defineProperty(t,"rangeWrite",{enumerable:!0,get:function(){return o.rangeWrite}}),Object.defineProperty(t,"rangePromote",{enumerable:!0,get:function(){return o.rangePromote}}),Object.defineProperty(t,"arrayData",{enumerable:!0,get:function(){return o.arrayData}}),Object.defineProperty(t,"arrayUpdate",{enumerable:!0,get:function(){return o.arrayUpdate}}),Object.defineProperty(t,"arrayWrite",{enumerable:!0,get:function(){return o.arrayWrite}}),Object.defineProperty(t,"arrayPromote",{enumerable:!0,get:function(){return o.arrayPromote}}),Object.defineProperty(t,"unusedCellsUpdate",{enumerable:!0,get:function(){return o.unusedCellsUpdate}}),Object.defineProperty(t,"namedValueData",{enumerable:!0,get:function(){return o.namedValueData}}),Object.defineProperty(t,"namedFormulaData",{enumerable:!0,get:function(){return o.namedFormulaData}}),Object.defineProperty(t,"namedRangeData",{enumerable:!0,get:function(){return o.namedRangeData}}),Object.defineProperty(t,"namedFailureData",{enumerable:!0,get:function(){return o.namedFailureData}}),Object.defineProperty(t,"namedObject",{enumerable:!0,get:function(){return o.namedObject}}),Object.defineProperty(t,"namedObjectsUpdate",{enumerable:!0,get:function(){return o.namedObjectsUpdate}}),Object.defineProperty(t,"namedObjectsWrite",{enumerable:!0,get:function(){return o.namedObjectsWrite}}),Object.defineProperty(t,"undefinedNamesWrite",{enumerable:!0,get:function(){return o.undefinedNamesWrite}}),Object.defineProperty(t,"namedObjectsPromote",{enumerable:!0,get:function(){return o.namedObjectsPromote}}),Object.defineProperty(t,"namedTableData",{enumerable:!0,get:function(){return o.namedTableData}}),Object.defineProperty(t,"columnData",{enumerable:!0,get:function(){return o.columnData}}),Object.defineProperty(t,"rangeFormulaEdit",{enumerable:!0,get:function(){return o.rangeFormulaEdit}}),Object.defineProperty(t,"cellFormulaRangeFormulaEdit",{enumerable:!0,get:function(){return o.cellFormulaRangeFormulaEdit}}),Object.defineProperty(t,"valueRangeFormulaEdit",{enumerable:!0,get:function(){return o.valueRangeFormulaEdit}}),Object.defineProperty(t,"inferredRangeFormulaEdit",{enumerable:!0,get:function(){return o.inferredRangeFormulaEdit}}),Object.defineProperty(t,"RibbonFormat",{enumerable:!0,get:function(){return o.RibbonFormat}}),Object.defineProperty(t,"formatEditOperation",{enumerable:!0,get:function(){return o.formatEditOperation}}),Object.defineProperty(t,"formatEditSetFormat",{enumerable:!0,get:function(){return o.formatEditSetFormat}}),Object.defineProperty(t,"formatEditRibbonFormat",{enumerable:!0,get:function(){return o.formatEditRibbonFormat}}),Object.defineProperty(t,"formatEditChangeDecimals",{enumerable:!0,get:function(){return o.formatEditChangeDecimals}}),Object.defineProperty(t,"rangeFormatEdit",{enumerable:!0,get:function(){return o.rangeFormatEdit}}),Object.defineProperty(t,"arrayFormulaEdit",{enumerable:!0,get:function(){return o.arrayFormulaEdit}}),Object.defineProperty(t,"rangePasteEdit",{enumerable:!0,get:function(){return o.rangePasteEdit}}),Object.defineProperty(t,"copyPasteRangePasteEdit",{enumerable:!0,get:function(){return o.copyPasteRangePasteEdit}}),Object.defineProperty(t,"inferredFormat",{enumerable:!0,get:function(){return o.inferredFormat}}),Object.defineProperty(t,"cellDataDelta",{enumerable:!0,get:function(){return o.cellDataDelta}}),Object.defineProperty(t,"rangeDelta",{enumerable:!0,get:function(){return o.rangeDelta}}),Object.defineProperty(t,"arrayDelta",{enumerable:!0,get:function(){return o.arrayDelta}}),Object.defineProperty(t,"rangeFailure",{enumerable:!0,get:function(){return o.rangeFailure}}),Object.defineProperty(t,"recalcResults",{enumerable:!0,get:function(){return o.recalcResults}}),Object.defineProperty(t,"evalFormulaData",{enumerable:!0,get:function(){return o.evalFormulaData}}),Object.defineProperty(t,"evalFormulaFormat",{enumerable:!0,get:function(){return o.evalFormulaFormat}}),Object.defineProperty(t,"evalFormulaFormatOrigin",{enumerable:!0,get:function(){return o.evalFormulaFormatOrigin}}),Object.defineProperty(t,"evalFormulaFormatIformat",{enumerable:!0,get:function(){return o.evalFormulaFormatIformat}}),Object.defineProperty(t,"evalFormulaFormatKnown",{enumerable:!0,get:function(){return o.evalFormulaFormatKnown}}),Object.defineProperty(t,"evalFormulaFormatInferred",{enumerable:!0,get:function(){return o.evalFormulaFormatInferred}}),Object.defineProperty(t,"evalFormulaFormatAggregate",{enumerable:!0,get:function(){return o.evalFormulaFormatAggregate}}),Object.defineProperty(t,"updateRequest",{enumerable:!0,get:function(){return o.updateRequest}}),Object.defineProperty(t,"runExperiment",{enumerable:!0,get:function(){return o.runExperiment}}),Object.defineProperty(t,"recalcServiceConfig",{enumerable:!0,get:function(){return o.recalcServiceConfig}}),Object.defineProperty(t,"workbookProps",{enumerable:!0,get:function(){return o.workbookProps}});var i=r(64338);Object.defineProperty(t,"createRecalcService",{enumerable:!0,get:function(){return i.createRecalcService}});var a=r(18665);Object.defineProperty(t,"RecalcServiceCreateMode",{enumerable:!0,get:function(){return a.RecalcServiceCreateMode}});var s=r(87481);Object.defineProperty(t,"localeInfoFromData",{enumerable:!0,get:function(){return s.localeInfoFromData}});var l=r(87481);Object.defineProperty(t,"cellValueToReadOper",{enumerable:!0,get:function(){return l.cellValueToReadOper}}),Object.defineProperty(t,"readOperToCellValue",{enumerable:!0,get:function(){return l.readOperToCellValue}});var u=r(42630);Object.defineProperty(t,"recalcServiceInsideInit",{enumerable:!0,get:function(){return u.recalcServiceInsideInit}});var c=r(98088);Object.defineProperty(t,"getTime",{enumerable:!0,get:function(){return c.getTimeImpl}});var d=r(7603);Object.defineProperty(t,"RecalcServiceDataTransformer",{enumerable:!0,get:function(){return d.RecalcServiceDataTransformer}}),t.internal=n.__importStar(r(74788))},10946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getExcelOnlineCalcNewPackagesNames=function(){return u};const n=r(52123),o=r(85882),i=r(43177),a=r(63114),s=r(14382),l=r(41257),u=`${n.PackageName}, ${o.PackageName},\n ${l.PackageName}, ${i.PackageName}, ${s.PackageName}, ${a.PackageName}`},76475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pair=t.ResultKind=t.arrayFill=t.stringEndsWith=t.stringStartsWith=t.isInteger=t.messageFromError=t.assertIndex=t.assertPositiveInteger=t.assertPositiveLength=t.assertFalse=t.assertTrue=t.assertNatural=t.assertNever=t.Pledge=t.JSF32=t.staticAssertIsOptional=t.staticAssertIs=t.staticAssertSame=t.staticAssertExtends=t.now=t.makeStringMap=t.isNone=t.isDefined=t.safeConcat=t.safePush=t.numEnumMap=t.numEnumArray=t.identity=t.fastAbs=t.fastMax=t.fastMin=void 0;var n=r(52123);Object.defineProperty(t,"fastMin",{enumerable:!0,get:function(){return n.fastMin}}),Object.defineProperty(t,"fastMax",{enumerable:!0,get:function(){return n.fastMax}}),Object.defineProperty(t,"fastAbs",{enumerable:!0,get:function(){return n.fastAbs}}),Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return n.identity}}),Object.defineProperty(t,"numEnumArray",{enumerable:!0,get:function(){return n.numEnumArray}}),Object.defineProperty(t,"numEnumMap",{enumerable:!0,get:function(){return n.numEnumMap}}),Object.defineProperty(t,"safePush",{enumerable:!0,get:function(){return n.safePush}}),Object.defineProperty(t,"safeConcat",{enumerable:!0,get:function(){return n.safeConcat}}),Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return n.isDefined}}),Object.defineProperty(t,"isNone",{enumerable:!0,get:function(){return n.isNone}}),Object.defineProperty(t,"makeStringMap",{enumerable:!0,get:function(){return n.makeStringMap}}),Object.defineProperty(t,"now",{enumerable:!0,get:function(){return n.now}}),Object.defineProperty(t,"staticAssertExtends",{enumerable:!0,get:function(){return n.staticAssertExtends}}),Object.defineProperty(t,"staticAssertSame",{enumerable:!0,get:function(){return n.staticAssertSame}}),Object.defineProperty(t,"staticAssertIs",{enumerable:!0,get:function(){return n.staticAssertIs}}),Object.defineProperty(t,"staticAssertIsOptional",{enumerable:!0,get:function(){return n.staticAssertIsOptional}}),Object.defineProperty(t,"JSF32",{enumerable:!0,get:function(){return n.JSF32}}),Object.defineProperty(t,"Pledge",{enumerable:!0,get:function(){return n.Pledge}}),Object.defineProperty(t,"assertNever",{enumerable:!0,get:function(){return n.assertNever}}),Object.defineProperty(t,"assertNatural",{enumerable:!0,get:function(){return n.assertNatural}}),Object.defineProperty(t,"assertTrue",{enumerable:!0,get:function(){return n.assertTrue}}),Object.defineProperty(t,"assertFalse",{enumerable:!0,get:function(){return n.assertFalse}}),Object.defineProperty(t,"assertPositiveLength",{enumerable:!0,get:function(){return n.assertPositiveLength}}),Object.defineProperty(t,"assertPositiveInteger",{enumerable:!0,get:function(){return n.assertPositiveInteger}}),Object.defineProperty(t,"assertIndex",{enumerable:!0,get:function(){return n.assertIndex}}),Object.defineProperty(t,"messageFromError",{enumerable:!0,get:function(){return n.messageFromError}}),Object.defineProperty(t,"isInteger",{enumerable:!0,get:function(){return n.isInteger}}),Object.defineProperty(t,"stringStartsWith",{enumerable:!0,get:function(){return n.stringStartsWith}}),Object.defineProperty(t,"stringEndsWith",{enumerable:!0,get:function(){return n.stringEndsWith}}),Object.defineProperty(t,"arrayFill",{enumerable:!0,get:function(){return n.arrayFill}}),Object.defineProperty(t,"ResultKind",{enumerable:!0,get:function(){return n.ResultKind}}),Object.defineProperty(t,"pair",{enumerable:!0,get:function(){return n.pair}})},64750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIsThousandsPositionCallback=t.createWorksheetFuncNameCallbacks=t.operatorIdToName=t.englishOperatorIdToName=t.englishErrorTypeToName=t.englishWorksheetFuncIdToName=t.getEnglishLocaleInfo=t.calcConfig=t.PictureDbnum=t.PictureColor=t.PictureSingle=t.PictureSpecial=t.Country=t.LCID=t.localeInfo=t.ulsLogger=t.NulLogger=t.TraceLevel=t.LogCategory=t.makeStringCompareCI=t.FeatureName=t.getCalcAbsUrl=t.isCalcInit=t.initCalc=void 0;var n=r(52123);Object.defineProperty(t,"initCalc",{enumerable:!0,get:function(){return n.initCalc}}),Object.defineProperty(t,"isCalcInit",{enumerable:!0,get:function(){return n.isCalcInit}}),Object.defineProperty(t,"getCalcAbsUrl",{enumerable:!0,get:function(){return n.getCalcAbsUrl}}),Object.defineProperty(t,"FeatureName",{enumerable:!0,get:function(){return n.FeatureName}}),Object.defineProperty(t,"makeStringCompareCI",{enumerable:!0,get:function(){return n.makeStringCompareCI}});var o=r(85882);Object.defineProperty(t,"LogCategory",{enumerable:!0,get:function(){return o.LogCategory}}),Object.defineProperty(t,"TraceLevel",{enumerable:!0,get:function(){return o.TraceLevel}}),Object.defineProperty(t,"NulLogger",{enumerable:!0,get:function(){return o.NulLogger}}),Object.defineProperty(t,"ulsLogger",{enumerable:!0,get:function(){return o.ulsLogger}}),Object.defineProperty(t,"localeInfo",{enumerable:!0,get:function(){return o.localeInfo}}),Object.defineProperty(t,"LCID",{enumerable:!0,get:function(){return o.LCID}}),Object.defineProperty(t,"Country",{enumerable:!0,get:function(){return o.Country}}),Object.defineProperty(t,"PictureSpecial",{enumerable:!0,get:function(){return o.PictureSpecial}}),Object.defineProperty(t,"PictureSingle",{enumerable:!0,get:function(){return o.PictureSingle}}),Object.defineProperty(t,"PictureColor",{enumerable:!0,get:function(){return o.PictureColor}}),Object.defineProperty(t,"PictureDbnum",{enumerable:!0,get:function(){return o.PictureDbnum}}),Object.defineProperty(t,"calcConfig",{enumerable:!0,get:function(){return o.calcConfig}}),Object.defineProperty(t,"getEnglishLocaleInfo",{enumerable:!0,get:function(){return o.getEnglishLocaleInfo}}),Object.defineProperty(t,"englishWorksheetFuncIdToName",{enumerable:!0,get:function(){return o.englishWorksheetFuncIdToName}}),Object.defineProperty(t,"englishErrorTypeToName",{enumerable:!0,get:function(){return o.englishErrorTypeToName}}),Object.defineProperty(t,"englishOperatorIdToName",{enumerable:!0,get:function(){return o.englishOperatorIdToName}}),Object.defineProperty(t,"operatorIdToName",{enumerable:!0,get:function(){return o.operatorIdToName}}),Object.defineProperty(t,"createWorksheetFuncNameCallbacks",{enumerable:!0,get:function(){return o.createWorksheetFuncNameCallbacks}}),Object.defineProperty(t,"createIsThousandsPositionCallback",{enumerable:!0,get:function(){return o.createIsThousandsPositionCallback}})},39464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xlDatepack=t.TimeGranularity=t.dateTime=t.tzUTC=t.tzData=t.Rounding=t.TimeDivision=void 0;var n=r(85882);Object.defineProperty(t,"TimeDivision",{enumerable:!0,get:function(){return n.TimeDivision}}),Object.defineProperty(t,"Rounding",{enumerable:!0,get:function(){return n.Rounding}}),Object.defineProperty(t,"tzData",{enumerable:!0,get:function(){return n.tzData}}),Object.defineProperty(t,"tzUTC",{enumerable:!0,get:function(){return n.tzUTC}}),Object.defineProperty(t,"dateTime",{enumerable:!0,get:function(){return n.dateTime}}),Object.defineProperty(t,"TimeGranularity",{enumerable:!0,get:function(){return n.TimeGranularity}}),Object.defineProperty(t,"xlDatepack",{enumerable:!0,get:function(){return n.xlDatepack}})},10458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contextNameNode=t.fieldRefNamePart=t.cellRefNamePart=t.identNamePart=t.nameNode=t.parenNode=t.wsfNode=t.operatorNode=t.lambdaNode=t.lambdaParam=t.paramNode=t.paramDefault=t.paramName=t.flattenLambdaArgs=t.letNode=t.letVar=t.indexedArg=t.flattenLetArgs=t.appNode=t.arrayNode=t.literalNode=t.formulaSpan=t.singleLineComment=t.multiLineComment=t.formula=t.cellRefBad=t.cellRefCol=t.cellRefRow=t.cellRefRange=t.cellRefSingle=t.cellRefError=t.pos=t.badQualifier=t.sheetRangeQualifier=t.identQualifier=t.sheetQualifier=t.documentQualifier=t.relativeQualifier=t.errorQualifier=t.BadType=t.StructRefKind=t.SpecialRefId=t.NamePartKind=t.NodeKind=t.CommentKind=t.PosKind=t.CellRefKind=t.QualifierKind=t.SyntaxFeature=t.RefStyle=void 0,t.localNameDeclAnnotation=t.localNameUseAnnotation=t.formulaRootAnnotation=t.appHeadNameAnnotation=t.AnnotationKind=t.headNamePart=t.flattenNameParts=t.badSequenceNode=t.badCharsNode=t.missingNode=t.identNode=t.varNode=t.badRef=t.missingRef=t.thisRowOpRef=t.commaOpRef=t.rangeOpRef=t.columnRef=t.specialRef=t.structRef=t.structRefNode=t.fieldRef=t.fieldRefNode=t.cellRefNode=void 0;var n=r(85882);Object.defineProperty(t,"RefStyle",{enumerable:!0,get:function(){return n.RefStyle}}),Object.defineProperty(t,"SyntaxFeature",{enumerable:!0,get:function(){return n.SyntaxFeature}}),Object.defineProperty(t,"QualifierKind",{enumerable:!0,get:function(){return n.QualifierKind}}),Object.defineProperty(t,"CellRefKind",{enumerable:!0,get:function(){return n.CellRefKind}}),Object.defineProperty(t,"PosKind",{enumerable:!0,get:function(){return n.PosKind}}),Object.defineProperty(t,"CommentKind",{enumerable:!0,get:function(){return n.CommentKind}}),Object.defineProperty(t,"NodeKind",{enumerable:!0,get:function(){return n.NodeKind}}),Object.defineProperty(t,"NamePartKind",{enumerable:!0,get:function(){return n.NamePartKind}}),Object.defineProperty(t,"SpecialRefId",{enumerable:!0,get:function(){return n.SpecialRefId}}),Object.defineProperty(t,"StructRefKind",{enumerable:!0,get:function(){return n.StructRefKind}}),Object.defineProperty(t,"BadType",{enumerable:!0,get:function(){return n.BadType}}),Object.defineProperty(t,"errorQualifier",{enumerable:!0,get:function(){return n.errorQualifier}}),Object.defineProperty(t,"relativeQualifier",{enumerable:!0,get:function(){return n.relativeQualifier}}),Object.defineProperty(t,"documentQualifier",{enumerable:!0,get:function(){return n.documentQualifier}}),Object.defineProperty(t,"sheetQualifier",{enumerable:!0,get:function(){return n.sheetQualifier}}),Object.defineProperty(t,"identQualifier",{enumerable:!0,get:function(){return n.identQualifier}}),Object.defineProperty(t,"sheetRangeQualifier",{enumerable:!0,get:function(){return n.sheetRangeQualifier}}),Object.defineProperty(t,"badQualifier",{enumerable:!0,get:function(){return n.badQualifier}}),Object.defineProperty(t,"pos",{enumerable:!0,get:function(){return n.pos}}),Object.defineProperty(t,"cellRefError",{enumerable:!0,get:function(){return n.cellRefError}}),Object.defineProperty(t,"cellRefSingle",{enumerable:!0,get:function(){return n.cellRefSingle}}),Object.defineProperty(t,"cellRefRange",{enumerable:!0,get:function(){return n.cellRefRange}}),Object.defineProperty(t,"cellRefRow",{enumerable:!0,get:function(){return n.cellRefRow}}),Object.defineProperty(t,"cellRefCol",{enumerable:!0,get:function(){return n.cellRefCol}}),Object.defineProperty(t,"cellRefBad",{enumerable:!0,get:function(){return n.cellRefBad}}),Object.defineProperty(t,"formula",{enumerable:!0,get:function(){return n.formula}}),Object.defineProperty(t,"multiLineComment",{enumerable:!0,get:function(){return n.multiLineComment}}),Object.defineProperty(t,"singleLineComment",{enumerable:!0,get:function(){return n.singleLineComment}}),Object.defineProperty(t,"formulaSpan",{enumerable:!0,get:function(){return n.formulaSpan}}),Object.defineProperty(t,"literalNode",{enumerable:!0,get:function(){return n.literalNode}}),Object.defineProperty(t,"arrayNode",{enumerable:!0,get:function(){return n.arrayNode}}),Object.defineProperty(t,"appNode",{enumerable:!0,get:function(){return n.appNode}}),Object.defineProperty(t,"flattenLetArgs",{enumerable:!0,get:function(){return n.flattenLetArgs}}),Object.defineProperty(t,"indexedArg",{enumerable:!0,get:function(){return n.indexedArg}}),Object.defineProperty(t,"letVar",{enumerable:!0,get:function(){return n.letVar}}),Object.defineProperty(t,"letNode",{enumerable:!0,get:function(){return n.letNode}}),Object.defineProperty(t,"flattenLambdaArgs",{enumerable:!0,get:function(){return n.flattenLambdaArgs}}),Object.defineProperty(t,"paramName",{enumerable:!0,get:function(){return n.paramName}}),Object.defineProperty(t,"paramDefault",{enumerable:!0,get:function(){return n.paramDefault}}),Object.defineProperty(t,"paramNode",{enumerable:!0,get:function(){return n.paramNode}}),Object.defineProperty(t,"lambdaParam",{enumerable:!0,get:function(){return n.lambdaParam}}),Object.defineProperty(t,"lambdaNode",{enumerable:!0,get:function(){return n.lambdaNode}}),Object.defineProperty(t,"operatorNode",{enumerable:!0,get:function(){return n.operatorNode}}),Object.defineProperty(t,"wsfNode",{enumerable:!0,get:function(){return n.wsfNode}}),Object.defineProperty(t,"parenNode",{enumerable:!0,get:function(){return n.parenNode}}),Object.defineProperty(t,"nameNode",{enumerable:!0,get:function(){return n.nameNode}}),Object.defineProperty(t,"identNamePart",{enumerable:!0,get:function(){return n.identNamePart}}),Object.defineProperty(t,"cellRefNamePart",{enumerable:!0,get:function(){return n.cellRefNamePart}}),Object.defineProperty(t,"fieldRefNamePart",{enumerable:!0,get:function(){return n.fieldRefNamePart}}),Object.defineProperty(t,"contextNameNode",{enumerable:!0,get:function(){return n.contextNameNode}}),Object.defineProperty(t,"cellRefNode",{enumerable:!0,get:function(){return n.cellRefNode}}),Object.defineProperty(t,"fieldRefNode",{enumerable:!0,get:function(){return n.fieldRefNode}}),Object.defineProperty(t,"fieldRef",{enumerable:!0,get:function(){return n.fieldRef}}),Object.defineProperty(t,"structRefNode",{enumerable:!0,get:function(){return n.structRefNode}}),Object.defineProperty(t,"structRef",{enumerable:!0,get:function(){return n.structRef}}),Object.defineProperty(t,"specialRef",{enumerable:!0,get:function(){return n.specialRef}}),Object.defineProperty(t,"columnRef",{enumerable:!0,get:function(){return n.columnRef}}),Object.defineProperty(t,"rangeOpRef",{enumerable:!0,get:function(){return n.rangeOpRef}}),Object.defineProperty(t,"commaOpRef",{enumerable:!0,get:function(){return n.commaOpRef}}),Object.defineProperty(t,"thisRowOpRef",{enumerable:!0,get:function(){return n.thisRowOpRef}}),Object.defineProperty(t,"missingRef",{enumerable:!0,get:function(){return n.missingRef}}),Object.defineProperty(t,"badRef",{enumerable:!0,get:function(){return n.badRef}}),Object.defineProperty(t,"varNode",{enumerable:!0,get:function(){return n.varNode}}),Object.defineProperty(t,"identNode",{enumerable:!0,get:function(){return n.identNode}}),Object.defineProperty(t,"missingNode",{enumerable:!0,get:function(){return n.missingNode}}),Object.defineProperty(t,"badCharsNode",{enumerable:!0,get:function(){return n.badCharsNode}}),Object.defineProperty(t,"badSequenceNode",{enumerable:!0,get:function(){return n.badSequenceNode}}),Object.defineProperty(t,"flattenNameParts",{enumerable:!0,get:function(){return n.flattenNameParts}}),Object.defineProperty(t,"headNamePart",{enumerable:!0,get:function(){return n.headNamePart}}),Object.defineProperty(t,"AnnotationKind",{enumerable:!0,get:function(){return n.AnnotationKind}}),Object.defineProperty(t,"appHeadNameAnnotation",{enumerable:!0,get:function(){return n.appHeadNameAnnotation}}),Object.defineProperty(t,"formulaRootAnnotation",{enumerable:!0,get:function(){return n.formulaRootAnnotation}}),Object.defineProperty(t,"localNameUseAnnotation",{enumerable:!0,get:function(){return n.localNameUseAnnotation}}),Object.defineProperty(t,"localNameDeclAnnotation",{enumerable:!0,get:function(){return n.localNameDeclAnnotation}})},34373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextFuncs=t.getWorksheetFunc=void 0;var n=r(14382);Object.defineProperty(t,"getWorksheetFunc",{enumerable:!0,get:function(){return n.getWorksheetFunc}}),Object.defineProperty(t,"nextFuncs",{enumerable:!0,get:function(){return n.nextFuncs}})},7880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageVersion=void 0,t.packageVersion="67.21.18"},98059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.syntaxSubpackage=t.runtimeSubpackage=t.recalcSubpackage=t.numfmtSubpackage=t.langSubpackage=t.commonSubpackage=t.ConsistentAnonymizer=t.isTypedChangeGateEnabled=t.getTypedFeatureGate=t.sheetName=t.ResettableLazy=t.asyncLazy=t.ResolvablePromiseWithLimitedSubscribers=t.FormulaAuthoringHelperSingletonGlobal=t.PluginSchedulerSingletonGlobal=t.x10=t.style=t.funcs=t.calc=t.runtime=t.numfmt=t.analyze=t.parse=t.date=t.math=t.config=t.util=t.signature=t.value=t.formula=t.location=t.common=t.packageVersion=void 0;const n=r(16533),o=r(19920),i=r(4276);var a=r(7880);Object.defineProperty(t,"packageVersion",{enumerable:!0,get:function(){return a.packageVersion}}),t.common=n.__importStar(r(76475)),t.location=n.__importStar(r(49797)),t.formula=n.__importStar(r(10458)),t.value=n.__importStar(r(27987)),t.signature=n.__importStar(r(30154)),t.util=n.__importStar(r(71008)),t.config=n.__importStar(r(64750)),t.math=n.__importStar(r(25774)),t.date=n.__importStar(r(39464)),t.parse=n.__importStar(r(18421)),t.analyze=n.__importStar(r(44880)),t.numfmt=n.__importStar(r(35377)),t.runtime=n.__importStar(r(10832)),t.calc=n.__importStar(r(15423)),t.funcs=n.__importStar(r(34373)),t.style=n.__importStar(r(33071)),t.x10=n.__importStar(r(89843)),t.PluginSchedulerSingletonGlobal=new i.PluginSchedulerSingleton,t.FormulaAuthoringHelperSingletonGlobal=new o.FormulaAuthoringHelperSingleton;var s=r(52123);Object.defineProperty(t,"ResolvablePromiseWithLimitedSubscribers",{enumerable:!0,get:function(){return s.ResolvablePromiseWithLimitedSubscribers}});var l=r(98088);Object.defineProperty(t,"asyncLazy",{enumerable:!0,get:function(){return l.asyncLazy}}),Object.defineProperty(t,"ResettableLazy",{enumerable:!0,get:function(){return l.ResettableLazy}});var u=r(18665);Object.defineProperty(t,"sheetName",{enumerable:!0,get:function(){return u.sheetName}});var c=r(52123);Object.defineProperty(t,"getTypedFeatureGate",{enumerable:!0,get:function(){return c.getTypedFeatureGate}});var d=r(52123);Object.defineProperty(t,"isTypedChangeGateEnabled",{enumerable:!0,get:function(){return d.isTypedChangeGateEnabled}});var p=r(62703);Object.defineProperty(t,"ConsistentAnonymizer",{enumerable:!0,get:function(){return p.ConsistentAnonymizer}}),t.commonSubpackage=n.__importStar(r(52123)),t.langSubpackage=n.__importStar(r(85882)),t.numfmtSubpackage=n.__importStar(r(43177)),t.recalcSubpackage=n.__importStar(r(63114)),t.runtimeSubpackage=n.__importStar(r(14382)),t.syntaxSubpackage=n.__importStar(r(41257))},49797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userDefinedFuncLoc=t.nameScope=t.nameLoc=t.documentScope=t.originCell=t.sheetGridCube=t.sheetGridRange=t.sheetGridCell=t.sheetRangeIndexes=t.allSheetsRange=t.gridRange=t.gridCell=t.sheetRange=t.sheetIndex=t.structRefColumnLoc=t.documentLoc=t.lexicalSourceUDF=t.lexicalSourceWSF=t.lexicalSourceName=t.lexicalSourceGrid=t.lexicalSourceRange=t.lexicalSourceCell=t.sheetCols=t.sheetRows=t.NameSource=t.LexicalKind=void 0;var n=r(85882);Object.defineProperty(t,"LexicalKind",{enumerable:!0,get:function(){return n.LexicalKind}}),Object.defineProperty(t,"NameSource",{enumerable:!0,get:function(){return n.NameSource}}),Object.defineProperty(t,"sheetRows",{enumerable:!0,get:function(){return n.sheetRows}}),Object.defineProperty(t,"sheetCols",{enumerable:!0,get:function(){return n.sheetCols}}),Object.defineProperty(t,"lexicalSourceCell",{enumerable:!0,get:function(){return n.lexicalSourceCell}}),Object.defineProperty(t,"lexicalSourceRange",{enumerable:!0,get:function(){return n.lexicalSourceRange}}),Object.defineProperty(t,"lexicalSourceGrid",{enumerable:!0,get:function(){return n.lexicalSourceGrid}}),Object.defineProperty(t,"lexicalSourceName",{enumerable:!0,get:function(){return n.lexicalSourceName}}),Object.defineProperty(t,"lexicalSourceWSF",{enumerable:!0,get:function(){return n.lexicalSourceWSF}}),Object.defineProperty(t,"lexicalSourceUDF",{enumerable:!0,get:function(){return n.lexicalSourceUDF}}),Object.defineProperty(t,"documentLoc",{enumerable:!0,get:function(){return n.documentLoc}}),Object.defineProperty(t,"structRefColumnLoc",{enumerable:!0,get:function(){return n.structRefColumnLoc}}),Object.defineProperty(t,"sheetIndex",{enumerable:!0,get:function(){return n.sheetIndex}}),Object.defineProperty(t,"sheetRange",{enumerable:!0,get:function(){return n.sheetRange}}),Object.defineProperty(t,"gridCell",{enumerable:!0,get:function(){return n.gridCell}}),Object.defineProperty(t,"gridRange",{enumerable:!0,get:function(){return n.gridRange}}),Object.defineProperty(t,"allSheetsRange",{enumerable:!0,get:function(){return n.allSheetsRange}}),Object.defineProperty(t,"sheetRangeIndexes",{enumerable:!0,get:function(){return n.sheetRangeIndexes}}),Object.defineProperty(t,"sheetGridCell",{enumerable:!0,get:function(){return n.sheetGridCell}}),Object.defineProperty(t,"sheetGridRange",{enumerable:!0,get:function(){return n.sheetGridRange}}),Object.defineProperty(t,"sheetGridCube",{enumerable:!0,get:function(){return n.sheetGridCube}}),Object.defineProperty(t,"originCell",{enumerable:!0,get:function(){return n.originCell}}),Object.defineProperty(t,"documentScope",{enumerable:!0,get:function(){return n.documentScope}}),Object.defineProperty(t,"nameLoc",{enumerable:!0,get:function(){return n.nameLoc}}),Object.defineProperty(t,"nameScope",{enumerable:!0,get:function(){return n.nameScope}}),Object.defineProperty(t,"userDefinedFuncLoc",{enumerable:!0,get:function(){return n.userDefinedFuncLoc}})},25774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatScientificLeft=t.xlMathpack=t.ieeeMathpack=t.numberComponents=void 0;var n=r(85882);Object.defineProperty(t,"numberComponents",{enumerable:!0,get:function(){return n.numberComponents}}),Object.defineProperty(t,"ieeeMathpack",{enumerable:!0,get:function(){return n.ieeeMathpack}}),Object.defineProperty(t,"xlMathpack",{enumerable:!0,get:function(){return n.xlMathpack}}),Object.defineProperty(t,"formatScientificLeft",{enumerable:!0,get:function(){return n.formatScientificLeft}})},35377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.englishXLSXKnownFormat=t.isKnownFormatDefined=t.getKnownFormat=t.evalFormatLocalsGrid=t.createFormatGlobals=t.NumberFormatSource=t.otherEdit=t.numberEdit=t.stringEdit=t.formulaEdit=t.EditKind=t.renderedValueToString=t.renderInfiniteWidth=t.memoizedRenderCallback=t.renderCallback=t.isHashesValue=t.hashesValue=t.renderedValue=t.formattedValue=t.formattedUnitFlexible=t.formattedUnitBlank=t.formattedUnitString=t.formattedUnitGeneral=t.FormattedUnitKind=t.Clip=t.GetTimeKind=t.Alignment=t.NamedColor=t.FormatCurrency=t.CultureTag=t.BidiDate=t.FormatValueType=t.formatLocIFormat=t.formatLocKnownFormat=t.FormatLocKind=t.previousFormatFailure=t.fractionOverflow=t.dateOverflow=t.aggregationError=t.tooWide=t.noFormatPart=t.notFormatString=t.notValueString=t.ReasonKind=t.FormatReasonKind=t.Calendar=t.NumberShape=t.DateOrder=t.CurrencyFormat=t.KnownFormat=void 0,t.toXLNumber=t.applyValueEdit=t.getValueEditOperKind=t.createNumberFormatter=t.shouldInstallFormat=t.getRibbonFormat=t.RibbonFormat=void 0;var n=r(85882);Object.defineProperty(t,"KnownFormat",{enumerable:!0,get:function(){return n.KnownFormat}}),Object.defineProperty(t,"CurrencyFormat",{enumerable:!0,get:function(){return n.CurrencyFormat}}),Object.defineProperty(t,"DateOrder",{enumerable:!0,get:function(){return n.DateOrder}}),Object.defineProperty(t,"NumberShape",{enumerable:!0,get:function(){return n.NumberShape}}),Object.defineProperty(t,"Calendar",{enumerable:!0,get:function(){return n.Calendar}});var o=r(43177);Object.defineProperty(t,"FormatReasonKind",{enumerable:!0,get:function(){return o.FormatReasonKind}}),Object.defineProperty(t,"ReasonKind",{enumerable:!0,get:function(){return o.ReasonKind}}),Object.defineProperty(t,"notValueString",{enumerable:!0,get:function(){return o.notValueString}}),Object.defineProperty(t,"notFormatString",{enumerable:!0,get:function(){return o.notFormatString}}),Object.defineProperty(t,"noFormatPart",{enumerable:!0,get:function(){return o.noFormatPart}}),Object.defineProperty(t,"tooWide",{enumerable:!0,get:function(){return o.tooWide}}),Object.defineProperty(t,"aggregationError",{enumerable:!0,get:function(){return o.aggregationError}}),Object.defineProperty(t,"dateOverflow",{enumerable:!0,get:function(){return o.dateOverflow}}),Object.defineProperty(t,"fractionOverflow",{enumerable:!0,get:function(){return o.fractionOverflow}}),Object.defineProperty(t,"previousFormatFailure",{enumerable:!0,get:function(){return o.previousFormatFailure}}),Object.defineProperty(t,"FormatLocKind",{enumerable:!0,get:function(){return o.FormatLocKind}}),Object.defineProperty(t,"formatLocKnownFormat",{enumerable:!0,get:function(){return o.formatLocKnownFormat}}),Object.defineProperty(t,"formatLocIFormat",{enumerable:!0,get:function(){return o.formatLocIFormat}}),Object.defineProperty(t,"FormatValueType",{enumerable:!0,get:function(){return o.FormatValueType}}),Object.defineProperty(t,"BidiDate",{enumerable:!0,get:function(){return o.BidiDate}}),Object.defineProperty(t,"CultureTag",{enumerable:!0,get:function(){return o.CultureTag}}),Object.defineProperty(t,"FormatCurrency",{enumerable:!0,get:function(){return o.FormatCurrency}}),Object.defineProperty(t,"NamedColor",{enumerable:!0,get:function(){return o.NamedColor}}),Object.defineProperty(t,"Alignment",{enumerable:!0,get:function(){return o.Alignment}}),Object.defineProperty(t,"GetTimeKind",{enumerable:!0,get:function(){return o.GetTimeKind}}),Object.defineProperty(t,"Clip",{enumerable:!0,get:function(){return o.Clip}}),Object.defineProperty(t,"FormattedUnitKind",{enumerable:!0,get:function(){return o.FormattedUnitKind}}),Object.defineProperty(t,"formattedUnitGeneral",{enumerable:!0,get:function(){return o.formattedUnitGeneral}}),Object.defineProperty(t,"formattedUnitString",{enumerable:!0,get:function(){return o.formattedUnitString}}),Object.defineProperty(t,"formattedUnitBlank",{enumerable:!0,get:function(){return o.formattedUnitBlank}}),Object.defineProperty(t,"formattedUnitFlexible",{enumerable:!0,get:function(){return o.formattedUnitFlexible}}),Object.defineProperty(t,"formattedValue",{enumerable:!0,get:function(){return o.formattedValue}}),Object.defineProperty(t,"renderedValue",{enumerable:!0,get:function(){return o.renderedValue}}),Object.defineProperty(t,"hashesValue",{enumerable:!0,get:function(){return o.hashesValue}}),Object.defineProperty(t,"isHashesValue",{enumerable:!0,get:function(){return o.isHashesValue}}),Object.defineProperty(t,"renderCallback",{enumerable:!0,get:function(){return o.renderCallback}}),Object.defineProperty(t,"memoizedRenderCallback",{enumerable:!0,get:function(){return o.memoizedRenderCallback}}),Object.defineProperty(t,"renderInfiniteWidth",{enumerable:!0,get:function(){return o.renderInfiniteWidth}}),Object.defineProperty(t,"renderedValueToString",{enumerable:!0,get:function(){return o.renderedValueToString}}),Object.defineProperty(t,"EditKind",{enumerable:!0,get:function(){return o.EditKind}}),Object.defineProperty(t,"formulaEdit",{enumerable:!0,get:function(){return o.formulaEdit}}),Object.defineProperty(t,"stringEdit",{enumerable:!0,get:function(){return o.stringEdit}}),Object.defineProperty(t,"numberEdit",{enumerable:!0,get:function(){return o.numberEdit}}),Object.defineProperty(t,"otherEdit",{enumerable:!0,get:function(){return o.otherEdit}}),Object.defineProperty(t,"NumberFormatSource",{enumerable:!0,get:function(){return o.NumberFormatSource}}),Object.defineProperty(t,"createFormatGlobals",{enumerable:!0,get:function(){return o.createFormatGlobals}}),Object.defineProperty(t,"evalFormatLocalsGrid",{enumerable:!0,get:function(){return o.evalFormatLocalsGrid}}),Object.defineProperty(t,"getKnownFormat",{enumerable:!0,get:function(){return o.getKnownFormat}}),Object.defineProperty(t,"isKnownFormatDefined",{enumerable:!0,get:function(){return o.isKnownFormatDefined}}),Object.defineProperty(t,"englishXLSXKnownFormat",{enumerable:!0,get:function(){return o.englishXLSXKnownFormat}}),Object.defineProperty(t,"RibbonFormat",{enumerable:!0,get:function(){return o.RibbonFormat}}),Object.defineProperty(t,"getRibbonFormat",{enumerable:!0,get:function(){return o.getRibbonFormat}}),Object.defineProperty(t,"shouldInstallFormat",{enumerable:!0,get:function(){return o.shouldInstallFormat}}),Object.defineProperty(t,"createNumberFormatter",{enumerable:!0,get:function(){return o.createNumberFormatter}}),Object.defineProperty(t,"getValueEditOperKind",{enumerable:!0,get:function(){return o.getValueEditOperKind}}),Object.defineProperty(t,"applyValueEdit",{enumerable:!0,get:function(){return o.applyValueEdit}}),Object.defineProperty(t,"toXLNumber",{enumerable:!0,get:function(){return o.toXLNumber}})},18421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseResultHelper=t.createParser=t.notFormulaString=t.parseLocals=t.ReasonKind=t.createParseGlobals=void 0;var n=r(41257);Object.defineProperty(t,"createParseGlobals",{enumerable:!0,get:function(){return n.createParseGlobals}}),Object.defineProperty(t,"ReasonKind",{enumerable:!0,get:function(){return n.ReasonKind}}),Object.defineProperty(t,"parseLocals",{enumerable:!0,get:function(){return n.parseLocals}}),Object.defineProperty(t,"notFormulaString",{enumerable:!0,get:function(){return n.notFormulaString}}),Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return n.createParser}}),Object.defineProperty(t,"parseResultHelper",{enumerable:!0,get:function(){return n.parseResultHelper}})},59691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMachineCall=t.machineCall=t.MachineCallKind=t.readOperType=t.singleReadOperType=t.DerefOperKind=t.VoidMachine=t.AllMachine=t.MachineRuntime=t.MachineCycle=t.nextOnSuccessReceiver=t.callMachineTransition=t.breakTransition=t.nextTransition=t.TransitionKind=void 0;var n=r(52123);Object.defineProperty(t,"TransitionKind",{enumerable:!0,get:function(){return n.TransitionKind}}),Object.defineProperty(t,"nextTransition",{enumerable:!0,get:function(){return n.nextTransition}}),Object.defineProperty(t,"breakTransition",{enumerable:!0,get:function(){return n.breakTransition}}),Object.defineProperty(t,"callMachineTransition",{enumerable:!0,get:function(){return n.callMachineTransition}}),Object.defineProperty(t,"nextOnSuccessReceiver",{enumerable:!0,get:function(){return n.nextOnSuccessReceiver}}),Object.defineProperty(t,"MachineCycle",{enumerable:!0,get:function(){return n.MachineCycle}}),Object.defineProperty(t,"MachineRuntime",{enumerable:!0,get:function(){return n.MachineRuntime}}),Object.defineProperty(t,"AllMachine",{enumerable:!0,get:function(){return n.AllMachine}}),Object.defineProperty(t,"VoidMachine",{enumerable:!0,get:function(){return n.VoidMachine}});var o=r(14382);Object.defineProperty(t,"DerefOperKind",{enumerable:!0,get:function(){return o.DerefOperKind}}),Object.defineProperty(t,"singleReadOperType",{enumerable:!0,get:function(){return o.singleReadOperType}}),Object.defineProperty(t,"readOperType",{enumerable:!0,get:function(){return o.readOperType}}),Object.defineProperty(t,"MachineCallKind",{enumerable:!0,get:function(){return o.MachineCallKind}}),Object.defineProperty(t,"machineCall",{enumerable:!0,get:function(){return o.machineCall}}),Object.defineProperty(t,"isMachineCall",{enumerable:!0,get:function(){return o.isMachineCall}})},10832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEvaluator=t.createCompiler=t.RecordOper=t.LambdaOper=t.LimitKind=t.limitExceeded=t.createCompileGlobals=t.illFormedFormula=t.compileLocalsName=t.compileLocalsGrid=t.evalLocals=t.evalGlobals=t.previousNameFailure=t.previousFailure=t.breaked=t.paused=t.cellCycle=t.nameCycle=t.stopped=t.userDefinedFunc=t.cellFormula=t.cellWellFormedFormula=t.pendingValue=t.finalValue=t.runtimePositionFirstOrderFunc=t.runtimePositionFormulaRoot=t.runtimePositionEtaLambdaBody=t.runtimePositionLambdaParam=t.runtimePositionLambdaRoot=t.runtimePositionLetVal=t.RuntimePositionKind=t.StepAction=t.Interrupt=t.CellKind=t.interval=t.ReasonKind=t.extension=void 0;const n=r(16533);t.extension=n.__importStar(r(59691));var o=r(14382);Object.defineProperty(t,"ReasonKind",{enumerable:!0,get:function(){return o.ReasonKind}}),Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return o.interval}}),Object.defineProperty(t,"CellKind",{enumerable:!0,get:function(){return o.CellKind}}),Object.defineProperty(t,"Interrupt",{enumerable:!0,get:function(){return o.Interrupt}}),Object.defineProperty(t,"StepAction",{enumerable:!0,get:function(){return o.StepAction}}),Object.defineProperty(t,"RuntimePositionKind",{enumerable:!0,get:function(){return o.RuntimePositionKind}}),Object.defineProperty(t,"runtimePositionLetVal",{enumerable:!0,get:function(){return o.runtimePositionLetVal}}),Object.defineProperty(t,"runtimePositionLambdaRoot",{enumerable:!0,get:function(){return o.runtimePositionLambdaRoot}}),Object.defineProperty(t,"runtimePositionLambdaParam",{enumerable:!0,get:function(){return o.runtimePositionLambdaParam}}),Object.defineProperty(t,"runtimePositionEtaLambdaBody",{enumerable:!0,get:function(){return o.runtimePositionEtaLambdaBody}}),Object.defineProperty(t,"runtimePositionFormulaRoot",{enumerable:!0,get:function(){return o.runtimePositionFormulaRoot}}),Object.defineProperty(t,"runtimePositionFirstOrderFunc",{enumerable:!0,get:function(){return o.runtimePositionFirstOrderFunc}}),Object.defineProperty(t,"finalValue",{enumerable:!0,get:function(){return o.finalValue}}),Object.defineProperty(t,"pendingValue",{enumerable:!0,get:function(){return o.pendingValue}}),Object.defineProperty(t,"cellWellFormedFormula",{enumerable:!0,get:function(){return o.cellWellFormedFormula}}),Object.defineProperty(t,"cellFormula",{enumerable:!0,get:function(){return o.cellFormula}}),Object.defineProperty(t,"userDefinedFunc",{enumerable:!0,get:function(){return o.userDefinedFunc}}),Object.defineProperty(t,"stopped",{enumerable:!0,get:function(){return o.stopped}}),Object.defineProperty(t,"nameCycle",{enumerable:!0,get:function(){return o.nameCycle}}),Object.defineProperty(t,"cellCycle",{enumerable:!0,get:function(){return o.cellCycle}}),Object.defineProperty(t,"paused",{enumerable:!0,get:function(){return o.paused}}),Object.defineProperty(t,"breaked",{enumerable:!0,get:function(){return o.breaked}}),Object.defineProperty(t,"previousFailure",{enumerable:!0,get:function(){return o.previousFailure}}),Object.defineProperty(t,"previousNameFailure",{enumerable:!0,get:function(){return o.previousNameFailure}}),Object.defineProperty(t,"evalGlobals",{enumerable:!0,get:function(){return o.evalGlobals}}),Object.defineProperty(t,"evalLocals",{enumerable:!0,get:function(){return o.evalLocals}}),Object.defineProperty(t,"compileLocalsGrid",{enumerable:!0,get:function(){return o.compileLocalsGrid}}),Object.defineProperty(t,"compileLocalsName",{enumerable:!0,get:function(){return o.compileLocalsName}}),Object.defineProperty(t,"illFormedFormula",{enumerable:!0,get:function(){return o.illFormedFormula}}),Object.defineProperty(t,"createCompileGlobals",{enumerable:!0,get:function(){return o.createCompileGlobals}}),Object.defineProperty(t,"limitExceeded",{enumerable:!0,get:function(){return o.limitExceeded}}),Object.defineProperty(t,"LimitKind",{enumerable:!0,get:function(){return o.LimitKind}}),Object.defineProperty(t,"LambdaOper",{enumerable:!0,get:function(){return o.LambdaOper}}),Object.defineProperty(t,"RecordOper",{enumerable:!0,get:function(){return o.RecordOper}}),Object.defineProperty(t,"createCompiler",{enumerable:!0,get:function(){return o.createCompiler}}),Object.defineProperty(t,"createEvaluator",{enumerable:!0,get:function(){return o.createEvaluator}})},30154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWorksheetFuncType=t.getOperatorType=t.unknownFunctionType=t.functionType=t.SpecialPrecs=t.WorksheetFuncId=t.OperatorId=t.FunctionFlags=t.SignatureType=void 0;var n=r(85882);Object.defineProperty(t,"SignatureType",{enumerable:!0,get:function(){return n.SignatureType}}),Object.defineProperty(t,"FunctionFlags",{enumerable:!0,get:function(){return n.FunctionFlags}}),Object.defineProperty(t,"OperatorId",{enumerable:!0,get:function(){return n.OperatorId}}),Object.defineProperty(t,"WorksheetFuncId",{enumerable:!0,get:function(){return n.WorksheetFuncId}}),Object.defineProperty(t,"SpecialPrecs",{enumerable:!0,get:function(){return n.SpecialPrecs}}),Object.defineProperty(t,"functionType",{enumerable:!0,get:function(){return n.functionType}}),Object.defineProperty(t,"unknownFunctionType",{enumerable:!0,get:function(){return n.unknownFunctionType}}),Object.defineProperty(t,"getOperatorType",{enumerable:!0,get:function(){return n.getOperatorType}}),Object.defineProperty(t,"getWorksheetFuncType",{enumerable:!0,get:function(){return n.getWorksheetFuncType}})},33071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VerticalAlignment=t.HorizontalAlignment=t.BorderLineType=t.PatternType=t.FillKind=t.FontVerticalAlignment=t.FontUnderline=void 0;var n=r(85882);Object.defineProperty(t,"FontUnderline",{enumerable:!0,get:function(){return n.FontUnderline}}),Object.defineProperty(t,"FontVerticalAlignment",{enumerable:!0,get:function(){return n.FontVerticalAlignment}}),Object.defineProperty(t,"FillKind",{enumerable:!0,get:function(){return n.FillKind}}),Object.defineProperty(t,"PatternType",{enumerable:!0,get:function(){return n.PatternType}}),Object.defineProperty(t,"BorderLineType",{enumerable:!0,get:function(){return n.BorderLineType}}),Object.defineProperty(t,"HorizontalAlignment",{enumerable:!0,get:function(){return n.HorizontalAlignment}}),Object.defineProperty(t,"VerticalAlignment",{enumerable:!0,get:function(){return n.VerticalAlignment}})},71008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWriteOper=t.isPrimitiveOper=t.isRichOper=t.isBlankOper=t.isMissingOper=t.isArrayOper=t.isRangeOper=t.isErrorOper=t.isBooleanOper=t.isStringOper=t.isNumberOper=t.isValidArgsLength=t.getArgType=t.getArguments=t.gridCellRange=t.sheetGridRangeAnchor=t.gridRangeAnchor=t.isWSFNode=t.isOperatorNode=t.isUnqualifiedNameNode=t.isWellFormed=t.isSheetGridRangeEqual=t.isSheetGridCellEqual=t.isGridRangeEqual=t.isGridCellEqual=t.isNameScopeEqual=t.isSheetIndexEqual=t.isDocumentLocEqual=t.gridRangeSize=t.gridRangeExcept=t.gridRangeCompare=t.gridCellImplicitIsect=t.gridRangeIsects=t.gridRangeIsect=t.gridRangesJoin=t.gridRangeJoinOpt=t.gridRangeJoin=t.forEachTileInRange=t.forEachCellInRange=t.isSheetGridCell=t.isGridCell=t.isSheetGridRange=t.isSheetIndex=t.partialArray=t.javaScriptError=t.isSuccess=t.successUndefined=t.failure=t.success=t.ResultKind=void 0,t.identityVisitor=t.IdentityVisitor=t.visitCellRef=t.visitQualifier=t.visitAppHeadNode=t.visitWSFNode=t.visitOperatorNode=t.visitFormulaNode=t.resolveGridRef=t.createResolver=t.resolvedDottedName=t.resolvedNever=t.resolvedStructRef=t.resolvedWorksheetFunc=t.resolvedLocalName=t.resolvedUserDefinedFunc=t.resolvedCellRef=t.resolvedName=t.ResolvedKind=t.emptyIntersection=t.InvalidStructRefReason=t.invalidStructRef=t.InvalidCellRefReason=t.invalidCellRef=t.InvalidQualifierReason=t.invalidQualifier=t.noOriginSheet=t.ResolveReasonKind=t.resolveLocalsGrid=t.wrapPosition=t.parseQualifier=t.parseGridRangeA1=t.parseGridCellA1=t.formatName=t.formatGridRange=t.formatQualifier=t.formatRangePos=t.formatCellPos=t.formatColRange=t.formatRowRange=t.formatCol=t.formatRow=t.resolvePosition=t.columnName=t.createFailureErrorClass=t.internal=t.unavailable=t.notImplemented=t.ReasonKind=t.isReadOperEqual=void 0,t.isUnbracketedFieldName=t.sheetRangeToSheetIndex=t.shouldFieldRefBeBracketed=t.relabelFormula=t.createPrinter=t.printLocalsName=t.printLocalsGrid=t.createSimplePrintGlobals=t.buildAnnotations=t.reducePledge=t.reduceBottomUp=t.composeVisitor=t.ComposeVisitor=t.binaryVisitor=t.BinaryVisitor=t.DelegatingVisitor=t.voidVisitor=t.constVisitor=t.ConstVisitor=void 0;var n=r(52123);Object.defineProperty(t,"ResultKind",{enumerable:!0,get:function(){return n.ResultKind}}),Object.defineProperty(t,"success",{enumerable:!0,get:function(){return n.success}}),Object.defineProperty(t,"failure",{enumerable:!0,get:function(){return n.failure}}),Object.defineProperty(t,"successUndefined",{enumerable:!0,get:function(){return n.successUndefined}}),Object.defineProperty(t,"isSuccess",{enumerable:!0,get:function(){return n.isSuccess}}),Object.defineProperty(t,"javaScriptError",{enumerable:!0,get:function(){return n.javaScriptError}}),Object.defineProperty(t,"partialArray",{enumerable:!0,get:function(){return n.partialArray}});var o=r(85882);Object.defineProperty(t,"isSheetIndex",{enumerable:!0,get:function(){return o.isSheetIndex}}),Object.defineProperty(t,"isSheetGridRange",{enumerable:!0,get:function(){return o.isSheetGridRange}}),Object.defineProperty(t,"isGridCell",{enumerable:!0,get:function(){return o.isGridCell}}),Object.defineProperty(t,"isSheetGridCell",{enumerable:!0,get:function(){return o.isSheetGridCell}}),Object.defineProperty(t,"forEachCellInRange",{enumerable:!0,get:function(){return o.forEachCellInRange}}),Object.defineProperty(t,"forEachTileInRange",{enumerable:!0,get:function(){return o.forEachTileInRange}}),Object.defineProperty(t,"gridRangeJoin",{enumerable:!0,get:function(){return o.gridRangeJoin}}),Object.defineProperty(t,"gridRangeJoinOpt",{enumerable:!0,get:function(){return o.gridRangeJoinOpt}}),Object.defineProperty(t,"gridRangesJoin",{enumerable:!0,get:function(){return o.gridRangesJoin}}),Object.defineProperty(t,"gridRangeIsect",{enumerable:!0,get:function(){return o.gridRangeIsect}}),Object.defineProperty(t,"gridRangeIsects",{enumerable:!0,get:function(){return o.gridRangeIsects}}),Object.defineProperty(t,"gridCellImplicitIsect",{enumerable:!0,get:function(){return o.gridCellImplicitIsect}}),Object.defineProperty(t,"gridRangeCompare",{enumerable:!0,get:function(){return o.gridRangeCompare}}),Object.defineProperty(t,"gridRangeExcept",{enumerable:!0,get:function(){return o.gridRangeExcept}}),Object.defineProperty(t,"gridRangeSize",{enumerable:!0,get:function(){return o.gridRangeSize}}),Object.defineProperty(t,"isDocumentLocEqual",{enumerable:!0,get:function(){return o.isDocumentLocEqual}}),Object.defineProperty(t,"isSheetIndexEqual",{enumerable:!0,get:function(){return o.isSheetIndexEqual}}),Object.defineProperty(t,"isNameScopeEqual",{enumerable:!0,get:function(){return o.isNameScopeEqual}}),Object.defineProperty(t,"isGridCellEqual",{enumerable:!0,get:function(){return o.isGridCellEqual}}),Object.defineProperty(t,"isGridRangeEqual",{enumerable:!0,get:function(){return o.isGridRangeEqual}}),Object.defineProperty(t,"isSheetGridCellEqual",{enumerable:!0,get:function(){return o.isSheetGridCellEqual}}),Object.defineProperty(t,"isSheetGridRangeEqual",{enumerable:!0,get:function(){return o.isSheetGridRangeEqual}}),Object.defineProperty(t,"isWellFormed",{enumerable:!0,get:function(){return o.isWellFormed}}),Object.defineProperty(t,"isUnqualifiedNameNode",{enumerable:!0,get:function(){return o.isUnqualifiedNameNode}}),Object.defineProperty(t,"isOperatorNode",{enumerable:!0,get:function(){return o.isOperatorNode}}),Object.defineProperty(t,"isWSFNode",{enumerable:!0,get:function(){return o.isWSFNode}}),Object.defineProperty(t,"gridRangeAnchor",{enumerable:!0,get:function(){return o.gridRangeAnchor}}),Object.defineProperty(t,"sheetGridRangeAnchor",{enumerable:!0,get:function(){return o.sheetGridRangeAnchor}}),Object.defineProperty(t,"gridCellRange",{enumerable:!0,get:function(){return o.gridCellRange}}),Object.defineProperty(t,"getArguments",{enumerable:!0,get:function(){return o.getArguments}}),Object.defineProperty(t,"getArgType",{enumerable:!0,get:function(){return o.getArgType}}),Object.defineProperty(t,"isValidArgsLength",{enumerable:!0,get:function(){return o.isValidArgsLength}}),Object.defineProperty(t,"isNumberOper",{enumerable:!0,get:function(){return o.isNumberOper}}),Object.defineProperty(t,"isStringOper",{enumerable:!0,get:function(){return o.isStringOper}}),Object.defineProperty(t,"isBooleanOper",{enumerable:!0,get:function(){return o.isBooleanOper}}),Object.defineProperty(t,"isErrorOper",{enumerable:!0,get:function(){return o.isErrorOper}}),Object.defineProperty(t,"isRangeOper",{enumerable:!0,get:function(){return o.isRangeOper}}),Object.defineProperty(t,"isArrayOper",{enumerable:!0,get:function(){return o.isArrayOper}}),Object.defineProperty(t,"isMissingOper",{enumerable:!0,get:function(){return o.isMissingOper}}),Object.defineProperty(t,"isBlankOper",{enumerable:!0,get:function(){return o.isBlankOper}}),Object.defineProperty(t,"isRichOper",{enumerable:!0,get:function(){return o.isRichOper}}),Object.defineProperty(t,"isPrimitiveOper",{enumerable:!0,get:function(){return o.isPrimitiveOper}}),Object.defineProperty(t,"isWriteOper",{enumerable:!0,get:function(){return o.isWriteOper}}),Object.defineProperty(t,"isReadOperEqual",{enumerable:!0,get:function(){return o.isReadOperEqual}}),Object.defineProperty(t,"ReasonKind",{enumerable:!0,get:function(){return o.ReasonKind}}),Object.defineProperty(t,"notImplemented",{enumerable:!0,get:function(){return o.notImplemented}}),Object.defineProperty(t,"unavailable",{enumerable:!0,get:function(){return o.unavailable}}),Object.defineProperty(t,"internal",{enumerable:!0,get:function(){return o.internal}}),Object.defineProperty(t,"createFailureErrorClass",{enumerable:!0,get:function(){return o.createFailureErrorClass}}),Object.defineProperty(t,"columnName",{enumerable:!0,get:function(){return o.columnName}}),Object.defineProperty(t,"resolvePosition",{enumerable:!0,get:function(){return o.resolvePosition}}),Object.defineProperty(t,"formatRow",{enumerable:!0,get:function(){return o.formatRow}}),Object.defineProperty(t,"formatCol",{enumerable:!0,get:function(){return o.formatCol}}),Object.defineProperty(t,"formatRowRange",{enumerable:!0,get:function(){return o.formatRowRange}}),Object.defineProperty(t,"formatColRange",{enumerable:!0,get:function(){return o.formatColRange}}),Object.defineProperty(t,"formatCellPos",{enumerable:!0,get:function(){return o.formatCellPos}}),Object.defineProperty(t,"formatRangePos",{enumerable:!0,get:function(){return o.formatRangePos}}),Object.defineProperty(t,"formatQualifier",{enumerable:!0,get:function(){return o.formatQualifier}}),Object.defineProperty(t,"formatGridRange",{enumerable:!0,get:function(){return o.formatGridRange}}),Object.defineProperty(t,"formatName",{enumerable:!0,get:function(){return o.formatName}}),Object.defineProperty(t,"parseGridCellA1",{enumerable:!0,get:function(){return o.parseGridCellA1}}),Object.defineProperty(t,"parseGridRangeA1",{enumerable:!0,get:function(){return o.parseGridRangeA1}}),Object.defineProperty(t,"parseQualifier",{enumerable:!0,get:function(){return o.parseQualifier}}),Object.defineProperty(t,"wrapPosition",{enumerable:!0,get:function(){return o.wrapPosition}}),Object.defineProperty(t,"resolveLocalsGrid",{enumerable:!0,get:function(){return o.resolveLocalsGrid}}),Object.defineProperty(t,"ResolveReasonKind",{enumerable:!0,get:function(){return o.ResolveReasonKind}}),Object.defineProperty(t,"noOriginSheet",{enumerable:!0,get:function(){return o.noOriginSheet}}),Object.defineProperty(t,"invalidQualifier",{enumerable:!0,get:function(){return o.invalidQualifier}}),Object.defineProperty(t,"InvalidQualifierReason",{enumerable:!0,get:function(){return o.InvalidQualifierReason}}),Object.defineProperty(t,"invalidCellRef",{enumerable:!0,get:function(){return o.invalidCellRef}}),Object.defineProperty(t,"InvalidCellRefReason",{enumerable:!0,get:function(){return o.InvalidCellRefReason}}),Object.defineProperty(t,"invalidStructRef",{enumerable:!0,get:function(){return o.invalidStructRef}}),Object.defineProperty(t,"InvalidStructRefReason",{enumerable:!0,get:function(){return o.InvalidStructRefReason}}),Object.defineProperty(t,"emptyIntersection",{enumerable:!0,get:function(){return o.emptyIntersection}}),Object.defineProperty(t,"ResolvedKind",{enumerable:!0,get:function(){return o.ResolvedKind}}),Object.defineProperty(t,"resolvedName",{enumerable:!0,get:function(){return o.resolvedName}}),Object.defineProperty(t,"resolvedCellRef",{enumerable:!0,get:function(){return o.resolvedCellRef}}),Object.defineProperty(t,"resolvedUserDefinedFunc",{enumerable:!0,get:function(){return o.resolvedUserDefinedFunc}}),Object.defineProperty(t,"resolvedLocalName",{enumerable:!0,get:function(){return o.resolvedLocalName}}),Object.defineProperty(t,"resolvedWorksheetFunc",{enumerable:!0,get:function(){return o.resolvedWorksheetFunc}}),Object.defineProperty(t,"resolvedStructRef",{enumerable:!0,get:function(){return o.resolvedStructRef}}),Object.defineProperty(t,"resolvedNever",{enumerable:!0,get:function(){return o.resolvedNever}}),Object.defineProperty(t,"resolvedDottedName",{enumerable:!0,get:function(){return o.resolvedDottedName}}),Object.defineProperty(t,"createResolver",{enumerable:!0,get:function(){return o.createResolver}}),Object.defineProperty(t,"resolveGridRef",{enumerable:!0,get:function(){return o.resolveGridRef}}),Object.defineProperty(t,"visitFormulaNode",{enumerable:!0,get:function(){return o.visitFormulaNode}}),Object.defineProperty(t,"visitOperatorNode",{enumerable:!0,get:function(){return o.visitOperatorNode}}),Object.defineProperty(t,"visitWSFNode",{enumerable:!0,get:function(){return o.visitWSFNode}}),Object.defineProperty(t,"visitAppHeadNode",{enumerable:!0,get:function(){return o.visitAppHeadNode}}),Object.defineProperty(t,"visitQualifier",{enumerable:!0,get:function(){return o.visitQualifier}}),Object.defineProperty(t,"visitCellRef",{enumerable:!0,get:function(){return o.visitCellRef}}),Object.defineProperty(t,"IdentityVisitor",{enumerable:!0,get:function(){return o.IdentityVisitor}}),Object.defineProperty(t,"identityVisitor",{enumerable:!0,get:function(){return o.identityVisitor}}),Object.defineProperty(t,"ConstVisitor",{enumerable:!0,get:function(){return o.ConstVisitor}}),Object.defineProperty(t,"constVisitor",{enumerable:!0,get:function(){return o.constVisitor}}),Object.defineProperty(t,"voidVisitor",{enumerable:!0,get:function(){return o.voidVisitor}}),Object.defineProperty(t,"DelegatingVisitor",{enumerable:!0,get:function(){return o.DelegatingVisitor}}),Object.defineProperty(t,"BinaryVisitor",{enumerable:!0,get:function(){return o.BinaryVisitor}}),Object.defineProperty(t,"binaryVisitor",{enumerable:!0,get:function(){return o.binaryVisitor}}),Object.defineProperty(t,"ComposeVisitor",{enumerable:!0,get:function(){return o.ComposeVisitor}}),Object.defineProperty(t,"composeVisitor",{enumerable:!0,get:function(){return o.composeVisitor}}),Object.defineProperty(t,"reduceBottomUp",{enumerable:!0,get:function(){return o.reduceBottomUp}}),Object.defineProperty(t,"reducePledge",{enumerable:!0,get:function(){return o.reducePledge}}),Object.defineProperty(t,"buildAnnotations",{enumerable:!0,get:function(){return o.buildAnnotations}}),Object.defineProperty(t,"createSimplePrintGlobals",{enumerable:!0,get:function(){return o.createSimplePrintGlobals}}),Object.defineProperty(t,"printLocalsGrid",{enumerable:!0,get:function(){return o.printLocalsGrid}}),Object.defineProperty(t,"printLocalsName",{enumerable:!0,get:function(){return o.printLocalsName}}),Object.defineProperty(t,"createPrinter",{enumerable:!0,get:function(){return o.createPrinter}}),Object.defineProperty(t,"relabelFormula",{enumerable:!0,get:function(){return o.relabelFormula}}),Object.defineProperty(t,"shouldFieldRefBeBracketed",{enumerable:!0,get:function(){return o.shouldFieldRefBeBracketed}}),Object.defineProperty(t,"sheetRangeToSheetIndex",{enumerable:!0,get:function(){return o.sheetRangeToSheetIndex}});var i=r(41257);Object.defineProperty(t,"isUnbracketedFieldName",{enumerable:!0,get:function(){return i.isUnbracketedFieldName}})},27987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduceBottomUp=t.blankOper=t.missingOper=t.range3DOper=t.rangeSeqOper=t.arrayOper=t.externalErrorOper=t.busyErrorOper=t.calcErrorOper=t.fieldErrorOper=t.unknownErrorOper=t.blockedErrorOper=t.connectErrorOper=t.spillErrorOper=t.gettingDataErrorOper=t.naErrorOper=t.numErrorOper=t.nameErrorOper=t.refErrorOper=t.valueErrorOper=t.div0ErrorOper=t.nullErrorOper=t.errorOper=t.booleanOper=t.stringOper=t.precedents=t.ErrorType=t.falseOper=t.trueOper=t.OperKind=t.PrecsBound=t.SpecialPrecs=void 0;var n=r(85882);Object.defineProperty(t,"SpecialPrecs",{enumerable:!0,get:function(){return n.SpecialPrecs}}),Object.defineProperty(t,"PrecsBound",{enumerable:!0,get:function(){return n.PrecsBound}}),Object.defineProperty(t,"OperKind",{enumerable:!0,get:function(){return n.OperKind}}),Object.defineProperty(t,"trueOper",{enumerable:!0,get:function(){return n.trueOper}}),Object.defineProperty(t,"falseOper",{enumerable:!0,get:function(){return n.falseOper}}),Object.defineProperty(t,"ErrorType",{enumerable:!0,get:function(){return n.ErrorType}}),Object.defineProperty(t,"precedents",{enumerable:!0,get:function(){return n.precedents}}),Object.defineProperty(t,"stringOper",{enumerable:!0,get:function(){return n.stringOper}}),Object.defineProperty(t,"booleanOper",{enumerable:!0,get:function(){return n.booleanOper}}),Object.defineProperty(t,"errorOper",{enumerable:!0,get:function(){return n.errorOper}}),Object.defineProperty(t,"nullErrorOper",{enumerable:!0,get:function(){return n.nullErrorOper}}),Object.defineProperty(t,"div0ErrorOper",{enumerable:!0,get:function(){return n.div0ErrorOper}}),Object.defineProperty(t,"valueErrorOper",{enumerable:!0,get:function(){return n.valueErrorOper}}),Object.defineProperty(t,"refErrorOper",{enumerable:!0,get:function(){return n.refErrorOper}}),Object.defineProperty(t,"nameErrorOper",{enumerable:!0,get:function(){return n.nameErrorOper}}),Object.defineProperty(t,"numErrorOper",{enumerable:!0,get:function(){return n.numErrorOper}}),Object.defineProperty(t,"naErrorOper",{enumerable:!0,get:function(){return n.naErrorOper}}),Object.defineProperty(t,"gettingDataErrorOper",{enumerable:!0,get:function(){return n.gettingDataErrorOper}}),Object.defineProperty(t,"spillErrorOper",{enumerable:!0,get:function(){return n.spillErrorOper}}),Object.defineProperty(t,"connectErrorOper",{enumerable:!0,get:function(){return n.connectErrorOper}}),Object.defineProperty(t,"blockedErrorOper",{enumerable:!0,get:function(){return n.blockedErrorOper}}),Object.defineProperty(t,"unknownErrorOper",{enumerable:!0,get:function(){return n.unknownErrorOper}}),Object.defineProperty(t,"fieldErrorOper",{enumerable:!0,get:function(){return n.fieldErrorOper}}),Object.defineProperty(t,"calcErrorOper",{enumerable:!0,get:function(){return n.calcErrorOper}}),Object.defineProperty(t,"busyErrorOper",{enumerable:!0,get:function(){return n.busyErrorOper}}),Object.defineProperty(t,"externalErrorOper",{enumerable:!0,get:function(){return n.externalErrorOper}}),Object.defineProperty(t,"arrayOper",{enumerable:!0,get:function(){return n.arrayOper}}),Object.defineProperty(t,"rangeSeqOper",{enumerable:!0,get:function(){return n.rangeSeqOper}}),Object.defineProperty(t,"range3DOper",{enumerable:!0,get:function(){return n.range3DOper}}),Object.defineProperty(t,"missingOper",{enumerable:!0,get:function(){return n.missingOper}}),Object.defineProperty(t,"blankOper",{enumerable:!0,get:function(){return n.blankOper}}),Object.defineProperty(t,"reduceBottomUp",{enumerable:!0,get:function(){return n.reduceBottomUp}})},42342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argumentAssistancePluginDependenciesResolved=t.ArgumentAssistancePlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(18648),u=r(69804),c=r(24551),d=r(31709),p=r(98088),h=r(2548),g=r(58737),m=r(92787),f=r(89500),v=r(78346),b=r(54855),y=r(93019),S=f.PluginRegistry.create(s.PluginFactoryName.ArgumentAssistancePlugin,s.PluginGroup.Excel);let C=(()=>{let e,t,r,s=[S.x10Plugin()],g=[],m=[];return t=class{*run(e){this.lastRunTime=this.timer.now(),this.runStartTime=this.timer.now(),this.timeStamps=new Map;const t=yield{kind:"GetActiveCell"};if("GetActiveCell"!==t.kind)return this.logFailure("failed to get active cell"),null;this.addTimeStamp("GetActiveCell");let r=yield{kind:"ParseActiveCell",formulaText:e.content};if(this.addTimeStamp("ParseCellContentSync"),!(void 0!==r&&"ParseActiveCell"===r.kind&&(0,o.isSuccess)(r.result)||(r=yield{kind:"ParseEdit",cell:t.activeCell,formulaBarText:e.content},this.addTimeStamp("ParseCellContentAsync"),"ParseEdit"===r.kind&&(0,o.isSuccess)(r.result))))return null;if(r.result.value.kind!==a.EditKind.Formula)return null;const{formula:n}=r.result.value,s=new c.ArgumentAssistanceVisitor(n,e.caretPosition,this.newNamedObjectsEnabled);if((0,i.reduceBottomUp)(s,n),this.addTimeStamp("ArgumentAssistanceVisitor"),void 0===s.assistedFunctionHead)return this.logTimeStamp(),null;const h=yield{kind:"GetConfig"};this.addTimeStamp("GetConfig");const g="GetConfig"===h.kind?h.config.localeInfo.listSeparator:",",m=s.assistedFunctionHead;if(m.kind===i.NodeKind.Name){if(!this.newNamedObjectsEnabled&&!this.supportUDF)return null;const t=yield{kind:"GetDefinedNamesInfo"};if("GetDefinedNamesInfo"!==t.kind)return this.logFailure("failed to get named objects info"),null;const r=t.definedNamesInfo.find((e=>e.name===m.whole));if(null==r?.reference){if(this.supportUDF){const t=yield{kind:"GetFunctionInfo",functionName:m.whole};if("GetFunctionInfo"===t.kind&&t.functionInfo.IsDynamicUdf)return new p.ResettableLazy((()=>(0,u.createFunctionRenderingInfoForUDF)(t.functionInfo,n,s.assistedFunctionArgs,e.caretPosition,g))).getValue()}return null}if(!this.newNamedObjectsEnabled)return null;const i=yield{kind:"ParseActiveCell",formulaText:r.reference};if("ParseActiveCell"!==i.kind||!(0,o.isSuccess)(i.result)||i.result.value.kind!==a.EditKind.Formula)return null;const{formula:l}=i.result.value;if(!l.isWellFormed||"Lambda"!==l.node.kind||!l.node.isClosed)return null;const c=[];for(const e of l.node.params){const{name:t,isBracketed:r}=e.name.arg.name;if("Ident"!==t.kind)return this.logFailure(`unexpected parameter in lambda function: ${t.kind}`),null;const n=r?`[${t.whole}]`:t.whole;c.push(n)}const d=(0,u.getActiveParamIndex)(n,s.assistedFunctionArgs,e.caretPosition);return{kind:"Minimal",functionName:m.whole,listSeparator:g,parameters:{params:c,activeParam:d}}}const f=yield{kind:"GetFunctionInfo",functionName:m.whole};if(this.addTimeStamp("GetFunctionInfo"),"GetFunctionInfo"!==f.kind)return this.logFailure(`failed to get function info for ${m.whole}`),null;const v=f.functionInfo;if((0,l.isChangeGateEnabled)("OfficeVSO:9920153_excludePythonArgAssistance")){if(v.FunctionIndexInServer===i.WorksheetFuncId.PY)return null}else if((0,l.getBooleanFeatureGate)("Microsoft.Office.Excel.PythonInfra",!1)&&v.FunctionIndexInServer===i.WorksheetFuncId.PY){const e=yield{kind:"GetPythonLicense"};if("GetPythonLicense"!==e.kind)return this.logFailure("failed to get python license"),null;if(this.argumentAssitanceFilterOutPythonEnabled&&("Success"!==e.license.kind||"Success"===e.license.kind&&!e.license.value.isEnabled))return null}const b=new p.ResettableLazy((()=>(0,u.createFunctionRenderingInfo)(f.functionInfo,n,s.assistedFunctionArgs,e.caretPosition,m.id,g))),S=d.functionExamples.getValue()[m.id];if(this.addTimeStamp("GetExampleString"),void 0===S)return this.logFailure(`no example found for function: ${m.whole}, id: ${m.id}`),this.addTimeStampAndLog("createFunctionRenderingInfoNoExample"),b.getValue();const C=yield{kind:"ParseCellFormula",cell:t.activeCell,formula:{formulaBarText:S,kind:y.FormulaKind.CellFormula},useEnglishLocaleInfo:!0};if(this.addTimeStamp("ParseExample"),"ParseCellFormula"!==C.kind||!(0,o.isSuccess)(C.result)){this.logFailure(`failed to parse example for function: ${m.whole}`);const e=b.getValue();return this.addTimeStampAndLog("createFunctionRenderingInfoFailedToParseExample"),e}if("GetConfig"===h.kind&&h.config.localeInfo.lcid===i.LCID.USA){const t=(0,u.createFunctionRenderingInfo)(f.functionInfo,n,s.assistedFunctionArgs,e.caretPosition,m.id,g,S,C.result.value);return this.addTimeStampAndLog("createFunctionRenderingInfoEnUs"),t}const T=yield{kind:"PrintFormula",formula:C.result.value,origin:t.activeCell};if(this.addTimeStamp("localize example string"),"PrintFormula"!==T.kind||!(0,o.isSuccess)(T.result)){this.logFailure(`failed to pretty print localized example for function: ${m.whole}`);const e=b.getValue();return this.addTimeStampAndLog("createFunctionRenderingInfoFailedToPrintLocalizedExample"),e}const k=yield{kind:"ParseCellFormula",cell:t.activeCell,formula:{formulaBarText:T.result.value,kind:y.FormulaKind.CellFormula},useEnglishLocaleInfo:!1};if(this.addTimeStamp("parse localized example string"),"ParseCellFormula"!==k.kind||!(0,o.isSuccess)(k.result)){this.logFailure(`failed to parse localized example for function: ${m.whole}`);const e=b.getValue();return this.addTimeStampAndLog("createFunctionRenderingInfoFailedToParseLocalizedExample"),e}const F=(0,u.createFunctionRenderingInfo)(f.functionInfo,n,s.assistedFunctionArgs,e.caretPosition,m.id,g,T.result.value,k.result.value);return this.addTimeStampAndLog("createFunctionRenderingInfoWithLocalizedExample"),F}logFailure(e){i.ulsLogger.ULS.traceTag(545388683,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`ArgumentAssistancePlugin encountered a failure with msg ${e}`)}addTimeStampAndLog(e){this.addTimeStamp(e),this.logTimeStamp()}logTimeStamp(){this.timeStamps.set("Overall",this.timer.now()-this.runStartTime);const e={};this.timeStamps.forEach(((t,r)=>{e[r]=t})),i.ulsLogger.ULS.traceTag(540377222,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,`${JSON.stringify(e)}`)}addTimeStamp(e){this.timeStamps.set(e,this.timer.now()-this.lastRunTime),this.lastRunTime=this.timer.now()}constructor(){this.timer=(n.__runInitializers(this,m),v.defaultTimerInterface),this.lastRunTime=0,this.runStartTime=0,this.timeStamps=new Map,this.newNamedObjectsEnabled=(0,l.getBooleanFeatureGate)("Microsoft.Office.Excel.FormulaAuthoringWithNameManager",!1)&&(0,l.isChangeGateEnabled)("OfficeVSO:9646883_NameManager-FG-Removal"),this.supportUDF=(0,l.isChangeGateEnabled)("OfficeVSO:9307294_LetUDFSupportArgumentAssistance"),this.argumentAssitanceFilterOutPythonEnabled=(0,l.isChangeGateEnabled)("OfficeVSO:9668654_autocompleteToplevelPython")}},n.__setFunctionName(t,"ArgumentAssistancePlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[S.uiMessageHandler({kind:h.RequestKind.argumentAssistance})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,m),n.__esDecorate(null,e={value:t},s,{kind:"class",name:t.name,metadata:o},null,g),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=S.injectPluginFactory(),n.__runInitializers(t,g),t})();t.ArgumentAssistancePlugin=C,(0,g.registerPlugin)(C),t.argumentAssistancePluginDependenciesResolved=(0,b.trackableAsyncLazy)((async()=>{let e;e=(0,o.getTypedFeatureGate)("Microsoft.Office.Excel.ArgumentAssistanceOnMainThread")?await m.dynamicPluginLoaderCreated.getValue():await m.workerThreadSpread.getValue(),await e.loadPluginScript("formula-authoring-strings",!0),await e.createAndAttachPlugin(s.PluginFactoryName.ArgumentAssistancePlugin),await m.schedulerWithRecalcServiceAttached.getValue()}),"argumentAssistancePluginDependenciesResolved")},69804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFunctionRenderingInfo=function(e,t,r,u,d,p,g,m){const f=o(t,r,u),v=e.Params.split("!");return{kind:"Full",functionName:e.NameDataStrings,functionDescription:e.Help,signatures:v.map(((t,r)=>function(e,t,r,o,u,d,p,g){const m=(0,n.getWorksheetFuncType)(u),f=""!==t?t.split(d+" ").filter((e=>"..."!==e)):[],v=l(f,m,o),b=function(e,t){return void 0===e||void 0===t?null:t.node.args.map((r=>{const n=t.spans[r.label];return n?e.substring(n.start,n.end):""}))}(p,g),y=s(e.ParamsHelp,f,m,r),S=c(v,y);return{signatureParams:h(v,a(o,f.length,m)),descriptions:y,descriptionParams:h(S,i(o,S.length,m)),exampleParams:null!==b?h(b,i(o,b.length,m,!0)):null,exampleDescription:""}}(e,t,r,f,d,p,g,m))),activeSignature:0,listSeparator:p,isUDF:e.IsDynamicUdf,helpID:e.HelpId}},t.createFunctionRenderingInfoForUDF=function(e,t,r,n,u){const d=o(t,r,n),p=e.Params.split("!");return{kind:"Full",functionName:e.NameDataStrings,functionDescription:e.Help,signatures:p.map(((t,r)=>function(e,t,r,n,o){const u="...",d=""!==t?t.split(o).filter((e=>e!==u)):[],p=e.Params.endsWith(u)?e.Params.split(o).length-2:e.Params.split(o).length,g=e.Params.endsWith(u)?1:0,m={minArgs:0,maxArgs:0,headTypes:new Array(p).fill(0),restTypes:new Array(g).fill(0),tailTypes:[],returnType:0,staticPrecs:0,flags:0},f=l(d,m,n),v=s(e.ParamsHelp,d,m,r),b=c(f,v);return{signatureParams:h(f,a(n,d.length,m)),descriptions:v,descriptionParams:h(b,i(n,b.length,m)),exampleParams:null,exampleDescription:""}}(e,t,r,d,u))),activeSignature:0,listSeparator:u,isUDF:e.IsDynamicUdf,helpID:e.HelpId}},t.getActiveParamIndex=o,t.getParamIndexToHighlight=i,t.getParamNumberSuffix=u,t.getBaseParamName=p;const n=r(85882);function o(e,t,r){let n=0;for(let o=0;o<t.length;o++){const i=e.spans[t[o].label];if(i&&i.start-i.pre.length<=r&&r<=i.end+i.post.length){n=o;break}}return n}function i(e,t,r,n=!1,o=!1){const i=t-1,a=r.restTypes.length,s=r.headTypes.length;if(e<s+a)return e;if(e>=s&&0===a)return-1;const l=(e-s)%a;return n?e<=i-r.tailTypes.length?e:i-r.tailTypes.length-(a-1)+l:s+(o&&0===l&&r.tailTypes.length>0?a:l)}function a(e,t,r){let n=i(e,t,r);return d(e,r)&&(n+=1),n}function s(e,t,r,n){let o=e?e.split("!"):[];if(o=0===n?o.slice(0,t.length):o.slice(-1*t.length),r.restTypes.length>0){for(let e=r.headTypes.length;e<o.length;e+=1){const r=p(t[e]),n=`${r}1,${r}2,... `;o[e]=n+o[e]}1===r.restTypes.length&&o.push(o[r.headTypes.length])}return o}function l(e,t,r){const n=e.slice(),o=t.headTypes.length,i=t.restTypes.length;if(i>0){let e=u(r,o,i);for(let t=o;t<n.length;t+=i){for(let r=0;r<i;r+=1){const o=p(n[t+r]),a=e>1&&r%i==0?"[":"",s=e>1&&r%i==i-1?"]":"";n[t+r]=`${a}${o}${e}${s}`}e+=1}n.push("..."),d(r,t)&&n.splice(o,0,"...")}return n}function u(e,t,r){return 1+Math.max(Math.floor((e-t)/r),0)}function c(e,t){return e.filter((e=>"..."!==e)).slice(0,t.length).map((e=>function(e){return e.startsWith("[")&&!e.endsWith("]")?e+"]":!e.startsWith("[")&&e.endsWith("]")?"["+e:e}(e)))}function d(e,t){return t.restTypes.length>0&&e>=t.headTypes.length+t.restTypes.length}function p(e){return e.match(/[^0-9\[\]]+/)}function h(e,t){return{params:e,activeParam:Math.min(t,e.length-1)}}},24551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentAssistanceVisitor=void 0;const n=r(85882),o=r(18648);class i extends n.IdentityVisitor{appNode(e,t,r,i){const a=(0,o.isChangeGateEnabled)("OfficeVSO:9307294_LetUDFSupportArgumentAssistance");return(e.kind===n.NodeKind.WSF||(this.newNamedObjectsEnabled||a)&&e.kind===n.NodeKind.Name)&&this.updateAssistedFunction(e,t),super.appNode(e,t,r,i)}letNode(e,t,r,n,o,i){const a=super.letNode(e,t,r,n,o,i);return this.updateAssistedFunction(e,a.args),a}lambdaNode(e,t,r,n,o,i){const a=super.lambdaNode(e,t,r,n,o,i);return this.updateAssistedFunction(e,a.args),a}updateAssistedFunction(e,t){const r=this.parsedFormulaTree.spans[t[0].label],n=this.parsedFormulaTree.spans[t[t.length-1].label],o=r.start-r.pre.length,i=n.end-n.post.length;this.caretPosition<=i&&this.caretPosition>=o&&(void 0===this.assistedFunctionHead||o>this.assistedFunctionScopeStart)&&(this.assistedFunctionHead=e,this.assistedFunctionArgs=t,this.assistedFunctionScopeStart=o)}constructor(e,t,r){super(),this.parsedFormulaTree=e,this.caretPosition=t,this.newNamedObjectsEnabled=r,this.assistedFunctionScopeStart=0}}t.ArgumentAssistanceVisitor=i},31709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.functionExamples=void 0;const n=r(85882),o=r(98088);t.functionExamples=new o.ResettableLazy((()=>({[n.WorksheetFuncId.ABS]:"=ABS(2)",[n.WorksheetFuncId.CUBEMEMBERPROPERTY]:`=CUBEMEMBERPROPERTY("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}","[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Time)}].[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Fiscal)}].[2014]",$A$3)`,[n.WorksheetFuncId.CUBERANKEDMEMBER]:`=CUBERANKEDMEMBER("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}",$D$4,1,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TopMonth)}")`,[n.WorksheetFuncId.BINOM_DIST_RANGE]:"=BINOM.DIST.RANGE(60,0.75,48)",[n.WorksheetFuncId.NETWORKDAYS_INTL]:"=NETWORKDAYS.INTL(DATE(2006,1,1),DATE(2006,1,31))",[n.WorksheetFuncId.AVERAGE_WEIGHTED]:"=AVERAGE.WEIGHTED(A1:A10, B1:B10, 5, 0.5)",[n.WorksheetFuncId.GAMMALN_PRECISE]:"=GAMMALN.PRECISE(4)",[n.WorksheetFuncId.CONFIDENCE_NORM]:"=CONFIDENCE.NORM(0.05,2.5,50)",[n.WorksheetFuncId.CEILING_PRECISE]:"=CEILING.PRECISE(4.3)",[n.WorksheetFuncId.FORECAST_LINEAR]:"=FORECAST.LINEAR(30,A2:A6,B2:B6)",[n.WorksheetFuncId.PERCENTRANK_EXC]:"=PERCENTRANK.EXC(A2:A11,2)",[n.WorksheetFuncId.PERCENTRANK_INC]:"=PERCENTRANK.INC(A2:A11,2)",[n.WorksheetFuncId.PERCENTILE_EXC]:"=PERCENTILE.EXC(B2:B10,0.25)",[n.WorksheetFuncId.PERCENTILE_INC]:"=PERCENTILE.INC(A2:A5,0.3)",[n.WorksheetFuncId.CUBEKPIMEMBER]:`=CUBEKPIMEMBER("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}","${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MySalesKPI)}",1)`,[n.WorksheetFuncId.CHISQ_DIST_RT]:"=CHISQ.DIST.RT(18.307,10)",[n.WorksheetFuncId.FLOOR_PRECISE]:"=FLOOR.PRECISE(-3.2,-1)",[n.WorksheetFuncId.NEGBINOM_DIST]:"=NEGBINOM.DIST(10,5,0.25,TRUE)",[n.WorksheetFuncId.GETPIVOTDATA]:`=GETPIVOTDATA("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}", $A$3, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Region)}", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.South)}")`,[n.WorksheetFuncId.CUBESETCOUNT]:"=CUBESETCOUNT(A3)",[n.WorksheetFuncId.ERFC_PRECISE]:"=ERFC.PRECISE(1)",[n.WorksheetFuncId.CHISQ_INV_RT]:"=CHISQ.INV.RT(0.3, 2)",[n.WorksheetFuncId.CONFIDENCE_T]:"=CONFIDENCE.T(0.05,1,50)",[n.WorksheetFuncId.CEILING_MATH]:"=CEILING.MATH(24.3,5)",[n.WorksheetFuncId.HYPGEOM_DIST]:"=HYPGEOM.DIST(1,4,8,20,TRUE)",[n.WorksheetFuncId.LOGNORM_DIST]:"=LOGNORM.DIST(4,3.5,1.2,TRUE)",[n.WorksheetFuncId.NEGBINOMDIST]:"=NEGBINOMDIST(10,5,0.25)",[n.WorksheetFuncId.PERMUTATIONA]:"=PERMUTATIONA(3,2)",[n.WorksheetFuncId.POISSON_DIST]:"=POISSON.DIST(1, 2, TRUE)",[n.WorksheetFuncId.WEIBULL_DIST]:"=WEIBULL.DIST(105,20,100,TRUE)",[n.WorksheetFuncId.COVARIANCE_P]:"=COVARIANCE.P(A2:A6, B2:B6)",[n.WorksheetFuncId.COVARIANCE_S]:"=COVARIANCE.S(A3:A5,B3:B5)",[n.WorksheetFuncId.QUARTILE_EXC]:"=QUARTILE.EXC(A2:A12,1)",[n.WorksheetFuncId.QUARTILE_INC]:"=QUARTILE.INC(A2:A9,1)",[n.WorksheetFuncId.ECMA_CEILING]:"=ECMA.CEILING(1.5, 0.1)",[n.WorksheetFuncId.WORKDAY_INTL]:"=WORKDAY.INTL(DATE(2012,1,1),30,1)",[n.WorksheetFuncId.STOCKHISTORY]:'=STOCKHISTORY("MSFT", "2024-01-01", "2024-01-10")',[n.WorksheetFuncId.ERF_PRECISE]:"=ERF.PRECISE(0.745)",[n.WorksheetFuncId.NUMBERVALUE]:'=NUMBERVALUE("0.035")',[n.WorksheetFuncId.HYPGEOMDIST]:"=HYPGEOMDIST(1,4,8,20)",[n.WorksheetFuncId.LOGNORMDIST]:"=LOGNORMDIST(4,3.5,1.2)",[n.WorksheetFuncId.LOGNORM_INV]:"=LOGNORM.INV(0.039084, 3.5, 1.2)",[n.WorksheetFuncId.NORM_S_DIST]:"=NORM.S.DIST(1.33, TRUE)",[n.WorksheetFuncId.STANDARDIZE]:"=STANDARDIZE(42,40,1.5)",[n.WorksheetFuncId.FORMULATEXT]:"=FORMULATEXT(A2)",[n.WorksheetFuncId.PERCENTRANK]:"=PERCENTRANK(A2:A11,2)",[n.WorksheetFuncId.CONCATENATE]:`=CONCATENATE("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Andreas)}", " ", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Hauser)}")`,[n.WorksheetFuncId.ISO_CEILING]:"=ISO.CEILING(4.3)",[n.WorksheetFuncId.VALUETOTEXT]:`=VALUETOTEXT("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SomeText)}")`,[n.WorksheetFuncId.ARRAYTOTEXT]:"=ARRAYTOTEXT(B1:B3)",[n.WorksheetFuncId.AVERAGEIFS]:'=AVERAGEIFS(B2:B5, B2:B5, ">70", B2:B5, "<90")',[n.WorksheetFuncId.COUNTBLANK]:"=COUNTBLANK(A2:B5)",[n.WorksheetFuncId.ERROR_TYPE]:"=ERROR.TYPE(#NULL!)",[n.WorksheetFuncId.CUBEMEMBER]:`=CUBEMEMBER("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}",(B4, C6, D5),"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SalesFor2004)}")`,[n.WorksheetFuncId.ISOWEEKNUM]:"=ISOWEEKNUM(40977)",[n.WorksheetFuncId.SUBSTITUTE]:`=SUBSTITUTE("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SalesData)}", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Cost)}")`,[n.WorksheetFuncId.SUMPRODUCT]:"=SUMPRODUCT(C2:C5,D2:D5)",[n.WorksheetFuncId.WEBSERVICE]:`=WEBSERVICE(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WebServiceLink)})`,[n.WorksheetFuncId.BINOM_DIST]:"=BINOM.DIST(6,10,0.5,FALSE)",[n.WorksheetFuncId.CHISQ_DIST]:"=CHISQ.DIST(0.5,1,TRUE)",[n.WorksheetFuncId.CONFIDENCE]:"=CONFIDENCE(0.05,2.5,50)",[n.WorksheetFuncId.EXPON_DIST]:"=EXPON.DIST(0.2,10,TRUE)",[n.WorksheetFuncId.FLOOR_MATH]:"=FLOOR.MATH(24.3,5)",[n.WorksheetFuncId.GAMMA_DIST]:"=GAMMA.DIST(4.79, 1.234, 7, TRUE)",[n.WorksheetFuncId.NORM_S_INV]:"=NORM.S.INV(0.908789)",[n.WorksheetFuncId.CHISQ_TEST]:"=CHISQ.TEST(A2:B4,A6:B8)",[n.WorksheetFuncId.PERCENTILE]:"=PERCENTILE(E2:E5,0.3)",[n.WorksheetFuncId.FIELDVALUE]:`=FIELDVALUE(A2, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Price)}")`,[n.WorksheetFuncId.AVERAGEIF]:'=AVERAGEIF(B2:B5,"<23000")',[n.WorksheetFuncId.BITLSHIFT]:"=BITLSHIFT(4,2)",[n.WorksheetFuncId.BITRSHIFT]:"=BITRSHIFT(13,2)",[n.WorksheetFuncId.DATEVALUE]:'=DATEVALUE("1/1/2008")',[n.WorksheetFuncId.FILTERXML]:'=FILTERXML(B3,"//rc/@title")',[n.WorksheetFuncId.CUBEVALUE]:`=CUBEVALUE(Sales,"[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Measures)}].[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Profit)}]","[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Time)}].[2004]","[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AllProduct)}].[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Beverages)}]")`,[n.WorksheetFuncId.ENCODEURL]:`=ENCODEURL("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EncodeURLExmapleLink)}")`,[n.WorksheetFuncId.HYPERLINK]:`=HYPERLINK("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.HyperlinkExampleLink)}", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ClickForReport)}")`,[n.WorksheetFuncId.ISLOGICAL]:"=ISLOGICAL(TRUE)",[n.WorksheetFuncId.ISNONTEXT]:"=ISNONTEXT(A2)",[n.WorksheetFuncId.ISFORMULA]:"=ISFORMULA(A2)",[n.WorksheetFuncId.PDURATION]:"=PDURATION(2.5%,2000,2200)",[n.WorksheetFuncId.TIMEVALUE]:'=TIMEVALUE("22-Aug-2011 6:35 AM")',[n.WorksheetFuncId.TRANSPOSE]:"=TRANSPOSE(A2:F9)",[n.WorksheetFuncId.FREQUENCY]:"=FREQUENCY(A2:A20, B2:B5)",[n.WorksheetFuncId.BETA_DIST]:"=BETA.DIST(2,8,10,TRUE,1,3)",[n.WorksheetFuncId.BINOMDIST]:"=BINOMDIST(6,10,0.5,FALSE)",[n.WorksheetFuncId.BINOM_INV]:"=BINOM.INV(6,0.5,0.75)",[n.WorksheetFuncId.CHISQ_INV]:"=CHISQ.INV(0.3, 2)",[n.WorksheetFuncId.CRITBINOM]:"=CRITBINOM(6,0.5,0.75)",[n.WorksheetFuncId.EXPONDIST]:"=EXPONDIST(0.2,10,TRUE)",[n.WorksheetFuncId.F_DIST_RT]:"=F.DIST.RT(15.2069,6,4)",[n.WorksheetFuncId.FISHERINV]:"=FISHERINV(0.972955)",[n.WorksheetFuncId.GAMMADIST]:"=GAMMADIST(10.00001131,9,2,FALSE)",[n.WorksheetFuncId.GAMMA_INV]:"=GAMMA.INV(0.068094,9,2)",[n.WorksheetFuncId.NORM_DIST]:"=NORM.DIST(1, 0, 1, TRUE)",[n.WorksheetFuncId.T_DIST_2T]:"=T.DIST.2T(1.959999998,60)",[n.WorksheetFuncId.T_DIST_RT]:"=T.DIST.RT(1.959999998,60)",[n.WorksheetFuncId.INTERCEPT]:"=INTERCEPT(A2:A6, B2:B6)",[n.WorksheetFuncId.MODE_MULT]:"=MODE.MULT(A2:A13)",[n.WorksheetFuncId.MODE_SNGL]:"=MODE.SNGL(A2:A7)",[n.WorksheetFuncId.AGGREGATE]:"=AGGREGATE(12, 6, A1:A11, B1:B11)",[n.WorksheetFuncId.RANDARRAY]:"=RANDARRAY(5,3,1,100)",[n.WorksheetFuncId.COUNTIFS]:'=COUNTIFS(A2:A7,"<6",A2:A7,">1")',[n.WorksheetFuncId.DAVERAGE]:`=DAVERAGE(A4:E10, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:B2)`,[n.WorksheetFuncId.BAHTTEXT]:"=BAHTTEXT(1234)",[n.WorksheetFuncId.DPRODUCT]:`=DPRODUCT(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:F3)`,[n.WorksheetFuncId.INDIRECT]:"=INDIRECT(A2)",[n.WorksheetFuncId.ISNUMBER]:"=ISNUMBER(A2)",[n.WorksheetFuncId.MINVERSE]:"=MINVERSE(A1:D4)",[n.WorksheetFuncId.RANK_AVG]:"=RANK.AVG(94,B2:B8)",[n.WorksheetFuncId.SUBTOTAL]:"=SUBTOTAL(9,A2:A5)",[n.WorksheetFuncId.BETADIST]:"=BETADIST(2,8,10,1,3)",[n.WorksheetFuncId.BETA_INV]:"=BETA.INV(0.685470581,8,10,1,3)",[n.WorksheetFuncId.F_INV_RT]:"=F.INV.RT(0.01,6,4)",[n.WorksheetFuncId.GAMMAINV]:"=GAMMAINV(0.65, 4, 2)",[n.WorksheetFuncId.NORMDIST]:"=NORMDIST(42,40,1.5,TRUE)",[n.WorksheetFuncId.NORM_INV]:"=NORM.INV(0.908789,40,1.5)",[n.WorksheetFuncId.NORMSINV]:"=NORMSINV(0.9088)",[n.WorksheetFuncId.SUMX2MY2]:"=SUMX2MY2(A3:A9,B3:B9)",[n.WorksheetFuncId.SUMX2PY2]:"=SUMX2PY2(A3:A9,B3:B9)",[n.WorksheetFuncId.FORECAST]:"=FORECAST(30,A2:A6,B2:B6)",[n.WorksheetFuncId.QUARTILE]:"=QUARTILE(A2:A9,1)",[n.WorksheetFuncId.TRIMMEAN]:"=TRIMMEAN(A2:A12,0.2)",[n.WorksheetFuncId.T_INV_2T]:"=T.INV.2T(0.546449,60)",[n.WorksheetFuncId.AVERAGEA]:"=AVERAGEA(A2:A6)",[n.WorksheetFuncId.TEXTJOIN]:'=TEXTJOIN(",", TRUE, A2:A8)',[n.WorksheetFuncId.SEQUENCE]:"=SEQUENCE(4,5)",[n.WorksheetFuncId.ADDRESS]:`=ADDRESS(2,3,1,FALSE,"[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Book1)}]${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sheet1)}")`,[n.WorksheetFuncId.AVERAGE]:"=AVERAGE(A2:A6)",[n.WorksheetFuncId.COLUMNS]:"=COLUMNS(C1:E4)",[n.WorksheetFuncId.COUNTIF]:'=COUNTIF(B2:B5,">55")',[n.WorksheetFuncId.DAYS360]:'=DAYS360("30-Jan-2011","1-Feb-2011")',[n.WorksheetFuncId.DCOUNTA]:`=DCOUNTA(A4:E10, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Profit)}", A1:F2)`,[n.WorksheetFuncId.DECIMAL]:'=DECIMAL("FF",16)',[n.WorksheetFuncId.DEGREES]:"=DEGREES(PI())",[n.WorksheetFuncId.DSTDEVP]:`=DSTDEVP(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:A3)`,[n.WorksheetFuncId.CUBESET]:`=CUBESET("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sales)}","[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Product)}].[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AllProducts)}].${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Children)}","${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Products)}",1,"[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Measures)}].[${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SalesAmount)}]")`,[n.WorksheetFuncId.HLOOKUP]:`=HLOOKUP("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Axles)}", A1:C4, 2, TRUE)`,[n.WorksheetFuncId.IFERROR]:`=IFERROR(55/0, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ErrorInCalculation)}")`,[n.WorksheetFuncId.ISBLANK]:"=ISBLANK(A2)",[n.WorksheetFuncId.ISERROR]:"=ISERROR(#REF!)",[n.WorksheetFuncId.XLOOKUP]:`=XLOOKUP("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tom)}",A2:A9,C2:C9,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NotFound)}",0,1)`,[n.WorksheetFuncId.MDETERM]:"=MDETERM(A2:D5)",[n.WorksheetFuncId.PRODUCT]:"=PRODUCT(A2:A4)",[n.WorksheetFuncId.RADIANS]:"=RADIANS(270)",[n.WorksheetFuncId.RANK_EQ]:"=RANK.EQ(7,A2:A6,1)",[n.WorksheetFuncId.REPLACE]:'=REPLACE(2009,3,2,"10")',[n.WorksheetFuncId.STDEV_S]:"=STDEV.S(A2:A11)",[n.WorksheetFuncId.STDEV_P]:"=STDEV.P(A3:A12)",[n.WorksheetFuncId.UNICODE]:'=UNICODE("B")',[n.WorksheetFuncId.UNICHAR]:"=UNICHAR(66)",[n.WorksheetFuncId.VLOOKUP]:"=VLOOKUP(103, A2:B26, 2, FALSE)",[n.WorksheetFuncId.WEEKDAY]:"=WEEKDAY(39492)",[n.WorksheetFuncId.GAMMALN]:"=GAMMALN(4)",[n.WorksheetFuncId.BETAINV]:"=BETAINV(0.685470581,8,10,1,3)",[n.WorksheetFuncId.CHIDIST]:"=CHIDIST(18.307,10)",[n.WorksheetFuncId.COMBINA]:"=COMBINA(4,3)",[n.WorksheetFuncId.CEILING]:"=CEILING(2.5, 1)",[n.WorksheetFuncId.NORMINV]:"=NORMINV(0.908789,40,1.5)",[n.WorksheetFuncId.POISSON]:"=POISSON(1, 2, TRUE)",[n.WorksheetFuncId.WEIBULL]:"=WEIBULL(105,20,100,TRUE)",[n.WorksheetFuncId.SUMXMY2]:"=SUMXMY2(A3:A9,B3:B9)",[n.WorksheetFuncId.CHITEST]:"=CHITEST(A2:B4,A6:B8)",[n.WorksheetFuncId.PEARSON]:"=PEARSON(A3:A7,B3:B7)",[n.WorksheetFuncId.GEOMEAN]:"=GEOMEAN(A2:A8)",[n.WorksheetFuncId.HARMEAN]:"=HARMEAN(A2:A8)",[n.WorksheetFuncId.STDEVPA]:"=STDEVPA(A3:A12)",[n.WorksheetFuncId.DATEDIF]:'=DATEDIF("1/1/2001","1/1/2003","Y")',[n.WorksheetFuncId.ARABIC]:'=ARABIC("LVII")',[n.WorksheetFuncId.CHOOSE]:`=CHOOSE(3,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Wide)}",115,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.World)}",8)`,[n.WorksheetFuncId.COLUMN]:"=COLUMN(C9)",[n.WorksheetFuncId.COUNTA]:"=COUNTA(B2:B6)",[n.WorksheetFuncId.DCOUNT]:`=DCOUNT(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Age)}", A1:F2)`,[n.WorksheetFuncId.DOLLAR]:"=DOLLAR(1.2351, 4)",[n.WorksheetFuncId.DSTDEV]:`=DSTDEV(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:A3)`,[n.WorksheetFuncId.GROWTH]:"=GROWTH(B2:B10, A2:A10, A11:A13)",[n.WorksheetFuncId.IMCOSH]:'=IMCOSH("4+3i")',[n.WorksheetFuncId.IMCSCH]:'=IMCSCH("4+3i")',[n.WorksheetFuncId.IMSECH]:'=IMSECH("4+3i")',[n.WorksheetFuncId.IMSINH]:'=IMSINH("4+3i")',[n.WorksheetFuncId.ISTEXT]:`=ISTEXT("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Region1)}")`,[n.WorksheetFuncId.LINEST]:"=LINEST(B2:B10, A2:A10, FALSE, TRUE)",[n.WorksheetFuncId.LOGEST]:"=LOGEST(B2:B10, A2:A10, TRUE, TRUE)",[n.WorksheetFuncId.LOOKUP]:"=LOOKUP(4.19, A2:A6, B2:B6)",[n.WorksheetFuncId.XMATCH]:"=XMATCH(F2,C3:C9,1)",[n.WorksheetFuncId.MEDIAN]:"=MEDIAN(A2:A6)",[n.WorksheetFuncId.MINUTE]:"=MINUTE(0.53125)",[n.WorksheetFuncId.OFFSET]:"=OFFSET(D3,3,-2,1,1)",[n.WorksheetFuncId.PROPER]:`=PROPER("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThisIsATITLE)}")`,[n.WorksheetFuncId.SEARCH]:`=SEARCH("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.E)}","${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Statements)}",6)`,[n.WorksheetFuncId.SECOND]:"=SECOND(0.700208333333333)",[n.WorksheetFuncId.SHEETS]:`=SHEETS(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.My3DRef)})`,[n.WorksheetFuncId.STDEVP]:"=STDEVP(A3:A12)",[n.WorksheetFuncId.SUMIFS]:`=SUMIFS(A2:A9, B2:B9, "<>${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Bananas)}", C2:C9, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tom)}")`,[n.WorksheetFuncId.AVEDEV]:"=AVEDEV(A2:A8)",[n.WorksheetFuncId.CHIINV]:"=CHIINV(0.3, 2)",[n.WorksheetFuncId.COMBIN]:"=COMBIN(8,2)",[n.WorksheetFuncId.F_DIST]:"=F.DIST(15.2069,6,4,TRUE)",[n.WorksheetFuncId.FISHER]:"=FISHER(0.75)",[n.WorksheetFuncId.LOGINV]:"=LOGINV(0.039084, 3.5, 1.2)",[n.WorksheetFuncId.PERMUT]:"=PERMUT(100,3)",[n.WorksheetFuncId.T_DIST]:"=T.DIST(60,1,TRUE)",[n.WorksheetFuncId.CORREL]:"=CORREL(A2:A6, B2:B6)",[n.WorksheetFuncId.F_TEST]:"=F.TEST(A2:A6,B2:B6)",[n.WorksheetFuncId.T_TEST]:"=T.TEST(A2:A10,B2:B10,2,1)",[n.WorksheetFuncId.SKEW_P]:"=SKEW.P(A2:A11)",[n.WorksheetFuncId.Z_TEST]:"=Z.TEST(A2:A11,4)",[n.WorksheetFuncId.STDEVA]:"=STDEVA(A3:A12)",[n.WorksheetFuncId.MAXIFS]:`=MAXIFS(A2:A7,B2:B7,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsB)}",D2:D7,">100")`,[n.WorksheetFuncId.MINIFS]:`=MINIFS(A2:A7,B2:B7,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsB)}",D2:D7,">100")`,[n.WorksheetFuncId.CONCAT]:`=CONCAT("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Andreas)}"," ", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Hauser)}")`,[n.WorksheetFuncId.SWITCH]:`=SWITCH(WEEKDAY("10/10/2016"),1,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sunday)}",2,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Monday)}",3,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tuesday)}","${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NoMatch)}")`,[n.WorksheetFuncId.FILTER]:`=FILTER(A5:D20,(C5:C20="${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Apple)}")*(A5:A20="${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.East)}"),"")`,[n.WorksheetFuncId.UNIQUE]:"=UNIQUE(A2:A12)",[n.WorksheetFuncId.SORTBY]:"=SORTBY(D2:D9,E2:E9,1)",[n.WorksheetFuncId.BITAND]:"=BITAND(1,5)",[n.WorksheetFuncId.BITXOR]:"=BITXOR(5,3)",[n.WorksheetFuncId.ACOSH]:"=ACOSH(10)",[n.WorksheetFuncId.ACOTH]:"=ACOTH(6)",[n.WorksheetFuncId.ATANH]:"=ATANH(-0.1)",[n.WorksheetFuncId.ATAN2]:"=ATAN2(4,0)",[n.WorksheetFuncId.CLEAN]:"=CLEAN(A2)",[n.WorksheetFuncId.COUNT]:"=COUNT(A2:A7)",[n.WorksheetFuncId.DVARP]:`=DVARP(A4:E10, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:A3)`,[n.WorksheetFuncId.EXACT]:`=EXACT("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Hello)}", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Goodbye)}")`,[n.WorksheetFuncId.FALSE]:"=FALSE()",[n.WorksheetFuncId.FIXED]:"=FIXED(-1234.567, -1, TRUE)",[n.WorksheetFuncId.IMCOT]:'=IMCOT("4+3i")',[n.WorksheetFuncId.IMCSC]:'=IMCSC("4+3i")',[n.WorksheetFuncId.IMSEC]:'=IMSEC("4+3i")',[n.WorksheetFuncId.IMTAN]:'=IMTAN("4+3i")',[n.WorksheetFuncId.INDEX]:"=INDEX(A2:B3,2,1)",[n.WorksheetFuncId.ISERR]:"=ISERR(#N/A)",[n.WorksheetFuncId.ISREF]:"=ISREF(A2)",[n.WorksheetFuncId.LOWER]:`=LOWER("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EECummings)}")`,[n.WorksheetFuncId.MATCH]:"=MATCH(39,B2:B5,1)",[n.WorksheetFuncId.MMULT]:"=MMULT(A1:B3, C1:F2)",[n.WorksheetFuncId.MONTH]:"=MONTH(40648)",[n.WorksheetFuncId.RIGHT]:`=RIGHT("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SalePrice)}",5)`,[n.WorksheetFuncId.ROUND]:"=ROUND(2.149, 1)",[n.WorksheetFuncId.SHEET]:`=SHEET(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Table1)})`,[n.WorksheetFuncId.STDEV]:"=STDEV(A3:A12)",[n.WorksheetFuncId.SUMIF]:'=SUMIF(A2:A5,">160000")',[n.WorksheetFuncId.TODAY]:"=TODAY()",[n.WorksheetFuncId.TREND]:"=TREND(B2:B10, A2:A10, A11:A13, TRUE)",[n.WorksheetFuncId.TRUNC]:"=TRUNC(8.9)",[n.WorksheetFuncId.UPPER]:`=UPPER("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.KelliXu)}")`,[n.WorksheetFuncId.VALUE]:"=VALUE(1000)",[n.WorksheetFuncId.VAR_S]:"=VAR.S(A2:A11)",[n.WorksheetFuncId.VAR_P]:"=VAR.P(A2:A11)",[n.WorksheetFuncId.GAMMA]:"=GAMMA(-3.75)",[n.WorksheetFuncId.GAUSS]:"=GAUSS(2)",[n.WorksheetFuncId.FDIST]:"=FDIST(15.20686486,6,4)",[n.WorksheetFuncId.F_INV]:"=F.INV(0.01,6,4)",[n.WorksheetFuncId.FLOOR]:"=FLOOR(23.25, 0.1)",[n.WorksheetFuncId.TDIST]:"=TDIST(60, 1, 1)",[n.WorksheetFuncId.COVAR]:"=COVAR(A2:A6, B2:B6)",[n.WorksheetFuncId.FTEST]:"=FTEST(A2:A6,B2:B6)",[n.WorksheetFuncId.STEYX]:"=STEYX(A3:A9,B3:B9)",[n.WorksheetFuncId.SLOPE]:"=SLOPE(A3:A9,B3:B9)",[n.WorksheetFuncId.TTEST]:"=TTEST(A2:A10,B2:B10,2,1)",[n.WorksheetFuncId.DEVSQ]:"=DEVSQ(A2:A8)",[n.WorksheetFuncId.SUMSQ]:"=SUMSQ(3, 4)",[n.WorksheetFuncId.ZTEST]:"=ZTEST(A2:A11,6)",[n.WorksheetFuncId.LARGE]:"=LARGE(A2:B6,7)",[n.WorksheetFuncId.SMALL]:"=SMALL(A2:A10,4)",[n.WorksheetFuncId.MUNIT]:"=MUNIT(2)",[n.WorksheetFuncId.T_INV]:"=T.INV(0.75,2)",[n.WorksheetFuncId.ROMAN]:"=ROMAN(499,0)",[n.WorksheetFuncId.POWER]:"=POWER(5,2)",[n.WorksheetFuncId.ISPMT]:"=ISPMT(10%, 2, 5, 1000)",[n.WorksheetFuncId.VARPA]:"=VARPA(1, 2)",[n.WorksheetFuncId.AREAS]:"=AREAS(B2:D4)",[n.WorksheetFuncId.ASINH]:"=ASINH(10)",[n.WorksheetFuncId.BITOR]:"=BITOR(23,10)",[n.WorksheetFuncId.ACOS]:"=ACOS(-0.5)",[n.WorksheetFuncId.ACOT]:"=ACOT(2)",[n.WorksheetFuncId.ATAN]:"=ATAN(1)",[n.WorksheetFuncId.CELL]:`=CELL("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Address)}", C2)`,[n.WorksheetFuncId.CHAR]:"=CHAR(65)",[n.WorksheetFuncId.COSH]:"=COSH(EXP(1))",[n.WorksheetFuncId.COTH]:"=COTH(2)",[n.WorksheetFuncId.CSCH]:"=CSCH(2)",[n.WorksheetFuncId.DATE]:"=DATE(2008,1,2)",[n.WorksheetFuncId.DAYS]:'=DAYS("3/15/2011","2/1/2011")',[n.WorksheetFuncId.DGET]:`=DGET(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:A3)`,[n.WorksheetFuncId.DMAX]:`=DMAX(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Profit)}", A1:F3)`,[n.WorksheetFuncId.DMIN]:`=DMIN(A5:E11, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Profit)}", A1:F3)`,[n.WorksheetFuncId.DSUM]:`=DSUM(A4:E10,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Profit)}", A1:F3)`,[n.WorksheetFuncId.DVAR]:`=DVAR(A4:E10, "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yield)}", A1:A3)`,[n.WorksheetFuncId.FACT]:"=FACT(5)",[n.WorksheetFuncId.FIND]:`=FIND("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.M)}",A2)`,[n.WorksheetFuncId.HOUR]:"=HOUR(0.75)",[n.WorksheetFuncId.IFNA]:`=IFNA("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NoNAError)}", "${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Error)}")`,[n.WorksheetFuncId.IPMT]:"=IPMT(10%, 3, 3, 8000)",[n.WorksheetFuncId.ISNA]:"=ISNA(#REF!)",[n.WorksheetFuncId.LEFT]:`=LEFT("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SalePrice)}",4)`,[n.WorksheetFuncId.MIRR]:"=MIRR(A2:A7, 0.1, 0.12)",[n.WorksheetFuncId.NPER]:"=NPER(0.12/12, -100, -1000, 10000, 1)",[n.WorksheetFuncId.PPMT]:"=PPMT(0.08, 10, 10, 200000)",[n.WorksheetFuncId.RAND]:"=RAND()",[n.WorksheetFuncId.RANK]:"=RANK(3.5,A2:A6,1)",[n.WorksheetFuncId.RATE]:"=RATE(4*12, -200, 8000)",[n.WorksheetFuncId.REPT]:'=REPT("*-", 3)',[n.WorksheetFuncId.ROWS]:"=ROWS(C1:E4)",[n.WorksheetFuncId.SECH]:"=SECH(0)",[n.WorksheetFuncId.SIGN]:"=SIGN(10)",[n.WorksheetFuncId.SINH]:"=SINH(2)",[n.WorksheetFuncId.SQRT]:"=SQRT(16)",[n.WorksheetFuncId.TANH]:"=TANH(0.5)",[n.WorksheetFuncId.TEXT]:'=TEXT(1234.567,"$#,##0.00")',[n.WorksheetFuncId.TIME]:"=TIME(16,48,10)",[n.WorksheetFuncId.TRIM]:`=TRIM("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FirstQuarterEarnings)}")`,[n.WorksheetFuncId.TRUE]:"=TRUE()",[n.WorksheetFuncId.TYPE]:`=TYPE("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Smith)}")`,[n.WorksheetFuncId.VARP]:"=VARP(A2:A11)",[n.WorksheetFuncId.YEAR]:"=YEAR(39634)",[n.WorksheetFuncId.INFO]:`=INFO("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numfile)}")`,[n.WorksheetFuncId.EVEN]:"=EVEN(1.5)",[n.WorksheetFuncId.FINV]:"=FINV(0.42, 2, 3)",[n.WorksheetFuncId.PROB]:"=PROB(A3:A6,B3:B6,2)",[n.WorksheetFuncId.KURT]:"=KURT(A2:A11)",[n.WorksheetFuncId.SKEW]:"=SKEW(A2:A11)",[n.WorksheetFuncId.MODE]:"=MODE(A2:A7)",[n.WorksheetFuncId.MINA]:"=MINA(A2:A6)",[n.WorksheetFuncId.MAXA]:"=MAXA(A2:A6)",[n.WorksheetFuncId.VARA]:"=VARA(1, 2)",[n.WorksheetFuncId.SORT]:"=SORT(A2:A17)",[n.WorksheetFuncId.ASIN]:"=ASIN(-0.5)",[n.WorksheetFuncId.BASE]:"=BASE(7,2)",[n.WorksheetFuncId.CODE]:`=CODE("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CodeA)}")`,[n.WorksheetFuncId.AND]:"=AND(A2>1,A2<100)",[n.WorksheetFuncId.COS]:"=COS(1.047)",[n.WorksheetFuncId.COT]:"=COT(30)",[n.WorksheetFuncId.CSC]:"=CSC(15)",[n.WorksheetFuncId.DAY]:"=DAY(40648)",[n.WorksheetFuncId.DDB]:"=DDB(2400,300,10*365,1)",[n.WorksheetFuncId.RTD]:`=RTD(mycomaddin.progid,,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ServerName)}","${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Price)}")`,[n.WorksheetFuncId.EXP]:"=EXP(1)",[n.WorksheetFuncId.INT]:"=INT(8.9)",[n.WorksheetFuncId.IRR]:"=IRR(A2:A4,-10%)",[n.WorksheetFuncId.LEN]:`=LEN("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Excel)}")`,[n.WorksheetFuncId.LOG]:"=LOG(10)",[n.WorksheetFuncId.MAX]:"=MAX(A2:A6)",[n.WorksheetFuncId.MID]:`=MID("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FluidFlow)}",1,5)`,[n.WorksheetFuncId.MIN]:"=MIN(A2:A6)",[n.WorksheetFuncId.MOD]:"=MOD(3, 2)",[n.WorksheetFuncId.NOT]:"=NOT(A2>100)",[n.WorksheetFuncId.NPV]:"=NPV(0.1, -10000, 3000, 4200, 6800)",[n.WorksheetFuncId.PMT]:"=PMT(0.08/12,10,10000)",[n.WorksheetFuncId.ROW]:"=ROW(C10)",[n.WorksheetFuncId.RRI]:"=RRI(96,10000,11000)",[n.WorksheetFuncId.SEC]:"=SEC(30)",[n.WorksheetFuncId.SIN]:"=SIN(PI())",[n.WorksheetFuncId.SLN]:"=SLN(30000, 7500, 10)",[n.WorksheetFuncId.SUM]:"=SUM(A1:A3)",[n.WorksheetFuncId.SYD]:"=SYD(30000,7500,10,1)",[n.WorksheetFuncId.TAN]:"=TAN(0.785)",[n.WorksheetFuncId.VAR]:"=VAR(A2:A11)",[n.WorksheetFuncId.VDB]:"=VDB(2400, 300, 10*365, 0, 1)",[n.WorksheetFuncId.XOR]:"=XOR(3>0,2<9)",[n.WorksheetFuncId.ODD]:"=ODD(1.5)",[n.WorksheetFuncId.PHI]:"=PHI(0.75)",[n.WorksheetFuncId.RSQ]:"=RSQ(A3:A9, B3:B9)",[n.WorksheetFuncId.IFS]:`=IFS(A2>89,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsA)}",A2>79,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsB)}",A2>69,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsC)}",A2>59,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsD)}",TRUE,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IfsF)}")`,[n.WorksheetFuncId.DB]:"=DB(1000000,100000,6,1,7)",[n.WorksheetFuncId.FV]:"=FV(0.06/12, 10, -200, -500, 1)",[n.WorksheetFuncId.IF]:`=IF(C2>B2,"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.OverBudget)}","${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WithinBudget)}")`,[n.WorksheetFuncId.LN]:"=LN(86)",[n.WorksheetFuncId.NA]:"=NA()",[n.WorksheetFuncId.OR]:"=OR(A2>1,A2<100)",[n.WorksheetFuncId.PV]:"=PV(0.08/12, 12*20, 500, , 0)",[n.WorksheetFuncId.N]:`=N(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Even)})`,[n.WorksheetFuncId.T]:`=T("${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Hello)}")`,[n.WorksheetFuncId.ACCRINT]:"=ACCRINT(39508,39691,39569,0.1,1000,2,0)",[n.WorksheetFuncId.ACCRINTM]:"=ACCRINTM(39539,39614,0.1,1000,3)",[n.WorksheetFuncId.AMORDEGRC]:"=AMORDEGRC(2400,39679,39813,300,1,0.15,1)",[n.WorksheetFuncId.AMORLINC]:"=AMORLINC(2400,39679,39813,300,1,0.15,1)",[n.WorksheetFuncId.BESSELI]:"=BESSELI(1.5,1)",[n.WorksheetFuncId.BESSELJ]:"=BESSELJ(1.9,2)",[n.WorksheetFuncId.BESSELK]:"=BESSELK(1.5,1)",[n.WorksheetFuncId.BESSELY]:"=BESSELY(2.5,1)",[n.WorksheetFuncId.BIN2DEC]:"=BIN2DEC(1100100)",[n.WorksheetFuncId.BIN2HEX]:"=BIN2HEX(11111011, 4)",[n.WorksheetFuncId.BIN2OCT]:"=BIN2OCT(1001, 3)",[n.WorksheetFuncId.COMPLEX]:'=COMPLEX(3,4,"j")',[n.WorksheetFuncId.CONVERT]:'=CONVERT(1,"lbm","kg")',[n.WorksheetFuncId.COUPDAYBS]:'=COUPDAYBS("25-Jan-2011","15-Nov-2011",2,1)',[n.WorksheetFuncId.COUPDAYS]:'=COUPDAYS("25-Jan-2011","15-Nov-2011",2,1)',[n.WorksheetFuncId.COUPDAYSNC]:'=COUPDAYSNC("25-Jan-2011","15-Nov-2011",2,1)',[n.WorksheetFuncId.COUPNCD]:'=COUPNCD("25-Jan-2011","15-Nov-2011",2,1)',[n.WorksheetFuncId.COUPNUM]:'=COUPNUM("25-Jan-2011","15-Nov-2012",2,1)',[n.WorksheetFuncId.COUPPCD]:'=COUPPCD("25-Jan-2011","15-Nov-2011",2,1)',[n.WorksheetFuncId.CUMIPMT]:"=CUMIPMT(A2/12,A3*12,A4,13,24,0)",[n.WorksheetFuncId.CUMPRINC]:"=CUMPRINC(A2/12,A3*12,A4,13,24,0)",[n.WorksheetFuncId.DEC2BIN]:"=DEC2BIN(9, 4)",[n.WorksheetFuncId.DEC2HEX]:"=DEC2HEX(100,4)",[n.WorksheetFuncId.DEC2OCT]:"=DEC2OCT(58,3)",[n.WorksheetFuncId.DELTA]:"=DELTA(5,4)",[n.WorksheetFuncId.DISC]:'=DISC("7/1/2018","1/1/2048",97.975,100,1)',[n.WorksheetFuncId.DOLLARDE]:"=DOLLARDE(1.02,16)",[n.WorksheetFuncId.DOLLARFR]:"=DOLLARFR(1.125,16)",[n.WorksheetFuncId.DURATION]:'=DURATION("7/1/2018","1/1/2048",8%,9%,2,1)',[n.WorksheetFuncId.EDATE]:'=EDATE("15-Jan-2011",1)',[n.WorksheetFuncId.EFFECT]:"=EFFECT(0.0525,4)",[n.WorksheetFuncId.EOMONTH]:'=EOMONTH("1-Jan-2011",1)',[n.WorksheetFuncId.ERF]:"=ERF(0.745)",[n.WorksheetFuncId.ERFC]:"=ERFC(1)",[n.WorksheetFuncId.FACTDOUBLE]:"=FACTDOUBLE(6)",[n.WorksheetFuncId.FORECAST_ETS]:"=FORECAST.ETS(A62,$B$4:$B$60,$A$4:$A$60,1,1)",[n.WorksheetFuncId.FORECAST_ETS_CONFINT]:"=FORECAST.ETS.CONFINT(A62,$B$4:$B$60,$A$4:$A$60,0.95,1,1)",[n.WorksheetFuncId.FORECAST_ETS_SEASONALITY]:"=FORECAST.ETS.SEASONALITY($B$4:$B$60,$A$4:$A$60,1,1)",[n.WorksheetFuncId.FORECAST_ETS_STAT]:"=FORECAST.ETS.STAT($B$4:$B$60,$A$4:$A$60,1,J48,1,1)",[n.WorksheetFuncId.FVSCHEDULE]:"=FVSCHEDULE(1,{0.09,0.11,0.1})",[n.WorksheetFuncId.GCD]:"=GCD(24,36)",[n.WorksheetFuncId.GESTEP]:"=GESTEP(5,4)",[n.WorksheetFuncId.HEX2BIN]:"=HEX2BIN(F,8)",[n.WorksheetFuncId.HEX2DEC]:"=HEX2DEC(FFFFFFFF5B)",[n.WorksheetFuncId.HEX2OCT]:"=HEX2OCT(F, 3)",[n.WorksheetFuncId.IMABS]:'=IMABS("5+12i")',[n.WorksheetFuncId.IMAGE]:'=IMAGE("https://microsoft.com/abc.jpg", "Microsoft", 0)',[n.WorksheetFuncId.IMAGINARY]:'=IMAGINARY("3+4i")',[n.WorksheetFuncId.IMARGUMENT]:'=IMARGUMENT("3+4i")',[n.WorksheetFuncId.IMCONJUGATE]:'=IMCONJUGATE("3+4i")',[n.WorksheetFuncId.IMCOS]:'=IMCOS("1+i")',[n.WorksheetFuncId.IMDIV]:'=IMDIV("-238+240i","10+24i")',[n.WorksheetFuncId.IMEXP]:'=IMEXP("1+i")',[n.WorksheetFuncId.IMLN]:'=IMLN("3+4i")',[n.WorksheetFuncId.IMLOG10]:'=IMLOG10("3+4i")',[n.WorksheetFuncId.IMLOG2]:'=IMLOG2("3+4i")',[n.WorksheetFuncId.IMPOWER]:'=IMPOWER("2+3i", 3)',[n.WorksheetFuncId.IMPRODUCT]:'=IMPRODUCT("3+4i","5-3i")',[n.WorksheetFuncId.IMREAL]:'=IMREAL("6-9i")',[n.WorksheetFuncId.IMSIN]:'=IMSIN("4+3i")',[n.WorksheetFuncId.IMSQRT]:'=IMSQRT("1+i")',[n.WorksheetFuncId.IMSUB]:'=IMSUB("13+4i","5+3i")',[n.WorksheetFuncId.IMSUM]:'=IMSUM("3+4i","5-3i")',[n.WorksheetFuncId.INTRATE]:'=INTRATE("2/15/2008","5/15/2008",1000000,1014420,2)',[n.WorksheetFuncId.ISEVEN]:"=ISEVEN(2.5)",[n.WorksheetFuncId.ISODD]:"=ISODD(2.5)",[n.WorksheetFuncId.LAMBDA]:"=LAMBDA(a, b, SQRT((a^2+b^2)))",[n.WorksheetFuncId.LET]:`=LET(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Total)}, SUM(A1:A10), ${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Count)}, COUNT(A1:A10), ${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Total)} / ${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Count)})`,[n.WorksheetFuncId.LCM]:"=LCM(5,2)",[n.WorksheetFuncId.LOG10]:"=LOG10(86)",[n.WorksheetFuncId.MDURATION]:'=MDURATION("1/1/2008","1/1/2016",8%,9%,2,1)',[n.WorksheetFuncId.MROUND]:"=MROUND(10,3)",[n.WorksheetFuncId.MULTINOMIAL]:"=MULTINOMIAL(2,3,4)",[n.WorksheetFuncId.NETWORKDAYS]:'=NETWORKDAYS("10/1/2012","3/1/2013")',[n.WorksheetFuncId.NOMINAL]:"=NOMINAL(0.053543, 4)",[n.WorksheetFuncId.NOW]:"=NOW()",[n.WorksheetFuncId.OCT2BIN]:"=OCT2BIN(3,3)",[n.WorksheetFuncId.OCT2DEC]:"=OCT2DEC(54)",[n.WorksheetFuncId.OCT2HEX]:"=OCT2HEX(100,4)",[n.WorksheetFuncId.ODDFPRICE]:'=ODDFPRICE("11/11/2008","3/1/2021","10/15/2008","3/1/2009",7.85%,6.25%,100,2,1)',[n.WorksheetFuncId.ODDFYIELD]:'=ODDFYIELD("11/11/2008","3/1/2021","10/15/2008","3/1/2009",5.75%,84.5,100,2,0)',[n.WorksheetFuncId.ODDLPRICE]:'=ODDLPRICE("2/7/2008","6/15/2008","10/15/2007",3.75%,4.05%,100,2,0)',[n.WorksheetFuncId.ODDLYIELD]:'=ODDLYIELD("4/20/2008","6/15/2008","12/24/2007",3.75%,99.875,100,2,0)',[n.WorksheetFuncId.PI]:"=PI()",[n.WorksheetFuncId.PRICE]:'=PRICE("2/15/2008","11/15/2017",5.75%,6.5%,100,2,0)',[n.WorksheetFuncId.PRICEDISC]:'=PRICEDISC("2/16/2008","3/1/2008",5.25%,100,2)',[n.WorksheetFuncId.PRICEMAT]:'=PRICEMAT("2/15/2008","4/13/2008","11/11/2007",6.1%,6.1%,0)',[n.WorksheetFuncId.QUOTIENT]:"=QUOTIENT(5,2)",[n.WorksheetFuncId.RANDBETWEEN]:"=RANDBETWEEN(1,100)",[n.WorksheetFuncId.RECEIVED]:'=RECEIVED("2/15/2008","5/15/2008",1000000,5.75%,2)',[n.WorksheetFuncId.RECURSE]:"=RECURSE()",[n.WorksheetFuncId.ROUNDDOWN]:"=ROUNDDOWN(3.14159,3)",[n.WorksheetFuncId.ROUNDUP]:"=ROUNDUP(3.14159,3)",[n.WorksheetFuncId.SERIESSUM]:"=SERIESSUM(0.785398163,0,2,A4:A7)",[n.WorksheetFuncId.SQRTPI]:"=SQRTPI(1)",[n.WorksheetFuncId.TBILLEQ]:'=TBILLEQ("3/31/2008","6/1/2008",9.14%)',[n.WorksheetFuncId.TBILLPRICE]:'=TBILLPRICE("3/31/2008","6/1/2008",9%)',[n.WorksheetFuncId.TBILLYIELD]:'=TBILLYIELD("3/31/2008","6/1/2008",98.45%)',[n.WorksheetFuncId.TINV]:"=TINV(0.05464,60)",[n.WorksheetFuncId.WEEKNUM]:'=WEEKNUM("3/9/2012",2)',[n.WorksheetFuncId.WORKDAY]:'=WORKDAY("10/1/2008",151)',[n.WorksheetFuncId.XIRR]:"=XIRR(A3:A7, B3:B7, 0.1)",[n.WorksheetFuncId.XNPV]:"=XNPV(0.09, A2:A6, B2:B6)",[n.WorksheetFuncId.YEARFRAC]:'=YEARFRAC("1/1/2012","7/30/2012")',[n.WorksheetFuncId.YIELD]:'=YIELD("2/15/2008","11/15/2016",5.75%,95.04287,100,2,0)',[n.WorksheetFuncId.YIELDDISC]:'=YIELDDISC("2/16/2008","3/1/2008",99.795,100,2)',[n.WorksheetFuncId.YIELDMAT]:'=YIELDMAT("3/15/2008","11/3/2008","11/8/2007",6.25%,100.0123,0)',[n.WorksheetFuncId.TEXTSPLIT]:'=TEXTSPLIT("1,2,3;4,5,6",",",";")',[n.WorksheetFuncId.TEXTBEFORE]:'=TEXTBEFORE("Red riding hood\'s, red hood", "hood")',[n.WorksheetFuncId.TEXTAFTER]:'=TEXTAFTER("Red riding hood\'s, red hood", "hood")',[n.WorksheetFuncId.VSTACK]:"=VSTACK({1,2},{3,4},5)",[n.WorksheetFuncId.HSTACK]:"=HSTACK({1;2},{3;4},5)",[n.WorksheetFuncId.MAP]:"=MAP(A1:C2, LAMBDA(a, IF(a>4,a*a,a)))",[n.WorksheetFuncId.WRAPROWS]:"=WRAPROWS(A2:G2,3)",[n.WorksheetFuncId.SCAN]:"=SCAN(1, A1:C2, LAMBDA(a,b,a*b))",[n.WorksheetFuncId.MAKEARRAY]:"=MAKEARRAY(3, 3, LAMBDA(row,col, row*col))",[n.WorksheetFuncId.REDUCE]:"=REDUCE(, A1:C2, LAMBDA(a,b,a+b^2))",[n.WorksheetFuncId.NORMSDIST]:"=NORMDIST(A2,A3,A4,TRUE)",[n.WorksheetFuncId.CHOOSEROWS]:"=CHOOSEROWS(A2:B7,1,3,5,1)",[n.WorksheetFuncId.CHOOSECOLS]:"=CHOOSECOLS(A2:E7,1,3,5,1)",[n.WorksheetFuncId.DROP]:"=DROP(A2:C4,2)",[n.WorksheetFuncId.WRAPCOLS]:"=WRAPCOLS(A2:F2,3)",[n.WorksheetFuncId.TOCOL]:"=TOCOL(A2:D4)",[n.WorksheetFuncId.TAKE]:"=TAKE(A2:C4,2)",[n.WorksheetFuncId.TOROW]:"=TOROW(A2:D4)",[n.WorksheetFuncId.BYCOL]:`=BYCOL(A1:C2, LAMBDA(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Array)}, MAX(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Array)})))`,[n.WorksheetFuncId.BYROW]:`=BYROW(A1:C2, LAMBDA(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Array)}, MAX(${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Array)})))`,[n.WorksheetFuncId.EXPAND]:"=EXPAND(A2:B3,3,3)",[n.WorksheetFuncId.DBCS]:'=DBCS("EXCEL")',[n.WorksheetFuncId.ASC]:'=ASC("EXCEL")',[n.WorksheetFuncId.LENB]:'=LENB("EXCEL")',[n.WorksheetFuncId.FURIGANA]:"=PHONETIC(C4)",[n.WorksheetFuncId.ISOMITTED]:`=LAMBDA(x,y, IF(ISOMITTED(y),"${FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MissingSecondArgument)}",x+y))(1,)`,[n.WorksheetFuncId.MIDB]:"=MIDB(A2,7,20)",[n.WorksheetFuncId.RIGHTB]:"=RIGHTB(A2,7)"})))},14673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationDefinitionsMap=t.RegisterAnnotation=t.alFeatureNamePrefix=void 0;const n=r(52123),o=r(84354),i=r(21693),a=r(15051),s=r(61774);t.alFeatureNamePrefix="x10";const l={[s.ALAnnotationKind.FormulaByExample]:{annotationType:a.FormulaByExampleAnnotation,isModelRequired:!1},[s.ALAnnotationKind.CalculatedColumnSuggestion]:{annotationType:i.CalculatedColumnSuggestion,isModelRequired:!0},[s.ALAnnotationKind.FormulaByExamplePreview]:{annotationType:a.FormulaByExamplePreviewAnnotation,isModelRequired:!1},[s.ALAnnotationKind.FormulaCompletionFormulaAnnotation]:{annotationType:o.FormulaCompletionFormulaAnnotation,isModelRequired:!0},[s.ALAnnotationKind.FormulaCompletionBlockedAnnotation]:{annotationType:o.FormulaCompletionBlockedAnnotation,isModelRequired:!0},[s.ALAnnotationKind.FormulaCompletionValuePreviewAnnotation]:{annotationType:o.FormulaCompletionValuePreviewAnnotation,isModelRequired:!0}};t.RegisterAnnotation={[s.ALAnnotationKind.FormulaByExample]:!0,[s.ALAnnotationKind.CalculatedColumnSuggestion]:!0,[s.ALAnnotationKind.FormulaByExamplePreview]:!0,[s.ALAnnotationKind.FormulaCompletionFormulaAnnotation]:!0,[s.ALAnnotationKind.FormulaCompletionBlockedAnnotation]:!0,[s.ALAnnotationKind.FormulaCompletionValuePreviewAnnotation]:!0},t.AnnotationDefinitionsMap=(0,n.mapFromArrayOfPairs)((0,n.strEnumArray)(s.ALAnnotationKind).map((e=>[e,{annotationName:l[e].annotationType.getTypeName(),featureName:`${t.alFeatureNamePrefix}_${e}`,isModelRequired:l[e].isModelRequired}])))},60746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AugLoopService=void 0;const n=r(52123),o=r(44663),i=r(14673),a=r(98088),s=r(61774);t.AugLoopService=class{async registerALAnnotation(e){const t=this.registerAnnotationCallbacks[e].getValue();return"Failure"===(await t).kind&&this.registerAnnotationCallbacks[e].reset(),t}async sendSignal(e,t){try{const r=await this.augLoopInterop.sendSignal(e,`${i.alFeatureNamePrefix}_${o.PluginFactoryName[t]}`);return(0,n.isDefined)(r)?(0,n.success)(r):(0,n.failure)(r)}catch(e){return(0,n.failure)(e)}}constructor(e){this.augLoopInterop=e,this.registerAnnotationCallbacks=(0,n.mapFromArrayOfPairs)((0,n.strEnumArray)(s.ALAnnotationKind).map((e=>[e,new a.ResettableLazy((async()=>{try{const t=i.AnnotationDefinitionsMap[e],r=await this.augLoopInterop.registerOnAnnotation(s.ALAnnotationKind[e],t.annotationName,t.featureName,t.isModelRequired);return(0,n.success)(r)}catch(e){return(0,n.failure)(e)}}))])))}}},25322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.speedUnitTypeEnums=t.informationUnitTypeEnums=t.areaUnitTypeEnums=t.volumeUnitTypeEnums=t.temperatureUnitTypeEnums=t.magnetismUnitTypeEnums=t.powerUnitTypeEnums=t.energyUnitTypeEnums=t.forceUnitTypeEnums=t.pressureUnitTypeEnums=t.timeUnitTypeEnums=t.distanceUnitTypeEnums=t.massUnitTypeEnums=void 0,t.getConvertEnum=function(e,t,r,n){const i=o.getValue().map((e=>e.getValue())),a=[].concat(...i);if(2===e)return a;if(3===e){const e=function(e,t,r){const n=e.spans[r[1].label].start,i=e.spans[r[1].label].end,a=t.substring(n,i).replace(/^"|"$/g,"")??"";if(""===a)return[];for(const e of o.getValue())if(e.getValue().find((e=>e.value===a)))return e.getValue();return[]}(t,r,n);return e.length>0?e:a}return[]};const n=r(98088);t.massUnitTypeEnums=new n.ResettableLazy((()=>[{value:"g",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Gram)},{value:"sg",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Slug)},{value:"lbm",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PoundM)},{value:"u",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Atomic)},{value:"ozm",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ozm)},{value:"grain",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Grain)},{value:"cwt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CWeight)},{value:"uk_cwt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CWeightUk)},{value:"stone",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Stone)},{value:"ton",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ton)},{value:"uk_ton",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TonUk)}])),t.distanceUnitTypeEnums=new n.ResettableLazy((()=>[{value:"m",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Meter)},{value:"mi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SMile)},{value:"Nmi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NMile)},{value:"in",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Inch)},{value:"ft",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ft)},{value:"yd",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yd)},{value:"ang",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Angs)},{value:"Pica",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Pica)},{value:"ell",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ell)},{value:"ly",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LightYr)},{value:"parsec",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Parsec)},{value:"survey_mi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MileUs)}])),t.timeUnitTypeEnums=new n.ResettableLazy((()=>[{value:"yr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Yr)},{value:"day",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Day)},{value:"hr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Hour)},{value:"mn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Minute)},{value:"sec",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sec)}])),t.pressureUnitTypeEnums=new n.ResettableLazy((()=>[{value:"Pa",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Pascal)},{value:"atm",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Atmos)},{value:"mmHg",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Merc)},{value:"psi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Psi)},{value:"Torr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Torr)}])),t.forceUnitTypeEnums=new n.ResettableLazy((()=>[{value:"N",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Newton)},{value:"dyn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Dyne)},{value:"lbf",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PoundF)},{value:"pond",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Pond)}])),t.energyUnitTypeEnums=new n.ResettableLazy((()=>[{value:"J",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Joule)},{value:"e",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Erg)},{value:"cal",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ItCal)},{value:"eV",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volt)},{value:"HPh",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.HorsePwHr)},{value:"Wh",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WattHr)},{value:"flb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FtPound)},{value:"BTU",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Btu)},{value:"c",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThermCal)}])),t.powerUnitTypeEnums=new n.ResettableLazy((()=>[{value:"HP",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.HorsePw)},{value:"W",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Watt)},{value:"PS",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.HorseStr)}])),t.magnetismUnitTypeEnums=new n.ResettableLazy((()=>[{value:"T",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tessla)},{value:"ga",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Gauss)}])),t.temperatureUnitTypeEnums=new n.ResettableLazy((()=>[{value:"C",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Cels)},{value:"F",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Fahr)},{value:"K",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Kelv)},{value:"Rank",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Rankine)},{value:"Reau",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Reaumur)}])),t.volumeUnitTypeEnums=new n.ResettableLazy((()=>[{value:"tsp",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tsp)},{value:"tbs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tbs)},{value:"oz",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Oz)},{value:"cup",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Cup)},{value:"qt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.QuartUs)},{value:"gal",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Gal)},{value:"l",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Liter)},{value:"uk_pt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PintUk)},{value:"us_pt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PintUs)},{value:"ang^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AngsPow3)},{value:"barrel",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Barrel)},{value:"bushel",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Bushel)},{value:"ft^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FootPow3)},{value:"GRT",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegTon)},{value:"in^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.InchPow3)},{value:"ly^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LightYrPow3)},{value:"mi^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SMilePow3)},{value:"MTON",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MeasTon)},{value:"Nmi^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NMilePow3)},{value:"Pica^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PicaPow3)},{value:"tspm",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MdnTsp)},{value:"uk_gal",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.GalUk)},{value:"yd^3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.YdPow3)},{value:"uk_qt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.QuartUk)}])),t.areaUnitTypeEnums=new n.ResettableLazy((()=>[{value:"uk_acre",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AcreUk)},{value:"us_acre",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AcreUs)},{value:"ang^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AngsPow2)},{value:"ar",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Are)},{value:"ft^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FootPow2)},{value:"ha",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Hectare)},{value:"in^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.InchPow2)},{value:"ly^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LightYrPow2)},{value:"m^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MeterPow2)},{value:"Morgen",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Morgen)},{value:"mi^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SMilePow2)},{value:"Nmi^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NMilePow2)},{value:"Pica^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PicaPow2)},{value:"yd^2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.YdPow2)}])),t.informationUnitTypeEnums=new n.ResettableLazy((()=>[{value:"bit",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Bit)},{value:"byte",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Byte)}])),t.speedUnitTypeEnums=new n.ResettableLazy((()=>[{value:"admkn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AdmKnot)},{value:"kn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Knot)},{value:"m/hr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MSlashHr)},{value:"m/sec",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MSlashSec)},{value:"mph",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MPH)}]));const o=new n.ResettableLazy((()=>[t.massUnitTypeEnums,t.distanceUnitTypeEnums,t.timeUnitTypeEnums,t.pressureUnitTypeEnums,t.forceUnitTypeEnums,t.energyUnitTypeEnums,t.powerUnitTypeEnums,t.magnetismUnitTypeEnums,t.temperatureUnitTypeEnums,t.volumeUnitTypeEnums,t.areaUnitTypeEnums,t.informationUnitTypeEnums,t.speedUnitTypeEnums]))},31315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteEnumPluginDependenciesResolved=t.AutocompleteEnumPlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(25322),u=r(62971),c=r(81188),d=r(2548),p=r(58737),h=r(92787),g=r(89500),m=r(54855),f=r(22091),v=g.PluginRegistry.create(s.PluginFactoryName.AutocompleteEnumPlugin,s.PluginGroup.Excel);let b=(()=>{let e,t,r,p=[v.x10Plugin()],h=[],g=[];return t=class{isUserDefinedEnumFeatureEnabled(){return(0,o.getTypedFeatureGate)("Microsoft.Office.Excel.AutoCompleteUserDefinedEnum")}*run(e){const t=yield{kind:"ParseActiveCell",formulaText:e.content};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value;let n;if(this.isUserDefinedEnumFeatureEnabled()){const e=yield{kind:"GetFunctionsInfo"};if("GetFunctionsInfo"!==e.kind)return this.logFailure("failed to get functions info"),null;n=e.functionsInfo.filter((e=>e.IsDynamicUdf&&e.CustomEnums.length>0))}const s=new c.AutoCompleteEnumVisitor(r,e.caretPosition,n);if((0,i.reduceBottomUp)(s,r),void 0===s.stringStartPosition||void 0===s.stringEndPosition||void 0===s.functionHead&&void 0===s.customFunctionName||void 0===s.argIndex||void 0===s.functionArgs||s.isInsideArrayNode)return null;const d=s.argIndex+1,{stringStartPosition:p,stringEndPosition:h,functionHead:g,customFunctionName:m}=s,f=e.caretPosition===h?e.content.substring(p,h).toUpperCase():"";let v,b=!1;if(this.isUserDefinedEnumFeatureEnabled()&&void 0!==m&&void 0!==n){const e=n.find((e=>e.NameDataStrings===m));if(!e)return this.logFailure("can't get custom function info by function name"),null;const{udfEnumInfo:t,isStringTypeEnum:r}=this.getUdfParamEnumInfoByArg(d,e);b=r,v=t,void 0!==v&&i.ulsLogger.ULS.traceTag(505759755,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,"Autocompleted with custom enum")}else if(void 0!==g)if(g.id===i.WorksheetFuncId.CONVERT)v=(0,l.getConvertEnum)(d,r,e.content,s.functionArgs);else{const e=u.functionEnums.getValue();v=this.getEnumInfoByArg(d,e,g.id)}if((0,o.isNone)(v))return null;const y=yield{kind:"GetConfig"};if("GetConfig"!==y.kind)return this.logFailure("failed to get config"),null;const S=y.config.localeInfo,C=this.getLocalizedEnumInfo(v,S);if(0===C.length)return this.logFailure("failed to get enum info for values/descriptions"),null;const{prefixedEnumInfo:T,notPrefixedEnumInfo:k}=this.getFilteredEnumInfo(f,C,g?.id),F=this.shouldAddDoubleQuotes(g?.id)||b;return{items:[...this.generateCompletionItems(T,p,h,!0,F),...this.generateCompletionItems(k,p,h,!1,F)]}}generateCompletionItems(e,t,r,n,o){return e.map((e=>{const i=o?`"${e.value}"`:e.value;return{label:i,kind:s.CompletionItemKind.Enum,type:s.SuggestionKind.Simple,detail:e.description,textEdit:{newText:i,range:{start:{line:0,character:t},end:{line:0,character:r}}},isPrefixed:n}}))}getFilteredEnumInfo(e,t,r){let n=[],o=[];const i=e.replace(/^"|"$/g,"");if(this.shouldAddDoubleQuotes(r)&&e.endsWith('"')&&e.startsWith('"'))n=t.filter((e=>e.value.toUpperCase()===i));else{const e=(0,f.filterSuggestionsAccordingToPrefix)(i,t,(e=>e.value));n=e.prefixedSuggestions,o=e.notPrefixedSuggestions}return 0===n.length&&0===o.length&&o.push(...t),{prefixedEnumInfo:n,notPrefixedEnumInfo:o}}getEnumInfoByArg(e,t,r){const n=t[r];if(!(0,o.isNone)(n))return n[e]}getUdfParamEnumInfoByArg(e,t){const r=e=>!(null==e||!Array.isArray(e))&&e.every((e=>"object"==typeof e&&null!==e&&"value"in e&&"string"==typeof e.value));if(""===t.CustomEnums)return this.logFailure("CustomEnums is empty"),{udfEnumInfo:void 0,isStringTypeEnum:!1};let n=!1,o=0;try{const i=JSON.parse(t.CustomEnums);for(const t of Object.keys(i)){"isLastParamRepeating"===t&&(n=i[t]);const a=Number(t);if(!isNaN(a)){if(e===a){const e=i[t];return{udfEnumInfo:e,isStringTypeEnum:r(e)}}o=Math.max(o,a)}}if(n&&e>o){const e=i[o];return{udfEnumInfo:e,isStringTypeEnum:r(e)}}}catch(e){this.logFailure("Failed to parse custom enums: "+e)}return{udfEnumInfo:void 0,isStringTypeEnum:!1}}getLocalizedEnumInfo(e,t){const r=e.map((e=>({value:"function"==typeof e.value?e.value(t):e.value,description:"function"==typeof e.description?e.description(t):e.description}))),n=r.length,o=r.filter((e=>{const{value:t,description:r}=e;return void 0!==t&&void 0!==r&&""!==t&&"undefined"!==t}));return e.length!==n&&this.logFailure("failed to get enum info for some values"),o}shouldAddDoubleQuotes(e){return e===i.WorksheetFuncId.COMPLEX||e===i.WorksheetFuncId.INFO||e===i.WorksheetFuncId.CONVERT||e===i.WorksheetFuncId.CELL||e===i.WorksheetFuncId.TRANSLATE}logFailure(e){i.ulsLogger.ULS.traceTag(508350686,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`AutocompleteEnumPlugin encountered a failure with msg ${e}`)}constructor(){n.__runInitializers(this,g)}},n.__setFunctionName(t,"AutocompleteEnumPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[v.uiMessageHandler({kind:d.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,g),n.__esDecorate(null,e={value:t},p,{kind:"class",name:t.name,metadata:o},null,h),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=v.injectPluginFactory(),n.__runInitializers(t,h),t})();t.AutocompleteEnumPlugin=b,(0,p.registerPlugin)(b),t.autocompleteEnumPluginDependenciesResolved=(0,m.trackableAsyncLazy)((async()=>{const e=await h.autoCompletePluginsThread.getValue();await e.loadPluginScript("formula-authoring-strings",!0),await e.createAndAttachPlugin(s.PluginFactoryName.AutocompleteEnumPlugin),await h.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteEnumPluginDependenciesResolved")},81188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoCompleteEnumVisitor=void 0;const n=r(52123),o=r(85882),i=r(78982);class a extends i.CaretInsideArrayNodeIdentityVisitor{isUserDefinedEnumFeatureEnabled(){return(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.AutoCompleteUserDefinedEnum")}appNode(e,t,r,n){return this.isUserDefinedEnumFeatureEnabled()&&e.kind===o.NodeKind.Name&&this.dynamicUdfFunctionNameSet.has(e.whole)&&(this.customFunctionName=e.whole),void 0===this.customFunctionName&&e.kind!==o.NodeKind.WSF||this.updateAssistedFunctionAndArgIndex(e,t),super.appNode(e,t,r,n)}updateAssistedFunctionAndArgIndex(e,t){for(let r=0;r<t.length;r++){const n=this.parsedFormulaTree.spans[t[r].label];if(n&&n.start-n.pre.length<=this.caretPosition&&this.caretPosition<=n.end+n.post.length&&void 0===this.functionHead){e.kind===o.NodeKind.WSF&&(this.functionHead=e),this.argIndex=r,this.functionArgs=t,this.stringStartPosition=n.start,this.stringEndPosition=n.end;break}}}constructor(e,t,r){super(e,t),this.dynamicUdfFunctionNameSet=new Set(r?.map((e=>e.NameDataStrings)))}}t.AutoCompleteEnumVisitor=a},62971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.functionEnums=void 0;const n=r(85882),o=r(98088);t.functionEnums=new o.ResettableLazy((()=>({[n.WorksheetFuncId.ERROR_TYPE]:{1:[{value:e=>e.errorNames[n.ErrorType.NULL]??"",description:n.ErrorType.NULL.toString()},{value:e=>e.errorNames[n.ErrorType.DIV0]??"",description:n.ErrorType.DIV0.toString()},{value:e=>e.errorNames[n.ErrorType.VALUE]??"",description:n.ErrorType.VALUE.toString()},{value:e=>e.errorNames[n.ErrorType.REF]??"",description:n.ErrorType.REF.toString()},{value:e=>e.errorNames[n.ErrorType.NAME]??"",description:n.ErrorType.NAME.toString()},{value:e=>e.errorNames[n.ErrorType.NUM]??"",description:n.ErrorType.NUM.toString()},{value:e=>e.errorNames[n.ErrorType.NA]??"",description:n.ErrorType.NA.toString()}]},[n.WorksheetFuncId.SUBTOTAL]:{1:[{value:"1",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"2",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"3",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"4",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"5",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"6",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.PRODUCT)},{value:"7",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.STDEV)},{value:"8",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.STDEVP)},{value:"9",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)},{value:"10",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.VAR)},{value:"11",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.VARP)},{value:"101",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"102",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"103",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"104",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"105",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"106",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.PRODUCT)},{value:"107",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.STDEV)},{value:"108",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.STDEVP)},{value:"109",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)},{value:"110",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.VAR)},{value:"111",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.VARP)}]},[n.WorksheetFuncId.AGGREGATE]:{1:[{value:"1",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"2",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"3",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"4",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"5",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"6",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.PRODUCT)},{value:"7",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.STDEV)},{value:"8",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.STDEVP)},{value:"9",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)},{value:"10",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.VAR)},{value:"11",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.VARP)},{value:"12",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MEDIAN)},{value:"13",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MODE_SNGL)},{value:"14",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.LARGE)},{value:"15",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SMALL)},{value:"16",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.PERCENTILE_INC)},{value:"17",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.QUARTILE_INC)},{value:"18",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.PERCENTILE_EXC)},{value:"19",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.QUARTILE_EXC)}],2:[{value:"0",description:e=>FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreNestedSUBTOTALandAGGREGATEfunctions).replace("{0}",e.getWorksheetFuncName(n.WorksheetFuncId.SUBTOTAL)).replace("{1}",e.getWorksheetFuncName(n.WorksheetFuncId.AGGREGATE))},{value:"1",description:e=>FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreHiddenRowsNestedSUBTOTALandAGGREGATEfunctions).replace("{0}",e.getWorksheetFuncName(n.WorksheetFuncId.SUBTOTAL)).replace("{1}",e.getWorksheetFuncName(n.WorksheetFuncId.AGGREGATE))},{value:"2",description:e=>FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreErrorValuesNestedSUBTOTALandAGGREGATEfunctions).replace("{0}",e.getWorksheetFuncName(n.WorksheetFuncId.SUBTOTAL)).replace("{1}",e.getWorksheetFuncName(n.WorksheetFuncId.AGGREGATE))},{value:"3",description:e=>FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreHiddenRowsErrorValuesNestedSUBTOTALandAGGREGATEfunctions).replace("{0}",e.getWorksheetFuncName(n.WorksheetFuncId.SUBTOTAL)).replace("{1}",e.getWorksheetFuncName(n.WorksheetFuncId.AGGREGATE))},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreNothing)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreHiddenRows)},{value:"6",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreErrorValues)},{value:"7",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreHiddenRowsErrorValues)}]},[n.WorksheetFuncId.CUBESET]:{4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.None)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ascending)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Descending)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AlphaAscending)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AlphaDescending)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NaturalAscending)},{value:"6",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NaturalDescending)}]},[n.WorksheetFuncId.VLOOKUP]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ApproximateMatch)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatch)}]},[n.WorksheetFuncId.HLOOKUP]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ApproximateMatch)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatch)}]},[n.WorksheetFuncId.XLOOKUP]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatch)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatchOrNextSmallerItem)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatchOrNextLargerItem)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WildcardCharacterMatch)}],6:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SearchFirstToLast)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SearchLastToFirst)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BinarySearchAscending)},{value:"-2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BinarySearchDescending)}]},[n.WorksheetFuncId.RANK]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Descending)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ascending)}]},[n.WorksheetFuncId.RANK_AVG]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Descending)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ascending)}]},[n.WorksheetFuncId.RANK_EQ]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Descending)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ascending)}]},[n.WorksheetFuncId.MATCH]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LessThan)},{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatch)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.GreaterThan)}]},[n.WorksheetFuncId.XMATCH]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatch)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatchOrNextSmallerItem)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ExactMatchOrNextLargerItem)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WildcardCharacterMatch)}],4:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SearchFirstToLast)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SearchLastToFirst)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BinarySearchAscending)},{value:"-2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BinarySearchDescending)}]},[n.WorksheetFuncId.FINDN]:{4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseInsensitiveMatch)}],5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DontMatchToEnd)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MatchToEnd)}],7:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnsTheFirstCharacterPositionOfTheString)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnsTheLastCharacterPositionOfTheString)}]},[n.WorksheetFuncId.TEXTBEFORE]:{4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseInsensitiveMatch)}],5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DontMatchToEnd)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MatchToEnd)}]},[n.WorksheetFuncId.TEXTAFTER]:{4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseInsensitiveMatch)}],5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DontMatchToEnd)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MatchToEnd)}]},[n.WorksheetFuncId.TEXTSPLIT]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreEmptyCells)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IncludeEmptyCells)}],5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CaseInsensitiveMatch)}]},[n.WorksheetFuncId.ACCRINT]:{6:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],7:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.ACCRINTM]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.ADDRESS]:{4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.R1C1Style)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.A1Style)}],3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Absolute)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AbsoluteRowRelativeColumn)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RelativeRowAbsoluteColumn)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Relative)}]},[n.WorksheetFuncId.AMORDEGRC]:{7:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.AMORLINC]:{7:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.BETA_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.BINOMDIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.BINOM_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.CHISQ_DIST]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.COMPLEX]:{3:[{value:"i",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ISuffixDescriptionForComplexNumber)},{value:"j",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.JSuffixDescriptionForComplexNumber)}]},[n.WorksheetFuncId.COUPDAYBS]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.COUPDAYS]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.COUPDAYSNC]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.COUPNCD]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.COUPNUM]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.COUPPCD]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.CUMIPMT]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.CUMPRINC]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.DAYS360]:{3:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASDMethod)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EuropeanMethod)}]},[n.WorksheetFuncId.DISC]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.DURATION]:{5:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.EXPONDIST]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.EXPON_DIST]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.F_DIST]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.FIXED]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.PreventCommas)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DoNotPreventCommas)}]},[n.WorksheetFuncId.FV]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.GAMMADIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.GAMMA_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.HYPGEOM_DIST]:{5:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.INDIRECT]:{2:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.A1Style)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.R1C1Style)}]},[n.WorksheetFuncId.INTRATE]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.IPMT]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.LINEST]:{3:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsSetEqualTo0)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsCalculatedNormally)}],4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnAdditionalRegressionStatistics)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DoNotReturnAdditionalRegressionStatistics)}]},[n.WorksheetFuncId.LOGEST]:{3:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsSetEqualTo0)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsCalculatedNormally)}],4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnAdditionalRegressionStatistics)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DoNotReturnAdditionalRegressionStatistics)}]},[n.WorksheetFuncId.LOGNORM_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.MDURATION]:{5:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.NEGBINOM_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.NORM_S_DIST]:{2:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.NORMDIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.NORM_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.NPER]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.ODDFPRICE]:{8:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],9:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.ODDFYIELD]:{8:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],9:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.ODDLPRICE]:{7:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],8:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.ODDLYIELD]:{7:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],8:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.PMT]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.POISSON]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.POISSON_DIST]:{3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.probabilityMassFunction)}]},[n.WorksheetFuncId.PPMT]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.PRICE]:{6:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],7:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.PRICEDISC]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.PRICEMAT]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.QUARTILE]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MinimumValue)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FirstQuartile)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MedianValue)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThirdQuartile)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MaximumValue)}]},[n.WorksheetFuncId.QUARTILE_INC]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MinimumValue)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FirstQuartile)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MedianValue)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThirdQuartile)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MaximumValue)}]},[n.WorksheetFuncId.QUARTILE_EXC]:{2:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FirstQuartile)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MedianValue)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThirdQuartile)}]},[n.WorksheetFuncId.RATE]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.RECEIVED]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.REGEXEXTRACT]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexExtractMode0)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexExtractMode1)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexExtractMode2)}],4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexCaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexCaseInsensitiveMatch)}]},[n.WorksheetFuncId.REGEXREPLACE]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexCaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexCaseInsensitiveMatch)}]},[n.WorksheetFuncId.REGEXTEST]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexCaseSensitiveMatch)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RegexCaseInsensitiveMatch)}]},[n.WorksheetFuncId.ROMAN]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Classic)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MoreConcise)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MoreConcise)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MoreConcise)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Simplified)}]},[n.WorksheetFuncId.STOCKHISTORY]:{4:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Daily)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Weekly)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Monthly)}],5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.NoHeader)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Showheader)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ShowInstrumentIdentifierAndHeader)}],6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Date)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Close)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Open)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.High)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Low)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volume)}],7:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Date)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Close)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Open)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.High)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Low)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volume)}],8:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Date)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Close)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Open)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.High)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Low)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volume)}],9:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Date)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Close)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Open)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.High)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Low)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volume)}],10:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Date)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Close)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Open)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.High)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Low)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volume)}],11:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Date)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Close)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Open)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.High)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Low)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Volume)}]},[n.WorksheetFuncId.TRANSLATE]:{2:[{value:"af",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAF)},{value:"sq",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSQ)},{value:"am",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAM)},{value:"ar",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAR)},{value:"hy",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHY)},{value:"as",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAS)},{value:"az",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAZ)},{value:"bn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBN)},{value:"ba",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBA)},{value:"eu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameEU)},{value:"bho",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBHO)},{value:"brx",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBRX)},{value:"bs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBOSNIAN)},{value:"bg",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBG)},{value:"yue",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameYUE)},{value:"ca",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameCA)},{value:"hne",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHNE)},{value:"lzh",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLZH)},{value:"zh-chs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameZH_CHS)},{value:"zh-cht",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameZH_CHT)},{value:"hr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHR)},{value:"cs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameCS)},{value:"da",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDA)},{value:"prs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePRS)},{value:"dv",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDV)},{value:"doi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDOI)},{value:"nl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNL)},{value:"en",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameEN)},{value:"et",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameET)},{value:"fo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFO)},{value:"fj",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFJ)},{value:"fil",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFIL)},{value:"fi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFI)},{value:"fr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFR)},{value:"fr-ca",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFR_CA)},{value:"gl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGL)},{value:"lug",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLUG)},{value:"ka",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKA)},{value:"de",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDE)},{value:"el",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameEL)},{value:"gu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGU)},{value:"ht",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHT)},{value:"ha",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHA)},{value:"he",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHE)},{value:"hi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHI)},{value:"mww",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMWW)},{value:"hu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHU)},{value:"is",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIS)},{value:"ig",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIG)},{value:"id",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameID)},{value:"ikt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIKT)},{value:"iu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIU)},{value:"iu-latn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIU_LATN)},{value:"ga",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGA)},{value:"it",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIT)},{value:"ja",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameJA)},{value:"kn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKN)},{value:"ks",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKS)},{value:"kk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKK)},{value:"km",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKM)},{value:"rw",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRW)},{value:"tlh-Latn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTLHLATN)},{value:"tlh-Piqd",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTLHPIQD)},{value:"gom",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGOM)},{value:"ko",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKO)},{value:"ku",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKU)},{value:"kmr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKMR)},{value:"ky",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKY)},{value:"lo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLO)},{value:"lv",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLV)},{value:"ln",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLN)},{value:"lt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLT)},{value:"dsb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDSB)},{value:"mk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMK)},{value:"mai",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMAI)},{value:"mg",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMG)},{value:"ms",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMS)},{value:"ml",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameML)},{value:"mt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMT)},{value:"mni",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMNI)},{value:"mr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMR)},{value:"mn-cyrl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMN_CYRL)},{value:"mn-mong",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMN_MONG)},{value:"my",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMY)},{value:"mi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMI)},{value:"ne",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNE)},{value:"nb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNB)},{value:"nya",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNYA)},{value:"or",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameOR)},{value:"ps",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePS)},{value:"fa",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFA)},{value:"pl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePL)},{value:"pt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePT)},{value:"pt-pt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePT_PT)},{value:"pa",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePA)},{value:"otq",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameOTQ)},{value:"ro",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRO)},{value:"run",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRUN)},{value:"ru",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRU)},{value:"sm",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSM)},{value:"sr-cyrl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSR_CYRL)},{value:"sr-latn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSR_LATN)},{value:"st",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameST)},{value:"nso",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNSO)},{value:"tn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTN)},{value:"sn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSN)},{value:"sd",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSD)},{value:"si",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSI)},{value:"sk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSK)},{value:"sl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSL)},{value:"so",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSO)},{value:"es",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameES)},{value:"sw",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSW)},{value:"sv",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSV)},{value:"ty",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTY)},{value:"ta",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTA)},{value:"tt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTT)},{value:"te",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTE)},{value:"th",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTH)},{value:"bo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBO)},{value:"ti",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTI)},{value:"to",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTO)},{value:"tr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTR)},{value:"tk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTK)},{value:"uk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUK)},{value:"hsb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHSB)},{value:"ur",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUR)},{value:"ug",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUG)},{value:"uz",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUZ)},{value:"vi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameVI)},{value:"cy",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameCY)},{value:"xh",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameXH)},{value:"yo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameYO)},{value:"yua",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameYUA)},{value:"zu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameZU)}],3:[{value:"af",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAF)},{value:"sq",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSQ)},{value:"am",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAM)},{value:"ar",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAR)},{value:"hy",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHY)},{value:"as",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAS)},{value:"az",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameAZ)},{value:"bn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBN)},{value:"ba",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBA)},{value:"eu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameEU)},{value:"bho",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBHO)},{value:"brx",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBRX)},{value:"bs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBOSNIAN)},{value:"bg",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBG)},{value:"yue",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameYUE)},{value:"ca",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameCA)},{value:"hne",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHNE)},{value:"lzh",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLZH)},{value:"zh-chs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameZH_CHS)},{value:"zh-cht",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameZH_CHT)},{value:"hr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHR)},{value:"cs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameCS)},{value:"da",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDA)},{value:"prs",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePRS)},{value:"dv",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDV)},{value:"doi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDOI)},{value:"nl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNL)},{value:"en",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameEN)},{value:"et",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameET)},{value:"fo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFO)},{value:"fj",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFJ)},{value:"fil",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFIL)},{value:"fi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFI)},{value:"fr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFR)},{value:"fr-ca",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFR_CA)},{value:"gl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGL)},{value:"lug",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLUG)},{value:"ka",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKA)},{value:"de",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDE)},{value:"el",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameEL)},{value:"gu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGU)},{value:"ht",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHT)},{value:"ha",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHA)},{value:"he",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHE)},{value:"hi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHI)},{value:"mww",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMWW)},{value:"hu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHU)},{value:"is",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIS)},{value:"ig",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIG)},{value:"id",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameID)},{value:"ikt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIKT)},{value:"iu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIU)},{value:"iu-latn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIU_LATN)},{value:"ga",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGA)},{value:"it",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameIT)},{value:"ja",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameJA)},{value:"kn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKN)},{value:"ks",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKS)},{value:"kk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKK)},{value:"km",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKM)},{value:"rw",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRW)},{value:"tlh-Latn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTLHLATN)},{value:"tlh-Piqd",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTLHPIQD)},{value:"gom",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameGOM)},{value:"ko",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKO)},{value:"ku",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKU)},{value:"kmr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKMR)},{value:"ky",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameKY)},{value:"lo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLO)},{value:"lv",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLV)},{value:"ln",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLN)},{value:"lt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameLT)},{value:"dsb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameDSB)},{value:"mk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMK)},{value:"mai",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMAI)},{value:"mg",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMG)},{value:"ms",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMS)},{value:"ml",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameML)},{value:"mt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMT)},{value:"mni",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMNI)},{value:"mr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMR)},{value:"mn-cyrl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMN_CYRL)},{value:"mn-mong",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMN_MONG)},{value:"my",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMY)},{value:"mi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameMI)},{value:"ne",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNE)},{value:"nb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNB)},{value:"nya",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNYA)},{value:"or",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameOR)},{value:"ps",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePS)},{value:"fa",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameFA)},{value:"pl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePL)},{value:"pt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePT)},{value:"pt-pt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePT_PT)},{value:"pa",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNamePA)},{value:"otq",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameOTQ)},{value:"ro",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRO)},{value:"run",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRUN)},{value:"ru",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameRU)},{value:"sm",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSM)},{value:"sr-cyrl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSR_CYRL)},{value:"sr-latn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSR_LATN)},{value:"st",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameST)},{value:"nso",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameNSO)},{value:"tn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTN)},{value:"sn",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSN)},{value:"sd",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSD)},{value:"si",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSI)},{value:"sk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSK)},{value:"sl",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSL)},{value:"so",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSO)},{value:"es",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameES)},{value:"sw",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSW)},{value:"sv",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameSV)},{value:"ty",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTY)},{value:"ta",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTA)},{value:"tt",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTT)},{value:"te",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTE)},{value:"th",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTH)},{value:"bo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameBO)},{value:"ti",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTI)},{value:"to",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTO)},{value:"tr",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTR)},{value:"tk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameTK)},{value:"uk",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUK)},{value:"hsb",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameHSB)},{value:"ur",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUR)},{value:"ug",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUG)},{value:"uz",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameUZ)},{value:"vi",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameVI)},{value:"cy",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameCY)},{value:"xh",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameXH)},{value:"yo",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameYO)},{value:"yua",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameYUA)},{value:"zu",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.LanguageNameZU)}]},[n.WorksheetFuncId.TREND]:{4:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsSetEqualTo0)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsCalculatedNormally)}]},[n.WorksheetFuncId.TTEST]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.OneTailedDistribution)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoTailedDistribution)}],4:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Paired)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoSampleEqualVariance)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoSampleUnequalVariance)}]},[n.WorksheetFuncId.T_TEST]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.OneTailedDistribution)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoTailedDistribution)}],4:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Paired)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoSampleEqualVariance)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoSampleUnequalVariance)}]},[n.WorksheetFuncId.VDB]:{7:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SwitchToStraightLineDepreciation)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.DoNotSwitchToStraightLineDepreciation)}]},[n.WorksheetFuncId.WEEKDAY]:{2:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Sundaythrough7Saturday)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Mondaythrough7Sunday)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers0Mondaythrough6Sunday)},{value:"11",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Mondaythrough7Sunday)},{value:"12",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Tuesdaythrough7Monday)},{value:"13",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Wednesdaythrough7Tuesday)},{value:"14",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Thursdaythrough7Wednesday)},{value:"15",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Fridaythrough7Thursday)},{value:"16",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Saturdaythrough7Friday)},{value:"17",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Numbers1Sundaythrough7Saturday)}]},[n.WorksheetFuncId.WEIBULL]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.WEIBULL_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.YEARFRAC]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.YIELD]:{6:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Annual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Semianual)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Quarterly)}],7:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.YIELDDISC]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.YIELDMAT]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.USNASD30360)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ActualActual)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual360)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Actual365)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.European30360)}]},[n.WorksheetFuncId.GROWTH]:{4:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsSetEqualTo0)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.bIsCalculatedNormally)}]},[n.WorksheetFuncId.PV]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.EndOfThePeriod)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BeginningOfThePeriod)}]},[n.WorksheetFuncId.TDIST]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.OneTailedDistribution)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TwoTailedDistribution)}]},[n.WorksheetFuncId.T_DIST]:{4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.cumulativeDistributionFunction)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ProbabilityDensityFunction)}]},[n.WorksheetFuncId.WEEKNUM]:{2:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sunday)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Monday)},{value:"11",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Monday)},{value:"12",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Tuesday)},{value:"13",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Wednesday)},{value:"14",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Thursday)},{value:"15",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Friday)},{value:"16",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Saturday)},{value:"17",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Sunday)},{value:"21",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Monday)}]},[n.WorksheetFuncId.NETWORKDAYS_INTL]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SaturdaySunday)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SundayMonday)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MondayTuesday)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TuesdayWednesday)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WednesdayThursday)},{value:"6",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThursdayFriday)},{value:"7",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FridaySaturday)},{value:"11",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SundayOnly)},{value:"12",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MondayOnly)},{value:"13",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TuesdayOnly)},{value:"14",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WednesdayOnly)},{value:"15",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThursdayOnly)},{value:"16",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FridayOnly)},{value:"17",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SaturdayOnly)}]},[n.WorksheetFuncId.WORKDAY_INTL]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SaturdaySunday)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SundayMonday)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MondayTuesday)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TuesdayWednesday)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WednesdayThursday)},{value:"6",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThursdayFriday)},{value:"7",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FridaySaturday)},{value:"11",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SundayOnly)},{value:"12",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MondayOnly)},{value:"13",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.TuesdayOnly)},{value:"14",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.WednesdayOnly)},{value:"15",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThursdayOnly)},{value:"16",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FridayOnly)},{value:"17",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SaturdayOnly)}]},[n.WorksheetFuncId.FORECAST_ETS]:{5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MissingValuesTreatedAsZeroes)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AutomaticCompletionUsesLinearInterpolation)}],6:[{value:"1",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"2",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"3",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"4",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"5",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MEDIAN)},{value:"6",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"7",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)}]},[n.WorksheetFuncId.FORECAST_ETS_CONFINT]:{6:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MissingValuesTreatedAsZeroes)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AutomaticCompletionUsesLinearInterpolation)}],7:[{value:"1",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"2",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"3",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"4",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"5",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MEDIAN)},{value:"6",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"7",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)}]},[n.WorksheetFuncId.FORECAST_ETS_SEASONALITY]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MissingValuesTreatedAsZeroes)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AutomaticCompletionUsesLinearInterpolation)}],4:[{value:"1",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"2",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"3",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"4",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"5",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MEDIAN)},{value:"6",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"7",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)}]},[n.WorksheetFuncId.FORECAST_ETS_STAT]:{4:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AlphaParameterOfETSalgorithm)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.BetaParameterOfETSalgorithm)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.GammaParameterOfETSalgorithm)},{value:"4",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MASEMetric)},{value:"5",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SMAPEMetric)},{value:"6",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MAEMetric)},{value:"7",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.RMSEMetric)},{value:"8",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.StepSizeDetected)}],5:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.MissingValuesTreatedAsZeroes)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.AutomaticCompletionUsesLinearInterpolation)}],6:[{value:"1",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.AVERAGE)},{value:"2",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNT)},{value:"3",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.COUNTA)},{value:"4",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MAX)},{value:"5",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MEDIAN)},{value:"6",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.MIN)},{value:"7",description:e=>e.getWorksheetFuncName(n.WorksheetFuncId.SUM)}]},[n.WorksheetFuncId.TEXTJOIN]:{2:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreEmptyCells)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IncludeEmptyCells)}]},[n.WorksheetFuncId.SORT]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ascending)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Descending)}],4:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SortByColumn)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SortByRow)}]},[n.WorksheetFuncId.UNIQUE]:{2:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnUniqueColumns)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnUniqueRows)}],3:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnitemsthatAppearExactlyOnce)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ReturnEveryDistinctItem)}]},[n.WorksheetFuncId.SORTBY]:{3:[{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Ascending)},{value:"-1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Descending)}]},[n.WorksheetFuncId.RANDARRAY]:{5:[{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Integer)},{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Decimal)}]},[n.WorksheetFuncId.VALUETOTEXT]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Concise)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Strict)}]},[n.WorksheetFuncId.ARRAYTOTEXT]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Concise)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.Strict)}]},[n.WorksheetFuncId.TOCOL]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.KeepAllValues)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreBlanks)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreErrors)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreBlanksAndErrors)}],3:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ScanByRow)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ScanByColumn)}]},[n.WorksheetFuncId.TOROW]:{2:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.KeepAllValues)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreBlanks)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreErrors)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.IgnoreBlanksAndErrors)}],3:[{value:e=>e.falseName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ScanByRow)},{value:e=>e.trueName,description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ScanByColumn)}]},[n.WorksheetFuncId.IMAGE]:{3:[{value:"0",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FitCell)},{value:"1",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.FillCell)},{value:"2",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.OriginalSize)},{value:"3",description:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CustomSize)}]}})))},78982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteBaseVisitor=t.CaretInsideArrayNodeIdentityVisitor=void 0;const n=r(85882),o=r(18648);class i extends n.IdentityVisitor{arrayNode(e,t,r){const n=super.arrayNode(e,t,r);return this.autoCompleteFixForArrayNodesEnabled&&this.caretInNode(n)&&(this.isInsideArrayNode=!0),n}caretInNode(e){if(void 0===e)return!1;const t=this.parsedFormulaTree.spans[e.label];return void 0!==t&&this.caretPosition>=t.start&&this.caretPosition<=t.end}constructor(e,t){super(),this.parsedFormulaTree=e,this.caretPosition=t,this.isInsideArrayNode=!1,this.autoCompleteFixForArrayNodesEnabled=(0,o.isChangeGateEnabled)("OfficeVSO:7896479_autoCompleteFixForArrayNodesEnabled")}}t.CaretInsideArrayNodeIdentityVisitor=i,t.AutocompleteBaseVisitor=class extends i{nameNode(e,t,r){return e.kind!==n.NamePartKind.IdentNamePart&&e.kind!==n.NamePartKind.FieldRefNamePart||this.updateAutocompleteString(r,e.asWhole),super.nameNode(e,t,r)}appNode(e,t,r,o){return e.kind===n.NodeKind.WSF&&this.updateAutocompleteString(o,e.whole),super.appNode(e,t,r,o)}cellRefNode(e,t,r){const o=this.parsedFormulaTree.spans[r];if(e.kind===n.CellRefKind.Single&&o){const e=this.formulaString.substring(o.start,o.end);this.updateAutocompleteString(r,e)}return super.cellRefNode(e,t,r)}updateAutocompleteString(e,t){const r=this.parsedFormulaTree.spans[e].start,n=r+t.length;this.caretPosition===n&&(this.autocompleteString=t,this.stringEndPosition=n,this.stringStartPosition=r)}constructor(e,t,r){super(e,t),this.formulaString=r}}},27156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteCopilotPluginDependenciesResolved=t.AutocompleteCopilotPlugin=void 0;const n=r(16533),o=r(44663),i=r(2548),a=r(58737),s=r(92787),l=r(89500),u=r(54855),c=l.PluginRegistry.create(o.PluginFactoryName.AutocompleteCopilotPlugin,o.PluginGroup.Excel);let d=(()=>{let e,t,r,a=[c.x10Plugin()],s=[],l=[];return t=class{*run(e){const t={label:"Copilot",kind:o.CompletionItemKind.Copilot,type:o.SuggestionKind.Simple,detail:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CopilotFormulaGenerationAutoCompleteItem),isPrefixed:!0};return"="===e.content?{items:[t]}:{items:[]}}constructor(){n.__runInitializers(this,l)}},n.__setFunctionName(t,"AutocompleteCopilotPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[c.uiMessageHandler({kind:i.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,l),n.__esDecorate(null,e={value:t},a,{kind:"class",name:t.name,metadata:o},null,s),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=c.injectPluginFactory(),n.__runInitializers(t,s),t})();t.AutocompleteCopilotPlugin=d,(0,a.registerPlugin)(d),t.autocompleteCopilotPluginDependenciesResolved=(0,u.trackableAsyncLazy)((async()=>{const e=await s.autoCompletePluginsThread.getValue();await e.loadPluginScript("formula-authoring-strings",!0),await e.createAndAttachPlugin(o.PluginFactoryName.AutocompleteCopilotPlugin),await s.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteCopilotPluginDependenciesResolved")},21292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteFunctionPluginDependenciesResolved=t.AutocompleteFunctionPlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(18648),u=r(78982),c=r(22091),d=r(22822),p=r(2548),h=r(58737),g=r(92787),m=r(89500),f=r(54855),v=m.PluginRegistry.create(s.PluginFactoryName.AutocompleteFunctionPlugin,s.PluginGroup.Excel);let b=(()=>{let e,t,r,h=[v.x10Plugin()],g=[],m=[];return t=class{*run(e){const t=yield{kind:"ParseActiveCell",formulaText:e.content};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value,n=new u.AutocompleteBaseVisitor(r,e.caretPosition,e.content);if((0,i.reduceBottomUp)(n,r),void 0===n.autocompleteString||void 0===n.stringStartPosition||void 0===n.stringEndPosition||n.isInsideArrayNode)return null;const s=n.autocompleteString.toUpperCase(),l=n.stringStartPosition,p=n.stringEndPosition,h=yield{kind:"GetFunctionsInfo"};if("GetFunctionsInfo"!==h.kind)return this.logFailure("failed to get functions info"),null;const g=h.functionsInfo,{prefixedSuggestions:m,notPrefixedSuggestions:f}=(0,c.filterSuggestionsAccordingToPrefix)(s,g,(e=>e.NameDataStrings)),v=d.functionShortDescriptions.getValue();null!==v&&null!==v.descriptionMap||this.logFailure("failed to get short descriptions, will show function info help description");const b=(0,c.getCompletedFunctionSuffix)(e.content,p);return{items:[...this.generateCompletionItems(m,v,l,p,!0,b),...this.generateCompletionItems(f,v,l,p,!1,b)]}}generateCompletionItems(e,t,r,n,a,u){const c=[],d=(0,l.isChangeGateEnabled)("OfficeVSO:10087100_changePythonPluginFGtoCG"),p=e.filter((e=>e.FunctionIndexInServer!==i.WorksheetFuncId.PY||!d)).map((e=>{const i=e.FunctionIndexInServer.toString();let d=(0,o.isTypedChangeGateEnabled)("Microsoft.Office.Excel.UseObjectInsteadOfMapForFunctionShortDescriptions")?t.descriptionMap?.[i]:t.descriptionMap?.get(i);return(0,o.isNone)(d)&&(c.push(e.FunctionIndexInServer),d=e.Help),{label:e.NameDataStrings,kind:s.CompletionItemKind.Function,type:s.SuggestionKind.Simple,detail:d,textEdit:{newText:e.NameDataStrings+u,range:{start:{line:0,character:r},end:{line:0,character:n}}},isPrefixed:a,shouldRequestAutocompleteOnCommit:!(0,l.isChangeGateEnabled)("OfficeVSO:9905905_FixForFormulaAutoCompleteLoop")||""!==u}}));return c.length>0&&i.ulsLogger.ULS.traceTag(508871621,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,`AutocompleteFunctionPlugin missing short descriptions for func IDs: ${JSON.stringify(c)}`),p}logFailure(e){i.ulsLogger.ULS.traceTag(539083013,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`AutocompleteFunctionPlugin encountered a failure with msg ${e}`)}constructor(){n.__runInitializers(this,m)}},n.__setFunctionName(t,"AutocompleteFunctionPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[v.uiMessageHandler({kind:p.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,m),n.__esDecorate(null,e={value:t},h,{kind:"class",name:t.name,metadata:o},null,g),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=v.injectPluginFactory(),n.__runInitializers(t,g),t})();t.AutocompleteFunctionPlugin=b,(0,h.registerPlugin)(b),t.autocompleteFunctionPluginDependenciesResolved=(0,f.trackableAsyncLazy)((async()=>{const e=await g.autoCompletePluginsThread.getValue();await e.loadPluginScript("formula-authoring-strings",!0),await e.createAndAttachPlugin(s.PluginFactoryName.AutocompleteFunctionPlugin),await g.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteFunctionPluginDependenciesResolved")},22091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStructRefCompletionItemRank=t.endOf=t.verifyTextAndRange=void 0,t.filterSuggestionsAccordingToPrefix=function(e,t,r,o=!1){const i=[],a=[],s=e.toLocaleLowerCase();return""===e?{prefixedSuggestions:t,notPrefixedSuggestions:a}:(t.forEach((e=>{const t=r?r(e).toLocaleLowerCase():"string"==typeof e?e.toLocaleLowerCase():void 0;if(void 0!==t)if(!t.startsWith(s)||o&&t===s)if(o){const r=t.split(" ");(0,n.isDefined)(r.find((e=>e.startsWith(s))))&&a.push(e)}else s.length>2&&t.includes(s)&&a.push(e);else i.push(e)})),{prefixedSuggestions:i,notPrefixedSuggestions:a})},t.getCompletedFunctionSuffix=function(e,t){return"("===e?.charAt(t)?"":"("};const n=r(52123),o=r(68247),i=r(44663);t.verifyTextAndRange=(e,t,r,n,o)=>{expect(e?.label).toEqual(t),expect(e?.textEdit?.newText).toEqual(o??t),expect(e?.textEdit?.range?.start?.character).toEqual(r),expect(e?.textEdit?.range?.end?.character).toEqual(n)},t.endOf=e=>e.length,t.getStructRefCompletionItemRank=e=>{const t=e.kind===i.CompletionItemKind.TableHeader?1:e.label?.startsWith("#")?0:e.label?.startsWith("@")?2:void 0;return(0,n.isNone)(t)?(n.ulsLogger.ULS.traceTag(526411872,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,`conflictResolver: trying to rank a structRef completion item with unexpected fields. item = ${JSON.stringify(e)}`),0):t}},86761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteLetPluginDependenciesResolved=t.AutocompleteLetPlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(22091),u=r(59046),c=r(2548),d=r(58737),p=r(92787),h=r(89500),g=r(54855),m=h.PluginRegistry.create(s.PluginFactoryName.AutocompleteLetPlugin,s.PluginGroup.Excel);let f=(()=>{let e,t,r,d=[m.x10Plugin()],p=[],h=[];return t=class{*run(e){const t=yield{kind:"ParseActiveCell",formulaText:e.content};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value,n=e.caretPosition,s=new u.AutocompleteLetVisitor(e.content,r,n);(0,i.reduceBottomUp)(s,r);const c=s.references.reverse(),d=Array.from(new Set(c)),p=s.caretNodeText;if(void 0===p||s.isInsideArrayNode)return null;const h=n,g=h-p.length,{prefixedSuggestions:m,notPrefixedSuggestions:f}=(0,l.filterSuggestionsAccordingToPrefix)(p,d);return{items:[...this.stringsToCompletionItems(m,g,h,!0),...this.stringsToCompletionItems(f,g,h,!1)]}}stringsToCompletionItems(e,t,r,n){return e.map((e=>({label:e,kind:s.CompletionItemKind.LetVariable,type:s.SuggestionKind.Simple,textEdit:{newText:e,range:{start:{line:0,character:t},end:{line:0,character:r}}},isPrefixed:n})))}constructor(){n.__runInitializers(this,h)}},n.__setFunctionName(t,"AutocompleteLetPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[m.uiMessageHandler({kind:c.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,h),n.__esDecorate(null,e={value:t},d,{kind:"class",name:t.name,metadata:o},null,p),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=m.injectPluginFactory(),n.__runInitializers(t,p),t})();t.AutocompleteLetPlugin=f,(0,d.registerPlugin)(f),t.autocompleteLetPluginDependenciesResolved=(0,g.trackableAsyncLazy)((async()=>{const e=await p.autoCompletePluginsThread.getValue();await e.createAndAttachPlugin(s.PluginFactoryName.AutocompleteLetPlugin),await p.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteLetPluginDependenciesResolved")},59046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteLetVisitor=void 0;const n=r(52123),o=r(85882),i=r(78982);class a extends i.CaretInsideArrayNodeIdentityVisitor{letNode(e,t,r,n,i,a){if(this.caretInNode(r?.arg))this.pushNames(t);else for(let r=0;r<t.length;r+=1){const{binder:n}=t[r];if(this.caretInNode(n.arg)){this.pushNames(e.id===o.WorksheetFuncId.LET?t.slice(0,r):t);break}}return super.letNode(e,t,r,n,i,a)}lambdaNode(e,t,r,n,o,i){if(this.caretInNode(r?.arg))this.pushNames(t);else for(let e=0;e<t.length;e+=1){const{name:r}=t[e];if(void 0!==r.arg.def&&this.caretInNode(r.arg.def.rhs)){this.pushNames(t.slice(0,e));break}}return super.lambdaNode(e,t,r,n,o,i)}pushNames(e){(0,n.safePush)(this.references,e.map((({name:e})=>e.arg.wholeName)).filter(n.isDefined).reverse())}constructor(e,t){super(e,t),this.references=[]}}t.AutocompleteLetVisitor=class extends a{nameNode(e,t,r){return this.updateCaretNodeText(r,e.asWhole),super.nameNode(e,t,r)}cellRefNode(e,t,r){const n=this.parsedFormulaTree.spans[r];if(e.kind===o.CellRefKind.Single&&n){const e=this.formulaString.substring(n.start,n.end);this.updateCaretNodeText(r,e)}return super.cellRefNode(e,t,r)}updateCaretNodeText(e,t){const r=this.parsedFormulaTree.spans[e]?.end;void 0!==r&&this.caretPosition===r&&t.length>0&&(this.caretNodeText=t)}constructor(e,t,r){super(t,r),this.formulaString=e}}},51899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteNamedObjectsPluginDependenciesResolved=t.AutocompleteNamedObjectsPlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(18648),u=r(78982),c=r(22091),d=r(2548),p=r(58737),h=r(92787),g=r(89500),m=r(54855),f=g.PluginRegistry.create(s.PluginFactoryName.AutocompleteNamedObjectsPlugin,s.PluginGroup.Excel);let v=(()=>{let e,t,r,p=[f.x10Plugin()],h=[],g=[];return t=class{*run(e){const t=yield{kind:"ParseActiveCell",formulaText:e.content};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value,n=yield{kind:"GetDefinedNamesInfo"};if("GetDefinedNamesInfo"!==n.kind)return this.logFailure("failed to get named objects info"),null;const l=n.definedNamesInfo,d=new u.AutocompleteBaseVisitor(r,e.caretPosition,e.content);(0,i.reduceBottomUp)(d,r);const{autocompleteString:p,stringStartPosition:h,stringEndPosition:g,isInsideArrayNode:m}=d;if(!(0,o.isDefined)(p)||!(0,o.isDefined)(g)||!(0,o.isDefined)(h)||m)return null;const{prefixedSuggestions:f,notPrefixedSuggestions:v}=(0,c.filterSuggestionsAccordingToPrefix)(p,l,(e=>e.name));if(this.newNamedObjectsEnabled){const t=[...f.map((e=>({...e,isPrefixed:!0}))),...v.map((e=>({...e,isPrefixed:!1})))];for(const e of t){if((0,o.isNone)(e.reference)||e.type!==s.DefinedNameInfoType.Other)continue;const t=yield{kind:"ParseActiveCell",formulaText:e.reference};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result)||t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value;r.isWellFormed&&"Lambda"===r.node.kind&&r.node.isClosed&&(e.type=s.DefinedNameInfoType.Lambda)}const r=(0,c.getCompletedFunctionSuffix)(e.content,g);return{items:this.namesToCompletionItems(t,h,g,r)}}return{items:[...this.namesToCompletionItemsOld(f,h,g,!0),...this.namesToCompletionItemsOld(v,h,g,!1)]}}namesToCompletionItemsOld(e,t,r,n){return e.filter((e=>e.type!==s.DefinedNameInfoType.Invalid)).map((e=>({label:e.name,kind:e.type===s.DefinedNameInfoType.NamedRange?s.CompletionItemKind.NamedRange:s.CompletionItemKind.Table,type:s.SuggestionKind.Simple,textEdit:{newText:e.name,range:{start:{line:0,character:t},end:{line:0,character:r}}},detail:e.tooltip,isPrefixed:n})))}namesToCompletionItems(e,t,r,n){return e.filter((e=>e.type!==s.DefinedNameInfoType.Invalid)).map((e=>{const o=function(e){switch(e.type){case s.DefinedNameInfoType.NamedRange:return s.CompletionItemKind.NamedRange;case s.DefinedNameInfoType.Table:return s.CompletionItemKind.Table;case s.DefinedNameInfoType.Lambda:return s.CompletionItemKind.Lambda;default:return s.CompletionItemKind.NamedOther}}(e);let i=e.name;return o===s.CompletionItemKind.Lambda&&(i+=n),{label:e.name,kind:o,type:s.SuggestionKind.Simple,textEdit:{newText:i,range:{start:{line:0,character:t},end:{line:0,character:r}}},detail:e.tooltip,isPrefixed:e.isPrefixed}}))}logFailure(e){i.ulsLogger.ULS.traceTag(528562134,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`AutocompleteNamedObjectPlugin encountered a failure with msg ${e}`)}constructor(){this.newNamedObjectsEnabled=(n.__runInitializers(this,g),(0,l.getBooleanFeatureGate)("Microsoft.Office.Excel.FormulaAuthoringWithNameManager",!1)&&(0,l.isChangeGateEnabled)("OfficeVSO:9646883_NameManager-FG-Removal"))}},n.__setFunctionName(t,"AutocompleteNamedObjectsPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[f.uiMessageHandler({kind:d.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,g),n.__esDecorate(null,e={value:t},p,{kind:"class",name:t.name,metadata:o},null,h),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=f.injectPluginFactory(),n.__runInitializers(t,h),t})();t.AutocompleteNamedObjectsPlugin=v,(0,p.registerPlugin)(v),t.autocompleteNamedObjectsPluginDependenciesResolved=(0,m.trackableAsyncLazy)((async()=>{const e=await h.autoCompletePluginsThread.getValue();await e.createAndAttachPlugin(s.PluginFactoryName.AutocompleteNamedObjectsPlugin),await h.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteNamedObjectsPluginDependenciesResolved")},48335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteRichValuePluginDependenciesResolved=t.AutocompleteRichValuePlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(41257),l=r(44663),u=r(22091),c=r(42528),d=r(2548),p=r(58737),h=r(92787),g=r(89500),m=r(54855),f=g.PluginRegistry.create(l.PluginFactoryName.AutocompleteRichValuePlugin,l.PluginGroup.Excel);let v=(()=>{let e,t,r,p=[f.x10Plugin()],h=[],g=[];var m=t=class{*run(e){if((0,o.isNone)(e.content)||(0,o.isNone)(e.caretPosition))return b("missing request arguments"),null;const t=yield{kind:"ParseActiveCell",formulaText:e.content};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value,n=yield{kind:"GetDefinedNamesInfo"};if("GetDefinedNamesInfo"!==n.kind)return b("failed to get named objects info"),null;const s=yield{kind:"GetActiveCell"};if("GetActiveCell"!==s.kind)return b("failed to get active cell"),null;const d=s.activeCell,p=new c.AutocompleteRichValueVisitor(r,e.caretPosition,e.content,n.definedNamesInfo,d.range);if((0,i.reduceBottomUp)(p,r),p.isInsideArrayNode)return null;let h,g;if((0,o.isDefined)(p.cellRef))h=p.cellRef,g=d.sheet.index;else if((0,o.isDefined)(p.namedRangeNode)){const e={originGridCell:(0,o.success)(d.range),originSheet:(0,o.success)(d.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!0},t=yield{kind:"ResolveReferences",nodes:[p.namedRangeNode],locals:e};if("ResolveReferences"===t.kind){const e=t.resolverResults[0];if(e.kind===i.ResolvedKind.ResolvedStructRef&&(0,o.isSuccess)(e.resolution)&&void 0!==e.resolution.value){const t=e.resolution.value.range;h={firstRow:t.row,firstColumn:t.col,lastRow:t.row+t.rows-1,lastColumn:t.col+t.cols-1},g=e.resolution.value.sheet.index}}}if(!(0,o.isDefined)(h))return null;const m=p.dotNotationPath;if((0,o.isNone)(m))return b("failed to parse cellRef"),null;let f="";if((0,o.isDefined)(p.sheetName))f=p.sheetName;else{const e=yield{kind:"GetSheetNames"};if("GetSheetNames"!==e.kind)return b("failed to get sheet names"),null;if(!(0,i.isDocumentLocEqual)(d.sheet.document,e.document))return b("sheet names document is different than that of active cell"),null;if(!(0,o.isDefined)(g))return b("sheet index is undefined"),null;f=e.sheets[e.idToIndex[g]].sheetName}const v={...h,sheetName:f,namedObjectName:""},y=yield{kind:"GetRichValueFieldListContext",rangeToQuery:v,dotNotationPath:m,singleColumn:!1,findRange:!1};if("GetRichValueFieldListContext"!==y.kind)return b("failed to get field list context data"),null;if((0,o.isNone)(y.result)||0===y.result.length)return null;y.result.length>1&&b("fieldListContextRequest results length greater than 1");const{prefixedSuggestions:S,notPrefixedSuggestions:C}=(0,u.filterSuggestionsAccordingToPrefix)(p.richValueItemPrefix,y.result[0].FieldInfoDataList,(e=>e.Name),!0),T=yield{kind:"GetConfig"};let k=[...this.resultsToCompletionItems(S,!0,p.dotNotationIndex,p.fieldRefChainEndIndex??e.caretPosition,T,!!p.namedRangeNode),...this.resultsToCompletionItems(C,!1,p.dotNotationIndex,p.fieldRefChainEndIndex??e.caretPosition,T,!!p.namedRangeNode)];var F,E;return p.shouldAddEmptySuggestion&&(k=[(F=p.dotNotationIndex,E=p.fieldRefChainEndIndex??e.caretPosition,{label:"",kind:l.CompletionItemKind.RichEntityEmptyCellRef,type:l.SuggestionKind.Simple,detail:"",textEdit:{newText:"",range:{start:{line:0,character:F},end:{line:0,character:E}}},isPrefixed:!0}),...k]),{items:k}}static getTextToCommit(e,t,r){let n=e.Name;if(n=n.replace("'","''"),n=n.replace("[","'["),n=n.replace("]","']"),e.RefersToDotFunction)return`.${n}`;if(r)return`.[${n}]`;const o="GetConfig"===t.kind?t.config.localeInfo:void 0;return o&&!(0,s.isUnbracketedFieldName)(o,n)?`.[${n}]`:`.${n}`}resultsToCompletionItems(e,t,r,n,o,i){return e.map((e=>({label:e.Name,kind:l.CompletionItemKind.RichEntity,type:l.SuggestionKind.Simple,detail:"",textEdit:{newText:m.getTextToCommit(e,o,i),range:{start:{line:0,character:r},end:{line:0,character:n}}},isPrefixed:t})))}constructor(){n.__runInitializers(this,g)}};return n.__setFunctionName(t,"AutocompleteRichValuePlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[f.uiMessageHandler({kind:d.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,g),n.__esDecorate(null,e={value:t},p,{kind:"class",name:t.name,metadata:o},null,h),m=t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=f.injectPluginFactory(),n.__runInitializers(t,h),m=t})();function b(e){o.ulsLogger.ULS.traceTag(529056660,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`AutocompleteRichValuePlugin encountered a failure with msg ${e}`)}t.AutocompleteRichValuePlugin=v,(0,p.registerPlugin)(v),t.autocompleteRichValuePluginDependenciesResolved=(0,m.trackableAsyncLazy)((async()=>{const e=await h.dynamicPluginLoaderCreated.getValue();await e.createAndAttachPlugin(l.PluginFactoryName.AutocompleteRichValuePlugin),await h.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteRichValuePluginDependenciesResolved")},42528:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteRichValueVisitor=void 0;const n=r(52123),o=r(85882),i=r(44663),a=r(78982),s=r(70486);class l extends a.CaretInsideArrayNodeIdentityVisitor{nameNode(e,t,r){const i=this.parsedFormulaTree.spans[r]?.end;if(i===this.caretPosition&&e.kind===o.NamePartKind.IdentNamePart&&this.trySetDefinedName(e)&&(this.dotNotationIndex=i,this.childFieldRefLabel=r),e.kind===o.NamePartKind.FieldRefNamePart){const r=this.parsedFormulaTree.spans[e.lhs.label]?.end;if((0,n.isDefined)(r)&&(this.caretPosition===i||this.isCaretAfterDotBeforeStartOfFieldRef(r,e.rhs)&&e.lhs.kind!==o.NamePartKind.FieldRefNamePart)){let n=!1;e.lhs.kind===o.NamePartKind.CellRefNamePart?(this.setCellRef(e.lhs.ref,t),n=!0):e.lhs.kind===o.NamePartKind.IdentNamePart&&this.trySetDefinedName(e.lhs)&&(n=!0),n&&(this.dotNotationIndex=r,e.rhs.field.kind===o.NodeKind.Ident&&(this.caretPosition===i?this.richValueItemPrefix=e.rhs.field.whole:this.fieldRefChainEndIndex=i))}}return super.nameNode(e,t,r)}cellRefNode(e,t,r){const n=this.parsedFormulaTree.spans[r]?.end;return void 0!==n&&this.caretPosition===n&&(this.setCellRef(e,t),this.dotNotationIndex=n,this.childFieldRefLabel=r,this.shouldAddEmptySuggestion=!0),super.cellRefNode(e,t,r)}fieldRefNode(e,t,r){const n=this.parsedFormulaTree.spans[r]?.end,o=this.parsedFormulaTree.spans[e.label]?.end;return void 0===n||void 0===o||(this.isCaretAtEndOfFieldRefNode(n,t)?(this.initCellRefAtFieldsRefsChainStartAndAccumulateDotNotationPath(e,r),this.dotNotationIndex=o,this.richValueItemPrefix=u(t)):this.isCaretAfterDotBeforeStartOfFieldRef(o,t)?(this.initCellRefAtFieldsRefsChainStartAndAccumulateDotNotationPath(e,r),this.dotNotationIndex=o,this.fieldRefChainEndIndex=n):e.label===this.childFieldRefLabel&&(this.fieldRefChainEndIndex=n,this.childFieldRefLabel=r)),super.fieldRefNode(e,t,r)}structRefNode(e,t,r){const a=super.structRefNode(e,t,r),s=this.parsedFormulaTree.spans[r]?.end;return this.caretPosition===s&&(0,n.isDefined)(e)&&t.isClosed&&a.kind===o.NodeKind.StructRef&&this.definedNames.some((t=>t.type===i.DefinedNameInfoType.Table&&(0,n.isDefined)(t.name)&&t.name.toLowerCase()===e.whole.toLowerCase()))&&(this.setNamedNodeRef(a),this.dotNotationIndex=s),a}initCellRefAtFieldsRefsChainStartAndAccumulateDotNotationPath(e,t){let r=e;for(;r.kind===o.NodeKind.FieldRef;)this.dotNotationPath="["+u(r.rhs)+"]."+this.dotNotationPath,r=r.lhs;r.kind===o.NodeKind.CellRef&&this.setCellRef(r.ref,r.qualifier),r.kind===o.NodeKind.StructRef&&this.setNamedNodeRef(r),r.kind===o.NodeKind.Name&&this.trySetDefinedName(r.parts),this.childFieldRefLabel=t}getRefString(e){const t=this.parsedFormulaTree.spans[e]?.start,r=this.parsedFormulaTree.spans[e]?.end;return(0,n.isDefined)(t)&&(0,n.isDefined)(r)&&t>=0&&r<this.formulaText.length?this.formulaText.substring(t,r):""}setCellRef(e,t){e.kind!==o.CellRefKind.Single&&e.kind!==o.CellRefKind.Range||(this.cellRef=(0,s.getRangeFromCellRef)(e,this.activeCell,c)),(0,n.isDefined)(t)&&(this.sheetName=(0,s.getSheetNameFromQualifier)(t,c)),this.trySetDotNotationPathOrigin((()=>this.getRefString(e.label)))}setNamedNodeRef(e){this.namedRangeNode=e,this.trySetDotNotationPathOrigin((()=>this.getRefString(e.label)))}isCaretAfterDotBeforeStartOfFieldRef(e,t){if(!(0,n.isDefined)(t))return!1;const r=this.parsedFormulaTree.spans[t.field.label]?.start;return void 0!==r&&this.caretPosition>e&&(this.caretPosition<r||!t.isBracketed&&this.caretPosition===r)}isCaretAtEndOfFieldRefNode(e,t){if(this.caretPosition===e)return!0;const r=this.parsedFormulaTree.spans[t.field.label]?.end;return!(!(0,n.isDefined)(r)||this.caretPosition!==r)}trySetDefinedName(e){if(e.canDenoteNamedObject){const t=this.definedNames.find((t=>t.name?.toLowerCase()===e.asWhole.toLowerCase()));if((0,n.isDefined)(t))return this.setDefinedName(t),!0}return!1}setDefinedName(e){const t=e.namedRange;if(!(0,n.isDefined)(t))return;const r=e.sheetName??t.sheetName;(0,n.isDefined)(r)&&(this.sheetName=r),this.cellRef={firstRow:t.top-1,firstColumn:t.left-1,lastRow:t.bottom-1,lastColumn:t.right-1},this.trySetDotNotationPathOrigin((()=>e.name))}trySetDotNotationPathOrigin(e){if(this.dotNotationPath.length>0){const t=e();(0,n.isDefined)(t)?this.dotNotationPath=t+"."+this.dotNotationPath:c("tryUpdateDotNotationPath with undefined name")}}constructor(e,t,r,n,o){super(e,t),this.formulaText=r,this.definedNames=n,this.activeCell=o,this.dotNotationPath="",this.richValueItemPrefix="",this.dotNotationIndex=0,this.shouldAddEmptySuggestion=!1}}function u(e){return e.field.kind!==o.NodeKind.Ident?"":e.field.whole}function c(e){o.ulsLogger.ULS.traceTag(523257827,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,`AutocompleteRichValueVisitor failed with msg: ${e}`)}t.AutocompleteRichValueVisitor=l},81942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompleteTableHeadersPluginDependenciesResolved=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(18648),u=r(22091),c=r(22295),d=r(606),p=r(98088),h=r(2548),g=r(58737),m=r(92787),f=r(89500),v=r(54855),b=f.PluginRegistry.create(s.PluginFactoryName.AutocompleteTableHeadersPlugin,s.PluginGroup.Excel);let y=(()=>{let e,t,r,p=[b.x10Plugin()],g=[],m=[];return t=class{*run(e){const{content:t,caretPosition:r}=e;if((0,o.isNone)(t)||(0,o.isNone)(r))return null;const n=yield{kind:"ParseActiveCell",formulaText:t};if("ParseActiveCell"!==n.kind||!(0,o.isSuccess)(n.result))return null;if(n.result.value.kind!==a.EditKind.Formula)return null;const{formula:l}=n.result.value,u=yield{kind:"GetDefinedNamesInfo"};if("GetDefinedNamesInfo"!==u.kind)return this.logFailure("failed to get named objects info"),null;const p=u.definedNamesInfo.filter((e=>e.type===s.DefinedNameInfoType.Table)).map((e=>e.name)).filter(o.isDefined);if(0===p.length)return null;let h;h=this.fixAutocompleteTableHeadersBugEnabled?new c.AutocompleteTableHeadersVisitor(l,r,p):new d.AutocompleteTableHeadersVisitorOld(l,r,p),(0,i.reduceBottomUp)(h,l);let{tableName:g}=h;const{containingNode:m,isInsideArrayNode:f,isNodeClosed:v}=h;if((0,o.isNone)(m)||f)return null;if((0,o.isNone)(g)){const e=yield{kind:"GetActiveCell"};if("GetActiveCell"!==e.kind)return this.logFailure("Couldn't get active cell"),null;const t=yield{kind:"GetContainingTable",cell:e.activeCell};if("GetContainingTable"!==t.kind||!(0,o.isSuccess)(t.result))return this.logFailure(`GetContainingTable request failed. result kind = ${JSON.stringify(t)}`),null;if(g=t.result.value?.name,(0,o.isNone)(g))return null}let{start:b,end:y}=m;const S=t.charAt(y-1);if("]"!==S&&")"!==S||y--,"["===t.charAt(b)&&b++,!(r===y||this.fixAutocompleteTableHeadersBugEnabled&&this.caretIsInTheBeginning(t,b,r)))return null;const C=yield{kind:"GetAvailableTableHeaders",tableName:g};let T;if("GetAvailableTableHeaders"!==C.kind||!(0,o.isSuccess)(C.result)||(0,o.isNone)(C.result.value)||C.result.value.isPartial){i.ulsLogger.ULS.traceTag(509682331,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,"AutocompleteTableHeadersPlugin getting col headers from server");const e=yield{kind:"GetFullTableHeadersFromServer",tableName:g};if("GetFullTableHeadersFromServer"!==e.kind||!(0,o.isDefined)(e.result))return this.logFailure("Failed to get header names from server"),null;T=e.result}else T=C.result.value.cols;if(!(0,o.isDefined)(T)||0===T.length)return null;let k="";this.fixAutocompleteTableHeadersBugEnabled&&this.caretIsInTheBeginning(t,b,r)?y=v?y:b:k=t.substring(b,y);const F=yield{kind:"GetConfig"};return"GetConfig"!==F.kind?(this.logFailure("getConfig request failed"),null):{items:this.getCompletionItems(T,k,b,y,h.isWithinThisRowOp,F.config.localeInfo.specialRefNames)}}caretIsInTheBeginning(e,t,r){return 0===e.substring(t,r).trim().length}generateCompletionItems(e,t,r,n,i,a){const l=[];return e.forEach((e=>{const u="string"==typeof e,c=u?e:e.name,d=u?void 0:e.description;l.push({label:c,kind:i,type:s.SuggestionKind.Simple,textEdit:{newText:(0,o.isDefined)(a)?a(c):c,range:{start:{line:0,character:t},end:{line:0,character:r}}},detail:d,isPrefixed:n})})),l}generateHeadersCompletionItems(e,t,r,n,o=!1){const{prefixedSuggestions:i,notPrefixedSuggestions:a}=(0,u.filterSuggestionsAccordingToPrefix)(e,t),l=this.getHeaderTextEditCallback(o);return[...this.generateCompletionItems(i,r,n,!0,s.CompletionItemKind.TableHeader,l),...this.generateCompletionItems(a,r,n,!1,s.CompletionItemKind.TableHeader,l)]}generateSpecialCaseCompletionItems(e,t,r,n){const o=[i.SpecialRefId.All,i.SpecialRefId.Data,i.SpecialRefId.Headers,i.SpecialRefId.Totals].map((e=>({name:n[e]??"",description:S.getValue()[e]}))),{prefixedSuggestions:a,notPrefixedSuggestions:l}=(0,u.filterSuggestionsAccordingToPrefix)(r,o,(e=>e.name));return[...this.generateCompletionItems(a,e,t,!0,s.CompletionItemKind.TableSpecialStructRef),...this.generateCompletionItems(l,e,t,!1,s.CompletionItemKind.TableSpecialStructRef)]}generateThisRowOpCompletionItem(e,t,r){return{label:`@ - ${r}`,kind:s.CompletionItemKind.TableSpecialStructRef,type:s.SuggestionKind.Simple,textEdit:{newText:"@",range:{start:{line:0,character:e},end:{line:0,character:t}}},detail:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThisRowOpDescription),shouldRequestAutocompleteOnCommit:!0}}logFailure(e){i.ulsLogger.ULS.traceTag(526508764,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`AutocompleteTableHeadersPlugin encountered a failure with msg ${e}`)}constructor(){this.fixAutocompleteTableHeadersBugEnabled=(n.__runInitializers(this,m),(0,l.isChangeGateEnabled)("OfficeVSO:7899833_fixAutocompleteTableHeadersBug")),this.getCompletionItems=(e,t,r,n,o,a)=>{const s="@"===t.charAt(0);if(s||o){const o=s?r+1:r,i=s?t.substring(1):t;return this.generateHeadersCompletionItems(i,e,o,n,!0)}const l=[];if(""===t){const e=a[i.SpecialRefId.ThisRow]?.substring(1);this.fixAutocompleteTableHeadersBugEnabled?l.push(this.generateThisRowOpCompletionItem(r,r,e)):l.push(this.generateThisRowOpCompletionItem(r,n,e))}return l.push(...this.generateSpecialCaseCompletionItems(r,n,t,a)),l.push(...this.generateHeadersCompletionItems(t,e,r,n)),l},this.getHeaderTextEditCallback=e=>t=>{const r=C(t);return e&&this.hasSpecialChars(r)?`[${r}]`:r},this.hasSpecialChars=e=>{try{return new RegExp("(?=\\P{L})(?=\\P{M})(?=\\P{N})","u").test(e)}catch(e){return this.logFailure(`hasSpecialChars method, error: ${e}.`),!0}}}},n.__setFunctionName(t,"AutocompleteTableHeadersPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[b.uiMessageHandler({kind:h.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,m),n.__esDecorate(null,e={value:t},p,{kind:"class",name:t.name,metadata:o},null,g),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=b.injectPluginFactory(),n.__runInitializers(t,g),t})();(0,g.registerPlugin)(y),t.autocompleteTableHeadersPluginDependenciesResolved=(0,v.trackableAsyncLazy)((async()=>{const e=await m.dynamicPluginLoaderCreated.getValue();await e.createAndAttachPlugin(s.PluginFactoryName.AutocompleteTableHeadersPlugin),await m.schedulerWithRecalcServiceAttached.getValue()}),"autocompleteTableHeadersPluginDependenciesResolved");const S=new p.ResettableLazy((()=>({[i.SpecialRefId.All]:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SpecialRefAllDescription),[i.SpecialRefId.Data]:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SpecialRefDataDescription),[i.SpecialRefId.Headers]:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SpecialRefHeadersDescription),[i.SpecialRefId.Totals]:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.SpecialRefTotalsDescription),[i.SpecialRefId.ThisRow]:FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.ThisRowOpDescription)}))),C=e=>e.replace(/\[|\]|\'|\@|\#/g,"'$&")},22295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteTableHeadersVisitor=void 0;const n=r(52123),o=r(85882),i=r(78982);class a extends i.CaretInsideArrayNodeIdentityVisitor{structRefNode(e,t,r){if(this.isCaretInNode(t)){e&&this.tableNames.forEach((t=>{t.toLocaleLowerCase()===e.whole.toLocaleLowerCase()&&(this.tableName=t)}));const r=this.parsedFormulaTree.spans[t.label];this.isNodeClosed=this.isStructRefClosed=t.isClosed,this.containingNode=r,void 0!==t.innerRef&&this.findContainingNode(t.innerRef)}return super.structRefNode(e,t,r)}getIsNodeClosed(e){return e.isBracketed?e.isClosed:this.isStructRefClosed}isCaretInNode(e){const t=this.parsedFormulaTree.spans[e.label];return(0,n.isDefined)(t)&&this.caretPosition<=t.end&&this.caretPosition>=t.start}isCaretInBeginningOfNode(e){return(0,n.isDefined)(e)&&this.caretPosition===e.start}constructor(e,t,r){super(e,t),this.tableNames=r,this.isWithinThisRowOp=!1,this.isStructRefClosed=!1,this.isNodeClosed=!1,this.findContainingNode=e=>{const t=this.parsedFormulaTree.spans[e.label];if(this.isCaretInNode(e))switch(e.kind){case o.StructRefKind.SpecialRef:case o.StructRefKind.ColumnRef:case o.StructRefKind.BadRef:this.isTighterThanCurrent(t)&&(this.containingNode=t,this.isNodeClosed=this.getIsNodeClosed(e));break;case o.StructRefKind.ThisRowOpRef:const r=e.ref;if(this.isCaretInBeginningOfNode(t))break;this.isWithinThisRowOp=!0,(0,n.isDefined)(r)?this.findContainingNode(r):this.isTighterThanCurrent(t)&&(this.containingNode=t,this.isNodeClosed=this.isStructRefClosed);break;case o.StructRefKind.CommaOpRef:if(this.isCaretInBeginningOfNode(t))break;e.refs.map(this.findContainingNode);break;case o.StructRefKind.RangeOpRef:if(this.isCaretInBeginningOfNode(t))break;const i=e;this.findContainingNode(i.lhs),this.findContainingNode(i.rhs);break;case o.StructRefKind.MissingRef:this.containingNode=void 0}},this.isTighterThanCurrent=e=>(0,n.isDefined)(e)&&((0,n.isNone)(this.containingNode)||e.end<this.containingNode.end||e.start>this.containingNode.start)}}t.AutocompleteTableHeadersVisitor=a},606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutocompleteTableHeadersVisitorOld=void 0;const n=r(52123),o=r(85882),i=r(78982);class a extends i.CaretInsideArrayNodeIdentityVisitor{structRefNode(e,t,r){return this.isCaretInNode(t)&&(e&&this.tableNames.forEach((t=>{t.toLocaleLowerCase()===e.whole.toLocaleLowerCase()&&(this.tableName=t)})),void 0===t.innerRef?this.containingNode=this.parsedFormulaTree.spans[t.label]:this.findContainingNode(t.innerRef)),super.structRefNode(e,t,r)}isCaretInNode(e){const t=this.parsedFormulaTree.spans[e.label];return(0,n.isDefined)(t)&&this.caretPosition<=t.end&&this.caretPosition>=t.start}constructor(e,t,r){super(e,t),this.tableNames=r,this.isWithinThisRowOp=!1,this.isNodeClosed=!1,this.findContainingNode=e=>{const t=this.parsedFormulaTree.spans[e.label];if(this.isCaretInNode(e))switch(e.kind){case o.StructRefKind.SpecialRef:case o.StructRefKind.ColumnRef:case o.StructRefKind.BadRef:this.isTighterThanCurrent(t)&&(this.containingNode=t);break;case o.StructRefKind.ThisRowOpRef:const r=e.ref;this.isWithinThisRowOp=!0,(0,n.isDefined)(r)?this.findContainingNode(r):this.isTighterThanCurrent(t)&&(this.containingNode=t);break;case o.StructRefKind.CommaOpRef:e.refs.map(this.findContainingNode);break;case o.StructRefKind.RangeOpRef:const i=e;this.findContainingNode(i.lhs),this.findContainingNode(i.rhs);break;case o.StructRefKind.MissingRef:this.containingNode=void 0}},this.isTighterThanCurrent=e=>(0,n.isDefined)(e)&&((0,n.isNone)(this.containingNode)||e.end<this.containingNode.end||e.start>this.containingNode.start)}}t.AutocompleteTableHeadersVisitorOld=a},90907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formulaAuthoringCopilotIPEPluginDependenciesResolved=t.formulaAuthoringCopilotIPEPlugin=void 0;const n=r(16533),o=r(52123),i=r(44663),a=r(45012),s=r(2548),l=r(58737),u=r(92787),c=r(89500),d=r(54855),p=["="],h=c.PluginRegistry.create(i.PluginFactoryName.FormulaAuthoringCopilotIPEPlugin,i.PluginGroup.Excel);let g=(()=>{let e,t,r,l=[h.x10Plugin()],u=[],c=[];return t=class{*run(e){return(0,o.getTypedFeatureGate)("Microsoft.Office.Excel.FormulaAuthoringCopilotIPE")?m(e.content)?m(e.cellOriginalValue)?{shouldShowIPE:!1,mode:i.FormulaCopilotIPEMode.Modify,placeholderText:f(i.FormulaCopilotIPEMode.Modify)}:{shouldShowIPE:!0,mode:i.FormulaCopilotIPEMode.Create,placeholderText:f(i.FormulaCopilotIPEMode.Create)}:{shouldShowIPE:!1}:"="===e.content?{shouldShowIPE:!0}:{shouldShowIPE:!1}}constructor(){n.__runInitializers(this,c)}},n.__setFunctionName(t,"formulaAuthoringCopilotIPEPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[h.uiMessageHandler({kind:s.RequestKind.formulaCopilotIPE,modifiers:{executionType:a.ExecutionType.Sync}}),h.uiMessageHandler({kind:s.RequestKind.formulaCopilotIPE})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,c),n.__esDecorate(null,e={value:t},l,{kind:"class",name:t.name,metadata:o},null,u),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=h.injectPluginFactory(),n.__runInitializers(t,u),t})();function m(e){return p.some((t=>e.startsWith(t)))}function f(e){switch(e){case i.FormulaCopilotIPEMode.Create:return FormulaAuthoringStringsManager.get(FormulaAuthoringStringsEnum.CopilotIPEFormulaCreationPlaceholder);case i.FormulaCopilotIPEMode.Modify:return"";default:(0,o.assertNever)(`unexpected formula mode ${e}`,e)}}t.formulaAuthoringCopilotIPEPlugin=g,(0,l.registerPlugin)(g),t.formulaAuthoringCopilotIPEPluginDependenciesResolved=(0,d.trackableAsyncLazy)((async()=>{const e=await u.autoCompletePluginsThread.getValue();await e.loadPluginScript("formula-authoring-strings",!0),await e.createAndAttachPlugin(i.PluginFactoryName.FormulaAuthoringCopilotIPEPlugin),await u.schedulerWithRecalcServiceAttached.getValue()}),"formulaAuthoringCopilotIPEPluginDependenciesResolved")},22822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.functionShortDescriptions=void 0;const n=r(52123),o=r(85882),i=r(68247),a=r(98088);t.functionShortDescriptions=new a.ResettableLazy((()=>{try{const e=new Map,t={};for(const r of Object.keys(o.WorksheetFuncId)){const n=Number(r);if(!isNaN(Number(n))){const r=FormulaAuthoringStrings[o.WorksheetFuncId[n]+"ShortDescription"];e.set(n.toString(),r),t[n.toString()]=r}}return(0,n.isTypedChangeGateEnabled)("Microsoft.Office.Excel.UseObjectInsteadOfMapForFunctionShortDescriptions")?{descriptionMap:t}:{descriptionMap:e}}catch(e){return n.ulsLogger.ULS.traceTag(538792415,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,`failed to get functionShortDescriptionsMap with exception ${e}`),{}}}))},18242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventCallbacksManagerService=t.isALAnnotationEventKind=t.ALAnnotationKinds=t.ExternallyHandledEventKinds=t.ExternallyTriggeredEventKinds=t.ALAnnotationKind=t.EventKind=void 0,t.makeEventEmitter=function(e){return(0,o.mapFromArrayOfDependantPairs)(t.ExternallyTriggeredEventKinds.map((t=>[t,r=>e.triggerEvent(t,r)])))},t.makeALAnnotationNotifier=function(e){const t=t=>r=>(0,n.isNone)(r)?Promise.resolve():Promise.resolve(e.triggerEvent(t,r));return{FormulaByExample:t(a.FormulaByExample),CalculatedColumnSuggestion:t(a.CalculatedColumnSuggestion),FormulaByExamplePreview:t(a.FormulaByExamplePreview),FormulaCompletionFormulaAnnotation:t(a.FormulaCompletionFormulaAnnotation),FormulaCompletionBlockedAnnotation:t(a.FormulaCompletionBlockedAnnotation),FormulaCompletionValuePreviewAnnotation:t(a.FormulaCompletionValuePreviewAnnotation)}};const n=r(52123),o=r(8585);var i,a;!function(e){e.InternalTestEvent="InternalTestEvent",e.TestEvent="TestEvent",e.FBECacheUpdateEvent="FBECacheUpdateEvent",e.FBESendSignal="FBESendSignal",e.FBEOutcomeUpdate="FBEOutcomeUpdate",e.FBECacheUpdateEventDeprecated="FBECacheUpdateEventDeprecated",e.FormulaTranspilerInitEvent="FormulaTranspilerInitEvent",e.DescriptionCalculateColumns="DescriptionCalculateColumns",e.ExternalLinksMetaDataInitEvent="ExternalLinksMetaDataInitEvent",e.FormulaCompletionBlockedSuggestion="FormulaCompletionBlockedSuggestion",e.FormulaCompletionFormulaAnnotationArrived="FormulaCompletionFormulaAnnotationArrived",e.FormulaCompletionValuePreviewArrived="FormulaCompletionValuePreviewArrived"}(i||(t.EventKind=i={})),function(e){e.FormulaByExample="FormulaByExample",e.CalculatedColumnSuggestion="CalculatedColumnSuggestion",e.FormulaByExamplePreview="FormulaByExamplePreview",e.FormulaCompletionFormulaAnnotation="FormulaCompletionFormulaAnnotation",e.FormulaCompletionBlockedAnnotation="FormulaCompletionBlockedAnnotation",e.FormulaCompletionValuePreviewAnnotation="FormulaCompletionValuePreviewAnnotation"}(a||(t.ALAnnotationKind=a={})),t.ExternallyTriggeredEventKinds=[i.TestEvent,i.FBEOutcomeUpdate,i.FormulaTranspilerInitEvent,i.ExternalLinksMetaDataInitEvent],t.ExternallyHandledEventKinds=[i.TestEvent,i.DescriptionCalculateColumns,i.FormulaCompletionBlockedSuggestion,i.FormulaCompletionValuePreviewArrived],t.ALAnnotationKinds=(0,n.strEnumArray)(a),t.isALAnnotationEventKind=e=>t.ALAnnotationKinds.findIndex((t=>e===t))>=0,(0,n.staticAssertSame)(),(0,n.staticAssertSame)(),(0,n.staticAssertSame)(),(0,n.staticAssertSame)(),(0,n.staticAssertSame)(),(0,n.staticAssertSame)(),t.EventCallbacksManagerService=class{make(e){return t=>this.registry[e].forEach((e=>e(t)))}constructor(e){this.registry=(0,o.mapFromArrayOfDependantPairs)(t.ExternallyHandledEventKinds.map((e=>[e,[]]))),this.registerEventCallback=(e,t)=>this.registry[e].push(t),this.TestEvent=this.make("TestEvent"),this.DescriptionCalculateColumns=this.make("DescriptionCalculateColumns"),this.FormulaCompletionBlockedSuggestion=this.make("FormulaCompletionBlockedSuggestion"),this.FormulaCompletionValuePreviewArrived=this.make("FormulaCompletionValuePreviewArrived"),e(this)}}},61774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ALAnnotationKind=t.EventKind=void 0;var n=r(18242);Object.defineProperty(t,"EventKind",{enumerable:!0,get:function(){return n.EventKind}}),Object.defineProperty(t,"ALAnnotationKind",{enumerable:!0,get:function(){return n.ALAnnotationKind}})},2548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPluginResponseWindows=t.RequestKind=void 0;var n=r(26435);Object.defineProperty(t,"RequestKind",{enumerable:!0,get:function(){return n.RequestKind}}),Object.defineProperty(t,"defaultPluginResponseWindows",{enumerable:!0,get:function(){return n.defaultPluginResponseWindows}})},26435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestKindCellContentNamesMap=t.defaultPluginResponseWindows=t.RequestKind=void 0,t.makeRequester=function(e){const t=t=>(...[r,i,a])=>(0,n.isNone)(r)?Promise.resolve(null):Promise.resolve(e.doRequest(t,r,i,a??o.DefaultComputationGroup));return{argumentAssistance:t(i.argumentAssistance),chatGPTQuery:t(i.chatGPTQuery),columnFormulaSuggestion:t(i.columnFormulaSuggestion),formulaCopilotIPE:t(i.formulaCopilotIPE),formulaHighlighting:t(i.formulaHighlighting),formulaRepair:t(i.formulaRepair),functionSuggestion:t(i.functionSuggestion),formulaCompletion:t(i.formulaCompletion),gotoCtrlClick:t(i.gotoCtrlClick),inCellSuggestion:t(i.inCellSuggestion),runAuthoringExperiment:t(i.runAuthoringExperiment),runExperiment:t(i.runExperiment),runPerCharacterExperiment:t(i.runPerCharacterExperiment),runTest:t(i.runTest),valuePreview:t(i.valuePreview),getTranspiledFormulas:t(i.getTranspiledFormulas),getAnonymizedFormulas:t(i.getAnonymizedFormulas),inCellControlsAutodetection:t(i.inCellControlsAutodetection),getLocale:t(i.getLocale)}},t.makeSyncRequester=function(e){return{runTest:(t,r,a)=>(0,n.isNone)(t)?null:e.doSyncRequest(i.runTest,t,r,a??o.DefaultComputationGroup),formulaHighlighting:(t,r,a)=>(0,n.isNone)(t)?null:e.doSyncRequest(i.formulaHighlighting,t,r,a??o.DefaultComputationGroup),columnFormulaSuggestion:(t,r,a)=>(0,n.isNone)(t)?null:e.doSyncRequest(i.columnFormulaSuggestion,t,r,a??o.DefaultComputationGroup),formulaCopilotIPE:(t,r,a)=>(0,n.isNone)(t)?null:e.doSyncRequest(i.formulaCopilotIPE,t,r,a??o.DefaultComputationGroup)}};const n=r(52123),o=r(96843);var i;!function(e){e.functionSuggestion="functionSuggestion",e.inCellSuggestion="inCellSuggestion",e.formulaHighlighting="formulaHighlighting",e.formulaCopilotIPE="formulaCopilotIPE",e.formulaCompletion="formulaCompletion",e.argumentAssistance="argumentAssistance",e.valuePreview="valuePreview",e.gotoCtrlClick="gotoCtrlClick",e.runExperiment="runExperiment",e.runAuthoringExperiment="runAuthoringExperiment",e.runPerCharacterExperiment="runPerCharacterExperiment",e.runTest="runTest",e.formulaRepair="formulaRepair",e.chatGPTQuery="chatGPTQuery",e.columnFormulaSuggestion="columnFormulaSuggestion",e.getTranspiledFormulas="getTranspiledFormulas",e.getAnonymizedFormulas="getAnonymizedFormulas",e.inCellControlsAutodetection="inCellControlsAutodetection",e.getLocale="getLocale"}(i||(t.RequestKind=i={})),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),t.defaultPluginResponseWindows={[i.functionSuggestion]:{startDelta:5,stopDelta:2e3},[i.inCellSuggestion]:{startDelta:5,stopDelta:2e3},[i.formulaHighlighting]:{startDelta:5,stopDelta:2e3},[i.argumentAssistance]:{startDelta:5,stopDelta:2e3},[i.formulaCopilotIPE]:{startDelta:5,stopDelta:2e3},[i.formulaCompletion]:{startDelta:(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.FormulaCompletionStartDelta"),stopDelta:6e3},[i.valuePreview]:{startDelta:5,stopDelta:2e3},[i.gotoCtrlClick]:{startDelta:5,stopDelta:2e3},[i.formulaRepair]:{startDelta:5,stopDelta:2e3},[i.runExperiment]:{startDelta:0,stopDelta:15e3},[i.runAuthoringExperiment]:{startDelta:0,stopDelta:15e3},[i.runPerCharacterExperiment]:{startDelta:5,stopDelta:2e3},[i.runTest]:{startDelta:0,stopDelta:15e3},[i.chatGPTQuery]:{startDelta:0,stopDelta:15e3},[i.columnFormulaSuggestion]:{startDelta:0,stopDelta:2e4},[i.getTranspiledFormulas]:{startDelta:0,stopDelta:5e3},[i.getAnonymizedFormulas]:{startDelta:0,stopDelta:5e3},[i.inCellControlsAutodetection]:{startDelta:0,stopDelta:2e3},[i.getLocale]:{startDelta:0,stopDelta:2e3}},n.staticAssertSame,t.requestKindCellContentNamesMap={[i.functionSuggestion]:"content",[i.inCellSuggestion]:"content",[i.formulaCopilotIPE]:"content",[i.formulaHighlighting]:"content",[i.argumentAssistance]:"content",[i.valuePreview]:"text",[i.runAuthoringExperiment]:"content",[i.runPerCharacterExperiment]:"content",[i.formulaRepair]:"formula",[i.gotoCtrlClick]:"text",[i.formulaCompletion]:"content",[i.columnFormulaSuggestion]:void 0,[i.runExperiment]:void 0,[i.runTest]:void 0,[i.chatGPTQuery]:void 0,[i.getTranspiledFormulas]:void 0,[i.getAnonymizedFormulas]:void 0,[i.inCellControlsAutodetection]:void 0,[i.getLocale]:void 0}},39323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputationKinds=t.ComputationType=void 0;const n=r(52123),o=r(18242),i=r(26435);var a;!function(e){e.UIMessage="UIMessage",e.Event="Event"}(a||(t.ComputationType=a={})),t.ComputationKinds={[a.UIMessage]:i.RequestKind,[a.Event]:{...o.EventKind,...o.ALAnnotationKind}},(0,n.staticAssertSame)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)()},65246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computationRegistry=t.registerComputation=t.deletePluginRegistration=t.wrapRegistration=void 0,t.getShouldRunComputationPredicate=d,t.isFormulaRequest=p,t.getFormulaContent=h;const n=r(52123),o=r(85882),i=r(39323),a=r(26435),s=r(8585),l=r(99355);class u{push(e,t){this.registeredComputations.get(t)?o.ulsLogger.ULS.traceTag(507330770,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,`Computation '${JSON.stringify(t.computationIdentifier)}' already registered`):(this.byFactoryName.get(e).push(t),this.registeredComputations.set(t,!0))}getRegistrationsByPluginIdentifier(e){return this.byFactoryName.get(e)}getRegistrationByComputationIdentifier(e){return this.getRegistrationsByPluginIdentifier(e).find((t=>t.computationIdentifier.computationName===e.computationName))}deleteRegistrationsByPluginIdentifier(e){let t=0;for(const r of this.byFactoryName.get(e))this.registeredComputations.delete(r),t++;return this.byFactoryName.delete(e),t}constructor(){this.registeredComputations=new s.DefaultMap({getKey:e=>`${e.computationIdentifier.factoryName}.${e.computationIdentifier.pluginName}.${e.computationIdentifier.computationName}.${e.computationIdentifier.executionType}`,getDefault:()=>!1}),this.byFactoryName=new s.DefaultMap({getKey:e=>`${e.factoryName}.${e.pluginName}`,getDefault:()=>[]})}}const c=(0,s.mapFromArrayOfDependantPairs)((0,n.strEnumArray)(i.ComputationType).map((e=>[e,new u])));function d(e,t){return function(r,n){for(const t of g)if(!t({registration:e,input:r,pluginGroup:n}))return!1;return void 0===t||t.bind(this)(r)}}function p(e){return void 0!==a.requestKindCellContentNamesMap[e]}function h(e){const t=a.requestKindCellContentNamesMap[e[0]];(0,s.staticTypeHint)(t);const r=e[1][t];return(0,s.staticTypeHint)(r),r}t.wrapRegistration=(e,t,r,n,o,i,a,s)=>{const l=d({type:e,kind:t,pluginGroup:n,modifiers:i},s);return{type:e,kind:t,execution:r,pluginGroup:n,computationIdentifier:o,modifiers:i,registrationMethod:(n,i)=>([s,u])=>{if(!l.bind(i)(s.computationInput,u))return void n.addResult({type:e,computationKind:t,computationIdentifier:o,computationGroup:s.computationGroup,correlationId:s.correlationId},{kind:"Skipped"});const c=a.bind(i);n.startComputation(e,t,r,o,c(s.computationInput),s)}}},t.deletePluginRegistration=e=>{let t=0;for(const r of(0,n.strEnumArray)(i.ComputationType))t+=c[r].deleteRegistrationsByPluginIdentifier(e);t>0&&l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.PluginAttachmentFailure,failureLevel:o.TraceLevel.Warning,path:"deletePluginRegistration",description:"Deleted plugin registration",data:e}})},t.registerComputation=(e,r,n,o,i,a,s,l)=>{const u=(0,t.wrapRegistration)(e,r,n,o,i,a,s,l);c[e].push(i,u)},t.computationRegistry=c;const g=[({registration:e,pluginGroup:t})=>void 0===t||t===e.pluginGroup,({registration:e,input:t})=>{if(e.type!==i.ComputationType.UIMessage||e.modifiers.runOnNonFormula)return!0;if((0,s.staticTypeHint)(e.kind),!p(e.kind))return!0;const r=[e.kind,t];(0,s.staticTypeHint)(r);const n=h(r);return-1!==["=","+","-"].indexOf(n[0])}]},45012:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExecutionType=void 0,function(e){e.Atomic="Atomic",e.NoOp="NoOp",e.Sync="Sync",e.Async="Async",e.Internal="Internal"}(r||(t.ExecutionType=r={}))},19920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormulaAuthoringHelperSingleton=void 0;const n=r(52123),o=r(44893);t.FormulaAuthoringHelperSingleton=(0,n.singleton)((()=>new o.FormulaAuthoringHelper))},44893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormulaAuthoringHelper=void 0;const n=r(52123),o=r(85882),i=r(18648),a=r(16038),s=r(69804),l=r(62703);t.FormulaAuthoringHelper=class{getMinimalParamArray(e,t){if((0,n.isNone)(t))return;const{minArgs:r,restTypes:o}=(0,a.getWorksheetFuncTypeWrapper)(t);let s;s=(0,i.isChangeGateEnabled)("OfficeVSO:9292450_FixWrongParamForCFInArgumentsDialog")?o.length>0&&!t.IsDynamicUdf?Math.max(r,2):e?.length??0:o.length>0?Math.max(r,2):e?.length??0;const l=[];for(let r=0;r<s;r+=1){const o=this.getFunctionParamByIndex(e,t,r);(0,n.isDefined)(o)&&l.push(o)}return l}getFunctionParamByIndex(e,t,r){if((0,n.isNone)(t))return;const o=t.ParamsHelp.split("!");let l="",u=!1,c="";if((0,i.isChangeGateEnabled)("OfficeVSO:9292450_FixWrongParamForCFInArgumentsDialog")&&t.IsDynamicUdf){if(r<=e.length-1&&(u=/^\[.*\]$/.test(e[r]),l=u?e[r].slice(1,-1):e[r],c=o[r]),r>=e.length-1)if(t.Params.endsWith("..."))l=`${(0,s.getBaseParamName)(e[e.length-1])}${r-e.length+2}`,u=!0,c=o[o.length-1];else if(r!==e.length-1)return void this.logError("Trying to get param by index that is out of bounds")}else{const n=(0,a.getWorksheetFuncTypeWrapper)(t),i=n.headTypes.length,d=(0,s.getParamIndexToHighlight)(r,e.length,n,!1,!0);if(-1===d)return void this.logError("Trying to get param by index that is out of bounds");if(d>=e.length)return void this.logError("Trying to add param for a signature that doesn't have rest params.");l=r<i?e[d].match(/[^\[\]]+/).toString():`${(0,s.getBaseParamName)(e[d])}${(0,s.getParamNumberSuffix)(r,i,n.restTypes.length)}`,u=r>=n.minArgs,c=o[(0,s.getParamIndexToHighlight)(r,t.ParamsHelp.split("!").length,n)]}return{name:l,isOptional:u,description:c,type:"TO DO"}}getFormulaAnonymizer(e){const t=new l.ConsistentAnonymizer;return{anonymize:(r,o)=>{try{return i=r,(0,n.isDefined)(i)&&"string"==typeof i?function(e){return(0,n.isDefined)(e)&&"object"==typeof e&&"localeInfo"in e&&"mathpack"in e&&"refStyle"in e}(e)?function(e){return(0,n.isDefined)(e)&&"object"==typeof e&&"row"in e&&"col"in e&&1===e.rows&&1===e.cols}(o)?t.anonymize(r,e,o):(this.logError("getFormulaAnonymizer: Origin"),null):(this.logError("getFormulaAnonymizer: Config"),null):(this.logError("getFormulaAnonymizer: Formula"),null)}catch(e){return this.logError(`getFormulaAnonymizer: ${e}`),null}var i}}}logError(e){o.ulsLogger.ULS.traceTag(512331973,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Error,`FormulaAuthoringHelper error: ${e}`)}constructor(){this.hasRepeatingParams=e=>(0,n.isNone)(e)?(this.logError("hasRepeatingParams: funcInfo is null or undefined"),!1):(0,a.getWorksheetFuncTypeWrapper)(e).restTypes.length>0}}},16038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWorksheetFuncTypeWrapper=function(e){return o(e)?i[e.FunctionIndexInServer][e.signatureIndex]:(0,n.getWorksheetFuncType)(e.FunctionIndexInServer)};const n=r(85882),o=e=>{if(void 0===e)return!1;const{FunctionIndexInServer:t,signatureIndex:r}=e;return!(0!==r&&1!==r||t!==n.WorksheetFuncId.AGGREGATE&&t!==n.WorksheetFuncId.INDEX&&t!==n.WorksheetFuncId.LOOKUP)},i={[n.WorksheetFuncId.AGGREGATE]:[{headTypes:[1,1,48,17],restTypes:[],tailTypes:[],minArgs:3,maxArgs:4},{headTypes:[1,1],restTypes:[16],tailTypes:[],minArgs:3,maxArgs:255}],[n.WorksheetFuncId.INDEX]:[{headTypes:[48,1,1],restTypes:[],tailTypes:[],minArgs:2,maxArgs:3},{headTypes:[48,1,1,1],restTypes:[],tailTypes:[],minArgs:2,maxArgs:4}],[n.WorksheetFuncId.LOOKUP]:[{headTypes:[263,48,48],restTypes:[],tailTypes:[],minArgs:2,maxArgs:3},{headTypes:[263,48],restTypes:[],tailTypes:[],minArgs:2,maxArgs:2}]}},62703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsistentAnonymizer=void 0;const n=r(52123),o=r(85882),i=r(41257);var a=i.stopUsingThis.tokenizeFormula,s=i.stopUsingThis.singleLineCommentToken,l=i.stopUsingThis.multiLineCommentToken,u=i.stopUsingThis.TokenKind,c=i.stopUsingThis.identToken,d=i.stopUsingThis.literalToken,p=i.stopUsingThis.cellRefA1Token,h=i.stopUsingThis.TokenOperKind,g=i.stopUsingThis.cellRefR1C1Token,m=i.stopUsingThis.unexpectedToken,f=i.stopUsingThis.DelimId;class v{get(e,t,r){if(e===u.Literal){if(void 0===r)throw new Error("Expected subkind");return this.literalStore.get(r)?.get(t)}return this.nonLiteralStore.get(e)?.get(t)}set(e,t,r,n){if(e===u.Literal){if(void 0===n)throw new Error("Expected subkind");const e=this.literalStore.get(n)??new Map;e.set(t,r),this.literalStore.set(n,e)}else{const n=this.nonLiteralStore.get(e)??new Map;n.set(t,r),this.nonLiteralStore.set(e,n)}}constructor(){this.nonLiteralStore=new Map,this.literalStore=new Map}}t.ConsistentAnonymizer=class{getAnonymization(e,t,r,n){const o=this.store.get(e,r,t);if(void 0!==o)return o;const i=n(this.counter);return this.counter+=1,this.store.set(e,r,i,t),i}anonymizeIdent(e,t,r,n){const o=t??e.start,i=r?.localeInfo.getWorksheetFuncId(e.chars);if(void 0!==i&&function(e){return void 0!==e&&e.kind===u.Left&&e.value===f.Paren}(n))return c(o,e.chars);const a=this.getAnonymization(e.kind,void 0,e.chars,(e=>`ident${e}`));return c(o,a)}anonymizeA1CellRef(e,t){if(e.refStyle!==o.RefStyle.A1)throw new Error("Expected RefStyle.A1");const r=t??e.start,n=this.getAnonymization(e.kind,void 0,e.chars,(e=>`A${e}`));return p(r,n,void 0,void 0)}anonymizeR1C1CellRef(e,t){if(e.refStyle!==o.RefStyle.R1C1)throw new Error("Expected RefStyle.R1C1");const r=t??e.start,n=this.getAnonymization(e.kind,void 0,e.chars,(e=>`R${e}C${e}`));return g(r,n,void 0,void 0)}anonymizeCellRef(e,t){return e.refStyle===o.RefStyle.A1?this.anonymizeA1CellRef(e,t):this.anonymizeR1C1CellRef(e,t)}anonymizeLiteral(e,t){const r=t??e.start;let i;switch(e.oper.kind){case o.OperKind.Number:i=this.getAnonymization(e.kind,e.oper.kind,e.chars,(e=>`${e}`));break;case o.OperKind.String:i=this.getAnonymization(e.kind,e.oper.kind,e.chars,(e=>`"s${e}"`));break;case h.BadNumber:i=this.getAnonymization(e.kind,e.oper.kind,e.chars,(e=>`1e${e}000`));break;case h.BadError:i=this.getAnonymization(e.kind,e.oper.kind,e.chars,(e=>{const t=["a"],r="a".charCodeAt(0);let n=e;for(;n>0;){const o=e%10,i=String.fromCharCode(r+o);t.push(i),n=Math.floor(n/10)}return`#${t.join("")}`}));break;case o.OperKind.Boolean:case o.OperKind.Error:i=e.chars;break;default:(0,n.assertNever)("error",e.oper)}const a=e.oper,s=e.hasRight;return d(r,i,a,s)}anonymizeToken(e,t,r,o){switch(e.kind){case u.Ident:return this.anonymizeIdent(e,t,r,o);case u.CellRef:return this.anonymizeCellRef(e,t);case u.Literal:return this.anonymizeLiteral(e,t);case u.Unexpected:return function(e,t){const r=t??e.start;return"\t"===e.chars||";"===e.chars?m(r,e.chars):m(r,"\t")}(e,t);case u.SingleLineComment:return s(t,"redacted");case u.MultiLineComment:return l(t,"redacted",e.isClosed);case u.End:case u.Left:case u.Right:case u.Sep:case u.Operator:case u.Spaces:case u.SpecialRef:case u.Escape:return{...e,start:t};default:return(0,n.assertNever)("ConsistentAnonymizer.anonymizeToken",e)}}anonymize(e,t,r){const n=a(t.localeInfo,t.mathpack,t.refStyle,r,e,0,{}),o=[];let i=0;for(let e=0;e<n.length;e+=1){const r=n[e],a=e+1<n.length?n[e+1]:void 0,s=this.anonymizeToken(r,i,t,a);i+=s.chars.length,o.push(s)}return o.map((e=>e.chars)).join("")}constructor(){this.store=new v,this.counter=1}}},72066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formulaCollectionPluginDependenciesResolved=t.FormulaCollectionPlugin=void 0,t.deserializeSplitCollectedFormulaLog=function(e){let t=e,r=t.indexOf(",");const n=Number(t.slice(0,r));t=t.slice(r+1),r=t.indexOf(",");return{correlationId:n,logPartId:Number(t.slice(0,r)),partialMessage:t.slice(r+1)}},t.combineSplitCollectedFormulaLogs=function(e){const t=e.sort((e=>e.logPartId)).map((e=>e.partialMessage)).join("");return JSON.parse(t)};const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(41257),l=r(68247),u=r(44663),c=r(62703),d=r(2548),p=r(58737),h=r(92787),g=r(89500),m=r(54855);function f(e){i.ulsLogger.ULS.traceTag(537962337,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Verbose,e)}const v=g.PluginRegistry.create(u.PluginFactoryName.FormulaCollectionPlugin,u.PluginGroup.Excel);let b=(()=>{let e,t,r,p=[v.x10Plugin()],h=[],g=[];var m=t=class{getEditEntry(e,t){const r={content:e,cell:t};if(void 0===this.lastEdit||!(0,i.isSheetGridCellEqual)(this.lastEdit.cell,t)||this.lastEdit.content!==e)return this.lastEdit=r,r}anonymizeSheetId(e){if(this.sheetIdAnonymization.has(e))return this.sheetIdAnonymization.get(e);const t=(0,l.getNewGuid)()[0];return this.sheetIdAnonymization.set(e,t),t}*run(e){const t=yield{kind:"GetActiveCell"};if("GetActiveCell"!==t.kind)return f(T.GetActiveCell),null;const r=t.activeCell;if(null==e.content)return f(T.EmptyContent),null;if(!e.content.trimLeft().startsWith("="))return null;const n=this.getEditEntry(e.content,r);if(void 0===n)return null;const l=yield{kind:"GetConfig"};if("GetConfig"!==l.kind)return f(T.GetConfig),null;const u=l.config,c=(0,s.createAnalyzeGlobals)(u),d=(0,i.lexicalSourceCell)(n.cell),p=(0,s.analyzeLocalsGrid)(d.kind,d.range),h=(0,s.createAnalyzer)(c),g=this.consistentAnonymizer.anonymize(n.content,u,r.range),v=yield{kind:"ParseEdit",cell:n.cell,formulaBarText:g};if("ParseEdit"!==v.kind||!(0,o.isSuccess)(v.result))return f(T.ParseEdit),null;if(v.result.value.kind!==a.EditKind.Formula)return null;const b=v.result.value.formula,y=b.isWellFormed;let k;if(!y){const e=h.checkFormulaWithDiagnostics(p,b);if((0,o.isSuccess)(e)){const t=e?.value[1];void 0!==t&&(k=function(e,t){const r={},n={};return Object.keys(e).forEach((o=>{const i=Number(o),a=e[i];void 0!==a&&(r[o]=a);const s=t.spans[i];void 0!==s&&(n[o]=s)})),{spanDiagnostics:r,spans:n}}(t,b))}}const F=yield{kind:"GetCorrelationId"};if("GetCorrelationId"!==F.kind)return null;const E=F.correlationId;return function(e){const t=function(e){let t=JSON.stringify(e),r=0;const n=[];for(;t.length>0;){const[o,i]=C(t,r,e.i);t=i,r+=1,n.push(o)}return n}(e);for(const e of t){const t=S(e);i.ulsLogger.ULS.dnmTraceTag(537962336,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,t)}}({v:m.formulaCollectionVersion,f:g,ok:y,d:k,c:{s:this.anonymizeSheetId(n.cell.sheet.index),c:n.cell.range.col,r:n.cell.range.row},i:E}),null}constructor(){this.lastEdit=n.__runInitializers(this,g),this.lastEdit=void 0,this.consistentAnonymizer=new c.ConsistentAnonymizer,this.sheetIdAnonymization=new Map}};return n.__setFunctionName(t,"FormulaCollectionPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[v.uiMessageHandler({kind:d.RequestKind.functionSuggestion})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,g),n.__esDecorate(null,e={value:t},p,{kind:"class",name:t.name,metadata:o},null,h),m=t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=v.injectPluginFactory(),t.factoryName=u.PluginFactoryName.FormulaCollectionPlugin,t.formulaCollectionVersion=1,n.__runInitializers(t,h),m=t})();t.FormulaCollectionPlugin=b;const y=2300;function S(e){return e.correlationId.toString()+","+e.logPartId.toString()+","+e.partialMessage}function C(e,t,r){const n=r.toString().length+t.toString().length+2,o=y-n;return[{correlationId:r,logPartId:t,partialMessage:e.slice(0,o)},e.slice(o)]}var T;!function(e){e.GetActiveCell="GetActiveCell failed",e.GetConfig="GetConfig failed",e.ParseEdit="ParseEdit failed",e.EmptyContent="empty content"}(T||(T={})),(0,p.registerPlugin)(b),t.formulaCollectionPluginDependenciesResolved=(0,m.trackableAsyncLazy)((async()=>{const e=await h.workerThreadSpread.getValue();await e.createAndAttachPlugin(u.PluginFactoryName.FormulaCollectionPlugin),await h.schedulerWithRecalcServiceAttached.getValue()}),"formulaCollectionPluginDependenciesResolved")},18018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.coloredReferencesPluginDependenciesResolved=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(78179),u=r(45012),c=r(2548),d=r(58737),p=r(92787),h=r(89500),g=r(54855),m=r(47797),f=h.PluginRegistry.create(s.PluginFactoryName.ColoredReferencesPlugin,s.PluginGroup.Excel);let v=(()=>{let e,t,r,d=[f.x10Plugin()],p=[],h=[];return t=class{*run(e){const t=e.content,r=yield{kind:"ParseActiveCell",formulaText:t};if("ParseActiveCell"!==r.kind||!(0,o.isSuccess)(r.result))return null;if(r.result.value.kind!==a.EditKind.Formula)return null;const n=yield{kind:"GetActiveCell"};if("GetActiveCell"!==n.kind)return b("failed to get active cell"),null;let u;const c=yield{kind:"GetSheetNames"};let d;"GetSheetNames"===c.kind?u=c:b("failed to get sheet names");const p=yield{kind:"GetDefinedNamesInfo"};"GetDefinedNamesInfo"===p.kind?d=p.definedNamesInfo:b("failed to get defined names");const h=n.activeCell,{formula:g}=r.result.value,f=new l.ColoredReferencesVisitor(h,g,t,u,d);(0,i.reduceBottomUp)(f,g);let v=f.formulaHighlights;if(0!==f.structRefNodes.length){const e={originGridCell:(0,o.success)(h.range),originSheet:(0,o.success)(h.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!0},t=yield{kind:"ResolveReferences",nodes:f.structRefNodes,locals:e};"ResolveReferences"===t.kind?v=v.concat(function(e,t,r){const n=[];return r.forEach((r=>{const a=e.spans[r.node.label];if(!a)return void b("failed to resolve StructRef, formulaSpan null");if(!(0,o.isSuccess)(r.resolution))return void b(`failed to resolve StructRef, reason: ${r.resolution?.reason.kind}`);if(void 0===r.resolution.value)return void b("failed to resolve StructRef, resolution value undefined");const l=r.resolution.value,u=(0,i.sheetRangeToSheetIndex)(l.sheet);if(!(0,o.isDefined)(u)||!(0,i.isSheetIndexEqual)(u,t.sheet))return;const c=(0,m.gridRangeToRange)(l.range),d={kind:s.HighlightKind.StructRef,span:a,rangeInfo:{range:c}};n.push(d)})),n}(g,h,t.resolverResults)):b("failed to resolve node references")}return{formulaHighlights:v}}constructor(){n.__runInitializers(this,h)}},n.__setFunctionName(t,"ColoredReferencesPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[f.uiMessageHandler({kind:c.RequestKind.formulaHighlighting,modifiers:{executionType:u.ExecutionType.Sync}})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,h),n.__esDecorate(null,e={value:t},d,{kind:"class",name:t.name,metadata:o},null,p),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=f.injectPluginFactory(),n.__runInitializers(t,p),t})();function b(e){i.ulsLogger.ULS.traceTag(525133647,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`ColoredReferencesPlugin encountered a failure with msg ${e}`)}(0,d.registerPlugin)(v),t.coloredReferencesPluginDependenciesResolved=(0,g.trackableAsyncLazy)((async()=>{const e=await p.dynamicPluginLoaderCreated.getValue();await e.createAndAttachPlugin(s.PluginFactoryName.ColoredReferencesPlugin),await p.schedulerWithRecalcServiceAttached.getValue()}),"coloredReferencesPluginDependenciesResolved")},78179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColoredReferencesVisitor=void 0;const n=r(52123),o=r(85882),i=r(44663),a=r(17019),s=r(70486),l=r(47797);class u extends o.IdentityVisitor{structRefNode(e,t,r){const n=super.structRefNode(e,t,r);return this.structRefNodes.push(n),n}nameNode(e,t,r){const a=super.nameNode(e,t,r);if(!this.isRefInActiveSheet(t))return a;if(a.parts.kind===o.NamePartKind.FieldRefNamePart)return this.createAndAppendFieldRefHighlight(a.parts.lhs),a;if(!(0,n.isDefined)(this.namedObjectsMap))return a;const s=this.namedObjectsMap.get(e.asWhole.toLocaleLowerCase());return void 0!==s&&s.type!==i.DefinedNameInfoType.Invalid&&this.createAndAppendNamedRefHighlight(r,s),a}cellRefNode(e,t,r){const n=super.cellRefNode(e,t,r);if(!(0,s.isValidCellRef)(e)||!this.isRefInActiveSheet(t))return n;const a=this.parsedFormulaTree.spans[r];if(a){const t=this.createRangeInfoFromCellRef(e),r=this.formulaSpanToHighlightingSpan(a,o.NodeKind.CellRef);this.formulaHighlights.push(c(i.HighlightKind.CellRef,r,t))}return n}get namedObjectsMap(){return(0,n.isDefined)(this._namedObjectsMap)||(0,n.isDefined)(this.definedNameInfoList)&&(this._namedObjectsMap=(0,s.createNameToDefinedNameInfoMapping)(this.definedNameInfoList)),this._namedObjectsMap}createAndAppendNamedRefHighlight(e,t){const r=this.parsedFormulaTree.spans[e];if(!(0,n.isDefined)(r)||!(0,n.isDefined)(this.sheetNames))return;const l=t.sheetName;if(!(0,n.isDefined)(l))return void d(`createAndAppendNamedRef - sheetName undefined, DefinedNameInfo type: ${t.type}`);const u=(0,s.getSheetIndexFromSheetName)(l,this.sheetNames);if(!(0,n.isDefined)(u))return void d(`createAndAppendNamedRef: sheetIndex undefined, DefinedNameInfo type: ${t.type}`);if(!(0,o.isSheetIndexEqual)(u,this.activeCell.sheet))return;const p=(0,a.getRangeFromDefinedName)(t);void 0!==p&&this.formulaHighlights.push(c(i.HighlightKind.NamedRange,r,{range:p}))}createAndAppendFieldRefHighlight(e){switch(e.kind){case o.NamePartKind.CellRefNamePart:this.createAndAppendCellRefPartHighlight(e);break;case o.NamePartKind.IdentNamePart:{if(!(0,n.isDefined)(this.namedObjectsMap))return;const t=this.namedObjectsMap.get(e.asWhole.toLocaleLowerCase());void 0!==t&&t.type!==i.DefinedNameInfoType.Invalid&&this.createAndAppendNamedRefHighlight(e.label,t);break}case o.NamePartKind.FieldRefNamePart:this.createAndAppendFieldRefHighlight(e.lhs)}}createAndAppendCellRefPartHighlight(e){const t=this.parsedFormulaTree.spans[e.label];if(!(0,n.isDefined)(t))return;const r=this.createRangeInfoFromCellRef(e.ref),a=this.formulaSpanToHighlightingSpan(t,o.NodeKind.CellRef),s=c(i.HighlightKind.CellRef,a,r);this.formulaHighlights.push(s)}formulaSpanToHighlightingSpan(e,t){const r={...e};var n,i;return t===o.NodeKind.CellRef&&(n=e,(i=this.formulaString).length>n.end&&i.charAt(n.end)===o.operatorStrings[o.OperatorId.Pound]&&(r.end+=1)),r}createRangeInfoFromCellRef(e){return{range:(0,s.getRangeFromCellRef)(e,this.activeCell.range,d),positionKindInfo:(0,l.getPositionKindInfoFromCellRef)(e)}}isRefInActiveSheet(e){if(!(0,n.isDefined)(e))return!0;if(!(0,n.isDefined)(this.sheetNames))return!1;const t=(0,s.getSheetIndexFromQualifier)(e,this.sheetNames,this.failureCallback);return(0,n.isDefined)(t)?(0,o.isSheetIndexEqual)(t,this.activeCell.sheet):(this.failureCallback?.("CellRefHighlightCreator.isRefInActiveSheet: sheetIndex is undefined"),!1)}constructor(e,t,r,n,o,i){super(),this.activeCell=e,this.parsedFormulaTree=t,this.formulaString=r,this.sheetNames=n,this.definedNameInfoList=o,this.failureCallback=i,this.structRefNodes=[],this.formulaHighlights=[],this.activeCellSheetName=void 0,this._namedObjectsMap=void 0}}function c(e,t,r){return{kind:e,span:t,rangeInfo:r}}function d(e){o.ulsLogger.ULS.traceTag(520935561,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,`ColoredReferencesVisitor encountered a failure with msg ${e}`)}t.ColoredReferencesVisitor=u},24914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parenthesesCouplingPluginDependenciesResolved=t.ParenthesesCouplingPlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(50899),u=r(45012),c=r(2548),d=r(58737),p=r(92787),h=r(89500),g=r(54855),m=h.PluginRegistry.create(s.PluginFactoryName.ParenthesesCouplingPlugin,s.PluginGroup.Excel);let f=(()=>{let e,t,r,d=[m.x10Plugin()],p=[],h=[];return t=class{*run(e){if(null!=e.selectionLength&&e.selectionLength>0)return null;const t=yield{kind:"ParseActiveCell",formulaText:e.content};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;const{formula:r}=t.result.value,n=new l.ParenthesesCouplingVisitor(r,e.caretPosition);return(0,i.reduceBottomUp)(n,r),(0,o.isDefined)(n.parenthesesSpan)?this.getParenthesesHighlights(n.parenthesesSpan):{formulaHighlights:void 0}}getParenthesesHighlights(e){const t=e.start,r=e.end,n={kind:s.HighlightKind.Parentheses,span:{start:t,end:t+1}};return{formulaHighlights:[{kind:s.HighlightKind.Parentheses,span:{start:r,end:r+1}},n]}}constructor(){n.__runInitializers(this,h)}},n.__setFunctionName(t,"ParenthesesCouplingPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[m.uiMessageHandler({kind:c.RequestKind.formulaHighlighting,modifiers:{executionType:u.ExecutionType.Sync}}),m.uiMessageHandler({kind:c.RequestKind.formulaHighlighting,modifiers:{executionType:u.ExecutionType.Async}})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,h),n.__esDecorate(null,e={value:t},d,{kind:"class",name:t.name,metadata:o},null,p),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=m.injectPluginFactory(),n.__runInitializers(t,p),t})();t.ParenthesesCouplingPlugin=f,(0,d.registerPlugin)(f),t.parenthesesCouplingPluginDependenciesResolved=(0,g.trackableAsyncLazy)((async()=>{const e=await p.dynamicPluginLoaderCreated.getValue();await e.createAndAttachPlugin(s.PluginFactoryName.ParenthesesCouplingPlugin),await p.schedulerWithRecalcServiceAttached.getValue()}),"parenthesesCouplingPluginDependenciesResolved")},50899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParenthesesCouplingVisitor=void 0;const n=r(85882);class o extends n.IdentityVisitor{appNode(e,t,r,o){return e.kind!==n.NodeKind.Operator&&this.matchFormula(e,r,o),super.appNode(e,t,r,o)}parenNode(e,t,r){const n=this.formula.spans[r];return t&&n&&this.matchParentheses(n.start,n.end-1),super.parenNode(e,t,r)}letNode(e,t,r,n,o,i){return this.matchFormula(e,o,i),super.letNode(e,t,r,n,o,i)}lambdaNode(e,t,r,n,o,i){return this.matchFormula(e,o,i),super.lambdaNode(e,t,r,n,o,i)}matchFormula(e,t,r){const n=this.formula.spans[r],o=this.formula.spans[e.label];t&&n&&o&&this.matchParentheses(o.end,n.end-1)}matchParentheses(e,t){e===this.caretPosition&&(this.checkRight=!0),t===this.caretPosition-1&&(this.checkLeft=!0),this.checkRight&&this.shouldUpdateLocation(e,t,this.caretPosition+1)||this.shouldUpdateLocation(e,t,this.caretPosition)?(this.parenthesesSpan={start:e,end:t},this.areParenthesesLeftOfCaret=!1):this.checkLeft&&this.shouldUpdateLocation(e,t,this.caretPosition-1)&&(this.parenthesesSpan={start:e,end:t},this.areParenthesesLeftOfCaret=!0)}shouldUpdateLocation(e,t,r){return e<r&&r<=t&&(void 0===this.parenthesesSpan||this.areParenthesesLeftOfCaret&&e<=this.parenthesesSpan.start||e>this.parenthesesSpan.start)}constructor(e,t){super(),this.formula=e,this.caretPosition=t,this.parenthesesSpan=void 0,this.checkLeft=!1,this.checkRight=!1,this.areParenthesesLeftOfCaret=!1}}t.ParenthesesCouplingVisitor=o},47797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gridRangeToRange=function(e){const t=e.row,r=e.col;return{firstRow:t,firstColumn:r,lastRow:t+e.rows-1,lastColumn:r+e.cols-1}},t.spanCompare=function(e,t){let r;return 0!=(r=e.start-t.start)||0!=(r=t.end-e.end)?r:0},t.getPositionKindInfoFromCellRef=function(e){switch(e.kind){case n.CellRefKind.Col:return function(e){return{firstRow:o.PositionKind.Relative,firstColumn:i[e.col1.kind],secondRow:o.PositionKind.Relative,secondColumn:i[e.col2.kind]}}(e);case n.CellRefKind.Row:return function(e){return{firstRow:i[e.row1.kind],firstColumn:o.PositionKind.Relative,secondRow:i[e.row2.kind],secondColumn:o.PositionKind.Relative}}(e);case n.CellRefKind.Single:return function(e){let t,r;return{firstRow:t=i[e.row.kind],firstColumn:r=i[e.col.kind],secondRow:t,secondColumn:r}}(e);case n.CellRefKind.Range:return function(e){return{firstRow:i[e.ref1.row.kind],firstColumn:i[e.ref1.col.kind],secondRow:i[e.ref2.row.kind],secondColumn:i[e.ref2.col.kind]}}(e)}};const n=r(85882),o=r(44663),i={Abs:o.PositionKind.Absolute,Rel:o.PositionKind.Relative}},85810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gotoCtrlClickPluginDependenciesResolved=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(44663),l=r(11347),u=r(2548),c=r(58737),d=r(92787),p=r(17019),h=r(89500),g=r(54855),m=h.PluginRegistry.create(s.PluginFactoryName.GotoCtrlClickPlugin,s.PluginGroup.Excel);let f=(()=>{let e,t,r,c=[m.x10Plugin()],d=[],h=[];return t=class{*run({text:e,index:t}){const r=e;if(t<0||t>=r.length)return v("caret out of formula scope"),{kind:s.GotoCtrlClickResultKind.NoReferenceFound};const n=yield{kind:"ParseActiveCell",formulaText:r};if("ParseActiveCell"!==n.kind||!(0,o.isSuccess)(n.result))return v("failed to parse active cell"),{kind:s.GotoCtrlClickResultKind.Failure};if(n.result.value.kind!==a.EditKind.Formula)return v("Not a formula cell"),{kind:s.GotoCtrlClickResultKind.NotAFormula};const u=yield{kind:"GetActiveCell"};if("GetActiveCell"!==u.kind)return v("failed to get active cell"),null;let c;const d=yield{kind:"GetDefinedNamesInfo"};"GetDefinedNamesInfo"===d.kind?c=d.definedNamesInfo:v("failed to get defined names");const h=u.activeCell,{formula:g}=n.result.value,m=new l.GotoCtrlClickVisitor(g,h.range,c,t);if((0,i.reduceBottomUp)(m,g),!m.referenceFound)return{kind:s.GotoCtrlClickResultKind.NoReferenceFound};let f=m.sheetRange;if((0,o.isDefined)(m.structRefNodeToResolve)){let e;const t=yield{kind:"GetSheetNames"};if("GetSheetNames"!==t.kind)return v("failed to get sheet names"),{kind:s.GotoCtrlClickResultKind.RangeResolutionFailure,span:m.span};e=t;const r=yield{kind:"ResolveReferences",nodes:[m.structRefNodeToResolve],locals:{originGridCell:(0,o.success)(h.range),originSheet:(0,o.success)(h.sheet),allowUnqualifiedCell:!0,wrapCellReferences:!0}};"ResolveReferences"===r.kind?f=(0,p.getSheetRangeFromResolvedRef)(e,r.resolverResults[0],v):v("failed to resolve node references")}return(0,o.isDefined)(f)?{kind:s.GotoCtrlClickResultKind.ReferenceFound,sheetRange:f,span:m.span}:{kind:s.GotoCtrlClickResultKind.RangeResolutionFailure,span:m.span}}constructor(){n.__runInitializers(this,h)}},n.__setFunctionName(t,"GotoCtrlClickPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[m.uiMessageHandler({kind:u.RequestKind.gotoCtrlClick})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,h),n.__esDecorate(null,e={value:t},c,{kind:"class",name:t.name,metadata:o},null,d),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=m.injectPluginFactory(),n.__runInitializers(t,d),t})();function v(e){i.ulsLogger.ULS.traceTag(508687389,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Warning,`GotoCtrlClickPlugin encountered a failure with msg ${e}`)}(0,c.registerPlugin)(f),t.gotoCtrlClickPluginDependenciesResolved=(0,g.trackableAsyncLazy)((async()=>{const e=await d.workerThreadSpread.getValue();await e.createAndAttachPlugin(s.PluginFactoryName.GotoCtrlClickPlugin),await d.schedulerWithRecalcServiceAttached.getValue()}),"gotoCtrlClickPluginDependenciesResolved")},11347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GotoCtrlClickVisitor=void 0;const n=r(52123),o=r(85882),i=r(44663),a=r(17019),s=r(70486);class l extends o.IdentityVisitor{get namedObjectsMap(){return(0,n.isDefined)(this._namedObjectsMap)?this._namedObjectsMap:(0,n.isDefined)(this.definedNameInfoList)?(this._namedObjectsMap=(0,s.createNameToDefinedNameInfoMapping)(this.definedNameInfoList),this._namedObjectsMap):void u("namedObjectsMap: was called but definedNameInfoList is undefined")}structRefNode(e,t,r){const n=super.structRefNode(e,t,r);if(this.referenceFound)return n;const o=this.parsedFormulaTree.spans[r];return(0,s.caretInSpanScope)(this.caretPosition,o)&&(this.referenceFound=!0,this.span=o,this.structRefNodeToResolve=n),n}cellRefNode(e,t,r){const n=super.cellRefNode(e,t,r);if(this.referenceFound)return n;const o=this.parsedFormulaTree.spans[r];return(0,s.caretInSpanScope)(this.caretPosition,o)&&(this.referenceFound=!0,this.span=o,this.sheetRange=(0,a.sheetRangeFromCellRef)(e,t,this.activeCell,u)),n}nameNode(e,t,r){const n=super.nameNode(e,t,r);if(this.referenceFound)return n;const l=this.parsedFormulaTree.spans[r];if(!(0,s.caretInSpanScope)(this.caretPosition,l))return n;if(n.parts.kind===o.NamePartKind.FieldRefNamePart)this.tryFindFieldRefGotoReference(n.parts,t);else{const r=this.namedObjectsMap?.get(e.asWhole.toLocaleLowerCase());void 0!==r&&r.type!==i.DefinedNameInfoType.Invalid&&(this.referenceFound=!0,this.span=l,this.sheetRange=(0,a.getSheetRangeFromDefinedNameInfo)(r,t))}return n}tryFindFieldRefGotoReference(e,t){const r=(0,s.findFieldRefSourceLhs)(e);switch(r.kind){case o.NamePartKind.CellRefNamePart:{const e=this.parsedFormulaTree.spans[r.label];return void((0,s.caretInSpanScope)(this.caretPosition,e)&&(this.referenceFound=!0,this.span=e,this.sheetRange=(0,a.sheetRangeFromCellRef)(r.ref,void 0,this.activeCell,u)))}case o.NamePartKind.IdentNamePart:{const e=this.parsedFormulaTree.spans[r.label];if((0,n.isDefined)(this.namedObjectsMap)&&(0,s.caretInSpanScope)(this.caretPosition,e)){this.referenceFound=!0,this.span=e;const o=(0,s.getNamePartIfExists)(r,this.namedObjectsMap);if(!(0,n.isDefined)(o))return;this.sheetRange=(0,a.getSheetRangeFromDefinedNameInfo)(o,t)}return}default:u("tryFindFieldRefGotoReference: Was not able to parse a left-most NamePart")}}constructor(e,t,r,n){super(),this.parsedFormulaTree=e,this.activeCell=t,this.definedNameInfoList=r,this.caretPosition=n,this.structRefNodeToResolve=void 0,this.span=void 0,this.sheetRange=void 0,this.referenceFound=!1,this._namedObjectsMap=void 0}}function u(e){o.ulsLogger.ULS.traceTag(508687388,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,`GotoCtrlClickVisitor encountered a failure with msg ${e}`)}t.GotoCtrlClickVisitor=l},78e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputationFinalizer=void 0;const n=r(52123),o=r(85882),i=r(50928),a=r(96843),s=r(65233),l=r(99355);t.ComputationFinalizer=class{subscribe(e){if(!this.isClosed)return this.subject.subscribe(e);l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.AssertionFailure,failureLevel:o.TraceLevel.Warning,path:"PluginFinalizer.subscribe",description:"subscription for a closed finalizer was requested"}})}finalize(e,t){const r=this.extractComputationInfo(e);t===a.ExecutionStopReason.Unknown&&l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.AssertionFailure,failureLevel:o.TraceLevel.Warning,path:"PluginFinalizer.finalize",description:"finalize was invoked with an unknown stop reason",data:r}}),this.isClosed?l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.AssertionFailure,failureLevel:o.TraceLevel.Warning,path:"PluginFinalizer.finalize",description:"finalizer was invoked more than once",data:{stopReason:t,...r}}}):(this.isClosed=!0,this.finalizeComputationGeneratorExecution(e,t),this.subject.next({computationInfo:r,stopReason:t}))}finalizeComputationGeneratorExecution(e,t){switch(t){case a.ExecutionStopReason.Unknown:case a.ExecutionStopReason.Frame.Timeout:case a.ExecutionStopReason.Frame.Superseded:case a.ExecutionStopReason.Frame.ConflictResolverEarlyTermination:let r=!1;try{e.generator.throw(new s.X10ExceptionComputationTermination(t))}catch(n){r=!0,n instanceof s.X10ExceptionComputationTermination&&n.stopReason&&n?.stopReason!==t&&o.ulsLogger.ULS.traceTag(508903693,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,l.x10Logger.formatLogMessage("finalizeComputationGeneratorExecution",{description:"computation threw an exception during execution",data:e.info}))}finally{r||l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.AssertionFailure,failureLevel:o.TraceLevel.Warning,path:"ComputationFinalizer.finalizeComputationGeneratorExecution",description:"computation terminated by x10 with exception but did not threw the exception back",data:e.info}})}break;case a.ExecutionStopReason.Computation.Done:case a.ExecutionStopReason.Computation.Skipped:case a.ExecutionStopReason.Computation.Exception:break;default:(0,n.assertNever)("Unknown stopReason",t)}}extractComputationInfo(e){const t=e.info;t.totalRuntime=e.info.computationTime;for(const r in e.info.requestTimes)t.totalRuntime+=e.info.requestTimes[r]?.requestDuration??0;return t}constructor(...e){this.subject=new i.Subject,this.isClosed=!1;for(const t of e)this.subscribe(t)}}},17019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRangeFromDefinedName=l,t.getSheetRangeFromDefinedNameInfo=function(e,t){const r=l(e);if(!(0,n.isDefined)(r))return;const o=(0,n.isDefined)(e.sheetName)?e.sheetName:t?(0,a.getSheetNameFromQualifier)(t):"";return{...r,sheetName:o,namedObjectName:(0,n.isDefined)(e.name)?e.name:""}},t.sheetRangeFromCellRef=function(e,t,r,o){const i=(0,a.getRangeFromCellRef)(e,r,o);if((0,n.isDefined)(i))return{...i,sheetName:t?(0,a.getSheetNameFromQualifier)(t):"",namedObjectName:""}},t.getSheetRangeFromResolvedRef=function(e,t,r){if(!(0,n.isSuccess)(t.resolution))return void r?.(`failed to resolve StructRef, reason: ${t.resolution.reason}`);if(void 0===t.resolution.value)return void r?.("failed to resolve StructRef, resolution value undefined");const o=t.resolution.value,i=(0,a.sheetIndexToSheetName)(o.sheet,e)??"";return{...(0,s.gridRangeToRange)(o.range),sheetName:i,namedObjectName:t.node.lhs?t.node.lhs.whole:""}},t.toSharedSheetRange=function(e){return{FirstColumn:e.firstColumn,FirstRow:e.firstRow,LastColumn:e.lastColumn,LastRow:e.lastRow,NamedObjectName:e.namedObjectName,SheetName:e.sheetName}},t.rangeToGridRange=function(e){const t=e.firstRow,r=e.firstColumn;return(0,o.gridRange)(t,r,e.lastRow-t+1,e.lastColumn-r+1)},t.getSheetGridCellFromRangeObject=function(e,t){return(0,o.sheetGridCell)(t,{row:e.firstRow,col:e.firstColumn,rows:1,cols:1})},t.rangesIntersects=u,t.gridRangesIntersects=c,t.uniteIntersectingGridRanges=function(e,t){return c(e,t)?(0,o.gridRange)((0,n.fastMin)(e.row,t.row),(0,n.fastMin)(e.col,t.col),(0,n.fastMax)(e.row+e.rows,t.row+t.rows)-(0,n.fastMin)(e.row,t.row),(0,n.fastMax)(e.col+e.cols,t.col+t.cols)-(0,n.fastMin)(e.col,t.col)):null},t.uniteIntersectingRangeObjects=function(e,t){return u(e,t)?{firstRow:(0,n.fastMin)(e.firstRow,t.firstRow),firstColumn:(0,n.fastMin)(e.firstColumn,t.firstColumn),lastRow:(0,n.fastMax)(e.lastRow,t.lastRow),lastColumn:(0,n.fastMax)(e.lastColumn,t.lastColumn)}:null},t.areSheetGridCellsSame=function(e,t){return e.sheet.index===t.sheet.index&&e.range.row===t.range.row&&e.range.col===t.range.col};const n=r(52123),o=r(85882),i=r(44663),a=r(70486),s=r(47797);function l(e){const t=e.namedRange;if(null==t||e.type===i.DefinedNameInfoType.Invalid)return;const r=e.type===i.DefinedNameInfoType.Table?1:0;return t.bottom&&t.top&&t.right&&t.left?{firstRow:t.top+r-1,firstColumn:t.left-1,lastRow:t.bottom-1,lastColumn:t.right-1}:void 0}function u(e,t){return(0,n.fastMin)(e.lastColumn,t.lastColumn)>=(0,n.fastMax)(e.firstColumn,t.firstColumn)&&(0,n.fastMin)(e.lastRow,t.lastRow)>=(0,n.fastMax)(e.firstRow,t.firstRow)}function c(e,t){return(0,n.fastMin)(e.col+e.cols-1,t.col+t.cols-1)>=(0,n.fastMax)(e.col,t.col)&&(0,n.fastMin)(e.row+e.rows-1,t.row+t.rows-1)>=(0,n.fastMax)(e.row,t.row)}},50928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.X10TaskInternal=t.Ref=t.InitializingSubject=t.Subject=void 0;const n=r(68247),o=r(99355);class i{next(e){for(const[t,r]of this.subscribers)r(e)}subscribe(e){return this.subscribers.push([++this.currentSubscription,e]),this.currentSubscription}unsubscribe(e){this.subscribers=this.subscribers.filter((([t,r])=>t!==e))}constructor(){this.subscribers=[],this.currentSubscription=0}}t.Subject=i,t.InitializingSubject=class extends i{subscribe(e){const t=super.subscribe(e);return this.initializeSubscriber().map(e),t}constructor(e){super(),this.initializeSubscriber=e}},t.Ref=class{constructor(e){this.value=e}},t.X10TaskInternal=class{static createToken(){return"Do not use outside of x10 scheduler. Resovle by yielding with an 'AwaitTask' / 'AwaitAll' request"}resolve(e){return e!==this.token&&o.x10Logger.log({kind:"failure",payload:{failureKind:o.X10FailureKind.AssertionFailure,failureLevel:n.TraceLevel.Warning,path:"X10TaskInternal.resolve",description:"Task is resolving with an invalid token"}}),this.maybeThenable}constructor(e,t){this.maybeThenable=e,this.token=t}}},70486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidCellRef=function(e){return e.kind!==o.CellRefKind.Bad&&e.kind!==o.CellRefKind.Error},t.getSheetIndexFromSheetName=s,t.getSheetIndexFromQualifier=function(e,t,r){return s(l(e,r),t)},t.getSheetNameFromQualifier=l,t.getRangeFromCellRef=function(e,t,r){switch(e.kind){case o.CellRefKind.Single:{const r=u(e.row,t.row),n=u(e.col,t.col);return{firstRow:r,firstColumn:n,lastRow:r,lastColumn:n}}case o.CellRefKind.Range:return{firstRow:u(e.ref1.row,t.row),firstColumn:u(e.ref1.col,t.col),lastRow:u(e.ref2.row,t.row),lastColumn:u(e.ref2.col,t.col)};case o.CellRefKind.Col:return{firstRow:0,firstColumn:u(e.col1,t.col),lastRow:a.MaxRow,lastColumn:u(e.col2,t.col)};case o.CellRefKind.Row:return{firstRow:u(e.row1,t.row),firstColumn:0,lastRow:u(e.row2,t.row),lastColumn:a.MaxColumn};default:(0,n.isDefined)(r)&&r(`getRangeFromCellRef unexpected CellRefKind: ${e.kind}`)}},t.createNameToDefinedNameInfoMapping=function(e){const t=new Map;return e.forEach((e=>{(0,n.isDefined)(e.name)&&t.set(e.name.toLocaleLowerCase(),e)})),t},t.getNamePartIfExists=function(e,t){const r=t.get(e.asWhole.toLocaleLowerCase());if(void 0!==r&&r.type!==i.DefinedNameInfoType.Invalid)return r},t.getAbsolutePosition=u,t.sheetIndexToSheetName=function(e,t){const r=t.sheets.findIndex((t=>(0,o.isSheetIndexEqual)(t.sheetIndex,e)));if(-1!==r)return t.sheets[r].sheetName},t.caretInSpanScope=function(e,t){return(0,n.isDefined)(t)&&e.valueOf()>=t.start&&e.valueOf()<t.end},t.findFieldRefSourceLhs=function e(t){switch(t.kind){case o.NamePartKind.CellRefNamePart:case o.NamePartKind.IdentNamePart:return t;case o.NamePartKind.FieldRefNamePart:return e(t.lhs)}};const n=r(52123),o=r(85882),i=r(44663);class a{}function s(e,t){const r=t.nameToIndex.getValue(e);if((0,n.isDefined)(r))return t.sheets[r].sheetIndex}function l(e,t){return e.kind===o.QualifierKind.Sheet?e.sheet:e.kind===o.QualifierKind.Ident?e.name:((0,n.isDefined)(t)&&t(`getSheetNameFromQualifier unexpected qualifier kind: ${e.kind}`),"")}function u(e,t){return e.index+(e.kind===o.PosKind.Rel?t:0)}a.MaxRow=1048575,a.MaxColumn=16383},89500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginRegistry=void 0;var n=r(19750);Object.defineProperty(t,"PluginRegistry",{enumerable:!0,get:function(){return n.PluginRegistry}})},19750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginRegistry=void 0;const n=r(52123),o=r(39323),i=r(65246),a=r(45012);class s{static creator(){return(e,t)=>new s(e,t)}static get create(){return s.creator()}x10Plugin(e){return(t,r)=>{const a=String(r.name),s={factoryName:this.factoryName,pluginName:a,pluginGroup:this.pluginGroup,create:r=>new t(...e?e(r):[])};(0,n.assertTrue)(`Registry object cannot be used on '${s.pluginName}' class. 'x10Plugin' decorator must be called only once on plugin class`,void 0===this.factory),this.factory=s,(0,i.deletePluginRegistration)({factoryName:this.factoryName,pluginName:a});for(const e of this.registeredUIHandlers)(0,i.registerComputation)(o.ComputationType.UIMessage,e.kind,e.executionType,this.pluginGroup,{factoryName:this.factoryName,pluginName:a,computationName:e.name,executionType:e.executionType},e.modifiers,e.computationGenerator,e.predicate);for(const e of this.registeredEventHandlers)(0,i.registerComputation)(o.ComputationType.Event,e.kind,e.executionType,this.pluginGroup,{factoryName:this.factoryName,pluginName:a,computationName:e.name,executionType:e.executionType},e.modifiers,e.computationGenerator,e.predicate)}}uiMessageHandler(e){return(t,r)=>{this.registeredUIHandlers.push({type:o.ComputationType.UIMessage,kind:e.kind,name:String(r.name),executionType:e.modifiers?.executionType??a.ExecutionType.Async,modifiers:e.modifiers??{},computationGenerator:t,predicate:e.predicate})}}eventHandler(e){return(t,r)=>{this.registeredEventHandlers.push({type:o.ComputationType.Event,kind:e.kind,name:String(r.name),executionType:e.modifiers?.executionType??a.ExecutionType.Async,modifiers:e.modifiers??{},computationGenerator:t,predicate:e.predicate})}}injectPluginFactory(){return(0,n.assertTrue)("Plugin factory not initialized. `x10Plugin` decorator must be called on plugin class",void 0!==this.factory),this.factory}constructor(e,t){this.factoryName=e,this.pluginGroup=t,this.factory=void 0,this.registeredUIHandlers=[],this.registeredEventHandlers=[]}}t.PluginRegistry=s},65933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.X10TableIntelligenceService=void 0;const n=r(52123),o=r(85882),i=r(99355);t.X10TableIntelligenceService=class{async getRecognizedRangeTablesInfo(...e){try{const t=await this.tableIntelligenceProvider.getRecognizedRangeTablesInfo(...e);return(0,n.isDefined)(t)?(0,n.success)(t.filter(n.isDefined)):(0,n.failure)(void 0)}catch(e){return"getRecognizedRangeTablesInfo",t=`failed to get recognized range tables info: ${e}`,i.x10Logger.log({kind:"failure",payload:{failureKind:i.X10FailureKind.TableIntelligenceFailure,failureLevel:o.TraceLevel.Warning,path:"X10TableIntelligenceService.getRecognizedRangeTablesInfo",description:t}}),(0,n.failure)(e)}var t}constructor(e){this.tableIntelligenceProvider=e}}},93019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyRangeFormat=t.emptyRangeFormula=t.emptyRangeValue=t.FormulaKind=void 0,t.wrapIntoResumeRecalc=function(e,t){return{evalClonedModelOnSnapshot:(r,...n)=>{const o=e.evalClonedModelOnSnapshot(r,...n);return t(r),o},discardSnapshot:e.discardSnapshot.bind(e),getRangeFormats:(r,...n)=>{const o=e.getRangeFormats(r,...n);return t(r),o},getRangeValues:(r,...n)=>{const o=e.getRangeValues(r,...n);return t(r),o},getRangeFormulae:(r,...n)=>{const o=e.getRangeFormulae(r,...n);return t(r),o},getSheetNames:(r,...n)=>{const o=e.getSheetNames(r,...n);return t(r),o},getIntersectingTables:(r,...n)=>{const o=e.getIntersectingTables(r,...n);return t(r),o},getIformats:(r,...n)=>{const o=e.getIformats(r,...n);return t(r),o},getHiddenRows:(r,...n)=>{const o=e.getHiddenRows(r,...n);return t(r),o},getHiddenCols:(r,...n)=>{const o=e.getHiddenCols(r,...n);return t(r),o},evalFormulaOnSnapshot:(r,...n)=>{const o=e.evalFormulaOnSnapshot(r,...n);return t(r),o},evalFormulaTreeOnSnapshot:(r,...n)=>{const o=e.evalFormulaTreeOnSnapshot(r,...n);return t(r),o},getCorrespondingSnapshotID:t=>e.getCorrespondingSnapshotID(t)}};const n=r(52123),o=r(85882);var i;!function(e){e.Value="Value",e.CellFormula="CellFormula"}(i||(t.FormulaKind=i={})),t.emptyRangeValue=o.blankOper,t.emptyRangeFormula={kind:i.Value,formulaBarText:"",origin:(0,o.gridCell)(0,0)},(0,n.staticAssertExtends)(),t.emptyRangeFormat=0},75442:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationKind=void 0,function(e){e.doNothing="doNothing",e.setActiveCell="setActiveCell",e.setActiveCellFormat="setActiveCellFormat",e.setFunctionsInfo="setFunctionsInfo",e.setDefinedNamesInfo="setDefinedNamesInfo",e.notifyWorkbookClosing="notifyWorkbookClosing",e.setSchedulerFeatures="setSchedulerFeatures",e.setA1ReferenceStyle="setA1ReferenceStyle",e.setLocale="setLocale",e.setWorkbookProps="setWorkbookProps",e.updateSheetNames="updateSheetNames",e.updateNamedObjects="updateNamedObjects",e.conflictResolverEarlyTermination="conflictResolverEarlyTermination",e.writeRange="writeRange",e.writeRanges="writeRanges",e.setNumberFormats="setNumberFormats"}(r||(t.NotificationKind=r={}))},17049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timeline=void 0,t.indexToLSPPosition=s,t.spanToLSPRange=function(e,t,r){return{start:s(e,t),end:s(e,r)}},t.spanCompare=function(e,t){let r;return 0!=(r=e.start-t.start)||0!=(r=t.end-e.end)?r:0};const n=r(52123),o=r(68247),i=r(18832),a=r(78346);function s(e,t){let r=0,o=0;for(;o<t;){const i=e.indexOf("\n",o),a=e.indexOf("\r",o),s=i<0?a:a<0?i:(0,n.fastMin)(i,a);if(s<0||s>=t)break;r+=1,o=s+1+(s===a&&s+1<t&&10===e.charCodeAt(s+1)?1:0)}return{line:r,character:t-o}}t.Timeline=class{stamp(e){this.enabled&&!this.timestamps.has(e)&&this.timestamps.set(e,this.timer.now())}log(e){if(this.enabled){this.stamp(e);const t={};let r=this.timer.now(),i=0;this.timestamps.forEach(((e,n)=>{r=Math.min(r,e),i=Math.max(i,e),t[n]=e})),i-r>this.logThreshold&&n.ulsLogger.ULS.traceTag(506009360,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,`Timeline[${this.name}]: ${JSON.stringify({...t,...this.workerInfo})}`),this.timestamps.clear()}}constructor(e,t,r=!0){this.name=e,this.logThreshold=t,this.enabled=r,this.timestamps=new Map,this.timer=a.defaultTimerInterface,this.workerInfo={isWorkerThread:(0,i.isWorkerThread)(),workerName:(0,i.workerName)()},n.ulsLogger.ULS.traceTag(506009361,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,`Timeline[${this.name}]: Initializing, ${JSON.stringify(this.workerInfo)}`)}}},64517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logSafeFailure=void 0;const n=r(52123);t.logSafeFailure={failure:e=>({...(0,n.failure)(e),logSafe:!0}),isSafe:e=>!0===e.logSafe,censored:e=>!0===e.logSafe?e:(0,n.failure)(void 0)}},47742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valuePreviewPluginDependenciesResolved=t.ValuePreviewPlugin=void 0;const n=r(16533),o=r(52123),i=r(85882),a=r(43177),s=r(68247),l=r(44663),u=r(69438),c=r(5999),d=r(9228),p=r(2548),h=r(58737),g=r(92787),m=r(89500),f=r(54855),v=r(93019),b=m.PluginRegistry.create(l.PluginFactoryName.ValuePreviewPlugin,l.PluginGroup.Excel);let y=(()=>{let e,t,r,l=[b.x10Plugin()],h=[],g=[];return t=class{*run({text:e,index:t,length:r,activeCell:n}){if((0,o.isNone)(e)||(0,o.isNone)(t)||(0,o.isNone)(r))return S("missing request arguments"),null;if(t<0||t+r>e.length)return S(`invalid selection, ${e.length}, ${t}, ${r}`),null;const l=yield{kind:"GetActiveCell"};if("GetActiveCell"!==l.kind)return{kind:"Failure",index:t,length:r,reason:"GetActiveCell failed"};let p,h=l.activeCell;if((0,o.isNone)(n)||(0,o.isNone)(n.sheetName)||function(e,t){const r=[];return e.sheet.index!==t.sheetName&&r.push("sheet"),e.range.col!==t.firstColumn&&r.push("col"),e.range.row!==t.firstRow&&r.push("row"),r.length>0&&o.ulsLogger.ULS.traceTag(507777486,s.LogCategory.msoulscat_ES_EWAJS,s.TraceLevel.Info,`ValuePreviewPlugin.areCellsEqual - active cell diff: ${r.join(",")}`),0===r.length}(h,n)){const t=yield{kind:"ParseActiveCell",formulaText:e};if("ParseActiveCell"!==t.kind||!(0,o.isSuccess)(t.result))return null;if(t.result.value.kind!==a.EditKind.Formula)return null;p=t.result.value.formula}else{const t=(0,i.unsafeGridRange)(n.firstRow,n.firstColumn,1,1);h=(0,i.sheetGridCell)((0,i.sheetIndex)(h.sheet.document,n.sheetName),t);const r=yield{kind:"ParseCellFormula",cell:h,formula:{formulaBarText:e,kind:v.FormulaKind.CellFormula},useEnglishLocaleInfo:!1};if("ParseCellFormula"!==r.kind||!(0,o.isSuccess)(r.result))return null;p=r.result.value}const g=function(e,t,r,n){let a;a=0===t?{start:1,end:r>0?r:e.length}:{start:t,end:t+r};const s=new c.ValuePreviewVisitor(n,a.start,a.end,e);let l;if((0,i.reduceBottomUp)(s,n),l=0===r?{start:0===t?t:s.subFormulaStart,end:s.subFormulaEnd}:{start:t,end:t+r},-1===l.start||l.end===l.start||s.isBadSelection||r>0&&!function(e,t){const r=0===t.start||Object.keys(e.spans).some((r=>e.spans[Number(r)]?.start===t.start)),n=Object.keys(e.spans).some((r=>e.spans[Number(r)]?.end===t.end));return r&&n}(n,l))return(0,o.failure)("invalid selection");const u=e.substring(l.start,l.end);return(0,o.success)({subFormula:u,subFormulaSpan:l,isVolatile:s.isVolatile,hasCrossWorkbookRef:s.hasCrossWorkbookRef,letDefinitions:s.letDefinitions})}(e,t,r,p);if("Success"!==g.kind)return null;let{subFormula:m}=g.value;const{subFormulaSpan:f,isVolatile:b,letDefinitions:y,hasCrossWorkbookRef:C}=g.value,T={index:f.start,length:f.end-f.start},k=yield{kind:"GetConfig"};if("GetConfig"!==k.kind)return{kind:"Failure",...T,reason:"GetConfig failed"};(0,o.isDefined)(y)&&(m=y+k.config.localeInfo.listSeparator+m+")");const F=(m.startsWith("=")?"":"=")+m;if("="===F)return{kind:"Failure",...T,reason:"Empty formula"};if(C)return{kind:"Failure",evaluatedFormula:F,...T,reason:"Cross workbook reference"};const E=yield{kind:"GetActiveCellFormat"};if("GetActiveCellFormat"!==E.kind)return S("GetActiveCellFormat failed"),{kind:"Unavailable",evaluatedFormula:F,...T,isVolatile:b,reason:"GetActiveCellFormat failed"};if(!(0,o.isSuccess)(E.result)||(0,o.isNone)(E.result.value))return S("Empty cell format"),{kind:"Unavailable",evaluatedFormula:F,...T,isVolatile:b,reason:"Empty cell format"};const A={kind:d.SpecialFormat.Edit,renderBlanksAsZeros:!0,isWholeFormula:F===e},I=yield{kind:"EvalFormula",formula:F,origin:{sheet:h.sheet,range:{col:h.range.col,row:h.range.row,rows:1,cols:1}},format:A};if("EvalFormula"!==I.kind)return{kind:"Failure",evaluatedFormula:F,...T,reason:"EvalFormula failed"};const x=new u.ValuePreviewResultExtractor(k.config).fromEvalFormulaOutput(I.result);switch(x.kind){case"Success":return{...x,evaluatedFormula:F,...T,isVolatile:b};case"Unavailable":return{kind:x.kind,evaluatedFormula:F,...T,isVolatile:b,reason:x.reason};case"Failure":return{kind:x.kind,evaluatedFormula:F,...T,reason:x.reason}}}constructor(){n.__runInitializers(this,g)}},n.__setFunctionName(t,"ValuePreviewPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[b.uiMessageHandler({kind:p.RequestKind.valuePreview})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,g),n.__esDecorate(null,e={value:t},l,{kind:"class",name:t.name,metadata:o},null,h),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=b.injectPluginFactory(),n.__runInitializers(t,h),t})();function S(e){o.ulsLogger.ULS.traceTag(521692767,s.LogCategory.msoulscat_ES_EWAJS,s.TraceLevel.Warning,`ValuePreviewPlugin encountered a failure with msg ${e}`)}t.ValuePreviewPlugin=y,(0,h.registerPlugin)(y),t.valuePreviewPluginDependenciesResolved=(0,f.trackableAsyncLazy)((async()=>{const e=await g.workerThreadSpread.getValue();await e.createAndAttachPlugin(l.PluginFactoryName.ValuePreviewPlugin),await g.schedulerWithRecalcServiceAttached.getValue()}),"valuePreviewPluginDependenciesResolved")},69438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValuePreviewResultExtractor=void 0;const n=r(52123),o=r(85882),i=r(43177),a=r(14382);t.ValuePreviewResultExtractor=class{fromEvalFormulaOutput({value:e,formatted:t}){switch(e.kind){case n.ResultKind.Success:return this.resultFromSuccess(e.value,t);case n.ResultKind.Failure:return this.resultFromFailureReason(e.reason);default:return e}}resultFromSuccess(e,t){let r;switch(e.kind){case o.OperKind.String:case o.OperKind.Array:case o.OperKind.Blank:case o.OperKind.Number:r=this.resultFromFormatted(t);break;case o.OperKind.Boolean:r=this.resultFromBoolean(e);break;case o.OperKind.Error:r=this.resultFromError(e,t);break;default:return{kind:"Failure",reason:`Unsupported operKind: ${e.kind}`}}if("Success"!==r.kind)return r;const n=this.getUnformattedValue(e,r);return{...r,unformattedValue:n,operKind:e.kind}}resultFromFormatted(e){if((0,n.isNone)(e))return{kind:"Failure",reason:"No formatted value"};switch(e.kind){case n.ResultKind.Success:if((0,i.isHashesValue)(e.value)){const r=e.value.units;return t=`Evaluate HashesValue: ${r.kind}`,n.ulsLogger.ULS.traceTag(520680450,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,`ValuePreviewResultExtractor encountered a failure with msg ${t}`),{kind:"Failure",reason:`HashesValue: ${r.kind}`}}return this.resultFromFormattedValue(e.value);case n.ResultKind.Failure:return this.resultFromFailureReason(e.reason);default:return e}var t}resultFromFormattedValue(e){const t=this.formatter.renderValue(e,i.renderInfiniteWidth);return t.kind===n.ResultKind.Failure?{kind:"Failure",reason:"renderValue fail"}:(0,i.isHashesValue)(t.value)?{kind:"Failure",reason:`Render HashesValue: ${t.value.units.kind}`}:{kind:"Success",value:(0,i.renderedValueToString)(t.value),color:e.color}}resultFromFailureReason(e){const t=function(e){switch(e.kind){case a.ReasonKind.Unavailable:return`Unavailable - [${e.objects.map((e=>"kind"in e?e.kind:"")).join(",")}]`;case a.ReasonKind.NotImplemented:return`NotImplemented - [${e.features.join(",")}]`;case a.ReasonKind.PreviousFailure:return"PreviousFailure";default:return`${e.kind}`}}(e);switch(e.kind){case a.ReasonKind.Unavailable:case a.ReasonKind.NotImplemented:case a.ReasonKind.PreviousFailure:return{kind:"Unavailable",reason:`FailureReason: ${t}`};default:return{kind:"Failure",reason:`Unsupported FailureReason: ${t}`}}}resultFromError(e,t){switch(e.type){case o.ErrorType.NAME:case o.ErrorType.VALUE:case o.ErrorType.FIELD:return{kind:"Unavailable",reason:`Unsupported error: ${e.type}`}}return this.resultFromFormatted(t)}getUnformattedValue(e,t){let r=t.value;return e.kind===o.OperKind.String&&(t.value=`"${t.value}"`,r=e.value),e.kind===o.OperKind.Number&&(r=this.mathpack.toNumber(e).toString()),e.kind===o.OperKind.Blank&&(r=this.mathpack.toNumber(this.mathpack.zero).toString()),r}resultFromBoolean(e){const t=e.value?this.localeInfo.trueName:this.localeInfo.falseName;return{kind:"Success",value:t,unformattedValue:t,operKind:o.OperKind.Boolean}}constructor(e){this.mathpack=e.mathpack,this.localeInfo=e.localeInfo,this.formatter=(0,i.createNumberFormatter)({config:e})}}},5999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValuePreviewVisitor=void 0;const n=r(52123),o=r(85882),i=r(68247);class a extends o.IdentityVisitor{appNode(e,t,r,n){const o=super.appNode(e,t,r,n);return this.tryUpdateAppNodeAsSubFormula(e,o),o}literalNode(e,t,r){const n=super.literalNode(e,t,r);return this.tryUpdateNodeAsSubFormula(n),n}missingNode(e,t){const r=super.missingNode(e,t);return this.tryUpdateNodeAsSubFormula(r),r}arrayNode(e,t,r){const n=super.arrayNode(e,t,r);return this.tryUpdateNodeAsSubFormula(n),n}cellRefNode(e,t,r){const n=super.cellRefNode(e,t,r);return this.validateSelection(r,"whole"),this.tryAddCrossWorkbookRef(t,r),this.tryUpdateNodeAsSubFormula(n)&&(this.isRefNode=!0),n}fieldRefNode(e,t,r){const n=super.fieldRefNode(e,t,r);return this.validateSelection(r,"prefix"),this.tryUpdateNodeAsSubFormula(n),n}structRefNode(e,t,r){const n=super.structRefNode(e,t,r);return this.validateSelection(r,"prefix"),this.tryUpdateNodeAsSubFormula(n)&&(this.isRefNode=!0),n}nameNode(e,t,r){const n=super.nameNode(e,t,r);return this.validateSelection(r,"prefix"),this.tryUpdateNodeAsSubFormula(n)&&(this.isRefNode=!0),n}badSequenceNode(e,t,r){const n=super.badSequenceNode(e,t,r);return t.some((e=>e.label===this.nodeLabel))&&(this.updateNodeAsSubFormula(n),this.isBadSelection=!0),n}parenNode(e,t,r){const n=super.parenNode(e,t,r);return t&&this.tryUpdateNodeAsSubFormula(n),n}letNode(e,t,r,n,o,i){const a=super.letNode(e,t,r,n,o,i),s=this.parsedFormulaTree.spans[i];return this.isMatchingArg(s,!0)&&this.updateLetNodeAsSubFormula(a),a}wsfNode(e,t,r){const n=super.wsfNode(e,t,r);return this.validateSelection(r,"none"),n}operatorNode(e,t){const r=super.operatorNode(e,t);return this.validateSelection(t,"none"),r}tryUpdateNodeAsSubFormula(e){return!!this.isMinimalMatchingSpan(this.parsedFormulaTree.spans[e.label])&&(this.updateNodeAsSubFormula(e),!0)}tryUpdateAppNodeAsSubFormula(e,t){if(e.kind!==o.NodeKind.WSF&&e.kind!==o.NodeKind.Operator)return void n.ulsLogger.ULS.traceTag(509347166,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,`ValuePreviewVisitor - visitor encountered higher order function, kind: ${e.kind}`);const r=this.parsedFormulaTree.spans[e.label],a=this.parsedFormulaTree.spans[t.label];this.tryAddVolatileFunction(e,t),this.isMatchingAppNode(r,a,e.kind,t.isClosed)&&this.updateNodeAsSubFormula(t)}updateLetNodeAsSubFormula(e){const t=this.parsedFormulaTree.spans[e.head.label],r=this.parsedFormulaTree.spans[e.label];if(this.isMatchingAppNode(t,r,o.NodeKind.WSF,e.isClosed))this.updateNodeAsSubFormula(e);else for(let t=0;t<e.args.length;t++){const o=e.args[t],i=this.parsedFormulaTree.spans[o.label];if(!(0,n.isDefined)(i))return;if(this.isMatchingArg(i,!0)){if(1===t)return;const a=t%2==0,s=e.args.length-2,l=a?Math.min(s,t+1):t-2,u=this.parsedFormulaTree.spans[e.args[l].label];if(!(0,n.isDefined)(u))return;const c=this.formula.substring(r.start,u.end);this.letDefinitions=c,this.isVolatile=this.checkIntersectionWithVolatileFunction(r),this.hasCrossWorkbookRef=this.checkIntersectionWithCrossWorkbookRef(r),this.isMinimalMatchingSpan(i)&&(this.subFormulaStart=i.start,this.subFormulaEnd=i.end,this.nodeLabel=o.label)}}}updateNodeAsSubFormula(e){const t=this.parsedFormulaTree.spans[e.label];this.subFormulaStart=t.start,this.subFormulaEnd=t.end,this.nodeLabel=e.label,this.isVolatile=this.checkIntersectionWithVolatileFunction(t),this.hasCrossWorkbookRef=this.checkIntersectionWithCrossWorkbookRef(t)}isMinimalMatchingSpan(e){return-1===this.nodeLabel&&this.isMatchingArg(e)}isMatchingArg(e,t=!1){return!!(0,n.isDefined)(e)&&(this.selectionStart===this.selectionEnd?this.selectionStart>=e.start&&this.selectionEnd<e.end:t?this.selectionStart>=e.start&&this.selectionEnd<=e.end:this.selectionStart===e.start&&this.selectionEnd===e.end)}isMatchingAppNode(e,t,r,i){if(!(0,n.isDefined)(e)||!(0,n.isDefined)(t)||!i)return!1;if(this.selectionStart===this.selectionEnd)switch(r){case o.NodeKind.WSF:return this.selectionStart===e.end||this.selectionStart===t.end-1||this.selectionStart>=e.start&&this.selectionStart<e.end;case o.NodeKind.Operator:return this.selectionStart>=e.start-e.pre.length&&this.selectionStart<e.end+e.post.length}else if(e.start<=this.selectionStart&&this.selectionEnd<=e.end)return this.isBadSelection=!0,!1;return this.selectionStart===t.start&&this.selectionEnd===t.end}tryAddVolatileFunction(e,t){if(e.kind!==o.NodeKind.WSF)return;if(!t.isClosed)return;const r=this.parsedFormulaTree.spans[t.label];(0,n.isNone)(r)||(0,o.isVolatileFunc)(e.id)&&this.volatileFunctions.push({start:r.start,end:r.end})}checkIntersectionWithVolatileFunction(e){return this.volatileFunctions.some((t=>e.start<=t.start&&e.end>=t.end))}tryAddCrossWorkbookRef(e,t){if(!e||e.kind!==o.QualifierKind.Sheet&&e.kind!==o.QualifierKind.SheetRange&&e.kind!==o.QualifierKind.Document)return;if((0,n.isNone)(e.document))return;const r=this.parsedFormulaTree.spans[t];(0,n.isNone)(r)||this.crossWorkbookRefs.push({start:r.start,end:r.end})}checkIntersectionWithCrossWorkbookRef(e){return this.crossWorkbookRefs.some((t=>e.start<=t.start&&e.end>=t.end))}validateSelection(e,t){if(this.selectionStart===this.selectionEnd)return;const r=this.parsedFormulaTree.spans[e];if((0,n.isDefined)(r)&&!(this.selectionStart<r.start||this.selectionEnd>r.end))switch(t){case"prefix":return void(this.selectionStart!==r.start&&(this.isBadSelection=!0));case"suffix":return void(this.selectionEnd!==r.end&&(this.isBadSelection=!0));case"whole":return void(this.selectionStart===r.start&&this.selectionEnd===r.end||(this.isBadSelection=!0));case"none":return void(this.isBadSelection=!0)}}constructor(e,t,r,n){super(),this.parsedFormulaTree=e,this.selectionStart=t,this.selectionEnd=r,this.formula=n,this.subFormulaStart=-1,this.subFormulaEnd=-1,this.isBadSelection=!1,this.isRefNode=!1,this.isVolatile=!1,this.hasCrossWorkbookRef=!1,this.letDefinitions=void 0,this.volatileFunctions=[],this.crossWorkbookRefs=[],this.nodeLabel=-1}}t.ValuePreviewVisitor=a},27784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generalYieldRequestProcessorMap=void 0;const n=r(52123),o=r(85882),i=r(43177),a=r(18242),s=r(45012),l=r(8585),u=r(64517),c=r(99355);function d(e,t){if(e.kind===n.ResultKind.Failure)throw e.reason;return t(e.value)}function p(e){switch(e.kind){case"NamedFailure":case"NamedFormula":case"NamedRange":case"NamedValue":return e;case"NamedTable":return h(e);default:(0,n.assertNever)("ComputationRequestKind.GetNamedObject",e)}}function h(e){const t=[];return e.columnIndexes.forEach(((e,r)=>(t.push({index:e,name:r}),!0))),{kind:e.kind,ranges:{data:e.specialRefRanges[o.SpecialRefId.Data],headers:e.specialRefRanges[o.SpecialRefId.Headers],totals:e.specialRefRanges[o.SpecialRefId.Totals],all:e.specialRefRanges[o.SpecialRefId.All]},columns:t.sort(((e,t)=>e.index-t.index)),allColumnNamesAvailable:e.allColumnNamesAvailable,hasHeadersRow:e.hasHeadersRow,hasTotalsRow:e.hasTotalsRow}}t.generalYieldRequestProcessorMap={InternalService:{executionType:s.ExecutionType.Internal,async execution(e){const t={service:e.service,method:e.method,response:await this.schedulerState.scheduler.serviceCall(e.service,e.method,e.args)};return(0,l.staticTypeHint)(t),t}},Delay:{executionType:s.ExecutionType.NoOp,execution:()=>({})},GetCopilotLicense:{executionType:s.ExecutionType.Async,async execution(){const e=await this.schedulerState.scheduler.getCoPilotLicense();return{license:void 0!==e?(0,n.success)(e):(0,n.failure)(void 0)}}},GetPythonLicense:{executionType:s.ExecutionType.Async,async execution(){const e=await this.schedulerState.scheduler.getPythonLicense();return{license:void 0!==e?(0,n.success)(e):(0,n.failure)(void 0)}}},GetPythonType:{executionType:s.ExecutionType.Async,async execution(e){const t=await this.schedulerState.scheduler.getPythonType(e.rangeRef,e.sheetId);if(t.kind===n.ResultKind.Failure)throw u.logSafeFailure.failure("serverDataProvider is undefined");return{pythonType:t.value}}},GetPrecedingPythonCells:{executionType:s.ExecutionType.Async,async execution(e){const t=await this.schedulerState.scheduler.getPrecedingPythonCells(e.cellRef,e.sheetId);if(t.kind===n.ResultKind.Failure)throw u.logSafeFailure.failure("serverDataProvider is undefined");return{precedingPythonCells:t.value}}},GetCell:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:await this.cache.getCell(e.cell)}}},GetContainingTable:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:await this.cache.getContainingTable(e.cell)}}},UnsafeGetContainingTableName:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:this.cache.getContainingTableName(e.cell)}}},UnsafeGetContainingTable:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");const t=this.cache.getContainingTableSync(e.cell);if("Failure"===t.kind)throw t.reason;return{result:(0,n.success)(t.value?h(t.value):void 0)}}},GetAvailableTableHeaders:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:this.cache.getAvailableTableHeaders(e.tableName)}}},UnsafeGetNamedObject:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");const t=this.cache.getNamedObject(e.name);if("Failure"===t.kind)throw u.logSafeFailure.failure("getNamedObject failed");if("Failure"===t.value.kind)throw u.logSafeFailure.failure("getNamedObject returned failure");return void 0===t.value.value?{result:(0,n.success)(void 0)}:{result:(0,n.success)(p(t.value.value.obj))}}},GetIntersectingTables:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:await this.cache.getIntersectingTables(e.range)}}},UnsafeGetIntersectingTableNames:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:this.cache.getIntersectingTableNames(e.range)}}},GetRange:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{localSheetGrid:await this.cache.getRange(e.range,e.layers)}}},GetSheetNames:{executionType:s.ExecutionType.Sync,execution(){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return this.cache.getSheetNames().value}},GetStructRefColumn:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:this.cache.getStructRefColumn(e.table,e.nameOrCol)}}},GetStructRefSpecialRef:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:this.cache.getStructRefSpecialRef(e.table,e.id)}}},GetIformat:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:await this.cache.getIformat(e.document,e.iformat)}}},ParseCellFormula:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return this.cache.parseCellFormula(e.cell,e.formula,e.useEnglishLocaleInfo)}},ParseEdit:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return this.cache.parseEdit(e.cell,e.formulaBarText)}},ParseActiveCell:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");if((0,n.isNone)(this.schedulerState.activeCell))throw u.logSafeFailure.failure("Active Cell is undefined");if(void 0===this.schedulerState.activeCellFormat)throw u.logSafeFailure.failure("Active Cell Format is undefined");const t=this.schedulerState.activeCellFormat??{formatString:"General",builtIn:!0};return this.cache.parseEditSync(this.schedulerState.activeCell,e.formulaText,t)}},ParseNumberFormat:{executionType:s.ExecutionType.Sync,execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return this.cache.parseNumberFormat(e.formatString,e.builtIn)}},PrintFormula:{executionType:s.ExecutionType.Sync,execution(e){return void 0===this.config?(0,n.failure)([]):{result:(0,o.createPrinter)((0,o.createSimplePrintGlobals)(this.config)).printFormula((0,o.printLocalsGrid)((0,o.lexicalSourceGrid)(o.LexicalKind.Cell,e.origin),e.origin),e.formula)}}},GetActiveCell:{executionType:s.ExecutionType.NoOp,execution(){const{activeCell:e}=this.schedulerState;if(void 0===e)throw o.ulsLogger.ULS.traceTag(512274723,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,c.x10Logger.formatLogMessage("GetActiveCell",{description:"failed because activeCell was undefined"})),u.logSafeFailure.failure("Active Cell is undefined");return{activeCell:e}}},GetActiveCellFormat:{executionType:s.ExecutionType.NoOp,execution(){const{activeCellFormat:e}=this.schedulerState;if(void 0===e)throw u.logSafeFailure.failure("Active Cell Format is undefined");return null===e?{result:(0,n.failure)((0,o.unavailable)(["unavailableFormat"]))}:{result:(0,n.success)(e)}}},GetConfig:{executionType:s.ExecutionType.NoOp,execution(){if(void 0===this.config)throw u.logSafeFailure.failure("Config is undefined");return{config:this.config}}},GetCultureTag:{executionType:s.ExecutionType.NoOp,execution(e){const t=(0,i.convertKnownLCID)(e.lcid).toString();if(-1===t.indexOf("-"))throw u.logSafeFailure.failure(`Culture-Tag '${t}' from LCID '${e.lcid}' has an unknown format`);return{cultureTag:t}}},GetFunctionsInfo:{executionType:s.ExecutionType.NoOp,execution(){const e=this.schedulerState.functionsInfoMap;if(void 0===e)throw o.ulsLogger.ULS.traceTag(512274722,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,c.x10Logger.formatLogMessage("GetFunctionsInfo",{description:"failed because functionsInfoMap was undefined"})),u.logSafeFailure.failure("functionsInfoMap is undefined");return{functionsInfo:Object.keys(e).map((t=>e[t]))}}},GetFunctionInfo:{executionType:s.ExecutionType.NoOp,execution(e){if(void 0===this.schedulerState.functionsInfoMap)throw o.ulsLogger.ULS.traceTag(512274721,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,c.x10Logger.formatLogMessage("GetFunctionInfo",{description:"failed because functionsInfoMap was undefined"})),u.logSafeFailure.failure("functionsInfoMap is undefined");const t=this.schedulerState.functionsInfoMap[e.functionName.toUpperCase()];if(void 0===t)throw u.logSafeFailure.failure("functionsInfo is undefined");return{functionInfo:t}}},GetDefinedNamesInfo:{executionType:s.ExecutionType.NoOp,execution(){const e=this.schedulerState.definedNamesInfoMap;if(void 0===e)throw o.ulsLogger.ULS.traceTag(512274720,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,c.x10Logger.formatLogMessage("GetDefinedNamesInfo",{description:"failed because definedNamesInfoMap was undefined"})),u.logSafeFailure.failure("definedNamesInfoMap is undefined");return{definedNamesInfo:Object.keys(e).map((t=>e[t]))}}},GetDefinedNameInfo:{executionType:s.ExecutionType.NoOp,execution(e){if(void 0===this.schedulerState.definedNamesInfoMap)throw u.logSafeFailure.failure("definedNamesInfoMap is undefined");return{definedNameInfo:this.schedulerState.definedNamesInfoMap[e.definedName.toUpperCase()]}}},EvalOnClonedModel:{executionType:s.ExecutionType.Async,async execution(e){const t=await(this.cache?.evalOnClonedModel(e.updates,e.edits,e.formatResults));if(void 0===t)throw u.logSafeFailure.failure("Operation did not return a result");if(t.kind!==n.ResultKind.Success)throw u.logSafeFailure.failure("Operation returned an unsuccessful result");return{result:t.value}}},EvalFormula:{executionType:s.ExecutionType.Async,async execution(e){const t=await(this.cache?.evalFormula(e.formula,e.origin,e.format));if(void 0===t)throw u.logSafeFailure.failure("Operation did not return a result");if(t.kind!==n.ResultKind.Success)throw u.logSafeFailure.failure("Operation returned an unsuccessful result");return{result:t.value}}},EvalFormulaTree:{executionType:s.ExecutionType.Async,async execution(e){const t=await(this.cache?.evalFormulaTree(e.formula,e.origin,e.format));if(void 0===t)throw u.logSafeFailure.failure("Operation did not return a result");if(t.kind!==n.ResultKind.Success)throw u.logSafeFailure.failure("Operation returned an unsuccessful result");const r=([[[e,t],n],o])=>({value:{value:n,span:{start:e,end:t}},children:o?.map(r)}),[[,[o]]]=t.value;return{result:{result:o,evaluationTree:r(t.value)}}}},GetCorrelationId:{executionType:s.ExecutionType.NoOp,execution(){return{correlationId:this.correlationId}}},SetActiveCell:{executionType:s.ExecutionType.NoOp,execution(e){return this.schedulerState={...this.schedulerState,activeCell:e.activeCell,activeCellFormat:e.activeCellFormat},{}}},GetRichValueFieldListContext:{executionType:s.ExecutionType.Async,async execution(e){const t=await this.schedulerState.scheduler.getRichValueFieldListContext(e.rangeToQuery,e.dotNotationPath,e.singleColumn,e.findRange);if(t.kind===n.ResultKind.Failure)throw u.logSafeFailure.failure("serverDataProvider is undefined");return{result:t.value}}},GetHiddenRows:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:await this.cache.getHiddenRows(e.sheet,e.start,e.endExclusive)}}},GetHiddenCols:{executionType:s.ExecutionType.Async,async execution(e){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{result:await this.cache.getHiddenCols(e.sheet,e.start,e.endExclusive)}}},ResolveReferences:{executionType:s.ExecutionType.Sync,execution({locals:e,nodes:t}){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");if(void 0===e)throw u.logSafeFailure.failure("Locals is undefined");if(void 0===t)throw u.logSafeFailure.failure("Nodes is undefined");return{resolverResults:this.cache.resolveReferences(e,t)}}},GetCorrespondingSnapshotID:{executionType:s.ExecutionType.Async,async execution(){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");return{snapshotID:await this.cache.getCorrespondingSnapshotID()}}},GetEditFormat:{executionType:s.ExecutionType.Async,async execution({cell:e}){if(void 0===this.cache)throw u.logSafeFailure.failure("Cache is undefined");const t=await this.cache.getEditFormat(e);return{result:void 0===t?(0,n.failure)((0,o.unavailable)(["Unavailable Format"])):(0,n.success)(t)}}},UpdateSnapshot:{executionType:s.ExecutionType.Async,async execution(){const e=await this.schedulerState.scheduler.updatePrefetchingCache(this.handle);if(void 0===e)throw u.logSafeFailure.failure("Cache is undefined");return{snapshotID:e}}},GetFullTableHeadersFromServer:{executionType:s.ExecutionType.Async,async execution({tableName:e}){const t=await this.schedulerState.scheduler.getTableColHeaders(e);if(t.kind===n.ResultKind.Failure)throw u.logSafeFailure.failure("serverDataProvider is undefined");return(0,n.isNone)(t.value)?{result:[]}:{result:t.value.filter(n.isDefined)}}},CreateChatGPTSession:{executionType:s.ExecutionType.Async,async execution({options:e}){if(void 0===e)throw u.logSafeFailure.failure("Request contained undefined 'options'");const t=await this.schedulerState.scheduler.createChatGPTSession(e);return t.kind===n.ResultKind.Success&&this.finalizer.subscribe((()=>this.schedulerState.scheduler.closeChatGPTSession(t.value))),d(t,(e=>({result:e})))}},CloseChatGPTSession:{executionType:s.ExecutionType.Async,async execution({session:e}){return d(await this.schedulerState.scheduler.closeChatGPTSession(e),(()=>({})))}},SendChatGPTQuery:{executionType:s.ExecutionType.Async,async execution({request:e,session:t}){return d(await this.schedulerState.scheduler.sendChatGPTQuery(t,e),(e=>({result:e})))}},IsSchedulerFeatureEnabled:{executionType:s.ExecutionType.NoOp,execution({feature:e}){return{isFeatureEnabled:this.schedulerState.scheduler.isSchedulerFeatureEnabled(e)}}},SendAugLoopSignal:{executionType:s.ExecutionType.Async,async execution({signal:e}){return d(await this.schedulerState.scheduler.sendAugLoopSignal(e,this.handle.info.computationIdentifier.factoryName),(e=>({result:e})))}},TriggerEvent:{executionType:s.ExecutionType.NoOp,execution({eventKind:e,event:t}){return this.schedulerState.scheduler.triggerEventImmediate(e,t),{}}},AwaitEvent:{executionType:s.ExecutionType.Async,async execution(e){const t=this.schedulerState.scheduler.catchEvent(e);if((0,a.isALAnnotationEventKind)(e.eventKind)){const t=await this.schedulerState.scheduler.registerALAnnotation(e.eventKind);if(t.kind!==n.ResultKind.Success)throw t.reason}return{result:await t}}},GetRecognizedRangeTables:{executionType:s.ExecutionType.Async,async execution(e){return{result:await this.schedulerState.scheduler.getRecognizedTablesInfo(e.sheetId,e.range,e.metadataStates,this.handle.info.computationIdentifier.factoryName,e.maxRevisions)}}},LogAshaErrorEvent:{executionType:s.ExecutionType.Async,async execution({params:e}){return{result:await this.schedulerState.scheduler.logAshaErrorEvent(...e)}}},GetPowerQueries:{executionType:s.ExecutionType.Async,async execution(){const e=await this.schedulerState.scheduler.getPowerQueries();if(e.kind===n.ResultKind.Failure)throw u.logSafeFailure.failure("getPowerQueries failed");return(0,n.isNone)(e.value)?{queries:[]}:{queries:e.value.filter(n.isDefined)}}}}},82007:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(16533).__exportStar(r(39441),t)},40311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.systemYieldRequestProcessorMap=void 0;const n=r(52123),o=r(27784),i=r(45012),a=r(50928),s=a.X10TaskInternal.createToken();async function l(e){try{return(0,n.success)(await e)}catch(e){return(0,n.failure)(String(e))}}t.systemYieldRequestProcessorMap={AwaitPromise:{executionType:i.ExecutionType.Async,execution:async e=>({result:await e.promise})},CreateTask:{executionType:i.ExecutionType.NoOp,execution({request:e}){const t=o.generalYieldRequestProcessorMap[e.kind].execution;return{task:new a.X10TaskInternal((0,n.bindMaybeThenable)(t.bind(this)(e),(t=>(0,n.success)({kind:e.kind,...t})),(e=>(0,n.failure)(e))),s)}}},PromiseToTask:{executionType:i.ExecutionType.NoOp,execution:e=>({task:new a.X10TaskInternal(e.promise,s)})},AwaitTask:{executionType:i.ExecutionType.Async,execution:async e=>({result:await e.task.resolve(s)})},AwaitBatch:{executionType:i.ExecutionType.Async,async execution(e){const t=[];for(const r of e.tasks)t.push(await l(r.resolve(s)));return{results:t}}},AwaitAll:{executionType:i.ExecutionType.Async,async execution(e){const t=n.MaybeThenable.all(e.tasks.map((e=>e.resolve(s))));return{result:await l(t)}}},AwaitAny:{executionType:i.ExecutionType.Async,async execution(e){const t=n.MaybeThenable.any(e.tasks.map((e=>e.resolve(s))));return{result:await l(t)}}}}},39441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.syncYieldRequestProcessorMap=t.yieldRequestProcessorMap=t.yieldRequestMapping=t.yieldRequestKind=void 0,t.processYieldRequest=function(e,t,r,o,i){const{info:{correlationId:a},schedulerState:l,finalizer:u}=r,c=e[t.kind].execution,d={correlationId:a,cache:o,config:i,schedulerState:l,finalizer:u,handle:r};try{const e=c.bind(d)(t);return(0,n.bindMaybeThenable)(e,(e=>(r.schedulerState=d.schedulerState,(0,n.success)({kind:t.kind,...e}))))}catch(e){return s.logSafeFailure.censored((0,n.failure)(e))}},t.processSyncYieldRequest=function(e,t,r,o,i){const{info:{correlationId:a},schedulerState:l,finalizer:u}=r,c=e[t.kind].execution,d={request:t,correlationId:a,cache:o,config:i,schedulerState:l,finalizer:u,handle:r};try{const e=c.bind(d)(t);return r.schedulerState=d.schedulerState,(0,n.success)({kind:t.kind,...e})}catch(e){return s.logSafeFailure.censored((0,n.failure)(e))}};const n=r(52123),o=r(27784),i=r(40311),a=r(45012),s=r(64517);t.yieldRequestKind={AwaitAll:"AwaitAll",AwaitAny:"AwaitAny",AwaitBatch:"AwaitBatch",AwaitEvent:"AwaitEvent",AwaitPromise:"AwaitPromise",AwaitTask:"AwaitTask",CloseChatGPTSession:"CloseChatGPTSession",CreateChatGPTSession:"CreateChatGPTSession",CreateTask:"CreateTask",Delay:"Delay",EvalFormula:"EvalFormula",EvalFormulaTree:"EvalFormulaTree",EvalOnClonedModel:"EvalOnClonedModel",GetActiveCell:"GetActiveCell",GetActiveCellFormat:"GetActiveCellFormat",GetAvailableTableHeaders:"GetAvailableTableHeaders",GetCell:"GetCell",GetConfig:"GetConfig",GetContainingTable:"GetContainingTable",GetCopilotLicense:"GetCopilotLicense",GetCorrelationId:"GetCorrelationId",GetCorrespondingSnapshotID:"GetCorrespondingSnapshotID",GetCultureTag:"GetCultureTag",GetDefinedNamesInfo:"GetDefinedNamesInfo",GetDefinedNameInfo:"GetDefinedNameInfo",GetEditFormat:"GetEditFormat",GetFullTableHeadersFromServer:"GetFullTableHeadersFromServer",GetFunctionInfo:"GetFunctionInfo",GetFunctionsInfo:"GetFunctionsInfo",GetHiddenRows:"GetHiddenRows",GetHiddenCols:"GetHiddenCols",GetIformat:"GetIformat",GetIntersectingTables:"GetIntersectingTables",GetPowerQueries:"GetPowerQueries",GetPythonLicense:"GetPythonLicense",GetPythonType:"GetPythonType",GetPrecedingPythonCells:"GetPrecedingPythonCells",GetRange:"GetRange",GetSheetNames:"GetSheetNames",GetStructRefColumn:"GetStructRefColumn",GetStructRefSpecialRef:"GetStructRefSpecialRef",GetRecognizedRangeTables:"GetRecognizedRangeTables",GetRichValueFieldListContext:"GetRichValueFieldListContext",InternalService:"InternalService",IsSchedulerFeatureEnabled:"IsSchedulerFeatureEnabled",LogAshaErrorEvent:"LogAshaErrorEvent",ParseActiveCell:"ParseActiveCell",ParseCellFormula:"ParseCellFormula",ParseEdit:"ParseEdit",ParseNumberFormat:"ParseNumberFormat",PrintFormula:"PrintFormula",PromiseToTask:"PromiseToTask",ResolveReferences:"ResolveReferences",SendAugLoopSignal:"SendAugLoopSignal",SendChatGPTQuery:"SendChatGPTQuery",SetActiveCell:"SetActiveCell",TriggerEvent:"TriggerEvent",UnsafeGetContainingTable:"UnsafeGetContainingTable",UnsafeGetContainingTableName:"UnsafeGetContainingTableName",UnsafeGetIntersectingTableNames:"UnsafeGetIntersectingTableNames",UnsafeGetNamedObject:"UnsafeGetNamedObject",UpdateSnapshot:"UpdateSnapshot"},(0,n.staticAssertExtends)(),t.yieldRequestMapping={System:i.systemYieldRequestProcessorMap,General:o.generalYieldRequestProcessorMap},t.yieldRequestProcessorMap={...o.generalYieldRequestProcessorMap,...i.systemYieldRequestProcessorMap},t.syncYieldRequestProcessorMap=(0,n.mapFromArrayOfPairs)((0,n.strEnumArray)(t.yieldRequestKind).map((e=>{const r=t.yieldRequestProcessorMap[e].executionType;switch(r){case a.ExecutionType.NoOp:case a.ExecutionType.Sync:return[e,t.yieldRequestProcessorMap[e]];case a.ExecutionType.Async:case a.ExecutionType.Internal:return;default:(0,n.assertNever)("syncYieldRequestProcessorMap",r)}})).filter(n.isDefined))},99163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chatGPTPluginAttach=t.parserPerformanceMeasurementsAttach=t.autocompleteBinaryModelExperimentPluginAttach=t.autocompleteRangeSuggestionPluginAttach=t.autocompleteWrapperPluginAttach=t.autocompletePluginDependenciesResolved=void 0;const n=r(44663),o=r(92787),i=r(54855),a=(0,i.trackableAsyncLazy)((async()=>{const e=await o.workerThreadSpread.getValue();return await e.loadPluginScript("excelOnlineAutocomplete",!1),e}),"threadWithExcelOnlineAutocompleteScriptLoaded");t.autocompletePluginDependenciesResolved=(0,i.trackableAsyncLazy)((async()=>{const e=await a.getValue();await e.createAndAttachPlugin(n.PluginFactoryName.AutocompletePlugin),await o.schedulerWithRecalcServiceAttached.getValue()}),"autocompletePluginDependenciesResolved"),t.autocompleteWrapperPluginAttach=(0,i.trackableAsyncLazy)((async()=>{const e=await a.getValue();await e.createAndAttachPlugin(n.PluginFactoryName.AutocompleteWrapperPlugin)}),"autocompleteWrapperPluginAttach"),t.autocompleteRangeSuggestionPluginAttach=(0,i.trackableAsyncLazy)((async()=>{const e=await a.getValue();await e.createAndAttachPlugin(n.PluginFactoryName.AutocompleteRangeSuggestionPlugin)}),"autocompleteRangeSuggestionPluginAttach"),t.autocompleteBinaryModelExperimentPluginAttach=(0,i.trackableAsyncLazy)((async()=>{const e=await a.getValue();await e.createAndAttachPlugin(n.PluginFactoryName.AutocompleteBinaryModelExperimentPlugin)}),"autocompleteBinaryModelExperimentPluginAttach"),t.parserPerformanceMeasurementsAttach=(0,i.trackableAsyncLazy)((async()=>{const e=await a.getValue();await e.createAndAttachPlugin(n.PluginFactoryName.ParserPerformanceMeasurements)}),"parserPerformanceMeasurementsAttach"),t.chatGPTPluginAttach=(0,i.trackableAsyncLazy)((async()=>{const e=await a.getValue();await e.createAndAttachPlugin(n.PluginFactoryName.ChatGPTPlugin)}),"chatGPTPluginAttach")},25200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CacheGrid=void 0;const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(30484),l=r(17019),u=r(87481),c=r(12799),d=r(9228),p=r(99805),h=r(11614);function g(e){switch(e.kind){case"number":return a.xlMathpack.fromNumber(e.value);case"string":return(0,a.stringOper)(e.stringValue);case"bool":return(0,a.booleanOper)(e.boolValue);case"error":return(0,a.errorOper)(e.errorKind??a.ErrorType.UNKNOWN);case"rich":return{kind:a.OperKind.Rich,getFallback:()=>(0,a.errorOper)(a.ErrorType.FIELD),getField(){}};case"blank":return a.blankOper}}t.CacheGrid=class{get readonlyDataModel(){return this.calcGrid.dataModel.getDocs()}writeRange(e,t){const r=this.sheetRangeToSheetGridRange(t.range);if(void 0===r)return;const{hiddenRowSet:n,hiddenColSet:s}=this.populateHiddenCells(t,r,e),l=(0,d.sheetCellSet)(r.sheet,(0,i.createFromProduct)({row:n,col:s}));this.calcGrid.dataModel.writeCellContents(e,l,"",!1,(0,a.gridCell)(r.range.row,r.range.col),a.blankOper,void 0,void 0);const{visibleRows:u,visibleCols:c}=function(e,t,r){const{row:n,col:i,rows:a,cols:s}=e.range,l=(0,o.except)(p.bspFactory.row([n,n+a]),t),u=(0,o.except)(p.bspFactory.col([i,i+s]),r),c=[];(0,p.forEachRow)(l,(([e,t])=>{for(let r=e;r<t;r++)c.push(r);return!0}));const d=[];return(0,p.forEachCol)(u,(([e,t])=>{for(let r=e;r<t;r++)d.push(r);return!0})),{visibleRows:c,visibleCols:d}}(r,n,s);for(let n=0;n<t.values.length;n++){const o=t.values[n],i=u[n];for(let s=0;s<o.length;s++){const l=o[s],u=c[s],h=(0,a.gridCell)(i,u);this.calcGrid.dataModel.writeCellContents(e,(0,d.sheetCellSet)(r.sheet,(0,p.createCellSetFromRange)(h)),t.formulae[n][s].formulaText,t.formulae[n][s].isFormula,h,g(l),t.iformats[n][s],void 0)}}}get sheets(){return this.readonlyDataModel.getSingleReadonlyDocument()?.getReadonlySheets()}get nameManager(){return this.readonlyDataModel.getSingleReadonlyDocument()?.getReadonlyNameManager()}get config(){return this.readonlyDataModel.config}consumePartialWorkbookMessages(){for(;!this.calcGrid.dataModel.step().queueEmpty;);}populateHiddenCells(e,t,r){const n=e.hiddenRows.reduce(((e,{startInclusive:t,endExclusive:r})=>(0,o.union)(e,p.bspFactory.row([t,r]))),o.empty),i=e.hiddenCols.reduce(((e,{startInclusive:t,endExclusive:r})=>(0,o.union)(e,p.bspFactory.col([t,r]))),o.empty),a=(0,u.sheetGridRangeToHiddenRows)(t,n),s=(0,u.sheetGridRangeToHiddenCols)(t,i);return this.calcGrid.dataModel.writeHiddenRows(r,a),this.calcGrid.dataModel.writeHiddenCols(r,s),{hiddenRowSet:n,hiddenColSet:i}}sheetRangeToSheetGridRange(e){const t=this.calcGrid.dataModel.getDocs().getSheetIndex(this.calcGrid.document,e.sheetName);if(t.kind!==n.ResultKind.Failure&&(0,n.isDefined)(t.value))return(0,a.sheetGridRange)((0,a.sheetIndex)(this.calcGrid.document,t.value),(0,l.rangeToGridRange)(e))}constructor(){this.calcGrid=(0,s.makeCalcGrid)(n.defaultSetTimeoutInterface),this.recalcSideGrid=new h.RecalcSideGrid(this.calcGrid),this.schedulerFeatures=[],this.setSchedulerFeatures=e=>{this.schedulerFeatures=e},this.setA1ReferenceStyle=(...e)=>{this.calcGrid.setA1ReferenceStyle(...e),this.consumePartialWorkbookMessages()},this.setLocale=(...e)=>{this.calcGrid.setLocale(...e),this.consumePartialWorkbookMessages()},this.setWorkbookProps=(...e)=>{this.calcGrid.setWorkbookProps(...e),this.consumePartialWorkbookMessages()},this.updateSheetNames=(...e)=>{this.calcGrid.updateSheetNames(...e),this.consumePartialWorkbookMessages()},this.updateNamedObjects=(...e)=>{this.calcGrid.updateNamedObjects(...e),this.consumePartialWorkbookMessages()},this.setNumberFormats=(...e)=>{this.calcGrid.setNumberFormats(...e),this.consumePartialWorkbookMessages()},this.getStateAsNotifications=()=>[],this.getDocumentLoc=(...e)=>this.readonlyDataModel.getDocumentLoc(...e),this.getSheetIndex=(...e)=>this.readonlyDataModel.getSheetIndex(...e),this.getSheetName=(...e)=>this.readonlyDataModel.getSheetName(...e),this.getNameLoc=(...e)=>this.readonlyDataModel.getNameLoc(...e),this.getUserDefinedFuncLoc=(...e)=>this.readonlyDataModel.getUserDefinedFuncLoc(...e),this.getSheetRangeIndexes=(...e)=>this.readonlyDataModel.getSheetRangeIndexes(...e),this.getContainingTable=(...e)=>this.readonlyDataModel.getContainingTable(...e),this.getStructRefSpecialRef=(...e)=>this.readonlyDataModel.getStructRefSpecialRef(...e),this.getStructRefColumn=(...e)=>this.readonlyDataModel.getStructRefColumn(...e),this.getRangeValues=(...e)=>this.recalcSideGrid.getRangeValues(...e),this.getRangeFormulae=(...e)=>this.recalcSideGrid.getRangeFormulae(...e),this.getRangeFormats=(...e)=>this.recalcSideGrid.getRangeFormats(...e),this.getSheetNames=(...e)=>this.recalcSideGrid.getSheetNames(...e),this.getIntersectingTables=(...e)=>this.recalcSideGrid.getIntersectingTables(...e),this.getIformats=(...e)=>this.recalcSideGrid.getIformats(...e),this.getHiddenRows=(...e)=>this.recalcSideGrid.getHiddenRows(...e),this.getHiddenCols=(...e)=>this.recalcSideGrid.getHiddenCols(...e),this.discardSnapshot=async(...e)=>this.recalcSideGrid.discardSnapshot(...e),this.evalClonedModelOnSnapshot=(...e)=>this.recalcSideGrid.evalClonedModelOnSnapshot(...e),this.evalFormulaOnSnapshot=(...e)=>this.recalcSideGrid.evalFormulaOnSnapshot(...e),this.evalFormulaTreeOnSnapshot=(...e)=>this.recalcSideGrid.evalFormulaTreeOnSnapshot(...e),this.getCorrespondingSnapshotID=(...e)=>this.recalcSideGrid.getCorrespondingSnapshotID(...e),this.calcGrid.dataModel.setNumberFormats(this.calcGrid.document,c.knownFormatData,!1,-1/0)}}},95894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChatGPTPlugin=void 0;const n=r(16533),o=r(52123),i=r(44663),a=r(2548),s=r(58737),l=r(89500).PluginRegistry.create(i.PluginFactoryName.ChatGPTPlugin,i.PluginGroup.Excel);let u=(()=>{let e,t,r,i=[l.x10Plugin()],s=[],u=[];return t=class{*run(e){const t=e.query;if(!(0,o.isDefined)(t))return null;const r=yield{kind:"CreateChatGPTSession",options:e.context};if("CreateChatGPTSession"!==r.kind)throw new Error("Inconsistent yield request response type");const n=yield{kind:"SendChatGPTQuery",session:r.result,request:t};if("SendChatGPTQuery"!==n.kind)throw new Error("Inconsistent yield request response type");const i=yield{kind:"SendChatGPTQuery",session:r.result,request:"Explain your answer"};if("SendChatGPTQuery"!==i.kind)throw new Error("Inconsistent yield request response type");return{result:n.result,details:i.result}}constructor(){n.__runInitializers(this,u)}},n.__setFunctionName(t,"ChatGPTPlugin"),(()=>{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;r=[l.uiMessageHandler({kind:a.RequestKind.chatGPTQuery})],n.__esDecorate(t,null,r,{kind:"method",name:"run",static:!1,private:!1,access:{has:e=>"run"in e,get:e=>e.run},metadata:o},null,u),n.__esDecorate(null,e={value:t},i,{kind:"class",name:t.name,metadata:o},null,s),t=e.value,o&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),t.factory=l.injectPluginFactory(),n.__runInitializers(t,s),t})();t.ChatGPTPlugin=u,(0,s.registerPlugin)(u)},2682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChatGPTService=void 0;const n=r(52123);t.ChatGPTService=class{async createSession(e){const t=await this.provider.openChat(e);return(0,n.isDefined)(t)?(this.set.add(t),(0,n.success)(t)):(0,n.failure)(void 0)}async closeSession(e){if(!this.set.has(e))return(0,n.failure)(void 0);try{return this.provider.close(e),this.set.delete(e),(0,n.success)(void 0)}catch{return(0,n.failure)(void 0)}}async request(e,t){if(!this.set.has(e))return(0,n.failure)(void 0);try{const r=await this.provider.send(e,t);return(0,n.success)(r)}catch{return(0,n.failure)(void 0)}}constructor(e){this.provider=e,this.set=new Set}}},83196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conflictResolver=void 0;const n=r(52123),o=r(68247),i=r(44663),a=r(22091),s=r(65246),l=r(17049);t.conflictResolver={runTest:c,runExperiment:c,runAuthoringExperiment:c,runPerCharacterExperiment:c,argumentAssistance:d,valuePreview:d,gotoCtrlClick:d,formulaRepair:d,chatGPTQuery:d,columnFormulaSuggestion:d,formulaCopilotIPE:d,getTranspiledFormulas:d,getAnonymizedFormulas:d,inCellControlsAutodetection:d,getLocale:d,formulaCompletion:d,inCellSuggestion(e){for(const[{factoryName:t},r]of e)if(t===i.PluginFactoryName.AutocompleteRangeSuggestionPlugin&&(0,n.isDefined)(r))return r;return null},formulaHighlighting(e){if(e.length>0){let t=[];for(const[r,o]of e){const e=o.formulaHighlights?.filter(n.isDefined);void 0!==e&&(t=t.concat(e))}const r=(e,t)=>(0,n.isDefined)(e.span)&&(0,n.isDefined)(t.span)?(0,l.spanCompare)(e.span,t.span):(0,n.isDefined)(e)?1:(0,n.isDefined)(t)?-1:0;return t.sort(r),{formulaHighlights:t}}return null},functionSuggestion(e,t){if(t===i.PluginGroup.Python)return function(e){return e.length>1?function(e){const t=[];return t.push(e[0]),t[0][1].items.push(...e[1][1].items),d(t)}(e):d(e)}(e);let r;const s={Simple:[],Smart:[],Enum:[]};return e.forEach((([e,t])=>{t.items.filter(n.isDefined).filter((e=>(0,n.isDefined)(e.textEdit)||(0,n.isDefined)(e.label))).forEach((e=>{return s[(t=e,t.kind===i.CompletionItemKind.Enum?"Enum":t.type===i.SuggestionKind.Smart?"Smart":"Simple")].push(e);var t})),(0,n.isDefined)(t.data)&&(n.ulsLogger.ULS.assertTag(506804355,o.LogCategory.msoulscat_ES_EWAJS,!(0,n.isDefined)(r),"Multiple smart suggestions data received"),r=t.data)})),{items:s.Enum.length>0?[...s.Enum]:[...s.Smart,...s.Simple.sort((function(e,t){if((0,n.isDefined)(e.label)&&(0,n.isDefined)(t.label)){if((0,n.isDefined)(e.isPrefixed)&&(0,n.isDefined)(t.isPrefixed)&&e.isPrefixed!==t.isPrefixed)return e.isPrefixed?-1:1;if(u.includes(e.kind)&&u.includes(t.kind)){const r=(0,a.getStructRefCompletionItemRank)(e),n=(0,a.getStructRefCompletionItemRank)(t);if(r!==n)return n-r}return e.label.toLocaleLowerCase()>t.label.toLocaleLowerCase()?1:-1}return(0,n.isDefined)(e.label)?1:(0,n.isDefined)(t.label)?-1:0}))],data:r}}};const u=[i.CompletionItemKind.TableHeader,i.CompletionItemKind.TableSpecialStructRef];function c(e){const t=[];for(const[r,{results:o}]of e)(0,n.isDefined)(o)&&t.push(...o.filter(n.isDefined));return{results:t}}function d(e){if(0===e.length)return null;const[t,r]=e[0];if(1===e.length)return r;const n=s.computationRegistry.UIMessage.getRegistrationByComputationIdentifier(t)?.kind;throw new Error(`Conflict resolver: ${n}: ${e.length} results received, while only one active plugin is currently supported`)}(0,n.staticAssertExtends)()},98343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CrossThreadUniqueIdFactory=void 0;const n=r(18832);t.CrossThreadUniqueIdFactory=class{create(){return++this.current,`WorkerId=${this.workerName}#${this.current}`}constructor(){this.current=0,this.workerName=(0,n.workerName)()??"<Unknown"}}},26511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customConflictResolverFactories=t.FunctionSuggestionAndArgumentAssistanceConflictResolver=void 0;const n=r(52123),o=r(44663),i=r(2548),a=r(49714);class s{consumeResult(e){switch(e.kind){case i.RequestKind.functionSuggestion:(0,n.assertTrue)("functionSuggestionSet should be false when receiving functionSuggestion request",!this.functionSuggestionSet),this.functionSuggestionResult=e.result,this.functionSuggestionSet=!0,this.resolvePromiseIfPossible();break;case i.RequestKind.argumentAssistance:(0,n.assertTrue)("argumentAssistanceSet should be false when receiving argumentAssistance request",!this.argumentAssistanceSet),this.argumentAssistanceResult=e.result,this.argumentAssistanceSet=!0,this.resolvePromiseIfPossible();break;case i.RequestKind.inCellSuggestion:(0,n.assertTrue)("inCellSuggestionSet should be false when receiving inCellSuggestion request",!this.inCellSuggestionSet),this.inCellSuggestionResult=e.result,this.inCellSuggestionSet=!0,this.resolvePromiseIfPossible();break;case i.RequestKind.formulaCopilotIPE:(0,n.isTypedChangeGateEnabled)("OfficeVSO:9848728_refactorFormulaCopilotIPERequest")&&((0,n.assertTrue)("formulaCopilotIPESet should be false when receiving formulaCopilotIPE request",!this.formulaCopilotIPESet),this.formulaCopilotIPEResult=e.result,this.formulaCopilotIPESet=!0,this.resolvePromiseIfPossible());break;default:(0,n.assertNever)(`unknown result: ${e}`,e)}}static create(){return new s}resolvePromiseIfPossible(){if(this.formulaCopilotIPESet&&this.functionSuggestionSet)return(0,n.isDefined)(this.functionSuggestionResult)&&(0,n.isDefined)(this.functionSuggestionResult.items)&&this.functionSuggestionResult.items.length>0?(this.functionSuggestionResult.items[length-1]?.type===o.SuggestionKind.Smart&&((0,n.assertTrue)("can't get argument assistance and smart suggestion at the same time",!this.argumentAssistanceSet||null==this.argumentAssistanceResult),(0,n.assertTrue)("can't get in cell suggestion and smart suggestion at the same time",!this.inCellSuggestionSet||null==this.inCellSuggestionResult?.completionItem)),this.promise.resolve({functionSuggestion:this.functionSuggestionResult,argumentAssistance:null,inCellSuggestion:null,formulaCopilotIPE:this.formulaCopilotIPEResult})):this.argumentAssistanceSet&&this.inCellSuggestionSet?this.promise.resolve({functionSuggestion:this.functionSuggestionResult,argumentAssistance:this.argumentAssistanceResult,inCellSuggestion:this.inCellSuggestionResult,formulaCopilotIPE:this.formulaCopilotIPEResult}):void 0}constructor(){this.argumentAssistanceResult=null,this.functionSuggestionResult=null,this.inCellSuggestionResult=null,this.formulaCopilotIPEResult=null,this.argumentAssistanceSet=!1,this.functionSuggestionSet=!1,this.inCellSuggestionSet=!1,this.formulaCopilotIPESet=!(0,n.isTypedChangeGateEnabled)("OfficeVSO:9848728_refactorFormulaCopilotIPERequest"),this.promise=new n.ResolvablePromise}}t.FunctionSuggestionAndArgumentAssistanceConflictResolver=s,(0,n.staticAssertExtends)(),t.customConflictResolverFactories={[a.CustomConflictResolverStrategy.FunctionSuggestionAndArgumentAssistance]:s},(0,n.staticAssertExtends)()},49714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customConflictResolverPluginKinds=t.CustomConflictResolverStrategy=void 0,t.makeBatchRequester=function(e){return{functionSuggestionAndArgumentAssistance(t,r,o){if((0,n.isNone)(t))return Promise.resolve(null);const{functionSuggestion:s,argumentAssistance:l,inCellSuggestion:u,formulaCopilotIPE:c}=t;return(0,n.isNone)(s)||(0,n.isNone)(l)||(0,n.isNone)(u)||(0,n.isNone)(c)?Promise.resolve(null):e.doBatchRequest({strategy:a.FunctionSuggestionAndArgumentAssistance,functionSuggestion:s,argumentAssistance:l,inCellSuggestion:u,formulaCopilotIPE:c},r,o??i.DefaultComputationGroup)}}};const n=r(52123),o=r(2548),i=r(96843);var a;!function(e){e.FunctionSuggestionAndArgumentAssistance="FunctionSuggestionAndArgumentAssistance"}(a||(t.CustomConflictResolverStrategy=a={})),t.customConflictResolverPluginKinds={[a.FunctionSuggestionAndArgumentAssistance]:[o.RequestKind.functionSuggestion,o.RequestKind.argumentAssistance,o.RequestKind.inCellSuggestion,o.RequestKind.formulaCopilotIPE]},(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)()},27831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicPluginLoaderInsideInit=t.timelineQueueProcessorFactory=t.createPrefetchingCacheFactory=t.DynamicPluginLoader=t.DynamicPluginLoaderBase=void 0;const n=r(16533),o=r(52123),i=r(68247),a=n.__importStar(r(18832)),s=r(8585),l=r(97834),u=r(31409),c=r(58737),d=r(41121),p=r(78346),h=r(99355),g=r(98088);class m{loadPluginScriptTrace(e,t){o.ulsLogger.ULS.traceTag(553734797,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,h.x10Logger.formatLogMessage("loadPluginScript",{description:`${e} loaded, time to load ${t}`}))}async createAndAttachPlugin(e,t){const r=(0,c.getPluginClass)(e);await this.scheduler.createAndAttachPlugin(r,t)}constructor(e,t){if(!(t instanceof l.FormulaBarScheduler))throw new TypeError(`DynamicPluginLoaderBase.constructor: unknown IFormulaBarScheduler class: ${JSON.stringify(t)}`);this.scheduler=t,h.x10Logger.threadId=e}}t.DynamicPluginLoaderBase=m;class f extends m{async loadPluginScript(e,t){if((0,o.isNone)(e)||(0,o.isNone)(t))return;const r=p.defaultTimerInterface,n=r.now();await this.loader.loadScript(e);const i=r.now()-n;this.loadPluginScriptTrace(e,i)}isThreadingSupported(){return a.isThreadingSupported()&&void 0!==(0,o.getCalcAbsUrl)()}async createPluginThread(e){const t=`DynamicPluginLoaderThread-${f.lastThreadNum+=1}-${e}`,r=`${t}-IGrid`;await o.initCalcCalled;const n=await a.createWorker({createMode:"Thread",id:t},a.paramInsideDef({scriptUrl:(0,o.getCalcAbsUrlOrThrow)(),insideInitName:this.threadEntryPoint},{pluginResponseWindows:this.scheduler.getPluginResponseWindows()}),(()=>({...(0,s.bindMethods)(this.scheduler,[...l.parentMethodsCall,...l.parentMethodsPost]),resolveScript:this.resolveScript})));try{let e=()=>{};n.onClose=()=>{e(),o.ulsLogger.ULS.traceTag(553734798,i.LogCategory.msoulscat_ES_EWAJS,i.TraceLevel.Info,h.x10Logger.formatLogMessage("DynamicPluginLoader",{description:"Thread closed"}))};const t=await(0,o.initCalcThread)(n);e=()=>t.close(),this.scheduler.doNotifyStatelessSubject.subscribe((e=>n.post.processNotification(e))),this.scheduler.requestWithCorrelationIdSubject.subscribe((e=>n.post.requestWithCorrelationId(...e))),this.scheduler.doNotifyStatefulSubject.subscribe((e=>n.post.processNotification(e)));const a={createIGridImportEndpoint:e=>n.call.createIGridImportEndpoint.transfer([e.port],e),onGridExporterClosed:n.post.onGridExporterClosed};return this.gridManager.onGridImporterCreated(a,r),new v(n)}catch(e){throw n.close(),e}}constructor(e,t,r,n){super("Main",r),this.threadEntryPoint=e,this.gridManager=t,this.loader=n;const o=n.getConfig();this.resolveScript=o.resolveScript}}t.DynamicPluginLoader=f,f.lastThreadNum=0;class v{loadPluginScript(e,t){return this.outside.call.loadPluginScript(e,t)}createAndAttachPlugin(e,t){return this.outside.call.createAndAttachPlugin(e,t)}recalcServiceAttached(){return this.outside.call.recalcServiceAttached()}close(){this.outside.close()}constructor(e){this.outside=e}}t.createPrefetchingCacheFactory=e=>(...t)=>{const r=e.getGrid();if(void 0!==r)return d.PrefetchingCache.create(r,...t)},t.timelineQueueProcessorFactory=e=>t=>new p.TimelineQueueProcessor(((e,t)=>e.kind-t.kind),t,void 0,e),t.dynamicPluginLoaderInsideInit=(e,t)=>async({config:r,connection:n},{pluginResponseWindows:o})=>a.Endpoint.createInside(n,(i=>{const a={...(0,s.bindLazyMethods)(new g.ResettableLazy((()=>i.call)),l.parentMethodsCall),...(0,s.bindLazyMethods)(new g.ResettableLazy((()=>i.post)),l.parentMethodsPost)},c=void 0,d=new u.GridProvider((()=>p.registerAsyncGrid())),p=new l.FormulaBarScheduler(e(c),t(d),o,d.getGridDataSink(),d.getSyncDataModel(),c,a);return new b(String(n.options.id),d,p,r,i)}));class b extends m{async loadPluginScript(e,t){if((0,o.isNone)(e)||(0,o.isNone)(t))return;if(!0===this.loadedScripts[e])return;const r=p.defaultTimerInterface,n=r.now();a.importScriptsWithRetry([await this.inside.call.resolveScript({identifier:e,isLocalized:t})],o.maxRetriesForLoadingScript);const i=r.now()-n;this.loadedScripts[e]=!0,this.loadPluginScriptTrace(e,i)}recalcServiceAttached(){return this.scheduler.recalcServiceAttached()}constructor(e,t,r,n,i){super(e,r),this.gridImporter=t,this.twConfig=n,this.inside=i,this.loadedScripts=(0,o.makeStringMap)(),this.initCalcThreadInside=async(e,t,r)=>{await(0,o.initCalcInThread)(e,t,r,this.twConfig)},this.createIGridImportEndpoint=this.gridImporter.createIGridImportEndpoint.bind(this.gridImporter),this.onGridExporterClosed=this.gridImporter.onGridExporterClosed.bind(this.gridImporter),this.processNotification=this.scheduler.processNotification.bind(this.scheduler),this.requestWithCorrelationId=this.scheduler.requestWithCorrelationId.bind(this.scheduler)}}},76498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.experimentQueueProcessorFactory=t.ExperimentQueueProcessor=void 0;const n=r(52123),o=r(96843);class i{enqueue(e,t,r){(0,n.isDefined)(r)&&e.kind===o.SchedulerTimelineQueueMessageKind.StopComputationFrame||this.queue.enqueue(e)}step(){const e=this.queue.pop();(0,n.isDefined)(e)&&this.consumeMessage(e)}get done(){return 0===this.queue.getCount()}constructor(e){this.consumeMessage=e,this.queue=new n.PriorityQueue((()=>0))}}t.ExperimentQueueProcessor=i,t.experimentQueueProcessorFactory=e=>new i(e),(0,n.staticAssertExtends)()},8585:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultMap=t.bindMethodsNullCheck=t.bindMethodsUnbox=void 0,t.staticTypeHint=function(e){},t.functionMapFromDUFunction=function(e,t){const r={};for(const n of t)r[n]=(...t)=>e(n,...t);return r},t.bindMethods=function(e,t){const r={};for(const n of t){const t=(...t)=>e[n](...t);r[n]=t}return r},t.lazy=function(e){return new o.ResettableLazy(e)},t.bindLazyMethods=function(e,t){const r={};for(const n of t){const t=(...t)=>e.getValue()[n](...t);r[n]=t}return r},t.asReadonly=function(e){return e},t.mapFromArrayOfDependantPairs=s,t.functionMapToGenericFunction1stArg=function(e){return(t,r,...n)=>e[t].call(e,r,...n)};const n=r(52123),o=r(98088);n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertExtends,n.staticAssertExtends,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame,n.staticAssertSame;class i{unbox(e){return(...t)=>e(t)}nullcheck(e){return(...t)=>{for(const e of t)if((0,n.isNone)(e))return null;return e(...t)}}}function a(e){const t=new i,r=t[e].bind(t);return function(e,t){const n={};for(const o of t){const t=e[o].bind(e);n[o]=r(t)}return n}}t.bindMethodsUnbox=a("unbox"),t.bindMethodsNullCheck=a("nullcheck");{const e={methodF:e=>e+1,methodG:([e])=>e+1},r=(0,t.bindMethodsUnbox)(e,["methodG"]);n.staticAssertSame,(0,t.bindMethodsNullCheck)(e,["methodG"]),n.staticAssertSame,(0,t.bindMethodsNullCheck)(r,["methodG"]),n.staticAssertSame}function s(e){return e.reduce(((e,[t,r])=>(e[t]=r,e)),{})}s([["a",1],["b",2]]),n.staticAssertSame,t.DefaultMap=class{get(e){const t=this.operations.getKey(e),r=this.map.get(t);if(void 0!==r)return r;const n=this.operations.getDefault();return this.map.set(t,n),n}set(e,t){this.map.set(this.operations.getKey(e),t)}delete(e){this.map.delete(this.operations.getKey(e))}constructor(e){this.operations=e,this.map=new Map}}},97834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormulaBarScheduler=t.parentMethodsPost=t.parentMethodsCall=void 0,t.shouldRunComputation=H;const n=r(52123),o=r(85882),i=r(44663),a=r(91243),s=r(60746),l=r(22822),u=r(2682),c=r(39323),d=r(65246),p=r(18242),h=r(45012),g=r(26435),m=r(83196),f=r(98343),v=r(26511),b=r(49714),y=r(8585),S=r(6710),C=r(96843),T=r(78e3),k=r(50928),F=r(52395),E=r(77824),A=r(65933),I=r(78346),x=r(75442),w=r(64517),P=r(99355),R=r(82007),D=r(98088),_=r(10946);class N{create(){return this.current+=1}constructor(){this.current=0}}const O=(0,y.mapFromArrayOfDependantPairs)((0,n.numEnumArray)(i.PluginFactoryName).map((e=>[e,i.PluginFactoryName[e]])));t.parentMethodsCall=["serviceCall","createChatGPTSession","closeChatGPTSession","sendChatGPTQuery","sendAugLoopSignal","registerALAnnotation","getRecognizedTablesInfo","getCoPilotLicense","getPythonLicense","logAshaErrorEvent","getPowerQueries","getPythonType","getPrecedingPythonCells","getTableColHeaders","getRichValueFieldListContext"],t.parentMethodsCall,t.parentMethodsPost=["addResult","addToComputationCount","triggerEventImmediate"],(0,n.staticAssertSame)();const M={kind:F.InternalSchedulerResponseKind.FirstStep},B={[x.NotificationKind.setActiveCell]:!0,[x.NotificationKind.setActiveCellFormat]:!0,[x.NotificationKind.doNothing]:!0},L=(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.PluginResponseWindowDebugTimeExtension");class K{async serviceCall(e,t,r){if(void 0!==this.parent)return this.parent.serviceCall(e,t,r);const n=await this.services[e];(0,y.staticTypeHint)(n),(0,y.staticTypeHint)(t);const o=n[t];return(0,y.staticTypeHint)(o),o.bind(n)(...r)}registerProvider(e,t){P.x10Logger.log({kind:"provider",payload:{id:e,state:"Provided"}});const r=this.services[e];(0,y.staticTypeHint)(r);const n=r.resolve(t);return P.x10Logger.log({kind:"provider",payload:{id:e,state:"Registered"}}),n}async getCoPilotLicense(){return this.parent?this.parent.getCoPilotLicense():this.services.CopilotLicense.getCurrentValue()?.getLicense()}async getPythonLicense(){return this.parent?this.parent.getPythonLicense():this.services.PythonLicense.getCurrentValue()?.getLicense()}async getPythonType(...e){if(this.parent)return this.parent.getPythonType(...e);const t=this.services.ServerDataProvider.getCurrentValue();return t?(0,n.success)(await t.getPythonType(...e)):(0,n.failure)("Unavailable")}async getPrecedingPythonCells(...e){if(this.parent)return this.parent.getPrecedingPythonCells(...e);const t=this.services.ServerDataProvider.getCurrentValue();return t?(0,n.success)(await t.getPrecedingPythonCells(...e)):(0,n.failure)("Unavailable")}async getRichValueFieldListContext(...e){if(this.parent)return this.parent.getRichValueFieldListContext(...e);const t=this.services.ServerDataProvider.getCurrentValue();return t?(0,n.success)(await t.getRichValueFieldListContext(...e)):(0,n.failure)("Unavailable")}async getTableColHeaders(...e){if(this.parent)return this.parent.getTableColHeaders(...e);const t=this.services.ServerDataProvider.getCurrentValue();return t?(0,n.success)(await t.getTableColHeaders(...e)):(0,n.failure)("Unavailable")}async getPowerQueries(){if(this.parent)return this.parent.getPowerQueries();const e=this.services.PowerQueryDataProvider.getCurrentValue();return(0,n.isDefined)(e)?(0,n.success)(await e.getQueries()):(0,n.failure)("Unavailable")}setFunctionInfo(e){if((0,n.isNone)(e))return void n.ulsLogger.ULS.traceTag(512274762,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("setFunctionInfo",{description:"functionsInfo was none"}));const t={};for(const r of e)(0,n.isDefined)(r)&&(t[r.NameDataStrings]=r);this.state={...this.state,functionsInfoMap:t},n.ulsLogger.ULS.traceTag(512274761,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("setFunctionInfo",{description:"set functionsInfoMap"}))}setDefinedNamesInfo(e){if((0,n.isNone)(e))return void n.ulsLogger.ULS.traceTag(512274760,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("setDefinedNamesInfo",{description:"definedNamesInfo was none"}));const t={};for(const r of e)(0,n.isDefined)(r)&&(0,n.isDefined)(r.name)&&(t[r.name.toUpperCase()]=r);this.state={...this.state,definedNamesInfoMap:t},n.ulsLogger.ULS.traceTag(512274759,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("setDefinedNamesInfo",{description:"set definedNamesInfoMap"}))}onWorkbookClosing(){P.x10Logger.flush()}getPluginResponseWindows(){return this.pluginResultWindows}setPluginResponseWindow(e,t,r){this.pluginResultWindows[e]={startDelta:t,stopDelta:r}}consumeMessage(e){switch(e.kind){case C.SchedulerTimelineQueueMessageKind.StepComputation:this.stepComputation(e.computation,e.payload);break;case C.SchedulerTimelineQueueMessageKind.NoOpRequest:case C.SchedulerTimelineQueueMessageKind.SyncRequest:case C.SchedulerTimelineQueueMessageKind.AsyncRequest:case C.SchedulerTimelineQueueMessageKind.InternalRequest:const t=this.timer.now();this.processYieldRequest(e.computation,e.request,{onFulfilled:t=>{if(t.kind===n.ResultKind.Success)return this.enqueueMessage({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:e.computation,payload:{kind:F.InternalSchedulerResponseKind.NormalResponse,response:t.value}}),t.value;const r=w.logSafeFailure.censored(t);return this.enqueueMessage({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:e.computation,payload:{kind:F.InternalSchedulerResponseKind.RequestFailure,request:e.request.kind,failure:r}}),r},onRejected:()=>{const t=(0,n.failure)(void 0);return this.enqueueMessage({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:e.computation,payload:{kind:F.InternalSchedulerResponseKind.RequestFailure,request:e.request.kind,failure:t}}),t}}),e.computation.info.schedulerTime+=this.timer.now()-t;break;case C.SchedulerTimelineQueueMessageKind.StopComputationFrame:this.stopComputationFrame(e.correlationId,e.computationGroup,e.type,e.computationKind,C.ExecutionStopReason.Frame.Timeout);break;case C.SchedulerTimelineQueueMessageKind.Timeout:e.callback();break;default:(0,n.assertNever)(`unknown message: ${e}`,e)}}enqueueMessage(e,t){const r=K.abstractStepCosts[e.kind];this.processor.enqueue(e,r,t)}stepComputation(e,t){const r=this.responseStates[e.info.type][e.info.computationKind].computationFrame(e.info.computationGroup);if(e.info.correlationId===r?.correlationId)try{const r=this.timer.now(),n=W(e.generator,t);if(e.info.computationTime+=this.timer.now()-r,!0!==n.done){const t=n.value,r=(0,F.createTimelineQueueMessage)(t,e);this.enqueueMessage(r)}else this.addResultAndFinalizeComputationFrame(e,{kind:"Successful",message:n.value},C.ExecutionStopReason.Computation.Done)}catch(t){this.addResultAndFinalizeComputationFrame(e,{kind:"Exception"},C.ExecutionStopReason.Computation.Exception),P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.PluginFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.stepComputation",description:`plugin threw exception: ${t} during computation`,data:e.info}})}else e.finalizer.finalize(e,e.stopReasonRef.value)}addResultAndFinalizeComputationFrame(e,t,r){return e.finalizer.finalize(e,r),this.addResult(e.info,t)}addResult(e,t,r){const i=this.responseStates[e.type][e.computationKind].computationFrame(e.computationGroup);if(this.parent||r?.forEach((e=>P.x10Logger.log(...e))),void 0===i||i.correlationId>e.correlationId)return;if(i.correlationId<e.correlationId&&P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.AssertionFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.addResult",description:`main scheduler corelationID (${i.correlationId}) is less than the child one (${e.correlationId})`}}),this.parent){const n=[...r??[],...P.x10Logger.flushBufferedMessages()];this.parent.addResult(e,t,n)}switch(t.kind){case"Successful":i.successfulResults.results.push([e.computationIdentifier,t.message]);break;case"Exception":i.numFailures+=1;break;case"Skipped":i.numSkippedComputations+=1;break;default:(0,n.assertNever)("unknown result",t)}const a=function(e){switch(!0){case e.numFailures+e.numSkippedComputations+e.successfulResults.results.length!==e.numOfComputations:return;case e.numFailures===e.numOfComputations:return C.ExecutionStopReason.Computation.Exception;case e.numSkippedComputations===e.numOfComputations:return C.ExecutionStopReason.Computation.Skipped;default:return C.ExecutionStopReason.Computation.Done}}(i);void 0!==a&&this.stopComputationFrame(i.correlationId,e.computationGroup,e.type,e.computationKind,a)}processYieldRequest(e,t,{onFulfilled:r,onRejected:i}){const a=this.responseStates[e.info.type][e.info.computationKind],s=a.computationFrame(e.info.computationGroup);if(e.info.correlationId!==s?.correlationId)return e.finalizer.finalize(e,e.stopReasonRef.value),i(w.logSafeFailure.failure("Computation timed out"));const l=this.timer.now(),u=(0,R.processYieldRequest)(R.yieldRequestProcessorMap,t,e,a.computationFrame(e.info.computationGroup)?.cache,a.computationFrame(e.info.computationGroup)?.config);return(0,n.bindMaybeThenable)(u,(i=>(this.addProcessingTime(e,t.kind,l),i.kind!==n.ResultKind.Success&&P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.RequestProcessorFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.processRequest",description:"request returned a scheduler-side failure",data:{...e.info,failedRequest:t.kind,failedReason:w.logSafeFailure.censored(i)}}}),r(i))),(r=>(this.addProcessingTime(e,t.kind,l),P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.RequestProcessorFailure,failureLevel:o.TraceLevel.Error,path:"FormulaBarScheduler.processRequest",description:"request processor threw",data:{...e.info,failedRequest:t.kind,error:(0,n.messageFromError)(r)}}}),i(r))))}addProcessingTime(e,t,r){const n=this.timer.now(),o=e.info.requestTimes[t];return o?(o.requestDuration=o.requestDuration+n-r,o.numberOfRequests+=1,o.timeSinceLastRequest=n-e.lastTimestamp):e.info.requestTimes[t]={requestDuration:n-r,numberOfRequests:1,timeSinceLastRequest:n-e.lastTimestamp},e.lastTimestamp=n,n}stopComputationFrame(e,t,r,n,o){const i=this.responseStates[r][n];e===i.computationFrame(t)?.correlationId&&i.stop(t,o,this.timer.now())}getFunctionsShortDescriptions(){return l.functionShortDescriptions.getValue()}getSchedulerFeatures(){return(0,y.asReadonly)(this.syncDataModel.schedulerFeatures)}isSchedulerFeatureEnabled(e){return-1!==this.getSchedulerFeatures().indexOf(e)}doNotify(...e){n.ulsLogger.ULS.traceTag(512274758,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("FormulaBarScheduler.doNotify",{description:`received notification of kind:\n ${e[0]}\n `})),this.enqueueNotification(e),e[0]!==x.NotificationKind.setSchedulerFeatures&&e[0]!==x.NotificationKind.notifyWorkbookClosing||this.processNotifications()}enqueueNotification(e){const t=this.notificationQueue.length-1,r=this.notificationQueue[t];if(void 0===r)this.notificationQueue.push(e),n.ulsLogger.ULS.traceTag(512274757,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("FormulaBarScheduler.enqueueNotification",{description:`queue empty, notification of kind:\n ${e[0]} pushed to queue\n `}));else{const[i]=r,[a]=e;i===a&&!0===B[i]?(this.notificationQueue[t]=e,n.ulsLogger.ULS.traceTag(512274756,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("FormulaBarScheduler.enqueueNotification",{description:`notification of kind:\n ${e[0]} overrode previous notification\n `}))):(this.notificationQueue.push(e),n.ulsLogger.ULS.traceTag(512274755,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("FormulaBarScheduler.enqueueNotification",{description:`couldn't coalesce, notification of kind:\n ${e[0]} pushed to queue\n `})))}}processNotifications(){for(const e of this.notificationQueue)n.ulsLogger.ULS.traceTag(512274754,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("FormulaBarScheduler.processNotifications",{description:`processing notification of kind:\n ${e[0]}\n `})),this.processNotification(e);this.notificationQueue.length=0}processNotification(e){const[t,r]=e;switch(this.notificationProcessorMap[t](...r),t){case x.NotificationKind.setA1ReferenceStyle:case x.NotificationKind.setLocale:case x.NotificationKind.setWorkbookProps:case x.NotificationKind.updateSheetNames:case x.NotificationKind.updateNamedObjects:case x.NotificationKind.setSchedulerFeatures:this.doNotifyStatefulSubject.next(e);break;default:this.doNotifyStatelessSubject.next(e)}}requestWithCorrelationId(...[e,t,r,o,i,a,s]){const l=this.timer.now(),u=this.responseStates[e][t];u.closeFrame(s,C.ExecutionStopReason.Frame.Superseded,l);const c=this.createPrefetchingCache(this.syncDataModel,`FrameWithCorrelationId=${i}`),d=this.computationResultWindows[e][t],p=u.createFrame(i,s,h.ExecutionType.Async,o,c,this.syncDataModel.config,l,d);0===this.responseStates[e][t].numComputations?(P.x10Logger.log({kind:"requestSkipped",payload:{computationKind:t,computationGroup:s}}),p.resolve({kind:"Done",payload:{kind:t,results:[]}})):P.x10Logger.log({kind:"beginRequest",payload:{correlationId:i,computationKind:t,computationGroup:s}});const g=u.computationFrame(s);return(0,n.assertTrue)("`frame` should be always defined at this point",void 0!==g),this.computationSubjects[e][r][t].next([g,a]),d.stopDelta<1/0&&this.enqueueMessage({kind:C.SchedulerTimelineQueueMessageKind.StopComputationFrame,correlationId:i,computationGroup:s,type:e,computationKind:t},l+d.stopDelta+L),this.requestWithCorrelationIdSubject.next([e,t,r,o,i,a,s]),p}syncRequestWithCorrelationId(e,t,r,o,i,a,s){const l=this.timer.now(),u=this.responseStates[e][t];u.closeFrame(s,C.ExecutionStopReason.Frame.Superseded,l);const c=this.createPrefetchingCache(this.syncDataModel,`FrameWithCorrelationId=${i}`),d=this.computationResultWindows[e][t],p=u.createFrame(i,s,h.ExecutionType.Sync,o,c,this.syncDataModel.config,l,d);P.x10Logger.log({kind:"beginRequest",payload:{correlationId:i,computationKind:t,computationGroup:s}});const g=u.computationFrame(s);(0,n.assertTrue)("`frame` should be always defined at this point",void 0!==g),this.computationSubjects[e][r][t].next([g,a]);const m=l+d.stopDelta+L,[f,v]=this.runToCompletion(c,this.syncDataModel.config,m);return u.closeFrame(s,f,this.timer.now()),p.resolve({kind:"Done",payload:{kind:t,results:[]}}),{kind:t,results:v}}runToCompletion(e,t,r){const i=[];let a=this.timer.now();for(let s=this.syncMessageQueue.pop();void 0!==s;s=this.syncMessageQueue.pop(),a=this.timer.now()){if(a>=r){s.computation.finalizer.finalize(s.computation,C.ExecutionStopReason.Frame.Timeout);break}let l;switch(s.kind){case C.SchedulerTimelineQueueMessageKind.StepComputation:{const{computation:e,payload:t}=s;try{const r=W(e.generator,t);if(e.info.computationTime+=this.timer.now()-a,!0!==r.done){const t=r.value,n=(0,F.createSyncTimelineQueueMessage)(t,e);this.syncMessageQueue.enqueue(n)}else this.addResult(e.info,{kind:"Successful",message:r.value}),e.finalizer.finalize(e,C.ExecutionStopReason.Computation.Done),i.push([e.info.computationIdentifier,r.value])}catch{n.ulsLogger.ULS.traceTag(538581056,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,P.x10Logger.formatLogMessage("FormulaBarScheduler.runToCompletion",{description:"plugin threw exception during computation",data:e.info})),e.finalizer.finalize(e,C.ExecutionStopReason.Computation.Exception)}}break;case C.SchedulerTimelineQueueMessageKind.NoOpRequest:case C.SchedulerTimelineQueueMessageKind.SyncRequest:const r=(0,R.processSyncYieldRequest)(R.syncYieldRequestProcessorMap,s.request,s.computation,e,t);l=this.addProcessingTime(s.computation,s.request.kind,a),s.computation.info.schedulerTime+=l-a,r.kind===n.ResultKind.Success?this.syncMessageQueue.enqueue({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:s.computation,payload:{kind:F.InternalSchedulerResponseKind.NormalResponse,response:r.value}}):(P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.RequestProcessorFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.runToCompletion",description:"request returned a scheduler-side failure",data:{...s.computation.info,failedRequest:s.request.kind}}}),this.syncMessageQueue.enqueue({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:s.computation,payload:{kind:F.InternalSchedulerResponseKind.RequestFailure,request:s.request.kind,failure:w.logSafeFailure.censored(r)}}));break;default:(0,n.assertNever)(`unknown message: ${s}`,s)}}return this.syncMessageQueue.clear(),[!(0,n.isDefined)(r)||a<r?C.ExecutionStopReason.Computation.Done:C.ExecutionStopReason.Frame.Timeout,i]}triggerEventImmediate(e,t){if(this.parent)return this.parent.triggerEventImmediate(e,t);this.triggerEvent(e,t)}triggerEvent(e,t){return this.processNotifications(),this.doRequestUntyped(c.ComputationType.Event,e,t,void 0,this.eventComputationGroupFactory.create().toString()).then((()=>{}))}doRequest(e,t,r,n){return this.shouldRunRequest(c.ComputationType.UIMessage,e,t,r,h.ExecutionType.Async)?(this.processNotifications(),this.doRequestUntyped(c.ComputationType.UIMessage,e,t,r,n)):this.wrapResults(c.ComputationType.UIMessage,this.skippedRequest(e,n),r)}skippedRequest(e,t){P.x10Logger.log({kind:"requestSkipped",payload:{computationKind:e,computationGroup:t}});const r=new n.ResolvablePromise;return r.resolve({kind:"Done",payload:{kind:e,results:[]}}),r}async wrapResults(e,t,r){const n=await this.resolveConflicts(e,t,r);return"Superseded"===n.kind?n:{...n,payload:n.payload.result}}async doRequestUntyped(e,t,r,n,o){const a=this.requestWithCorrelationId(e,t,h.ExecutionType.Async,r,this.idFactory.create(),n,o);return this.wrapResults(e,a,n??i.PluginGroup.Excel)}doSyncRequest(e,t,r,n){return this.shouldRunRequest(c.ComputationType.UIMessage,e,t,r,h.ExecutionType.Sync)?(this.processNotifications(),this.doSyncRequestUntyped(c.ComputationType.UIMessage,e,t,r,n)):this.wrapSyncResponse(c.ComputationType.UIMessage,this.skippedSyncRequest(e,n),r)}skippedSyncRequest(e,t){return P.x10Logger.log({kind:"requestSkipped",payload:{computationKind:e,computationGroup:t}}),{kind:e,results:[]}}wrapSyncResponse(e,t,r){return this.syncResolveConflicts(e,t,r).result}doSyncRequestUntyped(e,t,r,n,o){let i;if(0===this.responseStates[e][t].numSyncComputations)i=this.skippedSyncRequest(t,o);else{const a=this.idFactory.create();i=this.syncRequestWithCorrelationId(e,t,h.ExecutionType.Sync,r,a,n,o)}return this.wrapSyncResponse(e,i,n)}async resolveConflicts(e,t,r){const n=await t;return"Superseded"===n.kind?n:{kind:"Done",payload:this.syncResolveConflicts(e,n.payload,r)}}syncResolveConflicts(e,t,r){const o=t.results.filter((([,e])=>(0,n.isDefined)(e)));return{kind:t.kind,result:this.conflictResolvers[e][t.kind](o,r)}}async doBatchRequest(e,t,r){const i=this.idFactory.create(),a=b.customConflictResolverPluginKinds[e.strategy],s=v.customConflictResolverFactories[e.strategy].create(),l=a.map((()=>!0)),u=new n.ResolvablePromise;for(let n=0;n<a.length;n+=1){const d=a[n],p=e[d];let g;this.shouldRunRequest(c.ComputationType.UIMessage,d,p,t,h.ExecutionType.Async)?(this.processNotifications(),g=this.requestWithCorrelationId(c.ComputationType.UIMessage,d,h.ExecutionType.Async,p,i,t,r??C.DefaultComputationGroup)):g=this.skippedRequest(d,r??C.DefaultComputationGroup),this.resolveConflicts(c.ComputationType.UIMessage,g,t).then((e=>{if(l[n]=!1,"Superseded"===e.kind)u.resolve({kind:"Superseded"});else{const t=e.payload;s.consumeResult(t)}}),(()=>{P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.CustomConflictResolverFailure,failureLevel:o.TraceLevel.Error,path:"FormulaBarScheduler.doBatchRequest",description:`Custom conflict resolver "${e.strategy}" got an exception for plugin kind "${d}". Skipping kind`}}),l[n]=!1,s.consumeResult({kind:d,result:null})}))}const d=(0,n.bindMaybeThenable)(s.promise,(e=>({kind:"Done",payload:e}))),p=await Promise.race([u,d]);for(let e=0;e<a.length;e+=1){const t=a[e];l[e]&&(this.doNotify(x.NotificationKind.conflictResolverEarlyTermination,[i,r??C.DefaultComputationGroup,t]),this.processNotifications())}return p}async updatePrefetchingCache(e){const t=this.createPrefetchingCache(this.syncDataModel,`ComputationHandleSnapshotId=${this.handleIdFactory.create()}`);(0,n.isTypedChangeGateEnabled)("OfficeVSO:10105681_MitigateUpdateSnapshotLeak")&&e.finalizer.subscribe((()=>{t?.close()}));const r=await(e.cache?.getCorrespondingSnapshotID()),o=await(t?.getCorrespondingSnapshotID());return o!==r?(e.cache=t,o):r}notifier(){return this.notifierObject}eventEmitter(){return this.eventEmitterObject}alAnnotationNotifier(){return this.alAnnotationNotifierObject}requester(){return this.requesterObject}syncRequester(){return this.syncRequesterObject}batchRequester(){return this.batchRequesterObject}setServerDataProvider(e){(0,n.isNone)(e)||this.registerProvider("ServerDataProvider",e)}setActiveCellImpl(e){if((0,n.isNone)(e.docName)||(0,n.isNone)(e.sheetIndex))return void P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.NotificationProcessorFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.setActiveCellImpl",description:"early exit, some of the arguments is None"}});const t=(0,o.documentLoc)(void 0,""),r=(0,o.unsafeGridRange)(e.rowIndex,e.colIndex,1,1),i=(0,o.sheetGridCell)((0,o.sheetIndex)(t,e.sheetIndex),r),a=z(e);this.state={...this.state,activeCell:i,activeCellFormat:a},n.ulsLogger.ULS.traceTag(512274752,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("setActiveCellImpl",{description:`updated activeCell to col: ${i.range.col}, row: ${i.range.row}`}))}setActiveCellFormatImpl(e){const t=z(e);this.state={...this.state,activeCellFormat:t}}getConfig(){return this.syncDataModel.config}startComputation(e,t,r,o,i,a){switch(r){case h.ExecutionType.Internal:case h.ExecutionType.Async:this.enqueueMessage({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:{...this.generateNewComputationInfo(e,t,o,a),generator:i},payload:M},a.startTime+a.timeWindow.startDelta);break;case h.ExecutionType.Sync:this.syncMessageQueue.enqueue({kind:C.SchedulerTimelineQueueMessageKind.StepComputation,computation:{...this.generateNewComputationInfo(e,t,o,a),generator:i},payload:M});break;default:(0,n.assertNever)(`${r}`,r)}}generateNewComputationInfo(e,t,r,n){return{info:{correlationId:n.correlationId,computationGroup:n.computationGroup,type:e,computationKind:t,computationIdentifier:r,pluginFactoryNameString:O[r.factoryName],computationTime:0,schedulerTime:0,requestTimes:{}},cache:n.cache,finalizer:new T.ComputationFinalizer(...this.computationFinalizerHandlers),stopReasonRef:n.stopReasonRef,schedulerState:this.state,lastTimestamp:this.timer.now()}}getPluginComputations(e){return[...d.computationRegistry.UIMessage.getRegistrationsByPluginIdentifier(e),...d.computationRegistry.Event.getRegistrationsByPluginIdentifier(e)]}async createAndAttachPlugin({factory:e},t){this.parent&&this.warmupParse.force();const r=e.create(t);for(const t of this.getPluginComputations(e))switch(t.type){case c.ComputationType.UIMessage:this.computationSubjects[t.type][t.execution][t.kind].subscribe(t.registrationMethod(this,r)),this.addToComputationCount(t);break;case c.ComputationType.Event:(0,p.isALAnnotationEventKind)(t.kind)&&this.registerALAnnotation(t.kind).catch((e=>{P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.ALFailure,failureLevel:o.TraceLevel.Error,path:"FormulaBarScheduler.createAndAttachPlugin",description:`Failed to register on ${t.kind} AL annotation: ${e}`}})})),this.computationSubjects[t.type][t.execution][t.kind].subscribe(t.registrationMethod(this,r)),this.addToComputationCount(t);break;default:(0,n.assertNever)(`${t}`,t)}return n.ulsLogger.ULS.traceTag(545378970,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,`x10arch.FormulaBarScheduler.createAndAttachPlugin: ${i.PluginFactoryName[e.factoryName]} was attached.`),{plugin:r}}addToComputationCount(e){switch(this.parent&&this.parent.addToComputationCount({type:e.type,kind:e.kind,execution:e.execution,computationIdentifier:e.computationIdentifier}),e.execution){case h.ExecutionType.Async:this.responseStates[e.type][e.kind].attachComputation(e.computationIdentifier);break;case h.ExecutionType.Sync:this.responseStates[e.type][e.kind].attachSyncComputation(e.computationIdentifier)}}attachEventCallbacksManager(e){for(const t of p.ExternallyHandledEventKinds)(0,n.isDefined)(e[t])&&this.computationSubjects[c.ComputationType.Event][h.ExecutionType.Async][t].subscribe((([r,n])=>{try{e[t](r.computationInput)}catch(e){P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.EventCallbacksManagerFailure,failureLevel:o.TraceLevel.Error,path:"FormulaBarScheduler.attachEventCallbacksManager",description:`Failed to call eventCallbacksManager.${t}: ${e}`}})}}))}async registerEventCallback(e,t){this.registerProvider("EventCallbackManager",this.attachEventCallbacksManager.bind(this)).registerEventCallback(e,t)}catchEvent(e){return new Promise(((t,r)=>{const o=this.computationSubjects[c.ComputationType.Event][h.ExecutionType.Async][e.eventKind].subscribe((([r,i])=>{(0,n.isDefined)(e.predicate)&&!e.predicate(r.computationInput)||(this.computationSubjects[c.ComputationType.Event][h.ExecutionType.Async][e.eventKind].unsubscribe(o),t((0,n.success)(r.computationInput)))}));this.enqueueMessage({kind:C.SchedulerTimelineQueueMessageKind.Timeout,type:c.ComputationType.Event,callback:()=>{this.computationSubjects[c.ComputationType.Event][h.ExecutionType.Async][e.eventKind].unsubscribe(o),t((0,n.failure)("Timeout"))}},this.timer.now()+e.timeout)}))}async registerALAnnotation(e){if(void 0!==this.parent)return this.parent.registerALAnnotation(e);let t;try{t=await this.services.AugmentationLoop.toPromise()}catch(e){return P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.ALFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.registerALAnnotation",description:`Error getting AugLoopService: ${e}`}}),(0,n.failure)(e)}return t.registerALAnnotation(e)}async getRecognizedTablesInfo(...e){if((0,n.isDefined)(this.parent))return this.parent.getRecognizedTablesInfo(...e);const t=this.services.TableIntelligence.getCurrentValue();return(0,n.isDefined)(t)?t.getRecognizedRangeTablesInfo(...e):(P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.TableIntelligenceFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.getRecognizedTablesInfo",description:"tableIntelligenceService is not attached yet"}}),(0,n.failure)(void 0))}async sendAugLoopSignal(e,t){if(void 0===this.parent){let r;try{r=await this.services.AugmentationLoop.toPromise()}catch(e){return P.x10Logger.log({kind:"failure",payload:{failureKind:P.X10FailureKind.ALFailure,failureLevel:o.TraceLevel.Warning,path:"FormulaBarScheduler.sendAugLoopSignal",description:`Error getting AugLoopService: ${e}`}}),(0,n.failure)(e)}return r.sendSignal(e,t)}return this.parent.sendAugLoopSignal(e,t)}augloopCloseCallback(){n.ulsLogger.ULS.traceTag(508629987,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,"x10arch.FormulaBarScheduler.augloopCloseCallback: Got close callback from AugLoop Manager")}async createChatGPTSession(e){return void 0===this.parent?(await this.services.ChatGPT.toPromise()).createSession(e):this.parent.createChatGPTSession(e)}async closeChatGPTSession(e){return void 0===this.parent?(await this.services.ChatGPT.toPromise()).closeSession(e):this.parent.closeChatGPTSession(e)}async sendChatGPTQuery(e,t){if(void 0===this.parent){const r=await this.services.ChatGPT.toPromise(),o=await r.request(e,t);return o.kind!==n.ResultKind.Success||(0,n.isDefined)(o.value)?((0,y.staticTypeHint)(o),o):(0,n.failure)(void 0)}return this.parent.sendChatGPTQuery(e,t)}async logAshaErrorEvent(...e){return void 0===this.parent?((0,a.logStandardizedAshaErrorEvent)(...e),(0,n.success)(void 0)):this.parent.logAshaErrorEvent(...e)}shouldRunRequest(e,t,r,n,o){const i=this.responseStates[e][t],a=o===h.ExecutionType.Async?i.attachedComputations:i.attachedSyncComputations;for(const o of a)if(e!==c.ComputationType.UIMessage||H(e,t,o,n,r))return!0;return!1}constructor(e,t,r={...g.defaultPluginResponseWindows},i,a,l=I.defaultTimerInterface,d){this.createPrefetchingCache=t,this.pluginResultWindows=r,this.gridDataSink=i,this.syncDataModel=a,this.timer=l,this.parent=d,this.uiMessages=(0,y.mapFromArrayOfDependantPairs)((0,n.strEnumArray)(c.ComputationKinds[c.ComputationType.UIMessage]).map((e=>[e,new k.Subject]))),this.syncUIMessages=(0,y.mapFromArrayOfDependantPairs)((0,n.strEnumArray)(c.ComputationKinds[c.ComputationType.UIMessage]).map((e=>[e,new k.Subject]))),this.eventHandlers=(0,y.mapFromArrayOfDependantPairs)((0,n.strEnumArray)(c.ComputationKinds[c.ComputationType.Event]).map((e=>[e,new k.Subject]))),this.conflictResolvers={[c.ComputationType.UIMessage]:m.conflictResolver,[c.ComputationType.Event]:(0,n.mapFromArrayOfPairs)((0,n.strEnumArray)(c.ComputationKinds[c.ComputationType.Event]).map((e=>[e,()=>{}])))},this.computationSubjects={[c.ComputationType.UIMessage]:{[h.ExecutionType.Internal]:this.uiMessages,[h.ExecutionType.Async]:this.uiMessages,[h.ExecutionType.Sync]:this.syncUIMessages},[c.ComputationType.Event]:{[h.ExecutionType.Internal]:this.eventHandlers,[h.ExecutionType.Async]:this.eventHandlers}},this.syncMessageQueue=new n.PriorityQueue((()=>0)),this.doNotifyStatelessSubject=new k.Subject,this.doNotifyStatefulSubject=new k.InitializingSubject((()=>this.syncDataModel.getStateAsNotifications())),this.requestWithCorrelationIdSubject=new k.Subject,this.idFactory=new N,this.handleIdFactory=new f.CrossThreadUniqueIdFactory,this.eventComputationGroupFactory=new N,this.state={scheduler:this},this.notificationProcessorMap={[x.NotificationKind.setActiveCell]:this.setActiveCellImpl.bind(this),[x.NotificationKind.setActiveCellFormat]:this.setActiveCellFormatImpl.bind(this),[x.NotificationKind.setA1ReferenceStyle]:this.syncDataModel.setA1ReferenceStyle.bind(this.syncDataModel),[x.NotificationKind.setLocale]:this.syncDataModel.setLocale.bind(this.syncDataModel),[x.NotificationKind.setWorkbookProps]:this.syncDataModel.setWorkbookProps.bind(this.syncDataModel),[x.NotificationKind.updateSheetNames]:this.syncDataModel.updateSheetNames.bind(this.syncDataModel),[x.NotificationKind.updateNamedObjects]:this.syncDataModel.updateNamedObjects.bind(this.syncDataModel),[x.NotificationKind.doNothing]:()=>{},[x.NotificationKind.writeRange]:(...e)=>this.gridDataSink?.writeRange(...e),[x.NotificationKind.writeRanges]:(e,t)=>t.map((t=>this.gridDataSink?.writeRange(e,t))),[x.NotificationKind.setNumberFormats]:(...e)=>this.gridDataSink?.setNumberFormats(...e),[x.NotificationKind.setFunctionsInfo]:this.setFunctionInfo.bind(this),[x.NotificationKind.conflictResolverEarlyTermination]:(e,t,r)=>this.stopComputationFrame(e,t,c.ComputationType.UIMessage,r,C.ExecutionStopReason.Frame.ConflictResolverEarlyTermination),[x.NotificationKind.setDefinedNamesInfo]:this.setDefinedNamesInfo.bind(this),[x.NotificationKind.notifyWorkbookClosing]:this.onWorkbookClosing.bind(this),[x.NotificationKind.setSchedulerFeatures]:this.syncDataModel.setSchedulerFeatures.bind(this.syncDataModel)},this.notifierObject=(0,S.makeNotifier)(this),this.eventEmitterObject=(0,p.makeEventEmitter)(this),this.alAnnotationNotifierObject=(0,p.makeALAnnotationNotifier)(this),this.requesterObject=(0,g.makeRequester)(this),this.syncRequesterObject=(0,g.makeSyncRequester)(this),this.batchRequesterObject=(0,b.makeBatchRequester)(this),this.notificationQueue=[],this.eventResultWindows=(0,n.mapFromArrayOfPairs)((0,n.strEnumArray)(c.ComputationKinds[c.ComputationType.Event]).map((e=>[e,{startDelta:0,stopDelta:1/0}]))),this.computationResultWindows={[c.ComputationType.UIMessage]:this.pluginResultWindows,[c.ComputationType.Event]:this.eventResultWindows},this.services={Recalc:E.SchedulerService.fromFunction({providerId:"Recalc",subscriberLimit:1e3},E.providerProxy),EventCallbackManager:E.SchedulerService.fromClass({providerId:"EventCallbackManager",subscriberLimit:1e3},p.EventCallbacksManagerService),AugmentationLoop:E.SchedulerService.fromClass({providerId:"AugmentationLoop",subscriberLimit:1e3},s.AugLoopService),ChatGPT:E.SchedulerService.fromClass({providerId:"ChatGPT",subscriberLimit:1e3},u.ChatGPTService),TableIntelligence:E.SchedulerService.fromClass({providerId:"TableIntelligence",subscriberLimit:1e3},A.X10TableIntelligenceService),CopilotLicense:E.SchedulerService.fromFunction({providerId:"CopilotLicense",subscriberLimit:1e3},E.providerProxy),PythonLicense:E.SchedulerService.fromFunction({providerId:"PythonLicense",subscriberLimit:1e3},E.providerProxy),PowerQueryDataProvider:E.SchedulerService.fromFunction({providerId:"PowerQueryDataProvider",subscriberLimit:1e3},E.providerProxy),ServerDataProvider:E.SchedulerService.fromFunction({providerId:"ServerDataProvider",subscriberLimit:1e3},E.providerProxy)},this.recalcServiceAttached=async()=>this.services.Recalc.toPromise(),this.registerAsyncGrid=()=>this.registerProvider("Recalc",void 0),this.computationFinalizerHandlers=[G],this.warmupParse=(0,D.asyncLazy)((async()=>{const e=this.createPrefetchingCache(this.syncDataModel,"WarmupParse");if(e){const t=(0,o.documentLoc)(void 0,""),r=(0,o.sheetGridCell)((0,o.sheetIndex)(t,0),(0,o.gridCell)(1,1));e.parseEditSync(r,"=sum(5,7)",{formatString:"'GENERAL",builtIn:!0}),(0,n.isTypedChangeGateEnabled)("OfficeVSO:10193618_FixX10SnapshotLeak")&&e.close()}})),n.ulsLogger.ULS.traceTag(537796811,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,P.x10Logger.formatLogMessage("excelOnlineCalcPackages",{description:`${(0,_.getExcelOnlineCalcNewPackagesNames)()}`})),this.responseStates=(0,y.mapFromArrayOfDependantPairs)((0,n.strEnumArray)(c.ComputationType).map((e=>[e,(0,y.mapFromArrayOfDependantPairs)((0,n.strEnumArray)(c.ComputationKinds[e]).map((t=>[t,new C.ResponseState(e,t,void 0===this.parent)])))]))),this.processor=e(this.consumeMessage.bind(this))}}function W(e,t){switch(t.kind){case F.InternalSchedulerResponseKind.FirstStep:return e.next();case F.InternalSchedulerResponseKind.NormalResponse:return e.next(t.response);case F.InternalSchedulerResponseKind.RequestFailure:return e.throw({kind:t.failure.kind,request:t.request,reason:t.failure.reason});default:(0,n.assertNever)("x10arch: FormulaBarScheduler.stepPlugin: unknown payload",t)}}function H(e,t,r,n,o){const i=d.computationRegistry[e].getRegistrationByComputationIdentifier(r)??{type:e,kind:t,modifiers:{},pluginGroup:n};return(0,d.getShouldRunComputationPredicate)(i)(o,n)}function G(e){P.x10Logger.log({kind:"computationStoppedExecution",payload:{computationName:`${e.computationInfo.pluginFactoryNameString}.${e.computationInfo.computationIdentifier.computationName}`,stopReason:e.stopReason,logInfo:e.computationInfo}}),e.stopReason===C.ExecutionStopReason.Computation.Done&&P.x10Logger.log({kind:"pluginCompletedInTime",payload:{pluginName:e.computationInfo.pluginFactoryNameString,logInfo:e.computationInfo}})}function z(e){let t=null;return(0,n.isNone)(e.formatString)||(0,n.isNone)(e.builtIn)||(t={formatString:e.formatString,builtIn:e.builtIn}),t}t.FormulaBarScheduler=K,K.abstractStepCosts={[C.SchedulerTimelineQueueMessageKind.NoOpRequest]:.01,[C.SchedulerTimelineQueueMessageKind.AsyncRequest]:.1,[C.SchedulerTimelineQueueMessageKind.InternalRequest]:.1,[C.SchedulerTimelineQueueMessageKind.SyncRequest]:.5,[C.SchedulerTimelineQueueMessageKind.StepComputation]:1,[C.SchedulerTimelineQueueMessageKind.StopComputationFrame]:.01,[C.SchedulerTimelineQueueMessageKind.Timeout]:.01}},30484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCalcGrid=function(e){return new o.RecalcServiceImpl(i,i,i,i,(0,n.asyncLoopFactory)(e))};const n=r(52123),o=r(42630),i=()=>{}},31409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridImportManager=t.GridProvider=void 0;const n=r(16533),o=r(52123),i=r(68247),a=n.__importStar(r(18832)),s=r(24218),l=r(99355);function u(e,t,r){const{port1:n,port2:a}=new MessageChannel;Promise.all([e.createIGridImportEndpoint({port:a,options:r}),t.createIGridExportEndpoint({port:n,options:r},(()=>e.onGridExporterClosed()))]).catch((t=>{l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.GridFailure,failureLevel:i.TraceLevel.Warning,path:"gridProvider.connectGridImporterExporter",description:(0,o.messageFromError)(t)}});try{e.onGridExporterClosed()}catch(t){l.x10Logger.log({kind:"failure",payload:{failureKind:l.X10FailureKind.GridFailure,failureLevel:i.TraceLevel.Warning,path:"gridProvider.connectGridImporterExporter",description:`${l.X10FailureKind.GridFailure}: importer threw ${(0,o.messageFromError)(t)}`}})}}))}t.GridProvider=class{getGrid(){return this.gridService?.call}async createIGridImportEndpoint(e){this.onGridExporterClosed();const t=await a.Endpoint.createOutside(e,(e=>{this.gridService={call:void 0,close:()=>e.close("Force")}}));t.hasBeenClosed()||(this.gridService=t,this.onGridReady(this.gridService.call))}onGridExporterClosed(){if(!this.gridService)return;const e=this.gridService;this.gridService=void 0,e.close()}constructor(e){this.onGridReady=e,this.gridService=void 0,this.syncDataModel=new s.SyncDataModel,this.getGridDataSink=()=>{},this.getSyncDataModel=()=>this.syncDataModel}},t.GridImportManager=class{onGridExporterCreated(e){this.exporter=e;for(const{importer:t,id:r}of this.importers)u(t,e,{id:r,createTimeout:this.timeout})}onGridImporterCreated(e,t){this.importers.push({importer:e,id:t}),this.exporter&&u(e,this.exporter,{id:t,createTimeout:this.timeout})}constructor(e){this.timeout=e,this.exporter=void 0,this.importers=[]}}},68709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIEEE754Double=function({lowDword:e,highDword:t}){return n[a]=e,n[s]=t,o[0]};const r=new ArrayBuffer(8),n=new Uint32Array(r),o=new Float64Array(r),i=1===new Uint8Array(new Uint16Array([1]).buffer)[0],[a,s]=i?[0,1]:[1,0]},41217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NaiveLocalSheetGrid=void 0;const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(93019),l=r(99805);class u{static buildSparseMatrix(e,t){const r=[];for(const[[n,o,i=1,a=1],...s]of e){const e=s.length;for(let l=o,u=0;l<o+a;l+=1)for(let o=n;o<n+i;o+=1,u=(u+1)%e)void 0===r[o]&&(r[o]=[]),r[o][l]=t(s[u],o,l)}return r}static forEachInSparseMatrix(e,t,r=(()=>!1)){let n=!0;return e.forEach(((e,o)=>{n&&e.forEach(((e,i)=>{n&&!r(e)&&(t((0,a.gridCell)(o,i),e)||(n=!1))}))})),n}static unionRanges(e){return e.map(l.createCellSetFromRange).reduce(i.unionProduct,o.empty)}getCellValue(e,t){return this.isAvailable(e,t,"value")?void 0!==this.values&&void 0!==this.values[e]&&void 0!==this.values[e][t]?(0,n.success)(this.values[e][t]):(0,n.success)(s.emptyRangeValue):(0,n.failure)((0,a.unavailable)(["getCellValue"]))}getCellFormat(e,t){return this.isAvailable(e,t,"format")?void 0!==this.formats&&void 0!==this.formats[e]&&void 0!==this.formats[e][t]?(0,n.success)(this.formats[e][t]):(0,n.success)(s.emptyRangeFormat):(0,n.failure)((0,a.unavailable)(["getCellFormat"]))}getCellFormula(e,t){return this.isAvailable(e,t,"formula")?void 0!==this.formulae&&void 0!==this.formulae[e]&&void 0!==this.formulae[e][t]?(0,n.success)(this.formulae[e][t]):(0,n.success)(s.emptyRangeFormula):(0,n.failure)((0,a.unavailable)(["getCellFormula"]))}foreachNonBlankCellValue(e){return void 0===this.values||u.forEachInSparseMatrix(this.values,e,(e=>e.kind===a.OperKind.Blank))}foreachNonBlankCellFormula(e){return void 0===this.formulae||u.forEachInSparseMatrix(this.formulae,e,(e=>e.kind===s.emptyRangeFormula.kind&&e.formulaBarText===s.emptyRangeFormula.formulaBarText))}isAvailable(e,t,r){let o;switch(r){case"value":o=this.valueAvailabilitySet;break;case"formula":o=this.formulaAvailabilitySet;break;case"format":o=this.formatAvailabilitySet;break;default:(0,n.assertNever)("isAvailable",r)}return void 0!==o&&((0,i.compareProduct)((0,l.createCellSetFromRange)((0,a.gridCell)(e,t)),o)??1)<=0}constructor(e,t,r,o){this.formats=void 0,this.values=void 0,this.formulae=void 0,this.valueAvailabilitySet=void 0,this.formatAvailabilitySet=void 0,this.formulaAvailabilitySet=void 0,(0,n.isSuccess)(t)&&(this.values=u.buildSparseMatrix(t.value.nonEmptyCells,(e=>e)),this.valueAvailabilitySet=u.unionRanges(t.value.availableRanges)),(0,n.isSuccess)(o)&&(this.formats=u.buildSparseMatrix(o.value.nonEmptyCells,(e=>e)),this.formatAvailabilitySet=u.unionRanges(o.value.availableRanges)),(0,n.isSuccess)(r)&&(this.formulae=u.buildSparseMatrix(r.value.nonEmptyCells,(e=>e)),this.formulaAvailabilitySet=u.unionRanges(r.value.availableRanges))}}t.NaiveLocalSheetGrid=u,(0,n.staticAssertExtends)()},6710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeNotifier=function(e){const t=e.doNotify.bind(e),r=(0,o.functionMapFromDUFunction)(t,l),n=(0,o.bindMethodsUnbox)(r,l),s=(0,o.bindMethodsNullCheck)(n,l);return u={...s,[a.NotificationKind.notifyWorkbookClosing]:()=>n.notifyWorkbookClosing()},c=i.notificationMethodArgumentsConvertorsMap,(0,o.mapFromArrayOfDependantPairs)(l.map((e=>[e,(...t)=>u[e](...c[e](...t))])));var u,c};const n=r(52123),o=r(8585),i=r(24865),a=r(75442);(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)();const s=[a.NotificationKind.conflictResolverEarlyTermination],l=(0,n.strEnumArray)(a.NotificationKind).filter((function(e){return s.findIndex((t=>t===e))<0}))},24865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notificationMethodArgumentsConvertorsMap=void 0;const n=r(52123),o=r(85882),i=r(68709),a=r(75442),s=(...e)=>e,l=e=>{if("NamedValue"===e?.kind)switch(e.value.kind){case"Number":return{...e,value:e.value.numberValue};case"String":return{...e,value:e.value.stringValue};case"Boolean":return{...e,value:e.value.booleanValue};case"Error":return{...e,value:e.value}}return e},u=[[o.ErrorType.NULL,e=>0===e],[o.ErrorType.DIV0,e=>7===e],[o.ErrorType.VALUE,e=>15===e||53===e],[o.ErrorType.REF,e=>23===e],[o.ErrorType.NAME,e=>29===e],[o.ErrorType.NUM,e=>36===e],[o.ErrorType.NA,e=>42===e],[o.ErrorType.GETTING_DATA,e=>43===e],[o.ErrorType.SPILL,e=>45===e],[o.ErrorType.CONNECT,e=>46===e],[o.ErrorType.BLOCKED,e=>47===e],[o.ErrorType.UNKNOWN,e=>48===e],[o.ErrorType.FIELD,e=>49===e],[o.ErrorType.CALC,e=>50===e],[o.ErrorType.BUSY,e=>51===e||52===e||54===e],[o.ErrorType.EXTERNAL,()=>!1]];function c(e){switch(e.kind){case"error":for(const[t,r]of u)if(r(e.errorValue))return{kind:"error",errorKind:t};return{kind:"error",errorKind:void 0};case"number":return{kind:"number",value:(0,i.createIEEE754Double)(e)};default:return e}}(0,n.staticAssertSame)(),t.notificationMethodArgumentsConvertorsMap={[a.NotificationKind.doNothing]:s,[a.NotificationKind.setActiveCell]:s,[a.NotificationKind.setActiveCellFormat]:s,[a.NotificationKind.setFunctionsInfo]:s,[a.NotificationKind.setDefinedNamesInfo]:s,[a.NotificationKind.notifyWorkbookClosing]:s,[a.NotificationKind.setSchedulerFeatures]:s,[a.NotificationKind.setA1ReferenceStyle]:s,[a.NotificationKind.setWorkbookProps]:s,[a.NotificationKind.updateSheetNames]:s,[a.NotificationKind.writeRange]:(e,t)=>[e,{...t,values:t.values.map((e=>e.map(c)))}],[a.NotificationKind.writeRanges]:(e,t)=>[e,t.map((e=>({...e,values:e.values.map((e=>e.map(c)))})))],[a.NotificationKind.setLocale]:(...e)=>{const[t]=e;return[{...t,specialRefNames:(0,n.partialArray)({[o.SpecialRefId.All]:t.specialRefNames.All,[o.SpecialRefId.Data]:t.specialRefNames.Data,[o.SpecialRefId.Headers]:t.specialRefNames.Headers,[o.SpecialRefId.ThisRow]:t.specialRefNames.ThisRow,[o.SpecialRefId.Totals]:t.specialRefNames.Totals}),currencyFormat:o.CurrencyFormat[t.currencyFormat],dateOrder:o.DateOrder[t.dateOrder],timeAltSeparator:t.timeAltSeparator,ampmSymbols:[t.ampmSymbols.first,t.ampmSymbols.second]}]},[a.NotificationKind.updateNamedObjects]:(...e)=>{const[t,r]=e;return[t,r.map((e=>({...e,scope:e.scope,objects:e.objects?.map((e=>({...e,data:l(e.data??void 0)}))),fromStateId:e.fromStateId})))]},[a.NotificationKind.setNumberFormats]:s}},80795:(e,t)=>{"use strict";if(Object.defineProperty(t,"__esModule",{value:!0}),t.platform=void 0,t.platform=globalThis.__x10_target_platform??"web",["web","win32"].indexOf(t.platform)<0)throw new Error(`Wrong platform id ${t.platform}`);globalThis.__x10_target_platform=t.platform},58737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPluginClass=function(e){const t=s[e];if(!t){const t=a.x10Logger.formatLogMessage("getPluginClass",{description:`${i.PluginFactoryName[e]} has not been registered`});throw a.x10Logger.log({kind:"failure",payload:{failureKind:a.X10FailureKind.PluginAttachmentFailure,failureLevel:o.TraceLevel.Error,path:"pluginFactory.getPluginClass",description:`${i.PluginFactoryName[e]} has not been registered`}}),new Error(t)}return t},t.registerPlugin=function(e){const t=e.factory.factoryName,r=s[t];if(void 0!==r&&r!==e){const e=a.x10Logger.formatLogMessage("registerPluginFactory",{description:`${i.PluginFactoryName[t]} is already registered`});if(a.x10Logger.log({kind:"failure",payload:{failureKind:a.X10FailureKind.PluginAttachmentFailure,failureLevel:o.TraceLevel.Error,path:"pluginFactory.registerPlugin",description:`${i.PluginFactoryName[t]} is already registered`}}),!(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.x10DoNotThrowOnDoublePluginRegistration"))throw new Error(e)}s[t]=e,a.x10Logger.log({kind:"registerPluginFactory",payload:{factoryName:t}})};const n=r(52123),o=r(85882),i=r(44663),a=r(99355),s=(0,n.makeStringMap)()},19486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveScriptLoaderPromise=function(e){a.scriptLoaderPromise.resolve(e)},t.setX10Features=function(e){E.PluginSchedulerSingleton.instance().doNotify(A.NotificationKind.setSchedulerFeatures,[e.map((e=>i.SchedulerFeature[e]))])},t.ensurePluginAttached=D,t.ensureGroupAttached=async function(e){let t=0;const r=E.PluginSchedulerSingleton.instance();for(const o of(n=w[k.platform](r),Object.keys(n).map((e=>parseInt(e,10)))))_(o,e)&&await D(o)&&(t+=1);var n;return t};const n=r(52123),o=r(85882),i=r(44663),a=r(92787),s=r(77049),l=r(62457),u=r(42342),c=r(27156),d=r(21292),p=r(86761),h=r(51899),g=r(48335),m=r(81942),f=r(31315),v=r(90907),b=r(99163),y=r(72066),S=r(18018),C=r(24914),T=r(85810),k=r(80795),F=r(25348),E=r(4276),A=r(75442),I=r(47742),x=r(99355),w={web:()=>({[i.PluginFactoryName.ArgumentAssistancePlugin]:[u.argumentAssistancePluginDependenciesResolved,void 0,void 0,"ArgumentAssistance"],[i.PluginFactoryName.AutocompletePlugin]:[b.autocompletePluginDependenciesResolved,void 0,void 0,"SmartSuggestionsAutoComplete"],[i.PluginFactoryName.AutocompleteFunctionPlugin]:[d.autocompleteFunctionPluginDependenciesResolved,void 0,void 0,"SimpleAutoComplete"],[i.PluginFactoryName.ParenthesesCouplingPlugin]:[C.parenthesesCouplingPluginDependenciesResolved,void 0,void 0,"ParenthesisCoupling"],[i.PluginFactoryName.ColoredReferencesPlugin]:[S.coloredReferencesPluginDependenciesResolved,void 0,void 0,"ColoredReferences"],[i.PluginFactoryName.GotoCtrlClickPlugin]:[T.gotoCtrlClickPluginDependenciesResolved,void 0,void 0,"GotoCtrlClick"],[i.PluginFactoryName.AutocompleteLetPlugin]:[p.autocompleteLetPluginDependenciesResolved,void 0,void 0,"SimpleAutoComplete"],[i.PluginFactoryName.AutocompleteRichValuePlugin]:[g.autocompleteRichValuePluginDependenciesResolved,void 0,void 0,"SimpleAutoComplete"],[i.PluginFactoryName.FormulaCollectionPlugin]:[y.formulaCollectionPluginDependenciesResolved,"Microsoft.Office.Excel.FormulaCollection"],[i.PluginFactoryName.AutocompleteNamedObjectsPlugin]:[h.autocompleteNamedObjectsPluginDependenciesResolved,void 0,void 0,"SimpleAutoComplete"],[i.PluginFactoryName.ParserPerformanceMeasurements]:[b.parserPerformanceMeasurementsAttach,"Microsoft.Office.Excel.x10ParserPerformanceMeasurements"],[i.PluginFactoryName.AutocompleteTableHeadersPlugin]:[m.autocompleteTableHeadersPluginDependenciesResolved,void 0,void 0,"SimpleAutoComplete"],[i.PluginFactoryName.ValuePreviewPlugin]:[I.valuePreviewPluginDependenciesResolved,void 0,void 0,"ValuePreview"],[i.PluginFactoryName.SyntaxErrorsPlugin]:[l.syntaxErrorsPluginDependenciesResolved,void 0,void 0,"SyntaxErrors"],[i.PluginFactoryName.AutocompleteRangeSuggestionPlugin]:[b.autocompleteRangeSuggestionPluginAttach,"Microsoft.Office.Excel.AutocompleteRangeSuggestionPlugin"],[i.PluginFactoryName.AutocompleteWrapperPlugin]:[b.autocompleteWrapperPluginAttach,"Microsoft.Office.Excel.x10AutocompleteWrapperPluginIsEnabled"],[i.PluginFactoryName.AutocompleteBinaryModelExperimentPlugin]:[b.autocompleteBinaryModelExperimentPluginAttach,"Microsoft.Office.Excel.x10AutocompleteBinaryModelExperimentPlugin"],[i.PluginFactoryName.FormulaRepairShadowEvalPlugin]:[l.formulaRepairShadowEvalPluginDependenciesResolved,"Microsoft.Office.Excel.ProseFormulaRepairExperimentIsEnabled"],[i.PluginFactoryName.PythonAutocompletePlugin]:[F.pythonAutocompletePluginAttach,"Microsoft.Office.Excel.x10PythonAutocompletionEnabled"],[i.PluginFactoryName.PythonSyntaxHighlightingPlugin]:[F.pythonSyntaxHighlightingPluginAttach,"Microsoft.Office.Excel.x10PythonSyntaxHighlightingEnabled"],[i.PluginFactoryName.PythonTooltipPlugin]:[F.pythonTooltipPluginAttach,"Microsoft.Office.Excel.x10PythonTooltipEnabled"],[i.PluginFactoryName.ChatGPTPlugin]:[b.chatGPTPluginAttach,"Microsoft.Office.Excel.ChatGPTPluginEnabled"],[i.PluginFactoryName.FormulaByExamplePlugin]:[l.formulaByExamplePluginAttach,void 0,"OfficeVSO:9683390_FormulaByExamplePlugin"],[i.PluginFactoryName.FormulaCompletionPlugin]:[l.formulaCompletionPluginAttach,"Microsoft.Office.Excel.FormulaCompletionPluginEnabled"],[i.PluginFactoryName.TestPlugin]:[a.workerThreadInitialized,"Microsoft.Office.Excel.MockWorkerThreadPlugin"],[i.PluginFactoryName.AutocompleteEnumPlugin]:[f.autocompleteEnumPluginDependenciesResolved,void 0,void 0,"EnumAutoComplete"],[i.PluginFactoryName.FormulaTranspilerPlugin]:[l.formulaTranspilerPluginAttach,"Microsoft.Office.Excel.FileOptimization"],[i.PluginFactoryName.InCellControlsAutodetectionPlugin]:[l.inCellControlsAutodetectionPluginAttach,"Microsoft.Office.Excel.InCellControlsAutodetection"],[i.PluginFactoryName.ValueErrorHighlightPlugin]:[l.valueErrorHighlightPluginAttach,"Microsoft.Office.Excel.ValueErrorHighlightPlugin"],[i.PluginFactoryName.AutocompleteCopilotPlugin]:[c.autocompleteCopilotPluginDependenciesResolved,void 0,void 0,"CopilotFormulaGeneration"],[i.PluginFactoryName.FormulaAuthoringCopilotIPEPlugin]:[v.formulaAuthoringCopilotIPEPluginDependenciesResolved,void 0,"OfficeVSO:9848728_refactorFormulaCopilotIPERequest","CopilotFormulaGeneration"],[i.PluginFactoryName.AutocompletePythonPlugin]:[l.autocompletePythonPluginDependenciesResolved,void 0,"OfficeVSO:10087100_changePythonPluginFGtoCG"],[i.PluginFactoryName.PythonPowerQueryAutocompletePlugin]:[F.pythonPowerQueryAutocompletePluginAttach,void 0,"OfficeVSO:10116371_pythonpqplugin"]}),win32:e=>{const t=(0,s.perWorkbookInitializers)(e);return{[i.PluginFactoryName.FormulaByExamplePlugin]:[t.formulaByExamplePluginAttached,"Microsoft.Office.Excel.X10FBEDesktopPluginEnabled","OfficeVSO:9510546_X10FBEDesktopPluginChangeGate"],[i.PluginFactoryName.FormulaCompletionPlugin]:[t.formulaCompletionPluginAttached,"Microsoft.Office.Excel.FormulaCompletionPluginEnabled"],[i.PluginFactoryName.GetLocalePlugin]:[t.cleanDataPluginAttached,"Microsoft.Office.Excel.GetLocalePluginEnabled"],[i.PluginFactoryName.InCellControlsAutodetectionPlugin]:[t.inCellControlsAutodetectionPluginAttachWin32,"Microsoft.Office.Excel.InCellControlsAutodetectionWin32"]}}},P={[i.PluginAttachGroup.Core]:!0,[i.PluginAttachGroup.Python]:!1,[i.PluginAttachGroup.SmartSuggestionsAutoComplete]:!1};(0,n.staticAssertExtends)();const R={[i.PluginAttachGroup.Core]:{[i.PluginFactoryName.AutocompletePlugin]:!1},[i.PluginAttachGroup.Python]:{},[i.PluginAttachGroup.SmartSuggestionsAutoComplete]:{[i.PluginFactoryName.AutocompletePlugin]:!0}};async function D(e){const t=E.PluginSchedulerSingleton.instance(),r=w[k.platform](t)[e];if(void 0===r)return!1;const a=t.getSchedulerFeatures(),[s,l,u,c]=r;if((void 0===l||(0,n.getTypedFeatureGate)(l))&&(void 0===u||(0,n.isTypedChangeGateEnabled)(u))&&(void 0===c||-1!==a.indexOf(i.SchedulerFeature[c])))try{return await s.getValue(),!0}catch(t){x.x10Logger.log({kind:"failure",payload:{failureKind:x.X10FailureKind.PluginAttachmentFailure,failureLevel:o.TraceLevel.Error,path:"ensurePluginAttached",description:`Failed to ensure plugin "${i.PluginFactoryName[e]}" is attached with exception`,data:t}})}return!1}function _(e,t){return R[t][e]??P[t]}},92787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoCompletePluginsThread=t.workerThreadInitialized=t.workerThreadSpread=t.dynamicPluginLoaderCreated=t.schedulerWithTableIntelligenceServiceAttached=t.schedulerWithRecalcServiceAttached=t.scriptLoaderPromise=t.FormulaAuthoringStringsOnMainThread=void 0;const n=r(52123),o=r(44663),i=r(98088),a=r(4276),s=r(54855);t.FormulaAuthoringStringsOnMainThread=(0,s.trackableAsyncLazy)((async()=>{const e=await t.dynamicPluginLoaderCreated.getValue();await e.loadPluginScript("formula-authoring-strings",!0)}),"FormulaAuthoringStringsOnMainThread"),t.scriptLoaderPromise=new n.ResolvablePromise,t.schedulerWithRecalcServiceAttached=(0,s.trackableAsyncLazy)((async()=>{const e=a.PluginSchedulerSingleton.instance();return l.getValue()&&await t.FormulaAuthoringStringsOnMainThread.getValue(),await e.recalcServiceAttached(),e}),"schedulerWithRecalcServiceAttached"),t.schedulerWithTableIntelligenceServiceAttached=(0,s.trackableAsyncLazy)((async()=>{const e=a.PluginSchedulerSingleton.instance();return await e.services.TableIntelligence,e}),"schedulerWithTableIntelligenceServiceAttached"),t.dynamicPluginLoaderCreated=(0,s.trackableAsyncLazy)((async()=>{const e=await t.scriptLoaderPromise;return(0,a.createDynamicPluginLoader)(e)}),"dynamicPluginLoaderCreated"),t.workerThreadSpread=(0,s.trackableAsyncLazy)((async()=>(await t.dynamicPluginLoaderCreated.getValue()).createPluginThread("worker")),"workerThreadSpread"),t.workerThreadInitialized=(0,s.trackableAsyncLazy)((async()=>{await t.workerThreadSpread.getValue()}),"workerThreadInitialized"),t.autoCompletePluginsThread=(0,s.trackableAsyncLazy)((async()=>{let e;return e=(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.AutoCompleteOnMainThread")?await t.dynamicPluginLoaderCreated.getValue():await t.workerThreadSpread.getValue(),e}),"autoCompletePluginsThread");const l=new i.ResettableLazy((()=>{const e=a.PluginSchedulerSingleton.instance();return!e.isSchedulerFeatureEnabled(o.SchedulerFeature.SimpleAutoComplete)&&e.isSchedulerFeatureEnabled(o.SchedulerFeature.ArgumentAssistance)}))},77049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.perWorkbookInitializers=function(e){return{formulaByExamplePluginAttached:new i.TrackableAsyncLazy((async()=>{const t=(0,o.getPluginClass)(n.PluginFactoryName.FormulaByExamplePlugin);await a.getValue(),await e.createAndAttachPlugin(t,{config:{localCacheEnabled:!1,isCopilotOnly:!0}})}),"win32FormulaByExamplePluginAttached"),formulaCompletionPluginAttached:new i.TrackableAsyncLazy((async()=>{const t=(0,o.getPluginClass)(n.PluginFactoryName.FormulaCompletionPlugin);await e.createAndAttachPlugin(t,{debugMode:!1})}),"win32FormulaCompletionPluginAttached"),cleanDataPluginAttached:new i.TrackableAsyncLazy((async()=>{const t=(0,o.getPluginClass)(n.PluginFactoryName.GetLocalePlugin);await e.createAndAttachPlugin(t)}),"win32CleanDataPluginAttached"),inCellControlsAutodetectionPluginAttachWin32:new i.TrackableAsyncLazy((async()=>{const t=(0,o.getPluginClass)(n.PluginFactoryName.InCellControlsAutodetectionPlugin);await e.createAndAttachPlugin(t)}),"win32InCellControlsAutodetectionPluginAttached")}};const n=r(44663),o=r(58737),i=r(54855),a=new i.TrackableAsyncLazy((async()=>42),"singletonInit")},62457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autocompletePythonPluginDependenciesResolved=t.valueErrorHighlightPluginAttach=t.inCellControlsAutodetectionPluginAttach=t.formulaTranspilerPluginAttach=t.formulaCompletionPluginAttach=t.formulaByExamplePluginAttach=t.formulaRepairShadowEvalPluginDependenciesResolved=t.syntaxErrorsPluginDependenciesResolved=void 0;const n=r(44663),o=r(18648),i=r(92787),a=r(54855),s=(0,a.trackableAsyncLazy)((async()=>{const e=await i.workerThreadSpread.getValue();return await e.loadPluginScript("excelOnlineX10Plugins",!1),e}),"threadWithExcelOnlineX10PluginsScriptLoaded");t.syntaxErrorsPluginDependenciesResolved=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await i.schedulerWithRecalcServiceAttached.getValue(),await e.createAndAttachPlugin(n.PluginFactoryName.SyntaxErrorsPlugin)}),"syntaxErrorsPluginDependenciesResolved"),t.formulaRepairShadowEvalPluginDependenciesResolved=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await i.schedulerWithRecalcServiceAttached.getValue(),await e.createAndAttachPlugin(n.PluginFactoryName.FormulaRepairShadowEvalPlugin)}),"formulaRepairShadowEvalPluginDependenciesResolved"),t.formulaByExamplePluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await i.schedulerWithRecalcServiceAttached.getValue(),await e.loadPluginScript("excel-formula-by-example-strings",!0),await e.createAndAttachPlugin(n.PluginFactoryName.FormulaByExamplePlugin,{config:{localCacheEnabled:!0,isCopilotOnly:!1}})}),"formulaByExamplePluginAttach"),t.formulaCompletionPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await i.schedulerWithRecalcServiceAttached.getValue(),await e.createAndAttachPlugin(n.PluginFactoryName.FormulaCompletionPlugin,{debugMode:(0,o.getBooleanFeatureGate)("Microsoft.Office.Excel.FormulaCompletionDebugMode",!1)})}),"formulaCompletionPluginAttach"),t.formulaTranspilerPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await i.workerThreadSpread.getValue();await e.loadPluginScript("excelOnlineFormulaTranspiler",!1),await e.createAndAttachPlugin(n.PluginFactoryName.FormulaTranspilerPlugin)}),"formulaTranspilerPluginAttach"),t.inCellControlsAutodetectionPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await i.schedulerWithRecalcServiceAttached.getValue(),await e.createAndAttachPlugin(n.PluginFactoryName.InCellControlsAutodetectionPlugin)}),"inCellControlsAutodetectionPluginAttach"),t.valueErrorHighlightPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await i.schedulerWithRecalcServiceAttached.getValue(),await e.createAndAttachPlugin(n.PluginFactoryName.ValueErrorHighlightPlugin)}),"valueErrorHighlightPluginAttach"),t.autocompletePythonPluginDependenciesResolved=(0,a.trackableAsyncLazy)((async()=>{const e=await i.autoCompletePluginsThread.getValue();await e.loadPluginScript("formula-authoring-strings",!0),await e.createAndAttachPlugin(n.PluginFactoryName.AutocompletePythonPlugin)}),"autocompletePythonPluginDependenciesResolved")},96843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseState=t.ExecutionStopReason=t.FrameExecutionStopReason=t.SchedulerTimelineQueueMessageKind=t.delay=t.recalcNotificationKinds=t.DefaultComputationGroup=void 0,t.typedRequest=c,t.createTask=d,t.createAwaitEventTask=function*(e,t,r){return yield*d({kind:"AwaitEvent",eventKind:e,timeout:t,predicate:r})},t.awaitEvent=function*(e,t,r){const{result:n}=yield*c("AwaitEvent",{eventKind:e,timeout:t,predicate:r});return n},t.awaitTask=function*(e){const{result:t}=yield*c("AwaitTask",{task:e});return(0,i.staticTypeHint)(t),t},t.serviceCall=p,t.serviceGeneratorProxy=function(e){return new Proxy({},{get:(t,r,n)=>function*(...t){return yield*p({service:e,method:r,args:t})}})},t.awaitPromise=function*(e){const t=yield{kind:"AwaitPromise",promise:e};return(0,n.assertTrue)("Response kind coincides with request kind","AwaitPromise"===t.kind),t.result};const n=r(52123),o=r(45012),i=r(8585),a=r(50928),s=r(75442),l=r(71342),u=r(99355);function*c(e,t){const r=yield{kind:e,...t};(0,n.assertTrue)("Response kind coincides with request kind",r.kind===e);const{kind:o,...i}=r;return i}function*d(e){(0,i.staticTypeHint)(e);const{task:t}=yield*c("CreateTask",{request:e});return(0,i.staticTypeHint)(t),t}function*p(e){const t=yield*c("InternalService",e);return(0,n.assertTrue)("Service response coincides with actual call",t.service===e.service&&t.method===e.method),(0,i.staticTypeHint)(t),t.response}var h,g,m;t.DefaultComputationGroup="",t.recalcNotificationKinds=[s.NotificationKind.setA1ReferenceStyle,s.NotificationKind.setLocale,s.NotificationKind.setWorkbookProps,s.NotificationKind.updateSheetNames,s.NotificationKind.updateNamedObjects],t.delay={kind:"Delay"},function(e){e[e.NoOpRequest=0]="NoOpRequest",e[e.InternalRequest=1]="InternalRequest",e[e.AsyncRequest=2]="AsyncRequest",e[e.SyncRequest=3]="SyncRequest",e[e.StepComputation=4]="StepComputation",e[e.StopComputationFrame=5]="StopComputationFrame",e[e.Timeout=6]="Timeout"}(h||(t.SchedulerTimelineQueueMessageKind=h={})),(0,n.staticAssertExtends)(),function(e){e.Superseded="Superseded",e.Timeout="Timeout",e.ConflictResolverEarlyTermination="ConflictResolverEarlyTermination"}(g||(t.FrameExecutionStopReason=g={})),function(e){e.Done="Done",e.Skipped="Skipped",e.Exception="Exception"}(m||(m={})),t.ExecutionStopReason={Unknown:"Unknown",Frame:g,Computation:m},t.ResponseState=class{computationFrame(e){return this._computationFrames.get(e)}get attachedComputations(){return[...this._attachedComputations]}get attachedSyncComputations(){return[...this._attachedSyncComputations]}get numComputations(){return this._attachedComputations.length}get numSyncComputations(){return this._attachedSyncComputations.length}attachComputation(e){this._attachedComputations.push(e)}attachSyncComputation(e){this._attachedSyncComputations.push(e)}createFrame(e,r,i,s,l,u,c,d){const p=new n.ResolvablePromise,h=this.computationKind,g={type:this.computationType,correlationId:e,computationGroup:r,computationInput:s,cache:l,config:u,startTime:c,timeWindow:d,successfulResults:{kind:h,results:[]},resolvable:p,stopReasonRef:new a.Ref(t.ExecutionStopReason.Unknown),numOfComputations:i===o.ExecutionType.Async?this.numComputations:this.numSyncComputations,numFailures:0,numSkippedComputations:0};return this._computationFrames.set(r,g),p}closeFrame(e,r,o){const i=this.computationFrame(e);if(!i)return;this._computationFrames.delete(e),i.stopReasonRef.value=r,i.resolvable.resolve(r===t.ExecutionStopReason.Frame.Superseded?{kind:"Superseded"}:{kind:"Done",payload:i.successfulResults}),!this.isMainThread&&(0,n.isTypedChangeGateEnabled)("OfficeVSO:10193618_FixX10SnapshotLeak")||i.cache?.close();const{computationKind:a,numComputations:s,numSyncComputations:c}=this,{correlationId:d,startTime:p,numSkippedComputations:h,successfulResults:g}=i,m=g.results.length,f={correlationId:d,type:this.computationType,computationKind:a,computationGroup:e,numComputations:s,numSyncComputations:c,numSent:m,numSkippedComputations:h,stopReason:r,startTime:p,stopTime:o};u.x10Logger.log({kind:"closeComputationFrame",payload:f}),(0,l.sendX10UsedTelemetryEvent)()}stop(e,t,r){void 0!==this.computationFrame(e)&&this.closeFrame(e,t,r)}constructor(e,t,r){this.computationType=e,this.computationKind=t,this.isMainThread=r,this._attachedComputations=[],this._attachedSyncComputations=[],this._computationFrames=new Map}}},41121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrefetchingCache=void 0;const n=r(52123),o=r(11038),i=r(62272),a=r(85882),s=r(43177),l=r(14382),u=r(41257),c=r(41217),d=r(99355),p=r(99805),h=r(49797);function g({hasHeadersRow:e,hasTotalsRow:t,dataRange:r}){return(0,a.gridRange)(r.row-Number(e),r.col,r.rows+Number(e)+Number(t),r.cols)}function m(e,t,r,o){const{name:i,hasHeadersRow:s,hasTotalsRow:l,dataRange:u,columns:c}=t,d=s?(0,a.gridRange)(u.row-1,u.col,1,u.cols):void 0,p=l?(0,a.gridRange)(u.row+u.rows,u.col,1,u.cols):void 0,h={};let g=n.RedBlackMapTree.create(e.stringCompareCI);for(const e of c)h[e.column]=e,g=g.setValue(e.name,e);return{name:i,sheet:r,dataRange:u,headersRange:d,totalsRange:p,allRange:o,indexToColumn:h,nameToColumn:g,allColumnNamesAvailable:c.length===u.cols}}function f(e,t){return((0,i.compareProduct)((0,p.createCellSetFromRange)(t),e)??1)<=0}const v=(0,n.failure)((0,a.unavailable)(["getCell"])),b=(0,n.failure)((0,a.unavailable)(["getContainingTable"])),y=(0,n.failure)((0,a.unavailable)(["getIntersectingTables"])),S=(0,n.failure)((0,a.unavailable)(["getIntersectingTableNames"])),C=(0,n.failure)((0,a.unavailable)(["getIformats"])),T=(0,n.failure)((0,a.unavailable)(["GetAvailableTableHeaders"])),k=(0,n.failure)((0,a.unavailable)(["GetNamedObject"]));class F{static getOrFetchTile(e,t,r){const n=t.range.row>>>F.tileHeightPow,o=t.range.col>>>F.tileWidthPow;void 0===e[n]&&(e[n]=[]);const i=e[n][o];return void 0===i?r((0,a.sheetGridRange)(t.sheet,(0,a.gridRange)(n<<F.tileHeightPow,o<<F.tileWidthPow,1<<F.tileHeightPow,1<<F.tileWidthPow))).then((t=>e[n][o]=t)):i}static create(e,t,r){return new F(e,t,r)}getSheetContents(e){return this.sheet2contents[e]??(this.sheet2contents[e]={cellTiles:[],tables:(0,a.makeGridRangeTable)(),tableTiles:[],hiddenRows:o.empty,hiddenRowsAvailability:o.empty,hiddenCols:o.empty,hiddenColsAvailability:o.empty})}getCurrentDocumentLoc(){return this.currentDocumentLoc}getSheetNames(){if(void 0===this.sheetNames){const e=[];this.syncDataStore.sheets?.forEachSheet((t=>{e.push({sheetIndex:t.sheetIndex,sheetName:t.name})}));const t={};let r=n.RedBlackMapTree.create(this.syncDataStore.config.localeInfo.stringCompareCI);for(let n=0;n<e.length;n+=1){const{sheetIndex:o,sheetName:i}=e[n];t[o.index]=n,r=r.setValue(i,n)}const o=this.getCurrentDocumentLoc();this.sheetNames={document:o,sheets:e,idToIndex:t,nameToIndex:r}}return(0,n.success)(this.sheetNames)}getRangeValues(e){return this.grid.getRangeValues(this.snapshotId,e)}getRangeFormulae(e){return this.grid.getRangeFormulae(this.snapshotId,e)}getRangeFormats(e){return this.grid.getRangeFormats(this.snapshotId,e)}async getHiddenRows(e,t,r){const i=this.getSheetContents(e.index),s=p.bspFactory.row([t,r]),u=(0,o.compare)(s,i.hiddenRowsAvailability);if(0!==u&&-1!==u){const s=await this.grid.getHiddenRows(this.snapshotId,e,(0,n.fastMax)(0,t-10),(0,n.fastMin)(a.sheetRows,r+10));i.hiddenRows=s.hidden.reduce(((e,{start:t,end:r})=>(0,o.union)(e,p.bspFactory.row([t,r]))),i.hiddenRows),i.hiddenRowsAvailability=s.available.reduce(((e,{start:t,end:r})=>(0,o.union)(e,p.bspFactory.row([t,r]))),i.hiddenRowsAvailability)}const c=[];(0,p.forEachRow)((0,o.intersect)(i.hiddenRowsAvailability,s),(([e,t])=>(c.push((0,l.interval)(e,t)),!0)));const d=[];return(0,p.forEachRow)((0,o.intersect)(i.hiddenRows,s),(([e,t])=>(d.push((0,l.interval)(e,t)),!0))),{available:c,hidden:d}}async getHiddenCols(e,t,r){const i=this.getSheetContents(e.index),s=p.bspFactory.col([t,r]),u=(0,o.compare)(s,i.hiddenColsAvailability);if(0!==u&&-1!==u){const s=await this.grid.getHiddenCols(this.snapshotId,e,(0,n.fastMax)(0,t-10),(0,n.fastMin)(a.sheetCols,r+10));i.hiddenCols=s.hidden.reduce(((e,{start:t,end:r})=>(0,o.union)(e,p.bspFactory.col([t,r]))),i.hiddenCols),i.hiddenColsAvailability=s.available.reduce(((e,{start:t,end:r})=>(0,o.union)(e,p.bspFactory.col([t,r]))),i.hiddenColsAvailability)}const c=[];(0,p.forEachCol)((0,o.intersect)(i.hiddenColsAvailability,s),(([e,t])=>(c.push((0,l.interval)(e,t)),!0)));const d=[];return(0,p.forEachCol)((0,o.intersect)(i.hiddenCols,s),(([e,t])=>(d.push((0,l.interval)(e,t)),!0))),{available:c,hidden:d}}async getRange(e,t){const r=void 0===t||t.indexOf("values")>-1,o=void 0===t||t.indexOf("formulae")>-1,i=void 0===t||t.indexOf("formats")>-1,s=(0,n.failure)((0,a.unavailable)(["getRange"])),[l,u,d]=await Promise.all([r?this.getRangeValues(e):s,o?this.getRangeFormulae(e):s,i?this.getRangeFormats(e):s]);return new c.NaiveLocalSheetGrid(e.sheet,l,u,d)}getCell(e){const t=this.getSheetContents(e.sheet.index),r=F.getOrFetchTile(t.cellTiles,e,(async t=>{const[r,o,i]=await Promise.all([this.grid.getRangeValues(this.snapshotId,t),this.grid.getRangeFormulae(this.snapshotId,t),this.grid.getRangeFormats(this.snapshotId,t)]);return(0,n.isSuccess)(r)&&(0,n.isSuccess)(o)&&(0,n.isSuccess)(i)?new c.NaiveLocalSheetGrid(e.sheet,r,o,i):"unavailable"}));return(0,n.bindMaybeThenable)(r,(t=>{if("unavailable"===t)return v;const r=t.getCellValue(e.range.row,e.range.col),o=t.getCellFormula(e.range.row,e.range.col),i=t.getCellFormat(e.range.row,e.range.col);return(0,n.isSuccess)(r)&&(0,n.isSuccess)(o)&&(0,n.isSuccess)(i)?(0,n.success)({value:r.value,formula:o.value,format:i.value}):v}))}getNamedObject(e){const t=this.syncDataStore.nameManager;if(!t)return k;const r=t.getAllDocumentNames().find((t=>t.name===e));if(!r)return k;const o=t.getNameFormula(r,h.NameSource.Plain);return(0,n.success)(o)}getAvailableTableHeaders(e){const t=this.syncDataStore.nameManager;if(!t)return T;const r=t.getAllDocumentNames().find((t=>t.name===e));if(!r)return T;const o=t.getAvailableTableColumns(r);return(0,n.success)(o)}getStructRefColumn(e,t){const r=this.syncDataStore.getStructRefColumn(e,t);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,a.unavailable)(["getStructRefColumn"])):r}getStructRefSpecialRef(e,t){const r=this.syncDataStore.getStructRefSpecialRef(e,t);return r.kind===n.ResultKind.Failure?(0,n.failure)((0,a.unavailable)(["getStructRefSpecialRef"])):r}getContainingTableName(e){const t=this.syncDataStore.getContainingTable(e);return t.kind===n.ResultKind.Failure?(0,n.failure)((0,a.unavailable)(["getContainingTableName"])):t}getContainingTableSync(e){const t=this.syncDataStore.getContainingTable(e);if(t.kind===n.ResultKind.Failure)return(0,n.failure)((0,a.unavailable)(["getContainingTableName"]));if(void 0===t.value||null===t.value)return(0,n.success)(void 0);const r=this.getNamedObject(t.value.name);if(r.kind===n.ResultKind.Failure||r.value.kind===n.ResultKind.Failure)return(0,n.failure)((0,a.unavailable)(["getNamedObject"]));const o=r.value.value?.obj;return void 0!==o&&"NamedTable"!==o.kind?(0,n.failure)((0,a.unavailable)(["getNamedObject"])):(0,n.success)(o)}async getContainingTable(e){const t=this.getSheetContents(e.sheet.index),r=F.getOrFetchTile(t.tableTiles,e,(async r=>{const a=await this.grid.getIntersectingTables(this.snapshotId,r);if(!(0,n.isSuccess)(a))return"unavailable";const s=a.value.availableRanges.map(p.createCellSetFromRange).reduce(i.unionProduct,o.empty);for(const r of a.value.tables){const n=g(r);t.tables.getValue(n)||(t.tables=t.tables.setValue(n,m(this.syncDataStore.config.localeInfo,r,e.sheet,n)))}return s}));return(0,n.bindMaybeThenable)(r,(r=>{if("unavailable"===r)return b;let o;return t.tables.forEachGe(e.range,((e,t)=>(o=t,!1))),void 0!==o||f(r,e.range)?(0,n.success)(o):b}))}async getIntersectingTables(e){const t=this.getSheetContents(e.sheet.index);let r=o.empty;for(let o=e.range.row,s=e.range.row+e.range.rows;o<s;o+=1<<F.tileHeightPow)for(let s=e.range.col,l=e.range.col+e.range.cols;s<l;s+=1<<F.tileWidthPow){const l=F.getOrFetchTile(t.tableTiles,(0,a.sheetGridCell)(e.sheet,(0,a.gridCell)(o,s)),(e=>this.fetchTableTile(e.sheet,t,e))),u=(0,n.isThenable)(l)?await l:l;if("unavailable"===u)return y;r=(0,i.unionProduct)(r,u)}const s=[];return t.tables.forEachMeets(e.range,((e,t)=>(s.push(t),r=(0,i.unionProduct)(r,(0,p.createCellSetFromRange)(e)),!0))),f(r,e.range)?(0,n.success)(s):y}getIntersectingTableNames(e){if(void 0===this.syncDataStore.nameManager)return S;const t=this.syncDataStore.nameManager.getIntersectingTables(e);return t.kind===n.ResultKind.Failure?S:t}async fetchTableTile(e,t,r){const a=await this.grid.getIntersectingTables(this.snapshotId,r);if(!(0,n.isSuccess)(a))return"unavailable";const s=a.value.availableRanges.map(p.createCellSetFromRange).reduce(i.unionProduct,o.empty);for(const r of a.value.tables){const n=g(r);t.tables.getValue(n)||(t.tables=t.tables.setValue(n,m(this.syncDataStore.config.localeInfo,r,e,n)))}return s}async getIformat(e,t){const r=t>>>F.formatPagePow,o=r<<F.formatPagePow,i=o+(1<<F.formatPagePow);let a=this.formatPages[r];if(void 0===a){const t=await this.grid.getIformats(this.snapshotId,e,o,i);if((0,n.isSuccess)(t)){const e=[];for(const r of t.value.availableFormats)r.iformat<o||r.iformat>=i||(e[r.iformat-o]=r);a=this.formatPages[r]=e}else a=this.formatPages[r]="unavailable"}if("unavailable"===a)return C;const s=a[t-o];return void 0===s?C:(0,n.success)(s)}parseCellFormula(e,t,r){return{result:F.cachedParseFormula(r?this.englishFormulaCache:this.formulaCache,r?this.englishParser:this.parser,r?this.englishAnalyzer:this.analyzer,e,t)}}async parseEdit(e,t){const r=await this.getEditFormat(e)??{valueType:s.FormatValueType.General,bidiDate:void 0,culture:void 0};return this.parseEditInternal(e,t,r)}parseEditSync(e,t,r){const o=this.parseNumberFormat(r.formatString,r.builtIn).result;let i;return i=(0,n.isSuccess)(o)?o.value:{valueType:s.FormatValueType.General,bidiDate:void 0,culture:void 0},this.parseEditInternal(e,t,i)}resolveReferences(e,t){return t.map((t=>{switch(t.kind){case a.NodeKind.StructRef:return this.resolveStructRefSync(e,t).result;case a.NodeKind.CellRef:return this.resolveCellRefNodeSync(e,t).result}}))}async getCorrespondingSnapshotID(){return-1===this.correspondingSnapshotID&&(this.correspondingSnapshotID=await this.grid.getCorrespondingSnapshotID(this.snapshotId)),this.correspondingSnapshotID}async getEditFormat(e){const t=await this.getCell(e);if(!(0,n.isSuccess)(t))return;let r;if("string"==typeof t.value.format)r=this.parseNumberFormat(t.value.format,!1).result;else{const o=await this.getIformat(e.sheet.document,t.value.format);if(!(0,n.isSuccess)(o))return;const{formatString:i,builtIn:a}=o.value;r=this.parseNumberFormat(i,a).result}return(0,n.isSuccess)(r)?r.value:void 0}parseEditInternal(e,t,r){let o=this.formatter.parseEdit(t,r);if(!(0,n.isSuccess)(o))return{result:o};if(o.value.kind===s.EditKind.String&&"="===t&&r.valueType!==s.FormatValueType.Text&&(o=(0,n.success)((0,s.formulaEdit)(t))),o.value.kind!==s.EditKind.Formula)return{result:(0,n.success)(o.value)};const i=F.parseCheckedFormula(this.parser,this.analyzer,e,o.value.fmla,e.range);return(0,n.isSuccess)(i)?{result:(0,n.success)({kind:s.EditKind.Formula,fmla:o.value.fmla,formula:i.value})}:{result:i}}static cachedParseFormula(e,t,r,n,o){const i=e.get(o);if(void 0!==i)return i;const a=F.parseWellFormedFormula(t,r,n,o.formulaBarText,o.origin??n.range);return e.set(o,a),a}static parseWellFormedFormula(e,t,r,o,i){const s=F.parseCheckedFormula(e,t,r,o,i);return(0,n.isSuccess)(s)?(0,a.isWellFormed)(s.value)?(0,n.success)(s.value):(0,n.failure)((0,l.illFormedFormula)("ill-formed formula")):s}static parseCheckedFormula(e,t,r,o,i){const s=e.parseFormula((0,u.parseLocals)(a.LexicalKind.Cell,i),o);if(!(0,n.isSuccess)(s))return s;const l=t.checkFormula((0,u.analyzeLocalsGrid)(a.LexicalKind.Cell,(0,a.sheetGridCell)(r.sheet,i)),s.value);return(0,n.isSuccess)(l)?(0,n.success)(l.value):l}parseNumberFormat(e,t){return{result:this.cachedParseNumberFormat(e,t)}}evalOnClonedModel(e,t,r){return this.grid.evalClonedModelOnSnapshot(this.snapshotId,e,t,r)}evalFormula(e,t,r){return this.grid.evalFormulaOnSnapshot(this.snapshotId,e,t,r)}evalFormulaTree(e,t,r){return this.grid.evalFormulaTreeOnSnapshot(this.snapshotId,e,t,r)}cachedParseNumberFormat(e,t){const r=t?this.builtInFormatCache.get(e):this.customFormatCache.get(e);if(void 0!==r)return r;const n=this.formatter.createFormat(e,t);return t?this.builtInFormatCache.set(e,n):this.customFormatCache.set(e,n),n}resolveStructRefSync(e,t){return{result:this.resolver.resolveStructRef(e,t)}}resolveCellRefNodeSync(e,t){return{result:this.resolver.resolveCellRef(e,t)}}close(){this.grid.discardSnapshot(this.snapshotId).catch((e=>{d.x10Logger.log({kind:"failure",payload:{failureKind:d.X10FailureKind.GridFailure,failureLevel:a.TraceLevel.Warning,path:"PrefetchingCache.close",description:(0,n.messageFromError)(e)}})}))}constructor(e,t,r){this.grid=e,this.syncDataStore=t,this.snapshotId=r,this.correspondingSnapshotID=-1,this.sheet2contents=(0,n.makeStringMap)(),this.currentDocumentLoc=(0,a.documentLoc)(void 0,""),this.formatPages=[],this.formulaCache=new Map,this.englishFormulaCache=new Map,this.builtInFormatCache=new Map,this.customFormatCache=new Map,this.parser=(0,u.createParser)(t),this.analyzer=(0,u.createAnalyzer)(t),this.formatter=(0,s.createNumberFormatter)(t),this.resolver=(0,a.createResolver)(t);const o={config:{localeInfo:(0,a.getEnglishLocaleInfo)(),get date1904(){return t.config.date1904},get dateCompatibility(){return t.config.dateCompatibility},get datepack(){return t.config.datepack},get mathpack(){return t.config.mathpack},get refStyle(){return t.config.refStyle},get timezone(){return t.config.timezone}},getSheetName:(...e)=>t.getSheetName(...e),getContainingTable:(...e)=>t.getContainingTable(...e),getDocumentLoc:(...e)=>t.getDocumentLoc(...e),getNameLoc:(...e)=>t.getNameLoc(...e),getSheetIndex:(...e)=>t.getSheetIndex(...e),getSheetRangeIndexes:(...e)=>t.getSheetRangeIndexes(...e),getStructRefColumn:(...e)=>t.getStructRefColumn(...e),getStructRefSpecialRef:(...e)=>t.getStructRefSpecialRef(...e),getUserDefinedFuncLoc:(...e)=>t.getUserDefinedFuncLoc(...e)};this.englishParser=(0,u.createParser)(o),this.englishAnalyzer=(0,u.createAnalyzer)(o)}}t.PrefetchingCache=F,F.tileWidthPow=2,F.tileHeightPow=4,F.formatPagePow=6},25348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pythonPowerQueryAutocompletePluginAttach=t.autocompletePythonPluginAttach=t.pythonSyntaxHighlightingPluginAttach=t.pythonTooltipPluginAttach=t.pythonAutocompletePluginAttach=void 0;const n=r(52123),o=r(44663),i=r(92787),a=r(54855),s=(0,a.trackableAsyncLazy)((async()=>{const e=await i.workerThreadSpread.getValue();return await e.loadPluginScript((0,n.isTypedChangeGateEnabled)("Microsoft.Office.Excel.X10IntelligentPythonWP5")?"pythonIntelliSense":"pythonIntelliSenseWP5",!1),e}),"threadWithExcelOnlinePythonPluginScriptLoaded");t.pythonAutocompletePluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await e.createAndAttachPlugin(o.PluginFactoryName.PythonAutocompletePlugin)}),"pythonAutocompletePluginAttach"),t.pythonTooltipPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await e.createAndAttachPlugin(o.PluginFactoryName.PythonTooltipPlugin)}),"pythonTooltipPluginAttach"),t.pythonSyntaxHighlightingPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await e.createAndAttachPlugin(o.PluginFactoryName.PythonSyntaxHighlightingPlugin)}),"pythonSyntaxHighlightingPluginAttach"),t.autocompletePythonPluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await e.createAndAttachPlugin(o.PluginFactoryName.AutocompletePythonPlugin)}),"autcompletePythonPluginAttach"),t.pythonPowerQueryAutocompletePluginAttach=(0,a.trackableAsyncLazy)((async()=>{const e=await s.getValue();await e.createAndAttachPlugin(o.PluginFactoryName.PythonPowerQueryAutocompletePlugin)}),"pythonPowerQueryAutocompletePlugin")},48258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RepeatedTaskScheduler=t.TaskKind=void 0;const n=r(52123);var o,i;function a(e,t){return{kind:e,handle:t}}function s(e){return void 0!==e?(e.kind=o.NoWorkScheduled,e.handle=void 0,e):a(o.NoWorkScheduled,void 0)}!function(e){e[e.NoWorkScheduled=0]="NoWorkScheduled",e[e.PromiseScheduled=1]="PromiseScheduled",e[e.ImmediateScheduled=2]="ImmediateScheduled",e[e.FutureScheduled=3]="FutureScheduled"}(o||(o={})),(0,n.staticAssertExtends)(),function(e){e.Sync="Sync",e.MicroTask="MicroTask",e.MacroTask="MacroTask"}(i||(t.TaskKind=i={}));const l=Promise.resolve();t.RepeatedTaskScheduler=class{runNextSynchronously(){switch(this.handleState.kind){case o.ImmediateScheduled:this.timer.clearImmediate(this.handleState.handle);break;case o.FutureScheduled:this.timer.clearTimeout(this.handleState.handle)}this.clearHandleClosureAndRunBody()}runNextAsMicrotask(){switch(this.handleState.kind){case o.PromiseScheduled:return;case o.ImmediateScheduled:this.timer.clearImmediate(this.handleState.handle);break;case o.FutureScheduled:this.timer.clearTimeout(this.handleState.handle)}var e;this.handleState=void 0!==(e=this.handleState)?(e.kind=o.PromiseScheduled,e.handle=void 0,e):a(o.PromiseScheduled,void 0),l.then(this.promiseClosure)}runNextAsMacrotask(){switch(this.handleState.kind){case o.ImmediateScheduled:return;case o.FutureScheduled:this.timer.clearTimeout(this.handleState.handle)}var e,t;this.handleState=(e=this.timer.setImmediate(this.clearHandleClosureAndRunBody),void 0!==(t=this.handleState)?(t.kind=o.ImmediateScheduled,t.handle=e,t):a(o.ImmediateScheduled,e))}runNextInFuture(e){switch(this.handleState.kind){case o.FutureScheduled:this.timer.clearTimeout(this.handleState.handle);break;case o.ImmediateScheduled:this.timer.clearImmediate(this.handleState.handle)}var t,r;this.handleState=(t=this.timer.setTimeout(this.clearHandleClosureAndRunBody,e),void 0!==(r=this.handleState)?(r.kind=o.FutureScheduled,r.handle=t,r):a(o.FutureScheduled,t))}clear(){switch(this.handleState.kind){case o.FutureScheduled:this.timer.clearTimeout(this.handleState.handle);break;case o.ImmediateScheduled:this.timer.clearImmediate(this.handleState.handle)}this.handleState=s(this.handleState)}constructor(e,t){this.timer=t,this.handleState=s(),this.clearHandleClosureAndRunBody=()=>{let t;switch(this.handleState.kind){case o.NoWorkScheduled:t=i.Sync;break;case o.PromiseScheduled:t=i.MicroTask;break;case o.ImmediateScheduled:case o.FutureScheduled:t=i.MacroTask;break;default:(0,n.assertNever)("Unknown handle state",this.handleState)}this.handleState=s(this.handleState),e(t)},this.promiseClosure=()=>{this.handleState.kind===o.PromiseScheduled&&this.clearHandleClosureAndRunBody()}}}},4276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicPluginLoaderInsideInit=t.PluginSchedulerSingleton=t.GridImportManagerSingleton=void 0,t.createDynamicPluginLoader=function(e){return g().createDynamicPluginLoader(t.GridImportManagerSingleton.instance(),t.PluginSchedulerSingleton.instance(),e)},t.getSchedulerFactories=g;const n=r(52123),o=r(25200),i=r(27831),a=r(76498),s=r(97834),l=r(31409),u=r(80795),c=(0,n.singleton)((()=>{const e=g().createGridProvider((()=>t.PluginSchedulerSingleton.instance().registerAsyncGrid()));return t.GridImportManagerSingleton.instance().onGridImporterCreated(e,"Main-IGrid"),e}));t.GridImportManagerSingleton=(0,n.singleton)((()=>g().createGridImportManager())),t.PluginSchedulerSingleton=(0,n.singleton)((()=>g().createFormulaBarScheduler(c.instance()))),(0,n.staticAssertExtends)();const d=(e,t,...r)=>new s.FormulaBarScheduler((0,i.timelineQueueProcessorFactory)(r[0]),(0,i.createPrefetchingCacheFactory)(e),t,e.getGridDataSink(),e.getSyncDataModel(),...r);t.dynamicPluginLoaderInsideInit=(0,i.dynamicPluginLoaderInsideInit)(i.timelineQueueProcessorFactory,i.createPrefetchingCacheFactory);class p extends s.FormulaBarScheduler{set ComputationFinalizerHandlers(e){this.computationFinalizerHandlers=e}get ComputationFinalizerHandlers(){return this.computationFinalizerHandlers}}const h={win32:{createFormulaBarScheduler:d,createExperimentFormulaBarScheduler(){throw new Error("Cannot use Experiment Formula Bar Scheduler in win32 context")},createTestableFormulaBarScheduler(){throw new Error("Cannot use Testable Formula Bar Scheduler in win32 context")},createDynamicPluginLoader(){throw new Error("Cannot use Dynamic Plugin Loader in win32 context")},createGridImportManager:()=>({onGridExporterCreated(){},onGridImporterCreated(){}}),createGridProvider(){const e=new o.CacheGrid;return{getGrid:()=>e,getGridDataSink:()=>e,getSyncDataModel:()=>e,createIGridImportEndpoint(){throw new Error("Cannot use createIGridImportEndpoint in win32 context")},onGridExporterClosed(){throw new Error("Cannot use onGridExporterClosed in win32 context")}}}},web:{createFormulaBarScheduler:d,createDynamicPluginLoader:(...e)=>((e,...t)=>new i.DynamicPluginLoader(e,...t))("excelOnlineCalc.x10.stableDynamicPluginLoaderInsideInit",...e),createGridImportManager:e=>new l.GridImportManager(e),createGridProvider:e=>new l.GridProvider(e),createExperimentFormulaBarScheduler:(e,t,...r)=>{let n;const o=new s.FormulaBarScheduler((e=>(n=new a.ExperimentQueueProcessor(e),n)),(0,i.createPrefetchingCacheFactory)(e),t,e.getGridDataSink(),e.getSyncDataModel(),...r);if(void 0===n)throw"not initialized";return[o,n]},createTestableFormulaBarScheduler:(e,t,...r)=>new p((0,i.timelineQueueProcessorFactory)(r[0]),(0,i.createPrefetchingCacheFactory)(e),t,e.getGridDataSink(),e.getSyncDataModel(),...r)}};function g(){return h[u.platform]}if((0,n.getTypedFeatureGate)("TESTING_ONLY_SCHEDULER_IMPORTSCRIPTS_FAIL")&&(self.__retries=(self.__retries??-1)+1,0===self.__retries))throw""},52395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalSchedulerResponseKind=void 0,t.createSyncTimelineQueueMessage=u,t.createTimelineQueueMessage=function(e,t){return function(e){return s.yieldRequestProcessorMap[e.kind].executionType===o.ExecutionType.Internal}(e)?{kind:a.SchedulerTimelineQueueMessageKind.InternalRequest,request:e,computation:t}:function(e){return s.yieldRequestProcessorMap[e.kind].executionType===o.ExecutionType.Async}(e)?{kind:a.SchedulerTimelineQueueMessageKind.AsyncRequest,request:e,computation:t}:((0,i.staticTypeHint)(t),u(e,t))};const n=r(52123),o=r(45012),i=r(8585),a=r(96843),s=r(82007);var l;function u(e,t){return function(e){return s.yieldRequestProcessorMap[e.kind].executionType===o.ExecutionType.NoOp}(e)?{kind:a.SchedulerTimelineQueueMessageKind.NoOpRequest,request:e,computation:t}:{kind:a.SchedulerTimelineQueueMessageKind.SyncRequest,request:e,computation:t}}!function(e){e[e.FirstStep=0]="FirstStep",e[e.NormalResponse=1]="NormalResponse",e[e.RequestFailure=2]="RequestFailure"}(l||(t.InternalSchedulerResponseKind=l={})),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)(),(0,n.staticAssertExtends)()},77824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerService=void 0,t.providerProxy=function(e){return e};const n=r(52123),o=r(99355);class i extends n.ResolvablePromiseWithLimitedSubscribers{static fromClass(e,t){return new i(e,(e=>new t(e)))}static fromFunction(e,t){return new i(e,t)}resolve(e){const t=this.serviceConstructor(e);return super.resolve(t),t}constructor(e,t){super(e.subscriberLimit),this.config=e,this.serviceConstructor=t,this.toPromise().catch((e=>{o.x10Logger.log({kind:"provider",payload:{id:this.config.providerId,state:"Rejected",data:{reason:e}}})}))}}t.SchedulerService=i},24218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyncDataModel=t.MaxStateIdDifferenceForGC=void 0;const n=r(52123),o=r(85882),i=r(75442),a=r(87481),s=r(27856),l=r(62568),u=r(7603),c=r(18665),d=()=>{};t.MaxStateIdDifferenceForGC=17,t.SyncDataModel=class{get document(){return this.dataTransformer.document}getStateAsNotifications(){return[...this.configNotifications,...this.getSheetStateAsNotifications(),...this.getNameStateAsNotifications(),...this.getSchedulerFeaturesAsNotifications()]}getSchedulerFeaturesAsNotifications(){return[[i.NotificationKind.setSchedulerFeatures,[this.schedulerFeatures]]]}getSheetStateAsNotifications(){const e=[];return this.sheets.forEachSheet(((t,r)=>{e.push((0,c.sheetName)(r,t.name))})),e.length>0?[[i.NotificationKind.updateSheetNames,[this.stateId,e]]]:[]}getNameStateAsNotifications(){const e=[],t=t=>{const r=[];t.forEachAvailableName(((e,t)=>{const n=(0,a.namedObjectToNamedObjectData)(this.config.mathpack,this.dataTransformer.document,t?.obj);return r.push((0,c.namedObject)(e,n)),!0})),r.length>0&&e.push((0,c.namedObjectsWrite)(t.scope.index,r)),t.allAvailable()&&e.push((0,c.undefinedNamesWrite)(t.scope.index))},r=this.nameManager.getNamesBySheetId(void 0);return(0,n.isSuccess)(r)&&t(r.value),this.nameManager.forEachSheetScope((e=>{t(e)})),e.length>0?[[i.NotificationKind.updateNamedObjects,[this.stateId,e]]]:[]}trySetStateId(e,r){if(r<this.stateId)return!1;if(r>this.stateId){const e=this.stateId;if(this.stateId=r,this.sheets.advanceState(e),this.nameManager.advanceState(e),this.stateChangesSinceLastGC+=1,this.stateChangesSinceLastGC>=t.MaxStateIdDifferenceForGC){this.stateChangesSinceLastGC=0;const e=this.stateId-t.MaxStateIdDifferenceForGC;this.nameManager.collectGarbage(e)}}return!0}clearCompiledFormulas(){this.nameManager.resetLazyData()}clearCompiledNumberFormats(){}setA1ReferenceStyle(e){this.configNotifications.push([i.NotificationKind.setA1ReferenceStyle,[e]]),this.dataTransformer.setA1ReferenceStyle(this,this.stateId,e)}setLocale(e){this.configNotifications.push([i.NotificationKind.setLocale,[e]]),this.dataTransformer.setLocaleInfo(this,this.stateId,e,{})}setWorkbookProps(e){this.configNotifications.push([i.NotificationKind.setWorkbookProps,[e]]),this.dataTransformer.setWorkbookProps(this,this.stateId,e,{})}updateSheetNames(e,t){this.dataTransformer.updateSheetNames(this,e,t,{})}updateNamedObjects(e,t){this.dataTransformer.updateNamedObjects(this,e,t,{})}setSchedulerFeatures(e){this.schedulerFeatures=e}setLangConfig(e,t){if(!this.trySetStateId(!0,e))return;const r=this.config.localeInfo!==t.localeInfo,n=this.config.refStyle!==t.refStyle;this.config=t,r&&this.clearCompiledNumberFormats(),(r||n)&&this.clearCompiledFormulas()}setSheetNames(e,t,r){this.trySetStateId(!0,r)&&(this.sheets=this.sheets.setSheetNames(t),this.nameManager=this.nameManager.setSheetNames(t))}writeNamedObject(e,t,r,i){if(!this.trySetStateId(!0,e))return;const a=this.nameManager.setNamedObject(!0,(0,o.nameLoc)(t,r),i,d);(0,n.isSuccess)(a)}writeUndefinedNames(e,t){if(!this.trySetStateId(!0,e))return;const r=this.nameManager.setUndefinedNames(t);(0,n.isSuccess)(r)}promoteNamedObjects(e,t,r){if(!this.trySetStateId(!0,e))return;const o=this.nameManager.promoteNamedObjects(t,r);(0,n.isSuccess)(o)&&o.value}getDocumentLoc(e,t){const r=this.dataTransformer.document;return void 0!==e&&e!==r.path||0!==this.config.localeInfo.stringCompareCI(t,r.name)?(0,n.failure)((0,o.unavailable)([(0,o.documentLoc)(e,t)])):(0,n.success)(r)}getSheetIndex(e,t){const r=this.sheets.getSheetByName(t);return(0,n.isSuccess)(r)?void 0===r.value?r:(0,n.success)(r.value.sheetIndex.index):r}getSheetName(e,t){const r=this.sheets.getSheetById(t);return(0,n.isSuccess)(r)?(0,n.success)(r.value.name):r}getNameLoc(e,t,r){return this.nameManager.getNameLoc(e.index,t,r)}getUserDefinedFuncLoc(e,t){return(0,n.failure)((0,o.notImplemented)(["call UDF"]))}getSheetRangeIndexes(e){return this.sheets.getSheetRangeIds(e)}getContainingTable(e){return this.nameManager.getContainingTable(e)}getStructRefColumn(e,t){return this.nameManager.getStructRefColumn(e,t)}getStructRefSpecialRef(e,t){return this.nameManager.getStructRefSpecialRef(e,t)}getTime(){return(0,n.failure)((0,o.unavailable)(["getTime"]))}constructor(){this.dataTransformer=new u.RecalcServiceDataTransformer,this.stateId=-1/0,this.stateChangesSinceLastGC=0,this.config=this.dataTransformer.getLangConfig(),this.configNotifications=[],this.sheets=new l.PartialWorkbookSheets(this.dataTransformer.document,this.config.localeInfo.stringCompareCI),this.nameManager=new s.PartialWorkbookNameManager(this.dataTransformer.document,this.config.localeInfo.stringCompareCI),this.schedulerFeatures=[]}}},78346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineQueueProcessor=t.defaultTimerInterface=void 0;const n=r(52123),o=r(48258);t.defaultTimerInterface={...n.defaultSetTimeoutInterface,now:n.now},t.TimelineQueueProcessor=class{enqueue(e,t,r=this.maxWitnessedNow){this.queue.enqueue({delayUntil:r,payload:e,abstractCost:t}),this.continue()}push(e,t,r=this.maxWitnessedNow){this.queue.push({delayUntil:r,payload:e,abstractCost:t}),this.continue()}pop(){return 1===this.queue.getCount()&&this.scheduler.clear(),this.queue.pop()?.payload}peek(){return this.queue.peek()}getCount(){return this.queue.getCount()}continue(){for(this.startTime=this.startTime??this.now();this.totalSyncCost<this.costThreshold;){const e=this.queue.peek();if(void 0===e)return;if(e.delayUntil>this.maxWitnessedNow&&this.tryRunNextInFuture(e.delayUntil,this.now()))return;this.queue.pop(),this.totalSyncCost+=e.abstractCost,this.consumeMessage(e.payload)}const e=this.queue.peek();if(void 0===e)return;const t=this.now();t-this.startTime<this.timeThreshold&&e.delayUntil<=t?this.scheduler.runNextAsMicrotask():this.tryRunNextInFuture(e.delayUntil,t)||this.scheduler.runNextAsMacrotask()}tryRunNextInFuture(e,t){return e>t&&(this.lastFutureAbsoluteTime!==e&&(this.lastFutureAbsoluteTime=e,this.scheduler.runNextInFuture(e-t)),!0)}now(){return this.maxWitnessedNow=this.timer.now()}constructor(e,r,i,a=t.defaultTimerInterface){this.cmp=e,this.consumeMessage=r,this.timer=a,this.startTime=void 0,this.totalSyncCost=0,this.maxWitnessedNow=0,this.lastFutureAbsoluteTime=void 0,this.queue=new n.PriorityQueue(((t,r)=>{const n=t.delayUntil-r.delayUntil;return 0!==n?n:e(t.payload,r.payload)})),this.costThreshold=i?.costThreshold??1,this.timeThreshold=i?.timeThreshold??10,this.scheduler=new o.RepeatedTaskScheduler((e=>{this.totalSyncCost=0,this.lastFutureAbsoluteTime=void 0,e===o.TaskKind.MacroTask&&(this.startTime=void 0),this.continue()}),a)}}},54855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TrackableAsyncLazy=void 0,t.trackableAsyncLazy=function(e,t,r=n.now){return new a(e,t,r)};const n=r(52123),o=r(99355),i=r(98088);class a extends i.ResettableLazy{reset(){throw new Error("Resetting a TrackableAsyncLazy is not allowed")}constructor(e,t,r=n.now){super((async()=>{try{const t=r(),i=e(),a=r()-t,s=await i,l=r()-t-a;return o.x10Logger.log({kind:"trackableAsyncLazy",payload:{name:this.name,result:(0,n.success)({syncTime:a,asyncTime:l})}}),s}catch(e){throw o.x10Logger.log({kind:"trackableAsyncLazy",payload:{name:this.name,result:(0,n.failure)(`${e}`)}}),e}})),this.name=t}}t.TrackableAsyncLazy=a},71342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.histogramBinCount=t.REQUEST_DURATION_THRESHOLDS=void 0,t.updateDurationHistogramsWithRequestTimes=function(e,r){return(o=r,Object.entries(o)).forEach((([r,o])=>{if((0,n.isDefined)(o)&&o.numberOfRequests>0){const n=l(o.requestDuration/o.numberOfRequests),i=e[r]??Array(t.histogramBinCount).fill(0);i[n]+=o.numberOfRequests,e[r]=i}})),e;var o},t.getHistogramBinIndexForDuration=l,t.addSampleWithProbability=function(e,t,r){return function(e){return e>=0&&e<=1}(r)&&a.next()<r&&e.push(t),e},t.createX10AggregatedTelemetryEvent=function(e){return{eventName:"Office.Excel.Client.X10.AggregatedTelemetry",eventFlags:u(),dataFields:[(0,i.makeStringDataField)("X10AggregatedTelemetryObject",e)]}},t.createX10RequestPerformanceEvent=function(e){return{eventName:"Office.Excel.Client.X10.RequestPerformance",eventFlags:u(),dataFields:[(0,i.makeStringDataField)("X10RequestPerformanceTelemetryObject",e)]}},t.sendX10UsedTelemetryEvent=function(){s||((0,o.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.X10.X10UsedEvent",eventFlags:u()}),s=!0)};const n=r(52123),o=r(9106),i=r(21921);t.REQUEST_DURATION_THRESHOLDS=[5,10,20,50,100,200],t.histogramBinCount=t.REQUEST_DURATION_THRESHOLDS.length+1;const a=new n.JSF32(0);let s=!1;function l(e){for(let r=0;r<t.REQUEST_DURATION_THRESHOLDS.length;r++)if(e<t.REQUEST_DURATION_THRESHOLDS[r])return r;return t.REQUEST_DURATION_THRESHOLDS.length}function u(){return{dataCategories:i.EnumObjects.DataCategories.ProductServiceUsage,samplingPolicy:i.EnumObjects.SamplingPolicy.Measure,diagnosticLevel:i.EnumObjects.DiagnosticLevel.Optional}}},65233:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.X10ExceptionComputationTermination=t.X10Exception=void 0;class r extends Error{}t.X10Exception=r,t.X10ExceptionComputationTermination=class extends r{constructor(e){super(`Computation execution was terminated with '${e}'.`),this.stopReason=e}}},99355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.x10Logger=t.CombinedLogger=t.ImmediateLogger=t.X10FailureKind=t.LoggerKind=void 0;const n=r(52123),o=r(85882),i=r(44663),a=r(9106),s=r(8585),l=r(71342),u="Main";var c,d;!function(e){e.Immediate="Immediate",e.Aggregating="Aggregating"}(c||(t.LoggerKind=c={})),function(e){e.ALFailure="ALFailure",e.AssertionFailure="AssertionFailure",e.CustomConflictResolverFailure="CustomConflictResolverFailure",e.EventCallbacksManagerFailure="EventCallbacksManagerFailure",e.GridFailure="GridFailure",e.NotificationProcessorFailure="NotificationProcessorFailure",e.PluginAttachmentFailure="PluginAttachmentFailure",e.PluginFailure="PluginFailure",e.RequestProcessorFailure="RequestProcessorFailure",e.TableIntelligenceFailure="TableIntelligenceFailure"}(d||(t.X10FailureKind=d={}));const p=(e,t,r)=>`x10arch.[${e}].${t}: ${(0,n.isDefined)(r.description)&&r.description.length?`${r.description}. `:""}${(0,n.isDefined)(r.data)?JSON.stringify(r.data):""}`;(0,n.staticAssertSame)();const h={trackableAsyncLazy:(e,{name:t,result:r})=>n.ulsLogger.ULS.traceTag(507316304,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"trackableAsyncLazy",{data:"Success"===r.kind?{name:t,syncTime:r.value.syncTime,asyncTime:r.value.asyncTime}:{name:t,failure:r.reason}})),provider:(e,{id:t,state:r,data:i})=>n.ulsLogger.ULS.traceTag(505976837,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"provider",{description:`provider ${t} is ${r}`,data:i})),snapshotCreation:(e,t)=>n.ulsLogger.ULS.traceTag(512305240,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"snapshotCreation",{data:t})),beginRequest:(e,t)=>n.ulsLogger.ULS.traceTag(553734792,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"beginRequest",{data:t})),requestSkipped:(e,t)=>n.ulsLogger.ULS.traceTag(553734793,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"requestSkipped",{data:t})),registerPluginFactory:(e,{factoryName:t})=>n.ulsLogger.ULS.traceTag(571246212,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"registerPluginFactory",{description:`registered ${i.PluginFactoryName[t]}`})),pluginCompletedInTime:(e,{pluginName:t,logInfo:r})=>n.ulsLogger.ULS.traceTag(553734790,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"pluginCompletedInTime",{description:`plugin completed in time. plugin name:${t}`,data:r})),computationStoppedExecution:(e,{computationName:t,stopReason:r,logInfo:i})=>n.ulsLogger.ULS.traceTag(509109120,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"pluginStoppedExecution",{data:{computationName:t,stopReason:r,...i}})),closeComputationFrame:(e,t)=>n.ulsLogger.ULS.traceTag(553734789,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Info,p(e,"closeUIMessageFrame",{data:t})),nullCheckViolation:(e,t)=>n.ulsLogger.ULS.traceTag(507803776,o.LogCategory.msoulscat_ES_EWAJS,o.TraceLevel.Warning,p(e,"nullCheckViolation",{data:t})),failure:(e,{failureKind:t,failureLevel:r,path:i,description:a,data:s})=>n.ulsLogger.ULS.traceTag(507322970,o.LogCategory.msoulscat_ES_EWAJS,r,p(e,i,{description:a,data:{failureKind:t,failureLevel:r,...s}}))},g={trackableAsyncLazy:{},provider:{},snapshotCreation:{numSnapshots:0,numFreshSnapshots:0},beginRequest:{},requestSkipped:{},registerPluginFactory:{factories:[]},pluginCompletedInTime:{},computationStoppedExecution:{computationsStopReason:{},requestDurationHistograms:{},requestDurationHistogramByComputationKind:{},schedulerTimeSamples:[],computationTimeSamples:[]},closeComputationFrame:{},nullCheckViolation:{},failure:{}},m={trackableAsyncLazy:(e,{name:t,result:r})=>({...e,[t]:{numCalls:(e[t]?.numCalls??0)+1,totalSyncTime:(e[t]?.totalSyncTime??0)+("Success"===r.kind?r.value.syncTime:0),totalAsyncTime:(e[t]?.totalAsyncTime??0)+("Success"===r.kind?r.value.asyncTime:0),totalFailures:(e[t]?.totalAsyncTime??0)+("Failure"===r.kind?1:0)}}),provider:(e,{id:t,state:r})=>({...e,[t]:r}),snapshotCreation:({numSnapshots:e,numFreshSnapshots:t},r)=>({numSnapshots:e+1,numFreshSnapshots:t+(r?1:0)}),beginRequest:(e,{computationKind:t})=>({...e,[t]:(e[t]??0)+1}),requestSkipped:(e,{computationKind:t})=>({...e,[t]:(e[t]??0)+1}),registerPluginFactory:({factories:e},{factoryName:t})=>({factories:[...e,i.PluginFactoryName[t]]}),pluginCompletedInTime:(e,{pluginName:t})=>({...e,[t]:(e[t]??0)+1}),computationStoppedExecution:({computationsStopReason:e,requestDurationHistograms:t,requestDurationHistogramByComputationKind:r,schedulerTimeSamples:n,computationTimeSamples:o},{computationName:i,stopReason:a,logInfo:{computationKind:s,requestTimes:u,computationTime:c,schedulerTime:d}})=>({computationsStopReason:{...e,[`${s}.${i}`]:{...e[`${s}.${i}`],[a]:(e[`${s}.${i}`]?.[a]??0)+1}},requestDurationHistograms:(0,l.updateDurationHistogramsWithRequestTimes)(t,u),requestDurationHistogramByComputationKind:{...r,[`${s}.${i}`]:(0,l.updateDurationHistogramsWithRequestTimes)(r[`${s}.${i}`]??{},u)},schedulerTimeSamples:(0,l.addSampleWithProbability)(n,d,5e-4),computationTimeSamples:(0,l.addSampleWithProbability)(o,c,5e-4)}),closeComputationFrame:(e,t)=>({...e,[t.computationKind]:{...e[t.computationKind],[t.stopReason]:(e[t.computationKind]?.[t.stopReason]??0)+1}}),nullCheckViolation:(e,{requestKind:t,violations:r})=>({...e,[t]:{...e[t],[r.join(";")]:(e[t]?.[r.join(";")]??0)+1}}),failure:(e,{failureKind:t,failureLevel:r})=>({...e,[t]:{...e[t],[r]:(e[t]?.[r]??0)+1}})};class f{log(e,t){this.isMessageForAnotherLogger(t)||((0,n.getTypedFeatureGate)("Microsoft.Office.Excel.EnableFullSessionLogging")||"failure"===e.kind)&&h[e.kind](this.threadId,e.payload)}flush(){}flushBufferedMessages(){return[]}get threadId(){return this._threadId}set threadId(e){this._threadId=e}isMessageForAnotherLogger(e){return(0,n.isDefined)(e)&&e!==c.Immediate}constructor(){this._threadId=u,this.formatLogMessage=(e,t)=>p(this.threadId,e,t)}}t.ImmediateLogger=f;class v{log(e,t){this.isMessageForAnotherLogger(t)||(this.shouldBufferLogMessages()?((0,s.staticTypeHint)(e),this.logMessageBuffer.push([e,c.Aggregating])):(this.loggingStates[e.kind]=m[e.kind](this.loggingStates[e.kind],e.payload),this.periodicFlush(e.kind)))}flush(){if(this.shouldBufferLogMessages())return;const{requestDurationHistogramByComputationKind:e}=this.loggingStates.computationStoppedExecution;this.loggingStates.computationStoppedExecution.requestDurationHistogramByComputationKind={};const t=this.formatLogMessage("AgggregationLogger.flush",{description:"summary logs for session",data:this.loggingStates}),r=this.formatLogMessage("AgggregationLogger.flush",{description:"request duration histogram by computation kind",data:e});if(this.threadId===u){const e=(0,a.getTelemetryLogger)();e.sendTelemetryEvent((0,l.createX10AggregatedTelemetryEvent)(t)),e.sendTelemetryEvent((0,l.createX10RequestPerformanceEvent)(r))}}periodicFlush(e){"closeComputationFrame"===e&&(this.closeComputationFrameCount++,this.closeComputationFrameCount>=this.nextFlushThreshold&&(this.nextFlushThreshold*=1.33,this.flush()))}flushBufferedMessages(){const e=this.logMessageBuffer;return this.logMessageBuffer=[],e}get threadId(){return this._threadId}set threadId(e){this._threadId=e}shouldBufferLogMessages(){return this.threadId!==u}isMessageForAnotherLogger(e){return(0,n.isDefined)(e)&&e!==c.Aggregating}constructor(){this.loggingStates={...g},this._threadId=u,this.logMessageBuffer=[],this.closeComputationFrameCount=0,this.nextFlushThreshold=4,this.formatLogMessage=(e,t)=>p(this.threadId,e,t)}}class b{log(e,t){this.immediateLogger.log(e,t),this.aggregatingLogger.log(e,t)}flush(){this.immediateLogger.flush(),this.aggregatingLogger.flush()}flushBufferedMessages(){return[...this.immediateLogger.flushBufferedMessages(),...this.aggregatingLogger.flushBufferedMessages()]}get threadId(){return this._threadId}set threadId(e){this._threadId=e,this.immediateLogger.threadId=e,this.aggregatingLogger.threadId=e}constructor(){this._threadId=u,this.immediateLogger=new f,this.aggregatingLogger=new v,this.formatLogMessage=(e,t)=>p(this.threadId,e,t)}}t.CombinedLogger=b,t.x10Logger=new b},89843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterSuggestionsAccordingToPrefix=t.gridRangeToRange=t.ColoredReferencesVisitor=t.ValuePreviewVisitor=t.VisitorHelpers=t.RangeHelpers=t.TimelineQueueProcessor=t.defaultTimerInterface=t.resolveScriptLoaderPromise=t.setX10Features=t.ensurePluginAttached=t.ensureGroupAttached=t.spanToLSPRange=t.ValuePreviewResultExtractor=t.PluginRegistry=t.ALAnnotationKind=t.EventKind=t.ExecutionType=t.ComputationType=t.NotificationKind=t.RequestKind=t.delay=t.wrapIntoAsync=t.awaitPromise=t.serviceGeneratorProxy=t.serviceCall=t.awaitEvent=t.awaitTask=t.createAwaitEventTask=t.createTask=t.typedRequest=t.stableDynamicPluginLoaderInsideInit=t.DefaultComputationGroup=t.registerPlugin=t.PluginFactoryName=t.PluginGroup=t.RecalcSideGrid=t.FormulaKind=t.GridImportManagerSingleton=t.PluginSchedulerSingleton=t.getSchedulerFactories=t.defaultPluginResponseWindows=t.ChatGPTPlugin=t.staticTypeHint=t.platform=void 0;const n=r(16533);var o=r(80795);Object.defineProperty(t,"platform",{enumerable:!0,get:function(){return o.platform}});var i=r(8585);Object.defineProperty(t,"staticTypeHint",{enumerable:!0,get:function(){return i.staticTypeHint}});var a=r(95894);Object.defineProperty(t,"ChatGPTPlugin",{enumerable:!0,get:function(){return a.ChatGPTPlugin}});var s=r(2548);Object.defineProperty(t,"defaultPluginResponseWindows",{enumerable:!0,get:function(){return s.defaultPluginResponseWindows}});var l=r(4276);Object.defineProperty(t,"getSchedulerFactories",{enumerable:!0,get:function(){return l.getSchedulerFactories}});var u=r(4276);Object.defineProperty(t,"PluginSchedulerSingleton",{enumerable:!0,get:function(){return u.PluginSchedulerSingleton}});var c=r(4276);Object.defineProperty(t,"GridImportManagerSingleton",{enumerable:!0,get:function(){return c.GridImportManagerSingleton}});var d=r(93019);Object.defineProperty(t,"FormulaKind",{enumerable:!0,get:function(){return d.FormulaKind}});var p=r(11614);Object.defineProperty(t,"RecalcSideGrid",{enumerable:!0,get:function(){return p.RecalcSideGrid}});var h=r(44663);Object.defineProperty(t,"PluginGroup",{enumerable:!0,get:function(){return h.PluginGroup}});var g=r(44663);Object.defineProperty(t,"PluginFactoryName",{enumerable:!0,get:function(){return g.PluginFactoryName}});var m=r(58737);Object.defineProperty(t,"registerPlugin",{enumerable:!0,get:function(){return m.registerPlugin}});var f=r(96843);Object.defineProperty(t,"DefaultComputationGroup",{enumerable:!0,get:function(){return f.DefaultComputationGroup}});var v=r(4276);Object.defineProperty(t,"stableDynamicPluginLoaderInsideInit",{enumerable:!0,get:function(){return v.dynamicPluginLoaderInsideInit}});var b=r(96843);Object.defineProperty(t,"typedRequest",{enumerable:!0,get:function(){return b.typedRequest}}),Object.defineProperty(t,"createTask",{enumerable:!0,get:function(){return b.createTask}}),Object.defineProperty(t,"createAwaitEventTask",{enumerable:!0,get:function(){return b.createAwaitEventTask}}),Object.defineProperty(t,"awaitTask",{enumerable:!0,get:function(){return b.awaitTask}}),Object.defineProperty(t,"awaitEvent",{enumerable:!0,get:function(){return b.awaitEvent}}),Object.defineProperty(t,"serviceCall",{enumerable:!0,get:function(){return b.serviceCall}}),Object.defineProperty(t,"serviceGeneratorProxy",{enumerable:!0,get:function(){return b.serviceGeneratorProxy}});var y=r(96843);Object.defineProperty(t,"awaitPromise",{enumerable:!0,get:function(){return y.awaitPromise}});var S=r(52123);Object.defineProperty(t,"wrapIntoAsync",{enumerable:!0,get:function(){return S.wrapIntoAsync}});var C=r(96843);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return C.delay}});var T=r(2548);Object.defineProperty(t,"RequestKind",{enumerable:!0,get:function(){return T.RequestKind}});var k=r(75442);Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return k.NotificationKind}});var F=r(39323);Object.defineProperty(t,"ComputationType",{enumerable:!0,get:function(){return F.ComputationType}});var E=r(45012);Object.defineProperty(t,"ExecutionType",{enumerable:!0,get:function(){return E.ExecutionType}});var A=r(61774);Object.defineProperty(t,"EventKind",{enumerable:!0,get:function(){return A.EventKind}});var I=r(61774);Object.defineProperty(t,"ALAnnotationKind",{enumerable:!0,get:function(){return I.ALAnnotationKind}});var x=r(89500);Object.defineProperty(t,"PluginRegistry",{enumerable:!0,get:function(){return x.PluginRegistry}});var w=r(69438);Object.defineProperty(t,"ValuePreviewResultExtractor",{enumerable:!0,get:function(){return w.ValuePreviewResultExtractor}});var P=r(17049);Object.defineProperty(t,"spanToLSPRange",{enumerable:!0,get:function(){return P.spanToLSPRange}});var R=r(19486);Object.defineProperty(t,"ensureGroupAttached",{enumerable:!0,get:function(){return R.ensureGroupAttached}});var D=r(19486);Object.defineProperty(t,"ensurePluginAttached",{enumerable:!0,get:function(){return D.ensurePluginAttached}});var _=r(19486);Object.defineProperty(t,"setX10Features",{enumerable:!0,get:function(){return _.setX10Features}});var N=r(19486);Object.defineProperty(t,"resolveScriptLoaderPromise",{enumerable:!0,get:function(){return N.resolveScriptLoaderPromise}});var O=r(78346);Object.defineProperty(t,"defaultTimerInterface",{enumerable:!0,get:function(){return O.defaultTimerInterface}});var M=r(78346);Object.defineProperty(t,"TimelineQueueProcessor",{enumerable:!0,get:function(){return M.TimelineQueueProcessor}}),t.RangeHelpers=n.__importStar(r(17019)),t.VisitorHelpers=n.__importStar(r(70486));var B=r(5999);Object.defineProperty(t,"ValuePreviewVisitor",{enumerable:!0,get:function(){return B.ValuePreviewVisitor}});var L=r(78179);Object.defineProperty(t,"ColoredReferencesVisitor",{enumerable:!0,get:function(){return L.ColoredReferencesVisitor}});var K=r(47797);Object.defineProperty(t,"gridRangeToRange",{enumerable:!0,get:function(){return K.gridRangeToRange}});var W=r(22091);Object.defineProperty(t,"filterSuggestionsAccordingToPrefix",{enumerable:!0,get:function(){return W.filterSuggestionsAccordingToPrefix}})},43488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promises=function(){return void 0===r[n]&&(r[n]="undefined"!=typeof Promise&&"function"==typeof Promise.resolve&&"function"==typeof Promise.resolve(0).then),r[n]};const r={},n="promises"},98482:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNewGuid=function(){const e=new Uint8Array(31),t=function(e){const t={crypto:!1,perfNow:!1,exceptions:[]},r="undefined"!=typeof crypto?crypto:"undefined"!=typeof msCrypto?msCrypto:void 0;if(r){t.crypto=!0;try{return r.getRandomValues(e),t}catch(e){t.exceptions.push(`crypto: ${JSON.stringify(e)}`)}}let n=!1;const o="undefined"!=typeof performance?performance:void 0;try{o&&o.now&&o.now()!==1/0&&(n=!0)}catch(e){t.exceptions.push(`perfNow: ${JSON.stringify(e)}`)}for(let r=0;r<e.length;r+=1){try{if(n){t.perfNow=!0;let e=Math.floor(100*o.now())%10;(e<0||e>9)&&(e=0);for(let t=0;t<e;t+=1)Math.random()}}catch(e){t.exceptions.push(`Math.random: ${JSON.stringify(e)}`)}e[r]=Math.floor(16*Math.random())}return t}(e);let r=0;return["xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const n=15&e[r];return r+=1,("x"===t?n:3&n|8).toString(16)})),t]}},31894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isReplaceChildrenSupported=t.replaceChildren=void 0,t.replaceChildren=e=>{if(e)if((0,t.isReplaceChildrenSupported)(e))e.replaceChildren();else for(;e.lastChild;)e.removeChild(e.lastChild)},t.isReplaceChildrenSupported=e=>!!e.replaceChildren},68247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryCollector=t.initStopwatchFactory=t.ConsoleLogger=t.NulLogger=t.perfWatch=t.browserSupport=t.LogCategory=t.TraceLevel=t.ULS=t.utils=t.replaceChildren=t.TextAreaInputMode=t.TextAreaVirtualKeyboardPolicy=t.getNewGuid=void 0;const n=r(88226);t.utils=n;const o=r(27983);Object.defineProperty(t,"ULS",{enumerable:!0,get:function(){return o.ULS}}),Object.defineProperty(t,"TraceLevel",{enumerable:!0,get:function(){return o.TraceLevel}}),Object.defineProperty(t,"LogCategory",{enumerable:!0,get:function(){return o.LogCategory}}),Object.defineProperty(t,"NulLogger",{enumerable:!0,get:function(){return o.NulLogger}}),Object.defineProperty(t,"ConsoleLogger",{enumerable:!0,get:function(){return o.ConsoleLogger}});const i=r(43488);t.browserSupport=i;const a=r(65513);t.perfWatch=a;const s=r(53660);Object.defineProperty(t,"initStopwatchFactory",{enumerable:!0,get:function(){return s.initStopwatchFactory}});const l=r(34641);Object.defineProperty(t,"TelemetryCollector",{enumerable:!0,get:function(){return l.TelemetryCollector}});var u=r(98482);Object.defineProperty(t,"getNewGuid",{enumerable:!0,get:function(){return u.getNewGuid}});var c=r(4697);Object.defineProperty(t,"TextAreaVirtualKeyboardPolicy",{enumerable:!0,get:function(){return c.TextAreaVirtualKeyboardPolicy}}),Object.defineProperty(t,"TextAreaInputMode",{enumerable:!0,get:function(){return c.TextAreaInputMode}});var d=r(31894);Object.defineProperty(t,"replaceChildren",{enumerable:!0,get:function(){return d.replaceChildren}})},27983:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.NulLogger=t.ConsoleLogger=t.ULS=t.LogCategory=t.TraceLevel=void 0,function(e){e[e.Error=10]="Error",e[e.Warning=15]="Warning",e[e.Info=50]="Info",e[e.Verbose=100]="Verbose",e[e.Spam=200]="Spam"}(r||(t.TraceLevel=r={})),function(e){e[e.msoulscat_ES_EWAJS=0]="msoulscat_ES_EWAJS"}(n||(t.LogCategory=n={})),t.ULS={getFromExternalLogger:function(e){const t=e;return{ULS:{trace:(e,r,n)=>t.traceTag(0,e,r,n),traceTag:(e,r,n,o)=>t.traceTag(e,r,n,o),debugTrace:(e,r,n)=>t.debugTraceTag(0,e,r,n),debugTraceTag:(e,r,n,o)=>t.debugTraceTag(e,r,n,o),assert:(e,r,n)=>t.assertTag(0,e,r,n),assertTag:(e,r,n,o)=>t.assertTag(e,r,n,o),shipAssert:(e,r,n)=>t.shipAssertTag(0,e,r,n),shipAssertTag:(e,r,n,o)=>t.shipAssertTag(e,r,n,o),dnmTrace:(e,r,n)=>t.dnmTraceTag(0,e,r,n),dnmTraceTag:(e,r,n,o)=>t.dnmTraceTag(e,r,n,o)}}}},t.ConsoleLogger=class{shipAssertTag(e,t,r,n){console.assert(r,"shipAssertTag:",e,t,n)}assertTag(e,t,r,n){console.assert(r,"assertTag",e,t,n)}traceTag(e,t,r,n){console.log("traceTag",e,n,t,r)}dnmTraceTag(e,t,r,n){console.log("dnmTraceTag",e,n,t,r)}debugTraceTag(e,t,r,n){console.log("debugTraceTag",e,n,t,r)}},t.NulLogger=class{shipAssertTag(){}assertTag(){}traceTag(){}debugTraceTag(){}dnmTraceTag(){}}},65513:(e,t)=>{"use strict";function r(){const e="undefined"!=typeof self?self:window;return e.performance&&e.performance.now?e.performance.now():Date.now()}function n(e,t,n){e[t]=r()-n}Object.defineProperty(t,"__esModule",{value:!0}),t.start=function(e){const t=r(),o=e,i=t,a={},s=(e,t,r)=>function(e,t,r,o,i,a){n(e,"end",r);const s={sessionName:t,result:o?"success":"failure",message:a,marks:e};i(JSON.stringify(s))}(a,o,i,e,t,r);return a.start=0,{mark:e=>(e=>n(a,e,i))(e),end:e=>s(!0,e),success:(e,t)=>s(!0,e,t),failure:(e,t)=>s(!1,e,t)}},t.mark=function(e,t){void 0!==e&&e.mark(t)},t.end=function(e,t){void 0!==e&&e.end(t)},t.success=function(e,t,r){void 0!==e&&e.success(t,r)},t.failure=function(e,t,r){void 0!==e&&e.failure(t,r)},t.timeStamp=r},4697:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaInputMode=t.TextAreaVirtualKeyboardPolicy=void 0,function(e){e.Auto="auto",e.Manual="manual"}(r||(t.TextAreaVirtualKeyboardPolicy=r={})),function(e){e.None="none",e.Text="text",e.Tel="tel",e.Url="url",e.Email="email",e.Numeric="numeric",e.Decimal="decimal",e.Search="search"}(n||(t.TextAreaInputMode=n={}))},53660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initStopwatchFactory=function(e,t=1){return"undefined"!=typeof self&&self.performance&&self.performance.now&&(r=()=>self.performance.now()),function(n){let o=r(),i=n;return{reset(e){null!=e&&(i=e),o=r()},stop(n){const a=r()-o,s=JSON.stringify({Target:i,Duration:a.toFixed(t),StopInfo:n});e(s)}}}};let r=()=>Date.now()},34641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryCollector=void 0,t.TelemetryCollector=class{getJsonForLogging(){return'{"Events":'+this.getEventsLoggableString()+',"Counters":'+this.getCountersLoggableString()+',"Timers":'+this.getTimersLoggableString()+"}"}addEvent(e,t){null!=e&&null!=t&&(this.events[e]=t)}clearEvents(){this.events={}}getEventsLoggableString(){return JSON.stringify(this.events)}incrementCounter(e){null!=e&&(this.counters.hasOwnProperty(e)?this.counters[e]+=1:this.counters[e]=1)}getCountersLoggableString(){return JSON.stringify(this.counters)}clearCounters(){this.counters={}}startTimer(e){null!=e&&(this.timers[e]={name:e,startTime:Date.now(),endTime:void 0,isRunning:!0,duration:void 0})}endTimer(e){null!=e&&this.timers.hasOwnProperty(e)&&(this.timers[e].endTime=Date.now(),this.timers[e].isRunning=!1,this.timers[e].duration=this.timers[e].endTime-this.timers[e].startTime)}getTimerDuration(e){return null==e?"-1":this.timers.hasOwnProperty(e)&&void 0!==this.timers[e].duration?this.timers[e].duration:"-1"}getTimersLoggableString(){return JSON.stringify(this.timers)}constructor(){this.counters={},this.timers={},this.events={}}}},88226:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultToJSONResultWhenStringifyFails=void 0,t.forEachPromise=function(e,t,r){return e.reduce(((e,n)=>e.then((()=>r&&r.stop?Promise.resolve(void 0):t(n,r)))),Promise.resolve(void 0))},t.getStringifiedError=function(e){if(0===e)return"0";if(!e)return"";try{return JSON.stringify(n(e))}catch{return t.defaultToJSONResultWhenStringifyFails}},t.getPerfWatchMarkName=function(e){if(!e)return"";let t=e.trim().substring(0,200).trim().replace(i,o).substring(0,80);return t&&t.length>0&&t.substr(t.length-1,1)===o&&(t=t.substr(0,t.length-1)),t&&t.length>0&&t.substr(0,1)===o&&(t=t.substr(1)),t},t.retry=function(e,t){if(!e)return Promise.reject(new Error("utils.retry: action can't be null or undefined"));if(t<1)return Promise.reject(new Error(`utils.retry: attempts expected to be greater than 0 but got ${t}`));let r=Promise.reject();for(let n=1;n<=t;n+=1)r=r.catch((t=>e(n,t)));return r},t.chainFallbackPromises=function(e,t){if(!e||0===e.length)return Promise.reject();let r=t(e[0]);for(let n=1;n<e.length;n+=1){const o=e[n];r=r.catch((()=>t(o)))}return r},t.getQueryParameterByName=function(e,t){const r=new RegExp(`[?&]${t}(=([^&#]*)|&|#|$)`).exec(e);if(r)return r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):""},t.decodeHtml=function(e){return"string"==typeof e?(new DOMParser).parseFromString(e,"text/html").documentElement.textContent:e},t.calcHashCode=function(e){if(!e)return 0;let t=5381,r=t;const n=e.length;for(let o=0;o<n&&(t=4294967295&((t<<5)+t^e.charCodeAt(o)),o!==n-1);o+=2)r=4294967295&((r<<5)+r^e.charCodeAt(o+1));let o=t+35685*r+(23896*r<<16)&4294967295;return o<0&&(o+=4294967296),o},t.defaultToJSONResultWhenStringifyFails="...";const r=5;function n(e,t=0){if(t<0||t>r)return e;if(null==e||"object"!=typeof e)return e;const o={};Object.getOwnPropertyNames(e).forEach((t=>{"stack"!==t&&t.toUpperCase()!==t&&(o[t]=e[t])}));const i=Object.getPrototypeOf(e);i&&"object"==typeof i&&Object.keys(i).forEach((t=>{"stack"!==t&&t.toUpperCase()!==t&&(o[t]=e[t])}));const a={};return Object.keys(o).forEach((e=>{a[e]=n(o[e],t+1)})),a}const o="_",i=new RegExp("\\W+","g")},83842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stackSave=t.stackRestore=t.stackAlloc=t.setThrew=t.memory=t._start=t.__growWasmMemory=t.__errno_location=t.Mathpack_Zero=t.Mathpack_ViewRound=t.Mathpack_Trunc=t.Mathpack_TenTo=t.Mathpack_Tan=t.Mathpack_TakeMathError=t.Mathpack_Sub=t.Mathpack_Sqrt=t.Mathpack_Sin=t.Mathpack_SFloat=t.Mathpack_SFix=t.Mathpack_RoundUp=t.Mathpack_RoundDown=t.Mathpack_Round=t.Mathpack_Power=t.Mathpack_Pi=t.Mathpack_Pack=t.Mathpack_One=t.Mathpack_Neg=t.Mathpack_Mul=t.Mathpack_Mod=t.Mathpack_Log=t.Mathpack_Ln=t.Mathpack_LFix=t.Mathpack_GetExp32=t.Mathpack_FormatScientific=t.Mathpack_FormatGetSign=t.Mathpack_FormatGetExponent=t.Mathpack_FormatGeneral=t.Mathpack_FormatFixed=t.Mathpack_Floor=t.Mathpack_Float=t.Mathpack_Fix=t.Mathpack_Exp=t.Mathpack_Equal=t.Mathpack_Div=t.Mathpack_Cos=t.Mathpack_Cond2=t.Mathpack_Cond=t.Mathpack_Compare=t.Mathpack_Ceil=t.Mathpack_Atan2=t.Mathpack_Atan=t.Mathpack_Asin=t.Mathpack_Add=t.Mathpack_Acos=t.Mathpack_Abs=t.Dtr_Yr=t.Dtr_Write=t.Dtr_Wdy=t.Dtr_UtcToLocal=t.Dtr_ToTime=t.Dtr_ToNumWithDuration=t.Dtr_ToNum=t.Dtr_ToDays=t.Dtr_Sec=t.Dtr_Rounding=t.Dtr_Mon=t.Dtr_Min=t.Dtr_Hour=t.Dtr_FromNum=t.Dtr_FracSec=t.Dtr_DaysPerMonth=t.Dtr_Days=t.Dtr_DOM=t.Base_StrBufSize=t.Base_StrBuf=void 0;var n=r(41929),o=r(70780),i=r(77630),a=new ArrayBuffer(8),s=new Int32Array(a),l=(new Float32Array(a),new Float64Array(a));function u(e){return s[e]}function c(e,t){s[e]=t}function d(){return l[0]}function p(e){l[0]=e}var h,g=new ArrayBuffer(65536),m=(h=new Uint8Array(g),function(e,t){var r,n;if("undefined"==typeof Buffer)for(r=atob(t),n=0;n<r.length;n++)h[e+n]=r.charCodeAt(n);else for(r=Buffer.from(t,"base64"),n=0;n<r.length;n++)h[e+n]=r[n]});m(1024,"yAwAAAEAAAACAAAAAwAAAAAAAAAE"),m(1056,"AQAAAAsAAAANAAAABwAAAAkAAAADAAAABQAAAA8AAAAAAAEAMAACADkAMQAcAAMAPQA6ADIAKgAmAB0AEQAEAD4ANwA7ACQANQAzACsAFgAtACcAIQAeABgAEgAMAAUAPwAvADgAGwA8ACkAJQAQADYAIwA0ABUALAAgABcACwAuABoAKAAPACIAFAAfAAoAGQAOABMACQANAAgABwAGAJAMAACYDAAAoAwAAKgMAAAfHR8eHx4fHx4fHh8fHB8eHx4fHx4fHh8fHB8eHx4fHx4fHh8fHB8eHx4fHx4fHh8fHB8eHx4fHx4fHh8fHR8eHx4fHx4fHh8="),m(1312,"WAwAAHAMAABoDAAAeAw="),m(1359,"AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsAAAAAHwA8AFsAeQCYALYA1QD0ABIBMQFPAW4B"),m(1759,"AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwAAAAAAHwA7AFoAeACXALUA1ADzABEBMAFOAW0B"),m(2135,"oAQ="),m(2151,"yAc="),m(2167,"+go="),m(2182,"QJwO"),m(2198,"UMMR"),m(2214,"JPQU"),m(2229,"gJaYGA=="),m(2245,"ILy+Gw=="),m(2261,"KGvuHg=="),m(2277,"+QKVIg=="),m(2292,"QLdDuiU="),m(2308,"EKXU6Cg="),m(2324,"KueEkSw="),m(2339,"gPQg5rUv"),m(2355,"oDGpX+My"),m(2371,"BL/JG442AAAAAAAAAJ61cCuorcWdawAAAAAAAADXlUMOBY0pr6AAAAAAAAAA1abP/0kfeMLVAAAAAAAAAPz32oePeufXCgEAAAAAAACjFJvFFquz7z8BAAAAAAAAnjIjmcCtD4V1AQAAAAAAAOCM6YDJR7qTqgEAAAAAAADnptOoxbkCpN8BAAAAAAAAqhfmfyuhFrYUAgAAAAAAAJO/m4WRoijKSQIAAAAAAABrVSc5jfdw4H4CAAAAAAAARmGCNzUMLvmzAgAAAAAAADDJPOP/llKK6QIAAAAAAABmF7/W86aRmR4DAAAAAAAAjt75nfvrfqpTAwAAAAAAAM3MzMzMzMzM/f///wAAAAAK16NwPQrXo/r///8AAAAAO99PjZduEoP3////AAAAACxlGeJYF7fR8////wAAAAAjhEcbR6zFp/D///8AAAAAtmlsrwW9N4bt////AAAAALxCeuXVlL/W6f///wAAAAD9zmGEEXfMq+b///8AAAAAl6W0NkFfcInj////AAAAAL/V7b3O/ubb3////wAAAAD/qiTLC//rr9z///8AAAAAzIhQbwnMvIzZ////AAAAABMOtEtCEy7h1f///wAAAAAP2FwJNdwktNL///8AAAAA2aywOvd8HZDP////AAAAAFvhTcS+lJXmy////wAAAAC6lDlFrR6xz5b///8AAAAAWcF+sVN8Erth////AAAAAKXpOaUn6n+oLP///wAAAACmGQlrumDFl/f+//8AAAAAm1N1/fcCtIjC/v//AAAAAH3TZfC8NUP2jP7//wAAAACh5LxkfEbQ3Vf+//8AAAAAyYJTfG66ysci/v//AAAAAJOgc9uT4PSz7f3//wAAAAAwAMs42ycXorj9//8AAAAABswjVHeD/5GD/f//AAAAAGC8pD2p3oCDTv3//wAAAAC+TjFK7Dzl7Bj9//8AAAAA1+Eyz81fYNXj/P//AAAAADoZemMlQzHArvz//w=="),m(3126,"kEEYLURU+yEJQAAAAAAAAOA/AAAAAAAAAEAYLURU+yH5PwAAAAAAAPA/"),m(3182,"WUAAAAAAAAAkQAAAAAAAQI9AAAAAAAAAOEAAAAAAAABOQClRzqDIRdg+IXQL5wZroz41IN+kpBFvPvZNfx3q2jg+AADA////30EAAAAAAADgwQAAsOlNYnBCBAQAABAE"),m(3904,"4E8=");var f=function(e,t,r){var n=new e.Int8Array(r),o=new e.Int16Array(r),i=new e.Int32Array(r),a=new e.Uint8Array(r),l=new e.Uint16Array(r),h=new e.Uint32Array(r),g=(new e.Float32Array(r),new e.Float64Array(r)),m=e.Math.imul,f=(e.Math.fround,e.Math.abs),v=e.Math.clz32,b=e.Math.min,y=(e.Math.max,e.Math.floor),S=e.Math.ceil,C=e.Math.sqrt,T=t.abort,k=(e.NaN,e.Infinity,t.Base_LocaleIsNumeral),F=t.Base_LocaleGetOrdinal,E=t.Base_LocaleDecimalSeparator,A=t.Math_log10,I=t.Math_log,x=(C=t.Math_sqrt,t.Math_sin),w=t.Math_cos,P=t.Math_tan,R=t.Math_atan,D=t.Math_exp,_=t.proc_exit,N=t.getTempRet0,O=20288,M=0;function B(){}function L(e,t,r){e:if(e>>>0<=t>>>0){if(!r)break e;for(;n[0|e]=a[0|t],e=e+1|0,t=t+1|0,r=r+-1|0;);}else if(r)for(e=e+r|0,t=t+r|0;t=t+-1|0,n[0|(e=e+-1|0)]=a[0|t],r=r+-1|0;);}function K(e,t){var r,s,c=0,d=0,h=0,m=0;if(d=3856,O=r=O-48|0,i[r+40>>2]=0,o[r+30>>1]=0,o[r+32>>1]=0,g[482]=e,s=q(e),g[482]=s,Se(s,r+40|0,r,15),l[r+42>>1]){c=(0|(c=pe(t)<<16))<0?100:c>>16,p(+t),h=0|u(1),u(0),(m=-65536&h)&&(2146435072!=(2146435072&h)?c=(0|m)<1?0-c|0:c:i[966]=1);e:{if(!((0|(c=o[r+40>>1]+c|0))>=o[r+42>>1])){if((0|c)<1){d=3168;break e}(255&c)>>>0>=a[r+30|0]||(n[r+30|0]=c)}ye(3276,3856,r)}e=g[d>>3]}return O=r+48|0,e}function W(e,t){var r,n=0,o=0,a=0;if(g[482]=e,p(+e),o=0|u(1),u(0),a=o,o=0,(n=-65536&a)&&(2146435072!=(2146435072&a)?o=(0|n)<1:(i[966]=1,o=0)),i[965]=2147483647&a,re(g[395]),n=-65536&(a=i[965]))if(2146435072!=(2146435072&a)){if(!((0|n)<1))return $(8),0}else i[966]=1;r=ne(g[395],e),ke(g[393],r),oe(r),me();e:{t:{if((n=i[965])>>>0>=65536){if(2146435072!=(2146435072&n))break t;i[966]=1}if(t){if(i[964]=0,i[965]=0,!o)break e;return t=i[783],i[964]=i[782],i[965]=t,g[482]}if(n=i[789],i[964]=i[788],i[965]=n,t=n,1^o|n>>>0<65536)break e;return i[965]=-2147483648^t,g[482]}Ae(e),fe(),t&&(g[482]=ne(g[394],g[482]))}return g[482]}function H(e,t,r,n){var s,u=0,c=0,d=0,p=0,h=0,g=0,f=0;if(u=i[e+4>>2],h=-2146827284,!((0|(s=(c=l[e>>1])+(e=(0|(d=o[e+2>>1]))>=1?(d+-1|0)/12|0:(0|d)/-12^-1)<<16>>16))>9999|((r?1900:-9999)+(t?4:0)|0)>(0|s)||((d=d+m(e,-12)<<16>>16)-1&65535)>>>0>11|(!u|1900==(0|s)&2==(0|d)&29==(0|u)?!r:0))){if(g=(0|(e=(p=(0|(c=s+1e4|0))/4|0)<<2))%100|0,f=(0|e)%400|0,u=(((p=m(p,1461)+u|0)+((0|(u=e+-1|0))/-100|0)|0)+((0|u)/400|0)|0)-1|0,c=(m(c-e|0,12)+d|0)-1|0)for(c=c+(e=f?g?0:12:0)|0;u=a[e+1232|0]+u|0,(0|c)!=(0|(e=e+1|0)););e:if(r||t){if(e=u+-4346385|0,!((0|s)>1900|(0|d)>=3))break e;e=u+-4346384|0}else e=u+-4346384|0;e>>>0>2958465||(i[n>>2]=e,h=0)}return h}function G(e,t,r){var n,s,l,u=0,c=0,d=0;c=d=Re(e,t,711573504,201),i[r+28>>2]=(c+1>>>0)%7,u=c+m(n=(c>>>0)/146097|0,-146097)|0,s=(m(u,100)+75>>>0)/3652425|0,u=((l=m(s,-36524)+u|0)>>>0)/1461|0,c=(((c+(((u=((m(s,100)+m(n,400)|0)+(u<<2)|0)+((m(l+m(u,-1461)|0,100)+75>>>0)/36525|0)|0)>>>0)/100|0)|0)-(u>>>2)|0)-((u>>>0)/400|0)|0)+m(u,-365)|0,d=Pe(d,M,-864e5,-1),e=Re(e,t,1e4,0)+d|0,d=!(((t=u+1|0)>>>0)%100)|3&t&&(t>>>0)%400|0?2096+((t=a[c+1728|0])<<1)|0:1696+((t=a[c+1328|0])<<1)|0,i[r+12>>2]=(e>>>0)/36e5,i[r+4>>2]=t+1,i[r>>2]=u+1601,t=(e>>>0)/1e3|0,i[r+20>>2]=(t>>>0)%60,i[r+16>>2]=((e>>>0)/6e4>>>0)%60,i[r+24>>2]=e-m(t,1e3),i[r+8>>2]=1+(c-o[d>>1]|0)}function z(e,t){var r=0,n=0,a=0,s=0,l=0,u=0,c=0,d=0,p=0,h=0,g=0,f=0;return(0|(s=i[e+4>>2]))<1||(d=s+-1|0)>>>0>11||(n=(r=i[e>>2])+-1601|0)>>>0>29226||(0|(l=i[e+8>>2]))<1||(a=1696,((u=65535&r)>>>0)%400&&(a=3&r?2096:(u>>>0)%100|0?1696:2096),(p=i[e+24>>2])>>>0>999||(u=i[e+20>>2])>>>0>59||(h=i[e+16>>2])>>>0>59||(g=i[e+12>>2])>>>0>23||(l=l+-1|0)>>>0>=o[a+(s<<1)>>1]-o[a+(d<<1)>>1]>>>0||(a=n>>>2,s=m(n,365),n=((e=65535&n)>>>0)/400|0,f=(e>>>0)/100|0,((c=65535&(r=r+-1600|0))>>>0)%400&&(e=2096,!((c>>>0)%100)|3&r)||(e=1696),c=1,r=(r=m(m(m(g,60)+h|0,60)+u|0,1e3)+p|0)+(n=Pe(e=o[(d<<1)+e>>1]+(n+((l+(s+a|0)|0)-f|0)|0)|0,e>>31,864e5,0))|0,e=M,i[t>>2]=Pe(r,r>>>0<n>>>0?e+1|0:e,1e4,0),i[t+4>>2]=M)),c}function U(e,t,r,n){var o,a=0,s=0,l=0,u=0;O=o=O-112|0,G(r,n,o+80|0);e:{if(i[e>>2]){if(!z(e,t))break e}else{if((0|(s=i[e+8>>2]))>5|!s)break e;if(r=i[e+4>>2],n=i[e+28>>2],a=i[o+80>>2],i[o+56>>2]=1,i[o+52>>2]=r,i[o+48>>2]=a,i[o+60>>2]=i[e+12>>2],i[o+64>>2]=i[e+16>>2],i[o+68>>2]=i[e+20>>2],e=i[e+24>>2],i[o+76>>2]=0,i[o+72>>2]=e,!z(o+48|0,o+8|0)){a=0;break e}e=n+8|0,r=n+1|0,l=(0|s)<2,G(i[o+8>>2],i[o+12>>2],o+16|0),u=o;t:{if((0|n)<(0|(a=i[o+44>>2])))e=e-a|0;else{if(e=1,(0|n)<=(0|a))break t;e=r-a|0}i[u+56>>2]=e}t:if(!l&&(r=e+7|0,i[o+56>>2]=r,a=1,z(o+48|0,o+8|0)))for(;;){if(G(i[o+8>>2],i[o+12>>2],o+16|0),e=i[o+24>>2],(0|s)==(0|(a=a+1|0)))break t;if(r=r+7|0,i[o+56>>2]=r,!z(o+48|0,o+8|0))break}if(i[o+56>>2]=e,!z(o+48|0,o+8|0)){a=0;break e}e=i[o+12>>2],i[t>>2]=i[o+8>>2],i[t+4>>2]=e}a=1}return O=o+112|0,a}function V(e,t,r){var n,a=0,s=0,u=0,c=0,d=0;if(O=n=O-16|0,r&&(u=r>>31,u^=u+r))for(r=(0|r)>0?2112:2608;(a=15&u)&&(s=o[8+(a=(a<<4)+r|0)>>1],d=j(g[e>>3],g[a>>3],n),t=t+s|0,o[n+14>>1]<=0?(a=l[n+6>>1],s=l[n+8>>1]):(s=i[n+4>>2],a=l[n+6>>1]<<1,o[n+6>>1]=a,c=i[n+8>>2],i[n+12>>2]=i[n+12>>2]<<1|c>>>31,s=c<<1|s>>>31,i[n+8>>2]=s,t=t+-1|0),(65535&a|1&s|0!=(0|d))>>>0<32769||(s=(a=i[n+8>>2])+1|0,i[n+8>>2]=s,s>>>0>=a>>>0||(s=(a=i[n+12>>2])+1|0,i[n+12>>2]=s,s>>>0>=a>>>0||(i[n+12>>2]=-2147483648,t=t+1|0))),a=i[n+12>>2],i[e>>2]=i[n+8>>2],i[e+4>>2]=a),r=r+240|0,u>>=4;);return O=n+16|0,t}function j(e,t,r){var n,i,a,s=0,l=0,c=0,d=0,h=0,g=0,f=0,v=0,b=0,y=0,S=0,C=0;return p(+t),d=0|u(1),h=65535&(l=0|u(0)),p(+e),y=0|u(1),s=0|u(0),c=y,i=m(v=65535&s,h),o[r>>1]=i,a=((65535&(S=m(b=s>>>16,h)))+(i>>>16)|0)+(65535&(f=m(l>>>=16,v)))|0,o[r+2>>1]=a,S=(((g=((65535&(s=m(n=65535&c,h)))+(S>>>16)|0)+(f>>>16)|0)+(65535&(f=m(l,b)))|0)+(65535&(C=m(y=65535&d,v)))|0)+(a>>>16)|0,o[r+4>>1]=S,f=(((((((65535&(g=m(d>>>=16,v)))+(s>>>16)|0)+(65535&(c=m(s=c>>>16,h)))|0)+(f>>>16)|0)+(C>>>16)|0)+(65535&(h=m(y,b)))|0)+(65535&(v=m(l,n)))|0)+(S>>>16)|0,o[r+6>>1]=f,b=((((((C=(c>>>16)+(g>>>16)|0)+(65535&(c=m(d,b)))|0)+(h>>>16)|0)+(v>>>16)|0)+(65535&(g=m(s,l)))|0)+(65535&(l=m(y,n)))|0)+(f>>>16)|0,o[r+8>>1]=b,g=((l=(((65535&(h=m(d,n)))+(c>>>16)|0)+(g>>>16)|0)+(l>>>16)|0)+(65535&(c=m(s,y)))|0)+(b>>>16)|0,o[r+10>>1]=g,s=(((65535&(d=m(s,d)))+(h>>>16)|0)+(c>>>16)|0)+(g>>>16)|0,o[r+12>>1]=s,o[r+14>>1]=(s>>>16)+(d>>>16),65535&(i|a|S)}function q(e){var t,r,n=0,o=0,a=0,s=0,l=0,c=0;return O=t=O-16|0,g[t+8>>3]=e,p(+e),n=0|u(1),o=0|u(0),r=n,(n&=2146435072)&&(i[t+8>>2]=o<<11,i[t+12>>2]=r<<11|o>>>21|-2147483648,s=(n=m(o=(n>>>20)-1022|0,39457)>>17)-14|0,a=V(t+8|0,o,14-n|0),o=i[t+8>>2],(0|a)>=(0|(h[t+12>>2]<(o>>>0<2147477094?-1243209483:-1243209484)>>>0?48:47))||(a=V(t+8|0,a,1),o=i[t+8>>2],s=n+-15|0),n=s,s=(s=o)+(o=-2147483648>>>(31&a))|0,i[t+8>>2]=s,s>>>0>=o>>>0||(c=(l=i[t+12>>2])+1|0,i[t+12>>2]=c,c>>>0>=l>>>0||(i[t+12>>2]=-2147483648,a=a+1|0)),i[t+8>>2]=s&0-(o<<1),a=V(t+8|0,a,n),3071&(n=i[t+8>>2])?(o=n+1024|0,i[t+8>>2]=o,n>>>0<4294966272||(s=(n=i[t+12>>2])+1|0,i[t+12>>2]=s,a=(s>>>0<n>>>0)+a|0)):o=n,(0|a)<=-1023?(i[t+8>>2]=0,i[t+12>>2]=0):(0|(n=1071644672+(a<<20)|0))<=-1||(a=i[t+12>>2],i[t+8>>2]=a<<21|o>>>11,i[t+12>>2]=a>>>11&1048575|n|-2147483648&r),e=g[t+8>>3]),O=t+16|0,e}function $(e){var t;return t=i[966],i[966]=e,t}function Q(){var e,t,r;return e=i[964],t=i[965],ee(1048576),ee(2146435072),o[1931]<0?(i[964]=e,i[965]=t,-2147483648):(r=de(),i[964]=e,i[965]=t,-2147483648^r)}function X(e){var t,r=0,n=0,o=0,i=0;if(p(+e),r=0|u(1),t=0|u(0),i=r,o=0,!((r=2047&(n=r>>>20))>>>0<1023||(o=e,r>>>0>1075))){if(n=-1<<(19-n&31),r>>>0>=1044)return c(0,n&t),c(1,0|i),+d();i&=n,c(0,0),c(1,0|i),o=+d()}return o}function Y(e){var t=0,r=0,n=0;if(e+307>>>0<=615)return i[964]=0,i[965]=-2147483648,n=V(3856,1,e),r=i[964],e=i[965],3071&r&&(t=i[965],(e=i[964]+1024|0)>>>0<1024&&(t=t+1|0),i[964]=e,i[965]=t,r=e,e=t),i[964]=e<<21|r>>>11,void(i[965]=1071644672+(e>>>11&1048575|n<<20));(0|e)>=309&&(i[966]=1),i[964]=0,i[965]=0}function J(e,t,r,n){var a=0,s=0,u=0;e:{t:{r:{n:{if(!n){if(l[e>>1]<=52)break n;break t}if(!((0|n)<1)&&(0|n)<15)break r}return i[t>>2]=1,void(i[r>>2]=0)}if(l[(n<<1)+e>>1]<=52)break e;for(;;){if(u=l[(s=((a=n+-1|0)<<1)+e|0)>>1]+1|0,o[s>>1]=u,58!=(65535&u))break e;if(!(n=a))break}}return o[e>>1]=49,i[t>>2]=i[t>>2]+1,void(i[r>>2]=1)}for(;t=n,(0|n)>=2&&48==l[((n=t+-1|0)<<1)+e>>1];);i[r>>2]=t}function Z(){var e=0,t=0,r=0;e:{if(r=i[964],t=-65536&(e=i[965])){if(2146435072==(2146435072&e))return i[966]=1,void ve();if((0|t)<1)break e}return void ve()}ve(),(0|r)==i[964]&&i[965]==(0|e)||re(1)}function ee(e){g[482]=te(g[482],e)}function te(e,t){var r;return p(+(e+=t)),r=0|u(1),u(0),2146435072==(2146435072&r)&&(i[966]=1,e=g[396]),e}function re(e){g[482]=ne(g[482],e)}function ne(e,t){var r;return p(+(e-=t)),r=0|u(1),u(0),2146435072==(2146435072&r)&&(i[966]=1,e=g[396]),e}function oe(e){g[482]=ie(g[482],e)}function ie(e,t){var r,n=0,o=0,a=0;return p(+e*t),n=0|u(1),r=0|u(0),0|2146435072!=(0|(o=2146435072&n))?(a=(o=!(o|a))?i[792]:r,n=o?i[793]:n,c(0,0|a),c(1,0|n),+d()):(i[966]=1,n=i[793],c(0,i[792]),c(1,0|n),+d())}function ae(e){g[482]=se(g[482],e)}function se(e,t){var r=0,n=0,o=0,a=0;if(p(+t),r=0|u(1),u(0),2146435072&r){if(n=1,p(+e/t),r=0|u(1),o=0|u(0),!(!0&2146435072==(0|(a=2146435072&r))))return o=(n=!(0|a))?i[792]:o,r=n?i[793]:r,c(0,0|o),c(1,0|r),+d()}else n=4;return i[966]=n,r=i[793],c(0,i[792]),c(1,0|r),+d()}function le(e){g[482]=e>>>0}function ue(e){g[482]=0|e}function ce(){var e,t;e=+I(+g[482]),g[482]=e,p(+e),t=0|u(1),u(0),2146435072==(2146435072&t)&&(i[966]=8)}function de(){return pe(g[482])}function pe(e){var t,r=0,n=0,o=0,i=0;return p(+e),i=1106247680==(0|(o=2146435072&(r=0|u(1))))&i>>>0<0|o>>>0<1106247680,t=r&=2147483647,c(0,0|(n=0|u(0))),c(1,0|r),(e=+d())<0x10000000000000000&e>=0?(o=f(e)>=1?e>0?~~b(y(e/4294967296),4294967295)>>>0:~~S((e-+(~~e>>>0>>>0))/4294967296)>>>0:0,r=~~e>>>0):(o=0,r=0),n=i?r:n,!(r=i?o:t)&n>>>0<4294967295|r>>>0<0?n:-1}function he(){return ge(g[482])}function ge(e){var t=0,r=0;return p(+e),t=0|u(1),u(0),r=1105199104==(0|(t&=2145386496))&r>>>0<0|t>>>0<1105199104,t=f(e)<2147483648?~~e:-2147483648,r?t:-2147483648}function me(){var e,t;e=+C(+g[482]),g[482]=e,p(+e),t=0|u(1),u(0),2146435072==(2146435072&t)&&(i[966]=8)}function fe(){var e,t;e=+R(+g[482]),g[482]=e,p(+e),t=0|u(1),u(0),2146435072==(2146435072&t)&&(i[966]=8)}function ve(){g[482]=X(g[482])}function be(){var e,t;e=+D(+g[482]),g[482]=e,p(+e),t=0|u(1),u(0),2146435072==(2146435072&t)&&(i[966]=1)}function ye(e,t,r){return function(e,t,r){var n=0,s=0,c=0,d=0;if(n=a[r+30|0]){for(s=r;d=10*d+ +(0|Ne[i[i[e>>2]+4>>2]](e,l[s>>1])),s=s+2|0,c=(0|n)>1,n=n+-1|0,c;);if(p(+d),n=0|u(1),e=0|u(0),i[t>>2]=e<<11,i[t+4>>2]=2147481600&((2097151&n)<<11|e>>>21)|e>>>21|-2147483648,n=V(t,(n>>>20&2047)-1022|0,((32767&l[r+32>>1])-a[r+30|0]|0)-16384|0),3071&(s=i[t>>2])?(e=s+1024|0,i[t>>2]=e,s>>>0<4294966272||(c=(s=i[t+4>>2])+1|0,i[t+4>>2]=c,n=(c>>>0<s>>>0)+n|0)):e=s,!((0|n)<=-1022))return(0|(s=1071644672+(n<<20)|0))<0?1:(n=i[t+4>>2],i[t>>2]=n<<21|e>>>11,i[t+4>>2]=-2147483648&o[r+32>>1]|s|n>>>11&1048575,0)}return i[t>>2]=0,i[t+4>>2]=0,0}(e,t,r)}function Se(e,t,r,a){!function(e,t,r,a){var s,c,d=0,h=0,f=0,v=0,b=0,y=0,S=0,C=0,T=0,k=0;O=s=O-16|0,g[s+8>>3]=e,c=t,p(+e),h=0|u(1),f=0|u(0),v=d=h;e:if(h=2146435072&d){if(h=m(b=(h>>>20)-1022|0,39457)>>17,o[r+32>>1]=h+16385|d>>>16&32768,(0|a)<=14){if((0|(a=1+(a+h|0)|0))<=-1){n[r+30|0]=0,o[r+32>>1]=0,o[t+2>>1]=0,t=0;break e}a=(0|a)<15?a:15}if(i[s+8>>2]=f<<11,i[s+12>>2]=v<<11|f>>>21|-2147483648,(0|(d=V(s+8|0,b,-1^h)))>=1)for(f=r+32|0;h=l[f>>1],o[f>>1]=h+1&32767|32768&h,(0|(d=V(s+8|0,d,-1)))>0;);if(d?(h=(f=i[s+12>>2])>>>(v=0-d|0),i[s+12>>2]=h,d=f<<d+32|i[s+8>>2]>>>v,i[s+8>>2]=d):(d=i[s+8>>2],h=i[s+12>>2]),d=(f=h>>>0<(d>>>0<2576980377?429496730:429496729)>>>0?922:9223)+d|0,i[s+8>>2]=d,d>>>0<f>>>0&&(h=h+1|0,i[s+12>>2]=h),(0|a)<1)f=r;else{for(y=d>>>16,S=l[s+14>>1],C=r+32|0,k=15==(0|a),f=r,v=1;;){b=a;t:{r:{for(;;){if(a=m(y,10)+(m(65535&d,10)>>>16)>>>16,T=m(S,10)+(a+m(65535&h,10)>>>16)>>>16|48,o[f>>1]=T,S=(h=a+m(h,10)|0)>>>16,y=(d=m(d,10))>>>16,1&(-1^v|48!=(0|T)))break r;if(a=l[C>>1],o[C>>1]=a+-1&32767|32768&a,!k)break}v=1;break t}f=f+2|0,v=0}if(a=b+-1|0,!((0|b)>1))break}i[s+12>>2]=h,i[s+8>>2]=d}d=(a=f-r|0)>>1;t:{if((0|a)<=29){if((0|h)<=-1){o[f>>1]=57,h=d+1|0;break t}o[f>>1]=48}for(;;){if(h=d,(0|d)<1)break t;if(d=h+-1|0,48!=l[(f=f+-2|0)>>1])break}}n[r+30|0]=h,o[t+2>>1]=h,t=(32767&l[r+32>>1])-16384|0}else n[r+30|0]=0,o[r+32>>1]=0,o[t+2>>1]=0,t=0;o[c>>1]=t,O=s+16|0}(e,t,r,a)}function Ce(e,t,r,n){var o,a=0,s=0,l=0,u=0,c=0,d=0,p=0;c=i[t+4>>2],o=i[t>>2],u=l,l=i[e>>2],e=Pe(o,u,a=i[e+4>>2],t=0),s=M,a=Pe(u=c,c=0,a,t),t=M+d|0,t=(s=s+a|0)>>>0<a>>>0?t+1|0:t,a=s,d=t,t=Pe(u,c,s=l,0),u=(l=a)+(a=M)|0,l=d,l=u>>>0<a>>>0?l+1|0:l,a=0,d=Pe(o,p,s,c),e=(s=(p=M)+e|0)>>>0<p>>>0?a+1|0:a,c=t,s=t+s|0,t=e,e=u,u=t=s>>>0<c>>>0?t+1|0:t,(t=e+t|0)>>>0<u>>>0&&(l=l+1|0),i[r>>2]=t,i[r+4>>2]=l,i[n>>2]=d,i[n+4>>2]=s}function Te(e){return ne(g[482],e)}function ke(e,t){g[482]=ne(e,t)}function Fe(e){return ie(g[482],e)}function Ee(e){return se(g[482],e)}function Ae(e){g[482]=se(e,g[482])}function Ie(e,t){g[482]=se(e,t)}function T(){_(1),T()}function xe(e,t){var r,n;r=0|e,n=0|t,s[0]=r,s[1]=n}function we(e,t,r,n){var o=0,i=0,a=0,s=0,l=0,u=0,c=0,d=0,p=0,h=0;e:{t:{r:{n:{o:{i:{a:{s:{l:{u:{if(a=t){if(!(o=r))break u;if(!(i=n))break l;if((o=v(i)-v(a)|0)>>>0<=31)break s;break t}if(1==(0|n)&r>>>0>=0|n>>>0>1)break t;return xe(e-m(t=(e>>>0)/(r>>>0)|0,r)|0,0),M=0,t}if(o=n,!e)break a;if(!o)break i;if((i=o+-1|0)&o)break i;return xe(e,a&i),e=a>>>(31&_e(o)),M=0,e}if(!((i=o+-1|0)&o))break o;u=0-(l=(v(o)+33|0)-v(a)|0)|0;break r}l=o+1|0,u=63-o|0;break r}return xe(0,a-m(e=(a>>>0)/(o>>>0)|0,o)|0),M=0,e}if((o=v(o)-v(a)|0)>>>0<31)break n;break t}if(xe(e&i,0),1==(0|o))break e;return n=e,e=31&(r=_e(o)),32<=(63&r)>>>0?(o=0,e=t>>>e):(o=t>>>e,e=((1<<e)-1&t)<<32-e|n>>>e),M=o,e}l=o+1|0,u=63-o|0}if(i=t,p=e,a=31&(o=63&l),32<=(63&o)>>>0?(o=0,s=i>>>a):(o=i>>>a,s=((1<<a)-1&i)<<32-a|p>>>a),i=o,a=e,e=31&(o=63&u),32<=(63&o)>>>0?(o=a<<e,e=0):(o=(1<<e)-1&a>>>32-e|t<<e,e=a<<e),t=o,l)for(o=n+-1|0,(a=r+-1|0)>>>0<4294967295&&(o=o+1|0),u=o;o=i<<1|s>>>31,i=s<<1,p=o,o=(s=u-((a>>>0<(i|=t>>>31)>>>0)+o|0)|0)>>31,s=(d=i)-(i=r&(c=s>>31))|0,i=p-((n&o)+(d>>>0<i>>>0)|0)|0,o=t<<1|e>>>31,e=h|e<<1,t=0|o,d=0,h=c&=1,l=l+-1|0;);return xe(s,i),M=(o=t<<1|e>>>31)|d,c|e<<1}xe(e,t),e=0,t=0}return M=t,e}function Pe(e,t,r,n){return e=function(e,t,r,n){var o,i,a,s,l=0,u=0;return s=m(l=r>>>16,u=e>>>16),l=(65535&(u=((a=m(o=65535&r,i=65535&e))>>>16)+m(u,o)|0))+m(l,i)|0,e=(((m(t,r)+s|0)+m(e,n)|0)+(u>>>16)|0)+(l>>>16)|0,M=e,65535&a|l<<16}(e,t,r,n),e}function Re(e,t,r,n){return e=function(e,t,r,n){var o=0,i=0;return r=we((e^=o=t>>31)-o|0,i=((i=t>>31)^t)-((e>>>0<o>>>0)+i|0)|0,(r^=e=n>>31)-e|0,((o=n>>31)^n)-((r>>>0<e>>>0)+o|0)|0),M=((e=(t^=n)>>31)^M)-(((r^=t>>=31)>>>0<t>>>0)+e|0)|0,r-t|0}(e,t,r,n),e}function De(e,t,r,n){return we(e,t,r,n),t=0|("function"==typeof setTempRet0&&setTempRet0(s[1]),s[0]),e=0|N(),M=e,0|t}function _e(e){return e?31-v(e+-1^e)|0:32}var Ne=[null,function(e,t){return 0!=(0|k(0|(t|=0)))|0},function(e,t){return 0|F(0|(t|=0))},function(e){return 0|E()},function(e,t){return(t|=0)-48|0},B];return{memory:Object.create(Object.prototype,{grow:{},buffer:{get:function(){return r}}}),Base_StrBuf:function(){return 3280},Base_StrBufSize:function(){return 255},Dtr_DaysPerMonth:function(e,t,r){return 0|function(e,t,r){var n=0;n=3&t;e:if(r){if(n|(0|t)<2100)break e;n=!((t>>>0)%100)&0!=((t>>>0)%400|0)}else n||(n=!((0|t)%100)&0!=((0|t)%400|0));return a[1232+(((m(n,12)+e|0)-1|0)%48|0)|0]}(e|=0,t|=0,0!=(0|(r|=0)))},Dtr_FromNum:function(e,t,r,n,s){return e=+e,t|=0,n|=0,s|=0,r=m(r|=0,20)+3792|0,o[r>>1]=0,t=function(e,t,r,n,s){var h=0,f=0,v=0,b=0,y=0,S=0,C=0,T=0,k=0;e:if(!l[e>>1]){if(g[482]=t,p(+t),h=0|u(1),v=0|u(0),S=h,k=-65536&h)if(2146435072!=(2146435072&h)){if(!((0|k)>=1))return-2147467259}else i[966]=1;y=i[812],b=-1;t:{if(!((0|h)<(0|(f=C=i[813]))||(b=1,(0|h)>(0|f)))){if((0|y)==(0|(f=v)))break t;b=f>>>0<y>>>0?-1:1}if(f=-2147467259,1==(0|((S&C)>-1?b:0-b|0)))break e}t:{if(y=i[814],C=f=i[815],b=-1,!((0|h)<(0|f)||(b=1,(0|h)>(0|C)))){if((0|v)==(0|y))break t;b=v>>>0<y>>>0?-1:1}if(y=b,-1==(0|((f&S)>-1?y:0-y|0)))return-2147467259}t:{r:{if(!(s|!k))if(2146435072!=(2146435072&h)){if((0|k)<1)break r}else i[966]=1;ee(g[i[1216+(r<<2)>>2]>>3]),T=g[482];break t}Z(),re(t),v=S=i[965],c(0,0|(h=i[964])),c(1,0|v),T=+d(),i[792]==(0|h)&&i[793]==(0|v)||(f=i[965])>>>0<65536||(i[965]=-2147483648^f,p(+(T=g[482])),v=0|u(1),h=0|u(0)),S=v,y=v,v=i[1216+(r<<2)>>2],C=i[v+4>>2],f=i[v>>2],b=-1;r:{if(!((0|y)<(0|(v=C))||(b=1,(0|y)>(0|v)))){if((0|h)==(0|f)){g[482]=t;break r}b=h>>>0<f>>>0?-1:1}if(y=b,g[482]=t,-1==(0|((S&C)>-1?y:0-y|0)))break t}re(g[395])}if(o[e+18>>1]=r,h=he(),f=-2147467259,!$(0)){if(n){if((0|h)>2957003)break e;h=h+1462|0}else if(h+4346018>>>0>7304483)break e;if(o[e+14>>1]=1+((h+6|0)%7|0),!s|h)if(h){if((0|h)<=-1?(v=-4-((n=(-1^h)/1461|0)<<2)|0,f=1461+(m(n,1461)+h|0)|0):(v=(n=(h+-1|0)/1461|0)<<2,f=m(n,-1461)+h|0),!(s&&(0|v)<=199))if((0|(f=(((0|(n=v+-101|0))/100|0)-((0|n)/400|0)|0)+f|0))>=1462){h=3&(n=v+1900|0);t:if(s){if(h|(0|v)<200)break t;h=!((n>>>0)%100)&0!=((n>>>0)%400|0)}else h||(h=!((0|n)%100)&0!=((0|n)%400|0));v=v+4|0,f=(12==(0|m(h,12))?-1460:-1461)+f|0}else(0|f)>0||(v=v+-4|0,f=f+1461|0);h=3&(n=v+1900|0);t:if(s){if(h|(0|v)<200)break t;h=!((n>>>0)%100)&0!=((n>>>0)%400|0)}else h||(h=!((0|n)%100)&0!=((0|n)%400|0));for(h=S=m(h,12);s=h,h=h+1|0,(0|(f=(n=f)-a[s+1232|0]|0))>0;);s=((f=s)-((0|S)<(0|(s=s+-11|0))?S:s)>>>0)/12|0,o[e>>1]=1900+(s+v|0),o[e+2>>1]=(m(s,-12)+h|0)-S}else i[e>>2]=788331,n=30;else i[e>>2]=67436;if(i[e+4>>2]=n,g[482]=T,ve(),(n=i[965])>>>0>=65536&&(i[965]=-2147483648^n),ee(T),oe(g[400]),t=g[482],n=de(),o[e+8>>1]=n,le(n<<16>>16),(n=i[965])>>>0>=65536&&(i[965]=-2147483648^n),ee(t),oe(g[401]),t=g[482],n=de(),o[e+10>>1]=n,le(n<<16>>16),(n=i[965])>>>0>=65536&&(i[965]=-2147483648^n),ee(t),oe(g[401]),!r)return r=de(),o[e+16>>1]=0,o[e+12>>1]=r,0;t=g[482],n=de(),o[e+12>>1]=n,le(n<<16>>16),(n=i[965])>>>0>=65536&&(i[965]=-2147483648^n),ee(t),oe(g[i[1312+(r<<2)>>2]>>3]),g[482]=q(g[482]),o[e+16>>1]=de(),f=0}}return f}(r,e,t,0!=(0|n),0!=(0|s)),i[966]=0,0|t},Dtr_Yr:function(e){return o[m(e|=0,20)+3792>>1]},Dtr_Mon:function(e){return o[m(e|=0,20)+3794>>1]},Dtr_DOM:function(e){return i[m(e|=0,20)+3796>>2]},Dtr_Hour:function(e){return o[m(e|=0,20)+3800>>1]},Dtr_Min:function(e){return o[m(e|=0,20)+3802>>1]},Dtr_Sec:function(e){return o[m(e|=0,20)+3804>>1]},Dtr_Wdy:function(e){return o[m(e|=0,20)+3806>>1]},Dtr_FracSec:function(e){return o[m(e|=0,20)+3808>>1]},Dtr_Rounding:function(e){return o[m(e|=0,20)+3810>>1]},Dtr_Write:function(e,t,r,n,a,s,l,u,c,d){e|=0,t|=0,r|=0,n|=0,a|=0,s|=0,l|=0,u|=0,c|=0,d=m(d|=0,20),o[d+3810>>1]=c,o[d+3808>>1]=u,o[d+3806>>1]=l,o[d+3804>>1]=s,o[d+3802>>1]=a,o[d+3800>>1]=n,i[d+3796>>2]=r,o[d+3794>>1]=t,o[d+3792>>1]=e},Dtr_ToNum:function(e,t,r){return e|=0,t|=0,r|=0,i[964]=0,i[965]=0,function(e,t,r){var n,a=0;O=n=O-16|0;e:{t:{r:{if((l[e+2>>1]+-32767&65535)>>>0>1){if(o[e+18>>1]>=1?(ue(o[e+16>>1]),a=Ee(g[i[1312+(o[e+18>>1]<<2)>>2]>>3]),ue(o[e+12>>1]),ee(a)):ue(o[e+12>>1]),a=Ee(g[401]),ue(o[e+10>>1]),ee(a),a=Ee(g[401]),ue(o[e+8>>1]),ee(a),a=Ee(g[400]),!((0|H(e,t,r,n+12|0))<0)){if(e=i[n+12>>2],!t)break r;if(ue(e+-1462|0),!((0|e)<1462)){if(!(t=-65536&(e=i[965])))break t;if(2146435072==(2146435072&e)){i[966]=1;break t}if((0|t)>=1)break t}}i[964]=0,i[965]=0}i[964]=0,i[965]=0,$(8);break e}le(e)}ee(a)}O=n+16|0}(m(e,20)+3792|0,0!=(0|t),0!=(0|r)),+g[482]},Dtr_ToNumWithDuration:function(e,t,r,n,a){return e|=0,t|=0,r|=0,n|=0,a|=0,i[964]=0,i[965]=0,function(e,t,r,n,a){var s,u=0;O=s=O-16|0;e:{t:{r:{if((l[e+2>>1]+-32767&65535)>>>0>1){n:if(o[e+18>>1]>=1){if(ue(o[e+16>>1]),ae(g[i[1312+(o[e+18>>1]<<2)>>2]>>3]),u=g[482],2==(0|a)){g[482]=n,ee(u);break n}ue(o[e+12>>1]),ee(u)}else 2!=(0|a)?ue(o[e+12>>1]):g[482]=n;if(ae(g[401]),u=g[482],1!=(0|a)?ue(o[e+10>>1]):g[482]=n,ee(u),ae(g[401]),u=g[482],a?ue(o[e+8>>1]):g[482]=n,ee(u),ae(g[400]),n=g[482],!((0|H(e,t,r,s+12|0))<0)){if(e=i[s+12>>2],!t)break r;if(ue(e+-1462|0),!((0|e)<1462)){if(!(t=-65536&(e=i[965])))break t;if(2146435072==(2146435072&e)){i[966]=1;break t}if((0|t)>=1)break t}}i[964]=0,i[965]=0}i[964]=0,i[965]=0,$(8);break e}le(e)}ee(n)}O=s+16|0}(m(e,20)+3792|0,0!=(0|t),0!=(0|r),+(0|a),n),+g[482]},Dtr_Days:function(){return i[963]},Dtr_ToDays:function(e,t,r){return t|=0,r|=0,0|H(m(e|=0,20)+3792|0,0!=(0|t),0!=(0|r),3852)},Dtr_ToTime:function(e,t,r){return function(e,t,r){g[482]=e,ee(g[i[1216+(r<<2)>>2]>>3]);e:{if(t>>>0<=1){if(t-1)break e}else oe(g[401]);oe(g[401])}oe(g[400]),ve()}(e=+e,t|=0,r|=0),+g[482]},Dtr_UtcToLocal:function(e,t,r,n,a,s,u,c){var d;return e|=0,t|=0,r|=0,n|=0,a|=0,s|=0,u|=0,c|=0,O=d=O-32|0,i[d+24>>2]=s,i[d+16>>2]=n,i[d+8>>2]=t,i[d+20>>2]=(0|a)>-1?m(a,20)+3792|0:0,i[d+12>>2]=(0|r)>-1?m(r,20)+3792|0:0,e=function(e,t,r,n){var a,s=0;return O=a=O-32|0,function(e,t,r){var n,a=0,s=0,u=0,c=0,d=0,p=0,h=0,g=0,f=0,v=0,b=0,y=0;if(O=n=O-96|0,i[n+64>>2]=o[t>>1],i[n+68>>2]=o[t+2>>1],i[n+72>>2]=i[t+4>>2],i[n+76>>2]=o[t+8>>1],i[n+80>>2]=o[t+10>>1],i[n+84>>2]=o[t+12>>1],i[n+92>>2]=o[t+14>>1]+-1,(a=o[t+18>>1])>>>0<=3){e:{t:switch(a-1|0){case 0:a=m(o[t+16>>1],100);break e;case 1:a=m(o[t+16>>1],10);break e;case 2:break t;default:break e}a=o[t+16>>1]}i[n+88>>2]=a}t=0;e:if(z(n- -64|0,n+40|0)){if(u=Pe(u=m(i[e>>2],60),u>>31,1e7,0),d=M,(s=i[e+4>>2])&&(c=i[e+12>>2])){if(i[n+64>>2]=o[s>>1],i[n+68>>2]=o[s+2>>1],i[n+72>>2]=i[s+4>>2],i[n+76>>2]=o[s+8>>1],i[n+80>>2]=o[s+10>>1],i[n+84>>2]=o[s+12>>1],i[n+92>>2]=o[s+14>>1]+-1,(a=o[s+18>>1])>>>0<=3){t:{r:switch(a-1|0){case 0:a=m(o[s+16>>1],100);break t;case 1:a=m(o[s+16>>1],10);break t;case 2:break r;default:break t}a=o[s+16>>1]}i[n+88>>2]=a}if(i[n+8>>2]=o[c>>1],i[n+12>>2]=o[c+2>>1],i[n+16>>2]=i[c+4>>2],i[n+20>>2]=o[c+8>>1],i[n+24>>2]=o[c+10>>1],i[n+28>>2]=o[c+12>>1],i[n+36>>2]=o[c+14>>1]+-1,(a=o[c+18>>1])>>>0<=3){t:{r:switch(a-1|0){case 0:a=m(o[c+16>>1],100);break t;case 1:a=m(o[c+16>>1],10);break t;case 2:break r;default:break t}a=o[c+16>>1]}i[n+32>>2]=a}if(c=s=i[n+44>>2],!U(n- -64|0,n+56|0,a=i[n+40>>2],s))break e;if(!U(n+8|0,n+48|0,a,c))break e;f=i[n+40>>2],h=i[n+44>>2],v=u,b=e+16|0,y=e+8|0,g=(c=d)+i[n+52>>2]|0,(p=(a=u)+i[n+48>>2]|0)>>>0<a>>>0&&(g=g+1|0),s=p,p=Pe(a=m(i[e+8>>2],60),a>>31,1e7,0),a=M+g|0,g=s=s+p|0,p=a=s>>>0<p>>>0?a+1|0:a,s=d+i[n+60>>2]|0,(d=u+i[n+56>>2]|0)>>>0<u>>>0&&(s=s+1|0),u=Pe(e=m(i[e+16>>2],60),e>>31,1e7,0),e=M+s|0,e=(d=u+d|0)>>>0<u>>>0?e+1|0:e,u=d,e=Pe(e=m(i[((e=(0|a)<(0|e)||(0|a)<=(0|e)&&!(g>>>0>=u>>>0)?((0|h)<(0|e)?1:(0|h)<=(0|e)?f>>>0>=u>>>0?0:1:0)&((0|h)>(0|p)?1:(0|h)>=(0|p)?f>>>0<g>>>0?0:1:0):((0|h)<(0|e)?1:(0|h)<=(0|e)?f>>>0>=u>>>0?0:1:0)|((0|h)>(0|p)?1:(0|h)>=(0|p)?f>>>0<g>>>0?0:1:0))?b:y)>>2],60),e>>31,1e7,0),a=M+c|0,d=a=(u=v+e|0)>>>0<e>>>0?a+1|0:a}e=i[n+40>>2],a=i[n+44>>2]-(d+(e>>>0<u>>>0)|0)|0,u=e-u|0,(0|(e=a))<0||(0|e)<=0&&!(u>>>0>=0)||(G(u,e,n- -64|0),o[r>>1]=i[n+64>>2],o[r+2>>1]=i[n+68>>2],i[r+4>>2]=i[n+72>>2],t=1,o[r+14>>1]=l[n+92>>1]+1,o[r+8>>1]=i[n+76>>2],o[r+10>>1]=i[n+80>>2],o[r+12>>1]=i[n+84>>2],e=i[n+88>>2],o[r+18>>1]=3,o[r+16>>1]=e)}return O=n+96|0,t}(n,e,a+8|0)&&(n=i[a+12>>2],i[e>>2]=i[a+8>>2],i[e+4>>2]=n,i[e+16>>2]=i[a+24>>2],n=i[a+20>>2],i[e+8>>2]=i[a+16>>2],i[e+12>>2]=n,n=e,(0|H(e,t,r,a+28|0))>=0?e=1+((i[a+28>>2]+6|0)%7|0)|0:(i[a+28>>2]=-1,e=6),o[n+14>>1]=e,s=1),O=a+32|0,s}(m(e,20)+3792|0,0!=(0|u),0!=(0|c),d+8|0),O=d+32|0,0|e},Mathpack_Zero:function(){return+g[396]},Mathpack_One:function(){return+g[395]},Mathpack_Pi:function(){return+g[391]},Mathpack_Div:function(e,t){return+se(e=+e,t=+t)},Mathpack_Mul:function(e,t){return+ie(e=+e,t=+t)},Mathpack_Sub:function(e,t){return+ne(e=+e,t=+t)},Mathpack_Add:function(e,t){return+te(e=+e,t=+t)},Mathpack_Power:function(e,t){return+function(e,t){var r=0,n=0,a=0,s=0;g[482]=t,p(+t),r=0|u(1),u(0),a=r,i[965]=2147483647&r,t=g[482];e:{if(p(+Te(g[392])),65535==(0|(r=0|u(1)))&(n=0|u(0))>>>0<=4294967295|r>>>0<65535)g[482]=e,me();else if(ve(),p(+Te(t)),65535==(0|(r=0|u(1)))&(n=0|u(0))>>>0>4294967295|r>>>0>65535||-1==(0|(r=de()))){if(g[482]=e,p(+e),n=0|u(1),u(0),(0|(n=(r=n)>>>16<<16))>=1)ce(),oe(t),be();else if(!((0|n)>-1)){if(Ie(g[395],t),s=q(g[482]),g[482]=s,ve(),p(+Te(s)),65535==(0|(n=0|u(1)))&u(0)>>>0>4294967295|n>>>0>65535)break e;if(2147483647==(0|(n=he()))|!(1&n))break e;g[482]=e,i[965]=2147483647&r,ce(),oe(t),be(),(r=i[965])>>>0<65536||(i[965]=-2147483648^r)}}else g[482]=e,function(e){var t,r=0;if((t=o[1931])|e){if(!((0|t)<1)&&10==(0|de())){if(r=g[482],ve(),re(r),!l[1931])return void Y(e);g[482]=r}for(r=1;1&e&&(r=Fe(r)),e>>>=1;)oe(g[482]);g[482]=r}else i[966]=4&i[966]?4:64}(r);if(a>>>16<<16>>16<=-1){if(1&(a=i[966]))return i[964]=0,i[965]=0,i[966]=-2&a,g[482];Ae(g[395])}return g[482]}return i[966]=8,g[482]}(e=+e,t=+t)},Mathpack_Cond:function(e){var t,r;return p(+(e=+e)),t=0|u(1),u(0),(r=-65536&t)?2146435072==(2146435072&t)?(i[966]=1,0):0|((0|r)<1?-1:1):0},Mathpack_Cond2:function(e,t){t=+t;var r,n,o,i,a=0,s=0,l=0;p(+(e=+e)),a=0|u(1),r=0|u(0),n=a,i=a,p(+t),o=0|u(1),a=0|u(0),l=-1;e:{if(!((0|n)<(0|(s=o))||(l=1,(0|i)>(0|s)))){if(s=0,(0|a)==(0|r))break e;l=r>>>0<a>>>0?-1:1}a=l,s=(o&n)>-1?a:0-a|0}return 0|s},Mathpack_TakeMathError:function(){var e;return e=i[966],i[966]=0,0|e},Mathpack_Trunc:function(e){return+X(e=+e)},Mathpack_Ceil:function(e){return e=+e,g[482]=e,function(){var e=0,t=0,r=0;e:{if(r=i[964],t=-65536&(e=i[965])){if(2146435072==(2146435072&e))return i[966]=1,void ve();if((0|t)>0)break e}return void ve()}ve(),(0|r)==i[964]&&i[965]==(0|e)||ee(1)}(),+g[482]},Mathpack_Floor:function(e){return e=+e,g[482]=e,Z(),+g[482]},Mathpack_Abs:function(e){var t=0;return p(+(e=+e)),t=0|u(1),t&=2147483647,c(0,0|u(0)),c(1,0|t),+d()},Mathpack_Neg:function(e){var t,r,n,o;return p(+(e=+e)),n=-2147483648^(t=0|u(1)),c(0,0|(r=0|u(0))),c(1,0|n),o=+d(),+(65535==(0|t)&r>>>0>4294967295|t>>>0>65535?o:e)},Mathpack_Float:function(e){return+((e|=0)>>>0)},Mathpack_SFloat:function(e){return+(0|(e|=0))},Mathpack_Fix:function(e){return 0|pe(e=+e)},Mathpack_LFix:function(e){return 0|ge(e=+e)},Mathpack_SFix:function(e){return e=+e,g[482]=e,0|Q()},Mathpack_Round:function(e,t){return+function(e,t){var r,a=0,s=0,c=0,d=0;O=r=O+-64|0,i[r+56>>2]=0,o[r+46>>1]=0,o[r+48>>1]=0,g[482]=e,p(+e),a=0|u(1),u(0);e:if(s=-65536&a)if(2146435072!=(2146435072&a)){(0|s)>0||(d=32768,a>>>0<65536||(i[965]=-2147483648^a,e=g[482])),Se(e,r+56|0,r+16|0,15),l[r+58>>1]||(o[r+56>>1]=1),g[482]=t,a=(0|(a=Q()))<0?100:a;t:{if(c=-65536&(s=i[965]))if(2146435072!=(2146435072&s)){if(!((0|c)>0)){if((a=i[965])>>>0>=65536&&(i[965]=-2147483648^a),(0|(a=Q()))<=-1)break t;a=0-a|0}}else i[966]=1;(0|(c=a+(s=o[r+56>>1])|0))<(0|(a=o[r+58>>1]))&&(i[r+12>>2]=a,i[r+8>>2]=s,J(r+16|0,r+8|0,r+12|0,c),a=i[r+12>>2],o[r+58>>1]=a,s=i[r+8>>2],o[r+56>>1]=s),n[r+46|0]=a,o[r+48>>1]=s+16384&32767|d,ye(3276,3856,r+16|0),e=g[482];break e}e=g[396]}else i[966]=1;return O=r- -64|0,e}(e=+e,t=+t)},Mathpack_RoundUp:function(e,t){return+function(e,t){var r=0,n=0,o=0,a=0,s=0;if(p(+e),r=0|u(1),u(0),(n=-65536&r)&&(2146435072!=(2146435072&r)?s=(0|n)<1?-1:1:i[966]=1),o=K(e,t),g[482]=e,g[482]=q(e),re(o),(r=i[965])>>>0>=65536){if(2146435072==(2146435072&r))return i[966]=1,o;if(r=(0|(r=pe(t)<<16))<0?309:r>>16,p(+t),n=0|u(1),u(0),(a=-65536&n)&&(2146435072!=(2146435072&n)?r=(0|a)<1?0-r|0:r:i[966]=1),(0|r)<=-309)return $(8),0;Y(0-r|0),(0|s)>-1||(r=i[965])>>>0<65536||(i[965]=-2147483648^r),ee(o),o=g[482]}return o}(e=+e,t=+t)},Mathpack_RoundDown:function(e,t){var r;return p(+(e=K(e=+e,t=+t))),r=0|u(1),u(0),2146435072==(2146435072&r)&&(i[966]=1,e=-1),+e},Mathpack_TenTo:function(e){return Y(e|=0),+g[482]},Mathpack_Compare:function(e,t){return+(0|function(e,t){var r,n=0,o=0,a=0,s=0,l=0;O=r=O-16|0,g[r+8>>3]=e,g[r>>3]=t,p(+e),n=0|u(1),o=0|u(0),a=n,p(+t),l=n=0|u(1);e:{if((0|o)!=(0|(s=0|u(0)))||(0|a)!=(0|n)){if((l+2097152&2146435072)-(2146435072&a)>>>0<=5242879&&(e=q(e),g[r+8>>3]=e,p(+e),n=0|u(1),u(0),a=n,e=q(t),g[r>>3]=e,p(+e),n=0|u(1),u(0),l=n),n=1,(0|(a=i[(s=(o=(l&a)>-1)?r+8|0:r)+4>>2]))>(0|(l=i[(o=o?r:r+8|0)+4>>2])))break e;if((0|a)<(0|l)){n=-1;break e}if((s=i[s>>2])>>>0>(o=i[o>>2])>>>0)break e;if(n=-1,s>>>0<o>>>0)break e}n=0}return O=r+16|0,n}(e=+e,t=+t))},Mathpack_GetExp32:function(e){var t;return p(+(e=+e)),t=0|u(1),u(0),2146435072&t},Mathpack_Equal:function(e,t){t=+t;var r,n,o=0;return p(+(e=+e)),o=0|u(1),r=0|u(0),p(+t),n=0|u(1),0|((0|r)==(0|u(0))?(0|o)==(0|n):0)},Mathpack_ViewRound:function(e){var t;return p(+(e=+e)),t=0|u(1),u(0),2146435072==(2146435072&t)?(i[966]=1,-1):+q(e)},Mathpack_Sqrt:function(e){return e=+e,g[482]=e,me(),+g[482]},Mathpack_Exp:function(e){return e=+e,g[482]=e,be(),+g[482]},Mathpack_Ln:function(e){return e=+e,g[482]=e,ce(),+g[482]},Mathpack_Log:function(e){return e=+e,g[482]=e,function(){var e,t;e=+A(+g[482]),g[482]=e,p(+e),t=0|u(1),u(0),2146435072==(2146435072&t)&&(i[966]=8)}(),+g[482]},Mathpack_Sin:function(e){return e=+e,g[482]=e,function(){var e=0,t=0;p(+(t=g[482])),e=0|u(1),u(0),1101004799==(0|(e&=2145386496))&!0|e>>>0<1101004799&&(t=+x(+t),g[482]=t,p(+t),e=0|u(1),u(0),2146435072!=(2146435072&e))||(i[966]=8)}(),+g[482]},Mathpack_Cos:function(e){return e=+e,g[482]=e,function(){var e=0,t=0;p(+(t=g[482])),e=0|u(1),u(0),1101004799==(0|(e&=2145386496))&!0|e>>>0<1101004799&&(t=+w(+t),g[482]=t,p(+t),e=0|u(1),u(0),2146435072!=(2146435072&e))||(i[966]=8)}(),+g[482]},Mathpack_Tan:function(e){return e=+e,g[482]=e,function(){var e=0,t=0,r=0;r=8,p(+(t=g[482])),e=0|u(1),u(0),1101004799==(0|(e&=2145386496))&!0|e>>>0<1101004799&&(t=+P(+t),g[482]=t,r=4,p(+t),e=0|u(1),u(0),2146435072!=(2146435072&e))||(i[966]=r)}(),+g[482]},Mathpack_Asin:function(e){return+W(e=+e,0)},Mathpack_Acos:function(e){return+W(e=+e,1)},Mathpack_Atan:function(e){return e=+e,g[482]=e,fe(),+g[482]},Mathpack_Atan2:function(e,t){return+function(e,t){var r=0,n=0,o=0,a=0,s=0;g[482]=e;e:{if(p(+e),r=0|u(1),u(0),r>>>0>=65536){if(2146435072!=(2146435072&r))break e;i[966]=1}g[482]=t;t:{if(p(+t),r=0|u(1),u(0),n=-65536&r){if(2146435072!=(2146435072&r))break t;i[966]=1}return $(4),0}return ue((0|n)<1?-1:1),oe(g[391]),ae(g[393]),g[482]}e:if((0|r)<=-1){p(+t),r=0|u(1),u(0);t:{if(n=-65536&r)if(2146435072!=(2146435072&r)){if((0|n)<1)break t}else i[966]=1;o=g[391];break e}p(+(o=g[391])),a=-2147483648^(r=0|u(1)),c(0,0|(n=0|u(0))),c(1,0|a),s=+d(),o=65535==(0|r)&n>>>0>4294967295|r>>>0>65535?s:o}else o=g[396];return Ie(t,e),fe(),ee(o),g[482]}(e=+e,t=+t)},Mathpack_Mod:function(e,t){return+function(e,t){var r,n=0,o=0,a=0,s=0,h=0,f=0,v=0,b=0,y=0,S=0,C=0,T=0,k=0,F=0,E=0,A=0,I=0,x=0,w=0,P=0,R=0,D=0,_=0,N=0,B=0,L=0,K=0,W=0;O=r=O+-64|0,g[482]=e,p(+e),n=0|u(1),u(0),(F=-65536&n)&&(2146435072!=(2146435072&n)?K=(0|F)<1?-1:1:i[966]=1),i[965]=2147483647&n,p(+t),n=0|u(1),F=0|u(0),a=n;e:{t:{if(P=-65536&n){if(2146435072!=(2146435072&n))break t;i[966]=1}$(4),e=0;break e}h=n=2147483647&a,c(0,0|F),c(1,0|n),e=+d(),p(+(t=g[482])),n=0|u(1),o=0|u(0),C=n;t:{r:{f=n,_=h;n:if(!((0|n)<(0|h))){o:{if((0|f)<=(0|_)){if((0|(n=o))==(0|(f=F)))break o;if(n>>>0<f>>>0)break n}if(ke(R=X(Ee(e)),g[390]),(f=-65536&(n=i[965]))&&(2146435072!=(2146435072&n)?s=(0|f)<1:i[966]=1),i[966]){$(0);break r}if(!s)break r;if(n=2147483647&a,c(0,-134217728&F),c(1,0|n),ke(e,N=+d()),(n=i[965])|i[964]&&!(2146435072&n))break r;W=Fe(R),g[482]=ie(R,N),(n=i[965])>>>0>=65536&&(i[965]=-2147483648^n),ee(t),re(W);break n}i[964]=0,i[965]=0}if(n=i[964],a=i[792],b=s=i[965],o=-1,!((0|s)<(0|(h=f=i[793]))||(o=1,(0|b)>(0|h)))){if((0|n)==(0|a))break t;o=n>>>0<a>>>0?-1:1}if(-1!=(0|((s&f)>-1?o:0-o|0)))break t;ee(e);break t}Ie(t,e),i[965]=2147483647&i[965];r:{if(n=i[964],f=i[816],A=S=i[965],y=b=i[817],s=-1,!((0|S)<(0|b)||(s=1,(0|A)>(0|y)))){if((0|n)==(0|f))break r;s=n>>>0<f>>>0?-1:1}if(-1==(0|((b&S)>-1?s:0-s|0))){if(f=0,s=0,S=n=F,Pe(0-n&n,0-((0<n>>>0)+(a=b=1048575&a|1048576)|0)&a,-1261761911,66559345),b=31&(n=A=l[1088+(M>>>26<<1)>>1]),32<=(63&n)>>>0?(n=0,b=a>>>b):(n=a>>>b,b=((1<<b)-1&a)<<32-b|S>>>b),S=n,a=o,n=1048575&C|1048576,(0|(I=A-(T=(C>>>20&2047)-(B=h>>>20)|0)|0))>=1&&(y=31&(o=64-I|0),C=a,32<=(63&o)>>>0?(o=0,y=-1>>>y):(o=-1>>>y,y=(1<<y)-1<<32-y|-1>>>y),a=(E=a)-(y=x=y&a)|0,n=(h=n)-((D=n&o)+(C>>>0<y>>>0)|0)|0),C=r,E=r,h=o=(h=(h=i[1056+((o=b)<<1&28)>>2])-m(h,m(o,h)+-1&240)&255)|0-m(h,m(o,h)+-1&65280)&65280,y=Pe(b,S,o,0),v=M+-1|0,(y=y+-1|0)>>>0<4294967295&&(v=v+1|0),h=Pe(-65536&y,v,o=0-o|0,o>>31)|h,v=Pe(h,y=M,b,S),o=M+-1|0,w=(o=Pe(0,v+-1>>>0<4294967295?o+1|0:o,h,y))-h|0,i[E+56>>2]=w,y=M-((o>>>0<h>>>0)+y|0)|0,i[C+60>>2]=y,i[r+48>>2]=b,i[r+52>>2]=S,Ce(r+56|0,r+48|0,r+8|0,r+40|0),v=i[r+12>>2],(h=i[r+8>>2]+1|0)>>>0<1&&(v=v+1|0),i[r+8>>2]=h,i[r+12>>2]=v,h=De(0-(o=b)|0,0-((0<o>>>0)+S|0)|0,o,S),C=M,v=31&(o=(0|(T=(T-A|0)- -64|0))%64|0),32<=(63&o)>>>0?(o=1<<v,E=0):(o=(1<<v)-1&1>>>32-v,E=1<<v),v=o,i[r+32>>2]=a,i[r+36>>2]=n,n|a)for(;i[r+56>>2]=a,i[r+60>>2]=n,i[r+48>>2]=h,i[r+52>>2]=C,Ce(r+56|0,r+48|0,r+32|0,r+40|0),a=i[r+32>>2],n=i[r+36>>2],o=s+(k=i[r+44>>2])|0,(s=f+(L=i[r+40>>2])|0)>>>0<f>>>0&&(o=o+1|0),f=s,s=o,(0|k)==(0|o)&f>>>0<L>>>0|o>>>0<k>>>0&&((a=a+1|0)>>>0<1&&(n=n+1|0),i[r+32>>2]=a,i[r+36>>2]=n),a|n;);if(i[r+56>>2]=De(f,s,b,S),i[r+60>>2]=M,i[r+48>>2]=E,i[r+52>>2]=v,Ce(r+56|0,r+48|0,r+16|0,r+40|0),a=i[r+44>>2],o=i[r+40>>2],i[r+56>>2]=o,i[r+60>>2]=a,i[r+48>>2]=w,i[r+52>>2]=y,Ce(r+56|0,r+48|0,r+24|0,r+40|0),n=i[r+44>>2],i[r+56>>2]=i[r+40>>2],i[r+60>>2]=n,i[r+48>>2]=b,i[r+52>>2]=S,f=0,s=0,Ce(r+56|0,r+48|0,r+32|0,r+40|0),k=i[r+36>>2],v=i[r+20>>2],(o=(a=0!=(0|o)|0!=(0|a))+i[r+16>>2]|0)>>>0<a>>>0&&(v=v+1|0),E=o,a=o+i[r+32>>2]|0,o=v+k|0,i[r>>2]=a,i[r+4>>2]=a>>>0<E>>>0?o+1|0:o,i[r+32>>2]=h,i[r+36>>2]=C,h|C)for(a=h,n=C;i[r+56>>2]=a,i[r+60>>2]=n,i[r+48>>2]=h,i[r+52>>2]=C,Ce(r+56|0,r+48|0,r+32|0,r+40|0),a=i[r+32>>2],n=i[r+36>>2],o=s+(v=i[r+44>>2])|0,(s=f+(k=i[r+40>>2])|0)>>>0<f>>>0&&(o=o+1|0),f=s,s=o,(0|v)==(0|o)&f>>>0<k>>>0|o>>>0<v>>>0&&((a=a+1|0)>>>0<1&&(n=n+1|0),i[r+32>>2]=a,i[r+36>>2]=n),a|n;);if((0|T)>=64)for(a=De(f,s,b,S),n=M,s=T>>>6;1&s&&(o=i[r+4>>2],i[r+56>>2]=i[r>>2],i[r+60>>2]=o,i[r+48>>2]=a,i[r+52>>2]=n,Ce(r+56|0,r+48|0,r+16|0,r+40|0),v=o=i[r+44>>2],T=i[r+40>>2],i[r+56>>2]=T,i[r+60>>2]=o,i[r+48>>2]=w,i[r+52>>2]=y,Ce(r+56|0,r+48|0,r+24|0,r+40|0),o=i[r+44>>2],i[r+56>>2]=i[r+40>>2],i[r+60>>2]=o,i[r+48>>2]=b,i[r+52>>2]=S,Ce(r+56|0,r+48|0,r+32|0,r+40|0),k=i[r+36>>2],o=i[r+20>>2],(T=(v=0!=(0|T)|0!=(0|v))+i[r+16>>2]|0)>>>0<v>>>0&&(o=o+1|0),v=T+i[r+32>>2]|0,o=o+k|0,i[r>>2]=v,i[r+4>>2]=v>>>0<T>>>0?o+1|0:o),i[r+56>>2]=a,i[r+60>>2]=n,i[r+48>>2]=a,i[r+52>>2]=n,Ce(r+56|0,r+48|0,r+16|0,r+40|0),a=i[r+44>>2],o=i[r+40>>2],i[r+56>>2]=o,i[r+60>>2]=a,i[r+48>>2]=w,i[r+52>>2]=y,Ce(r+56|0,r+48|0,r+24|0,r+40|0),n=i[r+44>>2],i[r+56>>2]=i[r+40>>2],i[r+60>>2]=n,i[r+48>>2]=b,i[r+52>>2]=S,Ce(r+56|0,r+48|0,r+32|0,r+40|0),f=i[r+36>>2],n=i[r+20>>2],(o=(a=0!=(0|o)|0!=(0|a))+i[r+16>>2]|0)>>>0<a>>>0&&(n=n+1|0),n=n+f|0,n=(a=o+i[r+32>>2]|0)>>>0<o>>>0?n+1|0:n,s>>>=1;);if(n=i[r+8>>2],a=i[r+12>>2],o=i[r+4>>2],i[r+56>>2]=i[r>>2],i[r+60>>2]=o,i[r+48>>2]=n,i[r+52>>2]=a,Ce(r+56|0,r+48|0,r,r+40|0),f=i[r+40>>2],s=i[r+44>>2],n=i[r+4>>2],a=i[r>>2],i[r+32>>2]=a,i[r+36>>2]=n,n|a)for(;i[r+56>>2]=a,i[r+60>>2]=n,i[r+48>>2]=h,i[r+52>>2]=C,Ce(r+56|0,r+48|0,r+32|0,r+40|0),a=i[r+32>>2],n=i[r+36>>2],o=s+(y=i[r+44>>2])|0,(s=f+(v=i[r+40>>2])|0)>>>0<f>>>0&&(o=o+1|0),f=s,s=o,(0|y)==(0|o)&f>>>0<v>>>0|o>>>0<y>>>0&&(o=n,(n=a+1|0)>>>0<1&&(o=o+1|0),a=n,i[r+32>>2]=n,n=o,i[r+36>>2]=n),a|n;);if(a=De(f,s,b,S),n=o=M,i[r>>2]=a,i[r+4>>2]=n,s=(A+B|0)-52|0,x|D&&(h=a,b=31&(a=I),32<=(63&a)>>>0?(o=h<<b,n=0):(o=(1<<b)-1&h>>>32-b|n<<b,n=h<<b),o=o+D|0,a=n=n+x|0,i[r>>2]=n,n=n>>>0<x>>>0?o+1|0:o,i[r+4>>2]=n,s=s-I|0),!(n|a)){i[964]=0,i[965]=0;break t}if((0|n)>=1?(le(n),n=i[964],f=i[965],le(a),o=f+33554432|0,o=2146435072&(n>>>0<0?o+1|0:o)|-2146435073&f,c(0,n|(a=0)),c(1,0|o),ee(+d())):le(a),a=n=i[965],o=i[964],(0|(n=(n>>>20&2047)+s|0))<=1023){i[964]=0,i[965]=0,i[966]=2;break t}i[964]=o,i[965]=-2146435073&a|(n+1025&2047)<<20;break t}}$(2),e=0;break e}(((0|P)<1?-2147483648:1)^K)>-1||((n=i[965])>>>0>=65536&&(i[965]=-2147483648^n),ee(e),i[965]!=(0|_)|(0|F)!=i[964]||(i[964]=0,i[965]=0)),(0|P)>=1?s=i[965]:(s=i[965])>>>0<65536||(s^=-2147483648,i[965]=s),!(i[964]|s)|2146435072&s||(i[966]=2),e=g[482]}return O=r- -64|0,e}(e=+e,t=+t)},Mathpack_FormatGeneral:function(e,t){t|=0;var r,n,a,s=0,c=0;return p(+(e=+e)),r=0|u(1),a=0|u(0),2146435072==(2146435072&r)?(i[966]=1,-1):(g[482]=e,s=3280,(n=-65536&(c=r))&&(2146435072!=(2146435072&c)?(s=3280,(0|n)>0||(c>>>0>=65536&&(i[965]=-2147483648^c),s=3280,!a&-2147483648==(0|r)||(o[1640]=45,s=3282))):(i[966]=1,s=3280)),c=s,t=(0|t)<255?t:255,t=function(e,t,r,n){var a;O=a=O-16|0,e=0|Ne[i[i[e>>2]+8>>2]](e),i[a+8>>2]=0;e:if(r<<1>>>0<=33){if((0|r)<1)break e;o[t>>1]=0}else Se(g[482],a+8|0,t,15),t=function(e,t,r,n,a,s){var u,c,d,p=0,h=0,g=0,f=0,v=0;O=c=O-16|0,u=(t<<1)+e|0,d=c+12|0;t:{r:{n:{o:if(!(g=(0|r)<5&(h=a?n:1)+3>>>0<8)){i:if(!((0|h)>(0|r))){if((0|(n=r+h|0))>=3){if((0|r)<5|(0|h)>-4)break o;if((n+-2|0)<(0|a))break i;break o}if((0|r)<5)break o}if(f=1,n=1,(0|r)<7)break n;n=r-(h+97>>>0>196?6:5)|0;break n}(1!=(0|r)||(n=0,h))&&(n=r-((0|h)<(0|r)?(0|h)<1?2-h|0:1:0)|0)}n:{if((0|n)<(0|a)){p=1,a=0;o:if(!((0|t)<1)){i:{a:{if(!n){if(l[e>>1]>52)break a;break o}if((0|n)<1|(0|n)>=(0|t))break o;if(l[(n<<1)+e>>1]<=52)break i;for(;;){if(v=l[(p=((a=n+-1|0)<<1)+e|0)>>1]+1|0,o[p>>1]=v,58!=(65535&v))break i;if(n=a,!a)break}}o[e>>1]=49,a=1,p=h+1|0;break o}for(;(0|(a=n))>=2&&48==l[((n=a+-1|0)<<1)+e>>1];);p=h}if((-1^g)&(0|p)>(0|r)|f)break n;break r}if(p=h,!f)break r}if(i[d>>2]=32768,r=e+2|0,(0|a)<2||(n=r+(a<<1)|0)>>>0>=u>>>0?n=r:(a=a+-1|0,i[d>>2]=32768|a,e=e+4|0,(t<<1)-4>>1>>>0<a>>>0&&T(),L(e,r,a<<1),o[r>>1]=s),n>>>0<u>>>0&&(o[n>>1]=69,n=n+2|0),n>>>0>=u>>>0?a=n:(a=n+2|0,(0|p)<=0?(o[n>>1]=45,p=1-p|0):(o[n>>1]=43,p=p+-1|0)),(0|p)<100|a>>>0>=u>>>0||(e=(p>>>0)/100|0,o[a>>1]=e+48,p=p-m(e,100)|0,a=a+2|0),a>>>0<u>>>0&&(o[a>>1]=48+((0|p)/10|0),a=a+2|0),a>>>0>=u>>>0)break t;o[a>>1]=48+((0|p)%10|0),a=a+2|0;break t}if((0|a)<0|(0|a)>(0|p))if(r=a-p|0,i[d>>2]=r,(0|p)>=1){if(!((r=(n=((g=(r=(h=(0|p)>(0|t)?t:p)<<1)+e|0)+(a<<1)|0)-r|0)-2|0)>>>0<e>>>0|n>>>0>=u>>>0))for(;o[n>>1]=l[r>>1],n=n+-2|0,(r=r+-2|0)>>>0>=g>>>0;);(0|p)<(0|t)&&(o[g>>1]=s),a=g+(((0|(e=u-g>>1))>(0|(t=a-h|0))?t+1|0:e)<<1)|0}else{if(!((n=2+((e-(p<<1)|0)+(a<<1)|0)|0)>>>0>=u>>>0||(a=((a<<1)+e|0)-2|0)>>>0<e>>>0))for(;o[n>>1]=l[a>>1],n=n+-2|0,(a=a+-2|0)>>>0>=e>>>0;);if((0|t)>=1&&(o[e>>1]=48,e=e+2|0),e>>>0<u>>>0&&(o[e>>1]=s,e=e+2|0),n=u-e>>1,p&&(t=(0|n)<(0|(t=0-p|0))?n:t))for(a=0;o[(a<<1)+e>>1]=48,(0|t)!=(0|(a=a+1|0)););a=(((0|n)<(0|r)?n:r)<<1)+e|0}else{if(r=(n=(0|p)>(0|t)?t:p)-a|0)for(t=(a<<1)+e|0,a=0;o[t+(a<<1)>>1]=48,(0|r)!=(0|(a=a+1|0)););a=(n<<1)+e|0}}return O=c+16|0,a}(t,r,n,o[a+8>>1],o[a+10>>1],e);return O=a+16|0,t}(i[256],c,3790-c>>1,(0|t)>0?t:0),i[964]=0,i[965]=0,t-3280>>1)},Mathpack_FormatGetExponent:function(){return i[968]},Mathpack_FormatGetSign:function(){return i[969]},Mathpack_FormatFixed:function(e,t,r){t|=0,r|=0;var n,a=0,s=0;return O=n=O+-64|0,p(+(e=+e)),a=0|u(1),u(0),2146435072!=(2146435072&a)?(i[n+56>>2]=0,o[n+46>>1]=0,o[n+48>>1]=0,Se(e,n+56|0,n+16|0,(a=t+r|0)>>>0<15?a:15),s=o[n+56>>1],a=o[n+58>>1],i[n+8>>2]=a,t=t+s|0,i[n+12>>2]=t,(0|(t=t+r|0))<(0|a)&&(J(n+16|0,n+12|0,n+8|0,t),a=i[n+8>>2]),a?((0|(r=r+(t=i[n+12>>2])|0))<(0|a)&&(i[n+8>>2]=r,a=r),(0|a)>-1||(i[966]=1)):(a=0,i[n+12>>2]=0,t=0),i[968]=t,i[969]=l[n+48>>1]>>>15^1,r=a,a>>>0>=256&&(T(),r=i[n+8>>2]),L(3280,n+16|0,a<<1)):(i[966]=1,r=-1),O=n- -64|0,0|r},Mathpack_FormatScientific:function(e,t,r){t|=0,r|=0;var n,a=0,s=0,c=0;if(O=n=O+-64|0,p(+(e=+e)),s=0|u(1),u(0),2146435072!=(2146435072&s)){if(i[n+56>>2]=0,o[n+46>>1]=0,o[n+48>>1]=0,Se(e,n+56|0,n+16|0,15),c=o[n+56>>1],i[n+12>>2]=c,s=o[n+58>>1],i[n+8>>2]=s,(0|(a=t))>=2&&(a=(0|c)%(0|t)|0,a=((0|c)<1?t:a?0:t)+a|0),!((0|(a=r+a|0))>=(0|s))){for(J(n+16|0,n+12|0,n+8|0,a),a=(0|a)<(0|(s=i[n+8>>2]))?a:s;s=a,(0|a)>=1&&48==l[(n+16|0)+((a=s+-1|0)<<1)>>1];);i[n+8>>2]=s,(0|t)<2||(0|(a=i[n+12>>2]))!=(0|c)&&((((c=r)+(r=(0|a)%(0|t)|0)|0)+((0|a)<1?t:r?0:t)|0)>=(0|s)||(T(),s=i[n+8>>2]))}(0|s)<=-1&&(i[966]=1),i[968]=i[n+12>>2],i[969]=l[n+48>>1]>>>15^1,(a=s)>>>0>=256&&(T(),a=i[n+8>>2]),L(3280,n+16|0,s<<1)}else i[966]=1,a=-1;return O=n- -64|0,0|a},Mathpack_Pack:function(e,t,r){var a;return e|=0,t|=0,r|=0,O=a=O-48|0,n[a+39|0]=0,L(a+8|0,3280,(r=(0|r)<15?r:15)<<1),o[a+40>>1]=t+16384&32767|!e<<15,n[a+38|0]=r,i[a>>2]=0,i[a+4>>2]=0,ye(i[256],a,a+8|0)&&(i[966]=1),O=a+48|0,+g[a>>3]},_start:B,__errno_location:function(){return 3888},setThrew:function(e,t){e|=0,t|=0,i[970]||(i[971]=t,i[970]=e)},stackSave:function(){return 0|O},stackAlloc:function(e){return O=e=O-(e|=0)&-16,0|e},stackRestore:function(e){O=e|=0},__growWasmMemory:function(e){return 0|T()}}}({Math:n.Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN:NaN,Infinity:1/0},{abort:function(){throw new Error("abort")},Base_LocaleIsNumeral:o.Base_LocaleIsNumeral,Base_LocaleGetOrdinal:o.Base_LocaleGetOrdinal,Base_LocaleDecimalSeparator:o.Base_LocaleDecimalSeparator,Math_log10:o.Math_log10,Math_log:o.Math_log,Math_sqrt:o.Math_sqrt,Math_sin:o.Math_sin,Math_cos:o.Math_cos,Math_tan:o.Math_tan,Math_atan:o.Math_atan,Math_exp:o.Math_exp,proc_exit:i.proc_exit,getTempRet0:o.getTempRet0},g),v=f.memory;t.memory=v;var b=f.Base_StrBuf;t.Base_StrBuf=b;var y=f.Base_StrBufSize;t.Base_StrBufSize=y;var S=f.Dtr_DaysPerMonth;t.Dtr_DaysPerMonth=S;var C=f.Dtr_FromNum;t.Dtr_FromNum=C;var T=f.Dtr_Yr;t.Dtr_Yr=T;var k=f.Dtr_Mon;t.Dtr_Mon=k;var F=f.Dtr_DOM;t.Dtr_DOM=F;var E=f.Dtr_Hour;t.Dtr_Hour=E;var A=f.Dtr_Min;t.Dtr_Min=A;var I=f.Dtr_Sec;t.Dtr_Sec=I;var x=f.Dtr_Wdy;t.Dtr_Wdy=x;var w=f.Dtr_FracSec;t.Dtr_FracSec=w;var P=f.Dtr_Rounding;t.Dtr_Rounding=P;var R=f.Dtr_Write;t.Dtr_Write=R;var D=f.Dtr_ToNum;t.Dtr_ToNum=D;var _=f.Dtr_ToNumWithDuration;t.Dtr_ToNumWithDuration=_;var N=f.Dtr_Days;t.Dtr_Days=N;var O=f.Dtr_ToDays;t.Dtr_ToDays=O;var M=f.Dtr_ToTime;t.Dtr_ToTime=M;var B=f.Dtr_UtcToLocal;t.Dtr_UtcToLocal=B;var L=f.Mathpack_Zero;t.Mathpack_Zero=L;var K=f.Mathpack_One;t.Mathpack_One=K;var W=f.Mathpack_Pi;t.Mathpack_Pi=W;var H=f.Mathpack_Div;t.Mathpack_Div=H;var G=f.Mathpack_Mul;t.Mathpack_Mul=G;var z=f.Mathpack_Sub;t.Mathpack_Sub=z;var U=f.Mathpack_Add;t.Mathpack_Add=U;var V=f.Mathpack_Power;t.Mathpack_Power=V;var j=f.Mathpack_Cond;t.Mathpack_Cond=j;var q=f.Mathpack_Cond2;t.Mathpack_Cond2=q;var $=f.Mathpack_TakeMathError;t.Mathpack_TakeMathError=$;var Q=f.Mathpack_Trunc;t.Mathpack_Trunc=Q;var X=f.Mathpack_Ceil;t.Mathpack_Ceil=X;var Y=f.Mathpack_Floor;t.Mathpack_Floor=Y;var J=f.Mathpack_Abs;t.Mathpack_Abs=J;var Z=f.Mathpack_Neg;t.Mathpack_Neg=Z;var ee=f.Mathpack_Float;t.Mathpack_Float=ee;var te=f.Mathpack_SFloat;t.Mathpack_SFloat=te;var re=f.Mathpack_Fix;t.Mathpack_Fix=re;var ne=f.Mathpack_LFix;t.Mathpack_LFix=ne;var oe=f.Mathpack_SFix;t.Mathpack_SFix=oe;var ie=f.Mathpack_Round;t.Mathpack_Round=ie;var ae=f.Mathpack_RoundUp;t.Mathpack_RoundUp=ae;var se=f.Mathpack_RoundDown;t.Mathpack_RoundDown=se;var le=f.Mathpack_TenTo;t.Mathpack_TenTo=le;var ue=f.Mathpack_Compare;t.Mathpack_Compare=ue;var ce=f.Mathpack_GetExp32;t.Mathpack_GetExp32=ce;var de=f.Mathpack_Equal;t.Mathpack_Equal=de;var pe=f.Mathpack_ViewRound;t.Mathpack_ViewRound=pe;var he=f.Mathpack_Sqrt;t.Mathpack_Sqrt=he;var ge=f.Mathpack_Exp;t.Mathpack_Exp=ge;var me=f.Mathpack_Ln;t.Mathpack_Ln=me;var fe=f.Mathpack_Log;t.Mathpack_Log=fe;var ve=f.Mathpack_Sin;t.Mathpack_Sin=ve;var be=f.Mathpack_Cos;t.Mathpack_Cos=be;var ye=f.Mathpack_Tan;t.Mathpack_Tan=ye;var Se=f.Mathpack_Asin;t.Mathpack_Asin=Se;var Ce=f.Mathpack_Acos;t.Mathpack_Acos=Ce;var Te=f.Mathpack_Atan;t.Mathpack_Atan=Te;var ke=f.Mathpack_Atan2;t.Mathpack_Atan2=ke;var Fe=f.Mathpack_Mod;t.Mathpack_Mod=Fe;var Ee=f.Mathpack_FormatGeneral;t.Mathpack_FormatGeneral=Ee;var Ae=f.Mathpack_FormatGetExponent;t.Mathpack_FormatGetExponent=Ae;var Ie=f.Mathpack_FormatGetSign;t.Mathpack_FormatGetSign=Ie;var xe=f.Mathpack_FormatFixed;t.Mathpack_FormatFixed=xe;var we=f.Mathpack_FormatScientific;t.Mathpack_FormatScientific=we;var Pe=f.Mathpack_Pack;t.Mathpack_Pack=Pe;var Re=f._start;t._start=Re;var De=f.__errno_location;t.__errno_location=De;var _e=f.setThrew;t.setThrew=_e;var Ne=f.stackSave;t.stackSave=Ne;var Oe=f.stackAlloc;t.stackAlloc=Oe;var Me=f.stackRestore;t.stackRestore=Me;var Be=f.__growWasmMemory;t.__growWasmMemory=Be},70780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Base_LocaleDecimalSeparator",{enumerable:!0,get:function(){return n.Base_LocaleDecimalSeparator}}),Object.defineProperty(t,"Base_LocaleGetOrdinal",{enumerable:!0,get:function(){return n.Base_LocaleGetOrdinal}}),Object.defineProperty(t,"Base_LocaleIsNumeral",{enumerable:!0,get:function(){return n.Base_LocaleIsNumeral}}),t.Math_tan=t.Math_sqrt=t.Math_sin=t.Math_log10=t.Math_log=t.Math_exp=t.Math_cos=t.Math_atan=void 0,t.getTempRet0=function(){return p},t.setTempRet0=function(e){p=e};var n=r(27376);const o=Math.sqrt;t.Math_sqrt=o;const i=Math.log10||function(e){return Math.log(e)*Math.LOG10E};t.Math_log10=i;const a=Math.log;t.Math_log=a;const s=Math.exp;t.Math_exp=s;const l=Math.sin;t.Math_sin=l;const u=Math.cos;t.Math_cos=u;const c=Math.tan;t.Math_tan=c;const d=Math.atan;t.Math_atan=d;let p=0},41929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Math=void 0;const r=function(e){if(e.imul&&e.fround&&e.clz32)return e;const t=new Float32Array(1);return Object.create(e,{imul:{value:function(e,t){var r=(4194303&e)*(t|=0);return 4290772992&e&&(r+=(4290772992&e)*t|0),0|r}},fround:{value:function(e){return t[0]=e,t[0]}},clz32:{value:function(t){var r=t>>>0;return 0===r?32:31-(e.log(r)/e.LN2|0)|0}}})}(Math);t.Math=r},77630:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.proc_exit=function(e){throw new Error("unexpected process termination: "+e)}},15876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeDivision=t.Rounding=void 0,t.daysPerMonth=function(e,t,r){return(0,n.Dtr_DaysPerMonth)(e,t,r?1:0)},t.dtr=s,t.fromNum=function(e,t,r,o){const i=t;return 0===(0,n.Dtr_FromNum)(e,i,0,r?1:0,o?1:0)&&l(0)},t.toNum=function(e,t,r){u(0,e);const i=(0,n.Dtr_ToNum)(0,t?1:0,r?1:0),a=(0,n.Mathpack_TakeMathError)();return a===o.MathErrorNum.None?i:(0,o.mathError)(a)},t.toNumWithDuration=function(e,t,r,i,a){u(0,e);const s=i,l=(0,n.Dtr_ToNumWithDuration)(0,t?1:0,r?1:0,s,a),c=(0,n.Mathpack_TakeMathError)();return c===o.MathErrorNum.None?l:(0,o.mathError)(c)},t.toDays=function(e,t,r){return u(0,e),0===(0,n.Dtr_ToDays)(0,t?1:0,r?1:0)&&(0,n.Dtr_Days)()},t.toTime=function(e,t,r){const i=t,a=r,s=(0,n.Dtr_ToTime)(e,i,a);return(0,n.Mathpack_TakeMathError)()===o.MathErrorNum.None&&s},t.utcToLocal=function(e,t,r,o){return u(0,e),null!=t.standardDate&&u(1,t.standardDate),null!=t.daylightDate&&u(2,t.daylightDate),0!==(0,n.Dtr_UtcToLocal)(0,t.bias,null!=t.standardDate?1:-1,t.standardBias,null!=t.daylightDate?2:-1,t.daylightBias,r?1:0,o?1:0)&&l(0)};const n=r(83842),o=r(96075);var i,a;function s(e,t,r,n,o,i,a,s,l){return{yr:e,mon:t,dom:r,hour:n,min:o,sec:i,wdy:a,fracSec:s,rounding:l}}function l(e){return s((0,n.Dtr_Yr)(e),(0,n.Dtr_Mon)(e),(0,n.Dtr_DOM)(e),(0,n.Dtr_Hour)(e),(0,n.Dtr_Min)(e),(0,n.Dtr_Sec)(e),(0,n.Dtr_Wdy)(e),(0,n.Dtr_FracSec)(e),(0,n.Dtr_Rounding)(e))}function u(e,t){(0,n.Dtr_Write)(t.yr,t.mon,t.dom,t.hour,t.min,t.sec,t.wdy,t.fracSec,t.rounding,e)}!function(e){e[e.RoundSec=0]="RoundSec",e[e.Round10ths=1]="Round10ths",e[e.Round100ths=2]="Round100ths",e[e.Round1000ths=3]="Round1000ths"}(i||(t.Rounding=i={})),function(e){e[e.Hour=0]="Hour",e[e.Minute=1]="Minute",e[e.Second=2]="Second"}(a||(t.TimeDivision=a={}))},85502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSupported=t.dtr=t.mathpack=void 0;const n=r(16533),o=n.__importStar(r(96075));t.mathpack=o;const i=n.__importStar(r(15876));t.dtr=i;const a=r(27376);Object.defineProperty(t,"isSupported",{enumerable:!0,get:function(){return a.isSupported}}),(0,r(83842)._start)()},96075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mod=t.atan2=t.atan=t.acos=t.asin=t.tan=t.cos=t.sin=t.log=t.ln=t.exp=t.sqrt=t.viewRound=t.cond2=t.power=t.add=t.sub=t.mul=t.div=t.compare=t.roundDown=t.roundUp=t.round=t.sfix=t.lfix=t.neg=t.abs=t.floor=t.ceil=t.trunc=t.exp32=t.pi=t.one=t.zero=t.MathErrorNum=void 0,t.mathError=c,t.equal=function(e,t){return 0!==(0,n.Mathpack_Equal)(e,t)},t.float=function(e){return e<0?(0,n.Mathpack_SFloat)(e):(0,n.Mathpack_Float)(e)},t.fix=function(e){return(0,n.Mathpack_Fix)(e)>>>0},t.tenTo=function(e){if(e<-1e3)return 0;if(e>1e3)return c(s.Over);if(!isFinite(e))return c(s.Over);const t=(0,n.Mathpack_TenTo)(e),r=(0,n.Mathpack_TakeMathError)();return r===s.None?t:c(r)},t.cond=function(e){const t=(0,n.Mathpack_Cond)(e),r=(0,n.Mathpack_TakeMathError)();return r===s.None?t:c(r)},t.formatGeneral=function(e,t,r){try{(0,o.setLocale)(e);const i=(0,n.Mathpack_FormatGeneral)(t,r);return i<0?c((0,n.Mathpack_TakeMathError)()):a((0,n.Base_StrBuf)(),i)}finally{(0,o.setLocale)(void 0)}},t.formatFixed=function(e,t,r){const o=(0,n.Mathpack_FormatFixed)(e,t,r);if(o<0)return(0,n.Mathpack_TakeMathError)();const i=a((0,n.Base_StrBuf)(),o),s=(0,n.Mathpack_FormatGetExponent)();return{sign:0!==(0,n.Mathpack_FormatGetSign)(),mantissa:i,exponent:s}},t.formatScientific=function(e,t,r){const o=(0,n.Mathpack_FormatScientific)(e,t,r);if(o<0)return(0,n.Mathpack_TakeMathError)();const i=a((0,n.Base_StrBuf)(),o),s=(0,n.Mathpack_FormatGetExponent)();return{sign:0!==(0,n.Mathpack_FormatGetSign)(),mantissa:i,exponent:s}},t.pack=function(e,t,r,a){try{(0,o.setLocale)(e);const l=(0,o.fastMin)(a.length,(0,n.Base_StrBufSize)());!function(e,t){const r=new Uint16Array(i.memory.buffer);for(let n=0;n<t.length;n+=1)r[e+(n<<1)>>1]=t.charCodeAt(n)}((0,n.Base_StrBuf)(),a.substring(0,l));const u=(0,n.Mathpack_Pack)(!!t,r,l),d=(0,n.Mathpack_TakeMathError)();return d!==s.None?c(d):isNaN(u)?c(s.Over):u}finally{(0,o.setLocale)(void 0)}};const n=r(83842),o=r(27376),i=r(83842);function a(e,t){const r=new Uint16Array(i.memory.buffer);let n="";for(let o=0;o<t;o+=1)n+=String.fromCharCode(r[e+(o<<1)>>1]);return n}var s;function l(e){return{num:e}}!function(e){e[e.None=0]="None",e[e.Over=1]="Over",e[e.Under=2]="Under",e[e.DivBy0=4]="DivBy0",e[e.Trans=8]="Trans",e[e._NA=16]="_NA",e[e._Val=32]="_Val",e[e._Num=64]="_Num"}(s||(t.MathErrorNum=s={}));const u={[s.Over]:l(s.Over),[s.Under]:l(s.Under),[s.DivBy0]:l(s.DivBy0),[s.Trans]:l(s.Trans)};function c(e){return u[e]??l(e)}function d(e){return t=>{const r=e(t),o=(0,n.Mathpack_TakeMathError)();return o===s.None?r:c(o)}}function p(e){return(t,r)=>{const o=e(t,r),i=(0,n.Mathpack_TakeMathError)();return i===s.None?o:c(i)}}t.zero=n.Mathpack_Zero,t.one=n.Mathpack_One,t.pi=n.Mathpack_Pi,t.exp32=n.Mathpack_GetExp32,t.trunc=n.Mathpack_Trunc,t.ceil=d(n.Mathpack_Ceil),t.floor=d(n.Mathpack_Floor),t.abs=n.Mathpack_Abs,t.neg=n.Mathpack_Neg,t.lfix=n.Mathpack_LFix,t.sfix=d(n.Mathpack_SFix),t.round=p(n.Mathpack_Round),t.roundUp=p(n.Mathpack_RoundUp),t.roundDown=p(n.Mathpack_RoundDown),t.compare=n.Mathpack_Compare,t.div=p(n.Mathpack_Div),t.mul=p(n.Mathpack_Mul),t.sub=p(n.Mathpack_Sub),t.add=p(n.Mathpack_Add),t.power=p(n.Mathpack_Power),t.cond2=n.Mathpack_Cond2,t.viewRound=d(n.Mathpack_ViewRound),t.sqrt=d(n.Mathpack_Sqrt),t.exp=d(n.Mathpack_Exp),t.ln=d(n.Mathpack_Ln),t.log=d(n.Mathpack_Log),t.sin=d(n.Mathpack_Sin),t.cos=d(n.Mathpack_Cos),t.tan=d(n.Mathpack_Tan),t.asin=d(n.Mathpack_Asin),t.acos=d(n.Mathpack_Acos),t.atan=d(n.Mathpack_Atan),t.atan2=p(n.Mathpack_Atan2),t.mod=p(n.Mathpack_Mod)},27376:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.setLocale=function(e){r=e},t.Base_LocaleIsNumeral=function(e){return r.isNumeral(e)?1:0},t.Base_LocaleGetOrdinal=function(e){return r.getOrdinal(e)},t.Base_LocaleDecimalSeparator=function(){const e=r.decimalSeparator;return 0===e.length?n:e.charCodeAt(0)},t.fastMin=function(e,t){return e<t?e:t},t.isSupported=function(){const e=new ArrayBuffer(2);return new Uint16Array(e)[0]=1,1===new Uint8Array(e)[0]};const n=46},16632:e=>{e.exports={HintBarEllipses_20:"HintBarEllipses_20",CancelGlyph_16:"CancelGlyph_16",CommonControlChevronDown_8:"CommonControlChevronDown_8",CommonControlChevronDownGlyph_8:"CommonControlChevronDownGlyph_8",CommonControlChevronDownGlyph_12:"CommonControlChevronDownGlyph_12",CommonControlChevronUp_8:"CommonControlChevronUp_8",CommonControlChevronRight_12:"CommonControlChevronRight_12",CommonControlChevronRight_16:"CommonControlChevronRight_16",CommonControlChevronLeft_16:"CommonControlChevronLeft_16",CommonControlCheckboxCheck_16:"CommonControlCheckboxCheck_16",CheckmarkWithDynamicColor_16:"CheckmarkWithDynamicColor_16",CommonControlDialogLauncher_8:"CommonControlDialogLauncher_8",OzSilhouette_16:"OzSilhouette_16",Search_20:"Search_20",ChartTypeLine_20:"ChartTypeLine_20",ColumnUnhideTouch_20:"ColumnUnhideTouch_20",RowUnhideTouch_20:"RowUnhideTouch_20",ColumnHideTouch_20:"ColumnHideTouch_20",RowHideTouch_20:"RowHideTouch_20",HideTable_20:"HideTable_20",Print_20:"Print_20",SheetRename_20:"SheetRename_20",MarkForDownload_20:"MarkForDownload_20",xlLensAvgDown_20:"xlLensAvgDown_20",SharingHintUnknown_20:"SharingHintUnknown_20",FlyoutAnchorChangeStyles_20:"FlyoutAnchorChangeStyles_20",HideSheet_20:"HideSheet_20",UnhideSheet_20:"UnhideSheet_20",AddHeader_20:"AddHeader_20",CreateDataMacro_20:"CreateDataMacro_20",Symbol_20:"Symbol_20",ChangeCase_20:"ChangeCase_20",Protection_20:"Protection_20",UxGalPageMargins_20:"UxGalPageMargins_20",ShowAllNotes_20:"ShowAllNotes_20",CategoryCollpased_20:"CategoryCollpased_20",OneNote_20:"OneNote_20",EditNote_20:"EditNote_20",OLNoteYellow_20:"OLNoteYellow_20",SaveAsonetoc2_20:"SaveAsonetoc2_20",icnotebk_20:"icnotebk_20",Function_20:"Function_20",PageSetup_20:"PageSetup_20",AppForOfficeLogo_20:"AppForOfficeLogo_20",GetAddins_20:"GetAddins_20",GroupCells_20:"GroupCells_20",InsertPicture_20:"InsertPicture_20",JotKeyboardShortcuts_20:"JotKeyboardShortcuts_20",New_20:"New_20",NewSheetView_20:"NewSheetView_20",Requery_20:"Requery_20",UpdateAll_20:"UpdateAll_20",TextToTable_20:"TextToTable_20",ZoomCurrent100_20:"ZoomCurrent100_20",ChartAxisElement_20:"ChartAxisElement_20",GalPageLayoutTemplates_20:"GalPageLayoutTemplates_20",SaveAsPowerPointPptx_20:"SaveAsPowerPointPptx_20",SaveAsWordDocx_20:"SaveAsWordDocx_20",SaveAsExcelXlsx_20:"SaveAsExcelXlsx_20",PdfFile_20:"PdfFile_20",visio_20:"visio_20",Filter_20:"Filter_20",Pencil_owa_20:"Pencil_owa_20",Zoomin_20:"Zoomin_20",DocChat_20:"DocChat_20",DocChatGlyph_20:"DocChatGlyph_20",DocChatUnread_20:"DocChatUnread_20",DocChatUnreadGray_16:"DocChatUnreadGray_16",doughboywhiteglyph_20:"doughboywhiteglyph_20",doughboywhiteglyph_32:"doughboywhiteglyph_32",SharingSet_Start_GlyphWordExcel_16:"SharingSet_Start_GlyphWordExcel_16",SharingSet_Start_Glyph_Transparent_16:"SharingSet_Start_Glyph_Transparent_16",NewItemsMenuMessage_16:"NewItemsMenuMessage_16",WebGetLinkBlack_16:"WebGetLinkBlack_16",CommentGlyphExcel_16:"CommentGlyphExcel_16",ActivityGlyphExcel_16:"ActivityGlyphExcel_16",ConversationExcel_16:"ConversationExcel_16",EllipsisExcel_16:"EllipsisExcel_16",DownloadAttachment_16:"DownloadAttachment_16",Excel_16:"Excel_16",CancelGlyph_16:"CancelGlyph_16",CancelGlyph_20:"CancelGlyph_20",CancelGlyphWhite_16:"CancelGlyphWhite_16",CancelGlyphWhite_20:"CancelGlyphWhite_20",AccessMoveUpSection_16:"AccessMoveUpSection_16",AccessMoveUpSection_20:"AccessMoveUpSection_20",AccessMoveUpSectionWhite_16:"AccessMoveUpSectionWhite_16",AccessMoveUpSectionWhite_20:"AccessMoveUpSectionWhite_20",BackFluent_24:"BackFluent_24",BackFluentM22_24:"BackFluentM22_24",MicrosoftLogo_24:"MicrosoftLogo_24",CommonControlEyeOpen_16:"CommonControlEyeOpen_16",CommonControlEyeOpenWhite_16:"CommonControlEyeOpenWhite_16",UpgradeProductGlyphColorless_16:"UpgradeProductGlyphColorless_16",ReadOnlyWhite_16:"ReadOnlyWhite_16",EditExcel_16:"EditExcel_16",EditGeneric_16:"EditGeneric_16",ReadOnly_16:"ReadOnly_16",ShapeQuadArrow_24:"ShapeQuadArrow_24",Risks_32:"Risks_32",CancelRequest_32:"CancelRequest_32",Info_32:"Info_32",OfficeAssistant_32:"OfficeAssistant_32",Paste_20:"Paste_20",Redo_20:"Redo_20",Cut_20:"Cut_20",Cut_24:"Cut_24",copy_20:"copy_20",copy_24:"copy_24",TopJustifyXL_20:"TopJustifyXL_20",CenterVerticalXL_20:"CenterVerticalXL_20",BottomJustifyXL_20:"BottomJustifyXL_20",Centered_20:"Centered_20",Indent_20:"Indent_20",IndentRTL_20:"IndentRTL_20",Percentage_20:"Percentage_20",CommaFormat_20:"CommaFormat_20",CommonControlChevronDown_8:"CommonControlChevronDown_8",CommonControlChevronDownDynamic_8:"CommonControlChevronDownDynamic_8",Function_16:"Function_16",FunctionDynamic_16:"FunctionDynamic_16",MarshalObject_16:"MarshalObject_16",ConvertToExcelValues_16:"ConvertToExcelValues_16",DeleteHover_16:"DeleteHover_16",DeleteHoverGrey_16:"DeleteHoverGrey_16",Checkmark_16:"Checkmark_16",CheckmarkGrey_16:"CheckmarkGrey_16",CommonControlChevronLeft_12:"CommonControlChevronLeft_12",CommonControlChevronLeftWhite_12:"CommonControlChevronLeftWhite_12",CommonControlChevronRight_12:"CommonControlChevronRight_12",CommonControlChevronRightWhite_12:"CommonControlChevronRightWhite_12",CommonControlSliderPlus_12:"CommonControlSliderPlus_12",CommonControlSliderPlusWhite_12:"CommonControlSliderPlusWhite_12",Hamburger_12:"Hamburger_12",HamburgerWhite_12:"HamburgerWhite_12",ProtectForm_16:"ProtectForm_16",Unlock_16:"Unlock_16",UnlockVariant_16:"UnlockVariant_16",SheetView_16:"SheetView_16",SheetViewWhite_16:"SheetViewWhite_16",CommonControlEyeOpen_16:"CommonControlEyeOpen_16",CommonControlEyeOpenWhite_16:"CommonControlEyeOpenWhite_16",Hide_16:"Hide_16",LinkToSection_16:"LinkToSection_16",LinkToSection_20:"LinkToSection_20",ShareSectionEntry_20:"ShareSectionEntry_20",ShareSectionTooltip_20:"ShareSectionTooltip_20",ShareSectionTooltipClose_20:"ShareSectionTooltipClose_20",FluentAppFolderOrange_20:"FluentAppFolderOrange_20",RefreshGreen_20:"RefreshGreen_20",M365Excel_20:"M365Excel_20",SparkleActionFluent_20:"SparkleActionFluent_20",UploadtoCloudMonochromaticGlyph_16:"UploadtoCloudMonochromaticGlyph_16",ExcelTileLogo_16:"ExcelTileLogo_16",CommonControlSliderMinus_12:"CommonControlSliderMinus_12",CheckmarkGlyph_8:"CheckmarkGlyph_8",SBStatusBarMarkAsReadOnly_16:"SBStatusBarMarkAsReadOnly_16",SBProtectForm_16:"SBProtectForm_16",PinDown_20:"PinDown_20",SolidPinDown_20:"SolidPinDown_20",AlertWarning_16:"AlertWarning_16",AlertWarning_20:"AlertWarning_20",UpgradeProduct_20:"UpgradeProduct_20",CommonControlChevronLeft_12:"CommonControlChevronLeft_12",FontInfo_20:"FontInfo_20",Info_20:"Info_20",Filter_16:"Filter_16",CheckmarkWithDynamicColor_16:"CheckmarkWithDynamicColor_16",Feedback_24:"Feedback_24",ExcelLogo_36x36x32:"ExcelLogo_36x36x32"}},96432:e=>{e.exports={InkingPointer_40:"InkingPointer_40",InkingEraser_40:"InkingEraser_40",InkingPen_40:"InkingPen_40",InkingHighlighter_40:"InkingHighlighter_40",ActivePen_40:"ActivePen_40",EnableFingerPainting_20:"EnableFingerPainting_20",ClosePreview_32:"ClosePreview_32",ClosePreview_20:"ClosePreview_20",OfficeFormsMonoline_20:"OfficeFormsMonoline_20",DrawingCanvas_20:"DrawingCanvas_20",AutoShapes_20:"AutoShapes_20",RecommendedCharts_20:"RecommendedCharts_20",OfficeAssistant_20:"OfficeAssistant_20",Insights_20:"Insights_20",FindInDocument_20:"FindInDocument_20",Word_32:"Word_32",PowerPoint_32:"PowerPoint_32",PdfFile_32:"PdfFile_32",AddAssignmentStage_20:"AddAssignmentStage_20",SwatchAutomatic_20:"SwatchAutomatic_20",SwatchNoColor_20:"SwatchNoColor_20",Automatic_16:"Automatic_16",SwatchNoColorSquare_20:"SwatchNoColorSquare_20",MoreColors_20:"MoreColors_20",EyedropperFillColor_20:"EyedropperFillColor_20",Excel_24:"Excel_24",Excel_20:"Excel_20",ExcelHome_20:"ExcelHome_20",ExcelMonoline_16:"ExcelMonoline_16",Close_32:"Close_32",VersionHistory_20:"VersionHistory_20",UpgradeProductGlyph_16:"UpgradeProductGlyph_16",UpgradeProductGlyphColorless_16:"UpgradeProductGlyphColorless_16",SharingHintShared_20:"SharingHintShared_20",PeopleSharedIcon_16:"PeopleSharedIcon_16",DogfoodBadge_16:"DogfoodBadge_16",Cloud_16:"Cloud_16",ArrowSync_16:"ArrowSync_16",CloudCheckmark_16:"CloudCheckmark_16",CloudDismiss_16:"CloudDismiss_16",EditProhibited_16:"EditProhibited_16",PersonFeedback_16:"PersonFeedback_16",FreeBadge_16:"FreeBadge_16",GetStartedOfficeOnline_16:"GetStartedOfficeOnline_16",SyncVertical_16:"SyncVertical_16",SyncHorizontal_16:"SyncHorizontal_16",CloudCheckmarkFluent_16:"CloudCheckmarkFluent_16",CloudCheckmarkFluent_20:"CloudCheckmarkFluent_20",FolderCloudColorFluent_20:"FolderCloudColorFluent_20",NotebookFluent_20:"NotebookFluent_20",AlertWarning_20:"AlertWarning_20",StarColorFluent_20:"StarColorFluent_20",StarFilledFluent_20:"StarFilledFluent_20",Warning_MessageBar_20:"Warning_MessageBar_20",BackWhite_20:"BackWhite_20",HomeWhite_20:"HomeWhite_20",NewWhite_20:"NewWhite_20",OpenWhite_20:"OpenWhite_20",ArrowForwardWithDynamicColor_20:"ArrowForwardWithDynamicColor_20",EmbedDocument15_48:"EmbedDocument15_48",EllipsisWhite_20:"EllipsisWhite_20",Expand2DynamicColor_20:"Expand2DynamicColor_20",PCBlue_32:"PCBlue_32",AllApps_16:"AllApps_16",mewa_displaySetting_20:"mewa_displaySetting_20",GetAddinsCross_16:"GetAddinsCross_16",DeleteBin_32:"DeleteBin_32",Expand2_20:"Expand2_20",Excel_32:"Excel_32",OneDriveLogoBlue_16:"OneDriveLogoBlue_16",DocEncryption_32:"DocEncryption_32",History_20:"History_20",History_32:"History_32",WheresTheSaveButtonMenuItem_20:"WheresTheSaveButtonMenuItem_20",SaveAs_32:"SaveAs_32",RenameColumn_32:"RenameColumn_32",SaveAsExcelXlsx_32:"SaveAsExcelXlsx_32",SaveAsExcelOds_32:"SaveAsExcelOds_32",SaveAsCsv_32:"SaveAsCsv_32",Print_32:"Print_32",MultipleDocumentAuthors_32:"MultipleDocumentAuthors_32",SendAsLink_32:"SendAsLink_32",TryOffice_32:"TryOffice_32",ProtectForm_32:"ProtectForm_32",UpgradeProduct_32:"UpgradeProduct_32",Info_32:"Info_32",RegionSettings_32:"RegionSettings_32",Warning_MessageBar_16:"Warning_MessageBar_16",LevelingClear_32:"LevelingClear_32",AppFolderOrange_20:"AppFolderOrange_20",AppFolderGrey_32:"AppFolderGrey_32",ShareasLink_32:"ShareasLink_32",UploadToCloud_32:"UploadToCloud_32",RangeDrag_32:"RangeDrag_32",RestoreVersion_20:"RestoreVersion_20",ArrowForwardWhite_20:"ArrowForwardWhite_20",RefreshWhite_20:"RefreshWhite_20",InfoDynamicColor_16:"InfoDynamicColor_16",PaintBucketFill_20:"PaintBucketFill_20",ExpanderPlus_16:"ExpanderPlus_16",ExpanderMinus_16:"ExpanderMinus_16",Expand2DynamicColor_12:"Expand2DynamicColor_12",Expand2DynamicColor_16:"Expand2DynamicColor_16",Collapse2DynamicColor_12:"Collapse2DynamicColor_12",Collapse2DynamicColor_16:"Collapse2DynamicColor_16",AlertInfoLightDynamic_12:"AlertInfoLightDynamic_12",AlertInfoLightDynamic_16:"AlertInfoLightDynamic_16",AlertInfoLight_16:"AlertInfoLight_16",AlertSuccess_16:"AlertSuccess_16",AlertSevereWarning_16:"AlertSevereWarning_16",AlertError_16:"AlertError_16",DrmStatus_16:"DrmStatus_16",BrowseGroups_20:"BrowseGroups_20",WebInsertHyperlink_20:"WebInsertHyperlink_20",NewComment_20:"NewComment_20",Checkbox_20:"Checkbox_20",ProtectSheet_20:"ProtectSheet_20",Unlock_20:"Unlock_20",ProtectForm_20:"ProtectForm_20",UnlockVariant_20:"UnlockVariant_20",NameManager_20:"NameManager_20",ExitSheetView_20:"ExitSheetView_20",PythonFormulaV2_20:"PythonFormulaV2_20",PythonPaneEditor_20:"PythonPaneEditor_20",ManageDataSources_20:"ManageDataSources_20",Undo_20:"Undo_20",OpenLink_20:"OpenLink_20",LinkPreviewCard_20:"LinkPreviewCard_20",FitToScreen_16:"FitToScreen_16",RevertZoom_16:"RevertZoom_16",AllScripts_20:"AllScripts_20",TableBorderColorSplitDropdown_20:"TableBorderColorSplitDropdown_20",GalLineWidth_16:"GalLineWidth_16",DashStyle_16:"DashStyle_16",M_CollectData_32:"M_CollectData_32",ChartlibAddRemoveDataTableGallery_32:"ChartlibAddRemoveDataTableGallery_32",ChartlibAddRemoveDataLabelGallery_32:"ChartlibAddRemoveDataLabelGallery_32",ChartlibAddRemoveLegendGallery_32:"ChartlibAddRemoveLegendGallery_32",ChartlibAddRemoveChartTitleGallery_32:"ChartlibAddRemoveChartTitleGallery_32",ChartSourceData_32:"ChartSourceData_32",ChartByRowCol_32:"ChartByRowCol_32",Feedback_20:"Feedback_20",GalFreezePanes_20:"GalFreezePanes_20",FreezePanes_20:"FreezePanes_20",NewWindow_20:"NewWindow_20",NewWindow_32:"NewWindow_32",TableStyleOptions_20:"TableStyleOptions_20",FlyoutAnchorPrintArea_20:"FlyoutAnchorPrintArea_20",Text_20:"Text_20",Gear_20:"Gear_20",PivotTable_20:"PivotTable_20",PowerBICatalogMonoline_20:"PowerBICatalogMonoline_20",SheetViewOptions_20:"SheetViewOptions_20",Bullets_20:"Bullets_20",SparkleWord_20:"SparkleWord_20",PageBreak_20:"PageBreak_20",XLRemoveDuplicates_20:"XLRemoveDuplicates_20",PowerQueryNewQuery_20:"PowerQueryNewQuery_20",TabularOCR_20:"TabularOCR_20",UngroupCells_20:"UngroupCells_20",AccessManageMenu_20:"AccessManageMenu_20",ValidationDefine_20:"ValidationDefine_20",Calculator_20:"Calculator_20",Calculator_32:"Calculator_32",CalculateDocument_20:"CalculateDocument_20",GalInsertFnFinancial_20:"GalInsertFnFinancial_20",GalInsertFnLogical_20:"GalInsertFnLogical_20",GalInsertFnText_20:"GalInsertFnText_20",GalInsertFnDateTime_20:"GalInsertFnDateTime_20",GalInsertFnLookupReference_20:"GalInsertFnLookupReference_20",GalInsertFnMathTrig_20:"GalInsertFnMathTrig_20",FlyoutAnchorMoreFns_20:"FlyoutAnchorMoreFns_20",ToggleFormulaAuditMode_20:"ToggleFormulaAuditMode_20",ConvertNotes_20:"ConvertNotes_20",OLNoteYellow_20:"OLNoteYellow_20",WorkbookPerformance_20:"WorkbookPerformance_20",PreviousComment_20:"PreviousComment_20",NextComment_20:"NextComment_20",worksheetSummary_20:"worksheetSummary_20",FullScreenMaximize_24:"FullScreenMaximize_24",RightToLeftDocument_20:"RightToLeftDocument_20",OfficeScripts_20:"OfficeScripts_20",OfficeScriptsShared_20:"OfficeScriptsShared_20",OfficeScriptsPlay_20:"OfficeScriptsPlay_20",FlowConnector_20:"FlowConnector_20",addscript_20:"addscript_20",PowerAutomate_20:"PowerAutomate_20",Record_20:"Record_20",Editor_20:"Editor_20",VideoTutorials_20:"VideoTutorials_20",WhatsNewRecentUpdates_20:"WhatsNewRecentUpdates_20",PSSHelp_20:"PSSHelp_20",PresentationView:"PresentationView",RightNavigationPane_20:"RightNavigationPane_20",FocusCell_20:"FocusCell_20",SelectRange_20:"SelectRange_20",Table_20:"Table_20",BringToFront_20:"BringToFront_20",BringForward_20:"BringForward_20",SendToBack_20:"SendToBack_20",SendBackward_20:"SendBackward_20",Crop_20:"Crop_20",AltText_20:"AltText_20",ChartPlacement_20:"ChartPlacement_20",sx12Source_20:"sx12Source_20",PivotShowDetails_20:"PivotShowDetails_20",DeletePivotTable_20:"DeletePivotTable_20",RefreshSelectedAutomatically_20:"RefreshSelectedAutomatically_20",SxShowDrillIndicators_20:"SxShowDrillIndicators_20",InsertPictureSimple_20:"InsertPictureSimple_20",PictureInCell_20:"PictureInCell_20",EntityShowCard_20:"EntityShowCard_20",PictureLinked_20:"PictureLinked_20",FlashFluent_20:"FlashFluent_20",SaveFluent_20:"SaveFluent_20",WandFluent_20:"WandFluent_20",VictoryHandFluent_20:"VictoryHandFluent_20",ThunderLightning_DOL_16:"ThunderLightning_DOL_16",Refresh_16:"Refresh_16",Checkmark_16:"Checkmark_16",ToDoTask_16:"ToDoTask_16",CloudFont_20:"CloudFont_20",CloudCheckmarkFluent_16:"CloudCheckmarkFluent_16",AddCircleColorFluent_20:"AddCircleColorFluent_20",TemplateBrowseColorFluent_20:"TemplateBrowseColorFluent_20",FolderOpenColorFluent_20:"FolderOpenColorFluent_20",ShareColorFluent_20:"ShareColorFluent_20",CopyColorFluent_20:"CopyColorFluent_20",ArrowExportColorFluent_20:"ArrowExportColorFluent_20",PrintColorFluent_20:"PrintColorFluent_20",RenameColorFluent_20:"RenameColorFluent_20",FolderArrowRightColorFluent_20:"FolderArrowRightColorFluent_20",HistoryColorFluent_20:"HistoryColorFluent_20",DeleteColorFluent_20:"DeleteColorFluent_20",InfoColorFluent_20:"InfoColorFluent_20",OptionsColorFluent_20:"OptionsColorFluent_20",TableAddColorFluent_20:"TableAddColorFluent_20",DesktopArrowUpColorFluent_20:"DesktopArrowUpColorFluent_20",LayerDiagonalColorFluent_20:"LayerDiagonalColorFluent_20",LinkColorFluent_20:"LinkColorFluent_20",CodeColorFluent_20:"CodeColorFluent_20",CloudAddColorFluent_20:"CloudAddColorFluent_20",ArrowDownloadColorFluent_20:"ArrowDownloadColorFluent_20",FormatPDFColorFluent_20:"FormatPDFColorFluent_20",DocumentCommentColorFluent_20:"DocumentCommentColorFluent_20",FormatODPColorFluent_20:"FormatODPColorFluent_20",ImageArrowRightColorFluent_20:"ImageArrowRightColorFluent_20",SlideColorFluent_20:"SlideColorFluent_20",PageGlobeColorFluent_20:"PageGlobeColorFluent_20",TermsTickColorFluent_20:"TermsTickColorFluent_20",TermsPersonColorFluent_20:"TermsPersonColorFluent_20",CookiesColorFluent_20:"CookiesColorFluent_20",PersonShieldColorFluent_20:"PersonShieldColorFluent_20",EditOffColorFluent_20:"EditOffColorFluent_20",FormatODSColorFluent_20:"FormatODSColorFluent_20",FormatCSVColorFluent_20:"FormatCSVColorFluent_20",ArrowResetColorFluent_20:"ArrowResetColorFluent_20",GlobeColorFluent_20:"GlobeColorFluent_20",Spelling_20:"Spelling_20",CommentsPane_20:"CommentsPane_20",Links_20:"Links_20",AccessibilityChecker_20:"AccessibilityChecker_20",DataCleaning_20:"DataCleaning_20",Textbox_20:"Textbox_20",FillByExample_32:"FillByExample_32"}},23424:e=>{e.exports={TrashCan_16:"TrashCan_16",CommonControlChevronDown_12:"CommonControlChevronDown_12",CommonControlChevronDown_16:"CommonControlChevronDown_16",CmdBarClose_16:"CmdBarClose_16",Info_20:"Info_20",AlertWarning_20:"AlertWarning_20",plussignglyph_16:"plussignglyph_16",M365Excel_20:"M365Excel_20",AlertWarning_16:"AlertWarning_16",Clock_32:"Clock_32",DeleteHyperlink_20:"DeleteHyperlink_20",EditCloud_20:"EditCloud_20",EditLink_20:"EditLink_20",Gear_20:"Gear_20",GoToLink_20:"GoToLink_20",GoToWorkbook_20:"GoToWorkbook_20",LightBulb_32:"LightBulb_32",NewDocument_16:"NewDocument_16",Open_32:"Open_32",SaveAsExcelXlsx_20:"SaveAsExcelXlsx_20",SaveAsExcelXlsx_32:"SaveAsExcelXlsx_32",Sync_20:"Sync_20",SynchronizeWithSite_20:"SynchronizeWithSite_20",WebGetLink_16:"WebGetLink_16",WebGetLink_20:"WebGetLink_20",LinkStatus_16:"LinkStatus_16",ConditionalFormatTrafficHigh_16:"ConditionalFormatTrafficHigh_16",ConditionalFormatTrafficLow_16:"ConditionalFormatTrafficLow_16",ConditionalFormatTrafficMedium_16:"ConditionalFormatTrafficMedium_16",ConditionalFormatTriangleHigh_16:"ConditionalFormatTriangleHigh_16",ConditionalFormatTriangleLow_16:"ConditionalFormatTriangleLow_16",ConditionalFormatTriangleMedium_16:"ConditionalFormatTriangleMedium_16",ConditionalFormat4CircleHigh_16:"ConditionalFormat4CircleHigh_16",ConditionalFormat4CircleLow_16:"ConditionalFormat4CircleLow_16",ConditionalFormat4CircleMedium1_16:"ConditionalFormat4CircleMedium1_16",ConditionalFormat4CircleMedium2_16:"ConditionalFormat4CircleMedium2_16",ConditionalFormatCircle25_16:"ConditionalFormatCircle25_16",ConditionalFormatCircle75_16:"ConditionalFormatCircle75_16",ConditionalFormatCircleEmpty_16:"ConditionalFormatCircleEmpty_16",ConditionalFormatCircleFilled_16:"ConditionalFormatCircleFilled_16",ConditionalFormatCircleHalf_16:"ConditionalFormatCircleHalf_16",ConditionalFormatCircleHigh_16:"ConditionalFormatCircleHigh_16",ConditionalFormatCircleLow_16:"ConditionalFormatCircleLow_16",ConditionalFormatCircleMedium_16:"ConditionalFormatCircleMedium_16",ConditionalFormatCircleSymbolHigh_16:"ConditionalFormatCircleSymbolHigh_16",ConditionalFormatCircleSymbolLow_16:"ConditionalFormatCircleSymbolLow_16",ConditionalFormatCircleSymbolMedium_16:"ConditionalFormatCircleSymbolMedium_16",ConditionalFormatFlagHigh_16:"ConditionalFormatFlagHigh_16",ConditionalFormatFlagLow_16:"ConditionalFormatFlagLow_16",ConditionalFormatFlagMedium_16:"ConditionalFormatFlagMedium_16",ConditionalFormatQuadrant25_16:"ConditionalFormatQuadrant25_16",ConditionalFormatQuadrant50_16:"ConditionalFormatQuadrant50_16",ConditionalFormatQuadrant75_16:"ConditionalFormatQuadrant75_16",ConditionalFormatQuadrantEmpty_16:"ConditionalFormatQuadrantEmpty_16",ConditionalFormatQuadrantFull_16:"ConditionalFormatQuadrantFull_16",ConditionalFormatSignalBarEmpty_16:"ConditionalFormatSignalBarEmpty_16",ConditionalFormatSignalBarHigh_16:"ConditionalFormatSignalBarHigh_16",ConditionalFormatSignalBarLow_16:"ConditionalFormatSignalBarLow_16",ConditionalFormatSignalBarMedium1_16:"ConditionalFormatSignalBarMedium1_16",ConditionalFormatSignalBarMedium2_16:"ConditionalFormatSignalBarMedium2_16",ConditionalFormatSignLow_16:"ConditionalFormatSignLow_16",ConditionalFormatSignMedium_16:"ConditionalFormatSignMedium_16",ConditionalFormatStarHigh_16:"ConditionalFormatStarHigh_16",ConditionalFormatStarLow_16:"ConditionalFormatStarLow_16",ConditionalFormatStarMedium_16:"ConditionalFormatStarMedium_16",ShapeStar_16:"ShapeStar_16",ConditionalFormatSymbolHigh_16:"ConditionalFormatSymbolHigh_16",ConditionalFormatSymbolLow_16:"ConditionalFormatSymbolLow_16",ConditionalFormatSymbolMedium_16:"ConditionalFormatSymbolMedium_16",ConditionalFormatGreyArrowDown_16:"ConditionalFormatGreyArrowDown_16",ConditionalFormatGreyArrowDownRight_16:"ConditionalFormatGreyArrowDownRight_16",ConditionalFormatGreyArrowRight_16:"ConditionalFormatGreyArrowRight_16",ConditionalFormatGreyArrowUp_16:"ConditionalFormatGreyArrowUp_16",ConditionalFormatGreyArrowUpRight_16:"ConditionalFormatGreyArrowUpRight_16",ConditionalFormatColoredArrowDown_16:"ConditionalFormatColoredArrowDown_16",ConditionalFormatColoredArrowDownRight_16:"ConditionalFormatColoredArrowDownRight_16",ConditionalFormatColoredArrowRight_16:"ConditionalFormatColoredArrowRight_16",ConditionalFormatColoredArrowUp_16:"ConditionalFormatColoredArrowUp_16",ConditionalFormatColoredArrowUpRight_16:"ConditionalFormatColoredArrowUpRight_16",StopConditional_12:"StopConditional_12",StopCFRule_16:"StopCFRule_16",FlyoutAnchorCFHighlightCells_32:"FlyoutAnchorCFHighlightCells_32",FormattingRuleTop10_32:"FormattingRuleTop10_32",FormattingRuleDataBar_32:"FormattingRuleDataBar_32",FormattingRuleGrad3_32:"FormattingRuleGrad3_32",FormattingRuleIconSet_32:"FormattingRuleIconSet_32",ShapeSheetShowFormulas_32:"ShapeSheetShowFormulas_32",ShapeSheetShowFormulas_16:"ShapeSheetShowFormulas_16",NumberSign_16:"NumberSign_16",Info_16:"Info_16",DataBarBlueGradient_32:"DataBarBlueGradient_32",DataBarGreenGradient_32:"DataBarGreenGradient_32",DataBarRedGradient_32:"DataBarRedGradient_32",DataBarLightBlueGradient_32:"DataBarLightBlueGradient_32",DataBarOrangeGradient_32:"DataBarOrangeGradient_32",DataBarPurpleGradient_32:"DataBarPurpleGradient_32",DataBarBlueSolid_32:"DataBarBlueSolid_32",DataBarGreenSolid_32:"DataBarGreenSolid_32",DataBarRedSolid_32:"DataBarRedSolid_32",DataBarLightBlueSolid_32:"DataBarLightBlueSolid_32",DataBarOrangeSolid_32:"DataBarOrangeSolid_32",DataBarPurpleSolid_32:"DataBarPurpleSolid_32",ColorScaleBWR_32:"ColorScaleBWR_32",ColorScaleGW_32:"ColorScaleGW_32",ColorScaleYG_32:"ColorScaleYG_32",ColorScaleWR_32:"ColorScaleWR_32",ColorScaleRYG_32:"ColorScaleRYG_32",ColorScaleWG_32:"ColorScaleWG_32",ColorScaleRWG_32:"ColorScaleRWG_32",ColorScaleRWB_32:"ColorScaleRWB_32",ColorScaleRW_32:"ColorScaleRW_32",ColorScaleGY_32:"ColorScaleGY_32",ColorScaleGYR_32:"ColorScaleGYR_32",ColorScaleGWR_32:"ColorScaleGWR_32",Duplicate_24:"Duplicate_24",ThumbsUp_16:"ThumbsUp_16",ThumbsDown_16:"ThumbsDown_16",ViewIssues_20:"ViewIssues_20",PictureCorrections_20:"PictureCorrections_20",ReplyComment_20:"ReplyComment_20",ChangesPaneEdit_20:"ChangesPaneEdit_20",SxShowFieldDman_20:"SxShowFieldDman_20",Update_20:"Update_20",FillDown_20:"FillDown_20",XLFieldListFilter_16:"XLFieldListFilter_16",XLFieldListColumns_20:"XLFieldListColumns_20",XLFieldListRows_20:"XLFieldListRows_20",XLFieldListValues_20:"XLFieldListValues_20",CreateSlicer_20:"CreateSlicer_20",TimeSlicerInsert_20:"TimeSlicerInsert_20",DeleteServer_20:"DeleteServer_20",PivotTableField_20:"PivotTableField_20",PivotExplore_16:"PivotExplore_16",Delete_20:"Delete_20",IgnoreIssue_20:"IgnoreIssue_20",ewr100_16:"ewr100_16",ewr101_16:"ewr101_16",ewr102_16:"ewr102_16",CommitFormula_20:"CommitFormula_20",SheetView_20:"SheetView_20",XLSortRibbon_20:"XLSortRibbon_20",SortUp_20:"SortUp_20",SortDown_20:"SortDown_20",AudioReader_20:"AudioReader_20",AudioReader_16:"AudioReader_16",ToggleTotalRow_20:"ToggleTotalRow_20",ShowTableAltTextDlg_20:"ShowTableAltTextDlg_20",ConvertToRange_20:"ConvertToRange_20",ChartSourceData_20:"ChartSourceData_20",IdeaNew_16:"IdeaNew_16",AnalyzeDataSimplified_16:"AnalyzeDataSimplified_16",Folder_16:"Folder_16",Open_16:"Open_16",XLFieldListColumns_16:"XLFieldListColumns_16",XLFieldListRows_16:"XLFieldListRows_16",XLFieldListValues_16:"XLFieldListValues_16",XLFieldListExpanderPlus_16:"XLFieldListExpanderPlus_16",XLFieldListExpanderMinus_16:"XLFieldListExpanderMinus_16",XLFieldListFieldsOpenIcon_16:"XLFieldListFieldsOpenIcon_16",XLFieldListDimensionIcon_16:"XLFieldListDimensionIcon_16",XLFieldListWbkTableIcon_16:"XLFieldListWbkTableIcon_16",XLFieldListKPIIcon_16:"XLFieldListKPIIcon_16",XLFieldListSetsOpenIcon_16:"XLFieldListSetsOpenIcon_16",XLFieldListSetsClosedIcon_16:"XLFieldListSetsClosedIcon_16",XLFieldListExtTableIcon_16:"XLFieldListExtTableIcon_16",Paste_24:"Paste_24",PasteFormulas_24:"PasteFormulas_24",PasteValues_24:"PasteValues_24",PasteFormatting_24:"PasteFormatting_24",PasteTranspose_24:"PasteTranspose_24",PasteLink_24:"PasteLink_24",PastePictureInCell_24:"PastePictureInCell_24",PasteWithColumnWidths_24:"PasteWithColumnWidths_24",Paste_16:"Paste_16",Autofill_16:"Autofill_16",CopyMonoline_16:"CopyMonoline_16",Lightning_16:"Lightning_16",PQColumnIndex_16:"PQColumnIndex_16",FillByExample_32:"FillByExample_32",RowHideTouch_24:"RowHideTouch_24",ColumnHideTouch_24:"ColumnHideTouch_24",RowUnhideTouch_24:"RowUnhideTouch_24",ColumnUnhideTouch_24:"ColumnUnhideTouch_24",EditGeneric_24:"EditGeneric_24",Clear_24:"Clear_24",InlineReplyPopout_24:"InlineReplyPopout_24",DeleteHyperlink_24:"DeleteHyperlink_24",WebInsertHyperlink_24:"WebInsertHyperlink_24",FillDown_24:"FillDown_24",Delete_24:"Delete_24",Update_24:"Update_24",SxShowFieldDman_24:"SxShowFieldDman_24",Cut_24:"Cut_24",Copy_24:"Copy_24",FillColorSplitDropdown_24:"FillColorSplitDropdown_24",FontColor_24:"FontColor_24",InsertRows_24:"InsertRows_24",DeleteRows_24:"DeleteRows_24",InsertColumns_24:"InsertColumns_24",InsertColumnsLeft_24:"InsertColumnsLeft_24",DeleteColumns_24:"DeleteColumns_24",WebInsertHyperlink_24:"WebInsertHyperlink_24",TableBorderColorSplitDropdown_24:"TableBorderColorSplitDropdown_24",LinkPreviewCard_24:"LinkPreviewCard_24",Hide_20:"Hide_20",Unhide_20:"Unhide_20",Filter_20:"Filter_20",DeleteFilter_20:"DeleteFilter_20",DropdownArrowHover_16:"DropdownArrowHover_16",UxGalThemeStyles_20:"UxGalThemeStyles_20",AddAPlace_16:"AddAPlace_16",Copy_16:"Copy_16",ReorderUpGlyph_16:"ReorderUpGlyph_16",ReorderDownGlyph_16:"ReorderDownGlyph_16",RangeDrag_32:"RangeDrag_32",Checkmark_16:"Checkmark_16",DeleteHover_16:"DeleteHover_16",AnimalExcelDataTypes_16:"AnimalExcelDataTypes_16",AppleExcelDataTypes_16:"AppleExcelDataTypes_16",AtomExcelDataTypes_16:"AtomExcelDataTypes_16",Bank_16:"Bank_16",BeakerExcelDataTypes_16:"BeakerExcelDataTypes_16",BridgeExcelDataTypes_16:"BridgeExcelDataTypes_16",CatExcelDataTypes_16:"CatExcelDataTypes_16",CityExcelDataTypes_16:"CityExcelDataTypes_16",ConstellationExcelDataTypes_16:"ConstellationExcelDataTypes_16",ConvertToEntity_16:"ConvertToEntity_16",DogExcelDataTypes_16:"DogExcelDataTypes_16",GradCapExcelDataTypes_16:"GradCapExcelDataTypes_16",HumanAnatomyExcelDataTypes_16:"HumanAnatomyExcelDataTypes_16",LocationPointerExcelDataTypes_16:"LocationPointerExcelDataTypes_16",MedicineNeedleExcelDataTypes_16:"MedicineNeedleExcelDataTypes_16",MountainExcelDataTypes_16:"MountainExcelDataTypes_16",MovieExcelDataTypes_16:"MovieExcelDataTypes_16",MusicExcelDataTypes_16:"MusicExcelDataTypes_16",OpenMap_16:"OpenMap_16",OuterSpaceExcelDataTypes_16:"OuterSpaceExcelDataTypes_16",PlanetExcelDataTypes_16:"PlanetExcelDataTypes_16",RichDataWolfram_16:"RichDataWolfram_16",SatelliteExcelDataTypes_16:"SatelliteExcelDataTypes_16",Entity_16:"Entity_16",Checkbox_32:"Checkbox_32",InsertDropdown_32:"InsertDropdown_32",SelectQueryType_20:"SelectQueryType_20",TableDesignIdeas_16:"TableDesignIdeas_16",Table_20:"Table_20",EditQuery_20:"EditQuery_20",AddQueryGroup_16:"AddQueryGroup_16",RefreshConnection_20:"RefreshConnection_20",ChangeQueryLoadSettings_20:"ChangeQueryLoadSettings_20",MergeQuery_20:"MergeQuery_20",Attachment_20:"Attachment_20",ExportConnectionFile_20:"ExportConnectionFile_20",PowerQueryAppend_20:"PowerQueryAppend_20",SuggestPivotTables_20:"SuggestPivotTables_20",Properties_20:"Properties_20",PivotTableProperties_20:"PivotTableProperties_20",Spelling_20:"Spelling_20",AboutButton_20:"AboutButton_20",CommentsPane_20:"CommentsPane_20",ShowChangesExcel_20:"ShowChangesExcel_20",Graph_20:"Graph_20",Links_20:"Links_20",AccessibilityChecker_20:"AccessibilityChecker_20",LinkedRecordsHelp_24:"LinkedRecordsHelp_24",ShowQueryPane_20:"ShowQueryPane_20",PaneResizingGrabber_32:"PaneResizingGrabber_32",NOV_ParameterTaskPane_20:"NOV_ParameterTaskPane_20",DataCleaning_20:"DataCleaning_20",AccountSupport_20:"AccountSupport_20",SendASmile_16:"SendASmile_16",SendAFrown_16:"SendAFrown_16",Lightbulb_16:"Lightbulb_16",FormulaBar_16:"FormulaBar_16",NameRange_16:"NameRange_16",Tag_16:"Tag_16",FormulaLet_16:"FormulaLet_16",Table_16:"Table_16",Intelligence_16:"Intelligence_16",SelectColumn_16:"SelectColumn_16",AbsoluteReference_16:"AbsoluteReference_16",optionscategoryformulas_32:"optionscategoryformulas_32",tableMoveHandle_20:"tableMoveHandle_20",SearchTools_16:"SearchTools_16",NameManager_16:"NameManager_16",FunctionV2_16:"FunctionV2_16",FunctionV2_20:"FunctionV2_20",FunctionV2_24:"FunctionV2_24",FunctionSparkle_16:"FunctionSparkle_16",FunctionSparkle_20:"FunctionSparkle_20",FunctionSparkle_24:"FunctionSparkle_24",CloseWhite:"CloseWhite",SpotlightDynamic:"SpotlightDynamic",UpArrowWhite:"UpArrowWhite",ViewingTogglesWhite:"ViewingTogglesWhite",ZoomMinusWhite:"ZoomMinusWhite",ZoomPlusWhite:"ZoomPlusWhite",Excel_32:"Excel_32",Feedback_20:"Feedback_20",ProtectForm_20:"ProtectForm_20",ExcelMonoline_16:"ExcelMonoline_16",ExcelMonoline_20:"ExcelMonoline_20",Refresh_20:"Refresh_20",JotNewWindow_16:"JotNewWindow_16",OLDeleteHover_20:"OLDeleteHover_20",ellipsis_16:"ellipsis_16",MultiSelect_16:"MultiSelect_16",DataTypeText_20:"DataTypeText_20",CommonControlArrowLeftUseWithBorder_24:"CommonControlArrowLeftUseWithBorder_24",CreateName_20:"CreateName_20",InfoFluent_16:"InfoFluent_16",ListAddNewColumnGlyph_16:"ListAddNewColumnGlyph_16",Filter_20:"Filter_20",EditFilter_16:"EditFilter_16",CommonControlChevronDown_16:"CommonControlChevronDown_16",CommonControlChevronUp_16:"CommonControlChevronUp_16",NumberFormat_16:"NumberFormat_16",FormatCellAlignment_16:"FormatCellAlignment_16",General_16:"General_16",DataTypeNumber_16:"DataTypeNumber_16",InternationalCurrency_16:"InternationalCurrency_16",Accounting_16:"Accounting_16",NewCalendar_16:"NewCalendar_16",Date_16:"Date_16",Clock_16:"Clock_16",Percentage_16:"Percentage_16",Fraction_16:"Fraction_16",DataTypeScientific_16:"DataTypeScientific_16",Text_16:"Text_16",EditCode_16:"EditCode_16",PbiDataFormat_16:"PbiDataFormat_16",CommonControlChevronUp_12:"CommonControlChevronUp_12",FontScheme_16:"FontScheme_16",TopAndBottomBorder_16:"TopAndBottomBorder_16",EditQuickCommand_Glyph_20:"EditQuickCommand_Glyph_20",InsertPictureSimple_16:"InsertPictureSimple_16",PictureInCell_16:"PictureInCell_16",PictureLinked_16:"PictureLinked_16",WrapText_16:"WrapText_16",UXCalendarsGallery_20:"UXCalendarsGallery_20",KeyboardShortcuts_16:"KeyboardShortcuts_16",PersonFeedback_16:"PersonFeedback_16",QuestionCircle_16:"QuestionCircle_16",FullScreenMaximize_16:"FullScreenMaximize_16",FullScreenMinimize_16:"FullScreenMinimize_16",NoBorder_16:"NoBorder_16",TopBorder_16:"TopBorder_16",BottomBorder_16:"BottomBorder_16",LeftBorder_16:"LeftBorder_16",RightBorder_16:"RightBorder_16",AllBorders_16:"AllBorders_16",BoxBorder_16:"BoxBorder_16",ThickOutsideBorder_16:"ThickOutsideBorder_16",DoubleBottomBorder_16:"DoubleBottomBorder_16",ThickBottomBorder_16:"ThickBottomBorder_16",TopAndThickBottomBorder_16:"TopAndThickBottomBorder_16",TopAndDoubleBottomBorder_16:"TopAndDoubleBottomBorder_16",InsideBorder_16:"InsideBorder_16",InsideHorizontalBorder_16:"InsideHorizontalBorder_16",InsideVerticalBorder_16:"InsideVerticalBorder_16",DoubleUnderline_16:"DoubleUnderline_16",Bold_16:"Bold_16",Italic_16:"Italic_16",Underline_16:"Underline_16",Strikethrough2_16:"Strikethrough2_16",FontColor_16:"FontColor_16",FillColorSplitDropdown_16:"FillColorSplitDropdown_16"}},11504:e=>{e.exports={PasteFormulas_16:"PasteFormulas_16",PasteFormulas_20:"PasteFormulas_20",PasteValues_16:"PasteValues_16",PasteValues_20:"PasteValues_20",PasteFormatting_16:"PasteFormatting_16",PasteFormatting_20:"PasteFormatting_20",PasteTranspose_16:"PasteTranspose_16",PasteTranspose_20:"PasteTranspose_20",PasteLink_16:"PasteLink_16",PasteLink_20:"PasteLink_20",PastePictureInCell_16:"PastePictureInCell_16",PastePictureInCell_20:"PastePictureInCell_20",PasteWithColumnWidths_16:"PasteWithColumnWidths_16",PasteWithColumnWidths_20:"PasteWithColumnWidths_20",TopBorder_20:"TopBorder_20",LeftBorder_20:"LeftBorder_20",RightBorder_20:"RightBorder_20",NoBorder_20:"NoBorder_20",BoxBorder_20:"BoxBorder_20",AllBorders_20:"AllBorders_20",ThickOutsideBorder_20:"ThickOutsideBorder_20",DoubleBottomBorder_20:"DoubleBottomBorder_20",ThickBottomBorder_20:"ThickBottomBorder_20",TopAndBottomBorder_20:"TopAndBottomBorder_20",TopAndThickBottomBorder_20:"TopAndThickBottomBorder_20",TopAndDoubleBottomBorder_20:"TopAndDoubleBottomBorder_20",InsideBorder_20:"InsideBorder_20",InsideHorizontalBorder_20:"InsideHorizontalBorder_20",InsideVerticalBorder_20:"InsideVerticalBorder_20",TableDrawTool_20:"TableDrawTool_20",BorderDrawToolGrid_20:"BorderDrawToolGrid_20",Clear_20:"Clear_20",MergeCellsAcross_20:"MergeCellsAcross_20",SplitCells_20:"SplitCells_20",CenterAcrossSelection_20:"CenterAcrossSelection_20",DataTypeNumber_20:"DataTypeNumber_20",InternationalCurrency_20:"InternationalCurrency_20",Accounting_20:"Accounting_20",Date_20:"Date_20",Date_32:"Date_32",LongDate_20:"LongDate_20",ProposeNewTime_20:"ProposeNewTime_20",Fraction_20:"Fraction_20",DataTypeScientific_20:"DataTypeScientific_20",RotateTextUp45Degrees_20:"RotateTextUp45Degrees_20",RotateTextDown45Degrees_20:"RotateTextDown45Degrees_20",ClimbingText_20:"ClimbingText_20",DescendingText_20:"DescendingText_20",StackedText_20:"StackedText_20",StackedText_16:"StackedText_16",RowHeight_20:"RowHeight_20",AutoFitRowHeight_20:"AutoFitRowHeight_20",ColumnWidth_20:"ColumnWidth_20",AutoFitColumnWidth_20:"AutoFitColumnWidth_20",RenameColumn_20:"RenameColumn_20",InsertRows_16:"InsertRows_16",InsertRows_20:"InsertRows_20",InsertColumns_16:"InsertColumns_16",InsertColumns_20:"InsertColumns_20",InsertRowsAbove_16:"InsertRowsAbove_16",InsertRowsAbove_20:"InsertRowsAbove_20",InsertRowBelow_20:"InsertRowBelow_20",InsertColumnsLeft_16:"InsertColumnsLeft_16",InsertColumnsLeft_20:"InsertColumnsLeft_20",InsertColumnsRight_20:"InsertColumnsRight_20",InsertColumnRight_20:"InsertColumnRight_20",InsertCellsShiftRight_16:"InsertCellsShiftRight_16",InsertCellsShiftRight_20:"InsertCellsShiftRight_20",InsertCellsShiftLeft_16:"InsertCellsShiftLeft_16",InsertCellsShiftLeft_20:"InsertCellsShiftLeft_20",InsertCellsShiftDown_16:"InsertCellsShiftDown_16",InsertCellsShiftDown_20:"InsertCellsShiftDown_20",InsertCopiedCells_16:"InsertCopiedCells_16",InsertCopiedCells_20:"InsertCopiedCells_20",InsertWorksheet_16:"InsertWorksheet_16",InsertWorksheet_20:"InsertWorksheet_20",DeleteRows_16:"DeleteRows_16",DeleteRows_20:"DeleteRows_20",DeleteColumns_16:"DeleteColumns_16",DeleteColumns_20:"DeleteColumns_20",DeleteCellsShiftLeft_16:"DeleteCellsShiftLeft_16",DeleteCellsShiftLeft_20:"DeleteCellsShiftLeft_20",DeleteCellsShiftRight_16:"DeleteCellsShiftRight_16",DeleteCellsShiftRight_20:"DeleteCellsShiftRight_20",DeleteCellsShiftUp_16:"DeleteCellsShiftUp_16",DeleteCellsShiftUp_20:"DeleteCellsShiftUp_20",DeleteSheet_16:"DeleteSheet_16",DeleteSheet_20:"DeleteSheet_20",DeleteSheetColumns_16:"DeleteSheetColumns_16",DeleteSheetColumns_20:"DeleteSheetColumns_20",DeleteTableRows_16:"DeleteTableRows_16",DeleteTableRows_20:"DeleteTableRows_20",ClearFormats_20:"ClearFormats_20",DeleteComment_20:"DeleteComment_20",DeleteHyperlink_20:"DeleteHyperlink_20",SortUp_20:"SortUp_20",SortDown_20:"SortDown_20",XLSortRibbon_20:"XLSortRibbon_20",Filter_20:"Filter_20",DeleteFilter_20:"DeleteFilter_20",XLReapplyFilter_20:"XLReapplyFilter_20",Replace_20:"Replace_20",ArrowForward_20:"ArrowForward_20",Checkmark_20:"Checkmark_20",PaintBrushandBucket_20:"PaintBrushandBucket_20",FormatCellAlignment_20:"FormatCellAlignment_20",AnimalExcelDataTypes_24:"AnimalExcelDataTypes_24",AppleExcelDataTypes_24:"AppleExcelDataTypes_24",AtomExcelDataTypes_24:"AtomExcelDataTypes_24",Bank_32:"Bank_32",BeakerExcelDataTypes_24:"BeakerExcelDataTypes_24",BridgeExcelDataTypes_24:"BridgeExcelDataTypes_24",CenterMapExcelDataTypes_24:"CenterMapExcelDataTypes_24",CityExcelDataTypes_24:"CityExcelDataTypes_24",ConvertToEntity_20:"ConvertToEntity_20",CurrencyExcelDataTypes_24:"CurrencyExcelDataTypes_24",DataProtectionExcelDataTypes_20:"DataProtectionExcelDataTypes_20",DataProtectionExcelDataTypes_24:"DataProtectionExcelDataTypes_24",ExerciseExcelDataTypes_24:"ExerciseExcelDataTypes_24",FirstAidExcelDataTypes_24:"FirstAidExcelDataTypes_24",GradCapExcelDataTypes_24:"GradCapExcelDataTypes_24",GlobeLightning_24:"GlobeLightning_24",HumanAnatomyExcelDataTypes_24:"HumanAnatomyExcelDataTypes_24",LeafExcelDataTypes_24:"LeafExcelDataTypes_24",Lightning_24:"Lightning_24",LocationPointerExcelDataTypes_24:"LocationPointerExcelDataTypes_24",MountainExcelDataTypes_24:"MountainExcelDataTypes_24",MovieExcelDataTypes_24:"MovieExcelDataTypes_24",MusicExcelDataTypes_24:"MusicExcelDataTypes_24",NotablePeopleExcelDataTypes_24:"NotablePeopleExcelDataTypes_24",OpenMap_24:"OpenMap_24",OpenMap_32:"OpenMap_32",OuterSpaceExcelDataTypes_24:"OuterSpaceExcelDataTypes_24",PartlySunnyWeatherExcelDataTypes_24:"PartlySunnyWeatherExcelDataTypes_24",SatelliteExcelDataTypes_24:"SatelliteExcelDataTypes_24",UpgradeProductExcel_20:"UpgradeProductExcel_20",YogaExcelDataTypes_24:"YogaExcelDataTypes_24",FormattingTopBottom_16:"FormattingTopBottom_16",FormattingTopBottom_20:"FormattingTopBottom_20",FlyoutAnchorCFHighlightCells_16:"FlyoutAnchorCFHighlightCells_16",FlyoutAnchorCFHighlightCells_20:"FlyoutAnchorCFHighlightCells_20",FormattingRuleGT_20:"FormattingRuleGT_20",FormattingRuleGT_32:"FormattingRuleGT_32",FormattingRuleLT_20:"FormattingRuleLT_20",FormattingRuleLT_32:"FormattingRuleLT_32",FormattingRuleBT_20:"FormattingRuleBT_20",FormattingRuleBT_32:"FormattingRuleBT_32",FormattingRuleEq_20:"FormattingRuleEq_20",FormattingRuleEq_32:"FormattingRuleEq_32",FormattingRuleContains_20:"FormattingRuleContains_20",FormattingRuleContains_32:"FormattingRuleContains_32",FormattingRuleDate_20:"FormattingRuleDate_20",FormattingRuleDate_32:"FormattingRuleDate_32",FormattingRuleDupe_20:"FormattingRuleDupe_20",FormattingRuleDupe_32:"FormattingRuleDupe_32",FormattingRuleTop10_20:"FormattingRuleTop10_20",FormattingRuleTop10_32:"FormattingRuleTop10_32",FormattingRuleTop10P_20:"FormattingRuleTop10P_20",FormattingRuleTop10P_32:"FormattingRuleTop10P_32",FormattingRuleBot10_20:"FormattingRuleBot10_20",FormattingRuleBot10_32:"FormattingRuleBot10_32",FormattingRuleBot10P_20:"FormattingRuleBot10P_20",FormattingRuleBot10P_32:"FormattingRuleBot10P_32",FormattingRuleAA_20:"FormattingRuleAA_20",FormattingRuleAA_32:"FormattingRuleAA_32",FormattingRuleBA_20:"FormattingRuleBA_20",FormattingRuleBA_32:"FormattingRuleBA_32",FormattingRuleDataBar_16:"FormattingRuleDataBar_16",FormattingRuleDataBar_20:"FormattingRuleDataBar_20",FormattingRuleDataBar_32:"FormattingRuleDataBar_32",FormattingRuleGrad3_16:"FormattingRuleGrad3_16",FormattingRuleGrad3_20:"FormattingRuleGrad3_20",FormattingRuleGrad3_32:"FormattingRuleGrad3_32",FormattingRuleIconSet_16:"FormattingRuleIconSet_16",FormattingRuleIconSet_20:"FormattingRuleIconSet_20",FormattingRuleIconSet_32:"FormattingRuleIconSet_32",DataBarBlueGradient_32:"DataBarBlueGradient_32",DataBarGreenGradient_32:"DataBarGreenGradient_32",DataBarRedGradient_32:"DataBarRedGradient_32",DataBarLightBlueGradient_32:"DataBarLightBlueGradient_32",DataBarOrangeGradient_32:"DataBarOrangeGradient_32",DataBarPurpleGradient_32:"DataBarPurpleGradient_32",DataBarBlueSolid_32:"DataBarBlueSolid_32",DataBarGreenSolid_32:"DataBarGreenSolid_32",DataBarRedSolid_32:"DataBarRedSolid_32",DataBarLightBlueSolid_32:"DataBarLightBlueSolid_32",DataBarOrangeSolid_32:"DataBarOrangeSolid_32",DataBarPurpleSolid_32:"DataBarPurpleSolid_32",ColorScaleBWR_32:"ColorScaleBWR_32",ColorScaleGW_32:"ColorScaleGW_32",ColorScaleYG_32:"ColorScaleYG_32",ColorScaleWR_32:"ColorScaleWR_32",ColorScaleRYG_32:"ColorScaleRYG_32",ColorScaleWG_32:"ColorScaleWG_32",ColorScaleRWG_32:"ColorScaleRWG_32",ColorScaleRWB_32:"ColorScaleRWB_32",ColorScaleRW_32:"ColorScaleRW_32",ColorScaleGY_32:"ColorScaleGY_32",ColorScaleGYR_32:"ColorScaleGYR_32",ColorScaleGWR_32:"ColorScaleGWR_32",XLCFClearRules_16:"XLCFClearRules_16",XLCFClearRules_20:"XLCFClearRules_20",FormattingRulesLegend_16:"FormattingRulesLegend_16",FormattingRulesLegend_20:"FormattingRulesLegend_20",NewCFRule_16:"NewCFRule_16",NewCFRule_20:"NewCFRule_20",ConditionalFormatTrafficHigh_16:"ConditionalFormatTrafficHigh_16",ConditionalFormatTrafficLow_16:"ConditionalFormatTrafficLow_16",ConditionalFormatTrafficMedium_16:"ConditionalFormatTrafficMedium_16",ConditionalFormatTriangleHigh_16:"ConditionalFormatTriangleHigh_16",ConditionalFormatTriangleLow_16:"ConditionalFormatTriangleLow_16",ConditionalFormatTriangleMedium_16:"ConditionalFormatTriangleMedium_16",ConditionalFormat4CircleHigh_16:"ConditionalFormat4CircleHigh_16",ConditionalFormat4CircleLow_16:"ConditionalFormat4CircleLow_16",ConditionalFormat4CircleMedium1_16:"ConditionalFormat4CircleMedium1_16",ConditionalFormat4CircleMedium2_16:"ConditionalFormat4CircleMedium2_16",ConditionalFormatCircle25_16:"ConditionalFormatCircle25_16",ConditionalFormatCircle75_16:"ConditionalFormatCircle75_16",ConditionalFormatCircleEmpty_16:"ConditionalFormatCircleEmpty_16",ConditionalFormatCircleFilled_16:"ConditionalFormatCircleFilled_16",ConditionalFormatCircleHalf_16:"ConditionalFormatCircleHalf_16",ConditionalFormatCircleHigh_16:"ConditionalFormatCircleHigh_16",ConditionalFormatCircleLow_16:"ConditionalFormatCircleLow_16",ConditionalFormatCircleMedium_16:"ConditionalFormatCircleMedium_16",ConditionalFormatCircleSymbolHigh_16:"ConditionalFormatCircleSymbolHigh_16",ConditionalFormatCircleSymbolLow_16:"ConditionalFormatCircleSymbolLow_16",ConditionalFormatCircleSymbolMedium_16:"ConditionalFormatCircleSymbolMedium_16",ConditionalFormatFlagHigh_16:"ConditionalFormatFlagHigh_16",ConditionalFormatFlagLow_16:"ConditionalFormatFlagLow_16",ConditionalFormatFlagMedium_16:"ConditionalFormatFlagMedium_16",ConditionalFormatQuadrant25_16:"ConditionalFormatQuadrant25_16",ConditionalFormatQuadrant50_16:"ConditionalFormatQuadrant50_16",ConditionalFormatQuadrant75_16:"ConditionalFormatQuadrant75_16",ConditionalFormatQuadrantEmpty_16:"ConditionalFormatQuadrantEmpty_16",ConditionalFormatQuadrantFull_16:"ConditionalFormatQuadrantFull_16",ConditionalFormatSignalBarEmpty_16:"ConditionalFormatSignalBarEmpty_16",ConditionalFormatSignalBarHigh_16:"ConditionalFormatSignalBarHigh_16",ConditionalFormatSignalBarLow_16:"ConditionalFormatSignalBarLow_16",ConditionalFormatSignalBarMedium1_16:"ConditionalFormatSignalBarMedium1_16",ConditionalFormatSignalBarMedium2_16:"ConditionalFormatSignalBarMedium2_16",ConditionalFormatSignLow_16:"ConditionalFormatSignLow_16",ConditionalFormatSignMedium_16:"ConditionalFormatSignMedium_16",ConditionalFormatStarHigh_16:"ConditionalFormatStarHigh_16",ConditionalFormatStarLow_16:"ConditionalFormatStarLow_16",ConditionalFormatStarMedium_16:"ConditionalFormatStarMedium_16",ShapeStar_16:"ShapeStar_16",ConditionalFormatSymbolHigh_16:"ConditionalFormatSymbolHigh_16",ConditionalFormatSymbolLow_16:"ConditionalFormatSymbolLow_16",ConditionalFormatSymbolMedium_16:"ConditionalFormatSymbolMedium_16",ConditionalFormatGreyArrowDown_16:"ConditionalFormatGreyArrowDown_16",ConditionalFormatGreyArrowDownRight_16:"ConditionalFormatGreyArrowDownRight_16",ConditionalFormatGreyArrowRight_16:"ConditionalFormatGreyArrowRight_16",ConditionalFormatGreyArrowUp_16:"ConditionalFormatGreyArrowUp_16",ConditionalFormatGreyArrowUpRight_16:"ConditionalFormatGreyArrowUpRight_16",ConditionalFormatColoredArrowDown_16:"ConditionalFormatColoredArrowDown_16",ConditionalFormatColoredArrowDownRight_16:"ConditionalFormatColoredArrowDownRight_16",ConditionalFormatColoredArrowRight_16:"ConditionalFormatColoredArrowRight_16",ConditionalFormatColoredArrowUp_16:"ConditionalFormatColoredArrowUp_16",ConditionalFormatColoredArrowUpRight_16:"ConditionalFormatColoredArrowUpRight_16",Textbox_20:"Textbox_20",ShapeRectangle_20:"ShapeRectangle_20",ShapeRoundRectangle_20:"ShapeRoundRectangle_20",ShapeEllipse_20:"ShapeEllipse_20",ShapeWedgeRRectCallout_20:"ShapeWedgeRRectCallout_20",ShapeStar_20:"ShapeStar_20",ShapeIsocelesTriangle_20:"ShapeIsocelesTriangle_20",ShapeCube_20:"ShapeCube_20",ShapeCan_20:"ShapeCan_20",StraightConnector_20:"StraightConnector_20",StraightArrowConnector_20:"StraightArrowConnector_20",DoubleArrow_20:"DoubleArrow_20",ShapeRightArrow_20:"ShapeRightArrow_20",ShapeDownArrow_20:"ShapeDownArrow_20",ShapeLeftArrow_20:"ShapeLeftArrow_20",ShapeUpArrow_20:"ShapeUpArrow_20",ShapeUpDownArrow_20:"ShapeUpDownArrow_20",ShapeLeftRightArrow_20:"ShapeLeftRightArrow_20",AngledConnector_20:"AngledConnector_20",AngledArrowConnector_20:"AngledArrowConnector_20",AngledDoubleArrowConnector_20:"AngledDoubleArrowConnector_20",CurvedConnector_20:"CurvedConnector_20",CurvedArrowConnector_20:"CurvedArrowConnector_20",CurvedDoubleArrowConnector_20:"CurvedDoubleArrowConnector_20",ShapeSnipSingleCornerRectangle_20:"ShapeSnipSingleCornerRectangle_20",ShapeSnipSameSideCornerRectangle_20:"ShapeSnipSameSideCornerRectangle_20",ShapeSnipDiagonalCornerRectangle_20:"ShapeSnipDiagonalCornerRectangle_20",ShapeSnipRoundSingleCornerRectangle_20:"ShapeSnipRoundSingleCornerRectangle_20",ShapeRoundSingleCornerRectangle_20:"ShapeRoundSingleCornerRectangle_20",ShapeRoundSameSideCornerRectangle_20:"ShapeRoundSameSideCornerRectangle_20",ShapeRoundDiagonalCornerRectangle_20:"ShapeRoundDiagonalCornerRectangle_20",ShapeRightTriangle_20:"ShapeRightTriangle_20",ShapeParallelogram_20:"ShapeParallelogram_20",ShapeTrapezoid_20:"ShapeTrapezoid_20",ShapeDiamond_20:"ShapeDiamond_20",ShapePentagon_20:"ShapePentagon_20",ShapeHexagon_20:"ShapeHexagon_20",ShapeHeptagon_20:"ShapeHeptagon_20",ShapeOctagon_20:"ShapeOctagon_20",ShapeDecagon_20:"ShapeDecagon_20",ShapeDodecagon_20:"ShapeDodecagon_20",ShapePie_20:"ShapePie_20",ShapeChord_20:"ShapeChord_20",ShapeTeardrop_20:"ShapeTeardrop_20",ShapeFrame_20:"ShapeFrame_20",ShapeHalfFrame_20:"ShapeHalfFrame_20",ShapeLShape_20:"ShapeLShape_20",ShapeDiagonalStripe_20:"ShapeDiagonalStripe_20",ShapePlus_20:"ShapePlus_20",ShapePlaque_20:"ShapePlaque_20",ShapeBevel_20:"ShapeBevel_20",ShapeDonut_20:"ShapeDonut_20",ShapeNoSmoking_20:"ShapeNoSmoking_20",ShapeBlockArc_20:"ShapeBlockArc_20",ShapeFoldedCorner_20:"ShapeFoldedCorner_20",ShapeSmileyFace_20:"ShapeSmileyFace_20",ShapeHeart_20:"ShapeHeart_20",ShapeLightningBolt_20:"ShapeLightningBolt_20",ShapeSun_20:"ShapeSun_20",ShapeMoon_20:"ShapeMoon_20",OartShapeCloud_20:"OartShapeCloud_20",Arc_20:"Arc_20",ShapeBracketPair_20:"ShapeBracketPair_20",ShapeBracePair_20:"ShapeBracePair_20",ShapeLeftBracket_20:"ShapeLeftBracket_20",ShapeRightBracket_20:"ShapeRightBracket_20",ShapeLeftBrace_20:"ShapeLeftBrace_20",ShapeRightBrace_20:"ShapeRightBrace_20",ShapeQuadArrow_20:"ShapeQuadArrow_20",ShapeLeftRightUpArrow_20:"ShapeLeftRightUpArrow_20",ShapeBentArrow_20:"ShapeBentArrow_20",ShapeUturnArrow_20:"ShapeUturnArrow_20",ShapeLeftUpArrow_20:"ShapeLeftUpArrow_20",ShapeBentUpArrow_20:"ShapeBentUpArrow_20",ShapeCurvedRightArrow_20:"ShapeCurvedRightArrow_20",ShapeCurvedLeftArrow_20:"ShapeCurvedLeftArrow_20",ShapeCurvedUpArrow_20:"ShapeCurvedUpArrow_20",ShapeCurvedDownArrow_20:"ShapeCurvedDownArrow_20",ShapeStripedRightArrow_20:"ShapeStripedRightArrow_20",ShapeNotchedRightArrow_20:"ShapeNotchedRightArrow_20",ShapeHomePlate_20:"ShapeHomePlate_20",ShapeChevron_20:"ShapeChevron_20",ShapeRightArrowCallout_20:"ShapeRightArrowCallout_20",ShapeDownArrowCallout_20:"ShapeDownArrowCallout_20",ShapeLeftArrowCallout_20:"ShapeLeftArrowCallout_20",ShapeUpArrowCallout_20:"ShapeUpArrowCallout_20",ShapeLeftRightArrowCallout_20:"ShapeLeftRightArrowCallout_20",ShapeQuadArrowCallout_20:"ShapeQuadArrowCallout_20",ShapeCircularArrow_20:"ShapeCircularArrow_20",ShapePlusSign_20:"ShapePlusSign_20",ShapeMinusSign_20:"ShapeMinusSign_20",ShapeMultiplySign_20:"ShapeMultiplySign_20",ShapeDivisionSign_20:"ShapeDivisionSign_20",ShapeEqualSign_20:"ShapeEqualSign_20",ShapeNotEqualSign_20:"ShapeNotEqualSign_20",ShapeFlowChartDecision_20:"ShapeFlowChartDecision_20",ShapeFlowChartPredefinedProcess_20:"ShapeFlowChartPredefinedProcess_20",ShapeFlowChartInternalStorage_20:"ShapeFlowChartInternalStorage_20",ShapeFlowChartDocument_20:"ShapeFlowChartDocument_20",ShapeFlowChartMultidocument_20:"ShapeFlowChartMultidocument_20",ShapeFlowChartTerminator_20:"ShapeFlowChartTerminator_20",ShapeFlowChartPreparation_20:"ShapeFlowChartPreparation_20",ShapeFlowChartManualInput_20:"ShapeFlowChartManualInput_20",ShapeFlowChartConnector_20:"ShapeFlowChartConnector_20",ShapeFlowChartOffpageConnector_20:"ShapeFlowChartOffpageConnector_20",ShapeFlowChartPunchedCard_20:"ShapeFlowChartPunchedCard_20",ShapeFlowChartPunchedTape_20:"ShapeFlowChartPunchedTape_20",ShapeFlowChartSummingJunction_20:"ShapeFlowChartSummingJunction_20",ShapeFlowChartOr_20:"ShapeFlowChartOr_20",ShapeFlowChartCollate_20:"ShapeFlowChartCollate_20",ShapeFlowChartSort_20:"ShapeFlowChartSort_20",ShapeFlowChartMerge_20:"ShapeFlowChartMerge_20",ShapeFlowChartOnlineStorage_20:"ShapeFlowChartOnlineStorage_20",ShapeFlowChartDelay_20:"ShapeFlowChartDelay_20",ShapeFlowChartMagneticTape_20:"ShapeFlowChartMagneticTape_20",ShapeFlowChartMagneticDisk_20:"ShapeFlowChartMagneticDisk_20",ShapeFlowChartMagneticDrum_20:"ShapeFlowChartMagneticDrum_20",ShapeFlowChartDisplay_20:"ShapeFlowChartDisplay_20",ShapeIrregularSeal1_20:"ShapeIrregularSeal1_20",ShapeIrregularSeal2_20:"ShapeIrregularSeal2_20",ShapeSeal4_20:"ShapeSeal4_20",Shape6PointStar_20:"Shape6PointStar_20",Shape7PointStar_20:"Shape7PointStar_20",ShapeSeal8_20:"ShapeSeal8_20",Shape10PointStar_20:"Shape10PointStar_20",Shape12PointStar_20:"Shape12PointStar_20",ShapeSeal16_20:"ShapeSeal16_20",ShapeSeal24_20:"ShapeSeal24_20",ShapeSeal32_20:"ShapeSeal32_20",ShapeRibbon2_20:"ShapeRibbon2_20",ShapeRibbon_20:"ShapeRibbon_20",ShapeEllipseRibbon2_20:"ShapeEllipseRibbon2_20",ShapeEllipseRibbon_20:"ShapeEllipseRibbon_20",ShapeVerticalScroll_20:"ShapeVerticalScroll_20",ShapeHorizontalScroll_20:"ShapeHorizontalScroll_20",ShapeWave_20:"ShapeWave_20",ShapeDoubleWave_20:"ShapeDoubleWave_20",ShapeWedgeRectCallout_20:"ShapeWedgeRectCallout_20",ShapeWedgeEllipseCallout_20:"ShapeWedgeEllipseCallout_20",ShapeCloudCallout_20:"ShapeCloudCallout_20",ShapeBorderCallout1_20:"ShapeBorderCallout1_20",ShapeBorderCallout2_20:"ShapeBorderCallout2_20",ShapeBorderCallout3_20:"ShapeBorderCallout3_20",ShapeAccentCallout1_20:"ShapeAccentCallout1_20",ShapeAccentCallout2_20:"ShapeAccentCallout2_20",ShapeAccentCallout3_20:"ShapeAccentCallout3_20",ShapeCallout1_20:"ShapeCallout1_20",ShapeCallout2_20:"ShapeCallout2_20",ShapeCallout3_20:"ShapeCallout3_20",ShapeAccentBorderCallout1_20:"ShapeAccentBorderCallout1_20",ShapeAccentBorderCallout2_20:"ShapeAccentBorderCallout2_20",ShapeAccentBorderCallout3_20:"ShapeAccentBorderCallout3_20",ChartTypeClusteredColumn_48:"ChartTypeClusteredColumn_48",ChartTypeStackedColumn_48:"ChartTypeStackedColumn_48",ChartTypePercentStackedColumn_48:"ChartTypePercentStackedColumn_48",ChartTypeLine_48:"ChartTypeLine_48",ChartTypeStackedLine_48:"ChartTypeStackedLine_48",ChartTypePercentStackedline_48:"ChartTypePercentStackedline_48",ChartTypeLinewithmarkers_48:"ChartTypeLinewithmarkers_48",ChartTypeStackedlinewithmarkers_48:"ChartTypeStackedlinewithmarkers_48",ChartTypePercentStackedlinewithmarkers_48:"ChartTypePercentStackedlinewithmarkers_48",ChartTypePie_48:"ChartTypePie_48",ChartTypeDoughnut_48:"ChartTypeDoughnut_48",ChartTypeClusteredBar_48:"ChartTypeClusteredBar_48",ChartTypeStackedBar_48:"ChartTypeStackedBar_48",ChartTypePercentStackedBar_48:"ChartTypePercentStackedBar_48",ChartTypeArea_48:"ChartTypeArea_48",ChartTypeStackedArea_48:"ChartTypeStackedArea_48",ChartTypePercentStackedArea_48:"ChartTypePercentStackedArea_48",ChartTypeScatter_48:"ChartTypeScatter_48",ChartTypeScatterwithsmoothedLines_48:"ChartTypeScatterwithsmoothedLines_48",ChartTypeScatterwithsmoothedLineswithoutmarkers_48:"ChartTypeScatterwithsmoothedLineswithoutmarkers_48",ChartTypeScatterwithlines_48:"ChartTypeScatterwithlines_48",ChartTypeScatterwithlineswithoutmarkers_48:"ChartTypeScatterwithlineswithoutmarkers_48",ChartTypeWaterfall_48:"ChartTypeWaterfall_48",ChartTypeTreemap_48:"ChartTypeTreemap_48",ChartTypeSunburst_48:"ChartTypeSunburst_48",ChartTypeFunnel_48:"ChartTypeFunnel_48",ChartTypeHistogram_48:"ChartTypeHistogram_48",ChartTypePareto_48:"ChartTypePareto_48",ChartTypeBoxAndWhisker_48:"ChartTypeBoxAndWhisker_48",ChartTypeRadar_48:"ChartTypeRadar_48",ChartTypeFilledRadar_48:"ChartTypeFilledRadar_48",ChartTypeRadarwithmarkersateachdatapoint_48:"ChartTypeRadarwithmarkersateachdatapoint_48",ColumnLineCombo_48:"ColumnLineCombo_48",ColumnLineonSecondaryCombo_48:"ColumnLineonSecondaryCombo_48",StackedAreaColumnCombo_48:"StackedAreaColumnCombo_48",ChartlibAddRemoveDataTableItem_48:"ChartlibAddRemoveDataTableItem_48",ChartlibAddRemoveDataTableWithLegendKeysItem_32:"ChartlibAddRemoveDataTableWithLegendKeysItem_32",ChartlibAddRemoveDataTableWithLegendKeysItem_48:"ChartlibAddRemoveDataTableWithLegendKeysItem_48",ChartlibAddRemoveDataTableNoneItem_32:"ChartlibAddRemoveDataTableNoneItem_32",ChartlibAddRemoveDataTableNoneItem_48:"ChartlibAddRemoveDataTableNoneItem_48",ChartlibAddRemoveLegendBottomItem_32:"ChartlibAddRemoveLegendBottomItem_32",ChartlibAddRemoveLegendBottomItem_48:"ChartlibAddRemoveLegendBottomItem_48",ChartlibAddRemoveLegendLeftItem_32:"ChartlibAddRemoveLegendLeftItem_32",ChartlibAddRemoveLegendLeftItem_48:"ChartlibAddRemoveLegendLeftItem_48",ChartlibAddRemoveLegendTopItem_32:"ChartlibAddRemoveLegendTopItem_32",ChartlibAddRemoveLegendTopItem_48:"ChartlibAddRemoveLegendTopItem_48",ChartlibAddRemoveLegendRightItem_32:"ChartlibAddRemoveLegendRightItem_32",ChartlibAddRemoveLegendRightItem_48:"ChartlibAddRemoveLegendRightItem_48",ChartlibAddRemoveLegendNoneItem_32:"ChartlibAddRemoveLegendNoneItem_32",ChartlibAddRemoveLegendNoneItem_48:"ChartlibAddRemoveLegendNoneItem_48",ChartlibAddRemovePrimaryVerticalAxisTitleRotatedItem_32:"ChartlibAddRemovePrimaryVerticalAxisTitleRotatedItem_32",ChartlibAddRemovePrimaryVerticalAxisTitleRotatedItem_48:"ChartlibAddRemovePrimaryVerticalAxisTitleRotatedItem_48",ChartlibAddRemovePrimaryVerticalAxisTitleGallery_16:"ChartlibAddRemovePrimaryVerticalAxisTitleGallery_16",ChartlibAddRemovePrimaryVerticalAxisTitleGallery_32:"ChartlibAddRemovePrimaryVerticalAxisTitleGallery_32",ChartlibAddRemovePrimaryHorizontalAxisTitleAdjacentToAxisItem_32:"ChartlibAddRemovePrimaryHorizontalAxisTitleAdjacentToAxisItem_32",ChartlibAddRemovePrimaryHorizontalAxisTitleAdjacentToAxisItem_48:"ChartlibAddRemovePrimaryHorizontalAxisTitleAdjacentToAxisItem_48",ChartlibAddRemovePrimaryHorizontalAxisTitleGallery_16:"ChartlibAddRemovePrimaryHorizontalAxisTitleGallery_16",ChartlibAddRemovePrimaryHorizontalAxisTitleGallery_32:"ChartlibAddRemovePrimaryHorizontalAxisTitleGallery_32",ChartTitlesElement_32:"ChartTitlesElement_32",EditGeneric_32:"EditGeneric_32",EditGeneric_48:"EditGeneric_48",ChartlibAddRemoveChartTitleAboveChartItem_32:"ChartlibAddRemoveChartTitleAboveChartItem_32",ChartlibAddRemoveChartTitleAboveChartItem_48:"ChartlibAddRemoveChartTitleAboveChartItem_48",ChartlibAddRemoveChartTitleCenteredOverlayItem_32:"ChartlibAddRemoveChartTitleCenteredOverlayItem_32",ChartlibAddRemoveChartTitleCenteredOverlayItem_48:"ChartlibAddRemoveChartTitleCenteredOverlayItem_48",ChartlibAddRemoveChartTitleNoneItem_32:"ChartlibAddRemoveChartTitleNoneItem_32",ChartlibAddRemoveChartTitleNoneItem_48:"ChartlibAddRemoveChartTitleNoneItem_48",ChartlibAddRemoveVerticalAxisNoneItem_32:"ChartlibAddRemoveVerticalAxisNoneItem_32",ChartlibAddRemoveVerticalAxisNoneItem_48:"ChartlibAddRemoveVerticalAxisNoneItem_48",ChartlibAddRemoveVerticalAxisBillionsItem_32:"ChartlibAddRemoveVerticalAxisBillionsItem_32",ChartlibAddRemoveVerticalAxisBillionsItem_48:"ChartlibAddRemoveVerticalAxisBillionsItem_48",ChartlibAddRemoveVerticalAxisLogScaleItem_32:"ChartlibAddRemoveVerticalAxisLogScaleItem_32",ChartlibAddRemoveVerticalAxisLogScaleItem_48:"ChartlibAddRemoveVerticalAxisLogScaleItem_48",ChartlibAddRemoveVerticalAxisMillionsItem_32:"ChartlibAddRemoveVerticalAxisMillionsItem_32",ChartlibAddRemoveVerticalAxisMillionsItem_48:"ChartlibAddRemoveVerticalAxisMillionsItem_48",ChartlibAddRemoveVerticalAxisThousandsItem_32:"ChartlibAddRemoveVerticalAxisThousandsItem_32",ChartlibAddRemoveVerticalAxisThousandsItem_48:"ChartlibAddRemoveVerticalAxisThousandsItem_48",ChartlibAddRemoveVerticalAxisShowItem_32:"ChartlibAddRemoveVerticalAxisShowItem_32",ChartlibAddRemoveVerticalAxisShowItem_48:"ChartlibAddRemoveVerticalAxisShowItem_48",ChartlibAddRemoveHorizontalAxisBillionsItem_32:"ChartlibAddRemoveHorizontalAxisBillionsItem_32",ChartlibAddRemoveHorizontalAxisBillionsItem_48:"ChartlibAddRemoveHorizontalAxisBillionsItem_48",ChartlibAddRemoveHorizontalAxisLogScaleItem_32:"ChartlibAddRemoveHorizontalAxisLogScaleItem_32",ChartlibAddRemoveHorizontalAxisLogScaleItem_48:"ChartlibAddRemoveHorizontalAxisLogScaleItem_48",ChartlibAddRemoveHorizontalAxisMillionsItem_32:"ChartlibAddRemoveHorizontalAxisMillionsItem_32",ChartlibAddRemoveHorizontalAxisMillionsItem_48:"ChartlibAddRemoveHorizontalAxisMillionsItem_48",ChartlibAddRemoveHorizontalAxisThousandsItem_32:"ChartlibAddRemoveHorizontalAxisThousandsItem_32",ChartlibAddRemoveHorizontalAxisThousandsItem_48:"ChartlibAddRemoveHorizontalAxisThousandsItem_48",ChartlibAddRemovePrimaryHorizontalAxisTitleNoneItem_32:"ChartlibAddRemovePrimaryHorizontalAxisTitleNoneItem_32",ChartlibAddRemovePrimaryHorizontalAxisTitleNoneItem_48:"ChartlibAddRemovePrimaryHorizontalAxisTitleNoneItem_48",ChartlibAddRemovePrimaryVerticalAxisTitleHorizontalItem_32:"ChartlibAddRemovePrimaryVerticalAxisTitleHorizontalItem_32",ChartlibAddRemovePrimaryVerticalAxisTitleHorizontalItem_48:"ChartlibAddRemovePrimaryVerticalAxisTitleHorizontalItem_48",ChartlibAddRemovePrimaryVerticalAxisTitleNoneItem_32:"ChartlibAddRemovePrimaryVerticalAxisTitleNoneItem_32",ChartlibAddRemovePrimaryVerticalAxisTitleNoneItem_48:"ChartlibAddRemovePrimaryVerticalAxisTitleNoneItem_48",ChartlibAddRemovePrimaryVerticalAxisTitleVerticalItem_32:"ChartlibAddRemovePrimaryVerticalAxisTitleVerticalItem_32",ChartlibAddRemovePrimaryVerticalAxisTitleVerticalItem_48:"ChartlibAddRemovePrimaryVerticalAxisTitleVerticalItem_48",ChartlibAddRemoveDataLabelCenterItem_32:"ChartlibAddRemoveDataLabelCenterItem_32",ChartlibAddRemoveDataLabelCenterItem_48:"ChartlibAddRemoveDataLabelCenterItem_48",ChartlibAddRemoveDataLabelInsideBaseItem_32:"ChartlibAddRemoveDataLabelInsideBaseItem_32",ChartlibAddRemoveDataLabelInsideBaseItem_48:"ChartlibAddRemoveDataLabelInsideBaseItem_48",ChartlibAddRemoveDataLabelInsideEndItem_32:"ChartlibAddRemoveDataLabelInsideEndItem_32",ChartlibAddRemoveDataLabelInsideEndItem_48:"ChartlibAddRemoveDataLabelInsideEndItem_48",ChartlibAddRemoveDataLabelNoneItem_32:"ChartlibAddRemoveDataLabelNoneItem_32",ChartlibAddRemoveDataLabelNoneItem_48:"ChartlibAddRemoveDataLabelNoneItem_48",ChartlibAddRemoveDataLabelOutSideEndItem_32:"ChartlibAddRemoveDataLabelOutSideEndItem_32",ChartlibAddRemoveDataLabelOutSideEndItem_48:"ChartlibAddRemoveDataLabelOutSideEndItem_48",ChartlibAddRemovePrimaryVerticalGridlinesGallery_16:"ChartlibAddRemovePrimaryVerticalGridlinesGallery_16",ChartlibAddRemovePrimaryHorizontalGridlinesGallery_16:"ChartlibAddRemovePrimaryHorizontalGridlinesGallery_16",ChartlibAddRemoveHorizontalGridLinesMinorItem_32:"ChartlibAddRemoveHorizontalGridLinesMinorItem_32",ChartlibAddRemoveHorizontalGridLinesMinorItem_48:"ChartlibAddRemoveHorizontalGridLinesMinorItem_48",ChartlibAddRemovePrimaryVerticalGridlinesGallery_32:"ChartlibAddRemovePrimaryVerticalGridlinesGallery_32",ChartlibAddRemoveVerticalGridLinesMajorItem_48:"ChartlibAddRemoveVerticalGridLinesMajorItem_48",ChartlibAddRemoveVerticalGridLinesMinorItem_32:"ChartlibAddRemoveVerticalGridLinesMinorItem_32",ChartlibAddRemoveVerticalGridLinesMinorItem_48:"ChartlibAddRemoveVerticalGridLinesMinorItem_48",ChartlibAddRemoveHorizontalGridlLinesNoneItem_32:"ChartlibAddRemoveHorizontalGridlLinesNoneItem_32",ChartlibAddRemoveHorizontalGridlLinesNoneItem_48:"ChartlibAddRemoveHorizontalGridlLinesNoneItem_48",ChartlibAddRemoveVerticalGridlLinesNoneItem_32:"ChartlibAddRemoveVerticalGridlLinesNoneItem_32",ChartlibAddRemoveVerticalGridlLinesNoneItem_48:"ChartlibAddRemoveVerticalGridlLinesNoneItem_48",ChartlibAddRemovePrimaryHorizontalAxisGallery_16:"ChartlibAddRemovePrimaryHorizontalAxisGallery_16",ChartlibAddRemoveLegendLeftOverlayItem_32:"ChartlibAddRemoveLegendLeftOverlayItem_32",ChartlibAddRemoveLegendLeftOverlayItem_48:"ChartlibAddRemoveLegendLeftOverlayItem_48",ChartlibAddRemovePrimaryVerticalAxisGallery_16:"ChartlibAddRemovePrimaryVerticalAxisGallery_16",ChartlibAddRemoveLegendRightOverlayItem_32:"ChartlibAddRemoveLegendRightOverlayItem_32",ChartlibAddRemoveLegendRightOverlayItem_48:"ChartlibAddRemoveLegendRightOverlayItem_48",ChartlibAddRemoveHorizontalAxisGallery_16:"ChartlibAddRemoveHorizontalAxisGallery_16",ChartlibAddRemoveVerticalAxisGallery_16:"ChartlibAddRemoveVerticalAxisGallery_16",ChartlibAddRemoveHorizontalAxisNoneItem_32:"ChartlibAddRemoveHorizontalAxisNoneItem_32",ChartlibAddRemoveHorizontalAxisNoneItem_48:"ChartlibAddRemoveHorizontalAxisNoneItem_48",ChartlibAddRemoveHorizontalAxisWithoutLabelsItem_32:"ChartlibAddRemoveHorizontalAxisWithoutLabelsItem_32",ChartlibAddRemoveHorizontalAxisWithoutLabelsItem_48:"ChartlibAddRemoveHorizontalAxisWithoutLabelsItem_48",ChartlibAddRemoveHorizontalAxisShowItem_32:"ChartlibAddRemoveHorizontalAxisShowItem_32",ChartlibAddRemoveHorizontalAxisShowItem_48:"ChartlibAddRemoveHorizontalAxisShowItem_48",ChartlibAddRemoveHorizontalAxisReverseItem_32:"ChartlibAddRemoveHorizontalAxisReverseItem_32",ChartlibAddRemoveHorizontalAxisReverseItem_48:"ChartlibAddRemoveHorizontalAxisReverseItem_48",ChartlibAddRemoveDataLabelNoneItemBoxAndWhisker_32:"ChartlibAddRemoveDataLabelNoneItemBoxAndWhisker_32",ChartlibAddRemoveDataLabelNoneItemBoxAndWhisker_48:"ChartlibAddRemoveDataLabelNoneItemBoxAndWhisker_48",ChartlibAddRemoveDataLabelNoneItemL_32:"ChartlibAddRemoveDataLabelNoneItemL_32",ChartlibAddRemoveDataLabelNoneItemL_48:"ChartlibAddRemoveDataLabelNoneItemL_48",ChartlibAddRemoveDataLabelNoneItemP_32:"ChartlibAddRemoveDataLabelNoneItemP_32",ChartlibAddRemoveDataLabelNoneItemP_48:"ChartlibAddRemoveDataLabelNoneItemP_48",ChartlibAddRemoveDataLabelCenterItemP_32:"ChartlibAddRemoveDataLabelCenterItemP_32",ChartlibAddRemoveDataLabelCenterItemP_48:"ChartlibAddRemoveDataLabelCenterItemP_48",ChartlibAddRemoveDataLabelCenterItemL_32:"ChartlibAddRemoveDataLabelCenterItemL_32",ChartlibAddRemoveDataLabelCenterItemL_48:"ChartlibAddRemoveDataLabelCenterItemL_48",ChartlibAddRemoveDataLabelInsideEndItemP_32:"ChartlibAddRemoveDataLabelInsideEndItemP_32",ChartlibAddRemoveDataLabelInsideEndItemP_48:"ChartlibAddRemoveDataLabelInsideEndItemP_48",ChartlibAddRemoveDataLabelOutSideEndItemP_32:"ChartlibAddRemoveDataLabelOutSideEndItemP_32",ChartlibAddRemoveDataLabelOutSideEndItemP_48:"ChartlibAddRemoveDataLabelOutSideEndItemP_48",ChartlibAddRemoveDataLabelLeftItemBoxAndWhisker_32:"ChartlibAddRemoveDataLabelLeftItemBoxAndWhisker_32",ChartlibAddRemoveDataLabelLeftItemBoxAndWhisker_48:"ChartlibAddRemoveDataLabelLeftItemBoxAndWhisker_48",ChartlibAddRemoveDataLabelLeftItem_32:"ChartlibAddRemoveDataLabelLeftItem_32",ChartlibAddRemoveDataLabelLeftItem_48:"ChartlibAddRemoveDataLabelLeftItem_48",ChartlibAddRemoveDataLabelOnItemBoxAndWhisker_32:"ChartlibAddRemoveDataLabelOnItemBoxAndWhisker_32",ChartlibAddRemoveDataLabelOnItemBoxAndWhisker_48:"ChartlibAddRemoveDataLabelOnItemBoxAndWhisker_48",ChartlibAddRemoveDataLabelRightItem_32:"ChartlibAddRemoveDataLabelRightItem_32",ChartlibAddRemoveDataLabelRightItem_48:"ChartlibAddRemoveDataLabelRightItem_48",ChartlibAddRemoveDataLabelAboveItemBoxAndWhisker_32:"ChartlibAddRemoveDataLabelAboveItemBoxAndWhisker_32",ChartlibAddRemoveDataLabelAboveItemBoxAndWhisker_48:"ChartlibAddRemoveDataLabelAboveItemBoxAndWhisker_48",ChartlibAddRemoveDataLabelTopItem_32:"ChartlibAddRemoveDataLabelTopItem_32",ChartlibAddRemoveDataLabelTopItem_48:"ChartlibAddRemoveDataLabelTopItem_48",ChartlibAddRemoveDataLabelBelowItemBoxAndWhisker_32:"ChartlibAddRemoveDataLabelBelowItemBoxAndWhisker_32",ChartlibAddRemoveDataLabelBelowItemBoxAndWhisker_48:"ChartlibAddRemoveDataLabelBelowItemBoxAndWhisker_48",ChartlibAddRemoveDataLabelBottomItem_32:"ChartlibAddRemoveDataLabelBottomItem_32",ChartlibAddRemoveDataLabelBottomItem_48:"ChartlibAddRemoveDataLabelBottomItem_48",ChartlibAddRemoveDataLabelBestFitItem_32:"ChartlibAddRemoveDataLabelBestFitItem_32",ChartlibAddRemoveDataLabelBestFitItem_48:"ChartlibAddRemoveDataLabelBestFitItem_48",ChartlibAddRemoveVerticalAxisWithoutLabelsItem_32:"ChartlibAddRemoveVerticalAxisWithoutLabelsItem_32",ChartlibAddRemoveVerticalAxisWithoutLabelsItem_48:"ChartlibAddRemoveVerticalAxisWithoutLabelsItem_48",ChartlibAddRemoveVerticalAxisReverseItem_32:"ChartlibAddRemoveVerticalAxisReverseItem_32",ChartlibAddRemoveVerticalAxisReverseItem_48:"ChartlibAddRemoveVerticalAxisReverseItem_48",GalFreezePanes_20:"GalFreezePanes_20",FreezePanes_20:"FreezePanes_20",FreezeTopRow_20:"FreezeTopRow_20",FreezeFirstColumn_20:"FreezeFirstColumn_20",FreezeUptoRow_20:"FreezeUptoRow_20",FreezeUptoColumn_20:"FreezeUptoColumn_20",UnfreezePanes_20:"UnfreezePanes_20",DesignThisForm_20:"DesignThisForm_20",DeleteForm_16:"DeleteForm_16",ShareForm_16:"ShareForm_16",AddAPlace_20:"AddAPlace_20",NavLinkVisibleGlyph_20:"NavLinkVisibleGlyph_20",ShareGlyph_20:"ShareGlyph_20",CancelGlyph_20:"CancelGlyph_20",AddNoteboardNote_20:"AddNoteboardNote_20",EditNote_20:"EditNote_20",DeleteNote_20:"DeleteNote_20",PreviousNote_20:"PreviousNote_20",NextNote_20:"NextNote_20",ShowAllNotes_20:"ShowAllNotes_20",Comment_20:"Comment_20",InsertPicture_20:"InsertPicture_20",ImageSearch_20:"ImageSearch_20",SourceIcon_Bing_20:"SourceIcon_Bing_20",ClipArt_20:"ClipArt_20",GalInsertFnStatistics_20:"GalInsertFnStatistics_20",GalInsertFnEngineering_20:"GalInsertFnEngineering_20",GalInsertFnCube_20:"GalInsertFnCube_20",GalInsertFnInformation_20:"GalInsertFnInformation_20",Table_20:"Table_20",NewContact_20:"NewContact_20",QuickSearchTaskStatusGallery_20:"QuickSearchTaskStatusGallery_20",BorderStyleSolidLine:"BorderStyleSolidLine",BorderStyleDashedLine:"BorderStyleDashedLine",BorderStyleDottedLine:"BorderStyleDottedLine",BorderStyleMediumLine:"BorderStyleMediumLine",BorderStyleThickLine:"BorderStyleThickLine",BorderStyleDoubleLine:"BorderStyleDoubleLine",ChatSparkle_20:"ChatSparkle_20",EyeClosedFluent_16:"EyeClosedFluent_16",Chart_20:"Chart_20"}},94295:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>P});var n=r(10477),o=r(6204),i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,a=r(54920);function s(e,t,r){var o,s,l=function(e,t,r){var o,s,l=(o=(0,n.useState)((function(){return t(e)})),s=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(o,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),u=l[0],c=l[1],d=(0,n.useCallback)((function(){var n=t(e);a(u,n)||(c(n),r&&r())}),[u,e,r]);return i(d,[]),[u,d]}(e,t,r),u=(s=2,function(e){if(Array.isArray(e))return e}(o=l)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(o,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),c=u[0],d=u[1];return i((function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(d,{handlerIds:[t]})}),[e,d]),c}var l=r(15496);function u(){var e=(0,n.useContext)(l.M).dragDropManager;return o(null!=e,"Expected drag drop context"),e}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var d=!1,p=!1,h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceId=null,this.internalMonitor=t.getMonitor()}var t,r;return t=e,(r=[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){o(!d,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return d=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{d=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;o(!p,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{p=!1}}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"isDraggingSource",value:function(e){return this.internalMonitor.isDraggingSource(e)}},{key:"isOverTarget",value:function(e,t){return this.internalMonitor.isOverTarget(e,t)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(e){return this.internalMonitor.subscribeToOffsetChange(e)}},{key:"canDragSource",value:function(e){return this.internalMonitor.canDragSource(e)}},{key:"canDropOnTarget",value:function(e){return this.internalMonitor.canDropOnTarget(e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&c(t.prototype,r),e}();function g(e,t){"function"==typeof e?e(t):e.current=t}function m(e){var t={};return Object.keys(e).forEach((function(r){var i=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var a=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,n.isValidElement)(t)){var i=t;return e(i,r),i}var a=t;!function(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}(a);var s=r?function(t){return e(t,r)}:e;return function(e,t){var r=e.ref;return o("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),r?(0,n.cloneElement)(e,{ref:function(e){g(r,e),g(t,e)}}):(0,n.cloneElement)(e,{ref:t})}(a,s)}}(i);t[r]=function(){return a}}})),t}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function v(e){return null!==e&&"object"===f(e)&&e.hasOwnProperty("current")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var y=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=m({dragSource:function(e,t){r.clearDragSource(),r.dragSourceOptions=t||null,v(e)?r.dragSourceRef=e:r.dragSourceNode=e,r.reconnectDragSource()},dragPreview:function(e,t){r.clearDragPreview(),r.dragPreviewOptions=t||null,v(e)?r.dragPreviewRef=e:r.dragPreviewNode=e,r.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}var t,r;return t=e,(r=[{key:"receiveHandlerId",value:function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e)}},{key:"reconnectDragPreview",value:function(){var e=this.dragPreview,t=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();this.handlerId?this.dragPreview&&t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.disconnectDragPreview(),this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.disconnectDragPreview()}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!a(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!a(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}}])&&b(t.prototype,r),e}();function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function C(e){var t=(0,n.useRef)(e);t.current=e,o(null!=e.item,"item must be defined"),o(null!=e.item.type,"item type must be defined");var r,a,l,c=(r=u(),a=[(0,n.useMemo)((function(){return new h(r)}),[r]),(0,n.useMemo)((function(){return new y(r.getBackend())}),[r])],l=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(a,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),d=c[0],p=c[1];!function(e,t,r){var a=u(),s=(0,n.useMemo)((function(){return{beginDrag:function(){var r=e.current,n=r.begin,i=r.item;if(n){var a=n(t);return o(null==a||"object"===S(a),"dragSpec.begin() must either return an object, undefined, or null"),a||i||{}}return i||{}},canDrag:function(){return"boolean"==typeof e.current.canDrag?e.current.canDrag:"function"!=typeof e.current.canDrag||e.current.canDrag(t)},isDragging:function(r,n){var o=e.current.isDragging;return o?o(t):n===r.getSourceId()},endDrag:function(){var n=e.current.end;n&&n(t.getItem(),t),r.reconnect()}}}),[]);i((function(){var n=function(e,t,r){var n=r.getRegistry(),o=n.addSource(e,t);return[o,function(){return n.removeSource(o)}]}(e.current.item.type,s,a),o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(n,2),i=o[0],l=o[1];return t.receiveHandlerId(i),r.receiveHandlerId(i),l}),[])}(t,d,p);var g=s(d,t.current.collect||function(){return{}},(function(){return p.reconnect()})),m=(0,n.useMemo)((function(){return p.hooks.dragSource()}),[p]),f=(0,n.useMemo)((function(){return p.hooks.dragPreview()}),[p]);return i((function(){p.dragSourceOptions=t.current.options||null,p.reconnect()}),[p]),i((function(){p.dragPreviewOptions=t.current.previewOptions||null,p.reconnect()}),[p]),[g,m,f]}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var k=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=m({dropTarget:function(e,t){r.clearDropTarget(),r.dropTargetOptions=t,v(e)?r.dropTargetRef=e:r.dropTargetNode=e,r.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}var t,r;return t=e,(r=[{key:"reconnect",value:function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}},{key:"receiveHandlerId",value:function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!a(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}},{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}}])&&T(t.prototype,r),e}();function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var E=!1,A=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.targetId=null,this.internalMonitor=t.getMonitor()}var t,r;return t=e,(r=[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;o(!E,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return E=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{E=!1}}},{key:"isOver",value:function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&F(t.prototype,r),e}();function I(e){var t=(0,n.useRef)(e);t.current=e,o(null!=e.accept,"accept must be defined");var r,a,l,c=(r=u(),a=[(0,n.useMemo)((function(){return new A(r)}),[r]),(0,n.useMemo)((function(){return new k(r.getBackend())}),[r])],l=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(a,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),d=c[0],p=c[1];!function(e,t,r){var o=u(),a=(0,n.useMemo)((function(){return{canDrop:function(){var r=e.current.canDrop;return!r||r(t.getItem(),t)},hover:function(){var r=e.current.hover;r&&r(t.getItem(),t)},drop:function(){var r=e.current.drop;if(r)return r(t.getItem(),t)}}}),[t]);i((function(){var n=function(e,t,r){var n=r.getRegistry(),o=n.addTarget(e,t);return[o,function(){return n.removeTarget(o)}]}(e.current.accept,a,o),i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(n,2),s=i[0],l=i[1];return t.receiveHandlerId(s),r.receiveHandlerId(s),l}),[t,r])}(t,d,p);var h=s(d,t.current.collect||function(){return{}},(function(){return p.reconnect()})),g=(0,n.useMemo)((function(){return p.hooks.dropTarget()}),[p]);return i((function(){p.dropTargetOptions=e.options||null,p.reconnect()}),[e.options]),[h,g]}var x=r(49455);const w={Query:"query",Group:"group"};function P({id:e,index:t,type:r,moveQueryCallback:o,children:i,draggable:a,onClearDragDropPreview:s}){const l=(0,x.D)(),u=(0,n.useRef)(null),[{isDragging:c},d]=C({item:{type:r,id:e,index:t},collect:e=>({isDragging:!!e.isDragging()}),canDrag:r!==w.Group,end(e,t){t.didDrop()||s()}}),[{isOver:p},h]=I({accept:[w.Query,w.Group],collect:e=>({isOver:!!e.isOver()}),hover(n,i){if(u.current){if(r===w.Query){if(n.index===t)return;o(n.id,e,!1)}else o(n.id,e,!1);n.index=t}},drop(t,r){u.current&&o(t.id,e,!0)}});return d(h(u)),n.createElement("div",{draggable:r===w.Query&&a,ref:u,style:{opacity:c?"0":"1",backgroundColor:p?l.palette.neutralLight:"unset"}},i)}},74611:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(10477),o=r(15496);var i=0,a=(0,n.memo)((function(e){var t,r,a=e.children,u=function(e){if("manager"in e)return[{dragDropManager:e.manager},!1];var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=t;return i[s]||(i[s]=(0,o.s)(e,t,r,n)),i[s]}(e.backend,e.context,e.options,e.debugMode);return[t,!e.context]}(function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children"])),c=(r=2,function(e){if(Array.isArray(e))return e}(t=u)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),d=c[0],p=c[1];return n.useEffect((function(){return p&&i++,function(){p&&0==--i&&(l()[s]=null)}}),[]),n.createElement(o.M.Provider,{value:d},a)}));a.displayName="DndProvider";var s=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");function l(){return"undefined"!=typeof global?global:window}const u=r(48644).Ay;class c extends n.Component{render(){return n.createElement(a,{backend:u,context:window},this.props.onRenderComponent())}}},10112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},79518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(16533).__exportStar(r(10112),t)},23235:(e,t)=>{"use strict";var r,n,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.PictureDbnum=t.PictureColor=t.PictureSpecial=t.PictureSingle=t.Rounding=void 0,function(e){e[e.RoundSec=0]="RoundSec",e[e.Round10ths=1]="Round10ths",e[e.Round100ths=2]="Round100ths",e[e.Round1000ths=3]="Round1000ths"}(r||(t.Rounding=r={})),function(e){e[e.Sep=1]="Sep",e[e.Hash=2]="Hash",e[e.Zero=3]="Zero",e[e.Decimal=4]="Decimal",e[e.Percent=5]="Percent",e[e.Comma=6]="Comma",e[e.Colon=7]="Colon",e[e.DateSep=8]="DateSep",e[e.Slash=9]="Slash",e[e.Space=10]="Space",e[e.Minus=11]="Minus",e[e.Plus=12]="Plus",e[e.OpenParen=13]="OpenParen",e[e.CloseParen=14]="CloseParen",e[e.Extra=15]="Extra",e[e.Backslash=16]="Backslash",e[e.Star=17]="Star",e[e.Year=18]="Year",e[e.Month=19]="Month",e[e.Day=20]="Day",e[e.Hour=21]="Hour",e[e.Minute=22]="Minute",e[e.Second=23]="Second",e[e.E=24]="E",e[e.APDelim=25]="APDelim",e[e.Quote=26]="Quote",e[e.ColorStart=27]="ColorStart",e[e.ColorEnd=28]="ColorEnd",e[e.Text=29]="Text",e[e.Question=30]="Question",e[e.Underscore=31]="Underscore",e[e.Reign=32]="Reign",e[e.LocDay=33]="LocDay",e[e.Era=34]="Era",e[e.EraYear=35]="EraYear",e[e.Nen1=36]="Nen1",e[e.Gatsu1=37]="Gatsu1",e[e.Nichi1=38]="Nichi1",e[e.Nen2=39]="Nen2",e[e.Gatsu2=40]="Gatsu2",e[e.Nichi2=41]="Nichi2",e[e.BidiDate=42]="BidiDate",e[e.BidiNum=43]="BidiNum",e[e.DayTh=44]="DayTh",e[e.MonthTh=45]="MonthTh",e[e.YearTh=46]="YearTh",e[e.EngYearTh=47]="EngYearTh",e[e.ThYear=48]="ThYear",e[e.HourTh=49]="HourTh",e[e.MinuteTh=50]="MinuteTh",e[e.SecondTh=51]="SecondTh",e[e.ZeroTh=52]="ZeroTh"}(n||(t.PictureSingle=n={})),function(e){e[e.AP1=0]="AP1",e[e.AP2=1]="AP2",e[e.AP3=2]="AP3",e[e.GeneralOldMAC=3]="GeneralOldMAC",e[e.General=4]="General",e[e.Currency=5]="Currency"}(o||(t.PictureSpecial=o={})),function(e){e[e.Black=0]="Black",e[e.White=1]="White",e[e.Red=2]="Red",e[e.Green=3]="Green",e[e.Blue=4]="Blue",e[e.Yellow=5]="Yellow",e[e.Magenta=6]="Magenta",e[e.Cyan=7]="Cyan",e[e.Color=8]="Color"}(i||(t.PictureColor=i={})),function(e){e[e.DBNUM1=0]="DBNUM1",e[e.DBNUM2=1]="DBNUM2",e[e.DBNUM3=2]="DBNUM3",e[e.DBNUM4=3]="DBNUM4"}(a||(t.PictureDbnum=a={}))},19339:(e,t)=>{"use strict";var r,n,o,i,a,s,l,u,c,d,p,h,g,m,f;Object.defineProperty(t,"__esModule",{value:!0}),t.TableOrientation=t.RecognizedTablesMetadataState=t.ColumnFormulaSuggestionUpdateKind=t.FormulaCopilotIPEMode=t.SchedulerFeature=t.GotoCtrlClickResultKind=t.ValuePreviewResultKind=t.PositionKind=t.HighlightKind=t.PerCharacterExperimentResultKind=t.PluginAttachGroup=t.PluginGroup=t.PluginFactoryName=t.MessageType=t.EditorMessageType=void 0,function(e){e[e.FunctionMessage=0]="FunctionMessage"}(r||(t.EditorMessageType=r={})),function(e){e[e.Insert=0]="Insert",e[e.Delete=1]="Delete",e[e.Replace=2]="Replace"}(n||(t.MessageType=n={})),function(e){e[e.TestPlugin=0]="TestPlugin",e[e.AutocompletePlugin=1]="AutocompletePlugin",e[e.DragPlugin=2]="DragPlugin",e[e.ConfigTestPlugin=3]="ConfigTestPlugin",e[e.ArgumentAssistancePlugin=4]="ArgumentAssistancePlugin",e[e.FeatureGateTestPlugin=5]="FeatureGateTestPlugin",e[e.DNMTraceTagTestPlugin=7]="DNMTraceTagTestPlugin",e[e.ParenthesesCouplingPlugin=8]="ParenthesesCouplingPlugin",e[e.AutocompleteFunctionPlugin=9]="AutocompleteFunctionPlugin",e[e.AutocompleteLetPlugin=10]="AutocompleteLetPlugin",e[e.AutocompleteRichValuePlugin=11]="AutocompleteRichValuePlugin",e[e.AutocompleteNamedObjectsPlugin=12]="AutocompleteNamedObjectsPlugin",e[e.AutocompleteTableHeadersPlugin=13]="AutocompleteTableHeadersPlugin",e[e.ColoredReferencesPlugin=14]="ColoredReferencesPlugin",e[e.ValuePreviewPlugin=15]="ValuePreviewPlugin",e[e.AutocompleteRangeSuggestionPlugin=16]="AutocompleteRangeSuggestionPlugin",e[e.SyntaxErrorsPlugin=17]="SyntaxErrorsPlugin",e[e.GotoCtrlClickPlugin=18]="GotoCtrlClickPlugin",e[e.AutocompleteEnumPlugin=19]="AutocompleteEnumPlugin",e[e.FormulaByExamplePlugin=20]="FormulaByExamplePlugin",e[e.FormulaTranspilerPlugin=22]="FormulaTranspilerPlugin",e[e.InCellControlsAutodetectionPlugin=23]="InCellControlsAutodetectionPlugin",e[e.GetLocalePlugin=24]="GetLocalePlugin",e[e.ValueErrorHighlightPlugin=25]="ValueErrorHighlightPlugin",e[e.AutocompleteCopilotPlugin=26]="AutocompleteCopilotPlugin",e[e.FormulaAuthoringCopilotIPEPlugin=27]="FormulaAuthoringCopilotIPEPlugin",e[e.FormulaCompletionPlugin=28]="FormulaCompletionPlugin",e[e.FormulaCollectionPlugin=1004]="FormulaCollectionPlugin",e[e.ParserPerformanceMeasurements=1005]="ParserPerformanceMeasurements",e[e.FormulaRepairShadowEvalPlugin=1007]="FormulaRepairShadowEvalPlugin",e[e.PythonAutocompletePlugin=1008]="PythonAutocompletePlugin",e[e.AutocompleteWrapperPlugin=1009]="AutocompleteWrapperPlugin",e[e.AutocompleteBinaryModelExperimentPlugin=1010]="AutocompleteBinaryModelExperimentPlugin",e[e.PythonTooltipPlugin=1011]="PythonTooltipPlugin",e[e.PythonSyntaxHighlightingPlugin=1012]="PythonSyntaxHighlightingPlugin",e[e.PythonPowerQueryAutocompletePlugin=1013]="PythonPowerQueryAutocompletePlugin",e[e.ChangeGateTestPlugin=2e3]="ChangeGateTestPlugin",e[e.SlowTestPlugin=2001]="SlowTestPlugin",e[e.EvalOnCloneTestPlugin=2002]="EvalOnCloneTestPlugin",e[e.EvalFormulaTestPlugin=2003]="EvalFormulaTestPlugin",e[e.PythonTestPlugin=2004]="PythonTestPlugin",e[e.ChatGPTPlugin=2005]="ChatGPTPlugin",e[e.EventsTestPlugin=2006]="EventsTestPlugin",e[e.AutocompletePythonPlugin=2007]="AutocompletePythonPlugin"}(o||(t.PluginFactoryName=o={})),function(e){e[e.Excel=0]="Excel",e[e.Python=1]="Python"}(i||(t.PluginGroup=i={})),function(e){e[e.Core=0]="Core",e[e.Python=1]="Python",e[e.SmartSuggestionsAutoComplete=2]="SmartSuggestionsAutoComplete"}(a||(t.PluginAttachGroup=a={})),function(e){e[e.AutocompleteWrapperPluginResult=0]="AutocompleteWrapperPluginResult"}(s||(t.PerCharacterExperimentResultKind=s={})),function(e){e[e.CellRef=0]="CellRef",e[e.StructRef=1]="StructRef",e[e.NamedRange=2]="NamedRange",e[e.Parentheses=3]="Parentheses",e[e.comment=4]="comment",e[e.keyword=5]="keyword",e[e.operator_kind=6]="operator_kind",e[e.string=7]="string",e[e.number=8]="number",e[e.regexp=9]="regexp",e[e.type=10]="type",e[e.class_kind=11]="class_kind",e[e.interface_kind=12]="interface_kind",e[e.enum_kind=13]="enum_kind",e[e.enumMember=14]="enumMember",e[e.typeParameter=15]="typeParameter",e[e.function=16]="function",e[e.method=17]="method",e[e.property=18]="property",e[e.variable=19]="variable",e[e.parameter=20]="parameter",e[e.module=21]="module",e[e.intrinsic=22]="intrinsic",e[e.selfParameter=23]="selfParameter",e[e.clsParameter=24]="clsParameter",e[e.magicFunction=25]="magicFunction",e[e.builtinConstant=26]="builtinConstant",e[e.parenthesis=27]="parenthesis",e[e.curlybrace=28]="curlybrace",e[e.bracket=29]="bracket",e[e.colon=30]="colon",e[e.semicolon=31]="semicolon",e[e.arrow=32]="arrow"}(l||(t.HighlightKind=l={})),function(e){e[e.Absolute=0]="Absolute",e[e.Relative=1]="Relative"}(u||(t.PositionKind=u={})),function(e){e[e.Failure=0]="Failure",e[e.Success=1]="Success",e[e.Unavailable=2]="Unavailable"}(c||(t.ValuePreviewResultKind=c={})),function(e){e[e.ReferenceFound=0]="ReferenceFound",e[e.NoReferenceFound=1]="NoReferenceFound",e[e.Failure=2]="Failure",e[e.RangeResolutionFailure=3]="RangeResolutionFailure",e[e.NotAFormula=4]="NotAFormula"}(d||(t.GotoCtrlClickResultKind=d={})),function(e){e[e.ArgumentAssistance=0]="ArgumentAssistance",e[e.SimpleAutoComplete=1]="SimpleAutoComplete",e[e.SmartSuggestionsAutoComplete=2]="SmartSuggestionsAutoComplete",e[e.ValuePreview=3]="ValuePreview",e[e.ColoredReferences=4]="ColoredReferences",e[e.ParenthesisCoupling=5]="ParenthesisCoupling",e[e.SyntaxErrors=6]="SyntaxErrors",e[e.GotoCtrlClick=7]="GotoCtrlClick",e[e.EnumAutoComplete=8]="EnumAutoComplete",e[e.CopilotFormulaGeneration=9]="CopilotFormulaGeneration"}(p||(t.SchedulerFeature=p={})),function(e){e[e.Create=0]="Create",e[e.Modify=1]="Modify"}(h||(t.FormulaCopilotIPEMode=h={})),function(e){e[e.Accept=0]="Accept",e[e.Decline=1]="Decline",e[e.Ignore=2]="Ignore"}(g||(t.ColumnFormulaSuggestionUpdateKind=g={})),function(e){e[e.Valid=2]="Valid",e[e.Invalid=4]="Invalid",e[e.All=6]="All"}(m||(t.RecognizedTablesMetadataState=m={})),function(e){e[e.none=0]="none",e[e.rowMajor=1]="rowMajor",e[e.columnMajor=2]="columnMajor"}(f||(t.TableOrientation=f={}))},10772:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},76198:(e,t)=>{"use strict";var r,n,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.PictureDbnum=t.PictureColor=t.PictureSpecial=t.PictureSingle=t.Rounding=void 0,function(e){e[e.RoundSec=0]="RoundSec",e[e.Round10ths=1]="Round10ths",e[e.Round100ths=2]="Round100ths",e[e.Round1000ths=3]="Round1000ths"}(r||(t.Rounding=r={})),function(e){e[e.Sep=1]="Sep",e[e.Hash=2]="Hash",e[e.Zero=3]="Zero",e[e.Decimal=4]="Decimal",e[e.Percent=5]="Percent",e[e.Comma=6]="Comma",e[e.Colon=7]="Colon",e[e.DateSep=8]="DateSep",e[e.Slash=9]="Slash",e[e.Space=10]="Space",e[e.Minus=11]="Minus",e[e.Plus=12]="Plus",e[e.OpenParen=13]="OpenParen",e[e.CloseParen=14]="CloseParen",e[e.Extra=15]="Extra",e[e.Backslash=16]="Backslash",e[e.Star=17]="Star",e[e.Year=18]="Year",e[e.Month=19]="Month",e[e.Day=20]="Day",e[e.Hour=21]="Hour",e[e.Minute=22]="Minute",e[e.Second=23]="Second",e[e.E=24]="E",e[e.APDelim=25]="APDelim",e[e.Quote=26]="Quote",e[e.ColorStart=27]="ColorStart",e[e.ColorEnd=28]="ColorEnd",e[e.Text=29]="Text",e[e.Question=30]="Question",e[e.Underscore=31]="Underscore",e[e.Reign=32]="Reign",e[e.LocDay=33]="LocDay",e[e.Era=34]="Era",e[e.EraYear=35]="EraYear",e[e.Nen1=36]="Nen1",e[e.Gatsu1=37]="Gatsu1",e[e.Nichi1=38]="Nichi1",e[e.Nen2=39]="Nen2",e[e.Gatsu2=40]="Gatsu2",e[e.Nichi2=41]="Nichi2",e[e.BidiDate=42]="BidiDate",e[e.BidiNum=43]="BidiNum",e[e.DayTh=44]="DayTh",e[e.MonthTh=45]="MonthTh",e[e.YearTh=46]="YearTh",e[e.EngYearTh=47]="EngYearTh",e[e.ThYear=48]="ThYear",e[e.HourTh=49]="HourTh",e[e.MinuteTh=50]="MinuteTh",e[e.SecondTh=51]="SecondTh",e[e.ZeroTh=52]="ZeroTh"}(n||(t.PictureSingle=n={})),function(e){e[e.AP1=0]="AP1",e[e.AP2=1]="AP2",e[e.AP3=2]="AP3",e[e.GeneralOldMAC=3]="GeneralOldMAC",e[e.General=4]="General",e[e.Currency=5]="Currency"}(o||(t.PictureSpecial=o={})),function(e){e[e.Black=0]="Black",e[e.White=1]="White",e[e.Red=2]="Red",e[e.Green=3]="Green",e[e.Blue=4]="Blue",e[e.Yellow=5]="Yellow",e[e.Magenta=6]="Magenta",e[e.Cyan=7]="Cyan",e[e.Color=8]="Color"}(i||(t.PictureColor=i={})),function(e){e[e.DBNUM1=0]="DBNUM1",e[e.DBNUM2=1]="DBNUM2",e[e.DBNUM3=2]="DBNUM3",e[e.DBNUM4=3]="DBNUM4"}(a||(t.PictureDbnum=a={}))},29384:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},45259:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DefinedNameInfoType=void 0,function(e){e[e.Invalid=-1]="Invalid",e[e.Table=0]="Table",e[e.NamedRange=1]="NamedRange",e[e.Lambda=2]="Lambda",e[e.Other=3]="Other"}(r||(t.DefinedNameInfoType=r={}))},4485:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.MajorityDataType=void 0,function(e){e[e.Text=0]="Text",e[e.Number=1]="Number",e[e.Date=2]="Date",e[e.Max=3]="Max"}(r||(t.MajorityDataType=r={}))},11178:(e,t)=>{"use strict";var r,n,o,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),t.RepairItemPartType=t.CodeActionKind=t.DiagnosticTag=t.DiagnosticSeverity=t.SuggestionKind=t.CompletionItemKind=void 0,function(e){e[e.Text=1]="Text",e[e.Method=2]="Method",e[e.Function=3]="Function",e[e.Constructor=4]="Constructor",e[e.Field=5]="Field",e[e.Variable=6]="Variable",e[e.Class=7]="Class",e[e.Interface=8]="Interface",e[e.Module=9]="Module",e[e.Property=10]="Property",e[e.Unit=11]="Unit",e[e.Value=12]="Value",e[e.Enum=13]="Enum",e[e.Keyword=14]="Keyword",e[e.Snippet=15]="Snippet",e[e.Color=16]="Color",e[e.File=17]="File",e[e.Reference=18]="Reference",e[e.Folder=19]="Folder",e[e.EnumMember=20]="EnumMember",e[e.Constant=21]="Constant",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter",e[e.NamedRange=100]="NamedRange",e[e.TableHeader=101]="TableHeader",e[e.LetVariable=102]="LetVariable",e[e.RichEntity=103]="RichEntity",e[e.Lambda=104]="Lambda",e[e.CustomFunction=105]="CustomFunction",e[e.Table=106]="Table",e[e.TableSpecialStructRef=107]="TableSpecialStructRef",e[e.RichEntityEmptyCellRef=108]="RichEntityEmptyCellRef",e[e.RangeRef=109]="RangeRef",e[e.NamedOther=110]="NamedOther",e[e.Copilot=111]="Copilot",e[e.PythonFunction=112]="PythonFunction",e[e.ConnectionRef=113]="ConnectionRef"}(r||(t.CompletionItemKind=r={})),function(e){e[e.Simple=0]="Simple",e[e.Smart=1]="Smart"}(n||(t.SuggestionKind=n={})),function(e){e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Information=3]="Information",e[e.Hint=4]="Hint"}(o||(t.DiagnosticSeverity=o={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(i||(t.DiagnosticTag=i={})),function(e){e[e.Empty=0]="Empty",e[e.QuickFix=1]="QuickFix",e[e.Refactor=2]="Refactor",e[e.RefactorExtract=3]="RefactorExtract",e[e.RefactorInline=4]="RefactorInline",e[e.RefactorRewrite=5]="RefactorRewrite",e[e.Source=6]="Source",e[e.SourceOrganizeImports=7]="SourceOrganizeImports",e[e.SourceFixAll=8]="SourceFixAll"}(a||(t.CodeActionKind=a={})),function(e){e[e.None=0]="None",e[e.Added=1]="Added",e[e.Removed=2]="Removed",e[e.Replaced=3]="Replaced"}(s||(t.RepairItemPartType=s={}))},7002:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.ReferenceMode=t.IncompatibilityType=void 0,function(e){e[e.gMove=1]="gMove"}(r||(t.IncompatibilityType=r={})),function(e){e[e.R1C1=0]="R1C1",e[e.A1=1]="A1"}(n||(t.ReferenceMode=n={}))},19221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52734:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},20243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},40249:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},32312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeNativeServices=function(e,t){return{TableIntelligenceProvider:t.has(i.ServiceInfos.TableIntelligenceProvider[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.TableIntelligenceProvider))):void 0,EventCallbacksManager:t.has(i.ServiceInfos.EventCallbacksManager[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.EventCallbacksManager))):void 0,ChatGPTProvider:t.has(i.ServiceInfos.ChatGPTProvider[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.ChatGPTProvider))):void 0,MessageBridgeNative:t.has(i.ServiceInfos.MessageBridgeNative[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.MessageBridgeNative))):void 0,NativeGridService:t.has(i.ServiceInfos.NativeGridService[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.NativeGridService))):void 0,NotificationService:t.has(i.ServiceInfos.NotificationService[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.NotificationService))):void 0,BatchRequester:t.has(i.ServiceInfos.BatchRequester[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.BatchRequester))):void 0,ServerDataProvider:t.has(i.ServiceInfos.ServerDataProvider[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.ServerDataProvider))):void 0,PowerQueryDataProvider:t.has(i.ServiceInfos.PowerQueryDataProvider[0])?new o.Lazy((()=>e.getNativeService(i.ServiceInfos.PowerQueryDataProvider))):void 0}},t.makeRegisteredServicesMapForTesting=function(){return new Map([[i.ServiceInfos.TableIntelligenceProvider[0],0],[i.ServiceInfos.EventCallbacksManager[0],0],[i.ServiceInfos.ChatGPTProvider[0],0],[i.ServiceInfos.MessageBridgeNative[0],0],[i.ServiceInfos.NativeGridService[0],0],[i.ServiceInfos.NotificationService[0],0],[i.ServiceInfos.BatchRequester[0],0],[i.ServiceInfos.ServerDataProvider[0],0],[i.ServiceInfos.PowerQueryDataProvider[0],0]])};const n=r(16533),o=r(53836),i=n.__importStar(r(22680))},22680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValuePreviewResultKind=t.TableOrientation=t.SchedulerFeature=t.RecognizedTablesMetadataState=t.PositionKind=t.PluginGroup=t.PluginFactoryName=t.PluginAttachGroup=t.PerCharacterExperimentResultKind=t.MessageType=t.HighlightKind=t.GotoCtrlClickResultKind=t.FormulaCopilotIPEMode=t.EditorMessageType=t.ColumnFormulaSuggestionUpdateKind=t.ServiceInfos=void 0,r(64038).CustomTypeRegistry.registerTypeInfos({"X10::AnyObject":{},"X10::TestEventInput":{payload:"X10::AnyObject"},"X10::FormulaTranspilerInitEventInput":{payload:"X10::FormulaTranspilerInitEventPayload"},"X10::ExternalLinksMetaDataInitEventInput":{payload:"X10::ExternalLinksMetaDataInitEventPayload"},"X10::TableInterpretation":{tableLocation:"X10::RangeObject",confidence:"$number",headerRowCount:"$number",headerColumnCount:"$number",orientation:"$number"},"X10::RangeTableInfo":{sheetId:"$string",analyzedRange:"X10::RangeObject",interpretations:["$array","X10::TableInterpretation"]},"X10::RecognizedRangeTablesInfo":{rangeTableInfo:"X10::RangeTableInfo",metadataState:"$number"},"X10::InCellSuggestionResult":{completionItem:["opt-field","X10::CompletionItem"],data:["opt-field","X10::Data"]},"X10::FormulaCopilotIPEResult":{shouldShowIPE:"$boolean",placeholderText:["opt-field","$string"],mode:["opt-field","$number"]},"X10::ChatGPTQueryResult":{result:"$string",details:"$string"},"X10::SuggestionResult":{items:["$array","X10::CompletionItem"],data:["opt-field","X10::Data"]},"X10::FormulaCompletionMetadata":{formulaAnonymized:["opt-field","$string"]},"X10::FormulaCompletionResult":{items:["$array","X10::CompletionItem"],data:["opt-field","X10::Data"],requestId:"$string",cellEditId:"$string",metadata:["opt-field","X10::FormulaCompletionMetadata"]},"X10::FormulaCompletionBootstrapContext":{debugMode:"$boolean"},"X10::FormulaByExampleConfig":{localCacheEnabled:"$boolean",isCopilotOnly:"$boolean"},"X10::FormulaByExampleBootstrapContext":{config:"X10::FormulaByExampleConfig"},"X10::RunExperimentResult":{},"X10::StringObject":{kind:"$string",text:"$string"},"X10::BooleanObject":{kind:"$string",flag:"$boolean"},"X10::NumberObject":{kind:"$string",num:"$number"},"X10::ErrorValueObject":{kind:"$string",errorValue:"$number"},"X10::LeftAlignment":{kind:"$string"},"X10::CenterAlignment":{kind:"$string"},"X10::RightAlignment":{kind:"$string"},"X10::FormulaSuggestionEvalSuccessResult":{kind:"$string",cell:"X10::RangeObject",value:["$union",["X10::StringObject","X10::BooleanObject","X10::NumberObject","X10::ErrorValueObject"]],formatted:["opt-field","X10::AnyObject"],renderedFormattedValue:["opt-field","$string"],alignment:["opt-field",["$union",["X10::LeftAlignment","X10::CenterAlignment","X10::RightAlignment"]]]},"X10::FormulaSuggestionEvalFailureResult":{kind:"$string",cell:"X10::RangeObject",error:"$string",innerErrorHint:["opt-field","$string"]},"X10::ExplanationReplacement":{replacementPlaceHolder:"$string",replacementValue:"$string"},"X10::FormulaExplanation":{explanationTemplate:"$string",explanationReplacements:["$array","$string"]},"X10::FormulaByExampleMetadata":{kind:"$string",isCacheHit:["opt-field","$boolean"],seenCount:["opt-field","$number"],latestOutcome:["opt-field","$string"],originalFlowId:["opt-field","$number"],formulaAnonymized:["opt-field","$string"],originalExamplesCount:["opt-field","$number"],explanationKey:["opt-field","$string"],explanationReplacements:["opt-field",["$array","X10::ExplanationReplacement"]],augloopTime:["opt-field","$number"],hasOutstandingLearning:["opt-field","$boolean"],isRangeSuggestion:["opt-field","$boolean"],isNewColumnPrediction:["opt-field","$boolean"],isScratchpadEval:["opt-field","$boolean"],formulaExplanation:["opt-field","X10::FormulaExplanation"]},"X10::CalculatedColumnMetadata":{kind:"$string",origin:["opt-field","$string"]},"X10::ColumnFormulaSuggestion":{kind:"$string",suggestionID:"$string",columnRange:"X10::RangeObject",tableName:"$string",tableColumnName:"$string",formula:"$string",evalResults:["$array",["$union",["X10::FormulaSuggestionEvalSuccessResult","X10::FormulaSuggestionEvalFailureResult"]]],metadata:["$union",["X10::FormulaByExampleMetadata","X10::CalculatedColumnMetadata"]]},"X10::ColumnFormulaSuggestionFailure":{kind:"$string",suggestionID:"$string",reason:"$string",metadata:["$union",["X10::FormulaByExampleMetadata","X10::CalculatedColumnMetadata"]]},"X10::ColumnFormulaSuggestionResult":{suggestions:["$array",["$union",["X10::ColumnFormulaSuggestion","X10::ColumnFormulaSuggestionFailure"]]]},"X10::ColumnFormulaSuggestionUpdate":{suggestionID:"$string",userResponse:"$number"},"X10::RunPerCharacterExperimentResult":{kind:"$number",value:["opt-field","X10::AnyObject"]},"X10::RunPerCharacterExperimentResults":{results:["$array","X10::RunPerCharacterExperimentResult"]},"X10::EvalOnCloneSuccessResult":{cell:"X10::RangeObject",value:"X10::AnyObject",formatted:"X10::AnyObject"},"X10::GetTranspiledFormulasResult":{transpiledFormulas:["$array","X10::TranspilationResult"]},"X10::GetAnonymizedFormulasResult":{anonymizedFormulas:["$array","X10::AnonymizationResult"]},"X10::Span":{start:"$number",end:"$number"},"X10::PositionKindInfo":{firstRow:"$number",firstColumn:"$number",secondRow:"$number",secondColumn:"$number"},"X10::RangeInfo":{range:["opt-field","X10::RangeObject"],positionKindInfo:["opt-field","X10::PositionKindInfo"]},"X10::FormulaHighlight":{kind:"$number",span:"X10::Span",rangeInfo:["opt-field","X10::RangeInfo"]},"X10::FormulaHighlightingResult":{formulaHighlights:["opt-field",["$array","X10::FormulaHighlight"]]},"X10::RunExperimentResults":{results:["$array","X10::RunExperimentResult"]},"X10::AnyObjectResults":{results:["$array","X10::AnyObject"]},"X10::FunctionSuggestionAndArgumentAssistanceResult":{functionSuggestion:["opt-field","X10::SuggestionResult"],argumentAssistance:["opt-field",["$union",["X10::MinimalFunctionRenderingInfo","X10::FullFunctionRenderingInfo"]]],inCellSuggestion:["opt-field","X10::InCellSuggestionResult"],formulaCopilotIPE:["opt-field","X10::FormulaCopilotIPEResult"]},"X10::RunExperimentRequest":{},"X10::RunAuthoringExperimentRequest":{content:"$string",isCellContentOnlyEqualDuringEdit:"$boolean"},"X10::RunTestRequest":{content:["opt-field","$string"]},"X10::SuggestionRequest":{content:"$string",caretPosition:"$number"},"X10::ChatGPTQueryRequest":{query:"$string",context:"X10::AnyObject"},"X10::RunPerCharacterExperimentRequest":{content:"$string",caretPosition:"$number",enableAutocompleteWrapperPlugin:"$boolean"},"X10::ArgumentAssistanceRequest":{content:"$string",caretPosition:"$number"},"X10::ColumnFormulaSuggestionRequestOptions":{skipOriginCell:"$boolean",minimalExampleCount:"$number",evalScopeRange:["opt-field","X10::RangeObject"]},"X10::ColumnFormulaSuggestionRequest":{context:"X10::RangeObject",options:"X10::ColumnFormulaSuggestionRequestOptions"},"X10::GetTranspiledFormulasRequest":{formulaBatch:["$array","X10::IncompatibleFormulaObject"]},"X10::FormulaCompletionRequest":{content:"$string",caretPosition:"$number",requestId:"$string",cellEditId:"$string"},"X10::GetAnonymizedFormulasRequest":{formulasBatch:["$array","X10::FormulaAnonymizerRequestPayload"]},"X10::FunctionSuggestionRequest":{content:"$string",caretPosition:"$number"},"X10::InCellSuggestionRequest":{content:"$string",caretPosition:"$number"},"X10::FormulaCopilotIPERequest":{content:"$string",caretPosition:"$number",cellOriginalValue:"$string"},"X10::InCellControlsAutodetectionRequest":{context:"X10::RangeObject"},"X10::GetLocaleRequest":{},"X10::FunctionSuggestionAndArgumentAssistanceRequest":{functionSuggestion:"X10::FunctionSuggestionRequest",argumentAssistance:"X10::ArgumentAssistanceRequest",inCellSuggestion:"X10::InCellSuggestionRequest",formulaCopilotIPE:"X10::FormulaCopilotIPERequest"},"X10::FormulaHighlightingRequest":{content:"$string",caretPosition:"$number",selectionLength:["opt-field","$number"]},"X10::DisplayObject":{value:"$string",help:"$string",toolTip:"$string"},"X10::FormatMessage":{formatString:["opt-field","$string"],builtIn:["opt-field","$boolean"]},"X10::CellMessage":{formatString:["opt-field","$string"],builtIn:["opt-field","$boolean"],rowIndex:"$number",colIndex:"$number",sheetIndex:"$string",docPath:["opt-field","$string"],docName:"$string"},"X10::FunctionShortDescriptionsMap":{descriptionMap:["opt-field",["$indexer","$string"]]},"X10::ContextualText":{text:"$string",index:"$number",length:"$number"},"X10::ValuePreviewBaseResult":{evaluatedFormula:["opt-field","$string"],index:"$number",length:"$number"},"X10::ValuePreviewSuccessResult":{kind:"$string",evaluatedFormula:["opt-field","$string"],index:"$number",length:"$number",value:"$string",unformattedValue:["opt-field","$string"],color:["opt-field","X10::AnyObject"],operKind:"$number",isVolatile:"$boolean"},"X10::ValuePreviewFailureResult":{kind:"$string",evaluatedFormula:["opt-field","$string"],index:"$number",length:"$number",reason:"$string"},"X10::ValuePreviewUnavailableResult":{kind:"$string",evaluatedFormula:["opt-field","$string"],index:"$number",length:"$number",reason:"$string",isVolatile:"$boolean"},"X10::GotoCtrlClickResult":{kind:"$number",sheetRange:["opt-field","X10::SheetRange"],span:["opt-field","X10::Span"]},"X10::FormulaRepairRequest":{formula:"$string"},"X10::ValuePreviewRequest":{text:"$string",index:"$number",length:"$number",activeCell:["opt-field","X10::SheetCell"]},"X10::GotoCtrlClickRequest":{text:"$string",index:"$number",length:"$number"},"X10::DescriptionCalculateColumnsParams":{flowID:"$string",description:"$string"},"X10::FormulaCompletionBlockedSuggestionParams":{requestId:"$string",cellEditId:"$string",reason:"$string",blockedFormula:["opt-field","$string"]},"X10::FormulaCompletionValuePreviewParams":{requestId:"$string",cellEditId:"$string",valuePreview:"$string",formula:["opt-field","$string"]},"X10::ActiveCellWindow":{topOffset:"$number",bottomOffset:"$number",leftOffset:"$number",rightOffset:"$number"},"X10::ViewportWriteRangeRequest":{kind:"$string"},"X10::SpecificWriteRangeRequest":{kind:"$string",ranges:["$array","X10::SheetRange"]},"X10::ActiveCellWindowWriteRangeRequest":{kind:"$string",window:"X10::ActiveCellWindow"},"X10::TableWriteRangeRequest":{kind:"$string",sheetId:"$string",tableName:"$string"},"X10::ActiveTableWriteRangeRequest":{kind:"$string"},"X10::NotifySheetNamesTrigger":{kind:"$string"},"X10::NotifyWriteRangeTrigger":{kind:"$string",writeRangeRequests:["$array",["$union",["X10::ViewportWriteRangeRequest","X10::SpecificWriteRangeRequest","X10::ActiveCellWindowWriteRangeRequest","X10::TableWriteRangeRequest","X10::ActiveTableWriteRangeRequest"]]]},"X10::NotifyActiveSheetNamedTablesTrigger":{kind:"$string"},"X10::NotifyLocaleInfoTrigger":{kind:"$string"},"X10::NotifyActiveCellTrigger":{kind:"$string"},"X10::DoneSuggestionResult":{kind:"$string",payload:["opt-field","X10::SuggestionResult"]},"X10::Superseded":{kind:"$string"},"X10::DoneFormulaCompletionResult":{kind:"$string",payload:["opt-field","X10::FormulaCompletionResult"]},"X10::DoneInCellSuggestionResult":{kind:"$string",payload:["opt-field","X10::InCellSuggestionResult"]},"X10::DoneFormulaCopilotIPEResult":{kind:"$string",payload:["opt-field","X10::FormulaCopilotIPEResult"]},"X10::DoneFormulaHighlightingResult":{kind:"$string",payload:["opt-field","X10::FormulaHighlightingResult"]},"X10::DoneArgumentAssistanceResult":{kind:"$string",payload:["opt-field",["$union",["X10::MinimalFunctionRenderingInfo","X10::FullFunctionRenderingInfo"]]]},"X10::DoneRunExperimentResult":{kind:"$string",payload:["opt-field","X10::RunExperimentResults"]},"X10::InCellControlsAutodetectionNoResult":{detectionType:"$string"},"X10::InCellControlsAutodetectionBooleanResult":{detectionType:"$string",detectionRange:"X10::RangeObject",detectionValues:["$array","$string"]},"X10::InCellControlsAutodetectionNumberResult":{detectionType:"$string",detectionRange:"X10::RangeObject",detectionValues:["$array","$string"]},"X10::InCellControlsAutodetectionPictureResult":{detectionType:"$string",detectionRange:"X10::RangeObject",detectionValues:["$array","$string"]},"X10::InCellControlsAutodetectionStarRatingResult":{detectionType:"$string",detectionRange:"X10::RangeObject",detectionValues:["$array","$string"]},"X10::InCellControlsAutodetectionCategoricalResult":{detectionType:"$string",detectionRange:"X10::RangeObject",detectionValues:["$array","$string"]},"X10::CultureTag":{primary:"$string",userDefault:"$string",instLang:"$string",userCurrent:"$string"},"X10::Locale":{cultureTag:"X10::CultureTag"},"X10::GetLocaleResult":{locale:"X10::Locale"},"X10::DoneInCellControlsAutodetectionResult":{kind:"$string",payload:["opt-field",["$union",["X10::InCellControlsAutodetectionNoResult","X10::InCellControlsAutodetectionBooleanResult","X10::InCellControlsAutodetectionNumberResult","X10::InCellControlsAutodetectionPictureResult","X10::InCellControlsAutodetectionStarRatingResult","X10::InCellControlsAutodetectionCategoricalResult"]]]},"X10::DoneGetLocaleResult":{kind:"$string",payload:["opt-field","X10::GetLocaleResult"]},"X10::DoneRunPerCharacterExperimentResult":{kind:"$string",payload:["opt-field","X10::RunPerCharacterExperimentResults"]},"X10::DoneRunTestResult":{kind:"$string",payload:["opt-field","X10::AnyObjectResults"]},"X10::DoneValuePreviewResult":{kind:"$string",payload:["opt-field",["$union",["X10::ValuePreviewSuccessResult","X10::ValuePreviewFailureResult","X10::ValuePreviewUnavailableResult"]]]},"X10::DoneGotoCtrlClickResult":{kind:"$string",payload:["opt-field","X10::GotoCtrlClickResult"]},"X10::DoneFormulaRepairResult":{kind:"$string",payload:["opt-field",["$union",["X10::SyntaxErrorResult","X10::RepairsResult"]]]},"X10::DoneChatGPTQueryResult":{kind:"$string",payload:["opt-field","X10::ChatGPTQueryResult"]},"X10::DoneColumnFormulaSuggestionResult":{kind:"$string",payload:["opt-field","X10::ColumnFormulaSuggestionResult"]},"X10::DoneGetTranspiledFormulasResult":{kind:"$string",payload:["opt-field","X10::GetTranspiledFormulasResult"]},"X10::DoneGetAnonymizedFormulasResult":{kind:"$string",payload:["opt-field","X10::GetAnonymizedFormulasResult"]},"X10::AugLoopConnectionParameters":{docSessionId:"$string",isModelSupported:"$boolean"},"X10::DoneFunctionSuggestionAndArgumentAssistanceResult":{kind:"$string",payload:"X10::FunctionSuggestionAndArgumentAssistanceResult"},"X10::PowerQueryResult":{name:"$string",fillObjectName:"$string",connectionOnly:"$boolean"}}),t.ServiceInfos={TableIntelligenceProvider:["X10::TableIntelligenceProvider",{getRecognizedRangeTablesInfo:["ReturnsPromiseMethod",["$array","X10::RecognizedRangeTablesInfo"],["$string","X10::RangeObject","$number","$number","$number"],{}]}],EventCallbacksManager:["X10::EventCallbacksManager",{TestEvent:["FireAndForgetMethod",["X10::TestEventInput"],{}],DescriptionCalculateColumns:["FireAndForgetMethod",["X10::DescriptionCalculateColumnsParams"],{}],FormulaCompletionBlockedSuggestion:["FireAndForgetMethod",["X10::FormulaCompletionBlockedSuggestionParams"],{}],FormulaCompletionValuePreviewArrived:["FireAndForgetMethod",["X10::FormulaCompletionValuePreviewParams"],{}]}],ChatGPTProvider:["X10::ChatGPTProvider",{openChat:["ReturnsPromiseMethod","$number",["X10::AnyObject"],{}],send:["ReturnsPromiseMethod","$string",["$number","$string"],{}],close:["FireAndForgetMethod",["$number"],{}]}],Notifier:["X10::Notifier",{doNothing:["FireAndForgetMethod",["$string"],{}],setActiveCell:["FireAndForgetMethod",["X10::CellMessage"],{}],setActiveCellFormat:["FireAndForgetMethod",["X10::FormatMessage"],{}],setFunctionsInfo:["FireAndForgetMethod",[["$array","X10::FunctionInfo"]],{}],setDefinedNamesInfo:["FireAndForgetMethod",[["$array","X10::DefinedNameInfo"]],{}],notifyWorkbookClosing:["FireAndForgetMethod",[],{}],setSchedulerFeatures:["FireAndForgetMethod",[["$array","$number"]],{}],setA1ReferenceStyle:["FireAndForgetMethod",["$boolean"],{}],setLocale:["FireAndForgetMethod",["X10::LocaleData"],{}],setWorkbookProps:["FireAndForgetMethod",["X10::WorkbookProps"],{}],updateSheetNames:["FireAndForgetMethod",["$number",["$array","X10::SheetName"]],{}],updateNamedObjects:["FireAndForgetMethod",["$number",["$array","X10::NamedObjectsUpdate"]],{}],writeRange:["FireAndForgetMethod",["$number","X10::WriteRangeMessage"],{}],writeRanges:["FireAndForgetMethod",["$number",["$array","X10::WriteRangeMessage"]],{}],setNumberFormats:["FireAndForgetMethod",[["$array","X10::NativeFormatMessage"],"$boolean"],{}]}],Requester:["X10::Requester",{formulaCompletion:["ReturnsPromiseMethod",["$union",["X10::DoneFormulaCompletionResult","X10::Superseded"]],["X10::FormulaCompletionRequest","$number",["$optional","$string"]],{}],functionSuggestion:["ReturnsPromiseMethod",["$union",["X10::DoneSuggestionResult","X10::Superseded"]],["X10::FunctionSuggestionRequest","$number",["$optional","$string"]],{}],inCellSuggestion:["ReturnsPromiseMethod",["$union",["X10::DoneInCellSuggestionResult","X10::Superseded"]],["X10::InCellSuggestionRequest","$number",["$optional","$string"]],{}],formulaCopilotIPE:["ReturnsPromiseMethod",["$union",["X10::DoneFormulaCopilotIPEResult","X10::Superseded"]],["X10::FormulaCopilotIPERequest","$number",["$optional","$string"]],{}],formulaHighlighting:["ReturnsPromiseMethod",["$union",["X10::DoneFormulaHighlightingResult","X10::Superseded"]],["X10::FormulaHighlightingRequest","$number",["$optional","$string"]],{}],argumentAssistance:["ReturnsPromiseMethod",["$union",["X10::DoneArgumentAssistanceResult","X10::Superseded"]],["X10::ArgumentAssistanceRequest","$number",["$optional","$string"]],{}],runExperiment:["ReturnsPromiseMethod",["$union",["X10::DoneRunExperimentResult","X10::Superseded"]],["X10::RunExperimentRequest","$number",["$optional","$string"]],{}],runAuthoringExperiment:["ReturnsPromiseMethod",["$union",["X10::DoneRunExperimentResult","X10::Superseded"]],["X10::RunAuthoringExperimentRequest","$number",["$optional","$string"]],{}],runPerCharacterExperiment:["ReturnsPromiseMethod",["$union",["X10::DoneRunPerCharacterExperimentResult","X10::Superseded"]],["X10::RunPerCharacterExperimentRequest","$number",["$optional","$string"]],{}],runTest:["ReturnsPromiseMethod",["$union",["X10::DoneRunTestResult","X10::Superseded"]],["X10::RunTestRequest","$number",["$optional","$string"]],{}],valuePreview:["ReturnsPromiseMethod",["$union",["X10::DoneValuePreviewResult","X10::Superseded"]],["X10::ValuePreviewRequest","$number",["$optional","$string"]],{}],gotoCtrlClick:["ReturnsPromiseMethod",["$union",["X10::DoneGotoCtrlClickResult","X10::Superseded"]],["X10::GotoCtrlClickRequest","$number",["$optional","$string"]],{}],formulaRepair:["ReturnsPromiseMethod",["$union",["X10::DoneFormulaRepairResult","X10::Superseded"]],["X10::FormulaRepairRequest","$number",["$optional","$string"]],{}],chatGPTQuery:["ReturnsPromiseMethod",["$union",["X10::DoneChatGPTQueryResult","X10::Superseded"]],["X10::ChatGPTQueryRequest","$number",["$optional","$string"]],{}],columnFormulaSuggestion:["ReturnsPromiseMethod",["$union",["X10::DoneColumnFormulaSuggestionResult","X10::Superseded"]],["X10::ColumnFormulaSuggestionRequest","$number",["$optional","$string"]],{}],getTranspiledFormulas:["ReturnsPromiseMethod",["$union",["X10::DoneGetTranspiledFormulasResult","X10::Superseded"]],["X10::GetTranspiledFormulasRequest","$number",["$optional","$string"]],{}],getAnonymizedFormulas:["ReturnsPromiseMethod",["$union",["X10::DoneGetAnonymizedFormulasResult","X10::Superseded"]],["X10::GetAnonymizedFormulasRequest","$number",["$optional","$string"]],{}],inCellControlsAutodetection:["ReturnsPromiseMethod",["$union",["X10::DoneInCellControlsAutodetectionResult","X10::Superseded"]],["X10::InCellControlsAutodetectionRequest","$number",["$optional","$string"]],{}],getLocale:["ReturnsPromiseMethod",["$union",["X10::DoneGetLocaleResult","X10::Superseded"]],["X10::GetLocaleRequest","$number",["$optional","$string"]],{}]}],SyncRequester:["X10::SyncRequester",{runTest:["ReturnsPromiseMethod",["$optional","X10::AnyObjectResults"],["X10::RunTestRequest","$number",["$optional","$string"]],{synchronous:""}],formulaHighlighting:["ReturnsPromiseMethod",["$optional","X10::FormulaHighlightingResult"],["X10::FormulaHighlightingRequest","$number",["$optional","$string"]],{synchronous:""}],columnFormulaSuggestion:["ReturnsPromiseMethod",["$optional","X10::ColumnFormulaSuggestionResult"],["X10::ColumnFormulaSuggestionRequest","$number",["$optional","$string"]],{synchronous:""}],formulaCopilotIPE:["ReturnsPromiseMethod",["$optional","X10::FormulaCopilotIPEResult"],["X10::FormulaCopilotIPERequest","$number",["$optional","$string"]],{synchronous:""}]}],EventEmitter:["X10::EventEmitter",{TestEvent:["ReturnsPromiseMethod","$any",["X10::TestEventInput"],{}],FBEOutcomeUpdate:["ReturnsPromiseMethod","$any",["X10::SuggestionOutcomeEventInput"],{}],FormulaTranspilerInitEvent:["ReturnsPromiseMethod","$any",["X10::FormulaTranspilerInitEventInput"],{}],ExternalLinksMetaDataInitEvent:["ReturnsPromiseMethod","$any",["X10::ExternalLinksMetaDataInitEventInput"],{}]}],AugLoopSessionTracker:["X10::AugLoopSessionTracker",{onAugLoopConnection:["FireAndForgetMethod",["X10::AugLoopConnectionParameters"],{}]}],MessageBridgeJs:["X10::MessageBridgeJs",{SendMessage:["FireAndForgetMethod",["$string"],{}]}],MessageBridgeNative:["X10::MessageBridgeNative",{SendMessage:["FireAndForgetMethod",["$string"],{}]}],NativeGridService:["X10::NativeGridService",{GetRange:["ReturnsPromiseMethod","X10::WriteRangeMessages",["X10::SheetRange"],{}]}],NotificationService:["X10::NotificationService",{TriggerNotifications:["ReturnsPromiseMethod","$any",[["$array",["$union",["X10::NotifySheetNamesTrigger","X10::NotifyWriteRangeTrigger","X10::NotifyActiveSheetNamedTablesTrigger","X10::NotifyLocaleInfoTrigger","X10::NotifyActiveCellTrigger"]]]],{}]}],BatchRequester:["X10::BatchRequester",{functionSuggestionAndArgumentAssistance:["ReturnsPromiseMethod",["$union",["X10::DoneFunctionSuggestionAndArgumentAssistanceResult","X10::Superseded"]],["X10::FunctionSuggestionAndArgumentAssistanceRequest","$number",["$optional","$string"]],{}]}],ServerDataProvider:["X10::ServerDataProvider",{getRichValueFieldListContext:["ReturnsPromiseMethod",["$array","X10::FieldInfoListContextData"],["X10::SheetRange","$string","$boolean","$boolean"],{}],getTableColHeaders:["ReturnsPromiseMethod",["$array","$string"],["$string"],{}],getPythonType:["ReturnsPromiseMethod","$string",["$string","$string"],{}],getPrecedingPythonCells:["ReturnsPromiseMethod","X10::PythonCellInfoContextData",["X10::SheetRange","$string"],{}]}],PowerQueryDataProvider:["X10::PowerQueryDataProvider",{getQueries:["ReturnsPromiseMethod",["$array","X10::PowerQueryResult"],[],{}]}]};var n=r(19339);Object.defineProperty(t,"ColumnFormulaSuggestionUpdateKind",{enumerable:!0,get:function(){return n.ColumnFormulaSuggestionUpdateKind}}),Object.defineProperty(t,"EditorMessageType",{enumerable:!0,get:function(){return n.EditorMessageType}}),Object.defineProperty(t,"FormulaCopilotIPEMode",{enumerable:!0,get:function(){return n.FormulaCopilotIPEMode}}),Object.defineProperty(t,"GotoCtrlClickResultKind",{enumerable:!0,get:function(){return n.GotoCtrlClickResultKind}}),Object.defineProperty(t,"HighlightKind",{enumerable:!0,get:function(){return n.HighlightKind}}),Object.defineProperty(t,"MessageType",{enumerable:!0,get:function(){return n.MessageType}}),Object.defineProperty(t,"PerCharacterExperimentResultKind",{enumerable:!0,get:function(){return n.PerCharacterExperimentResultKind}}),Object.defineProperty(t,"PluginAttachGroup",{enumerable:!0,get:function(){return n.PluginAttachGroup}}),Object.defineProperty(t,"PluginFactoryName",{enumerable:!0,get:function(){return n.PluginFactoryName}}),Object.defineProperty(t,"PluginGroup",{enumerable:!0,get:function(){return n.PluginGroup}}),Object.defineProperty(t,"PositionKind",{enumerable:!0,get:function(){return n.PositionKind}}),Object.defineProperty(t,"RecognizedTablesMetadataState",{enumerable:!0,get:function(){return n.RecognizedTablesMetadataState}}),Object.defineProperty(t,"SchedulerFeature",{enumerable:!0,get:function(){return n.SchedulerFeature}}),Object.defineProperty(t,"TableOrientation",{enumerable:!0,get:function(){return n.TableOrientation}}),Object.defineProperty(t,"ValuePreviewResultKind",{enumerable:!0,get:function(){return n.ValuePreviewResultKind}})},61973:(e,t)=>{"use strict";var r,n,o,i,a,s,l,u,c,d,p,h,g,m,f;Object.defineProperty(t,"__esModule",{value:!0}),t.TableOrientation=t.RecognizedTablesMetadataState=t.ColumnFormulaSuggestionUpdateKind=t.FormulaCopilotIPEMode=t.SchedulerFeature=t.GotoCtrlClickResultKind=t.ValuePreviewResultKind=t.PositionKind=t.HighlightKind=t.PerCharacterExperimentResultKind=t.PluginAttachGroup=t.PluginGroup=t.PluginFactoryName=t.MessageType=t.EditorMessageType=void 0,function(e){e[e.FunctionMessage=0]="FunctionMessage"}(r||(t.EditorMessageType=r={})),function(e){e[e.Insert=0]="Insert",e[e.Delete=1]="Delete",e[e.Replace=2]="Replace"}(n||(t.MessageType=n={})),function(e){e[e.TestPlugin=0]="TestPlugin",e[e.AutocompletePlugin=1]="AutocompletePlugin",e[e.DragPlugin=2]="DragPlugin",e[e.ConfigTestPlugin=3]="ConfigTestPlugin",e[e.ArgumentAssistancePlugin=4]="ArgumentAssistancePlugin",e[e.FeatureGateTestPlugin=5]="FeatureGateTestPlugin",e[e.DNMTraceTagTestPlugin=7]="DNMTraceTagTestPlugin",e[e.ParenthesesCouplingPlugin=8]="ParenthesesCouplingPlugin",e[e.AutocompleteFunctionPlugin=9]="AutocompleteFunctionPlugin",e[e.AutocompleteLetPlugin=10]="AutocompleteLetPlugin",e[e.AutocompleteRichValuePlugin=11]="AutocompleteRichValuePlugin",e[e.AutocompleteNamedObjectsPlugin=12]="AutocompleteNamedObjectsPlugin",e[e.AutocompleteTableHeadersPlugin=13]="AutocompleteTableHeadersPlugin",e[e.ColoredReferencesPlugin=14]="ColoredReferencesPlugin",e[e.ValuePreviewPlugin=15]="ValuePreviewPlugin",e[e.AutocompleteRangeSuggestionPlugin=16]="AutocompleteRangeSuggestionPlugin",e[e.SyntaxErrorsPlugin=17]="SyntaxErrorsPlugin",e[e.GotoCtrlClickPlugin=18]="GotoCtrlClickPlugin",e[e.AutocompleteEnumPlugin=19]="AutocompleteEnumPlugin",e[e.FormulaByExamplePlugin=20]="FormulaByExamplePlugin",e[e.FormulaTranspilerPlugin=22]="FormulaTranspilerPlugin",e[e.InCellControlsAutodetectionPlugin=23]="InCellControlsAutodetectionPlugin",e[e.GetLocalePlugin=24]="GetLocalePlugin",e[e.ValueErrorHighlightPlugin=25]="ValueErrorHighlightPlugin",e[e.AutocompleteCopilotPlugin=26]="AutocompleteCopilotPlugin",e[e.FormulaAuthoringCopilotIPEPlugin=27]="FormulaAuthoringCopilotIPEPlugin",e[e.FormulaCompletionPlugin=28]="FormulaCompletionPlugin",e[e.FormulaCollectionPlugin=1004]="FormulaCollectionPlugin",e[e.ParserPerformanceMeasurements=1005]="ParserPerformanceMeasurements",e[e.FormulaRepairShadowEvalPlugin=1007]="FormulaRepairShadowEvalPlugin",e[e.PythonAutocompletePlugin=1008]="PythonAutocompletePlugin",e[e.AutocompleteWrapperPlugin=1009]="AutocompleteWrapperPlugin",e[e.AutocompleteBinaryModelExperimentPlugin=1010]="AutocompleteBinaryModelExperimentPlugin",e[e.PythonTooltipPlugin=1011]="PythonTooltipPlugin",e[e.PythonSyntaxHighlightingPlugin=1012]="PythonSyntaxHighlightingPlugin",e[e.PythonPowerQueryAutocompletePlugin=1013]="PythonPowerQueryAutocompletePlugin",e[e.ChangeGateTestPlugin=2e3]="ChangeGateTestPlugin",e[e.SlowTestPlugin=2001]="SlowTestPlugin",e[e.EvalOnCloneTestPlugin=2002]="EvalOnCloneTestPlugin",e[e.EvalFormulaTestPlugin=2003]="EvalFormulaTestPlugin",e[e.PythonTestPlugin=2004]="PythonTestPlugin",e[e.ChatGPTPlugin=2005]="ChatGPTPlugin",e[e.EventsTestPlugin=2006]="EventsTestPlugin",e[e.AutocompletePythonPlugin=2007]="AutocompletePythonPlugin"}(o||(t.PluginFactoryName=o={})),function(e){e[e.Excel=0]="Excel",e[e.Python=1]="Python"}(i||(t.PluginGroup=i={})),function(e){e[e.Core=0]="Core",e[e.Python=1]="Python",e[e.SmartSuggestionsAutoComplete=2]="SmartSuggestionsAutoComplete"}(a||(t.PluginAttachGroup=a={})),function(e){e[e.AutocompleteWrapperPluginResult=0]="AutocompleteWrapperPluginResult"}(s||(t.PerCharacterExperimentResultKind=s={})),function(e){e[e.CellRef=0]="CellRef",e[e.StructRef=1]="StructRef",e[e.NamedRange=2]="NamedRange",e[e.Parentheses=3]="Parentheses",e[e.comment=4]="comment",e[e.keyword=5]="keyword",e[e.operator_kind=6]="operator_kind",e[e.string=7]="string",e[e.number=8]="number",e[e.regexp=9]="regexp",e[e.type=10]="type",e[e.class_kind=11]="class_kind",e[e.interface_kind=12]="interface_kind",e[e.enum_kind=13]="enum_kind",e[e.enumMember=14]="enumMember",e[e.typeParameter=15]="typeParameter",e[e.function=16]="function",e[e.method=17]="method",e[e.property=18]="property",e[e.variable=19]="variable",e[e.parameter=20]="parameter",e[e.module=21]="module",e[e.intrinsic=22]="intrinsic",e[e.selfParameter=23]="selfParameter",e[e.clsParameter=24]="clsParameter",e[e.magicFunction=25]="magicFunction",e[e.builtinConstant=26]="builtinConstant",e[e.parenthesis=27]="parenthesis",e[e.curlybrace=28]="curlybrace",e[e.bracket=29]="bracket",e[e.colon=30]="colon",e[e.semicolon=31]="semicolon",e[e.arrow=32]="arrow"}(l||(t.HighlightKind=l={})),function(e){e[e.Absolute=0]="Absolute",e[e.Relative=1]="Relative"}(u||(t.PositionKind=u={})),function(e){e[e.Failure=0]="Failure",e[e.Success=1]="Success",e[e.Unavailable=2]="Unavailable"}(c||(t.ValuePreviewResultKind=c={})),function(e){e[e.ReferenceFound=0]="ReferenceFound",e[e.NoReferenceFound=1]="NoReferenceFound",e[e.Failure=2]="Failure",e[e.RangeResolutionFailure=3]="RangeResolutionFailure",e[e.NotAFormula=4]="NotAFormula"}(d||(t.GotoCtrlClickResultKind=d={})),function(e){e[e.ArgumentAssistance=0]="ArgumentAssistance",e[e.SimpleAutoComplete=1]="SimpleAutoComplete",e[e.SmartSuggestionsAutoComplete=2]="SmartSuggestionsAutoComplete",e[e.ValuePreview=3]="ValuePreview",e[e.ColoredReferences=4]="ColoredReferences",e[e.ParenthesisCoupling=5]="ParenthesisCoupling",e[e.SyntaxErrors=6]="SyntaxErrors",e[e.GotoCtrlClick=7]="GotoCtrlClick",e[e.EnumAutoComplete=8]="EnumAutoComplete",e[e.CopilotFormulaGeneration=9]="CopilotFormulaGeneration"}(p||(t.SchedulerFeature=p={})),function(e){e[e.Create=0]="Create",e[e.Modify=1]="Modify"}(h||(t.FormulaCopilotIPEMode=h={})),function(e){e[e.Accept=0]="Accept",e[e.Decline=1]="Decline",e[e.Ignore=2]="Ignore"}(g||(t.ColumnFormulaSuggestionUpdateKind=g={})),function(e){e[e.Valid=2]="Valid",e[e.Invalid=4]="Invalid",e[e.All=6]="All"}(m||(t.RecognizedTablesMetadataState=m={})),function(e){e[e.none=0]="none",e[e.rowMajor=1]="rowMajor",e[e.columnMajor=2]="columnMajor"}(f||(t.TableOrientation=f={}))},44663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PictureSpecial=t.PictureSingle=t.PictureDbnum=t.PictureColor=void 0;const n=r(16533);n.__exportStar(r(45259),t),n.__exportStar(r(4485),t),n.__exportStar(r(11178),t),n.__exportStar(r(29384),t),n.__exportStar(r(7002),t),n.__exportStar(r(40249),t),n.__exportStar(r(19221),t),n.__exportStar(r(76198),t),n.__exportStar(r(61973),t),n.__exportStar(r(52734),t),n.__exportStar(r(20243),t);var o=r(23235);Object.defineProperty(t,"PictureColor",{enumerable:!0,get:function(){return o.PictureColor}}),Object.defineProperty(t,"PictureDbnum",{enumerable:!0,get:function(){return o.PictureDbnum}}),Object.defineProperty(t,"PictureSingle",{enumerable:!0,get:function(){return o.PictureSingle}}),Object.defineProperty(t,"PictureSpecial",{enumerable:!0,get:function(){return o.PictureSpecial}}),n.__exportStar(r(14122),t),n.__exportStar(r(81806),t),n.__exportStar(r(10772),t),n.__exportStar(r(79518),t)},40375:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},14122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(40375),t),n.__exportStar(r(20259),t)},20259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},81806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},58841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(16533).__exportStar(r(22680),t)},32033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeNativeServices=void 0;var n=r(32312);Object.defineProperty(t,"makeNativeServices",{enumerable:!0,get:function(){return n.makeNativeServices}})},34029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ALProvider=void 0;const n=r(98059),o=r(59278),i=r(18342);class a{static create(e){return a.singleton||(a.singleton=new a),a.singleton}generate(){return this.operationId++,`AugLoop-x10-${this.operationId}`}constructor(){this.operationId=0}}class s{static getSignalType(e){return e.H_.T_}async registerOnAnnotation(e,t){return await this.augLoopSession.activateAnnotation(t,{callback:async t=>{for(const{body:r}of t.items)void 0!==r&&(n.x10.staticTypeHint(r),await this.scheduler.alAnnotationNotifier()[e](r))}}),""}async sendSignal(e){const t=new i.SignalOperation({parentPath:["Signal",s.getSignalType(e)],items:[{id:this.idGenerator.generate(),body:e}]});return await this.augLoopSession.submitOperation(t),""}constructor(e,t){this.scheduler=e,this.context=t,this.augLoopSession=o.AugLoopSession.getWorkbookSession(this.context),this.idGenerator=a.create(this.context)}}t.ALProvider=s},6501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},59278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AugLoopSession=t.AugLoopSessionProxy=void 0;const n=r(98059),o=r(23578);function i(e){return new Promise((t=>setTimeout(t,e)))}class a{getValue(){return this.lazy.getValue().catch((e=>{throw this.lazy.reset(),e}))}reset(){this.lazy.reset()}constructor(e){this.lazy=new n.ResettableLazy(e)}}class s extends a{async getSuccessValue(){return await this.getValue(),this.value}getValue(){return super.getValue().then((e=>("Success"===e.kind&&this.value.resolve(e.value),e))).catch((e=>n.util.failure(e)))}reset(){super.reset(),this.value=new n.ResolvablePromiseWithLimitedSubscribers(this.blockingLimit)}constructor(e,...t){super(...t),this.blockingLimit=e,this.value=new n.ResolvablePromiseWithLimitedSubscribers(this.blockingLimit)}}class l{async reconnect(){let e=this.reconnection.attempts;for(;e>0;){(0,o.debugLog)(`Reconnecting to AugLoop service. ${e} attempts left.`);const t=await this.sessionPromise.getValue();if("Success"===t.kind||t.reason===l.PermanentlyUnavailable)return t;e-=1,await i(this.reconnection.timeout)}return n.util.failure(`Reconnection failed after ${this.reconnection.attempts} attempts`)}ping(){this.sessionPromise.getValue()}static async activateAnnotations(e,t){return(0,o.debugLog)(`activateAnnotations called with ${JSON.stringify(t.map((e=>e[0])))}`),Promise.all(t.map((t=>e.activateAnnotation(...t))))}constructor(e,t=l.defaultReconnectionParameters){this.context=e,this.reconnection=t,this.sessionPromise=new s(l.blockingSubscribersLimit,(async()=>{(0,o.debugLog)("Trying to create AugLoop Session");const e=await this.context.docSessionId();if(""===e)throw new Error("AugLoop session is unavailable");const t=await this.context.getAugLoopSession(e);let r=!1;if(t.setSessionCloseCallback((async()=>{r||(r=!0,(0,o.debugLog)(`AugLoop session for ${e} was closed`),this.sessionPromise.reset(),await this.reconnect())})),(0,o.debugLog)(`Created AugLoop session for ${e}`),this.activatedAnnotations.length>0&&await l.activateAnnotations(t,this.activatedAnnotations),r)throw new Error("AugLoop session closed during init");return n.util.success(t)})),this.activatedAnnotations=[],this.activateAnnotation=async(...e)=>(this.activatedAnnotations.push(e),(await l.activateAnnotations(await this.sessionPromise.getSuccessValue(),[e]))[0]),this.releaseAnnotation=async(...e)=>await(await this.sessionPromise.getSuccessValue()).releaseAnnotation(...e),this.submitOperation=async(...e)=>{(0,o.debugLog)(`submitOperation called with ${e[0].parentPath}`);const t=await this.sessionPromise.getValue();return"Failure"===t.kind?t:n.util.success(t.value.submitOperation(...e))},this.registerOnClose=(...e)=>(this.sessionPromise.getSuccessValue().then((t=>{t.setSessionCloseCallback(...e)})).catch((()=>{(0,o.debugLog)("Failed to register callback")})),"Callback registered")}}t.AugLoopSessionProxy=l,l.PermanentlyUnavailable=Symbol(),l.blockingSubscribersLimit=100,l.defaultReconnectionParameters={attempts:10,timeout:500};class u{static getWorkbookSession(e){return void 0===u.singletons.get(e.id)&&((0,o.debugLog)(`Creating AugLoop session for a new Workbook id ${e.id}`),u.singletons.set(e.id,new l(e))),u.singletons.get(e.id)}}t.AugLoopSession=u,u.singletons=new Map},77845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(6501),t),n.__exportStar(r(59278),t),n.__exportStar(r(34029),t)},68345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableIntelligenceProvider=void 0;const n=r(98059),o=r(77845),i=r(24101),a=r(64848),s=r(44663);class l extends a.TableIntelligenceProviderBase{getRecognizedRangeTablesInfo(...e){return this.augLoopSession.ping(),super.getRecognizedRangeTablesInfo(...e)}constructor(e){super(new n.ResettableLazy((async()=>{await this.augLoopSession.activateAnnotation(i.ExcelRecognizedTableNew.H_.T_,{callback:e=>{for(const{body:t}of e.items)void 0!==t&&(n.x10.staticTypeHint(t),this.addTableEntry(t))}})}))),this.context=e,this.augLoopSession=o.AugLoopSession.getWorkbookSession(this.context),this.addPluginLicenseEntry(s.PluginFactoryName.FormulaByExamplePlugin,(0,n.asyncLazy)((async()=>!0)))}}t.TableIntelligenceProvider=l},64848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableIntelligenceProviderBase=void 0;const n=r(98059),o=r(44663),i=r(24101);var a=n.config.ulsLogger,s=n.config.LogCategory;const l=e=>(a.ULS.assertTag(505722012,s.msoulscat_ES_EWAJS,!function(e){return e.left>e.right||e.top>e.bottom}(e),"ITableIntelligenceProvider.convertExcelRange"),{firstRow:e.top-1,firstColumn:e.left-1,lastRow:e.bottom-1,lastColumn:e.right-1}),u=(e,t)=>Math.min(e.lastRow,t.lastRow)-Math.max(e.firstRow,t.firstRow)>=0&&Math.min(e.lastColumn,t.lastColumn)-Math.max(e.firstColumn,t.firstColumn)>=0;function c(e){switch(e){case i.ExcelRecognizedTableOrientationNew.RowMajor:return o.TableOrientation.rowMajor;case i.ExcelRecognizedTableOrientationNew.ColumnMajor:return o.TableOrientation.columnMajor;default:n.common.assertNever("tableOrientationToX10TableOrientation",e)}}t.TableIntelligenceProviderBase=class{addPluginLicenseEntry(e,t){this.isPluginLicensed.set(e,t)}async checkLicense(e){return await(this.isPluginLicensed.get(e)?.getValue())??!1}addTableEntry(e){const t=function(e){return{metadataState:o.RecognizedTablesMetadataState.Valid,id:e.id,rangeTableInfo:{sheetId:e.range.worksheetId,interpretations:e.interpretations.map((e=>({tableLocation:l(e.location),confidence:e.confidence,orientation:c(e.orientation),headerRowCount:e.headerRowCount,headerColumnCount:e.headerColumnCount}))),analyzedRange:l(e.range)}}}(e),r=(this.recognizedTables.get(e.range.worksheetId)??[]).filter((t=>!((e,t)=>void 0!==t.id&&t.id===e.id||u(l(e.range),t.rangeTableInfo.analyzedRange))(e,t)));return r.push(t),this.recognizedTables.set(e.range.worksheetId,r),t}async getRecognizedRangeTablesInfo(e,t,r,n,o){return await this.checkLicense(n)?(await this.session.getValue(),(this.recognizedTables.get(e)??[]).filter((e=>u(e.rangeTableInfo.analyzedRange,t)))):[]}constructor(e){this.session=e,this.isPluginLicensed=new Map,this.recognizedTables=new Map}}},8767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(68345),t),n.__exportStar(r(64848),t)},39117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nulls2undefs=t.TableIntelligence=t.AugLoop=t.debugLog=t.makeNativeServices=t.x10Interop=t.x10Services=t.proxies=t.langSubpackage=t.calcSubpackage=void 0;const n=r(16533);r(49552),r(75790),r(55108),globalThis.__x10_target_platform="win32",t.calcSubpackage=n.__importStar(r(98059)),t.langSubpackage=n.__importStar(r(85882)),t.proxies=n.__importStar(r(19555)),t.x10Services=n.__importStar(r(58841)),t.x10Interop=n.__importStar(r(44663));var o=r(32033);Object.defineProperty(t,"makeNativeServices",{enumerable:!0,get:function(){return o.makeNativeServices}});var i=r(23578);Object.defineProperty(t,"debugLog",{enumerable:!0,get:function(){return i.debugLog}}),t.AugLoop=n.__importStar(r(77845)),t.TableIntelligence=n.__importStar(r(8767));var a=r(70248);Object.defineProperty(t,"nulls2undefs",{enumerable:!0,get:function(){return a.nulls2undefs}})},23788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTypedFeatureGate=void 0;const n=r(18648);t.getTypedFeatureGate=(0,n.makeGetTypedFeatureGate)({"Microsoft.Office.Excel.DesktopX10JavascriptDebug":!1})},90051:e=>{"use strict";e.exports=globalThis.__x10_excel_x10_native??function(e){throw new Error("Global variable __x10_excel_x10_native is not defined")}()},23578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debugLog=function(e){(0,n.getTypedFeatureGate)("Microsoft.Office.Excel.DesktopX10JavascriptDebug")&&console.log(e)};const n=r(23788)},70248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nulls2undefs=function e(t){if(null!==t){if("object"==typeof t)for(const r of Object.keys(t))t[r]=e(t[r]);return t}};const n=r(98059);n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame,n.common.staticAssertSame},19555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAugLoopSessionTrackerJSProxy=function(){return{ServiceInfo:n.ServiceInfos.AugLoopSessionTracker,onAugLoopConnection(e){(0,i.debugLog)(`AugLoopSessionTracker.onAugLoopConnection() called with connectionParameters: ${JSON.stringify(e)}`)}}},t.makeSyncRequesterJSProxy=function(e){const t=s(e.syncRequester(),"SyncRequester");return{ServiceInfo:n.ServiceInfos.SyncRequester,runTest:t("runTest"),formulaCopilotIPE:t("formulaCopilotIPE"),formulaHighlighting:t("formulaHighlighting"),columnFormulaSuggestion:t("columnFormulaSuggestion")}},t.makeRequesterJSProxy=function(e){const t=s(e.requester(),"Requester");return{ServiceInfo:n.ServiceInfos.Requester,functionSuggestion:t("functionSuggestion"),argumentAssistance:t("argumentAssistance"),chatGPTQuery:t("chatGPTQuery"),columnFormulaSuggestion:t("columnFormulaSuggestion"),formulaCopilotIPE:t("formulaCopilotIPE"),formulaHighlighting:t("formulaHighlighting"),formulaRepair:t("formulaRepair"),gotoCtrlClick:t("gotoCtrlClick"),inCellSuggestion:t("inCellSuggestion"),runAuthoringExperiment:t("runAuthoringExperiment"),runExperiment:t("runExperiment"),runPerCharacterExperiment:t("runPerCharacterExperiment"),runTest:t("runTest"),valuePreview:t("valuePreview"),getTranspiledFormulas:t("getTranspiledFormulas"),inCellControlsAutodetection:t("inCellControlsAutodetection"),getLocale:t("getLocale"),formulaCompletion:t("formulaCompletion"),getAnonymizedFormulas:t("getAnonymizedFormulas")}},t.makeEventEmitterJSProxy=function(e){const t=s(e.eventEmitter(),"EventEmitter");return{ServiceInfo:n.ServiceInfos.EventEmitter,TestEvent:t("TestEvent"),FBEOutcomeUpdate:t("FBEOutcomeUpdate"),FormulaTranspilerInitEvent:t("FormulaTranspilerInitEvent"),ExternalLinksMetaDataInitEvent:t("ExternalLinksMetaDataInitEvent")}},t.makeNotifierJSProxy=function(e){const t=(r=function(e){return a(e.notifier())}(e),function(e){return(...t)=>{(0,i.debugLog)(`Notification ${String(e)}() called`);try{r(e,...t)}catch(e){throw e instanceof Error?(0,i.debugLog)(`Exception caught: ${e.message}. Stacktrace: ${e.stack}`):(0,i.debugLog)(`Exception caught: ${JSON.stringify(e)}`),e}}});var r;return{ServiceInfo:n.ServiceInfos.Notifier,doNothing:t("doNothing"),setActiveCell:t("setActiveCell"),setActiveCellFormat:t("setActiveCellFormat"),setFunctionsInfo:t("setFunctionsInfo"),setDefinedNamesInfo:t("setDefinedNamesInfo"),notifyWorkbookClosing:t("notifyWorkbookClosing"),setSchedulerFeatures:t("setSchedulerFeatures"),setA1ReferenceStyle:t("setA1ReferenceStyle"),setLocale:t("setLocale"),setWorkbookProps:t("setWorkbookProps"),updateSheetNames:t("updateSheetNames"),updateNamedObjects:t("updateNamedObjects"),writeRange:t("writeRange"),writeRanges:t("writeRanges"),setNumberFormats:t("setNumberFormats")}};const n=r(16533).__importStar(r(58841)),o=r(70248),i=r(23578);function a(e){return(t,...r)=>e[t].call(e,...r)}function s(e,t){const r=a(e);return e=>async(...n)=>{(0,i.debugLog)(`${t}.${String(e)}() called`);try{const t=await r(e,...n);return(0,o.nulls2undefs)(t)}catch(e){throw e instanceof Error?(0,i.debugLog)(`Exception caught: ${e.message}. Stacktrace: ${e.stack}`):(0,i.debugLog)(`Exception caught: ${JSON.stringify(e)}`),e}}}},7075:(e,t,r)=>{"use strict";const n=r(16533);if(r(55108),void 0!==globalThis.__x10_excel_x10_native)throw new Error("Global variable __x10_excel_x10_native is already defined");const o=n.__importStar(r(39117));globalThis.__x10_excel_x10_native=o},11031:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AshaError=void 0,function(e){e.Service_Error_Augloop="Service Error (AugLoop)",e.Multiple_Suggestion_Declines="Multiple Suggestion Declines"}(r||(t.AshaError=r={}))},24323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logStandardizedAshaErrorEvent=function(e,t,r,n=!1){(0,o.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Voice.Copilot.Chat",eventFlags:s,dataFields:a(e,t,r,n)})};const n=r(61302),o=r(9106),i=r(21921);function a(e,t,r,o=!1){const a=function(e){switch(e){case n.TelemetryStandardizedFeature.CleanData:return i.Copilot.Verb.Analyze;case n.TelemetryStandardizedFeature.FormulaByExample:return i.Copilot.Verb.Create;default:throw new Error("Missing verb map.")}}(r);return e&&t?[...i.Asha.getFields({eventType:i.Asha.EventType.Error,veto:a+" "+r+" "+e,error:t,inStaging:o??!0,scenario:r})]:[]}const s={dataCategories:i.EnumObjects.DataCategories.ProductServiceUsage,samplingPolicy:i.EnumObjects.SamplingPolicy.CriticalCensus,diagnosticLevel:i.EnumObjects.DiagnosticLevel.RequiredServiceData}},82704:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AshaVeto=void 0,function(e){e.Unable_To_Complete_Task="Unable to Complete Task",e.User_Dissatisfied_With_Suggestions="User dissatisfied with suggestions"}(r||(t.AshaVeto=r={}))},61302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryStandardizedFeature=void 0,t.logCopilotEnabledEvent_Deprecated=function(e,t,r){l({featureName:e,actionType:n.Copilot.FeatureActionType.IsEnabled,eventFlags:a,entryPoint:t,interactionId:void 0,uiLanguage:r})},t.logCopilotEnabledEvent=function(e,t){l({featureName:e,actionType:n.Copilot.FeatureActionType.IsEnabled,eventFlags:a,entryPoint:void 0,interactionId:void 0,uiLanguage:t})},t.logCopilotSeenEvent=function(e,t,r){l({featureName:e,actionType:n.Copilot.FeatureActionType.IsSeen,eventFlags:s,entryPoint:t,interactionId:void 0,uiLanguage:r})},t.logCopilotTriedEvent=function(e,t,r,o){l({featureName:e,actionType:n.Copilot.FeatureActionType.IsTried,eventFlags:a,entryPoint:t,interactionId:r,uiLanguage:o})},t.logCopilotKeptEvent=function(e,t,r,o){l({featureName:e,actionType:n.Copilot.FeatureActionType.IsKept,eventFlags:a,entryPoint:t,interactionId:r,uiLanguage:o})},t.logCopilotRejectedEvent=function(e,t,r,o){l({featureName:e,actionType:n.Copilot.FeatureActionType.IsRejected,eventFlags:a,entryPoint:t,interactionId:r,uiLanguage:o})};const n=r(21921),o=r(9106);var i;!function(e){e.AnalyzeData="AnalyzeData",e.CleanData="CleanData",e.FormulaByExample="FormulaByExample",e.FormulaGeneration="FormulaGeneration",e.CalculatedColumns="CalculatedColumns",e.Commanding="Commanding",e.CopilotChat="CopilotChat",e.ExcelChatHelper="ExcelChatHelper",e.OfficeScripts="OfficeScripts",e.Python="Python",e.Search="Search",e.TableGeneration="Table Generation"}(i||(t.TelemetryStandardizedFeature=i={}));const a={dataCategories:n.EnumObjects.DataCategories.ProductServiceUsage,samplingPolicy:n.EnumObjects.SamplingPolicy.CriticalUsage,diagnosticLevel:n.EnumObjects.DiagnosticLevel.RequiredServiceData},s={dataCategories:n.EnumObjects.DataCategories.ProductServiceUsage,samplingPolicy:n.EnumObjects.SamplingPolicy.CriticalUsage,diagnosticLevel:n.EnumObjects.DiagnosticLevel.Optional};function l(e){const{featureName:t,actionType:r,eventFlags:i,entryPoint:a,interactionId:s="",uiLanguage:l=""}=e;(0,o.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Voice.Copilot.Chat",eventFlags:i,dataFields:[...n.Copilot.getFields({featureActionType:r,isUserInitiated:!1,featureName:t,entryPoint:a,interactionId:s}),...l?[(0,n.makeStringDataField)("UiLanguage",l)]:[]]})}},30268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryUsageEventKeys=t.TelemetryUsageSource=t.TelemetryUsageActionType=void 0,t.logCopilotUsageEvent=function(e,t,r,i,a,l){const u={eventName:"Office.Voice.ActionAI.Usage",eventFlags:{dataCategories:n.EnumObjects.DataCategories.ProductServicePerformance|n.EnumObjects.DataCategories.ProductServiceUsage,diagnosticLevel:n.EnumObjects.DiagnosticLevel.RequiredServiceData},dataFields:[(0,n.makeStringDataField)(s.FeatureName,e),(0,n.makeStringDataField)(s.ActionType,t),(0,n.makeStringDataField)(s.Source,r),(0,n.makeStringDataField)(s.InteractionId,a??""),(0,n.makeStringDataField)(s.UiLanguage,i??""),...l??[]]};(0,o.getTelemetryLogger)().sendTelemetryEvent(u)};const n=r(21921),o=r(9106);var i,a,s;!function(e){e.SendPrompt="SendPrompt",e.PromptBoxShown="PromptBoxShown"}(i||(t.TelemetryUsageActionType=i={})),function(e){e.FormulaAutocompletePromptBox="FormulaAutocompletePromptBox"}(a||(t.TelemetryUsageSource=a={})),function(e){e.FeatureName="FeatureName",e.ActionType="ActionType",e.Source="Source",e.InteractionId="InteractionId",e.UiLanguage="UiLanguage",e.Duration="Duration"}(s||(t.TelemetryUsageEventKeys=s={}))},91243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(11031),t),n.__exportStar(r(24323),t),n.__exportStar(r(82704),t),n.__exportStar(r(61302),t),n.__exportStar(r(30268),t)},73653:(e,t,r)=>{"use strict";r.d(t,{qN:()=>c,iP:()=>o,Z8:()=>n,be:()=>i,gK:()=>m,G7:()=>u,ck:()=>f,J9:()=>l,TQ:()=>v});const n=(e,t)=>t,o=(e,t=!1)=>t,i=(e,t)=>t;let a,s;function l(e){s=e}function u(e,t=!1){return(s?s(e):!!a&&!!a[e]&&"true"===a[e].toLowerCase())||o(e,t)}function c(e,t){return a&&a[e]?a[e]:t}const d=(e,t)=>"string"==typeof t?((e,t)=>e.indexOf(t)>-1)(e,t):((e,t)=>t.filter((t=>d(e,t))).length>0)(e,t),p="Microsoft.Office.",h=["SharedOnline.","WordOnline.","ExcelOnline.","PowerPointOnline.","OneNoteOnline.","VisioOnline."],g=e=>h.filter((t=>0===e.indexOf(t)&&e.length>t.length)).length>0,m=e=>g(e)&&d(e,".ChangeGate."),f=e=>!m(e)&&g(e),v=e=>e.indexOf(p)<0?p+e:e},48509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},79640:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.isChangeGatesManagerSet=t.isChangeGateEnabled=t.setChangeGatesManager=void 0,t.setChangeGatesManager=e=>{r=e},t.isChangeGateEnabled=e=>!r||r.isChangeGateEnabled(e),t.isChangeGatesManagerSet=()=>!!r},21632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(79640),t),n.__exportStar(r(48509),t)},26627:e=>{e.exports={MissingIcon_20:"MissingIcon_20",QuickSearchNoCategories_16:"QuickSearchNoCategories_16",AllApps_16:"AllApps_16",HintBarEllipses_20:"HintBarEllipses_20",CancelGlyph_16:"CancelGlyph_16",CommonControlChevronDown_8:"CommonControlChevronDown_8",CommonControlChevronDownGlyph_8:"CommonControlChevronDownGlyph_8",CommonControlChevronDownGlyph_12:"CommonControlChevronDownGlyph_12",CommonControlChevronUp_8:"CommonControlChevronUp_8",CommonControlChevronRight_12:"CommonControlChevronRight_12",CommonControlChevronRight_16:"CommonControlChevronRight_16",CommonControlChevronLeft_16:"CommonControlChevronLeft_16",CommonControlCheckboxCheck_16:"CommonControlCheckboxCheck_16",CheckmarkWithDynamicColor_16:"CheckmarkWithDynamicColor_16",CommonControlDialogLauncher_8:"CommonControlDialogLauncher_8",Activity_16:"Activity_16",CommentsGlyphWord_16:"CommentsGlyphWord_16",CommonControlEyeOpen_16:"CommonControlEyeOpen_16",CommonControlEyeOpenWhite_16:"CommonControlEyeOpenWhite_16",ShareasLink_16:"ShareasLink_16",ShareasLink_20:"ShareasLink_20",WebGetLinkBlack_16:"WebGetLinkBlack_16",PeopleSharedIcon_16:"PeopleSharedIcon_16",SharingSet_Start_Glyph_16:"SharingSet_Start_Glyph_16",SharingSet_Start_GlyphWord_16:"SharingSet_Start_GlyphWord_16",SharingSet_Start_Glyph_Transparent_16:"SharingSet_Start_Glyph_Transparent_16",ShareArrow_16:"ShareArrow_16",SharingSet_Start_Glyph_Dynamic_16:"SharingSet_Start_Glyph_Dynamic_16",EditWord_16:"EditWord_16",ReviewWhite_16:"ReviewWhite_16",ViewWhite_16:"ViewWhite_16",CancelRequest_16:"CancelRequest_16",Risks_16:"Risks_16",Info_16:"Info_16",InfoGray_16:"InfoGray_16",WorkflowComplete_16:"WorkflowComplete_16",ErrorGlyph_16:"ErrorGlyph_16",AutomaticCircular_16:"AutomaticCircular_16",SwatchNoColorCircular_16:"SwatchNoColorCircular_16",SwatchNoColorCircular_20:"SwatchNoColorCircular_20"}},30400:(e,t)=>{"use strict";function r(){return void 0===globalThis.__get_change_gate_dictionary_variable?{}:globalThis.__get_change_gate_dictionary_variable()}Object.defineProperty(t,"__esModule",{value:!0}),t.getChangeGateDictionary=r,t.isChangeGateEnabled=function(e){return r()[e]??!0},t.setChangeGateDictionaryGetter=function(e){const t=globalThis.__get_change_gate_dictionary_variable;return globalThis.__get_change_gate_dictionary_variable=e,t}},53103:(e,t)=>{"use strict";function r(e){return e.split("")}Object.defineProperty(t,"__esModule",{value:!0}),t.editDistance=function(e,t){const n=r(e),o=r(t);let i=[];for(let e=0;e<=o.length;++e)i[e]=e;for(let e=1;e<=n.length;++e){const t=[e];for(let r=1;r<=o.length;++r)t[r]=n[e-1]===o[r-1]?i[r-1]:1+Math.min(i[r],i[r-1],t[r-1]);i=t}return i[o.length]}},62136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.disableVerboseMode=function(){globalThis.__office_online_feature_gates_verbose_log_callback=void 0},t.enableVerboseMode=function(e){globalThis.__office_online_feature_gates_verbose_log_callback=e},t.getFeatureGateDictionary=i,t.getStringFeatureGate=a,t.getBooleanFeatureGate=function(e,t){const r=a(e)?.trim().toLowerCase();return"true"===r||"false"!==r&&t},t.getNumberFeatureGate=function(e,t){const r=a(e)?.trim().toLowerCase();if(void 0===r)return t;if("infinity"===r||"+infinity"===r)return 1/0;if("-infinity"===r)return-1/0;const n=parseFloat(r);return isNaN(n)?t:n},t.getIntFeatureGate=function(e,t){const r=a(e)?.trim();if(void 0===r)return t;const n=parseInt(r,10);return isNaN(n)?t:n},t.setFeatureGateDictionaryGetter=function(e){const t=globalThis.__get_feature_gate_dictionary_variable;return globalThis.__get_feature_gate_dictionary_variable=e,t};const n=r(53103),o={};function i(){return void 0===globalThis.__get_feature_gate_dictionary_variable?o:globalThis.__get_feature_gate_dictionary_variable()}function a(e,t){if(void 0===globalThis.__office_online_feature_gates_verbose_log_callback)return i()[e]??t;const r=i();if(Object.hasOwn(r,e))return r[e]??t;const o=globalThis.__office_online_feature_gates_verbose_log_callback;o(`Failed lookup for FeatureGate ${e}...`);const a=[],s=e.toLowerCase();for(const e of Object.keys(r))(0,n.editDistance)(e.toLowerCase(),s)<=4&&a.push(e);return a.length>0&&o(`Potential candidates found (edit distance <= 4, case-insensitive): [${a.join(", ")}]`),o(`FeatureGate override not found, returning default: ${t}`),t}},18648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(62136),t),n.__exportStar(r(36379),t),n.__exportStar(r(30400),t),n.__exportStar(r(61652),t),n.__exportStar(r(59120),t),n.__exportStar(r(82472),t)},36379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeGetTypedFeatureGate=function(e){return function(t){const r=e[t];switch(typeof r){case"boolean":return(0,n.getBooleanFeatureGate)(t,r);case"number":return(0,n.getNumberFeatureGate)(t,r);case"string":return(0,n.getStringFeatureGate)(t,r);default:throw new Error("Wrong defaultValue type")}}};const n=r(62136)},61652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeTypedIsChangeGateEnabled=function(e){return e=>(0,n.isChangeGateEnabled)(e)};const n=r(30400)},59120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.overrideChangeGates=o,t.overrideTypedChangeGates=function(e,t){return o(t)};const n=r(30400);function o(e){const t=(0,n.setChangeGateDictionaryGetter)(void 0);return(0,n.setChangeGateDictionaryGetter)((()=>({...void 0!==t?t():{},...e}))),t}},82472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.overrideFeatureGates=o,t.overrideTypedFeatureGates=function(e,t){return o(t)};const n=r(62136);function o(e){const t={};for(const r of Object.keys(e))t[r]=e[r]?.toString();const r=(0,n.setFeatureGateDictionaryGetter)(void 0)??(()=>({}));return(0,n.setFeatureGateDictionaryGetter)((()=>({...r(),...t}))),r}},99552:(e,t,r)=>{"use strict";function n(e,t,r=void 0,n=void 0){const o=window.__InteractivityTracker__;if(o)return o.trackInteraction(e,t,r,n)}function o(e,t,r=void 0,n=void 0){const o=window.__InteractivityTracker__;if(o)return o.trackAsyncUi(e,t,r,n)}function i(e){const t=window.__InteractivityTracker__;return!!t&&t.isEventSupportedForTracking(e)}function a(e){const t=window.__InteractivityTracker__;return!!t&&t.isAsyncUiNameAllowed(e)}function s(){const e=window.__InteractivityTracker__;if(e)return e.getTrackableAsyncUiCommands()}r.d(t,{BX:()=>i,aD:()=>a,aL:()=>n,ad:()=>s,i_:()=>o})},37973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTelemetryLogger=function(e){globalThis[o]=e},t.getTelemetryLogger=function(){var e;return(e=globalThis)[o]??(e[o]=new n.TelemetryLogger)};const n=r(21921),o=Symbol.for("otel_util_telemetry_logger")},84768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertDataFields=function(e){let t=!0;const r=[];return e.forEach((e=>{const o=e.classification;if(o===n.EnumObjects.DataClassification.SystemMetadata||o===n.EnumObjects.DataClassification.EssentialServiceMetadata){const t={name:e.name,bool:null,string:null,double:null,int64:null,date:null,contract:null};switch(e.dataType){case n.EnumObjects.DataFieldType.Boolean:t.bool=e.value;break;case n.EnumObjects.DataFieldType.Double:t.double=e.value;break;case n.EnumObjects.DataFieldType.Int64:t.int64=e.value;break;case n.EnumObjects.DataFieldType.String:t.string=e.value;break;case n.EnumObjects.DataFieldType.Guid:default:return}r.push(t)}else t=!1})),t?r:[]};const n=r(16533).__importStar(r(21921))},9106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(84768),t),n.__exportStar(r(37973),t)},75887:(e,t,r)=>{"use strict";r.d(t,{IA:()=>c,Km:()=>l});let n,o=!1,i=[],a=0;const s=2e4;function l(e,t,r,n,o,i,a){d({kind:"action",event:{name:null,actionName:e,commandSurface:o,parentName:r,triggerMethod:n,durationMs:i,succeeded:t,dataFields:a},timestamp:(new Date).getTime()})}var u;function c(e){d({kind:"activity",event:e,timestamp:(new Date).getTime()})}function d(e){o&&(n?n(e):i.length<=s?i.push(e):a+=1)}!function(e){e.Count="Count",e.Avg="Avg",e.Sum="Sum"}(u||(u={}))},97899:(e,t,r)=>{"use strict";r.r(t),r.d(t,{QueryResponseManager:()=>Ro});var n=r(47615),o=r(95583),i=r(10477),a=r(82148),s=r(83082),l=r(72341),u=r(28980),c=r(97177),d=r(90044),p=r(39398),h=r(55456),g=r(42955),m=r(39482),f=r(66152),v=r(40480),b=r(57674),y=r(47163),S=r(99984),C=r(35989),T=r(97069),k=r(24223),F=r(29784);const E=e=>((0,F.C)(e),(0,k.FD)(e.root,{children:[e.primaryActionButton&&(0,k.Y)(e.primaryActionButton,{}),e.menuButton&&(0,k.Y)(e.menuButton,{})]}));var A,I=r(83588),x=r(44366),w=r(23008),P=r(37418),R=r(54029),D=r(82015);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(A||(A={}));var _=r(21160),N=r(34907),O=r(59432),M=r(39773),B=r(18660),L=function(e){var t;void 0===e&&(t={},e={getCachedMeasurement:function(e){if(e&&e.cacheKey&&t.hasOwnProperty(e.cacheKey))return t[e.cacheKey]},addMeasurementToCache:function(e,r){e.cacheKey&&(t[e.cacheKey]=r)}});var r,n=e;function o(e,t){var r=n.getCachedMeasurement(e);if(void 0!==r)return r;var o=t();return n.addMeasurementToCache(e,o),o}function i(e,t,i){for(var a=e,s=o(e,i);s>r;){var l=t(a);if(void 0===l)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=n.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};a=l}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,a,s){if(void 0!==s||void 0!==t.dataToMeasure){if(s){if(r&&t.renderedData&&!t.dataToMeasure)return(0,R.Cl)((0,R.Cl)({},t),function(e,t,n,o){var i;return i=e>r?o?{resizeDirection:"grow",dataToMeasure:o(n)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:n},r=e,(0,R.Cl)((0,R.Cl)({},i),{measureContainer:!1})}(s,e.data,t.renderedData,e.onGrowData));r=s}var l=(0,R.Cl)((0,R.Cl)({},t),{measureContainer:!1});return t.dataToMeasure&&(l="grow"===t.resizeDirection&&e.onGrowData?(0,R.Cl)((0,R.Cl)({},l),function(e,t,a,s){for(var l=e,u=o(e,a);u<r;){var c=t(l);if(void 0===c)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(u=n.getCachedMeasurement(c)))return{dataToMeasure:c};l=c}return(0,R.Cl)({resizeDirection:"shrink"},i(l,s,a))}(t.dataToMeasure,e.onGrowData,a,e.onReduceData)):(0,R.Cl)((0,R.Cl)({},l),i(t.dataToMeasure,e.onReduceData,a))),l}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==n.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:(0,R.Cl)({},e),resizeDirection:"grow",measureContainer:!0}}}},K=i.createContext({isMeasured:!1}),W={position:"fixed",visibility:"hidden"},H={position:"relative"};function G(e,t){var r;switch(t.type){case"resizeData":return(0,R.Cl)({},t.value);case"dataToMeasure":return(0,R.Cl)((0,R.Cl)({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return(0,R.Cl)((0,R.Cl)({},e),((r={})[t.type]=t.value,r))}}var z={isMeasured:!0};i.forwardRef((function(e,t){var r=i.useRef(null),n=(0,M.a)(r,t),o=function(e,t){var r=(0,_.d)(L),n=i.useRef(null),o=i.useRef(null),a=i.useRef(!1),s=(0,N.Y)(),l=function(e,t,r){var n=(0,_.d)((function(){return t.getInitialResizeGroupState(e.data)})),o=i.useReducer(G,n),a=o[0],s=o[1];i.useEffect((function(){s({type:"dataToMeasure",value:e.data})}),[e.data]);var l=i.useRef(n);return l.current=(0,R.Cl)({},a),[l,i.useCallback((function(e){e&&s({type:"resizeData",value:e})}),[]),i.useCallback((function(){r.current&&s({type:"measureContainer",value:!0})}),[r])]}(e,r,t),u=l[0],c=l[1],d=l[2];i.useEffect((function(){var t;u.current.renderedData&&(a.current=!0,null===(t=e.dataDidRender)||void 0===t||t.call(e,u.current.renderedData))})),i.useEffect((function(){s.requestAnimationFrame((function(){var i=void 0;if(u.current.measureContainer&&t.current){var s=t.current.getBoundingClientRect();i=e.direction===A.vertical?s.height:s.width}var l=r.getNextState(e,u.current,(function(){var t=a.current?o:n;if(!t.current)return 0;var r=t.current.getBoundingClientRect();return e.direction===A.vertical?r.height:r.width}),i);c(l)}),t.current)}));var p=(0,B.ox)();(0,O.x)(p,"resize",s.debounce(d,16,{leading:!0}));var h=r.shouldRenderDataForMeasurement(u.current.dataToMeasure),g=!a.current&&h;return[u.current.dataToMeasure,u.current.renderedData,d,n,o,h,g]}(e,r),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4],d=o[5],p=o[6];i.useImperativeHandle(e.componentRef,(function(){return{remeasure:l}}),[l]);var h=e.className,g=e.onRenderData,m=(0,D.G1)(e,D.JM,["data"]);return i.createElement("div",(0,R.Cl)({},m,{className:h,ref:n}),i.createElement("div",{style:H},d&&!p&&i.createElement("div",{style:W,ref:c},i.createElement(K.Provider,{value:z},g(a))),i.createElement("div",{ref:u,style:p?W:void 0,"data-automation-id":"visibleContent"},p?g(a):s&&g(s))))})).displayName="ResizeGroupBase";var U=r(18642),V=r(3287),j=r(6813),q=r(43839),$=r(94190),Q=r(14274),X=r(58559),Y=r(59761),J=r(60414);const Z=i.forwardRef(((e,t)=>{const r=(0,X.P)(e,t);return(0,Y.B)(r),(0,J.$e)("useButtonStyles_unstable")(r),(0,Q.e)(r)}));Z.displayName="Button";var ee=r(29968),te=r(69515),re=r(98581);const ne=i.forwardRef(((e,t)=>{const r=(0,te.e)(e,t);return(0,re.U)(r),(0,J.$e)("useMenuButtonStyles_unstable")(r),(0,ee.d)(r)}));ne.displayName="MenuButton";var oe=r(27927),ie=r(10191),ae=r(51641),se=r(32969),le=r(14465),ue=r(69714),ce=r(18970),de=r(26423),pe=r(58168);const he=(e,t)=>{const{disabled:r,customTooltip:n,tooltipDirection:o}=e,{id:i,...a}=e;let s=t;(0,de.l)()||(s=(0,pe._)(t,{...e,direction:o}).mergedRef);const l=n?s:t,u=(0,X.P)({...a,type:"button",disabledFocusable:r},l);return(0,ce.g)(e,u)};var ge=r(95902);const me=i.memo(i.forwardRef(((e,t)=>{const r=he(e,t);return(0,Y.B)(r),i.createElement(ge.K,{...e},(0,Q.e)(r))})));me.displayName="next/AppSplitButtonPrimaryButton";var fe=r(83496);const ve=(e,t)=>{const{disabled:r,icon:n,location:o,customTooltip:i,tooltipDirection:a}=e,{id:s,...l}=e;let u=t;(0,de.l)()||(u=(0,pe._)(t,{...e,direction:a}).mergedRef);const c=i?u:t,d=(0,te.e)({...l,type:"button",disabledFocusable:r},c);n||(d.icon=void 0);const p={...e,hideLabel:!e.children},h=(0,fe.z)(p,d);return h.root["data-unique-id"]=(0,ie.lj)({id:s,location:o},"Menu"),h},be=i.memo(i.forwardRef(((e,t)=>{const r=ve(e,t);return(0,re.U)(r),i.createElement(ge.K,{...e},(0,ee.d)(r))})));be.displayName="next/AppSplitButtonMenuButton";var ye=r(91324);var Se=r(40453),Ce=r(20955),Te=r(75484),ke=r(55056),Fe=r(84105),Ee=r(26838),Ae=r(17297);const Ie=(0,ke.n)({base:{paddingTop:"1px",paddingLeft:"9px",paddingRight:"2px",paddingBottom:"0px",...Fe.Pt.borderRight("0px"),minWidth:"20px"},small:{paddingLeft:"1px",borderRightWidth:"0px"},large:{height:"36px",minHeight:"36px",minWidth:"40px",...Fe.Pt.padding("0px"),borderBottomWidth:"0px",borderRightWidth:"1px",width:"100%"}}),xe=(0,ke.n)({base:{marginTop:"0px"},large:{paddingTop:"2px"}}),we=(0,ke.n)({base:{...Fe.Pt.borderRight("0px"),":focus":{borderRightWidth:"0px"}},small:{minWidth:"22px !important",paddingLeft:"2px !important",paddingRight:"2px !important",borderRightWidth:"1px !important"},medium:{minWidth:"28px",paddingRight:"2px"},large:{...Fe.Pt.borderRight("1px"),...Fe.Pt.borderBottom("0px"),height:"36px"}}),Pe=(0,ke.n)({large:{paddingBottom:"0px"}}),Re=e=>{const t=Ie(),r=xe(),n=we(),o=Pe();(0,Ae.G)()?(e.root.className=(0,Ee.z)(n.base,(0,Te.uo)(e.size,n),e.root.className),e.icon&&(e.icon.className=(0,Ee.z)((0,Te.uo)(e.size,o),e.icon.className))):(e.root.className=(0,Ee.z)(t.base,(0,Te.uo)(e.size,t),e.root.className),e.icon&&(e.icon.className=(0,Ee.z)(r.base,(0,Te.uo)(e.size,r),e.icon.className)))},De=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,label:n,onRenderText:o,size:a,variant:s,variantId:l}=e,u=(0,Se.T)(n,a,o,(0,Te.JU)(a)),c=he({...e,children:"large"!==a?u:i.createElement(i.Fragment,null),dataAutomationType:r??"RibbonButton"},t);return(0,Ce.Z)(c,s,l),c})(e,t);return(e=>{Re(e),(0,Te.jA)(e),(0,Y.B)(e)})(r),i.createElement(ge.K,{...e},(0,Q.e)(r))})));De.displayName="next/RibbonSplitButtonPrimaryButton";var _e=r(64192),Ne=r(15843),Oe=r(15294),Me=r(21609),Be=r(31798),Le=r(74445);const Ke=(0,ke.n)({medium:{paddingLeft:"0px",paddingTop:"0px",minWidth:"16px"},menuIcon:{marginRight:"1px",marginLeft:"2px",fill:Me.k.legacy_neutralDark},small:{width:"12px",minWidth:"12px"},large:{borderTopWidth:"0px",height:"36px",minHeight:"36px",minWidth:"40px",width:"100%",[`& .${Oe.Q3}`]:{paddingTop:"0px"}}}),We=(0,ke.n)({menuIcon:{marginLeft:Me.k.spacingHorizontalNone,fill:Me.k.colorNeutralForeground1},small:{width:"12px",minWidth:"12px",paddingLeft:Me.k.spacingHorizontalXXS,paddingRight:"1px"},medium:{paddingLeft:Me.k.spacingHorizontalXXS,paddingRight:"3px",minWidth:"16px"},large:{justifyContent:"flex-start",borderTopWidth:"0px",height:"36px",minHeight:"36px",minWidth:"40px",width:"100%",paddingTop:Me.k.spacingVerticalNone},withMinTargetSize:{width:`${Le.Z.minTargetSize}px`,minWidth:`${Le.Z.minTargetSize}px`,padding:"0"}});var He=r(35739);const Ge=i.memo(i.forwardRef(((e,t)=>{const r=ve({...e,children:(0,He.e)(e)},t);return(0,_e.e)(e,r),(e=>{const t=Ke(),r=We(),n=i.useContext(b.B),o=(0,Be.C)(n);(0,Ae.G)()?(e.root.className=(0,Ee.z)((0,Te.uo)(e.size,r,o),e.root.className),e.icon&&(e.icon.className=(0,Ee.z)(e.icon.className)),e.menuIcon&&(e.menuIcon.className=(0,Ee.z)(r.menuIcon,e.menuIcon.className))):(e.root.className=(0,Ee.z)((0,Te.uo)(e.size,t),e.root.className),e.icon&&(e.icon.className=(0,Ee.z)(e.icon.className)),e.menuIcon&&(e.menuIcon.className=(0,Ee.z)(t.menuIcon,e.menuIcon.className))),(0,Ne.H)(e)})(r),i.createElement(ge.K,{...e,showTooltip:e.showTooltip&&r.menuHidden},(0,ee.d)(r))})));Ge.displayName="next/RibbonSplitButtonMenuButton";var ze=r(22918);const Ue=(e,t)=>{const r=(0,X.P)(e,t);return(0,ze.H)(e,r)};var Ve=r(36632),je=r(77675);const qe=(0,je.X)({base:{De3pzq:"f1nfm20t",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],sj55zd:"f14nttnl",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",Jwef8y:"f1knas48",Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1xlaoq0",gg5e9n:["f1m52nbi","f1ub3y4t"],Bi91k9c:"feu1g3u",iro3zm:"f141de4g",b661bw:"f11v6sdu",Bk6r4ia:["f9yn8i4","f1ajwf28"],B9zn80p:"f1uwu36w",Bpld233:["f1ajwf28","f9yn8i4"],B2d53fq:"f9olfzr"},highContrast:{Bsw6fvg:"f1rirnrt",Bjwas2f:"f132fbg1",Bn1d65q:["f1ene5x0","fzbc999"],Bxeuatn:"f6jgcol",n51gp8:["fzbc999","f1ene5x0"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3",F3bflw:0,mxns5l:0,B0tp99d:0,l9kbep:0,Bg4echp:0,o3nasb:0,B55dcl7:0,By5cl00:0,Bnk1xnq:0,gdbnj:0,Bw5jppy:0,B8jyv7h:0,ka51wi:0,G867l3:0,abbn9y:0,Btyszwp:0,Bi9mhhg:"f1mh9o5k",B7d2ofm:"fkom8lu"},outline:{De3pzq:"f1q9pm1r",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],Jwef8y:"fjxutwb",iro3zm:"fwiml72",B8q5s1w:"fcaw57c",Bci5o5g:["fpwd27e","f1999bjr"],n8qw10:"f1hi52o4",Bdrgwmp:["f1999bjr","fpwd27e"]},primary:{De3pzq:"f8w4g0q",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2"},secondary:{},subtle:{De3pzq:"fq5gl1p",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1eryozh",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd"},transparent:{De3pzq:"f1q9pm1r",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1qj7y59",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m"}},{d:[".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".fcaw57c[data-fui-focus-visible]{border-top-color:var(--colorNeutralStroke1);}",".fpwd27e[data-fui-focus-visible]{border-right-color:var(--colorNeutralStroke1);}",".f1999bjr[data-fui-focus-visible]{border-left-color:var(--colorNeutralStroke1);}",".f1hi52o4[data-fui-focus-visible]{border-bottom-color:var(--colorNeutralStroke1);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f141de4g:hover:active{background-color:var(--colorNeutralBackground1Pressed);}",".f11v6sdu:hover:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f9yn8i4:hover:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1ajwf28:hover:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1uwu36w:hover:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f9olfzr:hover:active{color:var(--colorNeutralForeground1Pressed);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1mh9o5k:focus{border:1px solid HighlightText;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkom8lu:focus{outline-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),$e=(0,je.X)({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo"},outline:{},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),Qe=(0,je.X)({subtleOrTransparent:{sj55zd:"f1qj7y59"},highContrast:{ycbfsm:"fg4l7m0"}},{d:[".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Xe=(0,je.X)({base:{Bsw6fvg:"f4lkoma",Bjwas2f:"f1bauw5b",Bn1d65q:["fbpknfk","fedl69w"],Bxeuatn:"f15s25nd",n51gp8:["fedl69w","fbpknfk"],Bbusuzp:"f1e4kh5",ycbfsm:"fg4l7m0"},disabled:{Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"]}},{m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1bauw5b{border-top-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbpknfk{border-right-color:ButtonBorder;}.fedl69w{border-left-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f15s25nd{border-bottom-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e4kh5{color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]});var Ye=r(63900),Je=r(36536);const Ze=(0,ke.n)({checked:{backgroundColor:Me.k.legacy_neutralLight,color:Me.k.legacy_neutralDark,...Fe.Pt.borderColor(Me.k.legacy_neutralPrimaryAlt),[`${Ye.up}`]:{...Ye.Qt,...Ye.lf,...Ye.zr}},disabled:{[`${Ye.up}`]:{...Ye.RQ,":focus":{...Ye.RQ}}}}),et=(0,ke.n)({checked:{...Fe.Pt.borderColor(Me.k.colorNeutralStrokeAccessible),...(0,Ve.i)({"@media (forced-colors: active)":{...Fe.Pt.borderColor("ButtonText"),outlineColor:"ButtonText"}})}}),tt=e=>{const t=Ze(),r=et();return(0,Ae.G)()?e.root.className=(0,Ee.z)(e.checked&&r.checked,e.root.className):e.root.className=(0,Ee.z)(e.checked&&t.checked,(e.disabled||e.disabledFocusable)&&t.disabled,e.root.className),(0,Je.F)(e),(e=>{const t=qe(),r=$e(),n=Qe(),o=Xe(),{appearance:i,checked:a,disabled:s,disabledFocusable:l}=e;e.root.className=(0,Ee.z)("fui-ToggleButton","primary"===i&&o.base,"primary"===i&&(s||l)&&o.disabled,a&&t.base,a&&t.highContrast,i&&a&&t[i],(s||l)&&r.base,i&&(s||l)&&r[i],e.root.className),e.icon&&(e.icon.className=(0,Ee.z)("fui-ToggleButton__icon",a&&("subtle"===i||"transparent"===i)&&n.subtleOrTransparent,n.highContrast,e.icon.className)),(0,Y.B)(e)})(e),e},rt=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,label:n,onRenderText:o,size:a,variant:s,variantId:l}=e,u=(0,Se.T)(n,a,o,(0,Te.JU)(a)),c=((e,t)=>{const{disabled:r,toggled:n,customTooltip:o,tooltipDirection:i}=e,{id:a,...s}=e;let l=t;(0,de.l)()||(l=(0,pe._)(t,{...e,direction:i}).mergedRef);const u=Ue({...s,checked:n,type:"button",disabledFocusable:r},o?l:t);return(0,ce.g)(e,u),u})({...e,children:"large"!==a?u:i.createElement(i.Fragment,null),dataAutomationType:r??"RibbonToggleButton"},t);return(0,Ce.Z)(c,s,l),c})(e,t);return(e=>{Re(e),tt(e)})(r),i.createElement(ge.K,{...e},(0,Q.e)(r))})));rt.displayName="next/RibbonSplitButtonPrimaryToggleButton";const nt="fui-SplitButton__menuButton",ot="fui-SplitButton__primaryActionButton",it=(0,je.X)({primaryActionButton:{B6xbmo0:["f1x37qnr","f1um7c6d"],kdpuga:["fn4c73s","f6pwzcr"]},menuButton:{lbo84a:["frrbwxo","f1rgcpbv"],dm238s:["f1um7c6d","f1x37qnr"],Bw81rd7:["f6pwzcr","fn4c73s"]}},{d:[".f1x37qnr[data-fui-focus-visible]{border-top-right-radius:0;}",".f1um7c6d[data-fui-focus-visible]{border-top-left-radius:0;}",".fn4c73s[data-fui-focus-visible]{border-bottom-right-radius:0;}",".f6pwzcr[data-fui-focus-visible]{border-bottom-left-radius:0;}",".frrbwxo[data-fui-focus-visible]{border-left-width:0;}",".f1rgcpbv[data-fui-focus-visible]{border-right-width:0;}"]}),at=(0,je.X)({base:{mc9l5x:"ftuwxu6",Brf1p80:"fsxf2b5",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",kn2xc0:["f14uur2j","fc1btbj"],Bs76p8a:["fye5tvs","fc597qq"],cuxpm9:["f1e8brtx","fr36rk3"],Biffepf:["fxp12j1","f1m6nt2y"],Defnvf:["fr7y8no","f1dn0c6m"],z0pv9t:"f1b65x5h"},outline:{},primary:{B1l9wao:["f4rm5b0","f1tuwo13"],lcnrd8:["fdwdeeo","f1ezdslh"],Brbpp8k:["fckzjn8","f8ohr2i"],Bcsxniv:["ff0tx2l","fnrj3rw"],tl7e51:["f3jppgx","f1m2s8ie"],mba178:["f96h41g","fdxf0pi"]},secondary:{},subtle:{B1l9wao:["f16kf41h","fxiafvi"],lcnrd8:["ffl6mx9","f1t5sw6t"],Brbpp8k:["f1t42bc8","fsw5hli"]},transparent:{B1l9wao:["f16kf41h","fxiafvi"],lcnrd8:["ffl6mx9","f1t5sw6t"],Brbpp8k:["f1t42bc8","fsw5hli"]},circular:{},rounded:{},square:{},disabled:{B1l9wao:["f10xrnr8","f15nylwb"],lcnrd8:["f11fwhjz","f18vtcsx"],Brbpp8k:["f31btwb","fzgm9gq"]},disabledHighContrast:{Bcsxniv:["fj2q5vi","f13tct40"],tl7e51:["fb2mzc7","f179dhpp"],mba178:["f1ma39qa","f1nzpdru"]}},{d:[".ftuwxu6{display:inline-flex;}",".fsxf2b5{justify-content:stretch;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f14uur2j .fui-SplitButton__primaryActionButton{border-top-right-radius:0;}",".fc1btbj .fui-SplitButton__primaryActionButton{border-top-left-radius:0;}",".fye5tvs .fui-SplitButton__primaryActionButton{border-bottom-right-radius:0;}",".fc597qq .fui-SplitButton__primaryActionButton{border-bottom-left-radius:0;}",".f1e8brtx .fui-SplitButton__menuButton{border-left-width:0;}",".fr36rk3 .fui-SplitButton__menuButton{border-right-width:0;}",".fxp12j1 .fui-SplitButton__menuButton{border-top-left-radius:0;}",".f1m6nt2y .fui-SplitButton__menuButton{border-top-right-radius:0;}",".fr7y8no .fui-SplitButton__menuButton{border-bottom-left-radius:0;}",".f1dn0c6m .fui-SplitButton__menuButton{border-bottom-right-radius:0;}",".f1b65x5h .fui-SplitButton__menuButton{min-width:24px;}",".f4rm5b0 .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1tuwo13 .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".f16kf41h .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackground);}",".fxiafvi .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackground);}",".f10xrnr8 .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f15nylwb .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}"],h:[".fdwdeeo:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f1ezdslh:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fckzjn8:hover:active .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f8ohr2i:hover:active .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeOnBrand);}",".ffl6mx9:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackgroundHover);}",".f1t5sw6t:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackgroundHover);}",".f1t42bc8:hover:active .fui-SplitButton__primaryActionButton{border-right-color:var(--colorTransparentBackgroundPressed);}",".fsw5hli:hover:active .fui-SplitButton__primaryActionButton{border-left-color:var(--colorTransparentBackgroundPressed);}",".f11fwhjz:hover .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18vtcsx:hover .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}",".f31btwb:hover:active .fui-SplitButton__primaryActionButton{border-right-color:var(--colorNeutralStrokeDisabled);}",".fzgm9gq:hover:active .fui-SplitButton__primaryActionButton{border-left-color:var(--colorNeutralStrokeDisabled);}"],m:[["@media (forced-colors: active){.ff0tx2l .fui-SplitButton__primaryActionButton{border-right-color:HighlightText;}.fnrj3rw .fui-SplitButton__primaryActionButton{border-left-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2s8ie:hover .fui-SplitButton__primaryActionButton{border-left-color:Highlight;}.f3jppgx:hover .fui-SplitButton__primaryActionButton{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f96h41g:hover:active .fui-SplitButton__primaryActionButton{border-right-color:Highlight;}.fdxf0pi:hover:active .fui-SplitButton__primaryActionButton{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13tct40 .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}.fj2q5vi .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f179dhpp:hover .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}.fb2mzc7:hover .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ma39qa:hover:active .fui-SplitButton__primaryActionButton{border-right-color:GrayText;}.f1nzpdru:hover:active .fui-SplitButton__primaryActionButton{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}]]});var st=r(18550);const lt=(0,ke.n)({base:{[`${Ye.up}`]:{[`& .${ot}`]:{...Ye.Ys},[`& .${nt}`]:{...Ye.Ys,":focus":{...Ye.Ys}}},":hover":{[`& .${ot}`]:{...Fe.Pt.borderColor(Me.k.legacy_neutralLighter)},[`& .${nt}`]:{...Fe.Pt.borderColor(Me.k.legacy_neutralLighter)}},":active":{[`& .${ot}`]:{...Fe.Pt.borderColor(Me.k.legacy_neutralQuaternaryAlt)},[`& .${nt}`]:{...Fe.Pt.borderColor(Me.k.legacy_neutralQuaternaryAlt)}}},disabled:{[`${Ye.up}`]:{[`& .${ot}`]:{...Ye.G_,...Ye.Ys},":hover":{[`& .${ot}`]:{...Ye.G_,...Ye.Ys},[`& .${nt}`]:{...Ye.G_,...Ye.Ys}}}},large:{flexDirection:"column",minWidth:"40px",[`& .${nt}`]:{borderLeftWidth:"1px"}}}),ut=(0,ke.n)({small:{[`& .${nt}`]:{width:"12px",minWidth:"12px"}},medium:{[`& .${nt}`]:{minWidth:"16px"}},withMinTargetSize:{}}),ct=(0,ke.n)({large:{flexDirection:"column",minWidth:"40px",[`& .${ot}`]:{borderBottomLeftRadius:Me.k.borderRadiusNone,borderBottomRightRadius:Me.k.borderRadiusNone,borderTopRightRadius:Me.k.borderRadiusMedium,borderRightWidth:Me.k.strokeWidthThin,borderRightColor:Me.k.colorTransparentBackground,flexGrow:1},[`& .${nt}`]:{borderLeftWidth:Me.k.strokeWidthThin,borderTopLeftRadius:Me.k.borderRadiusNone,borderTopRightRadius:Me.k.borderRadiusNone,borderBottomLeftRadius:Me.k.borderRadiusMedium}},small:{[`& .${ot}`]:{borderRightColor:Me.k.colorTransparentBackground}}}),dt=(0,ke.n)({large:{":hover:active":{[`& .${ot}`]:{borderRightColor:Me.k.colorTransparentBackground}},":hover":{[`& .${ot}`]:{borderRightColor:Me.k.colorTransparentBackground}}}}),pt=(0,ke.n)({primaryActionButton:(0,Ve.i)({borderBottomLeftRadius:0,borderBottomRightRadius:0,borderTopRightRadius:Me.k.borderRadiusMedium}),menuButton:(0,Ve.i)({borderTopWidth:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:Me.k.borderRadiusMedium})}),ht=(0,ke.n)({primaryActionButton:(0,Ve.i)({borderBottomLeftRadius:Me.k.borderRadiusNone,borderBottomRightRadius:Me.k.borderRadiusNone,borderTopRightRadius:Me.k.borderRadiusMedium}),menuButton:(0,Ve.i)({borderTopWidth:0,borderTopLeftRadius:Me.k.borderRadiusNone,borderTopRightRadius:Me.k.borderRadiusNone,borderLeftWidth:Me.k.strokeWidthThin,borderBottomLeftRadius:Me.k.borderRadiusMedium})}),gt=(0,ke.n)({base:{[`& .${ot}`]:{...Fe.Pt.borderColor(Me.k.legacy_neutralLight)},[`& .${nt}`]:{...Fe.Pt.borderColor(Me.k.legacy_neutralLight)}}}),mt=(0,ke.n)({base:{[`${Ye.up}`]:{":focus":{outlineStyle:"solid"},":focus-visible":{outlineStyle:"solid"}}}}),ft=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const{shadowRenderMenu:r,dataAutomationType:n}=e,o=i.useContext(K),a=((e,t)=>{const{menuDefinition:r,deferredMenuDefinition:n,shadowRenderMenu:o,onMenuButtonExecute:a,location:s,ariaRoleDescription:l,dataAutomationType:u,disabled:c,primaryDisabled:d,toggleable:p,toggled:h,fullDescriptionLabel:g,splitButtonAriaLabel:m,id:f,alwaysRestoreFocus:v,label:b,customTooltip:y,menuButtonCustomTooltip:S,containerRole:C}=e,T=i.useRef(),k=(0,ae.b)({...e,deriveKeytip:le.W,directClickRef:T,useDirectClick:!0,neverShowTooltip:!(!y&&!S)},t,"AppButton"),F=((e,t)=>{const{appearance:r="secondary",children:n,disabled:o=!1,disabledFocusable:i=!1,icon:a,iconPosition:s="before",menuButton:l,menuIcon:u,primaryActionButton:c,shape:d="rounded",size:p="medium"}=e,h=(0,j.Bi)("splitButton-"),g=q.lq(l,{defaultProps:{appearance:r,disabled:o,disabledFocusable:i,menuIcon:u,shape:d,size:p},renderByDefault:!0,elementType:ne}),m=q.lq(c,{defaultProps:{appearance:r,children:n,disabled:o,disabledFocusable:i,icon:a,iconPosition:s,id:h+"__primaryActionButton",shape:d,size:p},renderByDefault:!0,elementType:Z});return g&&m&&!g["aria-label"]&&!g["aria-labelledby"]&&(g["aria-labelledby"]=m.id),{appearance:r,disabled:o,disabledFocusable:i,iconPosition:s,shape:d,size:p,components:{root:"div",menuButton:ne,primaryActionButton:Z},root:q.Gk((0,$.g)("div",{ref:t,...e}),{elementType:"div"}),menuButton:g,primaryActionButton:m}})(e,k),E={...e,disabled:c||d,root:{"aria-roledescription":l},customTooltip:y||S?y??b:void 0},A={...e,onExecute:a,ariaLabel:[g,m].join(" "),icon:void 0,ariaDescription:void 0,customTooltip:y||S?S??b:void 0,"data-ktp-execute-target":V.er,"data-ktp-aria-target":V.KR,ref:T},I={...e,"data-unique-id":(0,ie.lj)({id:f,location:s}),"aria-roledescription":l,"data-automation-type":u,"data-ktp-target":V.aR,role:C??"group"},x=(0,ue.U)({...e,onExecute:e.onMenuButtonExecute},"SplitButton"),w={...x.getMenuProps(r),alwaysRestoreFocus:v};return((e,t)=>{const{onClick:r,disabled:n}=t.primaryActionButton,[o,a]=i.useState(!1);(0,ye.G)({...e,onExecute:e.onMenuButtonExecute},t,t.root.ref);const s=i.useCallback((e=>{n||(r?.(e),t.menu.hidden||(a(!0),t.menuButton["aria-expanded"]=!1,t.menu.onDismiss?.()))}),[r,t.menu,t.menuButton,n]);return t.primaryActionButton.onClick=s,o&&(t.menu.hidden=!0,a(!1)),t.menuButton.menuHidden=t.menu.hidden,t.menu.useLegacyContextMenu=e.useLegacyContextMenu,t})(e,{...F,toggleable:p,toggled:h,shadowRenderMenu:o,...x,components:{root:"div",primaryActionButton:me,menuButton:be,menu:n?.menuAs??se.Qt},root:q.Gk((0,oe._)("div",{ref:k,...I}),{elementType:"div"}),primaryActionButton:q.Gk(e.primaryActionButton,{defaultProps:E,elementType:me}),menuButton:q.Gk(e.menuButton,{defaultProps:A,elementType:be}),menu:q.Gk(e.menu,{defaultProps:w,elementType:n?.menuAs??se.Qt})})})({...e,dataAutomationType:n??"RibbonSplitButton",persistMenu:!0,preventCalloutDismissOnScroll:!0,shadowRenderMenu:(0,f.o)(r,o.isMeasured)},t);return a.components&&(a.components.primaryActionButton=e.toggleable?rt:De,a.primaryActionButton[U.on]=e.toggleable?rt:De,a.components.menuButton=Ge,a.menuButton[U.on]=Ge),a})({...e,size:e.size?.toLowerCase()},t);return(e=>{const{toggleable:t,toggled:r}=e,n=lt(),o=gt(),a=pt(),s=ct(),l=ht(),u=mt(),c=ut(),d=i.useContext(b.B),p=(0,Be.C)(d),h=dt();(0,Ae.G)()?(e.root.className=(0,Ee.z)((0,Te.uo)(e.size,s),(0,Te.uo)(e.size,h),t&&r&&o.base,!p&&(0,Te.uo)(e.size,c),e.root.className),e.menuButton&&e.size===st.J.Large.toLowerCase()&&(e.menuButton.className=(0,Ee.z)(l.menuButton,e.menuButton.className)),e.primaryActionButton&&e.size===st.J.Large.toLowerCase()&&(e.primaryActionButton.className=(0,Ee.z)(a.primaryActionButton,e.primaryActionButton.className)),e.primaryActionButton&&(e.primaryActionButton.className=(0,Ee.z)(e.primaryActionButton.className,u.base)),e.menuButton&&(e.menuButton.className=(0,Ee.z)(e.menuButton.className,u.base))):e.root.className=(0,Ee.z)(n.base,(0,Te.uo)(e.size,n),(e.disabled||e.disabledFocusable)&&n.disabled,t&&r&&o.base,e.root.className),(e=>{const t=at(),r=it(),{appearance:n,disabled:o,disabledFocusable:i}=e;e.root.className=(0,Ee.z)("fui-SplitButton",t.base,n&&t[n],(o||i)&&t.disabled,(o||i)&&t.disabledHighContrast,e.root.className),e.menuButton&&(e.menuButton.className=(0,Ee.z)(nt,r.menuButton,e.menuButton.className)),e.primaryActionButton&&(e.primaryActionButton.className=(0,Ee.z)(ot,r.primaryActionButton,e.primaryActionButton.className))})(e)})(r),((e,t)=>{const{id:r,location:n}=t,o=e;(0,F.C)(e);const{shadowRenderMenu:a,isShadowRendering:s,persistMenu:l,menuAnchorContextValue:u}=e,c=!e.menu.hidden||a&&s||l,d=(0,w.D)();return(0,k.FD)(i.Fragment,{children:[d&&(0,k.Y)(x.y,{elementTimingId:r,hidden:e.menu.hidden,interactivityTrackerContext:`${r}_${n}`}),(0,k.Y)(I.F,{isShadowRendering:s,menuAnchorContextValue:u,children:(0,k.FD)(i.Fragment,{children:[E(o),c&&(0,k.Y)(e.menu,{})]})})]})})(r,e)})),P.w);ft.displayName="next/RibbonSplitButton";var vt=r(95033);const bt=i.lazy((()=>Promise.resolve().then(r.bind(r,26367)))),yt=(0,d.J9)(((e,t,r)=>(0,p.TW)(t,e,r)));class St extends i.PureComponent{render(){const{shadowRenderMenu:e,styles:t}=this.props,r=(0,C.mB)(this.props.textContainerInitialWidth,this.props.textContainerFinalWidth,this.props.hideLabel);return i.createElement(m.OW.Consumer,null,(({isMeasured:n})=>i.createElement(v.V,null,(o=>i.createElement(i.Suspense,{fallback:i.createElement(i.Fragment,null)},i.createElement(bt,{...this.props,styles:yt(r,(0,h.Tt)(o),t),dataAutomationType:this.props.dataAutomationType||"RibbonSplitButton",onRenderText:this.props.onRenderText||(0,S.x)(this.props.size),persistMenu:!0,shadowRenderMenu:(0,f.o)(e,n),preventCalloutDismissOnScroll:!0}))))))}}const Ct=(0,y.H)((0,T.B)())(St);Ct.displayName="RibbonSplitButtonCurrent";const Tt=i.forwardRef(((e,t)=>{const r=i.useContext(b.B),n=(0,vt.I)(),o=(0,vt.r)(),a=((0,g.V4)(r.isExperimentalFeatureEnabled)||n)&&!e.useLegacyButton,s={...e,useLegacyContextMenu:!o};return a?i.createElement(ft,{ref:t,...s}):i.createElement(Ct,{ref:t,...e})}));Tt.displayName="RibbonSplitButton";var kt=r(15052),Ft=r(69246),Et=r(27528),At=r(9472),It=r(37308),xt=r(85963);const wt=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const{dataAutomationType:r,label:n,onRenderText:o,size:a,variant:s,variantId:l}=e,u=((e,t)=>{const{disabled:r,toggled:n,toggleUsingIcon:o}=e,a=(0,ae.b)({...e,deriveKeytip:le.W},t,"AppButton"),s=Ue({...e,checked:n,type:"button",disabledFocusable:r},a),l=i.useContext(b.B),u=!!(0,xt.i2)(l,xt.PE.fluentV9ToggleIconEnabled)&&o&&!n;return(0,ce.g)({...e,hideIcon:u},s),s})({...e,children:(0,Se.T)(n,a,o,(0,Te.JU)(a)),dataAutomationType:r??"RibbonToggleButton"},t);return(0,Ce.Z)(u,s,l),u})({...e,size:e.size?.toLowerCase()},t);return tt(r),i.createElement(ge.K,{...e},(0,Q.e)(r))})));wt.displayName="next/RibbonToggleButton";const Pt=i.lazy((()=>Promise.resolve().then(r.bind(r,18309)))),Rt=(0,d.J9)(((e,t,r)=>(0,p.TW)(e,t,r)));class Dt extends i.PureComponent{render(){const e=(0,C.mB)(this.props.textContainerInitialWidth,this.props.textContainerFinalWidth,this.props.hideLabel);return i.createElement(v.V,null,(t=>i.createElement(i.Suspense,{fallback:i.createElement(i.Fragment,null)},i.createElement(Pt,{...this.props,styles:Rt((0,It.P)(t),e,this.props.styles),onRenderText:this.props.onRenderText||(0,S.x)(this.props.size),dataAutomationType:this.props.dataAutomationType||"RibbonToggleButton"}))))}}const _t=(0,y.H)((0,T.B)())(Dt);_t.displayName="RibbonToggleButtonCurrent";const Nt=i.forwardRef(((e,t)=>{const r=i.useContext(b.B),n=(0,vt.I)();return!(0,g.V4)(r.isExperimentalFeatureEnabled)&&!n||e.useLegacyButton?i.createElement(_t,{ref:t,...e}):i.createElement(wt,{ref:t,...e})}));function Ot(e,t){return r=>i.createElement(kt.Fh,{...r,controlInMenuRendererFunction:t,downChevronIcon:e.downChevron,location:r.location||o.IZ.Ribbon})}Nt.displayName="RibbonToggleButton";var Mt=r(20880);class Bt extends i.PureComponent{render(){return i.createElement(Mt.w,{...this.props})}}var Lt=r(92886),Kt=r(24697),Wt=r(77372),Ht=r(82826),Gt=r(26334),zt=r(65882);function Ut(e){const{flyoutAnchorProps:t,size:r,flyoutAnchorIconSet:n,id:o,disabled:i,menuLauncherLabel:a,onMenuButtonExecute:s,onAfterMenuDismiss:l,keytipProps:u,shadowRenderMenu:c}=e,d={};e.expandedOptions&&(d.menuDefinition=e.expandedOptions),e.deferredMenuDefinition&&(d.deferredMenuDefinition=e.deferredMenuDefinition);let p={type:"AppFlyoutAnchorProps",...t,...d,id:o,disabled:i,icon:(0,zt.X)(n,r),label:t&&t.label||a,onExecute:s,onAfterMenuDismiss:l,keytipProps:u,shadowRenderMenu:c,persistMenu:!0,size:r};return r&&(p={...p,styles:(0,Oe.g)(p,r,t?.styles),...(0,Gt.$)(r)}),p}var Vt=r(26297),jt=r(71393),qt=r(45263),$t=r(49152),Qt=r(70783);const Xt=i.memo((e=>{const t=e.style;return i.createElement(Qt.A,{...e,title:void 0,automationType:"AppFontStylesPreview",label:e.styleDisplayName,ariaLabel:e.styleDisplayName,shouldTakeFocus:!0},i.createElement("div",{className:(0,p.Zq)(t&&t.label)},e.styleDisplayName))}));class Yt extends i.PureComponent{render(){return i.createElement(v.V,null,(e=>i.createElement(jt.Q,{...this.props,styles:(0,qt.cW)(e,(0,$t.NU)(e,this.props.styles)),getGalleryButtonComponent:this.props.getGalleryButtonComponent||Xt,automationType:this.props.dataAutomationType||"AppFontStylesPreviewGallery",uniqueId:this.props.id})))}}var Jt=r(67547),Zt=r(74281),er=r(52267),tr=r(94406);const rr=(0,ke.n)({root:{height:"26px",width:"120px",...Fe.Pt.padding(Me.k.spacingHorizontalNone)},highContrastStyle:{[`${Ye.up}`]:{color:"buttontext !important",backgroundColor:"buttonface !important"}},tooltip:{height:"100%",width:"100%"}}),nr=(0,ke.n)({root:{width:"100%",height:"26px",lineHeight:"26px"},styleLabel:{height:"100%"}}),or=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const r=(0,Zt.N)(e,t),{title:n,...o}=e,i=q.Gk(e.galleryButtonSlot,{defaultProps:{...o,label:e.styleDisplayName,showTooltip:!0},elementType:er.A}),a=q.Gk(e.galleryButtonDivSlot,{elementType:"div"});return{...e,...r,components:{...r.components,galleryButtonSlot:er.A,galleryButtonDivSlot:"div"},galleryButtonSlot:i,galleryButtonDivSlot:a}})(e,t);return(e=>{(0,tr.n)(e);const t=(e=>{const t=e.style?.label??{},r=rr();return e.galleryButtonDivSlot.style={...e.galleryButtonDivSlot.style,...t,textAlign:"start"},r})(e),r=nr();e.galleryButtonDivSlot.className=(0,Ee.z)(t.highContrastStyle,r.root,e.galleryButtonDivSlot.className),e.galleryButtonSlot.className=(0,Ee.z)(t.highContrastStyle,t.root,e.galleryButtonSlot.className)})(r),(e=>((0,F.C)(e),(0,k.Y)(e.galleryButtonSlot,{children:(0,k.Y)(ge.K,{...e,label:e.styleDisplayName,showTooltip:e.showTooltip??!0,children:(0,k.Y)(e.galleryButtonDivSlot,{children:e.styleDisplayName})})})))(r)})));var ir=r(68414);const ar=(0,ke.n)({labelContainer:{height:"100%",width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}}),sr=(0,ke.n)({root:{display:"flex",flexDirection:"column",height:"52px",width:"120px"},styleLabel:{display:"block",overflow:"visible !important",textAlign:"center",lineHeight:1.2},displayNameLabel:{display:"block",textAlign:"center",fontSize:"10px",textOverflow:"ellipsis",lineHeight:"normal"},highContrastStyle:{[`${Ye.up}`]:{color:"buttontext !important",backgroundColor:"buttonface !important"}}}),lr=(0,ke.n)({styleLabel:{overflow:"hidden"}}),ur=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const{title:r,...n}=e,o=null!=e.previewStyleFontNameAndSize?e.styleDisplayName:e.previewStyleLabel,i=null!=e.previewStyleFontNameAndSize?e.previewStyleFontNameAndSize:e.styleDisplayName,a=q.Gk({...e,ariaLabel:e.customTooltip??o+" "+i,ref:t},{defaultProps:{...n,automationType:"AppFontStylesTwoRowPreview",label:e.styleDisplayName,shouldTakeFocus:!0,showTooltip:!0},elementType:er.A}),s=q.Gk(e.labelContainer,{elementType:"div"}),l=q.Gk(e.styleLabel,{elementType:"div"}),u=q.Gk(e.displayNameLabel,{elementType:"div"});return{...e,components:{root:er.A,labelContainer:"div",styleLabel:"div",displayNameLabel:"div"},root:a,labelContainer:s,styleLabel:l,displayNameLabel:u}})(e,t);return(e=>{const t=(e=>{const t=e.style?.label??{},r=e.style?.textContainer??{},n=sr(),o=i.useContext(b.B),a=lr();return o.isExperimentalFeatureEnabled?.(xt.PE.overflowingStylesPreviewFixIsEnabled)&&(n.styleLabel=(0,Ee.z)(n.styleLabel,a.styleLabel)),e.styleLabel.style={...t,paddingLeft:Me.k.spacingHorizontalNone,textAlign:"center",...e.styleLabel.style},e.root.style={...r,...e.root.style},n})(e);e.labelContainer.className=(0,Ee.z)(ar().labelContainer),e.styleLabel.className=(0,Ee.z)(t.highContrastStyle,t.styleLabel,e.styleLabel.className),e.displayNameLabel.className=(0,Ee.z)(t.displayNameLabel,e.displayNameLabel.className),e.root.className=(0,Ee.z)(t.highContrastStyle,t.root,e.root.className)})(r),(e=>{(0,F.C)(e);const t=null!=e.previewStyleFontNameAndSize?e.styleDisplayName:e.previewStyleLabel;return(0,k.Y)(e.root,{children:(0,k.Y)(ge.K,{...e,label:t||"",showTooltip:(e.showTooltip??!0)&&null!=t,children:(0,k.FD)(e.labelContainer,{children:[(0,k.Y)(e.styleLabel,{children:t}),(0,k.Y)(e.displayNameLabel,{children:null!=e.previewStyleFontNameAndSize?e.previewStyleFontNameAndSize:e.styleDisplayName})]})})})})(r)}))),cr=(e,t)=>{const r=(0,Jt.r)({...e,automationType:e.dataAutomationType||"AppFontStylesPreviewGallery",uniqueId:e.id,getGalleryButtonComponent:e.getGalleryButtonComponent===ir.N?ur:or},t);return{...e,...r}};var dr=r(64464),pr=r(75451);const hr=i.memo(i.forwardRef(((e,t)=>{const r=cr(e,t);return(0,dr.v)(r),(0,pr.W)(r)}))),gr=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const r=cr(e,t),n=q.Gk(e,{defaultProps:{...e,persistMenu:!0},elementType:hr});return{...r,...e,components:{root:hr},root:n}})(e,t);return(e=>((0,F.C)(e),(0,k.Y)(e.root,{})))(r)})));class mr extends i.PureComponent{render(){return i.createElement(Yt,{...this.props,persistMenu:!0})}}const fr=i.forwardRef(((e,t)=>(()=>{const e=i.useContext(b.B);return(0,xt.i2)(e,xt.PE.fluentV9RibbonFontStyleGalleryIsEnabled)})()?i.createElement(gr,{ref:t,...e}):i.createElement(mr,{ref:t,...e})));var vr=r(37241),br=r(8171);const yr=i.memo((e=>{const t=e.previewIconProps?(0,p.l8)(br.mY,e.previewIconProps.styles):br.mY;return i.createElement(Qt.A,{...e,automationType:"AppIconPreview",uniqueId:e.id,title:void 0,label:e.title,ariaLabel:e.title,shouldTakeFocus:!0},i.createElement(vr.I,{...e.previewIconProps,styles:t}),e.label&&i.createElement("div",{className:(0,p.Zq)(br.vT,e.style?.label)}," ",e.label," "))}));var Sr=r(31781);const Cr=(0,d.J9)((e=>{const t=(0,Sr.C)(e);return{root:{boxSizing:"border-box",height:(0,Ae.G)()?30:34,minWidth:40,width:"auto",paddingLeft:4,paddingRight:4,selectors:{":focus":{borderColor:t.galleryHoverFocusColor},i:{margin:0}}},flexContainer:{margin:0,lineHeight:"normal"}}})),Tr={root:{height:34,borderTop:"none",borderBottom:"none"}},kr={root:{height:30}},Fr=(0,d.J9)(((e,t)=>{const r=t?.galleryContainer,n=t&&t.previewStackStyle;return{galleryContainer:r,previewExpandButton:(0,p.TW)(Tr,(0,Ae.G)()&&kr,t&&t.previewExpandButton),previewStackStyle:n,galleryButtonInPreview:(0,p.TW)(Cr(e),t&&t.galleryButtonInPreview)}}));class Er extends i.PureComponent{render(){return i.createElement(v.V,null,(e=>i.createElement(jt.Q,{...this.props,styles:(0,qt.cW)(e,Fr(e,this.props.styles)),getGalleryButtonComponent:yr,automationType:this.props.dataAutomationType||"AppIconPreviewGallery",uniqueId:this.props.id})))}}var Ar=r(75497),Ir=r(68541),xr=r(87755);const wr={root:{height:Me.k.spacingVerticalXL,width:Me.k.spacingHorizontalXL}},Pr="--acui-appIcongalleryButton__backgroundColor",Rr="--acui-appIcongalleryButton__maxWidth",Dr="--acui-appIcongalleryButton__flexDirection",_r="--acui-appIcongalleryButton__height",Nr="--acui-appIcongalleryButton__width",Or="--acui-appIcongalleryButton__justifyContent",Mr="--acui-appIcongalleryButton__alignItems",Br="--acui-appLabel__maxWidth",Lr="--acui-appLabel__margin",Kr={margin:"0px 1px",textOverflow:"ellipsis",overflow:"hidden"},Wr={backgroundColor:"Highlight !important"},Hr={":hover":{...Ye.mn}},Gr={backgroundColor:"transparent !important"},zr={...Ye.E7,":hover":{"> label":{...Ye.E7},...Gr},...Gr},Ur=(0,ke.n)({root:{backgroundColor:`var(${Pr})`,[`${Ye.up}`]:{":hover":{"> label":{...Ye.mn}}}},rootMLR:{flexDirection:`var(${Dr})`,maxWidth:`var(${Rr})`,...Fe.Pt.margin(Me.k.spacingVerticalXS),...Fe.Pt.padding(Me.k.spacingVerticalXS),height:`var(${_r})`,width:`var(${Nr})`},flexContainer:{justifyContent:`var(${Or})`,alignItems:`var(${Mr})`},noButtonHeightWidthButIconStyleMLR:{height:"52px",width:"68px"},noButtonHeightWidthIconStyle:{...Fe.Pt.padding(Me.k.spacingVerticalS)},disabled:{...zr,[`${Ye.up}`]:{backgroundColor:"buttonface !important",":hover":{"> label":{...Ye.E7,...Ye.RQ}}}},disabledAndSelected:{...zr,[`${Ye.up}`]:{...Wr,":hover":{"> label":{...Ye.E7,...Ye.lf},...Wr}}}}),Vr=(0,ke.n)({label:{margin:`var(${Lr})`,maxWidth:`var(${Br})`,fontFamily:Me.k.fontFamilyBase,fontSize:Me.k.fontSizeBase200},rest:{[Ye.up]:{...Ye.dn,...Hr}},labelSelected:{[Ye.up]:{...Ye.lf,...Hr}},disabled:{...Ye.E7,[Ye.up]:{...Ye.RQ}},disabledAndSelected:{...Ye.E7,[Ye.up]:{...Ye.lf}}});var jr=r(88237),qr=r(1290);const $r=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const r=e.previewIconProps&&e.previewIconProps.styles?(0,jr.f8)(e.previewIconProps.styles,wr).customDefinedCss:wr,n=i.createElement(qr.z,{...e.previewIconProps,style:"root"in r?r.root:r}),o=(0,jr.f8)(e.style?.label,Kr),a=q.lq(e.label,{defaultProps:{children:e.label,style:o.customDefinedCss},elementType:Ir.J}),s=q.Gk({...e,ref:t},{defaultProps:{...e,automationType:"AppIconPreview",uniqueId:e.id,ariaLabel:e.ariaLabel??e.label,shouldTakeFocus:e.shouldTakeFocus,icon:n,ref:t},elementType:er.A});return{...e,components:{root:er.A,buttonLabel:Ir.J},root:s,buttonLabel:a,styles:e.styles}})(e,t);return(e=>{(e=>{const t=e.styles?.galleryButtonInPreview,r=t?.root,n=(0,xr.v)(r&&Array.isArray(r)&&r.find((e=>e.height&&e.width))),o=(0,xr.v)(t?.label);"large"===e.size?.toLocaleLowerCase()&&(e.root.style={[`${Dr}`]:t?.flexContainer?.flexDirection,[`${Pr}`]:r?.length>0?r[0].backgroundColor:void 0,[`${Rr}`]:r?.length>0?r[0].maxWidth:void 0,[`${_r}`]:n?.height,[`${Nr}`]:n?.width,[`${Or}`]:t?.flexContainer?.justifyContent,[`${Mr}`]:t?.flexContainer?.alignItems,[`${Br}`]:o.maxWidth,[`${Lr}`]:o.margin,...e.root.style})})(e);const t=Ur(),r=Vr(),n=e.styles?.galleryButtonInPreview?.flexContainer?t.flexContainer:t.noButtonHeightWidthButIconStyleMLR,o="large"===e.size?.toLocaleLowerCase();e.root.className=(0,Ee.z)(t.root,e.disabled&&!e.selected&&t.disabled,e.disabled&&e.selected&&t.disabledAndSelected,o&&t.rootMLR,o&&n,o&&String(e.previewIconProps?.styles?.root?.height).includes("%")&&String(e.previewIconProps?.styles?.root?.width).includes("%")&&t.noButtonHeightWidthIconStyle,e.root.className),e.buttonLabel&&(e.buttonLabel.className=(0,Ee.z)(r.label,e.disabled&&!e.selected?r.disabled:e.selected?r.labelSelected:r.rest,e.disabled&&e.selected&&r.disabledAndSelected,e.buttonLabel.className))})(r),(e=>((0,F.C)(e),(0,k.Y)(ge.K,{...e,showTooltip:e.showTooltip??!0,children:(0,k.Y)(e.root,{children:!e.hideLabel&&e.buttonLabel&&(0,k.Y)(e.buttonLabel,{})})})))(r)}))),Qr=i.memo(i.forwardRef(((e,t)=>{const r=(0,Jt.r)(e,t);return(0,dr.v)(r),(0,pr.W)(r)})));Qr.displayName="next/AppPreviewGallery";const Xr=i.memo(i.forwardRef(((e,t)=>{const r={...{...e,galleryButtons:e.galleryButtons.map((t=>{const{title:r,...n}=t;return{...n,styles:e.styles,customTooltip:t.customTooltip??r}}))},getGalleryButtonComponent:$r,automationType:e.dataAutomationType||"AppIconPreviewGallery",uniqueId:e.id};return i.createElement(Qr,{...r,ref:t})}))),Yr=i.memo(i.forwardRef(((e,t)=>{const r=((e,t)=>{const r=q.Gk({...e,ref:t},{defaultProps:{...e,dataAutomationType:"RibbonIconPreviewGallery",persistMenu:!0,ref:t},elementType:Xr});return{...e,components:{root:Xr},root:r}})(e,t);return(e=>((0,F.C)(e),(0,k.Y)(e.root,{})))(r)})));class Jr extends i.PureComponent{render(){return i.createElement(Er,{...this.props,dataAutomationType:"RibbonIconPreviewGallery",persistMenu:!0})}}const Zr=i.forwardRef(((e,t)=>(0,Ar.J)()?i.createElement(Yr,{...e,ref:t}):i.createElement(Jr,{...e,ref:t})));var en=r(43881),tn=r(24077),rn=r(93602),nn=r(56021),on=r(2483),an=r(56676),sn=r(95629);const ln=(0,sn.U)("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),un=(0,sn.U)("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]);var cn=r(81257);const dn={error:i.createElement(ln,null),warning:i.createElement(un,null),success:i.createElement(cn.D7b,null),none:void 0};var pn=r(69287);const hn="fui-Field",gn="fui-Field__label",mn="fui-Field__validationMessage",fn="fui-Field__validationMessageIcon",vn="fui-Field__hint",bn=(0,je.X)({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),yn=(0,je.X)({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),Sn=(0,pn.y)("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Cn=(0,je.X)({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),Tn=(0,pn.y)("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),kn=(0,je.X)({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Fn=i.forwardRef(((e,t)=>{const r=((e,t)=>{const{children:r,orientation:n="vertical",required:o=!1,validationState:i=(e.validationMessage?"error":"none"),size:a="medium"}=e,s=(0,j.Bi)("field-"),l=s+"__control",u=q.Gk((0,$.g)("div",{...e,ref:t},["children"]),{elementType:"div"}),c=q.lq(e.label,{defaultProps:{htmlFor:l,id:s+"__label",required:o,size:a},elementType:Ir.J}),d=q.lq(e.validationMessage,{defaultProps:{id:s+"__validationMessage",role:"error"===i||"warning"===i?"alert":void 0},elementType:"div"}),p=q.lq(e.hint,{defaultProps:{id:s+"__hint"},elementType:"div"}),h=dn[i],g=q.lq(e.validationMessageIcon,{renderByDefault:!!h,defaultProps:{children:h},elementType:"span"});return{children:r,generatedControlId:l,orientation:n,required:o,size:a,validationState:i,components:{root:"div",label:Ir.J,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:u,label:c,validationMessageIcon:g,validationMessage:d,hint:p}})(e,t);(e=>{const{validationState:t,size:r}=e,n="horizontal"===e.orientation,o=bn();e.root.className=(0,Ee.z)(hn,o.base,n&&o.horizontal,n&&!e.label&&o.horizontalNoLabel,e.root.className);const i=yn();e.label&&(e.label.className=(0,Ee.z)(gn,n&&i.horizontal,n&&"small"===r&&i.horizontalSmall,n&&"large"===r&&i.horizontalLarge,!n&&i.vertical,!n&&"large"===r&&i.verticalLarge,e.label.className));const a=Tn(),s=kn();e.validationMessageIcon&&(e.validationMessageIcon.className=(0,Ee.z)(fn,a,"none"!==t&&s[t],e.validationMessageIcon.className));const l=Sn(),u=Cn();e.validationMessage&&(e.validationMessage.className=(0,Ee.z)(mn,l,"error"===t&&u.error,!!e.validationMessageIcon&&u.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=(0,Ee.z)(vn,l,e.hint.className))})(r),(0,J.$e)("useFieldStyles_unstable")(r);const n=(e=>{var t,r,n,o;const{generatedControlId:a,orientation:s,required:l,size:u,validationState:c}=e,d=null===(t=e.label)||void 0===t?void 0:t.htmlFor,p=null===(r=e.label)||void 0===r?void 0:r.id,h=null===(n=e.validationMessage)||void 0===n?void 0:n.id,g=null===(o=e.hint)||void 0===o?void 0:o.id;return{field:i.useMemo((()=>({generatedControlId:a,hintId:g,labelFor:d,labelId:p,orientation:s,required:l,size:u,validationMessageId:h,validationState:c})),[a,g,d,p,s,l,u,h,c])}})(r);return((e,t)=>{(0,F.C)(e);let{children:r}=e;return"function"==typeof r&&(r=r((0,on.m)(t.field)||{})),(0,k.Y)(an.Z,{value:null==t?void 0:t.field,children:(0,k.FD)(e.root,{children:[e.label&&(0,k.Y)(e.label,{}),r,e.validationMessage&&(0,k.FD)(e.validationMessage,{children:[e.validationMessageIcon&&(0,k.Y)(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&(0,k.Y)(e.hint,{})]})})})(r,n)}));Fn.displayName="Field";var En=r(10656);const An="130px",In="28px",xn=(0,d.J9)(((e,t)=>{const r=t||An;return{root:{height:40,marginRight:8,display:"flex",alignItems:"center"},wrapper:{display:"flex"},fieldGroup:{height:In,display:"flex",alignItems:"center",marginLeft:10,background:(0,Sr.C)(e).defaultBackgroundColor},field:{height:"24px",width:r,paddingLeft:4,paddingRight:0}}}));var wn=r(39392);const Pn="--acuiRibbonInput--width",Rn=(0,ke.n)({base:{borderBottomColor:Me.k.colorNeutralStroke1,marginBottom:Me.k.spacingVerticalXXS,marginTop:Me.k.spacingVerticalXXS,width:`var(${Pn})`,":hover":{...Fe.Pt.borderColor(Me.k.colorNeutralStroke1Hover)}},small:{height:`calc(${In} - ${Me.k.spacingVerticalXXS})`,minHeight:`calc(${In} - ${Me.k.spacingVerticalXXS})`},medium:{height:In,minHeight:In},large:{}});var Dn=r(21728),_n=r(19094),Nn=r(85152),On=r(92392);const Mn=(e,t)=>{const{width:r,size:n}=e,o=(0,En.d)(n);let a=((e,t)=>{const{"aria-label":r,"aria-posinset":n,"aria-setsize":o,customTooltip:a,hideLabel:s,label:l,positionInSet:u,readOnly:c,setSize:d,spellCheck:p}=e,h=(0,ae.b)({...e,deriveKeytip:_n.U_,hideLabel:!1,label:l??""},t,"AppInput"),[g,m]=i.useState(e.value),f=i.useRef(!0),v=i.useRef(!1),y=i.useRef(e.value);i.useEffect((()=>{(f.current||v.current||y.current!==e.value)&&m(e.value)}),[e.value]);const S=i.useMemo((()=>{if(void 0===e.defaultValue&&void 0!==e.value)return g||""===g?g:e.value}),[e.defaultValue,e.value,g]),C=(e=>{const{type:t}=e;return i.useMemo((()=>t&&["number","time","text","search","email","password","tel","url","date","datetime-local","month","week"].includes(t)?t:"text"),[t])})(e),T=((e,t)=>{const{onExecute:r,value:n}=e;return i.useCallback((()=>{r&&void 0!==t&&n!==t&&r(t)}),[t,r,n])})(e,S),k=((e,t)=>{const{executeOnBlur:r,onBlur:n}=e;return i.useCallback((()=>{n?.(),r&&t()}),[r,n,t])})(e,T),F=((e,t,r)=>{const{onChange:n,readOnly:o}=e;return i.useCallback(((e,i)=>{o||(t(i.value),r.current=!1,n?.(i.value))}),[n,o,t,r])})(e,m,f),E=((e,t,r,n,o)=>{const{onFocus:a,selectTextOnFocus:s,value:l}=e;return i.useCallback((()=>{o&&(o.current=l),r.current||(n.current=!0),t&&t.current&&(a?.(),s?t.current.select():t.current.focus())}),[a,t,s,l,r,n,o])})(e,t,f,v,y),A=((e,t)=>{const{executeOnEnter:r,onKeyDown:n}=e,o=!!(0,xt.i2)(i.useContext(b.B),xt.PE.inputArrowKeyNavFixEnabled);return i.useCallback((e=>{n?.(e),o&&(0,On.x)(e),e.key===Nn.xyI&&r&&(e.stopPropagation(),e.preventDefault(),t())}),[r,o,n,t])})(e,T);let I=(0,Dn.n)({...e,"aria-label":r??(l||a),"aria-posinset":n??u,"aria-setsize":o??d,onBlur:k,onChange:F,onFocus:E,onKeyDown:A,readOnly:!!c,spellCheck:p??!1,type:C,value:S},h);return I=((e,t)=>{const r=(0,ie.lj)(e);return t.root["data-unique-id"]=r,t.input["data-unique-id"]=`${r}-input`,t})(e,I),I.label=l,I.hideLabel=s,I})({...e,size:o},t);return a=((e,t)=>(e.root.style=i.useMemo((()=>({...e.root.style,[`${Pn}`]:t?`${t}px`:An})),[e.root.style,t]),e))(a,r),a},Bn=i.memo(i.forwardRef(((e,t)=>{const r=Mn(e,t);return(e=>{(e=>{const{size:t}=e,r=Rn();e.root.className=(0,Ee.z)(r.base,r[t],e.root.className)})(e),(0,wn.d)(e)})(r),(e=>{const{hideLabel:t,label:r}=e,n=()=>i.createElement(ge.K,{...e,label:r||""},(e=>((0,F.C)(e),(0,k.FD)(e.root,{children:[e.contentBefore&&(0,k.Y)(e.contentBefore,{}),(0,k.Y)(e.input,{}),e.contentAfter&&(0,k.Y)(e.contentAfter,{})]})))(e));return!t&&r?i.createElement(Fn,{label:r},n()):n()})(r)})));Bn.displayName="next/RibbonInput";var Ln=r(44706);const Kn=(0,d.J9)(((e,t,r,n)=>(0,Ae.G)()?(0,p.TW)((0,nn.UE)(t,n),r):(0,p.TW)(xn(e,t),r)));class Wn extends i.PureComponent{componentDidMount(){this.events.on(this.ribbonInputWrapper.current,this.keydown,this.onKeyDown)}componentWillUnmount(){this.events.off()}render(){return i.createElement(v.V,null,(e=>{const t=Kn(e,this.props.width,this.props.styles,this.props.disabled);return i.createElement("div",{ref:this.ribbonInputWrapper},i.createElement(rn.g,{...this.props,styles:t,ref:this.appInput}))}))}constructor(e){super(e),this.ribbonInputWrapper=i.createRef(),this.appInput=i.createRef(),this.keydown="keydown",this.onKeyDown=e=>{e.which===l.c.escape&&(this.appInput.current?.resetState(),e.stopPropagation(),e.preventDefault())},this.events=new tn.g(this)}}const Hn=i.forwardRef(((e,t)=>{const r=(0,vt.I)();return!(0,Ln.b)()&&!r||e.useLegacyInput?i.createElement(Wn,{ref:t,...e}):i.createElement(Bn,{ref:t,...e})})),Gn=(0,d.J9)(((e,t)=>r=>{switch(r.type){case"AppButtonProps":return(e=>i.createElement(At.R,{...e,location:e.location||o.IZ.Ribbon}))({...r,shouldTakeFocus:void 0===r.shouldTakeFocus||r.shouldTakeFocus});case"AppToggleButtonProps":return(e=>i.createElement(Nt,{...e,location:e.location||o.IZ.Ribbon}))({...r,shouldTakeFocus:void 0===r.shouldTakeFocus||r.shouldTakeFocus});case"AppFlyoutAnchorProps":return Ot(e,t)(r);case"AppLabelProps":return(e=>i.createElement(Bt,{...e,location:e.location||o.IZ.Ribbon}))(r);case"AppSplitButtonProps":return function(e,t){return r=>i.createElement(Tt,{...r,controlInMenuRendererFunction:t,downChevronIcon:e.downChevron,location:r.location||o.IZ.Ribbon})}(e,t)({...r,shouldTakeFocus:void 0===r.shouldTakeFocus||r.shouldTakeFocus});case"AppComboBoxProps":return function(e){return t=>i.createElement(Lt._,{...t,downChevronIcon:e.downChevron,location:t.location||o.IZ.Ribbon})}(e)(r);case"AppFontPickerProps":return function(e){return t=>i.createElement(Kt.Y,{...t,downChevronIcon:e.downChevron,location:t.location||o.IZ.Ribbon})}(e)(r);case"AppSpinButtonProps":return function(e){return t=>i.createElement(Wt.X,{...t,decrementButtonIcon:e.spinButtonDownChevron,incrementButtonIcon:e.spinButtonUpChevron,location:t.location||o.IZ.Ribbon})}(e)(r);case"AppCheckboxProps":return function(e){return t=>i.createElement(Ht.w,{...t,checkmarkIcon:e.checkboxCheckmark,location:t.location||o.IZ.Ribbon})}(e)(r);case"RibbonTableStylesPreviewGalleryProps":return function(e,t){return r=>r.renderAsFlyout?Ot(e,t)(Ut(r)):i.createElement(Vt.b,{...r,controlInMenuRendererFunction:t,downChevronIcon:e.downChevron,location:r.location||o.IZ.Ribbon})}(e,t)(r);case"AppFontStylesPreviewGalleryProps":return function(e,t){return r=>r.renderAsFlyout?Ot(e,t)(Ut(r)):i.createElement(fr,{...r,controlInMenuRendererFunction:t,downChevronIcon:e.downChevron,location:r.location||o.IZ.Ribbon})}(e,t)(r);case"AppIconPreviewGalleryProps":return function(e,t){return r=>r.renderAsFlyout?Ot(e,t)(Ut(r)):i.createElement(Zr,{...r,controlInMenuRendererFunction:t,downChevronIcon:e.downChevron,location:r.location||o.IZ.Ribbon})}(e,t)(r);case"AppSliderProps":return(e=>i.createElement(en.q,{...e,location:e.location||o.IZ.Ribbon}))(r);case"AppInputProps":return(e=>i.createElement(Hn,{...e,location:e.location||o.IZ.Ribbon}))(r);default:throw new Error("The following AppControlProps is not valid as a top level ribbon control"+r.type)}}));var zn=r(4920);function Un(e,t){return r=>i.createElement(kt.Fh,{...r,useLegacyButton:!0,hideLabel:!1,controlInMenuRendererFunction:t,downChevronIcon:(0,s.jI)()?e.submenuLauncherRtl:e.submenuLauncher,location:r.location})}function Vn(e,t,r){const n=(0,Et.s8)(e,t);switch(r.type){case"AppButtonProps":case"AppToggleButtonProps":return Gn(e,n)({...r});case"AppFlyoutAnchorProps":return Un(e,n)({...r,hideLabel:!1,useTargetAsMinWidth:!1,directionalHint:(0,s.jI)()?a.A.leftTopEdge:a.A.rightTopEdge,menuTriggerKeyCode:(0,s.jI)()?l.c.left:l.c.right});case"AppSplitButtonProps":return function(e,t){return r=>i.createElement(Tt,{...r,useLegacyButton:!0,controlInMenuRendererFunction:t,downChevronIcon:(0,s.jI)()?e.submenuLauncherRtl:e.submenuLauncher,location:r.location})}(e,n)({...r,useTargetAsMinWidth:!1,directionalHint:(0,s.jI)()?a.A.leftTopEdge:a.A.rightTopEdge,menuTriggerKeyCode:(0,s.jI)()?l.c.left:l.c.right});case"AppCompoundButtonProps":return i.createElement(Ft.M,{...(0,u.A)(r,(()=>{})),useLegacyButton:!0,keytipProps:(0,c.J)(r.keytipProps),shouldTakeFocus:void 0===r.shouldTakeFocus||r.shouldTakeFocus,lang:r.lang,enableFocusOnHover:!1});case"AppComboBoxProps":case"AppSpinButtonProps":case"AppCheckboxProps":case"AppFontPickerProps":return(0,zn.R)(r,(()=>{}),Number(0),Number(1),e);case"AppIconPreviewGalleryProps":case"RibbonTableStylesPreviewGalleryProps":case"AppIconPreviewGalleryProps":case"AppFontStylesPreviewGalleryProps":return Un(e,n)({...r,type:"AppFlyoutAnchorProps",styles:r.styles?r.styles.galleryButtonInExpanded:void 0,hideLabel:!1,icon:"blank",role:"option",label:r.menuLauncherLabel,menuDefinition:r.expandedOptions,onExecute:r.onMenuButtonExecute,directionalHint:(0,s.jI)()?a.A.leftTopEdge:a.A.rightTopEdge,menuTriggerKeyCode:(0,s.jI)()?l.c.left:l.c.right});default:throw new Error(`The control of type ${r.type} is not valid as a menu Item`)}}var jn=r(15600);class qn extends i.Component{componentDidMount(){if(null!=this.props.beginningOfTime&&void 0!==this.props.groupId){const e=window.performance.now()-this.props.beginningOfTime;jn.k.getInstance().logTellMeEvent("Latency",e,[{name:"UiElement",string:this.props.id},{name:"Provider",string:this.props.groupId},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()}])}}render(){try{return this.props.suggestionItemRenderFunction?this.props.suggestionItemRenderFunction(this.props.id,Vn,this.props.setSearchBoxSettings):null}catch(e){jn.k.getInstance().logTellMeEvent("Events",window.performance.now(),[{name:"Event",string:"RenderSuggestion"},{name:"Status",bool:!1},{name:"Message",string:`Error encountered while rendering: ${e}`},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()}])}return null}}var $n=r(16533);function Qn(e){return function(t,r,n){(function(e){const t=e;return t.__parameters||(t.__parameters=[])})(t).push({index:n,name:e})}}let Xn=class{createStream(e){return""!==e?this.rx.Observable.fromArray([{medias:[{inline:'<svg version="1.1" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Icons_WheelchairAccess" overflow="hidden"><path d=" M 78 10 L 18 10 C 13.5817 10 10 13.5817 10 18 L 10 78 C 10 82.4183 13.5817 86 18 86 L 78 86 C 82.4183 86 86 82.4183 86 78 L 86 18 C 86 13.5817 82.4183 10 78 10 Z M 41.76 21.81 C 44.5214 21.81 46.76 24.0486 46.76 26.81 C 46.76 29.5714 44.5214 31.81 41.76 31.81 C 38.9986 31.81 36.76 29.5714 36.76 26.81 C 36.76 24.0486 38.9986 21.81 41.76 21.81 Z M 44.56 74.17 C 35.265 74.17 27.73 66.635 27.73 57.34 C 27.73 57.3367 27.73 57.3333 27.73 57.33 C 27.7419 55.4265 28.0802 53.5392 28.73 51.75 L 30.28 56.93 C 30.28 57.07 30.28 57.2 30.28 57.33 C 30.2616 65.2442 36.6625 71.6749 44.5767 71.6932 C 50.9755 71.7081 56.6087 67.4788 58.38 61.33 L 60 64.14 C 57.3005 70.2517 51.2413 74.1878 44.56 74.17 Z M 67 66.4 C 66.6214 66.6135 66.1946 66.7271 65.76 66.73 C 64.86 66.7312 64.0282 66.2505 63.58 65.47 L 56.82 53.67 L 44.57 53.61 L 44.48 53.61 C 44.2035 53.6654 43.922 53.6922 43.64 53.69 C 41.3808 53.6881 39.4455 52.0725 39.04 49.85 L 37.4 40.85 L 33.87 42.91 L 36.33 51.07 C 36.7313 52.3911 35.9856 53.7874 34.6645 54.1886 C 34.663 54.1891 34.6615 54.1895 34.66 54.19 C 34.4264 54.2607 34.184 54.2977 33.94 54.3 C 32.8355 54.2993 31.8612 53.5768 31.54 52.52 L 28.54 42.47 C 28.2009 41.3612 28.6687 40.1647 29.67 39.58 L 39.67 33.74 C 39.8603 33.6279 40.0658 33.5437 40.28 33.49 C 40.6955 33.2974 41.1368 33.166 41.59 33.1 C 44.1402 32.7625 46.4832 34.551 46.83 37.1 L 48.3 48.3 C 48.3 48.41 48.3 48.52 48.3 48.63 L 58.3 48.63 C 59.1915 48.6312 60.0133 49.1128 60.45 49.89 L 67.94 63 C 68.616 64.1989 68.1958 65.7186 67 66.4 Z"/></svg>',file:"WheelchairAccess.svg"},{inline:'<svg version="1.1" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Icons_NewWheelchair" overflow="hidden"><circle cx="69" cy="16" r="8"/><path d=" M 53.27 80.76 C 44.4334 87.3874 31.8974 85.5966 25.27 76.76 C 19.9367 69.6489 19.9367 59.8711 25.27 52.76 L 22.42 49.91 C 14.1884 60.299 15.9373 75.394 26.3264 83.6256 C 35.0563 90.5426 47.398 90.5445 56.13 83.63 Z"/><path d=" M 77 45.24 C 76.2105 44.4355 75.1271 43.9877 74 44 L 56.58 44.56 L 66.46 31.87 C 67.8148 30.125 67.4985 27.6122 65.7535 26.2574 C 65.634 26.1646 65.5093 26.0787 65.38 26 L 43.9 12.83 C 42.3569 11.8861 40.3724 12.0952 39.06 13.34 L 28.06 23.77 C 26.4584 25.2915 26.3935 27.8234 27.915 29.425 C 29.4365 31.0266 31.9684 31.0915 33.57 29.57 L 42.32 21.25 L 49.77 25.82 L 37.05 41.33 C 32.6335 42.0679 28.5134 44.0326 25.16 47 L 28 49.84 C 36.5075 42.7952 49.1152 43.9809 56.16 52.4885 C 62.2877 59.8884 62.2877 70.6 56.16 78 L 59 80.85 C 65.9687 72.9318 66.9507 61.3918 61.42 52.41 L 69.75 52.14 L 68 74.26 C 67.8218 76.4619 69.4624 78.3914 71.6644 78.5695 C 71.6663 78.5697 71.6681 78.5698 71.67 78.57 L 72 78.57 C 74.09 78.5767 75.8328 76.9733 76 74.89 L 78.1 48.32 C 78.189 47.1835 77.7888 46.063 77 45.24 Z"/></svg>',file:"NewWheelchair.svg"},{inline:'<svg version="1.1" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Icons_UniversalAccess" overflow="hidden"><circle cx="14" cy="25" r="5"/><path d=" M 25.93 50.43 C 25.985 50.1359 25.985 49.8341 25.93 49.54 L 24.5 43.29 L 24 40.72 L 24 40.72 L 22.72 34.92 C 22.615 34.4754 22.3609 34.0801 22 33.8 C 20.8004 32.8632 19.4469 32.1424 18 31.67 C 15.3875 30.777 12.5525 30.777 9.94 31.67 C 8.51333 32.1467 7.18021 32.8674 6 33.8 C 5.654 34.0864 5.41447 34.4809 5.32 34.92 L 2.06 49.44 C 1.77511 50.5586 2.45093 51.6963 3.5695 51.9812 C 3.59621 51.988 3.62304 51.9943 3.65 52 C 3.76644 52.0102 3.88356 52.0102 4 52 C 4.95634 52.0223 5.79459 51.3643 6 50.43 L 9 37 L 9 44.1 L 6 59 L 9 59 L 9 76 L 13 76 L 13 59 L 15 59 L 15 76 L 19 76 L 19 59 L 22 59 L 19 44.11 L 19 37 L 22 50.43 C 22.2054 51.3643 23.0437 52.0223 24 52 C 24.9224 51.9681 25.711 51.3266 25.93 50.43 Z"/><circle cx="40" cy="25" r="5"/><path d=" M 50 40.72 L 50 40.78 L 48.7 34.92 C 48.6055 34.4809 48.366 34.0864 48.02 33.8 C 43.3183 30.1293 36.7217 30.1293 32.02 33.8 C 31.6697 34.0826 31.4291 34.4788 31.34 34.92 L 28.07 49.54 C 27.8436 50.6493 28.5593 51.7322 29.6686 51.9586 C 29.8007 51.9856 29.9352 51.9994 30.07 52 C 31.0002 51.9892 31.8001 51.3385 32 50.43 L 35 37 L 35 76 L 39 76 L 39 53 L 41 53 L 41 76 L 45 76 L 45 37 L 48.09 50.43 C 48.2882 51.3313 49.0774 51.98 50 52 L 50 52 C 50.9563 52.0223 51.7946 51.3643 52 50.43 Z"/><path d=" M 84.1 63.13 C 81.9092 70.735 73.9682 75.1241 66.3632 72.9333 C 60.2144 71.162 55.9851 65.5288 56 59.13 C 56 59 56 58.87 56 58.73 L 54.45 53.54 C 51.0093 62.1777 55.2223 71.9693 63.86 75.41 C 72.4977 78.8507 82.2893 74.6377 85.73 66 Z"/><path d=" M 93.72 64.81 L 86.24 51.76 C 85.7928 50.9896 84.9708 50.5138 84.08 50.51 L 74.08 50.51 C 74.09 50.4002 74.09 50.2898 74.08 50.18 L 72.63 39 C 72.2882 36.4525 69.9481 34.6628 67.4 35 C 66.9436 35.066 66.499 35.1974 66.08 35.39 C 65.8681 35.4464 65.6635 35.5269 65.47 35.63 L 55.47 41.48 C 54.4761 42.0662 54.0099 43.2544 54.34 44.36 L 57.34 54.41 C 57.6545 55.4672 58.627 56.1915 59.73 56.19 C 59.9735 56.1912 60.216 56.1575 60.45 56.09 C 61.7701 55.6858 62.5192 54.2946 62.13 52.97 L 59.67 44.81 L 63.2 42.75 L 64.83 51.75 C 65.2355 53.9725 67.1708 55.5881 69.43 55.59 C 69.7118 55.5881 69.9929 55.5614 70.27 55.51 L 70.36 55.51 L 82.61 55.57 L 89.38 67.37 C 89.8234 68.1504 90.6524 68.6318 91.55 68.63 C 92.9307 68.6327 94.0522 67.5157 94.0549 66.1349 C 94.0558 65.6944 93.9403 65.2615 93.72 64.88 Z"/><circle cx="67.54" cy="28.64" r="5"/></svg>',file:"UniversalAccess.svg"},{inline:'<svg version="1.1" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Icons_Deaf" overflow="hidden"><path d=" M 21.32 36.86 C 23.6416 22.1301 37.4645 12.0713 52.1944 14.3929 C 57.2416 15.1884 61.9596 17.3997 65.8 20.77 L 61.54 25 C 52.6767 17.5197 39.4276 18.6408 31.9473 27.5041 C 29.4705 30.4387 27.8458 33.9964 27.25 37.79 C 26.9932 39.4275 25.4575 40.5468 23.82 40.29 C 22.1825 40.0332 21.0632 38.4975 21.32 36.86 Z"/><path d=" M 35.44 37.92 C 36.9643 38.5648 38.7229 37.8533 39.37 36.33 C 41.5174 31.2417 47.383 28.8576 52.4713 31.005 C 53.1711 31.3003 53.8349 31.6744 54.45 32.12 L 58.73 27.84 C 51.8936 22.241 41.8128 23.2442 36.2138 30.0806 C 35.2421 31.267 34.446 32.587 33.85 34 C 33.2118 35.5216 33.9222 37.2729 35.44 37.92 Z"/><path d=" M 84.12 15.17 L 79.88 10.93 L 11.88 78.93 L 16.12 83.17 L 58.58 40.71 C 58.4586 43.3546 57.2934 45.8431 55.34 47.63 C 54.23 48.8601 54.3274 50.7571 55.5575 51.8671 C 56.6133 52.8197 58.1928 52.9003 59.34 52.06 C 62.6706 49.0285 64.5693 44.7337 64.57 40.23 C 64.5647 38.6037 64.3083 36.988 63.81 35.44 L 67 32.26 C 68.3046 35.0074 68.9875 38.0086 69 41.05 C 69 46.91 63.47 53.24 60.16 57.05 C 59.0624 58.1721 58.1023 59.4209 57.3 60.77 C 56.75 61.91 56.78 63.24 56.82 65.09 C 56.96 72.09 56.16 78.48 44.82 79.09 C 41.874 79.1457 38.9896 78.2439 36.6 76.52 C 35.2193 75.5922 33.3478 75.9593 32.42 77.34 C 31.4922 78.7207 31.8593 80.5922 33.24 81.52 C 36.4623 83.7979 40.2945 85.0555 44.24 85.13 L 45.12 85.13 C 63.18 84.13 62.89 70.27 62.78 65.03 C 62.78 64.45 62.78 63.69 62.78 63.28 C 63.13 62.8 63.97 61.84 64.65 61.05 C 68.54 56.55 75 49.16 75 41.05 C 75.0068 36.4008 73.8004 31.8302 71.5 27.79 Z"/></svg>',file:"Deaf.svg"},{inline:'<svg version="1.1" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Icons_Subtitles" overflow="hidden"><path d=" M 78.6 17 L 17.4 17 C 15.5112 17.011 13.989 18.5511 14 20.4399 C 14 20.4399 14 20.44 14 20.44 L 14 61.78 C 14.0089 63.5694 15.4666 65.0128 17.256 65.0039 C 17.304 65.0037 17.352 65.0024 17.4 65 L 54.8 65 L 68 79 L 68 65 L 78.6 65 C 80.3872 65.0884 81.9077 63.7112 81.9961 61.924 C 81.9985 61.876 81.9998 61.828 82 61.78 L 82 20.44 C 82.0111 18.5512 80.4889 17.0111 78.6001 17 C 78.6001 17 78.6 17 78.6 17 Z M 21 43 L 33 43 L 33 47 L 21 47 Z M 40 55 L 21 55 L 21 51 L 40 51 Z M 55 55 L 44 55 L 44 51 L 55 51 Z M 58 47 L 38 47 L 38 43 L 58 43 Z M 70 55 L 59 55 L 59 51 L 70 51 Z M 75 47 L 62 47 L 62 43 L 75 43 Z"/></svg>',file:"Subtitles.svg"},{inline:'<svg version="1.1" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Icons_Blind" overflow="hidden"><path d=" M 50.54 37.91 C 46.0782 36.4685 41.2926 38.917 39.8511 43.3789 C 39.5776 44.2256 39.4388 45.1101 39.44 46 C 39.4372 46.883 39.5756 47.7607 39.85 48.6 Z"/><path d=" M 26.73 61.72 L 31.12 57.33 C 26.126 54.5118 21.5319 51.0376 17.46 47 C 19.6428 44.5896 21.9812 42.3248 24.46 40.22 C 27.4808 37.6279 30.7812 35.3807 34.3 33.52 C 28.6182 39.7069 27.8447 48.9553 32.42 56 L 35.1 53.32 C 31.0581 46.2218 33.5357 37.191 40.6338 33.1491 C 45.1777 30.5617 50.75 30.5658 55.29 33.16 L 61.57 26.88 C 57.2916 24.9114 52.649 23.8589 47.94 23.79 C 31.39 23.79 17.28 38.17 11.94 44.44 C 10.568 46.06 10.6282 48.4511 12.08 50 C 16.4359 54.5238 21.3603 58.4634 26.73 61.72 Z"/><path d=" M 69.71 31.47 L 85.06 16.12 L 80.82 11.88 L 12.82 79.88 L 17.06 84.12 L 35.33 65.85 C 39.3633 67.3655 43.6315 68.1609 47.94 68.2 C 64.33 68.2 78.32 55.67 83.8 50 C 85.265 48.4647 85.351 46.0766 84 44.44 C 79.8064 39.5278 75.0044 35.1694 69.71 31.47 Z M 47.94 60.8 C 45.801 60.8042 43.6874 60.3364 41.75 59.43 L 46.75 54.43 C 47.1376 54.4856 47.5285 54.5157 47.92 54.52 C 52.6121 54.5145 56.4145 50.7121 56.42 46.02 C 56.4153 45.6285 56.3852 45.2377 56.33 44.85 L 61.33 39.85 C 64.7652 47.2547 61.5473 56.0422 54.1426 59.4775 C 52.1867 60.3848 50.0561 60.8533 47.9 60.85 Z M 60.78 59.3 C 66.8082 53.5087 68.1721 44.3804 64.1 37.08 L 65.4 35.78 C 70.1935 38.9704 74.5619 42.7575 78.4 47.05 C 74.71 50.63 68.39 56 60.78 59.3 Z"/></svg>',file:"Blind.svg"}],type:"icon"}]):this.rx.Observable.empty()}getId(){return"IconsProvider"}constructor(e){this.rx=e}};Xn=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],Xn);let Yn=class{createStream(e){return""!==e?new this.rx.Observable((t=>{const r="https://hubblecontent.osi.office-int.net/contentsvc/api/pivots?search="+e+"&top=7&filter=pivotNames/any(%20p:%20p%20eq%20%27Stock%20Images%27)";try{const e=[],n=new XMLHttpRequest;n.open("GET",r,!0),n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE){if(200===n.status){const r=JSON.parse(n.response)[0].Images;for(let t=0;t<r.length;t+=1)e[t]={small:r[t].ThumbnailInfo.Small.Path,actual:r[t].Path};t.onNext({medias:e,type:"image"})}t.onCompleted()}},n.onerror=function(){jn.k.getInstance().logTellMeEvent("Events",window.performance.now(),[{name:"Event",string:"ImageSearchAPI"},{name:"Provider",string:"ImagesProvider"},{name:"Message",string:"Network error on image search API call"},{name:"Status",bool:!1},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()}]),t.onCompleted()},n.send()}catch(e){jn.k.getInstance().logTellMeEvent("Events",window.performance.now(),[{name:"Event",string:"ImageSearchAPI"},{name:"Provider",string:"ImagesProvider"},{name:"Message",string:"Image search failed with error: "+e.toString()},{name:"Status",bool:!1},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()}]),t.onCompleted()}})):this.rx.Observable.empty()}getId(){return"ImagesProvider"}constructor(e){this.rx=e}};Yn=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],Yn);const Jn={height:"46px",width:"46px",margin:"10px"},Zn={margin:"3px",maxWidth:"90px",height:"60px"},eo={height:"100%",width:"100%"},to={display:"flex",listStyle:"none",overflow:"hidden",flexWrap:"wrap",marginLeft:"9px",marginRight:"10px",alignItems:"center",justifyContent:"space-evenly"},ro={display:"flex",marginLeft:"auto",alignItems:"center",justifyContent:"center",marginRight:"12px"},no={display:"flex",height:"65px"},oo=i.createElement("svg",{width:"16",height:"16",viewBox:"0,0,2048,2048"},i.createElement("path",{fill:"currentColor",d:"M 192 768 q 40 0 75 15 q 35 15 61 41 q 26 26 41 61 q 15 35 15 75 q 0 40 -15 75 q -15 35 -41 61 q -26 26 -61 41 q -35 15 -75 15 q -40 0 -75 -15 q -35 -15 -61 -41 q -26 -26 -41 -61 q -15 -35 -15 -75 q 0 -40 15 -75 q 15 -35 41 -61 q 26 -26 61 -41 q 35 -15 75 -15 m 768 0 q 40 0 75 15 q 35 15 61 41 q 26 26 41 61 q 15 35 15 75 q 0 40 -15 75 q -15 35 -41 61 q -26 26 -61 41 q -35 15 -75 15 q -40 0 -75 -15 q -35 -15 -61 -41 q -26 -26 -41 -61 q -15 -35 -15 -75 q 0 -40 15 -75 q 15 -35 41 -61 q 26 -26 61 -41 q 35 -15 75 -15 m 768 0 q 40 0 75 15 q 35 15 61 41 q 26 26 41 61 q 15 35 15 75 q 0 40 -15 75 q -15 35 -41 61 q -26 26 -61 41 q -35 15 -75 15 q -40 0 -75 -15 q -35 -15 -61 -41 q -26 -26 -41 -61 q -15 -35 -15 -75 q 0 -40 15 -75 q 15 -35 41 -61 q 26 -26 61 -41 q 35 -15 75 -15"}));class io extends i.Component{render(){const e=[];let t=0;if(this.props.medias){const r=()=>{const e=jn.k.getInstance().getLaunchIconDialogCallback();e&&e()},n=()=>{const e=jn.k.getInstance().getLaunchImageDialogCallback();e&&e()},o="icon"===this.props.type?r:n;return this.props.medias.forEach((r=>{e.push(i.createElement("div",{key:"media-"+t,style:"icon"===this.props.type?Jn:Zn},function(e,t){if("icon"===t){const t=()=>{const t={Action:"Insert",Type:"Svg",OriginalUrl:"https://cdn.hubblecontent.osi.office.net/firstpartycontent/internal/icons/"+e.file.toLowerCase(),SvgContent:e.inline},r=jn.k.getInstance().getInsertIconCallback();r&&r(t)};return i.createElement("img",{onClick:t,src:"https://cdn.hubblecontent.osi.office.net/firstpartycontent/internal/icons/"+e.file.toLowerCase()})}if("image"===t){const t=()=>{const t={Action:"Insert",Type:"Image",OriginalUrl:"https://cdn.hubblecontent.osi.office.net/"+e.actual},r=jn.k.getInstance().getInsertImageCallback();r&&r(t)};return i.createElement("img",{onClick:t,src:"https://cdn.hubblecontent.osi.office.net/"+e.small,style:eo})}}(r,this.props.type||""))),t+=1})),i.createElement("div",{style:no,"data-nav":!0,tabIndex:-1},i.createElement("div",{style:to},e),i.createElement("div",{style:ro,onClick:o,"data-nav":!0,tabIndex:-1},oo))}return null}}const ao="recentlyUsed",so="tryCommand",lo="command",uo="docFind",co="contentArea",po="help",ho="answer",go="definition",mo="entity";function fo(e){return(t,r,n)=>{(jn.k.IsVanillaSearchBoxEnabled||n)&&(e&&e.alwaysActive(t),r&&!t&&e&&e.deactivate())}}let vo=class{createStream(e){return""===e?Ro.getInstance().getObservableForSearch(this.rx,e,ao,fo(this.searchBox)):this.rx.Observable.empty()}getId(){return ao}constructor(e,t){this.rx=e,this.searchBox=t}};vo=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs")),(0,$n.__param)(1,Qn("searchBox"))],vo);let bo=class{createStream(e){return""===e?Ro.getInstance().getObservableForSearch(this.rx,e,so,fo(this.searchBox),!0):this.rx.Observable.empty()}getId(){return so}constructor(e,t){this.rx=e,this.searchBox=t}};bo=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs")),(0,$n.__param)(1,Qn("searchBox"))],bo);let yo=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,lo,fo(this.searchBox)):this.rx.Observable.empty()}getId(){return lo}constructor(e,t){this.rx=e,this.searchBox=t}};yo=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs")),(0,$n.__param)(1,Qn("searchBox"))],yo);let So=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,uo,void 0):this.rx.Observable.empty()}getId(){return uo}constructor(e){this.rx=e}};So=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],So);let Co=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,po,void 0,!0):this.rx.Observable.empty()}getId(){return po}constructor(e){this.rx=e}};Co=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],Co);let To=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,co,void 0):this.rx.Observable.empty()}getId(){return co}constructor(e){this.rx=e}};To=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],To);let ko=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,ho,void 0):this.rx.Observable.empty()}getId(){return ho}constructor(e){this.rx=e}};ko=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],ko);let Fo=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,go,void 0):this.rx.Observable.empty()}getId(){return go}constructor(e){this.rx=e}};Fo=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],Fo);let Eo=class{createStream(e){return""!==e?Ro.getInstance().getObservableForSearch(this.rx,e,mo,void 0):this.rx.Observable.empty()}getId(){return mo}constructor(e){this.rx=e}};Eo=(0,$n.__decorate)([(0,$n.__param)(0,Qn("rxjs"))],Eo);var Ao=r(19886);const Io={groupId:"app",createUpdater:()=>({providers:()=>[],optimalCount:()=>0})},xo={groupId:"person",createUpdater:()=>({position:()=>9,optimalCount:()=>3,component:e=>t=>((0,Ao.l_)(t.displayText,t.groupId,t.entityType,-1),i.createElement(e,Object.assign({},{...t},{onClick(e){e.preventDefault(),window.LPC&&window.LPC.openCard&&(jn.k.getInstance().logTellMeEvent("Click",window.performance.now(),[{name:"Event",string:"Click"},{name:"GroupType",string:t.groupId},{name:"GroupIndex",int64:-1},{name:"UiElement",string:(0,Ao.MO)(t.displayText)},{name:"Source",string:t.entityType},{name:"ActionType",string:t.entityType},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()}]),window.LPC.openCard(document.body,{personaInfo:{identifiers:{PersonaType:"User",AadObjectId:t.id.split("@")[0]}},behavior:{locationToOpen:"ExpandedView",disableHover:!0}}))}})))})},wo={groupId:"file",createUpdater:()=>({position:()=>8,optimalCount:()=>3,component:e=>t=>((0,Ao.l_)(t.displayText,t.groupId,t.entityType,-1),i.createElement(e,Object.assign({},{...t},{onClick(e){jn.k.getInstance().logTellMeEvent("Click",window.performance.now(),[{name:"Event",string:"Click"},{name:"GroupType",string:t.groupId},{name:"GroupIndex",int64:-1},{name:"UiElement",string:(0,Ao.MO)(t.displayText)},{name:"Source",string:t.entityType},{name:"ActionType",string:t.entityType},{name:"Val",string:t.fileExtension},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()}]),t.onClick&&t.onClick(e)}})))})},Po=[{groupId:so,create:()=>({position:2,optimalCount:3,providers:[bo],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.TryCommandsTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.TryCommandsTitle)})},{groupId:ao,create:()=>({position:1,optimalCount:3,providers:[vo],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.RecentlyUsedTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.RecentlyUsedTitle)})},{groupId:po,create:()=>({position:6,optimalCount:2,providers:[Co],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.HelpTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.HelpTitle)})},{groupId:go,create:()=>({position:5,optimalCount:1,providers:[Fo],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.DefinitionTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.DefinitionTitle)})},{groupId:mo,create:()=>({position:4,optimalCount:1,providers:[Eo],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.AnswerTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.AnswerTitle)})},{groupId:ho,create:()=>({position:3,optimalCount:1,providers:[ko],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.AnswerTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.AnswerTitle)})},{groupId:uo,create:()=>({position:2,optimalCount:1,providers:[So],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.FindInDocTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.FindInDocTitle)})},{groupId:lo,create:()=>({position:1,optimalCount:4,providers:[yo],component:qn,heading:TellmeStringsManager.get(TellmeStringsEnum.ClassifierTitle),ariaLabel:TellmeStringsManager.get(TellmeStringsEnum.ClassifierTitle)})}];class Ro{static getInstance(){return Ro._instance||(Ro._instance=new Ro),Ro._instance}issueQuery(e){this._invokeIssueQuery&&((0,Ao.kK)(),this._invokeIssueQuery(e,o.IZ.Header))}setIssueQueryAction(e){this._invokeIssueQuery=e}setResultItemRenderFunction(e){this._suggestionItemRenderFunction=e}getTellMeProviderConfig(){return jn.k.getInstance().getIsIconSearchFromTellMeEnabled()&&Po.push({groupId:"icons",create:()=>({position:2,optimalCount:1,providers:[Xn],component:io,heading:"Icons",ariaLabel:"Icons"})}),jn.k.getInstance().getIsImageSearchFromTellMeEnabled()&&Po.push({groupId:"images",create:()=>({position:2,optimalCount:1,providers:[Yn],component:io,heading:"Images",ariaLabel:"Images"})}),[{id:"office-tellme"},{id:"tellme-results-view",groupCreators:Po,groupUpdaters:[Io,xo,wo]}]}static cleanUp(){Ro.getInstance().resetState()}resetState(){this.disposeSubscribers(),this.completeObservers(),this._currentQuery="<>"}disposeSubscribers(){this._currentSubscriptions.forEach((e=>{e.dispose()})),this._currentSubscriptions.splice(0)}cleanupObserver(e){this.observerMap.get(e)?.onCompleted(),this.observerMap.delete(e)}completeObservers(){this.observerMap.forEach((e=>{e.onCompleted()})),this.observerMap.clear()}getMenuSectionFromId(e,t){if(e&&e.menu&&e.menu.sections)for(const r of e.menu.sections)if(r.id===t)return r}getObservableForSearch(e,t,r,n,o=!1){const i=window.performance.now();this._menuResultsObserver&&!this._menuResultsObserver.isDisposed||(this._menuResultsObserver=new e.Subject),this._currentQuery!==t&&(this._currentQuery=t,this.completeObservers());const a=window.performance.now(),s=new e.Observable((e=>{if(this._menuResultsObserver&&this._suggestionItemRenderFunction){const i=this._menuResultsObserver.subscribe((o=>{const s=this.getMenuSectionFromId(o,r);s&&t===o.query&&(s.controlIds.forEach((r=>{e.onNext({id:r,beginningOfTime:a,suggestionItemRenderFunction:this._suggestionItemRenderFunction,displayText:"",searchText:t,url:"",setSearchBoxSettings:n})})),o.isResultsComputationComplete&&o.query===this._currentQuery&&this.cleanupObserver(r)),this._currentSubscriptions.push(i)}));o&&this._invokeIssueQuery&&(this.disposeSubscribers(),this.issueQuery(t)),this.observerMap.set(r,e)}}));return jn.k.getInstance().logTellMeEvent("Events",window.performance.now()-i,[{name:"Event",string:"GetObservable"},{name:"CorrelationID",string:jn.k.getInstance().getCorrelationId()},{name:"Message",string:"GroupId:"+r+" QueryLength: "+t.length}]),s}constructor(){this._currentSubscriptions=[],this._currentQuery="<>",this.observerMap=new Map,this.updateTellMeProviders=e=>{(0,n.z)((()=>{e&&this._menuResultsObserver&&this._menuResultsObserver.onNext(e)}))}}}},15600:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});var n=r(75887),o=r(19886);class i{static getInstance(){return i._instance||(i._instance=new i),i._instance}onMenuClose(){this._onMenuClose&&((0,o.bo)(),this._onMenuClose())}getCorrelationId(){return void 0===this._correlationId?"":this._correlationId()}initShim(e,t,n,o,i,a,s,l,u){this._shimInitialized||(this._onInsertIconCallback=n,this._onInsertImageCallback=o,this._onLaunchIconDialogCallback=i,this._onLaunchImageDialogCallback=a,this._isIconSearchFromTellMeEnabled=s,this._isImageSearchFromTellMeEnabled=l,this._correlationId=u,Promise.resolve().then(r.bind(r,97899)).then((r=>{const n=r.QueryResponseManager.getInstance();this._updateTellMeProviders=n.updateTellMeProviders,this._onMenuClose=r.QueryResponseManager.cleanUp,n.setIssueQueryAction(e),n.setResultItemRenderFunction(t);const o=window.O365Shell,i=o?o.Search:void 0;i&&(i.SetProviderConfigUpdaters(n.getTellMeProviderConfig()),this.logTellMeEvent("Events",window.performance.now(),[{name:"Event",string:"ProvidersLoaded"}]))})),this._shimInitialized=!0)}getInsertIconCallback(){return this._onInsertIconCallback}getInsertImageCallback(){return this._onInsertImageCallback}getLaunchIconDialogCallback(){return this._onLaunchIconDialogCallback}getLaunchImageDialogCallback(){return this._onLaunchImageDialogCallback}getIsIconSearchFromTellMeEnabled(){return this._isIconSearchFromTellMeEnabled}getIsImageSearchFromTellMeEnabled(){return this._isImageSearchFromTellMeEnabled}logTellMeEvent(e,t,r){(0,n.IA)({name:"Office.TellMe.TellMeWAC."+e,durationMs:t,dataFields:r})}constructor(){this._shimInitialized=!1,this.updateTellMeProviders=e=>{if(this._updateTellMeProviders)return this._updateTellMeProviders(e)}}}i.IsVanillaSearchBoxEnabled=!1},19886:(e,t,r)=>{"use strict";r.d(t,{MO:()=>i,bo:()=>u,kK:()=>s,l_:()=>l});var n=r(15600);let o={};function i(e){let t=0;if(0===e.length)return t;for(let r=0;r<e.length;r+=1)t=(t<<7)-t+e.charCodeAt(r),t&=t;return t}function a(e){if(0===e.length)return"";let t="{";return t+=e.toString(),t+="}",t}function s(){o={}}function l(e,t,r,n=-1){const a=i(e);void 0===o[t]&&(o[t]={index:n,groupType:t,resultType:r,suggestionsHash:[a]});const s=o[t];-1===s.suggestionsHash.indexOf(a)&&s.suggestionsHash.push(a)}function u(){for(const e in o){const t=o[e];n.k.getInstance().logTellMeEvent("RenderedResults",window.performance.now(),[{name:"Event",string:"RenderedResults"},{name:"GroupIndex",int64:t.index},{name:"GroupType",string:t.groupType},{name:"ResultType",string:t.resultType},{name:"ResultsList",string:a(t.suggestionsHash)},{name:"CorrelationID",string:n.k.getInstance().getCorrelationId()}])}s()}},53273:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});const n=()=>{throw new Error("Call registerUxSettings before using them.")}},13818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iconDataToReactElement=function(e){switch(e.type){case"svg":return n.createElement("svg",{...i(e),focusable:"false"},e.children.map(o));case"png":return n.createElement("img",{width:"100%",height:"100%",src:`data:image/png;base64,${e.base64String}`})}};const n=r(16533).__importStar(r(10477));function o(e,t){switch(e.type){case"path":return n.createElement("path",{key:t,...e});case"circle":return n.createElement("circle",{key:t,...e});case"rect":return n.createElement("rect",{key:t,...e});case"line":return n.createElement("line",{key:t,...e})}}function i(e){const t={height:"100%",width:"100%"};return Object.keys(e).forEach((r=>{switch(r){case"viewBox":case"className":t[r]=e[r]}})),t}},13521:(e,t,r)=>{"use strict";t.t=function(e){const t={};return e.icons.forEach((e=>t[e.id]=(0,n.iconDataToReactElement)(e))),t};const n=r(13818)},60835:(e,t)=>{"use strict";t.NP=t.pr=t.AC=void 0,t.AC={DragCopy:"DragCopy",DragFill:"DragFill",DragRecoveryUIToolTip:"DragRecoveryUIToolTip",MoreTabs:"MoreTabs",RibbonLabel:"RibbonLabel",RibbonTabsGroupLabel:"RibbonTabsGroupLabel",SplitButtonRoleDescription:"SplitButtonRoleDescription",SpinnerDecrementButtonAriaLabel:"SpinnerDecrementButtonAriaLabel",SpinnerIncrementButtonAriaLabel:"SpinnerIncrementButtonAriaLabel",ClipboardGroupTitle:"ClipboardGroupTitle",ClipboardGroupOverflowLabel:"ClipboardGroupOverflowLabel",MLRClipboardGroupKeyTip:"MLRClipboardGroupKeyTip",ClipboardKeyTip:"ClipboardKeyTip",FontGroupTitle:"FontGroupTitle",FontGroupOverflowLabel:"FontGroupOverflowLabel",MLRFontGroupKeyTip:"MLRFontGroupKeyTip",AdditionalControls:"AdditionalControls",AlignmentGroupTitle:"AlignmentGroupTitle",AlignmentGroupOverflowLabel:"AlignmentGroupOverflowLabel",ArithmeticOperatorCalloutTitle:"ArithmeticOperatorCalloutTitle",ArithmeticOperatorCalloutDescription:"ArithmeticOperatorCalloutDescription",MLRAlignmentGroupKeyTip:"MLRAlignmentGroupKeyTip",NumberGroupTitle:"NumberGroupTitle",NumberGroupOverflowLabel:"NumberGroupOverflowLabel",MLRNumberGroupKeyTip:"MLRNumberGroupKeyTip",StylesGroupTitle:"StylesGroupTitle",StylesGroupOverflowLabel:"StylesGroupOverflowLabel",CellsGroupTitle:"CellsGroupTitle",CellsGroupOverflowLabel:"CellsGroupOverflowLabel",MLRCellsGroupKeyTip:"MLRCellsGroupKeyTip",AlignLeft:"AlignLeft",AlignLeftToolTip:"AlignLeftToolTip",AlignLeftKeyTip:"AlignLeftKeyTip",AlignCenter:"AlignCenter",AlignCenterToolTip:"AlignCenterToolTip",AlignCenterKeyTip:"AlignCenterKeyTip",AlignRight:"AlignRight",AlignRightToolTip:"AlignRightToolTip",AlignRightKeyTip:"AlignRightKeyTip",AlignTop:"AlignTop",AlignTopToolTip:"AlignTopToolTip",AlignTopKeyTip:"AlignTopKeyTip",AlignMiddle:"AlignMiddle",AlignMiddleToolTip:"AlignMiddleToolTip",AlignMiddleKeyTip:"AlignMiddleKeyTip",AlignBottom:"AlignBottom",AlignBottomToolTip:"AlignBottomToolTip",AlignBottomKeyTip:"AlignBottomKeyTip",AlignKeyTip:"AlignKeyTip",Orientation:"Orientation",OrientationToolTip:"OrientationToolTip",OrientationKeyTip:"OrientationKeyTip",RotateTextUp45:"RotateTextUp45",RotateTextUp45KeyTip:"RotateTextUp45KeyTip",RotateTextDown45:"RotateTextDown45",RotateTextDown45KeyTip:"RotateTextDown45KeyTip",VerticalText:"VerticalText",VerticalTextKeyTip:"VerticalTextKeyTip",RotateTextUp90:"RotateTextUp90",RotateTextUp90KeyTip:"RotateTextUp90KeyTip",RotateTextDown90:"RotateTextDown90",RotateTextDown90KeyTip:"RotateTextDown90KeyTip",FormattingGroupTitle:"FormattingGroupTitle",FormattingGroupOverflowLabel:"FormattingGroupOverflowLabel",EditingGroupTitle:"EditingGroupTitle",EditingGroupOverflowLabel:"EditingGroupOverflowLabel",MLREditingGroupKeyTip:"MLREditingGroupKeyTip",InsertGroupTitle:"InsertGroupTitle",ShareGroupTitle:"ShareGroupTitle",DataGroupTitle:"DataGroupTitle",DataGroupOverflowLabel:"DataGroupOverflowLabel",SortGroupTitle:"SortGroupTitle",SortGroupOverflowLabel:"SortGroupOverflowLabel",DataValidationGroupTitle:"DataValidationGroupTitle",DataValidationOverflowLabel:"DataValidationOverflowLabel",DataValidationInputBoxPlaceholder:"DataValidationInputBoxPlaceholder",DataValidationNumberPlaceholder:"DataValidationNumberPlaceholder",DataValidationSelectACellPlaceholder:"DataValidationSelectACellPlaceholder",DataValidationCustomPlaceholder:"DataValidationCustomPlaceholder",DataValidationDatePlaceholder:"DataValidationDatePlaceholder",DataValidationTimePlaceholder:"DataValidationTimePlaceholder",DataValidationSettings:"DataValidationSettings",DataValidationInputMessage:"DataValidationInputMessage",DataValidationShowAlert:"DataValidationShowAlert",DataValidationErrorAlert:"DataValidationErrorAlert",DataValidationRuleType:"DataValidationRuleType",DataValidationIgnoreBlank:"DataValidationIgnoreBlank",DataValidationCellDropdown:"DataValidationCellDropdown",DataValidationListDataTypeHint:"DataValidationListDataTypeHint",DataValidationShowError:"DataValidationShowError",DataValidationAlertTitle:"DataValidationAlertTitle",DataValidationAlertMessage:"DataValidationAlertMessage",DataValidationTitle:"DataValidationTitle",DataValidationMessage:"DataValidationMessage",DataValidationShowMessage:"DataValidationShowMessage",DataValidationWarningType:"DataValidationWarningType",DataValidationBlockingLabel:"DataValidationBlockingLabel",DataValidationTypeString:"DataValidationTypeString",DataValidationOperatorType:"DataValidationOperatorType",DataValidationMinimumOperatorLabel:"DataValidationMinimumOperatorLabel",DataValidationMaximumOperatorLabel:"DataValidationMaximumOperatorLabel",DataValidationValueOperatorLabel:"DataValidationValueOperatorLabel",DataValidationSourceOperatorLabel:"DataValidationSourceOperatorLabel",DataValidationItemsOperatorLabel:"DataValidationItemsOperatorLabel",DataValidationFormulaOperatorLabel:"DataValidationFormulaOperatorLabel",DataValidationStartDateOperatorLabel:"DataValidationStartDateOperatorLabel",DataValidationEndDateOperatorLabel:"DataValidationEndDateOperatorLabel",DataValidationDateOperatorLabel:"DataValidationDateOperatorLabel",DataValidationStartTimeOperatorLabel:"DataValidationStartTimeOperatorLabel",DataValidationEndTimeOperatorLabel:"DataValidationEndTimeOperatorLabel",DataValidationLengthLabel:"DataValidationLengthLabel",DataValidationTimeOperatorLabel:"DataValidationTimeOperatorLabel",DataValidationAnyValueRuleType:"DataValidationAnyValueRuleType",DataValidationWholeNumberRuleType:"DataValidationWholeNumberRuleType",DataValidationDecimalRuleType:"DataValidationDecimalRuleType",DataValidationListRuleType:"DataValidationListRuleType",DataValidationListDropdownRuleType:"DataValidationListDropdownRuleType",DataValidationTextLengthRuleType:"DataValidationTextLengthRuleType",DataValidationCustomRuleType:"DataValidationCustomRuleType",DataValidationBetweenOperatorLabel:"DataValidationBetweenOperatorLabel",DataValidationNotBetweenOperatorLabel:"DataValidationNotBetweenOperatorLabel",DataValidationEqualsOperatorLabel:"DataValidationEqualsOperatorLabel",DataValidationNotEqualsOperatorLabel:"DataValidationNotEqualsOperatorLabel",DataValidationGreaterThanOperatorLabel:"DataValidationGreaterThanOperatorLabel",DataValidationLessThanOperatorLabel:"DataValidationLessThanOperatorLabel",DataValidationGreaterThanOrEqualOperatorLabel:"DataValidationGreaterThanOrEqualOperatorLabel",DataValidationLessThanOrEqualOperatorLabel:"DataValidationLessThanOrEqualOperatorLabel",AccessibilityGroupTitle:"AccessibilityGroupTitle",AccessibilityHelpKeyTip:"AccessibilityHelpKeyTip",SizeGroupTitle:"SizeGroupTitle",CommentGroupTitle:"CommentGroupTitle",CommentGroupOverflowLabel:"CommentGroupOverflowLabel",ViewGroupTitle:"ViewGroupTitle",ShowGroupTitle:"ShowGroupTitle",ViewGroupOverflowLabel:"ViewGroupOverflowLabel",AutoFilterGroupTitle:"AutoFilterGroupTitle",AutoFilterOverflowLabel:"AutoFilterOverflowLabel",CreateAndManageForms:"CreateAndManageForms",ChartDataGroupTitle:"ChartDataGroupTitle",ChartAxesGroupTitle:"ChartAxesGroupTitle",ChartLabelsGroupTitle:"ChartLabelsGroupTitle",ChartTaskpaneGroupTitle:"ChartTaskpaneGroupTitle",LinkedEntityDataTypesGroupTitle:"LinkedEntityDataTypesGroupTitle",ChangeChartTypeGroupTitle:"ChangeChartTypeGroupTitle",ChangePhoneticHiragana:"ChangePhoneticHiragana",ChangePhoneticHiraganaKeyTip:"ChangePhoneticHiraganaKeyTip",ChangePhoneticKatakanaHalf:"ChangePhoneticKatakanaHalf",ChangePhoneticKatakanaHalfKeyTip:"ChangePhoneticKatakanaHalfKeyTip",ChangePhoneticKatakanaFull:"ChangePhoneticKatakanaFull",ChangePhoneticKatakanaFullKeyTip:"ChangePhoneticKatakanaFullKeyTip",EditShapesGroupTitle:"EditShapesGroupTitle",ShapeStylesGroupTitle:"ShapeStylesGroupTitle",ShapeStylesGroupOverflowLabel:"ShapeStylesGroupOverflowLabel",ArrangeGroupTitle:"ArrangeGroupTitle",SendBackward:"SendBackward",SendBackwardKeyTip:"SendBackwardKeyTip",ArrangeSendToBack:"ArrangeSendToBack",ArrangeSendToBackKeyTip:"ArrangeSendToBackKeyTip",ArrangeSendBackward:"ArrangeSendBackward",ArrangeSendBackwardKeyTip:"ArrangeSendBackwardKeyTip",BringForward:"BringForward",BringForwardKeyTip:"BringForwardKeyTip",ArrangeBringToFront:"ArrangeBringToFront",ArrangeBringToFrontKeyTip:"ArrangeBringToFrontKeyTip",ArrangeBringForward:"ArrangeBringForward",ArrangeBringForwardKeyTip:"ArrangeBringForwardKeyTip",AlternativeText:"AlternativeText",AlternativeTextKeytip:"AlternativeTextKeytip",CropPicture:"CropPicture",CropPictureKeytip:"CropPictureKeytip",HomeTabTitle:"HomeTabTitle",ShareTabTitle:"ShareTabTitle",InsertTabTitle:"InsertTabTitle",DataTabTitle:"DataTabTitle",ReviewTabTitle:"ReviewTabTitle",ViewTabTitle:"ViewTabTitle",HelpTabTitle:"HelpTabTitle",HelpGroupOverflowLabel:"HelpGroupOverflowLabel",ChartTabTitle:"ChartTabTitle",PageLayoutTabTitle:"PageLayoutTabTitle",FormulasTabTitle:"FormulasTabTitle",DeveloperTabTitle:"DeveloperTabTitle",AddinsTabTitle:"AddinsTabTitle",DrawingTabTitle:"DrawingTabTitle",FileMenuLabel:"FileMenuLabel",Undo:"Undo",UndoKeyTip:"UndoKeyTip",Redo:"Redo",RedoKeyTip:"RedoKeyTip",Paste:"Paste",PasteKeyTip:"PasteKeyTip",PasteRecoveryUIExpansionKey:"PasteRecoveryUIExpansionKey",PasteRecoveryUIPasteExpansionWindowsKey:"PasteRecoveryUIPasteExpansionWindowsKey",PasteRecoveryUIPasteValuesExpansionWindowsKey:"PasteRecoveryUIPasteValuesExpansionWindowsKey",PasteRecoveryUIPasteExpansionMacKey:"PasteRecoveryUIPasteExpansionMacKey",PasteRecoveryUIPasteValuesExpansionMacKey:"PasteRecoveryUIPasteValuesExpansionMacKey",PasteRecoveryUIToolTip:"PasteRecoveryUIToolTip",Copy:"Copy",CopyKeyTip:"CopyKeyTip",CopyHyperlink:"CopyHyperlink",CopyLinkKeyTip:"CopyLinkKeyTip",CopyLinkMenuButtonKeytip:"CopyLinkMenuButtonKeytip",EmailLink:"EmailLink",EmailLinkKeytip:"EmailLinkKeytip",ManageAccess:"ManageAccess",ManageAccessKeytip:"ManageAccessKeytip",Cut:"Cut",CutKeyTip:"CutKeyTip",FormatPainter:"FormatPainter",FormatPainterKeyTip:"FormatPainterKeyTip",FontName:"FontName",FontNameKeyTip:"FontNameKeyTip",FontNameToolTip:"FontNameToolTip",FontSize:"FontSize",FontSizeKeyTip:"FontSizeKeyTip",FontSizeToolTip:"FontSizeToolTip",BlankWorkbook:"BlankWorkbook",Bold:"Bold",BoldToolTip:"BoldToolTip",BoldKeyTip:"BoldKeyTip",Italic:"Italic",ItalicKeyTip:"ItalicKeyTip",Underline:"Underline",UnderlineKeyTip:"UnderlineKeyTip",Strikethrough:"Strikethrough",StrikethroughKeyTip:"StrikethroughKeyTip",DoubleUnderline:"DoubleUnderline",DoubleUnderlineKeyTip:"DoubleUnderlineKeyTip",FontColor:"FontColor",FontColorFullDesc:"FontColorFullDesc",FontColorKeyTip:"FontColorKeyTip",ShowHidePhonetic:"ShowHidePhonetic",ShowHidePhoneticKeyTip:"ShowHidePhoneticKeyTip",Merge:"Merge",MLRMerge:"MLRMerge",MergeKeyTip:"MergeKeyTip",MergeAndCenter:"MergeAndCenter",MergeAndCenterKeyTip:"MergeAndCenterKeyTip",MergeAcross:"MergeAcross",MergeAcrossKeyTip:"MergeAcrossKeyTip",MergeCells:"MergeCells",MergeCellsKeyTip:"MergeCellsKeyTip",UnmergeCells:"UnmergeCells",UnmergeCellsKeyTip:"UnmergeCellsKeyTip",CenterAcrossSelection:"CenterAcrossSelection",CenterAcrossSelectionKeyTip:"CenterAcrossSelectionKeyTip",NumberFormat:"NumberFormat",NumberFormatKeyTip:"NumberFormatKeyTip",ShowNumberFormatGroupKeyTip:"ShowNumberFormatGroupKeyTip",ConditionalFormattingShort:"ConditionalFormattingShort",ConditionalFormatting:"ConditionalFormatting",ConditionalFormattingKeyTip:"ConditionalFormattingKeyTip",ConditionalFormattingHighlightCellRules:"ConditionalFormattingHighlightCellRules",ConditionalFormattingHighlightCellRulesKeyTip:"ConditionalFormattingHighlightCellRulesKeyTip",ConditionalFormattingTopBottomRules:"ConditionalFormattingTopBottomRules",ConditionalFormattingTopBottomRulesKeyTip:"ConditionalFormattingTopBottomRulesKeyTip",ConditionalFormattingDataBars:"ConditionalFormattingDataBars",ConditionalFormattingDataBarsKeyTip:"ConditionalFormattingDataBarsKeyTip",ConditionalFormattingColorScales:"ConditionalFormattingColorScales",ConditionalFormattingColorScalesKeyTip:"ConditionalFormattingColorScalesKeyTip",ConditionalFormattingIconSets:"ConditionalFormattingIconSets",ConditionalFormattingIconSetsKeyTip:"ConditionalFormattingIconSetsKeyTip",ConditionalFormattingClearRules:"ConditionalFormattingClearRules",ConditionalFormattingClearRulesKeyTip:"ConditionalFormattingClearRulesKeyTip",ConditionalFormattingManageRules:"ConditionalFormattingManageRules",ConditionalFormattingManageRulesKeyTip:"ConditionalFormattingManageRulesKeyTip",ConditionalFormattingNewRule:"ConditionalFormattingNewRule",ConditionalFormattingNewRuleKeyTip:"ConditionalFormattingNewRuleKeyTip",ConditionalFormattingHighlightCellGreaterThan:"ConditionalFormattingHighlightCellGreaterThan",ConditionalFormattingHighlightCellGreaterThanKeyTip:"ConditionalFormattingHighlightCellGreaterThanKeyTip",ConditionalFormattingHighlightCellLessThan:"ConditionalFormattingHighlightCellLessThan",ConditionalFormattingHighlightCellLessThanKeyTip:"ConditionalFormattingHighlightCellLessThanKeyTip",ConditionalFormattingHighlightCellBetween:"ConditionalFormattingHighlightCellBetween",ConditionalFormattingHighlightCellBetweenKeyTip:"ConditionalFormattingHighlightCellBetweenKeyTip",ConditionalFormattingHighlightCellEqualTo:"ConditionalFormattingHighlightCellEqualTo",ConditionalFormattingHighlightCellEqualToKeyTip:"ConditionalFormattingHighlightCellEqualToKeyTip",ConditionalFormattingHighlightCellTextContains:"ConditionalFormattingHighlightCellTextContains",ConditionalFormattingHighlightCellTextContainsKeyTip:"ConditionalFormattingHighlightCellTextContainsKeyTip",ConditionalFormattingHighlightCellDateOccuring:"ConditionalFormattingHighlightCellDateOccuring",ConditionalFormattingHighlightCellDateOccuringKeyTip:"ConditionalFormattingHighlightCellDateOccuringKeyTip",ConditionalFormattingHighlightCellDuplicateValue:"ConditionalFormattingHighlightCellDuplicateValue",ConditionalFormattingHighlightCellDuplicateValueKeyTip:"ConditionalFormattingHighlightCellDuplicateValueKeyTip",ConditionalFormattingTopBottomTop10Items:"ConditionalFormattingTopBottomTop10Items",ConditionalFormattingTopBottomTop10ItemsKeyTip:"ConditionalFormattingTopBottomTop10ItemsKeyTip",ConditionalFormattingTopBottomTop10Percent:"ConditionalFormattingTopBottomTop10Percent",ConditionalFormattingTopBottomTop10PercentKeyTip:"ConditionalFormattingTopBottomTop10PercentKeyTip",ConditionalFormattingTopBottomBottom10Items:"ConditionalFormattingTopBottomBottom10Items",ConditionalFormattingTopBottomBottom10ItemsKeyTip:"ConditionalFormattingTopBottomBottom10ItemsKeyTip",ConditionalFormattingTopBottomBottom10Percent:"ConditionalFormattingTopBottomBottom10Percent",ConditionalFormattingTopBottomBottom10PercentKeyTip:"ConditionalFormattingTopBottomBottom10PercentKeyTip",ConditionalFormattingTopBottomAboveAverge:"ConditionalFormattingTopBottomAboveAverge",ConditionalFormattingTopBottomAboveAvergeKeyTip:"ConditionalFormattingTopBottomAboveAvergeKeyTip",ConditionalFormattingTopBottomBelowAverage:"ConditionalFormattingTopBottomBelowAverage",ConditionalFormattingDataBarsBlueDataBar:"ConditionalFormattingDataBarsBlueDataBar",ConditionalFormattingDataBarsGreenDataBar:"ConditionalFormattingDataBarsGreenDataBar",ConditionalFormattingDataBarsRedDataBar:"ConditionalFormattingDataBarsRedDataBar",ConditionalFormattingDataBarsOrangeDataBar:"ConditionalFormattingDataBarsOrangeDataBar",ConditionalFormattingDataBarsLightBlueDataBar:"ConditionalFormattingDataBarsLightBlueDataBar",ConditionalFormattingDataBarsPurpleDataBar:"ConditionalFormattingDataBarsPurpleDataBar",ConditionalFormattingColorScalesGYR:"ConditionalFormattingColorScalesGYR",ConditionalFormattingColorScalesRYG:"ConditionalFormattingColorScalesRYG",ConditionalFormattingColorScalesGWR:"ConditionalFormattingColorScalesGWR",ConditionalFormattingColorScalesRWG:"ConditionalFormattingColorScalesRWG",ConditionalFormattingColorScalesBWR:"ConditionalFormattingColorScalesBWR",ConditionalFormattingColorScalesRWB:"ConditionalFormattingColorScalesRWB",ConditionalFormattingColorScalesWR:"ConditionalFormattingColorScalesWR",ConditionalFormattingColorScalesRW:"ConditionalFormattingColorScalesRW",ConditionalFormattingColorScalesGW:"ConditionalFormattingColorScalesGW",ConditionalFormattingColorScalesWG:"ConditionalFormattingColorScalesWG",ConditionalFormattingColorScalesGY:"ConditionalFormattingColorScalesGY",ConditionalFormattingColorScalesYG:"ConditionalFormattingColorScalesYG",ConditionalFormattingIconSets3Arrow:"ConditionalFormattingIconSets3Arrow",ConditionalFormattingIconSets3ArrowGray:"ConditionalFormattingIconSets3ArrowGray",ConditionalFormattingIconSets3Triangles:"ConditionalFormattingIconSets3Triangles",ConditionalFormattingIconSets4ArrowGray:"ConditionalFormattingIconSets4ArrowGray",ConditionalFormattingIconSets4Arrow:"ConditionalFormattingIconSets4Arrow",ConditionalFormattingIconSets5ArrowGray:"ConditionalFormattingIconSets5ArrowGray",ConditionalFormattingIconSets5Arrow:"ConditionalFormattingIconSets5Arrow",ConditionalFormattingIconSets3TrafficUnrimmed:"ConditionalFormattingIconSets3TrafficUnrimmed",ConditionalFormattingIconSets3TrafficRimmed:"ConditionalFormattingIconSets3TrafficRimmed",ConditionalFormattingIconSets3Signs:"ConditionalFormattingIconSets3Signs",ConditionalFormattingIconSets4Traffic:"ConditionalFormattingIconSets4Traffic",ConditionalFormattingIconSetsRedToBlack:"ConditionalFormattingIconSetsRedToBlack",ConditionalFormattingIconSets3SymbolsCircled:"ConditionalFormattingIconSets3SymbolsCircled",ConditionalFormattingIconSets3SymbolsUncircled:"ConditionalFormattingIconSets3SymbolsUncircled",ConditionalFormattingIconSets3Flags:"ConditionalFormattingIconSets3Flags",ConditionalFormattingIconSets3Stars:"ConditionalFormattingIconSets3Stars",ConditionalFormattingIconSets4Ratings:"ConditionalFormattingIconSets4Ratings",ConditionalFormattingIconSets5Quarters:"ConditionalFormattingIconSets5Quarters",ConditionalFormattingIconSets5Ratings:"ConditionalFormattingIconSets5Ratings",ConditionalFormattingIconSets5Boxes:"ConditionalFormattingIconSets5Boxes",ConditionalFormattingTopBottomBelowAverageKeyTip:"ConditionalFormattingTopBottomBelowAverageKeyTip",ConditionalFormattingClearRulesSelectedCells:"ConditionalFormattingClearRulesSelectedCells",ConditionalFormattingClearRulesSelectedCellsKeyTip:"ConditionalFormattingClearRulesSelectedCellsKeyTip",ConditionalFormattingClearRulesEntireSheet:"ConditionalFormattingClearRulesEntireSheet",ConditionalFormattingClearRulesEntireSheetKeyTip:"ConditionalFormattingClearRulesEntireSheetKeyTip",ConditionalFormattingEmptyPane:"ConditionalFormattingEmptyPane",ConditionalFormattingEmptyPaneV2Header:"ConditionalFormattingEmptyPaneV2Header",ConditionalFormattingEmptyPaneV2Label:"ConditionalFormattingEmptyPaneV2Label",ConditionalFormattingEmptyPaneV2LearnMore:"ConditionalFormattingEmptyPaneV2LearnMore",ConditionalFormattingTopBottomRuleComboboxPercent:"ConditionalFormattingTopBottomRuleComboboxPercent",ConditionalFormattingTopBottomRuleComboboxValues:"ConditionalFormattingTopBottomRuleComboboxValues",ConditionalFormattingLoadingRule:"ConditionalFormattingLoadingRule",ConditionalFormattingFilterMenuPrefix:"ConditionalFormattingFilterMenuPrefix",ConditionalFormattingFilterMenuSheet:"ConditionalFormattingFilterMenuSheet",ConditionalFormattingFilterMenuSelection:"ConditionalFormattingFilterMenuSelection",ConditionalFormattingCustomStylePreviewSampleText:"ConditionalFormattingCustomStylePreviewSampleText",ConditionalFormattingCustomStylePreviewSampleTextSmall:"ConditionalFormattingCustomStylePreviewSampleTextSmall",ConditionalFormattingRuleAppliesToRange:"ConditionalFormattingRuleAppliesToRange",ConditionalFormattingRuleAppliesToRangeHasStopIfTrue:"ConditionalFormattingRuleAppliesToRangeHasStopIfTrue",ConditionalFormattingStopIfTrueText:"ConditionalFormattingStopIfTrueText",ConditionalFormattingStopIfTrueTooltipContent:"ConditionalFormattingStopIfTrueTooltipContent",ConditionalFormattingRuleManagerStopIfTrueTooltipContent:"ConditionalFormattingRuleManagerStopIfTrueTooltipContent",ConditionalFormattingStopIfTrueInfoRole:"ConditionalFormattingStopIfTrueInfoRole",ConditionalFormattingRuleHasTwoOptions:"ConditionalFormattingRuleHasTwoOptions",ConditionalFormattingRuleHasMultipleOptions:"ConditionalFormattingRuleHasMultipleOptions",ConditionalFormattingCanReorderRules:"ConditionalFormattingCanReorderRules",ConditionalFormattingReorderRulesCompleted:"ConditionalFormattingReorderRulesCompleted",ConditionalFormattingRuleEdit:"ConditionalFormattingRuleEdit",ConditionalFormattingRuleDelete:"ConditionalFormattingRuleDelete",ConditionalFormattingRuleDeleted:"ConditionalFormattingRuleDeleted",ConditionalFormattingRuleDuplicate:"ConditionalFormattingRuleDuplicate",ConditionalFormattingRuleDuplicated:"ConditionalFormattingRuleDuplicated",ConditionalFormattingTooManyRulesErrorTitle:"ConditionalFormattingTooManyRulesErrorTitle",ConditionalFormattingTooManyRulesErrorMessage:"ConditionalFormattingTooManyRulesErrorMessage",ConditionalFormattingCantDisplayRulesErrorTitle:"ConditionalFormattingCantDisplayRulesErrorTitle",ConditionalFormattingProtecedSheetRuleManagerErrorMessage:"ConditionalFormattingProtecedSheetRuleManagerErrorMessage",ConditionalFormattingChartSheetRuleManagerErrorMessage:"ConditionalFormattingChartSheetRuleManagerErrorMessage",ConditionalFormattingProtecedSheetRangePickerErrorMessage:"ConditionalFormattingProtecedSheetRangePickerErrorMessage",ConditionalFormattingChartSheetRangePickerErrorMessage:"ConditionalFormattingChartSheetRangePickerErrorMessage",ConditionalFormattingInfoURLText:"ConditionalFormattingInfoURLText",ConditionalFormattingCustomFormatText:"ConditionalFormattingCustomFormatText",ConditionalFormattingRuleEditorCustomFormatBackButton:"ConditionalFormattingRuleEditorCustomFormatBackButton",ConditionalFormattingFormatStyleText:"ConditionalFormattingFormatStyleText",ConditionalFormattingQuickFormatRedFillRedText:"ConditionalFormattingQuickFormatRedFillRedText",ConditionalFormattingQuickFormatYellowFillYellowText:"ConditionalFormattingQuickFormatYellowFillYellowText",ConditionalFormattingQuickFormatGreenFillGreenText:"ConditionalFormattingQuickFormatGreenFillGreenText",ConditionalFormattingQuickFormatRedFill:"ConditionalFormattingQuickFormatRedFill",ConditionalFormattingQuickFormatRedText:"ConditionalFormattingQuickFormatRedText",ConditionalFormattingQuickFormatRedBorder:"ConditionalFormattingQuickFormatRedBorder",ConditionalFormatWithMenuPrefix:"ConditionalFormatWithMenuPrefix",ConditionalFormattingDeleteAllRules:"ConditionalFormattingDeleteAllRules",ConditionalFormattingDeleteAllRulesTooltip:"ConditionalFormattingDeleteAllRulesTooltip",ConditionalFormattingAllRulesDeleted:"ConditionalFormattingAllRulesDeleted",ConditionalFormattingNewRuleTooltip:"ConditionalFormattingNewRuleTooltip",ConditionalFormattingGoToManageRules:"ConditionalFormattingGoToManageRules",ConditionalFormattingRuleEditWindowDone:"ConditionalFormattingRuleEditWindowDone",ConditionalFormattingRuleEditWindowCancel:"ConditionalFormattingRuleEditWindowCancel",ConditionalFormattingRuleEditWindowDoneActionMessage:"ConditionalFormattingRuleEditWindowDoneActionMessage",ConditionalFormattingApplyToRange:"ConditionalFormattingApplyToRange",ConditionalFormattingApplyTo:"ConditionalFormattingApplyTo",ConditionalFormattingRuleRangePickerPlaceholder:"ConditionalFormattingRuleRangePickerPlaceholder",ConditionalFormattingFormulaPickerPlaceholder:"ConditionalFormattingFormulaPickerPlaceholder",ConditionalFormattingRangePickerPlaceholder:"ConditionalFormattingRangePickerPlaceholder",ConditionalFormattingStopIfTrue:"ConditionalFormattingStopIfTrue",ConditionalFormattingRuleTypeMenuPrefix:"ConditionalFormattingRuleTypeMenuPrefix",ConditionalFormattingValueDropdownType:"ConditionalFormattingValueDropdownType",ConditionalFormattingCriteriaDropdownType:"ConditionalFormattingCriteriaDropdownType",ConditionalFormattingOperatorDropdownType:"ConditionalFormattingOperatorDropdownType",ConditionalFormattingDateDropdownType:"ConditionalFormattingDateDropdownType",ConditionalFormattingFormatDropdownType:"ConditionalFormattingFormatDropdownType",ConditionalFormattingTextBoxName:"ConditionalFormattingTextBoxName",ConditionalFormattingFormulaTextBox:"ConditionalFormattingFormulaTextBox",ConditionalFormattingFormula1TextBox:"ConditionalFormattingFormula1TextBox",ConditionalFormattingFormula2TextBox:"ConditionalFormattingFormula2TextBox",ConditionalFormattingRuleTypeHighlightCellsWith:"ConditionalFormattingRuleTypeHighlightCellsWith",ConditionalFormattingHighlightWithCellValue:"ConditionalFormattingHighlightWithCellValue",ConditionalFormattingHighlightCellValueGreaterThan:"ConditionalFormattingHighlightCellValueGreaterThan",ConditionalFormattingHighlightCellValueGreaterThanOrEqualsTo:"ConditionalFormattingHighlightCellValueGreaterThanOrEqualsTo",ConditionalFormattingHighlightCellValueLessThan:"ConditionalFormattingHighlightCellValueLessThan",ConditionalFormattingHighlightCellValueLessThanOrEqualsTo:"ConditionalFormattingHighlightCellValueLessThanOrEqualsTo",ConditionalFormattingHighlightCellValueBetween:"ConditionalFormattingHighlightCellValueBetween",ConditionalFormattingHighlightCellValueNotBetween:"ConditionalFormattingHighlightCellValueNotBetween",ConditionalFormattingHighlightCellValueBetweenAnd:"ConditionalFormattingHighlightCellValueBetweenAnd",ConditionalFormattingHighlightCellValueBetweenAndSymbol:"ConditionalFormattingHighlightCellValueBetweenAndSymbol",ConditionalFormattingHighlightCellValueEqualTo:"ConditionalFormattingHighlightCellValueEqualTo",ConditionalFormattingHighlightCellValueNotEqualTo:"ConditionalFormattingHighlightCellValueNotEqualTo",ConditionalFormattingHighlightCellValueTextboxDescription:"ConditionalFormattingHighlightCellValueTextboxDescription",ConditionalFormattingHighlightCellValueTextboxOnError:"ConditionalFormattingHighlightCellValueTextboxOnError",ConditionalFormattingFormulaValueTextboxError:"ConditionalFormattingFormulaValueTextboxError",ConditionalFormattingFormulaRepresentingRangeError:"ConditionalFormattingFormulaRepresentingRangeError",ConditionalFormattingInvalidRangeError:"ConditionalFormattingInvalidRangeError",ConditionalFormattingChangeRangeSheetNameError:"ConditionalFormattingChangeRangeSheetNameError",ConditionalFormattingSheetDeletedError:"ConditionalFormattingSheetDeletedError",ConditionalFormattingValueTooLongError:"ConditionalFormattingValueTooLongError",ConditionalFormattingHighlightTextThatContains:"ConditionalFormattingHighlightTextThatContains",ConditionalFormattingHighlightSpecificText:"ConditionalFormattingHighlightSpecificText",ConditionalFormattingHighlightTextContaining:"ConditionalFormattingHighlightTextContaining",ConditionalFormattingHighlightTextNotContaining:"ConditionalFormattingHighlightTextNotContaining",ConditionalFormattingHighlightTextBeginningWith:"ConditionalFormattingHighlightTextBeginningWith",ConditionalFormattingHighlightTextEndingWith:"ConditionalFormattingHighlightTextEndingWith",ConditionalFormattingHighlightDateOccurring:"ConditionalFormattingHighlightDateOccurring",ConditionalFormattingHighlightDateYesterday:"ConditionalFormattingHighlightDateYesterday",ConditionalFormattingHighlightDateToday:"ConditionalFormattingHighlightDateToday",ConditionalFormattingHighlightDateTomorrow:"ConditionalFormattingHighlightDateTomorrow",ConditionalFormattingHighlightDateLast7Days:"ConditionalFormattingHighlightDateLast7Days",ConditionalFormattingHighlightDateLastWeek:"ConditionalFormattingHighlightDateLastWeek",ConditionalFormattingHighlightDateThisWeek:"ConditionalFormattingHighlightDateThisWeek",ConditionalFormattingHighlightDateNextWeek:"ConditionalFormattingHighlightDateNextWeek",ConditionalFormattingHighlightDateLastMonth:"ConditionalFormattingHighlightDateLastMonth",ConditionalFormattingHighlightDateThisMonth:"ConditionalFormattingHighlightDateThisMonth",ConditionalFormattingHighlightDateNextMonth:"ConditionalFormattingHighlightDateNextMonth",ConditionalFormattingHighlightDuplicateValues:"ConditionalFormattingHighlightDuplicateValues",ConditionalFormattingHighlightDuplicateValuesUnique:"ConditionalFormattingHighlightDuplicateValuesUnique",ConditionalFormattingHighlightBlanks:"ConditionalFormattingHighlightBlanks",ConditionalFormattingHighlightNoBlanks:"ConditionalFormattingHighlightNoBlanks",ConditionalFormattingHighlightErrors:"ConditionalFormattingHighlightErrors",ConditionalFormattingHighlightNoErrors:"ConditionalFormattingHighlightNoErrors",ConditionalFormattingRuleTypeTopBottom:"ConditionalFormattingRuleTypeTopBottom",ConditionalFormattingRuleTypeHighlightTopOrBottom:"ConditionalFormattingRuleTypeHighlightTopOrBottom",ConditionalFormattingTopBottomTop:"ConditionalFormattingTopBottomTop",ConditionalFormattingTopBottomBottom:"ConditionalFormattingTopBottomBottom",ConditionalFormattingTopBottomValueTextboxOnError:"ConditionalFormattingTopBottomValueTextboxOnError",ConditionalFormattingTopBottomPercent:"ConditionalFormattingTopBottomPercent",ConditionalFormattingTopBottomAveragePrefix:"ConditionalFormattingTopBottomAveragePrefix",ConditionalFormattingTopBottomAverageAbove:"ConditionalFormattingTopBottomAverageAbove",ConditionalFormattingTopBottomAverageBelow:"ConditionalFormattingTopBottomAverageBelow",ConditionalFormattingTopBottomEqualOrAboveAverage:"ConditionalFormattingTopBottomEqualOrAboveAverage",ConditionalFormattingTopBottomEqualOrBelowAverage:"ConditionalFormattingTopBottomEqualOrBelowAverage",ConditionalFormattingIncreaseSpinButton:"ConditionalFormattingIncreaseSpinButton",ConditionalFormattingDecreaseSpinButton:"ConditionalFormattingDecreaseSpinButton",ConditionalFormattingSpinButtonValueIncreased:"ConditionalFormattingSpinButtonValueIncreased",ConditionalFormattingSpinButtonValueDecreased:"ConditionalFormattingSpinButtonValueDecreased",ConditionalFormattingRuleTypeDataBars:"ConditionalFormattingRuleTypeDataBars",ConditionalFormattingRuleTypeDataBarsBlue:"ConditionalFormattingRuleTypeDataBarsBlue",ConditionalFormattingRuleTypeDataBarsGreen:"ConditionalFormattingRuleTypeDataBarsGreen",ConditionalFormattingRuleTypeDataBarsRed:"ConditionalFormattingRuleTypeDataBarsRed",ConditionalFormattingRuleTypeDataBarsOrange:"ConditionalFormattingRuleTypeDataBarsOrange",ConditionalFormattingRuleTypeDataBarsLightBlue:"ConditionalFormattingRuleTypeDataBarsLightBlue",ConditionalFormattingRuleTypeDataBarsPurple:"ConditionalFormattingRuleTypeDataBarsPurple",ConditionalFormattingRuleTypeColorScale:"ConditionalFormattingRuleTypeColorScale",ConditionalFormattingRuleTypeColorScaleGreenYellowRed:"ConditionalFormattingRuleTypeColorScaleGreenYellowRed",ConditionalFormattingRuleTypeColorScaleRedYellowGreen:"ConditionalFormattingRuleTypeColorScaleRedYellowGreen",ConditionalFormattingRuleTypeColorScaleGreenWhiteRed:"ConditionalFormattingRuleTypeColorScaleGreenWhiteRed",ConditionalFormattingRuleTypeColorScaleRedWhiteGreen:"ConditionalFormattingRuleTypeColorScaleRedWhiteGreen",ConditionalFormattingRuleTypeColorScaleBlueWhiteRed:"ConditionalFormattingRuleTypeColorScaleBlueWhiteRed",ConditionalFormattingRuleTypeColorScaleRedWhiteBlue:"ConditionalFormattingRuleTypeColorScaleRedWhiteBlue",ConditionalFormattingRuleTypeColorScaleRedWhite:"ConditionalFormattingRuleTypeColorScaleRedWhite",ConditionalFormattingRuleTypeColorScaleWhiteRed:"ConditionalFormattingRuleTypeColorScaleWhiteRed",ConditionalFormattingRuleTypeColorScaleGreenWhite:"ConditionalFormattingRuleTypeColorScaleGreenWhite",ConditionalFormattingRuleTypeColorScaleWhiteGreen:"ConditionalFormattingRuleTypeColorScaleWhiteGreen",ConditionalFormattingRuleTypeColorScaleGreenYellow:"ConditionalFormattingRuleTypeColorScaleGreenYellow",ConditionalFormattingRuleTypeColorScaleYellowGreen:"ConditionalFormattingRuleTypeColorScaleYellowGreen",ConditionalFormattingRuleTypeIconSets:"ConditionalFormattingRuleTypeIconSets",ConditionalFormattingRuleTypeFormula:"ConditionalFormattingRuleTypeFormula",ConditionalFormattingFormatFormulaTrue:"ConditionalFormattingFormatFormulaTrue",ConditionalFormattingFormatFormulaRuleTypeLabel:"ConditionalFormattingFormatFormulaRuleTypeLabel",ConditionalFormattingBeforeYouGoDialogTitle:"ConditionalFormattingBeforeYouGoDialogTitle",ConditionalFormattingBeforeYouGoDialogMessage:"ConditionalFormattingBeforeYouGoDialogMessage",ConditionalFormattingBeforeYouGoDialogApplyChanges:"ConditionalFormattingBeforeYouGoDialogApplyChanges",ConditionalFormattingBeforeYouGoDialogDiscardChanges:"ConditionalFormattingBeforeYouGoDialogDiscardChanges",ConditionalFormattingEditingRuleNotSupportedTooltipContent:"ConditionalFormattingEditingRuleNotSupportedTooltipContent",ConditionalFormattingRuleEditorLearnMore:"ConditionalFormattingRuleEditorLearnMore",ConditionalFormattingInfoTextHighlightCells:"ConditionalFormattingInfoTextHighlightCells",ConditionalFormattingInfoTextTopBottom:"ConditionalFormattingInfoTextTopBottom",ConditionalFormattingInfoTextDataBars:"ConditionalFormattingInfoTextDataBars",ConditionalFormattingInfoTextColorScale:"ConditionalFormattingInfoTextColorScale",ConditionalFormattingInfoTextIconSets:"ConditionalFormattingInfoTextIconSets",ConditionalFormattingInfoFormula:"ConditionalFormattingInfoFormula",ConditionalFormattingImproveButtonLabel:"ConditionalFormattingImproveButtonLabel",ConditionalFormattingImproveButtonLabelV2:"ConditionalFormattingImproveButtonLabelV2",CleanData:"CleanData",CleanDataKeyTip:"CleanDataKeyTip",CleanDataNewKeyTip:"CleanDataNewKeyTip",CellPickingTooltipContent:"CellPickingTooltipContent",RangePickerApplyChanges:"RangePickerApplyChanges",RangePickerDiscardChanges:"RangePickerDiscardChanges",RangePickerApplyChangesExecutedMessage:"RangePickerApplyChangesExecutedMessage",RangePickerApplyChangesToArgumentExecutedMessage:"RangePickerApplyChangesToArgumentExecutedMessage",RangePickerDiscardChangesExecutedMessage:"RangePickerDiscardChangesExecutedMessage",AutoSum:"AutoSum",AutoSumKeyTip:"AutoSumKeyTip",SortAndFilter:"SortAndFilter",FilterSearch:"FilterSearch",FilterByValue:"FilterByValue",Apply:"Apply",SortFilterApplyForEveryone:"SortFilterApplyForEveryone",SortFilterApplyForEveryoneTitle:"SortFilterApplyForEveryoneTitle",SortFilterApplyForEveryoneAriaLabel:"SortFilterApplyForEveryoneAriaLabel",SelectAll:"SelectAll",SelectAllSearchResults:"SelectAllSearchResults",ManualFilter:"ManualFilter",AddCurrentSelection:"AddCurrentSelection",NoMatches:"NoMatches",NotAllItemsAreShowing:"NotAllItemsAreShowing",NotAllItemsAreShowingNoSearch:"NotAllItemsAreShowingNoSearch",FilterByItem:"FilterByItem",NotAllItemsShown:"NotAllItemsShown",TypeWordsToSearchFilterItems:"TypeWordsToSearchFilterItems",TypeWordsToSearchFilterItemsInPivotFilter:"TypeWordsToSearchFilterItemsInPivotFilter",SortAndFilterKeyTip:"SortAndFilterKeyTip",SearchResultAnnounced:"SearchResultAnnounced",NotAllItemsShownAlertDismiss:"NotAllItemsShownAlertDismiss",FormatAsTableAlt:"FormatAsTableAlt",FormatAsTableKeyTip:"FormatAsTableKeyTip",CharacterLabelLineBreak:"CharacterLabelLineBreak",CharacterLabelPeriod:"CharacterLabelPeriod",CharacterLabelSpace:"CharacterLabelSpace",CharacterLabelUnderscore:"CharacterLabelUnderscore",CharacterLabelComma:"CharacterLabelComma",CharacterLabelSlash:"CharacterLabelSlash",CharacterLabelBackslash:"CharacterLabelBackslash",CharacterLabelColon:"CharacterLabelColon",CharacterLabelSemicolon:"CharacterLabelSemicolon",CharacterLabelDash:"CharacterLabelDash",CharacterLabelDollarSign:"CharacterLabelDollarSign",CharacterLabelNothing:"CharacterLabelNothing",ExcelIntelligenceTitle:"ExcelIntelligenceTitle",ExcelIntelligenceBody:"ExcelIntelligenceBody",Find:"Find",FindKeyTip:"FindKeyTip",AddFunction:"AddFunction",AddFunctionKeyTip:"AddFunctionKeyTip",InsertTable:"InsertTable",InsertTableKeyTip:"InsertTableKeyTip",CreateSampleTableMenu:"CreateSampleTableMenu",CreateSampleTableMenuKeyTip:"CreateSampleTableMenuKeyTip",CreateSampleTableBlank:"CreateSampleTableBlank",CreateSampleTableBlankKeyTip:"CreateSampleTableBlankKeyTip",CreateSampleTableContact:"CreateSampleTableContact",CreateSampleTableContactKeyTip:"CreateSampleTableContactKeyTip",CreateSampleTableToDo:"CreateSampleTableToDo",CreateSampleTableToDoKeyTip:"CreateSampleTableToDoKeyTip",InsertPivotTable:"InsertPivotTable",PivotTableName:"PivotTableName",PivotTableNameKeyTip:"PivotTableNameKeyTip",InsertPivotTableKeyTip:"InsertPivotTableKeyTip",InsertPivotTableFromTable:"InsertPivotTableFromTable",InsertPivotTableFromTableKeyTip:"InsertPivotTableFromTableKeyTip",InsertPivotTableFromPowerBI:"InsertPivotTableFromPowerBI",InsertPivotTableFromPowerBIKeyTip:"InsertPivotTableFromPowerBIKeyTip",InsertPicture:"InsertPicture",InsertPictureKeyTip:"InsertPictureKeyTip",InsertPicturesFlyout:"InsertPicturesFlyout",InsertPictureMenuTitle:"InsertPictureMenuTitle",InsertPictureFromDevice:"InsertPictureFromDevice",InsertPictureFromDeviceTooltip:"InsertPictureFromDeviceTooltip",InsertPictureFromDeviceKeyTip:"InsertPictureFromDeviceKeyTip",InsertPictureFromStockImages:"InsertPictureFromStockImages",InsertPictureFromStockImagesTooltip:"InsertPictureFromStockImagesTooltip",InsertPictureFromStockImagesKeyTip:"InsertPictureFromStockImagesKeyTip",InsertPictureFromBing:"InsertPictureFromBing",InsertPictureFromBingTooltip:"InsertPictureFromBingTooltip",InsertPictureFromWeb:"InsertPictureFromWeb",InsertPictureFromBingKeyTip:"InsertPictureFromBingKeyTip",Shapes:"Shapes",ShapesKeyTip:"ShapesKeyTip",FormatPictureTabTitle:"FormatPictureTabTitle",FormatPictureTabKeyTip:"FormatPictureTabKeyTip",Link:"Link",LinkKeyTip:"LinkKeyTip",TextBoxKeyTip:"TextBoxKeyTip",Addins:"Addins",Addins1:"Addins1",Addins2:"Addins2",AddinsKeyTip:"AddinsKeyTip",ButtonAddinsHomeEntryKeytip:"ButtonAddinsHomeEntryKeytip",FileGetAddinsButton:"FileGetAddinsButton",FileGetAddinsButtonKeyTip:"FileGetAddinsButtonKeyTip",VisitAddinStore:"VisitAddinStore",VisitAddinStoreDescription:"VisitAddinStoreDescription",RefreshAll:"RefreshAll",MLRRefreshAll:"MLRRefreshAll",RefreshAllKeyTip:"RefreshAllKeyTip",RefreshSelected:"RefreshSelected",MLRRefreshSelected:"MLRRefreshSelected",RefreshSelectedKeyTip:"RefreshSelectedKeyTip",PivotRefreshDropdownKeytip:"PivotRefreshDropdownKeytip",PivotRefreshAll:"PivotRefreshAll",MLRPivotRefreshAll:"MLRPivotRefreshAll",PivotRefreshAllKeyTip:"PivotRefreshAllKeyTip",PivotRefreshSelected:"PivotRefreshSelected",MLRPivotRefreshSelected:"MLRPivotRefreshSelected",PivotRefreshSelectedKeyTip:"PivotRefreshSelectedKeyTip",EditLinks:"EditLinks",EditLinksKeyTip:"EditLinksKeyTip",Calculate:"Calculate",CalculateKeyTip:"CalculateKeyTip",CalculateSheet:"CalculateSheet",CalculateSheetKeyTip:"CalculateSheetKeyTip",CalculationOptionsKeyTip:"CalculationOptionsKeyTip",ShowFormulas:"ShowFormulas",ShowFormulasKeyTip:"ShowFormulasKeyTip",InsertFunction:"InsertFunction",InsertFunctionKeyTip:"InsertFunctionKeyTip",CommonlyUsedFns:"CommonlyUsedFns",CommonlyUsedFnsKeyTip:"CommonlyUsedFnsKeyTip",FinancialFns:"FinancialFns",FinancialFnsKeyTip:"FinancialFnsKeyTip",LogicalFns:"LogicalFns",LogicalFnsKeyTip:"LogicalFnsKeyTip",TextFns:"TextFns",TextFnsKeyTip:"TextFnsKeyTip",DateTimeFns:"DateTimeFns",DateTimeFnsKeyTip:"DateTimeFnsKeyTip",LookupReferenceFns:"LookupReferenceFns",LookupReferenceFnsKeyTip:"LookupReferenceFnsKeyTip",MathTrigFns:"MathTrigFns",MathTrigFnsKeyTip:"MathTrigFnsKeyTip",MoreFns:"MoreFns",MoreFnsKeyTip:"MoreFnsKeyTip",StatisticalFns:"StatisticalFns",StatisticalFnsKeyTip:"StatisticalFnsKeyTip",EngineeringFns:"EngineeringFns",EngineeringFnsKeyTip:"EngineeringFnsKeyTip",CubeFns:"CubeFns",CubeFnsKeyTip:"CubeFnsKeyTip",InformationFns:"InformationFns",InformationFnsKeyTip:"InformationFnsKeyTip",ResizeTable:"ResizeTable",ResizeTableKeyTip:"ResizeTableKeyTip",ResizeTableDialogLabel:"ResizeTableDialogLabel",ResizeTableDialogDescription:"ResizeTableDialogDescription",SortAscending:"SortAscending",SortAscendingKeyTip:"SortAscendingKeyTip",SortDescending:"SortDescending",SortDescendingKeyTip:"SortDescendingKeyTip",FlashFill:"FlashFill",FlashFillKeyTip:"FlashFillKeyTip",RemoveDuplicates:"RemoveDuplicates",TextToColumns:"TextToColumns",TextToColumnsDelimiterTab:"TextToColumnsDelimiterTab",TextToColumnsDelimiterSemicolon:"TextToColumnsDelimiterSemicolon",TextToColumnsDelimiterComma:"TextToColumnsDelimiterComma",TextToColumnsDelimiterSpace:"TextToColumnsDelimiterSpace",TextToColumnsDelimiterCustom:"TextToColumnsDelimiterCustom",TextToColumnsCustomDelimiterPlaceHolder:"TextToColumnsCustomDelimiterPlaceHolder",TextToColumnsKeyTip:"TextToColumnsKeyTip",TextToColumnsApply:"TextToColumnsApply",TextToColumnsPreview:"TextToColumnsPreview",TextToColumnsSelectDelimiters:"TextToColumnsSelectDelimiters",TextToColumnsPartialDataText:"TextToColumnsPartialDataText",TextToColumnsDelimitersSelectedAriaLabel:"TextToColumnsDelimitersSelectedAriaLabel",TextToColumnsDelimitersUnSelectedAriaLabel:"TextToColumnsDelimitersUnSelectedAriaLabel",TableName:"TableName",TableNameKeyTip:"TableNameKeyTip",RemoveDuplicatesKeyTip:"RemoveDuplicatesKeyTip",DataValidation:"DataValidation",DataValidationKeyTip:"DataValidationKeyTip",CheckAccessibility:"CheckAccessibility",CheckAccessibilityKeyTip:"CheckAccessibilityKeyTip",NewComment:"NewComment",NewCommentKeyTip:"NewCommentKeyTip",NewThreadedCommentKeyTip:"NewThreadedCommentKeyTip",DeleteComment:"DeleteComment",DeleteCommentKeyTip:"DeleteCommentKeyTip",ShowComments:"ShowComments",ShowCommentsKeyTip:"ShowCommentsKeyTip",ShowThreadedCommentsKeyTip:"ShowThreadedCommentsKeyTip",NotesGroup:"NotesGroup",NotesGroupKeyTip:"NotesGroupKeyTip",NewNote:"NewNote",NewNoteKeyTip:"NewNoteKeyTip",EditNote:"EditNote",EditNoteKeyTip:"EditNoteKeyTip",DeleteNote:"DeleteNote",DeleteNoteKeyTip:"DeleteNoteKeyTip",PreviousNote:"PreviousNote",PreviousNoteKeyTip:"PreviousNoteKeyTip",NextNote:"NextNote",NextNoteKeyTip:"NextNoteKeyTip",ShowHideNote:"ShowHideNote",ShowHideNoteKeyTip:"ShowHideNoteKeyTip",ShowAllNotes:"ShowAllNotes",ShowAllNotesKeyTip:"ShowAllNotesKeyTip",ConvertNote:"ConvertNote",ConvertNoteKeyTip:"ConvertNoteKeyTip",ConvertNotes:"ConvertNotes",ConvertNotesKeyTip:"ConvertNotesKeyTip",ConvertNotesInNotesFlyoutKeyTip:"ConvertNotesInNotesFlyoutKeyTip",ProtectionGroupTitle:"ProtectionGroupTitle",PauseProtection:"PauseProtection",ResumeProtection:"ResumeProtection",PauseResumeProtectionKeyTip:"PauseResumeProtectionKeyTip",ManageProtection:"ManageProtection",ManageProtectionKeyTip:"ManageProtectionKeyTip",ReadingView:"ReadingView",ReadingViewKeyTip:"ReadingViewKeyTip",FreezeRows:"FreezeRows",FreezeRowsKeyTip:"FreezeRowsKeyTip",FreezeColumns:"FreezeColumns",FreezeColumnsKeyTip:"FreezeColumnsKeyTip",FreezePanes:"FreezePanes",FreezePanesAtSelection:"FreezePanesAtSelection",FreezePanesKeyTip:"FreezePanesKeyTip",FreezePanesTooltip:"FreezePanesTooltip",UnfreezePanes:"UnfreezePanes",UnfreezePanesKeyTip:"UnfreezePanesKeyTip",FreezeTopRowOld:"FreezeTopRowOld",FreezeTopRow:"FreezeTopRow",FreezeTopRowKeyTip:"FreezeTopRowKeyTip",FreezeFirstColumnOld:"FreezeFirstColumnOld",FreezeFirstColumn:"FreezeFirstColumn",FreezeFirstColumnKeyTip:"FreezeFirstColumnKeyTip",ShowDataTypeIcons:"ShowDataTypeIcons",ShowDataTypeIconsKeyTip:"ShowDataTypeIconsKeyTip",ShowHeadings:"ShowHeadings",ShowHeadingsKeyTip:"ShowHeadingsKeyTip",ShowGridlines:"ShowGridlines",ShowGridlinesKeyTip:"ShowGridlinesKeyTip",ShowFormulaBar:"ShowFormulaBar",ShowFormulaBarKeyTip:"ShowFormulaBarKeyTip",FocusActiveCell:"FocusActiveCell",FocusActiveCellKeyTip:"FocusActiveCellKeyTip",FocusActiveCellTooltip:"FocusActiveCellTooltip",FocusActiveCellFill:"FocusActiveCellFill",FocusActiveCellFillKeyTip:"FocusActiveCellFillKeyTip",FocusActiveCellSplitButtonKeyTip:"FocusActiveCellSplitButtonKeyTip",RightToLeft:"RightToLeft",RightToLeftKeyTip:"RightToLeftKeyTip",ToggleRibbonControl:"ToggleRibbonControl",Clipboard:"Clipboard",PasteFormulas:"PasteFormulas",PasteFormulasKeyTip:"PasteFormulasKeyTip",PasteValues:"PasteValues",PasteValuesKeyTip:"PasteValuesKeyTip",PasteFormatting:"PasteFormatting",PasteSpecialMenuItems:"PasteSpecialMenuItems",PasteFormattingKeyTip:"PasteFormattingKeyTip",PasteTranspose:"PasteTranspose",PasteTransposeKeyTip:"PasteTransposeKeyTip",PasteLink:"PasteLink",PasteLinkKeyTip:"PasteLinkKeyTip",PastePictureInCell:"PastePictureInCell",PastePictureInCellKeyTip:"PastePictureInCellKeyTip",PasteWithColumnWidths:"PasteWithColumnWidths",PasteWithColumnWidthsKeyTip:"PasteWithColumnWidthsKeyTip",PasteOptions:"PasteOptions",GalleryPasteValues:"GalleryPasteValues",GalleryPasteFormulas:"GalleryPasteFormulas",GalleryPasteTranspose:"GalleryPasteTranspose",GalleryPasteLink:"GalleryPasteLink",GalleryPasteFormatting:"GalleryPasteFormatting",GalleryPastePictureInCell:"GalleryPastePictureInCell",GalleryPasteWithColumnWidths:"GalleryPasteWithColumnWidths",FillColor:"FillColor",FillColorFullDesc:"FillColorFullDesc",FillColorKeyTip:"FillColorKeyTip",ColoredFillStyle0:"ColoredFillStyle0",ColoredFillStyle1:"ColoredFillStyle1",ColoredFillStyle2:"ColoredFillStyle2",ColoredFillStyle3:"ColoredFillStyle3",ColoredFillStyle4:"ColoredFillStyle4",ColoredFillStyle5:"ColoredFillStyle5",ColoredFillStyle6:"ColoredFillStyle6",BottomBorder:"BottomBorder",BottomBorderKeyTip:"BottomBorderKeyTip",TopBorder:"TopBorder",TopBorderKeyTip:"TopBorderKeyTip",LeftBorder:"LeftBorder",LeftBorderKeyTip:"LeftBorderKeyTip",RightBorder:"RightBorder",RightBorderKeyTip:"RightBorderKeyTip",NoBorder:"NoBorder",NoBorderKeyTip:"NoBorderKeyTip",AllBorders:"AllBorders",AllBordersKeyTip:"AllBordersKeyTip",OutsideBorders:"OutsideBorders",OutsideBordersKeyTip:"OutsideBordersKeyTip",ThickOutsideBorders:"ThickOutsideBorders",ThickOutsideBordersKeyTip:"ThickOutsideBordersKeyTip",BottomDoubleBorders:"BottomDoubleBorders",BottomDoubleBordersKeyTip:"BottomDoubleBordersKeyTip",ThickBottomBorders:"ThickBottomBorders",ThickBottomBordersKeyTip:"ThickBottomBordersKeyTip",TopAndBottomBorders:"TopAndBottomBorders",TopAndBottomBordersKeyTip:"TopAndBottomBordersKeyTip",TopAndThickBottomBorders:"TopAndThickBottomBorders",TopAndThickBottomBordersKeyTip:"TopAndThickBottomBordersKeyTip",TopAndDoubleBottomBorders:"TopAndDoubleBottomBorders",TopAndDoubleBottomBordersKeyTip:"TopAndDoubleBottomBordersKeyTip",BorderColor:"BorderColor",BorderColorKeyTip:"BorderColorKeyTip",GrowFontSize:"GrowFontSize",GrowFontSizeKeyTip:"GrowFontSizeKeyTip",ShrinkFontSize:"ShrinkFontSize",ShrinkFontSizeKeyTip:"ShrinkFontSizeKeyTip",IncreaseIndent:"IncreaseIndent",IncreaseIndentKeyTip:"IncreaseIndentKeyTip",DecreaseIndent:"DecreaseIndent",DecreaseIndentKeyTip:"DecreaseIndentKeyTip",Align:"Align",WorkbookStatisticsChartsLabel:"WorkbookStatisticsChartsLabel",WorkbookStatisticsCellsWithDataLabel:"WorkbookStatisticsCellsWithDataLabel",WorkbookStatisticsCommentsLabel:"WorkbookStatisticsCommentsLabel",WorkbookStatisticsContinuousDataRangesLabel:"WorkbookStatisticsContinuousDataRangesLabel",WorkbookStatisticsCurrentSheetLabel:"WorkbookStatisticsCurrentSheetLabel",WorkbookStatisticsEndOfSheetLabel:"WorkbookStatisticsEndOfSheetLabel",WorkbookStatisticsExternalConnectionsLabel:"WorkbookStatisticsExternalConnectionsLabel",WorkbookStatisticsFormulasLabel:"WorkbookStatisticsFormulasLabel",WorkbookStatisticsImagesLabel:"WorkbookStatisticsImagesLabel",WorkbookStatisticsWorkbookLabel:"WorkbookStatisticsWorkbookLabel",WorkbookStatisticsNotesLabel:"WorkbookStatisticsNotesLabel",WorkbookStatisticsObjectsLabel:"WorkbookStatisticsObjectsLabel",WorkbookStatisticsPivotTablesLabel:"WorkbookStatisticsPivotTablesLabel",WorkbookStatisticsSheetsLabel:"WorkbookStatisticsSheetsLabel",WorkbookStatisticsTablesLabel:"WorkbookStatisticsTablesLabel",Wrap:"Wrap",MLRWrap:"MLRWrap",WrapKeyTip:"WrapKeyTip",HorizontalAlignmentDropdownLabel:"HorizontalAlignmentDropdownLabel",IndentLabel:"IndentLabel",VerticalAlignmentDropdownLabel:"VerticalAlignmentDropdownLabel",JustifyDistributedLabel:"JustifyDistributedLabel",TextControlLabel:"TextControlLabel",TextDirectionLabel:"TextDirectionLabel",OrientationLabel:"OrientationLabel",FlipVerticalLabel:"FlipVerticalLabel",HorizontalAlignmentOptionsGeneral:"HorizontalAlignmentOptionsGeneral",HorizontalAlignmentOptionsLeft:"HorizontalAlignmentOptionsLeft",HorizontalAlignmentOptionsCenter:"HorizontalAlignmentOptionsCenter",HorizontalAlignmentOptionsRight:"HorizontalAlignmentOptionsRight",HorizontalAlignmentOptionsFill:"HorizontalAlignmentOptionsFill",HorizontalAlignmentOptionsJustify:"HorizontalAlignmentOptionsJustify",HorizontalAlignmentOptionsCenterAcrossSelection:"HorizontalAlignmentOptionsCenterAcrossSelection",HorizontalAlignmentOptionsDistributed:"HorizontalAlignmentOptionsDistributed",AlignmentContextTextDirection:"AlignmentContextTextDirection",AlignmentLeftToRightTextDirection:"AlignmentLeftToRightTextDirection",AlignmentRightToLeftTextDirection:"AlignmentRightToLeftTextDirection",VerticalAlignmentOptionsTop:"VerticalAlignmentOptionsTop",VerticalAlignmentOptionsCenter:"VerticalAlignmentOptionsCenter",VerticalAlignmentOptionsBottom:"VerticalAlignmentOptionsBottom",VerticalAlignmentOptionsJustify:"VerticalAlignmentOptionsJustify",VerticalAlignmentOptionsDistributed:"VerticalAlignmentOptionsDistributed",AlignmentTextControlWrapText:"AlignmentTextControlWrapText",AlignmentTextControlShrinkToFit:"AlignmentTextControlShrinkToFit",AlignmentTextControlMergeCells:"AlignmentTextControlMergeCells",NumberFormatGeneral:"NumberFormatGeneral",NumberFormatNumber:"NumberFormatNumber",NumberFormatCurrency:"NumberFormatCurrency",NumberFormatAccounting:"NumberFormatAccounting",NumberFormatAccountingKeyTip:"NumberFormatAccountingKeyTip",NumberFormatAccountingCurrencySymbol:"NumberFormatAccountingCurrencySymbol",NumberFormatDateShort:"NumberFormatDateShort",NumberFormatDateLong:"NumberFormatDateLong",NumberFormatTime:"NumberFormatTime",NumberFormatComma:"NumberFormatComma",NumberFormatCommaKeyTip:"NumberFormatCommaKeyTip",NumberFormatPercentage:"NumberFormatPercentage",NumberFormatPercentageKeyTip:"NumberFormatPercentageKeyTip",NumberFormatFraction:"NumberFormatFraction",NumberFormatScientific:"NumberFormatScientific",NumberFormatText:"NumberFormatText",NumberFormatMore:"NumberFormatMore",NumberFormatLocaleLearnMore:"NumberFormatLocaleLearnMore",NumberFormatLocaleInfo:"NumberFormatLocaleInfo",NumberFormatLocaleInputCalendarLabel:"NumberFormatLocaleInputCalendarLabel",NumberFormatLocale:"NumberFormatLocale",NumberFormatLocaleCalendarType:"NumberFormatLocaleCalendarType",NumberFormatLocaleGannen:"NumberFormatLocaleGannen",NumberFormatLocaleApplyButtonText:"NumberFormatLocaleApplyButtonText",NumberFormatLocaleApplyButtonToolTip:"NumberFormatLocaleApplyButtonToolTip",IncreaseDecimal:"IncreaseDecimal",IncreaseDecimalKeyTip:"IncreaseDecimalKeyTip",DecreaseDecimal:"DecreaseDecimal",DecreaseDecimalKeyTip:"DecreaseDecimalKeyTip",InsertCheckboxRibbon:"InsertCheckboxRibbon",InsertCheckboxRibbonKeyTip:"InsertCheckboxRibbonKeyTip",InsertInCellDropdownRibbon:"InsertInCellDropdownRibbon",InsertInCellDropdownRibbonKeyTip:"InsertInCellDropdownRibbonKeyTip",Format:"Format",FormatKeyTip:"FormatKeyTip",RowHeight:"RowHeight",RowHeightKeyTip:"RowHeightKeyTip",RowHeightAutoFit:"RowHeightAutoFit",RowHeightAutoFitKeyTip:"RowHeightAutoFitKeyTip",ColumnWidth:"ColumnWidth",ColumnWidthKeyTip:"ColumnWidthKeyTip",ColumnWidthAutoFit:"ColumnWidthAutoFit",ColumnWidthAutoFitKeyTip:"ColumnWidthAutoFitKeyTip",ColumnRowHideUnhide:"ColumnRowHideUnhide",ColumnRowHideUnhideKeyTip:"ColumnRowHideUnhideKeyTip",RenameSheet:"RenameSheet",RenameSheetKeyTip:"RenameSheetKeyTip",ReorderSheet:"ReorderSheet",ReorderSheetKeyTip:"ReorderSheetKeyTip",DuplicateSheet:"DuplicateSheet",DuplicateSheetKeyTip:"DuplicateSheetKeyTip",HideRows:"HideRows",HideRowsKeyTip:"HideRowsKeyTip",HideColumns:"HideColumns",HideColumnsKeyTip:"HideColumnsKeyTip",HideSheet:"HideSheet",HideSheetKeyTip:"HideSheetKeyTip",HyperLinkDisplayTextLabel:"HyperLinkDisplayTextLabel",HyperLinkMailPlaceHolder:"HyperLinkMailPlaceHolder",HyperLinkMailRadioButtonLabel:"HyperLinkMailRadioButtonLabel",HyperLinkRadioButtonDescription:"HyperLinkRadioButtonDescription",HyperLinkRefPlaceHolder:"HyperLinkRefPlaceHolder",HyperLinkRefRadioButtonLabel:"HyperLinkRefRadioButtonLabel",HyperLinkUrlPlaceHolder:"HyperLinkUrlPlaceHolder",HyperLinkUrlRadioButtonLabel:"HyperLinkUrlRadioButtonLabel",UnhideRows:"UnhideRows",UnhideRowsKeyTip:"UnhideRowsKeyTip",UnhideColumns:"UnhideColumns",UnhideColumnsKeyTip:"UnhideColumnsKeyTip",UnhideSheet:"UnhideSheet",UnhideSheetKeyTip:"UnhideSheetKeyTip",InsertCells:"InsertCells",InsertCellsKeyTip:"InsertCellsKeyTip",DeleteCells:"DeleteCells",DeleteCellsKeyTip:"DeleteCellsKeyTip",ClearCells:"ClearCells",ClearCellsKeyTip:"ClearCellsKeyTip",CreateTable:"CreateTable",CreateTableKeyTip:"CreateTableKeyTip",ToggleHeaderRow:"ToggleHeaderRow",ToggleHeaderRowKeyTip:"ToggleHeaderRowKeyTip",ToggleTotalRow:"ToggleTotalRow",ToggleTotalRowKeyTip:"ToggleTotalRowKeyTip",InsertCopiedCells:"InsertCopiedCells",InsertCopiedCellsKeyTip:"InsertCopiedCellsKeyTip",InsertCopiedCutCellsLabel:"InsertCopiedCutCellsLabel",InsertCopiedCutCellsLabelshiftCellsRight:"InsertCopiedCutCellsLabelshiftCellsRight",InsertCopiedCutCellsLabelshiftCellsDown:"InsertCopiedCutCellsLabelshiftCellsDown",InsertCopiedCutCellsLabelshiftCellsLeft:"InsertCopiedCutCellsLabelshiftCellsLeft",InsertRowsSheet:"InsertRowsSheet",InsertRowsSheetKeyTip:"InsertRowsSheetKeyTip",InsertRowsSheetAbove:"InsertRowsSheetAbove",InsertColumnsSheet:"InsertColumnsSheet",InsertColumnsSheetKeyTip:"InsertColumnsSheetKeyTip",InsertRowsTable:"InsertRowsTable",InsertRowsTableKeyTip:"InsertRowsTableKeyTip",InsertColumnsTable:"InsertColumnsTable",InsertColumnsTableKeyTip:"InsertColumnsTableKeyTip",InsertCellsShiftRight:"InsertCellsShiftRight",InsertCellsShiftRightKeyTip:"InsertCellsShiftRightKeyTip",InsertCellsShiftDown:"InsertCellsShiftDown",InsertCellsShiftDownKeyTip:"InsertCellsShiftDownKeyTip",InsertShapeArrow:"InsertShapeArrow",InsertShapeAlternateProcess:"InsertShapeAlternateProcess",InsertShapeArc:"InsertShapeArc",InsertShapeBasicShapesTitle:"InsertShapeBasicShapesTitle",InsertShapeBentArrow:"InsertShapeBentArrow",InsertShapeBentUpArrow:"InsertShapeBentUpArrow",InsertShapeBevel:"InsertShapeBevel",InsertShapeBlockArc:"InsertShapeBlockArc",InsertShapeBlockArrowsTitle:"InsertShapeBlockArrowsTitle",InsertShapeCalloutsTitle:"InsertShapeCalloutsTitle",InsertShapeCan:"InsertShapeCan",InsertShapeCard:"InsertShapeCard",InsertShapeChevron:"InsertShapeChevron",InsertShapeChord:"InsertShapeChord",InsertShapeCircularArrow:"InsertShapeCircularArrow",InsertShapeCloud:"InsertShapeCloud",InsertShapeCloudCallout:"InsertShapeCloudCallout",InsertShapeCollate:"InsertShapeCollate",InsertShapeCommonShapesTitle:"InsertShapeCommonShapesTitle",InsertShapeConnector:"InsertShapeConnector",InsertShapeCross:"InsertShapeCross",InsertShapeCube:"InsertShapeCube",InsertShapeCurvedArrowConnector:"InsertShapeCurvedArrowConnector",InsertShapeCurvedConnector:"InsertShapeCurvedConnector",InsertShapeCurvedDoubleArrowConnector:"InsertShapeCurvedDoubleArrowConnector",InsertShapeCurvedDownArrow:"InsertShapeCurvedDownArrow",InsertShapeCurvedDownRibbon:"InsertShapeCurvedDownRibbon",InsertShapeCurvedLeftArrow:"InsertShapeCurvedLeftArrow",InsertShapeCurvedRightArrow:"InsertShapeCurvedRightArrow",InsertShapeCurvedUpArrow:"InsertShapeCurvedUpArrow",InsertShapeCurvedUpRibbon:"InsertShapeCurvedUpRibbon",InsertShapeData:"InsertShapeData",InsertShapeDecagon:"InsertShapeDecagon",InsertShapeDecision:"InsertShapeDecision",InsertShapeDelay:"InsertShapeDelay",InsertShapeDiagonalStripe:"InsertShapeDiagonalStripe",InsertShapeDiamond:"InsertShapeDiamond",InsertShapeDirectAccessStorage:"InsertShapeDirectAccessStorage",InsertShapeDisplay:"InsertShapeDisplay",InsertShapeDocument:"InsertShapeDocument",InsertShapeDodecagon:"InsertShapeDodecagon",InsertShapeDonut:"InsertShapeDonut",InsertShapeDoubleArrow:"InsertShapeDoubleArrow",InsertShapeDoubleBrace:"InsertShapeDoubleBrace",InsertShapeDoubleBracket:"InsertShapeDoubleBracket",InsertShapeDoubleWave:"InsertShapeDoubleWave",InsertShapeDownArrow:"InsertShapeDownArrow",InsertShapeDownArrowCallout:"InsertShapeDownArrowCallout",InsertShapeDownRibbon:"InsertShapeDownRibbon",InsertShapeElbowArrowConnector:"InsertShapeElbowArrowConnector",InsertShapeElbowConnector:"InsertShapeElbowConnector",InsertShapeElbowDoubleArrowConnector:"InsertShapeElbowDoubleArrowConnector",InsertShapeEllipse:"InsertShapeEllipse",InsertShapeEquationsTitle:"InsertShapeEquationsTitle",InsertShapeExplosion1:"InsertShapeExplosion1",InsertShapeExplosion2:"InsertShapeExplosion2",InsertShapeExtract:"InsertShapeExtract",InsertShapeFlowchartTitle:"InsertShapeFlowchartTitle",InsertShapeFoldedCorner:"InsertShapeFoldedCorner",InsertShapeFrame:"InsertShapeFrame",InsertShapeHalfFrame:"InsertShapeHalfFrame",InsertShapeHeart:"InsertShapeHeart",InsertShapeHeptagon:"InsertShapeHeptagon",InsertShapeHexagon:"InsertShapeHexagon",InsertShapeHorizontalScroll:"InsertShapeHorizontalScroll",InsertShapeIsoscelesTriangle:"InsertShapeIsoscelesTriangle",InsertShapeInternalStorage:"InsertShapeInternalStorage",InsertShapeLeftArrow:"InsertShapeLeftArrow",InsertShapeLeftArrowCallout:"InsertShapeLeftArrowCallout",InsertShapeLeftBrace:"InsertShapeLeftBrace",InsertShapeLeftBracket:"InsertShapeLeftBracket",InsertShapeLeftRightArrow:"InsertShapeLeftRightArrow",InsertShapeLeftRightArrowCallout:"InsertShapeLeftRightArrowCallout",InsertShapeLeftRightUpArrow:"InsertShapeLeftRightUpArrow",InsertShapeLeftUpArrow:"InsertShapeLeftUpArrow",InsertShapeLightningBolt:"InsertShapeLightningBolt",InsertShapeLine:"InsertShapeLine",InsertShapeLineCallout1:"InsertShapeLineCallout1",InsertShapeLineCallout1Accent:"InsertShapeLineCallout1Accent",InsertShapeLineCallout1BorderAccent:"InsertShapeLineCallout1BorderAccent",InsertShapeLineCallout1NoBorder:"InsertShapeLineCallout1NoBorder",InsertShapeLineCallout2:"InsertShapeLineCallout2",InsertShapeLineCallout2Accent:"InsertShapeLineCallout2Accent",InsertShapeLineCallout2BorderAccent:"InsertShapeLineCallout2BorderAccent",InsertShapeLineCallout2NoBorder:"InsertShapeLineCallout2NoBorder",InsertShapeLineCallout3:"InsertShapeLineCallout3",InsertShapeLineCallout3Accent:"InsertShapeLineCallout3Accent",InsertShapeLineCallout3BorderAccent:"InsertShapeLineCallout3BorderAccent",InsertShapeLineCallout3NoBorder:"InsertShapeLineCallout3NoBorder",InsertShapeLinesTitle:"InsertShapeLinesTitle",InsertShapeLShape:"InsertShapeLShape",InsertShapeMagneticDisk:"InsertShapeMagneticDisk",InsertShapeManualInput:"InsertShapeManualInput",InsertShapeManualOperation:"InsertShapeManualOperation",InsertShapeMathDivide:"InsertShapeMathDivide",InsertShapeMathEqual:"InsertShapeMathEqual",InsertShapeMathMinus:"InsertShapeMathMinus",InsertShapeMathMultiply:"InsertShapeMathMultiply",InsertShapeMathNotEqual:"InsertShapeMathNotEqual",InsertShapeMathPlus:"InsertShapeMathPlus",InsertShapeMerge:"InsertShapeMerge",InsertShapeMoon:"InsertShapeMoon",InsertShapeMultidocument:"InsertShapeMultidocument",InsertShapeNoSymbol:"InsertShapeNoSymbol",InsertShapeNotchedRightArrow:"InsertShapeNotchedRightArrow",InsertShapeOctagon:"InsertShapeOctagon",InsertShapeOffpageConnector:"InsertShapeOffpageConnector",InsertShapeOr:"InsertShapeOr",InsertShapeOvalCallout:"InsertShapeOvalCallout",InsertShapeParallelogram:"InsertShapeParallelogram",InsertShapePentagon:"InsertShapePentagon",InsertShapePie:"InsertShapePie",InsertShapePlaque:"InsertShapePlaque",InsertShapePredefinedProcess:"InsertShapePredefinedProcess",InsertShapePreparation:"InsertShapePreparation",InsertShapeProcess:"InsertShapeProcess",InsertShapePunchedTape:"InsertShapePunchedTape",InsertShapeQuadArrow:"InsertShapeQuadArrow",InsertShapeQuadArrowCallout:"InsertShapeQuadArrowCallout",InsertShapeRectangle:"InsertShapeRectangle",InsertShapeRectanglesTitle:"InsertShapeRectanglesTitle",InsertShapeRectangularCallout:"InsertShapeRectangularCallout",InsertShapeRightArrow:"InsertShapeRightArrow",InsertShapeRightArrowCallout:"InsertShapeRightArrowCallout",InsertShapeRightBrace:"InsertShapeRightBrace",InsertShapeRightBracket:"InsertShapeRightBracket",InsertShapeRightTriangle:"InsertShapeRightTriangle",InsertShapeRoundSingleCornerRectangle:"InsertShapeRoundSingleCornerRectangle",InsertShapeRoundDiagonalCornerRectangle:"InsertShapeRoundDiagonalCornerRectangle",InsertShapeRoundedRectangle:"InsertShapeRoundedRectangle",InsertShapeRoundedRectangleCallout:"InsertShapeRoundedRectangleCallout",InsertShapeRoundSameSideCornerRectangle:"InsertShapeRoundSameSideCornerRectangle",InsertShapeSequentialActionStorage:"InsertShapeSequentialActionStorage",InsertShapesGroupTitle:"InsertShapesGroupTitle",InsertShapeSmileyFace:"InsertShapeSmileyFace",InsertShapeSnipDiagonalCornerRectangle:"InsertShapeSnipDiagonalCornerRectangle",InsertShapeSnipRoundSingleCornerRectangle:"InsertShapeSnipRoundSingleCornerRectangle",InsertShapeSnipSameSideCornerRectangle:"InsertShapeSnipSameSideCornerRectangle",InsertShapeSnipSingleCornerRectangle:"InsertShapeSnipSingleCornerRectangle",InsertShapeSort:"InsertShapeSort",InsertShape4PointStar:"InsertShape4PointStar",InsertShape6PointStar:"InsertShape6PointStar",InsertShape7PointStar:"InsertShape7PointStar",InsertShape8PointStar:"InsertShape8PointStar",InsertShape10PointStar:"InsertShape10PointStar",InsertShape12PointStar:"InsertShape12PointStar",InsertShape16PointStar:"InsertShape16PointStar",InsertShape24PointStar:"InsertShape24PointStar",InsertShape32PointStar:"InsertShape32PointStar",InsertShapeStar5:"InsertShapeStar5",InsertShapeStarsandBannersTitle:"InsertShapeStarsandBannersTitle",InsertShapeStoredData:"InsertShapeStoredData",InsertShapeStraightConnector:"InsertShapeStraightConnector",InsertShapeStraightConnectorArrow:"InsertShapeStraightConnectorArrow",InsertShapeStraightConnectorTwoArrow:"InsertShapeStraightConnectorTwoArrow",InsertShapeStripedRightArrow:"InsertShapeStripedRightArrow",InsertShapeSummingJunction:"InsertShapeSummingJunction",InsertShapeSun:"InsertShapeSun",InsertShapeTeardrop:"InsertShapeTeardrop",InsertShapeTerminator:"InsertShapeTerminator",InsertShapeTextBox:"InsertShapeTextBox",InsertShapeTextBoxKeytip:"InsertShapeTextBoxKeytip",InsertShapeTrapezoid:"InsertShapeTrapezoid",InsertShapeTriangle:"InsertShapeTriangle",InsertShapeUpArrow:"InsertShapeUpArrow",InsertShapeUpArrowCallout:"InsertShapeUpArrowCallout",InsertShapeUpDownArrow:"InsertShapeUpDownArrow",InsertShapeUpRibbon:"InsertShapeUpRibbon",InsertShapeUTurnArrow:"InsertShapeUTurnArrow",InsertShapeVerticalScroll:"InsertShapeVerticalScroll",InsertShapeWave:"InsertShapeWave",InsertSheet:"InsertSheet",InsertSheetKeyTip:"InsertSheetKeyTip",DeleteRowsSheet:"DeleteRowsSheet",DeleteRows:"DeleteRows",DeleteRowsSheetKeyTip:"DeleteRowsSheetKeyTip",DeleteColumnsSheet:"DeleteColumnsSheet",DeleteColumns:"DeleteColumns",DeleteColumnsSheetKeyTip:"DeleteColumnsSheetKeyTip",DeleteRowsTable:"DeleteRowsTable",DeleteRowsTableKeyTip:"DeleteRowsTableKeyTip",DeleteColumnsTable:"DeleteColumnsTable",DeleteColumnsTableKeyTip:"DeleteColumnsTableKeyTip",DeleteCellsShiftLeft:"DeleteCellsShiftLeft",DeleteCellsShiftLeftKeyTip:"DeleteCellsShiftLeftKeyTip",DeleteCellsShiftUp:"DeleteCellsShiftUp",DeleteCellsShiftUpKeyTip:"DeleteCellsShiftUpKeyTip",DeleteSheet:"DeleteSheet",DeleteSheetKeyTip:"DeleteSheetKeyTip",ClearAll:"ClearAll",ClearAllKeyTip:"ClearAllKeyTip",ClearFormats:"ClearFormats",ClearFormatsKeyTip:"ClearFormatsKeyTip",ClearContent:"ClearContent",ClearContentKeyTip:"ClearContentKeyTip",ClearComments:"ClearComments",ClearCommentsKeyTip:"ClearCommentsKeyTip",ClearNotes:"ClearNotes",ClearNotesKeyTip:"ClearNotesKeyTip",RemoveHyperLinks:"RemoveHyperLinks",RemoveHyperLinksKeyTip:"RemoveHyperLinksKeyTip",AutoSumSum:"AutoSumSum",AutoSumSumKeyTip:"AutoSumSumKeyTip",AutoSumAverage:"AutoSumAverage",AutoSumAverageKeyTip:"AutoSumAverageKeyTip",AutoSumCount:"AutoSumCount",AutoSumAdd:"AutoSumAdd",AutoSumAddKeyTip:"AutoSumAddKeyTip",AutoSumMinus:"AutoSumMinus",AutoSumMinusKeyTip:"AutoSumMinusKeyTip",AutoSumMultiply:"AutoSumMultiply",AutoSumMultiplyKeyTip:"AutoSumMultiplyKeyTip",AutoSumDivide:"AutoSumDivide",AutoSumDivideKeyTip:"AutoSumDivideKeyTip",AutoSumCountKeyTip:"AutoSumCountKeyTip",AutoSumMax:"AutoSumMax",AutoSumMaxKeyTip:"AutoSumMaxKeyTip",AutoSumMin:"AutoSumMin",AutoSumMinKeyTip:"AutoSumMinKeyTip",AutoSumMore:"AutoSumMore",AutoSumMoreKeyTip:"AutoSumMoreKeyTip",CustomSort:"CustomSort",CustomSortKeyTip:"CustomSortKeyTip",AutoFilterToggle:"AutoFilterToggle",AutoFilterToggleKeyTip:"AutoFilterToggleKeyTip",AutoFilterClear:"AutoFilterClear",AutoFilterClearKeyTip:"AutoFilterClearKeyTip",AutoFilterReapply:"AutoFilterReapply",AutoFilterReapplyKeyTip:"AutoFilterReapplyKeyTip",ShowDatePicker:"ShowDatePicker",ShowDatePickerMac:"ShowDatePickerMac",FocusDatePicker:"FocusDatePicker",LoadBlockEmptyTextboxes:"LoadBlockEmptyTextboxes",LoadBlockEmptyTextboxesDescription:"LoadBlockEmptyTextboxesDescription",LoadBlockInvalidImages:"LoadBlockInvalidImages",LoadBlockInvalidImagesDescription:"LoadBlockInvalidImagesDescription",LoadBlockInvalidShapes:"LoadBlockInvalidShapes",LoadBlockInvalidShapesDescription:"LoadBlockInvalidShapesDescription",LoadBlockingFloatingObjectsDirective:"LoadBlockingFloatingObjectsDirective",LoadBlockingFloatingObjectsLearnMore:"LoadBlockingFloatingObjectsLearnMore",GiveFeedBackButtonText:"GiveFeedBackButtonText",LoadBlockingFloatingObjectsRemoveButtonText:"LoadBlockingFloatingObjectsRemoveButtonText",LoadBlockingFloatingObjectsSkipButtonText:"LoadBlockingFloatingObjectsSkipButtonText",LoadBlockingFloatingObjectsSkipTooltipText:"LoadBlockingFloatingObjectsSkipTooltipText",FindAndSelect:"FindAndSelect",FindAndSelectKeyTip:"FindAndSelectKeyTip",FindAndReplace:"FindAndReplace",FindAndReplaceKeyTip:"FindAndReplaceKeyTip",FindAndReplaceDialogInserTextPlaceHolder:"FindAndReplaceDialogInserTextPlaceHolder",FindAndReplaceDialogFindLabel:"FindAndReplaceDialogFindLabel",FindAndReplaceDialogReplaceLabel:"FindAndReplaceDialogReplaceLabel",FindAndReplaceDialogMatchCaseCheckBox:"FindAndReplaceDialogMatchCaseCheckBox",FindAndReplaceDialogMatchContent:"FindAndReplaceDialogMatchContent",FindAndReplaceDialogSearchOptionsLabel:"FindAndReplaceDialogSearchOptionsLabel",FindAndReplaceDialogWithinDropDown:"FindAndReplaceDialogWithinDropDown",FindAndReplaceDialogDirectionDropDown:"FindAndReplaceDialogDirectionDropDown",FindAndReplaceDialogSelectionLabel:"FindAndReplaceDialogSelectionLabel",FindAndReplaceDialogSheetLabel:"FindAndReplaceDialogSheetLabel",FindAndReplaceDialogWorkbookLabel:"FindAndReplaceDialogWorkbookLabel",FindAndReplaceDialogUpLabel:"FindAndReplaceDialogUpLabel",FindAndReplaceDialogDownLabel:"FindAndReplaceDialogDownLabel",FindAndReplaceDialogFindAllResultTitleCell:"FindAndReplaceDialogFindAllResultTitleCell",FindAndReplaceDialogFindAllResultTitleValue:"FindAndReplaceDialogFindAllResultTitleValue",FindAndReplaceDialogNoOccurrencesFound:"FindAndReplaceDialogNoOccurrencesFound",FindAndReplaceDialogFindInvalidFindContent:"FindAndReplaceDialogFindInvalidFindContent",FindAndReplaceDialogFindWildcardsExampleText:"FindAndReplaceDialogFindWildcardsExampleText",FindAndReplaceDialogWildcardLink:"FindAndReplaceDialogWildcardLink",FindAndReplaceDialogWildcardLinkDescription:"FindAndReplaceDialogWildcardLinkDescription",FindAndReplaceFindHeaderLabel:"FindAndReplaceFindHeaderLabel",FindAndReplaceReplaceAllSuccessCount:"FindAndReplaceReplaceAllSuccessCount",GoTo:"GoTo",GoToKeyTip:"GoToKeyTip",MsForms:"MsForms",MsFormInsert:"MsFormInsert",MsFormInsertKeyTip:"MsFormInsertKeyTip",MsFormPreview:"MsFormPreview",MsFormPreviewKeyTip:"MsFormPreviewKeyTip",MsFormEdit:"MsFormEdit",MsFormEditKeyTip:"MsFormEditKeyTip",MsFormSend:"MsFormSend",MsFormSendKeyTip:"MsFormSendKeyTip",MsFormDelete:"MsFormDelete",PreviousComment:"PreviousComment",PreviousCommentKeyTip:"PreviousCommentKeyTip",NextComment:"NextComment",NextCommentKeyTip:"NextCommentKeyTip",OverflowWell0Keytip:"OverflowWell0Keytip",OverflowWell1Keytip:"OverflowWell1Keytip",OverflowWell2Keytip:"OverflowWell2Keytip",OverflowWell3Keytip:"OverflowWell3Keytip",OverflowWell4Keytip:"OverflowWell4Keytip",OverflowWell5Keytip:"OverflowWell5Keytip",OverflowWell6Keytip:"OverflowWell6Keytip",OverflowWell7Keytip:"OverflowWell7Keytip",OverflowWell8Keytip:"OverflowWell8Keytip",OverflowWellLabel:"OverflowWellLabel",Borders:"Borders",BordersKeyTip:"BordersKeyTip",TextAlignment:"TextAlignment",Indent:"Indent",MergeUnmerge:"MergeUnmerge",CellSize:"CellSize",OrganizeSheets:"OrganizeSheets",Visibility:"Visibility",InsertPictures:"InsertPictures",InsertFilters:"InsertFilters",FreezePortionOfSheet:"FreezePortionOfSheet",GradientFill:"GradientFill",SolidFill:"SolidFill",IconSetsDirectional:"IconSetsDirectional",IconSetsShapes:"IconSetsShapes",IconSetsIndicators:"IconSetsIndicators",IconSetsRatings:"IconSetsRatings",EditInExcel:"EditInExcel",OpenInDesktop:"OpenInDesktop",OpenInApp:"OpenInApp",OpenFilesFromDevice:"OpenFilesFromDevice",OpenFilesFromDeviceDescription:"OpenFilesFromDeviceDescription",DocChatLabel:"DocChatLabel",ShapeShapes:"ShapeShapes",ShapeLines:"ShapeLines",ShapeRectangles:"ShapeRectangles",ShapeBasicShapes:"ShapeBasicShapes",ShapeBlockArrows:"ShapeBlockArrows",ShapeEquationShapes:"ShapeEquationShapes",ShapeFlowchart:"ShapeFlowchart",ShapeStarsBanners:"ShapeStarsBanners",ShapeCallouts:"ShapeCallouts",InsertChart:"InsertChart",InsertChartKeyTip:"InsertChartKeyTip",ChangeChartType:"ChangeChartType",ChangeChartTypeKeyTip:"ChangeChartTypeKeyTip",ChartTypeColumn:"ChartTypeColumn",ChartTypeLine:"ChartTypeLine",ChartTypePie:"ChartTypePie",ChartTypeBar:"ChartTypeBar",ChartTypeBarKeyTip:"ChartTypeBarKeyTip",ChartTypeArea:"ChartTypeArea",ChartTypeAreaKeyTip:"ChartTypeAreaKeyTip",ChartTypeHierarchical:"ChartTypeHierarchical",ChartTypeScatter:"ChartTypeScatter",ChartTypeScatterKeyTip:"ChartTypeScatterKeyTip",ChartTypeCombo:"ChartTypeCombo",ChartTypeComboKeyTip:"ChartTypeComboKeyTip",ChartTypeStatistical:"ChartTypeStatistical",ChartTypeStatisticalKeyTip:"ChartTypeStatisticalKeyTip",ChartTypeOther:"ChartTypeOther",ChartTypeOtherKeyTip:"ChartTypeOtherKeyTip",ChartTypeClusteredColumnToolTip:"ChartTypeClusteredColumnToolTip",ChartTypeStackedColumnToolTip:"ChartTypeStackedColumnToolTip",ChartTypePercentStackedColumnToolTip:"ChartTypePercentStackedColumnToolTip",ChartTypeLineToolTip:"ChartTypeLineToolTip",ChartTypeStackedLineToolTip:"ChartTypeStackedLineToolTip",ChartTypePercentStackedlineToolTip:"ChartTypePercentStackedlineToolTip",ChartTypeLinewithmarkersToolTip:"ChartTypeLinewithmarkersToolTip",ChartTypeStackedlinewithmarkersToolTip:"ChartTypeStackedlinewithmarkersToolTip",ChartTypePercentStackedlinewithmarkersToolTip:"ChartTypePercentStackedlinewithmarkersToolTip",ChartTypePieToolTip:"ChartTypePieToolTip",ChartTypeDoughnutToolTip:"ChartTypeDoughnutToolTip",ChartTypeClusteredBarToolTip:"ChartTypeClusteredBarToolTip",ChartTypeStackedBarToolTip:"ChartTypeStackedBarToolTip",ChartTypePercentStackedBarToolTip:"ChartTypePercentStackedBarToolTip",ChartTypeAreaToolTip:"ChartTypeAreaToolTip",ChartTypeStackedAreaToolTip:"ChartTypeStackedAreaToolTip",ChartTypePercentStackedAreaToolTip:"ChartTypePercentStackedAreaToolTip",ChartTypeScatterToolTip:"ChartTypeScatterToolTip",ChartTypeScatterwithsmoothedLinesToolTip:"ChartTypeScatterwithsmoothedLinesToolTip",ChartTypeScatterwithsmoothedLineswithoutmarkersToolTip:"ChartTypeScatterwithsmoothedLineswithoutmarkersToolTip",ChartTypeScatterwithlinesToolTip:"ChartTypeScatterwithlinesToolTip",ChartTypeScatterwithlineswithoutmarkersToolTip:"ChartTypeScatterwithlineswithoutmarkersToolTip",ChartTypeWaterfallToolTip:"ChartTypeWaterfallToolTip",ChartTypeFunnelToolTip:"ChartTypeFunnelToolTip",ChartTypeTreemapToolTip:"ChartTypeTreemapToolTip",ChartTypeSunburstToolTip:"ChartTypeSunburstToolTip",ChartTypeHistogramToolTip:"ChartTypeHistogramToolTip",ChartTypeParetoToolTip:"ChartTypeParetoToolTip",ChartTypeBoxAndWhiskerToolTip:"ChartTypeBoxAndWhiskerToolTip",ChartTypeRadarToolTip:"ChartTypeRadarToolTip",ChartTypeRadarwithmarkersateachdatapointToolTip:"ChartTypeRadarwithmarkersateachdatapointToolTip",ChartTypeFilledRadarToolTip:"ChartTypeFilledRadarToolTip",ChartTypeComboColumnClusteredLine:"ChartTypeComboColumnClusteredLine",ChartTypeComboColumnClusteredLineSecondaryAxis:"ChartTypeComboColumnClusteredLineSecondaryAxis",ChartTypeComboAreaStackedColumnClustered:"ChartTypeComboAreaStackedColumnClustered",ChartEditData:"ChartEditData",ChartEditDataNew:"ChartEditDataNew",ChartEditDataKeyTip:"ChartEditDataKeyTip",ChartSwitchRowColumn:"ChartSwitchRowColumn",ChartSwitchRowColumnKeyTip:"ChartSwitchRowColumnKeyTip",ChartTitle:"ChartTitle",ChartTitleKeyTip:"ChartTitleKeyTip",ChartNone:"ChartNone",ChartNoneKeyTip:"ChartNoneKeyTip",ChartTitleOverlay:"ChartTitleOverlay",ChartTitleOverlayKeyTip:"ChartTitleOverlayKeyTip",ChartTitleCentered:"ChartTitleCentered",ChartTitleCenteredKeyTip:"ChartTitleCenteredKeyTip",ChartTitleEdit:"ChartTitleEdit",ChartTitleEditKeyTip:"ChartTitleEditKeyTip",ChartTitleNoneDescription:"ChartTitleNoneDescription",ChartTitleOverlayDescription:"ChartTitleOverlayDescription",ChartTitleCenteredDescription:"ChartTitleCenteredDescription",ChartTitleEditDescription:"ChartTitleEditDescription",ChartAxisTitle:"ChartAxisTitle",ChartAxisTitleKeyTip:"ChartAxisTitleKeyTip",ChartLegend:"ChartLegend",ChartLegendKeyTip:"ChartLegendKeyTip",ChartDataLabels:"ChartDataLabels",ChartDataLabelsKeyTip:"ChartDataLabelsKeyTip",ChartDataTable:"ChartDataTable",ChartDataTableKeyTip:"ChartDataTableKeyTip",ChartAxes:"ChartAxes",ChartAxesKeyTip:"ChartAxesKeyTip",ChartGridlines:"ChartGridlines",ChartGridlinesKeyTip:"ChartGridlinesKeyTip",ChartAxisTitleHorizontal:"ChartAxisTitleHorizontal",ChartAxisTitleHorizontalKeyTip:"ChartAxisTitleHorizontalKeyTip",ChartAxisTitleVertical:"ChartAxisTitleVertical",ChartAxisTitleVerticalKeyTip:"ChartAxisTitleVerticalKeyTip",ChartAxisTitleHorizontalBelow:"ChartAxisTitleHorizontalBelow",ChartAxisTitleHorizontalBelowKeyTip:"ChartAxisTitleHorizontalBelowKeyTip",ChartAxisTitleHorizontalEdit:"ChartAxisTitleHorizontalEdit",ChartAxisTitleHorizontalEditKeyTip:"ChartAxisTitleHorizontalEditKeyTip",ChartAxisTitleHorizontalNoneDescription:"ChartAxisTitleHorizontalNoneDescription",ChartAxisTitleHorizontalBelowDescription:"ChartAxisTitleHorizontalBelowDescription",ChartAxisTitleHorizontalEditDescription:"ChartAxisTitleHorizontalEditDescription",ChartAxisTitleVerticalRotated:"ChartAxisTitleVerticalRotated",ChartAxisTitleVerticalRotatedKeyTip:"ChartAxisTitleVerticalRotatedKeyTip",ChartAxisTitleVerticalVertical:"ChartAxisTitleVerticalVertical",ChartAxisTitleVerticalVerticalKeyTip:"ChartAxisTitleVerticalVerticalKeyTip",ChartAxisTitleVerticalHorizontal:"ChartAxisTitleVerticalHorizontal",ChartAxisTitleVerticalHorizontalKeyTip:"ChartAxisTitleVerticalHorizontalKeyTip",ChartAxisTitleVerticalEdit:"ChartAxisTitleVerticalEdit",ChartAxisTitleVerticalEditKeyTip:"ChartAxisTitleVerticalEditKeyTip",ChartAxisTitleVerticalNoneDescription:"ChartAxisTitleVerticalNoneDescription",ChartAxisTitleVerticalRotatedDescription:"ChartAxisTitleVerticalRotatedDescription",ChartAxisTitleVerticalVerticalDescription:"ChartAxisTitleVerticalVerticalDescription",ChartAxisTitleVerticalHorizontalDescription:"ChartAxisTitleVerticalHorizontalDescription",ChartAxisTitleVerticalEditDescription:"ChartAxisTitleVerticalEditDescription",ChartAxisLegendRight:"ChartAxisLegendRight",ChartAxisLegendRightKeyTip:"ChartAxisLegendRightKeyTip",ChartAxisLegendTop:"ChartAxisLegendTop",ChartAxisLegendTopKeyTip:"ChartAxisLegendTopKeyTip",ChartAxisLegendLeft:"ChartAxisLegendLeft",ChartAxisLegendLeftKeyTip:"ChartAxisLegendLeftKeyTip",ChartAxisLegendBottom:"ChartAxisLegendBottom",ChartAxisLegendBottomKeyTip:"ChartAxisLegendBottomKeyTip",ChartAxisLegendOverlayLeft:"ChartAxisLegendOverlayLeft",ChartAxisLegendOverlayLeftKeyTip:"ChartAxisLegendOverlayLeftKeyTip",ChartAxisLegendOverlayRight:"ChartAxisLegendOverlayRight",ChartAxisLegendOverlayRightKeyTip:"ChartAxisLegendOverlayRightKeyTip",ChartAxisLegendNoneDescription:"ChartAxisLegendNoneDescription",ChartAxisLegendRightDescription:"ChartAxisLegendRightDescription",ChartAxisLegendTopDescription:"ChartAxisLegendTopDescription",ChartAxisLegendLeftDescription:"ChartAxisLegendLeftDescription",ChartAxisLegendBottomDescription:"ChartAxisLegendBottomDescription",ChartAxisLegendOverlayLeftDescription:"ChartAxisLegendOverlayLeftDescription",ChartAxisLegendOverlayRightDescription:"ChartAxisLegendOverlayRightDescription",ChartDataTableShow:"ChartDataTableShow",ChartDataTableShowKeyTip:"ChartDataTableShowKeyTip",ChartDataTableShowWithLegend:"ChartDataTableShowWithLegend",ChartDataTableShowWithLegendKeyTip:"ChartDataTableShowWithLegendKeyTip",ChartDataTableNoneDescription:"ChartDataTableNoneDescription",ChartDataTableShowDescription:"ChartDataTableShowDescription",ChartDataTableShowWithLegendDescription:"ChartDataTableShowWithLegendDescription",ChartTaskpaneFormat:"ChartTaskpaneFormat",ChartTaskpaneFormatKeyTip:"ChartTaskpaneFormatKeyTip",CoauthorGalleryGroupChat:"CoauthorGalleryGroupChat",CoauthorGalleryGroupChatKeytip:"CoauthorGalleryGroupChatKeytip",CoauthorGalleryKeytip:"CoauthorGalleryKeytip",CoauthorGalleryOverflowTitle:"CoauthorGalleryOverflowTitle",CoauthorGalleryTooltip:"CoauthorGalleryTooltip",TableTabTitle:"TableTabTitle",TableTabKeyTip:"TableTabKeyTip",TablePropertiesGroupTitle:"TablePropertiesGroupTitle",TableToolsGroupTitle:"TableToolsGroupTitle",ExternalTableDataGroupTitle:"ExternalTableDataGroupTitle",TableStyleOptionsGroupTitle:"TableStyleOptionsGroupTitle",TableStylesGroupTitle:"TableStylesGroupTitle",TableToolsGroupOverflowLabel:"TableToolsGroupOverflowLabel",TableStyleOptions:"TableStyleOptions",HeaderRow:"HeaderRow",HeaderRowKeyTip:"HeaderRowKeyTip",TotalRow:"TotalRow",TotalRowKeyTip:"TotalRowKeyTip",FirstColumn:"FirstColumn",FirstColumnKeyTip:"FirstColumnKeyTip",LastColumn:"LastColumn",_LastColumnKeyTip:"_LastColumnKeyTip",BandedRows:"BandedRows",BandedRowsKeyTip:"BandedRowsKeyTip",BandedColumns:"BandedColumns",BandedColumnsKeyTip:"BandedColumnsKeyTip",FilterButton:"FilterButton",FilterButtonKeyTip:"FilterButtonKeyTip",Survey:"Survey",SurveyKeyTip:"SurveyKeyTip",ShapeStyleFill:"ShapeStyleFill",ShapeStyleFillKeyTip:"ShapeStyleFillKeyTip",ShapeStyleOutline:"ShapeStyleOutline",ShapeStyleOutlineKeyTip:"ShapeStyleOutlineKeyTip",PeopleWellFlyoutLabel:"PeopleWellFlyoutLabel",PeripheralCommentsButton:"PeripheralCommentsButton",PeripheralCommentsToolTip:"PeripheralCommentsToolTip",CopilotPrepareDataForAnalysisPrompt:"CopilotPrepareDataForAnalysisPrompt",CopilotShowDataInsightsPrompt:"CopilotShowDataInsightsPrompt",CopilotSuggestFormulaColumnPrompt:"CopilotSuggestFormulaColumnPrompt",CopilotRepairFormulaMenu:"CopilotRepairFormulaMenu",CopilotRepairPoundFormulaPrompt:"CopilotRepairPoundFormulaPrompt",CopilotRepairSyntaxFormulaPrompt:"CopilotRepairSyntaxFormulaPrompt",CopilotRepairErrorCard:"CopilotRepairErrorCard",CopilotExplainFormulaPrompt:"CopilotExplainFormulaPrompt",TellMeCopilotLabel:"TellMeCopilotLabel",TellMePlaceholder:"TellMePlaceholder",TellMeShortPlaceholder:"TellMeShortPlaceholder",TellMeSearchPlaceholder:"TellMeSearchPlaceholder",TellMeSearchPlaceholderOnMac:"TellMeSearchPlaceholderOnMac",TellMeLongPlaceholder:"TellMeLongPlaceholder",TellMeLongPlaceholderOnMac:"TellMeLongPlaceholderOnMac",TellMeSearchUnifiedAppPlaceholderExcel:"TellMeSearchUnifiedAppPlaceholderExcel",TellMeActivationPlaceholder:"TellMeActivationPlaceholder",TellMeDeactivationPlaceholder:"TellMeDeactivationPlaceholder",ChangeShape:"ChangeShape",ChangeShapeKeyTip:"ChangeShapeKeyTip",ApplyShapeStyles:"ApplyShapeStyles",ApplyShapeStylesShort:"ApplyShapeStylesShort",ApplyShapeStylesKeyTip:"ApplyShapeStylesKeyTip",LinkedEntity:"LinkedEntity",LinkedEntityStock:"LinkedEntityStock",LinkedEntityStockDescription:"LinkedEntityStockDescription",LinkedEntityGeography:"LinkedEntityGeography",LinkedEntityGeographyDescription:"LinkedEntityGeographyDescription",Share:"Share",Export:"Export",ShareTooltip:"ShareTooltip",FontSize8:"FontSize8",FontSize9:"FontSize9",FontSize10:"FontSize10",FontSize11:"FontSize11",FontSize12:"FontSize12",FontSize14:"FontSize14",FontSize16:"FontSize16",FontSize18:"FontSize18",FontSize20:"FontSize20",FontSize24:"FontSize24",FontSize26:"FontSize26",FontSize28:"FontSize28",FontSize36:"FontSize36",FontSize48:"FontSize48",FontSize72:"FontSize72",Ideas:"Ideas",AnalyzeData:"AnalyzeData",AnalyzeDataKeyTip:"AnalyzeDataKeyTip",DataAnalysis:"DataAnalysis",DataIdeas:"DataIdeas",Analysis:"Analysis",IdeasKeyTip:"IdeasKeyTip",Copilot:"Copilot",CopilotKeyTip:"CopilotKeyTip",New:"New",NewWindow:"NewWindow",NewWindowKeyTip:"NewWindowKeyTip",SaveAs:"SaveAs",SaveACopy:"SaveACopy",SaveAsToSharePointDescription:"SaveAsToSharePointDescription",RibbonToggle:"RibbonToggle",RibbonToggleKeytip:"RibbonToggleKeytip",RenameButtonTitle:"RenameButtonTitle",DownloadACopy:"DownloadACopy",DownloadAsODS:"DownloadAsODS",DownloadAsPDF:"DownloadAsPDF",DownloadAsPDFDescription:"DownloadAsPDFDescription",DownloadAsCSV:"DownloadAsCSV",DownloadAsCSVDescription:"DownloadAsCSVDescription",DownloadAsCSVUTF8:"DownloadAsCSVUTF8",DownloadAsCSVUTF8Description:"DownloadAsCSVUTF8Description",PageSetup:"PageSetup",PageBreak:"PageBreak",InsertPageBreak:"InsertPageBreak",RemovePageBreak:"RemovePageBreak",ResetAllPageBreaks:"ResetAllPageBreaks",Print:"Print",PrintArea:"PrintArea",SetPrintArea:"SetPrintArea",ClearPrintArea:"ClearPrintArea",AddToPrintArea:"AddToPrintArea",Privacy:"Privacy",VersionHistory:"VersionHistory",TrustCenter:"TrustCenter",TrustCenterDescription:"TrustCenterDescription",TellMeUpsellSpellCheck:"TellMeUpsellSpellCheck",TellMeUpsellMacros:"TellMeUpsellMacros",TellMeUpsellHeaderFooter:"TellMeUpsellHeaderFooter",TellMeOpenInExcel:"TellMeOpenInExcel",TellMeOpenInDesktopDescription:"TellMeOpenInDesktopDescription",TellMeUpsellDesktopTitle:"TellMeUpsellDesktopTitle",TellMeUpsellDesktopDescription:"TellMeUpsellDesktopDescription",TellMeSuggestedQuery1:"TellMeSuggestedQuery1",TellMeSuggestedQuery2:"TellMeSuggestedQuery2",TellMeSuggestedQuery3:"TellMeSuggestedQuery3",TellMeSuggestedQuery4:"TellMeSuggestedQuery4",TellMeSuggestedQuery5:"TellMeSuggestedQuery5",TellMeGetHelpLabel:"TellMeGetHelpLabel",TellMeSmartLookupLabel:"TellMeSmartLookupLabel",TemplateSectionErrorMessage:"TemplateSectionErrorMessage",TemplateMoreLink:"TemplateMoreLink",SearchHelp:"SearchHelp",SearchHelpKeyTip:"SearchHelpKeyTip",HelpResources:"HelpResources",Tutorials:"Tutorials",TutorialsKeyTip:"TutorialsKeyTip",FunctionList:"FunctionList",SmartLookup:"SmartLookup",SmartLookupKeyTip:"SmartLookupKeyTip",ContactSupport:"ContactSupport",ContactSupportKeyTip:"ContactSupportKeyTip",GiveFeedback:"GiveFeedback",GiveFeedbackKeyTip:"GiveFeedbackKeyTip",Training:"Training",TrainingKeyTip:"TrainingKeyTip",WhatsNew:"WhatsNew",WhatsNewKeyTip:"WhatsNewKeyTip",LinkedEntityDataTypesKeyTip:"LinkedEntityDataTypesKeyTip",TabFileKeytip:"TabFileKeytip",HomeTabKeytip:"HomeTabKeytip",ShareTabKeytip:"ShareTabKeytip",InsertTabKeytip:"InsertTabKeytip",DataTabKeytip:"DataTabKeytip",ReviewTabKeytip:"ReviewTabKeytip",ViewTabKeytip:"ViewTabKeytip",HelpTabKeytip:"HelpTabKeytip",DrawingTabKeytip:"DrawingTabKeytip",ChartTabKeytip:"ChartTabKeytip",TellMeKeytip:"TellMeKeytip",EditInExcelKeytip:"EditInExcelKeytip",PageLayoutTabKeytip:"PageLayoutTabKeytip",DeveloperTabKeytip:"DeveloperTabKeytip",AddInsTabKeytip:"AddInsTabKeytip",FormulasTabKeytip:"FormulasTabKeytip",InfoKeytip:"InfoKeytip",InfoEditInExcelKeytip:"InfoEditInExcelKeytip",InfoSetReadOnlyRecommendedKeytip:"InfoSetReadOnlyRecommendedKeytip",InfoPreviousVersionsKeytip:"InfoPreviousVersionsKeytip",PreviousVersions:"PreviousVersions",NewKeytip:"NewKeytip",OpenKeytip:"OpenKeytip",SaveAsKeytip:"SaveAsKeytip",SaveAsWhereIsSaveButtonKeytip:"SaveAsWhereIsSaveButtonKeytip",SaveAsSaveAsKeytip:"SaveAsSaveAsKeytip",SaveAsToOneDriveKeytip:"SaveAsToOneDriveKeytip",SaveAsToSharePointKeytip:"SaveAsToSharePointKeytip",SaveAsRenameFileDialogKeytip:"SaveAsRenameFileDialogKeytip",SaveAsDownloadCopyKeytip:"SaveAsDownloadCopyKeytip",SaveAsDownloadAsOdsKeytip:"SaveAsDownloadAsOdsKeytip",PageSetupKeytip:"PageSetupKeytip",PageBreakKeyTip:"PageBreakKeyTip",InsertPageBreakKeyTip:"InsertPageBreakKeyTip",RemovePageBreakKeyTip:"RemovePageBreakKeyTip",ResetAllPageBreaksKeyTip:"ResetAllPageBreaksKeyTip",PrintKeytip:"PrintKeytip",PrintAreaKeyTip:"PrintAreaKeyTip",SetPrintAreaKeyTip:"SetPrintAreaKeyTip",ClearPrintAreaKeyTip:"ClearPrintAreaKeyTip",AddToPrintAreaKeyTip:"AddToPrintAreaKeyTip",ShareKeytip:"ShareKeytip",ExportKeytip:"ExportKeytip",ShareWithPeopleKeytip:"ShareWithPeopleKeytip",SaveAsShareKeytip:"SaveAsShareKeytip",SaveAsCopyLinkKeytip:"SaveAsCopyLinkKeytip",ShareCopyLinkKeytip:"ShareCopyLinkKeytip",ShareEmbedKeytip:"ShareEmbedKeytip",DownloadPdfKeytip:"DownloadPdfKeytip",DownloadAsCSVKeytip:"DownloadAsCSVKeytip",DownloadAsCSVUTF8Keytip:"DownloadAsCSVUTF8Keytip",ShareReplyWithChangesKeytip:"ShareReplyWithChangesKeytip",AboutKeytip:"AboutKeytip",AboutTryMicrosoftOfficeKeytip:"AboutTryMicrosoftOfficeKeytip",AboutTermsOfUseForMacKeytip:"AboutTermsOfUseForMacKeytip",AboutTermsOfUseKeytip:"AboutTermsOfUseKeytip",AboutThirdPartyNoticesKeytip:"AboutThirdPartyNoticesKeytip",AboutPrivacyAndCookiesKeytip:"AboutPrivacyAndCookiesKeytip",AboutPrivacySettingsKeytip:"AboutPrivacySettingsKeytip",OptionsKeytip:"OptionsKeytip",ChangeLocaleKeytip:"ChangeLocaleKeytip",FileSaveAsKeytip:"FileSaveAsKeytip",FileShareKeytip:"FileShareKeytip",HelpKeytip:"HelpKeytip",HelpHelpKeytip:"HelpHelpKeytip",HelpAccessibilityHelpKeytip:"HelpAccessibilityHelpKeytip",HelpGiveFeedbackKeytip:"HelpGiveFeedbackKeytip",HelpReportAbuseKeytip:"HelpReportAbuseKeytip",ExitKeytip:"ExitKeytip",KeytipStartSequence:"KeytipStartSequence",KeytipStartKeyMac:"KeytipStartKeyMac",KeytipStartKeyWindows:"KeytipStartKeyWindows",UserInterfaceFontName:"UserInterfaceFontName",UserInterfaceFontSize:"UserInterfaceFontSize",GroupCells:"GroupCells",GroupCellsKeyTip:"GroupCellsKeyTip",UngroupCells:"UngroupCells",UngroupCellsKeyTip:"UngroupCellsKeyTip",OutlineGroupTitle:"OutlineGroupTitle",GroupCellsRows:"GroupCellsRows",GroupCellsColumns:"GroupCellsColumns",GroupOrUngroupCellsDialogRows:"GroupOrUngroupCellsDialogRows",GroupOrUngroupCellsDialogColumns:"GroupOrUngroupCellsDialogColumns",GoToLocation:"GoToLocation",GoToLocationKeytip:"GoToLocationKeytip",UngroupCellsRows:"UngroupCellsRows",UngroupCellsColumns:"UngroupCellsColumns",GroupUngroupCellsRowsKeyTip:"GroupUngroupCellsRowsKeyTip",GroupUngroupCellsColumnsKeyTip:"GroupUngroupCellsColumnsKeyTip",CatchUpActivity:"CatchUpActivity",CatchUpActivityKeytip:"CatchUpActivityKeytip",CommentsKeytip:"CommentsKeytip",SharePeripheralKeytip:"SharePeripheralKeytip",BorderLineStyle:"BorderLineStyle",BorderLineStyleKeyTip:"BorderLineStyleKeyTip",BorderStyleSolidLineDescription:"BorderStyleSolidLineDescription",BorderStyleDashedLineDescription:"BorderStyleDashedLineDescription",BorderStyleDottedLineDescription:"BorderStyleDottedLineDescription",BorderStyleMediumLineDescription:"BorderStyleMediumLineDescription",BorderStyleThickLineDescription:"BorderStyleThickLineDescription",BorderStyleDoubleLineDescription:"BorderStyleDoubleLineDescription",SheetViewNewString:"SheetViewNewString",SheetViewName:"SheetViewName",SheetViewExitButton:"SheetViewExitButton",SheetViewExitButtonMLR:"SheetViewExitButtonMLR",SheetViewOptionsButton:"SheetViewOptionsButton",SheetViewEntryCalloutTitle:"SheetViewEntryCalloutTitle",SheetViewEntryCalloutDescription:"SheetViewEntryCalloutDescription",SheetViewEntryCalloutButtonLabel:"SheetViewEntryCalloutButtonLabel",SheetViewSavedCalloutTitle:"SheetViewSavedCalloutTitle",SheetViewSavedCalloutDescription:"SheetViewSavedCalloutDescription",ConvertToRange:"ConvertToRange",ConvertToRangeKeyTip:"ConvertToRangeKeyTip",Conversation:"Conversation",OpenInBrowser:"OpenInBrowser",Close:"Close",CloseKeytip:"CloseKeytip",Download:"Download",NamedSheetViewNewAltText:"NamedSheetViewNewAltText",NamedSheetViewExitAltText:"NamedSheetViewExitAltText",NamedSheetView:"NamedSheetView",InsideBorders:"InsideBorders",InsideHorizontalBorder:"InsideHorizontalBorder",InsideVerticalBorder:"InsideVerticalBorder",InsideBordersKeyTip:"InsideBordersKeyTip",InsideHorizontalBorderKeyTip:"InsideHorizontalBorderKeyTip",InsideVerticalBorderKeyTip:"InsideVerticalBorderKeyTip",CalculationOptions:"CalculationOptions",ManualCalc:"ManualCalc",ManualCalcKeyTip:"ManualCalcKeyTip",AutomaticCalc:"AutomaticCalc",AutomaticCalcKeyTip:"AutomaticCalcKeyTip",SemiautomaticCalc:"SemiautomaticCalc",SemiautomaticCalcKeyTip:"SemiautomaticCalcKeyTip",PartialCalc:"PartialCalc",PartialCalcKeyTip:"PartialCalcKeyTip",KeyboardShortcutsDialogSearchBoxPlaceholder:"KeyboardShortcutsDialogSearchBoxPlaceholder",KeyboardShortcutsDialogDropdownPlaceholder:"KeyboardShortcutsDialogDropdownPlaceholder",KeyboardShortcutsDialogAllshortcutsSection:"KeyboardShortcutsDialogAllshortcutsSection",KeyboardShortcutsDialogShortcutColumnHeader:"KeyboardShortcutsDialogShortcutColumnHeader",KeyboardShortcutsDialogDescriptionColumnHeader:"KeyboardShortcutsDialogDescriptionColumnHeader",NamedSheetViewOptions:"NamedSheetViewOptions",NamedSheetViewSelectAltText:"NamedSheetViewSelectAltText",StyleOptions:"StyleOptions",StyleOptionsKeyTip:"StyleOptionsKeyTip",Sensitivity:"Sensitivity",SensitivityKeytip:"SensitivityKeytip",NamedSheetViewControlKeytip:"NamedSheetViewControlKeytip",NamedSheetViewOptionsKeyTip:"NamedSheetViewOptionsKeyTip",NamedSheetViewNewKeytip:"NamedSheetViewNewKeytip",NamedSheetViewCloseKeytip:"NamedSheetViewCloseKeytip",KeyboardShortcutsDialogButtonLabel:"KeyboardShortcutsDialogButtonLabel",ResetShortcutPreferencesButtonLabel:"ResetShortcutPreferencesButtonLabel",ResetShortcutPreferencesKeyTip:"ResetShortcutPreferencesKeyTip",SpellCheckAriaOriginalSentenceText:"SpellCheckAriaOriginalSentenceText",SpellCheckAriaReadOnlyText:"SpellCheckAriaReadOnlyText",SpellCheckAriaSpellingErrorText:"SpellCheckAriaSpellingErrorText",SpellCheckGroupTitle:"SpellCheckGroupTitle",SpellCheck:"SpellCheck",SpellCheckKeyTip:"SpellCheckKeyTip",SpellCheckChangeAllButtonText:"SpellCheckChangeAllButtonText",SpellCheckCheckAgainText:"SpellCheckCheckAgainText",SpellCheckCheckOtherSheetsButtonText:"SpellCheckCheckOtherSheetsButtonText",SpellCheckCompleteOnRangeText:"SpellCheckCompleteOnRangeText",SpellCheckCompleteText:"SpellCheckCompleteText",SpellCheckContinueButtonText:"SpellCheckContinueButtonText",SpellCheckDeleteRepeatedWordButtonText:"SpellCheckDeleteRepeatedWordButtonText",SpellCheckDictionaryLanguageText:"SpellCheckDictionaryLanguageText",SpellCheckErrorText:"SpellCheckErrorText",SpellCheckIgnoreAllButtonText:"SpellCheckIgnoreAllButtonText",SpellCheckIgnoreButtonText:"SpellCheckIgnoreButtonText",SpellCheckLanguageErrorText:"SpellCheckLanguageErrorText",SpellCheckLanguageListPlaceHolder:"SpellCheckLanguageListPlaceHolder",SpellCheckNoSuggestionFoundText:"SpellCheckNoSuggestionFoundText",SpellCheckNoSuggestionsTitle:"SpellCheckNoSuggestionsTitle",SpellCheckNoSuggestionText:"SpellCheckNoSuggestionText",SpellCheckNotInDictionaryText:"SpellCheckNotInDictionaryText",SpellCheckPaneHeaderTitle:"SpellCheckPaneHeaderTitle",SpellCheckPreviousChangeInfoText:"SpellCheckPreviousChangeInfoText",SpellCheckReadAloudButtonText:"SpellCheckReadAloudButtonText",SpellCheckReCheckButtonText:"SpellCheckReCheckButtonText",SpellCheckReCheckText:"SpellCheckReCheckText",SpellCheckRepeatedWordText:"SpellCheckRepeatedWordText",SpellCheckResumeButtonText:"SpellCheckResumeButtonText",SpellCheckResumeText:"SpellCheckResumeText",SpellCheckSpellOutButtonText:"SpellCheckSpellOutButtonText",SpellCheckSpinnerText:"SpellCheckSpinnerText",SpellCheckSuggestionsTitle:"SpellCheckSuggestionsTitle",SpellCheckSwitchWorkSheetErrorText:"SpellCheckSwitchWorkSheetErrorText",SpellCheckSwitchWorkSheetText:"SpellCheckSwitchWorkSheetText",SpellCheckTryAgainButtonText:"SpellCheckTryAgainButtonText",SpellCheckWorkbookContentChangedText:"SpellCheckWorkbookContentChangedText",SpellCheckAllSpellingPerfect:"SpellCheckAllSpellingPerfect",SpellCheckChangeinWorkBook:"SpellCheckChangeinWorkBook",ShowChangesGroupTitle:"ShowChangesGroupTitle",ShowChanges:"ShowChanges",ShowChangesKeyTip:"ShowChangesKeyTip",ShowChangesCardRole:"ShowChangesCardRole",ShowChangesButtonSeeChanges:"ShowChangesButtonSeeChanges",ShowChangesCardStateExpanded:"ShowChangesCardStateExpanded",ShowChangesButtonHideChanges:"ShowChangesButtonHideChanges",ShowChangesCardStateCollapsed:"ShowChangesCardStateCollapsed",ShowChangesResponseSuccessEndOfLog:"ShowChangesResponseSuccessEndOfLog",ShowChangesResponseSuccessJustNow:"ShowChangesResponseSuccessJustNow",ShowChangesResponseSuccessEmptyPaneTitle:"ShowChangesResponseSuccessEmptyPaneTitle",ShowChangesResponseSuccessEmptyPaneBody:"ShowChangesResponseSuccessEmptyPaneBody",ShowChangesMissingOldValue:"ShowChangesMissingOldValue",ShowChangesBulkEditOverflow:"ShowChangesBulkEditOverflow",ShowChangesResponseLearnMore:"ShowChangesResponseLearnMore",ShowChangesVersionHistoryButtonText:"ShowChangesVersionHistoryButtonText",ShowChangesEndOfChangesText:"ShowChangesEndOfChangesText",ShowChangesLoadMoreButtonText:"ShowChangesLoadMoreButtonText",ShowChangesLoadPreviousButtonText:"ShowChangesLoadPreviousButtonText",ShowChangesSeeNewChangesButtonText:"ShowChangesSeeNewChangesButtonText",ShowChangesLoadingSpinnerText:"ShowChangesLoadingSpinnerText",ShowChangesFilterTooltip:"ShowChangesFilterTooltip",ShowChangesInvalidRangeText:"ShowChangesInvalidRangeText",ShowChangesFilterInputPlaceholderText:"ShowChangesFilterInputPlaceholderText",ShowChangesDefaultFilter:"ShowChangesDefaultFilter",ShowChangesFilterByRange:"ShowChangesFilterByRange",ShowChangesFilterBySheet:"ShowChangesFilterBySheet",ShowChangesFilterByDateTime:"ShowChangesFilterByDateTime",ShowChangesFilterByDateTimePlaceHolderText:"ShowChangesFilterByDateTimePlaceHolderText",ShowChangesFilterByDateTimeLast24HoursOption:"ShowChangesFilterByDateTimeLast24HoursOption",ShowChangesFilterByDateTimeLastWeekOption:"ShowChangesFilterByDateTimeLastWeekOption",ShowChangesFilterByDateTimeLast24Hours:"ShowChangesFilterByDateTimeLast24Hours",ShowChangesFilterByDateTimeLastWeek:"ShowChangesFilterByDateTimeLastWeek",ShowChangesFilterByDateTimeLast30Days:"ShowChangesFilterByDateTimeLast30Days",ShowChangesFilterByDateTimeLast90Days:"ShowChangesFilterByDateTimeLast90Days",ShowChangesFilterByDateTimeLast180Days:"ShowChangesFilterByDateTimeLast180Days",ShowChangesClearFilter:"ShowChangesClearFilter",ShowChangesFilterCommit:"ShowChangesFilterCommit",ShowChangesActivityList:"ShowChangesActivityList",ShowChangesActivityTypeEdit:"ShowChangesActivityTypeEdit",ShowChangesActivityTypeMove:"ShowChangesActivityTypeMove",ShowChangesActivityTypeRenameSheet:"ShowChangesActivityTypeRenameSheet",ShowChangesActivityTypeInsertSheet:"ShowChangesActivityTypeInsertSheet",ShowChangesActivityTypeDeleteSheet:"ShowChangesActivityTypeDeleteSheet",ShowChangesActivityTypeMergeCells:"ShowChangesActivityTypeMergeCells",ShowChangesActivityTypeUnmergeCells:"ShowChangesActivityTypeUnmergeCells",ShowChangesActivityTypeSort:"ShowChangesActivityTypeSort",ShowChangesActivityTypeFullRowInsert:"ShowChangesActivityTypeFullRowInsert",ShowChangesActivityTypeFullColInsert:"ShowChangesActivityTypeFullColInsert",ShowChangesActivityTypeFullRowDelete:"ShowChangesActivityTypeFullRowDelete",ShowChangesActivityTypeFullColDelete:"ShowChangesActivityTypeFullColDelete",ShowChangesActivityTypePartialRowInsert:"ShowChangesActivityTypePartialRowInsert",ShowChangesActivityTypePartialColInsert:"ShowChangesActivityTypePartialColInsert",ShowChangesActivityTypePartialColInsertRTL:"ShowChangesActivityTypePartialColInsertRTL",ShowChangesActivityTypePartialRowDelete:"ShowChangesActivityTypePartialRowDelete",ShowChangesActivityTypePartialColDelete:"ShowChangesActivityTypePartialColDelete",ShowChangesActivityTypePartialColDeleteRTL:"ShowChangesActivityTypePartialColDeleteRTL",ShowChangesDegradedCardIconWarning:"ShowChangesDegradedCardIconWarning",ShowChangesDegradedCardInfo:"ShowChangesDegradedCardInfo",ShowChangesDegradedCardRejectedIconWarning:"ShowChangesDegradedCardRejectedIconWarning",ShowChangesDegradedCardRejectedInfo:"ShowChangesDegradedCardRejectedInfo",ShowChangesDegradedCardLearnMore:"ShowChangesDegradedCardLearnMore",ShowChangesClearHistory:"ShowChangesClearHistory",ShowChangesClearHistoryDescription:"ShowChangesClearHistoryDescription",ShowChangesClearHistoryKeytip:"ShowChangesClearHistoryKeytip",ShowChangesClearHistoryEndOfChangeDescription:"ShowChangesClearHistoryEndOfChangeDescription",ShowChangesHighlightDiffButton:"ShowChangesHighlightDiffButton",ShowChangesInGridHighlight:"ShowChangesInGridHighlight",ShowChangesInGridHighlightOnTooltip:"ShowChangesInGridHighlightOnTooltip",ShowChangesInGridHighlightOffTooltip:"ShowChangesInGridHighlightOffTooltip",ShowChangesInGridHighlightDisabledTooltip:"ShowChangesInGridHighlightDisabledTooltip",ExternalLinksAutomaticRefreshCheckBoxLabel:"ExternalLinksAutomaticRefreshCheckBoxLabel",ExternalLinksAutomaticRefreshToolTip:"ExternalLinksAutomaticRefreshToolTip",ExternalLinksRecentlyEditedToolTip:"ExternalLinksRecentlyEditedToolTip",ExternalLinksAutomaticRefreshText:"ExternalLinksAutomaticRefreshText",ExternalLinksBreakAllLinksLabel:"ExternalLinksBreakAllLinksLabel",ExternalLinksNewBreakAllLinksLabel:"ExternalLinksNewBreakAllLinksLabel",ExternalLinksLinksTabHeader:"ExternalLinksLinksTabHeader",ExternalLinksSettingsTabHeader:"ExternalLinksSettingsTabHeader",ExternalLinksAlwaysTrustToggleLabel:"ExternalLinksAlwaysTrustToggleLabel",ExternalLinksRefreshPreferenceLabel:"ExternalLinksRefreshPreferenceLabel",ExternalLinksAutoRefreshToggleLabel:"ExternalLinksAutoRefreshToggleLabel",ExternalLinksAutoRefreshToggleTooltip:"ExternalLinksAutoRefreshToggleTooltip",ExternalLinksRefreshPreferenceAlwaysLabel:"ExternalLinksRefreshPreferenceAlwaysLabel",ExternalLinksRefreshPreferenceAlwaysLabelV2:"ExternalLinksRefreshPreferenceAlwaysLabelV2",ExternalLinksRefreshPreferenceAskLabel:"ExternalLinksRefreshPreferenceAskLabel",ExternalLinksRefreshPreferenceNeverLabel:"ExternalLinksRefreshPreferenceNeverLabel",ExternalLinksAlwaysTrustToggleDescription:"ExternalLinksAlwaysTrustToggleDescription",ExternalLinksBreakLinksLabel:"ExternalLinksBreakLinksLabel",ExternalLinksChangeSourceDialogBrowseButtonLabel:"ExternalLinksChangeSourceDialogBrowseButtonLabel",ExternalLinksChangeSourceDialogEmptyListText:"ExternalLinksChangeSourceDialogEmptyListText",ExternalLinksChangeSourceDialogEmptyMruText:"ExternalLinksChangeSourceDialogEmptyMruText",ExternalLinksChangeSourceDialogNameColumnHeader:"ExternalLinksChangeSourceDialogNameColumnHeader",ExternalLinksChangeSourceDialogRecentButtonLabel:"ExternalLinksChangeSourceDialogRecentButtonLabel",ExternalLinksChangeSourceDialogSelectButtonLabel:"ExternalLinksChangeSourceDialogSelectButtonLabel",ExternalLinksChangeSourceDialogSuggestedButtonLabel:"ExternalLinksChangeSourceDialogSuggestedButtonLabel",ExternalLinksEditSourceLabel:"ExternalLinksEditSourceLabel",ExternalLinksChangeSourceLabel:"ExternalLinksChangeSourceLabel",ExternalLinksFindNextLinkLabel:"ExternalLinksFindNextLinkLabel",ExternalLinksLinksText:"ExternalLinksLinksText",ExternalLinksMoreOptionsButtonText:"ExternalLinksMoreOptionsButtonText",ExternalLinksAllLinksMoreOptionsButtonText:"ExternalLinksAllLinksMoreOptionsButtonText",ExternalLinksSingleLinkMoreOptionsButtonText:"ExternalLinksSingleLinkMoreOptionsButtonText",ExternalLinksNoLinkText:"ExternalLinksNoLinkText",ExternalLinksLearnToCreateText:"ExternalLinksLearnToCreateText",ExternalLinksOpenSourceLabel:"ExternalLinksOpenSourceLabel",ExternalLinksOpenWorkbookLabel:"ExternalLinksOpenWorkbookLabel",ExternalLinksRefreshButtonText:"ExternalLinksRefreshButtonText",ExternalLinksRefreshAllButtonText:"ExternalLinksRefreshAllButtonText",ExternalLinksRefreshOnOpenText:"ExternalLinksRefreshOnOpenText",ExternalLinksSettingsText:"ExternalLinksSettingsText",ExternalLinksStatusBarCalloutAskRefreshHeader:"ExternalLinksStatusBarCalloutAskRefreshHeader",ExternalLinksStatusBarCalloutNeverRefreshHeader:"ExternalLinksStatusBarCalloutNeverRefreshHeader",ExternalLinksStatusBarCalloutAskRefreshBody:"ExternalLinksStatusBarCalloutAskRefreshBody",ExternalLinksStatusBarCalloutNeverRefreshBody:"ExternalLinksStatusBarCalloutNeverRefreshBody",ExternalLinksStatusBarCalloutAskRefreshButtonText:"ExternalLinksStatusBarCalloutAskRefreshButtonText",ExternalLinksStatusBarCalloutNeverRefreshButtonText:"ExternalLinksStatusBarCalloutNeverRefreshButtonText",ExternalLinksStatusBarTooltip:"ExternalLinksStatusBarTooltip",ExternalLinksRefreshingStatusBarLabel:"ExternalLinksRefreshingStatusBarLabel",ExternalLinksEmptyPaneHeader:"ExternalLinksEmptyPaneHeader",ExternalLinksEmptyPaneDescription:"ExternalLinksEmptyPaneDescription",ExternalLinksEmptyPaneLinkText:"ExternalLinksEmptyPaneLinkText",ExternalLinksAlwaysTrustCalloutText:"ExternalLinksAlwaysTrustCalloutText",KeyboardShortcutsDialogEmptyList:"KeyboardShortcutsDialogEmptyList",KeyboardShortcutsDialogCheckBoxLabel:"KeyboardShortcutsDialogCheckBoxLabel",KeyboardShortcutsDialogCheckBoxKeyTip:"KeyboardShortcutsDialogCheckBoxKeyTip",KeyboardShortcutsDialogShowOverridesLabel:"KeyboardShortcutsDialogShowOverridesLabel",DrawBorder:"DrawBorder",DrawBorderKeyTip:"DrawBorderKeyTip",DrawBorderGrid:"DrawBorderGrid",DrawBorderGridKeyTip:"DrawBorderGridKeyTip",EraseBorder:"EraseBorder",EraseBorderKeyTip:"EraseBorderKeyTip",MoreTableStyles:"MoreTableStyles",TableStylesKeyTip:"TableStylesKeyTip",CellStylesShort:"CellStylesShort",CellStyles:"CellStyles",CellStylesKeyTip:"CellStylesKeyTip",Edit:"Edit",Type:"Type",AutoFill:"AutoFill",Clear:"Clear",Refresh:"Refresh",HideFieldList:"HideFieldList",InsertRowColumn:"InsertRowColumn",DeleteRowColumn:"DeleteRowColumn",HideRowColumn:"HideRowColumn",UnhideRowColumn:"UnhideRowColumn",EditLink:"EditLink",RemoveLink:"RemoveLink",OpenLink:"OpenLink",ShowLinkPreview:"ShowLinkPreview",NamedSheetViewKeep:"NamedSheetViewKeep",NamedSheetViewAltText:"NamedSheetViewAltText",NamedSheetViewSave:"NamedSheetViewSave",NamedSheetViewSaveAltText:"NamedSheetViewSaveAltText",NamedSheetViewKeepKeytip:"NamedSheetViewKeepKeytip",Open:"Open",Info:"Info",About:"About",Options:"Options",ChangeLocale:"ChangeLocale",ChangeLocaleDescription:"ChangeLocaleDescription",ChangeLocaleDialogDirective:"ChangeLocaleDialogDirective",ChangeLocaleDialogDescriptionLine:"ChangeLocaleDialogDescriptionLine",ChangeLocaleDialogHelpLinkText:"ChangeLocaleDialogHelpLinkText",ChangeLocaleDialogActionButtonName:"ChangeLocaleDialogActionButtonName",OpenInExcelFileMenuDescription:"OpenInExcelFileMenuDescription",ProtectWorkbook:"ProtectWorkbook",ProtectWorkbookKeytip:"ProtectWorkbookKeytip",PreviousVersionsDescription:"PreviousVersionsDescription",VersionHistoryDescription:"VersionHistoryDescription",WhereIsTheSaveButton:"WhereIsTheSaveButton",WhereIsTheSaveButtonDescription:"WhereIsTheSaveButtonDescription",SaveACopyOnline:"SaveACopyOnline",SaveAsToOneDriveDescription:"SaveAsToOneDriveDescription",SaveToOneDriveCalloutTitle:"SaveToOneDriveCalloutTitle",SaveToOneDriveCalloutDescription:"SaveToOneDriveCalloutDescription",AfterSavingToOneDriveCalloutDescription:"AfterSavingToOneDriveCalloutDescription",SaveToOneDriveButtonTooltip:"SaveToOneDriveButtonTooltip",RenameButtonDescription:"RenameButtonDescription",DownloadDescription:"DownloadDescription",DownloadAsODSDescription:"DownloadAsODSDescription",PrintDescription:"PrintDescription",ShareWithPeople:"ShareWithPeople",ShareWithPeopleDescription:"ShareWithPeopleDescription",SaveAsCopyLink:"SaveAsCopyLink",SaveAsCopyLinkDescription:"SaveAsCopyLinkDescription",PublishToWeb:"PublishToWeb",PublishToWebDescription:"PublishToWebDescription",PublishToWebKeytip:"PublishToWebKeytip",Embed:"Embed",EmbedDescription:"EmbedDescription",ReplyWithChanges:"ReplyWithChanges",ReplyWithChangesDescription:"ReplyWithChangesDescription",TryOffice:"TryOffice",TryOfficeDescription:"TryOfficeDescription",TryOfficeForMacTrial:"TryOfficeForMacTrial",TryOfficeForMacTrialDescription:"TryOfficeForMacTrialDescription",TermsOfUse:"TermsOfUse",TermsOfUseDescription:"TermsOfUseDescription",ThirdPartyNotices:"ThirdPartyNotices",ThirdPartyNoticesDescription:"ThirdPartyNoticesDescription",PrivacyDescription:"PrivacyDescription",Recent:"Recent",Recommended:"Recommended",DiagnosticsDescription:"DiagnosticsDescription",NewDocuments:"NewDocuments",MLRAppsGroupTitle:"MLRAppsGroupTitle",MLRAutomateGalleryGroupTitle:"MLRAutomateGalleryGroupTitle",MLRAutomateGalleryGroupTitleV2:"MLRAutomateGalleryGroupTitleV2",MLRAutomationGroupTitle:"MLRAutomationGroupTitle",MLRCalculationGroupTitle:"MLRCalculationGroupTitle",MLRFormulaAuditingGroupTitle:"MLRFormulaAuditingGroupTitle",MLRFunctionLibraryGroupTitle:"MLRFunctionLibraryGroupTitle",MLRChartsDataGroupTitle:"MLRChartsDataGroupTitle",MLRChartsGroupTitle:"MLRChartsGroupTitle",MLRChartsFormatGroupTitle:"MLRChartsFormatGroupTitle",MLRChartTypeWaterfall:"MLRChartTypeWaterfall",MLRChartTypeFunnel:"MLRChartTypeFunnel",MLRChartTypeHierarchical:"MLRChartTypeHierarchical",MLRChartTypeStatistical:"MLRChartTypeStatistical",MLRChartTypeRadar:"MLRChartTypeRadar",MLRConnectionsGroupTitle:"MLRConnectionsGroupTitle",MLRDataCalculationToolsGroupTitle:"MLRDataCalculationToolsGroupTitle",MLRDocumentViewsGroupTitle:"MLRDocumentViewsGroupTitle",MLRFiltersGroupTitle:"MLRFiltersGroupTitle",MLRFunctionsGroupTitle:"MLRFunctionsGroupTitle",MLRHelloWorldGroupTitle:"MLRHelloWorldGroupTitle",MLRHelpGroupTitle:"MLRHelpGroupTitle",MLRSupportGroupTitle:"MLRSupportGroupTitle",MLRHyperLinks:"MLRHyperLinks",MLRIllustrationsGroupTitle:"MLRIllustrationsGroupTitle",MLRInCellControlsGroupTitle:"MLRInCellControlsGroupTitle",MLRInsert2DAreaChart:"MLRInsert2DAreaChart",MLRInsert2DAreaChart2DArea:"MLRInsert2DAreaChart2DArea",MLRInsert2DBarChartClustered:"MLRInsert2DBarChartClustered",MLRInsert2DBarChartClustered2DBar:"MLRInsert2DBarChartClustered2DBar",MLRInsert2DColumnChart2DColumn:"MLRInsert2DColumnChart2DColumn",MLRInsert2DColumnChartClustered:"MLRInsert2DColumnChartClustered",MLRInsert2DColumnChartClusteredKeyTip:"MLRInsert2DColumnChartClusteredKeyTip",MLRInsert2DLineChart:"MLRInsert2DLineChart",MLRInsert2DLineChartKeyTip:"MLRInsert2DLineChartKeyTip",MLRInsert2DLineChart2DLine:"MLRInsert2DLineChart2DLine",MLRInsert2DPieChart2DPie:"MLRInsert2DPieChart2DPie",MLRInsert2DPieChartDoughnut:"MLRInsert2DPieChartDoughnut",MLRInsert2DPieChartPie:"MLRInsert2DPieChartPie",MLRInsert2DPieChartPieKeyTip:"MLRInsert2DPieChartPieKeyTip",MLRInsertOtherChartWaterfall:"MLRInsertOtherChartWaterfall",MLRInsertScatterChartMarkerOnly:"MLRInsertScatterChartMarkerOnly",MLRInsertComboChart:"MLRInsertComboChart",MLRInsertStatisticalChart:"MLRInsertStatisticalChart",MLRLinkedEntityGroupTitle:"MLRLinkedEntityGroupTitle",MLRLinksGroupTitle:"MLRLinksGroupTitle",MLRTextGroupTitle:"MLRTextGroupTitle",MLROfficeAddinsTitle:"MLROfficeAddinsTitle",MLROutlineGroupTitle:"MLROutlineGroupTitle",MLRSheetViewGroupTitle:"MLRSheetViewGroupTitle",MLRShowGroupTitle:"MLRShowGroupTitle",MLRSmartLookupGroupTitle:"MLRSmartLookupGroupTitle",MLRSDXsGroupTitle:"MLRSDXsGroupTitle",MLRSortAndFilterGroupTitle:"MLRSortAndFilterGroupTitle",MLRTablesGroupTitle:"MLRTablesGroupTitle",MLRTablesGroupKeyTip:"MLRTablesGroupKeyTip",MLRWindowGroupTitle:"MLRWindowGroupTitle",MLRFreezeGroupTitle:"MLRFreezeGroupTitle",MLROpenGroupTitle:"MLROpenGroupTitle",ModeSwitcherEditModeInMenuDescription:"ModeSwitcherEditModeInMenuDescription",ModeSwitcherEditModeInMenuLabel:"ModeSwitcherEditModeInMenuLabel",ModeSwitcherEditModeLabel:"ModeSwitcherEditModeLabel",ModeSwitcherEditModeKeytip:"ModeSwitcherEditModeKeytip",ModeSwitcherFlyoutAnchorKeytip:"ModeSwitcherFlyoutAnchorKeytip",ModeSwitcherViewModeInMenuDescription:"ModeSwitcherViewModeInMenuDescription",ModeSwitcherViewModeInMenuLabel:"ModeSwitcherViewModeInMenuLabel",ModeSwitcherViewModeLabel:"ModeSwitcherViewModeLabel",ModeSwitcherViewModeKeytip:"ModeSwitcherViewModeKeytip",RecommendCharts:"RecommendCharts",RecommendChartsKeyTip:"RecommendChartsKeyTip",RecommendPivotTables:"RecommendPivotTables",RecommendPivotTablesKeyTip:"RecommendPivotTablesKeyTip",InsertPivotTableMenuItem:"InsertPivotTableMenuItem",AutomateTabTitle:"AutomateTabTitle",AutomateTabKeyTip:"AutomateTabKeyTip",AutomateGroupTitle:"AutomateGroupTitle",AutomateGroupTitleV2:"AutomateGroupTitleV2",AutomateUnattendedGroupTitle:"AutomateUnattendedGroupTitle",AutomatePowerAutomateGroupTitle:"AutomatePowerAutomateGroupTitle",AutomateAllScriptsTitle:"AutomateAllScriptsTitle",AutomateAllScriptsKeyTip:"AutomateAllScriptsKeyTip",AutomateCodeTitle:"AutomateCodeTitle",AutomateCodeKeyTip:"AutomateCodeKeyTip",AutomateNewScriptsTitle:"AutomateNewScriptsTitle",AutomateNewScriptsKeyTip:"AutomateNewScriptsKeyTip",AutomateGroupNewScriptTitle:"AutomateGroupNewScriptTitle",AutomateGroupNewScriptKeyTip:"AutomateGroupNewScriptKeyTip",AutomateCreateInCodeEditorTitle:"AutomateCreateInCodeEditorTitle",AutomateCreateInCodeEditorKeyTip:"AutomateCreateInCodeEditorKeyTip",AutomateCreateInCodeEditorTooltip:"AutomateCreateInCodeEditorTooltip",AutomateCreateFromRecordingTitle:"AutomateCreateFromRecordingTitle",AutomateCreateFromRecordingKeyTip:"AutomateCreateFromRecordingKeyTip",AutomateCreateFromRecordingTooltip:"AutomateCreateFromRecordingTooltip",AutomateGroupViewScriptsTitle:"AutomateGroupViewScriptsTitle",AutomateGroupViewScriptsKeyTip:"AutomateGroupViewScriptsKeyTip",AutomateRecentScriptsTitle:"AutomateRecentScriptsTitle",AutomateRecentScriptsKeyTip:"AutomateRecentScriptsKeyTip",AutomateScriptsFromThisWorkbookTitle:"AutomateScriptsFromThisWorkbookTitle",AutomateScriptsFromThisWorkbookKeyTip:"AutomateScriptsFromThisWorkbookKeyTip",AutomateSamplesTitle:"AutomateSamplesTitle",AutomateSamplesKeyTip:"AutomateSamplesKeyTip",AutomateUnhideAllRowsCols:"AutomateUnhideAllRowsCols",AutomateFreezeSelection:"AutomateFreezeSelection",AutomateRecorderTitle:"AutomateRecorderTitle",AutomateRecorderTooltip:"AutomateRecorderTooltip",AutomateRecorderKeyTip:"AutomateRecorderKeyTip",AutomateAutomateTaskTitle:"AutomateAutomateTaskTitle",AutomateAutomateTaskTooltip:"AutomateAutomateTaskTooltip",AutomateAutomateTaskKeyTip:"AutomateAutomateTaskKeyTip",AutomateAutomateATaskTitle:"AutomateAutomateATaskTitle",AutomateAutomateATaskTooltip:"AutomateAutomateATaskTooltip",AutomateAutomateATaskKeyTip:"AutomateAutomateATaskKeyTip",AutomateFeedbackGroupTitle:"AutomateFeedbackGroupTitle",AutomateFeedbackTitle:"AutomateFeedbackTitle",AutomateGalleryMenuTooltip:"AutomateGalleryMenuTooltip",AutomateGalleryMenuKeyTip:"AutomateGalleryMenuKeyTip",AutomateGalleryWorkbookScriptsSection:"AutomateGalleryWorkbookScriptsSection",AutomateGalleryRecentScriptsSection:"AutomateGalleryRecentScriptsSection",AutomateGalleryAllScriptsTitle:"AutomateGalleryAllScriptsTitle",FlowGalleryMenuTooltip:"FlowGalleryMenuTooltip",FlowGalleryMenuKeyTip:"FlowGalleryMenuKeyTip",WorkbookStatistics:"WorkbookStatistics",WorkbookStatisticsKeyTip:"WorkbookStatisticsKeyTip",PivotTableTabTitle:"PivotTableTabTitle",PivotTableTabKeytip:"PivotTableTabKeytip",PivotTableDataGroupTitle:"PivotTableDataGroupTitle",PivotTableDataGroupOverflowLabel:"PivotTableDataGroupOverflowLabel",PivotTableActionsGroupTitle:"PivotTableActionsGroupTitle",PivotTableActionsGroupOverflowLabel:"PivotTableActionsGroupOverflowLabel",PivotTableSlicerGroupTitle:"PivotTableSlicerGroupTitle",PivotTableSlicerGroupOverflowLabel:"PivotTableSlicerGroupOverflowLabel",PivotTableStyleOptionsGroupTitle:"PivotTableStyleOptionsGroupTitle",PivotTableStyleOptionsGroupOverflowLabel:"PivotTableStyleOptionsGroupOverflowLabel",PivotTableStylesGroupTitle:"PivotTableStylesGroupTitle",PivotTableStylesGroupOverflowLabel:"PivotTableStylesGroupOverflowLabel",PivotTableShowGroupTitle:"PivotTableShowGroupTitle",PivotTableShowGroupOverflowLabel:"PivotTableShowGroupOverflowLabel",PivotTableAutoRefreshLabel:"PivotTableAutoRefreshLabel",PivotTableAutoRefreshKeytip:"PivotTableAutoRefreshKeytip",PivotTableChangeDataSourceLabel:"PivotTableChangeDataSourceLabel",PivotTableChangeDataSourceKeytip:"PivotTableChangeDataSourceKeytip",MovePivotTableLabel:"MovePivotTableLabel",MovePivotTableKeytip:"MovePivotTableKeytip",PivotTableShowDetailsLabel:"PivotTableShowDetailsLabel",PivotTableShowDetailsKeytip:"PivotTableShowDetailsKeytip",PivotTableStyleOptionsLabel:"PivotTableStyleOptionsLabel",PivotTableStyleOptionsKeytip:"PivotTableStyleOptionsKeytip",PivotTableRowHeadersLabel:"PivotTableRowHeadersLabel",PivotTableRowHeadersKeytip:"PivotTableRowHeadersKeytip",PivotTableColumnHeadersLabel:"PivotTableColumnHeadersLabel",PivotTableColumnHeadersKeytip:"PivotTableColumnHeadersKeytip",PivotTableBandedRowsLabel:"PivotTableBandedRowsLabel",PivotTableBandedRowsKeytip:"PivotTableBandedRowsKeytip",PivotTableBandedColumnsLabel:"PivotTableBandedColumnsLabel",PivotTableBandedColumnsKeytip:"PivotTableBandedColumnsKeytip",PivotTableShowFieldListLabel:"PivotTableShowFieldListLabel",PivotTableShowFieldListKeytip:"PivotTableShowFieldListKeytip",PivotTableShowSettingsLabel:"PivotTableShowSettingsLabel",PivotTableShowSettingsKeytip:"PivotTableShowSettingsKeytip",PivotTableShowExpandButtonLabel:"PivotTableShowExpandButtonLabel",PivotTableShowExpandButtonKeytip:"PivotTableShowExpandButtonKeytip",PivotTableSettingsPivotTableName:"PivotTableSettingsPivotTableName",PivotTableSettingsGrandSubTotalsSectionHeader:"PivotTableSettingsGrandSubTotalsSectionHeader",PivotTableSettingsGrandTotalsGroupHeader:"PivotTableSettingsGrandTotalsGroupHeader",PivotTableSettingsGrandTotalsShowForRows:"PivotTableSettingsGrandTotalsShowForRows",PivotTableSettingsGrandTotalsShowForColumns:"PivotTableSettingsGrandTotalsShowForColumns",PivotTableSettingsSubTotalsGroupHeader:"PivotTableSettingsSubTotalsGroupHeader",PivotTableSettingsSubTotalsDoNotShow:"PivotTableSettingsSubTotalsDoNotShow",PivotTableSettingsSubTotalsShowOnTop:"PivotTableSettingsSubTotalsShowOnTop",PivotTableSettingsSubTotalsShowOnBottom:"PivotTableSettingsSubTotalsShowOnBottom",PivotTableSettingsLayoutSectionHeader:"PivotTableSettingsLayoutSectionHeader",PivotTableSettingsLayoutColumnsGroupHeader:"PivotTableSettingsLayoutColumnsGroupHeader",PivotTableSettingsLayoutColumnsSeparate:"PivotTableSettingsLayoutColumnsSeparate",PivotTableSettingsLayoutCompact:"PivotTableSettingsLayoutCompact",PivotTableSettingsLayoutCompactIndent:"PivotTableSettingsLayoutCompactIndent",PivotTableSettingsLayoutItemLabelsGroupHeader:"PivotTableSettingsLayoutItemLabelsGroupHeader",PivotTableSettingsLayoutRepeatLabels:"PivotTableSettingsLayoutRepeatLabels",PivotTableSettingsLayoutDoNotRepeatLabels:"PivotTableSettingsLayoutDoNotRepeatLabels",PivotTableSettingsLayoutBlankLineGroupHeader:"PivotTableSettingsLayoutBlankLineGroupHeader",PivotTableSettingsLayoutBlankLine:"PivotTableSettingsLayoutBlankLine",PivotTableSettingsLayoutNoBlankLine:"PivotTableSettingsLayoutNoBlankLine",PivotTableSettingsSortDisplaySectionHeader:"PivotTableSettingsSortDisplaySectionHeader",PivotTableSettingsSortDisplayAutoFit:"PivotTableSettingsSortDisplayAutoFit",PivotTableSettingsSortDisplayShowExpandCollapse:"PivotTableSettingsSortDisplayShowExpandCollapse",PivotTableSettingsSortDisplayItemsWithNoDataGroupHeader:"PivotTableSettingsSortDisplayItemsWithNoDataGroupHeader",PivotTableSettingsSortDisplayItemsWithNoDataShowOnRows:"PivotTableSettingsSortDisplayItemsWithNoDataShowOnRows",PivotTableSettingsSortDisplayItemsWithNoDataShowOnColumns:"PivotTableSettingsSortDisplayItemsWithNoDataShowOnColumns",PivotTableSettingsSortDisplayErrorString:"PivotTableSettingsSortDisplayErrorString",PivotTableSettingsSortDisplayNullString:"PivotTableSettingsSortDisplayNullString",PivotTableSettingsRefreshSaveSectionHeader:"PivotTableSettingsRefreshSaveSectionHeader",PivotTableSettingsRefreshSaveSourceDataWithFile:"PivotTableSettingsRefreshSaveSourceDataWithFile",PivotTableSettingsRefreshSaveRefreshOnLoad:"PivotTableSettingsRefreshSaveRefreshOnLoad",PivotTableSettingsRefreshSaveAutoRefresh:"PivotTableSettingsRefreshSaveAutoRefresh",PivotTableSettingsAltTextSectionHeader:"PivotTableSettingsAltTextSectionHeader",PivotTableSettingsAltTextSectionDescription:"PivotTableSettingsAltTextSectionDescription",PivotTableSettingsAltTextTitle:"PivotTableSettingsAltTextTitle",PivotTableSettingsAltTextDescription:"PivotTableSettingsAltTextDescription",PivotTableSettingsButtonGroupDescription:"PivotTableSettingsButtonGroupDescription",PivotTableSettingsSlicerConnectionsSectionHeader:"PivotTableSettingsSlicerConnectionsSectionHeader",PivotTableSettingsSlicerConnectionsNameColumnHeader:"PivotTableSettingsSlicerConnectionsNameColumnHeader",PivotTableSettingsSlicerConnectionsCaptionColumnHeader:"PivotTableSettingsSlicerConnectionsCaptionColumnHeader",PivotTableSettingsSlicerConnectionsSheetNameColumnHeader:"PivotTableSettingsSlicerConnectionsSheetNameColumnHeader",SlicerTabTitle:"SlicerTabTitle",SlicerTabKeytip:"SlicerTabKeytip",SlicerShowSettingsKeytip:"SlicerShowSettingsKeytip",SlicerInsertTabInsertSlicerTitle:"SlicerInsertTabInsertSlicerTitle",SlicerInsertTabInsertSlicerKeytip:"SlicerInsertTabInsertSlicerKeytip",SlicerInsertTabInsertSlicerGroupOverflowLabel:"SlicerInsertTabInsertSlicerGroupOverflowLabel",SlicerTableTabInsertSlicerTitle:"SlicerTableTabInsertSlicerTitle",SlicerTableTabInsertSlicerKeytip:"SlicerTableTabInsertSlicerKeytip",SlicerPivotTableTabInsertSlicerTitle:"SlicerPivotTableTabInsertSlicerTitle",SlicerPivotTableTabInsertSlicerKeytip:"SlicerPivotTableTabInsertSlicerKeytip",TimeSlicerPivotTableTabInsertTitle:"TimeSlicerPivotTableTabInsertTitle",TimeSlicerPivotTableTabInsertKeytip:"TimeSlicerPivotTableTabInsertKeytip",SlicerSettingsTitle:"SlicerSettingsTitle",SlicerSettingsShowHeader:"SlicerSettingsShowHeader",SlicerSettingsDataSource:"SlicerSettingsDataSource",SlicerSettingsName:"SlicerSettingsName",SlicerSettingsSizePositionSectionHeader:"SlicerSettingsSizePositionSectionHeader",SlicerSettingsButtonSettingsGroupHeader:"SlicerSettingsButtonSettingsGroupHeader",SlicerSettingsButtonNumberPerRow:"SlicerSettingsButtonNumberPerRow",SlicerSettingsHeight:"SlicerSettingsHeight",SlicerSettingsWidth:"SlicerSettingsWidth",SlicerSettingsSlicerSizeGroupHeader:"SlicerSettingsSlicerSizeGroupHeader",SlicerSettingsSlicerPositionGroupHeader:"SlicerSettingsSlicerPositionGroupHeader",SlicerSettingsHorizontalPosition:"SlicerSettingsHorizontalPosition",SlicerSettingsVerticalPosition:"SlicerSettingsVerticalPosition",SlicerSettingsDisableResizeAndMove:"SlicerSettingsDisableResizeAndMove",SlicerSettingsMoveAndSizeWithCells:"SlicerSettingsMoveAndSizeWithCells",SlicerSettingsMoveButDoNotSizeWithCells:"SlicerSettingsMoveButDoNotSizeWithCells",SlicerSettingsDoNotMoveOrSizeWithCells:"SlicerSettingsDoNotMoveOrSizeWithCells",SlicerSettingsPropertiesSectionHeader:"SlicerSettingsPropertiesSectionHeader",SlicerSettingsPrintObject:"SlicerSettingsPrintObject",SlicerSettingsLock:"SlicerSettingsLock",SlicerSettingsPivotTableConnectionsSectionHeader:"SlicerSettingsPivotTableConnectionsSectionHeader",SlicerSettingsAltTextSectionDescription:"SlicerSettingsAltTextSectionDescription",KeyboardShortcutsDialogAllOverridingShortcuts:"KeyboardShortcutsDialogAllOverridingShortcuts",BrowserReservedShortcuts:"BrowserReservedShortcuts",BrowserReservedShortcutInfoMessage:"BrowserReservedShortcutInfoMessage",BrowserReservedOverrideShortcutInfoMessage:"BrowserReservedOverrideShortcutInfoMessage",HelpLinkText:"HelpLinkText",DialogMove:"DialogMove",Warning:"Warning",Save:"Save",Cancel:"Cancel",Information:"Information",Question:"Question",TableTotalRowOptionsKeyTip:"TableTotalRowOptionsKeyTip",TableTotalRowOptionsLabel:"TableTotalRowOptionsLabel",TableTotalRowOptionsAriaDescription:"TableTotalRowOptionsAriaDescription",AccessibleAuthoringTabTitle:"AccessibleAuthoringTabTitle",AccessibleAuthoringTabKeytip:"AccessibleAuthoringTabKeytip",AccessibleAuthoringReviewGroupTitle:"AccessibleAuthoringReviewGroupTitle",AccessibleAuthoringColorGroupTitle:"AccessibleAuthoringColorGroupTitle",AccessibleAuthoringStyleGroupTitle:"AccessibleAuthoringStyleGroupTitle",AccessibleAuthoringFormatGroupTitle:"AccessibleAuthoringFormatGroupTitle",AccessibleAuthoringNamesGroupTitle:"AccessibleAuthoringNamesGroupTitle",AccessibleAuthoringResourcesGroupTitle:"AccessibleAuthoringResourcesGroupTitle",AccessibleAuthoringReviewGroupOverflowLabel:"AccessibleAuthoringReviewGroupOverflowLabel",AccessibleAuthoringColorGroupOverflowLabel:"AccessibleAuthoringColorGroupOverflowLabel",AccessibleAuthoringStyleGroupOverflowLabel:"AccessibleAuthoringStyleGroupOverflowLabel",AccessibleAuthoringFormatGroupOverflowLabel:"AccessibleAuthoringFormatGroupOverflowLabel",AccessibleAuthoringResourcesGroupOverflowLabel:"AccessibleAuthoringResourcesGroupOverflowLabel",AccessibleCellStyles:"AccessibleCellStyles",AccessibleTableStylesShort:"AccessibleTableStylesShort",AccessibleTableStyles:"AccessibleTableStyles",AccessibleTableStylesKeytip:"AccessibleTableStylesKeytip",AccessibleFormatAsTableKeytip:"AccessibleFormatAsTableKeytip",AboutAccessibilityKeytip:"AboutAccessibilityKeytip",AboutAccessibilityLabel:"AboutAccessibilityLabel",EditAltTextKeytip:"EditAltTextKeytip",AccessibileAuthoringPivotTableSettingsKeytip:"AccessibileAuthoringPivotTableSettingsKeytip",PrintPreviewPaneIgnorePrintAreaText:"PrintPreviewPaneIgnorePrintAreaText",PrintPreviewPanePageSetupTitleText:"PrintPreviewPanePageSetupTitleText",PrintPreviewPanePrintText:"PrintPreviewPanePrintText",PrintPreviewPanePaperSizeText:"PrintPreviewPanePaperSizeText",PrintPreviewPaneOrientationText:"PrintPreviewPaneOrientationText",PrintPreviewPaneScalingText:"PrintPreviewPaneScalingText",PrintPreviewPaneScalePercentageText:"PrintPreviewPaneScalePercentageText",PrintPreviewPaneScalePercentageIncrease:"PrintPreviewPaneScalePercentageIncrease",PrintPreviewPaneScalePercentageDecrease:"PrintPreviewPaneScalePercentageDecrease",PrintPreviewPaneScalePercentageSuffix:"PrintPreviewPaneScalePercentageSuffix",PrintPreviewPaneLoadingPreviewText:"PrintPreviewPaneLoadingPreviewText",MRUMoreLink:"MRUMoreLink",MRUErrorMessage:"MRUErrorMessage",DrawTabTitle:"DrawTabTitle",DrawTabKeytip:"DrawTabKeytip",Drawing:"Drawing",DrawingKeytip:"DrawingKeytip",InkInputModeGroupTitle:"InkInputModeGroupTitle",InkSelect:"InkSelect",InkSelectKeytip:"InkSelectKeytip",InkDrawWithTouch:"InkDrawWithTouch",InkDrawWithTouchKeytip:"InkDrawWithTouchKeytip",InkDrawingToolsGroupTitle:"InkDrawingToolsGroupTitle",InkEraser:"InkEraser",InkEraserKeytip:"InkEraserKeytip",InkPen:"InkPen",InkPen1Keytip:"InkPen1Keytip",InkPen2Keytip:"InkPen2Keytip",InkHighlighter:"InkHighlighter",InkHighlighterKeytip:"InkHighlighterKeytip",InkActionPen:"InkActionPen",InkActionPenKeytip:"InkActionPenKeytip",InkThicknessSlider:"InkThicknessSlider",InkColorSwatchPicker:"InkColorSwatchPicker",InkColorSwatchPickerRecent:"InkColorSwatchPickerRecent",InkColorSwatchPickerStandard:"InkColorSwatchPickerStandard",InkSnapToText:"InkSnapToText",InkActionPenHelp:"InkActionPenHelp",InkActionPenHelpToolTip:"InkActionPenHelpToolTip",InkColorAqua:"InkColorAqua",InkColorBlack:"InkColorBlack",InkColorBlue:"InkColorBlue",InkColorCrimson:"InkColorCrimson",InkColorDarkBlue:"InkColorDarkBlue",InkColorGray25:"InkColorGray25",InkColorGray50:"InkColorGray50",InkColorGray80:"InkColorGray80",InkColorGreen:"InkColorGreen",InkColorIndigo:"InkColorIndigo",InkColorLavender:"InkColorLavender",InkColorLightBlue:"InkColorLightBlue",InkColorLightGreen:"InkColorLightGreen",InkColorLime:"InkColorLime",InkColorOrange:"InkColorOrange",InkColorPaleBlue:"InkColorPaleBlue",InkColorPink:"InkColorPink",InkColorPlum:"InkColorPlum",InkColorPurple:"InkColorPurple",InkColorRed:"InkColorRed",InkColorRose:"InkColorRose",InkColorSkyBlue:"InkColorSkyBlue",InkColorWhite:"InkColorWhite",InkColorYellow:"InkColorYellow",QueriesTaskpane:"QueriesTaskpane",QueriesAndConnectionsTaskpane:"QueriesAndConnectionsTaskpane",QueriesTaskpaneKeytip:"QueriesTaskpaneKeytip",MorePivotTableStyles:"MorePivotTableStyles",MorePivotTableStylesKeytip:"MorePivotTableStylesKeytip",MoreSlicerStyles:"MoreSlicerStyles",MoreSlicerStylesKeytip:"MoreSlicerStylesKeytip",NavigationPane:"NavigationPane",NavigationPaneKeyTip:"NavigationPaneKeyTip",ChartEditDataDialogTooComplexWarning:"ChartEditDataDialogTooComplexWarning",ChartEditDataDialogValueLabel:"ChartEditDataDialogValueLabel",ChartEditTitleDialogValueLabel:"ChartEditTitleDialogValueLabel",ChartEditDataLabelDialogValueLabel:"ChartEditDataLabelDialogValueLabel",CustomSortDialogAddButton:"CustomSortDialogAddButton",CustomSortDialogAddButtonTooltip:"CustomSortDialogAddButtonTooltip",CustomSortDialogDeleteButton:"CustomSortDialogDeleteButton",CustomSortDialogDeleteButtonTooltip:"CustomSortDialogDeleteButtonTooltip",CustomSortDialogCopyButton:"CustomSortDialogCopyButton",CustomSortDialogCopyButtonTooltip:"CustomSortDialogCopyButtonTooltip",CustomSortDialogDisabledMenuGradientDisclaimer:"CustomSortDialogDisabledMenuGradientDisclaimer",CustomSortDialogMoveUpButtonTooltip:"CustomSortDialogMoveUpButtonTooltip",CustomSortDialogMoveDownButtonTooltip:"CustomSortDialogMoveDownButtonTooltip",CustomSortDialogOptionsButton:"CustomSortDialogOptionsButton",CustomSortDialogCaseSensitiveCheckbox:"CustomSortDialogCaseSensitiveCheckbox",CustomSortDialogOrientationLabel:"CustomSortDialogOrientationLabel",CustomSortDialogOrientationOptionVertical:"CustomSortDialogOrientationOptionVertical",CustomSortDialogOrientationOptionHorizontal:"CustomSortDialogOrientationOptionHorizontal",CustomSortDialogOrientationOptionHorizontalRTL:"CustomSortDialogOrientationOptionHorizontalRTL",CustomSortDialogDataHeadersCheckbox:"CustomSortDialogDataHeadersCheckbox",CustomSortDialogTableHeadersColumn:"CustomSortDialogTableHeadersColumn",CustomSortDialogTableHeadersRow:"CustomSortDialogTableHeadersRow",CustomSortDialogTableHeadersSortOn:"CustomSortDialogTableHeadersSortOn",CustomSortDialogTableHeadersOrder:"CustomSortDialogTableHeadersOrder",CustomSortDialogTableFirstRowLabel:"CustomSortDialogTableFirstRowLabel",CustomSortDialogTableFollowingRowLabel:"CustomSortDialogTableFollowingRowLabel",CustomSortDialogSortOnOptionsCellValue:"CustomSortDialogSortOnOptionsCellValue",CustomSortDialogSortOnOptionsCellColor:"CustomSortDialogSortOnOptionsCellColor",CustomSortDialogSortOnOptionsFontColor:"CustomSortDialogSortOnOptionsFontColor",CustomSortDialogSortOnOptionsCellIcon:"CustomSortDialogSortOnOptionsCellIcon",CustomSortDialogOrderOptionsAscending:"CustomSortDialogOrderOptionsAscending",CustomSortDialogOrderOptionsDescending:"CustomSortDialogOrderOptionsDescending",CustomSortDialogColorOrIconOrderOptionsTop:"CustomSortDialogColorOrIconOrderOptionsTop",CustomSortDialogColorOrIconOrderOptionsBottom:"CustomSortDialogColorOrIconOrderOptionsBottom",CustomSortDialogColorOrIconOrderOptionsLeft:"CustomSortDialogColorOrIconOrderOptionsLeft",CustomSortDialogColorOrIconOrderOptionsRight:"CustomSortDialogColorOrIconOrderOptionsRight",CustomSortDialogNoCellColor:"CustomSortDialogNoCellColor",CustomSortDialogFontColorAutomatic:"CustomSortDialogFontColorAutomatic",CustomSortDialogNoCellIcon:"CustomSortDialogNoCellIcon",CustomSortDialogGradientTitle:"CustomSortDialogGradientTitle",CustomSortDialogValidationBlankColumnKey:"CustomSortDialogValidationBlankColumnKey",CustomSortDialogValidationBlankRowKey:"CustomSortDialogValidationBlankRowKey",CustomSortDialogValidationSameKey:"CustomSortDialogValidationSameKey",CustomSortDialogValidationSameColor:"CustomSortDialogValidationSameColor",CustomSortDialogValidationSameIcon:"CustomSortDialogValidationSameIcon",CustomSortDialogSortConditionAriaLabel:"CustomSortDialogSortConditionAriaLabel",SlicerStylesGroupTitle:"SlicerStylesGroupTitle",SlicerStylesGroupOverflowLabel:"SlicerStylesGroupOverflowLabel",PasswordDialogInputPlaceholder:"PasswordDialogInputPlaceholder",PasswordDialogInputAriaLabel:"PasswordDialogInputAriaLabel",PasswordDialogInputLabelForSmallFileNames:"PasswordDialogInputLabelForSmallFileNames",PasswordDialogInputLabelForLargeFileNames:"PasswordDialogInputLabelForLargeFileNames",PasswordDialogShowEyeIconAriaLabel:"PasswordDialogShowEyeIconAriaLabel",PasswordDialogHideEyeIconAriaLabel:"PasswordDialogHideEyeIconAriaLabel",PasswordDialogWrongPasswordDescription:"PasswordDialogWrongPasswordDescription",RibbonScalingData:"RibbonScalingData",EditGridLabel:"EditGridLabel",EditLinkLabel:"EditLinkLabel",SheetViewNewStringLabel:"SheetViewNewStringLabel",RenameButtonTitleLabel:"RenameButtonTitleLabel",Zoom:"Zoom",ZoomKeytip:"ZoomKeytip",ZoomToolTip:"ZoomToolTip",ZoomTo25:"ZoomTo25",ZoomTo50:"ZoomTo50",ZoomTo75:"ZoomTo75",ZoomTo100:"ZoomTo100",ZoomTo125:"ZoomTo125",ZoomTo150:"ZoomTo150",ZoomTo175:"ZoomTo175",ZoomTo200:"ZoomTo200",ZoomTo100Keytip:"ZoomTo100Keytip",ZoomTo100ToolTip:"ZoomTo100ToolTip",InsertDeleteCellsDialogShiftCellsLeftLabel:"InsertDeleteCellsDialogShiftCellsLeftLabel",InsertDeleteCellsDialogShiftCellsRightLabel:"InsertDeleteCellsDialogShiftCellsRightLabel",InsertDeleteCellsDialogShiftCellsUpLabel:"InsertDeleteCellsDialogShiftCellsUpLabel",InsertDeleteCellsDialogShiftCellsDownLabel:"InsertDeleteCellsDialogShiftCellsDownLabel",InsertDeleteCellsDialogEntireRowLabel:"InsertDeleteCellsDialogEntireRowLabel",InsertDeleteCellsDialogEntireColumnLabel:"InsertDeleteCellsDialogEntireColumnLabel",ResizeHeadersDialogUnitsDefault:"ResizeHeadersDialogUnitsDefault",ResizeHeadersDialogUnitsPx:"ResizeHeadersDialogUnitsPx",ResizeHeadersDialogDefaultUnitsColumnTooltip:"ResizeHeadersDialogDefaultUnitsColumnTooltip",ResizeHeadersDialogDefaultUnitsRowTooltip:"ResizeHeadersDialogDefaultUnitsRowTooltip",ResizeHeadersDialogValueLabel:"ResizeHeadersDialogValueLabel",NeedDesktopAppLabel:"NeedDesktopAppLabel",MLRQueriesAndConnectionsGroupTitle:"MLRQueriesAndConnectionsGroupTitle",SpinnerLoadingLabel:"SpinnerLoadingLabel",DataCleansingEmptyPane:"DataCleansingEmptyPane",TellMeUpsellChangeCase:"TellMeUpsellChangeCase",TellMeUpsellExcelSymbols:"TellMeUpsellExcelSymbols",TellMeUpsellFileProtection:"TellMeUpsellFileProtection",PerformanceGroupTitle:"PerformanceGroupTitle",CheckPerformance:"CheckPerformance",CheckPerformanceKeyTip:"CheckPerformanceKeyTip",NameBoxTooltip:"NameBoxTooltip",NameBoxNoObjects:"NameBoxNoObjects",NameBoxViewMode:"NameBoxViewMode",NameManager:"NameManager",NameManagerKeytip:"NameManagerKeytip",NameManagerSearchBoxPlaceholder:"NameManagerSearchBoxPlaceholder",NameManagerContextMenuEntryPointText:"NameManagerContextMenuEntryPointText",NameManagerNameBoxEntryPointText:"NameManagerNameBoxEntryPointText",NameManagerEmptyMessage:"NameManagerEmptyMessage",NameManagerItemSelect:"NameManagerItemSelect",NameManagerDeleteName:"NameManagerDeleteName",NameManagerNameInputTitle:"NameManagerNameInputTitle",NameManagerRefersToInputTitle:"NameManagerRefersToInputTitle",NameManagerCommentInputTitle:"NameManagerCommentInputTitle",NameManagerInvalidReference:"NameManagerInvalidReference",NameManagerEditButtonLabel:"NameManagerEditButtonLabel",NameManagerMoreOptionsButtonLabel:"NameManagerMoreOptionsButtonLabel",NameManagerMoreOptionsAccessibility:"NameManagerMoreOptionsAccessibility",NameManagerSelectButtonLabel:"NameManagerSelectButtonLabel",NameManagerDeleteButtonLabel:"NameManagerDeleteButtonLabel",NameManagerNameInputPlaceholder:"NameManagerNameInputPlaceholder",NameManagerRefersToInputPlaceholder:"NameManagerRefersToInputPlaceholder",NameManagerCommentInputPlaceholder:"NameManagerCommentInputPlaceholder",NameManagerTableEditInfoMessage:"NameManagerTableEditInfoMessage",NameManagerScopeEditInfoMessageGlobalScope:"NameManagerScopeEditInfoMessageGlobalScope",NameManagerScopeEditInfoMessageLocalScope:"NameManagerScopeEditInfoMessageLocalScope",NameManagerSaveButtonLabel:"NameManagerSaveButtonLabel",NameManagerCancelButtonLabel:"NameManagerCancelButtonLabel",NameManagerEmptyViewHeader:"NameManagerEmptyViewHeader",NameManagerEmptyViewDescription:"NameManagerEmptyViewDescription",NameManagerEmptyViewLearnMoreLabel:"NameManagerEmptyViewLearnMoreLabel",NameManagerNoSearchResults:"NameManagerNoSearchResults",NameManagerNoSearchResultsDescription:"NameManagerNoSearchResultsDescription",NameManagerNoSearchClearButtonLabel:"NameManagerNoSearchClearButtonLabel",NameManagerErrorViewHeader:"NameManagerErrorViewHeader",NameManagerErrorViewRetryButtonLabel:"NameManagerErrorViewRetryButtonLabel",NameManagerShortcutKey:"NameManagerShortcutKey",NameManagerShortcutKeyMac:"NameManagerShortcutKeyMac",NameManagerNewLabel:"NameManagerNewLabel",NameManagerSelectAllLabel:"NameManagerSelectAllLabel",NameManagerDeleteLabel:"NameManagerDeleteLabel",NameManagerImproveButtonLabel:"NameManagerImproveButtonLabel",NameManagerFilterWorkbook:"NameManagerFilterWorkbook",NameManagerFilterWorksheets:"NameManagerFilterWorksheets",NameManagerFilterWithErrors:"NameManagerFilterWithErrors",NameManagerFilterWithoutErrors:"NameManagerFilterWithoutErrors",NameManagerFilterTableNames:"NameManagerFilterTableNames",NameManagerFilterDefinedNames:"NameManagerFilterDefinedNames",NameManagerFilterSortAZ:"NameManagerFilterSortAZ",NameManagerFilterSortZA:"NameManagerFilterSortZA",NameManagerSortLabel:"NameManagerSortLabel",NameManagerFilterLabel:"NameManagerFilterLabel",NameManagerFilterClearFilters:"NameManagerFilterClearFilters",NameManagerFilterSortBy:"NameManagerFilterSortBy",NameManagerFilterSortOrderDefault:"NameManagerFilterSortOrderDefault",NameManagerFilterSortOrderName:"NameManagerFilterSortOrderName",NameManagerFilterSortOrderScope:"NameManagerFilterSortOrderScope",NameManagerFilterFilterByHeaderLabel:"NameManagerFilterFilterByHeaderLabel",NameManagerSearchResults:"NameManagerSearchResults",NameManagerSingleSearchResult:"NameManagerSingleSearchResult",IconGreenUpArrow:"IconGreenUpArrow",IconRedDownArrow:"IconRedDownArrow",IconYellowRightArrow:"IconYellowRightArrow",IconGreyUpArrow:"IconGreyUpArrow",IconGreyDownArrow:"IconGreyDownArrow",IconGreyRightArrow:"IconGreyRightArrow",IconGreenFlag:"IconGreenFlag",IconRedFlag:"IconRedFlag",IconYellowFlag:"IconYellowFlag",IconGreenCircle:"IconGreenCircle",IconRedCircle:"IconRedCircle",IconYellowCircle:"IconYellowCircle",IconGreenTrafficLight:"IconGreenTrafficLight",IconRedTrafficLight:"IconRedTrafficLight",IconYellowTrafficLight:"IconYellowTrafficLight",IconRedDiamond:"IconRedDiamond",IconYellowTriangle:"IconYellowTriangle",IconGreenCircleWithCheckmark:"IconGreenCircleWithCheckmark",IconRedCircleWithX:"IconRedCircleWithX",IconYellowCircleWithExclamation:"IconYellowCircleWithExclamation",IconYellowUpAndRightArrow:"IconYellowUpAndRightArrow",IconYellowDownAndRightArrow:"IconYellowDownAndRightArrow",IconGreyUpAndRightArrow:"IconGreyUpAndRightArrow",IconGreyDownAndRightArrow:"IconGreyDownAndRightArrow",IconDarkRedCircle:"IconDarkRedCircle",IconLightRedCircle:"IconLightRedCircle",IconGreyCircle:"IconGreyCircle",IconBlackCircle:"IconBlackCircle",IconFullCircle:"IconFullCircle",IconEmptyCircle:"IconEmptyCircle",IconThreeQuartersFilledCircle:"IconThreeQuartersFilledCircle",IconHalfFilledCircle:"IconHalfFilledCircle",IconOneQuarterFilledCircle:"IconOneQuarterFilledCircle",IconGreenCheckmark:"IconGreenCheckmark",IconRedX:"IconRedX",IconYellowExclamation:"IconYellowExclamation",IconOneOfFourBars:"IconOneOfFourBars",IconTwoOfFourBars:"IconTwoOfFourBars",IconThreeOfFourBars:"IconThreeOfFourBars",IconFourOfFourBars:"IconFourOfFourBars",IconZeroOfFourBars:"IconZeroOfFourBars",IconZeroOfFourBoxes:"IconZeroOfFourBoxes",IconOneOfFourBoxes:"IconOneOfFourBoxes",IconTwoOfFourBoxes:"IconTwoOfFourBoxes",IconThreeOfFourBoxes:"IconThreeOfFourBoxes",IconFourOfFourBoxes:"IconFourOfFourBoxes",IconEmptyStar:"IconEmptyStar",IconHalfFullStar:"IconHalfFullStar",IconFullStar:"IconFullStar",IconRedTrianglePointedDown:"IconRedTrianglePointedDown",IconYellowHorizontalBar:"IconYellowHorizontalBar",IconGreenTrianglePointedUp:"IconGreenTrianglePointedUp",UnHideSheetDialogTitle:"UnHideSheetDialogTitle",UnHideSheetDialogColumnHeaderName:"UnHideSheetDialogColumnHeaderName",GotoDialogInputTitle:"GotoDialogInputTitle",GotoDialogInputPlaceHolder:"GotoDialogInputPlaceHolder",GotoDialogComboBoxTitle:"GotoDialogComboBoxTitle",GotoDialogError:"GotoDialogError",TellMeUpsellPageMargin:"TellMeUpsellPageMargin",Designer:"Designer",DesignerKeytip:"DesignerKeytip",FrenchAccessibilityStatementLinkText:"FrenchAccessibilityStatementLinkText",FormulaAuthoring:"FormulaAuthoring",FormulaAuthoringGiveFeedback:"FormulaAuthoringGiveFeedback",FormulaAuthoringCopilotPromptPlaceholder:"FormulaAuthoringCopilotPromptPlaceholder",FormulaAuthoringCopilotPromptPrefix:"FormulaAuthoringCopilotPromptPrefix",FormulaAuthoringIgnore:"FormulaAuthoringIgnore",FormulaAuthoringMove:"FormulaAuthoringMove",FormulaArgumentAssistance:"FormulaArgumentAssistance",FormulaArgumentAssistanceTurnOn:"FormulaArgumentAssistanceTurnOn",FormulaArgumentAssistanceTurnOff:"FormulaArgumentAssistanceTurnOff",FormulaArgumentAssistanceDescription:"FormulaArgumentAssistanceDescription",FormulaArgumentAssistanceExample:"FormulaArgumentAssistanceExample",FormulaArgumentAssistanceLearnMore:"FormulaArgumentAssistanceLearnMore",FormulaArgumentAssistanceExpand:"FormulaArgumentAssistanceExpand",FormulaArgumentAssistanceCollapse:"FormulaArgumentAssistanceCollapse",FormulaArgumentAssistanceDismiss:"FormulaArgumentAssistanceDismiss",FormulaArgumentAssistanceShowLess:"FormulaArgumentAssistanceShowLess",FormulaRepairDefaultTitle:"FormulaRepairDefaultTitle",FormulaRepairDefaultDescriptionSingle:"FormulaRepairDefaultDescriptionSingle",FormulaRepairDefaultDescriptionMultiple:"FormulaRepairDefaultDescriptionMultiple",FormulaSuggestions:"FormulaSuggestions",FormulaSuggestionsTurnOn:"FormulaSuggestionsTurnOn",FormulaSuggestionsTurnOff:"FormulaSuggestionsTurnOff",FormulaSyntaxErrorIndicationDescription:"FormulaSyntaxErrorIndicationDescription",FieldListDragDropAreaDescription:"FieldListDragDropAreaDescription",FieldListDisplayModeAriaLabel:"FieldListDisplayModeAriaLabel",FieldListDisplayAll:"FieldListDisplayAll",FieldListDisplayActive:"FieldListDisplayActive",FieldListTools:"FieldListTools",FieldListExpandAll:"FieldListExpandAll",FieldListCollapseAll:"FieldListCollapseAll",FieldListSortAscending:"FieldListSortAscending",FieldListSortInDataSourceOrder:"FieldListSortInDataSourceOrder",FieldListResize:"FieldListResize",FieldListResizeAriaLabel:"FieldListResizeAriaLabel",FieldListResizeCurrentPercentage:"FieldListResizeCurrentPercentage",FieldListResizeMaxPercentage:"FieldListResizeMaxPercentage",FieldListResizeMinPercentage:"FieldListResizeMinPercentage",FieldListFilters:"FieldListFilters",FieldListRows:"FieldListRows",FieldListPivotChartRows:"FieldListPivotChartRows",FieldListColumns:"FieldListColumns",FieldListPivotChartColumns:"FieldListPivotChartColumns",FieldListValues:"FieldListValues",FieldListSearch:"FieldListSearch",FieldListSearchDescription:"FieldListSearchDescription",FieldListSearchClear:"FieldListSearchClear",FieldListSearchNoMatches:"FieldListSearchNoMatches",ReorderSheetDialogField:"ReorderSheetDialogField",SheetOptionsKeytip:"SheetOptionsKeytip",SheetOptions:"SheetOptions",PresentationView:"PresentationView",PresentationViewKeyTip:"PresentationViewKeyTip",PresentationViewWelcomeDialogTitle:"PresentationViewWelcomeDialogTitle",PresentationViewWelcomeDialogDesc:"PresentationViewWelcomeDialogDesc",PresentationViewWelcomeDialogBtn:"PresentationViewWelcomeDialogBtn",PresentationViewToolbarSpotlight:"PresentationViewToolbarSpotlight",PresentationViewToolbarSpotlightTooltip:"PresentationViewToolbarSpotlightTooltip",PresentationViewToolbarShowOptions:"PresentationViewToolbarShowOptions",PresentationViewToolbarZoomIn:"PresentationViewToolbarZoomIn",PresentationViewToolbarZoomOut:"PresentationViewToolbarZoomOut",PresentationViewToolbarExit:"PresentationViewToolbarExit",EwrImage200GreenUpArrowToolTip:"EwrImage200GreenUpArrowToolTip",EwrImage201RedDownArrowToolTip:"EwrImage201RedDownArrowToolTip",EwrImage202YellowRightArrowToolTip:"EwrImage202YellowRightArrowToolTip",EwrImage203GreyUpArrowToolTip:"EwrImage203GreyUpArrowToolTip",EwrImage204GreyDownArrowToolTip:"EwrImage204GreyDownArrowToolTip",EwrImage205GreyRightArrowToolTip:"EwrImage205GreyRightArrowToolTip",EwrImage206GreenFlagToolTip:"EwrImage206GreenFlagToolTip",EwrImage207RedFlagToolTip:"EwrImage207RedFlagToolTip",EwrImage208YellowFlagToolTip:"EwrImage208YellowFlagToolTip",EwrImage209GreenCircleToolTip:"EwrImage209GreenCircleToolTip",EwrImage210RedCircleToolTip:"EwrImage210RedCircleToolTip",EwrImage211YellowCircleToolTip:"EwrImage211YellowCircleToolTip",EwrImage212GreenTrafficLightToolTip:"EwrImage212GreenTrafficLightToolTip",EwrImage213RedTrafficLightToolTip:"EwrImage213RedTrafficLightToolTip",EwrImage214YellowTrafficLightToolTip:"EwrImage214YellowTrafficLightToolTip",EwrImage215RedDiamondToolTip:"EwrImage215RedDiamondToolTip",EwrImage216YellowTriangleToolTip:"EwrImage216YellowTriangleToolTip",EwrImage217GreenCircleWithCheckmarkToolTip:"EwrImage217GreenCircleWithCheckmarkToolTip",EwrImage218RedCircleWithXToolTip:"EwrImage218RedCircleWithXToolTip",EwrImage219YellowCircleWithExclamationToolTip:"EwrImage219YellowCircleWithExclamationToolTip",EwrImage220YellowUpAndRightArrowToolTip:"EwrImage220YellowUpAndRightArrowToolTip",EwrImage221YellowDownAndRightArrowToolTip:"EwrImage221YellowDownAndRightArrowToolTip",EwrImage222GreyUpAndRightArrowToolTip:"EwrImage222GreyUpAndRightArrowToolTip",EwrImage223GreyDownAndRightArrowToolTip:"EwrImage223GreyDownAndRightArrowToolTip",EwrImage224DarkRedCircleToolTip:"EwrImage224DarkRedCircleToolTip",EwrImage225LightRedCircleToolTip:"EwrImage225LightRedCircleToolTip",EwrImage226GreyCircleToolTip:"EwrImage226GreyCircleToolTip",EwrImage227BlackCircleToolTip:"EwrImage227BlackCircleToolTip",EwrImage231FullCircleToolTip:"EwrImage231FullCircleToolTip",EwrImage232EmptyCircleToolTip:"EwrImage232EmptyCircleToolTip",EwrImage233ThreeQuartersFilledCircleToolTip:"EwrImage233ThreeQuartersFilledCircleToolTip",EwrImage234HalfFilledCircleToolTip:"EwrImage234HalfFilledCircleToolTip",EwrImage235OneQuarterFilledCircleToolTip:"EwrImage235OneQuarterFilledCircleToolTip",EwrImage236GreenCheckmarkToolTip:"EwrImage236GreenCheckmarkToolTip",EwrImage237RedXToolTip:"EwrImage237RedXToolTip",EwrImage238YellowExclamationToolTip:"EwrImage238YellowExclamationToolTip",EwrImage247ZeroOfFourBarsToolTip:"EwrImage247ZeroOfFourBarsToolTip",EwrImage239OneOfFourBarsToolTip:"EwrImage239OneOfFourBarsToolTip",EwrImage240TwoOfFourBarsToolTip:"EwrImage240TwoOfFourBarsToolTip",EwrImage241ThreeOfFourBarsToolTip:"EwrImage241ThreeOfFourBarsToolTip",EwrImage242FourOfFourBarsToolTip:"EwrImage242FourOfFourBarsToolTip",EwrImage248ZeroOfFourBoxesToolTip:"EwrImage248ZeroOfFourBoxesToolTip",EwrImage249OneOfFourBoxesToolTip:"EwrImage249OneOfFourBoxesToolTip",EwrImage250TwoOfFourBoxesToolTip:"EwrImage250TwoOfFourBoxesToolTip",EwrImage251ThreeOfFourBoxesToolTip:"EwrImage251ThreeOfFourBoxesToolTip",EwrImage252FourOfFourBoxesToolTip:"EwrImage252FourOfFourBoxesToolTip",EwrImage253EmptyStarToolTip:"EwrImage253EmptyStarToolTip",EwrImage254HalfFullStarToolTip:"EwrImage254HalfFullStarToolTip",EwrImage255FullStarToolTip:"EwrImage255FullStarToolTip",EwrImage256RedTrianglePointedDownToolTip:"EwrImage256RedTrianglePointedDownToolTip",EwrImage257YellowHorizontalBarToolTip:"EwrImage257YellowHorizontalBarToolTip",EwrImage258GreenTrianglePointedUpToolTip:"EwrImage258GreenTrianglePointedUpToolTip",EwrTooltipColorWhite:"EwrTooltipColorWhite",EwrTooltipColorBlack:"EwrTooltipColorBlack",EwrTooltipColorLightGray:"EwrTooltipColorLightGray",EwrTooltipColorGray:"EwrTooltipColorGray",EwrTooltipColorDarkGray:"EwrTooltipColorDarkGray",EwrTooltipColorAqua:"EwrTooltipColorAqua",EwrTooltipColorBlue:"EwrTooltipColorBlue",EwrTooltipColorBlueGray:"EwrTooltipColorBlueGray",EwrTooltipColorBrightGreen:"EwrTooltipColorBrightGreen",EwrTooltipColorBrown:"EwrTooltipColorBrown",EwrTooltipColorCoral:"EwrTooltipColorCoral",EwrTooltipColorDarkBlue:"EwrTooltipColorDarkBlue",EwrTooltipColorDarkGreen:"EwrTooltipColorDarkGreen",EwrTooltipColorDarkPurple:"EwrTooltipColorDarkPurple",EwrTooltipColorDarkRed:"EwrTooltipColorDarkRed",EwrTooltipColorDarkTeal:"EwrTooltipColorDarkTeal",EwrTooltipColorDarkYellow:"EwrTooltipColorDarkYellow",EwrTooltipColorPurple:"EwrTooltipColorPurple",EwrTooltipColorGold:"EwrTooltipColorGold",EwrTooltipColorGreen:"EwrTooltipColorGreen",EwrTooltipColorIceBlue:"EwrTooltipColorIceBlue",EwrTooltipColorIndigo:"EwrTooltipColorIndigo",EwrTooltipColorLavender:"EwrTooltipColorLavender",EwrTooltipColorLightBlue:"EwrTooltipColorLightBlue",EwrTooltipColorLightGreen:"EwrTooltipColorLightGreen",EwrTooltipColorLightOrange:"EwrTooltipColorLightOrange",EwrTooltipColorLightTurquoise:"EwrTooltipColorLightTurquoise",EwrTooltipColorLightYellow:"EwrTooltipColorLightYellow",EwrTooltipColorLime:"EwrTooltipColorLime",EwrTooltipColorOliveGreen:"EwrTooltipColorOliveGreen",EwrTooltipColorOrange:"EwrTooltipColorOrange",EwrTooltipColorPaleBlue:"EwrTooltipColorPaleBlue",EwrTooltipColorPeriwinkle:"EwrTooltipColorPeriwinkle",EwrTooltipColorPink:"EwrTooltipColorPink",EwrTooltipColorPlum:"EwrTooltipColorPlum",EwrTooltipColorRed:"EwrTooltipColorRed",EwrTooltipColorRose:"EwrTooltipColorRose",EwrTooltipColorSkyBlue:"EwrTooltipColorSkyBlue",EwrTooltipColorTan:"EwrTooltipColorTan",EwrTooltipColorTeal:"EwrTooltipColorTeal",EwrTooltipColorTurquoise:"EwrTooltipColorTurquoise",EwrTooltipColorYellow:"EwrTooltipColorYellow",EwrThemeColorBackground1:"EwrThemeColorBackground1",EwrThemeColorText1:"EwrThemeColorText1",EwrThemeColorBackground2:"EwrThemeColorBackground2",EwrThemeColorText2:"EwrThemeColorText2",EwrThemeColorAccent1:"EwrThemeColorAccent1",EwrThemeColorAccent2:"EwrThemeColorAccent2",EwrThemeColorAccent3:"EwrThemeColorAccent3",EwrThemeColorAccent4:"EwrThemeColorAccent4",EwrThemeColorAccent5:"EwrThemeColorAccent5",EwrThemeColorAccent6:"EwrThemeColorAccent6",ExcelLiveWelcomeDialogEditDescription:"ExcelLiveWelcomeDialogEditDescription",ExcelLiveWelcomeDialogZoomInDescription:"ExcelLiveWelcomeDialogZoomInDescription",ExcelLiveWelcomeDialogFilterDescription:"ExcelLiveWelcomeDialogFilterDescription",ExcelLiveWelcomeDialogPresenterName:"ExcelLiveWelcomeDialogPresenterName",ExcelLiveWelcomeDialogTitle:"ExcelLiveWelcomeDialogTitle",ExcelLiveWelcomeDialogDelimiter:"ExcelLiveWelcomeDialogDelimiter",GiveFeedbackToMicrosoft:"GiveFeedbackToMicrosoft",SortByCellColor:"SortByCellColor",SortByFontColor:"SortByFontColor",SortByCellIcon:"SortByCellIcon",FilterByCellColor:"FilterByCellColor",FilterByFontColor:"FilterByFontColor",FilterByCellIcon:"FilterByCellIcon",MoreCellColors:"MoreCellColors",MoreFontColors:"MoreFontColors",MoreCellIcons:"MoreCellIcons",SortFilterByColorNoFill:"SortFilterByColorNoFill",SortFilterByColorNoIcon:"SortFilterByColorNoIcon",SortFilterByColorAutomatic:"SortFilterByColorAutomatic",CreateTableDialogLabel:"CreateTableDialogLabel",CreateTableDialogTableHeadersCheckbox:"CreateTableDialogTableHeadersCheckbox",TableHeaderTextDialogDescription:"TableHeaderTextDialogDescription",TableAltTextTitleLabel:"TableAltTextTitleLabel",TableAltTextDescriptionLabel:"TableAltTextDescriptionLabel",TableEditAltText:"TableEditAltText",TableEditAltTextKeyTip:"TableEditAltTextKeyTip",LoadingProgressIndicator:"LoadingProgressIndicator",GetAndTransformDataGroupTitle:"GetAndTransformDataGroupTitle",GetDataGroupTitle:"GetDataGroupTitle",DataFromPicture:"DataFromPicture",DataFromPictureKeyTip:"DataFromPictureKeyTip",DefaultPaste:"DefaultPaste",DefaultPasteDialogTitle:"DefaultPasteDialogTitle",SetDefaultPasteKeyTip:"SetDefaultPasteKeyTip",DefaultPasteInternalPasteText:"DefaultPasteInternalPasteText",DefaultPasteExternalPasteText:"DefaultPasteExternalPasteText",SetDefaultPasteButton:"SetDefaultPasteButton",ChangeDefaultPasteDialogActionButtonName:"ChangeDefaultPasteDialogActionButtonName",SetDefaultPasteDescription:"SetDefaultPasteDescription",DataFromPowerBI:"DataFromPowerBI",DataFromPowerBIKeyTip:"DataFromPowerBIKeyTip",CopyLinkToThisSheet:"CopyLinkToThisSheet",CopyLinkToSheetView:"CopyLinkToSheetView",CopyLinkToRange:"CopyLinkToRange",CopyLinkToTable:"CopyLinkToTable",LinkToThisSheet:"LinkToThisSheet",LinkToThisSheetKeyTip:"LinkToThisSheetKeyTip",InsertDropdownList:"InsertDropdownList",InsertDropdownListKeyTip:"InsertDropdownListKeyTip",MLRCellControlsGroupTitle:"MLRCellControlsGroupTitle",ViewsGroupTitle:"ViewsGroupTitle",ImmersiveReader:"ImmersiveReader",ImmersiveReaderKeyTip:"ImmersiveReaderKeyTip",HelpImproveOffice:"HelpImproveOffice",CustomiseStatusBar:"CustomiseStatusBar",NumericalCount:"NumericalCount",SheetNumber:"SheetNumber",PageLoadStatistics:"PageLoadStatistics",CoauthInfraStatistics:"CoauthInfraStatistics",ReadFeatures:"ReadFeatures",ServerDebugStatesUpdate:"ServerDebugStatesUpdate",SupportedFeatures:"SupportedFeatures",EndMode:"EndMode",Disconnected:"Disconnected",Connected:"Connected",EnterToPaste:"EnterToPaste",LongTaskTooltip:"LongTaskTooltip",TextForOfficeOnlineInGallatin:"TextForOfficeOnlineInGallatin",DataSourceDirtiness:"DataSourceDirtiness",AverageDescription:"AverageDescription",CountDescription:"CountDescription",NumericalCountDescription:"NumericalCountDescription",MinimumDescription:"MinimumDescription",MaximumDescription:"MaximumDescription",SumDescription:"SumDescription",InsertCellPictureFlyout:"InsertCellPictureFlyout",InsertCellPictureFlyoutKeyTip:"InsertCellPictureFlyoutKeyTip",InsertOverCellsPictureFlyout:"InsertOverCellsPictureFlyout",InsertOverCellsPictureFlyoutKeyTip:"InsertOverCellsPictureFlyoutKeyTip",DataConnectionsFlyout:"DataConnectionsFlyout",ManageConnections:"ManageConnections",DataSourceSettings:"DataSourceSettings",ManageConnectionsPowerQueryKeyTip:"ManageConnectionsPowerQueryKeyTip",FormatCellAlignment:"FormatCellAlignment",FormatCells:"FormatCells",FormatCellFont:"FormatCellFont",FormatCellBorder:"FormatCellBorder",FormatCellAlignmentKeyTip:"FormatCellAlignmentKeyTip",FormatCellsKeyTip:"FormatCellsKeyTip",FormatCellFontKeyTip:"FormatCellFontKeyTip",FormatCellBorderKeyTip:"FormatCellBorderKeyTip",ChartOutline:"ChartOutline",ChartOutlineKeyTip:"ChartOutlineKeyTip",ChartStyleFill:"ChartStyleFill",ChartStyleFillKeyTip:"ChartStyleFillKeyTip",StatusBarZoomIn:"StatusBarZoomIn",StatusBarZoomOut:"StatusBarZoomOut",FullScreen:"FullScreen",DatePickerFloatie:"DatePickerFloatie",LaunchQueryEditor:"LaunchQueryEditor",PowerQueryGetData:"PowerQueryGetData",PowerQueryGetDataMenu:"PowerQueryGetDataMenu",ManageConnectionsPowerQueryGetDataDropdown:"ManageConnectionsPowerQueryGetDataDropdown",DataSourceSettingsGetDataDropdown:"DataSourceSettingsGetDataDropdown",TimerRedirectionDialogContent:"TimerRedirectionDialogContent",NameRangeStatusCalloutHeaderEmptyRange:"NameRangeStatusCalloutHeaderEmptyRange",NameRangeStatusCalloutBodyEmptyRange:"NameRangeStatusCalloutBodyEmptyRange",NameRangeStatusCalloutHeaderRangeCreated:"NameRangeStatusCalloutHeaderRangeCreated",CellsMenu:"CellsMenu",CellsMenuKeyTip:"CellsMenuKeyTip",CloseAndLoadRibbonLabel:"CloseAndLoadRibbonLabel",CloseAndLoadRibbonLabelDescription:"CloseAndLoadRibbonLabelDescription",PowerQueryGetDataKeyTip:"PowerQueryGetDataKeyTip",PowerQueryGetDataMenuKeyTip:"PowerQueryGetDataMenuKeyTip",PowerQueryLaunchQueryEditorKeyTip:"PowerQueryLaunchQueryEditorKeyTip",RenamePromptCalloutButtonText:"RenamePromptCalloutButtonText",RenamePromptCalloutTitle:"RenamePromptCalloutTitle",RenamePromptCalloutBody:"RenamePromptCalloutBody",FormulaRepairAvailable:"FormulaRepairAvailable",FontPickerFreeFontsSection:"FontPickerFreeFontsSection",FontPickerPremiumFontsSection:"FontPickerPremiumFontsSection",FontPickerShowMoreButtonLabel:"FontPickerShowMoreButtonLabel",FontPickerAllFontsSection:"FontPickerAllFontsSection",FontPickerPinnedFontsSection:"FontPickerPinnedFontsSection",FontPickerMruSection:"FontPickerMruSection",FontPickerOrganizationSection:"FontPickerOrganizationSection",FontPickerInfoCommand:"FontPickerInfoCommand",FontPickerPinnedTooltip:"FontPickerPinnedTooltip",FontPickerUnpinnedTooltip:"FontPickerUnpinnedTooltip",FontPickerThemeFontTooltip:"FontPickerThemeFontTooltip",FontPickerEmbeddedFontTooltip:"FontPickerEmbeddedFontTooltip",FontPickerPremiumFontTooltip:"FontPickerPremiumFontTooltip",FontPickerMissingFontTooltip:"FontPickerMissingFontTooltip",FontPickerCompatibilityFontTooltip:"FontPickerCompatibilityFontTooltip",FontPickerNewFontHeader:"FontPickerNewFontHeader",FontPickerSearchNoResult:"FontPickerSearchNoResult",FontPickerNoActionLabel:"FontPickerNoActionLabel",FontPickerPremiumFontsTitle:"FontPickerPremiumFontsTitle",FontPickerPremiumFontsBody:"FontPickerPremiumFontsBody",FontPickerPremiumFontsBody2:"FontPickerPremiumFontsBody2",FontPickerHelpContentTitle:"FontPickerHelpContentTitle",FontPickerPinnedFontAnnouncement:"FontPickerPinnedFontAnnouncement",FontPickerUnPinnedFontAnnouncement:"FontPickerUnPinnedFontAnnouncement",FontPickerNumberOfSuggestionsAnnouncement:"FontPickerNumberOfSuggestionsAnnouncement",FontPickerNoSuggestionsAnnouncement:"FontPickerNoSuggestionsAnnouncement",FontPickerNumberOfSuggestionsInGroupAnnouncement:"FontPickerNumberOfSuggestionsInGroupAnnouncement",FontPickerPinnedDescription:"FontPickerPinnedDescription",FontPickerUnpinnedDescription:"FontPickerUnpinnedDescription",FontPickerFontPinningTooltip:"FontPickerFontPinningTooltip",FontPickerFontMissingFontTooltip:"FontPickerFontMissingFontTooltip",FontPickerFontOtherActionTooltip:"FontPickerFontOtherActionTooltip",ReviewCommentMenu:"ReviewCommentMenu",ReviewCommentMenuTooltip:"ReviewCommentMenuTooltip",ReviewCommentMenuKeyTip:"ReviewCommentMenuKeyTip",ReviewChangesMenu:"ReviewChangesMenu",ReviewChangesHistoryMenu:"ReviewChangesHistoryMenu",ReviewChangesHistoryMenuKeyTip:"ReviewChangesHistoryMenuKeyTip",ReviewProofingMenu:"ReviewProofingMenu",ReviewSpellingStatisticsMenu:"ReviewSpellingStatisticsMenu",ReviewSpellingStatisticsMenuKeyTip:"ReviewSpellingStatisticsMenuKeyTip",ReviewProtectionMenu:"ReviewProtectionMenu",ReviewProtectionMenuKeyTip:"ReviewProtectionMenuKeyTip",ReviewPerformance:"ReviewPerformance",ReviewPerformanceKeyTip:"ReviewPerformanceKeyTip",CompatShortcutKeyPressedInfoCalloutHeader:"CompatShortcutKeyPressedInfoCalloutHeader",CompatShortcutKeyPressedInfoCalloutBody:"CompatShortcutKeyPressedInfoCalloutBody",FullScreenKeyTip:"FullScreenKeyTip",CopySheetStatusCalloutTitle:"CopySheetStatusCalloutTitle",CopySheetStatusCalloutBody:"CopySheetStatusCalloutBody",CopySheetStatusFailedCallout:"CopySheetStatusFailedCallout",FullSheetCopy:"FullSheetCopy",FullSheetCopyKeyTip:"FullSheetCopyKeyTip",FullSheetPaste:"FullSheetPaste",FullSheetPasteKeyTip:"FullSheetPasteKeyTip",KeyboardShortcutAwarenessCalloutTitle:"KeyboardShortcutAwarenessCalloutTitle",KeyboardShortcutAwarenessCalloutSubtitle:"KeyboardShortcutAwarenessCalloutSubtitle",KeyboardShortcutAwarenessCalloutLink:"KeyboardShortcutAwarenessCalloutLink",HyperlinkOpenCalloutText:"HyperlinkOpenCalloutText",HyperlinkOpenCalloutTextMac:"HyperlinkOpenCalloutTextMac",AppHomeButtonAriaLabel:"AppHomeButtonAriaLabel",AppHomeButtonTooltip:"AppHomeButtonTooltip",SaveAndEdit:"SaveAndEdit",BlankWorkbookKeytip:"BlankWorkbookKeytip",BrowseTemplates:"BrowseTemplates",BrowseTemplatesKeytip:"BrowseTemplatesKeytip",EmbedWorkbook:"EmbedWorkbook",CreateACopy:"CreateACopy",CreateACopyKeytip:"CreateACopyKeytip",CreateACopyOnline:"CreateACopyOnline",MoveFile:"MoveFile",MoveFileKeytip:"MoveFileKeytip",FileProperties:"FileProperties",DiagnosticsBuild:"DiagnosticsBuild",DiagnosticsSessionId:"DiagnosticsSessionId",OpenInDesktopButton:"OpenInDesktopButton",ExportToCSV:"ExportToCSV",ProtectWorkbookButton:"ProtectWorkbookButton",OptionsButton:"OptionsButton",RegionalSettingsButton:"RegionalSettingsButton",VersionHistoryKeytip:"VersionHistoryKeytip",VersionHistoryKeytipReviewTab:"VersionHistoryKeytipReviewTab",TaskPaneSkeletonFallbackAriaLabel:"TaskPaneSkeletonFallbackAriaLabel",WorkbookOptimizationTaskPaneTitle:"WorkbookOptimizationTaskPaneTitle",WorkbookOptimizationTaskPaneConsentStateTitle:"WorkbookOptimizationTaskPaneConsentStateTitle",WorkbookOptimizationTaskPaneConsentStateDescription:"WorkbookOptimizationTaskPaneConsentStateDescription",WorkbookOptimizationTaskPaneConsentStateOptimizeButtonLabel:"WorkbookOptimizationTaskPaneConsentStateOptimizeButtonLabel",WorkbookOptimizationTaskPaneConsentStateLinkLabel:"WorkbookOptimizationTaskPaneConsentStateLinkLabel",WorkbookOptimizationTaskPaneSummaryCardTitle:"WorkbookOptimizationTaskPaneSummaryCardTitle",WorkbookOptimizationTaskPaneSummaryCardDescription:"WorkbookOptimizationTaskPaneSummaryCardDescription",WorkbookOptimizationTaskPaneSummaryCardLinkLabel:"WorkbookOptimizationTaskPaneSummaryCardLinkLabel",WorkbookOptimizationTaskPaneFeedbackCardTitle:"WorkbookOptimizationTaskPaneFeedbackCardTitle",WorkbookOptimizationTaskPaneFeedbackCardSmileFeedbackButtonLabel:"WorkbookOptimizationTaskPaneFeedbackCardSmileFeedbackButtonLabel",WorkbookOptimizationTaskPaneFeedbackCardFrownFeedbackButtonLabel:"WorkbookOptimizationTaskPaneFeedbackCardFrownFeedbackButtonLabel",WorkbookOptimizationTaskPaneFeedbackCardRevertButtonLabel:"WorkbookOptimizationTaskPaneFeedbackCardRevertButtonLabel",WorkbookOptimizationOverviewPanePivot:"WorkbookOptimizationOverviewPanePivot",WorkbookOptimizationOpenIssuesPanePivot:"WorkbookOptimizationOpenIssuesPanePivot",WorkbookOptimizationTaskPaneOpenIssuesCardDescription:"WorkbookOptimizationTaskPaneOpenIssuesCardDescription",WorkbookOptimizationTaskPaneBackupCardTitle:"WorkbookOptimizationTaskPaneBackupCardTitle",WorkbookOptimizationTaskPaneBackupCardBackupText:"WorkbookOptimizationTaskPaneBackupCardBackupText",WorkbookOptimizationBrokenFormulaCardFunctionDetail:"WorkbookOptimizationBrokenFormulaCardFunctionDetail",WorkbookOptimizationBrokenFormulaCardSuggestionLink:"WorkbookOptimizationBrokenFormulaCardSuggestionLink",WOBrokenFormulaCardNavigationPrevious:"WOBrokenFormulaCardNavigationPrevious",WOBrokenFormulaCardNavigationNext:"WOBrokenFormulaCardNavigationNext",WOBrokenFormulaCardNavigationSummary:"WOBrokenFormulaCardNavigationSummary",WorkbookOptimizationImprovePerformanceCardText2:"WorkbookOptimizationImprovePerformanceCardText2",WorkbookOptimizationImprovePerformanceCardText1:"WorkbookOptimizationImprovePerformanceCardText1",WorkbookOptimizationImprovePerformanceCardButton:"WorkbookOptimizationImprovePerformanceCardButton",WorkbookOptimizationBrokenLinksCardButton:"WorkbookOptimizationBrokenLinksCardButton",WOTaskPaneSkeletonLoadingAriaLabel:"WOTaskPaneSkeletonLoadingAriaLabel",WorkbookOptimizationBrokenLinksCardUpdateLinkButton:"WorkbookOptimizationBrokenLinksCardUpdateLinkButton",WOTaskPaneConsentStateFeedbackButtonLabel:"WOTaskPaneConsentStateFeedbackButtonLabel",WOTaskPaneGuidedStateFeedbackButtonLabel:"WOTaskPaneGuidedStateFeedbackButtonLabel",UCBPDialogProgressStateFeedbackButtonLabel:"UCBPDialogProgressStateFeedbackButtonLabel",UCBPDialogOpenIssuesPrimaryDescription:"UCBPDialogOpenIssuesPrimaryDescription",UCBPDialogOpenIssuesSecondaryDescription:"UCBPDialogOpenIssuesSecondaryDescription",UnhideButtonTooltip:"UnhideButtonTooltip",Location:"Location",ViewAllFiles:"ViewAllFiles",MoveChartTargetSheet:"MoveChartTargetSheet",FileMenuCreateACopyKeytip:"FileMenuCreateACopyKeytip",FileMenuCreateACopyOnlineKeytip:"FileMenuCreateACopyOnlineKeytip",FileMenuExportKeytip:"FileMenuExportKeytip",FileMenuDownloadAsPDFKeytip:"FileMenuDownloadAsPDFKeytip",FileMenuVersionHistoryKeytip:"FileMenuVersionHistoryKeytip",FileMenuInfoKeytip:"FileMenuInfoKeytip",DataToolsGroupKeyTip:"DataToolsGroupKeyTip",OutlineGroupKeyTip:"OutlineGroupKeyTip",FileMenuAutoFitButtonText:"FileMenuAutoFitButtonText",FileMenuAutoFitKeytip:"FileMenuAutoFitKeytip",OnButtonText:"OnButtonText",OffButtonText:"OffButtonText",FileMenuAutoFitOnKeytip:"FileMenuAutoFitOnKeytip",FileMenuAutoFitOffKeytip:"FileMenuAutoFitOffKeytip",AddinClassicStoreTooltip:"AddinClassicStoreTooltip",PythonChunkTitle:"PythonChunkTitle",InsertPython:"InsertPython",ExplorePythonSamples:"ExplorePythonSamples",PythonKeyTip:"PythonKeyTip",PythonEditor:"PythonEditor",PythonEditorKeyTip:"PythonEditorKeyTip",PythonInitialization:"PythonInitialization",PythonInitializationKeyTip:"PythonInitializationKeyTip",PythonClearGlobals:"PythonClearGlobals",PythonResetKeyTip:"PythonResetKeyTip",PythonClearGlobalsKeyTip:"PythonClearGlobalsKeyTip",PythonResetRuntime:"PythonResetRuntime",PythonResetRuntimeKeyTip:"PythonResetRuntimeKeyTip",WorkbookAmendmentCompatibilityVersion:"WorkbookAmendmentCompatibilityVersion",WorkbookAmendmentCompatibilityVersionKeyTip:"WorkbookAmendmentCompatibilityVersionKeyTip",WorkbookAmendmentCompatibilityVersionRecommended:"WorkbookAmendmentCompatibilityVersionRecommended",WorkbookAmendmentCompatibilityVersionRecommendedKeyTip:"WorkbookAmendmentCompatibilityVersionRecommendedKeyTip",WorkbookAmendmentCompatibilityVersionLatest:"WorkbookAmendmentCompatibilityVersionLatest",WorkbookAmendmentCompatibilityVersionLatestKeyTip:"WorkbookAmendmentCompatibilityVersionLatestKeyTip",WorkbookAmendmentCompatibilityVersionStandard:"WorkbookAmendmentCompatibilityVersionStandard",WorkbookAmendmentCompatibilityVersion1KeyTip:"WorkbookAmendmentCompatibilityVersion1KeyTip",WorkbookAmendmentCompatibilityVersion2KeyTip:"WorkbookAmendmentCompatibilityVersion2KeyTip",WorkbookAmendmentCompatibilityVersion3KeyTip:"WorkbookAmendmentCompatibilityVersion3KeyTip",WorkbookAmendmentCompatibilityVersionUnsupported:"WorkbookAmendmentCompatibilityVersionUnsupported",WorkbookAmendmentCompatibilityVersionLearnMore:"WorkbookAmendmentCompatibilityVersionLearnMore",WorkbookAmendmentCompatibilityVersionLearnMoreKeyTip:"WorkbookAmendmentCompatibilityVersionLearnMoreKeyTip",CopilotFREProdigiHeading:"CopilotFREProdigiHeading",CopilotFREProdigiMainBody:"CopilotFREProdigiMainBody",CopilotFREProdigiTOU:"CopilotFREProdigiTOU",CopilotFREProdigiMainBodyCELA:"CopilotFREProdigiMainBodyCELA",CopilotFREProdigiTOUCELA:"CopilotFREProdigiTOUCELA",CopilotFREProdigiCloseButtonLabel:"CopilotFREProdigiCloseButtonLabel",CopilotFREProdigiGetStartedButtonLabel:"CopilotFREProdigiGetStartedButtonLabel",CopilotPromptInputCharacterLimitExceededMessage:"CopilotPromptInputCharacterLimitExceededMessage",CloseAndLoadToRibbonLabel:"CloseAndLoadToRibbonLabel",CloseAndLoadToRibbonLabelDescription:"CloseAndLoadToRibbonLabelDescription",PowerQueryExcelHostDocumentationTooltip:"PowerQueryExcelHostDocumentationTooltip",PowerQueryExcelHostDocumentationLabel:"PowerQueryExcelHostDocumentationLabel",CopilotSettingsDialogShowSkittleLessOftenCheckbox:"CopilotSettingsDialogShowSkittleLessOftenCheckbox",CopilotSettingsDialogKeytip:"CopilotSettingsDialogKeytip",CopilotSettingsDialog:"CopilotSettingsDialog"},t.pr=t.AC,"undefined"==typeof window||!0!==window.g_NewStringsInfra&&"True"!==window.g_NewStringsInfra||(t.pr={DragCopy:0,DragFill:1,DragRecoveryUIToolTip:2,MoreTabs:3,RibbonLabel:4,RibbonTabsGroupLabel:5,SplitButtonRoleDescription:6,SpinnerDecrementButtonAriaLabel:7,SpinnerIncrementButtonAriaLabel:8,ClipboardGroupTitle:9,ClipboardGroupOverflowLabel:10,MLRClipboardGroupKeyTip:11,ClipboardKeyTip:12,FontGroupTitle:13,FontGroupOverflowLabel:14,MLRFontGroupKeyTip:15,AdditionalControls:16,AlignmentGroupTitle:17,AlignmentGroupOverflowLabel:18,ArithmeticOperatorCalloutTitle:19,ArithmeticOperatorCalloutDescription:20,MLRAlignmentGroupKeyTip:21,NumberGroupTitle:22,NumberGroupOverflowLabel:23,MLRNumberGroupKeyTip:24,StylesGroupTitle:25,StylesGroupOverflowLabel:26,CellsGroupTitle:27,CellsGroupOverflowLabel:28,MLRCellsGroupKeyTip:29,AlignLeft:30,AlignLeftToolTip:31,AlignLeftKeyTip:32,AlignCenter:33,AlignCenterToolTip:34,AlignCenterKeyTip:35,AlignRight:36,AlignRightToolTip:37,AlignRightKeyTip:38,AlignTop:39,AlignTopToolTip:40,AlignTopKeyTip:41,AlignMiddle:42,AlignMiddleToolTip:43,AlignMiddleKeyTip:44,AlignBottom:45,AlignBottomToolTip:46,AlignBottomKeyTip:47,AlignKeyTip:48,Orientation:49,OrientationToolTip:50,OrientationKeyTip:51,RotateTextUp45:52,RotateTextUp45KeyTip:53,RotateTextDown45:54,RotateTextDown45KeyTip:55,VerticalText:56,VerticalTextKeyTip:57,RotateTextUp90:58,RotateTextUp90KeyTip:59,RotateTextDown90:60,RotateTextDown90KeyTip:61,FormattingGroupTitle:62,FormattingGroupOverflowLabel:63,EditingGroupTitle:64,EditingGroupOverflowLabel:65,MLREditingGroupKeyTip:66,InsertGroupTitle:67,ShareGroupTitle:68,DataGroupTitle:69,DataGroupOverflowLabel:70,SortGroupTitle:71,SortGroupOverflowLabel:72,DataValidationGroupTitle:73,DataValidationOverflowLabel:74,DataValidationInputBoxPlaceholder:75,DataValidationNumberPlaceholder:76,DataValidationSelectACellPlaceholder:77,DataValidationCustomPlaceholder:78,DataValidationDatePlaceholder:79,DataValidationTimePlaceholder:80,DataValidationSettings:81,DataValidationInputMessage:82,DataValidationShowAlert:83,DataValidationErrorAlert:84,DataValidationRuleType:85,DataValidationIgnoreBlank:86,DataValidationCellDropdown:87,DataValidationListDataTypeHint:88,DataValidationShowError:89,DataValidationAlertTitle:90,DataValidationAlertMessage:91,DataValidationTitle:92,DataValidationMessage:93,DataValidationShowMessage:94,DataValidationWarningType:95,DataValidationBlockingLabel:96,DataValidationTypeString:97,DataValidationOperatorType:98,DataValidationMinimumOperatorLabel:99,DataValidationMaximumOperatorLabel:100,DataValidationValueOperatorLabel:101,DataValidationSourceOperatorLabel:102,DataValidationItemsOperatorLabel:103,DataValidationFormulaOperatorLabel:104,DataValidationStartDateOperatorLabel:105,DataValidationEndDateOperatorLabel:106,DataValidationDateOperatorLabel:107,DataValidationStartTimeOperatorLabel:108,DataValidationEndTimeOperatorLabel:109,DataValidationLengthLabel:110,DataValidationTimeOperatorLabel:111,DataValidationAnyValueRuleType:112,DataValidationWholeNumberRuleType:113,DataValidationDecimalRuleType:114,DataValidationListRuleType:115,DataValidationListDropdownRuleType:116,DataValidationTextLengthRuleType:117,DataValidationCustomRuleType:118,DataValidationBetweenOperatorLabel:119,DataValidationNotBetweenOperatorLabel:120,DataValidationEqualsOperatorLabel:121,DataValidationNotEqualsOperatorLabel:122,DataValidationGreaterThanOperatorLabel:123,DataValidationLessThanOperatorLabel:124,DataValidationGreaterThanOrEqualOperatorLabel:125,DataValidationLessThanOrEqualOperatorLabel:126,AccessibilityGroupTitle:127,AccessibilityHelpKeyTip:128,SizeGroupTitle:129,CommentGroupTitle:130,CommentGroupOverflowLabel:131,ViewGroupTitle:132,ShowGroupTitle:133,ViewGroupOverflowLabel:134,AutoFilterGroupTitle:135,AutoFilterOverflowLabel:136,CreateAndManageForms:137,ChartDataGroupTitle:138,ChartAxesGroupTitle:139,ChartLabelsGroupTitle:140,ChartTaskpaneGroupTitle:141,LinkedEntityDataTypesGroupTitle:142,ChangeChartTypeGroupTitle:143,ChangePhoneticHiragana:144,ChangePhoneticHiraganaKeyTip:145,ChangePhoneticKatakanaHalf:146,ChangePhoneticKatakanaHalfKeyTip:147,ChangePhoneticKatakanaFull:148,ChangePhoneticKatakanaFullKeyTip:149,EditShapesGroupTitle:150,ShapeStylesGroupTitle:151,ShapeStylesGroupOverflowLabel:152,ArrangeGroupTitle:153,SendBackward:154,SendBackwardKeyTip:155,ArrangeSendToBack:156,ArrangeSendToBackKeyTip:157,ArrangeSendBackward:158,ArrangeSendBackwardKeyTip:159,BringForward:160,BringForwardKeyTip:161,ArrangeBringToFront:162,ArrangeBringToFrontKeyTip:163,ArrangeBringForward:164,ArrangeBringForwardKeyTip:165,AlternativeText:166,AlternativeTextKeytip:167,CropPicture:168,CropPictureKeytip:169,HomeTabTitle:170,ShareTabTitle:171,InsertTabTitle:172,DataTabTitle:173,ReviewTabTitle:174,ViewTabTitle:175,HelpTabTitle:176,HelpGroupOverflowLabel:177,ChartTabTitle:178,PageLayoutTabTitle:179,FormulasTabTitle:180,DeveloperTabTitle:181,AddinsTabTitle:182,DrawingTabTitle:183,FileMenuLabel:184,Undo:185,UndoKeyTip:186,Redo:187,RedoKeyTip:188,Paste:189,PasteKeyTip:190,PasteRecoveryUIExpansionKey:191,PasteRecoveryUIPasteExpansionWindowsKey:192,PasteRecoveryUIPasteValuesExpansionWindowsKey:193,PasteRecoveryUIPasteExpansionMacKey:194,PasteRecoveryUIPasteValuesExpansionMacKey:195,PasteRecoveryUIToolTip:196,Copy:197,CopyKeyTip:198,CopyHyperlink:199,CopyLinkKeyTip:200,CopyLinkMenuButtonKeytip:201,EmailLink:202,EmailLinkKeytip:203,ManageAccess:204,ManageAccessKeytip:205,Cut:206,CutKeyTip:207,FormatPainter:208,FormatPainterKeyTip:209,FontName:210,FontNameKeyTip:211,FontNameToolTip:212,FontSize:213,FontSizeKeyTip:214,FontSizeToolTip:215,BlankWorkbook:216,Bold:217,BoldToolTip:218,BoldKeyTip:219,Italic:220,ItalicKeyTip:221,Underline:222,UnderlineKeyTip:223,Strikethrough:224,StrikethroughKeyTip:225,DoubleUnderline:226,DoubleUnderlineKeyTip:227,FontColor:228,FontColorFullDesc:229,FontColorKeyTip:230,ShowHidePhonetic:231,ShowHidePhoneticKeyTip:232,Merge:233,MLRMerge:234,MergeKeyTip:235,MergeAndCenter:236,MergeAndCenterKeyTip:237,MergeAcross:238,MergeAcrossKeyTip:239,MergeCells:240,MergeCellsKeyTip:241,UnmergeCells:242,UnmergeCellsKeyTip:243,CenterAcrossSelection:244,CenterAcrossSelectionKeyTip:245,NumberFormat:246,NumberFormatKeyTip:247,ShowNumberFormatGroupKeyTip:248,ConditionalFormattingShort:249,ConditionalFormatting:250,ConditionalFormattingKeyTip:251,ConditionalFormattingHighlightCellRules:252,ConditionalFormattingHighlightCellRulesKeyTip:253,ConditionalFormattingTopBottomRules:254,ConditionalFormattingTopBottomRulesKeyTip:255,ConditionalFormattingDataBars:256,ConditionalFormattingDataBarsKeyTip:257,ConditionalFormattingColorScales:258,ConditionalFormattingColorScalesKeyTip:259,ConditionalFormattingIconSets:260,ConditionalFormattingIconSetsKeyTip:261,ConditionalFormattingClearRules:262,ConditionalFormattingClearRulesKeyTip:263,ConditionalFormattingManageRules:264,ConditionalFormattingManageRulesKeyTip:265,ConditionalFormattingNewRule:266,ConditionalFormattingNewRuleKeyTip:267,ConditionalFormattingHighlightCellGreaterThan:268,ConditionalFormattingHighlightCellGreaterThanKeyTip:269,ConditionalFormattingHighlightCellLessThan:270,ConditionalFormattingHighlightCellLessThanKeyTip:271,ConditionalFormattingHighlightCellBetween:272,ConditionalFormattingHighlightCellBetweenKeyTip:273,ConditionalFormattingHighlightCellEqualTo:274,ConditionalFormattingHighlightCellEqualToKeyTip:275,ConditionalFormattingHighlightCellTextContains:276,ConditionalFormattingHighlightCellTextContainsKeyTip:277,ConditionalFormattingHighlightCellDateOccuring:278,ConditionalFormattingHighlightCellDateOccuringKeyTip:279,ConditionalFormattingHighlightCellDuplicateValue:280,ConditionalFormattingHighlightCellDuplicateValueKeyTip:281,ConditionalFormattingTopBottomTop10Items:282,ConditionalFormattingTopBottomTop10ItemsKeyTip:283,ConditionalFormattingTopBottomTop10Percent:284,ConditionalFormattingTopBottomTop10PercentKeyTip:285,ConditionalFormattingTopBottomBottom10Items:286,ConditionalFormattingTopBottomBottom10ItemsKeyTip:287,ConditionalFormattingTopBottomBottom10Percent:288,ConditionalFormattingTopBottomBottom10PercentKeyTip:289,ConditionalFormattingTopBottomAboveAverge:290,ConditionalFormattingTopBottomAboveAvergeKeyTip:291,ConditionalFormattingTopBottomBelowAverage:292,ConditionalFormattingDataBarsBlueDataBar:293,ConditionalFormattingDataBarsGreenDataBar:294,ConditionalFormattingDataBarsRedDataBar:295,ConditionalFormattingDataBarsOrangeDataBar:296,ConditionalFormattingDataBarsLightBlueDataBar:297,ConditionalFormattingDataBarsPurpleDataBar:298,ConditionalFormattingColorScalesGYR:299,ConditionalFormattingColorScalesRYG:300,ConditionalFormattingColorScalesGWR:301,ConditionalFormattingColorScalesRWG:302,ConditionalFormattingColorScalesBWR:303,ConditionalFormattingColorScalesRWB:304,ConditionalFormattingColorScalesWR:305,ConditionalFormattingColorScalesRW:306,ConditionalFormattingColorScalesGW:307,ConditionalFormattingColorScalesWG:308,ConditionalFormattingColorScalesGY:309,ConditionalFormattingColorScalesYG:310,ConditionalFormattingIconSets3Arrow:311,ConditionalFormattingIconSets3ArrowGray:312,ConditionalFormattingIconSets3Triangles:313,ConditionalFormattingIconSets4ArrowGray:314,ConditionalFormattingIconSets4Arrow:315,ConditionalFormattingIconSets5ArrowGray:316,ConditionalFormattingIconSets5Arrow:317,ConditionalFormattingIconSets3TrafficUnrimmed:318,ConditionalFormattingIconSets3TrafficRimmed:319,ConditionalFormattingIconSets3Signs:320,ConditionalFormattingIconSets4Traffic:321,ConditionalFormattingIconSetsRedToBlack:322,ConditionalFormattingIconSets3SymbolsCircled:323,ConditionalFormattingIconSets3SymbolsUncircled:324,ConditionalFormattingIconSets3Flags:325,ConditionalFormattingIconSets3Stars:326,ConditionalFormattingIconSets4Ratings:327,ConditionalFormattingIconSets5Quarters:328,ConditionalFormattingIconSets5Ratings:329,ConditionalFormattingIconSets5Boxes:330,ConditionalFormattingTopBottomBelowAverageKeyTip:331,ConditionalFormattingClearRulesSelectedCells:332,ConditionalFormattingClearRulesSelectedCellsKeyTip:333,ConditionalFormattingClearRulesEntireSheet:334,ConditionalFormattingClearRulesEntireSheetKeyTip:335,ConditionalFormattingEmptyPane:336,ConditionalFormattingEmptyPaneV2Header:337,ConditionalFormattingEmptyPaneV2Label:338,ConditionalFormattingEmptyPaneV2LearnMore:339,ConditionalFormattingTopBottomRuleComboboxPercent:340,ConditionalFormattingTopBottomRuleComboboxValues:341,ConditionalFormattingLoadingRule:342,ConditionalFormattingFilterMenuPrefix:343,ConditionalFormattingFilterMenuSheet:344,ConditionalFormattingFilterMenuSelection:345,ConditionalFormattingCustomStylePreviewSampleText:346,ConditionalFormattingCustomStylePreviewSampleTextSmall:347,ConditionalFormattingRuleAppliesToRange:348,ConditionalFormattingRuleAppliesToRangeHasStopIfTrue:349,ConditionalFormattingStopIfTrueText:350,ConditionalFormattingStopIfTrueTooltipContent:351,ConditionalFormattingRuleManagerStopIfTrueTooltipContent:352,ConditionalFormattingStopIfTrueInfoRole:353,ConditionalFormattingRuleHasTwoOptions:354,ConditionalFormattingRuleHasMultipleOptions:355,ConditionalFormattingCanReorderRules:356,ConditionalFormattingReorderRulesCompleted:357,ConditionalFormattingRuleEdit:358,ConditionalFormattingRuleDelete:359,ConditionalFormattingRuleDeleted:360,ConditionalFormattingRuleDuplicate:361,ConditionalFormattingRuleDuplicated:362,ConditionalFormattingTooManyRulesErrorTitle:363,ConditionalFormattingTooManyRulesErrorMessage:364,ConditionalFormattingCantDisplayRulesErrorTitle:365,ConditionalFormattingProtecedSheetRuleManagerErrorMessage:366,ConditionalFormattingChartSheetRuleManagerErrorMessage:367,ConditionalFormattingProtecedSheetRangePickerErrorMessage:368,ConditionalFormattingChartSheetRangePickerErrorMessage:369,ConditionalFormattingInfoURLText:370,ConditionalFormattingCustomFormatText:371,ConditionalFormattingRuleEditorCustomFormatBackButton:372,ConditionalFormattingFormatStyleText:373,ConditionalFormattingQuickFormatRedFillRedText:374,ConditionalFormattingQuickFormatYellowFillYellowText:375,ConditionalFormattingQuickFormatGreenFillGreenText:376,ConditionalFormattingQuickFormatRedFill:377,ConditionalFormattingQuickFormatRedText:378,ConditionalFormattingQuickFormatRedBorder:379,ConditionalFormatWithMenuPrefix:380,ConditionalFormattingDeleteAllRules:381,ConditionalFormattingDeleteAllRulesTooltip:382,ConditionalFormattingAllRulesDeleted:383,ConditionalFormattingNewRuleTooltip:384,ConditionalFormattingGoToManageRules:385,ConditionalFormattingRuleEditWindowDone:386,ConditionalFormattingRuleEditWindowCancel:387,ConditionalFormattingRuleEditWindowDoneActionMessage:388,ConditionalFormattingApplyToRange:389,ConditionalFormattingApplyTo:390,ConditionalFormattingRuleRangePickerPlaceholder:391,ConditionalFormattingFormulaPickerPlaceholder:392,ConditionalFormattingRangePickerPlaceholder:393,ConditionalFormattingStopIfTrue:394,ConditionalFormattingRuleTypeMenuPrefix:395,ConditionalFormattingValueDropdownType:396,ConditionalFormattingCriteriaDropdownType:397,ConditionalFormattingOperatorDropdownType:398,ConditionalFormattingDateDropdownType:399,ConditionalFormattingFormatDropdownType:400,ConditionalFormattingTextBoxName:401,ConditionalFormattingFormulaTextBox:402,ConditionalFormattingFormula1TextBox:403,ConditionalFormattingFormula2TextBox:404,ConditionalFormattingRuleTypeHighlightCellsWith:405,ConditionalFormattingHighlightWithCellValue:406,ConditionalFormattingHighlightCellValueGreaterThan:407,ConditionalFormattingHighlightCellValueGreaterThanOrEqualsTo:408,ConditionalFormattingHighlightCellValueLessThan:409,ConditionalFormattingHighlightCellValueLessThanOrEqualsTo:410,ConditionalFormattingHighlightCellValueBetween:411,ConditionalFormattingHighlightCellValueNotBetween:412,ConditionalFormattingHighlightCellValueBetweenAnd:413,ConditionalFormattingHighlightCellValueBetweenAndSymbol:414,ConditionalFormattingHighlightCellValueEqualTo:415,ConditionalFormattingHighlightCellValueNotEqualTo:416,ConditionalFormattingHighlightCellValueTextboxDescription:417,ConditionalFormattingHighlightCellValueTextboxOnError:418,ConditionalFormattingFormulaValueTextboxError:419,ConditionalFormattingFormulaRepresentingRangeError:420,ConditionalFormattingInvalidRangeError:421,ConditionalFormattingChangeRangeSheetNameError:422,ConditionalFormattingSheetDeletedError:423,ConditionalFormattingValueTooLongError:424,ConditionalFormattingHighlightTextThatContains:425,ConditionalFormattingHighlightSpecificText:426,ConditionalFormattingHighlightTextContaining:427,ConditionalFormattingHighlightTextNotContaining:428,ConditionalFormattingHighlightTextBeginningWith:429,ConditionalFormattingHighlightTextEndingWith:430,ConditionalFormattingHighlightDateOccurring:431,ConditionalFormattingHighlightDateYesterday:432,ConditionalFormattingHighlightDateToday:433,ConditionalFormattingHighlightDateTomorrow:434,ConditionalFormattingHighlightDateLast7Days:435,ConditionalFormattingHighlightDateLastWeek:436,ConditionalFormattingHighlightDateThisWeek:437,ConditionalFormattingHighlightDateNextWeek:438,ConditionalFormattingHighlightDateLastMonth:439,ConditionalFormattingHighlightDateThisMonth:440,ConditionalFormattingHighlightDateNextMonth:441,ConditionalFormattingHighlightDuplicateValues:442,ConditionalFormattingHighlightDuplicateValuesUnique:443,ConditionalFormattingHighlightBlanks:444,ConditionalFormattingHighlightNoBlanks:445,ConditionalFormattingHighlightErrors:446,ConditionalFormattingHighlightNoErrors:447,ConditionalFormattingRuleTypeTopBottom:448,ConditionalFormattingRuleTypeHighlightTopOrBottom:449,ConditionalFormattingTopBottomTop:450,ConditionalFormattingTopBottomBottom:451,ConditionalFormattingTopBottomValueTextboxOnError:452,ConditionalFormattingTopBottomPercent:453,ConditionalFormattingTopBottomAveragePrefix:454,ConditionalFormattingTopBottomAverageAbove:455,ConditionalFormattingTopBottomAverageBelow:456,ConditionalFormattingTopBottomEqualOrAboveAverage:457,ConditionalFormattingTopBottomEqualOrBelowAverage:458,ConditionalFormattingIncreaseSpinButton:459,ConditionalFormattingDecreaseSpinButton:460,ConditionalFormattingSpinButtonValueIncreased:461,ConditionalFormattingSpinButtonValueDecreased:462,ConditionalFormattingRuleTypeDataBars:463,ConditionalFormattingRuleTypeDataBarsBlue:464,ConditionalFormattingRuleTypeDataBarsGreen:465,ConditionalFormattingRuleTypeDataBarsRed:466,ConditionalFormattingRuleTypeDataBarsOrange:467,ConditionalFormattingRuleTypeDataBarsLightBlue:468,ConditionalFormattingRuleTypeDataBarsPurple:469,ConditionalFormattingRuleTypeColorScale:470,ConditionalFormattingRuleTypeColorScaleGreenYellowRed:471,ConditionalFormattingRuleTypeColorScaleRedYellowGreen:472,ConditionalFormattingRuleTypeColorScaleGreenWhiteRed:473,ConditionalFormattingRuleTypeColorScaleRedWhiteGreen:474,ConditionalFormattingRuleTypeColorScaleBlueWhiteRed:475,ConditionalFormattingRuleTypeColorScaleRedWhiteBlue:476,ConditionalFormattingRuleTypeColorScaleRedWhite:477,ConditionalFormattingRuleTypeColorScaleWhiteRed:478,ConditionalFormattingRuleTypeColorScaleGreenWhite:479,ConditionalFormattingRuleTypeColorScaleWhiteGreen:480,ConditionalFormattingRuleTypeColorScaleGreenYellow:481,ConditionalFormattingRuleTypeColorScaleYellowGreen:482,ConditionalFormattingRuleTypeIconSets:483,ConditionalFormattingRuleTypeFormula:484,ConditionalFormattingFormatFormulaTrue:485,ConditionalFormattingFormatFormulaRuleTypeLabel:486,ConditionalFormattingBeforeYouGoDialogTitle:487,ConditionalFormattingBeforeYouGoDialogMessage:488,ConditionalFormattingBeforeYouGoDialogApplyChanges:489,ConditionalFormattingBeforeYouGoDialogDiscardChanges:490,ConditionalFormattingEditingRuleNotSupportedTooltipContent:491,ConditionalFormattingRuleEditorLearnMore:492,ConditionalFormattingInfoTextHighlightCells:493,ConditionalFormattingInfoTextTopBottom:494,ConditionalFormattingInfoTextDataBars:495,ConditionalFormattingInfoTextColorScale:496,ConditionalFormattingInfoTextIconSets:497,ConditionalFormattingInfoFormula:498,ConditionalFormattingImproveButtonLabel:499,ConditionalFormattingImproveButtonLabelV2:500,CleanData:501,CleanDataKeyTip:502,CleanDataNewKeyTip:503,CellPickingTooltipContent:504,RangePickerApplyChanges:505,RangePickerDiscardChanges:506,RangePickerApplyChangesExecutedMessage:507,RangePickerApplyChangesToArgumentExecutedMessage:508,RangePickerDiscardChangesExecutedMessage:509,AutoSum:510,AutoSumKeyTip:511,SortAndFilter:512,FilterSearch:513,FilterByValue:514,Apply:515,SortFilterApplyForEveryone:516,SortFilterApplyForEveryoneTitle:517,SortFilterApplyForEveryoneAriaLabel:518,SelectAll:519,SelectAllSearchResults:520,ManualFilter:521,AddCurrentSelection:522,NoMatches:523,NotAllItemsAreShowing:524,NotAllItemsAreShowingNoSearch:525,FilterByItem:526,NotAllItemsShown:527,TypeWordsToSearchFilterItems:528,TypeWordsToSearchFilterItemsInPivotFilter:529,SortAndFilterKeyTip:530,SearchResultAnnounced:531,NotAllItemsShownAlertDismiss:532,FormatAsTableAlt:533,FormatAsTableKeyTip:534,CharacterLabelLineBreak:535,CharacterLabelPeriod:536,CharacterLabelSpace:537,CharacterLabelUnderscore:538,CharacterLabelComma:539,CharacterLabelSlash:540,CharacterLabelBackslash:541,CharacterLabelColon:542,CharacterLabelSemicolon:543,CharacterLabelDash:544,CharacterLabelDollarSign:545,CharacterLabelNothing:546,ExcelIntelligenceTitle:547,ExcelIntelligenceBody:548,Find:549,FindKeyTip:550,AddFunction:551,AddFunctionKeyTip:552,InsertTable:553,InsertTableKeyTip:554,CreateSampleTableMenu:555,CreateSampleTableMenuKeyTip:556,CreateSampleTableBlank:557,CreateSampleTableBlankKeyTip:558,CreateSampleTableContact:559,CreateSampleTableContactKeyTip:560,CreateSampleTableToDo:561,CreateSampleTableToDoKeyTip:562,InsertPivotTable:563,PivotTableName:564,PivotTableNameKeyTip:565,InsertPivotTableKeyTip:566,InsertPivotTableFromTable:567,InsertPivotTableFromTableKeyTip:568,InsertPivotTableFromPowerBI:569,InsertPivotTableFromPowerBIKeyTip:570,InsertPicture:571,InsertPictureKeyTip:572,InsertPicturesFlyout:573,InsertPictureMenuTitle:574,InsertPictureFromDevice:575,InsertPictureFromDeviceTooltip:576,InsertPictureFromDeviceKeyTip:577,InsertPictureFromStockImages:578,InsertPictureFromStockImagesTooltip:579,InsertPictureFromStockImagesKeyTip:580,InsertPictureFromBing:581,InsertPictureFromBingTooltip:582,InsertPictureFromWeb:583,InsertPictureFromBingKeyTip:584,Shapes:585,ShapesKeyTip:586,FormatPictureTabTitle:587,FormatPictureTabKeyTip:588,Link:589,LinkKeyTip:590,TextBoxKeyTip:591,Addins:592,Addins1:593,Addins2:594,AddinsKeyTip:595,ButtonAddinsHomeEntryKeytip:596,FileGetAddinsButton:597,FileGetAddinsButtonKeyTip:598,VisitAddinStore:599,VisitAddinStoreDescription:600,RefreshAll:601,MLRRefreshAll:602,RefreshAllKeyTip:603,RefreshSelected:604,MLRRefreshSelected:605,RefreshSelectedKeyTip:606,PivotRefreshDropdownKeytip:607,PivotRefreshAll:608,MLRPivotRefreshAll:609,PivotRefreshAllKeyTip:610,PivotRefreshSelected:611,MLRPivotRefreshSelected:612,PivotRefreshSelectedKeyTip:613,EditLinks:614,EditLinksKeyTip:615,Calculate:616,CalculateKeyTip:617,CalculateSheet:618,CalculateSheetKeyTip:619,CalculationOptionsKeyTip:620,ShowFormulas:621,ShowFormulasKeyTip:622,InsertFunction:623,InsertFunctionKeyTip:624,CommonlyUsedFns:625,CommonlyUsedFnsKeyTip:626,FinancialFns:627,FinancialFnsKeyTip:628,LogicalFns:629,LogicalFnsKeyTip:630,TextFns:631,TextFnsKeyTip:632,DateTimeFns:633,DateTimeFnsKeyTip:634,LookupReferenceFns:635,LookupReferenceFnsKeyTip:636,MathTrigFns:637,MathTrigFnsKeyTip:638,MoreFns:639,MoreFnsKeyTip:640,StatisticalFns:641,StatisticalFnsKeyTip:642,EngineeringFns:643,EngineeringFnsKeyTip:644,CubeFns:645,CubeFnsKeyTip:646,InformationFns:647,InformationFnsKeyTip:648,ResizeTable:649,ResizeTableKeyTip:650,ResizeTableDialogLabel:651,ResizeTableDialogDescription:652,SortAscending:653,SortAscendingKeyTip:654,SortDescending:655,SortDescendingKeyTip:656,FlashFill:657,FlashFillKeyTip:658,RemoveDuplicates:659,TextToColumns:660,TextToColumnsDelimiterTab:661,TextToColumnsDelimiterSemicolon:662,TextToColumnsDelimiterComma:663,TextToColumnsDelimiterSpace:664,TextToColumnsDelimiterCustom:665,TextToColumnsCustomDelimiterPlaceHolder:666,TextToColumnsKeyTip:667,TextToColumnsApply:668,TextToColumnsPreview:669,TextToColumnsSelectDelimiters:670,TextToColumnsPartialDataText:671,TextToColumnsDelimitersSelectedAriaLabel:672,TextToColumnsDelimitersUnSelectedAriaLabel:673,TableName:674,TableNameKeyTip:675,RemoveDuplicatesKeyTip:676,DataValidation:677,DataValidationKeyTip:678,CheckAccessibility:679,CheckAccessibilityKeyTip:680,NewComment:681,NewCommentKeyTip:682,NewThreadedCommentKeyTip:683,DeleteComment:684,DeleteCommentKeyTip:685,ShowComments:686,ShowCommentsKeyTip:687,ShowThreadedCommentsKeyTip:688,NotesGroup:689,NotesGroupKeyTip:690,NewNote:691,NewNoteKeyTip:692,EditNote:693,EditNoteKeyTip:694,DeleteNote:695,DeleteNoteKeyTip:696,PreviousNote:697,PreviousNoteKeyTip:698,NextNote:699,NextNoteKeyTip:700,ShowHideNote:701,ShowHideNoteKeyTip:702,ShowAllNotes:703,ShowAllNotesKeyTip:704,ConvertNote:705,ConvertNoteKeyTip:706,ConvertNotes:707,ConvertNotesKeyTip:708,ConvertNotesInNotesFlyoutKeyTip:709,ProtectionGroupTitle:710,PauseProtection:711,ResumeProtection:712,PauseResumeProtectionKeyTip:713,ManageProtection:714,ManageProtectionKeyTip:715,ReadingView:716,ReadingViewKeyTip:717,FreezeRows:718,FreezeRowsKeyTip:719,FreezeColumns:720,FreezeColumnsKeyTip:721,FreezePanes:722,FreezePanesAtSelection:723,FreezePanesKeyTip:724,FreezePanesTooltip:725,UnfreezePanes:726,UnfreezePanesKeyTip:727,FreezeTopRowOld:728,FreezeTopRow:729,FreezeTopRowKeyTip:730,FreezeFirstColumnOld:731,FreezeFirstColumn:732,FreezeFirstColumnKeyTip:733,ShowDataTypeIcons:734,ShowDataTypeIconsKeyTip:735,ShowHeadings:736,ShowHeadingsKeyTip:737,ShowGridlines:738,ShowGridlinesKeyTip:739,ShowFormulaBar:740,ShowFormulaBarKeyTip:741,FocusActiveCell:742,FocusActiveCellKeyTip:743,FocusActiveCellTooltip:744,FocusActiveCellFill:745,FocusActiveCellFillKeyTip:746,FocusActiveCellSplitButtonKeyTip:747,RightToLeft:748,RightToLeftKeyTip:749,ToggleRibbonControl:750,Clipboard:751,PasteFormulas:752,PasteFormulasKeyTip:753,PasteValues:754,PasteValuesKeyTip:755,PasteFormatting:756,PasteSpecialMenuItems:757,PasteFormattingKeyTip:758,PasteTranspose:759,PasteTransposeKeyTip:760,PasteLink:761,PasteLinkKeyTip:762,PastePictureInCell:763,PastePictureInCellKeyTip:764,PasteWithColumnWidths:765,PasteWithColumnWidthsKeyTip:766,PasteOptions:767,GalleryPasteValues:768,GalleryPasteFormulas:769,GalleryPasteTranspose:770,GalleryPasteLink:771,GalleryPasteFormatting:772,GalleryPastePictureInCell:773,GalleryPasteWithColumnWidths:774,FillColor:775,FillColorFullDesc:776,FillColorKeyTip:777,ColoredFillStyle0:778,ColoredFillStyle1:779,ColoredFillStyle2:780,ColoredFillStyle3:781,ColoredFillStyle4:782,ColoredFillStyle5:783,ColoredFillStyle6:784,BottomBorder:785,BottomBorderKeyTip:786,TopBorder:787,TopBorderKeyTip:788,LeftBorder:789,LeftBorderKeyTip:790,RightBorder:791,RightBorderKeyTip:792,NoBorder:793,NoBorderKeyTip:794,AllBorders:795,AllBordersKeyTip:796,OutsideBorders:797,OutsideBordersKeyTip:798,ThickOutsideBorders:799,ThickOutsideBordersKeyTip:800,BottomDoubleBorders:801,BottomDoubleBordersKeyTip:802,ThickBottomBorders:803,ThickBottomBordersKeyTip:804,TopAndBottomBorders:805,TopAndBottomBordersKeyTip:806,TopAndThickBottomBorders:807,TopAndThickBottomBordersKeyTip:808,TopAndDoubleBottomBorders:809,TopAndDoubleBottomBordersKeyTip:810,BorderColor:811,BorderColorKeyTip:812,GrowFontSize:813,GrowFontSizeKeyTip:814,ShrinkFontSize:815,ShrinkFontSizeKeyTip:816,IncreaseIndent:817,IncreaseIndentKeyTip:818,DecreaseIndent:819,DecreaseIndentKeyTip:820,Align:821,WorkbookStatisticsChartsLabel:822,WorkbookStatisticsCellsWithDataLabel:823,WorkbookStatisticsCommentsLabel:824,WorkbookStatisticsContinuousDataRangesLabel:825,WorkbookStatisticsCurrentSheetLabel:826,WorkbookStatisticsEndOfSheetLabel:827,WorkbookStatisticsExternalConnectionsLabel:828,WorkbookStatisticsFormulasLabel:829,WorkbookStatisticsImagesLabel:830,WorkbookStatisticsWorkbookLabel:831,WorkbookStatisticsNotesLabel:832,WorkbookStatisticsObjectsLabel:833,WorkbookStatisticsPivotTablesLabel:834,WorkbookStatisticsSheetsLabel:835,WorkbookStatisticsTablesLabel:836,Wrap:837,MLRWrap:838,WrapKeyTip:839,HorizontalAlignmentDropdownLabel:840,IndentLabel:841,VerticalAlignmentDropdownLabel:842,JustifyDistributedLabel:843,TextControlLabel:844,TextDirectionLabel:845,OrientationLabel:846,FlipVerticalLabel:847,HorizontalAlignmentOptionsGeneral:848,HorizontalAlignmentOptionsLeft:849,HorizontalAlignmentOptionsCenter:850,HorizontalAlignmentOptionsRight:851,HorizontalAlignmentOptionsFill:852,HorizontalAlignmentOptionsJustify:853,HorizontalAlignmentOptionsCenterAcrossSelection:854,HorizontalAlignmentOptionsDistributed:855,AlignmentContextTextDirection:856,AlignmentLeftToRightTextDirection:857,AlignmentRightToLeftTextDirection:858,VerticalAlignmentOptionsTop:859,VerticalAlignmentOptionsCenter:860,VerticalAlignmentOptionsBottom:861,VerticalAlignmentOptionsJustify:862,VerticalAlignmentOptionsDistributed:863,AlignmentTextControlWrapText:864,AlignmentTextControlShrinkToFit:865,AlignmentTextControlMergeCells:866,NumberFormatGeneral:867,NumberFormatNumber:868,NumberFormatCurrency:869,NumberFormatAccounting:870,NumberFormatAccountingKeyTip:871,NumberFormatAccountingCurrencySymbol:872,NumberFormatDateShort:873,NumberFormatDateLong:874,NumberFormatTime:875,NumberFormatComma:876,NumberFormatCommaKeyTip:877,NumberFormatPercentage:878,NumberFormatPercentageKeyTip:879,NumberFormatFraction:880,NumberFormatScientific:881,NumberFormatText:882,NumberFormatMore:883,NumberFormatLocaleLearnMore:884,NumberFormatLocaleInfo:885,NumberFormatLocaleInputCalendarLabel:886,NumberFormatLocale:887,NumberFormatLocaleCalendarType:888,NumberFormatLocaleGannen:889,NumberFormatLocaleApplyButtonText:890,NumberFormatLocaleApplyButtonToolTip:891,IncreaseDecimal:892,IncreaseDecimalKeyTip:893,DecreaseDecimal:894,DecreaseDecimalKeyTip:895,InsertCheckboxRibbon:896,InsertCheckboxRibbonKeyTip:897,InsertInCellDropdownRibbon:898,InsertInCellDropdownRibbonKeyTip:899,Format:900,FormatKeyTip:901,RowHeight:902,RowHeightKeyTip:903,RowHeightAutoFit:904,RowHeightAutoFitKeyTip:905,ColumnWidth:906,ColumnWidthKeyTip:907,ColumnWidthAutoFit:908,ColumnWidthAutoFitKeyTip:909,ColumnRowHideUnhide:910,ColumnRowHideUnhideKeyTip:911,RenameSheet:912,RenameSheetKeyTip:913,ReorderSheet:914,ReorderSheetKeyTip:915,DuplicateSheet:916,DuplicateSheetKeyTip:917,HideRows:918,HideRowsKeyTip:919,HideColumns:920,HideColumnsKeyTip:921,HideSheet:922,HideSheetKeyTip:923,HyperLinkDisplayTextLabel:924,HyperLinkMailPlaceHolder:925,HyperLinkMailRadioButtonLabel:926,HyperLinkRadioButtonDescription:927,HyperLinkRefPlaceHolder:928,HyperLinkRefRadioButtonLabel:929,HyperLinkUrlPlaceHolder:930,HyperLinkUrlRadioButtonLabel:931,UnhideRows:932,UnhideRowsKeyTip:933,UnhideColumns:934,UnhideColumnsKeyTip:935,UnhideSheet:936,UnhideSheetKeyTip:937,InsertCells:938,InsertCellsKeyTip:939,DeleteCells:940,DeleteCellsKeyTip:941,ClearCells:942,ClearCellsKeyTip:943,CreateTable:944,CreateTableKeyTip:945,ToggleHeaderRow:946,ToggleHeaderRowKeyTip:947,ToggleTotalRow:948,ToggleTotalRowKeyTip:949,InsertCopiedCells:950,InsertCopiedCellsKeyTip:951,InsertCopiedCutCellsLabel:952,InsertCopiedCutCellsLabelshiftCellsRight:953,InsertCopiedCutCellsLabelshiftCellsDown:954,InsertCopiedCutCellsLabelshiftCellsLeft:955,InsertRowsSheet:956,InsertRowsSheetKeyTip:957,InsertRowsSheetAbove:958,InsertColumnsSheet:959,InsertColumnsSheetKeyTip:960,InsertRowsTable:961,InsertRowsTableKeyTip:962,InsertColumnsTable:963,InsertColumnsTableKeyTip:964,InsertCellsShiftRight:965,InsertCellsShiftRightKeyTip:966,InsertCellsShiftDown:967,InsertCellsShiftDownKeyTip:968,InsertShapeArrow:969,InsertShapeAlternateProcess:970,InsertShapeArc:971,InsertShapeBasicShapesTitle:972,InsertShapeBentArrow:973,InsertShapeBentUpArrow:974,InsertShapeBevel:975,InsertShapeBlockArc:976,InsertShapeBlockArrowsTitle:977,InsertShapeCalloutsTitle:978,InsertShapeCan:979,InsertShapeCard:980,InsertShapeChevron:981,InsertShapeChord:982,InsertShapeCircularArrow:983,InsertShapeCloud:984,InsertShapeCloudCallout:985,InsertShapeCollate:986,InsertShapeCommonShapesTitle:987,InsertShapeConnector:988,InsertShapeCross:989,InsertShapeCube:990,InsertShapeCurvedArrowConnector:991,InsertShapeCurvedConnector:992,InsertShapeCurvedDoubleArrowConnector:993,InsertShapeCurvedDownArrow:994,InsertShapeCurvedDownRibbon:995,InsertShapeCurvedLeftArrow:996,InsertShapeCurvedRightArrow:997,InsertShapeCurvedUpArrow:998,InsertShapeCurvedUpRibbon:999,InsertShapeData:1e3,InsertShapeDecagon:1001,InsertShapeDecision:1002,InsertShapeDelay:1003,InsertShapeDiagonalStripe:1004,InsertShapeDiamond:1005,InsertShapeDirectAccessStorage:1006,InsertShapeDisplay:1007,InsertShapeDocument:1008,InsertShapeDodecagon:1009,InsertShapeDonut:1010,InsertShapeDoubleArrow:1011,InsertShapeDoubleBrace:1012,InsertShapeDoubleBracket:1013,InsertShapeDoubleWave:1014,InsertShapeDownArrow:1015,InsertShapeDownArrowCallout:1016,InsertShapeDownRibbon:1017,InsertShapeElbowArrowConnector:1018,InsertShapeElbowConnector:1019,InsertShapeElbowDoubleArrowConnector:1020,InsertShapeEllipse:1021,InsertShapeEquationsTitle:1022,InsertShapeExplosion1:1023,InsertShapeExplosion2:1024,InsertShapeExtract:1025,InsertShapeFlowchartTitle:1026,InsertShapeFoldedCorner:1027,InsertShapeFrame:1028,InsertShapeHalfFrame:1029,InsertShapeHeart:1030,InsertShapeHeptagon:1031,InsertShapeHexagon:1032,InsertShapeHorizontalScroll:1033,InsertShapeIsoscelesTriangle:1034,InsertShapeInternalStorage:1035,InsertShapeLeftArrow:1036,InsertShapeLeftArrowCallout:1037,InsertShapeLeftBrace:1038,InsertShapeLeftBracket:1039,InsertShapeLeftRightArrow:1040,InsertShapeLeftRightArrowCallout:1041,InsertShapeLeftRightUpArrow:1042,InsertShapeLeftUpArrow:1043,InsertShapeLightningBolt:1044,InsertShapeLine:1045,InsertShapeLineCallout1:1046,InsertShapeLineCallout1Accent:1047,InsertShapeLineCallout1BorderAccent:1048,InsertShapeLineCallout1NoBorder:1049,InsertShapeLineCallout2:1050,InsertShapeLineCallout2Accent:1051,InsertShapeLineCallout2BorderAccent:1052,InsertShapeLineCallout2NoBorder:1053,InsertShapeLineCallout3:1054,InsertShapeLineCallout3Accent:1055,InsertShapeLineCallout3BorderAccent:1056,InsertShapeLineCallout3NoBorder:1057,InsertShapeLinesTitle:1058,InsertShapeLShape:1059,InsertShapeMagneticDisk:1060,InsertShapeManualInput:1061,InsertShapeManualOperation:1062,InsertShapeMathDivide:1063,InsertShapeMathEqual:1064,InsertShapeMathMinus:1065,InsertShapeMathMultiply:1066,InsertShapeMathNotEqual:1067,InsertShapeMathPlus:1068,InsertShapeMerge:1069,InsertShapeMoon:1070,InsertShapeMultidocument:1071,InsertShapeNoSymbol:1072,InsertShapeNotchedRightArrow:1073,InsertShapeOctagon:1074,InsertShapeOffpageConnector:1075,InsertShapeOr:1076,InsertShapeOvalCallout:1077,InsertShapeParallelogram:1078,InsertShapePentagon:1079,InsertShapePie:1080,InsertShapePlaque:1081,InsertShapePredefinedProcess:1082,InsertShapePreparation:1083,InsertShapeProcess:1084,InsertShapePunchedTape:1085,InsertShapeQuadArrow:1086,InsertShapeQuadArrowCallout:1087,InsertShapeRectangle:1088,InsertShapeRectanglesTitle:1089,InsertShapeRectangularCallout:1090,InsertShapeRightArrow:1091,InsertShapeRightArrowCallout:1092,InsertShapeRightBrace:1093,InsertShapeRightBracket:1094,InsertShapeRightTriangle:1095,InsertShapeRoundSingleCornerRectangle:1096,InsertShapeRoundDiagonalCornerRectangle:1097,InsertShapeRoundedRectangle:1098,InsertShapeRoundedRectangleCallout:1099,InsertShapeRoundSameSideCornerRectangle:1100,InsertShapeSequentialActionStorage:1101,InsertShapesGroupTitle:1102,InsertShapeSmileyFace:1103,InsertShapeSnipDiagonalCornerRectangle:1104,InsertShapeSnipRoundSingleCornerRectangle:1105,InsertShapeSnipSameSideCornerRectangle:1106,InsertShapeSnipSingleCornerRectangle:1107,InsertShapeSort:1108,InsertShape4PointStar:1109,InsertShape6PointStar:1110,InsertShape7PointStar:1111,InsertShape8PointStar:1112,InsertShape10PointStar:1113,InsertShape12PointStar:1114,InsertShape16PointStar:1115,InsertShape24PointStar:1116,InsertShape32PointStar:1117,InsertShapeStar5:1118,InsertShapeStarsandBannersTitle:1119,InsertShapeStoredData:1120,InsertShapeStraightConnector:1121,InsertShapeStraightConnectorArrow:1122,InsertShapeStraightConnectorTwoArrow:1123,InsertShapeStripedRightArrow:1124,InsertShapeSummingJunction:1125,InsertShapeSun:1126,InsertShapeTeardrop:1127,InsertShapeTerminator:1128,InsertShapeTextBox:1129,InsertShapeTextBoxKeytip:1130,InsertShapeTrapezoid:1131,InsertShapeTriangle:1132,InsertShapeUpArrow:1133,InsertShapeUpArrowCallout:1134,InsertShapeUpDownArrow:1135,InsertShapeUpRibbon:1136,InsertShapeUTurnArrow:1137,InsertShapeVerticalScroll:1138,InsertShapeWave:1139,InsertSheet:1140,InsertSheetKeyTip:1141,DeleteRowsSheet:1142,DeleteRows:1143,DeleteRowsSheetKeyTip:1144,DeleteColumnsSheet:1145,DeleteColumns:1146,DeleteColumnsSheetKeyTip:1147,DeleteRowsTable:1148,DeleteRowsTableKeyTip:1149,DeleteColumnsTable:1150,DeleteColumnsTableKeyTip:1151,DeleteCellsShiftLeft:1152,DeleteCellsShiftLeftKeyTip:1153,DeleteCellsShiftUp:1154,DeleteCellsShiftUpKeyTip:1155,DeleteSheet:1156,DeleteSheetKeyTip:1157,ClearAll:1158,ClearAllKeyTip:1159,ClearFormats:1160,ClearFormatsKeyTip:1161,ClearContent:1162,ClearContentKeyTip:1163,ClearComments:1164,ClearCommentsKeyTip:1165,ClearNotes:1166,ClearNotesKeyTip:1167,RemoveHyperLinks:1168,RemoveHyperLinksKeyTip:1169,AutoSumSum:1170,AutoSumSumKeyTip:1171,AutoSumAverage:1172,AutoSumAverageKeyTip:1173,AutoSumCount:1174,AutoSumAdd:1175,AutoSumAddKeyTip:1176,AutoSumMinus:1177,AutoSumMinusKeyTip:1178,AutoSumMultiply:1179,AutoSumMultiplyKeyTip:1180,AutoSumDivide:1181,AutoSumDivideKeyTip:1182,AutoSumCountKeyTip:1183,AutoSumMax:1184,AutoSumMaxKeyTip:1185,AutoSumMin:1186,AutoSumMinKeyTip:1187,AutoSumMore:1188,AutoSumMoreKeyTip:1189,CustomSort:1190,CustomSortKeyTip:1191,AutoFilterToggle:1192,AutoFilterToggleKeyTip:1193,AutoFilterClear:1194,AutoFilterClearKeyTip:1195,AutoFilterReapply:1196,AutoFilterReapplyKeyTip:1197,ShowDatePicker:1198,ShowDatePickerMac:1199,FocusDatePicker:1200,LoadBlockEmptyTextboxes:1201,LoadBlockEmptyTextboxesDescription:1202,LoadBlockInvalidImages:1203,LoadBlockInvalidImagesDescription:1204,LoadBlockInvalidShapes:1205,LoadBlockInvalidShapesDescription:1206,LoadBlockingFloatingObjectsDirective:1207,LoadBlockingFloatingObjectsLearnMore:1208,GiveFeedBackButtonText:1209,LoadBlockingFloatingObjectsRemoveButtonText:1210,LoadBlockingFloatingObjectsSkipButtonText:1211,LoadBlockingFloatingObjectsSkipTooltipText:1212,FindAndSelect:1213,FindAndSelectKeyTip:1214,FindAndReplace:1215,FindAndReplaceKeyTip:1216,FindAndReplaceDialogInserTextPlaceHolder:1217,FindAndReplaceDialogFindLabel:1218,FindAndReplaceDialogReplaceLabel:1219,FindAndReplaceDialogMatchCaseCheckBox:1220,FindAndReplaceDialogMatchContent:1221,FindAndReplaceDialogSearchOptionsLabel:1222,FindAndReplaceDialogWithinDropDown:1223,FindAndReplaceDialogDirectionDropDown:1224,FindAndReplaceDialogSelectionLabel:1225,FindAndReplaceDialogSheetLabel:1226,FindAndReplaceDialogWorkbookLabel:1227,FindAndReplaceDialogUpLabel:1228,FindAndReplaceDialogDownLabel:1229,FindAndReplaceDialogFindAllResultTitleCell:1230,FindAndReplaceDialogFindAllResultTitleValue:1231,FindAndReplaceDialogNoOccurrencesFound:1232,FindAndReplaceDialogFindInvalidFindContent:1233,FindAndReplaceDialogFindWildcardsExampleText:1234,FindAndReplaceDialogWildcardLink:1235,FindAndReplaceDialogWildcardLinkDescription:1236,FindAndReplaceFindHeaderLabel:1237,FindAndReplaceReplaceAllSuccessCount:1238,GoTo:1239,GoToKeyTip:1240,MsForms:1241,MsFormInsert:1242,MsFormInsertKeyTip:1243,MsFormPreview:1244,MsFormPreviewKeyTip:1245,MsFormEdit:1246,MsFormEditKeyTip:1247,MsFormSend:1248,MsFormSendKeyTip:1249,MsFormDelete:1250,PreviousComment:1251,PreviousCommentKeyTip:1252,NextComment:1253,NextCommentKeyTip:1254,OverflowWell0Keytip:1255,OverflowWell1Keytip:1256,OverflowWell2Keytip:1257,OverflowWell3Keytip:1258,OverflowWell4Keytip:1259,OverflowWell5Keytip:1260,OverflowWell6Keytip:1261,OverflowWell7Keytip:1262,OverflowWell8Keytip:1263,OverflowWellLabel:1264,Borders:1265,BordersKeyTip:1266,TextAlignment:1267,Indent:1268,MergeUnmerge:1269,CellSize:1270,OrganizeSheets:1271,Visibility:1272,InsertPictures:1273,InsertFilters:1274,FreezePortionOfSheet:1275,GradientFill:1276,SolidFill:1277,IconSetsDirectional:1278,IconSetsShapes:1279,IconSetsIndicators:1280,IconSetsRatings:1281,EditInExcel:1282,OpenInDesktop:1283,OpenInApp:1284,OpenFilesFromDevice:1285,OpenFilesFromDeviceDescription:1286,DocChatLabel:1287,ShapeShapes:1288,ShapeLines:1289,ShapeRectangles:1290,ShapeBasicShapes:1291,ShapeBlockArrows:1292,ShapeEquationShapes:1293,ShapeFlowchart:1294,ShapeStarsBanners:1295,ShapeCallouts:1296,InsertChart:1297,InsertChartKeyTip:1298,ChangeChartType:1299,ChangeChartTypeKeyTip:1300,ChartTypeColumn:1301,ChartTypeLine:1302,ChartTypePie:1303,ChartTypeBar:1304,ChartTypeBarKeyTip:1305,ChartTypeArea:1306,ChartTypeAreaKeyTip:1307,ChartTypeHierarchical:1308,ChartTypeScatter:1309,ChartTypeScatterKeyTip:1310,ChartTypeCombo:1311,ChartTypeComboKeyTip:1312,ChartTypeStatistical:1313,ChartTypeStatisticalKeyTip:1314,ChartTypeOther:1315,ChartTypeOtherKeyTip:1316,ChartTypeClusteredColumnToolTip:1317,ChartTypeStackedColumnToolTip:1318,ChartTypePercentStackedColumnToolTip:1319,ChartTypeLineToolTip:1320,ChartTypeStackedLineToolTip:1321,ChartTypePercentStackedlineToolTip:1322,ChartTypeLinewithmarkersToolTip:1323,ChartTypeStackedlinewithmarkersToolTip:1324,ChartTypePercentStackedlinewithmarkersToolTip:1325,ChartTypePieToolTip:1326,ChartTypeDoughnutToolTip:1327,ChartTypeClusteredBarToolTip:1328,ChartTypeStackedBarToolTip:1329,ChartTypePercentStackedBarToolTip:1330,ChartTypeAreaToolTip:1331,ChartTypeStackedAreaToolTip:1332,ChartTypePercentStackedAreaToolTip:1333,ChartTypeScatterToolTip:1334,ChartTypeScatterwithsmoothedLinesToolTip:1335,ChartTypeScatterwithsmoothedLineswithoutmarkersToolTip:1336,ChartTypeScatterwithlinesToolTip:1337,ChartTypeScatterwithlineswithoutmarkersToolTip:1338,ChartTypeWaterfallToolTip:1339,ChartTypeFunnelToolTip:1340,ChartTypeTreemapToolTip:1341,ChartTypeSunburstToolTip:1342,ChartTypeHistogramToolTip:1343,ChartTypeParetoToolTip:1344,ChartTypeBoxAndWhiskerToolTip:1345,ChartTypeRadarToolTip:1346,ChartTypeRadarwithmarkersateachdatapointToolTip:1347,ChartTypeFilledRadarToolTip:1348,ChartTypeComboColumnClusteredLine:1349,ChartTypeComboColumnClusteredLineSecondaryAxis:1350,ChartTypeComboAreaStackedColumnClustered:1351,ChartEditData:1352,ChartEditDataNew:1353,ChartEditDataKeyTip:1354,ChartSwitchRowColumn:1355,ChartSwitchRowColumnKeyTip:1356,ChartTitle:1357,ChartTitleKeyTip:1358,ChartNone:1359,ChartNoneKeyTip:1360,ChartTitleOverlay:1361,ChartTitleOverlayKeyTip:1362,ChartTitleCentered:1363,ChartTitleCenteredKeyTip:1364,ChartTitleEdit:1365,ChartTitleEditKeyTip:1366,ChartTitleNoneDescription:1367,ChartTitleOverlayDescription:1368,ChartTitleCenteredDescription:1369,ChartTitleEditDescription:1370,ChartAxisTitle:1371,ChartAxisTitleKeyTip:1372,ChartLegend:1373,ChartLegendKeyTip:1374,ChartDataLabels:1375,ChartDataLabelsKeyTip:1376,ChartDataTable:1377,ChartDataTableKeyTip:1378,ChartAxes:1379,ChartAxesKeyTip:1380,ChartGridlines:1381,ChartGridlinesKeyTip:1382,ChartAxisTitleHorizontal:1383,ChartAxisTitleHorizontalKeyTip:1384,ChartAxisTitleVertical:1385,ChartAxisTitleVerticalKeyTip:1386,ChartAxisTitleHorizontalBelow:1387,ChartAxisTitleHorizontalBelowKeyTip:1388,ChartAxisTitleHorizontalEdit:1389,ChartAxisTitleHorizontalEditKeyTip:1390,ChartAxisTitleHorizontalNoneDescription:1391,ChartAxisTitleHorizontalBelowDescription:1392,ChartAxisTitleHorizontalEditDescription:1393,ChartAxisTitleVerticalRotated:1394,ChartAxisTitleVerticalRotatedKeyTip:1395,ChartAxisTitleVerticalVertical:1396,ChartAxisTitleVerticalVerticalKeyTip:1397,ChartAxisTitleVerticalHorizontal:1398,ChartAxisTitleVerticalHorizontalKeyTip:1399,ChartAxisTitleVerticalEdit:1400,ChartAxisTitleVerticalEditKeyTip:1401,ChartAxisTitleVerticalNoneDescription:1402,ChartAxisTitleVerticalRotatedDescription:1403,ChartAxisTitleVerticalVerticalDescription:1404,ChartAxisTitleVerticalHorizontalDescription:1405,ChartAxisTitleVerticalEditDescription:1406,ChartAxisLegendRight:1407,ChartAxisLegendRightKeyTip:1408,ChartAxisLegendTop:1409,ChartAxisLegendTopKeyTip:1410,ChartAxisLegendLeft:1411,ChartAxisLegendLeftKeyTip:1412,ChartAxisLegendBottom:1413,ChartAxisLegendBottomKeyTip:1414,ChartAxisLegendOverlayLeft:1415,ChartAxisLegendOverlayLeftKeyTip:1416,ChartAxisLegendOverlayRight:1417,ChartAxisLegendOverlayRightKeyTip:1418,ChartAxisLegendNoneDescription:1419,ChartAxisLegendRightDescription:1420,ChartAxisLegendTopDescription:1421,ChartAxisLegendLeftDescription:1422,ChartAxisLegendBottomDescription:1423,ChartAxisLegendOverlayLeftDescription:1424,ChartAxisLegendOverlayRightDescription:1425,ChartDataTableShow:1426,ChartDataTableShowKeyTip:1427,ChartDataTableShowWithLegend:1428,ChartDataTableShowWithLegendKeyTip:1429,ChartDataTableNoneDescription:1430,ChartDataTableShowDescription:1431,ChartDataTableShowWithLegendDescription:1432,ChartTaskpaneFormat:1433,ChartTaskpaneFormatKeyTip:1434,CoauthorGalleryGroupChat:1435,CoauthorGalleryGroupChatKeytip:1436,CoauthorGalleryKeytip:1437,CoauthorGalleryOverflowTitle:1438,CoauthorGalleryTooltip:1439,TableTabTitle:1440,TableTabKeyTip:1441,TablePropertiesGroupTitle:1442,TableToolsGroupTitle:1443,ExternalTableDataGroupTitle:1444,TableStyleOptionsGroupTitle:1445,TableStylesGroupTitle:1446,TableToolsGroupOverflowLabel:1447,TableStyleOptions:1448,HeaderRow:1449,HeaderRowKeyTip:1450,TotalRow:1451,TotalRowKeyTip:1452,FirstColumn:1453,FirstColumnKeyTip:1454,LastColumn:1455,_LastColumnKeyTip:1456,BandedRows:1457,BandedRowsKeyTip:1458,BandedColumns:1459,BandedColumnsKeyTip:1460,FilterButton:1461,FilterButtonKeyTip:1462,Survey:1463,SurveyKeyTip:1464,ShapeStyleFill:1465,ShapeStyleFillKeyTip:1466,ShapeStyleOutline:1467,ShapeStyleOutlineKeyTip:1468,PeopleWellFlyoutLabel:1469,PeripheralCommentsButton:1470,PeripheralCommentsToolTip:1471,CopilotPrepareDataForAnalysisPrompt:1472,CopilotShowDataInsightsPrompt:1473,CopilotSuggestFormulaColumnPrompt:1474,CopilotRepairFormulaMenu:1475,CopilotRepairPoundFormulaPrompt:1476,CopilotRepairSyntaxFormulaPrompt:1477,CopilotRepairErrorCard:1478,CopilotExplainFormulaPrompt:1479,TellMeCopilotLabel:1480,TellMePlaceholder:1481,TellMeShortPlaceholder:1482,TellMeSearchPlaceholder:1483,TellMeSearchPlaceholderOnMac:1484,TellMeLongPlaceholder:1485,TellMeLongPlaceholderOnMac:1486,TellMeSearchUnifiedAppPlaceholderExcel:1487,TellMeActivationPlaceholder:1488,TellMeDeactivationPlaceholder:1489,ChangeShape:1490,ChangeShapeKeyTip:1491,ApplyShapeStyles:1492,ApplyShapeStylesShort:1493,ApplyShapeStylesKeyTip:1494,LinkedEntity:1495,LinkedEntityStock:1496,LinkedEntityStockDescription:1497,LinkedEntityGeography:1498,LinkedEntityGeographyDescription:1499,Share:1500,Export:1501,ShareTooltip:1502,FontSize8:1503,FontSize9:1504,FontSize10:1505,FontSize11:1506,FontSize12:1507,FontSize14:1508,FontSize16:1509,FontSize18:1510,FontSize20:1511,FontSize24:1512,FontSize26:1513,FontSize28:1514,FontSize36:1515,FontSize48:1516,FontSize72:1517,Ideas:1518,AnalyzeData:1519,AnalyzeDataKeyTip:1520,DataAnalysis:1521,DataIdeas:1522,Analysis:1523,IdeasKeyTip:1524,Copilot:1525,CopilotKeyTip:1526,New:1527,NewWindow:1528,NewWindowKeyTip:1529,SaveAs:1530,SaveACopy:1531,SaveAsToSharePointDescription:1532,RibbonToggle:1533,RibbonToggleKeytip:1534,RenameButtonTitle:1535,DownloadACopy:1536,DownloadAsODS:1537,DownloadAsPDF:1538,DownloadAsPDFDescription:1539,DownloadAsCSV:1540,DownloadAsCSVDescription:1541,DownloadAsCSVUTF8:1542,DownloadAsCSVUTF8Description:1543,PageSetup:1544,PageBreak:1545,InsertPageBreak:1546,RemovePageBreak:1547,ResetAllPageBreaks:1548,Print:1549,PrintArea:1550,SetPrintArea:1551,ClearPrintArea:1552,AddToPrintArea:1553,Privacy:1554,VersionHistory:1555,TrustCenter:1556,TrustCenterDescription:1557,TellMeUpsellSpellCheck:1558,TellMeUpsellMacros:1559,TellMeUpsellHeaderFooter:1560,TellMeOpenInExcel:1561,TellMeOpenInDesktopDescription:1562,TellMeUpsellDesktopTitle:1563,TellMeUpsellDesktopDescription:1564,TellMeSuggestedQuery1:1565,TellMeSuggestedQuery2:1566,TellMeSuggestedQuery3:1567,TellMeSuggestedQuery4:1568,TellMeSuggestedQuery5:1569,TellMeGetHelpLabel:1570,TellMeSmartLookupLabel:1571,TemplateSectionErrorMessage:1572,TemplateMoreLink:1573,SearchHelp:1574,SearchHelpKeyTip:1575,HelpResources:1576,Tutorials:1577,TutorialsKeyTip:1578,FunctionList:1579,SmartLookup:1580,SmartLookupKeyTip:1581,ContactSupport:1582,ContactSupportKeyTip:1583,GiveFeedback:1584,GiveFeedbackKeyTip:1585,Training:1586,TrainingKeyTip:1587,WhatsNew:1588,WhatsNewKeyTip:1589,LinkedEntityDataTypesKeyTip:1590,TabFileKeytip:1591,HomeTabKeytip:1592,ShareTabKeytip:1593,InsertTabKeytip:1594,DataTabKeytip:1595,ReviewTabKeytip:1596,ViewTabKeytip:1597,HelpTabKeytip:1598,DrawingTabKeytip:1599,ChartTabKeytip:1600,TellMeKeytip:1601,EditInExcelKeytip:1602,PageLayoutTabKeytip:1603,DeveloperTabKeytip:1604,AddInsTabKeytip:1605,FormulasTabKeytip:1606,InfoKeytip:1607,InfoEditInExcelKeytip:1608,InfoSetReadOnlyRecommendedKeytip:1609,InfoPreviousVersionsKeytip:1610,PreviousVersions:1611,NewKeytip:1612,OpenKeytip:1613,SaveAsKeytip:1614,SaveAsWhereIsSaveButtonKeytip:1615,SaveAsSaveAsKeytip:1616,SaveAsToOneDriveKeytip:1617,SaveAsToSharePointKeytip:1618,SaveAsRenameFileDialogKeytip:1619,SaveAsDownloadCopyKeytip:1620,SaveAsDownloadAsOdsKeytip:1621,PageSetupKeytip:1622,PageBreakKeyTip:1623,InsertPageBreakKeyTip:1624,RemovePageBreakKeyTip:1625,ResetAllPageBreaksKeyTip:1626,PrintKeytip:1627,PrintAreaKeyTip:1628,SetPrintAreaKeyTip:1629,ClearPrintAreaKeyTip:1630,AddToPrintAreaKeyTip:1631,ShareKeytip:1632,ExportKeytip:1633,ShareWithPeopleKeytip:1634,SaveAsShareKeytip:1635,SaveAsCopyLinkKeytip:1636,ShareCopyLinkKeytip:1637,ShareEmbedKeytip:1638,DownloadPdfKeytip:1639,DownloadAsCSVKeytip:1640,DownloadAsCSVUTF8Keytip:1641,ShareReplyWithChangesKeytip:1642,AboutKeytip:1643,AboutTryMicrosoftOfficeKeytip:1644,AboutTermsOfUseForMacKeytip:1645,AboutTermsOfUseKeytip:1646,AboutThirdPartyNoticesKeytip:1647,AboutPrivacyAndCookiesKeytip:1648,AboutPrivacySettingsKeytip:1649,OptionsKeytip:1650,ChangeLocaleKeytip:1651,FileSaveAsKeytip:1652,FileShareKeytip:1653,HelpKeytip:1654,HelpHelpKeytip:1655,HelpAccessibilityHelpKeytip:1656,HelpGiveFeedbackKeytip:1657,HelpReportAbuseKeytip:1658,ExitKeytip:1659,KeytipStartSequence:1660,KeytipStartKeyMac:1661,KeytipStartKeyWindows:1662,UserInterfaceFontName:1663,UserInterfaceFontSize:1664,GroupCells:1665,GroupCellsKeyTip:1666,UngroupCells:1667,UngroupCellsKeyTip:1668,OutlineGroupTitle:1669,GroupCellsRows:1670,GroupCellsColumns:1671,GroupOrUngroupCellsDialogRows:1672,GroupOrUngroupCellsDialogColumns:1673,GoToLocation:1674,GoToLocationKeytip:1675,UngroupCellsRows:1676,UngroupCellsColumns:1677,GroupUngroupCellsRowsKeyTip:1678,GroupUngroupCellsColumnsKeyTip:1679,CatchUpActivity:1680,CatchUpActivityKeytip:1681,CommentsKeytip:1682,SharePeripheralKeytip:1683,BorderLineStyle:1684,BorderLineStyleKeyTip:1685,BorderStyleSolidLineDescription:1686,BorderStyleDashedLineDescription:1687,BorderStyleDottedLineDescription:1688,BorderStyleMediumLineDescription:1689,BorderStyleThickLineDescription:1690,BorderStyleDoubleLineDescription:1691,SheetViewNewString:1692,SheetViewName:1693,SheetViewExitButton:1694,SheetViewExitButtonMLR:1695,SheetViewOptionsButton:1696,SheetViewEntryCalloutTitle:1697,SheetViewEntryCalloutDescription:1698,SheetViewEntryCalloutButtonLabel:1699,SheetViewSavedCalloutTitle:1700,SheetViewSavedCalloutDescription:1701,ConvertToRange:1702,ConvertToRangeKeyTip:1703,Conversation:1704,OpenInBrowser:1705,Close:1706,CloseKeytip:1707,Download:1708,NamedSheetViewNewAltText:1709,NamedSheetViewExitAltText:1710,NamedSheetView:1711,InsideBorders:1712,InsideHorizontalBorder:1713,InsideVerticalBorder:1714,InsideBordersKeyTip:1715,InsideHorizontalBorderKeyTip:1716,InsideVerticalBorderKeyTip:1717,CalculationOptions:1718,ManualCalc:1719,ManualCalcKeyTip:1720,AutomaticCalc:1721,AutomaticCalcKeyTip:1722,SemiautomaticCalc:1723,SemiautomaticCalcKeyTip:1724,PartialCalc:1725,PartialCalcKeyTip:1726,KeyboardShortcutsDialogSearchBoxPlaceholder:1727,KeyboardShortcutsDialogDropdownPlaceholder:1728,KeyboardShortcutsDialogAllshortcutsSection:1729,KeyboardShortcutsDialogShortcutColumnHeader:1730,KeyboardShortcutsDialogDescriptionColumnHeader:1731,NamedSheetViewOptions:1732,NamedSheetViewSelectAltText:1733,StyleOptions:1734,StyleOptionsKeyTip:1735,Sensitivity:1736,SensitivityKeytip:1737,NamedSheetViewControlKeytip:1738,NamedSheetViewOptionsKeyTip:1739,NamedSheetViewNewKeytip:1740,NamedSheetViewCloseKeytip:1741,KeyboardShortcutsDialogButtonLabel:1742,ResetShortcutPreferencesButtonLabel:1743,ResetShortcutPreferencesKeyTip:1744,SpellCheckAriaOriginalSentenceText:1745,SpellCheckAriaReadOnlyText:1746,SpellCheckAriaSpellingErrorText:1747,SpellCheckGroupTitle:1748,SpellCheck:1749,SpellCheckKeyTip:1750,SpellCheckChangeAllButtonText:1751,SpellCheckCheckAgainText:1752,SpellCheckCheckOtherSheetsButtonText:1753,SpellCheckCompleteOnRangeText:1754,SpellCheckCompleteText:1755,SpellCheckContinueButtonText:1756,SpellCheckDeleteRepeatedWordButtonText:1757,SpellCheckDictionaryLanguageText:1758,SpellCheckErrorText:1759,SpellCheckIgnoreAllButtonText:1760,SpellCheckIgnoreButtonText:1761,SpellCheckLanguageErrorText:1762,SpellCheckLanguageListPlaceHolder:1763,SpellCheckNoSuggestionFoundText:1764,SpellCheckNoSuggestionsTitle:1765,SpellCheckNoSuggestionText:1766,SpellCheckNotInDictionaryText:1767,SpellCheckPaneHeaderTitle:1768,SpellCheckPreviousChangeInfoText:1769,SpellCheckReadAloudButtonText:1770,SpellCheckReCheckButtonText:1771,SpellCheckReCheckText:1772,SpellCheckRepeatedWordText:1773,SpellCheckResumeButtonText:1774,SpellCheckResumeText:1775,SpellCheckSpellOutButtonText:1776,SpellCheckSpinnerText:1777,SpellCheckSuggestionsTitle:1778,SpellCheckSwitchWorkSheetErrorText:1779,SpellCheckSwitchWorkSheetText:1780,SpellCheckTryAgainButtonText:1781,SpellCheckWorkbookContentChangedText:1782,SpellCheckAllSpellingPerfect:1783,SpellCheckChangeinWorkBook:1784,ShowChangesGroupTitle:1785,ShowChanges:1786,ShowChangesKeyTip:1787,ShowChangesCardRole:1788,ShowChangesButtonSeeChanges:1789,ShowChangesCardStateExpanded:1790,ShowChangesButtonHideChanges:1791,ShowChangesCardStateCollapsed:1792,ShowChangesResponseSuccessEndOfLog:1793,ShowChangesResponseSuccessJustNow:1794,ShowChangesResponseSuccessEmptyPaneTitle:1795,ShowChangesResponseSuccessEmptyPaneBody:1796,ShowChangesMissingOldValue:1797,ShowChangesBulkEditOverflow:1798,ShowChangesResponseLearnMore:1799,ShowChangesVersionHistoryButtonText:1800,ShowChangesEndOfChangesText:1801,ShowChangesLoadMoreButtonText:1802,ShowChangesLoadPreviousButtonText:1803,ShowChangesSeeNewChangesButtonText:1804,ShowChangesLoadingSpinnerText:1805,ShowChangesFilterTooltip:1806,ShowChangesInvalidRangeText:1807,ShowChangesFilterInputPlaceholderText:1808,ShowChangesDefaultFilter:1809,ShowChangesFilterByRange:1810,ShowChangesFilterBySheet:1811,ShowChangesFilterByDateTime:1812,ShowChangesFilterByDateTimePlaceHolderText:1813,ShowChangesFilterByDateTimeLast24HoursOption:1814,ShowChangesFilterByDateTimeLastWeekOption:1815,ShowChangesFilterByDateTimeLast24Hours:1816,ShowChangesFilterByDateTimeLastWeek:1817,ShowChangesFilterByDateTimeLast30Days:1818,ShowChangesFilterByDateTimeLast90Days:1819,ShowChangesFilterByDateTimeLast180Days:1820,ShowChangesClearFilter:1821,ShowChangesFilterCommit:1822,ShowChangesActivityList:1823,ShowChangesActivityTypeEdit:1824,ShowChangesActivityTypeMove:1825,ShowChangesActivityTypeRenameSheet:1826,ShowChangesActivityTypeInsertSheet:1827,ShowChangesActivityTypeDeleteSheet:1828,ShowChangesActivityTypeMergeCells:1829,ShowChangesActivityTypeUnmergeCells:1830,ShowChangesActivityTypeSort:1831,ShowChangesActivityTypeFullRowInsert:1832,ShowChangesActivityTypeFullColInsert:1833,ShowChangesActivityTypeFullRowDelete:1834,ShowChangesActivityTypeFullColDelete:1835,ShowChangesActivityTypePartialRowInsert:1836,ShowChangesActivityTypePartialColInsert:1837,ShowChangesActivityTypePartialColInsertRTL:1838,ShowChangesActivityTypePartialRowDelete:1839,ShowChangesActivityTypePartialColDelete:1840,ShowChangesActivityTypePartialColDeleteRTL:1841,ShowChangesDegradedCardIconWarning:1842,ShowChangesDegradedCardInfo:1843,ShowChangesDegradedCardRejectedIconWarning:1844,ShowChangesDegradedCardRejectedInfo:1845,ShowChangesDegradedCardLearnMore:1846,ShowChangesClearHistory:1847,ShowChangesClearHistoryDescription:1848,ShowChangesClearHistoryKeytip:1849,ShowChangesClearHistoryEndOfChangeDescription:1850,ShowChangesHighlightDiffButton:1851,ShowChangesInGridHighlight:1852,ShowChangesInGridHighlightOnTooltip:1853,ShowChangesInGridHighlightOffTooltip:1854,ShowChangesInGridHighlightDisabledTooltip:1855,ExternalLinksAutomaticRefreshCheckBoxLabel:1856,ExternalLinksAutomaticRefreshToolTip:1857,ExternalLinksRecentlyEditedToolTip:1858,ExternalLinksAutomaticRefreshText:1859,ExternalLinksBreakAllLinksLabel:1860,ExternalLinksNewBreakAllLinksLabel:1861,ExternalLinksLinksTabHeader:1862,ExternalLinksSettingsTabHeader:1863,ExternalLinksAlwaysTrustToggleLabel:1864,ExternalLinksRefreshPreferenceLabel:1865,ExternalLinksAutoRefreshToggleLabel:1866,ExternalLinksAutoRefreshToggleTooltip:1867,ExternalLinksRefreshPreferenceAlwaysLabel:1868,ExternalLinksRefreshPreferenceAlwaysLabelV2:1869,ExternalLinksRefreshPreferenceAskLabel:1870,ExternalLinksRefreshPreferenceNeverLabel:1871,ExternalLinksAlwaysTrustToggleDescription:1872,ExternalLinksBreakLinksLabel:1873,ExternalLinksChangeSourceDialogBrowseButtonLabel:1874,ExternalLinksChangeSourceDialogEmptyListText:1875,ExternalLinksChangeSourceDialogEmptyMruText:1876,ExternalLinksChangeSourceDialogNameColumnHeader:1877,ExternalLinksChangeSourceDialogRecentButtonLabel:1878,ExternalLinksChangeSourceDialogSelectButtonLabel:1879,ExternalLinksChangeSourceDialogSuggestedButtonLabel:1880,ExternalLinksEditSourceLabel:1881,ExternalLinksChangeSourceLabel:1882,ExternalLinksFindNextLinkLabel:1883,ExternalLinksLinksText:1884,ExternalLinksMoreOptionsButtonText:1885,ExternalLinksAllLinksMoreOptionsButtonText:1886,ExternalLinksSingleLinkMoreOptionsButtonText:1887,ExternalLinksNoLinkText:1888,ExternalLinksLearnToCreateText:1889,ExternalLinksOpenSourceLabel:1890,ExternalLinksOpenWorkbookLabel:1891,ExternalLinksRefreshButtonText:1892,ExternalLinksRefreshAllButtonText:1893,ExternalLinksRefreshOnOpenText:1894,ExternalLinksSettingsText:1895,ExternalLinksStatusBarCalloutAskRefreshHeader:1896,ExternalLinksStatusBarCalloutNeverRefreshHeader:1897,ExternalLinksStatusBarCalloutAskRefreshBody:1898,ExternalLinksStatusBarCalloutNeverRefreshBody:1899,ExternalLinksStatusBarCalloutAskRefreshButtonText:1900,ExternalLinksStatusBarCalloutNeverRefreshButtonText:1901,ExternalLinksStatusBarTooltip:1902,ExternalLinksRefreshingStatusBarLabel:1903,ExternalLinksEmptyPaneHeader:1904,ExternalLinksEmptyPaneDescription:1905,ExternalLinksEmptyPaneLinkText:1906,ExternalLinksAlwaysTrustCalloutText:1907,KeyboardShortcutsDialogEmptyList:1908,KeyboardShortcutsDialogCheckBoxLabel:1909,KeyboardShortcutsDialogCheckBoxKeyTip:1910,KeyboardShortcutsDialogShowOverridesLabel:1911,DrawBorder:1912,DrawBorderKeyTip:1913,DrawBorderGrid:1914,DrawBorderGridKeyTip:1915,EraseBorder:1916,EraseBorderKeyTip:1917,MoreTableStyles:1918,TableStylesKeyTip:1919,CellStylesShort:1920,CellStyles:1921,CellStylesKeyTip:1922,Edit:1923,Type:1924,AutoFill:1925,Clear:1926,Refresh:1927,HideFieldList:1928,InsertRowColumn:1929,DeleteRowColumn:1930,HideRowColumn:1931,UnhideRowColumn:1932,EditLink:1933,RemoveLink:1934,OpenLink:1935,ShowLinkPreview:1936,NamedSheetViewKeep:1937,NamedSheetViewAltText:1938,NamedSheetViewSave:1939,NamedSheetViewSaveAltText:1940,NamedSheetViewKeepKeytip:1941,Open:1942,Info:1943,About:1944,Options:1945,ChangeLocale:1946,ChangeLocaleDescription:1947,ChangeLocaleDialogDirective:1948,ChangeLocaleDialogDescriptionLine:1949,ChangeLocaleDialogHelpLinkText:1950,ChangeLocaleDialogActionButtonName:1951,OpenInExcelFileMenuDescription:1952,ProtectWorkbook:1953,ProtectWorkbookKeytip:1954,PreviousVersionsDescription:1955,VersionHistoryDescription:1956,WhereIsTheSaveButton:1957,WhereIsTheSaveButtonDescription:1958,SaveACopyOnline:1959,SaveAsToOneDriveDescription:1960,SaveToOneDriveCalloutTitle:1961,SaveToOneDriveCalloutDescription:1962,AfterSavingToOneDriveCalloutDescription:1963,SaveToOneDriveButtonTooltip:1964,RenameButtonDescription:1965,DownloadDescription:1966,DownloadAsODSDescription:1967,PrintDescription:1968,ShareWithPeople:1969,ShareWithPeopleDescription:1970,SaveAsCopyLink:1971,SaveAsCopyLinkDescription:1972,PublishToWeb:1973,PublishToWebDescription:1974,PublishToWebKeytip:1975,Embed:1976,EmbedDescription:1977,ReplyWithChanges:1978,ReplyWithChangesDescription:1979,TryOffice:1980,TryOfficeDescription:1981,TryOfficeForMacTrial:1982,TryOfficeForMacTrialDescription:1983,TermsOfUse:1984,TermsOfUseDescription:1985,ThirdPartyNotices:1986,ThirdPartyNoticesDescription:1987,PrivacyDescription:1988,Recent:1989,Recommended:1990,DiagnosticsDescription:1991,NewDocuments:1992,MLRAppsGroupTitle:1993,MLRAutomateGalleryGroupTitle:1994,MLRAutomateGalleryGroupTitleV2:1995,MLRAutomationGroupTitle:1996,MLRCalculationGroupTitle:1997,MLRFormulaAuditingGroupTitle:1998,MLRFunctionLibraryGroupTitle:1999,MLRChartsDataGroupTitle:2e3,MLRChartsGroupTitle:2001,MLRChartsFormatGroupTitle:2002,MLRChartTypeWaterfall:2003,MLRChartTypeFunnel:2004,MLRChartTypeHierarchical:2005,MLRChartTypeStatistical:2006,MLRChartTypeRadar:2007,MLRConnectionsGroupTitle:2008,MLRDataCalculationToolsGroupTitle:2009,MLRDocumentViewsGroupTitle:2010,MLRFiltersGroupTitle:2011,MLRFunctionsGroupTitle:2012,MLRHelloWorldGroupTitle:2013,MLRHelpGroupTitle:2014,MLRSupportGroupTitle:2015,MLRHyperLinks:2016,MLRIllustrationsGroupTitle:2017,MLRInCellControlsGroupTitle:2018,MLRInsert2DAreaChart:2019,MLRInsert2DAreaChart2DArea:2020,MLRInsert2DBarChartClustered:2021,MLRInsert2DBarChartClustered2DBar:2022,MLRInsert2DColumnChart2DColumn:2023,MLRInsert2DColumnChartClustered:2024,MLRInsert2DColumnChartClusteredKeyTip:2025,MLRInsert2DLineChart:2026,MLRInsert2DLineChartKeyTip:2027,MLRInsert2DLineChart2DLine:2028,MLRInsert2DPieChart2DPie:2029,MLRInsert2DPieChartDoughnut:2030,MLRInsert2DPieChartPie:2031,MLRInsert2DPieChartPieKeyTip:2032,MLRInsertOtherChartWaterfall:2033,MLRInsertScatterChartMarkerOnly:2034,MLRInsertComboChart:2035,MLRInsertStatisticalChart:2036,MLRLinkedEntityGroupTitle:2037,MLRLinksGroupTitle:2038,MLRTextGroupTitle:2039,MLROfficeAddinsTitle:2040,MLROutlineGroupTitle:2041,MLRSheetViewGroupTitle:2042,MLRShowGroupTitle:2043,MLRSmartLookupGroupTitle:2044,MLRSDXsGroupTitle:2045,MLRSortAndFilterGroupTitle:2046,MLRTablesGroupTitle:2047,MLRTablesGroupKeyTip:2048,MLRWindowGroupTitle:2049,MLRFreezeGroupTitle:2050,MLROpenGroupTitle:2051,ModeSwitcherEditModeInMenuDescription:2052,ModeSwitcherEditModeInMenuLabel:2053,ModeSwitcherEditModeLabel:2054,ModeSwitcherEditModeKeytip:2055,ModeSwitcherFlyoutAnchorKeytip:2056,ModeSwitcherViewModeInMenuDescription:2057,ModeSwitcherViewModeInMenuLabel:2058,ModeSwitcherViewModeLabel:2059,ModeSwitcherViewModeKeytip:2060,RecommendCharts:2061,RecommendChartsKeyTip:2062,RecommendPivotTables:2063,RecommendPivotTablesKeyTip:2064,InsertPivotTableMenuItem:2065,AutomateTabTitle:2066,AutomateTabKeyTip:2067,AutomateGroupTitle:2068,AutomateGroupTitleV2:2069,AutomateUnattendedGroupTitle:2070,AutomatePowerAutomateGroupTitle:2071,AutomateAllScriptsTitle:2072,AutomateAllScriptsKeyTip:2073,AutomateCodeTitle:2074,AutomateCodeKeyTip:2075,AutomateNewScriptsTitle:2076,AutomateNewScriptsKeyTip:2077,AutomateGroupNewScriptTitle:2078,AutomateGroupNewScriptKeyTip:2079,AutomateCreateInCodeEditorTitle:2080,AutomateCreateInCodeEditorKeyTip:2081,AutomateCreateInCodeEditorTooltip:2082,AutomateCreateFromRecordingTitle:2083,AutomateCreateFromRecordingKeyTip:2084,AutomateCreateFromRecordingTooltip:2085,AutomateGroupViewScriptsTitle:2086,AutomateGroupViewScriptsKeyTip:2087,AutomateRecentScriptsTitle:2088,AutomateRecentScriptsKeyTip:2089,AutomateScriptsFromThisWorkbookTitle:2090,AutomateScriptsFromThisWorkbookKeyTip:2091,AutomateSamplesTitle:2092,AutomateSamplesKeyTip:2093,AutomateUnhideAllRowsCols:2094,AutomateFreezeSelection:2095,AutomateRecorderTitle:2096,AutomateRecorderTooltip:2097,AutomateRecorderKeyTip:2098,AutomateAutomateTaskTitle:2099,AutomateAutomateTaskTooltip:2100,AutomateAutomateTaskKeyTip:2101,AutomateAutomateATaskTitle:2102,AutomateAutomateATaskTooltip:2103,AutomateAutomateATaskKeyTip:2104,AutomateFeedbackGroupTitle:2105,AutomateFeedbackTitle:2106,AutomateGalleryMenuTooltip:2107,AutomateGalleryMenuKeyTip:2108,AutomateGalleryWorkbookScriptsSection:2109,AutomateGalleryRecentScriptsSection:2110,AutomateGalleryAllScriptsTitle:2111,FlowGalleryMenuTooltip:2112,FlowGalleryMenuKeyTip:2113,WorkbookStatistics:2114,WorkbookStatisticsKeyTip:2115,PivotTableTabTitle:2116,PivotTableTabKeytip:2117,PivotTableDataGroupTitle:2118,PivotTableDataGroupOverflowLabel:2119,PivotTableActionsGroupTitle:2120,PivotTableActionsGroupOverflowLabel:2121,PivotTableSlicerGroupTitle:2122,PivotTableSlicerGroupOverflowLabel:2123,PivotTableStyleOptionsGroupTitle:2124,PivotTableStyleOptionsGroupOverflowLabel:2125,PivotTableStylesGroupTitle:2126,PivotTableStylesGroupOverflowLabel:2127,PivotTableShowGroupTitle:2128,PivotTableShowGroupOverflowLabel:2129,PivotTableAutoRefreshLabel:2130,PivotTableAutoRefreshKeytip:2131,PivotTableChangeDataSourceLabel:2132,PivotTableChangeDataSourceKeytip:2133,MovePivotTableLabel:2134,MovePivotTableKeytip:2135,PivotTableShowDetailsLabel:2136,PivotTableShowDetailsKeytip:2137,PivotTableStyleOptionsLabel:2138,PivotTableStyleOptionsKeytip:2139,PivotTableRowHeadersLabel:2140,PivotTableRowHeadersKeytip:2141,PivotTableColumnHeadersLabel:2142,PivotTableColumnHeadersKeytip:2143,PivotTableBandedRowsLabel:2144,PivotTableBandedRowsKeytip:2145,PivotTableBandedColumnsLabel:2146,PivotTableBandedColumnsKeytip:2147,PivotTableShowFieldListLabel:2148,PivotTableShowFieldListKeytip:2149,PivotTableShowSettingsLabel:2150,PivotTableShowSettingsKeytip:2151,PivotTableShowExpandButtonLabel:2152,PivotTableShowExpandButtonKeytip:2153,PivotTableSettingsPivotTableName:2154,PivotTableSettingsGrandSubTotalsSectionHeader:2155,PivotTableSettingsGrandTotalsGroupHeader:2156,PivotTableSettingsGrandTotalsShowForRows:2157,PivotTableSettingsGrandTotalsShowForColumns:2158,PivotTableSettingsSubTotalsGroupHeader:2159,PivotTableSettingsSubTotalsDoNotShow:2160,PivotTableSettingsSubTotalsShowOnTop:2161,PivotTableSettingsSubTotalsShowOnBottom:2162,PivotTableSettingsLayoutSectionHeader:2163,PivotTableSettingsLayoutColumnsGroupHeader:2164,PivotTableSettingsLayoutColumnsSeparate:2165,PivotTableSettingsLayoutCompact:2166,PivotTableSettingsLayoutCompactIndent:2167,PivotTableSettingsLayoutItemLabelsGroupHeader:2168,PivotTableSettingsLayoutRepeatLabels:2169,PivotTableSettingsLayoutDoNotRepeatLabels:2170,PivotTableSettingsLayoutBlankLineGroupHeader:2171,PivotTableSettingsLayoutBlankLine:2172,PivotTableSettingsLayoutNoBlankLine:2173,PivotTableSettingsSortDisplaySectionHeader:2174,PivotTableSettingsSortDisplayAutoFit:2175,PivotTableSettingsSortDisplayShowExpandCollapse:2176,PivotTableSettingsSortDisplayItemsWithNoDataGroupHeader:2177,PivotTableSettingsSortDisplayItemsWithNoDataShowOnRows:2178,PivotTableSettingsSortDisplayItemsWithNoDataShowOnColumns:2179,PivotTableSettingsSortDisplayErrorString:2180,PivotTableSettingsSortDisplayNullString:2181,PivotTableSettingsRefreshSaveSectionHeader:2182,PivotTableSettingsRefreshSaveSourceDataWithFile:2183,PivotTableSettingsRefreshSaveRefreshOnLoad:2184,PivotTableSettingsRefreshSaveAutoRefresh:2185,PivotTableSettingsAltTextSectionHeader:2186,PivotTableSettingsAltTextSectionDescription:2187,PivotTableSettingsAltTextTitle:2188,PivotTableSettingsAltTextDescription:2189,PivotTableSettingsButtonGroupDescription:2190,PivotTableSettingsSlicerConnectionsSectionHeader:2191,PivotTableSettingsSlicerConnectionsNameColumnHeader:2192,PivotTableSettingsSlicerConnectionsCaptionColumnHeader:2193,PivotTableSettingsSlicerConnectionsSheetNameColumnHeader:2194,SlicerTabTitle:2195,SlicerTabKeytip:2196,SlicerShowSettingsKeytip:2197,SlicerInsertTabInsertSlicerTitle:2198,SlicerInsertTabInsertSlicerKeytip:2199,SlicerInsertTabInsertSlicerGroupOverflowLabel:2200,SlicerTableTabInsertSlicerTitle:2201,SlicerTableTabInsertSlicerKeytip:2202,SlicerPivotTableTabInsertSlicerTitle:2203,SlicerPivotTableTabInsertSlicerKeytip:2204,TimeSlicerPivotTableTabInsertTitle:2205,TimeSlicerPivotTableTabInsertKeytip:2206,SlicerSettingsTitle:2207,SlicerSettingsShowHeader:2208,SlicerSettingsDataSource:2209,SlicerSettingsName:2210,SlicerSettingsSizePositionSectionHeader:2211,SlicerSettingsButtonSettingsGroupHeader:2212,SlicerSettingsButtonNumberPerRow:2213,SlicerSettingsHeight:2214,SlicerSettingsWidth:2215,SlicerSettingsSlicerSizeGroupHeader:2216,SlicerSettingsSlicerPositionGroupHeader:2217,SlicerSettingsHorizontalPosition:2218,SlicerSettingsVerticalPosition:2219,SlicerSettingsDisableResizeAndMove:2220,SlicerSettingsMoveAndSizeWithCells:2221,SlicerSettingsMoveButDoNotSizeWithCells:2222,SlicerSettingsDoNotMoveOrSizeWithCells:2223,SlicerSettingsPropertiesSectionHeader:2224,SlicerSettingsPrintObject:2225,SlicerSettingsLock:2226,SlicerSettingsPivotTableConnectionsSectionHeader:2227,SlicerSettingsAltTextSectionDescription:2228,KeyboardShortcutsDialogAllOverridingShortcuts:2229,BrowserReservedShortcuts:2230,BrowserReservedShortcutInfoMessage:2231,BrowserReservedOverrideShortcutInfoMessage:2232,HelpLinkText:2233,DialogMove:2234,Warning:2235,Save:2236,Cancel:2237,Information:2238,Question:2239,TableTotalRowOptionsKeyTip:2240,TableTotalRowOptionsLabel:2241,TableTotalRowOptionsAriaDescription:2242,AccessibleAuthoringTabTitle:2243,AccessibleAuthoringTabKeytip:2244,AccessibleAuthoringReviewGroupTitle:2245,AccessibleAuthoringColorGroupTitle:2246,AccessibleAuthoringStyleGroupTitle:2247,AccessibleAuthoringFormatGroupTitle:2248,AccessibleAuthoringNamesGroupTitle:2249,AccessibleAuthoringResourcesGroupTitle:2250,AccessibleAuthoringReviewGroupOverflowLabel:2251,AccessibleAuthoringColorGroupOverflowLabel:2252,AccessibleAuthoringStyleGroupOverflowLabel:2253,AccessibleAuthoringFormatGroupOverflowLabel:2254,AccessibleAuthoringResourcesGroupOverflowLabel:2255,AccessibleCellStyles:2256,AccessibleTableStylesShort:2257,AccessibleTableStyles:2258,AccessibleTableStylesKeytip:2259,AccessibleFormatAsTableKeytip:2260,AboutAccessibilityKeytip:2261,AboutAccessibilityLabel:2262,EditAltTextKeytip:2263,AccessibileAuthoringPivotTableSettingsKeytip:2264,PrintPreviewPaneIgnorePrintAreaText:2265,PrintPreviewPanePageSetupTitleText:2266,PrintPreviewPanePrintText:2267,PrintPreviewPanePaperSizeText:2268,PrintPreviewPaneOrientationText:2269,PrintPreviewPaneScalingText:2270,PrintPreviewPaneScalePercentageText:2271,PrintPreviewPaneScalePercentageIncrease:2272,PrintPreviewPaneScalePercentageDecrease:2273,PrintPreviewPaneScalePercentageSuffix:2274,PrintPreviewPaneLoadingPreviewText:2275,MRUMoreLink:2276,MRUErrorMessage:2277,DrawTabTitle:2278,DrawTabKeytip:2279,Drawing:2280,DrawingKeytip:2281,InkInputModeGroupTitle:2282,InkSelect:2283,InkSelectKeytip:2284,InkDrawWithTouch:2285,InkDrawWithTouchKeytip:2286,InkDrawingToolsGroupTitle:2287,InkEraser:2288,InkEraserKeytip:2289,InkPen:2290,InkPen1Keytip:2291,InkPen2Keytip:2292,InkHighlighter:2293,InkHighlighterKeytip:2294,InkActionPen:2295,InkActionPenKeytip:2296,InkThicknessSlider:2297,InkColorSwatchPicker:2298,InkColorSwatchPickerRecent:2299,InkColorSwatchPickerStandard:2300,InkSnapToText:2301,InkActionPenHelp:2302,InkActionPenHelpToolTip:2303,InkColorAqua:2304,InkColorBlack:2305,InkColorBlue:2306,InkColorCrimson:2307,InkColorDarkBlue:2308,InkColorGray25:2309,InkColorGray50:2310,InkColorGray80:2311,InkColorGreen:2312,InkColorIndigo:2313,InkColorLavender:2314,InkColorLightBlue:2315,InkColorLightGreen:2316,InkColorLime:2317,InkColorOrange:2318,InkColorPaleBlue:2319,InkColorPink:2320,InkColorPlum:2321,InkColorPurple:2322,InkColorRed:2323,InkColorRose:2324,InkColorSkyBlue:2325,InkColorWhite:2326,InkColorYellow:2327,QueriesTaskpane:2328,QueriesAndConnectionsTaskpane:2329,QueriesTaskpaneKeytip:2330,MorePivotTableStyles:2331,MorePivotTableStylesKeytip:2332,MoreSlicerStyles:2333,MoreSlicerStylesKeytip:2334,NavigationPane:2335,NavigationPaneKeyTip:2336,ChartEditDataDialogTooComplexWarning:2337,ChartEditDataDialogValueLabel:2338,ChartEditTitleDialogValueLabel:2339,ChartEditDataLabelDialogValueLabel:2340,CustomSortDialogAddButton:2341,CustomSortDialogAddButtonTooltip:2342,CustomSortDialogDeleteButton:2343,CustomSortDialogDeleteButtonTooltip:2344,CustomSortDialogCopyButton:2345,CustomSortDialogCopyButtonTooltip:2346,CustomSortDialogDisabledMenuGradientDisclaimer:2347,CustomSortDialogMoveUpButtonTooltip:2348,CustomSortDialogMoveDownButtonTooltip:2349,CustomSortDialogOptionsButton:2350,CustomSortDialogCaseSensitiveCheckbox:2351,CustomSortDialogOrientationLabel:2352,CustomSortDialogOrientationOptionVertical:2353,CustomSortDialogOrientationOptionHorizontal:2354,CustomSortDialogOrientationOptionHorizontalRTL:2355,CustomSortDialogDataHeadersCheckbox:2356,CustomSortDialogTableHeadersColumn:2357,CustomSortDialogTableHeadersRow:2358,CustomSortDialogTableHeadersSortOn:2359,CustomSortDialogTableHeadersOrder:2360,CustomSortDialogTableFirstRowLabel:2361,CustomSortDialogTableFollowingRowLabel:2362,CustomSortDialogSortOnOptionsCellValue:2363,CustomSortDialogSortOnOptionsCellColor:2364,CustomSortDialogSortOnOptionsFontColor:2365,CustomSortDialogSortOnOptionsCellIcon:2366,CustomSortDialogOrderOptionsAscending:2367,CustomSortDialogOrderOptionsDescending:2368,CustomSortDialogColorOrIconOrderOptionsTop:2369,CustomSortDialogColorOrIconOrderOptionsBottom:2370,CustomSortDialogColorOrIconOrderOptionsLeft:2371,CustomSortDialogColorOrIconOrderOptionsRight:2372,CustomSortDialogNoCellColor:2373,CustomSortDialogFontColorAutomatic:2374,CustomSortDialogNoCellIcon:2375,CustomSortDialogGradientTitle:2376,CustomSortDialogValidationBlankColumnKey:2377,CustomSortDialogValidationBlankRowKey:2378,CustomSortDialogValidationSameKey:2379,CustomSortDialogValidationSameColor:2380,CustomSortDialogValidationSameIcon:2381,CustomSortDialogSortConditionAriaLabel:2382,SlicerStylesGroupTitle:2383,SlicerStylesGroupOverflowLabel:2384,PasswordDialogInputPlaceholder:2385,PasswordDialogInputAriaLabel:2386,PasswordDialogInputLabelForSmallFileNames:2387,PasswordDialogInputLabelForLargeFileNames:2388,PasswordDialogShowEyeIconAriaLabel:2389,PasswordDialogHideEyeIconAriaLabel:2390,PasswordDialogWrongPasswordDescription:2391,RibbonScalingData:2392,EditGridLabel:2393,EditLinkLabel:2394,SheetViewNewStringLabel:2395,RenameButtonTitleLabel:2396,Zoom:2397,ZoomKeytip:2398,ZoomToolTip:2399,ZoomTo25:2400,ZoomTo50:2401,ZoomTo75:2402,ZoomTo100:2403,ZoomTo125:2404,ZoomTo150:2405,ZoomTo175:2406,ZoomTo200:2407,ZoomTo100Keytip:2408,ZoomTo100ToolTip:2409,InsertDeleteCellsDialogShiftCellsLeftLabel:2410,InsertDeleteCellsDialogShiftCellsRightLabel:2411,InsertDeleteCellsDialogShiftCellsUpLabel:2412,InsertDeleteCellsDialogShiftCellsDownLabel:2413,InsertDeleteCellsDialogEntireRowLabel:2414,InsertDeleteCellsDialogEntireColumnLabel:2415,ResizeHeadersDialogUnitsDefault:2416,ResizeHeadersDialogUnitsPx:2417,ResizeHeadersDialogDefaultUnitsColumnTooltip:2418,ResizeHeadersDialogDefaultUnitsRowTooltip:2419,ResizeHeadersDialogValueLabel:2420,NeedDesktopAppLabel:2421,MLRQueriesAndConnectionsGroupTitle:2422,SpinnerLoadingLabel:2423,DataCleansingEmptyPane:2424,TellMeUpsellChangeCase:2425,TellMeUpsellExcelSymbols:2426,TellMeUpsellFileProtection:2427,PerformanceGroupTitle:2428,CheckPerformance:2429,CheckPerformanceKeyTip:2430,NameBoxTooltip:2431,NameBoxNoObjects:2432,NameBoxViewMode:2433,NameManager:2434,NameManagerKeytip:2435,NameManagerSearchBoxPlaceholder:2436,NameManagerContextMenuEntryPointText:2437,NameManagerNameBoxEntryPointText:2438,NameManagerEmptyMessage:2439,NameManagerItemSelect:2440,NameManagerDeleteName:2441,NameManagerNameInputTitle:2442,NameManagerRefersToInputTitle:2443,NameManagerCommentInputTitle:2444,NameManagerInvalidReference:2445,NameManagerEditButtonLabel:2446,NameManagerMoreOptionsButtonLabel:2447,NameManagerMoreOptionsAccessibility:2448,NameManagerSelectButtonLabel:2449,NameManagerDeleteButtonLabel:2450,NameManagerNameInputPlaceholder:2451,NameManagerRefersToInputPlaceholder:2452,NameManagerCommentInputPlaceholder:2453,NameManagerTableEditInfoMessage:2454,NameManagerScopeEditInfoMessageGlobalScope:2455,NameManagerScopeEditInfoMessageLocalScope:2456,NameManagerSaveButtonLabel:2457,NameManagerCancelButtonLabel:2458,NameManagerEmptyViewHeader:2459,NameManagerEmptyViewDescription:2460,NameManagerEmptyViewLearnMoreLabel:2461,NameManagerNoSearchResults:2462,NameManagerNoSearchResultsDescription:2463,NameManagerNoSearchClearButtonLabel:2464,NameManagerErrorViewHeader:2465,NameManagerErrorViewRetryButtonLabel:2466,NameManagerShortcutKey:2467,NameManagerShortcutKeyMac:2468,NameManagerNewLabel:2469,NameManagerSelectAllLabel:2470,NameManagerDeleteLabel:2471,NameManagerImproveButtonLabel:2472,NameManagerFilterWorkbook:2473,NameManagerFilterWorksheets:2474,NameManagerFilterWithErrors:2475,NameManagerFilterWithoutErrors:2476,NameManagerFilterTableNames:2477,NameManagerFilterDefinedNames:2478,NameManagerFilterSortAZ:2479,NameManagerFilterSortZA:2480,NameManagerSortLabel:2481,NameManagerFilterLabel:2482,NameManagerFilterClearFilters:2483,NameManagerFilterSortBy:2484,NameManagerFilterSortOrderDefault:2485,NameManagerFilterSortOrderName:2486,NameManagerFilterSortOrderScope:2487,NameManagerFilterFilterByHeaderLabel:2488,NameManagerSearchResults:2489,NameManagerSingleSearchResult:2490,IconGreenUpArrow:2491,IconRedDownArrow:2492,IconYellowRightArrow:2493,IconGreyUpArrow:2494,IconGreyDownArrow:2495,IconGreyRightArrow:2496,IconGreenFlag:2497,IconRedFlag:2498,IconYellowFlag:2499,IconGreenCircle:2500,IconRedCircle:2501,IconYellowCircle:2502,IconGreenTrafficLight:2503,IconRedTrafficLight:2504,IconYellowTrafficLight:2505,IconRedDiamond:2506,IconYellowTriangle:2507,IconGreenCircleWithCheckmark:2508,IconRedCircleWithX:2509,IconYellowCircleWithExclamation:2510,IconYellowUpAndRightArrow:2511,IconYellowDownAndRightArrow:2512,IconGreyUpAndRightArrow:2513,IconGreyDownAndRightArrow:2514,IconDarkRedCircle:2515,IconLightRedCircle:2516,IconGreyCircle:2517,IconBlackCircle:2518,IconFullCircle:2519,IconEmptyCircle:2520,IconThreeQuartersFilledCircle:2521,IconHalfFilledCircle:2522,IconOneQuarterFilledCircle:2523,IconGreenCheckmark:2524,IconRedX:2525,IconYellowExclamation:2526,IconOneOfFourBars:2527,IconTwoOfFourBars:2528,IconThreeOfFourBars:2529,IconFourOfFourBars:2530,IconZeroOfFourBars:2531,IconZeroOfFourBoxes:2532,IconOneOfFourBoxes:2533,IconTwoOfFourBoxes:2534,IconThreeOfFourBoxes:2535,IconFourOfFourBoxes:2536,IconEmptyStar:2537,IconHalfFullStar:2538,IconFullStar:2539,IconRedTrianglePointedDown:2540,IconYellowHorizontalBar:2541,IconGreenTrianglePointedUp:2542,UnHideSheetDialogTitle:2543,UnHideSheetDialogColumnHeaderName:2544,GotoDialogInputTitle:2545,GotoDialogInputPlaceHolder:2546,GotoDialogComboBoxTitle:2547,GotoDialogError:2548,TellMeUpsellPageMargin:2549,Designer:2550,DesignerKeytip:2551,FrenchAccessibilityStatementLinkText:2552,FormulaAuthoring:2553,FormulaAuthoringGiveFeedback:2554,FormulaAuthoringCopilotPromptPlaceholder:2555,FormulaAuthoringCopilotPromptPrefix:2556,FormulaAuthoringIgnore:2557,FormulaAuthoringMove:2558,FormulaArgumentAssistance:2559,FormulaArgumentAssistanceTurnOn:2560,FormulaArgumentAssistanceTurnOff:2561,FormulaArgumentAssistanceDescription:2562,FormulaArgumentAssistanceExample:2563,FormulaArgumentAssistanceLearnMore:2564,FormulaArgumentAssistanceExpand:2565,FormulaArgumentAssistanceCollapse:2566,FormulaArgumentAssistanceDismiss:2567,FormulaArgumentAssistanceShowLess:2568,FormulaRepairDefaultTitle:2569,FormulaRepairDefaultDescriptionSingle:2570,FormulaRepairDefaultDescriptionMultiple:2571,FormulaSuggestions:2572,FormulaSuggestionsTurnOn:2573,FormulaSuggestionsTurnOff:2574,FormulaSyntaxErrorIndicationDescription:2575,FieldListDragDropAreaDescription:2576,FieldListDisplayModeAriaLabel:2577,FieldListDisplayAll:2578,FieldListDisplayActive:2579,FieldListTools:2580,FieldListExpandAll:2581,FieldListCollapseAll:2582,FieldListSortAscending:2583,FieldListSortInDataSourceOrder:2584,FieldListResize:2585,FieldListResizeAriaLabel:2586,FieldListResizeCurrentPercentage:2587,FieldListResizeMaxPercentage:2588,FieldListResizeMinPercentage:2589,FieldListFilters:2590,FieldListRows:2591,FieldListPivotChartRows:2592,FieldListColumns:2593,FieldListPivotChartColumns:2594,FieldListValues:2595,FieldListSearch:2596,FieldListSearchDescription:2597,FieldListSearchClear:2598,FieldListSearchNoMatches:2599,ReorderSheetDialogField:2600,SheetOptionsKeytip:2601,SheetOptions:2602,PresentationView:2603,PresentationViewKeyTip:2604,PresentationViewWelcomeDialogTitle:2605,PresentationViewWelcomeDialogDesc:2606,PresentationViewWelcomeDialogBtn:2607,PresentationViewToolbarSpotlight:2608,PresentationViewToolbarSpotlightTooltip:2609,PresentationViewToolbarShowOptions:2610,PresentationViewToolbarZoomIn:2611,PresentationViewToolbarZoomOut:2612,PresentationViewToolbarExit:2613,EwrImage200GreenUpArrowToolTip:2614,EwrImage201RedDownArrowToolTip:2615,EwrImage202YellowRightArrowToolTip:2616,EwrImage203GreyUpArrowToolTip:2617,EwrImage204GreyDownArrowToolTip:2618,EwrImage205GreyRightArrowToolTip:2619,EwrImage206GreenFlagToolTip:2620,EwrImage207RedFlagToolTip:2621,EwrImage208YellowFlagToolTip:2622,EwrImage209GreenCircleToolTip:2623,EwrImage210RedCircleToolTip:2624,EwrImage211YellowCircleToolTip:2625,EwrImage212GreenTrafficLightToolTip:2626,EwrImage213RedTrafficLightToolTip:2627,EwrImage214YellowTrafficLightToolTip:2628,EwrImage215RedDiamondToolTip:2629,EwrImage216YellowTriangleToolTip:2630,EwrImage217GreenCircleWithCheckmarkToolTip:2631,EwrImage218RedCircleWithXToolTip:2632,EwrImage219YellowCircleWithExclamationToolTip:2633,EwrImage220YellowUpAndRightArrowToolTip:2634,EwrImage221YellowDownAndRightArrowToolTip:2635,EwrImage222GreyUpAndRightArrowToolTip:2636,EwrImage223GreyDownAndRightArrowToolTip:2637,EwrImage224DarkRedCircleToolTip:2638,EwrImage225LightRedCircleToolTip:2639,EwrImage226GreyCircleToolTip:2640,EwrImage227BlackCircleToolTip:2641,EwrImage231FullCircleToolTip:2642,EwrImage232EmptyCircleToolTip:2643,EwrImage233ThreeQuartersFilledCircleToolTip:2644,EwrImage234HalfFilledCircleToolTip:2645,EwrImage235OneQuarterFilledCircleToolTip:2646,EwrImage236GreenCheckmarkToolTip:2647,EwrImage237RedXToolTip:2648,EwrImage238YellowExclamationToolTip:2649,EwrImage247ZeroOfFourBarsToolTip:2650,EwrImage239OneOfFourBarsToolTip:2651,EwrImage240TwoOfFourBarsToolTip:2652,EwrImage241ThreeOfFourBarsToolTip:2653,EwrImage242FourOfFourBarsToolTip:2654,EwrImage248ZeroOfFourBoxesToolTip:2655,EwrImage249OneOfFourBoxesToolTip:2656,EwrImage250TwoOfFourBoxesToolTip:2657,EwrImage251ThreeOfFourBoxesToolTip:2658,EwrImage252FourOfFourBoxesToolTip:2659,EwrImage253EmptyStarToolTip:2660,EwrImage254HalfFullStarToolTip:2661,EwrImage255FullStarToolTip:2662,EwrImage256RedTrianglePointedDownToolTip:2663,EwrImage257YellowHorizontalBarToolTip:2664,EwrImage258GreenTrianglePointedUpToolTip:2665,EwrTooltipColorWhite:2666,EwrTooltipColorBlack:2667,EwrTooltipColorLightGray:2668,EwrTooltipColorGray:2669,EwrTooltipColorDarkGray:2670,EwrTooltipColorAqua:2671,EwrTooltipColorBlue:2672,EwrTooltipColorBlueGray:2673,EwrTooltipColorBrightGreen:2674,EwrTooltipColorBrown:2675,EwrTooltipColorCoral:2676,EwrTooltipColorDarkBlue:2677,EwrTooltipColorDarkGreen:2678,EwrTooltipColorDarkPurple:2679,EwrTooltipColorDarkRed:2680,EwrTooltipColorDarkTeal:2681,EwrTooltipColorDarkYellow:2682,EwrTooltipColorPurple:2683,EwrTooltipColorGold:2684,EwrTooltipColorGreen:2685,EwrTooltipColorIceBlue:2686,EwrTooltipColorIndigo:2687,EwrTooltipColorLavender:2688,EwrTooltipColorLightBlue:2689,EwrTooltipColorLightGreen:2690,EwrTooltipColorLightOrange:2691,EwrTooltipColorLightTurquoise:2692,EwrTooltipColorLightYellow:2693,EwrTooltipColorLime:2694,EwrTooltipColorOliveGreen:2695,EwrTooltipColorOrange:2696,EwrTooltipColorPaleBlue:2697,EwrTooltipColorPeriwinkle:2698,EwrTooltipColorPink:2699,EwrTooltipColorPlum:2700,EwrTooltipColorRed:2701,EwrTooltipColorRose:2702,EwrTooltipColorSkyBlue:2703,EwrTooltipColorTan:2704,EwrTooltipColorTeal:2705,EwrTooltipColorTurquoise:2706,EwrTooltipColorYellow:2707,EwrThemeColorBackground1:2708,EwrThemeColorText1:2709,EwrThemeColorBackground2:2710,EwrThemeColorText2:2711,EwrThemeColorAccent1:2712,EwrThemeColorAccent2:2713,EwrThemeColorAccent3:2714,EwrThemeColorAccent4:2715,EwrThemeColorAccent5:2716,EwrThemeColorAccent6:2717,ExcelLiveWelcomeDialogEditDescription:2718,ExcelLiveWelcomeDialogZoomInDescription:2719,ExcelLiveWelcomeDialogFilterDescription:2720,ExcelLiveWelcomeDialogPresenterName:2721,ExcelLiveWelcomeDialogTitle:2722,ExcelLiveWelcomeDialogDelimiter:2723,GiveFeedbackToMicrosoft:2724,SortByCellColor:2725,SortByFontColor:2726,SortByCellIcon:2727,FilterByCellColor:2728,FilterByFontColor:2729,FilterByCellIcon:2730,MoreCellColors:2731,MoreFontColors:2732,MoreCellIcons:2733,SortFilterByColorNoFill:2734,SortFilterByColorNoIcon:2735,SortFilterByColorAutomatic:2736,CreateTableDialogLabel:2737,CreateTableDialogTableHeadersCheckbox:2738,TableHeaderTextDialogDescription:2739,TableAltTextTitleLabel:2740,TableAltTextDescriptionLabel:2741,TableEditAltText:2742,TableEditAltTextKeyTip:2743,LoadingProgressIndicator:2744,GetAndTransformDataGroupTitle:2745,GetDataGroupTitle:2746,DataFromPicture:2747,DataFromPictureKeyTip:2748,DefaultPaste:2749,DefaultPasteDialogTitle:2750,SetDefaultPasteKeyTip:2751,DefaultPasteInternalPasteText:2752,DefaultPasteExternalPasteText:2753,SetDefaultPasteButton:2754,ChangeDefaultPasteDialogActionButtonName:2755,SetDefaultPasteDescription:2756,DataFromPowerBI:2757,DataFromPowerBIKeyTip:2758,CopyLinkToThisSheet:2759,CopyLinkToSheetView:2760,CopyLinkToRange:2761,CopyLinkToTable:2762,LinkToThisSheet:2763,LinkToThisSheetKeyTip:2764,InsertDropdownList:2765,InsertDropdownListKeyTip:2766,MLRCellControlsGroupTitle:2767,ViewsGroupTitle:2768,ImmersiveReader:2769,ImmersiveReaderKeyTip:2770,HelpImproveOffice:2771,CustomiseStatusBar:2772,NumericalCount:2773,SheetNumber:2774,PageLoadStatistics:2775,CoauthInfraStatistics:2776,ReadFeatures:2777,ServerDebugStatesUpdate:2778,SupportedFeatures:2779,EndMode:2780,Disconnected:2781,Connected:2782,EnterToPaste:2783,LongTaskTooltip:2784,TextForOfficeOnlineInGallatin:2785,DataSourceDirtiness:2786,AverageDescription:2787,CountDescription:2788,NumericalCountDescription:2789,MinimumDescription:2790,MaximumDescription:2791,SumDescription:2792,InsertCellPictureFlyout:2793,InsertCellPictureFlyoutKeyTip:2794,InsertOverCellsPictureFlyout:2795,InsertOverCellsPictureFlyoutKeyTip:2796,DataConnectionsFlyout:2797,ManageConnections:2798,DataSourceSettings:2799,ManageConnectionsPowerQueryKeyTip:2800,FormatCellAlignment:2801,FormatCells:2802,FormatCellFont:2803,FormatCellBorder:2804,FormatCellAlignmentKeyTip:2805,FormatCellsKeyTip:2806,FormatCellFontKeyTip:2807,FormatCellBorderKeyTip:2808,ChartOutline:2809,ChartOutlineKeyTip:2810,ChartStyleFill:2811,ChartStyleFillKeyTip:2812,StatusBarZoomIn:2813,StatusBarZoomOut:2814,FullScreen:2815,DatePickerFloatie:2816,LaunchQueryEditor:2817,PowerQueryGetData:2818,PowerQueryGetDataMenu:2819,ManageConnectionsPowerQueryGetDataDropdown:2820,DataSourceSettingsGetDataDropdown:2821,TimerRedirectionDialogContent:2822,NameRangeStatusCalloutHeaderEmptyRange:2823,NameRangeStatusCalloutBodyEmptyRange:2824,NameRangeStatusCalloutHeaderRangeCreated:2825,CellsMenu:2826,CellsMenuKeyTip:2827,CloseAndLoadRibbonLabel:2828,CloseAndLoadRibbonLabelDescription:2829,PowerQueryGetDataKeyTip:2830,PowerQueryGetDataMenuKeyTip:2831,PowerQueryLaunchQueryEditorKeyTip:2832,RenamePromptCalloutButtonText:2833,RenamePromptCalloutTitle:2834,RenamePromptCalloutBody:2835,FormulaRepairAvailable:2836,FontPickerFreeFontsSection:2837,FontPickerPremiumFontsSection:2838,FontPickerShowMoreButtonLabel:2839,FontPickerAllFontsSection:2840,FontPickerPinnedFontsSection:2841,FontPickerMruSection:2842,FontPickerOrganizationSection:2843,FontPickerInfoCommand:2844,FontPickerPinnedTooltip:2845,FontPickerUnpinnedTooltip:2846,FontPickerThemeFontTooltip:2847,FontPickerEmbeddedFontTooltip:2848,FontPickerPremiumFontTooltip:2849,FontPickerMissingFontTooltip:2850,FontPickerCompatibilityFontTooltip:2851,FontPickerNewFontHeader:2852,FontPickerSearchNoResult:2853,FontPickerNoActionLabel:2854,FontPickerPremiumFontsTitle:2855,FontPickerPremiumFontsBody:2856,FontPickerPremiumFontsBody2:2857,FontPickerHelpContentTitle:2858,FontPickerPinnedFontAnnouncement:2859,FontPickerUnPinnedFontAnnouncement:2860,FontPickerNumberOfSuggestionsAnnouncement:2861,FontPickerNoSuggestionsAnnouncement:2862,FontPickerNumberOfSuggestionsInGroupAnnouncement:2863,FontPickerPinnedDescription:2864,FontPickerUnpinnedDescription:2865,FontPickerFontPinningTooltip:2866,FontPickerFontMissingFontTooltip:2867,FontPickerFontOtherActionTooltip:2868,ReviewCommentMenu:2869,ReviewCommentMenuTooltip:2870,ReviewCommentMenuKeyTip:2871,ReviewChangesMenu:2872,ReviewChangesHistoryMenu:2873,ReviewChangesHistoryMenuKeyTip:2874,ReviewProofingMenu:2875,ReviewSpellingStatisticsMenu:2876,ReviewSpellingStatisticsMenuKeyTip:2877,ReviewProtectionMenu:2878,ReviewProtectionMenuKeyTip:2879,ReviewPerformance:2880,ReviewPerformanceKeyTip:2881,CompatShortcutKeyPressedInfoCalloutHeader:2882,CompatShortcutKeyPressedInfoCalloutBody:2883,FullScreenKeyTip:2884,CopySheetStatusCalloutTitle:2885,CopySheetStatusCalloutBody:2886,CopySheetStatusFailedCallout:2887,FullSheetCopy:2888,FullSheetCopyKeyTip:2889,FullSheetPaste:2890,FullSheetPasteKeyTip:2891,KeyboardShortcutAwarenessCalloutTitle:2892,KeyboardShortcutAwarenessCalloutSubtitle:2893,KeyboardShortcutAwarenessCalloutLink:2894,HyperlinkOpenCalloutText:2895,HyperlinkOpenCalloutTextMac:2896,AppHomeButtonAriaLabel:2897,AppHomeButtonTooltip:2898,SaveAndEdit:2899,BlankWorkbookKeytip:2900,BrowseTemplates:2901,BrowseTemplatesKeytip:2902,EmbedWorkbook:2903,CreateACopy:2904,CreateACopyKeytip:2905,CreateACopyOnline:2906,MoveFile:2907,MoveFileKeytip:2908,FileProperties:2909,DiagnosticsBuild:2910,DiagnosticsSessionId:2911,OpenInDesktopButton:2912,ExportToCSV:2913,ProtectWorkbookButton:2914,OptionsButton:2915,RegionalSettingsButton:2916,VersionHistoryKeytip:2917,VersionHistoryKeytipReviewTab:2918,TaskPaneSkeletonFallbackAriaLabel:2919,WorkbookOptimizationTaskPaneTitle:2920,WorkbookOptimizationTaskPaneConsentStateTitle:2921,WorkbookOptimizationTaskPaneConsentStateDescription:2922,WorkbookOptimizationTaskPaneConsentStateOptimizeButtonLabel:2923,WorkbookOptimizationTaskPaneConsentStateLinkLabel:2924,WorkbookOptimizationTaskPaneSummaryCardTitle:2925,WorkbookOptimizationTaskPaneSummaryCardDescription:2926,WorkbookOptimizationTaskPaneSummaryCardLinkLabel:2927,WorkbookOptimizationTaskPaneFeedbackCardTitle:2928,WorkbookOptimizationTaskPaneFeedbackCardSmileFeedbackButtonLabel:2929,WorkbookOptimizationTaskPaneFeedbackCardFrownFeedbackButtonLabel:2930,WorkbookOptimizationTaskPaneFeedbackCardRevertButtonLabel:2931,WorkbookOptimizationOverviewPanePivot:2932,WorkbookOptimizationOpenIssuesPanePivot:2933,WorkbookOptimizationTaskPaneOpenIssuesCardDescription:2934,WorkbookOptimizationTaskPaneBackupCardTitle:2935,WorkbookOptimizationTaskPaneBackupCardBackupText:2936,WorkbookOptimizationBrokenFormulaCardFunctionDetail:2937,WorkbookOptimizationBrokenFormulaCardSuggestionLink:2938,WOBrokenFormulaCardNavigationPrevious:2939,WOBrokenFormulaCardNavigationNext:2940,WOBrokenFormulaCardNavigationSummary:2941,WorkbookOptimizationImprovePerformanceCardText2:2942,WorkbookOptimizationImprovePerformanceCardText1:2943,WorkbookOptimizationImprovePerformanceCardButton:2944,WorkbookOptimizationBrokenLinksCardButton:2945,WOTaskPaneSkeletonLoadingAriaLabel:2946,WorkbookOptimizationBrokenLinksCardUpdateLinkButton:2947,WOTaskPaneConsentStateFeedbackButtonLabel:2948,WOTaskPaneGuidedStateFeedbackButtonLabel:2949,UCBPDialogProgressStateFeedbackButtonLabel:2950,UCBPDialogOpenIssuesPrimaryDescription:2951,UCBPDialogOpenIssuesSecondaryDescription:2952,UnhideButtonTooltip:2953,Location:2954,ViewAllFiles:2955,MoveChartTargetSheet:2956,FileMenuCreateACopyKeytip:2957,FileMenuCreateACopyOnlineKeytip:2958,FileMenuExportKeytip:2959,FileMenuDownloadAsPDFKeytip:2960,FileMenuVersionHistoryKeytip:2961,FileMenuInfoKeytip:2962,DataToolsGroupKeyTip:2963,OutlineGroupKeyTip:2964,FileMenuAutoFitButtonText:2965,FileMenuAutoFitKeytip:2966,OnButtonText:2967,OffButtonText:2968,FileMenuAutoFitOnKeytip:2969,FileMenuAutoFitOffKeytip:2970,AddinClassicStoreTooltip:2971,PythonChunkTitle:2972,InsertPython:2973,ExplorePythonSamples:2974,PythonKeyTip:2975,PythonEditor:2976,PythonEditorKeyTip:2977,PythonInitialization:2978,PythonInitializationKeyTip:2979,PythonClearGlobals:2980,PythonResetKeyTip:2981,PythonClearGlobalsKeyTip:2982,PythonResetRuntime:2983,PythonResetRuntimeKeyTip:2984,WorkbookAmendmentCompatibilityVersion:2985,WorkbookAmendmentCompatibilityVersionKeyTip:2986,WorkbookAmendmentCompatibilityVersionRecommended:2987,WorkbookAmendmentCompatibilityVersionRecommendedKeyTip:2988,WorkbookAmendmentCompatibilityVersionLatest:2989,WorkbookAmendmentCompatibilityVersionLatestKeyTip:2990,WorkbookAmendmentCompatibilityVersionStandard:2991,WorkbookAmendmentCompatibilityVersion1KeyTip:2992,WorkbookAmendmentCompatibilityVersion2KeyTip:2993,WorkbookAmendmentCompatibilityVersion3KeyTip:2994,WorkbookAmendmentCompatibilityVersionUnsupported:2995,WorkbookAmendmentCompatibilityVersionLearnMore:2996,WorkbookAmendmentCompatibilityVersionLearnMoreKeyTip:2997,CopilotFREProdigiHeading:2998,CopilotFREProdigiMainBody:2999,CopilotFREProdigiTOU:3e3,CopilotFREProdigiMainBodyCELA:3001,CopilotFREProdigiTOUCELA:3002,CopilotFREProdigiCloseButtonLabel:3003,CopilotFREProdigiGetStartedButtonLabel:3004,CopilotPromptInputCharacterLimitExceededMessage:3005,CloseAndLoadToRibbonLabel:3006,CloseAndLoadToRibbonLabelDescription:3007,PowerQueryExcelHostDocumentationTooltip:3008,PowerQueryExcelHostDocumentationLabel:3009,CopilotSettingsDialogShowSkittleLessOftenCheckbox:3010,CopilotSettingsDialogKeytip:3011,CopilotSettingsDialog:3012},t.NP=["DragCopy","DragFill","DragRecoveryUIToolTip","MoreTabs","RibbonLabel","RibbonTabsGroupLabel","SplitButtonRoleDescription","SpinnerDecrementButtonAriaLabel","SpinnerIncrementButtonAriaLabel","ClipboardGroupTitle","ClipboardGroupOverflowLabel","MLRClipboardGroupKeyTip","ClipboardKeyTip","FontGroupTitle","FontGroupOverflowLabel","MLRFontGroupKeyTip","AdditionalControls","AlignmentGroupTitle","AlignmentGroupOverflowLabel","ArithmeticOperatorCalloutTitle","ArithmeticOperatorCalloutDescription","MLRAlignmentGroupKeyTip","NumberGroupTitle","NumberGroupOverflowLabel","MLRNumberGroupKeyTip","StylesGroupTitle","StylesGroupOverflowLabel","CellsGroupTitle","CellsGroupOverflowLabel","MLRCellsGroupKeyTip","AlignLeft","AlignLeftToolTip","AlignLeftKeyTip","AlignCenter","AlignCenterToolTip","AlignCenterKeyTip","AlignRight","AlignRightToolTip","AlignRightKeyTip","AlignTop","AlignTopToolTip","AlignTopKeyTip","AlignMiddle","AlignMiddleToolTip","AlignMiddleKeyTip","AlignBottom","AlignBottomToolTip","AlignBottomKeyTip","AlignKeyTip","Orientation","OrientationToolTip","OrientationKeyTip","RotateTextUp45","RotateTextUp45KeyTip","RotateTextDown45","RotateTextDown45KeyTip","VerticalText","VerticalTextKeyTip","RotateTextUp90","RotateTextUp90KeyTip","RotateTextDown90","RotateTextDown90KeyTip","FormattingGroupTitle","FormattingGroupOverflowLabel","EditingGroupTitle","EditingGroupOverflowLabel","MLREditingGroupKeyTip","InsertGroupTitle","ShareGroupTitle","DataGroupTitle","DataGroupOverflowLabel","SortGroupTitle","SortGroupOverflowLabel","DataValidationGroupTitle","DataValidationOverflowLabel","DataValidationInputBoxPlaceholder","DataValidationNumberPlaceholder","DataValidationSelectACellPlaceholder","DataValidationCustomPlaceholder","DataValidationDatePlaceholder","DataValidationTimePlaceholder","DataValidationSettings","DataValidationInputMessage","DataValidationShowAlert","DataValidationErrorAlert","DataValidationRuleType","DataValidationIgnoreBlank","DataValidationCellDropdown","DataValidationListDataTypeHint","DataValidationShowError","DataValidationAlertTitle","DataValidationAlertMessage","DataValidationTitle","DataValidationMessage","DataValidationShowMessage","DataValidationWarningType","DataValidationBlockingLabel","DataValidationTypeString","DataValidationOperatorType","DataValidationMinimumOperatorLabel","DataValidationMaximumOperatorLabel","DataValidationValueOperatorLabel","DataValidationSourceOperatorLabel","DataValidationItemsOperatorLabel","DataValidationFormulaOperatorLabel","DataValidationStartDateOperatorLabel","DataValidationEndDateOperatorLabel","DataValidationDateOperatorLabel","DataValidationStartTimeOperatorLabel","DataValidationEndTimeOperatorLabel","DataValidationLengthLabel","DataValidationTimeOperatorLabel","DataValidationAnyValueRuleType","DataValidationWholeNumberRuleType","DataValidationDecimalRuleType","DataValidationListRuleType","DataValidationListDropdownRuleType","DataValidationTextLengthRuleType","DataValidationCustomRuleType","DataValidationBetweenOperatorLabel","DataValidationNotBetweenOperatorLabel","DataValidationEqualsOperatorLabel","DataValidationNotEqualsOperatorLabel","DataValidationGreaterThanOperatorLabel","DataValidationLessThanOperatorLabel","DataValidationGreaterThanOrEqualOperatorLabel","DataValidationLessThanOrEqualOperatorLabel","AccessibilityGroupTitle","AccessibilityHelpKeyTip","SizeGroupTitle","CommentGroupTitle","CommentGroupOverflowLabel","ViewGroupTitle","ShowGroupTitle","ViewGroupOverflowLabel","AutoFilterGroupTitle","AutoFilterOverflowLabel","CreateAndManageForms","ChartDataGroupTitle","ChartAxesGroupTitle","ChartLabelsGroupTitle","ChartTaskpaneGroupTitle","LinkedEntityDataTypesGroupTitle","ChangeChartTypeGroupTitle","ChangePhoneticHiragana","ChangePhoneticHiraganaKeyTip","ChangePhoneticKatakanaHalf","ChangePhoneticKatakanaHalfKeyTip","ChangePhoneticKatakanaFull","ChangePhoneticKatakanaFullKeyTip","EditShapesGroupTitle","ShapeStylesGroupTitle","ShapeStylesGroupOverflowLabel","ArrangeGroupTitle","SendBackward","SendBackwardKeyTip","ArrangeSendToBack","ArrangeSendToBackKeyTip","ArrangeSendBackward","ArrangeSendBackwardKeyTip","BringForward","BringForwardKeyTip","ArrangeBringToFront","ArrangeBringToFrontKeyTip","ArrangeBringForward","ArrangeBringForwardKeyTip","AlternativeText","AlternativeTextKeytip","CropPicture","CropPictureKeytip","HomeTabTitle","ShareTabTitle","InsertTabTitle","DataTabTitle","ReviewTabTitle","ViewTabTitle","HelpTabTitle","HelpGroupOverflowLabel","ChartTabTitle","PageLayoutTabTitle","FormulasTabTitle","DeveloperTabTitle","AddinsTabTitle","DrawingTabTitle","FileMenuLabel","Undo","UndoKeyTip","Redo","RedoKeyTip","Paste","PasteKeyTip","PasteRecoveryUIExpansionKey","PasteRecoveryUIPasteExpansionWindowsKey","PasteRecoveryUIPasteValuesExpansionWindowsKey","PasteRecoveryUIPasteExpansionMacKey","PasteRecoveryUIPasteValuesExpansionMacKey","PasteRecoveryUIToolTip","Copy","CopyKeyTip","CopyHyperlink","CopyLinkKeyTip","CopyLinkMenuButtonKeytip","EmailLink","EmailLinkKeytip","ManageAccess","ManageAccessKeytip","Cut","CutKeyTip","FormatPainter","FormatPainterKeyTip","FontName","FontNameKeyTip","FontNameToolTip","FontSize","FontSizeKeyTip","FontSizeToolTip","BlankWorkbook","Bold","BoldToolTip","BoldKeyTip","Italic","ItalicKeyTip","Underline","UnderlineKeyTip","Strikethrough","StrikethroughKeyTip","DoubleUnderline","DoubleUnderlineKeyTip","FontColor","FontColorFullDesc","FontColorKeyTip","ShowHidePhonetic","ShowHidePhoneticKeyTip","Merge","MLRMerge","MergeKeyTip","MergeAndCenter","MergeAndCenterKeyTip","MergeAcross","MergeAcrossKeyTip","MergeCells","MergeCellsKeyTip","UnmergeCells","UnmergeCellsKeyTip","CenterAcrossSelection","CenterAcrossSelectionKeyTip","NumberFormat","NumberFormatKeyTip","ShowNumberFormatGroupKeyTip","ConditionalFormattingShort","ConditionalFormatting","ConditionalFormattingKeyTip","ConditionalFormattingHighlightCellRules","ConditionalFormattingHighlightCellRulesKeyTip","ConditionalFormattingTopBottomRules","ConditionalFormattingTopBottomRulesKeyTip","ConditionalFormattingDataBars","ConditionalFormattingDataBarsKeyTip","ConditionalFormattingColorScales","ConditionalFormattingColorScalesKeyTip","ConditionalFormattingIconSets","ConditionalFormattingIconSetsKeyTip","ConditionalFormattingClearRules","ConditionalFormattingClearRulesKeyTip","ConditionalFormattingManageRules","ConditionalFormattingManageRulesKeyTip","ConditionalFormattingNewRule","ConditionalFormattingNewRuleKeyTip","ConditionalFormattingHighlightCellGreaterThan","ConditionalFormattingHighlightCellGreaterThanKeyTip","ConditionalFormattingHighlightCellLessThan","ConditionalFormattingHighlightCellLessThanKeyTip","ConditionalFormattingHighlightCellBetween","ConditionalFormattingHighlightCellBetweenKeyTip","ConditionalFormattingHighlightCellEqualTo","ConditionalFormattingHighlightCellEqualToKeyTip","ConditionalFormattingHighlightCellTextContains","ConditionalFormattingHighlightCellTextContainsKeyTip","ConditionalFormattingHighlightCellDateOccuring","ConditionalFormattingHighlightCellDateOccuringKeyTip","ConditionalFormattingHighlightCellDuplicateValue","ConditionalFormattingHighlightCellDuplicateValueKeyTip","ConditionalFormattingTopBottomTop10Items","ConditionalFormattingTopBottomTop10ItemsKeyTip","ConditionalFormattingTopBottomTop10Percent","ConditionalFormattingTopBottomTop10PercentKeyTip","ConditionalFormattingTopBottomBottom10Items","ConditionalFormattingTopBottomBottom10ItemsKeyTip","ConditionalFormattingTopBottomBottom10Percent","ConditionalFormattingTopBottomBottom10PercentKeyTip","ConditionalFormattingTopBottomAboveAverge","ConditionalFormattingTopBottomAboveAvergeKeyTip","ConditionalFormattingTopBottomBelowAverage","ConditionalFormattingDataBarsBlueDataBar","ConditionalFormattingDataBarsGreenDataBar","ConditionalFormattingDataBarsRedDataBar","ConditionalFormattingDataBarsOrangeDataBar","ConditionalFormattingDataBarsLightBlueDataBar","ConditionalFormattingDataBarsPurpleDataBar","ConditionalFormattingColorScalesGYR","ConditionalFormattingColorScalesRYG","ConditionalFormattingColorScalesGWR","ConditionalFormattingColorScalesRWG","ConditionalFormattingColorScalesBWR","ConditionalFormattingColorScalesRWB","ConditionalFormattingColorScalesWR","ConditionalFormattingColorScalesRW","ConditionalFormattingColorScalesGW","ConditionalFormattingColorScalesWG","ConditionalFormattingColorScalesGY","ConditionalFormattingColorScalesYG","ConditionalFormattingIconSets3Arrow","ConditionalFormattingIconSets3ArrowGray","ConditionalFormattingIconSets3Triangles","ConditionalFormattingIconSets4ArrowGray","ConditionalFormattingIconSets4Arrow","ConditionalFormattingIconSets5ArrowGray","ConditionalFormattingIconSets5Arrow","ConditionalFormattingIconSets3TrafficUnrimmed","ConditionalFormattingIconSets3TrafficRimmed","ConditionalFormattingIconSets3Signs","ConditionalFormattingIconSets4Traffic","ConditionalFormattingIconSetsRedToBlack","ConditionalFormattingIconSets3SymbolsCircled","ConditionalFormattingIconSets3SymbolsUncircled","ConditionalFormattingIconSets3Flags","ConditionalFormattingIconSets3Stars","ConditionalFormattingIconSets4Ratings","ConditionalFormattingIconSets5Quarters","ConditionalFormattingIconSets5Ratings","ConditionalFormattingIconSets5Boxes","ConditionalFormattingTopBottomBelowAverageKeyTip","ConditionalFormattingClearRulesSelectedCells","ConditionalFormattingClearRulesSelectedCellsKeyTip","ConditionalFormattingClearRulesEntireSheet","ConditionalFormattingClearRulesEntireSheetKeyTip","ConditionalFormattingEmptyPane","ConditionalFormattingEmptyPaneV2Header","ConditionalFormattingEmptyPaneV2Label","ConditionalFormattingEmptyPaneV2LearnMore","ConditionalFormattingTopBottomRuleComboboxPercent","ConditionalFormattingTopBottomRuleComboboxValues","ConditionalFormattingLoadingRule","ConditionalFormattingFilterMenuPrefix","ConditionalFormattingFilterMenuSheet","ConditionalFormattingFilterMenuSelection","ConditionalFormattingCustomStylePreviewSampleText","ConditionalFormattingCustomStylePreviewSampleTextSmall","ConditionalFormattingRuleAppliesToRange","ConditionalFormattingRuleAppliesToRangeHasStopIfTrue","ConditionalFormattingStopIfTrueText","ConditionalFormattingStopIfTrueTooltipContent","ConditionalFormattingRuleManagerStopIfTrueTooltipContent","ConditionalFormattingStopIfTrueInfoRole","ConditionalFormattingRuleHasTwoOptions","ConditionalFormattingRuleHasMultipleOptions","ConditionalFormattingCanReorderRules","ConditionalFormattingReorderRulesCompleted","ConditionalFormattingRuleEdit","ConditionalFormattingRuleDelete","ConditionalFormattingRuleDeleted","ConditionalFormattingRuleDuplicate","ConditionalFormattingRuleDuplicated","ConditionalFormattingTooManyRulesErrorTitle","ConditionalFormattingTooManyRulesErrorMessage","ConditionalFormattingCantDisplayRulesErrorTitle","ConditionalFormattingProtecedSheetRuleManagerErrorMessage","ConditionalFormattingChartSheetRuleManagerErrorMessage","ConditionalFormattingProtecedSheetRangePickerErrorMessage","ConditionalFormattingChartSheetRangePickerErrorMessage","ConditionalFormattingInfoURLText","ConditionalFormattingCustomFormatText","ConditionalFormattingRuleEditorCustomFormatBackButton","ConditionalFormattingFormatStyleText","ConditionalFormattingQuickFormatRedFillRedText","ConditionalFormattingQuickFormatYellowFillYellowText","ConditionalFormattingQuickFormatGreenFillGreenText","ConditionalFormattingQuickFormatRedFill","ConditionalFormattingQuickFormatRedText","ConditionalFormattingQuickFormatRedBorder","ConditionalFormatWithMenuPrefix","ConditionalFormattingDeleteAllRules","ConditionalFormattingDeleteAllRulesTooltip","ConditionalFormattingAllRulesDeleted","ConditionalFormattingNewRuleTooltip","ConditionalFormattingGoToManageRules","ConditionalFormattingRuleEditWindowDone","ConditionalFormattingRuleEditWindowCancel","ConditionalFormattingRuleEditWindowDoneActionMessage","ConditionalFormattingApplyToRange","ConditionalFormattingApplyTo","ConditionalFormattingRuleRangePickerPlaceholder","ConditionalFormattingFormulaPickerPlaceholder","ConditionalFormattingRangePickerPlaceholder","ConditionalFormattingStopIfTrue","ConditionalFormattingRuleTypeMenuPrefix","ConditionalFormattingValueDropdownType","ConditionalFormattingCriteriaDropdownType","ConditionalFormattingOperatorDropdownType","ConditionalFormattingDateDropdownType","ConditionalFormattingFormatDropdownType","ConditionalFormattingTextBoxName","ConditionalFormattingFormulaTextBox","ConditionalFormattingFormula1TextBox","ConditionalFormattingFormula2TextBox","ConditionalFormattingRuleTypeHighlightCellsWith","ConditionalFormattingHighlightWithCellValue","ConditionalFormattingHighlightCellValueGreaterThan","ConditionalFormattingHighlightCellValueGreaterThanOrEqualsTo","ConditionalFormattingHighlightCellValueLessThan","ConditionalFormattingHighlightCellValueLessThanOrEqualsTo","ConditionalFormattingHighlightCellValueBetween","ConditionalFormattingHighlightCellValueNotBetween","ConditionalFormattingHighlightCellValueBetweenAnd","ConditionalFormattingHighlightCellValueBetweenAndSymbol","ConditionalFormattingHighlightCellValueEqualTo","ConditionalFormattingHighlightCellValueNotEqualTo","ConditionalFormattingHighlightCellValueTextboxDescription","ConditionalFormattingHighlightCellValueTextboxOnError","ConditionalFormattingFormulaValueTextboxError","ConditionalFormattingFormulaRepresentingRangeError","ConditionalFormattingInvalidRangeError","ConditionalFormattingChangeRangeSheetNameError","ConditionalFormattingSheetDeletedError","ConditionalFormattingValueTooLongError","ConditionalFormattingHighlightTextThatContains","ConditionalFormattingHighlightSpecificText","ConditionalFormattingHighlightTextContaining","ConditionalFormattingHighlightTextNotContaining","ConditionalFormattingHighlightTextBeginningWith","ConditionalFormattingHighlightTextEndingWith","ConditionalFormattingHighlightDateOccurring","ConditionalFormattingHighlightDateYesterday","ConditionalFormattingHighlightDateToday","ConditionalFormattingHighlightDateTomorrow","ConditionalFormattingHighlightDateLast7Days","ConditionalFormattingHighlightDateLastWeek","ConditionalFormattingHighlightDateThisWeek","ConditionalFormattingHighlightDateNextWeek","ConditionalFormattingHighlightDateLastMonth","ConditionalFormattingHighlightDateThisMonth","ConditionalFormattingHighlightDateNextMonth","ConditionalFormattingHighlightDuplicateValues","ConditionalFormattingHighlightDuplicateValuesUnique","ConditionalFormattingHighlightBlanks","ConditionalFormattingHighlightNoBlanks","ConditionalFormattingHighlightErrors","ConditionalFormattingHighlightNoErrors","ConditionalFormattingRuleTypeTopBottom","ConditionalFormattingRuleTypeHighlightTopOrBottom","ConditionalFormattingTopBottomTop","ConditionalFormattingTopBottomBottom","ConditionalFormattingTopBottomValueTextboxOnError","ConditionalFormattingTopBottomPercent","ConditionalFormattingTopBottomAveragePrefix","ConditionalFormattingTopBottomAverageAbove","ConditionalFormattingTopBottomAverageBelow","ConditionalFormattingTopBottomEqualOrAboveAverage","ConditionalFormattingTopBottomEqualOrBelowAverage","ConditionalFormattingIncreaseSpinButton","ConditionalFormattingDecreaseSpinButton","ConditionalFormattingSpinButtonValueIncreased","ConditionalFormattingSpinButtonValueDecreased","ConditionalFormattingRuleTypeDataBars","ConditionalFormattingRuleTypeDataBarsBlue","ConditionalFormattingRuleTypeDataBarsGreen","ConditionalFormattingRuleTypeDataBarsRed","ConditionalFormattingRuleTypeDataBarsOrange","ConditionalFormattingRuleTypeDataBarsLightBlue","ConditionalFormattingRuleTypeDataBarsPurple","ConditionalFormattingRuleTypeColorScale","ConditionalFormattingRuleTypeColorScaleGreenYellowRed","ConditionalFormattingRuleTypeColorScaleRedYellowGreen","ConditionalFormattingRuleTypeColorScaleGreenWhiteRed","ConditionalFormattingRuleTypeColorScaleRedWhiteGreen","ConditionalFormattingRuleTypeColorScaleBlueWhiteRed","ConditionalFormattingRuleTypeColorScaleRedWhiteBlue","ConditionalFormattingRuleTypeColorScaleRedWhite","ConditionalFormattingRuleTypeColorScaleWhiteRed","ConditionalFormattingRuleTypeColorScaleGreenWhite","ConditionalFormattingRuleTypeColorScaleWhiteGreen","ConditionalFormattingRuleTypeColorScaleGreenYellow","ConditionalFormattingRuleTypeColorScaleYellowGreen","ConditionalFormattingRuleTypeIconSets","ConditionalFormattingRuleTypeFormula","ConditionalFormattingFormatFormulaTrue","ConditionalFormattingFormatFormulaRuleTypeLabel","ConditionalFormattingBeforeYouGoDialogTitle","ConditionalFormattingBeforeYouGoDialogMessage","ConditionalFormattingBeforeYouGoDialogApplyChanges","ConditionalFormattingBeforeYouGoDialogDiscardChanges","ConditionalFormattingEditingRuleNotSupportedTooltipContent","ConditionalFormattingRuleEditorLearnMore","ConditionalFormattingInfoTextHighlightCells","ConditionalFormattingInfoTextTopBottom","ConditionalFormattingInfoTextDataBars","ConditionalFormattingInfoTextColorScale","ConditionalFormattingInfoTextIconSets","ConditionalFormattingInfoFormula","ConditionalFormattingImproveButtonLabel","ConditionalFormattingImproveButtonLabelV2","CleanData","CleanDataKeyTip","CleanDataNewKeyTip","CellPickingTooltipContent","RangePickerApplyChanges","RangePickerDiscardChanges","RangePickerApplyChangesExecutedMessage","RangePickerApplyChangesToArgumentExecutedMessage","RangePickerDiscardChangesExecutedMessage","AutoSum","AutoSumKeyTip","SortAndFilter","FilterSearch","FilterByValue","Apply","SortFilterApplyForEveryone","SortFilterApplyForEveryoneTitle","SortFilterApplyForEveryoneAriaLabel","SelectAll","SelectAllSearchResults","ManualFilter","AddCurrentSelection","NoMatches","NotAllItemsAreShowing","NotAllItemsAreShowingNoSearch","FilterByItem","NotAllItemsShown","TypeWordsToSearchFilterItems","TypeWordsToSearchFilterItemsInPivotFilter","SortAndFilterKeyTip","SearchResultAnnounced","NotAllItemsShownAlertDismiss","FormatAsTableAlt","FormatAsTableKeyTip","CharacterLabelLineBreak","CharacterLabelPeriod","CharacterLabelSpace","CharacterLabelUnderscore","CharacterLabelComma","CharacterLabelSlash","CharacterLabelBackslash","CharacterLabelColon","CharacterLabelSemicolon","CharacterLabelDash","CharacterLabelDollarSign","CharacterLabelNothing","ExcelIntelligenceTitle","ExcelIntelligenceBody","Find","FindKeyTip","AddFunction","AddFunctionKeyTip","InsertTable","InsertTableKeyTip","CreateSampleTableMenu","CreateSampleTableMenuKeyTip","CreateSampleTableBlank","CreateSampleTableBlankKeyTip","CreateSampleTableContact","CreateSampleTableContactKeyTip","CreateSampleTableToDo","CreateSampleTableToDoKeyTip","InsertPivotTable","PivotTableName","PivotTableNameKeyTip","InsertPivotTableKeyTip","InsertPivotTableFromTable","InsertPivotTableFromTableKeyTip","InsertPivotTableFromPowerBI","InsertPivotTableFromPowerBIKeyTip","InsertPicture","InsertPictureKeyTip","InsertPicturesFlyout","InsertPictureMenuTitle","InsertPictureFromDevice","InsertPictureFromDeviceTooltip","InsertPictureFromDeviceKeyTip","InsertPictureFromStockImages","InsertPictureFromStockImagesTooltip","InsertPictureFromStockImagesKeyTip","InsertPictureFromBing","InsertPictureFromBingTooltip","InsertPictureFromWeb","InsertPictureFromBingKeyTip","Shapes","ShapesKeyTip","FormatPictureTabTitle","FormatPictureTabKeyTip","Link","LinkKeyTip","TextBoxKeyTip","Addins","Addins1","Addins2","AddinsKeyTip","ButtonAddinsHomeEntryKeytip","FileGetAddinsButton","FileGetAddinsButtonKeyTip","VisitAddinStore","VisitAddinStoreDescription","RefreshAll","MLRRefreshAll","RefreshAllKeyTip","RefreshSelected","MLRRefreshSelected","RefreshSelectedKeyTip","PivotRefreshDropdownKeytip","PivotRefreshAll","MLRPivotRefreshAll","PivotRefreshAllKeyTip","PivotRefreshSelected","MLRPivotRefreshSelected","PivotRefreshSelectedKeyTip","EditLinks","EditLinksKeyTip","Calculate","CalculateKeyTip","CalculateSheet","CalculateSheetKeyTip","CalculationOptionsKeyTip","ShowFormulas","ShowFormulasKeyTip","InsertFunction","InsertFunctionKeyTip","CommonlyUsedFns","CommonlyUsedFnsKeyTip","FinancialFns","FinancialFnsKeyTip","LogicalFns","LogicalFnsKeyTip","TextFns","TextFnsKeyTip","DateTimeFns","DateTimeFnsKeyTip","LookupReferenceFns","LookupReferenceFnsKeyTip","MathTrigFns","MathTrigFnsKeyTip","MoreFns","MoreFnsKeyTip","StatisticalFns","StatisticalFnsKeyTip","EngineeringFns","EngineeringFnsKeyTip","CubeFns","CubeFnsKeyTip","InformationFns","InformationFnsKeyTip","ResizeTable","ResizeTableKeyTip","ResizeTableDialogLabel","ResizeTableDialogDescription","SortAscending","SortAscendingKeyTip","SortDescending","SortDescendingKeyTip","FlashFill","FlashFillKeyTip","RemoveDuplicates","TextToColumns","TextToColumnsDelimiterTab","TextToColumnsDelimiterSemicolon","TextToColumnsDelimiterComma","TextToColumnsDelimiterSpace","TextToColumnsDelimiterCustom","TextToColumnsCustomDelimiterPlaceHolder","TextToColumnsKeyTip","TextToColumnsApply","TextToColumnsPreview","TextToColumnsSelectDelimiters","TextToColumnsPartialDataText","TextToColumnsDelimitersSelectedAriaLabel","TextToColumnsDelimitersUnSelectedAriaLabel","TableName","TableNameKeyTip","RemoveDuplicatesKeyTip","DataValidation","DataValidationKeyTip","CheckAccessibility","CheckAccessibilityKeyTip","NewComment","NewCommentKeyTip","NewThreadedCommentKeyTip","DeleteComment","DeleteCommentKeyTip","ShowComments","ShowCommentsKeyTip","ShowThreadedCommentsKeyTip","NotesGroup","NotesGroupKeyTip","NewNote","NewNoteKeyTip","EditNote","EditNoteKeyTip","DeleteNote","DeleteNoteKeyTip","PreviousNote","PreviousNoteKeyTip","NextNote","NextNoteKeyTip","ShowHideNote","ShowHideNoteKeyTip","ShowAllNotes","ShowAllNotesKeyTip","ConvertNote","ConvertNoteKeyTip","ConvertNotes","ConvertNotesKeyTip","ConvertNotesInNotesFlyoutKeyTip","ProtectionGroupTitle","PauseProtection","ResumeProtection","PauseResumeProtectionKeyTip","ManageProtection","ManageProtectionKeyTip","ReadingView","ReadingViewKeyTip","FreezeRows","FreezeRowsKeyTip","FreezeColumns","FreezeColumnsKeyTip","FreezePanes","FreezePanesAtSelection","FreezePanesKeyTip","FreezePanesTooltip","UnfreezePanes","UnfreezePanesKeyTip","FreezeTopRowOld","FreezeTopRow","FreezeTopRowKeyTip","FreezeFirstColumnOld","FreezeFirstColumn","FreezeFirstColumnKeyTip","ShowDataTypeIcons","ShowDataTypeIconsKeyTip","ShowHeadings","ShowHeadingsKeyTip","ShowGridlines","ShowGridlinesKeyTip","ShowFormulaBar","ShowFormulaBarKeyTip","FocusActiveCell","FocusActiveCellKeyTip","FocusActiveCellTooltip","FocusActiveCellFill","FocusActiveCellFillKeyTip","FocusActiveCellSplitButtonKeyTip","RightToLeft","RightToLeftKeyTip","ToggleRibbonControl","Clipboard","PasteFormulas","PasteFormulasKeyTip","PasteValues","PasteValuesKeyTip","PasteFormatting","PasteSpecialMenuItems","PasteFormattingKeyTip","PasteTranspose","PasteTransposeKeyTip","PasteLink","PasteLinkKeyTip","PastePictureInCell","PastePictureInCellKeyTip","PasteWithColumnWidths","PasteWithColumnWidthsKeyTip","PasteOptions","GalleryPasteValues","GalleryPasteFormulas","GalleryPasteTranspose","GalleryPasteLink","GalleryPasteFormatting","GalleryPastePictureInCell","GalleryPasteWithColumnWidths","FillColor","FillColorFullDesc","FillColorKeyTip","ColoredFillStyle0","ColoredFillStyle1","ColoredFillStyle2","ColoredFillStyle3","ColoredFillStyle4","ColoredFillStyle5","ColoredFillStyle6","BottomBorder","BottomBorderKeyTip","TopBorder","TopBorderKeyTip","LeftBorder","LeftBorderKeyTip","RightBorder","RightBorderKeyTip","NoBorder","NoBorderKeyTip","AllBorders","AllBordersKeyTip","OutsideBorders","OutsideBordersKeyTip","ThickOutsideBorders","ThickOutsideBordersKeyTip","BottomDoubleBorders","BottomDoubleBordersKeyTip","ThickBottomBorders","ThickBottomBordersKeyTip","TopAndBottomBorders","TopAndBottomBordersKeyTip","TopAndThickBottomBorders","TopAndThickBottomBordersKeyTip","TopAndDoubleBottomBorders","TopAndDoubleBottomBordersKeyTip","BorderColor","BorderColorKeyTip","GrowFontSize","GrowFontSizeKeyTip","ShrinkFontSize","ShrinkFontSizeKeyTip","IncreaseIndent","IncreaseIndentKeyTip","DecreaseIndent","DecreaseIndentKeyTip","Align","WorkbookStatisticsChartsLabel","WorkbookStatisticsCellsWithDataLabel","WorkbookStatisticsCommentsLabel","WorkbookStatisticsContinuousDataRangesLabel","WorkbookStatisticsCurrentSheetLabel","WorkbookStatisticsEndOfSheetLabel","WorkbookStatisticsExternalConnectionsLabel","WorkbookStatisticsFormulasLabel","WorkbookStatisticsImagesLabel","WorkbookStatisticsWorkbookLabel","WorkbookStatisticsNotesLabel","WorkbookStatisticsObjectsLabel","WorkbookStatisticsPivotTablesLabel","WorkbookStatisticsSheetsLabel","WorkbookStatisticsTablesLabel","Wrap","MLRWrap","WrapKeyTip","HorizontalAlignmentDropdownLabel","IndentLabel","VerticalAlignmentDropdownLabel","JustifyDistributedLabel","TextControlLabel","TextDirectionLabel","OrientationLabel","FlipVerticalLabel","HorizontalAlignmentOptionsGeneral","HorizontalAlignmentOptionsLeft","HorizontalAlignmentOptionsCenter","HorizontalAlignmentOptionsRight","HorizontalAlignmentOptionsFill","HorizontalAlignmentOptionsJustify","HorizontalAlignmentOptionsCenterAcrossSelection","HorizontalAlignmentOptionsDistributed","AlignmentContextTextDirection","AlignmentLeftToRightTextDirection","AlignmentRightToLeftTextDirection","VerticalAlignmentOptionsTop","VerticalAlignmentOptionsCenter","VerticalAlignmentOptionsBottom","VerticalAlignmentOptionsJustify","VerticalAlignmentOptionsDistributed","AlignmentTextControlWrapText","AlignmentTextControlShrinkToFit","AlignmentTextControlMergeCells","NumberFormatGeneral","NumberFormatNumber","NumberFormatCurrency","NumberFormatAccounting","NumberFormatAccountingKeyTip","NumberFormatAccountingCurrencySymbol","NumberFormatDateShort","NumberFormatDateLong","NumberFormatTime","NumberFormatComma","NumberFormatCommaKeyTip","NumberFormatPercentage","NumberFormatPercentageKeyTip","NumberFormatFraction","NumberFormatScientific","NumberFormatText","NumberFormatMore","NumberFormatLocaleLearnMore","NumberFormatLocaleInfo","NumberFormatLocaleInputCalendarLabel","NumberFormatLocale","NumberFormatLocaleCalendarType","NumberFormatLocaleGannen","NumberFormatLocaleApplyButtonText","NumberFormatLocaleApplyButtonToolTip","IncreaseDecimal","IncreaseDecimalKeyTip","DecreaseDecimal","DecreaseDecimalKeyTip","InsertCheckboxRibbon","InsertCheckboxRibbonKeyTip","InsertInCellDropdownRibbon","InsertInCellDropdownRibbonKeyTip","Format","FormatKeyTip","RowHeight","RowHeightKeyTip","RowHeightAutoFit","RowHeightAutoFitKeyTip","ColumnWidth","ColumnWidthKeyTip","ColumnWidthAutoFit","ColumnWidthAutoFitKeyTip","ColumnRowHideUnhide","ColumnRowHideUnhideKeyTip","RenameSheet","RenameSheetKeyTip","ReorderSheet","ReorderSheetKeyTip","DuplicateSheet","DuplicateSheetKeyTip","HideRows","HideRowsKeyTip","HideColumns","HideColumnsKeyTip","HideSheet","HideSheetKeyTip","HyperLinkDisplayTextLabel","HyperLinkMailPlaceHolder","HyperLinkMailRadioButtonLabel","HyperLinkRadioButtonDescription","HyperLinkRefPlaceHolder","HyperLinkRefRadioButtonLabel","HyperLinkUrlPlaceHolder","HyperLinkUrlRadioButtonLabel","UnhideRows","UnhideRowsKeyTip","UnhideColumns","UnhideColumnsKeyTip","UnhideSheet","UnhideSheetKeyTip","InsertCells","InsertCellsKeyTip","DeleteCells","DeleteCellsKeyTip","ClearCells","ClearCellsKeyTip","CreateTable","CreateTableKeyTip","ToggleHeaderRow","ToggleHeaderRowKeyTip","ToggleTotalRow","ToggleTotalRowKeyTip","InsertCopiedCells","InsertCopiedCellsKeyTip","InsertCopiedCutCellsLabel","InsertCopiedCutCellsLabelshiftCellsRight","InsertCopiedCutCellsLabelshiftCellsDown","InsertCopiedCutCellsLabelshiftCellsLeft","InsertRowsSheet","InsertRowsSheetKeyTip","InsertRowsSheetAbove","InsertColumnsSheet","InsertColumnsSheetKeyTip","InsertRowsTable","InsertRowsTableKeyTip","InsertColumnsTable","InsertColumnsTableKeyTip","InsertCellsShiftRight","InsertCellsShiftRightKeyTip","InsertCellsShiftDown","InsertCellsShiftDownKeyTip","InsertShapeArrow","InsertShapeAlternateProcess","InsertShapeArc","InsertShapeBasicShapesTitle","InsertShapeBentArrow","InsertShapeBentUpArrow","InsertShapeBevel","InsertShapeBlockArc","InsertShapeBlockArrowsTitle","InsertShapeCalloutsTitle","InsertShapeCan","InsertShapeCard","InsertShapeChevron","InsertShapeChord","InsertShapeCircularArrow","InsertShapeCloud","InsertShapeCloudCallout","InsertShapeCollate","InsertShapeCommonShapesTitle","InsertShapeConnector","InsertShapeCross","InsertShapeCube","InsertShapeCurvedArrowConnector","InsertShapeCurvedConnector","InsertShapeCurvedDoubleArrowConnector","InsertShapeCurvedDownArrow","InsertShapeCurvedDownRibbon","InsertShapeCurvedLeftArrow","InsertShapeCurvedRightArrow","InsertShapeCurvedUpArrow","InsertShapeCurvedUpRibbon","InsertShapeData","InsertShapeDecagon","InsertShapeDecision","InsertShapeDelay","InsertShapeDiagonalStripe","InsertShapeDiamond","InsertShapeDirectAccessStorage","InsertShapeDisplay","InsertShapeDocument","InsertShapeDodecagon","InsertShapeDonut","InsertShapeDoubleArrow","InsertShapeDoubleBrace","InsertShapeDoubleBracket","InsertShapeDoubleWave","InsertShapeDownArrow","InsertShapeDownArrowCallout","InsertShapeDownRibbon","InsertShapeElbowArrowConnector","InsertShapeElbowConnector","InsertShapeElbowDoubleArrowConnector","InsertShapeEllipse","InsertShapeEquationsTitle","InsertShapeExplosion1","InsertShapeExplosion2","InsertShapeExtract","InsertShapeFlowchartTitle","InsertShapeFoldedCorner","InsertShapeFrame","InsertShapeHalfFrame","InsertShapeHeart","InsertShapeHeptagon","InsertShapeHexagon","InsertShapeHorizontalScroll","InsertShapeIsoscelesTriangle","InsertShapeInternalStorage","InsertShapeLeftArrow","InsertShapeLeftArrowCallout","InsertShapeLeftBrace","InsertShapeLeftBracket","InsertShapeLeftRightArrow","InsertShapeLeftRightArrowCallout","InsertShapeLeftRightUpArrow","InsertShapeLeftUpArrow","InsertShapeLightningBolt","InsertShapeLine","InsertShapeLineCallout1","InsertShapeLineCallout1Accent","InsertShapeLineCallout1BorderAccent","InsertShapeLineCallout1NoBorder","InsertShapeLineCallout2","InsertShapeLineCallout2Accent","InsertShapeLineCallout2BorderAccent","InsertShapeLineCallout2NoBorder","InsertShapeLineCallout3","InsertShapeLineCallout3Accent","InsertShapeLineCallout3BorderAccent","InsertShapeLineCallout3NoBorder","InsertShapeLinesTitle","InsertShapeLShape","InsertShapeMagneticDisk","InsertShapeManualInput","InsertShapeManualOperation","InsertShapeMathDivide","InsertShapeMathEqual","InsertShapeMathMinus","InsertShapeMathMultiply","InsertShapeMathNotEqual","InsertShapeMathPlus","InsertShapeMerge","InsertShapeMoon","InsertShapeMultidocument","InsertShapeNoSymbol","InsertShapeNotchedRightArrow","InsertShapeOctagon","InsertShapeOffpageConnector","InsertShapeOr","InsertShapeOvalCallout","InsertShapeParallelogram","InsertShapePentagon","InsertShapePie","InsertShapePlaque","InsertShapePredefinedProcess","InsertShapePreparation","InsertShapeProcess","InsertShapePunchedTape","InsertShapeQuadArrow","InsertShapeQuadArrowCallout","InsertShapeRectangle","InsertShapeRectanglesTitle","InsertShapeRectangularCallout","InsertShapeRightArrow","InsertShapeRightArrowCallout","InsertShapeRightBrace","InsertShapeRightBracket","InsertShapeRightTriangle","InsertShapeRoundSingleCornerRectangle","InsertShapeRoundDiagonalCornerRectangle","InsertShapeRoundedRectangle","InsertShapeRoundedRectangleCallout","InsertShapeRoundSameSideCornerRectangle","InsertShapeSequentialActionStorage","InsertShapesGroupTitle","InsertShapeSmileyFace","InsertShapeSnipDiagonalCornerRectangle","InsertShapeSnipRoundSingleCornerRectangle","InsertShapeSnipSameSideCornerRectangle","InsertShapeSnipSingleCornerRectangle","InsertShapeSort","InsertShape4PointStar","InsertShape6PointStar","InsertShape7PointStar","InsertShape8PointStar","InsertShape10PointStar","InsertShape12PointStar","InsertShape16PointStar","InsertShape24PointStar","InsertShape32PointStar","InsertShapeStar5","InsertShapeStarsandBannersTitle","InsertShapeStoredData","InsertShapeStraightConnector","InsertShapeStraightConnectorArrow","InsertShapeStraightConnectorTwoArrow","InsertShapeStripedRightArrow","InsertShapeSummingJunction","InsertShapeSun","InsertShapeTeardrop","InsertShapeTerminator","InsertShapeTextBox","InsertShapeTextBoxKeytip","InsertShapeTrapezoid","InsertShapeTriangle","InsertShapeUpArrow","InsertShapeUpArrowCallout","InsertShapeUpDownArrow","InsertShapeUpRibbon","InsertShapeUTurnArrow","InsertShapeVerticalScroll","InsertShapeWave","InsertSheet","InsertSheetKeyTip","DeleteRowsSheet","DeleteRows","DeleteRowsSheetKeyTip","DeleteColumnsSheet","DeleteColumns","DeleteColumnsSheetKeyTip","DeleteRowsTable","DeleteRowsTableKeyTip","DeleteColumnsTable","DeleteColumnsTableKeyTip","DeleteCellsShiftLeft","DeleteCellsShiftLeftKeyTip","DeleteCellsShiftUp","DeleteCellsShiftUpKeyTip","DeleteSheet","DeleteSheetKeyTip","ClearAll","ClearAllKeyTip","ClearFormats","ClearFormatsKeyTip","ClearContent","ClearContentKeyTip","ClearComments","ClearCommentsKeyTip","ClearNotes","ClearNotesKeyTip","RemoveHyperLinks","RemoveHyperLinksKeyTip","AutoSumSum","AutoSumSumKeyTip","AutoSumAverage","AutoSumAverageKeyTip","AutoSumCount","AutoSumAdd","AutoSumAddKeyTip","AutoSumMinus","AutoSumMinusKeyTip","AutoSumMultiply","AutoSumMultiplyKeyTip","AutoSumDivide","AutoSumDivideKeyTip","AutoSumCountKeyTip","AutoSumMax","AutoSumMaxKeyTip","AutoSumMin","AutoSumMinKeyTip","AutoSumMore","AutoSumMoreKeyTip","CustomSort","CustomSortKeyTip","AutoFilterToggle","AutoFilterToggleKeyTip","AutoFilterClear","AutoFilterClearKeyTip","AutoFilterReapply","AutoFilterReapplyKeyTip","ShowDatePicker","ShowDatePickerMac","FocusDatePicker","LoadBlockEmptyTextboxes","LoadBlockEmptyTextboxesDescription","LoadBlockInvalidImages","LoadBlockInvalidImagesDescription","LoadBlockInvalidShapes","LoadBlockInvalidShapesDescription","LoadBlockingFloatingObjectsDirective","LoadBlockingFloatingObjectsLearnMore","GiveFeedBackButtonText","LoadBlockingFloatingObjectsRemoveButtonText","LoadBlockingFloatingObjectsSkipButtonText","LoadBlockingFloatingObjectsSkipTooltipText","FindAndSelect","FindAndSelectKeyTip","FindAndReplace","FindAndReplaceKeyTip","FindAndReplaceDialogInserTextPlaceHolder","FindAndReplaceDialogFindLabel","FindAndReplaceDialogReplaceLabel","FindAndReplaceDialogMatchCaseCheckBox","FindAndReplaceDialogMatchContent","FindAndReplaceDialogSearchOptionsLabel","FindAndReplaceDialogWithinDropDown","FindAndReplaceDialogDirectionDropDown","FindAndReplaceDialogSelectionLabel","FindAndReplaceDialogSheetLabel","FindAndReplaceDialogWorkbookLabel","FindAndReplaceDialogUpLabel","FindAndReplaceDialogDownLabel","FindAndReplaceDialogFindAllResultTitleCell","FindAndReplaceDialogFindAllResultTitleValue","FindAndReplaceDialogNoOccurrencesFound","FindAndReplaceDialogFindInvalidFindContent","FindAndReplaceDialogFindWildcardsExampleText","FindAndReplaceDialogWildcardLink","FindAndReplaceDialogWildcardLinkDescription","FindAndReplaceFindHeaderLabel","FindAndReplaceReplaceAllSuccessCount","GoTo","GoToKeyTip","MsForms","MsFormInsert","MsFormInsertKeyTip","MsFormPreview","MsFormPreviewKeyTip","MsFormEdit","MsFormEditKeyTip","MsFormSend","MsFormSendKeyTip","MsFormDelete","PreviousComment","PreviousCommentKeyTip","NextComment","NextCommentKeyTip","OverflowWell0Keytip","OverflowWell1Keytip","OverflowWell2Keytip","OverflowWell3Keytip","OverflowWell4Keytip","OverflowWell5Keytip","OverflowWell6Keytip","OverflowWell7Keytip","OverflowWell8Keytip","OverflowWellLabel","Borders","BordersKeyTip","TextAlignment","Indent","MergeUnmerge","CellSize","OrganizeSheets","Visibility","InsertPictures","InsertFilters","FreezePortionOfSheet","GradientFill","SolidFill","IconSetsDirectional","IconSetsShapes","IconSetsIndicators","IconSetsRatings","EditInExcel","OpenInDesktop","OpenInApp","OpenFilesFromDevice","OpenFilesFromDeviceDescription","DocChatLabel","ShapeShapes","ShapeLines","ShapeRectangles","ShapeBasicShapes","ShapeBlockArrows","ShapeEquationShapes","ShapeFlowchart","ShapeStarsBanners","ShapeCallouts","InsertChart","InsertChartKeyTip","ChangeChartType","ChangeChartTypeKeyTip","ChartTypeColumn","ChartTypeLine","ChartTypePie","ChartTypeBar","ChartTypeBarKeyTip","ChartTypeArea","ChartTypeAreaKeyTip","ChartTypeHierarchical","ChartTypeScatter","ChartTypeScatterKeyTip","ChartTypeCombo","ChartTypeComboKeyTip","ChartTypeStatistical","ChartTypeStatisticalKeyTip","ChartTypeOther","ChartTypeOtherKeyTip","ChartTypeClusteredColumnToolTip","ChartTypeStackedColumnToolTip","ChartTypePercentStackedColumnToolTip","ChartTypeLineToolTip","ChartTypeStackedLineToolTip","ChartTypePercentStackedlineToolTip","ChartTypeLinewithmarkersToolTip","ChartTypeStackedlinewithmarkersToolTip","ChartTypePercentStackedlinewithmarkersToolTip","ChartTypePieToolTip","ChartTypeDoughnutToolTip","ChartTypeClusteredBarToolTip","ChartTypeStackedBarToolTip","ChartTypePercentStackedBarToolTip","ChartTypeAreaToolTip","ChartTypeStackedAreaToolTip","ChartTypePercentStackedAreaToolTip","ChartTypeScatterToolTip","ChartTypeScatterwithsmoothedLinesToolTip","ChartTypeScatterwithsmoothedLineswithoutmarkersToolTip","ChartTypeScatterwithlinesToolTip","ChartTypeScatterwithlineswithoutmarkersToolTip","ChartTypeWaterfallToolTip","ChartTypeFunnelToolTip","ChartTypeTreemapToolTip","ChartTypeSunburstToolTip","ChartTypeHistogramToolTip","ChartTypeParetoToolTip","ChartTypeBoxAndWhiskerToolTip","ChartTypeRadarToolTip","ChartTypeRadarwithmarkersateachdatapointToolTip","ChartTypeFilledRadarToolTip","ChartTypeComboColumnClusteredLine","ChartTypeComboColumnClusteredLineSecondaryAxis","ChartTypeComboAreaStackedColumnClustered","ChartEditData","ChartEditDataNew","ChartEditDataKeyTip","ChartSwitchRowColumn","ChartSwitchRowColumnKeyTip","ChartTitle","ChartTitleKeyTip","ChartNone","ChartNoneKeyTip","ChartTitleOverlay","ChartTitleOverlayKeyTip","ChartTitleCentered","ChartTitleCenteredKeyTip","ChartTitleEdit","ChartTitleEditKeyTip","ChartTitleNoneDescription","ChartTitleOverlayDescription","ChartTitleCenteredDescription","ChartTitleEditDescription","ChartAxisTitle","ChartAxisTitleKeyTip","ChartLegend","ChartLegendKeyTip","ChartDataLabels","ChartDataLabelsKeyTip","ChartDataTable","ChartDataTableKeyTip","ChartAxes","ChartAxesKeyTip","ChartGridlines","ChartGridlinesKeyTip","ChartAxisTitleHorizontal","ChartAxisTitleHorizontalKeyTip","ChartAxisTitleVertical","ChartAxisTitleVerticalKeyTip","ChartAxisTitleHorizontalBelow","ChartAxisTitleHorizontalBelowKeyTip","ChartAxisTitleHorizontalEdit","ChartAxisTitleHorizontalEditKeyTip","ChartAxisTitleHorizontalNoneDescription","ChartAxisTitleHorizontalBelowDescription","ChartAxisTitleHorizontalEditDescription","ChartAxisTitleVerticalRotated","ChartAxisTitleVerticalRotatedKeyTip","ChartAxisTitleVerticalVertical","ChartAxisTitleVerticalVerticalKeyTip","ChartAxisTitleVerticalHorizontal","ChartAxisTitleVerticalHorizontalKeyTip","ChartAxisTitleVerticalEdit","ChartAxisTitleVerticalEditKeyTip","ChartAxisTitleVerticalNoneDescription","ChartAxisTitleVerticalRotatedDescription","ChartAxisTitleVerticalVerticalDescription","ChartAxisTitleVerticalHorizontalDescription","ChartAxisTitleVerticalEditDescription","ChartAxisLegendRight","ChartAxisLegendRightKeyTip","ChartAxisLegendTop","ChartAxisLegendTopKeyTip","ChartAxisLegendLeft","ChartAxisLegendLeftKeyTip","ChartAxisLegendBottom","ChartAxisLegendBottomKeyTip","ChartAxisLegendOverlayLeft","ChartAxisLegendOverlayLeftKeyTip","ChartAxisLegendOverlayRight","ChartAxisLegendOverlayRightKeyTip","ChartAxisLegendNoneDescription","ChartAxisLegendRightDescription","ChartAxisLegendTopDescription","ChartAxisLegendLeftDescription","ChartAxisLegendBottomDescription","ChartAxisLegendOverlayLeftDescription","ChartAxisLegendOverlayRightDescription","ChartDataTableShow","ChartDataTableShowKeyTip","ChartDataTableShowWithLegend","ChartDataTableShowWithLegendKeyTip","ChartDataTableNoneDescription","ChartDataTableShowDescription","ChartDataTableShowWithLegendDescription","ChartTaskpaneFormat","ChartTaskpaneFormatKeyTip","CoauthorGalleryGroupChat","CoauthorGalleryGroupChatKeytip","CoauthorGalleryKeytip","CoauthorGalleryOverflowTitle","CoauthorGalleryTooltip","TableTabTitle","TableTabKeyTip","TablePropertiesGroupTitle","TableToolsGroupTitle","ExternalTableDataGroupTitle","TableStyleOptionsGroupTitle","TableStylesGroupTitle","TableToolsGroupOverflowLabel","TableStyleOptions","HeaderRow","HeaderRowKeyTip","TotalRow","TotalRowKeyTip","FirstColumn","FirstColumnKeyTip","LastColumn","_LastColumnKeyTip","BandedRows","BandedRowsKeyTip","BandedColumns","BandedColumnsKeyTip","FilterButton","FilterButtonKeyTip","Survey","SurveyKeyTip","ShapeStyleFill","ShapeStyleFillKeyTip","ShapeStyleOutline","ShapeStyleOutlineKeyTip","PeopleWellFlyoutLabel","PeripheralCommentsButton","PeripheralCommentsToolTip","CopilotPrepareDataForAnalysisPrompt","CopilotShowDataInsightsPrompt","CopilotSuggestFormulaColumnPrompt","CopilotRepairFormulaMenu","CopilotRepairPoundFormulaPrompt","CopilotRepairSyntaxFormulaPrompt","CopilotRepairErrorCard","CopilotExplainFormulaPrompt","TellMeCopilotLabel","TellMePlaceholder","TellMeShortPlaceholder","TellMeSearchPlaceholder","TellMeSearchPlaceholderOnMac","TellMeLongPlaceholder","TellMeLongPlaceholderOnMac","TellMeSearchUnifiedAppPlaceholderExcel","TellMeActivationPlaceholder","TellMeDeactivationPlaceholder","ChangeShape","ChangeShapeKeyTip","ApplyShapeStyles","ApplyShapeStylesShort","ApplyShapeStylesKeyTip","LinkedEntity","LinkedEntityStock","LinkedEntityStockDescription","LinkedEntityGeography","LinkedEntityGeographyDescription","Share","Export","ShareTooltip","FontSize8","FontSize9","FontSize10","FontSize11","FontSize12","FontSize14","FontSize16","FontSize18","FontSize20","FontSize24","FontSize26","FontSize28","FontSize36","FontSize48","FontSize72","Ideas","AnalyzeData","AnalyzeDataKeyTip","DataAnalysis","DataIdeas","Analysis","IdeasKeyTip","Copilot","CopilotKeyTip","New","NewWindow","NewWindowKeyTip","SaveAs","SaveACopy","SaveAsToSharePointDescription","RibbonToggle","RibbonToggleKeytip","RenameButtonTitle","DownloadACopy","DownloadAsODS","DownloadAsPDF","DownloadAsPDFDescription","DownloadAsCSV","DownloadAsCSVDescription","DownloadAsCSVUTF8","DownloadAsCSVUTF8Description","PageSetup","PageBreak","InsertPageBreak","RemovePageBreak","ResetAllPageBreaks","Print","PrintArea","SetPrintArea","ClearPrintArea","AddToPrintArea","Privacy","VersionHistory","TrustCenter","TrustCenterDescription","TellMeUpsellSpellCheck","TellMeUpsellMacros","TellMeUpsellHeaderFooter","TellMeOpenInExcel","TellMeOpenInDesktopDescription","TellMeUpsellDesktopTitle","TellMeUpsellDesktopDescription","TellMeSuggestedQuery1","TellMeSuggestedQuery2","TellMeSuggestedQuery3","TellMeSuggestedQuery4","TellMeSuggestedQuery5","TellMeGetHelpLabel","TellMeSmartLookupLabel","TemplateSectionErrorMessage","TemplateMoreLink","SearchHelp","SearchHelpKeyTip","HelpResources","Tutorials","TutorialsKeyTip","FunctionList","SmartLookup","SmartLookupKeyTip","ContactSupport","ContactSupportKeyTip","GiveFeedback","GiveFeedbackKeyTip","Training","TrainingKeyTip","WhatsNew","WhatsNewKeyTip","LinkedEntityDataTypesKeyTip","TabFileKeytip","HomeTabKeytip","ShareTabKeytip","InsertTabKeytip","DataTabKeytip","ReviewTabKeytip","ViewTabKeytip","HelpTabKeytip","DrawingTabKeytip","ChartTabKeytip","TellMeKeytip","EditInExcelKeytip","PageLayoutTabKeytip","DeveloperTabKeytip","AddInsTabKeytip","FormulasTabKeytip","InfoKeytip","InfoEditInExcelKeytip","InfoSetReadOnlyRecommendedKeytip","InfoPreviousVersionsKeytip","PreviousVersions","NewKeytip","OpenKeytip","SaveAsKeytip","SaveAsWhereIsSaveButtonKeytip","SaveAsSaveAsKeytip","SaveAsToOneDriveKeytip","SaveAsToSharePointKeytip","SaveAsRenameFileDialogKeytip","SaveAsDownloadCopyKeytip","SaveAsDownloadAsOdsKeytip","PageSetupKeytip","PageBreakKeyTip","InsertPageBreakKeyTip","RemovePageBreakKeyTip","ResetAllPageBreaksKeyTip","PrintKeytip","PrintAreaKeyTip","SetPrintAreaKeyTip","ClearPrintAreaKeyTip","AddToPrintAreaKeyTip","ShareKeytip","ExportKeytip","ShareWithPeopleKeytip","SaveAsShareKeytip","SaveAsCopyLinkKeytip","ShareCopyLinkKeytip","ShareEmbedKeytip","DownloadPdfKeytip","DownloadAsCSVKeytip","DownloadAsCSVUTF8Keytip","ShareReplyWithChangesKeytip","AboutKeytip","AboutTryMicrosoftOfficeKeytip","AboutTermsOfUseForMacKeytip","AboutTermsOfUseKeytip","AboutThirdPartyNoticesKeytip","AboutPrivacyAndCookiesKeytip","AboutPrivacySettingsKeytip","OptionsKeytip","ChangeLocaleKeytip","FileSaveAsKeytip","FileShareKeytip","HelpKeytip","HelpHelpKeytip","HelpAccessibilityHelpKeytip","HelpGiveFeedbackKeytip","HelpReportAbuseKeytip","ExitKeytip","KeytipStartSequence","KeytipStartKeyMac","KeytipStartKeyWindows","UserInterfaceFontName","UserInterfaceFontSize","GroupCells","GroupCellsKeyTip","UngroupCells","UngroupCellsKeyTip","OutlineGroupTitle","GroupCellsRows","GroupCellsColumns","GroupOrUngroupCellsDialogRows","GroupOrUngroupCellsDialogColumns","GoToLocation","GoToLocationKeytip","UngroupCellsRows","UngroupCellsColumns","GroupUngroupCellsRowsKeyTip","GroupUngroupCellsColumnsKeyTip","CatchUpActivity","CatchUpActivityKeytip","CommentsKeytip","SharePeripheralKeytip","BorderLineStyle","BorderLineStyleKeyTip","BorderStyleSolidLineDescription","BorderStyleDashedLineDescription","BorderStyleDottedLineDescription","BorderStyleMediumLineDescription","BorderStyleThickLineDescription","BorderStyleDoubleLineDescription","SheetViewNewString","SheetViewName","SheetViewExitButton","SheetViewExitButtonMLR","SheetViewOptionsButton","SheetViewEntryCalloutTitle","SheetViewEntryCalloutDescription","SheetViewEntryCalloutButtonLabel","SheetViewSavedCalloutTitle","SheetViewSavedCalloutDescription","ConvertToRange","ConvertToRangeKeyTip","Conversation","OpenInBrowser","Close","CloseKeytip","Download","NamedSheetViewNewAltText","NamedSheetViewExitAltText","NamedSheetView","InsideBorders","InsideHorizontalBorder","InsideVerticalBorder","InsideBordersKeyTip","InsideHorizontalBorderKeyTip","InsideVerticalBorderKeyTip","CalculationOptions","ManualCalc","ManualCalcKeyTip","AutomaticCalc","AutomaticCalcKeyTip","SemiautomaticCalc","SemiautomaticCalcKeyTip","PartialCalc","PartialCalcKeyTip","KeyboardShortcutsDialogSearchBoxPlaceholder","KeyboardShortcutsDialogDropdownPlaceholder","KeyboardShortcutsDialogAllshortcutsSection","KeyboardShortcutsDialogShortcutColumnHeader","KeyboardShortcutsDialogDescriptionColumnHeader","NamedSheetViewOptions","NamedSheetViewSelectAltText","StyleOptions","StyleOptionsKeyTip","Sensitivity","SensitivityKeytip","NamedSheetViewControlKeytip","NamedSheetViewOptionsKeyTip","NamedSheetViewNewKeytip","NamedSheetViewCloseKeytip","KeyboardShortcutsDialogButtonLabel","ResetShortcutPreferencesButtonLabel","ResetShortcutPreferencesKeyTip","SpellCheckAriaOriginalSentenceText","SpellCheckAriaReadOnlyText","SpellCheckAriaSpellingErrorText","SpellCheckGroupTitle","SpellCheck","SpellCheckKeyTip","SpellCheckChangeAllButtonText","SpellCheckCheckAgainText","SpellCheckCheckOtherSheetsButtonText","SpellCheckCompleteOnRangeText","SpellCheckCompleteText","SpellCheckContinueButtonText","SpellCheckDeleteRepeatedWordButtonText","SpellCheckDictionaryLanguageText","SpellCheckErrorText","SpellCheckIgnoreAllButtonText","SpellCheckIgnoreButtonText","SpellCheckLanguageErrorText","SpellCheckLanguageListPlaceHolder","SpellCheckNoSuggestionFoundText","SpellCheckNoSuggestionsTitle","SpellCheckNoSuggestionText","SpellCheckNotInDictionaryText","SpellCheckPaneHeaderTitle","SpellCheckPreviousChangeInfoText","SpellCheckReadAloudButtonText","SpellCheckReCheckButtonText","SpellCheckReCheckText","SpellCheckRepeatedWordText","SpellCheckResumeButtonText","SpellCheckResumeText","SpellCheckSpellOutButtonText","SpellCheckSpinnerText","SpellCheckSuggestionsTitle","SpellCheckSwitchWorkSheetErrorText","SpellCheckSwitchWorkSheetText","SpellCheckTryAgainButtonText","SpellCheckWorkbookContentChangedText","SpellCheckAllSpellingPerfect","SpellCheckChangeinWorkBook","ShowChangesGroupTitle","ShowChanges","ShowChangesKeyTip","ShowChangesCardRole","ShowChangesButtonSeeChanges","ShowChangesCardStateExpanded","ShowChangesButtonHideChanges","ShowChangesCardStateCollapsed","ShowChangesResponseSuccessEndOfLog","ShowChangesResponseSuccessJustNow","ShowChangesResponseSuccessEmptyPaneTitle","ShowChangesResponseSuccessEmptyPaneBody","ShowChangesMissingOldValue","ShowChangesBulkEditOverflow","ShowChangesResponseLearnMore","ShowChangesVersionHistoryButtonText","ShowChangesEndOfChangesText","ShowChangesLoadMoreButtonText","ShowChangesLoadPreviousButtonText","ShowChangesSeeNewChangesButtonText","ShowChangesLoadingSpinnerText","ShowChangesFilterTooltip","ShowChangesInvalidRangeText","ShowChangesFilterInputPlaceholderText","ShowChangesDefaultFilter","ShowChangesFilterByRange","ShowChangesFilterBySheet","ShowChangesFilterByDateTime","ShowChangesFilterByDateTimePlaceHolderText","ShowChangesFilterByDateTimeLast24HoursOption","ShowChangesFilterByDateTimeLastWeekOption","ShowChangesFilterByDateTimeLast24Hours","ShowChangesFilterByDateTimeLastWeek","ShowChangesFilterByDateTimeLast30Days","ShowChangesFilterByDateTimeLast90Days","ShowChangesFilterByDateTimeLast180Days","ShowChangesClearFilter","ShowChangesFilterCommit","ShowChangesActivityList","ShowChangesActivityTypeEdit","ShowChangesActivityTypeMove","ShowChangesActivityTypeRenameSheet","ShowChangesActivityTypeInsertSheet","ShowChangesActivityTypeDeleteSheet","ShowChangesActivityTypeMergeCells","ShowChangesActivityTypeUnmergeCells","ShowChangesActivityTypeSort","ShowChangesActivityTypeFullRowInsert","ShowChangesActivityTypeFullColInsert","ShowChangesActivityTypeFullRowDelete","ShowChangesActivityTypeFullColDelete","ShowChangesActivityTypePartialRowInsert","ShowChangesActivityTypePartialColInsert","ShowChangesActivityTypePartialColInsertRTL","ShowChangesActivityTypePartialRowDelete","ShowChangesActivityTypePartialColDelete","ShowChangesActivityTypePartialColDeleteRTL","ShowChangesDegradedCardIconWarning","ShowChangesDegradedCardInfo","ShowChangesDegradedCardRejectedIconWarning","ShowChangesDegradedCardRejectedInfo","ShowChangesDegradedCardLearnMore","ShowChangesClearHistory","ShowChangesClearHistoryDescription","ShowChangesClearHistoryKeytip","ShowChangesClearHistoryEndOfChangeDescription","ShowChangesHighlightDiffButton","ShowChangesInGridHighlight","ShowChangesInGridHighlightOnTooltip","ShowChangesInGridHighlightOffTooltip","ShowChangesInGridHighlightDisabledTooltip","ExternalLinksAutomaticRefreshCheckBoxLabel","ExternalLinksAutomaticRefreshToolTip","ExternalLinksRecentlyEditedToolTip","ExternalLinksAutomaticRefreshText","ExternalLinksBreakAllLinksLabel","ExternalLinksNewBreakAllLinksLabel","ExternalLinksLinksTabHeader","ExternalLinksSettingsTabHeader","ExternalLinksAlwaysTrustToggleLabel","ExternalLinksRefreshPreferenceLabel","ExternalLinksAutoRefreshToggleLabel","ExternalLinksAutoRefreshToggleTooltip","ExternalLinksRefreshPreferenceAlwaysLabel","ExternalLinksRefreshPreferenceAlwaysLabelV2","ExternalLinksRefreshPreferenceAskLabel","ExternalLinksRefreshPreferenceNeverLabel","ExternalLinksAlwaysTrustToggleDescription","ExternalLinksBreakLinksLabel","ExternalLinksChangeSourceDialogBrowseButtonLabel","ExternalLinksChangeSourceDialogEmptyListText","ExternalLinksChangeSourceDialogEmptyMruText","ExternalLinksChangeSourceDialogNameColumnHeader","ExternalLinksChangeSourceDialogRecentButtonLabel","ExternalLinksChangeSourceDialogSelectButtonLabel","ExternalLinksChangeSourceDialogSuggestedButtonLabel","ExternalLinksEditSourceLabel","ExternalLinksChangeSourceLabel","ExternalLinksFindNextLinkLabel","ExternalLinksLinksText","ExternalLinksMoreOptionsButtonText","ExternalLinksAllLinksMoreOptionsButtonText","ExternalLinksSingleLinkMoreOptionsButtonText","ExternalLinksNoLinkText","ExternalLinksLearnToCreateText","ExternalLinksOpenSourceLabel","ExternalLinksOpenWorkbookLabel","ExternalLinksRefreshButtonText","ExternalLinksRefreshAllButtonText","ExternalLinksRefreshOnOpenText","ExternalLinksSettingsText","ExternalLinksStatusBarCalloutAskRefreshHeader","ExternalLinksStatusBarCalloutNeverRefreshHeader","ExternalLinksStatusBarCalloutAskRefreshBody","ExternalLinksStatusBarCalloutNeverRefreshBody","ExternalLinksStatusBarCalloutAskRefreshButtonText","ExternalLinksStatusBarCalloutNeverRefreshButtonText","ExternalLinksStatusBarTooltip","ExternalLinksRefreshingStatusBarLabel","ExternalLinksEmptyPaneHeader","ExternalLinksEmptyPaneDescription","ExternalLinksEmptyPaneLinkText","ExternalLinksAlwaysTrustCalloutText","KeyboardShortcutsDialogEmptyList","KeyboardShortcutsDialogCheckBoxLabel","KeyboardShortcutsDialogCheckBoxKeyTip","KeyboardShortcutsDialogShowOverridesLabel","DrawBorder","DrawBorderKeyTip","DrawBorderGrid","DrawBorderGridKeyTip","EraseBorder","EraseBorderKeyTip","MoreTableStyles","TableStylesKeyTip","CellStylesShort","CellStyles","CellStylesKeyTip","Edit","Type","AutoFill","Clear","Refresh","HideFieldList","InsertRowColumn","DeleteRowColumn","HideRowColumn","UnhideRowColumn","EditLink","RemoveLink","OpenLink","ShowLinkPreview","NamedSheetViewKeep","NamedSheetViewAltText","NamedSheetViewSave","NamedSheetViewSaveAltText","NamedSheetViewKeepKeytip","Open","Info","About","Options","ChangeLocale","ChangeLocaleDescription","ChangeLocaleDialogDirective","ChangeLocaleDialogDescriptionLine","ChangeLocaleDialogHelpLinkText","ChangeLocaleDialogActionButtonName","OpenInExcelFileMenuDescription","ProtectWorkbook","ProtectWorkbookKeytip","PreviousVersionsDescription","VersionHistoryDescription","WhereIsTheSaveButton","WhereIsTheSaveButtonDescription","SaveACopyOnline","SaveAsToOneDriveDescription","SaveToOneDriveCalloutTitle","SaveToOneDriveCalloutDescription","AfterSavingToOneDriveCalloutDescription","SaveToOneDriveButtonTooltip","RenameButtonDescription","DownloadDescription","DownloadAsODSDescription","PrintDescription","ShareWithPeople","ShareWithPeopleDescription","SaveAsCopyLink","SaveAsCopyLinkDescription","PublishToWeb","PublishToWebDescription","PublishToWebKeytip","Embed","EmbedDescription","ReplyWithChanges","ReplyWithChangesDescription","TryOffice","TryOfficeDescription","TryOfficeForMacTrial","TryOfficeForMacTrialDescription","TermsOfUse","TermsOfUseDescription","ThirdPartyNotices","ThirdPartyNoticesDescription","PrivacyDescription","Recent","Recommended","DiagnosticsDescription","NewDocuments","MLRAppsGroupTitle","MLRAutomateGalleryGroupTitle","MLRAutomateGalleryGroupTitleV2","MLRAutomationGroupTitle","MLRCalculationGroupTitle","MLRFormulaAuditingGroupTitle","MLRFunctionLibraryGroupTitle","MLRChartsDataGroupTitle","MLRChartsGroupTitle","MLRChartsFormatGroupTitle","MLRChartTypeWaterfall","MLRChartTypeFunnel","MLRChartTypeHierarchical","MLRChartTypeStatistical","MLRChartTypeRadar","MLRConnectionsGroupTitle","MLRDataCalculationToolsGroupTitle","MLRDocumentViewsGroupTitle","MLRFiltersGroupTitle","MLRFunctionsGroupTitle","MLRHelloWorldGroupTitle","MLRHelpGroupTitle","MLRSupportGroupTitle","MLRHyperLinks","MLRIllustrationsGroupTitle","MLRInCellControlsGroupTitle","MLRInsert2DAreaChart","MLRInsert2DAreaChart2DArea","MLRInsert2DBarChartClustered","MLRInsert2DBarChartClustered2DBar","MLRInsert2DColumnChart2DColumn","MLRInsert2DColumnChartClustered","MLRInsert2DColumnChartClusteredKeyTip","MLRInsert2DLineChart","MLRInsert2DLineChartKeyTip","MLRInsert2DLineChart2DLine","MLRInsert2DPieChart2DPie","MLRInsert2DPieChartDoughnut","MLRInsert2DPieChartPie","MLRInsert2DPieChartPieKeyTip","MLRInsertOtherChartWaterfall","MLRInsertScatterChartMarkerOnly","MLRInsertComboChart","MLRInsertStatisticalChart","MLRLinkedEntityGroupTitle","MLRLinksGroupTitle","MLRTextGroupTitle","MLROfficeAddinsTitle","MLROutlineGroupTitle","MLRSheetViewGroupTitle","MLRShowGroupTitle","MLRSmartLookupGroupTitle","MLRSDXsGroupTitle","MLRSortAndFilterGroupTitle","MLRTablesGroupTitle","MLRTablesGroupKeyTip","MLRWindowGroupTitle","MLRFreezeGroupTitle","MLROpenGroupTitle","ModeSwitcherEditModeInMenuDescription","ModeSwitcherEditModeInMenuLabel","ModeSwitcherEditModeLabel","ModeSwitcherEditModeKeytip","ModeSwitcherFlyoutAnchorKeytip","ModeSwitcherViewModeInMenuDescription","ModeSwitcherViewModeInMenuLabel","ModeSwitcherViewModeLabel","ModeSwitcherViewModeKeytip","RecommendCharts","RecommendChartsKeyTip","RecommendPivotTables","RecommendPivotTablesKeyTip","InsertPivotTableMenuItem","AutomateTabTitle","AutomateTabKeyTip","AutomateGroupTitle","AutomateGroupTitleV2","AutomateUnattendedGroupTitle","AutomatePowerAutomateGroupTitle","AutomateAllScriptsTitle","AutomateAllScriptsKeyTip","AutomateCodeTitle","AutomateCodeKeyTip","AutomateNewScriptsTitle","AutomateNewScriptsKeyTip","AutomateGroupNewScriptTitle","AutomateGroupNewScriptKeyTip","AutomateCreateInCodeEditorTitle","AutomateCreateInCodeEditorKeyTip","AutomateCreateInCodeEditorTooltip","AutomateCreateFromRecordingTitle","AutomateCreateFromRecordingKeyTip","AutomateCreateFromRecordingTooltip","AutomateGroupViewScriptsTitle","AutomateGroupViewScriptsKeyTip","AutomateRecentScriptsTitle","AutomateRecentScriptsKeyTip","AutomateScriptsFromThisWorkbookTitle","AutomateScriptsFromThisWorkbookKeyTip","AutomateSamplesTitle","AutomateSamplesKeyTip","AutomateUnhideAllRowsCols","AutomateFreezeSelection","AutomateRecorderTitle","AutomateRecorderTooltip","AutomateRecorderKeyTip","AutomateAutomateTaskTitle","AutomateAutomateTaskTooltip","AutomateAutomateTaskKeyTip","AutomateAutomateATaskTitle","AutomateAutomateATaskTooltip","AutomateAutomateATaskKeyTip","AutomateFeedbackGroupTitle","AutomateFeedbackTitle","AutomateGalleryMenuTooltip","AutomateGalleryMenuKeyTip","AutomateGalleryWorkbookScriptsSection","AutomateGalleryRecentScriptsSection","AutomateGalleryAllScriptsTitle","FlowGalleryMenuTooltip","FlowGalleryMenuKeyTip","WorkbookStatistics","WorkbookStatisticsKeyTip","PivotTableTabTitle","PivotTableTabKeytip","PivotTableDataGroupTitle","PivotTableDataGroupOverflowLabel","PivotTableActionsGroupTitle","PivotTableActionsGroupOverflowLabel","PivotTableSlicerGroupTitle","PivotTableSlicerGroupOverflowLabel","PivotTableStyleOptionsGroupTitle","PivotTableStyleOptionsGroupOverflowLabel","PivotTableStylesGroupTitle","PivotTableStylesGroupOverflowLabel","PivotTableShowGroupTitle","PivotTableShowGroupOverflowLabel","PivotTableAutoRefreshLabel","PivotTableAutoRefreshKeytip","PivotTableChangeDataSourceLabel","PivotTableChangeDataSourceKeytip","MovePivotTableLabel","MovePivotTableKeytip","PivotTableShowDetailsLabel","PivotTableShowDetailsKeytip","PivotTableStyleOptionsLabel","PivotTableStyleOptionsKeytip","PivotTableRowHeadersLabel","PivotTableRowHeadersKeytip","PivotTableColumnHeadersLabel","PivotTableColumnHeadersKeytip","PivotTableBandedRowsLabel","PivotTableBandedRowsKeytip","PivotTableBandedColumnsLabel","PivotTableBandedColumnsKeytip","PivotTableShowFieldListLabel","PivotTableShowFieldListKeytip","PivotTableShowSettingsLabel","PivotTableShowSettingsKeytip","PivotTableShowExpandButtonLabel","PivotTableShowExpandButtonKeytip","PivotTableSettingsPivotTableName","PivotTableSettingsGrandSubTotalsSectionHeader","PivotTableSettingsGrandTotalsGroupHeader","PivotTableSettingsGrandTotalsShowForRows","PivotTableSettingsGrandTotalsShowForColumns","PivotTableSettingsSubTotalsGroupHeader","PivotTableSettingsSubTotalsDoNotShow","PivotTableSettingsSubTotalsShowOnTop","PivotTableSettingsSubTotalsShowOnBottom","PivotTableSettingsLayoutSectionHeader","PivotTableSettingsLayoutColumnsGroupHeader","PivotTableSettingsLayoutColumnsSeparate","PivotTableSettingsLayoutCompact","PivotTableSettingsLayoutCompactIndent","PivotTableSettingsLayoutItemLabelsGroupHeader","PivotTableSettingsLayoutRepeatLabels","PivotTableSettingsLayoutDoNotRepeatLabels","PivotTableSettingsLayoutBlankLineGroupHeader","PivotTableSettingsLayoutBlankLine","PivotTableSettingsLayoutNoBlankLine","PivotTableSettingsSortDisplaySectionHeader","PivotTableSettingsSortDisplayAutoFit","PivotTableSettingsSortDisplayShowExpandCollapse","PivotTableSettingsSortDisplayItemsWithNoDataGroupHeader","PivotTableSettingsSortDisplayItemsWithNoDataShowOnRows","PivotTableSettingsSortDisplayItemsWithNoDataShowOnColumns","PivotTableSettingsSortDisplayErrorString","PivotTableSettingsSortDisplayNullString","PivotTableSettingsRefreshSaveSectionHeader","PivotTableSettingsRefreshSaveSourceDataWithFile","PivotTableSettingsRefreshSaveRefreshOnLoad","PivotTableSettingsRefreshSaveAutoRefresh","PivotTableSettingsAltTextSectionHeader","PivotTableSettingsAltTextSectionDescription","PivotTableSettingsAltTextTitle","PivotTableSettingsAltTextDescription","PivotTableSettingsButtonGroupDescription","PivotTableSettingsSlicerConnectionsSectionHeader","PivotTableSettingsSlicerConnectionsNameColumnHeader","PivotTableSettingsSlicerConnectionsCaptionColumnHeader","PivotTableSettingsSlicerConnectionsSheetNameColumnHeader","SlicerTabTitle","SlicerTabKeytip","SlicerShowSettingsKeytip","SlicerInsertTabInsertSlicerTitle","SlicerInsertTabInsertSlicerKeytip","SlicerInsertTabInsertSlicerGroupOverflowLabel","SlicerTableTabInsertSlicerTitle","SlicerTableTabInsertSlicerKeytip","SlicerPivotTableTabInsertSlicerTitle","SlicerPivotTableTabInsertSlicerKeytip","TimeSlicerPivotTableTabInsertTitle","TimeSlicerPivotTableTabInsertKeytip","SlicerSettingsTitle","SlicerSettingsShowHeader","SlicerSettingsDataSource","SlicerSettingsName","SlicerSettingsSizePositionSectionHeader","SlicerSettingsButtonSettingsGroupHeader","SlicerSettingsButtonNumberPerRow","SlicerSettingsHeight","SlicerSettingsWidth","SlicerSettingsSlicerSizeGroupHeader","SlicerSettingsSlicerPositionGroupHeader","SlicerSettingsHorizontalPosition","SlicerSettingsVerticalPosition","SlicerSettingsDisableResizeAndMove","SlicerSettingsMoveAndSizeWithCells","SlicerSettingsMoveButDoNotSizeWithCells","SlicerSettingsDoNotMoveOrSizeWithCells","SlicerSettingsPropertiesSectionHeader","SlicerSettingsPrintObject","SlicerSettingsLock","SlicerSettingsPivotTableConnectionsSectionHeader","SlicerSettingsAltTextSectionDescription","KeyboardShortcutsDialogAllOverridingShortcuts","BrowserReservedShortcuts","BrowserReservedShortcutInfoMessage","BrowserReservedOverrideShortcutInfoMessage","HelpLinkText","DialogMove","Warning","Save","Cancel","Information","Question","TableTotalRowOptionsKeyTip","TableTotalRowOptionsLabel","TableTotalRowOptionsAriaDescription","AccessibleAuthoringTabTitle","AccessibleAuthoringTabKeytip","AccessibleAuthoringReviewGroupTitle","AccessibleAuthoringColorGroupTitle","AccessibleAuthoringStyleGroupTitle","AccessibleAuthoringFormatGroupTitle","AccessibleAuthoringNamesGroupTitle","AccessibleAuthoringResourcesGroupTitle","AccessibleAuthoringReviewGroupOverflowLabel","AccessibleAuthoringColorGroupOverflowLabel","AccessibleAuthoringStyleGroupOverflowLabel","AccessibleAuthoringFormatGroupOverflowLabel","AccessibleAuthoringResourcesGroupOverflowLabel","AccessibleCellStyles","AccessibleTableStylesShort","AccessibleTableStyles","AccessibleTableStylesKeytip","AccessibleFormatAsTableKeytip","AboutAccessibilityKeytip","AboutAccessibilityLabel","EditAltTextKeytip","AccessibileAuthoringPivotTableSettingsKeytip","PrintPreviewPaneIgnorePrintAreaText","PrintPreviewPanePageSetupTitleText","PrintPreviewPanePrintText","PrintPreviewPanePaperSizeText","PrintPreviewPaneOrientationText","PrintPreviewPaneScalingText","PrintPreviewPaneScalePercentageText","PrintPreviewPaneScalePercentageIncrease","PrintPreviewPaneScalePercentageDecrease","PrintPreviewPaneScalePercentageSuffix","PrintPreviewPaneLoadingPreviewText","MRUMoreLink","MRUErrorMessage","DrawTabTitle","DrawTabKeytip","Drawing","DrawingKeytip","InkInputModeGroupTitle","InkSelect","InkSelectKeytip","InkDrawWithTouch","InkDrawWithTouchKeytip","InkDrawingToolsGroupTitle","InkEraser","InkEraserKeytip","InkPen","InkPen1Keytip","InkPen2Keytip","InkHighlighter","InkHighlighterKeytip","InkActionPen","InkActionPenKeytip","InkThicknessSlider","InkColorSwatchPicker","InkColorSwatchPickerRecent","InkColorSwatchPickerStandard","InkSnapToText","InkActionPenHelp","InkActionPenHelpToolTip","InkColorAqua","InkColorBlack","InkColorBlue","InkColorCrimson","InkColorDarkBlue","InkColorGray25","InkColorGray50","InkColorGray80","InkColorGreen","InkColorIndigo","InkColorLavender","InkColorLightBlue","InkColorLightGreen","InkColorLime","InkColorOrange","InkColorPaleBlue","InkColorPink","InkColorPlum","InkColorPurple","InkColorRed","InkColorRose","InkColorSkyBlue","InkColorWhite","InkColorYellow","QueriesTaskpane","QueriesAndConnectionsTaskpane","QueriesTaskpaneKeytip","MorePivotTableStyles","MorePivotTableStylesKeytip","MoreSlicerStyles","MoreSlicerStylesKeytip","NavigationPane","NavigationPaneKeyTip","ChartEditDataDialogTooComplexWarning","ChartEditDataDialogValueLabel","ChartEditTitleDialogValueLabel","ChartEditDataLabelDialogValueLabel","CustomSortDialogAddButton","CustomSortDialogAddButtonTooltip","CustomSortDialogDeleteButton","CustomSortDialogDeleteButtonTooltip","CustomSortDialogCopyButton","CustomSortDialogCopyButtonTooltip","CustomSortDialogDisabledMenuGradientDisclaimer","CustomSortDialogMoveUpButtonTooltip","CustomSortDialogMoveDownButtonTooltip","CustomSortDialogOptionsButton","CustomSortDialogCaseSensitiveCheckbox","CustomSortDialogOrientationLabel","CustomSortDialogOrientationOptionVertical","CustomSortDialogOrientationOptionHorizontal","CustomSortDialogOrientationOptionHorizontalRTL","CustomSortDialogDataHeadersCheckbox","CustomSortDialogTableHeadersColumn","CustomSortDialogTableHeadersRow","CustomSortDialogTableHeadersSortOn","CustomSortDialogTableHeadersOrder","CustomSortDialogTableFirstRowLabel","CustomSortDialogTableFollowingRowLabel","CustomSortDialogSortOnOptionsCellValue","CustomSortDialogSortOnOptionsCellColor","CustomSortDialogSortOnOptionsFontColor","CustomSortDialogSortOnOptionsCellIcon","CustomSortDialogOrderOptionsAscending","CustomSortDialogOrderOptionsDescending","CustomSortDialogColorOrIconOrderOptionsTop","CustomSortDialogColorOrIconOrderOptionsBottom","CustomSortDialogColorOrIconOrderOptionsLeft","CustomSortDialogColorOrIconOrderOptionsRight","CustomSortDialogNoCellColor","CustomSortDialogFontColorAutomatic","CustomSortDialogNoCellIcon","CustomSortDialogGradientTitle","CustomSortDialogValidationBlankColumnKey","CustomSortDialogValidationBlankRowKey","CustomSortDialogValidationSameKey","CustomSortDialogValidationSameColor","CustomSortDialogValidationSameIcon","CustomSortDialogSortConditionAriaLabel","SlicerStylesGroupTitle","SlicerStylesGroupOverflowLabel","PasswordDialogInputPlaceholder","PasswordDialogInputAriaLabel","PasswordDialogInputLabelForSmallFileNames","PasswordDialogInputLabelForLargeFileNames","PasswordDialogShowEyeIconAriaLabel","PasswordDialogHideEyeIconAriaLabel","PasswordDialogWrongPasswordDescription","RibbonScalingData","EditGridLabel","EditLinkLabel","SheetViewNewStringLabel","RenameButtonTitleLabel","Zoom","ZoomKeytip","ZoomToolTip","ZoomTo25","ZoomTo50","ZoomTo75","ZoomTo100","ZoomTo125","ZoomTo150","ZoomTo175","ZoomTo200","ZoomTo100Keytip","ZoomTo100ToolTip","InsertDeleteCellsDialogShiftCellsLeftLabel","InsertDeleteCellsDialogShiftCellsRightLabel","InsertDeleteCellsDialogShiftCellsUpLabel","InsertDeleteCellsDialogShiftCellsDownLabel","InsertDeleteCellsDialogEntireRowLabel","InsertDeleteCellsDialogEntireColumnLabel","ResizeHeadersDialogUnitsDefault","ResizeHeadersDialogUnitsPx","ResizeHeadersDialogDefaultUnitsColumnTooltip","ResizeHeadersDialogDefaultUnitsRowTooltip","ResizeHeadersDialogValueLabel","NeedDesktopAppLabel","MLRQueriesAndConnectionsGroupTitle","SpinnerLoadingLabel","DataCleansingEmptyPane","TellMeUpsellChangeCase","TellMeUpsellExcelSymbols","TellMeUpsellFileProtection","PerformanceGroupTitle","CheckPerformance","CheckPerformanceKeyTip","NameBoxTooltip","NameBoxNoObjects","NameBoxViewMode","NameManager","NameManagerKeytip","NameManagerSearchBoxPlaceholder","NameManagerContextMenuEntryPointText","NameManagerNameBoxEntryPointText","NameManagerEmptyMessage","NameManagerItemSelect","NameManagerDeleteName","NameManagerNameInputTitle","NameManagerRefersToInputTitle","NameManagerCommentInputTitle","NameManagerInvalidReference","NameManagerEditButtonLabel","NameManagerMoreOptionsButtonLabel","NameManagerMoreOptionsAccessibility","NameManagerSelectButtonLabel","NameManagerDeleteButtonLabel","NameManagerNameInputPlaceholder","NameManagerRefersToInputPlaceholder","NameManagerCommentInputPlaceholder","NameManagerTableEditInfoMessage","NameManagerScopeEditInfoMessageGlobalScope","NameManagerScopeEditInfoMessageLocalScope","NameManagerSaveButtonLabel","NameManagerCancelButtonLabel","NameManagerEmptyViewHeader","NameManagerEmptyViewDescription","NameManagerEmptyViewLearnMoreLabel","NameManagerNoSearchResults","NameManagerNoSearchResultsDescription","NameManagerNoSearchClearButtonLabel","NameManagerErrorViewHeader","NameManagerErrorViewRetryButtonLabel","NameManagerShortcutKey","NameManagerShortcutKeyMac","NameManagerNewLabel","NameManagerSelectAllLabel","NameManagerDeleteLabel","NameManagerImproveButtonLabel","NameManagerFilterWorkbook","NameManagerFilterWorksheets","NameManagerFilterWithErrors","NameManagerFilterWithoutErrors","NameManagerFilterTableNames","NameManagerFilterDefinedNames","NameManagerFilterSortAZ","NameManagerFilterSortZA","NameManagerSortLabel","NameManagerFilterLabel","NameManagerFilterClearFilters","NameManagerFilterSortBy","NameManagerFilterSortOrderDefault","NameManagerFilterSortOrderName","NameManagerFilterSortOrderScope","NameManagerFilterFilterByHeaderLabel","NameManagerSearchResults","NameManagerSingleSearchResult","IconGreenUpArrow","IconRedDownArrow","IconYellowRightArrow","IconGreyUpArrow","IconGreyDownArrow","IconGreyRightArrow","IconGreenFlag","IconRedFlag","IconYellowFlag","IconGreenCircle","IconRedCircle","IconYellowCircle","IconGreenTrafficLight","IconRedTrafficLight","IconYellowTrafficLight","IconRedDiamond","IconYellowTriangle","IconGreenCircleWithCheckmark","IconRedCircleWithX","IconYellowCircleWithExclamation","IconYellowUpAndRightArrow","IconYellowDownAndRightArrow","IconGreyUpAndRightArrow","IconGreyDownAndRightArrow","IconDarkRedCircle","IconLightRedCircle","IconGreyCircle","IconBlackCircle","IconFullCircle","IconEmptyCircle","IconThreeQuartersFilledCircle","IconHalfFilledCircle","IconOneQuarterFilledCircle","IconGreenCheckmark","IconRedX","IconYellowExclamation","IconOneOfFourBars","IconTwoOfFourBars","IconThreeOfFourBars","IconFourOfFourBars","IconZeroOfFourBars","IconZeroOfFourBoxes","IconOneOfFourBoxes","IconTwoOfFourBoxes","IconThreeOfFourBoxes","IconFourOfFourBoxes","IconEmptyStar","IconHalfFullStar","IconFullStar","IconRedTrianglePointedDown","IconYellowHorizontalBar","IconGreenTrianglePointedUp","UnHideSheetDialogTitle","UnHideSheetDialogColumnHeaderName","GotoDialogInputTitle","GotoDialogInputPlaceHolder","GotoDialogComboBoxTitle","GotoDialogError","TellMeUpsellPageMargin","Designer","DesignerKeytip","FrenchAccessibilityStatementLinkText","FormulaAuthoring","FormulaAuthoringGiveFeedback","FormulaAuthoringCopilotPromptPlaceholder","FormulaAuthoringCopilotPromptPrefix","FormulaAuthoringIgnore","FormulaAuthoringMove","FormulaArgumentAssistance","FormulaArgumentAssistanceTurnOn","FormulaArgumentAssistanceTurnOff","FormulaArgumentAssistanceDescription","FormulaArgumentAssistanceExample","FormulaArgumentAssistanceLearnMore","FormulaArgumentAssistanceExpand","FormulaArgumentAssistanceCollapse","FormulaArgumentAssistanceDismiss","FormulaArgumentAssistanceShowLess","FormulaRepairDefaultTitle","FormulaRepairDefaultDescriptionSingle","FormulaRepairDefaultDescriptionMultiple","FormulaSuggestions","FormulaSuggestionsTurnOn","FormulaSuggestionsTurnOff","FormulaSyntaxErrorIndicationDescription","FieldListDragDropAreaDescription","FieldListDisplayModeAriaLabel","FieldListDisplayAll","FieldListDisplayActive","FieldListTools","FieldListExpandAll","FieldListCollapseAll","FieldListSortAscending","FieldListSortInDataSourceOrder","FieldListResize","FieldListResizeAriaLabel","FieldListResizeCurrentPercentage","FieldListResizeMaxPercentage","FieldListResizeMinPercentage","FieldListFilters","FieldListRows","FieldListPivotChartRows","FieldListColumns","FieldListPivotChartColumns","FieldListValues","FieldListSearch","FieldListSearchDescription","FieldListSearchClear","FieldListSearchNoMatches","ReorderSheetDialogField","SheetOptionsKeytip","SheetOptions","PresentationView","PresentationViewKeyTip","PresentationViewWelcomeDialogTitle","PresentationViewWelcomeDialogDesc","PresentationViewWelcomeDialogBtn","PresentationViewToolbarSpotlight","PresentationViewToolbarSpotlightTooltip","PresentationViewToolbarShowOptions","PresentationViewToolbarZoomIn","PresentationViewToolbarZoomOut","PresentationViewToolbarExit","EwrImage200GreenUpArrowToolTip","EwrImage201RedDownArrowToolTip","EwrImage202YellowRightArrowToolTip","EwrImage203GreyUpArrowToolTip","EwrImage204GreyDownArrowToolTip","EwrImage205GreyRightArrowToolTip","EwrImage206GreenFlagToolTip","EwrImage207RedFlagToolTip","EwrImage208YellowFlagToolTip","EwrImage209GreenCircleToolTip","EwrImage210RedCircleToolTip","EwrImage211YellowCircleToolTip","EwrImage212GreenTrafficLightToolTip","EwrImage213RedTrafficLightToolTip","EwrImage214YellowTrafficLightToolTip","EwrImage215RedDiamondToolTip","EwrImage216YellowTriangleToolTip","EwrImage217GreenCircleWithCheckmarkToolTip","EwrImage218RedCircleWithXToolTip","EwrImage219YellowCircleWithExclamationToolTip","EwrImage220YellowUpAndRightArrowToolTip","EwrImage221YellowDownAndRightArrowToolTip","EwrImage222GreyUpAndRightArrowToolTip","EwrImage223GreyDownAndRightArrowToolTip","EwrImage224DarkRedCircleToolTip","EwrImage225LightRedCircleToolTip","EwrImage226GreyCircleToolTip","EwrImage227BlackCircleToolTip","EwrImage231FullCircleToolTip","EwrImage232EmptyCircleToolTip","EwrImage233ThreeQuartersFilledCircleToolTip","EwrImage234HalfFilledCircleToolTip","EwrImage235OneQuarterFilledCircleToolTip","EwrImage236GreenCheckmarkToolTip","EwrImage237RedXToolTip","EwrImage238YellowExclamationToolTip","EwrImage247ZeroOfFourBarsToolTip","EwrImage239OneOfFourBarsToolTip","EwrImage240TwoOfFourBarsToolTip","EwrImage241ThreeOfFourBarsToolTip","EwrImage242FourOfFourBarsToolTip","EwrImage248ZeroOfFourBoxesToolTip","EwrImage249OneOfFourBoxesToolTip","EwrImage250TwoOfFourBoxesToolTip","EwrImage251ThreeOfFourBoxesToolTip","EwrImage252FourOfFourBoxesToolTip","EwrImage253EmptyStarToolTip","EwrImage254HalfFullStarToolTip","EwrImage255FullStarToolTip","EwrImage256RedTrianglePointedDownToolTip","EwrImage257YellowHorizontalBarToolTip","EwrImage258GreenTrianglePointedUpToolTip","EwrTooltipColorWhite","EwrTooltipColorBlack","EwrTooltipColorLightGray","EwrTooltipColorGray","EwrTooltipColorDarkGray","EwrTooltipColorAqua","EwrTooltipColorBlue","EwrTooltipColorBlueGray","EwrTooltipColorBrightGreen","EwrTooltipColorBrown","EwrTooltipColorCoral","EwrTooltipColorDarkBlue","EwrTooltipColorDarkGreen","EwrTooltipColorDarkPurple","EwrTooltipColorDarkRed","EwrTooltipColorDarkTeal","EwrTooltipColorDarkYellow","EwrTooltipColorPurple","EwrTooltipColorGold","EwrTooltipColorGreen","EwrTooltipColorIceBlue","EwrTooltipColorIndigo","EwrTooltipColorLavender","EwrTooltipColorLightBlue","EwrTooltipColorLightGreen","EwrTooltipColorLightOrange","EwrTooltipColorLightTurquoise","EwrTooltipColorLightYellow","EwrTooltipColorLime","EwrTooltipColorOliveGreen","EwrTooltipColorOrange","EwrTooltipColorPaleBlue","EwrTooltipColorPeriwinkle","EwrTooltipColorPink","EwrTooltipColorPlum","EwrTooltipColorRed","EwrTooltipColorRose","EwrTooltipColorSkyBlue","EwrTooltipColorTan","EwrTooltipColorTeal","EwrTooltipColorTurquoise","EwrTooltipColorYellow","EwrThemeColorBackground1","EwrThemeColorText1","EwrThemeColorBackground2","EwrThemeColorText2","EwrThemeColorAccent1","EwrThemeColorAccent2","EwrThemeColorAccent3","EwrThemeColorAccent4","EwrThemeColorAccent5","EwrThemeColorAccent6","ExcelLiveWelcomeDialogEditDescription","ExcelLiveWelcomeDialogZoomInDescription","ExcelLiveWelcomeDialogFilterDescription","ExcelLiveWelcomeDialogPresenterName","ExcelLiveWelcomeDialogTitle","ExcelLiveWelcomeDialogDelimiter","GiveFeedbackToMicrosoft","SortByCellColor","SortByFontColor","SortByCellIcon","FilterByCellColor","FilterByFontColor","FilterByCellIcon","MoreCellColors","MoreFontColors","MoreCellIcons","SortFilterByColorNoFill","SortFilterByColorNoIcon","SortFilterByColorAutomatic","CreateTableDialogLabel","CreateTableDialogTableHeadersCheckbox","TableHeaderTextDialogDescription","TableAltTextTitleLabel","TableAltTextDescriptionLabel","TableEditAltText","TableEditAltTextKeyTip","LoadingProgressIndicator","GetAndTransformDataGroupTitle","GetDataGroupTitle","DataFromPicture","DataFromPictureKeyTip","DefaultPaste","DefaultPasteDialogTitle","SetDefaultPasteKeyTip","DefaultPasteInternalPasteText","DefaultPasteExternalPasteText","SetDefaultPasteButton","ChangeDefaultPasteDialogActionButtonName","SetDefaultPasteDescription","DataFromPowerBI","DataFromPowerBIKeyTip","CopyLinkToThisSheet","CopyLinkToSheetView","CopyLinkToRange","CopyLinkToTable","LinkToThisSheet","LinkToThisSheetKeyTip","InsertDropdownList","InsertDropdownListKeyTip","MLRCellControlsGroupTitle","ViewsGroupTitle","ImmersiveReader","ImmersiveReaderKeyTip","HelpImproveOffice","CustomiseStatusBar","NumericalCount","SheetNumber","PageLoadStatistics","CoauthInfraStatistics","ReadFeatures","ServerDebugStatesUpdate","SupportedFeatures","EndMode","Disconnected","Connected","EnterToPaste","LongTaskTooltip","TextForOfficeOnlineInGallatin","DataSourceDirtiness","AverageDescription","CountDescription","NumericalCountDescription","MinimumDescription","MaximumDescription","SumDescription","InsertCellPictureFlyout","InsertCellPictureFlyoutKeyTip","InsertOverCellsPictureFlyout","InsertOverCellsPictureFlyoutKeyTip","DataConnectionsFlyout","ManageConnections","DataSourceSettings","ManageConnectionsPowerQueryKeyTip","FormatCellAlignment","FormatCells","FormatCellFont","FormatCellBorder","FormatCellAlignmentKeyTip","FormatCellsKeyTip","FormatCellFontKeyTip","FormatCellBorderKeyTip","ChartOutline","ChartOutlineKeyTip","ChartStyleFill","ChartStyleFillKeyTip","StatusBarZoomIn","StatusBarZoomOut","FullScreen","DatePickerFloatie","LaunchQueryEditor","PowerQueryGetData","PowerQueryGetDataMenu","ManageConnectionsPowerQueryGetDataDropdown","DataSourceSettingsGetDataDropdown","TimerRedirectionDialogContent","NameRangeStatusCalloutHeaderEmptyRange","NameRangeStatusCalloutBodyEmptyRange","NameRangeStatusCalloutHeaderRangeCreated","CellsMenu","CellsMenuKeyTip","CloseAndLoadRibbonLabel","CloseAndLoadRibbonLabelDescription","PowerQueryGetDataKeyTip","PowerQueryGetDataMenuKeyTip","PowerQueryLaunchQueryEditorKeyTip","RenamePromptCalloutButtonText","RenamePromptCalloutTitle","RenamePromptCalloutBody","FormulaRepairAvailable","FontPickerFreeFontsSection","FontPickerPremiumFontsSection","FontPickerShowMoreButtonLabel","FontPickerAllFontsSection","FontPickerPinnedFontsSection","FontPickerMruSection","FontPickerOrganizationSection","FontPickerInfoCommand","FontPickerPinnedTooltip","FontPickerUnpinnedTooltip","FontPickerThemeFontTooltip","FontPickerEmbeddedFontTooltip","FontPickerPremiumFontTooltip","FontPickerMissingFontTooltip","FontPickerCompatibilityFontTooltip","FontPickerNewFontHeader","FontPickerSearchNoResult","FontPickerNoActionLabel","FontPickerPremiumFontsTitle","FontPickerPremiumFontsBody","FontPickerPremiumFontsBody2","FontPickerHelpContentTitle","FontPickerPinnedFontAnnouncement","FontPickerUnPinnedFontAnnouncement","FontPickerNumberOfSuggestionsAnnouncement","FontPickerNoSuggestionsAnnouncement","FontPickerNumberOfSuggestionsInGroupAnnouncement","FontPickerPinnedDescription","FontPickerUnpinnedDescription","FontPickerFontPinningTooltip","FontPickerFontMissingFontTooltip","FontPickerFontOtherActionTooltip","ReviewCommentMenu","ReviewCommentMenuTooltip","ReviewCommentMenuKeyTip","ReviewChangesMenu","ReviewChangesHistoryMenu","ReviewChangesHistoryMenuKeyTip","ReviewProofingMenu","ReviewSpellingStatisticsMenu","ReviewSpellingStatisticsMenuKeyTip","ReviewProtectionMenu","ReviewProtectionMenuKeyTip","ReviewPerformance","ReviewPerformanceKeyTip","CompatShortcutKeyPressedInfoCalloutHeader","CompatShortcutKeyPressedInfoCalloutBody","FullScreenKeyTip","CopySheetStatusCalloutTitle","CopySheetStatusCalloutBody","CopySheetStatusFailedCallout","FullSheetCopy","FullSheetCopyKeyTip","FullSheetPaste","FullSheetPasteKeyTip","KeyboardShortcutAwarenessCalloutTitle","KeyboardShortcutAwarenessCalloutSubtitle","KeyboardShortcutAwarenessCalloutLink","HyperlinkOpenCalloutText","HyperlinkOpenCalloutTextMac","AppHomeButtonAriaLabel","AppHomeButtonTooltip","SaveAndEdit","BlankWorkbookKeytip","BrowseTemplates","BrowseTemplatesKeytip","EmbedWorkbook","CreateACopy","CreateACopyKeytip","CreateACopyOnline","MoveFile","MoveFileKeytip","FileProperties","DiagnosticsBuild","DiagnosticsSessionId","OpenInDesktopButton","ExportToCSV","ProtectWorkbookButton","OptionsButton","RegionalSettingsButton","VersionHistoryKeytip","VersionHistoryKeytipReviewTab","TaskPaneSkeletonFallbackAriaLabel","WorkbookOptimizationTaskPaneTitle","WorkbookOptimizationTaskPaneConsentStateTitle","WorkbookOptimizationTaskPaneConsentStateDescription","WorkbookOptimizationTaskPaneConsentStateOptimizeButtonLabel","WorkbookOptimizationTaskPaneConsentStateLinkLabel","WorkbookOptimizationTaskPaneSummaryCardTitle","WorkbookOptimizationTaskPaneSummaryCardDescription","WorkbookOptimizationTaskPaneSummaryCardLinkLabel","WorkbookOptimizationTaskPaneFeedbackCardTitle","WorkbookOptimizationTaskPaneFeedbackCardSmileFeedbackButtonLabel","WorkbookOptimizationTaskPaneFeedbackCardFrownFeedbackButtonLabel","WorkbookOptimizationTaskPaneFeedbackCardRevertButtonLabel","WorkbookOptimizationOverviewPanePivot","WorkbookOptimizationOpenIssuesPanePivot","WorkbookOptimizationTaskPaneOpenIssuesCardDescription","WorkbookOptimizationTaskPaneBackupCardTitle","WorkbookOptimizationTaskPaneBackupCardBackupText","WorkbookOptimizationBrokenFormulaCardFunctionDetail","WorkbookOptimizationBrokenFormulaCardSuggestionLink","WOBrokenFormulaCardNavigationPrevious","WOBrokenFormulaCardNavigationNext","WOBrokenFormulaCardNavigationSummary","WorkbookOptimizationImprovePerformanceCardText2","WorkbookOptimizationImprovePerformanceCardText1","WorkbookOptimizationImprovePerformanceCardButton","WorkbookOptimizationBrokenLinksCardButton","WOTaskPaneSkeletonLoadingAriaLabel","WorkbookOptimizationBrokenLinksCardUpdateLinkButton","WOTaskPaneConsentStateFeedbackButtonLabel","WOTaskPaneGuidedStateFeedbackButtonLabel","UCBPDialogProgressStateFeedbackButtonLabel","UCBPDialogOpenIssuesPrimaryDescription","UCBPDialogOpenIssuesSecondaryDescription","UnhideButtonTooltip","Location","ViewAllFiles","MoveChartTargetSheet","FileMenuCreateACopyKeytip","FileMenuCreateACopyOnlineKeytip","FileMenuExportKeytip","FileMenuDownloadAsPDFKeytip","FileMenuVersionHistoryKeytip","FileMenuInfoKeytip","DataToolsGroupKeyTip","OutlineGroupKeyTip","FileMenuAutoFitButtonText","FileMenuAutoFitKeytip","OnButtonText","OffButtonText","FileMenuAutoFitOnKeytip","FileMenuAutoFitOffKeytip","AddinClassicStoreTooltip","PythonChunkTitle","InsertPython","ExplorePythonSamples","PythonKeyTip","PythonEditor","PythonEditorKeyTip","PythonInitialization","PythonInitializationKeyTip","PythonClearGlobals","PythonResetKeyTip","PythonClearGlobalsKeyTip","PythonResetRuntime","PythonResetRuntimeKeyTip","WorkbookAmendmentCompatibilityVersion","WorkbookAmendmentCompatibilityVersionKeyTip","WorkbookAmendmentCompatibilityVersionRecommended","WorkbookAmendmentCompatibilityVersionRecommendedKeyTip","WorkbookAmendmentCompatibilityVersionLatest","WorkbookAmendmentCompatibilityVersionLatestKeyTip","WorkbookAmendmentCompatibilityVersionStandard","WorkbookAmendmentCompatibilityVersion1KeyTip","WorkbookAmendmentCompatibilityVersion2KeyTip","WorkbookAmendmentCompatibilityVersion3KeyTip","WorkbookAmendmentCompatibilityVersionUnsupported","WorkbookAmendmentCompatibilityVersionLearnMore","WorkbookAmendmentCompatibilityVersionLearnMoreKeyTip","CopilotFREProdigiHeading","CopilotFREProdigiMainBody","CopilotFREProdigiTOU","CopilotFREProdigiMainBodyCELA","CopilotFREProdigiTOUCELA","CopilotFREProdigiCloseButtonLabel","CopilotFREProdigiGetStartedButtonLabel","CopilotPromptInputCharacterLimitExceededMessage","CloseAndLoadToRibbonLabel","CloseAndLoadToRibbonLabelDescription","PowerQueryExcelHostDocumentationTooltip","PowerQueryExcelHostDocumentationLabel","CopilotSettingsDialogShowSkittleLessOftenCheckbox","CopilotSettingsDialogKeytip","CopilotSettingsDialog"]),t.NP},37289:(e,t)=>{"use strict";t.TW=t.xf=t.SX=void 0,t.SX={ScalingData:"ScalingData",AddinSharingActionButtonLabel:"AddinSharingActionButtonLabel",AddingSharingCopiedSuccessMessage:"AddingSharingCopiedSuccessMessage",AddinSharingCopyLinkButtonLabel:"AddinSharingCopyLinkButtonLabel",AddinSharingTitle:"AddinSharingTitle",AddinSharingShareButtonLabel:"AddinSharingShareButtonLabel",AddNewAddInButtonText:"AddNewAddInButtonText",AllowSignInBody:"AllowSignInBody",AllowSignInPrompt:"AllowSignInPrompt",AllowSignInTitle:"AllowSignInTitle",AlwaysShow:"AlwaysShow",AlwaysShowRibbon:"AlwaysShowRibbon",AutoAdjust:"AutoAdjust",AutoAdjustKeytip:"AutoAdjustKeytip",BackstageBannerLabel:"BackstageBannerLabel",BackstageManageYourAddInsButtonLabel:"BackstageManageYourAddInsButtonLabel",BackstageManageYourAddInsTitleLabel:"BackstageManageYourAddInsTitleLabel",BackstageSeeAllButtonLabel:"BackstageSeeAllButtonLabel",BackstageSeeAllButtonTooltip:"BackstageSeeAllButtonTooltip",CompleteSignInBody:"CompleteSignInBody",CompleteSignInButton:"CompleteSignInButton",CompleteSignInTitle:"CompleteSignInTitle",ContentCredentialsDefaultDescription:"ContentCredentialsDefaultDescription",Cancel:"Cancel",CatchUpActivity:"CatchUpActivity",CatchUpActivityKeytip:"CatchUpActivityKeytip",ClassicRibbon:"ClassicRibbon",Close:"Close",CloseKeytip:"CloseKeytip",Comments:"Comments",CommentsKeytip:"CommentsKeytip",ConsumerHealthPolicy:"ConsumerHealthPolicy",ConsumerHealthPolicyDescription:"ConsumerHealthPolicyDescription",ConsumerHealthPolicyKeytip:"ConsumerHealthPolicyKeytip",CopyHyperlink:"CopyHyperlink",CopyLink:"CopyLink",CopyLinkFileMenu:"CopyLinkFileMenu",CopyLinkFileMenuDescription:"CopyLinkFileMenuDescription",CopyLinkToFile:"CopyLinkToFile",CopyLinkKeytip:"CopyLinkKeytip",CopyLinkMenuButtonKeytip:"CopyLinkMenuButtonKeytip",Description:"Description",Display:"Display",EditHyperlink:"EditHyperlink",EndSession:"EndSession",PublishToWeb:"PublishToWeb",PublishToWebDescription:"PublishToWebDescription",PublishToWebTooltip:"PublishToWebTooltip",PublishToWebKeytip:"PublishToWebKeytip",EmbedCode:"EmbedCode",EmbedCodeDisclaimer:"EmbedCodeDisclaimer",EmbedURL:"EmbedURL",ExploreFontsTitle:"ExploreFontsTitle",ErrorMessageInAddInsSection:"ErrorMessageInAddInsSection",FileMenuBackButtonAriaLabel:"FileMenuBackButtonAriaLabel",FileMenuOverflowButtonLabel:"FileMenuOverflowButtonLabel",GetMoreAddInsButtonText:"GetMoreAddInsButtonText",Hide:"Hide",HideRibbonLabel:"HideRibbonLabel",ItalianAccessibilityStatementLinkText:"ItalianAccessibilityStatementLinkText",KeytipStartSequenceMac:"KeytipStartSequenceMac",KeytipStartSequenceWindows:"KeytipStartSequenceWindows",LiveMeetingPresenterPill:"LiveMeetingPresenterPill",LiveMeetingFollowerPill:"LiveMeetingFollowerPill",LiveMeetingExplorerPill:"LiveMeetingExplorerPill",LiveMeetingGoToPresenterButtonLabel:"LiveMeetingGoToPresenterButtonLabel",LiveMeetingLiveLabel:"LiveMeetingLiveLabel",LiveMeetingConnectingPill:"LiveMeetingConnectingPill",LiveMeetingConnectingPillV1:"LiveMeetingConnectingPillV1",LiveMeetingPresenterPillV1:"LiveMeetingPresenterPillV1",LiveMeetingFollowerPillV1:"LiveMeetingFollowerPillV1",LiveMeetingExplorerPillV1:"LiveMeetingExplorerPillV1",LiveMeetingExplorerPillSmallScreenV1:"LiveMeetingExplorerPillSmallScreenV1",LiveMeetingPauseButton:"LiveMeetingPauseButton",LiveMeetingExplorerScreenReaderAnnouncement:"LiveMeetingExplorerScreenReaderAnnouncement",ManageAccess:"ManageAccess",ManageAccessKeytip:"ManageAccessKeytip",MessageCopilot:"MessageCopilot",ModeMenu:"ModeMenu",ModeSwitcherFlyoutAnchorKeytip:"ModeSwitcherFlyoutAnchorKeytip",ModeSwitcherMenuTitle:"ModeSwitcherMenuTitle",ModeSwitcherEditModeInMenuDescription:"ModeSwitcherEditModeInMenuDescription",ModeSwitcherEditModeInMenuLabel:"ModeSwitcherEditModeInMenuLabel",ModeSwitcherEditModeLabel:"ModeSwitcherEditModeLabel",ModeSwitcherEditModeKeytip:"ModeSwitcherEditModeKeytip",ModeSwitcherEditModeTooltip:"ModeSwitcherEditModeTooltip",ModeSwitcherViewModeInMenuDescription:"ModeSwitcherViewModeInMenuDescription",ModeSwitcherViewModeInMenuLabel:"ModeSwitcherViewModeInMenuLabel",ModeSwitcherViewModeLabel:"ModeSwitcherViewModeLabel",ModeSwitcherViewModeKeytip:"ModeSwitcherViewModeKeytip",ModeSwitcherViewModeTooltip:"ModeSwitcherViewModeTooltip",ModeSwitcherSuggestModeInMenuDescription:"ModeSwitcherSuggestModeInMenuDescription",ModeSwitcherSuggestModeInMenuLabel:"ModeSwitcherSuggestModeInMenuLabel",ModeSwitcherSuggestModeLabel:"ModeSwitcherSuggestModeLabel",ModeSwitcherSuggestModeKeytip:"ModeSwitcherSuggestModeKeytip",ModeSwitcherSuggestModeTooltip:"ModeSwitcherSuggestModeTooltip",ModeSwitcherCalloutTextMarkedAsFinal:"ModeSwitcherCalloutTextMarkedAsFinal",ModeSwitcherCalloutTextOpenReadOnly:"ModeSwitcherCalloutTextOpenReadOnly",ModeSwitcherCalloutTextViewOnly:"ModeSwitcherCalloutTextViewOnly",ModeSwitcherCalloutTextViewOnlyWithRequestMoreAccess:"ModeSwitcherCalloutTextViewOnlyWithRequestMoreAccess",ModeSwitcherCalloutTextIsReviewer:"ModeSwitcherCalloutTextIsReviewer",ModeSwitcherCalloutTextTrackChangeForEveryoneEnabled:"ModeSwitcherCalloutTextTrackChangeForEveryoneEnabled",ModeSwitcherCalloutTitleMarkedAsFinal:"ModeSwitcherCalloutTitleMarkedAsFinal",ModeSwitcherCalloutTitleOpenReadOnly:"ModeSwitcherCalloutTitleOpenReadOnly",ModeSwitcherCalloutTitleViewOnly:"ModeSwitcherCalloutTitleViewOnly",ModeSwitcherCalloutTitleViewOnlyWithRequestMoreAccess:"ModeSwitcherCalloutTitleViewOnlyWithRequestMoreAccess",ModeSwitcherCalloutTitleIsReviewer:"ModeSwitcherCalloutTitleIsReviewer",ModeSwitcherCalloutTitleTrackChangeForEveryoneEnabled:"ModeSwitcherCalloutTitleTrackChangeForEveryoneEnabled",ModeSwitcherWarningPromptTrackChangesOff:"ModeSwitcherWarningPromptTrackChangesOff",MRUErrorMessage:"MRUErrorMessage",Ok:"Ok",OpenPreview:"OpenPreview",PleaseWait:"PleaseWait",PeripheralOverflowLabel:"PeripheralOverflowLabel",PeripheralOverflowKeytip:"PeripheralOverflowKeytip",PremiumTemplate:"PremiumTemplate",PreviewTaskpaneHeaderTag:"PreviewTaskpaneHeaderTag",RemoveHyperlink:"RemoveHyperlink",RequestMoreAccessLabel:"RequestMoreAccessLabel",RequestMoreAccessDescription:"RequestMoreAccessDescription",RequestMoreAccessKeytip:"RequestMoreAccessKeytip",RibbonModeSectionTitle:"RibbonModeSectionTitle",RibbonOptionsTooltip:"RibbonOptionsTooltip",SaveACopyToOneDriveTitle:"SaveACopyToOneDriveTitle",SaveACopyToOneDriveKeyTip:"SaveACopyToOneDriveKeyTip",SearchableMenuClearSearch:"SearchableMenuClearSearch",SearchableMenuPlaceholderLong:"SearchableMenuPlaceholderLong",SearchableMenuPlaceholder:"SearchableMenuPlaceholder",SearchableMenuRegionLabel:"SearchableMenuRegionLabel",SearchableMenuSearchBoxLabel:"SearchableMenuSearchBoxLabel",Selected:"Selected",ScrollRibbonRight:"ScrollRibbonRight",ScrollRibbonLeft:"ScrollRibbonLeft",Share:"Share",SharedFileStatusTooltip:"SharedFileStatusTooltip",SharePeripheralKeytip:"SharePeripheralKeytip",ShareToTeamsMeetingLabel:"ShareToTeamsMeetingLabel",ShareToTeamsMeetingKeytip:"ShareToTeamsMeetingKeytip",ShowTabsOnly:"ShowTabsOnly",ShyRibbonSectionTitle:"ShyRibbonSectionTitle",SignInToSave:"SignInToSave",SpinnerFallbackTooltipLabel:"SpinnerFallbackTooltipLabel",SplitButtonAriaDescription:"SplitButtonAriaDescription",SplitButtonMenuLabel:"SplitButtonMenuLabel",SplitButtonRoleDescription:"SplitButtonRoleDescription",SwitchRibbons:"SwitchRibbons",SwitchRibbons_Keytip:"SwitchRibbons_Keytip",SwitchRibbons_Classic_Keytip:"SwitchRibbons_Classic_Keytip",SwitchRibbons_Simplified_Keytip:"SwitchRibbons_Simplified_Keytip",SwitchRibbons_AlwaysShow_Keytip:"SwitchRibbons_AlwaysShow_Keytip",SwitchRibbons_AutoHide_Keytip:"SwitchRibbons_AutoHide_Keytip",TaskPaneResize:"TaskPaneResize",TaskPaneResizeCollapseChatButton:"TaskPaneResizeCollapseChatButton",TaskPaneResizeCurrentValue:"TaskPaneResizeCurrentValue",TaskPaneResizeExpandChatButton:"TaskPaneResizeExpandChatButton",TaskPaneResizeButton:"TaskPaneResizeButton",TaskPaneOptionFlyoutAnchor:"TaskPaneOptionFlyoutAnchor",TaskPaneResizeMaxValue:"TaskPaneResizeMaxValue",TaskPaneResizeMinValue:"TaskPaneResizeMinValue",TaskPaneResizeModeOff:"TaskPaneResizeModeOff",TaskPaneResizeModeOn:"TaskPaneResizeModeOn",TaskPaneResizeModeSwitchOff:"TaskPaneResizeModeSwitchOff",TaskPaneResizeModeSwitchOn:"TaskPaneResizeModeSwitchOn",TaskPaneResizeKeyBoardActionNotAllowed:"TaskPaneResizeKeyBoardActionNotAllowed",TellMeCopilotLabel:"TellMeCopilotLabel",TellMeCopilotPlaceholderText:"TellMeCopilotPlaceholderText",TellMeCopilotPlaceholderTextv2:"TellMeCopilotPlaceholderTextv2",ToolBarControlGroupMostPopularCommands:"ToolBarControlGroupMostPopularCommands",Title:"Title",Type:"Type",ViewMoreTemplates:"ViewMoreTemplates",VNextPreviewOptInLabel:"VNextPreviewOptInLabel",HyperlinkCopiedCalloutText:"HyperlinkCopiedCalloutText",Favorites:"Favorites",Unfavorite:"Unfavorite",FavoritesKeytip:"FavoritesKeytip",CharacterLimitExceeded:"CharacterLimitExceeded"},t.xf=t.SX,"undefined"==typeof window||!0!==window.g_NewStringsInfra&&"True"!==window.g_NewStringsInfra||(t.xf={ScalingData:0,AddinSharingActionButtonLabel:1,AddingSharingCopiedSuccessMessage:2,AddinSharingCopyLinkButtonLabel:3,AddinSharingTitle:4,AddinSharingShareButtonLabel:5,AddNewAddInButtonText:6,AllowSignInBody:7,AllowSignInPrompt:8,AllowSignInTitle:9,AlwaysShow:10,AlwaysShowRibbon:11,AutoAdjust:12,AutoAdjustKeytip:13,BackstageBannerLabel:14,BackstageManageYourAddInsButtonLabel:15,BackstageManageYourAddInsTitleLabel:16,BackstageSeeAllButtonLabel:17,BackstageSeeAllButtonTooltip:18,CompleteSignInBody:19,CompleteSignInButton:20,CompleteSignInTitle:21,ContentCredentialsDefaultDescription:22,Cancel:23,CatchUpActivity:24,CatchUpActivityKeytip:25,ClassicRibbon:26,Close:27,CloseKeytip:28,Comments:29,CommentsKeytip:30,ConsumerHealthPolicy:31,ConsumerHealthPolicyDescription:32,ConsumerHealthPolicyKeytip:33,CopyHyperlink:34,CopyLink:35,CopyLinkFileMenu:36,CopyLinkFileMenuDescription:37,CopyLinkToFile:38,CopyLinkKeytip:39,CopyLinkMenuButtonKeytip:40,Description:41,Display:42,EditHyperlink:43,EndSession:44,PublishToWeb:45,PublishToWebDescription:46,PublishToWebTooltip:47,PublishToWebKeytip:48,EmbedCode:49,EmbedCodeDisclaimer:50,EmbedURL:51,ExploreFontsTitle:52,ErrorMessageInAddInsSection:53,FileMenuBackButtonAriaLabel:54,FileMenuOverflowButtonLabel:55,GetMoreAddInsButtonText:56,Hide:57,HideRibbonLabel:58,ItalianAccessibilityStatementLinkText:59,KeytipStartSequenceMac:60,KeytipStartSequenceWindows:61,LiveMeetingPresenterPill:62,LiveMeetingFollowerPill:63,LiveMeetingExplorerPill:64,LiveMeetingGoToPresenterButtonLabel:65,LiveMeetingLiveLabel:66,LiveMeetingConnectingPill:67,LiveMeetingConnectingPillV1:68,LiveMeetingPresenterPillV1:69,LiveMeetingFollowerPillV1:70,LiveMeetingExplorerPillV1:71,LiveMeetingExplorerPillSmallScreenV1:72,LiveMeetingPauseButton:73,LiveMeetingExplorerScreenReaderAnnouncement:74,ManageAccess:75,ManageAccessKeytip:76,MessageCopilot:77,ModeMenu:78,ModeSwitcherFlyoutAnchorKeytip:79,ModeSwitcherMenuTitle:80,ModeSwitcherEditModeInMenuDescription:81,ModeSwitcherEditModeInMenuLabel:82,ModeSwitcherEditModeLabel:83,ModeSwitcherEditModeKeytip:84,ModeSwitcherEditModeTooltip:85,ModeSwitcherViewModeInMenuDescription:86,ModeSwitcherViewModeInMenuLabel:87,ModeSwitcherViewModeLabel:88,ModeSwitcherViewModeKeytip:89,ModeSwitcherViewModeTooltip:90,ModeSwitcherSuggestModeInMenuDescription:91,ModeSwitcherSuggestModeInMenuLabel:92,ModeSwitcherSuggestModeLabel:93,ModeSwitcherSuggestModeKeytip:94,ModeSwitcherSuggestModeTooltip:95,ModeSwitcherCalloutTextMarkedAsFinal:96,ModeSwitcherCalloutTextOpenReadOnly:97,ModeSwitcherCalloutTextViewOnly:98,ModeSwitcherCalloutTextViewOnlyWithRequestMoreAccess:99,ModeSwitcherCalloutTextIsReviewer:100,ModeSwitcherCalloutTextTrackChangeForEveryoneEnabled:101,ModeSwitcherCalloutTitleMarkedAsFinal:102,ModeSwitcherCalloutTitleOpenReadOnly:103,ModeSwitcherCalloutTitleViewOnly:104,ModeSwitcherCalloutTitleViewOnlyWithRequestMoreAccess:105,ModeSwitcherCalloutTitleIsReviewer:106,ModeSwitcherCalloutTitleTrackChangeForEveryoneEnabled:107,ModeSwitcherWarningPromptTrackChangesOff:108,MRUErrorMessage:109,Ok:110,OpenPreview:111,PleaseWait:112,PeripheralOverflowLabel:113,PeripheralOverflowKeytip:114,PremiumTemplate:115,PreviewTaskpaneHeaderTag:116,RemoveHyperlink:117,RequestMoreAccessLabel:118,RequestMoreAccessDescription:119,RequestMoreAccessKeytip:120,RibbonModeSectionTitle:121,RibbonOptionsTooltip:122,SaveACopyToOneDriveTitle:123,SaveACopyToOneDriveKeyTip:124,SearchableMenuClearSearch:125,SearchableMenuPlaceholderLong:126,SearchableMenuPlaceholder:127,SearchableMenuRegionLabel:128,SearchableMenuSearchBoxLabel:129,Selected:130,ScrollRibbonRight:131,ScrollRibbonLeft:132,Share:133,SharedFileStatusTooltip:134,SharePeripheralKeytip:135,ShareToTeamsMeetingLabel:136,ShareToTeamsMeetingKeytip:137,ShowTabsOnly:138,ShyRibbonSectionTitle:139,SignInToSave:140,SpinnerFallbackTooltipLabel:141,SplitButtonAriaDescription:142,SplitButtonMenuLabel:143,SplitButtonRoleDescription:144,SwitchRibbons:145,SwitchRibbons_Keytip:146,SwitchRibbons_Classic_Keytip:147,SwitchRibbons_Simplified_Keytip:148,SwitchRibbons_AlwaysShow_Keytip:149,SwitchRibbons_AutoHide_Keytip:150,TaskPaneResize:151,TaskPaneResizeCollapseChatButton:152,TaskPaneResizeCurrentValue:153,TaskPaneResizeExpandChatButton:154,TaskPaneResizeButton:155,TaskPaneOptionFlyoutAnchor:156,TaskPaneResizeMaxValue:157,TaskPaneResizeMinValue:158,TaskPaneResizeModeOff:159,TaskPaneResizeModeOn:160,TaskPaneResizeModeSwitchOff:161,TaskPaneResizeModeSwitchOn:162,TaskPaneResizeKeyBoardActionNotAllowed:163,TellMeCopilotLabel:164,TellMeCopilotPlaceholderText:165,TellMeCopilotPlaceholderTextv2:166,ToolBarControlGroupMostPopularCommands:167,Title:168,Type:169,ViewMoreTemplates:170,VNextPreviewOptInLabel:171,HyperlinkCopiedCalloutText:172,Favorites:173,Unfavorite:174,FavoritesKeytip:175,CharacterLimitExceeded:176},t.TW=["ScalingData","AddinSharingActionButtonLabel","AddingSharingCopiedSuccessMessage","AddinSharingCopyLinkButtonLabel","AddinSharingTitle","AddinSharingShareButtonLabel","AddNewAddInButtonText","AllowSignInBody","AllowSignInPrompt","AllowSignInTitle","AlwaysShow","AlwaysShowRibbon","AutoAdjust","AutoAdjustKeytip","BackstageBannerLabel","BackstageManageYourAddInsButtonLabel","BackstageManageYourAddInsTitleLabel","BackstageSeeAllButtonLabel","BackstageSeeAllButtonTooltip","CompleteSignInBody","CompleteSignInButton","CompleteSignInTitle","ContentCredentialsDefaultDescription","Cancel","CatchUpActivity","CatchUpActivityKeytip","ClassicRibbon","Close","CloseKeytip","Comments","CommentsKeytip","ConsumerHealthPolicy","ConsumerHealthPolicyDescription","ConsumerHealthPolicyKeytip","CopyHyperlink","CopyLink","CopyLinkFileMenu","CopyLinkFileMenuDescription","CopyLinkToFile","CopyLinkKeytip","CopyLinkMenuButtonKeytip","Description","Display","EditHyperlink","EndSession","PublishToWeb","PublishToWebDescription","PublishToWebTooltip","PublishToWebKeytip","EmbedCode","EmbedCodeDisclaimer","EmbedURL","ExploreFontsTitle","ErrorMessageInAddInsSection","FileMenuBackButtonAriaLabel","FileMenuOverflowButtonLabel","GetMoreAddInsButtonText","Hide","HideRibbonLabel","ItalianAccessibilityStatementLinkText","KeytipStartSequenceMac","KeytipStartSequenceWindows","LiveMeetingPresenterPill","LiveMeetingFollowerPill","LiveMeetingExplorerPill","LiveMeetingGoToPresenterButtonLabel","LiveMeetingLiveLabel","LiveMeetingConnectingPill","LiveMeetingConnectingPillV1","LiveMeetingPresenterPillV1","LiveMeetingFollowerPillV1","LiveMeetingExplorerPillV1","LiveMeetingExplorerPillSmallScreenV1","LiveMeetingPauseButton","LiveMeetingExplorerScreenReaderAnnouncement","ManageAccess","ManageAccessKeytip","MessageCopilot","ModeMenu","ModeSwitcherFlyoutAnchorKeytip","ModeSwitcherMenuTitle","ModeSwitcherEditModeInMenuDescription","ModeSwitcherEditModeInMenuLabel","ModeSwitcherEditModeLabel","ModeSwitcherEditModeKeytip","ModeSwitcherEditModeTooltip","ModeSwitcherViewModeInMenuDescription","ModeSwitcherViewModeInMenuLabel","ModeSwitcherViewModeLabel","ModeSwitcherViewModeKeytip","ModeSwitcherViewModeTooltip","ModeSwitcherSuggestModeInMenuDescription","ModeSwitcherSuggestModeInMenuLabel","ModeSwitcherSuggestModeLabel","ModeSwitcherSuggestModeKeytip","ModeSwitcherSuggestModeTooltip","ModeSwitcherCalloutTextMarkedAsFinal","ModeSwitcherCalloutTextOpenReadOnly","ModeSwitcherCalloutTextViewOnly","ModeSwitcherCalloutTextViewOnlyWithRequestMoreAccess","ModeSwitcherCalloutTextIsReviewer","ModeSwitcherCalloutTextTrackChangeForEveryoneEnabled","ModeSwitcherCalloutTitleMarkedAsFinal","ModeSwitcherCalloutTitleOpenReadOnly","ModeSwitcherCalloutTitleViewOnly","ModeSwitcherCalloutTitleViewOnlyWithRequestMoreAccess","ModeSwitcherCalloutTitleIsReviewer","ModeSwitcherCalloutTitleTrackChangeForEveryoneEnabled","ModeSwitcherWarningPromptTrackChangesOff","MRUErrorMessage","Ok","OpenPreview","PleaseWait","PeripheralOverflowLabel","PeripheralOverflowKeytip","PremiumTemplate","PreviewTaskpaneHeaderTag","RemoveHyperlink","RequestMoreAccessLabel","RequestMoreAccessDescription","RequestMoreAccessKeytip","RibbonModeSectionTitle","RibbonOptionsTooltip","SaveACopyToOneDriveTitle","SaveACopyToOneDriveKeyTip","SearchableMenuClearSearch","SearchableMenuPlaceholderLong","SearchableMenuPlaceholder","SearchableMenuRegionLabel","SearchableMenuSearchBoxLabel","Selected","ScrollRibbonRight","ScrollRibbonLeft","Share","SharedFileStatusTooltip","SharePeripheralKeytip","ShareToTeamsMeetingLabel","ShareToTeamsMeetingKeytip","ShowTabsOnly","ShyRibbonSectionTitle","SignInToSave","SpinnerFallbackTooltipLabel","SplitButtonAriaDescription","SplitButtonMenuLabel","SplitButtonRoleDescription","SwitchRibbons","SwitchRibbons_Keytip","SwitchRibbons_Classic_Keytip","SwitchRibbons_Simplified_Keytip","SwitchRibbons_AlwaysShow_Keytip","SwitchRibbons_AutoHide_Keytip","TaskPaneResize","TaskPaneResizeCollapseChatButton","TaskPaneResizeCurrentValue","TaskPaneResizeExpandChatButton","TaskPaneResizeButton","TaskPaneOptionFlyoutAnchor","TaskPaneResizeMaxValue","TaskPaneResizeMinValue","TaskPaneResizeModeOff","TaskPaneResizeModeOn","TaskPaneResizeModeSwitchOff","TaskPaneResizeModeSwitchOn","TaskPaneResizeKeyBoardActionNotAllowed","TellMeCopilotLabel","TellMeCopilotPlaceholderText","TellMeCopilotPlaceholderTextv2","ToolBarControlGroupMostPopularCommands","Title","Type","ViewMoreTemplates","VNextPreviewOptInLabel","HyperlinkCopiedCalloutText","Favorites","Unfavorite","FavoritesKeytip","CharacterLimitExceeded"]),t.TW},76071:(e,t,r)=>{"use strict";var n;r.d(t,{n:()=>n}),function(e){e[e.msoulscat_ES_EWAJS=0]="msoulscat_ES_EWAJS",e[e.msoulscat_ES_EWAJSGrid=1]="msoulscat_ES_EWAJSGrid",e[e.msoulscat_ES_EWAJSChart=6]="msoulscat_ES_EWAJSChart",e[e.msoulscat_MSOSP_FileMenuCommands=202]="msoulscat_MSOSP_FileMenuCommands",e[e.msoulscat_MSOSP_AddInCommands=220]="msoulscat_MSOSP_AddInCommands",e[e.msoulscat_MSOSP_OTelJS=225]="msoulscat_MSOSP_OTelJS",e[e.msoulscat_MSOSP_OTelJSInWebWoker=227]="msoulscat_MSOSP_OTelJSInWebWoker",e[e.msoulscat_MSOSP_OTelJSWebWorkerPrototype=228]="msoulscat_MSOSP_OTelJSWebWorkerPrototype",e[e.msoulscat_Wac_WordViewer=301]="msoulscat_Wac_WordViewer",e[e.msoulscat_Wac_BrowserGeneral=306]="msoulscat_Wac_BrowserGeneral",e[e.msoulscat_Wac_TaskPane=320]="msoulscat_Wac_TaskPane",e[e.msoulscat_Wac_OneNoteGeneral=339]="msoulscat_Wac_OneNoteGeneral",e[e.msoulscat_Wac_Ribbon=340]="msoulscat_Wac_Ribbon",e[e.msoulscat_Wac_WacFeedback=356]="msoulscat_Wac_WacFeedback",e[e.msoulscat_Wac_WopiPendingApplication=379]="msoulscat_Wac_WopiPendingApplication",e[e.msoulscat_Wac_Telemetry=383]="msoulscat_Wac_Telemetry",e[e.msoulscat_Wac_WacCatchUpActivities=391]="msoulscat_Wac_WacCatchUpActivities",e[e.msoulscat_Wac_Dictation=394]="msoulscat_Wac_Dictation",e[e.msoulscat_Wac_OneNoteSync=395]="msoulscat_Wac_OneNoteSync",e[e.msoulscat_Wac_VisioApp=700]="msoulscat_Wac_VisioApp",e[e.msoulscat_OneNoteOnline_EditableCache=1601]="msoulscat_OneNoteOnline_EditableCache",e[e.msoulscat_Wac_PptAnimation=800]="msoulscat_Wac_PptAnimation",e[e.msoulscat_Wac_PptLive=833]="msoulscat_Wac_PptLive",e[e.msoulscat_Wac_PptMWeb=834]="msoulscat_Wac_PptMWeb",e[e.msoulscat_Wac_PptGc2General=835]="msoulscat_Wac_PptGc2General",e[e.msoulscat_Wac_PptGc2GraphicHost=836]="msoulscat_Wac_PptGc2GraphicHost",e[e.msoulscat_Wac_PptGc2Operation=837]="msoulscat_Wac_PptGc2Operation",e[e.msoulscat_Wac_PptGc2EditCanvas=852]="msoulscat_Wac_PptGc2EditCanvas",e[e.msoulscat_Wac_PptDataSync=844]="msoulscat_Wac_PptDataSync",e[e.msoulscat_Wac_PptFluidRuntime=848]="msoulscat_Wac_PptFluidRuntime",e[e.msoulscat_Wac_PptShape=815]="msoulscat_Wac_PptShape",e[e.msoulscat_Wac_PptSession=817]="msoulscat_Wac_PptSession",e[e.msoulscat_Wac_PptSlideshow=830]="msoulscat_Wac_PptSlideshow",e[e.msoulscat_Wac_PptView=822]="msoulscat_Wac_PptView",e[e.msoulscat_Wac_PptVideos=846]="msoulscat_Wac_PptVideos",e[e.msoulscat_Uci_Insights=1303]="msoulscat_Uci_Insights",e[e.msoulscat_Wac_VersionHistory=2300]="msoulscat_Wac_VersionHistory",e[e.msoulscat_Wac_WordPresence=302]="msoulscat_Wac_WordPresence",e[e.msoulscat_Wac_OAuth=3e3]="msoulscat_Wac_OAuth",e[e.msoulscat_Wac_WordVersionHistory=3005]="msoulscat_Wac_WordVersionHistory",e[e.msoulscat_Wac_LivePersonaCard=3006]="msoulscat_Wac_LivePersonaCard",e[e.msoulscat_Wac_CatchUpFlyout=3012]="msoulscat_Wac_CatchUpFlyout",e[e.msoulscat_Wac_WordDesigner=3016]="msoulscat_Wac_WordDesigner",e[e.msoulscat_Wac_ModernFontPicker=3021]="msoulscat_Wac_ModernFontPicker",e[e.msoulscat_Wac_UnifiedUiHost=3027]="msoulscat_Wac_UnifiedUiHost",e[e.msoulscat_Wac_EquationTools=3033]="msoulscat_Wac_EquationTools",e[e.msoulscat_Osf_Latency=1401]="msoulscat_Osf_Latency",e[e.msoulscat_Osf_Notification=1402]="msoulscat_Osf_Notification",e[e.msoulscat_Osf_Runtime=1403]="msoulscat_Osf_Runtime",e[e.msoulscat_Wac_AiMaker=3041]="msoulscat_Wac_AiMaker",e[e.msoulscat_Wac_AiRewrite=3043]="msoulscat_Wac_AiRewrite",e[e.msoulscat_Wac_AiInsert=3044]="msoulscat_Wac_AiInsert",e[e.msoulscat_Wac_AiSummarize=3047]="msoulscat_Wac_AiSummarize",e[e.msoulscat_Wac_CopilotCompose=3048]="msoulscat_Wac_CopilotCompose",e[e.msoulscat_Wac_Skittles=3049]="msoulscat_Wac_Skittles",e[e.msoulscat_Wac_CopilotChat=3050]="msoulscat_Wac_CopilotChat",e[e.msoulscat_Wac_Syntex=3051]="msoulscat_Wac_Syntex",e[e.msoulscat_Wac_WireGraph=3052]="msoulscat_Wac_WireGraph",e[e.msoulscat_Wac_CshCopilot=3053]="msoulscat_Wac_CshCopilot",e[e.msoulscat_Wac_CopilotProactiveSummary=3055]="msoulscat_Wac_CopilotProactiveSummary",e[e.msoulscat_Wac_CopilotProactiveShared=3056]="msoulscat_Wac_CopilotProactiveShared",e[e.msoulscat_Wac_CopilotCursor=3057]="msoulscat_Wac_CopilotCursor",e[e.msoulscat_Wac_WasmGeneral=3059]="msoulscat_Wac_WasmGeneral",e[e.msoulscat_Wac_WasmTextLayout=3060]="msoulscat_Wac_WasmTextLayout",e[e.msoulscat_Wac_WasmSmartArt=3061]="msoulscat_Wac_WasmSmartArt",e[e.msoulscat_Wac_WasmClient=3062]="msoulscat_Wac_WasmClient",e[e.msoulscat_Wac_WasmNative=3063]="msoulscat_Wac_WasmNative",e[e.msoulscat_Wac_UniversalPrint=3068]="msoulscat_Wac_UniversalPrint",e[e.msoulscat_AIHub_CreateModuleTelemetry=4e3]="msoulscat_AIHub_CreateModuleTelemetry",e[e.msoulscat_AIHub_CreateModuleAugloop=4001]="msoulscat_AIHub_CreateModuleAugloop",e[e.msoulscat_AIHub_CreateModuleDAS=4002]="msoulscat_AIHub_CreateModuleDAS",e[e.msoulscat_AIHub_CreateModuleConfig=4003]="msoulscat_AIHub_CreateModuleConfig",e[e.msoulscat_AIHub_CreateModuleContext=4004]="msoulscat_AIHub_CreateModuleContext",e[e.msoulscat_AIHub_CreateModuleGraph=4005]="msoulscat_AIHub_CreateModuleGraph",e[e.msoulscat_AIHub_CreateModuleExperiences=4006]="msoulscat_AIHub_CreateModuleExperiences",e[e.msoulscat_AIHub_CreateModuleHttp=4007]="msoulscat_AIHub_CreateModuleHttp",e[e.msoulscat_AIHub_CreateModuleRouting=4008]="msoulscat_AIHub_CreateModuleRouting",e[e.msoulscat_AIHub_CreateModuleStorage=4009]="msoulscat_AIHub_CreateModuleStorage",e[e.msoulscat_AIHub_CreateModuleStore=4010]="msoulscat_AIHub_CreateModuleStore",e[e.msoulscat_AIHub_CreateModuleUI=4011]="msoulscat_AIHub_CreateModuleUI",e[e.msoulscat_AIHub_CreateModuleSharePoint=4012]="msoulscat_AIHub_CreateModuleSharePoint",e[e.msoulscat_AIHub_CreateModuleUI_Artifacts=4100]="msoulscat_AIHub_CreateModuleUI_Artifacts",e[e.msoulscat_AIHub_CreateModuleUI_BrandKit=4101]="msoulscat_AIHub_CreateModuleUI_BrandKit",e[e.msoulscat_AIHub_CreateModuleUI_Forms=4102]="msoulscat_AIHub_CreateModuleUI_Forms",e[e.msoulscat_AIHub_CreateModuleUI_Homepage=4103]="msoulscat_AIHub_CreateModuleUI_Homepage",e[e.msoulscat_AIHub_CreateModuleUI_Text=4104]="msoulscat_AIHub_CreateModuleUI_Text",e[e.msoulscat_AIHub_CreateModuleUI_Video=4105]="msoulscat_AIHub_CreateModuleUI_Video"}(n||(n={}))},40844:(e,t,r)=>{"use strict";var n;r.d(t,{k:()=>n}),function(e){e[e.Error=10]="Error",e[e.Warning=15]="Warning",e[e.Important=20]="Important",e[e.Info=50]="Info",e[e.Verbose=100]="Verbose",e[e.Spam=200]="Spam"}(n||(n={}))},63943:(e,t,r)=>{"use strict";r.d(t,{Hv:()=>o,n6:()=>i});class n{sendTraceTag(){}shipAssertTag(){}debugAssertTag(){}setCorrelationId(){}}const o=new class{setCorrelationId(e){this.externalLogger.setCorrelationId(e)}setLogger(e){this.externalLogger=e}sendTraceTag(e,t,r,n){this.externalLogger.sendTraceTag(e,t,r,n)}debugAssertTag(e,t,r,n){this.externalLogger.debugAssertTag(e,t,r,n)}shipAssertTag(e,t,r,n){this.externalLogger.shipAssertTag(e,t,r,n)}forwardFeedbackCacheLogs(){this.externalLogger.forwardFeedbackCacheLogs?.()}constructor(){this.externalLogger=new n}};function i(e){if(!e)throw new Error("The 'logger' argument is missing");o.setLogger(e)}},71782:(e,t,r)=>{"use strict";r.d(t,{F9:()=>h,p7:()=>g});var n=r(73653),o=r(21632),i=r(18648),a=r(16684),s=r.n(a);let l={getAppSettingValue:e=>"",getBooleanFeatureGate:e=>!1,getStringFeatureGate:e=>"",getIntFeatureGate:e=>-1,isChangeGateEnabled:e=>!1};let u={};function c(e,t,r){const n=function(e){switch(e.type){case"ClientCustomConditional":return e.id;case"ClientCallback":return s()(e.id).toString(36);default:return s()(JSON.stringify(e)).toString(36)}}(e),o=void 0!==u[n]?.value,i=o&&!u[n]?.condition&&t;if(o&&!i)return!!u[n].value;const{getBooleanFeatureGate:a,getStringFeatureGate:d,getIntFeatureGate:p,getAppSettingValue:h,isChangeGateEnabled:g,isFeatureEnabled:m}=l;let f,v;switch(e.type){case"ConstantBoolean":f=e.value,v=e.value;break;case"BooleanFeatureGate":f=a(e.entry,!1);break;case"IntFeatureGate":f=p(e.entry,0)===e.value;break;case"StringFeatureGate":f=d(e.entry,"")===e.value;break;case"ChangeGate":f=g(e.entry);break;case"AppSetting":let t=h(e.entry,e.fallbackValue??"false");!e.toLowerCase&&e.expectedValue||(t=t?.toLowerCase()),f=void 0===t&&m?m(e.entry):t===(e.expectedValue??"true");break;case"ClientCallback":v=e.defaultBuildValue,f=e.isActive(r??c,h);break;default:throw new Error("unknown condition type")}return u[n]={value:f,condition:t?e:void 0,defaultBuildValue:v},f}let d=!1;function p(){var e;d||(e={getBooleanFeatureGate:n.iP,getAppSettingValue:m,getStringFeatureGate:n.be,getIntFeatureGate:n.Z8,isChangeGateEnabled:f},l=e,d=!0)}const h=(e,t)=>(p(),((e,t,r)=>c(e,!0!==t,void 0))(e,t));function g(){return(0,n.iP)("Microsoft.Office.SharedOnline.isRibbonRefactorEnabled",!1)||(0,o.isChangeGateEnabled)("SharedOnline.ChangeGate.DefaultToConditionals")}const m=(e,t)=>{if(["true","false"].includes(t.toLowerCase())){const r="true"===t.toLowerCase();return(0,n.G7)(e,r)?"true":"false"}return(0,n.qN)(e,t)},f=e=>(0,o.isChangeGatesManagerSet)()?(0,o.isChangeGateEnabled)(e):(0,i.isChangeGateEnabled)(e)},40556:(e,t,r)=>{"use strict";r.d(t,{o3:()=>C,U6:()=>v,Jf:()=>S});const n=e=>({entry:e,type:"BooleanFeatureGate"}),o=(e,t)=>({entry:e,value:t,type:"IntFeatureGate"}),i=(e,t,r,n)=>({entry:e,expectedValue:t,fallbackValue:r,toLowerCase:n,type:"AppSetting"}),a=(e,t,r,n)=>({type:"ClientCallback",isActive:e,defaultBuildValue:r,id:t,serverResolvable:n}),s=e=>({entry:e,type:"ChangeGate"});var l=r(55579),u=r(22214),c=r(15640),d=r(69868);const p=e=>`Microsoft.Office.SharedOnline.${e}`,h={isSingleLineToolbarHomeTabEnabled:n(p("IsSingleLineToolbarHomeTabEnabled")),manageAccessExperimentIsTreatmentGroup:n(p("ManageAccessExperimentIsTreatmentGroup")),isCoEditInTeamsFGEnabled:n(p("CoEditInTeamsIsEnabled")),isCatchUpCustomDynamicEntryPointEnabled:n(p("CatchUpCustomDynamicEntryPointEnabled")),isCatchUpDynamicEntryPointEnabled:n(p("CatchUpDynamicEntryPointEnabled")),isPeripheralOverflowScalingGateEnabled:n(p("IsPeripheralOverflowScalingEnabled")),isTeamsCollabDeclutterGateIsEnabled:n(p("TeamsCollabDeclutterIsEnabled")),isInstantRibbonUpdatesEnabled:n(p("InstantRibbonUpdates")),perfMarkerThrottlingOverrideIsEnabled:n(p("PerfMarkerThrottlingOverrideIsEnabled")),isFluentIconsEnabled:n(p("FluentIconsEnabled")),isStaticRibbonActionExecutionEnabled:n(p("StaticRibbonActionExecutionEnabled"))},g={isShareRibbonTab1Enabled:o("Microsoft.Office.WordOnline.ShareRibbonTabEnabled",1),isShareRibbonTab2Enabled:o("Microsoft.Office.WordOnline.ShareRibbonTabEnabled",2)},m={shareMenuIsEnabled:i("ShareMenuIsEnabled"),isPeripheralOverflowScalingSettingEnabled:i("IsPeripheralOverflowScalingEnabled"),isUIHostTeams:i("UiHost","teams","",!0),isOwlSession:i("IsUnifiedHostMode"),isTeamsDeclutterSettingEnabled:i("IsTeamsCollabDeclutterIsEnabled"),isResponsiveUxEnabled:i("ResponsiveUxIsEnabled"),isSingleLineToolbarEnabled:i("IsSingleLineToolbarEnabled"),isMeetingLiveSession:i("IsMeetingLiveSession"),shouldDisplaySharedDocumentStatusInControl:i("SharingStatus","shared",void 0,!0),multilineRibbonIsEnabled:i("ReactMultilineRibbonIsEnabled"),isUnauthEdit:i("IsUnauthEdit","true","false",!0),disableCoEditInTeams:i("ShouldDisableCoEditInTeamsByUiHost")},f=e=>e(m.isUIHostTeams)&&e(m.isOwlSession)&&(e(h.isTeamsCollabDeclutterGateIsEnabled)||e(m.isTeamsDeclutterSettingEnabled)),v=(e,t)=>a(((r,n)=>!!(0,d.pz)(e,T(r,n),t)),`isResponsiveScalingEnabled${e}`,!0),b={...((e,t,r)=>{const n={};return Object.keys(e).forEach((o=>{n[o]=a(e[o],o,t[o],r?.[o])})),n})({isTeamsCollabDeclutterEnabled:f,isTrimHostMoreOptionsEnabled:e=>f(e)||e(h.isPeripheralOverflowScalingGateEnabled)||e(m.isPeripheralOverflowScalingSettingEnabled),isCoEditInTeamsEnabled:e=>e(h.isCoEditInTeamsFGEnabled)&&!e(m.disableCoEditInTeams),isTrimCoEditInTeamsEnabled:e=>!e(h.isCoEditInTeamsFGEnabled)||e(m.isMeetingLiveSession)||e(m.disableCoEditInTeams),isShareRibbonTabEnabled:e=>e(g.isShareRibbonTab1Enabled)||e(g.isShareRibbonTab2Enabled),isPeripheralOverflowScalingEnabled:e=>e(h.isPeripheralOverflowScalingGateEnabled)||e(m.isPeripheralOverflowScalingSettingEnabled),isMoveShareToFarRightEnabled:e=>e(h.isPeripheralOverflowScalingGateEnabled)||e(m.isPeripheralOverflowScalingSettingEnabled),useTabResponsiveUx:e=>e(m.isSingleLineToolbarEnabled)||e(m.isResponsiveUxEnabled),isShyRibbonAvailable:(e,t)=>e(m.multilineRibbonIsEnabled)&&(0,u.C)(T(e,t)),isSmallDevice:e=>(0,c.mP)(),isSmallApplicationHeight:()=>window.innerHeight<800,isShyRibbonCookieDefined:(e,t)=>void 0!==k(t)},{isShyRibbonCookieDefined:!1},{isTeamsCollabDeclutterEnabled:!0,isTrimHostMoreOptionsEnabled:!0,callbackConditionalFunctions:!0,isTrimCoEditInTeamsEnabled:!0,isShareRibbonTabEnabled:!0,isPeripheralOverflowScalingEnabled:!0,isMoveShareToFarRightEnabled:!0,useTabResponsiveUx:!0}),isResponsiveScalingEnabledSingleLine:v("SingleLine"),isResponsiveScalingEnabledMultiline:v("Multiline")},y={isShareIconFixEnabled:s("SharedOnline.ChangeGate.ShareIconFix"),isSaveStatusIconStyleChangeEnabled:s("SharedOnline.ChangeGate.SaveStatusIconStyleChangeEnabled"),isDocumentSaveStatusCalloutFixEnabled:s("SharedOnline.ChangeGate.DocumentSaveStatusCalloutFixEnabled"),initCachedVisibilityTabStateEnabled:s("SharedOnline.ChangeGate.InitCachedVisibilityTabStateEnabled"),initCachedVisibilityTabStateRefactorEnabled:s("SharedOnline.ChangeGate.InitCachedVisibilityTabStateRefactorEnabled")},S={...h,...g,...m,...b,...y},C=e=>a((()=>(0,l.IG)(e)),`cachedControlVisible${e}`),T=(e,t)=>r=>r.includes("Microsoft.Office")?e(n(r)):"true"===t(r,"false"),k=(e,t)=>{t||e("ReactShyRibbonPreferenceCookieName","")}},47829:(e,t,r)=>{"use strict";r.d(t,{tU:()=>C,HZ:()=>H,G2:()=>F,zr:()=>w,qq:()=>v});var n=r(65553),o=r(90044),i=r(91496),a=r(36141),s="NOT_FOUND",l=function(e,t){return e===t};function u(e,t){var r,n,o="object"==typeof t?t:{equalityCheck:t},i=o.equalityCheck,a=void 0===i?l:i,u=o.maxSize,c=void 0===u?1:u,d=o.resultEqualityCheck,p=function(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,o=0;o<n;o++)if(!e(t[o],r[o]))return!1;return!0}}(a),h=1===c?(r=p,{get:function(e){return n&&r(n.key,e)?n.value:s},put:function(e,t){n={key:e,value:t}},getEntries:function(){return n?[n]:[]},clear:function(){n=void 0}}):function(e,t){var r=[];function n(e){var n=r.findIndex((function(r){return t(e,r.key)}));if(n>-1){var o=r[n];return n>0&&(r.splice(n,1),r.unshift(o)),o.value}return s}return{get:n,put:function(t,o){n(t)===s&&(r.unshift({key:t,value:o}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(c,p);function g(){var t=h.get(arguments);if(t===s){if(t=e.apply(null,arguments),d){var r=h.getEntries().find((function(e){return d(e.value,t)}));r&&(t=r.value)}h.put(arguments,t)}return t}return g.clearCache=function(){return h.clear()},g}function c(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var i,a=0,s={memoizeOptions:void 0},l=n.pop();if("object"==typeof l&&(s=l,l=n.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var u=s.memoizeOptions,c=void 0===u?r:u,d=Array.isArray(c)?c:[c],p=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var r=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}(n),h=e.apply(void 0,[function(){return a++,l.apply(null,arguments)}].concat(d)),g=e((function(){for(var e=[],t=p.length,r=0;r<t;r++)e.push(p[r].apply(null,arguments));return i=h.apply(null,e)}));return Object.assign(g,{resultFunc:l,memoizedResultFunc:h,dependencies:p,lastResult:function(){return i},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),g}}var d=c(u),p=r(63943),h=r(76071),g=r(40844),m=r(97308),f=(r(73653),r(53273));const v=e=>e.selectedTabId,b=e=>e.ribbonTabs,y=e=>e.tabsById,S=e=>e.groupsById,C=e=>e.controlsById,T=e=>e.splitButtonModels,k=e=>e.statefulSplitButtonModels,F=e=>e.instantStylingControlStates,E=(d([T,k],((e,t)=>({...e,...t}))),e=>e.reduce(((e,t)=>{switch(t.type){case"CatchUpEntryPointControl":case"ModeSwitcherControl":case"StandardPeripheralControl":return[...e,t.id];case"CustomPeripheralControl":case"TellMeControl":case"CoauthorControl":return e}}),[])),A=d([e=>e.buttonModels,e=>e.toggleButtonModels,e=>e.flyoutAnchorModels,e=>e.comboBoxModels,e=>e.checkboxModels,T,e=>e.spinButtonModels,e=>e.colorPickerModels,e=>e.insertTableModels,e=>e.galleryModels,e=>e.previewGalleryModels,e=>e.characterCodeGalleryButtonModels],((e,t,r,n,o,i,a,s,l,u,c,d)=>({buttonModels:e,toggleButtonModels:t,flyoutAnchorModels:r,comboBoxModels:n,checkboxModels:o,splitButtonModels:i,spinButtonModels:a,colorPickerModels:s,insertTableModels:l,galleryModels:u,previewGalleryModels:c,characterCodeGalleryButtonModels:d}))),I=d([e=>e.fontStyleGalleryButtonModels,e=>e.iconGalleryButtonModels,e=>e.listGalleryButtonModels,e=>e.pageNumberGalleryButtonModels,e=>e.tableStyleGalleryButtonModels,e=>e.sliderModels,e=>e.compoundButtonModels,e=>e.changeColorsGalleryButtonModels,k,e=>e.labelModels,e=>e.personaButtonModels,e=>e.inputBoxModels,e=>e.promptInputModels],((e,t,r,n,o,i,a,s,l,u,c,d,p)=>({fontStyleGalleryButtonModels:e,iconGalleryButtonModels:t,listGalleryButtonModels:r,pageNumberGalleryButtonModels:n,tableStyleGalleryButtonModels:o,sliderModels:i,compoundButtonModels:a,changeColorsGalleryButtonModels:s,statefulSplitButtonModels:l,labelModels:u,personaButtonModels:c,inputBoxModels:d,promptInputModels:p}))),x=d([e=>e.inkFlyoutAnchorModels,e=>e.inkButtonModels,e=>e.fontPickerModels,e=>e.inkThicknessGalleryButtonModels,e=>e.errorViewModels,e=>e.multiActionButtonModels,e=>e.searchBoxModels,e=>e.fileLocationBreadcrumbModels],((e,t,r,n,o,i,a,s)=>({inkFlyoutAnchorModels:e,inkButtonModels:t,fontPickerModels:r,inkThicknessGalleryButtonModels:n,errorViewModels:o,multiActionButtonModels:i,searchBoxModels:a,fileLocationBreadcrumbModels:s}))),w=d([A,I,x],((e,t,r)=>({...e,...t,...r}))),P=d([b],(e=>e.reduce(((e,t)=>t.isVisible?[...e,t.tabId]:e),[]))),R=(d([P,y],((e,t)=>e.map((e=>({...L(t,e),id:e}))))),d([y],(e=>Object.keys(e).filter((t=>"contextual"===L(e,t).tabType&&t!==(0,f.h)().commandingSettings().getCopilotTabId()))))),D=(d([R,b],((e,t)=>e.filter((e=>e!==(0,f.h)().commandingSettings().getCopilotTabId()&&1===t.filter((t=>t.tabId===e&&t.isVisible)).length)))),d([v,y],((e,t)=>({...L(t,e),id:e})))),_=(d([e=>e.initialTabId,y],((e,t)=>({...L(t,e),id:e}))),d([P,y],((e,t)=>e.reduce(((e,r)=>{const n=L(t,r);return e.push(...n.controlGroupIds),e}),[]))),d([D,S,C,w],((e,t,r,n)=>B(e.controlGroupIds,t,r,n))),d([P,y,S],((e,t,r)=>e.reduce(((e,n)=>{const o=L(t,n);return e.push(..._(r,o)),e}),[]))),d([D,w,S,C,e=>e.topBarPeripheralControls,e=>e.tellMe,e=>e.ribbonMode,e=>e.shyModel],((e,t,r,o,i,a,s,l)=>{const u=(e=>[...E(e.nearPeripheralControls),...E(e.farPeripheralControls)])(i),c=M(u,t,o);return(0,m.C$)()&&l.isActive&&l.state===n.t.Collapsed?[...(0,f.h)().commandingSettings().isResponsiveUxEnabled()?c:[],...G(a)]:[...N(r,e,o,t,s),...c,...G(a)]})),d([w,C],((e,t)=>M(Object.keys(t),e,t))),(0,o.J9)(((e,t)=>t.controlGroupIds.reduce(((t,r)=>{const n=K(e,r);return t.push(...n.controlIds),t}),[])))),N=(0,o.J9)(((e,t,r,n,o)=>B(t.controlGroupIds,e,r,n).reduce(((t,i)=>{const a=K(e,i);return t.push(...M(a.controlIds,n,r)),"Multiline"===o&&a.groupLauncherId&&t.push(a.groupLauncherId),t}),[])));function O(e,t,r){const n=H(e,t,r);return p.Hv.shipAssertTag(594392640,h.n.msoulscat_Wac_Ribbon,void 0!==n,`Command with id '${r}' does not have a model associated with it`),!!n&&!!n.hidden}function M(e,t,r){return e.filter((e=>!O(t,r,e)))}function B(e=[],t,r,n){return e.filter((e=>!function(e,t,r,n){const o=K(e,t);return p.Hv.shipAssertTag(594392641,h.n.msoulscat_Wac_Ribbon,void 0!==o,`Id with '${t}' does not have a control group associated with it`),!!o&&!!o.hidden||!function(e,t,r){return e.some((e=>!O(t,r,e)))}(o.controlIds,n,r)}(t,e,r,n)))}function L(e,t){const r=e[t];return p.Hv.shipAssertTag(594392644,h.n.msoulscat_Wac_Ribbon,void 0!==r,`Tab with id '${t}' does not exist`),r}function K(e,t){const r=e[t];return p.Hv.shipAssertTag(594392648,h.n.msoulscat_Wac_Ribbon,void 0!==r,`Control Group with id '${t}' does not exist`),r}let W=!1;function H(e,t,r){const n=function(e,t){const r=e[t];if(!W&&(W=!0,p.Hv.shipAssertTag(594392649,h.n.msoulscat_Wac_Ribbon,void 0!==r,`Control with id '${t}' does not exist`),!r)){const e=(new Error).stack;p.Hv.sendTraceTag(526952066,h.n.msoulscat_Wac_Ribbon,g.k.Error,`Attempting to call getControlById before store is ready. Callstack:\n${e}`)}return r}(t,r);let o;if(n)switch(n.modelType){case"TellMe":case"CoauthorGallery":case"PeopleWell":case"DocumentTitleModel":case"MRUCompoundButtonModel":case"FileMenu":case"CustomTemplateModel":case"NewBlankDocumentModel":case"SyncStatus":break;case"ButtonModel":o=e.buttonModels[r];break;case"InkButtonModel":o=e.inkButtonModels[r];break;case"ToggleButtonModel":o=e.toggleButtonModels[r];break;case"FlyoutAnchorModel":o=e.flyoutAnchorModels[r];break;case"InkFlyoutAnchorModel":o=e.inkFlyoutAnchorModels[r];break;case"ComboBoxModel":o=e.comboBoxModels[r];break;case"CheckboxModel":o=e.checkboxModels[r];break;case"SplitButtonModel":o=e.splitButtonModels[r];break;case"ColorPickerModel":o=e.colorPickerModels[r];break;case"SpinButtonModel":o=e.spinButtonModels[r];break;case"InsertTableModel":o=e.insertTableModels[r];break;case"GalleryModel":o=e.galleryModels[r];break;case"PreviewGalleryModel":o=e.previewGalleryModels[r];break;case"CharacterCodeGalleryButtonModel":o=e.characterCodeGalleryButtonModels[r];break;case"FontStyleGalleryButtonModel":o=e.fontStyleGalleryButtonModels[r];break;case"InkThicknessGalleryButtonModel":o=e.inkThicknessGalleryButtonModels[r];break;case"IconGalleryButtonModel":o=e.iconGalleryButtonModels[r];break;case"ListGalleryButtonModel":o=e.listGalleryButtonModels[r];break;case"PageNumberGalleryButtonModel":o=e.pageNumberGalleryButtonModels[r];break;case"TableStyleGalleryButtonModel":o=e.tableStyleGalleryButtonModels[r];break;case"SliderModel":o=e.sliderModels[r];break;case"CompoundButtonModel":o=e.compoundButtonModels[r];break;case"ChangeColorsGalleryButtonModel":o=e.changeColorsGalleryButtonModels[r];break;case"StatefulSplitButtonModel":o=e.statefulSplitButtonModels[r];break;case"LabelModel":o=e.labelModels[r];break;case"PersonaButtonModel":o=e.personaButtonModels[r];break;case"InputBoxModel":o=e.inputBoxModels[r];break;case"FontPickerModel":o=e.fontPickerModels[r];break;case"ErrorViewModel":o=e.errorViewModels[r];break;case"MultiActionButtonModel":o=e.multiActionButtonModels[r];break;case"SearchBoxModel":o=e.searchBoxModels[r];break;case"FileLocationBreadcrumbModel":o=e.fileLocationBreadcrumbModels[r];break;case"PromptInputModel":o=e.promptInputModels[r];break;default:return(0,i.x)(n.modelType)}return p.Hv.shipAssertTag(594392666,h.n.msoulscat_Wac_Ribbon,void 0!==o,`Default model for control '${r}' does not exist`),o}function G(e){const t=[];return e.expanded&&e.menuModel&&t.push(...(0,a.Bq)(e.menuModel.sections.map((e=>e.controlIds)))),t}},44020:(e,t,r)=>{"use strict";r.r(t),r.d(t,{uiStore:()=>rr});var n=r(84394),o=r(80338);function i(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(o){return"function"==typeof o?o(r,n,e):t(o)}}}}var a=i();a.withExtraArgument=i;const s=a;var l=r(29305);const u="AddControls",c="AddRibbonTab",d="AddRibbonTabAfterTab",p="AddRibbonTabBeforeTab",h="AddRibbonTabAtPosition",g="ToggleButton",m="UpdateControlEnabledDisabledState",f="SetControlIcon",v="SetControlLabel",b="SetControlCustomTooltip",y="SetButtonCommandValueId",S="RemoveRibbonTab",C="UpdateGallerySelectedId",T="UpdateTellMeSearchResults",k="UpdateMenu",F="UpdateControlHiddenState",E="UpdateSplitButtonPrimaryDisabledStateAction",A="UpdateIconColor",I="SetControlLanguageActionType",x="HideFlyoutAnchorIconActionType",w="SetRibbonMode",P="ResetTabsActionType",R="SetControlIconSetActionType",D="SetButtonSecondaryTextActionType",_="SetKeyShortcutsActionType",N="UpdateSharingStatusIndicatorActionType",O="UpdateInstantStylingControlsActionType";var M=r(36141);function B(e,t,r){const n=e[t];if(void 0===n)return e;const o={...n,...r(n)};return{...e,[t]:o}}function L(e,t){switch(e.type){case"GalleryToFlyout":case"DropLabel":case"DropPreviewItemFromGallery":case"MoveToOverflow":return e.controlId!==t;case"ChangeGroupLayout":case"GroupToFlyout":case"MoveGroupToSingleOverflow":return e.groupId!==t}return!0}var K=r(55579),W=r(97308);function H(e,t,r){const n=(0,M.SL)(e,(e=>e.tabId===t)),o=e[n];return o&&o.isVisible!==r?(o.cacheVisibility&&(0,K.oW)(t,r),(0,M.fx)(e,{...o,isVisible:r},n)):e}var G=r(26627),z=r.n(G);function U(e,t){return{type:e,payload:t}}function V(e,t){return JSON.stringify(e)===JSON.stringify(t)}var j=r(37289);function q(e,t){const r=e[t.payload.commandId];if(r&&r.iconSet&&r.iconSet.default!==t.payload.iconSet.default){const r={...e[t.payload.commandId],iconSet:t.payload.iconSet};return{...e,[t.payload.commandId]:r}}return e}function $(e,t){const r=e[t.payload.commandId];if(r&&r.customTooltip!==t.payload.customTooltip){const r={...e[t.payload.commandId],customTooltip:t.payload.customTooltip};return{...e,[t.payload.commandId]:r}}return e}function Q(e){return(t,r)=>{switch(r.type){case u:return function(e,t,r){const n=t.payload.models.filter((e=>e.type===r));if(n.length>0){const t={...e};let r=!1;if(n.forEach((e=>{const n=t[e.id];n&&V(n,e)||(r=!0,t[e.id]=e)})),r)return t}return e}(t,r,e);case m:return function(e,t){const r=e[t.payload.commandId];if(r&&r.disabled!==t.payload.disabled){const r={...e[t.payload.commandId],disabled:t.payload.disabled};return{...e,[t.payload.commandId]:r}}return e}(t,r);case f:return q(t,r);case v:return function(e,t){const r=e[t.payload.commandId];if(r&&r.label!==t.payload.label){const r={...e[t.payload.commandId],label:t.payload.label};return{...e,[t.payload.commandId]:r}}return e}(t,r);case b:return $(t,r);case k:return function(e,t){const r=e[t.payload.commandId];if(r){const n=r.menuModel,o={...e[t.payload.commandId],menuModel:(0,W.nI)()&&n&&t.payload.useExistingProps?{...n,...t.payload.menuModel}:t.payload.menuModel};return{...e,[t.payload.commandId]:o}}return e}(t,r);case F:return function(e,t){const{hidden:r,commandId:n}=t.payload,o=e[n];if(o&&o.hidden!==r){o.cacheVisibility&&(0,K.oW)(n,!r);const t={...e[n],hidden:r};return{...e,[n]:t}}return e}(t,r);case _:return function(e,t){const r=e[t.payload.commandId];if(r&&r.keyShortcuts!==t.payload.keyShortcuts){const n={...r,keyShortcuts:t.payload.keyShortcuts};return{...e,[t.payload.commandId]:n}}return e}(t,r);case N:return function(e,t){let r=U(f,{commandId:t.payload.controlId,iconSet:{default:(0,W.SE)()&&(0,W.$7)()?z().ShareArrow_16:z().SharingSet_Start_GlyphWord_16}}),n=U(b,{commandId:t.payload.controlId,customTooltip:void 0});t.payload.isDocumentShared&&(r=U(f,{commandId:t.payload.controlId,iconSet:{default:z().PeopleSharedIcon_16}}),n=U(b,{commandId:t.payload.controlId,customTooltip:OfficeCommonStringsManager.get(j.xf.SharedFileStatusTooltip)}));return $(q(e,r),n)}(t,r)}}}function X(e,t){const r=e[t.payload.controlId];if(r&&r.iconColor!==t.payload.iconColor){const r={...e[t.payload.controlId],iconColor:t.payload.iconColor};return{...e,[t.payload.controlId]:r}}return e}function Y(e,t){const r=e[t.payload.commandId];if(r&&r.secondaryText!==t.payload.secondaryText){const n={...r,secondaryText:t.payload.secondaryText};return{...e,[t.payload.commandId]:n}}return e}function J(e,t,r){const n=e[t];if(n){const o=r(),i=function(e,t){for(const r in t)if(t.hasOwnProperty(r)&&!V(t[r],e[r]))return!1;return!0}(n,o);if(!i)return{...e,[t]:{...n,...o}}}return e}const Z=Q("ButtonModel"),ee=Q("InkButtonModel"),te=Q("ToggleButtonModel"),re=Q("FlyoutAnchorModel"),ne=Q("InkFlyoutAnchorModel"),oe=Q("ComboBoxModel"),ie=Q("CheckboxModel"),ae=Q("SplitButtonModel"),se=Q("StatefulSplitButtonModel"),le=Q("ColorPickerModel"),ue=Q("SpinButtonModel"),ce=Q("InsertTableModel"),de=Q("SliderModel");var pe=r(53273);function he(e,t,r,n){return e>=0?(0,M.Ty)([...t],"Before"===r?e:e+1,n):t}function ge(e,t){if(e>=0){const r=[...t];return r.splice(e,1),r}return t}function me(e,t){if(t&&e>=0){const r=[...t];return r.splice(e,1),r}return t}function fe(e,t){return"CoauthorControl"===e.type?e.type===t.type:e.type===t.type&&e.id===t.id}const ve=Q("CharacterCodeGalleryButtonModel"),be=Q("FontStyleGalleryButtonModel"),ye=Q("InkThicknessGalleryButtonModel");var Se=r(69479),Ce=r(43113),Te=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};var ke=r(59006);const Fe=Q("FontPickerModel");function Ee(e,t){const{commandId:r,font:n}=t,o=e[r];if(!o)return e;const i=function(e,t,r){return function(e,t,r,n){if(n<0)throw new Error("Invalid value for maximuNumberOfEntries parameter.");if(0===n)return[];var o=function(e,t,r){var n,o;if("string"==typeof e){if(void 0===(o=(0,Se.d)(e,t,r)))return{name:e,mruKey:e,variantType:"missing"}}else o=e;return(0,Ce.Dy)(o)?o:(0,Ce.qy)(o)?{name:o.name,mruKey:o.fontKey,fontFamilyKey:o.fontKey,displayName:o.displayName,data:o.data}:{name:o.name,mruKey:o.variantKey,fontFamilyKey:o.parentKey,displayName:null!==(n=o.fullDisplayName)&&void 0!==n?n:o.displayName,data:o.data}}(e,t,r),i=r.findIndex((function(e){return e.name===o.name}));if(0===i)return r;var a=r.findIndex((function(e){return!(0,Ce.Fh)(e)}));if(-1===a&&(a=r.length),-1!==i){if(i<=a)return r;var s=r[i];return Te(Te(Te(Te([],r.slice(0,a),!0),[s],!1),r.slice(a,i),!0),r.slice(i+1),!0)}var l,u=n+a;return(l=r.slice(0,u-1)).splice(a,0,o),l}(e,t,r,ke.Y)}(n,o.fonts,o.mruList??[]);return J(e,r,(()=>({mruList:i})))}const Ae=Q("IconGalleryButtonModel"),Ie=Q("ListGalleryButtonModel"),xe=Q("PageNumberGalleryButtonModel"),we=Q("TableStyleGalleryButtonModel");var Pe=r(63943),Re=r(76071);const De=Q("GalleryModel");function _e(e,t,r){return(0,M.fx)(e,r,t)}const Ne=Q("PreviewGalleryModel"),Oe=Q("CompoundButtonModel"),Me=Q("ChangeColorsGalleryButtonModel"),Be=Q("LabelModel"),Le=Q("PersonaButtonModel"),Ke=Q("InputBoxModel");var We=r(65553),He=r(73653),Ge=r(21632);const ze=e=>(0,He.gK)(e)?(0,Ge.isChangeGateEnabled)(e):(0,He.ck)(e)?(0,He.iP)((0,He.TQ)(e),!1):(0,He.G7)(e);let Ue,Ve=0;const je=Q("ErrorViewModel"),qe=Q("MultiActionButtonModel"),$e=Q("SearchBoxModel"),Qe=Q("FileLocationBreadcrumbModel"),Xe=Q("PromptInputModel"),Ye={controlsById:function(e={},t){return t.type===u?function(e={},t){let r=!1;const n={...e};return t.payload.models.forEach((e=>{n[e.id]&&(0,l.ab)(n[e.id],{modelType:e.type})||(r=!0,n[e.id]={modelType:e.type})})),r?n:e}(e,t):e},errorViewModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case F:return je(e,t);default:return e}},groupsById:function(e={},t){switch(t.type){case"AddControlGroup":return{...e,[t.payload.groupId]:t.payload.controlGroup};case"AddControlToControlGroup":const r=e[t.payload.groupId];return r?{...e,[t.payload.groupId]:{...r,controlIds:[...r.controlIds,t.payload.controlId]}}:e;case"RemoveControlFromControlGroup":{const r=e[t.payload.groupId];return r?{...e,[t.payload.groupId]:{...r,controlIds:r.controlIds.filter((e=>e!==t.payload.controlId))}}:e}case"UpdateGroupHiddenState":{const r=e[t.payload.groupId];return r?{...e,[t.payload.groupId]:{...r,hidden:t.payload.hidden}}:e}case"UpdateControlGroupLayoutActionType":{const r=e[t.payload.groupId];return r?{...e,[t.payload.groupId]:{...r,layouts:t.payload.layouts,responsiveLayout:t.payload.responsiveLayout}}:e}case"UpdateControlsInGroupActionType":{const r=e[t.payload.groupId];return r?{...e,[t.payload.groupId]:{...r,controlIds:[...t.payload.controlIds]}}:e}default:return e}},tabsById:function(e={},t){switch(t.type){case c:case p:case d:case h:return{...e,[t.payload.tabId]:t.payload.tab};case"AddControlGroupToTab":return B(e,t.payload.tabId,(e=>({controlGroupIds:[...e.controlGroupIds,t.payload.groupId]})));case"RemoveControlGroupFromTab":return B(e,t.payload.tabId,(e=>({controlGroupIds:e.controlGroupIds.filter((e=>e!==t.payload.groupId))})));case S:return r=e,n=t.payload.tabId,r.hasOwnProperty(n)?Object.keys(r).reduce(((e,t)=>(t!==n&&(e[t]=r[t]),e)),{}):r;case"AddScalingStepInTab":return B(e,t.payload.tabId,(e=>({scalingSteps:void 0===t.payload.index||null===t.payload.index?[...e.scalingSteps??[],t.payload.scalingStep]:(0,M.Ty)(e.scalingSteps||[],t.payload.index,t.payload.scalingStep)})));case"AddInitialScalingStepInTab":return B(e,t.payload.tabId,(e=>({initialScalingSteps:void 0===t.payload.index||null===t.payload.index?[...e.initialScalingSteps??[],t.payload.initialScalingStep]:(0,M.Ty)(e.initialScalingSteps||[],t.payload.index,t.payload.initialScalingStep)})));case"RemoveControlScalingStepsFromTab":return B(e,t.payload.tabId,(e=>{return{scalingSteps:(r=e.scalingSteps||[],n=t.payload.controlId,r.reduce(((e,t)=>{if(Array.isArray(t)){const r=t.filter((e=>L(e,n)));e.push(r)}else L(t,n)&&e.push(t);return e}),[]))};var r,n}));case"UpdateTabDefinition":return B(e,t.payload.tabId,(e=>t.payload.newState));case P:return{};default:return e}var r,n},ribbonTabs:function(e=[],t){if(t.type===c||t.type===p||t.type===d||t.type===h){let r=!1;(0,W.UM)()&&t.payload.tab.cacheVisibility&&(0,K.IG)(t.payload.tabId)&&(r=!0);const n={tabId:t.payload.tabId,isVisible:!("contextual"===t.payload.tab.tabType||"addInMissingTab"===t.payload.tab.tabType)||r,cacheVisibility:t.payload.tab.cacheVisibility};(0,W.AP)()&&t.payload.tab.cacheVisibility&&(n.isVisible=(0,W.CL)(t.payload.tabId));let o=e.length;switch(t.type){case d:o=(0,M.SL)(e,(e=>e.tabId===t.payload.insertAfter)),o=-1===o?e.length:o+1;break;case p:o=(0,M.SL)(e,(e=>e.tabId===t.payload.insertBefore)),o=-1===o?e.length:o;break;case h:o=t.payload.position}return(0,M.Ty)(e,o,n)}switch(t.type){case P:return[];case"ActivateRibbonTab":return H(e,t.payload.tabId,!0);case"DeactivateRibbonTab":return H(e,t.payload.tabId,!1);case S:{const r=(0,M.SL)(e,(e=>e.tabId===t.payload.tabId));return-1===r?e:(0,M.xR)(e,r)}default:return e}},ribbonMode:function(e="SingleLine",t){return t.type===w?t.payload.ribbonMode:e},selectedTabId:function(e="",t){return"SetCurrentTab"===t.type?t.payload.tabId:e},initialTabId:function(e="",t){return"SetInitialTab"===t.type?t.payload.tabId:e},fileMenuLauncher:function(e={labelText:"",expanded:!1},t){switch(t.type){case"CreateFileMenuLauncher":return{...t.payload.fileMenuLauncher};case"UpdateFileMenuExpandedValueAction":return{...e,expanded:t.payload.expanded};case"UpdateFileMenuDisabledValueAction":return{...e,disabled:t.payload.disabled};case"UpdateFileMenuHiddenValueAction":return{...e,hidden:t.payload.hidden};default:return e}},topBarPeripheralControls:function(e={nearPeripheralControls:[],farPeripheralControls:[],peripheralOverflowControls:[]},t){switch(t.type){case"UpdateCatchUpEntryPointsActionType":const r=(0,M.SL)(e.farPeripheralControls,(e=>"CatchUpEntryPointControl"===e.type));if(r>=0){const n=[...e.farPeripheralControls];let o=n[r];return o={...o,catchUpEntryPoint:{...o.catchUpEntryPoint,...t.payload.catchUpEntryPoint}},{...e,farPeripheralControls:(0,M.fx)(n,o,r)}}return e;case"UpdatePeripheralControlsActionType":return{...e,...t.payload};case"UpdatePeopleWell":const n=(0,M.SL)(e.farPeripheralControls,(e=>"CoauthorControl"===e.type));if(n>=0){const r=[...e.farPeripheralControls];let o=r[n];return o={...o,peopleWell:{...o.peopleWell,...t.payload.peopleWell}},{...e,farPeripheralControls:(0,M.fx)(r,o,n)}}return e;case"AddPeripheralControlActionType":return function(e,t,r,n){const o=(0,M.SL)(e.nearPeripheralControls,(e=>fe(e,r))),i=(0,M.SL)(e.farPeripheralControls,(e=>fe(e,r)));return o>=0||i>=0?{...e,nearPeripheralControls:he(o,e.nearPeripheralControls,n,t),farPeripheralControls:he(i,e.farPeripheralControls,n,t)}:e}(e,t.payload.control,t.payload.relativeControl,t.payload.relativePlacement);case"AddPeripheralControlToOverflowActionType":return function(e,t){if((0,pe.h)().peripheralControlsSettings().isPeripheralOverflowScalingEnabled()){const r=[...e.peripheralOverflowControls??[],t];return{...e,peripheralOverflowControls:r}}return e}(e,t.payload.control);case"AddPeripheralScalingStepActionType":return function(e,t,r,n){if(e.scalingSteps){const o=(0,M.SL)(e.scalingSteps,(e=>{return n=r,"DropLabel"===(t=e).type?t.type===n.type&&t.controlId===n.controlId:t.type===n.type;var t,n}));if(o>=0)return{...e,scalingSteps:(0,M.Ty)([...e.scalingSteps],"Before"===n?o:o+1,t)}}return e}(e,t.payload.step,t.payload.relativeStep,t.payload.relativePlacement);case"RemovePeripheralControlActionType":return function(e,t){const r=(0,M.SL)(e.nearPeripheralControls,(e=>"CoauthorControl"!==e.type&&e.id===t)),n=(0,M.SL)(e.farPeripheralControls,(e=>"CoauthorControl"!==e.type&&e.id===t)),o=e.scalingSteps?(0,M.SL)(e.scalingSteps,(e=>"DropLabel"===e.type&&e.controlId===t)):-1;return r>=0||n>=0||o>=0?{...e,scalingSteps:me(o,e.scalingSteps),nearPeripheralControls:ge(r,e.nearPeripheralControls),farPeripheralControls:ge(n,e.farPeripheralControls)}:e}(e,t.payload.controlId);default:return e}},buttonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case F:case N:case _:return Z(e,t);case A:return X(e,t);case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case y:return J(e,t.payload.commandId,(()=>({commandValueId:t.payload.commandValueId})));case I:return J(e,t.payload.commandId,(()=>({lang:t.payload.lang})));case D:return Y(e,t);default:return e}},inkButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case F:return ee(e,t);case A:return X(e,t);case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));default:return e}},toggleButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case F:case _:return te(e,t);case A:return X(e,t);case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case D:return Y(e,t);default:return e}},flyoutAnchorModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case k:case F:case _:case N:return re(e,t);case A:return X(e,t);case I:return J(e,t.payload.commandId,(()=>({lang:t.payload.lang})));case x:return J(e,t.payload.controlId,(()=>({hideIcon:t.payload.hideIcon})));case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case D:return Y(e,t);default:return e}},inkFlyoutAnchorModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case k:case F:return ne(e,t);case A:return X(e,t);case I:return J(e,t.payload.commandId,(()=>({lang:t.payload.lang})));case x:return J(e,t.payload.controlId,(()=>({hideIcon:t.payload.hideIcon})));case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));default:return e}},comboBoxModels:function(e={},t){switch(t.type){case u:case m:case v:case b:case F:return oe(e,t);case"PopulateComboBoxOptions":return J(e,t.payload.commandId,(()=>({options:t.payload.options})));case"UpdateComboBoxSelectedKey":return J(e,t.payload.commandId,(()=>({selectedKey:t.payload.key,value:void 0})));case"UpdateComboBoxDisplayValue":return J(e,t.payload.commandId,(()=>({value:t.payload.value,selectedKey:void 0})));case"UpdateComboBoxFreeForm":return J(e,t.payload.commandId,(()=>({allowFreeform:t.payload.allowFreeform})));default:return e}},checkboxModels:function(e={},t){switch(t.type){case u:case m:case v:case b:case F:return ie(e,t);case"ToggleCheckbox":return J(e,t.payload.commandId,(()=>({checked:t.payload.checked})));default:return e}},splitButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case k:case F:return ae(e,t);case A:return X(e,t);case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));case E:return J(e,t.payload.commandId,(()=>({primaryDisabled:t.payload.primaryDisabled})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));default:return e}},colorPickerModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return le(e,t);case"PopulateColorPickerCells":return J(e,t.payload.commandId,(()=>({colorCells:t.payload.colorCells})));case"UpdateColorPickerSelectedColor":return J(e,t.payload.commandId,(()=>({selectedColorId:t.payload.selectedColorId})));default:return e}},spinButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case F:return ue(e,t);case A:return X(e,t);case"UpdateSpinButtonValue":return J(e,t.payload.commandId,(()=>({value:t.payload.value,unitType:t.payload.unitType,validUnits:t.payload.validUnits,reservedValue:t.payload.reservedValue,label:t.payload.label})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));default:return e}},insertTableModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return ce(e,t);default:return e}},fontPickerModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return Fe(e,t);case"PopulateFontPickerData":return J(e,t.payload.commandId,(()=>{const{fonts:e,mruList:r,isSubscriber:n,previewFontFamily:o,initialPinnedFontKeys:i,suggestedFontKeys:a,shouldShowSegregatedView:s}=t.payload;return{fonts:e,mruList:r,isSubscriber:n,previewFontFamily:o,initialPinnedFontKeys:i,suggestedFontKeys:a,shouldShowSegregatedView:s}}));case"UpdateFontPickerLicenseState":return J(e,t.payload.commandId,(()=>({isSubscriber:t.payload.isSubscriber})));case"UpdateFontPickerSelectedFont":return J(e,t.payload.commandId,(()=>({selectedFont:t.payload.selectedFont})));case"AddFontToMru":return Ee(e,t.payload);case"UpdatePinnedFontsActionType":return J(e,t.payload.commandId,(()=>({initialPinnedFontKeys:t.payload.pinnedFontKeys.slice()})));default:return e}},sliderModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return de(e,t);case"UpdateSliderValue":return J(e,t.payload.commandId,(()=>({value:t.payload.value,min:t.payload.min,max:t.payload.max,text:t.payload.text})));case"UpdateSliderSelectedValue":return J(e,t.payload.commandId,(()=>({value:t.payload.value})));default:return e}},characterCodeGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return ve(e,t);default:return e}},fontStyleGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return be(e,t);case"HighlightSelectedFontStyle":return J(e,t.payload.selectedId,(()=>{const r=e[t.payload.selectedId];return r?.styleDisplayName.endsWith("*")?e:{styleDisplayName:r?.styleDisplayName+"*"}}));default:return e}},inkThicknessGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return ye(e,t);default:return e}},iconGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:case b:return Ae(e,t);case f:return J(e,t.payload.commandId,(()=>({icon:[t.payload.iconSet.default]})));default:return e}},listGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return Ie(e,t);default:return e}},pageNumberGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return xe(e,t);case"UpdatePageNumberGalleryButtonText":return J(e,t.payload.commandId,(()=>({text:t.payload.text})));default:return e}},tableStyleGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return we(e,t);default:return e}},compoundButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case F:return Oe(e,t);case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));case"UpdateCompoundButtonDescriptionAction":return J(e,t.payload.commandId,(()=>({description:t.payload.description})));case I:return J(e,t.payload.commandId,(()=>({lang:t.payload.lang})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case"SetCompoundButtonCommandValueId":return J(e,t.payload.commandId,(()=>({commandValueId:t.payload.commandValueId})));default:return e}},galleryModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return De(e,t);case C:return J(e,t.payload.commandId,(()=>({selectedId:t.payload.selectedId?t.payload.selectedId:void 0})));case"SetGalleryStylesType":{const r=e[t.payload.commandId];return r?J(e,t.payload.commandId,(()=>({styles:{...r.styles,...t.payload.styles}}))):e}case"UpdateGallerySectionItemsAction":{const r=e[t.payload.commandId];if(r&&r.sections){let n=[];const o=(0,M.SL)(r.sections,(e=>e.id===t.payload.sectionId));return Pe.Hv.shipAssertTag(589108872,Re.n.msoulscat_Wac_Ribbon,-1!==o,"There is not existing section with that id to update."),n=_e(r.sections,o,{...r.sections[o],galleryButtons:t.payload.items}),{...e,[t.payload.commandId]:{...r,sections:n}}}return e}case"UpdateGallerySectionHiddenState":{const r=e[t.payload.commandId];if(r&&r.sections){let n=[];const o=(0,M.SL)(r.sections,(e=>e.id===t.payload.sectionId));return Pe.Hv.shipAssertTag(589108873,Re.n.msoulscat_Wac_Ribbon,-1!==o,"There is not existing section with that id to update."),n=_e(r.sections,o,{...r.sections[o],hidden:t.payload.hidden}),{...e,[t.payload.commandId]:{...r,sections:n}}}return e}case"UpdateListGalleryTextDirectionAction":{const r=e[t.payload.commandId];if(r&&function(e){return void 0!==e.multiLevel}(r)){const n=r;if(n.rtl!==t.payload.rtl){const r={...e};return r[t.payload.commandId]=function(e,t){return e.rtl!==t?{...e,rtl:t}:e}(n,t.payload.rtl),r}}return e}case"AddGallerySectionActionType":{const r=e[t.payload.galleryId];if(r){if((0,M.SL)(r.sections||[],(e=>e.id===t.payload.gallerySection.id))>-1)return e;let n=-1,o=r.sections||[];if(t.payload.referencePosition&&r.sections){const e=(0,M.SL)(r.sections,(e=>e.id===t.payload.referencePosition.gallerySectionId));n="Before"===t.payload.referencePosition.position?e:e+1,n<0&&(n=0),o=(0,M.Ty)(r.sections||[],n,t.payload.gallerySection)}else o.push(t.payload.gallerySection);return J(e,t.payload.galleryId,(()=>({sections:o})))}return e}case"SetGallerySectionsType":return e[t.payload.galleryId]?J(e,t.payload.galleryId,(()=>({sections:t.payload.gallerySections}))):e;default:return e}},previewGalleryModels:function(e={},t){switch(t.type){case u:case m:case v:case k:case F:return Ne(e,t);case C:return J(e,t.payload.commandId,(()=>({selectedId:t.payload.selectedId})));case"PopulateGalleryItems":return J(e,t.payload.commandId,(()=>({items:t.payload.items})));case"PopulatePreviewGalleryMenuItems":return J(e,t.payload.commandId,(()=>({menuModel:t.payload.menuModel})));case"ShowHidePreviewGalleryMenuType":return J(e,t.payload.commandId,(()=>({menuExpanded:t.payload.menuExpanded})));case R:return J(e,t.payload.commandId,(()=>({flyoutAnchorIconSet:t.payload.iconSet})));default:return e}},tellMe:function(e={id:"TellMeControl"},t){switch(t.type){case"CreateTellMe":return{...t.payload.tellMe};case"UpdateTellMeAriaLiveRegionTextAction":return{...e,ariaLiveRegionText:t.payload.ariaLiveRegionText};case"UpdateTellMeSearchText":return{...e,queryText:t.payload.queryText};case"UpdateTellMeEnableDisableState":return{...e,disabled:t.payload.disabled};case T:return{...e,menuModel:t.payload.menuModel,resultsQuery:t.payload.resultsQuery,isResultsComputationComplete:t.payload.isResultsComputationComplete};case"UpdateTellMePlaceholderText":return{...e,helpText:t.payload.helpText||e.helpText,helpTextOnFocus:t.payload.helpTextOnFocus||e.helpTextOnFocus};case F:return t.payload.commandId===e.id?{...e,hidden:t.payload.hidden}:e;case"UpdateTellMeExpandedStateAction":return{...e,expanded:t.payload.expanded};case"ResetTellMeState":return{...e,queryText:void 0,resultsQuery:void 0,menuModel:void 0,expanded:!1,isResultsComputationComplete:void 0};default:return e}},modeSwitcherModel:function(e={modeIcons:{View:"",Suggest:"",Edit:""},modeLabels:{View:"",Suggest:"",Edit:""}},t){switch(t.type){case"CreateModeSwitcher":return{...t.payload.modeSwitcher};case"UpdateModeSwitcher":return{...e,...t.payload.modeSwitcher};default:return e}},changeColorsGalleryButtonModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return Me(e,t);default:return e}},statefulSplitButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case b:case k:case F:return se(e,t);case A:return X(e,t);case E:return J(e,t.payload.commandId,(()=>({primaryDisabled:t.payload.primaryDisabled})));case"SetStatefulSplitButtonMenuItemsStatefulDataAction":return J(e,t.payload.commandId,(()=>({menuItemsStatefulData:t.payload.menuItemsStatefulData})));case"SetStatefulSplitButtonMruBypassControlsAction":return J(e,t.payload.commandId,(()=>({mruBypassControls:t.payload.mruBypassControls})));case"SetStatefulSplitButtonMruDataAction":return J(e,t.payload.controlId,(()=>({mruData:t.payload.mruData})));case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case g:return J(e,t.payload.commandId,(()=>({toggled:t.payload.toggled})));default:return e}},ribbonInitializationState:function(e={},t){return"UpdateRibbonInitializationStateAction"===t.type?{...e,...t.payload}:e},labelModels:function(e={},t){switch(t.type){case u:case f:case v:case b:case F:case m:return Be(e,t);case A:return X(e,t);case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case"SetSecondaryLabel":return J(e,t.payload.commandId,(()=>({secondaryLabel:t.payload.secondaryLabel})));case"SetLinkInfo":return J(e,t.payload.commandId,(()=>({linkInfo:t.payload.linkInfo})));case I:return J(e,t.payload.commandId,(()=>({lang:t.payload.lang})));default:return e}},personaButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case F:return Le(e,t);case A:return X(e,t);case y:return J(e,t.payload.commandId,(()=>({commandValueId:t.payload.commandValueId})));case"SetPersonaButtonCoauthorActionType":return J(e,t.payload.commandId,(()=>({personaInfo:t.payload.personaInfo,label:t.payload.label,secondaryText:t.payload.secondaryText,disabled:!1})));case"UpdatePersonaButtonLPCEnabledDisabledState":return J(e,t.payload.commandId,(()=>({disableLPCOpen:t.payload.disableLPCOpen})));default:return e}},inputBoxModels:function(e={},t){switch(t.type){case u:case m:case v:case b:case F:return Ke(e,t);case"UpdateInputBoxValue":return J(e,t.payload.commandId,(()=>({value:t.payload.value})));default:return e}},shyModel:function(e={isActive:!1},t){switch(t.type){case"SetShyStateActionType":return{...e,...t.payload.state};case"AddTaskPanesActionType":if((0,W.C$)())for(let r=0;r<t.payload.taskPanes.length;r+=1)if(!t.payload.taskPanes[r].isPaneAutoOpened)return{...e,state:We.t.Collapsed};return e;default:return e}},priEligibleControls:function(e=null,t){return"SetPRIEligibleControlsActionType"===t.type?new Set(t.payload.commandIds):e},instantStylingControlStates:function(e={},t){return t.type===O?0===Object.keys(t.payload.controlMap).length?t.payload.controlMap:{...e,...t.payload.controlMap}:e},idsBeingProcessed:function(e={},t){if(t.type===w&&(Ue=t.payload.ribbonMode),!Ue||!(0,W.pz)(Ue,ze))return e;const r=Ve>0?e:{};if(t.type===o.LB&&(Ve+=1),t.type===o.C2&&(Ve=Math.max(Ve-1,0)),!t.payload)return e;const n=t.payload.commandId||t.payload.controlId||t.payload.groupId||t.payload.TabId||void 0;if(n)return{...r,[`${n}`]:!0};if(t.payload.models){const e={};return t.payload.models.forEach((t=>{e[t.id]=t})),{...r,...e}}return r},multiActionButtonModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case F:return qe(e,t);case R:return J(e,t.payload.commandId,(()=>({iconSet:t.payload.iconSet})));case y:return J(e,t.payload.commandId,(()=>({commandValueId:t.payload.commandValueId})));case"UpdateMultiActionButtonActionType":{const r=e[t.payload.id];return{...e,[t.payload.id]:{...r,...t.payload}}}default:return e}},responsiveUxModel:function(e={},t){return"SetResponsiveUxStateActionType"===t.type?{...e,...t.payload.state}:e},searchBoxModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case F:return $e(e,t);case"UpdateSearchBoxValueActionType":return J(e,t.payload.commandId,(()=>({value:t.payload.value})));case"UpdateSearchBoxResultAriaLiveTextActionType":return J(e,t.payload.commandId,(()=>({resultAriaLiveText:t.payload.text})));default:return e}},relevantSurfaces:function(e=null,t){return"SetRelevantSurfaces"===t.type?t.payload.surfaces:e},fileLocationBreadcrumbModels:function(e={},t){switch(t.type){case u:case m:case f:case v:case F:return Qe(e,t);case"SetFileLocationProps":return J(e,t.payload.commandId,(()=>({fileLocationInfo:t.payload.fileLocationInfo})));default:return e}},promptInputModels:function(e={},t){switch(t.type){case u:case m:case v:case F:return Xe(e,t);default:return e}}};var Je,Ze;!function(e){e[e.Waiting=0]="Waiting",e[e.Error=1]="Error",e[e.Success=2]="Success"}(Je||(Je={})),function(e){e[e.Unknown=1]="Unknown",e[e.Ribbon=2]="Ribbon",e[e.StatusBar=4]="StatusBar",e[e.TaskPane=8]="TaskPane",e[e.FileMenu=16]="FileMenu"}(Ze||(Ze={}));var et=r(18648);let tt,rt=0,nt=0;const ot=()=>0===rt&&0===nt,it={type:"SetRelevantSurfaces",payload:{surfaces:Ze.Unknown}},at=e=>e.getState().relevantSurfaces===Ze.Unknown,st=e=>t=>r=>{if(void 0===tt&&(tt=(0,et.getBooleanFeatureGate)("Microsoft.Office.Excel.RelevantSurfacesMapping")),!tt)return t(r);let n,i=!1;return r.type===o.D_?(ot()&&!at(e)&&(r.payload=[it,...r.payload]),rt+=1):r.type!==o.C2&&ot()&&(i=!0),i?(nt+=1,n=at(e)?t(r):t((0,o.OJ)([it,r])),nt-=1):n=t(r),r.type===o.D_&&(rt-=1),n};var lt=r(85963),ut=r(40844),ct=r(71782),dt=r(40556);const pt=window?.performance?.mark&&window?.performance?.measure,ht=!!window?.requestIdleCallback,gt=window?.document&&"visibilityState"in window.document,mt="visible",ft=()=>Ct=-1,vt="#";let bt,yt,St=0,Ct=-1,Tt=[],kt=!gt||window.document.visibilityState===mt,Ft=!1;const Et=()=>(yt=yt??((0,ct.p7)()?(0,ct.F9)(dt.Jf.perfMarkerThrottlingOverrideIsEnabled):(0,He.G7)(lt.PE.perfMarkerThrottlingOverrideIsEnabled)),yt),At=()=>{kt=window.document.visibilityState===mt},It=()=>{const e=pt&&(bt=bt??(0,W.D)(),bt);return!Ft&&e&>&&(window.document.addEventListener("visibilitychange",At),At(),Ft=!0),Et()||kt&&-1===Ct&&e},xt=e=>{const t=window.StatusBarMstpSelectors||{avg:0,total:0,min:0,max:0,entryCount:0},r=parseFloat((t.total+e.total).toFixed(4)),n=t.entryCount+e.entryCount;window.StatusBarMstpSelectors={avg:parseFloat((r/n).toFixed(4)),total:r,min:Math.min(t.min||e.min,e.min||0),max:Math.max(t.max||e.max,e.max||0),entryCount:n}},wt=e=>{const t=`${e}${vt}${St}${vt}`;return St+=1,t},Pt=(e,t)=>{((e,t)=>{if(!It())return;if(!t)return void window.performance.mark(`${e}Start`);window.performance.mark(`${e}End`);const r=`${e}${t}`;try{window.performance.measure(`${r}`,`${e}Start`,`${e}End`)}catch(e){}})(`${e}Dsph`,t)},Rt=()=>{It()&&((()=>{const e=window.performance.getEntriesByType("measure").filter((e=>e.name.startsWith(""))),t=e.concat(Tt);if(0===t.length)return;const r=performance.now(),n=()=>{let n=0;const o={};t.forEach((e=>{const t=parseFloat(e.duration.toFixed(4)),r=e.name.substr(1).replace(new RegExp(`${vt}\\d+${vt}`),"");if(o[r]){const e=o[r],n=parseFloat((e.total+t).toFixed(4)),i=e.entryCount+1;o[r]={avg:parseFloat((n/i).toFixed(4)),total:n,min:Math.min(e.min||t,t),max:Math.max(e.max||t,t),entryCount:i}}else o[r]={avg:t,total:t,min:t,max:t,entryCount:1};n+=t})),o.OVERALL={avg:parseFloat((n/e.length).toFixed(4)),total:parseFloat(n.toFixed(4)),entryCount:e.length};const i=()=>{const e=`[SL: ${Math.floor(r)}] ${JSON.stringify(o)}`;Et()?console.log(e):(Pe.Hv.sendTraceTag(570787850,Re.n.msoulscat_Wac_Ribbon,ut.k.Info,e),(0,W.tM)()&&o.StatusBarMstpSelectors&&xt(o.StatusBarMstpSelectors))};ht?window.requestIdleCallback(i):i()};ht?window.requestIdleCallback(n):n(),(e=>{Tt=[],e.forEach((e=>{performance.clearMeasures(e.name)}))})(e)})(),Et()||(Ct=window.setTimeout(ft,1e4*-Math.log(1-Math.random()))))};let Dt=0,_t=0;const Nt=e=>{Pt(`${e}JS`,"Rdcrs_JS"),window?.queueMicrotask?.((()=>{Pt(e,"FullJS")})),Pt(`${e}Raf`),window.requestAnimationFrame((()=>{Pt(`${e}Raf`,"JS_RAF"),Pt(`${e}Pnt`),window.setTimeout((()=>{Pt(`${e}Pnt`,"RAF_Pnt"),Pt(e,"EndToEnd"),Rt()}),0)}))},Ot=()=>0===Dt&&0===_t;function Mt(e){return e=>{let t="";return r=>{let n=!1;r.type===o.D_?(Ot()&&(t=wt("Ba"),Pt(t)),Dt+=1):r.type===o.C2&&1===Dt&&0===_t?(Pt(t,"Rdcrs"),Pt(`${t}JS`)):Ot()&&(t=wt("Sa"),n=!0,Pt(t)),n&&(Pt(`${t}JS`),_t+=1);const i=e(r);return n&&(_t-=1,Nt(t)),r.type===o.C2?1===Dt&&Nt(t):r.type===o.D_&&(Dt-=1),i}}}r(15600);function Bt(){return""}const Lt=()=>e=>t=>(t.type===T&&(0,W.nC)()&&!(0,W.xN)()&&{menu:t.payload.menuModel,query:t.payload.resultsQuery,isResultsComputationComplete:t.payload.isResultsComputationComplete,getCorrelationId:Bt},e(t)),Kt=new class{getReducersMap(){return this._reducersMapObject}register(e,t){this._reducersMapObject={...this._reducersMapObject,[e]:t},this._replaceReducerInStoreFunc(this._reducersMapObject)}runOnEveryReducerAdded(e){this._replaceReducerInStoreFunc=e}constructor(e={}){this._reducersMapObject=e,this._replaceReducerInStoreFunc=e=>{}}}(Ye);let Wt;function Ht(e){const t={controlsById:{},tabsById:{},groupsById:{},ribbonTabs:[],selectedTabId:"",initialTabId:"",fileMenuLauncher:{labelText:""},buttonModels:{},inkButtonModels:{},toggleButtonModels:{},flyoutAnchorModels:{},inkFlyoutAnchorModels:{},comboBoxModels:{},checkboxModels:{},splitButtonModels:{},colorPickerModels:{},spinButtonModels:{},sliderModels:{},insertTableModels:{},galleryModels:{},previewGalleryModels:{},characterCodeGalleryButtonModels:{},fontStyleGalleryButtonModels:{},inkThicknessGalleryButtonModels:{},iconGalleryButtonModels:{},listGalleryButtonModels:{},pageNumberGalleryButtonModels:{},tableStyleGalleryButtonModels:{},compoundButtonModels:{},topBarPeripheralControls:{nearPeripheralControls:[],farPeripheralControls:[],peripheralOverflowControls:[]},tellMe:{id:""},changeColorsGalleryButtonModels:{},statefulSplitButtonModels:{},ribbonInitializationState:{},documentTitle:{},floatieGroupModels:{},activeFloatieGroups:[],contextMenuModel:{},taskPaneDataModel:{taskPaneModels:{},leftTaskPanes:[],rightTaskPanes:[]},contextualUILayoutModel:{},fontPickerModels:{},fileMenu:{template:{status:Je.Waiting},mru:{status:Je.Waiting}},modeSwitcherModel:{modeIcons:{View:"",Suggest:"",Edit:""},modeLabels:{View:"",Suggest:"",Edit:""}},statusBarModels:{},messageBar:{},dictationFloatieModel:{dictationFloatieGroupModels:{},hidden:!0},ribbonMode:"SingleLine",labelModels:{},inputBoxModels:{},syncStatus:{id:"",label:"",controlStatus:{syncStatus:"",autoShowCallout:!1},calloutContent:{}},personaButtonModels:{},shyModel:{isActive:!1},presentModeFloatieModel:{presentModeFloatieGroupModel:{}},priEligibleControls:null,instantStylingControlStates:{},idsBeingProcessed:{},errorViewModels:{},multiActionButtonModels:{},responsiveUxModel:{},searchBoxModels:{},relevantSurfaces:null,fileLocationBreadcrumbModels:{},promptInputModels:{}},r=Object.keys(t).reduce(((t,r)=>(e.hasOwnProperty(r)?t[r]=e[r]:t[r]=(e=null)=>e,t)),{});return(0,n.HY)(r)}function Gt(e){return U(O,{controlMap:e})}var zt=r(47829),Ut=r(33640),Vt=r(47615),jt=r(78327);const qt=e=>{const t=$t(e);return(0,jt.v)(0===Object.keys(t).length,`Unsupported action: ${e.type}`),(0,jt.v)(!!e.payload?.commandId,`Missing CommandId on action: ${e.type}`),!0},$t=e=>{const t={};switch(e.type){case"UpdateControlEnabledDisabledState":t.disabled=e.payload.disabled;break;case"UpdateSplitButtonPrimaryDisabledStateAction":t.primaryDisabled=e.payload.primaryDisabled;break;case"ToggleButton":t.toggled=e.payload.toggled;break;case"ToggleCheckbox":t.checked=e.payload.checked}return t},Qt={ButtonModel:"button",FlyoutAnchorModel:"flyoutAnchor",SplitButtonModel:"splitButton",StatefulSplitButtonModel:"splitButton",ComboBoxModel:"comboBox",ToggleButtonModel:"toggleButton",SpinButtonModel:"spinButton",FontPickerModel:"fontPicker",PreviewGalleryModel:"previewGallery"},Xt=(e,t)=>{const r=Qt[e.type];if(!r)throw new Error(`Unsupported control type: ${e.type}`);return{type:r,id:t.payload.commandId,state:$t(t)}},Yt=e=>Object.keys((0,zt.G2)(e)).length>0;var Jt=r(65973),Zt=r.n(Jt);function er(e,t){1===t.length?e.dispatch(t[0]):t.length>0&&e.dispatch((0,o.OJ)(t))}let tr;const rr=Wt||function(e){Wt&&(Wt=void 0);const t=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||n.Zz)((0,n.Tw)(st,Mt,o.l5,s,Lt),o._y),r=Ht(Kt.getReducersMap());return Wt=(0,n.y$)(r,t),Kt.runOnEveryReducerAdded((e=>{Wt.replaceReducer(Ht(e))})),Wt}();tr=function(e){return(t,r)=>{if(!t)return;let n=Array.isArray(t)?t:[t];const o=n.length;if(n=function(e,t){if(!e||e.length<=0)return e;const r=function(e){const t=(0,zt.tU)(e),r={};for(const n in t)r[n]=(0,zt.HZ)((0,zt.zr)(e),e.controlsById,n);return r}(t.getState()),n=[],o=(0,W.sx)();return e.forEach((e=>{let t=!0;if(e){if(function(e){return"object"==typeof e&&e.hasOwnProperty("type")&&e.hasOwnProperty("payload")&&(e.payload.hasOwnProperty("commandId")||e.payload.hasOwnProperty("controlId"))}(e)){const i=new Map(Object.entries(e.payload)),a=i.has("commandId")?"commandId":"controlId",s=i.get(a);if(!s)return;const u=r[s];if(!u||!o&&"Share"===s)return void n.push(e);i.delete(a);const c=i.entries();let d=c.next();for(t=!1;!t&&!d.done;){const e=d.value[0],r=d.value[1],n=u[e];n===r||!(null===n||null===r)&&"object"==typeof n&&"object"==typeof r&&(0,l.ab)(n,r)||(t=!0),d=c.next()}}else if(e.type===u){const n=e.payload?.models;n&&(t=n.find((e=>!e.id||!r[e.id]||!Zt()(e,r[e.id]))))}t&&n.push(e)}})),n}(n,e),Pe.Hv.sendTraceTag(579350612,Re.n.msoulscat_Wac_Ribbon,ut.k.Info,`React Ribbon dispatch actions filtered : ${o-n.length} total Actions : ${o}`),0!==n.length){try{(e=>(0,W.tk)()&&e.every((e=>qt(e))))(n)?(n.push(Gt(((e,t)=>{const r={};return e.forEach((e=>{r[e.payload.commandId]={...r[e.payload.commandId],...Xt((0,zt.HZ)((0,zt.zr)(t),t.controlsById,e.payload.commandId),e)}})),r})(n,e.getState()))),((0,Ut.N)()?window.requestIdleCallback:Vt.z)((()=>{Yt(e.getState())&&er(e,[Gt({})])})),Pe.Hv.sendTraceTag(512345540,Re.n.msoulscat_Wac_Ribbon,ut.k.Info,"The Instant Ribbon Updates optimization has been applied")):Yt(e.getState())&&n.push(Gt({}))}catch(e){Pe.Hv.sendTraceTag(512345539,Re.n.msoulscat_Wac_Ribbon,ut.k.Info,`The Instant Ribbon Updates optimization was unable to run: ${e.message}`)}(0,W.D2)()&&n.length>0&&r&&n.push({type:"SetRelevantSurfaces",payload:{surfaces:r}}),er(e,n)}}}(rr)},22214:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(41875);function o(e){return(0,n.O)(e)}},97308:(e,t,r)=>{"use strict";r.d(t,{nI:()=>A,CL:()=>E,SE:()=>y,UM:()=>k,AP:()=>F,tk:()=>b,D2:()=>T,pz:()=>m,DL:()=>f,nC:()=>c,$7:()=>S,sx:()=>h,D:()=>g,C$:()=>p,sb:()=>C,tM:()=>v,xN:()=>d});var n=r(73653),o=r(69868),i=r(85963),a=r(21632),s=r(71782),l=r(40556),u=r(22214);function c(){return(0,n.G7)("ReactSharedHeaderIsEnabled")&&!(0,n.G7)("HideHeaderEmbedded")&&(0,n.G7)("SharedHeaderSearchBoxIsEnabled")}function d(){return(e=n.G7)("ReactSharedHeaderIsEnabled")&&!e("HideHeaderEmbedded")&&e("TellMeInSharedHeaderIsEnabled")&&!e("HideSearchInHeaderByUiHost");var e}function p(e){return(0,u.C)(e??n.G7)}function h(){return(0,s.p7)()?(0,s.F9)(l.Jf.shareMenuIsEnabled):(0,n.G7)("ShareMenuIsEnabled")}function g(){return(0,a.isChangeGateEnabled)("SharedOnline.ChangeGate.PerfMarkersIsEnabled")}function m(e,t,r){return(0,s.p7)()?(0,s.F9)((0,l.U6)(e,r)):!!(0,o.pz)(e,t,r)}function f(){return(0,n.iP)("Microsoft.Office.SharedOnline.RibbonInteractivityTrackerIntegration",!1)||(0,n.G7)("RibbonInteractivityTrackerIntegration")}function v(){return(0,a.isChangeGateEnabled)("SharedOnline.ChangeGate.StatusBarAggregateLogging")}function b(){return(0,s.p7)()?(0,s.F9)(l.Jf.isInstantRibbonUpdatesEnabled):(0,n.iP)("Microsoft.Office.SharedOnline.InstantRibbonUpdates",!1)}function y(){return(0,n.iP)("Microsoft.Office.SharedOnline.FluentIconsEnabled",!1)}function S(){return(0,a.isChangeGateEnabled)("SharedOnline.ChangeGate.ShareIconFix")}function C(){return(0,n.iP)("Microsoft.Office.SharedOnline.isStaticRibbonUiEnabled",!1)&&!!window.staticRibbon?.api}function T(){return(0,n.G7)("IsRelevantSurfacesMappingEnabled")}function k(){return(0,s.p7)()?(0,s.F9)(l.Jf.initCachedVisibilityTabStateEnabled):(0,a.isChangeGateEnabled)("SharedOnline.ChangeGate.InitCachedVisibilityTabStateEnabled")}function F(){return(0,s.F9)(l.Jf.initCachedVisibilityTabStateRefactorEnabled)}function E(e){return(0,s.F9)((0,l.o3)(e))}function A(){return(0,a.isChangeGateEnabled)(i.PE.programaticMenuOpensEnabled)}},55579:(e,t,r)=>{"use strict";r.d(t,{IG:()=>y,oW:()=>S});var n=r(78327),o=r(63943),i=r(76071),a=r(40844),s=r(97308);let l;const u=()=>(void 0!==l?l:l=(0,s.sb)())&&!!window.staticRibbon&&!!staticRibbon.api&&staticRibbon.api.isStaticRibbonVisible(),c=(e="StaticRibbonContainer",t=!0)=>{u()&&staticRibbon.api.renderStaticRibbon(document.getElementById(e),t)},d=(e,t)=>{u()&&staticRibbon.api.setTrimmedControlIds(t?[]:[e],t?[e]:[])};var p=r(21632);const h=1,g="controlVisibility",m={controls:{},version:h};let f,v=!1,b=!1;function y(e){return!!C().controls[e]}function S(e,t){if((0,p.isChangeGateEnabled)("OfficeVSO:9912045_ImproveStaticRibbonRerenderingFlow"))return void function(e){const t=(0,p.isChangeGateEnabled)("OfficeVSO:9912045_ImproveStaticRibbonRerenderingFlow"),r=(0,p.isChangeGateEnabled)("OfficeVSO:9934394_DecoupleRerenderingFromLocalStorageFlow"),n=()=>{t?l.length>0&&(l.forEach((e=>d(e.controlId,e.visible))),c()):e.some((e=>e.visible))&&c()},s=C(),l=[];t?e.forEach((e=>{(s.controls[e.controlId]??!1)!==e.visible&&(l.push(e),s.controls[e.controlId]=e.visible)})):e.forEach((e=>{s.controls[e.controlId]=e.visible})),f=s;try{const e=JSON.stringify(f);localStorage.setItem(g,e),localStorage.getItem(g)?o.Hv.sendTraceTag(505753816,i.n.msoulscat_Wac_Ribbon,a.k.Info,`CachedVisibility:setCachedControlsVisibility - successfully saved following data: ${e} to localStorage`):o.Hv.sendTraceTag(505753817,i.n.msoulscat_Wac_Ribbon,a.k.Info,"localStorage setItem failed without Exception"),r||n()}catch(e){o.Hv.sendTraceTag(505753815,i.n.msoulscat_Wac_Ribbon,a.k.Info,`CachedVisibility:setCachedControlsVisibility - failed to save to localStorage, Unexpected error in ${e.message||"Unknown"}`)}r&&n()}([{controlId:e,visible:t}]);const r=C();!r.controls[e]&&t&&(b=!0),r.controls[e]=t,f=r;try{const t=JSON.stringify(f);localStorage.setItem(g,t),localStorage.getItem(g)?o.Hv.sendTraceTag(508368914,i.n.msoulscat_Wac_Ribbon,a.k.Info,`CachedVisibility:setCachedControlVisibility - successfully saved following data: ${t} to localStorage`):o.Hv.sendTraceTag(508372446,i.n.msoulscat_Wac_Ribbon,a.k.Info,"localStorage setItem failed without Exception"),b&&(d(e,!0),c())}catch(e){o.Hv.sendTraceTag(508368913,i.n.msoulscat_Wac_Ribbon,a.k.Info,`CachedVisibility:setCachedControlVisibility - failed to save to localStorage, Unexpected error in ${e.message||"Unknown"}`)}}function C(){if(!f||v)try{const e=localStorage.getItem(g);f=JSON.parse(e),function(e){(0,n.v)("object"==typeof e&&null!==e,"CachedVisibilityData is not an object");const t=e;(0,n.v)(t.version===h,`CachedVisibilityData unexpected version ${t.version}`);for(const e in t.controls)(0,n.v)("string"==typeof e,"Key is not a string"),(0,n.v)("boolean"==typeof t.controls[e],"Value is not a boolean")}(f),o.Hv.sendTraceTag(508363084,i.n.msoulscat_Wac_Ribbon,a.k.Info,`CachedVisibility:getCachedData - successfully retrieved following data: ${e} from localStorage`)}catch(e){f=m,"SecurityError"===e.name?o.Hv.sendTraceTag(508409097,i.n.msoulscat_Wac_Ribbon,a.k.Info,`localStorage access is not enabled Exception code : ${e.code}`):o.Hv.sendTraceTag(508409040,i.n.msoulscat_Wac_Ribbon,a.k.Info,`localStorage not initialized Exception ${e.message}`)}return f}},38699:(e,t,r)=>{"use strict";r.d(t,{F:()=>o,e:()=>i});var n=r(10477);const o={borderRadius:"0px",buttonBorderLine:"1px",margin:"0px",isCancelButtonFirst:!1},i=n.createContext(o)},33831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},69272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lazy=void 0,t.Lazy=class{get value(){return void 0===this._value&&(this._value=this._factory()),this._value}constructor(e){this._factory=e}}},5732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize=function(e,t){const r=new Map;return(...n)=>{const o=e(...n),i=r.get(o);if(void 0!==i)return i;const a=t(...n);return r.set(o,a),a}}},86208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nameof=void 0,t.nameof=e=>e},79936:(e,t)=>{"use strict";function r(e,t){const r={};for(const n of Object.keys(e)){const o=e[n];t(o)&&(r[n]=o)}return r}function n(e){return null!==e&&"object"==typeof e}function o(e){return n(e)&&!Array.isArray(e)&&e.constructor===Object}Object.defineProperty(t,"__esModule",{value:!0}),t.areEqual=function(e,t,r){return void 0===e&&void 0===t||(null===e&&null===t||null!==e&&null!==t&&(void 0!==e&&void 0!==t&&r(e,t)))},t.asStringOrUndefined=function(e){if("string"==typeof e)return e},t.conditional=function(e,t){return e?t:void 0},t.deepReplaceProperties=function e(t,r){let n=t;if(r){n=n??{};const t={...n};for(const[i,a]of Object.entries(r))t[i]=o(a)?e(n[i],a):a;return t}return n},t.filterProperties=r,t.forceCast=function(e){return e},t.getDefinedProperties=function(e){return r(e,(e=>void 0!==e))},t.getPropertyOrDefault=function(e,t,r){return e&&o(e)&&e.hasOwnProperty(t)?e[t]??r:r},t.handleUndefined=function(e){return t=>{if(void 0!==t)return e(t)}},t.isObject=n,t.isRecord=o,t.toString=function(e){if(null!=e)return e.toString()},t.transform=function(e,t){if(void 0!==e)return t(e)}},20791:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayHasLength=function(e,t,r){if(e.length!==t)throw new Error(`Array should have ${t} items instead of ${e.length}. Array name: ${r}`)},t.arrayLengthIsInRange=function(e,t,r,n){if(e.length<t||e.length>r)throw new Error(`Array length should be in range [${t}, ${r}] instead of ${e.length}. Array name: ${n}`)},t.arrayNotEmpty=function(e,t){if(0===e.length)throw new Error(`Array should not be empty. Array name: ${t}`)},t.assert=function(e,t){if(!e)throw new Error(t?t():"Expected condition to be true")},t.isDefined=function(e,t){if(void 0===e)throw new Error(`Argument should not be undefined. Argument name: ${t}`)},t.isGreaterThanZero=function(e,t){if(e<=0)throw new Error(`Argument ${t} is not greater than zero. Value: ${e}`)},t.isGreaterOrEqualToZero=function(e,t){if(e<0)throw new Error(`Argument ${t} is not greater than or equal to zero. Value: ${e}`)},t.isNever=function(e){throw new Error(`Unexpected value: ${e}`)},t.isNeverWithoutThrowing=function(e){},t.isOfType=function(e,t){if(!t(e))throw new Error("Value is not of expected type")},t.isTrue=function(e,t){if(!e)throw new Error(`Condition should be true. ${t}`)},t.isFalse=function(e,t){if(e)throw new Error(`Condition should be false. ${t}`)},t.isInRange=function(e,t,r,n){const o=t+r-1;if(e<t||e>o)throw new Error(`Argument out of range [${t}, ${o}]. Actual value: ${e}. ${n}`)},t.equal=function(e,t,r=""){if(e!==t)throw new Error(`Values ${e} and ${t} should be equal. ${r}`)},t.notEqual=function(e,t,r=""){if(e===t)throw new Error(`Values ${e} and ${t} should not be equal. ${r}`)},t.notNull=function(e,t=""){if(null===e)throw new Error(`Value should not be null: ${t}`)},t.notUndefined=function(e,t=""){if(void 0===e)throw new Error(`Value should not be undefined: ${t}`)}},53836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16533);n.__exportStar(r(33831),t),n.__exportStar(r(69272),t),n.__exportStar(r(86208),t),n.__exportStar(r(79936),t),n.__exportStar(r(20791),t),n.__exportStar(r(5732),t)},37453:(e,t,r)=>{"use strict";var n;r.d(t,{W:()=>n}),function(e){e[e.dispidSdxUxppEvent=18]="dispidSdxUxppEvent",e[e.dispidSdxUxpp=198]="dispidSdxUxpp"}(n||(n={}))},92374:(e,t,r)=>{"use strict";r.d(t,{TJ:()=>o,jc:()=>a,vk:()=>s});var n=r(37453);class o{invokeNative(e){const t={serviceName:e.serviceName,methodName:e.methodName,serializedValue:e.value,taskPaneInstanceId:this.taskPaneInstanceId,promiseId:e.promiseId},r=JSON.stringify(t);window.external.Execute(n.W.dispidSdxUxpp,[r])}constructor(e){this.taskPaneInstanceId=e,this.RekaConstants={}}}let i;function a(){if(!i)throw new Error("Reka environment not set.");return i}function s(e){i=e}},14927:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,r:()=>i});var n=r(37453),o=r(92374);function i(e,...t){const r=new o.TJ(e);(0,o.jc)().RekaInstance.initBridge(r,t),window.external.RegisterEvent(n.W.dispidSdxUxppEvent,"",(function(e,t){const r=JSON.parse(t.data[1]),n={serviceName:r.serviceName,methodName:r.methodName,value:r.serializedValue,promiseId:r.promiseId};(0,o.jc)().RekaInstance.invokeJavaScript(n)}))}function a(e){(0,o.jc)().registerServiceInstance(e)}},54787:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(49455),o=r(62186),i=r(61894),a=r(40586),s=r(10477),l=r(39398);const u=e=>(0,l.Zq)({background:e.semanticColors.bodyStandoutBackground});var c=r(88326),d=r(9662),p=r(83659);const h=()=>Promise.resolve("Event not raised"),g=({nativeServices:e})=>{const t=(0,n.D)(),r=(0,d.j)(),l=(0,d.A)(h,e.UxppPowerOptionsJsService.value.onTestEvent),g=s.useRef(null);if(void 0===r)return s.createElement(c.b,null);const m=Object.keys(p.W).filter((e=>!isNaN(Number(e)))).map((e=>Number(e))).map((e=>({key:e,text:p.W[e]})));return s.createElement("div",{className:u(t)},s.createElement(o.a,{componentRef:g,defaultSelectedKey:r,options:m,styles:{root:{maxWidth:300}},onChange:function(t,r,n,o){r&&e.UxppPowerOptionsService.value.simulateThemeChange(r.key)}}),s.createElement(i.J,null,"Result: "+l),s.createElement(a.j,{onClick:async function(){await e.UxppPowerOptionsJsService.value.simulateTestEvent("Hello").then((e=>{console.log("Hello returned: ",e)}))}},'"Raise Test Event"'))}},13839:(e,t,r)=>{"use strict";r.d(t,{t:()=>ot,S:()=>nt});const n=["Uxpp::Internal::RekaServices::UxppThemeService",{getCurrentTheme:["ReturnsPromiseMethod","$number",[],{}],onThemeChange:["Event","$number"]}];var o=r(29666),i=r(12232);r(64038).CustomTypeRegistry.registerTypeInfos({"Uxpp::Internal::RekaServices::ServiceDescriptor":{serviceName:"$string",serviceVersion:"$number"}});const a={UxppRekaServiceManager:["Uxpp::Internal::RekaServices::UxppRekaServiceManager",{indicateStarted:["FireAndForgetMethod",[],{}],getRegisteredServices:["ReturnsPromiseMethod",["$array","Uxpp::Internal::RekaServices::ServiceDescriptor"],[],{}],registerServices:["ReturnsPromiseMethod","$any",[["$array","$string"]],{}],raiseEvent:["FireAndForgetMethod",["$string","$string","$string"],{}]}]},s={Logger:["Uxpp::Internal::RekaServices::Logger",{sendTraceTag:["FireAndForgetMethod",["$number","$number","$string"],{memberof:"Logger"}],shipAssertTag:["FireAndForgetMethod",["$number","$boolean","$string"],{memberof:"Logger"}],debugAssertTag:["FireAndForgetMethod",["$number","$boolean","$string"],{memberof:"Logger"}],setCorrelationId:["FireAndForgetMethod",["$string"],{memberof:"Logger"}]}]},l={RekaTelemetryAdapter:["Uxpp::RekaServices::RekaTelemetryAdapter",{getDocumentReportingId:["ReturnsPromiseMethod","$string",[],{}],sendTelemetryEvent:["FireAndForgetMethod",["$string"],{}]}]};var u=r(53836),c=r(63943),d=r(76071),p=r(18648),h=r(73653);const g="Microsoft.Office.",m=g+"Excel.";const f=m+"OfficeVSO:";const v={UxppGatesService:["Uxpp::RekaServices::UxppGatesService",{getGates:["ReturnsPromiseMethod",["$indexer","$string"],[],{}],getFeatureGate:["ReturnsPromiseMethod","$boolean",["$string"],{}]}]};class b{sendTraceTag(e,t,r,n){this.logger.value.sendTraceTag(e,r,n)}shipAssertTag(e,t,r,n){r||this.logger.value.shipAssertTag(e,r,new Error(n).stack)}debugAssertTag(e,t,r,n){r||this.logger.value.debugAssertTag(e,r,new Error(n).stack)}setCorrelationId(e){this.correlationId=e,this.logger.value.setCorrelationId(e)}constructor(e){this.logger=e,this.correlationId=""}}var y=r(70972),S=r(61027),C=r(94958);function T(e,t){return e.dataFields?.filter((e=>e.name!==t))}class k{sendTelemetryEvent(e){this.sendTelemetryEventAsync(e).catch((()=>{}))}async sendTelemetryEventAsync(e){try{(0,p.isChangeGateEnabled)("OfficeVSO:9722721_UxppDocId")&&!this.documentReportingId&&(this.documentReportingId=await this.rekaTelemetryAdapter.value.getDocumentReportingId()),e.dataFields||(e.dataFields=[]),this.documentReportingId&&""!==this.documentReportingId&&e.dataFields.push((0,y.m9)("DocumentId",this.documentReportingId,S.o.DataClassification.EndUserPseudonymousInformation)),function(e){!function(e){e.dataFields=T(e,"Hidden.Tag")}(e),function(e){e.dataFields=T(e,"Hidden.Log.Level")}(e)}(e),await this.rekaTelemetryAdapter.value.sendTelemetryEvent(JSON.stringify(e))}catch(t){(0,C.wC)(S.o.LogLevel.Error,S.o.Category.Sink,(()=>`RekaSink caught an error for event name '${e.eventName}': (timestamp=${Date.now()}) ${JSON.stringify(t)}`))}}constructor(e){this.rekaTelemetryAdapter=e}}async function F(e,t){return"string"==typeof e.enableOption?await t.getFeatureGate(e.enableOption):e.enableOption}const E={ITaskPaneClient2Host:["Uxpp::Internal::RekaServices::ITaskPaneClient2Host",{loaded:["FireAndForgetMethod",[],{}]}]};var A=r(9106),I=r(39398);function x(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}};(0,I.K1)(r,t)}function w(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}};(0,I.K1)(r,t)}function P(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}};(0,I.K1)(r,t)}function R(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}};(0,I.K1)(r,t)}function D(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}};(0,I.K1)(r,t)}function _(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}};(0,I.K1)(r,t)}function N(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}};(0,I.K1)(r,t)}function O(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}};(0,I.K1)(r,t)}function M(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}};(0,I.K1)(r,t)}function B(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}};(0,I.K1)(r,t)}function L(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}};(0,I.K1)(r,t)}function K(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}};(0,I.K1)(r,t)}function W(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}};(0,I.K1)(r,t)}function H(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}};(0,I.K1)(r,t)}function G(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}};(0,I.K1)(r,t)}function z(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}};(0,I.K1)(r,t)}function U(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}};(0,I.K1)(r,t)}function V(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}};(0,I.K1)(r,t)}function j(e,t){void 0===e&&(e="");var r={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}};(0,I.K1)(r,t)}var q=function(){(0,I.aH)("trash","delete"),(0,I.aH)("onedrive","onedrivelogo"),(0,I.aH)("alertsolid12","eventdatemissed12"),(0,I.aH)("sixpointstar","6pointstar"),(0,I.aH)("twelvepointstar","12pointstar"),(0,I.aH)("toggleon","toggleleft"),(0,I.aH)("toggleoff","toggleright")},$=r(12215);(0,r(40515).v)("@fluentui/font-icons-mdl2","8.6.0");var Q="".concat(I.pD,"/assets/icons/"),X=(0,$.z)();var Y=r(13521);function J(e){var t,r,n;void 0===t&&(t=(null===(r=null==X?void 0:X.FabricConfig)||void 0===r?void 0:r.iconBaseUrl)||(null===(n=null==X?void 0:X.FabricConfig)||void 0===n?void 0:n.fontBaseUrl)||Q),[x,w,P,R,D,_,N,O,M,B,L,K,W,H,G,z,U,V,j].forEach((function(e){return e(t,undefined)})),q(),e.forEach((e=>{var t;t=()=>(0,Y.t)(window[e]),(0,I.K1)({icons:t()})}))}var Z=r(14927),ee=r(83659);const te="tp",re="culture";function ne(){return se(re)??"en-US"}const oe="contextmenu",ie=ee.W.Colorful,ae=String(ie);function se(e){const t=document.location.search+document.location.hash;if(!t||0===t.trim().length)return;const r=t.split(new RegExp("[?&#]")).filter((e=>!!e&&e.length>0)).filter((t=>t.startsWith(e+"="))).filter((e=>!!e.split("=")&&e.split("=").length>0)).map((e=>e.split("=")[1])).filter((e=>!!e&&e.trim().length>0));return r&&r.length>0&&r[0]?r[0]:void 0}const le=["Uxpp::Internal::RekaServices::ITaskPaneHost2Client",{start2:["ReturnsPromiseMethod","$number",["Uxpp::TaskPanes::StartParams"],{}],start:["ReturnsPromiseMethod","$number",["Uxpp::TaskPanes::StartParams"],{}]}];class ue{start(e){return Promise.resolve(this.taskPaneActions.start(e.taskPaneId))}start2(e){return Promise.resolve(this.taskPaneActions.start(e.taskPaneId))}constructor(e){this.ServiceInfo=le,this.taskPaneActions=e}}var ce,de=r(10477);!function(e){e[e.hrNoError=0]="hrNoError",e[e.hrFail=2148140012]="hrFail"}(ce||(ce={}));var pe=r(91496),he=r(16594);const ge={themeDarker:"#60BD82",themeDark:"#37A660",themeDarkAlt:"#1F954A",themePrimary:"#10893C",themeSecondary:"#0F7937",themeTertiary:"#0A5325",themeLight:"#052912",themeLighter:"#03160A",neutralLighterAlt:"#1F1F1F",neutralLighter:"#242424",neutralLight:"#333333",neutralQuaternaryAlt:"#3D3D3D",neutralQuaternary:"#525252",neutralTertiaryAlt:"#5C5C5C",neutralTertiary:"#666666",neutralSecondaryAlt:"#858585",neutralSecondary:"#949494",neutralPrimaryAlt:"#ADADAD",neutralPrimary:"#D6D6D6",neutralDark:"#FFFFFF",black:"#FFFFFF",white:"#141414"},me={palette:ge,semanticColors:{application:{background:"#0A0A0A"},errorText:"#FF5E57",messageBar:{text:"#F3F2F1",success:{background:"#393D1B"},warning:{background:"#433519"},info:{background:"#323130"},error:{background:"#442726"}},cardStandoutBackground:"#292929",button:{background:{default:"#292929",hovered:ge.neutralQuaternaryAlt,selected:ge.neutralLighterAlt}},comboBox:{background:{default:"#292929"}},contextMenu:{background:"#292929",menuItem:{background:{default:"#292929",hovered:ge.neutralQuaternaryAlt,selected:ge.neutralLighterAlt}}}},iconColorScheme:he.bx.Dark},fe={palette:{themeDarker:"#CAEAD8",themeDark:"#55B17E",themeDarkAlt:"#CAEAD8",themePrimary:"#A0D8B9",themeSecondary:"#A0D8B9",themeTertiary:"#37A660",themeLight:"#37A660",themeLighter:"#CAEAD8",neutralLighterAlt:"#858585",neutralLighter:"#5C5C5C",neutralLight:"#6B6B6B",neutralQuaternaryAlt:"#D1D1D1",neutralQuaternary:"#A3A3A3",neutralTertiaryAlt:"#6B6B6B",neutralTertiary:"#BDBDBD",neutralSecondaryAlt:"#808080",neutralSecondary:"#8A8A8A",neutralPrimaryAlt:"#999999",neutralPrimary:"#E6E6E6",neutralDark:"#FFFFFF",black:"#FFFFFF",white:"#525252"},semanticColors:{application:{background:"#525252"},errorText:"#FF5E57",messageBar:{text:"#F3F2F1",success:{background:"#393D1B"},warning:{background:"#433519"},info:{background:"#323130"},error:{background:"#442726"}},cardStandoutBackground:"#474747",button:{background:{default:"#474747"}},comboBox:{background:{default:"#474747"}},contextMenu:{background:"#474747",menuItem:{background:{default:"#474747"}}}},iconColorScheme:he.bx.Dark},ve={themeDarker:"#094624",themeDark:"#0C5F32",themeDarkAlt:"#0F703B",themePrimary:"#107C41",themeSecondary:"#218D51",themeTertiary:"#55B17E",themeLight:"#A0D8B9",themeLighter:"#CAEAD8",neutralLighterAlt:"#F0F0F0",neutralLighter:"#EBEBEB",neutralLight:"#E0E0E0",neutralQuaternaryAlt:"#D1D1D1",neutralQuaternary:"#C7C7C7",neutralTertiaryAlt:"#B8B8B8",neutralTertiary:"#B3B3B3",neutralSecondaryAlt:"#8A8A8A",neutralSecondary:"#7A7A7A",neutralPrimaryAlt:"#616161",neutralPrimary:"#424242",neutralDark:"#242424",black:"#000000",white:"#FFFFFF"},be={palette:ve,semanticColors:{errorText:"#a80000",cardStandoutBackground:ve.white},iconColorScheme:he.bx.Light};var ye,Se,Ce;(Se=ye||(ye={})).Dashed="dashed",Se.Dotted="dotted",Se.Double="double",Se.Groove="groove",Se.Hidden="hidden",Se.Inset="inset",Se.None="none",Se.Outset="outset",Se.Ridge="ridge",Se.Solid="solid",function(e){e.BreakSpaces="break-spaces",e.Normal="normal",e.Nowrap="nowrap",e.Pre="pre",e.PreLine="pre-line",e.PreWrap="pre-wrap"}(Ce||(Ce={}));const Te=ye.Solid,ke=Ce.Nowrap;function Fe(e,t,r=Te){return{borderColor:t,borderWidth:e,borderStyle:r}}function Ee(e,t){(0,u.equal)(e.length,7);const r=Number.parseInt(e.substr(1,2),16),n=Number.parseInt(e.substr(3,2),16),o=Number.parseInt(e.substr(5,2),16);return(0,u.isFalse)(Number.isNaN(r),"Expected a valid hex value for red"),(0,u.isFalse)(Number.isNaN(n),"Expected a valid hex value for green"),(0,u.isFalse)(Number.isNaN(o),"Expected a valid hex value for blue"),`rgba(${r}, ${n}, ${o}, ${t})`}function Ae(e){return{paddingTop:e,paddingBottom:e}}function Ie(e=ke){return{overflow:"hidden",whiteSpace:e,textOverflow:"ellipsis"}}function xe(e){return`${e}%`}var we;!function(e){e.Low="Low",e.Medium="Medium",e.High="High"}(we||(we={}));const Pe={Black:"#000000",BlackLighten8:"#161514",BlackLighten13:"#212121",BlackLighten20:"#333333",BlackLighten24:"#3C3C3C",BlackLighten27:"#444444",BlackLighten31:"#505050",BlackLighten40:"#666666",BlackLighten46:"#767676",BlackLighten65:"#a6a6a6",BlackLighten67:"#ababab",BlackLighten69:"#b1b1b1",BlackLighten78:"#c8c8c8",BlackLighten82:"#d0d0d0",BlackLighten85:"#dadada",BlackLighten88:"#e1e1e1",BlackLighten89:"#e4e4e4",BlackLighten90:"#e6e6e6",BlackLighten92:"#eaeaea",BlackLighten94:"#f0f0f0",BlackLighten96:"#f4f4f4",BlackLighten97:"#f8f8f8",BlackLighten98:"#f9f9f9",BlueDarken2:"#106ebe",Blue:"#0078d4",BlueLighten45:"#bbd3ff",BlueLighten58:"#118dff",GreenDarken48:"#134027",GreenDarken43:"#0a6332",GreenDarken38:"#1e673f",GreenDarken37:"#107C10",GreenDarken36:"#197278",GreenDarken35:"#217346",GreenDarken22:"#439467",Green:"#86bfa0",GreenLighten9:"#9fd5b7",GreenLighten24:"#d3f0e0",GreenLighten28:"#dff6dd",GreenLighten30:"#e8f5ee",Grey:"#797775",Orange:"#ca5010",Red:"#a80000",RedLighten62:"#fde7e9",Yellow:"#fff100",YellowDarken38:"#c19c00",YellowLighten40:"#fff4ce",LightYellow:"#fbeeb5",White:"#ffffff",Transparent:"transparent"};var Re=r(38699),De=r(15640);function _e(e,t){const r={application:{background:e.neutralLighterAlt,border:{default:e.neutralQuaternary,focused:e.neutralSecondary},text:e.neutralPrimary},button:{background:{default:e.white,disabled:e.white,hovered:e.neutralLighter,selected:e.neutralLight},border:{default:e.neutralSecondaryAlt,hovered:e.neutralSecondaryAlt,selected:e.neutralSecondaryAlt},text:{default:e.neutralPrimary,disabled:e.neutralTertiaryAlt,hovered:e.neutralDark,selected:e.neutralDark}},primaryButton:{background:{default:e.themePrimary,disabled:e.white,hovered:e.themeDarkAlt,selected:e.themeDark},border:{default:Pe.Transparent,hovered:Pe.Transparent,selected:Pe.Transparent},text:{default:e.white,disabled:e.neutralTertiaryAlt,hovered:e.white,selected:e.white}},dropButton:{secondary:{background:{default:Pe.Transparent,hovered:e.neutralLighter,selected:e.neutralLight}}},errorText:Pe.Red,highlightBackground:Pe.LightYellow,disabledControlBackground:e.neutralLight,focusBorder:e.neutralSecondary,smallInputBorder:e.neutralSecondary,icon:e.neutralPrimary,link:Pe.BlueDarken2,list:{listHeader:{background:Pe.Transparent,border:e.neutralQuaternary,text:e.neutralPrimary},listItem:{background:{default:Pe.Transparent,hovered:e.neutralLighter,selected:e.neutralLight},text:{default:e.neutralPrimary,selected:e.neutralPrimary}}},tree:{nodeCounterText:e.neutralPrimary,node:{background:{default:Pe.Transparent,hovered:e.neutralLighter,selected:e.neutralLight},selectionIndicatorBackground:e.themePrimary,text:{default:e.neutralPrimary,selected:e.neutralPrimary}}},input:{background:{default:e.white,disabled:e.neutralLighter},border:{default:e.neutralSecondaryAlt,disabled:e.neutralLighter,focused:e.themePrimary,hovered:e.neutralSecondary},text:{default:e.neutralPrimary,disabled:e.neutralTertiary}},checkableInput:{background:{default:Pe.Transparent,disabled:e.neutralTertiaryAlt,checked:e.themePrimary},border:{default:e.neutralSecondary,disabled:e.neutralTertiaryAlt,hovered:e.neutralSecondary,checked:e.themePrimary},text:{checked:e.white}},commandBar:{background:e.neutralLighter,button:{default:e.neutralLighter,hovered:e.neutralLight,pressed:e.neutralQuaternaryAlt,expanded:e.neutralQuaternaryAlt}},exceptionResultError:{background:{highlighted:e.orangeLight},border:e.neutralSecondaryAlt},databaseStamp:{certifiedDatabaseColor:e.greenDark,promotedDatabaseColor:e.blueMid},dataSourceTag:{backgroundColor:Pe.BlueLighten45,textColor:Pe.BlackLighten8},overlay:{light:Ee(e.white,.4),dark:Ee(e.neutralPrimaryAlt,.5),transparent:Pe.Transparent},header:{text:t?.application?.text??e.neutralPrimary},messageBar:{error:{background:Pe.RedLighten62,icon:Pe.Red},info:{background:e.neutralLighter,icon:e.neutralSecondary},success:{background:Pe.GreenLighten28,icon:Pe.GreenDarken37},text:e.neutralPrimary,warning:{background:Pe.YellowLighten40,icon:Pe.Grey}},callout:{beakBackground:e.white,beakCurtainBackground:e.white,calloutMainBackground:e.white},contextMenu:{background:e.white,border:Pe.Transparent,menuItem:{background:{default:Pe.Transparent,hovered:e.neutralLighter,selected:e.neutralLight},text:{default:e.neutralPrimary,disabled:e.neutralTertiary,hovered:e.neutralPrimary,selected:e.neutralPrimary}}},dropdown:{background:{default:e.white,disabled:e.neutralLighter},border:{default:e.neutralSecondaryAlt,disabled:e.neutralLighter,focused:e.themePrimary,hovered:e.neutralSecondary},text:{default:e.neutralPrimary,disabled:e.neutralTertiary}},comboBox:{background:{default:e.white,disabled:e.neutralLighter},text:{default:e.neutralPrimary,disabled:e.neutralTertiary}},pivot:{background:{hovered:e.neutralLighter,selected:e.neutralLight},text:{hovered:e.neutralDark,selected:e.neutralDark}},cardStandoutBackground:e.white};return(0,u.deepReplaceProperties)(r,t)}const Ne=new Map([["zh-CN","PingFang SC"],["zh-TW","PingFang TC"],["zh-HK","PingFang HK"],["zh-MO","PingFang HK"]]),Oe=new Map([]);function Me(e){const t=!!(0,De.cX)()&&void 0!==Ne.get(ne()),r=((0,De.cX)()?Ne:Oe).get(ne());if(void 0===r)return I.dK;const n=`'${r}'`;for(const r of Object.keys(e)){const o=`${n},${e[r].fontFamily}`;e[r].fontFamily=t?o.replace(/, *-apple-system/g,""):o}return e}const Be={themePrimary:"#10893C",themeLighterAlt:"#010602",themeLighter:"#03160A",themeLight:"#052912",themeTertiary:"#0A5325",themeSecondary:"#0F7936",themeDarkAlt:"#1F954A",themeDark:"#37A660",themeDarker:"#60BD82",neutralLighterAlt:"#1F1F1F",neutralLighter:"#242424",neutralLight:"#333333",neutralQuaternaryAlt:"#3D3D3D",neutralQuaternary:"#525252",neutralTertiaryAlt:"#5C5C5C",neutralTertiary:"#666666",neutralSecondaryAlt:"#858585",neutralSecondary:"#949494",neutralPrimaryAlt:"#ADADAD",neutralPrimary:"#D6D6D6",neutralDark:"#FFFFFF",black:"#FFFFFF",white:"#141414"},Le={palette:Be,semanticColors:{button:{background:{default:Be.neutralTertiary,disabled:Be.neutralQuaternaryAlt,hovered:Be.neutralSecondaryAlt,selected:Be.themeDarkAlt},border:{default:"transparent",hovered:"transparent",selected:"transparent"},text:{default:Be.neutralDark,disabled:Be.neutralSecondaryAlt,hovered:Be.neutralDark,selected:Be.neutralDark}},primaryButton:{background:{default:Be.themePrimary,disabled:Be.neutralQuaternaryAlt,hovered:Be.themePrimary,selected:Be.themeDarkAlt},border:{default:"transparent",hovered:"transparent",selected:"transparent"},text:{default:Be.neutralDark,disabled:Be.neutralSecondaryAlt,hovered:Be.neutralDark,selected:Be.neutralDark}},dropButton:{secondary:{background:{default:"transparent",hovered:Be.neutralLight,selected:Be.neutralQuaternaryAlt}}},application:{text:Be.neutralDark,background:Be.neutralLighter},header:{text:Be.themeDark},errorText:"#FF5E57",messageBar:{error:{background:"#BC576285",icon:Be.neutralPrimary},info:{background:Be.neutralLight},success:{background:Be.themeDark,icon:Be.neutralPrimary},text:Be.neutralPrimary,warning:{background:Be.neutralQuaternaryAlt,icon:Be.neutralPrimary}},link:Be.themeDark,list:{listItem:{background:{hovered:"transparent",selected:Be.themePrimary},text:{default:Be.neutralDark,selected:Be.neutralDark}}},tree:{node:{background:{hovered:"transparent",selected:Be.themePrimary},text:{default:Be.neutralDark,selected:Be.neutralDark}}},checkableInput:{background:{checked:Be.themePrimary},border:{default:Be.neutralPrimaryAlt,hovered:Be.neutralPrimaryAlt,checked:Be.themeDark},text:{checked:Be.neutralDark}},input:{background:{default:Be.neutralQuaternaryAlt,disabled:Be.neutralLight},border:{default:Be.neutralQuaternary,disabled:Be.neutralQuaternaryAlt,focused:Be.neutralSecondary,hovered:Be.neutralQuaternary},text:{default:Be.neutralDark}},disabledControlBackground:Be.neutralQuaternaryAlt,highlightBackground:"#10893C66",callout:{beakBackground:Be.neutralLight,beakCurtainBackground:Be.neutralLight,calloutMainBackground:Be.neutralLight},contextMenu:{background:Be.neutralLight,border:Be.neutralQuaternary,menuItem:{background:{hovered:Be.themePrimary,selected:Be.themeDarkAlt},text:{default:Be.neutralDark,hovered:Be.neutralDark,selected:Be.neutralDark}}},dropdown:{background:{default:Be.neutralQuaternaryAlt,disabled:Be.neutralLight},border:{default:Be.neutralQuaternary,disabled:Be.neutralQuaternaryAlt,focused:Be.neutralSecondary,hovered:Be.neutralQuaternary},text:{default:Be.neutralDark}},comboBox:{background:{default:Be.neutralQuaternaryAlt,disabled:Be.neutralLight},text:{default:Be.neutralDark}},pivot:{background:{hovered:Be.neutralTertiary,selected:Be.themeDarkAlt}}},semanticStyles:{box:{root:{borderRadius:"6px"},rootFocused:{borderRadius:"6px"}},contextMenu:{callout:{marginLeft:"4px",marginRight:"4px",borderRadius:"6px",border:"none",outline:"transparent"},menuItem:{selectors:{"& .ms-Callout .ms-ContextualMenu-link ms-ContextualMenu-Callout":{marginLeft:"4px",marginRight:"4px",borderRadius:"6px",border:"none",outline:"transparent"}}}},scrollbar:{root:{width:"13px"},thumb:{background:"#FFFFFF66",borderRadius:"6.5px"},corner:{display:"none"}}},iconColorScheme:he.bx.Dark,additionalThemeContext:{borderRadius:"6px",buttonBorderLine:"1px",margin:"2px 5px 2px 5px",isCancelButtonFirst:!0}},Ke={themePrimary:"#107C41",themeLighterAlt:"#F1FAF5",themeLighter:"#CAEAD8",themeLight:"#A0D8B9",themeTertiary:"#55B17E",themeSecondary:"#218D51",themeDarkAlt:"#0F703B",themeDark:"#0C5F32",themeDarker:"#094624",neutralLighterAlt:"#F0F0F0",neutralLighter:"#EBEBEB",neutralLight:"#E0E0E0",neutralQuaternaryAlt:"#D1D1D1",neutralQuaternary:"#C7C7C7",neutralTertiaryAlt:"#B8B8B8",neutralTertiary:"#B3B3B3",neutralSecondaryAlt:"#8A8A8A",neutralSecondary:"#7A7A7A",neutralPrimaryAlt:"#616161",neutralPrimary:"#424242",neutralDark:"#242424",black:"#000000",white:"#FFFFFF"},We={palette:Ke,semanticColors:{button:{background:{default:Ke.white,hovered:Ke.white,selected:Ke.themeDarkAlt},border:{default:Ke.neutralTertiaryAlt,hovered:Ke.neutralTertiaryAlt,selected:"transparent"},text:{default:Ke.neutralDark,selected:Ke.white}},primaryButton:{background:{hovered:Ke.themePrimary,selected:Ke.themeDarkAlt},border:{default:"transparent",hovered:"transparent",selected:"transparent"},text:{default:Ke.white}},dropButton:{secondary:{background:{default:"transparent",hovered:Ke.neutralLighterAlt,selected:Ke.neutralLighter}}},application:{text:Ke.neutralDark,background:Ke.neutralLighterAlt},header:{text:Ke.themePrimary},list:{listItem:{background:{hovered:"transparent"},text:{default:Ke.neutralDark,selected:Ke.neutralDark}}},tree:{node:{background:{hovered:"transparent"},text:{default:Ke.neutralDark,selected:Ke.neutralDark}}},checkableInput:{background:{checked:Ke.themePrimary},border:{checked:Ke.themeDark}},errorText:"#a80000",input:{background:{default:Ke.white,disabled:Ke.white},border:{default:Ke.neutralQuaternary,disabled:Ke.neutralLight,focused:Ke.neutralSecondary,hovered:Ke.neutralQuaternary},text:{default:Ke.neutralDark,disabled:Ke.neutralTertiaryAlt}},highlightBackground:"#107C4166",contextMenu:{background:Ke.white,border:Ke.neutralQuaternary,menuItem:{background:{hovered:Ke.neutralLight,selected:Ke.neutralLight},text:{default:Ke.neutralDark,disabled:Ke.neutralTertiaryAlt,hovered:Ke.neutralDark,selected:Ke.neutralDark}}},dropdown:{background:{disabled:Ke.white},border:{default:Ke.neutralQuaternary,disabled:Ke.neutralLight,focused:Ke.neutralSecondary,hovered:Ke.neutralQuaternary},text:{default:Ke.neutralDark,disabled:Ke.neutralTertiaryAlt}},comboBox:{background:{disabled:Ke.white},text:{default:Ke.neutralDark,disabled:Ke.neutralTertiaryAlt}},pivot:{background:{selected:Ke.themeDarkAlt},text:{selected:Ke.white}}},semanticStyles:{box:{root:{borderRadius:"6px"},rootFocused:{borderRadius:"6px"}},contextMenu:{callout:{boxShadow:"0px 0px 2px rgba(0, 0, 0, 0.18), 0px 4px 8px rgba(0, 0, 0, 0.21)"},menuItem:{selectors:{"& .ms-ContextualMenu-link":{borderRadius:"4px"}}}},scrollbar:{root:{width:"13px"},thumb:{background:"#00000066",borderRadius:"6.5px"},corner:{display:"none"}}},iconColorScheme:he.bx.Light,additionalThemeContext:{borderRadius:"6px",buttonBorderLine:"1px",margin:"2px 5px 2px 5px",isCancelButtonFirst:!0}};function He(e){const t=function(e){switch(e){case ee.W.MacDark:return Le;case ee.W.MacLight:return We;case ee.W.Black:return me;case ee.W.VeryDark:return fe;case ee.W.Colorful:case ee.W.Fresh:return be;default:(0,pe.x)(e)}}(e);return function(e){const t=(r=e?.palette,(0,u.deepReplaceProperties)(function(){const e={themePrimary:Pe.GreenDarken35,themeLighterAlt:Pe.GreenLighten30,themeLighter:Pe.GreenLighten24,themeLight:Pe.GreenLighten9,themeTertiary:Pe.Green,themeSecondary:Pe.GreenDarken22,themeDarkAlt:Pe.GreenDarken38,themeDark:Pe.GreenDarken43,themeDarker:Pe.GreenDarken48,neutralLighterAlt:Pe.BlackLighten97,neutralLighter:Pe.BlackLighten96,neutralLight:Pe.BlackLighten92,neutralQuaternaryAlt:Pe.BlackLighten85,neutralQuaternary:Pe.BlackLighten82,neutralTertiaryAlt:Pe.BlackLighten78,neutralTertiary:Pe.BlackLighten65,neutralSecondaryAlt:Pe.BlackLighten46,neutralSecondary:Pe.BlackLighten40,neutralPrimaryAlt:Pe.BlackLighten24,neutralPrimary:Pe.BlackLighten20,neutralDark:Pe.BlackLighten13,black:Pe.Black,white:Pe.White};return(0,u.deepReplaceProperties)((0,I.O4)().palette,e)}(),r));var r;return{palette:t,fonts:Me((0,I.sQ)(ne())),semanticColors:_e(t,e?.semanticColors),semanticStyles:(0,u.deepReplaceProperties)({},e?.semanticStyles),iconColorScheme:e?.iconColorScheme??he.bx.Light,additionalThemeContext:{...Re.F,...e?.additionalThemeContext}}}(t)}const Ge="UxDarkMode";function ze(e){return{components:{SearchBox:{styles:Ve(e)},ComboBox:{styles:je(e)},PrimaryButton:{styles:Ue(e)}},fonts:e.fonts,palette:e.palette,semanticColors:{bodyBackground:e.semanticColors.application.background,bodyText:e.semanticColors.application.text,buttonBackground:e.semanticColors.button.background.default,buttonBackgroundDisabled:e.semanticColors.button.background.disabled,buttonBackgroundHovered:e.semanticColors.button.background.hovered,buttonBackgroundPressed:e.semanticColors.button.background.selected,buttonText:e.semanticColors.button.text.default,buttonTextDisabled:e.semanticColors.button.text.disabled,buttonTextHovered:e.semanticColors.button.text.hovered,buttonBorder:e.semanticColors.button.border.default,disabledBackground:e.semanticColors.disabledControlBackground,errorBackground:e.semanticColors.messageBar.error.background,errorIcon:e.semanticColors.messageBar.error.icon,errorText:e.semanticColors.errorText,focusBorder:e.semanticColors.focusBorder,infoBackground:e.semanticColors.messageBar.info.background,infoIcon:e.semanticColors.messageBar.info.icon,inputBorder:e.semanticColors.input.border.default,inputBorderHovered:e.semanticColors.input.border.hovered,inputFocusBorderAlt:e.semanticColors.input.border.focused,inputForegroundChecked:e.semanticColors.checkableInput.text.checked,inputText:e.semanticColors.input.text.default,menuHeader:e.semanticColors.application.text,menuIcon:e.semanticColors.icon,menuItemBackgroundHovered:e.semanticColors.contextMenu.menuItem.background.hovered,menuItemBackgroundPressed:e.semanticColors.contextMenu.menuItem.background.selected,menuItemText:e.semanticColors.contextMenu.menuItem.text.default,messageText:e.semanticColors.messageBar.text,primaryButtonBackground:e.semanticColors.primaryButton.background.default,primaryButtonBackgroundDisabled:e.semanticColors.primaryButton.background.disabled,primaryButtonBackgroundHovered:e.semanticColors.primaryButton.background.hovered,primaryButtonBackgroundPressed:e.semanticColors.primaryButton.background.selected,primaryButtonBorder:e.semanticColors.primaryButton.border.default,primaryButtonText:e.semanticColors.primaryButton.text.default,primaryButtonTextDisabled:e.semanticColors.primaryButton.text.disabled,primaryButtonTextHovered:e.semanticColors.primaryButton.text.hovered,primaryButtonTextPressed:e.semanticColors.primaryButton.text.selected,smallInputBorder:e.semanticColors.smallInputBorder,successBackground:e.semanticColors.messageBar.success.background,successIcon:e.semanticColors.messageBar.success.icon,warningBackground:e.semanticColors.messageBar.warning.background,warningIcon:e.semanticColors.messageBar.warning.icon,listItemBackgroundChecked:e.semanticColors.contextMenu.menuItem.background.selected,listItemBackgroundHovered:e.semanticColors.contextMenu.menuItem.background.hovered,listItemBackgroundCheckedHovered:e.semanticColors.contextMenu.menuItem.background.selected,listBackground:e.semanticColors.input.background.default,listHeaderBackgroundHovered:e.semanticColors.list.listItem.background.hovered,listHeaderBackgroundPressed:e.semanticColors.list.listItem.background.selected,menuBackground:e.semanticColors.contextMenu.background,cardStandoutBackground:e.semanticColors.cardStandoutBackground}}}function Ue(e){return(0,I.TW)({root:[{borderRadius:e.additionalThemeContext.borderRadius},e.semanticStyles.box?.root]})}function Ve(e){const t=e.semanticColors.input;return(0,I.TW)({root:[{...Fe(1,t.border.default),backgroundColor:t.background.default,color:t.text.default},e.semanticStyles.box?.root],rootDisabled:[{...Fe(1,t.border.disabled),backgroundColor:t.background.disabled,color:t.text.disabled},e.semanticStyles.box?.root],icon:{color:e.semanticColors.icon}})}function je(e){const t=e.semanticColors.comboBox,r=e.semanticColors.contextMenu,n=e.semanticStyles.contextMenu;return(0,I.TW)({root:[{...Ae(0),fontSize:13,maxWidth:xe(100),paddingLeft:6,backgroundColor:t.background.default,color:t.text.default,selectors:{"&::after":e.semanticStyles.box?.root}},e.semanticStyles.box?.root],rootDisabled:{backgroundColor:t.background.disabled,color:t.text.disabled},errorMessage:["errorMessage",{margin:0,padding:0}],header:{...(o=8,{paddingLeft:o,paddingRight:o}),...Ae(0)},label:{...Ie(),boxSizing:"border-box",fontSize:12,maxWidth:xe(100),padding:0},optionsContainerWrapper:{overflow:"hidden"},input:{backgroundColor:t.background.default,color:t.text.default},inputDisabled:{backgroundColor:t.background.disabled,color:t.text.disabled},callout:[{...Fe(1,r.border),selectors:{".ms-Callout-main":{background:r.background}}},n?.callout]});var o}const qe=He(function(){let e=se("theme")??ae;return!isNaN(Number(e))&&ee.W[Number(e)]||(e=ae),Number(e)}()),$e=ze(qe);var Qe=r(37971),Xe=r(57674),Ye=r(63863);const Je=({isExperimentalFeatureEnabled:e,isPlatformFeatureEnabled:t,logger:r,children:n})=>de.createElement(Xe.B.Consumer,null,(o=>de.createElement(Xe.B.Provider,{value:(0,Ye.g)(e,o.setTooltipElement,o.updateTooltipsHidden,o.appWindow,t,o.responsiveClassName,r)},n)));var Ze=r(85963),et=r(88326);function tt(e){const t=function(e){const t=(r=e.uxppWebConfig,n=e.appServices,e=>{const{taskPaneId:t}=e;if(void 0===t)return de.createElement(et.b,null);const o=r.taskPaneApps[t];if(!o)throw new Error(`Unexpected taskpane id: ${t}`);const i=o.componentProvider();return de.createElement(i,{...n})});var r,n;return({taskPaneId:e,uxppTheme:r,partialTheme:n,testIsMac:o})=>{const i=o||(0,De.cX)();return de.createElement(Re.e.Provider,{value:r.additionalThemeContext},de.createElement(Qe.o,{themeProviderProps:{theme:n}},de.createElement(Je,{isExperimentalFeatureEnabled:e=>!1,isPlatformFeatureEnabled:e=>{switch(e){case Ze.H9.modalContextMenuIsEnabled:case Ze.H9.tooltipForMacIsEnabled:return i;default:return!1}}},de.createElement(t,{taskPaneId:e}))))}}(e);return()=>{const[r,n]=de.useState(void 0),[a,s,l]=function(){const[e,t]=(0,de.useState)(qe),[r,n]=(0,de.useState)($e);e.iconColorScheme===he.bx.Dark&&document.body.classList.add(Ge);const o=(0,de.useCallback)((e=>{const{uxppTheme:r,partialTheme:o}=function(e){const t=He(e);return t.iconColorScheme===he.bx.Light?document.body.classList.remove(Ge):document.body.classList.add(Ge),{uxppTheme:t,partialTheme:ze(t)}}(e);t(r),n(o)}),[]);return[e,r,o]}();return de.useEffect((()=>{e.onAppLoaded({start:t=>{const r=e.uxppWebConfig.taskPaneApps[t],a=r?.name??`Unknown task pane with id ${t}`;return r&&n(t),(0,A.getTelemetryLogger)().sendTelemetryEvent({eventName:(0,o.KK)(o.Xq.UxppRuntime),dataFields:[(0,y.m9)("TaskPane.Loaded",a)],eventFlags:(0,i.a)(S.o.DataCategories.ProductServiceUsage,S.o.DiagnosticLevel.RequiredServiceData,S.o.SamplingPolicy.CriticalBusinessImpact)}),r?ce.hrNoError:ce.hrFail},updateTheme:e=>{l(e)}})}),[l]),de.useEffect((()=>{function e(e){"1"!==(se(oe)??"1")&&e.preventDefault()}return document.body.addEventListener("contextmenu",e),()=>{document.body.removeEventListener("contextmenu",e)}}),[]),document.body.style.height="100%",document.body.style.width="100%",document.body.style.backgroundColor=s.semanticColors?.bodyBackground??"transparent",de.createElement(t,{taskPaneId:r,uxppTheme:a,partialTheme:s})}}var rt=r(92374);const nt=new u.Lazy((()=>(0,rt.jc)().RekaServiceRegistry.getNativeService(n)));async function ot(e){(0,rt.vk)(e.rekaEnvironment);let t=!1;try{const r=(0,rt.jc)().RekaServiceRegistry.getNativeService(a.UxppRekaServiceManager),o=new u.Lazy((()=>(0,rt.jc)().RekaServiceRegistry.getNativeService(s.Logger))),y=new u.Lazy((()=>(0,rt.jc)().RekaServiceRegistry.getNativeService(l.RekaTelemetryAdapter))),S=(n=(0,rt.jc)().RekaServiceRegistry,new u.Lazy((()=>{const e=n.getNativeService(v.UxppGatesService);return{...e,getFeatureGate:(0,u.memoize)((e=>e),e.getFeatureGate)}}))).value;e.initRekaBridgeFunctor((0,rt.jc)().RekaInstance,function(){const e=se(te)??"0";return Number(e)}());const C=new b(o);(0,c.n6)(C),function(e){(0,i.X)(new k(e))}(y),J(e.iconProvider),await async function(e){!function(e){(0,p.setFeatureGateDictionaryGetter)((()=>e));const t=function(e){const t={};for(const n of Object.keys(e))t[(r=n,r.startsWith(f)?r.replace(m,""):r)]="false"!==e[n].trim().toLowerCase();var r;return t}(e);(0,p.setChangeGateDictionaryGetter)((()=>t)),(0,h.J9)((t=>(c.Hv.shipAssertTag(508864162,d.n.msoulscat_ES_EWAJS,!1,`The deprecated office-online-app-platform's isFeatureEnabled API was called on feature gate '${t}'. Please switch over to office-online-feature-gates' getBooleanFeatureGate API.`),"true"===e[t]||!t.startsWith(g)&&"true"===e[m+t])))}(await e.getGates())}(S);const T=await async function(e){const t=await e.getRegisteredServices();return new Map(t.map((e=>[e.serviceName,e.serviceVersion])))}(r),E=e.createNativeServices((0,rt.jc)().RekaServiceRegistry,T),A={logger:C,nativeServices:E,getFeatureGate:S.getFeatureGate};for(const t of Object.values(e.taskPaneApps))await F(t,S)||t.validateNativeServices(E).length&&delete e.taskPaneApps[t.id];const I=tt({uxppWebConfig:e,appServices:A,onAppLoaded:it});return t=!0,I}catch(e){throw t=!1,e}finally{r=t,(0,A.getTelemetryLogger)().sendTelemetryEvent({eventName:(0,o.KK)(o.Xq.UxppRuntime),dataFields:[(0,y.LK)("Web.App.Load.Succeeded",r)],eventFlags:(0,i.a)(S.o.DataCategories.ProductServiceUsage,S.o.DiagnosticLevel.RequiredServiceData,S.o.SamplingPolicy.CriticalBusinessImpact)})}var r,n}function it(e){const t=new ue(e);(0,Z.A)(t),nt.value.onThemeChange.subscribe((t=>e.updateTheme(t))),(0,rt.jc)().RekaServiceRegistry.getNativeService(E.ITaskPaneClient2Host).loaded()}},9662:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,j:()=>a});var n=r(10477),o=r(13839);function i(e,t){const[r,o]=n.useState();return n.useEffect((()=>{let r=!1;e().then((e=>{r||o(e)})).catch((e=>{throw e}));const n=t.subscribe((e=>{r=!0,o(e)}));return()=>{n.unsubscribe()}}),[e,t]),r}function a(){return i(o.S.value.getCurrentTheme,o.S.value.onThemeChange)}},88326:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});var n=r(10477),o=r(49455),i=r(39398),a=r(80922);const s=()=>{const e=(0,o.D)();return n.createElement("div",{className:l()},n.createElement(a.V,{type:"AppSpinnerProps",id:"Spinner",appColors:{shade30:e.palette.themeDarker,shade20:e.palette.themeDark,shade10:e.palette.themeDarkAlt,primary:e.palette.themePrimary,tint10:e.palette.themeSecondary,tint20:e.palette.themeTertiary,tint30:e.palette.themeLight,tint40:e.palette.themeLighter},label:UxppStringsManager.get(UxppStringsEnum.SpinnerLoadingLabel)}))},l=()=>(0,i.Zq)({display:"flex",height:"70%",justifyContent:"center",alignItems:"center"})},12232:(e,t,r)=>{"use strict";r.d(t,{a:()=>p,X:()=>d});var n=r(63943),o=r(76071),i=r(40844),a=r(9106),s=r(94958),l=r(61027),u=r(29666);const c=[{namespace:"Office.Excel.Online.Data",ariaTenant:"011776870b754a649aedc9456ac07a97-6bd8247c-11d3-4599-b599-ec9ef6d401f6-6722"},{namespace:"Office.Shared.Online.Data",ariaTenant:"4ad8b2b2029e481fb82edb7aac29de59-94494dd8-b684-4f92-ab7f-6b414eb77798-7917"},{namespace:"Office.Excel.Client",ariaTenant:"19eb5e37de684ce38ce5cf3d5842d3f7-e8722941-bde5-4b98-9cd5-2775ec51482c-6873"},{namespace:"Office.Voice",ariaTenant:"9783945ebc2b468fbb8a2890cdab903b-787355a5-74c8-4a89-b06a-9c82635d75fa-7162"}];function d(e){(0,a.getTelemetryLogger)().addSink(e);for(const e of c)(0,a.getTelemetryLogger)().setTenantToken(e.namespace,e.ariaTenant);(0,a.getTelemetryLogger)().setTenantToken(u.n8,u._T),(0,s.d$)().addListener((e=>{n.Hv.sendTraceTag(508687499,o.n.msoulscat_ES_EWAJS,function(e){switch(e){case l.o.LogLevel.Error:return i.k.Error;case l.o.LogLevel.Info:return i.k.Info;case l.o.LogLevel.Verbose:return i.k.Verbose;case l.o.LogLevel.Warning:return i.k.Warning}}(e.level),e.message())}))}function p(e,t,r){return{dataCategories:e,diagnosticLevel:t,samplingPolicy:r,costPriority:l.o.CostPriority.Normal,persistencePriority:l.o.PersistencePriority.Normal}}},29666:(e,t,r)=>{"use strict";r.d(t,{KK:()=>s,Xq:()=>o,_T:()=>a,n8:()=>i});const n=".";var o;!function(e){e[e.UxppRuntime=0]="UxppRuntime",e[e.PowerOptions=1]="PowerOptions",e[e.PowerQuery=2]="PowerQuery",e[e.DataCleansing=3]="DataCleansing"}(o||(o={}));const i=`Office${n}Uxpp`,a="771eb6027aa74c4bbec78a064eb2ca56-d6fad40c-2791-45d8-a56f-3a4f8eb06f93-7480";function s(e){return`${i}${n}Client${n}${o[e]}`}},83659:(e,t,r)=>{"use strict";var n;r.d(t,{W:()=>n}),function(e){e[e.Colorful=0]="Colorful",e[e.VeryDark=1]="VeryDark",e[e.Black=2]="Black",e[e.Fresh=3]="Fresh",e[e.MacLight=4]="MacLight",e[e.MacDark=5]="MacDark"}(n||(n={}))},10887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(16533).__exportStar(r(64501),t)},64501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.strEnum=function(e){return e.reduce(((e,t)=>(e[t]=t,e)),Object.create(null))}},18832:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.createWorker=void 0,o(r(70034),t);var i=r(80872);Object.defineProperty(t,"createWorker",{enumerable:!0,get:function(){return i.createWorker}})},70034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.workerName=t.isWorkerThread=t.importScriptsWithRetry=t.Endpoint=t.paramInsideDef=t.dispatchWorkerError=t.setConfig=t.isThreadingSupported=t.WorkerError=void 0;var n=r(74950);Object.defineProperty(t,"WorkerError",{enumerable:!0,get:function(){return n.WorkerError}});var o=r(56162);Object.defineProperty(t,"isThreadingSupported",{enumerable:!0,get:function(){return o.isThreadingSupported}}),Object.defineProperty(t,"setConfig",{enumerable:!0,get:function(){return o.setConfig}}),Object.defineProperty(t,"dispatchWorkerError",{enumerable:!0,get:function(){return o.dispatchWorkerError}});var i=r(35398);Object.defineProperty(t,"paramInsideDef",{enumerable:!0,get:function(){return i.paramInsideDef}});var a=r(3817);Object.defineProperty(t,"Endpoint",{enumerable:!0,get:function(){return a.Endpoint}});var s=r(18327);Object.defineProperty(t,"importScriptsWithRetry",{enumerable:!0,get:function(){return s.importScriptsWithRetry}});var l=r(84203);Object.defineProperty(t,"isWorkerThread",{enumerable:!0,get:function(){return l.isWorkerThread}}),Object.defineProperty(t,"workerName",{enumerable:!0,get:function(){return l.workerName}})},56162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThreadMessageKind=void 0,t.isThreadingSupported=s,t.setConfig=function(e){if(l)throw new TypeError("setConfig has already been called");l=e},t.getSafeParams=function(){const e=l??{};return{createTimeout:e.createTimeout,createMode:e.createMode,importScriptUrls:e.importScriptUrls?[...e.importScriptUrls]:void 0,typedWorkersUrl:e.typedWorkersUrl,typedWorkersName:e.typedWorkersName,importScriptsMaxRetries:e.importScriptsMaxRetries}},t.getCreateTimeout=function(e){return e?.createTimeout??l?.createTimeout??o},t.getCreateMode=function(e){const t=e?.createMode??l?.createMode??i;return"ThreadOrLocal"===t?s()?"Thread":"Local":t},t.dispatchWorkerError=function(e){try{(l?.onWorkerError??d)(e)}catch(t){console.warn(e),u(t)}},t.dispatchCreateWorker=function(e){try{(l?.onCreateWorker??p)(e)}catch(e){u(e)}};const n=r(2608),o=3e5,i="Thread";var a;function s(){return"undefined"!=typeof Blob&&"undefined"!=typeof URL&&void 0!==URL.createObjectURL&&void 0!==URL.revokeObjectURL&&"undefined"!=typeof Worker}let l;function u(e){setTimeout((()=>{throw e}))}function c(){return"undefined"!=typeof self&&"__typed_workers_thread"in self?self:void 0}function d(e){const t=c();if(void 0!==t){const r={kind:a.WorkerError,error:(0,n.encodeResultValue)(e)};t.postMessage(r)}else console.warn(e)}function p(e){const t=c();if(void 0!==t){const r={kind:a.CreateWorker,stats:e};t.postMessage(r)}}!function(e){e[e.InitResult=0]="InitResult",e[e.WorkerError=1]="WorkerError",e[e.CreateWorker=2]="CreateWorker"}(a||(t.ThreadMessageKind=a={}))},80872:function(e,t,r){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&o(t,e,r[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.createWorker=b;const s=r(56162),l=r(3817),u=r(27876),c=r(35398),d=r(75721),p=r(21280),h=r(74950),g={...a(r(70034)),createWorker:b};function m(e,t,r,n,o){const{port1:i,port2:a}=new MessageChannel;let s;return Promise.all([n({port:i,options:e,createMode:t}),(0,d.timePromise)(r.createOutside=(0,d.startStopwatch)(),(()=>l.Endpoint.createOutside({port:a,options:e,createMode:t},(e=>o(s=e)))))]).then((()=>s),(e=>(s?s.close("Force"):a.close(),Promise.reject(e))))}function f(e,t,r,n){return m(e,"Local",t,(e=>function(e,t,r){const{def:n,args:o}="def"in r?r:(0,c.paramInsideDef)(r);if("function"!=typeof n){const t={cause:"InternalError",idInfo:{type:"Endpoint",side:"Inside",id:e.options.id}};return Promise.reject(new h.WorkerError("Loading an InsideScript to create a local worker is unimplemented",t))}return Promise.resolve().then((()=>(0,d.timePromise)(t.insideInit=(0,d.startStopwatch)(),(()=>n({config:(0,s.getSafeParams)(),importTypedWorkers:()=>g,connection:e},...o).then((()=>{}))))))}(e,t,r)),n)}function v(e,t,r,n){let o;t.createThread=(0,d.startStopwatch)();try{o=new p.Thread(e,r)}catch(e){return(0,d.stopStopwatch)(t.createThread,"Error"),Promise.reject(e)}return(0,d.stopStopwatch)(t.createThread,"Success"),m(e,"Thread",t,(e=>o.createInside(e,t)),n).then((e=>(e.hasBeenClosed()?o.terminate():e._onClose=o.terminate.bind(o),e)),(e=>(o.terminate(),Promise.reject(e))))}function b(e,t,r=(()=>{})){const n=(0,s.getCreateMode)(e),o="local"in t?"Local"===n?t.local:t.thread:t,i="Local"===n?f:v,a={id:e.id,createMode:n,createWorker:(0,d.startStopwatch)()},c=(0,d.timePromise)(a.createWorker,(()=>i((0,l.getSafeOptions)(e),a,o,r)));return(0,u.promiseFinally)(c,(()=>{const e=(0,d.createWorkerStats)(a);e&&(0,s.dispatchCreateWorker)(e)}))}},3817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Endpoint=void 0,t.getSafeOptions=function(e){return{id:e.id,createTimeout:e.createTimeout,createMode:e.createMode,importScriptUrls:e.importScriptUrls,importScriptsMaxRetries:e.importScriptsMaxRetries}};const n=r(56162),o=r(21784),i=r(2608),a=r(27876),s=r(74950);class l{static _create(e,t,r){const{port:i,options:u,createMode:c}=t,d={type:"Endpoint",side:e,id:u?.id};let p,h;try{p=new o.EndpointState(d,i),h=new l(d,p,c)}catch(e){return Promise.reject(e)}return new Promise(((t,o)=>{p.getCallTimeout=()=>h.callTimeout,p.getOnPostMessageError=()=>h.onPostMessageError,p.onImports=(e,t)=>{Object.defineProperties(h,{post:{configurable:!0,enumerable:!1,writable:!1,value:e},call:{configurable:!0,enumerable:!1,writable:!1,value:t}}),l.resolve()},p.onClose=()=>h.close("Force");const i=(0,n.getCreateTimeout)(u),l=(0,a.setCallbacksTimeout)(i,(()=>{const t="Outside"===e?"inside":"outside",r={cause:"Timeout",idInfo:d,timeout:i},n=new s.WorkerError(`${e} Endpoint timed out waiting for the ${t} to start`,r);l.reject(n)}),{resolve:t,reject:o});let c;h._closedDuringCreate=()=>{l.resolve()};try{c=r(h)}catch(e){return l.reject(e)}h._state?.setExports(c)})).then((()=>(h._closedDuringCreate=void 0,h)),(e=>(h._closedDuringCreate=void 0,h.close(),Promise.reject(e))))}hasBeenClosed(){return void 0===this._state}close(e){if(!this._state)return;if(this._closedDuringCreate){if("Force"!==e){const e={cause:"Connection",idInfo:this._idInfo};throw new s.WorkerError(`${this._idInfo.side} Endpoint's close called during creation`,e)}this._closedDuringCreate()}const t=this._state;this._state=void 0;try{t.close(),this._onClose?.(),this.onClose?.()}catch(e){const t={cause:"Connection",idInfo:this._idInfo,error:(0,i.asError)(e)};(0,n.dispatchWorkerError)(new s.WorkerError(`${this._idInfo.side} Endpoint's close threw an error`,t))}}constructor(e,t,r){this.callTimeout=1/0,this.onPostMessageError=o.throwWorkerError,this._idInfo=e,this._state=t,this.createMode=r;const n=t=>()=>{const r="Outside"===e.side?"inside":"outside",n={cause:"Connection",idInfo:e};throw new s.WorkerError(`${e.side} Endpoint's ${t} referenced before the ${r} Endpoint started`,n)};Object.defineProperties(this,{post:{configurable:!0,enumerable:!1,get:n("post")},call:{configurable:!0,enumerable:!1,get:n("call")}})}}t.Endpoint=l,l.createOutside=(e,t=(()=>{}))=>l._create("Outside",e,t),l.createInside=(e,t)=>l._create("Inside",e,t)},21784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EndpointState=void 0,t.throwWorkerError=l;const n=r(56162),o=r(2608),i=r(27876),a=r(74950);var s;function l(e){throw e}!function(e){e[e.Invoke=0]="Invoke",e[e.Result=1]="Result",e[e.Names=2]="Names",e[e.Close=3]="Close"}(s||(s={}));let u=-1;t.EndpointState=class{setExports(e){this.exports=e;const t=(0,i.haveNativeProxy)()?void 0:(0,i.getFunctionPropertyNames)(e),r={kind:s.Names,funcNames:t};this.port.postMessage(r)}close(){if(this.isClosed)return;this.isClosed=!0;const e={kind:s.Close};this.port.postMessage(e),this.port.close();for(const e in this.unresolvedCalls){const{reject:t,funcName:r}=this.unresolvedCalls[e],n={cause:"Connection",idInfo:this.idInfo,funcName:r};t(new a.WorkerError(`Importing Endpoint closed while waiting for ${r} result`,n))}}onInvoke({callId:e,funcName:t,args:r}){const i=Promise.resolve().then((()=>{const n=this.exports[t];if(n)return n.apply(this.exports,r);const o=e>=0?"call":"post",i={cause:"Connection",idInfo:this.idInfo,callId:e,funcName:t};throw new a.WorkerError(`Exporting Endpoint received a ${o} to unknown function ${t}`,i)}));e>=0?i.then((r=>this.sendResult(e,t,!0,r)),(r=>this.sendResult(e,t,!1,r))):i.catch((r=>{const i=(0,o.asError)(r),s={cause:"UnhandledError",idInfo:this.idInfo,error:i,callId:e,funcName:t};(0,n.dispatchWorkerError)(new a.WorkerError(`Exporting Endpoint's ${t} implementation threw or rejected`,s))}))}sendResult(e,t,r,n){const i=(0,o.encodeResultValue)(n),a={kind:s.Result,callId:e,funcName:t,isFulfilled:r,resultValue:i};try{this.port.postMessage(a,void 0)}catch(e){this.onSendResultFailed(a,(0,o.asError)(e))}}onSendResultFailed({callId:e,funcName:t,resultValue:r},o){const i=o?`Exporting Endpoint failed to send ${t} result`:`Importing Endpoint failed to deserialize ${t} result`,s={cause:"MessageError",idInfo:this.idInfo,error:o,callId:e,funcName:t},l=new a.WorkerError(i,s);r.isError?(0,n.dispatchWorkerError)(l):this.sendResult(e,t,!1,l)}takeCallbacks(e){const t=this.unresolvedCalls[e];return t&&delete this.unresolvedCalls[e],t}setCallTimeout(e,t,r,n){return r>i.maxTimeout?n:(0,i.setCallbacksTimeout)(r,(()=>{const n=this.takeCallbacks(e);if(n){const o={cause:"Timeout",idInfo:this.idInfo,timeout:r,callId:e,funcName:t};n.reject(new a.WorkerError(`Importing Endpoint's call to ${t} timed out`,o))}}),n)}sendCall(e,t,r,n){return new Promise(((i,l)=>{const c=u+=1,d={kind:s.Invoke,callId:c,funcName:e,args:t};this.unresolvedCalls[c]={...this.setCallTimeout(c,e,r,{resolve:i,reject:l}),funcName:e};try{this.port.postMessage(d,n)}catch(t){const r=this.takeCallbacks(c);if(r){const n=(0,o.asError)(t),i={cause:"MessageError",idInfo:this.idInfo,error:n,callId:c,funcName:e};r.reject(new a.WorkerError(`Importing Endpoint failed to send call to ${e}`,i))}}}))}sendPost(e,t,r,n){const i={kind:s.Invoke,callId:-1,funcName:e,args:t};try{this.port.postMessage(i,n)}catch(t){const n=(0,o.asError)(t),i={cause:"MessageError",idInfo:this.idInfo,error:n,callId:-1,funcName:e};r(new a.WorkerError(`Importing Endpoint failed to post to ${e}`,i))}}onSendInvokeFailed({callId:e,funcName:t}){const r=e>=0?"call":"post",o={cause:"MessageError",idInfo:this.idInfo,callId:e,funcName:t},i=new a.WorkerError(`Exporting Endpoint failed to deserialize ${r} to ${t}`,o),s=e>=0?this.takeCallbacks(e):void 0;(s?.reject??n.dispatchWorkerError)(i)}onResult({callId:e,funcName:t,isFulfilled:r,resultValue:o}){if(e>=0){const t=this.takeCallbacks(e);t&&(r?t.resolve:t.reject)((0,a.decodeResultValue)(o))}else{const r={cause:"InternalError",idInfo:this.idInfo,callId:e,funcName:t};(0,n.dispatchWorkerError)(new a.WorkerError(`Exporting Endpoint sent a result for a post to ${t}`,r))}}createPostProxy(e){const t=(...e)=>t.transfer(void 0,...e);return t.transfer=(r,...n)=>{if(this.isClosed)return;const o=t.onPostMessageError??this.getOnPostMessageError?.()??l;this.sendPost(e,n,o,r)},t}createCallProxy(e){const t=(...e)=>t.transfer(void 0,...e);return t.transfer=(r,...n)=>{if(this.isClosed){const t={cause:"Connection",idInfo:this.idInfo,funcName:e};return Promise.reject(new a.WorkerError(`${this.idInfo.side} Endpoint's call.${e} called after close`,t))}const o=t.callTimeout??this.getCallTimeout?.()??1/0;return this.sendCall(e,n,o,r)},t.callTimeout=void 0,t}constructor(e,t){this.idInfo=e,this.port=t,this.isClosed=!1,this.exports={},this.unresolvedCalls=(0,i.createEmptyRecord)();const r=()=>this.onClose?.(),n={[s.Invoke]:this.onInvoke.bind(this),[s.Result]:this.onResult.bind(this),[s.Names]:({funcNames:e})=>{this.onImports?.((0,i.createObjectFromFunction)(this.createPostProxy.bind(this),e),(0,i.createObjectFromFunction)(this.createCallProxy.bind(this),e))},[s.Close]:r},o={[s.Invoke]:this.onSendInvokeFailed.bind(this),[s.Result]:this.onSendResultFailed.bind(this),[s.Names]:r,[s.Close]:r};this.port.onmessage=({data:e})=>n[e.kind](e),this.port.onmessageerror=({data:e})=>o[e.kind](e)}}},2608:(e,t)=>{"use strict";function r(e){return n(e)&&"WorkerError"===e.name&&"object"==typeof e.info}function n(e){if(null==e)return!1;if(e instanceof Error)return!0;const t=e;return"string"==typeof t.name&&"string"==typeof t.message&&(null==t.stack||"string"==typeof t.stack)}function o(e){return{...e,error:e.error?i(e.error):void 0}}function i(e){return{name:e.name,message:r(e)?e.baseMessage:e.message,stack:e.stack,info:r(e)?o(e.info):void 0}}Object.defineProperty(t,"__esModule",{value:!0}),t.isWorkerError=r,t.isError=n,t.asError=function(e){return n(e)?e:new Error(`(non-Error object) ${function(e){const t=typeof e;switch(t){case"function":case"symbol":case"undefined":return`<${t}>`;case"object":return JSON.stringify(e);default:return`${e}`}}(e)}`)},t.encodeWorkerErrorInfo=o,t.encodeError=i,t.encodeResultValue=function(e){return n(e)?{isError:!0,value:i(e)}:{isError:!1,value:e}}},27876:(e,t)=>{"use strict";function r(){const e=Object.create(null);return e.key=void 0,delete e.key,e}let n;Object.defineProperty(t,"__esModule",{value:!0}),t.maxTimeout=void 0,t.promiseFinally=function(e,t){return e.then((e=>(t(),e)),(e=>(t(),Promise.reject(e))))},t.setCallbacksTimeout=function(e,r,n){if(e>t.maxTimeout)return n;const o=setTimeout(r,Math.max(0,e));return{resolve:e=>{clearTimeout(o),n.resolve(e)},reject:e=>{clearTimeout(o),n.reject(e)}}},t.createEmptyRecord=r,t.getFunctionPropertyNames=function(e){const t=r();for(;null!=e;){for(const r of Object.getOwnPropertyNames(e))try{"function"==typeof e[r]&&(t[r]=!0)}catch{}e=Object.getPrototypeOf(e)}return Object.getOwnPropertyNames(t)},t.haveNativeProxy=function(){return n??(n=function(){try{return"function"==typeof Proxy&&!0===new Proxy({},{get:()=>!0}).k}catch{return!1}}())},t.createObjectFromFunction=function(e,t){const n=r(),o=(t,r)=>"then"===r?void 0:t[r]??(t[r]=e(r));return t?(t.forEach((e=>o(n,e))),n):new Proxy(n,{get:o})},t.maxTimeout=1<<30},18327:(e,t)=>{"use strict";function r(e,t,r){const n=e.indexOf("?");if(n<0)return`${e}?${t}=${r}`;const o=e.slice(0,n+1),i=e.slice(n+1).split("&");let a=0;for(;a<i.length&&("="!==i[a][t.length]||i[a].slice(0,t.length)!==t);a+=1);return i[a]=`${t}=${r}`,o+i.join("&")}function n(e,t){let n;for(let o=0;o<=t;o+=1)try{return void importScripts(o>0?r(e,"retries",String(o)):e)}catch(e){n=e}throw n}Object.defineProperty(t,"__esModule",{value:!0}),t.importScriptsWithRetry=function(e,t){if(0!==t)for(const r of e)n(r,t);else importScripts(...e)}},35398:(e,t)=>{"use strict";function r(e){throw new ReferenceError(`${e} is not defined`)}Object.defineProperty(t,"__esModule",{value:!0}),t.paramInsideDef=void 0,t.indexObject=function(e,t,n=r){try{const r=t.split(".");for(const t of r)e=e[t];return e??n(t)}catch{return n(t)}},t.paramInsideDef=(e,...r)=>t.paramInsideDef.transfer(e,void 0,...r),t.paramInsideDef.transfer=(e,t,...r)=>({def:e,args:r,transferables:t??[]})},75721:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startStopwatch=function(){return{status:"Pending",start:o()}},t.stopStopwatch=i,t.timePromise=function(e,t){function r(t){throw i(e,(0,n.isWorkerError)(t)&&"Timeout"===t.info.cause?"Timeout":"Error"),t}try{return t().then((t=>i(e,"Success")??t),r)}catch(e){r(e)}},t.createWorkerStats=function(e){const{id:t,createMode:r,createWorker:n,insideInit:o,createOutside:i,createThread:s}=e,{status:u,start:c,end:d}=n;if("Pending"!==u&&void 0!==d)return{id:t,createMode:r,createWorker:{status:u,absStart:c,duration:a(d-c)},createThread:"Thread"===r?l(s,c,d):void 0,createOutside:l(i,c,d),insideInit:l(o,c,d)}};const n=r(2608),o="undefined"!=typeof performance&&void 0!==performance.timeOrigin?()=>performance.now()+performance.timeOrigin:()=>Date.now();function i(e,t,r){"Pending"===e.status&&(e.status=t,e.end=Math.max(e.start,r??o()))}function a(e){return Math.round(1e3*e)/1e3}function s(e,t,r){return e<t?t:e>r?r:e}function l(e,t,r){const n=s(e?.start??1/0,t,r),o=s(e?.end??1/0,t,r);return{status:e?.status??"Pending",start:a(n-t),end:a(o-t),duration:a(o-n)}}},21280:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Thread=void 0;const o=r(18648),i=r(56162),a=r(27876),s=r(35398),l=n(r(72732)),u=r(74950);let c=-1;t.Thread=class{revokeBlobUrl(){void 0!==this.blobUrl&&(URL.revokeObjectURL(this.blobUrl),this.blobUrl=void 0)}createInside(e,t){const{port:r,options:n}=e,s={type:"Thread",side:"Outside",id:n.id},l=this.worker,c=new Promise(((e,a)=>{this.createCallbacks={resolve:e,reject:a};const c={config:(0,i.getSafeParams)(),port:r,options:n,script:this.script,args:this.args,featureGateDictionary:(0,o.getFeatureGateDictionary)(),changeGateDictionary:(0,o.getChangeGateDictionary)()};l.postMessage(c,[r,...this.transferables]),l.onerror=e=>{e.preventDefault();const t=(0,u.getErrorEventWorkerError)(s,"worker.onerror",e);this.createCallbacks?this.createCallbacks.reject(t):(0,i.dispatchWorkerError)(t)},l.onmessage=({data:e})=>{switch(e.kind){case i.ThreadMessageKind.InitResult:return t.insideInit=e.stopwatch,void 0===e.error?this.createCallbacks?.resolve():this.createCallbacks?.reject((0,u.decodeResultValue)(e.error));case i.ThreadMessageKind.WorkerError:return(0,i.dispatchWorkerError)((0,u.decodeResultValue)(e.error));case i.ThreadMessageKind.CreateWorker:return(0,i.dispatchCreateWorker)(e.stats)}}}));return(0,a.promiseFinally)(c,(()=>{this.createCallbacks=void 0}))}terminate(){if(!this.worker)return;const e=this.worker;this.worker=void 0,this.createCallbacks?.resolve(),e.terminate(),this.revokeBlobUrl()}constructor(e,t){try{let r;[this.script,this.args,this.transferables,r]=function(e){const{def:t,args:r,transferables:n}="def"in e?e:(0,s.paramInsideDef)(e);if("function"!=typeof t)return[t,r,n,void 0];const o=`__generatedInsideInit${c+=1}`;return[{scriptUrl:void 0,insideInitName:o},r,n,`var ${o} = ${t.toString()};`]}(t);const n=void 0===r?[l.default]:[r,"\n\n",l.default];this.blobUrl=URL.createObjectURL(new Blob(n,{type:"application/javascript"}));const o={};null!=e.id&&(o.name=e.id),this.worker=new Worker(this.blobUrl,o)}catch(e){throw this.worker?.terminate(),this.revokeBlobUrl(),e}}}},72732:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default='(function(){var threadBootstrap;(()=>{"use strict";var e={216:(e,t)=>{function r(){return void 0===globalThis.__get_change_gate_dictionary_variable?{}:globalThis.__get_change_gate_dictionary_variable()}Object.defineProperty(t,"__esModule",{value:!0}),t.getChangeGateDictionary=r,t.isChangeGateEnabled=function(e){return r()[e]??!0},t.setChangeGateDictionaryGetter=function(e){const t=globalThis.__get_change_gate_dictionary_variable;return globalThis.__get_change_gate_dictionary_variable=e,t}},87:(e,t)=>{function r(e){return e.split("")}Object.defineProperty(t,"__esModule",{value:!0}),t.editDistance=function(e,t){const n=r(e),o=r(t);let a=[];for(let e=0;e<=o.length;++e)a[e]=e;for(let e=1;e<=n.length;++e){const t=[e];for(let r=1;r<=o.length;++r)t[r]=n[e-1]===o[r-1]?a[r-1]:1+Math.min(a[r],a[r-1],t[r-1]);a=t}return a[o.length]}},448:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.disableVerboseMode=function(){globalThis.__office_online_feature_gates_verbose_log_callback=void 0},t.enableVerboseMode=function(e){globalThis.__office_online_feature_gates_verbose_log_callback=e},t.getFeatureGateDictionary=a,t.getStringFeatureGate=i,t.getBooleanFeatureGate=function(e,t){const r=i(e)?.trim().toLowerCase();if("true"===r)return!0;if("false"===r)return!1;return t},t.getNumberFeatureGate=function(e,t){const r=i(e)?.trim().toLowerCase();if(void 0===r)return t;if("infinity"===r||"+infinity"===r)return 1/0;if("-infinity"===r)return-1/0;const n=parseFloat(r);return isNaN(n)?t:n},t.getIntFeatureGate=function(e,t){const r=i(e)?.trim();if(void 0===r)return t;const n=parseInt(r,10);return isNaN(n)?t:n},t.setFeatureGateDictionaryGetter=function(e){const t=globalThis.__get_feature_gate_dictionary_variable;return globalThis.__get_feature_gate_dictionary_variable=e,t};const n=r(87);const o={};function a(){return void 0===globalThis.__get_feature_gate_dictionary_variable?o:globalThis.__get_feature_gate_dictionary_variable()}function i(e,t){if(void 0===globalThis.__office_online_feature_gates_verbose_log_callback)return a()[e]??t;const r=a();if(Object.hasOwn(r,e))return r[e]??t;const o=globalThis.__office_online_feature_gates_verbose_log_callback;o(`Failed lookup for FeatureGate ${e}...`);const i=[],c=e.toLowerCase();for(const e of Object.keys(r))(0,n.editDistance)(e.toLowerCase(),c)<=4&&i.push(e);return i.length>0&&o(`Potential candidates found (edit distance <= 4, case-insensitive): [${i.join(", ")}]`),o(`FeatureGate override not found, returning default: ${t}`),t}},400:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(533);n.__exportStar(r(448),t),n.__exportStar(r(187),t),n.__exportStar(r(216),t),n.__exportStar(r(340),t),n.__exportStar(r(56),t),n.__exportStar(r(96),t)},187:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeGetTypedFeatureGate=function(e){return function(t){const r=e[t];switch(typeof r){case"boolean":return(0,n.getBooleanFeatureGate)(t,r);case"number":return(0,n.getNumberFeatureGate)(t,r);case"string":return(0,n.getStringFeatureGate)(t,r);default:throw new Error("Wrong defaultValue type")}}};const n=r(448)},340:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeTypedIsChangeGateEnabled=function(e){return e=>(0,n.isChangeGateEnabled)(e)};const n=r(216)},56:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.overrideChangeGates=o,t.overrideTypedChangeGates=function(e,t){return o(t)};const n=r(216);function o(e){const t=(0,n.setChangeGateDictionaryGetter)(void 0);return(0,n.setChangeGateDictionaryGetter)((()=>({...void 0!==t?t():{},...e}))),t}},96:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.overrideFeatureGates=o,t.overrideTypedFeatureGates=function(e,t){return o(t)};const n=r(448);function o(e){const t={};for(const r of Object.keys(e))t[r]=e[r]?.toString();const r=(0,n.setFeatureGateDictionaryGetter)(void 0)??(()=>({}));return(0,n.setFeatureGateDictionaryGetter)((()=>({...r(),...t}))),r}},691:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ThreadMessageKind=void 0,t.isThreadingSupported=c,t.setConfig=function(e){if(s)throw new TypeError("setConfig has already been called");s=e},t.getSafeParams=function(){const e=s??{};return{createTimeout:e.createTimeout,createMode:e.createMode,importScriptUrls:e.importScriptUrls?[...e.importScriptUrls]:void 0,typedWorkersUrl:e.typedWorkersUrl,typedWorkersName:e.typedWorkersName,importScriptsMaxRetries:e.importScriptsMaxRetries}},t.getCreateTimeout=function(e){return e?.createTimeout??s?.createTimeout??o},t.getCreateMode=function(e){const t=e?.createMode??s?.createMode??a;return"ThreadOrLocal"===t?c()?"Thread":"Local":t},t.dispatchWorkerError=function(e){try{(s?.onWorkerError??l)(e)}catch(t){console.warn(e),u(t)}},t.dispatchCreateWorker=function(e){try{(s?.onCreateWorker??d)(e)}catch(e){u(e)}};const n=r(739),o=3e5,a="Thread";var i;function c(){return"undefined"!=typeof Blob&&"undefined"!=typeof URL&&void 0!==URL.createObjectURL&&void 0!==URL.revokeObjectURL&&"undefined"!=typeof Worker}let s;function u(e){setTimeout((()=>{throw e}))}function f(){return"undefined"!=typeof self&&"__typed_workers_thread"in self?self:void 0}function l(e){const t=f();if(void 0!==t){const r={kind:i.WorkerError,error:(0,n.encodeResultValue)(e)};t.postMessage(r)}else console.warn(e)}function d(e){const t=f();if(void 0!==t){const r={kind:i.CreateWorker,stats:e};t.postMessage(r)}}!function(e){e[e.InitResult=0]="InitResult",e[e.WorkerError=1]="WorkerError",e[e.CreateWorker=2]="CreateWorker"}(i||(t.ThreadMessageKind=i={}))},739:(e,t)=>{function r(e){return n(e)&&"WorkerError"===e.name&&"object"==typeof e.info}function n(e){if(null==e)return!1;if(e instanceof Error)return!0;const t=e;return"string"==typeof t.name&&"string"==typeof t.message&&(null==t.stack||"string"==typeof t.stack)}function o(e){return{...e,error:e.error?a(e.error):void 0}}function a(e){return{name:e.name,message:r(e)?e.baseMessage:e.message,stack:e.stack,info:r(e)?o(e.info):void 0}}Object.defineProperty(t,"__esModule",{value:!0}),t.isWorkerError=r,t.isError=n,t.asError=function(e){return n(e)?e:new Error(`(non-Error object) ${function(e){const t=typeof e;switch(t){case"function":case"symbol":case"undefined":return`<${t}>`;case"object":return JSON.stringify(e);default:return`${e}`}}(e)}`)},t.encodeWorkerErrorInfo=o,t.encodeError=a,t.encodeResultValue=function(e){return n(e)?{isError:!0,value:a(e)}:{isError:!1,value:e}}},762:(e,t)=>{function r(e,t,r){const n=e.indexOf("?");if(n<0)return`${e}?${t}=${r}`;const o=e.slice(0,n+1),a=e.slice(n+1).split("&");let i=0;for(;i<a.length&&("="!==a[i][t.length]||a[i].slice(0,t.length)!==t);i+=1);return a[i]=`${t}=${r}`,o+a.join("&")}function n(e,t){let n;for(let o=0;o<=t;o+=1)try{return void importScripts(o>0?r(e,"retries",String(o)):e)}catch(e){n=e}throw n}Object.defineProperty(t,"__esModule",{value:!0}),t.importScriptsWithRetry=function(e,t){if(0===t)return void importScripts(...e);for(const r of e)n(r,t)}},619:(e,t)=>{function r(e){throw new ReferenceError(`${e} is not defined`)}Object.defineProperty(t,"__esModule",{value:!0}),t.paramInsideDef=void 0,t.indexObject=function(e,t,n=r){try{const r=t.split(".");for(const t of r)e=e[t];return e??n(t)}catch{return n(t)}},t.paramInsideDef=(e,...r)=>t.paramInsideDef.transfer(e,void 0,...r),t.paramInsideDef.transfer=(e,t,...r)=>({def:e,args:r,transferables:t??[]})},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.startStopwatch=function(){return{status:"Pending",start:o()}},t.stopStopwatch=a,t.timePromise=function(e,t){function r(t){throw a(e,(0,n.isWorkerError)(t)&&"Timeout"===t.info.cause?"Timeout":"Error"),t}try{return t().then((t=>a(e,"Success")??t),r)}catch(e){r(e)}},t.createWorkerStats=function(e){const{id:t,createMode:r,createWorker:n,insideInit:o,createOutside:a,createThread:c}=e,{status:u,start:f,end:l}=n;if("Pending"===u||void 0===l)return;return{id:t,createMode:r,createWorker:{status:u,absStart:f,duration:i(l-f)},createThread:"Thread"===r?s(c,f,l):void 0,createOutside:s(a,f,l),insideInit:s(o,f,l)}};const n=r(739),o="undefined"!=typeof performance&&void 0!==performance.timeOrigin?()=>performance.now()+performance.timeOrigin:()=>Date.now();function a(e,t,r){"Pending"===e.status&&(e.status=t,e.end=Math.max(e.start,r??o()))}function i(e){return Math.round(1e3*e)/1e3}function c(e,t,r){return e<t?t:e>r?r:e}function s(e,t,r){const n=c(e?.start??1/0,t,r),o=c(e?.end??1/0,t,r);return{status:e?.status??"Pending",start:i(n-t),end:i(o-t),duration:i(o-n)}}},533:(e,t,r)=>{r.r(t),r.d(t,{__addDisposableResource:()=>C,__assign:()=>a,__asyncDelegator:()=>T,__asyncGenerator:()=>j,__asyncValues:()=>k,__await:()=>S,__awaiter:()=>_,__classPrivateFieldGet:()=>x,__classPrivateFieldIn:()=>D,__classPrivateFieldSet:()=>W,__createBinding:()=>h,__decorate:()=>c,__disposeResources:()=>F,__esDecorate:()=>u,__exportStar:()=>b,__extends:()=>o,__generator:()=>y,__importDefault:()=>M,__importStar:()=>G,__makeTemplateObject:()=>P,__metadata:()=>p,__param:()=>s,__propKey:()=>l,__read:()=>g,__rest:()=>i,__runInitializers:()=>f,__setFunctionName:()=>d,__spread:()=>m,__spreadArray:()=>O,__spreadArrays:()=>w,__values:()=>v,default:()=>I});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function c(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function s(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,s=n.kind,u="getter"===s?"get":"setter"===s?"set":"value",f=!t&&e?n.static?e:e.prototype:null,l=t||(f?Object.getOwnPropertyDescriptor(f,n.name):{}),d=!1,p=r.length-1;p>=0;p--){var _={};for(var y in n)_[y]="access"===y?{}:n[y];for(var y in n.access)_.access[y]=n.access[y];_.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var h=(0,r[p])("accessor"===s?{get:l.get,set:l.set}:l[u],_);if("accessor"===s){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(c=i(h.get))&&(l.get=c),(c=i(h.set))&&(l.set=c),(c=i(h.init))&&o.unshift(c)}else(c=i(h))&&("field"===s?o.unshift(c):l[u]=c)}f&&Object.defineProperty(f,n.name,l),d=!0}function f(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function l(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function _(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{s(n.next(e))}catch(e){a(e)}}function c(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}s((n=n.apply(e,t||[])).next())}))}function y(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(s){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,n=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}var h=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||h(t,e,r)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function O(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function j(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||c(e,t)}))})}function c(e,t){try{(r=o[e](t)).value instanceof S?Promise.resolve(r.value.v).then(s,u):f(a[0][2],r)}catch(e){f(a[0][3],e)}var r}function s(e){c("next",e)}function u(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function T(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:S(e[n](t)),done:!1}:o?o(t):t}:o}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=v(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function G(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&h(t,e,r);return E(t,e),t}function M(e){return e&&e.__esModule?e:{default:e}}function x(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function W(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use \'in\' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function C(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var R="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function F(e){function t(t){e.error=e.hasError?new R(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,(function(e){return t(e),r()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const I={__extends:o,__assign:a,__rest:i,__decorate:c,__param:s,__metadata:p,__awaiter:_,__generator:y,__createBinding:h,__exportStar:b,__values:v,__read:g,__spread:m,__spreadArrays:w,__spreadArray:O,__await:S,__asyncGenerator:j,__asyncDelegator:T,__asyncValues:k,__makeTemplateObject:P,__importStar:G,__importDefault:M,__classPrivateFieldGet:x,__classPrivateFieldSet:W,__classPrivateFieldIn:D,__addDisposableResource:C,__disposeResources:F}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{var e=n;Object.defineProperty(e,"__esModule",{value:!0});const t=r(400),o=r(691),a=r(739),i=r(762),c=r(619),s=r(506);self.onmessage=({data:{config:e,port:r,options:n,script:u,args:f,featureGateDictionary:l,changeGateDictionary:d}})=>{self.onmessage=null,self.__typed_workers_thread=!0,(0,t.setFeatureGateDictionaryGetter)((()=>l)),(0,t.setChangeGateDictionaryGetter)((()=>d));const p=n.importScriptsMaxRetries??e.importScriptsMaxRetries??0;let _;function y(){if(_)return _;if(void 0===e.typedWorkersUrl)throw new TypeError("importTypedWorkers: typedWorkersUrl is not defined");return(0,i.importScriptsWithRetry)([e.typedWorkersUrl],p),_=(0,c.indexObject)(self,e.typedWorkersName??"typedWorkers"),_.setConfig(e),_}const h=(0,s.startStopwatch)();function b(e,t){const r=e?void 0:(0,a.encodeResultValue)((0,a.asError)(t)),n={kind:o.ThreadMessageKind.InitResult,error:r,stopwatch:h};self.postMessage(n),e||setTimeout(self.close.bind(self),6e4)}try{(0,s.timePromise)(h,(()=>{(0,i.importScriptsWithRetry)([...n?.importScriptUrls??e.importScriptUrls??[],...void 0!==u.scriptUrl?[u.scriptUrl]:[]],p);return(0,c.indexObject)(self,u.insideInitName)({config:e,importTypedWorkers:y,connection:{port:r,options:n,createMode:"Thread"}},...f)})).then((()=>b(!0)),(e=>b(!1,e)))}catch(e){b(!1,e)}}})(),threadBootstrap=n})();})()'},74950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.knownErrorClasses=t.WorkerError=void 0,t.getErrorEventWorkerError=function(e,t,r){if((0,n.isError)(r.error)){if((0,n.isWorkerError)(r.error))return r.error;const i={cause:"UnhandledError",idInfo:e,error:r.error};return new o(`${t} received an unhandled error`,i)}if(null==r.message)return new o(`${t} received a non-error (worker script fetch probably failed)`,{cause:"UnhandledError",idInfo:e});const i={cause:"UnhandledError",idInfo:e},a=`${r.message} at ${r.filename}:${r.lineno}:${r.colno}`;return new o(`${t} received an unhandled error: ${a}`,i)},t.decodeError=i,t.decodeWorkerErrorInfo=a,t.decodeResultValue=function(e){return e.isError?i(e.value):e.value};const n=r(2608);class o extends Error{constructor(e,t){super(`${e}; info = ${JSON.stringify({...t,error:t.error?.message})}`),this.baseMessage=e,this.info=t,this.name="WorkerError"}}function i(e){let r;if("WorkerError"===e.name)r=new o(e.message,a(e.info));else{const n=t.knownErrorClasses[e.name];n?r=new n(e.message):(r=new Error(e.message),r.name=e.name)}return null!=e.stack&&(r.stack=e.stack),r}function a(e){return{...e,error:e.error?i(e.error):void 0}}t.WorkerError=o,o.isWorkerError=n.isWorkerError,t.knownErrorClasses={Error,EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError}},84203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWorkerThread=function(){return"undefined"!=typeof WorkerGlobalScope},t.workerName=function(){return"undefined"==typeof self?void 0:self.name}},59109:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});const n={Small:{Portrait:720,Landscape:960,DP:1440,DL:1920},Large:{Portrait:721,Landscape:961,DP:1441,DL:1921}}},4749:(e,t,r)=>{"use strict";r.d(t,{HN:()=>v});const n=window.__foldables_env_vars__;class o{toJSON(){return JSON.stringify(this)}constructor(e,t,r,n,o=!1){this.left=e,this.right=e+r,this.top=t,this.bottom=t+n,this.x=e,this.y=t,this.width=r,this.height=n,this.pixelDepth=0,this.devicePixelRatio=0,this.isOccluded=o}}function i(){"object"!=typeof window.onBoundingWindowRectsChange&&(window.onBoundingWindowRectsChange=new CustomEvent("onBoundingWindowRectsChange",{bubbles:!1,cancelable:!1}),window.addEventListener("resize",a)),function(){if("function"==typeof window.getWindowSegments)return;window.getWindowSegments=()=>{const e=window.innerWidth,t=window.innerHeight;try{if(window.external&&window.external.getHostEnvironmentValue&&'{"os-sku":"189"}'===window.external.getHostEnvironmentValue("os-sku")){if(window.matchMedia&&window.matchMedia("(orientation: portrait)").matches&&t>=1300&&964===e)return n&&n.update({spanning:"single-fold-horizontal"}),[new o(0,0,e,t/2),new o(0,t/2,e,t/2)];if(window.matchMedia&&window.matchMedia("(orientation: landscape)").matches&&t>=820&&1440===e)return n&&n.update({spanning:"single-fold-vertical"}),[new o(0,0,e/2,t),new o(e/2,0,e/2,t)];n&&n.update({spanning:"none"})}}catch(e){}return[new o(0,0,e,t)]}}()}function a(){window.dispatchEvent(window.onBoundingWindowRectsChange)}const s={},l={},u={};let c,d=[],p=null,h="Undefined",g="Default",m=!1;function f(e,t){if(!e||!d||d.length<=0)return;if(1===d.length)return b(d[0],t);let r;if("string"==typeof e){const t=document.querySelector(e);if(!t)return;r=t.getBoundingClientRect()}else if(void 0!==e.preventDefault){const t=e;r=new o(t.clientX,t.clientY,1,1)}else if(e.getBoundingClientRect)r=e.getBoundingClientRect();else if(e.current)r=e.current.getBoundingClientRect();else{if(!e)return;{const t=e;r=new o(t.x,t.y,1,1)}}const n=function(e){return!(d.length<=1)&&(e.right>d[0].left+d[0].width?e.left<d[1].left:e.bottom>d[0].top+d[0].height&&e.top<d[1].top)}(i=r)?d[0]:d.find((e=>function(e,t){return e.left>=t.left&&e.top>=t.top&&e.right<=t.left+t.width&&e.bottom<=t.top+t.height}(i,e)));var i;return n&&b(n,t)}function v(e,t){return f(e,8)}function b(e,t){return e&&Object.assign({},e,{top:e.top+t,left:e.left+t,right:e.right-t,bottom:e.bottom-t,width:e.width-2*t,height:e.height-2*t})}function y(){window.getWindowSegments||i();const e=window.getWindowSegments();let t=!1;if(e.length!==d.length&&(t=!0),d=e,1===d.length){const e=d[0];h=e.width>e.height?"Landscape":"Portrait"}else d.length<=1||d[0].top!==d[1].top?d.length<=1||d[0].left!==d[1].left||(t=t||"DP"===h,h="DL"):(t=t||"DL"===h,h="DP");const r=g;"Landscape"===h||"DL"===h?g=d[0].width<=960?"Small":"Large":"Portrait"!==h&&"DP"!==h||(g=d[0].width<=720?"Small":"Large"),function(){const e=d;c&&e.push(c);for(const t in l)l[t](e,h)}(),t&&function(e){for(const t in s)s[t](e,h)}("DL"===h||"DP"===h),r!==g&&function(){for(const e in u)u[e](g)}()}m||("undefined"!=typeof navigator&&navigator.virtualKeyboard&&void 0!==navigator.virtualKeyboard.overlaysContent&&(window===top&&(navigator.virtualKeyboard.overlaysContent=!0),navigator.virtualKeyboard.addEventListener("overlaygeometrychange",(function(e){const{width:t,height:r,left:n}=e.boundingRect;0===t||0===r?(c=void 0,p=-1):(c=e.boundingRect,c.isOccluded=!0,p=n>0||"DL"===function(){if("Undefined"===h){const e=window.getWindowSegments?window.getWindowSegments():void 0;return!e||e.length<=1?window.innerWidth>window.innerHeight?"Landscape":"Portrait":window.innerWidth>window.innerHeight?"DP":"DL"}return h}()?1:0),y()}))),i(),window.addEventListener("onBoundingWindowRectsChange",y),d&&0!==d.length||y(),m=!0),r(59109)},72349:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Ii});var n,o,i=r(10477),a=r(63943),s=r(76071),l=r(40844),u=r(91074);!function(e){e[e.None=0]="None",e[e.BlockedInSheetView=1]="BlockedInSheetView",e[e.BlockedInProtectedSheet=2]="BlockedInProtectedSheet",e[e.BlockedInAutoSaveOff=3]="BlockedInAutoSaveOff",e[e.DataExceedsLimit=4]="DataExceedsLimit",e[e.GeneralError=5]="GeneralError",e[e.NoSuggestions=6]="NoSuggestions"}(n||(n={})),function(e){e[e.Disabled=0]="Disabled",e[e.LoadingSuggestions=1]="LoadingSuggestions",e[e.DisplaySuggestions=2]="DisplaySuggestions"}(o||(o={}));var c=r(37103);const d=()=>i.createElement(u.B,{"data-testid":"Loading",horizontalAlign:"center",verticalAlign:"center",style:{height:"100%"}},i.createElement(c.y,{label:"Loading...",labelPosition:"right"}));var p=r(22692),h=r(74659),g=r(11719),m=r(83082),f=r(39398);class v extends i.Component{render(){return i.createElement(g.ur,{autoHide:!1,style:this.props.containerStyle,renderView:this.renderView,renderThumbHorizontal:this.renderThumbHorizontal,renderThumbVertical:this.renderThumbVerticalMerged,renderTrackVertical:this.renderTrackVertical},this.props.children)}renderView(){return i.createElement("div",{className:(0,f.Zq)({overflow:"scroll",position:"absolute",top:"0px",bottom:"0px",right:"0px",left:"0px","-ms-overflow-style":"none","scrollbar-width":"none",selectors:{"::-webkit-scrollbar":{display:"none"}}})})}renderThumbVerticalMerged(){return i.createElement("div",{className:(0,f.Zq)({display:"block",width:"6px",backgroundColor:"#C8C6C4",borderRadius:"3px",selectors:{[f.up]:{backgroundColor:"ButtonText",borderColor:"ButtonText"}}})})}renderThumbHorizontal(){return i.createElement("div",{style:{display:"hidden"}})}constructor(){super(...arguments),this.renderTrackVertical=()=>{const{trackWidth:e=10,customTrackVerticalStyle:t}=this.props,r={position:"absolute",bottom:"2px",[(0,m.jI)()?"left":"right"]:"3px",top:"10px",width:e,cursor:"default"},n=t?{...r,...t}:r;return i.createElement("div",{style:n})}}}const b=i.createContext(null);function y(){return i.useContext(b)}const S=b.Provider;var C=r(21160),T=r(16533);function k(e){const t=(0,C.d)(e);return i.useEffect((()=>{(0,T.__assign)(t,e)}),[e,t]),t}const F=i.createContext({});function E(){return i.useContext(F)}const A=e=>{const t=k(e.callbacks);return i.createElement(F.Provider,{value:t},e.children)};var I=r(23693),x=r(61043),w=r(82148),P=r(23424),R=r.n(P),D=r(54029),_=r(92321),N=r(90290),O=r(50157),M=r(75296),B=function(e){for(var t=e.activeElement;null==t?void 0:t.shadowRoot;)t=t.shadowRoot.activeElement;return t},L=function(e){var t=e.target;return t&&t.shadowRoot&&(t=e.composedPath()[0]),t},K=r(63874),W=r(70195),H=r(82015),G=r(39773),z=r(57142),U=r(30838),V=r(80837);function j(e){var t=i.useRef((function(){throw new Error("Cannot call an event handler while rendering")}));return(0,V.E)((function(){t.current=e}),[e]),(0,C.d)((function(){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.current.apply(void 0,e)}}))}var q=function(e){var t=i.useRef(e);t.current=e,i.useEffect((function(){return function(){var e;null===(e=t.current)||void 0===e||e.call(t)}}),[])},$=r(18660),Q=r(20508),X={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},Y=i.forwardRef((function(e,t){var r,n=i.useRef(null),o=i.useRef(null),a=i.useRef(null),s=(0,G.a)(n,t),l=(0,$.ZY)(),u=(0,Q.bX)(),c=(0,_.h)(),d=null===(r=(0,z.Z)(!1))||void 0===r||r,p=(0,N.N)(X,e),h=(0,C.d)({hasFocus:!1,focusStackId:(0,U.B)("ftz-",p.id)}),g=p.children,m=p.componentRef,f=p.disabled,v=p.disableFirstFocus,b=p.forceFocusInsideTrap,y=p.focusPreviouslyFocusedInnerElement,S=p.firstFocusableSelector,T=p.firstFocusableTarget,k=p.disableRestoreFocus,F=void 0===k?p.ignoreExternalFocusing:k,E=p.isClickableOutsideFocusTrap,A=p.enableAriaHiddenSiblings,I={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:f?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},x=i.useCallback((function(e){e!==o.current&&e!==a.current&&(0,O.lo)(e)}),[]),w=j((function(){if(n.current){var e=h.previouslyFocusedElementInTrapZone;if(y&&e&&(0,M.s)(n.current,e))x(e);else{var t=null;if("string"==typeof T)t=n.current.querySelector(T);else if(T)t=T(n.current);else if(S){var r="string"==typeof S?S:S();t=n.current.querySelector("."+r)}t||(t=(0,O.eX)(n.current,n.current.firstChild,!1,!1,!1,!0,void 0,void 0,void 0,c)),t&&x(t)}}})),P=function(e){if(!f&&n.current){var t=e===h.hasFocus?(0,O.Cm)(n.current,a.current,!0,!1,c):(0,O.oR)(n.current,o.current,!0,!1,c);t&&(t===o.current||t===a.current?w():t.focus())}},R=j((function(e){if(Y.focusStack=Y.focusStack.filter((function(e){return h.focusStackId!==e})),l){var t=l.activeElement;F||"function"!=typeof(null==e?void 0:e.focus)||!(0,M.s)(n.current,t)&&t!==l.body&&!t.shadowRoot||x(e)}})),V=j((function(e){if(!f&&h.focusStackId===Y.focusStack.slice(-1)[0]){var t=L(e);t&&!(0,M.s)(n.current,t)&&(l&&B(l)===l.body?setTimeout((function(){l&&B(l)===l.body&&(w(),h.hasFocus=!0)}),0):(w(),h.hasFocus=!0),e.preventDefault(),e.stopPropagation())}}));return i.useEffect((function(){var e=[];return b&&e.push((0,K.on)(u,"focus",V,!0)),E||e.push((0,K.on)(u,"click",V,!0)),function(){e.forEach((function(e){return e()}))}}),[b,E,u]),i.useEffect((function(){if(!f&&(d||b)&&n.current){Y.focusStack.push(h.focusStackId);var e=p.elementToFocusOnDismiss||B(l);return v||(0,M.s)(n.current,e)||w(),function(){return R(e)}}}),[b,f]),i.useEffect((function(){if(!f&&A)return(0,W.q)(n.current)}),[f,A,n]),q((function(){delete h.previouslyFocusedElementInTrapZone})),function(e,t,r){i.useImperativeHandle(e,(function(){return{get previouslyFocusedElement(){return t},focus:r}}),[r,t])}(m,h.previouslyFocusedElementInTrapZone,w),i.createElement("div",(0,D.Cl)({"aria-labelledby":p.ariaLabelledBy},(0,H.G1)(p,H.JM),{ref:s,onFocusCapture:function(e){var t;null===(t=p.onFocusCapture)||void 0===t||t.call(p,e),e.target===o.current?P(!0):e.target===a.current&&P(!1),h.hasFocus=!0,e.target!==e.currentTarget&&e.target!==o.current&&e.target!==a.current&&(h.previouslyFocusedElementInTrapZone=L(e.nativeEvent))},onBlurCapture:function(e){var t;null===(t=p.onBlurCapture)||void 0===t||t.call(p,e);var r=e.relatedTarget;null===e.relatedTarget&&(r=B(l)),(0,M.s)(n.current,r)||(h.hasFocus=!1)}}),i.createElement("div",(0,D.Cl)({},I,{ref:o})),g,i.createElement("div",(0,D.Cl)({},I,{ref:a})))}));Y.displayName="FocusTrapZone",Y.focusStack=[];var J,Z,ee=r(77971),te=r(10625),re=r(97130),ne=r(40586);(Z=J||(J={})).TextInconsistency="TextInconsistency",Z.NumberFormatInconsistency="NumberFormatInconsistency",Z.ExtraSpacesTable="ExtraSpacesTable",Z.DateFormat="DateFormat",Z.Pattern="Pattern",Z.Typo="Typo",Z.LAST="LAST";var oe=r(18648);const ie=[J.ExtraSpacesTable,J.TextInconsistency,J.NumberFormatInconsistency];function ae(){const e=[...ie];return(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.AugLoop.TableLint_EnableDateFormat",!1)&&(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansing_ShowDateFormatSuggestionCard",!1)&&e.push(J.DateFormat),(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingShowPatternSuggestionsExp",!1)&&e.push(J.Pattern),(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.Augloop.DetectTypoLinter-prod",!1)&&e.push(J.Typo),e}var se=r(59688),le=r(10783);const ue={text:{fontSize:12,width:"100%"},root:{paddingInline:10,marginBlockEnd:5},label:{alignItems:"center",width:"100%"},checkbox:{height:16,width:16,"::after":{top:2,left:2}}},ce=({options:e,checkedOptions:t,onChange:r,selectAllGroupLabel:n,testId:o,optionsContainerStyle:a,getOptionLabel:s=String,getOptionCount:l,getOptionsCount:u})=>{const c=i.useRef(null);if(i.useEffect((()=>c.current?.forceUpdate()),[t]),!e?.length)return null;const d=t.length>0&&t.length<e.length,p=ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_SelectAll);return i.createElement(i.Fragment,null,i.createElement(se.S,{inputProps:{"data-testid":`${o}_SelectAll`},styles:ue,label:p,ariaLabel:`${n} ${p} ${void 0!==u?.()?u?.():""}`.trim(),indeterminate:d,checked:t.length===e.length,onRenderLabel:(e,t)=>de(e?.label,u?.(),[e,t]),onChange:(t,n)=>r(n||d?e:[])}),i.createElement(le.B,{"data-testid":o,ref:c,style:a,items:e,getKey:e=>s(e),onRenderCell:e=>i.createElement(se.S,{inputProps:{"data-testid":e},label:s(e),onRenderLabel:(t,r)=>de(t?.label,l?.(e),[t,r]),styles:ue,checked:t.includes(e),onChange:(n,o)=>{r(o?[...t,e]:t.filter((t=>t!==e)))}})}))};function de(e,t,[r,n]){if(void 0===t)return n?.(r)??null;const o=i.createElement(u.B,{grow:!0,horizontal:!0,horizontalAlign:"space-between","data-testid":"OptionLabel"},i.createElement("span",null,e),i.createElement("span",null," ",t));return n?.({...r,label:o})??null}function pe(e){return e.type===J.TextInconsistency}function he(e){return e.type===J.NumberFormatInconsistency}var ge,me;function fe(e){const t=e.flatMap(ye);return Array.from(new Set(t.filter(Boolean)))}function ve(){return(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingColumnFilter",!1)}function be(e){return e.map((e=>function(e){const t=[];let r=e-1;for(;r>=0;)t.splice(0,0,String.fromCharCode(65+r%26)),r=Math.floor(r/26)-1;return t.join("")}(e.left)))}function ye(e){return function(e){return e.type===J.ExtraSpacesTable}(e)?function(e){return Array.from(e.rangesByType.values()).flatMap(be)}(e):e.columnTitle?[e.columnTitle]:[]}!function(e){e[e.AllNumber=0]="AllNumber",e[e.AllText=1]="AllText",e[e.MixedNumberAndText=2]="MixedNumberAndText"}(ge||(ge={})),function(e){e[e.Unknown=0]="Unknown",e[e.Phone=1]="Phone",e[e.Currency=2]="Currency",e[e.Unit=3]="Unit",e[e.Case=4]="Case",e[e.Static=5]="Static",e[e.TwoPatterns=6]="TwoPatterns",e[e.TwoStrings=7]="TwoStrings"}(me||(me={}));const Se=({availableTypes:e,tables:t,columns:r,checkedTypes:n,setCheckedTypes:o,checkedTables:c,setCheckedTables:d,checkedColumns:p,setCheckedColumns:h,suggestions:g,onApply:m})=>{const f=ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_FilterByType),v=ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_FilterByTable),b=ve()?ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_FilterByColumn):void 0;return i.createElement(Y,{isClickableOutsideFocusTrap:!0,forceFocusInsideTrap:!1},i.createElement(u.B,{tokens:{childrenGap:10,padding:10}},i.createElement(ee.E,{variant:"smallPlus",styles:{root:{fontWeight:"bold"}}},f),i.createElement(te.R,{direction:re.E.vertical,shouldResetActiveElementWhenTabFromZone:!0,isCircularNavigation:!0},i.createElement(ce,{options:e,checkedOptions:n,onChange:o,getOptionLabel:e=>function(e){switch(e){case J.ExtraSpacesTable:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_ExtraSpacesType);case J.TextInconsistency:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_TextInconsistencyType);case J.NumberFormatInconsistency:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_NumberFormatInconsistencyType);case J.DateFormat:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_DateFormatType);case J.Pattern:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_PatternType);case J.Typo:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_TypoType);case J.LAST:return;default:return void a.Hv.sendTraceTag(540378824,s.n.msoulscat_ES_EWAJS,l.k.Warning,`SuggestionsFilter.stringByType: No string for type ${e}`)}}(e),selectAllGroupLabel:f,testId:"FilterByTypeList",getOptionsCount:()=>g.length,getOptionCount:e=>g.filter((t=>t.type===e)).length})),i.createElement(ee.E,{variant:"smallPlus",styles:{root:{fontWeight:"bold"}}},v),i.createElement(te.R,{direction:re.E.vertical,shouldResetActiveElementWhenTabFromZone:!0,isCircularNavigation:!0},i.createElement(ce,{options:t,checkedOptions:c,onChange:d,selectAllGroupLabel:v,optionsContainerStyle:{maxHeight:200,overflow:"auto"},testId:"FilterByTableList",getOptionsCount:()=>g.length,getOptionCount:e=>g.filter((t=>t.tableName===e)).length})),ve()&&i.createElement(i.Fragment,null,i.createElement(ee.E,{variant:"smallPlus",styles:{root:{fontWeight:"bold"}}},b),i.createElement(te.R,{direction:re.E.vertical,shouldResetActiveElementWhenTabFromZone:!0,isCircularNavigation:!0},i.createElement(ce,{options:r,checkedOptions:p,onChange:h,selectAllGroupLabel:b,optionsContainerStyle:{maxHeight:200,overflow:"auto"},testId:"FilterByColumnList",getOptionsCount:()=>g.length,getOptionCount:e=>g.filter((t=>function(e,t){return ye(e).includes(t)}(t,e))).length}))),i.createElement(ne.j,{"data-testid":"SuggestionsFilterApply",text:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_Apply),styles:{root:{marginTop:10}},disabled:0===n.length||0===c.length||ve()&&0===p.length,onClick:()=>{m()}})))},Ce=({availableTypes:e,selectedTypes:t,tables:r,selectedTables:n,columns:o,selectedColumns:a,suggestions:s,onFilterChanged:l,isFiltered:u})=>{const[c,d]=i.useState(t),[p,h]=i.useState(n),[g,m]=i.useState(a??[]);function f(){d(t),h(n),ve()&&m(a??[])}i.useEffect(f,[t,n,a]);const v=i.useRef(null),[b,y]=i.useState(!1);return i.createElement(i.Fragment,null,i.createElement(I.K,{"data-testid":"SuggestionsFilterButton",ariaLabel:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_Suggestions),iconProps:{iconName:u?R().EditFilter_16:R().Filter_20},styles:{root:{padding:0,height:25,marginInlineEnd:5}},elementRef:v,onClick:()=>y(!b)}),b&&i.createElement(x.P,{"data-testid":"SuggestionsCallout",target:v,onDismiss:()=>{y(!1),f()},setInitialFocus:!0,calloutWidth:250,isBeakVisible:!1,directionalHintFixed:!0,directionalHint:w.A.bottomLeftEdge},i.createElement(Se,{availableTypes:e,tables:r,columns:o,checkedTypes:c,setCheckedTypes:d,checkedTables:p,setCheckedTables:h,checkedColumns:g,setCheckedColumns:m,suggestions:s,onApply:()=>{y(!1),l(c,p,g)}})))},Te=i.createContext({});function ke(){return i.useContext(Te)}const Fe=Te.Provider;function Ee(e,t){return new Set(Array.from(e).filter((e=>!t.has(e))))}function Ae(e,t){return new Set([...Array.from(Ee(e,t)),...Array.from(Ee(t,e))])}function Ie(e,t){return e.reduce(((e,r)=>{const n=t(r);return n in e?e[n]++:e[n]=1,e}),{})}function xe(e){const t=[];return e.forEach((e=>t.push(...e))),t}const we=i.createContext(void 0),Pe=i.createContext((()=>{}));function Re(){return i.useContext(we)}const De=({children:e})=>{const t=ke(),[r,n]=i.useState({}),o=i.useCallback(((e,t)=>{e?n((r=>({...r,[e]:t}))):a.Hv.sendTraceTag(508843221,s.n.msoulscat_ES_EWAJS,l.k.Error,"Set filter failed: sheetId is undefined")}),[n]);return i.createElement(Pe.Provider,{value:o},i.createElement(we.Provider,{value:r[t.sheetId]},e))},_e=({isFiltered:e,suggestions:t,sheetId:r})=>{const n=Re(),o=i.useContext(Pe),a=Array.from(new Set(t.map((e=>e.tableName)))),s=ve()?fe(t):void 0,{filterTables:l,filterSuggestionTypes:u,filterColumns:c}=function(e,t,r,n){if(ve()){const o={filterTables:t,filterSuggestionTypes:r,filterColumns:n};if(e){const r=t.filter((t=>e.filterTables.includes(t))),i=n?.filter((t=>e.filterColumns?.includes(t)??!1));o.filterTables=r,o.filterColumns=i;const a=ae().filter((t=>e.filterSuggestionTypes.includes(t)));a.length>0&&(o.filterSuggestionTypes=a)}return o}const o={filterTables:t,filterSuggestionTypes:r};if(e){const r=t.filter((t=>e.filterTables.includes(t)));o.filterTables=r;const n=ae().filter((t=>e.filterSuggestionTypes.includes(t)));n.length>0&&(o.filterSuggestionTypes=n)}return o}(n,a,ae(),s),[d,p]=i.useState({selectedTypes:u,selectedTables:l,selectedColumns:ve()?c:void 0});return i.useEffect((()=>{p((e=>{const t=Ae(new Set(e.selectedTables),new Set(l)).size>0,r=!!ve()&&Ae(new Set(e.selectedColumns??[]),new Set(c??[])).size>0;return t||r?{...e,selectedTables:t?l:e.selectedTables,selectedColumns:r?c:e.selectedColumns}:e}))}),[l,c]),i.createElement(Ce,{...d,isFiltered:e,availableTypes:ae(),tables:a,columns:s,onFilterChanged:function(e,t,n){p({selectedTypes:e,selectedTables:t,selectedColumns:n}),r&&o?.(r,{filterTables:t,filterSuggestionTypes:e,filterColumns:n})},suggestions:t})};var Ne=r(55056),Oe=r(84105);const Me=(0,Ne.n)({root:{display:"flex",flexDirection:"column",minHeight:"100%",...Oe.Pt.padding("0","16px")},headerText:{fontFamily:"Segoe UI",fontSize:"14px",lineHeight:"20px",fontWeight:600},descriptionText:{fontFamily:"Segoe UI",fontSize:"12px",fontWeight:"400",lineHeight:"16px"}}),Be=({title:e,subTitle:t,testId:r,children:n})=>{const o=Me();return i.createElement(i.Fragment,null,i.createElement(v,null,i.createElement("div",{"data-testid":r,className:o.root},i.createElement(ee.E,{className:o.headerText},e),i.createElement(ee.E,{className:o.descriptionText},t),n)))},Le=()=>i.createElement(Be,{testId:"EmptyFilteredSuggestions",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_NoSuggestionTitle),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Filter_NoSuggestionSubheader)});var Ke,We=r(49455),He=r(73725),Ge=r(50550),ze=r(24011),Ue=r(37526),Ve=r(37241);!function(e){e[e.info=0]="info",e[e.error=1]="error",e[e.blocked=2]="blocked",e[e.severeWarning=3]="severeWarning",e[e.success=4]="success",e[e.warning=5]="warning"}(Ke||(Ke={}));var je,qe,$e,Qe,Xe,Ye=r(99139),Je=((je={})[Ke.info]="Info",je[Ke.warning]="Info",je[Ke.error]="ErrorBadge",je[Ke.blocked]="Blocked2",je[Ke.severeWarning]="Warning",je[Ke.success]="Completed",je),Ze=(0,Ge.Z)(),et=function(e){switch(e){case Ke.blocked:case Ke.error:case Ke.severeWarning:return"assertive"}return"polite"},tt=function(e){switch(e){case Ke.blocked:case Ke.error:case Ke.severeWarning:return"alert"}return"status"},rt=i.forwardRef((function(e,t){var r=(0,Ye.C)(!1),n=r[0],o=r[1].toggle,a=(0,U.B)("MessageBar"),s=e.actions,l=e.className,u=e.children,c=e.overflowButtonAriaLabel,d=e.dismissIconProps,p=e.styles,h=e.theme,g=e.messageBarType,m=void 0===g?Ke.info:g,f=e.onDismiss,v=void 0===f?void 0:f,b=e.isMultiline,y=void 0===b||b,S=e.truncated,C=e.dismissButtonAriaLabel,T=e.messageBarIconProps,k=e.role,F=e.delayedRender,E=void 0===F||F,A=e.expandButtonProps,x=e.onExpandButtonToggled,w=void 0===x?void 0:x,P=e.showExpandButton,R=i.useCallback((function(){o(),w&&w(!n)}),[n,w,o]),_=(0,H.G1)(e,H.vt,["className","role"]),N=Ze(p,{theme:h,messageBarType:m||Ke.info,onDismiss:void 0!==v,actions:void 0!==s,truncated:S,isMultiline:y,expandSingleLine:n,className:l}),O={iconName:n?"DoubleChevronUp":"DoubleChevronDown"},M=s||v?{"aria-describedby":a,role:"region"}:{},B=s?i.createElement("div",{className:N.actions},s):null,L=v?i.createElement(I.K,{disabled:!1,className:N.dismissal,onClick:v,iconProps:d||{iconName:"Clear"},title:C,ariaLabel:C}):null;return i.createElement("div",(0,D.Cl)({ref:t,className:N.root},M),i.createElement("div",{className:N.content},i.createElement("div",{className:N.iconContainer,"aria-hidden":!0},T?i.createElement(Ve.I,(0,D.Cl)({},T,{className:(0,ze.A)(N.icon,T.className)})):i.createElement(Ve.I,{iconName:Je[m],className:N.icon})),i.createElement("div",{className:N.text,id:a,role:k||tt(m),"aria-live":et(m)},i.createElement("span",(0,D.Cl)({className:N.innerText},_),E?i.createElement(Ue.P,null,i.createElement("span",null,u)):i.createElement("span",null,u))),(P||!y&&!B&&S)&&i.createElement("div",{className:N.expandSingleLine},i.createElement(I.K,(0,D.Cl)({disabled:!1,className:N.expand,onClick:R,iconProps:O,ariaLabel:c,"aria-expanded":n},A))),!y&&B,!y&&L&&i.createElement("div",{className:N.dismissSingleLine},L),y&&L),y&&B)}));rt.displayName="MessageBar";var nt={root:"ms-MessageBar",error:"ms-MessageBar--error",blocked:"ms-MessageBar--blocked",severeWarning:"ms-MessageBar--severeWarning",success:"ms-MessageBar--success",warning:"ms-MessageBar--warning",multiline:"ms-MessageBar-multiline",singleline:"ms-MessageBar-singleline",dismissalSingleLine:"ms-MessageBar-dismissalSingleLine",expandingSingleLine:"ms-MessageBar-expandingSingleLine",content:"ms-MessageBar-content",iconContainer:"ms-MessageBar-icon",text:"ms-MessageBar-text",innerText:"ms-MessageBar-innerText",dismissSingleLine:"ms-MessageBar-dismissSingleLine",expandSingleLine:"ms-MessageBar-expandSingleLine",dismissal:"ms-MessageBar-dismissal",expand:"ms-MessageBar-expand",actions:"ms-MessageBar-actions",actionsSingleline:"ms-MessageBar-actionsSingleLine"},ot=((qe={})[Ke.error]="errorBackground",qe[Ke.blocked]="errorBackground",qe[Ke.success]="successBackground",qe[Ke.warning]="warningBackground",qe[Ke.severeWarning]="severeWarningBackground",qe[Ke.info]="infoBackground",qe),it=(($e={})[Ke.error]="errorIcon",$e[Ke.blocked]="errorIcon",$e[Ke.success]="successIcon",$e[Ke.warning]="warningIcon",$e[Ke.severeWarning]="severeWarningIcon",$e[Ke.info]="infoIcon",$e),at=((Qe={})[Ke.error]="#ff0000",Qe[Ke.blocked]="#ff0000",Qe[Ke.success]="#bad80a",Qe[Ke.warning]="#fff100",Qe[Ke.severeWarning]="#ff0000",Qe[Ke.info]="WindowText",Qe),st=((Xe={})[Ke.error]="#e81123",Xe[Ke.blocked]="#e81123",Xe[Ke.success]="#107c10",Xe[Ke.warning]="#966400",Xe[Ke.severeWarning]="#d83b01",Xe[Ke.info]="WindowText",Xe),lt=(0,He.I)(rt,(function(e){var t,r,n,o,i,a,s,l,u,c,d,p=e.theme,h=e.className,g=e.onDismiss,m=e.truncated,v=e.isMultiline,b=e.expandSingleLine,y=e.messageBarType,S=void 0===y?Ke.info:y,C=p.semanticColors,T=p.fonts,k=(0,f.L6)(0,f.iD),F=(0,f.Km)(nt,p),E={fontSize:f.fF.xSmall,height:10,lineHeight:"10px",color:C.messageText,selectors:(t={},t[f.up]=(0,D.Cl)((0,D.Cl)({},(0,f.Qg)()),{color:"WindowText"}),t)},A=[(0,f.gm)(p,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":E,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[F.root,T.medium,S===Ke.error&&F.error,S===Ke.blocked&&F.blocked,S===Ke.severeWarning&&F.severeWarning,S===Ke.success&&F.success,S===Ke.warning&&F.warning,v?F.multiline:F.singleline,!v&&g&&F.dismissalSingleLine,!v&&m&&F.expandingSingleLine,{background:C[ot[S]],boxSizing:"border-box",color:C.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(r={".ms-Link":{color:C.messageLink,selectors:{":hover":{color:C.messageLinkHovered}}}},r[f.up]=(0,D.Cl)((0,D.Cl)({},(0,f.Qg)()),{background:"transparent",border:"1px solid ".concat(at[S]),color:"WindowText"}),r[f.hT]={border:"1px solid ".concat(st[S])},r)},v&&{flexDirection:"column"},h],content:[F.content,(n={display:"flex",width:"100%",lineHeight:"normal"},n[k]={display:"grid",gridTemplateColumns:"auto 1fr auto",gridTemplateRows:"1fr auto",gridTemplateAreas:'\n "icon text close"\n "action action action"\n '},n)],iconContainer:[F.iconContainer,(o={fontSize:f.fF.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"},o[k]={gridArea:"icon"},o)],icon:{color:C[it[S]],selectors:(i={},i[f.up]=(0,D.Cl)((0,D.Cl)({},(0,f.Qg)()),{color:"WindowText"}),i)},text:[F.text,(0,D.Cl)((0,D.Cl)({minWidth:0,display:"flex",flexGrow:1,margin:8},T.small),(a={},a[k]={gridArea:"text"},a.selectors=(s={},s[f.up]=(0,D.Cl)({},(0,f.Qg)()),s),a)),!g&&{marginRight:12}],innerText:[F.innerText,{lineHeight:16,selectors:{"& span a:last-child":{paddingLeft:4}}},m&&{overflow:"visible",whiteSpace:"pre-wrap"},!v&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!v&&!m&&{selectors:(l={},l[k]={overflow:"visible",whiteSpace:"pre-wrap"},l)},b&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:[F.dismissSingleLine,(u={},u[k]={gridArea:"close"},u)],expandSingleLine:F.expandSingleLine,dismissal:[F.dismissal,A],expand:[F.expand,A],actions:[v?F.actions:F.actionsSingleline,(c={display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",forcedColorAdjust:"auto",MsHighContrastAdjust:"auto"},c[k]={gridArea:"action",marginRight:8,marginBottom:8},c.selectors={"& button:nth-child(n+2)":(d={marginLeft:8},d[k]={marginBottom:0},d)},c),v&&{marginBottom:8},g&&!v&&{marginRight:0}]}}),void 0,{scope:"MessageBar"}),ut=r(38068);const ct=i.createContext(void 0),dt=ct.Provider;function pt(){return i.useContext(ct)}const ht=()=>{const e=(0,We.D)(),t=pt();return t?.canRefresh?i.createElement(lt,{theme:e,isMultiline:!1,messageBarType:Ke.success,styles:{root:{width:"unset"},iconContainer:{display:"none"},content:{alignItems:"center","&.ms-MessageBar-content":{display:"flex"}},actions:{"&.ms-MessageBar-actionsSingleLine":{marginInlineEnd:-2,marginBlockEnd:0}},text:{fontSize:f.s.small,marginInlineStart:10}},actions:i.createElement(ut.r,{onClick:t.refresh,primary:!0,styles:{textContainer:{fontWeight:f.BO.semibold,fontSize:f.s.small}}},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.RefreshAnnotations_Button))},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.RefreshAnnotations_Title)):null};var gt=r(46085),mt=r(90056),ft=r(72341),vt=r(88333),bt=r(61894);const yt={top:0,position:"sticky",zIndex:1},St=({name:e,sticky:t})=>{const r=(0,We.D)(),{neutralLight:n,neutralPrimaryAlt:o}=r.palette,a=n;return i.createElement(u.B,{horizontal:!0,horizontalAlign:"center",verticalAlign:"center"},i.createElement(vt.w,{styles:{root:{flex:1,...t?yt:{},":before":{backgroundColor:a}}}}),i.createElement(bt.J,{styles:{root:{padding:`0 ${f.s.size20}`,color:o,fontWeight:f.BO.semibold}}},e),i.createElement(vt.w,{styles:{root:{flex:1,...t?yt:{},":before":{backgroundColor:a}}}}))},Ct=i.createContext({isSelected:!1,isHovered:!1}),Tt=Ct.Provider;var kt=r(91243),Ft=r(63107),Et=r(30125);const At="suggestion-card",It=({index:e,suggestionId:t,isPreviewEnabled:r,children:n,isSelected:o,onRemoved:a,disabled:s=!1})=>{const l=y(),[u,c]=i.useState(!1),d=(0,C.d)((()=>(0,Et.v4)()));return q((()=>{a?.()})),i.createElement("span",{role:"listitem",className:At,"data-selection-index":e,onClick:e=>{e.target!==document.activeElement&&e.currentTarget.focus()},onMouseEnter:()=>{(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingLogTriedOnHover",!1)&&(0,kt.logCopilotTriedEvent)(kt.TelemetryStandardizedFeature.CleanData,Ft.TA.EntryPoint.Canvas,d),c(!0),r&&l?.onSuggestionPreview?.(t)},onMouseLeave:()=>{c(!1),r&&l?.onCancelSuggestionPreview?.(t)},style:{outline:"none",transition:"opacity 0.45s linear",marginBlockEnd:8,...s&&{userSelect:"none",opacity:"0.4"}},"data-is-focusable":!0,"data-selection-select":!0,"data-selected-card":o||void 0},i.createElement(Tt,{value:{isSelected:o,isHovered:u}},n))};var xt=r(49738),wt=r(16418);const Pt=({text:e,spacesRegex:t=/\s/,highlightLeading:r=!0,highlightMiddle:n=!0,highlightTrailing:o=!0,ignoreSingleMiddle:a=!0,whitespaceBaseColor:s="#FF9198",variant:l="thin",wrap:u=!1})=>{if(!e)return null;if(!(r||n||o))return i.createElement(i.Fragment,null,e);const c=((e,t)=>{const r={margin:"0 0.5px",":first-child":{marginInlineStart:0},":last-child":{marginInlineEnd:0}};return(0,f.l8)({container:{whiteSpace:t?"pre-wrap":"pre"},space:{...r,backgroundColor:e},spacesContainer:{...r,display:"inline-block"}})})(s,u);return i.createElement("span",{className:c.container},function(e,t,r=/\s/){const n=[];let o=0;for(;o<e.length;){let i="";for(;o<e.length&&r.test(e[o]);)i+=e[o],o+=1;i.length>0&&n.push(t(i,o-1));let a="";for(;o<e.length&&!r.test(e[o]);)a+=e[o],o+=1;a.length>0&&n.push(a)}return n}(e,((t,s)=>{const u=s===t.length-1,d=s===e.length-1,p=!(u||d);if(u&&!r||p&&!n||p&&a&&t.length<2||d&&!o)return t;const h=t.replace("\r\n","\n");return i.createElement("span",{key:s,className:c.spacesContainer},Array.from(h).map(((e,t)=>i.createElement("span",{key:`${s}|${t}`,className:c.space},"thin"===l?e:e+e))))}),t))},Rt=({onChange:e,variations:t,collapsedVariationsToShow:r=10})=>{const n=i.useCallback(((t,r=!1)=>e(t?.currentTarget?.name,r)),[e]),[o,a]=i.useState(!1),s=o?t:t.slice(0,r);return i.createElement(u.B,null,i.createElement(u.B,{verticalAlign:"center",styles:{root:{margin:"8px 0",outline:"none"}},tokens:{childrenGap:"6px 0"}},s.map((e=>i.createElement(se.S,{name:e.value,key:e.value,label:e.value,checked:e.isSelected,onChange:n,onRenderLabel:Dt,styles:{text:{fontSize:12},checkbox:{height:16,width:16},label:{maxWidth:"100%",whiteSpace:"pre"}}})))),t.length>r&&i.createElement(u.B,{horizontalAlign:"start",styles:{root:{marginBottom:4}}},i.createElement(ut.r,{styles:{root:{fontSize:12,height:20}},onClick:()=>a((e=>!e))},o?ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyIssue_ShowLess):ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyIssue_ShowAll))))},Dt=(e,t)=>i.createElement("div",{style:{overflow:"hidden",textOverflow:"ellipsis"}},i.createElement(xt.S,{content:i.createElement(Pt,{text:e?.label,wrap:!0}),overflowMode:wt.$.Parent},t?.({label:i.createElement(Pt,{text:e?.label})})));function _t(e,t,r){return e.split(t).map(((e,t)=>t%2==0?e:r(e,t))).filter((e=>null!==e&&""!==e))}function Nt(e,t){return Array.isArray(t)?_t(e,/\{(\d+)\}/,(e=>{const r=parseInt(e,10);return r>=0&&r<t.length?t[r]:`{${e}}`})):_t(e,/\{(\w+)\}/,(e=>e in t?t[e]:`{${e}}`))}const Ot=({message:e,values:t})=>i.createElement(i.Fragment,null,i.Children.toArray(function(e,t){return Nt(e,t)}(e,t))),Mt={},Bt=i.createContext(void 0);function Lt(){return i.useContext(Bt)}const Kt=Bt.Provider;function Wt(){const e=Lt(),t=y();return i.useCallback((r=>{e?.showToast({message:r,actionMessage:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ConfirmationCallout_UndoButton),action:t?.undoLastAppliedSuggestion,onDismiss:t?.reportSuggestionSucceeded})}),[t,e])}var Ht=r(60835),Gt=r(90044),zt=r(10138),Ut=r(64608),Vt=r(60204),jt=r(44682),qt=r(66608),$t=r(75856),Qt=(0,Gt.J9)((function(e,t,r,n){var o,i,a,s,l,u,c,d,p,h,g,m,v,b=(0,jt.$)(e),y=(0,qt.$)(e),S=e.palette,C=e.semanticColors,T={root:[(0,f.gm)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,(o={minWidth:"40px",backgroundColor:S.white,color:S.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0},o[f.up]={border:"none"},o)],rootHovered:(i={backgroundColor:S.neutralLighter,color:S.neutralDark},i[f.up]={color:"Highlight"},i[".".concat($t._.msButtonIcon)]={color:S.themeDarkAlt},i[".".concat($t._.msButtonMenuIcon)]={color:S.neutralPrimary},i),rootPressed:(a={backgroundColor:S.neutralLight,color:S.neutralDark},a[".".concat($t._.msButtonIcon)]={color:S.themeDark},a[".".concat($t._.msButtonMenuIcon)]={color:S.neutralPrimary},a),rootChecked:(s={backgroundColor:S.neutralLight,color:S.neutralDark},s[".".concat($t._.msButtonIcon)]={color:S.themeDark},s[".".concat($t._.msButtonMenuIcon)]={color:S.neutralPrimary},s),rootCheckedHovered:(l={backgroundColor:S.neutralQuaternaryAlt},l[".".concat($t._.msButtonIcon)]={color:S.themeDark},l[".".concat($t._.msButtonMenuIcon)]={color:S.neutralPrimary},l),rootExpanded:(u={backgroundColor:S.neutralLight,color:S.neutralDark},u[".".concat($t._.msButtonIcon)]={color:S.themeDark},u[".".concat($t._.msButtonMenuIcon)]={color:S.neutralPrimary},u),rootExpandedHovered:{backgroundColor:S.neutralQuaternaryAlt},rootDisabled:(c={backgroundColor:S.white},c[".".concat($t._.msButtonIcon)]=(d={color:C.disabledBodySubtext},d[f.up]=(0,D.Cl)({color:"GrayText"},(0,f.Qg)()),d),c[f.up]=(0,D.Cl)({color:"GrayText",backgroundColor:"Window"},(0,f.Qg)()),c),splitButtonContainer:(p={height:"100%"},p[f.up]={border:"none"},p),splitButtonDividerDisabled:(h={},h[f.up]={backgroundColor:"Window"},h),splitButtonDivider:{backgroundColor:S.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:S.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:S.neutralSecondary,":hover":(g={backgroundColor:S.neutralLighter,color:S.neutralDark},g[f.up]={color:"Highlight"},g[".".concat($t._.msButtonIcon)]={color:S.neutralPrimary},g),":active":(m={backgroundColor:S.neutralLight},m[".".concat($t._.msButtonIcon)]={color:S.neutralPrimary},m)},splitButtonMenuButtonDisabled:(v={backgroundColor:S.white},v[f.up]=(0,D.Cl)({color:"GrayText",border:"none",backgroundColor:"Window"},(0,f.Qg)()),v),splitButtonMenuButtonChecked:{backgroundColor:S.neutralLight,color:S.neutralDark,":hover":{backgroundColor:S.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:S.neutralLight,color:S.black,":hover":{backgroundColor:S.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:S.neutralPrimary},splitButtonMenuIconDisabled:{color:S.neutralTertiary},label:{fontWeight:"normal"},icon:{color:S.themePrimary},menuIcon:{color:S.neutralSecondary}};return(0,f.TW)(b,y,T,t)})),Xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,D.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,r=e.theme;return i.createElement(zt.S,(0,D.Cl)({},this.props,{variantClassName:"ms-Button--commandBar",styles:Qt(r,t),onRenderDescription:Ut.K}))},(0,D.Cg)([(0,Vt.T)("CommandBarButton",["theme","styles"],!0)],t)}(i.Component),Yt=r(30840),Jt=r(68541),Zt=r(73653),er=r(85963),tr=r(16632),rr=r.n(tr);const nr="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",or="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",ir=({range:e,tooltip:t,style:r})=>{const n=(0,We.D)();if(!e)return null;const o={cursor:"default",padding:3,border:"1px solid",borderRadius:3,fontSize:f.s.xSmall,fontWeight:f.BO.semibold,color:n.palette.neutralDark,borderColor:n.palette.neutralLight,backgroundColor:n.palette.neutralLight,textOverflow:"ellipsis",whiteSpace:"pre",overflow:"hidden"};return t?i.createElement(xt.S,{overflowMode:wt.$.Self,directionalHint:w.A.bottomCenter,content:t,styles:{root:{...o,...r}}},e):i.createElement(ee.E,{styles:{root:o}},e)};var ar=r(21632);const sr={Apply:R().Checkmark_16,Ignore:R().DeleteHover_16,Close:rr().CancelGlyph_16,Actions:rr().HintBarEllipses_20},lr={icon:{width:12,margin:0},root:{height:"unset",fontSize:f.s.size12,padding:0,":after":{outlineOffset:"6px"}}},ur=(0,Gt.J9)(((e,t)=>{const r={iconDisabled:{"path.OfficeIconColors_m22":{fill:t?.neutralTertiaryAlt}}},n={iconHovered:{"path.OfficeIconColors_m22":{fill:t?.themePrimary}}};return(0,f.l8)(lr,r,e?.colorIconOnHover&&n)})),cr={root:{width:16,height:16,marginInlineEnd:-9,marginBlockStart:-9}},dr={root:{width:24,height:24}},pr=(0,Gt.J9)(((e,t)=>(0,f.Zq)({padding:9,borderRadius:"3px",boxSizing:"border-box",boxShadow:nr,border:"2px solid transparent",background:(0,ar.isChangeGateEnabled)("OfficeVSO:9689112_DataCleansingUseSemanticColors")?t.semanticColors.cardStandoutBackground:t.palette.white,opacity:"inherit",":hover":{boxShadow:or}},e&&{borderColor:t.palette.themePrimary},e&&{[f.up]:{borderColor:"Highlight"}}))),hr=({menuItems:e,menuString:t})=>{if(!e||0===e.length)return null;if(1===e.length){const[t]=e;return i.createElement(ut.r,{style:{marginInlineStart:"auto"},onClick:()=>t.onClick(),styles:ur()},t.text)}return i.createElement(Xt,{style:{marginInlineStart:"auto"},title:t,menuProps:{items:e},menuIconProps:{iconName:sr.Actions},ariaLabel:ExcelRibbonStringsManager.get(Ht.pr.OverflowWellLabel)})},gr={APPLY:{iconName:sr.Apply},IGNORE:{iconName:sr.Ignore},GENERAL:void 0},mr=({title:e,range:t,rangeTooltipString:r,mainActions:n=[],children:o,isSelected:a=!1,otherActions:s=[],otherActionsString:l,onClose:c,closeString:d,handleTab:p,focusBeforeApply:h=!1,additionalAction:g,actionsRowStyle:m,showRangeBadge:f=!0,aiDisclaimerText:v,showCopilotIcon:b,idTitleBar:y,showIconInHeader:S=!1,iconName:C})=>{const T=i.useRef(null),k=(0,We.D)(),F=pr(a,k),E=i.useRef(null),A=(0,ar.isChangeGateEnabled)("OfficeVSO:9572101_DataCleansingKeyboardAccessabilityV2");return i.createElement("div",{ref:E},i.createElement(te.R,{className:F,handleTabKey:p,isCircularNavigation:!!A||void 0,onKeyDown:A?e=>{"Escape"!==e.key&&e.keyCode!==ft.c.escape||(e.preventDefault(),e.stopPropagation(),E.current?.parentElement&&E.current.parentElement.focus())}:void 0},c&&i.createElement(u.B,{horizontalAlign:"end"},i.createElement(I.K,{title:d,iconProps:{iconName:sr.Close},onClick:c,styles:cr})),i.createElement(u.B,{style:c?{paddingInlineEnd:7}:{}},i.createElement(u.B,{horizontal:!0,style:{marginBottom:10},tokens:{childrenGap:10},horizontalAlign:"space-between",verticalAlign:"start",id:y},i.createElement(u.B,{horizontal:!0,tokens:{childrenGap:10}},b&&i.createElement(Ve.I,{iconName:"XLCoPilot_24"}),!b&&S&&C&&i.createElement(Ve.I,{iconName:C,styles:dr}),b?(0,Zt.G7)(er.PE.fluentV9LabelEnabled)?i.createElement(Jt.J,{style:{padding:0,fontSize:18}},e):i.createElement(bt.J,{style:{padding:0,fontSize:18}},e):(0,Zt.G7)(er.PE.fluentV9LabelEnabled)?i.createElement(Jt.J,{style:{padding:0}},e):i.createElement(bt.J,{style:{padding:0}},e)),f&&i.createElement(ir,{range:t,tooltip:r,style:{maxWidth:"25%"}})),o),i.createElement(vt.w,{styles:{root:{padding:"1px 0",":before":{backgroundColor:k.palette.neutralQuaternaryAlt}}}}),i.createElement(u.B,{horizontal:!0,horizontalAlign:"start",tokens:{childrenGap:6},style:m},i.createElement(fr,{mainActions:n,applyButtonRef:T,focusBeforeApply:h}),g,i.createElement(hr,{menuItems:s,menuString:l})),v&&i.createElement(ee.E,{block:!0,variant:"xSmall",styles:{root:{color:k.palette.neutralSecondaryAlt,paddingBlockStart:"0.6em"}}},v)))},fr=({mainActions:e,applyButtonRef:t,focusBeforeApply:r})=>{const n=(0,We.D)();return i.createElement(i.Fragment,null,e.map((e=>{const o=((e,t,r)=>"apply"===e.key&&t?()=>{r.current?.focus(),e.onClick?.()}:()=>{e.onClick?.()})(e,r,t);return"CallToActionPrimary"===e?.buttonStyleFlavor?i.createElement(ne.j,{key:e.key,"data-testid":e.testId,disabled:e.disabled,onClick:o},e.text):"CallToActionDefault"===e?.buttonStyleFlavor?i.createElement(Yt.Y,{key:e.key,"data-testid":e.testId,disabled:e.disabled,onClick:o},e.text):i.createElement(ut.r,{key:e.key,elementRef:"apply"===e.key?t:null,"data-testid":e.testId,disabled:e.disabled,onClick:o,iconProps:e.iconProps??gr[e.kind],styles:ur(e,n.palette)},e.text)})))};var vr=r(70972),br=r(61027);const yr=[(0,vr.m9)("featureNameField","DataCleansing"),(0,vr.m9)("ver","1.0.0")],Sr={dataCategories:br.o.DataCategories.ProductServiceUsage,samplingPolicy:br.o.SamplingPolicy.Measure,diagnosticLevel:br.o.DiagnosticLevel.Optional},Cr={dataCategories:br.o.DataCategories.ProductServiceUsage,samplingPolicy:br.o.SamplingPolicy.CriticalBusinessImpact,diagnosticLevel:br.o.DiagnosticLevel.RequiredServiceData},Tr={eventName:"Office.Excel.Client.DataCleansing.Seen",eventFlags:Sr,dataFields:[...yr,(0,vr.LK)("isFeatureSeen",!0)]},kr={eventName:"Office.Excel.Client.DataCleansing.Tried",eventFlags:Sr,dataFields:[...yr,(0,vr.LK)("isFeatureTried",!0)]},Fr=(e,t,r,n)=>({eventName:"Office.Excel.Client.DataCleansing.TextInconsistencySuggestionCreation",eventFlags:Cr,dataFields:[...yr,(0,vr.m9)("suggestionId",e),(0,vr.Ug)("variationCount",t),(0,vr.m9)("suggestedValueLinters",r.join(";")),(0,vr.m9)("otherVariationsLinters",n)]});var Er=r(9106);function Ar(e){switch(e){case"AllNumber":return ge.AllNumber;case"AllText":return ge.AllText;case"MixedNumberAndText":return ge.MixedNumberAndText;default:throw new TypeError(`${e} is not supported for NumberFormatVariationsType`)}}function Ir(e){switch(e){case J.ExtraSpacesTable:return"ExtraSpaces";case J.TextInconsistency:return"TextInconsistency";case J.NumberFormatInconsistency:return"NumberFormatInconsistency";case J.DateFormat:return"DateFormat";case J.Pattern:return"Pattern";case J.Typo:return"Typo";case J.LAST:return"LAST";default:return"UnknownSuggestionType"}}function xr(e){switch(e){case ge.AllNumber:return"AllNumber";case ge.AllText:return"AllText";case ge.MixedNumberAndText:return"MixedNumberAndText";default:return"UnknownNumberFormatVariationType"}}function wr(e){return e.reduce(((e,t)=>(function(e,t){const{tableIdentifier:r}=t;r&&(r in e||(e[r]={}),function(e,t){const r=Ir(t.type);r in e||(e[r]=0),e[r]++}(e[r],t))}(e,t),e)),{})}function Pr(e,t,r=""){const n=Ir(e.type);a.Hv.sendTraceTag(509219931,s.n.msoulscat_ES_EWAJS,l.k.Important,`sendApplyTelemetry: applied ${n} in [sheetId: ${t} tableId: ${e.tableIdentifier}] ${r}`),(0,Er.getTelemetryLogger)().sendTelemetryEvent(((e,t,r,n)=>({eventName:"Office.Excel.Client.DataCleansing.Apply",eventFlags:Cr,dataFields:[...yr,(0,vr.m9)("suggestionType",e),(0,vr.m9)("sheetId",t),(0,vr.m9)("tableId",r),(0,vr.m9)("additionalInfoToLog",n)]}))(n,t??"",e.tableIdentifier,r))}function Rr(e){return Ie(xe(e.filter(pe).map((e=>Array.from(function(e){return new Set(xe(e.variations.map((e=>e.linters))))}(e).values())))),(e=>e))}function Dr(e){return Ie(e.filter(he),(e=>xr(e.variationsType??void 0)))}const _r={root:{fontSize:12,marginTop:12,marginBottom:2}},Nr="smallPlus",Or=!0,Mr={cursor:"default"},Br={root:{DataCleansingSuggestionTextRootStyle:Mr}},Lr=({suggestion:e,isSelected:t,baseSuggestionCardProps:r,children:n,cardTitle:o,applyButtonMessage:a,ignoreButtonMessage:s,applyAction:l,showApplyConfirmationMessage:u,createApplyTelemetryAdditionalInfo:c,actionBeforeApply:d})=>{const p=y(),h=ke(),g=l,m=(f=r.mainActions,v=a,b=()=>{d?.(),p?.onSuggestionApplied?.(e.id,g)?.then((t=>{u(t),c?Pr(e,h?.sheetId,c(t)):Pr(e,h?.sheetId),(0,Er.getTelemetryLogger)().sendTelemetryEvent(kr)})).catch((()=>{}))},S=s,f?f.map((t=>"APPLY"===t.kind?{...t,text:v,onClick:b,disabled:!p?.canApplySuggestion?.(e.id)}:"IGNORE"===t.kind?{...t,text:S}:t)):[]);var f,v,b,S;return i.createElement(mr,{...r,title:o,mainActions:m,isSelected:t,focusBeforeApply:!0,handleTab:re.l.all},n)},Kr=({suggestion:e,isSelected:t,baseSuggestionCardProps:r})=>{const n=E(),o=Wt();return i.createElement(Lr,{suggestion:e,isSelected:t,baseSuggestionCardProps:r,cardTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TypoCardTitle),applyButtonMessage:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyCard_Apply),ignoreButtonMessage:ExcelDataCleansingStringsManager.get((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingIgnoreAll",!1)?ExcelDataCleansingStringsEnum.TextInconsistencyCard_IgnoreAll:ExcelDataCleansingStringsEnum.TextInconsistencyCard_Ignore),applyAction:async()=>{const t=await(n?.replaceMultipleStrings?.(e.issue.ranges,[e.issue.value],e.fixValue,{matchCase:!1,matchEntireCell:!1,replaceWholeWordOnly:!0}));if(null==t)throw new Error("TypoCard.apply: returned a nullish value.");return t},showApplyConfirmationMessage:()=>{o(ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TypoCardConfirmation))}},i.createElement(ee.E,{variant:Nr,block:Or,styles:Br},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TypoCardMessage),values:{column:i.createElement("b",null,e.columnTitle),typo:i.createElement("b",null,e.issue.value),correct:i.createElement("b",null,e.fixValue)}})))},Wr={renderCard:(e,t,r)=>Hr(e)?i.createElement(Kr,{key:e.id,suggestion:e,isSelected:t,baseSuggestionCardProps:r}):i.createElement(i.Fragment,null),getSuggestionAffectedRanges:e=>Hr(e)?e.issue.ranges:[],canApplySuggestion:e=>!!Hr(e)};function Hr(e){return e.type===J.Typo}function Gr(e){return!!e?.newSuggestion}var zr;function Ur(e,t){if(Gr(e))return e;switch(e.type){case J.TextInconsistency:return Vr[J.TextInconsistency](e,t);case J.NumberFormatInconsistency:return Vr[J.NumberFormatInconsistency](e,t)}return e}Mt[J.Typo]=Wr,function(e){e[e.NoChange=0]="NoChange",e[e.ReplacementValue=1]="ReplacementValue",e[e.VariationSelection=2]="VariationSelection",e[e.CustomNumberFormat=3]="CustomNumberFormat"}(zr||(zr={}));const Vr={[J.TextInconsistency]:(e,t)=>{const r={...e,variations:e.variations.map((e=>({...e})))};switch(t.type){case zr.NoChange:break;case zr.VariationSelection:{const e=r.variations?.find((e=>e?.value===t.variation));e&&(e.isSelected=t.selected);break}case zr.ReplacementValue:r.replacementValue=t.value,r.variations?.forEach((t=>{t?.value===e.replacementValue&&(t.isSelected=!0),t?.value===r.replacementValue&&(t.isSelected=!1)}))}return function(e,t){const r=e.replacementValue!==t.replacementValue,n=t.variations.every((e=>e.value!==t.replacementValue)),o=e.variations.filter((e=>e.isSelected)),i=t.variations.filter((e=>e.isSelected)),u=i.filter((e=>!o.map((e=>e.value)).includes(e.value))),c=o.filter((e=>!i.map((e=>e.value)).includes(e.value))),d=u.flatMap((e=>e.linters)),p=c.flatMap((e=>e.linters));(r||o.length!==i.length)&&a.Hv.sendTraceTag(505790795,s.n.msoulscat_ES_EWAJS,l.k.Info,`logSuggestionChange: ${JSON.stringify({replacementValueChanged:r,replacementValueIsFreeText:n,numPrevSelectedVariations:o.length,numNewSelectedVariations:i.length,numVariations:t.variations.length,lintersForNewlySelected:d,lintersForNewlyUnselected:p})}`)}(e,r),r},[J.NumberFormatInconsistency]:(e,t)=>{const r={...e,formats:e.formats.map((e=>({...e})))};switch(t.type){case zr.NoChange:break;case zr.ReplacementValue:r.replacementFormat=t.value;break;case zr.CustomNumberFormat:{const n=e.formats?.filter((e=>e?.key!==t.format.key))??[];r.formats=[...n,t.format],r.replacementFormat=t.format.key;break}}return r}};var jr=r(62186);const qr=({actionsRef:e,onChange:t,onPendingValueChanged:r,...n})=>{const o=i.useRef(),u=i.useRef(!1);return i.useEffect((()=>{e&&(e.current={flushChangeEvent(){void 0!==o.current&&(u.current=!0,t?.({},void 0,void 0,o.current),a.Hv.sendTraceTag(540354722,s.n.msoulscat_ES_EWAJS,l.k.Info,"FlushableComboBox: flushed change event"))}})}),[e,t]),i.createElement(jr.a,{...n,comboBoxOptionStyles:{rootHovered:{selectors:{[f.up]:{color:"HighlightText"}}},root:{span:{height:"auto"}}},onPendingValueChanged:(e,t,n)=>{void 0!==n&&(o.current=n),r?.(e,t,n)},onChange:(e,r,n,i)=>{u.current?(u.current=!1,a.Hv.debugAssertTag(540312162,s.n.msoulscat_ES_EWAJS,o.current===(r?.text??i),"FlushableComboBox: Skipped with a different value")):t?.(e,r,n,i),o.current=void 0}})},$r=[J.ExtraSpacesTable,J.Typo,J.TextInconsistency,J.NumberFormatInconsistency,J.DateFormat],Qr=[J.Pattern];function Xr(e,t){if(!e||!t)return e?-1:1;const{suggestionRange:r}=e,{suggestionRange:n}=t;return Yr(e.tableRange,t.tableRange)||function(e,t){const r=Qr.includes(e.type);return r===Qr.includes(t.type)?0:r?1:-1}(e,t)||Jr(r,n)||function(e,t){const r=$r.indexOf(e),n=$r.indexOf(t);return(r<0?$r.length:r)-(n<0?$r.length:n)}(e.type,t.type)||Zr(r,n)}function Yr(e,t){return Jr(e,t)||Zr(e,t)}function Jr(e,t){return e.left-t.left}function Zr(e,t){return e.top-t.top}function en(e){function t(e,t){const r=e.left===t.left&&e.right===t.right,n=t.top-e.bottom<=1;return r&&n}const r=e.sort(Yr),n=[];for(let e=0;e<r.length;e++){for(;e<r.length-1&&t(r[e],r[e+1]);)r[e+1]=(o=r[e+1],i=r[e],{left:Math.min(o.left,i.left),top:Math.min(o.top,i.top),right:Math.max(o.right,i.right),bottom:Math.max(o.bottom,i.bottom)}),e++;n.push(r[e])}var o,i;return n}function tn(e){return e.reduce(((e,t)=>e+(t.bottom-t.top+1)*(t.right-t.left+1)),0)}const rn=new RegExp("d","g"),nn=/[0-9]/gm,on=/[A-Z]/g,an=String.raw`=\[\]\.\\\/%#\-\+,;():?"&<>'\!{}~^*\u0024\u0080\u00a2\u00a3\u00a4\u00a5\u20a0\u20a1\u20a2\u20a3\u20a4\u20a5\u20a6\u20a7\u20a8\u20a9\u20aa\u20ab\u20ac\u20ad\u20ae\u20af\u20b0\u20b1\u20b2\u20b3\u20b4\u20b5\u20b6\u20b7\u20b8\u20b9\ua0c2`,sn=new RegExp(`[^\\s${an}dW]`,"gm");var ln=r(91496);const un={[J.ExtraSpacesTable]:{getSuggestionAffectedRanges:e=>xe(Array.from(e.rangesByType.values())),canApplySuggestion:e=>!0},[J.TextInconsistency]:{getSuggestionAffectedRanges:e=>mn(e.variations.filter((t=>t.ranges&&t.isSelected&&t.value!==e.replacementValue))),canApplySuggestion:e=>Boolean(e.replacementValue&&e.variations?.some((t=>t?.isSelected&&t.value!==e.replacementValue)))},[J.NumberFormatInconsistency]:{getSuggestionAffectedRanges:e=>mn(e.formats.filter((t=>t.format!==e.replacementFormat||!t.isApplicable))),canApplySuggestion:e=>e.formats?.some((e=>e?.isApplicable))??!1},[J.DateFormat]:{getSuggestionAffectedRanges:e=>e.ranges,canApplySuggestion:e=>!0},[J.Pattern]:{getSuggestionAffectedRanges:e=>e.ranges,canApplySuggestion:e=>!0}};function cn(e){if(Gr(e))return function(e){const t=Mt[e.type];return!!t&&t.canApplySuggestion(e)}(e);switch(e?.type){case J.ExtraSpacesTable:case J.TextInconsistency:case J.NumberFormatInconsistency:case J.DateFormat:case J.Pattern:return un[e.type].canApplySuggestion(e);default:return e&&(0,ln.x)(e),!1}}function dn(e){let t=[];if(Gr(e))t=function(e){const t=Mt[e.type];return t?t.getSuggestionAffectedRanges(e):[]}(e);else switch(e?.type){case J.ExtraSpacesTable:case J.TextInconsistency:case J.NumberFormatInconsistency:case J.DateFormat:case J.Pattern:t=un[e.type].getSuggestionAffectedRanges(e);break;default:e&&(0,ln.x)(e)}return en(t)}function pn(e,t,r){const n=e.filter((e=>!r.has(e.id))),o=n.filter((e=>!t(e)));return a.Hv.sendTraceTag(506995998,s.n.msoulscat_ES_EWAJS,l.k.Info,`filterHiddenSuggestions: ${o.length} out of ${e.length} returned. (removed ${e.length-n.length} applied, ${n.length-o.length} ignored)`),o}function hn(e,t){if(Gr(e));else{const r=function(e){if(!Gr(e))switch(e.type){case J.ExtraSpacesTable:return;case J.TextInconsistency:return e.variations.map((e=>e.value.replace(rn,"w").replace(nn,"d").replace(on,"W").replace(sn,"w")));case J.NumberFormatInconsistency:case J.DateFormat:case J.Pattern:return;default:(0,ln.x)(e)}}(e);r&&a.Hv.sendTraceTag(506995997,s.n.msoulscat_ES_EWAJS,l.k.Important,`DataCleansingSuggestionUtils: ${JSON.stringify({action:t?"apply":"ignore",suggestionType:J[e.type],linters:gn(e),anonymizedSuggestion:r})}`)}}function gn(e){if(!Gr(e))switch(e.type){case J.ExtraSpacesTable:return;case J.TextInconsistency:{const t=e.variations.map((e=>e.linters)).flat();return Array.from(new Set(t))}case J.NumberFormatInconsistency:case J.DateFormat:case J.Pattern:return;default:(0,ln.x)(e)}}function mn(e){return xe(e.map((e=>e.ranges)))}const fn=({suggestion:e,isSelected:t,baseSuggestionCardProps:r})=>{const n=y(),o=E(),a=i.useRef(),s=function(e){return e.replacementValue||null}(e)??void 0,l=Wt();function u(t,r,o,i){n?.onSuggestionValuesChanged?.(Ur(e,{type:zr.ReplacementValue,value:r?.text??i}))}return i.createElement(Lr,{suggestion:e,isSelected:t,baseSuggestionCardProps:r,cardTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyCardTitle),applyButtonMessage:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyCard_Apply),ignoreButtonMessage:ExcelDataCleansingStringsManager.get((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingIgnoreAll",!1)?ExcelDataCleansingStringsEnum.TextInconsistencyCard_IgnoreAll:ExcelDataCleansingStringsEnum.TextInconsistencyCard_Ignore),applyAction:async()=>{const t=dn(e),r=e.variations.filter((t=>t.isSelected&&t.value!==e.replacementValue)),n=await(o?.replaceMultipleStrings?.(t,r.map((e=>e.value)),e.replacementValue,{matchCase:!1,matchEntireCell:!0,replaceWholeWordOnly:!1}));if(null==n)throw new Error("TextInconsistencyCard.apply: returned a nullish value.");return n},showApplyConfirmationMessage:e=>{const t=1===e?ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencySuggestionApplicationConfirmationSingular):ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencySuggestionApplicationConfirmationPlural),r=1===e?{}:{changedVariationsCount:e};l(i.createElement(Ot,{message:t,values:r}))},createApplyTelemetryAdditionalInfo:()=>`Linters: [${function(e){for(const t of e.variations)if(t.value===e.replacementValue)return t.linters;return["UserCustomValue"]}(e)}]`,actionBeforeApply:()=>{a.current?.flushChangeEvent()}},i.createElement(ee.E,{variant:Nr,block:Or,styles:Br},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyCard_Message),values:{column:i.createElement("b",null,e.columnTitle)}})),i.createElement(Rt,{variations:e.variations,onChange:function(t,r=!1){n?.onSuggestionValuesChanged?.(Ur(e,{type:zr.VariationSelection,selected:r,variation:t}))}}),i.createElement(qr,{allowFreeform:!0,autoComplete:"off",text:s,onChange:u,onPendingValueChanged:function(e,t,r){r&&r!==s&&u(0,e,0,r)},onRenderItem:vn,actionsRef:a,styles:{root:{height:25},input:{fontSize:12},label:{fontSize:12}},comboBoxOptionStyles:{optionText:{fontSize:12}},label:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.TextInconsistencyCard_VariationsDropdownTitle),useComboBoxAsMenuWidth:!0,options:e.variations.map((e=>({key:e.value,text:e.value})))}))},vn=(e,t)=>e&&t?t({...e,title:e.text,text:i.createElement(Pt,{text:e.text})}):null,bn=({suggestion:e,isSelected:t,baseSuggestionCardProps:r})=>{const n=E(),o=function(e){if(void 0===e)return a.Hv.sendTraceTag(509436363,s.n.msoulscat_ES_EWAJS,l.k.Error,"NumberFormatInconsistencyCard.useSuggestionDescriptionByType: type is undefined"),"";switch(e){case ge.AllNumber:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_MixOfNumberIssue);case ge.AllText:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_MixTextIssue);case ge.MixedNumberAndText:return ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_MixOfNumberAndTextIssue);default:(0,ln.x)(e)}}(e.variationsType??void 0),u=Wt();return i.createElement(Lr,{suggestion:e,isSelected:t,baseSuggestionCardProps:r,cardTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_NumberFormatTitle),applyButtonMessage:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Apply),ignoreButtonMessage:ExcelDataCleansingStringsManager.get((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingIgnoreAll",!1)?ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_IgnoreAll:ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Ignore),applyAction:async()=>{const t=dn(e);if(null==await(n.formatNumbers?.(t,"General")))throw new Error("NumberFormatInconsistencyCard.apply: returned a nullish value.");return-1},showApplyConfirmationMessage:e=>{u(ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormattingInconsistencySuggestionApplicationConfirmation))},createApplyTelemetryAdditionalInfo:()=>`type: [${xr(e.variationsType??void 0)}]`},i.createElement(ee.E,{variant:Nr,block:Or,styles:{root:{...Mr,paddingBottom:10}}},i.createElement(Ot,{message:o,values:{column:i.createElement("b",null,e.columnTitle),number:i.createElement("b",null,ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Number)),text:i.createElement("b",null,ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Text))}})),i.createElement(bt.J,{styles:_r},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Message),values:{text:i.createElement("b",null,ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Text)),number:i.createElement("b",null,ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NumberFormatInconsistencyCard_Number))}})))},yn=({suggestion:e,isSelected:t,baseSuggestionCardProps:r})=>{const n=(0,We.D)(),o=E(),a=Wt(),s=i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ExtraSpacesTableCard_TableMayHaveMessage),values:{tableName:i.createElement("b",null,e.tableName)}});return i.createElement(Lr,{suggestion:e,isSelected:t,baseSuggestionCardProps:r,cardTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ExtraSpacesTableCard_Title),applyButtonMessage:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ExtraSpacesTableCard_Apply),ignoreButtonMessage:ExcelDataCleansingStringsManager.get((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingIgnoreAll",!1)?ExcelDataCleansingStringsEnum.ExtraSpacesTableCard_IgnoreAll:ExcelDataCleansingStringsEnum.ExtraSpacesTableCard_Ignore),applyAction:async()=>{const t=await(o?.trimWhitespace?.(dn(e),Array.from(e.rangesByType.keys())));if(null==t)throw new Error("ExtraSpacesTableSuggestion.apply: returned a nullish value.");return t},showApplyConfirmationMessage:e=>{const t=1===e?ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ExtraSpacesSuggestionApplicationConfirmationSingular):ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ExtraSpacesSuggestionApplicationConfirmationPlural),r=1===e?{}:{changedCellsCount:e};a(i.createElement(Ot,{message:t,values:r}))},createApplyTelemetryAdditionalInfo:t=>`changedCellsCount: [${t}] claimedAffectedCellsCount: [${tn(dn(e))}]`},i.createElement(ee.E,{variant:Nr,block:Or,styles:Br},s),i.createElement(bt.J,{styles:_r},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ExtraSpacesTableCard_RemoveQuestion)),i.createElement(ee.E,{variant:"small",styles:{root:{borderColor:n.palette.neutralQuaternary,borderWidth:1,borderStyle:"solid",fontWeight:600,padding:4,cursor:"default"}}}))},Sn=({suggestion:e,isSelected:t,baseSuggestionCardProps:r})=>{const n=E(),o=Wt();return i.createElement(Lr,{suggestion:e,isSelected:t,baseSuggestionCardProps:r,cardTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.DateFormatCard_Title),applyButtonMessage:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.DateFormatCard_Apply),ignoreButtonMessage:ExcelDataCleansingStringsManager.get((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingIgnoreAll",!1)?ExcelDataCleansingStringsEnum.DateFormatCard_IgnoreAll:ExcelDataCleansingStringsEnum.DateFormatCard_Ignore),applyAction:async()=>{const t=dn(e);if(!await(n.formatNumbers?.(t,"Date")))throw new Error("DateFormatCard.apply: returned a nullish value.");return-1},showApplyConfirmationMessage:e=>{o(ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.DateFormatSuggestionApplicationConfirmation))}},i.createElement(ee.E,{variant:Nr,block:Or,styles:Br},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.DateFormatCard_Message),values:{column:i.createElement("b",null,e.columnTitle)}})),i.createElement(bt.J,{styles:_r},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.DateFormatCard_DateFormatQuestion)))};function Cn(e,t){return 0===t?0:(e%t+t)%t}const Tn=({ranges:e,isCardSelected:t})=>{const r=(0,We.D)(),n=E(),[o,c]=i.useState({index:-1});i.useEffect((()=>{t||c({index:-1})}),[t]),i.useEffect((()=>{c({index:-1})}),[e]),q((()=>{-1!==o.index&&n.highlightRangesOnGrid?.([],!0,1)})),i.useEffect((()=>{n.highlightRangesOnGrid?.(-1===o.index?[]:[o.cell],!0,1)}),[o,n]);const d={root:{height:f.s.size24,width:f.s.size24}},p={current:o.index+1,count:e.length},h=Nt(ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GridNavigationLong_Summary),[p.current,p.count]).join("");return i.createElement(u.B,{horizontal:!0,styles:{root:{flexGrow:1}},horizontalAlign:"end",verticalAlign:"center"},i.createElement(I.K,{iconProps:{iconName:R().CommonControlChevronUp_16,style:{width:"16px"}},title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GridNavigationArrow_Previous),"aria-label":h,styles:d,disabled:0===e.length,onClick:()=>{c((({index:t})=>{const r=Cn(t>=0?t-1:t,e.length);return a.Hv.sendTraceTag(509747720,s.n.msoulscat_ES_EWAJS,l.k.Important,`GridNavigation: previous button was clicked. indexBeforeClick: ${t}/${e.length} indexAfterClick: ${r}/${e.length}`),{index:r,cell:e[r]}}))}}),i.createElement(ee.E,{styles:{root:{margin:0,textAlign:"center",minWidth:f.s.size32,fontSize:f.s.size12,color:r.palette.neutralDark}}},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GridNavigation_Summary),values:p})),i.createElement(I.K,{iconProps:{iconName:R().CommonControlChevronDown_16,style:{width:"16px"}},title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GridNavigationArrow_Next),"aria-label":h,styles:d,disabled:0===e.length,onClick:()=>{c((({index:t})=>{const r=Cn(t+1,e.length);return a.Hv.sendTraceTag(509747719,s.n.msoulscat_ES_EWAJS,l.k.Important,`GridNavigation: next button was clicked. indexBeforeClick: ${t}/${e.length} indexAfterClick: ${r}/${e.length}`),{index:r,cell:e[r]}}))}}))},kn=({actionBeforeFeedback:e,feedbackOrigin:t,alignRight:r})=>{const n=(0,We.D)(),o=E();return i.createElement(ut.r,{key:"Feedback","data-testid":"FeedbackButton",onClick:()=>{e?.(),o?.openFeedback?.(t)},iconProps:{iconName:R().Feedback_20,styles:{root:{"path.OfficeIconColors_m22":{fill:n.palette.themePrimary}}}},styles:(0,f.l8)(ur(),{root:{color:n.palette.themePrimary}}),style:r?{marginLeft:"auto"}:void 0},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GiveFeedbackButton_GiveFeedback))},Fn=({suggestion:e,isSelected:t,baseSuggestionCardProps:r,children:n,showInfoIcon:o=!1,infoTooltipText:c,getSuggestionInfoToLog:d=(()=>"")})=>{const p=(0,We.D)(),h=E(),g=t=>{a.Hv.sendTraceTag(505488474,s.n.msoulscat_ES_EWAJS,l.k.Important,`DataCleansing GiveFeedbackBaseCard: [${t}] suggestionInfo: [${d()}]`),(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingDevTest",!1)?h?.addToAppliedSuggestions?.(e.id):h?.addToIgnoredSuggestions?.(e.ignoreKey)},m=[{key:"suggestionUseful",kind:"APPLY",text:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GiveFeedbackCard_Yes),onClick:()=>g("Useful"),testId:"SuggestionUsefulButton"},{key:"suggestionNotUseful",kind:"IGNORE",text:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GiveFeedbackCard_No),onClick:()=>g("Not Useful"),testId:"SuggestionNotUsefulButton"}];return i.createElement(mr,{...r,title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GiveFeedbackCard_Title),mainActions:m,isSelected:t,focusBeforeApply:!0,handleTab:re.l.all,showIconInHeader:!0,iconName:R().Feedback_20,additionalAction:i.createElement(kn,{actionBeforeFeedback:()=>g("Give Feedback"),feedbackOrigin:`${J[e.type]} Card`,alignRight:!0})},n,i.createElement(u.B,{horizontal:!0,verticalAlign:"center"},i.createElement(bt.J,{styles:{root:{fontSize:f.s.size12}}},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.GiveFeedbackCard_UsefulQuestion)),o&&c&&i.createElement(xt.S,{content:c,calloutProps:{styles:{root:{maxWidth:256}}},onTooltipToggle:An},i.createElement(Ve.I,{iconName:"Info",styles:En(p),"data-testid":"infoIcon"}))))},En=e=>({root:{width:12,height:12,marginLeft:"4px",marginTop:"4px",color:e.palette.tealDark,cursor:"default"}}),An=e=>{e&&a.Hv.sendTraceTag(505488473,s.n.msoulscat_ES_EWAJS,l.k.Info,"DataCleansing GiveFeedbackBaseCard: Info icon tooltip opened")},In=({text:e,textStyle:t})=>i.createElement(xt.S,{content:e,directionalHint:w.A.topLeftEdge,styles:{root:{maxWidth:"45%"}}},i.createElement(ee.E,{"data-testid":"ExampleTextContent",styles:{root:(0,f.Zq)(xn,t)}},e)),xn={fontSize:f.s.size12,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",cursor:"default",display:"block"},wn=({before:e,after:t})=>i.createElement(u.B,{horizontal:!0,styles:{root:{alignItems:"center",maxWidth:"100%"}}},i.createElement(In,{text:e}),i.createElement(Ve.I,{iconName:"Forward",styles:Pn}),i.createElement(In,{text:t,textStyle:{fontWeight:800}})),Pn={root:{fontSize:f.s.size10,margin:"0 8px",cursor:"default"}},Rn=({suggestion:e,isSelected:t,baseSuggestionCardProps:r})=>i.createElement(Fn,{suggestion:e,isSelected:t,baseSuggestionCardProps:r,showInfoIcon:!0,infoTooltipText:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.PatternCard_InfoTooltip),getSuggestionInfoToLog:()=>JSON.stringify({type:"Pattern",category:me[e.category],numCells:tn(e.ranges),numRowsInTable:e.tableRange.bottom-e.tableRange.top+1,numPatterns:e.repairExamples.length+1,scores:e.scores})},i.createElement(ee.E,{styles:{root:{fontWeight:"bold",fontSize:f.s.smallPlus,marginBottom:4}}},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.PatternCard_Title)),i.createElement(ee.E,{variant:Nr,block:Or,styles:Br},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.PatternCard_Message),values:{column:i.createElement("b",null,e.columnTitle)}}),i.createElement(u.B,{verticalAlign:"center",styles:{root:{padding:4}}},e.repairExamples.map(((e,t)=>i.createElement(u.B,{key:t,horizontal:!0,verticalAlign:"center",styles:{root:{marginTop:8,paddingRight:8,maxWidth:"100%"}}},i.createElement(Ve.I,{iconName:"RadioBullet",styles:{root:{width:12,marginRight:4}}}),i.createElement(wn,{before:e.original,after:e.repaired}))))))),Dn=i.memo((({suggestion:e,isSelected:t})=>{const{isHovered:r}=i.useContext(Ct),n=y(),o=i.useMemo((()=>function(e){const t=[];return e.forEach((e=>t.push(...function(e){const t=[],r=e.left;for(let n=e.top;n<=e.bottom;n++)t.push({top:n,bottom:n,left:r,right:r});return t}(e)))),t}(dn(e))),[e]),u={isSelected:t,focusBeforeApply:!0,mainActions:[{key:"apply",kind:"APPLY",testId:"SuggestionCardApplyButton"},{key:"ignore",onClick:()=>n?.onSuggestionIgnored?.(e.id),kind:"IGNORE",testId:"SuggestionCardIgnoreButton"}],actionsRowStyle:{height:f.s.size20},additionalAction:r||t?i.createElement(Tn,{ranges:o,isCardSelected:t}):void 0,showRangeBadge:!1,aiDisclaimerText:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.SuggestionDisclaimer)};if(Gr(e))return function(e,t,r){const n=Mt[e.type];return n?n.renderCard(e,t,r):i.createElement(i.Fragment,null)}(e,t,u);switch(e.type){case J.TextInconsistency:return i.createElement(fn,{key:e.id,suggestion:e,isSelected:t,baseSuggestionCardProps:u});case J.NumberFormatInconsistency:return i.createElement(bn,{key:e.id,suggestion:e,isSelected:t,baseSuggestionCardProps:u});case J.ExtraSpacesTable:return i.createElement(yn,{key:e.id,suggestion:e,isSelected:t,baseSuggestionCardProps:u});case J.DateFormat:return(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansing_ShowDateFormatSuggestionCard")?i.createElement(Sn,{key:e.id,suggestion:e,isSelected:t,baseSuggestionCardProps:u}):null;case J.Pattern:return i.createElement(Rn,{key:e.id,suggestion:e,isSelected:t,baseSuggestionCardProps:u});default:return a.Hv.sendTraceTag(559748639,s.n.msoulscat_ES_EWAJS,l.k.Warning,`SuggestionCardRenderer: unknown suggestion type ${e.type}`),null}})),_n=({tableName:e,suggestions:t,selection:r,selectedSuggestionId:n})=>i.createElement(i.Fragment,null,i.createElement(St,{name:e,sticky:!0}),i.createElement(u.B,{role:"group",key:e},t.map((e=>{const t=n===e.id;return i.createElement(It,{key:e.id,index:r.getItemIndex(e.id),suggestionId:e.id,isPreviewEnabled:0===r.getSelectedCount(),isSelected:t,onRemoved:()=>r.setKeySelected(e.id,!1,!1)},i.createElement(Dn,{suggestion:e,isSelected:t}))})))),Nn=({suggestions:e})=>{const t=(0,We.D)(),r=E(),[n,o]=i.useState(!1),[u,c]=i.useState(!1),[d,p]=i.useState(!1);return i.useEffect((()=>{o(!1),async function(){return await(r.containsHiddenCells?.(e.map((e=>dn(e))).flatMap((e=>e))))||!1}().then((e=>{o(e)}),(()=>{a.Hv.sendTraceTag(507642078,s.n.msoulscat_ES_EWAJS,l.k.Error,"HiddenCellsWarning: checkHiddenIntersection failed")}))}),[r,e]),u||!n?null:(d||(a.Hv.sendTraceTag(507642141,s.n.msoulscat_ES_EWAJS,l.k.Important,"HiddenCellsWarning: Showed warning"),p(!0)),i.createElement(lt,{theme:t,messageBarType:Ke.warning,isMultiline:!0,onDismiss:()=>{c(!0),a.Hv.sendTraceTag(507642140,s.n.msoulscat_ES_EWAJS,l.k.Important,"HiddenCellsWarning: Acknowledged suggestions on hidden cells")},dismissButtonAriaLabel:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.SuggestionsListHiddenCellsWarningCloseAria)},i.createElement(ee.E,{styles:{root:{fontWeight:f.BO.bold,fontSize:f.s.size12}}},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.SuggestionsListHiddenCellsWarningPrefix)),i.createElement(ee.E,{styles:{root:{fontSize:f.s.size12}}},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.SuggestionsListHiddenCellsWarningDescription))))},On=e=>(0,f.Zq)({padding:9,borderRadius:"3px",boxSizing:"border-box",boxShadow:nr,border:"2px solid transparent",background:e.palette.white,opacity:"inherit",":hover":{boxShadow:or}}),Mn={root:{fontWeight:"bold",fontSize:f.s.size14,marginTop:"5px",marginBottom:"0px",textAlign:"center",padding:0}},Bn=(0,Ne.n)({root:{fontWeight:"bold",fontSize:f.s.size14,marginTop:"5px",marginBottom:"0px",textAlign:"center",padding:0}}),Ln={root:{fontSize:f.s.size12,margin:"3px 30px 5px",textAlign:"center"}},Kn=e=>({root:{backgroundColor:e.palette.themePrimary,color:e.palette.white,borderRadius:"2px",marginBottom:"5px",fontSize:f.s.size12,width:"auto",padding:"0 5px",alignSelf:"center",selectors:{":hover":{backgroundColor:e.palette.themeDark}}}}),Wn=({title:e,message:t,buttonText:r,onButtonClick:n})=>{const o=(0,We.D)(),a=Bn().root;return i.createElement(u.B,{className:On(o),tokens:{childrenGap:8}},(0,Zt.G7)(er.PE.fluentV9LabelEnabled)?i.createElement(Jt.J,{className:a},e):i.createElement(bt.J,{styles:Mn},e),i.createElement(ee.E,{styles:Ln},t),i.createElement(ne.j,{styles:Kn(o),onClick:n},r))},Hn=()=>{const e=E();if(e.openCopilotTaskPane)return i.createElement(Wn,{title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.CopilotLinkTitle),message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.CopilotLinkMessage),buttonText:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.CopilotLinkButtonText),onButtonClick:()=>{a.Hv.sendTraceTag(506225955,s.n.msoulscat_ES_EWAJS,l.k.Important,"CopilotLink: Clicked 'Chat with Copilot' button"),e.openCopilotTaskPane?.()}})};function Gn(){return(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingCopilotLink",!1)}const zn="suggestions-list",Un=({selection:e,suggestions:t,selectedSuggestionId:r,containerStyle:n})=>{const o=i.useRef(null),[c,d]=i.useState(!1),[p,h]=i.useState(!1),g=i.useMemo((()=>t.slice(0,15)),[t]),m=c?t:g;p||(a.Hv.sendTraceTag(507793429,s.n.msoulscat_ES_EWAJS,l.k.Important,`SuggestionsList: Showing ${m.length} out of ${t.length} suggestions`),h(!0));const v=i.useMemo((()=>function(e,t){const r=new Map;for(const t of e){const e=t.tableName;r.has(e)||r.set(e,[]),r.get(e)?.push(t)}return r}(m)),[m]);return i.createElement(i.Fragment,null,i.createElement(gt.Z,{selection:e},i.createElement(te.R,{onBlur:({target:t,currentTarget:r,relatedTarget:n})=>{!r.contains(n)&&(e.setAllSelected(!1),function(e,t){const r=e.querySelector("[data-selection-index='0']");r&&(r.tabIndex=0),r!==t&&(t.tabIndex=-1)}(r,t))},shouldFocusOnMount:!1,preventFocusRestoration:!0,isCircularNavigation:!1,componentRef:o,handleTabKey:re.l.none,direction:re.E.vertical,shouldEnterInnerZone:Vn,shouldFocusInnerElementWhenReceivedFocus:!0,shouldResetActiveElementWhenTabFromZone:!0,onActiveElementChanged:t=>{const r=parseInt(t?.dataset.selectionIndex??"",10);isNaN(r)||e.isIndexSelected(r)||e?.setIndexSelected(r,!0,!0)}},i.createElement(u.B,{role:"list","data-testid":zn,className:zn,styles:{root:n}},i.createElement(Nn,{suggestions:g}),Array.from(v.entries()).map((([t,n])=>i.createElement(_n,{key:t,tableName:t,suggestions:n,selection:e,selectedSuggestionId:r})))))),i.createElement(u.B,{styles:{root:n}},!c&&t.length>m.length&&i.createElement(mt.N,{styles:{root:{fontSize:f.s.size12,marginTop:"15px",overflow:"hidden"}},onClick:()=>{d(!0),a.Hv.sendTraceTag(507793428,s.n.msoulscat_ES_EWAJS,l.k.Important,`SuggestionsList: Clicked 'ShowAll' button. showed: ${m.length} showing ${t.length} suggestions`)}},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ShowAllSuggestions),values:{count:t.length}})),Gn()&&t.length<=m.length&&i.createElement(Hn,null)))};function Vn(e){return e.keyCode===ft.c.right||e.keyCode===ft.c.enter}const jn=({sheetName:e,suggestionCount:t})=>{const r=(0,We.D)();if(!e)return null;const n={root:{fontSize:f.s.size14,fontWeight:f.BO.semibold,color:r.palette.neutralDark,cursor:"default"}};return i.createElement(i.Fragment,null,i.createElement(ee.E,{styles:n},e),i.createElement("div",{style:{flexGrow:1}}),i.createElement(xt.S,{content:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.SheetSuggestionsCount_Tooltip)},i.createElement(ee.E,{styles:n},i.createElement(Ot,{message:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.SheetSuggestionsCount_Count),values:{count:t}}))))},qn=({origin:e})=>{const t=E(),r={root:(0,ar.isChangeGateEnabled)("OfficeVSO:9295801_NewIllustrationIcon")?{fontSize:f.s.size12,marginTop:"15px",marginBottom:"14px",textAlign:"center",fontWeight:400,lineHeight:"20px"}:{fontSize:f.s.size12,marginTop:"15px",marginBottom:"14px"}};return i.createElement(mt.N,{styles:r,onClick:()=>{a.Hv.sendTraceTag(507594570,s.n.msoulscat_ES_EWAJS,l.k.Important,`CleanDataHelp: Clicked 'LearnMore' button, origin: ${e}`),t.openLearnMore?.()}},ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.LearnMore_Link))},$n=({worksheetState:e,suggestions:t})=>{const r=E(),n=Re(),[o,c]=i.useState();i.useEffect((()=>{!async function(){t?.length&&await(r?.containsHiddenCells?.(t.map((e=>e?.suggestionRange))))&&a.Hv.sendTraceTag(520176270,s.n.msoulscat_ES_EWAJS,l.k.Info,"DataCleansingTaskPane: suggestions with hidden cells displayed")}()}),[r,t]);const d=i.useMemo((()=>{const e=new Set(t.map((e=>e.tableName))),r=ve()?new Set(fe(t)):void 0,o=function(e,t,r){if(ve()){if(t){const{filterTables:n,filterColumns:o,filterSuggestionTypes:i}=t;if(i.length!==ae().length||Ee(e,new Set(n)).size>0||Ee(r,new Set(o)).size>0)return e=>i.includes(e.type)&&n.includes(e.tableName)&&ye(e).some((e=>o?.includes(e)))}}else if(t){const{filterTables:r,filterSuggestionTypes:n}=t;if(n.length!==ae().length||Ee(e,new Set(r)).size>0)return e=>n.includes(e.type)&&r.includes(e.tableName)}return()=>!0}(e,n,r),i=t.filter(o);return a.Hv.sendTraceTag(508843220,s.n.msoulscat_ES_EWAJS,l.k.Info,`SuggestionsManager: Filter: ${i.length} out of ${t.length} suggestions left`),i}),[t,n]),g=0===d.length&&d.length<t.length;i.useEffect((()=>{g&&a.Hv.sendTraceTag(540840334,s.n.msoulscat_ES_EWAJS,l.k.Info,"SuggestionsManager: No suggestions after filtering")}),[g]);const m=function(e,t){const r=y(),[n]=i.useState((()=>{let t=null;const o={items:e,getKey:e=>e.id,selectionMode:p.Qc.single,onSelectionChanged(){null!==t&&(r?.onSuggestionDeselected?.(t),t=null);const[e]=n.getSelection();e&&(r?.onSuggestionSelected?.(e.id),t=e.id),(e=>{c(e?.id??void 0)})(e)}};return new h.L(o)}));return i.useEffect((()=>{n.setItems(e,!1)}),[e,n]),n}(d);return i.createElement(i.Fragment,null,i.createElement(u.B,{verticalAlign:"center",horizontal:!0},i.createElement(_e,{key:e.sheetId,suggestions:t,isFiltered:d.length!==t.length,sheetId:e.sheetId??void 0}),i.createElement(jn,{sheetName:e.sheetName??"",suggestionCount:d.length})),i.createElement(ht,null),g?i.createElement(Le,null):i.createElement(v,{trackWidth:Jo/2,containerStyle:{width:`calc(100% + ${Jo}px)`}},i.createElement(Un,{suggestions:d,selectedSuggestionId:o,selection:m,containerStyle:{padding:`0 ${Jo}px 0 0`}}),i.createElement(u.B,{styles:{root:{padding:`0 ${Jo}px 0 0`}}},i.createElement(qn,{origin:"Suggestions List"}))))},Qn=({feedbackOrigin:e="DataCleansingTaskPane"})=>{const t=E();return t?.openFeedback?i.createElement(Yt.Y,{styles:{root:{border:"none",width:"100%",padding:"1.5em 0",borderRadius:"3px",boxShadow:or},label:{fontWeight:f.BO.regular},rootHovered:{boxShadow:"0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)"}},onClick:()=>{t.openFeedback?.(e)},text:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.Feedback_Button)}):null},Xn=()=>i.createElement(Be,{testId:"BlockedInSheetView",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.BlockedInSheetView_Title),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.BlockedInSheetView_SubHeader)}),Yn=()=>i.createElement(Be,{testId:"BlockedInProtectedSheet",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.BlockedInProtectedSheet_Title),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.BlockedInProtectedSheet_SubHeader)}),Jn=()=>{const e=pt();return i.useEffect((()=>{e?.canRefresh&&a.Hv.sendTraceTag(509694288,s.n.msoulscat_ES_EWAJS,l.k.Warning,"EmptySuggestions but refresh annotations button wants to be rendered")}),[e]),i.createElement(Be,{testId:"EmptyState",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NoSuggestionTitle),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.NoSuggestionSubTitle)},Gn()&&i.createElement("div",{style:{marginTop:20}},i.createElement(Hn,null)),i.createElement(qn,{origin:"Empty Suggestions"}))},Zn=()=>i.createElement(Be,{testId:"BlockedInError",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ErrorStateTitle),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ErrorStateSubheader)}),eo=()=>i.createElement(Be,{testId:"DataExceedsLimit",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ErrorStateDataExceedsLimitTitle),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ErrorStateDataExceedsLimitSubheader)}),to=()=>i.createElement(Be,{testId:"BlockedInErrorNoRefresh",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ErrorStateTitle),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.ErrorStateNoRefreshSubheader)}),ro=()=>i.createElement(Be,{testId:"BlockedInErrorAutoSaveOff",title:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.BlockedInErrorAutoSaveOff_Title),subTitle:ExcelDataCleansingStringsManager.get(ExcelDataCleansingStringsEnum.BlockedInErrorAutoSaveOff_SubHeader)});var no,oo;!function(e){e.None="None",e.ShowBusinessBar="ShowBusinessBar",e.HideBusinessBar="HideBusinessBar"}(no||(no={})),function(e){e.Success="Success",e.UnknownError="UnknownError"}(oo||(oo={}));const io=({messageId:e,platform:t})=>{switch(i.useEffect((()=>{a.Hv.sendTraceTag(509690120,s.n.msoulscat_ES_EWAJS,l.k.Important,`Message type changed to ${n[e]}`)}),[e]),e){case n.BlockedInSheetView:return i.createElement(Xn,null);case n.BlockedInProtectedSheet:return i.createElement(Yn,null);case n.NoSuggestions:return i.createElement(Jn,null);case n.DataExceedsLimit:return i.createElement(eo,null);case n.BlockedInAutoSaveOff:return i.createElement(ro,null);case n.GeneralError:return(0,oe.isChangeGateEnabled)("OfficeVSO:9993520_DataCleansingGetCopilotState")&&"desktop"===t?i.createElement(to,null):i.createElement(Zn,null);case n.None:return null;default:(0,ln.x)(e)}};class ao{get running(){return void 0!==this.timerId}constructor(e,t){this.onTimeout=e,this.timeout=t,this.start=()=>{this.stop(),this.timerId=setTimeout(this.end,this.timeout)},this.stop=()=>{this.running&&(clearTimeout(this.timerId),this.timerId=void 0)},this.end=()=>{this.running&&(this.stop(),this.onTimeout())}}}const so=({worksheetState:e,suggestions:t,messageType:r=n.None,viewState:c=o.LoadingSuggestions,isFeedbackAllowed:p,platform:h})=>{const g=E(),m=Boolean(t?.length);i.useEffect((()=>{m&&(0,Er.getTelemetryLogger)().sendTelemetryEvent(Tr)}),[m,g]);const f=c===o.Disabled,v=c===o.LoadingSuggestions,b=c===o.DisplaySuggestions,y=p&&b,[S,C]=i.useState(!0),[T,k]=i.useState(!1);!function(e,t,r){const n=i.useRef(new ao((()=>{a.Hv.sendTraceTag(506796162,s.n.msoulscat_ES_EWAJS,l.k.Important,"useLoadingTimer: loading timeout reached after 60s"),r(!0),u(!1)}),6e4)),[o,u]=i.useState(!1),[c,d]=i.useState(void 0),p=i.useCallback((e=>{if(!o)return;const t=new Date;if(n.current.stop(),u(!1),c){const r=t.getTime()-c.getTime();a.Hv.sendTraceTag(506796161,s.n.msoulscat_ES_EWAJS,l.k.Important,`useLoadingTimer: ${e} after ${r}ms`)}d(void 0)}),[n,c,o]),h=i.useCallback((()=>{o||(n.current.start(),u(!0),d(new Date),a.Hv.sendTraceTag(506796160,s.n.msoulscat_ES_EWAJS,l.k.Important,"useLoadingTimer: loading started"))}),[n,o]);i.useEffect((()=>{e||(t?h():p("loading stopped"))}),[t,o,c,e,h,p]),q((()=>{p("task pane closed")}))}(T,v,k);const F=v&&T?n.GeneralError:m||f||r!==n.None?r:n.NoSuggestions;S&&(g.checkForQosError?.(t?.length??0),C(!1));const A=v&&!T;return i.createElement(u.B,{verticalFill:!0,tokens:{childrenGap:6}},A?i.createElement(d,null):i.createElement(i.Fragment,null,i.createElement(io,{messageId:F,platform:h}),b&&m&&t&&i.createElement($n,{worksheetState:e,suggestions:t}),y&&i.createElement("div",{style:{flexGrow:1}}),y&&i.createElement(Qn,null)))};var lo=r(72085);class uo{constructor(e){this.setToastMessage=e,this.toast=void 0,this.timer=void 0,this.wrapperAction=void 0,this.showToast=(e,t=5e3)=>{a.Hv.sendTraceTag(507012114,s.n.msoulscat_ES_EWAJS,l.k.Info,"ToastManager: showToast."),this.removeToast();const r=new ao((()=>{a.Hv.sendTraceTag(507012113,s.n.msoulscat_ES_EWAJS,l.k.Important,"ToastManager: timer ended or new toast shown. hiding toast"),e.onDismiss?.(),this.hideToast()}),t);r.start(),this.timer=r,this.toast=e,"function"==typeof e.action&&(this.wrapperAction=()=>{a.Hv.sendTraceTag(508638027,s.n.msoulscat_ES_EWAJS,l.k.Info,"ToastManager: actionClick."),this.timer?.stop(),this.toast?.action?.(),this.hideToast()}),this.render()},this.hideToast=()=>{this.toast?(this.removeToast(),a.Hv.sendTraceTag(507012110,s.n.msoulscat_ES_EWAJS,l.k.Info,"ToastManager: hideToast."),this.render()):a.Hv.sendTraceTag(507012109,s.n.msoulscat_ES_EWAJS,l.k.Info,"ToastManager: hideToast when toast is not defined.")},this.getActionForToast=()=>this.wrapperAction,this.onMouseEnter=()=>{a.Hv.sendTraceTag(507012108,s.n.msoulscat_ES_EWAJS,l.k.Verbose,"ToastManager onMouseEnter, stopping timer"),this.timer?.stop()},this.onMouseLeave=()=>{a.Hv.sendTraceTag(507012107,s.n.msoulscat_ES_EWAJS,l.k.Verbose,"ToastManager onMouseLeave, starting timer"),this.timer?.start()},this.removeToast=()=>{a.Hv.sendTraceTag(507012106,s.n.msoulscat_ES_EWAJS,l.k.Info,"ToastManager: removeToast."),this.timer?.end(),this.toast=void 0,this.wrapperAction=void 0,this.timer=void 0},this.render=()=>{this.setToastMessage(this.toast)}}}const co=({message:e,action:t,actionMessage:r,onMouseEnter:n,onMouseLeave:o})=>{const a=(0,We.D)();return i.createElement("div",{onMouseEnter:n,onMouseLeave:o},i.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"6px 12px"}},i.createElement(ee.E,{variant:"medium",styles:{root:{fontWeight:f.BO.semibold,color:a.palette.neutralLighter,whiteSpace:"pre-line"}}},e),Boolean(t&&r)&&i.createElement(Yt.Y,{style:{backgroundColor:"transparent",color:a.palette.neutralLighter,maxHeight:"24px",minWidth:"54px",padding:"initial"},text:r,onClick:()=>t?.()})))},po=({targetRef:e,toast:t})=>{const r=(0,We.D)(),n=Lt();return n&&t?i.createElement(x.P,{calloutWidth:264,role:"dialog",directionalHint:w.A.rightBottomEdge,coverTarget:!0,target:e,gapSpace:20,backgroundColor:r.palette.neutralPrimary,isBeakVisible:!1,style:{borderRadius:"4px"},styles:{root:{boxShadow:or,marginBottom:10}}},i.createElement(co,{message:t.message,actionMessage:t.actionMessage,action:n.getActionForToast(),onMouseEnter:n.onMouseEnter,onMouseLeave:n.onMouseLeave})):null},ho=new class{get ignoredSuggestionsIds(){return this.ignoredIds}syncIgnoredSuggestions(e){e&&(this.ignoredIds&&!Ee(new Set(e),this.ignoredIds).size||(this.ignoredIds=new Set([...Array.from(e??[]),...Array.from(this.ignoredIds??[])])))}isIgnored(e){return this.ignoredIds?.has(e.ignoreKey)??!1}ignore(e,t){this.ignoredIds?(a.Hv.sendTraceTag(506996e3,s.n.msoulscat_ES_EWAJS,l.k.Important,`IgnoreManager.ignore(${e}, SUGGESTION_ID_REMOVED)`),hn(t,!1),this.ignoredIds.add(t.ignoreKey)):a.Hv.sendTraceTag(506996001,s.n.msoulscat_ES_EWAJS,l.k.Error,"IgnoreManager.ignore: this.ignoredIds is not initialized.")}logIgnoreDataForSuggestions(e,t){const r=t.filter((e=>this.isIgnored(e)));a.Hv.sendTraceTag(506995999,s.n.msoulscat_ES_EWAJS,l.k.Important,`IgnoreManager.logIgnoreDataForSuggestions: numberOfIgnoredSuggestions: [${r.length}], worksheetId: [${e}].`)}};var go,mo=r(56151);class fo{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Tablelint_TableLintAnnotationBase"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[fo.getTypeName()])}constructor(e){mo.h.assign(fo,this,e)}}fo.H_={T_:fo.getTypeName(),B_:fo.getBaseTypes()};class vo{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Tablelint_TableLintAnnotation"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintAnnotationBase","AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[vo.getTypeName()])}constructor(e){mo.h.assign(vo,this,e)}}vo.H_={T_:vo.getTypeName(),B_:vo.getBaseTypes()};class bo{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Tablelint_TableLintColumnAnnotation"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintAnnotationBase","AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[bo.getTypeName()])}constructor(e){mo.h.assign(bo,this,e)}}bo.H_={T_:bo.getTypeName(),B_:bo.getBaseTypes()};class yo{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_Tablelint_TableLintWorksheetAggregateAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[yo.getTypeName()])}constructor(e){mo.h.assign(yo,this,e)}}yo.H_={T_:yo.getTypeName(),B_:yo.getBaseTypes()};class So{static getTypeName(){return"AugLoop_Tablelint_TableLintSuggestion"}static getBaseTypes(){return[]}static typeGuard(e){return mo.h.matchesTypesFor(e,[So.getTypeName()])}constructor(e){mo.h.assign(So,this,e)}}So.H_={T_:So.getTypeName(),B_:So.getBaseTypes()};class Co{static getTypeName(){return"AugLoop_Tablelint_TableLintTextInconsistencySuggestion"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintSuggestion"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[Co.getTypeName()])}constructor(e){mo.h.assign(Co,this,e)}}Co.H_={T_:Co.getTypeName(),B_:Co.getBaseTypes()};class To{static getTypeName(){return"AugLoop_Tablelint_TableLintNumberFormattingInconsistencySuggestion"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintSuggestion"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[To.getTypeName()])}constructor(e){mo.h.assign(To,this,e)}}To.H_={T_:To.getTypeName(),B_:To.getBaseTypes()};class ko{static getTypeName(){return"AugLoop_Tablelint_TableLintDateFormatSuggestion"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintSuggestion"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[ko.getTypeName()])}constructor(e){mo.h.assign(ko,this,e)}}ko.H_={T_:ko.getTypeName(),B_:ko.getBaseTypes()};class Fo{static getTypeName(){return"AugLoop_Tablelint_TableLintPatternSuggestion"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintSuggestion"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[Fo.getTypeName()])}constructor(e){mo.h.assign(Fo,this,e)}}Fo.H_={T_:Fo.getTypeName(),B_:Fo.getBaseTypes()};class Eo{static getTypeName(){return"AugLoop_Tablelint_TableLintExtraSpacesSuggestion"}static getBaseTypes(){return["AugLoop_Tablelint_TableLintSuggestion"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[Eo.getTypeName()])}constructor(e){mo.h.assign(Eo,this,e)}}Eo.H_={T_:Eo.getTypeName(),B_:Eo.getBaseTypes()};class Ao{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelCleanData_ExtraSpacesColumnAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[Ao.getTypeName()])}constructor(e){mo.h.assign(Ao,this,e)}}Ao.H_={T_:Ao.getTypeName(),B_:Ao.getBaseTypes()};class Io{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelCleanData_ExtraSpacesTableAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[Io.getTypeName()])}constructor(e){mo.h.assign(Io,this,e)}}Io.H_={T_:Io.getTypeName(),B_:Io.getBaseTypes()};class xo{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelCleanData_ExcelCleanDataAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[xo.getTypeName()])}constructor(e){mo.h.assign(xo,this,e)}}xo.H_={T_:xo.getTypeName(),B_:xo.getBaseTypes()};class wo{static getTypeName(){return"AugLoop_ExcelCleanData_ExcelCleanDataClientConfiguration"}static getBaseTypes(){return[]}static typeGuard(e){return mo.h.matchesTypesFor(e,[wo.getTypeName()])}constructor(e){mo.h.assign(wo,this,e)}}function Po(e){const t=e?.filter(Ro)??[];return t.length===e?.length?e:t}function Ro(e){return null!=e}wo.H_={T_:wo.getTypeName(),B_:wo.getBaseTypes()},function(e){e[e.UnorderedListCanonicalization=0]="UnorderedListCanonicalization",e[e.DetectTypo=1]="DetectTypo"}(go||(go={}));const Do={},_o=/=+$/;function No(e){return function(e){let t=0,r=3421674724;for(let n=0;n<e.length;n++){r^=e.charCodeAt(n);let o=435*(65535&r),i=o>>>16>>>0;o&=65535;let a=435*(r>>>16)+i;i=a>>>16>>>0,a&=65535;let s=0*(65535&r)+a;i=(s>>>16)+i,s&=65535;let l=0*(r>>>16)+i;o|=s<<16,l=l+256*r+435*t>>>0,t=l>>>0,r=o>>>0}const n=new Uint8Array(8);return n[0]=t>>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=r>>>24&255,n[5]=r>>>16&255,n[6]=r>>>8&255,n[7]=255&r,btoa(String.fromCharCode.apply(null,Array.from(n))).replace(_o,"")}(e.map(String).filter(Boolean).join("|"))}const Oo={createSuggestionsFromALType:(e,t)=>{const r=[];if(!e.issues||void 0===e.tableIdentifier||void 0===e.columnTitle||void 0===e.tableRange||void 0===e.fixValue||void 0===e.suggestionJson||void 0===e.id||void 0===e.tableName||void 0===t)return a.Hv.sendTraceTag(505488799,s.n.msoulscat_ES_EWAJS,l.k.Warning,"DataCleansing.TypoSuggestion.SuggestionHandler Missing required fields in annotation suggestion"),[];for(const o of e.issues){if(0===o.ranges.length)continue;const{typoWord:i,correctWord:u}=Bo(o.value,e.fixValue);void 0!==i&&void 0!==u?r.push({tableIdentifier:e.tableIdentifier,columnTitle:e.columnTitle,tableRange:e.tableRange,suggestionRange:(n=o.ranges,{top:Math.min(...n.map((e=>e.top))),bottom:Math.max(...n.map((e=>e.bottom))),left:Math.min(...n.map((e=>e.left))),right:Math.max(...n.map((e=>e.right)))}),issue:{ranges:o.ranges,value:i},fixValue:u,id:No([e.id,u,JSON.stringify(o)]),tableName:e.tableName,type:J.Typo,ignoreKey:Mo(u,o,t),sheetId:t,newSuggestion:!0}):a.Hv.sendTraceTag(505493078,s.n.msoulscat_ES_EWAJS,l.k.Warning,"DataCleansing.TypoSuggestion.SuggestionHandler Typo word and correct word are undefined")}var n;return r},isAffectingColumn:(e,t)=>e.issue.ranges.some((e=>e.left===t)),isSuggestionSupported:e=>!0,generateIgnoreKey:e=>Mo(e.fixValue,e.issue,e.sheetId)};function Mo(e,t,r){return No([e,t.value,JSON.stringify(t.ranges.map((e=>e.left))),"Typo",r])}function Bo(e,t){const r=e.split(" "),n=t.split(" ");if(r.length!==n.length)return a.Hv.sendTraceTag(505488725,s.n.msoulscat_ES_EWAJS,l.k.Warning,"DataCleansing.TypoSuggestion.SuggestionHandler Typo words and correct words have different lengths"),{typoWord:void 0,correctWord:void 0};let o,i;for(let e=0;e<r.length;e++)if(r[e]!==n[e]){o=r[e],i=n[e];break}return{typoWord:o,correctWord:i}}Do[J.Typo]=Oo;const Lo=new Map([["Static",1],["StaticAvn",2],["TwoPatterns",4],["TwoStrings",8],["Unknown",16],["UpfrontRepairAffixPatternCase",32],["UpfrontRepairCurrency",64],["UpfrontRepairPatternCase",128],["UpfrontRepairPhone",256],["UpfrontRepairUnit",512]]);function Ko(e,t){if(!t)return e.id;if(e&&function(e){return!!e?.newSuggestion}(e))return function(e){const t=Do[e.type];return t?t.generateIgnoreKey(e):e.id}(e);if(Co.typeGuard(e)){const{suggestionRange:r,suggestedValue:n,variations:o}=e;return No([t,"Text",r.left,Wo([n.value,...o.map((({value:e})=>e))])])}if(To.typeGuard(e)){const{suggestionRange:r}=e;return No([t,"NumberFormat",r.left])}if(Fo.typeGuard(e)){const{detectionTypes:r,dominantPatternStr:n,otherPatterns:o}=e;return No([t,"Pattern",r?.[0],Wo([n,...o?.map((e=>e?.patternStr))??[]])])}if(Io.typeGuard(e))return No([t,"ExtraSpaces"]);if(ko.typeGuard(e)){const{suggestionRange:r}=e;return No([t,"DateFormat",r.left])}return e.id}function Wo(e){return e.filter(Boolean).sort().join(",")}function Ho(e){return bo.typeGuard(e)?function(e){const t={tableName:e.tableName,columnTitle:e.columnTitle,tableRange:e.tableRange,tableId:e.tableIdentifier,sheetId:e.worksheetId},r=e.suggestions.map((e=>{try{return function(e,t){return function(e){return"TextInconsistency"===e.type}(e)?function(e,t){const r=Go(e.suggestedValue.type),n=e.variations.map((e=>Go(e.type))).join(";"),o=e.id;return a.Hv.sendTraceTag(509199957,s.n.msoulscat_ES_EWAJS,l.k.Important,`createTextInconsistencySuggestion: suggestionId: SUGGESTION_ID_REMOVED numVariations: ${e.variations.length+1} suggestedValueLinters: [${r}] otherVariationsLinters: [${n}]`),(0,Er.getTelemetryLogger)().sendTelemetryEvent(Fr(o,e.variations.length+1,r,n)),{id:o,type:J.TextInconsistency,tableRange:t.tableRange,tableName:t.tableName,tableIdentifier:t.tableId,columnTitle:t.columnTitle,suggestedValue:e.suggestedValue.value,replacementValue:e.suggestedValue.value,variations:[{isSelected:!1,ranges:e.suggestedValue.ranges,value:e.suggestedValue.value,linters:r},...e.variations.map((e=>({isSelected:!0,ranges:e.ranges,value:e.value,linters:Go(e.type)})))],suggestionRange:e.suggestionRange,ignoreKey:Ko(e,t.sheetId)}}(e,t):function(e){return"NumberFormattingInconsistency"===e.type}(e)?function(e,t){const r=[e.suggestedFormat,...e.otherFormats],n={id:e.id,type:J.NumberFormatInconsistency,tableRange:t.tableRange,tableName:t.tableName,tableIdentifier:t.tableId,columnTitle:t.columnTitle,suggestionRange:e.suggestionRange,replacementFormat:e.suggestedFormat.value,suggestedFormat:e.suggestedFormat.value,variationsType:Ar(e.variationsType),formats:r.map((e=>({isApplicable:Boolean(e.isApplicable),value:e.value,key:e.value,format:e.value,ranges:e.ranges}))),ignoreKey:Ko(e,t.sheetId)},o=n.formats?.find((e=>e?.isApplicable));return o?.format&&(n.suggestedFormat=o.format,n.replacementFormat=o.format),cn(n)||a.Hv.sendTraceTag(506996038,s.n.msoulscat_ES_EWAJS,l.k.Error,"createNumberFormatInconsistencySuggestion: not applicable, suggestionId: SUGGESTION_ID_REMOVED"),n}(e,t):(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.AugLoop.TableLint_EnableDateFormat")&&function(e){return"DateFormat"===e.type}(e)?(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansing_ShowDateFormatSuggestionCard")?function(e,t){return{id:e.id,type:J.DateFormat,tableRange:t.tableRange,tableName:t.tableName,tableIdentifier:t.tableId,columnTitle:t.columnTitle,suggestionRange:e.suggestionRange,ranges:e.ranges,ignoreKey:Ko(e,t.sheetId)}}(e,t):void 0:(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingShowPatternSuggestionsExp")&&function(e){return"Pattern"===e.type}(e)&&function(e){const t=!!e.suggestionRange&&!!e.dominantPatternRows?.length&&!!e.dominantPatternValues?.length&&!!e.detectionTypes?.length&&!!e.otherPatterns?.length&&e.otherPatterns.every((e=>!!e.repairs?.length&&e.repairs.every((e=>!!e.textValue&&!!e.rows?.length&&!!e.repairValue)))),r=e.detectionTypes?.[0];return t&&function(e){return!!e&&!!((Lo.get(e)??0)&(0,oe.getIntFeatureGate)("Microsoft.Office.Excel.DataCleansingPatternCategoriesV1",0))}(r)}(e)?function(e,t){const r=e.suggestionRange.left,n=en([...Po(e.dominantPatternRows),...Po(e.otherPatterns?.flatMap((e=>e?.repairs?.flatMap((e=>e?.rows)))))].flatMap((e=>((e,t)=>({top:e,bottom:e,left:t,right:t}))(e,r)))),o=function(e){switch(e){case"UpfrontRepairPhone":return me.Phone;case"UpfrontRepairPatternCase":case"UpfrontRepairAffixPatternCase":return me.Case;case"Static":case"StaticAvn":return me.Static;case"UpfrontRepairCurrency":return me.Currency;case"UpfrontRepairUnit":return me.Unit;case"TwoPatterns":return me.TwoPatterns;case"TwoStrings":return me.TwoStrings;case"Unknown":return me.Unknown;default:throw new TypeError(`${e} is not supported for TableLintPatternDetectionType`)}}(e.detectionTypes?.[0]),i=e.otherPatterns.map((e=>({original:e.repairs?.[0].textValue,repaired:e.repairs?.[0].repairValue}))),a=Po(e.otherPatterns?.map((e=>e?.score)));return{id:e.id,type:J.Pattern,tableRange:t.tableRange,tableName:t.tableName,tableIdentifier:t.tableId,columnTitle:t.columnTitle,suggestionRange:e.suggestionRange,ignoreKey:Ko(e,t.sheetId),category:o,ranges:n,repairExamples:i,scores:a}}(e,t):void a.Hv.sendTraceTag(506996040,s.n.msoulscat_ES_EWAJS,l.k.Info,`createSuggestion: unsupported suggestion type ${e?.type}`)}(e,t)}catch(e){return void a.Hv.sendTraceTag(506996041,s.n.msoulscat_ES_EWAJS,l.k.Error,`Exception thrown from createSuggestion: ${e}`)}}));return Po(r)}(e):Io.typeGuard(e)?[zo(e)]:xo.typeGuard(e)?function(e){if(void 0===e.suggestions)return[];const t=(r=e,r.suggestions?.map((e=>{const t=Do[(n=e.type,n===go.DetectTypo?J.Typo:J.LAST)];var n;if(t)return t.createSuggestionsFromALType(e,r.worksheetId);a.Hv.sendTraceTag(505488800,s.n.msoulscat_ES_EWAJS,l.k.Warning,`DataCleansing.suggestionsAdapter.createSuggestionsFromAnnotation Missing suggestion handler ${e.type}`)})).filter((e=>void 0!==e)).flat()||[]);var r;return Po(t)}(e):[]}function Go(e){return e.split(",").map((e=>e.trim()))}function zo(e){return{id:e.id,type:J.ExtraSpacesTable,tableRange:e.tableRange,suggestionRange:e.tableRange,tableName:e.tableName,tableIdentifier:e.tableIdentifier,rangesByType:new Map([[0,e.rangesWithLeading],[1,e.rangesWithTrailing],[2,e.rangesWithInBetween]]),ignoreKey:Ko(e,e.worksheetId)}}function Uo(e,t,r,n){const o=(0,lo.C)(),u=r.current,c=(0,C.d)(new Map),d=E(),p=i.useRef([]);!function(e,t,r){r.logIgnoreDataForSuggestions(e,t),a.Hv.sendTraceTag(509720396,s.n.msoulscat_ES_EWAJS,l.k.Important,`useAnnotationsSuggestions: ${JSON.stringify({sheetId:e,suggestionsInfo:wr(t),textInconsistencyLinters:Rr(t),numberFormatTypes:Dr(t)})}`),(0,Er.getTelemetryLogger)().sendTelemetryEvent(((e,t)=>({eventName:"Office.Excel.Client.DataCleansing.TaskPaneSuggestionsInformation",eventFlags:Cr,dataFields:[...yr,(0,vr.m9)("worksheetId",e),(0,vr.m9)("countByType",JSON.stringify(t))]}))(e,wr(t)))}(e,t,n);const h=pn(t,(e=>n.isIgnored(e)),u);return p.current=h.map((e=>c.get(e.id)??e)),{suggestions:p.current,saveEditedSuggestion(e){c.set(e.id,e),o()},getSuggestion:e=>p.current.find((t=>t.id===e)),setAppliedState(e,t){const r=`useVisibleSuggestions: setAppliedState(SUGGESTION_ID_REMOVED, ${t})`;let n;e?t||u.has(e)?t&&u.has(e)&&(n="suggestion is already applied"):n="suggestion is not applied":n="suggestionId is undefined",n?a.Hv.sendTraceTag(506995996,s.n.msoulscat_ES_EWAJS,l.k.Error,`${r}: ${n}`):(t?d.addToAppliedSuggestions?.(e):d.removeFromAppliedSuggestions?.(e),u[t?"add":"delete"](e),o(),a.Hv.sendTraceTag(506995995,s.n.msoulscat_ES_EWAJS,l.k.Info,`${r}`))},setAsIgnored(e,t){const r=`useVisibleSuggestions: setAsIgnored(${e}, SUGGESTION_ID_REMOVED)`;e&&t?(a.Hv.sendTraceTag(506995993,s.n.msoulscat_ES_EWAJS,l.k.Important,r),n.ignore(e,t),d?.addToIgnoredSuggestions?.(t.ignoreKey),o()):a.Hv.sendTraceTag(506995994,s.n.msoulscat_ES_EWAJS,l.k.Error,`${r} worksheetId or suggestion is undefined`)}}}class Vo{get metadata(){return this.M_}set metadata(e){this.M_=e}static getTypeName(){return"AugLoop_ExcelCleanData_CleanDataResolverAnnotation"}static getBaseTypes(){return["AugLoop_Core_Annotation"]}static typeGuard(e){return mo.h.matchesTypesFor(e,[Vo.getTypeName()])}constructor(e){mo.h.assign(Vo,this,e)}}Vo.H_={T_:Vo.getTypeName(),B_:Vo.getBaseTypes()};var jo=r(32351),qo=r(12850);const $o={selectors:{[f.up]:{"svg > path.OfficeIconColors_HighContrast":{fill:"Highlight"}}}},Qo={selectors:{[f.up]:{"& * span":{color:"inherit"}}}},Xo={selectors:{[f.up]:{border:"2px solid ButtonText"}}},Yo=({children:e})=>{const t=(0,We.D)(),r=i.useMemo((()=>(e=>{const t={styles:{rootHovered:$o,rootFocused:$o}};return(0,jo.a)({...e,components:{IconButton:t,ActionButton:t,MessageBar:{styles:{root:Qo}},DefaultButton:{styles:{root:Xo}},Checkbox:{styles:{checkbox:{[f.up]:{backgroundColor:"Canvas",borderColor:"ButtonText",color:"ButtonText",":hover &":{borderColor:"Highlight",backgroundColor:"Highlight",color:"HighlightText"}}},checkmark:{[f.up]:{color:"Canvas",backgroundColor:"ButtonText",borderColor:"ButtonText",":hover &":{color:"ButtonText",backgroundColor:"ButtonText",borderColor:"ButtonText"}}}}}}})})(t)),[t]);return i.createElement(qo.N,{theme:r,style:{height:"100%",backgroundColor:"inherit"}},e)},Jo=16,Zo=({hostState:e={},worksheetState:t={},containerRef:r,...u})=>{const c=function(e){const t=i.useRef(new Set);if((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.AddAppliedIdsToProps")){const r=new Set(e);Ae(r,t.current).size&&(t.current=r)}return t}(u.appliedSuggestions),d=E(),p=i.useRef(),h=(0,lo.C)(),g=(0,C.d)((()=>(0,Et.v4)()));var m,f;m=async()=>{if((0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.DataCleansingLogTriedOnHover",!1)||(0,kt.logCopilotTriedEvent)(kt.TelemetryStandardizedFeature.CleanData,Ft.TA.EntryPoint.Canvas,g),!(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.AddAppliedIdsToProps")){const e=new Set(await(d.getAppliedSuggestions?.()));if(e&&e.size>0){for(const t of Array.from(e))c.current.add(t);h(),a.Hv.sendTraceTag(508872083,s.n.msoulscat_ES_EWAJS,l.k.Info,`DataCleansingTaskPane: loaded ${e?.size??0} applied ids from session storage`)}}},(f=i.useRef(m)).current=m,i.useEffect((function(){var e;null===(e=f.current)||void 0===e||e.call(f)}),[]);const[v,b]=i.useState(t.sheetId);i.useEffect((()=>{t?.sheetId&&t.sheetId!==v&&(a.Hv.sendTraceTag(505979589,s.n.msoulscat_ES_EWAJS,l.k.Important,`DataCleansingTaskPane SheetStateChangeTo: SheetId: ${t.sheetId}, isHidden: ${t.isHidden}, isProtected: ${t.isProtected}, isInNamedSheetView: ${t.isInNamedSheetView}`),b(t.sheetId))}),[t,v]),ho.syncIgnoredSuggestions(u.ignoredSuggestions);const[y,T]=i.useState(),F=(0,C.d)((()=>new uo(T))),A=function(e,t,r,n){return t.errorState?o.Disabled:e||!n?o.LoadingSuggestions:r.isProtected||r.isInNamedSheetView?o.Disabled:o.DisplaySuggestions}(!u.annotations.find(Vo.typeGuard),e,t,ho.ignoredSuggestionsIds),I=function(e,t){return e?.errorState?(0,oe.isChangeGateEnabled)("OfficeVSO:9993520_DataCleansingGetCopilotState")?(r=e?.errorState??void 0,o=e?.copilotErrorState??void 0,"EcsProxyClose_MaxNumberOfNonEmptyCellsExceeded"===r||"EcsProxyClose_MaxRangeRequestsInSeedExceeded"===r?n.DataExceedsLimit:"AutoSaveOff"===o?n.BlockedInAutoSaveOff:n.GeneralError):function(e){switch(e){case"EcsProxyClose_MaxNumberOfNonEmptyCellsExceeded":case"EcsProxyClose_MaxRangeRequestsInSeedExceeded":return n.DataExceedsLimit;default:return n.GeneralError}}(e?.errorState??void 0):t?.isInNamedSheetView?n.BlockedInSheetView:t?.isProtected?n.BlockedInProtectedSheet:n.None;var r,o}(e,t),x=function(e,t){return i.useMemo((()=>{let r=xe(e.map((e=>Ho(e))));return(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.AugLoop.TableLint_EnableDateFormat")&&(r=function(e,t){const r=(0,oe.getBooleanFeatureGate)("Microsoft.Office.Excel.AugLoop.TableLint_EnableDateFormatByLocale"),n=r&&t&&t.dataCultureTag&&t.uiCultureTag&&t.dataCultureTag===t.uiCultureTag;return t&&t.dataCultureTag&&(r?n:"en-US"===t.dataCultureTag)?e:e.filter((e=>e.type!==J.DateFormat))}(r,t)),r.sort(Xr),r}),[e,t])}(u.annotations,e),w=function(e,t,r,n){const o=(0,lo.C)(),u=i.useRef(t),c=i.useRef(t);c.current=t;const d=i.useRef(e);let p=!0;if(c.current!==u.current){if(d.current!==e)p=!0,d.current=e;else{const e=e=>pn(e,(e=>n.isIgnored(e)),r);h=e(c.current),g=e(u.current),p=function(e,t,r){if(0===Ee(t,r).size)return a.Hv.sendTraceTag(506996036,s.n.msoulscat_ES_EWAJS,l.k.Info,"canAutomaticallyRefresh: true, had no suggestions"),!0;const n=Ee(e,t),o=Ee(t,e);return n.size>0||o.size>0?!(0!==n.size||0!==Ee(o,r).size||(a.Hv.sendTraceTag(506996034,s.n.msoulscat_ES_EWAJS,l.k.Info,"canAutomaticallyRefresh: true, apply is the only change"),0)):(a.Hv.sendTraceTag(506996035,s.n.msoulscat_ES_EWAJS,l.k.Info,"canAutomaticallyRefresh: true, no suggestions changed"),!0)}(new Set(h.map((e=>e.id))),new Set(g.map((e=>e.id))),new Set)}p?(a.Hv.sendTraceTag(506996032,s.n.msoulscat_ES_EWAJS,l.k.Important,"useRefreshSuggestions: quietly refreshed suggestions"),u.current=c.current):a.Hv.sendTraceTag(506996003,s.n.msoulscat_ES_EWAJS,l.k.Important,"useRefreshSuggestions: canRefreshQuietly is false")}var h,g;return{canRefresh:!p,suggestions:u.current,refresh(){a.Hv.sendTraceTag(506996002,s.n.msoulscat_ES_EWAJS,l.k.Important,"Refresh button clicked"),u.current=c.current,o()}}}(t.sheetId,x,c.current,ho),{suggestions:P,getSuggestion:R,saveEditedSuggestion:D,setAppliedState:_,setAsIgnored:N}=Uo(t.sheetId,w.suggestions,c,ho),O=i.useRef(),M=k({canApplySuggestion:e=>cn(R(e)),onSuggestionIgnored(e){const r=t?.sheetId,n=R(e);N(r,n)},async onSuggestionApplied(e,t){const r=R(e);if(!r){const e="onSuggestionApplied: called with no suggestion";throw a.Hv.sendTraceTag(509380127,s.n.msoulscat_ES_EWAJS,l.k.Error,e),new Error(e)}hn(r,!0),r.suggestionRange&&d.containsHiddenCells?.([r.suggestionRange])?.then((e=>{e&&a.Hv.sendTraceTag(509380126,s.n.msoulscat_ES_EWAJS,l.k.Info,"DataCleansingTaskPane: suggestion with hidden cells applied")}));try{const r=await t();return p.current=e,_(e,!0),r}catch(e){throw a.Hv.sendTraceTag(509380125,s.n.msoulscat_ES_EWAJS,l.k.Error,`onSuggestionApplied: applySuggestion threw an error: ${e}`),e}},onSuggestionSelected(e){O.current=e??void 0,d.highlightRangesOnGrid?.(dn(R(e)),!0,0)},onSuggestionDeselected(e){O.current=void 0,d.highlightRangesOnGrid?.([],!0,0)},onSuggestionPreview(e){O.current=e,d.highlightRangesOnGrid?.(dn(R(e)),!1,0)},onCancelSuggestionPreview(e){O.current=void 0,d.highlightRangesOnGrid?.([],!1,0)},onSuggestionValuesChanged(e){D(e),e.id===O.current&&d.highlightRangesOnGrid?.(dn(e),!0,0)},undoLastAppliedSuggestion(){a.Hv.sendTraceTag(508638022,s.n.msoulscat_ES_EWAJS,l.k.Important,"onAppliedUndo: confirmation callout for 'SUGGESTION_ID_REMOVED' triggered undo"),_(p.current,!1),(0,kt.logCopilotRejectedEvent)(kt.TelemetryStandardizedFeature.CleanData,Ft.TA.EntryPoint.Canvas,g),d.doUndo?.()},reportSuggestionSucceeded(){(0,kt.logCopilotKeptEvent)(kt.TelemetryStandardizedFeature.CleanData,Ft.TA.EntryPoint.Canvas,g)}});return i.createElement(dt,{value:w},i.createElement(Kt,{value:F},i.createElement(S,{value:M},i.createElement(Yo,null,i.createElement(so,{worksheetState:t,suggestions:P,viewState:A,messageType:I,isFeedbackAllowed:e?.isFeedbackAllowed,platform:e?.platform}))),i.createElement(po,{targetRef:r,toast:y})))};class ei extends i.Component{componentDidCatch(e,t){a.Hv.sendTraceTag(509380121,s.n.msoulscat_ES_EWAJS,l.k.Error,`DataCleansingTaskPane: componentDidCatch: ${e?.message} ${t.componentStack}`)}render(){const{hostAppCallbacks:e,annotations:t,...r}=this.props,n=r?.worksheetState?.sheetId;return i.createElement(A,{callbacks:e},i.createElement(Fe,{value:r?.worksheetState},i.createElement(De,null,i.createElement("div",{ref:this.containerRef,style:{height:"100%",padding:`0 ${Jo}px 1em`,boxSizing:"border-box"}},i.createElement(Zo,{containerRef:this.containerRef,annotations:n?t.filter((e=>e.worksheetId===n)):t,...r})))))}constructor(){super(...arguments),this.containerRef=i.createRef(),this.selectorsToFocus=[`.${At}[data-selected-card]`,`.${zn}`,"*"],this.focus=()=>{const e=this.containerRef.current;if(e&&!e.contains(document.activeElement)){for(const t of this.selectorsToFocus){const r=e.querySelector(t);if(!r)continue;const n=(0,O.oR)(e,r,!0);if(n&&(0,O.vO)(n))break}var t;a.Hv.sendTraceTag(509380122,s.n.msoulscat_ES_EWAJS,l.k.Spam,`DataCleansingTaskPane: focused on ${t=document.activeElement,t?t.id||t.className||t.tagName:"nothing"}`)}}}}var ti,ri,ni=r(9662);(ri=ti||(ti={}))[ri.Invalid=-1]="Invalid",ri[ri.Add=0]="Add",ri[ri.Move=1]="Move",ri[ri.UpdateAnnotationMetaData=2]="UpdateAnnotationMetaData",ri[ri.Update=3]="Update",ri[ri.Delete=4]="Delete",ri[ri.Purge=5]="Purge",ri[ri.Focus=6]="Focus",ri[ri.Visibility=7]="Visibility";const oi="AugLoop_Tablelint_TableLintColumnAnnotation",ii="AugLoop_ExcelCleanData_CleanDataResolverAnnotation",ai="AugLoop_ExcelCleanData_ExtraSpacesTableAnnotation";function si(e){return new bo(JSON.parse(e.serializedData))}function li(e){return new Vo(JSON.parse(e.serializedData))}function ui(e){return new Io(JSON.parse(e.serializedData))}function ci(e){return hi(e,oi,si)}function di(e){return hi(e,ii,li)}function pi(e){return hi(e,ai,ui)}function hi(e,t,r){return e?.filter((e=>e.annotationType===t)).map(r)||[]}var gi,mi,fi,vi,bi,yi;function Si(e){if(0===e.length)return[];e.sort(((e,t)=>e.min-t.min));const t=[e[0]];for(let r=1;r<e.length;r++){const n=t[t.length-1],o=e[r];o.min<=n.max+1?n.max=Math.max(n.max,o.max):t.push(o)}return t}function Ci(e){return e.map((e=>({min:e.min-1,max:e.max-1})))}function Ti(e){return e.map((e=>({min:e.min+1,max:e.max+1})))}function ki(e){return{left:e.left-1,top:e.top-1,right:e.right-1,bottom:e.bottom-1}}function Fi(e){switch(e){case vi.Leading:return gi.Leading;case vi.InBetween:return gi.InBetween;case vi.Trailing:return gi.Trailing;default:a.Hv.sendTraceTag(508703235,s.n.msoulscat_ES_EWAJS,l.k.Error,`paddingTypeToRekaPaddingType: unrecognized paddingType: ${e}`),(0,ln.x)(e)}}!function(e){e[e.Leading=0]="Leading",e[e.Trailing=1]="Trailing",e[e.InBetween=2]="InBetween"}(gi||(gi={})),function(e){e[e.Row=0]="Row",e[e.Column=1]="Column"}(mi||(mi={})),function(e){e[e.NoFormat=-1]="NoFormat",e[e.General=0]="General",e[e.Date=4]="Date"}(fi||(fi={})),function(e){e[e.Leading=0]="Leading",e[e.Trailing=1]="Trailing",e[e.InBetween=2]="InBetween"}(vi||(vi={})),function(e){e[e.DataCleansingBad=0]="DataCleansingBad",e[e.DataCleansingSelectedCell=1]="DataCleansingSelectedCell"}(bi||(bi={})),function(e){e[e.None=0]="None",e[e.DataCleansingBorder=1]="DataCleansingBorder",e[e.DataCleansingHighlight=2]="DataCleansingHighlight"}(yi||(yi={}));let Ei=0;var Ai;!function(e){e[e.CleanData=0]="CleanData"}(Ai||(Ai={}));const Ii=e=>{const{nativeServices:t}=e,r=function(e){const t=e.UxppWorkbookService.value;return(0,ni.A)(t.getActiveWorksheetState,t.onActiveWorksheetStateUpdate)}(t),n=function(e){const t=e.DataCleansingAnnotationsService.value;return[...ci(r=(0,ni.A)(t.getAnnotationList,t.onNewAnnotationList)||[]),...di(r),...pi(r)];var r}(t),o=function(e){const t=e.DataCleansingStateService.value;return(0,ni.A)(t.getState,t.onStateChange)??{}}(t),u=function(e){const t=e.DataCleansingSessionStorageService.value,r=(0,ni.A)(t.getIgnoredSuggestionsInfo,t.onIgnoredSuggestionsInfoChanged);return r?.isReady?r.ids:void 0}(t),c=function(e){const t=e.DataCleansingSessionStorageService.value;return(0,ni.A)(t.getAppliedSuggestionsOnTaskPaneOpen,t.onAppliedSuggestionsChanged)??[]}(t),d=i.useMemo((()=>function(e){return{doUndo:async()=>e.IUxppUndoService.value.undo(),async highlightRangesOnGrid(t,r,n){await async function(e,t,r,n){const o=Po(t)?.map((e=>ki(e))),i=e.IUxppGridService.value;await i.markRangesOnGridWithIndex(o,function(e){switch(e){case bi.DataCleansingBad:return yi.DataCleansingHighlight;case bi.DataCleansingSelectedCell:return yi.DataCleansingBorder;default:a.Hv.sendTraceTag(508703236,s.n.msoulscat_ES_EWAJS,l.k.Error,`highlightTypeToGridMarkingType: unrecognized highlightType: ${e}`),(0,ln.x)(e)}}(r),Date.now()+Ei++);const u=n&&function(e){const[t]=e.sort(((e,t)=>e.top<t.top?-1:e.top>t.top?1:0));return t}(o);await(u&&i.moveViewportToRange(u))}(e,t,n,r)},openFeedback:async t=>e.UxppFeedbackService.value.sendFeedback(t??""),openLearnMore:async()=>e.UxppHelpService.value.openHelpArticle(Ai.CleanData),async sendOtelEvent(e){(0,Er.getTelemetryLogger)().sendTelemetryEvent(e)},openCustomNumberFormat:async()=>"",containsHiddenCells:async t=>await async function(e,t){if(!t)return!1;const r=await async function(e,t){const r=Ci(Si(t.filter((e=>null!==e)).map((e=>({min:e.top,max:e.bottom})))));return Ti(await e.UxppWorksheetService.value.FindHidden(r,mi.Row))}(e,t),n=await async function(e,t){const r=Ci(Si(t.filter((e=>null!==e)).map((e=>({min:e.left,max:e.right})))));return Ti(await e.UxppWorksheetService.value.FindHidden(r,mi.Column))}(e,t);return n.length>0||r.length>0}(e,t),async replaceMultipleStrings(t,r,n,o){if(!o)throw new Error("replaceMultipleStrings: options is null or undefined");if(null==n)throw new Error("replaceMultipleStrings: replaceWithString is null or undefined");return e.UxppWorkbookService.value.ReplaceMultipleStrings(Po(t).map(ki),Po(r),n,o.matchCase,o.matchEntireCell,o.replaceWholeWordOnly)},async trimWhitespace(t,r){if(!r)throw new Error("trimWhitespace: trimWhitespaceTypes is null or undefined");return e.UxppWorksheetService.value.TrimWhitespaceMultipleTypes(r?.map(Fi),Po(t).map(ki))},async formatNumbers(t,r){const n=Po(t).map(ki);let o=fi.NoFormat;switch(r){case"General":o=fi.General;break;case"Date":o=fi.Date;break;default:throw new Error("unsupported number format")}return e.UxppWorksheetService.value.FormatNumbers(n,o)},getIgnoredSuggestions:async()=>e.DataCleansingSessionStorageService.value.getIgnoredSuggestions(),async addToIgnoredSuggestions(t){const r=e.DataCleansingSessionStorageService;await r.value.addToIgnoredSuggestions(t)},getAppliedSuggestions:async()=>e.DataCleansingSessionStorageService.value.getAppliedSuggestions(),async addToAppliedSuggestions(t){const r=e.DataCleansingSessionStorageService;await r.value.addToAppliedSuggestions(t)},async removeFromAppliedSuggestions(t){const r=e.DataCleansingSessionStorageService;await r.value.removeFromAppliedSuggestions(t)},async checkForQosError(t){const r=e.DataCleansingSessionStorageService;await r.value.checkForQosError(t)}}}(t)),[t]);return e.nativeServices.DataCleansingTaskPaneService.value.taskPaneOpened(),i.createElement("div",{style:{height:"100vh"}},i.createElement(ei,{type:"DataCleansingTaskPaneProps",hostState:o??{errorState:"Failed to load"},hostAppCallbacks:d,worksheetState:r??{},annotations:n,ignoredSuggestions:u,appliedSuggestions:c}))}},19933:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>oa});var n=r(10477);const o=n.createContext({}),i=n.createContext((e=>{}));function a({children:e}){const[t,r]=n.useState({});return n.createElement(o.Provider,{value:t},n.createElement(i.Provider,{value:e=>{r(e)}},e))}var s=r(18648),l=r(39398);const u={height:"100%",display:"contents"},c=e=>({root:{selectors:{"svg>path.OfficeIconColors_m22":[{fill:e?.palette?.black}]}}}),d={root:{padding:"0px 16px 0px 10px"},label:{paddingTop:"6px",fontWeight:"600",width:"100%",height:"32px"}},p=()=>(0,l.Zq)({display:"flex",height:"70%",justifyContent:"center",alignItems:"center"});var h=r(37241),g=r(69284),m=r(90044),f=r(37442);const v=(0,m.J9)(((e,t,r)=>({root:{marginTop:"3px",marginRight:"8px",marginLeft:"8px"},expand:{color:e.semanticColors?.menuItemText},title:!r&&{width:"100%",cursor:"default",padding:0,selectors:{span:{display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",maxWidth:220-16*t+"px"}}},groupHeaderContainer:{height:"auto",selectors:{":hover":[{backgroundColor:e.semanticColors?.listItemBackgroundHovered}]}},headerCount:{whiteSpace:"nowrap",overflow:"visible"}}))),b=e=>(0,m.J9)((t=>({root:{width:"100%"},fieldGroup:{border:"1px solid",borderColor:t.focused?e.semanticColors?.focusBorder:e.semanticColors?.inputBorder,boxSizing:"border-box",borderRadius:l.WG.roundedCorner2,height:"24px",color:e.semanticColors?.inputText,backgroundColor:e.semanticColors?.inputBackground},field:{lineHeight:"16px",fontSize:"12px"},errorMessage:{color:e.semanticColors?.errorText}}))),y={childrenGap:2,margin:"0px 6px"},S=(e,t,r,n)=>n?(0,l.TW)(C(e,t,r),k(e)):C(e,t,r),C=(e,t,r)=>({root:{height:(r?115:85)+"px",padding:"0px 0px 2px 16px",margin:"0px 8px 3px 8px",boxShadow:"none",background:"none",paddingLeft:16*(t+1)+"px",maxWidth:"inherit",selectors:{":hover":[{backgroundColor:e.semanticColors?.listItemBackgroundCheckedHovered},g.s0],":focus":[{backgroundColor:e.semanticColors?.listItemBackgroundChecked},g.s0],":focus:hover":[{backgroundColor:e.semanticColors?.listItemBackgroundCheckedHovered},g.s0],":active":[{backgroundColor:e.semanticColors?.listItemBackgroundChecked},g.s0]}}}),T=(0,m.J9)((()=>({root:{flex:1,minWidth:0,marginLeft:"2px"}}))),k=e=>({root:{border:"none",backgroundColor:e.semanticColors?.listItemBackgroundChecked,commonHighContrastHoverFocusStyles:g.s0}});function F(e){return{root:{backgroundColor:"transparent",padding:"1px",border:0,borderColor:"transparent",color:e?.semanticColors?.buttonText},rootDisabled:{backgroundColor:"transparent",padding:"1px",border:0,borderColor:"transparent",color:e?.semanticColors?.buttonText,selectors:{[`.${f.Y2} &:focus`]:[{backgroundColor:"transparent"}]}},rootHovered:{backgroundColor:e?.semanticColors?.buttonBackgroundHovered,padding:"1px",border:0,borderColor:"transparent"},rootPressed:{backgroundColor:e?.semanticColors?.buttonBackgroundHovered,padding:"1px",border:0,borderColor:"transparent"}}}const E=(0,m.J9)(((e,t,r)=>({root:[{float:"left",padding:"0",width:"97%",minWidth:"0",flex:"1"}],label:[t&&{height:"26px",whiteSpace:"nowrap",fontWeight:"600",overflow:"hidden",textOverflow:"ellipsis",marginLeft:"5px",padding:"3px 0px 2px 0px",position:"relative",color:e.semanticColors?.listText},!t&&{whiteSpace:"nowrap",fontWeight:"normal",overflow:"hidden",textOverflow:"ellipsis",marginTop:"0px",marginLeft:"7px",padding:"0px 0px 0px 0px",color:e.semanticColors?.listText},{selectors:{[l.up]:{color:r?"HighlightText":"inherit"}}}]}))),A={paddingTop:"2px",height:"20px",width:"22px"},I={width:20,height:20,alignItems:"center",paddingRight:0,paddingLeft:"5px"},x=e=>({root:{paddingTop:"2px"},circle:[{borderBottomColor:e.palette?.neutralQuaternary,borderLeftColor:e.palette?.neutralQuaternary,borderRightColor:e.palette?.neutralQuaternary,borderTopColor:e.palette?.black}]}),w=e=>(0,m.J9)((t=>({root:{width:"100%"},fieldGroup:{border:"1px solid",borderColor:t.focused?e.semanticColors?.focusBorder:e.semanticColors?.inputBorder,boxSizing:"border-box",borderRadius:l.WG.roundedCorner2,height:"24px",color:e.semanticColors?.inputText,backgroundColor:e.semanticColors?.inputBackground},field:{lineHeight:"16px"},errorMessage:{color:e.semanticColors?.errorText}}))),P={marginTop:"6px"};var R=r(23424),D=r.n(R),_=r(63943),N=r(76071),O=r(40844),M=r(20880),B=r(40480);class L extends n.Component{render(){return n.createElement("div",{"data-testid":"QueryErrorComponent"},n.createElement(B.V,null,(e=>n.createElement(M.w,{type:"AppLabelProps",id:"QueryError-"+this.props.id,forId:"QueryError-"+this.props.id,label:this.getErrorString(this.props.query.queryError),styles:E(e,!1,this.props.isCardHovered),iconProps:{iconName:D().AlertWarning_20,style:I}}))))}constructor(e){super(e),this.getErrorString=e=>{switch(e){case 3:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DownloadFailed);case 4:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DownloadDidNotComplete);case 1:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadToWorksheetFailed);case 2:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadToDataModelFailed);default:return _.Hv.sendTraceTag(574374984,N.n.msoulscat_ES_EWAJS,O.k.Error,"QueryErrorComponent: Unknown query error"),""}}}}function K(){return W}const W={shade30:"#094624",shade20:"#0C5F32",shade10:"#0F703B",primary:"#107C41",tint10:"#218D51",tint20:"#55B17E",tint30:"#A0D8B9",tint40:"#CAEAD8"};var H=r(35252),G=r(80922),z=r(43066);const U={onQuerySelected:()=>{},onQueryRefresh:()=>{},handleQueryGroupOperation:()=>{},onCancelQueryRefresh:()=>{},onLegacyConnectionRefresh:()=>{},onLegacyConnectionCancelRefresh:()=>{},onLegacyConnectionDelete:()=>{},onCancelKeyboardReorder:()=>{},onSetQueryProperties:()=>{},getAllReferencedQueriesAsync:([])=>Promise.resolve([])},V=n.createContext(U);function j(){return n.useContext(V)}const q=V.Provider;var $;!function(e){e[e.Home=0]="Home",e[e.GroupProperties=1]="GroupProperties",e[e.QueryProperties=2]="QueryProperties",e[e.MoveToGroup=3]="MoveToGroup"}($||($={}));const Q=n.createContext({type:$.Home}),X=n.createContext((e=>{}));function Y(){return n.useContext(X)}function J({children:e}){const[t,r]=n.useState({type:$.Home});return n.createElement(Q.Provider,{value:t},n.createElement(X.Provider,{value:e=>{r(e)}},e))}var Z=r(10625),ee=r(91074),te=r(72341),re=r(93602),ne=r(15640);const oe="ClipboardAccessError";async function ie(){let e="";try{const t={name:"clipboard-read",allowWithoutGesture:!1};if("granted"!==(await navigator.permissions.query(t)).state)throw new ae("Clipboard access is not supported or denied.");const r=await navigator.clipboard.read();for(const t of r)if(t.types.includes("text/html")){const r=await(await t.getType("text/html")).text();if(r.includes("microsoft-mashup-format")){e=r;break}}return e}catch(e){return new Promise(((t,r)=>{r(e)}))}}class ae extends Error{constructor(e){super(e),this.name=oe}}var se=r(34116),le=r(15699);const ue={supressEmptyNode:!0,attributeNamePrefix:"Att_",ignoreAttributes:!1,parseAttributeValue:!0,cdataPropName:"formulaString",isArray:(e,t,r,n)=>"Query"===e||"QueryGroup"===e};function ce(e,t){const r={queryGroups:[],queries:[]};if(e.Query&&e.Query.length>0)for(const n of e.Query){const e=n,o=ge(e.Att_Name,e.Description??"",e.FillObjectType,e.LoadToDataModel,e.Formula.formulaString,t);r.queries.push(o)}if(e.QueryGroup&&e.QueryGroup.length>0)for(const n of e.QueryGroup){const e=n,o=he(e.Att_Name,e.Description??"",t);r.queryGroups.push(o);const{queryGroups:i,queries:a}=ce(e.Items,o.key);r.queryGroups.push(...i),r.queries.push(...a)}return r}function de(e,t,r){const n={QueryGroup:[],Query:[]};for(const e of t){if(e.name?.startsWith(Se)||e.key===Ce)continue;const t=e.children?e.children.filter((e=>!!e&&!e.name?.startsWith(Se))):[],s=(i=r,a=t,{Att_Name:(o=e).name??"",Description:o.data??"",Items:de(o.key,a,i)}),l=e.children.find((e=>!!e.name?.startsWith(Se)));l&&s.Items.Query.push(...me(r.filter((e=>e.groupKey===l.key)))),n.QueryGroup.push(s)}var o,i,a;return 0===t.length&&e&&n.Query.push(...me(r.filter((t=>t.groupKey===e)))),n}function pe(e){const t=(r=e,new se.XMLParser(ue).parse(r).Mashup);var r;return t&&t.Items&&(t.Items.Query||t.Items.QueryGroup)?ce(t.Items,Te):{queryGroups:[],queries:[]}}function he(e,t,r){return{key:"{"+le()+"}",count:0,startIndex:0,level:0,order:0,isDeleting:!1,parentKey:r,name:e,data:t}}function ge(e,t,r,n,o,i){return{name:e,description:t,rowsLoaded:0,fillObjectType:ve(r),loadedToDataModel:n,queryError:0,nestingDepth:0,groupKey:i,rowsWithError:0,inRefresh:!1,refreshEnabled:!1,currentRunningOperation:-1,formula:o}}function me(e){const t=[];for(const r of e)t.push(fe(r));return t}function fe(e){return{Description:e.description??void 0,Formula:{formulaString:e.formula??""},LoadToWorksheet:1!==e.fillObjectType,FillObjectType:be(e.fillObjectType),LoadToDataModel:e.loadedToDataModel,IsParameterQuery:!1,Att_Name:e.name??"",IsDirectQuery:void 0}}function ve(e){switch(e){case"Table":return 0;case"ConnectionOnly":return 1;case"PivotTable":return 2;case"PivotChart":return 3;default:return _.Hv.sendTraceTag(508121953,N.n.msoulscat_ES_EWAJS,O.k.Error,"MashupXMLParser.getFillObjectTypeFromString: Unknown fill object type: "+e),1}}function be(e){switch(e){case 0:return"Table";case 1:return"ConnectionOnly";case 2:return"PivotTable";case 3:return"PivotChart";default:return _.Hv.sendTraceTag(507643615,N.n.msoulscat_ES_EWAJS,O.k.Error,"MashupXMLParser.getFillObjectStringFromEnum: Unknown fill object enum: "+e),""}}var ye=r(21632);const Se="SubGroupOtherQueries-",Ce="Other Queries",Te="{00000000-0000-0000-0000-000000000000}",ke=(0,ne.cX)(),Fe=RegExp('<div class="microsoft-mashup-format">(.*?)<\\/div>',"s"),Ee={"<":"<",">":">","&":"&","'":"'",'"':"""};var Ae;!function(e){e[e.Up=0]="Up",e[e.Down=1]="Down",e[e.Left=2]="Left",e[e.Right=3]="Right"}(Ae||(Ae={}));const Ie=(e,t)=>!e.loadedToDataModel&&(t||1!==e.fillObjectType)&&e.refreshEnabled&&!e.inRefresh,xe=(e,t,r)=>{if(t){if(e&&(e.toLocaleLowerCase()===t.toLocaleLowerCase().trim()&&(0,ye.isChangeGateEnabled)("OfficeVSO:9649724_PowerQueryFixRenameWhitespaceBug")||e.toLocaleLowerCase()===t.toLocaleLowerCase()&&!(0,ye.isChangeGateEnabled)("OfficeVSO:9649724_PowerQueryFixRenameWhitespaceBug")))return;if(r&&e&&t!==e&&-1!==r.findIndex((e=>e.toLocaleLowerCase()===t.trim().toLocaleLowerCase())))return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryNameAlreadyExistsErrorMessage).replace("{0}",t.trim());if(t.length>80)return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryNameTooLongErrorMessage).replace("{0}",80..toString());if((e=>{const t=['"',"."];for(let e=0;e<=31;++e)t.push(String.fromCharCode(e));for(let e=127;e<=159;++e)t.push(String.fromCharCode(e));return e.split("").some((e=>-1!==t.indexOf(e)))})(t))return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryNameWithInvalidCharactersErrorMessage)}if(!t.trim())return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryNameEmptyErrorMessage)},we=(e,t,r)=>{if(e){if(r&&(r.toLocaleLowerCase()===e.toLocaleLowerCase().trim()&&(0,ye.isChangeGateEnabled)("OfficeVSO:9649724_PowerQueryFixRenameWhitespaceBug")||r.toLocaleLowerCase()===e.toLocaleLowerCase()&&!(0,ye.isChangeGateEnabled)("OfficeVSO:9649724_PowerQueryFixRenameWhitespaceBug")))return;if(e.includes("\\"))return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.GroupNameContainsBackslashErrorMessage);if(t&&e!==r&&-1!==t.findIndex((t=>t.toLocaleLowerCase()===e.trim().toLocaleLowerCase())))return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.GroupNameConflictsErrorMessage).replace("{0}",e.trim())}if(!e||!e.trim())return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.EmptyGroupNameErrorMessage)},Pe=(0,m.J9)(((e,t,r)=>{const n=r?Re:De,o=[],i=_e(e);for(;i?.length>0;){const e=i.pop();r&&e.key===t||(i.push(...e.children.map((t=>(t.name=e.name+"\\"+t.name,t)))),n(e,t)&&o.push(e))}return o.sort(((e,t)=>e.key===Ce?1:t.key===Ce?-1:e.name?.split("\\").pop()>t.name?.split("\\").pop()?1:-1))})),Re=(e,t)=>e.key!==t&&e.key!==Ce&&!e.key?.startsWith(Se)&&!(-1!==e.children?.findIndex((e=>e.key===t))),De=(e,t)=>{const r=e.key?.startsWith(Se)||e.key===t,n=""===t&&e.key===Ce,o=t===e.key;return!r&&!n&&!o},_e=e=>{if(!e)return null;const t=[];return e.forEach((e=>{const r={...e};e&&(r.children=_e(e.children)),t.push(r)})),t},Ne=e=>ke&&e.metaKey||!ke&&e.ctrlKey,Oe=(e,t,r)=>{let n=""===e?Ce:e;for(n.startsWith(Se)&&(n=e.replace(Se,""));t.length>0;){const e=t.shift()??[];for(let o=0;o<e.length;o++){const i=e[o];if(i&&i.key===n){let t;switch(r){case Ae.Up:o-1>=0&&(t=e[o-1]?.key);break;case Ae.Down:o+1<e.length&&(t=e[o+1]?.key);break;case Ae.Left:t=i.parentKey;break;case Ae.Right:i.children&&i.children.length>0&&(t=i.children[0]?.key)}if(!t||t.startsWith(Se)||t===Te)return;return t=t===Ce?"":t,t}t.push(i.children??[])}}},Me=(e,t,r,n,o,i)=>({type:"AppButtonProps",label:e,id:t+Date(),icon:n,onExecute:r,disabled:o,styles:(0,l.TW)(c(i),{root:{selectors:{":focus":[{backgroundColor:i?.semanticColors?.listItemBackgroundHovered}],":active":[{backgroundColor:i?.semanticColors?.listItemBackgroundHovered}],":hover":[{backgroundColor:i?.semanticColors?.listItemBackgroundHovered}]}}})}),Be=async()=>{let e=!1;try{e=""!==await ie()}catch(e){if(_.Hv.sendTraceTag(508130653,N.n.msoulscat_ES_EWAJS,O.k.Error,"clipboardContainsMashupFormat failed: "+e),e.name===oe)return!0}return e},Le=async e=>{let t={queryGroups:[],queries:[]};try{const e=await ie();if(0===e.trim().length)throw new Error("getClipboardMashupQueriesAndGroups failed: Empty mashup clipboard data");const r=e.match(Fe);if(!r||r.length<2)throw new Error("getClipboardMashupQueriesAndGroups failed: Failed to regex parse of internal clipboard data");t=pe(r[1].replace(/&([a-z]+|#\d+);/gi,((e,t)=>{if(t.startsWith("#")){const e=t.startsWith("#x")?parseInt(t.substr(2),16):parseInt(t.substr(1),10);return String.fromCharCode(e)}return{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"}[t]||e})))}catch(t){_.Hv.sendTraceTag(507872211,N.n.msoulscat_ES_EWAJS,O.k.Error,"clipboardContainsMashupFormat failed: "+t),t.name===oe&&e()}return t},Ke=(e,t,r,n)=>{const o=function(e,t,r){const n=function(e,t,r){const n=de(e,t,r);return 0===t.length?n.Query.push(...me(r)):e===Te&&n.Query.push(...me(r.filter((e=>""===e.groupKey)))),{Client:"EXCEL",Version:"2.122.7071.1",MinVersion:"2.21.0.0",Culture:"en-US",SafeCombine:!0,Items:n}}(e,t,r);return`<?xml version="1.0" encoding="utf-8"?><Mashup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/DataMashup">${new se.XMLBuilder(ue).build(n)}</Mashup>`}(e,t,r);(async function(e){try{const t={name:"clipboard-read",allowWithoutGesture:!1};if("granted"!==(await navigator.permissions.query(t)).state)throw new ae("Clipboard access is not supported or denied.");const r=new ClipboardItem({"text/html":new Blob([e],{type:"text/html"})});return await navigator.clipboard.write([r]),new Promise(((e,t)=>{e()}))}catch(e){return new Promise(((t,r)=>{r(e)}))}})(`<div class="microsoft-mashup-format">${o.replace(/[<>&'"]/g,(e=>Ee[e]??e))}</div>`).then((()=>{_.Hv.sendTraceTag(506483742,N.n.msoulscat_ES_EWAJS,O.k.Important,"setClipboardMashupData succeeded")})).catch((e=>{_.Hv.sendTraceTag(507643614,N.n.msoulscat_ES_EWAJS,O.k.Error,"setClipboardMashupData failed: "+e.type),e.name===oe&&n&&n()}))};var We=r(16632),He=r.n(We);const Ge={overflowMenuLauncher:He().HintBarEllipses_20,spinButtonUpChevron:He().CommonControlChevronUp_8,spinButtonDownChevron:He().CommonControlChevronDown_8,checkboxCheckmark:He().CheckmarkWithDynamicColor_16,downChevron:{icon8:He().CommonControlChevronDownGlyph_8,icon12:He().CommonControlChevronDownGlyph_12},submenuLauncher:He().CommonControlChevronRight_12,submenuLauncherRtl:He().CommonControlChevronLeft_16,tabListOverflowLauncher:He().CommonControlChevronDownGlyph_12,closeIcon:He().CancelGlyph_16};r(77769);var ze=r(86515),Ue=r(37308),Ve=r(18550),je=r(10);const qe=(0,m.J9)(((e,t)=>{const r={defaultBackgroundColor:(n=e)?"transparent":je.p.white,hoverBackgroundColor:je.p.gray40,pressedBackgroundColor:je.p.gray60,toggledBackgroundColor:je.p.gray50,disabledBackgroundColor:je.p.gray30,borderColor:n?"transparent":je.p.gray70};var n;const o={root:{height:26,fontSize:12,backgroundColor:r.defaultBackgroundColor,borderColor:r.borderColor},rootHovered:{backgroundColor:r.hoverBackgroundColor},rootPressed:{backgroundColor:r.pressedBackgroundColor},rootExpanded:{backgroundColor:r.toggledBackgroundColor,selectors:{":active":{backgroundColor:r.pressedBackgroundColor}}},rootExpandedHovered:{backgroundColor:r.hoverBackgroundColor},menuIconExpandedHovered:{backgroundColor:"inherit"},rootChecked:{backgroundColor:r.toggledBackgroundColor,selectors:{[g.si]:{backgroundColor:r.toggledBackgroundColor,selectors:{":hover":{backgroundColor:r.hoverBackgroundColor}}}}},rootCheckedHovered:{backgroundColor:r.hoverBackgroundColor},rootCheckedPressed:{backgroundColor:r.pressedBackgroundColor},rootDisabled:{backgroundColor:r.disabledBackgroundColor,borderColor:r.disabledBackgroundColor,selectors:{[g.si]:{backgroundColor:r.disabledBackgroundColor}}},rootCheckedDisabled:{backgroundColor:r.toggledBackgroundColor,selectors:{[g.si]:{backgroundColor:r.disabledBackgroundColor}}},icon:{height:16,width:16}};return(0,l.TW)(o,t)}));n.PureComponent;class $e extends n.PureComponent{focus(){this.appButton&&this.appButton.current&&this.appButton.current.focus()}render(){return n.createElement(ze.S,{...this.props,ref:this.appButton,styles:qe(!1,this.props.styles),dataAutomationType:"TaskPaneButton"})}constructor(){super(...arguments),this.appButton=n.createRef()}}var Qe=r(38699);const Xe="24px",Ye="20px",Je=()=>{const{borderRadius:e}=(0,n.useContext)(Qe.e);return{root:{borderRadius:e,height:Xe,selectors:{div:{height:Xe}}},rootDisabled:{borderRadius:e,height:Xe,selectors:{div:{height:Xe}}},rootHovered:{borderRadius:e,height:Xe,selectors:{div:{height:Xe}}},rootPressed:{borderRadius:e,height:Xe,selectors:{div:{height:Xe}}},icon:{height:Xe,width:Ye},iconHovered:{height:Xe,width:Ye},iconPressed:{height:Xe,width:Ye},iconExpanded:{height:Xe,width:Ye},label:{lineHeight:"inherit"}}},Ze=e=>{const{styles:t,...r}=e;return n.createElement($e,{...r,styles:(0,l.TW)(e.styles,Je())})};let et={overflowWellKeytip:"00",bottomBarOverflowMenuLabel:"More Options",ribbonLabel:"Ribbon",tabsContainerLabel:"Ribbon Tabs",tabsContainerOverflowLabel:"More Tabs",peripheralControlsGroupLabel:"Additional Controls",closeLabel:"Close",taskPaneOverflowMenuLabel:"More Panes",ribbonModeChevronLabel:"Switch Ribbons",ribbonModeChevronKeytip:"ZR",taskPaneTabsContainerLabel:"Task Pane Tabs",taskPaneRoleDescription:"pane",taskPaneOpeningString:"Task Pane Opening",rightRibbonPaddleLabel:"Scroll Ribbon Right",leftRibbonPaddleLabel:"Scroll Ribbon Left",search:"Search",searchPlaceholderLong:"Search the menus",searchLabel:"Finds commands",searchableMenuRegionLabel:"Search results",clearSearch:"Clear search",wordPreviewOptInLabel:"Preview the new version",vNextPreviewOptInLabel:"New look (preview)"};var tt=r(82148),rt=r(32005),nt=r(52913),ot=r(3713),it=r(4733),at=r(27931),st=r(17353),lt=r(68336),ut=r(77921),ct=r(55064),dt=r(82873),pt=r(93235),ht=r(60689),gt=r(28980),mt=r(73982),ft=r(22708),vt=r(81385),bt=r(6171),yt=r(77675),St=r(26838),Ct=r(59761);const Tt=(0,yt.X)({base:{Bqenvij:"f11ysow2",J657lq:"f1um431h",Jlnjib:"fte7hqw",Bc29nj9:"f1yh8ef3"},highContrast:{pu7qz5:"fi3u9nm",B10010i:"f1tdgb9w"},outline:{},primary:{J657lq:"foe7gw6",Jlnjib:"fvxlz81",Bc29nj9:"f1c2mdy",B8ia98v:"f1r39r2s"},secondary:{},subtle:{J657lq:"f1um431h",Jlnjib:"fte7hqw",Bc29nj9:"f1yh8ef3",pu7qz5:"f1xoeh18",B10010i:"f1ca1nd7"},transparent:{J657lq:"f1um431h",Jlnjib:"f1wn9xqz",Bc29nj9:"f1a8q4d0"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ge6w2w",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fnnf4v2",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f14s4sho",Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},disabled:{J657lq:"f1rlv8bf",Jlnjib:"fd1dbtm",Bc29nj9:"f1vqmdmi"},disabledHighContrast:{B8ia98v:"f1csacz4",pu7qz5:"f1s5tkfe",B10010i:"fs0rda3"}},{d:[".f11ysow2{height:auto;}",".f1um431h .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2);}",".foe7gw6 .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundOnBrand);}",[".f1ge6w2w{padding:var(--spacingHorizontalS) var(--spacingHorizontalS) var(--spacingHorizontalMNudge) var(--spacingHorizontalS);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fnnf4v2{padding:14px var(--spacingHorizontalM) var(--spacingHorizontalL) var(--spacingHorizontalM);}",{p:-1}],[".f14s4sho{padding:18px var(--spacingHorizontalL) var(--spacingHorizontalXL) var(--spacingHorizontalL);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1rlv8bf .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundDisabled);}"],h:[".fte7hqw:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2Hover);}",".f1yh8ef3:hover:active .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2Pressed);}",".fvxlz81:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundOnBrand);}",".f1c2mdy:hover:active .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundOnBrand);}",".f1wn9xqz:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2BrandHover);}",".f1a8q4d0:hover:active .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForeground2BrandPressed);}",".fd1dbtm:hover .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundDisabled);}",".f1vqmdmi:hover:active .fui-CompoundButton__secondaryContent{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.fi3u9nm:hover .fui-CompoundButton__secondaryContent{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tdgb9w:hover:active .fui-CompoundButton__secondaryContent{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1r39r2s .fui-CompoundButton__secondaryContent{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xoeh18:hover .fui-CompoundButton__secondaryContent{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ca1nd7:hover:active .fui-CompoundButton__secondaryContent{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1csacz4 .fui-CompoundButton__secondaryContent{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1s5tkfe:hover .fui-CompoundButton__secondaryContent{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fs0rda3:hover:active .fui-CompoundButton__secondaryContent{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),kt=(0,yt.X)({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",B2u0y6b:"ft5vyj6",Bf4jedk:"f17suaiq"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1r1wyb6",B2u0y6b:"fdczgix",Bf4jedk:"fjdcg9m"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bnz8pu",B2u0y6b:"fww51uw",Bf4jedk:"f1qhsl2h"}},{d:[[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".ft5vyj6{max-width:48px;}",".f17suaiq{min-width:48px;}",[".f1r1wyb6{padding:var(--spacingHorizontalSNudge);}",{p:-1}],".fdczgix{max-width:52px;}",".fjdcg9m{min-width:52px;}",[".f1bnz8pu{padding:var(--spacingHorizontalS);}",{p:-1}],".fww51uw{max-width:56px;}",".f1qhsl2h{min-width:56px;}"]}),Ft=(0,yt.X)({base:{Be2twd7:"fndrnj9",Bqenvij:"fbhnoac",a9b677:"feqmc2u"},before:{t21cq0:["fkujibs","f199hnxi"]},after:{Frg6f3:["f199hnxi","fkujibs"]}},{d:[".fndrnj9{font-size:40px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}"]}),Et=(0,yt.X)({base:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",fsow6f:["f1o700av","fes3tcz"]}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}"]}),At=(0,yt.X)({base:{Bg96gwp:"flkuc6h",Bhrd7zp:"figsok6"},small:{Be2twd7:"fy9rknc"},medium:{Be2twd7:"fy9rknc"},large:{Be2twd7:"fkhj508"}},{d:[".flkuc6h{line-height:100%;}",".figsok6{font-weight:var(--fontWeightRegular);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}"]});var It=r(15580),xt=r(14310);const wt=n.memo(n.forwardRef(((e,t)=>{const r=((e,t)=>(0,xt.M)({...e,secondaryContent:e.description},t))(e,t);return(e=>{const t=Tt(),r=kt(),n=Ft(),o=Et(),i=At(),{appearance:a,disabled:s,disabledFocusable:l,iconOnly:u,iconPosition:c,size:d}=e;e.root.className=(0,St.z)("fui-CompoundButton",t.base,t.highContrast,a&&t[a],t[d],(s||l)&&t.disabled,(s||l)&&t.disabledHighContrast,u&&r[d],e.root.className),e.contentContainer.className=(0,St.z)("fui-CompoundButton__contentContainer",o.base,e.contentContainer.className),e.icon&&(e.icon.className=(0,St.z)("fui-CompoundButton__icon",n.base,void 0!==e.root.children&&null!==e.root.children&&n[c],e.icon.className)),e.secondaryContent&&(e.secondaryContent.className=(0,St.z)("fui-CompoundButton__secondaryContent",i.base,i[d],e.secondaryContent.className)),(0,Ct.B)(e)})(r),(0,It.z)(r)})));wt.displayName="next/ContextMenuCompoundButton";class Pt extends n.PureComponent{render(){return n.createElement(B.V,null,(e=>n.createElement(bt.T,{...this.props,dataAutomationType:"ContextMenuCompoundButton",styles:(0,Ue.P)(e,{root:{padding:0,minHeight:"initial",minwidth:"initial",height:"50px"},label:{fontWeight:l.BO.bold,margin:"0"}}),keytipProps:void 0})))}}const Rt=n.forwardRef(((e,t)=>{const r=e.isV9ContextMenuEnabled,o=void 0===e.useLegacyCompoundButton||e.useLegacyCompoundButton;return r&&!o?n.createElement(wt,{...e,ref:t}):n.createElement(Pt,{...e,ref:t})}));var Dt=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,_t=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Nt=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Ot=/\s+/g,Mt=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;var Bt=r(85963),Lt=r(57674),Kt=r(76733),Wt=r(75724),Ht=r(26515),Gt=r(55056);const zt=(0,Gt.n)({root:{width:"100%",justifyContent:"start"}}),Ut=(0,Gt.n)({root:{width:"20px",height:"20px"}});var Vt=r(27917),jt=r(1290);const qt=e=>{const t=n.useContext(Lt.B),{icon:r}=e,{displayName:o,isUnauthenticatedSender:i,personaCoinColor:a}=e.personaInfo,s=zt(),l=Ut(),u=function(e,t,r){return e?(e=function(e){return(e=(e=(e=e.replace(Dt,"")).replace(_t,"")).replace(Ot," ")).trim()}(e),Mt.test(e)||!r&&Nt.test(e)?"":function(e,t){var r="",n=e.split(" ");return 2===n.length?(r+=n[0].charAt(0).toUpperCase(),r+=n[1].charAt(0).toUpperCase()):3===n.length?(r+=n[0].charAt(0).toUpperCase(),r+=n[2].charAt(0).toUpperCase()):0!==n.length&&(r+=n[0].charAt(0).toUpperCase()),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t)):""}(o,!1),c=a&&(0,Kt.Xp)(a)?Wt.f5[a]:void 0,d=(0,Vt.e)()?n.createElement(jt.z,{iconName:r,className:l.root}):n.createElement(h.I,{iconName:r,style:{width:20,height:20}}),p={size:"extra-small",avatar:{initialsColor:c,size:20,initials:{style:{backgroundColor:void 0===c?a:void 0},children:""!==u&&u},icon:""===u||i&&!(0,Bt.i2)(t,Bt.PE.customAnonymousNameIsEnabled)?d:void 0}};return n.createElement(Ht.I,{...e,className:s.root,personaProps:p})};var $t=r(83082),Qt=r(27528);const Xt=(0,at.Y)(((e,t,r,o,i)=>({key:e,data:t,onRender:(e,t)=>n.createElement("span",{key:e.key},function(e,t,r,o,i,a,s){const l=isNaN(r)?void 0:r,u=isNaN(o)?void 0:o;switch(e.type){case"AppColorPickerProps":return n.createElement(Lt.B.Consumer,null,(r=>(0,Bt.i2)(r,Bt.PE.fluentV9ColorPickerIsEnabled)?n.createElement(mt.n,{positionInSet:l,setSize:u,...(0,gt.A)(e,t),showTooltip:!0}):n.createElement(ut.nz,{positionInSet:l,setSize:u,...(0,gt.A)(e,t)})));case"AppCompoundButtonProps":return n.createElement(Rt,{positionInSet:l,setSize:u,...(0,gt.A)(e,t),lang:e.lang,enableFocusOnHover:!0,useLegacyCompoundButton:!1,isV9ContextMenuEnabled:s});case"AppCharacterCodeGalleryProps":return n.createElement(ct.M,{positionInSet:l,setSize:u,...(0,ft.q)(e,t)});case"AppListGalleryProps":return n.createElement(ht.i,{positionInSet:l,setSize:u,...(0,ft.q)(e,t)});case"AppIconFullGalleryProps":return n.createElement(pt.q,{positionInSet:l,setSize:u,...(0,ft.q)(e,t)});case"AppFontStylesFullGalleryProps":return n.createElement(dt.i,{positionInSet:l,setSize:u,controlInMenuRendererFunction:i,iconName:(0,$t.jI)()?a?.submenuLauncherRtl:a?.submenuLauncher,...(0,ft.q)(e,t)});case"AppPersonaButtonProps":return n.createElement(qt,{positionInSet:l,setSize:u,...(0,gt.A)(e,t),lang:e.lang});case"RibbonChangeColorsFullGalleryProps":return n.createElement(vt.I,{positionInSet:l,setSize:u,...(0,ft.q)(e,t)});default:throw new Error(`The control of type ${e.type} is not valid in a Floatie menu`)}}(e.data,(0,lt.A)(t),Number(e["aria-posinset"]),Number(e["aria-setsize"]),r,o,i)),customOnRenderListLength:(0,Qt.K$)(t)}))),Yt=(0,m.J9)(((e,t,r,n)=>o=>{const{controlProps:i,subComponentStyles:a,location:s,arePerfImprovementsEnabled:l,onMenuItemExecuted:u,onSubMenuPositioned:c,terminalParentControlId:d,useFullDescriptionLabelOnly:p,isExperimentalFeatureEnabled:h}=o;return i.filter((e=>(0,Qt.K$)(e)>0)).map((o=>{const i={...(0,Qt.Xe)(o,u),keytipProps:void 0,location:s,appStrings:t,terminalParentControlId:d},g=i.id;switch(i.type){case"AppButtonProps":return(r?rt.Y:rt.a)((0,st.b)(i.id,i.location),i,a,void 0,void 0,p);case"AppToggleButtonProps":return(0,nt._)(i,a,void 0,p);case"AppFlyoutAnchorProps":return(l?ot.i:ot.Q)((0,st.b)(i.id,i.location),i,Yt(e,t),e,c,a,a,l,u,p);case"AppSplitButtonProps":return(l?it.Y:it.e)((0,st.b)(i.id,i.location),i,Yt(e,t),e,c,a,a,l,u,h);case"AppFontStylesFullGalleryProps":return Xt(g,i,Yt(e,t,!0),e);case"AppPersonaButtonProps":case"AppColorPickerProps":case"AppListGalleryProps":case"AppIconFullGalleryProps":case"AppCharacterCodeGalleryProps":case"AppCompoundButtonProps":case"RibbonChangeColorsFullGalleryProps":return Xt(g,i,void 0,void 0,n);default:throw new Error(`The control of type ${i.type} is not valid in a Floatie menu`)}}))}));var Jt=r(15294),Zt=r(67289);const er=(0,m.J9)(((e,t,r)=>(0,l.TW)((0,Jt.ho)(e,!!t),qe(!0,r))));class tr extends n.PureComponent{render(){return n.createElement(B.V,null,(e=>{const t=(0,Jt.g)(this.props,Ve.J.Small,er(e,this.props.hideChevron,this.props.styles));return n.createElement(Zt.y,{...this.props,styles:(0,Ue.P)(e,t),dataAutomationType:"TaskPaneActionFlyoutAnchor",keytipProps:void 0,showTooltip:!0})}))}}n.PureComponent;class rr extends n.Component{render(){const e=(0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")&&this.props.getProperty("isAADDocumentHost")&&this.props.getRefreshOrCancelButton;return n.createElement(B.V,null,(t=>n.createElement(ee.B,{horizontal:!0},e&&this.props.getRefreshOrCancelButton(),this.props.shouldRenderOtherOptions&&n.createElement(tr,{id:"PowerQueryTaskPaneEllipsesFlyoutId-"+this.props.id,label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.OverflowWellLabel),type:"AppFlyoutAnchorProps",hideLabel:!0,hideChevron:!0,directionalHint:tt.A.bottomRightEdge,icon:He().HintBarEllipses_20,menuDefinition:this.props.menuDefinition,menuClassNames:this.props.menuClassNames,styles:(0,l.TW)({root:{selectors:{".ms-Icon":{height:"20px",width:"20px"}}},rootHovered:{backgroundColor:t.semanticColors?.buttonBackgroundHovered},rootExpanded:{backgroundColor:t.semanticColors?.buttonBackgroundHovered},rootExpandedHovered:{backgroundColor:t.semanticColors?.buttonBackgroundHovered},rootPressed:{backgroundColor:t.semanticColors?.buttonBackgroundHovered}},this.props.styles),controlInMenuRendererFunction:this.controlInMenuRendererFunction,onAfterMenuDismiss:()=>{this.onMenuShowHide(!1)},onExecute:()=>{this.onMenuShowHide(!0)},directionalHintFixed:!1,shouldDismissOnWindowFocus:!0}))))}constructor(e){super(e),this.controlInMenuRendererFunction=Yt(Ge,et),this.onMenuShowHide=e=>{this.props.onMenuShowHide&&this.props.onMenuShowHide(e)},this.controlInMenuRendererFunction.bind(this)}}rr.contextType=V;const nr=e=>{const{borderRadius:t,margin:r}=n.useContext(Qe.e),o=Je();function i(e){return e.sections.forEach((e=>{e.controls.forEach((e=>{const t=(0,l.TW)(e.styles,o);e.styles=t}))})),e}const{styles:a,menuDefinition:s,menuClassNames:u,...c}=e;return n.createElement(B.V,null,(a=>n.createElement(rr,{...c,menuDefinition:i(s),styles:(0,l.TW)(e.styles,o),menuClassNames:{subComponentStyles:{callout:{root:{selectors:{".ms-FocusZone":{margin:r}}},calloutMain:{borderRadius:t&&"0px"!==t?t:l.WG.roundedCorner2,color:a.semanticColors?.menuItemText,background:a.semanticColors?.menuBackground,selectors:{"& button:hover":{backgroundColor:a.semanticColors?.menuItemBackgroundHovered},"& button:disabled":{backgroundColor:"transparent"}}}},menuItem:{}}}})))},or=e=>{const{styles:t,partialTheme:r,...o}=e,i=(e=>{const{borderRadius:t,buttonBorderLine:r}=(0,n.useContext)(Qe.e);return{root:{borderRadius:t,selectors:{":focus":[{border:`${r} solid ${e.semanticColors?.focusBorder}`,outline:0}]}}}})(r);return n.createElement(ee.B,{...o,styles:(0,l.TW)(e.styles,i)})};var ir=r(11504),ar=r.n(ir),sr=r(96432),lr=r.n(sr);class ur extends n.Component{componentDidMount(){this.props.selected&&this.props.focusSelected&&this.props.focusSelected(this.state.isFocused)}componentDidUpdate(e){this.props.queries!==e.queries&&this.state.isRenaming&&this.setState({errorMessage:xe(e.query.name,this.nameInput.current?.value,this.props.queries?.map((e=>e.name))??[])}),this.state.isRenaming&&this.nameInput.current?.focus()}onQueryRename(e){const t=this.state.errorMessage,r=this.props.query.name,n=this.setRenameEnd;return function(o){const i=o?.trim();!t&&i&&i!==r&&e.handleQueryAction(2,{name:r,extraData:i}),n()}}onRenderQueryWithLabel(e){return n.createElement(B.V,null,(t=>n.createElement(M.w,{type:"AppLabelProps",id:"QueryLabel-"+this.props.id,forId:"QueryLabel-"+this.props.id,label:e,styles:E(t,!1,this.state.isHovered)})))}async handlePasteQueryAction(e){const t=await Le(e.showClipboardAccessPermissionDialog);0===t.queries.length&&0===t.queryGroups.length||e.onPowerQueryPaste(this.props.query.groupKey?.replace(Se,""),t.queries,t.queryGroups)}async handleCopyQueryAction(e){let t;try{t=await e.getAllReferencedQueriesAsync([this.props.query.name])}catch(e){t=[]}const r=this.props.queries.filter((e=>!!e&&t.includes(e.name)));await Ke(void 0,[],[this.props.query].concat(r),e.showClipboardAccessPermissionDialog)}render(){this.paneLayoutUpdate=this.context.bind(this);const e=0!==this.props.query.queryError,t=this.isConnectionOnly(),r=this.state.isRenaming,o=this.isContextMenuShown(r);return n.createElement(B.V,null,(r=>n.createElement(V.Consumer,null,(i=>n.createElement("div",{ref:this.props.forwardRef,"data-testid":"QueryContainer"},n.createElement(or,{"data-testid":"PowerQueryContainerId",id:"PowerQueryContainerId-"+this.props.id,horizontal:!1,tokens:y,styles:S(r,this.props.nestingDepth,void 0!==this.state.errorMessage,this.props.selected),"data-is-focusable":!0,onFocus:this.onFocus,onBlur:this.onBlur,onMouseOver:this.onHover,onMouseLeave:this.onNotHover,onClick:this.onCardClick,onDoubleClick:this.getOnCardDoubleClick(i),onKeyDown:this.onCardSectionKeyDown(i),partialTheme:r},n.createElement(ee.B,{horizontal:!0},n.createElement(ee.B,null,this.props.query.inRefresh?n.createElement(G.V,{type:"AppSpinnerProps",id:"QueryRefreshSpinner"+this.props.id,spinnerSize:H.H.medium,appColors:K(),styles:x(r)}):n.createElement(h.I,{style:A,iconName:D().Table_20})),n.createElement(ee.B,{horizontal:!1,styles:T},n.createElement(ee.B,{horizontal:!0,styles:c(r)},n.createElement(z.M,{disableTooltip:!this.props.getProperty("isTooltipEnabled")},this.onRenderTitle(r,i),o&&this.getFocusZone(i,r))),n.createElement(ee.B,{horizontal:!1},this.onRenderQueryDetails(e,t))))))))))}constructor(e){super(e),this.nameInput=n.createRef(),this.menuShown=!1,this.isDeleteEnabled=!1,this.isRenameEnabled=!1,this.isEditQueryEnabled=!1,this.isPasteEnabled=this.props.getProperty("isPowerQueryPasteEnabled")&&this.props.getProperty("isPowerQueryEditEnabled"),this.isCopyEnabled=this.props.getProperty("isPowerQueryCopyEnabled")&&this.props.getProperty("isPowerQueryEditEnabled"),this.paneLayoutUpdate=e=>{},this.fillObjectTypeToString=e=>{switch(e){case 1:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedToConnectionOnly);case 0:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedToTable);case 2:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedToPivotTable);case 3:return ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedToPivotChart);default:return _.Hv.sendTraceTag(573191066,N.n.msoulscat_ES_EWAJS,O.k.Error,"QueryProperties: Unknown fill object type"),""}},this.onHover=()=>{this.menuShown||this.setState({isHovered:!0})},this.onNotHover=()=>{this.menuShown||this.setState({isHovered:!1})},this.onFocus=()=>{this.menuShown||this.setState({isFocused:!0})},this.onBlur=()=>{this.menuShown||this.setState({isFocused:!1})},this.onCardClick=e=>{this.props.onQuerySelected(this.props.query),this.props.focusSelected&&this.props.focusSelected(this.state.isFocused)},this.getOnCardDoubleClick=e=>t=>{this.isEditQueryEnabled&&e.onEditQuery(this.props.query.name)},this.onInputClick=e=>{e?.stopPropagation()},this.onCardSectionKeyDown=e=>async t=>{this.state.isRenaming||this.state.ContextMenuSectionFocused||!t||t.keyCode!==te.c.enter&&t.which!==te.c.space||(this.props.onQuerySelected(this.props.query),this.props.focusSelected&&this.props.focusSelected(this.state.isFocused),t.preventDefault()),this.isCopyEnabled&&t&&(t.ctrlKey||t.metaKey)&&("c"===t.key||"C"===t.key)&&(await this.handleCopyQueryAction(e),t.preventDefault()),this.isCopyEnabled&&t&&(t.ctrlKey||t.metaKey)&&("v"===t.key||"V"===t.key)&&(await this.handlePasteQueryAction(e),t.preventDefault())},this.getErrorCountString=()=>!this.props.query.rowsWithError||this.props.query.rowsWithError<=0?"":this.props.query.rowsWithError>1?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ErrorsCount).replace("{0}",this.props.query.rowsWithError.toString()):ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.OneError),this.getRowsLoadedLine=()=>{const e=this.props.query.rowsLoaded>1?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryRowsLoaded).replace("{0}",(new Intl.NumberFormat).format(this.props.query.rowsLoaded)):ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryRowLoaded);return this.props.query.rowsWithError&&this.props.query.rowsWithError>0?`${e} ${this.getErrorCountString()}`:e},this.getLoadedToRow=e=>e?this.props.query.loadedToDataModel?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedTo).replace("{0}",ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DataModel)):this.fillObjectTypeToString(this.props.query.fillObjectType):this.props.query.loadedToDataModel?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedToDataModel).replace("{0}",this.fillObjectTypeToString(this.props.query.fillObjectType)):ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadedTo).replace("{0}",this.fillObjectTypeToString(this.props.query.fillObjectType)),this.onRenderTitle=(e,t)=>e?this.state.isRenaming?n.createElement("div",{onClick:this.onInputClick},n.createElement(re.g,{ref:this.nameInput,id:"QueryNameInput",type:"AppInputProps",defaultValue:this.props.query.name,autoComplete:"off",styles:w(e),onChange:this.onQueryNameChange,errorMessage:this.state.errorMessage,executeOnEnter:!0,executeOnBlur:!0,onExecute:this.onQueryRename(t),onKeyDown:this.onAppInputKeyDown})):n.createElement(M.w,{type:"AppLabelProps",id:"QueryName-"+this.props.id,forId:"QueryName-"+this.props.id,label:this.props.query.name,styles:E(e,!0,this.state.isHovered),customTooltip:this.props.query.name}):null,this.onQueryNameChange=e=>{this.setState({errorMessage:xe(this.props.query.name,e,this.props.queries?.map((e=>e.name))??[])})},this.setRenameStart=()=>{this.menuShown=!1,this.props.onRenameStartedOrEnd(this.props.query.name),this.setState({isRenaming:!0})},this.setRenameEnd=()=>{this.props.onRenameStartedOrEnd(""),this.setState({isRenaming:!1,errorMessage:void 0,isFocused:!1,isHovered:!1})},this.onAppInputKeyDown=e=>{e.which===te.c.escape&&(this.nameInput.current?.resetState(),this.setRenameEnd(),e.stopPropagation(),e.preventDefault())},this.onRenderQueryDetails=(e,t)=>{const r=[];return this.isDeleting()?r.push((0,s.isChangeGateEnabled)("OfficeVSO:10156497_LoadingDataLabelOnRefresh")?this.onRenderQueryWithLabel(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryDeleting)):this.onRenderQueryDeleting()):this.props.query.inRefresh&&(0,s.isChangeGateEnabled)("OfficeVSO:10156497_LoadingDataLabelOnRefresh")?r.push(this.onRenderQueryWithLabel(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryRefreshing))):(r.push(this.onRenderQueryRowsLoaded(e,t)),r.push(this.onRenderQueryLastRefreshed()),r.push(this.onRenderQueryLoadedTo(t))),r},this.onRenderQueryDeleting=()=>n.createElement(B.V,null,(e=>n.createElement(M.w,{type:"AppLabelProps",id:"QueryDeleting-"+this.props.id,forId:"QueryDeleting-"+this.props.id,label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryDeleting),styles:E(e,!1,this.state.isHovered)}))),this.onRenderQueryLoadedTo=e=>n.createElement(B.V,null,(t=>n.createElement(M.w,{type:"AppLabelProps",id:"QueryLoadedTo-"+this.props.id,forId:"QueryLoadedTo-"+this.props.id,label:this.getLoadedToRow(e),styles:E(t,!1,this.state.isHovered)}))),this.onRenderQueryLastRefreshed=()=>n.createElement(B.V,null,(e=>n.createElement(M.w,{type:"AppLabelProps",id:"QueryLastRefreshed-"+this.props.id,forId:"QueryLastRefreshed-"+this.props.id,label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryLastRefreshed).replace("{0}",new Date(this.props.query.lastRefresh).toLocaleString()),styles:E(e,!1,this.state.isHovered)}))),this.onRenderQueryRowsLoaded=(e,t)=>e?n.createElement(L,{query:this.props.query,id:this.props.id,isCardHovered:this.state.isHovered}):(!t||this.props.query.loadedToDataModel)&&n.createElement(B.V,null,(e=>n.createElement("div",{"data-testid":"QueryRowsLoaded"},n.createElement(M.w,{type:"AppLabelProps",id:"QueryRowsLoaded-"+this.props.id,forId:"QueryRowsLoaded-"+this.props.id,label:this.getRowsLoadedLine(),styles:E(e,!1,this.state.isHovered)})))),this.isConnectionOnly=()=>1===this.props.query.fillObjectType,this.isDeletingEnabled=()=>this.props.getProperty("Microsoft.Office.Excel.PowerQueryTaskPaneDeleteQuery")&&this.props.getProperty("isPowerQueryEditEnabled")&&this.props.getProperty("isAADDocumentHost"),this.isDeleting=()=>this.isDeleteEnabled&&1===this.props.query.currentRunningOperation,this.isRenamingEnabled=()=>this.props.getProperty("Microsoft.Office.Excel.PowerQueryTaskPaneRenameQuery")&&this.props.getProperty("isPowerQueryEditEnabled")&&this.props.getProperty("isAADDocumentHost"),this.isEditingQueryEnabled=()=>this.props.getProperty("Microsoft.Office.Excel.PowerQueryImport")&&this.props.getProperty("isPowerQueryEditEnabled")&&this.props.getProperty("isAADDocumentHost"),this.isContextMenuShown=e=>((0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")&&this.props.getProperty("isAADDocumentHost")||this.props.getProperty("isPowerQueryEditEnabled"))&&(this.state.isFocused||this.state.isHovered||this.menuShown)&&!e&&!this.isDeleting(),this.shouldDisableRefreshButton=()=>!(0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")||!this.props.getProperty("isAADDocumentHost")||this.props.query.loadedToDataModel||!this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO")&&1===this.props.query.fillObjectType||!this.props.query.refreshEnabled||this.props.query.inRefresh||this.isOperationRunning(),this.setContextMenuSectionFocused=e=>{this.setState({ContextMenuSectionFocused:e})},this.onMenuShowHide=async e=>{if(this.menuShown=e,e&&this.onCardClick(void 0),this.props.getProperty("isPowerQueryPasteEnabled")){const e=await Be();e&&!this.state.isPasteEnabled?this.setState({isPasteEnabled:!0,isFocused:!1,isHovered:!1}):!e&&this.state.isPasteEnabled&&this.setState({isPasteEnabled:!1,isFocused:!1,isHovered:!1})}else this.setState({isFocused:!1,isHovered:!1})},this.onRefresh=()=>{this.props.onQueryRefresh(this.props.query.name)},this.onCancelRefresh=e=>{e.onCancelQueryRefresh(this.props.query.name)},this.switchTaskPaneLayout=e=>{switch(e){case $.MoveToGroup:this.paneLayoutUpdate({type:e,groupOperationPayload:{id:this.props.query.groupKey?.replace(Se,""),name:this.props.query.name},isGroupMoving:!1});break;case $.QueryProperties:_.Hv.sendTraceTag(507606347,N.n.msoulscat_ES_EWAJS,O.k.Important,"Opening Query Properties task pane view."),this.paneLayoutUpdate({type:e,queryOperationPayload:{id:this.props.query.name,name:this.props.query.name,description:this.props.query.description},queryPropertiesPayload:{lastRefresh:this.props.query.lastRefresh,propertiesControls:this.props.query.propertiesControls}});break;default:_.Hv.debugAssertTag(508699338,N.n.msoulscat_ES_EWAJS,!1,`Unexpected PowerQueryTaskPaneType: ${e}`)}},this.getQueryActionCallback=(e,t,r)=>()=>{e.handleQueryAction(t,{name:r})},this.getRefreshOrCancelButton=(e,t)=>{if(this.props.query.inRefresh&&(0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")){const{styles:r,...o}=Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Cancel),"ExternalCancelRefreshButton-"+this.props.id,(()=>this.onCancelRefresh(e)),Ge.closeIcon,!1,t);return n.createElement(Ze,{...o,hideLabel:!0,styles:(0,l.TW)(r,F(t))})}const{styles:r,...o}=Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Refresh),"ExternalRefreshButton-"+this.props.id,this.onRefresh,D().RefreshConnection_20,this.shouldDisableRefreshButton(),t);return n.createElement(Ze,{...o,hideLabel:!0,styles:(0,l.TW)(r,F(t))})},this.isOperationRunning=()=>(0,s.isChangeGateEnabled)("OfficeVSO:7739992_AddingCurrentRunningOperation")&&void 0!==this.props.query.currentRunningOperation&&-1!==this.props.query.currentRunningOperation,this.isDuplicateQueryEnabled=()=>(0===this.props.query.fillObjectType||1===this.props.query.fillObjectType)&&!this.props.query.loadedToDataModel&&!this.isOperationRunning()&&!this.props.getProperty("isDocumentStructureLocked")&&(this.props.query.refreshEnabled||!(0,s.isChangeGateEnabled)("OfficeVSO:8916712_DisableOperationsForBrokenConnection")),this.shouldDisableActionButton=e=>{switch(e){case 0:case 3:return this.isOperationRunning();case 4:return!this.isDuplicateQueryEnabled();case 1:return this.shouldDisableQueryEditing(!1);case 2:case 5:return(0,s.isChangeGateEnabled)("OfficeVSO:8916712_DisableOperationsForBrokenConnection")&&!this.props.query.refreshEnabled||this.shouldDisableQueryEditing(!1);default:return!0}},this.shouldDisableQueryEditing=e=>this.isOperationRunning()||this.props.query.loadedToDataModel||this.props.getProperty("isDocumentStructureLocked")||!e&&this.props.query.inRefresh,this.isQueryEditingEnabled=()=>this.isRenameEnabled||this.isDeleteEnabled||this.isEditQueryEnabled,this.getCopyPasteSection=(e,t)=>{const r={controls:[]};return this.isCopyEnabled&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CopyOption),"Copy-"+this.props.id,(async()=>{await this.handleCopyQueryAction(e)}),D().Copy_24,!1,t)),this.isPasteEnabled&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PasteOption),"Paste-"+this.props.id,(async()=>{await this.handlePasteQueryAction(e)}),D().Paste_24,!this.state.isPasteEnabled,t)),r},this.getEditQuerySection=(e,t)=>{const r={controls:[]};return this.isEditQueryEnabled&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.EditQueryOption),"QueryEditButton-"+this.props.id,(()=>e.onEditQuery(this.props.query.name)),D().EditQuery_20,this.shouldDisableQueryEditing(!0),t)),this.isDeleteEnabled&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DeleteQueryOption),"QueryDeleteButton-"+this.props.id,this.getQueryActionCallback(e,1,this.props.query.name),D().Delete_20,this.shouldDisableActionButton(1),t)),this.isRenameEnabled&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RenameQueryOption),"QueryRenameButton-"+this.props.id,this.setRenameStart,(0,s.isChangeGateEnabled)("OfficeVSO:8339757_ExternalLinkAndRenameQuestionIconResize")?ar().RenameColumn_20:lr().RenameColumn_32,this.shouldDisableActionButton(2),t)),r},this.getRefreshQuerySection=(e,t)=>{const r={controls:[]};return r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Refresh),"QueryRefreshButton-"+this.props.id,this.onRefresh,D().RefreshConnection_20,this.shouldDisableRefreshButton(),t)),this.props.getProperty("isLoadToEnabled")&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.LoadToOption),"QueryLoadToButton-"+this.props.id,this.getQueryActionCallback(e,6,this.props.query.name),D().ChangeQueryLoadSettings_20,!1,t)),r},this.getMergeAppendQuerySection=(e,t)=>{const r={controls:[]};return this.props.getProperty("isMergeEnabled")&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.MergeOption),"QueryMergeButton-"+this.props.id,this.getQueryActionCallback(e,8,this.props.query.name),D().MergeQuery_20,!1,t)),this.props.getProperty("isAppendEnabled")&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.AppendOption),"QueryAppendButton-"+this.props.id,this.getQueryActionCallback(e,9,this.props.query.name),D().PowerQueryAppend_20,!1,t)),r},this.getDuplicateReferenceQuerySection=(e,t)=>{const r={controls:[]};return this.props.getProperty("Microsoft.Office.Excel.PowerQueryTaskPaneDuplicateQuery")&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DuplicateQueryOption),"QueryDuplicateButton-"+this.props.id,this.getQueryActionCallback(e,4,this.props.query.name),D().Duplicate_24,this.shouldDisableActionButton(4),t)),this.props.getProperty("isReferenceEnabled")&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ReferenceOption),"QueryReferenceButton-"+this.props.id,this.getQueryActionCallback(e,7,this.props.query.name),D().Attachment_20,!1,t)),r},this.getExportConnectionFileSection=(e,t)=>{const r={controls:[]};return this.props.getProperty("isExportConnectionFileEnabled")&&r.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ExportConnectionFileOption),"QueryExportConnectionFileButton-"+this.props.id,this.getQueryActionCallback(e,10,this.props.query.name),D().ExportConnectionFile_20,!1,t)),r},this.getOtherCommandSection=e=>{const t={controls:[]};return this.props.shouldShowMoveQueryButton&&this.props.getProperty("isPowerQueryEditEnabled")&&t.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.MoveQueryToGroupOption),"QueryMoveToGroupButton-"+this.props.id,(()=>this.switchTaskPaneLayout($.MoveToGroup)),void 0,this.shouldDisableActionButton(0),e)),this.props.getProperty("Microsoft.Office.Excel.PowerQueryTaskPaneQueryProperties")&&t.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PropertiesOption),"QueryPropertiesButton-"+this.props.id,(()=>this.switchTaskPaneLayout($.QueryProperties)),D().Info_20,this.shouldDisableActionButton(5))),t},this.getMenuDefinition=(e,t)=>{const r={sections:[{controls:[]}]};return(this.isPasteEnabled||this.isCopyEnabled)&&r.sections.push(this.getCopyPasteSection(e,t)),this.isQueryEditingEnabled()&&r.sections.push(this.getEditQuerySection(e,t)),r.sections.push(this.getDuplicateReferenceQuerySection(e,t)),r.sections.push(this.getRefreshQuerySection(e,t)),r.sections.push(this.getMergeAppendQuerySection(e,t)),r.sections.push(this.getExportConnectionFileSection(e,t)),r.sections.push(this.getOtherCommandSection(t)),r},this.getContextMenu=(e,t)=>n.createElement(nr,{id:"Query-"+this.props.id.toString(),onMenuShowHide:this.onMenuShowHide,getRefreshOrCancelButton:()=>this.getRefreshOrCancelButton(e,t),menuDefinition:this.getMenuDefinition(e,t),shouldRenderOtherOptions:!0,getProperty:this.props.getProperty}),this.getFocusZone=(e,t)=>n.createElement(Z.R,{onFocus:()=>this.setContextMenuSectionFocused(!0),onBlur:()=>this.setContextMenuSectionFocused(!1)},this.getContextMenu(e,t)),this.state={isHovered:!1,isFocused:!1,ContextMenuSectionFocused:!1,isRenaming:!1,errorMessage:void 0,isPasteEnabled:!1},this.isDeleteEnabled=this.isDeletingEnabled(),this.isRenameEnabled=this.isRenamingEnabled(),this.isEditQueryEnabled=this.isEditingQueryEnabled()}}ur.contextType=V,ur.contextType=X;var cr=r(31976),dr=r(74659),pr=r(22692),hr=r(46085),gr=r(73725),mr={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},fr=r(54029),vr=r(50550),br=r(69250),yr=r(24011),Sr=r(70361),Cr=r(40409),Tr=r(24077),kr=12,Fr={rowHeight:42,compactRowHeight:32},Er=((0,fr.Cl)((0,fr.Cl)({},Fr),{rowVerticalPadding:11,compactRowVerticalPadding:6}),function(e){var t=e.count,r=e.indentWidth,o=void 0===r?36:r,i=e.role,a=void 0===i?"presentation":i,s=t*o;return t>0?n.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:s},role:a}):null}),Ar={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",dropIcon:"ms-GroupHeader-dropIcon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},Ir="cubic-bezier(0.390, 0.575, 0.565, 1.000)",xr=r(22137),wr=r(49598),Pr=(0,vr.Z)(),Rr=n.forwardRef((function(e,t){var r=e.checked,o=void 0!==r&&r,i=e.className,a=e.theme,s=e.styles,l=e.useFastIcons,u=void 0===l||l,c=Pr(s,{theme:a,className:i,checked:o}),d=u?wr.l8:h.I;return n.createElement("div",{className:c.root,ref:t},n.createElement(d,{iconName:"CircleRing",className:c.circle}),n.createElement(d,{iconName:"StatusCircleCheckmark",className:c.check}))}));Rr.displayName="CheckBase";var Dr={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},_r=(0,gr.I)(Rr,(function(e){var t,r,n,o,i,a=e.height,s=void 0===a?e.checkBoxHeight||"18px":a,u=e.checked,c=e.className,d=e.theme,p=d.palette,h=d.semanticColors,g=d.fonts,m=(0,$t.jI)(d),f=(0,l.Km)(Dr,d),v={fontSize:s,position:"absolute",left:0,top:0,width:s,height:s,textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"};return{root:[f.root,g.medium,{lineHeight:"1",width:s,height:s,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(t={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:h.bodyBackground}},t[".".concat(f.checkHost,":hover &, .").concat(f.checkHost,":focus &, &:hover, &:focus")]={opacity:1},t)},u&&["is-checked",{selectors:{":before":{background:p.themePrimary,opacity:1,selectors:(r={},r[l.up]={background:"Window"},r)}}}],c],circle:[f.circle,v,{color:p.neutralSecondary,selectors:(n={},n[l.up]={color:"WindowText"},n)},u&&{color:p.white}],check:[f.check,v,{opacity:0,color:p.neutralSecondary,fontSize:l.fF.medium,left:m?"-0.5px":".5px",top:"-1px",selectors:(o={":hover":{opacity:1}},o[l.up]=(0,fr.Cl)({},(0,l.Qg)()),o)},u&&{opacity:1,color:p.white,fontWeight:900,selectors:(i={},i[l.up]={border:"none",color:"WindowText"},i)}],checkHost:f.checkHost}}),void 0,{scope:"Check"},!0),Nr=r(37103),Or=(0,vr.Z)(),Mr=function(e){function t(t){var r=e.call(this,t)||this;return r._toggleCollapse=function(){var e=r.props,t=e.group,n=e.onToggleCollapse,o=e.isGroupLoading,i=!r.state.isCollapsed,a=!i&&o&&o(t);r.setState({isCollapsed:i,isLoadingVisible:a}),n&&n(t)},r._onKeyUp=function(e){var t=r.props,n=t.group,o=t.onGroupHeaderKeyUp;if(o&&o(e,n),!e.defaultPrevented){var i=r.state.isCollapsed&&e.which===(0,$t.SM)(te.c.right,r.props.theme);(!r.state.isCollapsed&&e.which===(0,$t.SM)(te.c.left,r.props.theme)||i)&&(r._toggleCollapse(),e.stopPropagation(),e.preventDefault())}},r._onToggleClick=function(e){r._toggleCollapse(),e.stopPropagation(),e.preventDefault()},r._onHeaderClick=function(){var e=r.props,t=e.group,n=e.onGroupHeaderClick;n&&n(t)},r._onRenderTitle=function(e){if(!e.group)return null;var t=e.onRenderName?(0,xr.j)(e.onRenderName,r._onRenderName):r._onRenderName;return n.createElement("div",{className:r._classNames.title,id:r._id,onClick:r._onHeaderClick,role:"gridcell","aria-colspan":r.props.ariaColSpan,"data-selection-invoke":!0},t(e))},r._onRenderName=function(e){var t=e.group;return t?n.createElement(n.Fragment,null,n.createElement("span",null,t.name),n.createElement("span",{className:r._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},r._id=(0,Cr.O)("GroupHeader"),r.state={isCollapsed:r.props.group&&r.props.group.isCollapsed,isLoadingVisible:!1},r}return(0,fr.C6)(t,e),t.getDerivedStateFromProps=function(e,t){if(e.group){var r=e.group.isCollapsed,n=e.isGroupLoading,o=!r&&n&&n(e.group);return(0,fr.Cl)((0,fr.Cl)({},t),{isCollapsed:r||!1,isLoadingVisible:o||!1})}return t},t.prototype.render=function(){var e=this.props,t=e.group,r=e.groupLevel,o=void 0===r?0:r,i=e.viewport,a=e.selectionMode,s=e.loadingText,l=e.isSelected,u=void 0!==l&&l,c=e.selected,d=void 0!==c&&c,p=e.indentWidth,g=e.onRenderGroupHeaderCheckbox,m=e.isCollapsedGroupSelectVisible,f=void 0===m||m,v=e.expandButtonProps,b=e.expandButtonIcon,y=e.selectAllButtonProps,S=e.theme,C=e.styles,T=e.className,k=e.compact,F=e.ariaLevel,E=e.ariaPosInSet,A=e.ariaSetSize,I=e.ariaRowIndex,x=e.useFastIcons,w=this.props.onRenderTitle?(0,xr.j)(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,P=x?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,R=g?(0,xr.j)(g,P):P,D=this.state,_=D.isCollapsed,N=D.isLoadingVisible,O=a===pr.Qc.multiple,M=O&&(f||!(t&&t.isCollapsed)),B=d||u,L=(0,$t.jI)(S);return this._classNames=Or(C,{theme:S,className:T,selected:B,isCollapsed:_,compact:k}),t?n.createElement("div",{className:this._classNames.root,style:i?{minWidth:i.width}:{},role:"row","aria-level":F,"aria-setsize":A,"aria-posinset":E,"aria-rowindex":I,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":t.ariaLabel,"aria-labelledby":t.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":O?B:void 0,"data-selection-index":t.startIndex,"data-selection-span":t.count},n.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},M?n.createElement("div",{role:"gridcell"},n.createElement("button",(0,fr.Cl)({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:"".concat(this._id,"-check"),"aria-checked":B,"aria-labelledby":"".concat(this._id,"-check ").concat(this._id),"data-selection-toggle":!0},y),R({checked:B,theme:S},R))):a!==pr.Qc.none&&n.createElement(Er,{indentWidth:48,count:1}),n.createElement(Er,{indentWidth:p,count:o}),n.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},n.createElement(h.I,{iconName:"Tag"})),n.createElement("div",{role:"gridcell"},n.createElement("button",(0,fr.Cl)({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},v),n.createElement(h.I,{className:this._classNames.expandIsCollapsed,iconName:b||(L?"ChevronLeftMed":"ChevronRightMed")}))),w(this.props),N&&n.createElement(Nr.y,{label:s}))):null},t.prototype._defaultCheckboxRender=function(e){return n.createElement(_r,{checked:e.checked})},t.prototype._fastDefaultCheckboxRender=function(e){return n.createElement(Br,{theme:e.theme,checked:e.checked})},t.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},t}(n.Component),Br=n.memo((function(e){return n.createElement(_r,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})})),Lr=(0,gr.I)(Mr,(function(e){var t,r,n,o,i,a=e.theme,s=e.className,u=e.selected,c=e.isCollapsed,d=e.compact,p=kr,h=d?40:48,g=a.semanticColors,m=a.palette,v=a.fonts,b=(0,l.Km)(Ar,a),y=[(0,l.gm)(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[b.root,(0,l.gm)(a),a.fonts.medium,{borderBottom:"1px solid ".concat(g.listBackground),cursor:"default",userSelect:"none",selectors:(t={":hover":{background:g.listItemBackgroundHovered,color:g.actionLinkHovered}},t["&:hover .".concat(b.check)]={opacity:1},t[".".concat(f.Y2," &:focus .").concat(b.check,", :host(.").concat(f.Y2,") &:focus .").concat(b.check)]={opacity:1},t[":global(.".concat(b.group,".").concat(b.isDropping,")")]={selectors:(r={},r["& > .".concat(b.root," .").concat(b.dropIcon)]={transition:"transform ".concat(l.cs.durationValue4," ").concat("cubic-bezier(0.075, 0.820, 0.165, 1.000)"," ")+"opacity ".concat(l.cs.durationValue1," ").concat(Ir),transitionDelay:l.cs.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},r[".".concat(b.check)]={opacity:0},r)},t)},u&&[b.isSelected,{background:g.listItemBackgroundChecked,selectors:(n={":hover":{background:g.listItemBackgroundCheckedHovered}},n["".concat(b.check)]={opacity:1},n)}],d&&[b.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:h}],headerCount:[{padding:"0px 4px"}],check:[b.check,y,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:48,height:h,selectors:(o={},o[".".concat(f.Y2," &:focus, :host(.").concat(f.Y2,") &:focus")]={opacity:1},o)}],expand:[b.expand,y,{display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",fontSize:v.small.fontSize,width:36,height:h,color:u?m.neutralPrimary:m.neutralSecondary,selectors:{":hover":{backgroundColor:u?m.neutralQuaternary:m.neutralLight},":active":{backgroundColor:u?m.neutralTertiaryAlt:m.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[b.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:(0,$t.jI)(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[b.title,{paddingLeft:p,fontSize:d?v.medium.fontSize:v.mediumPlus.fontSize,fontWeight:c?l.BO.regular:l.BO.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[b.dropIcon,{position:"absolute",left:-26,fontSize:l.fF.large,color:m.neutralSecondary,transition:"transform ".concat(l.cs.durationValue2," ").concat("cubic-bezier(0.600, -0.280, 0.735, 0.045)",", ")+"opacity ".concat(l.cs.durationValue4," ").concat(Ir),opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(.".concat(b.iconTag,")")]={position:"absolute"},i)}]}}),void 0,{scope:"GroupHeader"}),Kr={root:"ms-GroupShowAll",link:"ms-Link"},Wr=r(90056),Hr=(0,vr.Z)(),Gr=(0,gr.I)((function(e){var t=e.group,r=e.groupLevel,o=e.showAllLinkText,i=void 0===o?"Show All":o,a=e.styles,s=e.theme,l=e.onToggleSummarize,u=Hr(a,{theme:s}),c=n.useCallback((function(e){l(t),e.stopPropagation(),e.preventDefault()}),[l,t]);return t?n.createElement("div",{className:u.root},n.createElement(Er,{count:r}),n.createElement(Wr.N,{onClick:c},i)):null}),(function(e){var t,r=e.theme,n=r.fonts,o=(0,l.Km)(Kr,r);return{root:[o.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t[".".concat(o.link)]={fontSize:n.small.fontSize},t)}]}}),void 0,{scope:"GroupShowAll"}),zr={root:"ms-groupFooter"},Ur=(0,vr.Z)(),Vr=(0,gr.I)((function(e){var t=e.group,r=e.groupLevel,o=e.footerText,i=e.indentWidth,a=e.styles,s=e.theme,l=Ur(a,{theme:s});return t&&o?n.createElement("div",{className:l.root},n.createElement(Er,{indentWidth:i,count:r}),o):null}),(function(e){var t=e.theme,r=e.className,n=(0,l.Km)(zr,t);return{root:[t.fonts.medium,n.root,{position:"relative",padding:"5px 38px"},r]}}),void 0,{scope:"GroupFooter"}),jr=r(10783),qr=function(e){function t(r){var o=e.call(this,r)||this;o._root=n.createRef(),o._list=n.createRef(),o._subGroupRefs={},o._droppingClassName="",o._onRenderGroupHeader=function(e){return n.createElement(Lr,(0,fr.Cl)({},e))},o._onRenderGroupShowAll=function(e){return n.createElement(Gr,(0,fr.Cl)({},e))},o._onRenderGroupFooter=function(e){return n.createElement(Vr,(0,fr.Cl)({},e))},o._renderSubGroup=function(e,r){var i=o.props,a=i.dragDropEvents,s=i.dragDropHelper,l=i.eventsToRegister,u=i.getGroupItemLimit,c=i.groupNestingDepth,d=i.groupProps,p=i.items,h=i.headerProps,g=i.showAllProps,m=i.footerProps,f=i.listProps,v=i.onRenderCell,b=i.selection,y=i.selectionMode,S=i.viewport,C=i.onRenderGroupHeader,T=i.onRenderGroupShowAll,k=i.onRenderGroupFooter,F=i.onShouldVirtualize,E=i.group,A=i.compact,I=e.level?e.level+1:c;return!e||e.count>0||d&&d.showEmptyGroups?n.createElement(t,{ref:function(e){return o._subGroupRefs["subGroup_"+r]=e},key:o._getGroupKey(e,r),dragDropEvents:a,dragDropHelper:s,eventsToRegister:l,footerProps:m,getGroupItemLimit:u,group:e,groupIndex:r,groupNestingDepth:I,groupProps:d,headerProps:h,items:p,listProps:f,onRenderCell:v,selection:b,selectionMode:y,showAllProps:g,viewport:S,onRenderGroupHeader:C,onRenderGroupShowAll:T,onRenderGroupFooter:k,onShouldVirtualize:F,groups:E?E.children:[],compact:A}):null},o._getGroupDragDropOptions=function(){var e=o.props,t=e.group,r=e.groupIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:r,isGroup:!0},updateDropState:o._updateDroppingState,canDrag:n.canDrag,canDrop:n.canDrop,onDrop:n.onDrop,onDragStart:n.onDragStart,onDragEnter:n.onDragEnter,onDragLeave:n.onDragLeave,onDragEnd:n.onDragEnd,onDragOver:n.onDragOver}},o._updateDroppingState=function(e,t){var r=o.state.isDropping,n=o.props,i=n.dragDropEvents,a=n.group;r!==e&&(r?i&&i.onDragLeave&&i.onDragLeave(a,t):i&&i.onDragEnter&&(o._droppingClassName=i.onDragEnter(a,t)),o.setState({isDropping:e}))};var i=r.selection,a=r.group;return(0,br.f)(o),o._id=(0,Cr.O)("GroupedListSection"),o.state={isDropping:!1,isSelected:!(!i||!a)&&i.isRangeSelected(a.startIndex,a.count)},o._events=new Tr.g(o),o}return(0,fr.C6)(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,r=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),r&&this._events.on(r,pr.ij,this._onSelectionChange)},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},t.prototype.componentDidUpdate=function(e){this.props.group===e.group&&this.props.groupIndex===e.groupIndex&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())))},t.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,r=e.group,o=e.groupIndex,i=e.headerProps,a=e.showAllProps,s=e.footerProps,l=e.viewport,u=e.selectionMode,c=e.onRenderGroupHeader,d=void 0===c?this._onRenderGroupHeader:c,p=e.onRenderGroupShowAll,h=void 0===p?this._onRenderGroupShowAll:p,g=e.onRenderGroupFooter,m=void 0===g?this._onRenderGroupFooter:g,f=e.onShouldVirtualize,v=e.groupedListClassNames,b=e.groups,y=e.compact,S=e.listProps,C=void 0===S?{}:S,T=this.state.isSelected,k=r&&t?t(r):1/0,F=r&&!r.children&&!r.isCollapsed&&!r.isShowingAll&&(r.count>k||r.hasMoreData),E=r&&r.children&&r.children.length>0,A=C.version,I={group:r,groupIndex:o,groupLevel:r?r.level:0,isSelected:T,selected:T,viewport:l,selectionMode:u,groups:b,compact:y},x={groupedListId:this._id,ariaLevel:(null==r?void 0:r.level)?r.level+1:1,ariaSetSize:b?b.length:void 0,ariaPosInSet:void 0!==o?o+1:void 0},w=(0,fr.Cl)((0,fr.Cl)((0,fr.Cl)({},i),I),x),P=(0,fr.Cl)((0,fr.Cl)({},a),I),R=(0,fr.Cl)((0,fr.Cl)({},s),I),D=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(r)&&!!this.props.dragDropEvents.canDragGroups;return n.createElement("div",(0,fr.Cl)({ref:this._root},D&&{draggable:!0},{className:(0,yr.A)(v&&v.group,this._getDroppingClassName()),role:"presentation"}),d(w,this._onRenderGroupHeader),r&&r.isCollapsed?null:E?n.createElement(jr.B,{role:"presentation",ref:this._list,items:r?r.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:f,version:A,id:this._id}):this._onRenderGroup(k),r&&r.isCollapsed?null:F&&h(P,this._onRenderGroupShowAll),m(R,this._onRenderGroupFooter))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this.forceListUpdate()},t.prototype.forceListUpdate=function(){var e=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),e&&e.children&&e.children.length>0)for(var t=e.children.length,r=0;r<t;r++){var n;(n=this._list.current.pageRefs["subGroup_"+String(r)])&&n.forceListUpdate()}}else(n=this._subGroupRefs["subGroup_"+String(0)])&&n.forceListUpdate()},t.prototype._onSelectionChange=function(){var e=this.props,t=e.group,r=e.selection;if(r&&t){var n=r.isRangeSelected(t.startIndex,t.count);n!==this.state.isSelected&&this.setState({isSelected:n})}},t.prototype._onRenderGroupCell=function(e,t,r){return function(n,o){return e(t,n,o,r)}},t.prototype._onRenderGroup=function(e){var t=this.props,r=t.group,o=t.items,i=t.onRenderCell,a=t.listProps,s=t.groupNestingDepth,l=t.onShouldVirtualize,u=t.groupProps,c=r&&!r.isShowingAll?r.count:o.length,d=r?r.startIndex:0;return n.createElement(jr.B,(0,fr.Cl)({role:u&&u.role?u.role:"rowgroup","aria-label":null==r?void 0:r.name,items:o,onRenderCell:this._onRenderGroupCell(i,s,r),ref:this._list,renderCount:Math.min(c,e),startIndex:d,onShouldVirtualize:l,id:this._id},a))},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},t.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,r=t.group,n=t.groupedListClassNames;return e=!(!r||!e),(0,yr.A)(e&&this._droppingClassName,e&&"is-dropping",e&&n&&n.groupIsDropping)},t}(n.Component),$r=r(97130),Qr=(0,vr.Z)(),Xr=Fr.rowHeight,Yr=Fr.compactRowHeight,Jr=function(e){function t(t){var r=e.call(this,t)||this;r._list=n.createRef(),r._renderGroup=function(e,t){var o=r.props,i=o.dragDropEvents,a=o.dragDropHelper,s=o.eventsToRegister,l=o.groupProps,u=o.items,c=o.listProps,d=o.onRenderCell,p=o.selectionMode,h=o.selection,g=o.viewport,m=o.onShouldVirtualize,f=o.groups,v=o.compact,b={onToggleSelectGroup:r._onToggleSelectGroup,onToggleCollapse:r._onToggleCollapse,onToggleSummarize:r._onToggleSummarize},y=(0,fr.Cl)((0,fr.Cl)({},l.headerProps),b),S=(0,fr.Cl)((0,fr.Cl)({},l.showAllProps),b),C=(0,fr.Cl)((0,fr.Cl)({},l.footerProps),b),T=r._getGroupNestingDepth();if(!l.showEmptyGroups&&e&&0===e.count)return null;var k=(0,fr.Cl)((0,fr.Cl)({},c||{}),{version:r.state.version});return n.createElement(qr,{key:r._getGroupKey(e,t),dragDropEvents:i,dragDropHelper:a,eventsToRegister:s,footerProps:C,getGroupItemLimit:l&&l.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:T,groupProps:l,headerProps:y,listProps:k,items:u,onRenderCell:d,onRenderGroupHeader:l.onRenderHeader,onRenderGroupShowAll:l.onRenderShowAll,onRenderGroupFooter:l.onRenderFooter,selectionMode:p,selection:h,showAllProps:S,viewport:g,onShouldVirtualize:m,groupedListClassNames:r._classNames,groups:f,compact:v})},r._getDefaultGroupItemLimit=function(e){return e.children&&e.children.length>0?e.children.length:e.count},r._getGroupItemLimit=function(e){var t=r.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:r._getDefaultGroupItemLimit)(e)},r._getGroupHeight=function(e){var t=r.props.compact?Yr:Xr;return t+(e.isCollapsed?0:t*r._getGroupItemLimit(e))},r._getPageHeight=function(e){var t=r.state.groups,n=r.props.getGroupHeight,o=void 0===n?r._getGroupHeight:n,i=t&&t[e];return i?o(i,e):0},r._onToggleCollapse=function(e){var t=r.props.groupProps,n=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(n&&n(e),e.isCollapsed=!e.isCollapsed,r._updateIsSomeGroupExpanded(),r.forceUpdate())},r._onToggleSelectGroup=function(e){var t=r.props,n=t.selection,o=t.selectionMode;e&&n&&o===pr.Qc.multiple&&n.toggleRangeSelected(e.startIndex,e.count)},r._isInnerZoneKeystroke=function(e){return e.which===(0,$t.SM)(te.c.right)},r._onToggleSummarize=function(e){var t=r.props.groupProps,n=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;n?n(e):(e&&(e.isShowingAll=!e.isShowingAll),r.forceUpdate())},r._getPageSpecification=function(e){var t=r.state.groups,n=t&&t[e];return{key:n&&n.key}},(0,br.f)(r),r._isSomeGroupExpanded=r._computeIsSomeGroupExpanded(t.groups);var o=t.listProps,i=(void 0===o?{}:o).version,a=void 0===i?{}:i;return r.state={groups:t.groups,items:t.items,listProps:t.listProps,version:a},r}return(0,fr.C6)(t,e),t.getDerivedStateFromProps=function(e,t){var r=e.groups,n=e.selectionMode,o=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=(0,fr.Cl)((0,fr.Cl)({},t),{selectionMode:n,compact:o,groups:r,listProps:a,items:i}),u=!1;return s===(t.listProps&&t.listProps.version)&&i===t.items&&r===t.groups&&n===t.selectionMode&&o===t.compact||(u=!0),u&&(l=(0,fr.Cl)((0,fr.Cl)({},l),{version:{}})),l},t.prototype.scrollToIndex=function(e,t,r){this._list.current&&this._list.current.scrollToIndex(e,t,r)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,r=e.groups,n=void 0===r?[]:r;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(n,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,r=e.usePageCache,o=e.onShouldVirtualize,i=e.theme,a=e.role,s=void 0===a?"treegrid":a,l=e.styles,u=e.compact,c=e.focusZoneProps,d=void 0===c?{}:c,p=e.rootListProps,h=void 0===p?{}:p,g=this.state,m=g.groups,f=g.version;this._classNames=Qr(l,{theme:i,className:t,compact:u});var v=d.shouldEnterInnerZone,b=void 0===v?this._isInnerZoneKeystroke:v;return n.createElement(Z.R,(0,fr.Cl)({direction:$r.E.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},d,{shouldEnterInnerZone:b,className:(0,yr.A)(this._classNames.root,d.className)}),n.createElement(Sr.MO,null),m?n.createElement(jr.B,(0,fr.Cl)({ref:this._list,role:s,items:m,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:r,onShouldVirtualize:o,version:f},h)):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,r=void 0===t?[]:t,n=this.props.groupProps,o=n&&n.onToggleCollapseAll;r.length>0&&(o&&o(e),this._setGroupsCollapsedState(r,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var r=0;r<e.length;r++)e[r].isCollapsed=t},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){this.setState({version:{}})},t.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some((function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed})))},t.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,r=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==r&&(t&&t(r),this._isSomeGroupExpanded=r)},t.defaultProps={selectionMode:pr.Qc.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},t}(n.Component),Zr=(0,gr.I)(Jr,(function(e){var t,r,n=e.theme,o=e.className,i=e.compact,a=n.palette,s=(0,l.Km)(mr,n);return{root:[s.root,n.fonts.small,{position:"relative",selectors:(t={},t[".".concat(s.listCell)]={minHeight:38},t)},i&&[s.compact,{selectors:(r={},r[".".concat(s.listCell)]={minHeight:32},r)}],o],group:[s.group,{transition:"background-color ".concat(l.cs.durationValue2," ").concat("cubic-bezier(0.445, 0.050, 0.550, 0.950)")}],groupIsDropping:{backgroundColor:a.neutralLight}}}),void 0,{scope:"GroupedList"}),en=r(5072);const tn=()=>{const{borderRadius:e}=(0,n.useContext)(Qe.e);return{root:{borderRadius:e},expand:{borderRadius:e,selectors:{":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}},groupHeaderContainer:{selectors:{":hover":[{borderRadius:e}]}}}},rn=(0,vr.Z)(),nn=n.createRef();class on extends n.Component{componentDidUpdate(e){this.props.groupDividerProps?.groups!==e.groupDividerProps?.groups&&this.state.isRenaming&&this.setState({errorMessage:we(nn.current?.value,this.props.groupDividerProps?.groups?.map((e=>e.name))??[],this.props.groupDividerProps?.group?.name)}),this.state.isRenaming&&nn.current?.focus()}async handleCopyGroupAction(e){await Ke(this.props.groupDividerProps?.group?.key,[this.props.groupDividerProps?.group],this.props.queries,e?.showClipboardAccessPermissionDialog)}async handlePasteGroupAction(e){const t=await Le(e?.showClipboardAccessPermissionDialog);0===t.queries.length&&0===t.queryGroups.length||e?.onPowerQueryPaste(this.props.groupDividerProps?.group?.key===Ce?null:this.props.groupDividerProps?.group?.key,t.queries,t.queryGroups)}render(){const e=0!==this.props.groupDividerProps?.group?.count||!!this.props.groupDividerProps?.group?.children&&this.props.groupDividerProps?.group?.children.length>0;return n.createElement(ee.B,{grow:1,horizontal:!0,verticalAlign:"center",onMouseOver:this.onHover(!0),onMouseLeave:this.onHover(!1),onFocus:this.onFocus(!0),onBlur:this.onFocus(!1),id:this.props.groupDividerProps?.group?.key+"GroupHeader"},n.createElement(ee.B.Item,{grow:1},n.createElement(B.V,null,(t=>n.createElement(en.k,{tooltipLabel:this.props.groupDividerProps?.group?.data,tooltipId:"GroupHeaderToolTip",tooltipDirection:tt.A.bottomCenter,updateTooltipsHidden:this.context.updateTooltipsHidden,setTooltipElement:this.context.setTooltipElement},this.props.defaultRender({...this.props.groupDividerProps,expandButtonProps:{style:{visibility:e?"unset":"hidden"}},selectionMode:pr.Qc.none,indentWidth:16,styles:(0,l.l8)(v(t,this.props.groupDividerProps?.groupLevel,!!this.state.isRenaming),tn()),onRenderTitle:e=>this.onRenderTitle(t,e)}))))))}constructor(e){super(e),this.menuShown=!1,this.isPasteEnabled=this.props.getProperty("isPowerQueryPasteEnabled"),this.isCopyEnabled=this.props.getProperty("isPowerQueryCopyEnabled"),this.onMenuShowHide=async e=>{if(this.menuShown=e,this.props.getProperty("isPowerQueryPasteEnabled")){const e=await Be();e&&!this.state.isPasteEnabled?this.setState({isPasteEnabled:!0,isFocused:!1,isHovered:!1}):!e&&this.state.isPasteEnabled&&this.setState({isPasteEnabled:!1,isFocused:!1,isHovered:!1})}else this.setState({isFocused:!1,isHovered:!1})},this.getGroupOperationPayload=()=>{const e=this.props.groupDividerProps?.group;return{id:this.props.groupDividerProps?.group?.key,name:e?.name,description:e?.data}},this.getCopyPasteSection=(e,t)=>{const r=[];return this.isCopyEnabled&&r.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CopyOption),"Copy-"+this.props.groupDividerProps?.group?.key,(async()=>{await this.handleCopyGroupAction(e)}),D().Copy_24,!1,t)),this.isPasteEnabled&&r.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PasteOption),"Paste-"+this.props.groupDividerProps?.group?.key,(async()=>{await this.handlePasteGroupAction(e)}),D().Paste_24,!this.state.isPasteEnabled,t)),{controls:r}},this.getOtherQueriesGroupSection=e=>{const t=this.getGroupOperationPayload(),r={controls:[]},n=r.controls;return this.props.getProperty("Microsoft.Office.Excel.PowerQueryDeleteQueryGroup")&&n.push(this.getDeleteGroupOption(t,e,this.props.getProperty("isDocumentStructureLocked")||0===this.props.groupDividerProps?.group?.count)),r},this.getMovingGroupOperationSection=(e,t)=>{const r=this.getGroupOperationPayload(),n=this.props.groupDividerProps?.group,o={controls:[]},i=o.controls;return 0!==n?.count&&n?.children&&i.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.UngroupOption),"UngroupGroupButton-"+this.props.groupDividerProps?.group?.key,this.getGroupOperationFunction(1,r),void 0,this.props.getProperty("isDocumentStructureLocked")||0===this.props.groupDividerProps?.group?.count,t)),!this.props.getProperty("Microsoft.Office.Excel.PowerQueryDeleteQueryGroup")&&0!==n?.count&&n?.children||i.push(this.getDeleteGroupOption(r,t,this.props.getProperty("isDocumentStructureLocked"))),i.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RenameGroupOption),"RenameGroupButton-"+this.props.groupDividerProps?.group?.key,this.setRenameStart,lr().RenameColumn_32,this.props.getProperty("isDocumentStructureLocked"),t)),i.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.MoveQueryToGroupOption),"MoveToGroupButton-"+this.props.groupDividerProps?.group?.key,(()=>{e({type:$.MoveToGroup,groupOperation:4,groupOperationPayload:r,isGroupMoving:!0})}),void 0,this.props.getProperty("isDocumentStructureLocked"),t)),i.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.MoveToTopLevelOption),"MoveToTopLevelButton-"+this.props.groupDividerProps?.group?.key,(()=>{r.parentId=null,this.props.handleGroupOperation(4,r)}),void 0,0===n?.level||this.props.getProperty("isDocumentStructureLocked"),t)),i.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PropertiesOption),"SetPropertiesButton-"+this.props.groupDividerProps?.group?.key,(()=>{e({type:$.GroupProperties,groupOperation:5,groupOperationPayload:r,groupSiblingsNames:this.props.groupDividerProps?.groups?.map((e=>e.name))??[]})}),D().Info_20,this.props.getProperty("isDocumentStructureLocked"),t)),o},this.getMenuDefinition=(e,t,r)=>{const n={sections:[]};(this.isPasteEnabled||this.isCopyEnabled)&&this.props.getProperty("isPowerQueryEditEnabled")&&n.sections.push(this.getCopyPasteSection(e,r));const o=[];return o.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Refresh),"RefreshGroupButton-"+this.props.groupDividerProps?.group?.key,(()=>{this.onRefreshAll(e.onQueryRefresh)}),D().RefreshConnection_20,this.shouldDisableRefreshButton(),r)),n.sections.push({controls:o}),this.props.getProperty("isPowerQueryEditEnabled")&&(this.props.groupDividerProps?.group?.key===Ce?this.props.getProperty("Microsoft.Office.Excel.DeleteOtherQueriesGroup")&&n.sections.push(this.getOtherQueriesGroupSection(r)):n.sections.push(this.getMovingGroupOperationSection(t,r))),n},this.getGroupOperationFunction=(e,t)=>()=>{this.props.handleGroupOperation(e,t)},this.getContextMenu=(e,t,r)=>n.createElement(nr,{id:"Group-"+this.props.groupDividerProps?.group?.key,onMenuShowHide:this.onMenuShowHide,menuDefinition:this.getMenuDefinition(e,t,r),shouldRenderOtherOptions:!0,getProperty:this.props.getProperty}),this.onHover=e=>()=>{this.menuShown||this.setState({isHovered:e})},this.onFocus=e=>()=>{this.menuShown||this.setState({isFocused:e})},this.onRenderTitle=(e,t)=>{if(!e)return null;const{group:r,ariaColSpan:o}=t;if(!r)return null;let i=r.count;if(r.children&&r.children.length>0){i=r.children.length;const e=r.children.find((e=>e.name.includes(Se)));e&&(i--,i+=e.count)}else i=r.count;const a=rn(t.styles,{theme:t.theme,className:t.className,selected:t.isSelected,isCollapsed:t.group.isCollapsed,compact:t.compact});if(this.state.isRenaming)return n.createElement(re.g,{ref:nn,id:"GroupNameInput",type:"AppInputProps",defaultValue:r.name,autoComplete:"off",styles:b(e),onChange:this.onGroupNameChange,errorMessage:this.state.errorMessage,executeOnEnter:!0,executeOnBlur:!0,onExecute:this.onGroupRename,onKeyDown:this.onAppInputKeyDown});const l=((0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")&&this.props.getProperty("isAADDocumentHost")||this.props.getProperty("isPowerQueryEditEnabled"))&&(this.state.isFocused||this.state.isHovered||this.menuShown)&&!this.state.isRenaming;return n.createElement(V.Consumer,null,(t=>n.createElement(ee.B,{grow:1,horizontal:!0,verticalAlign:"center",styles:c(e),onKeyDown:this.onGroupHeaderKeyDown(t)},n.createElement("div",{className:a.title,role:"gridcell","aria-colspan":o,tabIndex:0},n.createElement("span",null,r.name),0!==r.count&&n.createElement("span",{className:a.headerCount},"(",i,")")),l&&n.createElement(X.Consumer,null,(r=>this.getContextMenu(t,r,e))))))},this.onGroupNameChange=e=>{this.setState({errorMessage:we(e,this.props.groupDividerProps?.groups?.map((e=>e.name))??[],this.props.groupDividerProps?.group?.name)})},this.onGroupRename=e=>{!this.state.errorMessage&&e&&this.props.handleGroupOperation(3,{id:this.props.groupDividerProps?.group?.key,name:e}),this.setRenameEnd()},this.setRenameStart=()=>{this.menuShown=!1,this.setState({isRenaming:!0})},this.setRenameEnd=()=>{this.setState({isRenaming:!1,errorMessage:void 0,isFocused:!1,isHovered:!1})},this.onRefreshAll=e=>{const t=this.props.groupDividerProps?.group?.startIndex,r=t+this.props.groupDividerProps?.group?.count;this.props.queries.slice(t,r).forEach((t=>{Ie(t,this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO"))&&e(t?.name)}))},this.shouldDisableRefreshButton=()=>{if(!(0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")||!this.props.getProperty("isAADDocumentHost"))return!0;const e=this.props.groupDividerProps?.group?.startIndex,t=e+this.props.groupDividerProps?.group?.count;return!this.props.queries.slice(e,t).some((e=>Ie(e,this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO"))))},this.onAppInputKeyDown=e=>{e.which===te.c.escape&&(nn.current?.resetState(),this.setRenameEnd(),e.stopPropagation(),e.preventDefault())},this.onGroupHeaderKeyDown=e=>async t=>{this.isCopyEnabled&&t&&(t.ctrlKey||t.metaKey)&&("c"===t.key||"C"===t.key)&&(await this.handleCopyGroupAction(e),t.preventDefault()),this.isPasteEnabled&&t&&(t.ctrlKey||t.metaKey)&&("v"===t.key||"V"===t.key)&&(await this.handlePasteGroupAction(e),t.preventDefault())},this.getDeleteGroupOption=(e,t,r)=>Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DeleteGroupOption),"DeleteGroupButton-"+this.props.groupDividerProps?.group?.key,this.getGroupOperationFunction(2,e),D().Delete_20,r,t),this.state={isHovered:!1,isFocused:!1,isRenaming:!1,errorMessage:void 0,isPasteEnabled:!1},this.setRenameStart=this.setRenameStart.bind(this),this.onRenderTitle=this.onRenderTitle.bind(this),this.onGroupRename=this.onGroupRename.bind(this),this.props.defaultRender?.bind(this)}}on.contextType=Lt.B;let an=!1,sn=0;let ln,un=!1;var cn=r(9106),dn=r(12232),pn=r(70972),hn=r(61027);let gn,mn;class fn extends n.Component{componentDidUpdate(e){this.isFirstRender&&(this.isFirstRender=!1),(0,s.isChangeGateEnabled)("OfficeVSO:8680670_SetSelectedQueryOnComponentUpdate")&&this.selection.setItems(this.props.queries,!1),e.selectedQueryKey!==this.props.selectedQueryKey&&this.state.selectedQueryKey!==this.props.selectedQueryKey&&this.props.selectedQueryKey&&((0,s.isChangeGateEnabled)("OfficeVSO:8680670_SetSelectedQueryOnComponentUpdate")?(this.selection.setKeySelected(this.props.selectedQueryKey,!0,!0),this.setState({selectedQueryKey:this.props.selectedQueryKey}),this.list.current?.forceUpdate()):(this.selection.setKeySelected(this.props.selectedQueryKey,!1,!0),this.setState({selectedQueryKey:this.props.selectedQueryKey}))),(0,s.isChangeGateEnabled)("OfficeVSO:8680670_SetSelectedQueryOnComponentUpdate")||this.selection.setItems(this.props.queries,!1)}render(){return this.paneDataUpdate=this.context.bind(this),this.dragAndDropEnabled?n.createElement(o.Consumer,null,(e=>n.createElement(n.Suspense,{fallback:()=>((0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.LK)("ReactDND.Load.Fallback",!0)],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)}),this.getQueriesListJSX(e))},n.createElement(gn,{onRenderComponent:()=>this.getQueriesListJSX(e)})))):this.getQueriesListJSX(null)}getQueriesListJSX(e){this.paneData=e;const t=this.props.searchValueExists?this.filterGroups(this.props.groups):this.props.groups;return n.createElement("div",{"data-testid":"QueriesList",style:P},n.createElement(hr.Z,{selection:this.selection,selectionMode:pr.Qc.single},n.createElement(B.V,null,(e=>n.createElement(Zr,{componentRef:this.list,items:this.props.queries,onRenderCell:this.onRenderListItem,selectionMode:pr.Qc.single,focusZoneProps:{isCircularNavigation:!1,preventDefaultWhenHandled:!1,direction:$r.E.vertical,componentRef:this.focusZone},groups:t,groupProps:this.groupProps(e),compact:!0,selection:this.selection,onShouldVirtualize:this.onShouldVirtualize})))))}moveQueryOneLevel(e){const t=this.selection.getSelectedIndices();if(1!==t.length)return;const r=t[0],n=this.props.queries[r],o=Oe(n.groupKey,[this.props.groups],e);void 0!==o&&(this.paneDataUpdate({draggedQueryName:n.name,groupKey:o,hoveredQueryName:void 0,searchValue:this.paneData?.searchValue,draggedInitialIndex:this.isKeyboardDragging?this.paneData?.draggedInitialIndex:r}),this.isKeyboardDragging||(this.isKeyboardDragging=!0))}moveQueryOneStep(e){const t=this.selection.getSelectedIndices();if(1!==t.length)return;const r=t[0],n=this.props.queries[r],o=((e,t,r)=>{const n=r===Ae.Up?e-1:e+1;if(!(n<0||n>=t))return n})(r,this.props.queries.length,e),i=void 0!==o?this.props.queries[o]:void 0;if(i&&i.groupKey===n.groupKey)this.paneDataUpdate({draggedQueryName:n.name,groupKey:void 0,hoveredQueryName:i.name,searchValue:this.paneData?.searchValue});else{const t=Oe(n.groupKey,[this.props.groups],e);if(void 0===t)return;this.paneDataUpdate({draggedQueryName:n.name,groupKey:t,hoveredQueryName:void 0,searchValue:this.paneData?.searchValue,draggedInitialIndex:this.isKeyboardDragging?this.paneData?.draggedInitialIndex:r})}this.isKeyboardDragging||(this.isKeyboardDragging=!0)}commitOrCancelDragState(e){if(this.isKeyboardDragging=!1,e)if(this.paneData?.draggedQueryName&&null!=this.paneData?.groupKey){const e={name:this.paneData?.draggedQueryName,extraData:""===this.paneData.groupKey?Ce:this.paneData.groupKey};this.props.callbacks.handleQueryAction(0,e)}else this.paneData?.draggedQueryName&&this.paneData?.hoveredQueryName&&this.shouldCallReorderAction()&&this.props.callbacks.handleQueryAction(3,{name:this.paneData?.draggedQueryName,extraData:this.paneData?.hoveredQueryName});else this.props.callbacks.onCancelKeyboardReorder();this.paneDataUpdate({draggedQueryName:void 0,groupKey:void 0,hoveredQueryName:void 0,searchValue:this.paneData?.searchValue}),_.Hv.sendTraceTag(509658316,N.n.msoulscat_ES_EWAJS,O.k.Info,"QueriesList.commitOrCancelDragState: User exit the dragging state with commit:"+e)}getRenderGroupSectionFunction(e){return(t,r)=>t?.group?.name&&-1!==t?.group?.name.search(Se)?n.createElement(n.Fragment,null," "):t?.group?.key&&this.props.getProperty("isPowerQueryEditEnabled")?this.dragAndDropEnabled&&mn?n.createElement(n.Suspense,{fallback:()=>((0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.LK)("ReactDND.Group.Fallback",!0)],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)}),this.getGroupHeaderElement(t,r))},n.createElement(mn,{id:t?.group?.key,type:"group",moveQueryCallback:this.async.debounce(this.moveQueryToGroup,5)},this.getGroupHeaderElement(t,r))):this.getGroupHeaderElement(t,r):r({...t,selectionMode:pr.Qc.none,indentWidth:16,styles:v(e,t?.groupLevel)})}toggleCollapseAll(e){this.list.current?.toggleCollapseAll(e)}setQuerySelected(e){0!==e.fillObjectType&&2!==e.fillObjectType&&3!==e.fillObjectType||this.props.onQueySelected(e.name),this.selection.isKeySelected(e.name)||(this.isKeyboardDragging&&this.commitOrCancelDragState(!1),this.selection.setKeySelected(e.name,!0,!0),this.list.current?.forceUpdate(),this.setState({selectedQueryKey:e.name}))}unselectQuery(){if(0===this.selection.getSelectedCount())return;const e=this.props.queries[this.selection.getSelectedIndices()[0]];this.isKeyboardDragging&&this.commitOrCancelDragState(!1),this.selection.setKeySelected(e.name,!1,!1),this.setState({selectedQueryKey:""}),this.list.current?.forceUpdate()}constructor(e){super(e),this.list=n.createRef(),this.selectedQuery=n.createRef(),this.focusZone=n.createRef(),this.async=new cr.j,this.paneData=null,this.paneDataUpdate=e=>{},this.dragAndDropEnabled=this.props.getProperty("isPowerQueryEditEnabled"),this.isFirstRender=!1,this.isKeyboardDragging=!1,this.onShouldVirtualize=()=>!this.dragAndDropEnabled||!this.isFirstRender,this.filterGroups=e=>{e?.forEach((e=>e.children=e.children&&0!==e.children.length?this.filterGroups(e.children):e.children));const t=e?.filter((e=>0!==e.count));return t},this.moveQuery=(e,t,r)=>{let n;this.paneData?.draggedQueryName||(n=this.props.queries.findIndex((t=>t.name===e)));const o=this.props.queries?.find((e=>e.name===t));let i=o.groupKey;if(i.startsWith(Se)&&(i=i.replace(Se,"")),r){if(this.paneData?.draggedQueryName===this.paneData?.hoveredQueryName&&this.paneData?.groupKey){const t={name:e,extraData:this.paneData.groupKey};this.props.callbacks.handleQueryAction(0,t)}else this.paneData?.draggedQueryName!==this.paneData?.hoveredQueryName&&this.shouldCallReorderAction()&&this.props.callbacks.handleQueryAction(3,{name:this.paneData?.draggedQueryName,extraData:this.paneData?.hoveredQueryName});this.paneDataUpdate({draggedQueryName:void 0,groupKey:void 0,hoveredQueryName:void 0,searchValue:this.paneData?.searchValue,draggedInitialIndex:this.isKeyboardDragging?this.paneData?.draggedInitialIndex:n})}else this.paneDataUpdate({draggedQueryName:e,groupKey:i,hoveredQueryName:t,searchValue:this.paneData?.searchValue,draggedInitialIndex:this.isKeyboardDragging?this.paneData?.draggedInitialIndex:n})},this.shouldCallReorderAction=()=>this.props.queries.findIndex((e=>e.name===this.paneData?.draggedQueryName))!==this.paneData?.draggedInitialIndex,this.moveQueryToGroup=(e,t,r)=>{let n=t;if(t.startsWith(Se)&&(n=t.replace(Se,"")),r){const r={name:e,extraData:t};return this.props.callbacks.handleQueryAction(0,r),void this.onClearDragDropPreview()}this.paneDataUpdate({draggedQueryName:e,groupKey:n,hoveredQueryName:void 0,searchValue:this.paneData?.searchValue})},this.onClearDragDropPreview=()=>{this.paneDataUpdate({draggedQueryName:void 0,groupKey:void 0,hoveredQueryName:void 0,searchValue:this.paneData?.searchValue})},this.onRenderListItem=(e,t,r)=>{if(void 0!==t)return this.dragAndDropEnabled&&mn?n.createElement(n.Suspense,{fallback:()=>((0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.LK)("ReactDND.Query.Fallback",!0)],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)}),this.getQueryContainerElement(t,r))},n.createElement(mn,{id:t.name,type:"query",index:void 0!==r?r:0,moveQueryCallback:this.async.debounce(this.moveQuery,5),draggable:t.name!==this.state.renamingQueryKey,onClearDragDropPreview:this.onClearDragDropPreview},this.getQueryContainerElement(t,r))):this.getQueryContainerElement(t,r)},this.onRenameStartedOrEndForQuery=e=>{this.setState({renamingQueryKey:e}),this.list.current?.forceUpdate()},this.getQueryContainer=(e,t,r)=>{const o=this.props.groups&&0!==this.props.groups.length,i=e?{forwardRef:this.selectedQuery,focusSelected:this.focusSelectedElementOnUpdate}:{};return n.createElement(ur,{query:t,id:void 0!==r?r+1:0,nestingDepth:t.nestingDepth,onQueryRefresh:this.props.onQueryRefresh,onQuerySelected:this.setQuerySelected,selected:e,shouldShowMoveQueryButton:o,queries:this.props.queries,onRenameStartedOrEnd:this.onRenameStartedOrEndForQuery,...i,getProperty:this.props.getProperty})},this.getQueryContainerElement=(e,t)=>{const r=ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryAriaLabel).replace("{0}",(t+1).toString()).replace("{1}",this.props.queries.length.toString()),o=this.selection.isKeySelected(e.name);return n.createElement("div",{"aria-label":r,style:{opacity:this.isKeyboardDragging&&this.paneData?.draggedQueryName===e.name?"0.4":"unset"},onKeyDown:e=>{o&&this.onQueryKeydown(e)}},this.getQueryContainer(o,e,t))},this.focusSelectedElementOnUpdate=e=>{(this.isKeyboardDragging||e)&&this.focusZone.current?.focusElement(this.selectedQuery.current)},this.getGroupHeaderElement=(e,t)=>n.createElement(z.M,{disableTooltip:!this.props.getProperty("isTooltipEnabled")},n.createElement(on,{groupDividerProps:e,defaultRender:t,handleGroupOperation:this.props.handleGroupOperation,queries:this.props.queries,getProperty:this.props.getProperty})),this.groupProps=e=>({onRenderHeader:this.getRenderGroupSectionFunction(e),showEmptyGroups:!0}),this.onQueryKeydown=e=>{if(this.dragAndDropEnabled)if(e.repeat)e.stopPropagation();else if(e.shiftKey&&Ne(e)){let t=!0;switch(e.key){case"ArrowUp":this.moveQueryOneStep(Ae.Up);break;case"ArrowDown":this.moveQueryOneStep(Ae.Down);break;case"ArrowLeft":this.moveQueryOneLevel(Ae.Left);break;case"ArrowRight":this.moveQueryOneLevel(Ae.Right);break;default:t=!1}t&&e.stopPropagation()}else!this.isKeyboardDragging||e.shiftKey||Ne(e)?"ArrowUp"!==e.key&&"ArrowDown"!==e.key||this.unselectQuery():(this.commitOrCancelDragState("Enter"===e.key),e.stopPropagation())},this.onRenderListItem=this.onRenderListItem.bind(this),this.setQuerySelected=this.setQuerySelected.bind(this),this.selection=new dr.L({items:this.props.queries,selectionMode:pr.Qc.single}),this.selection.isRangeSelected=()=>!1,this.state={selectedQueryKey:"",renamingQueryKey:""},this.dragAndDropEnabled&&(gn=n.lazy((()=>{return e=()=>{Promise.resolve().then(r.bind(r,94295)).then((e=>{mn=e.default})).catch((e=>{_.Hv.sendTraceTag(509872344,N.n.msoulscat_ES_EWAJS,O.k.Error,"QueriesList.ctor: cannot load draggableItem after loading react dnd, error:"+e),(0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.LK)("ReactDND.Load.Failed",!0)],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)})}))},un?new Promise(((t,r)=>{t(ln),e&&e()})):!(0,ne.lT)()&&(an||0===sn)&&sn<5?function(e){return sn++,new Promise(((t,n)=>{Promise.resolve().then(r.bind(r,74611)).then((r=>{t(r),un=!0,ln=r,e&&e()})).catch((e=>{an=!0,n(e)}))}))}(e):new Promise(((e,t)=>{t("Failed to load reactdnd js after 5 retries on same session")}));var e})))}}fn.contextType=i;var vn=r(24778),bn=r(54752),yn=r(82015),Sn=r(70105),Cn={root:"ms-CardItem"},Tn={padding:0},kn={margin:0},Fn=(0,vn.a)((function(e){var t=(0,bn.Sk)(e,{root:ee.B.Item});return(0,bn.WL)(t.root,(0,fr.Cl)({},e))}),{displayName:"CardItem",styles:function(e,t,r){var n=(0,l.Km)(Cn,t);return{root:[t.fonts.large,n.root,{margin:r.margin,padding:r.padding}]}},tokens:function(e,t){return[Tn,e.fill&&kn]}}),En={root:"ms-CardSection"},An={padding:0},In={margin:0},xn=(0,vn.a)((function(e){var t=e.children,r=(0,fr.Tt)(e,["children"]);if(n.Children.count(t)<1)return null;var o=(0,bn.Sk)(e,{root:ee.B});return(0,bn.WL)(o.root,(0,fr.Cl)({},r),t)}),{displayName:"CardSection",styles:function(e,t,r){var n=(0,l.Km)(En,t);return{root:[t.fonts.large,n.root,{margin:r.margin,padding:r.padding}]}},tokens:function(e,t){return[An,e.fill&&In]}});function wn(e){return!!e&&"object"==typeof e&&!!e.type}var Pn={root:"ms-Card"},Rn=function(e,t){return{boxShadow:t.effects.elevation4,childrenGap:12,childrenMargin:0,cursor:"default",height:"inherit",highContrastBoxShadow:"0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight",minHeight:"348px",minWidth:"212px",maxWidth:"286px"}},Dn={height:"auto",minWidth:"300px",maxWidth:"500px"},_n=function(e,t){var r=t.effects;return{borderFocused:"1px solid black",boxShadowFocused:r.elevation8,boxShadowHovered:r.elevation8,cursor:"pointer",highContrastBoxShadowHovered:"0 3.2px 7.2px 0 Highlight, 0 0.6px 1.8px 0 Highlight"}},Nn={Item:Fn,Section:xn},On=(0,vn.a)((function(e){var t=(0,bn.Sk)(e,{root:ee.B}),r=e.children,o=(e.styles,e.tokens),i=e.horizontal,a=e.onClick,s=e.onKeyDown,l=(0,fr.Tt)(e,["children","styles","tokens","horizontal","onClick","onKeyDown"]),u=(0,yn.G1)(l,yn.vt),c=o&&o.childrenGap,d=o&&o.childrenMargin,p=n.Children.count(r),h=n.Children.map(r,(function(e,t){if(!e)return null;var r,o=wn(r=e)&&r.type.displayName===Fn.displayName,a=function(e){return wn(e)&&e.type.displayName===xn.displayName}(e);if(o||a){if(!c&&!d)return e;var s=e.props,l=s.fill,u=s.tokens,h=(0,fr.Tt)(s,["fill","tokens"]),g=0;if(d&&!l){var m=0===t?d:0,f=t===p-1?d:0;g=i?d+"px "+f+"px "+d+"px "+m+"px":m+"px "+d+"px "+f+"px"}var v=(0,fr.Cl)({margin:g,childrenGap:a?c:void 0},u);return n.cloneElement(e,(0,fr.Cl)({tokens:v},h))}return(0,Sn.R)("The children of a Card component should be of type CardItem or CardSection."),e}));return(0,bn.WL)(t.root,(0,fr.Cl)({onClick:a,onKeyDown:function(e){s?s(e):a&&e&&(e.which===te.c.enter||e.which===te.c.space)&&(a(),e.preventDefault())},role:a?"button":"presentation",tabIndex:a?0:-1},u,{horizontal:i,horizontalAlign:i?"start":"stretch",tokens:o,verticalAlign:"start",verticalFill:!0}),h)}),{displayName:"Card",styles:function(e,t,r){var n,o,i;return{root:[(0,l.Km)(Pn,t).root,{borderRadius:"2px",boxShadow:r.boxShadow,cursor:r.cursor,height:r.height,maxWidth:r.maxWidth,minWidth:r.minWidth,outline:"none",transition:"box-shadow 0.5s ease",width:r.width,selectors:(n={":focus":{border:r.borderFocused,boxShadow:r.boxShadowFocused,selectors:(o={},o[l.up]={boxShadow:r.highContrastBoxShadowFocused},o)},":hover":{boxShadow:r.boxShadowHovered,selectors:(i={},i[l.up]={boxShadow:r.highContrastBoxShadowHovered},i)}},n[l.up]={boxShadow:r.highContrastBoxShadow},n)}]}},tokens:function(e,t){return[Rn,e.horizontal&&Dn,e.onClick&&_n]},statics:Nn});const Mn=(e,t)=>t?(0,l.TW)(Bn(e),Wn(e)):Bn(e),Bn=e=>({root:{height:"50px",padding:"2px 0px 2px 3px",margin:"3px 8px 3px 8px",boxShadow:"none",background:"none",maxWidth:"inherit",selectors:{":hover":[{backgroundColor:e.semanticColors?.listItemBackgroundHovered},g.s0],":focus":[{backgroundColor:e.semanticColors?.listItemBackgroundChecked},g.s0],":focus:hover":[{backgroundColor:e.semanticColors?.listItemBackgroundCheckedHovered},g.s0],":active":[{backgroundColor:e.semanticColors?.listItemBackgroundChecked},g.s0]}}}),Ln=(0,m.J9)(((e,t)=>({root:[{float:"left",padding:"0",width:"97%",minWidth:"0",flex:"1"}],label:[e&&{height:"26px",whiteSpace:"nowrap",fontWeight:"600",overflow:"hidden",textOverflow:"ellipsis",marginLeft:"5px",padding:"0px 0px 2px 0px",position:"relative"},!e&&{whiteSpace:"nowrap",fontWeight:"normal",overflow:"hidden",textOverflow:"ellipsis",marginTop:"0px",marginLeft:"7px",padding:"0px 0px 0px 0px",fontSize:"12px"},{selectors:{[l.up]:{color:t?"HighlightText":"inherit"}}}]}))),Kn=(0,m.J9)((()=>({root:{flex:1,minWidth:0}}))),Wn=e=>({root:{border:"none",backgroundColor:e.semanticColors?.listItemBackgroundChecked,commonHighContrastHoverFocusStyles:g.s0}});function Hn(e){return{root:{backgroundColor:"transparent",height:"20px",padding:"1px",border:"0px",borderColor:"transparent",width:"20px"},rootDisabled:{backgroundColor:"transparent",height:"20px",padding:"1px",border:"0px",borderColor:"transparent",width:"20px"},rootHovered:{backgroundColor:e?.semanticColors?.buttonBackgroundHovered,height:"20px",padding:"1px",border:"0px",borderColor:"transparent",width:"20px"},rootPressed:{backgroundColor:e?.semanticColors?.buttonBackgroundHovered,height:"20px",padding:"1px",border:"0px",borderColor:"transparent",width:"20px"}}}const Gn={height:"20px",width:"20px"},zn=e=>{const{styles:t,partialTheme:r,...o}=e,i=(e=>{const{borderRadius:t,buttonBorderLine:r}=(0,n.useContext)(Qe.e);return{root:{borderRadius:t,selectors:{":focus":[{border:`${r} solid ${e.semanticColors?.focusBorder}`}]}}}})(r);return n.createElement(On,{...o,styles:(0,l.TW)(e.styles,i)})};class Un extends n.Component{onHover(){this.menuShown||this.setState({isFocused:!1,isSelected:!1,isHovered:!0})}onNotHover(){this.menuShown||this.setState({isFocused:!1,isSelected:!1,isHovered:!1})}onFocus(){this.menuShown||this.setState({isFocused:!0,isSelected:!0,isHovered:!1})}onBlur(){this.menuShown||this.setState({isFocused:!1,isSelected:!1,isHovered:!1})}onCardSectionKeyDown(e){this.state.isContextMenuSectionFocused||!e||e.keyCode!==te.c.enter&&e.which!==te.c.space||(this.card.current?.click(),e.preventDefault())}componentDidMount(){if(1===this.props.id){const e=document.getElementById("PowerQueryConnectionContainerId-"+this.props.id);e&&e.focus()}}componentDidUpdate(e){if(this.state?.isFocused){const e=document.getElementById("PowerQueryConnectionContainerId-"+this.props.id);e&&e.focus()}}onRenderTitle(){return n.createElement(M.w,{type:"AppLabelProps",id:"ConnectionName-"+this.props.id,forId:"ConnectionName-"+this.props.id,label:this.props.connection.name,styles:Ln(!0,this.state?.isHovered),customTooltip:this.props.connection.name})}render(){const e=this.isContextMenuShown();return n.createElement(B.V,null,(t=>n.createElement(V.Consumer,null,(r=>n.createElement("div",{ref:this.card},n.createElement(zn,{id:"PowerQueryConnectionContainerId-"+this.props.id,horizontal:!1,styles:Mn(t,this.state?.isSelected),"data-is-focusable":!0,onFocus:this.onFocus,onBlur:this.onBlur,onMouseOver:this.onHover,onMouseLeave:this.onNotHover,onKeyDown:this.onCardSectionKeyDown,onClick:this.onFocus,partialTheme:t},n.createElement(On.Section,{horizontal:!0},n.createElement(On.Section,null,this.props.connection.inRefresh?n.createElement(G.V,{type:"AppSpinnerProps",id:"ConnectionRefreshSpinner"+this.props.id,spinnerSize:H.H.medium,appColors:K(),styles:{circle:[{borderBottomColor:t.palette?.neutralQuaternary,borderLeftColor:t.palette?.neutralQuaternary,borderRightColor:t.palette?.neutralQuaternary,borderTopColor:t.palette?.black}]}}):n.createElement(h.I,{style:Gn,iconName:D().Table_20})),n.createElement(On.Section,{horizontal:!1,styles:Kn},n.createElement(On.Section,{horizontal:!0},n.createElement(z.M,{disableTooltip:!this.props.getProperty("isTooltipEnabled")},this.onRenderTitle()),e&&n.createElement(Z.R,{onFocus:()=>this.setIsContextMenuSectionFocused(!0),onBlur:()=>this.setIsContextMenuSectionFocused(!1)},this.getContextMenu(r,t))),n.createElement(On.Section,{horizontal:!1},n.createElement(M.w,{type:"AppLabelProps",id:"ConnectionDescription-"+this.props.id,forId:"ConnectionDescription-"+this.props.id,label:this.props.connection.description,styles:Ln(!1,this.state?.isHovered)}))))))))))}constructor(e){super(e),this.card=n.createRef(),this.menuShown=!1,this.paneLayoutUpdate=e=>{},this.isContextMenuShown=()=>this.props.getProperty("isPowerQueryTaskPaneConnectionActionsEnabled")&&(this.state?.isFocused||this.state?.isHovered||this.menuShown),this.shouldDisableRefreshButton=()=>this.props.connection.loadedToDataModel||!this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO")&&1===this.props.connection.fillObjectType||!this.props.connection.refreshEnabled||this.props.connection.inRefresh,this.setIsContextMenuSectionFocused=e=>{this.setState({isContextMenuSectionFocused:e})},this.onMenuShowHide=e=>{this.menuShown=e,this.setState({isFocused:!1,isHovered:!1})},this.onRefresh=()=>{this.props.onLegacyConnectionRefresh(this.props.connection.name)},this.onCancelRefresh=e=>{e.onLegacyConnectionCancelRefresh(this.props.connection.name)},this.onConnectionDelete=e=>{e.onLegacyConnectionDelete(this.props.connection.name)},this.getRefreshOrCancelButton=(e,t)=>{if(this.props.connection.inRefresh&&(0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")){const{styles:r,...o}=Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Cancel),"ExternalCancelRefreshButton-",(()=>this.onCancelRefresh(t)),Ge.closeIcon,!1,e);return n.createElement(Ze,{...o,hideLabel:!0,styles:(0,l.TW)(r,Hn(e),c(e))})}const{styles:r,...o}=Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Refresh),"ExternalRefreshButton-",this.onRefresh,D().RefreshConnection_20,this.shouldDisableRefreshButton(),e);return n.createElement(Ze,{...o,hideLabel:!0,styles:(0,l.TW)(r,Hn(e),c(e))})},this.getMenuDefinition=(e,t)=>{const r={sections:[{controls:[]}]},n=r.sections[0].controls;return n.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Refresh),"ConnectionRefreshButton-",this.onRefresh,D().RefreshConnection_20,this.shouldDisableRefreshButton(),t)),n.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.DeleteQueryOption),"ConnectionDeleteButton-",(()=>this.onConnectionDelete(e)),D().Delete_20,this.props.connection.inRefresh,t)),r},this.getContextMenu=(e,t)=>n.createElement(nr,{id:"Connection-"+this.props.id.toString(),onMenuShowHide:this.onMenuShowHide,getRefreshOrCancelButton:()=>this.getRefreshOrCancelButton(t,e),menuDefinition:this.getMenuDefinition(e,t),shouldRenderOtherOptions:!0,styles:c(t),getProperty:this.props.getProperty}),this.onHover=this.onHover.bind(this),this.onNotHover=this.onNotHover.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.onCardSectionKeyDown=this.onCardSectionKeyDown.bind(this),this.onRenderTitle=this.onRenderTitle.bind(this),this.isContextMenuShown=this.isContextMenuShown.bind(this),this.shouldDisableRefreshButton=this.shouldDisableRefreshButton.bind(this),this.setIsContextMenuSectionFocused=this.setIsContextMenuSectionFocused.bind(this),this.onMenuShowHide=this.onMenuShowHide.bind(this),this.onRefresh=this.onRefresh.bind(this),this.onCancelRefresh=this.onCancelRefresh.bind(this),this.onConnectionDelete=this.onConnectionDelete.bind(this),this.setState({isHovered:!1,isFocused:!1,isSelected:!1,isContextMenuSectionFocused:!1})}}Un.contextType=V;class Vn extends n.Component{render(){return n.createElement(Zr,{role:"list",items:this.props.connections,onRenderCell:this.onRenderListItem,selection:this.selection,compact:!0,focusZoneProps:{isCircularNavigation:!1,preventDefaultWhenHandled:!1,direction:$r.E.vertical,componentRef:this.focusZone}})}componentDidUpdate(e){const[t]=this.selection.getSelection();this.selection.setItems(this.props.connections,!1),t?this.selection.setKeySelected(t.key,!0,!0):e.connections&&0!==e.connections.length||this.selection.setIndexSelected(0,!0,!0)}constructor(e){super(e),this.focusZone=n.createRef(),this.onRenderListItem=(e,t,r)=>{if(void 0===t)return;const o=(r??0)+1,i=ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ConnectionAriaLabel).replace("{0}",o.toString()).replace("{1}",this.props.connections.length.toString());return n.createElement("div",{"aria-label":i},n.createElement(Un,{connection:t,id:o,onLegacyConnectionRefresh:this.props.onLegacyConnectionRefresh,onLegacyConnectionCancelRefresh:this.props.onLegacyConnectionCancelRefresh,onLegacyConnectionDelete:this.props.onLegacyConnectionDelete,getProperty:this.props.getProperty}))},this.onRenderListItem=this.onRenderListItem.bind(this),this.selection=new dr.L({items:this.props.connections,selectionMode:pr.Qc.single})}}var jn=r(96746),qn=function(e){function t(t){var r=e.call(this,t)||this;return(0,br.f)(r),(0,jn.A)("PivotItem",t,{linkText:"headerText"}),r}return(0,fr.C6)(t,e),t.prototype.render=function(){return n.createElement("div",(0,fr.Cl)({},(0,yn.G1)(this.props,yn.JM)),this.props.children)},t}(n.Component),$n=r(30838),Qn=r(93643),Xn=r(93662),Yn=r(92467),Jn=r(80837),Zn=r(12215),eo=(0,vr.Z)(),to=function(e,t){var r={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return n.Children.forEach(n.Children.toArray(e.children),(function(n,o){if(ro(n)){var i=n.props,a=i.linkText,s=(0,fr.Tt)(i,["linkText"]),l=n.props.itemKey||o.toString();r.links.push((0,fr.Cl)((0,fr.Cl)({headerText:a},s),{itemKey:l})),r.keyToIndexMapping[l]=o,r.keyToTabIdMapping[l]=function(e,t,r,n){return e.getTabId?e.getTabId(r,n):t+"-Tab".concat(n)}(e,t,l,o)}else n&&(0,Sn.R)("The children of a Pivot component must be of type PivotItem to be rendered.")})),r},ro=function(e){var t;return n.isValidElement(e)&&(null===(t=e.type)||void 0===t?void 0:t.name)===qn.name},no=n.forwardRef((function(e,t){var r,o=n.useRef(null),i=n.useRef(null),a=(0,$n.B)("Pivot"),s=(0,Qn.k)(e.selectedKey,e.defaultSelectedKey),l=s[0],u=s[1],c=e.componentRef,d=e.theme,p=e.linkSize,g=e.linkFormat,m=e.overflowBehavior,f=e.overflowAriaLabel,v=e.focusZoneProps,b=e.overflowButtonAs,y={"aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]},S=(0,yn.G1)(e,yn.JM,["aria-label","aria-labelledby"]),C=to(e,a);n.useImperativeHandle(c,(function(){return{focus:function(){var e;null===(e=o.current)||void 0===e||e.focus()}}}));var T=function(e){if(!e)return null;var t=e.itemCount,o=e.itemIcon,i=e.headerText;return n.createElement("span",{className:r.linkContent},void 0!==o&&n.createElement("span",{className:r.icon},n.createElement(h.I,{iconName:o})),void 0!==i&&n.createElement("span",{className:r.text}," ",e.headerText),void 0!==t&&n.createElement("span",{className:r.count}," (",t,")"))},k=function(e,t,o,i){var a,s=t.itemKey,l=t.headerButtonProps,u=t.onRenderItemLink,c=e.keyToTabIdMapping[s],d=o===s;a=u?u(t,T):T(t);var p=t.headerText||"";p+=t.itemCount?" ("+t.itemCount+")":"",p+=t.itemIcon?" xx":"";var h=t.role&&"tab"!==t.role?{role:t.role}:{role:"tab","aria-selected":d};return n.createElement(Xn.c,(0,fr.Cl)({},l,h,{id:c,key:s,className:(0,yr.A)(i,d&&r.linkIsSelected),onClick:function(e){return F(s,e)},onKeyDown:function(e){return E(s,e)},"aria-label":t.ariaLabel,name:t.headerText,keytipProps:t.keytipProps,"data-content":p}),a)},F=function(e,t){t.preventDefault(),A(e,t)},E=function(e,t){t.which===te.c.enter&&(t.preventDefault(),A(e))},A=function(t,r){var o;if(u(t),C=to(e,a),e.onLinkClick&&C.keyToIndexMapping[t]>=0){var s=C.keyToIndexMapping[t],l=n.Children.toArray(e.children)[s];ro(l)&&e.onLinkClick(l,r)}null===(o=i.current)||void 0===o||o.dismissMenu()};r=eo(e.styles,{theme:d,linkSize:p,linkFormat:g});var I,x=null===(I=l)||void 0!==I&&void 0!==C.keyToIndexMapping[I]?l:C.links.length?C.links[0].itemKey:void 0,w=x?C.keyToIndexMapping[x]:0,P=C.links.map((function(e){return k(C,e,x,r.link)})),R=n.useMemo((function(){return{items:[],alignTargetEdge:!0,directionalHint:tt.A.bottomRightEdge}}),[]),D=function(e){var t=e.onOverflowItemsChanged,r=e.rtl,o=e.pinnedIndex,i=n.useRef(),a=n.useRef(),s=(0,Yn.E)((function(e){var t=function(e,t){if("undefined"!=typeof ResizeObserver){var r=new ResizeObserver(t);return Array.isArray(e)?e.forEach((function(e){return r.observe(e)})):r.observe(e),function(){return r.disconnect()}}var n=function(){return t(void 0)},o=(0,Zn.z)(Array.isArray(e)?e[0]:e);if(!o)return function(){};var i=o.requestAnimationFrame(n);return o.addEventListener("resize",n,!1),function(){o.cancelAnimationFrame(i),o.removeEventListener("resize",n,!1)}}(e,(function(t){a.current=t?t[0].contentRect.width:e.clientWidth,i.current&&i.current()}));return function(){t(),a.current=void 0}})),l=(0,Yn.E)((function(e){return s(e.parentElement),function(){return s(null)}}));return(0,Jn.E)((function(){var e=s.current,n=l.current;if(e&&n){for(var u=[],c=0;c<e.children.length;c++){var d=e.children[c];d instanceof HTMLElement&&d!==n&&u.push(d)}var p=[],h=0;i.current=function(){var e=a.current;if(void 0!==e){for(var t=u.length-1;t>=0;t--){if(void 0===p[t]){var i=r?e-u[t].offsetLeft:u[t].offsetLeft+u[t].offsetWidth;t+1<u.length&&t+1===o&&(h=p[t+1]-i),t===u.length-2&&(h+=n.offsetWidth),p[t]=i+h}if(e>p[t])return void m(t+1)}m(0)}};var g=u.length,m=function(e){g!==e&&(g=e,t(e,u.map((function(t,r){return{ele:t,isOverflowing:r>=e&&r!==o}}))))},f=void 0;if(void 0!==a.current){var v=(0,Zn.z)(e);if(v){var b=v.requestAnimationFrame(i.current);f=function(){return v.cancelAnimationFrame(b)}}}return function(){f&&f(),m(u.length),i.current=void 0}}})),{menuButtonRef:l}}({onOverflowItemsChanged:function(e,t){t.forEach((function(e){var t=e.ele,r=e.isOverflowing;return t.dataset.isOverflowing="".concat(r)})),R.items=C.links.slice(e).filter((function(e){return e.itemKey!==x})).map((function(t,n){return t.role="menuitem",{key:t.itemKey||"".concat(e+n),onRender:function(){return k(C,t,x,r.linkInMenu)}}}))},rtl:(0,$t.jI)(d),pinnedIndex:w}).menuButtonRef,_=b||Xn.c;return n.createElement("div",(0,fr.Cl)({ref:t},S),n.createElement(Z.R,(0,fr.Cl)({componentRef:o,role:"tablist"},y,{direction:$r.E.horizontal},v,{className:(0,yr.A)(r.root,null==v?void 0:v.className)}),P,"menu"===m&&n.createElement(_,{className:(0,yr.A)(r.link,r.overflowMenuButton),elementRef:D,componentRef:i,menuProps:R,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:f,role:"tab"})),x&&C.links.map((function(t){return(!0===t.alwaysRender||x===t.itemKey)&&function(t,o){if(e.headersOnly||!t)return null;var i=C.keyToIndexMapping[t],a=C.keyToTabIdMapping[t];return n.createElement("div",{role:"tabpanel",hidden:!o,key:t,"aria-hidden":!o,"aria-labelledby":a,className:r.itemContainer},n.Children.toArray(e.children)[i])}(t.itemKey,x===t.itemKey)})))}));no.displayName="Pivot";var oo={count:"ms-Pivot-count",icon:"ms-Pivot-icon",linkIsSelected:"is-selected",link:"ms-Pivot-link",linkContent:"ms-Pivot-linkContent",root:"ms-Pivot",rootIsLarge:"ms-Pivot--large",rootIsTabs:"ms-Pivot--tabs",text:"ms-Pivot-text",linkInMenu:"ms-Pivot-linkInMenu",overflowMenuButton:"ms-Pivot-overflowMenuButton"},io=function(e,t,r){var n,o,i;void 0===r&&(r=!1);var a=e.linkSize,s=e.linkFormat,u=e.theme,c=u.semanticColors,d=u.fonts,p="large"===a,h="tabs"===s;return[d.medium,{color:c.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:c.buttonBackgroundHovered,color:c.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:c.buttonBackgroundPressed,color:c.buttonTextHovered},":focus":{outline:"none"}}},!r&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(n={},n[".".concat(f.Y2," &:focus, :host(.").concat(f.Y2,") &:focus")]={outline:"1px solid ".concat(c.focusBorder)},n[".".concat(f.Y2," &:focus:after, :host(.").concat(f.Y2,") &:focus:after")]={content:"attr(data-content)",position:"relative",border:0},n[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left ".concat(l.cs.durationValue2," ").concat(l.cs.easeFunction2,",\n right ").concat(l.cs.durationValue2," ").concat(l.cs.easeFunction2)},n[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:l.BO.bold,height:1,overflow:"hidden",visibility:"hidden"},n)},p&&{fontSize:d.large.fontSize},h&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:c.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(o={":focus":{outlineOffset:"-2px"}},o[".".concat(f.Y2," &:focus::before, :host(.").concat(f.Y2,") &:focus::before")]={height:"auto",background:"transparent",transition:"none"},o["&:hover, &:focus"]={color:c.buttonTextCheckedHovered},o["&:active, &:hover"]={color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground},o["&.".concat(t.linkIsSelected)]={backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:l.BO.regular,selectors:(i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},":active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},i[l.up]=(0,fr.Cl)({fontWeight:l.BO.semibold,color:"HighlightText",background:"Highlight"},(0,l.Qg)()),i)},o[".".concat(f.Y2," &.").concat(t.linkIsSelected,":focus, :host(.").concat(f.Y2,") &.").concat(t.linkIsSelected,":focus")]={outlineColor:c.primaryButtonText},o)}]]]},ao=(0,gr.I)(no,(function(e){var t,r,n,o,i=e.className,a=e.linkSize,s=e.linkFormat,u=e.theme,c=u.semanticColors,d=u.fonts,p=(0,l.Km)(oo,u),h="large"===a,g="tabs"===s;return{root:[p.root,d.medium,l.S8,{position:"relative",color:c.link,whiteSpace:"nowrap"},h&&p.rootIsLarge,g&&p.rootIsTabs,i],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:(0,fr.fX)((0,fr.fX)([p.link],io(e,p),!0),[(t={},t["&[data-is-overflowing='true']"]={display:"none"},t)],!1),overflowMenuButton:[p.overflowMenuButton,(r={visibility:"hidden",position:"absolute",right:0},r[".".concat(p.link,"[data-is-overflowing='true'] ~ &")]={visibility:"visible",position:"relative"},r)],linkInMenu:(0,fr.fX)((0,fr.fX)([p.linkInMenu],io(e,p,!0),!0),[{justifyContent:"start",height:36,lineHeight:36,width:"100%"}],!1),linkIsSelected:[p.link,p.linkIsSelected,{fontWeight:l.BO.semibold,selectors:(n={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(o={},o[l.up]={backgroundColor:"Highlight"},o)},":hover::before":{left:0,right:0}},n[l.up]={color:"Highlight"},n)}],linkContent:[p.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[p.text,{display:"inline-block",verticalAlign:"top"}],count:[p.count,{display:"inline-block",verticalAlign:"top"}],icon:p.icon}}),void 0,{scope:"Pivot"});const so=e=>{const{children:t,partialTheme:r,...o}=e,i=(e=>{const{borderRadius:t}=(0,n.useContext)(Qe.e);return{styles:{root:{selectors:{":active":[{backgroundColor:e.semanticColors?.listItemBackgroundHovered}],":hover":[{borderRadius:t,backgroundColor:e.semanticColors?.listItemBackgroundHovered}]}}}}})(r)?.styles,a=[];return n.Children.forEach(t,(e=>{if(n.isValidElement(e)){const{headerButtonProps:t,...r}=e.props;a.push(n.createElement(qn,{...r,headerButtonProps:{styles:(0,l.TW)(e.props.headerButtonProps?.styles,i)}}))}})),n.createElement(ao,{...o},a)},lo={root:{marginRight:"8px"}},uo={root:{marginRight:"4px"}},co={paddingTop:"1px",height:"100%",width:"100%"},po={paddingTop:"1px",height:"100%",width:"100%",display:"flex",flexDirection:"column"},ho={flex:1,overflow:"auto"},go={link:{marginTop:"1px",marginLeft:"1px",selectors:{":hover":{cursor:"auto"}}}};function mo(e){return()=>({width:"100%",border:"none",borderTop:"1px solid",borderColor:e?.semanticColors?.menuDivider,background:"inherit",alignItems:"center",display:"flex",justifyContent:"center"})}function fo(e){return t=>({alignSelf:"center",fontSize:"14px",fontWeight:400,color:t?e?.palette?.themePrimary:e?.palette?.neutralDark,cursor:t?"pointer":"default"})}var vo=r(66375);const bo=e=>{const{partialTheme:t,...r}=e,o=(e=>{const{borderRadius:t}=(0,n.useContext)(Qe.e),r=n.useContext(Lt.B),o=!!(0,Bt.i2)(r,Bt.PE.fluentV9SearchBoxIsEnabled);return{root:{margin:"6px 8px 6px 7px",background:e.semanticColors?.inputBackground,justifyContent:"center",alignItems:"center",width:o?"calc(100% - 15px)":void 0,selectors:{"::after":{borderColor:e.palette?.themePrimary,borderRadius:t}}}}})(t);return n.createElement(vo.L,{...r,styles:o})};var yo=r(60835);const So=(e,t)=>({fontWeight:"450",fontSize:"12px",padding:"3px 0px 3px 0px",color:e?t.palette.themePrimary:t.palette.neutralDark,cursor:e?"pointer":"default"});var Co=r(97308),To=r(95583);const ko=[];let Fo;function Eo(e){let t;_.Hv.shipAssertTag(594581583,N.n.msoulscat_Wac_Ribbon,void 0!==Fo,"mapping must not be null");try{t=Fo.getCommandByExternalUxId(e)}catch(r){_.Hv.sendTraceTag(587235585,N.n.msoulscat_Wac_Ribbon,O.k.Warning,`Could not get mapping for ${e}`),t={externalUxCommand:e}}return t.commandId||_.Hv.sendTraceTag(587235586,N.n.msoulscat_Wac_Ribbon,O.k.Info,`${e} is not mapped to a command`),t}var Ao=r(75887),Io=r(99552),xo=r(73653),wo=r(53273),Po=r(47829);const Ro=[function(e,t){(function(e,t){if(Go(t))return!1;switch(e){case"MenuPopulate":case"MenuClose":case"CoauthorsRendered":return!1}switch(t.modelType){case"CoauthorGallery":case"SyncStatus":return!1}if((0,ye.isChangeGateEnabled)("SharedOnline.ChangeGate.FilterAutoTabActions")){const e=t.payload;if("TabSwitchPayload"===e?.type)return!e.automaticallyTriggered}return!0})(e,t)&&ko.forEach((r=>r(e,t)))}];let Do={};const _o=(e,t)=>{if((0,wo.h)().commonSettings().trackOOUXAsyncUiEnabled()&&t)switch(t.type){case"MenuOpenPayload":const{launcherId:r}=t,n=(0,Io.ad)(),o=(0,wo.h)().commonSettings().trackableAppBaseButtonCommandIds();return n&&n.has(r)?o&&o.includes(r)?["AppBaseButton"]:[r]:void 0;case"TabSwitchPayload":return["TabSwitch"];case"ToggleButtonPayload":case"ButtonPayload":const i=(0,wo.h)().commonSettings().trackableTaskPaneUiCommandIds();return i&&i.includes(e)?["task-pane"]:void 0;default:return}};const No=(e,t)=>Ho(e,"interactiveUid",t),Oo=(e,t)=>Ho(e,"event",t),Mo=["ShareMenu"];function Bo(e){return"MenuOpenPayload"===e?.type}function Lo(e){return"MenuClosePayload"===e?.type}function Ko(e){return Bo(e)&&Mo.indexOf(e.launcherId)>=0}function Wo(e,t){(0,Ao.Km)(e.launcherId,void 0,void 0,void 0,t)}function Ho(e,t,r){return{...e,payload:e.payload?{[t]:r,...e.payload}:void 0}}function Go(e){const{payload:t}=e;return t&&"MenuOpenPayload"===t.type&&t.isShadowRendering}function zo(e,t,n){return["ooux",n,!(0,wo.h)().commonSettings().enrichOOUXLogsEnabled()||n!==To.IZ.MultilineRibbon&&n!==To.IZ.SingleLineRibbon?void 0:function(){const{uiStore:e}=r(44020);return(0,Po.qq)(e.getState())}(),e,"MenuOpen"===e?Uo(t.payload.launcherId):void 0,"TabSwitch"===e?Uo(t.payload.tabId):void 0].filter((e=>!!e)).join("_").toLowerCase()}const Uo=e=>e?Do[e]||Do[e.replace(/(^ContextMenu\.)|((_Enabled$))/g,"")]:void 0;var Vo=r(10887);const jo=(0,Vo.strEnum)(["Undo","Redo","UndoRedo","Paste","ChangePhoneticHiragana","ChangePhoneticKatakanaHalf","ChangePhoneticKatakanaFull","Copy","Cut","Clipboard","PasteFormulas","PasteValues","PasteFormatting","PasteTranspose","PasteLink","PastePictureInCell","PasteWithColumnWidths","FormatPainter","FontSize","Bold","BoldDropdown","Italic","Underline","Strikethrough","DoubleUnderline","BordersSplitButton","FillColor","FontColor","MarshalModeDropdownMenu","Merge","MergeAndCenter","MergeAcross","MergeCells","UnmergeCells","MergeAndCenterToggleButton","CenterAcrossSelection","NumberFormatNew","ConditionalFormatting","AutoSum","AutoSumFormulas","SortAndFilter","Find","BringForward","SendBackward","ArrangeShapeSendToBack","ArrangeShapeSendBackward","ArrangeShapeBringToFront","ArrangeShapeBringForward","ShapeAlternativeText","ImageInCellAlternativeText","Copilot","AnalyzeData","InsertTable","InsertPicture","SendBackwardPicture","BringForwardPicture","ArrangePictureSendToBack","ArrangePictureSendBackward","ArrangePictureBringToFront","ArrangePictureBringForward","PictureAlternativeText","CropPicture","InsertPictureFlyout","InsertPictureFromDevice","InsertPictureFromBingPictures","InsertPictureFromStockImages","Shapes","Link","InsertAddInFlyout","InsertAppsForOffice","InsertAddInsFromBackstage","Refresh","RefreshAll","RefreshSelected","PivotRefresh","PivotRefreshAll","PivotRefreshSelected","NewCalculate","NewWindow","CalculateSheet","SortAscending","SortDescending","SortCustom","FlashFill","RemoveDuplicates","DataValidation","DataCleansingTaskPane","Spelling","CheckAccessibility","NewThreadedComment","DeleteComment","ShowThreadedComments","NotesMenu","NewEditNote","DeleteNote","PreviousNote","NextNote","ShowHideNote","ShowHideAllNotes","PhoneticSplitButton","SimpleShowHidePhonetic","ConvertNote","ConvertAllNotesInNotesFlyout","ManageProtection","PauseResumeProtection","ReadingView","SelectZoomOption","ZoomTo100","FreezeUnfreezePanes","FreezeUnfreezeTopRow","FreezeUnfreezeRows","FreezeUnfreezeColumns","FreezeUnfreezeFirstColumn","FreezeUnfreezePanesFlyout","UnfreezePanes","FreezePanes","ShowHeadings","ShowGridlines","ShowFormulaBar","RightToLeft","BottomBorder","TopBorder","LeftBorder","RightBorder","NoBorder","AllBorders","OutsideBorders","ThickOutsideBorders","BottomDoubleBorders","ThickBottomBorders","TopAndBottomBorders","TopAndThickBottomBorders","TopAndDoubleBottomBorders","BorderColor","GrowFontSize","ShrinkFontSize","IncreaseIndent","DecreaseIndent","Align","AlignGroup","AlignHorizontalGallery","AlignVerticalGallery","AlignLeft","AlignCenter","AlignRight","AlignTop","AlignMiddle","AlignBottom","Orientation","RotateTextUp45","RotateTextDown45","RotateTextUp90","RotateTextDown90","VerticalText","Wrap","NumberFormatGroup","NumberFormatGeneral","NumberFormatNumber","NumberFormatCurrency","NumberFormatAccountingComboBoxItem","NumberFormatAccountingNew","NumberFormatDateShort","NumberFormatDateLong","NumberFormatTime","NumberFormatComma","NumberFormatPercentage","NumberFormatFraction","NumberFormatScientific","NumberFormatText","NumberFormatMore","IncreaseDecimal","DecreaseDecimal","ConditionalFormattingHighlightCellRules","ConditionalFormattingTopBottomRules","ConditionalFormattingDataBars","ConditionalFormattingColorScales","ConditionalFormattingIconSets","ConditionalFormattingNewRule","ConditionalFormattingNewRuleHighlightWhen","ConditionalFormattingManageRules","ConditionalFormattingClearRules","ConditionalFormattingHighlightCellGreaterThan","ConditionalFormattingHighlightCellLessThan","ConditionalFormattingHighlightCellBetween","ConditionalFormattingHighlightCellEqualTo","ConditionalFormattingHighlightCellTextContains","ConditionalFormattingHighlightCellDateOccuring","ConditionalFormattingHighlightCellDuplicateValue","ConditionalFormattingTopBottomTop10Items","ConditionalFormattingTopBottomTop10Percent","ConditionalFormattingTopBottomBottom10Items","ConditionalFormattingTopBottomBottom10Percent","ConditionalFormattingTopBottomAboveAverge","ConditionalFormattingTopBottomBelowAverage","ConditionalFormattingClearRulesSelectedCells","ConditionalFormattingClearRulesEntireSheet","ConditionalFormattingDataBarsGradientFillBlue","ConditionalFormattingDataBarsGradientFillGreen","ConditionalFormattingDataBarsGradientFillRed","ConditionalFormattingDataBarsGradientFillOrange","ConditionalFormattingDataBarsGradientFillLightBlue","ConditionalFormattingDataBarsGradientFillPurple","ConditionalFormattingDataBarsSolidFillBlue","ConditionalFormattingDataBarsSolidFillGreen","ConditionalFormattingDataBarsSolidFillRed","ConditionalFormattingDataBarsSolidFillOrange","ConditionalFormattingDataBarsSolidFillLightBlue","ConditionalFormattingDataBarsSolidFillPurple","ConditionalFormattingDataBarsGallery","ConditionalFormattingColorScalesGallery","ConditionalFormattingColorScalesGYR","ConditionalFormattingColorScalesRYG","ConditionalFormattingColorScalesGWR","ConditionalFormattingColorScalesRWG","ConditionalFormattingColorScalesBWR","ConditionalFormattingColorScalesRWB","ConditionalFormattingColorScalesWR","ConditionalFormattingColorScalesRW","ConditionalFormattingColorScalesGW","ConditionalFormattingColorScalesWG","ConditionalFormattingColorScalesGY","ConditionalFormattingColorScalesYG","ConditionalFormattingIconSetsDirectional3Arrows","ConditionalFormattingIconSetsDirectional3ArrowsGray","ConditionalFormattingIconSetsDirectional3Triangles","ConditionalFormattingIconSetsDirectional4ArrowsGray","ConditionalFormattingIconSetsDirectional4Arrows","ConditionalFormattingIconSetsDirectional5ArrowsGray","ConditionalFormattingIconSetsDirectional5Arrows","ConditionalFormattingIconSetsShapes3TrafficLights1","ConditionalFormattingIconSetsShapes3TrafficLights2","ConditionalFormattingIconSetsShapes3Signs","ConditionalFormattingIconSetsShapes4TrafficLights","ConditionalFormattingIconSetsShapes4RedToBlack","ConditionalFormattingIconSetsIndicators3Symbols","ConditionalFormattingIconSetsIndicators3Symbols2","ConditionalFormattingIconSetsIndicators3Flags","ConditionalFormattingIconSetsRatings3Stars","ConditionalFormattingIconSetsRatings4Rating","ConditionalFormattingIconSetsRatings5Quarters","ConditionalFormattingIconSetsRatings5Rating","ConditionalFormattingIconSetsRatings5Boxes","ConditionalFormattingIconSetsGallery","Format","CleanLoadBlockingFloatingObjects","RowHeight","RowHeightAutoFit","ColumnWidth","ColumnWidthAutoFit","ColumnRowHideUnhide","RenameSheet","RenameTable","ReorderSheet","DuplicateSheet","FullSheetCopy","FullSheetPaste","HideRows","HideColumns","HideSheet","UnhideRows","UnhideColumns","UnhideSheet","InsertCells","DeleteCells","ClearCells","InsertCopiedCells","InsertRowsSheet","InsertColumnsSheet","InsertRowsTable","InsertColumnsTable","InsertCellsShiftRight","InsertCellsShiftDown","InsertSheet","DeleteRowsSheet","DeleteColumnsSheet","DeleteRowsTable","DeleteColumnsTable","DeleteCellsShiftLeft","DeleteCellsShiftUp","DeleteSheet","ChangeLocale","ClearAll","ClearFormats","ClearContent","ClearComments","ClearNotes","RemoveHyperLinks","AutoSumSum","AutoSumAverage","AutoSumCount","AutoSumMax","AutoSumMin","AutoSumAdd","AutoSumMinus","AutoSumMultiply","AutoSumDivide","AutoSumMore","AutoFilterToggle","AutoFilterClear","AutoFilterReapply","FilterFlyout","FilterSplitMenu","FindAndSelect","FindAndReplace","GoTo","Forms","MsForms","MsFormInsert","MsFormPreview","MsFormEdit","MsFormSend","MsFormDelete","PreviousComment","NextComment","InsertShapeGallery","InsertShapeTextBox","InsertShapeRectangle","InsertShapeRoundedRectangle","InsertShapeEllipse","InsertShapeStar5","InsertShapeTriangle","InsertShapeCan","InsertShapeCube","InsertShapeStraightConnector","InsertShapeStraightConnectorArrow","InsertShapeStraightConnectorTwoArrow","InsertShapeRightArrow","InsertShapeDownArrow","InsertShapeLeftArrow","InsertShapeUpArrow","InsertShapeUpDownArrow","InsertShapeLeftRightArrow","InsertShapeLine","InsertShapeArrow","InsertShapeDoubleArrow","InsertShapeElbowConnector","InsertShapeElbowArrowConnector","InsertShapeElbowDoubleArrowConnector","InsertShapeCurvedConnector","InsertShapeCurvedArrowConnector","InsertShapeCurvedDoubleArrowConnector","InsertShapeSnipSingleCornerRectangle","InsertShapeSnipSameSideCornerRectangle","InsertShapeSnipDiagonalCornerRectangle","InsertShapeSnipRoundSingleCornerRectangle","InsertShapeRoundSingleCornerRectangle","InsertShapeRoundSameSideCornerRectangle","InsertShapeRoundDiagonalCornerRectangle","InsertShapeEllipse","InsertShapeIsoscelesTriangle","InsertShapeRightTriangle","InsertShapeParallelogram","InsertShapeTrapezoid","InsertShapeDiamond","InsertShapeBasicPentagon","InsertShapeHexagon","InsertShapeHeptagon","InsertShapeOctagon","InsertShapeDecagon","InsertShapeDodecagon","InsertShapePie","InsertShapeChord","InsertShapeTeardrop","InsertShapeFrame","InsertShapeHalfFrame","InsertShapeLShape","InsertShapeDiagonalStripe","InsertShapeCross","InsertShapePlaque","InsertShapeCan","InsertShapeCube","InsertShapeBevel","InsertShapeDonut","InsertShapeNoSymbol","InsertShapeBlockArc","InsertShapeFoldedCorner","InsertShapeSmileyFace","InsertShapeHeart","InsertShapeLightningBolt","InsertShapeSun","InsertShapeMoon","InsertShapeCloud","InsertShapeArc","InsertShapeDoubleBracket","InsertShapeDoubleBrace","InsertShapeLeftBracket","InsertShapeRightBracket","InsertShapeLeftBrace","InsertShapeRightBrace","InsertShapeRightArrow","InsertShapeLeftArrow","InsertShapeUpArrow","InsertShapeDownArrow","InsertShapeLeftRightArrow","InsertShapeUpDownArrow","InsertShapeQuadArrow","InsertShapeLeftRightUpArrow","InsertShapeBentArrow","InsertShapeUTurnArrow","InsertShapeLeftUpArrow","InsertShapeBentUpArrow","InsertShapeCurvedRightArrow","InsertShapeCurvedLeftArrow","InsertShapeCurvedUpArrow","InsertShapeCurvedDownArrow","InsertShapeStripedRightArrow","InsertShapeNotchedRightArrow","InsertShapePentagon","InsertShapeChevron","InsertShapeRightArrowCallout","InsertShapeDownArrowCallout","InsertShapeLeftArrowCallout","InsertShapeUpArrowCallout","InsertShapeLeftRightArrowCallout","InsertShapeQuadArrowCallout","InsertShapeCircularArrow","InsertShapeMathPlus","InsertShapeMathMinus","InsertShapeMathMultiply","InsertShapeMathDivide","InsertShapeMathEqual","InsertShapeMathNotEqual","InsertShapeProcess","InsertShapeAlternateProcess","InsertShapeDecision","InsertShapeData","InsertShapePredefinedProcess","InsertShapeInternalStorage","InsertShapeDocument","InsertShapeMultidocument","InsertShapeTerminator","InsertShapePreparation","InsertShapeManualInput","InsertShapeManualOperation","InsertShapeConnector","InsertShapeOffpageConnector","InsertShapeCard","InsertShapePunchedTape","InsertShapeSummingJunction","InsertShapeOr","InsertShapeCollate","InsertShapeSort","InsertShapeExtract","InsertShapeMerge","InsertShapeStoredData","InsertShapeDelay","InsertShapeSequentialActionStorage","InsertShapeMagneticDisk","InsertShapeDirectAccessStorage","InsertShapeDisplay","InsertShapeExplosion1","InsertShapeExplosion2","InsertShape4PointStar","InsertShapeStar5","InsertShape6PointStar","InsertShape7PointStar","InsertShape8PointStar","InsertShape10PointStar","InsertShape12PointStar","InsertShape16PointStar","InsertShape24PointStar","InsertShape32PointStar","InsertShapeUpRibbon","InsertShapeDownRibbon","InsertShapeCurvedUpRibbon","InsertShapeCurvedDownRibbon","InsertShapeVerticalScroll","InsertShapeHorizontalScroll","InsertShapeWave","InsertShapeDoubleWave","InsertShapeRectangularCallout","InsertShapeRoundedRectangleCallout","InsertShapeOvalCallout","InsertShapeCloudCallout","InsertShapeLineCallout1","InsertShapeLineCallout2","InsertShapeLineCallout3","InsertShapeLineCallout1Accent","InsertShapeLineCallout2Accent","InsertShapeLineCallout3Accent","InsertShapeLineCallout1BorderAccent","InsertShapeLineCallout2BorderAccent","InsertShapeLineCallout3BorderAccent","InsertShapeLineCallout1NoBorder","InsertShapeLineCallout2NoBorder","InsertShapeLineCallout3NoBorder","InsertCheckbox","InsertTextBox","InsertChart","InsertChartGallery","Insert2DColumnChartClustered","Insert2DColumnChartStacked","Insert2DColumnChartStacked100P","Insert2DLineChart","Insert2DLineChartStacked","Insert2DLineChartStacked100P","Insert2DLineChartMarker","Insert2DLineChartMarkerStacked","Insert2DLineChartMarkerStacked100P","Insert2DPieChartDoughnut","Insert2DPieChartPie","Insert2DBarChartClustered","Insert2DBarChartStacked","Insert2DBarChartStacked100P","Insert2DAreaChart","Insert2DAreaChartStacked","Insert2DAreaChartStacked100P","InsertScatterChartMarkerOnly","InsertScatterChartSmoothMarker","InsertScatterChartSmooth","InsertScatterChartLineMarker","InsertScatterChartLine","InsertOtherChartWaterfall","InsertOtherChartFunnel","InsertOtherChartTreemap","InsertOtherChartSunburst","InsertOtherChartHistogram","InsertOtherChartPareto","InsertOtherChartBoxWhisker","InsertOtherChartRadar","InsertOtherChartRadarMarkers","InsertOtherChartRadarFilled","InsertComboColumnClusteredLineChart","InsertComboColumnClusteredLineSecondaryAxisChart","InsertComboAreaStackedColumnClusteredChart","ChartSwitchRowColumn","ChartEditData","ChangeChartType","ChangeChartTypeGallery","ChangeChartType2DColumnChartClustered","ChangeChartType2DColumnChartStacked","ChangeChartType2DColumnChartStacked100P","ChangeChartType2DLineChart","ChangeChartType2DLineChartStacked","ChangeChartType2DLineChartStacked100P","ChangeChartType2DLineChartMarker","ChangeChartType2DLineChartMarkerStacked","ChangeChartType2DLineChartMarkerStacked100P","ChangeChartType2DPieChartDoughnut","ChangeChartType2DPieChartPie","ChangeChartType2DBarChartClustered","ChangeChartType2DBarChartStacked","ChangeChartType2DBarChartStacked100P","ChangeChartType2DAreaChart","ChangeChartType2DAreaChartStacked","ChangeChartType2DAreaChartStacked100P","ChangeChartTypeScatterChartMarkerOnly","ChangeChartTypeScatterChartSmoothMarker","ChangeChartTypeScatterChartSmooth","ChangeChartTypeScatterChartLineMarker","ChangeChartTypeScatterChartLine","ChangeChartTypeOtherChartWaterfall","ChangeChartTypeOtherChartFunnel","ChangeChartTypeOtherChartTreemap","ChangeChartTypeOtherChartSunburst","ChangeChartTypeOtherChartHistogram","ChangeChartTypeOtherChartPareto","ChangeChartTypeOtherChartBoxWhisker","ChangeChartTypeOtherChartRadar","ChangeChartTypeOtherChartRadarMarkers","ChangeChartTypeOtherChartRadarFilled","ChangeChartTypeComboColumnClusteredLineChart","ChangeChartTypeComboColumnClusteredLineSecondaryAxisChart","ChangeChartTypeComboAreaStackedColumnClusteredChart","ChartTitle","ChartTitleNone","ChartTitleOverlay","ChartTitleCentered","ChartTitleEdit","ChartAxisTitle","ChartLegend","ChartDataLabels","ChartDataTable","ChartAxes","ChartGridlines","ChartAxisTitleHorizontal","ChartAxisTitleVertical","ChartAxisTitleHorizontalBelow","ChartAxisTitleHorizontalEdit","ChartAxisTitleHorizontalNone","ChartAxisTitleVerticalNone","ChartAxisTitleVerticalRotated","ChartAxisTitleVerticalVertical","ChartAxisTitleVerticalHorizontal","ChartAxisTitleVerticalEdit","ChartAxisLegendNone","ChartAxisLegendRight","ChartAxisLegendTop","ChartAxisLegendLeft","ChartAxisLegendBottom","ChartAxisLegendOverlayLeft","ChartAxisLegendOverlayRight","ChartDataTableNone","ChartDataTableShow","ChartDataTableShowWithLegend","ChartTaskpaneFormat","NavigateToCoauthor","ChangeShape","ShapeStylesFill","ShapeStylesOutline","ChangeShapeGallery","ChangeShapeRectangle","ChangeShapeRoundedRectangle","ChangeShapeSnipSingleCornerRectangle","ChangeShapeSnipSameSideCornerRectangle","ChangeShapeSnipDiagonalCornerRectangle","ChangeShapeSnipRoundSingleCornerRectangle","ChangeShapeRoundSingleCornerRectangle","ChangeShapeRoundSameSideCornerRectangle","ChangeShapeRoundDiagonalCornerRectangle","ChangeShapeEllipse","ChangeShapeIsoscelesTriangle","ChangeShapeRightTriangle","ChangeShapeParallelogram","ChangeShapeTrapezoid","ChangeShapeDiamond","ChangeShapeBasicPentagon","ChangeShapeHexagon","ChangeShapeHeptagon","ChangeShapeOctagon","ChangeShapeDecagon","ChangeShapeDodecagon","ChangeShapePie","ChangeShapeChord","ChangeShapeTeardrop","ChangeShapeFrame","ChangeShapeHalfFrame","ChangeShapeLShape","ChangeShapeDiagonalStripe","ChangeShapeCross","ChangeShapePlaque","ChangeShapeCan","ChangeShapeCube","ChangeShapeBevel","ChangeShapeDonut","ChangeShapeNoSymbol","ChangeShapeBlockArc","ChangeShapeFoldedCorner","ChangeShapeSmileyFace","ChangeShapeHeart","ChangeShapeLightningBolt","ChangeShapeSun","ChangeShapeMoon","ChangeShapeCloud","ChangeShapeArc","ChangeShapeDoubleBracket","ChangeShapeDoubleBrace","ChangeShapeLeftBracket","ChangeShapeRightBracket","ChangeShapeLeftBrace","ChangeShapeRightBrace","ChangeShapeRightArrow","ChangeShapeLeftArrow","ChangeShapeUpArrow","ChangeShapeDownArrow","ChangeShapeLeftRightArrow","ChangeShapeUpDownArrow","ChangeShapeQuadArrow","ChangeShapeLeftRightUpArrow","ChangeShapeBentArrow","ChangeShapeUTurnArrow","ChangeShapeLeftUpArrow","ChangeShapeBentUpArrow","ChangeShapeCurvedRightArrow","ChangeShapeCurvedLeftArrow","ChangeShapeCurvedUpArrow","ChangeShapeCurvedDownArrow","ChangeShapeStripedRightArrow","ChangeShapeNotchedRightArrow","ChangeShapePentagon","ChangeShapeChevron","ChangeShapeRightArrowCallout","ChangeShapeDownArrowCallout","ChangeShapeLeftArrowCallout","ChangeShapeUpArrowCallout","ChangeShapeLeftRightArrowCallout","ChangeShapeQuadArrowCallout","ChangeShapeCircularArrow","ChangeShapeMathPlus","ChangeShapeMathMinus","ChangeShapeMathMultiply","ChangeShapeMathDivide","ChangeShapeMathEqual","ChangeShapeMathNotEqual","ChangeShapeProcess","ChangeShapeAlternateProcess","ChangeShapeDecision","ChangeShapeData","ChangeShapePredefinedProcess","ChangeShapeInternalStorage","ChangeShapeDocument","ChangeShapeMultidocument","ChangeShapeTerminator","ChangeShapePreparation","ChangeShapeManualInput","ChangeShapeManualOperation","ChangeShapeConnector","ChangeShapeOffpageConnector","ChangeShapeCard","ChangeShapePunchedTape","ChangeShapeSummingJunction","ChangeShapeOr","ChangeShapeCollate","ChangeShapeSort","ChangeShapeExtract","ChangeShapeMerge","ChangeShapeStoredData","ChangeShapeDelay","ChangeShapeSequentialActionStorage","ChangeShapeMagneticDisk","ChangeShapeDirectAccessStorage","ChangeShapeDisplay","ChangeShapeExplosion1","ChangeShapeExplosion2","ChangeShape4PointStar","ChangeShapeStar5","ChangeShape6PointStar","ChangeShape7PointStar","ChangeShape8PointStar","ChangeShape10PointStar","ChangeShape12PointStar","ChangeShape16PointStar","ChangeShape24PointStar","ChangeShape32PointStar","ChangeShapeUpRibbon","ChangeShapeDownRibbon","ChangeShapeCurvedUpRibbon","ChangeShapeCurvedDownRibbon","ChangeShapeVerticalScroll","ChangeShapeHorizontalScroll","ChangeShapeWave","ChangeShapeDoubleWave","ChangeShapeRectangularCallout","ChangeShapeRoundedRectangleCallout","ChangeShapeOvalCallout","ChangeShapeCloudCallout","ChangeShapeLineCallout1","ChangeShapeLineCallout2","ChangeShapeLineCallout3","ChangeShapeLineCallout1Accent","ChangeShapeLineCallout2Accent","ChangeShapeLineCallout3Accent","ChangeShapeLineCallout1BorderAccent","ChangeShapeLineCallout2BorderAccent","ChangeShapeLineCallout3BorderAccent","ChangeShapeLineCallout1NoBorder","ChangeShapeLineCallout2NoBorder","ChangeShapeLineCallout3NoBorder","ShapeStylesPreviewGallery","ShapeStylesFloatie","ShapeStylesGallery","ApplyShapeStyle0","ApplyShapeStyle1","ApplyShapeStyle2","ApplyShapeStyle3","ApplyShapeStyle4","ApplyShapeStyle5","ApplyShapeStyle6","ConvertToLinkedEntity","CellStylesGallery","ConvertToLinkedEntityGallery","ConvertToLinkedEntityGallerySeeMore","ConvertToLinkedEntityGalleryFlyout","ConvertToStockLinkedEntity","ConvertToGeographyLinkedEntity","TellMeControl","New","SaveAs","Rename","DownloadACopy","DownloadAsODS","DownloadAsCSV","DownloadAsCSVUTF8","SaveAsPDF","PageBreak","InsertPageBreak","RemovePageBreak","ResetAllPageBreaks","PageSetupButton","Print","PrintArea","AddToPrintArea","ClearPrintArea","SetPrintArea","ExportPDF","Privacy","VersionHistory","TellMeUpsellMacros","TellMeUpsellHeaderFooter","TellMeUpsellChangeCase","TellMeUpsellExcelSymbols","TellMeUpsellFileProtection","TellMeUpsellPageMargin","TellMeUpsellMacrosEnterprise","TellMeUpsellHeaderFooterEnterprise","OpenInClientUpsell","TryOfficeUpsell","TellMeSuggestion_1","TellMeSuggestion_2","TellMeSuggestion_3","TellMeSuggestion_4","TellMeSuggestion_5","SmartLookup","FindParameterized","GiveFeedback","Help","ContactSupport","ShowTraining","WhatsNew","FunctionList","Tutorials","GroupCells","GroupCellsRows","GroupCellsColumns","UngroupCells","UngroupCellsRows","UngroupCellsColumns","BorderStyle","BorderStyleGallery","BorderStyleSolidLine","BorderStyleDashedLine","BorderStyleDottedLine","BorderStyleMediumLine","BorderStyleThickLine","BorderStyleDoubleLine","NamedSheetViewCreate","NamedSheetViewExit","NamedSheetViewSelect","ConvertToRange","NamedSheetViewOptions","CalculationOptions","InsideBorders","InsideHorizontalBorders","InsideVerticalBorders","StyleOptionsFlyout","HeaderRow","FirstColumn","TotalRow","LastColumn","BandedRows","BandedColumns","FilterButton","Sensitivity","KeyboardShortcuts","ResetShortcutPreferences","BordersSplitButtonCompactMenu","BorderMenuGallery","NoBorder_CompactMenu","BottomBorder_CompactMenu","TopBorder_CompactMenu","LeftBorder_CompactMenu","RightBorder_CompactMenu","AllBorders_CompactMenu","OutsideBorders_CompactMenu","ThickOutsideBorders_CompactMenu","BottomDoubleBorders_CompactMenu","ThickBottomBorders_CompactMenu","TopAndBottomBorders_CompactMenu","TopAndThickBottomBorders_CompactMenu","TopAndDoubleBottomBorders_CompactMenu","InsertMoreAddInsFromFooter","InsertMoreAddInsFromBackstageFooter","InsideBorders_CompactMenu","InsideHorizontalBorders_CompactMenu","InsideVerticalBorders_CompactMenu","PeopleWell","RefreshCoauthorData","ContextCoauthors","AutoFilterContextMenu","ChartContextMenu","FieldListContextMenu","FieldListPivotContextMenu","FieldWellContextMenu","FloatingObjectContextMenu","GridContextMenu","PivotFilterContextMenu","SheetOpsContextMenu","TimeSlicerContextMenu","TimeSlicerLevelMenu","PulloutFieldListContextMenu","AutoFilterFieldListContextMenu","PivotTableContextMenu","SlicerContextMenu","CopilotContextButtonMenu","PasteAdvancedOptionsGallery","GalleryPaste","GalleryPasteFormulas","GalleryPasteValues","GalleryPasteFormatting","GalleryPasteTranspose","GalleryPasteLink","GalleryPastePictureInCell","GalleryPasteWithColumnWidths","TableStylesGroup","PreviewTableStyle1","PreviewTableStyle2","PreviewTableStyle3","PreviewTableStyle4","PreviewTableStyle5","PreviewTableStyle6","PreviewTableStyle7","FormatAsTableAlt","FileMenuBackButton","blank","ProtectWorkbook","Embed","TermsOfUse","ThirdPartyNotices","OpenUrlInNewTab","OpenDocumentUrl","PreviousVersions","SaveAsToOneDrive","SaveToSharePoint","ReplyWithChanges","NewDocument","ContinueInExcel","Edit","Type","Clear","AutoFill","EditHyperlink","DeleteFloatingObject","DeletePivotTable","HideFiedList","OpenLink","RemoveLink","EditLink","RefreshFieldList","InsertRowsSheetFloatie","DeleteRowsSheetFloatie","HideRowsFloatie","UnhideRowsFloatie","InsertColumnsSheetFloatie","DeleteColumnsSheetFloatie","HideColumnsFloatie","UnhideColumnsFloatie","DrawBorder","DrawBorderGrid","EraseBorder","EditLinks","NamedSheetViewKeep","ModeSwitcher","ModeSwitcherModeEditing","ModeSwitcherModeViewing","PivotTableAutoRefresh","PivotTableChangeDataSource","MovePivotTable","PivotTableShowDetails","PivotTableStyleOptions","PivotTableRowHeaders","PivotTableColumnHeaders","PivotTableBandedRows","PivotTableBandedColumns","PivotTableShowFieldList","PivotTableShowSettings","PivotTableShowExpandButton","AutomateNewScript","AutomateRecorder","AutomateGroupNewScript","AutomateCreateInCodeEditor","AutomateCreateFromRecording","AutomateDraftUsingCopilot","AutomateGroupViewScripts","AutomateRecentScripts","AutomateScriptsFromThisWorkbook","AutomateSamples","AutomateAllScripts","AutomateGallery","AutomateGalleryMenu","FlowGallery","FlowGalleryMenu","AutomateAutomateTask","AutomateAutomateATask","OfficeScriptsUnhideAllRowsCols","OfficeScriptsFreezeSelection","OpenFirstScriptDetailTaskpane","OpenSecondScriptDetailTaskpane","OpenThirdScriptDetailTaskpane","OpenFourthScriptDetailTaskpane","OpenFifthScriptDetailTaskpane","OpenSixthScriptDetailTaskpane","OpenFirstFlowTaskpane","OpenSecondFlowTaskpane","OpenThirdFlowTaskpane","OpenFourthFlowTaskpane","OpenFifthFlowTaskpane","OpenSixthFlowTaskpane","TrustCenter","LaunchRecommendedChartsPane","LaunchOMEXStoreFromClassicFeaturesLink","WorkbookStatistics","OpenInClientWithIcon","ShowChanges","SlicerShowSettings","InsertSlicerDialog","InsertTableSlicerDialog","InsertTimeSlicerDialog","InsertAnySlicerDialog","AboutAccessibility","EditAltText","InkSelect","InkEraser","InkPen1","InkPen2","InkHighlighter","InkActionPen","InkDrawWithTouch","InkThickness","InkColorPickerMRU","InkColorPickerPen","InkColorPickerHighlighter","InkSnapToText","InkActionPenHelp","OpenDrawTab","CloseDrawTab","ConvertToLinkedEntityPreview0","ConvertToLinkedEntityPreview1","ConvertToLinkedEntityPreview2","ConvertToLinkedEntityPreview3","ConvertToLinkedEntityPreview4","ConvertToLinkedEntityPreview5","ConvertToLinkedEntityPreview6","ConvertToLinkedEntityPreview7","ConvertToLinkedEntityPreview8","ConvertToLinkedEntityPreview9","ConvertToLinkedEntityPreview10","ConvertToLinkedEntityPreview11","OpenQueriesTaskPane","TextToColumns","PivotTableStylesGroup","PreviewPivotTableStyle1","PreviewPivotTableStyle2","PreviewPivotTableStyle3","PreviewPivotTableStyle4","PreviewPivotTableStyle5","PreviewPivotTableStyle6","PreviewPivotTableStyle7","FontName_New","AllSheetsMenu","TableFormatStylesGroup","PreviewTableFormatStyle1","PreviewTableFormatStyle2","PreviewTableFormatStyle3","PreviewTableFormatStyle4","PreviewTableFormatStyle5","PreviewTableFormatStyle6","PreviewTableFormatStyle7","NavigationPane","SlicerStylesGroup","PreviewSlicerStyle1","PreviewSlicerStyle2","PreviewSlicerStyle3","PreviewSlicerStyle4","PreviewSlicerStyle5","PreviewSlicerStyle6","PreviewSlicerStyle7","PasteRecoveryUI","PasteRecoveryUIGallery","PasteRecoveryUIPaste","PasteRecoveryUIPasteFormulas","PasteRecoveryUIPasteValues","PasteRecoveryUIPasteFormatting","PasteRecoveryUIPasteTranspose","PasteRecoveryUIPasteLink","PasteRecoveryUIPastePictureInCell","PasteRecoveryUIPasteWithColumnWidths","ShowFormulas","ResizeTableDialog","InsertPivotTableMenu","InsertPivotTableFromTable","InsertPivotTableFromPowerBI","AccessibleCellStyles","AccessibleTableStyles","AccessibleFormatAsTable","AboutAccessibility","InsertFunction","FinancialFns","LogicalFns","TextFns","DateTimeFns","LookupReferenceFns","MathTrigFns","MoreFns","StatisticalFns","EngineeringFns","CubeFns","InformationFns","ShowOptimizeWorkbookTaskpane","FontNameRTF","FontNameShapeRTF","FontNameChartRTF","ShowLineageClearHistoryDialog","TogglePresentMode","ShareTopBar","PublishToWeb","ManageAccess","ShareMenu","LinkToThisSheet","ShareNamedSheetView","ShareRange","ShareTable","PivotTableShowSettingsAccessibility","NameBox","Open","TableAltTextDialog","SetDefaultPaste","DataFromPicture","DefaultPaste","ShowNameManager","DataFromPowerBI","CreateSampleTableMenu","CreateSampleTableBlank","CreateSampleTableContact","CreateSampleTableToDo","ShowFormatCells","InsertDropdownList","ShowAlignmentPane","ImmersiveReader","SaveAsShare","SaveAsCopyLink","ShareCopyLink","DragFlashFill","DragCopy","DragFill","DragRecoveryUI","InsertCellPictureFlyout","InsertCellPictureFromDevice","InsertCellPictureFromBingPictures","InsertCellPictureFromStockImages","InsertOverCellsPictureFlyout","InstallPopularAddInAndLaunchIt","LaunchAddinInstallDialogFromBackstage","LaunchAddinInstallDialogFromList","LaunchMyAddInsFromBackstage","LaunchUserInstalledAddInFromBackstage","DataConnectionsFlyout","PowerQueryManageConnections","OpenDatePicker","PowerQueryEditQuery","PowerQueryGetData","PowerQueryGetDataMenu","CellsMenu","ChartStylesOutline","UploadDocumentFromHomeTab","UploadDocumentFromOpenTab","ChartStylesFill","ApplyLastSortFilterInDefaultView","ShowFontTabOnFormatCellsPane","FontPicker","CopyHyperlink","ShowLinkPreview","ShareTabShare","ShareTabCopyLink","ShareTabLinkToThisSheet","ShowBordersTabOnFormatCellsPane","ReviewCommentMenu","ReviewChangesMenu","ReviewProofingMenu","ReviewProtectionMenu","ToggleFullScreenRibbon","InsertFunctionParameterized","FileMenuBuildId","FileMenuCreateACopySection","FileMenuExportSection","FileMenuFlyoutLauncher","FileMenuHeader","FileMenuInfoSection","FileMenuNewSection","FileMenuOpenSection","FileMenuSessionId","FileMenuShareSection","FileMenuOptionsSection","MoveFile","FileMenuVersionHistory","RenamePivotTable","PivotTablePropertiesGroup","ConsumerHealthPolicy","FileMenuProtectWorkbook","FileMenuOpenFromDesktop","FileLocationInfo","ViewAllFiles","UploadDocument","BlankDocument","BrowseTemplates","RequestMoreAccess","FileMenuAutoFitGroup","FileMenuAutoFitOn","FileMenuAutoFitOff","ShowDataTypeIcons","FocusActiveCell","FocusActiveCellFill","FocusActiveCellSplitButton","InsertPythonDropdown","EnterPythonEditMode","ShowPythonCenterTaskPane","ShowPythonEditorTaskPane","ShowPythonInitialization","PythonClearGlobals","PythonResetRuntime","PythonResetDropdown","WorkbookAmendment","WorkbookAmendmentV1","WorkbookAmendmentV2","WorkbookAmendmentV3","WorkbookAmendmentUnsupported","WorkbookAmendmentLearnMore","InsertInCellDropdown","ShowInCellControlsTaskPane","ShowCopilotSettingsDialog"]),qo=((0,Vo.strEnum)(["Clipboard_MLR","Paste_MLR","AlignTop_MLR","AlignMiddle_MLR","AlignBottom_MLR","AlignLeft_MLR","AlignCenter_MLR","AlignRight_MLR","NumberFormatPercentage_MLR","NumberFormatComma_MLR","Insert2DColumnChartClustered_MLR","Insert2DColumnChartClusteredGallery_MLR","Insert2DLineChart_MLR","Insert2DLineChartGallery_MLR","Insert2DPieChartPie_MLR","Insert2DPieChartPieGallery_MLR","Insert2DBarChartClustered_MLR","Insert2DBarChartClusteredGallery_MLR","Insert2DAreaChart_MLR","Insert2DAreaChartGallery_MLR","InsertScatterChartMarkerOnly_MLR","InsertScatterChartMarkerOnlyGallery_MLR","InsertOtherChartWaterfall_MLR","InsertOtherChartWaterfallGallery_MLR","InsertComboChart_MLR","InsertComboChartGallery_MLR","InsertStatisticalChartGallery_MLR","InsertHistogramChart_MLR","CalculationOptions_MLR","CalculationOptionsGallery_MLR","ManualCalc_MLR","AutomaticCalc_MLR","SemiautomaticCalc_MLR","PartialCalc_MLR","ShowFontTabOnFormatCellsPane_MLR","ShowAlignmentPane_MLR","ShowNumberFormat_MLR","PivotTableLabel_MLR"]),jo),$o=e=>{const[t,r]=n.useState(!1);return n.createElement(B.V,null,(o=>n.createElement("div",{style:{height:"40px",paddingTop:"5px"},role:"button",tabIndex:0,onClick:e.onButtonClick??Qo,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||Qo()}},n.createElement("div",{style:e.getFeedbackButtonBaseStyles?e.getFeedbackButtonBaseStyles():{display:"flex",padding:"6px 0px 6px 9px",lineHeight:"20px"}},n.createElement(h.I,{iconName:D().Feedback_20,style:{padding:"6px 11px 6px 1px",height:"16px",width:"16px"}}),n.createElement("span",{style:e.getFeedbackTextStyles?e.getFeedbackTextStyles(t):So(t,o),onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},e.giveFeedBackButtonText||ExcelRibbonStringsManager.get(yo.pr.GiveFeedBackButtonText))))))},Qo=()=>{!function(e,t,r,n,o,i){const a=!(0,xo.iP)("Microsoft.Office.SharedOnline.CheckEventSupportedForOOUXActions",!1)||o&&(0,Io.BX)(o);let s=t;if((0,Co.DL)()&&!i&&Uo(e)&&a)if(o){const n=performance?performance.now():Date.now(),i=(0,Io.aL)(o,zo(e,t,r),[{itemKey:"modelType",value:t.modelType},{itemKey:"timeDiffFromEventToHandler",value:""+(n-o.timeStamp)}],_o(e,t.payload));(0,ye.isChangeGateEnabled)("EnableInteractiveUidInjectionInPayload")&&i&&(s=No(t,i))}else{const n=_o(e,t.payload);(0,wo.h)().commonSettings().trackOOUXAsyncUiEnabled()&&n&&(0,Io.i_)(window.event,n,void 0,zo(e,t,r))}s=function(e,t){return Ho(e,"location",t)}(s,r),o&&(s=Oo(s,o)),Ro.forEach((t=>t(e,s))),function(e,t){return!(!Fo||(r=t,_.Hv.shipAssertTag(587579532,N.n.msoulscat_Wac_Ribbon,void 0!==Fo,"mapping must not be null"),Eo(r).commandId&&336231556!==Eo(r).commandId)||Go(e));var r}(t,e)?function(e,t,r,n){if(r||(0,ye.isChangeGateEnabled)("OfficeVSO:8682603_logMenuCloseEvent")&&Lo(t.payload)){let o=`ExecutedCommand: ${e}. ModelType: ${t.modelType}. Location: ${r}`;n&&(o+=`. ExtendedLocation: ${n}`),t.payload&&(o+=`. PayloadType: ${t.payload.type}`,(Bo(t.payload)||(0,ye.isChangeGateEnabled)("OfficeVSO:8682603_logMenuCloseEvent")&&Lo(t.payload))&&(o+=`. LauncherId: ${t.payload.launcherId}`,Ko(t.payload)&&Wo(t.payload,r)));const i=[{name:"CommandData",string:o}];if(Bo(t.payload)){const e=new RegExp("^[a-zA-Z0-9_]*$");if((0,xo.G7)("TerminalParentControlIdLoggingInUserActionsIsEnabled")&&t.payload.terminalParentControlId){const r=t.payload.terminalParentControlId;i.push({name:"TerminalParentControlId",string:e.test(r)?r:"MalformedId"})}if((0,ye.isChangeGateEnabled)(Bt.PE.controlIdLoggingIsEnabled)){const r=t.payload.launcherId;i.push({name:"ControlId",string:e.test(r)?r:"MalformedId"})}}(0,Ao.Km)(e,void 0,void 0,void 0,r,void 0,i)}r&&r===To.IZ.Overflow&&_.Hv.sendTraceTag(595890910,N.n.msoulscat_Wac_Telemetry,O.k.Info,"Overflow command executed")}(e,t,r,n):!Go(t)&&Ko(t.payload)&&Wo(t.payload,r)}(qo.GiveFeedback,{modelType:"ButtonModel",payload:{type:"ButtonPayload"}})},Xo={isDataTabExperimentTreatmentAEnabled:()=>1===(0,xo.Z8)("Microsoft.Office.Excel.DataTabMLRExperiment",0),isDataTabExperimentTreatmentBEnabled:()=>2===(0,xo.Z8)("Microsoft.Office.Excel.DataTabMLRExperiment",0),isDataTabExperimentTreatmentAorBEnabled:()=>[1,2].includes((0,xo.Z8)("Microsoft.Office.Excel.DataTabMLRExperiment",0)),isDownloadAsCSVEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9124322_DownloadAsCSV"),isDownloadAsCSVUTF8Enabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9942963_DownloadAsCSVUTF8"),isOpenFromPcOptionEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:8675969_UploadFromDesktop"),isO365Host:()=>"true"===(0,xo.qN)("IsO365CommercialHost","false").toLowerCase()||"true"===(0,xo.qN)("IsO365ConsumerHost","false").toLowerCase(),isViewTabMLRShipEnabled:()=>(0,xo.iP)("Microsoft.Office.Excel.ViewTabMLRShip",!1),isZoomComboBoxEnabledInStatusBar:()=>(0,xo.iP)("Microsoft.Office.Excel.StatusBarZoomComboBox",!1),isFavoritesInFileMenuEnabled:()=>(0,xo.iP)("Microsoft.Office.SharedOnline.IsFavoritesInFileMenuEnabled",!1),isModernFontPickerEnabled:()=>(!(0,s.isChangeGateEnabled)("OfficeVSO:9093964_ModernFontRenderingFlight")||(0,xo.iP)("Microsoft.Office.Excel.ModernFontRendering",!1))&&(0,xo.iP)("Microsoft.Office.Excel.ModernFontPicker",!1)&&(!(0,ne.nr)()||(0,xo.iP)("Microsoft.Office.Excel.ModernFontPickerInSafari",!1)),isFileMenuRedesignEnabled:()=>(0,xo.iP)("Microsoft.Office.SharedOnline.FileMenuRedesignIsEnabled",!1),isDatePickerV9Enabled:()=>(0,xo.iP)("Microsoft.Office.Excel.FluentV9DatePickerEnabled",!1),isFlowGalleryEnabled:()=>(0,xo.iP)("Microsoft.Office.Excel.FlowGalleryEnabled",!1),isOfficeScriptsRibbonImprovementsEnabled:()=>(0,xo.iP)("Microsoft.Office.Excel.OfficeScriptsRibbonImprovements",!1),isConsumerHealthPolicyEnabled:()=>(0,s.isChangeGateEnabled)("Microsoft.Office.SharedOnline.ChangeGate.OfficeVSO_8911892_ConsumerHealthPolicyInFileMenuEnabled"),isRequestMoreAccessEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10123663_RequestMoreAccess"),isFileMenuAutoFitButtonEnabled:()=>(0,xo.iP)("Microsoft.Office.Excel.AutoAdjustColumnWidth",!1),isPublishToWebFeatureEnabled:()=>(0,xo.G7)("IsPublishedToWebSupported",!1)&&(0,xo.iP)("Microsoft.Office.SharedOnline.PublishToWebEnabled",!1),isMosForWXPEnabled:()=>(0,xo.iP)("Microsoft.Office.SharedOnline.MosForWXPEnabled",!1),isFlyoutAnchorEnabledForShowMLR:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9345582_EnableFlyoutAnchorForShowMLR"),isUpdatedCoPilotIconEnabled:()=>(0,s.isChangeGateEnabled)("Microsoft.Office.SharedOnline.ChangeGate.OfficeVSO_9611425_UpdatedCoPilotIconEnabled"),isExcelSearchIconIsEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9626634_ExcelSearchIconEnabled"),isExcelMergeAndCenterToggleButtonInFloatieEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9753908_AddToggleButtonForMergeAndCenterInFloatie"),isHyperlinkImprovementSlice1Enabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9776188_HyperlinkImprovementSlice1CG"),isCopilotSettingsDialogEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:9928023_CopilotSettings")&&(0,s.isChangeGateEnabled)("OfficeVSO:10186130_CopilotContextButton"),isMinimumTargetSizesEnabled:()=>(0,xo.iP)("Microsoft.Office.SharedOnline.MinimumTargetSizesEnabled",!1),isReact18UpdateFeatureEnabled:()=>(0,xo.iP)("Microsoft.Office.Excel.React18DeprecatedAPIsUpdate",!1),isR18APIsUpdationFormulaSuggestionEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10136561_R18APIsUpdationFormulaSuggestion")&&Xo.isReact18UpdateFeatureEnabled(),isR18APIsUpdationCompatKeyEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10139957_R18APIsUpdationCompatKey")&&Xo.isReact18UpdateFeatureEnabled(),isR18APIsUpdationProactiveSuggestionEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10139969_R18APIsUpdationProactiveSuggestion")&&Xo.isReact18UpdateFeatureEnabled(),isR18APIsUpdationX10PlaygroundEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10139970_R18APIsUpdationX10Playground")&&Xo.isReact18UpdateFeatureEnabled(),isR18ExternalLinkStatusBarUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158901_R18APIsUpdateExternalLinkStatusBarCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18StatusBarAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158906_R18APIsUpdateStatusBar")&&Xo.isReact18UpdateFeatureEnabled(),isR18RenderSpinnerAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158912_R18APIsUpdateRenderSpinner")&&Xo.isReact18UpdateFeatureEnabled(),isR18ArithmeticOperatorCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158914_R18APIsUpdateArithmeticOperatorCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18CopySheetCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158921_R18APIsUpdateCopySheetCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18DatePickerAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158923_R18APIsUpdateDatePicker")&&Xo.isReact18UpdateFeatureEnabled(),isR18HyperlinkOpenCalloutAPIsUpdationEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158927_R18APIsUpdateHyperlinkOpenCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18KeyboardShortcutAwarenessAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158930_R18APIsUpdateKeyboardShortcutAwareness")&&Xo.isReact18UpdateFeatureEnabled(),isR18NameboxStatusCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158935_R18APIsUpdateNameboxStatusCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18RenamePromptCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158946_R18APIsUpdateRenamePromptCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18InvalidSheetNameCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10158998_R18APIsUpdateInvalidSheetNameCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18SaveToOneDriveCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159387_R18APIsUpdateSaveToOneDriveCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18SheetDropdownMenuAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159392_R18APIsUpdateSheetDropdownMenu")&&Xo.isReact18UpdateFeatureEnabled(),isR18SheetViewEntryAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159394_R18APIsUpdateSheetViewEntryCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18SheetViewSavedAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159398_R18APIsUpdateSheetViewSavedCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18TableTotalRowAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159403_R18APIsUpdateTableTotalRow")&&Xo.isReact18UpdateFeatureEnabled(),isR18TextToColumnsAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159405_R18APIsUpdateTextToColumns")&&Xo.isReact18UpdateFeatureEnabled(),isR18UnhideRowColAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159407_R18APIsUpdateUnhideRowColButton")&&Xo.isReact18UpdateFeatureEnabled(),isR18PowerQueryFlowDialogAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159413_R18APIsUpdatePowerQueryFlowDialog")&&Xo.isReact18UpdateFeatureEnabled(),isR18ExternalLinksTrustCalloutAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159419_R18APIsUpdateExternalLinksTrustCallout")&&Xo.isReact18UpdateFeatureEnabled(),isR18TaskPaneAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159423_R18APIsUpdateTaskPane")&&Xo.isReact18UpdateFeatureEnabled(),isR18TooltipAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159428_R18APIsUpdateTooltip")&&Xo.isReact18UpdateFeatureEnabled(),isR18CopilotOnGridAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159448_R18APIsUpdateCopilotOnGrid")&&Xo.isReact18UpdateFeatureEnabled(),isR18IntelligenceSuggestionAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159451_R18APIsUpdateIntelligenceSuggestion")&&Xo.isReact18UpdateFeatureEnabled(),isR18MarshalModeDropdownAPIsUpdateEnabled:()=>(0,s.isChangeGateEnabled)("OfficeVSO:10159456_R18APIsUpdateMarshalModeDropdown")&&Xo.isReact18UpdateFeatureEnabled()};class Yo extends n.Component{componentDidUpdate(e){null==e.queries&&null!=this.props&&0===this.props.queries?.length&&this.queriesCountContainerRef.current?.focus()}render(){return this.props.getProperty("Microsoft.Office.Excel.PowerQueryProvideFeedback")?this.renderScrollablePaneWithFeedbackButton():n.createElement(B.V,null,(e=>n.createElement("div",{style:co},n.createElement(so,{partialTheme:e,styles:go,onLinkClick:e=>{(0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.m9)("Tab.Clicked",e?.props.itemKey??"")],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)})}},n.createElement(qn,{itemKey:"Queries",headerText:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskPaneTab)},this.getQueriesTaskPane()),n.createElement(qn,{itemKey:"Connections",headerText:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ConnectionsTaskPaneTab)},this.getConnectionsTaskPane())))))}renderScrollablePaneWithFeedbackButton(){return n.createElement(B.V,null,(e=>n.createElement("div",{style:po},n.createElement("div",{style:ho},n.createElement(so,{partialTheme:e,styles:go,onLinkClick:e=>{(0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.m9)("Tab.Clicked",e?.props.itemKey??"")],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)})}},n.createElement(qn,{itemKey:"Queries",headerText:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskPaneTab)},this.getQueriesTaskPane()),n.createElement(qn,{itemKey:"Connections",headerText:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ConnectionsTaskPaneTab)},this.getConnectionsTaskPane()))),n.createElement($o,{onButtonClick:()=>{this.props.callbacks?.provideFeedback("PowerQueryTaskPane")},getFeedbackButtonBaseStyles:mo(e),getFeedbackTextStyles:fo(e)}))))}constructor(e){super(e),this.queriesCountContainerRef=n.createRef(),this.queriesListRef=n.createRef(),this.connectionsListRef=n.createRef(),this.asyncInstance=new cr.j,this.isProtectedWorkbook=!1,this.getQueriesCountLabel=e=>this.props.searchValue?0===e?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesSearchNoQueriesFound):1===e?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesSearchOneQueryFound):ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesSearchNumQueriesFound).replace("{0}",e.toString()):1===e?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.OneQueryTaskpaneHeadline):ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesCountTaskpaneHeadline).replace("{0}",e.toString()),this.getConnectionsCountLabel=e=>1===e?ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.OneConnectionTaskpaneHeadline):ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ConnectionsCountTaskpaneHeadline).replace("{0}",e.toString()),this.filterConnections=()=>this.props.connections?.filter(((e,t)=>!!e?.name||(_.Hv.sendTraceTag(512288606,N.n.msoulscat_ES_EWAJS,O.k.Error,"PowerQueryTaskPane.filterConnections: Unknown connection name at index "+t),!1))).map((e=>({name:e.name,description:e.description,fillObjectType:e.fillObjectType,loadedToDataModel:e.loadedToDataModel,inRefresh:e.inRefresh,refreshEnabled:e.refreshEnabled}))),this.filterQueries=()=>this.props.queries?.filter(((e,t)=>!(!e||!e.name)||(_.Hv.sendTraceTag(540374725,N.n.msoulscat_ES_EWAJS,O.k.Error,"PowerQueryTaskPane.filterQueries: Unknown query name in index"+t),!1))),this.filterGroups=()=>this.props.groups?.filter(((e,t)=>!!(e&&e.name&&e.key)||(_.Hv.sendTraceTag(540374726,N.n.msoulscat_ES_EWAJS,O.k.Error,"PowerQueryTaskPane.ctor: Unknown group name or key in index"+t),!1))),this.buildQueriesWithKeys=()=>this.filterQueries()?.map((e=>({...e,key:e?.name}))),this.getRefreshButton=(e,t,r)=>{const{styles:o,...i}=Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RefreshAll),e,t,D().RefreshConnection_20,this.shouldDisableRefreshButton(),r);return n.createElement(Ze,{...i,hideLabel:!0,styles:(0,l.TW)(o,F(r))})},this.getConnectionsRefreshButton=(e,t,r)=>{const{styles:o,...i}=Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RefreshAll),e,t,D().RefreshConnection_20,this.shouldDisableConnectionsRefreshButton(),r);return n.createElement(Ze,{...i,hideLabel:!0,styles:(0,l.TW)(o,F(r))})},this.getClearPermissionsSection=e=>{const t={controls:[]};return t.controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ClearAllPermissions),"ClearAllPermissions-",(()=>this.props.callbacks?.onClearAllCredentials()),D().DeleteHyperlink_20,!1,e)),t},this.getCollapseExpandButtonsSection=e=>{const t={controls:[]},r=t.controls;return r.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ExpandAllOption),"ExpandAllButton-",(()=>{this.toggleCollapseAll(!1)}),void 0,!this.props.groups||0===this.props.groups.length,e)),r.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CollapseAllOption),"CollapseAllButton-",(()=>{this.toggleCollapseAll(!0)}),void 0,!this.props.groups||0===this.props.groups.length,e)),t},this.getGeneralMenuDefinition=(e,t)=>{const r={sections:[]};if(this.props.getProperty("isPowerQueryEditEnabled")){const e=[];this.props.getProperty("isPowerQueryCopyEnabled")&&e.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CopyOption),"Copy-TopLevel",(async()=>{await Ke(Te,(this.props.groups??[]).filter((e=>!!e)),(this.props.queries??[]).filter((e=>!!e)),this.props.callbacks?.showClipboardAccessPermissionDialog)}),D().Copy_24,!(this.props.queries&&0!==this.props.queries.length||this.props.groups&&0!==this.props.groups.length),t)),this.props.getProperty("isPowerQueryPasteEnabled")&&e.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PasteOption),"Paste-TopLevel",(async()=>{const e=await Le(this.props.callbacks?.showClipboardAccessPermissionDialog);this.props.callbacks?.onPowerQueryPaste(null,e.queries,e.queryGroups)}),D().Paste_24,!this.state.isPasteEnabled,t)),e.length>0&&r.sections.push({controls:e})}const n=[];return n.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CreateNewGroupOption),"NewGroupButton-",(()=>{e({type:$.GroupProperties,groupOperation:0,groupSiblingsNames:this.props.groups?.map((e=>e?.name))??[]})}),D().AddQueryGroup_16,this.isProtectedWorkbook,t)),r.sections.push({controls:n}),r.sections.push(this.getCollapseExpandButtonsSection(t)),this.props.getProperty("Microsoft.Office.Excel.PowerQueryAuthenticateRefresh")&&this.props.getProperty("Microsoft.Office.Excel.PowerQueryClearAllCredentialTaskPane")&&r.sections.push(this.getClearPermissionsSection(t)),r},this.onMenuShowHide=async e=>{if(!e||!this.props.getProperty("isPowerQueryPasteEnabled"))return;const t=await Be();t&&!this.state.isPasteEnabled?this.setState({isPasteEnabled:!0}):!t&&this.state.isPasteEnabled&&this.setState({isPasteEnabled:!1})},this.getGeneralContextMenu=(e,t,r)=>n.createElement(z.M,{disableTooltip:!this.props.getProperty("isTooltipEnabled")},n.createElement(nr,{id:"GeneralContextMenu",getRefreshOrCancelButton:()=>this.getRefreshButton("TopLevelRefreshButton-",(()=>{this.onRefreshAll(e.onQueryRefresh)}),r),styles:lo,menuDefinition:this.getGeneralMenuDefinition(t,r),shouldRenderOtherOptions:this.props.getProperty("isPowerQueryEditEnabled"),onMenuShowHide:this.onMenuShowHide,getProperty:this.props.getProperty})),this.searchBoxChangeFunction=(e,t)=>{this.setState({searchValue:t??""}),window.requestAnimationFrame((()=>{window.setTimeout((()=>{this.asyncInstance.debounce((()=>{this.onSearchTextChanged(e,t)}),500)()}))}))},this.getQueriesTaskPane=()=>{const e=this.buildQueriesWithKeys(),t=_e(this.filterGroups());return n.createElement(B.V,null,(r=>n.createElement(V.Consumer,null,(o=>n.createElement("div",null,null==e&&n.createElement("div",{className:p(),"data-testid":"PowerQueryTaskPaneSpinner"},n.createElement(G.V,{type:"AppSpinnerProps",id:"PowerQueryTaskPaneSpinner",appColors:K(),label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.SpinnerLoadingLabel)})),null!=e&&n.createElement("div",{"aria-live":"assertive","aria-label":ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskpaneAriaLabel),style:u},n.createElement(bo,{type:"AppSearchBoxProps",id:"searchQueriesId",iconColor:r.palette?.neutralSecondaryAlt,icon:Xo.isExcelSearchIconIsEnabled()?He().Search_20:"Search",shouldFlipIcon:(0,ne.cX)(),onChange:(0,s.isChangeGateEnabled)("OfficeVSO:9701402_TaskPaneSearchValueState")?this.searchBoxChangeFunction:this.asyncInstance.debounce(this.onSearchTextChanged,500),autoComplete:"off",value:(0,s.isChangeGateEnabled)("OfficeVSO:9701402_TaskPaneSearchValueState")?this.state.searchValue:this.props.searchValue,placeholder:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesSearchPlaceholder),maxLength:80,partialTheme:r}),n.createElement("div",{tabIndex:0,ref:this.queriesCountContainerRef},n.createElement(ee.B,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",styles:c(r)},n.createElement(ee.B.Item,{grow:1},n.createElement(M.w,{type:"AppLabelProps",id:"QueriesCount",forId:"QueriesCount-"+e.length,label:this.getQueriesCountLabel(e.length),styles:d})),n.createElement(X.Consumer,null,(e=>n.createElement(ee.B.Item,{grow:0},((0,s.isChangeGateEnabled)("OfficeVSO:7111771_PowerQueryRefreshWeb")&&this.props.getProperty("isAADDocumentHost")||this.props.getProperty("isPowerQueryEditEnabled"))&&this.getGeneralContextMenu(o,e,r)))))),n.createElement(fn,{queries:e,groups:t,onQueySelected:this.props.callbacks.onQuerySelected,onQueryRefresh:this.props.callbacks?.onQueryRefresh,searchValueExists:!!this.props.searchValue&&0!==this.props.searchValue.length,handleGroupOperation:this.props.callbacks.handleQueryGroupOperation,selectedQueryKey:this.props.selectedQueryKey,ref:this.queriesListRef,callbacks:o,getProperty:this.props.getProperty})))))))},this.getConnectionsMenuDefinition=(e,t)=>{const r={sections:[{controls:[]}]};return r.sections[0].controls.push(Me(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RefreshAll),"ConnectionsRefreshAllButton-",(()=>{this.onRefreshAllConnections(e.onLegacyConnectionRefresh)}),D().RefreshConnection_20,this.shouldDisableConnectionsRefreshButton(),t)),r},this.getConnectionsContextMenu=(e,t)=>n.createElement(nr,{id:"ConnectionsContextMenu-",getRefreshOrCancelButton:()=>this.getConnectionsRefreshButton("ConnectionsRefreshAllButton-",(()=>{this.onRefreshAllConnections(e.onLegacyConnectionRefresh)}),t),styles:uo,menuDefinition:this.getConnectionsMenuDefinition(e,t),shouldRenderOtherOptions:this.props.getProperty("isPowerQueryTaskPaneConnectionActionsEnabled"),getProperty:this.props.getProperty}),this.getConnectionsTaskPane=()=>{const e=this.filterConnections()?.map((e=>({...e,key:e?.name})));return n.createElement(B.V,null,(t=>n.createElement(V.Consumer,null,(r=>n.createElement("div",null,null==e&&n.createElement("div",{className:p()},n.createElement(G.V,{type:"AppSpinnerProps",id:"PowerQueryConnectionsTaskPaneSpinner",appColors:K(),label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.SpinnerLoadingLabel)})),null!=e&&n.createElement("div",{"aria-live":"assertive","aria-label":ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.ConnectionsTaskpaneAriaLabel),style:u},n.createElement("div",{tabIndex:0},n.createElement(ee.B,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",styles:uo},n.createElement(ee.B.Item,{grow:1},n.createElement(M.w,{type:"AppLabelProps",id:"ConnectionsCount",forId:"ConnectionsCount-0",label:this.getConnectionsCountLabel(e.length),styles:d})),n.createElement(ee.B.Item,{grow:0,styles:c(t)},this.props.getProperty("isPowerQueryTaskPaneConnectionActionsEnabled")&&this.getConnectionsContextMenu(r,t)))),n.createElement(Vn,{connections:e,ref:this.connectionsListRef,onLegacyConnectionRefresh:this.props.callbacks?.onLegacyConnectionRefresh,onLegacyConnectionCancelRefresh:this.props.callbacks?.onLegacyConnectionCancelRefresh,onLegacyConnectionDelete:this.props.callbacks?.onLegacyConnectionDelete,callbacks:r,getProperty:this.props.getProperty})))))))},this.toggleCollapseAll=e=>{this.queriesListRef.current?.toggleCollapseAll(e)},this.onRefreshAll=e=>{this.props.queries?.forEach((t=>{!Ie(t,this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO"))||(0,s.isChangeGateEnabled)("OfficeVSO:8619231_FixRefreshAllInTaskpaneEnabled")&&t.propertiesControls&&void 0!==t.propertiesControls.isRefreshOnRefreshAllEnabled&&!t.propertiesControls.isRefreshOnRefreshAllEnabled||e(t?.name)}))},this.onRefreshAllConnections=e=>{this.props.connections?.forEach((t=>{Ie(t,this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO"))&&e(t?.name)}))},this.shouldDisableRefreshButton=()=>!this.props.queries?.some((e=>Ie(e,this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO")))),this.shouldDisableConnectionsRefreshButton=()=>!this.props.connections?.some((e=>Ie(e,this.props.getProperty("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO")))),this.onSearchTextChanged=(e,t)=>{this.context({searchValue:t})},this.isProtectedWorkbook=(0,s.isChangeGateEnabled)("OfficeVSO:8318223_DisableEditOperationsForStructureProtected")&&this.props.getProperty("isDocumentStructureLocked"),this.state={isPasteEnabled:!1,searchValue:""}}}function Jo(e){return{root:{top:"3px",bottom:"5px",fontSize:"12px",lineHeight:"16px",padding:"0px"},label:{fontWeight:l.BO.semibold,color:e.semanticColors?.inputText}}}function Zo(e){return t=>({root:{background:e.semanticColors?.inputBackground},fieldGroup:{border:"1px solid",borderColor:t.focused?e.semanticColors?.focusBorder:e.semanticColors?.inputBorder,boxSizing:"border-box",borderRadius:l.WG.roundedCorner2,color:e.semanticColors?.inputText,backgroundColor:e.semanticColors?.inputBackground},field:{fontSize:"12px",lineHeight:"16px",height:"48px"}})}function ei(e){return{root:{width:"fit-content",padding:"5px 20px",backgroundColor:e.semanticColors?.buttonBackground},label:{fontSize:"12px",lineHeight:"16px",textAlign:"center",fontWeight:l.BO.semibold,[l.up]:{color:"inherit"}},rootHovered:{backgroundColor:e.semanticColors?.buttonBackgroundHovered},rootPressed:{backgroundColor:e.semanticColors?.buttonBackgroundPressed},rootFocused:{backgroundColor:e.semanticColors?.buttonBackground}}}Yo.contextType=i;const ti=(e,t)=>{const{borderRadius:r,buttonBorderLine:o}=(0,n.useContext)(Qe.e);return{root:{borderRadius:r,backgroundColor:e?t.semanticColors?.primaryButtonBackground:t?.semanticColors?.buttonBackground,color:e?t.semanticColors?.primaryButtonText:t.semanticColors?.buttonText,borderWidth:o,borderStyle:"solid",borderColor:e?t?.semanticColors?.primaryButtonBorder:t?.semanticColors?.buttonBorder},rootDisabled:{backgroundColor:e?t.semanticColors?.primaryButtonBackgroundDisabled:t?.semanticColors?.buttonBackgroundDisabled,borderColor:t?.semanticColors?.buttonBorderDisabled,selectors:{[`.${f.Y2} &:focus`]:[{backgroundColor:"transparent"}]}},rootHovered:{backgroundColor:r!==Qe.F.borderRadius?e?t.semanticColors?.primaryButtonBackground:t?.semanticColors?.buttonBackground:e?t.semanticColors?.primaryButtonBackgroundHovered:t?.semanticColors?.buttonBackgroundHovered,borderColor:e?t?.semanticColors?.primaryButtonBorder:t?.semanticColors?.buttonBorder,color:e?t.semanticColors?.primaryButtonText:t.semanticColors?.buttonText},rootPressed:{backgroundColor:e?t.semanticColors?.primaryButtonBackgroundPressed:t?.semanticColors?.buttonBackgroundPressed,color:e?t.semanticColors?.primaryButtonText:t.semanticColors?.buttonText,borderColor:e?t?.semanticColors?.primaryButtonBorder:t?.semanticColors?.buttonBorder},rootFocused:{backgroundColor:e?t.semanticColors?.primaryButtonBackground:t?.semanticColors?.buttonBackground,color:e?t.semanticColors?.primaryButtonText:t.semanticColors?.buttonText,borderColor:e?t?.semanticColors?.primaryButtonBorder:t?.semanticColors?.buttonBorder}}},ri=e=>{const{styles:t,partialTheme:r,...o}=e;return n.createElement($e,{...o,styles:(0,l.TW)(e.styles,ti(e.primary,e.partialTheme))})},ni=e=>{const{borderRadius:t}=(0,n.useContext)(Qe.e);return{root:{border:"none",borderRadius:t,background:"transparent",width:"fit-content",paddingLeft:"0px"},rootDisabled:{border:"none",borderRadius:t,background:"transparent"},rootHovered:{border:"none",borderRadius:t,backgroundColor:e?.semanticColors?.buttonBackgroundHovered},rootPressed:{border:"none",borderRadius:t,backgroundColor:e?.semanticColors?.buttonBackgroundPressed},icon:{height:"20px",width:"20px"},label:{fontSize:"14px",lineHeight:"20px",textAlign:"center",fontWeight:l.BO.regular}}},oi=e=>{const{styles:t,partialTheme:r,...o}=e;return n.createElement($e,{...o,styles:(0,l.TW)(e.styles,ni(e.partialTheme))})},ii=({id:e,name:t,description:r,operationType:o,siblingNames:i})=>{const[a,s]=n.useState(void 0),[u,c]=n.useState(t),d=n.createRef(),[p,h]=n.useState(r),g=n.createRef(),m=j(),f=Y(),v=e=>{c(e),s(we(e,i,t))},y=()=>{if(!a&&d.current?.value){const t={id:e||"{"+le()+"}",name:d.current?.value,description:g.current?.value,parentId:""};m.handleQueryGroupOperation(o,t),f({type:$.Home})}},S=e=>{e.which===te.c.escape&&(d.current?.resetState(),e.stopPropagation(),e.preventDefault())};n.useEffect((()=>{d.current?.focus()}),[]);const C=e=>n.createElement(ri,{type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.SaveButton),id:"GroupProperties-SaveButton",styles:{root:{width:"fit-content",padding:"5px 20px"},label:{fontSize:"12px",lineHeight:"16px",textAlign:"center",fontWeight:l.BO.semibold,[l.up]:{color:"inherit"}}},disabled:!(!a&&u)||5===o&&t===u&&r===p,onExecute:y,partialTheme:e,primary:!0}),T=e=>n.createElement(ri,{type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CancelButton),id:"GroupProperties-CancelsButton",styles:ei(e),onExecute:()=>{f({type:$.Home})},partialTheme:e,primary:!1}),{isCancelButtonFirst:k}=n.useContext(Qe.e);return n.createElement(B.V,null,(e=>n.createElement(ee.B,{horizontal:!1,verticalAlign:"start",styles:{root:{padding:"16px",height:"100%"}},tokens:{childrenGap:12}},n.createElement(oi,{type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskPaneTab),id:"GroupProperties-queriesButton",icon:(0,$t.jI)()?He().CommonControlChevronRight_12:He().CommonControlChevronLeft_12,onExecute:()=>{f({type:$.Home})},partialTheme:e}),n.createElement(ee.B.Item,null,n.createElement(M.w,{id:"GroupNameLabel",type:"AppLabelProps",forId:"GroupNameInput",required:!0,label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.GroupNameInputLabel),styles:Jo(e)}),n.createElement(re.g,{ref:d,id:"GroupNameInput",type:"AppInputProps",value:t,autoComplete:"off",styles:b(e),onChange:v,errorMessage:a,onExecute:y,executeOnEnter:!0,onKeyDown:S})),n.createElement(ee.B.Item,null,n.createElement(M.w,{id:"GroupDescriptionLabel",type:"AppLabelProps",forId:"GroupDescriptionInput",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PropertiesDescriptionInputLabel),styles:Jo(e)}),n.createElement(re.g,{ref:g,id:"GroupDescriptionInput",type:"AppInputProps",value:r,autoComplete:"off",styles:Zo(e),multiline:!0,resizable:!0,onChange:e=>{h(e)},onExecute:y,executeOnEnter:!0,onKeyDown:S})),n.createElement(ee.B,{horizontal:!0,horizontalAlign:"end",tokens:{childrenGap:4}},k?T(e):C(e),k?C(e):T(e)))))},ai=e=>(0,l.Zq)({color:e.semanticColors?.errorText,margin:0,paddingTop:5,fontSize:"12px",fontWeight:l.BO.regular,background:e.semanticColors?.errorBackground}),si=e=>({root:{padding:"0px"},label:{fontWeight:l.BO.semibold,fontSize:"12px",lineHeight:"16px",color:e.semanticColors?.inputText}}),li=e=>({width:"100%",height:"210px",backgroundColor:e.semanticColors?.listBackground,border:"1px solid "+e.semanticColors?.inputBorder,boxSizing:"border-box",borderRadius:l.WG.roundedCorner2,overflow:"auto"}),ui=(0,m.J9)(((e,t)=>({root:{margin:"6px 12px 6px 8px",height:"28px",backgroundColor:t?e.semanticColors?.listItemBackgroundChecked:"unset",selectors:{":hover":[{backgroundColor:t?e.semanticColors?.listItemBackgroundCheckedHovered:e.semanticColors?.listItemBackgroundHovered}],":focus":[{backgroundColor:e.semanticColors?.listItemBackgroundChecked}]}},label:{fontSize:"12px",lineHeight:"16px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:e.semanticColors?.listText}}))),ci=()=>{const{borderRadius:e}=(0,n.useContext)(Qe.e);return{root:{borderRadius:e}}},di=e=>{const{styles:t,...r}=e;return n.createElement(M.w,{...r,styles:(0,l.TW)(e.styles,ci())})},pi=(e,t,r,o,i,a)=>n.createElement(ee.B,{horizontal:!0,horizontalAlign:"end",tokens:{childrenGap:4}},i?gi(e,t,o):hi(e,t,a,r),i?hi(e,t,a,r):gi(e,t,o)),hi=(e,t,r,o)=>n.createElement(ri,{id:`${e}-SaveButton`,type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.SaveButton),styles:{root:{width:"fit-content",padding:"5px 20px"},label:{fontSize:"12px",lineHeight:"16px",textAlign:"center",fontWeight:l.BO.semibold,[l.up]:{color:"inherit"}}},disabled:r,onExecute:o,partialTheme:t,primary:!0}),gi=(e,t,r)=>n.createElement(ri,{id:`${e}-CancelButton`,type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.CancelButton),styles:{root:{width:"fit-content",padding:"5px 20px"},label:{fontSize:"12px",lineHeight:"16px",textAlign:"center",fontWeight:l.BO.semibold,[l.up]:{color:"inherit"}}},onExecute:r,partialTheme:t,primary:!1}),mi=({groups:e,movingObjectId:t,movingObjectName:r,isGroupMoving:o})=>{const i=n.useRef(null),a=j(),s=Pe(e,t,o),l=Y(),[u,c]=n.useState(void 0),[d,p]=n.useState(void 0),h=new dr.L({items:s,selectionMode:pr.Qc.single,onSelectionChanged(){const[e]=h.getSelection();e&&(c(e),p(((e,t,r)=>{const n=e.find((e=>e.key===r))?.children?.find((e=>e.name?.split("\\").pop()?.toLowerCase()===t.toLowerCase()));return!!n})(s,r,e.key)),i.current?.forceUpdate())}}),g=(e,t,r)=>n.createElement(B.V,null,(r=>n.createElement("div",{"data-selection-select":!0,"data-selection-index":t,"data-is-focusable":!0,"data-selection-touch-invoke":!0},n.createElement(di,{id:"GroupsListItem-"+e?.key,type:"AppLabelProps",forId:"GroupNameInput",label:e?.name,styles:ui(r,!!u&&u.key===e?.key)})))),m=()=>{if(o){const e={id:t,parentId:u.key};a.handleQueryGroupOperation(4,e)}else{const e={name:r,extraData:u.key};a.handleQueryAction(0,e)}l({type:$.Home})},f=()=>{l({type:$.Home})},{isCancelButtonFirst:v}=n.useContext(Qe.e);return n.createElement(B.V,null,(e=>n.createElement(ee.B,{horizontal:!1,verticalAlign:"start",tokens:{childrenGap:12},styles:{root:{padding:"16px",height:"100%"}}},n.createElement(oi,{type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskPaneTab),id:"GroupProperties-queriesButton",icon:(0,$t.jI)()?He().CommonControlChevronRight_12:He().CommonControlChevronLeft_12,onExecute:()=>{l({type:$.Home})},partialTheme:e}),n.createElement(ee.B.Item,null,n.createElement(M.w,{id:"GroupsListTitle",type:"AppLabelProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.MoveToPageSelectGroup),forId:"groupsList",styles:si(e)}),n.createElement(hr.Z,{selection:h},n.createElement(Z.R,null,n.createElement(jr.B,{id:"groupsList",items:s,onRenderCell:g,style:li(e),componentRef:i}))),d&&n.createElement("div",{role:"alert"},n.createElement("p",{className:ai(e)},n.createElement("span",null,ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.MoveToConflictNamesErrorMessage).replace(/\{0\}/g,r).replace("{1}",u?.name))))),pi("MoveToGroup",e,m,f,v,!u||!!d))))};function fi(e){return t=>({root:{background:e.semanticColors?.inputBackground},fieldGroup:{border:"1px solid",borderColor:t.focused?e.semanticColors?.focusBorder:e.semanticColors?.inputBorder,boxSizing:"border-box",borderRadius:l.WG.roundedCorner2,color:e.semanticColors?.inputText,backgroundColor:e.semanticColors?.inputBackground},field:{fontSize:"12px",lineHeight:"16px",height:"48px"}})}function vi(e){return{root:{top:"3px",bottom:"5px",fontSize:"12px",lineHeight:"16px",padding:"0px"},label:{fontWeight:l.BO.semibold,color:e.semanticColors?.inputText}}}const bi=({label:e,name:t,description:r,errorMessage:o,onNameChange:i,onDescriptionChange:a})=>{const s=n.createRef(),l=n.createRef(),u=e=>t=>{t.which===te.c.escape&&(e.current?.resetState(),t.stopPropagation(),t.preventDefault())};return n.useEffect((()=>{s.current?.focus()}),[]),n.createElement(B.V,null,(c=>n.createElement(n.Fragment,null,n.createElement(ee.B.Item,null,n.createElement(M.w,{id:"NameLabel",type:"AppLabelProps",forId:"NameInput",label:e,required:!0,styles:vi(c)}),n.createElement(re.g,{ref:s,id:"NameInput",type:"AppInputProps",value:t,autoComplete:"off",styles:b(c),onChange:i,errorMessage:o,onKeyDown:u(s)})),n.createElement(ee.B.Item,null,n.createElement(M.w,{id:"DescriptionLabel",type:"AppLabelProps",forId:"DescriptionInput",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.PropertiesDescriptionInputLabel),styles:vi(c)}),n.createElement(re.g,{ref:l,id:"DescriptionInput",type:"AppInputProps",value:r,autoComplete:"off",styles:fi(c),multiline:!0,resizable:!0,onChange:a,onKeyDown:u(l)})))))},yi=({id:e,originalName:t,originalDescription:r,groupOperation:o,prohibitedNames:i})=>{const[a,s]=n.useState(void 0),[l,u]=n.useState(t),[c,d]=n.useState(r),p=j(),h=Y(),g=e=>{u(e),m(e)},m=n.useCallback((e=>{s(we(e,i,t))}),[t,i]),f=()=>{if(!a&&l){const t={id:e||"{"+le()+"}",name:l,description:c,parentId:""};p.handleQueryGroupOperation(o,t),h({type:$.Home})}},v=()=>{h({type:$.Home})};n.useEffect((()=>{void 0!==l&&m(l)}),[l,m]);const{isCancelButtonFirst:b}=n.useContext(Qe.e);return n.createElement(B.V,null,(e=>n.createElement(ee.B,{horizontal:!1,verticalAlign:"start",styles:{root:{padding:"16px",height:"100%"}},tokens:{childrenGap:12}},n.createElement(oi,{type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskPaneTab),id:"GroupProperties-queriesButton",icon:(0,$t.jI)()?He().CommonControlChevronRight_12:He().CommonControlChevronLeft_12,onExecute:()=>{h({type:$.Home})},partialTheme:e}),n.createElement(bi,{label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.GroupNameInputLabel),name:l,description:c,errorMessage:a,onNameChange:g,onDescriptionChange:d}),pi("GroupProperties",e,f,v,b,!(!a&&l)||l===t&&c===r))))};var Si=r(61894),Ci=r(41292);const Ti={marginInlineStart:12},ki=(0,m.J9)((()=>(0,l.Zq)({fontWeight:"600"}))),Fi=(0,m.J9)((()=>(0,l.Zq)({marginInlineStart:10,fontWeight:400,fontStyle:"italic"}))),Ei={root:{width:"fit-content"}},Ai={root:[{marginBottom:5,marginTop:5,display:"block"}],spinButtonWrapper:{width:60,height:24,boxSizing:"border-box"},labelWrapper:[{height:"auto",minHeight:24,width:"calc(100% - 64px)"},{marginInlineStart:0}]},Ii={root:{marginBottom:5,marginTop:5}},xi={root:[Ii,{lineHeight:14,marginInlineStart:20}]};var wi=r(44906),Pi=r(1911);class Ri extends n.PureComponent{render(){return n.createElement(wi.hG,{...this.props,styles:this.props.styles?(0,Pi.b)(this.props.styles,Ve.J.Small):(0,Pi.n)(Ve.J.Small)})}}var Di=r(90702),_i=r(340);const Ni=(0,m.J9)((e=>(0,l.TW)({root:{paddingLeft:0},spinButtonWrapper:{borderRadius:2,marginLeft:0,marginRight:0}},e))),Oi=n.forwardRef(((e,t)=>{const r=(0,Di.A)(Ve.J.Small,Ni(e.styles));return n.createElement(_i.A,{...e,ref:t,styles:r.spinButtonStyles,buttonStyles:r.buttonStyles})})),Mi=({originalName:e,originalDescription:t,prohibitedNames:r,lastRefresh:o,queryPropertiesControls:i})=>{const a="Minutes",[s,l]=n.useState(void 0),[u,c]=n.useState(e),[d,p]=n.useState(t),[h,g]=n.useState(i.isBackgroundRefreshEnabled),[f,v]=n.useState(i.isIntervalRefreshEnabled),[b,y]=n.useState(i.intervalInMinutes),[S,C]=n.useState(i.isRefreshOnOpenEnabled),[T,k]=n.useState(i.isRemoveDataEnabled),[F,E]=n.useState(i.isRefreshOnRefreshAllEnabled),[A,I]=n.useState(i.isFastDataLoadEnabled),[x,w]=n.useState(i.isAlwaysUseConnectionFileEnabled),P=j(),R=Y(),D=e=>{c(e),_(e)},_=n.useCallback((t=>{l(xe(e,t,r))}),[e,r]),N=()=>{const t={IsBackgroundRefreshEnabled:h,IsIntervalRefreshEnabled:f,IntervalInMinutes:b,IsRefreshOnOpenEnabled:S,IsRemoveDataEnabled:T,IsRefreshOnRefreshAllEnabled:F,IsFastDataLoadEnabled:A,IsAlwaysUseConnectionFileEnabled:x},r={OldName:e,NewName:u.trim(),Description:d,RefreshControls:t};P.onSetQueryProperties(r),R({type:$.Home})},O=()=>{R({type:$.Home})};n.useEffect((()=>{void 0!==u&&_(u)}),[u,_]);const M={negativeSign:"-",numberDecimalDigits:0,numberDecimalSeparator:".",numberNegativePattern:1,numberGroupSeparator:",",numberGroupSizes:[3]},L=(0,m.J9)(((e,t,r,n)=>[{unitType:e,unitPlaceholder:"{0}",minValue:t,maxValue:r,step:n}])),{isCancelButtonFirst:K}=n.useContext(Qe.e);return n.createElement(B.V,null,(r=>n.createElement(ee.B,{horizontal:!1,verticalAlign:"start",styles:{root:{padding:"16px",height:"100%"}},tokens:{childrenGap:12}},n.createElement(oi,{type:"AppButtonProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueriesTaskPaneTab),id:"QueryProperties-queriesButton",icon:(0,$t.jI)()?He().CommonControlChevronRight_12:He().CommonControlChevronLeft_12,onExecute:()=>{R({type:$.Home})},partialTheme:r}),n.createElement(bi,{label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryNameInputLabel),name:u,description:d,errorMessage:s,onNameChange:D,onDescriptionChange:p}),n.createElement(ee.B,null,n.createElement(Si.J,{className:ki()},ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Usage)),n.createElement(ee.B,{style:Ti},n.createElement(Si.J,{className:Fi()},ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryLastRefreshed).replace("{0}",new Date(o).toLocaleString())),void 0!==i.isBackgroundRefreshEnabled&&n.createElement(Ri,{id:"EnableBackgroundRefresh",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.EnableBackgroundRefresh),checked:h,onExecute:()=>g((e=>!e)),disabled:i.shouldDisableBackgroundRefreshCheckbox,checkmarkIcon:Ge.checkboxCheckmark,styles:Ii}),void 0!==i.isIntervalRefreshEnabled&&n.createElement(ee.B,{horizontal:!0,styles:Ei},n.createElement(Ri,{id:"EnableIntervalRefresh",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RefreshEvery),checked:f,onExecute:()=>v((e=>!e)),disabled:i.shouldDisableIntervalRefreshCheckbox,checkmarkIcon:Ge.checkboxCheckmark,styles:Ii}),n.createElement(Oi,{id:"IntervalIncrement",type:"AppSpinButtonProps",value:b,onExecute:e=>{y(Number(e.value))},label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.Minutes),labelPosition:Ci.y.end,styles:Ai,disabled:!f||i.shouldDisableIntervalRefreshCheckbox,incrementButtonIcon:He().CommonControlChevronUp_8,incrementAriaLabel:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.SpinnerIncrementButtonAriaLabel),decrementButtonIcon:He().CommonControlChevronDown_8,decrementAriaLabel:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.SpinnerDecrementButtonAriaLabel),unitType:a,validUnits:L(a,1,32767,1),numberFormatInfo:M})),n.createElement("div",{onKeyDown:e=>{e.which===te.c.escape&&(e.stopPropagation(),e.preventDefault())}},n.createElement(Ri,{id:"EnableRefreshOnOpen",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RefreshDataOnopen),checked:S,onExecute:()=>C((e=>!e)),disabled:i.shouldDisableRefreshOnOpenCheckbox,checkmarkIcon:Ge.checkboxCheckmark,styles:Ii}),void 0!==i.isRemoveDataEnabled&&n.createElement(Ri,{id:"EnableRemoveData",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RemoveDataFromWorkbook),checked:T,onExecute:()=>k((e=>!e)),disabled:i.shouldDisableRemoveDataCheckbox||!S,checkmarkIcon:Ge.checkboxCheckmark,styles:xi}),n.createElement(Ri,{id:"EnableRefreshOnRefreshAll",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.RefreshOnRefreshAll),checked:F,onExecute:()=>E((e=>!e)),disabled:i.shouldDisableRefreshOnRefreshAllCheckbox,checkmarkIcon:Ge.checkboxCheckmark,styles:Ii}),void 0!==i.isFastDataLoadEnabled&&n.createElement(Ri,{id:"EnableFastDataLoad",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.EnableFastDataLoad),checked:A,onExecute:()=>I((e=>!e)),disabled:i.shouldDisableFastDataLoadCheckbox,checkmarkIcon:Ge.checkboxCheckmark,styles:Ii}),void 0!==i.isAlwaysUseConnectionFileEnabled&&n.createElement(Ri,{id:"EnableAlwaysUseConnectionFile",type:"AppCheckboxProps",label:ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.AlwaysUseConnectionFile),checked:x,onExecute:()=>w((e=>!e)),disabled:i.shouldDisableAlwaysUseConnectionFileCheckbox,checkmarkIcon:Ge.checkboxCheckmark,styles:Ii})))),pi("QueryProperties",r,N,O,K,!(!s&&u)||u===e&&d===t&&h===i.isBackgroundRefreshEnabled&&f===i.isIntervalRefreshEnabled&&b===i.intervalInMinutes&&S===i.isRefreshOnOpenEnabled&&T===i.isRemoveDataEnabled&&F===i.isRefreshOnRefreshAllEnabled&&A===i.isFastDataLoadEnabled&&x===i.isAlwaysUseConnectionFileEnabled))))};n.createContext($.Home);class Bi extends n.Component{render(){return n.createElement(q,{value:this.props.callbacks},n.createElement(J,null,n.createElement(Q.Consumer,null,(e=>this.getPaneBodyComponent(e)))))}getPaneBodyComponent(e){switch(e.type){case $.Home:return n.createElement(Yo,{...this.props});case $.GroupProperties:return this.props.getProperty("Microsoft.Office.Excel.PowerQueryTaskPaneQueryProperties")?n.createElement(yi,{groupOperation:e.groupOperation,id:e.groupOperationPayload?.id,originalName:e.groupOperationPayload?.name,originalDescription:e.groupOperationPayload?.description??"",prohibitedNames:e.groupSiblingsNames}):n.createElement(ii,{operationType:e.groupOperation,id:e.groupOperationPayload?.id,name:e.groupOperationPayload?.name,description:e.groupOperationPayload?.description,siblingNames:e.groupSiblingsNames});case $.QueryProperties:return n.createElement(Mi,{originalName:e.queryOperationPayload.name,originalDescription:e.queryOperationPayload.description??"",prohibitedNames:this.props.queries?.map((e=>e?.name))??[],lastRefresh:e.queryPropertiesPayload.lastRefresh,queryPropertiesControls:e.queryPropertiesPayload.propertiesControls});case $.MoveToGroup:return n.createElement(mi,{groups:this.props.groups,movingObjectId:e.groupOperationPayload?.id,movingObjectName:e.groupOperationPayload?.name,isGroupMoving:e.isGroupMoving});default:return _.Hv.sendTraceTag(520447842,N.n.msoulscat_ES_EWAJS,O.k.Error,"PowerQueryTaskPane.render: Unknown pane type."),n.createElement("div",null)}}constructor(e){super(e)}}const Li="root",Ki="Other Queries",Wi="SubGroupOtherQueries-";class Hi{cloneTaskPaneData(e,t){const r=[],n=[];return t.forEach((e=>{r.push(this.cloneQueryInfo(e))})),e.forEach((e=>{n.push(this.cloneGroupInfo(e))})),{queries:r,groups:n}}prepareGroupsDataForTaskPane(e){for(const t of e){const e="{00000000-0000-0000-0000-000000000000}"===t.parentKey?Li:t.parentKey;this.groupIdLookupDictionary[t.key]=t,this.appendChildGroupToParent(t,e)}const t={};t.name=ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.OtherQueriesGroupName),t.key=Ki,t.order=Number.MAX_VALUE,this.groupIdLookupDictionary[Ki]=t;const r={};r.name=Li,r.key=Li,r.order=0,this.groupIdLookupDictionary[Li]=r}prepareQueriesDataForTaskPane(e){for(const t of e){let e=t.groupKey||Ki;const r=this.groupChildrenDictionary[e];if(e!==Ki&&r&&r.length){const r=Wi+e;if(!this.groupIdLookupDictionary[r]){const t={};t.name=r,t.key=r,t.order=Number.MAX_VALUE,this.groupIdLookupDictionary[r]=t,this.appendChildGroupToParent(t,e)}e=r,t.groupKey=r}this.groupQueriesDictionary[e]?this.groupQueriesDictionary[e].push(t):this.groupQueriesDictionary[e]=[t]}}appendChildGroupToParent(e,t){let r=[e];this.groupChildrenDictionary[t]&&(r=r.concat(this.groupChildrenDictionary[t])),this.groupChildrenDictionary[t]=r}createGroupChildrenForGroup(e,t){let r=[];if(this.groupChildrenDictionary[e]){const n=this.groupChildrenDictionary[e];n.sort(((e,t)=>this.numberCompare(e.order,t.order)));for(const e of n)r=r.concat(this.createGroupInfoForGroup(e.key,t+1))}return r}createGroupInfoForGroup(e,t){const r=this.groupIdLookupDictionary[e],n=this.createGroupChildrenForGroup(e,t);r.children=this.cloneGroupInfoArray(n),r.level=t,r.count=0,r.children.length&&(r.startIndex=r.children[0].startIndex,r.count=r.children.reduce(((e,t)=>e+(t?t.count:0)),r.count));const o=this.groupQueriesDictionary[e];return o&&(r.startIndex=this.queriesInfo?.length??-1,r.count+=o.length,this.queriesInfo=this.queriesInfo?.concat(this.createReactQueryInfoArray(o,e.includes(Wi)?t:t+1))),r}createReactQueryInfoArray(e,t){if(!e)return e;const r=e;return r.forEach((e=>{e.nestingDepth=t})),r}cloneGroupInfoArray(e){const t=[];return e?.forEach((e=>{const r=this.cloneGroupInfo(e);r.children=this.cloneGroupInfoArray(e.children),t.push(r)})),t}cloneGroupInfo(e){const t={};return t.key=e.key,t.name=e.name,t.count=e.count,t.startIndex=e.startIndex,t.data=e.data,t.parentKey=e.parentKey,t.children=[],t.level=e.level,t.order=e.order,t}cloneQueryInfo(e){const t={};return t.fillObjectType=e.fillObjectType,t.groupKey=e.groupKey,t.inRefresh=e.inRefresh,t.lastRefresh=e.lastRefresh,t.loadedToDataModel=e.loadedToDataModel,t.name=e.name,t.nestingDepth=e.nestingDepth,t.queryError=e.queryError,t.refreshEnabled=e.refreshEnabled,t.rowsLoaded=e.rowsLoaded,t.rowsWithError=e.rowsWithError,t.currentRunningOperation=e.currentRunningOperation,t.description=e.description,t.propertiesControls=this.cloneQueryPropertiesControls(e.propertiesControls),t.formula=e.formula,t}cloneQueryPropertiesControls(e){const t={};return e&&(t.intervalInMinutes=e.intervalInMinutes,t.isBackgroundRefreshEnabled=e.isBackgroundRefreshEnabled,t.isFastDataLoadEnabled=e.isFastDataLoadEnabled,t.isIntervalRefreshEnabled=e.isIntervalRefreshEnabled,t.isRefreshOnOpenEnabled=e.isRefreshOnOpenEnabled,t.isRefreshOnRefreshAllEnabled=e.isRefreshOnRefreshAllEnabled,t.isRemoveDataEnabled=e.isRemoveDataEnabled,t.shouldDisableBackgroundRefreshCheckbox=e.shouldDisableBackgroundRefreshCheckbox,t.shouldDisableRemoveDataCheckbox=e.shouldDisableRemoveDataCheckbox,t.shouldDisableRefreshOnOpenCheckbox=e.shouldDisableRefreshOnOpenCheckbox,t.shouldDisableRefreshOnRefreshAllCheckbox=e.shouldDisableRefreshOnRefreshAllCheckbox),t}numberCompare(e,t){return e>t?1:e<t?-1:0}constructor(){this.groupIdLookupDictionary={},this.groupChildrenDictionary={},this.groupQueriesDictionary={},this.queriesInfo=null,this.groupsInfo=null,this.connectionsInfo=null,this.build=(e,t,r)=>{if(this.groupChildrenDictionary={},this.groupIdLookupDictionary={},this.groupQueriesDictionary={},this.queriesInfo=null,this.groupsInfo=null,this.connectionsInfo=r,e)if(this.queriesInfo=[],t&&t.length){this.groupsInfo=[];const r=this.cloneTaskPaneData(t,e);this.prepareGroupsDataForTaskPane(r.groups),this.prepareQueriesDataForTaskPane(r.queries),this.groupsInfo=this.createGroupInfoForGroup(Li,-1).children?.concat(this.createGroupInfoForGroup(Ki,0))}else this.queriesInfo=e;return{queries:this.queriesInfo,groups:this.groupsInfo,connections:this.connectionsInfo}}}}class Gi extends n.Component{announceMessage(e){const t=this.ariaNotifierRef.current;t?.firstChild&&t.removeChild(t.firstChild);const r=document.createElement("div");r.setAttribute("role","status"),r.setAttribute("aria-label",e),r.setAttribute("aria-live","assertive"),t?.appendChild(r)}componentDidCatch(e,t){_.Hv.sendTraceTag(509872347,N.n.msoulscat_ES_EWAJS,O.k.Error,`PowerQueryTaskPane: component failed to render: ${t.componentStack}`),(0,cn.getTelemetryLogger)().sendTelemetryEvent({eventName:"Office.Excel.Client.PowerQuery",dataFields:[(0,pn.LK)("Render.Failed",!0),(0,pn.m9)("Render.Stack",t.componentStack)],eventFlags:(0,dn.a)(hn.o.DataCategories.ProductServiceUsage,hn.o.DiagnosticLevel.RequiredServiceData,hn.o.SamplingPolicy.CriticalBusinessImpact)})}static getDerivedStateFromProps(e){return e.queries&&e.groups?{localPaneData:Gi.taskPaneDataFactory.cloneTaskPaneData(e.groups,e.queries)}:{localPaneData:{queries:null,groups:null}}}render(){return this.paneDataUpdate=this.context.bind(this),n.createElement(a,null,n.createElement(o.Consumer,null,(e=>n.createElement("div",{style:{height:"99%"}},n.createElement("div",{ref:this.ariaNotifierRef}),this.getTaskPaneJSX(e)))))}getTaskPaneJSX(e){const t=e?.searchValue?.toLocaleLowerCase();let r=this.dragAndDropEnabled&&e?.draggedQueryName?this.state.localPaneData?.queries:this.props.queries;if(t&&(r=this.props.queries?.filter((e=>e?.name?.toLocaleLowerCase().includes(t))),this.writeSearchTelemetry&&t&&(_.Hv.sendTraceTag(512328398,N.n.msoulscat_ES_EWAJS,O.k.Info,"PowerQueryTaskPane - Search queries in a session"),this.writeSearchTelemetry=!1)),this.dragAndDropEnabled&&e?.draggedQueryName){const n=r?.findIndex((t=>t.name===e.draggedQueryName));if(-1===n)_.Hv.sendTraceTag(509872346,N.n.msoulscat_ES_EWAJS,O.k.Error,"PowerQueryTaskPane.getTaskPaneJSX: cannot find dragged or dropped query indexes.");else{const o=r[n],i=e.hoveredQueryName?r?.findIndex((t=>t.name===e.hoveredQueryName)):-1;-1!==i&&(r.splice(n,1),r.splice(i,0,o)),null!=e.groupKey?(this.announceMessage(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryReorderOutsideGroup).replace("{0}",e.draggedQueryName).replace("{1}",this.props.groups?.find((t=>t?.key===e.groupKey))?.name).replace("{2}",i.toString())),o.groupKey=e.groupKey):this.announceMessage(ExcelPowerqueryTaskpaneStringsManager.get(ExcelPowerqueryTaskpaneStringsEnum.QueryReorder).replace("{0}",e.draggedQueryName).replace("{1}",i.toString())),_.Hv.sendTraceTag(509872345,N.n.msoulscat_ES_EWAJS,O.k.Info,"PowerQueryTaskPane - Drag and drop was executed, while search has value :"+!!t)}}const o=this.buildTaskPaneData(this.props.groups,r,this.props.connections);return n.createElement(Bi,{queries:o.queries,groups:o.groups,callbacks:this.callbacks,connections:o.connections,selectedQueryKey:this.props.selectedQueryKey,type:this.props.type,searchValue:e?.searchValue,getProperty:e=>this.getBooleanProperty(this.props.getBooleanProperty,e)})}getBooleanProperty(e,t){return e?.(t)??!1}constructor(e){super(e),this.ariaNotifierRef=n.createRef(),this.dragAndDropEnabled=this.getBooleanProperty(this.props.getBooleanProperty,"isPowerQueryEditEnabled"),this.callbacks=this.dragAndDropEnabled?{...this.props.callbacks,onCancelKeyboardReorder:()=>{this.setState({localPaneData:Gi.taskPaneDataFactory.cloneTaskPaneData(this.props.groups,this.props.queries)})}}:this.props.callbacks,this.paneDataUpdate=e=>{},this.buildTaskPaneData=(e,t,r)=>Gi.taskPaneDataFactory.build(t,e,r),Gi.taskPaneDataFactory=new Hi,this.props.queries&&this.props.groups?this.state={localPaneData:Gi.taskPaneDataFactory.cloneTaskPaneData(this.props.groups,this.props.queries)}:this.state={localPaneData:{queries:null,groups:null}},this.writeSearchTelemetry=!0}}var zi,Ui,Vi,ji,qi,$i,Qi,Xi,Yi,Ji,Zi,ea,ta;Gi.contextType=i,function(e){e[e.Null=-1]="Null",e[e.NewWorksheet=0]="NewWorksheet",e[e.ExistingWorksheet=1]="ExistingWorksheet"}(zi||(zi={})),function(e){e[e.Null=-1]="Null",e[e.Table=0]="Table",e[e.ConnectionOnly=1]="ConnectionOnly",e[e.PivotTable=2]="PivotTable",e[e.PivotChart=3]="PivotChart"}(Ui||(Ui={})),function(e){e[e.None=0]="None",e[e.FailedLoadToWorksheet=1]="FailedLoadToWorksheet",e[e.FailedLoadToDataModel=2]="FailedLoadToDataModel",e[e.FailedDownload=3]="FailedDownload",e[e.FailedToCompleteDownload=4]="FailedToCompleteDownload"}(Vi||(Vi={})),function(e){e[e.Create=0]="Create",e[e.Ungroup=1]="Ungroup",e[e.Delete=2]="Delete",e[e.Rename=3]="Rename",e[e.Move=4]="Move",e[e.SetProperties=5]="SetProperties"}(ji||(ji={})),function(e){e[e.None=-1]="None",e[e.MoveToGroup=0]="MoveToGroup",e[e.Delete=1]="Delete",e[e.Rename=2]="Rename",e[e.Reorder=3]="Reorder",e[e.Duplicate=4]="Duplicate",e[e.Properties=5]="Properties",e[e.LoadTo=6]="LoadTo",e[e.Reference=7]="Reference",e[e.Merge=8]="Merge",e[e.Append=9]="Append",e[e.ExportConnectionFile=10]="ExportConnectionFile"}(qi||(qi={})),function(e){e[e.ResolveChallengeFlow=0]="ResolveChallengeFlow",e[e.ManageConnectionsFlow=1]="ManageConnectionsFlow",e[e.EditQuery=2]="EditQuery",e[e.GetDataFlow=3]="GetDataFlow",e[e.SheetPreviewFlow=4]="SheetPreviewFlow",e[e.CreateAndAutoBindConnectionFlow=5]="CreateAndAutoBindConnectionFlow"}($i||($i={})),function(e){e.MashupClientDivId="PowerQueryMashupClientId",e.SheetPreviewDivId="PowerQuerySheetPreviewDiv"}(Qi||(Qi={})),function(e){e.None="Excel_Ribbon_None",e.CloseAndLoad="Excel_Ribbon_CloseAndLoad",e.CloseAndLoadTo="Excel_Ribbon_CloseAndLoadTo"}(Xi||(Xi={})),function(e){e.None="None",e.Function="Function",e.Parameter="Parameter"}(Yi||(Yi={})),function(e){e[e.Null=-1]="Null",e[e.Table=0]="Table",e[e.ConnectionOnly=1]="ConnectionOnly",e[e.PivotTable=2]="PivotTable",e[e.PivotChart=3]="PivotChart"}(Ji||(Ji={})),function(e){e[e.None=0]="None",e[e.FailedLoadToWorksheet=1]="FailedLoadToWorksheet",e[e.FailedLoadToDataModel=2]="FailedLoadToDataModel",e[e.FailedDownload=3]="FailedDownload",e[e.FailedToCompleteDownload=4]="FailedToCompleteDownload"}(Zi||(Zi={})),function(e){e[e.Create=0]="Create",e[e.Ungroup=1]="Ungroup",e[e.Delete=2]="Delete",e[e.Rename=3]="Rename",e[e.Move=4]="Move",e[e.SetProperties=5]="SetProperties"}(ea||(ea={})),function(e){e[e.None=-1]="None",e[e.MoveToGroup=0]="MoveToGroup",e[e.Delete=1]="Delete",e[e.Rename=2]="Rename",e[e.Reorder=3]="Reorder",e[e.Duplicate=4]="Duplicate",e[e.Properties=5]="Properties",e[e.LoadTo=6]="LoadTo",e[e.Reference=7]="Reference",e[e.Merge=8]="Merge",e[e.Append=9]="Append",e[e.ExportConnectionFile=10]="ExportConnectionFile"}(ta||(ta={}));var ra=r(91496),na=r(9662);const oa=e=>{const{nativeServices:t}=e,r=function(e){const t=e.UxppPowerQueryService.value,r=(0,na.A)(t.getQueriesAndGroups,t.onQueriesAndGroupsUpdate),n=(0,na.A)(t.getConnections,t.onConnectionListUpdate),o=(0,na.A)(t.getSelectedQueryKey,t.onSelectedQueryKeyUpdate),i={onQuerySelected:e=>t.onQuerySelected(e),onQueryRefresh:e=>t.onQueryRefresh(e),handleQueryGroupOperation:(e,r)=>{return t.handleQueryGroupOperation(function(e){switch(e){case ji.Create:return ea.Create;case ji.Delete:return ea.Delete;case ji.Move:return ea.Move;case ji.Rename:return ea.Rename;case ji.SetProperties:return ea.SetProperties;case ji.Ungroup:return ea.Ungroup;default:(0,ra.x)(e)}}(e),{id:(n=r).id??"",description:n.description??"",name:n.name??"",parentId:n.parentId??""});var n},onCancelQueryRefresh:e=>t.onCancelQueryRefresh(e),handleQueryAction:(e,r)=>{return t.handleQueryAction(function(e){switch(e){case qi.Delete:return ta.Delete;case qi.MoveToGroup:return ta.MoveToGroup;case qi.Rename:return ta.Rename;case qi.Reorder:return ta.Reorder;case qi.None:return ta.None;case qi.Duplicate:return ta.Duplicate;case qi.Properties:return ta.Properties;case qi.LoadTo:return ta.LoadTo;case qi.Reference:return ta.Reference;case qi.Merge:return ta.Merge;case qi.Append:return ta.Append;case qi.ExportConnectionFile:return ta.ExportConnectionFile;default:(0,ra.x)(e)}}(e),{name:(n=r).name??"",extraData:n.extraData??""});var n},onSetQueryProperties:e=>{return t.onSetQueryProperties({OldName:(r=e).OldName??"",NewName:r.NewName??"",Description:r.Description??"",RefreshControls:r.RefreshControls??{}});var r},onLegacyConnectionRefresh:e=>t.onLegacyConnectionRefresh(e),onLegacyConnectionCancelRefresh:e=>t.onLegacyConnectionCancelRefresh(e),onLegacyConnectionDelete:e=>t.onLegacyConnectionDelete(e)},a={"Microsoft.Office.Excel.PowerQueryTaskPaneRenameQuery":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryTaskPaneRenameQuery",!1),"Microsoft.Office.Excel.PowerQueryTaskPaneDeleteQuery":(0,s.isChangeGateEnabled)("Microsoft.Office.Excel.PowerQueryTaskPaneDeleteQuery"),"Microsoft.Office.Excel.PowerQueryTaskPaneDuplicateQuery":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryTaskPaneDuplicateQuery",!1),"Microsoft.Office.Excel.PowerQueryClearAllCredentialTaskPane":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryClearAllCredentialTaskPane",!1),"Microsoft.Office.Excel.PowerQueryAuthenticateRefresh":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryAuthenticateRefresh",!1),"Microsoft.Office.Excel.PowerQueryDeleteQueryGroup":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryDeleteQueryGroup",!1),"Microsoft.Office.Excel.PowerQueryTaskPaneQueryProperties":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryTaskPaneQueryProperties",!1),"Microsoft.Office.Excel.PowerQueryImport":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.PowerQueryImport",!1),"Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO":(0,s.getBooleanFeatureGate)("Microsoft.Office.Excel.EnableConnectionOnlyQueryRefreshXLO",!1),isPowerQueryCopyEnabled:!1,isPowerQueryPasteEnabled:!1,"Microsoft.Office.Excel.PowerQueryProvideFeedback":!1,"Microsoft.Office.Excel.DeleteOtherQueriesGroup":!1,isLoadToEnabled:!1,isReferenceEnabled:!1,isMergeEnabled:!1,isAppendEnabled:!1,isExportConnectionFileEnabled:!1,isAADDocumentHost:!0,isPowerQueryEditEnabled:!0,isPowerQueryTaskPaneConnectionActionsEnabled:!0,isDocumentStructureLocked:!1,isTooltipEnabled:!1};return{selectedQueryKey:o,queries:(l=r?.queries,l?.map((e=>({...e,fillObjectType:c(e.fillObjectType),queryError:d(e.queryError),currentRunningOperation:u(e.currentRunningOperation)})))),groups:r?.groups,connections:function(e){return e?.map((e=>({...e,fillObjectType:c(e.fillObjectType??Ji.Null)})))}(n),callbacks:i,getBooleanProperty:e=>function(e){let t=a[e];return void 0===t?t=!1:!t&&e.startsWith("Microsoft.Office."),t}(e??"")};var l;function u(e){switch(e){case ta.None:return qi.None;case ta.Delete:return qi.Delete;case ta.Rename:return qi.Rename;case ta.MoveToGroup:return qi.MoveToGroup;case ta.Reorder:return qi.Reorder;case ta.Duplicate:return qi.Duplicate;case ta.Properties:return qi.Properties;case ta.LoadTo:return qi.LoadTo;case ta.Reference:return qi.Reference;case ta.Merge:return qi.Merge;case ta.Append:return qi.Append;case ta.ExportConnectionFile:return qi.ExportConnectionFile}}function c(e){switch(e){case Ji.Null:return Ui.Null;case Ji.Table:return Ui.Table;case Ji.ConnectionOnly:return Ui.ConnectionOnly;case Ji.PivotTable:return Ui.PivotTable;case Ji.PivotChart:return Ui.PivotChart;default:(0,ra.x)(e)}}function d(e){switch(e){case Zi.None:return Vi.None;case Zi.FailedDownload:return Vi.FailedDownload;case Zi.FailedLoadToDataModel:return Vi.FailedLoadToDataModel;case Zi.FailedLoadToWorksheet:return Vi.FailedLoadToWorksheet;case Zi.FailedToCompleteDownload:return Vi.FailedToCompleteDownload;default:(0,ra.x)(e)}}}(t);return n.createElement(Gi,{...r})}},56987:(e,t,r)=>{"use strict";r(15228),e.exports=r(44222)},19827:(e,t,r)=>{"use strict";var n=r(17542),o=r(13844),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},62087:(e,t,r)=>{"use strict";var n=r(45382),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},41760:(e,t,r)=>{"use strict";var n=r(86252),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},91279:(e,t,r)=>{"use strict";var n=r(96353),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},47984:(e,t,r)=>{"use strict";var n=r(40370),o=r(96261),i=r(92235),a=function(e){return function(t,r,a){var s=n(t),l=i(s);if(0===l)return!e&&-1;var u,c=o(a,l);if(e&&r!=r){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},69129:e=>{"use strict";var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",n=t+"-_",o=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:o(r),i2cUrl:n,c2iUrl:o(n)}},64523:(e,t,r)=>{"use strict";var n=r(23639),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},15992:(e,t,r)=>{"use strict";var n=r(65947),o=r(17542),i=r(64523),a=r(45476)("toStringTag"),s=Object,l="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:l?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},42295:(e,t,r)=>{"use strict";var n=r(18040),o=r(41238),i=r(22946),a=r(76416);e.exports=function(e,t,r){for(var s=o(t),l=a.f,u=i.f,c=0;c<s.length;c++){var d=s[c];n(e,d)||r&&n(r,d)||l(e,d,u(t,d))}}},64494:(e,t,r)=>{"use strict";var n=r(70491),o=r(76416),i=r(93253);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},93253:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},47135:(e,t,r)=>{"use strict";var n=r(81692),o=r(76416);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},70163:(e,t,r)=>{"use strict";var n=r(17542),o=r(76416),i=r(81692),a=r(49648);e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&i(r,u,s),s.global)l?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},49648:(e,t,r)=>{"use strict";var n=r(44222),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},70491:(e,t,r)=>{"use strict";var n=r(99440);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},75452:(e,t,r)=>{"use strict";var n=r(44222),o=r(96353),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},36789:e=>{"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},27673:(e,t,r)=>{"use strict";var n=r(44222),o=r(64523);e.exports="process"===o(n.process)},26047:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},57879:(e,t,r)=>{"use strict";var n,o,i=r(44222),a=r(26047),s=i.process,l=i.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(o=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},30708:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},37758:(e,t,r)=>{"use strict";var n=r(23639),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},56947:(e,t,r)=>{"use strict";var n=r(70491),o=r(99440),i=r(91279),a=r(66804),s=Error.prototype.toString,l=o((function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==s.call(e))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));e.exports=l?function(){var e=i(this),t=a(e.name,"Error"),r=a(e.message);return t?r?t+": "+r:t:r}:s},90151:(e,t,r)=>{"use strict";var n=r(44222),o=r(22946).f,i=r(64494),a=r(70163),s=r(49648),l=r(42295),u=r(73347);e.exports=function(e,t){var r,c,d,p,h,g=e.target,m=e.global,f=e.stat;if(r=m?n:f?n[g]||s(g,{}):n[g]&&n[g].prototype)for(c in t){if(p=t[c],d=e.dontCallGetSet?(h=o(r,c))&&h.value:r[c],!u(m?c:g+(f?".":"#")+c,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(r,c,p,e)}}},99440:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},35309:(e,t,r)=>{"use strict";var n=r(99440);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},66182:(e,t,r)=>{"use strict";var n=r(35309),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},95957:(e,t,r)=>{"use strict";var n=r(70491),o=r(18040),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,u=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},49603:(e,t,r)=>{"use strict";var n=r(23639),o=r(19827);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},23639:(e,t,r)=>{"use strict";var n=r(35309),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},80066:(e,t,r)=>{"use strict";var n=r(44222),o=r(17542);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},71131:(e,t,r)=>{"use strict";var n=r(19827),o=r(3564);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},44222:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},18040:(e,t,r)=>{"use strict";var n=r(23639),o=r(42838),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},45814:e=>{"use strict";e.exports={}},21524:(e,t,r)=>{"use strict";var n=r(80066);e.exports=n("document","documentElement")},77076:(e,t,r)=>{"use strict";var n=r(70491),o=r(99440),i=r(75452);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},65830:(e,t,r)=>{"use strict";var n=r(23639),o=r(99440),i=r(64523),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},88952:(e,t,r)=>{"use strict";var n=r(17542),o=r(96353),i=r(55748);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},53643:(e,t,r)=>{"use strict";var n=r(23639),o=r(17542),i=r(23628),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9768:(e,t,r)=>{"use strict";var n,o,i,a=r(59611),s=r(44222),l=r(96353),u=r(64494),c=r(18040),d=r(23628),p=r(78438),h=r(45814),g="Object already initialized",m=s.TypeError,f=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new f);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m(g);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,n=function(e,t){if(c(e,b))throw new m(g);return t.facade=e,u(e,b,t),t},o=function(e){return c(e,b)?e[b]:{}},i=function(e){return c(e,b)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},17542:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},73347:(e,t,r)=>{"use strict";var n=r(99440),o=r(17542),i=/#|\.prototype\./,a=function(e,t){var r=l[s(e)];return r===c||r!==u&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},3564:e=>{"use strict";e.exports=function(e){return null==e}},96353:(e,t,r)=>{"use strict";var n=r(17542);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},45382:(e,t,r)=>{"use strict";var n=r(96353);e.exports=function(e){return n(e)||null===e}},60828:e=>{"use strict";e.exports=!1},55278:(e,t,r)=>{"use strict";var n=r(80066),o=r(17542),i=r(86252),a=r(24123),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},92235:(e,t,r)=>{"use strict";var n=r(9141);e.exports=function(e){return n(e.length)}},81692:(e,t,r)=>{"use strict";var n=r(23639),o=r(99440),i=r(17542),a=r(18040),s=r(70491),l=r(95957).CONFIGURABLE,u=r(53643),c=r(9768),d=c.enforce,p=c.get,h=String,g=Object.defineProperty,m=n("".slice),f=n("".replace),v=n([].join),b=s&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),y=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===m(h(t),0,7)&&(t="["+f(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?g(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&a(r,"arity")&&e.length!==r.arity&&g(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return a(n,"source")||(n.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=S((function(){return i(this)&&p(this).source||u(this)}),"toString")},94932:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},66804:(e,t,r)=>{"use strict";var n=r(77108);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},81879:(e,t,r)=>{"use strict";var n,o=r(91279),i=r(94296),a=r(30708),s=r(45814),l=r(21524),u=r(75452),c=r(78438),d="prototype",p="script",h=c("IE_PROTO"),g=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},f=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;v="undefined"!=typeof document?document.domain&&n?f(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):f(n);for(var o=a.length;o--;)delete v[d][a[o]];return v()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[d]=o(e),r=new g,g[d]=null,r[h]=e):r=v(),void 0===t?r:i.f(r,t)}},94296:(e,t,r)=>{"use strict";var n=r(70491),o=r(21353),i=r(76416),a=r(91279),s=r(40370),l=r(64503);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),o=l(t),u=o.length,c=0;u>c;)i.f(e,r=o[c++],n[r]);return e}},76416:(e,t,r)=>{"use strict";var n=r(70491),o=r(77076),i=r(21353),a=r(91279),s=r(31082),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},22946:(e,t,r)=>{"use strict";var n=r(70491),o=r(66182),i=r(71986),a=r(93253),s=r(40370),l=r(31082),u=r(18040),c=r(77076),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},22359:(e,t,r)=>{"use strict";var n=r(82249),o=r(30708).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},35470:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},86252:(e,t,r)=>{"use strict";var n=r(23639);e.exports=n({}.isPrototypeOf)},82249:(e,t,r)=>{"use strict";var n=r(23639),o=r(18040),i=r(40370),a=r(47984).indexOf,s=r(45814),l=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,c=[];for(r in n)!o(s,r)&&o(n,r)&&l(c,r);for(;t.length>u;)o(n,r=t[u++])&&(~a(c,r)||l(c,r));return c}},64503:(e,t,r)=>{"use strict";var n=r(82249),o=r(30708);e.exports=Object.keys||function(e){return n(e,o)}},71986:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},55748:(e,t,r)=>{"use strict";var n=r(49603),o=r(96353),i=r(45803),a=r(62087);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),a(n),o(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},44698:(e,t,r)=>{"use strict";var n=r(65947),o=r(15992);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},85281:(e,t,r)=>{"use strict";var n=r(66182),o=r(17542),i=r(96353),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},41238:(e,t,r)=>{"use strict";var n=r(80066),o=r(23639),i=r(22359),a=r(35470),s=r(91279),l=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?l(t,r(e)):t}},60850:(e,t,r)=>{"use strict";var n=r(44222);e.exports=n},45803:(e,t,r)=>{"use strict";var n=r(3564),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},56828:(e,t,r)=>{"use strict";var n=r(76416).f,o=r(18040),i=r(45476)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},78438:(e,t,r)=>{"use strict";var n=r(4452),o=r(84423),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},23628:(e,t,r)=>{"use strict";var n=r(60828),o=r(44222),i=r(49648),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4452:(e,t,r)=>{"use strict";var n=r(23628);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},41938:(e,t,r)=>{"use strict";var n=r(57879),o=r(99440),i=r(44222).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},96261:(e,t,r)=>{"use strict";var n=r(95598),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},40370:(e,t,r)=>{"use strict";var n=r(65830),o=r(45803);e.exports=function(e){return n(o(e))}},95598:(e,t,r)=>{"use strict";var n=r(94932);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},9141:(e,t,r)=>{"use strict";var n=r(95598),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},42838:(e,t,r)=>{"use strict";var n=r(45803),o=Object;e.exports=function(e){return o(n(e))}},82960:(e,t,r)=>{"use strict";var n=r(66182),o=r(96353),i=r(55278),a=r(71131),s=r(85281),l=r(45476),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,l=a(e,c);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},31082:(e,t,r)=>{"use strict";var n=r(82960),o=r(55278);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},65947:(e,t,r)=>{"use strict";var n={};n[r(45476)("toStringTag")]="z",e.exports="[object z]"===String(n)},77108:(e,t,r)=>{"use strict";var n=r(15992),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},88852:(e,t,r)=>{"use strict";var n=r(27673);e.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(e){}}},13844:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},84423:(e,t,r)=>{"use strict";var n=r(23639),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},24123:(e,t,r)=>{"use strict";var n=r(41938);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},21353:(e,t,r)=>{"use strict";var n=r(70491),o=r(99440);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2231:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},59611:(e,t,r)=>{"use strict";var n=r(44222),o=r(17542),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},45476:(e,t,r)=>{"use strict";var n=r(44222),o=r(4452),i=r(18040),a=r(84423),s=r(41938),l=r(24123),u=n.Symbol,c=o("wks"),d=l?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(c[e]=s&&i(u,e)?u[e]:d("Symbol."+e)),c[e]}},61487:(e,t,r)=>{"use strict";var n=r(70163),o=r(56947),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},15228:(e,t,r)=>{"use strict";var n=r(90151),o=r(44222);n({global:!0,forced:o.globalThis!==o},{globalThis:o})},95108:(e,t,r)=>{"use strict";var n=r(65947),o=r(70163),i=r(44698);n||o(Object.prototype,"toString",i,{unsafe:!0})},69856:(e,t,r)=>{"use strict";var n=r(90151),o=r(44222),i=r(80066),a=r(23639),s=r(66182),l=r(99440),u=r(77108),c=r(2231),d=r(69129).c2i,p=/[^\d+/a-z]/i,h=/[\t\n\f\r ]+/g,g=/[=]{1,2}$/,m=i("atob"),f=String.fromCharCode,v=a("".charAt),b=a("".replace),y=a(p.exec),S=!!m&&!l((function(){return"hi"!==m("aGk=")})),C=S&&l((function(){return""!==m(" ")})),T=S&&!l((function(){m("a")})),k=S&&!l((function(){m()})),F=S&&1!==m.length;n({global:!0,bind:!0,enumerable:!0,forced:!S||C||T||k||F},{atob:function(e){if(c(arguments.length,1),S&&!C&&!T)return s(m,o,e);var t,r,n,a=b(u(e),h,""),l="",k=0,F=0;if(a.length%4==0&&(a=b(a,g,"")),(t=a.length)%4==1||y(p,a))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;k<t;)r=v(a,k++),n=F%4?64*n+d[r]:d[r],F++%4&&(l+=f(255&n>>(-2*F&6)));return l}})},85630:(e,t,r)=>{"use strict";var n=r(90151),o=r(44222),i=r(80066),a=r(23639),s=r(66182),l=r(99440),u=r(77108),c=r(2231),d=r(69129).i2c,p=i("btoa"),h=a("".charAt),g=a("".charCodeAt),m=!!p&&!l((function(){return"aGk="!==p("hi")})),f=m&&!l((function(){p()})),v=m&&l((function(){return"bnVsbA=="!==p(null)})),b=m&&1!==p.length;n({global:!0,bind:!0,enumerable:!0,forced:!m||f||v||b},{btoa:function(e){if(c(arguments.length,1),m)return s(p,o,u(e));for(var t,r,n=u(e),a="",l=0,f=d;h(n,l)||(f="=",l%1);){if((r=g(n,l+=3/4))>255)throw new(i("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");a+=h(f,63&(t=t<<8|r)>>8-l%1*8)}return a}})},81688:(e,t,r)=>{"use strict";var n=r(90151),o=r(88852),i=r(80066),a=r(99440),s=r(81879),l=r(93253),u=r(76416).f,c=r(70163),d=r(47135),p=r(18040),h=r(41760),g=r(91279),m=r(56947),f=r(66804),v=r(36789),b=r(37758),y=r(9768),S=r(70491),C=r(60828),T="DOMException",k="DATA_CLONE_ERR",F=i("Error"),E=i(T)||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===k&&25===e.code)return e.constructor}}(),A=E&&E.prototype,I=F.prototype,x=y.set,w=y.getterFor(T),P="stack"in new F(T),R=function(e){return p(v,e)&&v[e].m?v[e].c:0},D=function(){h(this,_);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=R(r);if(x(this,{type:T,name:r,message:t,code:n}),S||(this.name=r,this.message=t,this.code=n),P){var o=new F(t);o.name=T,u(this,"stack",l(1,b(o.stack,1)))}},_=D.prototype=s(I),N=function(e){return{enumerable:!0,configurable:!0,get:e}},O=function(e){return N((function(){return w(this)[e]}))};S&&(d(_,"code",O("code")),d(_,"message",O("message")),d(_,"name",O("name"))),u(_,"constructor",l(1,D));var M=a((function(){return!(new E instanceof F)})),B=M||a((function(){return I.toString!==m||"2: 1"!==String(new E(1,2))})),L=M||a((function(){return 25!==new E(1,"DataCloneError").code})),K=M||25!==E[k]||25!==A[k],W=C?B||L||K:M;n({global:!0,constructor:!0,forced:W},{DOMException:W?D:E});var H=i(T),G=H.prototype;for(var z in B&&(C||E===H)&&c(G,"toString",m),L&&S&&E===H&&d(G,"code",N((function(){return R(g(this).name)}))),v)if(p(v,z)){var U=v[z],V=U.s,j=l(6,U.c);p(H,V)||u(H,V,j),p(G,V)||u(G,V,j)}},27752:(e,t,r)=>{"use strict";var n=r(90151),o=r(44222),i=r(80066),a=r(93253),s=r(76416).f,l=r(18040),u=r(41760),c=r(88952),d=r(66804),p=r(36789),h=r(37758),g=r(70491),m=r(60828),f="DOMException",v=i("Error"),b=i(f),y=function(){u(this,S);var e=arguments.length,t=d(e<1?void 0:arguments[0]),r=d(e<2?void 0:arguments[1],"Error"),n=new b(t,r),o=new v(t);return o.name=f,s(n,"stack",a(1,h(o.stack,1))),c(n,this,y),n},S=y.prototype=b.prototype,C="stack"in new v(f),T="stack"in new b(1,2),k=b&&g&&Object.getOwnPropertyDescriptor(o,f),F=!(!k||k.writable&&k.configurable),E=C&&!F&&!T;n({global:!0,constructor:!0,forced:m||E},{DOMException:E?y:b});var A=i(f),I=A.prototype;if(I.constructor!==A)for(var x in m||s(I,"constructor",a(1,A)),p)if(l(p,x)){var w=p[x],P=w.s;l(A,P)||s(A,P,a(6,w.c))}},59016:(e,t,r)=>{"use strict";var n=r(80066),o="DOMException";r(56828)(n(o),o)},49552:(e,t,r)=>{"use strict";r(61487),r(95108),r(69856),r(81688),r(27752),r(59016);var n=r(60850);e.exports=n.atob},75790:(e,t,r)=>{"use strict";r(61487),r(95108),r(85630),r(81688),r(27752),r(59016);var n=r(60850);e.exports=n.btoa},55108:(e,t,r)=>{"use strict";var n=r(56987);e.exports=n},23554:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},43270:(e,t,r)=>{"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{A:()=>o})},78869:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},15496:(e,t,r)=>{"use strict";r.d(t,{M:()=>ue,s:()=>ce});var n=r(10477),o=r(84394),i="dnd-core/INIT_COORDS",a="dnd-core/BEGIN_DRAG",s="dnd-core/PUBLISH_DRAG_SOURCE",l="dnd-core/HOVER",u="dnd-core/DROP",c="dnd-core/END_DRAG",d=function(e,t){return e===t};function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function m(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,n=arguments.length>1?arguments[1]:void 0,o=n.payload;switch(n.type){case i:case a:return{initialSourceClientOffset:o.sourceClientOffset,initialClientOffset:o.clientOffset,clientOffset:o.clientOffset};case l:return e=r.clientOffset,t=o.clientOffset,!e&&!t||e&&t&&e.x===t.x&&e.y===t.y?r:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{clientOffset:o.clientOffset});case c:case u:return g;default:return r}}var f="dnd-core/ADD_SOURCE",v="dnd-core/ADD_TARGET",b="dnd-core/REMOVE_SOURCE",y="dnd-core/REMOVE_TARGET";function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function C(e){return"object"===S(e)}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){F(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function A(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,n=arguments.length>1?arguments[1]:void 0,o=n.payload;switch(n.type){case a:return k({},r,{itemType:o.itemType,item:o.item,sourceId:o.sourceId,isSourcePublic:o.isSourcePublic,dropResult:null,didDrop:!1});case s:return k({},r,{isSourcePublic:!0});case l:return k({},r,{targetIds:o.targetIds});case y:return-1===r.targetIds.indexOf(o.targetId)?r:k({},r,{targetIds:(e=r.targetIds,t=o.targetId,e.filter((function(e){return e!==t})))});case u:return k({},r,{dropResult:o.dropResult,didDrop:!0,targetIds:[]});case c:return k({},r,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return r}}function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;switch((arguments.length>1?arguments[1]:void 0).type){case f:case v:return e+1;case b:case y:return e-1;default:return e}}var x=[],w=[];function P(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case l:break;case f:case v:case y:case b:return x;default:return w}var t=e.payload,r=t.targetIds,n=void 0===r?[]:r,o=t.prevTargetIds,i=void 0===o?[]:o,a=function(e,t){var r=new Map,n=function(e){return r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);var o=[];return r.forEach((function(e,t){1===e&&o.push(t)})),o}(n,i),s=a.length>0||!function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(n,i);if(!s)return x;var u=i[i.length-1],c=n[n.length-1];return u!==c&&(u&&a.push(u),c&&a.push(c)),a}function R(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:P(r.dirtyHandlerIds,{type:n.type,payload:_({},n.payload,{prevTargetIds:(e=r,"dragOperation.targetIds",t=[],"dragOperation.targetIds".split(".").reduce((function(e,r){return e&&e[r]?e[r]:t||null}),e))})}),dragOffset:m(r.dragOffset,n),refCount:I(r.refCount,n),dragOperation:A(r.dragOperation,n),stateId:R(r.stateId)}}x.__IS_NONE__=!0,w.__IS_ALL__=!0;var M=r(6204);function B(e,t){return{type:i,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}var L={type:i,payload:{clientOffset:null,sourceClientOffset:null}};function K(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},n=r.publishSource,o=void 0===n||n,i=r.clientOffset,s=r.getSourceClientOffset,l=e.getMonitor(),u=e.getRegistry();e.dispatch(B(i)),function(e,t,r){M(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){M(r.getSource(e),"Expected sourceIds to be registered.")}))}(t,l,u);var c=function(e,t){for(var r=null,n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,l);if(null!==c){var d=null;i&&(function(e){M("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(s),d=s(c)),e.dispatch(B(i,d));var p=u.getSource(c).beginDrag(l,c);!function(e){M(C(e),"Item must be an object.")}(p),u.pinSource(c);var h=u.getSourceType(c);return{type:a,payload:{itemType:h,item:p,sourceId:c,clientOffset:i||null,sourceClientOffset:d||null,isSourcePublic:!!o}}}e.dispatch(L)}}function W(e){return function(){if(e.getMonitor().isDragging())return{type:s}}}function H(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}function G(e){return function(t){var r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).clientOffset;!function(e){M(Array.isArray(e),"Expected targetIds to be an array.")}(t);var n=t.slice(0),o=e.getMonitor(),i=e.getRegistry();return function(e,t,r){M(t.isDragging(),"Cannot call hover while not dragging."),M(!t.didDrop(),"Cannot call hover after drop.");for(var n=0;n<e.length;n++){var o=e[n];M(e.lastIndexOf(o)===n,"Expected targetIds to be unique in the passed array.");var i=r.getTarget(o);M(i,"Expected targetIds to be registered.")}}(n,o,i),function(e,t,r){for(var n=e.length-1;n>=0;n--){var o=e[n];H(t.getTargetType(o),r)||e.splice(n,1)}}(n,i,o.getItemType()),function(e,t,r){e.forEach((function(e){r.getTarget(e).hover(t,e)}))}(n,o,i),{type:l,payload:{targetIds:n,clientOffset:r||null}}}}function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){V(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.getMonitor(),n=e.getRegistry();!function(e){M(e.isDragging(),"Cannot call drop while not dragging."),M(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(r);var o=function(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(r);o.forEach((function(o,i){var a=function(e,t,r,n){var o=r.getTarget(e),i=o?o.drop(n,e):void 0;return function(e){M(void 0===e||C(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:n.getDropResult()),i}(o,i,n,r),s={type:u,payload:{dropResult:U({},t,{},a)}};e.dispatch(s)}))}}function q(e){return function(){var t=e.getMonitor(),r=e.getRegistry();!function(e){M(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);var n=t.getSourceId();return r.getSource(n,!0).endDrag(t,n),r.unpinSource(),{type:c}}}function $(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Q(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var X,Y=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.registry=r}var t,r;return t=e,r=[{key:"subscribeToStateChange",value:function(e){var t=this,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0}).handlerIds;M("function"==typeof e,"listener must be a function."),M(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");var n=this.store.getState().stateId;return this.store.subscribe((function(){var o=t.store.getState(),i=o.stateId;try{var a=i===n||i===n+1&&!function(e,t){return e!==x&&(e===w||void 0===t||(r=e,t.filter((function(e){return r.indexOf(e)>-1}))).length>0);var r}(o.dirtyHandlerIds,r);a||e()}finally{n=i}}))}},{key:"subscribeToOffsetChange",value:function(e){var t=this;M("function"==typeof e,"listener must be a function.");var r=this.store.getState().dragOffset;return this.store.subscribe((function(){var n=t.store.getState().dragOffset;n!==r&&(r=n,e())}))}},{key:"canDragSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e);return M(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){if(!e)return!1;var t=this.registry.getTarget(e);return M(t,"Expected to find a valid target."),!(!this.isDragging()||this.didDrop())&&H(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e,!0);return M(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){if(!e)return!1;var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1}).shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),n=this.getItemType();if(n&&!H(r,n))return!1;var o=this.getTargetIds();if(!o.length)return!1;var i=o.indexOf(e);return t?i===o.length-1:i>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return n=(e=this.store.getState().dragOffset).clientOffset,o=e.initialClientOffset,i=e.initialSourceClientOffset,n&&o&&i?$((r=i,{x:(t=n).x+r.x,y:t.y+r.y}),o):null;var e,t,r,n,o,i}},{key:"getDifferenceFromInitialOffset",value:function(){return t=(e=this.store.getState().dragOffset).clientOffset,r=e.initialClientOffset,t&&r?$(t,r):null;var e,t,r}}],r&&Q(t.prototype,r),e}(),J=r(57627),Z=0;function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e,t){t&&Array.isArray(e)?e.forEach((function(e){return te(e,!1)})):M("string"==typeof e||"symbol"===ee(e),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ne(e){switch(e[0]){case"S":return X.SOURCE;case"T":return X.TARGET;default:M(!1,"Cannot parse handler ID: ".concat(e))}}function oe(e,t){var r,n,o=e.entries(),i=!1;do{var a=o.next(),s=a.done;if((r=a.value,n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[1]===t)return!0;i=!!s}while(!i);return!1}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(X||(X={}));var ie=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}var t,r;return t=e,r=[{key:"addSource",value:function(e,t){te(e),function(e){M("function"==typeof e.canDrag,"Expected canDrag to be a function."),M("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),M("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var r=this.addHandler(X.SOURCE,e,t);return this.store.dispatch(function(e){return{type:f,payload:{sourceId:e}}}(r)),r}},{key:"addTarget",value:function(e,t){te(e,!0),function(e){M("function"==typeof e.canDrop,"Expected canDrop to be a function."),M("function"==typeof e.hover,"Expected hover to be a function."),M("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var r=this.addHandler(X.TARGET,e,t);return this.store.dispatch(function(e){return{type:v,payload:{targetId:e}}}(r)),r}},{key:"containsHandler",value:function(e){return oe(this.dragSources,e)||oe(this.dropTargets,e)}},{key:"getSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return M(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}},{key:"getTarget",value:function(e){return M(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}},{key:"getSourceType",value:function(e){return M(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}},{key:"getTargetType",value:function(e){return M(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}},{key:"isSourceId",value:function(e){return ne(e)===X.SOURCE}},{key:"isTargetId",value:function(e){return ne(e)===X.TARGET}},{key:"removeSource",value:function(e){var t=this;M(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:b,payload:{sourceId:e}}}(e)),J((function(){t.dragSources.delete(e),t.types.delete(e)}))}},{key:"removeTarget",value:function(e){M(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:y,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}},{key:"pinSource",value:function(e){var t=this.getSource(e);M(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){M(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(e,t,r){var n=function(e){var t=(Z++).toString();switch(e){case X.SOURCE:return"S".concat(t);case X.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}(e);return this.types.set(n,t),e===X.SOURCE?this.dragSources.set(n,r):e===X.TARGET&&this.dropTargets.set(n,r),n}}],r&&re(t.prototype,r),e}();function ae(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var se=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isSetUp=!1,this.handleRefCountChange=function(){var e=t.store.getState().refCount>0;t.backend&&(e&&!t.isSetUp?(t.backend.setup(),t.isSetUp=!0):!e&&t.isSetUp&&(t.backend.teardown(),t.isSetUp=!1))};var n=function(e){var t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return(0,o.y$)(O,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(r);this.store=n,this.monitor=new Y(n,new ie(n)),n.subscribe(this.handleRefCountChange)}var t,r;return t=e,r=[{key:"receiveBackend",value:function(e){this.backend=e}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch,r=function(e){return{beginDrag:K(e),publishDragSource:W(e),hover:G(e),drop:j(e),endDrag:q(e)}}(this);return Object.keys(r).reduce((function(n,o){var i,a=r[o];return n[o]=(i=a,function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var a=i.apply(e,n);void 0!==a&&t(a)}),n}),{})}},{key:"dispatch",value:function(e){this.store.dispatch(e)}}],r&&ae(t.prototype,r),e}();function le(e,t,r,n){var o=new se(n),i=e(o,t,r);return o.receiveBackend(i),o}var ue=n.createContext({dragDropManager:void 0});function ce(e,t,r,n){return{dragDropManager:le(e,t,r,n)}}},16533:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>N,__assign:()=>i,__asyncDelegator:()=>E,__asyncGenerator:()=>F,__asyncValues:()=>A,__await:()=>k,__awaiter:()=>g,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>_,__classPrivateFieldSet:()=>D,__createBinding:()=>f,__decorate:()=>s,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>o,__generator:()=>m,__importDefault:()=>P,__importStar:()=>w,__makeTemplateObject:()=>I,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>y,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>S,__spreadArray:()=>T,__spreadArrays:()=>C,__values:()=>b,default:()=>B});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=n.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?n.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),p=!1,h=r.length-1;h>=0;h--){var g={};for(var m in n)g[m]="access"===m?{}:n[m];for(var m in n.access)g.access[m]=n.access[m];g.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var f=(0,r[h])("accessor"===l?{get:d.get,set:d.set}:d[u],g);if("accessor"===l){if(void 0===f)continue;if(null===f||"object"!=typeof f)throw new TypeError("Object expected");(s=a(f.get))&&(d.get=s),(s=a(f.set))&&(d.set=s),(s=a(f.init))&&o.unshift(s)}else(s=a(f))&&("field"===l?o.unshift(s):d[u]=s)}c&&Object.defineProperty(c,n.name,d),p=!0}function c(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function g(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function m(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var f=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function v(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||f(t,e,r)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function S(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function C(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function T(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function F(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=o[e](t)).value instanceof k?Promise.resolve(r.value.v).then(l,u):c(i[0][2],r)}catch(e){c(i[0][3],e)}var r}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function E(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:k(e[n](t)),done:!1}:o?o(t):t}:o}}function A(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=b(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,o,(t=e[r](t)).done,t.value)}))}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&f(t,e,r);return x(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function R(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function D(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function _(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function N(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var O="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function M(e){function t(t){e.error=e.hasError?new O(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,(function(e){return t(e),r()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const B={__extends:o,__assign:i,__rest:a,__decorate:s,__param:l,__metadata:h,__awaiter:g,__generator:m,__createBinding:f,__exportStar:v,__values:b,__read:y,__spread:S,__spreadArrays:C,__spreadArray:T,__await:k,__asyncGenerator:F,__asyncDelegator:E,__asyncValues:A,__makeTemplateObject:I,__importStar:w,__importDefault:P,__classPrivateFieldGet:R,__classPrivateFieldSet:D,__classPrivateFieldIn:_,__addDisposableResource:N,__disposeResources:M}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=o(10477),t=o(88326),r=o(13839);const n={UxppPowerOptionsService:{isOptional:!1},UxppPowerOptionsJsService:{isOptional:!1}};var i,a=o(14927),s=o(73993),l=o(44388);!function(e){e[e.PowerOptionsTaskPane=0]="PowerOptionsTaskPane",e[e.DataCleansingTaskPane=1]="DataCleansingTaskPane",e[e.PowerQueryTaskPane=2]="PowerQueryTaskPane",e[e.NumOfTaskPanes=3]="NumOfTaskPanes"}(i||(i={}));const u=new Set(["excelInitialAppSprite","excelLazyAppSprite","excelRibbonSpriteLazy","excelUiSlice20Sprite","ribbonMenuSprite"]);var c=o(53836);const d=["Uxpp::Internal::RekaServices::UxppPowerOptionsService",{simulateThemeChange:["FireAndForgetMethod",["$number"],{}]}],p=["Uxpp::Internal::RekaServices::UxppPowerOptionsJsService",{simulateTestEvent:["ReturnsPromiseMethod","$string",["$string"],{}],onTestEvent:["Event","$string"]}],h=["Uxpp::Internal::RekaServices::UxppPaneLifecycleService",{onClose:["Event","Uxpp::TaskPanes::TaskPaneInstance"]}];var g=o(64038);g.CustomTypeRegistry.registerTypeInfos({"Uxpp::RekaServices::PowerOptionsTaskPane::PowerOptionsTaskPaneProps":{pal:["opt-field","$string"]}});const m=["Uxpp::RekaServices::PowerOptionsTaskPane::IPowerOptionsTaskPaneCallbacks",{doCall:["FireAndForgetMethod",[],{}]}];function f(e){return{UxppPowerOptionsService:new c.Lazy((()=>e.getNativeService(d))),UxppPowerOptionsJsService:new c.Lazy((()=>e.getNativeService(p))),UxppPaneLifecycleService:new c.Lazy((()=>e.getNativeService(h))),IPowerOptionsTaskPaneCallbacks:new c.Lazy((()=>e.getNativeService(m)))}}o(7075);var v=o(90051);const b=["X10::GridService",{stub:["ReturnsPromiseMethod","$any",[],{}]}],y=["Uxpp::Internal::RekaServices::UxppRoamingService",{read:["ReturnsPromiseMethod","$string",["$number"],{}],write:["ReturnsPromiseMethod","$any",["$number","$string"],{}]}];g.CustomTypeRegistry.registerTypeInfos({"Uxpp::Internal::RekaServices::LocalizedStringInformation":{id:"$number",param0:["opt-field","$string"],param1:["opt-field","$string"],param2:["opt-field","$string"]}});const S=["Uxpp::Internal::RekaServices::UxppLocalizedStringsService",{getLocalizedStrings:["ReturnsPromiseMethod",["$array","$string"],[["$array","Uxpp::Internal::RekaServices::LocalizedStringInformation"]],{}]}],C=["Uxpp::Internal::RekaServices::UxppLocalStorageService",{read:["ReturnsPromiseMethod","$string",["$number"],{}],set:["ReturnsPromiseMethod","$any",["$number","$string"],{}],remove:["ReturnsPromiseMethod","$any",["$number"],{}]}],T=["Uxpp::Internal::RekaServices::UxppLicenseService",{hasLicense:["ReturnsPromiseMethod","$boolean",["$number"],{}]}],k=["Uxpp::Internal::RekaServices::UxppHelpService",{openHelpArticle:["ReturnsPromiseMethod","$any",["$number"],{}]}],F=["Uxpp::Internal::RekaServices::UxppFeedbackService",{sendFeedback:["ReturnsPromiseMethod","$any",["$string"],{}],isFeedbackEnabled:["ReturnsPromiseMethod","$boolean",[],{}]}];g.CustomTypeRegistry.registerTypeInfos({"Uxpp::Internal::RekaServices::BusinessBarCallback":{action:"$number",handle:"$number",actionButtonId:["opt-field","$number"]}});const E=["Uxpp::Internal::RekaServices::UxppBusinessBarService",{showBusinessBar:["ReturnsPromiseMethod","$number",["$number","$number","$number","$string","$string",["$array","$string"],["$array","$boolean"]],{}],hideBusinessBar:["ReturnsPromiseMethod","$any",["$number"],{}],callback:["Event","Uxpp::Internal::RekaServices::BusinessBarCallback"]}],A=["Uxpp::Internal::RekaServices::UxppAugmentationLoopService",{getDocSessionId:["ReturnsPromiseMethod","$string",[],{}]}],I=["Uxpp::Internal::RekaServices::UxppTaskPaneService",{openTaskPane:["ReturnsPromiseMethod","$any",["$number"],{}]}],x=["Uxpp::Internal::RekaServices::SharedFeatureGateService",{getSharedFeatureGate:["ReturnsPromiseMethod","$boolean",[["$union",["Uxpp::SharedFeatureGates::Microsoft_Office_Excel_DesktopX10UxppEnabled","Uxpp::SharedFeatureGates::Microsoft_Office_Excel_DesktopX10VPEnabled","Uxpp::SharedFeatureGates::Microsoft_Office_Excel_DesktopX10FBEEnabled"]]],{}]}],w=["Uxpp::Internal::RekaServices::UxppWorksheetService",{TrimWhitespace:["ReturnsPromiseMethod","$number",["$number",["$array","Uxpp::Internal::RekaServices::RangeAddress"],"$string"],{isundoable:"true",isreadonly:"false"}],TrimWhitespaceMultipleTypes:["ReturnsPromiseMethod","$number",[["$array","$number"],["$array","Uxpp::Internal::RekaServices::RangeAddress"],"$string"],{isundoable:"true",isreadonly:"false"}],FindHidden:["ReturnsPromiseMethod",["$array","Uxpp::Internal::RekaServices::IndicesRange"],[["$array","Uxpp::Internal::RekaServices::IndicesRange"],"$number"],{}],FormatNumbers:["ReturnsPromiseMethod","$number",[["$array","Uxpp::Internal::RekaServices::RangeAddress"],"$number","$string"],{isundoable:"true",isreadonly:"false"}]}];g.CustomTypeRegistry.registerTypeInfos({"Uxpp::RekaServices::QueryPropertiesControls":{isBackgroundRefreshEnabled:["opt-field","$boolean"],shouldDisableBackgroundRefreshCheckbox:["opt-field","$boolean"],isIntervalRefreshEnabled:["opt-field","$boolean"],shouldDisableIntervalRefreshCheckbox:["opt-field","$boolean"],intervalInMinutes:["opt-field","$number"],isRefreshOnOpenEnabled:["opt-field","$boolean"],shouldDisableRefreshOnOpenCheckbox:["opt-field","$boolean"],isRefreshOnRefreshAllEnabled:["opt-field","$boolean"],shouldDisableRefreshOnRefreshAllCheckbox:["opt-field","$boolean"],isFastDataLoadEnabled:["opt-field","$boolean"],shouldDisableFastDataLoadCheckbox:["opt-field","$boolean"],isRemoveDataEnabled:["opt-field","$boolean"],shouldDisableRemoveDataCheckbox:["opt-field","$boolean"],isAlwaysUseConnectionFileEnabled:["opt-field","$boolean"],shouldDisableAlwaysUseConnectionFileCheckbox:["opt-field","$boolean"]},"Uxpp::RekaServices::QueryInfo":{name:["opt-field","$string"],rowsLoaded:"$number",lastRefresh:["opt-field","$string"],fillObjectType:"$number",loadedToDataModel:"$boolean",queryError:"$number",groupKey:["opt-field","$string"],nestingDepth:"$number",rowsWithError:"$number",inRefresh:"$boolean",refreshEnabled:"$boolean",currentRunningOperation:"$number",runTimeId:["opt-field","$string"],description:["opt-field","$string"],formula:["opt-field","$string"],propertiesControls:["opt-field","Uxpp::RekaServices::QueryPropertiesControls"]},"Uxpp::RekaServices::GroupInfo":{key:["opt-field","$string"],name:["opt-field","$string"],count:"$number",startIndex:"$number",children:["opt-field",["$array","Uxpp::RekaServices::GroupInfo"]],data:["opt-field","$string"],level:"$number",order:"$number",parentKey:["opt-field","$string"],isDeleting:"$boolean"},"Uxpp::RekaServices::GroupOperationPayload":{id:["opt-field","$string"],name:["opt-field","$string"],description:["opt-field","$string"],parentId:["opt-field","$string"]},"Uxpp::RekaServices::QueryActionPayload":{name:["opt-field","$string"],extraData:["opt-field","$string"]},"Uxpp::RekaServices::ConnectionInfo":{name:["opt-field","$string"],description:["opt-field","$string"],fillObjectType:["opt-field","$number"],loadedToDataModel:"$boolean",inRefresh:"$boolean",refreshEnabled:"$boolean"},"Uxpp::RekaServices::QueriesAndGroups":{queries:["$array","Uxpp::RekaServices::QueryInfo"],groups:["$array","Uxpp::RekaServices::GroupInfo"]},"Uxpp::RekaServices::SetQueryPropertiesRefreshControls":{IsBackgroundRefreshEnabled:["opt-field","$boolean"],IsIntervalRefreshEnabled:["opt-field","$boolean"],IntervalInMinutes:["opt-field","$number"],IsRefreshOnOpenEnabled:["opt-field","$boolean"],IsRemoveDataEnabled:["opt-field","$boolean"],IsRefreshOnRefreshAllEnabled:["opt-field","$boolean"],IsFastDataLoadEnabled:["opt-field","$boolean"],IsAlwaysUseConnectionFileEnabled:["opt-field","$boolean"]},"Uxpp::RekaServices::SetQueryPropertiesPayload":{OldName:"$string",NewName:"$string",Description:"$string",RefreshControls:"Uxpp::RekaServices::SetQueryPropertiesRefreshControls"}});const P=["Uxpp::RekaServices::UxppPowerQueryService",{getSelectedQueryKey:["ReturnsPromiseMethod","$string",[],{}],getQueriesAndGroups:["ReturnsPromiseMethod","Uxpp::RekaServices::QueriesAndGroups",[],{}],getConnections:["ReturnsPromiseMethod",["$array","Uxpp::RekaServices::ConnectionInfo"],[],{}],onQuerySelected:["FireAndForgetMethod",["$string"],{}],onQueryRefresh:["FireAndForgetMethod",["$string"],{isundoable:"true",isreadonly:"false"}],onRefreshQueryList:["FireAndForgetMethod",[["$array","$string"]],{isundoable:"true",isreadonly:"false"}],handleQueryGroupOperation:["FireAndForgetMethod",["$number",["$optional","Uxpp::RekaServices::GroupOperationPayload"]],{isundoable:"true",isreadonly:"false"}],onCancelQueryRefresh:["FireAndForgetMethod",["$string"],{isundoable:"false",isreadonly:"false"}],handleQueryAction:["FireAndForgetMethod",["$number",["$optional","Uxpp::RekaServices::QueryActionPayload"]],{isundoable:"true",isreadonly:"false"}],onSetQueryProperties:["FireAndForgetMethod",[["$optional","Uxpp::RekaServices::SetQueryPropertiesPayload"]],{isundoable:"true",isreadonly:"false"}],onLegacyConnectionRefresh:["FireAndForgetMethod",["$string"],{isundoable:"true",isreadonly:"false"}],onLegacyConnectionCancelRefresh:["FireAndForgetMethod",["$string"],{isundoable:"false",isreadonly:"false"}],onRefreshLegacyConnectionList:["FireAndForgetMethod",[["$array","$string"]],{}],onLegacyConnectionDelete:["FireAndForgetMethod",["$string"],{isundoable:"true",isreadonly:"false"}],onLegacyConnectionUpdate:["FireAndForgetMethod",["$string","$string","$string"],{isundoable:"true",isreadonly:"false"}],onSelectedQueryKeyUpdate:["Event","$string"],onQueriesAndGroupsUpdate:["Event","Uxpp::RekaServices::QueriesAndGroups"],onConnectionListUpdate:["Event",["$array","Uxpp::RekaServices::ConnectionInfo"]]}],R=["Uxpp::Internal::RekaServices::IUxppUndoService",{undo:["ReturnsPromiseMethod","$any",[],{}]}],D=["Uxpp::Internal::RekaServices::IUxppGridService",{markRangesOnGridWithIndex:["ReturnsPromiseMethod","$any",[["$array","Uxpp::Internal::RekaServices::RangeAddress"],"$number","$number"],{}],moveViewportToRange:["ReturnsPromiseMethod","$any",["Uxpp::Internal::RekaServices::RangeAddress"],{}]}],_=["Uxpp::Internal::RekaServices::IUxppAnnotationService",{getAnnotationList:["ReturnsPromiseMethod",["$array","$string"],[],{}],registerAnnotationList:["ReturnsPromiseMethod","$boolean",[["$array","$string"]],{}],unregisterAnnotationList:["ReturnsPromiseMethod","$boolean",[["$array","$string"]],{}],onAnnotationList:["Event",["$array","$string"]]}],N=["Uxpp::Internal::RekaServices::DataCleansingTaskPaneService",{taskPaneOpened:["ReturnsPromiseMethod","$any",[],{}]}],O=["Uxpp::Internal::RekaServices::DataCleansingStateService",{getState:["ReturnsPromiseMethod","DataCleansing::TaskPane::RekaServices::State",[],{}],onStateChange:["Event","DataCleansing::TaskPane::RekaServices::State"]}],M=["Uxpp::Internal::RekaServices::DataCleansingSessionStorageService",{getIgnoredSuggestions:["ReturnsPromiseMethod",["$array","$string"],[],{}],addToIgnoredSuggestions:["ReturnsPromiseMethod","$any",["$string"],{}],getAppliedSuggestions:["ReturnsPromiseMethod",["$array","$string"],[],{}],addToAppliedSuggestions:["ReturnsPromiseMethod","$any",["$string"],{}],removeFromAppliedSuggestions:["ReturnsPromiseMethod","$any",["$string"],{}],getIgnoredSuggestionsInfo:["ReturnsPromiseMethod","Uxpp::Internal::RekaServices::IgnoredSuggestionsInfo",[],{}],getAppliedSuggestionsOnTaskPaneOpen:["ReturnsPromiseMethod",["$array","$string"],[],{}],checkForQosError:["ReturnsPromiseMethod","$any",["$number"],{}],onIgnoredSuggestionsInfoChanged:["Event","Uxpp::Internal::RekaServices::IgnoredSuggestionsInfo"],onAppliedSuggestionsChanged:["Event",["$array","$string"]]}],B=["DataCleansing::TaskPane::RekaServices::DataCleansingFeatureService",{isFeatureEnabled:["ReturnsPromiseMethod","$boolean",[],{}],onFeatureEnabledChanged:["Event","$boolean"]}],L=["Uxpp::Internal::RekaServices::UxppWorkbookService",{getActiveWorksheetState:["ReturnsPromiseMethod","Uxpp::Internal::RekaServices::WorksheetState",[],{}],getWorksheetState:["ReturnsPromiseMethod","Uxpp::Internal::RekaServices::WorksheetState",["$string"],{}],setActiveWorksheet:["ReturnsPromiseMethod","$any",["$string"],{}],GetCopilotState:["ReturnsPromiseMethod","Uxpp::Internal::RekaServices::CopilotState",[],{isundoable:"false",isreadonly:"true"}],ReplaceMultipleStrings:["ReturnsPromiseMethod","$number",[["$array","Uxpp::Internal::RekaServices::RangeAddress"],["$array","$string"],"$string","$boolean","$boolean","$boolean"],{isundoable:"true",isreadonly:"false"}],onActiveWorksheetStateUpdate:["Event","Uxpp::Internal::RekaServices::WorksheetState"],onCopilotStateUpdate:["Event","Uxpp::Internal::RekaServices::CopilotState"]}];g.CustomTypeRegistry.registerTypeInfos({"X10::CopilotLicense":{isEnabled:"$boolean",isProEnabled:"$boolean"}});const K=["X10::CopilotLicenseProvider",{getLicense:["ReturnsPromiseMethod","X10::CopilotLicense",[],{}]}],W=["Uxpp::Internal::RekaServices::UxppAnnotationsService",{registerAnnotationType:["ReturnsPromiseMethod","$any",["$string","$boolean"],{}],unregisterAnnotationType:["ReturnsPromiseMethod","$any",["$string"],{}],registerOnClose:["ReturnsPromiseMethod","$any",[],{}],onNewAnnotation:["Event","Uxpp::Internal::RekaServices::SerializedAnnotation"],onClose:["Event","$string"]}],H=["Uxpp::Internal::RekaServices::DataCleansingAnnotationsService",{getAnnotationList:["ReturnsPromiseMethod",["$array","Uxpp::Internal::RekaServices::SerializedAnnotation"],[],{}],onNewAnnotationList:["Event",["$array","Uxpp::Internal::RekaServices::SerializedAnnotation"]]}];o(45973);const G=new class{setAriaTenantToken(e){return this.ariaTenantToken=e,this}setRekaEnvironment(e){return this.rekaEnvironment=e,this}setInitRekaBridgeFunctor(e){return this.initRekaBridgeFunctor=e,this}addTaskpaneApp(r,n){const o={...n,validateNativeServices:e=>function(e,t){const r=[];for(const n in t){const o=t[n],i=e[n];o.isOptional||void 0!==i||r.push(n)}return r}(e,r),componentProvider:()=>function(r){const n=r.component;return r=>e.createElement(e.Suspense,{fallback:e.createElement(t.b,null)},e.createElement(n,{...r,nativeServices:r.nativeServices}))}(n)};return this.taskpaneApps[n.id]=o,this}addPowerOptionsApp(){const t={id:0,name:"Power Options",enableOption:!0,component:e.lazy((()=>Promise.resolve().then(o.bind(o,54787))))};this.addTaskpaneApp(n,t)}async build(){this.addPowerOptionsApp();const e={appName:this.appName,ariaTenantToken:this.ariaTenantToken,iconProvider:this.iconProvider,taskPaneApps:this.taskpaneApps,createNativeServices:this.createNativeServices,rekaEnvironment:this.rekaEnvironment,initRekaBridgeFunctor:this.initRekaBridgeFunctor};return{component:await(0,r.t)(e)}}constructor(e,t,r){this.appName=e,this.iconProvider=t,this.createNativeServices=r,this.taskpaneApps=[],this.rekaEnvironment={RekaInstance:s.RekaInstance,RekaServiceRegistry:s.RekaServiceRegistry,registerClass:s.registerClass,registerServiceInstance:s.registerServiceInstance,registerClasses:s.registerClasses},this.initRekaBridgeFunctor=(e,t)=>(0,a.r)(t)}}("Excel",u,(function(e,t){return{...f(e),...(0,v.makeNativeServices)(e,t),GridService:t.has(b[0])?new c.Lazy((()=>e.getNativeService(b))):void 0,UxppRoamingService:t.has(y[0])?new c.Lazy((()=>e.getNativeService(y))):void 0,UxppLocalizedStringsService:t.has(S[0])?new c.Lazy((()=>e.getNativeService(S))):void 0,UxppLocalStorageService:t.has(C[0])?new c.Lazy((()=>e.getNativeService(C))):void 0,UxppLicenseService:t.has(T[0])?new c.Lazy((()=>e.getNativeService(T))):void 0,UxppHelpService:t.has(k[0])?new c.Lazy((()=>e.getNativeService(k))):void 0,UxppFeedbackService:t.has(F[0])?new c.Lazy((()=>e.getNativeService(F))):void 0,UxppBusinessBarService:t.has(E[0])?new c.Lazy((()=>e.getNativeService(E))):void 0,UxppAugmentationLoopService:t.has(A[0])?new c.Lazy((()=>e.getNativeService(A))):void 0,UxppTaskPaneService:t.has(I[0])?new c.Lazy((()=>e.getNativeService(I))):void 0,SharedFeatureGateService:t.has(x[0])?new c.Lazy((()=>e.getNativeService(x))):void 0,UxppWorksheetService:t.has(w[0])?new c.Lazy((()=>e.getNativeService(w))):void 0,UxppPowerQueryService:t.has(P[0])?new c.Lazy((()=>e.getNativeService(P))):void 0,IUxppUndoService:t.has(R[0])?new c.Lazy((()=>e.getNativeService(R))):void 0,IUxppGridService:t.has(D[0])?new c.Lazy((()=>e.getNativeService(D))):void 0,IUxppAnnotationService:t.has(_[0])?new c.Lazy((()=>e.getNativeService(_))):void 0,DataCleansingTaskPaneService:t.has(N[0])?new c.Lazy((()=>e.getNativeService(N))):void 0,DataCleansingStateService:t.has(O[0])?new c.Lazy((()=>e.getNativeService(O))):void 0,DataCleansingSessionStorageService:t.has(M[0])?new c.Lazy((()=>e.getNativeService(M))):void 0,DataCleansingFeatureService:t.has(B[0])?new c.Lazy((()=>e.getNativeService(B))):void 0,UxppWorkbookService:t.has(L[0])?new c.Lazy((()=>e.getNativeService(L))):void 0,CopilotLicenseProvider:t.has(K[0])?new c.Lazy((()=>e.getNativeService(K))):void 0,UxppAnnotationsService:t.has(W[0])?new c.Lazy((()=>e.getNativeService(W))):void 0,DataCleansingAnnotationsService:t.has(H[0])?new c.Lazy((()=>e.getNativeService(H))):void 0}})).setAriaTenantToken("19eb5e37de684ce38ce5cf3d5842d3f7-e8722941-bde5-4b98-9cd5-2775ec51482c-6873").addTaskpaneApp({DataCleansingAnnotationsService:{isOptional:!1},DataCleansingSessionStorageService:{isOptional:!1},DataCleansingStateService:{isOptional:!1},DataCleansingTaskPaneService:{isOptional:!1},IUxppGridService:{isOptional:!1},IUxppUndoService:{isOptional:!1},UxppFeedbackService:{isOptional:!1},UxppHelpService:{isOptional:!1},UxppWorkbookService:{isOptional:!1},UxppWorksheetService:{isOptional:!1}},{id:i.DataCleansingTaskPane,name:"Data Cleansing Task Pane",enableOption:!0,component:e.lazy((()=>Promise.resolve().then(o.bind(o,72349))))}).addTaskpaneApp({UxppPowerQueryService:{isOptional:!1}},{id:i.PowerQueryTaskPane,name:"Power Query Task Pane",enableOption:!0,component:e.lazy((()=>Promise.resolve().then(o.bind(o,19933))))});(async()=>{!function(t){const r=document.getElementById("root");(0,l.H)(r).render(e.createElement(t,null))}((await G.build()).component)})()})()})();
//# sourceMappingURL=main.bundle.js.map