@sticky-studio-npm/ui-core 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-bundle.es.js +544 -550
- package/dist/ui-bundle.umd.js +14 -14
- package/package.json +1 -1
package/dist/ui-bundle.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap";html,body,#root{font-family:Roboto,system-ui,-apple-system,Segoe UI,Helvetica Neue,Arial,sans-serif;margin:0;padding:0;width:100%;height:100dvh;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;touch-action:manipulation;overflow:hidden}.app{display:flex;flex-direction:column;width:100%;height:100dvh}.game-container{position:relative;flex:1;width:100%;height:100dvh}.game-container canvas{display:block;width:100dvw;height:100dvh;background-image:url(public/img.png);background-repeat:no-repeat;background-position:center;background-size:cover}.game-container .settings-section{position:absolute;top:20px;right:20px;z-index:10}.ui-footer{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;position:absolute;bottom:20px;left:50%;transform:translate(-50%);width:100%;display:flex;justify-content:center;align-items:center;padding:20px 40px;color:#fff;box-sizing:border-box}.ui-footer .top-row{display:flex;align-items:center;width:100%;gap:20px;justify-content:space-between;position:relative}.ui-footer .left-group{display:flex;align-items:center;gap:15px}.ui-footer .left-group .buy-bonus{background:#f49f04e6;border:1.5px solid #FBDE38;border-radius:4px;color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-height:50px;max-width:100px;padding:5px 13px;cursor:pointer;flex-shrink:0;font-size:18px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center}.ui-footer .left-group .balance-info{display:flex;gap:20px}.ui-footer .left-group .balance-info .info{display:flex;flex-direction:column;align-items:center}.ui-footer .left-group .balance-info .info .label{font-size:14px;opacity:.8;margin-bottom:3px;word-break:manual;text-align:center;font-weight:400}.ui-footer .left-group .balance-info .info .value{font-size:18px;font-weight:700;word-break:manual;text-align:center}.ui-footer .bet-control{display:flex;align-items:center;gap:8px;margin-left:auto}.ui-footer .bet-control .bet-amount{display:flex;flex-direction:row;text-align:center;align-items:center;border:1.33px solid #C9C5C9;padding:5px 10px;border-radius:5px;font-size:14px;max-height:26px;width:143px;font-weight:700;cursor:pointer}.ui-footer .bet-control .bet-amount-icon{width:48px;height:48px;border:1.33px solid #aaa;border-radius:50%;justify-self:flex-start;background-color:#80808017;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);margin-left:-20px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.5516%200.900861C27.2005%201.43926%2023.8412%202.77092%2021.6674%204.81927C20.3655%206.04605%2019.6801%207.43921%2019.677%208.86529C19.675%209.77964%2019.8165%2010.3684%2020.2321%2011.1748C22.4694%2015.5157%2030.8628%2018.0448%2038.632%2016.7189C42.2624%2016.0994%2045.1344%2014.8409%2047.0433%2013.0332C49.7617%2010.459%2049.756%207.32896%2047.0281%204.76994C46.1925%203.98599%2045.2757%203.39156%2043.8747%202.72505C42.1459%201.90263%2040.4429%201.39484%2038.2014%201.03318C37.0705%200.850772%2032.6653%200.76307%2031.5516%200.900861ZM19.6011%2013.0332C19.5966%2014.633%2019.7017%2015.5435%2019.9758%2016.2783C20.2341%2016.9704%2020.7796%2017.7861%2021.4238%2018.4436C22.2973%2019.335%2022.7971%2019.6415%2024.0884%2020.0777C25.3181%2020.4932%2026.9261%2021.2154%2027.7421%2021.7189C28.8608%2022.4093%2033.0498%2022.8942%2036.0368%2022.6791C42.6662%2022.2018%2047.7493%2019.5435%2048.8824%2015.9612C49.0452%2015.4463%2049.0871%2015.0144%2049.1192%2013.5129C49.1445%2012.3364%2049.1265%2011.7578%2049.0687%2011.8817C49.0193%2011.9873%2048.976%2012.1526%2048.9722%2012.2491C48.9601%2012.5672%2048.4645%2013.6953%2048.1008%2014.2326C46.5038%2016.5924%2042.6915%2018.5076%2038.2693%2019.1717C35.905%2019.5267%2032.8449%2019.527%2030.4832%2019.1724C26.0566%2018.5076%2022.2452%2016.5934%2020.6475%2014.2326C20.2838%2013.6953%2019.7882%2012.5672%2019.7761%2012.2491C19.7723%2012.1526%2019.7323%2011.9873%2019.6871%2011.8817C19.6358%2011.7621%2019.6035%2012.1959%2019.6011%2013.0332ZM48.9871%2017.8625C48.9499%2018.2485%2048.4728%2019.3442%2048.1024%2019.8939C47.6688%2020.5375%2046.5305%2021.6346%2045.7792%2022.1332C43.8524%2023.4117%2041.4676%2024.2943%2038.6243%2024.781C37.2855%2025.0102%2034.5523%2025.1949%2033.5624%2025.1233C33.1668%2025.0946%2032.5328%2025.0489%2032.1533%2025.0217L31.4633%2024.9722L31.859%2025.6236C32.2828%2026.3214%2032.7278%2027.3946%2032.8335%2027.9745C32.8912%2028.2912%2032.9371%2028.3379%2033.2485%2028.3965C33.7389%2028.4888%2036.3954%2028.3665%2037.7394%2028.1899C43.4686%2027.4366%2047.8976%2024.8237%2048.8753%2021.6202C49.0407%2021.0779%2049.0622%2020.7737%2049.0372%2019.3172C49.0214%2018.3942%2048.9988%2017.7396%2048.9871%2017.8625ZM13.9462%2021.5824C10.5784%2021.8801%208.23327%2022.4475%206.01729%2023.5005C1.66207%2025.5702%20-0.0830562%2028.6341%201.29437%2031.7923C2.08451%2033.6037%204.50993%2035.4571%207.48772%2036.5249C10.2522%2037.5161%2012.8915%2037.9007%2016.2904%2037.8076C19.7977%2037.7116%2022.5502%2037.1093%2025.1028%2035.8794C28.3824%2034.2993%2030.2141%2032.1175%2030.2258%2029.7773C30.2303%2028.878%2030.0849%2028.2726%2029.6725%2027.472C28.2085%2024.6308%2024.0906%2022.4556%2018.87%2021.7658C17.747%2021.6174%2014.7947%2021.5075%2013.9462%2021.5824ZM48.9643%2023.5941C48.2956%2026.8247%2044.2846%2029.4792%2038.6121%2030.4454C37.2019%2030.6856%2034.5895%2030.8722%2033.6864%2030.7974C32.8867%2030.731%2032.817%2030.8022%2032.9815%2031.5174C33.0344%2031.7478%2033.0788%2032.4286%2033.0802%2033.0303L33.0825%2034.1244L34.9243%2034.0645C35.9373%2034.0315%2037.2195%2033.942%2037.7737%2033.8655C43.611%2033.0598%2048.0187%2030.4041%2048.9385%2027.1385C49.0724%2026.6632%2049.2409%2023.0604%2049.1292%2023.0604C49.0993%2023.0604%2049.0251%2023.3006%2048.9643%2023.5941ZM48.9624%2029.2649C48.2429%2032.7408%2043.5319%2035.5858%2037.2924%2036.3124C36.7399%2036.3768%2035.5447%2036.4332%2034.6366%2036.4378C32.774%2036.4472%2032.8097%2036.4312%2032.9815%2037.1787C33.0344%2037.4091%2033.0788%2038.0898%2033.0802%2038.6915L33.0825%2039.7854L34.9722%2039.7274C38.0743%2039.6321%2040.5295%2039.1662%2042.9376%2038.2159C46.1149%2036.9621%2048.332%2034.9648%2048.9356%2032.8125C49.0721%2032.3255%2049.2427%2028.7218%2049.1292%2028.7218C49.0993%2028.7218%2049.0242%2028.9662%2048.9624%2029.2649ZM30.1755%2032.8469C30.0056%2033.9118%2029.1815%2035.33%2028.2065%2036.2352C23.9372%2040.1991%2014.6718%2041.4382%207.66636%2038.9818C4.04798%2037.7131%201.54601%2035.5676%200.98666%2033.2534C0.857395%2032.7188%200.853663%2032.7506%200.84687%2034.4311C0.838258%2036.5676%200.98953%2037.1651%201.84368%2038.3697C3.52327%2040.7385%207.16805%2042.5406%2011.765%2043.2749C13.3086%2043.5214%2017.737%2043.5222%2019.2767%2043.2761C21.5851%2042.9071%2023.2692%2042.4082%2025.0255%2041.5727C27.7121%2040.2947%2029.3303%2038.7595%2029.9939%2036.8594C30.2143%2036.228%2030.2434%2035.9744%2030.2865%2034.3111C30.333%2032.511%2030.2995%2032.0689%2030.1755%2032.8469ZM30.133%2038.6949C29.5614%2041.4704%2026.3137%2043.9786%2021.7968%2045.133C19.3824%2045.7501%2017.5284%2045.9436%2014.7595%2045.8678C11.1792%2045.7697%208.45027%2045.1521%205.76546%2043.8321C3.16934%2042.5558%201.4355%2040.7754%200.989626%2038.9281C0.856055%2038.3744%200.853663%2038.3933%200.84687%2040.0924C0.839789%2041.8485%200.883803%2042.1569%201.27026%2043.0648C2.29462%2045.4712%205.90343%2047.7339%2010.1631%2048.6404C12.3423%2049.1042%2015.9065%2049.2988%2018.067%2049.0719C23.3981%2048.5121%2027.5405%2046.5786%2029.3647%2043.7984C30.093%2042.6884%2030.2224%2042.149%2030.2829%2039.9724C30.3111%2038.9566%2030.3153%2038.1253%2030.2923%2038.1253C30.2691%2038.1253%2030.1975%2038.3816%2030.133%2038.6949Z'%20fill='white'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center;background-size:60%;cursor:inherit}.ui-footer .bet-control .bet-amount-text{width:80%;font-size:15px;font-weight:500;cursor:inherit}.ui-footer .bet-control .bet-amount-text.ante-color{color:#ffd500}.ui-footer .bet-control .bet-box{position:relative;width:185px;height:38px;max-height:38px;min-height:unset;display:flex;justify-content:space-between;align-items:center;background:#ffffff14;border:1.33px solid #C9C5C9;border-radius:6px;padding:0 10px;box-sizing:border-box;overflow:visible}.ui-footer .bet-control .bet-box .bet-btn{width:16px;height:16px;background:none;border:none;color:#fff;cursor:pointer;z-index:4;flex-shrink:0}.ui-footer .bet-control .bet-box .minus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M2.99902%2012.3335C1.52635%2012.3335%200.332163%2013.5277%200.332031%2015.0005C0.332031%2016.4731%201.52626%2017.6665%202.99902%2017.6665H26.999C28.4718%2017.6665%2029.666%2016.4731%2029.666%2015.0005C29.666%2013.5277%2028.4718%2012.3335%2026.999%2012.3335H2.99902Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .plus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M14.999%200.333496C16.4718%200.333496%2017.666%201.52773%2017.666%203.00049V12.3335H26.999C28.4718%2012.3335%2029.666%2013.5277%2029.666%2015.0005C29.6659%2016.4731%2028.4717%2017.6665%2026.999%2017.6665H17.666V27.0005C17.6659%2028.4731%2016.4717%2029.6665%2014.999%2029.6665C13.5263%2029.6665%2012.3322%2028.4731%2012.332%2027.0005V17.6665H2.99902C1.52635%2017.6665%200.332163%2016.4731%200.332031%2015.0005C0.332031%2013.5277%201.52626%2012.3335%202.99902%2012.3335H12.332V3.00049C12.332%201.52773%2013.5263%200.333496%2014.999%200.333496Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .spin-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:90px;height:90px;border-radius:50%;background-color:#22212140;border:1.33px solid yellow;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='163'%20height='163'%20viewBox='3.8%208%20163%20163'%20fill='none'%3e%3cmask%20id='mask0_841_7192'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='1'%20width='163'%20height='163'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M85.515%2036.4272C85.515%2036.43%2085.5172%2036.4322%2085.52%2036.4322H86.2484C86.7923%2036.4322%2087.1469%2037.0034%2086.9057%2037.4909L82.0761%2047.2487C81.6443%2048.1212%2082.4335%2049.0988%2083.3774%2048.8607L101.667%2044.2464L121.032%2039.3815C121.738%2039.2043%20122.099%2038.4211%20121.777%2037.7693L112.703%2019.437L104.101%202.59377C103.665%201.73865%20102.431%201.7728%20102.042%202.65078L98.1645%2011.4094C97.95%2011.894%2097.4301%2012.1665%2096.9089%2012.0707C93.3253%2011.412%2089.6588%2010.8799%2085.515%2010.8799C49.1006%2010.8799%2018.3448%2036.9161%2010.0674%2072.1079C9.8907%2072.8591%2010.5079%2073.5564%2011.2761%2073.4828L36.1858%2071.0964C36.6287%2071.0539%2037.0058%2070.7564%2037.1588%2070.3386C44.4711%2050.3741%2063.7283%2036.4244%2085.5101%2036.4223C85.5128%2036.4223%2085.515%2036.4245%2085.515%2036.4272V36.4272ZM85.515%20141.612C66.0315%20141.612%2048.9817%20130.514%2040.3038%20113.745C39.9303%20113.024%2040.4362%20112.17%2041.2477%20112.127L50.6996%20111.623C51.6622%20111.572%2052.1311%20110.423%2051.4795%20109.713L38.1986%2095.2321L24.33%2081.2153C23.821%2080.7009%2022.9677%2080.7844%2022.5681%2081.3879L11.6783%2097.8368L1.29898%20114.075C0.784333%20114.88%201.42853%20115.923%202.3789%20115.823L12.0889%20114.806C12.6093%20114.751%2013.0998%20115.06%2013.2844%20115.549C24.4788%20145.24%2052.1394%20166.422%2085.515%20166.422C94.6987%20166.422%20103.882%20164.647%20111.975%20161.718C112.669%20161.467%20112.929%20160.627%20112.51%20160.019L98.9354%20140.299C98.6602%20139.9%2098.162%20139.719%2097.6928%20139.843C93.4745%20140.962%2089.7524%20141.612%2085.5248%20141.612H85.515ZM162.558%2089.2848C162.554%2089.2816%20162.553%2089.2773%20162.553%2089.2728C162.551%2065.0215%20152.05%2043.8559%20135.857%2030.1609C135.292%2029.6826%20134.432%2029.8795%20134.116%2030.5496L124.04%2051.963C123.836%2052.3964%20123.925%2052.9101%20124.256%2053.2568C132.967%2062.3937%20137.319%2075.186%20137.319%2089.2798C137.319%2097.8644%20135.607%20105.816%20131.659%20113.206C131.274%20113.928%20130.276%20113.986%20129.786%20113.331L124.427%20106.152C123.859%20105.392%20122.665%20105.617%20122.413%20106.532L117.259%20125.241L112.387%20144.824C112.211%20145.531%20112.733%20146.218%20113.46%20146.24L133.401%20146.832L152.387%20147.941C153.343%20147.997%20153.938%20146.919%20153.382%20146.139L146.861%20137.004C146.565%20136.589%20146.581%20136.03%20146.893%20135.628C156.928%20122.708%20162.561%20106.61%20162.562%2089.2967C162.562%2089.2922%20162.561%2089.2879%20162.558%2089.2848V89.2848Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_841_7192)'%3e%3cellipse%20cx='85.5252'%20cy='89.6278'%20rx='62.537'%20ry='62.6674'%20fill='white'/%3e%3c/g%3e%3c/svg%3e");background-size:115% 115%;background-repeat:no-repeat;background-position:center;cursor:pointer;z-index:3;pointer-events:auto}.ui-footer .bet-control .bet-box .spin-btn:active{transform:translate(-50%,-50%) scale(.95)}.ui-footer .bet-control .bet-box .spin-btn.slam-stop{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='150'%20height='150'%20viewBox='0%200%20150%20150'%20fill='none'%3e%3cpath%20d='M135.75%200.75H14.25C10.6696%200.75%207.2358%202.17232%204.70406%204.70406C2.17232%207.2358%200.75%2010.6696%200.75%2014.25V135.75C0.75%20139.33%202.17232%20142.764%204.70406%20145.296C7.2358%20147.828%2010.6696%20149.25%2014.25%20149.25H135.75C139.33%20149.25%20142.764%20147.828%20145.296%20145.296C147.828%20142.764%20149.25%20139.33%20149.25%20135.75V14.25C149.25%2010.6696%20147.828%207.2358%20145.296%204.70406C142.764%202.17232%20139.33%200.75%20135.75%200.75ZM135.75%20135.75H14.25V14.25H135.75V135.75Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:60% 60%}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{background:transparent;width:40px;height:40px;border-radius:50%;cursor:pointer;background-size:60% 60%;background-repeat:no-repeat;background-position:center;border:1.33px solid #C9C5C9;flex-shrink:0}.ui-footer .bet-control .quick-spin{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='44'%20viewBox='0%200%2024%2044'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.2946%200.0969331C17.055%200.24276%2016.9809%200.342512%2015.5361%202.46264C14.806%203.53397%2013.2184%205.86296%2012.0082%207.63819C9.8895%2010.7459%209.15481%2011.8248%206.77898%2015.3171C6.17762%2016.2011%205.21984%2017.6059%204.65064%2018.4389C4.08144%2019.272%203.30357%2020.4137%202.92206%2020.976C2.5405%2021.5383%201.84762%2022.5585%201.38235%2023.2432C0.622589%2024.361%200.533722%2024.5152%200.510613%2024.7554C0.476642%2025.1081%200.518546%2025.2538%200.719496%2025.4823C1.04099%2025.8477%200.738452%2025.826%205.50028%2025.826C7.87388%2025.826%209.81586%2025.8453%209.81586%2025.869C9.81586%2025.9287%209.35358%2028.1417%208.69807%2031.2201C8.61091%2031.6293%208.4566%2032.3587%208.35512%2032.841C8.25363%2033.3233%208.03638%2034.3516%207.87228%2035.1262C7.70823%2035.9007%207.50467%2036.8693%207.41996%2037.2785C7.33524%2037.6877%207.19137%2038.3693%207.10032%2038.7931C7.00927%2039.2169%206.86556%2039.8985%206.78101%2040.3077C6.69645%2040.7169%206.54204%2041.4528%206.43784%2041.943C6.2322%2042.9103%206.20755%2043.2376%206.32352%2043.4592C6.40903%2043.6225%206.64534%2043.8534%206.81727%2043.9416C7.00331%2044.037%207.41644%2044.0123%207.66792%2043.8909C7.87654%2043.79%207.98138%2043.6482%208.87623%2042.2567C9.86123%2040.7248%2011.8219%2037.6682%2012.3592%2036.8268C12.5178%2036.5783%2012.8431%2036.0703%2013.082%2035.6978C13.3209%2035.3254%2013.9477%2034.3465%2014.4749%2033.5228C15.002%2032.6989%2015.5771%2031.8024%2015.7528%2031.5306C15.9285%2031.2588%2016.6952%2030.0632%2017.4566%2028.8737C18.2181%2027.6843%2018.9848%2026.4879%2019.1605%2026.2151C20.8911%2023.5278%2022.7394%2020.6395%2023.1938%2019.912C23.4673%2019.4743%2023.4999%2019.3917%2023.5%2019.137C23.5001%2018.7777%2023.3543%2018.5062%2023.0585%2018.3148L22.8398%2018.1732H18.9901C16.8728%2018.1732%2015.1404%2018.1529%2015.1404%2018.1279C15.1404%2018.0821%2015.6155%2015.8153%2016.3448%2012.3805C16.5652%2011.3429%2016.8145%2010.1591%2016.8989%209.74987C16.9834%209.34066%2017.1742%208.43189%2017.3229%207.73039C18.4987%202.18534%2018.7079%201.15429%2018.7079%200.904511C18.7079%200.579375%2018.4967%200.246534%2018.1991%200.102726C17.9203%20-0.0319413%2017.5107%20-0.0345454%2017.2946%200.0969331Z'%20fill='white'/%3e%3c/svg%3e")}.ui-footer .bet-control .quick-spin.active{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='44'%20viewBox='0%200%2024%2044'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.2946%200.0969331C17.055%200.24276%2016.9809%200.342512%2015.5361%202.46264C14.806%203.53397%2013.2184%205.86296%2012.0082%207.63819C9.8895%2010.7459%209.15481%2011.8248%206.77898%2015.3171C6.17762%2016.2011%205.21984%2017.6059%204.65064%2018.4389C4.08144%2019.272%203.30357%2020.4137%202.92206%2020.976C2.5405%2021.5383%201.84762%2022.5585%201.38235%2023.2432C0.622589%2024.361%200.533722%2024.5152%200.510613%2024.7554C0.476642%2025.1081%200.518546%2025.2538%200.719496%2025.4823C1.04099%2025.8477%200.738452%2025.826%205.50028%2025.826C7.87388%2025.826%209.81586%2025.8453%209.81586%2025.869C9.81586%2025.9287%209.35358%2028.1417%208.69807%2031.2201C8.61091%2031.6293%208.4566%2032.3587%208.35512%2032.841C8.25363%2033.3233%208.03638%2034.3516%207.87228%2035.1262C7.70823%2035.9007%207.50467%2036.8693%207.41996%2037.2785C7.33524%2037.6877%207.19137%2038.3693%207.10032%2038.7931C7.00927%2039.2169%206.86556%2039.8985%206.78101%2040.3077C6.69645%2040.7169%206.54204%2041.4528%206.43784%2041.943C6.2322%2042.9103%206.20755%2043.2376%206.32352%2043.4592C6.40903%2043.6225%206.64534%2043.8534%206.81727%2043.9416C7.00331%2044.037%207.41644%2044.0123%207.66792%2043.8909C7.87654%2043.79%207.98138%2043.6482%208.87623%2042.2567C9.86123%2040.7248%2011.8219%2037.6682%2012.3592%2036.8268C12.5178%2036.5783%2012.8431%2036.0703%2013.082%2035.6978C13.3209%2035.3254%2013.9477%2034.3465%2014.4749%2033.5228C15.002%2032.6989%2015.5771%2031.8024%2015.7528%2031.5306C15.9285%2031.2588%2016.6952%2030.0632%2017.4566%2028.8737C18.2181%2027.6843%2018.9848%2026.4879%2019.1605%2026.2151C20.8911%2023.5278%2022.7394%2020.6395%2023.1938%2019.912C23.4673%2019.4743%2023.4999%2019.3917%2023.5%2019.137C23.5001%2018.7777%2023.3543%2018.5062%2023.0585%2018.3148L22.8398%2018.1732H18.9901C16.8728%2018.1732%2015.1404%2018.1529%2015.1404%2018.1279C15.1404%2018.0821%2015.6155%2015.8153%2016.3448%2012.3805C16.5652%2011.3429%2016.8145%2010.1591%2016.8989%209.74987C16.9834%209.34066%2017.1742%208.43189%2017.3229%207.73039C18.4987%202.18534%2018.7079%201.15429%2018.7079%200.904511C18.7079%200.579375%2018.4967%200.246534%2018.1991%200.102726C17.9203%20-0.0319413%2017.5107%20-0.0345454%2017.2946%200.0969331Z'%20fill='%23FBDE38'/%3e%3c/svg%3e")}.ui-footer .bet-control .auto-spin{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='30'%20viewBox='0%200%2034%2030'%20fill='none'%3e%3cpath%20d='M0.74903%2015C0.752339%2012.0173%201.93867%209.15773%204.04773%207.04867C6.1568%204.9396%209.01636%203.75327%2011.999%203.74996H28.9818L27.3647%202.13434C27.1301%201.89979%2026.9983%201.58167%2026.9983%201.24996C26.9983%200.918258%2027.1301%200.600138%2027.3647%200.365588C27.5992%200.131037%2027.9173%20-0.000732414%2028.249%20-0.000732422C28.5807%20-0.00073243%2028.8989%200.131037%2029.1334%200.365588L32.8834%204.11559C32.9996%204.23168%2033.0918%204.36954%2033.1547%204.52129C33.2176%204.67303%2033.25%204.83569%2033.25%204.99996C33.25%205.16423%2033.2176%205.32689%2033.1547%205.47864C33.0918%205.63039%2032.9996%205.76825%2032.8834%205.88434L29.1334%209.63434C28.8989%209.86889%2028.5807%2010.0007%2028.249%2010.0007C27.9173%2010.0007%2027.5992%209.86889%2027.3647%209.63434C27.1301%209.39979%2026.9983%209.08167%2026.9983%208.74996C26.9983%208.41826%2027.1301%208.10014%2027.3647%207.86559L28.9818%206.24996H11.999C9.67915%206.25244%207.45499%207.17511%205.81459%208.81552C4.17418%2010.4559%203.25151%2012.6801%203.24903%2015C3.24903%2015.3315%203.11733%2015.6494%202.88291%2015.8838C2.64849%2016.1183%202.33055%2016.25%201.99903%2016.25C1.66751%2016.25%201.34957%2016.1183%201.11515%2015.8838C0.880726%2015.6494%200.74903%2015.3315%200.74903%2015ZM31.999%2013.75C31.6675%2013.75%2031.3496%2013.8817%2031.1151%2014.1161C30.8807%2014.3505%2030.749%2014.6684%2030.749%2015C30.7465%2017.3198%2029.8239%2019.544%2028.1835%2021.1844C26.5431%2022.8248%2024.3189%2023.7475%2021.999%2023.75H5.01622L6.6334%2022.1343C6.74954%2022.0182%206.84167%2021.8803%206.90452%2021.7286C6.96737%2021.5768%206.99973%2021.4142%206.99973%2021.25C6.99973%2021.0857%206.96737%2020.9231%206.90452%2020.7713C6.84167%2020.6196%206.74954%2020.4817%206.6334%2020.3656C6.51727%2020.2495%206.37939%2020.1573%206.22765%2020.0945C6.07591%2020.0316%205.91327%2019.9993%205.74903%2019.9993C5.58479%2019.9993%205.42215%2020.0316%205.27041%2020.0945C5.11867%2020.1573%204.98079%2020.2495%204.86466%2020.3656L1.11466%2024.1156C0.998435%2024.2317%200.906236%2024.3695%200.84333%2024.5213C0.780425%2024.673%200.748047%2024.8357%200.748047%2025C0.748047%2025.1642%200.780425%2025.3269%200.84333%2025.4786C0.906236%2025.6304%200.998435%2025.7682%201.11466%2025.8843L4.86466%2029.6343C4.98079%2029.7505%205.11867%2029.8426%205.27041%2029.9055C5.42215%2029.9683%205.58479%2030.0007%205.74903%2030.0007C5.91327%2030.0007%206.07591%2029.9683%206.22765%2029.9055C6.37939%2029.8426%206.51727%2029.7505%206.6334%2029.6343C6.74954%2029.5182%206.84167%2029.3803%206.90452%2029.2286C6.96737%2029.0768%206.99973%2028.9142%206.99973%2028.75C6.99973%2028.5857%206.96737%2028.4231%206.90452%2028.2713C6.84167%2028.1196%206.74954%2027.9817%206.6334%2027.8656L5.01622%2026.25H21.999C24.9817%2026.2467%2027.8413%2025.0603%2029.9503%2022.9513C32.0594%2020.8422%2033.2457%2017.9826%2033.249%2015C33.249%2014.6684%2033.1173%2014.3505%2032.8829%2014.1161C32.6485%2013.8817%2032.3305%2013.75%2031.999%2013.75Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.ui-footer .bottom-row{display:none}@media screen and (orientation: portrait){.ui-footer{width:100%;padding:10px 8px;left:0;transform:none;bottom:35px;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;--betbox-w: 170px;--spin-size: 75px;--qa-size: 35px;--qa-gap: 25px}.ui-footer .top-row{width:100%;position:relative;display:block;height:calc(var(--spin-size) + 24px)}.ui-footer .top-row .buy-bonus-wrap{position:absolute;top:50%;left:calc(50% - var(--betbox-w) / 2 - var(--qa-gap) * .7)}.ui-footer .top-row .buy-bonus-wrap .buy-bonus{transform:translate(-100%,-50%);z-index:6;pointer-events:auto;min-height:45px;max-height:45px;padding:6px 12px;font-size:13px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center;max-width:calc(var(--betbox-w) * .5)}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - var(--qa-gap) * 1.05);bottom:75px;width:53px;height:61px}.ui-footer .left-group{justify-content:center}.ui-footer .left-group .balance-info{display:flex;position:absolute;width:85%;top:100px;justify-content:space-between}.ui-footer .left-group .balance-info .info{display:flex;flex-direction:column;align-items:center}.ui-footer .left-group .balance-info .info .label{font-size:11px;opacity:.8;text-align:center;font-weight:400}.ui-footer .left-group .balance-info .info .value{font-size:11px;font-weight:700;text-align:center}.ui-footer .bet-control{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;z-index:5;width:auto}.ui-footer .bet-control .bet-box{position:relative;width:var(--betbox-w);height:35px;max-height:35px;min-height:unset;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 10px;background:#ffffff14;border:1.3px solid #C9C5C9;border-radius:6px;box-sizing:border-box;pointer-events:auto;overflow:visible}.ui-footer .bet-control .bet-box .bet-btn{width:16px;height:16px;z-index:4;background:none;border:none;cursor:pointer;pointer-events:auto;flex-shrink:0}.ui-footer .bet-control .bet-box .minus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M2.99902%2012.3335C1.52635%2012.3335%200.332163%2013.5277%200.332031%2015.0005C0.332031%2016.4731%201.52626%2017.6665%202.99902%2017.6665H26.999C28.4718%2017.6665%2029.666%2016.4731%2029.666%2015.0005C29.666%2013.5277%2028.4718%2012.3335%2026.999%2012.3335H2.99902Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .plus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M14.999%200.333496C16.4718%200.333496%2017.666%201.52773%2017.666%203.00049V12.3335H26.999C28.4718%2012.3335%2029.666%2013.5277%2029.666%2015.0005C29.6659%2016.4731%2028.4717%2017.6665%2026.999%2017.6665H17.666V27.0005C17.6659%2028.4731%2016.4717%2029.6665%2014.999%2029.6665C13.5263%2029.6665%2012.3322%2028.4731%2012.332%2027.0005V17.6665H2.99902C1.52635%2017.6665%200.332163%2016.4731%200.332031%2015.0005C0.332031%2013.5277%201.52626%2012.3335%202.99902%2012.3335H12.332V3.00049C12.332%201.52773%2013.5263%200.333496%2014.999%200.333496Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .spin-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--spin-size);height:var(--spin-size);border-radius:50%;z-index:3;pointer-events:auto}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{position:absolute;top:50%;transform:translateY(-50%);width:var(--qa-size);height:var(--qa-size);pointer-events:auto}.ui-footer .bet-control .quick-spin{left:calc(50% + var(--betbox-w) / 2 + var(--qa-gap) * .8)}.ui-footer .bet-control .auto-spin{left:calc(50% + var(--betbox-w) / 2 + var(--qa-gap) + var(--qa-size) + var(--qa-gap) * .6)}.ui-footer .bet-control .bet-amount{position:absolute;left:50%;top:calc(50% - var(--spin-size) / 2 + 85px);transform:translate(-50%);font-size:10px;min-width:calc(var(--spin-size) - 10px);text-align:center;max-height:20px;width:90px;color:#fff}.ui-footer .bet-control .bet-amount .bet-amount-icon{width:35px;height:35px}.ui-footer .bet-control .bet-amount .bet-amount-text{width:80%;font-size:12px}.ui-footer .bottom-row{display:flex;width:100%;justify-content:center;margin-top:8px;box-sizing:border-box}.ui-footer .bottom-row .balance-info{display:flex;gap:12px;justify-content:center}.ui-footer .bottom-row .balance-info .info{display:flex;flex-direction:column;align-items:center}.ui-footer .bottom-row .balance-info .info .label{font-size:12px;opacity:.8}.ui-footer .bottom-row .balance-info .info .value{font-size:16px;font-weight:700}}@media screen and (orientation: portrait) and (max-width: 420px){.ui-footer{--betbox-w: 140px;--spin-size: 73px;--qa-size: 32px;--qa-gap: 20px}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - (var(--qa-gap)));bottom:75px;width:40px;height:48px}}@media screen and (orientation: portrait) and (max-width: 360px){.ui-footer{--betbox-w: 130px;--spin-size: 60px;--qa-size: 28px;--qa-gap: 16px}.ui-footer .bet-control .bet-amount{top:calc(50% - var(--spin-size) / 2 + 73px)}.ui-footer .bet-control .bet-amount .bet-amount-icon{width:35px;height:35px}.ui-footer .bet-control .bet-amount .bet-amount-text{width:80%;font-size:11px}.ui-footer .left-group .balance-info{top:92px}.ui-footer .top-row .buy-bonus-wrap .buy-bonus{padding:5px 10px;font-size:12px;min-height:36px}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - (var(--qa-gap)) * 1.2);bottom:67px;width:40px;height:48px}.ui-footer .bottom-row .balance-info .info .label{font-size:10px}.ui-footer .bottom-row .balance-info .info .value{font-size:14px}}@media screen and (orientation: portrait) and (max-width: 320px){.ui-footer{--betbox-w: 120px;--spin-size: 52px;--qa-size: 24px;--qa-gap: 12px;padding:6px}.ui-footer .left-group .balance-info{top:80px}.ui-footer .bet-control .bet-amount{top:calc(50% - var(--spin-size) / 2 + 65px);width:70px}.ui-footer .bet-control .bet-amount .bet-amount-icon{width:30px;height:30px}.ui-footer .bet-control .bet-amount .bet-amount-text{width:80%;font-size:10px}.ui-footer .top-row .buy-bonus-wrap .buy-bonus{padding:4px 8px;font-size:11px;min-height:32px}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - (var(--qa-gap)) * 1.6);bottom:60px}}@media screen and (max-width: 935px) and (orientation: landscape){.ui-footer{bottom:2px}.ui-footer .bet-control .bet-amount{max-height:16px;width:110px}.ui-footer .bet-control .bet-amount-icon{width:30px;height:30px}.ui-footer .bet-control .bet-amount-text{width:80%;font-size:12px;font-weight:500}.ui-footer .bet-control .bet-box{position:relative;width:130px;height:28px}.ui-footer .bet-control .bet-box .bet-btn{width:16px;height:16px}.ui-footer .bet-control .bet-box .spin-btn{width:55px;height:55px}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{width:27px;height:27px;border-radius:50%}.ui-footer .bonus-thumb{width:43px;height:51px;bottom:40px}.ui-footer .left-group{gap:10px}.ui-footer .left-group .buy-bonus{min-height:33px;max-height:33px;max-width:70px;font-size:10px}.ui-footer .left-group .balance-info{gap:15px}.ui-footer .left-group .balance-info .info .label{font-size:10px}.ui-footer .left-group .balance-info .info .value{font-size:12px}}.ui-footer .bet-amount:hover,.ui-footer .spin-btn:hover,.ui-footer .quick-spin:hover,.ui-footer .auto-spin:hover{background-color:#201f1fa1}.ui-footer .buy-bonus:hover{box-shadow:inset 0 0 0 1000px #0003}.buy-bonus-wrap{display:flex;flex-direction:column;align-items:center;position:relative;width:max-content;box-sizing:border-box}.bonus-thumb{position:absolute;width:64px;height:76px;border-radius:6px;border:1.2px solid rgba(255,215,18,.88);background-size:100%;background-position:center;background-repeat:no-repeat;bottom:60px;box-shadow:0 4px #00000003;box-sizing:border-box}.buy-bonus-wrap .bonus-thumb{background-clip:padding-box}.settings-section{position:absolute;top:20px;right:20px;display:flex;align-items:center;gap:12px}.volume-control{display:flex;align-items:center;background:#00000080;border-radius:999px;padding:4px 10px;gap:8px}.slider{appearance:none;width:120px;height:6px;border-radius:3px;background:#fff3;outline:none}.slider::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;cursor:pointer}.volume-value{color:#fff;font-weight:600;min-width:24px;text-align:center}.btn-sound,.btn-settings{width:40px;height:40px;border:1px solid #fff;border-radius:50%;background:transparent;background-size:80% auto;background-repeat:no-repeat;background-position:center;cursor:pointer;transition:background-color .2s}.btn-sound:hover,.btn-settings:hover{background-color:#ffffff26}.btn-sound{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%3e%3cpath%20d='M27.9432%204.458C27.7015%204.34021%2027.4315%204.29258%2027.1641%204.32053C26.8966%204.34848%2026.6424%204.45089%2026.4302%204.61613L13.8809%2014.375H5.75C4.9875%2014.375%204.25623%2014.6779%203.71707%2015.217C3.1779%2015.7562%202.875%2016.4875%202.875%2017.25V28.75C2.875%2029.5125%203.1779%2030.2437%203.71707%2030.7829C4.25623%2031.3221%204.9875%2031.625%205.75%2031.625H13.8809L26.4302%2041.3838C26.6426%2041.5489%2026.897%2041.6511%2027.1646%2041.6787C27.4321%2041.7064%2027.7021%2041.6585%2027.9437%2041.5404C28.1854%2041.4222%2028.3891%2041.2387%2028.5316%2041.0106C28.6741%2040.7825%2028.7498%2040.5189%2028.75%2040.25V5.74995C28.75%205.48065%2028.6744%205.21676%2028.5318%204.98834C28.3891%204.75991%2028.1852%204.57616%2027.9432%204.458ZM5.75%2017.25H12.9375V28.75H5.75V17.25ZM25.875%2037.3103L15.8125%2029.4849V16.515L25.875%208.68964V37.3103ZM35.5781%2018.249C36.7343%2019.5616%2037.3722%2021.2508%2037.3722%2023C37.3722%2024.7492%2036.7343%2026.4383%2035.5781%2027.7509C35.3242%2028.03%2034.9706%2028.198%2034.5939%2028.2187C34.2171%2028.2394%2033.8473%2028.1111%2033.5643%2027.8616C33.2813%2027.6121%2033.1077%2027.2613%2033.0811%2026.8849C33.0544%2026.5085%2033.1768%2026.1367%2033.4219%2025.8498C34.1152%2025.0623%2034.4977%2024.0491%2034.4977%2023C34.4977%2021.9508%2034.1152%2020.9376%2033.4219%2020.1501C33.1768%2019.8632%2033.0544%2019.4914%2033.0811%2019.115C33.1077%2018.7387%2033.2813%2018.3878%2033.5643%2018.1383C33.8473%2017.8888%2034.2171%2017.7605%2034.5939%2017.7812C34.9706%2017.8019%2035.3242%2017.97%2035.5781%2018.249ZM44.5625%2023C44.5646%2026.5366%2043.2612%2029.9495%2040.9023%2032.5845C40.6462%2032.8616%2040.2914%2033.0269%2039.9146%2033.0447C39.5377%2033.0626%2039.1689%2032.9315%2038.8878%2032.6799C38.6067%2032.4283%2038.4358%2032.0762%2038.4119%2031.6997C38.3881%2031.3231%2038.5133%2030.9523%2038.7604%2030.6672C40.6461%2028.5588%2041.6885%2025.8295%2041.6885%2023.0009C41.6885%2020.1723%2040.6461%2017.4429%2038.7604%2015.3345C38.631%2015.1944%2038.5307%2015.03%2038.4654%2014.8509C38.4001%2014.6717%2038.3712%2014.4813%2038.3802%2014.2908C38.3892%2014.1003%2038.4361%2013.9135%2038.518%2013.7413C38.5999%2013.5691%2038.7152%2013.4149%2038.8573%2013.2878C38.9994%2013.1606%2039.1654%2013.0629%2039.3456%2013.0005C39.5258%2012.9381%2039.7166%2012.9121%2039.9069%2012.9242C40.0972%2012.9362%2040.2832%2012.986%2040.4541%2013.0707C40.625%2013.1553%2040.7774%2013.2731%2040.9023%2013.4172C43.2618%2016.0511%2044.5653%2019.4637%2044.5625%2023Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.btn-sound.inactive{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%3e%3cpath%20d='M9.68875%206.22089C9.56251%206.07859%209.40928%205.96276%209.23795%205.88012C9.06662%205.79747%208.88058%205.74965%208.69063%205.73943C8.50068%205.72921%208.31059%205.7568%208.13138%205.82058C7.95217%205.88437%207.7874%205.98309%207.64662%206.11103C7.50584%206.23897%207.39186%206.39357%207.31127%206.56588C7.23069%206.7382%207.1851%206.92479%207.17716%207.11485C7.16922%207.30491%207.19908%207.49465%207.26501%207.67309C7.33094%207.85152%207.43164%208.0151%207.56125%208.15433L13.216%2014.3751H5.75C4.9875%2014.3751%204.25623%2014.678%203.71707%2015.2172C3.1779%2015.7563%202.875%2016.4876%202.875%2017.2501V28.7501C2.875%2029.5126%203.1779%2030.2439%203.71707%2030.783C4.25623%2031.3222%204.9875%2031.6251%205.75%2031.6251H13.8809L26.4302%2041.3839C26.6426%2041.549%2026.897%2041.6512%2027.1646%2041.6789C27.4321%2041.7066%2027.7021%2041.6586%2027.9437%2041.5405C28.1854%2041.4224%2028.3891%2041.2389%2028.5316%2041.0107C28.6741%2040.7826%2028.7498%2040.5191%2028.75%2040.2501V31.4616L36.3112%2039.7793C36.4375%2039.9216%2036.5907%2040.0375%2036.7621%2040.1201C36.9334%2040.2028%2037.1194%2040.2506%2037.3094%2040.2608C37.4993%2040.271%2037.6894%2040.2434%2037.8686%2040.1796C38.0478%2040.1159%2038.2126%2040.0171%2038.3534%2039.8892C38.4942%2039.7613%2038.6081%2039.6067%2038.6887%2039.4343C38.7693%2039.262%2038.8149%2039.0754%2038.8228%2038.8854C38.8308%2038.6953%2038.8009%2038.5056%2038.735%2038.3271C38.6691%2038.1487%2038.5684%2037.9851%2038.4388%2037.8459L9.68875%206.22089ZM5.75%2017.2501H12.9375V28.7501H5.75V17.2501ZM25.875%2037.3104L15.8125%2029.485V17.2303L25.875%2028.2991V37.3104ZM33.4219%2025.8518C34.1152%2025.0643%2034.4977%2024.0511%2034.4977%2023.0019C34.4977%2021.9527%2034.1152%2020.9395%2033.4219%2020.1521C33.2898%2020.0117%2033.1873%2019.8462%2033.1205%2019.6654C33.0537%2019.4846%2033.0239%2019.2922%2033.0329%2019.0997C33.042%2018.9072%2033.0896%2018.7184%2033.1731%2018.5447C33.2565%2018.3709%2033.3741%2018.2157%2033.5187%2018.0883C33.6633%2017.961%2033.8321%2017.8639%2034.015%2017.8031C34.1979%2017.7422%2034.3911%2017.7188%2034.5833%2017.7341C34.7754%2017.7495%2034.9625%2017.8033%2035.1334%2017.8924C35.3043%2017.9815%2035.4555%2018.104%2035.5781%2018.2528C36.7343%2019.5653%2037.3722%2021.2545%2037.3722%2023.0037C37.3722%2024.7529%2036.7343%2026.4421%2035.5781%2027.7546C35.4532%2027.8962%2035.3016%2028.0118%2035.132%2028.0948C34.9623%2028.1778%2034.778%2028.2266%2034.5896%2028.2383C34.4011%2028.2501%2034.2122%2028.2246%2034.0336%2028.1634C33.8549%2028.1021%2033.6901%2028.0063%2033.5486%2027.8813C33.407%2027.7564%2033.2914%2027.6048%2033.2084%2027.4352C33.1254%2027.2655%2033.0766%2027.0812%2033.0649%2026.8928C33.0531%2026.7043%2033.0786%2026.5154%2033.1398%2026.3368C33.2011%2026.1581%2033.2969%2025.9933%2033.4219%2025.8518ZM19.0181%2012.1955C18.9021%2012.0465%2018.8166%2011.8761%2018.7664%2011.6941C18.7162%2011.512%2018.7025%2011.3218%2018.7258%2011.1344C18.7492%2010.947%2018.8092%2010.7661%2018.9026%2010.6019C18.9959%2010.4377%2019.1206%2010.2936%2019.2697%2010.1776L26.4302%204.6073C26.6432%204.44174%2026.8985%204.33944%2027.1668%204.31209C27.4352%204.28475%2027.7058%204.33347%2027.9478%204.45268C28.1898%204.57189%2028.3933%204.75677%2028.5352%204.98621C28.677%205.21564%2028.7515%205.48037%2028.75%205.75011V19.1961C28.75%2019.5774%2028.5986%2019.943%2028.329%2020.2126C28.0594%2020.4822%2027.6937%2020.6336%2027.3125%2020.6336C26.9313%2020.6336%2026.5656%2020.4822%2026.296%2020.2126C26.0264%2019.943%2025.875%2019.5774%2025.875%2019.1961V8.6898L21.0342%2012.4632C20.7323%2012.696%2020.3503%2012.7993%2019.9722%2012.7505C19.5941%2012.7016%2019.2509%2012.5046%2019.0181%2012.2027V12.1955ZM44.5625%2023.0001C44.5646%2026.5367%2043.2612%2029.9497%2040.9023%2032.5846C40.6462%2032.8617%2040.2914%2033.027%2039.9146%2033.0449C39.5377%2033.0627%2039.1689%2032.9317%2038.8878%2032.6801C38.6067%2032.4284%2038.4358%2032.0763%2038.4119%2031.6998C38.3881%2031.3233%2038.5133%2030.9525%2038.7604%2030.6674C40.6461%2028.559%2041.6885%2025.8296%2041.6885%2023.001C41.6885%2020.1724%2040.6461%2017.443%2038.7604%2015.3346C38.631%2015.1946%2038.5307%2015.0302%2038.4654%2014.851C38.4001%2014.6718%2038.3712%2014.4815%2038.3802%2014.291C38.3892%2014.1005%2038.4361%2013.9137%2038.518%2013.7415C38.5999%2013.5693%2038.7152%2013.4151%2038.8573%2013.2879C38.9994%2013.1607%2039.1654%2013.0631%2039.3456%2013.0007C39.5258%2012.9382%2039.7166%2012.9123%2039.9069%2012.9244C40.0972%2012.9364%2040.2832%2012.9862%2040.4541%2013.0708C40.625%2013.1555%2040.7774%2013.2733%2040.9023%2013.4174C43.2618%2016.0513%2044.5653%2019.4639%2044.5625%2023.0001Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.btn-settings{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%3e%3cpath%20d='M22.9992%2014.375C21.2934%2014.375%2019.6258%2014.8809%2018.2074%2015.8286C16.7891%2016.7764%2015.6836%2018.1234%2015.0308%2019.6994C14.378%2021.2754%2014.2072%2023.0096%2014.54%2024.6827C14.8728%2026.3558%2015.6942%2027.8926%2016.9004%2029.0988C18.1067%2030.3051%2019.6435%2031.1265%2021.3166%2031.4593C22.9897%2031.7921%2024.7239%2031.6213%2026.2999%2030.9685C27.8759%2030.3157%2029.2229%2029.2102%2030.1707%2027.7918C31.1184%2026.3735%2031.6242%2024.7059%2031.6242%2023C31.6219%2020.7133%2030.7124%2018.5209%2029.0954%2016.9039C27.4784%2015.2869%2025.286%2014.3774%2022.9992%2014.375ZM22.9992%2028.75C21.862%2028.75%2020.7503%2028.4128%2019.8047%2027.781C18.8591%2027.1492%2018.1221%2026.2512%2017.6869%2025.2005C17.2517%2024.1498%2017.1379%2022.9937%2017.3597%2021.8783C17.5816%2020.7629%2018.1292%2019.7383%2018.9334%2018.9342C19.7375%2018.13%2020.7621%2017.5824%2021.8775%2017.3605C22.9929%2017.1387%2024.149%2017.2525%2025.1997%2017.6877C26.2503%2018.1229%2027.1484%2018.8599%2027.7802%2019.8055C28.412%2020.7511%2028.7492%2021.8628%2028.7492%2023C28.7492%2024.525%2028.1434%2025.9876%2027.0651%2027.0659C25.9868%2028.1442%2024.5242%2028.75%2022.9992%2028.75ZM42.7541%2019.2643C42.7141%2019.0619%2042.6309%2018.8705%2042.5103%2018.7031C42.3897%2018.5356%2042.2344%2018.3961%2042.0551%2018.294L36.695%2015.2393L36.6735%209.19825C36.6728%208.9902%2036.627%208.78476%2036.5392%208.59614C36.4514%208.40752%2036.3237%208.2402%2036.1649%208.10575C34.2206%206.46107%2031.9815%205.20068%2029.5668%204.39161C29.3767%204.32725%2029.1751%204.30343%2028.9752%204.32169C28.7753%204.33994%2028.5814%204.39988%2028.406%204.49763L22.9992%207.51997L17.5871%204.49223C17.4116%204.39394%2017.2175%204.33355%2017.0172%204.31498C16.8169%204.29641%2016.615%204.32007%2016.4245%204.38442C14.0115%205.19941%2011.775%206.4646%209.83354%208.11294C9.675%208.2472%209.54744%208.41422%209.45965%208.60251C9.37187%208.79081%209.32594%208.99589%209.32503%209.20364L9.29807%2015.2501L3.93799%2018.3048C3.75867%2018.4069%203.60342%2018.5464%203.48281%2018.7138C3.3622%2018.8813%203.27905%2019.0727%203.23901%2019.2751C2.74846%2021.7402%202.74846%2024.2778%203.23901%2026.7429C3.27905%2026.9454%203.3622%2027.1368%203.48281%2027.3042C3.60342%2027.4717%203.75867%2027.6112%203.93799%2027.7132L9.29807%2030.7679L9.31963%2036.809C9.32028%2037.0171%209.36609%2037.2225%209.45389%2037.4111C9.54168%2037.5998%209.66938%2037.7671%209.82815%2037.9015C11.7725%2039.5462%2014.0116%2040.8066%2016.4263%2041.6157C16.6164%2041.68%2016.818%2041.7039%2017.0179%2041.6856C17.2178%2041.6673%2017.4117%2041.6074%2017.5871%2041.5097L22.9992%2038.4801L28.4114%2041.5079C28.6256%2041.6272%2028.867%2041.6891%2029.1122%2041.6875C29.2692%2041.6875%2029.4252%2041.662%2029.574%2041.6121C31.9867%2040.7982%2034.2231%2039.5342%2036.1649%2037.8872C36.3235%2037.7529%2036.451%2037.5859%2036.5388%2037.3976C36.6266%2037.2093%2036.6726%2037.0042%2036.6735%2036.7965L36.7004%2030.75L42.0605%2027.6953C42.2398%2027.5932%2042.3951%2027.4537%2042.5157%2027.2863C42.6363%2027.1188%2042.7194%2026.9274%2042.7595%2026.725C43.2473%2024.2618%2043.2455%2021.7268%2042.7541%2019.2643ZM40.0588%2025.5372L34.9251%2028.4572C34.7002%2028.5851%2034.5139%2028.7713%2034.386%2028.9962C34.2818%2029.1759%2034.1722%2029.3664%2034.0608%2029.5461C33.9182%2029.7727%2033.8422%2030.0348%2033.8416%2030.3025L33.8146%2036.0975C32.4348%2037.1811%2030.8975%2038.0476%2029.256%2038.667L24.0774%2035.7812C23.8624%2035.6623%2023.6205%2035.6004%2023.3748%2035.6015H23.3406C23.1232%2035.6015%2022.904%2035.6015%2022.6866%2035.6015C22.4294%2035.5951%2022.1752%2035.6571%2021.9499%2035.7812L16.7677%2038.6742C15.1227%2038.0595%2013.5811%2037.1973%2012.1964%2036.1172L12.1767%2030.3313C12.1758%2030.063%2012.0998%2029.8004%2011.9574%2029.573C11.846%2029.3933%2011.7364%2029.2136%2011.634%2029.0232C11.507%2028.7948%2011.3208%2028.6048%2011.0949%2028.4733L5.95588%2025.5462C5.68995%2023.864%205.68995%2022.1505%205.95588%2020.4683L11.0806%2017.5429C11.3055%2017.415%2011.4917%2017.2288%2011.6196%2017.0039C11.7239%2016.8242%2011.8335%2016.6337%2011.9449%2016.454C12.0875%2016.2274%2012.1634%2015.9653%2012.1641%2015.6975L12.191%209.90263C13.5709%208.81901%2015.1082%207.95251%2016.7497%207.33309L21.9211%2010.2189C22.1462%2010.3436%2022.4006%2010.4057%2022.6578%2010.3986C22.8753%2010.3986%2023.0945%2010.3986%2023.3119%2010.3986C23.5691%2010.405%2023.8233%2010.343%2024.0486%2010.2189L29.2308%207.32591C30.8758%207.94057%2032.4173%208.80283%2033.8021%209.88286L33.8218%2015.6688C33.8227%2015.9371%2033.8986%2016.1997%2034.041%2016.4271C34.1524%2016.6068%2034.2621%2016.7865%2034.3645%2016.9769C34.4915%2017.2053%2034.6777%2017.3953%2034.9035%2017.5268L40.0426%2020.4539C40.3121%2022.1374%2040.3151%2023.8528%2040.0516%2025.5372H40.0588Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:var(--900, rgba(28, 27, 30, .67));display:flex;flex-direction:column;justify-content:center;align-content:center;align-items:center;padding-top:var(--overlay-padding-top, 50px);z-index:1000;gap:60px;user-select:none;-webkit-user-select:none;-ms-user-select:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.overlay.dialog{background:var(--900, rgba(30, 30, 30, .67))}.popup-title{position:absolute;color:#fff;top:50px;font-size:2.7rem;text-align:center}.overlay-close{width:5rem;height:3rem;position:absolute;right:50px;top:65px;border-radius:50%;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='248'%20height='121'%20viewBox='0%200%20248%20121'%20fill='none'%3e%3cg%20opacity='0.1'%20filter='url(%23filter0_f_811_7791)'%3e%3cellipse%20cx='134'%20cy='60.3962'%20rx='87'%20ry='13.3962'%20fill='%23D9D9D9'/%3e%3c/g%3e%3cg%20opacity='0.2'%20filter='url(%23filter1_f_811_7791)'%3e%3cellipse%20cx='134.001'%20cy='60.3961'%20rx='45.7585'%20ry='5.44679'%20fill='%23D9D9D9'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_f_811_7791'%20x='0.400002'%20y='0.400002'%20width='267.2'%20height='119.992'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='23.3'%20result='effect1_foregroundBlur_811_7791'/%3e%3c/filter%3e%3cfilter%20id='filter1_f_811_7791'%20x='41.6422'%20y='8.34934'%20width='184.718'%20height='104.094'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='23.3'%20result='effect1_foregroundBlur_811_7791'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center;background-size:150%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1005}.overlay-close img{width:1.8rem;height:1.8rem;display:block}.overlay-content{flex:1;display:flex;position:relative;z-index:1001;width:80%;max-height:calc(85vh - var(--overlay-padding-top, 100px));overflow-y:scroll;padding:10px;justify-content:center;margin-bottom:100px;scrollbar-color:#48464A #1C1B1E;box-sizing:border-box}.overlay-content::-webkit-scrollbar{width:10px}.overlay-content::-webkit-scrollbar-track{background:#0000000f}.overlay-content::-webkit-scrollbar-thumb{background:#ffffff2e;border-radius:30px}.overlay-bet-controller{width:300px;position:absolute;display:flex;gap:10px;bottom:80px;align-self:center}.bet-amount{padding:10px 5px;width:200px;border-radius:8px;border:1.698px solid #AEAAAF;text-align:center;background-color:#313033b3;color:#fff}.increase-bet,.decrease-bet{padding:10px 5px;border-radius:8px;border:1.698px solid #AEAAAF;width:40px;background-repeat:no-repeat;background-position:center;background-size:60%;background-color:#313033b3;cursor:pointer}.increase-bet{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M14.999%200.333496C16.4718%200.333496%2017.666%201.52773%2017.666%203.00049V12.3335H26.999C28.4718%2012.3335%2029.666%2013.5277%2029.666%2015.0005C29.6659%2016.4731%2028.4717%2017.6665%2026.999%2017.6665H17.666V27.0005C17.6659%2028.4731%2016.4717%2029.6665%2014.999%2029.6665C13.5263%2029.6665%2012.3322%2028.4731%2012.332%2027.0005V17.6665H2.99902C1.52635%2017.6665%200.332163%2016.4731%200.332031%2015.0005C0.332031%2013.5277%201.52626%2012.3335%202.99902%2012.3335H12.332V3.00049C12.332%201.52773%2013.5263%200.333496%2014.999%200.333496Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.decrease-bet{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M2.99902%2012.3335C1.52635%2012.3335%200.332163%2013.5277%200.332031%2015.0005C0.332031%2016.4731%201.52626%2017.6665%202.99902%2017.6665H26.999C28.4718%2017.6665%2029.666%2016.4731%2029.666%2015.0005C29.666%2013.5277%2028.4718%2012.3335%2026.999%2012.3335H2.99902Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}@media screen and (orientation: portrait){.overlay{--overlay-bottom-gap: 50px}.overlay .overlay-content{width:90%;justify-self:flex-start;max-height:calc(72vh - var(--overlay-padding-top, 100px) + var(--overlay-bottom-gap) * .2);margin-bottom:calc(var(--overlay-bottom-gap) * 3)}.overlay .overlay-close{top:auto;bottom:calc(var(--overlay-bottom-gap) * 1.3);right:auto;z-index:1005}.overlay .overlay-bet-controller{bottom:calc(var(--overlay-bottom-gap) * 2.8)}}@media screen and (max-width: 935px) and (orientation: landscape){.overlay .overlay-content{margin-top:30px;width:90%;max-height:calc(95vh - var(--overlay-padding-top, 100px) - 40px)}.overlay .overlay-close{width:2.7rem;height:1.4rem;top:60px}.overlay .overlay-close img{width:1rem;height:1rem}.overlay .overlay-bet-controller{bottom:65px}.overlay .popup-title{font-size:1.8rem}}.bet-popup-container{display:flex;width:80%;height:max-content;flex-wrap:wrap;align-self:center;justify-self:center;justify-content:center;user-select:none;-webkit-user-select:none;-ms-user-select:none;gap:30px}@media screen and (orientation: portrait){.bet-popup-container{width:100%;gap:15px}}@media screen and (max-width: 935px) and (orientation: landscape){.bet-popup-container{gap:15px}}.rectLabel{width:100px;height:40px;color:#fff;background:var(--800, rgba(49, 48, 51, .7));border:1px solid rgba(255,255,255,.12);padding:5px;text-align:center;border-radius:5px;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;transition:background .16s ease,transform .16s ease,box-shadow .16s ease,border-color .16s ease;will-change:transform,box-shadow}.rectLabel:focus-visible{outline:none;box-shadow:0 0 0 4px #d4a0172e;border-color:#d4a017e6}.rectLabel:hover,.rectLabel:focus{background:#ffffff0f;transform:translateY(-4px) scale(1.03);border-color:#ffffffe6;box-shadow:0 8px 24px #00000073}.rectLabel:active{transform:translateY(0) scale(.985);box-shadow:0 4px 12px #00000059}.rectLabel span{display:block;font-size:22px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:transform .16s ease}.rectLabel:hover span,.rectLabel:focus span{transform:scale(1.03)}.rectLabel.current-active{background:var(--Mustard-Yellow, #f6d923);color:#0c0c0c}@media (prefers-reduced-motion: reduce){.rectLabel{transition:none;transform:none}.rectLabel:hover{transform:none;box-shadow:none}.rectLabel span{transition:none;transform:none}}@media screen and (orientation: portrait){.rectLabel{width:70px;height:25px}.rectLabel span{font-size:14px;width:100%}}@media screen and (max-width: 935px) and (orientation: landscape){.rectLabel{width:70px;height:25px}.rectLabel span{font-size:14px;width:100%}}.autoplay-wrap{width:100%;max-width:760px;margin:0 auto;color:#fff;text-align:center;padding:18px 12px 28px;box-sizing:border-box;font-family:Helvetica Neue,Arial,sans-serif;--ap-limit-h: 48px}.ap-title{font-size:22px;font-weight:800;margin:4px 0 18px;color:#fff}.autoplay-count{display:flex;width:100%;flex-wrap:wrap;justify-content:center;gap:18px;margin-bottom:22px}.ap-switch-row{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:18px;flex-wrap:wrap}.ap-switch-label{font-size:18px;font-weight:700}.ap-switch-control{display:flex;align-items:center;gap:10px}.ap-switch-text{font-weight:700;font-size:18px}.ap-tabs{display:flex;gap:8px;justify-content:center;margin:12px 0 6px}.ap-tab{background:#ffffff0f;color:#ddd;padding:10px 18px;border-radius:10px 10px 0 0;border:1px solid rgba(255,255,255,.12);font-weight:700;cursor:pointer;min-width:140px}.ap-tab--active{background:#f0d35c;color:#111;box-shadow:0 4px #00000014}.ap-limits-panel{display:flex;justify-content:center;margin-top:6px}.ap-limits-inner{width:100%;max-width:620px;border:2px solid rgba(255,255,255,.12);border-radius:12px;padding:18px;box-sizing:border-box;background:#00000059;position:relative}.ap-limits-inner:before{display:none;content:none}.ap-limit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:center;justify-items:center}.ap-limit-grid>*{min-width:0}.ap-limit{background:#00000073;color:#eee;border:2px solid rgba(255,255,255,.12);padding:0 18px;width:100%;max-width:200px;text-align:center;border-radius:12px;font-weight:800;cursor:pointer;transition:all .12s ease;box-shadow:inset 0 -6px #0000001f;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-family:inherit;font-size:14px;line-height:1;vertical-align:middle;outline:none;height:var(--ap-limit-h)}.ap-limit--active{background:linear-gradient(180deg,#f0d35c,#d4a017);color:#222;border-color:#00000026;transform:translateY(-2px)}button.ap-limit:focus,input.ap-limit:focus{outline:none;box-shadow:0 0 0 3px #d4a01726}input.ap-limit,input[type=number].ap-limit{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;max-width:200px;padding:0 18px;background:#00000073;color:#eee;border:2px solid rgba(255,255,255,.12);border-radius:12px;font-weight:800;font-family:inherit;font-size:14px;line-height:1;text-align:center;outline:none;height:var(--ap-limit-h)}input.ap-limit::-webkit-outer-spin-button,input.ap-limit::-webkit-inner-spin-button,input[type=number].ap-limit::-webkit-outer-spin-button,input[type=number].ap-limit::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input.ap-limit::-ms-clear,input.ap-limit::-ms-expand,input[type=number].ap-limit::-ms-clear,input[type=number].ap-limit::-ms-expand{display:none}input.ap-limit.ap-limit--active{background:linear-gradient(180deg,#f0d35c,#d4a017);color:#222;border-color:#00000026;transform:translateY(-2px)}.ap-start-row{margin-top:22px;display:flex;justify-content:center}.ap-start-btn{background:linear-gradient(180deg,#f0d35c,#d4a017);color:#111;border:2px solid #c89b2f;padding:14px 48px;border-radius:14px;font-size:26px;font-weight:900;cursor:pointer;box-shadow:0 6px #00000047,inset 0 -6px #0000000f;transition:transform .08s ease,box-shadow .08s ease}.ap-start-btn:active{transform:translateY(2px);box-shadow:0 4px #0000003d}.ap-start-btn--disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 880px){.autoplay-wrap{padding:14px 10px}.ap-title{font-size:20px}.ap-toggle{width:60px;height:34px}.ap-toggle__knob{width:28px;height:28px}.ap-tab{min-width:120px;padding:8px 12px}.ap-limit-grid{gap:10px}.ap-start-btn{font-size:22px;padding:12px 40px;border-radius:12px}}@media screen and (orientation: portrait) and (max-width: 420px){.ap-title{font-size:18px}.autoplay-count{gap:12px}.ap-limit-grid{grid-template-columns:repeat(2,1fr)}.ap-limit{font-size:13px;padding:10px 12px;border-radius:10px;height:44px}.ap-tab{min-width:110px;padding:8px 10px}.ap-start-btn{font-size:18px;padding:10px 28px;border-radius:10px}.autoplay-wrap{--ap-limit-h: 44px}}@media screen and (orientation: landscape) and (max-height: 420px),screen and (orientation: landscape) and (min-aspect-ratio: 2.2/1){.autoplay-wrap{padding:10px 6px}.ap-title{font-size:18px;margin-bottom:8px}.autoplay-count{gap:12px;margin-bottom:12px}.ap-toggle{width:56px;height:32px}.ap-toggle__knob{width:26px;height:26px}.ap-switch-text{font-size:16px}.ap-tab{padding:8px 10px;min-width:110px;font-size:13px}.ap-limits-inner{padding:12px}.ap-limit-grid{gap:8px}.ap-limit{padding:0 18px;font-size:12px;border-radius:9px}.ap-start-btn{padding:10px 36px;font-size:20px;border-radius:12px}.autoplay-wrap{--ap-limit-h: 40px}}@media screen and (orientation: landscape) and (max-height: 360px){.ap-title{display:none}.ap-limit-grid{grid-template-columns:repeat(3,1fr);gap:6px}.autoplay-count{gap:8px}.ap-limits-inner{padding:8px}.ap-limit{padding:0 12px;font-size:11px}.ap-start-btn{padding:8px 28px;font-size:16px;border-radius:10px}.autoplay-wrap{--ap-limit-h: 36px}}.ap-toggle{width:68px;height:38px;border-radius:999px;background:linear-gradient(180deg,#f0d35c,#d4a017);border:none;position:relative;padding:4px;display:inline-flex;align-items:center;transition:background .12s ease;cursor:pointer;box-shadow:inset 0 -6px #0000000f}.ap-toggle--off{background:linear-gradient(180deg,#efefef,#ddd)}.ap-toggle--on{background:linear-gradient(180deg,#f0d35c,#d4a017)}.ap-toggle--on .ap-toggle__knob{margin-left:auto}.ap-toggle__knob{width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 4px 8px #00000040;display:block;transition:transform .12s ease}@media (max-width: 880px){.ap-toggle{width:60px;height:34px}.ap-toggle__knob{width:28px;height:28px}}@media (max-width: 1000px){.ap-toggle{width:50px;height:30px}.ap-toggle__knob{width:24px;height:24px}}@media (max-width: 750px){.ap-toggle{width:38px;height:23px}.ap-toggle__knob{width:18px;height:18px}}.sp-wrap{width:100%;max-width:760px;margin:0 auto;color:#fff;text-align:center;padding:20px 12px;box-sizing:border-box;font-family:Helvetica Neue,Arial,sans-serif;--sp-switch-w: 54px;--sp-switch-h: 54px;--action-width: 45%;--action-max: 280px;--action-bg: rgba(41, 40, 40, .3);--action-icon-size: 43px;--content-max: 620px;--row-gap: 6px}.sp-actions{display:flex;flex-direction:column;gap:10px;align-items:center;margin-bottom:18px}.sp-action{width:var(--action-width);max-width:var(--action-max);background:var(--action-bg);color:#fff;border-radius:6px;border:1.6px solid rgba(255,255,255,.12);padding:10px 12px;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;box-sizing:border-box;transition:transform .08s ease,background .08s ease}.sp-action:hover{background:#1c1c1cde}.sp-action__icon{position:absolute;left:-1px;top:50%;transform:translateY(-50%);width:var(--action-icon-size);height:var(--action-icon-size);display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:2px solid rgba(255,255,255,.12);background:#0e0e0e59;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:60% 60%}.sp-action--history .sp-action__icon{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='43'%20height='43'%20viewBox='0%200%2043%2043'%20fill='none'%3e%3cpath%20d='M22.7389%2013.6409V20.8183L28.7027%2024.3962C29.0031%2024.5766%2029.2195%2024.869%2029.3043%2025.209C29.3892%2025.549%2029.3355%2025.9087%2029.1551%2026.2091C28.9746%2026.5095%2028.6823%2026.7259%2028.3423%2026.8108C28.0023%2026.8956%2027.6425%2026.8419%2027.3421%2026.6615L20.7377%2022.6989C20.5423%2022.5814%2020.3805%2022.4154%2020.2683%2022.2169C20.156%2022.0184%2020.097%2021.7943%2020.0971%2021.5662V13.6409C20.0971%2013.2906%2020.2363%2012.9546%2020.484%2012.7069C20.7317%2012.4592%2021.0677%2012.32%2021.418%2012.32C21.7683%2012.32%2022.1043%2012.4592%2022.352%2012.7069C22.5997%2012.9546%2022.7389%2013.2906%2022.7389%2013.6409ZM37.2686%209.67828C36.9183%209.67828%2036.5823%209.81744%2036.3346%2010.0652C36.0869%2010.3129%2035.9477%2010.6488%2035.9477%2010.9992V13.9711C34.8993%2012.7559%2033.8293%2011.5853%2032.6257%2010.3668C30.4229%208.16373%2027.6197%206.65867%2024.5664%206.03966C21.5131%205.42066%2018.345%205.71516%2015.4581%206.88637C12.5713%208.05758%2010.0935%2010.0536%208.33454%2012.6249C6.57555%2015.1963%205.61332%2018.2289%205.56808%2021.344C5.52283%2024.4591%206.39658%2027.5185%208.08014%2030.1398C9.76371%2032.7612%2012.1824%2034.8283%2015.0341%2036.0828C17.8857%2037.3374%2021.0439%2037.7238%2024.1139%2037.1937C27.1839%2036.6636%2030.0296%2035.2406%2032.2955%2033.1025C32.4217%2032.9832%2032.5231%2032.8403%2032.5941%2032.6818C32.665%2032.5233%2032.7041%2032.3525%2032.709%2032.1789C32.7139%2032.0053%2032.6846%2031.8325%2032.6227%2031.6703C32.5608%2031.5081%2032.4675%2031.3596%2032.3483%2031.2334C32.229%2031.1072%2032.0861%2031.0058%2031.9276%2030.9348C31.7692%2030.8639%2031.5983%2030.8248%2031.4247%2030.8199C31.2512%2030.815%2031.0783%2030.8443%2030.9161%2030.9062C30.7539%2030.9681%2030.6054%2031.0613%2030.4792%2031.1806C28.5905%2032.9606%2026.2191%2034.1447%2023.6614%2034.5851C21.1036%2035.0255%2018.4728%2034.7026%2016.0975%2033.6568C13.7222%2032.611%2011.7075%2030.8885%2010.3053%2028.7046C8.90297%2026.5207%208.17513%2023.972%208.21265%2021.3769C8.25016%2018.7818%209.05136%2016.2553%2010.5162%2014.1128C11.981%2011.9703%2014.0446%2010.3068%2016.4492%209.33008C18.8537%208.35335%2021.4928%208.10665%2024.0367%208.62078C26.5807%209.13492%2028.9168%2010.3871%2030.7533%2012.221C32.0973%2013.5815%2033.2746%2014.8925%2034.4617%2016.2827H30.6642C30.3138%2016.2827%2029.9779%2016.4219%2029.7302%2016.6696C29.4824%2016.9173%2029.3433%2017.2533%2029.3433%2017.6036C29.3433%2017.9539%2029.4824%2018.2899%2029.7302%2018.5376C29.9779%2018.7853%2030.3138%2018.9245%2030.6642%2018.9245H37.2686C37.6189%2018.9245%2037.9549%2018.7853%2038.2026%2018.5376C38.4503%2018.2899%2038.5895%2017.9539%2038.5895%2017.6036V10.9992C38.5895%2010.6488%2038.4503%2010.3129%2038.2026%2010.0652C37.9549%209.81744%2037.6189%209.67828%2037.2686%209.67828Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.sp-action--paytable .sp-action__icon{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='30'%20viewBox='0%200%207%2030'%20fill='none'%3e%3cpath%20d='M6.06088%2026.6397C6.06088%2027.1622%205.90594%2027.673%205.61566%2028.1074C5.32538%2028.5418%204.91279%2028.8804%204.43007%2029.0804C3.94735%2029.2803%203.41618%2029.3326%202.90373%2029.2307C2.39128%2029.1288%201.92056%2028.8772%201.5511%2028.5077C1.18164%2028.1383%200.930039%2027.6675%200.828106%2027.1551C0.726173%2026.6426%200.778488%2026.1115%200.978437%2025.6287C1.17839%2025.146%201.51699%2024.7334%201.95142%2024.4432C2.38586%2024.1529%202.89662%2023.9979%203.41911%2023.9979C4.11975%2023.9979%204.79169%2024.2763%205.28712%2024.7717C5.78255%2025.2671%206.06088%2025.9391%206.06088%2026.6397ZM3.41911%2020.0353C3.76943%2020.0353%204.1054%2019.8961%204.35312%2019.6484C4.60083%2019.4007%204.73999%2019.0647%204.73999%2018.7144V1.54293C4.73999%201.19261%204.60083%200.856637%204.35312%200.608924C4.1054%200.36121%203.76943%200.222046%203.41911%200.222046C3.06879%200.222046%202.73282%200.36121%202.48511%200.608924C2.23739%200.856637%202.09823%201.19261%202.09823%201.54293V18.7144C2.09823%2019.0647%202.23739%2019.4007%202.48511%2019.6484C2.73282%2019.8961%203.06879%2020.0353%203.41911%2020.0353Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.sp-action__label{display:inline-block;width:100%;font-weight:800;font-size:16px;letter-spacing:.3px;text-align:center;pointer-events:none}.sp-section-title{margin:18px 0 8px;font-size:23px;font-weight:800;color:#fff}.sp-rows{width:35%;max-width:var(--content-max);margin:0 auto;display:flex;flex-direction:column;box-sizing:border-box}.sp-row{display:grid;grid-template-columns:var(--sp-switch-w) 1fr;align-items:center;column-gap:var(--row-gap);width:100%;box-sizing:border-box}.sp-switch{width:var(--sp-switch-w);height:var(--sp-switch-h);min-height:var(--sp-switch-h);display:flex;align-items:center;justify-content:center;box-sizing:border-box;justify-self:end}.sp-label{font-size:16px;font-weight:700;color:#fff;display:flex;align-items:center;height:var(--sp-switch-h);min-height:var(--sp-switch-h);box-sizing:border-box;justify-content:flex-start;padding-left:8px;justify-self:start}@media (max-width: 880px){.sp-action{width:92%}.sp-action__icon{left:10px;width:44px;height:44px}.sp-action__label{font-size:18px}.sp-section-title{font-size:20px}.sp-label{font-size:16px}.sp-switch{width:60px;--sp-switch-h: 52px;justify-self:end}.sp-row{grid-template-columns:60px 1fr;column-gap:6px}}@media screen and (orientation: portrait) and (max-width: 420px){.sp-action{width:80%;max-width:360px;padding:10px}.sp-action__icon{left:-1px;width:40px;height:40px;border-radius:6px}.sp-action__label{font-size:16px}.sp-section-title{font-size:18px;margin-top:12px;margin-bottom:6px}.sp-label{font-size:15px}.sp-switch{width:56px;--sp-switch-h: 48px;justify-self:end}.sp-row{grid-template-columns:56px 1fr;column-gap:6px}.sp-rows{width:75%}}@media screen and (orientation: landscape) and (max-height: 420px),screen and (orientation: landscape) and (min-aspect-ratio: 2.2/1){.sp-action{width:60%;max-width:560px;padding:8px 10px}.sp-action__icon{left:-1px;width:40px;height:40px}.sp-action__label{font-size:18px}.sp-section-title{font-size:18px;margin-top:12px;margin-bottom:6px}.sp-label{font-size:15px}.sp-switch{width:56px;--sp-switch-h: 42px;justify-self:end}.sp-row{grid-template-columns:56px 1fr;column-gap:6px}}:root{--item-border: 1.6px solid rgba(49, 48, 51, .7);--bg: var(--800, rgba(49, 48, 51, .7));--muted: #aaaaaa;--accent: rgba(212,160,23,.12)}.history-wrap{width:90%;max-width:850px;margin:0 auto;display:flex;flex-direction:column;user-select:none;-webkit-user-select:none;-ms-user-select:none;box-sizing:border-box}.history-item{width:100%;display:grid;grid-template-columns:minmax(140px,35%) minmax(80px,1fr) minmax(80px,1fr) 36px;align-items:center;gap:8px;min-height:60px;padding:12px 14px;border-radius:8px;border:var(--item-border);color:var(--10, #FFFBFF);box-sizing:border-box;overflow:hidden;background-color:transparent;transition:min-height .33s;will-change:min-height}.history-item.active{min-height:120px;align-items:flex-start}.additional-info{position:absolute;justify-self:center;align-self:flex-end}.additional-button{width:90px;border-radius:8.185px;border:1.698px solid var(--300, #AEAAAF);background:#fbde38;cursor:pointer;font-weight:800;padding:10px 5px;margin:5px}.additional-button.replay{background:var(--900, #1C1B1E);box-shadow:0 0 1.395px #000;color:var(--10, #FFFBFF);font-style:normal;font-weight:800}.additional-button.replay:hover{background:#17171740}.additional-button:hover{background:#ffe116cc}.replay-icon{position:absolute;width:34px;height:34px;right:97%;bottom:15%;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='43'%20height='46'%20viewBox='0%200%2043%2046'%20fill='none'%3e%3cpath%20d='M1.02539%2038.2767V6.98965C1.02539%204.40975%201.02539%203.11836%201.55901%202.35504C2.02474%201.68882%202.74259%201.2514%203.53954%201.14682C4.45233%201.02704%205.57185%201.63451%207.80768%202.84772L36.6373%2018.4912L36.6478%2018.4959C39.1187%2019.8367%2040.3547%2020.5074%2040.7601%2021.4013C41.1138%2022.1811%2041.1138%2023.0812%2040.7601%2023.861C40.3541%2024.7562%2039.1152%2025.4296%2036.6373%2026.7741L7.80768%2042.4177C5.57025%2043.6317%204.45265%2044.2369%203.53954%2044.117C2.74259%2044.0125%202.02474%2043.5751%201.55901%2042.9089C1.02539%2042.1456%201.02539%2040.8566%201.02539%2038.2767Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e");background-size:60% 60%;background-repeat:no-repeat;background-position:center}.history-item--head{color:#ddd;font-weight:700;border:none;text-transform:uppercase;font-size:12px;letter-spacing:.6px}.history-item:nth-child(2n):not(.history-item--head){background-color:var(--bg)}.history-item:nth-child(odd):not(.history-item--head){background-color:transparent;border:none}.date-section{justify-self:start;text-align:left;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bet-section,.win-section{justify-self:center;text-align:center;font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.currency{font-weight:400;margin-left:4px;color:var(--muted);font-size:13px}.vector{width:24px;height:24px;justify-self:end;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='35'%20height='21'%20viewBox='0%200%2035%2021'%20fill='none'%3e%3cpath%20d='M17.2271%2013.6183L30.3907%200.694336L34.1517%204.38692L17.2271%2021.0037L0.302734%204.38692L4.06372%200.694336L17.2271%2013.6183Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:115% 115%;background-repeat:no-repeat;background-position:center;cursor:pointer}.vector.up{transform:rotate(180deg)}@media screen and (orientation: portrait) and (max-width: 850px){.history-wrap{width:100%}.history-item{grid-template-columns:1fr 88px 88px 10px;padding:9px 10px;border-radius:6px}.date-section,.bet-section,.win-section{font-size:12px}.vector{width:15px;height:15px}}@media screen and (orientation: portrait) and (max-width: 400px){.history-wrap{width:100%}.history-item{grid-template-columns:1fr 50px 80px 10px;padding:9px 10px;border-radius:6px}.date-section,.bet-section,.win-section{font-size:12px}.vector{width:15px;height:15px}}:root{--sf-card-w: 220px;--sf-card-h: 340px;--sf-card-image-w: 200px;--sf-card-image-h: 120px;--gap: -10px;--btn-overlap: 20px;--btn-h: 37px;--bottom-row-h: 56px}.sf-wrap{width:100%;margin:0 auto;color:#fff;padding:2px;box-sizing:border-box;text-align:center;font-family:Helvetica Neue,Arial,sans-serif}.sf-section-title{font-size:34px;font-weight:900;margin:18px 0 20px;color:#fff}.sf-grid{display:grid;grid-template-columns:repeat(auto-fit,var(--sf-card-w));justify-content:center;gap:calc(var(--gap) + var(--btn-overlap));margin-bottom:36px;row-gap:40px;box-sizing:border-box}.sf-card{position:relative;width:var(--sf-card-w);height:var(--sf-card-h);background:#21212270;border:1.6px solid rgba(255,255,255,.12);border-radius:10px;box-sizing:border-box;justify-content:center;display:flex;flex-direction:column;align-items:center;transition:transform .12s ease}.sf-card__content{width:100%;display:flex;flex-direction:column;align-items:center}.sf-card__description{width:100%;height:50%;padding:10px;font-size:12px;box-sizing:border-box;flex:0 1 auto;overflow:auto}.sf-card__title{font-weight:800;width:80%;position:absolute;left:18px;right:18px;top:calc(var(--btn-overlap) - 2px);font-size:16px;color:#fff;text-transform:uppercase;line-height:1.05;text-align:center;display:flex;flex-direction:column;gap:6px;flex:0 0 auto;padding:0 6px}.sf-card__image-wrap{width:var(--sf-card-image-w);height:max-content;min-height:var(--sf-card-image-h);display:flex;align-items:center;justify-content:center;padding:10px;flex:0 0 auto;box-sizing:border-box}.sf-card__image-wrap img{max-width:100%;max-height:100%;object-fit:contain;display:block;border-radius:2px}.sf-card__bottom{position:absolute;left:8px;right:8px;bottom:calc(var(--btn-overlap) - 22px);height:var(--bottom-row-h);display:block;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;padding:6px 8px;background:transparent;z-index:1}.sf-card__bottom.ante{display:flex}.sf-card__price{font-weight:900;font-size:17px;color:#fff;white-space:nowrap}.sf-card__toggle{width:70px;display:flex;align-items:center;justify-content:center}.sf-buy-btn{position:absolute;left:50%;transform:translate(-50%);bottom:calc(-1 * var(--btn-overlap));width:calc(100% - 10px);height:var(--btn-h);display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f0d35c,#d4a017);color:#111;border:1px solid rgba(200,155,47,.7);padding:0 28px;border-radius:calc(var(--btn-h) / 2);font-weight:900;font-size:20px;cursor:pointer;z-index:2;box-sizing:border-box}@media screen and (max-width: 1000px) and (orientation: landscape){:root{--sf-card-w: 177px;--sf-card-h: 250px;--sf-card-image-w: 150px;--sf-card-image-h: 100px;--btn-h: 52px;--btn-overlap: 18px;--bottom-row-h: 52px}.sf-section-title{font-size:20px}.sf-card__title{font-size:10px;left:7px;right:7px}.sf-card__price{font-size:12px}.sf-buy-btn{height:calc(var(--btn-h) - 20px);font-size:18px}}@media (max-width: 750px) and (orientation: landscape){:root{--sf-card-w: 125px;--sf-card-h: 195px;--sf-card-image-w: 120px;--sf-card-image-h: 80px;--btn-h: 52px;--btn-overlap: 18px;--bottom-row-h: 52px}.sf-section-title{font-size:20px}.sf-card__price{font-size:12px}.sf-card__bottom{left:5px;right:0}.sf-card__bottom.ante .sf-card__price{font-size:9px}.sf-buy-btn{height:calc(var(--btn-h) - 20px);font-size:18px}}@media (max-width: 750px) and (orientation: portrait){:root{--sf-card-w: 125px;--sf-card-h: 195px;--sf-card-image-w: 120px;--sf-card-image-h: 80px;--btn-h: 52px;--btn-overlap: 18px;--bottom-row-h: 52px}.sf-card__title{font-size:10px;left:7px;right:7px}.sf-section-title{font-size:20px}.sf-card__price{font-size:12px}.sf-card__bottom{left:5px;right:0}.sf-card__bottom.ante .sf-card__price{font-size:9px}.sf-buy-btn{height:calc(var(--btn-h) - 20px);font-size:18px}}.dialogs-wrap{display:flex;width:35%;padding:18px 20px;flex-wrap:wrap;align-self:center;border-radius:6px;border:1.3px solid var(--300, #AEAAAF);background:var(--90080, rgba(18, 16, 18, .36));justify-self:center;justify-content:center;user-select:none;-webkit-user-select:none;-ms-user-select:none;box-sizing:border-box;gap:12px}.title{font-size:25px;font-weight:700;color:#fff;width:100%;text-align:center}.dialog-image{max-width:100%;width:120px;height:auto;display:block;margin:6px auto;border-radius:6px}.message{font-size:15px;margin-top:6px;color:#fff;width:100%;text-align:center}.additional-btns{width:100%;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.additional-btn{--fallback-bg: transparent;--fallback-color: #fff;background:var(--btn-bg, var(--fallback-bg));color:var(--btn-color, var(--fallback-color));border:2px solid rgba(255,255,255,.08);padding:10px 18px;border-radius:8px;font-weight:700;cursor:pointer;min-width:96px;box-sizing:border-box;transition:transform .08s ease,box-shadow .08s ease,filter .08s ease;display:inline-flex;align-items:center;justify-content:center}.additional-btn:hover{background:var(--btn-bg);opacity:.8}.additional-btn[style*=transparent]{background:transparent;box-shadow:none}@media screen and (orientation: portrait){.dialogs-wrap{width:85%}.title{font-size:20px}.message{font-size:14px}.additional-btn{min-width:80px;padding:8px 12px}}@media screen and (max-width: 935px) and (orientation: landscape){.dialogs-wrap{width:45%}}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as m, jsx as c, Fragment as Fn } from "react/jsx-runtime";
|
|
3
|
-
import de, { useState as mt, forwardRef as Ut, memo as $t, useMemo as ot, useRef as st, useEffect as $e, useCallback as
|
|
4
|
-
import { createRoot as
|
|
3
|
+
import de, { useState as mt, forwardRef as Ut, memo as $t, useMemo as ot, useRef as st, useEffect as $e, useCallback as Mr } from "react";
|
|
4
|
+
import { createRoot as kr } from "react-dom/client";
|
|
5
5
|
import { unstable_batchedUpdates as Ir } from "react-dom";
|
|
6
6
|
var Ur = {
|
|
7
7
|
0: "Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",
|
|
@@ -97,13 +97,13 @@ Object.freeze(ut);
|
|
|
97
97
|
var Gn = {};
|
|
98
98
|
Object.freeze(Gn);
|
|
99
99
|
var Kr = typeof Proxy < "u", Gr = /* @__PURE__ */ Object.toString();
|
|
100
|
-
function
|
|
100
|
+
function Hn() {
|
|
101
101
|
Kr || p(process.env.NODE_ENV !== "production" ? "`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`" : "Proxy not available");
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Me(e) {
|
|
104
104
|
process.env.NODE_ENV !== "production" && l.verifyProxies && p("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to " + e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Y() {
|
|
107
107
|
return ++l.mobxGuid;
|
|
108
108
|
}
|
|
109
109
|
function en(e) {
|
|
@@ -113,9 +113,9 @@ function en(e) {
|
|
|
113
113
|
return t = !0, e.apply(this, arguments);
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var we = function() {
|
|
117
117
|
};
|
|
118
|
-
function
|
|
118
|
+
function C(e) {
|
|
119
119
|
return typeof e == "function";
|
|
120
120
|
}
|
|
121
121
|
function ge(e) {
|
|
@@ -131,7 +131,7 @@ function ge(e) {
|
|
|
131
131
|
function Ot(e) {
|
|
132
132
|
return e !== null && typeof e == "object";
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function R(e) {
|
|
135
135
|
if (!Ot(e))
|
|
136
136
|
return !1;
|
|
137
137
|
var t = Object.getPrototypeOf(e);
|
|
@@ -140,11 +140,11 @@ function T(e) {
|
|
|
140
140
|
var r = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
141
141
|
return typeof r == "function" && r.toString() === Gr;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function qn(e) {
|
|
144
144
|
var t = e?.constructor;
|
|
145
145
|
return t ? t.name === "GeneratorFunction" || t.displayName === "GeneratorFunction" : !1;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function He(e, t, r) {
|
|
148
148
|
re(e, t, {
|
|
149
149
|
enumerable: !1,
|
|
150
150
|
writable: !0,
|
|
@@ -152,7 +152,7 @@ function qe(e, t, r) {
|
|
|
152
152
|
value: r
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function zn(e, t, r) {
|
|
156
156
|
re(e, t, {
|
|
157
157
|
enumerable: !1,
|
|
158
158
|
writable: !1,
|
|
@@ -166,27 +166,27 @@ function Ne(e, t) {
|
|
|
166
166
|
return Ot(n) && n[r] === !0;
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Te(e) {
|
|
170
170
|
return e != null && Object.prototype.toString.call(e) === "[object Map]";
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Hr(e) {
|
|
173
173
|
var t = Object.getPrototypeOf(e), r = Object.getPrototypeOf(t), n = Object.getPrototypeOf(r);
|
|
174
174
|
return n === null;
|
|
175
175
|
}
|
|
176
176
|
function se(e) {
|
|
177
177
|
return e != null && Object.prototype.toString.call(e) === "[object Set]";
|
|
178
178
|
}
|
|
179
|
-
var
|
|
180
|
-
function
|
|
179
|
+
var Wn = typeof Object.getOwnPropertySymbols < "u";
|
|
180
|
+
function qr(e) {
|
|
181
181
|
var t = Object.keys(e);
|
|
182
|
-
if (!
|
|
182
|
+
if (!Wn)
|
|
183
183
|
return t;
|
|
184
184
|
var r = Object.getOwnPropertySymbols(e);
|
|
185
185
|
return r.length ? [].concat(t, r.filter(function(n) {
|
|
186
186
|
return yt.propertyIsEnumerable.call(e, n);
|
|
187
187
|
})) : t;
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var Le = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Wn ? function(e) {
|
|
190
190
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
191
191
|
} : (
|
|
192
192
|
/* istanbul ignore next */
|
|
@@ -195,22 +195,22 @@ var je = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Hn ? functi
|
|
|
195
195
|
function Ft(e) {
|
|
196
196
|
return typeof e == "string" ? e : typeof e == "symbol" ? e.toString() : new String(e).toString();
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Zn(e) {
|
|
199
199
|
return e === null ? null : typeof e == "object" ? "" + e : e;
|
|
200
200
|
}
|
|
201
201
|
function K(e, t) {
|
|
202
202
|
return yt.hasOwnProperty.call(e, t);
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var zr = Object.getOwnPropertyDescriptors || function(t) {
|
|
205
205
|
var r = {};
|
|
206
|
-
return
|
|
206
|
+
return Le(t).forEach(function(n) {
|
|
207
207
|
r[n] = at(t, n);
|
|
208
208
|
}), r;
|
|
209
209
|
};
|
|
210
|
-
function
|
|
210
|
+
function x(e, t) {
|
|
211
211
|
return !!(e & t);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function j(e, t, r) {
|
|
214
214
|
return r ? e |= t : e &= ~t, e;
|
|
215
215
|
}
|
|
216
216
|
function dn(e, t) {
|
|
@@ -218,21 +218,21 @@ function dn(e, t) {
|
|
|
218
218
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
219
219
|
return n;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Wr(e, t) {
|
|
222
222
|
for (var r = 0; r < t.length; r++) {
|
|
223
223
|
var n = t[r];
|
|
224
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e,
|
|
224
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Xr(n.key), n);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
return t &&
|
|
227
|
+
function Pe(e, t, r) {
|
|
228
|
+
return t && Wr(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
229
229
|
writable: !1
|
|
230
230
|
}), e;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function De(e, t) {
|
|
233
233
|
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
234
234
|
if (r) return (r = r.call(e)).next.bind(r);
|
|
235
|
-
if (Array.isArray(e) || (r =
|
|
235
|
+
if (Array.isArray(e) || (r = Yr(e)) || t) {
|
|
236
236
|
r && (e = r);
|
|
237
237
|
var n = 0;
|
|
238
238
|
return function() {
|
|
@@ -256,7 +256,7 @@ function ce() {
|
|
|
256
256
|
return e;
|
|
257
257
|
}, ce.apply(null, arguments);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Xn(e, t) {
|
|
260
260
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Kt(e, t);
|
|
261
261
|
}
|
|
262
262
|
function Kt(e, t) {
|
|
@@ -264,7 +264,7 @@ function Kt(e, t) {
|
|
|
264
264
|
return r.__proto__ = n, r;
|
|
265
265
|
}, Kt(e, t);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Zr(e, t) {
|
|
268
268
|
if (typeof e != "object" || !e) return e;
|
|
269
269
|
var r = e[Symbol.toPrimitive];
|
|
270
270
|
if (r !== void 0) {
|
|
@@ -274,36 +274,36 @@ function Xr(e, t) {
|
|
|
274
274
|
}
|
|
275
275
|
return String(e);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
var t =
|
|
277
|
+
function Xr(e) {
|
|
278
|
+
var t = Zr(e, "string");
|
|
279
279
|
return typeof t == "symbol" ? t : t + "";
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Yr(e, t) {
|
|
282
282
|
if (e) {
|
|
283
283
|
if (typeof e == "string") return dn(e, t);
|
|
284
284
|
var r = {}.toString.call(e).slice(8, -1);
|
|
285
285
|
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? dn(e, t) : void 0;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
var
|
|
288
|
+
var L = /* @__PURE__ */ Symbol("mobx-stored-annotations");
|
|
289
289
|
function ie(e) {
|
|
290
290
|
function t(r, n) {
|
|
291
|
-
if (
|
|
291
|
+
if (ze(n))
|
|
292
292
|
return e.decorate_20223_(r, n);
|
|
293
|
-
|
|
293
|
+
qe(r, n, e);
|
|
294
294
|
}
|
|
295
295
|
return Object.assign(t, e);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
if (K(e,
|
|
297
|
+
function qe(e, t, r) {
|
|
298
|
+
if (K(e, L) || He(e, L, ce({}, e[L])), process.env.NODE_ENV !== "production" && lt(r) && !K(e[L], t)) {
|
|
299
299
|
var n = e.constructor.name + ".prototype." + t.toString();
|
|
300
300
|
p("'" + n + "' is decorated with 'override', but no such decorated member was found on prototype.");
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
Jr(e, r, t), lt(r) || (e[L][t] = r);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
if (process.env.NODE_ENV !== "production" && !lt(t) && K(e[
|
|
306
|
-
var n = e.constructor.name + ".prototype." + r.toString(), i = e[
|
|
304
|
+
function Jr(e, t, r) {
|
|
305
|
+
if (process.env.NODE_ENV !== "production" && !lt(t) && K(e[L], r)) {
|
|
306
|
+
var n = e.constructor.name + ".prototype." + r.toString(), i = e[L][r].annotationType_, o = t.annotationType_;
|
|
307
307
|
p("Cannot apply '@" + o + "' to '" + n + "':" + (`
|
|
308
308
|
The field is already decorated with '@` + i + "'.") + `
|
|
309
309
|
Re-decorating fields is not allowed.
|
|
@@ -311,9 +311,9 @@ Use '@override' decorator for methods overridden by subclass.`);
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
function Qr(e) {
|
|
314
|
-
return K(e,
|
|
314
|
+
return K(e, L) || He(e, L, ce({}, e[L])), e[L];
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function ze(e) {
|
|
317
317
|
return typeof e == "object" && typeof e.kind == "string";
|
|
318
318
|
}
|
|
319
319
|
function Et(e, t) {
|
|
@@ -321,7 +321,7 @@ function Et(e, t) {
|
|
|
321
321
|
}
|
|
322
322
|
var _ = /* @__PURE__ */ Symbol("mobx administration"), pe = /* @__PURE__ */ (function() {
|
|
323
323
|
function e(r) {
|
|
324
|
-
r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Atom@" +
|
|
324
|
+
r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Atom@" + Y() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = O.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = r;
|
|
325
325
|
}
|
|
326
326
|
var t = e.prototype;
|
|
327
327
|
return t.onBO = function() {
|
|
@@ -338,29 +338,29 @@ var _ = /* @__PURE__ */ Symbol("mobx administration"), pe = /* @__PURE__ */ (fun
|
|
|
338
338
|
U(), pr(this), $();
|
|
339
339
|
}, t.toString = function() {
|
|
340
340
|
return this.name_;
|
|
341
|
-
},
|
|
341
|
+
}, Pe(e, [{
|
|
342
342
|
key: "isBeingObserved",
|
|
343
343
|
get: function() {
|
|
344
|
-
return
|
|
344
|
+
return x(this.flags_, e.isBeingObservedMask_);
|
|
345
345
|
},
|
|
346
346
|
set: function(n) {
|
|
347
|
-
this.flags_ =
|
|
347
|
+
this.flags_ = j(this.flags_, e.isBeingObservedMask_, n);
|
|
348
348
|
}
|
|
349
349
|
}, {
|
|
350
350
|
key: "isPendingUnobservation",
|
|
351
351
|
get: function() {
|
|
352
|
-
return
|
|
352
|
+
return x(this.flags_, e.isPendingUnobservationMask_);
|
|
353
353
|
},
|
|
354
354
|
set: function(n) {
|
|
355
|
-
this.flags_ =
|
|
355
|
+
this.flags_ = j(this.flags_, e.isPendingUnobservationMask_, n);
|
|
356
356
|
}
|
|
357
357
|
}, {
|
|
358
358
|
key: "diffValue",
|
|
359
359
|
get: function() {
|
|
360
|
-
return
|
|
360
|
+
return x(this.flags_, e.diffValueMask_) ? 1 : 0;
|
|
361
361
|
},
|
|
362
362
|
set: function(n) {
|
|
363
|
-
this.flags_ =
|
|
363
|
+
this.flags_ = j(this.flags_, e.diffValueMask_, n === 1);
|
|
364
364
|
}
|
|
365
365
|
}]);
|
|
366
366
|
})();
|
|
@@ -368,13 +368,13 @@ pe.isBeingObservedMask_ = 1;
|
|
|
368
368
|
pe.isPendingUnobservationMask_ = 2;
|
|
369
369
|
pe.diffValueMask_ = 4;
|
|
370
370
|
var tn = /* @__PURE__ */ Ne("Atom", pe);
|
|
371
|
-
function
|
|
372
|
-
t === void 0 && (t =
|
|
371
|
+
function Yn(e, t, r) {
|
|
372
|
+
t === void 0 && (t = we), r === void 0 && (r = we);
|
|
373
373
|
var n = new pe(e);
|
|
374
|
-
return t !==
|
|
374
|
+
return t !== we && fo(n, t), r !== we && gr(n, r), n;
|
|
375
375
|
}
|
|
376
376
|
function ei(e, t) {
|
|
377
|
-
return
|
|
377
|
+
return jr(e, t);
|
|
378
378
|
}
|
|
379
379
|
function ti(e, t) {
|
|
380
380
|
return Object.is ? Object.is(e, t) : e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
@@ -384,36 +384,36 @@ var ct = {
|
|
|
384
384
|
default: ti
|
|
385
385
|
};
|
|
386
386
|
function ye(e, t, r) {
|
|
387
|
-
return Ge(e) ? e : Array.isArray(e) ?
|
|
387
|
+
return Ge(e) ? e : Array.isArray(e) ? D.array(e, {
|
|
388
388
|
name: r
|
|
389
|
-
}) :
|
|
389
|
+
}) : R(e) ? D.object(e, void 0, {
|
|
390
390
|
name: r
|
|
391
|
-
}) :
|
|
391
|
+
}) : Te(e) ? D.map(e, {
|
|
392
392
|
name: r
|
|
393
|
-
}) : se(e) ?
|
|
393
|
+
}) : se(e) ? D.set(e, {
|
|
394
394
|
name: r
|
|
395
|
-
}) : typeof e == "function" && !
|
|
395
|
+
}) : typeof e == "function" && !xe(e) && !Ke(e) ? qn(e) ? je(e) : Fe(r, e) : e;
|
|
396
396
|
}
|
|
397
397
|
function ni(e, t, r) {
|
|
398
|
-
if (e == null ||
|
|
398
|
+
if (e == null || Be(e) || wt(e) || ve(e) || te(e))
|
|
399
399
|
return e;
|
|
400
400
|
if (Array.isArray(e))
|
|
401
|
-
return
|
|
401
|
+
return D.array(e, {
|
|
402
402
|
name: r,
|
|
403
403
|
deep: !1
|
|
404
404
|
});
|
|
405
|
-
if (
|
|
406
|
-
return
|
|
405
|
+
if (R(e))
|
|
406
|
+
return D.object(e, void 0, {
|
|
407
407
|
name: r,
|
|
408
408
|
deep: !1
|
|
409
409
|
});
|
|
410
|
-
if (
|
|
411
|
-
return
|
|
410
|
+
if (Te(e))
|
|
411
|
+
return D.map(e, {
|
|
412
412
|
name: r,
|
|
413
413
|
deep: !1
|
|
414
414
|
});
|
|
415
415
|
if (se(e))
|
|
416
|
-
return
|
|
416
|
+
return D.set(e, {
|
|
417
417
|
name: r,
|
|
418
418
|
deep: !1
|
|
419
419
|
});
|
|
@@ -423,13 +423,13 @@ function Nt(e) {
|
|
|
423
423
|
return e;
|
|
424
424
|
}
|
|
425
425
|
function ri(e, t) {
|
|
426
|
-
return process.env.NODE_ENV !== "production" && Ge(e) && p("observable.struct should not be used with observable values"),
|
|
426
|
+
return process.env.NODE_ENV !== "production" && Ge(e) && p("observable.struct should not be used with observable values"), jr(e, t) ? t : e;
|
|
427
427
|
}
|
|
428
428
|
var ii = "override";
|
|
429
429
|
function lt(e) {
|
|
430
430
|
return e.annotationType_ === ii;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function We(e, t) {
|
|
433
433
|
return {
|
|
434
434
|
annotationType_: e,
|
|
435
435
|
options_: t,
|
|
@@ -444,13 +444,13 @@ function oi(e, t, r, n) {
|
|
|
444
444
|
return this.extend_(e, t, r, !1) === null ? 0 : 1;
|
|
445
445
|
if (n === e.target_)
|
|
446
446
|
return this.extend_(e, t, r, !1) === null ? 0 : 2;
|
|
447
|
-
if (
|
|
447
|
+
if (xe(r.value))
|
|
448
448
|
return 1;
|
|
449
|
-
var o =
|
|
449
|
+
var o = Jn(e, this, t, r, !1);
|
|
450
450
|
return re(n, t, o), 2;
|
|
451
451
|
}
|
|
452
452
|
function si(e, t, r, n) {
|
|
453
|
-
var i =
|
|
453
|
+
var i = Jn(e, this, t, r);
|
|
454
454
|
return e.defineProperty_(t, i, n);
|
|
455
455
|
}
|
|
456
456
|
function ai(e, t) {
|
|
@@ -462,11 +462,11 @@ function ai(e, t) {
|
|
|
462
462
|
if (r == "field")
|
|
463
463
|
return function(u) {
|
|
464
464
|
var f, d = u;
|
|
465
|
-
return
|
|
465
|
+
return xe(d) || (d = s(d)), (f = o.options_) != null && f.bound && (d = d.bind(this), d.isMobxAction = !0), d;
|
|
466
466
|
};
|
|
467
467
|
if (r == "method") {
|
|
468
468
|
var a;
|
|
469
|
-
return
|
|
469
|
+
return xe(e) || (e = s(e)), (a = this.options_) != null && a.bound && i(function() {
|
|
470
470
|
var u = this, f = u[n].bind(u);
|
|
471
471
|
f.isMobxAction = !0, u[n] = f;
|
|
472
472
|
}), e;
|
|
@@ -476,10 +476,10 @@ function ai(e, t) {
|
|
|
476
476
|
}
|
|
477
477
|
function ui(e, t, r, n) {
|
|
478
478
|
var i = t.annotationType_, o = n.value;
|
|
479
|
-
process.env.NODE_ENV !== "production" && !
|
|
479
|
+
process.env.NODE_ENV !== "production" && !C(o) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
|
|
480
480
|
'` + i + "' can only be used on properties with a function value."));
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function Jn(e, t, r, n, i) {
|
|
483
483
|
var o, s, a, u, f, d, v;
|
|
484
484
|
i === void 0 && (i = l.safeDescriptors), ui(e, t, r, n);
|
|
485
485
|
var h = n.value;
|
|
@@ -533,20 +533,20 @@ function fi(e, t) {
|
|
|
533
533
|
var r;
|
|
534
534
|
process.env.NODE_ENV !== "production" && Et(t, ["method"]);
|
|
535
535
|
var n = t.name, i = t.addInitializer;
|
|
536
|
-
return Ke(e) || (e =
|
|
536
|
+
return Ke(e) || (e = je(e)), (r = this.options_) != null && r.bound && i(function() {
|
|
537
537
|
var o = this, s = o[n].bind(o);
|
|
538
538
|
s.isMobXFlow = !0, o[n] = s;
|
|
539
539
|
}), e;
|
|
540
540
|
}
|
|
541
541
|
function di(e, t, r, n) {
|
|
542
542
|
var i = t.annotationType_, o = n.value;
|
|
543
|
-
process.env.NODE_ENV !== "production" && !
|
|
543
|
+
process.env.NODE_ENV !== "production" && !C(o) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
|
|
544
544
|
'` + i + "' can only be used on properties with a generator function value."));
|
|
545
545
|
}
|
|
546
546
|
function er(e, t, r, n, i, o) {
|
|
547
547
|
o === void 0 && (o = l.safeDescriptors), di(e, t, r, n);
|
|
548
548
|
var s = n.value;
|
|
549
|
-
if (Ke(s) || (s =
|
|
549
|
+
if (Ke(s) || (s = je(s)), i) {
|
|
550
550
|
var a;
|
|
551
551
|
s = s.bind((a = e.proxy_) != null ? a : e.target_), s.isMobXFlow = !0;
|
|
552
552
|
}
|
|
@@ -584,11 +584,11 @@ function hi(e, t) {
|
|
|
584
584
|
process.env.NODE_ENV !== "production" && Et(t, ["getter"]);
|
|
585
585
|
var r = this, n = t.name, i = t.addInitializer;
|
|
586
586
|
return i(function() {
|
|
587
|
-
var o =
|
|
587
|
+
var o = Ce(this)[_], s = ce({}, r.options_, {
|
|
588
588
|
get: e,
|
|
589
589
|
context: this
|
|
590
590
|
});
|
|
591
|
-
s.name || (s.name = process.env.NODE_ENV !== "production" ? o.name_ + "." + n.toString() : "ObservableObject." + n.toString()), o.values_.set(n, new
|
|
591
|
+
s.name || (s.name = process.env.NODE_ENV !== "production" ? o.name_ + "." + n.toString() : "ObservableObject." + n.toString()), o.values_.set(n, new H(s));
|
|
592
592
|
}), function() {
|
|
593
593
|
return this[_].getObservablePropValue_(n);
|
|
594
594
|
};
|
|
@@ -622,7 +622,7 @@ function gi(e, t) {
|
|
|
622
622
|
}
|
|
623
623
|
var r = this, n = t.kind, i = t.name, o = /* @__PURE__ */ new WeakSet();
|
|
624
624
|
function s(a, u) {
|
|
625
|
-
var f, d, v =
|
|
625
|
+
var f, d, v = Ce(a)[_], h = new me(u, (f = (d = r.options_) == null ? void 0 : d.enhancer) != null ? f : ye, process.env.NODE_ENV !== "production" ? v.name_ + "." + i.toString() : "ObservableObject." + i.toString(), !1);
|
|
626
626
|
v.values_.set(i, h), o.add(a);
|
|
627
627
|
}
|
|
628
628
|
if (n == "accessor")
|
|
@@ -669,14 +669,14 @@ function Ni(e, t, r, n) {
|
|
|
669
669
|
}
|
|
670
670
|
if (n !== e.target_ && typeof r.value == "function") {
|
|
671
671
|
var a;
|
|
672
|
-
if (
|
|
673
|
-
var u, f = (u = this.options_) != null && u.autoBind ?
|
|
672
|
+
if (qn(r.value)) {
|
|
673
|
+
var u, f = (u = this.options_) != null && u.autoBind ? je.bound : je;
|
|
674
674
|
return f.make_(e, t, r, n);
|
|
675
675
|
}
|
|
676
676
|
var d = (a = this.options_) != null && a.autoBind ? Fe.bound : Fe;
|
|
677
677
|
return d.make_(e, t, r, n);
|
|
678
678
|
}
|
|
679
|
-
var v = ((i = this.options_) == null ? void 0 : i.deep) === !1 ?
|
|
679
|
+
var v = ((i = this.options_) == null ? void 0 : i.deep) === !1 ? D.ref : D;
|
|
680
680
|
if (typeof r.value == "function" && (o = this.options_) != null && o.autoBind) {
|
|
681
681
|
var h;
|
|
682
682
|
r.value = r.value.bind((h = e.proxy_) != null ? h : e.target_);
|
|
@@ -696,92 +696,92 @@ function Ai(e, t, r, n) {
|
|
|
696
696
|
var s;
|
|
697
697
|
r.value = r.value.bind((s = e.proxy_) != null ? s : e.target_);
|
|
698
698
|
}
|
|
699
|
-
var a = ((o = this.options_) == null ? void 0 : o.deep) === !1 ?
|
|
699
|
+
var a = ((o = this.options_) == null ? void 0 : o.deep) === !1 ? D.ref : D;
|
|
700
700
|
return a.extend_(e, t, r, n);
|
|
701
701
|
}
|
|
702
702
|
function Si(e, t) {
|
|
703
703
|
p("'" + this.annotationType_ + "' cannot be used as a decorator");
|
|
704
704
|
}
|
|
705
|
-
var
|
|
705
|
+
var Ci = "observable", wi = "observable.ref", Di = "observable.shallow", Vi = "observable.struct", nr = {
|
|
706
706
|
deep: !0,
|
|
707
707
|
name: void 0,
|
|
708
708
|
defaultDecorator: void 0,
|
|
709
709
|
proxy: !0
|
|
710
710
|
};
|
|
711
711
|
Object.freeze(nr);
|
|
712
|
-
function
|
|
712
|
+
function Ye(e) {
|
|
713
713
|
return e || nr;
|
|
714
714
|
}
|
|
715
|
-
var Gt = /* @__PURE__ */ At(
|
|
715
|
+
var Gt = /* @__PURE__ */ At(Ci), Li = /* @__PURE__ */ At(wi, {
|
|
716
716
|
enhancer: Nt
|
|
717
|
-
}),
|
|
717
|
+
}), xi = /* @__PURE__ */ At(Di, {
|
|
718
718
|
enhancer: ni
|
|
719
|
-
}),
|
|
719
|
+
}), ji = /* @__PURE__ */ At(Vi, {
|
|
720
720
|
enhancer: ri
|
|
721
721
|
}), rr = /* @__PURE__ */ ie(Gt);
|
|
722
|
-
function
|
|
723
|
-
return e.deep === !0 ? ye : e.deep === !1 ? Nt :
|
|
722
|
+
function Je(e) {
|
|
723
|
+
return e.deep === !0 ? ye : e.deep === !1 ? Nt : Ti(e.defaultDecorator);
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function Ri(e) {
|
|
726
726
|
var t;
|
|
727
727
|
return e ? (t = e.defaultDecorator) != null ? t : tr(e) : void 0;
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function Ti(e) {
|
|
730
730
|
var t, r;
|
|
731
731
|
return e && (t = (r = e.options_) == null ? void 0 : r.enhancer) != null ? t : ye;
|
|
732
732
|
}
|
|
733
733
|
function ir(e, t, r) {
|
|
734
|
-
if (
|
|
734
|
+
if (ze(t))
|
|
735
735
|
return Gt.decorate_20223_(e, t);
|
|
736
736
|
if (ge(t)) {
|
|
737
|
-
|
|
737
|
+
qe(e, t, Gt);
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
|
-
return Ge(e) ? e :
|
|
740
|
+
return Ge(e) ? e : R(e) ? D.object(e, t, r) : Array.isArray(e) ? D.array(e, t) : Te(e) ? D.map(e, t) : se(e) ? D.set(e, t) : typeof e == "object" && e !== null ? e : D.box(e, t);
|
|
741
741
|
}
|
|
742
742
|
Kn(ir, rr);
|
|
743
|
-
var
|
|
743
|
+
var Pi = {
|
|
744
744
|
box: function(t, r) {
|
|
745
|
-
var n =
|
|
746
|
-
return new me(t,
|
|
745
|
+
var n = Ye(r);
|
|
746
|
+
return new me(t, Je(n), n.name, !0, n.equals);
|
|
747
747
|
},
|
|
748
748
|
array: function(t, r) {
|
|
749
|
-
var n =
|
|
750
|
-
return (l.useProxies === !1 || n.proxy === !1 ?
|
|
749
|
+
var n = Ye(r);
|
|
750
|
+
return (l.useProxies === !1 || n.proxy === !1 ? Mo : wo)(t, Je(n), n.name);
|
|
751
751
|
},
|
|
752
752
|
map: function(t, r) {
|
|
753
|
-
var n =
|
|
754
|
-
return new
|
|
753
|
+
var n = Ye(r);
|
|
754
|
+
return new Cr(t, Je(n), n.name);
|
|
755
755
|
},
|
|
756
756
|
set: function(t, r) {
|
|
757
|
-
var n =
|
|
758
|
-
return new
|
|
757
|
+
var n = Ye(r);
|
|
758
|
+
return new wr(t, Je(n), n.name);
|
|
759
759
|
},
|
|
760
760
|
object: function(t, r, n) {
|
|
761
761
|
return he(function() {
|
|
762
|
-
return Or(l.useProxies === !1 || n?.proxy === !1 ?
|
|
762
|
+
return Or(l.useProxies === !1 || n?.proxy === !1 ? Ce({}, n) : No({}, n), t, r);
|
|
763
763
|
});
|
|
764
764
|
},
|
|
765
|
-
ref: /* @__PURE__ */ ie(
|
|
766
|
-
shallow: /* @__PURE__ */ ie(
|
|
765
|
+
ref: /* @__PURE__ */ ie(Li),
|
|
766
|
+
shallow: /* @__PURE__ */ ie(xi),
|
|
767
767
|
deep: rr,
|
|
768
|
-
struct: /* @__PURE__ */ ie(
|
|
769
|
-
},
|
|
768
|
+
struct: /* @__PURE__ */ ie(ji)
|
|
769
|
+
}, D = /* @__PURE__ */ Kn(ir, Pi), or = "computed", Bi = "computed.struct", Ht = /* @__PURE__ */ nn(or), Mi = /* @__PURE__ */ nn(Bi, {
|
|
770
770
|
equals: ct.structural
|
|
771
771
|
}), St = function(t, r) {
|
|
772
|
-
if (
|
|
773
|
-
return
|
|
772
|
+
if (ze(r))
|
|
773
|
+
return Ht.decorate_20223_(t, r);
|
|
774
774
|
if (ge(r))
|
|
775
|
-
return
|
|
776
|
-
if (
|
|
775
|
+
return qe(t, r, Ht);
|
|
776
|
+
if (R(t))
|
|
777
777
|
return ie(nn(or, t));
|
|
778
|
-
process.env.NODE_ENV !== "production" && (
|
|
779
|
-
var n =
|
|
780
|
-
return n.get = t, n.name || (n.name = t.name || ""), new
|
|
778
|
+
process.env.NODE_ENV !== "production" && (C(t) || p("First argument to `computed` should be an expression."), C(r) && p("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));
|
|
779
|
+
var n = R(r) ? r : {};
|
|
780
|
+
return n.get = t, n.name || (n.name = t.name || ""), new H(n);
|
|
781
781
|
};
|
|
782
|
-
Object.assign(St,
|
|
783
|
-
St.struct = /* @__PURE__ */ ie(
|
|
784
|
-
var pn, vn, ft = 0,
|
|
782
|
+
Object.assign(St, Ht);
|
|
783
|
+
St.struct = /* @__PURE__ */ ie(Mi);
|
|
784
|
+
var pn, vn, ft = 0, ki = 1, Ii = (pn = (vn = /* @__PURE__ */ at(function() {
|
|
785
785
|
}, "name")) == null ? void 0 : vn.configurable) != null ? pn : !1, hn = {
|
|
786
786
|
value: "action",
|
|
787
787
|
configurable: !0,
|
|
@@ -789,7 +789,7 @@ var pn, vn, ft = 0, Li = 1, Ii = (pn = (vn = /* @__PURE__ */ at(function() {
|
|
|
789
789
|
enumerable: !1
|
|
790
790
|
};
|
|
791
791
|
function Oe(e, t, r, n) {
|
|
792
|
-
r === void 0 && (r = !1), process.env.NODE_ENV !== "production" && (
|
|
792
|
+
r === void 0 && (r = !1), process.env.NODE_ENV !== "production" && (C(t) || p("`action` can only be invoked on functions"), (typeof e != "string" || !e) && p("actions should have valid names, got: '" + e + "'"));
|
|
793
793
|
function i() {
|
|
794
794
|
return Ui(e, r, t, n || this, arguments);
|
|
795
795
|
}
|
|
@@ -808,11 +808,11 @@ function Ui(e, t, r, n, i) {
|
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
function $i(e, t, r, n) {
|
|
811
|
-
var i = process.env.NODE_ENV !== "production" &&
|
|
811
|
+
var i = process.env.NODE_ENV !== "production" && V() && !!e, o = 0;
|
|
812
812
|
if (process.env.NODE_ENV !== "production" && i) {
|
|
813
813
|
o = Date.now();
|
|
814
814
|
var s = n ? Array.from(n) : ut;
|
|
815
|
-
|
|
815
|
+
T({
|
|
816
816
|
type: an,
|
|
817
817
|
name: e,
|
|
818
818
|
object: r,
|
|
@@ -830,13 +830,13 @@ function $i(e, t, r, n) {
|
|
|
830
830
|
prevAllowStateReads_: d,
|
|
831
831
|
notifySpy_: i,
|
|
832
832
|
startTime_: o,
|
|
833
|
-
actionId_:
|
|
833
|
+
actionId_: ki++,
|
|
834
834
|
parentActionId_: ft
|
|
835
835
|
};
|
|
836
836
|
return ft = v.actionId_, v;
|
|
837
837
|
}
|
|
838
838
|
function Fi(e) {
|
|
839
|
-
ft !== e.actionId_ && p(30), ft = e.parentActionId_, e.error_ !== void 0 && (l.suppressReactionErrors = !0), on(e.prevAllowStateChanges_), Ue(e.prevAllowStateReads_), $(), e.runAsAction_ && ue(e.prevDerivation_), process.env.NODE_ENV !== "production" && e.notifySpy_ &&
|
|
839
|
+
ft !== e.actionId_ && p(30), ft = e.parentActionId_, e.error_ !== void 0 && (l.suppressReactionErrors = !0), on(e.prevAllowStateChanges_), Ue(e.prevAllowStateReads_), $(), e.runAsAction_ && ue(e.prevDerivation_), process.env.NODE_ENV !== "production" && e.notifySpy_ && P({
|
|
840
840
|
time: Date.now() - e.startTime_
|
|
841
841
|
}), l.suppressReactionErrors = !1;
|
|
842
842
|
}
|
|
@@ -850,7 +850,7 @@ function on(e) {
|
|
|
850
850
|
var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
851
851
|
function t(n, i, o, s, a) {
|
|
852
852
|
var u;
|
|
853
|
-
return o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableValue@" +
|
|
853
|
+
return o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableValue@" + Y() : "ObservableValue"), s === void 0 && (s = !0), a === void 0 && (a = ct.default), u = e.call(this, o) || this, u.enhancer = void 0, u.name_ = void 0, u.equals = void 0, u.hasUnreportedChange_ = !1, u.interceptors_ = void 0, u.changeListeners_ = void 0, u.value_ = void 0, u.dehancer = void 0, u.enhancer = i, u.name_ = o, u.equals = a, u.value_ = i(n, void 0, o), process.env.NODE_ENV !== "production" && s && V() && Ee({
|
|
854
854
|
type: Ki,
|
|
855
855
|
object: u,
|
|
856
856
|
observableKind: "value",
|
|
@@ -858,28 +858,28 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
858
858
|
newValue: "" + u.value_
|
|
859
859
|
}), u;
|
|
860
860
|
}
|
|
861
|
-
|
|
861
|
+
Xn(t, e);
|
|
862
862
|
var r = t.prototype;
|
|
863
863
|
return r.dehanceValue = function(i) {
|
|
864
864
|
return this.dehancer !== void 0 ? this.dehancer(i) : i;
|
|
865
865
|
}, r.set = function(i) {
|
|
866
866
|
var o = this.value_;
|
|
867
867
|
if (i = this.prepareNewValue_(i), i !== l.UNCHANGED) {
|
|
868
|
-
var s =
|
|
869
|
-
process.env.NODE_ENV !== "production" && s &&
|
|
870
|
-
type:
|
|
868
|
+
var s = V();
|
|
869
|
+
process.env.NODE_ENV !== "production" && s && T({
|
|
870
|
+
type: W,
|
|
871
871
|
object: this,
|
|
872
872
|
observableKind: "value",
|
|
873
873
|
debugObjectName: this.name_,
|
|
874
874
|
newValue: i,
|
|
875
875
|
oldValue: o
|
|
876
|
-
}), this.setNewValue_(i), process.env.NODE_ENV !== "production" && s &&
|
|
876
|
+
}), this.setNewValue_(i), process.env.NODE_ENV !== "production" && s && P();
|
|
877
877
|
}
|
|
878
878
|
}, r.prepareNewValue_ = function(i) {
|
|
879
|
-
if (ne(this),
|
|
879
|
+
if (ne(this), k(this)) {
|
|
880
880
|
var o = I(this, {
|
|
881
881
|
object: this,
|
|
882
|
-
type:
|
|
882
|
+
type: W,
|
|
883
883
|
newValue: i
|
|
884
884
|
});
|
|
885
885
|
if (!o)
|
|
@@ -889,8 +889,8 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
889
889
|
return i = this.enhancer(i, this.value_, this.name_), this.equals(this.value_, i) ? l.UNCHANGED : i;
|
|
890
890
|
}, r.setNewValue_ = function(i) {
|
|
891
891
|
var o = this.value_;
|
|
892
|
-
this.value_ = i, this.reportChanged(),
|
|
893
|
-
type:
|
|
892
|
+
this.value_ = i, this.reportChanged(), Z(this) && X(this, {
|
|
893
|
+
type: W,
|
|
894
894
|
object: this,
|
|
895
895
|
newValue: i,
|
|
896
896
|
oldValue: o
|
|
@@ -898,16 +898,16 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
898
898
|
}, r.get = function() {
|
|
899
899
|
return this.reportObserved(), this.dehanceValue(this.value_);
|
|
900
900
|
}, r.intercept_ = function(i) {
|
|
901
|
-
return
|
|
901
|
+
return Ze(this, i);
|
|
902
902
|
}, r.observe_ = function(i, o) {
|
|
903
903
|
return o && i({
|
|
904
904
|
observableKind: "value",
|
|
905
905
|
debugObjectName: this.name_,
|
|
906
906
|
object: this,
|
|
907
|
-
type:
|
|
907
|
+
type: W,
|
|
908
908
|
newValue: this.value_,
|
|
909
909
|
oldValue: void 0
|
|
910
|
-
}),
|
|
910
|
+
}), Xe(this, i);
|
|
911
911
|
}, r.raw = function() {
|
|
912
912
|
return this.value_;
|
|
913
913
|
}, r.toJSON = function() {
|
|
@@ -915,17 +915,17 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
915
915
|
}, r.toString = function() {
|
|
916
916
|
return this.name_ + "[" + this.value_ + "]";
|
|
917
917
|
}, r.valueOf = function() {
|
|
918
|
-
return
|
|
918
|
+
return Zn(this.get());
|
|
919
919
|
}, r[Symbol.toPrimitive] = function() {
|
|
920
920
|
return this.valueOf();
|
|
921
921
|
}, t;
|
|
922
|
-
})(pe),
|
|
922
|
+
})(pe), H = /* @__PURE__ */ (function() {
|
|
923
923
|
function e(r) {
|
|
924
|
-
this.dependenciesState_ = O.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = O.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new dt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = G.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, r.get || p(31), this.derivation = r.get, this.name_ = r.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" +
|
|
924
|
+
this.dependenciesState_ = O.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = O.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new dt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = G.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, r.get || p(31), this.derivation = r.get, this.name_ = r.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + Y() : "ComputedValue"), r.set && (this.setter_ = Oe(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", r.set)), this.equals_ = r.equals || (r.compareStructural || r.struct ? ct.structural : ct.default), this.scope_ = r.context, this.requiresReaction_ = r.requiresReaction, this.keepAlive_ = !!r.keepAlive;
|
|
925
925
|
}
|
|
926
926
|
var t = e.prototype;
|
|
927
927
|
return t.onBecomeStale_ = function() {
|
|
928
|
-
|
|
928
|
+
Xi(this);
|
|
929
929
|
}, t.onBO = function() {
|
|
930
930
|
this.onBOL && this.onBOL.forEach(function(n) {
|
|
931
931
|
return n();
|
|
@@ -937,10 +937,10 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
937
937
|
}, t.get = function() {
|
|
938
938
|
if (this.isComputing && p(32, this.name_, this.derivation), l.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
939
939
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
940
|
-
|
|
941
|
-
else if (dr(this),
|
|
940
|
+
qt(this) && (this.warnAboutUntrackedRead_(), U(), this.value_ = this.computeValue_(!1), $());
|
|
941
|
+
else if (dr(this), qt(this)) {
|
|
942
942
|
var n = l.trackingContext;
|
|
943
|
-
this.keepAlive_ && !n && (l.trackingContext = this), this.trackAndCompute() &&
|
|
943
|
+
this.keepAlive_ && !n && (l.trackingContext = this), this.trackAndCompute() && Zi(this), l.trackingContext = n;
|
|
944
944
|
}
|
|
945
945
|
var i = this.value_;
|
|
946
946
|
if (tt(i))
|
|
@@ -961,7 +961,7 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
961
961
|
/* see #1208 */
|
|
962
962
|
this.dependenciesState_ === O.NOT_TRACKING_
|
|
963
963
|
), o = this.computeValue_(!0), s = i || tt(n) || tt(o) || !this.equals_(n, o);
|
|
964
|
-
return s && (this.value_ = o, process.env.NODE_ENV !== "production" &&
|
|
964
|
+
return s && (this.value_ = o, process.env.NODE_ENV !== "production" && V() && Ee({
|
|
965
965
|
observableKind: "computed",
|
|
966
966
|
debugObjectName: this.name_,
|
|
967
967
|
object: this.scope_,
|
|
@@ -984,7 +984,7 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
984
984
|
}
|
|
985
985
|
return on(i), this.isComputing = !1, o;
|
|
986
986
|
}, t.suspend_ = function() {
|
|
987
|
-
this.keepAlive_ || (
|
|
987
|
+
this.keepAlive_ || (zt(this), this.value_ = void 0, process.env.NODE_ENV !== "production" && this.isTracing_ !== G.NONE && console.log("[mobx.trace] Computed value '" + this.name_ + "' was suspended and it will recompute on the next access."));
|
|
988
988
|
}, t.observe_ = function(n, i) {
|
|
989
989
|
var o = this, s = !0, a = void 0;
|
|
990
990
|
return so(function() {
|
|
@@ -994,7 +994,7 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
994
994
|
n({
|
|
995
995
|
observableKind: "computed",
|
|
996
996
|
debugObjectName: o.name_,
|
|
997
|
-
type:
|
|
997
|
+
type: W,
|
|
998
998
|
object: o,
|
|
999
999
|
newValue: u,
|
|
1000
1000
|
oldValue: a
|
|
@@ -1007,57 +1007,57 @@ var Ki = "create", me = /* @__PURE__ */ (function(e) {
|
|
|
1007
1007
|
}, t.toString = function() {
|
|
1008
1008
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
1009
1009
|
}, t.valueOf = function() {
|
|
1010
|
-
return
|
|
1010
|
+
return Zn(this.get());
|
|
1011
1011
|
}, t[Symbol.toPrimitive] = function() {
|
|
1012
1012
|
return this.valueOf();
|
|
1013
|
-
},
|
|
1013
|
+
}, Pe(e, [{
|
|
1014
1014
|
key: "isComputing",
|
|
1015
1015
|
get: function() {
|
|
1016
|
-
return
|
|
1016
|
+
return x(this.flags_, e.isComputingMask_);
|
|
1017
1017
|
},
|
|
1018
1018
|
set: function(n) {
|
|
1019
|
-
this.flags_ =
|
|
1019
|
+
this.flags_ = j(this.flags_, e.isComputingMask_, n);
|
|
1020
1020
|
}
|
|
1021
1021
|
}, {
|
|
1022
1022
|
key: "isRunningSetter",
|
|
1023
1023
|
get: function() {
|
|
1024
|
-
return
|
|
1024
|
+
return x(this.flags_, e.isRunningSetterMask_);
|
|
1025
1025
|
},
|
|
1026
1026
|
set: function(n) {
|
|
1027
|
-
this.flags_ =
|
|
1027
|
+
this.flags_ = j(this.flags_, e.isRunningSetterMask_, n);
|
|
1028
1028
|
}
|
|
1029
1029
|
}, {
|
|
1030
1030
|
key: "isBeingObserved",
|
|
1031
1031
|
get: function() {
|
|
1032
|
-
return
|
|
1032
|
+
return x(this.flags_, e.isBeingObservedMask_);
|
|
1033
1033
|
},
|
|
1034
1034
|
set: function(n) {
|
|
1035
|
-
this.flags_ =
|
|
1035
|
+
this.flags_ = j(this.flags_, e.isBeingObservedMask_, n);
|
|
1036
1036
|
}
|
|
1037
1037
|
}, {
|
|
1038
1038
|
key: "isPendingUnobservation",
|
|
1039
1039
|
get: function() {
|
|
1040
|
-
return
|
|
1040
|
+
return x(this.flags_, e.isPendingUnobservationMask_);
|
|
1041
1041
|
},
|
|
1042
1042
|
set: function(n) {
|
|
1043
|
-
this.flags_ =
|
|
1043
|
+
this.flags_ = j(this.flags_, e.isPendingUnobservationMask_, n);
|
|
1044
1044
|
}
|
|
1045
1045
|
}, {
|
|
1046
1046
|
key: "diffValue",
|
|
1047
1047
|
get: function() {
|
|
1048
|
-
return
|
|
1048
|
+
return x(this.flags_, e.diffValueMask_) ? 1 : 0;
|
|
1049
1049
|
},
|
|
1050
1050
|
set: function(n) {
|
|
1051
|
-
this.flags_ =
|
|
1051
|
+
this.flags_ = j(this.flags_, e.diffValueMask_, n === 1);
|
|
1052
1052
|
}
|
|
1053
1053
|
}]);
|
|
1054
1054
|
})();
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
var
|
|
1055
|
+
H.isComputingMask_ = 1;
|
|
1056
|
+
H.isRunningSetterMask_ = 2;
|
|
1057
|
+
H.isBeingObservedMask_ = 4;
|
|
1058
|
+
H.isPendingUnobservationMask_ = 8;
|
|
1059
|
+
H.diffValueMask_ = 16;
|
|
1060
|
+
var Ct = /* @__PURE__ */ Ne("ComputedValue", H), O;
|
|
1061
1061
|
(function(e) {
|
|
1062
1062
|
e[e.NOT_TRACKING_ = -1] = "NOT_TRACKING_", e[e.UP_TO_DATE_ = 0] = "UP_TO_DATE_", e[e.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", e[e.STALE_ = 2] = "STALE_";
|
|
1063
1063
|
})(O || (O = {}));
|
|
@@ -1071,7 +1071,7 @@ var dt = function(t) {
|
|
|
1071
1071
|
function tt(e) {
|
|
1072
1072
|
return e instanceof dt;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function qt(e) {
|
|
1075
1075
|
switch (e.dependenciesState_) {
|
|
1076
1076
|
case O.UP_TO_DATE_:
|
|
1077
1077
|
return !1;
|
|
@@ -1081,7 +1081,7 @@ function zt(e) {
|
|
|
1081
1081
|
case O.POSSIBLY_STALE_: {
|
|
1082
1082
|
for (var t = sn(!0), r = Ae(), n = e.observing_, i = n.length, o = 0; o < i; o++) {
|
|
1083
1083
|
var s = n[o];
|
|
1084
|
-
if (
|
|
1084
|
+
if (Ct(s)) {
|
|
1085
1085
|
if (l.disableErrorBoundaries)
|
|
1086
1086
|
s.get();
|
|
1087
1087
|
else
|
|
@@ -1125,12 +1125,12 @@ function sr(e, t, r) {
|
|
|
1125
1125
|
} catch (s) {
|
|
1126
1126
|
o = new dt(s);
|
|
1127
1127
|
}
|
|
1128
|
-
return l.inBatch--, l.trackingDerivation = i,
|
|
1128
|
+
return l.inBatch--, l.trackingDerivation = i, qi(e), Hi(e), Ue(n), o;
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function Hi(e) {
|
|
1131
1131
|
process.env.NODE_ENV !== "production" && e.observing_.length === 0 && (typeof e.requiresObservable_ == "boolean" ? e.requiresObservable_ : l.reactionRequiresObservable) && console.warn("[mobx] Derivation '" + e.name_ + "' is created/updated without reading any observable value.");
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function qi(e) {
|
|
1134
1134
|
for (var t = e.observing_, r = e.observing_ = e.newObserving_, n = O.UP_TO_DATE_, i = 0, o = e.unboundDepsCount_, s = 0; s < o; s++) {
|
|
1135
1135
|
var a = r[s];
|
|
1136
1136
|
a.diffValue === 0 && (a.diffValue = 1, i !== s && (r[i] = a), i++), a.dependenciesState_ > n && (n = a.dependenciesState_);
|
|
@@ -1141,11 +1141,11 @@ function zi(e) {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
for (; i--; ) {
|
|
1143
1143
|
var f = r[i];
|
|
1144
|
-
f.diffValue === 1 && (f.diffValue = 0,
|
|
1144
|
+
f.diffValue === 1 && (f.diffValue = 0, Wi(f, e));
|
|
1145
1145
|
}
|
|
1146
1146
|
n !== O.UP_TO_DATE_ && (e.dependenciesState_ = n, e.onBecomeStale_());
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function zt(e) {
|
|
1149
1149
|
var t = e.observing_;
|
|
1150
1150
|
e.observing_ = [];
|
|
1151
1151
|
for (var r = t.length; r--; )
|
|
@@ -1189,13 +1189,13 @@ var nt = function() {
|
|
|
1189
1189
|
cr || p(35);
|
|
1190
1190
|
}, 1), new nt());
|
|
1191
1191
|
})();
|
|
1192
|
-
function
|
|
1192
|
+
function zi() {
|
|
1193
1193
|
if ((l.pendingReactions.length || l.inBatch || l.isRunningReactions) && p(36), cr = !0, rt) {
|
|
1194
1194
|
var e = gt();
|
|
1195
1195
|
--e.__mobxInstanceCount === 0 && (e.__mobxGlobals = void 0), l = new nt();
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function Wi(e, t) {
|
|
1199
1199
|
e.observers_.add(t), e.lowestObserverState_ > t.dependenciesState_ && (e.lowestObserverState_ = t.dependenciesState_);
|
|
1200
1200
|
}
|
|
1201
1201
|
function lr(e, t) {
|
|
@@ -1212,7 +1212,7 @@ function $() {
|
|
|
1212
1212
|
_r();
|
|
1213
1213
|
for (var e = l.pendingUnobservations, t = 0; t < e.length; t++) {
|
|
1214
1214
|
var r = e[t];
|
|
1215
|
-
r.isPendingUnobservation = !1, r.observers_.size === 0 && (r.isBeingObserved && (r.isBeingObserved = !1, r.onBUO()), r instanceof
|
|
1215
|
+
r.isPendingUnobservation = !1, r.observers_.size === 0 && (r.isBeingObserved && (r.isBeingObserved = !1, r.onBUO()), r instanceof H && r.suspend_());
|
|
1216
1216
|
}
|
|
1217
1217
|
l.pendingUnobservations = [];
|
|
1218
1218
|
}
|
|
@@ -1227,12 +1227,12 @@ function pr(e) {
|
|
|
1227
1227
|
t.dependenciesState_ === O.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && t.isTracing_ !== G.NONE && vr(t, e), t.onBecomeStale_()), t.dependenciesState_ = O.STALE_;
|
|
1228
1228
|
}));
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function Zi(e) {
|
|
1231
1231
|
e.lowestObserverState_ !== O.STALE_ && (e.lowestObserverState_ = O.STALE_, e.observers_.forEach(function(t) {
|
|
1232
1232
|
t.dependenciesState_ === O.POSSIBLY_STALE_ ? (t.dependenciesState_ = O.STALE_, process.env.NODE_ENV !== "production" && t.isTracing_ !== G.NONE && vr(t, e)) : t.dependenciesState_ === O.UP_TO_DATE_ && (e.lowestObserverState_ = O.UP_TO_DATE_);
|
|
1233
1233
|
}));
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function Xi(e) {
|
|
1236
1236
|
e.lowestObserverState_ === O.UP_TO_DATE_ && (e.lowestObserverState_ = O.POSSIBLY_STALE_, e.observers_.forEach(function(t) {
|
|
1237
1237
|
t.dependenciesState_ === O.UP_TO_DATE_ && (t.dependenciesState_ = O.POSSIBLY_STALE_, t.onBecomeStale_());
|
|
1238
1238
|
}));
|
|
@@ -1248,7 +1248,7 @@ You are entering this break point because derivation '` + e.name_ + "' is being
|
|
|
1248
1248
|
Just follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update
|
|
1249
1249
|
The stackframe you are looking for is at least ~6-8 stack-frames up.
|
|
1250
1250
|
|
|
1251
|
-
` + (e instanceof
|
|
1251
|
+
` + (e instanceof H ? e.derivation.toString().replace(/[*]\//g, "/") : "") + `
|
|
1252
1252
|
|
|
1253
1253
|
The dependencies for this derivation are:
|
|
1254
1254
|
|
|
@@ -1269,7 +1269,7 @@ function hr(e, t, r) {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
var le = /* @__PURE__ */ (function() {
|
|
1271
1271
|
function e(r, n, i, o) {
|
|
1272
|
-
r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Reaction@" +
|
|
1272
|
+
r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Reaction@" + Y() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = O.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = G.NONE, this.name_ = r, this.onInvalidate_ = n, this.errorHandler_ = i, this.requiresObservable_ = o;
|
|
1273
1273
|
}
|
|
1274
1274
|
var t = e.prototype;
|
|
1275
1275
|
return t.onBecomeStale_ = function() {
|
|
@@ -1280,10 +1280,10 @@ var le = /* @__PURE__ */ (function() {
|
|
|
1280
1280
|
if (!this.isDisposed) {
|
|
1281
1281
|
U(), this.isScheduled = !1;
|
|
1282
1282
|
var n = l.trackingContext;
|
|
1283
|
-
if (l.trackingContext = this,
|
|
1283
|
+
if (l.trackingContext = this, qt(this)) {
|
|
1284
1284
|
this.isTrackPending = !0;
|
|
1285
1285
|
try {
|
|
1286
|
-
this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending &&
|
|
1286
|
+
this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending && V() && Ee({
|
|
1287
1287
|
name: this.name_,
|
|
1288
1288
|
type: "scheduled-reaction"
|
|
1289
1289
|
});
|
|
@@ -1296,15 +1296,15 @@ var le = /* @__PURE__ */ (function() {
|
|
|
1296
1296
|
}, t.track = function(n) {
|
|
1297
1297
|
if (!this.isDisposed) {
|
|
1298
1298
|
U();
|
|
1299
|
-
var i =
|
|
1300
|
-
process.env.NODE_ENV !== "production" && i && (o = Date.now(),
|
|
1299
|
+
var i = V(), o;
|
|
1300
|
+
process.env.NODE_ENV !== "production" && i && (o = Date.now(), T({
|
|
1301
1301
|
name: this.name_,
|
|
1302
1302
|
type: "reaction"
|
|
1303
1303
|
})), this.isRunning = !0;
|
|
1304
1304
|
var s = l.trackingContext;
|
|
1305
1305
|
l.trackingContext = this;
|
|
1306
1306
|
var a = sr(this, n, void 0);
|
|
1307
|
-
l.trackingContext = s, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed &&
|
|
1307
|
+
l.trackingContext = s, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed && zt(this), tt(a) && this.reportExceptionInDerivation_(a.cause), process.env.NODE_ENV !== "production" && i && P({
|
|
1308
1308
|
time: Date.now() - o
|
|
1309
1309
|
}), $();
|
|
1310
1310
|
}
|
|
@@ -1317,7 +1317,7 @@ var le = /* @__PURE__ */ (function() {
|
|
|
1317
1317
|
if (l.disableErrorBoundaries)
|
|
1318
1318
|
throw n;
|
|
1319
1319
|
var o = process.env.NODE_ENV !== "production" ? "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'" : "[mobx] uncaught error in '" + this + "'";
|
|
1320
|
-
l.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(o, n), process.env.NODE_ENV !== "production" &&
|
|
1320
|
+
l.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(o, n), process.env.NODE_ENV !== "production" && V() && Ee({
|
|
1321
1321
|
type: "error",
|
|
1322
1322
|
name: this.name_,
|
|
1323
1323
|
message: o,
|
|
@@ -1326,7 +1326,7 @@ var le = /* @__PURE__ */ (function() {
|
|
|
1326
1326
|
return s(n, i);
|
|
1327
1327
|
});
|
|
1328
1328
|
}, t.dispose = function() {
|
|
1329
|
-
this.isDisposed || (this.isDisposed = !0, this.isRunning || (U(),
|
|
1329
|
+
this.isDisposed || (this.isDisposed = !0, this.isRunning || (U(), zt(this), $()));
|
|
1330
1330
|
}, t.getDisposer_ = function(n) {
|
|
1331
1331
|
var i = this, o = function s() {
|
|
1332
1332
|
i.dispose(), n == null || n.removeEventListener == null || n.removeEventListener("abort", s);
|
|
@@ -1336,45 +1336,45 @@ var le = /* @__PURE__ */ (function() {
|
|
|
1336
1336
|
return "Reaction[" + this.name_ + "]";
|
|
1337
1337
|
}, t.trace = function(n) {
|
|
1338
1338
|
n === void 0 && (n = !1), yo(this, n);
|
|
1339
|
-
},
|
|
1339
|
+
}, Pe(e, [{
|
|
1340
1340
|
key: "isDisposed",
|
|
1341
1341
|
get: function() {
|
|
1342
|
-
return
|
|
1342
|
+
return x(this.flags_, e.isDisposedMask_);
|
|
1343
1343
|
},
|
|
1344
1344
|
set: function(n) {
|
|
1345
|
-
this.flags_ =
|
|
1345
|
+
this.flags_ = j(this.flags_, e.isDisposedMask_, n);
|
|
1346
1346
|
}
|
|
1347
1347
|
}, {
|
|
1348
1348
|
key: "isScheduled",
|
|
1349
1349
|
get: function() {
|
|
1350
|
-
return
|
|
1350
|
+
return x(this.flags_, e.isScheduledMask_);
|
|
1351
1351
|
},
|
|
1352
1352
|
set: function(n) {
|
|
1353
|
-
this.flags_ =
|
|
1353
|
+
this.flags_ = j(this.flags_, e.isScheduledMask_, n);
|
|
1354
1354
|
}
|
|
1355
1355
|
}, {
|
|
1356
1356
|
key: "isTrackPending",
|
|
1357
1357
|
get: function() {
|
|
1358
|
-
return
|
|
1358
|
+
return x(this.flags_, e.isTrackPendingMask_);
|
|
1359
1359
|
},
|
|
1360
1360
|
set: function(n) {
|
|
1361
|
-
this.flags_ =
|
|
1361
|
+
this.flags_ = j(this.flags_, e.isTrackPendingMask_, n);
|
|
1362
1362
|
}
|
|
1363
1363
|
}, {
|
|
1364
1364
|
key: "isRunning",
|
|
1365
1365
|
get: function() {
|
|
1366
|
-
return
|
|
1366
|
+
return x(this.flags_, e.isRunningMask_);
|
|
1367
1367
|
},
|
|
1368
1368
|
set: function(n) {
|
|
1369
|
-
this.flags_ =
|
|
1369
|
+
this.flags_ = j(this.flags_, e.isRunningMask_, n);
|
|
1370
1370
|
}
|
|
1371
1371
|
}, {
|
|
1372
1372
|
key: "diffValue",
|
|
1373
1373
|
get: function() {
|
|
1374
|
-
return
|
|
1374
|
+
return x(this.flags_, e.diffValueMask_) ? 1 : 0;
|
|
1375
1375
|
},
|
|
1376
1376
|
set: function(n) {
|
|
1377
|
-
this.flags_ =
|
|
1377
|
+
this.flags_ = j(this.flags_, e.diffValueMask_, n === 1);
|
|
1378
1378
|
}
|
|
1379
1379
|
}]);
|
|
1380
1380
|
})();
|
|
@@ -1383,13 +1383,13 @@ le.isScheduledMask_ = 2;
|
|
|
1383
1383
|
le.isTrackPendingMask_ = 4;
|
|
1384
1384
|
le.isRunningMask_ = 8;
|
|
1385
1385
|
le.diffValueMask_ = 16;
|
|
1386
|
-
var _n = 100,
|
|
1386
|
+
var _n = 100, Wt = function(t) {
|
|
1387
1387
|
return t();
|
|
1388
1388
|
};
|
|
1389
1389
|
function _r() {
|
|
1390
|
-
l.inBatch > 0 || l.isRunningReactions ||
|
|
1390
|
+
l.inBatch > 0 || l.isRunningReactions || Wt(Yi);
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function Yi() {
|
|
1393
1393
|
l.isRunningReactions = !0;
|
|
1394
1394
|
for (var e = l.pendingReactions, t = 0; e.length > 0; ) {
|
|
1395
1395
|
++t === _n && (console.error(process.env.NODE_ENV !== "production" ? "Reaction doesn't converge to a stable state after " + _n + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0]) : "[mobx] cycle in reaction: " + e[0]), e.splice(0));
|
|
@@ -1399,15 +1399,15 @@ function Ji() {
|
|
|
1399
1399
|
l.isRunningReactions = !1;
|
|
1400
1400
|
}
|
|
1401
1401
|
var pt = /* @__PURE__ */ Ne("Reaction", le);
|
|
1402
|
-
function
|
|
1403
|
-
var t =
|
|
1404
|
-
|
|
1402
|
+
function Ji(e) {
|
|
1403
|
+
var t = Wt;
|
|
1404
|
+
Wt = function(n) {
|
|
1405
1405
|
return e(function() {
|
|
1406
1406
|
return t(n);
|
|
1407
1407
|
});
|
|
1408
1408
|
};
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function V() {
|
|
1411
1411
|
return process.env.NODE_ENV !== "production" && !!l.spyListeners.length;
|
|
1412
1412
|
}
|
|
1413
1413
|
function Ee(e) {
|
|
@@ -1415,7 +1415,7 @@ function Ee(e) {
|
|
|
1415
1415
|
for (var t = l.spyListeners, r = 0, n = t.length; r < n; r++)
|
|
1416
1416
|
t[r](e);
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function T(e) {
|
|
1419
1419
|
if (process.env.NODE_ENV !== "production") {
|
|
1420
1420
|
var t = ce({}, e, {
|
|
1421
1421
|
spyReportStart: !0
|
|
@@ -1427,7 +1427,7 @@ var Qi = {
|
|
|
1427
1427
|
type: "report-end",
|
|
1428
1428
|
spyReportEnd: !0
|
|
1429
1429
|
};
|
|
1430
|
-
function
|
|
1430
|
+
function P(e) {
|
|
1431
1431
|
process.env.NODE_ENV !== "production" && Ee(e ? ce({}, e, {
|
|
1432
1432
|
type: "report-end",
|
|
1433
1433
|
spyReportEnd: !0
|
|
@@ -1441,26 +1441,26 @@ function eo(e) {
|
|
|
1441
1441
|
});
|
|
1442
1442
|
}));
|
|
1443
1443
|
}
|
|
1444
|
-
var an = "action", to = "action.bound", br = "autoAction", no = "autoAction.bound", ro = "<unnamed action>",
|
|
1444
|
+
var an = "action", to = "action.bound", br = "autoAction", no = "autoAction.bound", ro = "<unnamed action>", Zt = /* @__PURE__ */ We(an), io = /* @__PURE__ */ We(to, {
|
|
1445
1445
|
bound: !0
|
|
1446
|
-
}),
|
|
1446
|
+
}), Xt = /* @__PURE__ */ We(br, {
|
|
1447
1447
|
autoAction: !0
|
|
1448
|
-
}), oo = /* @__PURE__ */
|
|
1448
|
+
}), oo = /* @__PURE__ */ We(no, {
|
|
1449
1449
|
autoAction: !0,
|
|
1450
1450
|
bound: !0
|
|
1451
1451
|
});
|
|
1452
1452
|
function mr(e) {
|
|
1453
1453
|
var t = function(n, i) {
|
|
1454
|
-
if (
|
|
1454
|
+
if (C(n))
|
|
1455
1455
|
return Oe(n.name || ro, n, e);
|
|
1456
|
-
if (
|
|
1456
|
+
if (C(i))
|
|
1457
1457
|
return Oe(n, i, e);
|
|
1458
|
-
if (
|
|
1459
|
-
return (e ?
|
|
1458
|
+
if (ze(i))
|
|
1459
|
+
return (e ? Xt : Zt).decorate_20223_(n, i);
|
|
1460
1460
|
if (ge(i))
|
|
1461
|
-
return
|
|
1461
|
+
return qe(n, i, e ? Xt : Zt);
|
|
1462
1462
|
if (ge(n))
|
|
1463
|
-
return ie(
|
|
1463
|
+
return ie(We(e ? br : an, {
|
|
1464
1464
|
name: n,
|
|
1465
1465
|
autoAction: e
|
|
1466
1466
|
}));
|
|
@@ -1468,19 +1468,19 @@ function mr(e) {
|
|
|
1468
1468
|
};
|
|
1469
1469
|
return t;
|
|
1470
1470
|
}
|
|
1471
|
-
var
|
|
1472
|
-
Object.assign(
|
|
1471
|
+
var Ve = /* @__PURE__ */ mr(!1);
|
|
1472
|
+
Object.assign(Ve, Zt);
|
|
1473
1473
|
var Fe = /* @__PURE__ */ mr(!0);
|
|
1474
|
-
Object.assign(Fe,
|
|
1475
|
-
|
|
1474
|
+
Object.assign(Fe, Xt);
|
|
1475
|
+
Ve.bound = /* @__PURE__ */ ie(io);
|
|
1476
1476
|
Fe.bound = /* @__PURE__ */ ie(oo);
|
|
1477
|
-
function
|
|
1478
|
-
return
|
|
1477
|
+
function xe(e) {
|
|
1478
|
+
return C(e) && e.isMobxAction === !0;
|
|
1479
1479
|
}
|
|
1480
1480
|
function so(e, t) {
|
|
1481
1481
|
var r, n, i, o;
|
|
1482
|
-
t === void 0 && (t = Gn), process.env.NODE_ENV !== "production" && (
|
|
1483
|
-
var s = (r = (n = t) == null ? void 0 : n.name) != null ? r : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" +
|
|
1482
|
+
t === void 0 && (t = Gn), process.env.NODE_ENV !== "production" && (C(e) || p("Autorun expects a function as first argument"), xe(e) && p("Autorun does not accept actions since actions are untrackable"));
|
|
1483
|
+
var s = (r = (n = t) == null ? void 0 : n.name) != null ? r : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" + Y() : "Autorun", a = !t.scheduler && !t.delay, u;
|
|
1484
1484
|
if (a)
|
|
1485
1485
|
u = new le(s, function() {
|
|
1486
1486
|
this.track(v);
|
|
@@ -1514,7 +1514,7 @@ function gr(e, t, r) {
|
|
|
1514
1514
|
return yr(lo, e, t, r);
|
|
1515
1515
|
}
|
|
1516
1516
|
function yr(e, t, r, n) {
|
|
1517
|
-
var i =
|
|
1517
|
+
var i = Re(t), o = C(n) ? n : r, s = e + "L";
|
|
1518
1518
|
return i[s] ? i[s].add(o) : i[s] = /* @__PURE__ */ new Set([o]), function() {
|
|
1519
1519
|
var a = i[s];
|
|
1520
1520
|
a && (a.delete(o), a.size === 0 && delete i[s]);
|
|
@@ -1522,7 +1522,7 @@ function yr(e, t, r, n) {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
var po = "never", Qe = "always", vo = "observed";
|
|
1524
1524
|
function ho(e) {
|
|
1525
|
-
e.isolateGlobalState === !0 &&
|
|
1525
|
+
e.isolateGlobalState === !0 && zi();
|
|
1526
1526
|
var t = e.useProxies, r = e.enforceActions;
|
|
1527
1527
|
if (t !== void 0 && (l.useProxies = t === Qe ? !0 : t === po ? !1 : typeof Proxy < "u"), t === "ifavailable" && (l.verifyProxies = !0), r !== void 0) {
|
|
1528
1528
|
var n = r === Qe ? Qe : r === vo;
|
|
@@ -1530,14 +1530,14 @@ function ho(e) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
["computedRequiresReaction", "reactionRequiresObservable", "observableRequiresReaction", "disableErrorBoundaries", "safeDescriptors"].forEach(function(i) {
|
|
1532
1532
|
i in e && (l[i] = !!e[i]);
|
|
1533
|
-
}), l.allowStateReads = !l.observableRequiresReaction, process.env.NODE_ENV !== "production" && l.disableErrorBoundaries === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), e.reactionScheduler &&
|
|
1533
|
+
}), l.allowStateReads = !l.observableRequiresReaction, process.env.NODE_ENV !== "production" && l.disableErrorBoundaries === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), e.reactionScheduler && Ji(e.reactionScheduler);
|
|
1534
1534
|
}
|
|
1535
1535
|
function Or(e, t, r, n) {
|
|
1536
|
-
process.env.NODE_ENV !== "production" && (arguments.length > 4 && p("'extendObservable' expected 2-4 arguments"), typeof e != "object" && p("'extendObservable' expects an object as first argument"), ve(e) && p("'extendObservable' should not be used on maps, use map.merge instead"),
|
|
1537
|
-
var i =
|
|
1536
|
+
process.env.NODE_ENV !== "production" && (arguments.length > 4 && p("'extendObservable' expected 2-4 arguments"), typeof e != "object" && p("'extendObservable' expects an object as first argument"), ve(e) && p("'extendObservable' should not be used on maps, use map.merge instead"), R(t) || p("'extendObservable' only accepts plain objects as second argument"), (Ge(t) || Ge(r)) && p("Extending an object with another observable (object) is not supported"));
|
|
1537
|
+
var i = zr(t);
|
|
1538
1538
|
return he(function() {
|
|
1539
|
-
var o =
|
|
1540
|
-
|
|
1539
|
+
var o = Ce(e, n)[_];
|
|
1540
|
+
Le(i).forEach(function(s) {
|
|
1541
1541
|
o.extend_(
|
|
1542
1542
|
s,
|
|
1543
1543
|
i[s],
|
|
@@ -1548,7 +1548,7 @@ function Or(e, t, r, n) {
|
|
|
1548
1548
|
}), e;
|
|
1549
1549
|
}
|
|
1550
1550
|
function Er(e, t) {
|
|
1551
|
-
return Nr(
|
|
1551
|
+
return Nr(Re(e, t));
|
|
1552
1552
|
}
|
|
1553
1553
|
function Nr(e) {
|
|
1554
1554
|
var t = {
|
|
@@ -1564,68 +1564,68 @@ function Ar() {
|
|
|
1564
1564
|
this.message = "FLOW_CANCELLED";
|
|
1565
1565
|
}
|
|
1566
1566
|
Ar.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
1567
|
-
var
|
|
1567
|
+
var Vt = /* @__PURE__ */ Qn("flow"), mo = /* @__PURE__ */ Qn("flow.bound", {
|
|
1568
1568
|
bound: !0
|
|
1569
|
-
}),
|
|
1570
|
-
if (
|
|
1571
|
-
return
|
|
1569
|
+
}), je = /* @__PURE__ */ Object.assign(function(t, r) {
|
|
1570
|
+
if (ze(r))
|
|
1571
|
+
return Vt.decorate_20223_(t, r);
|
|
1572
1572
|
if (ge(r))
|
|
1573
|
-
return
|
|
1573
|
+
return qe(t, r, Vt);
|
|
1574
1574
|
process.env.NODE_ENV !== "production" && arguments.length !== 1 && p("Flow expects single argument with generator function");
|
|
1575
1575
|
var n = t, i = n.name || "<unnamed flow>", o = function() {
|
|
1576
|
-
var a = this, u = arguments, f = ++bo, d =
|
|
1576
|
+
var a = this, u = arguments, f = ++bo, d = Ve(i + " - runid: " + f + " - init", n).apply(a, u), v, h = void 0, b = new Promise(function(g, y) {
|
|
1577
1577
|
var E = 0;
|
|
1578
1578
|
v = y;
|
|
1579
|
-
function
|
|
1579
|
+
function w(A) {
|
|
1580
1580
|
h = void 0;
|
|
1581
|
-
var
|
|
1581
|
+
var M;
|
|
1582
1582
|
try {
|
|
1583
|
-
|
|
1583
|
+
M = Ve(i + " - runid: " + f + " - yield " + E++, d.next).call(d, A);
|
|
1584
1584
|
} catch (_e) {
|
|
1585
1585
|
return y(_e);
|
|
1586
1586
|
}
|
|
1587
|
-
S(
|
|
1587
|
+
S(M);
|
|
1588
1588
|
}
|
|
1589
1589
|
function Q(A) {
|
|
1590
1590
|
h = void 0;
|
|
1591
|
-
var
|
|
1591
|
+
var M;
|
|
1592
1592
|
try {
|
|
1593
|
-
|
|
1593
|
+
M = Ve(i + " - runid: " + f + " - yield " + E++, d.throw).call(d, A);
|
|
1594
1594
|
} catch (_e) {
|
|
1595
1595
|
return y(_e);
|
|
1596
1596
|
}
|
|
1597
|
-
S(
|
|
1597
|
+
S(M);
|
|
1598
1598
|
}
|
|
1599
1599
|
function S(A) {
|
|
1600
|
-
if (
|
|
1600
|
+
if (C(A?.then)) {
|
|
1601
1601
|
A.then(S, y);
|
|
1602
1602
|
return;
|
|
1603
1603
|
}
|
|
1604
|
-
return A.done ? g(A.value) : (h = Promise.resolve(A.value), h.then(
|
|
1604
|
+
return A.done ? g(A.value) : (h = Promise.resolve(A.value), h.then(w, Q));
|
|
1605
1605
|
}
|
|
1606
|
-
|
|
1606
|
+
w(void 0);
|
|
1607
1607
|
});
|
|
1608
|
-
return b.cancel =
|
|
1608
|
+
return b.cancel = Ve(i + " - runid: " + f + " - cancel", function() {
|
|
1609
1609
|
try {
|
|
1610
1610
|
h && bn(h);
|
|
1611
1611
|
var g = d.return(void 0), y = Promise.resolve(g.value);
|
|
1612
|
-
y.then(
|
|
1612
|
+
y.then(we, we), bn(y), v(new Ar());
|
|
1613
1613
|
} catch (E) {
|
|
1614
1614
|
v(E);
|
|
1615
1615
|
}
|
|
1616
1616
|
}), b;
|
|
1617
1617
|
};
|
|
1618
1618
|
return o.isMobXFlow = !0, o;
|
|
1619
|
-
},
|
|
1620
|
-
|
|
1619
|
+
}, Vt);
|
|
1620
|
+
je.bound = /* @__PURE__ */ ie(mo);
|
|
1621
1621
|
function bn(e) {
|
|
1622
|
-
|
|
1622
|
+
C(e.cancel) && e.cancel();
|
|
1623
1623
|
}
|
|
1624
1624
|
function Ke(e) {
|
|
1625
1625
|
return e?.isMobXFlow === !0;
|
|
1626
1626
|
}
|
|
1627
1627
|
function go(e, t) {
|
|
1628
|
-
return e ?
|
|
1628
|
+
return e ? Be(e) || !!e[_] || tn(e) || pt(e) || Ct(e) : !1;
|
|
1629
1629
|
}
|
|
1630
1630
|
function Ge(e) {
|
|
1631
1631
|
return process.env.NODE_ENV !== "production" && arguments.length !== 1 && p("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"), go(e);
|
|
@@ -1646,9 +1646,9 @@ function Oo(e) {
|
|
|
1646
1646
|
case 0:
|
|
1647
1647
|
return l.trackingDerivation;
|
|
1648
1648
|
case 1:
|
|
1649
|
-
return
|
|
1649
|
+
return Re(e[0]);
|
|
1650
1650
|
case 2:
|
|
1651
|
-
return
|
|
1651
|
+
return Re(e[0], e[1]);
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
1654
|
function ae(e, t) {
|
|
@@ -1664,25 +1664,25 @@ function be(e) {
|
|
|
1664
1664
|
}
|
|
1665
1665
|
var Eo = {
|
|
1666
1666
|
has: function(t, r) {
|
|
1667
|
-
return process.env.NODE_ENV !== "production" && l.trackingDerivation &&
|
|
1667
|
+
return process.env.NODE_ENV !== "production" && l.trackingDerivation && Me("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), be(t).has_(r);
|
|
1668
1668
|
},
|
|
1669
1669
|
get: function(t, r) {
|
|
1670
1670
|
return be(t).get_(r);
|
|
1671
1671
|
},
|
|
1672
1672
|
set: function(t, r, n) {
|
|
1673
1673
|
var i;
|
|
1674
|
-
return ge(r) ? (process.env.NODE_ENV !== "production" && !be(t).values_.has(r) &&
|
|
1674
|
+
return ge(r) ? (process.env.NODE_ENV !== "production" && !be(t).values_.has(r) && Me("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (i = be(t).set_(r, n, !0)) != null ? i : !0) : !1;
|
|
1675
1675
|
},
|
|
1676
1676
|
deleteProperty: function(t, r) {
|
|
1677
1677
|
var n;
|
|
1678
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1678
|
+
return process.env.NODE_ENV !== "production" && Me("delete properties from an observable object. Use 'remove' from 'mobx' instead."), ge(r) ? (n = be(t).delete_(r, !0)) != null ? n : !0 : !1;
|
|
1679
1679
|
},
|
|
1680
1680
|
defineProperty: function(t, r, n) {
|
|
1681
1681
|
var i;
|
|
1682
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1682
|
+
return process.env.NODE_ENV !== "production" && Me("define property on an observable object. Use 'defineProperty' from 'mobx' instead."), (i = be(t).defineProperty_(r, n)) != null ? i : !0;
|
|
1683
1683
|
},
|
|
1684
1684
|
ownKeys: function(t) {
|
|
1685
|
-
return process.env.NODE_ENV !== "production" && l.trackingDerivation &&
|
|
1685
|
+
return process.env.NODE_ENV !== "production" && l.trackingDerivation && Me("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."), be(t).ownKeys_();
|
|
1686
1686
|
},
|
|
1687
1687
|
preventExtensions: function(t) {
|
|
1688
1688
|
p(13);
|
|
@@ -1690,12 +1690,12 @@ var Eo = {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
function No(e, t) {
|
|
1692
1692
|
var r, n;
|
|
1693
|
-
return
|
|
1693
|
+
return Hn(), e = Ce(e, t), (n = (r = e[_]).proxy_) != null ? n : r.proxy_ = new Proxy(e, Eo);
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function k(e) {
|
|
1696
1696
|
return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function Ze(e, t) {
|
|
1699
1699
|
var r = e.interceptors_ || (e.interceptors_ = []);
|
|
1700
1700
|
return r.push(t), en(function() {
|
|
1701
1701
|
var n = r.indexOf(t);
|
|
@@ -1712,17 +1712,17 @@ function I(e, t) {
|
|
|
1712
1712
|
ue(r);
|
|
1713
1713
|
}
|
|
1714
1714
|
}
|
|
1715
|
-
function
|
|
1715
|
+
function Z(e) {
|
|
1716
1716
|
return e.changeListeners_ !== void 0 && e.changeListeners_.length > 0;
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function Xe(e, t) {
|
|
1719
1719
|
var r = e.changeListeners_ || (e.changeListeners_ = []);
|
|
1720
1720
|
return r.push(t), en(function() {
|
|
1721
1721
|
var n = r.indexOf(t);
|
|
1722
1722
|
n !== -1 && r.splice(n, 1);
|
|
1723
1723
|
});
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function X(e, t) {
|
|
1726
1726
|
var r = Ae(), n = e.changeListeners_;
|
|
1727
1727
|
if (n) {
|
|
1728
1728
|
n = n.slice();
|
|
@@ -1733,21 +1733,21 @@ function Y(e, t) {
|
|
|
1733
1733
|
}
|
|
1734
1734
|
function Ao(e, t, r) {
|
|
1735
1735
|
return he(function() {
|
|
1736
|
-
var n, i =
|
|
1737
|
-
process.env.NODE_ENV !== "production" && t && e[
|
|
1736
|
+
var n, i = Ce(e, r)[_];
|
|
1737
|
+
process.env.NODE_ENV !== "production" && t && e[L] && p("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (n = t) != null || (t = Qr(e)), Le(t).forEach(function(o) {
|
|
1738
1738
|
return i.make_(o, t[o]);
|
|
1739
1739
|
});
|
|
1740
1740
|
}), e;
|
|
1741
1741
|
}
|
|
1742
|
-
var
|
|
1742
|
+
var Lt = /* @__PURE__ */ Symbol("mobx-keys");
|
|
1743
1743
|
function Se(e, t, r) {
|
|
1744
|
-
return process.env.NODE_ENV !== "production" && (!
|
|
1745
|
-
var n =
|
|
1746
|
-
if (!e[
|
|
1747
|
-
var i = Object.getPrototypeOf(e), o = new Set([].concat(
|
|
1748
|
-
o.delete("constructor"), o.delete(_),
|
|
1744
|
+
return process.env.NODE_ENV !== "production" && (!R(e) && !R(Object.getPrototypeOf(e)) && p("'makeAutoObservable' can only be used for classes that don't have a superclass"), Be(e) && p("makeAutoObservable can only be used on objects not already made observable")), R(e) ? Or(e, e, t, r) : (he(function() {
|
|
1745
|
+
var n = Ce(e, r)[_];
|
|
1746
|
+
if (!e[Lt]) {
|
|
1747
|
+
var i = Object.getPrototypeOf(e), o = new Set([].concat(Le(e), Le(i)));
|
|
1748
|
+
o.delete("constructor"), o.delete(_), He(i, Lt, o);
|
|
1749
1749
|
}
|
|
1750
|
-
e[
|
|
1750
|
+
e[Lt].forEach(function(s) {
|
|
1751
1751
|
return n.make_(
|
|
1752
1752
|
s,
|
|
1753
1753
|
// must pass "undefined" for { key: undefined }
|
|
@@ -1756,7 +1756,7 @@ function Se(e, t, r) {
|
|
|
1756
1756
|
});
|
|
1757
1757
|
}), e);
|
|
1758
1758
|
}
|
|
1759
|
-
var mn = "splice",
|
|
1759
|
+
var mn = "splice", W = "update", So = 1e4, Co = {
|
|
1760
1760
|
get: function(t, r) {
|
|
1761
1761
|
var n = t[_];
|
|
1762
1762
|
return r === _ ? n : r === "length" ? n.getArrayLength_() : typeof r == "string" && !isNaN(r) ? n.get_(parseInt(r)) : K(vt, r) ? vt[r] : t[r];
|
|
@@ -1770,7 +1770,7 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
}, un = /* @__PURE__ */ (function() {
|
|
1772
1772
|
function e(r, n, i, o) {
|
|
1773
|
-
r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableArray@" +
|
|
1773
|
+
r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableArray@" + Y() : "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = i, this.legacyMode_ = o, this.atom_ = new pe(r), this.enhancer_ = function(s, a) {
|
|
1774
1774
|
return n(s, a, process.env.NODE_ENV !== "production" ? r + "[..]" : "ObservableArray[..]");
|
|
1775
1775
|
};
|
|
1776
1776
|
}
|
|
@@ -1780,7 +1780,7 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1780
1780
|
}, t.dehanceValues_ = function(n) {
|
|
1781
1781
|
return this.dehancer !== void 0 && n.length > 0 ? n.map(this.dehancer) : n;
|
|
1782
1782
|
}, t.intercept_ = function(n) {
|
|
1783
|
-
return
|
|
1783
|
+
return Ze(this, n);
|
|
1784
1784
|
}, t.observe_ = function(n, i) {
|
|
1785
1785
|
return i === void 0 && (i = !1), i && n({
|
|
1786
1786
|
observableKind: "array",
|
|
@@ -1792,7 +1792,7 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1792
1792
|
addedCount: this.values_.length,
|
|
1793
1793
|
removed: [],
|
|
1794
1794
|
removedCount: 0
|
|
1795
|
-
}),
|
|
1795
|
+
}), Xe(this, n);
|
|
1796
1796
|
}, t.getArrayLength_ = function() {
|
|
1797
1797
|
return this.atom_.reportObserved(), this.values_.length;
|
|
1798
1798
|
}, t.setArrayLength_ = function(n) {
|
|
@@ -1806,12 +1806,12 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1806
1806
|
} else
|
|
1807
1807
|
this.spliceWithArray_(n, i - n);
|
|
1808
1808
|
}, t.updateArrayLength_ = function(n, i) {
|
|
1809
|
-
n !== this.lastKnownLength_ && p(16), this.lastKnownLength_ += i, this.legacyMode_ && i > 0 &&
|
|
1809
|
+
n !== this.lastKnownLength_ && p(16), this.lastKnownLength_ += i, this.legacyMode_ && i > 0 && Lr(n + i + 1);
|
|
1810
1810
|
}, t.spliceWithArray_ = function(n, i, o) {
|
|
1811
1811
|
var s = this;
|
|
1812
1812
|
ne(this.atom_);
|
|
1813
1813
|
var a = this.values_.length;
|
|
1814
|
-
if (n === void 0 ? n = 0 : n > a ? n = a : n < 0 && (n = Math.max(0, a + n)), arguments.length === 1 ? i = a - n : i == null ? i = 0 : i = Math.max(0, Math.min(i, a - n)), o === void 0 && (o = ut),
|
|
1814
|
+
if (n === void 0 ? n = 0 : n > a ? n = a : n < 0 && (n = Math.max(0, a + n)), arguments.length === 1 ? i = a - n : i == null ? i = 0 : i = Math.max(0, Math.min(i, a - n)), o === void 0 && (o = ut), k(this)) {
|
|
1815
1815
|
var u = I(this, {
|
|
1816
1816
|
object: this.proxy_,
|
|
1817
1817
|
type: mn,
|
|
@@ -1845,18 +1845,18 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1845
1845
|
return a;
|
|
1846
1846
|
}
|
|
1847
1847
|
}, t.notifyArrayChildUpdate_ = function(n, i, o) {
|
|
1848
|
-
var s = !this.owned_ &&
|
|
1848
|
+
var s = !this.owned_ && V(), a = Z(this), u = a || s ? {
|
|
1849
1849
|
observableKind: "array",
|
|
1850
1850
|
object: this.proxy_,
|
|
1851
|
-
type:
|
|
1851
|
+
type: W,
|
|
1852
1852
|
debugObjectName: this.atom_.name_,
|
|
1853
1853
|
index: n,
|
|
1854
1854
|
newValue: i,
|
|
1855
1855
|
oldValue: o
|
|
1856
1856
|
} : null;
|
|
1857
|
-
process.env.NODE_ENV !== "production" && s &&
|
|
1857
|
+
process.env.NODE_ENV !== "production" && s && T(u), this.atom_.reportChanged(), a && X(this, u), process.env.NODE_ENV !== "production" && s && P();
|
|
1858
1858
|
}, t.notifyArraySplice_ = function(n, i, o) {
|
|
1859
|
-
var s = !this.owned_ &&
|
|
1859
|
+
var s = !this.owned_ && V(), a = Z(this), u = a || s ? {
|
|
1860
1860
|
observableKind: "array",
|
|
1861
1861
|
object: this.proxy_,
|
|
1862
1862
|
debugObjectName: this.atom_.name_,
|
|
@@ -1867,7 +1867,7 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1867
1867
|
removedCount: o.length,
|
|
1868
1868
|
addedCount: i.length
|
|
1869
1869
|
} : null;
|
|
1870
|
-
process.env.NODE_ENV !== "production" && s &&
|
|
1870
|
+
process.env.NODE_ENV !== "production" && s && T(u), this.atom_.reportChanged(), a && X(this, u), process.env.NODE_ENV !== "production" && s && P();
|
|
1871
1871
|
}, t.get_ = function(n) {
|
|
1872
1872
|
if (this.legacyMode_ && n >= this.values_.length) {
|
|
1873
1873
|
console.warn(process.env.NODE_ENV !== "production" ? "[mobx.array] Attempt to read an array index (" + n + ") that is out of bounds (" + this.values_.length + "). Please check length first. Out of bound indices will not be tracked by MobX" : "[mobx] Out of bounds read: " + n);
|
|
@@ -1879,9 +1879,9 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1879
1879
|
if (this.legacyMode_ && n > o.length && p(17, n, o.length), n < o.length) {
|
|
1880
1880
|
ne(this.atom_);
|
|
1881
1881
|
var s = o[n];
|
|
1882
|
-
if (
|
|
1882
|
+
if (k(this)) {
|
|
1883
1883
|
var a = I(this, {
|
|
1884
|
-
type:
|
|
1884
|
+
type: W,
|
|
1885
1885
|
object: this.proxy_,
|
|
1886
1886
|
// since "this" is the real array we need to pass its proxy
|
|
1887
1887
|
index: n,
|
|
@@ -1901,11 +1901,11 @@ var mn = "splice", H = "update", So = 1e4, wo = {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
}, e;
|
|
1903
1903
|
})();
|
|
1904
|
-
function
|
|
1905
|
-
return r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableArray@" +
|
|
1904
|
+
function wo(e, t, r, n) {
|
|
1905
|
+
return r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableArray@" + Y() : "ObservableArray"), n === void 0 && (n = !1), Hn(), he(function() {
|
|
1906
1906
|
var i = new un(r, t, n, !1);
|
|
1907
|
-
|
|
1908
|
-
var o = new Proxy(i.values_,
|
|
1907
|
+
zn(i.values_, _, i);
|
|
1908
|
+
var o = new Proxy(i.values_, Co);
|
|
1909
1909
|
return i.proxy_ = o, e && e.length && i.spliceWithArray_(0, 0, e), o;
|
|
1910
1910
|
});
|
|
1911
1911
|
}
|
|
@@ -1973,36 +1973,36 @@ var vt = {
|
|
|
1973
1973
|
return n > -1 ? (this.splice(n, 1), !0) : !1;
|
|
1974
1974
|
}
|
|
1975
1975
|
};
|
|
1976
|
-
N("at",
|
|
1977
|
-
N("concat",
|
|
1978
|
-
N("flat",
|
|
1979
|
-
N("includes",
|
|
1980
|
-
N("indexOf",
|
|
1981
|
-
N("join",
|
|
1982
|
-
N("lastIndexOf",
|
|
1983
|
-
N("slice",
|
|
1984
|
-
N("toString",
|
|
1985
|
-
N("toLocaleString",
|
|
1986
|
-
N("toSorted",
|
|
1987
|
-
N("toSpliced",
|
|
1988
|
-
N("with",
|
|
1989
|
-
N("every",
|
|
1990
|
-
N("filter",
|
|
1991
|
-
N("find",
|
|
1992
|
-
N("findIndex",
|
|
1993
|
-
N("findLast",
|
|
1994
|
-
N("findLastIndex",
|
|
1995
|
-
N("flatMap",
|
|
1996
|
-
N("forEach",
|
|
1997
|
-
N("map",
|
|
1998
|
-
N("some",
|
|
1999
|
-
N("toReversed",
|
|
1976
|
+
N("at", B);
|
|
1977
|
+
N("concat", B);
|
|
1978
|
+
N("flat", B);
|
|
1979
|
+
N("includes", B);
|
|
1980
|
+
N("indexOf", B);
|
|
1981
|
+
N("join", B);
|
|
1982
|
+
N("lastIndexOf", B);
|
|
1983
|
+
N("slice", B);
|
|
1984
|
+
N("toString", B);
|
|
1985
|
+
N("toLocaleString", B);
|
|
1986
|
+
N("toSorted", B);
|
|
1987
|
+
N("toSpliced", B);
|
|
1988
|
+
N("with", B);
|
|
1989
|
+
N("every", J);
|
|
1990
|
+
N("filter", J);
|
|
1991
|
+
N("find", J);
|
|
1992
|
+
N("findIndex", J);
|
|
1993
|
+
N("findLast", J);
|
|
1994
|
+
N("findLastIndex", J);
|
|
1995
|
+
N("flatMap", J);
|
|
1996
|
+
N("forEach", J);
|
|
1997
|
+
N("map", J);
|
|
1998
|
+
N("some", J);
|
|
1999
|
+
N("toReversed", J);
|
|
2000
2000
|
N("reduce", Sr);
|
|
2001
2001
|
N("reduceRight", Sr);
|
|
2002
2002
|
function N(e, t) {
|
|
2003
2003
|
typeof Array.prototype[e] == "function" && (vt[e] = t(e));
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function B(e) {
|
|
2006
2006
|
return function() {
|
|
2007
2007
|
var t = this[_];
|
|
2008
2008
|
t.atom_.reportObserved();
|
|
@@ -2010,7 +2010,7 @@ function M(e) {
|
|
|
2010
2010
|
return r[e].apply(r, arguments);
|
|
2011
2011
|
};
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function J(e) {
|
|
2014
2014
|
return function(t, r) {
|
|
2015
2015
|
var n = this, i = this[_];
|
|
2016
2016
|
i.atom_.reportObserved();
|
|
@@ -2030,15 +2030,15 @@ function Sr(e) {
|
|
|
2030
2030
|
}, n[e].apply(n, arguments);
|
|
2031
2031
|
};
|
|
2032
2032
|
}
|
|
2033
|
-
var
|
|
2034
|
-
function
|
|
2035
|
-
return Ot(e) &&
|
|
2033
|
+
var Do = /* @__PURE__ */ Ne("ObservableArrayAdministration", un);
|
|
2034
|
+
function wt(e) {
|
|
2035
|
+
return Ot(e) && Do(e[_]);
|
|
2036
2036
|
}
|
|
2037
|
-
var
|
|
2037
|
+
var Vo = {}, fe = "add", ht = "delete", Cr = /* @__PURE__ */ (function() {
|
|
2038
2038
|
function e(r, n, i) {
|
|
2039
2039
|
var o = this;
|
|
2040
|
-
n === void 0 && (n = ye), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableMap@" +
|
|
2041
|
-
o.keysAtom_ =
|
|
2040
|
+
n === void 0 && (n = ye), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableMap@" + Y() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[_] = Vo, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = i, C(Map) || p(18), he(function() {
|
|
2041
|
+
o.keysAtom_ = Yn(process.env.NODE_ENV !== "production" ? o.name_ + ".keys()" : "ObservableMap.keys()"), o.data_ = /* @__PURE__ */ new Map(), o.hasMap_ = /* @__PURE__ */ new Map(), r && o.merge(r);
|
|
2042
2042
|
});
|
|
2043
2043
|
}
|
|
2044
2044
|
var t = e.prototype;
|
|
@@ -2058,9 +2058,9 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2058
2058
|
return o.get();
|
|
2059
2059
|
}, t.set = function(n, i) {
|
|
2060
2060
|
var o = this.has_(n);
|
|
2061
|
-
if (
|
|
2061
|
+
if (k(this)) {
|
|
2062
2062
|
var s = I(this, {
|
|
2063
|
-
type: o ?
|
|
2063
|
+
type: o ? W : fe,
|
|
2064
2064
|
object: this,
|
|
2065
2065
|
newValue: i,
|
|
2066
2066
|
name: n
|
|
@@ -2072,7 +2072,7 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2072
2072
|
return o ? this.updateValue_(n, i) : this.addValue_(n, i), this;
|
|
2073
2073
|
}, t.delete = function(n) {
|
|
2074
2074
|
var i = this;
|
|
2075
|
-
if (ne(this.keysAtom_),
|
|
2075
|
+
if (ne(this.keysAtom_), k(this)) {
|
|
2076
2076
|
var o = I(this, {
|
|
2077
2077
|
type: ht,
|
|
2078
2078
|
object: this,
|
|
@@ -2082,7 +2082,7 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2082
2082
|
return !1;
|
|
2083
2083
|
}
|
|
2084
2084
|
if (this.has_(n)) {
|
|
2085
|
-
var s =
|
|
2085
|
+
var s = V(), a = Z(this), u = a || s ? {
|
|
2086
2086
|
observableKind: "map",
|
|
2087
2087
|
debugObjectName: this.name_,
|
|
2088
2088
|
type: ht,
|
|
@@ -2090,27 +2090,27 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2090
2090
|
oldValue: this.data_.get(n).value_,
|
|
2091
2091
|
name: n
|
|
2092
2092
|
} : null;
|
|
2093
|
-
return process.env.NODE_ENV !== "production" && s &&
|
|
2093
|
+
return process.env.NODE_ENV !== "production" && s && T(u), ae(function() {
|
|
2094
2094
|
var f;
|
|
2095
2095
|
i.keysAtom_.reportChanged(), (f = i.hasMap_.get(n)) == null || f.setNewValue_(!1);
|
|
2096
2096
|
var d = i.data_.get(n);
|
|
2097
2097
|
d.setNewValue_(void 0), i.data_.delete(n);
|
|
2098
|
-
}), a &&
|
|
2098
|
+
}), a && X(this, u), process.env.NODE_ENV !== "production" && s && P(), !0;
|
|
2099
2099
|
}
|
|
2100
2100
|
return !1;
|
|
2101
2101
|
}, t.updateValue_ = function(n, i) {
|
|
2102
2102
|
var o = this.data_.get(n);
|
|
2103
2103
|
if (i = o.prepareNewValue_(i), i !== l.UNCHANGED) {
|
|
2104
|
-
var s =
|
|
2104
|
+
var s = V(), a = Z(this), u = a || s ? {
|
|
2105
2105
|
observableKind: "map",
|
|
2106
2106
|
debugObjectName: this.name_,
|
|
2107
|
-
type:
|
|
2107
|
+
type: W,
|
|
2108
2108
|
object: this,
|
|
2109
2109
|
oldValue: o.value_,
|
|
2110
2110
|
name: n,
|
|
2111
2111
|
newValue: i
|
|
2112
2112
|
} : null;
|
|
2113
|
-
process.env.NODE_ENV !== "production" && s &&
|
|
2113
|
+
process.env.NODE_ENV !== "production" && s && T(u), o.setNewValue_(i), a && X(this, u), process.env.NODE_ENV !== "production" && s && P();
|
|
2114
2114
|
}
|
|
2115
2115
|
}, t.addValue_ = function(n, i) {
|
|
2116
2116
|
var o = this;
|
|
@@ -2118,7 +2118,7 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2118
2118
|
var f, d = new me(i, o.enhancer_, process.env.NODE_ENV !== "production" ? o.name_ + "." + Ft(n) : "ObservableMap.key", !1);
|
|
2119
2119
|
o.data_.set(n, d), i = d.value_, (f = o.hasMap_.get(n)) == null || f.setNewValue_(!0), o.keysAtom_.reportChanged();
|
|
2120
2120
|
});
|
|
2121
|
-
var s =
|
|
2121
|
+
var s = V(), a = Z(this), u = a || s ? {
|
|
2122
2122
|
observableKind: "map",
|
|
2123
2123
|
debugObjectName: this.name_,
|
|
2124
2124
|
type: fe,
|
|
@@ -2126,7 +2126,7 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2126
2126
|
name: n,
|
|
2127
2127
|
newValue: i
|
|
2128
2128
|
} : null;
|
|
2129
|
-
process.env.NODE_ENV !== "production" && s &&
|
|
2129
|
+
process.env.NODE_ENV !== "production" && s && T(u), a && X(this, u), process.env.NODE_ENV !== "production" && s && P();
|
|
2130
2130
|
}, t.get = function(n) {
|
|
2131
2131
|
return this.has(n) ? this.dehanceValue_(this.data_.get(n).get()) : this.dehanceValue_(void 0);
|
|
2132
2132
|
}, t.dehanceValue_ = function(n) {
|
|
@@ -2158,19 +2158,19 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2158
2158
|
}, t[Symbol.iterator] = function() {
|
|
2159
2159
|
return this.entries();
|
|
2160
2160
|
}, t.forEach = function(n, i) {
|
|
2161
|
-
for (var o =
|
|
2161
|
+
for (var o = De(this), s; !(s = o()).done; ) {
|
|
2162
2162
|
var a = s.value, u = a[0], f = a[1];
|
|
2163
2163
|
n.call(i, f, u, this);
|
|
2164
2164
|
}
|
|
2165
2165
|
}, t.merge = function(n) {
|
|
2166
2166
|
var i = this;
|
|
2167
2167
|
return ve(n) && (n = new Map(n)), ae(function() {
|
|
2168
|
-
|
|
2168
|
+
R(n) ? qr(n).forEach(function(o) {
|
|
2169
2169
|
return i.set(o, n[o]);
|
|
2170
2170
|
}) : Array.isArray(n) ? n.forEach(function(o) {
|
|
2171
2171
|
var s = o[0], a = o[1];
|
|
2172
2172
|
return i.set(s, a);
|
|
2173
|
-
}) :
|
|
2173
|
+
}) : Te(n) ? (Hr(n) || p(19, n), n.forEach(function(o, s) {
|
|
2174
2174
|
return i.set(s, o);
|
|
2175
2175
|
})) : n != null && p(20, n);
|
|
2176
2176
|
}), this;
|
|
@@ -2178,7 +2178,7 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2178
2178
|
var n = this;
|
|
2179
2179
|
ae(function() {
|
|
2180
2180
|
ar(function() {
|
|
2181
|
-
for (var i =
|
|
2181
|
+
for (var i = De(n.keys()), o; !(o = i()).done; ) {
|
|
2182
2182
|
var s = o.value;
|
|
2183
2183
|
n.delete(s);
|
|
2184
2184
|
}
|
|
@@ -2187,7 +2187,7 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2187
2187
|
}, t.replace = function(n) {
|
|
2188
2188
|
var i = this;
|
|
2189
2189
|
return ae(function() {
|
|
2190
|
-
for (var o =
|
|
2190
|
+
for (var o = Lo(n), s = /* @__PURE__ */ new Map(), a = !1, u = De(i.data_.keys()), f; !(f = u()).done; ) {
|
|
2191
2191
|
var d = f.value;
|
|
2192
2192
|
if (!o.has(d)) {
|
|
2193
2193
|
var v = i.delete(d);
|
|
@@ -2199,9 +2199,9 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2199
2199
|
}
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
|
-
for (var b =
|
|
2203
|
-
var y = g.value, E = y[0],
|
|
2204
|
-
if (i.set(E,
|
|
2202
|
+
for (var b = De(o.entries()), g; !(g = b()).done; ) {
|
|
2203
|
+
var y = g.value, E = y[0], w = y[1], Q = i.data_.has(E);
|
|
2204
|
+
if (i.set(E, w), i.data_.has(E)) {
|
|
2205
2205
|
var S = i.data_.get(E);
|
|
2206
2206
|
s.set(E, S), Q || (a = !0);
|
|
2207
2207
|
}
|
|
@@ -2210,12 +2210,12 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2210
2210
|
if (i.data_.size !== s.size)
|
|
2211
2211
|
i.keysAtom_.reportChanged();
|
|
2212
2212
|
else
|
|
2213
|
-
for (var A = i.data_.keys(),
|
|
2213
|
+
for (var A = i.data_.keys(), M = s.keys(), _e = A.next(), fn = M.next(); !_e.done; ) {
|
|
2214
2214
|
if (_e.value !== fn.value) {
|
|
2215
2215
|
i.keysAtom_.reportChanged();
|
|
2216
2216
|
break;
|
|
2217
2217
|
}
|
|
2218
|
-
_e = A.next(), fn =
|
|
2218
|
+
_e = A.next(), fn = M.next();
|
|
2219
2219
|
}
|
|
2220
2220
|
i.data_ = s;
|
|
2221
2221
|
}), this;
|
|
@@ -2224,10 +2224,10 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2224
2224
|
}, t.toJSON = function() {
|
|
2225
2225
|
return Array.from(this);
|
|
2226
2226
|
}, t.observe_ = function(n, i) {
|
|
2227
|
-
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support fireImmediately=true in combination with maps."),
|
|
2227
|
+
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support fireImmediately=true in combination with maps."), Xe(this, n);
|
|
2228
2228
|
}, t.intercept_ = function(n) {
|
|
2229
|
-
return
|
|
2230
|
-
},
|
|
2229
|
+
return Ze(this, n);
|
|
2230
|
+
}, Pe(e, [{
|
|
2231
2231
|
key: "size",
|
|
2232
2232
|
get: function() {
|
|
2233
2233
|
return this.keysAtom_.reportObserved(), this.data_.size;
|
|
@@ -2238,16 +2238,16 @@ var Co = {}, fe = "add", ht = "delete", wr = /* @__PURE__ */ (function() {
|
|
|
2238
2238
|
return "Map";
|
|
2239
2239
|
}
|
|
2240
2240
|
}]);
|
|
2241
|
-
})(), ve = /* @__PURE__ */ Ne("ObservableMap",
|
|
2241
|
+
})(), ve = /* @__PURE__ */ Ne("ObservableMap", Cr);
|
|
2242
2242
|
function gn(e) {
|
|
2243
2243
|
return e[Symbol.toStringTag] = "MapIterator", ln(e);
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2246
|
-
if (
|
|
2245
|
+
function Lo(e) {
|
|
2246
|
+
if (Te(e) || ve(e))
|
|
2247
2247
|
return e;
|
|
2248
2248
|
if (Array.isArray(e))
|
|
2249
2249
|
return new Map(e);
|
|
2250
|
-
if (
|
|
2250
|
+
if (R(e)) {
|
|
2251
2251
|
var t = /* @__PURE__ */ new Map();
|
|
2252
2252
|
for (var r in e)
|
|
2253
2253
|
t.set(r, e[r]);
|
|
@@ -2255,13 +2255,13 @@ function jo(e) {
|
|
|
2255
2255
|
} else
|
|
2256
2256
|
return p(21, e);
|
|
2257
2257
|
}
|
|
2258
|
-
var
|
|
2258
|
+
var xo = {}, wr = /* @__PURE__ */ (function() {
|
|
2259
2259
|
function e(r, n, i) {
|
|
2260
2260
|
var o = this;
|
|
2261
|
-
n === void 0 && (n = ye), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableSet@" +
|
|
2261
|
+
n === void 0 && (n = ye), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableSet@" + Y() : "ObservableSet"), this.name_ = void 0, this[_] = xo, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = i, C(Set) || p(22), this.enhancer_ = function(s, a) {
|
|
2262
2262
|
return n(s, a, i);
|
|
2263
2263
|
}, he(function() {
|
|
2264
|
-
o.atom_ =
|
|
2264
|
+
o.atom_ = Yn(o.name_), r && o.replace(r);
|
|
2265
2265
|
});
|
|
2266
2266
|
}
|
|
2267
2267
|
var t = e.prototype;
|
|
@@ -2271,20 +2271,20 @@ var Ro = {}, Dr = /* @__PURE__ */ (function() {
|
|
|
2271
2271
|
var n = this;
|
|
2272
2272
|
ae(function() {
|
|
2273
2273
|
ar(function() {
|
|
2274
|
-
for (var i =
|
|
2274
|
+
for (var i = De(n.data_.values()), o; !(o = i()).done; ) {
|
|
2275
2275
|
var s = o.value;
|
|
2276
2276
|
n.delete(s);
|
|
2277
2277
|
}
|
|
2278
2278
|
});
|
|
2279
2279
|
});
|
|
2280
2280
|
}, t.forEach = function(n, i) {
|
|
2281
|
-
for (var o =
|
|
2281
|
+
for (var o = De(this), s; !(s = o()).done; ) {
|
|
2282
2282
|
var a = s.value;
|
|
2283
2283
|
n.call(i, a, a, this);
|
|
2284
2284
|
}
|
|
2285
2285
|
}, t.add = function(n) {
|
|
2286
2286
|
var i = this;
|
|
2287
|
-
if (ne(this.atom_),
|
|
2287
|
+
if (ne(this.atom_), k(this)) {
|
|
2288
2288
|
var o = I(this, {
|
|
2289
2289
|
type: fe,
|
|
2290
2290
|
object: this,
|
|
@@ -2298,19 +2298,19 @@ var Ro = {}, Dr = /* @__PURE__ */ (function() {
|
|
|
2298
2298
|
ae(function() {
|
|
2299
2299
|
i.data_.add(i.enhancer_(n, void 0)), i.atom_.reportChanged();
|
|
2300
2300
|
});
|
|
2301
|
-
var s = process.env.NODE_ENV !== "production" &&
|
|
2301
|
+
var s = process.env.NODE_ENV !== "production" && V(), a = Z(this), u = a || s ? {
|
|
2302
2302
|
observableKind: "set",
|
|
2303
2303
|
debugObjectName: this.name_,
|
|
2304
2304
|
type: fe,
|
|
2305
2305
|
object: this,
|
|
2306
2306
|
newValue: n
|
|
2307
2307
|
} : null;
|
|
2308
|
-
s && process.env.NODE_ENV !== "production" &&
|
|
2308
|
+
s && process.env.NODE_ENV !== "production" && T(u), a && X(this, u), s && process.env.NODE_ENV !== "production" && P();
|
|
2309
2309
|
}
|
|
2310
2310
|
return this;
|
|
2311
2311
|
}, t.delete = function(n) {
|
|
2312
2312
|
var i = this;
|
|
2313
|
-
if (
|
|
2313
|
+
if (k(this)) {
|
|
2314
2314
|
var o = I(this, {
|
|
2315
2315
|
type: ht,
|
|
2316
2316
|
object: this,
|
|
@@ -2320,16 +2320,16 @@ var Ro = {}, Dr = /* @__PURE__ */ (function() {
|
|
|
2320
2320
|
return !1;
|
|
2321
2321
|
}
|
|
2322
2322
|
if (this.has(n)) {
|
|
2323
|
-
var s = process.env.NODE_ENV !== "production" &&
|
|
2323
|
+
var s = process.env.NODE_ENV !== "production" && V(), a = Z(this), u = a || s ? {
|
|
2324
2324
|
observableKind: "set",
|
|
2325
2325
|
debugObjectName: this.name_,
|
|
2326
2326
|
type: ht,
|
|
2327
2327
|
object: this,
|
|
2328
2328
|
oldValue: n
|
|
2329
2329
|
} : null;
|
|
2330
|
-
return s && process.env.NODE_ENV !== "production" &&
|
|
2330
|
+
return s && process.env.NODE_ENV !== "production" && T(u), ae(function() {
|
|
2331
2331
|
i.atom_.reportChanged(), i.data_.delete(n);
|
|
2332
|
-
}), a &&
|
|
2332
|
+
}), a && X(this, u), s && process.env.NODE_ENV !== "production" && P(), !0;
|
|
2333
2333
|
}
|
|
2334
2334
|
return !1;
|
|
2335
2335
|
}, t.has = function(n) {
|
|
@@ -2401,16 +2401,16 @@ var Ro = {}, Dr = /* @__PURE__ */ (function() {
|
|
|
2401
2401
|
})) : n != null && p("Cannot initialize set from " + n);
|
|
2402
2402
|
}), this;
|
|
2403
2403
|
}, t.observe_ = function(n, i) {
|
|
2404
|
-
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support fireImmediately=true in combination with sets."),
|
|
2404
|
+
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support fireImmediately=true in combination with sets."), Xe(this, n);
|
|
2405
2405
|
}, t.intercept_ = function(n) {
|
|
2406
|
-
return
|
|
2406
|
+
return Ze(this, n);
|
|
2407
2407
|
}, t.toJSON = function() {
|
|
2408
2408
|
return Array.from(this);
|
|
2409
2409
|
}, t.toString = function() {
|
|
2410
2410
|
return "[object ObservableSet]";
|
|
2411
2411
|
}, t[Symbol.iterator] = function() {
|
|
2412
2412
|
return this.values();
|
|
2413
|
-
},
|
|
2413
|
+
}, Pe(e, [{
|
|
2414
2414
|
key: "size",
|
|
2415
2415
|
get: function() {
|
|
2416
2416
|
return this.atom_.reportObserved(), this.data_.size;
|
|
@@ -2421,24 +2421,24 @@ var Ro = {}, Dr = /* @__PURE__ */ (function() {
|
|
|
2421
2421
|
return "Set";
|
|
2422
2422
|
}
|
|
2423
2423
|
}]);
|
|
2424
|
-
})(), te = /* @__PURE__ */ Ne("ObservableSet",
|
|
2424
|
+
})(), te = /* @__PURE__ */ Ne("ObservableSet", wr);
|
|
2425
2425
|
function yn(e) {
|
|
2426
2426
|
return e[Symbol.toStringTag] = "SetIterator", ln(e);
|
|
2427
2427
|
}
|
|
2428
|
-
var On = /* @__PURE__ */ Object.create(null), En = "remove",
|
|
2428
|
+
var On = /* @__PURE__ */ Object.create(null), En = "remove", Yt = /* @__PURE__ */ (function() {
|
|
2429
2429
|
function e(r, n, i, o) {
|
|
2430
|
-
n === void 0 && (n = /* @__PURE__ */ new Map()), o === void 0 && (o = Ei), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = r, this.values_ = n, this.name_ = i, this.defaultAnnotation_ = o, this.keysAtom_ = new pe(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ =
|
|
2430
|
+
n === void 0 && (n = /* @__PURE__ */ new Map()), o === void 0 && (o = Ei), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = r, this.values_ = n, this.name_ = i, this.defaultAnnotation_ = o, this.keysAtom_ = new pe(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = R(this.target_), process.env.NODE_ENV !== "production" && !Rr(this.defaultAnnotation_) && p("defaultAnnotation must be valid annotation"), process.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
|
|
2431
2431
|
}
|
|
2432
2432
|
var t = e.prototype;
|
|
2433
2433
|
return t.getObservablePropValue_ = function(n) {
|
|
2434
2434
|
return this.values_.get(n).get();
|
|
2435
2435
|
}, t.setObservablePropValue_ = function(n, i) {
|
|
2436
2436
|
var o = this.values_.get(n);
|
|
2437
|
-
if (o instanceof
|
|
2437
|
+
if (o instanceof H)
|
|
2438
2438
|
return o.set(i), !0;
|
|
2439
|
-
if (
|
|
2439
|
+
if (k(this)) {
|
|
2440
2440
|
var s = I(this, {
|
|
2441
|
-
type:
|
|
2441
|
+
type: W,
|
|
2442
2442
|
object: this.proxy_ || this.target_,
|
|
2443
2443
|
name: n,
|
|
2444
2444
|
newValue: i
|
|
@@ -2448,8 +2448,8 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2448
2448
|
i = s.newValue;
|
|
2449
2449
|
}
|
|
2450
2450
|
if (i = o.prepareNewValue_(i), i !== l.UNCHANGED) {
|
|
2451
|
-
var a =
|
|
2452
|
-
type:
|
|
2451
|
+
var a = Z(this), u = process.env.NODE_ENV !== "production" && V(), f = a || u ? {
|
|
2452
|
+
type: W,
|
|
2453
2453
|
observableKind: "object",
|
|
2454
2454
|
debugObjectName: this.name_,
|
|
2455
2455
|
object: this.proxy_ || this.target_,
|
|
@@ -2457,7 +2457,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2457
2457
|
name: n,
|
|
2458
2458
|
newValue: i
|
|
2459
2459
|
} : null;
|
|
2460
|
-
process.env.NODE_ENV !== "production" && u &&
|
|
2460
|
+
process.env.NODE_ENV !== "production" && u && T(f), o.setNewValue_(i), a && X(this, f), process.env.NODE_ENV !== "production" && u && P();
|
|
2461
2461
|
}
|
|
2462
2462
|
return !0;
|
|
2463
2463
|
}, t.get_ = function(n) {
|
|
@@ -2479,7 +2479,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2479
2479
|
if (i === !0 && (i = this.defaultAnnotation_), i !== !1) {
|
|
2480
2480
|
if (Sn(this, i, n), !(n in this.target_)) {
|
|
2481
2481
|
var o;
|
|
2482
|
-
if ((o = this.target_[
|
|
2482
|
+
if ((o = this.target_[L]) != null && o[n])
|
|
2483
2483
|
return;
|
|
2484
2484
|
p(1, i.annotationType_, this.name_ + "." + n.toString());
|
|
2485
2485
|
}
|
|
@@ -2509,7 +2509,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2509
2509
|
var s = this.delete_(n);
|
|
2510
2510
|
if (!s)
|
|
2511
2511
|
return s;
|
|
2512
|
-
if (
|
|
2512
|
+
if (k(this)) {
|
|
2513
2513
|
var a = I(this, {
|
|
2514
2514
|
object: this.proxy_ || this.target_,
|
|
2515
2515
|
name: n,
|
|
@@ -2540,7 +2540,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2540
2540
|
var a = this.delete_(n);
|
|
2541
2541
|
if (!a)
|
|
2542
2542
|
return a;
|
|
2543
|
-
if (
|
|
2543
|
+
if (k(this)) {
|
|
2544
2544
|
var u = I(this, {
|
|
2545
2545
|
object: this.proxy_ || this.target_,
|
|
2546
2546
|
name: n,
|
|
@@ -2575,7 +2575,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2575
2575
|
var s = this.delete_(n);
|
|
2576
2576
|
if (!s)
|
|
2577
2577
|
return s;
|
|
2578
|
-
if (
|
|
2578
|
+
if (k(this)) {
|
|
2579
2579
|
var a = I(this, {
|
|
2580
2580
|
object: this.proxy_ || this.target_,
|
|
2581
2581
|
name: n,
|
|
@@ -2597,7 +2597,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2597
2597
|
return !1;
|
|
2598
2598
|
} else
|
|
2599
2599
|
re(this.target_, n, f);
|
|
2600
|
-
this.values_.set(n, new
|
|
2600
|
+
this.values_.set(n, new H(i)), this.notifyPropertyAddition_(n, void 0);
|
|
2601
2601
|
} finally {
|
|
2602
2602
|
$();
|
|
2603
2603
|
}
|
|
@@ -2605,7 +2605,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2605
2605
|
}, t.delete_ = function(n, i) {
|
|
2606
2606
|
if (i === void 0 && (i = !1), ne(this.keysAtom_), !K(this.target_, n))
|
|
2607
2607
|
return !0;
|
|
2608
|
-
if (
|
|
2608
|
+
if (k(this)) {
|
|
2609
2609
|
var o = I(this, {
|
|
2610
2610
|
object: this.proxy_ || this.target_,
|
|
2611
2611
|
name: n,
|
|
@@ -2617,7 +2617,7 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2617
2617
|
try {
|
|
2618
2618
|
var s;
|
|
2619
2619
|
U();
|
|
2620
|
-
var a =
|
|
2620
|
+
var a = Z(this), u = process.env.NODE_ENV !== "production" && V(), f = this.values_.get(n), d = void 0;
|
|
2621
2621
|
if (!f && (a || u)) {
|
|
2622
2622
|
var v;
|
|
2623
2623
|
d = (v = at(this.target_, n)) == null ? void 0 : v.value;
|
|
@@ -2636,18 +2636,18 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2636
2636
|
oldValue: d,
|
|
2637
2637
|
name: n
|
|
2638
2638
|
};
|
|
2639
|
-
process.env.NODE_ENV !== "production" && u &&
|
|
2639
|
+
process.env.NODE_ENV !== "production" && u && T(h), a && X(this, h), process.env.NODE_ENV !== "production" && u && P();
|
|
2640
2640
|
}
|
|
2641
2641
|
} finally {
|
|
2642
2642
|
$();
|
|
2643
2643
|
}
|
|
2644
2644
|
return !0;
|
|
2645
2645
|
}, t.observe_ = function(n, i) {
|
|
2646
|
-
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support the fire immediately property for observable objects."),
|
|
2646
|
+
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support the fire immediately property for observable objects."), Xe(this, n);
|
|
2647
2647
|
}, t.intercept_ = function(n) {
|
|
2648
|
-
return
|
|
2648
|
+
return Ze(this, n);
|
|
2649
2649
|
}, t.notifyPropertyAddition_ = function(n, i) {
|
|
2650
|
-
var o, s =
|
|
2650
|
+
var o, s = Z(this), a = process.env.NODE_ENV !== "production" && V();
|
|
2651
2651
|
if (s || a) {
|
|
2652
2652
|
var u = s || a ? {
|
|
2653
2653
|
type: fe,
|
|
@@ -2657,26 +2657,26 @@ var On = /* @__PURE__ */ Object.create(null), En = "remove", Jt = /* @__PURE__ *
|
|
|
2657
2657
|
name: n,
|
|
2658
2658
|
newValue: i
|
|
2659
2659
|
} : null;
|
|
2660
|
-
process.env.NODE_ENV !== "production" && a &&
|
|
2660
|
+
process.env.NODE_ENV !== "production" && a && T(u), s && X(this, u), process.env.NODE_ENV !== "production" && a && P();
|
|
2661
2661
|
}
|
|
2662
2662
|
(o = this.pendingKeys_) == null || (o = o.get(n)) == null || o.set(!0), this.keysAtom_.reportChanged();
|
|
2663
2663
|
}, t.ownKeys_ = function() {
|
|
2664
|
-
return this.keysAtom_.reportObserved(),
|
|
2664
|
+
return this.keysAtom_.reportObserved(), Le(this.target_);
|
|
2665
2665
|
}, t.keys_ = function() {
|
|
2666
2666
|
return this.keysAtom_.reportObserved(), Object.keys(this.target_);
|
|
2667
2667
|
}, e;
|
|
2668
2668
|
})();
|
|
2669
|
-
function
|
|
2669
|
+
function Ce(e, t) {
|
|
2670
2670
|
var r;
|
|
2671
|
-
if (process.env.NODE_ENV !== "production" && t &&
|
|
2672
|
-
return process.env.NODE_ENV !== "production" && !(
|
|
2671
|
+
if (process.env.NODE_ENV !== "production" && t && Be(e) && p("Options can't be provided for already observable objects."), K(e, _))
|
|
2672
|
+
return process.env.NODE_ENV !== "production" && !(xr(e) instanceof Yt) && p("Cannot convert '" + _t(e) + `' into observable object:
|
|
2673
2673
|
The target is already observable of different type.
|
|
2674
2674
|
Extending builtins is not supported.`), e;
|
|
2675
2675
|
process.env.NODE_ENV !== "production" && !Object.isExtensible(e) && p("Cannot make the designated object observable; it is not extensible");
|
|
2676
|
-
var n = (r = t?.name) != null ? r : process.env.NODE_ENV !== "production" ? (
|
|
2677
|
-
return
|
|
2676
|
+
var n = (r = t?.name) != null ? r : process.env.NODE_ENV !== "production" ? (R(e) ? "ObservableObject" : e.constructor.name) + "@" + Y() : "ObservableObject", i = new Yt(e, /* @__PURE__ */ new Map(), String(n), Ri(t));
|
|
2677
|
+
return He(e, _, i), e;
|
|
2678
2678
|
}
|
|
2679
|
-
var
|
|
2679
|
+
var jo = /* @__PURE__ */ Ne("ObservableObjectAdministration", Yt);
|
|
2680
2680
|
function Nn(e) {
|
|
2681
2681
|
return On[e] || (On[e] = {
|
|
2682
2682
|
get: function() {
|
|
@@ -2687,15 +2687,15 @@ function Nn(e) {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
});
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2691
|
-
return Ot(e) ?
|
|
2690
|
+
function Be(e) {
|
|
2691
|
+
return Ot(e) ? jo(e[_]) : !1;
|
|
2692
2692
|
}
|
|
2693
2693
|
function An(e, t, r) {
|
|
2694
2694
|
var n;
|
|
2695
|
-
process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[r] = t), (n = e.target_[
|
|
2695
|
+
process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[r] = t), (n = e.target_[L]) == null || delete n[r];
|
|
2696
2696
|
}
|
|
2697
2697
|
function Sn(e, t, r) {
|
|
2698
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
2698
|
+
if (process.env.NODE_ENV !== "production" && !Rr(t) && p("Cannot annotate '" + e.name_ + "." + r.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !lt(t) && K(e.appliedAnnotations_, r)) {
|
|
2699
2699
|
var n = e.name_ + "." + r.toString(), i = e.appliedAnnotations_[r].annotationType_, o = t.annotationType_;
|
|
2700
2700
|
p("Cannot apply '" + o + "' to '" + n + "':" + (`
|
|
2701
2701
|
The field is already annotated with '` + i + "'.") + `
|
|
@@ -2703,28 +2703,28 @@ Re-annotating fields is not allowed.
|
|
|
2703
2703
|
Use 'override' annotation for methods overridden by subclass.`);
|
|
2704
2704
|
}
|
|
2705
2705
|
}
|
|
2706
|
-
var
|
|
2706
|
+
var Ro = /* @__PURE__ */ Vr(0), To = /* @__PURE__ */ (function() {
|
|
2707
2707
|
var e = !1, t = {};
|
|
2708
2708
|
return Object.defineProperty(t, "0", {
|
|
2709
2709
|
set: function() {
|
|
2710
2710
|
e = !0;
|
|
2711
2711
|
}
|
|
2712
2712
|
}), Object.create(t)[0] = 1, e === !1;
|
|
2713
|
-
})(),
|
|
2713
|
+
})(), xt = 0, Dr = function() {
|
|
2714
2714
|
};
|
|
2715
|
-
function
|
|
2715
|
+
function Po(e, t) {
|
|
2716
2716
|
Object.setPrototypeOf ? Object.setPrototypeOf(e.prototype, t) : e.prototype.__proto__ !== void 0 ? e.prototype.__proto__ = t : e.prototype = t;
|
|
2717
2717
|
}
|
|
2718
|
-
|
|
2718
|
+
Po(Dr, Array.prototype);
|
|
2719
2719
|
var cn = /* @__PURE__ */ (function(e) {
|
|
2720
2720
|
function t(n, i, o, s) {
|
|
2721
2721
|
var a;
|
|
2722
|
-
return o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableArray@" +
|
|
2722
|
+
return o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableArray@" + Y() : "ObservableArray"), s === void 0 && (s = !1), a = e.call(this) || this, he(function() {
|
|
2723
2723
|
var u = new un(o, i, s, !0);
|
|
2724
|
-
u.proxy_ = a,
|
|
2724
|
+
u.proxy_ = a, zn(a, _, u), n && n.length && a.spliceWithArray(0, 0, n), To && Object.defineProperty(a, "0", Ro);
|
|
2725
2725
|
}), a;
|
|
2726
2726
|
}
|
|
2727
|
-
|
|
2727
|
+
Xn(t, e);
|
|
2728
2728
|
var r = t.prototype;
|
|
2729
2729
|
return r.concat = function() {
|
|
2730
2730
|
this[_].atom_.reportObserved();
|
|
@@ -2734,7 +2734,7 @@ var cn = /* @__PURE__ */ (function(e) {
|
|
|
2734
2734
|
this.slice(),
|
|
2735
2735
|
//@ts-ignore
|
|
2736
2736
|
o.map(function(a) {
|
|
2737
|
-
return
|
|
2737
|
+
return wt(a) ? a.slice() : a;
|
|
2738
2738
|
})
|
|
2739
2739
|
);
|
|
2740
2740
|
}, r[Symbol.iterator] = function() {
|
|
@@ -2750,7 +2750,7 @@ var cn = /* @__PURE__ */ (function(e) {
|
|
|
2750
2750
|
};
|
|
2751
2751
|
}
|
|
2752
2752
|
});
|
|
2753
|
-
},
|
|
2753
|
+
}, Pe(t, [{
|
|
2754
2754
|
key: "length",
|
|
2755
2755
|
get: function() {
|
|
2756
2756
|
return this[_].getArrayLength_();
|
|
@@ -2764,12 +2764,12 @@ var cn = /* @__PURE__ */ (function(e) {
|
|
|
2764
2764
|
return "Array";
|
|
2765
2765
|
}
|
|
2766
2766
|
}]);
|
|
2767
|
-
})(
|
|
2767
|
+
})(Dr);
|
|
2768
2768
|
Object.entries(vt).forEach(function(e) {
|
|
2769
2769
|
var t = e[0], r = e[1];
|
|
2770
|
-
t !== "concat" &&
|
|
2770
|
+
t !== "concat" && He(cn.prototype, t, r);
|
|
2771
2771
|
});
|
|
2772
|
-
function
|
|
2772
|
+
function Vr(e) {
|
|
2773
2773
|
return {
|
|
2774
2774
|
enumerable: !1,
|
|
2775
2775
|
configurable: !0,
|
|
@@ -2781,23 +2781,23 @@ function Cr(e) {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
};
|
|
2783
2783
|
}
|
|
2784
|
-
function
|
|
2785
|
-
re(cn.prototype, "" + e,
|
|
2784
|
+
function Bo(e) {
|
|
2785
|
+
re(cn.prototype, "" + e, Vr(e));
|
|
2786
2786
|
}
|
|
2787
|
-
function
|
|
2788
|
-
if (e >
|
|
2789
|
-
for (var t =
|
|
2790
|
-
|
|
2791
|
-
|
|
2787
|
+
function Lr(e) {
|
|
2788
|
+
if (e > xt) {
|
|
2789
|
+
for (var t = xt; t < e + 100; t++)
|
|
2790
|
+
Bo(t);
|
|
2791
|
+
xt = e;
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
2794
|
-
|
|
2795
|
-
function
|
|
2794
|
+
Lr(1e3);
|
|
2795
|
+
function Mo(e, t, r) {
|
|
2796
2796
|
return new cn(e, t, r);
|
|
2797
2797
|
}
|
|
2798
|
-
function
|
|
2798
|
+
function Re(e, t) {
|
|
2799
2799
|
if (typeof e == "object" && e !== null) {
|
|
2800
|
-
if (
|
|
2800
|
+
if (wt(e))
|
|
2801
2801
|
return t !== void 0 && p(23), e[_].atom_;
|
|
2802
2802
|
if (te(e))
|
|
2803
2803
|
return e.atom_;
|
|
@@ -2807,20 +2807,20 @@ function Te(e, t) {
|
|
|
2807
2807
|
var r = e.data_.get(t) || e.hasMap_.get(t);
|
|
2808
2808
|
return r || p(25, t, _t(e)), r;
|
|
2809
2809
|
}
|
|
2810
|
-
if (
|
|
2810
|
+
if (Be(e)) {
|
|
2811
2811
|
if (!t)
|
|
2812
2812
|
return p(26);
|
|
2813
2813
|
var n = e[_].values_.get(t);
|
|
2814
2814
|
return n || p(27, t, _t(e)), n;
|
|
2815
2815
|
}
|
|
2816
|
-
if (tn(e) ||
|
|
2816
|
+
if (tn(e) || Ct(e) || pt(e))
|
|
2817
2817
|
return e;
|
|
2818
|
-
} else if (
|
|
2818
|
+
} else if (C(e) && pt(e[_]))
|
|
2819
2819
|
return e[_];
|
|
2820
2820
|
p(28);
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2823
|
-
if (e || p(29), tn(e) ||
|
|
2822
|
+
function xr(e, t) {
|
|
2823
|
+
if (e || p(29), tn(e) || Ct(e) || pt(e) || ve(e) || te(e))
|
|
2824
2824
|
return e;
|
|
2825
2825
|
if (e[_])
|
|
2826
2826
|
return e[_];
|
|
@@ -2829,11 +2829,11 @@ function Rr(e, t) {
|
|
|
2829
2829
|
function _t(e, t) {
|
|
2830
2830
|
var r;
|
|
2831
2831
|
if (t !== void 0)
|
|
2832
|
-
r =
|
|
2832
|
+
r = Re(e, t);
|
|
2833
2833
|
else {
|
|
2834
|
-
if (
|
|
2834
|
+
if (xe(e))
|
|
2835
2835
|
return e.name;
|
|
2836
|
-
|
|
2836
|
+
Be(e) || ve(e) || te(e) ? r = xr(e) : r = Re(e);
|
|
2837
2837
|
}
|
|
2838
2838
|
return r.name_;
|
|
2839
2839
|
}
|
|
@@ -2846,11 +2846,11 @@ function he(e) {
|
|
|
2846
2846
|
$(), on(r), ue(t);
|
|
2847
2847
|
}
|
|
2848
2848
|
}
|
|
2849
|
-
var
|
|
2850
|
-
function
|
|
2851
|
-
return r === void 0 && (r = -1),
|
|
2849
|
+
var Cn = yt.toString;
|
|
2850
|
+
function jr(e, t, r) {
|
|
2851
|
+
return r === void 0 && (r = -1), Jt(e, t, r);
|
|
2852
2852
|
}
|
|
2853
|
-
function
|
|
2853
|
+
function Jt(e, t, r, n, i) {
|
|
2854
2854
|
if (e === t)
|
|
2855
2855
|
return e !== 0 || 1 / e === 1 / t;
|
|
2856
2856
|
if (e == null || t == null)
|
|
@@ -2860,8 +2860,8 @@ function Zt(e, t, r, n, i) {
|
|
|
2860
2860
|
var o = typeof e;
|
|
2861
2861
|
if (o !== "function" && o !== "object" && typeof t != "object")
|
|
2862
2862
|
return !1;
|
|
2863
|
-
var s =
|
|
2864
|
-
if (s !==
|
|
2863
|
+
var s = Cn.call(e);
|
|
2864
|
+
if (s !== Cn.call(t))
|
|
2865
2865
|
return !1;
|
|
2866
2866
|
switch (s) {
|
|
2867
2867
|
// Strings, numbers, regular expressions, dates, and booleans are compared by value.
|
|
@@ -2881,13 +2881,13 @@ function Zt(e, t, r, n, i) {
|
|
|
2881
2881
|
r >= 0 && r++;
|
|
2882
2882
|
break;
|
|
2883
2883
|
}
|
|
2884
|
-
e =
|
|
2884
|
+
e = wn(e), t = wn(t);
|
|
2885
2885
|
var a = s === "[object Array]";
|
|
2886
2886
|
if (!a) {
|
|
2887
2887
|
if (typeof e != "object" || typeof t != "object")
|
|
2888
2888
|
return !1;
|
|
2889
2889
|
var u = e.constructor, f = t.constructor;
|
|
2890
|
-
if (u !== f && !(
|
|
2890
|
+
if (u !== f && !(C(u) && u instanceof u && C(f) && f instanceof f) && "constructor" in e && "constructor" in t)
|
|
2891
2891
|
return !1;
|
|
2892
2892
|
}
|
|
2893
2893
|
if (r === 0)
|
|
@@ -2900,7 +2900,7 @@ function Zt(e, t, r, n, i) {
|
|
|
2900
2900
|
if (d = e.length, d !== t.length)
|
|
2901
2901
|
return !1;
|
|
2902
2902
|
for (; d--; )
|
|
2903
|
-
if (!
|
|
2903
|
+
if (!Jt(e[d], t[d], r - 1, n, i))
|
|
2904
2904
|
return !1;
|
|
2905
2905
|
} else {
|
|
2906
2906
|
var v = Object.keys(e), h = v.length;
|
|
@@ -2908,26 +2908,26 @@ function Zt(e, t, r, n, i) {
|
|
|
2908
2908
|
return !1;
|
|
2909
2909
|
for (var b = 0; b < h; b++) {
|
|
2910
2910
|
var g = v[b];
|
|
2911
|
-
if (!(K(t, g) &&
|
|
2911
|
+
if (!(K(t, g) && Jt(e[g], t[g], r - 1, n, i)))
|
|
2912
2912
|
return !1;
|
|
2913
2913
|
}
|
|
2914
2914
|
}
|
|
2915
2915
|
return n.pop(), i.pop(), !0;
|
|
2916
2916
|
}
|
|
2917
|
-
function
|
|
2918
|
-
return
|
|
2917
|
+
function wn(e) {
|
|
2918
|
+
return wt(e) ? e.slice() : Te(e) || ve(e) || se(e) || te(e) ? Array.from(e.entries()) : e;
|
|
2919
2919
|
}
|
|
2920
|
-
var
|
|
2920
|
+
var Dn, ko = ((Dn = gt().Iterator) == null ? void 0 : Dn.prototype) || {};
|
|
2921
2921
|
function ln(e) {
|
|
2922
|
-
return e[Symbol.iterator] = Io, Object.assign(Object.create(
|
|
2922
|
+
return e[Symbol.iterator] = Io, Object.assign(Object.create(ko), e);
|
|
2923
2923
|
}
|
|
2924
2924
|
function Io() {
|
|
2925
2925
|
return this;
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function Rr(e) {
|
|
2928
2928
|
return (
|
|
2929
2929
|
// Can be function
|
|
2930
|
-
e instanceof Object && typeof e.annotationType_ == "string" &&
|
|
2930
|
+
e instanceof Object && typeof e.annotationType_ == "string" && C(e.make_) && C(e.extend_)
|
|
2931
2931
|
);
|
|
2932
2932
|
}
|
|
2933
2933
|
["Symbol", "Map", "Set"].forEach(function(e) {
|
|
@@ -2954,7 +2954,7 @@ function $o(e) {
|
|
|
2954
2954
|
function Fo(e) {
|
|
2955
2955
|
return Er(e);
|
|
2956
2956
|
}
|
|
2957
|
-
var Ko = 1e4, Go = 1e4,
|
|
2957
|
+
var Ko = 1e4, Go = 1e4, Ho = (
|
|
2958
2958
|
/** @class */
|
|
2959
2959
|
(function() {
|
|
2960
2960
|
function e(t) {
|
|
@@ -3020,10 +3020,10 @@ var Ko = 1e4, Go = 1e4, qo = (
|
|
|
3020
3020
|
}
|
|
3021
3021
|
}), e;
|
|
3022
3022
|
})()
|
|
3023
|
-
),
|
|
3023
|
+
), qo = typeof FinalizationRegistry < "u" ? FinalizationRegistry : Ho, Qt = new qo(function(e) {
|
|
3024
3024
|
var t;
|
|
3025
3025
|
(t = e.reaction) === null || t === void 0 || t.dispose(), e.reaction = null;
|
|
3026
|
-
}), et = { exports: {} },
|
|
3026
|
+
}), et = { exports: {} }, jt = {};
|
|
3027
3027
|
/**
|
|
3028
3028
|
* @license React
|
|
3029
3029
|
* use-sync-external-store-shim.production.js
|
|
@@ -3033,10 +3033,10 @@ var Ko = 1e4, Go = 1e4, qo = (
|
|
|
3033
3033
|
* This source code is licensed under the MIT license found in the
|
|
3034
3034
|
* LICENSE file in the root directory of this source tree.
|
|
3035
3035
|
*/
|
|
3036
|
-
var
|
|
3037
|
-
function
|
|
3038
|
-
if (
|
|
3039
|
-
|
|
3036
|
+
var Vn;
|
|
3037
|
+
function zo() {
|
|
3038
|
+
if (Vn) return jt;
|
|
3039
|
+
Vn = 1;
|
|
3040
3040
|
var e = de;
|
|
3041
3041
|
function t(v, h) {
|
|
3042
3042
|
return v === h && (v !== 0 || 1 / v === 1 / h) || v !== v && h !== h;
|
|
@@ -3072,9 +3072,9 @@ function Wo() {
|
|
|
3072
3072
|
return h();
|
|
3073
3073
|
}
|
|
3074
3074
|
var d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? f : a;
|
|
3075
|
-
return
|
|
3075
|
+
return jt.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : d, jt;
|
|
3076
3076
|
}
|
|
3077
|
-
var
|
|
3077
|
+
var Rt = {};
|
|
3078
3078
|
/**
|
|
3079
3079
|
* @license React
|
|
3080
3080
|
* use-sync-external-store-shim.development.js
|
|
@@ -3084,9 +3084,9 @@ var Tt = {};
|
|
|
3084
3084
|
* This source code is licensed under the MIT license found in the
|
|
3085
3085
|
* LICENSE file in the root directory of this source tree.
|
|
3086
3086
|
*/
|
|
3087
|
-
var
|
|
3088
|
-
function
|
|
3089
|
-
return
|
|
3087
|
+
var Ln;
|
|
3088
|
+
function Wo() {
|
|
3089
|
+
return Ln || (Ln = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
3090
3090
|
function e(b, g) {
|
|
3091
3091
|
return b === g && (b !== 0 || 1 / b === 1 / g) || b !== b && g !== g;
|
|
3092
3092
|
}
|
|
@@ -3104,16 +3104,16 @@ function Ho() {
|
|
|
3104
3104
|
E = s({
|
|
3105
3105
|
inst: { value: y, getSnapshot: g }
|
|
3106
3106
|
});
|
|
3107
|
-
var
|
|
3107
|
+
var w = E[0].inst, Q = E[1];
|
|
3108
3108
|
return u(
|
|
3109
3109
|
function() {
|
|
3110
|
-
|
|
3110
|
+
w.value = y, w.getSnapshot = g, r(w) && Q({ inst: w });
|
|
3111
3111
|
},
|
|
3112
3112
|
[b, y, g]
|
|
3113
3113
|
), a(
|
|
3114
3114
|
function() {
|
|
3115
|
-
return r(
|
|
3116
|
-
r(
|
|
3115
|
+
return r(w) && Q({ inst: w }), b(function() {
|
|
3116
|
+
r(w) && Q({ inst: w });
|
|
3117
3117
|
});
|
|
3118
3118
|
},
|
|
3119
3119
|
[b]
|
|
@@ -3134,21 +3134,21 @@ function Ho() {
|
|
|
3134
3134
|
}
|
|
3135
3135
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
3136
3136
|
var i = de, o = typeof Object.is == "function" ? Object.is : e, s = i.useState, a = i.useEffect, u = i.useLayoutEffect, f = i.useDebugValue, d = !1, v = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : t;
|
|
3137
|
-
|
|
3138
|
-
})()),
|
|
3137
|
+
Rt.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
3138
|
+
})()), Rt;
|
|
3139
3139
|
}
|
|
3140
|
-
var
|
|
3141
|
-
function
|
|
3142
|
-
return
|
|
3140
|
+
var xn;
|
|
3141
|
+
function Zo() {
|
|
3142
|
+
return xn || (xn = 1, process.env.NODE_ENV === "production" ? et.exports = zo() : et.exports = Wo()), et.exports;
|
|
3143
3143
|
}
|
|
3144
|
-
var
|
|
3145
|
-
function
|
|
3144
|
+
var Xo = Zo();
|
|
3145
|
+
function jn(e) {
|
|
3146
3146
|
e.reaction = new le("observer".concat(e.name), function() {
|
|
3147
3147
|
var t;
|
|
3148
3148
|
e.stateVersion = Symbol(), (t = e.onStoreChange) === null || t === void 0 || t.call(e);
|
|
3149
3149
|
});
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3151
|
+
function Yo(e, t) {
|
|
3152
3152
|
t === void 0 && (t = "observed");
|
|
3153
3153
|
var r = de.useRef(null);
|
|
3154
3154
|
if (!r.current) {
|
|
@@ -3158,7 +3158,7 @@ function Jo(e, t) {
|
|
|
3158
3158
|
stateVersion: Symbol(),
|
|
3159
3159
|
name: t,
|
|
3160
3160
|
subscribe: function(a) {
|
|
3161
|
-
return Qt.unregister(n), n.onStoreChange = a, n.reaction || (
|
|
3161
|
+
return Qt.unregister(n), n.onStoreChange = a, n.reaction || (jn(n), n.stateVersion = Symbol()), function() {
|
|
3162
3162
|
var u;
|
|
3163
3163
|
n.onStoreChange = null, (u = n.reaction) === null || u === void 0 || u.dispose(), n.reaction = null;
|
|
3164
3164
|
};
|
|
@@ -3170,7 +3170,7 @@ function Jo(e, t) {
|
|
|
3170
3170
|
r.current = n;
|
|
3171
3171
|
}
|
|
3172
3172
|
var i = r.current;
|
|
3173
|
-
i.reaction || (
|
|
3173
|
+
i.reaction || (jn(i), Qt.register(r, i, i)), de.useDebugValue(i.reaction, Fo), Xo.useSyncExternalStore(
|
|
3174
3174
|
// Both of these must be stable, otherwise it would keep resubscribing every render.
|
|
3175
3175
|
i.subscribe,
|
|
3176
3176
|
i.getSnapshot,
|
|
@@ -3187,21 +3187,21 @@ function Jo(e, t) {
|
|
|
3187
3187
|
throw s;
|
|
3188
3188
|
return o;
|
|
3189
3189
|
}
|
|
3190
|
-
var
|
|
3191
|
-
}, "name")) === null ||
|
|
3190
|
+
var Tt, Pt, Jo = !0, Rn = !0, Tr = typeof Symbol == "function" && Symbol.for, Qo = (Pt = (Tt = Object.getOwnPropertyDescriptor(function() {
|
|
3191
|
+
}, "name")) === null || Tt === void 0 ? void 0 : Tt.configurable) !== null && Pt !== void 0 ? Pt : !1, Tn = Tr ? Symbol.for("react.forward_ref") : typeof Ut == "function" && Ut(function(e) {
|
|
3192
3192
|
return null;
|
|
3193
|
-
}).$$typeof,
|
|
3193
|
+
}).$$typeof, Pn = Tr ? Symbol.for("react.memo") : typeof $t == "function" && $t(function(e) {
|
|
3194
3194
|
return null;
|
|
3195
3195
|
}).$$typeof;
|
|
3196
|
-
function
|
|
3196
|
+
function q(e, t) {
|
|
3197
3197
|
var r;
|
|
3198
|
-
if (process.env.NODE_ENV,
|
|
3198
|
+
if (process.env.NODE_ENV, Pn && e.$$typeof === Pn)
|
|
3199
3199
|
throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");
|
|
3200
3200
|
var n = (r = void 0) !== null && r !== void 0 ? r : !1, i = e, o = e.displayName || e.name;
|
|
3201
|
-
if (
|
|
3201
|
+
if (Tn && e.$$typeof === Tn && (n = !0, i = e.render, typeof i != "function"))
|
|
3202
3202
|
throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");
|
|
3203
3203
|
var s = function(a, u) {
|
|
3204
|
-
return
|
|
3204
|
+
return Yo(function() {
|
|
3205
3205
|
return i(a, u);
|
|
3206
3206
|
}, o);
|
|
3207
3207
|
};
|
|
@@ -3209,7 +3209,7 @@ function z(e, t) {
|
|
|
3209
3209
|
value: e.name,
|
|
3210
3210
|
writable: !0,
|
|
3211
3211
|
configurable: !0
|
|
3212
|
-
}), e.contextTypes && (s.contextTypes = e.contextTypes, process.env.NODE_ENV !== "production" &&
|
|
3212
|
+
}), e.contextTypes && (s.contextTypes = e.contextTypes, process.env.NODE_ENV !== "production" && Rn && (Rn = !1, console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))), n && (s = Ut(s)), s = $t(s), ts(e, s), process.env.NODE_ENV !== "production" && Object.defineProperty(s, "contextTypes", {
|
|
3213
3213
|
set: function() {
|
|
3214
3214
|
var a, u;
|
|
3215
3215
|
throw new Error("[mobx-react-lite] `".concat(this.displayName || ((a = this.type) === null || a === void 0 ? void 0 : a.displayName) || ((u = this.type) === null || u === void 0 ? void 0 : u.name) || "Component", ".contextTypes` must be set before applying `observer`."));
|
|
@@ -3231,10 +3231,10 @@ function ts(e, t) {
|
|
|
3231
3231
|
});
|
|
3232
3232
|
}
|
|
3233
3233
|
process.env.NODE_ENV;
|
|
3234
|
-
var
|
|
3234
|
+
var Bt;
|
|
3235
3235
|
$o(Ir);
|
|
3236
|
-
|
|
3237
|
-
const ns = ({ onClick: e, disabled: t = !1, imagePath: r }) => m("div", { className: "buy-bonus-wrap", "aria-hidden": t ? "true" : "false", children: [r && c("div", { className: "bonus-thumb", role: "img", "aria-label": "bonus thumbnail", style: { backgroundImage: `url(${r})` } }), c("button", { className: `buy-bonus ${t ? "buy-bonus--disabled" : ""}`, onClick: e, disabled: t, "aria-pressed": t, children: r ? "Disable" : "Buy Bonus" })] }),
|
|
3236
|
+
Bt = Qt.finalizeAllImmediately;
|
|
3237
|
+
const ns = ({ onClick: e, disabled: t = !1, imagePath: r }) => m("div", { className: "buy-bonus-wrap", "aria-hidden": t ? "true" : "false", children: [r && c("div", { className: "bonus-thumb", role: "img", "aria-label": "bonus thumbnail", style: { backgroundImage: `url(${r})` } }), c("button", { className: `buy-bonus ${t ? "buy-bonus--disabled" : ""}`, onClick: e, disabled: t, "aria-pressed": t, children: r ? "Disable" : "Buy Bonus" })] }), Bn = ({ label: e, value: t }) => m("div", { className: "info", children: [c("span", { className: "label", children: e }), c("span", { className: "value", children: t })] }), rs = ({ onClick: e, disabled: t = !1, value: r, activeAnteBet: n = !1 }) => m("div", { className: `bet-amount ${t ? "disabled" : ""}`, onClick: e, children: [c("div", { className: "bet-amount-icon" }), m("label", { className: `bet-amount-text ${n ? "ante-color" : ""}`, children: [r, " FUN"] })] }), Mn = ({ onClick: e, disabled: t = !1, className: r }) => c("button", { className: `${r} ${t ? "disabled" : ""}`, onClick: e }), is = ({ onClick: e, disabled: t = !1 }) => c("button", { className: `spin-btn ${t ? "disabled" : ""}`, onClick: e }), kn = ({ onClick: e, disabled: t = !1, className: r, isActive: n }) => c("button", { className: `${r} ${t ? "disabled" : ""} ${n ? "active" : ""}`, onClick: e });
|
|
3238
3238
|
class os {
|
|
3239
3239
|
balance = 1e4;
|
|
3240
3240
|
betAmount = 10;
|
|
@@ -3309,7 +3309,7 @@ class ss {
|
|
|
3309
3309
|
return this.activePopup !== null;
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
|
-
const F = new ss(),
|
|
3312
|
+
const F = new ss(), z = {
|
|
3313
3313
|
bet: "bet",
|
|
3314
3314
|
autoplay: "autoplay",
|
|
3315
3315
|
settings: "settings",
|
|
@@ -3343,7 +3343,7 @@ const F = new ss(), W = {
|
|
|
3343
3343
|
}
|
|
3344
3344
|
]
|
|
3345
3345
|
}
|
|
3346
|
-
],
|
|
3346
|
+
], Mt = {
|
|
3347
3347
|
ante: "ante",
|
|
3348
3348
|
buy: "buy"
|
|
3349
3349
|
};
|
|
@@ -3469,9 +3469,9 @@ class ls {
|
|
|
3469
3469
|
return !!this.activeAnteBet;
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
|
-
const bt = new ls(), fs =
|
|
3472
|
+
const bt = new ls(), fs = q(() => {
|
|
3473
3473
|
const { lastWin: e, balance: t, betAmount: r, displayCurrency: n, setNextBetAmount: i, setPrevBetAmount: o } = oe, { setIsTurbo: s, isTurbo: a } = ee, { open: u } = F, { activeAnteBet: f, activeBonusFeature: d, activeInReelFeature: v } = bt, h = ot(() => f?.imagePath || v?.imagePath || d?.imagePath, [f, d, v]);
|
|
3474
|
-
return c("div", { className: "ui-footer", children: m("div", { className: "top-row", children: [m("div", { className: "left-group", children: [c(ns, { imagePath: h, onClick: u.bind(F,
|
|
3474
|
+
return c("div", { className: "ui-footer", children: m("div", { className: "top-row", children: [m("div", { className: "left-group", children: [c(ns, { imagePath: h, onClick: u.bind(F, z.buyBonus) }), m("div", { className: "balance-info", children: [c(Bn, { label: "LAST WIN", value: `${e} ${n}` }), c(Bn, { label: "BALANCE", value: `${t} ${n}` })] })] }), m("div", { className: "bet-control", children: [c(rs, { activeAnteBet: !!f, value: r, onClick: u.bind(F, z.bet) }), m("div", { className: "bet-box", children: [c(Mn, { onClick: () => o.call(oe), className: "bet-btn minus" }), c(is, { onClick: () => console.log("Spin"), state: "active" }), c(Mn, { onClick: () => i.call(oe), className: "bet-btn plus" })] }), c(kn, { className: "quick-spin", onClick: s.bind(ee, !a), isActive: a }), c(kn, { className: "auto-spin", onClick: u.bind(F, z.autoplay), isActive: !1 })] })] }) });
|
|
3475
3475
|
}), ds = ({ onMount: e, onUnmount: t, className: r }) => {
|
|
3476
3476
|
const n = st(null);
|
|
3477
3477
|
return $e(() => (n.current && e && e(n.current), () => {
|
|
@@ -3499,16 +3499,16 @@ function ps(e) {
|
|
|
3499
3499
|
};
|
|
3500
3500
|
}, [e]), t;
|
|
3501
3501
|
}
|
|
3502
|
-
const vs =
|
|
3503
|
-
const { volume: e, setVolume: t } = ee, [r, n] = de.useState(!1), i = ps(() => n(!1)), o =
|
|
3502
|
+
const vs = q(() => {
|
|
3503
|
+
const { volume: e, setVolume: t } = ee, [r, n] = de.useState(!1), i = ps(() => n(!1)), o = Mr(() => {
|
|
3504
3504
|
r || n(!0);
|
|
3505
3505
|
}, [r, n]);
|
|
3506
3506
|
return m(Fn, { children: [r && m("div", { className: "volume-control", ref: i, children: [c("input", { type: "range", min: 0, max: 100, value: e, onChange: (s) => t.call(ee, Number(s.target.value)), className: "slider", "aria-label": "Volume" }), c("span", { className: "volume-value", children: e })] }), c("button", { className: `btn-sound ${e === 0 ? "inactive" : ""}`, "aria-label": "Toggle Sound", onClick: o })] });
|
|
3507
|
-
}), hs =
|
|
3507
|
+
}), hs = q(() => {
|
|
3508
3508
|
const { open: e } = F;
|
|
3509
|
-
return m("div", { className: "settings-section", children: [c(vs, {}), c("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(F,
|
|
3510
|
-
});
|
|
3511
|
-
class
|
|
3509
|
+
return m("div", { className: "settings-section", children: [c(vs, {}), c("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(F, z.settings) })] });
|
|
3510
|
+
}), _s = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3511
|
+
class bs {
|
|
3512
3512
|
dialogs = us;
|
|
3513
3513
|
activeDialog = null;
|
|
3514
3514
|
constructor() {
|
|
@@ -3528,10 +3528,10 @@ class _s {
|
|
|
3528
3528
|
return this.activeDialog !== null;
|
|
3529
3529
|
}
|
|
3530
3530
|
}
|
|
3531
|
-
const it = new
|
|
3531
|
+
const it = new bs(), ms = q(() => {
|
|
3532
3532
|
const { betAmount: e, displayCurrency: t, setNextBetAmount: r, setPrevBetAmount: n } = oe;
|
|
3533
3533
|
return m("div", { className: "overlay-bet-controller", children: [c("div", { className: "decrease-bet", onClick: n.bind(oe) }), m("div", { className: "bet-amount", children: [e, " ", t] }), c("div", { className: "increase-bet", onClick: r.bind(oe) })] });
|
|
3534
|
-
}),
|
|
3534
|
+
}), gs = q(({ children: e }) => {
|
|
3535
3535
|
const t = F.activePopup, r = it.activeDialog;
|
|
3536
3536
|
if (!t && !r)
|
|
3537
3537
|
return null;
|
|
@@ -3540,12 +3540,12 @@ const it = new _s(), bs = z(() => {
|
|
|
3540
3540
|
}, i = () => {
|
|
3541
3541
|
F.close(), it.close();
|
|
3542
3542
|
};
|
|
3543
|
-
return m("div", { className: `overlay ${r ? "dialog" : ""}`, onClick: n, role: "presentation", children: [typeof t == "string" && c("span", { className: "popup-title", children: t.toUpperCase() }), c("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: e }), !r && c("div", { className: "overlay-close", "aria-label": "Close", onClick: i, children: c("img", { src:
|
|
3544
|
-
}),
|
|
3543
|
+
return m("div", { className: `overlay ${r ? "dialog" : ""}`, onClick: n, role: "presentation", children: [typeof t == "string" && c("span", { className: "popup-title", children: t.toUpperCase() }), c("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: e }), !r && c("div", { className: "overlay-close", "aria-label": "Close", onClick: i, children: c("img", { src: _s, alt: "Close" }) }), t === z.buyBonus && c(ms, {})] });
|
|
3544
|
+
}), Pr = ({ value: e, onClick: t, active: r }) => c("div", { className: `rectLabel ${r ? "current-active" : ""}`, onClick: () => t(e), children: c("span", { children: e }) }), ys = q(() => {
|
|
3545
3545
|
const { betAmountRange: e, setBet: t, betAmount: r } = oe;
|
|
3546
|
-
return c("div", { className: "bet-popup-container", children: e.map((n, i) => c(
|
|
3546
|
+
return c("div", { className: "bet-popup-container", children: e.map((n, i) => c(Pr, { value: n, active: r === n, onClick: t.bind(oe, n) }, i)) });
|
|
3547
3547
|
});
|
|
3548
|
-
class
|
|
3548
|
+
class Os {
|
|
3549
3549
|
countRange = [10, 25, 50, 70, 100, 500, 1e3];
|
|
3550
3550
|
limitsRange = [10, 20, 50];
|
|
3551
3551
|
count = 0;
|
|
@@ -3578,7 +3578,7 @@ class ys {
|
|
|
3578
3578
|
start() {
|
|
3579
3579
|
}
|
|
3580
3580
|
}
|
|
3581
|
-
const
|
|
3581
|
+
const ke = new Os(), Dt = ({ checked: e, onChange: t }) => c("button", { className: `ap-toggle ${e ? "ap-toggle--on" : "ap-toggle--off"}`, "aria-pressed": e, onClick: () => t(!e), type: "button", children: c("span", { className: "ap-toggle__knob" }) }), kt = ({ active: e, onClick: t, children: r }) => c("button", { className: `ap-limit ${e ? "ap-limit--active" : ""}`, onClick: t, type: "button", children: r }), Un = ({ active: e, onClick: t, children: r }) => c("button", { className: `ap-tab ${e ? "ap-tab--active" : ""}`, onClick: t, type: "button", children: r }), Es = ({ value: e, placeholder: t, inputType: r = "text", className: n = "", autoFocus: i = !0, onSubmit: o, onCancel: s }) => {
|
|
3582
3582
|
const [a, u] = mt(""), f = st(null), d = st(!1);
|
|
3583
3583
|
$e(() => {
|
|
3584
3584
|
u(e ?? ""), d.current = !1;
|
|
@@ -3595,36 +3595,36 @@ const Le = new ys(), Vt = ({ checked: e, onChange: t }) => c("button", { classNa
|
|
|
3595
3595
|
g.key === "Enter" ? (g.preventDefault(), v(), f.current?.blur()) : g.key === "Escape" && (u(e ?? ""), s?.(), f.current?.blur());
|
|
3596
3596
|
};
|
|
3597
3597
|
return c("input", { ref: f, className: `ap-limit ${n}`, type: "number", value: a, placeholder: t, onChange: (g) => u(g.target.value), onBlur: h, onKeyDown: b, inputMode: r === "number" ? "numeric" : void 0, "aria-label": "custom limit input" });
|
|
3598
|
-
},
|
|
3599
|
-
const { specialFeatureSwitcherOn: e, setSpecialFeatureSwitcher: t, countRange: r, count: n, setCount: i, lossLimit: o, winLimit: s, setLossLimit: a, limitsRange: u, setWinLimit: f } =
|
|
3598
|
+
}, Ns = q(() => {
|
|
3599
|
+
const { specialFeatureSwitcherOn: e, setSpecialFeatureSwitcher: t, countRange: r, count: n, setCount: i, lossLimit: o, winLimit: s, setLossLimit: a, limitsRange: u, setWinLimit: f } = ke, [d, v] = de.useState(0), [h, b] = de.useState(!1), [g, y] = mt(""), E = ot(() => d ? s : o, [d, s, o]), w = ot(() => d ? f.bind(ke) : a.bind(ke), [d, f, a]);
|
|
3600
3600
|
$e(() => {
|
|
3601
3601
|
const S = E && !u.includes(E);
|
|
3602
3602
|
y(S ? E : 0);
|
|
3603
3603
|
}, [E, s]);
|
|
3604
3604
|
const Q = !!n && n > 0;
|
|
3605
|
-
return m("div", { className: "autoplay-wrap", children: [c("h3", { className: "ap-title", children: "Number of spins" }), c("div", { className: "autoplay-count", children: r.map((S, A) => c(
|
|
3605
|
+
return m("div", { className: "autoplay-wrap", children: [c("h3", { className: "ap-title", children: "Number of spins" }), c("div", { className: "autoplay-count", children: r.map((S, A) => c(Pr, { value: S, active: n === S, onClick: i.bind(ke, S) }, A)) }), m("div", { className: "ap-switch-row", children: [c("div", { className: "ap-switch-label", children: "Stop on special feature WIN" }), c("div", { className: "ap-switch-control", children: c(Dt, { checked: e, onChange: (S) => t.call(ke, S) }) })] }), m("div", { className: "ap-tabs", children: [c(Un, { active: !d, onClick: () => v(0), children: "Loss limit" }), c(Un, { active: !!d, onClick: () => v(1), children: "Single WIN limit" })] }), c("div", { className: "ap-limits-panel", children: c("div", { className: "ap-limits-inner", children: m("div", { className: "ap-limit-grid", children: [u.map((S, A) => m(kt, { active: E === S, onClick: () => w(S), children: [S, "X BET"] }, A)), c(kt, { active: !E, onClick: () => w(null), children: "NO LIMIT" }), h ? c(Es, { value: "" + g, inputType: "number", onSubmit: (S) => {
|
|
3606
3606
|
const A = S.trim();
|
|
3607
3607
|
if (A === "") {
|
|
3608
3608
|
b(!1);
|
|
3609
3609
|
return;
|
|
3610
3610
|
}
|
|
3611
|
-
const
|
|
3612
|
-
y(
|
|
3611
|
+
const M = Number(A);
|
|
3612
|
+
y(M ?? 0), w(M), b(!1);
|
|
3613
3613
|
}, onCancel: () => {
|
|
3614
3614
|
b(!1);
|
|
3615
|
-
} }) : c(
|
|
3615
|
+
} }) : c(kt, { onClick: () => {
|
|
3616
3616
|
b(!0);
|
|
3617
3617
|
}, active: !!E && E === Number(g), children: g ? `${g}X BET` : "CUSTOM" })] }) }) }), c("div", { className: "ap-start-row", children: c("button", { className: `ap-start-btn ${Q ? "" : "ap-start-btn--disabled"}`, onClick: () => {
|
|
3618
3618
|
}, type: "button", disabled: !Q, children: "Start Autoplay" }) })] });
|
|
3619
|
-
}), $n = ({ onClick: e, label: t, className: r }) => m("button", { className: `sp-action ${r}`, type: "button", onClick: e, children: [c("span", { className: "sp-action__icon", "aria-hidden": "true" }), c("span", { className: "sp-action__label", children: t })] }), Ie = ({ onToggle: e, label: t, checked: r = !1 }) => m("div", { className: "sp-row", children: [c("div", { className: "sp-switch", children: c(
|
|
3619
|
+
}), $n = ({ onClick: e, label: t, className: r }) => m("button", { className: `sp-action ${r}`, type: "button", onClick: e, children: [c("span", { className: "sp-action__icon", "aria-hidden": "true" }), c("span", { className: "sp-action__label", children: t })] }), Ie = ({ onToggle: e, label: t, checked: r = !1 }) => m("div", { className: "sp-row", children: [c("div", { className: "sp-switch", children: c(Dt, { checked: r, onChange: () => e(!r) }) }), c("div", { className: "sp-label", children: t })] }), As = q(() => {
|
|
3620
3620
|
const { introSkip: e, spaceToSkip: t, musicOn: r, soundsOn: n, spaceToSpin: i, setSpaceToSpin: o, setIntroSkip: s, setSpaceToSkip: a, setSoundsOn: u, setMusicOn: f } = ee, { open: d } = F;
|
|
3621
|
-
return m("div", { className: "sp-wrap", children: [m("div", { className: "sp-actions", children: [c($n, { onClick: d.bind(F,
|
|
3621
|
+
return m("div", { className: "sp-wrap", children: [m("div", { className: "sp-actions", children: [c($n, { onClick: d.bind(F, z.history), className: "sp-action--history", label: "History" }), c($n, { onClick: () => {
|
|
3622
3622
|
}, className: "sp-action--paytable", label: "Paytable" })] }), c("h3", { className: "sp-section-title", children: "Audio" }), m("div", { className: "sp-rows", children: [c(Ie, { onToggle: f.bind(ee), checked: r, label: "Music" }), c(Ie, { onToggle: u.bind(ee), checked: n, label: "Sounds" })] }), c("h3", { className: "sp-section-title", children: "Game launch" }), c("div", { className: "sp-rows", children: c(Ie, { onToggle: s.bind(ee), checked: e, label: "Skip Intro" }) }), c("h3", { className: "sp-section-title", children: "Keyboard" }), m("div", { className: "sp-rows", children: [c(Ie, { onToggle: o.bind(ee), checked: i, label: "Spacebar to Spin" }), c(Ie, { onToggle: a.bind(ee), checked: t, label: "Spacebar to Skip" })] })] });
|
|
3623
|
-
}),
|
|
3623
|
+
}), Ss = ({ date: e, currencyCode: t, betAmount: r, winAmount: n }) => {
|
|
3624
3624
|
const [i, o] = mt(!1);
|
|
3625
3625
|
return m("div", { className: `history-item ${i ? "active" : ""}`, role: "row", children: [c("span", { className: "date-section", children: e }), m("span", { className: "bet-section", children: [r, c("span", { className: "currency", children: t })] }), m("span", { className: "win-section", children: [n, m("span", { className: "currency", children: [" ", t] })] }), c("div", { className: `vector ${i ? "up" : "down"}`, "aria-hidden": "true", onClick: () => o(!i) }), i && m("div", { className: "additional-info", children: [m("button", { className: "additional-button replay", children: [c("div", { className: "replay-icon" }), "REPLAY"] }), c("button", { className: "additional-button", children: "LINK" })] })] });
|
|
3626
3626
|
};
|
|
3627
|
-
class
|
|
3627
|
+
class Cs {
|
|
3628
3628
|
data = [
|
|
3629
3629
|
{
|
|
3630
3630
|
date: "26.11.2024 00:16",
|
|
@@ -3736,70 +3736,64 @@ class Ss {
|
|
|
3736
3736
|
this.data = t;
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
-
const ws = new
|
|
3739
|
+
const ws = new Cs(), Ds = q(() => {
|
|
3740
3740
|
const { data: e } = ws;
|
|
3741
|
-
return m("div", { className: "history-wrap", role: "list", "aria-label": "History list", children: [m("div", { className: "history-item history-item--head", role: "row", children: [c("span", { className: "date-section", children: "Date" }), c("span", { className: "bet-section", children: "Bet" }), c("span", { className: "win-section", children: "Win" })] }), e.map((t, r) => c(
|
|
3742
|
-
}),
|
|
3741
|
+
return m("div", { className: "history-wrap", role: "list", "aria-label": "History list", children: [m("div", { className: "history-item history-item--head", role: "row", children: [c("span", { className: "date-section", children: "Date" }), c("span", { className: "bet-section", children: "Bet" }), c("span", { className: "win-section", children: "Win" })] }), e.map((t, r) => c(Ss, { date: t.date, betAmount: t.betAmount, winAmount: t.winAmount, currencyCode: t.currencyCode, id: "aa" }, r))] });
|
|
3742
|
+
}), Br = q(({ item: e, type: t, onToggle: r, onBuy: n }) => {
|
|
3743
3743
|
const { betAmount: i } = oe, { activeAnteBet: o, setActiveAnteBet: s } = bt, a = e.title.split(`
|
|
3744
3744
|
`);
|
|
3745
|
-
return m("div", { className: "sf-card", role: "group", "aria-label": a.join(" "), children: [c("div", { className: "sf-card__title", children: a.map((u, f) => c("span", { children: u }, f)) }), m("div", { className: "sf-card__content", children: [c("div", { className: "sf-card__image-wrap", children: e.imagePath ? c("img", { src: e.imagePath, alt: a[0] }) : c("div", { className: "sf-card__image-placeholder" }) }), e.description && c("div", { className: "sf-card__description", children: e.description })] }), m("div", { className: `sf-card__bottom ${t}`, children: [m("div", { className: "sf-card__price", children: [e.costMultiplier * i, " ", oe.displayCurrency] }), t === "ante" ? c("div", { className: "sf-card__toggle", children: c(
|
|
3746
|
-
}), It = ({ features: e, type: t, title: r }) => m(Fn, { children: [c("h2", { className: "sf-section-title", children: r }), c("div", { className: "sf-grid", children: e.map((n, i) => c(
|
|
3745
|
+
return m("div", { className: "sf-card", role: "group", "aria-label": a.join(" "), children: [c("div", { className: "sf-card__title", children: a.map((u, f) => c("span", { children: u }, f)) }), m("div", { className: "sf-card__content", children: [c("div", { className: "sf-card__image-wrap", children: e.imagePath ? c("img", { src: e.imagePath, alt: a[0] }) : c("div", { className: "sf-card__image-placeholder" }) }), e.description && c("div", { className: "sf-card__description", children: e.description })] }), m("div", { className: `sf-card__bottom ${t}`, children: [m("div", { className: "sf-card__price", children: [e.costMultiplier * i, " ", oe.displayCurrency] }), t === "ante" ? c("div", { className: "sf-card__toggle", children: c(Dt, { checked: o === e, onChange: (u) => s.call(bt, u ? e : null) }) }) : c("button", { className: "sf-buy-btn", type: "button", onClick: () => n && n(e.title), children: "BUY" })] })] });
|
|
3746
|
+
}), It = ({ features: e, type: t, title: r }) => m(Fn, { children: [c("h2", { className: "sf-section-title", children: r }), c("div", { className: "sf-grid", children: e.map((n, i) => c(Br, { item: n, type: t, onToggle: () => {
|
|
3747
3747
|
} }, i)) })] }), Vs = () => {
|
|
3748
3748
|
const e = (i) => {
|
|
3749
3749
|
console.log("buy", i);
|
|
3750
3750
|
}, { anteBets: t, inReelFeatures: r, bonusFeatures: n } = bt;
|
|
3751
|
-
return m("div", { className: "sf-wrap", children: [t.length && c(It, { features: t, type:
|
|
3752
|
-
},
|
|
3751
|
+
return m("div", { className: "sf-wrap", children: [t.length && c(It, { features: t, type: Mt.ante, title: "Ante Bets" }, 0), r.length && c(It, { features: r, type: Mt.buy, title: "Reel Features" }, 1), n.length && c(It, { features: n, type: Mt.buy, title: "Bonus" }, 2), c("h2", { className: "sf-section-title", children: "Bonus" }), c("div", { className: "sf-grid sf-grid--three", children: n.map((i, o) => c(Br, { item: i, type: "buy", onBuy: e }, o)) })] });
|
|
3752
|
+
}, Ls = q(() => {
|
|
3753
3753
|
const { activePopup: e } = F;
|
|
3754
3754
|
if (!e)
|
|
3755
3755
|
return null;
|
|
3756
3756
|
const t = ot(() => {
|
|
3757
3757
|
switch (e) {
|
|
3758
|
-
case
|
|
3759
|
-
return
|
|
3760
|
-
case
|
|
3761
|
-
return Es;
|
|
3762
|
-
case W.settings:
|
|
3758
|
+
case z.bet:
|
|
3759
|
+
return ys;
|
|
3760
|
+
case z.autoplay:
|
|
3763
3761
|
return Ns;
|
|
3764
|
-
case
|
|
3762
|
+
case z.settings:
|
|
3763
|
+
return As;
|
|
3764
|
+
case z.history:
|
|
3765
3765
|
return Ds;
|
|
3766
|
-
case
|
|
3766
|
+
case z.buyBonus:
|
|
3767
3767
|
return Vs;
|
|
3768
3768
|
default:
|
|
3769
3769
|
return null;
|
|
3770
3770
|
}
|
|
3771
3771
|
}, [e]);
|
|
3772
3772
|
return t ? c(t, {}) : null;
|
|
3773
|
-
}),
|
|
3773
|
+
}), xs = ({ configs: e, text: t, onClick: r }) => c("button", { type: "button", className: "additional-btn", style: {
|
|
3774
3774
|
"--btn-bg": e?.background ?? "transparent",
|
|
3775
3775
|
"--btn-color": e?.color ?? "inherit"
|
|
3776
|
-
}, onClick: typeof r == "function" ? r : void 0, children: t }),
|
|
3776
|
+
}, onClick: typeof r == "function" ? r : void 0, children: t }), js = q(() => {
|
|
3777
3777
|
const { activeDialog: e } = it;
|
|
3778
|
-
return e ? m("div", { className: "dialogs-wrap", "aria-live": "polite", children: [c("span", { className: "title", children: e?.title }), e?.imagePath && c("img", { className: "dialog-image", src: e.imagePath, alt: e.title ?? "dialog image" }), c("span", { className: "message", children: e?.message }), e.toggle && c(
|
|
3778
|
+
return e ? m("div", { className: "dialogs-wrap", "aria-live": "polite", children: [c("span", { className: "title", children: e?.title }), e?.imagePath && c("img", { className: "dialog-image", src: e.imagePath, alt: e.title ?? "dialog image" }), c("span", { className: "message", children: e?.message }), e.toggle && c(Dt, { checked: e.toggle.value, onChange: () => e.toggle?.onClick() }), c("div", { className: "additional-btns", children: e?.buttons?.map((t, r) => c(xs, { configs: t.configs, text: t.text, onClick: t.onClick }, r)) })] }) : null;
|
|
3779
3779
|
});
|
|
3780
|
-
function
|
|
3781
|
-
return
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
/* @__PURE__ */ c(hs, {}),
|
|
3785
|
-
/* @__PURE__ */ c(fs, {})
|
|
3786
|
-
] }),
|
|
3787
|
-
/* @__PURE__ */ m(ms, { children: [
|
|
3788
|
-
/* @__PURE__ */ c(Cs, {}),
|
|
3789
|
-
/* @__PURE__ */ c(Rs, {})
|
|
3790
|
-
] })
|
|
3791
|
-
] });
|
|
3792
|
-
}
|
|
3793
|
-
function Ts(e) {
|
|
3780
|
+
function Rs() {
|
|
3781
|
+
return m("div", { className: "app", children: [m("div", { className: "game-container", children: [c(ds, {}), c(hs, {}), c(fs, {})] }), m(gs, { children: [c(Ls, {}), c(js, {})] })] });
|
|
3782
|
+
}
|
|
3783
|
+
function ks(e) {
|
|
3794
3784
|
if (!e) {
|
|
3795
3785
|
console.error("element not found");
|
|
3796
3786
|
return;
|
|
3797
3787
|
}
|
|
3798
|
-
|
|
3799
|
-
/* @__PURE__ */ c(de.StrictMode, { children: /* @__PURE__ */ c(xs, {}) })
|
|
3800
|
-
);
|
|
3788
|
+
kr(e).render(c(de.StrictMode, { children: c(Rs, {}) }));
|
|
3801
3789
|
}
|
|
3802
|
-
Ts(document.body);
|
|
3803
3790
|
export {
|
|
3804
|
-
|
|
3791
|
+
ke as autoplayStore,
|
|
3792
|
+
oe as betStore,
|
|
3793
|
+
bt as bonusStore,
|
|
3794
|
+
ks as createUi,
|
|
3795
|
+
it as dialogStore,
|
|
3796
|
+
ws as historyStore,
|
|
3797
|
+
F as popupStore,
|
|
3798
|
+
ee as settingsStore
|
|
3805
3799
|
};
|