82.5246 51.2734 82.5181V82.5181Z" fill="#C72D18"/>
    <path d="M51.5116 80.9267C51.4946 80.9232 51.477 80.9232 51.46 80.9267C51.4771 80.9292 51.4945 80.9292 51.5116 80.9267Z" fill="#C72D18"/>
    <path d="M51.46 80.8996L51.4838 80.8845C51.4686 80.8715 51.46 80.8671 51.46 80.8996Z" fill="#C72D18"/>
    <path d="M51.4189 80.9714C51.4269 80.956 51.4403 80.9443 51.4565 80.9385C51.4565 80.9385 51.4401 80.9385 51.4377 80.9385C51.4322 80.9498 51.4259 80.9608 51.4189 80.9714Z" fill="#C72D18"/>
    <path d="M46.2934 90.9399C46.2676 91.0291 46.2769 91.0127 46.2934 90.9399V90.9399Z" fill="#C72D18"/>
    <path d="M50.5369 84.868C50.4343 84.7513 50.4646 84.7397 50.509 84.728L50.1963 84.5786L50.5369 84.868Z" fill="#C72D18"/>
    <path d="M48.4224 88.4659H48.5531C48.6558 88.6386 48.5671 88.6619 48.7327 88.6805C48.4224 88.4729 48.8564 88.4076 48.5461 88.2022H48.6394C48.6394 88.2022 48.6394 88.2256 48.6394 88.2373C48.8424 88.2373 48.4504 88.0343 48.5601 87.9549C48.5812 87.9416 48.6067 87.9371 48.6311 87.9423C48.6555 87.9476 48.6769 87.9621 48.6907 87.9829L48.6627 87.8523C48.6837 87.8313 48.7351 87.8732 48.7141 87.8919L48.7677 87.7496C48.7263 87.6931 48.6889 87.6339 48.6557 87.5723C48.7234 87.5723 48.6791 87.6095 48.7257 87.6259L48.6931 87.5092C48.7934 87.5302 48.8378 87.6376 48.7958 87.6772C49.1551 87.8056 48.7537 87.5699 49.0291 87.5396V87.6306C49.2367 87.6959 49.2041 87.6049 49.3604 87.5955C49.2904 87.5792 48.9847 87.5746 48.9521 87.4509C48.9894 87.4509 49.0174 87.4229 48.9777 87.3435C49.0921 87.4112 49.0897 87.3436 49.1131 87.2993L49.2624 87.3949C49.2624 87.3132 49.1738 87.2736 49.1224 87.1989C49.1738 87.1476 49.2974 87.1989 49.4047 87.2479C49.4841 87.1662 49.1714 87.2036 49.2181 87.0729C49.3231 87.0262 49.2951 86.9329 49.2624 86.7836C49.3464 86.7579 49.3487 86.8489 49.4047 86.8536L49.3138 86.7322C49.3138 86.7322 49.3581 86.7485 49.3767 86.7602C49.3534 86.6902 49.2274 86.6669 49.2274 86.5759C49.0711 86.4593 49.5494 86.5759 49.4094 86.3892C49.4654 86.3892 49.4958 86.4546 49.5588 86.4826C49.5329 86.3608 49.4838 86.2451 49.4141 86.1419L49.5588 86.1209C49.4118 86.1209 49.3254 85.9576 49.2507 85.8269C49.1998 85.8165 49.1485 85.8087 49.0968 85.8035L49.0781 85.6519C49.1084 85.6519 49.1551 85.6962 49.2087 85.7476L49.1831 85.7079C49.2601 85.7079 49.3371 85.7732 49.4047 85.8502L49.2904 85.8339C49.3637 85.9167 49.4496 85.9876 49.5448 86.0439C49.5316 86.0273 49.5243 86.0067 49.5238 85.9855C49.5396 86.0045 49.5596 86.0197 49.5821 86.0299C49.6007 86.0299 49.5821 86.0066 49.5448 85.9669L49.7244 86.0439L49.6614 85.9996L49.8481 85.9249C49.7361 85.7289 49.5378 85.4979 49.5588 85.3019C49.6608 85.3914 49.7766 85.4639 49.9018 85.5166C49.7221 85.4676 49.9017 85.6752 49.8177 85.7359C49.8597 85.7056 49.9228 85.7523 49.9414 85.7803L49.8854 85.5469C50.0021 85.6192 49.9928 85.5679 50.0628 85.5609C49.8108 85.4489 49.9694 85.3602 49.9321 85.2622C50.0138 85.3042 50.0861 85.3649 50.0254 85.4256C50.2587 85.4536 49.8084 85.1596 50.0044 85.1736C50.0044 85.1922 49.9787 85.1922 50.0044 85.2249C49.9554 85.1432 50.0721 85.0802 50.1281 85.1432V85.1619C50.2238 85.0662 50.3381 84.8189 50.1491 84.6836C50.1724 84.6976 50.3824 84.8423 50.4151 84.8749L49.8691 84.2682C50.0277 84.3896 50.4758 84.5692 50.5154 84.7209C50.5574 84.7092 50.6041 84.6906 50.5784 84.5996C50.5411 84.5996 50.3054 84.4946 50.3031 84.4596C50.4163 84.485 50.5325 84.4952 50.6484 84.4899C50.5971 84.4899 50.3474 84.3009 50.3824 84.2565C50.4805 84.3154 50.5755 84.3792 50.6671 84.4479L50.4711 84.1796C50.5588 84.2584 50.6646 84.3145 50.7791 84.3429C50.7207 84.3219 50.8421 84.2519 50.8327 84.2076H50.7441C50.8584 84.1119 50.4501 83.8599 50.5388 83.7409C50.5831 83.7899 50.8491 83.9743 50.9191 83.9416C50.8024 83.8296 50.3498 83.4142 50.3124 83.2416L50.4011 83.2695L50.3661 83.1319C50.5888 83.3754 50.7961 83.6326 50.9868 83.9019C51.0754 83.9019 51.0871 83.9462 51.1221 83.8739C51.136 83.8765 51.1491 83.8821 51.1607 83.8902C51.1723 83.8983 51.182 83.9087 51.1893 83.9208C51.1966 83.9329 51.2012 83.9464 51.2029 83.9605C51.2046 83.9745 51.2033 83.9888 51.1991 84.0023L51.3414 83.8716C51.1827 83.7829 51.2597 83.6522 51.1267 83.5752L51.1851 83.8506C51.0241 83.7596 50.8024 83.4726 50.8981 83.3839C50.9774 83.3839 51.1641 83.5799 51.2154 83.6172C51.1711 83.5682 51.1804 83.4469 51.2154 83.4586L51.2714 83.5589C51.3671 83.5333 51.1267 83.3256 51.3227 83.3442C51.3507 83.3256 51.5724 83.3956 51.4837 83.3442C51.1729 83.2039 50.8799 83.0269 50.6111 82.8169C50.7328 82.8019 50.8558 82.8019 50.9774 82.8169C51.1431 82.8659 51.2668 83.0946 51.4091 83.1342C51.3717 83.1067 51.3413 83.0707 51.3204 83.0292C51.3741 83.0292 51.4417 83.1249 51.4627 83.0549C51.3134 82.9429 51.5538 82.9476 51.3484 82.9429C51.3484 82.8566 51.4254 82.9033 51.4581 82.8333C51.3161 82.7483 51.2074 82.6174 51.1501 82.4623C51.1893 82.4872 51.2317 82.5068 51.2761 82.5206C51.3694 82.4132 51.4791 82.3992 51.5561 82.2872C51.6004 82.3012 51.6774 82.2872 51.7311 82.3479C51.7148 82.3129 51.6727 82.2639 51.6891 82.2289C51.8664 82.2569 51.6611 82.3176 51.8547 82.3782C51.7684 82.3129 51.7894 82.2079 51.7661 82.1216C51.6168 82.0423 51.6658 82.2126 51.6914 82.2989C51.6006 82.2402 51.5229 82.1631 51.4635 82.0728C51.404 81.9824 51.364 81.8806 51.3461 81.7739C51.3624 81.6526 51.4977 81.8206 51.4791 81.7856C51.6307 81.6432 51.2457 81.4123 51.4791 81.3679C51.6401 81.3983 51.7124 81.5336 51.8151 81.5826C51.8151 81.6852 51.6611 81.6386 51.6331 81.6922L51.7311 81.6712C51.7544 81.7225 51.7521 81.7926 51.6984 81.7926C51.8384 81.8229 51.9178 81.5266 52.1091 81.4683C52.0858 81.4169 52.0718 81.3469 52.0088 81.3329V81.3842C51.8851 81.3539 51.9271 81.2139 51.8454 81.2349C51.8151 81.1323 51.7521 81.0016 51.8618 80.9549L52.0111 81.0389C51.9691 81.0132 51.8944 81.0389 51.9178 81.0833C51.8804 81.0086 52.1884 81.0972 52.0321 80.9362L51.9014 80.9223C51.8711 80.8196 51.7731 80.6469 51.8641 80.6096C51.7054 80.5442 51.8641 80.6376 51.6774 80.5723C51.9107 80.6703 51.5444 80.7426 51.8011 80.8219C51.5794 80.7426 51.6611 80.8522 51.4558 80.8079C51.5048 80.8382 51.5584 80.8452 51.4977 80.8872C51.5092 80.9002 51.5193 80.9143 51.5281 80.9292C51.5595 80.93 51.5905 80.9372 51.6191 80.9502C51.7007 81.0506 51.6331 81.1392 51.6658 81.2092C51.6214 81.2279 51.6237 81.1579 51.5631 81.1439L51.6097 81.2466C51.5071 81.1813 51.3764 81.2185 51.3764 81.0972L51.3204 81.1672C51.2341 81.1672 51.1711 81.2115 51.1874 81.2792C51.1431 81.2979 51.2387 81.4449 51.1874 81.3585L51.1711 81.5173L51.1431 81.5009C51.0521 81.6012 51.1431 81.8509 50.8794 81.8556C50.8856 81.8864 50.8825 81.9185 50.8704 81.9476C50.8584 81.9767 50.838 82.0015 50.8118 82.0189L50.7161 81.9722C50.7161 82.0422 50.5271 82.0632 50.6017 82.1472C50.3264 82.0446 50.3871 82.3572 50.2844 82.4155L50.3988 82.4949C50.3551 82.5644 50.3354 82.6464 50.3428 82.7282L50.4501 82.7912C50.4944 82.9102 50.2727 82.9126 50.2167 83.0246C50.1794 82.9943 50.2167 82.9732 50.2447 82.9685C49.9321 82.9452 50.2448 83.3372 50.0114 83.3442C50.0324 83.3956 50.0114 83.4072 49.9694 83.4119H49.8901C49.9148 83.4156 49.94 83.4156 49.9647 83.4119C49.9557 83.4487 49.9557 83.4871 49.9647 83.5239L49.8458 83.4679C49.7851 83.4679 49.8831 83.5262 49.9764 83.5612C49.9865 83.591 50.0006 83.6193 50.0184 83.6452C49.8224 83.5589 50.0184 83.7665 49.8131 83.6825C49.8924 83.7619 49.7874 83.8902 49.9741 84.0279C49.9484 84.0116 49.9297 84.0139 49.9391 83.9976C49.8947 84.0186 49.8504 84.0396 49.8877 84.1072L49.7337 84.0349L49.8784 84.2309C49.827 84.2358 49.7752 84.2262 49.729 84.2031C49.6828 84.18 49.644 84.1444 49.6171 84.1002C49.7174 84.3172 49.6171 84.2309 49.7337 84.4292L49.6451 84.3686C49.6264 84.4059 49.7174 84.5366 49.6288 84.5109C49.3954 84.4829 49.3698 84.8796 49.0921 84.9776C49.3884 85.1013 48.9147 84.9985 49.1201 85.1315C49.0477 85.1059 48.9941 85.1106 48.9591 85.0452C48.9591 85.1852 48.7654 85.1362 48.9031 85.3136C48.8307 85.2879 48.8191 85.2342 48.7748 85.2226C48.7748 85.2412 48.8121 85.2879 48.7748 85.2762C48.7374 85.2646 48.7281 85.2296 48.7071 85.1969C48.6581 85.3066 48.8518 85.4302 49.0361 85.5562C48.9148 85.5562 48.9124 85.5913 49.0151 85.7009C48.9428 85.6823 48.8611 85.6752 48.8774 85.5982C48.8447 85.6286 48.6557 85.7662 48.8027 85.8596C48.7584 85.8596 48.7631 85.9039 48.7748 85.9226C48.7164 85.9973 48.6977 85.9972 48.6674 86.0859H48.7024C48.8657 86.2259 48.7024 86.1746 48.6884 86.2539L48.6721 86.2399C48.4551 86.3099 48.6954 86.3402 48.4621 86.3985L48.5788 86.4569C48.8121 86.6156 48.3594 86.5012 48.4037 86.6412H48.4854C48.5414 86.7369 48.0794 86.5736 48.0187 86.6016C47.9581 86.6296 47.9931 86.5666 47.9884 86.5432C47.7714 86.5782 48.1261 86.6459 48.1051 86.7556C48.0164 86.7252 47.9137 86.6156 47.8717 86.6646C47.7877 86.6646 48.0211 86.9912 47.8204 86.9819C47.8904 87.0005 47.9628 87.0193 47.9861 87.0893C47.9674 87.1663 47.6501 87.1196 47.8064 87.2946C47.7866 87.2923 47.7676 87.286 47.7504 87.2759C47.7691 87.3552 47.7364 87.4836 47.8227 87.5769C47.4097 87.3809 47.8227 87.9946 47.4704 87.7729L47.3981 87.9339L47.3654 87.9059C47.2837 87.9875 47.3467 88.0739 47.4097 88.1626C47.3724 88.1626 47.3491 88.1322 47.3327 88.1182C47.1764 88.2115 47.1834 88.2349 47.2884 88.4636L47.1648 88.4029C47.2114 88.4776 46.8614 88.4892 46.9034 88.7039C46.8865 88.691 46.8729 88.6742 46.8638 88.6549C46.8801 88.7716 46.7401 88.8089 46.6421 88.8556C46.5978 88.8719 46.5487 88.9186 46.5651 88.9349C46.6034 88.9939 46.6506 89.0467 46.7051 89.0913L46.7541 89.2382C46.8451 89.1706 46.8987 89.4063 46.9874 89.4226C46.9711 89.4973 46.8031 89.4225 46.8217 89.3549H46.8451C46.6794 89.1425 46.7027 89.3993 46.6001 89.2406C46.5617 89.3049 46.5011 89.353 46.4297 89.3759C46.3714 89.3945 46.3271 89.3923 46.2921 89.4343L46.3248 89.7375L46.2851 89.7702C46.2705 89.6845 46.2705 89.597 46.2851 89.5112C46.2688 89.3362 46.2617 89.7165 46.2571 89.7982C46.2127 89.7189 46.2571 89.3689 46.2571 89.3829V89.4272V89.4645C46.261 89.5792 46.2453 89.6936 46.2104 89.8029C46.1964 89.7049 46.2104 89.5696 46.2104 89.5439C46.2104 89.5183 46.2104 89.5043 46.2104 89.5229L46.1777 89.4506V89.7422C46.1404 89.8519 46.1311 89.6722 46.1194 90.0036C46.1421 89.8652 46.1183 89.7233 46.0517 89.5999C46.0191 89.5439 45.9724 89.5182 45.9864 89.4482C45.9071 89.5579 45.8721 89.5043 45.8534 89.4343C45.8394 89.4833 45.7391 89.6932 45.7228 89.6069C45.9561 89.2429 45.7741 89.3409 45.9561 89.0772C45.8464 89.2569 45.8721 89.0049 45.7041 89.2382C45.7041 89.1752 45.8091 89.1356 45.8628 89.0469C45.7904 89.0469 45.7881 88.9886 45.8021 88.9303C45.8136 88.8886 45.8161 88.8449 45.8092 88.8022C45.8024 88.7596 45.7864 88.7189 45.7624 88.6829C45.7181 88.6969 45.6621 88.7552 45.5781 88.7412L45.7647 88.5546C45.7274 88.5266 45.4917 88.6222 45.6201 88.4939C45.5874 88.5172 45.5361 88.5546 45.5104 88.5359C45.5205 88.325 45.4551 88.1174 45.3261 87.9502C45.2597 87.8521 45.2173 87.7397 45.2023 87.6222C45.1873 87.5046 45.2001 87.3852 45.2398 87.2735C45.1791 87.3692 45.1604 87.3389 45.1324 87.2993C45.1324 87.3366 45.0274 87.3553 44.9738 87.3903C44.9738 87.3903 44.9901 87.3296 45.0064 87.2666L45.0344 87.1406C44.8618 87.2036 44.9201 86.9703 44.7661 87.0496L44.8221 87.0822C44.6144 87.1289 44.4931 87.4135 44.2598 87.5349C44.3764 87.5069 44.3297 87.5932 44.2924 87.6749C44.2551 87.7565 44.2271 87.8313 44.3998 87.8149C44.3648 87.8639 44.3158 87.8312 44.2644 87.8709C44.3788 87.8499 44.4161 87.8709 44.3998 87.9572H44.3694C44.4791 88.1205 44.4137 88.2396 44.4277 88.4776L44.5421 88.4122C44.5421 88.4636 44.5094 88.4869 44.4884 88.5219C44.6914 88.4986 44.4487 88.3913 44.6681 88.3563C44.4487 88.5149 44.7941 88.6759 44.5304 88.8229C44.5561 88.8952 44.6611 88.7482 44.6868 88.8229L44.6214 88.8696L44.7241 88.8486C44.7241 88.9023 44.6401 88.9629 44.5771 88.9909C44.5771 88.9769 44.5491 88.9652 44.5351 88.9559C44.4698 89.0516 44.6331 89.1169 44.6121 89.1496L44.6331 89.0632C44.6682 89.1078 44.698 89.1564 44.7218 89.2079L44.8128 89.4109C44.866 89.5692 44.9661 89.7075 45.0998 89.8075L45.1348 89.7446C45.3168 89.8426 45.1697 89.9453 45.3167 90.1063H45.3051C45.3181 90.1019 45.3319 90.1002 45.3455 90.1013C45.3592 90.1023 45.3725 90.1061 45.3847 90.1125C45.3969 90.1188 45.4077 90.1275 45.4164 90.138C45.4252 90.1486 45.4318 90.1608 45.4358 90.1739C45.3658 90.1926 45.4147 90.4072 45.3331 90.4212C45.5267 90.4865 45.4521 90.4213 45.6364 90.2883L45.6084 90.4236C45.6761 90.3606 45.6971 90.3093 45.7601 90.3583C45.6807 90.3886 45.7438 90.5915 45.6458 90.6429C45.6761 90.8645 45.7484 90.8762 45.8044 90.8762C45.8604 90.8762 45.9048 90.8762 45.9071 91.1352C46.0354 90.8482 45.8114 90.7759 45.8604 90.7456C45.8604 90.5962 45.9654 90.5426 45.9981 90.6266C46.0308 90.7106 45.9981 91.1983 46.1451 91.3546C46.1311 91.3383 46.1311 91.3663 46.1171 91.3546C46.1381 91.4316 46.1661 91.4386 46.1894 91.4246C46.2151 91.3663 46.2407 91.3149 46.2687 91.3616C46.2967 91.0792 46.3434 91.2775 46.3411 90.9649L46.2408 91.1726C46.3061 91.0069 46.3364 90.5962 46.4297 90.6452C46.4257 90.7295 46.4132 90.8131 46.3924 90.8949C46.4251 90.9416 46.4391 90.7665 46.4741 90.8132C46.4927 91.1072 46.3551 91.0465 46.2921 91.3662C46.3294 91.4479 46.4134 90.9766 46.3947 91.3429C46.4087 91.1096 46.4391 91.0816 46.4741 91.0606C46.5091 91.0396 46.5581 91.0186 46.5768 90.8272L46.5978 90.9929C46.6055 90.9303 46.622 90.869 46.6468 90.8109V91.0723C46.6841 90.8109 46.8217 91.0326 46.8801 90.8389C46.7261 91.0396 46.7961 90.7083 46.7097 90.6803C46.8124 90.2789 46.9128 90.9252 47.1111 90.5822C47.0878 90.6382 46.9711 90.6429 46.9898 90.5262C47.0178 90.513 47.0485 90.506 47.0796 90.506C47.1107 90.506 47.1413 90.513 47.1694 90.5262C47.2954 90.3232 47.0831 90.4329 47.1017 90.2929C47.2254 90.3769 47.1321 90.1529 47.1531 90.0432L47.2324 90.1529C47.4284 90.0292 47.1017 89.8869 47.2837 89.8075L47.3211 89.9102L47.3514 90.0129L47.3887 89.8892L47.4774 90.0153C47.4774 89.8356 47.5171 89.8309 47.6267 89.7562C47.5404 89.7212 47.4518 89.5953 47.5031 89.5229C47.6011 89.5229 47.5918 89.6163 47.6384 89.5229C47.6898 89.5929 47.7738 89.6582 47.6384 89.6465C47.6711 89.6769 47.6851 89.7236 47.7154 89.7539C47.8531 89.7259 47.8274 89.6326 47.8531 89.5976C47.8398 89.6099 47.8222 89.6166 47.8041 89.6162L47.7388 89.3829C47.7607 89.387 47.7812 89.3967 47.7984 89.411C47.8156 89.4253 47.8287 89.4437 47.8367 89.4645C47.8367 89.4295 47.8041 89.3806 47.8227 89.3362C47.9044 89.4062 47.9977 89.4646 48.0024 89.5439L47.9861 89.3572C48.0304 89.3736 48.1354 89.3573 48.1587 89.4039C48.2591 89.3713 48.0957 89.1263 48.2194 89.0796C48.202 89.0622 48.192 89.0388 48.1914 89.0142C48.2638 88.9419 48.4247 88.9373 48.3594 88.7599L48.5554 88.8042C48.5554 88.7016 48.3034 88.7529 48.3221 88.5826C48.3221 88.4566 48.4831 88.6362 48.5554 88.6315C48.5017 88.5335 48.3851 88.3493 48.5717 88.3469C48.4621 88.4239 48.4271 88.4309 48.4224 88.4659ZM48.9474 87.4509C48.9614 87.4836 49.0104 87.5652 48.9334 87.5396C48.8167 87.4392 48.8891 87.4603 48.9474 87.4509ZM49.5517 85.8176C49.5797 85.8549 49.5518 85.8643 49.4934 85.8619C49.4934 85.8339 49.5074 85.8176 49.5517 85.8106V85.8176ZM51.3344 81.2722C51.2691 81.2816 51.2948 81.2793 51.3344 81.2653V81.2722ZM51.4394 81.2232C51.4355 81.2146 51.4297 81.207 51.4224 81.201C51.4151 81.1949 51.4066 81.1905 51.3974 81.1882C51.4207 81.2115 51.4114 81.2325 51.3974 81.2489C51.4184 81.2535 51.4488 81.2583 51.4394 81.2163V81.2232ZM46.1381 89.6675V89.7375C46.1217 89.7795 46.1311 89.7189 46.1381 89.6606V89.6675Z" fill="#C72D18"/>
    <path d="M49.6101 86.0697C49.5862 86.0635 49.5633 86.054 49.542 86.0415C49.5498 86.0518 49.5603 86.0598 49.5722 86.0648C49.5842 86.0697 49.5973 86.0714 49.6101 86.0697Z" fill="#C72D18"/>
    <path d="M48.1064 89.1052L48.1247 89.1211L48.1064 89.1052Z" fill="#C72D18"/>
    <path d="M51.4813 83.137C51.4561 83.1438 51.4295 83.1438 51.4043 83.137C51.4147 83.1468 51.4285 83.1523 51.4428 83.1523C51.4571 83.1523 51.4709 83.1468 51.4813 83.137Z" fill="#C72D18"/>
    <path d="M51.5647 80.6445V80.7169C51.5787 80.6865 51.6091 80.6935 51.6371 80.6935C51.5998 80.6772 51.5554 80.6609 51.5647 80.6445Z" fill="#C72D18"/>
    <path d="M52.5614 80.6568C52.5614 80.6404 52.5614 80.6405 52.5614 80.6218L52.5101 80.5891C52.4914 80.6241 52.5171 80.6754 52.5614 80.6568Z" fill="#C72D18"/>
    <path d="M51.9596 80.8479C52.053 80.9086 52.046 80.848 52.0553 80.8036C51.934 80.7103 51.9456 80.7803 51.9596 80.8479Z" fill="#C72D18"/>
    <path d="M52.0635 80.7967C52.0665 80.7823 52.0749 80.7697 52.087 80.7614C52.0377 80.7168 52.0659 80.7638 52.0635 80.7967Z" fill="#C72D18"/>
    <path d="M51.4559 81.0671C51.4932 81.0671 51.3485 80.9738 51.3929 80.9901C51.2902 80.8828 51.4489 81.2047 51.4559 81.0671Z" fill="#C72D18"/>
    <path d="M52.2811 81.0297L52.1621 80.9644L52.2391 81.0484L52.2811 81.0297Z" fill="#C72D18"/>
    <path d="M51.9964 81.2658L52.0688 81.2285C52.0616 81.224 52.0555 81.2178 52.0511 81.2105C52.0467 81.2032 52.0439 81.195 52.0431 81.1865C52.0105 81.2215 51.9614 81.2448 51.9964 81.2658Z" fill="#C72D18"/>
    <path d="M52.0412 81.1863C52.0499 81.1791 52.056 81.1692 52.0586 81.1582C52.0611 81.1472 52.06 81.1356 52.0553 81.1252C52.0448 81.1438 52.0399 81.165 52.0412 81.1863Z" fill="#C72D18"/>
    <path d="M52.2569 81.1375H52.2219L52.1846 81.1725L52.2569 81.1375Z" fill="#C72D18"/>
    <path d="M51.5199 81.8882L51.5059 81.9746C51.5385 82.0096 51.5759 82.0072 51.5759 81.9746C51.5759 81.9419 51.5642 81.9092 51.5199 81.8882Z" fill="#C72D18"/>
    <path d="M51.9667 81.9073C51.9293 81.9045 51.8927 81.8942 51.8594 81.877L51.9971 81.9773L51.9667 81.9073Z" fill="#C72D18"/>
    <path d="M51.8662 82.1171C51.9035 82.1498 51.9152 82.2898 51.9619 82.1988C51.9269 82.1661 51.9385 82.0798 51.8662 82.1171Z" fill="#C72D18"/>
    <path d="M51.0224 82.9851V82.9665L50.7891 82.8171L51.0224 82.9851Z" fill="#C72D18"/>
    <path d="M51.04 84.2289C51.1473 84.1846 50.907 84.1192 51.0213 84.0912C50.977 84.0376 50.928 84.1122 50.8906 84.0632C50.921 84.1496 50.8743 84.1543 51.04 84.2289Z" fill="#C72D18"/>
    <path d="M50.8893 84.0657C50.8842 84.0493 50.8771 84.0335 50.8682 84.0188C50.8716 84.0358 50.8788 84.0519 50.8893 84.0657Z" fill="#C72D18"/>
    <path d="M44.9971 86.984L45.0087 86.8906L44.9551 86.9793L44.9971 86.984Z" fill="#C72D18"/>
    <path d="M44.7546 86.9848L44.8923 86.8728L44.7383 86.9264C44.7523 86.9358 44.7803 86.9521 44.7546 86.9848Z" fill="#C72D18"/>
    <path d="M49.3435 87.4885L49.3085 87.4628C49.2641 87.4465 49.2501 87.4629 49.2314 87.4792L49.3435 87.4885Z" fill="#C72D18"/>
    <path d="M48.789 88.1351L48.6396 88.0745L48.789 88.1351Z" fill="#C72D18"/>
    <path d="M48.6026 88.8275C48.6236 88.8065 48.6026 88.7574 48.633 88.7388C48.6236 88.8064 48.43 88.7272 48.6026 88.8275Z" fill="#C72D18"/>
    <path d="M94.9655 48.5056H46.2852V57.4073H94.9655V48.5056Z" fill="#545454"/>
    </g>
    </svg>
