1/* 2 3 Copyright Google LLC All Rights Reserved. 4 5 Use of this source code is governed by an MIT-style license that can be 6 found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE 7 8 Copyright 2016 Google Inc. 9 10 Permission is hereby granted, free of charge, to any person obtaining a copy 11 of this software and associated documentation files (the "Software"), to deal 12 in the Software without restriction, including without limitation the rights 13 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 copies of the Software, and to permit persons to whom the Software is 15 furnished to do so, subject to the following conditions: 16 17 The above copyright notice and this permission notice shall be included in 18 all copies or substantial portions of the Software. 19 20 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 26 THE SOFTWARE. 27 28 Copyright 2020 Google Inc. 29 30 Permission is hereby granted, free of charge, to any person obtaining a copy 31 of this software and associated documentation files (the "Software"), to deal 32 in the Software without restriction, including without limitation the rights 33 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 34 copies of the Software, and to permit persons to whom the Software is 35 furnished to do so, subject to the following conditions: 36 37 The above copyright notice and this permission notice shall be included in 38 all copies or substantial portions of the Software. 39 40 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 41 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 42 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 43 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 44 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 45 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 46 THE SOFTWARE. 47 48 Copyright 2019 Google Inc. 49 50 Permission is hereby granted, free of charge, to any person obtaining a copy 51 of this software and associated documentation files (the "Software"), to deal 52 in the Software without restriction, including without limitation the rights 53 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 54 copies of the Software, and to permit persons to whom the Software is 55 furnished to do so, subject to the following conditions: 56 57 The above copyright notice and this permission notice shall be included in 58 all copies or substantial portions of the Software. 59 60 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 61 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 62 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 63 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 64 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 65 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 66 THE SOFTWARE. 67 68 Copyright 2021 Google Inc. 69 70 Permission is hereby granted, free of charge, to any person obtaining a copy 71 of this software and associated documentation files (the "Software"), to deal 72 in the Software without restriction, including without limitation the rights 73 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 74 copies of the Software, and to permit persons to whom the Software is 75 furnished to do so, subject to the following conditions: 76 77 The above copyright notice and this permission notice shall be included in 78 all copies or substantial portions of the Software. 79 80 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 81 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 82 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 83 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 84 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 85 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 86 THE SOFTWARE. 87 88 Copyright 2017 Google Inc. 89 90 Permission is hereby granted, free of charge, to any person obtaining a copy 91 of this software and associated documentation files (the "Software"), to deal 92 in the Software without restriction, including without limitation the rights 93 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 94 copies of the Software, and to permit persons to whom the Software is 95 furnished to do so, subject to the following conditions: 96 97 The above copyright notice and this permission notice shall be included in 98 all copies or substantial portions of the Software. 99 100 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 101 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 102 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 103 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 104 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 105 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 106 THE SOFTWARE. 107 108 Copyright 2018 Google Inc. 109 110 Permission is hereby granted, free of charge, to any person obtaining a copy 111 of this software and associated documentation files (the "Software"), to deal 112 in the Software without restriction, including without limitation the rights 113 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 114 copies of the Software, and to permit persons to whom the Software is 115 furnished to do so, subject to the following conditions: 116 117 The above copyright notice and this permission notice shall be included in 118 all copies or substantial portions of the Software. 119 120 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 121 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 122 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 123 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 124 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 125 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 126 THE SOFTWARE. 127 *************************************************** !*\ 128 !*** ./packages/material-components-web/index.ts ***! 129 \************************************************** no static exports found @material/auto-init/index @material/banner/index @material/base/index @material/checkbox/index @material/chips/deprecated/index @material/circular-progress/index @material/data-table/index @material/dialog/index @material/dom/index @material/drawer/index @material/floating-label/index @material/form-field/index @material/icon-button/index @material/line-ripple/index @material/linear-progress/index @material/list/index @material/menu-surface/index @material/menu/index @material/notched-outline/index @material/radio/index @material/ripple/index @material/segmented-button/index @material/select/index @material/slider/index @material/snackbar/index @material/switch/index @material/tab-bar/index @material/tab-indicator/index @material/tab-scroller/index @material/tab/index @material/textfield/index @material/tooltip/index @material/top-app-bar/index ************************************************** !*\ 130 !*** ./packages/mdc-animation/animationframe.ts ***! 131 \************************************************* **************************************** !*\ 132 !*** ./packages/mdc-animation/util.ts ***! 133 \*************************************** ********************************************* !*\ 134 !*** ./packages/mdc-auto-init/constants.ts ***! 135 \******************************************** ***************************************** !*\ 136 !*** ./packages/mdc-auto-init/index.ts ***! 137 \**************************************** ./constants **************************************** !*\ 138 !*** ./packages/mdc-banner/adapter.ts ***! 139 \*************************************** ****************************************** !*\ 140 !*** ./packages/mdc-banner/component.ts ***! 141 \***************************************** @material/base/component @material/dom/focus-trap @material/dom/ponyfill ./foundation ****************************************** !*\ 142 !*** ./packages/mdc-banner/constants.ts ***! 143 \***************************************** ******************************************* !*\ 144 !*** ./packages/mdc-banner/foundation.ts ***! 145 \****************************************** @material/base/foundation ************************************** !*\ 146 !*** ./packages/mdc-banner/index.ts ***! 147 \************************************* ./adapter ./component **************************************** !*\ 148 !*** ./packages/mdc-base/component.ts ***! 149 \*************************************** ***************************************** !*\ 150 !*** ./packages/mdc-base/foundation.ts ***! 151 \**************************************** ************************************ !*\ 152 !*** ./packages/mdc-base/index.ts ***! 153 \*********************************** ./types ************************************************** !*\ 154 !*** ./packages/mdc-base/observer-foundation.ts ***! 155 \************************************************* ./observer *************************************** !*\ 156 !*** ./packages/mdc-base/observer.ts ***! 157 \************************************** ************************************ !*\ 158 !*** ./packages/mdc-base/types.ts ***! 159 \*********************************** ****************************************** !*\ 160 !*** ./packages/mdc-checkbox/adapter.ts ***! 161 \***************************************** ******************************************** !*\ 162 !*** ./packages/mdc-checkbox/component.ts ***! 163 \******************************************* @material/animation/util @material/dom/events @material/ripple/component @material/ripple/foundation ******************************************** !*\ 164 !*** ./packages/mdc-checkbox/constants.ts ***! 165 \******************************************* ********************************************* !*\ 166 !*** ./packages/mdc-checkbox/foundation.ts ***! 167 \******************************************** **************************************** !*\ 168 !*** ./packages/mdc-checkbox/index.ts ***! 169 \*************************************** *********************************************************** !*\ 170 !*** ./packages/mdc-chips/deprecated/chip-set/adapter.ts ***! 171 \********************************************************** ************************************************************* !*\ 172 !*** ./packages/mdc-chips/deprecated/chip-set/component.ts ***! 173 \************************************************************ @material/dom/announce ../chip/component ../chip/foundation ************************************************************* !*\ 174 !*** ./packages/mdc-chips/deprecated/chip-set/constants.ts ***! 175 \************************************************************ ************************************************************** !*\ 176 !*** ./packages/mdc-chips/deprecated/chip-set/foundation.ts ***! 177 \************************************************************* ../chip/constants ********************************************************* !*\ 178 !*** ./packages/mdc-chips/deprecated/chip-set/index.ts ***! 179 \******************************************************** ******************************************************* !*\ 180 !*** ./packages/mdc-chips/deprecated/chip/adapter.ts ***! 181 \****************************************************** ********************************************************* !*\ 182 !*** ./packages/mdc-chips/deprecated/chip/component.ts ***! 183 \******************************************************** ../trailingaction/component ../trailingaction/constants ********************************************************* !*\ 184 !*** ./packages/mdc-chips/deprecated/chip/constants.ts ***! 185 \******************************************************** ********************************************************** !*\ 186 !*** ./packages/mdc-chips/deprecated/chip/foundation.ts ***! 187 \********************************************************* ***************************************************** !*\ 188 !*** ./packages/mdc-chips/deprecated/chip/index.ts ***! 189 \**************************************************** ***************************************************** !*\ 190 !*** ./packages/mdc-chips/deprecated/chip/types.ts ***! 191 \**************************************************** ************************************************ !*\ 192 !*** ./packages/mdc-chips/deprecated/index.ts ***! 193 \*********************************************** ./trailingaction/index ./chip/index ./chip-set/index ***************************************************************** !*\ 194 !*** ./packages/mdc-chips/deprecated/trailingaction/adapter.ts ***! 195 \**************************************************************** ******************************************************************* !*\ 196 !*** ./packages/mdc-chips/deprecated/trailingaction/component.ts ***! 197 \****************************************************************** ******************************************************************* !*\ 198 !*** ./packages/mdc-chips/deprecated/trailingaction/constants.ts ***! 199 \****************************************************************** ******************************************************************** !*\ 200 !*** ./packages/mdc-chips/deprecated/trailingaction/foundation.ts ***! 201 \******************************************************************* @material/dom/keyboard *************************************************************** !*\ 202 !*** ./packages/mdc-chips/deprecated/trailingaction/index.ts ***! 203 \************************************************************** *************************************************************** !*\ 204 !*** ./packages/mdc-chips/deprecated/trailingaction/types.ts ***! 205 \************************************************************** *************************************************** !*\ 206 !*** ./packages/mdc-circular-progress/adapter.ts ***! 207 \************************************************** ***************************************************** !*\ 208 !*** ./packages/mdc-circular-progress/component.ts ***! 209 \**************************************************** ***************************************************** !*\ 210 !*** ./packages/mdc-circular-progress/constants.ts ***! 211 \**************************************************** ****************************************************** !*\ 212 !*** ./packages/mdc-circular-progress/foundation.ts ***! 213 \***************************************************** ************************************************* !*\ 214 !*** ./packages/mdc-circular-progress/index.ts ***! 215 \************************************************ ******************************************** !*\ 216 !*** ./packages/mdc-data-table/adapter.ts ***! 217 \******************************************* ********************************************** !*\ 218 !*** ./packages/mdc-data-table/component.ts ***! 219 \********************************************* @material/checkbox/component @material/linear-progress/component ********************************************** !*\ 220 !*** ./packages/mdc-data-table/constants.ts ***! 221 \********************************************* *********************************************** !*\ 222 !*** ./packages/mdc-data-table/foundation.ts ***! 223 \********************************************** ****************************************** !*\ 224 !*** ./packages/mdc-data-table/index.ts ***! 225 \***************************************** ****************************************** !*\ 226 !*** ./packages/mdc-data-table/types.ts ***! 227 \***************************************** **************************************** !*\
228 !*** ./packages/mdc-dialog/adapter.ts ***! 229 \*************************************** ****************************************** !*\ 230 !*** ./packages/mdc-dialog/component.ts ***! 231 \***************************************** ./util ****************************************** !*\ 232 !*** ./packages/mdc-dialog/constants.ts ***! 233 \***************************************** ******************************************* !*\ 234 !*** ./packages/mdc-dialog/foundation.ts ***! 235 \****************************************** @material/animation/animationframe ************************************** !*\ 236 !*** ./packages/mdc-dialog/index.ts ***! 237 \************************************* ************************************** !*\ 238 !*** ./packages/mdc-dialog/types.ts ***! 239 \************************************* ************************************* !*\ 240 !*** ./packages/mdc-dialog/util.ts ***! 241 \************************************ ************************************** !*\ 242 !*** ./packages/mdc-dom/announce.ts ***! 243 \************************************* ************************************ !*\ 244 !*** ./packages/mdc-dom/events.ts ***! 245 \*********************************** **************************************** !*\ 246 !*** ./packages/mdc-dom/focus-trap.ts ***! 247 \*************************************** *********************************** !*\ 248 !*** ./packages/mdc-dom/index.ts ***! 249 \********************************** ./events ./focus-trap ./keyboard ./ponyfill ************************************** !*\ 250 !*** ./packages/mdc-dom/keyboard.ts ***! 251 \************************************* ************************************** !*\ 252 !*** ./packages/mdc-dom/ponyfill.ts ***! 253 \************************************* **************************************** !*\ 254 !*** ./packages/mdc-drawer/adapter.ts ***! 255 \*************************************** ****************************************** !*\ 256 !*** ./packages/mdc-drawer/component.ts ***! 257 \***************************************** @material/list/component ./dismissible/foundation ./modal/foundation ****************************************** !*\ 258 !*** ./packages/mdc-drawer/constants.ts ***! 259 \***************************************** ******************************************************* !*\ 260 !*** ./packages/mdc-drawer/dismissible/foundation.ts ***! 261 \****************************************************** ../constants ************************************** !*\ 262 !*** ./packages/mdc-drawer/index.ts ***! 263 \************************************* ************************************************* !*\ 264 !*** ./packages/mdc-drawer/modal/foundation.ts ***! 265 \************************************************ ../dismissible/foundation ************************************* !*\ 266 !*** ./packages/mdc-drawer/util.ts ***! 267 \************************************ ************************************************ !*\ 268 !*** ./packages/mdc-floating-label/adapter.ts ***! 269 \*********************************************** ************************************************** !*\ 270 !*** ./packages/mdc-floating-label/component.ts ***! 271 \************************************************* ************************************************** !*\ 272 !*** ./packages/mdc-floating-label/constants.ts ***! 273 \************************************************* *************************************************** !*\ 274 !*** ./packages/mdc-floating-label/foundation.ts ***! 275 \************************************************** ********************************************** !*\ 276 !*** ./packages/mdc-floating-label/index.ts ***! 277 \********************************************* ******************************************** !*\ 278 !*** ./packages/mdc-form-field/adapter.ts ***! 279 \******************************************* ********************************************** !*\ 280 !*** ./packages/mdc-form-field/component.ts ***! 281 \********************************************* ********************************************** !*\ 282 !*** ./packages/mdc-form-field/constants.ts ***! 283 \********************************************* *********************************************** !*\ 284 !*** ./packages/mdc-form-field/foundation.ts ***! 285 \********************************************** ****************************************** !*\ 286 !*** ./packages/mdc-form-field/index.ts ***! 287 \***************************************** ********************************************* !*\ 288 !*** ./packages/mdc-icon-button/adapter.ts ***! 289 \******************************************** *********************************************** !*\ 290 !*** ./packages/mdc-icon-button/component.ts ***! 291 \********************************************** *********************************************** !*\ 292 !*** ./packages/mdc-icon-button/constants.ts ***! 293 \********************************************** ************************************************ !*\ 294 !*** ./packages/mdc-icon-button/foundation.ts ***! 295 \*********************************************** ******************************************* !*\ 296 !*** ./packages/mdc-icon-button/index.ts ***! 297 \****************************************** ******************************************* !*\ 298 !*** ./packages/mdc-icon-button/types.ts ***! 299 \****************************************** ********************************************* !*\ 300 !*** ./packages/mdc-line-ripple/adapter.ts ***! 301 \******************************************** *********************************************** !*\ 302 !*** ./packages/mdc-line-ripple/component.ts ***! 303 \********************************************** *********************************************** !*\ 304 !*** ./packages/mdc-line-ripple/constants.ts ***! 305 \********************************************** ************************************************ !*\ 306 !*** ./packages/mdc-line-ripple/foundation.ts ***! 307 \*********************************************** ******************************************* !*\ 308 !*** ./packages/mdc-line-ripple/index.ts ***! 309 \****************************************** ************************************************* !*\ 310 !*** ./packages/mdc-linear-progress/adapter.ts ***! 311 \************************************************ *************************************************** !*\ 312 !*** ./packages/mdc-linear-progress/component.ts ***! 313 \************************************************** *************************************************** !*\ 314 !*** ./packages/mdc-linear-progress/constants.ts ***! 315 \************************************************** **************************************************** !*\ 316 !*** ./packages/mdc-linear-progress/foundation.ts ***! 317 \*************************************************** *********************************************** !*\ 318 !*** ./packages/mdc-linear-progress/index.ts ***! 319 \********************************************** *********************************************** !*\ 320 !*** ./packages/mdc-linear-progress/types.ts ***! 321 \********************************************** ************************************** !*\
322 !*** ./packages/mdc-list/adapter.ts ***! 323 \************************************* **************************************** !*\ 324 !*** ./packages/mdc-list/component.ts ***! 325 \*************************************** **************************************** !*\ 326 !*** ./packages/mdc-list/constants.ts ***! 327 \*************************************** ************************************* !*\ 328 !*** ./packages/mdc-list/events.ts ***! 329 \************************************ ***************************************** !*\ 330 !*** ./packages/mdc-list/foundation.ts ***! 331 \**************************************** ./typeahead ************************************ !*\ 332 !*** ./packages/mdc-list/index.ts ***! 333 \*********************************** **************************************** !*\ 334 !*** ./packages/mdc-list/typeahead.ts ***! 335 \*************************************** ************************************ !*\ 336 !*** ./packages/mdc-list/types.ts ***! 337 \*********************************** ********************************************** !*\ 338 !*** ./packages/mdc-menu-surface/adapter.ts ***! 339 \********************************************* ************************************************ !*\ 340 !*** ./packages/mdc-menu-surface/component.ts ***! 341 \*********************************************** ************************************************ !*\ 342 !*** ./packages/mdc-menu-surface/constants.ts ***! 343 \*********************************************** ************************************************* !*\ 344 !*** ./packages/mdc-menu-surface/foundation.ts ***! 345 \************************************************ ******************************************** !*\ 346 !*** ./packages/mdc-menu-surface/index.ts ***! 347 \******************************************* ******************************************** !*\ 348 !*** ./packages/mdc-menu-surface/types.ts ***! 349 \******************************************* ************************************** !*\ 350 !*** ./packages/mdc-menu/adapter.ts ***! 351 \************************************* **************************************** !*\ 352 !*** ./packages/mdc-menu/component.ts ***! 353 \*************************************** @material/list/constants @material/list/foundation @material/menu-surface/component @material/menu-surface/foundation **************************************** !*\ 354 !*** ./packages/mdc-menu/constants.ts ***! 355 \*************************************** ***************************************** !*\ 356 !*** ./packages/mdc-menu/foundation.ts ***! 357 \**************************************** ************************************ !*\ 358 !*** ./packages/mdc-menu/index.ts ***! 359 \*********************************** @material/menu-surface/constants ************************************ !*\ 360 !*** ./packages/mdc-menu/types.ts ***! 361 \*********************************** ************************************************* !*\ 362 !*** ./packages/mdc-notched-outline/adapter.ts ***! 363 \************************************************ *************************************************** !*\ 364 !*** ./packages/mdc-notched-outline/component.ts ***! 365 \************************************************** @material/floating-label/foundation *************************************************** !*\ 366 !*** ./packages/mdc-notched-outline/constants.ts ***! 367 \************************************************** **************************************************** !*\ 368 !*** ./packages/mdc-notched-outline/foundation.ts ***! 369 \*************************************************** *********************************************** !*\ 370 !*** ./packages/mdc-notched-outline/index.ts ***! 371 \********************************************** *************************************** !*\ 372 !*** ./packages/mdc-radio/adapter.ts ***! 373 \************************************** ***************************************** !*\ 374 !*** ./packages/mdc-radio/component.ts ***! 375 \**************************************** ***************************************** !*\ 376 !*** ./packages/mdc-radio/constants.ts ***! 377 \**************************************** ****************************************** !*\ 378 !*** ./packages/mdc-radio/foundation.ts ***! 379 \***************************************** ************************************* !*\ 380 !*** ./packages/mdc-radio/index.ts ***! 381 \************************************ **************************************** !*\ 382 !*** ./packages/mdc-ripple/adapter.ts ***! 383 \*************************************** ****************************************** !*\ 384 !*** ./packages/mdc-ripple/component.ts ***! 385 \***************************************** ****************************************** !*\ 386 !*** ./packages/mdc-ripple/constants.ts ***! 387 \***************************************** ******************************************* !*\ 388 !*** ./packages/mdc-ripple/foundation.ts ***! 389 \****************************************** ************************************** !*\ 390 !*** ./packages/mdc-ripple/index.ts ***! 391 \************************************* ************************************** !*\ 392 !*** ./packages/mdc-ripple/types.ts ***! 393 \************************************* ************************************* !*\ 394 !*** ./packages/mdc-ripple/util.ts ***! 395 \************************************ ************************************************ !*\ 396 !*** ./packages/mdc-segmented-button/index.ts ***! 397 \*********************************************** ./segmented-button/index ./segment/index ********************************************************** !*\ 398 !*** ./packages/mdc-segmented-button/segment/adapter.ts ***! 399 \********************************************************* ************************************************************ !*\ 400 !*** ./packages/mdc-segmented-button/segment/component.ts ***! 401 \*********************************************************** ************************************************************ !*\ 402 !*** ./packages/mdc-segmented-button/segment/constants.ts ***! 403 \*********************************************************** ************************************************************* !*\
404 !*** ./packages/mdc-segmented-button/segment/foundation.ts ***! 405 \************************************************************ ******************************************************** !*\ 406 !*** ./packages/mdc-segmented-button/segment/index.ts ***! 407 \******************************************************* ******************************************************************* !*\ 408 !*** ./packages/mdc-segmented-button/segmented-button/adapter.ts ***! 409 \****************************************************************** ********************************************************************* !*\ 410 !*** ./packages/mdc-segmented-button/segmented-button/component.ts ***! 411 \******************************************************************** ../segment/component ********************************************************************* !*\ 412 !*** ./packages/mdc-segmented-button/segmented-button/constants.ts ***! 413 \******************************************************************** ********************************************************************** !*\ 414 !*** ./packages/mdc-segmented-button/segmented-button/foundation.ts ***! 415 \********************************************************************* ***************************************************************** !*\ 416 !*** ./packages/mdc-segmented-button/segmented-button/index.ts ***! 417 \**************************************************************** ************************************************ !*\ 418 !*** ./packages/mdc-segmented-button/types.ts ***! 419 \*********************************************** **************************************** !*\ 420 !*** ./packages/mdc-select/adapter.ts ***! 421 \*************************************** ****************************************** !*\ 422 !*** ./packages/mdc-select/component.ts ***! 423 \***************************************** @material/floating-label/component @material/line-ripple/component @material/menu/component @material/menu/constants @material/notched-outline/component ./helper-text/component ./icon/component ****************************************** !*\ 424 !*** ./packages/mdc-select/constants.ts ***! 425 \***************************************** ******************************************* !*\ 426 !*** ./packages/mdc-select/foundation.ts ***! 427 \****************************************** **************************************************** !*\ 428 !*** ./packages/mdc-select/helper-text/adapter.ts ***! 429 \*************************************************** ****************************************************** !*\ 430 !*** ./packages/mdc-select/helper-text/component.ts ***! 431 \***************************************************** ****************************************************** !*\ 432 !*** ./packages/mdc-select/helper-text/constants.ts ***! 433 \***************************************************** ******************************************************* !*\ 434 !*** ./packages/mdc-select/helper-text/foundation.ts ***! 435 \****************************************************** ************************************************** !*\ 436 !*** ./packages/mdc-select/helper-text/index.ts ***! 437 \************************************************* ********************************************* !*\ 438 !*** ./packages/mdc-select/icon/adapter.ts ***! 439 \******************************************** *********************************************** !*\ 440 !*** ./packages/mdc-select/icon/component.ts ***! 441 \********************************************** *********************************************** !*\ 442 !*** ./packages/mdc-select/icon/constants.ts ***! 443 \********************************************** ************************************************ !*\ 444 !*** ./packages/mdc-select/icon/foundation.ts ***! 445 \*********************************************** ******************************************* !*\ 446 !*** ./packages/mdc-select/icon/index.ts ***! 447 \****************************************** ************************************** !*\ 448 !*** ./packages/mdc-select/index.ts ***! 449 \************************************* ./helper-text/index ./icon/index ************************************** !*\ 450 !*** ./packages/mdc-select/types.ts ***! 451 \************************************* **************************************** !*\ 452 !*** ./packages/mdc-slider/adapter.ts ***! 453 \*************************************** ****************************************** !*\ 454 !*** ./packages/mdc-slider/component.ts ***! 455 \***************************************** ****************************************** !*\ 456 !*** ./packages/mdc-slider/constants.ts ***! 457 \***************************************** ******************************************* !*\ 458 !*** ./packages/mdc-slider/foundation.ts ***! 459 \****************************************** ************************************** !*\ 460 !*** ./packages/mdc-slider/index.ts ***! 461 \************************************* ************************************** !*\ 462 !*** ./packages/mdc-slider/types.ts ***! 463 \************************************* ****************************************** !*\ 464 !*** ./packages/mdc-snackbar/adapter.ts ***! 465 \***************************************** ******************************************** !*\ 466 !*** ./packages/mdc-snackbar/component.ts ***! 467 \******************************************* ******************************************** !*\ 468 !*** ./packages/mdc-snackbar/constants.ts ***! 469 \******************************************* ********************************************* !*\ 470 !*** ./packages/mdc-snackbar/foundation.ts ***! 471 \******************************************** **************************************** !*\ 472 !*** ./packages/mdc-snackbar/index.ts ***! 473 \*************************************** **************************************** !*\ 474 !*** ./packages/mdc-snackbar/types.ts ***! 475 \*************************************** *************************************** !*\ 476 !*** ./packages/mdc-snackbar/util.ts ***! 477 \************************************** **************************************** !*\ 478 !*** ./packages/mdc-switch/adapter.ts ***! 479 \*************************************** ****************************************** !*\ 480 !*** ./packages/mdc-switch/component.ts ***! 481 \***************************************** ****************************************** !*\ 482 !*** ./packages/mdc-switch/constants.ts ***! 483 \***************************************** *************************************************** !*\ 484 !*** ./packages/mdc-switch/deprecated/adapter.ts ***! 485 \************************************************** ***************************************************** !*\ 486 !*** ./packages/mdc-switch/deprecated/component.ts ***! 487 \**************************************************** ***************************************************** !*\ 488 !*** ./packages/mdc-switch/deprecated/constants.ts ***! 489 \**************************************************** ****************************************************** !*\ 490 !*** ./packages/mdc-switch/deprecated/foundation.ts ***! 491 \***************************************************** ************************************************* !*\ 492 !*** ./packages/mdc-switch/deprecated/index.ts ***! 493 \************************************************ ******************************************* !*\ 494 !*** ./packages/mdc-switch/foundation.ts ***! 495 \****************************************** @material/base/observer-foundation ************************************** !*\ 496 !*** ./packages/mdc-switch/index.ts ***! 497 \************************************* ./deprecated ***************************************** !*\ 498 !*** ./packages/mdc-tab-bar/adapter.ts ***! 499 \**************************************** ******************************************* !*\ 500 !*** ./packages/mdc-tab-bar/component.ts ***! 501 \****************************************** @material/tab-scroller/component @material/tab/component @material/tab/foundation ******************************************* !*\ 502 !*** ./packages/mdc-tab-bar/constants.ts ***! 503 \****************************************** ******************************************** !*\ 504 !*** ./packages/mdc-tab-bar/foundation.ts ***! 505 \******************************************* *************************************** !*\ 506 !*** ./packages/mdc-tab-bar/index.ts ***! 507 \************************************** *************************************** !*\ 508 !*** ./packages/mdc-tab-bar/types.ts ***! 509 \************************************** *********************************************** !*\ 510 !*** ./packages/mdc-tab-indicator/adapter.ts ***! 511 \********************************************** ************************************************* !*\ 512 !*** ./packages/mdc-tab-indicator/component.ts ***! 513 \************************************************ ./fading-foundation ./sli
513ding-foundation ************************************************* !*\ 514 !*** ./packages/mdc-tab-indicator/constants.ts ***! 515 \************************************************ ********************************************************* !*\ 516 !*** ./packages/mdc-tab-indicator/fading-foundation.ts ***! 517 \******************************************************** ************************************************** !*\ 518 !*** ./packages/mdc-tab-indicator/foundation.ts ***! 519 \************************************************* ********************************************* !*\ 520 !*** ./packages/mdc-tab-indicator/index.ts ***! 521 \******************************************** ********************************************************** !*\ 522 !*** ./packages/mdc-tab-indicator/sliding-foundation.ts ***! 523 \********************************************************* ********************************************** !*\ 524 !*** ./packages/mdc-tab-scroller/adapter.ts ***! 525 \********************************************* ************************************************ !*\ 526 !*** ./packages/mdc-tab-scroller/component.ts ***! 527 \*********************************************** ************************************************ !*\ 528 !*** ./packages/mdc-tab-scroller/constants.ts ***! 529 \*********************************************** ************************************************* !*\ 530 !*** ./packages/mdc-tab-scroller/foundation.ts ***! 531 \************************************************ ./rtl-default-scroller ./rtl-negative-scroller ./rtl-reverse-scroller ******************************************** !*\ 532 !*** ./packages/mdc-tab-scroller/index.ts ***! 533 \******************************************* *********************************************************** !*\ 534 !*** ./packages/mdc-tab-scroller/rtl-default-scroller.ts ***! 535 \********************************************************** ./rtl-scroller ************************************************************ !*\ 536 !*** ./packages/mdc-tab-scroller/rtl-negative-scroller.ts ***! 537 \*********************************************************** *********************************************************** !*\ 538 !*** ./packages/mdc-tab-scroller/rtl-reverse-scroller.ts ***! 539 \********************************************************** *************************************************** !*\ 540 !*** ./packages/mdc-tab-scroller/rtl-scroller.ts ***! 541 \************************************************** ******************************************** !*\ 542 !*** ./packages/mdc-tab-scroller/types.ts ***! 543 \******************************************* ******************************************* !*\ 544 !*** ./packages/mdc-tab-scroller/util.ts ***! 545 \****************************************** ************************************* !*\ 546 !*** ./packages/mdc-tab/adapter.ts ***! 547 \************************************ *************************************** !*\ 548 !*** ./packages/mdc-tab/component.ts ***! 549 \************************************** @material/tab-indicator/component *************************************** !*\ 550 !*** ./packages/mdc-tab/constants.ts ***! 551 \************************************** **************************************** !*\ 552 !*** ./packages/mdc-tab/foundation.ts ***! 553 \*************************************** *********************************** !*\ 554 !*** ./packages/mdc-tab/index.ts ***! 555 \********************************** *********************************** !*\ 556 !*** ./packages/mdc-tab/types.ts ***! 557 \********************************** ******************************************* !*\ 558 !*** ./packages/mdc-textfield/adapter.ts ***! 559 \****************************************** ************************************************************* !*\ 560 !*** ./packages/mdc-textfield/character-counter/adapter.ts ***! 561 \************************************************************ *************************************************************** !*\ 562 !*** ./packages/mdc-textfield/character-counter/component.ts ***! 563 \************************************************************** *************************************************************** !*\ 564 !*** ./packages/mdc-textfield/character-counter/constants.ts ***! 565 \************************************************************** **************************************************************** !*\ 566 !*** ./packages/mdc-textfield/character-counter/foundation.ts ***! 567 \*************************************************************** *********************************************************** !*\ 568 !*** ./packages/mdc-textfield/character-counter/index.ts ***! 569 \********************************************************** ********************************************* !*\ 570 !*** ./packages/mdc-textfield/component.ts ***! 571 \******************************************** ./character-counter/component ./character-counter/foundation ./helper
571-text/foundation ********************************************* !*\ 572 !*** ./packages/mdc-textfield/constants.ts ***! 573 \******************************************** ********************************************** !*\ 574 !*** ./packages/mdc-textfield/foundation.ts ***! 575 \********************************************* ******************************************************* !*\ 576 !*** ./packages/mdc-textfield/helper-text/adapter.ts ***! 577 \****************************************************** ********************************************************* !*\ 578 !*** ./packages/mdc-textfield/helper-text/component.ts ***! 579 \******************************************************** ********************************************************* !*\ 580 !*** ./packages/mdc-textfield/helper-text/constants.ts ***! 581 \******************************************************** ********************************************************** !*\ 582 !*** ./packages/mdc-textfield/helper-text/foundation.ts ***! 583 \********************************************************* ***************************************************** !*\ 584 !*** ./packages/mdc-textfield/helper-text/index.ts ***! 585 \**************************************************** ************************************************ !*\ 586 !*** ./packages/mdc-textfield/icon/adapter.ts ***! 587 \*********************************************** ************************************************** !*\ 588 !*** ./packages/mdc-textfield/icon/component.ts ***! 589 \************************************************* ************************************************** !*\ 590 !*** ./packages/mdc-textfield/icon/constants.ts ***! 591 \************************************************* *************************************************** !*\ 592 !*** ./packages/mdc-textfield/icon/foundation.ts ***! 593 \************************************************** ********************************************** !*\ 594 !*** ./packages/mdc-textfield/icon/index.ts ***! 595 \********************************************* ***************************************** !*\ 596 !*** ./packages/mdc-textfield/index.ts ***! 597 \**************************************** ./character-counter/index ***************************************** !*\ 598 !*** ./packages/mdc-textfield/types.ts ***! 599 \**************************************** ***************************************** !*\ 600 !*** ./packages/mdc-tooltip/adapter.ts ***! 601 \**************************************** ******************************************* !*\ 602 !*** ./packages/mdc-tooltip/component.ts ***! 603 \****************************************** ******************************************* !*\ 604 !*** ./packages/mdc-tooltip/constants.ts ***! 605 \****************************************** ******************************************** !*\ 606 !*** ./packages/mdc-tooltip/foundation.ts ***! 607 \******************************************* *************************************** !*\ 608 !*** ./packages/mdc-tooltip/index.ts ***! 609 \************************************** ********************************************* !*\ 610 !*** ./packages/mdc-top-app-bar/adapter.ts ***! 611 \******************************************** *********************************************** !*\ 612 !*** ./packages/mdc-top-app-bar/component.ts ***! 613 \********************************************** ./fixed/foundation ./short/foundation ./standard/foundation *********************************************** !*\ 614 !*** ./packages/mdc-top-app-bar/constants.ts ***! 615 \********************************************** ****************************************************** !*\ 616 !*** ./packages/mdc-top-app-bar/fixed/foundation.ts ***! 617 \***************************************************** ../standard/foundation ************************************************ !*\ 618 !*** ./packages/mdc-top-app-bar/foundation.ts ***! 619 \*********************************************** ******************************************* !*\ 620 !*** ./packages/mdc-top-app-bar/index.ts ***! 621 \****************************************** ****************************************************** !*\ 622 !*** ./packages/mdc-top-app-bar/short/foundation.ts ***! 623 \***************************************************** ../foundation ********************************************************* !*\ 624 !*** ./packages/mdc-top-app-bar/standard/foundation.ts ***! 625 \*********************************************************/ 626(function(r,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define("material-components-web",[],e):"object"===typeof exports?exp
626orts.mdc=e():r.mdc=e()})(this,function(){return function(r){function e(v){if(n[v])return n[v].exports;var q=n[v]={i:v,l:!1,exports:{}};r[v].call(q.exports,q,q.exports,e);q.l=!0;return q.exports}var n={};e.m=r;e.c=n;e.d=function(v,q,m){e.o(v,q)||Object.defineProperty(v,q,{enumerable:!0,get:m})};e.r=function(v){"undefined"!== 627typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"});Object.defineProperty(v,"__esModule",{value:!0})};e.t=function(v,q){q&1&&(v=e(v));if(q&8||q&4&&"object"===typeof v&&v&&v.__esModule)return v;var m=Object.create(null);e.r(m);Object.defineProperty(m,"default",{enumerable:!0,value:v});if(q&2&&"string"!=typeof v)for(var g in v)e.d(m,g,function(c){return v[c]}.bind(null,g));return m};e.n=function(v){var q=v&&v.__esModule?function(){return v["default"]}:function(){return v}; 628e.d(q,"a",q);return q};e.o=function(v,q){return Object.prototype.hasOwnProperty.call(v,q)};e.p="";return e(e.s="./packages/material-components-web/index.ts")}({
628"./packages/material-components-web/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(I,L,M,N){void 0===N&&(N=M);Object.defineProperty(I,N,{enumerable:!0,get:function(){return L[M]}})}:function(I,L,M,N){void 0===N&&(N=M);I[N]=L[M]}),q=this&&this.__setModuleDefault||(Object.create?function(I,L){Object.defineProperty(I, 629"default",{enumerable:!0,value:L})}:function(I,L){I["default"]=L});r=this&&this.__importStar||function(I){if(I&&I.__esModule)return I;var L={};if(null!=I)for(var M in I)"default"!==M&&Object.prototype.hasOwnProperty.call(I,M)&&v(L,I,M);q(L,I);return L};var m=this&&this.__importDefault||function(I){return I&&I.__esModule?I:{"default":I}};Object.defineProperty(e,"__esModule",{value:!0});e.topAppBar=e.tooltip=e.textField=e.tabScroller=e.tabIndicator=e.tabBar=e.tab=e.switchControl=e.snackbar=e.slider= 630e.select=e.segmentedButton=e.ripple=e.radio=e.notchedOutline=e.menuSurface=e.menu=e.list=e.linearProgress=e.lineRipple=e.iconButton=e.formField=e.floatingLabel=e.drawer=e.dom=e.dialog=e.dataTable=e.circularProgress=e.chips=e.checkbox=e.base=e.banner=e.autoInit=void 0;m=m(n("./packages/mdc-auto-init/index.ts"));e.autoInit=m.default;var g=r(n("./packages/mdc-banner/index.ts"));e.banner=g;var c=r(n("./packages/mdc-base/index.ts"));e.base=c;c=r(n("./packages/mdc-checkbox/index.ts"));e.checkbox=c;var d= 631r(n("./packages/mdc-chips/deprecated/index.ts"));e.chips=d;var a=r(n("./packages/mdc-circular-progress/index.ts"));e.circularProgress=a;var b=r(n("./packages/mdc-data-table/index.ts"));e.dataTable=b;var f=r(n("./packages/mdc-dialog/index.ts"));e.dialog=f;var l=r(n("./packages/mdc-dom/index.ts"));e.dom=l;l=r(n("./packages/mdc-drawer/index.ts"));e.drawer=l;var k=r(n("./packages/mdc-floating-label/index.ts"));e.floatingLabel=k;var h=r(n("./packages/mdc-form-field/index.ts"));e.formField=h;var p=r(n("./packages/mdc-icon-button/index.ts")); 632e.iconButton=p;var t=r(n("./packages/mdc-line-ripple/index.ts"));e.lineRipple=t;var u=r(n("./packages/mdc-linear-progress/index.ts"));e.linearProgress=u;var z=r(n("./packages/mdc-list/index.ts"));e.list=z;var C=r(n("./packages/mdc-menu-surface/index.ts"));e.menuSurface=C;var B=r(n("./packages/mdc-menu/index.ts"));e.menu=B;var x=r(n("./packages/mdc-notched-outline/index.ts"));e.notchedOutline=x;var w=r(n("./packages/mdc-radio/index.ts"));e.radio=w;var y=r(n("./packages/mdc-ripple/index.ts"));e.ripple= 633y;var A=r(n("./packages/mdc-segmented-button/index.ts"));e.segmentedButton=A;var D=r(n("./packages/mdc-select/index.ts"));e.select=D;var E=r(n("./packages/mdc-slider/index.ts"));e.slider=E;var F=r(n("./packages/mdc-snackbar/index.ts"));e.snackbar=F;var H=r(n("./packages/mdc-switch/index.ts"));e.switchControl=H;var G=r(n("./packages/mdc-tab-bar/index.ts"));e.tabBar=G;var J=r(n("./packages/mdc-tab-indicator/index.ts"));e.tabIndicator=J;J=r(n("./packages/mdc-tab-scroller/index.ts"));e.tabScroller=J; 634J=r(n("./packages/mdc-tab/index.ts"));e.tab=J;J=r(n("./packages/mdc-textfield/index.ts"));e.textField=J;var K=r(n("./packages/mdc-tooltip/index.ts"));e.tooltip=K;n=r(n("./packages/mdc-top-app-bar/index.ts"));e.topAppBar=n;m.default.register("MDCBanner",g.MDCBanner);m.default.register("MDCCheckbox",c.MDCCheckbox);m.default.register("MDCChip",d.MDCChip);m.default.register("MDCChipSet",d.MDCChipSet);m.default.register("MDCCircularProgress",a.MDCCircularProgress);m.default.register("MDCDataTable",b.MDCDataTable); 635m.default.register("MDCDialog",f.MDCDialog);m.default.register("MDCDrawer",l.MDCDrawer);m.default.register("MDCFloatingLabel",k.MDCFloatingLabel);m.default.register("MDCFormField",h.MDCFormField);m.default.register("MDCIconButtonToggle",p.MDCIconButtonToggle);m.default.register("MDCLineRipple",t.MDCLineRipple);m.default.register("MDCLinearProgress",u.MDCLinearProgress);m.default.register("MDCList",z.MDCList);m.default.register("MDCMenu",B.MDCMenu);m.default.register("MDCMenuSurface",C.MDCMenuSurface); 636m.default.register("MDCNotchedOutline",x.MDCNotchedOutline);m.default.register("MDCRadio",w.MDCRadio);m.default.register("MDCRipple",y.MDCRipple);m.default.register("MDCSegmentedButton",A.MDCSegmentedButton);m.default.register("MDCSelect",D.MDCSelect);m.default.register("MDCSlider",E.MDCSlider);m.default.register("MDCSnackbar",F.MDCSnackbar);m.default.register("MDCSwitch",H.MDCSwitch);m.default.register("MDCTabBar",G.MDCTabBar);m.default.register("MDCTextField",J.MDCTextField);m.default.register("MDCTooltip", 637K.MDCTooltip);m.default.register("MDCTopAppBar",n.MDCTopAppBar)},
637"./packages/mdc-animation/animationframe.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.AnimationFrame=void 0;r=function(){function v(){this.rafIDs=new Map}v.prototype.request=function(q,m){var g=this;this.cancel(q);var c=requestAnimationFrame(function(d){g.rafIDs.delete(q);m(d)});this.rafIDs.set(q,c)};v.prototype.cancel=function(q){var m=this.rafIDs.get(q);m&&(cancelAnimationFrame(m),this.rafIDs.delete(q))}; 638v.prototype.cancelAll=function(){var q=this;this.rafIDs.forEach(function(m,g){q.cancel(g)})};v.prototype.getQueue=function(){var q=[];this.rafIDs.forEach(function(m,g){q.push(g)});return q};return v}();e.AnimationFrame=r},
638"./packages/mdc-animation/util.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.getCorrectEventName=e.getCorrectPropertyName=void 0;var v={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"}, 639transition:{prefixed:"-webkit-transition",standard:"transition"}},q={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};e.getCorrectPropertyName=function(m, 640g){if(m.document&&"function"===typeof m.document.createElement&&g in v){m=m.document.createElement("div");var c=v[g];g=c.standard;c=c.prefixed;return g in m.style?g:c}return g};e.getCorrectEventName=function(m,g){if(m.document&&"function"===typeof m.document.createElement&&g in q){m=m.document.createElement("div");g=q[g];var c=g.standard,d=g.prefixed;return g.cssProperty in m.style?c:d}return g}},
640"./packages/mdc-auto-init/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0}); 641e.strings=void 0;e.strings={AUTO_INIT_ATTR:"data-mdc-auto-init",AUTO_INIT_STATE_ATTR:"data-mdc-auto-init-state",INITIALIZED_STATE:"initialized"}},
641"./packages/mdc-auto-init/index.ts":function(r,e,n){function v(f,l,k){void 0===k&&(k=!1);if("function"===typeof CustomEvent)var h=new CustomEvent(f,{bubbles:k,detail:l});else h=document.createEvent("CustomEvent"),h.initCustomEvent(f,k,!1,l);document.dispatchEvent(h)}function q(f){var l;void 0===f&&(f=document);var k=[];f=[].slice.call(f.querySelectorAll("["+ 642g+"]"));f=f.filter(function(x){return x.getAttribute(c)!==d});try{for(var h=m(f),p=h.next();!p.done;p=h.next()){var t=p.value,u=t.getAttribute(g);if(!u)throw Error("(mdc-auto-init) Constructor name must be given.");var z=a[u];if("function"!==typeof z)throw Error("(mdc-auto-init) Could not find constructor in registry for "+u);var C=z.attachTo(t);Object.defineProperty(t,u,{configurable:!0,enumerable:!1,value:C,writable:!1});k.push(C);t.setAttribute(c,d)}}catch(x){var B={error:x}}finally{try{p&&!p.done&& 643(l=h.return)&&l.call(h)}finally{if(B)throw B.error;}}v("MDCAutoInit:End",{});return k}var m=this&&this.__values||function(f){var l="function"===typeof Symbol&&Symbol.iterator,k=l&&f[l],h=0;if(k)return k.call(f);if(f&&"number"===typeof f.length)return{next:function(){f&&h>=f.length&&(f=void 0);return{value:f&&f[h++],done:!f}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.mdcAutoInit=void 0;r=n("./packages/mdc-auto-init/constants.ts"); 644var g=r.strings.AUTO_INIT_ATTR,c=r.strings.AUTO_INIT_STATE_ATTR,d=r.strings.INITIALIZED_STATE,a={},b=console.warn.bind(console);e.mdcAutoInit=q;q.register=function(f,l,k){void 0===k&&(k=b);if("function"!==typeof l)throw Error("(mdc-auto-init) Invalid Constructor value: "+l+". Expected function.");var h=a[f];h&&k("(mdc-auto-init) Overriding registration for "+f+" with "+l+". Was: "+h);a[f]=l};q.deregister=function(f){delete a[f]};q.deregisterAll=function(){Object.keys(a).forEach(this.deregister,this)}; 645e.default=q},
645"./packages/mdc-banner/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
645"./packages/mdc-banner/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+ 646String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCBanner=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-dom/focus-trap.ts"),m=n("./packages/mdc-dom/ponyfill.ts"),g=n("./packages/mdc-banner/constants.ts"),c=n("./packages/mdc-banner/foundation.ts");n=function(d){function a(){return null!==d&&d.apply(this,arguments)||this}v(a,d);a.attachTo=function(b){return new a(b)}; 647a.prototype.initialize=function(b){var f=this;void 0===b&&(b=function(l,k){return new q.FocusTrap(l,k)});this.contentEl=this.root.querySelector(g.selectors.CONTENT);this.textEl=this.root.querySelector(g.selectors.TEXT);this.primaryActionEl=this.root.querySelector(g.selectors.PRIMARY_ACTION);this.secondaryActionEl=this.root.querySelector(g.selectors.SECONDARY_ACTION);this.focusTrapFactory=b;this.handleContentClick=function(l){l=l.target;m.closest(l,g.selectors.PRIMARY_ACTION)?f.foundation.handlePrimaryActionClick(): 648m.closest(l,g.selectors.SECONDARY_ACTION)&&f.foundation.handleSecondaryActionClick()}};a.prototype.initialSyncWithDOM=function(){this.registerContentClickHandler(this.handleContentClick);this.focusTrap=this.focusTrapFactory(this.root,{initialFocusEl:this.primaryActionEl})};a.prototype.destroy=function(){d.prototype.destroy.call(this);this.deregisterContentClickHandler(this.handleContentClick)};a.prototype.layout=function(){this.foundation.layout()};a.prototype.open=function(){this.foundation.open()}; 649a.prototype.close=function(b){this.foundation.close(b)};a.prototype.getDefaultFoundation=function(){var b=this;return new c.MDCBannerFoundation({addClass:function(f){b.root.classList.add(f)},getContentHeight:function(){return b.contentEl.offsetHeight},notifyClosed:function(f){b.emit(g.events.CLOSED,{reason:f})},notifyClosing:function(f){b.emit(g.events.CLOSING,{reason:f})},notifyOpened:function(){b.emit(g.events.OPENED,{})},notifyOpening:function(){b.emit(g.events.OPENING,{})},releaseFocus:function(){b.focusTrap.releaseFocus()}, 650removeClass:function(f){b.root.classList.remove(f)},setStyleProperty:function(f,l){b.root.style.setProperty(f,l)},trapFocus:function(){b.focusTrap.trapFocus()}})};Object.defineProperty(a.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0});a.prototype.getText=function(){return this.textEl.textContent||""};a.prototype.setText=function(b){this.textEl.textContent=b};a.prototype.getPrimaryActionText=function(){return this.primaryActionEl.textContent||""}; 651a.prototype.setPrimaryActionText=function(b){this.primaryActionEl.textContent=b};a.prototype.getSecondaryActionText=function(){return this.secondaryActionEl?this.secondaryActionEl.textContent||"":null};a.prototype.setSecondaryActionText=function(b){this.secondaryActionEl&&(this.secondaryActionEl.textContent=b)};a.prototype.registerContentClickHandler=function(b){this.contentEl.addEventListener("click",b)};a.prototype.deregisterContentClickHandler=function(b){this.contentEl.removeEventListener("click", 652b)};return a}(r.MDCComponent);e.MDCBanner=n},
652"./packages/mdc-banner/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.CloseReason=e.selectors=e.events=e.numbers=e.cssClasses=void 0;e.cssClasses={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"};e.numbers={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300};e.events={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening"}; 653e.selectors={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};r=e.CloseReason||(e.CloseReason={});r[r.PRIMARY=0]="PRIMARY";r[r.SECONDARY=1]="SECONDARY";r[r.UNSPECIFIED=2]="UNSPECIFIED"},
653"./packages/mdc-banner/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,k){l.__proto__=k}||function(l,k){for(var h in k)Object.prototype.hasOwnProperty.call(k, 654h)&&(l[h]=k[h])};return a(b,f)};return function(b,f){function l(){this.constructor=b}if("function"!==typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");a(b,f);b.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),q=this&&this.__assign||function(){q=Object.assign||function(a){for(var b,f=1,l=arguments.length;f<l;f++){b=arguments[f];for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(a[k]=b[k])}return a};return q.apply(this, 655arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCBannerFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-banner/constants.ts"),g=m.cssClasses.OPENING,c=m.cssClasses.OPEN,d=m.cssClasses.CLOSING;n=function(a){function b(f){f=a.call(this,q(q({},b.defaultAdapter),f))||this;f.isOpened=!1;f.animationFrame=0;f.animationTimer=0;return f}v(b,a);Object.defineProperty(b,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0}, 656notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0});b.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame);this.animationFrame=0;clearTimeout(this.animationTimer);this.animationTimer=0};b.prototype.open=function(){var f=this;this.isOpened=!0;this.adapter.notifyOpening();this.adapter.removeClass(d); 657this.adapter.addClass(g);var l=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){f.adapter.addClass(c);f.adapter.setStyleProperty("height",l+"px");f.animationTimer=setTimeout(function(){f.handleAnimationTimerEnd();f.adapter.trapFocus();f.adapter.notifyOpened()},m.numbers.BANNER_ANIMATION_OPEN_TIME_MS)})};b.prototype.close=function(f){var l=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(f), 658this.adapter.addClass(d),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(c),this.adapter.removeClass(g),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){l.adapter.releaseFocus();l.handleAnimationTimerEnd();l.adapter.notifyClosed(f)},m.numbers.BANNER_ANIMATION_CLOSE_TIME_MS))};b.prototype.isOpen=function(){return this.isOpened};b.prototype.handlePrimaryActionClick=function(){this.close(m.CloseReason.PRIMARY)};b.prototype.handleSecondaryActionClick=function(){this.close(m.CloseReason.SECONDARY)}; 659b.prototype.layout=function(){var f=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",f+"px")};b.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0;this.adapter.removeClass(g);this.adapter.removeClass(d)};return b}(r.MDCFoundation);e.MDCBannerFoundation=n},
659"./packages/mdc-banner/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q, 660m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-banner/adapter.ts"),e);r(n("./packages/mdc-banner/component.ts"),e);r(n("./packages/mdc-banner/constants.ts"),e);r(n("./packages/mdc-banner/foundation.ts"),e)},
660"./packages/mdc-base/component.ts":function(r,e,n){var v=this&&this.__read||function(g,c){var d="function"===typeof Symbol&& 661g[Symbol.iterator];if(!d)return g;g=d.call(g);var a,b=[];try{for(;(void 0===c||0<c--)&&!(a=g.next()).done;)b.push(a.value)}catch(l){var f={error:l}}finally{try{a&&!a.done&&(d=g["return"])&&d.call(g)}finally{if(f)throw f.error;}}return b},q=this&&this.__spreadArray||function(g,c){for(var d=0,a=c.length,b=g.length;d<a;d++,b++)g[b]=c[d];return g};Object.defineProperty(e,"__esModule",{value:!0});e.MDCComponent=void 0;var m=n("./packages/mdc-base/foundation.ts");r=function(){function g(c,d){for(var a= 662[],b=2;b<arguments.length;b++)a[b-2]=arguments[b];this.root=c;this.initialize.apply(this,q([],v(a)));this.foundation=void 0===d?this.getDefaultFoundation():d;this.foundation.init();this.initialSyncWithDOM()}g.attachTo=function(c){return new g(c,new m.MDCFoundation({}))};g.prototype.initialize=function(){for(var c=0;c<arguments.length;c++);};g.prototype.getDefaultFoundation=function(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");};g.prototype.initialSyncWithDOM= 663function(){};g.prototype.destroy=function(){this.foundation.destroy()};g.prototype.listen=function(c,d,a){this.root.addEventListener(c,d,a)};g.prototype.unlisten=function(c,d,a){this.root.removeEventListener(c,d,a)};g.prototype.emit=function(c,d,a){void 0===a&&(a=!1);if("function"===typeof CustomEvent)var b=new CustomEvent(c,{bubbles:a,detail:d});else b=document.createEvent("CustomEvent"),b.initCustomEvent(c,a,!1,d);this.root.dispatchEvent(b)};return g}();e.MDCComponent=r;e.default=r},
663"./packages/mdc-base/foundation.ts":function(r, 664e,n){Object.defineProperty(e,"__esModule",{value:!0});e.MDCFoundation=void 0;r=function(){function v(q){void 0===q&&(q={});this.adapter=q}Object.defineProperty(v,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0});Object.defineProperty(v,"strings",{get:function(){return{}},enumerable:!1,configurable:!0});Object.defineProperty(v,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0});Object.defineProperty(v,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}); 665v.prototype.init=function(){};v.prototype.destroy=function(){};return v}();e.MDCFoundation=r;e.default=r},
665"./packages/mdc-base/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e, 666"__esModule",{value:!0});r(n("./packages/mdc-base/component.ts"),e);r(n("./packages/mdc-base/foundation.ts"),e);r(n("./packages/mdc-base/types.ts"),e)},
666"./packages/mdc-base/observer-foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor= 667a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__values||function(d){var a="function"===typeof Symbol&&Symbol.iterator,b=a&&d[a],f=0;if(b)return b.call(d);if(d&&"number"===typeof d.length)return{next:function(){d&&f>=d.length&&(d=void 0);return{value:d&&d[f++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined."); 668},m=this&&this.__read||function(d,a){var b="function"===typeof Symbol&&d[Symbol.iterator];if(!b)return d;d=b.call(d);var f,l=[];try{for(;(void 0===a||0<a--)&&!(f=d.next()).done;)l.push(f.value)}catch(h){var k={error:h}}finally{try{f&&!f.done&&(b=d["return"])&&b.call(d)}finally{if(k)throw k.error;}}return l},g=this&&this.__spreadArray||function(d,a){for(var b=0,f=a.length,l=d.length;b<f;b++,l++)d[l]=a[b];return d};Object.defineProperty(e,"__esModule",{value:!0});e.MDCObserverFoundation=void 0;r=n("./packages/mdc-base/foundation.ts"); 669var c=n("./packages/mdc-base/observer.ts");n=function(d){function a(b){b=d.call(this,b)||this;b.unobserves=new Set;return b}v(a,d);a.prototype.destroy=function(){d.prototype.destroy.call(this);this.unobserve()};a.prototype.observe=function(b,f){var l,k=this,h=[];try{for(var p=q(Object.keys(f)),t=p.next();!t.done;t=p.next()){var u=t.value,z=f[u].bind(this);h.push(this.observeProperty(b,u,z))}}catch(B){var C={error:B}}finally{try{t&&!t.done&&(l=p.return)&&l.call(p)}finally{if(C)throw C.error;}}b=function x(){var w; 670try{for(var y=q(h),A=y.next();!A.done;A=y.next()){var D=A.value;D()}}catch(F){var E={error:F}}finally{try{A&&!A.done&&(w=y.return)&&w.call(y)}finally{if(E)throw E.error;}}k.unobserves.delete(x)};this.unobserves.add(b);return b};a.prototype.observeProperty=function(b,f,l){return c.observeProperty(b,f,l)};a.prototype.setObserversEnabled=function(b,f){c.setObserversEnabled(b,f)};a.prototype.unobserve=function(){var b;try{for(var f=q(g([],m(this.unobserves))),l=f.next();!l.done;l=f.next()){var k=l.value; 671k()}}catch(p){var h={error:p}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(h)throw h.error;}}};return a}(r.MDCFoundation);e.MDCObserverFoundation=n},
671"./packages/mdc-base/observer.ts":function(r,e,n){function v(k,h,p){var t=q(k,h).getObservers(h);t.push(p);return function(){t.splice(t.indexOf(p),1)}}function q(k,h){var p=new Map;l.has(k)||l.set(k,{isEnabled:!0,getObservers:function(w){var y=p.get(w)||[];p.has(w)||p.set(w,y);return y},installedProperties:new Set});var t=l.get(k);if(t.installedProperties.has(h))return t; 672var u=m(k,h)||{configurable:!0,enumerable:!0,value:k[h],writable:!0},z=d({},u),C=u.get,B=u.set;if("value"in u){delete z.value;delete z.writable;var x=u.value;C=function(){return x};u.writable&&(B=function(w){x=w})}C&&(z.get=function(){return C.call(this)});B&&(z.set=function(w){var y,A=C?C.call(this):w;B.call(this,w);if(t.isEnabled&&(!C||w!==A))try{for(var D=a(t.getObservers(h)),E=D.next();!E.done;E=D.next()){var F=E.value;F(w,A)}}catch(G){var H={error:G}}finally{try{E&&!E.done&&(y=D.return)&&y.call(D)}finally{if(H)throw H.error; 673}}});t.installedProperties.add(h);Object.defineProperty(k,h,z);return t}function m(k,h){for(var p;k&&!(p=Object.getOwnPropertyDescriptor(k,h));)k=Object.getPrototypeOf(k);return p}function g(k,h){if(k=l.get(k))k.isEnabled=h}var c=this&&this.__extends||function(){var k=function(h,p){k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,u){t.__proto__=u}||function(t,u){for(var z in u)Object.prototype.hasOwnProperty.call(u,z)&&(t[z]=u[z])};return k(h,p)};return function(h,p){function t(){this.constructor= 674h}if("function"!==typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");k(h,p);h.prototype=null===p?Object.create(p):(t.prototype=p.prototype,new t)}}(),d=this&&this.__assign||function(){d=Object.assign||function(k){for(var h,p=1,t=arguments.length;p<t;p++){h=arguments[p];for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(k[u]=h[u])}return k};return d.apply(this,arguments)},a=this&&this.__values||function(k){var h="function"===typeof Symbol&& 675Symbol.iterator,p=h&&k[h],t=0;if(p)return p.call(k);if(k&&"number"===typeof k.length)return{next:function(){k&&t>=k.length&&(k=void 0);return{value:k&&k[t++],done:!k}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.");},b=this&&this.__read||function(k,h){var p="function"===typeof Symbol&&k[Symbol.iterator];if(!p)return k;k=p.call(k);var t,u=[];try{for(;(void 0===h||0<h--)&&!(t=k.next()).done;)u.push(t.value)}catch(C){var z={error:C}}finally{try{t&&!t.done&&(p=k["return"])&& 676p.call(k)}finally{if(z)throw z.error;}}return u},f=this&&this.__spreadArray||function(k,h){for(var p=0,t=h.length,u=k.length;p<t;p++,u++)k[u]=h[p];return k};Object.defineProperty(e,"__esModule",{value:!0});e.setObserversEnabled=e.getDescriptor=e.observeProperty=e.mdcObserver=void 0;e.mdcObserver=function(k){void 0===k&&(k=function(){return function(){}}());var h=new WeakMap;return function(p){function t(){return null!==p&&p.apply(this,arguments)||this}c(t,p);t.prototype.observe=function(u,z){var C, 677B=this,x=[];try{for(var w=a(Object.keys(z)),y=w.next();!y.done;y=w.next()){var A=y.value,D=z[A].bind(this);x.push(v(u,A,D))}}catch(F){var E={error:F}}finally{try{y&&!y.done&&(C=w.return)&&C.call(w)}finally{if(E)throw E.error;}}u=function H(){var G;try{for(var J=a(x),K=J.next();!K.done;K=J.next()){var I=K.value;I()}}catch(M){var L={error:M}}finally{try{K&&!K.done&&(G=J.return)&&G.call(J)}finally{if(L)throw L.error;}}L=h.get(B)||[];G=L.indexOf(H);-1<G&&L.splice(G,1)};z=h.get(this);z||(z=[],h.set(this, 678z));z.push(u);return u};t.prototype.setObserversEnabled=function(u,z){g(u,z)};t.prototype.unobserve=function(){var u,z=h.get(this)||[];try{for(var C=a(f([],b(z))),B=C.next();!B.done;B=C.next()){var x=B.value;x()}}catch(y){var w={error:y}}finally{try{B&&!B.done&&(u=C.return)&&u.call(C)}finally{if(w)throw w.error;}}};return t}(k)};e.observeProperty=v;var l=new WeakMap;e.getDescriptor=m;e.setObserversEnabled=g},
678"./packages/mdc-base/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
679"./packages/mdc-checkbox/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
679"./packages/mdc-checkbox/component.ts":function(r,e,n){var v="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(p){return typeof p}:function(p){return p&&"function"===typeof Symbol&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},q=this&&this.__extends||function(){var p=function(t,u){p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,C){z.__proto__= 680C}||function(z,C){for(var B in C)Object.prototype.hasOwnProperty.call(C,B)&&(z[B]=C[B])};return p(t,u)};return function(t,u){function z(){this.constructor=t}if("function"!==typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");p(t,u);t.prototype=null===u?Object.create(u):(z.prototype=u.prototype,new z)}}(),m=this&&this.__assign||function(){m=Object.assign||function(p){for(var t,u=1,z=arguments.length;u<z;u++){t=arguments[u];for(var C in t)Object.prototype.hasOwnProperty.call(t, 681C)&&(p[C]=t[C])}return p};return m.apply(this,arguments)},g=this&&this.__values||function(p){var t="function"===typeof Symbol&&Symbol.iterator,u=t&&p[t],z=0;if(u)return u.call(p);if(p&&"number"===typeof p.length)return{next:function(){p&&z>=p.length&&(p=void 0);return{value:p&&p[z++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCCheckbox=void 0;var c=n("./packages/mdc-animation/util.ts");r=n("./packages/mdc-base/component.ts"); 682var d=n("./packages/mdc-dom/events.ts"),a=n("./packages/mdc-dom/ponyfill.ts"),b=n("./packages/mdc-ripple/component.ts"),f=n("./packages/mdc-ripple/foundation.ts"),l=n("./packages/mdc-checkbox/constants.ts"),k=n("./packages/mdc-checkbox/foundation.ts"),h=["checked","indeterminate"];n=function(p){function t(){var u=null!==p&&p.apply(this,arguments)||this;u.rippleSurface=u.createRipple();return u}q(t,p);t.attachTo=function(u){return new t(u)};Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleSurface}, 683enumerable:!1,configurable:!0});Object.defineProperty(t.prototype,"checked",{get:function(){return this.getNativeControl().checked},set:function(u){this.getNativeControl().checked=u},enumerable:!1,configurable:!0});Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this.getNativeControl().indeterminate},set:function(u){this.getNativeControl().indeterminate=u},enumerable:!1,configurable:!0});Object.defineProperty(t.prototype,"disabled",{get:function(){return this.getNativeControl().disabled}, 684set:function(u){this.foundation.setDisabled(u)},enumerable:!1,configurable:!0});Object.defineProperty(t.prototype,"value",{get:function(){return this.getNativeControl().value},set:function(u){this.getNativeControl().value=u},enumerable:!1,configurable:!0});t.prototype.initialize=function(){var u=l.strings.DATA_INDETERMINATE_ATTR;this.getNativeControl().indeterminate="true"===this.getNativeControl().getAttribute(u);this.getNativeControl().removeAttribute(u)};t.prototype.initialSyncWithDOM=function(){var u= 685this;this.handleChange=function(){u.foundation.handleChange()};this.handleAnimationEnd=function(){u.foundation.handleAnimationEnd()};this.getNativeControl().addEventListener("change",this.handleChange);this.listen(c.getCorrectEventName(window,"animationend"),this.handleAnimationEnd);this.installPropertyChangeHooks()};t.prototype.destroy=function(){this.rippleSurface.destroy();this.getNativeControl().removeEventListener("change",this.handleChange);this.unlisten(c.getCorrectEventName(window,"animationend"), 686this.handleAnimationEnd);this.uninstallPropertyChangeHooks();p.prototype.destroy.call(this)};t.prototype.getDefaultFoundation=function(){var u=this;return new k.MDCCheckboxFoundation({addClass:function(z){return u.root.classList.add(z)},forceLayout:function(){return u.root.offsetWidth},hasNativeControl:function(){return!!u.getNativeControl()},isAttachedToDOM:function(){return!!u.root.parentNode},isChecked:function(){return u.checked},isIndeterminate:function(){return u.indeterminate},removeClass:function(z){u.root.classList.remove(z)}, 687removeNativeControlAttr:function(z){u.getNativeControl().removeAttribute(z)},setNativeControlAttr:function(z,C){u.getNativeControl().setAttribute(z,C)},setNativeControlDisabled:function(z){u.getNativeControl().disabled=z}})};t.prototype.createRipple=function(){var u=this,z=m(m({},b.MDCRipple.createAdapter(this)),{deregisterInteractionHandler:function(C,B){u.getNativeControl().removeEventListener(C,B,d.applyPassive())},isSurfaceActive:function(){return a.matches(u.getNativeControl(),":active")},isUnbounded:function(){return!0}, 688registerInteractionHandler:function(C,B){u.getNativeControl().addEventListener(C,B,d.applyPassive())}});return new b.MDCRipple(this.root,new f.MDCRippleFoundation(z))};t.prototype.installPropertyChangeHooks=function(){var u,z=this,C=this.getNativeControl(),B=Object.getPrototypeOf(C),x=function(E){var F=Object.getOwnPropertyDescriptor(B,E);if(!F||"function"!==typeof F.set)return{value:void 0};Object.defineProperty(C,E,{configurable:F.configurable,enumerable:F.enumerable,get:F.get,set:function(H){F.set.call(C, 689H);z.foundation.handleChange()}})};try{for(var w=g(h),y=w.next();!y.done;y=w.next()){var A=x(y.value);if("object"===("undefined"===typeof A?"undefined":v(A)))return A.value}}catch(E){var D={error:E}}finally{try{y&&!y.done&&(u=w.return)&&u.call(w)}finally{if(D)throw D.error;}}};t.prototype.uninstallPropertyChangeHooks=function(){var u,z=this.getNativeControl(),C=Object.getPrototypeOf(z);try{for(var B=g(h),x=B.next();!x.done;x=B.next()){var w=x.value,y=Object.getOwnPropertyDescriptor(C,w);if(!y||"function"!== 690typeof y.set)break;Object.defineProperty(z,w,y)}}catch(D){var A={error:D}}finally{try{x&&!x.done&&(u=B.return)&&u.call(B)}finally{if(A)throw A.error;}}};t.prototype.getNativeControl=function(){var u=l.strings.NATIVE_CONTROL_SELECTOR,z=this.root.querySelector(u);if(!z)throw Error("Checkbox component requires a "+u+" element");return z};return t}(r.MDCComponent);e.MDCCheckbox=n},
690"./packages/mdc-checkbox/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.numbers=e.strings= 691e.cssClasses=void 0;e.cssClasses={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked", 692CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"};e.strings={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control", 693TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"};e.numbers={ANIM_END_LATCH_MS:250}},
693"./packages/mdc-checkbox/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c, 694d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule", 695{value:!0});e.MDCCheckboxFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-checkbox/constants.ts");n=function(g){function c(d){d=g.call(this,q(q({},c.defaultAdapter),d))||this;d.currentCheckState=m.strings.TRANSITION_STATE_INIT;d.currentAnimationClass="";d.animEndLatchTimer=0;d.enableAnimationEndHandler=!1;return d}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings}, 696enumerable:!1,configurable:!0});Object.defineProperty(c,"numbers",{get:function(){return m.numbers},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}}, 697enumerable:!1,configurable:!0});c.prototype.init=function(){this.currentCheckState=this.determineCheckState();this.updateAriaChecked();this.adapter.addClass(m.cssClasses.UPGRADED)};c.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer)};c.prototype.setDisabled=function(d){this.adapter.setNativeControlDisabled(d);d?this.adapter.addClass(m.cssClasses.DISABLED):this.adapter.removeClass(m.cssClasses.DISABLED)};c.prototype.handleAnimationEnd=function(){var d=this;this.enableAnimationEndHandler&& 698(clearTimeout(this.animEndLatchTimer),this.animEndLatchTimer=setTimeout(function(){d.adapter.removeClass(d.currentAnimationClass);d.enableAnimationEndHandler=!1},m.numbers.ANIM_END_LATCH_MS))};c.prototype.handleChange=function(){this.transitionCheckState()};c.prototype.transitionCheckState=function(){if(this.adapter.hasNativeControl()){var d=this.currentCheckState,a=this.determineCheckState();if(d!==a){this.updateAriaChecked();var b=m.cssClasses.SELECTED;a===m.strings.TRANSITION_STATE_UNCHECKED?this.adapter.removeClass(b): 699this.adapter.addClass(b);0<this.currentAnimationClass.length&&(clearTimeout(this.animEndLatchTimer),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass));this.currentAnimationClass=this.getTransitionAnimationClass(d,a);this.currentCheckState=a;this.adapter.isAttachedToDOM()&&0<this.currentAnimationClass.length&&(this.adapter.addClass(this.currentAnimationClass),this.enableAnimationEndHandler=!0)}}};c.prototype.determineCheckState=function(){var d=m.strings.TRANSITION_STATE_INDETERMINATE, 700a=m.strings.TRANSITION_STATE_CHECKED,b=m.strings.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?d:this.adapter.isChecked()?a:b};c.prototype.getTransitionAnimationClass=function(d,a){var b=m.strings.TRANSITION_STATE_INIT,f=m.strings.TRANSITION_STATE_CHECKED,l=m.strings.TRANSITION_STATE_UNCHECKED,k=c.cssClasses,h=k.ANIM_UNCHECKED_CHECKED,p=k.ANIM_UNCHECKED_INDETERMINATE,t=k.ANIM_CHECKED_UNCHECKED,u=k.ANIM_CHECKED_INDETERMINATE,z=k.ANIM_INDETERMINATE_CHECKED;k=k.ANIM_INDETERMINATE_UNCHECKED; 701switch(d){case b:return a===l?"":a===f?z:k;case l:return a===f?h:p;case f:return a===l?t:u;default:return a===f?z:k}};c.prototype.updateAriaChecked=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(m.strings.ARIA_CHECKED_ATTR,m.strings.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(m.strings.ARIA_CHECKED_ATTR)};return c}(r.MDCFoundation);e.MDCCheckboxFoundation=n;e.default=n},
701"./packages/mdc-checkbox/index.ts":function(r,e,n){var v=this&&this.__createBinding|| 702(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-checkbox/adapter.ts"),e);r(n("./packages/mdc-checkbox/component.ts"),e);r(n("./packages/mdc-checkbox/constants.ts"),e);r(n("./packages/mdc-checkbox/foundation.ts"), 703e)},
703"./packages/mdc-chips/deprecated/chip-set/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
703"./packages/mdc-chips/deprecated/chip-set/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var p=function(t,u){p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,C){z.__proto__=C}||function(z,C){for(var B in C)Object.prototype.hasOwnProperty.call(C,B)&&(z[B]=C[B])};return p(t,u)};return function(t,u){function z(){this.constructor=t}if("function"!== 704typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");p(t,u);t.prototype=null===u?Object.create(u):(z.prototype=u.prototype,new z)}}(),q=this&&this.__values||function(p){var t="function"===typeof Symbol&&Symbol.iterator,u=t&&p[t],z=0;if(u)return u.call(p);if(p&&"number"===typeof p.length)return{next:function(){p&&z>=p.length&&(p=void 0);return{value:p&&p[z++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined."); 705};Object.defineProperty(e,"__esModule",{value:!0});e.MDCChipSet=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-dom/announce.ts"),g=n("./packages/mdc-chips/deprecated/chip/component.ts"),c=n("./packages/mdc-chips/deprecated/chip/foundation.ts"),d=n("./packages/mdc-chips/deprecated/chip-set/foundation.ts");n=c.MDCChipFoundation.strings;var a=n.INTERACTION_EVENT,b=n.SELECTION_EVENT,f=n.REMOVAL_EVENT,l=n.NAVIGATION_EVENT,k=d.MDCChipSetFoundation.strings.CHIP_SELECTOR,h=0;n=function(p){function t(){return null!== 706p&&p.apply(this,arguments)||this}v(t,p);t.attachTo=function(u){return new t(u)};Object.defineProperty(t.prototype,"chips",{get:function(){return this.chipsList.slice()},enumerable:!1,configurable:!0});Object.defineProperty(t.prototype,"selectedChipIds",{get:function(){return this.foundation.getSelectedChipIds()},enumerable:!1,configurable:!0});t.prototype.initialize=function(u){void 0===u&&(u=function(z){return new g.MDCChip(z)});this.chipFactory=u;this.chipsList=this.instantiateChips(this.chipFactory)}; 707t.prototype.initialSyncWithDOM=function(){var u,z=this;try{for(var C=q(this.chipsList),B=C.next();!B.done;B=C.next()){var x=B.value;x.id&&x.selected&&this.foundation.select(x.id)}}catch(y){var w={error:y}}finally{try{B&&!B.done&&(u=C.return)&&u.call(C)}finally{if(w)throw w.error;}}this.handleChipInteraction=function(y){return z.foundation.handleChipInteraction(y.detail)};this.handleChipSelection=function(y){return z.foundation.handleChipSelection(y.detail)};this.handleChipRemoval=function(y){return z.foundation.handleChipRemoval(y.detail)}; 708this.handleChipNavigation=function(y){return z.foundation.handleChipNavigation(y.detail)};this.listen(a,this.handleChipInteraction);this.listen(b,this.handleChipSelection);this.listen(f,this.handleChipRemoval);this.listen(l,this.handleChipNavigation)};t.prototype.destroy=function(){var u;try{for(var z=q(this.chipsList),C=z.next();!C.done;C=z.next())C.value.destroy()}catch(x){var B={error:x}}finally{try{C&&!C.done&&(u=z.return)&&u.call(z)}finally{if(B)throw B.error;}}this.unlisten(a,this.handleChipInteraction); 709this.unlisten(b,this.handleChipSelection);this.unlisten(f,this.handleChipRemoval);this.unlisten(l,this.handleChipNavigation);p.prototype.destroy.call(this)};t.prototype.addChip=function(u){u.id=u.id||"mdc-chip-"+ ++h;this.chipsList.push(this.chipFactory(u))};t.prototype.getDefaultFoundation=function(){var u=this;return new d.MDCChipSetFoundation({announceMessage:function(z){m.announce(z)},focusChipPrimaryActionAtIndex:function(z){u.chipsList[z].focusPrimaryAction()},focusChipTrailingActionAtIndex:function(z){u.chipsList[z].focusTrailingAction()}, 710getChipListCount:function(){return u.chips.length},getIndexOfChipById:function(z){return u.findChipIndex(z)},hasClass:function(z){return u.root.classList.contains(z)},isRTL:function(){return"rtl"===window.getComputedStyle(u.root).getPropertyValue("direction")},removeChipAtIndex:function(z){0<=z&&z<u.chips.length&&(u.chipsList[z].destroy(),u.chipsList[z].remove(),u.chipsList.splice(z,1))},removeFocusFromChipAtIndex:function(z){u.chipsList[z].removeFocus()},selectChipAtIndex:function(z,C,B){0<=z&&z< 711u.chips.length&&u.chipsList[z].setSelectedFromChipSet(C,B)}})};t.prototype.instantiateChips=function(u){return[].slice.call(this.root.querySelectorAll(k)).map(function(z){z.id=z.id||"mdc-chip-"+ ++h;return u(z)})};t.prototype.findChipIndex=function(u){for(var z=0;z<this.chips.length;z++)if(this.chipsList[z].id===u)return z;return-1};return t}(r.MDCComponent);e.MDCChipSet=n},
711"./packages/mdc-chips/deprecated/chip-set/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses= 712e.strings=void 0;e.strings={CHIP_SELECTOR:".mdc-chip"};e.cssClasses={CHOICE:"mdc-chip-set--choice",FILTER:"mdc-chip-set--filter"}},
712"./packages/mdc-chips/deprecated/chip-set/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor= 713d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),q=this&&this.__assign||function(){q=Object.assign||function(c){for(var d,a=1,b=arguments.length;a<b;a++){d=arguments[a];for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(c[f]=d[f])}return c};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCChipSetFoundation= 714void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-chips/deprecated/chip/constants.ts"),g=n("./packages/mdc-chips/deprecated/chip-set/constants.ts");n=function(c){function d(a){a=c.call(this,q(q({},d.defaultAdapter),a))||this;a.selectedChipIds=[];return a}v(d,c);Object.defineProperty(d,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(d,"cssClasses",{get:function(){return g.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(d, 715"defaultAdapter",{get:function(){return{announceMessage:function(){},focusChipPrimaryActionAtIndex:function(){},focusChipTrailingActionAtIndex:function(){},getChipListCount:function(){return-1},getIndexOfChipById:function(){return-1},hasClass:function(){return!1},isRTL:function(){return!1},removeChipAtIndex:function(){},removeFocusFromChipAtIndex:function(){},selectChipAtIndex:function(){}}},enumerable:!1,configurable:!0});d.prototype.getSelectedChipIds=function(){return this.selectedChipIds.slice()}; 716d.prototype.select=function(a){this.selectImpl(a,!1)};d.prototype.handleChipInteraction=function(a){a=a.chipId;var b=this.adapter.getIndexOfChipById(a);this.removeFocusFromChipsExcept(b);(this.adapter.hasClass(g.cssClasses.CHOICE)||this.adapter.hasClass(g.cssClasses.FILTER))&&this.toggleSelect(a)};d.prototype.handleChipSelection=function(a){var b=a.chipId,f=a.selected;a.shouldIgnore||(a=0<=this.selectedChipIds.indexOf(b),f&&!a?this.select(b):!f&&a&&this.deselectImpl(b))};d.prototype.handleChipRemoval= 717function(a){var b=a.chipId;(a=a.removedAnnouncement)&&this.adapter.announceMessage(a);a=this.adapter.getIndexOfChipById(b);this.deselectAndNotifyClients(b);this.adapter.removeChipAtIndex(a);b=this.adapter.getChipListCount()-1;0>b||(b=Math.min(a,b),this.removeFocusFromChipsExcept(b),this.adapter.focusChipTrailingActionAtIndex(b))};d.prototype.handleChipNavigation=function(a){var b=a.chipId,f=a.key;a=a.source;var l=this.adapter.getChipListCount()-1;b=this.adapter.getIndexOfChipById(b);if(-1!==b&&m.navigationKeys.has(f)){var k= 718this.adapter.isRTL(),h=f===m.strings.ARROW_LEFT_KEY||f===m.strings.IE_ARROW_LEFT_KEY,p=f===m.strings.ARROW_RIGHT_KEY||f===m.strings.IE_ARROW_RIGHT_KEY,t=f===m.strings.ARROW_DOWN_KEY||f===m.strings.IE_ARROW_DOWN_KEY,u=f===m.strings.HOME_KEY,z=f===m.strings.END_KEY;!k&&p||k&&h||t?b++:u?b=0:z?b=l:b--;0>b||b>l||(this.removeFocusFromChipsExcept(b),this.focusChipAction(b,f,a))}};d.prototype.focusChipAction=function(a,b,f){var l=m.jumpChipKeys.has(b);if(l&&f===m.EventSource.PRIMARY)return this.adapter.focusChipPrimaryActionAtIndex(a); 719if(l&&f===m.EventSource.TRAILING)return this.adapter.focusChipTrailingActionAtIndex(a);b=this.getDirection(b);if(b===m.Direction.LEFT)return this.adapter.focusChipTrailingActionAtIndex(a);if(b===m.Direction.RIGHT)return this.adapter.focusChipPrimaryActionAtIndex(a)};d.prototype.getDirection=function(a){var b=this.adapter.isRTL(),f=a===m.strings.ARROW_LEFT_KEY||a===m.strings.IE_ARROW_LEFT_KEY;a=a===m.strings.ARROW_RIGHT_KEY||a===m.strings.IE_ARROW_RIGHT_KEY;return!b&&f||b&&a?m.Direction.LEFT:m.Direction.RIGHT}; 720d.prototype.deselectImpl=function(a,b){void 0===b&&(b=!1);var f=this.selectedChipIds.indexOf(a);0<=f&&(this.selectedChipIds.splice(f,1),a=this.adapter.getIndexOfChipById(a),this.adapter.selectChipAtIndex(a,!1,b))};d.prototype.deselectAndNotifyClients=function(a){this.deselectImpl(a,!0)};d.prototype.toggleSelect=function(a){0<=this.selectedChipIds.indexOf(a)?this.deselectAndNotifyClients(a):this.selectAndNotifyClients(a)};d.prototype.removeFocusFromChipsExcept=function(a){for(var b=this.adapter.getChipListCount(), 721f=0;f<b;f++)f!==a&&this.adapter.removeFocusFromChipAtIndex(f)};d.prototype.selectAndNotifyClients=function(a){this.selectImpl(a,!0)};d.prototype.selectImpl=function(a,b){if(!(0<=this.selectedChipIds.indexOf(a))){if(this.adapter.hasClass(g.cssClasse
721s.CHOICE)&&0<this.selectedChipIds.length){var f=this.adapter.getIndexOfChipById(this.selectedChipIds[0]);this.selectedChipIds=[];this.adapter.selectChipAtIndex(f,!1,b)}this.selectedChipIds.push(a);a=this.adapter.getIndexOfChipById(a);this.adapter.selectChipAtIndex(a, 722!0,b)}};return d}(r.MDCFoundation);e.MDCChipSetFoundation=n;e.default=n},
722"./packages/mdc-chips/deprecated/chip-set/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule", 723{value:!0});e.chipSetStrings=e.chipSetCssClasses=void 0;r(n("./packages/mdc-chips/deprecated/chip-set/adapter.ts"),e);r(n("./packages/mdc-chips/deprecated/chip-set/component.ts"),e);r(n("./packages/mdc-chips/deprecated/chip-set/foundation.ts"),e);var q=n("./packages/mdc-chips/deprecated/chip-set/constants.ts");Object.defineProperty(e,"chipSetCssClasses",{enumerable:!0,get:function(){return q.cssClasses}});Object.defineProperty(e,"chipSetStrings",{enumerable:!0,get:function(){return q.strings}})},
724"./packages/mdc-chips/deprecated/chip/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
724"./packages/mdc-chips/deprecated/chip/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var f=function(l,k){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var t in p)Object.prototype.hasOwnProperty.call(p,t)&&(h[t]=p[t])};return f(l,k)};return function(l,k){function h(){this.constructor=l}if("function"!==typeof k&& 725null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");f(l,k);l.prototype=null===k?Object.create(k):(h.prototype=k.prototype,new h)}}(),q=this&&this.__assign||function(){q=Object.assign||function(f){for(var l,k=1,h=arguments.length;k<h;k++){l=arguments[k];for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(f[p]=l[p])}return f};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCChip=void 0;r=n("./packages/mdc-base/component.ts"); 726var m=n("./packages/mdc-ripple/component.ts"),g=n("./packages/mdc-ripple/foundation.ts"),c=n("./packages/mdc-chips/deprecated/trailingaction/component.ts"),d=n("./packages/mdc-chips/deprecated/trailingaction/constants.ts"),a=n("./packages/mdc-chips/deprecated/chip/constants.ts"),b=n("./packages/mdc-chips/deprecated/chip/foundation.ts");n=function(f){function l(){return null!==f&&f.apply(this,arguments)||this}v(l,f);Object.defineProperty(l.prototype,"selected",{get:function(){return this.foundation.isSelected()}, 727set:function(k){this.foundation.setSelected(k)},enumerable:!1,configurable:!0});Object.defineProperty(l.prototype,"shouldRemoveOnTrailingIconClick",{get:function(){return this.foundation.getShouldRemoveOnTrailingIconClick()},set:function(k){this.foundation.setShouldRemoveOnTrailingIconClick(k)},enumerable:!1,configurable:!0});Object.defineProperty(l.prototype,"setShouldFocusPrimaryActionOnClick",{set:function(k){this.foundation.setShouldFocusPrimaryActionOnClick(k)},enumerable:!1,configurable:!0}); 728Object.defineProperty(l.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0});Object.defineProperty(l.prototype,"id",{get:function(){return this.root.id},enumerable:!1,configurable:!0});l.attachTo=function(k){return new l(k)};l.prototype.initialize=function(k,h){var p=this;void 0===k&&(k=function(u,z){return new m.MDCRipple(u,z)});void 0===h&&(h=function(u){return new c.MDCChipTrailingAction(u)});this.leadingIcon=this.root.querySelector(a.strings.LEADING_ICON_SELECTOR); 729this.checkmark=this.root.querySelector(a.strings.CHECKMARK_SELECTOR);this.primaryAction=this.root.querySelector(a.strings.PRIMARY_ACTION_SELECTOR);var t=this.root.querySelector(a.strings.TRAILING_ACTION_SELECTOR);t&&(this.trailingAction=h(t));h=q(q({},m.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return p.foundation.getDimensions()}});this.rippleSurface=k(this.root,new g.MDCRippleFoundation(h))};l.prototype.initialSyncWithDOM=function(){var k=this;this.handleTrailingActionInteraction= 730function(){k.foundation.handleTrailingActionInteraction()};this.handleTrailingActionNavigation=function(h){k.foundation.handleTrailingActionNavigation(h)};this.handleClick=function(){k.foundation.handleClick()};this.handleKeydown=function(h){k.foundation.handleKeydown(h)};this.handleTransitionEnd=function(h){k.foundation.handleTransitionEnd(h)};this.handleFocusIn=function(h){k.foundation.handleFocusIn(h)};this.handleFocusOut=function(h){k.foundation.handleFocusOut(h)};this.listen("transitionend", 731this.handleTransitionEnd);this.listen("click",this.handleClick);this.listen("keydown",this.handleKeydown);this.listen("focusin",this.handleFocusIn);this.listen("focusout",this.handleFocusOut);this.trailingAction&&(this.listen(d.strings.INTERACTION_EVENT,this.handleTrailingActionInteraction),this.listen(d.strings.NAVIGATION_EVENT,this.handleTrailingActionNavigation))};l.prototype.destroy=function(){this.rippleSurface.destroy();this.unlisten("transitionend",this.handleTransitionEnd);this.unlisten("keydown", 732this.handleKeydown);this.unlisten("click",this.handleClick);this.unlisten("focusin",this.handleFocusIn);this.unlisten("focusout",this.handleFocusOut);this.trailingAction&&(this.unlisten(d.strings.INTERACTION_EVENT,this.handleTrailingActionInteraction),this.unlisten(d.strings.NAVIGATION_EVENT,this.handleTrailingActionNavigation));f.prototype.destroy.call(this)};l.prototype.beginExit=function(){this.foundation.beginExit()};l.prototype.getDefaultFoundation=function(){var k=this;return new b.MDCChipFoundation({addClass:function(h){return k.root.classList.add(h)}, 733addClassToLeadingIcon:function(h){k.leadingIcon&&k.leadingIcon.classList.add(h)},eventTargetHasClass:function(h,p){return h?h.classList.contains(p):!1},focusPrimaryAction:function(){k.primaryAction&&k.primaryAction.focus()},focusTrailingAction:function(){k.trailingAction&&k.trailingAction.focus()},getAttribute:function(h){return k.root.getAttribute(h)},getCheckmarkBoundingClientRect:function(){return k.checkmark?k.checkmark.getBoundingClientRect():null},getComputedStyleValue:function(h){return window.getComputedStyle(k.root).getPropertyValue(h)}, 734getRootBoundingClientRect:function(){return k.root.getBoundingClientRect()},hasClass:function(h){return k.root.classList.contains(h)},hasLeadingIcon:function(){return!!k.leadingIcon},isRTL:function(){return"rtl"===window.getComputedStyle(k.root).getPropertyValue("direction")},isTrailingActionNavigable:function(){return k.trailingAction?k.trailingAction.isNavigable():!1},notifyInteraction:function(){return k.emit(a.strings.INTERACTION_EVENT,{chipId:k.id},!0)},notifyNavigation:function(h,p){return k.emit(a.strings.NAVIGATION_EVENT, 735{chipId:k.id,key:h,source:p},!0)},notifyRemoval:function(h){k.emit(a.strings.REMOVAL_EVENT,{chipId:k.id,removedAnnouncement:h},!0)},notifySelection:function(h,p){return k.emit(a.strings.SELECTION_EVENT,{chipId:k.id,selected:h,shouldIgnore:p},!0)},notifyTrailingIconInteraction:function(){return k.emit(a.strings.TRAILING_ICON_INTERACTION_EVENT,{chipId:k.id},!0)},notifyEditStart:function(){},notifyEditFinish:function(){},removeClass:function(h){return k.root.classList.remove(h)},removeClassFromLeadingIcon:function(h){k.leadingIcon&&
736k.leadingIcon.classList.remove(h)},removeTrailingActionFocus:function(){k.trailingAction&&k.trailingAction.removeFocus()},setPrimaryActionAttr:function(h,p){k.primaryAction&&k.primaryAction.setAttribute(h,p)},setStyleProperty:function(h,p){return k.root.style.setProperty(h,p)}})};l.prototype.setSelectedFromChipSet=function(k,h){this.foundation.setSelectedFromChipSet(k,h)};l.prototype.focusPrimaryAction=function(){this.foundation.focusPrimaryAction()};l.prototype.focusTrailingAction=function(){this.foundation.focusTrailingAction()}; 737l.prototype.removeFocus=function(){this.foundation.removeFocus()};l.prototype.remove=function(){var k=this.root.parentNode;null!==k&&k.removeChild(this.root)};return l}(r.MDCComponent);e.MDCChip=n},
737"./packages/mdc-chips/deprecated/chip/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.jumpChipKeys=e.navigationKeys=e.cssClasses=e.strings=e.EventSource=e.Direction=void 0;(function(v){v.LEFT="left";v.RIGHT="right"})(e.Direction||(e.Direction={}));(function(v){v.PRIMARY= 738"primary";v.TRAILING="trailing";v.NONE="none"})(e.EventSource||(e.EventSource={}));e.strings={ADDED_ANNOUNCEMENT_ATTRIBUTE:"data-mdc-chip-added-announcement",ARIA_CHECKED:"aria-checked",ARROW_DOWN_KEY:"ArrowDown",ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",ARROW_UP_KEY:"ArrowUp",BACKSPACE_KEY:"Backspace",CHECKMARK_SELECTOR:".mdc-chip__checkmark",DELETE_KEY:"Delete",END_KEY:"End",ENTER_KEY:"Enter",ENTRY_ANIMATION_NAME:"mdc-chip-entry",HOME_KEY:"Home",IE_ARROW_DOWN_KEY:"Down",IE_ARROW_LEFT_KEY:"Left", 739IE_ARROW_RIGHT_KEY:"Right",IE_ARROW_UP_KEY:"Up",IE_DELETE_KEY:"Del",INTERACTION_EVENT:"MDCChip:interaction",LEADING_ICON_SELECTOR:".mdc-chip__icon--leading",NAVIGATION_EVENT:"MDCChip:navigation",PRIMARY_ACTION_SELECTOR:".mdc-chip__primary-action",REMOVED_ANNOUNCEMENT_ATTRIBUTE:"data-mdc-chip-removed-announcement",REMOVAL_EVENT:"MDCChip:removal",SELECTION_EVENT:"MDCChip:selection",SPACEBAR_KEY:" ",TAB_INDEX:"tabindex",TRAILING_ACTION_SELECTOR:".mdc-chip-trailing-action",TRAILING_ICON_INTERACTION_EVENT:"MDCChip:trailingIconInteraction", 740TRAILING_ICON_SELECTOR:".mdc-chip__icon--trailing"};e.cssClasses={CHECKMARK:"mdc-chip__checkmark",CHIP_EXIT:"mdc-chip--exit",DELETABLE:"mdc-chip--deletable",EDITABLE:"mdc-chip--editable",EDITING:"mdc-chip--editing",HIDDEN_LEADING_ICON:"mdc-chip__icon--leading-hidden",LEADING_ICON:"mdc-chip__icon--leading",PRIMARY_ACTION:"mdc-chip__primary-action",PRIMARY_ACTION_FOCUSED:"mdc-chip--primary-action-focused",SELECTED:"mdc-chip--selected",TEXT:"mdc-chip__text",TRAILING_ACTION:"mdc-chip__trailing-action", 741TRAILING_ICON:"mdc-chip__icon--trailing"};e.navigationKeys=new Set;e.navigationKeys.add(e.strings.ARROW_LEFT_KEY);e.navigationKeys.add(e.strings.ARROW_RIGHT_KEY);e.navigationKeys.add(e.strings.ARROW_DOWN_KEY);e.navigationKeys.add(e.strings.ARROW_UP_KEY);e.navigationKeys.add(e.strings.END_KEY);e.navigationKeys.add(e.strings.HOME_KEY);e.navigationKeys.add(e.strings.IE_ARROW_LEFT_KEY);e.navigationKeys.add(e.strings.IE_ARROW_RIGHT_KEY);e.navigationKeys.add(e.strings.IE_ARROW_DOWN_KEY);e.navigationKeys.add(e.strings.IE_ARROW_UP_KEY); 742e.jumpChipKeys=new Set;e.jumpChipKeys.add(e.strings.ARROW_UP_KEY);e.jumpChipKeys.add(e.strings.ARROW_DOWN_KEY);e.jumpChipKeys.add(e.strings.HOME_KEY);e.jumpChipKeys.add(e.strings.END_KEY);e.jumpChipKeys.add(e.strings.IE_ARROW_UP_KEY);e.jumpChipKeys.add(e.strings.IE_ARROW_DOWN_KEY)},
742"./packages/mdc-chips/deprecated/chip/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f, 743l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a, 744l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCChipFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-chips/deprecated/chip/constants.ts"),g={bottom:0,height:0,left:0,right:0,top:0,width:0},c;(function(d){d[d.SHOULD_FOCUS=0]="SHOULD_FOCUS";d[d.SHOULD_NOT_FOCUS=1]="SHOULD_NOT_FOCUS"})(c||(c={}));n=function(d){function a(b){b=d.call(this,q(q({},a.defaultAdapter),b))||this;b.shouldRemoveOnTrailingIconClick= 745!0;b.shouldFocusPrimaryActionOnClick=!0;return b}v(a,d);Object.defineProperty(a,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(a,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter",{get:function(){return{addClass:function(){},addClassToLeadingIcon:function(){},eventTargetHasClass:function(){return!1},focusPrimaryAction:function(){},focusTrailingAction:function(){},getAttribute:function(){return null}, 746getCheckmarkBoundingClientRect:function(){return g},getComputedStyleValue:function(){return""},getRootBoundingClientRect:function(){return g},hasClass:function(){return!1},hasLeadingIcon:function(){return!1},isRTL:function(){return!1},isTrailingActionNavigable:function(){return!1},notifyEditFinish:function(){},notifyEditStart:function(){},notifyInteraction:function(){},notifyNavigation:function(){},notifyRemoval:function(){},notifySelection:function(){},notifyTrailingIconInteraction:function(){}, 747removeClass:function(){},removeClassFromLeadingIcon:function(){},removeTrailingActionFocus:function(){},setPrimaryActionAttr:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0});a.prototype.isSelected=function(){return this.adapter.hasClass(m.cssClasses.SELECTED)};a.prototype.isEditable=function(){return this.adapter.hasClass(m.cssClasses.EDITABLE)};a.prototype.isEditing=function(){return this.adapter.hasClass(m.cssClasses.EDITING)};a.prototype.setSelected=function(b){this.setSelectedImpl(b); 748this.notifySelection(b)};a.prototype.setSelectedFromChipSet=function(b,f){this.setSelectedImpl(b);f&&this.notifyIgnoredSelection(b)};a.prototype.getShouldRemoveOnTrailingIconClick=function(){return this.shouldRemoveOnTrailingIconClick};a.prototype.setShouldRemoveOnTrailingIconClick=function(b){this.shouldRemoveOnTrailingIconClick=b};a.prototype.setShouldFocusPrimaryActionOnClick=function(b){this.shouldFocusPrimaryActionOnClick=b};a.prototype.getDimensions=function(){if(!this.adapter.hasLeadingIcon()){var b= 749this.adapter.getCheckmarkBoundingClientRect();if(b){var f=this.adapter.getRootBoundingClientRect();return{bottom:f.bottom,height:f.height,left:f.left,right:f.right,top:f.top,width:f.width+b.height}}}return this.adapter.getRootBoundingClientRect()};a.prototype.beginExit=function(){this.adapter.addClass(m.cssClasses.CHIP_EXIT)};a.prototype.handleClick=function(){this.adapter.notifyInteraction();this.setPrimaryActionFocusable(this.getFocusBehavior())};a.prototype.handleDoubleClick=function(){this.isEditable()&& 750this.startEditing()};a.prototype.handleTransitionEnd=function(b){var f=this,l=this.adapter.eventTargetHasClass(b.target,m.cssClasses.CHIP_EXIT),k="width"===b.propertyName,h="opacity"===b.propertyName;if(l&&h){var p=this.adapter.getComputedStyleValue("width");requestAnimationFrame(function(){f.adapter.setStyleProperty("width",p);f.adapter.setStyleProperty("padding","0");f.adapter.setStyleProperty("margin","0");requestAnimationFrame(function(){f.adapter.setStyleProperty("width","0")})})}else l&&k&& 751(this.removeFocus(),l=this.adapter.getAttribute(m.strings.REMOVED_ANNOUNCEMENT_ATTRIBUTE),this.adapter.notifyRemoval(l)),h&&(h=this.adapter.eventTargetHasClass(b.target,m.cssClasse
751s.LEADING_ICON)&&this.adapter.hasClass(m.cssClasses.SELECTED),b=this.adapter.eventTargetHasClass(b.target,m.cssClasses.CHECKMARK)&&!this.adapter.hasClass(m.cssClasses.SELECTED),h?this.adapter.addClassToLeadingIcon(m.cssClasses.HIDDEN_LEADING_ICON):b&&this.adapter.removeClassFromLeadingIcon(m.cssClasses.HIDDEN_LEADING_ICON))}; 752a.prototype.handleFocusIn=function(b){this.eventFromPrimaryAction(b)&&this.adapter.addClass(m.cssClasses.PRIMARY_ACTION_FOCUSED)};a.prototype.handleFocusOut=function(b){this.eventFromPrimaryAction(b)&&(this.isEditing()&&this.finishEditing(),this.adapter.removeClass(m.cssClasses.PRIMARY_ACTION_FOCUSED))};a.prototype.handleTrailingActionInteraction=function(){this.adapter.notifyTrailingIconInteraction();this.removeChip()};a.prototype.handleKeydown=function(b){this.isEditing()?this.shouldFinishEditing(b)&& 753(b.preventDefault(),this.finishEditing()):(this.isEditable()&&this.shouldStartEditing(b)&&(b.preventDefault(),this.startEditing()),this.shouldNotifyInteraction(b)?(this.adapter.notifyInteraction(),this.setPrimaryActionFocusable(this.getFocusBehavior())):this.isDeleteAction(b)?(b.preventDefault(),this.removeChip()):m.navigationKeys.has(b.key)&&(b.preventDefault(),this.focusNextAction(b.key,m.EventSource.PRIMARY)))};a.prototype.handleTrailingActionNavigation=function(b){this.focusNextAction(b.detail.key, 754m.EventSource.TRAILING)};a.prototype.removeFocus=function(){this.adapter.setPrimaryActionAttr(m.strings.TAB_INDEX,"-1");this.adapter.removeTrailingActionFocus()};a.prototype.focusPrimaryAction=function(){this.setPrimaryActionFocusable(c.SHOULD_FOCUS)};a.prototype.focusTrailingAction=function(){this.adapter.isTrailingActionNavigable()?(this.adapter.setPrimaryActionAttr(m.strings.TAB_INDEX,"-1"),this.adapter.focusTrailingAction()):this.focusPrimaryAction()};a.prototype.setPrimaryActionFocusable=function(b){this.adapter.setPrimaryActionAttr(m.strings.TAB_INDEX, 755"0");b===c.SHOULD_FOCUS&&this.adapter.focusPrimaryAction();this.adapter.removeTrailingActionFocus()};a.prototype.getFocusBehavior=function(){return this.shouldFocusPrimaryActionOnClick?c.SHOULD_FOCUS:c.SHOULD_NOT_FOCUS};a.prototype.focusNextAction=function(b,f){var l=this.adapter.isTrailingActionNavigable(),k=this.getDirection(b);m.jumpChipKeys.has(b)||!l?this.adapter.notifyNavigation(b,f):f===m.EventSource.PRIMARY&&k===m.Direction.RIGHT?this.focusTrailingAction():f===m.EventSource.TRAILING&&k=== 756m.Direction.LEFT?this.focusPrimaryAction():this.adapter.notifyNavigation(b,m.EventSource.NONE)};a.prototype.getDirection=function(b){var f=this.adapter.isRTL(),l=b===m.strings.ARROW_LEFT_KEY||b===m.strings.IE_ARROW_LEFT_KEY;b=b===m.strings.ARROW_RIGHT_KEY||b===m.strings.IE_ARROW_RIGHT_KEY;return!f&&l||f&&b?m.Direction.LEFT:m.Direction.RIGHT};a.prototype.removeChip=function(){this.shouldRemoveOnTrailingIconClick&&this.beginExit()};a.prototype.shouldStartEditing=function(b){return this.eventFromPrimaryAction(b)&& 757b.key===m.strings.ENTER_KEY};a.prototype.shouldFinishEditing=function(b){return b.key===m.strings.ENTER_KEY};a.prototype.shouldNotifyInteraction=function(b){return b.key===m.strings.ENTER_KEY||b.key===m.strings.SPACEBAR_KEY};a.prototype.isDeleteAction=function(b){return this.adapter.hasClass(m.cssClasses.DELETABLE)&&(b.key===m.strings.BACKSPACE_KEY||b.key===m.strings.DELETE_KEY||b.key===m.strings.IE_DELETE_KEY)};a.prototype.setSelectedImpl=function(b){b?(this.adapter.addClass(m.cssClasses.SELECTED), 758this.adapter.setPrimaryActionAttr(m.strings.ARIA_CHECKED,"true")):(this.adapter.removeClass(m.cssClasses.SELECTED),this.adapter.setPrimaryActionAttr(m.strings.ARIA_CHECKED,"false"))};a.prototype.notifySelection=function(b){this.adapter.notifySelection(b,!1)};a.prototype.notifyIgnoredSelection=function(b){this.adapter.notifySelection(b,!0)};a.prototype.eventFromPrimaryAction=function(b){return this.adapter.eventTargetHasClass(b.target,m.cssClasses.PRIMARY_ACTION)};a.prototype.startEditing=function(){this.adapter.addClass(m.cssClasses.EDITING); 759this.adapter.notifyEditStart()};a.prototype.finishEditing=function(){this.adapter.removeClass(m.cssClasses.EDITING);this.adapter.notifyEditFinish()};return a}(r.MDCFoundation);e.MDCChipFoundation=n;e.default=n},
759"./packages/mdc-chips/deprecated/chip/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar|| 760function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.chipStrings=e.chipCssClasses=void 0;r(n("./packages/mdc-chips/deprecated/chip/adapter.ts"),e);r(n("./packages/mdc-chips/deprecated/chip/component.ts"),e);r(n("./packages/mdc-chips/deprecated/chip/foundation.ts"),e);r(n("./packages/mdc-chips/deprecated/chip/types.ts"),e);var q=n("./packages/mdc-chips/deprecated/chip/constants.ts");Object.defineProperty(e, 761"chipCssClasses",{enumerable:!0,get:function(){return q.cssClasses}});Object.defineProperty(e,"chipStrings",{enumerable:!0,get:function(){return q.strings}})},
761"./packages/mdc-chips/deprecated/chip/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
761"./packages/mdc-chips/deprecated/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m, 762g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-chips/deprecated/trailingaction/index.ts"),e);r(n("./packages/mdc-chips/deprecated/chip/index.ts"),e);r(n("./packages/mdc-chips/deprecated/chip-set/index.ts"),e)},
762"./packages/mdc-chips/deprecated/trailingaction/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule", 763{value:!0})},
763"./packages/mdc-chips/deprecated/trailingaction/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null"); 764d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCChipTrailingAction=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-ripple/component.ts"),m=n("./packages/mdc-ripple/foundation.ts"),g=n("./packages/mdc-chips/deprecated/trailingaction/constants.ts"),c=n("./packages/mdc-chips/deprecated/trailingaction/foundation.ts");n=function(d){function a(){return null!==d&&d.apply(this,arguments)||this}v(a, 765d);Object.defineProperty(a.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0});a.attachTo=function(b){return new a(b)};a.prototype.initialize=function(b){void 0===b&&(b=function(l,k){return new q.MDCRipple(l,k)});var f=q.MDCRipple.createAdapter(this);this.rippleSurface=b(this.root,new m.MDCRippleFoundation(f))};a.prototype.initialSyncWithDOM=function(){var b=this;this.handleClick=function(f){b.foundation.handleClick(f)};this.handleKeydown=function(f){b.foundation.handleKeydown(f)}; 766this.listen("click",this.handleClick);this.listen("keydown",this.handleKeydown)};a.prototype.destroy=function(){this.rippleSurface.destroy();this.unlisten("click",this.handleClick);this.unlisten("keydown",this.handleKeydown);d.prototype.destroy.call(this)};a.prototype.getDefaultFoundation=function(){var b=this;return new c.MDCChipTrailingActionFoundation({focus:function(){b.root.focus()},getAttribute:function(f){return b.root.getAttribute(f)},notifyInteraction:function(f){return b.emit(g.strings.INTERACTION_EVENT, 767{trigger:f},!0)},notifyNavigation:function(f){b.emit(g.strings.NAVIGATION_EVENT,{key:f},!0)},setAttribute:function(f,l){b.root.setAttribute(f,l)}})};a.prototype.isNavigable=function(){return this.foundation.isNavigable()};a.prototype.focus=function(){this.foundation.focus()};a.prototype.removeFocus=function(){this.foundation.removeFocus()};return a}(r.MDCComponent);e.MDCChipTrailingAction=n},
767"./packages/mdc-chips/deprecated/trailingaction/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule", 768{value:!0});e.strings=e.InteractionTrigger=void 0;r=e.InteractionTrigger||(e.InteractionTrigger={});r[r.UNSPECIFIED=0]="UNSPECIFIED";r[r.CLICK=1]="CLICK";r[r.BACKSPACE_KEY=2]="BACKSPACE_KEY";r[r.DELETE_KEY=3]="DELETE_KEY";r[r.SPACEBAR_KEY=4]="SPACEBAR_KEY";r[r.ENTER_KEY=5]="ENTER_KEY";e.strings={ARIA_HIDDEN:"aria-hidden",INTERACTION_EVENT:"MDCChipTrailingAction:interaction",NAVIGATION_EVENT:"MDCChipTrailingAction:navigation",TAB_INDEX:"tabindex"}},
768"./packages/mdc-chips/deprecated/trailingaction/foundation.ts":function(r, 769e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(), 770q=this&&this.__assign||function(){q=Object.assign||function(c){for(var d,a=1,b=arguments.length;a<b;a++){d=arguments[a];for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(c[f]=d[f])}return c};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCChipTrailingActionFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-dom/keyboard.ts"),g=n("./packages/mdc-chips/deprecated/trailingaction/constants.ts");n=function(c){function d(a){return c.call(this, 771q(q({},d.defaultAdapter),a))||this}v(d,c);Object.defineProperty(d,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(d,"defaultAdapter",{get:function(){return{focus:function(){},getAttribute:function(){return null},setAttribute:function(){},notifyInteraction:function(){},notifyNavigation:function(){}}},enumerable:!1,configurable:!0});d.prototype.handleClick=function(a){a.stopPropagation();this.adapter.notifyInteraction(g.InteractionTrigger.CLICK)};d.prototype.handleKeydown= 772function(a){a.stopPropagation();var b=m.normalizeKey(a);this.shouldNotifyInteractionFromKey(b)?(a=this.getTriggerFromKey(b),this.adapter.notifyInteraction(a)):m.isNavigationEvent(a)&&this.adapter.notifyNavigation(b)};d.prototype.removeFocus=function(){this.adapter.setAttribute(g.strings.TAB_INDEX,"-1")};d.prototype.focus=function(){this.adapter.setAttribute(g.strings.TAB_INDEX,"0");this.adapter.focus()};d.prototype.isNavigable=function(){return"true"!==this.adapter.getAttribute(g.strings.ARIA_HIDDEN)}; 773d.prototype.shouldNotifyInteractionFromKey=function(a){var b=a===m.KEY.BACKSPACE||a===m.KEY.DELETE;return a===m.KEY.ENTER||a===m.KEY.SPACEBAR||b};d.prototype.getTriggerFromKey=function(a){return a===m.KEY.SPACEBAR?g.InteractionTrigger.SPACEBAR_KEY:a===m.KEY.ENTER?g.InteractionTrigger.ENTER_KEY:a===m.KEY.DELETE?g.InteractionTrigger.DELETE_KEY:a===m.KEY.BACKSPACE?g.InteractionTrigger.BACKSPACE_KEY:g.InteractionTrigger.UNSPECIFIED};return d}(r.MDCFoundation);e.MDCChipTrailingActionFoundation=n;e.default= 774n},
774"./packages/mdc-chips/deprecated/trailingaction/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.trailingActionStrings=void 0;r(n("./packages/mdc-chips/deprecated/trailingaction/adapter.ts"), 775e);r(n("./packages/mdc-chips/deprecated/trailingaction/component.ts"),e);r(n("./packages/mdc-chips/deprecated/trailingaction/foundation.ts"),e);r(n("./packages/mdc-chips/deprecated/trailingaction/types.ts"),e);var q=n("./packages/mdc-chips/deprecated/trailingaction/constants.ts");Object.defineProperty(e,"trailingActionStrings",{enumerable:!0,get:function(){return q.strings}})},
775"./packages/mdc-chips/deprecated/trailingaction/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
776"./packages/mdc-circular-progress/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
776"./packages/mdc-circular-progress/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&& 777null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCCircularProgress=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-circular-progress/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.prototype.initialize=function(){this.determinateCircle=this.root.querySelector(q.MDCCircularProgressFoundation.strings.DETERMINATE_CIRCLE_SELECTOR)}; 778g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype,"determinate",{set:function(c){this.foundation.setDeterminate(c)},enumerable:!1,configurable:!0});Object.defineProperty(g.prototype,"progress",{set:function(c){this.foundation.setProgress(c)},enumerable:!1,configurable:!0});Object.defineProperty(g.prototype,"isClosed",{get:function(){return this.foundation.isClosed()},enumerable:!1,configurable:!0});g.prototype.open=function(){this.foundation.open()};g.prototype.close=function(){this.foundation.close()}; 779g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCCircularProgressFoundation({addClass:function(d){c.root.classList.add(d)},getDeterminateCircleAttribute:function(d){return c.determinateCircle.getAttribute(d)},hasClass:function(d){return c.root.classList.contains(d)},removeClass:function(d){c.root.classList.remove(d)},removeAttribute:function(d){c.root.removeAttribute(d)},setAttribute:function(d,a){c.root.setAttribute(d,a)},setDeterminateCircleAttribute:function(d,a){c.determinateCircle.setAttribute(d, 780a)}})};return g}(r.MDCComponent);e.MDCCircularProgress=n},
780"./packages/mdc-circular-progress/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={INDETERMINATE_CLASS:"mdc-circular-progress--indeterminate",CLOSED_CLASS:"mdc-circular-progress--closed"};e.strings={ARIA_HIDDEN:"aria-hidden",ARIA_VALUENOW:"aria-valuenow",DETERMINATE_CIRCLE_SELECTOR:".mdc-circular-progress__determinate-circle",RADIUS:"r",STROKE_DASHOFFSET:"stroke-dashoffset"}},
781"./packages/mdc-circular-progress/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype= 782null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCCircularProgressFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-circular-progress/constants.ts");n=function(g){function c(d){return g.call(this, 783q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},getDeterminateCircleAttribute:function(){return null},hasClass:function(){return!1},removeClass:function(){},removeAttribute:function(){},setAttribute:function(){},setDeterminateCircleAttribute:function(){}}}, 784enumerable:!1,configurable:!0});c.prototype.init=function(){this.closed=this.adapter.hasClass(m.cssClasses.CLOSED_CLASS);this.determinate=!this.adapter.hasClass(m.cssClasses.INDETERMINATE_CLASS);this.progress=0;this.determinate&&this.adapter.setAttribute(m.strings.ARIA_VALUENOW,this.progress.toString());this.radius=Number(this.adapter.getDeterminateCircleAttribute(m.strings.RADIUS))};c.prototype.setDeterminate=function(d){(this.determinate=d)?(this.adapter.removeClass(m.cssClasses.INDETERMINATE_CLASS), 785this.setProgress(this.progress)):(this.adapter.addClass(m.cssClasses.INDETERMINATE_CLASS),this.adapter.removeAttribute(m.strings.ARIA_VALUENOW))};c.prototype.isDeterminate=function(){return this.determinate};c.prototype.setProgress=function(d){this.progress=d;this.determinate&&(this.adapter.setDeterminateCircleAttribute(m.strings.STROKE_DASHOFFSET,""+2*(1-this.progress)*Math.PI*this.radius),this.adapter.setAttribute(m.strings.ARIA_VALUENOW,this.progress.toString()))};c.prototype.getProgress=function(){return this.progress}; 786c.prototype.open=function(){this.closed=!1;this.adapter.removeClass(m.cssClasses.CLOSED_CLASS);this.adapter.removeAttribute(m.strings.ARIA_HIDDEN)};c.prototype.close=function(){this.closed=!0;this.adapter.addClass(m.cssClasses.CLOSED_CLASS);this.adapter.setAttribute(m.strings.ARIA_HIDDEN,"true")};c.prototype.isClosed=function(){return this.closed};return c}(r.MDCFoundation);e.MDCCircularProgressFoundation=n;e.default=n},
786"./packages/mdc-circular-progress/index.ts":function(r,e,n){var v=this&&this.__createBinding|| 787(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-circular-progress/adapter.ts"),e);r(n("./packages/mdc-circular-progress/component.ts"),e);r(n("./packages/mdc-circular-progress/constants.ts"), 788e);r(n("./packages/mdc-circular-progress/foundation.ts"),e)},
788"./packages/mdc-data-table/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
788"./packages/mdc-data-table/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var b=function(f,l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,h){k.__proto__=h}||function(k,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(k[p]=h[p])};return b(f,l)};return function(f,l){function k(){this.constructor= 789f}if("function"!==typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");b(f,l);f.prototype=null===l?Object.create(l):(k.prototype=l.prototype,new k)}}(),q=this&&this.__values||function(b){var f="function"===typeof Symbol&&Symbol.iterator,l=f&&b[f],k=0;if(l)return l.call(b);if(b&&"number"===typeof b.length)return{next:function(){b&&k>=b.length&&(b=void 0);return{value:b&&b[k++],done:!b}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined."); 790};Object.defineProperty(e,"__esModule",{value:!0});e.MDCDataTable=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-checkbox/component.ts"),g=n("./packages/mdc-dom/ponyfill.ts"),c=n("./packages/mdc-linear-progress/component.ts"),d=n("./packages/mdc-data-table/constants.ts"),a=n("./packages/mdc-data-table/foundation.ts");n=function(b){function f(){return null!==b&&b.apply(this,arguments)||this}v(f,b);f.attachTo=function(l){return new f(l)};f.prototype.initialize=function(l){void 0=== 791l&&(l=function(k){return new m.MDCCheckbox(k)});this.checkboxFactory=l};f.prototype.initialSyncWithDOM=function(){var l=this;this.headerRow=this.root.querySelector("."+d.cssClasses.HEADER_ROW);this.handleHeaderRowCheckboxChange=function(){l.foundation.handleHeaderRowCheckboxChange()};this.headerRow.addEventListener("change",this.handleHeaderRowCheckboxChange);this.headerRowClickListener=function(k){l.handleHeaderRowClick(k)};this.headerRow.addEventListener("click",this.headerRowClickListener);this.content= 792this.root.querySelector("."+d.cssClasses.CONTENT);this.handleContentClick=function(k){(k=g.closest(k.target,d.selectors.ROW))&&l.foundation.handleRowClick({rowId:l.getRowIdByRowElement(k),row:k})};this.content.addEventListener("click",this.handleContentClick);this.handleRowCheckboxChange=function(k){l.foundation.handleRowCheckboxChange(k)};this.content.addEventListener("change",this.handleRowCheckboxChange);this.layout()};f.prototype.layout=function(){this.foundation.layout()};f.prototype.getHeaderCells= 793function(){return[].slice.call(this.root.querySelectorAll(d.selectors.HEADER_CELL))};f.prototype.getRows=function(){return this.foundation.getRows()};f.prototype.getSelectedRowIds=function(){return this.foundation.getSelectedRowIds()};f.prototype.setSelectedRowIds=function(l){this.foundation.setSelectedRowIds(l)};f.prototype.showProgress=function(){this.getLinearProgress().open();this.foundation.showProgress()};f.prototype.hideProgress=function(){this.foundation.hideProgress();this.getLinearProgress().close()}; 794f.prototype.destroy=function(){var l;this.handleHeaderRowCheckboxChange&&this.headerRow.removeEventListener("change",this.handleHeaderRowCheckboxChange);this.headerRowClickListener&&this.headerRow.removeEventListener("click",this.headerRowClickListener);this.handleRowCheckboxChange&&this.content.removeEventListener("change",this.handleRowCheckboxChange);this.headerRowCheckbox&&this.headerRowCheckbox.destroy();if(this.rowCheckboxList)try{for(var k=q(this.rowCheckboxList),h=k.next();!h.done;h=k.next())h.value.destroy()}catch(t){var p= 795{error:t}}finally{try{h&&!h.done&&(l=k.return)&&l.call(k)}finally{if(p)throw p.error;}}this.handleContentClick&&this.content.removeEventListener("click",this.handleContentClick)};f.prototype.getDefaultFoundation=function(){var l=this;return new a.MDCDataTableFoundation({addClass:function(k){l.root.classList.add(k)},removeClass:function(k){l.root.classList.remove(k)},getHeaderCellElements:function(){return l.getHeaderCells()},getHeaderCellCount:function(){return l.getHeaderCells().length},getAttributeByHeaderCellIndex:function(k, 796h){return l.getHeaderCells()[k].getAttribute(h)},setAttributeByHeaderCellIndex:function(k,h,p){l.getHeaderCells()[k].setAttribute(h,p)},setClassNameByHeaderCellIndex:function(k,h){l.getHeaderCells()[k].classList.add(h)},removeClassNameByHeaderCellIndex:function(k,h){l.getHeaderCells()[k].classList.remove(h)},notifySortAction:function(k){l.emit(d.events.SORTED,k,!0)},getTableContainerHeight:function(){var k=l.root.querySelector("."+d.cssClasse
796s.TABLE_CONTAINER);if(!k)throw Error("MDCDataTable: Table container element not found."); 797return k.getBoundingClientRect().height},getTableHeaderHeight:function(){var k=l.root.querySelector(d.selectors.HEADER_ROW);if(!k)throw Error("MDCDataTable: Table header element not found.");return k.getBoundingClientRect().height},setProgressIndicatorStyles:function(k){var h=l.root.querySelector(d.selectors.PROGRESS_INDICATOR);if(!h)throw Error("MDCDataTable: Progress indicator element not found.");h.style.setProperty("height",k.height);h.style.setProperty("top",k.top)},addClassAtRowIndex:function(k, 798h){l.getRows()[k].classList.add(h)},getRowCount:function(){return l.getRows().length},getRowElements:function(){return[].slice.call(l.root.querySelectorAll(d.selectors.ROW))},getRowIdAtIndex:function(k){return l.getRows()[k].getAttribute(d.dataAttributes.ROW_ID)},getRowIndexByChildElement:function(k){return l.getRows().indexOf(g.closest(k,d.selectors.ROW))},getSelectedRowCount:function(){return l.root.querySelectorAll(d.selectors.ROW_SELECTED).length},isCheckboxAtRowIndexChecked:function(k){return l.rowCheckboxList[k].checked}, 799isHeaderRowCheckboxChecked:function(){return l.headerRowCheckbox.checked},isRowsSelectable:function(){return!!l.root.querySelector(d.selectors.ROW_CHECKBOX)||!!l.root.querySelector(d.selectors.HEADER_ROW_CHECKBOX)},notifyRowSelectionChanged:function(k){l.emit(d.events.ROW_SELECTION_CHANGED,{row:l.getRowByIndex(k.rowIndex),rowId:l.getRowIdByIndex(k.rowIndex),rowIndex:k.rowIndex,selected:k.selected},!0)},notifySelectedAll:function(){l.emit(d.events.SELECTED_ALL,{},!0)},notifyUnselectedAll:function(){l.emit(d.events.UNSELECTED_ALL, 800{},!0)},notifyRowClick:function(k){l.emit(d.events.ROW_CLICK,k,!0)},registerHeaderRowCheckbox:function(){l.headerRowCheckbox&&l.headerRowCheckbox.destroy();var k=l.root.querySelector(d.selectors.HEADER_ROW_CHECKBOX);l.headerRowCheckbox=l.checkboxFactory(k)},registerRowCheckboxes:function(){l.rowCheckboxList&&l.rowCheckboxList.forEach(function(k){k.destroy()});l.rowCheckboxList=[];l.getRows().forEach(function(k){k=l.checkboxFactory(k.querySelector(d.selectors.ROW_CHECKBOX));l.rowCheckboxList.push(k)})}, 801removeClassAtRowIndex:function(k,h){l.getRows()[k].classList.remove(h)},setAttributeAtRowIndex:function(k,h,p){l.getRows()[k].setAttribute(h,p)},setHeaderRowCheckboxChecked:function(k){l.headerRowCheckbox.checked=k},setHeaderRowCheckboxIndeterminate:function(k){l.headerRowCheckbox.indeterminate=k},setRowCheckboxCheckedAtIndex:function(k,h){l.rowCheckboxList[k].checked=h},setSortStatusLabelByHeaderCellIndex:function(k,h){if(k=l.getHeaderCells()[k].querySelector(d.selectors.SORT_STATUS_LABEL))k.textContent= 802l.getSortStatusMessageBySortValue(h)}})};f.prototype.getRowByIndex=function(l){return this.getRows()[l]};f.prototype.getRowIdByIndex=function(l){return this.getRowByIndex(l).getAttribute(d.dataAttributes.ROW_ID)};f.prototype.handleHeaderRowClick=function(l){if(l=g.closest(l.target,d.selectors.HEADER_CELL_WITH_SORT)){var k=l.getAttribute(d.dataAttributes.COLUMN_ID),h=this.getHeaderCells().indexOf(l);-1!==h&&this.foundation.handleSortAction({columnId:k,columnIndex:h,headerCell:l})}};f.prototype.getSortStatusMessageBySortValue= 803function(l){switch(l){case d.SortValue.ASCENDING:return d.messages.SORTED_IN_ASCENDING;case d.SortValue.DESCENDING:return d.messages.SORTED_IN_DESCENDING;default:return""}};f.prototype.getLinearProgressElement=function(){var l=this.root.querySelector("."+d.cssClasses.LINEAR_PROGRESS);if(!l)throw Error("MDCDataTable: linear progress element is not found.");return l};f.prototype.getLinearProgress=function(){if(!this.linearProgress){var l=this.getLinearProgressElement();this.linearProgress=new c.MDCLinearProgress(l)}return this.linearProgress}; 804f.prototype.getRowIdByRowElement=function(l){return l.getAttribute(d.dataAttributes.ROW_ID)};return f}(r.MDCComponent);e.MDCDataTable=n},
804"./packages/mdc-data-table/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.events=e.SortValue=e.strings=e.messages=e.selectors=e.dataAttributes=e.attributes=e.cssClasses=void 0;e.cssClasses={CELL:"mdc-data-table__cell",CELL_NUMERIC:"mdc-data-table__cell--numeric",CONTENT:"mdc-data-table__content",HEADER_CELL:"mdc-data-table__header-cell", 805HEADER_CELL_LABEL:"mdc-data-table__header-cell-label",HEADER_CELL_SORTED:"mdc-data-table__header-cell--sorted",HEADER_CELL_SORTED_DESCENDING:"mdc-data-table__header-cell--sorted-descending",HEADER_CELL_WITH_SORT:"mdc-data-table__header-cell--with-sort",HEADER_CELL_WRAPPER:"mdc-data-table__header-cell-wrapper",HEADER_ROW:"mdc-data-table__header-row",HEADER_ROW_CHECKBOX:"mdc-data-table__header-row-checkbox",IN_PROGRESS:"mdc-data-table--in-progress",LINEAR_PROGRESS:"mdc-data-table__linear-progress", 806PAGINATION_ROWS_PER_PAGE_LABEL:"mdc-data-table__pagination-rows-per-page-label",PAGINATION_ROWS_PER_PAGE_SELECT:"mdc-data-table__pagination-rows-per-page-select",PROGRESS_INDICATOR:"mdc-data-table__progress-indicator",ROOT:"mdc-data-table",ROW:"mdc-data-table__row",ROW_CHECKBOX:"mdc-data-table__row-checkbox",ROW_SELECTED:"mdc-data-table__row--selected",SORT_ICON_BUTTON:"mdc-data-table__sort-icon-button",SORT_STATUS_LABEL:"mdc-data-table__sort-status-label",TABLE_CONTAINER:"mdc-data-table__table-container"}; 807e.attributes={ARIA_SELECTED:"aria-selected",ARIA_SORT:"aria-sort"};e.dataAttributes={COLUMN_ID:"data-column-id",ROW_ID:"data-row-id"};e.selectors={CONTENT:"."+e.cssClasses.CONTENT,HEADER_CELL:"."+e.cssClasses.HEADER_CELL,HEADER_CELL_WITH_SORT:"."+e.cssClasses.HEADER_CELL_WITH_SORT,HEADER_ROW:"."+e.cssClasses.HEADER_ROW,HEADER_ROW_CHECKBOX:"."+e.cssClasses.HEADER_ROW_CHECKBOX,PROGRESS_INDICATOR:"."+e.cssClasses.PROGRESS_INDICATOR,ROW:"."+e.cssClasses.ROW,ROW_CHECKBOX:"."+e.cssClasses.ROW_CHECKBOX, 808ROW_SELECTED:"."+e.cssClasses.ROW_SELECTED,SORT_ICON_BUTTON:"."+e.cssClasses.SORT_ICON_BUTTON,SORT_STATUS_LABEL:"."+e.cssClasses.SORT_STATUS_LABEL};e.messages={SORTED_IN_DESCENDING:"Sorted in descending order",SORTED_IN_ASCENDING:"Sorted in ascending order"};e.strings={ARIA_SELECTED:e.attributes.ARIA_SELECTED,ARIA_SORT:e.attributes.ARIA_SORT,DATA_ROW_ID_ATTR:e.dataAttributes.ROW_ID,HEADER_ROW_CHECKBOX_SELECTOR:e.selectors.HEADER_ROW_CHECKBOX,ROW_CHECKBOX_SELECTOR:e.selectors.ROW_CHECKBOX,ROW_SELECTED_SELECTOR:e.selectors.ROW_SELECTED, 809ROW_SELECTOR:e.selectors.ROW};r=e.SortValue||(e.SortValue={});r.ASCENDING="ascending";r.DESCENDING="descending";r.NONE="none";r.OTHER="other";e.events={ROW_CLICK:"MDCDataTable:rowClick",ROW_SELECTION_CHANGED:"MDCDataTable:rowSelectionChanged",SELECTED_ALL:"MDCDataTable:selectedAll",SORTED:"MDCDataTable:sorted",UNSELECTED_ALL:"MDCDataTable:unselectedAll"}},
809"./packages/mdc-data-table/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof 810Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b]; 811for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)},m=this&&this.__awaiter||function(d,a,b,f){function l(k){return k instanceof b?k:new b(function(h){h(k)})}return new (b||(b=Promise))(function(k,h){function p(z){try{u(f.next(z))}catch(C){h(C)}}function t(z){try{u(f["throw"](z))}catch(C){h(C)}}function u(z){z.done?k(z.value):l(z.value).then(p,t)}u((f=f.apply(d,a||[])).next())})},g=this&&this.__generator||function(d,a){function b(u){return function(z){return f([u, 812z])}}function f(u){if(k)throw new TypeError("Generator is already executing.");for(;l;)try{if(k=1,h&&(p=u[0]&2?h["return"]:u[0]?h["throw"]||((p=h["return"])&&p.call(h),0):h.next)&&!(p=p.call(h,u[1])).done)return p;if(h=0,p)u=[u[0]&2,p.value];switch(u[0]){case 0:case 1:p=u;break;case 4:return l.label++,{value:u[1],done:!1};case 5:l.label++;h=u[1];u=[0];continue;case 7:u=l.ops.pop();l.trys.pop();continue;default:if(!(p=l.trys,p=0<p.length&&p[p.length-1])&&(6===u[0]||2===u[0])){l=0;continue}if(3===u[0]&& 813(!p||u[1]>p[0]&&u[1]<p[3]))l.label=u[1];else if(6===u[0]&&l.label<p[1])l.label=p[1],p=u;else if(p&&l.label<p[2])l.label=p[2],l.ops.push(u);else{p[2]&&l.ops.pop();l.trys.pop();continue}}u=a.call(d,l)}catch(z){u=[6,z],h=0}finally{k=p=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}var l={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},k,h,p,t;return t={next:b(0),"throw":b(1),"return":b(2)},"function"===typeof Symbol&&(t[Symbol.iterator]=function(){return this}), 814t};Object.defineProperty(e,"__esModule",{value:!0});e.MDCDataTableFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var c=n("./packages/mdc-data-table/constants.ts");n=function(d){function a(b){return d.call(this,q(q({},a.defaultAdapter),b))||this}v(a,d);Object.defineProperty(a,"defaultAdapter",{get:function(){return{addClass:function(){},addClassAtRowIndex:function(){},getAttributeByHeaderCellIndex:function(){return""},getHeaderCellCount:function(){return 0},getHeaderCellElements:function(){return[]}, 815getRowCount:function(){return 0},getRowElements:function(){return[]},getRowIdAtIndex:function(){return""},getRowIndexByChildElement:function(){return 0},getSelectedRowCount:function(){return 0},getTableContainerHeight:function(){return 0},getTableHeaderHeight:function(){return 0},isCheckboxAtRowIndexChecked:function(){return!1},isHeaderRowCheckboxChecked:function(){return!1},isRowsSelectable:function(){return!1},notifyRowSelectionChanged:function(){},notifySelectedAll:function(){},notifySortAction:function(){}, 816notifyUnselectedAll:function(){},notifyRowClick:function(){},registerHeaderRowCheckbox:function(){},registerRowCheckboxes:function(){},removeClass:function(){},removeClassAtRowIndex:function(){},removeClassNameByHeaderCellIndex:function(){},setAttributeAtRowIndex:function(){},setAttributeByHeaderCellIndex:function(){},setClassNameByHeaderCellIndex:function(){},setHeaderRowCheckboxChecked:function(){},setHeaderRowCheckboxIndeterminate:function(){},setProgressIndicatorStyles:function(){},setRowCheckboxCheckedAtIndex:function(){}, 817setSortStatusLabelByHeaderCellIndex:function(){}}},enumerable:!1,configurable:!0});a.prototype.layout=function(){this.adapter.isRowsSelectable()&&(this.adapter.registerHeaderRowCheckbox(),this.adapter.registerRowCheckboxes(),this.setHeaderRowCheckboxState())};a.prototype.layoutAsync=function(){return m(this,void 0,void 0,function(){return g(this,function(b){switch(b.label){case 0:return this.adapter.isRowsSelectable()?[4,this.adapter.registerHeaderRowCheckbox()]:[3,3];case 1:return b.sent(),[4,this.adapter.registerRowCheckboxes()]; 818case 2:b.sent(),this.setHeaderRowCheckboxState(),b.label=3;case 3:return[2]}})})};a.prototype.getRows=function(){return this.adapter.getRowElements()};a.prototype.getHeaderCells=function(){return this.adapter.getHeaderCellElements()};a.prototype.setSelectedRowIds=function(b){for(var f=0;f<this.adapter.getRowCount();f++){var l=this.adapter.getRowIdAtIndex(f),k=!1;l&&0<=b.indexOf(l)&&(k=!0);this.adapter.setRowCheckboxCheckedAtIndex(f,k);this.selectRowAtIndex(f,k)}this.setHeaderRowCheckboxState()};a.prototype.getRowIds= 819function(){for(var b=[],f=0;f<this.adapter.getRowCount();f++)b.push(this.adapter.getRowIdAtIndex(f));return b};a.prototype.getSelectedRowIds=function(){for(var b=[],f=0;f<this.adapter.getRowCount();f++)this.adapter.isCheckboxAtRowIndexChecked(f)&&b.push(this.adapter.getRowIdAtIndex(f));return b};a.prototype.handleHeaderRowCheckboxChange=function(){for(var b=this.adapter.isHeaderRowCheckboxChecked(),f=0;f<this.adapter.getRowCount();f++)this.adapter.setRowCheckboxCheckedAtIndex(f,b),this.selectRowAtIndex(f, 820b);b?this.adapter.notifySelectedAll():this.adapter.notifyUnselectedAll()};a.prototype.handleRowCheckboxChange=function(b){b=this.adapter.getRowIndexByChildElement(b.target);if(-1!==b){var f=this.adapter.isCheckboxAtRowIndexChecked(b);this.selectRowAtIndex(b,f);this.setHeaderRowCheckboxState();var l=this.adapter.getRowIdAtIndex(b);this.adapter.notifyRowSelectionChanged({rowId:l,rowIndex:b,selected:f})}};a.prototype.handleSortAction=function(b){var f=b.columnId,l=b.columnIndex;b=b.headerCell;for(var k= 8210;k<this.adapter.getHeaderCellCount();k++)k!==l&&(this.adapter.removeClassNameByHeaderCellIndex(k,c.cssClasse
821s.HEADER_CELL_SORTED),this.adapter.removeClassNameByHeaderCellIndex(k,c.cssClasses.HEADER_CELL_SORTED_DESCENDING),this.adapter.setAttributeByHeaderCellIndex(k,c.strings.ARIA_SORT,c.SortValue.NONE),this.adapter.setSortStatusLabelByHeaderCellIndex(k,c.SortValue.NONE));this.adapter.setClassNameByHeaderCellIndex(l,c.cssClasses.HEADER_CELL_SORTED);k=this.adapter.getAttributeByHeaderCellIndex(l, 822c.strings.ARIA_SORT);k===c.SortValue.ASCENDING?(this.adapter.setClassNameByHeaderCellIndex(l,c.cssClasses.HEADER_CELL_SORTED_DESCENDING),this.adapter.setAttributeByHeaderCellIndex(l,c.strings.ARIA_SORT,c.SortValue.DESCENDING),k=c.SortValue.DESCENDING):(k===c.SortValue.DESCENDING&&this.adapter.removeClassNameByHeaderCellIndex(l,c.cssClasses.HEADER_CELL_SORTED_DESCENDING),this.adapter.setAttributeByHeaderCellIndex(l,c.strings.ARIA_SORT,c.SortValue.ASCENDING),k=c.SortValue.ASCENDING);this.adapter.setSortStatusLabelByHeaderCellIndex(l, 823k);this.adapter.notifySortAction({columnId:f,columnIndex:l,headerCell:b,sortValue:k})};a.prototype.handleRowClick=function(b){this.adapter.notifyRowClick({rowId:b.rowId,row:b.row})};a.prototype.showProgress=function(){var b=this.adapter.getTableHeaderHeight(),f=this.adapter.getTableContainerHeight()-b;this.adapter.setProgressIndicatorStyles({height:f+"px",top:b+"px"});this.adapter.addClass(c.cssClasses.IN_PROGRESS)};a.prototype.hideProgress=function(){this.adapter.removeClass(c.cssClasses.IN_PROGRESS)}; 824a.prototype.setHeaderRowCheckboxState=function(){0===this.adapter.getSelectedRowCount()?(this.adapter.setHeaderRowCheckboxChecked(!1),this.adapter.setHeaderRowCheckboxIndeterminate(!1)):this.adapter.getSelectedRowCount()===this.adapter.getRowCount()?(this.adapter.setHeaderRowCheckboxChecked(!0),this.adapter.setHeaderRowCheckboxIndeterminate(!1)):(this.adapter.setHeaderRowCheckboxIndeterminate(!0),this.adapter.setHeaderRowCheckboxChecked(!1))};a.prototype.selectRowAtIndex=function(b,f){f?(this.adapter.addClassAtRowIndex(b, 825c.cssClasses.ROW_SELECTED),this.adapter.setAttributeAtRowIndex(b,c.strings.ARIA_SELECTED,"true")):(this.adapter.removeClassAtRowIndex(b,c.cssClasse
825s.ROW_SELECTED),this.adapter.setAttributeAtRowIndex(b,c.strings.ARIA_SELECTED,"false"))};return a}(r.MDCFoundation);e.MDCDataTableFoundation=n},
825"./packages/mdc-data-table/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}: 826function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-data-table/adapter.ts"),e);r(n("./packages/mdc-data-table/component.ts"),e);r(n("./packages/mdc-data-table/foundation.ts"),e);r(n("./packages/mdc-data-table/constants.ts"),e);r(n("./packages/mdc-data-table/types.ts"),e)},
826"./packages/mdc-data-table/types.ts":function(r, 827e,n){Object.defineProperty(e,"__esModule",{value:!0})},
827"./packages/mdc-dialog/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
827"./packages/mdc-dialog/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var h=function(p,t){h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,z){u.__proto__=z}||function(u,z){for(var C in z)Object.prototype.hasOwnProperty.call(z,C)&&(u[C]=z[C])};return h(p,t)};return function(p,t){function u(){this.constructor= 828p}if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");h(p,t);p.prototype=null===t?Object.create(t):(u.prototype=t.prototype,new u)}}(),q=this&&this.__createBinding||(Object.create?function(h,p,t,u){void 0===u&&(u=t);Object.defineProperty(h,u,{enumerable:!0,get:function(){return p[t]}})}:function(h,p,t,u){void 0===u&&(u=t);h[u]=p[t]}),m=this&&this.__setModuleDefault||(Object.create?function(h,p){Object.defineProperty(h,"default", 829{enumerable:!0,value:p})}:function(h,p){h["default"]=p});r=this&&this.__importStar||function(h){if(h&&h.__esModule)return h;var p={};if(null!=h)for(var t in h)"default"!==t&&Object.prototype.hasOwnProperty.call(h,t)&&q(p,h,t);m(p,h);return p};var g=this&&this.__values||function(h){var p="function"===typeof Symbol&&Symbol.iterator,t=p&&h[p],u=0;if(t)return t.call(h);if(h&&"number"===typeof h.length)return{next:function(){h&&u>=h.length&&(h=void 0);return{value:h&&h[u++],done:!h}}};throw new TypeError(p? 830"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCDialog=void 0;var c=n("./packages/mdc-base/component.ts"),d=n("./packages/mdc-dom/focus-trap.ts"),a=n("./packages/mdc-dom/ponyfill.ts"),b=n("./packages/mdc-ripple/component.ts"),f=n("./packages/mdc-dialog/foundation.ts"),l=r(n("./packages/mdc-dialog/util.ts")),k=f.MDCDialogFoundation.strings;n=function(h){function p(){return null!==h&&h.apply(this,arguments)||this}v(p,h);Object.defineProperty(p.prototype, 831"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0});Object.defineProperty(p.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(t){this.foundation.setEscapeKeyAction(t)},enumerable:!1,configurable:!0});Object.defineProperty(p.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(t){this.foundation.setScrimClickAction(t)},enumerable:!1,configurable:!0});Object.defineProperty(p.prototype, 832"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(t){this.foundation.setAutoStackButtons(t)},enumerable:!1,configurable:!0});p.attachTo=function(t){return new p(t)};p.prototype.initialize=function(t){var u;void 0===t&&(t=function(w,y){return new d.FocusTrap(w,y)});var z=this.root.querySelector(k.CONTAINER_SELECTOR);if(!z)throw Error("Dialog component requires a "+k.CONTAINER_SELECTOR+" container element");this.container=z;this.content=this.root.querySelector(k.CONTENT_SELECTOR); 833this.buttons=[].slice.call(this.root.querySelectorAll(k.BUTTON_SELECTOR));this.defaultButton=this.root.querySelector("["+k.BUTTON_DEFAULT_ATTRIBUTE+"]");this.focusTrapFactory=t;this.buttonRipples=[];try{for(var C=g(this.buttons),B=C.next();!B.done;B=C.next())this.buttonRipples.push(new b.MDCRipple(B.value))}catch(w){var x={error:w}}finally{try{B&&!B.done&&(u=C.return)&&u.call(C)}finally{if(x)throw x.error;}}};p.prototype.initialSyncWithDOM=function(){var t=this;this.focusTrap=l.createFocusTrapInstance(this.container, 834this.focusTrapFactory,this.getInitialFocusEl()||void 0);this.handleClick=this.foundation.handleClick.bind(this.foundation);this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation);this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation);this.handleOpening=function(){document.addEventListener("keydown",t.handleDocumentKeydown)};this.handleClosing=function(){document.removeEventListener("keydown",t.handleDocumentKeydown)};this.listen("click",this.handleClick); 835this.listen("keydown",this.handleKeydown);this.listen(k.OPENING_EVENT,this.handleOpening);this.listen(k.CLOSING_EVENT,this.handleClosing)};p.prototype.destroy=function(){this.unlisten("click",this.handleClick);this.unlisten("keydown",this.handleKeydown);this.unlisten(k.OPENING_EVENT,this.handleOpening);this.unlisten(k.CLOSING_EVENT,this.handleClosing);this.handleClosing();
835this.buttonRipples.forEach(function(t){t.destroy()});h.prototype.destroy.call(this)};p.prototype.layout=function(){this.foundation.layout()}; 836p.prototype.open=function(){this.foundation.open()};p.prototype.close=function(t){void 0===t&&(t="");this.foundation.close(t)};p.prototype.getDefaultFoundation=function(){var t=this;return new f.MDCDialogFoundation({addBodyClass:function(u){return document.body.classList.add(u)},addClass:function(u){return t.root.classList.add(u)},areButtonsStacked:function(){return l.areTopsMisaligned(t.buttons)},clickDefaultButton:function(){t.defaultButton&&!t.defaultButton.disabled&&t.defaultButton.click()},eventTargetMatches:function(u, 837z){return u?a.matches(u,z):!1},getActionFromEvent:function(u){return u.target?(u=a.closest(u.target,"["+k.ACTION_ATTRIBUTE+"]"))&&u.getAttribute(k.ACTION_ATTRIBUTE):""},getInitialFocusEl:function(){return t.getInitialFocusEl()},hasClass:function(u){return t.root.classList.contains(u)},isContentScrollable:function(){return l.isScrollable(t.content)},notifyClosed:function(u){return t.emit(k.CLOSED_EVENT,u?{action:u}:{})},notifyClosing:function(u){return t.emit(k.CLOSING_EVENT,u?{action:u}:{})},notifyOpened:function(){return t.emit(k.OPENED_EVENT, 838{})},notifyOpening:function(){return t.emit(k.OPENING_EVENT,{})},releaseFocus:function(){t.focusTrap.releaseFocus()},removeBodyClass:function(u){return document.body.classList.remove(u)},removeClass:function(u){return t.root.classList.remove(u)},reverseButtons:function(){t.buttons.reverse();t.buttons.forEach(function(u){u.parentElement.appendChild(u)})},trapFocus:function(){t.focusTrap.trapFocus()},registerContentEventHandler:function(u,z){t.content instanceof HTMLElement&&t.content.addEventListener(u, 839z)},deregisterContentEventHandler:function(u,z){t.content instanceof HTMLElement&&t.content.removeEventListener(u,z)},isScrollableContentAtTop:function(){return l.isScrollAtTop(t.content)},isScrollableContentAtBottom:function(){return l.isScrollAtBottom(t.content)},registerWindowEventHandler:function(u,z){window.addEventListener(u,z)},deregisterWindowEventHandler:function(u,z){window.removeEventListener(u,z)}})};p.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+k.INITIAL_FOCUS_ATTRIBUTE+ 840"]")};return p}(c.MDCComponent);e.MDCDialog=n},
840"./packages/mdc-dialog/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer", 841SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"};e.strings={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content", 842DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:"textarea, .mdc-menu .mdc-list-item, .mdc-menu .mdc-deprecated-list-item",SURFACE_SELECTOR:".mdc-dialog__surface"};e.numbers={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150}},
842"./packages/mdc-dialog/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d= 843function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign|| 844function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCDialogFoundation=void 0;var m=n("./packages/mdc-animation/animationframe.ts");r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-dialog/constants.ts"),c;(function(d){d.POLL_SCROLL_POS="poll_scroll_position";d.POLL_LAYOUT_CHANGE="poll_layout_change"})(c|| 845(c={}));n=function(d){function a(b){var f=d.call(this,q(q({},a.defaultAdapter),b))||this;f.dialogOpen=!1;f.isFullscreen=!1;f.animationFrame=0;f.animationTimer=0;f.escapeKeyAction=g.strings.CLOSE_ACTION;f.scrimClickAction=g.strings.CLOSE_ACTION;f.autoStackButtons=!0;f.areButtonsStacked=!1;f.suppressDefaultPressSelector=g.strings.SUPPRESS_DEFAULT_PRESS_SELECTOR;f.animFrame=new m.AnimationFrame;f.contentScrollHandler=function(){f.handleScrollEvent()};f.windowResizeHandler=function(){f.layout()};f.windowOrientationChangeHandler= 846function(){f.layout()};return f}v(a,d);Object.defineProperty(a,"cssClasses",{get:function(){return g.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(a,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(a,"numbers",{get:function(){return g.numbers},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){}, 847eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){}, 848isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0});a.prototype.init=function(){this.adapter.hasClass(g.cssClasses.STACKED)&&this.setAutoStackButtons(!1);this.isFullscreen=this.adapter.hasClass(g.cssClasses.FULLSCREEN)};a.prototype.destroy=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd());this.isFullscreen&& 849this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler);this.animFrame.cancelAll();this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler);this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)};a.prototype.open=function(b){var f=this;this.dialogOpen=!0;this.adapter.notifyOpening();this.adapter.addClass(g.cssClasses.OPENING);this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler); 850b&&b.isAboveFullscreenDialog&&this.adapter.addClass(g.cssClasses.SCRIM_HIDDEN);this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler);this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler);this.runNextAnimationFrame(function(){f.adapter.addClass(g.cssClasses.OPEN);f.adapter.addBodyClass(g.cssClasses.SCROLL_LOCK);f.layout();f.animationTimer=setTimeout(function(){f.handleAnimationTimerEnd();f.adapter.trapFocus(f.adapter.getInitialFocusEl()); 851f.adapter.notifyOpened()},g.numbers.DIALOG_ANIMATION_OPEN_TIME_MS)})};a.prototype.close=function(b){var f=this;void 0===b&&(b="");this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(b),this.adapter.addClass(g.cssClasse
851s.CLOSING),this.adapter.removeClass(g.cssClasses.OPEN),this.adapter.removeBodyClass(g.cssClasses.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler), 852this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){f.adapter.releaseFocus();f.handleAnimationTimerEnd();f.adapter.notifyClosed(b)},g.numbers.DIALOG_ANIMATION_CLOSE_TIME_MS))};a.prototype.showSurfaceScrim=function(){var b=this;this.adapter.addClass(g.cssClasses.SURFACE_SCRIM_SHOWING);this.runNextAnimationFrame(function(){b.adapter.addClass(g.cssClasses.SURFACE_SCRIM_SHOWN)})}; 853a.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(g.cssClasses.SURFACE_SCRIM_SHOWN);this.adapter.addClass(g.cssClasses.SURFACE_SCRIM_HIDING)};a.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(g.cssClasses.SURFACE_SCRIM_HIDING);this.adapter.removeClass(g.cssClasses.SURFACE_SCRIM_SHOWING)};a.prototype.isOpen=function(){return this.dialogOpen};a.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction};a.prototype.setEscapeKeyAction=function(b){this.escapeKeyAction= 854b};a.prototype.getScrimClickAction=function(){return this.scrimClickAction};a.prototype.setScrimClickAction=function(b){this.scrimClickAction=b};a.prototype.getAutoStackButtons=function(){return this.autoStackButtons};a.prototype.setAutoStackButtons=function(b){this.autoStackButtons=b};a.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector};a.prototype.setSuppressDefaultPressSelector=function(b){this.suppressDefaultPressSelector=b};a.prototype.layout=function(){var b= 855this;this.animFrame.request(c.POLL_LAYOUT_CHANGE,function(){b.layoutInternal()})};a.prototype.handleClick=function(b){this.adapter.eventTargetMatches(b.target,g.strings.SCRIM_SELECTOR)&&""!==this.scrimClickAction?this.close(this.scrimClickAction):(b=this.adapter.getActionFromEvent(b))&&this.close(b)};a.prototype.handleKeydown=function(b){var f="Enter"===b.key||13===b.keyCode;f&&!this.adapter.getActionFromEvent(b)&&(b=b.composedPath?b.composedPath()[0]:b.target,b=this.suppressDefaultPressSelector? 856!this.adapter.eventTargetMatches(b,this.suppressDefaultPressSelector):!0,f&&b&&this.adapter.clickDefaultButton())};a.prototype.handleDocumentKeydown=function(b){"Escape"!==b.key&&27!==b.keyCode||""===this.escapeKeyAction||this.close(this.escapeKeyAction)};a.prototype.handleScrollEvent=function(){var b=this;this.animFrame.request(c.POLL_SCROLL_POS,function(){b.toggleScrollDividerHeader();b.toggleScrollDividerFooter()})};a.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(); 857this.toggleScrollableClasses()};a.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0;this.adapter.removeClass(g.cssClasses.OPENING);this.adapter.removeClass(g.cssClasses.CLOSING)};a.prototype.runNextAnimationFrame=function(b){var f=this;cancelAnimationFrame(this.animationFrame);this.animationFrame=requestAnimationFrame(function(){f.animationFrame=0;clearTimeout(f.animationTimer);f.animationTimer=setTimeout(b,0)})};a.prototype.detectStackedButtons=function(){this.adapter.removeClass(g.cssClasses.STACKED); 858var b=this.adapter.areButtonsStacked();b&&this.adapter.addClass(g.cssClasses.STACKED);b!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=b)};a.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(g.cssClasses.SCROLLABLE);this.adapter.isContentScrollable()&&(this.adapter.addClass(g.cssClasses.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))};a.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()? 859this.adapter.hasClass(g.cssClasses.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(g.cssClasses.SCROLL_DIVIDER_HEADER):this.adapter.addClass(g.cssClasse
859s.SCROLL_DIVIDER_HEADER)};a.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(g.cssClasses.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(g.cssClasses.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(g.cssClasses.SCROLL_DIVIDER_FOOTER)};return a}(r.MDCFoundation);e.MDCDialogFoundation=n; 860e.default=n},
860"./packages/mdc-dialog/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}:function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault||(Object.create?function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c}),m=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var c={};if(null!= 861g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g,d)&&v(c,g,d);q(c,g);return c};r=this&&this.__exportStar||function(g,c){for(var d in g)"default"===d||Object.prototype.hasOwnProperty.call(c,d)||v(c,g,d)};Object.defineProperty(e,"__esModule",{value:!0});e.util=void 0;m=m(n("./packages/mdc-dialog/util.ts"));e.util=m;r(n("./packages/mdc-dialog/adapter.ts"),e);r(n("./packages/mdc-dialog/component.ts"),e);r(n("./packages/mdc-dialog/constants.ts"),e);r(n("./packages/mdc-dialog/foundation.ts"), 862e);r(n("./packages/mdc-dialog/types.ts"),e)},
862"./packages/mdc-dialog/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
862"./packages/mdc-dialog/util.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.areTopsMisaligned=e.isScrollAtBottom=e.isScrollAtTop=e.isScrollable=e.createFocusTrapInstance=void 0;e.createFocusTrapInstance=function(v,q,m){return q(v,{initialFocusEl:m})};e.isScrollable=function(v){return v?v.scrollHeight>v.offsetHeight:!1};e.isScrollAtTop= 863function(v){return v?0===v.scrollTop:!1};e.isScrollAtBottom=function(v){return v?Math.ceil(v.scrollHeight-v.scrollTop)===v.clientHeight:!1};e.areTopsMisaligned=function(v){var q=new Set;[].forEach.call(v,function(m){return q.add(m.offsetTop)});return 1<q.size}},
863"./packages/mdc-dom/announce.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.announce=e.DATA_MDC_DOM_ANNOUNCE=e.AnnouncerPriority=void 0;var v;(function(m){m.POLITE="polite";m.ASSERTIVE="assertive"})(v=e.AnnouncerPriority|| 864(e.AnnouncerPriority={}));e.DATA_MDC_DOM_ANNOUNCE="data-mdc-dom-announce";e.announce=function(m,g){q.getInstance().say(m,g)};var q=function(){function m(){this.liveRegions=new Map}m.getInstance=function(){m.instance||(m.instance=new m);return m.instance};m.prototype.say=function(g,c){function d(){k.textContent="";l.removeEventListener("click",d)}var a,b,f=null!==(a=null===c||void 0===c?void 0:c.priority)&&void 0!==a?a:v.POLITE,l=null!==(b=null===c||void 0===c?void 0:c.ownerDocument)&&void 0!==b?b: 865document,k=this.getLiveRegion(f,l);k.textContent="";setTimeout(function(){k.textContent=g;l.addEventListener("click",d)},1)};m.prototype.getLiveRegion=function(g,c){var d=this.liveRegions.get(c);d||(d=new Map,this.liveRegions.set(c,d));var a=d.get(g);if(a&&c.body.contains(a))return a;c=this.createLiveRegion(g,c);d.set(g,c);return c};m.prototype.createLiveRegion=function(g,c){var d=c.createElement("div");d.style.position="absolute";d.style.top="-9999px";d.style.left="-9999px";d.style.height="1px"; 866d.style.overflow="hidden";d.setAttribute("aria-atomic","true");d.setAttribute("aria-live",g);d.setAttribute(e.DATA_MDC_DOM_ANNOUNCE,"true");c.body.appendChild(d);return d};return m}()},
866"./packages/mdc-dom/events.ts":function(r,e,n){function v(q){void 0===q&&(q=window);var m=!1;try{var g={get passive(){m=!0;return!1}},c=function(){};q.document.addEventListener("test",c,g);q.document.removeEventListener("test",c,g)}catch(d){m=!1}return m}Object.defineProperty(e,"__esModule",{value:!0});e.applyPassive= 867void 0;e.applyPassive=function(q){void 0===q&&(q=window);return v(q)?{passive:!0}:!1}},
867"./packages/mdc-dom/focus-trap.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.FocusTrap=void 0;r=function(){function v(q,m){void 0===m&&(m={});this.root=q;this.options=m;this.elFocusedBeforeTrapFocus=null}v.prototype.trapFocus=function(){var q=this.getFocusableElements(this.root);if(0===q.length)throw Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus= 868document.activeElement instanceof HTMLElement?document.activeElement:null;this.wrapTabFocus(this.root);this.options.skipInitialFocus||this.focusInitialElement(q,this.options.initialFocusEl)};v.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll(".mdc-dom-focus-sentinel")).forEach(function(q){q.parentElement.removeChild(q)});!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()};v.prototype.wrapTabFocus=function(q){var m=this,g= 869this.createSentinel(),c=this.createSentinel();g.addEventListener("focus",function(){var d=m.getFocusableElements(q);0<d.length&&d[d.length-1].focus()});c.addEventListener("focus",function(){var d=m.getFocusableElements(q);0<d.length&&d[0].focus()});q.insertBefore(g,q.children[0]);q.appendChild(c)};v.prototype.focusInitialElement=function(q,m){var g=0;m&&(g=Math.max(q.indexOf(m),0));q[g].focus()};v.prototype.getFocusableElements=function(q){return[].slice.call(q.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(m){var g= 870"true"===m.getAttribute("aria-disabled")||null!=m.getAttribute("disabled")||null!=m.getAttribute("hidden")||"true"===m.getAttribute("aria-hidden");g=0<=m.tabIndex&&0<m.getBoundingClientRect().width&&!m.classList.contains("mdc-dom-focus-sentinel")&&!g;var c=!1;g&&(m=getComputedStyle(m),c="none"===m.display||"hidden"===m.visibility);return g&&!c})};v.prototype.createSentinel=function(){var q=document.createElement("div");q.setAttribute("tabindex","0");q.setAttribute("aria-hidden","true");q.classList.add("mdc-dom-focus-sentinel"); 871return q};return v}();e.FocusTrap=r},
871"./packages/mdc-dom/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}:function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault||(Object.create?function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c});r=this&&this.__importStar||function(g){if(g&&g.__esModule)return g; 872var c={};if(null!=g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g,d)&&v(c,g,d);q(c,g);return c};Object.defineProperty(e,"__esModule",{value:!0});e.ponyfill=e.keyboard=e.focusTrap=e.events=void 0;var m=r(n("./packages/mdc-dom/events.ts"));e.events=m;m=r(n("./packages/mdc-dom/focus-trap.ts"));e.focusTrap=m;m=r(n("./packages/mdc-dom/keyboard.ts"));e.keyboard=m;n=r(n("./packages/mdc-dom/ponyfill.ts"));e.ponyfill=n},
872"./packages/mdc-dom/keyboard.ts":function(r,e,n){function v(c){var d= 873c.key;return q.has(d)?d:(c=m.get(c.keyCode))?c:e.KEY.UNKNOWN}Object.defineProperty(e,"__esModule",{value:!0});e.isNavigationEvent=e.normalizeKey=e.KEY=void 0;e.KEY={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"};var q=new Set;q.add(e.KEY.BACKSPACE);q.add(e.KEY.ENTER);q.add(e.KEY.SPACEBAR); 874q.add(e.KEY.PAGE_UP);q.add(e.KEY.PAGE_DOWN);q.add(e.KEY.END);q.add(e.KEY.HOME);q.add(e.KEY.ARROW_LEFT);q.add(e.KEY.ARROW_UP);q.add(e.KEY.ARROW_RIGHT);q.add(e.KEY.ARROW_DOWN);q.add(e.KEY.DELETE);q.add(e.KEY.ESCAPE);q.add(e.KEY.TAB);var m=new Map;m.set(8,e.KEY.BACKSPACE);m.set(13,e.KEY.ENTER);m.set(32,e.KEY.SPACEBAR);m.set(33,e.KEY.PAGE_UP);m.set(34,e.KEY.PAGE_DOWN);m.set(35,e.KEY.END);m.set(36,e.KEY.HOME);m.set(37,e.KEY.ARROW_LEFT);m.set(38,e.KEY.ARROW_UP);m.set(39,e.KEY.ARROW_RIGHT);m.set(40,e.KEY.ARROW_DOWN); 875m.set(46,e.KEY.DELETE);m.set(27,e.KEY.ESCAPE);m.set(9,e.KEY.TAB);var g=new Set;g.add(e.KEY.PAGE_UP);g.add(e.KEY.PAGE_DOWN);g.add(e.KEY.END);g.add(e.KEY.HOME);g.add(e.KEY.ARROW_LEFT);g.add(e.KEY.ARROW_UP);g.add(e.KEY.ARROW_RIGHT);g.add(e.KEY.ARROW_DOWN);e.normalizeKey=v;e.isNavigationEvent=function(c){return g.has(v(c))}},
875"./packages/mdc-dom/ponyfill.ts":function(r,e,n){function v(q,m){return(q.matches||q.webkitMatchesSelector||q.msMatchesSelector).call(q,m)}Object.defineProperty(e,"__esModule",{value:!0}); 876e.estimateScrollWidth=e.matches=e.closest=void 0;e.closest=function(q,m){if(q.closest)return q.closest(m);for(;q;){if(v(q,m))return q;q=q.parentElement}return null};e.matches=v;e.estimateScrollWidth=function(q){if(null!==q.offsetParent)return q.scrollWidth;q=q.cloneNode(!0);q.style.setProperty("position","absolute");q.style.setProperty("transform","translate(-9999px, -9999px)");document.documentElement.appendChild(q);var m=q.scrollWidth;document.documentElement.removeChild(q);return m}},
876"./packages/mdc-drawer/adapter.ts":function(r, 877e,n){Object.defineProperty(e,"__esModule",{value:!0})},
877"./packages/mdc-drawer/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var h=function(p,t){h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,z){u.__proto__=z}||function(u,z){for(var C in z)Object.prototype.hasOwnProperty.call(z,C)&&(u[C]=z[C])};return h(p,t)};return function(p,t){function u(){this.constructor=p}if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null"); 878h(p,t);p.prototype=null===t?Object.create(t):(u.prototype=t.prototype,new u)}}(),q=this&&this.__createBinding||(Object.create?function(h,p,t,u){void 0===u&&(u=t);Object.defineProperty(h,u,{enumerable:!0,get:function(){return p[t]}})}:function(h,p,t,u){void 0===u&&(u=t);h[u]=p[t]}),m=this&&this.__setModuleDefault||(Object.create?function(h,p){Object.defineProperty(h,"default",{enumerable:!0,value:p})}:function(h,p){h["default"]=p});r=this&&this.__importStar||function(h){if(h&&h.__esModule)return h; 879var p={};if(null!=h)for(var t in h)"default"!==t&&Object.prototype.hasOwnProperty.call(h,t)&&q(p,h,t);m(p,h);return p};Object.defineProperty(e,"__esModule",{value:!0});e.MDCDrawer=void 0;var g=n("./packages/mdc-base/component.ts"),c=n("./packages/mdc-dom/focus-trap.ts"),d=n("./packages/mdc-list/component.ts"),a=n("./packages/mdc-drawer/dismissible/foundation.ts"),b=n("./packages/mdc-drawer/modal/foundation.ts"),f=r(n("./packages/mdc-drawer/util.ts")),l=a.MDCDismissibleDrawerFoundation.cssClasses, 880k=a.MDCDismissibleDrawerFoundation.strings;n=function(h){function p(){return null!==h&&h.apply(this,arguments)||this}v(p,h);p.attachTo=function(t){return new p(t)};Object.defineProperty(p.prototype,"open",{get:function(){return this.foundation.isOpen()},set:function(t){t?this.foundation.open():this.foundation.close()},enumerable:!1,configurable:!0});Object.defineProperty(p.prototype,"list",{get:function(){return this.innerList},enumerable:!1,configurable:!0});p.prototype.initialize=function(t,u){void 0=== 881t&&(t=function(C){return new c.FocusTrap(C)});void 0===u&&(u=function(C){return new d.MDCList(C)});var z=this.root.querySelector(k.LIST_SELECTOR);z&&(this.innerList=u(z),this.innerList.wrapFocus=!0);this.focusTrapFactory=t};p.prototype.initialSyncWithDOM=function(){var t=this,u=l.MODAL;(this.scrim=this.root.parentNode.querySelector(k.SCRIM_SELECTOR))&&this.root.classList.contains(u)&&(this.handleScrimClick=function(){return t.foundation.handleScrimClick()},this.scrim.addEventListener("click",this.handleScrimClick), 882this.focusTrap=f.createFocusTrapInstance(this.root,this.focusTrapFactory));this.handleKeydown=function(z){t.foundation.handleKeydown(z)};this.handleTransitionEnd=function(z){t.foundation.handleTransitionEnd(z)};this.listen("keydown",this.handleKeydown);this.listen("transitionend",this.handleTransitionEnd)};p.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown);this.unlisten("transitionend",this.handleTransitionEnd);this.innerList&&this.innerList.destroy();var t=l.MODAL;this.scrim&& 883this.handleScrimClick&&this.root.classList.contains(t)&&(this.scrim.removeEventListener("click",this.handleScrimClick),this.open=!1)};p.prototype.getDefaultFoundation=function(){var t=this,u={addClass:function(B){t.root.classList.add(B)},removeClass:function(B){t.root.classList.remove(B)},hasClass:function(B){return t.root.classList.contains(B)},elementHasClass:function(B,x){return B.classList.contains(x)},saveFocus:function(){t.previousFocus=document.activeElement},restoreFocus:function(){var B= 884t.previousFocus;B&&B.focus&&t.root.contains(document.activeElement)&&B.focus()},focusActiveNavigationItem:function(){var B=t.root.querySelector(k.LIST_ITEM_ACTIVATED_SELECTOR);B&&B.focus()},notifyClose:function(){t.emit(k.CLOSE_EVENT,{},!0)},notifyOpen:function(){t.emit(k.OPEN_EVENT,{},!0)},trapFocus:function(){t.focusTrap.trapFocus()},releaseFocus:function(){t.focusTrap.releaseFocus()}},z=l.DISMISSIBLE,C=l.MODAL;if(this.root.classList.contains(z))return new a.MDCDismissibleDrawerFoundation(u);if(this.root.classList.contains(C))return new b.MDCModalDrawerFoundation(u); 885throw Error("MDCDrawer: Failed to instantiate component. Supported variants are "+z+" and "+C+".");};return p}(g.MDCComponent);e.MDCDrawer=n},
885"./packages/mdc-drawer/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={ANIMATE:"mdc-drawer--animate",CLOSING:"mdc-drawer--closing",DISMISSIBLE:"mdc-drawer--dismissible",MODAL:"mdc-drawer--modal",OPEN:"mdc-drawer--open",OPENING:"mdc-drawer--opening",ROOT:"mdc-drawer"};e.strings={APP_CONTENT_SELECTOR:".mdc-drawer-app-content", 886CLOSE_EVENT:"MDCDrawer:closed",OPEN_EVENT:"MDCDrawer:opened",SCRIM_SELECTOR:".mdc-drawer-scrim",LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",LIST_ITEM_ACTIVATED_SELECTOR:".mdc-list-item--activated,.mdc-deprecated-list-item--activated"}},
886"./packages/mdc-drawer/dismissible/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b, 887f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this, 888arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCDismissibleDrawerFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-drawer/constants.ts");n=function(g){function c(d){d=g.call(this,q(q({},c.defaultAdapter),d))||this;d.animationFrame=0;d.animationTimer=0;return d}v(c,g);Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1, 889configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},elementHasClass:function(){return!1},notifyClose:function(){},notifyOpen:function(){},saveFocus:function(){},restoreFocus:function(){},focusActiveNavigationItem:function(){},trapFocus:function(){},releaseFocus:function(){}}},enumerable:!1,configurable:!0});c.prototype.destroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame); 890this.animationTimer&&clearTimeout(this.animationTimer)};c.prototype.open=function(){var d=this;this.isOpen()||this.isOpening()||this.isClosing()||(this.adapter.addClass(m.cssClasses.OPEN),this.adapter.addClass(m.cssClasses.ANIMATE),this.runNextAnimationFrame(function(){d.adapter.addClass(m.cssClasses.OPENING)}),this.adapter.saveFocus())};c.prototype.close=function(){!this.isOpen()||this.isOpening()||this.isClosing()||this.adapter.addClass(m.cssClasses.CLOSING)};c.prototype.isOpen=function(){return this.adapter.hasClass(m.cssClasses.OPEN)}; 891c.prototype.isOpening=function(){return this.adapter.hasClass(m.cssClasses.OPENING)||this.adapter.hasClass(m.cssClasses.ANIMATE)};c.prototype.isClosing=function(){return this.adapter.hasClass(m.cssClasses.CLOSING)};c.prototype.handleKeydown=function(d){var a=d.keyCode;"Escape"!==d.key&&27!==a||this.close()};c.prototype.handleTransitionEnd=function(d){var a=m.cssClasses.OPENING,b=m.cssClasses.CLOSING,f=m.cssClasses.OPEN,l=m.cssClasses.ANIMATE,k=m.cssClasses.ROOT;this.isElement(d.target)&&this.adapter.elementHasClass(d.target, 892k)&&(this.isClosing()?(this.adapter.removeClass(f),this.closed(),this.adapter.restoreFocus(),this.adapter.notifyClose()):(this.adapter.focusActiveNavigationItem(),this.opened(),this.adapter.notifyOpen()),this.adapter.removeClass(l),this.adapter.removeClass(a),this.adapter.removeClass(b))};c.prototype.opened=function(){};c.prototype.closed=function(){};c.prototype.runNextAnimationFrame=function(d){var a=this;cancelAnimationFrame(this.animationFrame);this.animationFrame=requestAnimationFrame(function(){a.animationFrame= 8930;clearTimeout(a.animationTimer);a.animationTimer=setTimeout(d,0)})};c.prototype.isElement=function(d){return!!d.classList};return c}(r.MDCFoundation);e.MDCDismissibleDrawerFoundation=n;e.default=n},
893"./packages/mdc-drawer/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}:function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault||(Object.create? 894function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c}),m=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var c={};if(null!=g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g,d)&&v(c,g,d);q(c,g);return c};r=this&&this.__exportStar||function(g,c){for(var d in g)"default"===d||Object.prototype.hasOwnProperty.call(c,d)||v(c,g,d)};Object.defineProperty(e,"__esModule",{value:!0});e.util=void 0;m=m(n("./packages/mdc-drawer/util.ts")); 895e.util=m;r(n("./packages/mdc-drawer/adapter.ts"),e);r(n("./packages/mdc-drawer/component.ts"),e);r(n("./packages/mdc-drawer/constants.ts"),e);r(n("./packages/mdc-drawer/dismissible/foundation.ts"),e);r(n("./packages/mdc-drawer/modal/foundation.ts"),e)},
895"./packages/mdc-drawer/modal/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var q=function(m,g){q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var a in d)Object.prototype.hasOwnProperty.call(d, 896a)&&(c[a]=d[a])};return q(m,g)};return function(m,g){function c(){this.constructor=m}if("function"!==typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");q(m,g);m.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCModalDrawerFoundation=void 0;r=function(q){function m(){return null!==q&&q.apply(this,arguments)||this}v(m,q);m.prototype.handleScrimClick=function(){this.close()}; 897m.prototype.opened=function(){this.adapter.trapFocus()};m.prototype.closed=function(){this.adapter.releaseFocus()};return m}(n("./packages/mdc-drawer/dismissible/foundation.ts").MDCDismissibleDrawerFoundation);e.MDCModalDrawerFoundation=r;e.default=r},
897"./packages/mdc-drawer/util.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.createFocusTrapInstance=void 0;e.createFocusTrapInstance=function(v,q){return q(v,{skipInitialFocus:!0})}},
897"./packages/mdc-floating-label/adapter.ts":function(r, 898e,n){Object.defineProperty(e,"__esModule",{value:!0})},
898"./packages/mdc-floating-label/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+ 899" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCFloatingLabel=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-dom/ponyfill.ts"),m=n("./packages/mdc-floating-label/foundation.ts");n=function(g){function c(){return null!==g&&g.apply(this,arguments)||this}v(c,g);c.attachTo=function(d){return new c(d)};c.prototype.shake=function(d){this.foundation.shake(d)};c.prototype.float= 900function(d){this.foundation.float(d)};c.prototype.setRequired=function(d){this.foundation.setRequired(d)};c.prototype.getWidth=function(){return this.foundation.getWidth()};c.prototype.getDefaultFoundation=function(){var d=this;return new m.MDCFloatingLabelFoundation({addClass:function(a){return d.root.classList.add(a)},removeClass:function(a){return d.root.classList.remove(a)},getWidth:function(){return q.estimateScrollWidth(d.root)},registerInteractionHandler:function(a,b){return d.listen(a,b)}, 901deregisterInteractionHandler:function(a,b){return d.unlisten(a,b)}})};return c}(r.MDCComponent);e.MDCFloatingLabel=n},
901"./packages/mdc-floating-label/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=void 0;e.cssClasses={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"}},
901"./packages/mdc-floating-label/foundation.ts":function(r,e,n){var v=this&& 902this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign|| 903function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCFloatingLabelFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-floating-label/constants.ts");n=function(g){function c(d){var a=g.call(this,q(q({},c.defaultAdapter),d))||this;a.shakeAnimationEndHandler=function(){a.handleShakeAnimationEnd()}; 904return a}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0});c.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)};c.prototype.destroy= 905function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)};c.prototype.getWidth=function(){return this.adapter.getWidth()};c.prototype.shake=function(d){var a=c.cssClasses.LABEL_SHAKE;d?this.adapter.addClass(a):this.adapter.removeClass(a)};c.prototype.float=function(d){var a=c.cssClasses,b=a.LABEL_FLOAT_ABOVE;a=a.LABEL_SHAKE;d?this.adapter.addClass(b):(this.adapter.removeClass(b),this.adapter.removeClass(a))};c.prototype.setRequired=function(d){var a=c.cssClasses.LABEL_REQUIRED; 906d?this.adapter.addClass(a):this.adapter.removeClass(a)};c.prototype.handleShakeAnimationEnd=function(){this.adapter.removeClass(c.cssClasses.LABEL_SHAKE)};return c}(r.MDCFoundation);e.MDCFloatingLabelFoundation=n;e.default=n},
906"./packages/mdc-floating-label/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar|| 907function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-floating-label/adapter.ts"),e);r(n("./packages/mdc-floating-label/component.ts"),e);r(n("./packages/mdc-floating-label/constants.ts"),e);r(n("./packages/mdc-floating-label/foundation.ts"),e)},
907"./packages/mdc-form-field/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
907"./packages/mdc-form-field/component.ts":function(r, 908e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(); 909Object.defineProperty(e,"__esModule",{value:!0});e.MDCFormField=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-form-field/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};g.prototype.labelEl=function(){return this.root.querySelector(q.MDCFormFieldFoundation.strings.LABEL_SELECTOR)};g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCFormFieldFoundation({activateInputRipple:function(){c.input&& 910c.input.ripple&&c.input.ripple.activate()},deactivateInputRipple:function(){c.input&&c.input.ripple&&c.input.ripple.deactivate()},deregisterInteractionHandler:function(d,a){var b=c.labelEl();b&&b.removeEventListener(d,a)},registerInteractionHandler:function(d,a){var b=c.labelEl();b&&b.addEventListener(d,a)}})};return g}(r.MDCComponent);e.MDCFormField=n},
910"./packages/mdc-form-field/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses= 911{ROOT:"mdc-form-field"};e.strings={LABEL_SELECTOR:".mdc-form-field \x3e label"}},
911"./packages/mdc-form-field/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+ 912String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCFormFieldFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-form-field/constants.ts"); 913n=function(g){function c(d){var a=g.call(this,q(q({},c.defaultAdapter),d))||this;a.click=function(){a.handleClick()};return a}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){}, 914registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0});c.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)};c.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)};c.prototype.handleClick=function(){var d=this;this.adapter.activateInputRipple();requestAnimationFrame(function(){d.adapter.deactivateInputRipple()})};return c}(r.MDCFoundation);e.MDCFormFieldFoundation=n;e.default=n},
914"./packages/mdc-form-field/index.ts":function(r, 915e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-form-field/adapter.ts"),e);r(n("./packages/mdc-form-field/component.ts"),e);r(n("./packages/mdc-form-field/constants.ts"), 916e);r(n("./packages/mdc-form-field/foundation.ts"),e)},
916"./packages/mdc-icon-button/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
916"./packages/mdc-icon-button/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor= 917d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCIconButtonToggle=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-ripple/component.ts"),m=n("./packages/mdc-icon-button/foundation.ts"),g=m.MDCIconButtonToggleFoundation.strings;n=function(c){function d(){var a=null!==c&& 918c.apply(this,arguments)||this;a.rippleComponent=a.createRipple();return a}v(d,c);d.attachTo=function(a){return new d(a)};d.prototype.initialSyncWithDOM=function(){var a=this;this.handleClick=function(){a.foundation.handleClick()};this.listen("click",this.handleClick)};d.prototype.destroy=function(){this.unlisten("click",this.handleClick);this.ripple.destroy();c.prototype.destroy.call(this)};d.prototype.getDefaultFoundation=function(){var a=this;return new m.MDCIconButtonToggleFoundation({addClass:function(b){return a.root.classList.add(b)}, 919hasClass:function(b){return a.root.classList.contains(b)},notifyChange:function(b){a.emit(g.CHANGE_EVENT,b)},removeClass:function(b){return a.root.classList.remove(b)},getAttr:function(b){return a.root.getAttribute(b)},setAttr:function(b,f){return a.root.setAttribute(b,f)}})};Object.defineProperty(d.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0});Object.defineProperty(d.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(a){this.foundation.toggle(a)}, 920enumerable:!1,configurable:!0});d.prototype.createRipple=function(){var a=new q.MDCRipple(this.root);a.unbounded=!0;return a};return d}(r.MDCComponent);e.MDCIconButtonToggle=n},
920"./packages/mdc-icon-button/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"};e.strings={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on", 921CHANGE_EVENT:"MDCIconButtonToggle:change"}},
921"./packages/mdc-icon-button/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null"); 922g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCIconButtonToggleFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-icon-button/constants.ts");n=function(g){function c(d){d= 923g.call(this,q(q({},c.defaultAdapter),d))||this;d.hasToggledAriaLabel=!1;return d}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}}, 924enumerable:!1,configurable:!0});c.prototype.init=function(){var d=this.adapter.getAttr(m.strings.DATA_ARIA_LABEL_ON),a=this.adapter.getAttr(m.strings.DATA_ARIA_LABEL_OFF);if(d&&a){if(null!==this.adapter.getAttr(m.strings.ARIA_PRESSED))throw Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(m.strings.ARIA_PRESSED,String(this.isOn()))};c.prototype.handleClick=function(){this.toggle();this.adapter.notifyChange({isOn:this.isOn()})}; 925c.prototype.isOn=function(){return this.adapter.hasClass(m.cssClasses.ICON_BUTTON_ON)};c.prototype.toggle=function(d){void 0===d&&(d=!this.isOn());d?this.adapter.addClass(m.cssClasses.ICON_BUTTON_ON):this.adapter.removeClass(m.cssClasses.ICON_BUTTON_ON);this.hasToggledAriaLabel?(d=d?this.adapter.getAttr(m.strings.DATA_ARIA_LABEL_ON):this.adapter.getAttr(m.strings.DATA_ARIA_LABEL_OFF),this.adapter.setAttr(m.strings.ARIA_LABEL,d||"")):this.adapter.setAttr(m.strings.ARIA_PRESSED,""+d)};return c}(r.MDCFoundation); 926e.MDCIconButtonToggleFoundation=n;e.default=n},
926"./packages/mdc-icon-button/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-icon-button/adapter.ts"), 927e);r(n("./packages/mdc-icon-button/component.ts"),e);r(n("./packages/mdc-icon-button/constants.ts"),e);r(n("./packages/mdc-icon-button/foundation.ts"),e);r(n("./packages/mdc-icon-button/types.ts"),e)},
927"./packages/mdc-icon-button/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
927"./packages/mdc-line-ripple/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
927"./packages/mdc-line-ripple/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m= 928function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0}); 929e.MDCLineRipple=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-line-ripple/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};g.prototype.activate=function(){this.foundation.activate()};g.prototype.deactivate=function(){this.foundation.deactivate()};g.prototype.setRippleCenter=function(c){this.foundation.setRippleCenter(c)};g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCLineRippleFoundation({addClass:function(d){return c.root.classList.add(d)}, 930removeClass:function(d){return c.root.classList.remove(d)},hasClass:function(d){return c.root.classList.contains(d)},setStyle:function(d,a){return c.root.style.setProperty(d,a)},registerEventHandler:function(d,a){return c.listen(d,a)},deregisterEventHandler:function(d,a){return c.unlisten(d,a)}})};return g}(r.MDCComponent);e.MDCLineRipple=n},
930"./packages/mdc-line-ripple/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=void 0;e.cssClasses={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active", 931LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"}},
931"./packages/mdc-line-ripple/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+ 932" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCLineRippleFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-line-ripple/constants.ts"); 933n=function(g){function c(d){var a=g.call(this,q(q({},c.defaultAdapter),d))||this;a.transitionEndHandler=function(b){a.handleTransitionEnd(b)};return a}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1, 934configurable:!0});c.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)};c.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)};c.prototype.activate=function(){this.adapter.removeClass(m.cssClasses.LINE_RIPPLE_DEACTIVATING);this.adapter.addClass(m.cssClasses.LINE_RIPPLE_ACTIVE)};c.prototype.setRippleCenter=function(d){this.adapter.setStyle("transform-origin",d+"px center")};c.prototype.deactivate= 935function(){this.adapter.addClass(m.cssClasses.LINE_RIPPLE_DEACTIVATING)};c.prototype.handleTransitionEnd=function(d){var a=this.adapter.hasClass(m.cssClasses.LINE_RIPPLE_DEACTIVATING);"opacity"===d.propertyName&&a&&(this.adapter.removeClass(m.cssClasses.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(m.cssClasses.LINE_RIPPLE_DEACTIVATING))};return c}(r.MDCFoundation);e.MDCLineRippleFoundation=n;e.default=n},
935"./packages/mdc-line-ripple/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create? 936function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-line-ripple/adapter.ts"),e);r(n("./packages/mdc-line-ripple/component.ts"),e);r(n("./packages/mdc-line-ripple/constants.ts"),e);r(n("./packages/mdc-line-ripple/foundation.ts"), 937e)},
937"./packages/mdc-linear-progress/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
937"./packages/mdc-linear-progress/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&& 938null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCLinearProgress=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-linear-progress/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype, 939"determinate",{set:function(c){this.foundation.setDeterminate(c)},enumerable:!1,configurable:!0});Object.defineProperty(g.prototype,"progress",{set:function(c){this.foundation.setProgress(c)},enumerable:!1,configurable:!0});Object.defineProperty(g.prototype,"buffer",{set:function(c){this.foundation.setBuffer(c)},enumerable:!1,configurable:!0});g.prototype.open=function(){this.foundation.open()};g.prototype.close=function(){this.foundation.close()};g.prototype.initialSyncWithDOM=function(){var c=this; 940this.root.addEventListener("transitionend",function(){c.foundation.handleTransitionEnd()})};g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCLinearProgressFoundation({addClass:function(d){c.root.classList.add(d)},forceLayout:function(){c.root.getBoundingClientRect()},setBufferBarStyle:function(d,a){var b=c.root.querySelector(q.MDCLinearProgressFoundation.strings.BUFFER_BAR_SELECTOR);b&&b.style.setProperty(d,a)},setPrimaryBarStyle:function(d,a){var b=c.root.querySelector(q.MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR); 941b&&b.style.setProperty(d,a)},hasClass:function(d){return c.root.classList.contains(d)},removeAttribute:function(d){c.root.removeAttribute(d)},removeClass:function(d){c.root.classList.remove(d)},setAttribute:function(d,a){c.root.setAttribute(d,a)},setStyle:function(d,a){c.root.style.setProperty(d,a)},attachResizeObserver:function(d){var a=window.ResizeObserver;return a?(d=new a(d),d.observe(c.root),d):null},getWidth:function(){return c.root.offsetWidth}})};return g}(r.MDCComponent);e.MDCLinearProgress= 942n},
942"./packages/mdc-linear-progress/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.animationDimensionPercentages=e.strings=e.cssClasses=void 0;e.cssClasses={CLOSED_CLASS:"mdc-linear-progress--closed",CLOSED_ANIMATION_OFF_CLASS:"mdc-linear-progress--closed-animation-off",INDETERMINATE_CLASS:"mdc-linear-progress--indeterminate",REVERSED_CLASS:"mdc-linear-progress--reversed",ANIMATION_READY_CLASS:"mdc-linear-progress--animation-ready"};e.strings={ARIA_HIDDEN:"aria-hidden", 943ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUENOW:"aria-valuenow",BUFFER_BAR_SELECTOR:".mdc-linear-progress__buffer-bar",FLEX_BASIS:"flex-basis",PRIMARY_BAR_SELECTOR:".mdc-linear-progress__primary-bar"};e.animationDimensionPercentages={PRIMARY_HALF:.8367142,PRIMARY_FULL:2.00611057,SECONDARY_QUARTER:.37651913,SECONDARY_HALF:.84386165,SECONDARY_FULL:1.60277782}},
943"./packages/mdc-linear-progress/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a, 944b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a, 945b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)},m=this&&this.__values||function(d){var a="function"===typeof Symbol&&Symbol.iterator,b=a&&d[a],f=0;if(b)return b.call(d);if(d&&"number"===typeof d.length)return{next:function(){d&&f>=d.length&&(d=void 0);return{value:d&&d[f++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e, 946"__esModule",{value:!0});e.MDCLinearProgressFoundation=void 0;var g=n("./packages/mdc-animation/util.ts");r=n("./packages/mdc-base/foundation.ts");var c=n("./packages/mdc-linear-progress/constants.ts");n=function(d){function a(b){b=d.call(this,q(q({},a.defaultAdapter),b))||this;b.observer=null;return b}v(a,d);Object.defineProperty(a,"cssClasses",{get:function(){return c.cssClasse
946s},enumerable:!1,configurable:!0});Object.defineProperty(a,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}); 947Object.defineProperty(a,"defaultAdapter",{get:function(){return{addClass:function(){},attachResizeObserver:function(){return null},forceLayout:function(){},getWidth:function(){return 0},hasClass:function(){return!1},setBufferBarStyle:function(){return null},setPrimaryBarStyle:function(){return null},setStyle:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0});a.prototype.init=function(){var b=this;this.determinate=!this.adapter.hasClass(c.cssClasses.INDETERMINATE_CLASS); 948this.adapter.addClass(c.cssClasses.ANIMATION_READY_CLASS);this.progress=0;this.buffer=1;this.observer=this.adapter.attachResizeObserver(function(f){var l;if(!b.determinate)try{for(var k=m(f),h=k.next();!h.done;h=k.next()){var p=h.value;p.contentRect&&b.calculateAndSetDimensions(p.contentRect.width)}}catch(u){var t={error:u}}finally{try{h&&!h.done&&(l=k.return)&&l.call(k)}finally{if(t)throw t.error;}}});!this.determinate&&this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth())};a.prototype.setDeterminate= 949function(b){(this.determinate=b)?(this.adapter.removeClass(c.cssClasses.INDETERMINATE_CLASS),this.adapter.setAttribute(c.strings.ARIA_VALUENOW,this.progress.toString()),this.adapter.setAttribute(c.strings.ARIA_VALUEMAX,"1"),this.adapter.setAttribute(c.strings.ARIA_VALUEMIN,"0"),this.setPrimaryBarProgress(this.progress),this.setBufferBarProgress(this.buffer)):(this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth()),this.adapter.addClass(c.cssClasses.INDETERMINATE_CLASS),this.adapter.removeAttribute(c.strings.ARIA_VALUENOW), 950this.adapter.removeAttribute(c.strings.ARIA_VALUEMAX),this.adapter.removeAttribute(c.strings.ARIA_VALUEMIN),this.setPrimaryBarProgress(1),this.setBufferBarProgress(1))};a.prototype.isDeterminate=function(){return this.determinate};a.prototype.setProgress=function(b){this.progress=b;this.determinate&&(this.setPrimaryBarProgress(b),this.adapter.setAttribute(c.strings.ARIA_VALUENOW,b.toString()))};a.prototype.getProgress=function(){return this.progress};a.prototype.setBuffer=function(b){this.buffer= 951b;this.determinate&&this.setBufferBarProgress(b)};a.prototype.getBuffer=function(){return this.buffer};a.prototype.open=function(){this.adapter.removeClass(c.cssClasses.CLOSED_CLASS);this.adapter.removeClass(c.cssClasses.CLOSED_ANIMATION_OFF_CLASS);this.adapter.removeAttribute(c.strings.ARIA_HIDDEN)};a.prototype.close=function(){this.adapter.addClass(c.cssClasses.CLOSED_CLASS);this.adapter.setAttribute(c.strings.ARIA_HIDDEN,"true")};a.prototype.isClosed=function(){return this.adapter.hasClass(c.cssClasses.CLOSED_CLASS)}; 952a.prototype.handleTransitionEnd=function(){this.adapter.hasClass(c.cssClasses.CLOSED_CLASS)&&this.adapter.addClass(c.cssClasses.CLOSED_ANIMATION_OFF_CLASS)};a.prototype.destroy=function(){d.prototype.destroy.call(this);this.observer&&this.observer.disconnect()};a.prototype.restartAnimation=function(){this.adapter.removeClass(c.cssClasses.ANIMATION_READY_CLASS);this.adapter.forceLayout();this.adapter.addClass(c.cssClasses.ANIMATION_READY_CLASS)};a.prototype.setPrimaryBarProgress=function(b){b="scaleX("+ 953b+")";var f="undefined"!==typeof window?g.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setPrimaryBarStyle(f,b)};a.prototype.setBufferBarProgress=function(b){this.adapter.setBufferBarStyle(c.strings.FLEX_BASIS,100*b+"%")};a.prototype.calculateAndSetDimensions=function(b){var f=b*c.animationDimensionPercentages.PRIMARY_HALF,l=b*c.animationDimensionPercentages.PRIMARY_FULL,k=b*c.animationDimensionPercentages.SECONDARY_QUARTER,h=b*c.animationDimensionPercentages.SECONDARY_HALF; 954b*=c.animationDimensionPercentages.SECONDARY_FULL;this.adapter.setStyle("--mdc-linear-progress-primary-half",f+"px");this.adapter.setStyle("--mdc-linear-progress-primary-half-neg",-f+"px");this.adapter.setStyle("--mdc-linear-progress-primary-full",l+"px");this.adapter.setStyle("--mdc-linear-progress-primary-full-neg",-l+"px");this.adapter.setStyle("--mdc-linear-progress-secondary-quarter",k+"px");this.adapter.setStyle("--mdc-linear-progress-secondary-quarter-neg",-k+"px");this.adapter.setStyle("--mdc-linear-progress-secondary-half", 955h+"px");this.adapter.setStyle("--mdc-linear-progress-secondary-half-neg",-h+"px");this.adapter.setStyle("--mdc-linear-progress-secondary-full",b+"px");this.adapter.setStyle("--mdc-linear-progress-secondary-full-neg",-b+"px");this.restartAnimation()};return a}(r.MDCFoundation);e.MDCLinearProgressFoundation=n;e.default=n},
955"./packages/mdc-linear-progress/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0, 956get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-linear-progress/adapter.ts"),e);r(n("./packages/mdc-linear-progress/component.ts"),e);r(n("./packages/mdc-linear-progress/constants.ts"),e);r(n("./packages/mdc-linear-progress/foundation.ts"),e);r(n("./packages/mdc-linear-progress/types.ts"), 957e)},
957"./packages/mdc-linear-progress/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
957"./packages/mdc-list/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
957"./packages/mdc-list/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d, 958a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCList=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-dom/ponyfill.ts"),m=n("./packages/mdc-list/constants.ts"),g=n("./packages/mdc-list/foundation.ts");n=function(c){function d(){return null!== 959c&&c.apply(this,arguments)||this}v(d,c);Object.defineProperty(d.prototype,"vertical",{set:function(a){this.foundation.setVerticalOrientation(a)},enumerable:!1,configurable:!0});Object.defineProperty(d.prototype,"listElements",{get:function(){return Array.from(this.root.querySelectorAll("."+this.classNameMap[m.cssClasses.LIST_ITEM_CLASS]))},enumerable:!1,configurable:!0});Object.defineProperty(d.prototype,"wrapFocus",{set:function(a){this.foundation.setWrapFocus(a)},enumerable:!1,configurable:!0}); 960Object.defineProperty(d.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!1,configurable:!0});Object.defineProperty(d.prototype,"hasTypeahead",{set:function(a){this.foundation.setHasTypeahead(a)},enumerable:!1,configurable:!0});Object.defineProperty(d.prototype,"singleSelection",{set:function(a){this.foundation.setSingleSelection(a)},enumerable:!1,configurable:!0});Object.defineProperty(d.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()}, 961set:function(a){this.foundation.setSelectedIndex(a)},enumerable:!1,configurable:!0});d.attachTo=function(a){return new d(a)};d.prototype.initialSyncWithDOM=function(){(this.isEvolutionEnabled=m.evolutionAttribute in this.root.dataset)?this.classNameMap=m.evolutionClassNameMap:q.matches(this.root,m.strings.DEPRECATED_SELECTOR)?this.classNameMap=m.deprecatedClassNameMap:this.classNameMap=Object.values(m.cssClasses).reduce(function(a,b){a[b]=b;return a},{});this.handleClick=this.handleClickEvent.bind(this); 962this.handleKeydown=this.handleKeydownEvent.bind(this);this.focusInEventListener=this.handleFocusInEvent.bind(this);this.focusOutEventListener=this.handleFocusOutEvent.bind(this);this.listen("keydown",this.handleKeydown);this.listen("click",this.handleClick);this.listen("focusin",this.focusInEventListener);this.listen("focusout",this.focusOutEventListener);this.layout();this.initializeListType();this.ensureFocusable()};d.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown);this.unlisten("click", 963this.handleClick);this.unlisten("focusin",this.focusInEventListener);this.unlisten("focusout",this.focusOutEventListener)};d.prototype.layout=function(){this.vertical=this.root.getAttribute(m.strings.ARIA_ORIENTATION)!==m.strings.ARIA_ORIENTATION_HORIZONTAL;var a=m.strings.FOCUSABLE_CHILD_ELEMENTS,b=this.root.querySelectorAll("."+this.classNameMap[m.cssClasses.LIST_ITEM_CLASS]+":not([tabindex])");b.length&&Array.prototype.forEach.call(b,function(f){f.setAttribute("tabindex","-1")});a=this.root.querySelectorAll(a); 964a.length&&Array.prototype.forEach.call(a,function(f){f.setAttribute("tabindex","-1")});this.isEvolutionEnabled&&this.foundation.setUseSelectedAttribute(!0);this.foundation.layout()};d.prototype.getPrimaryText=function(a){var b,f=a.querySelector("."+this.classNameMap[m.cssClasses.LIST_ITEM_PRIMARY_TEXT_CLASS]);return this.isEvolutionEnabled||f?null!==(b=null===f||void 0===f?void 0:f.textContent)&&void 0!==b?b:"":(a=a.querySelector("."+this.classNameMap[m.cssClasses.LIST_ITEM_TEXT_CLASS]))&&a.textContent|| 965""};d.prototype.initializeListType=function(){var a=this;this.isInteractive=q.matches(this.root,m.strings.ARIA_INTERACTIVE_ROLES_SELECTOR);if(this.isEvolutionEnabled&&this.isInteractive){var b=Array.from(this.root.querySelectorAll(m.strings.SELECTED_ITEM_SELECTOR),function(l){return a.listElements.indexOf(l)});q.matches(this.root,m.strings.ARIA_MULTI_SELECTABLE_SELECTOR)?this.selectedIndex=b:0<b.length&&(this.selectedIndex=b[0])}else{b=this.root.querySelectorAll(m.strings.ARIA_ROLE_CHECKBOX_SELECTOR); 966var f=this.root.querySelector(m.strings.ARIA_CHECKED_RADIO_SELECTOR);b.length?(b=this.root.querySelectorAll(m.strings.ARIA_CHECKED_CHECKBOX_SELECTOR),this.selectedIndex=Array.from(b,function(l){return a.listElements.indexOf(l)})):f&&(this.selectedIndex=this.listElements.indexOf(f))}};d.prototype.setEnabled=function(a,b){this.foundation.setEnabled(a,b)};d.prototype.typeaheadMatchItem=function(a,b){return this.foundation.typeaheadMatchItem(a,b,!0)};d.prototype.getDefaultFoundation=function(){var a= 967this;
967return new g.MDCListFoundation({addClassForElementIndex:function(b,f){(b=a.listElements[b])&&b.classList.add(a.classNameMap[f])},focusItemAtIndex:function(b){(b=a.listElements[b])&&b.focus()},getAttributeForElementIndex:function(b,f){return a.listElements[b].getAttribute(f)},getFocusedElementIndex:function(){return a.listElements.indexOf(document.activeElement)},getListItemCount:function(){return a.listElements.length},getPrimaryTextAtIndex:function(b){return a.getPrimaryText(a.listElements[b])}, 968hasCheckboxAtIndex:function(b){return!!a.listElements[b].querySelector(m.strings.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(b){return!!a.listElements[b].querySelector(m.strings.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(b){return a.listElements[b].querySelector(m.strings.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return a.root!==document.activeElement&&a.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===a.root},listItemAtIndexHasClass:function(b, 969f){return a.listElements[b].classList.contains(a.classNameMap[f])},notifyAction:function(b){a.emit(m.strings.ACTION_EVENT,{index:b},!0)},removeClassForElementIndex:function(b,f){(b=a.listElements[b])&&b.classList.remove(a.classNameMap[f])},setAttributeForElementIndex:function(b,f,l){(b=a.listElements[b])&&b.setAttribute(f,l)},setCheckedCheckboxOrRadioAtIndex:function(b,f){b=a.listElements[b].querySelector(m.strings.CHECKBOX_RADIO_SELECTOR);b.checked=f;f=document.createEvent("Event");f.initEvent("change", 970!0,!0);b.dispatchEvent(f)},setTabIndexForListItemChildren:function(b,f){Array.prototype.forEach.call(a.listElements[b].querySelectorAll(m.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX),function(l){l.setAttribute("tabindex",f)})}})};d.prototype.ensureFocusable=function(){if(this.isEvolutionEnabled&&this.isInteractive&&!this.root.querySelector("."+this.classNameMap[m.cssClasses.LIST_ITEM_CLASS]+'[tabindex\x3d"0"]')){var a=this.initialFocusIndex();-1!==a&&(this.listElements[a].tabIndex=0)}};d.prototype.initialFocusIndex= 971function(){if(this.selectedIndex instanceof Array&&0<this.selectedIndex.length)return this.selectedIndex[0];if("number"===typeof this.selectedIndex&&this.selectedIndex!==m.numbers.UNSET_INDEX)return this.selectedIndex;var a=this.root.querySelector("."+this.classNameMap[m.cssClasses.LIST_ITEM_CLASS]+":not(."+this.classNameMap[m.cssClasses.LIST_ITEM_DISABLED_CLASS]+")");return null===a?-1:this.getListItemIndex(a)};d.prototype.getListItemIndex=function(a){return(a=q.closest(a,"."+this.classNameMap[m.cssClasses.LIST_ITEM_CLASS]+ 972", ."+this.classNameMap[m.cssClasses.ROOT]))&&q.matches(a,"."+this.classNameMap[m.cssClasses.LIST_ITEM_CLASS])?this.listElements.indexOf(a):-1};d.prototype.handleFocusInEvent=function(a){a=this.getListItemIndex(a.target);this.foundation.handleFocusIn(a)};d.prototype.handleFocusOutEvent=function(a){a=this.getListItemIndex(a.target);this.foundation.handleFocusOut(a)};d.prototype.handleKeydownEvent=function(a){var b=this.getListItemIndex(a.target);this.foundation.handleKeydown(a,a.target.classList.contains(this.classNameMap[m.cssClasses.LIST_ITEM_CLASS]), 973b)};d.prototype.handleClickEvent=function(a){var b=this.getListItemIndex(a.target);a=!q.matches(a.target,m.strings.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(b,a)};return d}(r.MDCComponent);e.MDCList=n},
973"./packages/mdc-list/constants.ts":function(r,e,n){var v,q;Object.defineProperty(e,"__esModule",{value:!0});e.evolutionClassNameMap=e.evolutionAttribute=e.deprecatedClassNameMap=e.numbers=e.cssClasses=e.strings=void 0;r={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item", 974LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",LIST_ITEM_TEXT_CLASS:"mdc-list-item__text",LIST_ITEM_PRIMARY_TEXT_CLASS:"mdc-list-item__primary-text",ROOT:"mdc-list"};e.cssClasses=r;n=(v={},v[""+r.LIST_ITEM_ACTIVATED_CLASS]="mdc-list-item--activated",v[""+r.LIST_ITEM_CLASS]="mdc-list-item",v[""+r.LIST_ITEM_DISABLED_CLASS]="mdc-list-item--disabled",v[""+r.LIST_ITEM_SELECTED_CLASS]="mdc-list-item--selected",v[""+r.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-list-item__primary-text", 975v[""+r.ROOT]="mdc-list",v);e.evolutionClassNameMap=n;v=(q={},q[""+r.LIST_ITEM_ACTIVATED_CLASS]="mdc-deprecated-list-item--activated",q[""+r.LIST_ITEM_CLASS]="mdc-deprecated-list-item",q[""+r.LIST_ITEM_DISABLED_CLASS]="mdc-deprecated-list-item--disabled",q[""+r.LIST_ITEM_SELECTED_CLASS]="mdc-deprecated-list-item--selected",q[""+r.LIST_ITEM_TEXT_CLASS]="mdc-deprecated-list-item__text",q[""+r.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-deprecated-list-item__primary-text",q[""+r.ROOT]="mdc-deprecated-list",q); 976e.deprecatedClassNameMap=v;e.strings={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role\x3d"checkbox"][aria-checked\x3d"true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role\x3d"radio"][aria-checked\x3d"true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role\x3d"checkbox"]',ARIA_SELECTED:"aria-selected",ARIA_INTERACTIVE_ROLES_SELECTOR:'[role\x3d"listbox"], [role\x3d"menu"]', 977ARIA_MULTI_SELECTABLE_SELECTOR:'[aria-multiselectable\x3d"true"]',CHECKBOX_RADIO_SELECTOR:'input[type\x3d"checkbox"], input[type\x3d"radio"]',CHECKBOX_SELECTOR:'input[type\x3d"checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+r.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+r.LIST_ITEM_CLASS+" a,\n ."+v[r.LIST_ITEM_CLASS]+" button:not(:disabled),\n ."+v[r.LIST_ITEM_CLASS]+" a\n ",DEPRECATED_SELECTOR:".mdc-deprecated-list",FOCUSABLE_CHILD_ELEMENTS:"\n ."+r.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+ 978r.LIST_ITEM_CLASS+" a,\n ."+r.LIST_ITEM_CLASS+' input[type\x3d"radio"]:not(:disabled),\n .'+r.LIST_ITEM_CLASS+' input[type\x3d"checkbox"]:not(:disabled),\n .'+v[r.LIST_ITEM_CLASS]+" button:not(:disabled),\n ."+v[r.LIST_ITEM_CLASS]+" a,\n ."+v[r.LIST_ITEM_CLASS]+' input[type\x3d"radio"]:not(:disabled),\n .'+v[r.LIST_ITEM_CLASS]+' input[type\x3d"checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type\x3d"radio"]',SELECTED_ITEM_SELECTOR:'[aria-selected\x3d"true"], [aria-current\x3d"true"]'}; 979e.numbers={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300};e.evolutionAttribute="evolution"},
979"./packages/mdc-list/events.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.preventDefaultEvent=void 0;var v=["input","button","textarea","select"];e.preventDefaultEvent=function(q){var m=q.target;m&&(m=(""+m.tagName).toLowerCase(),-1===v.indexOf(m)&&q.preventDefault())}},
979"./packages/mdc-list/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var l=function(k, 980h){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,t){p.__proto__=t}||function(p,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(p[u]=t[u])};return l(k,h)};return function(k,h){function p(){this.constructor=k}if("function"!==typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");l(k,h);k.prototype=null===h?Object.create(h):(p.prototype=h.prototype,new p)}}(),q=this&&this.__assign||function(){q=Object.assign||function(l){for(var k, 981h=1,p=arguments.length;h<p;h++){k=arguments[h];for(var t in k)Object.prototype.hasOwnProperty.call(k,t)&&(l[t]=k[t])}return l};return q.apply(this,arguments)},m=this&&this.__createBinding||(Object.create?function(l,k,h,p){void 0===p&&(p=h);Object.defineProperty(l,p,{enumerable:!0,get:function(){return k[h]}})}:function(l,k,h,p){void 0===p&&(p=h);l[p]=k[h]}),g=this&&this.__setModuleDefault||(Object.create?function(l,k){Object.defineProperty(l,"default",{enumerable:!0,value:k})}:function(l,k){l["default"]= 982k});r=this&&this.__importStar||function(l){if(l&&l.__esModule)return l;var k={};if(null!=l)for(var h in l)"default"!==h&&Object.prototype.hasOwnProperty.call(l,h)&&m(k,l,h);g(k,l);return k};Object.defineProperty(e,"__esModule",{value:!0});e.MDCListFoundation=void 0;var c=n("./packages/mdc-base/foundation.ts"),d=n("./packages/mdc-dom/keyboard.ts"),a=n("./packages/mdc-list/constants.ts"),b=n("./packages/mdc-list/events.ts"),f=r(n("./packages/mdc-list/typeahead.ts"));n=function(l){function k(h){h=l.call(this, 983q(q({},k.defaultAdapter),h))||this;h.wrapFocus=!1;h.isVertical=!0;h.isSingleSelectionList=!1;h.selectedIndex=a.numbers.UNSET_INDEX;h.focusedItemIndex=a.numbers.UNSET_INDEX;h.useActivatedClass=!1;h.useSelectedAttr=!1;h.ariaCurrentAttrValue=null;h.isCheckboxList=!1;h.isRadioList=!1;h.hasTypeahead=!1;h.typeaheadState=f.initState();h.sortedIndexByFirstChar=new Map;return h}v(k,l);Object.defineProperty(k,"strings",{get:function(){return a.strings},enumerable:!1,configurable:!0});Object.defineProperty(k, 984"cssClasses",{get:function(){return a.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(k,"numbers",{get:function(){return a.numbers},enumerable:!1,configurable:!0});Object.defineProperty(k,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1}, 985isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!1,configurable:!0});k.prototype.layout=function(){0!==this.adapter.getListItemCount()&& 986(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))};k.prototype.getFocusedItemIndex=function(){return this.focusedItemIndex};k.prototype.setWrapFocus=function(h){this.wrapFocus=h};k.prototype.setVerticalOrientation=function(h){this.isVertical=h};k.prototype.setSingleSelection=function(h){if(this.isSingleSelectionList=h)this.maybeInitializeSingleSelection(), 987this.selectedIndex=this.getSelectedIndexFromDOM()};k.prototype.maybeInitializeSingleSelection=function(){var h=this.getSelectedIndexFromDOM();h!==a.numbers.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(h,a.cssClasses.LIST_ITEM_ACTIVATED_CLASS)&&this.setUseActivatedClass(!0),this.isSingleSelectionList=!0,this.selectedIndex=h)};k.prototype.getSelectedIndexFromDOM=function(){for(var h=a.numbers.UNSET_INDEX,p=this.adapter.getListItemCount(),t=0;t<p;t++){var u=this.adapter.listItemAtIndexHasClass(t,
988a.cssClasses.LIST_ITEM_SELECTED_CLASS),z=this.adapter.listItemAtIndexHasClass(t,a.cssClasses.LIST_ITEM_ACTIVATED_CLASS);if(u||z){h=t;break}}return h};k.prototype.setHasTypeahead=function(h){if(this.hasTypeahead=h)this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()};k.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&f.isTypingInProgress(this.typeaheadState)};k.prototype.setUseActivatedClass=function(h){this.useActivatedClass=h};k.prototype.setUseSelectedAttribute=function(h){this.useSelectedAttr= 989h};k.prototype.getSelectedIndex=function(){return this.selectedIndex};k.prototype.setSelectedIndex=function(h,p){p=(void 0===p?{}:p).forceUpdate;this.isIndexValid(h)&&(this.isCheckboxList?this.setCheckboxAtIndex(h):this.isRadioList?this.setRadioAtIndex(h):this.setSingleSelectionAtIndex(h,{forceUpdate:p}))};k.prototype.handleFocusIn=function(h){0<=h&&(this.focusedItemIndex=h,this.adapter.setAttributeForElementIndex(h,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(h,"0"))};k.prototype.handleFocusOut= 990function(h){var p=this;0<=h&&(this.adapter.setAttributeForElementIndex(h,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(h,"-1"));setTimeout(function(){p.adapter.isFocusInsideList()||p.setTabindexToFirstSelectedOrFocusedItem()},0)};k.prototype.handleKeydown=function(h,p,t){var u=this,z="ArrowLeft"===d.normalizeKey(h),C="ArrowUp"===d.normalizeKey(h),B="ArrowRight"===d.normalizeKey(h),x="ArrowDown"===d.normalizeKey(h),w="Home"===d.normalizeKey(h),y="End"===d.normalizeKey(h),A="Enter"=== 991d.normalizeKey(h),D="Spacebar"===d.normalizeKey(h),E="A"===h.key||"a"===h.key;if(this.adapter.isRootFocused()){if(C||y)h.preventDefault(),this.focusLastElement();else if(x||w)h.preventDefault(),this.focusFirstElement();this.hasTypeahead&&(h={event:h,focusItemAtIndex:function(H){u.focusItemAtIndex(H)},focusedItemIndex:-1,isTargetListItem:p,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(H){return u.adapter.listItemAtIndexHasClass(H,a.cssClasses.LIST_ITEM_DISABLED_CLASS)}}, 992f.handleKeydown(h,this.typeaheadState))}else{var F=this.adapter.getFocusedElementIndex();if(-1===F&&(F=t,0>F))return;if(this.isVertical&&x||!this.isVertical&&B)b.preventDefaultEvent(h),this.focusNextElement(F);else if(this.isVertical&&C||!this.isVertical&&z)b.preventDefaultEvent(h),this.focusPrevElement(F);else if(w)b.preventDefaultEvent(h),this.focusFirstElement();else if(y)b.preventDefaultEvent(h),this.focusLastElement();else if(E&&h.ctrlKey&&this.isCheckboxList)h.preventDefault(),this.toggleAll(this.selectedIndex=== 993a.numbers.UNSET_INDEX?[]:this.selectedIndex);else if((A||D)&&p){if((t=h.target)&&"A"===t.tagName&&A)return;b.preventDefaultEvent(h);if(this.adapter.listItemAtIndexHasClass(F,a.cssClasses.LIST_ITEM_DISABLED_CLASS))return;this.isTypeaheadInProgress()||(this.isSelectableList()&&this.setSelectedIndexOnAction(F),this.adapter.notifyAction(F))}this.hasTypeahead&&(h={event:h,focusItemAtIndex:function(H){u.focusItemAtIndex(H)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:p,sortedIndexByFirstChar:this.sortedIndexByFirstChar, 994isItemAtIndexDisabled:function(H){return u.adapter.listItemAtIndexHasClass(H,a.cssClasses.LIST_ITEM_DISABLED_CLASS)}},f.handleKeydown(h,this.typeaheadState))}};k.prototype.handleClick=function(h,p){h===a.numbers.UNSET_INDEX||this.adapter.listItemAtIndexHasClass(h,a.cssClasses.LIST_ITEM_DISABLED_CLASS)||(this.isSelectableList()&&this.setSelectedIndexOnAction(h,p),this.adapter.notifyAction(h))};k.prototype.focusNextElement=function(h){var p=this.adapter.getListItemCount(),t=h+1;if(t>=p)if(this.wrapFocus)t= 9950;else return h;this.focusItemAtIndex(t);return t};k.prototype.focusPrevElement=function(h){var p=h-1;if(0>p)if(this.wrapFocus)p=this.adapter.getListItemCount()-1;else return h;this.focusItemAtIndex(p);return p};k.prototype.focusFirstElement=function(){this.focusItemAtIndex(0);return 0};k.prototype.focusLastElement=function(){var h=this.adapter.getListItemCount()-1;this.focusItemAtIndex(h);return h};k.prototype.focusInitialElement=function(){var h=this.getFirstSelectedOrFocusedItemIndex();this.focusItemAtIndex(h); 996return h};
996k.prototype.setEnabled=function(h,p){this.isIndexValid(h)&&(p?(this.adapter.removeClassForElementIndex(h,a.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(h,a.strings.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(h,a.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(h,a.strings.ARIA_DISABLED,"true")))};k.prototype.setSingleSelectionAtIndex=function(h,p){p=(void 0===p?{}:p).forceUpdate;if(this.selectedIndex!==h||p)p= 997a.cssClasses.LIST_ITEM_SELECTED_CLASS,this.useActivatedClass&&(p=a.cssClasses.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex!==a.numbers.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex,p),this.setAriaForSingleSelectionAtIndex(h),this.setTabindexAtIndex(h),h!==a.numbers.UNSET_INDEX&&this.adapter.addClassForElementIndex(h,p),this.selectedIndex=h};k.prototype.setAriaForSingleSelectionAtIndex=function(h){this.selectedIndex===a.numbers.UNSET_INDEX&&(this.ariaCurrentAttrValue=this.adapter.getAttributeForElementIndex(h, 998a.strings.ARIA_CURRENT));var p=null!==this.ariaCurrentAttrValue,t=p?a.strings.ARIA_CURRENT:a.strings.ARIA_SELECTED;this.selectedIndex!==a.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,t,"false");h!==a.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(h,t,p?this.ariaCurrentAttrValue:"true")};k.prototype.getSelectionAttribute=function(){return this.useSelectedAttr?a.strings.ARIA_SELECTED:a.strings.ARIA_CHECKED};k.prototype.setRadioAtIndex=function(h){var p= 999this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(h,!0);this.selectedIndex!==a.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,p,"false");this.adapter.setAttributeForElementIndex(h,p,"true");this.selectedIndex=h};k.prototype.setCheckboxAtIndex=function(h){for(var p=this.getSelectionAttribute(),t=0;t<this.adapter.getListItemCount();t++){var u=!1;0<=h.indexOf(t)&&(u=!0);this.adapter.setCheckedCheckboxOrRadioAtIndex(t,u);this.adapter.setAttributeForElementIndex(t, 1000p,u?"true":"false")}this.selectedIndex=h};k.prototype.setTabindexAtIndex=function(h){this.focusedItemIndex===a.numbers.UNSET_INDEX&&0!==h?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):0<=this.focusedItemIndex&&this.focusedItemIndex!==h&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1");this.selectedIndex instanceof Array||this.selectedIndex===h||this.adapter.setAttributeForElementIndex(this.selectedIndex,"tabindex","-1");h!==a.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(h, 1001"tabindex","0")};k.prototype.isSelectableList=function(){return this.isSingleSelectionList||this.isCheckboxList||this.isRadioList};k.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var h=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(h)};k.prototype.getFirstSelectedOrFocusedItemIndex=function(){return this.isSelectableList()?"number"===typeof this.selectedIndex&&this.selectedIndex!==a.numbers.UNSET_INDEX?this.selectedIndex:this.selectedIndex instanceof Array&&0<this.selectedIndex.length? 1002this.selectedIndex.reduce(function(h,p){return Math.min(h,p)}):0:Math.max(this.focusedItemIndex,0)};k.prototype.isIndexValid=function(h){var p=this;if(h instanceof Array){if(!this.isCheckboxList)throw Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===h.length?!0:h.some(function(t){return p.isIndexInRange(t)})}if("number"===typeof h){if(this.isCheckboxList)throw Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+ 1003h);return this.isIndexInRange(h)||this.isSingleSelectionList&&h===a.numbers.UNSET_INDEX}return!1};k.prototype.isIndexInRange=function(h){var p=this.adapter.getListItemCount();return 0<=h&&h<p};k.prototype.setSelectedIndexOnAction=function(h,p){void 0===p&&(p=!0);this.isCheckboxList?this.toggleCheckboxAtIndex(h,p):this.setSelectedIndex(h)};k.prototype.toggleCheckboxAtIndex=function(h,p){var t=this.getSelectionAttribute(),u=this.adapter.isCheckboxCheckedAtIndex(h);p&&(u=!u,this.adapter.setCheckedCheckboxOrRadioAtIndex(h, 1004u));this.adapter.setAttributeForElementIndex(h,t,u?"true":"false");p=this.selectedIndex===a.numbers.UNSET_INDEX?[]:this.selectedIndex.slice();u?p.push(h):p=p.filter(function(z){return z!==h});
1004this.selectedIndex=p};k.prototype.focusItemAtIndex=function(h){this.adapter.focusItemAtIndex(h);this.focusedItemIndex=h};k.prototype.toggleAll=function(h){var p=this.adapter.getListItemCount();if(h.length===p)this.setCheckboxAtIndex([]);else{for(var t=[],u=0;u<p;u++)(!this.adapter.listItemAtIndexHasClass(u,a.cssClasses.LIST_ITEM_DISABLED_CLASS)|| 1005-1<h.indexOf(u))&&t.push(u);this.setCheckboxAtIndex(t)}};k.prototype.typeaheadMatchItem=function(h,p,t){var u=this;void 0===t&&(t=!1);return f.matchItem({focusItemAtIndex:function(z){u.focusItemAtIndex(z)},focusedItemIndex:p?p:this.focusedItemIndex,nextChar:h,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:t,isItemAtIndexDisabled:function(z){return u.adapter.listItemAtIndexHasClass(z,a.cssClasses.LIST_ITEM_DISABLED_CLASS)}},this.typeaheadState)};k.prototype.typeaheadInitSortedIndex=function(){return f.initSortedIndex(this.adapter.getListItemCount(), 1006this.adapter.getPrimaryTextAtIndex)};k.prototype.clearTypeaheadBuffer=function(){f.clearBuffer(this.typeaheadState)};return k}(c.MDCFoundation);e.MDCListFoundation=n;e.default=n},
1006"./packages/mdc-list/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g|| 1007Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-list/adapter.ts"),e);r(n("./packages/mdc-list/component.ts"),e);r(n("./packages/mdc-list/constants.ts"),e);r(n("./packages/mdc-list/foundation.ts"),e);r(n("./packages/mdc-list/types.ts"),e)},
1007"./packages/mdc-list/typeahead.ts":function(r,e,n){function v(f,l){var k=f.nextChar,h=f.focusItemAtIndex,p=f.sortedIndexByFirstChar,t=f.focusedItemIndex,u=f.skipFocus;f=f.isItemAtIndexDisabled; 1008clearTimeout(l.bufferClearTimeout);l.bufferClearTimeout=setTimeout(function(){c(l)},a.numbers.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS);l.typeaheadBuffer+=k;k=1===l.typeaheadBuffer.length?q(p,t,f,l):m(p,f,l);-1===k||u||h(k);return k}function q(f,l,k,h){var p=h.typeaheadBuffer[0];f=f.get(p);if(!f)return-1;if(p===h.currentFirstChar&&f[h.sortedIndexCursor].index===l){h.sortedIndexCursor=(h.sortedIndexCursor+1)%f.length;var t=f[h.sortedIndexCursor].index;if(!k(t))return t}h.currentFirstChar=p;p=-1;for(t=0;t< 1009f.length;t++)if(!k(f[t].index)){p=t;break}for(;t<f.length;t++)if(f[t].index>l&&!k(f[t].index)){p=t;break}return-1!==p?(h.sortedIndexCursor=p,f[h.sortedIndexCursor].index):-1}function m(f,l,k){f=f.get(k.typeaheadBuffer[0]);if(!f)return-1;var h=f[k.sortedIndexCursor];if(0===h.text.lastIndexOf(k.typeaheadBuffer,0)&&!l(h.index))return h.index;h=(k.sortedIndexCursor+1)%f.length;for(var p=-1;h!==k.sortedIndexCursor;){var t=f[h],u=0===t.text.lastIndexOf(k.typeaheadBuffer,0);t=!l(t.index);if(u&&t){p=h;break}h= 1010(h+1)%f.length}return-1!==p?(k.sortedIndexCursor=p,f[k.sortedIndexCursor].index):-1}function g(f){return 0<f.typeaheadBuffer.length}function c(f){f.typeaheadBuffer=""}Object.defineProperty(e,"__esModule",{value:!0});e.handleKeydown=e.clearBuffer=e.isTypingInProgress=e.matchItem=e.initSortedIndex=e.initState=void 0;var d=n("./packages/mdc-dom/keyboard.ts"),a=n("./packages/mdc-list/constants.ts"),b=n("./packages/mdc-list/events.ts");e.initState=function(){return{bufferClearTimeout:0,currentFirstChar:"", 1011sortedIndexCursor:0,typeaheadBuffer:""}};e.initSortedIndex=function(f,l){for(var k=new Map,h=0;h<f;h++){var p=l(h).trim();if(p){var t=p[0].toLowerCase();k.has(t)||k.set(t,[]);k.get(t).push({text:p.toLowerCase(),index:h})}}k.forEach(function(u){u.sort(function(z,C){return z.index-C.index})});return k};e.matchItem=v;e.isTypingInProgress=g;e.clearBuffer=c;e.handleKeydown=function(f,l){var k=f.event,h=f.isTargetListItem,p=f.focusedItemIndex,t=f.focusItemAtIndex,u=f.sortedIndexByFirstChar;f=f.isItemAtIndexDisabled; 1012var z="ArrowLeft"===d.normalizeKey(k),C="ArrowUp"===d.normalizeKey(k),B="ArrowRight"===d.normalizeKey(k),x="ArrowDown"===d.normalizeKey(k),w="Home"===d.normalizeKey(k),y="End"===d.normalizeKey(k),A="Enter"===d.normalizeKey(k),D="Spacebar"===d.normalizeKey(k);if(k.ctrlKey||k.metaKey||z||C||B||x||w||y||A)return-1;if(!D&&1===k.key.length)return b.preventDefaultEvent(k),k={focusItemAtIndex:t,focusedItemIndex:p,nextChar:k.key.toLowerCase(),sortedIndexByFirstChar:u,skipFocus:!1,isItemAtIndexDisabled:f}, 1013v(k,l);if(!D)return-1;h&&b.preventDefaultEvent(k);return h&&g(l)?(k={focusItemAtIndex:t,focusedItemIndex:p,nextChar:" ",sortedIndexByFirstChar:u,skipFocus:!1,isItemAtIndexDisabled:f},v(k,l)):-1}},
1013"./packages/mdc-list/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1013"./packages/mdc-menu-surface/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1013"./packages/mdc-menu-surface/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var c= 1014function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}();Object.defineProperty(e,"__esModule",{value:!0}); 1015e.MDCMenuSurface=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-menu-surface/constants.ts"),m=n("./packages/mdc-menu-surface/foundation.ts"),g=n("./packages/mdc-animation/util.ts");n=function(c){function d(){return null!==c&&c.apply(this,arguments)||this}v(d,c);d.attachTo=function(a){return new d(a)};d.prototype.initialSyncWithDOM=function(){var a=this,b=this.root.parentElement;this.anchorElement=b&&b.classList.contains(q.cssClasses.ANCHOR)?b:null;this.root.classList.contains(q.cssClasses.FIXED)&& 1016this.setFixedPosition(!0);this.handleKeydown=function(f){a.foundation.handleKeydown(f)};this.handleBodyClick=function(f){a.foundation.handleBodyClick(f)};this.registerBodyClickListener=function(){document.body.addEventListener("click",a.handleBodyClick,{capture:!0})};this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",a.handleBodyClick,{capture:!0})};this.listen("keydown",this.handleKeydown);this.listen(q.strings.OPENED_EVENT,this.registerBodyClickListener);this.listen(q.strings.CLOSED_EVENT, 1017this.deregisterBodyClickListener)};d.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown);this.unlisten(q.strings.OPENED_EVENT,this.registerBodyClickListener);this.unlisten(q.strings.CLOSED_EVENT,this.deregisterBodyClickListener);c.prototype.destroy.call(this)};d.prototype.isOpen=function(){return this.foundation.isOpen()};d.prototype.open=function(){this.foundation.open()};d.prototype.close=function(a){void 0===a&&(a=!1);this.foundation.close(a)};Object.defineProperty(d.prototype, 1018"quickOpen",{set:function(a){this.foundation.setQuickOpen(a)},enumerable:!1,configurable:!0});d.prototype.setIsHoisted=function(a){this.foundation.setIsHoisted(a)};d.prototype.setMenuSurfaceAnchorElement=function(a){this.anchorElement=a};d.prototype.setFixedPosition=function(a){a?this.root.classList.add(q.cssClasses.FIXED):this.root.classList.remove(q.cssClasses.FIXED);this.foundation.setFixedPosition(a)};d.prototype.setAbsolutePosition=function(a,b){this.foundation.setAbsolutePosition(a,b);this.setIsHoisted(!0)}; 1019d.prototype.setAnchorCorner=function(a){this.foundation.setAnchorCorner(a)};d.prototype.setAnchorMargin=function(a){this.foundation.setAnchorMargin(a)};d.prototype.getDefaultFoundation=function(){var a=this;return new m.MDCMenuSurfaceFoundation({addClass:function(b){return a.root.classList.add(b)},removeClass:function(b){return a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},hasAnchor:function(){return!!a.anchorElement},notifyClose:function(){return a.emit(m.MDCMenuSurfaceFoundation.strings.CLOSED_EVENT, 1020{})},notifyClosing:function(){a.emit(m.MDCMenuSurfaceFoundation.strings.CLOSING_EVENT,{})},notifyOpen:function(){return a.emit(m.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,{})},isElementInContainer:function(b){return a.root.contains(b)},isRtl:function(){return"rtl"===getComputedStyle(a.root).getPropertyValue("direction")},setTransformOrigin:function(b){var f=g.getCorrectPropertyName(window,"transform")+"-origin";a.root.style.setProperty(f,b)},isFocused:function(){return document.activeElement=== 1021a.root},saveFocus:function(){a.previousFocus=document.activeElement},restoreFocus:function(){a.root.contains(document.activeElement)&&a.previousFocus&&a.previousFocus.focus&&a.previousFocus.focus()},getInnerDimensions:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}}
1021,getAnchorDimensions:function(){return a.anchorElement?a.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth, 1022height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(b){var f=a.root;f.style.left="left"in b?b.left+"px":"";f.style.right="right"in b?b.right+"px":"";f.style.top="top"in b?b.top+"px":"";f.style.bottom="bottom"in b?b.bottom+"px":""},setMaxHeight:function(b){a.root.style.maxHeight=b}})};return d}(r.MDCComponent);e.MDCMenuSurface=n},
1022"./packages/mdc-menu-surface/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule", 1023{value:!0});e.Corner=e.CornerBit=e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"};e.strings={CLOSED_EVENT:"MDCMenuSurface:closed",CLOSING_EVENT:"MDCMenuSurface:closing",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:'button:not(:disabled), [href]:not([aria-disabled\x3d"true"]), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex\x3d"-1"]):not([aria-disabled\x3d"true"])'}; 1024e.numbers={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67,TOUCH_EVENT_WAIT_MS:30};var v;(function(m){m[m.BOTTOM=1]="BOTTOM";m[m.CENTER=2]="CENTER";m[m.RIGHT=4]="RIGHT";m[m.FLIP_RTL=8]="FLIP_RTL"})(v||(v={}));e.CornerBit=v;var q;(function(m){m[m.TOP_LEFT=0]="TOP_LEFT";m[m.TOP_RIGHT=4]="TOP_RIGHT";m[m.BOTTOM_LEFT=1]="BOTTOM_LEFT";m[m.BOTTOM_RIGHT=5]="BOTTOM_RIGHT";m[m.TOP_START=8]="TOP_START";m[m.TOP_END=12]="TOP_END";m[m.BOTTOM_START= 10259]="BOTTOM_START";m[m.BOTTOM_END=13]="BOTTOM_END"})(q||(q={}));e.Corner=q},
1025"./packages/mdc-menu-surface/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+ 1026String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),q=this&&this.__assign||function(){q=Object.assign||function(c){for(var d,a=1,b=arguments.length;a<b;a++){d=arguments[a];for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(c[f]=d[f])}return c};return q.apply(this,arguments)},m=this&&this.__values||function(c){var d="function"===typeof Symbol&&Symbol.iterator,a=d&&c[d],b=0;if(a)return a.call(c);if(c&&"number"===typeof c.length)return{next:function(){c&& 1027b>=c.length&&(c=void 0);return{value:c&&c[b++],done:!c}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCMenuSurfaceFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-menu-surface/constants.ts");n=function(c){function d(a){a=c.call(this,q(q({},d.defaultAdapter),a))||this;a.isSurfaceOpen=!1;a.isQuickOpen=!1;a.isHoistedElement=!1;a.isFixedPosition=!1;a.isHorizontallyCenteredOnViewport= 1028!1;a.maxHeight=0;a.openAnimationEndTimerId=0;a.closeAnimationEndTimerId=0;a.animationRequestId=0;a.anchorCorner=g.Corner.TOP_START;a.originCorner=g.Corner.TOP_START;a.anchorMargin={top:0,right:0,bottom:0,left:0};a.position={x:0,y:0};return a}v(d,c);Object.defineProperty(d,"cssClasses",{get:function(){return g.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(d,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(d,"numbers",{get:function(){return g.numbers}, 1029enumerable:!1,configurable:!0});Object.defineProperty(d,"Corner",{get:function(){return g.Corner},enumerable:!1,configurable:!0});Object.defineProperty(d,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null}, 1030getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){},notifyClosing:function(){}}},enumerable:!1,configurable:!0});
1030d.prototype.init=function(){var a=d.cssClasses,b=a.ROOT;a=a.OPEN;if(!this.adapter.hasClass(b))throw Error(b+ 1031" class required in root element.");this.adapter.hasClass(a)&&(this.isSurfaceOpen=!0)};d.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId);clearTimeout(this.closeAnimationEndTimerId);cancelAnimationFrame(this.animationRequestId)};d.prototype.setAnchorCorner=function(a){this.anchorCorner=a};d.prototype.flipCornerHorizontally=function(){this.originCorner^=g.CornerBit.RIGHT};d.prototype.setAnchorMargin=function(a){this.anchorMargin.top=a.top||0;this.anchorMargin.right=a.right|| 10320;this.anchorMargin.bottom=a.bottom||0;this.anchorMargin.left=a.left||0};d.prototype.setIsHoisted=function(a){this.isHoistedElement=a};d.prototype.setFixedPosition=function(a){this.isFixedPosition=a};d.prototype.isFixed=function(){return this.isFixedPosition};d.prototype.setAbsolutePosition=function(a,b){this.position.x=this.isFinite(a)?a:0;this.position.y=this.isFinite(b)?b:0};d.prototype.setIsHorizontallyCenteredOnViewport=function(a){this.isHorizontallyCenteredOnViewport=a};d.prototype.setQuickOpen= 1033function(a){this.isQuickOpen=a};d.prototype.setMaxHeight=function(a){this.maxHeight=a};d.prototype.isOpen=function(){return this.isSurfaceOpen};d.prototype.open=function(){var a=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(d.cssClasse
1033s.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(d.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame(function(){a.dimensions= 1034a.adapter.getInnerDimensions();a.autoposition();a.adapter.addClass(d.cssClasses.OPEN);a.openAnimationEndTimerId=setTimeout(function(){a.openAnimationEndTimerId=0;a.adapter.removeClass(d.cssClasses.ANIMATING_OPEN);a.adapter.notifyOpen()},g.numbers.TRANSITION_OPEN_DURATION)}),this.isSurfaceOpen=!0))};d.prototype.close=function(a){var b=this;void 0===a&&(a=!1);this.isSurfaceOpen&&(this.adapter.notifyClosing(),this.isQuickOpen?(this.isSurfaceOpen=!1,a||this.maybeRestoreFocus(),this.adapter.removeClass(d.cssClasses.OPEN), 1035this.adapter.removeClass(d.cssClasses.IS_OPEN_BELOW),this.adapter.notifyClose()):(this.adapter.addClass(d.cssClasses.ANIMATING_CLOSED),requestAnimationFrame(function(){b.adapter.removeClass(d.cssClasses.OPEN);b.adapter.removeClass(d.cssClasses.IS_OPEN_BELOW);b.closeAnimationEndTimerId=setTimeout(function(){b.closeAnimationEndTimerId=0;
1035b.adapter.removeClass(d.cssClasses.ANIMATING_CLOSED);b.adapter.notifyClose()},g.numbers.TRANSITION_CLOSE_DURATION)}),this.isSurfaceOpen=!1,a||this.maybeRestoreFocus()))}; 1036d.prototype.handleBodyClick=function(a){this.adapter.isElementInContainer(a.target)||this.close()};d.prototype.handleKeydown=function(a){var b=a.keyCode;"Escape"!==a.key&&27!==b||this.close()};d.prototype.autoposition=function(){var a;this.measurements=this.getAutoLayoutmeasurements();var b=this.getoriginCorner(),f=this.getMenuSurfaceMaxHeight(b),l=this.hasBit(b,g.CornerBit.BOTTOM)?"bottom":"top",k=this.hasBit(b,g.CornerBit.RIGHT)?"right":"left",h=this.getHorizontalOriginOffset(b),p=this.getVerticalOriginOffset(b), 1037t=this.measurements,u=t.anchorSize;t=t.surfaceSize;var z=(a={},a[k]=h,a[l]=p,a);u.width/t.width>g.numbers.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(k="center");(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(z);this.adapter.setTransformOrigin(k+" "+l);this.adapter.setPosition(z);this.adapter.setMaxHeight(f?f+"px":"");this.hasBit(b,g.CornerBit.BOTTOM)||this.adapter.addClass(d.cssClasse
1037s.IS_OPEN_BELOW)};d.prototype.getAutoLayoutmeasurements=function(){var a=this.adapter.getAnchorDimensions(), 1038b=this.adapter.getBodyDimensions(),f=this.adapter.getWindowDimensions(),l=this.adapter.getWindowScroll();a||(a={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0});return{anchorSize:a,bodySize:b,surfaceSize:this.dimensions,viewportDistance:{top:a.top,right:f.width-a.right,bottom:f.height-a.bottom,left:a.left},viewportSize:f,windowScroll:l}};d.prototype.getoriginCorner=function(){var a=this.originCorner,b=this.measurements,f=b.viewportDistance,l= 1039b.anchorSize;b=b.surfaceSize;var k=d.numbers.MARGIN_TO_EDGE;if(this.hasBit(this.anchorCorner,g.CornerBit.BOTTOM)){var h=f.top-k+this.anchorMargin.bottom;k=f.bottom-k-this.anchorMargin.bottom}else h=f.top-k+this.anchorMargin.top,k=f.bottom-k+l.height-this.anchorMargin.top;!(0<k-b.height)&&h>k&&(a=this.setBit(a,g.CornerBit.BOTTOM));h=this.adapter.isRtl();var p=this.hasBit(this.anchorCorner,g.CornerBit.FLIP_RTL);k=this.hasBit(this.anchorCorner,g.CornerBit.RIGHT)||this.hasBit(a,g.CornerBit.RIGHT);p=h&& 1040p?!k:k;if(p){var t=f.left+l.width+this.anchorMargin.right;f=f.right-this.anchorMargin.right}else t=f.left+this.anchorMargin.left,f=f.right+l.width-this.anchorMargin.left;l=0<t-b.width;b=0<f-b.width;var u=this.hasBit(a,g.CornerBit.FLIP_RTL)&&this.hasBit(a,g.CornerBit.RIGHT);if(b&&u&&h||!l&&u)a=this.unsetBit(a,g.CornerBit.RIGHT);else if(l&&p&&h||l&&!p&&k||!b&&t>=f)a=this.setBit(a,g.CornerBit.RIGHT);return a};d.prototype.getMenuSurfaceMaxHeight=function(a){if(0<this.maxHeight)return this.maxHeight;var b= 1041this.measurements.viewportDistance,f=this.hasBit(a,g.CornerBit.BOTTOM);a=this.hasBit(this.anchorCorner,g.CornerBit.BOTTOM);var l=d.numbers.MARGIN_TO_EDGE;f?(b=b.top+this.anchorMargin.top-l,a||(b+=this.measurements.anchorSize.height)):(b=b.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-l,a&&(b-=this.measurements.anchorSize.height));return b};d.prototype.getHorizontalOriginOffset=function(a){var b=this.measurements.anchorSize;a=this.hasBit(a,g.CornerBit.RIGHT);var f=this.hasBit(this.anchorCorner, 1042g.CornerBit.RIGHT);return a?(b=f?b.width-this.anchorMargin.left:this.anchorMargin.right,this.isHoistedElement||this.isFixedPosition?b-(this.measurements.viewportSize.width-this.measurements.bodySize.width):b):f?b.width-this.anchorMargin.right:this.anchorMargin.left};d.prototype.getVerticalOriginOffset=function(a){var b=this.measurements.anchorSize;a=this.hasBit(a,g.CornerBit.BOTTOM);var f=this.hasBit(this.anchorCorner,g.CornerBit.BOTTOM);return a?f?b.height-this.anchorMargin.top:-this.anchorMargin.bottom: 1043f?b.height+this.anchorMargin.bottom:this.anchorMargin.top};d.prototype.adjustPositionForHoistedElement=function(a){var b,f=this.measurements,l=f.windowScroll,k=f.viewportDistance,h=f.surfaceSize;f=f.viewportSize;var p=Object.keys(a);try{for(var t=m(p),u=t.next();!u.done;u=t.next()){var z=u.value,C=a[z]||0;!this.isHorizontallyCenteredOnViewport||"left"!==z&&"right"!==z?(C+=k[z],this.isFixedPosition||(C="top"===z?C+l.y:"bottom"===z?C-l.y:"left"===z?C+l.x:C-l.x),a[z]=C):a[z]=(f.width-h.width)/2}}catch(x){var B= 1044{error:x}}finally{try{u&&!u.done&&(b=t.return)&&b.call(t)}finally{if(B)throw B.error;}}};d.prototype.maybeRestoreFocus=function(){var a=this,b=this.adapter.isFocused(),f=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(b||f)&&setTimeout(function(){a.adapter.restoreFocus()},g.numbers.TOUCH_EVENT_WAIT_MS)};d.prototype.hasBit=function(a,b){return!!(a&b)};d.prototype.setBit=function(a,b){return a|b};d.prototype.unsetBit=function(a,b){return a^b};d.prototype.isFinite= 1045function(a){return"number"===typeof a&&isFinite(a)};return d}(r.MDCFoundation);e.MDCMenuSurfaceFoundation=n;e.default=n},
1045"./packages/mdc-menu-surface/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q, 1046g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-menu-surface/adapter.ts"),e);r(n("./packages/mdc-menu-surface/component.ts"),e);r(n("./packages/mdc-menu-surface/constants.ts"),e);r(n("./packages/mdc-menu-surface/foundation.ts"),e);r(n("./packages/mdc-menu-surface/types.ts"),e)},
1046"./packages/mdc-menu-surface/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1046"./packages/mdc-menu/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1047"./packages/mdc-menu/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var l=function(k,h){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,t){p.__proto__=t}||function(p,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(p[u]=t[u])};return l(k,h)};return function(k,h){function p(){this.constructor=k}if("function"!==typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");l(k,h);k.prototype=null===h?Object.create(h): 1048(p.prototype=h.prototype,new p)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCMenu=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-dom/ponyfill.ts"),m=n("./packages/mdc-list/component.ts"),g=n("./packages/mdc-list/constants.ts"),c=n("./packages/mdc-list/foundation.ts"),d=n("./packages/mdc-menu-surface/component.ts"),a=n("./packages/mdc-menu-surface/foundation.ts"),b=n("./packages/mdc-menu/constants.ts"),f=n("./packages/mdc-menu/foundation.ts");n=function(l){function k(){return null!== 1049l&&l.apply(this,arguments)||this}v(k,l);k.attachTo=function(h){return new k(h)};k.prototype.initialize=function(h,p){void 0===h&&(h=function(t){return new d.MDCMenuSurface(t)});void 0===p&&(p=function(t){return new m.MDCList(t)});this.menuSurfaceFactory=h;this.listFactory=p};k.prototype.initialSyncWithDOM=function(){var h=this;this.menuSurface=this.menuSurfaceFactory(this.root);var p=this.root.querySelector(b.strings.LIST_SELECTOR);p?(this.list=this.listFactory(p),this.list.wrapFocus=!0):this.list= 1050null;this.handleKeydown=function(t){h.foundation.handleKeydown(t)};this.handleItemAction=function(t){h.foundation.handleItemAction(h.items[t.detail.index])};this.handleMenuSurfaceOpened=function(){h.foundation.handleMenuSurfaceOpened()};this.menuSurface.listen(a.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,this.handleMenuSurfaceOpened);this.listen("keydown",this.handleKeydown);this.listen(c.MDCListFoundation.strings.ACTION_EVENT,this.handleItemAction)};k.prototype.destroy=function(){this.list&&this.list.destroy(); 1051this.menuSurface.destroy();this.menuSurface.unlisten(a.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,this.handleMenuSurfaceOpened);this.unlisten("keydown",this.handleKeydown);this.unlisten(c.MDCListFoundation.strings.ACTION_EVENT,this.handleItemAction);l.prototype.destroy.call(this)};Object.defineProperty(k.prototype,"open",{get:function(){return this.menuSurface.isOpen()},set:function(h){h?this.menuSurface.open():this.menuSurface.close()},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype, 1052"wrapFocus",{get:function(){return this.list?this.list.wrapFocus:!1},set:function(h){this.list&&(this.list.wrapFocus=h)},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"hasTypeahead",{set:function(h){this.list&&(this.list.hasTypeahead=h)},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"typeaheadInProgress",{get:function(){return this.list?this.list.typeaheadInProgress:!1},enumerable:!1,configurable:!0});k.prototype.typeaheadMatchItem=function(h,p){return this.list? 1053this.list.typeaheadMatchItem(h,p):-1};k.prototype.layout=function(){this.list&&this.list.layout()};Object.defineProperty(k.prototype,"items",{get:function(){return this.list?this.list.listElements:[]},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"singleSelection",{set:function(h){this.list&&(this.list.singleSelection=h)},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"selectedIndex",{get:function(){return this.list?this.list.selectedIndex:g.numbers.UNSET_INDEX}, 1054set:function(h){this.list&&(this.list.selectedIndex=h)},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"quickOpen",{set:function(h){this.menuSurface.quickOpen=h},enumerable:!1,configurable:!0});k.prototype.setDefaultFocusState=function(h){this.foundation.setDefaultFocusState(h)};k.prototype.setAnchorCorner=function(h){this.menuSurface.setAnchorCorner(h)};k.prototype.setAnchorMargin=function(h){this.menuSurface.setAnchorMargin(h)};k.prototype.setSelectedIndex=function(h){this.foundation.setSelectedIndex(h)}; 1055k.prototype.setEnabled=function(h,p){this.foundation.setEnabled(h,p)};k.prototype.getOptionByIndex=function(h){return h<this.items.length?this.items[h]:null};
1055k.prototype.getPrimaryTextAtIndex=function(h){return(h=this.getOptionByIndex(h))&&this.list?this.list.getPrimaryText(h)||"":""};k.prototype.setFixedPosition=function(h){this.menuSurface.setFixedPosition(h)};k.prototype.setIsHoisted=function(h){this.menuSurface.setIsHoisted(h)};k.prototype.setAbsolutePosition=function(h,p){this.menuSurface.setAbsolutePosition(h, 1056p)};k.prototype.setAnchorElement=function(h){this.menuSurface.anchorElement=h};k.prototype.getDefaultFoundation=function(){var h=this;return new f.MDCMenuFoundation({addClassToElementAtIndex:function(p,t){h.items[p].classList.add(t)},removeClassFromElementAtIndex:function(p,t){h.items[p].classList.remove(t)},addAttributeToElementAtIndex:function(p,t,u){h.items[p].setAttribute(t,u)},removeAttributeFromElementAtIndex:function(p,t){h.items[p].removeAttribute(t)},getAttributeFromElementAtIndex:function(p, 1057t){return h.items[p].getAttribute(t)},elementContainsClass:function(p,t){return p.classList.contains(t)},closeSurface:function(p){h.menuSurface.close(p)},getElementIndex:function(p){return h.items.indexOf(p)},notifySelected:function(p){h.emit(b.strings.SELECTED_EVENT,{index:p.index,item:h.items[p.index]})},getMenuItemCount:function(){return h.items.length},focusItemAtIndex:function(p){h.items[p].focus()},focusListRoot:function(){h.root.querySelector(b.strings.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(p){return!!q.closest(h.items[p], 1058"."+b.cssClasses.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(p){return(p=q.closest(h.items[p],"."+b.cssClasses.MENU_SELECTION_GROUP).querySelector("."+b.cssClasses.MENU_SELECTED_LIST_ITEM))?h.items.indexOf(p):-1}})};return k}(r.MDCComponent);e.MDCMenu=n},
1058"./packages/mdc-menu/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.DefaultFocusState=e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group", 1059ROOT:"mdc-menu"};e.strings={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type\x3d"checkbox"]',LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",SELECTED_EVENT:"MDCMenu:selected",SKIP_RESTORE_FOCUS:"data-menu-item-skip-restore-focus"};e.numbers={FOCUS_ROOT_INDEX:-1};var v;r=v||(v={});r[r.NONE=0]="NONE";r[r.LIST_ROOT=1]="LIST_ROOT";r[r.FIRST_ITEM=2]="FIRST_ITEM";r[r.LAST_ITEM=3]="LAST_ITEM";e.DefaultFocusState=v},
1059"./packages/mdc-menu/foundation.ts":function(r, 1060e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(), 1061q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCMenuFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-list/constants.ts"),g=n("./packages/mdc-menu-surface/foundation.ts"),c=n("./packages/mdc-menu/constants.ts");n=function(d){function a(b){b= 1062d.call(this,q(q({},a.defaultAdapter),b))||this;b.closeAnimationEndTimerId=0;b.defaultFocusState=c.DefaultFocusState.LIST_ROOT;b.selectedIndex=-1;return b}v(a,d);Object.defineProperty(a,"cssClasses",{get:function(){return c.cssClasse
1062s},enumerable:!1,configurable:!0});Object.defineProperty(a,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0});Object.defineProperty(a,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter", 1063{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},getAttributeFromElementAtIndex:function(){return null},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1}, 1064isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0});a.prototype.destroy=function(){this.closeAnimationEndTimerId&&clearTimeout(this.closeAnimationEndTimerId);this.adapter.closeSurface()};a.prototype.handleKeydown=function(b){var f=b.keyCode;"Tab"!==b.key&&9!==f||this.adapter.closeSurface(!0)};a.prototype.handleItemAction=function(b){var f=this,l=this.adapter.getElementIndex(b);0>l||(this.adapter.notifySelected({index:l}),l="true"===this.adapter.getAttributeFromElementAtIndex(l, 1065c.strings.SKIP_RESTORE_FOCUS),this.adapter.closeSurface(l),this.closeAnimationEndTimerId=setTimeout(function(){var k=f.adapter.getElementIndex(b);0<=k&&f.adapter.isSelectableItemAtIndex(k)&&f.setSelectedIndex(k)},g.MDCMenuSurfaceFoundation.numbers.TRANSITION_CLOSE_DURATION))};a.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState){case c.DefaultFocusState.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case c.DefaultFocusState.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()- 10661);break;case c.DefaultFocusState.NONE:break;default:this.adapter.focusListRoot()}};a.prototype.setDefaultFocusState=function(b){this.defaultFocusState=b};a.prototype.getSelectedIndex=function(){return this.selectedIndex};a.prototype.setSelectedIndex=function(b){this.validatedIndex(b);if(!this.adapter.isSelectableItemAtIndex(b))throw Error("MDCMenuFoundation: No selection group at specified index.");var f=this.adapter.getSelectedSiblingOfItemAtIndex(b);0<=f&&(this.adapter.removeAttributeFromElementAtIndex(f, 1067c.strings.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(f,c.cssClasse
1067s.MENU_SELECTED_LIST_ITEM));this.adapter.addClassToElementAtIndex(b,c.cssClasses.MENU_SELECTED_LIST_ITEM);this.adapter.addAttributeToElementAtIndex(b,c.strings.ARIA_CHECKED_ATTR,"true");this.selectedIndex=b};a.prototype.setEnabled=function(b,f){this.validatedIndex(b);f?(this.adapter.removeClassFromElementAtIndex(b,m.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(b,c.strings.ARIA_DISABLED_ATTR, 1068"false")):(this.adapter.addClassToElementAtIndex(b,m.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(b,c.strings.ARIA_DISABLED_ATTR,"true"))};a.prototype.validatedIndex=function(b){var f=this.adapter.getMenuItemCount();if(!(0<=b&&b<f))throw Error("MDCMenuFoundation: No list item at specified index.");};return a}(r.MDCFoundation);e.MDCMenuFoundation=n;e.default=n},
1068"./packages/mdc-menu/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m, 1069g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.Corner=void 0;var q=n("./packages/mdc-menu-surface/constants.ts");Object.defineProperty(e,"Corner",{enumerable:!0,get:function(){return q.Corner}});r(n("./packages/mdc-menu/adapter.ts"), 1070e);r(n("./packages/mdc-menu/component.ts"),e);r(n("./packages/mdc-menu/constants.ts"),e);r(n("./packages/mdc-menu/foundation.ts"),e);r(n("./packages/mdc-menu/types.ts"),e)},
1070"./packages/mdc-menu/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1070"./packages/mdc-notched-outline/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1070"./packages/mdc-notched-outline/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c= 1071Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCNotchedOutline= 1072void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-floating-label/foundation.ts"),m=n("./packages/mdc-notched-outline/constants.ts"),g=n("./packages/mdc-notched-outline/foundation.ts");n=function(c){function d(){return null!==c&&c.apply(this,arguments)||this}v(d,c);d.attachTo=function(a){return new d(a)};d.prototype.initialSyncWithDOM=function(){this.notchElement=this.root.querySelector(m.strings.NOTCH_ELEMENT_SELECTOR);var a=this.root.querySelector("."+q.MDCFloatingLabelFoundation.cssClasses.ROOT); 1073a?(a.style.transitionDuration="0s",this.root.classList.add(m.cssClasses.OUTLINE_UPGRADED),requestAnimationFrame(function(){a.style.transitionDuration=""})):this.root.classList.add(m.cssClasses.NO_LABEL)};d.prototype.notch=function(a){this.foundation.notch(a)};d.prototype.closeNotch=function(){this.foundation.closeNotch()};d.prototype.getDefaultFoundation=function(){var a=this;return new g.MDCNotchedOutlineFoundation({addClass:function(b){return a.root.classList.add(b)},removeClass:function(b){return a.root.classList.remove(b)}, 1074setNotchWidthProperty:function(b){a.notchElement.style.setProperty("width",b+"px")},removeNotchWidthProperty:function(){a.notchElement.style.removeProperty("width")}})};return d}(r.MDCComponent);e.MDCNotchedOutline=n},
1074"./packages/mdc-notched-outline/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.numbers=e.cssClasses=void 0;e.strings={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"};e.numbers={NOTCH_ELEMENT_PADDING:8};e.cssClasses={NO_LABEL:"mdc-notched-outline--no-label", 1075OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"}},
1075"./packages/mdc-notched-outline/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+ 1076String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCNotchedOutlineFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-notched-outline/constants.ts"); 1077n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"numbers",{get:function(){return m.numbers},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){}, 1078setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0});c.prototype.notch=function(d){var a=c.cssClasses.OUTLINE_NOTCHED;0<d&&(d+=m.numbers.NOTCH_ELEMENT_PADDING);this.adapter.setNotchWidthProperty(d);this.adapter.addClass(a)};c.prototype.closeNotch=function(){this.adapter.removeClass(c.cssClasses.OUTLINE_NOTCHED);this.adapter.removeNotchWidthProperty()};return c}(r.MDCFoundation);e.MDCNotchedOutlineFoundation=n;e.default=n},
1078"./packages/mdc-notched-outline/index.ts":function(r, 1079e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-notched-outline/adapter.ts"),e);r(n("./packages/mdc-notched-outline/component.ts"),e);r(n("./packages/mdc-notched-outline/constants.ts"), 1080e);r(n("./packages/mdc-notched-outline/foundation.ts"),e)},
1080"./packages/mdc-radio/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1080"./packages/mdc-radio/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,k){l.__proto__=k}||function(l,k){for(var h in k)Object.prototype.hasOwnProperty.call(k,h)&&(l[h]=k[h])};return a(b,f)};return function(b,f){function l(){this.constructor= 1081b}if("function"!==typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");a(b,f);b.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),q=this&&this.__assign||function(){q=Object.assign||function(a){for(var b,f=1,l=arguments.length;f<l;f++){b=arguments[f];for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(a[k]=b[k])}return a};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCRadio=void 0; 1082r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-dom/events.ts"),g=n("./packages/mdc-ripple/component.ts"),c=n("./packages/mdc-ripple/foundation.ts"),d=n("./packages/mdc-radio/foundation.ts");n=function(a){function b(){var f=null!==a&&a.apply(this,arguments)||this;f.rippleSurface=f.createRipple();return f}v(b,a);b.attachTo=function(f){return new b(f)};Object.defineProperty(b.prototype,"checked",{get:function(){return this.nativeControl.checked},set:function(f){this.nativeControl.checked= 1083f},enumerable:!1,configurable:!0});Object.defineProperty(b.prototype,"disabled",{get:function(){return this.nativeControl.disabled},set:function(f){this.foundation.setDisabled(f)},enumerable:!1,configurable:!0});Object.defineProperty(b.prototype,"value",{get:function(){return this.nativeControl.value},set:function(f){this.nativeControl.value=f},enumerable:!1,configurable:!0});Object.defineProperty(b.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0});b.prototype.destroy= 1084function(){this.rippleSurface.destroy();a.prototype.destroy.call(this)};b.prototype.getDefaultFoundation=function(){var f=this;return new d.MDCRadioFoundation({addClass:function(l){return f.root.classList.add(l)},removeClass:function(l){return f.root.classList.remove(l)},setNativeControlDisabled:function(l){return f.nativeControl.disabled=l}})};b.prototype.createRipple=function(){var f=this,l=q(q({},g.MDCRipple.createAdapter(this)),{registerInteractionHandler:function(k,h){f.nativeControl.addEventListener(k, 1085h,m.applyPassive())},deregisterInteractionHandler:function(k,h){f.nativeControl.removeEventListener(k,h,m.applyPassive())},isSurfaceActive:function(){return!1},isUnbounded:function(){return!0}});return new g.MDCRipple(this.root,new c.MDCRippleFoundation(l))};Object.defineProperty(b.prototype,"nativeControl",{get:function(){var f=d.MDCRadioFoundation.strings.NATIVE_CONTROL_SELECTOR,l=this.root.querySelector(f);if(!l)throw Error("Radio component requires a "+f+" element");return l},enumerable:!1,configurable:!0}); 1086return b}(r.MDCComponent);e.MDCRadio=n},
1086"./packages/mdc-radio/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=e.strings=void 0;e.strings={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"};e.cssClasses={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"}},
1086"./packages/mdc-radio/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a, 1087b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c, 1088b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCRadioFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-radio/constants.ts");n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0}); 1089Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0});c.prototype.setDisabled=function(d){var a=c.cssClasses.DISABLED;this.adapter.setNativeControlDisabled(d);d?this.adapter.addClass(a):this.adapter.removeClass(a)};return c}(r.MDCFoundation);e.MDCRadioFoundation=n;e.default=n},
1089"./packages/mdc-radio/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create? 1090function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-radio/adapter.ts"),e);r(n("./packages/mdc-radio/component.ts"),e);r(n("./packages/mdc-radio/constants.ts"),e);r(n("./packages/mdc-radio/foundation.ts"), 1091e)},
1091"./packages/mdc-ripple/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1091"./packages/mdc-ripple/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var f=function(l,k){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var t in p)Object.prototype.hasOwnProperty.call(p,t)&&(h[t]=p[t])};return f(l,k)};return function(l,k){function h(){this.constructor=l}if("function"!==typeof k&&null!==k)throw new TypeError("Class extends value "+ 1092String(k)+" is not a constructor or null");f(l,k);l.prototype=null===k?Object.create(k):(h.prototype=k.prototype,new h)}}(),q=this&&this.__createBinding||(Object.create?function(f,l,k,h){void 0===h&&(h=k);Object.defineProperty(f,h,{enumerable:!0,get:function(){return l[k]}})}:function(f,l,k,h){void 0===h&&(h=k);f[h]=l[k]}),m=this&&this.__setModuleDefault||(Object.create?function(f,l){Object.defineProperty(f,"default",{enumerable:!0,value:l})}:function(f,l){f["default"]=l});r=this&&this.__importStar|| 1093function(f){if(f&&f.__esModule)return f;var l={};if(null!=f)for(var k in f)"default"!==k&&Object.prototype.hasOwnProperty.call(f,k)&&q(l,f,k);m(l,f);return l};Object.defineProperty(e,"__esModule",{value:!0});e.MDCRipple=void 0;var g=n("./packages/mdc-base/component.ts"),c=n("./packages/mdc-dom/events.ts"),d=n("./packages/mdc-dom/ponyfill.ts"),a=n("./packages/mdc-ripple/foundation.ts"),b=r(n("./packages/mdc-ripple/util.ts"));n=function(f){function l(){var k=null!==f&&f.apply(this,arguments)||this; 1094k.disabled=!1;return k}v(l,f);l.attachTo=function(k,h){void 0===h&&(h={isUnbounded:void 0});k=new l(k);void 0!==h.isUnbounded&&(k.unbounded=h.isUnbounded);return k};l.createAdapter=function(k){return{addClass:function(h){return k.root.classList.add(h)},browserSupportsCssVars:function(){return b.supportsCssVariables(window)},computeBoundingRect:function(){return k.root.getBoundingClientRect()},containsEventTarget:function(h){return k.root.contains(h)},deregisterDocumentInteractionHandler:function(h, 1095p){return document.documentElement.removeEventListener(h,p,c.applyPassive())},deregisterInteractionHandler:function(h,p){return k.root.removeEventListener(h,p,c.applyPassive())},deregisterResizeHandler:function(h){return window.removeEventListener("resize",h)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return d.matches(k.root,":active")},isSurfaceDisabled:function(){return!!k.disabled},isUnbounded:function(){return!!k.unbounded},registerDocumentInteractionHandler:function(h, 1096p){return document.documentElement.addEventListener(h,p,c.applyPassive())},registerInteractionHandler:function(h,p){return k.root.addEventListener(h,p,c.applyPassive())},registerResizeHandler:function(h){return window.addEventListener("resize",h)},removeClass:function(h){return k.root.classList.remove(h)},updateCssVariable:function(h,p){return k.root.style.setProperty(h,p)}}};Object.defineProperty(l.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(k){this.isUnbounded=!!k; 1097this.setUnbounded()},enumerable:!1,configurable:!0});l.prototype.activate=function(){this.foundation.activate()};l.prototype.deactivate=function(){this.foundation.deactivate()};l.prototype.layout=function(){this.foundation.layout()};l.prototype.getDefaultFoundation=function(){return new a.MDCRippleFoundation(l.createAdapter(this))};l.prototype.initialSyncWithDOM=function(){this.isUnbounded="mdcRippleIsUnbounded"in this.root.dataset};l.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)}; 1098return l}(g.MDCComponent);e.MDCRipple=n},
1098"./packages/mdc-ripple/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"};e.strings={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size", 1099VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"};e.numbers={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},
1099"./packages/mdc-ripple/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var f=function(l,k){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var t in p)Object.prototype.hasOwnProperty.call(p, 1100t)&&(h[t]=p[t])};return f(l,k)};return function(l,k){function h(){this.constructor=l}if("function"!==typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");f(l,k);l.prototype=null===k?Object.create(k):(h.prototype=k.prototype,new h)}}(),q=this&&this.__assign||function(){q=Object.assign||function(f){for(var l,k=1,h=arguments.length;k<h;k++){l=arguments[k];for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(f[p]=l[p])}return f};return q.apply(this, 1101arguments)},m=this&&this.__values||function(f){var l="function"===typeof Symbol&&Symbol.iterator,k=l&&f[l],h=0;if(k)return k.call(f);if(f&&"number"===typeof f.length)return{next:function(){f&&h>=f.length&&(f=void 0);return{value:f&&f[h++],done:!f}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCRippleFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-ripple/constants.ts"),c= 1102n("./packages/mdc-ripple/util.ts"),d=["touchstart","pointerdown","mousedown","keydown"],a=["touchend","pointerup","mouseup","contextmenu"],b=[];n=function(f){function l(k){var h=f.call(this,q(q({},l.defaultAdapter),k))||this;h.activationAnimationHasEnded=!1;h.activationTimer=0;h.fgDeactivationRemovalTimer=0;h.fgScale="0";h.frame={width:0,height:0};h.initialSize=0;h.layoutFrame=0;h.maxRadius=0;h.unboundedCoords={left:0,top:0};h.activationState=h.defaultActivationState();h.activationTimerCallback=function(){h.activationAnimationHasEnded= 1103!0;h.runDeactivationUXLogicIfReady()};h.activateHandler=function(p){h.activateImpl(p)};h.deactivateHandler=function(){h.deactivateImpl()};h.focusHandler=function(){h.handleFocus()};h.blurHandler=function(){h.handleBlur()};h.resizeHandler=function(){h.layout()};return h}v(l,f);Object.defineProperty(l,"cssClasses",{get:function(){return g.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(l,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(l, 1104"numbers",{get:function(){return g.numbers},enumerable:!1,configurable:!0});Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0, 1105y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0});l.prototype.init=function(){var k=this,h=this.supportsPressRipple();this.registerRootHandlers(h);if(h){h=l.cssClasses;var p=h.ROOT,t=h.UNBOUNDED;requestAnimationFrame(function(){k.adapter.addClass(p); 1106k.adapter.isUnbounded()&&(k.adapter.addClass(t),k.layoutInternal())})}};l.prototype.destroy=function(){var k=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(l.cssClasses.FG_ACTIVATION));this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(l.cssClasses.FG_DEACTIVATION));var h=l.cssClasses,p=h.ROOT,t=h.UNBOUNDED;requestAnimationFrame(function(){k.adapter.removeClass(p); 1107k.adapter.removeClass(t);k.removeCssVars()})}this.deregisterRootHandlers();this.deregisterDeactivationHandlers()};l.prototype.activate=function(k){this.activateImpl(k)};l.prototype.deactivate=function(){this.deactivateImpl()};l.prototype.layout=function(){var k=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame);this.layoutFrame=requestAnimationFrame(function(){k.layoutInternal();k.layoutFrame=0})};
1107l.prototype.setUnbounded=function(k){var h=l.cssClasses.UNBOUNDED;k?this.adapter.addClass(h): 1108this.adapter.removeClass(h)};l.prototype.handleFocus=function(){var k=this;requestAnimationFrame(function(){return k.adapter.addClass(l.cssClasses.BG_FOCUSED)})};l.prototype.handleBlur=function(){var k=this;requestAnimationFrame(function(){return k.adapter.removeClass(l.cssClasses.BG_FOCUSED)})};l.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()};l.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1, 1109isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}};l.prototype.registerRootHandlers=function(k){var h;if(k){try{for(var p=m(d),t=p.next();!t.done;t=p.next())this.adapter.registerInteractionHandler(t.value,this.activateHandler)}catch(z){var u={error:z}}finally{try{t&&!t.done&&(h=p.return)&&h.call(p)}finally{if(u)throw u.error;}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler);this.adapter.registerInteractionHandler("blur", 1110this.blurHandler)};l.prototype.registerDeactivationHandlers=function(k){var h;if("keydown"===k.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var p=m(a),t=p.next();!t.done;t=p.next())this.adapter.registerDocumentInteractionHandler(t.value,this.deactivateHandler)}catch(z){var u={error:z}}finally{try{t&&!t.done&&(h=p.return)&&h.call(p)}finally{if(u)throw u.error;}}};l.prototype.deregisterRootHandlers=function(){var k;
1110try{for(var h=m(d),p=h.next();!p.done;p= 1111h.next())this.adapter.deregisterInteractionHandler(p.value,this.activateHandler)}catch(u){var t={error:u}}finally{try{p&&!p.done&&(k=h.return)&&k.call(h)}finally{if(t)throw t.error;}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler);this.adapter.deregisterInteractionHandler("blur",this.blurHandler);this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)};l.prototype.deregisterDeactivationHandlers=function(){var k;this.adapter.deregisterInteractionHandler("keyup", 1112this.deactivateHandler);try{for(var h=m(a),p=h.next();!p.done;p=h.next())this.adapter.deregisterDocumentInteractionHandler(p.value,this.deactivateHandler)}catch(u){var t={error:u}}finally{try{p&&!p.done&&(k=h.return)&&k.call(h)}finally{if(t)throw t.error;}}};l.prototype.removeCssVars=function(){var k=this,h=l.strings;Object.keys(h).forEach(function(p){0===p.indexOf("VAR_")&&k.adapter.updateCssVariable(h[p],null)})};l.prototype.activateImpl=function(k){var h=this;if(!this.adapter.isSurfaceDisabled()){var p= 1113this.activationState;if(!p.isActivated){var t=this.previousActivationEvent;t&&void 0!==k&&t.type!==k.type||(p.isActivated=!0,p.isProgrammatic=void 0===k,p.activationEvent=k,p.wasActivatedByPointer=p.isProgrammatic?!1:void 0!==k&&("mousedown"===k.type||"touchstart"===k.type||"pointerdown"===k.type),void 0!==k&&0<b.length&&b.some(function(u){return h.adapter.containsEventTarget(u)})?this.resetActivationState():(void 0!==k&&(b.push(k.target),this.registerDeactivationHandlers(k)),p.wasElementMadeActive= 1114this.checkElementMadeActive(k),p.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){b=[];p.wasElementMadeActive||void 0===k||" "!==k.key&&32!==k.keyCode||(p.wasElementMadeActive=h.checkElementMadeActive(k),p.wasElementMadeActive&&h.animateActivation());p.wasElementMadeActive||(h.activationState=h.defaultActivationState())})))}}};l.prototype.checkElementMadeActive=function(k){return void 0!==k&&"keydown"===k.type?this.adapter.isSurfaceActive():!0};l.prototype.animateActivation= 1115function(){var k=this,h=l.strings,p=h.VAR_FG_TRANSLATE_START;h=h.VAR_FG_TRANSLATE_END;var t=l.cssClasses,u=t.FG_DEACTIVATION;t=t.FG_ACTIVATION;var z=l.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var C="",B="";this.adapter.isUnbounded()||(B=this.getFgTranslationCoordinates(),C=B.startPoint,B=B.endPoint,C=C.x+"px, "+C.y+"px",B=B.x+"px, "+B.y+"px");this.adapter.updateCssVariable(p,C);this.adapter.updateCssVariable(h,B);clearTimeout(this.activationTimer);clearTimeout(this.fgDeactivationRemovalTimer); 1116this.rmBoundedActivationClasses();this.adapter.removeClass(u);this.adapter.computeBoundingRect();this.adapter.addClass(t);this.activationTimer=setTimeout(function(){k.activationTimerCallback()},z)};l.prototype.getFgTranslationCoordinates=function(){var k=this.activationState,h=k.activationEvent;k=k.wasActivatedByPointer?c.getNormalizedEventCoords(h,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2};k={x:k.x-this.initialSize/2,y:k.y- 1117this.initialSize/2};return{startPoint:k,endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}};l.prototype.runDeactivationUXLogicIfReady=function(){var k=this,h=l.cssClasses.FG_DEACTIVATION,p=this.activationState,t=p.isActivated;!p.hasDeactivationUXRun&&t||!this.activationAnimationHasEnded||(this.rmBoundedActivationClasses(),this.adapter.addClass(h),this.fgDeactivationRemovalTimer=setTimeout(function(){k.adapter.removeClass(h)},g.numbers.FG_DEACTIVATION_MS))}; 1118l.prototype.rmBoundedActivationClasses=function(){this.adapter.removeClass(l.cssClasses.FG_ACTIVATION);this.activationAnimationHasEnded=!1;this.adapter.computeBoundingRect()};l.prototype.resetActivationState=function(){var k=this;this.previousActivationEvent=this.activationState.activationEvent;this.activationState=this.defaultActivationState();setTimeout(function(){return k.previousActivationEvent=void 0},l.numbers.TAP_DELAY_MS)};l.prototype.deactivateImpl=function(){var k=this,h=this.activationState; 1119if(h.isActivated){var p=q({},h);h.isProgrammatic?(requestAnimationFrame(function(){k.animateDeactivation(p)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){k.activationState.hasDeactivationUXRun=!0;k.animateDeactivation(p);k.resetActivationState()}))}};l.prototype.animateDeactivation=function(k){var h=k.wasElementMadeActive;(k.wasActivatedByPointer||h)&&this.runDeactivationUXLogicIfReady()};l.prototype.layoutInternal=function(){this.frame=this.adapter.computeBoundingRect
1119(); 1120var k=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?k:Math.sqrt(Math.pow(this.frame.width,2)+Math.pow(this.frame.height,2))+l.numbers.PADDING;k=Math.floor(k*l.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&0!==k%2?this.initialSize=k-1:this.initialSize=k;this.fgScale=""+this.maxRadius/this.initialSize;this.updateLayoutCssVars()};l.prototype.updateLayoutCssVars=function(){var k=l.strings,h=k.VAR_LEFT,p=k.VAR_TOP,t=k.VAR_FG_SCALE;this.adapter.updateCssVariable(k.VAR_FG_SIZE, 1121this.initialSize+"px");this.adapter.updateCssVariable(t,this.fgScale);this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(h,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(p,this.unboundedCoords.top+"px"))};return l}(r.MDCFoundation);e.MDCRippleFoundation=n;e.default=n},
1121"./packages/mdc-ripple/index.ts":function(r,e,n){var v=this&&this.__createBinding|| 1122(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}:function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault||(Object.create?function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c}),m=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var c={};if(null!=g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g,d)&&v(c,g,d);q(c,g);return c}; 1123r=this&&this.__exportStar||function(g,c){for(var d in g)"default"===d||Object.prototype.hasOwnProperty.call(c,d)||v(c,g,d)};Object.defineProperty(e,"__esModule",{value:!0});e.util=void 0;m=m(n("./packages/mdc-ripple/util.ts"));e.util=m;r(n("./packages/mdc-ripple/adapter.ts"),e);r(n("./packages/mdc-ripple/component.ts"),e);r(n("./packages/mdc-ripple/constants.ts"),e);r(n("./packages/mdc-ripple/foundation.ts"),e);r(n("./packages/mdc-ripple/types.ts"),e)},
1123"./packages/mdc-ripple/types.ts":function(r, 1124e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1124"./packages/mdc-ripple/util.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.getNormalizedEventCoords=e.supportsCssVariables=void 0;var v;e.supportsCssVariables=function(q,m){void 0===m&&(m=!1);var g=q.CSS;if("boolean"===typeof v&&!m)return v;if(!g||"function"!==typeof g.supports)return!1;q=g.supports("--css-vars","yes");g=g.supports("(--css-vars: yes)")&&g.supports("color","#00000000");q=q||g;m||(v=q);return q};e.getNormalizedEventCoords= 1125function(q,m,g){if(!q)return{x:0,y:0};var c=m.x+g.left;m=m.y+g.top;"touchstart"===q.type?(c=q.changedTouches[0].pageX-c,q=q.changedTouches[0].pageY-m):(c=q.pageX-c,q=q.pageY-m);return{x:c,y:q}}},
1125"./packages/mdc-segmented-button/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"=== 1126g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-segmented-button/segmented-button/index.ts"),e);r(n("./packages/mdc-segmented-button/segment/index.ts"),e);r(n("./packages/mdc-segmented-button/types.ts"),e)},
1126"./packages/mdc-segmented-button/segment/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1126"./packages/mdc-segmented-button/segment/component.ts":function(r,e,n){var v=this&&this.__extends|| 1127function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,k){l.__proto__=k}||function(l,k){for(var h in k)Object.prototype.hasOwnProperty.call(k,h)&&(l[h]=k[h])};return a(b,f)};return function(b,f){function l(){this.constructor=b}if("function"!==typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");a(b,f);b.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),q=this&&this.__assign||function(){q= 1128Object.assign||function(a){for(var b,f=1,l=arguments.length;f<l;f++){b=arguments[f];for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(a[k]=b[k])}return a};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSegmentedButtonSegment=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-ripple/component.ts"),g=n("./packages/mdc-ripple/foundation.ts"),c=n("./packages/mdc-segmented-button/segment/constants.ts"),d=n("./packages/mdc-segmented-button/segment/foundation.ts"); 1129n=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}v(b,a);Object.defineProperty(b.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0});b.attachTo=function(f){return new b(f)};b.prototype.initialize=function(f){var l=this;void 0===f&&(f=function(h,p){return new m.MDCRipple(h,p)});var k=q(q({},m.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return l.foundation.getDimensions()}});this.rippleComponent=f(this.root,new g.MDCRippleFoundation(k))}; 1130b.prototype.initialSyncWithDOM=function(){var f=this;this.handleClick=function(){f.foundation.handleClick()};this.listen(c.events.CLICK,this.handleClick)};b.prototype.destroy=function(){this.ripple.destroy();this.unlisten(c.events.CLICK,this.handleClick);a.prototype.destroy.call(this)};b.prototype.getDefaultFoundation=function(){var f=this;return new d.MDCSegmentedButtonSegmentFoundation({isSingleSelect:function(){return f.isSingleSelect},getAttr:function(l){return f.root.getAttribute(l)},setAttr:function(l, 1131k){f.root.setAttribute(l,k)},addClass:function(l){f.root.classList.add(l)},removeClass:function(l){f.root.classList.remove(l)},hasClass:function(l){return f.root.classList.contains(l)},notifySelectedChange:function(l){f.emit(c.events.SELECTED,{index:f.index,selected:l,segmentId:f.getSegmentId()},!0)},getRootBoundingClientRect:function(){return f.root.getBoundingClientRect()}})};b.prototype.setIndex=function(f){this.index=f};b.prototype.setIsSingleSelect=function(f){this.isSingleSelect=f};b.prototype.isSelected= 1132function(){return this.foundation.isSelected()};b.prototype.setSelected=function(){this.foundation.setSelected()};b.prototype.setUnselected=function(){this.foundation.setUnselected()};b.prototype.getSegmentId=function(){return this.foundation.getSegmentId()};return b}(r.MDCComponent);e.MDCSegmentedButtonSegment=n},
1132"./packages/mdc-segmented-button/segment/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=void 0;e.booleans={TRUE:"true",FALSE:"false"};e.attributes= 1133{ARIA_CHECKED:"aria-checked",ARIA_PRESSED:"aria-pressed",DATA_SEGMENT_ID:"data-segment-id"};e.events={CLICK:"click",SELECTED:"selected"};e.cssClasses={SELECTED:"mdc-segmented-button__segment--selected"}},
1133"./packages/mdc-segmented-button/segment/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])}; 1134return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),q=this&&this.__assign||function(){q=Object.assign||function(c){for(var d,a=1,b=arguments.length;a<b;a++){d=arguments[a];for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(c[f]=d[f])}return c};return q.apply(this,arguments)}; 1135Object.defineProperty(e,"__esModule",{value:!0});e.MDCSegmentedButtonSegmentFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-segmented-button/segment/constants.ts"),g={bottom:0,height:0,left:0,right:0,top:0,width:0};n=function(c){function d(a){return c.call(this,q(q({},d.defaultAdapter),a))||this}v(d,c);Object.defineProperty(d,"defaultAdapter",{get:function(){return{isSingleSelect:function(){return!1},getAttr:function(){return""},setAttr:function(){},addClass:function(){}, 1136removeClass:function(){},hasClass:function(){return!1},notifySelectedChange:function(){},getRootBoundingClientRect:function(){return g}}},enumerable:!1,configurable:!0});d.prototype.isSelected=function(){return this.adapter.hasClass(m.cssClasses.SELECTED)};d.prototype.setSelected=function(){this.adapter.addClass(m.cssClasses.SELECTED);this.setAriaAttr(m.booleans.TRUE)};d.prototype.setUnselected=function(){this.adapter.removeClass(m.cssClasses.SELECTED);this.setAriaAttr(m.booleans.FALSE)};d.prototype.getSegmentId= 1137function(){var a;return null!==(a=this.adapter.getAttr(m.attributes.DATA_SEGMENT_ID))&&void 0!==a?a:void 0};d.prototype.handleClick=function(){this.adapter.isSingleSelect()?this.setSelected():this.toggleSelection();this.adapter.notifySelectedChange(this.isSelected())};d.prototype.getDimensions=function(){return this.adapter.getRootBoundingClientRect()};d.prototype.toggleSelection=function(){this.isSelected()?this.setUnselected():this.setSelected()};d.prototype.setAriaAttr=function(a){this.adapter.isSingleSelect()? 1138this.adapter.setAttr(m.attributes.ARIA_CHECKED,a):this.adapter.setAttr(m.attributes.ARIA_PRESSED,a)};return d}(r.MDCFoundation);e.MDCSegmentedButtonSegmentFoundation=n},
1138"./packages/mdc-segmented-button/segment/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"=== 1139g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-segmented-button/segment/adapter.ts"),e);r(n("./packages/mdc-segmented-button/segment/foundation.ts"),e);r(n("./packages/mdc-segmented-button/segment/component.ts"),e)},
1139"./packages/mdc-segmented-button/segmented-button/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1139"./packages/mdc-segmented-button/segmented-button/component.ts":function(r,e,n){var v= 1140this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&& 1141this.__values||function(d){var a="function"===typeof Symbol&&Symbol.iterator,b=a&&d[a],f=0;if(b)return b.call(d);if(d&&"number"===typeof d.length)return{next:function(){d&&f>=d.length&&(d=void 0);return{value:d&&d[f++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSegmentedButton=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-segmented-button/segment/component.ts"),g=n("./packages/mdc-segmented-button/segmented-button/constants.ts"), 1142c=n("./packages/mdc-segmented-button/segmented-button/foundation.ts");n=function(d){function a(){return null!==d&&d.apply(this,arguments)||this}v(a,d);a.attachTo=function(b){return new a(b)};Object.defineProperty(a.prototype,"segments",{get:function(){return this.segmentsList.slice()},enumerable:!1,configurable:!0});a.prototype.initialize=function(b){void 0===b&&(b=function(f){return new m.MDCSegmentedButtonSegment(f)});this.segmentFactory=b;this.segmentsList=this.instantiateSegments(this.segmentFactory)}; 1143a.prototype.instantiateSegments=function(b){return[].slice.call(this.root.querySelectorAll(g.selectors.SEGMENT)).map(function(f){return b(f)})};a.prototype.initialSyncWithDOM=function(){var b=this;this.handleSelected=function(h){b.foundation.handleSelected(h.detail)};this.listen(g.events.SELECTED,this.handleSelected);for(var f=this.foundation.isSingleSelect(),l=0;l<this.segmentsList.length;l++){var k=this.segmentsList[l];k.setIndex(l);k.setIsSingleSelect(f)}l=this.segmentsList.filter(function(h){return h.isSelected()}); 1144if(f&&0===l.length&&0<this.segmentsList.length)throw Error("No segment selected in singleSelect mdc-segmented-button");if(f&&1<l.length)throw Error("Multiple segments selected in singleSelect mdc-segmented-button");};a.prototype.destroy=function(){var b;try{for(var f=q(this.segmentsList),l=f.next();!l.done;l=f.next())l.value.destroy()}catch(h){var k={error:h}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(k)throw k.error;}}this.unlisten(g.events.SELECTED,this.handleSelected);d.prototype.destroy.call(this)}; 1145a.prototype.getDefaultFoundation=function(){var b=this;return new c.MDCSegmentedButtonFoundation({hasClass:function(f){return b.root.classList.contains(f)},getSegments:function(){return b.mappedSegments()},selectSegment:function(f){var l=b.mappedSegments().find(function(k){return k.index===f||k.segmentId===f});l&&b.segmentsList[l.index].setSelected()},unselectSegment:function(f){var l=b.mappedSegments().find(function(k){return k.index===f||k.segmentId===f});l&&b.segmentsList[l.index].setUnselected()}, 1146notifySelectedChange:function(f){b.emit(g.events.CHANGE,f,!0)}})};a.prototype.getSelectedSegments=function(){return this.foundation.getSelectedSegments()};a.prototype.selectSegment=function(b){this.foundation.selectSegment(b)};a.prototype.unselectSegment=function(b){this.foundation.unselectSegment(b)};a.prototype.isSegmentSelected=function(b){return this.foundation.isSegmentSelected(b)};a.prototype.mappedSegments=function(){return this.segmentsList.map(function(b,f){return{index:f,selected:b.isSelected(), 1147segmentId:b.getSegmentId()}})};return a}(r.MDCComponent);e.MDCSegmentedButton=n},
1147"./packages/mdc-segmented-button/segmented-button/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=void 0;e.selectors={SEGMENT:".mdc-segmented-button__segment"};e.events={SELECTED:"selected",CHANGE:"change"};e.cssClasses={SINGLE_SELECT:"mdc-segmented-button--single-select"}},
1147"./packages/mdc-segmented-button/segmented-button/foundation.ts":function(r,e,n){var v=this&&this.__extends|| 1148function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}(),q=this&&this.__assign||function(){q= 1149Object.assign||function(c){for(var d,a=1,b=arguments.length;a<b;a++){d=arguments[a];for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(c[f]=d[f])}return c};return q.apply(this,arguments)},m=this&&this.__values||function(c){var d="function"===typeof Symbol&&Symbol.iterator,a=d&&c[d],b=0;if(a)return a.call(c);if(c&&"number"===typeof c.length)return{next:function(){c&&b>=c.length&&(c=void 0);return{value:c&&c[b++],done:!c}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined."); 1150};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSegmentedButtonFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-segmented-button/segmented-button/constants.ts");n=function(c){function d(a){return c.call(this,q(q({},d.defaultAdapter),a))||this}v(d,c);Object.defineProperty(d,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},getSegments:function(){return[]},selectSegment:function(){},unselectSegment:function(){},notifySelectedChange:function(){}}}, 1151enumerable:!1,configurable:!0});d.prototype.selectSegment=function(a){this.adapter.selectSegment(a)};d.prototype.unselectSegment=function(a){this.adapter.unselectSegment(a)};d.prototype.getSelectedSegments=function(){return this.adapter.getSegments().filter(function(a){return a.selected})};d.prototype.isSegmentSelected=function(a){return this.adapter.getSegments().some(function(b){return(b.index===a||b.segmentId===a)&&b.selected})};d.prototype.isSingleSelect=function(){return this.adapter.hasClass(g.cssClasses.SINGLE_SELECT)}; 1152d.prototype.handleSelected=function(a){this.isSingleSelect()&&this.unselectPrevSelected(a.index);this.adapter.notifySelectedChange(a)};d.prototype.unselectPrevSelected=function(a){var b;try{for(var f=m(this.getSelectedSegments()),l=f.next();!l.done;l=f.next()){var k=l.value;k.index!==a&&this.unselectSegment(k.index)}}catch(p){var h={error:p}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(h)throw h.error;}}};return d}(r.MDCFoundation);e.MDCSegmentedButtonFoundation=n},
1152"./packages/mdc-segmented-button/segmented-button/index.ts":function(r, 1153e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-segmented-button/segmented-button/adapter.ts"),e);r(n("./packages/mdc-segmented-button/segmented-button/foundation.ts"), 1154e);r(n("./packages/mdc-segmented-button/segmented-button/component.ts"),e)},
1154"./packages/mdc-segmented-button/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1154"./packages/mdc-select/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1154"./packages/mdc-select/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var B=function(x,w){B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,A){y.__proto__=A}||function(y,A){for(var D in A)Object.prototype.hasOwnProperty.call(A, 1155D)&&(y[D]=A[D])};return B(x,w)};return function(x,w){function y(){this.constructor=x}if("function"!==typeof w&&null!==w)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");B(x,w);x.prototype=null===w?Object.create(w):(y.prototype=w.prototype,new y)}}(),q=this&&this.__assign||function(){q=Object.assign||function(B){for(var x,w=1,y=arguments.length;w<y;w++){x=arguments[w];for(var A in x)Object.prototype.hasOwnProperty.call(x,A)&&(B[A]=x[A])}return B};return q.apply(this, 1156arguments)},m=this&&this.__createBinding||(Object.create?function(B,x,w,y){void 0===y&&(y=w);Object.defineProperty(B,y,{enumerable:!0,get:function(){return x[w]}})}:function(B,x,w,y){void 0===y&&(y=w);B[y]=x[w]}),g=this&&this.__setModuleDefault||(Object.create?function(B,x){Object.defineProperty(B,"default",{enumerable:!0,value:x})}:function(B,x){B["default"]=x});r=this&&this.__importStar||function(B){if(B&&B.__esModule)return B;var x={};if(null!=B)for(var w in B)"default"!==w&&Object.prototype.hasOwnProperty.call(B, 1157w)&&m(x,B,w);g(x,B);return x};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSelect=void 0;var c=n("./packages/mdc-base/component.ts"),d=n("./packages/mdc-floating-label/component.ts"),a=n("./packages/mdc-line-ripple/component.ts"),b=r(n("./packages/mdc-menu-surface/constants.ts")),f=n("./packages/mdc-menu/component.ts"),l=r(n("./packages/mdc-menu/constants.ts")),k=n("./packages/mdc-notched-outline/component.ts"),h=n("./packages/mdc-ripple/component.ts"),p=n("./packages/mdc-ripple/foundation.ts"), 1158t=n("./packages/mdc-select/constants.ts"),u=n("./packages/mdc-select/foundation.ts"),z=n("./packages/mdc-select/helper-text/component.ts"),C=n("./packages/mdc-select/icon/component.ts");n=function(B){function x(){return null!==B&&B.apply(this,arguments)||this}v(x,B);x.attachTo=function(w){return new x(w)};x.prototype.initialize=function(w,y,A,D,E,F){void 0===w&&(w=function(G){return new d.MDCFloatingLabel(G)});void 0===y&&(y=function(G){return new a.MDCLineRipple(G)});void 0===A&&(A=function(G){return new k.MDCNotchedOutline(G)}); 1159void 0===D&&(D=function(G){return new f.MDCMenu(G)});void 0===E&&(E=function(G){return new C.MDCSelectIcon(G)});void 0===F&&(F=function(G){return new z.MDCSelectHelperText(G)});this.selectAnchor=this.root.querySelector(t.strings.SELECT_ANCHOR_SELECTOR);this.selectedText=this.root.querySelector(t.strings.SELECTED_TEXT_SELECTOR);this.hiddenInput=this.root.querySelector(t.strings.HIDDEN_INPUT_SELECTOR);if(!this.selectedText)throw Error("MDCSelect: Missing required element: The following selector must be present: '"+ 1160(t.strings.SELECTED_TEXT_SELECTOR+"'"));if(this.selectAnchor.hasAttribute(t.strings.ARIA_CONTROLS)){var H=document.getElementById(this.selectAnchor.getAttribute(t.strings.ARIA_CONTROLS));H&&(this.helperText=F(H))}this.menuSetup(D);this.label=(D=this.root.querySelector(t.strings.LABEL_SELECTOR))?w(D):null;this.lineRipple=(w=this.root.querySelector(t.strings.LINE_RIPPLE_SELECTOR))?y(w):null;this.outline=(y=this.root.querySelector(t.strings.OUTLINE_SELECTOR))?A(y):null;if(A=this.root.querySelector(t.strings.LEADING_ICON_SELECTOR))this.leadingIcon= 1161E(A);this.root.classList.contains(t.cssClasses.OUTLINED)||(this.ripple=this.createRipple())};x.prototype.initialSyncWithDOM=function(){var w=this;this.handleFocus=function(){w.foundation.handleFocus()};this.handleBlur=function(){w.foundation.handleBlur()};this.handleClick=function(y){w.selectAnchor.focus();w.foundation.handleClick(w.getNormalizedXCoordinate(y))};this.handleKeydown=function(y){w.foundation.handleKeydown(y)};this.handleMenuItemAction=function(y){w.foundation.handleMenuItemAction(y.detail.index)}; 1162this.handleMenuOpened=function(){w.foundation.handleMenuOpened()};this.handleMenuClosed=function(){w.foundation.handleMenuClosed()};this.handleMenuClosing=function(){w.foundation.handleMenuClosing()};this.selectAnchor.addEventListener("focus",this.handleFocus);this.selectAnchor.addEventListener("blur",this.handleBlur);this.selectAnchor.addEventListener("click",this.handleClick);this.selectAnchor.addEventListener("keydown",this.handleKeydown);this.menu.listen(b.strings.CLOSED_EVENT,this.handleMenuClosed); 1163this.menu.listen(b.strings.CLOSING_EVENT,this.handleMenuClosing);this.menu.listen(b.strings.OPENED_EVENT,this.handleMenuOpened);this.menu.listen(l.strings.SELECTED_EVENT,this.handleMenuItemAction);this.hiddenInput&&(this.hiddenInput.value?(this.foundation.setValue(this.hiddenInput.value,!0),this.foundation.layout()):this.hiddenInput.value=this.value)};x.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus);this.selectAnchor.removeEventListener("blur",this.handleBlur); 1164this.selectAnchor.removeEventListener("keydown",this.handleKeydown);this.selectAnchor.removeEventListener("click",this.handleClick);this.menu.unlisten(b.strings.CLOSED_EVENT,this.handleMenuClosed);this.menu.unlisten(b.strings.OPENED_EVENT,this.handleMenuOpened);this.menu.unlisten(l.strings.SELECTED_EVENT,this.handleMenuItemAction);this.menu.destroy();this.ripple&&this.ripple.destroy();this.outline&&this.outline.destroy();this.leadingIcon&&this.leadingIcon.destroy();this.helperText&&this.helperText.destroy(); 1165B.prototype.destroy.call(this)};Object.defineProperty(x.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(w){this.foundation.setValue(w)}
1165,enumerable:!1,configurable:!0});x.prototype.setValue=function(w,y){void 0===y&&(y=!1);this.foundation.setValue(w,y)};Object.defineProperty(x.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(w){this.foundation.setSelectedIndex(w,!0)},enumerable:!1,configurable:!0});x.prototype.setSelectedIndex= 1166function(w,y){void 0===y&&(y=!1);this.foundation.setSelectedIndex(w,!0,y)};Object.defineProperty(x.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(w){this.foundation.setDisabled(w);this.hiddenInput&&(this.hiddenInput.disabled=w)},enumerable:!1,configurable:!0});Object.defineProperty(x.prototype,"leadingIconAriaLabel",{set:function(w){this.foundation.setLeadingIconAriaLabel(w)},enumerable:!1,configurable:!0});Object.defineProperty(x.prototype,"leadingIconContent", 1167{set:function(w){this.foundation.setLeadingIconContent(w)},enumerable:!1,configurable:!0});Object.defineProperty(x.prototype,"helperTextContent",{set:function(w){this.foundation.setHelperTextContent(w)},enumerable:!1,configurable:!0});Object.defineProperty(x.prototype,"useDefaultValidation",{set:function(w){this.foundation.setUseDefaultValidation(w)},enumerable:!1,configurable:!0});Object.defineProperty(x.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(w){this.foundation.setValid(w)}, 1168enumerable:!1,configurable:!0});Object.defineProperty(x.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(w){this.foundation.setRequired(w)},enumerable:!1,configurable:!0});x.prototype.layout=function(){this.foundation.layout()};x.prototype.layoutOptions=function(){this.foundation.layoutOptions();this.menu.layout();this.menuItemValues=this.menu.items.map(function(w){return w.getAttribute(t.strings.VALUE_ATTR)||""});this.hiddenInput&&(this.hiddenInput.value=this.value)}; 1169x.prototype.getDefaultFoundation=function(){var w=q(q(q(q({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new u.MDCSelectFoundation(w,this.getFoundationMap())};x.prototype.menuSetup=function(w){this.menuElement=this.root.querySelector(t.strings.MENU_SELECTOR);this.menu=w(this.menuElement);this.menu.hasTypeahead=!0;this.menu.singleSelection=!0;this.menuItemValues=this.menu.items.map(function(y){return y.getAttribute(t.strings.VALUE_ATTR)|| 1170""})};x.prototype.createRipple=function(){var w=this,y=q(q({},h.MDCRipple.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(A,D){w.selectAnchor.addEventListener(A,D)},deregisterInteractionHandler:function(A,D){w.selectAnchor.removeEventListener(A,D)}});return new h.MDCRipple(this.selectAnchor,new p.MDCRippleFoundation(y))};x.prototype.getSelectAdapterMethods=function(){var w=this;return{getMenuItemAttr:function(y,A){return y.getAttribute(A)},setSelectedText:function(y){w.selectedText.textContent= 1171y},isSelectAnchorFocused:function(){return document.activeElement===w.selectAnchor},getSelectAnchorAttr:function(y){return w.selectAnchor.getAttribute(y)},setSelectAnchorAttr:function(y,A){w.selectAnchor.setAttribute(y,A)},removeSelectAnchorAttr:function(y){w.selectAnchor.removeAttribute(y)},addMenuClass:function(y){w.menuElement.classList.add(y)},removeMenuClass:function(y){w.menuElement.classList.remove(y)},openMenu:function(){w.menu.open=!0},closeMenu:function(){w.menu.open=!1},getAnchorElement:function(){return w.root.querySelector(t.strings.SELECT_ANCHOR_SELECTOR)}, 1172setMenuAnchorElement:function(y){w.menu.setAnchorElement(y)},setMenuAnchorCorner:function(y){w.menu.setAnchorCorner(y)},setMenuWrapFocus:function(y){w.menu.wrapFocus=y},getSelectedIndex:function(){var y=w.menu.selectedIndex;return y instanceof Array?y[0]:y},setSelectedIndex:function(y){w.menu.selectedIndex=y},focusMenuItemAtIndex:function(y){w.menu.items[y].focus()},getMenuItemCount:function(){return w.menu.items.length}
1172,getMenuItemValues:function(){return w.menuItemValues},getMenuItemTextAtIndex:function(y){return w.menu.getPrimaryTextAtIndex(y)}, 1173isTypeaheadInProgress:function(){return w.menu.typeaheadInProgress},typeaheadMatchItem:function(y,A){return w.menu.typeaheadMatchItem(y,A)}}};x.prototype.getCommonAdapterMethods=function(){var w=this;return{addClass:function(y){w.root.classList.add(y)},removeClass:function(y){w.root.classList.remove(y)},hasClass:function(y){return w.root.classList.contains(y)},setRippleCenter:function(y){w.lineRipple&&w.lineRipple.setRippleCenter(y)},activateBottomLine:function(){w.lineRipple&&w.lineRipple.activate()}, 1174deactivateBottomLine:function(){w.lineRipple&&w.lineRipple.deactivate()},notifyChange:function(y){w.hiddenInput&&(w.hiddenInput.value=y);w.emit(t.strings.CHANGE_EVENT,{value:y,index:w.selectedIndex},!0)}}};x.prototype.getOutlineAdapterMethods=function(){var w=this;return{hasOutline:function(){return!!w.outline},notchOutline:function(y){w.outline&&w.outline.notch(y)},closeOutline:function(){w.outline&&w.outline.closeNotch()}}};x.prototype.getLabelAdapterMethods=function(){var w=this;return{hasLabel:function(){return!!w.label}, 1175floatLabel:function(y){w.label&&w.label.float(y)},getLabelWidth:function(){return w.label?w.label.getWidth():0},setLabelRequired:function(y){w.label&&w.label.setRequired(y)}}};x.prototype.getNormalizedXCoordinate=function(w){var y=w.target.getBoundingClientRect();return(this.isTouchEvent(w)?w.touches[0].clientX:w.clientX)-y.left};x.prototype.isTouchEvent=function(w){return!!w.touches};x.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0, 1176leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}};return x}(c.MDCComponent);e.MDCSelect=n},
1176"./packages/mdc-select/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required", 1177ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"};e.strings={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type\x3d"hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text", 1178SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"};e.numbers={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330}},
1178"./packages/mdc-select/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!== 1179typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSelectFoundation=void 0;r=n("./packages/mdc-base/foundation.ts"); 1180var m=n("./packages/mdc-dom/keyboard.ts"),g=n("./packages/mdc-menu-surface/constants.ts"),c=n("./packages/mdc-select/constants.ts");n=function(d){function a(b,f){void 0===f&&(f={});b=d.call(this,q(q({},a.defaultAdapter),b))||this;b.disabled=!1;b.isMenuOpen=!1;b.useDefaultValidation=!0;b.customValidity=!0;b.lastSelectedIndex=c.numbers.UNSET_INDEX;b.clickDebounceTimeout=0;b.recentlyClicked=!1;b.leadingIcon=f.leadingIcon;b.helperText=f.helperText;return b}v(a,d);Object.defineProperty(a,"cssClasses",
vendor: 1,295 bytes, lines 1181-1183
1181{get:function(){return c.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(a,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0});Object.defineProperty(a,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1}, 1182setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){}, 1183openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0}
1183,getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0});a.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()}; 1184a.prototype.setSelectedIndex=function(b,f,l){void 0===f&&(f=!1);void 0===l&&(l=!1);b>=this.adapter.getMenuItemCount()||(b===c.numbers.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(b).trim()),this.adapter.setSelectedIndex(b),f&&this.adapter.closeMenu(),l||this.lastSelectedIndex===b||this.handleChange(),this.lastSelectedIndex=b)};a.prototype.setValue=function(b,f){void 0===f&&(f=!1);b=this.adapter.getMenuItemValues().indexOf(b);this.setSelectedIndex(b, 1185!1,f)};a.prototype.getValue=function(){var b=this.adapter.getSelectedIndex(),f=this.adapter.getMenuItemValues();return b!==c.numbers.UNSET_INDEX?f[b]:""};a.prototype.getDisabled=function(){return this.disabled};a.prototype.setDisabled=function(b){(this.disabled=b)?(this.adapter.addClass(c.cssClasses.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(c.cssClasses.DISABLED);this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled);this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"): 1186this.adapter.setSelectAnchorAttr("tabindex","0");this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())};a.prototype.openMenu=function(){this.adapter.addClass(c.cssClasses.ACTIVATED);this.adapter.openMenu();this.isMenuOpen=!0;this.adapter.setSelectAnchorAttr("aria-expanded","true")};a.prototype.setHelperTextContent=function(b){this.helperText&&this.helperText.setContent(b)};a.prototype.layout=function(){if(this.adapter.hasLabel()){var b=0<this.getValue().length,f=this.adapter.hasClass(c.cssClasses.FOCUSED); 1187b=b||f;f=this.adapter.hasClass(c.cssClasses.REQUIRED);this.notchOutline(b);this.adapter.floatLabel(b);this.adapter.setLabelRequired(f)}};a.prototype.layoutOptions=function(){var b=this.adapter.getMenuItemV
1187alues().indexOf(this.getValue());this.setSelectedIndex(b,!1,!0)};a.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var b=this.getSelectedIndex();this.adapter.focusMenuItemAtIndex(0<=b?b:0)}};a.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded", 1188"false")};a.prototype.handleMenuClosed=function(){this.adapter.removeClass(c.cssClasses.ACTIVATED);this.isMenuOpen=!1;this.adapter.isSelectAnchorFocused()||this.blur()};a.prototype.handleChange=function(){this.layout();this.adapter.notifyChange(this.getValue());this.adapter.hasClass(c.cssClasses.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())};a.prototype.handleMenuItemAction=function(b){this.setSelectedIndex(b,!0)};a.prototype.handleFocus=function(){this.adapter.addClass(c.cssClasses.FOCUSED); 1189this.layout();this.adapter.activateBottomLine()};a.prototype.handleBlur=function(){this.isMenuOpen||this.blur()};a.prototype.handleClick=function(b){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(b),this.openMenu()))};a.prototype.handleKeydown=function(b){if(!this.isMenuOpen&&this.adapter.hasClass(c.cssClasses.FOCUSED)){var f=m.normalizeKey(b)===m.KEY.ENTER,l=m.normalizeKey(b)===m.KEY.SPACEBAR,k=m.normalizeKey(b)=== 1190m.KEY.ARROW_UP,h=m.normalizeKey(b)===m.KEY.ARROW_DOWN;if(!b.ctrlKey&&!b.metaKey&&(!l&&b.key&&1===b.key.length||l&&this.adapter.isTypeaheadInProgress()))f=this.adapter.typeaheadMatchItem(l?" ":b.key,this.getSelectedIndex()),0<=f&&this.setSelectedIndex(f),b.preventDefault();else if(f||l||k||h)k&&0<this.getSelectedIndex()?this.setSelectedIndex(this.getSelectedIndex()-1):h&&this.getSelectedIndex()<this.adapter.getMenuItemCount()-1&&this.setSelectedIndex(this.getSelectedIndex()+1),this.openMenu(),b.preventDefault()}}; 1191a.prototype.notchOutline=function(b){if(this.adapter.hasOutline()){var f=this.adapter.hasClass(c.cssClasses.FOCUSED);b?(b=c.numbers.LABEL_SCALE,b*=this.adapter.getLabelWidth(),this.adapter.notchOutline(b)):f||this.adapter.closeOutline()}};a.prototype.setLeadingIconAriaLabel=function(b){this.leadingIcon&&this.leadingIcon.setAriaLabel(b)};a.prototype.setLeadingIconContent=function(b){this.leadingIcon&&this.leadingIcon.setContent(b)};a.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation}; 1192a.prototype.setUseDefaultValidation=function(b){this.useDefaultValidation=b};a.prototype.setValid=function(b){this.useDefaultValidation||(this.customValidity=b);this.adapter.setSelectAnchorAttr("aria-invalid",(!b).toString());b?(this.adapter.removeClass(c.cssClasses.INVALID),this.adapter.removeMenuClass(c.cssClasses.MENU_INVALID)):(this.adapter.addClass(c.cssClasses.INVALID),this.adapter.addMenuClass(c.cssClasses.MENU_INVALID));this.syncHelperTextValidity(b)};a.prototype.isValid=function(){return this.useDefaultValidation&& 1193this.adapter.hasClass(c.cssClasses.REQUIRED)&&!this.adapter.hasClass(c.cssClasses.DISABLED)?this.getSelectedIndex()!==c.numbers.UNSET_INDEX&&(0!==this.getSelectedIndex()||!!this.getValue()):this.customValidity};a.prototype.setRequired=function(b){b?this.adapter.addClass(c.cssClasses.REQUIRED):this.adapter.removeClass(c.cssClasses.REQUIRED);this.adapter.setSelectAnchorAttr("aria-required",b.toString());this.adapter.setLabelRequired(b)};a.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")}; 1194a.prototype.init=function(){var b=this.adapter.getAnchorElement();b&&(this.adapter.setMenuAnchorElement(b),this.adapter.setMenuAnchorCorner(g.Corner.BOTTOM_START));this.adapter.setMenuWrapFocus(!1);this.setDisabled(this.adapter.hasClass(c.cssClasses.DISABLED));this.syncHelperTextValidity(!this.adapter.hasClass(c.cssClasses.INVALID));this.layout();this.layoutOptions()};a.prototype.blur=function(){this.adapter.removeClass(c.cssClasses.FOCUSED);this.layout();this.adapter.deactivateBottomLine();this.adapter.hasClass(c.cssClasses.REQUIRED)&& 1195this.useDefaultValidation&&this.setValid(this.isValid())};a.prototype.syncHelperTextValidity=function(b){if(this.helperText){this.helperText.setValidity(b);b=this.helperText.isVisible();var f=this.helperText.getId();b&&f?this.adapter.setSelectAnchorAttr(c.strings.ARIA_DESCRIBEDBY,f):this.adapter.removeSelectAnchorAttr(c.strings.ARIA_DESCRIBEDBY)}};a.prototype.setClickDebounceTimeout=function(){var b=this;clearTimeout(this.clickDebounceTimeout);this.clickDebounceTimeout=setTimeout(function(){b.recentlyClicked= 1196!1},c.numbers.CLICK_DEBOUNCE_TIMEOUT_MS);this.recentlyClicked=!0};return a}(r.MDCFoundation);e.MDCSelectFoundation=n;e.default=n},
1196"./packages/mdc-select/helper-text/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1196"./packages/mdc-select/helper-text/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a, 1197b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCSelectHelperText=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-select/helper-text/foundation.ts");n=function(m){function g(){return null!== 1198m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0});g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCSelectHelperTextFoundation({addClass:function(d){return c.root.classList.add(d)},removeClass:function(d){return c.root.classList.remove(d)},hasClass:function(d){return c.root.classList.contains(d)},getAttr:function(d){return c.root.getAttribute(d)}, 1199setAttr:function(d,a){return c.root.setAttribute(d,a)},removeAttr:function(d){return c.root.removeAttribute(d)},setContent:function(d){c.root.textContent=d}})};return g}(r.MDCComponent);e.MDCSelectHelperText=n},
1199"./packages/mdc-select/helper-text/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=e.strings=void 0;e.strings={ARIA_HIDDEN:"aria-hidden",ROLE:"role"};e.cssClasses={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"}},
1200"./packages/mdc-select/helper-text/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype= 1201null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSelectHelperTextFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-select/helper-text/constants.ts");n=function(g){function c(d){return g.call(this, 1202q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1, 1203configurable:!0});c.prototype.getId=function(){return this.adapter.getAttr("id")};c.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(m.strings.ARIA_HIDDEN)};c.prototype.setContent=function(d){this.adapter.setContent(d)};c.prototype.setValidation=function(d){d?this.adapter.addClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG)};c.prototype.setValidationMsgPersistent=function(d){d?this.adapter.addClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG_PERSISTENT): 1204this.adapter.removeClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)};c.prototype.setValidity=function(d){if(this.adapter.hasClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG)){var a=this.adapter.hasClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);!d||a?(this.showToScreenReader(),d?this.adapter.removeAttr(m.strings.ROLE):this.adapter.setAttr(m.strings.ROLE,"alert")):(this.adapter.removeAttr(m.strings.ROLE),this.hide())}};c.prototype.showToScreenReader=function(){this.adapter.removeAttr(m.strings.ARIA_HIDDEN)}; 1205c.prototype.hide=function(){this.adapter.setAttr(m.strings.ARIA_HIDDEN,"true")};return c}(r.MDCFoundation);e.MDCSelectHelperTextFoundation=n;e.default=n},
1205"./packages/mdc-select/helper-text/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g, 1206c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.helperTextStrings=e.helperTextCssClasses=void 0;r(n("./packages/mdc-select/helper-text/adapter.ts"),e);r(n("./packages/mdc-select/helper-text/component.ts"),e);r(n("./packages/mdc-select/helper-text/foundation.ts"),e);var q=n("./packages/mdc-select/helper-text/constants.ts");Object.defineProperty(e,"helperTextCssClasses",{enumerable:!0,get:function(){return q.cssClasses}});Object.defineProperty(e,"helperTextStrings",{enumerable:!0,get:function(){return q.strings}})},
1207"./packages/mdc-select/icon/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1207"./packages/mdc-select/icon/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+ 1208String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCSelectIcon=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-select/icon/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype,"foundationForSelect",{get:function(){return this.foundation}, 1209enumerable:!1,configurable:!0});g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCSelectIconFoundation({getAttr:function(d){return c.root.getAttribute(d)},setAttr:function(d,a){return c.root.setAttribute(d,a)},removeAttr:function(d){return c.root.removeAttribute(d)},setContent:function(d){c.root.textContent=d},registerInteractionHandler:function(d,a){return c.listen(d,a)},deregisterInteractionHandler:function(d,a){return c.unlisten(d,a)},notifyIconAction:function(){return c.emit(q.MDCSelectIconFoundation.strings.ICON_EVENT, 1210{},!0)}})};return g}(r.MDCComponent);e.MDCSelectIcon=n},
1210"./packages/mdc-select/icon/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=void 0;e.strings={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"}},
1210"./packages/mdc-select/icon/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l, 1211k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this, 1212arguments)},m=this&&this.__values||function(d){var a="function"===typeof Symbol&&Symbol.iterator,b=a&&d[a],f=0;if(b)return b.call(d);if(d&&"number"===typeof d.length)return{next:function(){d&&f>=d.length&&(d=void 0);return{value:d&&d[f++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSelectIconFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-select/icon/constants.ts"), 1213c=["click","keydown"];n=function(d){function a(b){var f=d.call(this,q(q({},a.defaultAdapter),b))||this;f.savedTabIndex=null;f.interactionHandler=function(l){f.handleInteraction(l)};return f}v(a,d);Object.defineProperty(a,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){}, 1214deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0});a.prototype.init=function(){var b;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var f=m(c),l=f.next();!l.done;l=f.next())this.adapter.registerInteractionHandler(l.value,this.interactionHandler)}catch(h){var k={error:h}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(k)throw k.error;}}};a.prototype.destroy=function(){var b;try{for(var f=m(c),l=f.next();!l.done;l=f.next())this.adapter.deregisterInteractionHandler(l.value, 1215this.interactionHandler)}catch(h){var k={error:h}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(k)throw k.error;}}};a.prototype.setDisabled=function(b){this.savedTabIndex&&(b?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",g.strings.ICON_ROLE)))};a.prototype.setAriaLabel=function(b){this.adapter.setAttr("aria-label",b)};a.prototype.setContent=function(b){this.adapter.setContent(b)}; 1216a.prototype.handleInteraction=function(b){var f="Enter"===b.key||13===b.keyCode;("click"===b.type||f)&&this.adapter.notifyIconAction()};return a}(r.MDCFoundation);e.MDCSelectIconFoundation=n;e.default=n},
1216"./packages/mdc-select/icon/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m, 1217g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.iconStrings=void 0;r(n("./packages/mdc-select/icon/adapter.ts"),e);r(n("./packages/mdc-select/icon/component.ts"),e);r(n("./packages/mdc-select/icon/foundation.ts"),e);var q=n("./packages/mdc-select/icon/constants.ts");Object.defineProperty(e,"iconStrings",{enumerable:!0,get:function(){return q.strings}})},
1217"./packages/mdc-select/index.ts":function(r,e,n){var v=this&& 1218this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-select/adapter.ts"),e);r(n("./packages/mdc-select/component.ts"),e);r(n("./packages/mdc-select/constants.ts"),e);r(n("./packages/mdc-select/foundation.ts"), 1219e);r(n("./packages/mdc-select/types.ts"),e);r(n("./packages/mdc-select/helper-text/index.ts"),e);r(n("./packages/mdc-select/icon/index.ts"),e)},
1219"./packages/mdc-select/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1219"./packages/mdc-slider/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1219"./packages/mdc-slider/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var l=function(k,h){l=Object.setPrototypeOf||{__proto__:[]}instanceof 1220Array&&function(p,t){p.__proto__=t}||function(p,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(p[u]=t[u])};return l(k,h)};return function(k,h){function p(){this.constructor=k}if("function"!==typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");l(k,h);k.prototype=null===h?Object.create(h):(p.prototype=h.prototype,new p)}}(),q=this&&this.__assign||function(){q=Object.assign||function(l){for(var k,h=1,p=arguments.length;h<p;h++){k=arguments[h]; 1221for(var t in k)Object.prototype.hasOwnProperty.call(k,t)&&(l[t]=k[t])}return l};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSlider=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-dom/events.ts"),g=n("./packages/mdc-dom/ponyfill.ts"),c=n("./packages/mdc-ripple/component.ts"),d=n("./packages/mdc-ripple/foundation.ts"),a=n("./packages/mdc-slider/constants.ts"),b=n("./packages/mdc-slider/foundation.ts"),f=n("./packages/mdc-slider/types.ts"); 1222n=function(l){function k(){var h=null!==l&&l.apply(this,arguments)||this;h.skipInitialUIUpdate=!1;h.valueToAriaValueTextFn=null;return h}v(k,l);k.attachTo=function(h,p){void 0===p&&(p={});return new k(h,void 0,p)};k.prototype.getDefaultFoundation=function(){var h=this;return new b.MDCSliderFoundation({hasClass:function(p){return h.root.classList.contains(p)},addClass:function(p){h.root.classList.add(p)},removeClass:function(p){h.root.classList.remove(p)},addThumbClass:function(p,t){h.getThumbEl(t).classList.add(p)}, 1223removeThumbClass:function(p,t){h.getThumbEl(t).classList.remove(p)},getAttribute:function(p){return h.root.getAttribute(p)},getInputValue:function(p){return h.getInput(p).value},setInputValue:function(p,t){h.getInput(t).value=p},getInputAttribute:function(p,t){return h.getInput(t).getAttribute(p)},setInputAttribute:function(p,t,u){h.getInput(u).setAttribute(p,t)},removeInputAttribute:function(p,t){h.getInput(t).removeAttribute(p)},focusInput:function(p){h.getInput(p).focus()},isInputFocused:function(p){return h.getInput(p)=== 1224document.activeElement},getThumbKnobWidth:function(p){return h.getThumbEl(p).querySelector("."+a.cssClasses.THUMB_KNOB).getBoundingClientRect().width},getThumbBoundingClientRect:function(p){return h.getThumbEl(p).getBoundingClientRect()},getBoundingClientRect:function(){return h.root.getBoundingClientRect()},isRTL:function(){return"rtl"===getComputedStyle(h.root).direction},setThumbStyleProperty:function(p,t,u){h.getThumbEl(u).style.setProperty(p,t)},removeThumbStyleProperty:function(p,t){h.getThumbEl(t).style.removeProperty(p)}, 1225setTrackActiveStyleProperty:function(p,t){h.trackActive.style.setProperty(p,t)},removeTrackActiveStyleProperty:function(p){h.trackActive.style.removeProperty(p)},setValueIndicatorText:function(p,t){h.getThumbEl(t).querySelector("."+a.cssClasses.VALUE_INDICATOR_TEXT).textContent=String(p)},getValueToAriaValueTextFn:function(){return h.valueToAriaValueTextFn},updateTickMarks:function(p){var t=h.root.querySelector("."+a.cssClasses.TICK_MARKS_CONTAINER);
1225t||(t=document.createElement("div"),t.classList.add(a.cssClasses.TICK_MARKS_CONTAINER), 1226h.root.querySelector("."+a.cssClasses.TRACK).appendChild(t));if(p.length!==t.children.length){for(;t.firstChild;)t.removeChild(t.firstChild);h.addTickMarks(t,p)}else h.updateTickMarks(t,p)},setPointerCapture:function(p){h.root.setPointerCapture(p)},emitChangeEvent:function(p,t){h.emit(a.events.CHANGE,{value:p,thumb:t})},emitInputEvent:function(p,t){h.emit(a.events.INPUT,{value:p,thumb:t})},emitDragStartEvent:function(p,t){h.getRipple(t).activate()},emitDragEndEvent:function(p,t){h.getRipple(t).deactivate()}, 1227registerEventHandler:function(p,t){h.listen(p,t)},deregisterEventHandler:function(p,t){h.unlisten(p,t)},registerThumbEventHandler:function(p,t,u){h.getThumbEl(p).addEventListener(t,u)},deregisterThumbEventHandler:function(p,t,u){h.getThumbEl(p).removeEventListener(t,u)},registerInputEventHandler:function(p,t,u){h.getInput(p).addEventListener(t,u)},deregisterInputEventHandler:function(p,t,u){h.getInput(p).removeEventListener(t,u)},registerBodyEventHandler:function(p,t){document.body.addEventListener(p, 1228t)},deregisterBodyEventHandler:function(p,t){document.body.removeEventListener(p,t)},registerWindowEventHandler:function(p,t){window.addEventListener(p,t)},deregisterWindowEventHandler:function(p,t){window.removeEventListener(p,t)}})};k.prototype.initialize=function(h){h=(void 0===h?{}:h).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+a.cssClasses.INPUT));this.thumbs=[].slice.call(this.root.querySelectorAll("."+a.cssClasses.THUMB));this.trackActive=this.root.querySelector("."+
1229a.cssClasses.TRACK_ACTIVE);this.ripples=this.createRipples();h&&(this.skipInitialUIUpdate=!0)};k.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})};k.prototype.layout=function(){this.foundation.layout()};k.prototype.getValueStart=function(){return this.foundation.getValueStart()};k.prototype.setValueStart=function(h){this.foundation.setValueStart(h)};k.prototype.getValue=function(){return this.foundation.getValue()};k.prototype.setValue=function(h){this.foundation.setValue(h)}; 1230k.prototype.getDisabled=function(){return this.foundation.getDisabled()};k.prototype.setDisabled=function(h){this.foundation.setDisabled(h)};k.prototype.setValueToAriaValueTextFn=function(h){this.valueToAriaValueTextFn=h};k.prototype.getThumbEl=function(h){return h===f.Thumb.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]};k.prototype.getInput=function(h){return h===f.Thumb.END?this.inputs[this.inputs.length-1]:this.inputs[0]};k.prototype.getRipple=function(h){return h===f.Thumb.END?this.ripples[this.ripples.length- 12311]:this.ripples[0]};k.prototype.addTickMarks=function(h,p){for(var t=document.createDocumentFragment(),u=0;u<p.length;u++){var z=document.createElement("div");z.classList.add(p[u]===f.TickMark.ACTIVE?a.cssClasses.TICK_MARK_ACTIVE:a.cssClasse
1231s.TICK_MARK_INACTIVE);t.appendChild(z)}h.appendChild(t)};k.prototype.updateTickMarks=function(h,p){h=Array.from(h.children);for(var t=0;t<h.length;t++)p[t]===f.TickMark.ACTIVE?(h[t].classList.add(a.cssClasses.TICK_MARK_ACTIVE),h[t].classList.remove(a.cssClasses.TICK_MARK_INACTIVE)): 1232(h[t].classList.add(a.cssClasses.TICK_MARK_INACTIVE),h[t].classList.remove(a.cssClasses.TICK_MARK_ACTIVE))};k.prototype.createRipples=function(){for(var h=[],p=[].slice.call(this.root.querySelectorAll("."+a.cssClasses.THUMB)),t=function(C){var B=p[C],x=u.inputs[C];C=q(q({},c.MDCRipple.createAdapter(u)),{addClass:function(w){B.classList.add(w)},computeBoundingRect:function(){return B.getBoundingClientRect()},deregisterInteractionHandler:function(w,y){x.removeEventListener(w,y)},isSurfaceActive:function(){return g.matches(x, 1233":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(w,y){x.addEventListener(w,y,m.applyPassive())},removeClass:function(w){B.classList.remove(w)},updateCssVariable:function(w,y){B.style.setProperty(w,y)}});C=new c.MDCRipple(B,new d.MDCRippleFoundation(C));C.unbounded=!0;h.push(C)},u=this,z=0;z<p.length;z++)t(z);return h};return k}(r.MDCComponent);e.MDCSlider=n},
1233"./packages/mdc-slider/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.events= 1234e.attributes=e.numbers=e.cssClasses=void 0;e.cssClasses={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active", 1235TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"};e.numbers={STEP_SIZE:1,THUMB_UPDATE_MIN_PX:5};e.attributes={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step"};e.events={CHANGE:"MDCSlider:change",INPUT:"MDCSlider:input"}},
1235"./packages/mdc-slider/foundation.ts":function(r,e,n){function v(l){l= 1236/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(l));if(!l)return 0;var k=l[1]||"";return Math.max(0,("0"===k?0:k.length)-Number(l[2]||0))}var q=this&&this.__extends||function(){var l=function(k,h){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,t){p.__proto__=t}||function(p,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(p[u]=t[u])};return l(k,h)};return function(k,h){function p(){this.constructor=k}if("function"!==typeof h&&null!==h)throw new TypeError("Class extends value "+ 1237String(h)+" is not a constructor or null");l(k,h);k.prototype=null===h?Object.create(h):(p.prototype=h.prototype,new p)}}(),m=this&&this.__assign||function(){m=Object.assign||function(l){for(var k,h=1,p=arguments.length;h<p;h++){k=arguments[h];for(var t in k)Object.prototype.hasOwnProperty.call(k,t)&&(l[t]=k[t])}return l};return m.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSliderFoundation=void 0;var g=n("./packages/mdc-animation/animationframe.ts"),c=n("./packages/mdc-animation/util.ts"); 1238r=n("./packages/mdc-base/foundation.ts");var d=n("./packages/mdc-slider/constants.ts"),a=n("./packages/mdc-slider/types.ts"),b;(b||(b={})).SLIDER_UPDATE="slider_update";var f="undefined"!==typeof window;n=function(l){function k(h){h=l.call(this,m(m({},k.defaultAdapter),h))||this;h.initialStylesRemoved=!1;h.isDisabled=!1;h.isDiscrete=!1;h.step=d.numbers.STEP_SIZE;h.hasTickMarks=!1;h.isRange=!1;h.thumb=null;h.downEventClientX=null;h.startThumbKnobWidth=0;h.endThumbKnobWidth=0;h.animFrame=new g.AnimationFrame; 1239return h}q(k,l);Object.defineProperty(k,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1}, 1240getThumbKnobWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){}, 1241setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}}, 1242enumerable:!1,configurable:!0});k.prototype.init=function(){var h=this;
1242this.isDisabled=this.adapter.hasClass(d.cssClasses.DISABLED);this.isDiscrete=this.adapter.hasClass(d.cssClasses.DISCRETE);this.hasTickMarks=this.adapter.hasClass(d.cssClasses.TICK_MARKS);this.isRange=this.adapter.hasClass(d.cssClasses.RANGE);var p=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(d.attributes.INPUT_MIN,this.isRange?a.Thumb.START:a.Thumb.END),d.attributes.INPUT_MIN),t=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(d.attributes.INPUT_MAX, 1243a.Thumb.END),d.attributes.INPUT_MAX),u=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(d.attributes.INPUT_VALUE,a.Thumb.END),d.attributes.INPUT_VALUE),z=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(d.attributes.INPUT_VALUE,a.Thumb.START),d.attributes.INPUT_VALUE):p,C=this.adapter.getInputAttribute(d.attributes.INPUT_STEP,a.Thumb.END);C=C?this.convertAttributeValueToNumber(C,d.attributes.INPUT_STEP):this.step;this.validateProperties({min:p,max:t, 1244value:u,valueStart:z,step:C});this.min=p;this.max=t;this.value=u;this.valueStart=z;this.step=C;this.numDecimalPlaces=v(this.step);this.valueBeforeDownEvent=u;this.valueStartBeforeDownEvent=z;this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this);this.moveListener=this.handleMove.bind(this);this.pointerdownListener=this.handlePointerdown.bind(this);this.pointerupListener=this.handlePointerup.bind(this);this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this);this.thumbMouseleaveListener= 1245this.handleThumbMouseleave.bind(this);this.inputStartChangeListener=function(){h.handleInputChange(a.Thumb.START)};this.inputEndChangeListener=function(){h.handleInputChange(a.Thumb.END)};this.inputStartFocusListener=function(){h.handleInputFocus(a.Thumb.START)};this.inputEndFocusListener=function(){h.handleInputFocus(a.Thumb.END)};this.inputStartBlurListener=function(){h.handleInputBlur(a.Thumb.START)};this.inputEndBlurListener=function(){h.handleInputBlur(a.Thumb.END)};this.resizeListener=this.handleResize.bind(this); 1246this.registerEventHandlers()};k.prototype.destroy=function(){this.deregisterEventHandlers()};k.prototype.setMin=function(h){this.min=h;this.isRange||(this.valueStart=h);this.updateUI()};k.prototype.setMax=function(h){this.max=h;this.updateUI()};k.prototype.getMin=function(){return this.min};k.prototype.getMax=function(){return this.max};k.prototype.getValue=function(){return this.value};k.prototype.setValue=function(h){if(this.isRange&&h<this.valueStart)throw Error("end thumb value ("+h+") must be \x3e\x3d start thumb value ("+ 1247(this.valueStart+")"));this.updateValue(h,a.Thumb.END)};k.prototype.getValueStart=function(){if(!this.isRange)throw Error("`valueStart` is only applicable for range sliders.");return this.valueStart};k.prototype.setValueStart=function(h){if(!this.isRange)throw Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&h>this.value)throw Error("start thumb value ("+h+") must be \x3c\x3d end thumb value ("+(this.value+")"));this.updateValue(h,a.Thumb.START)};k.prototype.setStep=function(h){this.step= 1248h;this.numDecimalPlaces=v(h);this.updateUI()};k.prototype.setIsDiscrete=function(h){this.isDiscrete=h;this.updateValueIndicatorUI();this.updateTickMarksUI()};k.prototype.getStep=function(){return this.step};k.prototype.setHasTickMarks=function(h){this.hasTickMarks=h;this.updateTickMarksUI()};k.prototype.getDisabled=function(){return this.isDisabled};k.prototype.setDisabled=function(h){(this.isDisabled=h)?(this.adapter.addClass(d.cssClasse
1248s.DISABLED),this.isRange&&this.adapter.setInputAttribute(d.attributes.INPUT_DISABLED, 1249"",a.Thumb.START),this.adapter.setInputAttribute(d.attributes.INPUT_DISABLED,"",a.Thumb.END)):(this.adapter.removeClass(d.cssClasses.DISABLED),this.isRange&&this.adapter.removeInputAttribute(d.attributes.INPUT_DISABLED,a.Thumb.START),this.adapter.removeInputAttribute(d.attributes.INPUT_DISABLED,a.Thumb.END))};k.prototype.getIsRange=function(){return this.isRange};k.prototype.layout=function(h){h=(void 0===h?{}:h).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect();this.isRange&&(this.startThumbKnobWidth= 1250this.adapter.getThumbKnobWidth(a.Thumb.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(a.Thumb.END));h||this.updateUI()};k.prototype.handleResize=function(){this.layout()};k.prototype.handleDown=function(h){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart;this.valueBeforeDownEvent=this.value;var p=null!=h.clientX?h.clientX:h.targetTouches[0].clientX;this.downEventClientX=p;var t=this.mapClientXOnSliderScale(p);this.thumb=this.getThumbFromDownEvent(p,t);null!==this.thumb&& 1251(this.handleDragStart(h,t,this.thumb),this.updateValue(t,this.thumb,{emitInputEvent:!0}))}};k.prototype.handleMove=function(h){if(!this.isDisabled){h.preventDefault();var p=null!=h.clientX?h.clientX:h.targetTouches[0].clientX,t=null!=this.thumb;this.thumb=this.getThumbFromMoveEvent(p);null!==this.thumb&&(p=this.mapClientXOnSliderScale(p),t||(this.handleDragStart(h,p,this.thumb),this.adapter.emitDragStartEvent(p,this.thumb)),this.updateValue(p,this.thumb,{emitInputEvent:!0}))}};k.prototype.handleUp= 1252function(){if(!this.isDisabled&&null!==this.thumb){var h=this.thumb===a.Thumb.START?this.valueStart:this.value;(this.thumb===a.Thumb.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent)!==h&&this.adapter.emitChangeEvent(h,this.thumb);this.adapter.emitDragEndEvent(h,this.thumb);this.thumb=null}};k.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(d.cssClasse
1252s.THUMB_WITH_INDICATOR,a.Thumb.START),this.adapter.addThumbClass(d.cssClasses.THUMB_WITH_INDICATOR, 1253a.Thumb.END))};k.prototype.handleThumbMouseleave=function(){this.isDiscrete&&this.isRange&&!this.adapter.isInputFocused(a.Thumb.START)&&!this.adapter.isInputFocused(a.Thumb.END)&&(this.adapter.removeThumbClass(d.cssClasses.THUMB_WITH_INDICATOR,a.Thumb.START),this.adapter.removeThumbClass(d.cssClasses.THUMB_WITH_INDICATOR,a.Thumb.END))};k.prototype.handleMousedownOrTouchstart=function(h){var p=this,t="mousedown"===h.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(t,this.moveListener); 1254var u=function C(){p.handleUp();p.adapter.deregisterBodyEventHandler(t,p.moveListener);p.adapter.deregisterEventHandler("mouseup",C);p.adapter.deregisterEventHandler("touchend",C)};this.adapter.registerBodyEventHandler("mouseup",u);this.adapter.registerBodyEventHandler("touchend",u);this.handleDown(h)};k.prototype.handlePointerdown=function(h){this.adapter.setPointerCapture(h.pointerId);this.adapter.registerEventHandler("pointermove",this.moveListener);this.handleDown(h)};k.prototype.handleInputChange= 1255function(h){var p=Number(this.adapter.getInputValue(h));h===a.Thumb.START?this.setValueStart(p):this.setValue(p);this.adapter.emitChangeEvent(h===a.Thumb.START?this.valueStart:this.value,h);this.adapter.emitInputEvent(h===a.Thumb.START?this.valueStart:this.value,h)};k.prototype.handleInputFocus=function(h){this.adapter.addThumbClass(d.cssClasse
1255s.THUMB_FOCUSED,h);this.isDiscrete&&(this.adapter.addThumbClass(d.cssClasses.THUMB_WITH_INDICATOR,h),this.isRange&&this.adapter.addThumbClass(d.cssClasses.THUMB_WITH_INDICATOR, 1256h===a.Thumb.START?a.Thumb.END:a.Thumb.START))};k.prototype.handleInputBlur=function(h){this.adapter.removeThumbClass(d.cssClasses.THUMB_FOCUSED,h);this.isDiscrete&&(this.adapter.removeThumbClass(d.cssClasses.THUMB_WITH_INDICATOR,h),this.isRange&&this.adapter.removeThumbClass(d.cssClasses.THUMB_WITH_INDICATOR,h===a.Thumb.START?a.Thumb.END:a.Thumb.START))};k.prototype.handleDragStart=function(h,p,t){this.adapter.emitDragStartEvent(p,t);this.adapter.focusInput(t);h.preventDefault()};k.prototype.getThumbFromDownEvent= 1257function(h,p){if(!this.isRange)return a.Thumb.END;var t=this.adapter.getThumbBoundingClientRect(a.Thumb.START),u=this.adapter.getThumbBoundingClientRect(a.Thumb.END);t=h>=t.left&&h<=t.right;h=h>=u.left&&h<=u.right;return t&&h?null:t?a.Thumb.START:h?a.Thumb.END:p<this.valueStart?a.Thumb.START:p>this.value?a.Thumb.END:p-this.valueStart<=this.value-p?a.Thumb.START:a.Thumb.END};k.prototype.getThumbFromMoveEvent=function(h){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw Error("`downEventClientX` is null after move event."); 1258return Math.abs(this.downEventClientX-h)<d.numbers.THUMB_UPDATE_MIN_PX?this.thumb:h<this.downEventClientX?this.adapter.isRTL()?a.Thumb.END:a.Thumb.START:this.adapter.isRTL()?a.Thumb.START:a.Thumb.END};k.prototype.updateUI=function(h){this.updateThumbAndInputAttributes(h);this.updateThumbAndTrackUI(h);this.updateValueIndicatorUI(h);this.updateTickMarksUI()};k.prototype.updateThumbAndInputAttributes=function(h){if(h){var p=this.isRange&&h===a.Thumb.START?this.valueStart:this.value,t=String(p);this.adapter.setInputAttribute(d.attributes.INPUT_VALUE, 1259t,h);this.isRange&&h===a.Thumb.START?this.adapter.setInputAttribute(d.attributes.INPUT_MIN,t,a.Thumb.END):this.isRange&&h===a.Thumb.END&&this.adapter.setInputAttribute(d.attributes.INPUT_MAX,t,a.Thumb.START);this.adapter.getInputValue(h)!==t&&this.adapter.setInputValue(t,h);(t=this.adapter.getValueToAriaValueTextFn())&&this.adapter.setInputAttribute(d.attributes.ARIA_VALUETEXT,t(p),h)}};k.prototype.updateValueIndicatorUI=function(h){this.isDiscrete&&(this.adapter.setValueIndicatorText(this.isRange&& 1260h===a.Thumb.START?this.valueStart:this.value,h===a.Thumb.START?a.Thumb.START:a.Thumb.END),!h&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,a.Thumb.START))};k.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var h=(this.value-this.valueStart)/this.step+1,p=(this.max-this.value)/this.step,t=Array.from({length:(this.valueStart-this.min)/this.step}).fill(a.TickMark.INACTIVE);h=Array.from({length:h}).fill(a.TickMark.ACTIVE);p=Array.from({length:p}).fill(a.TickMark.INACTIVE); 1261this.adapter.updateTickMarks(t.concat(h).concat(p))}};k.prototype.mapClientXOnSliderScale=function(h){h=(h-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(h=1-h);h=this.min+h*(this.max-this.min);return h===this.max||h===this.min?h:Number(this.quantize(h).toFixed(this.numDecimalPlaces))};k.prototype.quantize=function(h){return this.min+Math.round((h-this.min)/this.step)*this.step};k.prototype.updateValue=function(h,p,t){t=(void 0===t?{}:t).emitInputEvent;h=this.clampValue(h,p);if(this.isRange&& 1262p===a.Thumb.START){if(this.valueStart===h)return;this.valueStart=h}else{if(this.value===h)return;this.value=h}this.updateUI(p);t&&this.adapter.emitInputEvent(p===a.Thumb.START?this.valueStart:this.value,p)};k.prototype.clampValue=function(h,p){h=Math.min(Math.max(h,this.min),this.max);return this.isRange&&p===a.Thumb.START&&h>this.value?this.value:this.isRange&&p===a.Thumb.END&&h<this.valueStart?this.valueStart:h};k.prototype.updateThumbAndTrackUI=function(h){var p=this,t=this.max,u=this.min,z=(this.value- 1263this.valueStart)/(t-u),C=z*this.rect.width,B=this.adapter.isRTL(),x=f?c.getCorrectPropertyName(window,"transform"):"transform";if(this.isRange){var w=this.adapter.isRTL()?(t-this.value)/(t-u)*this.rect.width:(this.valueStart-u)/(t-u)*this.rect.width,y=w+C;this.animFrame.request(b.SLIDER_UPDATE,function(){!B&&h===a.Thumb.START||B&&h!==a.Thumb.START?(p.adapter.setTrackActiveStyleProperty("transform-origin","right"),p.adapter.setTrackActiveStyleProperty("left","unset"),p.adapter.setTrackActiveStyleProperty("right", 1264p.rect.width-y+"px")):(p.adapter.setTrackActiveStyleProperty("transform-origin","left"),p.adapter.setTrackActiveStyleProperty("right","unset"),p.adapter.setTrackActiveStyleProperty("left",w+"px"));p.adapter.setTrackActiveStyleProperty(x,"scaleX("+z+")");var A=B?y:w,D=p.adapter.isRTL()?w:y;h!==a.Thumb.START&&h&&p.initialStylesRemoved||p.adapter.setThumbStyleProperty(x,"translateX("+A+"px)",a.Thumb.START);h!==a.Thumb.END&&h&&p.initialStylesRemoved||p.adapter.setThumbStyleProperty(x,"translateX("+D+ 1265"px)",a.Thumb.END);p.removeInitialStyles(B);p.updateOverlappingThumbsUI(A,D,h)})}else this.animFrame.request(b.SLIDER_UPDATE,function(){p.adapter.setThumbStyleProperty(x,"translateX("+(B?p.rect.width-C:C)+"px)",a.Thumb.END);p.adapter.setTrackActiveStyleProperty(x,"scaleX("+z+")");p.removeInitialStyles(B)})};k.prototype.removeInitialStyles=function(h){this.initialStylesRemoved||(h=h?"right":"left",this.adapter.removeThumbStyleProperty(h,a.Thumb.END),this.isRange&&this.adapter.removeThumbStyleProperty(h, 1266a.Thumb.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation())};k.prototype.resetTrackAndThumbAnimation=function(){var h=this;if(this.isDiscrete){var p=f?c.getCorrectPropertyName(window,"transition"):"transition";this.adapter.setThumbStyleProperty(p,"all 0s ease 0s",a.Thumb.END);this.isRange&&this.adapter.setThumbStyleProperty(p,"all 0s ease 0s",a.Thumb.START);this.adapter.setTrackActiveStyleProperty(p,"all 0s ease 0s");requestAnimationFrame(function(){h.adapter.removeThumbStyleProperty(p, 1267a.Thumb.END);h.adapter.removeTrackActiveStyleProperty(p);h.isRange&&h.adapter.removeThumbStyleProperty(p,a.Thumb.START)})}};k.prototype.updateOverlappingThumbsUI=function(h,p,t){(this.adapter.isRTL()?p+this.endThumbKnobWidth/2>=h-this.startThumbKnobWidth/2:h+this.startThumbKnobWidth/2>=p-this.endThumbKnobWidth/2)?(this.adapter.addThumbClass(d.cssClasse
1267s.THUMB_TOP,t||a.Thumb.END),this.adapter.removeThumbClass(d.cssClasses.THUMB_TOP,t===a.Thumb.START?a.Thumb.END:a.Thumb.START)):(this.adapter.removeThumbClass(d.cssClasses.THUMB_TOP, 1268a.Thumb.START),this.adapter.removeThumbClass(d.cssClasses.THUMB_TOP,a.Thumb.END))};k.prototype.convertAttributeValueToNumber=function(h,p){if(null===h)throw Error("MDCSliderFoundation: `"+p+"` must be non-null.");var t=Number(h);if(isNaN(t))throw Error("MDCSliderFoundation: `"+p+"` value is `"+(h+"`, but must be a number."));return t};k.prototype.validateProperties=function(h){var p=h.min,t=h.max,u=h.value,z=h.valueStart;h=h.step;if(p>=t)throw Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+ 1269(p+", max: "+t+"]"));if(0>=h)throw Error("MDCSliderFoundation: step must be a positive number. Current step: "+this.step);if(this.isRange){if(u<p||u>t||z<p||z>t)throw Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+(z+", end value: "+u+"]"));if(z>u)throw Error("MDCSliderFoundation: start value must be \x3c\x3d end value. Current values: [start value: "+(z+", end value: "+u+"]"));if(0!==(z-p)/h%1||0!==(u-p)/h%1)throw Error("MDCSliderFoundation: Slider values must be valid based on the step value. Current values: [start value: "+ 1270(z+", end value: ")+(u+"]"));}else{if(u<p||u>t)throw Error("MDCSliderFoundation: value must be in [min, max] range. Current value: "+u);if(0!==(u-p)/h%1)throw Error("MDCSliderFoundation: Slider value must be valid based on the step value. Current value: "+u);}};k.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener);k.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup", 1271this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener));this.isRange&&(this.adapter.registerThumbEventHandler(a.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(a.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(a.Thumb.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(a.Thumb.START, 1272"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(a.Thumb.START,"blur",this.inputStartBlurListener));this.adapter.registerThumbEventHandler(a.Thumb.END,"mouseenter",this.thumbMouseenterListener);this.adapter.registerThumbEventHandler(a.Thumb.END,"mouseleave",this.thumbMouseleaveListener);this.adapter.registerInputEventHandler(a.Thumb.END,"change",this.inputEndChangeListener);this.adapter.registerInputEventHandler(a.Thumb.END,"focus",this.inputEndFocusListener);this.adapter.registerInputEventHandler(a.Thumb.END, 1273"blur",this.inputEndBlurListener)};k.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener);k.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)); 1274this.isRange&&(this.adapter.deregisterThumbEventHandler(a.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(a.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(a.Thumb.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(a.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(a.Thumb.START,"blur",this.inputStartBlurListener));this.adapter.deregisterThumbEventHandler(a.Thumb.END, 1275"mouseenter",this.thumbMouseenterListener);this.adapter.deregisterThumbEventHandler(a.Thumb.END,"mouseleave",this.thumbMouseleaveListener);this.adapter.deregisterInputEventHandler(a.Thumb.END,"change",this.inputEndChangeListener);this.adapter.deregisterInputEventHandler(a.Thumb.END,"focus",this.inputEndFocusListener);this.adapter.deregisterInputEventHandler(a.Thumb.END,"blur",this.inputEndBlurListener)};k.prototype.handlePointerup=function(){this.handleUp();this.adapter.deregisterEventHandler("pointermove", 1276this.moveListener)};k.SUPPORTS_POINTER_EVENTS=f&&!!window.PointerEvent&&!("iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document);return k}(r.MDCFoundation);e.MDCSliderFoundation=n},
1276"./packages/mdc-slider/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}: 1277function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-slider/adapter.ts"),e);r(n("./packages/mdc-slider/component.ts"),e);r(n("./packages/mdc-slider/constants.ts"),e);r(n("./packages/mdc-slider/foundation.ts"),e);r(n("./packages/mdc-slider/types.ts"),e)},
1277"./packages/mdc-slider/types.ts":function(r,e,n){Object.defineProperty(e, 1278"__esModule",{value:!0});e.Thumb=e.TickMark=void 0;(function(v){v[v.ACTIVE=0]="ACTIVE";v[v.INACTIVE=1]="INACTIVE"})(e.TickMark||(e.TickMark={}));(function(v){v[v.START=1]="START";v[v.END=2]="END"})(e.Thumb||(e.Thumb={}))},
1278"./packages/mdc-snackbar/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1278"./packages/mdc-snackbar/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var C=function(B,x){C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w, 1279y){w.__proto__=y}||function(w,y){for(var A in y)Object.prototype.hasOwnProperty.call(y,A)&&(w[A]=y[A])};return C(B,x)};return function(B,x){function w(){this.constructor=B}if("function"!==typeof x&&null!==x)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");C(B,x);B.prototype=null===x?Object.create(x):(w.prototype=x.prototype,new w)}}(),q=this&&this.__createBinding||(Object.create?function(C,B,x,w){void 0===w&&(w=x);Object.defineProperty(C,w,{enumerable:!0,get:function(){return B[x]}})}: 1280function(C,B,x,w){void 0===w&&(w=x);C[w]=B[x]}),m=this&&this.__setModuleDefault||(Object.create?function(C,B){Object.defineProperty(C,"default",{enumerable:!0,value:B})}:function(C,B){C["default"]=B});r=this&&this.__importStar||function(C){if(C&&C.__esModule)return C;var B={};if(null!=C)for(var x in C)"default"!==x&&Object.prototype.hasOwnProperty.call(C,x)&&q(B,C,x);m(B,C);return B};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSnackbar=void 0;var g=n("./packages/mdc-base/component.ts"), 1281c=n("./packages/mdc-dom/ponyfill.ts"),d=n("./packages/mdc-snackbar/constants.ts"),a=n("./packages/mdc-snackbar/foundation.ts"),b=r(n("./packages/mdc-snackbar/util.ts")),f=d.strings.SURFACE_SELECTOR,l=d.strings.LABEL_SELECTOR,k=d.strings.ACTION_SELECTOR,h=d.strings.DISMISS_SELECTOR,p=d.strings.OPENING_EVENT,t=d.strings.OPENED_EVENT,u=d.strings.CLOSING_EVENT,z=d.strings.CLOSED_EVENT;n=function(C){function B(){return null!==C&&C.apply(this,arguments)||this}v(B,C);B.attachTo=function(x){return new B(x)}; 1282B.prototype.initialize=function(x){void 0===x&&(x=function(){return b.announce});this.announce=x()};B.prototype.initialSyncWithDOM=function(){var x=this;this.surfaceEl=this.root.querySelector(f);this.labelEl=this.root.querySelector(l);this.actionEl=this.root.querySelector(k);this.handleKeyDown=function(w){x.foundation.handleKeyDown(w)};this.handleSurfaceClick=function(w){var y=w.target;x.isActionButton(y)?x.foundation.handleActionButtonClick(w):x.isActionIcon(y)&&x.foundation.handleActionIconClick(w)}; 1283this.registerKeyDownHandler(this.handleKeyDown);this.registerSurfaceClickHandler(this.handleSurfaceClick)};B.prototype.destroy=function(){C.prototype.destroy.call(this);this.deregisterKeyDownHandler(this.handleKeyDown);this.deregisterSurfaceClickHandler(this.handleSurfaceClick)};B.prototype.open=function(){this.foundation.open()};B.prototype.close=function(x){void 0===x&&(x="");this.foundation.close(x)};B.prototype.getDefaultFoundation=function(){var x=this;return new a.MDCSnackbarFoundation({addClass:function(w){x.root.classList.add(w)}, 1284announce:function(){x.announce(x.labelEl)},notifyClosed:function(w){return x.emit(z,w?{reason:w}:{})},notifyClosing:function(w){return x.emit(u,w?{reason:w}:{})},notifyOpened:function(){return x.emit(t,{})},notifyOpening:function(){return x.emit(p,{})},removeClass:function(w){return x.root.classList.remove(w)}})};Object.defineProperty(B.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(x){this.foundation.setTimeoutMs(x)},enumerable:!1,configurable:!0});Object.defineProperty(B.prototype, 1285"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(x){this.foundation.setCloseOnEscape(x)},enumerable:!1,configurable:!0});Object.defineProperty(B.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0});Object.defineProperty(B.prototype,"labelText",{get:function(){return this.labelEl.textContent},set:function(x){this.labelEl.textContent=x},enumerable:!1,configurable:!0});Object.defineProperty(B.prototype,"actionButtonText", 1286{get:function(){return this.actionEl.textContent},set:function(x){this.actionEl.textContent=x},enumerable:!1,configurable:!0});B.prototype.registerKeyDownHandler=function(x){this.listen("keydown",x)};B.prototype.deregisterKeyDownHandler=function(x){this.unlisten("keydown",x)};B.prototype.registerSurfaceClickHandler=function(x){this.surfaceEl.addEventListener("click",x)};B.prototype.deregisterSurfaceClickHandler=function(x){this.surfaceEl.removeEventListener("click",x)};B.prototype.isActionButton= 1287function(x){return!!c.closest(x,k)};B.prototype.isActionIcon=function(x){return!!c.closest(x,h)};return B}(g.MDCComponent);e.MDCSnackbar=n},
1287"./packages/mdc-snackbar/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={CLOSING:"mdc-snackbar--closing",OPEN:"mdc-snackbar--open",OPENING:"mdc-snackbar--opening"};e.strings={ACTION_SELECTOR:".mdc-snackbar__action",ARIA_LIVE_LABEL_TEXT_ATTR:"data-mdc-snackbar-label-text",CLOSED_EVENT:"MDCSnackbar:closed", 1288CLOSING_EVENT:"MDCSnackbar:closing",DISMISS_SELECTOR:".mdc-snackbar__dismiss",LABEL_SELECTOR:".mdc-snackbar__label",OPENED_EVENT:"MDCSnackbar:opened",OPENING_EVENT:"MDCSnackbar:opening",REASON_ACTION:"action",REASON_DISMISS:"dismiss",SURFACE_SELECTOR:".mdc-snackbar__surface"};e.numbers={DEFAULT_AUTO_DISMISS_TIMEOUT_MS:5E3,INDETERMINATE:-1,MAX_AUTO_DISMISS_TIMEOUT_MS:1E4,MIN_AUTO_DISMISS_TIMEOUT_MS:4E3,SNACKBAR_ANIMATION_CLOSE_TIME_MS:75,SNACKBAR_ANIMATION_OPEN_TIME_MS:150,ARIA_LIVE_DELAY_MS:1E3}},
1289"./packages/mdc-snackbar/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var f=function(l,k){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var t in p)Object.prototype.hasOwnProperty.call(p,t)&&(h[t]=p[t])};return f(l,k)};return function(l,k){function h(){this.constructor=l}if("function"!==typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");f(l,k);l.prototype=null=== 1290k?Object.create(k):(h.prototype=k.prototype,new h)}}(),q=this&&this.__assign||function(){q=Object.assign||function(f){for(var l,k=1,h=arguments.length;k<h;k++){l=arguments[k];for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(f[p]=l[p])}return f};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSnackbarFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-snackbar/constants.ts"),g=m.cssClasses.OPENING,c=m.cssClasses.OPEN,d= 1291m.cssClasses.CLOSING,a=m.strings.REASON_ACTION,b=m.strings.REASON_DISMISS;n=function(f){function l(k){k=f.call(this,q(q({},l.defaultAdapter),k))||this;k.opened=!1;k.animationFrame=0;k.animationTimer=0;k.autoDismissTimer=0;k.autoDismissTimeoutMs=m.numbers.DEFAULT_AUTO_DISMISS_TIMEOUT_MS;k.closeOnEscape=!0;return k}v(l,f);Object.defineProperty(l,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(l,"strings",{get:function(){return m.strings},enumerable:!1, 1292configurable:!0});Object.defineProperty(l,"numbers",{get:function(){return m.numbers},enumerable:!1,configurable:!0});Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},announce:function(){},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},removeClass:function(){}}},enumerable:!1,configurable:!0});l.prototype.destroy=function(){this.clearAutoDismissTimer();cancelAnimationFrame(this.animationFrame);this.animationFrame= 12930;clearTimeout(this.animationTimer);this.animationTimer=0;this.adapter.removeClass(g);this.adapter.removeClass(c);this.adapter.removeClass(d)};l.prototype.open=function(){var k=this;this.clearAutoDismissTimer();this.opened=!0;this.adapter.notifyOpening();this.adapter.removeClass(d);this.adapter.addClass(g);this.adapter.announce();this.runNextAnimationFrame(function(){k.adapter.addClass(c);k.animationTimer=setTimeout(function(){var h=k.getTimeoutMs();k.handleAnimationTimerEnd();k.adapter.notifyOpened(); 1294h!==m.numbers.INDETERMINATE&&(k.autoDismissTimer=setTimeout(function(){k.close(b)},h))},m.numbers.SNACKBAR_ANIMATION_OPEN_TIME_MS)})};l.prototype.close=function(k){var h=this;void 0===k&&(k="");this.opened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.clearAutoDismissTimer(),this.opened=!1,this.adapter.notifyClosing(k),this.adapter.addClass(m.cssClasses.CLOSING),this.adapter.removeClass(m.cssClasses.OPEN),this.adapter.removeClass(m.cssClasses.OPENING),clearTimeout(this.animationTimer), 1295this.animationTimer=setTimeout(function(){h.handleAnimationTimerEnd();h.adapter.notifyClosed(k)},m.numbers.SNACKBAR_ANIMATION_CLOSE_TIME_MS))};l.prototype.isOpen=function(){return this.opened};l.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs};l.prototype.setTimeoutMs=function(k){var h=m.numbers.MIN_AUTO_DISMISS_TIMEOUT_MS,p=m.numbers.MAX_AUTO_DISMISS_TIMEOUT_MS,t=m.numbers.INDETERMINATE;if(k===m.numbers.INDETERMINATE||k<=p&&k>=h)this.autoDismissTimeoutMs=k;else throw Error("\n timeoutMs must be an integer in the range "+ 1296h+"\u2013"+p+"\n (or "+t+" to disable), but got '"+k+"'");};l.prototype.getCloseOnEscape=function(){return this.closeOnEscape};l.prototype.setCloseOnEscape=function(k){this.closeOnEscape=k};l.prototype.handleKeyDown=function(k){"Escape"!==k.key&&27!==k.keyCode||!this.getCloseOnEscape()||this.close(b)};l.prototype.handleActionButtonClick=function(k){this.close(a)};l.prototype.handleActionIconClick=function(k){this.close(b)};l.prototype.clearAutoDismissTimer=function(){clearTimeout(this.autoDismissTimer); 1297this.autoDismissTimer=0};l.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0;
1297this.adapter.removeClass(m.cssClasses.OPENING);this.adapter.removeClass(m.cssClasses.CLOSING)};l.prototype.runNextAnimationFrame=function(k){var h=this;cancelAnimationFrame(this.animationFrame);this.animationFrame=requestAnimationFrame(function(){h.animationFrame=0;clearTimeout(h.animationTimer);h.animationTimer=setTimeout(k,0)})};return l}(r.MDCFoundation);e.MDCSnackbarFoundation=n;e.default=n},
1297"./packages/mdc-snackbar/index.ts":function(r, 1298e,n){var v=this&&this.__createBinding||(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}:function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault||(Object.create?function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c}),m=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var c={};if(null!=g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g, 1299d)&&v(c,g,d);q(c,g);return c};r=this&&this.__exportStar||function(g,c){for(var d in g)"default"===d||Object.prototype.hasOwnProperty.call(c,d)||v(c,g,d)};Object.defineProperty(e,"__esModule",{value:!0});e.util=void 0;m=m(n("./packages/mdc-snackbar/util.ts"));e.util=m;r(n("./packages/mdc-snackbar/adapter.ts"),e);r(n("./packages/mdc-snackbar/component.ts"),e);r(n("./packages/mdc-snackbar/constants.ts"),e);r(n("./packages/mdc-snackbar/foundation.ts"),e);r(n("./packages/mdc-snackbar/types.ts"),e)},
1299"./packages/mdc-snackbar/types.ts":function(r, 1300e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1300"./packages/mdc-snackbar/util.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.announce=void 0;r=n("./packages/mdc-snackbar/constants.ts");var v=r.numbers.ARIA_LIVE_DELAY_MS,q=r.strings.ARIA_LIVE_LABEL_TEXT_ATTR;e.announce=function(m,g){void 0===g&&(g=m);var c=m.getAttribute("aria-live"),d=g.textContent.trim();d&&c&&(m.setAttribute("aria-live","off"),g.textContent="",g.innerHTML='\x3cspan style\x3d"display: inline-block; width: 0; height: 1px;"\x3e\x26nbsp;\x3c/span\x3e', 1301g.setAttribute(q,d),setTimeout(function(){m.setAttribute("aria-live",c);g.removeAttribute(q);g.textContent=d},v))}},
1301"./packages/mdc-switch/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1301"./packages/mdc-switch/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,k){l.__proto__=k}||function(l,k){for(var h in k)Object.prototype.hasOwnProperty.call(k,h)&&(l[h]=k[h])}; 1302return a(b,f)};return function(b,f){function l(){this.constructor=b}if("function"!==typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");a(b,f);b.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),q=this&&this.__assign||function(){q=Object.assign||function(a){for(var b,f=1,l=arguments.length;f<l;f++){b=arguments[f];for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(a[k]=b[k])}return a};return q.apply(this,arguments)}; 1303Object.defineProperty(e,"__esModule",{value:!0});e.MDCSwitch=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-ripple/component.ts"),g=n("./packages/mdc-ripple/foundation.ts"),c=n("./packages/mdc-switch/constants.ts"),d=n("./packages/mdc-switch/foundation.ts");n=function(a){function b(f,l){l=a.call(this,f,l)||this;l.root=f;return l}v(b,a);b.attachTo=function(f){return new b(f)};b.prototype.initialize=function(){this.ripple=new m.MDCRipple(this.root,this.createRippleFoundation())}; 1304b.prototype.initialSyncWithDOM=function(){var f=this.root.querySelector(c.Selectors.RIPPLE);if(!f)throw Error("Switch "+c.Selectors.RIPPLE+" element is required.");this.rippleElement=f;this.root.addEventListener("click",this.foundation.handleClick);this.foundation.initFromDOM()};b.prototype.destroy=function(){a.prototype.destroy.call(this);this.ripple.destroy();this.root.removeEventListener("click",this.foundation.handleClick)};b.prototype.getDefaultFoundation=function(){return new d.MDCSwitchRenderFoundation(this.createAdapter())}; 1305b.prototype.createAdapter=function(){var f=this;return{addClass:function(l){f.root.classList.add(l)},hasClass:function(l){return f.root.classList.contains(l)},isDisabled:function(){return f.root.disabled},removeClass:function(l){f.root.classList.remove(l)},setAriaChecked:function(l){return f.root.setAttribute("aria-checked",l)},setDisabled:function(l){f.root.disabled=l},state:this}};b.prototype.createRippleFoundation=function(){return new g.MDCRippleFoundation(this.createRippleAdapter())};b.prototype.createRippleAdapter= 1306function(){var f=this;return q(q({},m.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return f.rippleElement.getBoundingClientRect()},isUnbounded:function(){return!0}})};return b}(r.MDCComponent);e.MDCSwitch=n},
1306"./packages/mdc-switch/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.Selectors=e.CssClasses=void 0;r=e.CssClasses||(e.CssClasses={});r.PROCESSING="mdc-switch--processing";r.SELECTED="mdc-switch--selected";r.UNSELECTED="mdc-switch--unselected"; 1307(e.Selectors||(e.Selectors={})).RIPPLE=".mdc-switch__ripple"},
1307"./packages/mdc-switch/deprecated/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1307"./packages/mdc-switch/deprecated/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var l=function(k,h){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,t){p.__proto__=t}||function(p,t){for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(p[u]=t[u])};return l(k,h)};return function(k, 1308h){function p(){this.constructor=k}if("function"!==typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");l(k,h);k.prototype=null===h?Object.create(h):(p.prototype=h.prototype,new p)}}(),q=this&&this.__assign||function(){q=Object.assign||function(l){for(var k,h=1,p=arguments.length;h<p;h++){k=arguments[h];for(var t in k)Object.prototype.hasOwnProperty.call(k,t)&&(l[t]=k[t])}return l};return q.apply(this,arguments)},m=this&&this.__read||function(l, 1309k){var h="function"===typeof Symbol&&l[Symbol.iterator];if(!h)return l;l=h.call(l);var p,t=[];try{for(;(void 0===k||0<k--)&&!(p=l.next()).done;)t.push(p.value)}catch(z){var u={error:z}}finally{try{p&&!p.done&&(h=l["return"])&&h.call(l)}finally{if(u)throw u.error;}}return t},g=this&&this.__spreadArray||function(l,k){for(var h=0,p=k.length,t=l.length;h<p;h++,t++)l[t]=k[h];return l};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSwitch=void 0;r=n("./packages/mdc-base/component.ts");var c=n("./packages/mdc-dom/events.ts"), 1310d=n("./packages/mdc-dom/ponyfill.ts"),a=n("./packages/mdc-ripple/component.ts"),b=n("./packages/mdc-ripple/foundation.ts"),f=n("./packages/mdc-switch/deprecated/foundation.ts");n=function(l){function k(){var h=null!==l&&l.apply(this,arguments)||this;h.rippleSurface=h.createRipple();return h}v(k,l);k.attachTo=function(h){return new k(h)};k.prototype.destroy=function(){l.prototype.destroy.call(this);this.rippleSurface.destroy();this.nativeControl.removeEventListener("change",this.changeHandler)};k.prototype.initialSyncWithDOM= 1311function(){var h=this;this.changeHandler=function(){for(var p,t=[],u=0;u<arguments.length;u++)t[u]=arguments[u];(p=h.foundation).handleChange.apply(p,g([],m(t)))};this.nativeControl.addEventListener("change",this.changeHandler);this.checked=this.checked};k.prototype.getDefaultFoundation=function(){var h=this;return new f.MDCSwitchFoundation({addClass:function(p){return h.root.classList.add(p)},removeClass:function(p){return h.root.classList.remove(p)},setNativeControlChecked:function(p){return h.nativeControl.checked= 1312p},setNativeControlDisabled:function(p){return h.nativeControl.disabled=p},setNativeControlAttr:function(p,t){h.nativeControl.setAttribute(p,t)}})};Object.defineProperty(k.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"checked",{get:function(){return this.nativeControl.checked},set:function(h){this.foundation.setChecked(h)},enumerable:!1,configurable:!0});Object.defineProperty(k.prototype,"disabled",{get:function(){return this.nativeControl.disabled}, 1313set:function(h){this.foundation.setDisabled(h)},enumerable:!1,configurable:!0});k.prototype.createRipple=function(){var h=this,p=this.root.querySelector(f.MDCSwitchFoundation.strings.RIPPLE_SURFACE_SELECTOR),t=q(q({},a.MDCRipple.createAdapter(this)),{addClass:function(u){return p.classList.add(u)},computeBoundingRect:function(){return p.getBoundingClientRect()},deregisterInteractionHandler:function(u,z){h.nativeControl.removeEventListener(u,z,c.applyPassive())},isSurfaceActive:function(){return d.matches(h.nativeControl, 1314":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(u,z){h.nativeControl.addEventListener(u,z,c.applyPassive())},removeClass:function(u){p.classList.remove(u)},updateCssVariable:function(u,z){p.style.setProperty(u,z)}});return new a.MDCRipple(this.root,new b.MDCRippleFoundation(t))};Object.defineProperty(k.prototype,"nativeControl",{get:function(){return this.root.querySelector(f.MDCSwitchFoundation.strings.NATIVE_CONTROL_SELECTOR)},enumerable:!1,configurable:!0});return k}(r.MDCComponent); 1315e.MDCSwitch=n},
1315"./packages/mdc-switch/deprecated/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={CHECKED:"mdc-switch--checked",DISABLED:"mdc-switch--disabled"};e.strings={ARIA_CHECKED_ATTR:"aria-checked",NATIVE_CONTROL_SELECTOR:".mdc-switch__native-control",RIPPLE_SURFACE_SELECTOR:".mdc-switch__thumb-underlay"}},
1315"./packages/mdc-switch/deprecated/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c, 1316d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c, 1317d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCSwitchFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-switch/deprecated/constants.ts");n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1, 1318configurable:!0});Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlChecked:function(){},setNativeControlDisabled:function(){},setNativeControlAttr:function(){}}},enumerable:!1,configurable:!0});c.prototype.setChecked=function(d){this.adapter.setNativeControlChecked(d);this.updateAriaChecked(d);this.updateCheckedStyling(d)}; 1319c.prototype.setDisabled=function(d){this.adapter.setNativeControlDisabled(d);d?this.adapter.addClass(m.cssClasses.DISABLED):this.adapter.removeClass(m.cssClasses.DISABLED)};c.prototype.handleChange=function(d){d=d.target;this.updateAriaChecked(d.checked);this.updateCheckedStyling(d.checked)};c.prototype.updateCheckedStyling=function(d){d?this.adapter.addClass(m.cssClasses.CHECKED):this.adapter.removeClass(m.cssClasses.CHECKED)};c.prototype.updateAriaChecked=function(d){this.adapter.setNativeControlAttr(m.strings.ARIA_CHECKED_ATTR, 1320""+!!d)};return c}(r.MDCFoundation);e.MDCSwitchFoundation=n;e.default=n},
1320"./packages/mdc-switch/deprecated/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0}); 1321r(n("./packages/mdc-switch/deprecated/adapter.ts"),e);r(n("./packages/mdc-switch/deprecated/component.ts"),e);r(n("./packages/mdc-switch/deprecated/constants.ts"),e);r(n("./packages/mdc-switch/deprecated/foundation.ts"),e)},
1321"./packages/mdc-switch/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]= 1322a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCSwitchRenderFoundation=e.MDCSwitchFoundation=void 0;r=n("./packages/mdc-base/observer-foundation.ts");var q=n("./packages/mdc-switch/constants.ts");n=function(m){function g(c){c= 1323m.call(this,c)||this;c.handleClick=c.handleClick.bind(c);return c}v(g,m);g.prototype.init=function(){this.observe(this.adapter.state,{disabled:this.stopProcessingIfDisabled,processing:this.stopProcessingIfDisabled})};g.prototype.handleClick=function(){this.adapter.state.disabled||(this.adapter.state.selected=!this.adapter.state.selected)};g.prototype.stopProcessingIfDisabled=function(){this.adapter.state.disabled&&(this.adapter.state.processing=!1)};return g}(r.MDCObserverFoundation);e.MDCSwitchFoundation= 1324n;n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.prototype.init=function(){m.prototype.init.call(this);this.observe(this.adapter.state,{disabled:this.onDisabledChange,processing:this.onProcessingChange,selected:this.onSelectedChange})};g.prototype.initFromDOM=function(){this.setObserversEnabled(this.adapter.state,!1);this.adapter.state.selected=this.adapter.hasClass(q.CssClasses.SELECTED);this.onSelectedChange();this.adapter.state.disabled=this.adapter.isDisabled(); 1325this.adapter.state.processing=this.adapter.hasClass(q.CssClasses.PROCESSING);this.setObserversEnabled(this.adapter.state,!0);this.stopProcessingIfDisabled()};g.prototype.onDisabledChange=function(){this.adapter.setDisabled(this.adapter.state.disabled)};g.prototype.onProcessingChange=function(){this.toggleClass(this.adapter.state.processing,q.CssClasses.PROCESSING)};g.prototype.onSelectedChange=function(){this.adapter.setAriaChecked(String(this.adapter.state.selected));this.toggleClass(this.adapter.state.selected, 1326q.CssClasses.SELECTED);this.toggleClass(!this.adapter.state.selected,q.CssClasses.UNSELECTED)};g.prototype.toggleClass=function(c,d){c?this.adapter.addClass(d):this.adapter.removeClass(d)};return g}(n);e.MDCSwitchRenderFoundation=n},
1326"./packages/mdc-switch/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}:function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault|| 1327(Object.create?function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c}),m=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var c={};if(null!=g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g,d)&&v(c,g,d);q(c,g);return c};r=this&&this.__exportStar||function(g,c){for(var d in g)"default"===d||Object.prototype.hasOwnProperty.call(c,d)||v(c,g,d)};Object.defineProperty(e,"__esModule",{value:!0});e.deprecated=void 0;m= 1328m(n("./packages/mdc-switch/deprecated/index.ts"));e.deprecated=m;r(n("./packages/mdc-switch/adapter.ts"),e);r(n("./packages/mdc-switch/component.ts"),e);r(n("./packages/mdc-switch/constants.ts"),e);r(n("./packages/mdc-switch/foundation.ts"),e)},
1328"./packages/mdc-tab-bar/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1328"./packages/mdc-tab-bar/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var f=function(l,k){f=Object.setPrototypeOf||{__proto__:[]}instanceof 1329Array&&function(h,p){h.__proto__=p}||function(h,p){for(var t in p)Object.prototype.hasOwnProperty.call(p,t)&&(h[t]=p[t])};return f(l,k)};return function(l,k){function h(){this.constructor=l}if("function"!==typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");f(l,k);l.prototype=null===k?Object.create(k):(h.prototype=k.prototype,new h)}}(),q=this&&this.__values||function(f){var l="function"===typeof Symbol&&Symbol.iterator,k=l&&f[l],h=0;if(k)return k.call(f); 1330if(f&&"number"===typeof f.length)return{next:function(){f&&h>=f.length&&(f=void 0);return{value:f&&f[h++],done:!f}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabBar=void 0;r=n("./packages/mdc-base/component.ts");var m=n("./packages/mdc-tab-scroller/component.ts"),g=n("./packages/mdc-tab/component.ts"),c=n("./packages/mdc-tab/foundation.ts"),d=n("./packages/mdc-tab-bar/foundation.ts"),a=d.MDCTabBarFoundation.strings, 1331b=0;n=function(f){function l(){return null!==f&&f.apply(this,arguments)||this}v(l,f);l.attachTo=function(k){return new l(k)};Object.defineProperty(l.prototype,"focusOnActivate",{set:function(k){var h;try{for(var p=q(this.tabList),t=p.next();!t.done;t=p.next())t.value.focusOnActivate=k}catch(z){var u={error:z}}finally{try{t&&!t.done&&(h=p.return)&&h.call(p)}finally{if(u)throw u.error;}}},enumerable:!1,configurable:!0});Object.defineProperty(l.prototype,"useAutomaticActivation",{set:function(k){this.foundation.setUseAutomaticActivation(k)}, 1332enumerable:!1,configurable:!0});l.prototype.initialize=function(k,h){void 0===k&&(k=function(p){return new g.MDCTab(p)});void 0===h&&(h=function(p){return new m.MDCTabScroller(p)});this.tabList=this.instantiateTabs(k);this.tabScroller=this.instantiatetabScroller(h)};l.prototype.initialSyncWithDOM=function(){var k=this;this.handleTabInteraction=function(p){k.foundation.handleTabInteraction(p)};this.handleKeyDown=function(p){k.foundation.handleKeyDown(p)};this.listen(c.MDCTabFoundation.strings.INTERACTED_EVENT, 1333this.handleTabInteraction);this.listen("keydown",this.handleKeyDown);for(var h=0;h<this.tabList.length;h++)if(this.tabList[h].active){this.scrollIntoView(h);break}};l.prototype.destroy=function(){var k;f.prototype.destroy.call(this);this.unlisten(c.MDCTabFoundation.strings.INTERACTED_EVENT,this.handleTabInteraction);this.unlisten("keydown",this.handleKeyDown);try{for(var h=q(this.tabList),p=h.next();!p.done;p=h.next())p.value.destroy()}catch(u){var t={error:u}}finally{try{p&&!p.done&&(k=h.return)&& 1334k.call(h)}finally{if(t)throw t.error;}}this.tabScroller&&this.tabScroller.destroy()};l.prototype.getDefaultFoundation=function(){var k=this;return new d.MDCTabBarFoundation({scrollTo:function(h){k.tabScroller.scrollTo(h)},incrementScroll:function(h){k.tabScroller.incrementScroll(h)},getScrollPosition:function(){return k.tabScroller.getScrollPosition()},getScrollContentWidth:function(){return k.tabScroller.getScrollContentWidth()},getOffsetWidth:function(){return k.root.offsetWidth},isRTL:function(){return"rtl"=== 1335window.getComputedStyle(k.root).getPropertyValue("direction")},setActiveTab:function(h){k.foundation.activateTab(h)},activateTabAtIndex:function(h,p){k.tabList[h].activate(p)},deactivateTabAtIndex:function(h){k.tabList[h].deactivate()},focusTabAtIndex:function(h){k.tabList[h].focus()},getTabIndicatorClientRectAtIndex:function(h){return k.tabList[h].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(h){return k.tabList[h].computeDimensions()},getPreviousActiveTabIndex:function(){for(var h= 13360;h<k.tabList.length;h++)if(k.tabList[h].active)return h;return-1},getFocusedTabIndex:function(){return k.getTabElements().indexOf(document.activeElement)},getIndexOfTabById:function(h){for(var p=0;p<k.tabList.length;p++)if(k.tabList[p].id===h)return p;return-1},getTabListLength:function(){return k.tabList.length},notifyTabActivated:function(h){return k.emit(a.TAB_ACTIVATED_EVENT,{index:h},!0)}})};l.prototype.activateTab=function(k){this.foundation.activateTab(k)};l.prototype.scrollIntoView=function(k){this.foundation.scrollIntoView(k)}; 1337l.prototype.getTabElements=function(){return[].slice.call(this.root.querySelectorAll(a.TAB_SELECTOR))};l.prototype.instantiateTabs=function(k){return this.getTabElements().map(function(h){h.id=h.id||"mdc-tab-"+ ++b;return k(h)})};l.prototype.instantiatetabScroller=function(k){var h=this.root.querySelector(a.TAB_SCROLLER_SELECTOR);return h?k(h):null};return l}(r.MDCComponent);e.MDCTabBar=n},
1337"./packages/mdc-tab-bar/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings= 1338e.numbers=void 0;e.strings={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"};e.numbers={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32}},
1338"./packages/mdc-tab-bar/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d= 1339function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign|| 1340function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabBarFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-tab-bar/constants.ts"),g=new Set;g.add(m.strings.ARROW_LEFT_KEY);g.add(m.strings.ARROW_RIGHT_KEY);g.add(m.strings.END_KEY);g.add(m.strings.HOME_KEY);g.add(m.strings.ENTER_KEY);g.add(m.strings.SPACE_KEY); 1341var c=new Map;c.set(m.numbers.ARROW_LEFT_KEYCODE,m.strings.ARROW_LEFT_KEY);c.set(m.numbers.ARROW_RIGHT_KEYCODE,m.strings.ARROW_RIGHT_KEY);c.set(m.numbers.END_KEYCODE,m.strings.END_KEY);c.set(m.numbers.HOME_KEYCODE,m.strings.HOME_KEY);c.set(m.numbers.ENTER_KEYCODE,m.strings.ENTER_KEY);c.set(m.numbers.SPACE_KEYCODE,m.strings.SPACE_KEY);n=function(d){function a(b){b=d.call(this,q(q({},a.defaultAdapter),b))||this;b.useAutomaticActivation=!1;return b}v(a,d);Object.defineProperty(a,"strings",{get:function(){return m.strings}, 1342enumerable:!1,configurable:!0});Object.defineProperty(a,"numbers",{get:function(){return m.numbers},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){}, 1343getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!1,configurable:!0});a.prototype.setUseAutomaticActivation=function(b){this.useAutomaticActivation= 1344b};a.prototype.activateTab=function(b){var f=this.adapter.getPreviousActiveTabIndex();if(this.indexIsInRange(b)&&b!==f){if(-1!==f){this.adapter.deactivateTabAtIndex(f);var l=this.adapter.getTabIndicatorClientRectAtIndex(f)}this.adapter.activateTabAtIndex(b,l);this.scrollIntoView(b);this.adapter.notifyTabActivated(b)}};a.prototype.handleKeyDown=function(b){var f=this.getKeyFromEvent(b);void 0!==f&&(this.isActivationKey(f)||b.preventDefault(),this.useAutomaticActivation?this.isActivationKey(f)||(f= 1345this.determineTargetFromKey(this.adapter.getPreviousActiveTabIndex(),f),this.adapter.setActiveTab(f),this.scrollIntoView(f)):(b=this.adapter.getFocusedTabIndex(),this.isActivationKey(f)?this.adapter.setActiveTab(b):(f=this.determineTargetFromKey(b,f),this.adapter.focusTabAtIndex(f),this.scrollIntoView(f))))};a.prototype.handleTabInteraction=function(b){this.adapter.setActiveTab(this.adapter.getIndexOfTabById(b.detail.tabId))};a.prototype.scrollIntoView=function(b){this.indexIsInRange(b)&&(0===b?this.adapter.scrollTo(0): 1346b===this.adapter.getTabListLength()-1?this.adapter.scrollTo(this.adapter.getScrollContentWidth()):this.isRTL()?this.scrollIntoViewImplRTL(b):this.scrollIntoViewImpl(b))};a.prototype.determineTargetFromKey=function(b,f){var l=this.isRTL(),k=this.adapter.getTabListLength()-1,h=f===m.strings.ARROW_LEFT_KEY&&!l||f===m.strings.ARROW_RIGHT_KEY&&l;l=f===m.strings.ARROW_RIGHT_KEY&&!l||f===m.strings.ARROW_LEFT_KEY&&l;b=f===m.strings.END_KEY?k:h?b-1:l?b+1:0;0>b?b=k:b>k&&(b=0);return b};a.prototype.calculateScrollIncrement= 1347function(b,f,l,k){var h=this.adapter.getTabDimensionsAtIndex(f),p=h.contentRight-l-m.numbers.EXTRA_SCROLL_AMOUNT;return f<b?Math.min(p,0):Math.max(h.contentLeft-l-k+m.numbers.EXTRA_SCROLL_AMOUNT,0)};a.prototype.calculateScrollIncrementRTL=function(b,f,l,k,h){var p=this.adapter.getTabDimensionsAtIndex(f);k=h-p.contentRight-l-k+m.numbers.EXTRA_SCROLL_AMOUNT;return f>b?Math.max(k,0):Math.min(h-p.contentLeft-l-m.numbers.EXTRA_SCROLL_AMOUNT,0)};a.prototype.findAdjacentTabIndexClosestToEdge=function(b, 1348f,l,k){var h=f.rootLeft-l;f=f.rootRight-l-k;l=h+f;return 0>h||0>l?b-1:0<f||0<l?b+1:-1};a.prototype.findAdjacentTabIndexClosestToEdgeRTL=function(b,f,l,k,h){k=h-f.rootLeft-k-l;f=h-f.rootRight-l;l=k+f;return 0<k||0<l?b+1:0>f||0>l?b-1:-1};a.prototype.getKeyFromEvent=function(b){return g.has(b.key)?b.key:c.get(b.keyCode)};a.prototype.isActivationKey=function(b){return b===m.strings.SPACE_KEY||b===m.strings.ENTER_KEY};a.prototype.indexIsInRange=function(b){return 0<=b&&b<this.adapter.getTabListLength()}; 1349a.prototype.isRTL=function(){return this.adapter.isRTL()};a.prototype.scrollIntoViewImpl=function(b){var f=this.adapter.getScrollPosition(),l=this.adapter.getOffsetWidth(),k=this.adapter.getTabDimensionsAtIndex(b);k=this.findAdjacentTabIndexClosestToEdge(b,k,f,l);this.indexIsInRange(k)&&(b=this.calculateScrollIncrement(b,k,f,l),this.adapter.incrementScroll(b))};a.prototype.scrollIntoViewImplRTL=function(b){var f=this.adapter.getScrollPosition(),l=this.adapter.getOffsetWidth(),k=this.adapter.getTabDimensionsAtIndex(b),
1350h=this.adapter.getScrollContentWidth();k=this.findAdjacentTabIndexClosestToEdgeRTL(b,k,f,l,h);this.indexIsInRange(k)&&(b=this.calculateScrollIncrementRTL(b,k,f,l,h),this.adapter.incrementScroll(b))};return a}(r.MDCFoundation);e.MDCTabBarFoundation=n;e.default=n},
1350"./packages/mdc-tab-bar/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c= 1351g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-tab-bar/adapter.ts"),e);r(n("./packages/mdc-tab-bar/component.ts"),e);r(n("./packages/mdc-tab-bar/constants.ts"),e);r(n("./packages/mdc-tab-bar/foundation.ts"),e);r(n("./packages/mdc-tab-bar/types.ts"),e)},
1351"./packages/mdc-tab-bar/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule", 1352{value:!0})},
1352"./packages/mdc-tab-indicator/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1352"./packages/mdc-tab-indicator/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var c=function(d,a){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,f){b.__proto__=f}||function(b,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(b[l]=f[l])};return c(d,a)};return function(d,a){function b(){this.constructor=d}if("function"!==typeof a&& 1353null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");c(d,a);d.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabIndicator=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-tab-indicator/fading-foundation.ts"),m=n("./packages/mdc-tab-indicator/foundation.ts"),g=n("./packages/mdc-tab-indicator/sliding-foundation.ts");n=function(c){function d(){return null!==c&& 1354c.apply(this,arguments)||this}v(d,c);d.attachTo=function(a){return new d(a)};d.prototype.initialize=function(){this.content=this.root.querySelector(m.MDCTabIndicatorFoundation.strings.CONTENT_SELECTOR)};d.prototype.computeContentClientRect=function(){return this.foundation.computeContentClientRect()};d.prototype.getDefaultFoundation=function(){var a=this,b={addClass:function(f){return a.root.classList.add(f)},removeClass:function(f){return a.root.classList.remove(f)},computeContentClientRect:function(){return a.content.getBoundingClientRect()}, 1355setContentStyleProperty:function(f,l){a.content.style.setProperty(f,l)}};return this.root.classList.contains(m.MDCTabIndicatorFoundation.cssClasses.FADE)?new q.MDCFadingTabIndicatorFoundation(b):new g.MDCSlidingTabIndicatorFoundation(b)};d.prototype.activate=function(a){this.foundation.activate(a)};d.prototype.deactivate=function(){this.foundation.deactivate()};return d}(r.MDCComponent);e.MDCTabIndicator=n},
1355"./packages/mdc-tab-indicator/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule", 1356{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"};e.strings={CONTENT_SELECTOR:".mdc-tab-indicator__content"}},
1356"./packages/mdc-tab-indicator/fading-foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a, 1357b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCFadingTabIndicatorFoundation=void 0;var q=n("./packages/mdc-tab-indicator/foundation.ts");r=function(m){function g(){return null!==m&&m.apply(this,arguments)||this} 1358v(g,m);g.prototype.activate=function(){this.adapter.addClass(q.MDCTabIndicatorFoundation.cssClasses.ACTIVE)};g.prototype.deactivate=function(){this.adapter.removeClass(q.MDCTabIndicatorFoundation.cssClasses.ACTIVE)};return g}(q.MDCTabIndicatorFoundation);e.MDCFadingTabIndicatorFoundation=r;e.default=r},
1358"./packages/mdc-tab-indicator/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__= 1359b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c, 1360b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabIndicatorFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-tab-indicator/constants.ts");n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1, 1361configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!1,configurable:!0});c.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()};return c}(r.MDCFoundation);e.MDCTabIndicatorFoundation=n;e.default=n},
1361"./packages/mdc-tab-indicator/index.ts":function(r, 1362e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-tab-indicator/adapter.ts"),e);r(n("./packages/mdc-tab-indicator/component.ts"),e);r(n("./packages/mdc-tab-indicator/constants.ts"), 1363e);r(n("./packages/mdc-tab-indicator/foundation.ts"),e);r(n("./packages/mdc-tab-indicator/fading-foundation.ts"),e);r(n("./packages/mdc-tab-indicator/sliding-foundation.ts"),e)},
1363"./packages/mdc-tab-indicator/sliding-foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g, 1364c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCSlidingTabIndicatorFoundation=void 0;var q=n("./packages/mdc-tab-indicator/foundation.ts");r=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.prototype.activate=function(c){if(c){var d= 1365this.computeContentClientRect(),a=c.width/d.width;c=c.left-d.left;this.adapter.addClass(q.MDCTabIndicatorFoundation.cssClasses.NO_TRANSITION);this.adapter.setContentStyleProperty("transform","translateX("+c+"px) scaleX("+a+")");this.computeContentClientRect();this.adapter.removeClass(q.MDCTabIndicatorFoundation.cssClasses.NO_TRANSITION);this.adapter.addClass(q.MDCTabIndicatorFoundation.cssClasses.ACTIVE);this.adapter.setContentStyleProperty("transform","")}else this.adapter.addClass(q.MDCTabIndicatorFoundation.cssClasses.ACTIVE)}; 1366g.prototype.deactivate=function(){this.adapter.removeClass(q.MDCTabIndicatorFoundation.cssClasses.ACTIVE)};return g}(q.MDCTabIndicatorFoundation);e.MDCSlidingTabIndicatorFoundation=r;e.default=r},
1366"./packages/mdc-tab-scroller/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1366"./packages/mdc-tab-scroller/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var f=function(l,k){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__= 1367p}||function(h,p){for(var t in p)Object.prototype.hasOwnProperty.call(p,t)&&(h[t]=p[t])};return f(l,k)};return function(l,k){function h(){this.constructor=l}if("function"!==typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");f(l,k);l.prototype=null===k?Object.create(k):(h.prototype=k.prototype,new h)}}(),q=this&&this.__createBinding||(Object.create?function(f,l,k,h){void 0===h&&(h=k);Object.defineProperty(f,h,{enumerable:!0,get:function(){return l[k]}})}: 1368function(f,l,k,h){void 0===h&&(h=k);f[h]=l[k]}),m=this&&this.__setModuleDefault||(Object.create?function(f,l){Object.defineProperty(f,"default",{enumerable:!0,value:l})}:function(f,l){f["default"]=l});r=this&&this.__importStar||function(f){if(f&&f.__esModule)return f;var l={};if(null!=f)for(var k in f)"default"!==k&&Object.prototype.hasOwnProperty.call(f,k)&&q(l,f,k);m(l,f);return l};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabScroller=void 0;var g=n("./packages/mdc-base/component.ts"), 1369c=n("./packages/mdc-dom/events.ts"),d=n("./packages/mdc-dom/ponyfill.ts"),a=n("./packages/mdc-tab-scroller/foundation.ts"),b=r(n("./packages/mdc-tab-scroller/util.ts"));n=function(f){function l(){return null!==f&&f.apply(this,arguments)||this}v(l,f);l.attachTo=function(k){return new l(k)};l.prototype.initialize=function(){this.area=this.root.querySelector(a.MDCTabScrollerFoundation.strings.AREA_SELECTOR);this.content=this.root.querySelector(a.MDCTabScrollerFoundation.strings.CONTENT_SELECTOR)};l.prototype.initialSyncWithDOM= 1370function(){var k=this;this.handleInteraction=function(){k.foundation.handleInteraction()};this.handleTransitionEnd=function(h){k.foundation.handleTransitionEnd(h)};this.area.addEventListener("wheel",this.handleInteraction,c.applyPassive());this.area.addEventListener("touchstart",this.handleInteraction,c.applyPassive());this.area.addEventListener("pointerdown",this.handleInteraction,c.applyPassive());this.area.addEventListener("mousedown",this.handleInteraction,c.applyPassive());this.area.addEventListener("keydown", 1371this.handleInteraction,c.applyPassive());this.content.addEventListener("transitionend",this.handleTransitionEnd)};l.prototype.destroy=function(){f.prototype.destroy.call(this);this.area.removeEventListener("wheel",this.handleInteraction,c.applyPassive());this.area.removeEventListener("touchstart",this.handleInteraction,c.applyPassive());this.area.removeEventListener("pointerdown",this.handleInteraction,c.applyPassive());this.area.removeEventListener("mousedown",this.handleInteraction,c.applyPassive()); 1372this.area.removeEventListener("keydown",this.handleInteraction,c.applyPassive());this.content.removeEventListener("transitionend",this.handleTransitionEnd)};l.prototype.getDefaultFoundation=function(){var k=this;return new a.MDCTabScrollerFoundation({eventTargetMatchesSelector:function(h,p){return d.matches(h,p)},addClass:function(h){k.root.classList.add(h)},removeClass:function(h){k.root.classList.remove(h)},addScrollAreaClass:function(h){k.area.classList.add(h)},setScrollAreaStyleProperty:function(h, 1373p){k.area.style.setProperty(h,p)}
1373,setScrollContentStyleProperty:function(h,p){k.content.style.setProperty(h,p)},getScrollContentStyleValue:function(h){return window.getComputedStyle(k.content).getPropertyValue(h)},setScrollAreaScrollLeft:function(h){return k.area.scrollLeft=h},getScrollAreaScrollLeft:function(){return k.area.scrollLeft},getScrollContentOffsetWidth:function(){return k.content.offsetWidth},getScrollAreaOffsetWidth:function(){return k.area.offsetWidth},computeScrollAreaClientRect:function(){return k.area.getBoundingClientRect()}, 1374computeScrollContentClientRect:function(){return k.content.getBoundingClientRect()},computeHorizontalScrollbarHeight:function(){return b.computeHorizontalScrollbarHeight(document)}})};l.prototype.getScrollPosition=function(){return this.foundation.getScrollPosition()};l.prototype.getScrollContentWidth=function(){return this.content.offsetWidth};l.prototype.incrementScroll=function(k){this.foundation.incrementScroll(k)};l.prototype.scrollTo=function(k){this.foundation.scrollTo(k)};return l}(g.MDCComponent); 1375e.MDCTabScroller=n},
1375"./packages/mdc-tab-scroller/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"};e.strings={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"}},
1375"./packages/mdc-tab-scroller/foundation.ts":function(r,e,n){var v=this&&this.__extends|| 1376function(){var b=function(f,l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,h){k.__proto__=h}||function(k,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(k[p]=h[p])};return b(f,l)};return function(f,l){function k(){this.constructor=f}if("function"!==typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");b(f,l);f.prototype=null===l?Object.create(l):(k.prototype=l.prototype,new k)}}(),q=this&&this.__assign||function(){q= 1377Object.assign||function(b){for(var f,l=1,k=arguments.length;l<k;l++){f=arguments[l];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(b[h]=f[h])}return b};return q.apply(this,arguments)},m=this&&this.__read||function(b,f){var l="function"===typeof Symbol&&b[Symbol.iterator];if(!l)return b;b=l.call(b);var k,h=[];try{for(;(void 0===f||0<f--)&&!(k=b.next()).done;)h.push(k.value)}catch(t){var p={error:t}}finally{try{k&&!k.done&&(l=b["return"])&&l.call(b)}finally{if(p)throw p.error;}}return h}; 1378Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabScrollerFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-tab-scroller/constants.ts"),c=n("./packages/mdc-tab-scroller/rtl-default-scroller.ts"),d=n("./packages/mdc-tab-scroller/rtl-negative-scroller.ts"),a=n("./packages/mdc-tab-scroller/rtl-reverse-scroller.ts");n=function(b){function f(l){l=b.call(this,q(q({},f.defaultAdapter),l))||this;l.isAnimating=!1;return l}v(f,b);Object.defineProperty(f,"cssClasses", 1379{get:function(){return g.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(f,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(f,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){}, 1380getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!1,configurable:!0});f.prototype.init=function(){var l=this.adapter.computeHorizontalScrollbarHeight(); 1381this.adapter.setScrollAreaStyleProperty("margin-bottom",-l+"px");this.adapter.addScrollAreaClass(f.cssClasses.SCROLL_AREA_SCROLL)};f.prototype.getScrollPosition=function(){if(this.isRTL())return this.computeCurrentScrollPositionRTL();var l=this.calculateCurrentTranslateX();return this.adapter.getScrollAreaScrollLeft()-l};f.prototype.handleInteraction=function(){this.isAnimating&&this.stopScrollAnimation()};f.prototype.handleTransitionEnd=function(l){l=l.target;this.isAnimating&&this.adapter.eventTargetMatchesSelector(l, 1382f.strings.CONTENT_SELECTOR)&&(this.isAnimating=!1,this.adapter.removeClass(f.cssClasses.ANIMATING))};f.prototype.incrementScroll=function(l){0!==l&&this.animate(this.getIncrementScrollOperation(l))};f.prototype.incrementScrollImmediate=function(l){0!==l&&(l=this.getIncrementScrollOperation(l),0!==l.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(l.finalScrollPosition)))};f.prototype.scrollTo=function(l){this.isRTL()?this.scrollToImplRTL(l):this.scrollToImpl(l)};f.prototype.getRTLScroller= 1383function(){this.rtlScrollerInstance||(this.rtlScrollerInstance=this.rtlScrollerFactory());return this.rtlScrollerInstance};f.prototype.calculateCurrentTranslateX=function(){var l=this.adapter.getScrollContentStyleValue("transform");if("none"===l)return 0;l=/\((.+?)\)/.exec(l);if(!l)return 0;l=m(l[1].split(","),6);return parseFloat(l[4])};f.prototype.clampScrollValue=function(l){var k=this.calculateScrollEdges();return Math.min(Math.max(k.left,l),k.right)};f.prototype.computeCurrentScrollPositionRTL= 1384function(){var l=this.calculateCurrentTranslateX();return this.getRTLScroller().getScrollPositionRTL(l)};f.prototype.calculateScrollEdges=function(){var l=this.adapter.getScrollC
1384ontentOffsetWidth(),k=this.adapter.getScrollAreaOffsetWidth();return{left:0,right:l-k}};f.prototype.scrollToImpl=function(l){var k=this.getScrollPosition();l=this.clampScrollValue(l);this.animate({finalScrollPosition:l,scrollDelta:l-k})};f.prototype.scrollToImplRTL=function(l){l=this.getRTLScroller().scrollToRTL(l);this.animate(l)}; 1385f.prototype.getIncrementScrollOperation=function(l){if(this.isRTL())return this.getRTLScroller().incrementScrollRTL(l);var k=this.getScrollPosition();l=this.clampScrollValue(l+k);return{finalScrollPosition:l,scrollDelta:l-k}};f.prototype.animate=function(l){var k=this;0!==l.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(l.finalScrollPosition),this.adapter.setScrollContentStyleProperty("transform","translateX("+l.scrollDelta+"px)"),this.adapter.computeScrollAreaClientRect(), 1386requestAnimationFrame(function(){k.adapter.addClass(f.cssClasses.ANIMATING);k.adapter.setScrollContentStyleProperty("transform","none")}),this.isAnimating=!0)};f.prototype.stopScrollAnimation=function(){this.isAnimating=!1;var l=this.getAnimatingScrollPosition();this.adapter.removeClass(f.cssClasses.ANIMATING);this.adapter.setScrollContentStyleProperty("transform","translateX(0px)");this.adapter.setScrollAreaScrollLeft(l)};f.prototype.getAnimatingScrollPosition=function(){var l=this.calculateCurrentTranslateX(), 1387k=this.adapter.getScrollAreaScrollLeft();return this.isRTL()?this.getRTLScroller().getAnimatingScrollPosition(k,l):k-l};f.prototype.rtlScrollerFactory=function(){var l=this.adapter.getScrollAreaScrollLeft();this.adapter.setScrollAreaScrollLeft(l-1);var k=this.adapter.getScrollAreaScrollLeft();if(0>k)return this.adapter.setScrollAreaScrollLeft(l),new d.MDCTabScrollerRTLNegative(this.adapter);var h=this.adapter.computeScrollAreaClientRect(),p=this.adapter.computeScrollContentClientRect();h=Math.round(p.right- 1388h.right);this.adapter.setScrollAreaScrollLeft(l);return h===k?new a.MDCTabScrollerRTLReverse(this.adapter):new c.MDCTabScrollerRTLDefault(this.adapter)};f.prototype.isRTL=function(){return"rtl"===this.adapter.getScrollContentStyleValue("direction")};return f}(r.MDCFoundation);e.MDCTabScrollerFoundation=n;e.default=n},
1388"./packages/mdc-tab-scroller/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(g,c,d,a){void 0===a&&(a=d);Object.defineProperty(g,a,{enumerable:!0,get:function(){return c[d]}})}: 1389function(g,c,d,a){void 0===a&&(a=d);g[a]=c[d]}),q=this&&this.__setModuleDefault||(Object.create?function(g,c){Object.defineProperty(g,"default",{enumerable:!0,value:c})}:function(g,c){g["default"]=c}),m=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var c={};if(null!=g)for(var d in g)"default"!==d&&Object.prototype.hasOwnProperty.call(g,d)&&v(c,g,d);q(c,g);return c};r=this&&this.__exportStar||function(g,c){for(var d in g)"default"===d||Object.prototype.hasOwnProperty.call(c,d)|| 1390v(c,g,d)};Object.defineProperty(e,"__esModule",{value:!0});e.util=void 0;m=m(n("./packages/mdc-tab-scroller/util.ts"));e.util=m;r(n("./packages/mdc-tab-scroller/adapter.ts"),e);r(n("./packages/mdc-tab-scroller/component.ts"),e);r(n("./packages/mdc-tab-scroller/constants.ts"),e);r(n("./packages/mdc-tab-scroller/foundation.ts"),e);r(n("./packages/mdc-tab-scroller/types.ts"),e)},
1390"./packages/mdc-tab-scroller/rtl-default-scroller.ts":function(r,e,n){var v=this&&this.__extends||function(){var q=function(m, 1391g){q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&(c[a]=d[a])};return q(m,g)};return function(m,g){function c(){this.constructor=m}if("function"!==typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");q(m,g);m.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabScrollerRTLDefault= 1392void 0;r=function(q){function m(){return null!==q&&q.apply(this,arguments)||this}v(m,q);m.prototype.getScrollPositionRTL=function(){var g=this.adapter.getScrollAreaScrollLeft(),c=this.calculateScrollEdges().right;return Math.round(c-g)};m.prototype.scrollToRTL=function(g){var c=this.calculateScrollEdges(),d=this.adapter.getScrollAreaScrollLeft();g=this.clampScrollValue(c.right-g);return{finalScrollPosition:g,scrollDelta:g-d}};m.prototype.incrementScrollRTL=function(g){var c=this.adapter.getScrollAreaScrollLeft(); 1393g=this.clampScrollValue(c-g);return{finalScrollPosition:g,scrollDelta:g-c}};m.prototype.getAnimatingScrollPosition=function(g){return g};m.prototype.calculateScrollEdges=function(){var g=this.adapter.getScrollContentOffsetWidth(),c=this.adapter.getScrollAreaOffsetWidth();return{left:0,right:g-c}};m.prototype.clampScrollValue=function(g){var c=this.calculateScrollEdges();return Math.min(Math.max(c.left,g),c.right)};return m}(n("./packages/mdc-tab-scroller/rtl-scroller.ts").MDCTabScrollerRTL);e.MDCTabScrollerRTLDefault= 1394r;e.default=r},
1394"./packages/mdc-tab-scroller/rtl-negative-scroller.ts":function(r,e,n){var v=this&&this.__extends||function(){var q=function(m,g){q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&(c[a]=d[a])};return q(m,g)};return function(m,g){function c(){this.constructor=m}if("function"!==typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null"); 1395q(m,g);m.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabScrollerRTLNegative=void 0;r=function(q){function m(){return null!==q&&q.apply(this,arguments)||this}v(m,q);m.prototype.getScrollPositionRTL=function(g){var c=this.adapter.getScrollAreaScrollLeft();return Math.round(g-c)};m.prototype.scrollToRTL=function(g){var c=this.adapter.getScrollAreaScrollLeft();g=this.clampScrollValue(-g);return{finalScrollPosition:g,scrollDelta:g- 1396c}};m.prototype.incrementScrollRTL=function(g){var c=this.adapter.getScrollAreaScrollLeft();g=this.clampScrollValue(c-g);return{finalScrollPosition:g,scrollDelta:g-c}};m.prototype.getAnimatingScrollPosition=function(g,c){return g-c};m.prototype.calculateScrollEdges=function(){var g=this.adapter.getScrollContentOffsetWidth();return{left:this.adapter.getScrollAreaOffsetWidth()-g,right:0}};m.prototype.clampScrollValue=function(g){var c=this.calculateScrollEdges();return Math.max(Math.min(c.right,g), 1397c.left)};return m}(n("./packages/mdc-tab-scroller/rtl-scroller.ts").MDCTabScrollerRTL);e.MDCTabScrollerRTLNegative=r;e.default=r},
1397"./packages/mdc-tab-scroller/rtl-reverse-scroller.ts":function(r,e,n){var v=this&&this.__extends||function(){var q=function(m,g){q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&(c[a]=d[a])};return q(m,g)};return function(m,g){function c(){this.constructor=m}if("function"!== 1398typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");q(m,g);m.prototype=null===g?Object.create(g):(c.prototype=g.prototype,new c)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabScrollerRTLReverse=void 0;r=function(q){function m(){return null!==q&&q.apply(this,arguments)||this}v(m,q);m.prototype.getScrollPositionRTL=function(g){var c=this.adapter.getScrollAreaScrollLeft();return Math.round(c-g)};m.prototype.scrollToRTL=function(g){var c= 1399this.adapter.getScrollAreaScrollLeft();g=this.clampScrollValue(g);return{finalScrollPosition:g,scrollDelta:c-g}};m.prototype.incrementScrollRTL=function(g){var c=this.adapter.getScrollAreaScrollLeft();g=this.clampScrollValue(c+g);return{finalScrollPosition:g,scrollDelta:c-g}};m.prototype.getAnimatingScrollPosition=function(g,c){return g+c};m.prototype.calculateScrollEdges=function(){var g=this.adapter.getScrollContentOffsetWidth(),c=this.adapter.getScrollAreaOffsetWidth();return{left:g-c,right:0}}; 1400m.prototype.clampScrollValue=function(g){var c=this.calculateScrollEdges();return Math.min(Math.max(c.right,g),c.left)};return m}(n("./packages/mdc-tab-scroller/rtl-scroller.ts").MDCTabScrollerRTL);e.MDCTabScrollerRTLReverse=r;e.default=r},
1400"./packages/mdc-tab-scroller/rtl-scroller.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabScrollerRTL=void 0;r=function(){return function(v){this.adapter=v}}();e.MDCTabScrollerRTL=r;e.default=r},
1400"./packages/mdc-tab-scroller/types.ts":function(r, 1401e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1401"./packages/mdc-tab-scroller/util.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.computeHorizontalScrollbarHeight=void 0;var v=n("./packages/mdc-tab-scroller/constants.ts"),q;e.computeHorizontalScrollbarHeight=function(m,g){void 0===g&&(g=!0);if(g&&"undefined"!==typeof q)return q;var c=m.createElement("div");c.classList.add(v.cssClasses.SCROLL_TEST);m.body.appendChild(c);var d=c.offsetHeight-c.clientHeight;m.body.removeChild(c); 1402g&&(q=d);return d}},
1402"./packages/mdc-tab/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1402"./packages/mdc-tab/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__=l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+ 1403String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTab=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-ripple/component.ts"),m=n("./packages/mdc-ripple/foundation.ts"),g=n("./packages/mdc-tab-indicator/component.ts"),c=n("./packages/mdc-tab/foundation.ts");n=function(d){function a(){return null!==d&&d.apply(this,arguments)||this}v(a,d);a.attachTo=function(b){return new a(b)}; 1404a.prototype.initialize=function(b,f){void 0===b&&(b=function(k,h){return new q.MDCRipple(k,h)});void 0===f&&(f=function(k){return new g.MDCTabIndicator(k)});this.id=this.root.id;var l=new m.MDCRippleFoundation(q.MDCRipple.createAdapter(this));this.ripple=b(this.root,l);b=this.root.querySelector(c.MDCTabFoundation.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator=f(b);this.content=this.root.querySelector(c.MDCTabFoundation.strings.CONTENT_SELECTOR)};a.prototype.initialSyncWithDOM=function(){var b= 1405this;this.handleClick=function(){b.foundation.handleClick()};this.listen("click",this.handleClick)};a.prototype.destroy=function(){this.unlisten("click",this.handleClick);this.ripple.destroy();d.prototype.destroy.call(this)};a.prototype.getDefaultFoundation=function(){var b=this;return new c.MDCTabFoundation({setAttr:function(f,l){return b.root.setAttribute(f,l)},addClass:function(f){return b.root.classList.add(f)},removeClass:function(f){return b.root.classList.remove(f)},hasClass:function(f){return b.root.classList.contains(f)}, 1406activateIndicator:function(f){b.tabIndicator.activate(f)},deactivateIndicator:function(){b.tabIndicator.deactivate()},notifyInteracted:function(){return b.emit(c.MDCTabFoundation.strings.INTERACTED_EVENT,{tabId:b.id},!0)},getOffsetLeft:function(){return b.root.offsetLeft},getOffsetWidth:function(){return b.root.offsetWidth},getContentOffsetLeft:function(){return b.content.offsetLeft},getContentOffsetWidth:function(){return b.content.offsetWidth},focus:function(){return b.root.focus()}})};Object.defineProperty(a.prototype, 1407"active",{get:function(){return this.foundation.isActive()},enumerable:!1,configurable:!0});Object.defineProperty(a.prototype,"focusOnActivate",{set:function(b){this.foundation.setFocusOnActivate(b)},enumerable:!1,configurable:!0});a.prototype.activate=function(b){this.foundation.activate(b)};a.prototype.deactivate=function(){this.foundation.deactivate()};a.prototype.computeIndicatorClientRect=function(){return this.tabIndicator.computeContentClientRect()};a.prototype.computeDimensions=function(){return this.foundation.computeDimensions()}; 1408a.prototype.focus=function(){this.root.focus()};return a}(r.MDCComponent);e.MDCTab=n},
1408"./packages/mdc-tab/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.cssClasses=void 0;e.cssClasses={ACTIVE:"mdc-tab--active"};e.strings={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"}},
1408"./packages/mdc-tab/foundation.ts":function(r, 1409e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(), 1410q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTabFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-tab/constants.ts");n=function(g){function c(d){d=g.call(this,q(q({},c.defaultAdapter),d))||this;d.focusOnActivate=!0;return d}v(c, 1411g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0}, 1412getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!1,configurable:!0});c.prototype.handleClick=function(){this.adapter.notifyInteracted()};c.prototype.isActive=function(){return this.adapter.hasClass(m.cssClasses.ACTIVE)};c.prototype.setFocusOnActivate=function(d){this.focusOnActivate=d};c.prototype.activate=function(d){this.adapter.addClass(m.cssClasses.ACTIVE);this.adapter.setAttr(m.strings.ARIA_SELECTED,"true");this.adapter.setAttr(m.strings.TABINDEX, 1413"0");this.adapter.activateIndicator(d);this.focusOnActivate&&this.adapter.focus()};c.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(m.cssClasses.ACTIVE),this.adapter.setAttr(m.strings.ARIA_SELECTED,"false"),this.adapter.setAttr(m.strings.TABINDEX,"-1"),this.adapter.deactivateIndicator())};c.prototype.computeDimensions=function(){var d=this.adapter.getOffsetWidth(),a=this.adapter.getOffsetLeft(),b=this.adapter.getContentOffsetWidth(),f=this.adapter.getContentOffsetLeft(); 1414return{contentLeft:a+f,contentRight:a+f+b,rootLeft:a,rootRight:a+d}};return c}(r.MDCFoundation);e.MDCTabFoundation=n;e.default=n},
1414"./packages/mdc-tab/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q, 1415g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-tab/adapter.ts"),e);r(n("./packages/mdc-tab/component.ts"),e);r(n("./packages/mdc-tab/constants.ts"),e);r(n("./packages/mdc-tab/foundation.ts"),e);r(n("./packages/mdc-tab/types.ts"),e)},
1415"./packages/mdc-tab/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1415"./packages/mdc-textfield/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1415"./packages/mdc-textfield/character-counter/adapter.ts":function(r, 1416e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1416"./packages/mdc-textfield/character-counter/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+ 1417String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldCharacterCounter=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-textfield/character-counter/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype,"foundationForTextField",{get:function(){return this.foundation}, 1418enumerable:!1,configurable:!0});g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCTextFieldCharacterCounterFoundation({setContent:function(d){c.root.textContent=d}})};return g}(r.MDCComponent);e.MDCTextFieldCharacterCounter=n},
1418"./packages/mdc-textfield/character-counter/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=e.strings=void 0;r={ROOT:"mdc-text-field-character-counter"};e.cssClasses=r;e.strings={ROOT_SELECTOR:"."+r.ROOT}},
1418"./packages/mdc-textfield/character-counter/foundation.ts":function(r, 1419e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(), 1420q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldCharacterCounterFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-textfield/character-counter/constants.ts");n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter), 1421d))||this}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!1,configurable:!0});c.prototype.setCounterValue=function(d,a){d=Math.min(d,a);this.adapter.setContent(d+" / "+a)};return c}(r.MDCFoundation);e.MDCTextFieldCharacterCounterFoundation= 1422n;e.default=n},
1422"./packages/mdc-textfield/character-counter/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.characterCountStrings=e.characterCountCssClasses= 1423void 0;r(n("./packages/mdc-textfield/character-counter/adapter.ts"),e);r(n("./packages/mdc-textfield/character-counter/component.ts"),e);r(n("./packages/mdc-textfield/character-counter/foundation.ts"),e);var q=n("./packages/mdc-textfield/character-counter/constants.ts");Object.defineProperty(e,"characterCountCssClasses",{enumerable:!0,get:function(){return q.cssClasses}});Object.defineProperty(e,"characterCountStrings",{enumerable:!0,get:function(){return q.strings}})},
1423"./packages/mdc-textfield/component.ts":function(r, 1424e,n){var v=this&&this.__extends||function(){var w=function(y,A){w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,E){D.__proto__=E}||function(D,E){for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(D[F]=E[F])};return w(y,A)};return function(y,A){function D(){this.constructor=y}if("function"!==typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");w(y,A);y.prototype=null===A?Object.create(A):(D.prototype=A.prototype,new D)}}(), 1425q=this&&this.__assign||function(){q=Object.assign||function(w){for(var y,A=1,D=arguments.length;A<D;A++){y=arguments[A];for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&(w[E]=y[E])}return w};return q.apply(this,arguments)},m=this&&this.__createBinding||(Object.create?function(w,y,A,D){void 0===D&&(D=A);Object.defineProperty(w,D,{enumerable:!0,get:function(){return y[A]}})}:function(w,y,A,D){void 0===D&&(D=A);w[D]=y[A]}),g=this&&this.__setModuleDefault||(Object.create?function(w,y){Object.defineProperty(w, 1426"default",{enumerable:!0,value:y})}:function(w,y){w["default"]=y});r=this&&this.__importStar||function(w){if(w&&w.__esModule)return w;var y={};if(null!=w)for(var A in w)"default"!==A&&Object.prototype.hasOwnProperty.call(w,A)&&m(y,w,A);g(y,w);return y};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextField=void 0;var c=n("./packages/mdc-base/component.ts"),d=n("./packages/mdc-dom/events.ts"),a=r(n("./packages/mdc-dom/ponyfill.ts")),b=n("./packages/mdc-floating-label/component.ts"),f=n("./packages/mdc-line-ripple/component.ts"), 1427l=n("./packages/mdc-notched-outline/component.ts"),k=n("./packages/mdc-ripple/component.ts"),h=n("./packages/mdc-ripple/foundation.ts"),p=n("./packages/mdc-textfield/character-counter/component.ts"),t=n("./packages/mdc-textfield/character-counter/foundation.ts"),u=n("./packages/mdc-textfield/constants.ts"),z=n("./packages/mdc-textfield/foundation.ts"),C=n("./packages/mdc-textfield/helper-text/component.ts"),B=n("./packages/mdc-textfield/helper-text/foundation.ts"),x=n("./packages/mdc-textfield/icon/component.ts"); 1428n=function(w){function y(){return null!==w&&w.apply(this,arguments)||this}v(y,w);y.attachTo=function(A){return new y(A)};y.prototype.initialize=function(A,D,E,F,H,G,J){void 0===A&&(A=function(I,L){return new k.MDCRipple(I,L)});void 0===D&&(D=function(I){return new f.MDCLineRipple(I)});void 0===E&&(E=function(I){return new C.MDCTextFieldHelperText(I)});void 0===F&&(F=function(I){return new p.MDCTextFieldCharacterCounter(I)});void 0===H&&(H=function(I){return new x.MDCTextFieldIcon(I)});void 0===G&& 1429(G=function(I){return new b.MDCFloatingLabel(I)});void 0===J&&(J=function(I){return new l.MDCNotchedOutline(I)});this.input=this.root.querySelector(u.strings.INPUT_SELECTOR);var K=this.root.querySelector(u.strings.LABEL_SELECTOR);this.label=K?G(K):null;this.lineRipple=(G=this.root.querySelector(u.strings.LINE_RIPPLE_SELECTOR))?D(G):null;this.outline=(D=this.root.querySelector(u.strings.OUTLINE_SELECTOR))?J(D):null;G=B.MDCTextFieldHelperTextFoundation.strings;this.helperText=(G=(D=(J=this.root.nextElementSibling)&& 1430J.classList.contains(u.cssClasses.HELPER_LINE))&&J&&J.querySelector(G.ROOT_SELECTOR))?E(G):null;E=t.MDCTextFieldCharacterCounterFoundation.strings;G=this.root.querySelector(E.ROOT_SELECTOR);!G&&D&&J&&(G=J.querySelector(E.ROOT_SELECTOR));this.characterCounter=G?F(G):null;this.leadingIcon=(F=this.root.querySelector(u.strings.LEADING_ICON_SELECTOR))?H(F):null;this.trailingIcon=(F=this.root.querySelector(u.strings.TRAILING_ICON_SELECTOR))?H(F):null;this.prefix=this.root.querySelector(u.strings.PREFIX_SELECTOR); 1431this.suffix=this.root.querySelector(u.strings.SUFFIX_SELECTOR);this.ripple=this.createRipple(A)};y.prototype.destroy=function(){this.ripple&&this.ripple.destroy();this.lineRipple&&this.lineRipple.destroy();this.helperText&&this.helperText.destroy();this.characterCounter&&this.characterCounter.destroy();this.leadingIcon&&this.leadingIcon.destroy();this.trailingIcon&&this.trailingIcon.destroy();this.label&&this.label.destroy();this.outline&&this.outline.destroy();w.prototype.destroy.call(this)};y.prototype.initialSyncWithDOM= 1432function(){this.disabled=this.input.disabled};Object.defineProperty(y.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(A){this.foundation.setValue(A)}
1432,enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(A){this.foundation.setDisabled(A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(A){this.foundation.setValid(A)}, 1433enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"required",{get:function(){return this.input.required},set:function(A){this.input.required=A},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"pattern",{get:function(){return this.input.pattern},set:function(A){this.input.pattern=A},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"minLength",{get:function(){return this.input.minLength},set:function(A){this.input.minLength=A},enumerable:!1,configurable:!0}); 1434Object.defineProperty(y.prototype,"maxLength",{get:function(){return this.input.maxLength},set:function(A){0>A?this.input.removeAttribute("maxLength"):this.input.maxLength=A},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"min",{get:function(){return this.input.min},set:function(A){this.input.min=A},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"max",{get:function(){return this.input.max},set:function(A){this.input.max=A},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype, 1435"step",{get:function(){return this.input.step},set:function(A){this.input.step=A},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"helperTextContent",{set:function(A){this.foundation.setHelperTextContent(A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"leadingIconAriaLabel",{set:function(A){this.foundation.setLeadingIconAriaLabel(A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"leadingIconContent",{set:function(A){this.foundation.setLeadingIconContent(A)}, 1436enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"trailingIconAriaLabel",{set:function(A){this.foundation.setTrailingIconAriaLabel(A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"trailingIconContent",{set:function(A){this.foundation.setTrailingIconContent(A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"useNativeValidation",{set:function(A){this.foundation.setUseNativeValidation(A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype, 1437"prefixText",{get:function(){return this.prefix?this.prefix.textContent:null},set:function(A){this.prefix&&(this.prefix.textContent=A)},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"suffixText",{get:function(){return this.suffix?this.suffix.textContent:null},set:function(A){this.suffix&&(this.suffix.textContent=A)},enumerable:!1,configurable:!0});y.prototype.focus=function(){this.input.focus()};y.prototype.layout=function(){this.foundation.notchOutline(this.foundation.shouldFloat)}; 1438y.prototype.getDefaultFoundation=function(){var A=q(q(q(q(q({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods());return new z.MDCTextFieldFoundation(A,this.getFoundationMap())};y.prototype.getRootAdapterMethods=function(){var A=this;return{addClass:function(D){return A.root.classList.add(D)},removeClass:function(D){return A.root.classList.remove(D)},hasClass:function(D){return A.root.classList.contains(D)}, 1439registerTextFieldInteractionHandler:function(D,E){A.listen(D,E)},deregisterTextFieldInteractionHandler:function(D,E){A.unlisten(D,E)},registerValidationAttributeChangeHandler:function(D){var E=function(H){return H.map(function(G){return G.attributeName}).filter(function(G){return G})},F=new MutationObserver(function(H){return D(E(H))});F.observe(A.input,{attributes:!0});return F},deregisterValidationAttributeChangeHandler:function(D){D.disconnect()}}};y.prototype.getInputAdapterMethods=function(){var A= 1440this;return{getNativeInput:function(){return A.input},setInputAttr:function(D,E){A.input.setAttribute(D,E)},removeInputAttr:function(D){A.input.removeAttribute(D)},isFocused:function(){return document.activeElement===A.input},registerInputInteractionHandler:function(D,E){A.input.addEventListener(
1440D,E,d.applyPassive())},deregisterInputInteractionHandler:function(D,E){A.input.removeEventListener(D,E,d.applyPassive())}}};y.prototype.getLabelAdapterMethods=function(){var A=this;return{floatLabel:function(D){A.label&& 1441A.label.float(D)},getLabelWidth:function(){return A.label?A.label.getWidth():0},hasLabel:function(){return!!A.label},shakeLabel:function(D){A.label&&A.label.shake(D)},setLabelRequired:function(D){A.label&&A.label.setRequired(D)}}};y.prototype.getLineRippleAdapterMethods=function(){var A=this;return{activateLineRipple:function(){A.lineRipple&&A.lineRipple.activate()},deactivateLineRipple:function(){A.lineRipple&&A.lineRipple.deactivate()},setLineRippleTransformOrigin:function(D){A.lineRipple&&A.lineRipple.setRippleCenter(D)}}}; 1442y.prototype.getOutlineAdapterMethods=function(){var A=this;return{closeOutline:function(){A.outline&&A.outline.closeNotch()},hasOutline:function(){return!!A.outline},notchOutline:function(D){A.outline&&A.outline.notch(D)}}};y.prototype.getFoundationMap=function(){return{characterCounter:this.characterCounter?this.characterCounter.foundationForTextField:void 0,helperText:this.helperText?this.helperText.foundationForTextField:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForTextField: 1443void 0,trailingIcon:this.trailingIcon?this.trailingIcon.foundationForTextField:void 0}};y.prototype.createRipple=function(A){var D=this,E=this.root.classList.contains(u.cssClasses.TEXTAREA),F=this.root.classList.contains(u.cssClasses.OUTLINED);if(E||F)return null;E=q(q({},k.MDCRipple.createAdapter(this)),{isSurfaceActive:function(){return a.matches(D.input,":active")},registerInteractionHandler:function(H,G){D.input.addEventListener(H,G,d.applyPassive())},deregisterInteractionHandler:function(H,G){D.input.removeEventListener(H, 1444G,d.applyPassive())}});return A(this.root,new h.MDCRippleFoundation(E))};return y}(c.MDCComponent);e.MDCTextField=n},
1444"./packages/mdc-textfield/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.ALWAYS_FLOAT_TYPES=e.VALIDATION_ATTR_WHITELIST=e.numbers=e.strings=e.cssClasses=void 0;e.strings={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading", 1445LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"};e.cssClasses={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined", 1446ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"};e.numbers={LABEL_SCALE:.75};e.VALIDATION_ATTR_WHITELIST="pattern min max required step minlength maxlength".split(" ");e.ALWAYS_FLOAT_TYPES="color date datetime-local month range time week".split(" ")},
1446"./packages/mdc-textfield/foundation.ts":function(r,e,n){var v=this&& 1447this.__extends||function(){var a=function(b,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,k){l.__proto__=k}||function(l,k){for(var h in k)Object.prototype.hasOwnProperty.call(k,h)&&(l[h]=k[h])};return a(b,f)};return function(b,f){function l(){this.constructor=b}if("function"!==typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");a(b,f);b.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),q=this&&this.__assign|| 1448function(){q=Object.assign||function(a){for(var b,f=1,l=arguments.length;f<l;f++){b=arguments[f];for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(a[k]=b[k])}return a};return q.apply(this,arguments)},m=this&&this.__values||function(a){var b="function"===typeof Symbol&&Symbol.iterator,f=b&&a[b],l=0;if(f)return f.call(a);if(a&&"number"===typeof a.length)return{next:function(){a&&l>=a.length&&(a=void 0);return{value:a&&a[l++],done:!a}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined."); 1449};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var g=n("./packages/mdc-textfield/constants.ts"),c=["mousedown","touchstart"],d=["click","keydown"];n=function(a){function b(f,l){void 0===l&&(l={});var k=a.call(this,q(q({},b.defaultAdapter),f))||this;k.isFocused=!1;k.receivedUserInput=!1;k.valid=!0;k.useNativeValidation=!0;k.validateOnValueChange=!0;k.helperText=l.helperText;k.characterCounter=l.characterCounter;k.leadingIcon= 1450l.leadingIcon;k.trailingIcon=l.trailingIcon;k.inputFocusHandler=function(){k.activateFocus()};k.inputBlurHandler=function(){k.deactivateFocus()};k.inputInputHandler=function(){k.handleInput()};k.setPointerXOffset=function(h){k.setTransformOrigin(h)};k.textFieldInteractionHandler=function(){k.handleTextFieldInteraction()};k.validationAttributeChangeHandler=function(h){k.handleValidationAttributeChange(h)};return k}v(b,a);Object.defineProperty(b,"cssClasses",{get:function(){return g.cssClasses},enumerable:!1, 1451configurable:!0});Object.defineProperty(b,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(b,"numbers",{get:function(){return g.numbers},enumerable:!1,configurable:!0});Object.defineProperty(b.prototype,"shouldAlwaysFloat",{get:function(){var f=this.getNativeInput().type;return 0<=g.ALWAYS_FLOAT_TYPES.indexOf(f)},enumerable:!1,configurable:!0});Object.defineProperty(b.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused|| 1452!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0});Object.defineProperty(b.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0});Object.defineProperty(b,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){}, 1453registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1}, 1454getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0});b.prototype.init=function(){var f,l;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0);this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0));this.adapter.registerInputInteractionHandler("focus", 1455this.inputFocusHandler);this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler);this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var k=m(c),h=k.next();!h.done;h=k.next()){var p=h.value;this.adapter.registerInputInteractionHandler(p,this.setPointerXOffset)}}catch(B){var t={error:B}}finally{try{h&&!h.done&&(f=k.return)&&f.call(k)}finally{if(t)throw t.error;}}try{for(var u=m(d),z=u.next();!z.done;z=u.next())p=z.value,this.adapter.registerTextFieldInteractionHandler(p, 1456this.textFieldInteractionHandler)}catch(B){var C={error:B}}finally{try{z&&!z.done&&(l=u.return)&&l.call(u)}finally{if(C)throw C.error;}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler);this.setcharacterCounter(this.getValue().length)};b.prototype.destroy=function(){var f,l;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler);this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler);this.adapter.deregisterInputInteractionHandler("input", 1457this.inputInputHandler);try{for(var k=m(c),h=k.next();!h.done;h=k.next()){var p=h.value;this.adapter.deregisterInputInteractionHandler(p,this.setPointerXOffset)}}catch(B){var t={error:B}}finally{try{h&&!h.done&&(f=k.return)&&f.call(k)}finally{if(t)throw t.error;}}try{for(var u=m(d),z=u.next();!z.done;z=u.next())p=z.value,this.adapter.deregisterTextFieldInteractionHandler(p,this.textFieldInteractionHandler)}catch(B){var C={error:B}}finally{try{z&&!z.done&&(l=u.return)&&l.call(u)}finally{if(C)throw C.error; 1458}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)};b.prototype.handleTextFieldInteraction=function(){var f=this.adapter.getNativeInput();f&&f.disabled||(this.receivedUserInput=!0)};b.prototype.handleValidationAttributeChange=function(f){var l=this;f.some(function(k){return-1<g.VALIDATION_ATTR_WHITELIST.indexOf(k)?(l.styleValidity(!0),l.adapter.setLabelRequired(l.getNativeInput().required),!0):!1});-1<f.indexOf("maxlength")&&this.setcharacterCounter(this.getValue().length)}; 1459b.prototype.notchOutline=function(f){this.adapter.hasOutline()&&this.adapter.hasLabel()&&(f?(f=this.adapter.getLabelWidth()*g.numbers.LABEL_SCALE,this.adapter.notchOutline(f)):this.adapter.closeOutline())};b.prototype.activateFocus=function(){this.isFocused=!0;this.styleFocused(this.isFocused);this.adapter.activateLineRipple();this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake));
1460!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()};b.prototype.setTransformOrigin=function(f){if(!this.isDisabled()&&!this.adapter.hasOutline()){var l=f.touches;f=l?l[0]:f;l=f.target.getBoundingClientRect();this.adapter.setLineRippleTransformOrigin(f.clientX-l.left)}};b.prototype.handleInput=function(){this.autoCompleteFocus();this.setcharacterCounter(this.getValue().length)};b.prototype.autoCompleteFocus=function(){this.receivedUserInput|| 1461this.activateFocus()};b.prototype.deactivateFocus=function(){this.isFocused=!1;this.adapter.deactivateLineRipple();var f=this.isValid();this.styleValidity(f);this.styleFocused(this.isFocused);this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake));this.shouldFloat||(this.receivedUserInput=!1)};b.prototype.getValue=function(){return this.getNativeInput().value};b.prototype.setValue= 1462function(f){this.getValue()!==f&&(this.getNativeInput().value=f);this.setcharacterCounter(f.length);this.validateOnValueChange&&(f=this.isValid(),this.styleValidity(f));this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))};b.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid};b.prototype.setValid= 1463function(f){this.valid=f;this.styleValidity(f);f=!f&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(f)};b.prototype.setValidateOnValueChange=function(f){this.validateOnValueChange=f};b.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange};b.prototype.setUseNativeValidation=function(f){this.useNativeValidation=f};b.prototype.isDisabled=function(){return this.getNativeInput().disabled};b.prototype.setDisabled=function(f){this.getNativeInput().disabled= 1464f;this.styleDisabled(f)};b.prototype.setHelperTextContent=function(f){this.helperText&&this.helperText.setContent(f)};b.prototype.setLeadingIconAriaLabel=function(f){this.leadingIcon&&this.leadingIcon.setAriaLabel(f)};b.prototype.setLeadingIconContent=function(f){this.leadingIcon&&this.leadingIcon.setContent(f)};b.prototype.setTrailingIconAriaLabel=function(f){this.trailingIcon&&this.trailingIcon.setAriaLabel(f)};b.prototype.setTrailingIconContent=function(f){this.trailingIcon&&this.trailingIcon.setContent(f)}; 1465b.prototype.setcharacterCounter=function(f){if(this.characterCounter){var l=this.getNativeInput().maxLength;if(-1===l)throw Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(f,l)}};b.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1};b.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid};b.prototype.styleValidity=function(f){var l=b.cssClasses.INVALID;f? 1466this.adapter.removeClass(l):this.adapter.addClass(l);this.helperText&&(this.helperText.setValidity(f),this.helperText.isValidation()&&(f=this.helperText.isVisible(),l=this.helperText.getId(),f&&l?this.adapter.setInputAttr(g.strings.ARIA_DESCRIBEDBY,l):this.adapter.removeInputAttr(g.strings.ARIA_DESCRIBEDBY)))};b.prototype.styleFocused=function(f){var l=b.cssClasses.FOCUSED;f?this.adapter.addClass(l):this.adapter.removeClass(l)};b.prototype.styleDisabled=function(f){var l=b.cssClasses,k=l.DISABLED; 1467l=l.INVALID;f?(this.adapter.addClass(k),this.adapter.removeClass(l)):this.adapter.removeClass(k);this.leadingIcon&&this.leadingIcon.setDisabled(f);this.trailingIcon&&this.trailingIcon.setDisabled(f)};b.prototype.styleFloating=function(f){var l=b.cssClasses.LABEL_FLOATING;f?this.adapter.addClass(l):this.adapter.removeClass(l)};b.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0}, 1468value:""}};return b}(r.MDCFoundation);e.MDCTextFieldFoundation=n;e.default=n},
1468"./packages/mdc-textfield/helper-text/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1468"./packages/mdc-textfield/helper-text/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g, 1469c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldHelperText=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-textfield/helper-text/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)|| 1470this}v(g,m);g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0});g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCTextFieldHelperTextFoundation({addClass:function(d){return c.root.classList.add(d)},removeClass:function(d){return c.root.classList.remove(d)},hasClass:function(d){return c.root.classList.contains(d)},getAttr:function(d){return c.root.getAttribute(d)}, 1471setAttr:function(d,a){return c.root.setAttribute(d,a)},removeAttr:function(d){return c.root.removeAttribute(d)},setContent:function(d){c.root.textContent=d}})};return g}(r.MDCComponent);e.MDCTextFieldHelperText=n},
1471"./packages/mdc-textfield/helper-text/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=e.strings=void 0;r={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"}; 1472e.cssClasses=r;e.strings={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+r.ROOT}},
1472"./packages/mdc-textfield/helper-text/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+ 1473String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign||function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldHelperTextFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-textfield/helper-text/constants.ts"); 1474n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"strings",{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){}, 1475setContent:function(){}}},enumerable:!1,configurable:!0});c.prototype.getId=function(){return this.adapter.getAttr("id")};c.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(m.strings.ARIA_HIDDEN)};c.prototype.setContent=function(d){this.adapter.setContent(d)};c.prototype.isPersistent=function(){return this.adapter.hasClass(m.cssClasses.HELPER_TEXT_PERSISTENT)};c.prototype.setPersistent=function(d){d?this.adapter.addClass(m.cssClasses.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(m.cssClasses.HELPER_TEXT_PERSISTENT)}; 1476c.prototype.isValidation=function(){return this.adapter.hasClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG)};c.prototype.setValidation=function(d){d?this.adapter.addClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG)};c.prototype.showToScreenReader=function(){this.adapter.removeAttr(m.strings.ARIA_HIDDEN)};c.prototype.setValidity=function(d){var a=this.adapter.hasClass(m.cssClasses.HELPER_TEXT_PERSISTENT);(d=this.adapter.hasClass(m.cssClasses.HELPER_TEXT_VALIDATION_MSG)&& 1477!d)?(this.showToScreenReader(),"alert"===this.adapter.getAttr(m.strings.ROLE)?this.refreshAlertRole():this.adapter.setAttr(m.strings.ROLE,"alert")):this.adapter.removeAttr(m.strings.ROLE);a||d||this.hide()};c.prototype.hide=function(){this.adapter.setAttr(m.strings.ARIA_HIDDEN,"true")};c.prototype.refreshAlertRole=function(){var d=this;this.adapter.removeAttr(m.strings.ROLE);requestAnimationFrame(function(){d.adapter.setAttr(m.strings.ROLE,"alert")})};return c}(r.MDCFoundation);e.MDCTextFieldHelperTextFoundation= 1478n;e.default=n},
1478"./packages/mdc-textfield/helper-text/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d=c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.helperTextStrings=e.helperTextCssClasses=void 0; 1479r(n("./packages/mdc-textfield/helper-text/adapter.ts"),e);r(n("./packages/mdc-textfield/helper-text/component.ts"),e);r(n("./packages/mdc-textfield/helper-text/foundation.ts"),e);var q=n("./packages/mdc-textfield/helper-text/constants.ts");Object.defineProperty(e,"helperTextCssClasses",{enumerable:!0,get:function(){return q.cssClasses}});Object.defineProperty(e,"helperTextStrings",{enumerable:!0,get:function(){return q.strings}})},
1479"./packages/mdc-textfield/icon/adapter.ts":function(r,e,n){Object.defineProperty(e, 1480"__esModule",{value:!0})},
1480"./packages/mdc-textfield/icon/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null"); 1481m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldIcon=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-textfield/icon/foundation.ts");n=function(m){function g(){return null!==m&&m.apply(this,arguments)||this}v(g,m);g.attachTo=function(c){return new g(c)};Object.defineProperty(g.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}); 1482g.prototype.getDefaultFoundation=function(){var c=this;return new q.MDCTextFieldIconFoundation({getAttr:function(d){return c.root.getAttribute(d)},setAttr:function(d,a){return c.root.setAttribute(d,a)},removeAttr:function(d){return c.root.removeAttribute(d)},setContent:function(d){c.root.textContent=d},registerInteractionHandler:function(d,a){return c.listen(d,a)},deregisterInteractionHandler:function(d,a){return c.unlisten(d,a)},notifyIconAction:function(){return c.emit(q.MDCTextFieldIconFoundation.strings.ICON_EVENT, 1483{},!0)}})};return g}(r.MDCComponent);e.MDCTextFieldIcon=n},
1483"./packages/mdc-textfield/icon/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.cssClasses=e.strings=void 0;e.strings={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"};e.cssClasses={ROOT:"mdc-text-field__icon"}},
1483"./packages/mdc-textfield/icon/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var d=function(a,b){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,l){f.__proto__= 1484l}||function(f,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(f[k]=l[k])};return d(a,b)};return function(a,b){function f(){this.constructor=a}if("function"!==typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");d(a,b);a.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),q=this&&this.__assign||function(){q=Object.assign||function(d){for(var a,b=1,f=arguments.length;b<f;b++){a=arguments[b];for(var l in a)Object.prototype.hasOwnProperty.call(a, 1485l)&&(d[l]=a[l])}return d};return q.apply(this,arguments)},m=this&&this.__values||function(d){var a="function"===typeof Symbol&&Symbol.iterator,b=a&&d[a],f=0;if(b)return b.call(d);if(d&&"number"===typeof d.length)return{next:function(){d&&f>=d.length&&(d=void 0);return{value:d&&d[f++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTextFieldIconFoundation=void 0;r=n("./packages/mdc-base/foundation.ts"); 1486var g=n("./packages/mdc-textfield/icon/constants.ts"),c=["click","keydown"];n=function(d){function a(b){var f=d.call(this,q(q({},a.defaultAdapter),b))||this;f.savedTabIndex=null;f.interactionHandler=function(l){f.handleInteraction(l)};return f}v(a,d);Object.defineProperty(a,"strings",{get:function(){return g.strings},enumerable:!1,configurable:!0});Object.defineProperty(a,"cssClasses",{get:function(){return g.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(a,"defaultAdapter",{get:function(){return{getAttr:function(){return null}, 1487setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0});a.prototype.init=function(){var b;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var f=m(c),l=f.next();!l.done;l=f.next())this.adapter.registerInteractionHandler(l.value,this.interactionHandler)}catch(h){var k={error:h}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(k)throw k.error; 1488}}};a.prototype.destroy=function(){var b;try{for(var f=m(c),l=f.next();!l.done;l=f.next())this.adapter.deregisterInteractionHandler(l.value,this.interactionHandler)}catch(h){var k={error:h}}finally{try{l&&!l.done&&(b=f.return)&&b.call(f)}finally{if(k)throw k.error;}}};a.prototype.setDisabled=function(b){this.savedTabIndex&&(b?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",g.strings.ICON_ROLE)))}; 1489a.prototype.setAriaLabel=function(b){this.adapter.setAttr("aria-label",b)};a.prototype.setContent=function(b){this.adapter.setContent(b)};a.prototype.handleInteraction=function(b){var f="Enter"===b.key||13===b.keyCode;if("click"===b.type||f)b.preventDefault(),this.adapter.notifyIconAction()};return a}(r.MDCFoundation);e.MDCTextFieldIconFoundation=n;e.default=n},
1489"./packages/mdc-textfield/icon/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(m,g,c,d){void 0===d&&(d= 1490c);Object.defineProperty(m,d,{enumerable:!0,get:function(){return g[c]}})}:function(m,g,c,d){void 0===d&&(d=c);m[d]=g[c]});r=this&&this.__exportStar||function(m,g){for(var c in m)"default"===c||Object.prototype.hasOwnProperty.call(g,c)||v(g,m,c)};Object.defineProperty(e,"__esModule",{value:!0});e.iconStrings=e.iconCssClasses=void 0;r(n("./packages/mdc-textfield/icon/adapter.ts"),e);r(n("./packages/mdc-textfield/icon/component.ts"),e);r(n("./packages/mdc-textfield/icon/foundation.ts"),e);var q=n("./packages/mdc-textfield/icon/constants.ts"); 1491Object.defineProperty(e,"iconCssClasses",{enumerable:!0,get:function(){return q.cssClasses}});Object.defineProperty(e,"iconStrings",{enumerable:!0,get:function(){return q.strings}})},
1491"./packages/mdc-textfield/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"=== 1492g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-textfield/adapter.ts"),e);r(n("./packages/mdc-textfield/component.ts"),e);r(n("./packages/mdc-textfield/constants.ts"),e);r(n("./packages/mdc-textfield/foundation.ts"),e);r(n("./packages/mdc-textfield/types.ts"),e);r(n("./packages/mdc-textfield/character-counter/index.ts"),e);r(n("./packages/mdc-textfield/helper-text/index.ts"),e);r(n("./packages/mdc-textfield/icon/index.ts"), 1493e)},
1493"./packages/mdc-textfield/types.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1493"./packages/mdc-tooltip/adapter.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0})},
1493"./packages/mdc-tooltip/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c, 1494d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTooltip=void 0;r=n("./packages/mdc-base/component.ts");var q=n("./packages/mdc-tooltip/constants.ts"),m=n("./packages/mdc-tooltip/foundation.ts");n=function(g){function c(){return null!==g&& 1495g.apply(this,arguments)||this}v(c,g);c.attachTo=function(d){return new c(d)};c.prototype.initialize=function(){var d=this.root.getAttribute("id");if(!d)throw Error("MDCTooltip: Tooltip component must have an id.");d=document.querySelector('[data-tooltip-id\x3d"'+d+'"]')||document.querySelector('[aria-describedby\x3d"'+d+'"]');if(!d)throw Error("MDCTooltip: Tooltip component requires an anchor element annotated with [aria-describedby] or [data-tooltip-id].");this.anchorElem=d};c.prototype.initialSyncWithDOM= 1496function(){var d=this;this.isTooltipRich=this.foundation.isRich();this.isTooltipPersistent=this.foundation.isPersistent();this.handleMouseEnter=function(){d.foundation.handleAnchorMouseEnter()};this.handleFocus=function(a){d.foundation.handleAnchorFocus(a)};this.handleMouseLeave=function(){d.foundation.handleAnchorMouseLeave()};this.handleTransitionEnd=function(){d.foundation.handleTransitionEnd()};this.handleClick=function(){d.foundation.handleAnchorClick()};this.handleTouchstart=function(){d.foundation.handleAnchorTouchstart()}; 1497this.handleTouchend=function(){d.foundation.handleAnchorTouchend()};this.isTooltipRich&&this.isTooltipPersistent?this.anchorElem.addEventListener("click",this.handleClick):(this.anchorElem.addEventListener("mouseenter",this.handleMouseEnter),this.anchorElem.addEventListener("focus",this.handleFocus),this.anchorElem.addEventListener("mouseleave",this.handleMouseLeave),this.anchorElem.addEventListener("touchstart",this.handleTouchstart),this.anchorElem.addEventListener("touchend",this.handleTouchend)); 1498this.listen("transitionend",this.handleTransitionEnd)};c.prototype.destroy=function(){this.anchorElem&&(this.isTooltipRich&&this.isTooltipPersistent?this.anchorElem.removeEventListener("click",this.handleClick):(this.anchorElem.removeEventListener("mouseenter",this.handleMouseEnter),this.anchorElem.removeEventListener("focus",this.handleFocus),this.anchorElem.removeEventListener("mouseleave",this.handleMouseLeave),this.anchorElem.removeEventListener("touchstart",this.handleTouchstart),this.anchorElem.removeEventListener("touchend", 1499this.handleTouchend)));this.unlisten("transitionend",this.handleTransitionEnd);g.prototype.destroy.call(this)};c.prototype.setTooltipPosition=function(d){this.foundation.setTooltipPosition(d)};c.prototype.setAnchorBoundaryType=function(d){this.foundation.setAnchorBoundaryType(d)};c.prototype.setShowDelay=function(d){this.foundation.setShowDelay(d)};c.prototype.setHideDelay=function(d){this.foundation.setHideDelay(d)};c.prototype.hide=function(){this.foundation.hide()};c.prototype.isShown=function(){return this.foundation.isShown()}; 1500c.prototype.attachScrollHandler=function(d){this.foundation.attachScrollHandler(d)};c.prototype.removeScrollHandler=function(d){this.foundation.removeScrollHandler(d)};c.prototype.getDefaultFoundation=function(){var d=this;return new m.MDCTooltipFoundation({getAttribute:function(a){return d.root.getAttribute(a)},setAttribute:function(a,b){d.root.setAttribute(a,b)},removeAttribute:function(a){d.root.removeAttribute(a)},addClass:function(a){d.root.classList.add(a)},hasClass:function(a){return d.root.classList.contains(a)}, 1501removeClass:function(a){d.root.classList.remove(a)},getComputedStyleProperty:function(a){return window.getComputedStyle(d.root).getPropertyValue(a)},setStyleProperty:function(a,b){d.root.style.setProperty(a,b)},setSurfaceAnimationStyleProperty:function(a,b){var f=d.root.querySelector("."+q.CssClasse
1501s.SURFACE_ANIMATION);null===f||void 0===f||f.style.setProperty(a,b)},getViewportWidth:function(){return window.innerWidth},getViewportHeight:function(){return window.innerHeight},getTooltipSize:function(){return{width:d.root.offsetWidth, 1502height:d.root.offsetHeight}},getAnchorBoundingRect:function(){return d.anchorElem?d.anchorElem.getBoundingClientRect():null},getParentBoundingRect:function(){var a,b;return null!==(b=null===(a=d.root.parentElement)||void 0===a?void 0:a.getBoundingClientRect())&&void 0!==b?b:null},getAnchorAttribute:function(a){return d.anchorElem?d.anchorElem.getAttribute(a):null},setAnchorAttribute:function(a,b){var f;null===(f=d.anchorElem)||void 0===f||f.setAttribute(a,b)},isRTL:function(){return"rtl"===getComputedStyle(d.root).direction}, 1503anchorContainsElement:function(a){var b;return!(null===(b=d.anchorElem)||void 0===b||!b.contains(a))},tooltipContainsElement:function(a){return d.root.contains(a)},focusAnchorElement:function(){var a;null===(a=d.anchorElem)||void 0===a||a.focus()},registerEventHandler:function(a,b){d.root instanceof HTMLElement&&d.root.addEventListener(a,b)},deregisterEventHandler:function(a,b){d.root instanceof HTMLElement&&d.root.removeEventListener(a,b)},registerAnchorEventHandler:function(a,b){var f;null===(f= 1504d.anchorElem)||void 0===f||f.addEventListener(a,b)},deregisterAnchorEventHandler:function(a,b){var f;null===(f=d.anchorElem)||void 0===f||f.removeEventListener(a,b)},registerDocumentEventHandler:function(a,b){document.body.addEventListener(a,b)},deregisterDocumentEventHandler:function(a,b){document.body.removeEventListener(a,b)},registerWindowEventHandler:function(a,b){window.addEventListener(a,b)},deregisterWindowEventHandler:function(a,b){window.removeEventListener(a,b)},notifyHidden:function(){d.emit(q.events.HIDDEN, 1505{})},getTooltipCaretBoundingRect:function(){var a=d.root.querySelector("."+q.CssClasses.TOOLTIP_CARET_TOP);return a?a.getBoundingClientRect():null},setTooltipCaretStyle:function(a,b){var f=d.root.querySelector("."+q.CssClasses.TOOLTIP_CARET_TOP),l=d.root.querySelector("."+q.CssClasses.TOOLTIP_CARET_BOTTOM);f&&l&&(f.style.setProperty(a,b),l.style.setProperty(a,b))},clearTooltipCaretStyles:function(){var a=d.root.querySelector("."+q.CssClasses.TOOLTIP_CARET_TOP),b=d.root.querySelector("."+q.CssClasses.TOOLTIP_CARET_BOTTOM); 1506a&&b&&(a.removeAttribute("style"),b.removeAttribute("style"))},getActiveElement:function(){return document.activeElement}})};return c}(r.MDCComponent);e.MDCTooltip=n},
1506"./packages/mdc-tooltip/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.XPositionWithCaret=e.YPositionWithCaret=e.PositionWithCaret=e.strings=e.YPosition=e.AnchorBoundaryType=e.XPosition=e.events=e.attributes=e.numbers=e.CssClasses=void 0;var v;(function(b){b.RICH="mdc-tooltip--rich";b.SHOWN="mdc-tooltip--shown"; 1507b.SHOWING="mdc-tooltip--showing";b.SHOWING_TRANSITION="mdc-tooltip--showing-transition";b.HIDE="mdc-tooltip--hide";b.HIDE_TRANSITION="mdc-tooltip--hide-transition";b.MULTILINE_TOOLTIP="mdc-tooltip--multiline";b.SURFACE="mdc-tooltip__surface";b.SURFACE_ANIMATION="mdc-tooltip__surface-animation";b.TOOLTIP_CARET_TOP="mdc-tooltip__caret-surface-top";b.TOOLTIP_CARET_BOTTOM="mdc-tooltip__caret-surface-bottom"})(v||(v={}));e.CssClasses=v;e.numbers={BOUNDED_ANCHOR_GAP:4,UNBOUNDED_ANCHOR_GAP:8,MIN_VIEWPORT_TOOLTIP_THRESHOLD:8, 1508HIDE_DELAY_MS:600,SHOW_DELAY_MS:500,MIN_HEIGHT:24,MAX_WIDTH:200,CARET_INDENTATION:24,ANIMATION_SCALE:.8};e.attributes={ARIA_EXPANDED:"aria-expanded",ARIA_HASPOPUP:"aria-haspopup",PERSISTENT:"data-mdc-tooltip-persistent",SCROLLABLE_ANCESTOR:"tooltip-scrollable-ancestor",HAS_CARET:"data-mdc-tooltip-has-caret"};e.events={HIDDEN:"MDCTooltip:hidden"};var q;(function(b){b[b.DETECTED=0]="DETECTED";b[b.START=1]="START";b[b.CENTER=2]="CENTER";b[b.END=3]="END"})(q||(q={}));e.XPosition=q;var m;(function(b){b[b.DETECTED= 15090]="DETECTED";b[b.ABOVE=1]="ABOVE";b[b.BELOW=2]="BELOW"})(m||(m={}));e.YPosition=m;var g;(function(b){b[b.BOUNDED=0]="BOUNDED";b[b.UNBOUNDED=1]="UNBOUNDED"})(g||(g={}));e.AnchorBoundaryType=g;e.strings={LEFT:"left",RIGHT:"right",CENTER:"center",TOP:"top",BOTTOM:"bottom"};var c;(function(b){b[b.DETECTED=0]="DETECTED";b[b.ABOVE_START=1]="ABOVE_START";b[b.ABOVE_CENTER=2]="ABOVE_CENTER";b[b.ABOVE_END=3]="ABOVE_END";b[b.TOP_SIDE_START=4]="TOP_SIDE_START";b[b.CENTER_SIDE_START=5]="CENTER_SIDE_START";b[b.BOTTOM_SIDE_START= 15106]="BOTTOM_SIDE_START";b[b.TOP_SIDE_END=7]="TOP_SIDE_END";b[b.CENTER_SIDE_END=8]="CENTER_SIDE_END";b[b.BOTTOM_SIDE_END=9]="BOTTOM_SIDE_END";b[b.BELOW_START=10]="BELOW_START";b[b.BELOW_CENTER=11]="BELOW_CENTER";b[b.BELOW_END=12]="BELOW_END"})(c||(c={}));e.PositionWithCaret=c;var d;(function(b){b[b.ABOVE=1]="ABOVE";b[b.BELOW=2]="BELOW";b[b.SIDE_TOP=3]="SIDE_TOP";b[b.SIDE_CENTER=4]="SIDE_CENTER";b[b.SIDE_BOTTOM=5]="SIDE_BOTTOM"})(d||(d={}));e.YPositionWithCaret=d;var a;(function(b){b[b.START=1]="START"; 1511b[b.CENTER=2]="CENTER";b[b.END=3]="END";b[b.SIDE_START=4]="SIDE_START";b[b.SIDE_END=5]="SIDE_END"})(a||(a={}));e.XPositionWithCaret=a},
1511"./packages/mdc-tooltip/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var C=function(B,x){C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,y){w.__proto__=y}||function(w,y){for(var A in y)Object.prototype.hasOwnProperty.call(y,A)&&(w[A]=y[A])};return C(B,x)};return function(B,x){function w(){this.constructor=B}if("function"!== 1512typeof x&&null!==x)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");C(B,x);B.prototype=null===x?Object.create(x):(w.prototype=x.prototype,new w)}}(),q=this&&this.__assign||function(){q=Object.assign||function(C){for(var B,x=1,w=arguments.length;x<w;x++){B=arguments[x];for(var y in B)Object.prototype.hasOwnProperty.call(B,y)&&(C[y]=B[y])}return C};return q.apply(this,arguments)},m=this&&this.__values||function(C){var B="function"===typeof Symbol&&Symbol.iterator, 1513x=B&&C[B],w=0;if(x)return x.call(C);if(C&&"number"===typeof C.length)return{next:function(){C&&w>=C.length&&(C=void 0);return{value:C&&C[w++],done:!C}}};throw new TypeError(B?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTooltipFoundation=void 0;var g=n("./packages/mdc-animation/animationframe.ts"),c=n("./packages/mdc-animation/util.ts");r=n("./packages/mdc-base/foundation.ts");var d=n("./packages/mdc-dom/keyboard.ts"),a=n("./packages/mdc-tooltip/constants.ts"), 1514b=a.CssClasses.RICH,f=a.CssClasses.SHOWN,l=a.CssClasses.SHOWING,k=a.CssClasses.SHOWING_TRANSITION,h=a.CssClasses.HIDE,p=a.CssClasses.HIDE_TRANSITION,t=a.CssClasses.MULTILINE_TOOLTIP,u;(u||(u={})).POLL_ANCHOR="poll_anchor";var z="undefined"!==typeof window;n=function(C){function B(x){var w=C.call(this,q(q({},B.defaultAdapter),x))||this;w.tooltipShown=!1;w.anchorGap=a.numbers.BOUNDED_ANCHOR_GAP;w.xTooltipPos=a.XPosition.DETECTED;w.yTooltipPos=a.YPosition.DETECTED;w.tooltipPositionWithCaret=a.PositionWithCaret.DETECTED; 1515w.minViewportTooltipThreshold=a.numbers.MIN_VIEWPORT_TOOLTIP_THRESHOLD;w.hideDelayMs=a.numbers.HIDE_DELAY_MS;w.showDelayMs=a.numbers.SHOW_DELAY_MS;w.anchorRect=null;w.parentRect=null;w.frameId=null;w.hideTimeout=null;w.showTimeout=null;w.addAncestorScrollEventListeners=[];w.removeAncestorScrollEventListeners=[];w.animFrame=new g.AnimationFrame;w.anchorBlurHandler=function(y){w.handleAnchorBlur(y)};w.documentClickHandler=function(y){w.handleDocumentClick(y)};w.documentKeydownHandler=function(y){w.handleKeydown(y)}; 1516w.tooltipMouseEnterHandler=function(){w.handleTooltipMouseEnter()};w.tooltipMouseLeaveHandler=function(){w.handleTooltipMouseLeave()};w.richTooltipFocusOutHandler=function(y){w.handleRichTooltipFocusOut(y)};w.windowScrollHandler=function(){w.handleWindowScrollEvent()};w.windowResizeHandler=function(){w.handleWindowChangeEvent()};return w}v(B,C);Object.defineProperty(B,"defaultAdapter",{get:function(){return{getAttribute:function(){return null},setAttribute:function(){},removeAttribute:function(){}, 1517addClass:function(){},hasClass:function(){return!1},removeClass:function(){},getComputedStyleProperty:function(){return""},setStyleProperty:function(){},setSurfaceAnimationStyleProperty:function(){},getViewportWidth:function(){return 0},getViewportHeight:function(){return 0},getTooltipSize:function(){return{width:0,height:0}},getAnchorBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getParentBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}}, 1518getAnchorAttribute:function(){return null},setAnchorAttribute:function(){return null},isRTL:function(){return!1},anchorContainsElement:function(){return!1},tooltipContainsElement:function(){return!1},focusAnchorElement:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerAnchorEventHandler:function(){},deregisterAnchorEventHandler:function(){},registerDocumentEventHandler:function(){},deregisterDocumentEventHandler:function(){},registerWindowEventHandler:function(){}, 1519deregisterWindowEventHandler:function(){},notifyHidden:function(){},getTooltipCaretBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setTooltipCaretStyle:function(){},clearTooltipCaretStyles:function(){},getActiveElement:function(){return null}}}
1519,enumerable:!1,configurable:!0});B.prototype.init=function(){this.richTooltip=this.adapter.hasClass(b);this.persistentTooltip="true"===this.adapter.getAttribute(a.attributes.PERSISTENT);this.interactiveTooltip=!!this.adapter.getAnchorAttribute(a.attributes.ARIA_EXPANDED)&& 1520"dialog"===this.adapter.getAnchorAttribute(a.attributes.ARIA_HASPOPUP);this.hasCaret=this.richTooltip&&"true"===this.adapter.getAttribute(a.attributes.HAS_CARET)};B.prototype.isShown=function(){return this.tooltipShown};B.prototype.isRich=function(){return this.richTooltip};B.prototype.isPersistent=function(){return this.persistentTooltip};B.prototype.handleAnchorMouseEnter=function(){var x=this;this.tooltipShown?this.show():(this.clearHideTimeout(),this.showTimeout=setTimeout(function(){x.show()}, 1521this.showDelayMs))};B.prototype.handleAnchorTouchstart=function(){var x=this;this.showTimeout=setTimeout(function(){x.show()},this.showDelayMs);this.adapter.registerWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch)};B.prototype.preventContextMenuOnLongTouch=function(x){x.preventDefault()};B.prototype.handleAnchorTouchend=function(){this.clearShowTimeout();this.isShown()||this.adapter.deregisterWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch)};B.prototype.handleAnchorFocus= 1522function(x){var w=this;x=x.relatedTarget;x instanceof HTMLElement&&this.adapter.tooltipContainsElement(x)||(this.showTimeout=setTimeout(function(){w.show()},this.showDelayMs))};B.prototype.handleAnchorMouseLeave=function(){var x=this;this.clearShowTimeout();this.hideTimeout=setTimeout(function(){x.hide()},this.hideDelayMs)};B.prototype.handleAnchorClick=function(){this.tooltipShown?this.hide():this.show()};B.prototype.handleDocumentClick=function(x){x=x.target instanceof HTMLElement&&(this.adapter.anchorContainsElement(x.target)|| 1523this.adapter.tooltipContainsElement(x.target));this.richTooltip&&this.persistentTooltip&&x||this.hide()};B.prototype.handleKeydown=function(x){d.normalizeKey(x)===d.KEY.ESCAPE&&(x=this.adapter.getActiveElement(),x instanceof HTMLElement&&this.adapter.tooltipContainsElement(x)&&this.adapter.focusAnchorElement(),this.hide())};B.prototype.handleAnchorBlur=function(x){this.richTooltip&&(x.relatedTarget instanceof HTMLElement&&this.adapter.tooltipContainsElement(x.relatedTarget)||null===x.relatedTarget&& 1524this.interactiveTooltip)||this.hide()};B.prototype.handleTooltipMouseEnter=function(){this.show()};B.prototype.handleTooltipMouseLeave=function(){var x=this;this.clearShowTimeout();this.hideTimeout=setTimeout(function(){x.hide()},this.hideDelayMs)};B.prototype.handleRichTooltipFocusOut=function(x){x.relatedTarget instanceof HTMLElement&&(this.adapter.anchorContainsElement(x.relatedTarget)||this.adapter.tooltipContainsElement(x.relatedTarget))||null===x.relatedTarget&&this.interactiveTooltip||this.hide()}; 1525B.prototype.handleWindowScrollEvent=function(){this.persistentTooltip?this.handleWindowChangeEvent():this.hide()};B.prototype.handleWindowChangeEvent=function(){var x=this;this.animFrame.request(u.POLL_ANCHOR,function(){x.repositionTooltipOnAnchorMove()})};B.prototype.show=function(){var x,w=this;this.clearHideTimeout();this.clearShowTimeout();if(!this.tooltipShown){this.tooltipShown=!0;this.adapter.removeAttribute("aria-hidden");this.richTooltip&&(this.interactiveTooltip&&this.adapter.setAnchorAttribute("aria-expanded", 1526"true"),this.adapter.registerEventHandler("focusout",this.richTooltipFocusOutHandler));this.persistentTooltip||(this.adapter.registerEventHandler("mouseenter",this.tooltipMouseEnterHandler),this.adapter.registerEventHandler("mouseleave",this.tooltipMouseLeaveHandler));this.adapter.removeClass(h);this.adapter.addClass(l);this.isTooltipMultiline()&&!this.richTooltip&&this.adapter.addClass(t);this.anchorRect=this.adapter.getAnchorBoundingRect();this.parentRect=this.adapter.getParentBoundingRect();this.richTooltip? 1527this.positionRichTooltip():this.positionPlainTooltip();this.adapter.registerAnchorEventHandler("blur",this.anchorBlurHandler);this.adapter.registerDocumentEventHandler("click",this.documentClickHandler);this.adapter.registerDocumentEventHandler("keydown",this.documentKeydownHandler);this.adapter.registerWindowEventHandler("scroll",this.windowScrollHandler);this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler);try{for(var y=m(this.addAncestorScrollEventListeners),A=y.next();!A.done;A= 1528y.next()){var D=A.value;D()}}catch(F){var E={error:F}}finally{try{A&&!A.done&&(x=y.return)&&x.call(y)}finally{if(E)throw E.error;}}this.frameId=requestAnimationFrame(function(){w.clearAllAnimationClasses();w.adapter.addClass(f);w.adapter.addClass(k)})}};B.prototype.hide=function(){var x;this.clearHideTimeout();this.clearShowTimeout();if(this.tooltipShown){this.frameId&&cancelAnimationFrame(this.frameId);this.tooltipShown=!1;this.adapter.setAttribute("aria-hidden","true");this.adapter.deregisterEventHandler("focusout", 1529this.richTooltipFocusOutHandler);this.richTooltip&&this.interactiveTooltip&&this.adapter.setAnchorAttribute("aria-expanded","fal
1529se");this.persistentTooltip||(this.adapter.deregisterEventHandler("mouseenter",this.tooltipMouseEnterHandler),this.adapter.deregisterEventHandler("mouseleave",this.tooltipMouseLeaveHandler));this.clearAllAnimationClasses();this.adapter.addClass(h);this.adapter.addClass(p);this.adapter.removeClass(f);this.adapter.deregisterAnchorEventHandler("blur",this.anchorBlurHandler); 1530this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler);this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler);this.adapter.deregisterWindowEventHandler("scroll",this.windowScrollHandler);this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler);this.adapter.deregisterWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch);try{for(var w=m(this.removeAncestorScrollEventListeners),y=w.next();!y.done;y=w.next()){var A= 1531y.value;A()}}catch(E){var D={error:E}}finally{try{y&&!y.done&&(x=w.return)&&x.call(w)}finally{if(D)throw D.error;}}}};B.prototype.handleTransitionEnd=function(){var x=this.adapter.hasClass(h);this.adapter.removeClass(l);this.adapter.removeClass(k);this.adapter.removeClass(h);this.adapter.removeClass(p);x&&this.adapter.notifyHidden()};B.prototype.clearAllAnimationClasses=function(){this.adapter.removeClass(k);this.adapter.removeClass(p)};B.prototype.setTooltipPosition=function(x){var w=x.xPos,y=x.yPos; 1532x=x.withCaretPos;this.hasCaret&&x?this.tooltipPositionWithCaret=x:(w&&(this.xTooltipPos=w),y&&(this.yTooltipPos=y))};B.prototype.setAnchorBoundaryType=function(x){this.anchorGap=x===a.AnchorBoundaryType.UNBOUNDED?a.numbers.UNBOUNDED_ANCHOR_GAP:a.numbers.BOUNDED_ANCHOR_GAP};B.prototype.setShowDelay=function(x){this.showDelayMs=x};B.prototype.setHideDelay=function(x){this.hideDelayMs=x};B.prototype.isTooltipMultiline=function(){var x=this.adapter.getTooltipSize();return x.height>a.numbers.MIN_HEIGHT&& 1533x.width>=a.numbers.MAX_WIDTH};B.prototype.positionPlainTooltip=function(){var x=this.calculateTooltipStyles(this.anchorRect),w=x.top,y=x.yTransformOrigin,A=x.left;x=x.xTransformOrigin;var D=z?c.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setSurfaceAnimationStyleProperty(D+"-origin",x+" "+y);this.adapter.setStyleProperty("top",w+"px");this.adapter.setStyleProperty("left",A+"px")};B.prototype.positionRichTooltip=function(){var x,w,y,A,D=this.adapter.getComputedStyleProperty("width"); 1534this.adapter.setStyleProperty("width",D);var E=this.hasCaret?this.calculateTooltipWithCaretStyles(this.anchorRect):this.calculateTooltipStyles(this.anchorRect);D=E.top;var F=E.yTransformOrigin,H=E.left;E=E.xTransformOrigin;var G=z?c.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setSurfaceAnimationStyleProperty(G+"-origin",E+" "+F);F=H-(null!==(w=null===(x=this.parentRect)||void 0===x?void 0:x.left)&&void 0!==w?w:0);x=D-(null!==(A=null===(y=this.parentRect)||void 0===y?void 0: 1535y.top)&&void 0!==A?A:0);this.adapter.setStyleProperty("top",x+"px");this.adapter.setStyleProperty("left",F+"px")};B.prototype.calculateTooltipStyles=function(x){if(!x)return{top:0,left:0};var w=this.adapter.getTooltipSize(),y=this.calculateYTooltipDistance(x,w.height);x=this.calculateXTooltipDistance(x,w.width);return{top:y.distance,yTransformOrigin:y.yTransformOrigin,left:x.distance,xTransformOrigin:x.xTransformOrigin}};B.prototype.calculateXTooltipDistance=function(x,w){var y=!this.adapter.isRTL(); 1536if(this.richTooltip){var A=y?x.left-w:x.right;var D=y?x.right:x.left-w;var E=y?a.strings.RIGHT:a.strings.LEFT;y=y?a.strings.LEFT:a.strings.RIGHT}else{A=y?x.left:x.right-w;D=y?x.right-w:x.left;var F=x.left+(x.width-w)/2;E=y?a.strings.LEFT:a.strings.RIGHT;y=y?a.strings.RIGHT:a.strings.LEFT}var H=this.richTooltip?this.determineValidPositionOptions(A,D):this.determineValidPositionOptions(F,A,D);return this.xTooltipPos===a.XPosition.START&&H.has(A)?{distance:A,xTransformOrigin:E}:this.xTooltipPos===a.XPosition.END&& 1537H.has(D)?{distance:D,xTransformOrigin:y}:this.xTooltipPos===a.XPosition.CENTER&&H.has(F)?{distance:F,xTransformOrigin:a.strings.CENTER}:(A=(this.richTooltip?[{distance:D,xTransformOrigin:y},{distance:A,xTransformOrigin:E}]:[{distance:F,xTransformOrigin:a.strings.CENTER},{distance:A,xTransformOrigin:E},{distance:D,xTransformOrigin:y}]).find(function(G){return H.has(G.distance)}))?A:0>x.left?{distance:this.minViewportTooltipThreshold,xTransformOrigin:a.strings.LEFT}:{distance:this.adapter.getViewportWidth()- 1538(w+this.minViewportTooltipThreshold),xTransformOrigin:a.strings.RIGHT}};B.prototype.determineValidPositionOptions=function(){for(var x,w,y=[],A=0;A<arguments.length;A++)y[A]=arguments[A];A=new Set;var D=new Set;try{for(var E=m(y),F=E.next();!F.done;F=E.next()){var H=F.value;this.positionHonorsViewportThreshold(H)?A.add(H):this.positionDoesntCollideWithViewport(H)&&D.add(H)}}catch(G){x={error:G}}finally{try{F&&!F.done&&(w=E.return)&&w.call(E)}finally{if(x)throw x.error;}}
1538return A.size?A:D};B.prototype.positionHonorsViewportThreshold= 1539function(x){var w=this.adapter.getViewportWidth(),y=this.adapter.getTooltipSize().width;return x+y<=w-this.minViewportTooltipThreshold&&x>=this.minViewportTooltipThreshold};B.prototype.positionDoesntCollideWithViewport=function(x){var w=this.adapter.getViewportWidth(),y=this.adapter.getTooltipSize().width;return x+y<=w&&0<=x};B.prototype.calculateYTooltipDistance=function(x,w){var y=x.bottom+this.anchorGap;x=x.top-(this.anchorGap+w);w=this.determineValidYPositionOptions(x,y);return this.yTooltipPos=== 1540a.YPosition.ABOVE&&w.has(x)?{distance:x,yTransformOrigin:a.strings.BOTTOM}:this.yTooltipPos===a.YPosition.BELOW&&w.has(y)||w.has(y)?{distance:y,yTransformOrigin:a.strings.TOP}:w.has(x)?{distance:x,yTransformOrigin:a.strings.BOTTOM}:{distance:y,yTransformOrigin:a.strings.TOP}};B.prototype.determineValidYPositionOptions=function(x,w){var y=new Set,A=new Set;this.yPositionHonorsViewportThreshold(x)?y.add(x):this.yPositionDoesntCollideWithViewport(x)&&A.add(x);this.yPositionHonorsViewportThreshold(w)? 1541y.add(w):this.yPositionDoesntCollideWithViewport(w)&&A.add(w);return y.size?y:A};B.prototype.yPositionHonorsViewportThreshold=function(x){var w=this.adapter.getViewportHeight(),y=this.adapter.getTooltipSize().height;return x+y+this.minViewportTooltipThreshold<=w&&x>=this.minViewportTooltipThreshold};B.prototype.yPositionDoesntCollideWithViewport=function(x){var w=this.adapter.getViewportHeight(),y=this.adapter.getTooltipSize().height;return x+y<=w&&0<=x};B.prototype.calculateTooltipWithCaretStyles= 1542function(x){this.adapter.clearTooltipCaretStyles();var w=this.adapter.getTooltipCaretBoundingRect();if(!x||!w)return{position:a.PositionWithCaret.DETECTED,top:0,left:0};var y=w.width/a.numbers.ANIMATION_SCALE;w=w.height/a.numbers.ANIMATION_SCALE/2;var A=this.adapter.getTooltipSize(),D=this.calculateYWithCaretDistanceOptions(x,A.height,{caretWidth:y,caretHeight:w}),E=this.calculateXWithCaretDistanceOptions(x,A.width,{caretWidth:y,caretHeight:w});D=this.validateTooltipWithCaretDistances(D,E);1>D.size&& 1543(D=this.generateBackupPositionOption(x,A,{caretWidth:y,caretHeight:w}));D=this.determineTooltipWithCaretDistance(D);x=D.xDistance;A=D.yDistance;y=this.setCaretPositionStyles(D.position,{caretWidth:y,caretHeight:w});return{yTransformOrigin:y.yTransformOrigin,xTransformOrigin:y.xTransformOrigin,top:A,left:x}};B.prototype.calculateXWithCaretDistanceOptions=function(x,w,y){var A=y.caretWidth,D=y.caretHeight;y=!this.adapter.isRTL();var E=x.left+x.width/2,F=x.left-(w+this.anchorGap+D);x=x.right+this.anchorGap+ 1544D;D=E-(a.numbers.CARET_INDENTATION+A/2);A=E-(w-a.numbers.CARET_INDENTATION-A/2);return new Map([[a.XPositionWithCaret.START,y?D:A],[a.XPositionWithCaret.CENTER,E-w/2],[a.XPositionWithCaret.END,y?A:D],[a.XPositionWithCaret.SIDE_END,y?x:F],[a.XPositionWithCaret.SIDE_START,y?F:x]])};B.prototype.calculateYWithCaretDistanceOptions=function(x,w,y){var A=y.caretWidth;y=y.caretHeight;var D=x.top+x.height/2;return new Map([[a.YPositionWithCaret.ABOVE,x.top-(this.anchorGap+w+y)],[a.YPositionWithCaret.BELOW, 1545x.bottom+this.anchorGap+y],[a.YPositionWithCaret.SIDE_TOP,D-(a.numbers.CARET_INDENTATION+A/2)],[a.YPositionWithCaret.SIDE_CENTER,D-w/2],[a.YPositionWithCaret.SIDE_BOTTOM,D-(w-a.numbers.CARET_INDENTATION-A/2)]])};B.prototype.repositionTooltipOnAnchorMove=function(){var x=this.adapter.getAnchorBoundingRect();x&&this.anchorRect&&(x.top!==this.anchorRect.top||x.left!==this.anchorRect.left||x.height!==this.anchorRect.height||x.width!==this.anchorRect.width)&&(this.anchorRect=x,this.parentRect=this.adapter.getParentBoundingRect(), 1546this.richTooltip?this.positionRichTooltip():this.positionPlainTooltip())};B.prototype.validateTooltipWithCaretDistances=function(x,w){var y,A,D,E,F,H=new Map,G=new Map,J=new Map([[a.YPositionWithCaret.ABOVE,[a.XPositionWithCaret.START,a.XPositionWithCaret.CENTER,a.XPositionWithCaret.END]],[a.YPositionWithCaret.BELOW,[a.XPositionWithCaret.START,a.XPositionWithCaret.CENTER,a.XPositionWithCaret.END]],[a.YPositionWithCaret.SIDE_TOP,[a.XPositionWithCaret.SIDE_START,a.XPositionWithCaret.SIDE_END]],[a.YPositionWithCaret.SIDE_CENTER, 1547[a.XPositionWithCaret.SIDE_START,a.XPositionWithCaret.SIDE_END]],[a.YPositionWithCaret.SIDE_BOTTOM,[a.XPositionWithCaret.SIDE_START,a.XPositionWithCaret.SIDE_END]]]);try{for(var K=m(J.keys()),I=K.next();!I.done;I=K.next()){var L=I.value,M=x.get(L);if(this.yPositionHonorsViewportThreshold(M))try{for(var N=(A=void 0,m(J.get(L))),O=N.next();!O.done;O=N.next()){var P=O.value,Q=w.get(P);if(this.positionHonorsViewportThreshold(Q)){var U=this.caretPositionOptionsMapping(P,L);H.set(U,{xDistance:Q,yDistance:M})}}}catch(R){A= 1548{error:R}}finally{try{O&&!O.done&&(D=N.return)&&D.call(N)}finally{if(A)throw A.error;}}else if(this.yPositionDoesntCollideWithViewport(M))try{for(var T=(E=void 0,m(J.get(L))),S=T.next();!S.done;S=T.next())P=S.value,Q=w.get(P),this.positionDoesntCollideWithViewport(Q)&&(U=this.caretPositionOptionsMapping(P,L),G.set(U,{xDistance:Q,yDistance:M}))}catch(R){E={error:R}}finally{try{S&&!S.done&&(F=T.return)&&F.call(T)}finally{if(E)throw E.error;}}}}catch(R){var V={error:R}}finally{try{I&&!I.done&&(y=K.return)&& 1549y.call(K)}finally{if(V)throw V.error;}}return H.size?H:G};B.prototype.generateBackupPositionOption=function(x,w,y){var A=!this.adapter.isRTL();if(0>x.left){var D=this.minViewportTooltipThreshold+y.caretHeight;A=A?a.XPositionWithCaret.END:a.XPositionWithCaret.START}else D=this.adapter.getViewportWidth()-(w.width+this.minViewportTooltipThreshold+y.caretHeight),A=A?a.XPositionWithCaret.START:a.XPositionWithCaret.END;0>x.top?(x=this.minViewportTooltipThreshold+y.caretHeight,w=a.YPositionWithCaret.BELOW):
1550(x=this.adapter.getViewportHeight()-(w.height+this.minViewportTooltipThreshold+y.caretHeight),w=a.YPositionWithCaret.ABOVE);A=this.caretPositionOptionsMapping(A,w);return new Map([[A,{xDistance:D,yDistance:x}]])};B.prototype.determineTooltipWithCaretDistance=function(x){if(x.has(this.tooltipPositionWithCaret)){var w=x.get(this.tooltipPositionWithCaret);return{position:this.tooltipPositionWithCaret,xDistance:w.xDistance,yDistance:w.yDistance}}w=[a.PositionWithCaret.ABOVE_START,a.PositionWithCaret.ABOVE_CENTER, 1551a.PositionWithCaret.ABOVE_END,a.PositionWithCaret.TOP_SIDE_START,a.PositionWithCaret.CENTER_SIDE_START,a.PositionWithCaret.BOTTOM_SIDE_START,a.PositionWithCaret.TOP_SIDE_END,a.PositionWithCaret.CENTER_SIDE_END,a.PositionWithCaret.BOTTOM_SIDE_END,a.PositionWithCaret.BELOW_START,a.PositionWithCaret.BELOW_CENTER,a.PositionWithCaret.BELOW_END].find(function(A){return x.has(A)});var y=x.get(w);return{position:w,xDistance:y.xDistance,yDistance:y.yDistance}};B.prototype.caretPositionOptionsMapping=function(x, 1552w){switch(w){case a.YPositionWithCaret.ABOVE:if(x===a.XPositionWithCaret.START)return a.PositionWithCaret.ABOVE_START;if(x===a.XPositionWithCaret.CENTER)return a.PositionWithCaret.ABOVE_CENTER;if(x===a.XPositionWithCaret.END)return a.PositionWithCaret.ABOVE_END;break;case a.YPositionWithCaret.BELOW:if(x===a.XPositionWithCaret.START)return a.PositionWithCaret.BELOW_START;if(x===a.XPositionWithCaret.CENTER)return a.PositionWithCaret.BELOW_CENTER;if(x===a.XPositionWithCaret.END)return a.PositionWithCaret.BELOW_END; 1553break;case a.YPositionWithCaret.SIDE_TOP:if(x===a.XPositionWithCaret.SIDE_START)return a.PositionWithCaret.TOP_SIDE_START;if(x===a.XPositionWithCaret.SIDE_END)return a.PositionWithCaret.TOP_SIDE_END;break;case a.YPositionWithCaret.SIDE_CENTER:if(x===a.XPositionWithCaret.SIDE_START)return a.PositionWithCaret.CENTER_SIDE_START;if(x===a.XPositionWithCaret.SIDE_END)return a.PositionWithCaret.CENTER_SIDE_END;break;case a.YPositionWithCaret.SIDE_BOTTOM:if(x===a.XPositionWithCaret.SIDE_START)return a.PositionWithCaret.BOTTOM_SIDE_START; 1554if(x===a.XPositionWithCaret.SIDE_END)return a.PositionWithCaret.BOTTOM_SIDE_END}throw Error("MDCTooltipFoundation: Invalid caret position of "+x+", "+w);};B.prototype.setCaretPositionStyles=function(x,w){var y;x=this.calculateCaretPositionOnTooltip(x,w);if(!x)return{yTransformOrigin:0,xTransformOrigin:0};this.adapter.clearTooltipCaretStyles();this.adapter.setTooltipCaretStyle(x.yAlignment,x.yAxisPx);this.adapter.setTooltipCaretStyle(x.xAlignment,x.xAxisPx);this.adapter.setTooltipCaretStyle("transform", 1555"rotate("+x.rotation+"deg) skewY("+x.skew+"deg) scaleX("+Math.cos(Math.PI/180*x.skew)+")");this.adapter.setTooltipCaretStyle("transform-origin",x.xAlignment+" "+x.yAlignment);try{for(var A=m(x.caretCorners),D=A.next();!D.done;D=A.next())this.adapter.setTooltipCaretStyle(D.value,"0")}catch(F){var E={error:F}}finally{try{D&&!D.done&&(y=A.return)&&y.call(A)}finally{if(E)throw E.error;}}return{yTransformOrigin:x.yTransformOrigin,xTransformOrigin:x.xTransformOrigin}};B.prototype.calculateCaretPositionOnTooltip= 1556function(x,w){var y=!this.adapter.isRTL(),A=this.adapter.getComputedStyleProperty("width"),D=this.adapter.getComputedStyleProperty("height");if(A&&D&&w){var E="calc(("+A+" - "+w.caretWidth+"px) / 2)";w="calc(("+D+" - "+w.caretWidth+"px) / 2)";var F=a.numbers.CARET_INDENTATION+"px",H="calc("+A+" - "+F+")",G="calc("+D+" - "+F+")",J=["border-bottom-right-radius","border-top-left-radius"],K=["border-bottom-left-radius","border-top-right-radius"];switch(x){case a.PositionWithCaret.BELOW_CENTER:return{yAlignment:a.strings.TOP, 1557xAlignment:a.strings.LEFT,yAxisPx:"0",xAxisPx:E,rotation:-35,skew:-20,xTransformOrigin:E,yTransformOrigin:"0",caretCorners:J};case a.PositionWithCaret.BELOW_END:return{yAlignment:a.strings.TOP,xAlignment:y?a.strings.RIGHT:a.strings.LEFT,yAxisPx:"0",xAxisPx:F,rotation:y?35:-35,skew:y?20:-20,xTransformOrigin:y?H:F,yTransformOrigin:"0",caretCorners:y?K:J};case a.PositionWithCaret.BELOW_START:return{yAlignment:a.strings.TOP,xAlignment:y?a.strings.LEFT:a.strings.RIGHT,yAxisPx:"0",xAxisPx:F,rotation:y? 1558-35:35,skew:y?-20:20,xTransformOrigin:y?F:H,yTransformOrigin:"0",caretCorners:y?J:K};
1558case a.PositionWithCaret.TOP_SIDE_END:return{yAlignment:a.strings.TOP,xAlignment:y?a.strings.LEFT:a.strings.RIGHT,yAxisPx:F,xAxisPx:"0",rotation:y?55:-55,skew:y?-20:20,xTransformOrigin:y?"0":A,yTransformOrigin:F,caretCorners:y?J:K};case a.PositionWithCaret.CENTER_SIDE_END:return{yAlignment:a.strings.TOP,xAlignment:y?a.strings.LEFT:a.strings.RIGHT,yAxisPx:w,xAxisPx:"0",rotation:y?55:-55,skew:y?-20:20,xTransformOrigin:y? 1559"0":A,yTransformOrigin:w,caretCorners:y?J:K};case a.PositionWithCaret.BOTTOM_SIDE_END:return{yAlignment:a.strings.BOTTOM,xAlignment:y?a.strings.LEFT:a.strings.RIGHT,yAxisPx:F,xAxisPx:"0",rotation:y?-55:55,skew:y?20:-20,xTransformOrigin:y?"0":A,yTransformOrigin:G,caretCorners:y?K:J};case a.PositionWithCaret.TOP_SIDE_START:return{yAlignment:a.strings.TOP,xAlignment:y?a.strings.RIGHT:a.strings.LEFT,yAxisPx:F,xAxisPx:"0",rotation:y?-55:55,skew:y?20:-20,xTransformOrigin:y?A:"0",yTransformOrigin:F,caretCorners:y? 1560K:J};case a.PositionWithCaret.CENTER_SIDE_START:return{yAlignment:a.strings.TOP,xAlignment:y?a.strings.RIGHT:a.strings.LEFT,yAxisPx:w,xAxisPx:"0",rotation:y?-55:55,skew:y?20:-20,xTransformOrigin:y?A:"0",yTransformOrigin:w,caretCorners:y?K:J};case a.PositionWithCaret.BOTTOM_SIDE_START:return{yAlignment:a.strings.BOTTOM,xAlignment:y?a.strings.RIGHT:a.strings.LEFT,yAxisPx:F,xAxisPx:"0",rotation:y?55:-55,skew:y?-20:20,xTransformOrigin:y?A:"0",yTransformOrigin:G,caretCorners:y?J:K};case a.PositionWithCaret.ABOVE_CENTER:return{yAlignment:a.strings.BOTTOM, 1561xAlignment:a.strings.LEFT,yAxisPx:"0",xAxisPx:E,rotation:35,skew:20,xTransformOrigin:E,yTransformOrigin:D,caretCorners:K};case a.PositionWithCaret.ABOVE_END:return{yAlignment:a.strings.BOTTOM,xAlignment:y?a.strings.RIGHT:a.strings.LEFT,yAxisPx:"0",xAxisPx:F,rotation:y?-35:35,skew:y?-20:20,xTransformOrigin:y?H:F,yTransformOrigin:D,caretCorners:y?J:K};default:case a.PositionWithCaret.ABOVE_START:return{yAlignment:a.strings.BOTTOM,xAlignment:y?a.strings.LEFT:a.strings.RIGHT,yAxisPx:"0",xAxisPx:F,rotation:y? 156235:-35,skew:y?20:-20,xTransformOrigin:y?F:H,yTransformOrigin:D,caretCorners:y?K:J}}}};B.prototype.clearShowTimeout=function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)};B.prototype.clearHideTimeout=function(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)};B.prototype.attachScrollHandler=function(x){var w=this;this.addAncestorScrollEventListeners.push(function(){x("scroll",w.windowScrollHandler)})};B.prototype.removeScrollHandler=function(x){var w= 1563this;this.removeAncestorScrollEventListeners.push(function(){x("scroll",w.windowScrollHandler)})};B.prototype.destroy=function(){var x;this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=null);this.clearHideTimeout();this.clearShowTimeout();this.adapter.removeClass(f);this.adapter.removeClass(k);this.adapter.removeClass(l);this.adapter.removeClass(h);this.adapter.removeClass(p);this.richTooltip&&this.adapter.deregisterEventHandler("focusout",this.richTooltipFocusOutHandler);this.persistentTooltip|| 1564(this.adapter.deregisterEventHandler("mouseenter",this.tooltipMouseEnterHandler),this.adapter.deregisterEventHandler("mouseleave",this.tooltipMouseLeaveHandler));this.adapter.deregisterAnchorEventHandler("blur",this.anchorBlurHandler);this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler);this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler);this.adapter.deregisterWindowEventHandler("scroll",this.windowScrollHandler);this.adapter.deregisterWindowEventHandler("resize", 1565this.windowResizeHandler);try{for(var w=m(this.removeAncestorScrollEventListeners),y=w.next();!y.done;y=w.next()){var A=y.value;A()}}catch(E){var D={error:E}}finally{try{y&&!y.done&&(x=w.return)&&x.call(w)}finally{if(D)throw D.error;}}this.animFrame.cancelAll()};return B}(r.MDCFoundation);e.MDCTooltipFoundation=n;e.default=n},
1565"./packages/mdc-tooltip/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g);Object.defineProperty(q,c,{enumerable:!0, 1566get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-tooltip/adapter.ts"),e);r(n("./packages/mdc-tooltip/component.ts"),e);r(n("./packages/mdc-tooltip/foundation.ts"),e);r(n("./packages/mdc-tooltip/constants.ts"),e)},
1566"./packages/mdc-top-app-bar/adapter.ts":function(r,e,n){Object.defineProperty(e, 1567"__esModule",{value:!0})},
1567"./packages/mdc-top-app-bar/component.ts":function(r,e,n){var v=this&&this.__extends||function(){var b=function(f,l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,h){k.__proto__=h}||function(k,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(k[p]=h[p])};return b(f,l)};return function(f,l){function k(){this.constructor=f}if("function"!==typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null"); 1568b(f,l);f.prototype=null===l?Object.create(l):(k.prototype=l.prototype,new k)}}(),q=this&&this.__values||function(b){var f="function"===typeof Symbol&&Symbol.iterator,l=f&&b[f],k=0;if(l)return l.call(b);if(b&&"number"===typeof b.length)return{next:function(){b&&k>=b.length&&(b=void 0);return{value:b&&b[k++],done:!b}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.");};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTopAppBar=void 0;r=n("./packages/mdc-base/component.ts"); 1569var m=n("./packages/mdc-ripple/component.ts"),g=n("./packages/mdc-top-app-bar/constants.ts"),c=n("./packages/mdc-top-app-bar/fixed/foundation.ts"),d=n("./packages/mdc-top-app-bar/short/foundation.ts"),a=n("./packages/mdc-top-app-bar/standard/foundation.ts");n=function(b){function f(){return null!==b&&b.apply(this,arguments)||this}v(f,b);f.attachTo=function(l){return new f(l)};f.prototype.initialize=function(l){void 0===l&&(l=function(h){return m.MDCRipple.attachTo(h)});this.navIcon=this.root.querySelector(g.strings.NAVIGATION_ICON_SELECTOR); 1570var k=[].slice.call(this.root.querySelectorAll(g.strings.ACTION_ITEM_SELECTOR));this.navIcon&&k.push(this.navIcon);this.iconRipples=k.map(function(h){h=l(h);h.unbounded=!0;return h});this.scrollTarget=window};f.prototype.initialSyncWithDOM=function(){this.handleNavigationClick=this.foundation.handleNavigationClick.bind(this.foundation);this.handleWindowResize=this.foundation.handleWindowResize.bind(this.foundation);this.handleTargetScroll=this.foundation.handleTargetScroll.bind(this.foundation);this.scrollTarget.addEventListener("scroll", 1571this.handleTargetScroll);this.navIcon&&this.navIcon.addEventListener("click",this.handleNavigationClick);var l=this.root.classList.contains(g.cssClasses.FIXED_CLASS);this.root.classList.contains(g.cssClasses.SHORT_CLASS)||l||window.addEventListener("resize",this.handleWindowResize)};f.prototype.destroy=function(){var l;try{for(var k=q(this.iconRipples),h=k.next();!h.done;h=k.next())h.value.destroy()}catch(t){var p={error:t}}finally{try{h&&!h.done&&(l=k.return)&&l.call(k)}finally{if(p)throw p.error; 1572}}this.scrollTarget.removeEventListener("scroll",this.handleTargetScroll);this.navIcon&&this.navIcon.removeEventListener("click",this.handleNavigationClick);p=this.root.classList.contains(g.cssClasses.FIXED_CLASS);this.root.classList.contains(g.cssClasses.SHORT_CLASS)||p||window.removeEventListener("resize",this.handleWindowResize);b.prototype.destroy.call(this)};f.prototype.setScrollTarget=function(l){this.scrollTarget.removeEventListener("scroll",this.handleTargetScroll);this.scrollTarget=l;this.handleTargetScroll= 1573this.foundation.handleTargetScroll.bind(this.foundation);this.scrollTarget.addEventListener("scroll",this.handleTargetScroll)};f.prototype.getDefaultFoundation=function(){var l=this,k={hasClass:function(h){return l.root.classList.contains(h)},addClass:function(h){return l.root.classList.add(h)},removeClass:function(h){return l.root.classList.remove(h)},setStyle:function(h,p){return l.root.style.setProperty(h,p)},getTopAppBarHeight:function(){return l.root.clientHeight},notifyNavigationIconClicked:function(){return l.emit(g.strings.NAVIGATION_EVENT, 1574{})},getViewportScrollY:function(){var h=l.scrollTarget,p=l.scrollTarget;return void 0!==h.pageYOffset?h.pageYOffset:p.scrollTop},getTotalActionItems:function(){return l.root.querySelectorAll(g.strings.ACTION_ITEM_SELECTOR).length}};return this.root.classList.contains(g.cssClasses.SHORT_CLASS)?new d.MDCShortTopAppBarFoundation(k):this.root.classList.contains(g.cssClasses.FIXED_CLASS)?new c.MDCFixedTopAppBarFoundation(k):new a.MDCTopAppBarFoundation(k)};return f}(r.MDCComponent);e.MDCTopAppBar=n},
1575"./packages/mdc-top-app-bar/constants.ts":function(r,e,n){Object.defineProperty(e,"__esModule",{value:!0});e.strings=e.numbers=e.cssClasses=void 0;e.cssClasses={FIXED_CLASS:"mdc-top-app-bar--fixed",FIXED_SCROLLED_CLASS:"mdc-top-app-bar--fixed-scrolled",SHORT_CLASS:"mdc-top-app-bar--short",SHORT_COLLAPSED_CLASS:"mdc-top-app-bar--short-collapsed",SHORT_HAS_ACTION_ITEM_CLASS:"mdc-top-app-bar--short-has-action-item"};e.numbers={DEBOUNCE_THROTTLE_RESIZE_TIME_MS:100,MAX_TOP_APP_BAR_HEIGHT:128};e.strings= 1576{ACTION_ITEM_SELECTOR:".mdc-top-app-bar__action-item",NAVIGATION_EVENT:"MDCTopAppBar:nav",NAVIGATION_ICON_SELECTOR:".mdc-top-app-bar__navigation-icon",ROOT_SELECTOR:".mdc-top-app-bar",TITLE_SELECTOR:".mdc-top-app-bar__title"}},
1576"./packages/mdc-top-app-bar/fixed/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a, 1577b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCFixedTopAppBarFoundation=void 0;var q=n("./packages/mdc-top-app-bar/constants.ts");r=function(m){function g(){var c=null!==m&&m.apply(this,arguments)||this;c.wasScrolled= 1578!1;return c}v(g,m);g.prototype.handleTargetScroll=function(){0>=this.adapter.getViewportScrollY()?this.wasScrolled&&(this.adapter.removeClass(q.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled=!1):this.wasScrolled||(this.adapter.addClass(q.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled=!0)};return g}(n("./packages/mdc-top-app-bar/standard/foundation.ts").MDCTopAppBarFoundation);e.MDCFixedTopAppBarFoundation=r;e.default=r},
1578"./packages/mdc-top-app-bar/foundation.ts":function(r,e,n){var v=this&& 1579this.__extends||function(){var g=function(c,d){g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])};return g(c,d)};return function(c,d){function a(){this.constructor=c}if("function"!==typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");g(c,d);c.prototype=null===d?Object.create(d):(a.prototype=d.prototype,new a)}}(),q=this&&this.__assign|| 1580function(){q=Object.assign||function(g){for(var c,d=1,a=arguments.length;d<a;d++){c=arguments[d];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(g[b]=c[b])}return g};return q.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});e.MDCTopAppBarBaseFoundation=void 0;r=n("./packages/mdc-base/foundation.ts");var m=n("./packages/mdc-top-app-bar/constants.ts");n=function(g){function c(d){return g.call(this,q(q({},c.defaultAdapter),d))||this}v(c,g);Object.defineProperty(c,"strings", 1581{get:function(){return m.strings},enumerable:!1,configurable:!0});Object.defineProperty(c,"cssClasses",{get:function(){return m.cssClasses},enumerable:!1,configurable:!0});Object.defineProperty(c,"numbers",{get:function(){return m.numbers},enumerable:!1,configurable:!0});Object.defineProperty(c,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},getTopAppBarHeight:function(){return 0},notifyNavigationIconClicked:function(){}, 1582getViewportScrollY:function(){return 0},getTotalActionItems:function(){return 0}}},enumerable:!1,configurable:!0});c.prototype.handleTargetScroll=function(){};c.prototype.handleWindowResize=function(){};c.prototype.handleNavigationClick=function(){this.adapter.notifyNavigationIconClicked()};return c}(r.MDCFoundation);e.MDCTopAppBarBaseFoundation=n;e.default=n},
1582"./packages/mdc-top-app-bar/index.ts":function(r,e,n){var v=this&&this.__createBinding||(Object.create?function(q,m,g,c){void 0===c&&(c=g); 1583Object.defineProperty(q,c,{enumerable:!0,get:function(){return m[g]}})}:function(q,m,g,c){void 0===c&&(c=g);q[c]=m[g]});r=this&&this.__exportStar||function(q,m){for(var g in q)"default"===g||Object.prototype.hasOwnProperty.call(m,g)||v(m,q,g)};Object.defineProperty(e,"__esModule",{value:!0});r(n("./packages/mdc-top-app-bar/adapter.ts"),e);r(n("./packages/mdc-top-app-bar/component.ts"),e);r(n("./packages/mdc-top-app-bar/constants.ts"),e);r(n("./packages/mdc-top-app-bar/foundation.ts"),e);r(n("./packages/mdc-top-app-bar/fixed/foundation.ts"), 1584e);r(n("./packages/mdc-top-app-bar/short/foundation.ts"),e);r(n("./packages/mdc-top-app-bar/standard/foundation.ts"),e)},
1584"./packages/mdc-top-app-bar/short/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!== 1585typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCShortTopAppBarFoundation=void 0;var q=n("./packages/mdc-top-app-bar/constants.ts");r=function(m){function g(c){c=m.call(this,c)||this;c.collapsed=!1;c.isAlwaysCollapsed=!1;return c}v(g,m);Object.defineProperty(g.prototype,"isCollapsed",{get:function(){return this.collapsed}, 1586enumerable:!1,configurable:!0});g.prototype.init=function(){m.prototype.init.call(this);0<this.adapter.getTotalActionItems()&&this.adapter.addClass(q.cssClasses.SHORT_HAS_ACTION_ITEM_CLASS);this.setAlwaysCollapsed(this.adapter.hasClass(q.cssClasses.SHORT_COLLAPSED_CLASS))};g.prototype.setAlwaysCollapsed=function(c){(this.isAlwaysCollapsed=!!c)?this.collapse():this.maybeCollapseBar()};g.prototype.getAlwaysCollapsed=function(){return this.isAlwaysCollapsed};g.prototype.handleTargetScroll=function(){this.maybeCollapseBar()}; 1587g.prototype.maybeCollapseBar=function(){this.isAlwaysCollapsed||(0>=this.adapter.getViewportScrollY()?this.collapsed&&this.uncollapse():this.collapsed||this.collapse())};g.prototype.uncollapse=function(){this.adapter.removeClass(q.cssClasses.SHORT_COLLAPSED_CLASS);this.collapsed=!1};g.prototype.collapse=function(){this.adapter.addClass(q.cssClasses.SHORT_COLLAPSED_CLASS);this.collapsed=!0};return g}(n("./packages/mdc-top-app-bar/foundation.ts").MDCTopAppBarBaseFoundation);e.MDCShortTopAppBarFoundation= 1588r;e.default=r},
1588"./packages/mdc-top-app-bar/standard/foundation.ts":function(r,e,n){var v=this&&this.__extends||function(){var m=function(g,c){m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&(d[b]=a[b])};return m(g,c)};return function(g,c){function d(){this.constructor=g}if("function"!==typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null"); 1589m(g,c);g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(e,"__esModule",{value:!0});e.MDCTopAppBarFoundation=void 0;var q=n("./packages/mdc-top-app-bar/constants.ts");r=function(m){function g(c){c=m.call(this,c)||this;c.wasDocked=!0;c.isDockedShowing=!0;c.currentAppBarOffsetTop=0;c.isCurrentlyBeingResized=!1;c.resizeThrottleId=0;c.resizeDebounceId=0;c.lastScrollPosition=c.adapter.getViewportScrollY();c.topAppBarHeight=c.adapter.getTopAppBarHeight();return c} 1590v(g,m);g.prototype.destroy=function(){m.prototype.destroy.call(this);this.adapter.setStyle("top","")};g.prototype.handleTargetScroll=function(){var c=Math.max(this.adapter.getViewportScrollY(),0),d=c-this.lastScrollPosition;this.lastScrollPosition=c;this.isCurrentlyBeingResized||(this.currentAppBarOffsetTop-=d,0<this.currentAppBarOffsetTop?this.currentAppBarOffsetTop=0:Math.abs(this.currentAppBarOffsetTop)>this.topAppBarHeight&&(this.currentAppBarOffsetTop=-this.topAppBarHeight),this.moveTopAppBar())}; 1591g.prototype.handleWindowResize=function(){var c=this;this.resizeThrottleId||(this.resizeThrottleId=setTimeout(function(){c.resizeThrottleId=0;c.throttledResizeHandler()},q.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS));this.isCurrentlyBeingResized=!0;this.resizeDebounceId&&clearTimeout(this.resizeDebounceId);this.resizeDebounceId=setTimeout(function(){c.handleTargetScroll();c.isCurrentlyBeingResized=!1;c.resizeDebounceId=0},q.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)};g.prototype.checkForUpdate=function(){var c= 1592this.currentAppBarOffsetTop>-this.topAppBarHeight,d=0>this.currentAppBarOffsetTop&&c;if(d)this.wasDocked=!1;else{if(!this.wasDocked)return this.wasDocked=!0;if(this.isDockedShowing!==c)return this.isDockedShowing=c,!0}return d};g.prototype.moveTopAppBar=function(){if(this.checkForUpdate()){var c=this.currentAppBarOffsetTop;Math.abs(c)>=this.topAppBarHeight&&(c=-q.numbers.MAX_TOP_APP_BAR_HEIGHT);this.adapter.setStyle("top",c+"px")}};g.prototype.throttledResizeHandler=function(){var c=this.adapter.getTopAppBarHeight(); 1593this.topAppBarHeight!==c&&(this.wasDocked=!1,this.currentAppBarOffsetTop-=this.topAppBarHeight-c,this.topAppBarHeight=c);this.handleTargetScroll()};return g}(n("./packages/mdc-top-app-bar/foundation.ts").MDCTopAppBarBaseFoundation);e.MDCTopAppBarFoundation=r;e.default=r}
1593})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.