`,Ce=ue.d`
    <svg width="35" height="26" viewBox="0 0 35 26" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M11 21.1716L3.41421 13.5858C2.63316 12.8048 1.36684 12.8048 0.585786 13.5858C-0.195262 14.3669 -0.195262 15.6332 0.585786 16.4142L9.58579 25.4143C10.3668 26.1953 11.6332 26.1953 12.4142 25.4143L34.4142 3.41422C35.1953 2.63317 35.1953 1.36684 34.4142 0.585787C33.6332 -0.195262 32.3668 -0.195262 31.5858 0.585787L11 21.1716Z" fill="white"/>
    </svg>

`;var ve=i(13988),fe=i(18864),me=i(58952),be=i(33763),ye=i(53271);be.S;const we=ue.d`
    <fluent-button 
        class="answer-button"
        part="answer"
        @click="${(e,t)=>t.parent.onVote(e.id)}"
        data-t="${(e,t)=>{var i;return null===(i=t.parent.telemetryContext)||void 0===i?void 0:i.voteButtonTelemetryTags}}"
    >
        <div class="answer-button-container">
            <div class="answer-text-container">
                <label class="answer-option-text">${e=>e.title}</label>
            </div>
        </div>
    </fluent-button>
`,Le=ue.d`
    <fluent-button 
        class="answer-button results"
        style="${(e,t)=>t.parent.answerStyle(e.IsUserSelectedAnswer,e.isCorrect,e.votePercentage)}"
        part="answer"
        aria-disabled="${e=>e.IsUserSelectedAnswer?"true":"false"}"
    >
        <div class="answered-button-container" >
            <div class="answered-text-container">
                <label class="answer-option-text">${e=>e.text}</label>
                <label class="percentage-text">${e=>e.votePercentage.toString()+"%"}</label>
                ${(0,ve.g)(((e,t)=>t.parent.isQuizMode),ue.d`
                    <span class="answer-icon">
                        ${(0,ve.g)((e=>e.isCorrect),ue.d`${he}`)}
                        ${(0,ve.g)((e=>e.IsUserSelectedAnswer&&!e.isCorrect),ue.d`${pe}`)}
                    </span>
                `)}
            </div>
        </div>
    </fluent-button>
`,xe=ue.d`
<div class="footer-buttons-container">
    ${(0,ve.g)((e=>!e.isQuizMode&&e.isCompleted),ue.d`
        <fluent-button class="
                foot-button previous
                ${e=>e.config.disableDarkMode?"":"drk"}
            "
            ?disabled=${e=>0==e.activePollIndex}
            @click="${e=>e.onPreviousClick()}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.previousButtonTelemetryTags}}"
        >
            <div class="foot-button-text previous">
                ${e=>e.strings.previousButtonPoll}
            </div>
        </fluent-button>
    `)}
    <fluent-button class="
            foot-button
            ${e=>e.config.disableDarkMode?"":"drk"}                
        "
        style="${e=>e.isQuizMode||!e.isCompleted?"margin: auto auto 0 auto":""}"
        ?disabled=${e=>!e.showResults||e.isCompleted&&e.activePollIndex===e.polls.length-1}
        @click="${e=>e.onNextClick()}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.nextButtonTelemetryTags}}"
    >
        <div class="foot-button-text">
            ${e=>e.isQuizMode?e.strings.nextButtonQuiz:e.strings.nextButtonPoll}
        </div>
    </fluent-button>
</div>
`,$e=ue.d`
    <label id="${e=>e.isQuizMode?"question-quiz":"question-poll"}" class="question-label" tabindex="-1">${e=>e.activePoll&&e.activePoll.questions[0].title}</label>
    <div role="group" aria-labelledby="${e=>e.isQuizMode?"question-quiz":"question-poll"}">
        ${(0,ve.g)((e=>!e.showResults),ue.d`
            ${(0,fe.rx)((e=>e.activePoll&&e.activePoll.questions&&e.activePoll.questions[0].answers),we)}
        `)}
        ${(0,ve.g)((e=>e.showResults),ue.d`
            ${(0,fe.rx)((e=>e.activePoll&&e.activePoll.pollResultAnswers),Le)}
        `)}
        ${(0,ve.g)((e=>!e.showResults&&e.config.enableV2Styles),ue.d`
            <div class="total-votes placeholder"></div>
        `)}
        ${(0,ve.g)((e=>e.showResults),ue.d`
            <label class="total-votes">${e=>e.totalVotes}</label>
        `)}
    </div>
`,ke=ue.d`
    ${(0,ve.g)((e=>!e.config.enableV2Styles),$e)}
    ${(0,ve.g)((e=>e.config.enableV2Styles),ue.d`
        <div class="content-container">
            ${$e}
        </div>
    `)}
    ${(0,ve.g)((e=>!e.config.enableV2Styles),xe)}
    ${(0,ve.g)((e=>e.config.enableV2Styles&&e.pagingText),ue.d`
        <div class="footer">
            <span class="paging-text">${e=>e.pagingText}</span>
            ${xe}
        </div>
    `)}
`,Me=ue.d`
    <div class="completed-container">
        <div class="completed-icon-wrapper">
            ${Ce}
        </div>
        <label class="completed-label">${e=>e.completedTitle}</label>
        <label class="completed-resume-text">${e=>e.completedSubtitle}</label>
    </div>
`,Te=ue.d`
    ${ge}
    <label class="completed-label">${e=>e.completedTitle}</label>
    <label class="completed-resume-text">${e=>e.completedSubtitle}</label>
    <fluent-button 
        class="foot-button"
        @click="${e=>e.reviewPollResult()}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.reviewButtonTelemetryTags}}"
    >
        <div class="foot-button-text">
            ${e=>e.strings.seeResultButton}
        </div>
    </fluent-button>
`,Oe=ue.d`
    ${ge}
    <label class="completed-label">${e=>e.completedTitle}</label>
    <label class="completed-resume-text">${e=>e.completedSubtitle}</label>
    <fluent-button 
        class="foot-button"
        @click="${()=>window.open("https://www.bing.com/triviahub?type=homepagequiz&form=bthmsn&mkt=en-us","_blank")}"
    >
        <div class="foot-button-text">
            ${e=>e.strings.playMoreQuiz}
        </div>
    </fluent-button>
`,Se=ue.d`
    <fluent-button
        class="header--more-options"
        appearance="neutral"
        @click=${(e,t)=>e.toggleActionMenu(t.event,!e.isActionMenuOpen)}
        title="${e=>e.strings.showActionsTooltip}"
        aria-label="${e=>e.strings.showActionsTooltip}"
        role="button"
        aria-expand="${e=>e.isActionMenuOpen}"
        data-t="${e=>e.showActionsButtonTagTelemetry}"
    >
        ${ye.Z}
    </fluent-button>
`,De=ue.d`
    <msn-actions-menu 
        :referrerButton=${e=>e.moreOptionsButtonControl}
        :menuItems=${e=>e.cardActionMenuItems}
        defaulthorizontalposition="start"
    />
`,Pe=ue.d`
    <div class="header">
        <label class="header-label">${e=>e.headingLabel}</label>
        ${(0,ve.g)((e=>e.cardActionMenuItems),Se)}
        ${(0,ve.g)((e=>e.isActionMenuOpen),De)}
    </div>
`,Ee=ue.d`
    <div 
        class="polls-card ${e=>e.showCompletedPage?"completed":""} ${e=>e.config.enableV2Styles?"polls-v2":""}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.pollsCardTelemetryTags}}"
    >
        ${Pe}
        ${(0,ve.g)((e=>e.isDataReady&&!e.showCompletedPage),ke)}
        ${(0,ve.g)((e=>e.isDataReady&&e.showCompletedPage&&e.isQuizMode),Oe)}
        ${(0,ve.g)((e=>e.isDataReady&&e.showCompletedPage&&!e.isQuizMode&&!e.config.enableV2Styles),Te)}
        ${(0,ve.g)((e=>e.isDataReady&&e.showCompletedPage&&!e.isQuizMode&&e.config.enableV2Styles),Me)}
    </div>
`,Ae=ue.d`
    <div class="content-container">
        ${$e}
    </div>
`,Ie=ue.d`
    <cs-core-sd-card 
        :data="${e=>e.superCardData}"
        class="polls-card polls-super ${e=>e.showCompletedPage?"completed":""} ${e=>e.config.enableV2Styles?"polls-v2":""}">
        <div class="polls-super-content" slot="content">
            ${(0,ve.g)((e=>e.isDataReady&&!e.showCompletedPage),Ae)}
            ${(0,ve.g)((e=>e.isDataReady&&e.showCompletedPage&&!e.isQuizMode),Me)}
        </div>
    </cs-core-sd-card>
`,Be=ue.d`
    <div class="hidden" aria-live="polite"><span ${(0,me.i)("a11yScreenReaderAnswer")}></span></div>
    ${e=>e.config.enableSuperCard?Ie:Ee}
`;var Fe=i(22674),je=i(53046),Ze=i(40082),ze=i(95263);const He="rgb(0, 120, 212)",Ue="rgba(0, 0, 0, 0.15)",qe="rgba(0, 0, 0, 0.25)",Ge=je.i`
    .answer-option-text {
        padding-left: 7px
    }

    .percentage-text {
        margin: 0 5px 0 auto;
    }

    .answer-icon {
        margin: 2px -7px 0 0;
    }
`,Ve=je.i`
    .answer-option-text {
        padding-right: 7px;
    }

    .percentage-text {
        margin: 0 auto 0 5px;
    }

    .answer-icon {
        margin: 2px 0 0 -7px;
    }

    .header--more-options {
        left: 0;
    }
`,Re=je.i`
.foot-button.drk.previous:disabled {
    background: ${He};
    border-color: transparent;
}

.foot-button.drk:disabled {
    background-color: ${He};
}

.header--more-options {
    background: rgba(255, 255, 255, 0.09);
}

.header--more-options:hover {
    background: ${ae.XiB};
}

.polls-card.polls-v2 {
    background: linear-gradient(302.3deg, #212137 15.52%, #1E1B2D 100%); 
}

.polls-card.polls-v2 .foot-button.previous:disabled > .foot-button-text,
.polls-card.polls-v2 .foot-button-text.previous {
    color: rgba(0, 0, 0, 0.83);
}

.polls-card.polls-v2 .answer-button {
    background: rgba(255, 255, 255, 0.09);
}

.polls-card.polls-v2 .answer-button:hover {
    background: rgba(255, 255, 255, 0.45);
}

.polls-card.polls-v2 .completed-container {
    background: #353548;
}

.polls-card.polls-v2 .completed-resume-text {
    color: #fff;
}
`,We=je.i`
    @media screen and (-ms-high-contrast: active) {
        .header-label, .question-label, .foot-button-text, .foot-button.previous {
            color: #FFF !important;
        }

        fluent-button.foot-button:disabled > .foot-button-text {
            color: ${"rgba(128, 128, 128)"} !important;
        }

        .foot-button {
            background-color: transparent !important;
            border: transparent !important;
        }

        .foot-button.previous {
            color: #FFF;
        }

        .completed-label {
            color: #dcdcdc !important;
        }

        fluent-button[aria-selected="true"] .answered-button-container {
            font-weight: 700 !important;
            color: #5f9ea0 !important;
        }
    }

    .polls-card {
        backdrop-filter: blur(120px);
        border-radius: 6px;
        box-sizing: border-box;
        contain: none;
        display: flex;
        flex-direction: column;
        height: 304px;
        outline: none;
        overflow: hidden;
        padding: 16px 16px 16px 12px;
        position: relative;
        width: 300px;
    }

    .polls-card.completed {
        align-items: center;
    }

    .header-label {
        align-self: flex-start;
        color: ${ae.Q5n};
        font-size: 12px;
        line-height: 16px;
    }

    .question-label {
        display: -webkit-box !important;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        margin-bottom: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        top: 40px;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        outline: none;
    }

    .completed-label {
        font-size: 16px;
        font-weight: bold;
        line-height: 24px;
        margin: 8px 0 3px 0;
    }

    .completed-resume-text {
        color: ${ae.Q5n};
        font-size: 14px;
        height: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .answer-button {
        align-items: center;
        align-self: center;
        background-color:  ${ze.A4};
        border: 1px solid ${qe};
        border-radius: 20px;
        box-sizing: border-box;
        display: flex;
        text-align: left;
        margin: 0 0 8px 0;
    }

    .answer-button:hover {
        border: 1px solid #0078D4;
    }

    .answer-button.results {
        background-color:  ${ze.A4};
    }

    .answer-button.results:hover {
        border: 1px solid ${qe};
        cursor: default;
    }

    .answer-button-container {
        font-size: 12px;
        line-height: 14px;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 248px;
    }

    .answer-text-container {
        align-items: center;
        display: flex;
    }

    .answer-text {
        color: ${ae.CHi};
    }

    .answered-button-container {
        text-overflow: ellipsis;
        font-size: 12px;
        line-height: 14px;
        text-align: left;
        white-space: nowrap;
        width: 248px;
    }

    .answered-text-container {
        align-items: center;
        display: flex;
    }

    .footer-buttons-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: auto;
    }

    .foot-button {
        align-items: center;
        background-color: #0078D4;
        border: 1px solid ${He};
        border-radius: 20px;
        display: flex;
        height: 22px;
        min-width: 124px;
        width: fit-content;
    }

    .foot-button.previous {
        background-color: transparent;
        border: 1px solid ${He};
    }

    .foot-button.previous:disabled {
        background: ${Ue};
        border-color: transparent;
    }

    .foot-button:disabled {
        background: ${Ue};
        border-color: transparent;
    }

    .foot-button-text {
        color: #FFF;
        font-size: 12px;
        line-height: 16px;
        text-align: left;
    }

    .foot-button-text.previous {
        color: ${He};
    }

    .foot-button:disabled > .foot-button-text {
        color: #000;
    }

    .total-votes {
        align-self: flex-end;
        color: ${ae.Q5n};
        font-size: 12px;
        line-height: 16px;
        display: flex;
        justify-content: right;
    }

    .total-votes.placeholder {
        min-height: 16px;
    }

    .header {
        position: relative;
        width: 100%;
        margin-bottom: 5px;
    }

    .header--more-options {
        min-width: 24px;
        height: 24px;
        width: 24px;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.07);
        color: ${ae.CHi};
        position: absolute;
        right: 0;
        top: 0;
        justify-content: center;
        line-height: var(--type-ramp-minus-1-line-height);

    }

    .header--more-options:hover {
        background: rgba(249, 249, 249, 0.5);
    }

    .polls-card.polls-v2 {
        backdrop-filter: none;
        padding: 14px 16px;
        justify-content: space-between;
        background: linear-gradient(302.3deg, rgba(207, 212, 254, 0.7) 15.52%, rgba(237, 239, 255, 0.7) 100%), #FFFFFF;
    }

    .polls-card.polls-v2 .question-label {
        font-size: var(--type-ramp-plus-1-font-size);
        line-height: var(--type-ramp-plus-1-line-height);
        margin-bottom: 7px;
    }

    .polls-card.polls-v2 .answered-text-container {
        color: ${ae.CHi};
    }

    .polls-card.polls-v2 .answer-button-container {
        font-size: var(--type-ramp-base-font-size);
        line-height: var(--type-ramp-base-line-height);
    }

    .polls-card.polls-v2 .answer-button {
        background: rgba(255, 255, 255, 0.54);
        border: 1px solid rgba(0, 0, 0, 0.29);
        margin-bottom: 7px;
    }

    .polls-card.polls-v2 .answer-button:hover {
        border: 1px solid #868686;
        background: #F5F5F5;
    }

    .polls-card.polls-v2 .answer-button:last-child {
        margin-bottom: 0;
    }

    .polls-card.polls-v2 .answered-button-container {
        font-size: var(--type-ramp-base-font-size);
        line-height: var(--type-ramp-base-line-height);
    }

    .polls-card.polls-v2 .header-label {
        font-weight: 600;
        text-transform: uppercase;
    }

    .polls-card.polls-v2 .foot-button {
        min-width: auto;
        margin-inline-start: 8px;
        border: none;
        height: 24px;
    }

    .polls-card.polls-v2 .foot-button-text {
        padding: 4px 10px;
    }

    .polls-card.polls-v2 .foot-button-text.previous {
        color: ${ae.CHi};
    }

    .polls-card.polls-v2 .foot-button.previous {
        background: rgba(255, 255, 255, 0.7);
    }

    .polls-card.polls-v2 .foot-button:disabled {
        background: ${ae.Avx};
        opacity: 0.3;
    }

    .polls-card.polls-v2 .foot-button.previous:disabled {
        background: rgba(255, 255, 255, 0.7);
    }

    .polls-card.polls-v2 .foot-button:disabled > .foot-button-text {
        color: #fff;
    }

    .polls-card.polls-v2 .foot-button.previous:disabled > .foot-button-text {
        color: ${ae.CHi};
    }

    .polls-card.polls-v2 .percentage-text {
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
    }

    .polls-card.polls-v2 .paging-text {
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
    }

    .polls-card.polls-v2 .footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 5px;
    }

    .polls-card.polls-v2 .completed-label {
        font-size: var(--type-ramp-plus-2-font-size);
        line-height: var(--type-ramp-plus-2-line-height);
        font-weight: 600;
        margin-bottom: 8px;
    }

    .polls-card.polls-v2 .completed-resume-text {
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
        color: #717171;
        font-weight: 600;
        margin-bottom: 0;
    }

    .polls-card.polls-v2 .completed-container {
        background: rgba(255, 255, 255, 0.54);
        box-shadow: 0px 16px 20px -10px rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin: 20px 0 8px;
    }

    .polls-card.polls-v2 .completed-icon-wrapper {
        background: #0078D4;
        border-radius: 40px;
        height: 72px;
        width: 72px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .polls-card.polls-super.polls-v2  {
        padding: 0;
    }

    .polls-super .polls-super-content {
        background: none;
        display: flex;
        align-items: center;
    }

    .polls-card.polls-super.polls-v2 .completed-container {
        margin: 20px 0;
    }
    .hidden {
        height: 0;
        width: 0;
        display: block;
        overflow: hidden;
        position: absolute;
    }
`.withBehaviors(new Fe.O(Ge,Ve),(0,Ze.Uu)(Re)),Ne={experienceConfigSchema:f};(0,r.z)().withShadowRootMode("closed").withElementDisambiguation((()=>u.h.ignoreDuplicate)).register((0,n.QT)(),(0,s.hb)(),(0,l.q$)(),(0,d.H5)(),(0,c.WE)()),(0,x.D)().withShadowRootMode("open").withElementDisambiguation((()=>u.h.ignoreDuplicate)).withPrefix("cs").register((0,y.l7)(),(0,w.QZ)(),(0,L.RM)(),(0,a.J)(),(0,o.G)())},89988:function(e,t,i){"use strict";i.d(t,{EL:function(){return d},OY:function(){return s},oO:function(){return l}});let a;const o={},r={},n={};function s(e,t="DEFAULT"){const i=o[t];if(i&&i.has(e)){(()=>i&&i.delete(e)&&0===i.size&&r[t])()&&(a=setTimeout((()=>0===i.size&&r[t](null)),200))}}function l(e,t="DEFAULT"){a&&clearTimeout(a),o[t]||(o[t]=new Set),o[t].add(e)}function d(e="DEFAULT"){return n[e]=n[e]||new Promise((t=>{r[e]=t})),n[e]}},30113:function(e,t,i){"use strict";var a;i.d(t,{m:function(){return a}}),function(e){e.small="OneByOne",e.medium="OneByTwo",e.large="OneByThree"}(a||(a={}))},11708:function(e,t,i){"use strict";var a;i.d(t,{f:function(){return a}}),function(e){e.AiCharacter="aicharacterCardEnabled",e.AutosMarketplaceCard="autosmarketplaceCardEnabled",e.HoroscopeCard="horoscopeCardEnabled",e.WeatherCard="weatherCardEnabled",e.SportsCard="sportsCardEnabled",e.MoneyCard="moneyCardEnabled",e.FinanceCard="financeCardEnabled",e.OnThisDayCard="onthisdayCardEnabled",e.ShoppingCard="shoppingCardEnabled",e.ShoppingEventCard="eventSDCardShoppingEnabled",e.TrafficCard="trafficCardEnabled",e.EsportsCard="esportsCardEnabled",e.EsportsStreamsCard="esportsStreamsCardEnabled",e.ElectionsCard="genericelectionCardEnabled",e.LotteryCard="lotteryCardEnabled",e.QnaCard="qnaCardEnabled",e.RecipesCard="recipeCardEnabled",e.InspirationCard="inspirationCardEnabled",e.TravelCard="travelCardEnabled",e.HealthCard="healthCardEnabled",e.TopStoriesCard="topstoriesCardEnabled",e.TrendingTopics="TrendingTopicsUpsellEnabled",e.LocalGuideCard="localGuideCardEnabled",e.GroceryCard="groceryCardEnabled",e.RewardsCard="rewardsCardEnabled",e.RecommendedSearchesCard="recommendedSearchesCardEnabled",e.PersonalizedOffersCard="personalizedoffersCardEnabled",e.PollsCard="pollsCardEnabled",e.MarketPlaceCard="marketplaceCardEnabled",e.QuizCard="quizCardEnabled",e.CasualGamesCard="esportsCardEnabled",e.CommuteCard="commuteCardEnabled",e.Crypto="CryptoCard",e.MarketBrief="MarketBriefCard"}(a||(a={}))},83152:function(e,t,i){"use strict";var a;i.d(t,{L:function(){return a}}),function(e){e.Location="Location",e.Weather="Weather",e.Finance="Finance",e.Team="Team",e.League="League",e.Player="Player",e.Traffic="Traffic",e.Widget="Widget",e.TopicFeed="TopicFeed"}(a||(a={}))},791:function(e,t,i){"use strict";i.d(t,{N:function(){return b}});var a=i(33940),o=i(33954),r=i(26415),n=i(68364),s=i(33799),l=i(16517),d=i(94788),c=i(67267),u=i(63535),h=i(87298),p=i(83152),g=i(11708),C=i(30113),v=i(65135),f=i(33379),m=i(51671);const b=new class extends class{constructor(e){this.fetchImpl=e,this.userUpdateEndpoint="msn/user",this.pdpServiceEndpoint="graph/actions",this.locationsServiceEndPoint="v1/news/users/me/locations",this.userActionServiceEndPoint="news/users/me/actions",this.ocid="Peregrine",this.ocidOverride=!1}getUserDefaultLocation(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"GET",headers:yield c.$.getOneServiceHeaders(),credentials:"include"},i=(0,u.PH)(this.locationsServiceEndPoint);let o;[...c.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:e&&`${e}`}].forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{o=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(i.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: getUserDefaultLocation}`;throw new Error(t)}return e}))),"getUserDefaultLocation")}catch(e){return o}return o}))}addToFavoriteLocation(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){const i="Location",o="Follow",r={method:"POST",body:JSON.stringify({actionType:o,targetType:i,definitionName:t,degree:"FavoriteLocation",metaData:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,u.PH)(this.pdpServiceEndpoint);let d;((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{d=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,r);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: Location`;throw new Error(t)}return e.json()}))),"addToFavoriteLocation")}catch(e){return!1}return!0}))}removeFavoriteLocation(e){return(0,a.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}removeLocation(e){return(0,a.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}updatePdpHomeLocation(e,t,i={},o){return(0,a.mG)(this,void 0,void 0,(function*(){const r=p.L.Location,n="Follow",d=yield this.getRequestInit({method:"POST"},i);d.body=JSON.stringify({actionType:n,targetType:r,definitionName:t,degree:"DefaultLocation",metaData:e});const g=(0,u.PH)(this.pdpServiceEndpoint);return((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=o?o:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=o?o:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${r}`;throw new Error(t)}return e}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(r),!0}))}updateTrafficMyRoutes(e,t,i,r,n,s){return(0,a.mG)(this,void 0,void 0,(function*(){const l=i.replace(/[^a-zA-Z0-9\-.,_]/g,""),d=p.L.Traffic,u="Follow",g={method:"POST",body:JSON.stringify({actionType:u,targetType:d,targetId:l,degree:e,definitionName:t,metadata:r,createdDateTime:s}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},C=yield this.getTrafficPdpUrl(null,null,n);try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(C.href,g);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${d}`;throw new Error(t)}return e.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(d)}catch(e){return o.k.logError(e.message),!1}return!0}))}deleteTrafficMyRoutes(e,t,i){return(0,a.mG)(this,void 0,void 0,(function*(){const o={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},r=yield this.getTrafficPdpUrl(e,t,i);try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Traffic)}catch(e){return!1}return!0}))}getTrafficMyRoutes(e,t){var i;return(0,a.mG)(this,void 0,void 0,(function*(){const o={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},r=yield this.getTrafficPdpUrl(e,null,t);try{const e=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"getTrafficFromPdp");return null===(i=yield e.json())||void 0===i?void 0:i.value}catch(e){return null}}))}getTrafficPdpUrl(e,t,i){return(0,a.mG)(this,void 0,void 0,(function*(){const a=(0,u.PH)(this.pdpServiceEndpoint),o=(yield(0,m.XJ)())===s.Hy.SignedIn,r=(0,l.Yq)().UserId,n=o?c.$.getOneServiceParamsWithAuth(r,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(r,this.ocid,!this.ocidOverride);if(e||t){const i=`targetType eq '${p.L.Traffic}'`,o=e?`degree eq '${e}'`:"",r=t?`definitionName eq '${t}'`:"";a.searchParams.set("$filter",`actionType eq 'Follow' and (${i})${o?` and (${o})`:""}${r?` and (${r})`:""}`)}return[...n,...i||[]].forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)})),a}))}addToWatchList(e,t=0,i={},o={}){return(0,a.mG)(this,void 0,void 0,(function*(){const r=p.L.Finance,n="Follow",d={method:"POST",body:JSON.stringify({actionType:n,targetType:r,targetId:e,metadata:Object.assign({securityType:t,tickerId:this.generateUUID()},o)}),headers:yield this.getOneserviceHeaders(i),credentials:"include"},g=(0,u.PH)(this.pdpServiceEndpoint),C="zh-cn"!==(0,l.Yq)().CurrentMarket;let v;((yield(0,m.XJ)())===s.Hy.SignedIn&&C?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{v=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${r}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(r)}catch(e){return!1}return!0}))}addListToWatchList(e,t={},i={}){return(0,a.mG)(this,void 0,void 0,(function*(){const o=p.L.Finance,r="Follow",n={method:"POST",body:JSON.stringify(e.map((e=>({actionType:r,targetType:o,targetId:e.key,metadata:Object.assign({securityType:e.value,tickerId:this.generateUUID()},i)})))),headers:yield this.getOneserviceHeaders(t),credentials:"include"},d=(0,u.PH)(this.pdpServiceEndpoint),g="zh-cn"!==(0,l.Yq)().CurrentMarket;let C;((yield(0,m.XJ)())===s.Hy.SignedIn&&g?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&d.searchParams.set(e.key,e.value)}));try{C=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(d.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(o)}catch(e){return!1}return!0}))}generateUUID(){let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const i=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?i:3&i|8).toString(16)}))}sortWatchList(e,t={}){var i;return(0,a.mG)(this,void 0,void 0,(function*(){const o=p.L.Finance,r="Follow",n=yield b.readPdpWithTargetType(p.L.Finance,!0,200,t),d=n&&(null===(i=n.value)||void 0===i?void 0:i.filter((e=>e.actionType===r&&e.targetId)));if(!d||d.length<e.length)return!1;const g={};let C=e.length;d.forEach((t=>{let i=e.findIndex((e=>e===t.targetId));i<0&&(i=C,C++),g[t.targetId]=JSON.stringify({actionType:r,targetId:t.targetId,targetType:o,rank:i,metadata:t.metadata})}));const v={method:"PUT",body:JSON.stringify(g),headers:yield this.getOneserviceHeaders(t),credentials:"include"},f=(0,u.PH)(this.pdpServiceEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&f.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(f.href,v);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Finance)}catch(e){return!1}return!0}))}updateWeatherInterests(e,t,i,r={},n){return(0,a.mG)(this,void 0,void 0,(function*(){const t=p.L.Weather,a={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:t,targetId:e,metadata:{UserAction:{0:{UpdateTime:new Date,Location:i}}}}),headers:yield this.getOneserviceHeaders(r),credentials:"include"},d=(0,u.PH)(this.pdpServiceEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&d.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(d.href,a);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather interests call`;throw new Error(t)}}catch(e){return o.k.logError(e.message),!1}return!0}))}updateWeatherSettings(e,t,i={},o){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!t)return!0;let a="";a=e&&!t?'{"weatherDisplayUnit":"'+e+'"}':!e&&t?'{"userSettings":{"weatherLocationSettingMode":"'+t+'"}}':'{"weatherDisplayUnit":"'+e+'","userSettings":{"weatherLocationSettingMode":"'+t+'"}}';const r=yield this.getRequestInit({method:"POST"},i);r.body=a;const n=(0,u.PH)(this.userUpdateEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=o?o:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=o?o:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));const d=yield this.fetchImpl(n.href,r);if(d.status>=400){const e=`OneService returned error response. Status: ${d.status} for update weather setting call`;throw new Error(e)}return!0}))}updateFinanceInterests(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const t={financeInterests:e},i=JSON.stringify(t),a=yield this.getRequestInit({method:"POST"});a.body=i;const o=(0,u.PH)(this.userUpdateEndpoint),r="zh-cn"!==(0,l.Yq)().CurrentMarket;((yield(0,m.XJ)())===s.Hy.SignedIn&&r?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&o.searchParams.set(e.key,e.value)}));const n=yield this.fetchImpl(o.href,a);if(n.status>=400){const e=`OneService returned error response. Status: ${n.status} for update finance interests call`;throw new Error(e)}return!0}))}updateUserSettings(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!0;const a=[];let r;for(r in e)null!=e[r]&&a.push('"'+r+'": '+JSON.stringify(e[r]));const n='{"userSettings":{'+a.join(", ")+"}}",d=yield this.getRequestInit({method:"POST"},t);d.body=n;const h=(0,u.PH)(this.userUpdateEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=i?i:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&h.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(h.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather setting call`;throw new Error(t)}}catch(e){return o.k.logError(e.message),!1}return!0}))}getPdpUserPreference(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){const r=yield this.getRequestInit({method:"GET"},t),n=(0,u.PH)(this.userUpdateEndpoint);[...(yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(i||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(i||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{const e=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,r);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!e.ok&&404!=e.status)throw Error(`code=${e.status}, ${e.statusText}`);return Object.assign(Object.assign({},yield e.json()),{is404:404==e.status})}catch(t){if(o.k.logError(t.message),e)throw Error(t.message);return null}}))}updatePdpLayoutPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(i.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update layout preference setting call`;throw new Error(t)}}catch(e){return o.k.logError(e.message),!1}return!0}))}updateSegmentCardsEnableStatus(e,t=null){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const i=[];if(t){let e;for(e in t)null!=t[e]&&i.push('"'+e+'": '+JSON.stringify(t[e]))}const a=e.map((e=>e.cardType!=g.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),o=i.length>0?'{"segmentCardSettings":"{'+a+'}","userSettings":{'+i.join(", ")+"}}":'{"segmentCardSettings":"{'+a+'}"}';return this.updateUserPreference(o)}))}updateProductivityCardsEnableStatus(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{enterpriseCardsEnabled:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateGamingCardsEnableStatus(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{gamingCards:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateCommunitySettingsOptOutStatus(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t={};e.forEach((e=>{t[e.settingType]=e.optedOut?"1":"0"}));const i={communitySettings:t};return this.updateUserPreference(JSON.stringify(i))}))}updateWidgetSettings(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const a=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:p.L.Widget,metadata:{prongsv2:{region:e.region,size:C.m[e.size],position:e.position}}})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:i})}))}muteWidget(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const a=e.map((e=>({actionType:"Mute",targetId:e,targetType:p.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:i})}))}disableSpotlightCard(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const i={actionType:"Disabled",definitionName:e,targetType:p.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:t})}))}enableSpotlightCard(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(p.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,a.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:i,endpoint:o,method:r,payload:n,appError:d}=e;if(!o||!r)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),d),!1;const p=(0,u.PH)(o);let g;((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)})),i&&i.forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));try{JSON.parse(n),g=n}catch(e){g=JSON.stringify(n)}const C={method:r,body:g,headers:yield this.getOneserviceHeaders(t),credentials:"include"},v="GET"==r;try{return yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,C);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${n}`;throw new Error(t)}return!v||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,d),!1}}))}getUserActions(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=[{key:"actionType",value:e}],i=yield this.sendGenericActionRequest({additionalParams:t,endpoint:this.userActionServiceEndPoint,method:"GET"});return i&&i.value}))}setUserAction(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){return!!(yield this.sendGenericActionRequest({endpoint:this.userActionServiceEndPoint,method:"POST",payload:Object.assign({actionType:e},t)}))}))}deleteUserAction(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){const i=[{key:"actionType",value:e},{key:"targetId",value:t.targetId},{key:"definitionName",value:t.definitionName}];return!!(yield this.sendGenericActionRequest({additionalParams:i,endpoint:this.userActionServiceEndPoint,method:"DELETE"}))}))}updateUserPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const a=yield this.fetchImpl(i.href,t);if(a.status>=400){const t=`OneService returned error response while updating user preference. Status: ${a.status}, payload: ${e}`;throw new Error(t)}}catch(e){return!1}return!0}))}setPdpTargetTypesForBulkLoad(e){e&&e.length&&!this.bulkGraphActionTargetTypes&&(this.bulkGraphActionTargetTypes=e)}readPdpWithTargetType(e,t=!1,i,o={},n=!0,s=[]){return(0,a.mG)(this,void 0,void 0,(function*(){if(n){const t=yield this.getFromWebWorker(e);if(t)return t}if(this.bulkGraphActionTargetTypes&&this.bulkGraphActionTargetTypes.length)if(this.bulkGraphActionTargetTypes.indexOf(e)>=0){this.bulkGraphActionResultCache=this.bulkGraphActionResultCache||(yield this.bulkGraphActionPromise||(this.bulkGraphActionPromise=this.fetchPdpWithTargetTypes(this.bulkGraphActionTargetTypes,t,i,o,s)));const a=this.bulkGraphActionResultCache.get(e);if(a)return{value:a}}else v.M0.sendAppErrorEvent(Object.assign(Object.assign({},r.srQ),{message:`Received an unknown target type "${e}" that was not in the bulk graph action target types list "${this.bulkGraphActionTargetTypes}". Falling back to new network call. Please update the EntryPoint config's "graphActionsToBulkLoad" property to include this type.`}));const a=(yield this.fetchPdpWithTargetTypes([e],t,i,o,s)).get(e);if(a)return{value:a}}))}deleteFromPdp(e,t,i,o={},r,n="Follow",d,p=[]){return(0,a.mG)(this,void 0,void 0,(function*(){const g={method:"DELETE",headers:yield this.getOneserviceHeaders(o),credentials:"include"},C=(0,u.PH)(this.pdpServiceEndpoint),f=(yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),b=`targetType eq '${e}'`,y=i.map((e=>`${t} eq '${e}'`)).join(" or ");let w=`actionType eq '${n}' and (${y}) and (${b})`;r&&(w+=` and (degree eq '${r}')`),C.searchParams.set("$filter",w),[...f,...p].forEach((e=>{e.value&&C.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(C.href,g);if(t.status>=400){const i=`OneService returned error response. Status: ${t.status} for actionType: ${n}, targetType: ${e}`;throw new Error(i)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return d&&v.M0.sendAppErrorEvent(Object.assign(Object.assign({},d),{pb:Object.assign(Object.assign({},d.pb),{actionType:n,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,i,o={},r=[]){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const n=e.map((e=>`targetType eq '${e}'`)).join(" or "),d=[{key:"$top",value:`${i=i||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${n})`}],p=yield this.getRequestInit({method:"GET"},o);!0===t&&(p.cache="no-store");const g=(0,u.PH)(this.pdpServiceEndpoint);[...d,...(yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...r].forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));const C=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,p);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!C.ok)throw Error(`code=${C.status}, ${C.statusText}`);const v=new Map,f=yield C.json();if(!f)return v;if(f.value)for(const e of f.value){let t=v.get(e.targetType);t||v.set(e.targetType,t=[]),t.push(e)}for(const t of e)v.get(t)||v.set(t,[]);return v}))}updateMarketPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(i.href,t);if(!e.ok)throw new Error(`Failed to update market preference: Status: ${e.status}`);return!0}catch(e){return o.k.logError(e.message),!1}}))}getFromWebWorker(e){return(0,a.mG)(this,void 0,void 0,(function*(){let t=null;if(d.yb){const i=this.maptoWebWorkerId(e);if(i&&i.trim()){const i=yield(0,d.ot)({id:this.maptoWebWorkerId(e)});i.fetched&&(t=i.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case p.L.Location:return"weatherpdp";case p.L.League:return"sportsleaguepdp";case p.L.Player:return"sportsplayerpdp";case p.L.Team:return"sportsteampdp";case p.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,a.mG)(this,void 0,void 0,(function*(){const i=yield c.$.getOneServiceHeaders();return e.headers=Object.assign(Object.assign({},i),t),e.credentials="include",e}))}getOneserviceHeaders(e={}){return(0,a.mG)(this,void 0,void 0,(function*(){const t=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,u.PH)(this.userUpdateEndpoint);[...(yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)}));try{const i=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const i=yield this.fetchImpl(t.href,e);if(!i.ok){if(i.status>=400&&i.status<500&&408!=i.status)return i;(0,n.OO)(null,r.G9t,"Error get followed list")}return i}))),"getFollowedLists");return i.ok||(0,n.OO)(null,r.G9t,"Error get followed list"),yield i.json()}catch(e){return o.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,i={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},o=(0,u.PH)(this.userUpdateEndpoint);let r;((yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&o.searchParams.set(e.key,e.value)}));try{r=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,i);if(e.status>=400){const i=`OneService returned error response. Status: ${e.status} for actionType: FollowList, targetType: ${t}`;throw new Error(i)}return e.json()}))),"addToFollowedLists")}catch(e){return!1}return!0}))}deleteFromFollowedLists(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,i={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},o=(0,u.PH)(this.userUpdateEndpoint);let r;[...(yield(0,m.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:e.toString()}]].forEach((e=>{e.value&&o.searchParams.set(e.key,e.value)}));try{r=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,i);if(e.status>=400){const i=`OneService returned error response. Status: ${e.status} for actionType: UnFollowList, targetType: ${t}`;throw new Error(i)}return e.json()}))),"deleteFromFollowedLists")}catch(e){return!1}return!0}))}logError(e,t){t?v.M0.sendAppErrorEvent(Object.assign(Object.assign({},t),{pb:Object.assign(Object.assign({},t.pb),{error:e.message})})):o.k.logError(e.message)}}{constructor(){super((0,f.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===l.jG.AppType||"newsAndInterests"===l.jG.AppType||"winWidgets"===l.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===l.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===l.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===l.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===l.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},19628:function(e,t){"use strict";var i=function(){function e(){}return e.IsNullOrWhiteSpace=function(e){try{return null==e||"undefined"==e||e.toString().replace(/\s/g,"").length<1}catch(e){return console.log(e),!1}},e.Join=function(t){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];try{var o=i[0];if(Array.isArray(o)||o instanceof Array){for(var r=e.Empty,n=0;n<o.length;n++){var s=o[n];n<o.length-1?r+=s+t:r+=s}return r}if("object"==typeof o){var l=e.Empty,d=o;return Object.keys(o).forEach((function(e){l+=d[e]+t})),l=l.slice(0,l.length-t.length)}var c=i;return e.join.apply(e,[t].concat(c))}catch(t){return console.log(t),e.Empty}},e.Format=function(t){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];try{return t.match(e.regexNumber)?e.format(e.regexNumber,t,i):t.match(e.regexObject)?e.format(e.regexObject,t,i,!0):e.Empty}catch(t){return console.log(t),e.Empty}},e.format=function(t,i,a,o){return void 0===o&&(o=!1),i.replace(t,(function(t,i){var r,n=t.split(":");return n.length>1&&(i=n[0].replace("{",""),t=n[1].replace("}","")),null==(r=o?a[0][i]:a[i])||null==r||t.match(/{\d+}/)||void 0!==(r=e.parsePattern(t,r))&&null!=r?r:e.Empty}))},e.parsePattern=function(t,i){switch(t){case"L":return i.toLowerCase();case"U":return i.toUpperCase();case"d":if("string"==typeof i)return e.getDisplayDateFromString(i);if(i instanceof Date)return e.Format("{0:00}.{1:00}.{2:0000}",i.getDate(),i.getMonth(),i.getFullYear());break;case"s":if("string"==typeof i)return e.getSortableDateFromString(i);if(i instanceof Date)return e.Format("{0:0000}-{1:00}-{2:00}",i.getFullYear(),i.getMonth(),i.getDate());break;case"n":"string"!=typeof i&&(i=i.toString());var a=i.replace(/,/g,".");if(isNaN(parseFloat(a))||a.length<=3)break;var o=a.split(/[^0-9]+/g),r=o;o.length>1&&(r=[e.join.apply(e,[""].concat(o.splice(0,o.length-1))),o[o.length-1]]);var n=r[0],s=n.length%3,l=s>0?n.substring(0,s):e.Empty,d=n.substring(s).match(/.{3}/g);return(l=l+"."+e.Join(".",d))+(r.length>1?","+r[1]:"")}return"number"!=typeof i&&isNaN(i)||isNaN(+t)||e.IsNullOrWhiteSpace(i)?i:e.formatNumber(i,t)},e.getDisplayDateFromString=function(e){var t;if((t=e.split("-")).length<=1)return e;var i=t[t.length-1],a=t[t.length-2],o=t[t.length-3];return(i=(i=i.split("T")[0]).split(" ")[0])+"."+a+"."+o},e.getSortableDateFromString=function(t){var i=t.replace(",","").split(".");if(i.length<=1)return t;var a=i[i.length-1].split(" "),o=e.Empty;a.length>1&&(o=a[a.length-1]);var r=i[i.length-1].split(" ")[0]+"-"+i[i.length-2]+"-"+i[i.length-3];return!e.IsNullOrWhiteSpace(o)&&o.length>1?r+="T"+o:r+="T00:00:00",r},e.formatNumber=function(e,t){var i=t.length,a=e.toString();if(i<=a.length)return a;var o=i-a.length;return new Array(o+=1).join("0")+a},e.join=function(t){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];for(var o=e.Empty,r=0;r<i.length;r++)if(!("string"==typeof i[r]&&e.IsNullOrWhiteSpace(i[r])||"number"!=typeof i[r]&&"string"!=typeof i[r])){o+=""+i[r];for(var n=r+1;n<i.length;n++)if(!e.IsNullOrWhiteSpace(i[n])){o+=t,r=n-1;break}}return o},e.regexNumber=/{(\d+(:\w*)?)}/g,e.regexObject=/{(\w+(:\w*)?)}/g,e.Empty="",e}();t.Ld=i;var a=function(){function e(e){void 0===e&&(e=i.Empty),this.Values=[],this.Values=new Array(e)}return e.prototype.ToString=function(){return this.Values.join("")},e.prototype.Append=function(e){this.Values.push(e)},e.prototype.AppendFormat=function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];this.Values.push(i.Format.apply(i,[e].concat(t)))},e.prototype.Clear=function(){this.Values=[]},e}()},95263:function(e,t,i){"use strict";i.d(t,{Sf:function(){return d},w_:function(){return l},UT:function(){return c},IY:function(){return u},A4:function(){return g}});var a=i(98648),o=i(42355),r=i(32804),n=i(65390);const{create:s}=a.L,l=s("gradient-white-fill").withDefault((e=>(0,n.Y)(.8,1,o.w.create(1,1,1),r.wFS.getValueFor(e)))),d=s("gradient-background-fill").withDefault((e=>(0,n.Y)(0,1,null,r.wFS.getValueFor(e)))),c=s("neutral-fill-bubble-on-rest").withDefault((e=>function(e,t){const i=e.closestIndexOf(t);return e.get(i-5)}(r.yvm.getValueFor(e),r.wFS.getValueFor(e)))),u=s("neutral-foreground-hint-on-bubble-on-rest").withDefault((e=>r.axZ.getValueFor(e).evaluate(e,c.getValueFor(e))));function h(e,t,i){return e.get(e.closestIndexOf((a=t,o.w.create(a,a,a)))-i);var a}const p=s({name:"neutral-layer-card-recipe",cssCustomPropertyName:null}).withDefault({evaluate:e=>h(r.yvm.getValueFor(e),r.q2d.getValueFor(e),r.YL4.getValueFor(e))}),g=s("neutral-layer-card").withDefault((e=>p.getValueFor(e).evaluate(e)))},65390:function(e,t,i){"use strict";i.d(t,{Y:function(){return r}});var a=i(97186),o=i(2696);function r(e=0,t=1,i,r){const n=r.toColorString(),{r:s,g:l,b:d}=(0,a.in)(n),c=`linear-gradient(160deg, ${new o.h(s,l,d,e).toStringWebRGBA()}, ${new o.h(s,l,d,t).toStringWebRGBA()})`;if(i){return[c,null==i?void 0:i.toColorString()].join()}return c}},30980:function(e,t,i){"use strict";i.d(t,{g:function(){return C}});var a=i(33940),o=i(38156),r=i(26785),n=i.n(r),s=i(81707),l=i(55096),d=i.n(l),c=i(87055),u=i.n(c),h=i(72653),p=i.n(h),g=i(87697);class C extends s.m{constructor(){super(...arguments),this.isActionMenuOpen=!1,this.isShowingEntityList=!1,this.showNavList=!1,this.actionMenuItems=[],this.keyDownHandler=e=>("Escape"===e.code?(this.interestMenuButtonElement&&this.interestMenuButtonElement.focus(),this.showNavList=!1):"Tab"===e.code&&this.customTabEventHandler&&this.customTabEventHandler(this,e),!0),this.showInfoButtonTemplate=()=>{},this.handleInterestMenuMouseEnter=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!0,this.isActionMenuOpen=!1,this.headerData=Object.assign(Object.assign({},this.headerData),{isShowingEntityList:!0})},this.handleInterestMenuMouseLeave=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!1,this.showNavList=!1},this.handleNavigationMouseEnter=e=>{this.showNavList=!0,this.isActionMenuOpen&&this.toggleActionMenu(null)},this.handleNavigationMouseLeave=e=>{setTimeout((()=>{this.isShowingEntityList||(this.showNavList=!1)}),100)},this.interestMenuItemClick=(e,t)=>{this.showNavList=!1,t.onClick(e,t)},this.followInterestsButtonClick=e=>{this.showNavList=!1,this.headerData&&this.headerData.interestMenuData&&this.headerData.interestMenuData.footerMenuItem.onClick(e)},this.getInterestMenuItemTelemetryTag=e=>{var t;return null===(t=this.interestMenuTelemetryTag)||void 0===t?void 0:t.addOrUpdateChild({name:"interest",action:o.Aw.Click,behavior:o.wu.Refresh,type:o.c9.Entity,content:{headline:e.title}}).getMetadataTag()},this.handleClickForActionMenu=e=>{var t;e&&(e.target instanceof C||this.actionsMenuButtonElement&&this.actionsMenuButtonElement.contains((e.path||(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)))[0]))||this.toggleActionMenu(null)},this.handleKeyDownForActionMenu=e=>{"Escape"!==e.code||this.toggleActionMenu(!1,null)},this.actionMenuItemClick=e=>{if(this.headerData.actionMenuData)switch(this.toggleActionMenu(!1,null),e){case 0:return this.headerData.actionMenuData.followInterestsCallback&&this.headerData.actionMenuData.followInterestsCallback();case 1:return this.headerData.actionMenuData.manageInterestsCallback&&this.headerData.actionMenuData.manageInterestsCallback();case 2:return this.headerData.actionMenuData.hideCardCallback&&this.headerData.actionMenuData.hideCardCallback();case 3:return this.headerData.actionMenuData.moreSettingsPersonalizeCallback&&this.headerData.actionMenuData.moreSettingsPersonalizeCallback()}},this.initTelemetry=()=>{var e,t,i,a,r,n,s,l,d,c,u,h;if(!this.headerData)return;const p=this.headerData.telemetryContext;this.headerTelemetryContext=null!==(e=null==p?void 0:p.headerTelemetryObject)&&void 0!==e?e:null===(t=this.parentTelemetryObject)||void 0===t?void 0:t.addOrUpdateChild({name:"header",action:o.Aw.Click,behavior:o.wu.Navigate,content:{headline:this.headerData.title}}),this.actionMenuTelemetryTag=null!==(i=null==p?void 0:p.actionMenuTelemetryTag)&&void 0!==i?i:null===(a=this.headerTelemetryContext)||void 0===a?void 0:a.addOrUpdateChild({name:"cardactionellipsis",action:o.Aw.Click,behavior:o.wu.Open,type:o.c9.ActionButton}),this.interestMenuTelemetryTag=null!==(r=null==p?void 0:p.interestMenuTelemetryTag)&&void 0!==r?r:null===(n=this.parentTelemetryObject)||void 0===n?void 0:n.addOrUpdateChild({name:"interestmenu"}),this.interestMenuButtonTelemetryTag=null!==(l=null===(s=null==p?void 0:p.interestMenuButtonTelemetryTag)||void 0===s?void 0:s.getMetadataTag())&&void 0!==l?l:null===(d=this.parentTelemetryObject)||void 0===d?void 0:d.addOrUpdateChild({name:"interestmenu",action:o.Aw.Hover,behavior:o.wu.Open,type:o.c9.Entity}).getMetadataTag(),this.interestMenuFollowTelemetryTag=null!==(u=null===(c=null==p?void 0:p.interestMenuFollowButtonTelemetryTag)||void 0===c?void 0:c.getMetadataTag())&&void 0!==u?u:null===(h=this.parentTelemetryObject)||void 0===h?void 0:h.addOrUpdateChild({name:"followinterests",action:o.Aw.Click,behavior:o.wu.Refresh,type:o.c9.Entity}).getMetadataTag()}}connectedCallback(){var e,t;if(super.connectedCallback(),this.initTelemetry(),null===(t=null===(e=this.interestMenu)||void 0===e?void 0:e.children)||void 0===t?void 0:t.length){const e=this.interestMenu.children[0].children[1],t=null==e?void 0:e.children[0];setTimeout((()=>{t.focus()}),100)}this.actionMenuItems=this.getBaseActionMenuItems()}toggleActionMenu(e,t=!1){this.isActionMenuOpen=t,t&&e?(this.actionsMenuButtonElement=e&&e.currentTarget,document.addEventListener("click",this.handleClickForActionMenu),document.addEventListener("keydown",this.handleKeyDownForActionMenu)):(this.actionsMenuButtonElement=null,document.removeEventListener("click",this.handleClickForActionMenu),document.removeEventListener("keydown",this.handleKeyDownForActionMenu))}getBaseActionMenuItems(){var e,t,i,r,s,l,c,h,g,C,v,f,m,b,y,w,L,x,$,k,M,T,O,S,D,P;if(!this.headerData)return;let E=[];const A=this.headerData.telemetryContext;if(this.headerData.interestMenuData){const n=null!==(t=null===(e=null==A?void 0:A.followInterests)||void 0===e?void 0:e.getMetadataTag())&&void 0!==t?t:null===(i=this.parentTelemetryObject)||void 0===i?void 0:i.addOrUpdateChild({name:"followinterests",action:o.Aw.Click,behavior:o.wu.Follow,type:o.c9.ActionButton}).getMetadataTag(),d=null!==(s=null===(r=null==A?void 0:A.manageInterests)||void 0===r?void 0:r.getMetadataTag())&&void 0!==s?s:null===(l=this.parentTelemetryObject)||void 0===l?void 0:l.addOrUpdateChild({name:"manageinterests",action:o.Aw.Click,behavior:o.wu.Navigate,type:o.c9.ActionButton}).getMetadataTag();E.push({id:"follow",glyph:u(),title:null!==(g=null===(h=null===(c=this.headerData.actionMenuData)||void 0===c?void 0:c.strings)||void 0===h?void 0:h.followInterestsTitle)&&void 0!==g?g:"Follow interests",ariaLabel:"follow interests",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(0)})),telemetryTag:n},{id:"manage",glyph:p(),title:null!==(f=null===(v=null===(C=this.headerData.actionMenuData)||void 0===C?void 0:C.strings)||void 0===v?void 0:v.manageInterestsTitle)&&void 0!==f?f:"Manage interests",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(1)})),telemetryTag:d})}(null===(b=null===(m=this.headerData.actionMenuData)||void 0===m?void 0:m.items)||void 0===b?void 0:b.length)>0&&(E=[...E,...this.headerData.actionMenuData.items],E.length>0&&E.push({isDivider:!0}));const I=null!==(w=null===(y=null==A?void 0:A.hideCard)||void 0===y?void 0:y.getMetadataTag())&&void 0!==w?w:null===(L=this.parentTelemetryObject)||void 0===L?void 0:L.addOrUpdateChild({name:"hidecard",action:o.Aw.Click,behavior:o.wu.Hide,type:o.c9.ActionButton}).getMetadataTag(),B=null!==($=null===(x=null==A?void 0:A.moreSettings)||void 0===x?void 0:x.getMetadataTag())&&void 0!==$?$:null===(k=this.parentTelemetryObject)||void 0===k?void 0:k.addOrUpdateChild({name:"moresettings",action:o.Aw.Click,behavior:o.wu.Navigate,type:o.c9.ActionButton}).getMetadataTag();return E.push({id:"hide",glyph:n(),title:null!==(O=null===(T=null===(M=this.headerData.actionMenuData)||void 0===M?void 0:M.strings)||void 0===T?void 0:T.hideCardTitle)&&void 0!==O?O:"Hide card",ariaLabel:"hide-card",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(2)})),telemetryTag:I},{id:"more",glyph:d(),title:null!==(P=null===(D=null===(S=this.headerData.actionMenuData)||void 0===S?void 0:S.strings)||void 0===D?void 0:D.moreSettingsTitle)&&void 0!==P?P:"More settings",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(3)})),telemetryTag:B}),E}}(0,a.gn)([g.LO],C.prototype,"headerData",void 0),(0,a.gn)([g.LO],C.prototype,"isActionMenuOpen",void 0),(0,a.gn)([g.LO],C.prototype,"isShowingEntityList",void 0),(0,a.gn)([g.LO],C.prototype,"showNavList",void 0),(0,a.gn)([g.LO],C.prototype,"actionMenuItems",void 0),(0,a.gn)([g.LO],C.prototype,"actionMenuTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"headerTelemetryContext",void 0),(0,a.gn)([g.LO],C.prototype,"infoButtonTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"interestMenuButtonTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"interestMenuFollowTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"interestMenuItemTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"interestMenuTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"parentTelemetryObject",void 0),(0,a.gn)([g.LO],C.prototype,"titleTelemetryTag",void 0),(0,a.gn)([g.LO],C.prototype,"interestMenu",void 0)},61671:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var a=i(32804),o=i(22144);const r=i(53046).i`
    ${o.e} cs-sd-card-header{font-size:var(--sd-card-title-font-size,${a.sNp});
        line-height: var(--sd-card-title-line-height, ${a.vgC});font-weight:var(--sd-card-title-font-weight,normal)}fluent-button:hover{background:rgba(0,0,0,0.04)}.header-icon,.header-icon img{width:var(--sd-header-icon-width,16px);height:var(--sd-header-icon-height,16px)}.interest-menu-button svg{width:12px;height:12px}.nav-list-scroll{overflow-y:scroll}.nav-list-scroll::-webkit-scrollbar{width:6px}.nav-list-scroll::-webkit-scrollbar-thumb{height:82px;background:rgba(0,0,0,0.58);border:1px solid #767676;border-radius:20px}.title-link{color:${a.CHi};text-decoration:none}.topic-menu-nav-content{box-sizing:border-box;display:flex;position:absolute;top:36px;left:20px;padding-top:6px;min-height:40px;max-height:245px;width:276px;border-radius:4px;border:1px solid ${a.akT};
        box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.14);
        background-color: ${a.s55};
        z-index: 3;
        
        overflow-y: auto;
        overflow-x: hidden;
    }
`},8567:function(e,t,i){"use strict";i.d(t,{J:function(){return y}});var a=i(30980),o=i(61671),r=i(39181),n=i(58952),s=i(13988),l=i(11310),d=i.n(l),c=i(9555),u=i.n(c),h=i(50367),p=i.n(h);i(33763).S;const g=r.d`<fluent-button appearance="stealth" slot="more-actions" class="stealth" @click=${(e,t)=>e.toggleActionMenu(t.event,!e.isActionMenuOpen)} title="${e=>{var t,i;return null===(i=null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.strings)||void 0===i?void 0:i.actionMenuToolTip}}" aria-label="${e=>{var t,i;return null===(i=null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.strings)||void 0===i?void 0:i.actionMenuToolTip}}" data-t="${e=>{var t;return null===(t=e.actionMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}">${d()}</fluent-button>`,C=r.d`<div data-t="${e=>{var t;return null===(t=e.actionMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}"><msn-actions-menu :referrerButton=${e=>e.actionsMenuButtonElement} :menuItems=${e=>e.actionMenuItems} defaultHorizontalPosition=${e=>{var t;return(null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.horizontalPosition)||"end"}} /></div>`,v=r.d`<fluent-button ${(0,n.i)("interestMenuButtonElement")} appearance="stealth" slot="menu-button" class="stealth interest-menu-button" title="${e=>{var t;return null===(t=e.headerData.strings)||void 0===t?void 0:t.interestMenuToolTip}}" aria-label="${e=>{var t;return null===(t=e.headerData.strings)||void 0===t?void 0:t.interestMenuToolTip}}" data-t="${e=>e.interestMenuButtonTelemetryTag}" @mouseenter="${(e,t)=>e.handleNavigationMouseEnter(t.event)}" @mouseleave="${(e,t)=>e.handleNavigationMouseLeave(t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.handleNavigationMouseEnter(t.event):null}">${u()}</fluent-button>`,f=r.d`<div class="topic-menu-nav-content" @mouseenter="${(e,t)=>e.handleInterestMenuMouseEnter(t.event)}" @mouseleave="${(e,t)=>e.handleInterestMenuMouseLeave(t.event)}" data-t="${e=>{var t;return null===(t=e.interestMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}"><div class="nav-list-scroll"><cs-interest-menu :data=${e=>e.headerData.interestMenuData} :headerData=${e=>e.headerData}></cs-interest-menu></div></div>`,m=r.d`<fluent-button slot="more-actions" appearance="neutral" @click=${(e,t)=>e.showInfoButtonTemplate()} data-t="${e=>e.infoButtonTelemetryTag}">${p()}</fluent-button>`,b=r.d` ${(0,s.g)((e=>e.headerData),r.d`<cs-sd-card-header slot="header" data-t="${e=>{var t;return null===(t=e.headerTelemetryContext)||void 0===t?void 0:t.getMetadataTag()}}" href="${e=>e.headerData.titleNavigationLink}" target="_blank">${(0,s.g)((e=>e.headerData.headerLogo),r.d`<div slot="icon" class="header-icon">${e=>e.headerData.isEventCard?r.d`<img src="${e.headerData.headerLogo}">`:r.d`${e.headerData.headerLogo}`}</div>`)} ${e=>e.headerData.title} ${(0,s.g)((e=>e.headerData.interestMenuData),v)} ${(0,s.g)((e=>e.showNavList&&!1!==e.headerData.isShowingEntityList),f)} ${(0,s.g)((e=>e.headerData.infoButtonText),m)} ${g} ${(0,s.g)((e=>e.isActionMenuOpen),C)}</cs-sd-card-header>`)}
`,y=a.g.compose({baseName:"sd-header",styles:o.x,template:b})},22144:function(e,t,i){"use strict";i.d(t,{e:function(){return o}});var a=i(32804);const o=i(53046).i` fluent-divider{border-top:1px solid ${a.akT}}fluent-menu{padding-bottom:0px;padding-top:0px;box-shadow:none}fluent-menu-item::part(checkbox-indicator){width:10px;height:10px}.footer-menu{padding-top:0px}.footer-menu-item{grid-template-columns:20px 20px 0 auto;padding-inline-start:12px;margin:0px 2px;color:${a.Avx};
        fill: ${a.Avx}}.footer-menu-item:hover svg{fill:currentColor}.interest-menu{min-width:262px}.interest-menu fluent-menu-item{grid-template-columns:20px 20px 1fr 0 auto;padding-inline-start:12px;margin:0 2px}.interest-menu .menu-item-badge{margin-inline-start:0;font-size:10px;margin-inline-end:0}.menu-item-icon{display:flex}.nav-list-title{height:20px;display:flex;align-items:center;color:#7A7A7A;margin-inline-start:16px;flex:none;flex-grow:0}.recommended-interest-menu{padding-top:6px}@media (prefers-color-scheme:dark){.nav-list-title{color:rgba(255,255,255,0.7)}}`},18573:function(e,t,i){"use strict";i.d(t,{G:function(){return S}});var a=i(38156);var o=i(39181),r=i(13988),n=i(3181),s=i.n(n),l=i(24201),d=i.n(l);const c=o.d`<fluent-button class="flipper previous" title="${e=>e.footerData.paginationData.previousFlipperTitle}" @click="${(e,t)=>e.footerData.paginationData.onFlipperClick(!1,t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.footerData.paginationData.onFlipperClick(!1,t.event):null}" data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(r=null===(o=null==i?void 0:i.telemetryContext)||void 0===o?void 0:o.previousFlipper)||void 0===r?void 0:r.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"previousslidearrow",action:a.Aw.Click,behavior:a.wu.Paginate,type:a.c9.ActionButton}).getMetadataTag();var t,i,o,r,n}}">${s()}</fluent-button>`,u=o.d`<fluent-button class="flipper next" title="${e=>e.footerData.paginationData.nextFlipperTitle}" @click="${(e,t)=>e.footerData.paginationData.onFlipperClick(!0,t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.footerData.paginationData.onFlipperClick(!0,t.event):null}" data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(r=null===(o=null==i?void 0:i.telemetryContext)||void 0===o?void 0:o.previousFlipper)||void 0===r?void 0:r.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"nextslidearrow",action:a.Aw.Click,behavior:a.wu.Paginate,type:a.c9.ActionButton}).getMetadataTag();var t,i,o,r,n}}">${d()}</fluent-button>`,h=o.d`<div class="flipper-content" tabindex="-1">${e=>e.footerData.paginationData.pageCount>1?e.footerData.paginationData.currentPageIndex+"/"+e.footerData.paginationData.pageCount:""}</div>`,p=o.d`<fluent-anchor class="footer-link" appearance=${e=>e.cardFillColor?"stealth":"lightweight"} aria-label=${e=>e.footerData.footerLink.text} href=${e=>e.footerData.footerLink.navigationUrl} target="_blank" title=${e=>e.footerData.footerLink.text} data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(r=null===(o=null==i?void 0:i.telemetryContext)||void 0===o?void 0:o.footerLink)||void 0===r?void 0:r.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"seemorelink",action:a.Aw.Click,behavior:a.wu.Navigate,type:a.c9.Footer}).getMetadataTag();var t,i,o,r,n}}">${e=>e.footerData.footerLink.text}</fluent-anchor>`,g=o.d`<fluent-button part="footer-button" class="footer" appearance="neutral" aria-label=${e=>e.footerData.footerButton.text} @click=${e=>e.footerData.footerButton.ctaClick&&e.footerData.footerButton.ctaClick()} title=${e=>e.footerData.footerButton.text} data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(r=null===(o=null==i?void 0:i.telemetryContext)||void 0===o?void 0:o.footerButton)||void 0===r?void 0:r.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"actionbutton",action:a.Aw.Click,behavior:a.wu.Click,type:a.c9.ActionButton}).getMetadataTag();var t,i,o,r,n}}">${e=>e.footerData.footerButton.text}</fluent-button>`,C=o.d` ${(0,r.g)((e=>e.footerData),o.d`<cs-sd-card-footer slot="footer" data-t="${e=>{return null==(t=e.parentTelemetryObject)?void 0:t.addOrUpdateChild({name:"footer"}).getMetadataTag();var t}}">${(0,r.g)((e=>e.footerData.paginationData),o.d`<div slot="pagination" class="pagination-container" part="pagination-container">${c} ${h} ${u}</div>`)} ${(0,r.g)((e=>e.footerData.footerLink),p)} ${(0,r.g)((e=>e.footerData.footerButton),g)}</cs-sd-card-footer>`)}`;var v=i(33940),f=i(80598),m=i(87697);class b extends f.E{connectedCallback(){super.connectedCallback(),this.setPartAttributes()}setPartAttributes(){this.sdCard=this.shadowRoot.querySelector("cs-sd-card"),this.sdCard&&(this.sdCardHeader=this.sdCard.querySelector("cs-sd-header").shadowRoot.querySelector("cs-sd-card-header"),this.sdCard.addEventListener("mouseover",(()=>{this.sdCardHeader.showMenuButton=!0})),this.sdCard.addEventListener("focus",(()=>{this.sdCardHeader.showMenuButton=!0})),this.sdCard.addEventListener("mouseout",(()=>{this.sdCardHeader.showMenuButton=!1})))}}(0,v.gn)([m.LO],b.prototype,"cardClickTelemetryTag",void 0),(0,v.gn)([m.LO],b.prototype,"contentCardTelemetryTag",void 0),(0,v.gn)([m.LO],b.prototype,"sdCardTelemetryContext",void 0),(0,v.gn)([m.LO],b.prototype,"data",void 0);var y=i(61671),w=i(22674),L=i(53046);const x=L.i``,$=L.i` .flipper{transform:rotateY(180deg)}`,k=L.i` .flipper{background:transparent;min-width:auto;height:24px;border-radius:100%}.flipper:hover{background:rgba(0,0,0,0.04)}.flipper-content{padding-left:4px;padding-right:4px}.flipper svg{height:12px;width:12px}.footer-link{background:transparent}.footer-link::part(control){padding:0}.pagination-container{display:grid;grid-template-columns:24px auto 24px;align-items:center}`.withBehaviors(new w.O(x,$));var M=i(32804);const T=L.i` :host{--layer-corner-radius:8}${y.x}
    ${k} .card-link{text-decoration:none}:host{position:relative;display:grid;width:calc((var(--card-base-width) * 1px) + 2px);height:calc(((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px)) + 2px)}cs-interest-manager{position:absolute;top:0;z-index:3}cs-sd-card{border-radius:var(--sd-card-border-radius,calc(${M.rSr} * 1px))}cs-sd-card::part(content){z-index:2}cs-sd-card[size="_1x_3y"]{height:calc(((var(--card-base-height) * 3px) + (var(--card-base-gap) * 1px)) + 2px)}::slotted([slot="content"]){height:100%}`;var O=i(18864);const S=b.compose({baseName:"core-sd-card",styles:T,template:(e,t)=>{var i,n;return o.d`${(0,r.g)((e=>e.data),o.d`${(0,O.rx)((e=>[e.data]),o.d`<div data-t="${e=>((e,t)=>{var i,o;return null!==(o=null===(i=null==t?void 0:t.contentCard)||void 0===i?void 0:i.getMetadataTag())&&void 0!==o?o:null==e?void 0:e.addOrUpdateChild({name:"SuperSDCard",type:a.c9.ContentCard}).getMetadataTag()})(e.parentTelemetryObject,e.telemetryContext)}"><cs-sd-card size="${e=>e.cardSize}" card-fill-color="${e=>e.cardFillColor}" ?immersive-card="${e=>e.immersiveCard}" target=${e=>{var t,i;return null!==(t=e.target)&&void 0!==t?t:null===(i=e.headerData)||void 0===i?void 0:i.titleNavigationLink}} tabindex="0" part="cs-sd-card">${(0,r.g)((e=>e.immersiveCard&&e.imageData),o.d`<img slot="image" alt=${e=>e.imageData.altText} src=${e=>e.imageData.source}/>`)} ${t.header instanceof Function?t.header(e,t):null!==(i=t.header)&&void 0!==i?i:""}<slot name="content"></slot>${t.footer instanceof Function?t.footer(e,t):null!==(n=t.footer)&&void 0!==n?n:""}</cs-sd-card>${(0,r.g)((e=>e.interestManagerData),o.d`<cs-interest-manager :interestManagerData="${e=>e.interestManagerData}" :parentTelemetryObject=${e=>e.parentTelemetryObject}></cs-interest-manager>`)}</div>`)}
`)}`},header:o.d`<cs-sd-header
                    slot="header"                 
                    :headerData="${e=>e.headerData}"
                    :parentTelemetryObject="${e=>e.parentTelemetryObject}"
                ></cs-sd-header>`,footer:o.d`${C}`})},9555:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M2.15 4.65c.2-.2.5-.2.7 0L6 7.79l3.15-3.14a.5.5 0 11.7.7l-3.5 3.5a.5.5 0 01-.7 0l-3.5-3.5a.5.5 0 010-.7z"></path></svg>'},3181:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M7.35 2.15c.2.2.2.5 0 .7L4.21 6l3.14 3.15a.5.5 0 11-.7.7l-3.5-3.5a.5.5 0 010-.7l3.5-3.5c.2-.2.5-.2.7 0z"></path></svg>'},24201:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>'},26785:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.85 2.15a.5.5 0 10-.7.7l3.5 3.5a8.1 8.1 0 00-3.37 5.05.5.5 0 10.98.2 7.09 7.09 0 013.1-4.53l1.6 1.59a3.5 3.5 0 104.88 4.89l4.3 4.3a.5.5 0 00.71-.7l-15-15zm9.27 10.68a2.5 2.5 0 11-3.45-3.45l3.45 3.45zm-2-4.83l3.38 3.38A3.5 3.5 0 0010.12 8zM10 6c-.57 0-1.13.07-1.67.21l-.8-.8A7.65 7.65 0 0110 5c3.7 0 6.94 2.67 7.72 6.4a.5.5 0 01-.98.2A6.97 6.97 0 0010 6z"></path></svg>'},50367:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 7c.28 0 .5.22.5.5v3a.5.5 0 01-1 0v-3c0-.28.22-.5.5-.5zm0-.75a.75.75 0 100-1.5.75.75 0 000 1.5zM2 8a6 6 0 1112 0A6 6 0 012 8zm6-5a5 5 0 100 10A5 5 0 008 3z"></path></svg>'},55096:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.91 7.38A8.5 8.5 0 013.69 4.3a.5.5 0 01.54-.13l1.92.68a1 1 0 001.32-.76l.36-2a.5.5 0 01.4-.4 8.53 8.53 0 013.55 0c.2.04.35.2.38.4l.37 2a1 1 0 001.32.76l1.92-.68a.5.5 0 01.54.13 8.5 8.5 0 011.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 000 1.52l1.56 1.32a.5.5 0 01.15.54 8.5 8.5 0 01-1.78 3.08.5.5 0 01-.54.13l-1.92-.68a1 1 0 00-1.32.76l-.37 2a.5.5 0 01-.38.4 8.53 8.53 0 01-3.56 0 .5.5 0 01-.39-.4l-.36-2a1 1 0 00-1.32-.76l-1.92.68a.5.5 0 01-.54-.13 8.5 8.5 0 01-1.78-3.08.5.5 0 01.15-.54l1.56-1.32a1 1 0 000-1.52L2.06 7.92a.5.5 0 01-.15-.54zm1.06 0l1.3 1.1a2 2 0 010 3.04l-1.3 1.1c.3.79.71 1.51 1.25 2.16l1.6-.58a2 2 0 012.63 1.53l.3 1.67a7.56 7.56 0 002.5 0l.3-1.67a2 2 0 012.64-1.53l1.6.58a7.5 7.5 0 001.24-2.16l-1.3-1.1a2 2 0 010-3.04l1.3-1.1a7.5 7.5 0 00-1.25-2.16l-1.6.58a2 2 0 01-2.63-1.53l-.3-1.67a7.55 7.55 0 00-2.5 0l-.3 1.67A2 2 0 015.81 5.8l-1.6-.58a7.5 7.5 0 00-1.24 2.16zM7.5 10a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0zm1 0a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0z"></path></svg>'},87055:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.1 2.9a1 1 0 011.8 0l1.93 3.91 4.31.63a1 1 0 01.56 1.7l-.55.54a5.46 5.46 0 00-1-.43l.85-.82-4.32-.63a1 1 0 01-.75-.55L10 3.35l-1.93 3.9a1 1 0 01-.75.55L3 8.43l3.12 3.04a1 1 0 01.3.89l-.75 4.3 3.35-1.76c.02.36.08.7.17 1.04l-3.05 1.6a1 1 0 01-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 01.56-1.7l4.31-.63L9.1 2.9zM19 14.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm-4-2a.5.5 0 00-1 0V14h-1.5a.5.5 0 100 1H14v1.5a.5.5 0 101 0V15h1.5a.5.5 0 100-1H15v-1.5z"></path></svg>'},72653:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.9 2.9a1 1 0 00-1.8 0L7.17 6.8l-4.31.63a1 1 0 00-.56 1.7l3.13 3.05-.74 4.3a1 1 0 001.45 1.05l3.05-1.6a5.49 5.49 0 01-.18-1.04l-3.34 1.76.74-4.3a1 1 0 00-.29-.89L3 8.43l4.32-.63a1 1 0 00.75-.55L10 3.35l1.93 3.9c.15.3.43.5.75.55l4.32.63-.85.82c.35.11.69.26 1 .43l.55-.54a1 1 0 00-.56-1.7l-4.31-.63L10.9 2.9zm-.27 11.02a2 2 0 001.44-2.48l-.16-.55c.25-.2.53-.37.82-.5l.34.36a2 2 0 002.9 0l.33-.35c.3.14.58.32.84.52l-.13.42a2 2 0 001.46 2.52l.35.09a4.7 4.7 0 010 1.01l-.45.12a2 2 0 00-1.43 2.48l.15.55c-.25.2-.53.37-.82.5l-.34-.36a2 2 0 00-2.9 0l-.33.35c-.3-.14-.58-.32-.84-.52l.13-.42a2 2 0 00-1.46-2.52l-.35-.09a4.71 4.71 0 010-1.01l.45-.12zm4.87.58a1 1 0 10-2 0 1 1 0 002 0z"></path></svg>'},27447:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var a=i(33940),o=i(32804),r=i(78125),n=i(33978),s=i(65130),l=i(65620),d=i(68250);class c extends s.Z{constructor(){super(...arguments),this.size=d.Id._1x_2y}cardFillColorChanged(e,t){this.isDarkCardGradient()?o.q2d.setValueFor(this,r.h.DarkMode):this.isLightCardGradient()?o.q2d.setValueFor(this,r.h.LightMode):o.q2d.deleteValueFor(this)}isDarkCardGradient(){return Object.values(d.Gi).includes(this.cardFillColor)}isLightCardGradient(){return Object.values(d.iV).includes(this.cardFillColor)}isNamedGradientFillColor(){return this.isLightCardGradient()||this.isDarkCardGradient()}connectedCallback(){super.connectedCallback(),o.Ats.setValueFor(this,{evaluate:(e,t)=>(0,n.P)(o.yvm.getValueFor(e),t||o.IfY.getValueFor(e),-1,1,0,0,void 0,2,3,1,2,void 0)})}}(0,a.gn)([(0,l.Lj)({attribute:"card-fill-color"}),(0,a.w6)("design:type",Object)],c.prototype,"cardFillColor",void 0),(0,a.gn)([l.Lj,(0,a.w6)("design:type",String)],c.prototype,"size",void 0)},68250:function(e,t,i){"use strict";i.d(t,{Gi:function(){return o},Id:function(){return a},iV:function(){return r}});const a={_1x_1y:"_1x_1y",_1x_2y:"_1x_2y",_2x_2y:"_2x_2y",_2x_1y:"_2x_1y"},o={DarkPlum:"dark-plum",DarkDesert:"dark-desert",DarkDawn:"dark-dawn",DarkSea:"dark-sea",DarkOrange:"dark-orange",DarkTropic:"dark-tropic",DarkMerlot:"dark-merlot",DarkPurple:"dark-purple",DarkGreen:"dark-green"},r={LightBlue:"light-blue",LightPurple:"light-purple",LightSky:"light-sky",LightPink:"light-pink",LightYellow:"light-yellow",LightBluebird:"light-bluebird",LightOrange:"light-orange",LightAqua:"light-aqua",LightGreen:"light-green"}},64799:function(e,t,i){"use strict";i.d(t,{$f:function(){return u},F:function(){return f},RR:function(){return h},di:function(){return c},hl:function(){return v},sQ:function(){return C},yp:function(){return g}});var a=i(32804),o=i(78125),r=i(98648),n=i(53046),s=i(67020),l=i(40082),d=i(87839);const c=r.L.create("card-base-height").withDefault(146),u=r.L.create("card-base-width").withDefault(300),h=r.L.create("card-base-gap").withDefault(12),p=r.L.create("card-stroke-color");p.withDefault((e=>a.q2d.getValueFor(e)===o.h.DarkMode?"rgba(0,0,0,0.1)":"rgba(0,0,0,0.0578)"));const g=n.i`
    :host([size][card-fill-color="light-blue"]) {
        background: linear-gradient(140.53deg, #f0e1f7 9.32%, #cddfff 58.45%);
    }

    :host([size][card-fill-color="light-purple"]) {
        background: linear-gradient(139.03deg, #ffe9e1 5.05%, #f0e1f7 51.71%);
    }

    :host([size][card-fill-color="light-sky"]) {
        background: linear-gradient(140.53deg, #f5f7e1 9.32%, #cdf0ff 58.45%);
    }

    :host([size][card-fill-color="light-pink"]) {
        background: linear-gradient(139.03deg, #fff1cd 5.05%, #ffe8ed 51.71%);
    }

    :host([size][card-fill-color="light-yellow"]) {
        background: linear-gradient(140.53deg, #fffedc 9.32%, #fff4d7 58.45%);
    }

    :host([size][card-fill-color="light-bluebird"]) {
        background: linear-gradient(139.03deg, #e1e6f8 5.05%, #ebfefb 51.71%);
    }

    :host([size][card-fill-color="light-orange"]) {
        background: linear-gradient(140.56deg, #f0e1f7 5.42%, #ffe9e1 51.68%);
    }

    :host([size][card-fill-color="light-aqua"]) {
        background: linear-gradient(140.56deg, #cef9ff 5.42%, #e3f9f3 51.68%);
    }

    :host([size][card-fill-color="light-green"]) {
        background: linear-gradient(140.56deg, #fffee9 5.42%, #d0f0e1 51.68%);
    }

    :host([size][card-fill-color="dark-plum"]) {
        background: linear-gradient(138.52deg, #512c2c -1.32%, #252c4e 85.77%);
    }

    :host([size][card-fill-color="dark-desert"]) {
        background: linear-gradient(138.25deg, #553f2b -1.2%, #372d54 84.27%);
    }

    :host([size][card-fill-color="dark-dawn"]) {
        background: linear-gradient(140.02deg, #58314f -2.33%, #29203c 84.75%);
    }

    :host([size][card-fill-color="dark-sea"]) {
        background: linear-gradient(138.52deg, #264b50 0.44%, #292448 85.15%);
    }

    :host([size][card-fill-color="dark-orange"]) {
        background: linear-gradient(140.69deg, #514c28 -7.13%, #482b24 87.33%);
    }

    :host([size][card-fill-color="dark-tropic"]) {
        background: linear-gradient(140.08deg, #0b4b4f 1.27%, #39371e 85.21%);
    }

    :host([size][card-fill-color="dark-merlot"]) {
        background: linear-gradient(140.02deg, #5c452f -2.33%, #3a1b26 84.75%);
    }

    :host([size][card-fill-color="dark-purple"]) {
        background: linear-gradient(140.02deg, #283266 -2.33%, #351740 84.75%);
    }

    :host([size][card-fill-color="dark-green"]) {
        background: linear-gradient(138.44deg, #57511f 0.35%, #17352f 83.81%);
    }
`,C=n.i`
    ${(0,s.j)("flex")} :host {
        background: ${a.IfY};
        border: calc(${a.Han} * 1px) solid ${p};
        background-clip: padding-box;
        border-radius: calc(${a.rSr} * 1px);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        color: ${a.CHi};
        contain: content;
        content-visibility: auto;
        outline-offset: 1px;
    }

    :host(:hover) {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.14);
    }

    @media (prefers-color-scheme: dark) {
        :host(:hover) {
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.26);
        }
    }

    :host([size="_1x_1y"]) {
        width: calc((${u} * 1px) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

    :host([size="_1x_2y"]) {
        width: calc((${u} * 1px) + 2px);
        height: calc(((${c} * 2px) + (${h} * 1px)) + 2px);
    }

    :host([size="_2x_2y"]) {
        width: calc(((${u} * 2px) + (${h} * 1px)) + 2px);
        height: calc(((${c} * 2px) + (${h} * 1px)) + 2px);
    }

    :host([size="_2x_1y"]) {
        width: calc(((${u} * 2px) + (${h} * 1px)) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

    ::slotted(*) {
        color: inherit;
    }
`,v=(0,l.vF)(n.i`
            :host {
                background: ${d.H.Canvas};
                color: ${d.H.CanvasText};
            }
        `),f=(e,t)=>n.i`
        ${C}
        ${g}

        :host([card-secondary-color]) {
            background: linear-gradient(
                var(--gradient-angle),
                var(--gradient-start-color) 35.59%,
                var(--gradient-end-color) 100%
            );
            background-clip: padding-box;
        }
    `.withBehaviors(v)},38247:function(e,t,i){"use strict";i.d(t,{QT:function(){return u}});var a=i(33940),o=i(28090),r=i(65620),n=i(45169),s=i(53046),l=i(45597),d=i(82636);class c extends o.e{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,a.gn)([r.Lj,(0,a.w6)("design:type",String)],c.prototype,"appearance",void 0);const u=c.compose({baseName:"anchor",baseClass:o.e,template:n.g,styles:(e,t)=>s.i`
        ${(0,l.vN)(e,t)}
    `.withBehaviors((0,d.H)("accent",l.jQ),(0,d.H)("hypertext",l.Xu),(0,d.H)("lightweight",l.vt),(0,d.H)("outline",l.O8),(0,d.H)("stealth",l.cg)),shadowOptions:{delegatesFocus:!0}})},77193:function(e,t,i){"use strict";i.d(t,{G8:function(){return g},WE:function(){return p}});var a=i(33940),o=i(84742),r=i(12968),n=i(65620),s=i(20104),l=i(53046),d=i(67020),c=i(32804);const u=(e,t)=>l.i`
        ${(0,d.j)("inline-block")} :host {
            box-sizing: border-box;
            font-family: ${c.SVJ};
            font-size: ${c.sNp};
            line-height: ${c.vgC};
        }

        .control {
            border-radius: calc(${c.UWU} * 1px);
            padding: calc(((${c._5n} * 0.5) - ${c.Han}) * 1px)
                calc((${c._5n} - ${c.Han}) * 1px);
            border: calc(${c.Han} * 1px) solid transparent;
        }

        :host(.lightweight) .control {
            background: transparent;
            color: ${c.CHi};
            font-weight: 600;
        }

        :host(.accent) .control {
            background: ${c.Avx};
            color: ${c.w41};
        }

        :host(.neutral) .control {
            background: ${c.wFS};
            color: ${c.CHi};
        }
    `;class h extends o.C{constructor(){super(...arguments),this.appearance="lightweight"}appearanceChanged(e,t){e!==t&&r.SO.queueUpdate((()=>{this.classList.add(t),this.classList.remove(e)}))}}(0,a.gn)([(0,n.Lj)({mode:"fromView"}),(0,a.w6)("design:type",String)],h.prototype,"appearance",void 0);const p=h.compose({baseName:"badge",baseClass:o.C,template:s.Z,styles:u}),g=u},39391:function(e,t,i){"use strict";i.d(t,{xg:function(){return x}});var a=i(20005),o=i(65620),r=i(87697),n=i(36153),s=i(82500),l=i(48839);class d extends l.I{}class c extends((0,s.V2)(d)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class u extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{switch(e.key){case n.kL:case n.BI:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}(0,a.gn)([(0,o.Lj)({attribute:"readonly",mode:"boolean"})],u.prototype,"readOnly",void 0),(0,a.gn)([r.LO],u.prototype,"defaultSlottedNodes",void 0);var h=i(39181),p=i(90960);var g=i(53046),C=i(67020),v=i(37139),f=i(56201),m=i(40082),b=i(87839),y=i(2658),w=i(22674),L=i(32804);const x=u.compose({baseName:"switch",template:(e,t)=>h.d`
    <template
        role="switch"
        aria-checked="${e=>e.checked}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        tabindex="${e=>e.disabled?null:0}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        class="${e=>e.checked?"checked":""}"
    >
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,p.Q)("defaultSlottedNodes")}></slot>
        </label>
        <div part="switch" class="switch">
            <slot name="switch">${t.switch||""}</slot>
        </div>
        <span class="status-message" part="status-message">
            <span class="checked-message" part="checked-message">
                <slot name="checked-message"></slot>
            </span>
            <span class="unchecked-message" part="unchecked-message">
                <slot name="unchecked-message"></slot>
            </span>
        </span>
    </template>
`,styles:(e,t)=>g.i`
        :host([hidden]) {
            display: none;
        }

        ${(0,C.j)("inline-flex")} :host {
            align-items: center;
            outline: none;
            font-family: ${L.SVJ};
            margin: calc(${L._5n} * 1px) 0;
            ${""} user-select: none;
        }

        :host(.disabled) {
            opacity: ${L.VFZ};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .switch,
        :host(.disabled) .switch {
            cursor: ${v.H};
        }

        .switch {
            position: relative;
            outline: none;
            box-sizing: border-box;
            width: calc(((${y.i} / 2) + ${L._5n}) * 2px);
            height: calc(((${y.i} / 2) + ${L._5n}) * 1px);
            background: ${L._Bj};
            border-radius: calc(${y.i} * 1px);
            border: calc(${L.Han} * 1px) solid ${L.rU8};
        }

        :host(:enabled) .switch:hover {
            background: ${L.Tm7};
            border-color: ${L.gKw};
            cursor: pointer;
        }

        :host(:enabled) .switch:active {
            background: ${L.Ium};
            border-color: ${L.ekh};
        }

        :host(:${f.b}) .switch {
            box-shadow: 0 0 0 2px ${L.IfY}, 0 0 0 4px ${L.yGg};
            border-color: ${L.yGg};
        }

        .checked-indicator {
            position: absolute;
            height: calc((${y.i} - (${L._5n} * 5.5)) * 1px);
            width: calc((${y.i} - (${L._5n} * 5.5)) * 1px);
            top: calc(${L._5n} * 1px);
            background: ${L.CHi};
            border-radius: 50%;
            transition: all 0.2s ease-in-out;
        }

        .status-message {
            color: ${L.CHi};
            cursor: pointer;
            font-size: ${L.cSu};
            line-height: ${L.RUt};
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            color: ${L.CHi};
            font-size: ${L.cSu};
            line-height: ${L.RUt};
            margin-inline-end: calc(${L._5n} * 2px + 2px);
            cursor: pointer;
        }

        ::slotted(*) {
            ${""} margin-inline-start: calc(${L._5n} * 2px + 2px);
        }

        :host([aria-checked="true"]) .checked-indicator {
            background: ${L.w41};
        }

        :host([aria-checked="true"]) .switch {
            background: ${L.Avx};
        }

        :host([aria-checked="true"]:enabled) .switch:hover {
            background: ${L.OCG};
        }

        :host([aria-checked="true"]:enabled) .switch:hover .checked-indicator {
            background: ${L.lJV};
        }

        :host([aria-checked="true"]:enabled) .switch:active {
            background: ${L.UEO};
        }

        :host([aria-checked="true"]:enabled) .switch:active .checked-indicator {
            background: ${L.PpH};
        }

        :host([aria-checked="true"]:${f.b}:enabled) .switch {
            box-shadow: 0 0 0 2px ${L.IfY}, 0 0 0 4px ${L.yGg};
            border-color: transparent;
        }

        .unchecked-message {
            display: block;
        }

        .checked-message {
            display: none;
        }

        :host([aria-checked="true"]) .unchecked-message {
            display: none;
        }

        :host([aria-checked="true"]) .checked-message {
            display: block;
        }
    `.withBehaviors(new w.O(g.i`
                .checked-indicator {
                    left: calc(${L._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    left: calc(
                        (((${y.i} / 2) + ${L._5n}) + ${L._5n}) * 1px
                    );
                }
            `,g.i`
                .checked-indicator {
                    right: calc(${L._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    right: calc(
                        (((${y.i} / 2) + ${L._5n}) + ${L._5n}) * 1px
                    );
                }
            `),(0,m.vF)(g.i`
                .checked-indicator,
                :host(:enabled) .switch:active .checked-indicator {
                    forced-color-adjust: none;
                    background: ${b.H.FieldText};
                }
                .switch {
                    forced-color-adjust: none;
                    background: ${b.H.Field};
                    border-color: ${b.H.FieldText};
                }
                :host(:enabled) .switch:hover {
                    background: ${b.H.HighlightText};
                    border-color: ${b.H.Highlight};
                }
                :host(.checked) .switch {
                    background: ${b.H.Highlight};
                    border-color: ${b.H.Highlight};
                }
                :host(.checked:enabled) .switch:hover,
                :host(:enabled) .switch:active {
                    background: ${b.H.HighlightText};
                    border-color: ${b.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${b.H.HighlightText};
                }
                :host(.checked:enabled) .switch:hover .checked-indicator {
                    background: ${b.H.Highlight};
                }
                :host(:${f.b}) .switch {
                    border-color: ${b.H.Highlight};
                    box-shadow: 0 0 0 2px ${b.H.Field},
                        0 0 0 4px ${b.H.FieldText};
                }
                :host(.checked:${f.b}:enabled) .switch {
                    box-shadow: 0 0 0 2px ${b.H.Field},
                        0 0 0 4px ${b.H.FieldText};
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled) .checked-indicator {
                    background: ${b.H.GrayText};
                }
                :host(.disabled) .switch {
                    background: ${b.H.Field};
                    border-color: ${b.H.GrayText};
                }
                .status-message,
                .label {
                    color: ${b.H.FieldText};
                }
            `)),switch:'\n    <span class="checked-indicator" part="checked-indicator"></span>\n  '})},77615:function(e,t,i){"use strict";i.d(t,{D:function(){return o}});var a=i(57905);function o(e){return a.K.getOrCreate(e).withPrefix("cs")}},46631:function(e,t,i){"use strict";i.d(t,{QZ:function(){return h}});var a=i(48839);class o extends a.I{}var r=i(39181);var n=i(32804),s=i(2658),l=i(53046),d=i(67020),c=i(40082),u=i(87839);const h=o.compose({baseName:"sd-card-footer",template:(e,t)=>r.d`
    <slot name="pagination">
        ${t.pagination instanceof Function?t.pagination(e,t):t.pagination??""}
    </slot>
    <slot></slot>
`,styles:(e,t)=>l.i`
        ${(0,d.j)("flex")} :host {
            padding: 0 16px;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            font-family: ${n.SVJ};
            font-size: ${n.sNp};
            line-height: ${n.vgC};
            color: ${n.CHi};
            height: calc(${s.i} * 1px);
        }

        ::slotted(fluent-anchor),
        ::slotted(fluent-button) {
            font-size: ${n.sNp};
            line-height: ${n.vgC};
            height: calc((${s.i} - 8) * 1px);
            min-height: calc((${s.i} - 8) * 1px);
            --control-corner-radius: 14;
        }

        /* Ensure neutral buttons have a stroke per the design */
        ::slotted(fluent-button[appearance="neutral"]),
        ::slotted(fluent-anchor[appearance="neutral"]) {
            border: 1px solid ${n.akT};
        }

        ::slotted(fluent-button[appearance="neutral"]:hover),
        ::slotted(fluent-anchor[appearance="neutral"]:hover) {
            border-color: ${n.QPc};
        }

        ::slotted(fluent-button[appearance="neutral"]:active),
        ::slotted(fluent-anchor[appearance="neutral"]:active) {
            border-color: ${n.c1L};
        }

        ::slotted(fluent-anchor),
        ::slotted(fluent-button),
        ::slotted([slot="pagination"]) {
            z-index: ${n.kcg};
        }

        ::slotted([slot="pagination"]) {
            margin-inline-end: auto;
        }
    `.withBehaviors((0,c.vF)(l.i`
                :host {
                    color: ${u.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},10326:function(e,t,i){"use strict";i.d(t,{RM:function(){return u}});var a=i(81707),o=i(39181);var r=i(32804),n=i(2658),s=i(53046),l=i(67020),d=i(40082),c=i(87839);const u=a.m.compose({baseName:"sd-card-header",template:(e,t)=>o.d`
    <slot name="icon">
        ${t.icon instanceof Function?t.icon(e,t):t.icon??""}
    </slot>
    <a
        id="title"
        class="title"
        part="title"
        href="${e=>e.href?e.href:void 0}"
        target="${e=>e.target?e.target:void 0}"
        data-t="${e=>e.anchorTelemetryTag}"
        @click=${(e,t)=>e.handleSDCardLinkClick(t.event)}
    >
        <slot></slot>
    </a>
    <slot name="menu-button">
        ${t.menuButton instanceof Function?t.menuButton(e,t):t.menuButton??""}
    </slot>
    <div part="more-actions" class="more-actions">
        <slot name="more-actions">
            ${t.moreActions instanceof Function?t.moreActions(e,t):t.moreActions??""}
        </slot>
    </div>
`,styles:(e,t)=>s.i`
        ${(0,l.j)("grid")} :host {
            align-items: center;
            box-sizing: border-box;
            font-family: ${r.SVJ};
            font-size: ${r.sNp};
            line-height: ${r.vgC};
            color: ${r.CHi};
            height: calc((${n.i} + 16) * 1px);
            padding: 0 var(--sd-card-header-padding-inline, 16px);
            grid-template-columns: auto auto 1fr auto;
        }

        ::slotted([slot="icon"]) {
            margin-inline-end: 8px;
        }

        .title {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            color: ${r.CHi};
            outline: 0;
            fill: currentcolor;
            text-decoration: none;
        }

        .title:after {
            bottom: 0;
            content: "";
            height: 100%;
            left: 0;
            position: absolute;
            right: 0;
            width: 100%;
            z-index: ${r.lr};
        }

        ::slotted([slot="menu-button"]) {
            height: calc((${n.i} - 8) * 1px);
            min-height: calc((${n.i} - 8) * 1px);
            min-width: var(--sd-card-header-menu-button-width, 20px);
            width: var(--sd-card-header-menu-button-width, 20px);
            opacity: 0;
            display: none;
            margin-inline-start: 4px;
            ${""}
            --control-corner-radius: 4;
            background-color: transparent;
        }

        :host([show-menu-button]) ::slotted([slot="menu-button"]) {
            opacity: 1;
            display: flex;
        }

        .more-actions {
            margin-inline-start: auto;
            display: grid;
            grid-gap: 4px;
            grid-auto-flow: column;
            padding-inline-start: 12px;
        }

        ::slotted([slot="menu-button"]),
        ::slotted([slot="more-actions"]) {
            z-index: ${r.kcg};
        }

        ::slotted([slot="more-actions"]) {
            font-size: ${r.sNp};
            line-height: ${r.vgC};
            height: calc((${n.i} - 4) * 1px);
            min-height: calc((${n.i} - 4) * 1px);
            min-width: calc((${n.i} - 4) * 1px);
            --control-corner-radius: 999;
            background: transparent;
        }

        ::slotted([slot="more-actions"]:hover),
        ::slotted([slot="menu-button"]:hover) {
            background-color: ${r.QpD};
        }

        ::slotted([slot="more-actions"]:active),
        ::slotted([slot="menu-button"]:active) {
            background-color: ${r.sG3};
        }
    `.withBehaviors((0,d.vF)(s.i`
                :host {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},81707:function(e,t,i){"use strict";i.d(t,{m:function(){return s}});var a=i(33940),o=i(48839),r=i(65620),n=i(87697);class s extends o.I{constructor(){super(...arguments),this.showMenuButton=!1,this.target="_blank"}handleSDCardLinkClick(e){return this.$emit("link-invoked",e),!0}}(0,a.gn)([(0,r.Lj)({attribute:"show-menu-button",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],s.prototype,"showMenuButton",void 0),(0,a.gn)([r.Lj,(0,a.w6)("design:type",Object)],s.prototype,"href",void 0),(0,a.gn)([r.Lj,(0,a.w6)("design:type",String)],s.prototype,"target",void 0),(0,a.gn)([n.LO,(0,a.w6)("design:type",String)],s.prototype,"anchorTelemetryTag",void 0)},73323:function(e,t,i){"use strict";i.d(t,{l7:function(){return n}});var a=i(80598),o=i(39181);var r=i(95201);const n=a.E.compose({baseName:"sd-card",template:(e,t)=>o.d`
    <slot name="image"></slot>
    <div part="header-overlay" class="header-overlay"></div>
    <slot name="header">
        ${t.header instanceof Function?t.header(e,t):t.header??""}
    </slot>
    <div part="gradient" class="gradient"></div>
    <div part="content" class="content">
        <slot></slot>
    </div>
    <div part="footer-overlay" class="footer-overlay"></div>
    <slot name="footer">
        ${t.footer instanceof Function?t.footer(e,t):t.footer??""}
    </slot>
`,styles:r.Q})},80598:function(e,t,i){"use strict";i.d(t,{E:function(){return n}});var a=i(33940),o=i(27447),r=i(65620);class n extends o.Z{constructor(){super(...arguments),this.immersiveCard=!1}}(0,a.gn)([(0,r.Lj)({attribute:"immersive-card",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],n.prototype,"immersiveCard",void 0)},95201:function(e,t,i){"use strict";i.d(t,{Q:function(){return l},U:function(){return s}});var a=i(53046),o=i(67020),r=i(64799),n=i(32804);const s=a.j`position: relative; z-index: ${n.kcg};`,l=(e,t)=>a.i`
        ${r.sQ}
        ${r.yp}

        ${(0,o.j)("grid")} :host {
            grid-template-rows: auto 1fr minMax(16px, auto);
            ${s}
        }

        .content {
            padding: 0 var(--sd-card-content-padding-inline, 16px);
        }

        ::slotted([slot="header"]) {
            grid-row: 1;
        }
        ::slotted([slot="footer"]) {
            grid-row: 3;
        }

        ::slotted([slot="image"]) {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        /* Ensure neutral buttons have a stroke per the design */
        ::slotted(fluent-button[appearance="neutral"]),
        ::slotted(fluent-anchor[appearance="neutral"]) {
            border: 1px solid ${n.akT};
        }

        ::slotted(fluent-button[appearance="neutral"]:hover),
        ::slotted(fluent-anchor[appearance="neutral"]:hover) {
            border-color: ${n.QPc};
        }

        ::slotted(fluent-button[appearance="neutral"]:active),
        ::slotted(fluent-anchor[appearance="neutral"]:active) {
            border-color: ${n.c1L};
        }

        .header-overlay,
        .footer-overlay {
            position: absolute;
            background: rgba(255, 255, 255, 0.46);
            height: 100%;
            width: 100%;
            opacity: 0;
        }

        .header-overlay {
            grid-row: 1 / span 1;
        }

        .footer-overlay {
            grid-row: 3 / span 1;
        }

        .gradient {
            position: absolute;
            grid-row: 2 / span 1;
            height: 100%;
            width: 100%;
            opacity: 0;
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.46) 0%,
                rgba(255, 255, 255, 0) 22%,
                rgba(255, 255, 255, 0) 86%,
                rgba(255, 255, 255, 0.46) 100%
            );
        }

        @media (prefers-color-scheme: dark) {
            .header-overlay,
            .footer-overlay {
                background: rgba(0, 0, 0, 0.54);
            }

            .gradient {
                background: linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.54) 0%,
                    rgba(0, 0, 0, 0) 22%,
                    rgba(0, 0, 0, 0) 86%,
                    rgba(0, 0, 0, 0.54) 100%
                );
            }
        }

        :host([immersive-card]) .header-overlay,
        :host([immersive-card]) .footer-overlay,
        :host([immersive-card]) .gradient {
            opacity: 1;
        }
    `.withBehaviors(r.hl)},28090:function(e,t,i){"use strict";i.d(t,{e:function(){return c},m:function(){return u}});var a=i(20005),o=i(65620),r=i(87697),n=i(48839),s=i(7775),l=i(51208),d=i(86076);class c extends n.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,a.gn)([o.Lj],c.prototype,"download",void 0),(0,a.gn)([o.Lj],c.prototype,"href",void 0),(0,a.gn)([o.Lj],c.prototype,"hreflang",void 0),(0,a.gn)([o.Lj],c.prototype,"ping",void 0),(0,a.gn)([o.Lj],c.prototype,"referrerpolicy",void 0),(0,a.gn)([o.Lj],c.prototype,"rel",void 0),(0,a.gn)([o.Lj],c.prototype,"target",void 0),(0,a.gn)([o.Lj],c.prototype,"type",void 0),(0,a.gn)([r.LO],c.prototype,"defaultSlottedContent",void 0);class u{}(0,a.gn)([(0,o.Lj)({attribute:"aria-expanded"})],u.prototype,"ariaExpanded",void 0),(0,d.e)(u,s.v),(0,d.e)(c,l.hW,u)},45169:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var a=i(39181),o=i(58952),r=i(90960),n=i(51208);const s=(e,t)=>a.d`
    <a
        class="control"
        part="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        target="${e=>e.target}"
        type="${e=>e.type}"
        aria-atomic="${e=>e.ariaAtomic}"
        aria-busy="${e=>e.ariaBusy}"
        aria-controls="${e=>e.ariaControls}"
        aria-current="${e=>e.ariaCurrent}"
        aria-describedby="${e=>e.ariaDescribedby}"
        aria-details="${e=>e.ariaDetails}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-errormessage="${e=>e.ariaErrormessage}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-flowto="${e=>e.ariaFlowto}"
        aria-haspopup="${e=>e.ariaHaspopup}"
        aria-hidden="${e=>e.ariaHidden}"
        aria-invalid="${e=>e.ariaInvalid}"
        aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
        aria-label="${e=>e.ariaLabel}"
        aria-labelledby="${e=>e.ariaLabelledby}"
        aria-live="${e=>e.ariaLive}"
        aria-owns="${e=>e.ariaOwns}"
        aria-relevant="${e=>e.ariaRelevant}"
        aria-roledescription="${e=>e.ariaRoledescription}"
        ${(0,o.i)("control")}
    >
        ${(0,n.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,r.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,n.LC)(e,t)}
    </a>
`},84742:function(e,t,i){"use strict";i.d(t,{C:function(){return n}});var a=i(20005),o=i(65620),r=i(48839);class n extends r.I{constructor(){super(...arguments),this.generateBadgeStyle=()=>{if(!this.fill&&!this.color)return;const e=`background-color: var(--badge-fill-${this.fill});`,t=`color: var(--badge-color-${this.color});`;return this.fill&&!this.color?e:this.color&&!this.fill?t:`${t} ${e}`}}}(0,a.gn)([(0,o.Lj)({attribute:"fill"})],n.prototype,"fill",void 0),(0,a.gn)([(0,o.Lj)({attribute:"color"})],n.prototype,"color",void 0),(0,a.gn)([(0,o.Lj)({mode:"boolean"})],n.prototype,"circular",void 0)},20104:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(39181);const o=(e,t)=>a.d`
    <template class="${e=>e.circular?"circular":""}">
        <div class="control" part="control" style="${e=>e.generateBadgeStyle()}">
            <slot></slot>
        </div>
    </template>
`},65130:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var a=i(48839);class o extends a.I{}}}]);A
Eo