(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{79424:function(e,t,a){var r={"./draw/arrow-right-icon.svg":22606,"./draw/lecar/crown_icon.svg":68723,"./draw/lecar/lecar_tbank_logo.svg":99203,"./draw/lock-icon-small.svg":18514,"./draw/lock-icon.svg":7581,"./draw/statistics-bg.svg":60168,"./empty.svg":41305,"./energy/energy-streak-beams.svg":13878,"./energy/stamp.svg":40018,"./gift.svg":31631,"./icons/copied.svg":51573,"./icons/copy-new.svg":35792,"./icons/copy.svg":10888,"./icons/energy.svg":74319,"./icons/lock.svg":85982,"./icons/question-icon.svg":74105,"./icons/tools_icon.svg":58355,"./landing/v2/intro/logo-0506.svg":72003,"./landing/v2/intro/shape-01.svg":21325,"./landing/v2/intro/shape-02.svg":64866,"./landing/v2/intro/shape-03.svg":89683,"./landing/v2/intro/shape-04.svg":12440,"./landing/v2/intro/shape-05.svg":3850,"./landing/v2/intro/shape-06.svg":57605};function webpackContext(e){return a(webpackContextResolve(e))}function webpackContextResolve(e){if(!a.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}webpackContext.keys=function(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id=79424},22606:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:23,height:25,viewBox:"0 0 23 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),n.createElement("mask",{id:"mask0_9103_2358",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:16,y:4,width:7,height:17},r||(r=n.createElement("path",{d:"M16.2929 17.1513C15.9024 17.5418 15.9024 18.175 16.2929 18.5655C16.6834 18.956 17.3166 18.956 17.7071 18.5655L22.7071 13.5655C23.0976 13.175 23.0976 12.5418 22.7071 12.1513L17.7071 7.15129C17.3166 6.76077 16.6834 6.76077 16.2929 7.15129C15.9024 7.54182 15.9024 8.17498 16.2929 8.56551L20.5858 12.8584L16.2929 17.1513Z",fill:"black"}))),i||(i=n.createElement("g",{mask:"url(#mask0_9103_2358)"},n.createElement("rect",{x:16,y:4.8584,width:7,height:16,fill:"white",fillOpacity:.3}))))}},68723:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),n.createElement("mask",{id:"mask0_21706_76211",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:1,y:2,width:14,height:11},r||(r=n.createElement("path",{d:"M8.00065 2.0013L10.2852 7.29753L15 4.50781L13.0117 12.0065C12.8535 12.6033 12.3469 12.9979 11.7233 12.998H4.27669C3.67214 12.9978 3.14322 12.5909 2.98828 12.0065L1 4.50781L5.71224 7.29753L8 2L8.00065 2.0013Z",fill:"black"}))),i||(i=n.createElement("g",{mask:"url(#mask0_21706_76211)"},n.createElement("path",{d:"M0 0H16V16H0V0Z",fill:"#FFDD2D"}))))}},99203:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s,l,c,d,u,m,_,p,g,h=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return h.createElement("svg",_extends({width:149,height:18,viewBox:"0 0 149 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=h.createElement("path",{d:"M55.615 8.94526V4.60298H58.8966C60.5656 4.60298 61.5571 5.36048 61.5571 6.74745C61.5571 8.13441 60.5303 8.94526 58.9177 8.94526H55.6185H55.615ZM63.8507 6.65498C63.8507 4.15844 62.0899 2.5332 59.0836 2.5332H53.3638V15.4676H55.6185V10.9581H58.4061L61.5959 15.4676H64.2529L60.7879 10.5705C62.5839 10.0548 63.8507 8.77811 63.8507 6.65143",fill:"white"})),i||(i=h.createElement("path",{d:"M30.2164 14.8448C27.0196 14.8448 24.419 12.2238 24.419 9.00173C24.419 5.7797 27.0196 3.15869 30.2164 3.15869C32.4924 3.15869 34.5672 4.51009 35.5023 6.60121L37.4536 5.71213C36.1692 2.84929 33.3287 1 30.2129 1C26.1974 1 22.877 4.02288 22.3548 7.93128H13.3534V4.56699H20.6152V2.53278H11.0986V15.4671H20.7069V13.4329H13.3534V9.95838H22.3371C22.81 13.9201 26.1586 16.9999 30.2129 16.9999C33.3428 16.9999 36.1903 15.1399 37.4641 12.2558L35.5093 11.3774C34.5778 13.4827 32.4994 14.8412 30.2129 14.8412",fill:"white"})),n||(n=h.createElement("path",{d:"M13.3374 9.96037H22.3191C22.792 13.9203 26.1398 17 30.194 17C33.3239 17 36.1694 15.1384 37.4461 12.2581L35.4909 11.378C34.5589 13.4825 32.48 14.8409 30.1956 14.8409C26.9992 14.8409 24.3995 12.2207 24.3995 8.99922C24.3995 5.77772 26.9977 3.15909 30.1925 3.15909C32.4677 3.15909 34.5419 4.50969 35.4785 6.60023L37.4307 5.7123C36.1493 2.84909 33.3085 1 30.1925 1C26.1769 1 22.8569 4.02366 22.3345 7.92902H13.3374",fill:"url(#paint0_linear_21719_79946)"})),o||(o=h.createElement("path",{d:"M2.50769 2.5332H0.25293V15.4711H9.25432V13.4013H2.50769V2.5332Z",fill:"white"})),s||(s=h.createElement("path",{d:"M42.642 10.3759L44.8439 5.20141L47.0633 10.3759H42.6456H42.642ZM43.8347 2.48438L38.189 15.5112H40.5002L41.8199 12.3887H47.889L49.1911 15.5112H51.5764L45.9307 2.48438H43.8417H43.8347Z",fill:"white"})),l||(l=h.createElement("path",{d:"M76.8516 8.5957L79.9404 5.24707L80.2363 5.52344L77.1367 8.88477L80.4531 12.2383L80.166 12.5244L76.8623 9.18262L73.5713 12.7529L73.2744 12.4766L76.5771 8.89453L73.2529 5.53223L73.5391 5.24609L76.8516 8.5957Z",fill:"white",fillOpacity:.7})),c||(c=h.createElement("path",{d:"M89.4531 0H107.685V9.0527C107.685 11.3734 106.431 13.5179 104.396 14.6784L98.5691 18L92.7427 14.6784C90.7071 13.5179 89.4531 11.3734 89.4531 9.0527V0Z",fill:"#FFDD2D"})),d||(d=h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M94.4658 4.76367V7.579C94.8549 7.14426 95.5624 6.85003 96.3714 6.85003H97.2505V10.1228C97.2505 10.9935 97.0114 11.7556 96.6566 12.1749H100.48C100.126 11.7552 99.8878 10.9941 99.8878 10.1245V6.85003H100.767C101.576 6.85003 102.283 7.14426 102.672 7.579V4.76367H94.4658Z",fill:"#333333"})),u||(u=h.createElement("path",{d:"M111.933 12.1753V4.7832H119.537V6.47322H114.2V7.53006H116.843C118.715 7.53006 120.105 7.95256 120.105 9.85325C120.105 11.7539 118.715 12.1764 116.843 12.1764H111.933V12.1753ZM114.2 9.21891V10.4864H116.853C117.624 10.4864 117.805 10.3389 117.805 9.85325C117.805 9.36754 117.624 9.22008 116.853 9.22008H114.2V9.21891Z",fill:"white"})),m||(m=h.createElement("path",{d:"M132.659 9.42957V12.1753H130.391V4.7832H132.659V7.47622H136.371V4.7832H138.638V12.1753H136.371V9.42957H132.659Z",fill:"white"})),_||(_=h.createElement("path",{d:"M142.292 9.38744V12.1753H140.024V4.7832H142.292V7.53942H143.651L146.015 4.7832H148.581L145.619 8.23579V8.37273L148.732 12.1741H145.918L143.64 9.38627H142.292V9.38744Z",fill:"white"})),p||(p=h.createElement("path",{d:"M126.783 11.088H123.242L122.846 12.1753H120.472L123.435 4.7832H126.708L129.66 12.1753H127.179L126.783 11.088ZM126.174 9.39797L125.126 6.48375H124.933L123.863 9.39797H126.174Z",fill:"white"})),g||(g=h.createElement("defs",null,h.createElement("linearGradient",{id:"paint0_linear_21719_79946",x1:37.4461,y1:9,x2:13.3374,y2:9,gradientUnits:"userSpaceOnUse"},h.createElement("stop",{offset:.319786,stopColor:"white"}),h.createElement("stop",{offset:1,stopColor:"#94CFEE"})))))}},18514:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return s.createElement("svg",_extends({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),s.createElement("mask",{id:"mask0_13860_32667",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:24,height:24},r||(r=s.createElement("path",{d:"M4.5 10.4961V20.9961H15.9286C17.901 20.9961 19.5 19.188 19.5 16.9576V10.4961H4.5Z",fill:"url(#paint0_linear_13860_32667)"})),i||(i=s.createElement("path",{opacity:.7,d:"M18 8.24609C18 4.93239 15.3137 2.24609 12 2.24609C8.68629 2.24609 6 4.93239 6 8.24609V10.4961H8.99999V8.24609C8.99999 6.58924 10.3431 5.24609 12 5.24609C13.6568 5.24609 15 6.58924 15 8.24609V10.4961H18V8.24609Z",fill:"black"}))),n||(n=s.createElement("g",{mask:"url(#mask0_13860_32667)"},s.createElement("rect",{width:24,height:24,fill:"black",fillOpacity:.48}))),o||(o=s.createElement("defs",null,s.createElement("linearGradient",{id:"paint0_linear_13860_32667",x1:14.1429,y1:11.3038,x2:8.838,y2:20.8263,gradientUnits:"userSpaceOnUse"},s.createElement("stop",null),s.createElement("stop",{offset:1,stopOpacity:.8})))))}},7581:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return s.createElement("svg",_extends({width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),s.createElement("mask",{id:"mask0_9032_13692",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:14,y:14,width:44,height:44},r||(r=s.createElement("path",{d:"M22.5 33.2939V52.1939H43.0714C46.6218 52.1939 49.5 48.9394 49.5 44.9247V33.2939H22.5Z",fill:"url(#paint0_linear_9032_13692)"})),i||(i=s.createElement("path",{opacity:.7,d:"M46.8002 29.2438C46.8002 23.2792 41.9649 18.4438 36.0002 18.4438C30.0355 18.4438 25.2002 23.2792 25.2002 29.2438V33.2938H30.6002V29.2438C30.6002 26.2615 33.0178 23.8438 36.0002 23.8438C38.9825 23.8438 41.4002 26.2615 41.4002 29.2438V33.2938H46.8002V29.2438Z",fill:"black"}))),n||(n=s.createElement("g",{mask:"url(#mask0_9032_13692)"},s.createElement("rect",{x:14.3999,y:14.3999,width:43.2,height:43.2,fill:"white"}))),o||(o=s.createElement("defs",null,s.createElement("linearGradient",{id:"paint0_linear_9032_13692",x1:39.8571,y1:34.7478,x2:30.3084,y2:51.8882,gradientUnits:"userSpaceOnUse"},s.createElement("stop",null),s.createElement("stop",{offset:1,stopOpacity:.8})))))}},60168:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({viewBox:"0 0 279 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("path",{opacity:.5,d:"M251.768 -32.5C251.768 60.5263 48.8122 68.5 0 68.5H277.459L310 -26.1211L251.768 -32.5Z",fill:"url(#paint0_linear_10378_1614)"})),i||(i=n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_10378_1614",x1:200.387,y1:-18.6789,x2:217.381,y2:103.973,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{offset:.215,stopColor:"white"}),n.createElement("stop",{offset:.898887,stopColor:"white",stopOpacity:0})))))}},41305:function(e,t,a){"use strict";a.r(t);var r=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return r.createElement("svg",_extends({width:1,height:1,viewBox:"0 0 1 1",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e))}},13878:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:62,height:63,viewBox:"0 0 62 63",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("path",{opacity:1,fillRule:"evenodd",clipRule:"evenodd",d:"M6.65491 -6.25401L18.25 -58H-12.25L-0.654919 -6.25401L-29.3503 -50.9736L-50.9172 -29.5868L-5.82636 -1.12664L-58 -12.625V17.625L-5.82636 6.12496L-50.9155 34.5852L-29.352 55.9753L-0.656612 11.254L-12.25 63L18.25 63L6.65491 11.254L35.3503 55.9736L56.9172 34.5868L11.8264 6.12496L64 17.625L64 -12.625L11.8264 -1.12496L56.9155 -29.5852L35.352 -50.9753L6.65491 -6.25401Z",fill:"url(#paint0_radial_16264_250208)"})),i||(i=n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial_16264_250208",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3 2.5) scale(57.8524 57.3782)"},n.createElement("stop",{stopColor:"white"}),n.createElement("stop",{offset:.815,stopColor:"white",stopOpacity:.085}),n.createElement("stop",{offset:1,stopColor:"white",stopOpacity:0})))))}},40018:function(e,t,a){"use strict";a.r(t);var r,i,n,o=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return o.createElement("svg",_extends({viewBox:"0 0 56 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),o.createElement("mask",{id:"mask0_16961_63796",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:56,height:36},r||(r=o.createElement("rect",{width:56,height:36,rx:9,fill:"url(#paint0_radial_16961_63796)"}))),i||(i=o.createElement("g",{mask:"url(#mask0_16961_63796)"},o.createElement("path",{d:"M18.8324 18.4722L20.0251 19.9029L21.8864 19.832L20.8943 21.4084L21.537 23.1567L19.7311 22.7003L18.267 23.8517L18.143 21.9932L16.5955 20.9566L18.3247 20.2644L18.8324 18.4722Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M33.932 15.2628L35.1247 16.6935L36.986 16.6225L35.9939 18.1989L36.6366 19.9472L34.8307 19.4908L33.3666 20.6423L33.2426 18.7837L31.6951 17.7471L33.4243 17.0549L33.932 15.2628Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M26.0364 15.2501L27.3995 16.8852L29.5267 16.804L28.3929 18.6057L29.1273 20.6037L27.0635 20.0821L25.3902 21.3981L25.2485 19.274L23.4799 18.0893L25.4562 17.2982L26.0364 15.2501Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.3696 21.746L13.7588 27.8275L13.5898 27.0327L42.2007 20.9513L42.3696 21.746Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M12.7546 31.417L14.1399 37.9344L12.5869 38.2645L11.4695 33.0073L9.0509 33.5213L10.1684 38.7785L8.61538 39.1086L7.23006 32.5912L12.7546 31.417ZM20.6399 33.1468C20.7923 33.8639 20.7836 34.501 20.6138 35.0582C20.4439 35.6154 20.151 36.0735 19.7351 36.4324C19.3212 36.7909 18.8226 37.0322 18.2391 37.1562C17.6536 37.2806 17.0987 37.2622 16.5743 37.1009C16.05 36.9396 15.5972 36.6401 15.2159 36.2023C14.8362 35.7619 14.5704 35.1842 14.4184 34.4692C14.266 33.7521 14.2736 33.1152 14.4413 32.5585C14.6112 32.0013 14.903 31.5435 15.3169 31.185C15.7307 30.8265 16.2304 30.585 16.816 30.4606C17.3994 30.3365 17.953 30.3541 18.4769 30.5133C19.0029 30.672 19.4568 30.9713 19.8386 31.4113C20.2203 31.8512 20.4874 32.4297 20.6399 33.1468ZM19.0296 33.4891C18.9394 33.0648 18.8027 32.7191 18.6196 32.452C18.4385 32.1845 18.2196 31.9993 17.9627 31.8965C17.7079 31.7932 17.4235 31.7749 17.1095 31.8417C16.7977 31.908 16.5453 32.0403 16.3524 32.2388C16.1595 32.4372 16.0338 32.6957 15.9751 33.0141C15.9185 33.3322 15.9353 33.7033 16.0255 34.1276C16.1157 34.5519 16.2513 34.8979 16.4323 35.1654C16.6155 35.4325 16.8355 35.6174 17.0924 35.7202C17.3493 35.8231 17.6337 35.8413 17.9456 35.775C18.2596 35.7083 18.5119 35.5759 18.7027 35.378C18.8955 35.1795 19.0203 34.9213 19.0768 34.6033C19.1355 34.2848 19.1198 33.9134 19.0296 33.4891ZM21.7898 36.3083L21.5273 35.0736L21.7015 35.0166C21.9247 34.9403 22.0918 34.8084 22.2027 34.6207C22.3131 34.4309 22.3687 34.1552 22.3695 33.7936C22.3719 33.4295 22.3208 32.9492 22.2162 32.3528L21.7219 29.5109L26.2949 28.5389L27.6802 35.0563L26.1559 35.3803L25.0344 30.104L23.4401 30.4429L23.7968 32.6221C23.919 33.3745 23.9525 33.996 23.8971 34.4867C23.8413 34.9753 23.6756 35.3587 23.3999 35.6368C23.1263 35.9145 22.7211 36.1104 22.1844 36.2245L21.7898 36.3083ZM29.3267 34.7994L29.0616 33.552L29.3957 33.4809C29.576 33.4426 29.7165 33.3939 29.817 33.3348C29.9192 33.2732 29.9923 33.1945 30.0362 33.0987C30.0823 33.0024 30.1119 32.8808 30.125 32.7339L30.1556 32.5178L26.7736 28.4371L28.3903 28.0935L30.4605 30.7135L31.003 27.5381L32.5941 27.1999L31.4516 32.8411C31.389 33.1204 31.3016 33.3874 31.1894 33.6418C31.0767 33.8942 30.9137 34.1129 30.7002 34.2979C30.4889 34.4826 30.2008 34.6136 29.8359 34.6912L29.3267 34.7994ZM33.4078 27.027L34.9321 26.703L35.3731 28.7779C35.4214 29.0049 35.4996 29.18 35.6079 29.3034C35.7183 29.4263 35.8685 29.5019 36.0586 29.5302C36.2482 29.5564 36.4873 29.5389 36.7758 29.4775C36.8543 29.4609 36.9578 29.4366 37.0863 29.4049C37.2144 29.371 37.3484 29.3337 37.4882 29.2928C37.6303 29.2516 37.761 29.2094 37.8804 29.1662C38.002 29.1227 38.0955 29.0828 38.161 29.0467L38.4187 30.2592C38.3494 30.2983 38.2521 30.3412 38.1268 30.3878C38.0014 30.4344 37.8669 30.4796 37.7232 30.5235C37.5795 30.5673 37.4458 30.6057 37.322 30.6387C37.1981 30.6716 37.1033 30.6951 37.0376 30.7091C36.4902 30.8254 35.9953 30.8497 35.553 30.7819C35.1101 30.7119 34.742 30.5396 34.4486 30.2649C34.1552 29.9902 33.9552 29.6026 33.8488 29.1019L33.4078 27.027ZM37.2584 26.2085L38.7923 25.8825L40.1776 32.3999L38.6437 32.7259L37.2584 26.2085ZM41.2872 32.164L39.9019 25.6466L44.4462 24.6807L44.7182 25.96L41.7491 26.5911L42.0332 27.9277L44.77 27.3459L45.0426 28.6284L42.3058 29.2101L42.5905 30.5499L45.5596 29.9188L45.8316 31.1981L41.2872 32.164ZM46.6389 31.0265L45.2535 24.5091L46.8288 24.1743L47.3848 26.7901L49.9529 26.2443L49.3969 23.6284L50.969 23.2942L52.3543 29.8116L50.7822 30.1458L50.2255 27.5267L47.6574 28.0726L48.2141 30.6917L46.6389 31.0265Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M9.68715 28.6929C10.9878 20.6568 17.0806 13.8601 25.5216 12.0659C33.9627 10.2717 42.2931 14.0026 46.7499 20.8149L46.323 20.9057C41.9345 14.3133 33.8238 10.7166 25.6061 12.4633C17.3884 14.21 11.4418 20.7947 10.1141 28.6021L9.68715 28.6929Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M7.00456 29.2632C8.11688 19.849 15.0856 11.7632 24.8733 9.68274C34.661 7.60229 44.316 12.1547 49.1613 20.3025L47.9825 20.5531C43.3172 13.0209 34.2747 8.84731 25.1098 10.7954C15.9449 12.7434 9.38173 20.2341 8.18341 29.0127L7.00456 29.2632Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M12.391 41.4092C16.8478 48.2215 25.1783 51.9524 33.6193 50.1582C42.0603 48.364 48.1531 41.5673 49.4538 33.5312L49.0268 33.622C47.6991 41.4294 41.7525 48.0141 33.5348 49.7608C25.3171 51.5075 17.2064 47.9108 12.818 41.3184L12.391 41.4092Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{d:"M9.70833 41.9794C14.5536 50.1273 24.2086 54.6797 33.9963 52.5992C43.7841 50.5188 50.7528 42.433 51.8651 33.0187L50.6862 33.2693C49.4879 42.0479 42.9248 49.5385 33.7598 51.4866C24.5949 53.4347 15.5525 49.2611 10.8872 41.7289L9.70833 41.9794Z",fill:"currentColor",fillOpacity:.4}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.2426 35.2568L16.6318 41.3382L16.4629 40.5435L45.0737 34.462L45.2426 35.2568Z",fill:"currentColor",fillOpacity:.4}))),n||(n=o.createElement("defs",null,o.createElement("radialGradient",{id:"paint0_radial_16961_63796",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(28 6.5) rotate(90) scale(29.5 37.5211)"},o.createElement("stop",{offset:.626157}),o.createElement("stop",{offset:1,stopOpacity:.2})))))}},31631:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s,l,c,d,u,m,_,p,g,h,f,x,v,w=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return w.createElement("svg",_extends({width:124,height:125,viewBox:"0 0 124 125",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=w.createElement("circle",{cx:62.0004,cy:62.5,r:56.3636,fill:"url(#paint0_linear_8561_137893)"})),i||(i=w.createElement("path",{d:"M68.9202 118.443C66.6525 118.721 64.3433 118.864 62.0006 118.864C44.9854 118.864 29.7311 111.324 19.3965 99.4032V63.3381L68.9202 88.7472V118.443Z",fill:"url(#paint1_linear_8561_137893)"})),n||(n=w.createElement("path",{d:"M118.178 67.1136C116.017 93.7897 95.2808 115.216 68.9199 118.443V95.2101L118.178 67.1136Z",fill:"url(#paint2_linear_8561_137893)"})),o||(o=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5039 51.0305V70.0211L68.8888 100.393L68.9545 81.5346L16.5039 51.0305Z",fill:"url(#paint3_linear_8561_137893)"})),s||(s=w.createElement("path",{d:"M117.748 70.8593C118.154 68.1317 118.364 65.3404 118.364 62.5C118.364 59.2123 118.083 55.9904 117.542 52.8571L68.9554 81.535L68.8896 100.393L117.748 70.8593Z",fill:"url(#paint4_linear_8561_137893)"})),l||(l=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100.899 62.6844L101.03 81.5354L89.7904 88.02L89.7256 69.2879L100.899 62.6844Z",fill:"url(#paint5_linear_8561_137893)"})),c||(c=w.createElement("path",{d:"M117.543 52.8587L68.9545 81.5349L16.5039 51.0307L69.4146 20.5266L116.216 47.0327C116.757 48.9356 117.202 50.8795 117.543 52.8587Z",fill:"url(#paint6_linear_8561_137893)"})),d||(d=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5226 31.9083L100.898 62.6843L89.7241 69.2878L38.2832 38.4591L49.5226 31.9083Z",fill:"url(#paint7_linear_8561_137893)"})),u||(u=w.createElement("path",{d:"M91.4468 33.0055L41.418 62.2713H52.5917L54.5635 67.5649L102.102 39.04L91.4468 33.0055Z",fill:"url(#paint8_linear_8561_137893)"})),m||(m=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.6352 29.3936C57.9122 27.4086 55.809 22.5782 57.0578 20.924C57.0578 20.924 51.6024 24.1663 48.5789 25.8867C46.4099 27.0777 46.9357 31.2464 47.7245 33.2315C49.2362 37.4001 58.8982 49.2445 66.9826 54.3395L76.7103 48.7151C68.6258 43.6201 60.2127 33.5623 58.6352 29.3936Z",fill:"url(#paint9_linear_8561_137893)"})),_||(_=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.7095 48.5816L66.9818 54.3383C67.2447 41.8985 54.2369 22.613 48.5186 25.9215L58.1343 20.2239C63.8526 16.8493 76.7095 36.4064 76.7095 48.5816Z",fill:"url(#paint10_linear_8561_137893)"})),p||(p=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.7095 48.5816L66.9818 54.3383C67.2447 41.8985 54.2369 22.613 48.5186 25.9215L58.1343 20.2239C63.8526 16.8493 76.7095 36.4064 76.7095 48.5816Z",fill:"url(#paint11_linear_8561_137893)"})),g||(g=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M91.4988 50.3034L85.1889 55.9278C85.1889 55.9278 84.203 56.6557 82.757 57.4497C79.2077 59.3686 73.8838 57.7144 66.9824 54.3397L76.7101 48.7153C83.6772 52.09 88.541 52.0238 91.4988 50.3034Z",fill:"url(#paint12_linear_8561_137893)"})),h||(h=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.7101 48.649L66.9824 54.3396C67.8369 47.2595 69.1514 35.1505 73.1608 32.8345C75.527 31.842 77.7617 31.5773 79.9965 31.445L88.0152 30.1877C84.0059 32.5037 76.8416 38.3928 76.7101 48.649Z",fill:"url(#paint13_linear_8561_137893)"})),f||(f=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M95.5085 36.2742C91.4991 27.2751 87.0296 25.687 83.2174 27.9368L73.1611 32.8333C77.1705 30.9806 81.3771 32.1716 85.4522 41.1707C88.5414 48.0523 87.5388 54.7105 82.8064 57.4235L92.8794 52.618C97.6118 49.8389 98.532 43.1558 95.5085 36.2742Z",fill:"url(#paint14_linear_8561_137893)"})),x||(x=w.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M95.5085 36.2742C91.4991 27.2751 87.0296 25.687 83.2174 27.9368L73.1611 32.8333C77.1705 30.9806 81.3771 32.1716 85.4522 41.1707C88.5414 48.0523 87.5388 54.7105 82.8064 57.4235L92.8794 52.618C97.6118 49.8389 98.532 43.1558 95.5085 36.2742Z",fill:"url(#paint15_linear_8561_137893)"})),v||(v=w.createElement("defs",null,w.createElement("linearGradient",{id:"paint0_linear_8561_137893",x1:62.0004,y1:118.864,x2:62.0004,y2:6.13635,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#41414D"}),w.createElement("stop",{offset:1,stopColor:"#41414D",stopOpacity:.35})),w.createElement("linearGradient",{id:"paint1_linear_8561_137893",x1:121.424,y1:77.253,x2:19.3963,y2:107.624,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#B2B1BF"}),w.createElement("stop",{offset:1,stopColor:"#41414D"})),w.createElement("linearGradient",{id:"paint2_linear_8561_137893",x1:148.221,y1:75.1088,x2:58.5361,y2:128.347,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#B2B1BF"}),w.createElement("stop",{offset:1,stopColor:"#41414D"})),w.createElement("linearGradient",{id:"paint3_linear_8561_137893",x1:152.346,y1:109.661,x2:31.4095,y2:60.7027,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#B2B1BF"}),w.createElement("stop",{offset:1,stopColor:"#41414D"})),w.createElement("linearGradient",{id:"paint4_linear_8561_137893",x1:147.506,y1:58.2747,x2:51.8431,y2:78.5771,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#B2B1BF"}),w.createElement("stop",{offset:1,stopColor:"#41414D"})),w.createElement("linearGradient",{id:"paint5_linear_8561_137893",x1:107.275,y1:55.7914,x2:97.7256,y2:88.0359,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#ACACAC"})),w.createElement("linearGradient",{id:"paint6_linear_8561_137893",x1:121.93,y1:83.0502,x2:10.9695,y2:32.0373,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#B2B1BF"}),w.createElement("stop",{offset:1,stopColor:"#41414D"})),w.createElement("linearGradient",{id:"paint7_linear_8561_137893",x1:79.2731,y1:94.7941,x2:71.0205,y2:56.9067,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#8E8E8E"}),w.createElement("stop",{offset:1,stopColor:"white"})),w.createElement("linearGradient",{id:"paint8_linear_8561_137893",x1:76.1274,y1:37.9655,x2:83.4081,y2:56.3899,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"white"})),w.createElement("linearGradient",{id:"paint9_linear_8561_137893",x1:46.6168,y1:28.0038,x2:62.8734,y2:62.7269,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#5C5C5B"})),w.createElement("linearGradient",{id:"paint10_linear_8561_137893",x1:54.1674,y1:14.3022,x2:72.401,y2:41.0665,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#FFDD2D"})),w.createElement("linearGradient",{id:"paint11_linear_8561_137893",x1:73.0899,y1:58.4031,x2:56.7019,y2:21.4935,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#878787"})),w.createElement("linearGradient",{id:"paint12_linear_8561_137893",x1:94.5123,y1:57.6667,x2:90.6326,y2:46.5049,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"#E8E5ED"}),w.createElement("stop",{offset:1,stopColor:"#A1A1B2"})),w.createElement("linearGradient",{id:"paint13_linear_8561_137893",x1:97.4279,y1:21.011,x2:71.1203,y2:52.7335,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{offset:.225462,stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#DEDEDE"})),w.createElement("linearGradient",{id:"paint14_linear_8561_137893",x1:81.5626,y1:28.5526,x2:91.1293,y2:51.3781,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#FFDD2D"})),w.createElement("linearGradient",{id:"paint15_linear_8561_137893",x1:94.161,y1:61.0052,x2:79.4252,y2:28.8157,gradientUnits:"userSpaceOnUse"},w.createElement("stop",{stopColor:"white"}),w.createElement("stop",{offset:1,stopColor:"#E1E1E6"})))))}},51573:function(e,t,a){"use strict";a.r(t);var r,i=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return i.createElement("svg",_extends({width:9,height:10,viewBox:"0 0 9 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 9.5C6.98529 9.5 9 7.48529 9 5C9 2.51471 6.98529 0.5 4.5 0.5C2.01471 0.5 0 2.51471 0 5C0 7.48529 2.01471 9.5 4.5 9.5ZM2.41475 4.60225C2.63442 4.38258 2.99058 4.38258 3.21025 4.60225L3.99028 5.38229L5.85 3.425C6.09853 3.2386 6.4511 3.28897 6.6375 3.5375C6.8239 3.78603 6.77353 4.1386 6.525 4.325L4.275 6.575C4.05106 6.74296 3.73769 6.72069 3.53975 6.52275L2.41475 5.39775C2.19508 5.17808 2.19508 4.82192 2.41475 4.60225Z",fill:"#FFDD2D"})))}},35792:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return s.createElement("svg",_extends({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),s.createElement("mask",{id:"mask0_1127_1559",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:2,y:2,width:20,height:20},r||(r=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 2H2V17H6.5V6.5H17V2Z",fill:"black",fillOpacity:.5})),i||(i=s.createElement("path",{d:"M8.5 8.5H22V19C22 20.6569 20.6569 22 19 22H8.5V8.5Z",fill:"url(#paint0_linear_1127_1559)"}))),n||(n=s.createElement("g",{mask:"url(#mask0_1127_1559)"},s.createElement("path",{d:"M0 0H24V24H0V0Z",fill:"#333333"}))),o||(o=s.createElement("defs",null,s.createElement("linearGradient",{id:"paint0_linear_1127_1559",x1:22,y1:8.5,x2:8.5,y2:22,gradientUnits:"userSpaceOnUse"},s.createElement("stop",null),s.createElement("stop",{offset:1,stopOpacity:.8})))))}},10888:function(e,t,a){"use strict";a.r(t);var r,i=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return i.createElement("svg",_extends({width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.8 0C0.805888 0 0 0.805887 0 1.8V7.2C0 8.19411 0.805887 9 1.8 9H7.2C8.19411 9 9 8.19411 9 7.2V1.8C9 0.805888 8.19411 0 7.2 0H1.8ZM3.6 10.2V10.2H7.8C9.12548 10.2 10.2 9.12547 10.2 7.79998V3.6C11.1941 3.6 12 4.40589 12 5.4V10.2C12 11.1941 11.1941 12 10.2 12H5.4C4.40589 12 3.6 11.1941 3.6 10.2Z",fill:"currentColor"})))}},74319:function(e,t,a){"use strict";a.r(t);var r,i=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return i.createElement("svg",_extends({width:28,height:34,viewBox:"0 0 28 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=i.createElement("path",{d:"M11.0962 0.605484C10.93 0.605053 10.7665 0.648813 10.6222 0.732402C10.4779 0.815992 10.3577 0.936489 10.2736 1.08188L0.630547 17.607C0.545771 17.7536 0.500737 17.9204 0.500009 18.0904C0.499281 18.2604 0.542885 18.4275 0.626401 18.5749C0.709917 18.7223 0.830376 18.8447 0.975569 18.9297C1.12076 19.0147 1.28553 19.0592 1.45316 19.0588H8.65989L5.34714 32.1832C5.29433 32.3882 5.30957 32.6051 5.39049 32.8004C5.47141 32.9957 5.61351 33.1585 5.79484 33.2638C5.97616 33.369 6.18661 33.4107 6.39367 33.3825C6.60072 33.3543 6.79286 33.2578 6.94038 33.1077L27.2236 12.5832C27.356 12.4481 27.4459 12.2763 27.4821 12.0895C27.5184 11.9027 27.4992 11.7091 27.4271 11.5333C27.355 11.3575 27.2332 11.2073 27.077 11.1016C26.9208 10.9958 26.7373 10.9394 26.5495 10.9393H17.3355L22.7521 2.07798C22.8417 1.93156 22.8909 1.76348 22.8947 1.59122C22.8985 1.41896 22.8568 1.24881 22.7737 1.09848C22.6907 0.948154 22.5694 0.823134 22.4226 0.736431C22.2758 0.649729 22.1087 0.604511 21.9388 0.605484H11.0962Z",fill:"currentColor"})))}},85982:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return s.createElement("svg",_extends({width:56,height:56,viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),s.createElement("mask",{id:"mask0_3718_21348",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:9,y:4,width:38,height:48},r||(r=s.createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M42 16.3334C42 9.89009 36.7767 4.66675 30.3333 4.66675H25.6667C19.2233 4.66675 14 9.89009 14 16.3334V26.8334H21V16.3334C21 13.7561 23.0893 11.6667 25.6667 11.6667H30.3333C32.9107 11.6667 35 13.7561 35 16.3334V26.8334H42V16.3334Z",fill:"black"})),i||(i=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.33301 51.3335V26.8335H46.6663V42.0002C46.6663 47.1548 42.4877 51.3335 37.333 51.3335H9.33301ZM31.4997 35.0002H24.4997V43.1668H26.833C29.4103 43.1668 31.4997 41.0775 31.4997 38.5002V35.0002Z",fill:"url(#paint0_linear_3718_21348)"}))),n||(n=s.createElement("g",{mask:"url(#mask0_3718_21348)"},s.createElement("path",{d:"M0 0H56V56H0V0Z",fill:"white"}))),o||(o=s.createElement("defs",null,s.createElement("linearGradient",{id:"paint0_linear_3718_21348",x1:10.4997,y1:26.8335,x2:41.9997,y2:49.0002,gradientUnits:"userSpaceOnUse"},s.createElement("stop",null),s.createElement("stop",{offset:1,stopOpacity:.8})))))}},74105:function(e,t,a){"use strict";a.r(t);var r,i,n,o=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return o.createElement("svg",_extends({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),o.createElement("mask",{id:"mask0_8576_4670",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:3,y:0,width:8,height:13},r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.16807 8.56565L8.16658 8.56577V9.33341H5.83325V8.75008C5.83325 7.20863 6.43244 6.91955 7.09808 6.59841C7.44004 6.43343 7.79954 6.30613 8.10435 5.95008C9.07219 5.00088 8.34159 3.50008 7.1168 3.50922C6.84963 3.48767 6.5817 3.5404 6.34262 3.66157C6.10354 3.78275 5.90261 3.96766 5.76203 4.19587C5.7069 4.28535 5.6619 4.38013 5.62752 4.47845C5.57426 4.63073 5.54647 4.79196 5.54601 4.95475L3.20825 4.94884C3.21182 3.53772 4.02706 2.21429 5.28575 1.57634C5.90926 1.26033 6.60799 1.12282 7.30475 1.17902C9.24338 1.33539 10.8343 2.99455 10.8499 4.95841C10.8626 6.55705 9.64399 8.08769 8.16807 8.56565Z",fill:"black"})),i||(i=o.createElement("path",{d:"M5.83325 12.8333H7.34992C7.80095 12.8333 8.16659 12.4676 8.16659 12.0166V10.4999H6.64992C6.19889 10.4999 5.83325 10.8656 5.83325 11.3166V12.8333Z",fill:"black"}))),n||(n=o.createElement("g",{mask:"url(#mask0_8576_4670)"},o.createElement("path",{d:"M0 0H14V14H0V0Z",fill:"currentColor"}))))}},58355:function(e,t,a){"use strict";a.r(t);var r,i=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return i.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,role:"img"},e),r||(r=i.createElement("path",{d:"M756-120 537-339l84-84 219 219-84 84Zm-552 0-84-84 276-276-68-68-28 28-51-51v82l-28 28-121-121 28-28h82l-50-50 142-142q20-20 43-29t47-9q24 0 47 9t43 29l-92 92 50 50-28 28 68 68 90-90q-4-11-6.5-23t-2.5-24q0-59 40.5-99.5T701-841q15 0 28.5 3t27.5 9l-99 99 72 72 99-99q7 14 9.5 27.5T841-701q0 59-40.5 99.5T701-561q-12 0-24-2t-23-7L204-120Z",fill:"currentColor"})))}},72003:function(e,t,a){"use strict";a.r(t);var r,i,n,o,s,l,c=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return c.createElement("svg",_extends({width:75,height:40,viewBox:"0 0 75 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=c.createElement("path",{d:"M37.4562 19.2856C36.9559 19.0915 36.3017 19.0334 35.5898 19.0334H31.6259V17.7915H38.4375V15.6572H28.8359V24.8931H35.3396C36.244 24.8931 36.9173 24.8155 37.4177 24.6214C38.476 24.2139 39.1879 23.2244 39.1879 21.9244C39.1879 20.6051 38.5145 19.6931 37.4562 19.2856ZM36.0708 22.4871C35.9169 22.5453 35.7052 22.5647 35.4357 22.5647H31.6259V21.0901H35.4357C35.7437 21.0901 35.9937 21.1096 36.1863 21.2065C36.4171 21.323 36.5326 21.5364 36.5326 21.8079C36.5326 22.0796 36.3979 22.3706 36.0708 22.4871Z",fill:"#FFF8F1"})),i||(i=c.createElement("path",{d:"M47.011 15.6572H42.9318L39.1797 24.8931H42.3354L42.8548 23.5543H47.0879L47.6268 24.8931H50.7632L47.011 15.6572ZM43.5475 21.5169L44.8753 17.7915H45.0869L46.4145 21.5169H43.5475Z",fill:"#FFF8F1"})),n||(n=c.createElement("path",{d:"M54.3524 21.4588V24.8931H51.5625V15.6572H54.3524V19.0334H58.8357V15.6572H61.6258V24.8931H58.8357V21.4588H54.3524Z",fill:"#FFF8F1"})),o||(o=c.createElement("path",{d:"M66.0401 21.4006V24.8931H63.25V15.6572H66.0401V19.1304H66.8097L70.177 15.6572H73.6788L69.2149 20.0811L73.8521 24.8931H70.1385L66.8097 21.4006H66.0401Z",fill:"#FFF8F1"})),s||(s=c.createElement("path",{d:"M1.35938 9.71973H23.6024V21.0003C23.6024 23.8921 22.0725 26.5644 19.5891 28.0105L12.4809 32.1495L5.37266 28.0105C2.88921 26.5644 1.35938 23.8921 1.35938 21.0003V9.71973Z",fill:"#FFDD2D"})),l||(l=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.46094 15.6572V19.1657C7.93671 18.6239 8.80176 18.2573 9.79082 18.2573H10.8657V22.3359C10.8657 23.4209 10.5733 24.3707 10.1395 24.8931H14.8148C14.3819 24.3702 14.0902 23.4216 14.0902 22.3379V18.2573H15.1651C16.1542 18.2573 17.0192 18.6239 17.495 19.1657V15.6572H7.46094Z",fill:"#333333"})))}},21325:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:59,height:27,viewBox:"0 0 59 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("g",{clipPath:"url(#clip0_1331_5146)"},n.createElement("g",{filter:"url(#filter0_f_1331_5146)"},n.createElement("path",{d:"M40.2726 4.3681L5.5487 19.0816C4.01863 19.7299 4.55868 22.0199 6.21721 21.9162L53.3004 18.9735C54.5871 18.8931 55.1606 17.3185 54.2271 16.4294L41.8677 4.65855C41.4414 4.25252 40.8147 4.1384 40.2726 4.3681Z",fill:"url(#paint0_diamond_1331_5146)"})))),i||(i=n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1331_5146",x:3.16726,y:2.7737,width:52.9975,height:20.623,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:.738636,result:"effect1_foregroundBlur_1331_5146"})),n.createElement("radialGradient",{id:"paint0_diamond_1331_5146",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(27.1314 13.2227) rotate(131.443) scale(26.2113 74.557)"},n.createElement("stop",{stopColor:"#FFDD2D"}),n.createElement("stop",{offset:1,stopColor:"#F3B919"})),n.createElement("clipPath",{id:"clip0_1331_5146"},n.createElement("rect",{width:58,height:26,fill:"white",transform:"translate(0.632812 0.281738)"})))))}},64866:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:29,height:22,viewBox:"0 0 29 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("g",{filter:"url(#filter0_f_1331_10842)"},n.createElement("path",{d:"M14.1349 3.288L3.30904 10.3248C2.24216 11.0183 2.49273 12.6463 3.71876 12.9868L23.2054 18.3998C24.5386 18.7701 25.6036 17.2686 24.8135 16.1328L16.1527 3.68299C15.6971 3.02807 14.8039 2.8532 14.1349 3.288Z",fill:"url(#paint0_diamond_1331_10842)"}))),i||(i=n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1331_10842",x:1.15945,y:1.57204,width:25.4018,height:18.3623,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:.738636,result:"effect1_foregroundBlur_1331_10842"})),n.createElement("radialGradient",{id:"paint0_diamond_1331_10842",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(10.1648 10.2635) rotate(108.861) scale(17.4411 30.5891)"},n.createElement("stop",{stopColor:"#FFDD2D"}),n.createElement("stop",{offset:1,stopColor:"#F3B919"})))))}},89683:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:49,height:39,viewBox:"0 0 49 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("g",{filter:"url(#filter0_f_1331_5144)"},n.createElement("path",{d:"M41.3936 32.3678L40.6785 30.7892C39.5875 28.3808 37.3201 26.7352 34.7239 26.4675L31.3205 26.1165C28.7243 25.8487 26.4569 24.2031 25.3659 21.7947L23.9357 18.6377C22.8446 16.2293 20.5773 14.5837 17.981 14.3159L14.5777 13.9649C11.9814 13.6972 9.71404 12.0516 8.623 9.64317L7.9079 8.06464",stroke:"url(#paint0_diamond_1331_5144)",strokeWidth:5,strokeLinecap:"round"}))),i||(i=n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1331_5144",x:3.94851,y:4.06911,width:41.4057,height:32.2944,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:.738636,result:"effect1_foregroundBlur_1331_5144"})),n.createElement("radialGradient",{id:"paint0_diamond_1331_5144",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(24.6508 20.2162) rotate(-116.721) scale(13.7777 31.9504)"},n.createElement("stop",{stopColor:"#FFDD2D"}),n.createElement("stop",{offset:1,stopColor:"#F3B919"})))))}},12440:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:33,height:20,viewBox:"0 0 33 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("g",{clipPath:"url(#clip0_1331_12025)"},n.createElement("g",{filter:"url(#filter0_f_1331_12025)"},n.createElement("path",{d:"M16.3127 4.49932L28.3583 13.2077C29.6256 14.1238 28.7868 16.1234 27.2451 15.8612L4.58991 12.0087C3.15623 11.7649 2.90043 9.81423 4.22278 9.20902L14.8324 4.35323C15.3161 4.13183 15.8815 4.18763 16.3127 4.49932Z",fill:"url(#paint0_diamond_1331_12025)"})))),i||(i=n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1331_12025",x:1.8821,y:2.74197,width:28.5708,height:14.6201,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:.738636,result:"effect1_foregroundBlur_1331_12025"})),n.createElement("radialGradient",{id:"paint0_diamond_1331_12025",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(25.3764 13.6392) rotate(48.5566) scale(26.2113 74.557)"},n.createElement("stop",{stopColor:"#FFDD2D"}),n.createElement("stop",{offset:1,stopColor:"#F3B919"})),n.createElement("clipPath",{id:"clip0_1331_12025"},n.createElement("rect",{width:33,height:19,fill:"white",transform:"translate(0 0.40918)"})))))}},3850:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:41,height:32,viewBox:"0 0 41 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("g",{filter:"url(#filter0_f_1331_6860)"},n.createElement("path",{d:"M22.6825 21.1737C14.8213 25.5312 7.05847 26.5235 5.59783 23.8544C4.13719 21.1854 9.1198 15.1127 16.981 10.7552C24.8421 6.3977 32.605 5.40541 34.0656 8.07447C35.5262 10.7435 30.5436 16.8162 22.6825 21.1737Z",fill:"url(#paint0_diamond_1331_6860)"}))),i||(i=n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1331_6860",x:3.86648,y:5.12331,width:31.9301,height:21.6821,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:.738636,result:"effect1_foregroundBlur_1331_6860"})),n.createElement("radialGradient",{id:"paint0_diamond_1331_6860",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(19.8317 15.9644) rotate(156.752) scale(34.7891 19.9003)"},n.createElement("stop",{stopColor:"#FFDD2D"}),n.createElement("stop",{offset:1,stopColor:"#F3B919"})))))}},57605:function(e,t,a){"use strict";a.r(t);var r,i,n=a(64352);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",_extends({width:28,height:22,viewBox:"0 0 28 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("g",{filter:"url(#filter0_f_1331_12021)"},n.createElement("path",{d:"M7.39842 15.175L7.58048 15.1565C10.1825 14.8924 12.4509 13.2719 13.5443 10.8961L13.6973 10.5636C14.7908 8.18776 17.0591 6.56729 19.6612 6.30315L19.8432 6.28467",stroke:"url(#paint0_diamond_1331_12021)",strokeWidth:5,strokeLinecap:"round"}))),i||(i=n.createElement("defs",null,n.createElement("filter",{id:"filter0_f_1331_12021",x:3.42116,y:2.3074,width:20.3999,height:16.8452,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:.738636,result:"effect1_foregroundBlur_1331_12021"})),n.createElement("radialGradient",{id:"paint0_diamond_1331_12021",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(13.6211 10.7302) rotate(-62.9135) scale(10.1128 23.6716)"},n.createElement("stop",{stopColor:"#FFDD2D"}),n.createElement("stop",{offset:1,stopColor:"#F3B919"})))))}},48312:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(69989)}])},69989:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return App}});var r,i,n,o,s,l,c,d,u,m,_,p,g,h,f,x,v,w,C,b,j,k,y,S,T,N,B,I,D,E,M,L,R,P,G,A,H,O,W,V,F,U,Z,q,z,K,Y,X,Q,J,$,ee,et,ea,er,ei,en,eo,es,el,ec,ed,eu,em,e_,ep,eg,eh,ef,ex=a(48864),ev=a(8920),ew=a(76985),eC=a(38559),eb=a(37578),ej=a(64352),ek=a(37105),ey=a.n(ek),eS=a(95789),eT=a.n(eS),eN=a(75736),eB=a(12331),eI=a(71873),eD=a.n(eI),eE=a(68581),eM=a.n(eE),eL=a(60185),useWindowSize=()=>{var e=(0,eB.C5)(),[t,a]=(0,ej.useState)({width:e.innerWidth,height:e.innerHeight});return(0,ej.useEffect)(()=>{var onResize=()=>{a({width:Math.max(Math.min(e.innerWidth,e.screen.width),320),height:Math.max(Math.min(e.innerHeight,e.screen.height),320)})};return onResize(),(0,eL.C)(e,onResize),()=>{(0,eL.D)(e,onResize)}},[e]),t},eR=a(8572),eP=a.n(eR),eG=a(77442),drawRectangle=(e,t,a)=>{e.beginPath(),e.fillRect(-t/2,-a/2,t,a),e.closePath()},drawEllipse=(e,t,a)=>{e.beginPath(),e.ellipse(0,0,t,a,0,0,2*Math.PI),e.fill(),e.closePath()},drawStar=(e,t,a,r)=>{var i=Math.PI/2*3,n=0,o=0,s=Math.PI/t;e.beginPath(),e.moveTo(0,0-a);for(var l=0;l<t;l++)n=0+Math.cos(i)*a,o=0+Math.sin(i)*a,e.lineTo(n,o),i+=s,n=0+Math.cos(i)*r,o=0+Math.sin(i)*r,e.lineTo(n,o),i+=s;e.lineTo(0,0-a),e.closePath(),e.fill(),e.closePath()};function drawRandomShape(e){switch(this.isNewRandomShapeRender||(this.shapeType=(0,eG.LU)(0,4),this.isNewRandomShapeRender=!0),this.shapeType){case 0:return drawRandomRectangle.call(this,e);case 1:return drawRandomEllipse.call(this,e);case 2:return drawRandomSquare.call(this,e);case 3:return drawRandomCircle.call(this,e);case 4:return drawRandomStar.call(this,e)}}function drawRandomRectangle(e){this.isNewRender||(this.width=(0,eG.LU)(10,20),this.height=(0,eG.LU)(5,10),this.isNewRender=!0),drawRectangle(e,this.width,this.height)}function drawRandomSquare(e){if(!this.isNewRender){var t=(0,eG.LU)(5,20);this.width=t,this.height=t,this.isNewRender=!0}drawRectangle(e,this.width,this.height)}function drawRandomEllipse(e){this.isNewRender||(this.radiusX=(0,eG.LU)(5,10),this.radiusY=(0,eG.LU)(2.5,5),this.isNewRender=!0),drawEllipse(e,this.radiusX,this.radiusY)}function drawRandomCircle(e){if(!this.isNewRender){var t=(0,eG.LU)(2.5,10);this.radiusX=t,this.radiusY=t,this.isNewRender=!0}drawEllipse(e,this.radiusX,this.radiusY)}function drawRandomStar(e){this.isNewRender||(this.outerRadius=(0,eG.LU)(12,20),this.innerRadius=(0,eG.LU)(3,8),this.spikes=(0,eG.LU)(5,10),this.isNewRender=!0),drawStar(e,this.spikes,this.outerRadius,this.innerRadius)}var getConfettiParticleInitialVelocityY=(e,t)=>(-t-Math.sqrt(t*t+8*t*e))/2,ConfettiOverlay=e=>{var{isVisible:t,onClose:a}=e,[r,i]=(0,ej.useState)(t),n=(0,ej.useRef)(null),[o,s]=(0,ej.useState)(Date.now());(0,ej.useEffect)(()=>{i(t)},[t]),(0,ej.useEffect)(()=>{r||s(Date.now())},[r]);var l=useWindowSize(),c=(0,ej.useMemo)(()=>getConfettiParticleInitialVelocityY(l.height,.08),[l.height]),hide=()=>{r&&(i(!1),a())};return(0,ex.jsx)("div",{ref:n,className:eD()(eM().root,eM().animated,{[eM().visible]:r}),onClick:hide,children:(0,ex.jsx)(eP(),{recycle:!1,run:r,drawShape:drawRandomShape,numberOfPieces:0===l.height?0:300,width:l.width,height:l.height,gravity:.08,tweenDuration:1e3,initialVelocityY:{min:c,max:0},confettiSource:{x:0,y:l.height,w:l.width,h:0},onConfettiComplete:hide},o)})},eA=a(69527),eH=a.n(eA),eO=a(81821),eW=a.n(eO),useTilesContainerSize=(e,t)=>{var a=(0,eB.C5)(),r=(0,ej.useRef)(null),i=(0,ej.useRef)(null),[n,o]=(0,ej.useState)({width:0,height:0}),[s,l]=(0,ej.useState)(eN.A1),c=(0,ej.useRef)(n),d=(0,ej.useCallback)(()=>{if(r.current){var{clientWidth:n,clientHeight:s}=r.current,u=(e-1)*eN.XN,m=(t-1)*eN.Ir,{width:_,height:p}=calcOptimalTileSize((n-u)/e,(s-m)/t,eN.dj);if(_<=eN.kS||p<=eN.kS){i.current&&clearTimeout(i.current),i.current=a.setTimeout(d);return}var g={width:_*e+u,height:p*t+m};(c.current.width!==g.width||c.current.height!==g.height)&&(o(g),l(p/2),c.current=g),i.current&&clearTimeout(i.current),i.current=a.setTimeout(d,500)}},[e,t,a]);return(0,ej.useEffect)(()=>(d(),(0,eL.C)(a,d),()=>(0,eL.D)(a,d)),[d,a]),(0,ej.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]),{rootContainerRef:r,tilesContainerSize:n,fontSize:s,gridHorizontalGap:eN.XN,gridVerticalGap:eN.Ir}};function calcOptimalTileSize(e,t,a){var r=Math.max(eN.kS,e),i=Math.max(eN.kS,t);return r/i>a?{width:a*i,height:i}:{width:r,height:r/a}}var eV=a(89899),eF=a.n(eV),eU=a(61267),eZ=a(48656),eq=a.n(eZ);(r=L||(L={})).Enter="enter",r.Flip="flip";var TileLegacy=e=>{var{row:t,column:a,letter:r,evaluation:i,onFlipAnimationFinish:n,className:o}=e,s=(0,ej.useRef)(null),[l,c]=(0,ej.useState)(null),[d,u]=(0,ej.useState)(!1);(0,ej.useEffect)(()=>{i?c("flip"):c(r?"enter":null)},[i,r]);var m=(0,ej.useMemo)(()=>{var e={};return"flip"===l&&(e.animationDelay="".concat(500*a/2,"ms"),e.animationDuration=d?"":"".concat(500,"ms")),e},[l,a,d]);return(0,ej.useEffect)(()=>{"flip"!==l&&u(!1)},[l]),(0,ex.jsxs)("div",{ref:s,className:eD()(eq().root,o,{[eq().animationFinished]:d}),"data-animation":l,"data-evaluation":i,"data-row":t,"data-column":a,style:m,onAnimationEnd:()=>{"flip"!==l||d||(null==n||n(),u(!0))},children:[(0,ex.jsx)("span",{className:eq().front,children:null!=r?r:eU.Ed}),(0,ex.jsx)("span",{className:eq().back,children:null!=r?r:eU.Ed})]})},ez=a(23008),eK=a(43061),eY=a(85747),eX=a.n(eY),getTileFlipAnimationDelayMs=(e,t)=>200*t+e*(400/eN.Do*2),getTileFlipBackAnimationDelayMs=(e,t,a)=>{var r=200/eN.Do*2;return(eN.l$-1-a)*100+(t-e)*r};(i=R||(R={})).Enter="enter",i.Flip="flip",i.FlipBack="flipBack";var Tile=e=>{var{row:t,column:a,lastNotEmptyRow:r,letter:i,evaluation:n,onFlipAnimationFinish:o,className:s}=e,l=(0,ej.useRef)(null),[c,d]=(0,ej.useState)(null),[u,m]=(0,ej.useState)(!1),[_,p]=(0,ej.useState)(i),[g,h]=(0,ej.useState)(n);(0,ej.useEffect)(()=>{n?(p(i),h(n),d("flip")):g?d("flipBack"):i?(p(i),d("enter")):(p(void 0),d(null))},[n,g,i]),(0,ej.useEffect)(()=>{"flip"!==c&&m(!1)},[c]);var f=(0,ej.useMemo)(()=>{var e={};return"flip"===c?(e.animationDelay="".concat(getTileFlipAnimationDelayMs(t,a),"ms"),e.animationDuration=u?"":"".concat(400,"ms")):"flipBack"===c&&(e.animationDelay="".concat(getTileFlipBackAnimationDelayMs(t,r,a),"ms"),e.animationDuration="".concat(400,"ms")),e},[r,c,a,u,t]);return(0,ex.jsxs)("div",{ref:l,className:eD()(eX().root,s,{[eX().flipAnimationFinished]:u}),"data-animation":c,"data-evaluation":g,"data-row":t,"data-column":a,style:f,onAnimationEnd:()=>{"flip"!==c||u||(null==o||o(),m(!0)),"flipBack"!==c||u||(p(i),h(n),null==o||o(),m(!0))},children:[(0,ex.jsx)("span",{className:eX().front,children:u||"flipBack"===c?eU.Ed:null!=_?_:eU.Ed}),(0,ex.jsx)("span",{className:eX().back,children:null!=_?_:eU.Ed})]})},Row=e=>{var{row:t,columnCount:a,gridGap:r,word:i,evaluation:n,onFinishRowAnimation:o,status:s=null,className:l,style:c,isTotallyOverlayed:d,overlayedTiles:u,isTileFlipBackAnimationEnabled:m,lastNotEmptyRow:_=0}=e,[p,g]=(0,ej.useState)(0),[h,f]=(0,ej.useState)(null),[x,v]=(0,ej.useState)(!1),w=(0,ej.useRef)(null),C=(0,ej.useRef)(null),b=(0,eB.C5)(),j=p===a,setWin=()=>{C.current=b.setTimeout(()=>{v(!0)},350)};(0,ej.useEffect)(()=>()=>{C.current&&b.clearTimeout(C.current)},[b]),(0,ej.useEffect)(()=>{h?(h===eK.mJ.Correct||h===eK.mJ.ReplacedToCorrect)&&j&&setWin():(g(0),v(!1))},[h,j]),(0,ej.useEffect)(()=>f(s),[s]);var onLastTileFinishFlipOut=()=>{!(h===eK.mJ.Correct||h===eK.mJ.ReplacedToCorrect)&&o&&o()},k=h===eK.mJ.NotInWordList||h===eK.mJ.IsDuplicate,y=eD()(eF().root,{[eF().invalid]:k,[eF().win]:x},l),S=m?Tile:TileLegacy;return(0,ex.jsx)("div",{ref:w,className:y,"data-row":t,onAnimationEnd:e=>{o&&(e.target===w.current?o():x&&j&&o())},style:c,children:(0,ez.i7)(a).map(e=>{var a=i?i[e]:void 0,o=n?n[e]:void 0,s=!d&&u&&u.some(a=>a.row===t&&a.column===e);return(0,ex.jsx)("div",{"data-overlayed":s,className:eF().tileWrapper,style:{marginLeft:0===e?0:r,animationDelay:x?"".concat(100*e,"ms"):""},children:(0,ex.jsx)(S,{row:t,lastNotEmptyRow:_,column:e,className:eF().tile,letter:a,evaluation:o,onFlipAnimationFinish:()=>{g(e=>e+1),e===eN.l$-1&&onLastTileFinishFlipOut()}})},e)})})},eQ=a(49221),getLastNotEmptyRow=(e,t)=>e.filter(e=>e.trim().length===t).length-1,useLastNotEmptyRow=(e,t)=>{var[a,r]=(0,ej.useState)(()=>getLastNotEmptyRow(e,t));return(0,ej.useEffect)(()=>{var a=getLastNotEmptyRow(e,t);-1!==a&&r(a)},[t,e]),a},Field=e=>{var{columnCount:t,rowCount:a,currentRowIndex:r,currentRowStatus:i,words:n,letterEvaluations:o,onFinishRowAnimation:s,isTotallyOverlayed:l,overlayedTiles:c,isTilesFlipBackAnimationEnabled:d}=e,{rootContainerRef:u,tilesContainerSize:m,fontSize:_,gridHorizontalGap:p,gridVerticalGap:g}=useTilesContainerSize(t,a),h=m.width>0&&m.height>0,f=useLastNotEmptyRow(n,t);return(0,ex.jsx)("div",{ref:u,id:eU.O.Field,"data-qa":eQ.BE.Game.Field.root,className:eW().root,children:h&&(0,ex.jsx)("div",{className:eW().tiles,style:{fontSize:_,width:"".concat(m.width,"px"),height:"".concat(m.height,"px")},"data-overlayed":l,children:(0,ez.i7)(a).map(e=>(0,ex.jsx)(Row,{row:e,lastNotEmptyRow:f,columnCount:t,gridGap:p,word:n[e],evaluation:o[e],status:e===r?i:null,onFinishRowAnimation:e===r?s:null,className:eW().row,style:{marginTop:0===e?0:g,zIndex:a-e},isTotallyOverlayed:l,overlayedTiles:c,isTileFlipBackAnimationEnabled:d},e))})})},eJ=a(70353),e$=a.n(eJ),e0=a(51534),BackspaceIcon=e=>{var{className:t}=e;return(0,ex.jsxs)("svg",{className:t,width:"23",height:"17",viewBox:"0 0 23 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("path",{d:"M10.5614 5.76318C10.2845 5.48301 10.2845 5.0288 10.5614 4.74863C10.8383 4.46846 11.2872 4.46846 11.5641 4.74863L13.9038 7.11594L16.2433 4.74863C16.5202 4.46846 16.9691 4.46846 17.246 4.74863C17.5228 5.02874 17.5228 5.48301 17.246 5.76318L14.9063 8.13043L17.246 10.4977C17.5228 10.7779 17.5228 11.2321 17.246 11.5122C16.9691 11.7924 16.5202 11.7924 16.2433 11.5122L13.9038 9.14499L11.5641 11.5122C11.2872 11.7924 10.8383 11.7924 10.5615 11.5122C10.2845 11.2321 10.2845 10.7779 10.5615 10.4977L12.9011 8.13049L10.5614 5.76318Z",fill:"currentColor"}),(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.63745 0.840459L0.432739 8.13043L7.63745 15.4204C8.16932 15.9586 8.89067 16.2609 9.64283 16.2609H19.3394C20.9057 16.2609 22.1754 14.9761 22.1754 13.3913V2.86957C22.1754 1.28474 20.9057 0 19.3394 0H9.64283C8.89067 0 8.16932 0.302358 7.63745 0.840459ZM19.3394 15.0174H9.64283C9.21655 15.0174 8.80781 14.8461 8.50639 14.5411L2.17074 8.13043L8.50639 1.71974C8.80781 1.41482 9.21655 1.24347 9.64283 1.24347H19.3394C20.2269 1.24347 20.9464 1.97148 20.9464 2.86957V13.3913C20.9464 14.2894 20.2269 15.0174 19.3394 15.0174Z",fill:"currentColor"})]})},EnterIcon=e=>{var{className:t}=e;return(0,ex.jsx)("svg",{className:t,width:"16",height:"13",viewBox:"0 0 16 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{d:"M1.51724 5.4569C1.21729 5.17123 0.742561 5.18281 0.456897 5.48276C0.171233 5.78271 0.182812 6.25744 0.482759 6.5431L1.51724 5.4569ZM15.5644 1.49388C15.8372 1.18215 15.8056 0.708329 15.4939 0.435567C15.1822 0.162806 14.7083 0.194394 14.4356 0.506122L15.5644 1.49388ZM6.25 11L5.73276 11.5431L6.29927 12.0826L6.81443 11.4939L6.25 11ZM0.482759 6.5431L5.73276 11.5431L6.76724 10.4569L1.51724 5.4569L0.482759 6.5431ZM6.81443 11.4939L15.5644 1.49388L14.4356 0.506122L5.68557 10.5061L6.81443 11.4939Z",fill:"currentColor"})})},e1=a(84402),e2=ej.memo(e=>{var{onKeyPress:t,onBackspacePress:a,onEnterPress:r,lettersEvaluationsMap:i,isSubmittingWord:n,shouldClearCurrentRow:o,canSubmit:s,canClear:l,className:c,isTotallyOverlayed:d,overlayedKeys:u,accentKey:m,isQAModeEnabled:_}=e,isOverlayedKey=e=>!d&&!!u&&u.includes(e),onKeyPressHandler=e=>{var i=e.target.dataset.key;if(i){if(i===e0.q7){r();return}if(i===e0.Bs){a();return}t(i)}},p=0!==navigator.maxTouchPoints,renderKeys=e=>e.map(e=>{var t=i.get(e),a=t?e$()[t]:null;return(0,ex.jsx)("button",{className:eD()(e$().key,{[e$().accent]:m===e},a),"data-key":e,"data-overlayed":isOverlayedKey(e),children:e},e)});return(0,ex.jsxs)("div",{id:eU.O.Keyboard,className:eD()(e$().root,{[e$().disabled]:n},c),onTouchEnd:e=>{!_&&p&&onKeyPressHandler(e)},onClick:e=>{(_||!p)&&onKeyPressHandler(e)},"data-overlayed":d,children:[(0,ex.jsx)("div",{className:e$().row,children:renderKeys(e0.AQ)}),(0,ex.jsxs)("div",{className:e$().row,children:[(0,ex.jsx)("div",{className:e$().halfKeySpace}),renderKeys(e0.DU),(0,ex.jsx)("div",{className:e$().halfKeySpace})]}),(0,ex.jsxs)("div",{className:e$().row,children:[(0,ex.jsx)("button",{className:eD()(e$().key,e$().wide,e$().enter,{[e$().accent]:m===e0.q7,[e$().enabled]:s}),"data-key":e0.q7,"data-overlayed":isOverlayedKey(e0.q7),children:n?(0,ex.jsx)(e1.a,{color:"black",className:e$().loader}):(0,ex.jsx)(EnterIcon,{className:e$().icon})}),renderKeys(e0.QL),(0,ex.jsx)("button",{className:eD()(e$().key,e$().wide,e$().backspace,{[e$().accent]:m===e0.Bs,[e$().highlighted]:o,[e$().enabled]:l}),"data-key":e0.Bs,"data-overlayed":isOverlayedKey(e0.Bs),children:(0,ex.jsx)(BackspaceIcon,{className:e$().icon})})]})]})});e2.displayName="Keyboard";var Game=e=>{var{columnCount:t,rowCount:a,fieldWords:r,letterEvaluations:i,lettersEvaluationsMap:n,currentRowIndex:o,currentRowStatus:s,onFinishRowAnimation:l,fieldOverlayedTiles:c,isFieldTotallyOverlayed:d,keyboardContainerId:u,keyboardContainerClassName:m,keyboardContainerStyle:_,onKeyPress:p,onBackspacePress:g,onEnterPress:h,shouldClearCurrentRow:f,canSubmit:x,canClear:v,isSubmittingWord:w,keyboardOverlayedKeys:C,isKeyboardTotallyOverlayed:b,keyboardAccentKey:j,isQAKeyboardModeEnabled:k,isTilesFlipBackAnimationEnabled:y,children:S}=e;return(0,ex.jsxs)("div",{className:eH().root,children:[(0,ex.jsx)("div",{className:eH().fieldContainer,children:(0,ex.jsx)(Field,{columnCount:t,rowCount:a,words:r,letterEvaluations:i,currentRowIndex:o,currentRowStatus:s,onFinishRowAnimation:l,overlayedTiles:c,isTotallyOverlayed:d,isTilesFlipBackAnimationEnabled:y})}),(0,ex.jsx)("div",{id:u,className:m,style:_,children:(0,ex.jsx)(e2,{lettersEvaluationsMap:n,onKeyPress:p,onBackspacePress:g,onEnterPress:h,shouldClearCurrentRow:f,canSubmit:x,canClear:v,isSubmittingWord:w,isTotallyOverlayed:b,overlayedKeys:C,accentKey:j,isQAModeEnabled:k})}),S]})},e3=a(30929),e5=a(54717),e4=a.n(e5),e9=a(30934),e6=a(89811),e8=a.n(e6),GiftIcon=e=>{var{active:t=!1}=e,a=(0,ej.useRef)(Math.random()),r=(0,ej.useRef)("gift_icon_mask_".concat(Date.now(),"_").concat(a.current));return(0,ex.jsxs)("svg",{width:"23",height:"24",viewBox:"0 0 23 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:r.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"19",height:"20",children:[(0,ex.jsx)("path",{d:"M2.1976 7.18726V10.9204H20.8634V7.18726H2.1976Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.7",fillRule:"evenodd",clipRule:"evenodd",d:"M6.94891 2.52075H5.93077V4.38733C5.93077 5.93366 7.18432 7.18721 8.73064 7.18721H11.5305H14.3304C15.8767 7.18721 17.1303 5.93366 17.1303 4.38733V2.52075H14.3304C12.7841 2.52075 11.5305 3.7743 11.5305 5.32063C11.5305 3.7743 10.277 2.52075 8.73064 2.52075H6.94891Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.8",fillRule:"evenodd",clipRule:"evenodd",d:"M9.66393 10.9204H3.13089V21.1866H9.66393V10.9204ZM13.3971 10.9204V18.3867C13.3971 19.9331 12.1435 21.1866 10.5972 21.1866H16.197C18.2587 21.1866 19.9301 19.5152 19.9301 17.4534V10.9204H13.3971Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.3",d:"M13.3971 10.9204H9.66393V21.1866H10.5972C12.1435 21.1866 13.3971 19.9331 13.3971 18.3867V10.9204Z",fill:"black"})]}),(0,ex.jsx)("g",{mask:"url(#".concat(r.current,")"),children:(0,ex.jsx)("path",{className:"gift",d:"M0.331024 0.654053H22.73V23.053H0.331024V0.654053Z",fill:t?"#252525":"#676769"})})]})},StarIcon=()=>{var e=(0,ej.useRef)(Math.random()),t=(0,ej.useRef)("mask_".concat(Date.now(),"_").concat(e.current)),a=(0,ej.useRef)("gradient_".concat(Date.now(),"_").concat(e.current));return(0,ex.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:t.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"20",height:"20",children:[(0,ex.jsx)("path",{d:"M17.2991 19.6616L15.1625 13.0857L11 16.1099L16.5938 20.1741C16.953 20.435 17.4363 20.0839 17.2991 19.6616Z",fill:"url(#".concat(a.current,")")}),(0,ex.jsx)("path",{d:"M10.5649 1.6165C10.7021 1.19424 11.2995 1.19424 11.4367 1.61651L13.5734 8.19245H20.4877C20.9317 8.19245 21.1163 8.76061 20.7571 9.02159L15.1633 13.0857L11.0008 16.11L5.40698 20.1741C5.04778 20.4351 4.56448 20.084 4.70168 19.6617L6.83833 13.0857L1.2445 9.02159C0.885295 8.76061 1.0699 8.19245 1.5139 8.19245H8.42826L10.5649 1.6165Z",fill:"black"})]}),(0,ex.jsx)("g",{mask:"url(#".concat(t.current,")"),children:(0,ex.jsx)("path",{d:"M0 0H22V22H0V0Z",fill:"#252525"})}),(0,ex.jsx)("defs",{children:(0,ex.jsxs)("linearGradient",{id:a.current,x1:"13.2917",y1:"14.6666",x2:"17.4167",y2:"20.1666",gradientUnits:"userSpaceOnUse",children:[(0,ex.jsx)("stop",{stopOpacity:"0.6"}),(0,ex.jsx)("stop",{offset:"1",stopOpacity:"0.8"})]})})]})},e7=a(18734),te=a.n(e7),tt=a(8626),Portal=e=>{var{selector:t,children:a}=e,r=document.querySelector(t);return r?tt.createPortal(a,r):null},ta=a(54377),tr=a(36799),ti=a.n(tr);(n=P||(P={})).Absolute="absolute",n.Fixed="fixed",(o=G||(G={})).Light="light",o.Dark="dark";var tn={minDistanceToLeftOrRightEdge:8,minDistanceToTopEdge:8,tooltipVertical:15},to=a(54435),isTooltipPropsByRect=e=>"targetRect"in e;function Tooltip(e){var{children:t,className:a,sourceClassName:r,isArrowOnTop:i,theme:n=G.Light,position:o=P.Fixed,isVisible:s=!0,borderRadius:l=8,offsets:c,contentMaxWidth:d,onClick:u,onPointerDownOutside:m,onPointerUpOutside:_}=e,p=(0,ej.useRef)(null),g=(0,ej.useRef)(null),[h,f]=(0,ej.useState)(!1),[x,v]=(0,ej.useState)(0),[w,C]=(0,ej.useState)(!1),[b,j]=(0,ej.useState)((0,ta._)({},tn,c)),k=useWindowSize(),y=(0,eB.C5)(),{x:S,y:T}=isTooltipPropsByRect(e)?{x:e.targetRect.left+e.targetRect.width/2,y:e.targetRect.top}:{x:e.x,y:e.y};(0,ej.useEffect)(()=>{var isOutsideEvent=e=>{var t;return s&&h&&!(null===(t=p.current)||void 0===t?void 0:t.contains(e.target))},onPointerDown=e=>{isOutsideEvent(e)&&(null==m||m(e))},onPointerUp=e=>{isOutsideEvent(e)&&(null==_||_(e))};return y.document.addEventListener("pointerdown",onPointerDown),y.document.addEventListener("pointerup",onPointerUp),()=>{y.document.removeEventListener("pointerdown",onPointerDown),y.document.removeEventListener("pointerup",onPointerUp)}},[s,h,m,_,y.document]),(0,ej.useLayoutEffect)(()=>{var e=(0,ta._)({},tn,c);c&&!(0,to.BD)(e,b)&&j(e)},[c,b,k.width,h]),(0,ej.useLayoutEffect)(()=>{if(g.current){var e=g.current.getBoundingClientRect(),t=0,a=e.left,r=k.width-(e.left+e.width);a<b.minDistanceToLeftOrRightEdge?t=b.minDistanceToLeftOrRightEdge-a:r<b.minDistanceToLeftOrRightEdge&&(t=r-b.minDistanceToLeftOrRightEdge),C(e.top<b.minDistanceToTopEdge),v(t),f(Math.abs(t)<(e.width-2*l)/2)}},[l,b,k.width,S,T,s]);var N=i||w?"translate(calc(-50% + ".concat(x,"px), ").concat(b.tooltipVertical,"px)"):"translate(calc(-50% + ".concat(x,"px), calc(-100% - ").concat(b.tooltipVertical,"px))"),B=i?"translate(-50% , ".concat(b.tooltipVertical,"px)"):"translate(-50%, calc(-100% - ".concat(b.tooltipVertical,"px))"),I=null!=d?d:k.width-2*(b.minDistanceToLeftOrRightEdge||0);return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{ref:g,className:eD()(ti().tooltip,ti()[n],ti().fake,a),style:{maxWidth:I,position:o,left:S,top:T,transform:B},children:t}),(0,ex.jsx)("div",{ref:p,"data-debug":"isVisible = ".concat(s,", isVisibleLocal = ").concat(h),className:eD()(ti().source,r,{[ti().visible]:s&&h,[ti().arrowOnTop]:i||w}),style:{position:o,left:S,top:isTooltipPropsByRect(e)&&(i||w)?e.targetRect.top+e.targetRect.height:T},onClick:u,children:(0,ex.jsxs)("div",{className:eD()(ti().tooltip,ti()[n],a),style:{transform:N,maxWidth:I},children:[t,(0,ex.jsx)("svg",{className:eD()(ti().arrow,ti()[n]),style:i||w?{top:3,transform:"translate(calc(-50% - ".concat(x,"px), -100%) scaleY(-1)")}:{bottom:3,transform:"translate(calc(-50% - ".concat(x,"px), 100%)")},width:"21",height:"13",viewBox:"0 0 21 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{d:"M12.5479 11.2993L20.1398 2.75586C20.9995 1.78846 20.3127 0.259485 19.0186 0.259485L2.33967 0.259483C1.0455 0.259483 0.358758 1.78846 1.21841 2.75586L8.81034 11.2993C9.80485 12.4185 11.5534 12.4185 12.5479 11.2993Z",fill:"currentColor"})})]})})]})}var ts=a(28736),tl=a.n(ts),tc=a(96961),td=(0,eb.Pi)(e=>{var{dailyWord:t,onClickDetailsButton:a,onClickHideButton:r}=e,{Result:{thematicWordTooltip:{title:i,buttons:n}}}=(0,tc.r)("Modals"),o=(0,eB.Xu)();return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("p",{className:tl().title,children:i}),(0,ex.jsx)("p",{className:tl().description,children:null==t?void 0:t.description}),(0,ex.jsxs)("div",{className:tl().buttons,children:[(0,ex.jsx)("a",{className:eD()(tl().button,tl().details),onClick:()=>{var e;a(),t.link&&(null===(e=o.tryCreateLink(t.link))||void 0===e||e.click())},children:null==t?void 0:t.linkText}),(0,ex.jsx)("a",{onClick:r,className:eD()(tl().button,tl().close),children:n.close})]})]})});function useElementBoundingRect(e,t){var a=(0,eB.C5)(),[r,i]=(0,ej.useState)(null),n=(0,ej.useCallback)(()=>"string"==typeof e?a.document.querySelector(e):e.current,[e,a.document]);(0,ej.useLayoutEffect)(()=>{var e,trySearchElement=()=>{var t=n();if(!t){i(null),e=a.setTimeout(trySearchElement,100);return}i(t.getBoundingClientRect())};return trySearchElement(),()=>{e&&a.clearTimeout(e)}},[n,a]);var o=(0,ej.useCallback)(()=>{var e=n();e&&i(e.getBoundingClientRect())},[n]);return(0,ej.useEffect)(()=>(a.addEventListener("transitionend",o,!0),a.addEventListener("scroll",o,!0),(0,eL.C)(a,o,!0),()=>{a.removeEventListener("transitionend",o,!0),a.removeEventListener("scroll",o,!0),(0,eL.D)(a,o,!0)}),[o,a]),t?[r,o]:r}(s=A||(A={}))[s.EntranceIos=eU.Zo.Slow]="EntranceIos",s[s.EntranceAndroid=eU.Zo.Moderate]="EntranceAndroid",s[s.Exit=eU.Zo.Moderate]="Exit",s[s.Min=100]="Min";var ThematicWordTooltip=e=>{var{isVisible:t,elementSelector:a,elementContainerSelector:r,hide:i,dailyWord:n,onClickDetailsButton:o,onClickHideButton:s}=e,[l,c]=useElementBoundingRect(a,!0),d=useElementBoundingRect(r),u=(0,eB.bU)(),m=(0,ej.useRef)(null),_=(0,ej.useRef)(!0),[p,g]=(0,ej.useState)(null),h=(0,eB.C5)();return((0,ej.useEffect)(()=>{if(l){var clearTimer=()=>m.current&&h.clearTimeout(m.current);return _.current?(clearTimer(),m.current=h.setTimeout(()=>{g(t),_.current=!1},u.isIos()?A.EntranceIos:A.EntranceAndroid)):g(t),()=>{clearTimer()}}},[l,u,t]),(0,ej.useEffect)(()=>{t&&c()},[t,c]),l&&d)?(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(Tooltip,{className:te().tooltip,sourceClassName:te().tooltipSource,isVisible:null!=p&&p,targetRect:l,offsets:u.isTablet()?{minDistanceToLeftOrRightEdge:d.left}:void 0,isArrowOnTop:!1,theme:G.Dark,onPointerDownOutside:i,children:(0,ex.jsx)(td,{dailyWord:n,onClickDetailsButton:o,onClickHideButton:s})})}):null},tu=a(22552),ThematicWordTooltipContainer=e=>{var{isVisible:t,elementSelector:a,elementContainerSelector:r,hide:i}=e,n=(0,eB.rS)(),{dailyWord:o}=(0,eB.gT)();return o?(0,ex.jsx)(ThematicWordTooltip,{isVisible:t,elementSelector:a,elementContainerSelector:r,hide:i,dailyWord:o,onClickDetailsButton:()=>{null==i||i(),n.trackThematicWordAction(tu.C5.ClickDetails)},onClickHideButton:()=>{null==i||i(),n.trackThematicWordAction(tu.C5.ClickHideButton)}}):null};(l=H||(H={})).Modal="modal",l.Footer="footer";var CheckIcon=()=>{var e=(0,ej.useRef)(Math.random()),t=(0,ej.useRef)("mask_".concat(Date.now(),"_").concat(e.current)),a=(0,ej.useRef)("gradient_".concat(Date.now(),"_").concat(e.current));return(0,ex.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:t.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"2",width:"22",height:"17",children:[(0,ex.jsx)("path",{d:"M13.232 6.59304C15.3799 4.44515 18.8623 4.44515 21.0102 6.59304L9.34292 18.2603L5.45383 14.3712L13.232 6.59304Z",fill:"black"}),(0,ex.jsx)("path",{d:"M0.916016 9.83391C3.0639 7.68602 6.54631 7.68602 8.69419 9.83391L13.2315 14.3712L9.34237 18.2603L0.916016 9.83391Z",fill:"url(#".concat(a.current,")")})]}),(0,ex.jsx)("g",{mask:"url(#".concat(t.current,")"),children:(0,ex.jsx)("path",{d:"M0 0H22V22H0V0Z",fill:"#252525"})}),(0,ex.jsx)("defs",{children:(0,ex.jsxs)("linearGradient",{id:a.current,x1:"13.2315",y1:"14.3712",x2:"6.91268",y2:"18.6629",gradientUnits:"userSpaceOnUse",children:[(0,ex.jsx)("stop",{stopOpacity:"0.6"}),(0,ex.jsx)("stop",{offset:"1",stopOpacity:"0.4"})]})})]})},useVisibilityToggle=e=>{var[t,a]=(0,ej.useState)(e);return{isVisible:t,hide:(0,ej.useCallback)(()=>a(!1),[]),toggle:(0,ej.useCallback)(()=>a(e=>!e),[])}},tm=a(97840),t_=a.n(tm),TapAnimation=e=>{var{animationDurationMs:t=4500,animationIterationsCount:a=3,delayBetweenAnimationMs:r=1e3}=e,i=(0,eB.C5)(),[n,o]=(0,ej.useState)(!0),s=(0,ej.useRef)(null);return(0,ej.useEffect)(()=>{var startAnimation=()=>{s.current=i.setTimeout(()=>{o(!0),stopAnimation()},r)},stopAnimation=()=>{s.current=i.setTimeout(()=>{o(!1),startAnimation()},t)};return stopAnimation(),()=>{s.current&&i.clearTimeout(s.current)}},[t,r,i]),(0,ex.jsx)("div",{className:eD()(t_().root,{[t_().animated]:n}),style:{"--tap-animation-duration":"".concat(t/a,"ms")}})},AnswersGroup=e=>{var{context:t,className:a,items:r,withAnimation:i,isAnimated:n,isSliderMoving:o,isLightRender:s,withoutWord:l}=e,c=(0,eB.jf)(),d=(0,eB.gT)(),u=(0,eB.lH)(),m=(0,eB.rS)(),{isFinishedRightNow:_}=(0,eB.gT)(),{isVisible:p,hide:g,toggle:h}=useVisibilityToggle(_),f=t===H.Modal,x=r.filter(e=>e.isWon).length,v="".concat(100*x/(r.length-1),"%"),w=r.every(e=>e.isWon),C="".concat(eU.O.AnswerGroup,"_").concat(t);return((0,ej.useEffect)(()=>{o&&p&&g()},[g,o,p]),s)?(0,ex.jsx)(ex.Fragment,{}):(0,ex.jsxs)("div",{className:eD()(e8().root,a),id:C,children:[(0,ex.jsx)("div",{className:e8().progressWrapper,children:(0,ex.jsx)("div",{className:e8().progress,style:{width:v,maxWidth:i?"unset":"125%"}})}),r.map((e,a)=>{var i,o,{globalIndex:s,word:_,hasGift:x,isWon:v,isLoading:C}=e,b=s+1===u.totalCount,j=d.isThematicDailyWordActive&&b&&d.isWon,k=!p&&j&&f,y="AnswersHistoryItem_".concat(s,"_").concat(t),S=eD()(e8().round,{[e8().won]:v,[e8().animated]:w&&n});return(0,ex.jsxs)("div",{id:y,className:e8().item,children:[(0,ex.jsx)("div",{className:S,style:{animationDelay:v?"".concat(100*a,"ms"):"0ms"},onPointerDown:e=>j&&e.stopPropagation(),onClick:()=>{j&&f&&(p||m.trackThematicWordAction(tu.C5.OpenTooltip),h())},children:C?(0,ex.jsx)(e1.a,{}):(0,ex.jsxs)(ex.Fragment,{children:[k&&(0,ex.jsx)(TapAnimation,{}),(0,ex.jsx)("div",{className:e8().icon,children:(i=v?(0,ex.jsx)(CheckIcon,{}):"".concat(s+1),o=x&&c.isGiftsAvailable?(0,ex.jsx)(GiftIcon,{active:v}):i,j?(0,ex.jsx)(StarIcon,{}):o)})]})}),!l&&(0,ex.jsx)(ex.Fragment,{children:_&&!C?(0,ex.jsx)("p",{className:eD()(e8().word,{[e8().first]:0===a,[e8().last]:a==r.length-1}),children:_}):(0,ex.jsx)("div",{className:eD()(e8().wordPlaceholder,{[e8().animated]:v||C}),children:(0,ez.i7)(eN.l$).map((e,t)=>(0,ex.jsx)("div",{className:e8().dot,style:{animationDelay:"".concat(100*t,"ms")}},t))})}),j&&(0,ex.jsx)(ThematicWordTooltipContainer,{isVisible:j&&f&&p,elementSelector:"#".concat(y),elementContainerSelector:"#".concat(eU.O.ResultModal),hide:g})]},y)})]})},tp=a(30615),tg=a(99672),th=a(83925);(c=O||(O={}))[c.Idle=0]="Idle",c[c.MoveElementToHeader=1]="MoveElementToHeader",c[c.ShowNotification=2]="ShowNotification",c[c.Finish=3]="Finish";var useReceiveAnimation=e=>{var{HTMLElementId:t,onAnimationFinished:a}=e,r=(0,eB.gT)(),i=(0,eB.jf)(),[n,o]=(0,ej.useState)(0),[s,l]=(0,ej.useState)({opacity:0,pointerEvents:"none"}),c=(0,ej.useRef)([]);return(0,ej.useEffect)(()=>{var e=document.getElementById(t);if(e){var r=e.getBoundingClientRect();switch(n){case 1:l(e=>(0,th._)((0,ta._)({},e),{opacity:1,left:r.left,top:r.top})),c.current.push(window.setTimeout(()=>o(2),700));break;case 2:c.current.push(window.setTimeout(()=>{l(e=>(0,th._)((0,ta._)({},e),{pointerEvents:"unset"})),null==a||a(),o(3)},100))}}},[n,r,i]),(0,ej.useEffect)(()=>()=>{c.current.forEach(e=>window.clearTimeout(e))},[]),{hide:(0,ej.useCallback)(()=>{l(e=>(0,th._)((0,ta._)({},e),{opacity:0,pointerEvents:"unset"}))},[]),onClickReceive:e=>{if(0===n){var a=e.target,r=document.getElementById(t);if(r){var i=a.getBoundingClientRect(),s=r.getBoundingClientRect();l(e=>(0,th._)((0,ta._)({},e),{opacity:0,left:i.left+i.width/2-s.width/2,top:i.top+i.height/2-s.width/2})),c.current.push(window.setTimeout(()=>o(1),100))}}},htmlElementStyle:s}},hasLoadedWords=e=>e.some(e=>e.word),isNotActiveGroupNeighbour=(e,t)=>Math.abs(t-e)>1,tf=(0,eb.Pi)(e=>{var{isAnimated:t,className:a,context:r=H.Modal,withoutWords:i}=e,n=(0,eB.lH)(),o=(0,eB.rS)(),{isLoaded:s,isLoading:l,currentHistoryItemGroupsIndex:c,correctAnswerHistoryItemGroups:d,totalCount:u,loadNextCorrectAnswers:m}=n,_=(0,ej.useRef)(null),[p,g]=(0,ej.useState)(20),[h,f]=(0,ej.useState)(!1),[x,v]=(0,ej.useState)(c||0),w=(0,ej.useRef)(null),C=(0,ej.useRef)(null),b=(0,ej.useRef)(!1);return(0,ej.useEffect)(()=>{var e;s&&C.current&&null!==c&&(_.current=c,null===(e=C.current)||void 0===e||e.slideTo(c,b.current?600:0),b.current=!0)},[c,s]),(0,ej.useLayoutEffect)(()=>{if(w.current){var e=(w.current.clientWidth-48*tg.B)/(tg.B-1);e>0&&g(e)}},[]),(0,ej.useEffect)(()=>{h&&f(!1)},[h]),(0,ej.useEffect)(()=>{var e,t;l?null===(e=C.current)||void 0===e||e.disable():null===(t=C.current)||void 0===t||t.enable()},[l]),(0,ex.jsx)("div",{ref:w,className:eD()(e4().root,a,e4().visible,eU.hV),children:s?(0,ex.jsx)(e9.tq,{onSwiper:e=>C.current=e,onSliderFirstMove:()=>f(!0),spaceBetween:p,slidesPerView:1,onTransitionEnd:()=>{_.current&&C.current&&_.current!==C.current.activeIndex&&(o.trackSwipeProgress(),m(C.current.activeIndex))},onSlideChange:e=>v(e.activeIndex),children:d.map((e,a)=>{var n=e.every(e=>e.isWon);return(0,ex.jsx)(e9.o5,{children:(0,ex.jsx)("div",{className:e4().item,"data-group":a,children:(0,ex.jsx)(AnswersGroup,{items:e,context:r,isAnimated:(null===u?-1:Math.floor((u-1)/tg.B))===a&&n&&t,isSliderMoving:h,isLightRender:!hasLoadedWords(e)&&isNotActiveGroupNeighbour(x,a),withoutWord:i})})},"slide-".concat(a))})}):(0,ex.jsx)("div",{className:e4().item,children:(0,ex.jsx)(AnswersGroup,{items:(0,tp.R)(),context:r})})})}),tx=a(42006),tv=a.n(tx),useResultTitle=()=>{var{Result:{titles:e,thematicDayTitles:t}}=(0,tc.r)("Modals"),{isWon:a,isWonWithHelp:r,isThematicDailyWordActive:i,isFinished:n}=(0,eB.gT)(),{isGiftsAvailable:o}=(0,eB.jf)(),{hasGiftAtLastGame:s}=(0,eB.lH)(),l=(0,ej.useCallback)(()=>{var n=i?t:e;return r?n.winWithHelpTitle:a?o&&s?n.titleWithGifts:n.winTitle:n.loseTitle},[s,o,i,a,r,t,e]),[c,d]=(0,ej.useState)(()=>l());return(0,ej.useEffect)(()=>{n&&d(l)},[l,n]),c},tw=(0,eb.Pi)(e=>{var{isVisible:t,className:a}=e,r=(0,eB.T_)(),i=(0,eB.s9)(),n=(0,eB.lH)(),o=useResultTitle(),[s,l]=(0,ej.useState)(t),c=!n.isLoaded;return(0,ej.useEffect)(()=>{t&&l(!0)},[t]),(0,ex.jsx)("div",{className:eD()(tv().bottomProgressBarContainer,tv().animated,{[tv().visible]:t},a),children:(0,ex.jsx)("div",{"data-overlayed":r.isProgressOverlayed,"data-qa":eQ.BE.Game.BottomProgressBar.root,className:tv().bottomProgressBar,onClick:()=>{i.showResultModal()},children:c?(0,ex.jsx)(e1.a,{qaTag:eQ.BE.Game.BottomProgressBar.loader,className:tv().bottomBarLoader}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("p",{className:tv().bottomProgressBarTitle,children:o}),(0,ex.jsx)("div",{className:tv().historyContainer,children:s&&(0,ex.jsx)(tf,{context:H.Footer})})]})})})}),getProperty=(e,t)=>{var a=e.Mobile;return Object.keys(eU.RR).reverse().filter(e=>isNaN(Number(e))).some(r=>{var i=+eU.RR[r],n=e[r];if(t>=i&&n)return a=n,!0}),a},useAdaptiveProperty=e=>getProperty(e,useWindowSize().width);(d=W||(W={})).Primary="primary",d.Secondary="secondary",d.Dark="dark",d.DarkOnLight="dark-on-light",d.NeutralOnDark="neutral-on-dark",d.Flat="flat",d.FlatDark="flat-dark",d.Transparent="transparent",(u=V||(V={})).Large="large",u.Medium="medium",u.Small="small",u.ExtraSmall="extra-small";var tC=a(78117),tb=a.n(tC),tj=ej.forwardRef((e,t)=>{var{children:a,className:r,link:i,onClick:n,theme:o=W.Primary,size:s=V.Large,id:l,disabled:c,isLoading:d,qaTag:u,linkTarget:m,beforeContent:_}=e,p={className:eD()(tb().root,r,{[tb().disabled]:c,[tb().loading]:d}),onClick:n,"data-theme":o,"data-size":s,id:l,"data-qa":u};if(i){var g=(0,ta._)({target:"".concat(m||"_blank"),rel:"noreferrer"},p);return(0,ex.jsxs)("a",(0,th._)((0,ta._)({ref:t,href:i},g),{children:[_,d?(0,ex.jsx)(e1.a,{color:"black",className:tb().loader}):a]}))}return(0,ex.jsxs)("a",(0,th._)((0,ta._)({},p),{ref:t,children:[_,d?(0,ex.jsx)(e1.a,{color:"black",className:tb().loader}):a]}))});tj.displayName="Button";var tk=a(55323),ty=a.n(tk),tS=a(57154),tT=a.n(tS),tN=ej.forwardRef((e,t)=>{var{aspectRatio:a,id:r,className:i,style:n,children:o}=e;return(0,ex.jsx)("div",{ref:t,id:r,className:i,style:(0,ta._)({},n),children:(0,ex.jsx)("div",{className:tT().box,style:{"--aspect-ratio":a},children:(0,ex.jsx)("div",{className:tT().children,children:o})})})});tN.displayName="AspectRatioBlock";var tB=a(5e4);function addCDNUrlToSrcSet(e){return e.split(", ").map(e=>"".concat(tB.p.APP_STATIC_BASE_URL,"/").concat(e)).join(", ")}var tI=a(79424);function Image_Image(e){var{src:t,alt:a,onClick:r,onLoad:i,className:n,pictureClassName:o,sizes:s,width:l,height:c,imageRef:d,draggable:u=!1}=e,m={alt:a,onClick:r,sizes:s,width:l,height:c,onLoad:i,ref:d,decoding:"async",draggable:u};if(null!==t&&"object"==typeof t&&"avif"in t&&"webp"in t){var _,{avif:p,webp:g,png:h,jpg:f,jpeg:x}=t,v=h||f||x;return(0,ex.jsxs)("picture",{className:o,children:[(0,ex.jsx)("source",{srcSet:addCDNUrlToSrcSet(p),type:"image/avif"}),(0,ex.jsx)("source",{srcSet:addCDNUrlToSrcSet(g),type:"image/webp"}),(0,ex.jsx)("img",(0,th._)((0,ta._)({},m),{src:(_=v.split(", "),"".concat(tB.p.APP_STATIC_BASE_URL,"/").concat(_[_.length-1].split(" ")[0])),srcSet:addCDNUrlToSrcSet(v),className:n}))]})}if(t.startsWith("http")||t.startsWith("blob"))return(0,ex.jsx)("img",(0,th._)((0,ta._)({},m),{src:t,className:n}));if(/\.svg$/.test(t))try{var w=tI(t.startsWith(".")?t:".".concat(t)).default;return(0,ex.jsx)(w,{ref:d,className:n,onClick:r})}catch(e){eQ.BB||console.error(e)}return(0,ex.jsx)("img",(0,th._)((0,ta._)({},m),{src:"".concat(tB.p.APP_STATIC_BASE_URL,"/").concat(t),className:n}))}var tD=a(56971),tE=a.n(tD);(m=F||(F={})).Purple="purple",m.Gold="gold",(_=U||(U={})).Small="small",_.Large="large";var tM=ej.forwardRef((e,t)=>{var{id:a,className:r,theme:i=F.Purple,size:n=U.Small,style:o,withShadow:s}=e,{purple:l,gold:c,purpleSmall:d,goldSmall:u}=(0,tc.r)("EnergyImage"),m=n===U.Small?i===F.Purple?d:u:i===F.Purple?l:c;return(0,ex.jsxs)(tN,{ref:t,id:a,className:r,aspectRatio:1,style:o,children:[s&&(0,ex.jsx)(Image_Image,{src:m.shadow.src,alt:"",className:tE().shadow}),(0,ex.jsx)(Image_Image,{src:m.src,alt:"",className:tE().image})]})});tM.displayName="EnergyImage";var getTimePartsFromSeconds=e=>{var formatPart=e=>"".concat(e).padStart(2,"0");return{seconds:formatPart(e%60),minutes:formatPart(Math.floor(e/60)%60),hours:formatPart(Math.floor(e/60/60))}},tL=(0,eb.Pi)(e=>{var{onClick:t,className:a,buttonSize:r}=e,{title:i,nextWordTimerPrefix:n}=(0,tc.r)("AdditionalGameButton"),o=(0,eB.gT)(),s=(0,eB.gq)(),{nextDailyWordIn:l}=(0,eB.G3)(),c=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large}),[d,u]=(0,ej.useState)(o.isStartingAdditionalGame);(0,ej.useEffect)(()=>{o.isFinished&&u(!1),(o.shouldStartingAdditionalGame||o.isStartingAdditionalGame)&&u(!0)},[o.isFinished,o.shouldStartingAdditionalGame,o.isStartingAdditionalGame]);var{hours:m,minutes:_,seconds:p}=getTimePartsFromSeconds(null!=l?l:0);if(!s.energyState||!s.isEnoughEnergyToStartAdditionalGame){var g=void 0===l;return(0,ex.jsxs)(tj,{className:eD()(ty().root,a),theme:W.Dark,size:null!=r?r:c,disabled:!0,isLoading:g,children:[n,(0,ex.jsx)("span",{className:ty().digit,children:m}),":",(0,ex.jsx)("span",{className:ty().digit,children:_}),":",(0,ex.jsx)("span",{className:ty().digit,children:p})]})}return(0,ex.jsxs)(tj,{className:eD()(ty().root,a),size:null!=r?r:c,isLoading:d,onClick:t,children:["".concat(i).concat(s.energyState.costForAdditionalGame),(0,ex.jsx)(tM,{className:ty().image})]})}),tR=a(79963),tP=a.n(tR),tG=(0,eb.Pi)(e=>{var{isVisible:t,className:a,hideDurationMs:r}=e,i=(0,eB.T_)(),n=(0,eB.s9)(),o=(0,eB.gT)(),s=(0,eB.lH)(),l=(0,eB.$S)(),c=(0,eB.rS)(),d=useResultTitle(),[u,m]=(0,ej.useState)(t),_=!s.isLoaded;return(0,ej.useEffect)(()=>{t&&m(!0)},[t]),(0,ex.jsx)("div",{className:eD()(tP().bottomProgressBarContainer,tP().animated,{[tP().visible]:t},a),style:{"--hide-duration":"".concat(r,"ms")},children:(0,ex.jsx)("div",{"data-qa":eQ.BE.Game.BottomProgressBar.root,"data-overlayed":i.isProgressOverlayed,className:tP().bottomProgressBar,onClick:()=>{o.isStartingAdditionalGame||n.showResultModal()},children:_?(0,ex.jsx)(e1.a,{qaTag:eQ.BE.Game.BottomProgressBar.loader,className:tP().bottomBarLoader}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsxs)("div",{className:tP().content,children:[(0,ex.jsx)("p",{className:tP().bottomProgressBarTitle,children:d}),(0,ex.jsx)("div",{className:tP().historyContainer,children:u&&(0,ex.jsx)(tf,{context:H.Footer,withoutWords:!0})})]}),(0,ex.jsx)(tL,{className:tP().additionalGameButton,onClick:e=>{e.stopPropagation(),l.startAdditionalGame(),c.trackStartAdditionalGameButtonClick()}})]})})})}),useIsBottomBarVisible=()=>{var e=(0,eB.gT)(),[t,a]=(0,ej.useState)(!1);return(0,ej.useEffect)(()=>{e.isFinishedRightNow&&a(e.shouldStartingAdditionalGame)},[e.isFinishedRightNow,e.shouldStartingAdditionalGame]),(0,ej.useEffect)(()=>{e.isFailedToStartAdditionalGame&&a(!1)},[e.isFailedToStartAdditionalGame]),e.isFinished&&!e.isFinishedRightNow&&!t},tA=(0,eb.Pi)(()=>{var e=(0,eB.gT)();(0,eB.Ac)();var t=(0,eB.Q3)(),a=(0,eB.ae)(),{showModalAfterGameFinish:r}=(0,eB.th)(),i=(0,eB.T_)(),n=(0,eB.bW)();(0,eB.Nj)();var o=useIsBottomBarVisible(),s=(0,ej.useCallback)(()=>{e.isWonWithHelp||r()},[e.isWonWithHelp,r]);(0,ej.useEffect)(()=>{e.isFinishedRightNow&&!e.isWon&&s()},[s,e.isFinishedRightNow,e.isWon]);var l=useLastNotEmptyRow((0,e3.ZN)(e.fieldWords),eN.l$),c=n.isAdditionalGamesSessionEnabled?getTileFlipBackAnimationDelayMs(0,l,0)+200:void 0;return(0,ex.jsxs)(Game,{columnCount:eN.l$,rowCount:eN.Do,fieldWords:(0,e3.ZN)(e.fieldWords),letterEvaluations:(0,e3.ZN)(e.letterEvaluations),lettersEvaluationsMap:(0,e3.ZN)(e.lettersEvaluationsMap),currentRowIndex:e.currentRowIndex,currentRowStatus:e.currentRowStatus,onFinishRowAnimation:e.clearCurrentRowStatus,onKeyPress:e.addLetter,onBackspacePress:e.removeLastLetter,onEnterPress:t.submitCurrentRow,shouldClearCurrentRow:e.shouldClearCurrentRow,canSubmit:e.canSubmit,canClear:e.canClear,isSubmittingWord:e.isSubmittingWord||e.isStartingAdditionalGame,isFieldTotallyOverlayed:i.isTilesOverlayed,fieldOverlayedTiles:i.overlayedTiles,isKeyboardTotallyOverlayed:i.isKeyboardOverlayed,keyboardOverlayedKeys:i.overlayedKeyboardKeys,keyboardAccentKey:a.keyboardAccentKey,keyboardContainerClassName:eD()(eT().keyboardContainer,{[eT().visible]:!o}),keyboardContainerStyle:{"--show-keyboard-duration":"".concat(c,"ms")},isQAKeyboardModeEnabled:n.isQAGameKeyboardEnabled,isTilesFlipBackAnimationEnabled:n.isAdditionalGamesSessionEnabled,children:[n.isAdditionalGamesSessionEnabled?(0,ex.jsx)(tG,{isVisible:o,hideDurationMs:c}):(0,ex.jsx)(tw,{isVisible:o}),(0,ex.jsx)(ConfettiOverlay,{isVisible:e.isWonRightNow,onClose:s})]})}),tH=a(99124),tO=a.n(tH),SimpleGiftIcon=()=>{var e=(0,ej.useRef)("mask_".concat(Date.now()));return(0,ex.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:e.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"20",height:"20",children:[(0,ex.jsx)("path",{d:"M2 7V11H22V7H2Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.7",fillRule:"evenodd",clipRule:"evenodd",d:"M7.09091 2H6V4C6 5.65685 7.34315 7 9 7H12H15C16.6569 7 18 5.65685 18 4V2H15C13.3431 2 12 3.34315 12 5C12 3.34315 10.6569 2 9 2H7.09091Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.8",fillRule:"evenodd",clipRule:"evenodd",d:"M10 11H3V22H10V11ZM14 11V19C14 20.6569 12.6569 22 11 22H17C19.2091 22 21 20.2091 21 18V11H14Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.3",d:"M14 11H10V22H11C12.6569 22 14 20.6569 14 19V11Z",fill:"black"})]}),(0,ex.jsx)("g",{mask:"url(#".concat(e.current,")"),children:(0,ex.jsx)("path",{d:"M0 0H24V24H0V0Z",fill:"currentColor"})})]})},tW=a(2575),tV=a.n(tW),tF=a(5688),tU=a.n(tF),AccentDot=e=>{var{className:t}=e;return(0,ex.jsx)("div",{className:eD()(tU().root,t)})},HeaderButton=e=>{var{onClick:t,hasDotIndicator:a,id:r,className:i,style:n,isOverlayed:o,qaTag:s,children:l}=e;return(0,ex.jsxs)("button",{"data-qa":s,id:r,"data-overlayed":o,className:eD()(tV().root,i),style:n,onClick:t,children:[l,a&&(0,ex.jsx)(AccentDot,{className:tV().accentDot})]})},GiftButton=e=>(0,ex.jsx)(HeaderButton,(0,th._)((0,ta._)({},e),{children:(0,ex.jsx)(SimpleGiftIcon,{})})),tZ=a(94077),DrawIcon=()=>{var e=(0,ej.useRef)(Math.random()),t=(0,ej.useRef)("mask_".concat(Date.now(),"_").concat(e.current));return(0,ex.jsxs)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:t.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"22",height:"23",children:[(0,ex.jsx)("path",{opacity:"0.3",d:"M19.0711 19.571C17.2614 21.3806 14.7614 22.4999 12 22.4999V13.9999C12.4142 13.9999 12.7892 13.832 13.0607 13.5605L19.0711 19.571Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.8",d:"M11.9997 22.4999C11.9997 22.4999 11.9998 22.4999 11.9997 22.4999C9.23833 22.4999 6.73835 21.3806 4.92871 19.571L10.9392 13.5605C11.2106 13.832 11.5856 13.9999 11.9998 13.9999L11.9997 22.4999Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.3",d:"M22 12.4998C22 9.73837 20.8807 7.23836 19.071 5.42871L13.0605 11.4392C13.332 11.7106 13.4999 12.0856 13.4999 12.4998H22Z",fill:"black"}),(0,ex.jsx)("path",{d:"M22 12.5H13.4999C13.4999 12.9142 13.332 13.2892 13.0605 13.5607L19.071 19.5711C20.8807 17.7615 22 15.2615 22 12.5Z",fill:"black"}),(0,ex.jsx)("path",{d:"M2 12.5H10.5C10.5 12.0858 10.6679 11.7108 10.9393 11.4394L4.92894 5.42896C3.1193 7.2386 2.00001 9.73859 2 12.5Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.3",d:"M4.92893 19.5711L10.9393 13.5607C10.6679 13.2892 10.5 12.9142 10.5 12.5H2C2 15.2614 3.11929 17.7614 4.92893 19.5711Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.3",d:"M4.92871 5.42888L10.9392 11.4393C11.2106 11.1679 11.5856 11 11.9998 11V2.5C11.9998 2.5 11.9999 2.5 11.9998 2.5C9.23843 2.5 6.73835 3.61927 4.92871 5.42888Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.8",d:"M19.0711 5.42893L13.0607 11.4393C12.7892 11.1679 12.4142 11 12 11V2.5C14.7614 2.5 17.2614 3.61929 19.0711 5.42893Z",fill:"black"}),(0,ex.jsx)("path",{opacity:"0.8",d:"M22.5 12.5C22.5 15.3996 21.3253 18.0239 19.4246 19.9246C17.5239 21.8253 14.8996 23 12 23C9.09987 23 6.47515 21.8249 4.5744 19.9236C2.6743 18.023 1.5 15.3991 1.5 12.5C1.5 9.59919 2.67566 6.97393 4.57769 5.07307C6.47818 3.17375 9.10154 2 12 2C14.8989 2 17.5226 3.1741 19.4232 5.07391C21.3247 6.9747 22.5 9.59962 22.5 12.5Z",stroke:"black"})]}),(0,ex.jsx)("g",{mask:"url(#".concat(t.current,")"),children:(0,ex.jsx)("path",{d:"M0 0.5H24V24.5H0V0.5Z",fill:"white"})})]})},DrawButton=e=>(0,ex.jsx)(HeaderButton,(0,th._)((0,ta._)({},e),{children:(0,ex.jsx)(DrawIcon,{})})),tq=a(14125),tz=a.n(tq),ProjectLogo=e=>{var{className:t,logoImageClassName:a,isOverlayed:r,children:i}=e,{imageSrc:n,imageAlt:o}=(0,tc.r)("ProjectLogo");return(0,ex.jsxs)("div",{className:eD()(tz().root,t),"data-overlayed":r,children:[(0,ex.jsx)(Image_Image,{src:n,alt:o,className:eD()(tz().logoImage,a)}),i]})},tK=a(89310),tY=a.n(tK),SpecialLogo=e=>{var{imageSrc:t,imageAlt:a,lightBulbsPercentCoords:r}=(0,tc.r)("SpecialLogo");return(0,ex.jsxs)(ProjectLogo,(0,th._)((0,ta._)({},e),{className:eD()(e.className,tY().root),logoImageClassName:tY().logoImage,children:[(0,ex.jsx)("div",{className:tY().shadows,children:r.map(e=>{var{x:t,y:a}=e;return(0,ex.jsx)("div",{className:tY().shadow,style:{left:"".concat(t,"%"),top:"".concat(a,"%")}},"".concat(t,"-").concat(a))})}),(0,ex.jsx)(Image_Image,{src:t,alt:a,className:tY().lightsImage}),(0,ex.jsx)("div",{className:tY().lights,children:r.map(e=>{var{x:t,y:a}=e;return(0,ex.jsx)("div",{className:tY().light,style:{left:"".concat(t,"%"),top:"".concat(a,"%")}},"".concat(t,"-").concat(a))})})]}))},tX=(0,eb.Pi)(e=>{var{isSpecialLogoEnabled:t}=(0,eB.bW)(),a=t?SpecialLogo:ProjectLogo;return(0,ex.jsx)(a,(0,ta._)({},e))}),GiftButtonTooltip=e=>{var{isVisible:t,hide:a}=e,{giftButtonTooltip:r}=(0,tc.r)("Tooltips"),i=useElementBoundingRect("#".concat(eU.O.GiftButton)),n=(0,eB.rS)();return((0,ej.useEffect)(()=>{t&&n.trackShowGiftButtonTooltip()},[t,n]),i)?(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(Tooltip,{isVisible:t,isArrowOnTop:!0,x:i.left+i.width/2,y:i.bottom,position:P.Fixed,onClick:a,onPointerUpOutside:a,children:r.text})}):null},LightInfoIcon=()=>(0,ex.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("mask",{id:"mask0_2739_86459",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"23",height:"22",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.41666 12C1.41666 5.92487 6.34152 1 12.4167 1C18.4918 1 23.4167 5.92487 23.4167 12C23.4167 18.0751 18.4918 23 12.4167 23C6.34152 23 1.41666 18.0751 1.41666 12ZM10.9167 6.62817C10.9167 7.31853 11.4763 7.87817 12.1667 7.87817H13.6917V6.62817C13.6917 5.93782 13.132 5.37817 12.4417 5.37817H10.9167V6.62817ZM14.4167 15.4353H13.6667V10.5406C13.6667 9.98828 13.2189 9.37817 12.6667 9.37817H9.66666V10.5406C9.66666 11.0928 10.1144 11.6214 10.6667 11.6214H11.1667V15.4353L9.41666 15.4353V16.5C9.41666 17.0523 10.1144 17.5 10.6667 17.5H15.4167V16.5C15.4167 15.9477 14.9689 15.4353 14.4167 15.4353Z",fill:"url(#paint0_linear_2739_86459)"})}),(0,ex.jsx)("g",{mask:"url(#mask0_2739_86459)",children:(0,ex.jsx)("path",{d:"M0.416656 0H24.4167V24H0.416656V0Z",fill:"currentColor"})}),(0,ex.jsx)("defs",{children:(0,ex.jsxs)("linearGradient",{id:"paint0_linear_2739_86459",x1:"5.41666",y1:"5",x2:"19.4167",y2:"19",gradientUnits:"userSpaceOnUse",children:[(0,ex.jsx)("stop",{stopOpacity:"0.95"}),(0,ex.jsx)("stop",{offset:"1",stopOpacity:"0.65"})]})})]}),InfoButton=e=>(0,ex.jsx)(HeaderButton,(0,th._)((0,ta._)({},e),{children:(0,ex.jsx)(LightInfoIcon,{})})),DevToolsButton=e=>(0,ex.jsx)(HeaderButton,(0,th._)((0,ta._)({},e),{children:(0,ex.jsx)(Image_Image,{src:"/icons/tools_icon.svg",alt:""})})),tQ=a(43545),tJ=a.n(tQ),usePrevious=e=>{var t=(0,ej.useRef)();return(0,ej.useEffect)(()=>{t.current=e},[e]),t.current},getEnergyChangeDurationMs=(e,t)=>t?Math.min(350*e,1250):1e3;(p=Z||(Z={})).ToTop="to-top",p.ToBottom="to-bottom";var t$=Number.MAX_SAFE_INTEGER.toString().length,createNumbersArray=e=>{for(var t=e.toString().split("").map(e=>parseInt(e)),a=0;t.length<t$;a++)t.unshift(0);return t},getNextDigit=e=>9===e?0:e+1,getPreviousDigit=e=>0===e?9:e-1,getNextSequenceDigit=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?getNextDigit(e):getPreviousDigit(e)},getDistanceBetweenDigits=function(e,t){var a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=0,i=e;do i=getNextSequenceDigit(i,a),r++;while(i!==t);return r},getSequenceDigits=function(e,t){var a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=[e],i=e;do r.push(i=getNextSequenceDigit(i,a));while(i!==t);return r},checkIsDigitVisible=(e,t,a)=>e>=t-a,t0=a(32010),t1=a.n(t0),t2=a(4238),t3=a.n(t2),AnimatedDigitV2=e=>{var{digit:t,durationMS:a,animationDirection:r,isVisible:i,onTransitionEnd:n}=e,o=(0,ej.useRef)(null),s=(0,ej.useRef)(null),[l,c]=(0,ej.useState)({currentDigit:t,digits:[t]});return(0,ej.useLayoutEffect)(()=>{if(o.current&&(null===(e=o.current)||void 0===e||e.style.setProperty("--line-height","".concat(o.current.clientHeight,"px")),l.currentDigit!==t)){var e,i=r===Z.ToTop,n=getSequenceDigits(l.currentDigit,t,i),s=o.current.clientHeight,d=i?-1:1;c({currentDigit:t,digits:i?n:n.reverse(),style:{top:i?"0":"unset",bottom:i?"unset":"0",transitionDuration:"".concat(a,"ms"),transform:"translateY(".concat(d*s*(n.length-1),"px) translateZ(0)")}})}},[t,r,a,l]),(0,ex.jsxs)("span",{ref:o,"data-qa":i?eQ.BE.AnimatedCounter.AnimatedDigit.root:void 0,className:eD()(t3().root,{[t3().visible]:i}),style:{transitionDuration:"".concat(a,"ms")},children:[(0,ex.jsx)("span",{className:eD()(t3().digit,t3().invisible),children:"0"}),1===l.digits.length?(0,ex.jsx)("span",{className:eD()(t3().digit,t3().absolute),children:l.currentDigit}):(0,ex.jsx)("span",{ref:s,className:t3().digits,onTransitionEnd:e=>{e.target===s.current&&(c({currentDigit:t,digits:[t]}),null==n||n())},style:l.style,children:l.digits.map((e,t)=>(0,ex.jsx)("span",{className:t3().digit,children:e},"".concat(e,"-").concat(t)))})]})},t5=a(99785),t4=a.n(t5),AnimatedDigit=e=>{var{digit:t,durationMS:a,animationDirection:r,isVisible:i}=e,n=(0,ej.useRef)(null),o=(0,ej.useRef)(null),s=(0,ej.useRef)(null),l=(0,ej.useRef)({value:t,finishValue:t,animationClassName:t4().topAnimation,isForward:r===Z.ToTop,isAnimating:!1});(0,ej.useEffect)(()=>{o.current&&(o.current.innerText=l.current.value.toString())},[]),(0,ej.useEffect)(()=>{var e,i=l.current;i.finishValue=t,i.isForward=r===Z.ToTop;var o=getDistanceBetweenDigits(i.value,i.finishValue,i.isForward);null===(e=n.current)||void 0===e||e.style.setProperty("--animation-duration","".concat(a/o,"ms"))},[r,t,a]);var c=(0,ej.useCallback)(()=>{var{current:e}=l;o.current&&s.current&&!e.isAnimating&&e.value!==e.finishValue&&(e.isForward?e.animationClassName=e.animationClassName===t4().topAnimation?t4().topAnimationRestart:t4().topAnimation:e.animationClassName=e.animationClassName===t4().bottomAnimation?t4().bottomAnimationRestart:t4().bottomAnimation,e.isAnimating=!0,o.current.classList.add(e.animationClassName),s.current.classList.add(e.animationClassName),e.value=getNextSequenceDigit(e.value,e.isForward),s.current.innerText=e.value.toString(),s.current.style.top=e.isForward?"100%":"-100%")},[]);return(0,ej.useEffect)(()=>{c()},[t,c]),(0,ex.jsxs)("span",{ref:n,"data-qa":i?eQ.BE.AnimatedCounter.AnimatedDigit.root:void 0,className:eD()(t4().root,{[t4().visible]:i}),style:{transitionDuration:"".concat(a,"ms")},children:[(0,ex.jsx)("span",{className:eD()(t4().digit,t4().invisible),children:"0"}),(0,ex.jsx)("span",{"data-qa":i?eQ.BE.AnimatedCounter.AnimatedDigit.value:void 0,ref:o,className:eD()(t4().digit,t4().absolute)}),(0,ex.jsx)("span",{ref:s,className:eD()(t4().digit,t4().absolute),onAnimationEnd:e=>{if(o.current&&s.current){var t=e.target.innerText,a=+t,{current:r}=l;o.current.innerText=t,r.value=a,o.current.classList.remove(r.animationClassName),s.current.classList.remove(r.animationClassName),s.current.innerText=getNextSequenceDigit(a,r.isForward).toString(),r.isAnimating=!1,c()}}})]})},AnimatedCounter=e=>{var{number:t,className:a,delayMS:r=0,durationMS:i=400,isDigitsV2Enabled:n}=e,[o,s]=(0,ej.useState)(t),[l,c]=(0,ej.useState)(i),d=(0,ej.useRef)(o),u=(0,ej.useRef)(Z.ToBottom),m=Math.floor(Number(o)),_=createNumbersArray(Number.isInteger(m)?m:0),p=(0,eG.vO)(o),g=createNumbersArray(Number(p)).reverse(),h=(0,eB.C5)(),f=(0,ej.useRef)(null);(0,ej.useEffect)(()=>{d.current=o},[o]),(0,ej.useEffect)(()=>(f.current&&h.clearTimeout(f.current),f.current=h.setTimeout(()=>{s(t),c(i)},r),()=>{f.current&&h.clearTimeout(f.current)}),[t,h]);var getAnimationDirection=()=>(d.current>t?u.current=Z.ToBottom:d.current<t&&(u.current=Z.ToTop),u.current),renderAnimatedDigit=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:checkIsDigitVisible(t,_.length,m.toString().length),r=n?AnimatedDigitV2:AnimatedDigit;return(0,ex.jsx)(r,{durationMS:l,animationDirection:getAnimationDirection(),digit:e,isVisible:a},t)};return(0,ex.jsxs)("span",{"data-qa":eQ.BE.AnimatedCounter.root,"data-value":t,className:eD()(t1().root,a),children:[_.map((e,t)=>renderAnimatedDigit(e,t)),(()=>{if(!p)return null;var e=!1,t=g.reverse().map((t,a)=>{var r=Number(p)>0&&checkIsDigitVisible(a,g.length,p.length);return e=e||r,renderAnimatedDigit(Number(t),a,r)});return(0,ex.jsxs)("span",{className:t1().fractionalPart,children:[(0,ex.jsx)("span",{"data-qa":eQ.BE.AnimatedCounter.separator,className:eD()(t1().separator,{[t1().visible]:e}),style:{transitionDuration:"".concat(l,"ms")},children:"."}),t]})})()]})},AnimatedCounterV2=e=>{var{number:t,fractionalPartLength:a,className:r,delayMS:i=0,durationMS:n=400}=e,[o,s]=(0,ej.useState)(t),[l,c]=(0,ej.useState)(n),d=(0,ej.useRef)(o),u=(0,ej.useRef)(null),m=(0,ej.useRef)(Z.ToBottom),_=Math.floor(Number(o)),p=createNumbersArray(Number.isInteger(_)?_:0),g=(0,eG.vO)(o,a),h=createNumbersArray(Number(g)),f=(0,eB.C5)(),x=(0,ej.useRef)(null),v=(0,ej.useRef)(!1),w=(0,ej.useCallback)(e=>{d.current>e?m.current=Z.ToBottom:d.current<e&&(m.current=Z.ToTop)},[]);(0,ej.useEffect)(()=>{d.current=o},[o]),(0,ej.useEffect)(()=>(x.current&&f.clearTimeout(x.current),x.current=f.setTimeout(()=>{if(v.current){u.current=t;return}v.current=+d.current!=+t,w(t),s(t),c(n)},i),()=>{x.current&&f.clearTimeout(x.current)}),[t,f]);var renderAnimatedDigit=(e,t,a)=>(0,ex.jsx)(AnimatedDigitV2,{durationMS:l,animationDirection:m.current,digit:e,isVisible:a,onTransitionEnd:()=>{v.current=!1,u.current&&d.current!==u.current&&(w(u.current),s(u.current),c(n),d.current=u.current,u.current=null)}},t);return(0,ex.jsxs)("span",{"data-qa":eQ.BE.AnimatedCounter.root,"data-value":t,className:eD()(t1().root,r),children:[p.map((e,t)=>renderAnimatedDigit(e,t,checkIsDigitVisible(t,p.length,_.toString().length))),(()=>{if(!g)return null;var e=!1,t=h.findLastIndex(e=>0!==e),a=h.map((a,r)=>{var i=Number(g)>0&&r<=t&&checkIsDigitVisible(r,h.length,g.length);return e=e||i,renderAnimatedDigit(Number(a),r,i)});return(0,ex.jsxs)("span",{className:t1().fractionalPart,children:[(0,ex.jsx)("span",{"data-qa":eQ.BE.AnimatedCounter.separator,className:eD()(t1().separator,{[t1().visible]:e}),style:{transitionDuration:"".concat(l,"ms")},children:"."}),a]})})()]})},AnimatedCounterResolver=e=>{var{isAnimatedCounterV2Enabled:t}=(0,eB.bW)();return t?(0,ex.jsx)(AnimatedCounterV2,(0,ta._)({},e)):(0,ex.jsx)(AnimatedCounter,(0,ta._)({},e))},t9=(0,eb.Pi)(e=>{var{energyCount:t,isChargingEnergy:a}=(0,eB.gq)(),{isAvailableEnergyOnboarding:r,isCompleted:i}=(0,eB.Md)(),n=usePrevious(t);if(!r)return null;var o=i||a||t>0,s=void 0!==n?Math.abs(n-t):0,l=getEnergyChangeDurationMs(s,a),c=a?l+l/s:0;return(0,ex.jsxs)(HeaderButton,(0,th._)((0,ta._)({},e),{className:eD()(tJ().root,{[tJ().visible]:o},e.className),children:[(0,ex.jsx)("div",{id:eU.O.EnergyButtonIcon,className:tJ().energyIcon,children:(0,ex.jsx)(Image_Image,{src:"/icons/energy.svg",alt:"",className:tJ().energyIcon})}),(0,ex.jsx)("div",{className:tJ().countWrapper,children:(0,ex.jsx)(AnimatedCounterResolver,{number:t,className:tJ().count,delayMS:c,durationMS:l})})]}))}),t6=(0,eb.Pi)(e=>{var{className:t}=e,{isDevToolsEnabled:a,resetGiftStore:r}=(0,eB.Nj)(),i=(0,eB.s9)(),n=(0,eB.LM)(),o=(0,eB.OY)(),s=(0,eB.Ck)(),l=(0,eB.KT)(),c=(0,eB.jf)(),d=(0,eB.T_)(),u=(0,eB.nw)(),m=(0,eB.uH)(),{energyCount:_}=(0,eB.gq)(),p=(0,eB.ZR)(),{showEnergyBalanceModal:g}=(0,eB.kK)(),h=(0,eB.rS)(),f=eQ.BE.Header,x=c.isVisibleGiftsIndicator||s.isVisibleGiftsIndicator||l.isVisibleGiftsIndicator,v=u.isDrawAnnouncement||u.isDrawEnabled;return(0,ex.jsxs)("div",{className:eD()(tO().root,t),children:[(0,ex.jsx)(tX,{isOverlayed:d.isLogoOverlayed}),(0,ex.jsxs)("div",{className:tO().buttons,children:[!p.isProd&&(0,ex.jsx)(DevToolsButton,{qaTag:f.devToolsButton,className:tO().button,onClick:i.showDevToolsModal}),(0,ex.jsx)(t9,{qaTag:f.energyButton,className:tO().button,isOverlayed:d.isEnergyButtonOverlayed,onClick:()=>{h.trackEnergyButtonClick(_),g()}}),u.canParticipateInDraw&&v&&(0,ex.jsx)(DrawButton,{qaTag:f.drawButton,id:eU.O.DrawButton,className:tO().button,isOverlayed:d.isDrawButtonOverlayed,onClick:()=>{h.trackClickDrawIcon(u.drawStatus),i.showDrawModal()},hasDotIndicator:u.isVisibleDrawIndicator}),!n.isJunior&&!n.isTempBanned&&!n.isGameLocked&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(GiftButton,{qaTag:f.giftButton,id:eU.O.GiftButton,isOverlayed:d.isGiftButtonOverlayed,className:tO().button,onClick:()=>{a&&r(),i.showGiftsModal()},hasDotIndicator:x&&!m.isVisibleGiftButtonTooltip}),(0,ex.jsx)(GiftButtonTooltip,{isVisible:m.isVisibleGiftButtonTooltip,hide:m.hide})]}),!n.isGameLocked&&(0,ex.jsx)(InfoButton,{qaTag:f.infoButton,isOverlayed:d.isInfoButtonOverlayed,className:tO().button,onClick:()=>{i.replaceModal(tZ.Z.GameInfo)},hasDotIndicator:o.isVisibleGameInfoIndicator})]})]})}),t8=a(79021),t7=a.n(t8),Container=e=>{var{children:t,className:a,role:r,onClick:i,onTransitionEnd:n,qaTag:o,style:s}=e;return(0,ex.jsx)("div",{"data-qa":o,className:eD()(t7().container,a),role:r||void 0,onClick:i,onTransitionEnd:n,style:s,children:t})},ae=a(12821),at=a.n(ae),useGameFieldCellBoundingRect=(e,t)=>useElementBoundingRect('[data-row="'.concat(e,'"][data-column="').concat(t,'"]')),TileTooltip=e=>{var{position:t,tooltipId:a,isVisible:r}=e,i=(0,tc.r)("Tooltips"),n=useGameFieldCellBoundingRect(t.row,t.column);if(!(a in i))return null;var o=i[a];return(0,ex.jsx)(ex.Fragment,{children:n&&(0,ex.jsxs)(Tooltip,{className:at().root,isVisible:r,x:n.left+n.width/2,y:n.bottom,isArrowOnTop:!0,children:[o.text,o.emoji&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("br",{}),(0,ex.jsx)("span",{className:at().emoji,children:o.emoji})]})]})})},capitalizeFirstLetter=e=>e?e.charAt(0).toUpperCase()+e.slice(1):"",aa=a(95714),ar=a(83969),useUpdateTileTooltipsByCurrentRowStatus=()=>{var e=(0,eB.gT)(),t=(0,eB.fz)(),a=(0,ej.useRef)(e.currentRowStatus);(0,ej.useEffect)(()=>{null===e.currentRowStatus&&(a.current===aa.mJ.NotInWordList?t.showTooltip({row:e.currentRowIndex,column:0},ar.E.RowNotInWordList):a.current===aa.mJ.IsDuplicate&&t.showTooltip({row:e.currentRowIndex,column:0},ar.E.RowIsDuplicate)),a.current=e.currentRowStatus},[e.currentRowStatus])},ai=(0,eb.Pi)(e=>{var{isVisible:t=!0}=e,a=(0,eB.gT)(),r=(0,eB.fz)(),{currentModal:i}=(0,eB.s9)(),n=(0,eB.rS)(),o=(0,eB.C5)(),s=(0,ej.useRef)(!0),l=(0,tc.r)("Tooltips");return useUpdateTileTooltipsByCurrentRowStatus(),(0,ej.useEffect)(()=>{var e;return i?s.current=!1:e=o.setTimeout(()=>{s.current=!0}),()=>{e&&o.clearTimeout(e)}},[o,i]),(0,ej.useEffect)(()=>{var onClickField=e=>{if(s.current){var t,a=null===(t=e.target.parentElement)||void 0===t?void 0:t.dataset;if(!a){r.hideAllTooltips();return}var i=a.row,n=a.column,o=a.evaluation,c="tile".concat(capitalizeFirstLetter(o));if(!i||!n||!o||!(c in l)){r.hideAllTooltips();return}r.toggleTooltip({row:+i,column:+n},c)}};return o.document.addEventListener("click",onClickField),()=>{o.document.removeEventListener("click",onClickField)}},[a.letterEvaluations,r,l,n,o.document]),(0,ex.jsx)(ex.Fragment,{children:r.tileTooltipInfos.map(e=>{var{position:a,tooltipId:r,isVisible:n}=e;return(0,ex.jsx)(TileTooltip,{isVisible:n&&t&&!i,position:a,tooltipId:r},"".concat(a.row,"-").concat(a.column,"-").concat(r))})})}),an=a(15424);(g=q||(q={})).Left="left",g.Center="center",g.Right="right";var ao=a(93322),as=a.n(ao),useDiscardOverlayAnimation=e=>{var t=usePrevious(e);(0,ej.useLayoutEffect)(()=>{e&&document.documentElement.style.setProperty("--duration-moderate","0"),!e&&t&&document.documentElement.style.removeProperty("--duration-moderate")},[e,t])},al=a(83636),usePreventPullToRefreshAndGameSwipeClose=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,ej.useEffect)(()=>{if(document.body.style.paddingTop="".concat(e?t:0,"px"),e&&document.body.scrollTo){var handleScroll=()=>document.body.scrollTo(0,t);handleScroll(),document.body.addEventListener("scroll",handleScroll);var a=window.setInterval(handleScroll,100);return()=>{document.body.removeEventListener("scroll",handleScroll),clearInterval(a)}}},[e,t])},ac=a(26492),ad=a.n(ac);function isEdgeOverlayWithHeightSettings(e){return void 0!==e.height}var Scrollable=e=>{var t,a,r,i,{className:n,bodyClassName:o,children:s,onScroll:l,onChangeScrollHeight:c,edgeOverlays:d,paddings:u}=e,m=(0,eB.C5)(),_=(0,ej.useRef)(null),p=(0,ej.useRef)(null),[g,h]=(0,ej.useState)(!1),[f,x]=(0,ej.useState)(0),v=useWindowSize(),w=(0,ej.useCallback)(()=>{if(_.current){var{scrollHeight:e,clientHeight:t}=_.current;h(e-t>2),null==c||c(e)}},[c]);(0,ej.useLayoutEffect)(()=>(w(),(0,eL.C)(m,w),p.current=m.setInterval(w,200),()=>{(0,eL.D)(m,w),p.current&&clearInterval(p.current)}),[w,m]);var C=(0,ej.useCallback)(()=>{if(!_.current)return 0;var{scrollTop:e,scrollHeight:t,clientHeight:a}=_.current;return Math.min(100*Math.ceil(e)/(t-a),100)},[]),b=(0,ej.useCallback)(()=>{if(_.current){var{scrollTop:e,scrollHeight:t}=_.current,a=C();x(a),null==l||l(e,a),null==c||c(t)}},[C,l,c]);(0,ej.useEffect)(()=>{if(_.current){var e=_.current.scrollTop,t=0,onTouchStart=a=>{_.current&&(e=_.current.scrollTop,t=a.targetTouches[0].pageY,C()>=1&&a.stopPropagation())},onTouchMove=a=>{if(_.current){var r=a.targetTouches[0].pageY-t;_.current.scrollHeight>_.current.offsetHeight&&(r<0&&0===e||r>0&&(0,eG.Xy)(e,_.current.scrollHeight-_.current.offsetHeight,2)||e>0&&e<_.current.scrollHeight-_.current.offsetHeight)&&a.stopPropagation()}},a=_.current;return a.addEventListener("touchstart",onTouchStart),a.addEventListener("touchmove",onTouchMove),(0,eL.C)(m,b),()=>{a.removeEventListener("touchstart",onTouchStart),a.removeEventListener("touchmove",onTouchMove),(0,eL.D)(m,b)}}},[C,g,b,m]);var j=!(null==d?void 0:null===(t=d.top)||void 0===t?void 0:t.isHidden)&&((null==d?void 0:d.isAlwaysVisible)||f>=.5),k=!(null==d?void 0:null===(a=d.bottom)||void 0===a?void 0:a.isHidden)&&((null==d?void 0:d.isAlwaysVisible)||f<=99),getCurrentPaddings=()=>{if(null==u?void 0:u.default)return Object.keys(u).sort((e,t)=>"default"===e?-1:Number(e)-Number(t)).reduce((e,t)=>"default"===t||v.width>=Number(t)&&u[t]?(0,ta._)({},e,u[t]):e,{})};return(0,ex.jsxs)("div",{className:eD()(ad().root,n),style:(()=>{var e={},t=getCurrentPaddings();if(t){var{top:a,bottom:r,horizontal:i}=t;void 0!==a&&(e["--scrollable-top-padding"]="".concat(a,"px")),void 0!==r&&(e["--scrollable-bottom-padding"]="".concat(r,"px")),void 0!==i&&(e["--scrollable-horizontal-padding"]="".concat(i,"px"))}return(null==d?void 0:d.top)&&(d.top.gradientColor&&(e["--scroll-top-overlay-gradient-color"]=d.top.gradientColor),isEdgeOverlayWithHeightSettings(d.top)&&(e["--scroll-top-overlay-height"]="".concat(d.top.height,"px"),e["--scroll-top-gradient-overlay-height"]="".concat(d.top.gradientHeight,"px"))),(null==d?void 0:d.bottom)&&(d.bottom.gradientColor&&(e["--scroll-bottom-overlay-gradient-color"]=d.bottom.gradientColor),isEdgeOverlayWithHeightSettings(d.bottom)&&(e["--scroll-bottom-overlay-height"]="".concat(d.bottom.height,"px"),e["--scroll-bottom-gradient-overlay-height"]="".concat(d.bottom.gradientHeight,"px"))),e})(),children:[(0,ex.jsx)("div",{className:eD()(ad().bodyWrapper,{[ad().topFix]:j,[ad().bottomFix]:k}),children:(0,ex.jsx)("div",{ref:_,className:eD()(ad().body,eU.Yj,{[ad().hasScroll]:g,[eU.hV]:f>=1},o),onScroll:b,children:s})}),!(null==d?void 0:null===(r=d.top)||void 0===r?void 0:r.isHidden)&&(0,ex.jsx)("div",{className:eD()(ad().overlay,ad().top,{[ad().mounted]:g,[ad().visible]:j})}),!(null==d?void 0:null===(i=d.bottom)||void 0===i?void 0:i.isHidden)&&(0,ex.jsx)("div",{className:eD()(ad().overlay,ad().bottom,{[ad().mounted]:g,[ad().visible]:k})})]})},au=a(91312),am=a.n(au),a_=(0,ej.createContext)(void 0),ModalProvider=e=>{var{children:t,value:a}=e,r={startClose:a.startClose,isBottomSheetMode:a.isBottomSheetMode,isClosableOnlyByChildren:a.isClosableOnlyByChildren};return(0,ex.jsx)(a_.Provider,{value:r,children:t})};function useModalContext(){var e=ej.useContext(a_);if(void 0===e)throw Error("useModalContext must be used within a ModalProvider");return e}var ap=a(53146),ag=a.n(ap);a(92261);var useSwipe=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;(0,ej.useEffect)(()=>{if(!a){var n,o,s=Date.now(),l=0,c=0,d=0,u=!1,m=!1,_=null!==(o=null==e?void 0:null===(n=e.parentElement)||void 0===n?void 0:n.getBoundingClientRect().bottom)&&void 0!==o?o:0,p=[],pushTouchMoveY=e=>{p.push(e),p=p.slice(-5)},isNoSwiping=e=>r&&e.target.closest(".".concat(r)),handleTouchStart=t=>{!e||isNoSwiping(t)||(m=!0,s=Date.now(),l=e.getBoundingClientRect().top,c=t.touches[0].clientY,p=Array.from({length:5},()=>c),e.style.transitionDuration="0ms")},handleTouchEnd=()=>{if(m=!1,e){if(!u){e.style.transitionDuration="",e.style.transform="";return}u=!1;var a="".concat((0,eG.uZ)(Date.now()-s,A.Min,A.Exit),"ms"),close=()=>{e.style.transitionDuration=a,e.style.transform="translateY(100%) translateZ(0)",t(!1),null==i||i()};if(p[4]-p[0]<20){var r=e.getBoundingClientRect().top;if(Math.abs(r-l)>Math.abs(r-_)){close();return}e.style.transitionDuration=a,e.style.transform="";return}close()}},handleTouchMove=t=>{if(!(!e||!m||isNoSwiping(t))){u=!0,pushTouchMoveY(d=t.touches[0].clientY);var a=d-c;a<=5||(e.style.transform="translateY(".concat(a,"px) translateZ(0)"))}},handleTransitionEnd=t=>{t.target===e&&e&&(e.style.transitionDuration="",e.style.transform="")};return null==e||e.addEventListener("touchstart",handleTouchStart),null==e||e.addEventListener("touchend",handleTouchEnd),null==e||e.addEventListener("touchcancel",handleTouchEnd),null==e||e.addEventListener("touchmove",handleTouchMove),null==e||e.addEventListener("transitionend",handleTransitionEnd),()=>{null==e||e.removeEventListener("touchstart",handleTouchStart),null==e||e.removeEventListener("touchend",handleTouchEnd),null==e||e.removeEventListener("touchcancel",handleTouchEnd),null==e||e.removeEventListener("touchmove",handleTouchMove),null==e||e.removeEventListener("transitionend",handleTransitionEnd)}}},[a,t,e,r])},BottomSheet=e=>{var{isOpened:t,onChange:a,onTransitionEnd:r,children:i,qaTag:n,onOutsideClick:o,isSwipeDisabled:s=!1,extraOverlay:l,extraOverlayClassName:c,openWithFade:d,className:u,isMaxHeight:m,style:_,onSwipe:p}=e,g=(0,ej.useRef)(null),h=(0,ej.useRef)(null),[f,x]=(0,ej.useState)(!1),v=usePrevious(d);return(0,ej.useEffect)(()=>{v!==d&&x(!!d)},[t,d,v]),(0,ej.useEffect)(()=>{var e,preventTouchEvent=e=>e.preventDefault(),t={passive:!1};return null===(e=g.current)||void 0===e||e.addEventListener("touchmove",preventTouchEvent,t),()=>{var e;null===(e=g.current)||void 0===e||e.removeEventListener("touchmove",preventTouchEvent,t)}},[]),(0,ej.useEffect)(()=>{var e,t,isBottomSheetEvent=e=>e.target===g.current||e.target===h.current,handleTransitionStart=e=>{isBottomSheetEvent(e)&&x(!0)},handleTransitionEnd=e=>{isBottomSheetEvent(e)&&h.current&&(x(!1),null==r||r(),h.current.style.transitionDuration="")};return null===(e=g.current)||void 0===e||e.addEventListener("transitionstart",handleTransitionStart),null===(t=g.current)||void 0===t||t.addEventListener("transitionend",handleTransitionEnd),()=>{var e,t;null===(e=g.current)||void 0===e||e.removeEventListener("transitionstart",handleTransitionStart),null===(t=g.current)||void 0===t||t.removeEventListener("transitionend",handleTransitionEnd)}},[t,r]),useSwipe(h.current,a,s,eU.hV,p),(0,ex.jsxs)(Portal,{selector:"body",children:[(0,ex.jsx)("div",{className:eD()(ag().overlay,ag().animated,{[ag().visible]:t}),children:(0,ex.jsx)("div",{className:eD()(ag().extraOverlay,c),onClick:o,children:l})}),(0,ex.jsxs)("div",{ref:g,"data-qa":n,className:eD()(ag().root,{[ag().openWithFade]:d,[ag().animated]:d,[ag().visible]:t},u),children:[(0,ex.jsx)("div",{className:eD()(ag().space,eU.hV),onClick:o}),(0,ex.jsx)("div",{ref:h,className:eD()(ag().slide,ag().animated,{[ag().visible]:d||t}),children:(0,ex.jsx)("div",{className:eD()(ag().slideContentWrapper,{[eU.hV]:s}),children:(0,ex.jsx)("div",{className:ag().slideContent,children:(0,ex.jsx)("div",{className:eD()(ag().content,{[ag().maxHeight]:m}),style:_,children:i})})})})]}),f&&(0,ex.jsx)("div",{className:eD()(ag().overlay,ag().preventInteraction)})]})},ah=a(59463),af=a.n(ah);(h=z||(z={})).Absolute="absolute",h.Fixed="fixed";var Popup=e=>{var{isOpened:t,onChange:a,onTransitionEnd:r,onOutsideClick:i,extraOverlay:n,extraOverlayClassName:o,selector:s="body",position:l=z.Fixed,className:c,style:d,qaTag:u,children:m}=e,[_,p]=(0,ej.useState)(t);return(0,ej.useEffect)(()=>{p(t)},[t]),(0,ej.useEffect)(()=>{_!==t&&a(t)},[t,_,a]),(0,ex.jsxs)(Portal,{selector:s,children:[(0,ex.jsx)("div",{className:eD()(af().overlay,af().animated,{[af().visible]:_},af()["position_".concat(l)]),children:(0,ex.jsx)("div",{className:eD()(af().extraOverlay,o),onClick:i,children:n})}),(0,ex.jsx)(Container,{qaTag:u,className:eD()(af().root,af().animated,{[af().visible]:_},af()["position_".concat(l)],c),style:d,onTransitionEnd:r,children:m})]})},ax=a(28758),av=a.n(ax),CloseButton=e=>{var{onClick:t,onPointerDown:a,onPointerUp:r,className:i,dataQa:n}=e,o=(0,ej.useRef)(Math.random()),s=(0,ej.useRef)("mask_".concat(Date.now(),"_").concat(o.current));return(0,ex.jsx)("div",{className:eD()(av().root,i),"data-qa":n,onClick:t,onPointerDown:a,onPointerUp:r,children:(0,ex.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("mask",{id:s.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:(0,ex.jsx)("path",{d:"M6.58579 8L3.29289 4.70711C2.90237 4.31658 2.90237 3.68342 3.29289 3.29289C3.68342 2.90237 4.31658 2.90237 4.70711 3.29289L8 6.58579L11.2929 3.29289C11.6834 2.90237 12.3166 2.90237 12.7071 3.29289C13.0976 3.68342 13.0976 4.31658 12.7071 4.70711L9.41421 8L12.7071 11.2929C13.0976 11.6834 13.0976 12.3166 12.7071 12.7071C12.3166 13.0976 11.6834 13.0976 11.2929 12.7071L8 9.41421L4.70711 12.7071C4.31658 13.0976 3.68342 13.0976 3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929L6.58579 8Z",fill:"black"})}),(0,ex.jsx)("g",{mask:"url(#".concat(s.current,")"),children:(0,ex.jsx)("rect",{width:"16",height:"16",fill:"white"})})]})})},aw=a(37051),aC=a.n(aw),ab=a(80493),aj=a.n(ab),BackIconNew=()=>{var e=(0,ej.useRef)(Math.random()),t=(0,ej.useRef)("mask_".concat(Date.now(),"_").concat(e.current));return(0,ex.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("mask",{id:t.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"4",width:"16",height:"16",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7 11.5899C19.7 11.0377 19.2523 10.5899 18.7 10.5899H7.50004L12.4 5.68995C12.7866 5.30335 12.7866 4.67655 12.4 4.28995C12.0134 3.90335 11.3866 3.90335 11 4.28995L4.40715 10.8828C4.01663 11.2734 4.01663 11.9065 4.40715 12.2971L11 18.89C11.3866 19.2765 12.0134 19.2765 12.4 18.8899C12.7866 18.5034 12.7866 17.8765 12.4 17.49L7.50004 12.5899H18.7C19.2523 12.5899 19.7 12.1422 19.7 11.5899Z",fill:"black"})}),(0,ex.jsx)("g",{mask:"url(#".concat(t.current,")"),children:(0,ex.jsx)("rect",{width:"24",height:"24",fill:"white"})})]})},ak=a(80483),ay=a.n(ak),useUnmount=e=>{var t=(0,eB.C5)(),a=(0,ej.useRef)(null);(0,ej.useEffect)(()=>(a.current&&t.clearTimeout(a.current),()=>{a.current=t.setTimeout(e)}),[e,t])},Modal=e=>{var{isVisible:t,children:a,onOpen:r,onStartClose:i,onClose:n,isClosableOnlyByChildren:o=!1,onBackgroundClick:s,onSwipeClose:l,extraOverlay:c,extraOverlayClassName:d,qaTag:u,isReplacing:m,isMaxHeight:_,style:p,position:g,selector:h,className:f}=e,x=(0,eB.mv)(),v=!(useWindowSize().width>=eU.RR.Tablet)&&x.viewMode===al.w.MB,[w,C]=(0,ej.useState)(!1),[b,j]=(0,ej.useState)(!1),k=(0,ej.useRef)(w),y=(0,ej.useRef)(!0),{isPullToRefreshSwitchedOff:S}=(0,eB.bW)();usePreventPullToRefreshAndGameSwipeClose(!!(x.viewMode===al.w.MB&&w&&!S)),(0,ej.useEffect)(()=>{C(void 0===t||t)},[t]);var startClose=()=>{n&&(v&&(null==i||i()),C(!1))};useUnmount(()=>{y.current&&(null==n||n())});var T=v?BottomSheet:Popup;return(0,ex.jsx)(T,{isOpened:w,onChange:C,onTransitionEnd:()=>{k.current=w,w&&!b&&(j(!0),null==r||r()),w||(j(!1),y.current=!1,null==n||n())},onOutsideClick:()=>{!o&&k.current&&(null==s||s(),startClose())},extraOverlay:c,extraOverlayClassName:d,qaTag:u,openWithFade:m,className:eD()(f,{"open-animation-finished":b}),isMaxHeight:_,style:p,position:g,selector:h,isSwipeDisabled:o,onSwipe:l,children:(0,ex.jsx)(ModalProvider,{value:{startClose,isBottomSheetMode:v,isClosableOnlyByChildren:o},children:a})})};Modal.Container=e=>{var t,a,r,{scrollable:i,children:n,nonScrollableChildren:o,onMounted:s}=e,l=(0,eB.mv)(),c=l.viewMode===al.w.Landing||l.viewMode===al.w.DemoPage,{isBottomSheetMode:d,isClosableOnlyByChildren:u}=useModalContext(),m=(0,ej.useRef)(null);(0,ej.useLayoutEffect)(()=>{m.current&&(null==s||s(m.current))},[s]);var _={default:{top:u?32:52,horizontal:12,bottom:d?40:32},[eU.RR.Tablet]:{top:u?32:74,horizontal:72,bottom:60}};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{ref:m,className:am().body,children:(0,ex.jsx)(Scrollable,{className:null==i?void 0:i.className,paddings:(0,to.RH)(_,(null==i?void 0:i.paddings)?i.paddings:{}),bodyClassName:c?am().overScrollableBody:"",onScroll:null==i?void 0:i.onScroll,onChangeScrollHeight:null==i?void 0:i.onChangeScrollHeight,edgeOverlays:(0,th._)((0,ta._)({},null==i?void 0:i.edgeOverlays),{bottom:(0,th._)((0,ta._)({},null==i?void 0:null===(t=i.edgeOverlays)||void 0===t?void 0:t.bottom),{isHidden:!!d||(null==i?void 0:null===(r=i.edgeOverlays)||void 0===r?void 0:null===(a=r.bottom)||void 0===a?void 0:a.isHidden)})}),children:n})}),o]})},Modal.CloseButton=e=>{var{onClick:t,shouldStopEventsPropagation:a}=e,r=eQ.BE.Modal,{startClose:i}=useModalContext(),n=(0,ej.useCallback)(e=>{a&&e.stopPropagation()},[a]);return(0,ex.jsx)(CloseButton,{dataQa:r.closeButton,className:aC().closeButton,onClick:e=>{n(e),null==t||t(),i()},onPointerDown:n,onPointerUp:n})},Modal.BackButton=e=>{var{onClick:t}=e;return(0,ex.jsx)("button",{className:aj().backButton,onClick:t,children:(0,ex.jsx)(BackIconNew,{})})},Modal.Header=e=>{var{title:t,subtitle:a,subtleColor:r,children:i}=e,n=eQ.BE.Modal;return(0,ex.jsxs)(ex.Fragment,{children:[i,t&&(0,ex.jsx)("p",{"data-qa":n.title,className:eD()(ay().title,ay()[t.align||q.Left],{[ay().withSubtitle]:a},t.className),children:t.text}),a&&(0,ex.jsx)("p",{"data-qa":n.subtitle,className:ay().subtitle,style:{color:r},children:a})]})};var Welcome=e=>{var{isVisible:t,onClickButton:a}=e,{steps:{Welcome:{title:r,description:i,button:n}}}=(0,tc.r)("GameOnboarding");useDiscardOverlayAnimation(t);var o=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large});return(0,ex.jsx)(Modal,{isVisible:t,className:as().root,isClosableOnlyByChildren:!0,qaTag:eQ.BE.Modals.WelcomeModal.root,children:(0,ex.jsxs)(Modal.Container,{scrollable:{paddings:{default:{horizontal:16,bottom:40},[eU.RR.MobileMedium]:{bottom:58}}},children:[(0,ex.jsx)(Modal.Header,{title:{text:r,align:q.Center,className:as().title},children:(0,ex.jsx)("div",{className:as().imageContainer,children:(0,ex.jsx)(Image_Image,{src:"/gift.svg",alt:"подарок",className:as().image})})}),(0,ex.jsx)("p",{className:as().description,children:i}),(0,ex.jsx)("div",{className:as().buttons,children:(0,ex.jsx)(tj,{className:as().button,size:o,onClick:a,children:n})})]})})},aS=a(99782),aT=a.n(aS),StartEnterWord=e=>{var{isVisible:t}=e,{steps:{StartEnterWord:{tooltip:a}}}=(0,tc.r)("GameOnboarding"),r=useElementBoundingRect("#".concat(eU.O.Keyboard));return(0,ex.jsx)(ex.Fragment,{children:r&&(0,ex.jsx)(Tooltip,{className:aT().tooltip,isVisible:t,x:r.left+r.width/2,y:r.top,children:a})})},aN=a(29115),aB=a.n(aN),HelpWithWord=e=>{var{isVisible:t,onClick:a}=e,{steps:{HelpInfo:{tooltip:r}}}=(0,tc.r)("GameOnboarding"),i=useGameFieldCellBoundingRect(eN.Do-1,Math.floor(eN.l$/2));return(0,ex.jsxs)(ex.Fragment,{children:[i&&(0,ex.jsx)(Tooltip,{className:aB().tooltip,isVisible:t,x:i.left+i.width/2,y:i.top,children:r}),t&&(0,ex.jsx)("div",{className:aB().overlay,onClick:a})]})},aI=a(59439),aD=a.n(aI),TapAccent=e=>{var{selector:t,isAbsolute:a}=e,r=useElementBoundingRect(t);return r?a?(0,ex.jsx)(Portal,{selector:t,children:(0,ex.jsx)("div",{className:eD()(aD().root,aD().absolute),style:{left:r.width/2,top:r.height/2}})}):(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)("div",{className:aD().root,style:{left:r.left+r.width/2,top:r.top+r.height/2}})}):null},FirstLetterTooltip=e=>{var{isVisible:t,firstLetterSelector:a}=e,{steps:{FirstLetterTooltip:{tooltip:r}}}=(0,tc.r)("GameOnboarding"),i=useElementBoundingRect(a);return(0,ex.jsx)(ex.Fragment,{children:i&&(0,ex.jsx)(Tooltip,{className:aT().tooltip,isVisible:t,x:i.left+i.width/2,y:i.top,children:r})})},aE=(0,eb.Pi)(()=>{var{dailyWord:e}=(0,eB.gT)(),{currentStep:t,startEnterWord:a,keyboardAccentKey:r,complete:i}=(0,eB.ae)(),{showModalAfterGameFinish:n}=(0,eB.th)();return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Welcome,{isVisible:t===an.E.Welcome,onClickButton:a}),(0,ex.jsx)(StartEnterWord,{isVisible:t===an.E.StartEnterWord}),e&&(0,ex.jsx)(FirstLetterTooltip,{isVisible:t===an.E.FirstLetterTooltip,firstLetterSelector:'[data-key="'.concat(e.word[0],'"]')}),(0,ex.jsx)(HelpWithWord,{isVisible:t===an.E.HelpWithWord,onClick:()=>{i(),n()}}),r&&(0,ex.jsx)(TapAccent,{selector:'[data-key="'.concat(r,'"]'),isAbsolute:!0})]})}),usePreventPinchToZoom=()=>{var preventPinchToZoom=e=>e.preventDefault();(0,ej.useEffect)(()=>{var gestureStartListener=e=>preventPinchToZoom(e),gestureChangeListener=e=>preventPinchToZoom(e),gestureEndListener=e=>preventPinchToZoom(e);return document.addEventListener("gesturestart",gestureStartListener),document.addEventListener("gesturechange",gestureChangeListener),document.addEventListener("gestureend",gestureEndListener),()=>{document.removeEventListener("gesturestart",gestureStartListener),document.removeEventListener("gesturechange",gestureChangeListener),document.removeEventListener("gestureend",gestureEndListener)}},[])},aM=a(14110),aL=a(41169),GameLoadingModal=()=>{var e,t,{LoaderSpeed:{slow:a}}=(0,eB.Vf)(),r=(0,eB.bU)();return(0,ex.jsx)(aL.R,{isSlowAnimation:(e=r.getMBVersion(),t=r.isIosMB(),!!e&&!!t&&(0,aM.n)(e,(0,aM.o)(a.minAppVersion))>-1)})},usePreventScroll=e=>{(0,ej.useEffect)(()=>{var t=document.querySelector(e),onScroll=()=>null==t?void 0:t.scrollTo(0,0);return null==t||t.addEventListener("scroll",onScroll),()=>{null==t||t.removeEventListener("scroll",onScroll)}},[e])},useLogRenderResult=(e,t)=>{var a=(0,eB.l$)(),r=(0,eB.C5)(),i=(0,ej.useRef)();(0,ej.useEffect)(()=>{a.renderStart(e)},[e,a]),(0,ej.useEffect)(()=>{i.current&&r.clearTimeout(i.current),t||(i.current=r.setTimeout(()=>{a.renderComplete(e)},500))},[e,t,a,r]),(0,ej.useEffect)(()=>()=>{i.current&&r.clearTimeout(i.current)},[r])},aR=a(85958),aP=a(92119),aG=a(67345),aA=a.n(aG),RulesModal=e=>{var{isVisible:t=!0}=e,a=(0,aP._)(e,["isVisible"]),{Rules:{title:r,introText:i,examples:n,afterText:o}}=(0,tc.r)("Modals"),[s,l]=(0,ej.useState)(0),c=(0,ej.useRef)(null);return t?(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({qaTag:eQ.BE.Modals.RulesModal.root},a),{className:aA().root,children:[(0,ex.jsx)(Modal.CloseButton,{}),a.onBackButtonClick&&(0,ex.jsx)(Modal.BackButton,{onClick:a.onBackButtonClick}),(0,ex.jsxs)(Modal.Container,{onMounted:()=>{if(c.current){var e=(eN.l$-1)*eN.XN,t=(Math.min(c.current.clientWidth,260)-e)/eN.l$;l(calcOptimalTileSize(t,t/eN.dj,eN.dj).height)}},scrollable:{paddings:{default:{horizontal:24,bottom:40},[eU.RR.Tablet]:{horizontal:72,bottom:40}}},children:[(0,ex.jsx)(Modal.Header,{title:{text:r}}),(0,ex.jsxs)("div",{ref:c,className:aA().container,children:[(0,ex.jsx)("p",{children:i}),(0,ex.jsx)("div",{className:aA().divider}),n.map(e=>{var{word:t,evaluations:a,hint:r}=e;return(0,ex.jsxs)("div",{className:aA().example,children:[(0,ex.jsx)("div",{className:aA().rowWrapper,style:{height:"".concat(s,"px"),fontSize:"".concat(s/2,"px"),maxWidth:"".concat(260,"px")},onClick:e=>e.stopPropagation(),children:(0,ex.jsx)(Row,{row:-1,className:aA().row,columnCount:eN.l$,gridGap:eN.XN,word:t,evaluation:a})}),(0,ex.jsx)("p",{children:r})]},t)}),(0,ex.jsx)("div",{className:aA().divider}),(0,ex.jsx)("p",{children:o})]})]})]})):null},aH=a(6462),aO=a.n(aH),aW=a(67857),aV=a.n(aW),aF=(0,eb.Pi)(e=>{var{showOnlyTimer:t,className:a}=e,{nextDailyWordIn:r}=(0,eB.G3)(),i=void 0===r,{hours:n,minutes:o,seconds:s}=getTimePartsFromSeconds(null!=r?r:0),{commonText:l}=(0,tc.r)("NextWordTimer"),c=(0,ex.jsx)("div",{className:eD()(aV().timer,a),children:i?(0,ex.jsx)(e1.a,{className:aV().loader}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("span",{className:aV().digit,children:n}),":",(0,ex.jsx)("span",{className:aV().digit,children:o}),":",(0,ex.jsx)("span",{className:aV().digit,children:s})]})});return t?c:(0,ex.jsxs)("div",{className:eD()(aV().root,a),children:[(0,ex.jsx)("p",{className:aV().title,children:l}),c]})}),aU=a(78489),aZ=a(69737),aq=a(16730),az=a.n(aq),copyToClipboard_copyToClipboard=e=>{az()(e),az()(e)},useCopy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[a,r]=(0,ej.useState)(!1),i=(0,ej.useRef)(null),n=(0,eB.C5)(),o=(0,eB.wL)();return(0,ej.useEffect)(()=>()=>{i.current&&n.clearTimeout(i.current)},[n]),{isCopied:a,copy:(0,ej.useCallback)(()=>{i.current&&n.clearTimeout(i.current);try{copyToClipboard_copyToClipboard(e),i.current=n.setTimeout(()=>{r(!0),i.current=n.setTimeout(()=>{r(!1)},eU.K8+t)},t)}catch(e){o.logError({error:e,hardErrorCode:aZ.Pe.CopyToClipboardError})}},[t,o,e,n])}},useShare=e=>{var t,{title:a,text:r,url:i,modalId:n,buttonName:o,changeStateDelayMs:s=0}=e,l=(0,eB.wL)(),c=(0,eB.rS)(),getShareText=()=>"".concat(a,"\n\n").concat(r,"\n\n").concat(i),d=(t=(0,aU._)(function*(){try{yield navigator.share({text:getShareText()})}catch(e){l.logError({error:e,hardErrorCode:aZ.Pe.NativeShareError})}}),function(){return t.apply(this,arguments)}),{isCopied:u,copy:m}=useCopy(getShareText(),s);return{isCopied:u,onClickShare:()=>{c.trackShareButtonClick(n,o),navigator.share?d():m()}}},ShareButton=e=>{var{text:t,copiedText:a,shareTitle:r,shareText:i,shareLink:n,modalId:o,buttonName:s,className:l}=e,{isCopied:c,onClickShare:d}=useShare({title:r,text:i,url:n,modalId:o,buttonName:s});return(0,ex.jsx)(tj,{theme:W.Dark,size:V.Medium,className:l,onClick:d,children:c?a:t})},aK=a(63367),aY=a.n(aK),aX=a(17340),aQ=a.n(aX),Toggle=e=>{var{isEnabled:t,onClick:a}=e;return(0,ex.jsx)("button",{className:eD()(aQ().root,{[aQ().enabled]:t}),onClick:a})},aJ=a(84997),a$=a.n(aJ),a0=a(5167);(f=K||(K={})).Small="small",f.Default="default",f.Big="big",(x=Y||(Y={})).Empty="empty",x.Question="question",x.Info="info",x.InfoTui="info-tui";var a1={empty:(0,ex.jsx)(ex.Fragment,{}),info:(0,ex.jsx)(()=>(0,ex.jsx)("svg",{width:"4",height:"9",viewBox:"0 0 4 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 0.933187C1 1.39342 1.3731 1.76652 1.83333 1.76652H2.85V0.933187C2.85 0.47295 2.4769 0.0998535 2.01667 0.0998535H1V0.933187ZM3.33333 6.80458H2.83333V3.54145C2.83333 3.17326 2.53486 2.76652 2.16667 2.76652H0.166667V3.54145C0.166667 3.90964 0.465144 4.26201 0.833333 4.26201H1.16667V6.80458L0 6.80458V7.5144C0 7.88259 0.465144 8.18107 0.833333 8.18107H4V7.5144C4 7.14621 3.70152 6.80458 3.33333 6.80458Z",fill:"#9299A2"})}),{}),question:(0,ex.jsx)(()=>(0,ex.jsxs)("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:"mask0_6899_27297",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"8",height:"12",children:[(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00127 7.60119L7 7.60129V8.25928H5V7.75928C5 6.43803 5.51359 6.19025 6.08414 5.91499C6.37725 5.77358 6.68539 5.66446 6.94666 5.35928C7.77623 4.54568 7.15 3.25928 6.10018 3.26711C5.87118 3.24864 5.64153 3.29384 5.4366 3.3977C5.23168 3.50156 5.05945 3.66006 4.93895 3.85567C4.8917 3.93237 4.85313 4.0136 4.82366 4.09788C4.77801 4.22841 4.75419 4.36661 4.75379 4.50613L2.75 4.50107C2.75305 3.29154 3.45184 2.15717 4.53072 1.61036C5.06515 1.33949 5.66406 1.22163 6.26128 1.2698C7.92297 1.40383 9.28663 2.82597 9.3 4.50928C9.31089 5.87953 8.26635 7.19151 7.00127 7.60119Z",fill:"black"}),(0,ex.jsx)("path",{d:"M5 11.2593H6.3C6.6866 11.2593 7 10.9459 7 10.5593V9.25928H5.7C5.3134 9.25928 5 9.57268 5 9.95928V11.2593Z",fill:"black"})]}),(0,ex.jsx)("g",{mask:"url(#mask0_6899_27297)",children:(0,ex.jsx)("path",{d:"M0 0.259277H12V12.2593H0V0.259277Z",fill:"#9299A2"})})]}),{}),"info-tui":(0,ex.jsx)(a0.I$8,{theme:{color:"rgba(255, 255, 255, 0.5)"}})},useStopPropagationAndPreventEventForTouchEvents=e=>{(0,ej.useEffect)(()=>{var stopPropagation=e=>e.stopPropagation(),stopPropagationAndPreventEvent=e=>{stopPropagation(e),e.preventDefault()};return null==e||e.addEventListener("touchstart",stopPropagation),null==e||e.addEventListener("touchmove",stopPropagationAndPreventEvent),()=>{null==e||e.removeEventListener("touchstart",stopPropagation),null==e||e.removeEventListener("touchmove",stopPropagationAndPreventEvent)}},[e])},isTooltipButtonPropsByIconType=e=>"type"in e;function TooltipButton(e){var{tooltipText:t,tooltipContentMaxWidth:a,tooltipPosition:r,tooltipSourceClassName:i,className:n,activeClassName:o="",iconClassName:s,onClose:l,type:c=Y.Question,size:d=K.Default,isCentered:u=!1,isOpened:m,onChangeTooltipVisibility:_,offsets:p,onClick:g,y:h=0,theme:f=G.Dark,tooltipClassName:x,children:v}=e,w=(0,ej.useRef)(null),C=useElementBoundingRect(w),[b,j]=(0,ej.useState)(!!m);(0,ej.useEffect)(()=>{m?j(!0):!1===m&&j(!1)},[m]),(0,ej.useEffect)(()=>{null==_||_(b)},[b,_]),useStopPropagationAndPreventEventForTouchEvents(w.current);var k=(0,ej.useCallback)(e=>{var t;!b||(null===(t=w.current)||void 0===t?void 0:t.contains(e.target))||(j(!1),null==l||l())},[b,l]);return(0,ex.jsxs)("button",{ref:w,"data-size":d,"data-type":isTooltipButtonPropsByIconType(e)?c:void 0,className:eD()(a$().root,a$()[f],n,{[a$().active]:b,[o]:b,[a$().centered]:u}),onClick:e=>{var t;(null===(t=w.current)||void 0===t?void 0:t.contains(e.target))&&(e.stopPropagation(),j(e=>!e),null==g||g(),b&&(null==l||l()))},children:[isTooltipButtonPropsByIconType(e)?(0,ex.jsx)("span",{className:eD()(s,{[a$().info]:c===Y.Info}),children:a1[c]}):v,r===P.Fixed?(0,ex.jsx)(ex.Fragment,{children:C&&(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(Tooltip,{isVisible:b,position:P.Fixed,targetRect:C,theme:f,contentMaxWidth:294,onPointerDownOutside:k,sourceClassName:i,children:t})})}):(0,ex.jsx)(Tooltip,{isVisible:b,x:"50%",y:h,position:P.Absolute,theme:f,offsets:p,contentMaxWidth:a,onPointerDownOutside:k,className:x,children:t})]})}var a2=(0,eb.Pi)(e=>{var{className:t}=e,a=(0,eB.G3)(),r=(0,eB.LM)(),i=(0,eB.rS)(),n=void 0===a.nextDailyWordIn,{text:o,tooltip:s}=(0,tc.r)("Subscription");return(0,ex.jsxs)("div",{className:eD()(aY().root,t),children:[(0,ex.jsx)("p",{className:aY().text,children:o}),n?(0,ex.jsx)(e1.a,{className:aY().loader}):(0,ex.jsxs)("div",{className:aY().toggle,children:[(0,ex.jsx)(TooltipButton,{type:Y.Info,tooltipText:s,className:aY().toggleButton,offsets:{minDistanceToLeftOrRightEdge:eU.L$}}),(0,ex.jsx)(Toggle,{onClick:()=>{i.trackToggleNotifications(tZ.Z.Result,!r.isSubscribed),r.toggleSubscription()},isEnabled:r.isSubscribed})]})]})}),getPluralForm=(e,t,a,r)=>{var i=Math.abs(e);return(i%=100)>=5&&i<=20?r:1==(i%=10)?t:i>=2&&i<=4?a:r},createPluralizer=(e,t,a)=>r=>getPluralForm(r,e,t,a),a3=a(90503),a5=a.n(a3),a4=a(4286),a9=a.n(a4),useFontLoader=e=>{var{fontName:t,variant:a}=e,[r,i]=(0,ej.useState)({isFontLoaded:!1}),n=(0,eB.O)(),o=(0,eB.ZR)();return(0,ej.useEffect)(()=>{new(a9())(t,a).load().then(()=>{i({isFontLoaded:!0})}).catch(e=>{i({isFontLoaded:!1,error:e});var a="Ðе удалоÑÑŒ загрузить шрифт ".concat(t,".");n.captureException({error:e,message:a}),o.isProd||console.error(a,e)})},[t,a,n]),r},SwitchableContainer=e=>{var{current:t,next:a,transitionTimeMs:r,isSwitched:i,rerenderFontTrigger:n}=e,o=(0,ej.useRef)(null),s=(0,ej.useRef)(i),l=(0,ej.useRef)(null),c=(0,ej.useRef)(null),d=(0,ej.useRef)(null),{isFontLoaded:u}=useFontLoader({fontName:n.fontName,variant:n.variant}),[m,_]=(0,ej.useState)(i);(0,ej.useLayoutEffect)(()=>{o.current&&l.current&&c.current&&d.current&&i&&(o.current.enable(),o.current.slideTo(1,r),o.current.disable(),l.current.style.height="".concat(c.current.clientHeight,"px"),l.current.style.height="".concat(d.current.clientHeight,"px"))},[i,r,u]);var p=(0,ej.useCallback)(()=>{if(o.current){var e=o.current.activeIndex;if(e>=0){var t=o.current.el.querySelectorAll(".swiper-slide");t.forEach(e=>e.removeAttribute("data-qa")),t[e].setAttribute("data-qa",eQ.BE.SwitchableContainer.activeGiftSlide)}}},[]);return(0,ex.jsxs)("div",{ref:l,className:a5().root,style:{transitionDuration:"".concat(r,"ms")},children:[(0,ex.jsx)("div",{ref:c,className:eD()(a5().invisibleBox,a5().current),children:s.current?a:t}),(0,ex.jsx)("div",{ref:d,className:eD()(a5().invisibleBox,a5().next),children:a}),(0,ex.jsxs)(e9.tq,{className:eD()(a5().swiper,{[a5().finished]:m}),enabled:!1,spaceBetween:20.5,initialSlide:i?1:0,slidesPerView:1,onSwiper:e=>{o.current=e,p()},onSlideChange:p,onTransitionEnd:()=>i&&_(!0),children:[(0,ex.jsx)(e9.o5,{children:m?null:t}),(0,ex.jsx)(e9.o5,{children:a})]})]})},a6=a(8607),a8=a.n(a6),a7=a(33149),re=a(8401),rt=a(50950),ra=a.n(rt),rr=a(56112),ri=a.n(rr),ClockIcon=e=>{var{className:t}=e;return(0,ex.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,ex.jsx)("mask",{id:"mask0_3370_2324",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"14",height:"14",children:(0,ex.jsx)("path",{opacity:"0.85",fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM7.5 3.9737H7L7.00072 9L10.6588 10.7544L10.8699 10.3017C11.22 9.55089 10.8952 8.65841 10.1444 8.30831L9 7.72602V5.4737C9 4.64527 8.32843 3.9737 7.5 3.9737Z",fill:"white"})}),(0,ex.jsx)("g",{mask:"url(#mask0_3370_2324)",children:(0,ex.jsx)("path",{d:"M0 0H16V16H0V0Z",fill:"#F6F7F8"})})]})},rn=ej.forwardRef((e,t)=>{var{name:a,nameClassName:r,subtitle:i,description:n,imageLink:o,className:s,cardClassName:l,imageClassName:c,descriptionClassName:d,buttonsClassName:u,mainButton:m,detailsButton:_,isPending:p,isExpired:g,isHighlighted:h,children:f,onClick:x,expirationHint:v,isShining:w,id:C}=e;return(0,ex.jsxs)("div",{ref:t,id:C,className:eD()(ri().root,{[ri().pending]:p,[ri().expired]:g},s),children:[(0,ex.jsxs)("div",{className:eD()(ri().card,{[ri().highlighted]:h,[ri().shining]:w},l),onClick:x,children:[(0,ex.jsx)(Image_Image,{src:o,alt:a,className:eD()(ri().image,c)}),(0,ex.jsxs)("div",{className:ri().content,children:[i&&(0,ex.jsx)("p",{className:ri().subtitle,children:i}),(0,ex.jsx)("p",{className:eD()(ri().name,r),children:a}),n&&(0,ex.jsx)("p",{className:eD()(ri().description,d),children:n}),(0,ex.jsxs)("div",{className:ri().additionalInfo,children:[v&&(0,ex.jsxs)("p",{className:ri().expirationHint,children:[(0,ex.jsx)(ClockIcon,{className:ri().expirationIcon}),v]}),m&&(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)("div",{className:eD()(ri().buttons,u),children:[(0,ex.jsx)(tj,{id:m.id,size:V.Medium,theme:m.theme,className:eD()(ri().mainButton,m.className),onClick:m.onClick,disabled:m.disabled,isLoading:m.isLoading,beforeContent:m.beforeContent,children:m.title}),_&&(0,ex.jsx)("button",{className:ri().detailsButton,onClick:_.onClick,children:(0,ex.jsx)(Image_Image,{src:"/icons/question-icon.svg",alt:""})})]})})]})]})]}),f]})});rn.displayName="GiftCardView";var useGiftImage=(e,t)=>{var a=re.RU.Secret,r=e.giftClass===re.eC.Top,i=!1;void 0!==e.status&&(i=e.status===re.iU.Pending);var{isSpecialGiftImagesEnabled:n}=(0,eB.bW)(),{giftImage:o}=(0,eB.NV)().GiftCardV2;return r?a=re.RU.Top:(void 0!==e.winsLeft||i)&&!t&&(a=re.RU.Pending),n&&e.specialImageLink&&a!==re.RU.Pending?e.specialImageLink:e.imageLink&&a!==re.RU.Pending?e.imageLink:n?o["".concat(a,"Special")]:o[a]},ro=ej.forwardRef((e,t)=>{var{gift:a,modalId:r,receiveButtonId:i,onClickReceive:n,className:o}=e,s=(0,eB.rS)(),{secretGift:l,topGift:c}=(0,eB.NV)().GiftCardV2.ReceivableCurrentGiftCard,d=a.giftClass===re.eC.Top,u=d?a.name:l.name,m={id:i,className:ra().mainButton,title:d?c.button:l.button,onClick:()=>{}},_=useGiftImage(a);return(0,ex.jsx)(rn,{ref:t,className:o,name:u,imageLink:_,mainButton:m,onClick:e=>{null==n||n(e),s.trackCurrentGiftReceiveButtonClick(a.giftClass===re.eC.Top?a.id:null,a.name,m.title,r)}})});ro.displayName="ReceivableCurrentGiftCard";var rs=a(92674),rl=a.n(rs),rc=a(55142),rd=a.n(rc),GiftCardWithTooltip=e=>{var{tooltipContent:t,children:a,className:r,giftClass:i}=e,n=(0,ej.useRef)(null),[o,s]=(0,ej.useState)(),l=(0,ej.useCallback)(()=>{n.current&&s(n.current.getBoundingClientRect().left)},[]);return(0,ex.jsxs)("div",{ref:n,className:eD()(rd().wrapper,r),"data-gift-class":i,children:[a,(0,ex.jsx)(TooltipButton,{className:rd().tooltipButton,type:Y.Info,tooltipText:t,offsets:{minDistanceToLeftOrRightEdge:o},onClick:l,isCentered:!0,tooltipContentMaxWidth:263})]})},ru=a(54146),rm=ej.forwardRef((e,t)=>{var{gift:a,className:r,isResultModal:i=!1,isShining:n}=e,{UpcomingGiftCard:{resultModal:o,giftDescription:s,giftModal:l},expireHint:{prefix:c}}=(0,eB.NV)().GiftCardV2,{nextHint:d}=l,u=i?o.secret.name:l.secret.name,m=i?o.nextHint.phrase:d.phrase,_="".concat(m," ").concat(a.winsLeft,"\xa0").concat(getPluralForm(a.winsLeft,d.pluralForms.one,d.pluralForms.two,d.pluralForms.five)),p=a.giftClass===re.eC.Top,g=useGiftImage(a,i);return(0,ex.jsx)(GiftCardWithTooltip,{tooltipContent:p?s.top:s.secret,className:r,giftClass:a.giftClass,children:(0,ex.jsx)(rn,{ref:t,name:p?a.name:u,imageLink:g,description:_,imageClassName:eD()({[rl().inactiveImage]:i}),expirationHint:p&&a.lastReceiveDate?"".concat(c," ").concat((0,ru.formatDateToExtendedDayMonthRuLocale)(a.lastReceiveDate)):"",isShining:n})})});rm.displayName="UpcomingGiftCard";var r_=(0,eb.Pi)(e=>{var{onClickReceive:t}=e,{visibleGift:a,upcomingGift:r,currentGift:i}=(0,eB.ij)(),n=a===a7.q.Upcoming;return(0,ex.jsx)(SwitchableContainer,{rerenderFontTrigger:{fontName:eU.av.Roboto,variant:{weight:700}},transitionTimeMs:600,isSwitched:n,current:i?(0,ex.jsx)(ro,{gift:i,modalId:tZ.Z.Result,receiveButtonId:eU.O.TakeGiftButton,onClickReceive:t}):void 0,next:r?(0,ex.jsx)(rm,{gift:r,isResultModal:!0,mainButton:{className:a8().mainButton}}):void 0})}),rp=a(13425),rg=a.n(rp),RightWordTooltipButton=e=>{var{className:t}=e,a=(0,eB.rS)(),{isFinishedRightNow:r}=(0,eB.gT)(),{isVisible:i,hide:n,toggle:o}=useVisibilityToggle(r),s=eU.O.RightWordTooltipButton,l=(0,ej.useCallback)(()=>{a.trackThematicWordAction(tu.C5.ClickQuestionButton),o()},[o,a]);return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("button",{onPointerDown:e=>e.stopPropagation(),onClick:l,className:eD()(rg().root,t),id:s,children:a1[Y.Question]}),(0,ex.jsx)(ThematicWordTooltipContainer,{isVisible:i,elementSelector:"#".concat(s),elementContainerSelector:"#".concat(eU.O.ResultModal),hide:n})]})};a(45466),a(68380);var rh=a(47197);(X||(X={})).RTBOfferGate="RTBOfferGate",(Q||(Q={})).Close="close";var useRTBBannerOnClose=e=>{(0,ej.useEffect)(()=>{var handleMessage=t=>{var a,r;(null==t?void 0:null===(a=t.data)||void 0===a?void 0:a.type)===X.RTBOfferGate&&(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.name)===Q.Close&&(null==e||e())};return window.addEventListener("message",handleMessage),()=>window.removeEventListener("message",handleMessage)},[e])},rf=a(33398),rx=a.n(rf),RTBBanner=e=>{var{data:t,isVisible:a,onClose:r,className:i}=e;useRTBBannerOnClose(r);var n=(0,ej.useRef)(null);return(0,ej.useEffect)(()=>{n.current&&(n.current.style.maxHeight=a?"".concat(n.current.scrollHeight,"px"):"0px")},[a]),(0,ex.jsx)("div",{ref:n,className:eD()(rx().root,i),children:(0,ex.jsx)(rh.Vw,{data:t})})},rv=a(55971),rw=a.n(rv),AppUpdateReminder=()=>{var{imageSrc:e,title:t,description:a,button:r}=(0,tc.r)("AppUpdateReminder"),i=(0,eB.rS)();return(0,ex.jsxs)("div",{className:rw().root,children:[(0,ex.jsxs)("div",{className:rw().block,children:[(0,ex.jsx)(Image_Image,{className:rw().image,src:e,alt:""}),(0,ex.jsx)("p",{className:rw().title,children:t}),(0,ex.jsx)("p",{className:rw().description,children:a})]}),(0,ex.jsx)(tj,{className:rw().button,size:V.Medium,link:r.link,onClick:i.trackClickUpdateApp,children:r.title})]})},rC=a(32314),rb=a.n(rC);(v=J||(J={})).Default="default",v.Winter="winter",v.Spring="spring",($||($={})).Lecar="lecar";var DrawTicketCard=e=>{var{currentTicketNumber:t,onClickButton:a}=e,{Result:{drawTicketCard:{name:r,description:i,button:n,visual:o}}}=(0,tc.r)("Modals"),{theme:s}=(0,tc.r)("Modals").Draw,{img:{src:l}}=(0,to.RH)(o[J.Default],o[s]);return(0,ex.jsx)(rn,{name:r.replace("%index%",t.toString()),description:i,mainButton:{title:n.title,className:rb().mainButton,onClick:a,theme:W.Primary},imageLink:l,imageClassName:rb().image,buttonsClassName:rb().buttons})},rj=a(92717),rk=a.n(rj),AdditionalDrawTicketsInfoCardView=e=>{var{className:t,imageSrc:a,text:r,onMount:i}=e;return(0,ej.useEffect)(i,[]),(0,ex.jsxs)("div",{className:eD()(rk().card,t),children:[(0,ex.jsx)(Image_Image,{src:a,alt:"",className:rk().image}),r]})},AdditionalDrawTicketsInfoCard=e=>{var{className:t}=e,{Result:{additionalDrawTicketsInfoCard:a}}=(0,tc.r)("Modals"),{img:{src:r},text:i}=a,n=(0,eB.rS)(),{markAsIsShownAdditionalTicketsInfoCard:o,shouldShowAdditionalTicketsInfo:s}=(0,eB.H9)();if(s)return(0,ex.jsx)(AdditionalDrawTicketsInfoCardView,{className:t,imageSrc:r,text:i,onMount:()=>{n.trackAdditionalDrawTicketInfoShown(),o()}})},ry=(0,eb.Pi)(e=>{var t=(0,eB.s9)(),a=(0,eB.gT)(),r=(0,eB.LM)(),i=(0,eB.jf)(),n=(0,eB.T8)(),o=(0,eB.bW)(),s=(0,eB.nw)(),l=(0,eB.ij)(),c=(0,eB.rS)(),d=(0,eB.lH)(),{isVisible:u,hide:m}=useVisibilityToggle(!0);useLogRenderResult(aR.y8.GameResult,d.isLoading);var{Result:_}=(0,tc.r)("Modals"),{win:p,lose:g}=_,{shareTemplate:h}=p.shareButton,{isFinished:f,currentRowIndex:x,isWon:v,isLost:w,dailyWord:C,isThematicDailyWordActive:b,isFinishedRightNow:j}=a,{rtbOfferData:k,isViewedRTBOffer:y,closeRTBBanner:S}=n,T=(0,ej.useMemo)(()=>r.isSubscribed,[]),N=(0,ej.useMemo)(()=>j,[]);(0,ej.useEffect)(()=>{j&&c.trackShowResultModal(v)},[j,v,c]);var{onClickReceive:B,htmlElementStyle:I}=useReceiveAnimation({HTMLElementId:eU.O.GiftButton,onAnimationFinished:()=>{i.setHasNewGift(!0),l.markAsIsViewedCurrentGift(),d.scrollToTheLastItemGroup()}}),D=createPluralizer(h.attemptsCount.one,h.attemptsCount.two,h.attemptsCount.five),E=x+1,M="".concat(h.description,"\n\n").concat(h.text," ").concat(E,"/").concat(eN.Do," ").concat(D(E)),L=useResultTitle(),onClickDrawTicketCardButton=()=>{c.trackClickGetDrawTicket(s.drawStatus),t.replaceModal(tZ.Z.Draw)};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({qaTag:eQ.BE.Modals.ResultModal.root},e),{isVisible:u,isMaxHeight:!0,children:[(0,ex.jsx)(Modal.CloseButton,{}),(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:L,align:q.Center}}),(0,ex.jsxs)("div",{className:aO().root,id:eU.O.ResultModal,children:[w&&C&&(0,ex.jsxs)("div",{className:aO().item,children:[(0,ex.jsx)("p",{className:aO().rightWordTitle,children:g.rightWordTitle}),(0,ex.jsxs)("p",{className:aO().rightWord,children:[C.word,b&&(0,ex.jsx)(RightWordTooltipButton,{className:aO().rightWordTooltipButton})]})]}),(0,ex.jsx)(tf,{isAnimated:!0,className:aO().item}),o.isAdditionalGamesSessionEnabled&&(0,ex.jsx)(tL,{onClick:()=>{m(),a.setShouldStartingAdditionalGame(!0),c.trackStartAdditionalGameButtonClick(!0)},className:aO().additionalGameButton}),o.isAdditionalGamesSessionEnabled&&(0,ex.jsx)(AdditionalDrawTicketsInfoCard,{className:aO().additionalDrawTicketsInfoCard}),N&&s.drawTicket&&!l.currentGift&&(0,ex.jsx)("div",{className:aO().item,children:(0,ex.jsx)(DrawTicketCard,{currentTicketNumber:s.drawTicket.currentTicketNumber,onClickButton:onClickDrawTicketCardButton})}),f&&i.isGiftsAvailable&&(0,ex.jsx)("div",{className:aO().item,children:(0,ex.jsx)(r_,{onClickReceive:e=>{c.trackClickGetPrize(),B(e)}})}),N&&s.drawTicket&&l.currentGift&&(0,ex.jsx)("div",{className:aO().item,children:(0,ex.jsx)(DrawTicketCard,{currentTicketNumber:s.drawTicket.currentTicketNumber,onClickButton:onClickDrawTicketCardButton})}),k&&(0,ex.jsx)(RTBBanner,{className:eD()(aO().item,{[aO().hidden]:y}),data:k,isVisible:!y,onClose:S}),o.isAppUpdateRedirectEnabled?(0,ex.jsx)("div",{className:aO().item,children:(0,ex.jsx)(AppUpdateReminder,{})}):(0,ex.jsx)(ex.Fragment,{children:!T&&(0,ex.jsx)(a2,{className:eD()(aO().subscription,aO().item)})}),!o.isAdditionalGamesSessionEnabled&&(0,ex.jsx)(aF,{className:eD()(aO().timer,aO().item)}),v&&(0,ex.jsxs)("div",{className:eD()(aO().item,aO().attemptsInner),children:[(0,ex.jsx)("p",{className:aO().numberOfAttemptsTitle,children:p.numberOfAttemptsTitle}),(0,ex.jsxs)("p",{className:aO().attempts,children:[(0,ex.jsx)("span",{className:aO().successful,children:E}),"/",eN.Do]}),(0,ex.jsx)(ShareButton,{text:p.shareButton.text,copiedText:p.shareButton.copiedText,shareTitle:h.title,shareText:M,shareLink:h.link,modalId:tZ.Z.Result,buttonName:p.shareButton.name,className:aO().shareButton})]}),T&&(0,ex.jsx)(a2,{className:aO().item})]})]})]})),I&&(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(GiftButton,{className:aO().giftButton,onClick:t.showGiftsModal,hasDotIndicator:i.isVisibleGiftsIndicator,style:(0,th._)((0,ta._)({},I),{position:"fixed",transitionDuration:"".concat(600,"ms")})})})]})}),rS=a(18914),rT=a.n(rS),NewDayModal=e=>{var{NewDay:{title:t,description:a,reloadButton:r}}=(0,tc.r)("Modals"),[i,n]=(0,ej.useState)(),{startHideModal:o,hideModal:s}=(0,eB.s9)(),{startNewDay:l}=(0,eB.fA)();return(0,ex.jsx)(Modal,(0,th._)((0,ta._)({},e),{isClosableOnlyByChildren:!0,isVisible:i,qaTag:eQ.BE.Modals.NewDayModal.root,onStartClose:o,onClose:()=>s(tZ.Z.NewDay),children:(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:t,align:q.Center,className:rT().title}}),(0,ex.jsx)("p",{className:rT().description,children:a}),(0,ex.jsx)(tj,{className:rT().reloadButton,onClick:()=>{n(!1),l()},children:r})]})}))},useErrorResources=e=>{var{Error:{defaultError:t,errors:a,backendErrors:r}}=(0,tc.r)("Modals");if(!e)return t;var{errorCode:i}=e,n=a.find(t=>t.errorCodes.includes(e.errorCode))||r.find(t=>i.startsWith(t.errorCodePrefix)||t.instanceOf&&e instanceof t.instanceOf);return null!=n?n:t},rN=a(43603),rB=a(20826),rI=a(29918),rD=a(91534),ErrorModal=e=>{var{errorInfo:t,onOpen:a}=e,{text:r,title:i,button:n,isErrorCodeVisible:o,modalPortalSelector:s}=useErrorResources(t),{hideModal:l}=(0,eB.s9)();(0,ej.useEffect)(()=>{null==a||a()},[]);var c=n&&(0,rB.ZT)(n)?{text:n.text,onClick:()=>{switch(n.action){case aZ._2.Reload:location.reload();break;case aZ._2.Close:l(tZ.Z.Error)}}}:void 0,d=n&&(0,rB.tO)(n)?n:void 0;return(0,rD.A)(null==t?void 0:t.errorCode,n&&(0,rB.ZT)(n)?n.action:void 0),(0,ex.jsx)(Portal,{selector:null!=s?s:"body",children:(0,ex.jsx)(rN.C,{title:i,description:r,errorCode:null==t?void 0:t.errorCode,timestamp:null==t?void 0:t.timestamp,requestId:null==t?void 0:t.requestId,isErrorCodeVisible:!!o,button:c,link:d,position:s?rI.q.Absolute:rI.q.Fixed})})},TechnicalWorkModal=()=>{var{TechnicalWork:{title:e,description:t}}=(0,tc.r)("Modals");return(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(rN.C,{dataQa:eQ.BE.Modals.TechnicalWorkModal.root,title:e,description:t,isErrorCodeVisible:!1})})},rE=a(38082),rM=a.n(rE),rL=a(76019),rR=a.n(rL),Content=e=>{var{className:t,style:a,onClick:r,children:i}=e;return(0,ex.jsx)("div",{className:eD()(rR().root,t),style:a,onClick:r,children:i})},LinkIcon=e=>{var{className:t}=e;return(0,ex.jsxs)("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsxs)("mask",{id:"mask0_3083_57985",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"5",width:"24",height:"15",children:[(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5.5H5C2.23858 5.5 0 7.73858 0 10.5V19.5H10V16.5H3V11.5C3 9.84315 4.34314 8.5 6 8.5H10V5.5ZM14 16.5H18C19.6569 16.5 21 15.1569 21 13.5V8.5H14V5.5H24V14.5C24 17.2614 21.7614 19.5 19 19.5H14V16.5Z",fill:"black"}),(0,ex.jsx)("path",{d:"M6.5 13.5C6.5 12.1193 7.61929 11 9 11H17.5V11.5C17.5 12.8807 16.3807 14 15 14H6.5V13.5Z",fill:"black"})]}),(0,ex.jsx)("g",{mask:"url(#mask0_3083_57985)",children:(0,ex.jsx)("rect",{width:"24",height:"24",fill:"#FFDD2D"})})]})},YellowInfoIcon=e=>{var{className:t}=e;return(0,ex.jsxs)("svg",{className:t,width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("mask",{id:"mask0_3044_71824",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"7",y:"1",width:"12",height:"20",children:(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5C10.8954 5 10 4.10457 10 3V1H13C14.1046 1 15 1.89543 15 3V5H12ZM15 17H16.5C17.6046 17 18.5 17.8954 18.5 19V21H9.5C8.39543 21 7.5 20.1046 7.5 19V17H11V11.5H10.5C9.39543 11.5 8.5 10.6046 8.5 9.5V8H13C14.1046 8 15 8.89543 15 10V17Z",fill:"black"})}),(0,ex.jsx)("g",{mask:"url(#mask0_3044_71824)",children:(0,ex.jsx)("path",{d:"M0.5 0H24.5V24H0.5V0Z",fill:"#FFDD2D"})})]})},rP=a(40750),rG=a.n(rP),rA=a(65378),rH=a.n(rA),rO=a(55198),rW=a.n(rO),StatItem=e=>{var{description:t,value:a,isSynchronized:r,className:i,postfix:n,qaTag:o,tooltipText:s,onTooltipClose:l,isTooltipOpened:c=!1,muted:d=!1,isEnabled:u=!0,parentElement:m}=e,_=(0,ej.useRef)(null),[p,g]=(0,ej.useState)(),h=(0,ej.useCallback)(()=>{_.current&&m&&g(_.current.getBoundingClientRect().top-m.getBoundingClientRect().top)},[m]);return(0,ex.jsxs)("div",{className:eD()(rW().root,i,{[rW().muted]:d,[rW().enabled]:u}),"data-qa":o,ref:_,children:[(0,ex.jsxs)("p",{className:rW().description,children:[t,s&&(0,ex.jsx)(TooltipButton,{className:rW().tooltipButton,size:K.Small,type:Y.Info,tooltipText:s,isOpened:c,onClose:l,onClick:h,offsets:{minDistanceToTopEdge:p,tooltipVertical:8+tn.tooltipVertical},y:"50%",isCentered:!0})]}),r?(0,ex.jsxs)("p",{className:rW().value,children:[(0,ex.jsx)(AnimatedCounterResolver,{number:a,fractionalPartLength:2,durationMS:1e3}),n]}):(0,ex.jsx)("div",{className:rW().loaderWrapper,children:(0,ex.jsx)(e1.a,{className:rW().loader})})]})},StatItemList=e=>{var{items:t,isSynchronized:a,parentElement:r}=e;return t.length?(0,ex.jsx)("div",{className:rH().root,children:t.map((e,t)=>(0,ex.jsx)(StatItem,(0,th._)((0,ta._)({},e),{isSynchronized:a,className:eD()({[rH().mutedStatItem]:e.muted}),parentElement:r}),t))}):null},rV=a(86760),useStatisticsWithDelay=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,t=(0,eB.yI)(),a=(0,eB.y0)(),{isSynchronized:r,statistics:i}=a,n=(0,eB.C5)(),o=(0,ej.useRef)(null),s=a.getStoredGameStatistics(),[l,c]=(0,ej.useState)(i);return(0,ej.useEffect)(()=>{a.syncWithServer()},[a]),(0,ej.useEffect)(()=>{if(r){if(t.isUserStatChanged(i)&&s){c((0,eG.Zi)(s,i));var l=(0,eG.Zi)(i,s);o.current=n.setTimeout(()=>{c(l)},e)}else c(i);a.saveGameStatisticsToStorage()}return()=>{o.current&&n.clearTimeout(o.current)}},[r,i,n,e,a,t,s]),{isSynchronized:r,statistics:l}},rF=(0,eb.Pi)(e=>{var{parentElement:t}=e,a=(0,eB.OY)(),r=(0,eB.rS)(),i=eQ.BE.Statistics,{currentStep:n,nextStep:o}=a,{isSynchronized:s,statistics:l}=useStatisticsWithDelay(),{isEnergyOnboardingEnabled:c,isAdditionalGamesSessionEnabled:d}=(0,eB.bW)();(0,ej.useEffect)(()=>{r.trackShowStats()},[r]);var{GameInfo:{statisticsLabels:u,statistics:{title:m,description:_}}}=(0,tc.r)("Modals"),p=n!==rV.s.StatItemHint,g=[(0,th._)((0,ta._)({},u.winRatePercent),{qaTag:i.winRatePercent,value:l.winRatePercent,isTooltipOpened:n===rV.s.StatItemHint,onTooltipClose:o}),(0,th._)((0,ta._)({},u.averageAttemptCount),{qaTag:i.averageAttemptCount,value:l.averageAttemptCount,isEnabled:p}),(0,th._)((0,ta._)({},u.guessedWordCount),{qaTag:i.guessedWordCount,value:l.guessedWordCount,isEnabled:p}),(0,th._)((0,ta._)({},u.winStreakInDays),{qaTag:i.winStreakInDays,value:l.currentWinStreakInDays,isEnabled:p})];return+l.bestWinStreakInDays>+l.currentWinStreakInDays&&g.push((0,th._)((0,ta._)({},u.prevWinStreakInDays),{qaTag:i.prevWinStreakInDays,value:l.bestWinStreakInDays,muted:!0})),(0,ex.jsxs)(Content,{className:rG().content,children:[c&&d&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:rG().title,children:m}),(0,ex.jsx)("div",{className:rG().description,children:_})]}),(0,ex.jsx)(StatItemList,{isSynchronized:s,items:g,parentElement:t})]})}),rU=a(99021),rZ=a.n(rU),rq=eU.Zo.Fast;(w=ee||(ee={})).Pressing="pressing",w.Pressed="pressed",w.Unpressing="unpressing",w.Unpressed="unpressed",w.Canceling="canceling";var PressScale=e=>{var{className:t,children:a,onUnpress:r,onClick:i}=e,n=(0,ej.useRef)(null),o=(0,ej.useRef)(!1),[s,l]=(0,ej.useState)("unpressed");(0,ej.useEffect)(()=>{var e,t,a,i,c,d,onPointerDown=e=>{var t;o.current=!1,null===(t=n.current)||void 0===t||t.setPointerCapture(e.pointerId),l("pressing")},onPointerUp=()=>{o.current=!0;var e="pressed"===s;if(n.current&&!e){var t=n.current.getBoundingClientRect().width/n.current.offsetWidth;e=(0,eG.Xy)(t,.95,.01)}e&&l("unpressing")},onPointerCancel=()=>l("canceling"),onTransitionEnd=e=>{if(e.target===n.current)switch(s){case"pressing":l(o.current?"unpressing":"pressed");break;case"pressed":break;case"unpressing":l("unpressed"),null==r||r();break;case"canceling":l("unpressed")}};return null===(e=n.current)||void 0===e||e.addEventListener("pointerdown",onPointerDown),null===(t=n.current)||void 0===t||t.addEventListener("pointerup",onPointerUp),null===(a=n.current)||void 0===a||a.addEventListener("pointercancel",onPointerCancel),null===(i=n.current)||void 0===i||i.addEventListener("touchend",onPointerUp),null===(c=n.current)||void 0===c||c.addEventListener("transitionend",onTransitionEnd),null===(d=n.current)||void 0===d||d.addEventListener("transitioncancel",onTransitionEnd),()=>{var e,t,a,r,i,o;null===(e=n.current)||void 0===e||e.removeEventListener("pointerdown",onPointerDown),null===(t=n.current)||void 0===t||t.removeEventListener("pointerup",onPointerUp),null===(a=n.current)||void 0===a||a.removeEventListener("pointercancel",onPointerCancel),null===(r=n.current)||void 0===r||r.removeEventListener("touchend",onPointerUp),null===(i=n.current)||void 0===i||i.removeEventListener("transitionend",onTransitionEnd),null===(o=n.current)||void 0===o||o.removeEventListener("transitioncancel",onTransitionEnd)}},[r,s]);var c="pressing"===s||"pressed"===s;return(0,ex.jsx)("div",{ref:n,draggable:"false",className:eD()(rZ().root,{[rZ().pressed]:c},t),style:{transitionDuration:"".concat(rq,"ms")},onClick:i,children:a})},rz=(0,eb.Pi)(e=>{var t=(0,eB.G3)(),a=(0,eB.s9)(),r=(0,eB.LM)(),i=(0,eB.bW)(),n=(0,eB.rS)(),{currentStep:o,nextStep:s}=(0,eB.OY)(),l=(0,eB.y0)();useLogRenderResult(aR.y8.UserStatistics,l.isLoading);var{GameInfo:{title:c,subscription:d,buttons:u}}=(0,tc.r)("Modals"),[m,_]=(0,ej.useState)(null),{isCopied:p,onClickShare:g}=useShare({title:u.share.template.title,text:u.share.template.text,url:u.share.template.link,modalId:tZ.Z.GameInfo,buttonName:u.share.name,changeStateDelayMs:rq}),h=void 0===t.nextDailyWordIn;return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({qaTag:eQ.BE.Modals.GameInfoModal.root},e),{isMaxHeight:!0,children:[(0,ex.jsx)(Modal.CloseButton,{}),(0,ex.jsxs)(Modal.Container,{onMounted:_,children:[(0,ex.jsx)(Modal.Header,{title:{text:c,align:q.Center}}),(0,ex.jsx)(rF,{parentElement:m}),i.isAppUpdateRedirectEnabled?(0,ex.jsx)("div",{className:rM().subscriptionBlock,children:(0,ex.jsx)(aF,{})}):(0,ex.jsxs)(Content,{className:rM().subscriptionBlock,children:[(0,ex.jsxs)("div",{className:rM().subscription,children:[(0,ex.jsxs)("div",{className:rM().title,children:[d.title,(0,ex.jsx)(TooltipButton,{type:Y.Info,tooltipText:d.tooltip,isOpened:o===rV.s.SubscriptionHint,onClose:s,className:rM().toggleButton})]}),h?(0,ex.jsx)(e1.a,{className:rM().loader}):(0,ex.jsx)("div",{className:rM().subscriptionToggle,children:(0,ex.jsx)(Toggle,{isEnabled:r.isSubscribed,onClick:()=>{n.trackToggleNotifications(tZ.Z.GameInfo,!r.isSubscribed),r.toggleSubscription()}})})]}),(0,ex.jsx)(aF,{showOnlyTimer:!0,className:rM().nextWordTimer}),(0,ex.jsx)("p",{className:rM().nextWordTimerHint,children:d.nextWordTimerHint})]}),(0,ex.jsxs)("div",{className:rM().buttons,children:[(0,ex.jsx)(PressScale,{className:rM().buttonWrapper,onUnpress:()=>{m&&(a.showRules(m.clientHeight),n.trackRulesButtonClick())},children:(0,ex.jsxs)(Content,{className:rM().button,children:[(0,ex.jsxs)("div",{className:rM().buttonHeader,children:[u.rules.title,(0,ex.jsx)(YellowInfoIcon,{className:rM().buttonIcon})]}),(0,ex.jsx)("p",{className:rM().buttonDescription,children:u.rules.description})]})}),(0,ex.jsx)(PressScale,{className:rM().buttonWrapper,onClick:g,children:(0,ex.jsxs)(Content,{className:rM().button,children:[(0,ex.jsxs)("div",{className:rM().buttonHeader,children:[u.share.title,(0,ex.jsx)(LinkIcon,{className:rM().buttonIcon})]}),(0,ex.jsx)("p",{className:rM().buttonDescription,children:p?u.share.copiedText:u.share.description})]})})]})]})]}))}),rK=a(35024),rY=a.n(rK),rX=(0,eb.Pi)(()=>{var{shouldSyncUpcomingGifts:e,isUpcomingGiftsLoading:t,upcomingGifts:a,checkIfUpcomingGiftsRequestDayChanged:r,syncUpcomingGiftsWithServer:i}=(0,eB.jf)(),{inactiveGiftIndexes:n,isGiftsOnboardingFinished:o,isInactiveTabs:s}=(0,eB.Ck)(),{topGiftOnboardingActive:l,getInactiveGiftFlagByIndex:c}=(0,eB.KT)(),{Gifts:{tabs:{upcoming:{tabDisclaimer:d}}}}=(0,tc.r)("Modals");return(0,ej.useEffect)(()=>{r(),i()},[r,i]),(0,ex.jsx)("div",{id:eU.O.UpcomingGifts,className:rY().gifts,children:e||t?(0,ex.jsx)(e1.a,{className:rY().loader}):(0,ex.jsxs)(ex.Fragment,{children:[a.map((e,t)=>(0,ex.jsx)(rm,{className:eD()(rY().giftItem,{[rY().inactive]:n.includes(t)||c(t),[rY().notClickable]:!o||l}),gift:e,isShining:e.giftClass===eK.eC.Top},"upcoming_gift_".concat(t))),(0,ex.jsx)("div",{className:eD()(rY().disclaimer,{[rY().inactive]:s||l}),children:d})]})})}),useLoadOnScroll=e=>{var{loadNextItems:t,hasNext:a,bottomDistance:r=eU.qY,scrollableContainerClass:i=eU.Yj}=e,n=(0,ej.useRef)(null),[o,s]=(0,ej.useState)(!1);return(0,ej.useEffect)(()=>{var e,l,c=null===(l=n.current)||void 0===l?void 0:l.closest(".".concat(i));if(c){var d=(e=(0,aU._)(function*(){var e=n.current;e&&!o&&e.clientHeight+e.getBoundingClientRect().top-c.clientHeight<r&&(c.removeEventListener("scroll",d),s(!0),t().finally(()=>{s(!1)}))}),function(){return e.apply(this,arguments)});if(a)return c.addEventListener("scroll",d),()=>{c.removeEventListener("scroll",d)}}},[t,o,a,r,i]),{wrapperRef:n,isLoading:o}},rQ=a(69791),rJ=a.n(rQ),NoGifts=e=>{var{image:t,title:a,subtitle:r,button:i,imageAspectRatio:n=1}=e;return(0,ex.jsxs)("div",{className:rJ().root,children:[(0,ex.jsx)(tN,{className:rJ().imageWrapper,aspectRatio:n,children:(0,ex.jsx)(Image_Image,{className:rJ().image,src:t,alt:a||""})}),a&&(0,ex.jsx)("p",{className:rJ().title,children:a}),r&&(0,ex.jsx)("p",{className:rJ().subtitle,children:r}),i&&(0,ex.jsx)(tj,{link:i.link,className:rJ().button,theme:W.Dark,size:V.Medium,children:i.text})]})},r$=a(92750);function transformWithZ(e,t){var{x:a,y:r,z:i,scale:n}=e,o="";return(a||r||i)&&(o="translateX(".concat(a||0,") translateY(").concat(r||0,") translateZ(").concat(i||0,")")),void 0!==n&&(o+=" scale(".concat(n,")")),o}var r0=(0,ej.memo)(e=>{var{count:t,start:a,end:r,durationMs:i=2e3,directionMultiplier:n=-.2,children:o,onAnimationComplete:s,onFillUp:l}=e,[c,d]=(0,ej.useState)(!1);if(c)return null;var u=Math.sqrt(a.left*a.left+r.left*r.left),m=i/1e3/2/t,_=m*(t+1),getMiddleX=()=>("number"==typeof n?[n]:n).map(e=>a.left+u*e),p=r.height/a.height,g=130/a.height;return(0,ex.jsx)(ex.Fragment,{children:(0,ez.i7)(t).map(e=>{var i=e*m;return(0,ex.jsx)(r$.E.div,{style:{position:"fixed",zIndex:1e4,left:0,top:0,transformOrigin:"center"},transition:{duration:_,delay:i,ease:"easeInOut"},initial:{x:a.left,y:a.top,scale:1,z:0},transformTemplate:transformWithZ,onAnimationComplete:()=>{if(e===t-1){null==s||s(),d(!0);return}0===e&&(null==l||l())},animate:{opacity:[0,.5,1,1,1,1,1,1,1,1,0],x:[a.left,...getMiddleX(),r.left-r.width/2],y:[a.top,r.top-r.height/2],z:0,scale:[1,1,.6*g,g,.5*g,p,p]},children:o},e)})})});r0.displayName="FillingAnimation";var r1=(0,eb.Pi)(e=>{var{count:t,startRect:a,onAnimationComplete:r,directionMultiplier:i,theme:n}=e,{isChargingEnergy:o,completeChargingEnergy:s}=(0,eB.gq)(),[l]=useElementBoundingRect("#".concat(eU.O.EnergyButtonIcon),!0);return l&&0!==l.width&&o?(0,ex.jsx)(r0,{start:a,end:l,directionMultiplier:i,durationMs:2*getEnergyChangeDurationMs(t,!0),count:t,onAnimationComplete:()=>{s(),null==r||r()},children:(0,ex.jsx)(tM,{style:{width:a.width,height:a.height},theme:n,withShadow:!0})}):null}),r2=a(81979),r3=a(62641),r5=a.n(r3),EnergyCurrentGiftCard=e=>{var t,{cardProps:a,gift:r,trackMainButtonClick:i,expirationHint:n}=e,{chargeRewardEnergy:o,handleEnergyState:s,finishChargingRewardEnergy:l}=(0,eB.Zv)(),c=(0,eB.jf)(),d=(0,eB.s9)(),u=(0,eB.C5)(),m=(0,ej.useRef)(null),_=(0,ej.useRef)(null),p=(0,ej.useRef)(null),g=(0,ej.useCallback)(()=>({main:{title:r.receiveGiftText,onClick:()=>{i(),o(r)},isLoading:c.energyRewardChargingId===r.userBundleId,beforeContent:(0,ex.jsx)(tM,{ref:m,className:r5().energyImage})}}),[r,o,c.energyRewardChargingId])(),h=useElementBoundingRect(m),f=_.current,x=null==f?void 0:f.getBoundingClientRect(),v=null!==(t=null==x?void 0:x.height)&&void 0!==t?t:0,handleAnimationEndState=()=>{if(l(r),f){var e=f.closest(".".concat(eU.Yj)),t=null==e?void 0:e.scrollTop;d.setGiftModalScrollPosition(null!=t?t:null)}s()},onCardHidingEnd=()=>{if(f){var e=(0,r2.T)(f);e.forEach(e=>{e.style.transition="transform ".concat(200,"ms linear"),e.style.transform="translateY(-".concat(v,"px)")}),e?p.current=u.setTimeout(()=>{e.forEach(e=>{e.style.transition="",e.style.transform=""}),handleAnimationEndState()},200):handleAnimationEndState()}};return(0,ej.useEffect)(()=>()=>{f&&(f.removeEventListener("transitionend",onCardHidingEnd),p.current&&u.clearTimeout(p.current))},[]),(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(rn,(0,th._)((0,ta._)({},a),{cardClassName:r5().card,mainButton:null==g?void 0:g.main,expirationHint:n,id:"gift-card-".concat(r.id),ref:_})),(0,ex.jsx)(Portal,{selector:"body",children:h&&c.energyRewardChargingId===r.userBundleId&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(r1,{directionMultiplier:0,count:r.config.amount,onAnimationComplete:()=>{f&&(f.classList.add(r5().hidingCard),f.addEventListener("transitionend",onCardHidingEnd))},startRect:h}),(0,ex.jsx)("div",{className:r5().overlay})]})})]})},BaseCurrentGiftCard=e=>{var{cardProps:t,gift:a,trackMainButtonClick:r,trackDetailsButtonClick:i,expirationHint:n}=e,o=(0,eB.Xu)(),s=(0,ej.useCallback)(()=>({main:{title:a.receiveGiftButton.text,onClick:()=>{var e;r(),null===(e=o.tryCreateLink(a.receiveGiftButton.link))||void 0===e||e.click()}},details:a.detailsButton?{onClick:()=>{var e;null==i||i(),null===(e=o.tryCreateLink(a.detailsButton.link))||void 0===e||e.click()}}:void 0}),[a])();return(0,ex.jsx)(rn,(0,th._)((0,ta._)({},t),{mainButton:null==s?void 0:s.main,detailsButton:null==s?void 0:s.details,expirationHint:n,id:"gift-card-".concat(a.id)}))},r4=a(6503),r9=(0,eb.Pi)(e=>{var{gift:t,modalId:a,className:r}=e,i=(0,eB.rS)(),n=(0,eB.NV)(),o=(0,eB.Vf)(),{pendingHint:s,secretGift:l}=n.GiftCardV2.CurrentGiftCard,{showExpireHintIfDaysToExpireLessOrEqualThan:c}=o.Gifts,{expireHint:{prefix:d}}=n.GiftCardV2,u=t.status===re.iU.Pending,m=t.giftClass===re.eC.Top,_={name:u&&!m?l.name:t.name,imageLink:useGiftImage(t),className:r,isHighlighted:t.isNew},getExpirationHint=()=>t.daysToExpire<=c?"".concat(d," ").concat((0,ru.formatDateToExtendedDayMonthRuLocale)(t.lastUsageDate)):"",trackMainButtonClick=()=>{i.trackCurrentGiftReceiveButtonClick(t.id,t.name,(0,r4.C)(t)?t.receiveGiftText:t.receiveGiftButton.text,a)};return u?(0,ex.jsx)(rn,(0,th._)((0,ta._)({},_),{subtitle:s.phrase,isPending:!0})):(0,r4.C)(t)?(0,ex.jsx)(EnergyCurrentGiftCard,{cardProps:_,gift:t,trackMainButtonClick:trackMainButtonClick,expirationHint:getExpirationHint()}):(0,ex.jsx)(BaseCurrentGiftCard,{cardProps:_,gift:t,trackMainButtonClick:trackMainButtonClick,trackDetailsButtonClick:()=>i.trackCurrentGiftDetailsButtonClick(t.id,t.name,a),expirationHint:getExpirationHint()})}),ExpiredGiftCard=e=>{var{gift:t,className:a}=e,{expiredHint:r}=(0,eB.NV)().GiftCardV2,i=useGiftImage(t);return(0,ex.jsx)(rn,{className:a,name:t.name,description:r.phrase,imageLink:i,isExpired:!0})},r6=(0,eb.Pi)(()=>{var{shouldSyncCurrentRewards:e,shouldSyncExpiredRewards:t,isCurrentRewardsLoading:a,currentRewards:r,loadNextExpiredGifts:i,expiredGiftsState:{hasNext:n},expiredRewards:o,isExpiredRewardsLoading:s,updateViewedGifts:l,syncCurrentRewardsWithServer:c,syncExpiredRewardsWithServer:d,tryUpdatePendingCurrentRewards:u}=(0,eB.jf)(),m=(0,eB.s9)(),{isInGameGiftsEnabled:_}=(0,eB.bW)(),{noGifts:p}=(0,tc.r)("Modals").Gifts.tabs.received,g=(0,eB.C5)(),{wrapperRef:h,isLoading:f}=useLoadOnScroll({hasNext:!_&&n,loadNextItems:i}),x=e&&a||t&&s,v=r.length||o.length;useUnmount(l),(0,ej.useEffect)(()=>(g.addEventListener("beforeunload",l),()=>{g.removeEventListener("beforeunload",l)}),[l,g]),(0,ej.useEffect)(()=>{if(0!==r.length){var e=u();return()=>{null==e||e()}}},[r.length,u]),(0,ej.useEffect)(()=>{c(),d()},[c,d]),(0,ej.useEffect)(()=>{if(!x&&m.giftModalScrollAmount){var e,t=null===(e=h.current)||void 0===e?void 0:e.closest(".".concat(eU.Yj));t&&(t.scrollTop=m.giftModalScrollAmount),m.setGiftModalScrollPosition(null)}},[]);var w=v?(0,ex.jsxs)(ex.Fragment,{children:[null==r?void 0:r.map(e=>(0,ex.jsx)(r9,{className:rY().giftItem,gift:e,modalId:tZ.Z.Gifts},"current_gift_".concat((0,r4.C)(e)?e.userBundleId:e.id))),null==o?void 0:o.map(e=>(0,ex.jsx)(ExpiredGiftCard,{className:rY().giftItem,gift:e},"expired_gift_".concat(e.id))),f&&(0,ex.jsx)(e1.a,{className:rY().giftsLoader})]}):(0,ex.jsx)(NoGifts,(0,ta._)({},p));return(0,ex.jsx)("div",{className:rY().gifts,ref:h,children:x?(0,ex.jsx)(e1.a,{className:rY().loader}):w})}),r8=a(37726),r7=a.n(r8),ie=a(99805),it=a.n(ie),ia=(0,ej.memo)(e=>{var{items:t,activeTabIndex:a,onTabChange:r,theme:i,fontFamily:n,isInactive:o,className:s}=e,l=(0,eB.C5)(),[c,d]=(0,ej.useState)(),u=(0,ej.useRef)(null),{isFontLoaded:m}=useFontLoader({fontName:n}),_=(0,ej.useCallback)((e,t)=>{e.stopPropagation(),t!==a&&(d({width:e.currentTarget.clientWidth,left:e.currentTarget.offsetLeft}),r(t,a))},[a,r]),p=(0,ej.useCallback)(()=>{var e,t=null===(e=u.current)||void 0===e?void 0:e.querySelector(".".concat(it().item,".").concat(it().active));if(t){var a={width:t.clientWidth,left:t.offsetLeft};c&&(0,to.BD)(a,c)||d(a)}},[c]);return((0,ej.useEffect)(()=>{p()},[a,p]),(0,ej.useLayoutEffect)(()=>{if(!(t.length<2))return p(),(0,eL.C)(l,p),()=>(0,eL.D)(l,p)},[t.length]),(0,ej.useLayoutEffect)(()=>{m&&p()},[m]),t.length<=1)?null:(0,ex.jsxs)("div",{className:eD()(it().root,{[it().inactive]:o},s),"data-theme":i,"data-active-tab-index":a,ref:u,style:{"--active-index":a,"--selected-item-left-pos":"".concat(null==c?void 0:c.left,"px"),"--selected-item-width":"".concat(null==c?void 0:c.width,"px")},children:[(0,ex.jsx)("span",{className:it().selector}),t.map((e,t)=>{var{title:r,id:i}=e;return(0,ex.jsx)("div",{"data-qa":"".concat(eQ.BE.TabsNav.itemPrefix).concat(i),className:eD()(it().item,{[it().active]:t===a}),onClick:e=>_(e,t),children:(0,ex.jsx)("div",{className:it().title,children:r})},t)})]})});ia.displayName="TabsNav",(C=et||(et={})).Default="default",C.StrongLight="strongLight",C.Flat="flat";var Tabs=e=>{var{initialTabIndex:t=0,tabIndex:a,items:r,onTabChange:i,theme:n=et.Default,navFontFamily:o=eU.av.Roboto,isInactiveTabs:s,tabsClassName:l}=e,c=t<=r.length?t:0,[d,u]=(0,ej.useState)(c);(0,ej.useEffect)(()=>{null==i||i(d,null)},[]),(0,ej.useEffect)(()=>{void 0!==a&&u(a)},[a]);var m=(0,ej.useCallback)((e,t)=>{null==i||i(e,t),u(e)},[i]),_=(0,ej.useMemo)(()=>r[d].content,[d,r]);return r?(0,ex.jsxs)("div",{className:r7().root,"data-theme":n,children:[(0,ex.jsx)(ia,{items:r,onTabChange:m,activeTabIndex:d,fontFamily:o,theme:n,isInactive:s,className:l}),_]}):null},ir=a(91305),ii=a(6227),io=a.n(ii),is=(0,eb.Pi)(e=>{var{isVisible:t,tooltip:a,giftClass:r,onClick:i}=e,n="#".concat(eU.O.UpcomingGifts,' [data-gift-class="').concat(r,'"]'),o=useElementBoundingRect(n);return(0,eB.jf)().upcomingGifts.find(e=>e.giftClass===r)&&o?(0,ex.jsx)(Portal,{selector:n,children:(0,ex.jsx)(Tooltip,{className:io().tooltip,isVisible:t,x:o.width/2,y:0,position:P.Absolute,onClick:i,onPointerDownOutside:i,children:a})}):null}),il=(0,eb.Pi)(()=>{var{steps:{SecretGift:e,TopGift:t}}=(0,tc.r)("GiftsOnboarding"),a=(0,eB.Ck)(),r=(0,eB.s9)(),{currentStep:i}=a;return r.giftModalTabId!==tZ.P.Upcoming?null:(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(is,{isVisible:i===ir.$.SecretGift,giftClass:re.eC.Secret,tooltip:e.tooltip,onClick:a.nextStep}),(0,ex.jsx)(is,{isVisible:i===ir.$.TopGift,giftClass:re.eC.Top,tooltip:t.tooltip,onClick:a.nextStep})]})}),ic=(0,eb.Pi)(()=>{var{TopGift:e}=(0,tc.r)("TopGiftOnboarding"),{currentStep:t,complete:a}=(0,eB.KT)();return(0,ex.jsx)(is,{isVisible:t===ir.a.TopGift,giftClass:re.eC.Top,tooltip:e.tooltip,onClick:a})}),id=(0,eb.Pi)(e=>{var t=(0,eB.LM)(),a=(0,eB.s9)(),r=(0,eB.jf)(),i=(0,eB.Ck)(),n=(0,eB.KT)(),o=(0,eB.rS)(),{autoSetGiftModalTabId:s}=(0,eB.RV)(),[l,c]=(0,ej.useState)(!0);useLogRenderResult(aR.y8.UserGifts,r.isLoading);var{Gifts:{isGamer:d,title:u,subtitle:m,tabs:{upcoming:_,received:p}}}=(0,tc.r)("Modals"),g=i.isVisibleUpcomingGiftsIndicator||n.isVisibleUpcomingGiftsIndicator,h=[{id:tZ.P.Upcoming,title:(0,ex.jsxs)(ex.Fragment,{children:[_.tabTitle,g&&(0,ex.jsx)(AccentDot,{className:rY().accentDot})]}),content:(0,ex.jsx)(rX,{})},{id:tZ.P.Received,title:p.tabTitle,content:(0,ex.jsx)(r6,{})}],f=(0,ez._r)(h,tZ.P.Upcoming),x=(0,ez._r)(h,tZ.P.Received),v=a.giftModalTabId===tZ.P.Received?x:f,w=(0,ej.useCallback)((e,t)=>{var r=e===f;null!==t&&(r?o.trackClickUpcomingGiftsTab():o.trackClickCurrentGiftsTab()),a.setGiftModalTabId(r?tZ.P.Upcoming:tZ.P.Received)},[f,a,o]);(0,ej.useEffect)(()=>(s(),()=>{r.setHasNewGift(!1)}),[s,r,a]),(0,ej.useEffect)(()=>{a.hasEnergyOverlimitInQueue&&(a.startHideModal(),c(!1))},[a.hasEnergyOverlimitInQueue]);var C=a.giftModalTabId?(0,ex.jsx)(Tabs,{items:h,initialTabIndex:v,tabIndex:v,onTabChange:w,isInactiveTabs:i.isInactiveTabs||n.topGiftOnboardingActive}):(0,ex.jsx)(e1.a,{className:rY().loader});return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({qaTag:eQ.BE.Modals.GiftsModal.root},e),{isMaxHeight:!0,className:rY().root,isVisible:l,children:[(0,ex.jsx)(Modal.CloseButton,{shouldStopEventsPropagation:!i.isGiftsOnboardingFinished||!n.isTopGiftOnboardingFinished}),(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:u,align:q.Center},subtitle:t.isGamer?void 0:m}),t.isGamer?(0,ex.jsx)(NoGifts,(0,ta._)({},d)):C,(0,ex.jsx)(il,{}),(0,ex.jsx)(ic,{})]})]}))}),iu=a(56130),im=a.n(iu),i_=a(74619),ip=a.n(i_);(b=ea||(ea={})).Fill="fill",b.Stroke="stroke",(j=er||(er={})).Normal="normal",j.Medium="medium",j.Small="small";var ButtonLegacy=e=>{var{className:t,children:a,type:r=ea.Fill,size:i=er.Normal,link:n,onClick:o,textColor:s,buttonColor:l,id:c,disabled:d,attributes:u}=e,m=(0,ta._)({id:c,className:eD()(ip().root,t,{[ip().disabled]:d}),onClick:o,style:{color:s,background:l,borderColor:l},"data-type":r,"data-size":i},u);if(n){var _=(0,ta._)({target:"_blank",rel:"noreferrer"},m);return(0,ex.jsx)("a",(0,th._)((0,ta._)({href:n},_),{children:a}))}return(0,ex.jsx)("button",(0,th._)((0,ta._)({type:"button"},m),{disabled:d,children:a}))},ShareModal=e=>{var{onClose:t}=e,{GameInfo:{buttons:{share:a}},Share:{title:r,description:i,button:n}}=(0,tc.r)("Modals"),{isCopied:o,onClickShare:s}=useShare({title:a.template.title,text:a.template.text,url:"".concat(a.template.link,"?utm_source=share_modal"),modalId:tZ.Z.Share,buttonName:a.name});return(0,ex.jsx)(Modal,{qaTag:eQ.BE.Modals.ShareModal.root,onClose:t,children:(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:r,align:q.Center}}),(0,ex.jsx)("p",{className:im().description,children:i}),(0,ex.jsx)(ButtonLegacy,{className:im().button,onClick:s,children:o?a.copiedText:n})]})})},ig=a(22893),ih=a.n(ig);(k=ei||(ei={})).Idle="idle",k.Opening="opening",k.Opened="opened";var ix=a(37897),iv=a.n(ix),iw=a(53637);(y=en||(en={})).Loading="loading",y.Finished="loaded";var useImagesLoadStatus=e=>{var[t,a]=(0,ej.useState)("loading"),r=(0,eB.qf)();return(0,ej.useEffect)(()=>{var onChangeListener=t=>{e.every(e=>t[e]===iw.l5.Loaded||t[e]===iw.l5.Failed)&&a("loaded")};return r.loadAssets(e),r.addAssetsStatusesOnchangeListeners(onChangeListener),()=>{r.removeAssetsStatusesOnchangeListeners(onChangeListener)}},[r,e]),t},iC=a(52935),ib=a.n(iC),SpritePlayer=e=>{var{src:t,className:a,frameCount:r,animationDurationInSeconds:i,onAnimationEnd:n,isAnimated:o}=e,s={"--frame-count":r.toString(),"--animation-duration":"".concat(i,"s")};return(0,ex.jsx)("div",{className:eD()(ib().root,a),style:s,children:(0,ex.jsx)("div",{onAnimationEnd:n,className:eD()(ib().frame,{[ib().animated]:o}),style:{backgroundImage:"url(".concat(t,")")}})})},ij=a(89665),ik=a.n(ij),PredictionShadowAnimation=e=>{var{isAnimated:t,mainImageSrc:a,shadowImageSrc:r,className:i}=e,n=eD()(ik().root,i,{[ik().isAnimated]:t});return(0,ex.jsxs)("div",{className:n,children:[(0,ex.jsx)("div",{className:ik().shadow,style:{backgroundImage:"url(".concat(r,")")}}),(0,ex.jsx)("div",{className:ik().main,style:{backgroundImage:"url(".concat(a,")")}})]})},iy=(0,eb.Pi)(e=>{var{animationStatus:t,setAnimationStatus:a,className:r}=e,i=(0,ej.useRef)(null),{Predictions:{animation:n}}=(0,tc.r)("Modals"),o=(0,ej.useCallback)(()=>{t===ei.Opening&&a(ei.Opened)},[t,a]),s={[ei.Idle]:(0,ex.jsx)(PredictionShadowAnimation,(0,th._)((0,ta._)({},n[ei.Idle]),{isAnimated:t===ei.Idle,className:iv().shadowAnimation})),[ei.Opening]:(0,ex.jsx)(SpritePlayer,(0,th._)((0,ta._)({},n[ei.Opening]),{onAnimationEnd:o,isAnimated:t===ei.Opening})),[ei.Opened]:(0,ex.jsx)(PredictionShadowAnimation,(0,th._)((0,ta._)({},n[ei.Opened]),{isAnimated:t===ei.Opened,className:iv().shadowAnimation}))},l=useImagesLoadStatus([n[ei.Idle].mainImageSrc,n[ei.Idle].shadowImageSrc,n[ei.Opening].src,n[ei.Opened].mainImageSrc,n[ei.Opened].shadowImageSrc])===en.Finished;return(0,ex.jsxs)("div",{className:eD()(iv().root,r),ref:i,children:[(0,ex.jsx)("div",{className:eD()(iv().inner,{[iv().imagesLoadFinished]:l}),children:Object.entries(s).map(e=>{var[a,r]=e;return(0,ex.jsx)("span",{className:eD()(iv().step,{[iv().visible]:t===a}),children:r},a)})}),!l&&(0,ex.jsx)(e1.a,{className:iv().loader})]})}),iS=(0,eb.Pi)(e=>{var{prediction:t,setIsViewedToday:a}=(0,eB.Id)(),[r,i]=(0,ej.useState)(ei.Idle),{Predictions:{prediction:{title:n,button:o},tapTitle:s}}=(0,tc.r)("Modals");return(0,ej.useEffect)(()=>{r!==ei.Idle&&a(!0)},[r]),(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{qaTag:eQ.BE.Modals.PredictionModal.root,className:ih().root,children:[(0,ex.jsx)(Modal.CloseButton,{}),(0,ex.jsx)(Modal.Container,{children:(0,ex.jsxs)("div",{className:ih().inner,"data-animation-status":r,onClick:()=>{r===ei.Idle&&i(ei.Opening)},children:[(0,ex.jsx)(iy,{animationStatus:r,setAnimationStatus:i,className:ih().animationContainer}),(0,ex.jsx)("p",{className:ih().tapTitle,children:s}),(0,ex.jsxs)("div",{className:ih().prediction,children:[(0,ex.jsx)("p",{className:ih().title,children:n}),(0,ex.jsx)("p",{className:ih().text,children:t}),(0,ex.jsx)(ButtonLegacy,{type:ea.Stroke,className:ih().button,onClick:e.onClose,children:o})]})]})})]}))}),iT=a(78434),iN=a.n(iT),iB=a(60883),iI=(0,eb.Pi)(e=>{var{onClose:t}=e,a=(0,iB.useRouter)(),[r,i]=(0,ej.useState)(!1),n=(0,eB.e4)(),{showTestNotification:o,showTestNotificationWithImage:s,showTestNotificationWithImageAndSecondaryButton:l}=(0,eB.rV)(),{isDevToolsEnabled:c,devKey:d,devDate:u,devDailyWord:m,toggleDevTools:_,setDevKey:p,setDevDate:g,deleteAnswers:h,skipOnboarding:f}=(0,eB.Nj)(),{showModal:x}=(0,eB.s9)();return(0,ej.useEffect)(()=>{i(!0)},[]),(0,ex.jsxs)("div",{children:[(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:eD()(iN().button,iN().toggleButton,{[iN().enabled]:c}),onClick:_,children:c?"Выключить":"Включить"})}),(0,ex.jsxs)("div",{className:iN().block,children:["Ключ:"," ",(0,ex.jsx)("input",{type:"text",className:iN().input,value:d,onChange:e=>p(e.target.value),style:{flex:1}})]}),(0,ex.jsxs)("div",{className:iN().block,children:["Дата:"," ",(0,ex.jsx)("input",{type:"date",className:iN().input,value:u,onChange:e=>g(e.target.value)},Date.now())]}),(0,ex.jsxs)("div",{className:eD()(iN().actionsBlock,{[iN().enabled]:c}),children:[(0,ex.jsxs)("div",{className:iN().block,children:["Слово днÑ: ",(0,ex.jsx)("span",{className:iN().dailyWord,children:null!=m?m:""})]}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:h,children:"Стереть ответы"})})]}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:f,children:"ПропуÑтить онбординг"})}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:()=>{n.handleError(Error("ТеÑÑ‚Ð¾Ð²Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ° ".concat(new Date().toISOString())))},children:"Сгенерировать ошибку"})}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsxs)("p",{className:iN().debugInfo,children:["Query: ",a.asPath]})}),r&&(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsxs)("p",{className:iN().debugInfo,children:["UserAgent: ",navigator.userAgent]})}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:()=>{null==t||t(),x(tZ.Z.Referral)},children:"Модалка ПД"})}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:()=>{null==t||t(),o()},children:"ПроÑÑ‚Ð°Ñ ÑˆÑ‚Ð¾Ñ€ÐºÐ°"})}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:()=>{null==t||t(),s()},children:"Шторка Ñ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ¾Ð¹"})}),(0,ex.jsx)("div",{className:iN().block,children:(0,ex.jsx)(tj,{size:V.Medium,className:iN().button,onClick:()=>{null==t||t(),l()},children:"МакÑÐ¸Ð¼Ð°Ð»ÑŒÐ½Ð°Ñ ÑˆÑ‚Ð¾Ñ€ÐºÐ°"})})]})}),DevToolsModal=e=>{var{DevTools:{title:t}}=(0,tc.r)("Modals");return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{qaTag:eQ.BE.Modals.DevToolsModal.root,onClose:e.onClose,children:[(0,ex.jsx)(Modal.CloseButton,{}),(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:t,align:q.Center}}),(0,ex.jsx)(iI,{onClose:e.onClose})]})]}))},ResyncGameStateModal=e=>{var{onClose:t}=e,{ResyncGameStateModal:{title:a,description:r,button:i}}=(0,tc.r)("Modals"),n={text:i.text,onClick:()=>null==t?void 0:t()};return(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(rN.C,{title:a,description:r,button:n,isErrorCodeVisible:!1})})},iD=a(99710),iE=a.n(iD),iM=a(96579),iL=a(28927),iR=a.n(iL),PdfViewer=e=>{var{pdfSrc:t,errorText:r="Ðе удалоÑÑŒ открыть документ"}=e;iM.v0.GlobalWorkerOptions.workerSrc=new a.U(a(61166)).toString();var[i,n]=(0,ej.useState)(0),[o,s]=(0,ej.useState)(0),l=(0,ej.useRef)(null);(0,ej.useEffect)(()=>{var e;s(Math.floor((null===(e=l.current)||void 0===e?void 0:e.offsetWidth)||0))},[l.current]);var c=(0,eB.bU)();return(0,ex.jsx)("div",{className:iR().root,ref:l,children:(0,ex.jsx)(iM.BB,{file:t,loading:(0,ex.jsx)(e1.a,{className:iR().loader}),onLoadSuccess:e=>{var{numPages:t}=e;n(t)},error:(0,ex.jsx)("p",{className:iR().error,children:r}),renderMode:c.isIos()?"svg":"canvas",children:Array.from(Array(i),(e,t)=>(0,ex.jsx)(iM.T3,{renderTextLayer:!1,loading:"",renderAnnotationLayer:!1,pageNumber:t+1,className:iR().pdfPage,width:o},"page_".concat(t+1)))})})},iP=a(69234),ConditionsModal=e=>{var{onBackButtonClick:t}=e,{Conditions:{drawConditionsSrc:a,errorText:r}}=(0,tc.r)("Modals");return(0,ex.jsxs)(Modal,{qaTag:eQ.BE.Modals.ConditionsModal.root,className:iE().root,children:[t&&(0,ex.jsx)(Modal.BackButton,{onClick:t}),(0,ex.jsx)(Modal.Container,{scrollable:{paddings:{default:{top:10,horizontal:16,bottom:0}},edgeOverlays:{top:{isHidden:!0},bottom:{isHidden:!0}}},children:(0,ex.jsx)("div",{className:eD()(iE().wrapper,eU.hV),children:(0,ex.jsx)(iP.d$,{wheel:{disabled:!0},disablePadding:!0,children:(0,ex.jsx)(iP.Uv,{wrapperStyle:{height:"100%",width:"100%",flexGrow:"1"},contentStyle:{minHeight:"100%",minWidth:"100%"},children:(0,ex.jsx)(PdfViewer,{pdfSrc:a,errorText:r})})})})})]})},HighloadModal=()=>{var{Highload:{title:e,description:t}}=(0,tc.r)("Modals");return(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(rN.C,{dataQa:eQ.BE.Modals.HighloadModal.root,title:e,description:t,isErrorCodeVisible:!1})})},SubscribeErrorModal=e=>{var{onClose:t,onOpen:a}=e,{SubscribeErrorModal:{title:r,description:i,button:n}}=(0,tc.r)("Modals");(0,ej.useEffect)(()=>{null==a||a()},[]);var o={text:n.text,onClick:()=>null==t?void 0:t()};return(0,ex.jsx)(Portal,{selector:"body",children:(0,ex.jsx)(rN.C,{title:r,description:i,button:o,isErrorCodeVisible:!1})})},iG=a(38508),iA=a.n(iG),iH=a(52515),useIsIntersecting=(e,t)=>{var[a,r]=(0,ej.useState)(!1);return(0,ej.useLayoutEffect)(()=>{if(e.current&&"IntersectionObserver"in window){var a=new IntersectionObserver(e=>{var[t]=e;return r(t.isIntersecting)},t);return a.observe(e.current),()=>{a.disconnect()}}},[e,t]),a},useDrawTheme=()=>{var{isPartnerThemeEnabled:e}=(0,eB.nw)(),{partnerTheme:t}=(0,tc.r)("Modals").PartnerDraw,{theme:a}=(0,tc.r)("Modals").Draw;return e?t:a},Ticket=e=>{var{ticket:t,onVisibilityChange:a,hasResult:r}=e,{visual:i,template:n,templateInviteFriend:o,numberPrefix:s,wonPostfix:l,dateFormatOptions:c}=(0,tc.r)("Modals").DrawTickets.Ticket,d=useDrawTheme(),{gradientColor:u,wonGradientColor:m,wonBorderColor:_,wonTextColor:p,dateColor:g,img:h}=(0,to.RH)(i[J.Default],i[d]),f=t.source===iH.S.Game?n:o,x=(0,ej.useRef)(null),v=useIsIntersecting(x);(0,ej.useEffect)(()=>{v&&(null==a||a())},[v]);var w=r&&t.isWin,C=r&&!t.isWin;return(0,ex.jsxs)("div",{ref:x,className:eD()(iA().root,{[iA().won]:w,[iA().lost]:C}),style:{"--gradient-color":u,"--won-gradient-color":m,"--won-border-color":_,"--won-text-color":p},children:[w&&(0,ex.jsx)("div",{className:iA().wonBorder}),(0,ex.jsxs)("div",{className:iA().content,children:[(0,ex.jsxs)("p",{className:iA().number,children:[s,t.id.toLocaleString("ru"),w&&(0,ex.jsx)("span",{className:iA().wonText,children:l})]}),(0,ex.jsx)("p",{className:iA().date,style:{color:g},children:f.replace("%date%",(0,ru.formatDateByOptions)(t.createdAt,c))})]}),(0,ex.jsx)("div",{className:iA().imageWrapper,children:(0,ex.jsx)(Image_Image,{className:eD()(iA().image,{[iA().disabled]:C}),src:h.src,alt:""})})]})},iO=a(35282),iW=a.n(iO),iV=a(52111),iF=a.n(iV),iU=a(53127),iZ=a.n(iU),SkeletonItem=e=>{var{className:t}=e;return(0,ex.jsx)("div",{className:eD()(iZ().root,t)})},DrawTicketsSkeleton=e=>{var{ticketCount:t}=e;return(0,ex.jsx)("div",{className:iF().root,children:(0,ex.jsx)("div",{className:iF().tickets,children:(0,ez.i7)(t).map(e=>(0,ex.jsx)(SkeletonItem,{className:iF().ticket},e))})})},useDebounce=(e,t)=>{var a=(0,ej.useRef)();return(0,ej.useEffect)(()=>{a.current=t},[t]),(0,ej.useMemo)(()=>{var t,r;return t=function(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];null===(e=a.current)||void 0===e||e.call(a,...r)},function(){for(var a=arguments.length,i=Array(a),n=0;n<a;n++)i[n]=arguments[n];clearTimeout(r),r=setTimeout(()=>t(...i),e)}},[])},iq=a(35587),iz=a(32206),iK=a.n(iz),iY=375/280,HeaderGlowView=e=>{var{className:t,theme:a="default",yOffset:r=0,aspectRatio:i=iY,accentColor:n,customThemeBackground:o,children:s}=e;return(0,ex.jsxs)(tN,{className:eD()(iK().root,t),aspectRatio:i,style:{transform:"translateY(".concat(Math.min(r,0),"px)"),"--accent-color":n},children:[(0,ex.jsx)("div",{className:eD()(iK().theme,iK().default,{[iK().visible]:"default"===a})}),(0,ex.jsx)("div",{className:eD()(iK().theme,iK().accent,{[iK().visible]:"accent"===a})}),(0,ex.jsx)("div",{className:eD()(iK().theme,iK().accentSmall,{[iK().visible]:"accent-small"===a})}),o&&(0,ex.jsx)("div",{className:eD()(iK().theme,{[iK().visible]:"custom"===a}),style:{background:o}}),s]})},iX=a(91019),iQ=a.n(iX),ImageDecorator=e=>{var{src:t,position:a}=e;return t?(0,ex.jsx)(Image_Image,{className:eD()(iQ().root,iQ()[a]),src:t,alt:""}):null};(S=eo||(eo={})).Top="top",S.Bottom="bottom",S.Left="left",S.Right="right";var HeaderGlow=e=>{var{visual:t}=(0,tc.r)("Modals").DrawTickets.HeaderGlow,a=useDrawTheme(),{accentColor:r,aspectRatio:i,topBackgroundDecorator:n}=(0,to.RH)(t[J.Default],t[a]),{drawStatus:o}=(0,eB.nw)();return(0,ex.jsx)(HeaderGlowView,(0,th._)((0,ta._)({},e),{accentColor:r,aspectRatio:i,children:o!==iq.UN.Results&&(0,ex.jsx)(ImageDecorator,{src:n,position:eo.Top})}))},iJ=a(79150),i$=a.n(iJ),ModalBackground=e=>{var{background:t,backgroundImageSrc:a,yOffset:r=0,height:i}=e;return(0,ex.jsx)("div",{className:i$().root,children:(0,ex.jsx)("div",{className:i$().background,style:{background:t,height:"".concat(i,"px"),transform:"translateY(".concat(Math.min(r,0),"px)")},children:a&&(0,ex.jsx)(Image_Image,{src:a,alt:"",className:i$().image})})})},DrawTicketsModalBackground=e=>{var{yOffset:t,height:a}=e,r=useDrawTheme(),{visual:i}=(0,tc.r)("Modals").DrawTickets.Background,{background:n}=(0,to.RH)(i[J.Default],i[r]);return(0,ex.jsx)(ModalBackground,{background:n,yOffset:t,height:a})},i0=(0,eb.Pi)(e=>{var{loadTickets:t,isTicketsLoading:a,userTicketCount:r,drawTickets:i,drawStatus:n,isWonDrawGifts:o,isPartnerThemeEnabled:s}=(0,eB.nw)(),{DrawTickets:{title:l,descriptionByDrawStatus:c,visual:d},Draw:{pluralForms:u}}=(0,tc.r)("Modals"),[m,_]=(0,ej.useState)(0),[p,g]=(0,ej.useState)(null),[h,f]=(0,ej.useState)(null),x=useDrawTheme(),{subtleColor:v,scrollableEdgeOverlayGradientColor:w}=(0,to.RH)(d[J.Default],d[x]);(0,ej.useEffect)(()=>{t()},[t]);var C=(0,eB.rS)(),handleMaxVisibleTicketIndex=e=>{(!p||e>p)&&g(e)},b=useDebounce(1e3,()=>{p&&p!==h&&(C.trackDrawTicketsScroll(p+1,r),f(p))}),j=n===iq.UN.Results,k=n?c[n]:void 0;return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{className:iW().root,isMaxHeight:!0,onBackgroundClick:()=>C.trackHideDrawTicketList("external_tap"),onSwipeClose:()=>C.trackHideDrawTicketList("swipe"),children:[(0,ex.jsx)(Modal.CloseButton,{onClick:()=>C.trackHideDrawTicketList("cross_tap")}),(0,ex.jsx)(Modal.BackButton,{onClick:()=>{var t;C.trackHideDrawTicketList("back_tap"),null===(t=e.onBackButtonClick)||void 0===t||t.call(e)}}),(0,ex.jsxs)(Modal.Container,{scrollable:{onScroll:e=>{b(),_(e)},edgeOverlays:{top:{gradientColor:w}}},children:[(0,ex.jsx)(DrawTicketsModalBackground,{}),(0,ex.jsx)(HeaderGlow,{theme:!j||o||s?"accent-small":"default",yOffset:-m}),(0,ex.jsx)(Modal.Header,{subtitle:k,subtleColor:v,children:(0,ex.jsx)("p",{className:iW().title,children:l.replace("%ticketCount%",r.toString()).replace("%tickets%",getPluralForm(r,u.tickets.one,u.tickets.two,u.tickets.five))})}),a?(0,ex.jsx)(DrawTicketsSkeleton,{ticketCount:r}):(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsx)("div",{className:iW().tickets,children:i.map((e,t)=>(0,ex.jsx)(Ticket,{ticket:e,onVisibilityChange:()=>handleMaxVisibleTicketIndex(t),hasResult:j},e.id))})})]})]}))}),i1=a(58979),i2=a.n(i1),i3=a(90582),i5=a.n(i3),i4=a(47098),i9=a.n(i4),DrawHeaderView=e=>{var{imgSrc:t,imgAspectRatio:a,imgMarginBottom:r=0,title:i,description:n,isDescriptionBeforeTitle:o,beforeImg:s,afterImg:l,onLoadHeaderImage:c,descriptionColor:d}=e;return(0,ex.jsxs)("div",{className:i9().root,children:[(0,ex.jsxs)("div",{className:i9().imageWrapper,children:[s,(0,ex.jsx)(tN,{className:i9().image,aspectRatio:a,style:{marginBottom:"".concat(r,"px")},children:(0,ex.jsx)(Image_Image,{className:i9().image,src:t,alt:"",onLoad:c})}),l]}),n&&o&&(0,ex.jsx)("p",{className:eD()(i9().description,i9().before),style:{color:d},children:n}),(0,ex.jsx)("div",{className:i9().title,children:i}),n&&!o&&(0,ex.jsx)("p",{className:eD()(i9().description,i9().after),style:{color:d},children:n})]})},DrawHeader=e=>{var{isSubscribed:t}=e,{title:a,subtitle:r,description:i,imgSrc:n}=(0,tc.r)("Modals").DrawAnnouncement.Header;return(0,ex.jsx)(DrawHeaderView,{imgSrc:n,imgAspectRatio:320/220,title:(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("p",{className:i5().gold,children:a}),r&&(0,ex.jsx)("p",{children:r})]}),description:t?i.subscribed:i.notSubscribed})},useTrackDrawGiftsScroll=e=>{var{drawStatus:t}=(0,eB.nw)(),a=(0,eB.rS)(),[r,i]=(0,ej.useState)(!1),n=(0,ej.useCallback)(()=>{a.trackDrawGiftsScroll(e,t),i(!0)},[t,a,e]);return r?void 0:n},i6=a(94029),i8=a.n(i6),i7=a(98763),ne=a.n(i7),DrawTitle=e=>{var{children:t,isCentered:a,size:r,className:i}=e;return(0,ex.jsx)("p",{className:eD()(ne().title,{[ne().centered]:a,[ne().big]:"l"===r},i),children:t})},DrawSubtitle=e=>{var{children:t,className:a,isCentered:r}=e,i=useDrawTheme(),{visual:n}=(0,tc.r)("Modals").Draw.DrawSubtitle,{color:o}=(0,to.RH)(n[J.Default],n[i]);return(0,ex.jsx)("p",{className:eD()(ne().subtitle,{[ne().centered]:r},a),style:{color:o},children:t})},nt=a(95321),na=a.n(nt),nr=a(58469),ni=a.n(nr),nn=a(25749),no=a.n(nn),LockIcon=e=>{var{className:t,iconClassName:a}=e;return(0,ex.jsx)("div",{className:eD()(no().root,t),children:(0,ex.jsx)(Image_Image,{src:"./draw/lock-icon.svg",alt:"",className:a})})},ns=a(80269),useDominantColor=e=>{var[t,a]=(0,ej.useState)();return(0,ej.useEffect)(()=>{var t=e.current,r=new Image;r.setAttribute("crossOrigin","Anonymous");var i=new ns.Z,onImageLoaded=()=>{a(i.getColor(r))};if(t&&!r.src){if(r.src=t.src,!r.complete)return r.addEventListener("load",onImageLoaded),()=>r.removeEventListener("load",onImageLoaded);a(i.getColor(r))}},[e]),t},nl=a(52819),nc=a.n(nl),nd=a(22809),nu=a.n(nd),TooltipContent=e=>{var{bonusInfo:t,link:a,linkText:r,onLinkClick:i}=e;return(0,ex.jsxs)("div",{className:nu().content,children:[(0,ex.jsx)("p",{className:nu().text,children:t}),r&&a&&(0,ex.jsx)("a",{target:"_blank",rel:"noreferrer",href:a,className:nu().link,onClick:i,children:r})]})},useTrackClickDrawGiftInfoDetails=(e,t)=>{var{drawStatus:a}=(0,eB.nw)(),r=(0,eB.rS)();return(0,ej.useCallback)(()=>{r.trackClickDrawGiftInfoDetails(e,t,a)},[t,e,a,r])},useTrackClickDrawGiftInfo=(e,t)=>{var{drawStatus:a}=(0,eB.nw)(),r=(0,eB.rS)();return(0,ej.useCallback)(()=>{r.trackClickDrawGiftInfo(e,t,a)},[e,t,a,r])},useDrawTooltipTheme=()=>{var{isPartnerThemeEnabled:e}=(0,eB.nw)();return e?G.Light:G.Dark},DrawGiftTooltipButton=e=>{var{drawGift:t}=e,[a,r]=(0,ej.useState)(!1),i=useTrackClickDrawGiftInfo(t.name,t.description),n=useTrackClickDrawGiftInfoDetails(t.name,t.description),o=useDrawTooltipTheme();(0,ej.useEffect)(()=>{a&&i()},[a,i]);var s=(0,ej.useCallback)(()=>{n(),r(!1)},[n]);return t.bonusInfo?(0,ex.jsx)(TooltipButton,{isOpened:a,onChangeTooltipVisibility:r,type:Y.Info,theme:o,tooltipContentMaxWidth:294,tooltipPosition:P.Fixed,tooltipSourceClassName:nc().tooltipSource,tooltipText:(0,ex.jsx)(TooltipContent,{bonusInfo:t.bonusInfo,link:t.link,linkText:t.linkText,onLinkClick:s})}):null},useDrawGiftImage=e=>{var{img:t,isLocked:a}=e,{drawStatus:r}=(0,eB.nw)();if(a&&t.unavailableBonus)return t.unavailableBonus;if(e.status===iq.a3.Won&&t.wonBonus)return t.wonBonus;if((r===iq.UN.ResultCalculation||r===iq.UN.WaitingPublication)&&t.calculationBonus)return t.calculationBonus;if(r===iq.UN.Results){if(t.resultBonus)return t.resultBonus;if(t.calculationBonus)return t.calculationBonus}return t.availableBonus},useTrackClickDrawGiftButton=(e,t,a)=>{var{drawStatus:r}=(0,eB.nw)(),i=(0,eB.rS)();return(0,ej.useCallback)(()=>{i.trackClickDrawGiftButton(e,t,a,r)},[a,t,r,e,i])},nm=a(9602),DrawGiftItem=e=>{var{gift:t,isLost:a}=e,{won:r,lost:i}=(0,tc.r)("Modals").DrawResults.GiftItem,{pluralForms:n,DrawGiftItem:o}=(0,tc.r)("Modals").Draw,{visual:s}=o,l=useDrawTheme(),{descriptionColor:c}=(0,to.RH)(s[J.Default],s[l]),{name:d,description:u,isLocked:m}=t,_=(0,ej.useRef)(null),p=(0,ej.useRef)(null),g=useDominantColor(_);(0,ej.useEffect)(()=>{if(g){var e;null===(e=p.current)||void 0===e||e.style.setProperty("--gradientColor",g.toString())}},[g]);var h=t.status===iq.a3.Won,f=h||a,x=useDrawGiftImage(t),v=useTrackClickDrawGiftButton(h,t.name,t.description);return(0,ex.jsxs)("div",{ref:p,className:ni().root,children:[!f&&t.bonusInfo&&(0,ex.jsx)("div",{className:ni().infoIconWrapper,children:(0,ex.jsx)(DrawGiftTooltipButton,{drawGift:t})}),(0,ex.jsxs)("div",{className:ni().innerContent,children:[h&&(0,ex.jsx)("div",{className:ni().wonDecorator}),!m&&!a&&(0,ex.jsx)("div",{className:eD()(ni().gradient,{[ni().won]:h})}),(0,ex.jsxs)("div",{className:ni().imageWrapper,children:[(0,ex.jsx)(Image_Image,{src:x,alt:d,className:eD()(ni().image,{[ni().disabled]:m||a}),imageRef:_}),m&&(0,ex.jsx)(LockIcon,{className:ni().lockIcon})]}),(0,ex.jsx)("div",{className:ni().title,children:d}),(0,ex.jsx)("div",{className:ni().description,style:{color:c},children:(()=>{if(a)return i.description;if(h){var e=createPluralizer(n.gifts.one,n.gifts.two,n.gifts.five);return r.description.replace("%count%",t.userWonCount.toString()).replace("%gifts%",e(t.userWonCount))}return u})()}),(()=>{if((0,nm.t)(t)){if(h&&t.wonBonusLink&&t.wonBonusLinkText)return(0,ex.jsx)(tj,{className:ni().button,size:V.ExtraSmall,link:t.wonBonusLink,onClick:v,children:t.wonBonusLinkText});if(a&&t.lostBonusLink&&t.lostBonusLinkText)return(0,ex.jsx)(tj,{className:ni().button,size:V.ExtraSmall,link:t.lostBonusLink,onClick:v,theme:W.NeutralOnDark,children:t.lostBonusLinkText})}return null})()]})]})},useStopPropagationForTouchEvents=e=>{(0,ej.useLayoutEffect)(()=>{var t,a,stopPropagation=e=>e.stopPropagation();return null===(t=e.current)||void 0===t||t.addEventListener("touchstart",stopPropagation),null===(a=e.current)||void 0===a||a.addEventListener("touchmove",stopPropagation),()=>{var t,a;null===(t=e.current)||void 0===t||t.removeEventListener("touchstart",stopPropagation),null===(a=e.current)||void 0===a||a.removeEventListener("touchmove",stopPropagation)}},[e])},DrawGiftList=e=>{var{drawGifts:t,hasResults:a,onScroll:r}=e,i=(0,ej.useRef)(null);return useStopPropagationForTouchEvents(i),(0,ex.jsx)("div",{className:eD()(na().listWrapper,eU.hV),ref:i,children:(0,ex.jsx)("div",{className:na().list,onScroll:r,children:t.map(e=>(0,ex.jsx)("div",{className:na().listItem,children:(0,ex.jsx)(DrawGiftItem,{gift:e,isLost:a&&e.status===iq.a3.Lost})},e.name))})})},n_=a(4048),np=a.n(n_),Block=e=>{var{id:t,className:a,onClick:r,children:i,label:n,background:o,backdropFilter:s}=e,l=useDrawTheme(),{visual:c}=(0,tc.r)("Modals").Draw.Block,{background:d,backdropFilter:u,label:m}=(0,to.RH)(c[J.Default],c[l]);return(0,ex.jsxs)(ex.Fragment,{children:[n&&(0,ex.jsx)("div",{className:np().label,style:{color:m.color,fontWeight:m.fontWeight},children:n}),(0,ex.jsxs)("div",{id:t,className:eD()(np().root,a),onClick:r,children:[(0,ex.jsx)("div",{className:np().background,style:{background:null!=o?o:d,backdropFilter:null!=s?s:u}}),i]})]})},ng=a(66287),nh=a.n(ng),DrawStatisticsLockedView=e=>{var{description:t,leftBackgroundDecorator:a,rightBackgroundDecorator:r}=e;return(0,ex.jsxs)(Block,{className:nh().root,background:"#ffdd2d",children:[(0,ex.jsx)(ImageDecorator,{src:a,position:eo.Left}),(0,ex.jsx)(ImageDecorator,{src:r,position:eo.Right}),(0,ex.jsxs)("div",{className:nh().content,children:[(0,ex.jsx)("p",{className:nh().description,children:t}),(0,ex.jsx)(Image_Image,{src:"./draw/lock-icon-small.svg",alt:"",className:nh().image})]})]})},DrawStatisticsLocked=()=>{var{description:e,visual:t}=(0,tc.r)("Modals").Draw.Statistics.states.locked,{theme:a}=(0,tc.r)("Modals").Draw,{leftBackgroundDecorator:r,rightBackgroundDecorator:i}=(0,to.RH)(t[J.Default],t[a]);return(0,ex.jsx)(DrawStatisticsLockedView,{description:e,leftBackgroundDecorator:r,rightBackgroundDecorator:i})},nf=a(24029),nx=a.n(nf),nv=(0,eb.Pi)(()=>{var e=(0,eB.C5)(),t=(0,ej.useRef)(null),[a,r]=(0,ej.useState)(0),[i,n]=(0,ej.useState)(0),o=useIsIntersecting(t),{unlocked:s,smallRating:l}=(0,tc.r)("Modals").Draw.Statistics.states,{drawState:c}=(0,eB.nw)(),{isNullableDrawStatStatisticsEnabled:d}=(0,eB.bW)(),calculateWidth=()=>{t.current&&r(t.current.getBoundingClientRect().width)};if((0,ej.useEffect)(()=>{calculateWidth()},[]),(0,ej.useEffect)(()=>((0,eL.C)(e,calculateWidth,!0),()=>(0,eL.D)(e,calculateWidth,!0)),[e]),(0,ej.useEffect)(()=>{o&&n((null==c?void 0:c.usersWithLessTicketCountPercent)?c.usersWithLessTicketCountPercent:0)},[null==c?void 0:c.usersWithLessTicketCountPercent,o]),!c||(null==c?void 0:c.usersWithLessTicketCountPercent)===null||!d&&0===c.usersWithLessTicketCountPercent)return null;var u=d&&c.usersWithLessTicketCountPercent<l.percentThreshold?l.description.replace("%percentThreshold%",l.percentThreshold.toString()):s.description.replace("%percent%",c.usersWithLessTicketCountPercent.toString());return(0,ex.jsxs)("div",{className:nx().root,children:[(0,ex.jsx)("div",{className:nx().progress,ref:t,children:(0,ex.jsx)("div",{className:nx().progressInner,style:{width:"".concat(i,"%")},children:(0,ex.jsx)("div",{className:nx().progressGradient,style:{width:a}})})}),(0,ex.jsx)("div",{className:nx().progressDescription,children:u})]})}),nw=a(71280),nC=a.n(nw),DrawStatisticsNotCalculated=()=>{var{description:e,visual:t}=(0,tc.r)("Modals").Draw.Statistics.states.notCalculated,{theme:a}=(0,tc.r)("Modals").Draw,{leftBackgroundDecorator:r,rightBackgroundDecorator:i}=(0,to.RH)(t[J.Default],t[a]);return(0,ex.jsx)(DrawStatisticsLockedView,{description:e,leftBackgroundDecorator:r,rightBackgroundDecorator:i})},nb=(0,eb.Pi)(()=>{var{isDrawStatisticsLocked:e,isDrawStatisticsCalculated:t,drawStatus:a}=(0,eB.nw)(),{isNullableDrawStatStatisticsEnabled:r}=(0,eB.bW)();if(e&&a!==iq.UN.InProgress)return null;var i=e?(0,ex.jsx)(DrawStatisticsLocked,{}):r&&!t?(0,ex.jsx)(DrawStatisticsNotCalculated,{}):(0,ex.jsx)(nv,{});return(0,ex.jsx)("div",{className:nC().root,children:i})}),nj=a(49917),nk=a.n(nj);(T=es||(es={})).Top="top",T.Bottom="bottom";var DrawGiftsBlock=e=>{var{children:t,className:a,label:r,beforeContent:i,withBackgroundLight:n,backgroundLightPosition:o=es.Bottom,backgroundGradientColor:s}=e,l=(0,ej.useRef)(null);return(0,ej.useEffect)(()=>{if(s){var e;null===(e=l.current)||void 0===e||e.style.setProperty("--backgroundGradientColor",s)}},[s]),(0,ex.jsxs)(Block,{className:eD()(nk().root,a),label:r,children:[(0,ex.jsx)("div",{className:nk().beforeContent,children:i}),n&&(0,ex.jsx)("div",{ref:l,className:eD()(nk().backgroundLight,{[nk().top]:o===es.Top})}),(0,ex.jsx)("div",{className:nk().content,children:t})]})},UnitedDrawGiftsView=e=>{var{title:t,subtitle:a,drawMonetaryGifts:r,drawNotMonetaryGifts:i,notMonetarySubtitle:n,isDrawStatisticsEnabled:o,isDrawStatisticsUnlocked:s,tooltipContent:l,userTicketCount:c,onScrollMonetaryGifts:d,onScrollNotMonetaryGifts:u,onTooltipClick:m,beforeContent:_,hasResults:p,label:g}=e,h=useDrawTooltipTheme();return(0,ex.jsxs)(DrawGiftsBlock,{beforeContent:_,label:g,children:[(0,ex.jsxs)("div",{className:i8().header,children:[(0,ex.jsx)(DrawTitle,{children:t}),s&&l&&(0,ex.jsx)(TooltipButton,{tooltipText:l,className:i8().infoIconContainer,iconClassName:i8().infoIcon,type:Y.Info,tooltipContentMaxWidth:263,onClick:m,theme:h})]}),(0,ex.jsx)(DrawSubtitle,{className:i8().subtitle,children:a}),o&&c>0&&(0,ex.jsx)(nb,{}),r.length>0&&(0,ex.jsx)(DrawGiftList,{drawGifts:r,hasResults:p,onScroll:d}),i.length>0&&(0,ex.jsxs)("div",{className:i8().giftsRow,children:[(0,ex.jsx)(DrawSubtitle,{className:i8().subtitle,children:n}),(0,ex.jsx)(DrawGiftList,{drawGifts:i,hasResults:p,onScroll:u})]})]})},ny=(0,eb.Pi)(()=>{var{drawMonetaryGifts:e,drawNotMonetaryGifts:t,userTicketCount:a,drawStatus:r}=(0,eB.nw)(),{monetary:i,notMonetary:n}=(0,tc.r)("Modals").DrawAnnouncement.Gifts,o=(0,eB.rS)(),s=useTrackDrawGiftsScroll(tu.tO.Money),l=useTrackDrawGiftsScroll(tu.tO.Service);return(0,ex.jsx)(UnitedDrawGiftsView,{drawMonetaryGifts:e,drawNotMonetaryGifts:t,title:i.title,subtitle:i.subtitle,notMonetarySubtitle:n.title,userTicketCount:a,isDrawStatisticsEnabled:!1,isDrawStatisticsUnlocked:!1,onTooltipClick:()=>o.trackDrawRatingInfoClick(r),onScrollMonetaryGifts:s,onScrollNotMonetaryGifts:l})}),nS=a(539),nT=a.n(nS),nN=a(94781),nB=a.n(nN),DrawHeaderImageSkeleton=e=>{var{aspectRatio:t}=e;return(0,ex.jsx)(tN,{className:nB().image,aspectRatio:t})},nI=750/516,DrawAnnouncementModalSkeleton=()=>(0,ex.jsxs)("div",{className:nT().root,children:[(0,ex.jsx)(DrawHeaderImageSkeleton,{aspectRatio:nI}),(0,ex.jsx)("div",{className:nT().titleWrapper,children:(0,ex.jsx)(SkeletonItem,{className:nT().title})}),(0,ex.jsx)("div",{className:nT().titleWrapper,children:(0,ex.jsx)(SkeletonItem,{className:eD()(nT().title,nT().row2)})}),(0,ex.jsx)("div",{className:eD()(nT().descriptionWrapper,nT().row1),children:(0,ex.jsx)(SkeletonItem,{className:nT().description})}),(0,ex.jsx)("div",{className:nT().descriptionWrapper,children:(0,ex.jsx)(SkeletonItem,{className:nT().description})}),(0,ex.jsx)(SkeletonItem,{className:nT().sharedGift}),(0,ex.jsx)(SkeletonItem,{className:nT().gifts})]}),nD=a(22119),nE=a.n(nD),SharedGiftView=e=>{var{sharedGift:t,label:a,title:r,description:i,ticketCountToOpenSharedGift:n,isLocked:o,beforeContent:s,backgroundGradientColor:l,hasUpperShadow:c=!0,aspectRatio:d=343/170,lockedShadowBackground:u}=e,m=useDrawGiftImage((0,th._)((0,ta._)({},t),{isLocked:o})),_=(0,ej.useRef)(null);return(0,ej.useEffect)(()=>{if(l){var e;null===(e=_.current)||void 0===e||e.style.setProperty("--backgroundGradientColor",l)}},[l]),(0,ex.jsxs)(Block,{className:nE().block,label:a,children:[s,(0,ex.jsxs)("div",{className:eD()(nE().blockInner,{[nE().dark]:o}),ref:_,children:[(0,ex.jsx)(DrawTitle,{isCentered:!0,size:"l",children:r.replace("%gift%",t.name)}),(0,ex.jsx)(DrawSubtitle,{className:nE().subtitle,children:i.replace("%ticketCount%",n.toString())}),(0,ex.jsxs)("div",{className:nE().imageContainer,children:[m&&(0,ex.jsx)(tN,{className:nE().image,aspectRatio:d,children:(0,ex.jsx)(Image_Image,{src:m,alt:t.name,className:nE().image})}),o&&(0,ex.jsx)(LockIcon,{className:nE().lockIconContainer,iconClassName:nE().lockIcon})]})]}),c&&(0,ex.jsx)("div",{className:nE().shadow,style:{background:o?u||"linear-gradient(180deg, rgba(44, 44, 46, 0) 0%, rgba(44, 44, 46, 0.6) 100%)":"linear-gradient(180deg, rgba(67, 60, 55, 0) 53.84%, rgba(67, 60, 55, 0.7) 100%)"}})]})},nM=(0,eb.Pi)(()=>{var{titleTemplate:e,descriptionTemplate:t}=(0,tc.r)("Modals").DrawAnnouncement.SharedGift,{ticketCountToOpenSharedGift:a,sharedGift:r}=(0,eB.nw)();return r?(0,ex.jsx)(SharedGiftView,{title:e,description:t,sharedGift:r,ticketCountToOpenSharedGift:a,isLocked:!1}):null}),nL=a(53878),nR=a.n(nL),FloatingButton=e=>(0,ex.jsx)("div",{className:eD()(nR().root,eU.hV,{[nR().visible]:e.isVisible}),children:(0,ex.jsx)(tj,(0,th._)((0,ta._)({},e),{className:eD()(nR().button,e.className)}))}),FloatingButtonStub=e=>{var{isVisible:t}=e;return(0,ex.jsx)("div",{className:eD()(nR().buttonStub,{[nR().visible]:t})})},nP=a(34158),useFloatingSubscribeButton=(e,t,a,r)=>{var[i,n]=(0,ej.useState)(!1),[o,s]=(0,ej.useState)(!1),l=(0,eB.C5)(),c=(0,ej.useRef)(null),d=(0,eB.rS)(),{showStatusNotification:u}=(0,eB.rV)(),{drawStatus:m}=(0,eB.nw)();(0,ej.useEffect)(()=>{c.current&&l.clearTimeout(c.current),e||(c.current=l.setTimeout(()=>n(!a()),2e3))},[e,l]);var _=(0,ej.useCallback)(()=>{a()||(d.trackClickSubscribeToDraw(m),s(!0),r(),c.current=l.setTimeout(()=>{s(!1),n(!1),u({type:nP.C.Success,text:t,showDurationMs:2e3})},1e3))},[a,m,r,u,t,d,l]);return(0,ej.useEffect)(()=>()=>{c.current&&l.clearTimeout(c.current)},[l]),{isVisibleLoader:o,isVisibleFloatingSubscribeButton:i,onClickSubscribeButton:_}},nG=(0,eb.Pi)(e=>{var{SubscribeButton:t}=(0,tc.r)("Modals").DrawAnnouncement,{isDrawGiftsLoading:a,loadDrawGifts:r,sharedGift:i}=(0,eB.nw)(),[n,o]=(0,ej.useState)(0),[s,l]=(0,ej.useState)(0);useLogRenderResult(aR.y8.DrawAnnouncement,a);var c=(0,eB.nw)();(0,ej.useEffect)(()=>{r()},[r]),(0,ej.useEffect)(()=>()=>{c.drawGifts.length>0&&c.markAsIsShownAnnouncementModal()},[c]);var{isVisibleLoader:d,isVisibleFloatingSubscribeButton:u,onClickSubscribeButton:m}=useFloatingSubscribeButton(a,t.successText,()=>c.isSubscribedToDraw,c.markAsIsSubscribedToDraw);return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{qaTag:eQ.BE.Modals.DrawAnnouncementModal.root,className:i2().root,isMaxHeight:!0,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:e.onCloseButtonClick}),(0,ex.jsx)(Modal.Container,{scrollable:{onScroll:(e,t)=>{o(e),l(t)},paddings:{default:{top:0},[eU.RR.Tablet]:{top:0}}},nonScrollableChildren:(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(HeaderGlowView,{theme:s<=1?"accent":"default",yOffset:-n}),(0,ex.jsx)(FloatingButton,{onClick:m,isVisible:u,isLoading:d,children:t.text})]}),children:a?(0,ex.jsx)(DrawAnnouncementModalSkeleton,{}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(DrawHeader,{isSubscribed:!d&&c.isSubscribedToDraw}),i&&(0,ex.jsx)(nM,{}),(0,ex.jsx)(ny,{}),(0,ex.jsx)(FloatingButtonStub,{isVisible:u})]})})]}))}),nA=a(90290),nH=a.n(nA),nO=a(97508),nW=a.n(nO),nV=a(83623),nF=a(43169),nU=a.n(nF);function renderParameterizedString(e,t){var a=Object.keys(t),r=e.split(new RegExp("(".concat(a.map(e=>"%".concat(e,"%.*?%").concat(e,"%")).join("|"),")"))).map(e=>(function(e,t){for(var a of Object.keys(t)){var r=e.match(new RegExp("%".concat(a,"%(.*?)%").concat(a,"%")));if(r){var[i,n]=r;return t[a](n)}}return e})(e,t));return(0,ej.createElement)(ej.Fragment,null,...r)}var nZ=(0,eb.Pi)(()=>{var{title:e,icon:t,tooltip:a}=(0,tc.r)("Modals").PartnerDraw.LECAR.HeaderInfo,r=useDrawTooltipTheme(),i=(0,eB.rS)(),{drawStatus:n}=(0,eB.nw)();return(0,ex.jsxs)("div",{className:nU().root,children:[(0,ex.jsx)(Image_Image,{src:t,alt:""}),(0,ex.jsx)("p",{className:nU().title,children:renderParameterizedString(e,{accent:e=>(0,ex.jsx)("span",{className:nU().accent,children:e})})}),(0,ex.jsx)(TooltipButton,{tooltipText:a,size:K.Small,type:Y.Info,tooltipContentMaxWidth:280,onClick:()=>i.trackClickLecarHeaderInfoTooltipButton(n),theme:r})]})}),PartnerHeaderInfo=()=>{var{partnerTheme:e}=(0,tc.r)("Modals").PartnerDraw;return e===$.Lecar?(0,ex.jsx)(nZ,{}):null},nq=(0,eb.Pi)(()=>{var{hasTickets:e,isRequireInviteFriends:t,hasReachedTicketCountToOpenSharedGift:a,sharedGift:r,isPartnerThemeEnabled:i}=(0,eB.nw)(),{states:{noTickets:n,hasTickets:o,requireInviteFriends:s,hasTicketsToGetSharedGift:l}}=(0,tc.r)("Modals").Draw.Header,c=useDrawTheme(),{title:d,description:u,visual:m}=e?t?s:a&&r?l:o:n,{img:_,topBackgroundDecorator:p,descriptionColor:g}=(0,to.RH)(m[J.Default],m[c]);return(0,ex.jsx)(DrawHeaderView,{imgSrc:_.src,imgAspectRatio:_.aspectRatio,imgMarginBottom:_.marginBottom,title:(0,nV.renderParameterizedString)(d,{accent:e=>(0,ex.jsx)("span",{className:nW().accent,children:e})}),description:u,descriptionColor:g,afterImg:i?(0,ex.jsx)(PartnerHeaderInfo,{}):void 0,beforeImg:(0,ex.jsx)(ImageDecorator,{src:p,position:eo.Top})})}),nz=a(98822),nK=a.n(nz),nY=(0,eb.Pi)(e=>{var{beforeContent:t}=e,a=(0,eB.rS)(),r=(0,eB.s9)(),{userTicketCount:i,drawStatus:n}=(0,eB.nw)(),{TicketsButton:{template:o},pluralForms:s}=(0,tc.r)("Modals").Draw,l=o.replace("%ticketCount%",i.toString()).replace("%tickets%",getPluralForm(i,s.tickets.one,s.tickets.two,s.tickets.five));return(0,ex.jsx)(PressScale,{onUnpress:()=>{a.trackGoToTicketsListClick(n),r.replaceModal(tZ.Z.DrawTickets)},children:(0,ex.jsxs)(Block,{className:nK().root,children:[t,l,(0,ex.jsx)(Image_Image,{src:"./draw/arrow-right-icon.svg",alt:""})]})})}),nX=a(29514),nQ=a.n(nX),DrawGiftsView=e=>{var{title:t,subtitle:a,drawGifts:r,onScroll:i,beforeContent:n,label:o,withBackgroundLight:s,backgroundGradientColor:l,backgroundLightPosition:c}=e;return(0,ex.jsxs)(DrawGiftsBlock,{beforeContent:n,label:o,withBackgroundLight:s,backgroundGradientColor:l,backgroundLightPosition:c,children:[(0,ex.jsx)(DrawTitle,{isCentered:!0,size:"l",children:(0,nV.renderParameterizedString)(t,{gray:e=>(0,ex.jsx)("span",{className:nQ().gray,children:e})})}),(0,ex.jsx)(DrawSubtitle,{isCentered:!0,className:nQ().subtitle,children:a}),(0,ex.jsx)(DrawGiftList,{drawGifts:r,onScroll:i})]})},nJ=(0,eb.Pi)(e=>{var{isVisibleLabel:t}=e,{hasEnabledGifts:a,isDrawStatisticsUnlocked:r,userTicketCount:i,drawStatus:n,hasEnabledNotMonetaryGifts:o,drawNotMonetaryGifts:s,drawMonetaryGifts:l,hasEnabledMonetaryGifts:c}=(0,eB.nw)(),{isDrawStatisticsEnabled:d}=(0,eB.bW)(),{states:u,label:m}=(0,tc.r)("Modals").Draw.DrawGifts,{states:_}=(0,tc.r)("Modals").Draw.PromocodeGifts,{tooltipContent:p}=(0,tc.r)("Modals").Draw.Statistics,g=u.locked.visual,{theme:h}=(0,tc.r)("Modals").Draw,{topBackgroundDecorator:f}=(0,to.RH)(g[J.Default],g[h]),x=(0,eB.rS)(),{title:v,description:w}=a?u.unlocked:u.locked,C=useTrackDrawGiftsScroll(tu.tO.Money),b=useTrackDrawGiftsScroll(tu.tO.Service);return(0,ex.jsxs)(ex.Fragment,{children:[!c&&!!l.length&&(0,ex.jsx)(DrawGiftsView,{drawGifts:l,title:v,subtitle:w,onScroll:C,label:t?m:void 0,beforeContent:!c&&(0,ex.jsx)(ImageDecorator,{src:f,position:eo.Top})}),!o&&!!s.length&&(0,ex.jsx)(DrawGiftsView,{drawGifts:s,title:_.locked.title,subtitle:_.locked.description,onScroll:b,beforeContent:!o&&(0,ex.jsx)(ImageDecorator,{src:f,position:eo.Top})}),a&&(0,ex.jsx)(UnitedDrawGiftsView,{drawMonetaryGifts:l,drawNotMonetaryGifts:s,title:v,subtitle:w,notMonetarySubtitle:_.unlocked.description,userTicketCount:i,isDrawStatisticsEnabled:d,isDrawStatisticsUnlocked:r,tooltipContent:p,onTooltipClick:()=>x.trackDrawRatingInfoClick(n),onScrollMonetaryGifts:C,onScrollNotMonetaryGifts:b,label:t?m:void 0})]})}),n$=a(66404),n0=a.n(n$),n1={[W.Secondary]:"white",[W.Primary]:"yellow",[W.Dark]:"grey"},InviteFriend=e=>{var{referralLink:t,userTicketCount:a,inviteTicketCount:r,maxInviteTicketCount:i,isPlayedToday:n,isEnoughEnergyToStartAdditionalGame:o,daysLeftToGetTicket:s,isRequireInviteFriend:l,drawStatus:c}=e,{pluralForms:d,InviteFriend:{inviteButton:u,states:m,visual:_}}=(0,tc.r)("Modals").Draw,p=useDrawTheme(),g=(0,eB.rS)(),{isCopied:h,onClickShare:f}=useShare({title:u.shareTemplate.title,text:u.shareTemplate.text,url:t,modalId:tZ.Z.Draw,buttonName:u.text}),{title:x,description:v}=(0,ej.useMemo)(()=>r>=i?m.invitedMaxFriends:l?m.requireInviteFriends:0===r?m.noInvitedFriends:m.default,[r,l,i,s,m.default,m.invitedMaxFriends,m.noInvitedFriends,m.requireInviteFriends]),w=m.noTickets.visual,C=l?W.Secondary:n&&!o?W.Primary:W.Dark,b=createPluralizer(d.friends.one,d.friends.two,d.friends.five),{descriptionColor:j}=(0,to.RH)(_[J.Default],_[p]),{topBackgroundDecorator:k}=(0,to.RH)(w[J.Default],w[p]);return(0,ex.jsxs)(Block,{className:n0().root,background:l?"#ffdd2d":void 0,children:[0===a&&(0,ex.jsx)(ImageDecorator,{src:k,position:eo.Top}),(0,ex.jsx)("p",{className:n0().title,style:{color:l?"rgba(0, 0, 0, 0.9)":void 0},children:x.replace("%inviteCount%",r.toString()).replace("%friends%",b(i)).replace("%leftInviteCount%",(i-r).toString()).replace("%maxInviteCount%",i.toString())}),(0,ex.jsx)("p",{className:n0().description,style:{color:l?"rgba(0, 0, 0, 0.48)":j},children:v}),(0,ex.jsx)(tj,{className:n0().button,theme:C,size:V.Medium,onClick:()=>{g.trackDrawInviteFriend(n1[C],c),f()},children:h?u.copiedText:u.text})]})},n2=a(51374),n3=a.n(n2),DrawModalSkeleton=()=>{var{states:e}=(0,tc.r)("Modals").Draw.Header,t=e.hasTickets.visual,{theme:a}=(0,tc.r)("Modals").Draw,{img:r}=(0,to.RH)(t[J.Default],t[a]);return(0,ex.jsxs)("div",{className:n3().root,children:[(0,ex.jsx)(DrawHeaderImageSkeleton,{aspectRatio:r.aspectRatio}),(0,ex.jsx)("div",{className:n3().titleWrapper,children:(0,ex.jsx)(SkeletonItem,{className:n3().title})}),(0,ex.jsx)("div",{className:n3().titleWrapper,children:(0,ex.jsx)(SkeletonItem,{className:eD()(n3().title,n3().row2)})}),(0,ex.jsx)("div",{className:eD()(n3().descriptionWrapper,n3().row1),children:(0,ex.jsx)(SkeletonItem,{className:n3().description})}),(0,ex.jsx)("div",{className:n3().descriptionWrapper,children:(0,ex.jsx)(SkeletonItem,{className:n3().description})}),(0,ex.jsx)(SkeletonItem,{className:n3().ticketsProgress}),(0,ex.jsx)(SkeletonItem,{className:n3().gifts}),(0,ex.jsx)(SkeletonItem,{className:n3().ticketsButton}),(0,ex.jsx)(SkeletonItem,{className:n3().inviteFriend}),(0,ex.jsx)(SkeletonItem,{className:n3().buttonGetTicket})]})},n5=a(54744),n4=a.n(n5),TicketsProgress=e=>{var{ticketCount:t,ticketCountToOpenSharedGift:a,daysLeft:r}=e,{TicketsProgress:{title:i,description:n,ticketsLeft:o,daysLeft:s},pluralForms:l}=(0,tc.r)("Modals").Draw;return(0,ex.jsxs)(Block,{children:[(0,ex.jsx)("p",{className:n4().title,children:i}),(0,ex.jsx)("p",{className:n4().description,children:n}),(0,ex.jsx)("div",{className:n4().progressWrapper,children:(0,ex.jsx)("div",{className:n4().progress,style:{width:"".concat(t/a*100,"%")}})}),(0,ex.jsxs)("div",{className:n4().bottomText,children:[(0,ex.jsx)("span",{children:o.replace("%ticketCount%",(a-t).toString()).replace("%tickets%",getPluralForm(a-t,l.tickets.one,l.tickets.two,l.tickets.five))}),(0,ex.jsx)("span",{className:n4().daysLeft,children:r>0&&s.replace("%left%",getPluralForm(r,l.left.one,l.left.two,l.left.five)).replace("%dayCount%",r.toString()).replace("%days%",getPluralForm(r,l.days.one,l.days.two,l.days.five))})]})]})},n9=a(39761),n6=a.n(n9),LostSharedGiftView=e=>{var{title:t,description:a,beforeContent:r}=e;return(0,ex.jsxs)(Block,{className:n6().root,children:[r,(0,ex.jsxs)("div",{className:n6().content,children:[(0,ex.jsx)("div",{className:n6().title,children:t}),(0,ex.jsx)("div",{className:n6().description,children:a})]}),(0,ex.jsx)(LockIcon,{className:n6().icon})]})},LostSharedGift=e=>{var{ticketsLeftCount:t,daysLeftToGetTicket:a}=e,{title:r,description:i}=(0,tc.r)("Modals").Draw.LostSharedGift,{pluralForms:n}=(0,tc.r)("Modals").Draw,o=createPluralizer(n.days.one,n.days.two,n.days.five),s=createPluralizer(n.tickets.one,n.tickets.two,n.tickets.five);return(0,ex.jsx)(LostSharedGiftView,{title:r,description:i.replace("%ticketCount%",t.toString()).replace("%tickets%",s(t)).replace("%dayCount%",a.toString()).replace("%days%",o(a))})},n8=a(32899),n7=a.n(n8),oe=a(67365),ot=a.n(oe),oa=(0,eb.Pi)(e=>{var{title:t,description:a,tooltipText:r,withoutTooltip:i,className:n,background:o,backdropFilter:s,iconColor:l="rgba(51, 51, 51, 1)",iconBackground:c}=e,d=(0,eB.rS)(),{drawStatus:u}=(0,eB.nw)(),m=useDrawTooltipTheme();return(0,ex.jsxs)(Block,{className:eD()(ot().root,n),background:o,backdropFilter:s,children:[(0,ex.jsx)("div",{className:ot().iconCheckContainer,style:{background:c},children:(0,ex.jsx)(a0.AaI,{theme:{color:l}})}),(0,ex.jsxs)("div",{className:ot().content,children:[(0,ex.jsx)("p",{className:ot().title,children:t}),(0,ex.jsx)("p",{children:a})]}),!i&&(0,ex.jsx)(TooltipButton,{tooltipText:r,className:ot().infoIconContainer,iconClassName:ot().infoIcon,type:Y.Info,offsets:{minDistanceToLeftOrRightEdge:32},tooltipContentMaxWidth:263,onClick:()=>d.trackWonSharedGiftInfoClick(u),theme:m})]})}),WonSharedGift=e=>{var{ticketCountToOpenSharedGift:t,sharedGift:a,sharePeopleAmount:r}=e,{title:i,description:n,statistics:o,statisticsAlt:s,tooltipContent:l,visual:c}=(0,tc.r)("Modals").Draw.WonSharedGift,d=useDrawTheme(),{descriptionColor:u,infoBackground:m,infoBackdropFilter:_,infoIconColor:p,infoIconBackground:g}=(0,to.RH)(c[J.Default],c[d]),{pluralForms:h}=(0,tc.r)("Modals").Draw,f=createPluralizer(h.tickets.one,h.tickets.two,h.tickets.five);return(0,ex.jsxs)(Block,{children:[(0,ex.jsx)("div",{className:n7().title,children:i.replace("%ticketCount%",t.toString()).replace("%tickets%",f(t))}),(0,ex.jsx)("div",{className:n7().description,style:{color:u},children:n}),(0,ex.jsx)(oa,{title:a.name,description:r?o.replace("%sharePeopleAmount%",r.toLocaleString("ru")):s,tooltipText:l,background:m,backdropFilter:_,iconColor:p,iconBackground:g})]})},or=(0,eb.Pi)(()=>{var{visual:e,label:t,title:a,description:r}=(0,tc.r)("Modals").Draw.SharedGift,i=useDrawTheme(),{bottomBackgroundDecorator:n,lockedShadowBackground:o}=(0,to.RH)(e[J.Default],e[i]),{ticketCountToOpenSharedGift:s,sharedGift:l,isSharedGiftUnlocked:c}=(0,eB.nw)();return l?(0,ex.jsx)(SharedGiftView,{label:t,title:a,description:r,sharedGift:l,ticketCountToOpenSharedGift:s,isLocked:!c,beforeContent:(0,ex.jsx)(ImageDecorator,{src:n,position:eo.Bottom}),lockedShadowBackground:o}):null}),HeaderGlow_HeaderGlow=e=>{var t=useDrawTheme(),{visual:a}=(0,tc.r)("Modals").Draw.HeaderGlow,{accentColor:r,aspectRatio:i,customBackground:n}=(0,to.RH)(a[J.Default],a[t]);return(0,ex.jsx)(HeaderGlowView,(0,th._)((0,ta._)({},e),{accentColor:r,aspectRatio:i,customThemeBackground:n}))},oi=a(27176),on=a.n(oi),oo=a(27363),os=a.n(oo),ol=a(13167),oc=a.n(ol),AdvertisingBannerItem=e=>{var t,a,r,{banner:i,onClickBanner:n,onVisibleBanner:o,className:s}=e,{title:l,description:c,button:d,label:u,visual:m}=i,_=(0,eB.Xu)(),p=(0,ej.useRef)(null),g=useIsIntersecting(p,{rootMargin:"100% 0% 100% 0%",threshold:.5});return(0,ej.useEffect)(()=>{g&&(null==o||o())},[g]),(0,ex.jsx)("div",{ref:p,className:eD()(oc().root,s),children:(0,ex.jsxs)("div",{className:oc().scalable,children:[(0,ex.jsx)("div",{className:oc().background,style:{background:m.background}}),m.img&&(0,ex.jsx)(Image_Image,{src:m.img.src,alt:l,className:oc().image}),(0,ex.jsxs)("div",{className:oc().content,children:[(0,ex.jsx)("p",{className:oc().title,style:{color:null===(t=m.title)||void 0===t?void 0:t.color},children:l}),(0,ex.jsx)("p",{className:oc().description,children:c}),d&&(0,ex.jsx)("button",{className:oc().button,style:{color:null===(a=m.button)||void 0===a?void 0:a.color,background:null===(r=m.button)||void 0===r?void 0:r.background},onClick:()=>{var e;d&&(null==n||n(),null===(e=_.tryCreateLink(d.link))||void 0===e||e.click())},children:d.title}),u&&(0,ex.jsx)("p",{className:oc().label,children:u})]})]})})},AdvertisingBanners=e=>{var{banners:t,onClickBanner:a,onVisibleBanner:r}=e,i=(0,ej.useRef)(null);return useStopPropagationForTouchEvents(i),(0,ex.jsx)("div",{ref:i,className:os().banners,children:t.map((e,i)=>(0,ex.jsx)(AdvertisingBannerItem,{banner:e,className:os().banner,onClickBanner:()=>null==a?void 0:a(e.id,i),onVisibleBanner:()=>null==r?void 0:r(i,t.length)},i))})},useTrackClickDrawAdvertisingBanner=e=>{var{drawStatus:t}=(0,eB.nw)(),a=(0,eB.rS)();return(0,ej.useCallback)((r,i)=>{(e?a.trackClickPartnerDrawAdvertisingBanner:a.trackClickDrawAdvertisingBanner)(r,i,t)},[t,a])},useTrackDrawAdvertisingBannerIsVisible=e=>{var{drawStatus:t}=(0,eB.nw)(),a=(0,eB.rS)(),r=(0,ej.useRef)(new Set);return(0,ej.useCallback)((i,n)=>{r.current.has(i)||(r.current.add(i),(e?a.trackDrawPartnerAdvertisingBannerIsVisible:a.trackDrawAdvertisingBannerIsVisible)(i,n,t))},[t,e,a.trackDrawAdvertisingBannerIsVisible,a.trackDrawPartnerAdvertisingBannerIsVisible])},Advertising=()=>{var{title:e}=(0,tc.r)("Modals").Draw.Advertising,{drawBanners:t}=(0,eB.T8)(),a=useTrackClickDrawAdvertisingBanner(),r=useTrackDrawAdvertisingBannerIsVisible();return 0===t.length?null:(0,ex.jsxs)(Block,{children:[(0,ex.jsx)("p",{className:on().title,children:e}),(0,ex.jsx)(AdvertisingBanners,{banners:t,onClickBanner:a,onVisibleBanner:r})]})},createOpenBrowserActionLink=e=>"".concat(eU.k_).concat(encodeURIComponent(e)),od=a(54162),ou=a.n(od),om=a(93709),o_=a.n(om),DrawCopyButton=e=>{var{title:t,copyText:a,copiedText:r,link:i,withGlow:n,glowColor:o,className:s,onClick:l}=e,{isCopied:c,copy:d}=useCopy(i,rq),u=(0,ej.useRef)(null);return(0,ej.useEffect)(()=>{if(o){var e;null===(e=u.current)||void 0===e||e.style.setProperty("--glowColor",o)}},[o]),(0,ex.jsx)(PressScale,{onClick:()=>{d(),null==l||l()},children:(0,ex.jsxs)(Block,{className:eD()(o_().root,s),children:[n&&(0,ex.jsx)("div",{ref:u,className:o_().glow}),(0,ex.jsxs)("div",{className:o_().texts,children:[(0,ex.jsx)("p",{className:o_().title,children:(0,nV.renderParameterizedString)(t,{gray:e=>(0,ex.jsx)("span",{className:o_().gray,children:e})})}),(0,ex.jsxs)("div",{className:eD()(o_().text,{[o_().copied]:c}),children:[c?r:a,c&&(0,ex.jsx)(Image_Image,{className:o_().copiedIcon,src:"./icons/copied.svg",alt:""})]})]}),(0,ex.jsx)(Image_Image,{className:o_().copyButton,src:"./icons/copy.svg",alt:""})]})})},op=(0,eb.Pi)(()=>{var{visual:e,title:t,description:a,button:r,copyButton:i,banners:n,adsInfo:o}=(0,tc.r)("Modals").PartnerDraw.LECAR.Advertising,s=(0,eB.bU)().isSupportedOpenLinkInBrowser(),{drawStatus:l}=(0,eB.nw)(),c=useTrackClickDrawAdvertisingBanner(!0),d=useTrackDrawAdvertisingBannerIsVisible(!0),u=(0,eB.rS)(),onClickButton=()=>{u.trackClickPartnerDrawAdvertisingButton(!s,l)};return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Image_Image,{src:"./draw/lecar/lecar_tbank_logo.svg",alt:"",className:ou().logo}),(0,ex.jsxs)(Block,{className:ou().root,background:"transparent",children:[(0,ex.jsx)(Image_Image,{src:e.headerGlow.src,alt:"",className:eD()(ou().image,ou().glow)}),(0,ex.jsx)(tN,{aspectRatio:e.headerImage.aspectRatio,className:ou().image,children:(0,ex.jsx)(Image_Image,{src:e.headerImage.src,alt:"",className:ou().headerImage})}),(0,ex.jsxs)("div",{className:ou().content,children:[(0,ex.jsx)("p",{className:ou().title,children:t}),(0,ex.jsx)("p",{className:ou().description,children:a}),s?(0,ex.jsx)(tj,{className:ou().button,onClick:onClickButton,size:V.Medium,link:createOpenBrowserActionLink(r.link),children:r.title}):(0,ex.jsx)(DrawCopyButton,{title:i.title,copyText:i.copyText,copiedText:i.copiedText,link:i.link,onClick:onClickButton,className:ou().copyButton}),(0,ex.jsx)(AdvertisingBanners,{banners:n.map(e=>(0,th._)((0,ta._)({},e),{button:s?(0,th._)((0,ta._)({},e.button),{link:createOpenBrowserActionLink(e.button.link)}):void 0})),onClickBanner:c,onVisibleBanner:d}),(0,ex.jsx)("p",{className:ou().adsInfo,children:o})]})]})]})}),PartnerAdvertising=()=>{var{partnerTheme:e}=(0,tc.r)("Modals").PartnerDraw;return e===$.Lecar?(0,ex.jsx)(op,{}):null},og=a(33769),oh=a.n(og),PartnerTBankLogo=()=>{var{partnerTheme:e}=(0,tc.r)("Modals").PartnerDraw;return e===$.Lecar?(0,ex.jsx)(Image_Image,{className:oh().logo,src:"./draw/lecar/lecar_tbank_logo.svg",alt:""}):null},DrawModalBackground=e=>{var{yOffset:t,height:a}=e,r=useDrawTheme(),{visual:i}=(0,tc.r)("Modals").Draw.Background,{background:n,backgroundImageSrc:o}=(0,to.RH)(i[J.Default],i[r]);return(0,ex.jsx)(ModalBackground,{background:n,backgroundImageSrc:o,yOffset:t,height:a})},of=a(93989),ox=a.n(of),ov=a(2247),ow=a.n(ov),oC=(0,eb.Pi)(()=>{var{titlePrefix:e}=(0,tc.r)("Modals").Draw.NextWordTimer,{nextDailyWordIn:t}=(0,eB.G3)(),{hours:a,minutes:r,seconds:i}=getTimePartsFromSeconds(null!=t?t:0);return(0,ex.jsxs)("div",{className:ow().root,children:[e," ",(0,ex.jsx)("span",{className:ow().time,children:"".concat(a,":").concat(r,":").concat(i)})]})}),DrawButtonDecorator=()=>{var e=(0,tc.r)("Modals").Draw.Button.visual,{theme:t}=(0,tc.r)("Modals").Draw,{leftBackgroundDecorator:a,rightBackgroundDecorator:r}=(0,to.RH)(e[J.Default],e[t]);return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(ImageDecorator,{src:a,position:eo.Left}),(0,ex.jsx)(ImageDecorator,{src:r,position:eo.Right})]})},ob=a(24107),oj=a.n(ob),DynamicFloatingButton=e=>{var{onClick:t,beforeContent:a,children:r}=e,i=(0,ej.useRef)(null),n=(0,ej.useRef)(null),o=(0,ej.useRef)(null),[s,l]=(0,ej.useState)(!1),[c,d]=(0,ej.useState)(0);return(0,ej.useEffect)(()=>{s?c<=50&&l(!1):c>=100&&l(!0)},[s,c]),(0,ej.useEffect)(()=>{var e,t=null===(e=i.current)||void 0===e?void 0:e.closest(".".concat(eU.Yj)),a=null,onScroll=e=>{if(i.current&&n.current&&o.current){a||(a=n.current.clientWidth);var{scrollTop:t,scrollHeight:r,clientHeight:s}=e.target;d(t);var l=1-(0,eG.uZ)(r-s-t,0,68)/68;n.current.style.borderRadius="".concat(22-6*l,"px"),n.current.style.height="".concat(44+12*l,"px"),n.current.style.width="".concat(o.current.clientWidth+(i.current.clientWidth-o.current.clientWidth)*l,"px")}},onScrollEnd=()=>{if(i.current&&n.current&&o.current&&a){var e=n.current.clientWidth,{scrollTop:r,scrollHeight:s,clientHeight:l}=t,c=s-l;if(a<e)t.scrollTo({top:c,left:0,behavior:"smooth"});else if(a>e){var d=c-88+20;r>d&&t.scrollTo({top:d,left:0,behavior:"smooth"})}a=null}};return null==t||t.addEventListener("touchend",onScrollEnd),null==t||t.addEventListener("touchcancel",onScrollEnd),null==t||t.addEventListener("scroll",onScroll),null==t||t.addEventListener("scrollend",onScrollEnd),()=>{null==t||t.removeEventListener("touchend",onScrollEnd),null==t||t.removeEventListener("touchcancel",onScrollEnd),null==t||t.removeEventListener("scroll",onScroll),null==t||t.removeEventListener("scrollend",onScrollEnd)}},[]),(0,ex.jsxs)("div",{ref:i,className:eD()(oj().root,eU.hV,{[oj().visible]:s}),children:[(0,ex.jsx)(tj,{ref:n,className:oj().button,size:V.Medium,onClick:t,beforeContent:a,children:r}),(0,ex.jsx)(tj,{ref:o,className:eD()(oj().button,oj().fake),size:V.Medium,beforeContent:a,children:r})]})},ok=(0,eb.Pi)(e=>{var{onClick:t}=e,{isDrawStateLoading:a,drawStatus:r}=(0,eB.nw)(),{isEnoughEnergyToStartAdditionalGame:i,energyState:n}=(0,eB.gq)(),{isFinished:o,setShouldStartingAdditionalGame:s}=(0,eB.gT)(),l=(0,eB.rS)(),{title:c,altTitle:d}=(0,tc.r)("Modals").Draw.GetTicketFloatingButton;if(!n||a)return null;var u=i||!o;return(0,ex.jsx)(ex.Fragment,{children:u?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(DynamicFloatingButton,{beforeContent:(0,ex.jsx)(DrawButtonDecorator,{}),onClick:()=>{o?(s(!0),l.trackClickGuessAdditionalWordButton(r)):l.trackClickContinueGuessWordButton(r),t()},children:o?(0,ex.jsxs)(ex.Fragment,{children:["".concat(c).concat(n.costForAdditionalGame),(0,ex.jsx)(tM,{className:ox().image})]}):d}),(0,ex.jsx)(FloatingButtonStub,{isVisible:u})]}):(0,ex.jsx)(oC,{})})}),oy=(0,eb.Pi)(e=>{var[t,a]=(0,ej.useState)(0),[r,i]=(0,ej.useState)(0),[n,o]=(0,ej.useState)(),{isDrawStateLoading:s,isDrawGiftsLoading:l,userTicketCount:c,ticketCountToOpenSharedGift:d,hasTickets:u,daysLeftToGetWinTicket:m,daysLeftToGetTicket:_,drawState:p,markAsIsShownRequireInviteFriendsInfo:g,isRequireInviteFriends:h,loadDrawState:f,loadDrawGifts:x,setHasNewTicket:v,sharedGift:w,isSharedGiftUnlocked:C,hasChanceToGetSharedGift:b,hasReachedTicketCountToOpenSharedGift:j,hadChanceToGetSharedGift:k,drawStatus:y,isPartnerThemeEnabled:S}=(0,eB.nw)(),{isEnoughEnergyToStartAdditionalGame:T}=(0,eB.gq)(),{referralLink:N,isReferralLinkLoading:B,loadReferralLink:I}=(0,eB.ii)(),{isDrawWithEnergyEnabled:D}=(0,eB.bW)(),E=[];!C&&w&&w.img.unavailableBonus&&E.push(w.img.unavailableBonus);var M=useImagesLoadStatus(E)===en.Loading,L=s||l||B||M;useLogRenderResult(aR.y8.Draw,L),(0,ej.useEffect)(()=>(f(),I(),x(),()=>{v(!1)}),[f,x,I,v]),(0,ej.useEffect)(()=>{!L&&h&&g()},[L,h,g]);var{isFinished:R}=(0,eB.gT)(),P=p&&N?(0,ex.jsx)(InviteFriend,{referralLink:N,inviteTicketCount:p.inviteTicketCount,maxInviteTicketCount:p.maxInviteTicketCount,isPlayedToday:R,isEnoughEnergyToStartAdditionalGame:T,daysLeftToGetTicket:m,userTicketCount:c,isRequireInviteFriend:h,drawStatus:y}):null,G=!C;return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{isVisible:n,qaTag:eQ.BE.Modals.DrawModal.root,className:nH().root,isMaxHeight:!0,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:e.onCloseButtonClick}),(0,ex.jsxs)(Modal.Container,{scrollable:{onScroll:a,onChangeScrollHeight:i,paddings:{default:{top:0},[eU.RR.Tablet]:{top:0}},edgeOverlays:{top:{isHidden:S}}},children:[(0,ex.jsx)(DrawModalBackground,{yOffset:-t,height:r}),(0,ex.jsx)(HeaderGlow_HeaderGlow,{theme:S?"custom":"accent",yOffset:-t}),L?(0,ex.jsx)(DrawModalSkeleton,{}):(0,ex.jsxs)(ex.Fragment,{children:[S&&(0,ex.jsx)(PartnerTBankLogo,{}),(0,ex.jsx)(nq,{}),h&&P,G&&(0,ex.jsx)(or,{}),C&&!j&&(D||b)&&(0,ex.jsx)(TicketsProgress,{ticketCount:c,ticketCountToOpenSharedGift:d,daysLeft:D?_:m}),(0,ex.jsx)(nJ,{isVisibleLabel:G}),!D&&k&&!b&&C&&(0,ex.jsx)(LostSharedGift,{ticketsLeftCount:d-c,daysLeftToGetTicket:m}),j&&w&&(0,ex.jsx)(WonSharedGift,{ticketCountToOpenSharedGift:d,sharedGift:w,sharePeopleAmount:null==p?void 0:p.sharedBonusUsersCount}),S&&(0,ex.jsx)(PartnerAdvertising,{}),(0,ex.jsx)(Advertising,{}),u&&(0,ex.jsx)(nY,{}),!h&&P,(0,ex.jsx)(ok,{onClick:()=>o(!1)})]})]})]}))}),oS=a(57543),oT=a.n(oS),oN=a(58885),oB=a.n(oN),oI=(0,eb.Pi)(e=>{var{isSubscribed:t,onLoadHeaderImage:a}=e,{hasTickets:r,drawStatus:i,isPartnerThemeEnabled:n}=(0,eB.nw)(),{DrawResultCalculation:o}=(0,tc.r)("Modals"),{noTickets:s,hasTickets:l}=o.Header,{title:c,description:d}=r?l:s,{visual:u}=r?o.Header.hasTickets:o.Header.noTickets,m=useDrawTheme(),{img:{src:_,aspectRatio:p,marginBottom:g},topBackgroundDecorator:h}=(0,to.RH)(u[J.Default],u[m]),f=i?c[i]:"",x=t?d.subscribed:d.notSubscribed,v=i?x[i]:"";return(0,ex.jsx)(DrawHeaderView,{imgSrc:_,imgAspectRatio:p,imgMarginBottom:g,title:(0,ex.jsx)("p",{className:eD()(oB().title,{[oB().shifted]:r}),children:(0,nV.renderParameterizedString)(f,{accent:e=>(0,ex.jsx)("span",{className:oB().accent,children:e})})}),description:v,afterImg:n&&!r?(0,ex.jsx)(PartnerHeaderInfo,{}):void 0,beforeImg:(0,ex.jsx)(ImageDecorator,{src:h,position:eo.Top}),onLoadHeaderImage:a})}),oD=a(197),oE=a.n(oD),GiftsButton=e=>{var{giftCount:t,giftsBlockSelector:a,isDataLoading:r}=e,{text:i}=(0,tc.r)("Modals").DrawResultCalculation.GiftsButton,{pluralForms:n}=(0,tc.r)("Modals").Draw,o=(0,eB.C5)(),[s,l]=(0,ej.useState)(!1),[c,d]=(0,ej.useState)(!1),u=(0,ej.useRef)(null),m=(0,ej.useRef)(!1);(0,ej.useEffect)(()=>{u.current&&o.clearTimeout(u.current),!r&&"IntersectionObserver"in o&&(u.current=o.setTimeout(()=>{m.current||l(!0),u.current=o.setTimeout(()=>{m.current||d(!0)},eU.Zo.Moderate)},eU.Zo.Moderate))},[r,o]),(0,ej.useEffect)(()=>{if("IntersectionObserver"in o){var e=new IntersectionObserver(e=>{e[0].isIntersecting&&(m.current=!0,l(!1),d(!1))},{threshold:.2}),t=o.document.querySelector(a);return t&&e.observe(t),()=>{e.disconnect()}}},[r,a,o]),(0,ej.useEffect)(()=>()=>{u.current&&o.clearTimeout(u.current)},[o]);var _=createPluralizer(n.gifts.one,n.gifts.two,n.gifts.five);return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:eD()(oE().overlay,{[oE().visible]:s})}),(0,ex.jsx)("div",{className:eD()(oE().buttonWrapper,{[oE().visible]:c}),children:(0,ex.jsx)(tj,{className:oE().button,size:V.Small,onClick:()=>{var e=o.document.querySelector(a),t=null==e?void 0:e.parentElement;if(l(!1),d(!1),e&&t){var r=e.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop-88;t.scrollTo(0,r)}},children:i.replace("%giftCount%",t.toString()).replace("%gifts%",_(t))})})]})},oM=a(99495),oL=a.n(oM),oR=750/618,DrawResultCalculationModalSkeleton=e=>{var{drawHeaderImageAspectRatio:t=oR}=e;return(0,ex.jsxs)("div",{className:oL().root,children:[(0,ex.jsx)(DrawHeaderImageSkeleton,{aspectRatio:t}),(0,ex.jsx)("div",{className:oL().titleWrapper,children:(0,ex.jsx)(SkeletonItem,{className:oL().title})}),(0,ex.jsx)("div",{className:oL().titleWrapper,children:(0,ex.jsx)(SkeletonItem,{className:eD()(oL().title,oL().row2)})}),(0,ex.jsx)("div",{className:eD()(oL().descriptionWrapper,oL().row1),children:(0,ex.jsx)(SkeletonItem,{className:oL().description})}),(0,ex.jsx)("div",{className:oL().descriptionWrapper,children:(0,ex.jsx)(SkeletonItem,{className:oL().description})}),(0,ex.jsx)(SkeletonItem,{className:oL().broadcastButton}),(0,ex.jsx)(SkeletonItem,{className:oL().gifts}),(0,ex.jsx)(SkeletonItem,{className:oL().lostSharedGift}),(0,ex.jsx)(SkeletonItem,{className:oL().ticketsButton})]})},oP=a(22148),oG=a.n(oP),oA=(0,eb.Pi)(()=>{var{ticketCountToOpenSharedGift:e,sharedGift:t,drawStatus:a}=(0,eB.nw)(),{commonTitle:r,titleTemplate:i,descriptionTemplate:n}=(0,tc.r)("Modals").DrawResultCalculation.SharedGiftNoTickets,{visual:o}=(0,tc.r)("Modals").DrawResultCalculation.SharedGiftNoTickets,{theme:s}=(0,tc.r)("Modals").Draw,{backgroundGradientColor:l,bottomBackgroundDecorator:c,aspectRatio:d}=(0,to.RH)(o[J.Default],o[s]),u=a?n[a]:"";return t?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:oG().giftsTitle,children:r}),(0,ex.jsx)(SharedGiftView,{title:i,description:u,sharedGift:t,ticketCountToOpenSharedGift:e,isLocked:!1,backgroundGradientColor:l,beforeContent:(0,ex.jsx)(ImageDecorator,{src:c,position:eo.Bottom}),hasUpperShadow:!1,aspectRatio:d})]}):null}),oH=(0,eb.Pi)(()=>{var{drawMonetaryGifts:e,drawNotMonetaryGifts:t,drawStatus:a}=(0,eB.nw)(),{monetary:r,notMonetary:i}=(0,tc.r)("Modals").DrawResultCalculation.GiftsNoTickets,{visual:n}=(0,tc.r)("Modals").DrawResultCalculation.GiftsNoTickets,{states:o}=(0,tc.r)("Modals").Draw.DrawGifts,s=o.locked.visual,{theme:l}=(0,tc.r)("Modals").Draw,{topBackgroundDecorator:c}=(0,to.RH)(s[J.Default],s[l]),{backgroundGradientColor:d}=(0,to.RH)(n[J.Default],n[l]),u=useTrackDrawGiftsScroll(tu.tO.Money),m=useTrackDrawGiftsScroll(tu.tO.Service),_=a?r.subtitle[a]:"",p=a?i.subtitle[a]:"";return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(DrawGiftsView,{drawGifts:e,title:r.title,subtitle:_,onScroll:u,beforeContent:(0,ex.jsx)(ImageDecorator,{src:c,position:eo.Top}),withBackgroundLight:!0,backgroundGradientColor:d}),(0,ex.jsx)(DrawGiftsView,{drawGifts:t,title:i.title,subtitle:p,onScroll:m,beforeContent:(0,ex.jsx)(ImageDecorator,{src:c,position:eo.Top}),withBackgroundLight:!0,backgroundLightPosition:es.Top,backgroundGradientColor:d})]})}),BroadcastButton=e=>{var{drawStatus:t}=(0,eB.nw)(),a=(0,eB.rS)();return(0,ex.jsx)(DrawCopyButton,(0,th._)((0,ta._)({},e),{onClick:()=>a.trackBroadcastButtonClick(t)}))},oO=(0,eb.Pi)(e=>{var{isVisibleFloatingSubscribeButton:t}=e,{DrawResultCalculation:a}=(0,tc.r)("Modals"),{sharedGift:r,drawStatus:i,isPartnerThemeEnabled:n}=(0,eB.nw)(),{title:o,copyText:s,copiedText:l,link:c,visual:d}=a.BroadcastButton,{theme:u}=(0,tc.r)("Modals").Draw,{glowColor:m,hasGlow:_}=(0,to.RH)(d[J.Default],d[u]);return(0,ex.jsxs)(ex.Fragment,{children:[r&&(0,ex.jsx)(oA,{}),(0,ex.jsx)(oH,{}),(0,ex.jsx)(BroadcastButton,{title:i?o[i]:"",copyText:s,copiedText:l,link:c,withGlow:_,glowColor:m}),n&&(0,ex.jsx)(PartnerAdvertising,{}),(0,ex.jsx)(Advertising,{}),(0,ex.jsx)(FloatingButtonStub,{isVisible:t})]})}),oW=(0,eb.Pi)(()=>{var{drawMonetaryGifts:e,drawNotMonetaryGifts:t,isDrawStatisticsUnlocked:a,userTicketCount:r,drawStatus:i}=(0,eB.nw)(),{monetary:n,notMonetary:o}=(0,tc.r)("Modals").DrawResultCalculation.Gifts,{tooltipContent:s}=(0,tc.r)("Modals").Draw.Statistics,{isDrawStatisticsEnabled:l}=(0,eB.bW)(),c=(0,eB.rS)(),d=useTrackDrawGiftsScroll(tu.tO.Money),u=useTrackDrawGiftsScroll(tu.tO.Service);return(0,ex.jsx)(UnitedDrawGiftsView,{drawMonetaryGifts:e,drawNotMonetaryGifts:t,title:n.title,notMonetarySubtitle:o.title,userTicketCount:r,isDrawStatisticsEnabled:l,isDrawStatisticsUnlocked:a,tooltipContent:i!==iq.UN.WaitingPublication?s:void 0,onTooltipClick:()=>c.trackDrawRatingInfoClick(i),onScrollMonetaryGifts:d,onScrollNotMonetaryGifts:u})}),LostSharedGift_LostSharedGift=e=>{var{sharedGift:t}=e,{title:a,description:r}=(0,tc.r)("Modals").DrawResultCalculation.LostSharedGift,{pluralForms:i}=(0,tc.r)("Modals").Draw,n=createPluralizer(i.tickets.one,i.tickets.two,i.tickets.five);return(0,ex.jsx)(LostSharedGiftView,{title:a.replace("%gift%",t.name),description:r.replace("%ticketCount%",t.ticketCountToOpen.toString()).replace("%tickets%",n(t.ticketCountToOpen))})},oV=a(63540),oF=a.n(oV),DrawBigGiftCard=e=>{var{imgSrc:t,title:a,description:r,children:i,id:n,className:o,beforeContent:s,withoutBackground:l,imageClassName:c,imgAspectRatio:d=343/290}=e;return(0,ex.jsxs)(Block,{id:n,className:eD()(oF().root,o),children:[(0,ex.jsx)(tN,{className:eD()(oF().background,{[oF().visible]:!l}),aspectRatio:d}),s,(0,ex.jsx)("p",{className:oF().title,children:a}),(0,ex.jsx)("div",{className:oF().description,children:r}),(0,ex.jsx)(Image_Image,{src:t,alt:a,className:eD()(oF().image,c)}),i]})},oU=a(21702),oZ=a.n(oU),WonSharedGift_WonSharedGift=e=>{var{sharedGift:t,sharedBonusUsersCount:a,withoutTooltip:r,withoutCommonTitle:i,beforeContent:n,withoutBackground:o,withAltImg:s}=e,{visual:l,commonTitle:c,title:d,description:u,info:m}=(0,tc.r)("Modals").DrawResultCalculation.WonSharedGift,{theme:_}=(0,tc.r)("Modals").Draw,p=(0,to.RH)(l[J.Default],l[_]),{pluralForms:g}=(0,tc.r)("Modals").Draw,h=createPluralizer(g.tickets.one,g.tickets.two,g.tickets.five),f=createPluralizer(g.gamers.one,g.gamers.two,g.gamers.five),x=s?p.altImg:p.img;return(0,ex.jsxs)(ex.Fragment,{children:[!i&&(0,ex.jsx)("p",{className:oZ().commonTitle,children:c.replace("%ticketCount%",t.ticketCountToOpen.toString()).replace("%tickets%",h(t.ticketCountToOpen))}),(0,ex.jsx)(DrawBigGiftCard,{id:eU.O.WonSharedGift,className:oZ().root,imgSrc:x.src,imgAspectRatio:x.aspectRatio,title:d,description:u,beforeContent:n,withoutBackground:o,children:(0,ex.jsx)(oa,{className:oZ().info,title:m.title.replace("%gift%",t.name),description:m.description.replace("%gamerCount%",a.toLocaleString("ru")).replace("%gamers%",f(a)),tooltipText:m.tooltipText,withoutTooltip:r})})]})},oq=a(7012),oz=a.n(oq),oK=(0,eb.Pi)(()=>{var{imgSrc:e,title:t,description:a,button:r,expirationHint:i}=(0,tc.r)("Modals").DrawResultCalculation.WonExtraGift,{isActivatedExtraGift:n,markAsIsActivatedExtraGift:o}=(0,eB.nw)(),s=(0,eB.rS)();return(0,ex.jsx)(DrawBigGiftCard,{imgSrc:e,imageClassName:oz().image,title:t,withoutBackground:n,description:(0,ex.jsxs)("div",{className:oz().descriptionWrapper,children:[(0,ex.jsx)("p",{className:eD()(oz().description,{[oz().visible]:n}),children:(0,nV.renderParameterizedString)(a,{gold:e=>(0,ex.jsx)("span",{className:oz().gold,children:e})})}),!n&&(0,ex.jsxs)("p",{className:oz().expirationHint,children:[(0,ex.jsx)(ClockIcon,{className:oz().expirationIcon}),i]})]}),children:(0,ex.jsx)(tj,{className:oz().button,size:V.Medium,theme:n?W.Dark:W.Primary,disabled:n,onClick:()=>{s.trackCurrentGiftReceiveButtonClick(null,t,r.text,tZ.Z.Draw),o()},children:n?r.disabledText:r.text})})}),oY=a(34841),oX=a.n(oY),oQ=(0,eb.Pi)(()=>{var{DrawResultCalculation:e}=(0,tc.r)("Modals"),{sharedGift:t,hadChanceToGetSharedGift:a,isSharedGiftUnlocked:r,hasTickets:i,drawState:n,isWonSharedGift:o,drawStatus:s,isPartnerThemeEnabled:l}=(0,eB.nw)(),{isDrawWithEnergyEnabled:c}=(0,eB.bW)(),{title:d}=e.BroadcastButton,u=s?d[s]:"";return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(BroadcastButton,{title:u,copyText:e.BroadcastButton.copyText,copiedText:e.BroadcastButton.copiedText,link:e.BroadcastButton.link,className:oX().copyButton}),(0,ex.jsx)(oW,{}),(c||a)&&r&&t&&!o&&(0,ex.jsx)(LostSharedGift_LostSharedGift,{sharedGift:t}),t&&o&&(0,ex.jsxs)(ex.Fragment,{children:[t&&(null==n?void 0:n.sharedBonusUsersCount)&&(0,ex.jsx)(WonSharedGift_WonSharedGift,{sharedGift:t,sharedBonusUsersCount:n.sharedBonusUsersCount,withoutBackground:!0,withoutTooltip:s===iq.UN.WaitingPublication}),e.WonExtraGift.enabled&&(0,ex.jsx)(oK,{})]}),l&&(0,ex.jsx)(PartnerAdvertising,{}),(0,ex.jsx)(Advertising,{}),i&&(0,ex.jsx)(nY,{})]})}),oJ=(0,eb.Pi)(e=>{var{DrawResultCalculation:t}=(0,tc.r)("Modals"),a=(0,eB.nw)(),{isDrawStateLoading:r,isDrawGiftsLoading:i,loadDrawGifts:n,loadDrawState:o,setShouldSyncGifts:s,sharedGift:l,userTicketCount:c,isWonSharedGift:d,drawStatus:u,drawState:m,isPartnerThemeEnabled:_}=a,p=u===iq.UN.WaitingPublication,[g,h]=(0,ej.useState)(0),[f,x]=(0,ej.useState)(!0),v=r||i;useLogRenderResult(aR.y8.DrawResultCalculation,v),(0,ej.useEffect)(()=>{o(),n()},[o,n,s]);var{isVisibleLoader:w,isVisibleFloatingSubscribeButton:C,onClickSubscribeButton:b}=useFloatingSubscribeButton(v,t.SubscribeButton.successText,()=>a.isSubscribedToNextDraw,a.markAsIsSubscribedToNextDraw),j=0;d&&l&&(j+=1),t.WonExtraGift.enabled&&(j+=1);var k=(0,tc.r)("Modals").Draw.HeaderGlow.visual,{theme:y}=(0,tc.r)("Modals").Draw,{accentColor:S,aspectRatio:T}=(0,to.RH)(k[J.Default],k[y]),N=(0,ej.useCallback)(()=>{0!==c&&x(!1)},[c]);return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{qaTag:p?eQ.BE.Modals.DrawWaitingPublicationModal.root:eQ.BE.Modals.DrawResultCalculationModal.root,className:oT().root,isMaxHeight:!0,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:e.onCloseButtonClick}),(0,ex.jsx)(Modal.Container,{scrollable:{onScroll:h,paddings:{default:{top:0},[eU.RR.Tablet]:{top:0}}},nonScrollableChildren:(0,ex.jsxs)(ex.Fragment,{children:[f&&(0,ex.jsx)(HeaderGlowView,{theme:0===c&&m&&!v?"accent":"default",yOffset:-g,accentColor:S,aspectRatio:T}),(0,ex.jsx)(FloatingButton,{isVisible:0===c&&C,isLoading:w,onClick:b,children:t.SubscribeButton.text}),d&&(0,ex.jsx)(GiftsButton,{giftCount:j,giftsBlockSelector:"#".concat(eU.O.WonSharedGift),isDataLoading:v})]}),children:v?(0,ex.jsx)(DrawResultCalculationModalSkeleton,{}):(0,ex.jsxs)(ex.Fragment,{children:[_&&(0,ex.jsx)(PartnerTBankLogo,{}),(0,ex.jsx)(oI,{onLoadHeaderImage:N,isSubscribed:!w&&a.isSubscribedToNextDraw}),0===c?(0,ex.jsx)(oO,{isVisibleFloatingSubscribeButton:C}):(0,ex.jsx)(oQ,{})]})})]}))}),o$=a(70377),o0=a.n(o$),o1=a(64922),o2=a.n(o1),o3=(0,eb.Pi)(e=>{var{isSubscribed:t}=e,{states:{noTickets:a,wonGifts:r,hasTickets:i,wonSharedGift:n}}=(0,tc.r)("Modals").DrawResults.Header,o=useDrawTheme(),s=(0,to.RH)(a.visual[J.Default],a.visual[o]),l=(0,to.RH)(r.visual[J.Default],r.visual[o]),{hasTickets:c,isWonDrawGifts:d,isWonSharedGift:u,wonMoneyDrawGiftsSum:m,wonPromocodeDrawGiftsSum:_,wonCashbackDrawGiftsSum:p,wonStockDrawGiftsSum:g,userTicketsPercentProgress:h,wonPromocodeDrawGiftsCount:f,isPartnerThemeEnabled:x}=(0,eB.nw)();if(!c){var v=s.img;return(0,ex.jsx)(DrawHeaderView,{imgSrc:v.src,imgAspectRatio:v.aspectRatio,imgMarginBottom:v.marginBottom,title:(0,nV.renderParameterizedString)(a.title,{gold:e=>(0,ex.jsx)("span",{className:o2().gold,children:e})}),description:t?a.description.subscribed:a.description.notSubscribed,afterImg:x&&!c?(0,ex.jsx)(PartnerHeaderInfo,{}):void 0,beforeImg:(0,ex.jsx)(ImageDecorator,{src:s.topBackgroundDecorator,position:eo.Top})})}if(d){var getFormattedTitle=(e,t)=>(0,nV.renderParameterizedString)(e.replace("%gifts%","".concat(t.toLocaleString("ru"),"\xa0₽")),{gold:e=>(0,ex.jsx)("span",{className:o2().gold,children:e})}),w=l.img;return(0,ex.jsx)(DrawHeaderView,{imgSrc:w.src,imgAspectRatio:w.aspectRatio,title:(()=>{if(0!==m)return getFormattedTitle(r.states.money.title,m);var e=[p,_,g];return e.filter(e=>0!==e).length>1?getFormattedTitle(r.states.mixed.title,e.reduce((e,t)=>e+t)):0!==p?getFormattedTitle(r.states.cashback.title,p):0!==_?getFormattedTitle(r.states.promocode.title.replace("%promocodes%",f>1?r.states.promocode.pluralForms.many:r.states.promocode.pluralForms.one),_):0!==g?getFormattedTitle(r.states.stock.title,g):void 0})(),beforeImg:(0,ex.jsx)(ImageDecorator,{src:l.topBackgroundDecorator,position:eo.Top})})}var{title:C,description:b,visual:j}=(()=>{for(var e=i[0],t=1;t<i.length;t++)h>=i[t].ticketsPercentThreshold&&(e=i[t]);return u&&!d?(0,th._)((0,ta._)({},e),{visual:n.visual}):e})(),{img:k,topBackgroundDecorator:y}=(0,to.RH)(j[J.Default],j[o]);return(0,ex.jsx)(DrawHeaderView,{imgSrc:k.src,imgAspectRatio:k.aspectRatio,title:(0,nV.renderParameterizedString)(C,{accent:e=>(0,ex.jsx)("span",{className:o2().gold,children:e})}),description:b,beforeImg:(0,ex.jsx)(ImageDecorator,{src:y,position:eo.Top})})}),o5=a(27504),o4=a.n(o5),o9=(0,eb.Pi)(()=>{var{label:e,titleTemplate:t,descriptionTemplate:a,visual:r}=(0,tc.r)("Modals").DrawResults.SharedGiftNoTickets,{theme:i}=(0,tc.r)("Modals").Draw,{backgroundGradientColor:n}=(0,to.RH)(r[J.Default],r[i]),{ticketCountToOpenSharedGift:o,sharedGift:s}=(0,eB.nw)();return s?(0,ex.jsx)(SharedGiftView,{label:(0,ex.jsx)("span",{className:o4().label,children:e}),title:t,description:a,sharedGift:s,backgroundGradientColor:n,ticketCountToOpenSharedGift:o,isLocked:!1,hasUpperShadow:!1}):null}),o6=(0,eb.Pi)(()=>{var{drawMonetaryGifts:e,drawNotMonetaryGifts:t}=(0,eB.nw)(),{monetary:a,notMonetary:r,visual:i}=(0,tc.r)("Modals").DrawResults.GiftsNoTickets,{states:n}=(0,tc.r)("Modals").Draw.DrawGifts,o=n.locked.visual,{theme:s}=(0,tc.r)("Modals").Draw,{topBackgroundDecorator:l}=(0,to.RH)(o[J.Default],o[s]),{backgroundGradientColor:c}=(0,to.RH)(i[J.Default],i[s]),d=useTrackDrawGiftsScroll(tu.tO.Money),u=useTrackDrawGiftsScroll(tu.tO.Service);return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(DrawGiftsView,{drawGifts:e,title:a.title,subtitle:a.subtitle,onScroll:d,beforeContent:(0,ex.jsx)(ImageDecorator,{src:l,position:eo.Top}),withBackgroundLight:!0,backgroundGradientColor:c}),(0,ex.jsx)(DrawGiftsView,{drawGifts:t,title:r.title,subtitle:r.subtitle,onScroll:u,beforeContent:(0,ex.jsx)(ImageDecorator,{src:l,position:eo.Top}),withBackgroundLight:!0,backgroundLightPosition:es.Top,backgroundGradientColor:c})]})}),o8=(0,eb.Pi)(e=>{var{isVisibleFloatingSubscribeButton:t}=e,{DrawResults:a}=(0,tc.r)("Modals"),{theme:r}=(0,tc.r)("Modals").Draw,{glowColor:i,hasGlow:n}=(0,to.RH)(a.BroadcastButton.visual[J.Default],a.BroadcastButton.visual[r]),{sharedGift:o,isPartnerThemeEnabled:s}=(0,eB.nw)();return(0,ex.jsxs)(ex.Fragment,{children:[o&&(0,ex.jsx)(o9,{}),(0,ex.jsx)(o6,{}),(0,ex.jsx)(BroadcastButton,{title:a.BroadcastButton.title,copyText:a.BroadcastButton.copyText,copiedText:a.BroadcastButton.copiedText,link:a.BroadcastButton.link,withGlow:n,glowColor:i}),s&&(0,ex.jsx)(PartnerAdvertising,{}),(0,ex.jsx)(Advertising,{}),(0,ex.jsx)(FloatingButtonStub,{isVisible:t})]})}),o7=a(61872),se=a.n(o7),st=(0,eb.Pi)(()=>{var{DrawResults:{Statistics:{descriptionTemplate:e,maxRating:t,smallRating:a,visual:r}}}=(0,tc.r)("Modals"),{theme:i}=(0,tc.r)("Modals").Draw,n=(0,to.RH)(r[J.Default],r[i]),{drawState:o}=(0,eB.nw)();if(!(null==o?void 0:o.usersWithLessTicketCountPercent))return null;var s=o.usersWithLessTicketCountPercent>=100?t.descriptionTemplate:o.usersWithLessTicketCountPercent<=a.percentThreshold?a.descriptionTemplate:e;return(0,ex.jsxs)("div",{className:se().root,children:[(0,ex.jsx)(tN,{className:se().gradient,aspectRatio:375/328,style:{"--under-block-gradient-color":n.underBlockGradientColor}}),(0,ex.jsxs)(Block,{className:se().block,background:n.background,children:[(0,ex.jsxs)("div",{className:se().iconWrapper,style:{color:n.iconColor},children:[(0,ex.jsx)("div",{className:se().iconBg,style:{"--icon-background-start-color":n.iconBackgroundStartColor,"--icon-background-end-color":n.iconBackgroundEndColor,"--icon-shadow-color":n.iconShadowColor}}),(0,ex.jsx)(a0.bZk,{})]}),(0,ex.jsx)("p",{className:se().description,children:s.replace("%percent%",o.usersWithLessTicketCountPercent.toString())})]})]})}),LostSharedGift_LostSharedGift_LostSharedGift=e=>{var{sharedGift:t,beforeContent:a}=e,{title:r,description:i}=(0,tc.r)("Modals").DrawResults.LostSharedGift,{pluralForms:n}=(0,tc.r)("Modals").Draw,o=createPluralizer(n.tickets.one,n.tickets.two,n.tickets.five);return(0,ex.jsx)(LostSharedGiftView,{title:r.replace("%gift%",t.name),description:i.replace("%ticketCount%",t.ticketCountToOpen.toString()).replace("%tickets%",o(t.ticketCountToOpen)),beforeContent:a})},sa=(0,eb.Pi)(e=>{var{beforeContent:t}=e,{drawMonetaryGifts:a,drawNotMonetaryGifts:r,userTicketCount:i,drawStatus:n,isWonMonetaryDrawGifts:o,isWonNotMonetaryDrawGifts:s}=(0,eB.nw)(),{title:l,monetary:c,notMonetary:d}=(0,tc.r)("Modals").DrawResults.Gifts,u=n===iq.UN.Results,m=useTrackDrawGiftsScroll(tu.tO.Money),_=useTrackDrawGiftsScroll(tu.tO.Service),p=o||s?l.won:l.lost,g=o?c.subtitle.won:c.subtitle.lost,h=s?d.subtitle.won:d.subtitle.lost;return(0,ex.jsx)(UnitedDrawGiftsView,{beforeContent:t,hasResults:u,drawMonetaryGifts:a,drawNotMonetaryGifts:r,title:p,subtitle:!o&&(o||s)?void 0:g,notMonetarySubtitle:h,userTicketCount:i,isDrawStatisticsEnabled:!1,isDrawStatisticsUnlocked:!1,onScrollMonetaryGifts:m,onScrollNotMonetaryGifts:_})}),sr=a(71556),si=a.n(sr),sn=a(58306),so=a.n(sn),ss=(0,eb.Pi)(()=>{var{title:e,description:t,SubscribeButton:a,enabled:r,visual:i}=(0,tc.r)("Modals").DrawResults.NextDrawAnnouncement,n=(0,eB.nw)(),{isVisibleLoader:o,onClickSubscribeButton:s}=useFloatingSubscribeButton(!1,a.successText,()=>n.isSubscribedToNextDraw,n.markAsIsSubscribedToNextDraw);if(!r)return null;var l=n.isSubscribedToNextDraw&&!o;return(0,ex.jsxs)("div",{className:so().root,children:[i.hasBackground&&(0,ex.jsx)("div",{className:so().background,style:{"--background-gradient-color":i.backgroundGradientColor}}),(0,ex.jsxs)("div",{children:[(0,ex.jsx)(ImageDecorator,{src:i.topDecorator,position:eo.Top}),(0,ex.jsx)(Image_Image,{src:i.img.src,alt:"",className:so().mainImage})]}),(0,ex.jsxs)("div",{className:so().bottom,children:[i.bottomDecorator&&(0,ex.jsx)(Image_Image,{src:i.bottomDecorator,alt:"",className:so().bottomDecorator}),(0,ex.jsx)("p",{className:so().title,children:e})]}),(0,ex.jsx)("p",{className:so().description,children:l?t.subscribed:t.notSubscribed}),(0,ex.jsx)("div",{className:eD()(so().buttonWrapper,{[so().visible]:!l}),children:(0,ex.jsx)(tj,{className:so().button,isLoading:o,onClick:s,beforeContent:(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(ImageDecorator,{src:i.leftButtonDecorator,position:eo.Left}),(0,ex.jsx)(ImageDecorator,{src:i.rightButtonDecorator,position:eo.Right})]}),children:a.text})})]})}),sl=(0,eb.Pi)(()=>{var{DrawResults:e,DrawResultCalculation:t}=(0,tc.r)("Modals"),{minTicketCountToUnlockStatistics:a}=(0,eB.Vf)().Draw,{theme:r}=(0,tc.r)("Modals").Draw,{afterStatisticsBlockGradientColor:i,beforeNextDrawAnnouncementBlockGradientColor:n}=(0,to.RH)(e.visual[J.Default],e.visual[r]),{sharedGift:o,hadChanceToGetSharedGift:s,isSharedGiftUnlocked:l,drawState:c,isWonDrawGifts:d,isWonSharedGift:u,isPartnerThemeEnabled:m}=(0,eB.nw)(),{isDrawWithEnergyEnabled:_}=(0,eB.bW)(),p=!!((null==c?void 0:c.usersWithLessTicketCountPercent)&&(null==c?void 0:c.userTicketCount)&&c.userTicketCount>=a),g=u&&!d,h=!d&&p,f=(0,ex.jsx)(tN,{className:si().afterStatisticsBlock,aspectRatio:343/264,style:{"--gradient-color":i}}),x=e.NextDrawAnnouncement.enabled?(0,ex.jsx)("div",{className:si().bottomItemGradient,style:{"--gradient-color":n}}):null,v=o&&(null==c?void 0:c.sharedBonusUsersCount)?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(WonSharedGift_WonSharedGift,{sharedGift:o,sharedBonusUsersCount:c.sharedBonusUsersCount,withoutTooltip:!0,withoutCommonTitle:!d,beforeContent:h?f:void 0,withAltImg:h,withoutBackground:!0}),t.WonExtraGift.enabled&&(0,ex.jsx)(oK,{})]}):null;return(0,ex.jsxs)(ex.Fragment,{children:[p&&(0,ex.jsx)(st,{}),g&&v,(0,ex.jsx)(sa,{beforeContent:g?void 0:f}),(0,ex.jsx)(BroadcastButton,{title:e.BroadcastButton.title,copyText:e.BroadcastButton.copyText,copiedText:e.BroadcastButton.copiedText,link:e.BroadcastButton.link}),u&&d&&v,(_||s)&&l&&o&&!u&&(0,ex.jsx)(LostSharedGift_LostSharedGift_LostSharedGift,{sharedGift:o}),m&&(0,ex.jsx)(PartnerAdvertising,{}),(0,ex.jsx)(Advertising,{}),(0,ex.jsx)(nY,{beforeContent:x}),(0,ex.jsx)(ss,{})]})}),HeaderGlow_HeaderGlow_HeaderGlow=e=>{var{visual:t}=(0,tc.r)("Modals").Draw.HeaderGlow,{theme:a}=(0,tc.r)("Modals").Draw,{accentColor:r,aspectRatio:i}=(0,to.RH)(t[J.Default],t[a]);return(0,ex.jsx)(HeaderGlowView,(0,th._)((0,ta._)({},e),{accentColor:r,aspectRatio:i}))},sc=(0,eb.Pi)(e=>{var{DrawResults:t}=(0,tc.r)("Modals"),{visual:a}=t.Header.states.noTickets,{theme:r}=(0,tc.r)("Modals").Draw,{img:i}=(0,to.RH)(a[J.Default],a[r]),n=(0,eB.nw)(),{isDrawStateLoading:o,isDrawGiftsLoading:s,loadDrawGifts:l,loadDrawState:c,setShouldSyncGifts:d,hasTickets:u,isPartnerThemeEnabled:m}=n,[_,p]=(0,ej.useState)(0),g=o||s;useLogRenderResult(aR.y8.DrawResults,g),(0,ej.useEffect)(()=>{c(),l()},[c,l,d]);var{isVisibleLoader:h,isVisibleFloatingSubscribeButton:f,onClickSubscribeButton:x}=useFloatingSubscribeButton(g,t.SubscribeButton.successText,()=>n.isSubscribedToNextDraw,n.markAsIsSubscribedToNextDraw);return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{qaTag:eQ.BE.Modals.DrawResultsModal.root,className:o0().root,isMaxHeight:!0,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:e.onCloseButtonClick}),(0,ex.jsx)(Modal.Container,{scrollable:{onScroll:p,paddings:{default:{top:0},[eU.RR.Tablet]:{top:0}}},nonScrollableChildren:(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(HeaderGlow_HeaderGlow_HeaderGlow,{theme:"accent",yOffset:-_}),(0,ex.jsx)(FloatingButton,{isVisible:!u&&f,isLoading:h,onClick:x,children:t.SubscribeButton.text})]}),children:g?(0,ex.jsx)(DrawResultCalculationModalSkeleton,{drawHeaderImageAspectRatio:i.aspectRatio}):(0,ex.jsxs)(ex.Fragment,{children:[m&&(0,ex.jsx)(PartnerTBankLogo,{}),(0,ex.jsx)(o3,{isSubscribed:!h&&n.isSubscribedToNextDraw}),u?(0,ex.jsx)(sl,{}):(0,ex.jsx)(o8,{isVisibleFloatingSubscribeButton:f})]})})]}))}),sd=(0,eb.Pi)(e=>{var{drawStatus:t}=(0,eB.nw)(),a=(0,eB.rS)(),r=(0,th._)((0,ta._)({},e),{onCloseButtonClick:()=>a.trackHideDraw("cross_tap"),onBackgroundClick:()=>a.trackHideDraw("external_tap"),onSwipeClose:()=>a.trackHideDraw("swipe")});switch(t){case iq.UN.Waiting:return(0,ex.jsx)(nG,(0,ta._)({},r));case iq.UN.InProgress:return(0,ex.jsx)(oy,(0,ta._)({},r));case iq.UN.ResultCalculation:case iq.UN.WaitingPublication:return(0,ex.jsx)(oJ,(0,ta._)({},r));case iq.UN.Results:return(0,ex.jsx)(sc,(0,ta._)({},r))}return null}),su=a(62017),sm=a.n(su),ReferralModal=e=>(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{children:[(0,ex.jsx)(Modal.CloseButton,{}),(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(tN,{className:sm().image,aspectRatio:375/265}),(0,ex.jsx)("p",{className:sm().title,children:"О, вы от друга"}),(0,ex.jsx)("p",{className:sm().description,children:"Ð’Ñтавьте ÑÑылку, по которой перешли, чтобы друг получил билет в розыгрыше поÑле того, как вы отгадаете 1 Ñлово"}),(0,ex.jsx)("input",{className:sm().input,type:"text",placeholder:"СÑылка от друга"})]})]})),s_=a(46836),sp=a.n(s_),sg=a(54812),sh=a.n(sg);(N=el||(el={})).Purple="purple",N.Gold="gold";var sf=375/667,EnergyHeaderGlow=e=>{var{theme:t=el.Purple,className:a}=e,{visual:r}=(0,tc.r)().EnergyHeaderGlow;return(0,ex.jsx)("div",{className:eD()(sh().root,a),children:(0,ex.jsx)(tN,{aspectRatio:r.aspectRatio,className:sh().glowContainer,children:(0,ex.jsx)("div",{className:eD()(sh().glow,{[sh().gold]:t===el.Gold})})})})},sx=a(65925),sv=a.n(sx),sw=a(38527),sC=a.n(sw),getEnergyStreakItemImageIdByDay=e=>"energy-streak-item-image-".concat(e),sb=a(43919),sj=a(54481),sk=a(57689),sy=a.n(sk),sS=a(66171),sT=a(63453),sN=(0,sj.bP)((B=(0,aU._)(function*(e){yield(0,sS.S)(e),yield(0,sT.Fc)(e)}),function(e){return B.apply(this,arguments)})),sB={fullScreen:{enable:!1,zIndex:0},particles:{opacity:{animation:{enable:!0,speed:1,sync:!0,mode:sb.m3L.decrease,destroy:sb.Hyf.min,startValue:sb.a9w.random,delay:1},value:{min:0,max:1}},size:{value:{min:.3,max:3}},move:{angle:{offset:0,value:{max:30,min:10}},enable:!0,speed:{max:2.5,min:2},direction:sb.p$b.top,random:!1,straight:!1,outModes:{default:sb.Voc.destroy}}},emitters:[{direction:sb.p$b.top,position:{y:100,x:{min:40,max:60}},life:{duration:.2,delay:.1,wait:!0,count:0},rate:{quantity:2,delay:.13}}]},sI=(0,ej.memo)(e=>{var{options:t=sB}=e,a=(0,ej.useId)(),r=(0,eB.wL)(),[i,n]=(0,ej.useState)(!1);return(0,ej.useEffect)(()=>{sN.then(()=>n(!0)).catch(e=>r.logError({error:e}))},[r]),i&&(0,ex.jsx)(sj.ZP,{id:a,className:sy().container,options:t})});sI.displayName="FireFlyParticles";var sD=(0,ej.memo)(e=>{var t=function(e){var{color:t="#fff",sizeMin:a=.3,sizeMax:r=2,speedMax:i=1.5,speedMin:n=1}=e;return(0,th._)((0,ta._)({},sB),{particles:{opacity:{animation:{enable:!0,speed:2,sync:!0,mode:sb.m3L.decrease,destroy:sb.Hyf.min,startValue:sb.a9w.random,delay:.8},value:{min:0,max:1}},size:{value:{min:a,max:r}},color:{value:t},move:{angle:{offset:0,value:{max:30,min:10}},enable:!0,speed:{max:i,min:n},direction:sb.p$b.top,random:!1,straight:!1,outModes:{default:sb.Voc.destroy}}},emitters:[{direction:sb.p$b.top,position:{y:100,x:{min:0,max:100}},life:{duration:.09,delay:.05,wait:!0,count:0},rate:{quantity:1.5,delay:.09}}]})}(e);return(0,ex.jsx)(sI,{options:t})});sD.displayName="EnergyStreakItemParticles";var sE={width:54,height:69},sM={width:62,height:80},EnergyStreakItem=e=>{var{isActive:t,isLast:a,isReceived:r,day:i,energyValue:n,className:o,style:s}=e,{energyDescriptionPostfix:l}=(0,tc.r)("Modals").EnergyStreak,c=(0,ej.useRef)(null),d=useAdaptiveProperty({Mobile:sE,MobileMedium:sM}),u=d.width/d.height,m=c.current?c.current.clientWidth/d.width:1;return(0,ex.jsx)(tN,{ref:c,aspectRatio:u,className:o,style:s,children:(0,ex.jsxs)("div",{className:eD()(sC().itemWrapper,{[sC().active]:t,[sC().last]:a,[sC().received]:r}),style:{width:d.width,height:d.height,transform:"scale(".concat(m,")")},children:[t&&(0,ex.jsx)("div",{className:sC().animationContainer,children:(0,ex.jsx)(sD,{color:a?"#fdcd2f":"#fff"})}),(0,ex.jsxs)("div",{className:sC().item,children:[(t||r)&&(0,ex.jsx)(Image_Image,{src:"./energy/energy-streak-beams.svg",alt:"",className:sC().beams}),(0,ex.jsxs)("div",{className:sC().title,children:[(0,ex.jsx)(tM,{id:getEnergyStreakItemImageIdByDay(i),className:sC().titleImg,theme:a?F.Gold:F.Purple}),(0,ex.jsx)("span",{children:n})]}),!r&&(0,ex.jsxs)("p",{className:sC().description,children:[i," ",l]}),(0,ex.jsx)(Image_Image,{src:"./energy/stamp.svg",alt:"подарок",className:eD()(sC().stamp,{[sC().visible]:r})})]})]})})},EnergyStreakList=e=>{var{streak:t,hasActiveDayHighlight:a=!1}=e,[r,i]=(0,ej.useState)(!1);return(0,ej.useEffect)(()=>{i(!0)},[]),(0,ex.jsx)("div",{className:eD()(sv().streak,{[sv().visible]:r}),children:Object.keys(t.days).map(e=>{var i=Number(e);return(0,ex.jsx)(EnergyStreakItem,{isActive:t.currentDay===i&&a,isLast:i===Object.keys(t.days).length,isReceived:i<t.currentDay||i===t.currentDay&&t.isReceivedToday,day:e,energyValue:t.days[e],className:eD()(sv().item,{[sv().visible]:r}),style:{"--index":i}},e)})})},useTrueValue=e=>{var[t,a]=(0,ej.useState)(e);return(0,ej.useEffect)(()=>{e&&a(!0)},[e]),t},sL=a(64255),sR=a.n(sL),EnergyHeaderImage=e=>{var{image:t,children:a}=e,r=(0,ej.useRef)(null),[i,n]=(0,ej.useState)(!1),{width:o,height:s}=useWindowSize(),l=t instanceof Array?t:[(0,th._)((0,ta._)({},t),{isVisible:!0})],c=l[0];return(0,ej.useLayoutEffect)(()=>{r.current&&c.aspectRatio&&n(r.current.clientWidth/r.current.clientHeight>c.aspectRatio)},[o,s,c.aspectRatio]),(0,ex.jsxs)("div",{ref:r,className:sR().root,children:[a,l.map((e,t)=>(0,ex.jsx)(Image_Image,{className:eD()(sR().image,{[sR().visible]:e.isVisible,[sR().horizontal]:i}),src:e.src,alt:""},t))]})},sP=a(75669),sG=a.n(sP),EnergyHeaderBeams=e=>{var{theme:t}=e,{purple:a,gold:r}=(0,tc.r)("EnergyHeaderBeams"),i=(0,ej.useRef)(null),n=(0,ej.useRef)(null),{width:o,height:s}=useWindowSize();return(0,ej.useLayoutEffect)(()=>{if(i.current){var{clientWidth:e,clientHeight:t}=i.current,setSize=(e,t)=>{n.current&&(n.current.style.width="".concat(e,"px"),n.current.style.height="".concat(t,"px"))};e/t>a.visual.img.aspectRatio?setSize(e,e/a.visual.img.aspectRatio):setSize(t*a.visual.img.aspectRatio,t)}},[a.visual.img.aspectRatio,o,s]),(0,ex.jsx)("div",{ref:i,className:sG().root,children:(0,ex.jsxs)(tN,{ref:n,aspectRatio:a.visual.img.aspectRatio,className:sG().imageWrapper,children:[(0,ex.jsx)(Image_Image,{src:a.visual.img.src,alt:"",className:eD()(sG().image,{[sG().visible]:t===el.Purple})}),(0,ex.jsx)(Image_Image,{src:r.visual.img.src,alt:"",className:eD()(sG().image,{[sG().visible]:t===el.Gold})})]})})},sA=(0,eb.Pi)(e=>{var{title:t,description:a,heroImg:r,button:i}=(0,tc.r)("Modals").EnergyStreak,{purple:n,purpleTwo:o,gold:s}=r,{energyStreak:l,energyStreakCurrentDay:c,energyStreakCurrentDayEnergyValue:d,isLoading:u,isChargingEnergy:m}=(0,eB.gq)(),{trackEnergyStreakModalShown:_,trackEnergyStreakModalChargeEnergyButtonClick:p}=(0,eB.rS)();useLogRenderResult(aR.y8.EnergyStreak,u),(0,ej.useEffect)(()=>{_(c,d)},[]);var{isDayEnded:g}=(0,eB.G3)(),{startHideModal:h,showResultModal:f}=(0,eB.s9)(),{isFinishedRightNow:x}=(0,eB.gT)(),{chargeStreakEnergy:v}=(0,eB.A1)(),[w,C]=(0,ej.useState)(!0),b=useTrueValue(m),j=useElementBoundingRect("#".concat(getEnergyStreakItemImageIdByDay(c)));if(l){var k=l.currentDay===Object.keys(l.days).length,y=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large}),S=k?el.Gold:el.Purple;return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Modal,(0,th._)((0,ta._)({},e),{isVisible:w,className:sp().root,qaTag:eQ.BE.Modals.EnergyStreakModal.root,isClosableOnlyByChildren:!0,isMaxHeight:!0,children:(0,ex.jsxs)(Modal.Container,{scrollable:{paddings:{default:{top:0,horizontal:0,bottom:40},[eU.RR.MobileMedium]:{bottom:58},[eU.RR.Tablet]:{top:0,bottom:58}},edgeOverlays:{top:{isHidden:!0}}},children:[(0,ex.jsxs)(EnergyHeaderImage,{image:[(0,th._)((0,ta._)({},o.visual.img),{isVisible:2===d}),(0,th._)((0,ta._)({},s.visual.img),{isVisible:k}),(0,th._)((0,ta._)({},n.visual.img),{isVisible:1===d})],children:[(0,ex.jsx)(EnergyHeaderBeams,{theme:S}),(0,ex.jsx)(EnergyHeaderGlow,{theme:S})]}),(0,ex.jsxs)("div",{className:sp().container,children:[(0,ex.jsx)("p",{className:sp().title,children:t}),(0,ex.jsx)("p",{className:sp().description,children:a}),(0,ex.jsx)(EnergyStreakList,{streak:l,hasActiveDayHighlight:!0}),(0,ex.jsx)("div",{className:sp().buttonWrapper,children:(0,ex.jsx)(tj,{className:sp().button,size:y,isLoading:g?u:b,onClick:()=>{v(),p(c,d)},children:i})})]})]})})),(0,ex.jsx)(Portal,{selector:"body",children:j&&(0,ex.jsx)(r1,{directionMultiplier:0,count:d,startRect:j,onAnimationComplete:()=>{x?f():(h(),C(!1))},theme:k?F.Gold:F.Purple})})]})}}),sH=a(40615),sO=a.n(sH),sW=(0,eb.Pi)(e=>{var{title:t,description:a,button:r,visual:i}=(0,tc.r)("Modals").EnergyWelcomeModal,{energyState:n,chargeOnboardingEnergy:o,isChargingEnergy:s,isLoading:l}=(0,eB.gq)(),c=(0,eB.ae)(),{complete:d}=(0,eB.Md)(),u=(0,ej.useRef)(null),m=useElementBoundingRect(u),_=useTrueValue(s),{trackEnergyWelcomeModalShown:p,trackEnergyWelcomeModalChargeEnergyButtonClick:g}=(0,eB.rS)();if(useLogRenderResult(aR.y8.EnergyWelcome,l),(0,ej.useEffect)(()=>{p(c.isCompletedToday)},[]),!n)return null;var h=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large});return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Modal,(0,th._)((0,ta._)({},e),{isClosableOnlyByChildren:!0,qaTag:eQ.BE.Modals.EnergyWelcomeModal.root,className:sO().root,isMaxHeight:!0,children:(0,ex.jsxs)(Modal.Container,{scrollable:{paddings:{default:{top:0,horizontal:0,bottom:40},[eU.RR.MobileMedium]:{bottom:58}}},children:[(0,ex.jsx)(EnergyHeaderImage,{image:i.img,children:(0,ex.jsx)(EnergyHeaderGlow,{})}),(0,ex.jsxs)("div",{className:sO().container,children:[(0,ex.jsx)("p",{className:sO().title,children:t}),(0,ex.jsx)("p",{className:sO().description,children:a}),(0,ex.jsx)("div",{className:sO().buttonWrapper,children:(0,ex.jsx)(tj,{className:sO().button,size:h,onClick:()=>{o(),g(c.isCompletedToday)},beforeContent:(0,ex.jsx)(tM,{ref:u,className:sO().energyImage}),isLoading:_,children:r})})]})]})})),(0,ex.jsx)(Portal,{selector:"body",children:m&&(0,ex.jsx)(r1,{directionMultiplier:[.1,-.2],count:n.onboardingEnergyBonus,startRect:m,onAnimationComplete:d})})]})}),sV=a(76591),sF=a.n(sV),sU=a(8169),sZ=a.n(sU),sq=a(3875),sz=a.n(sq),useImageScale=e=>{var{defaultHeight:t,defaultWidth:a,imageRef:r}=e,[i,n]=(0,ej.useState)(1),o=(0,eB.C5)();return(0,ej.useLayoutEffect)(()=>{var calculateImageScale=()=>{r.current&&n(Number(Math.max(r.current.width/a,r.current.height/t).toFixed(2)))};return calculateImageScale(),(0,eL.C)(o,calculateImageScale),()=>(0,eL.D)(o,calculateImageScale)},[t,a,r,o]),i},EnergyBalance=e=>{var{balance:t,theme:a,children:r,className:i}=e,{aspectRatioSmall:n,aspectRatio:o,purple:s,gold:l}=(0,tc.r)("EnergyBalance"),c=(0,ej.useRef)(null),d=(0,ej.useRef)(null),u=useImageScale({defaultWidth:s.battery.defaultWidth,defaultHeight:s.battery.defaultHeight,imageRef:d}),m=useWindowSize(),_=m.width/m.height>=sf,p=a===el.Gold,g=(0,eB.bU)();return(0,ex.jsxs)("div",{ref:c,className:eD()(sz().root,i),children:[(0,ex.jsxs)(tN,{className:sz().imageContainer,aspectRatio:_?n:o,children:[(0,ex.jsx)(Image_Image,{src:s.glow.src,alt:"",className:eD()(sz().image,sz().glow,{[sz().visible]:!p,[sz().small]:_})}),(0,ex.jsx)(Image_Image,{imageRef:d,src:s.battery.src,alt:"",className:eD()(sz().image,sz().battery,{[sz().visible]:!p})}),(0,ex.jsx)(Image_Image,{src:l.glow.src,alt:"",className:eD()(sz().image,sz().glow,{[sz().visible]:p})}),(0,ex.jsx)(Image_Image,{imageRef:d,src:l.battery.src,alt:"",className:eD()(sz().image,sz().battery,{[sz().visible]:p})}),(0,ex.jsx)("p",{className:eD()(sz().balance,sz()[a]),style:{transform:"translate(-50%, -50%) scale(".concat(u,")"),marginTop:"".concat(g.isIos()?"calc(-2px * ".concat(u,")"):0)},children:t})]}),r]})},sK=(0,eb.Pi)(()=>{var e,t,a,{energyCount:r,energyState:i,minutesTillNextWithdrawal:n,isEnergyOverlimited:o}=(0,eB.gq)(),{title:s,description:l,infoBadge:c}=(0,tc.r)("Modals").EnergyBalanceModal,d=o?el.Gold:el.Purple;return(0,ex.jsxs)("div",{className:sZ().headerContainer,children:[(0,ex.jsx)(EnergyHeaderBeams,{theme:d}),(0,ex.jsx)(EnergyHeaderGlow,{theme:d}),(0,ex.jsxs)("div",{className:sZ().headerContent,children:[(0,ex.jsx)("div",{className:sZ().title,children:s}),(0,ex.jsx)("div",{className:sZ().description,children:l})]}),(0,ex.jsx)(EnergyBalance,{className:sZ().balance,balance:r,theme:d,children:(0,ex.jsxs)("div",{className:sZ().energyStatus,children:[(0,ex.jsx)(tM,{theme:o?F.Gold:F.Purple,className:sZ().energyStatusImage}),(0,nV.renderParameterizedString)(i?o?i.nextWithdrawalAt?c.gold.text.replace("%value%","".concat(null!==(e=i.nextWithdrawalAmount)&&void 0!==e?e:"")).replace("%minutes%",getPluralForm(null!=n?n:0,c.pluralForms.minutes.one,c.pluralForms.minutes.two,c.pluralForms.minutes.five)):"":c.purple.text.replace("%value%","".concat(null!==(t=i.maxCount)&&void 0!==t?t:"")):"",{accent:e=>(0,ex.jsx)("span",{className:o?sZ().accentGold:sZ().accentPurple,children:e}),minutesCount:()=>(0,ex.jsx)(AnimatedCounterResolver,{number:null!=n?n:0})}),o&&(0,ex.jsx)(TooltipButton,{tooltipText:c.gold.tooltipText.replace("%maxAmount%","".concat(null!==(a=null==i?void 0:i.maxCount)&&void 0!==a?a:"")),tooltipContentMaxWidth:258,className:sZ().tooltipButton,activeClassName:sZ().tooltipButtonActive,theme:G.Light,tooltipClassName:sZ().tooltipContent,children:(0,ex.jsx)(a0.I$8,{})})]})})]})}),EnergyBalanceModal=e=>{var{energyStreak:t,isLoading:a}=(0,eB.gq)(),{streakTitle:r,closeButton:i}=(0,tc.r)("Modals").EnergyBalanceModal,n=(0,ej.useRef)(null);useLogRenderResult(aR.y8.EnergyBalance,a);var[o,s]=(0,ej.useState)(0),l=(0,ej.useRef)(null),c=(0,ej.useRef)(null);(0,ej.useEffect)(()=>{if(l.current&&c.current){var{width:e}=l.current.getBoundingClientRect(),{width:t}=c.current.getBoundingClientRect();s((e-t)/2)}},[l,c]);var{isVisible:d,hide:u}=useVisibilityToggle(!0),m=useWindowSize(),_=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large}),p=m.width<eU.RR.MobileMedium&&m.width/m.height>=sf;if(t)return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{className:sF().root,qaTag:eQ.BE.Modals.EnergyBalanceModal.root,isMaxHeight:!0,isVisible:d,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:e.onCloseButtonClick}),(0,ex.jsx)(Modal.Container,{scrollable:{paddings:{default:{top:0,horizontal:0,bottom:40},[eU.RR.MobileMedium]:{bottom:58},[eU.RR.Tablet]:{top:0,bottom:58}},edgeOverlays:{top:{isHidden:!0}}},children:(0,ex.jsxs)("div",{className:sF().contentWrapper,ref:n,children:[(0,ex.jsx)(sK,{}),(0,ex.jsxs)("div",{className:sF().container,children:[(0,ex.jsx)("div",{className:sF().streakTitle,ref:l,children:(0,ex.jsx)("span",{className:sF().streakTitleText,ref:c,style:{"--stripe-width":"".concat(o,"px")},children:r})}),(0,ex.jsx)("div",{className:sF().streakContainer,children:(0,ex.jsx)(EnergyStreakList,{streak:t})}),!p&&(0,ex.jsx)(tj,{className:sF().button,theme:W.Dark,size:_,onClick:u,children:i})]})]})})]}))},sY=a(8770),sX=a.n(sY),sQ=(0,eb.Pi)(e=>{var{title:t,subtitle:a,description:r,closeButton:i,pluralForms:n}=(0,tc.r)("Modals").EnergyOverlimitModal,o=(0,eB.gq)(),{minutesTillNextWithdrawal:s}=o,{isVisible:l,hide:c}=useVisibilityToggle(!0);useLogRenderResult(aR.y8.EnergyOverlimit,o.isLoading);var{energyCount:d,nextWithdrawalAmount:u}=(0,ej.useRef)({energyCount:o.energyCount,nextWithdrawalAmount:o.nextWithdrawalAmount}).current,{trackEnergyOverlimitModalShown:m,trackEnergyOverlimitModalButtonClick:_}=(0,eB.rS)();(0,ej.useEffect)(()=>{m(u,null!=s?s:0)},[]),(0,ej.useEffect)(()=>{s||c()},[c,s]);var p=useAdaptiveProperty({Mobile:sX().titleM,MobileMedium:sX().titleL}),g=useAdaptiveProperty({Mobile:sX().descriptionS,MobileMedium:sX().descriptionL}),h=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large}),f=el.Gold;return(0,ex.jsxs)(Modal,(0,th._)((0,ta._)({},e),{className:sX().root,qaTag:eQ.BE.Modals.EnergyBalanceModal.root,isVisible:l,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:e.onCloseButtonClick}),(0,ex.jsx)(Modal.Container,{scrollable:{paddings:{default:{top:0,horizontal:0,bottom:0}},edgeOverlays:{top:{isHidden:!0}}},children:(0,ex.jsxs)("div",{className:sX().contentWrapper,children:[(0,ex.jsxs)("div",{className:sX().balanceWrapper,children:[(0,ex.jsx)(EnergyHeaderBeams,{theme:f}),(0,ex.jsx)(EnergyHeaderGlow,{theme:f}),(0,ex.jsx)(EnergyBalance,{className:sX().balance,balance:d,theme:f})]}),(0,ex.jsxs)("div",{className:sX().container,children:[(0,ex.jsx)("p",{className:eD()(sX().title,p),children:t}),(0,ex.jsxs)("div",{className:eD()(sX().title,p),children:[(0,ex.jsx)(tM,{theme:F.Gold,className:sX().energyImage}),(0,nV.renderParameterizedString)(a.replace("%value%","".concat(null!=u?u:"")).replace("%minutesCount%","".concat(null!=s?s:0)).replace("%minutes%",getPluralForm(null!=s?s:0,n.minutes.one,n.minutes.two,n.minutes.five)),{accent:e=>(0,ex.jsx)("span",{className:sX().accentGold,children:e})})]}),(0,ex.jsx)("p",{className:eD()(sX().description,g),children:r}),(0,ex.jsx)(tj,{className:sX().button,theme:W.Dark,size:h,onClick:()=>{_(u,null!=s?s:0),c()},children:i})]})]})})]}))}),useDrawImagesPreload=()=>{var e=(0,eB.qf)(),{drawStatus:t}=(0,eB.nw)(),a=useDrawTheme(),{visual:r}=(0,tc.r)("Modals").Draw.Background,{backgroundImageSrc:i}=(0,to.RH)(r[J.Default],r[a]);(0,ej.useLayoutEffect)(()=>{t&&i&&e.loadAssets([addCDNUrlToSrcSet(i)])},[e,i,t])},usePredictionsImagesPreload=()=>{var e=(0,eB.gT)(),t=(0,eB.bW)(),a=(0,eB.qf)(),{Predictions:r}=(0,tc.r)("Modals");(0,ej.useEffect)(()=>{t.isPredictionsEnabled&&!e.isFinished&&e.currentWord.length>0&&a.loadAssets([r.animation[ei.Idle].mainImageSrc,r.animation[ei.Idle].shadowImageSrc,r.animation[ei.Opening].src,r.animation[ei.Opened].mainImageSrc,r.animation[ei.Opened].shadowImageSrc])},[a,r.animation,e.isFinished,e.currentWord.length])},sJ=(0,eb.Pi)(()=>{var{modalsStack:e,hideModal:t,showGameInfo:a,startHideModal:r,replaceModal:i,updateModalsStack:n,errorInfo:o,maxRulesModalBodyHeight:s}=(0,eB.s9)(),{closeResultModal:l}=(0,eB.qJ)(),{closeDrawModal:c}=(0,eB.P4)(),d=(0,eB.OY)();return usePredictionsImagesPreload(),useDrawImagesPreload(),(0,ex.jsx)(ex.Fragment,{children:e.map(u=>{switch(u){case tZ.Z.Result:return(0,ex.jsx)(ry,{onStartClose:r,onClose:l,onOpen:n},u);case tZ.Z.GameInfo:return(0,ex.jsx)(rz,{onStartClose:r,onClose:()=>{d.completeOnboarding(),t(tZ.Z.GameInfo)},onOpen:n,isReplacing:e.includes(tZ.Z.Rules)},u);case tZ.Z.Rules:return(0,ex.jsx)(RulesModal,{onBackButtonClick:a,onStartClose:r,onClose:()=>t(tZ.Z.Rules),onOpen:n,isReplacing:e.includes(tZ.Z.GameInfo),style:{height:s}},u);case tZ.Z.Gifts:return(0,ex.jsx)(id,{onStartClose:r,onClose:()=>t(tZ.Z.Gifts),onOpen:n},u);case tZ.Z.NewDay:return(0,ex.jsx)(NewDayModal,{},u);case tZ.Z.Draw:return(0,ex.jsx)(sd,{isReplacing:e.includes(tZ.Z.DrawTickets),onStartClose:r,onClose:c,onOpen:n},u);case tZ.Z.DrawTickets:return(0,ex.jsx)(i0,{isReplacing:e.includes(tZ.Z.Draw),onStartClose:r,onBackButtonClick:()=>i(tZ.Z.Draw),onClose:()=>t(tZ.Z.DrawTickets),onOpen:n},u);case tZ.Z.Prediction:return(0,ex.jsx)(iS,{onStartClose:r,onClose:()=>{t(tZ.Z.Prediction)},onOpen:n},u);case tZ.Z.Error:return(0,ex.jsx)(ErrorModal,{errorInfo:o,onOpen:n},u);case tZ.Z.ResyncGameStateModal:return(0,ex.jsx)(ResyncGameStateModal,{onStartClose:r,onClose:()=>t(tZ.Z.ResyncGameStateModal),onOpen:n},u);case tZ.Z.TechnicalWork:return(0,ex.jsx)(TechnicalWorkModal,{},u);case tZ.Z.Share:return(0,ex.jsx)(ShareModal,{onStartClose:r,onClose:()=>t(tZ.Z.Share),onOpen:n},u);case tZ.Z.Conditions:return(0,ex.jsx)(ConditionsModal,{onStartClose:r,onClose:()=>t(tZ.Z.Conditions),onBackButtonClick:()=>t(tZ.Z.Conditions),onOpen:n},u);case tZ.Z.Highload:return(0,ex.jsx)(HighloadModal,{},u);case tZ.Z.SubscribeErrorModal:return(0,ex.jsx)(SubscribeErrorModal,{onStartClose:r,onClose:()=>t(tZ.Z.SubscribeErrorModal),onOpen:n},u);case tZ.Z.Referral:return(0,ex.jsx)(ReferralModal,{onStartClose:r,onClose:()=>t(tZ.Z.Referral),onOpen:n},u);case tZ.Z.DevTools:return(0,ex.jsx)(DevToolsModal,{onStartClose:r,onClose:()=>t(tZ.Z.DevTools),onOpen:n},u);case tZ.Z.EnergyWelcome:return(0,ex.jsx)(sW,{onStartClose:r,onClose:()=>t(tZ.Z.EnergyWelcome),onOpen:n},u);case tZ.Z.EnergyStreak:return(0,ex.jsx)(sA,{onStartClose:r,onClose:()=>t(tZ.Z.EnergyStreak),onOpen:n},u);case tZ.Z.EnergyBalance:return(0,ex.jsx)(EnergyBalanceModal,{onStartClose:r,onClose:()=>t(tZ.Z.EnergyBalance),onOpen:n},u);case tZ.Z.EnergyOverlimit:return(0,ex.jsx)(sQ,{onStartClose:r,onClose:()=>t(tZ.Z.EnergyOverlimit),onOpen:n},u);default:return null}})})}),s$=a(76312),s0=a(32158),s1=a.n(s0),s2=a(91388),s3=(0,eb.Pi)(e=>{var t,a,r,i,{currentNotification:n}=e,{startHideNotification:o,hideCurrentNotification:s}=(0,eB.rV)(),{isBottomSheetOverlayed:l}=(0,eB.T_)(),[c,d]=(0,ej.useState)(!1),[u,m]=(0,ej.useState)(!1),_=useWindowSize(),p=(0,eB.Xu)(),g=(0,eB.rS)(),h=null!==(r=n&&p.tryCreateLink(n.primaryAction.link))&&void 0!==r?r:null,f=null!==(i=(null==n?void 0:n.secondaryAction)&&p.tryCreateLink(n.secondaryAction.link))&&void 0!==i?i:null,x=h instanceof s$.h&&h.getAction()===s2.Rh.Subscribe;(0,ej.useEffect)(()=>{n&&(d(!0),x&&g.trackSubscribeToPushNotificationShown(n.title))},[n,x,g]);var hideNotification=()=>!c&&s(),v=(0,ej.useCallback)(e=>{e||o(),d(e)},[o]),w=(0,ej.useCallback)(()=>{d(!1),o()},[o]),C=(0,ej.useCallback)((t=(0,aU._)(function*(e){yield e.click(),w()}),function(e){return t.apply(this,arguments)}),[w]),b=(0,ej.useCallback)((a=(0,aU._)(function*(e){e.preventDefault(),n&&h&&(m(!0),x&&g.trackClickSubscribeToPushNotification(n.title),yield C(h),m(!1))}),function(e){return a.apply(this,arguments)}),[n,x,C,h,g]),j=(0,ej.useCallback)(e=>{e.preventDefault(),(null==n?void 0:n.secondaryAction)&&f&&C(f)},[n,C,f]),k=useAdaptiveProperty({Mobile:V.Medium,MobileMedium:V.Large}),getBody=()=>{var{title:e,description:t,primaryAction:a,secondaryAction:r,img:i}=n;return(0,ex.jsxs)("div",{className:eD()(s1().root,{[s1().bigBottomPadding]:!r}),"data-overlayed":l,children:[i&&(0,ex.jsx)("div",{className:s1().imageContainer,children:(0,ex.jsx)(Image_Image,{className:s1().image,src:i,alt:""})}),(0,ex.jsxs)("div",{className:s1().content,children:[(0,ex.jsx)("p",{className:s1().title,children:e}),(0,ex.jsx)("p",{className:s1().description,children:t})]}),(0,ex.jsxs)("div",{className:s1().buttons,children:[(0,ex.jsx)(tj,{className:s1().button,size:k,onClick:b,isLoading:u,children:a.text}),r&&(0,ex.jsx)(tj,{className:s1().button,theme:W.Flat,size:k,onClick:j,children:r.text})]}),(0,ex.jsx)(CloseButton,{className:s1().closeButton,onClick:w})]})};return _.width>=eU.RR.Tablet?(0,ex.jsx)(Popup,{isOpened:c,onChange:v,onTransitionEnd:hideNotification,children:getBody()}):(0,ex.jsx)(BottomSheet,{isOpened:c,onChange:v,onTransitionEnd:hideNotification,onOutsideClick:w,children:getBody()})}),s5=(0,eb.Pi)(()=>{var{isAppOverlayedByLoader:e}=(0,eB.T_)(),{currentNotification:t}=(0,eB.rV)(),{currentStep:a}=(0,eB.ae)(),{isActive:r}=(0,eB.Md)(),{currentModal:i}=(0,eB.s9)();return!t||e||i||a===an.E.Welcome||r?null:(0,ex.jsx)(s3,{currentNotification:t})}),s4=a(45469),s9=a.n(s4),s6={[nP.C.Loader]:e1.a,[nP.C.Success]:e=>{var{className:t}=e;return(0,ex.jsxs)("svg",{className:t,width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 38.3333C30.1252 38.3333 38.3333 30.1252 38.3333 20C38.3333 9.87478 30.1252 1.66667 20 1.66667C9.87478 1.66667 1.66667 9.87478 1.66667 20C1.66667 30.1252 9.87478 38.3333 20 38.3333Z",fill:"#FFDD2D"}),(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.2292 27.5848L30.0144 15.7997L29.3914 15.1767C27.9131 13.6984 25.5163 13.6984 24.0379 15.1767L18.2292 20.9851L16.3098 19.0657C14.8315 17.5874 12.4345 17.5874 10.9562 19.0658L10.3333 19.6888L18.2292 27.5848Z",fill:"#424243"})]})},[nP.C.Warn]:e=>{var{className:t}=e;return(0,ex.jsxs)("svg",{className:t,width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.29099 27.4565L16.1954 5.61809C18.1307 2.34294 22.8694 2.34294 24.8047 5.61808L37.7091 27.4564C39.6787 30.7895 37.276 35.0001 33.4045 35.0001L7.59564 35.0001C3.72414 35.0001 1.32146 30.7896 3.29099 27.4565Z",fill:"url(#paint0_linear_4036_67)"}),(0,ex.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.4167 30.8332H20.9167C21.8372 30.8332 22.5834 30.087 22.5834 29.1665V25.8332H20.0834C19.1629 25.8332 18.4167 26.5794 18.4167 27.4999V30.8332ZM18.4167 23.3332H20.9167C21.8372 23.3332 22.5834 22.587 22.5834 21.6665V12.4999H20.0834C19.1629 12.4999 18.4167 13.2461 18.4167 14.1665V23.3332Z",fill:"#424243"}),(0,ex.jsx)("defs",{children:(0,ex.jsxs)("linearGradient",{id:"paint0_linear_4036_67",x1:"9.10149",y1:"8.95054",x2:"29.2222",y2:"31.5901",gradientUnits:"userSpaceOnUse",children:[(0,ex.jsx)("stop",{stopColor:"#F52626"}),(0,ex.jsx)("stop",{offset:"1",stopColor:"#F52626",stopOpacity:"0.7"})]})})]})}},StatusNotificationView=e=>{var{onClose:t,statusNotification:a}=e,[r,i]=(0,ej.useState)(!1),[n,o]=(0,ej.useState)(!1),[s,l]=(0,ej.useState)(a),c=(0,ej.useRef)(null),d=(0,ej.useRef)(null),u=usePrevious(r),{StatusNotification:{defaultShowDurationMs:m}={}}=(0,eB.Vf)(),{type:_,text:p,showDurationMs:g=m}=s,{type:h,text:f}=a;(0,ej.useEffect)(()=>{i(!0),l(a)},[]),(0,ej.useEffect)(()=>{if(c.current&&d.current){var e=d.current.getBoundingClientRect();c.current.style.width="".concat(e.width,"px"),c.current.style.height="".concat(e.height,"px")}u&&(o(!0),setTimeout(()=>{l(a),o(!1)},eU.Zo.Moderate))},[a]),(0,ej.useEffect)(()=>{var e=setTimeout(handleClose,g);return()=>{clearTimeout(e)}},[s]);var x=s6[_],v=s6[h],handleClose=()=>{n||s.type===nP.C.Loader||(i(!1),setTimeout(()=>{t()},eU.Zo.Moderate))};return(0,ex.jsx)("div",{className:eD()("overlay",s9().root),onClick:handleClose,children:(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{ref:c,className:eD()(s9().body,{[s9().hasText]:!!p,[s9().visible]:r,[s9().transitioned]:n}),children:(0,ex.jsxs)("div",{className:s9().inner,children:[(0,ex.jsx)(x,{className:s9().icon}),p&&(0,ex.jsx)("div",{className:s9().text,children:p})]})}),(0,ex.jsxs)("div",{ref:d,className:eD()(s9().nextBodyHolder,{[s9().hasText]:!!f}),children:[(0,ex.jsx)(v,{className:s9().icon}),f&&(0,ex.jsx)("div",{className:s9().text,children:f})]})]})})},s8=(0,eb.Pi)(()=>{var{statusNotification:e,hideStatusNotification:t,currentNotification:a}=(0,eB.rV)();return!e||a?(0,ex.jsx)(ex.Fragment,{}):(0,ex.jsx)(StatusNotificationView,{onClose:t,statusNotification:e})}),s7=(0,eb.Pi)(()=>{var e=(0,eB.Rt)(),t=(0,eB.LM)(),a=(0,eB.s9)(),{isAppOverlayedByLoader:r}=(0,eB.T_)(),i=!t.isGameLocked&&!a.currentModal&&r;return(0,ej.useEffect)(()=>{e.login()},[e]),useLogRenderResult(aR.y8.GameField,i),usePreventPinchToZoom(),usePreventScroll("#".concat(eU.O.AppContainer)),(0,ex.jsxs)("div",{className:ey().root,children:[(0,ex.jsxs)(Container,{className:ey().container,children:[(0,ex.jsx)(t6,{}),(0,ex.jsx)(tA,{})]}),!r&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(ai,{}),(0,ex.jsx)(aE,{})]}),i&&(0,ex.jsx)(GameLoadingModal,{}),(0,ex.jsx)(sJ,{}),(0,ex.jsx)(s5,{}),(0,ex.jsx)(s8,{})]})}),le=a(77514),lt=a.n(le);(I=ec||(ec={})).Normal="normal",I.Small="small";var Block_Block=e=>{var{children:t,id:a,className:r,size:i=ec.Normal}=e;return(0,ex.jsx)("div",{id:a,className:eD()(lt().root,r),"data-size":i,children:(0,ex.jsx)("div",{className:lt().content,children:t})})},la=a(13567),lr=a.n(la),li="data-top-value",ln="data-bottom-value",lo={[li]:"",[ln]:""},FlipCounterDigit=e=>{var{value:t,className:a,animationDurationSec:r=1}=e,i=usePrevious(t),n=(0,ej.useRef)(null),o=(0,ej.useRef)(null),s=(0,ej.useCallback)(()=>{var e,a,r,i;null===(e=n.current)||void 0===e||e.setAttribute(ln,t),null===(a=o.current)||void 0===a||a.setAttribute(li,t),null===(r=n.current)||void 0===r||r.classList.remove(lr().animated),null===(i=o.current)||void 0===i||i.classList.remove(lr().animated)},[t]),l=(0,ej.useCallback)(e=>{e.animationName===lr().flipTop&&s()},[s]);return(0,ej.useEffect)(()=>{n.current&&o.current&&(n.current.setAttribute(li,t),n.current.setAttribute(ln,t),n.current.style.animationDuration="".concat(r,"s"),o.current.setAttribute(ln,t),o.current.setAttribute(li,t),o.current.style.animationDuration="".concat(r,"s"))},[]),(0,ej.useEffect)(()=>{var e,a,r,l,c;(null===(e=o.current)||void 0===e?void 0:e.classList.contains(lr().animated))&&s(),void 0!==i&&i!==t&&(null===(a=n.current)||void 0===a||a.setAttribute(li,t),null===(r=o.current)||void 0===r||r.setAttribute(ln,t),null===(l=n.current)||void 0===l||l.classList.add(lr().animated),null===(c=o.current)||void 0===c||c.classList.add(lr().animated))},[t]),(0,ex.jsx)("div",{className:a,children:(0,ex.jsx)("div",(0,th._)((0,ta._)({className:lr().digit,ref:n},lo),{children:(0,ex.jsx)("div",(0,th._)((0,ta._)({className:lr().digitOverlay,ref:o},lo),{onAnimationEnd:l}))}))})},ls=a(31614),ll=a.n(ls),FlipCounter=e=>{var{digitsAmount:t,value:a,animationDurationSec:r}=e,[i,n]=(0,ej.useState)([]);return(0,ej.useEffect)(()=>{n("".concat(a).padStart(t,"0").split(""))},[a,t]),(0,ex.jsx)("div",{className:ll().counter,children:i.map((e,t)=>(0,ex.jsx)(FlipCounterDigit,{value:e,className:ll().digit,animationDurationSec:r},"digit-".concat(t)))})},lc=(0,eb.Pi)(e=>{var{className:t}=e,{todayIssuedGifts:a}=(0,eB.xj)();return(0,ex.jsx)("div",{className:t,children:(0,ex.jsx)(FlipCounter,{digitsAmount:6,value:a,animationDurationSec:.4})})}),ld=a(43714),lu=a.n(ld),lm=a(62065),l_=a.n(lm),Button_Button=e=>{var{children:t,className:a,onClick:r}=e;return(0,ex.jsx)("button",{className:eD()(l_().root,a),onClick:r,children:t})};(D=ed||(ed={})).Demo="demo",D.HowToFind="howToFind",D.Card="card";var scrollToElement=(e,t)=>{if(e){var a,r;e.scrollIntoView({block:null!==(a=null==t?void 0:t.block)&&void 0!==a?a:"start",behavior:null!==(r=null==t?void 0:t.behavior)&&void 0!==r?r:"smooth",inline:null==t?void 0:t.inline})}},lp=a(72155),lg=a.n(lp),Header_Header=()=>{var{Intro:{logo:{src:e,alt:t},logoTinkoff:a}}=(0,tc.r)("LandingV2");return(0,ex.jsx)(Block_Block,{className:lg().block,children:(0,ex.jsxs)("div",{className:lg().logoContainer,children:[(0,ex.jsx)(Image_Image,{src:e,alt:t,className:lg().logo}),(0,ex.jsx)("div",{className:lg().logo,children:(0,ex.jsx)(Image_Image,{src:a,alt:"",className:lg().companyLogo})})]})})},Intro=()=>{var{Intro:{title:e,text:t,button:{text:a},gifts:{text:r,ghost:i},images:{lettersStaticTop:n,lettersStaticBottom:o,shape1:s,shape2:l,shape3:c,shape4:d,shape5:u,shape6:m,letter1:_,letter2:p,letter3:g,letter4:h,letter5:f,letter6:x,letter7:v,letter8:w}}}=(0,tc.r)("LandingV2"),C=(0,eB.rS)();return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Header_Header,{}),(0,ex.jsx)(Block_Block,{size:ec.Small,className:lu().block,children:(0,ex.jsxs)("div",{className:lu().container,children:[(0,ex.jsxs)("div",{className:lu().content,children:[(0,ex.jsx)("p",{className:lu().mainTitle,children:e}),(0,ex.jsx)("p",{className:lu().description,children:t}),(0,ex.jsx)(Button_Button,{className:lu().button,onClick:()=>{C.trackClickPlayOnIntroLandingV2(),scrollToElement(document.getElementById(ed.Demo))},children:a}),(0,ex.jsx)(Image_Image,{src:s,alt:"",width:28,height:22,className:eD()(lu().letter,lu().letterGroup1,lu().shape1)}),(0,ex.jsx)(Image_Image,{src:_,alt:"",width:52,height:52,className:eD()(lu().letter,lu().letterGroup1,lu().letter1)}),(0,ex.jsx)(Image_Image,{src:l,alt:"",width:33,height:19,className:eD()(lu().letter,lu().letterGroup1,lu().shape2)})]}),(0,ex.jsxs)("div",{className:lu().giftsContainer,children:[(0,ex.jsxs)("div",{className:lu().giftsContent,children:[(0,ex.jsx)(Image_Image,{src:i,alt:"",className:lu().giftsImage}),(0,ex.jsx)(lc,{className:lu().counter}),(0,ex.jsx)("p",{className:lu().giftsDescription,children:r})]}),(0,ex.jsx)(Image_Image,{src:p,alt:"",width:76,height:76,className:eD()(lu().letter,lu().letter2)}),(0,ex.jsx)(Image_Image,{src:c,alt:"",width:28,height:22,className:eD()(lu().letter,lu().shape3)}),(0,ex.jsx)(Image_Image,{src:g,alt:"",width:44,height:44,className:eD()(lu().letter,lu().letter3)}),(0,ex.jsx)(Image_Image,{src:h,alt:"",width:112,height:112,className:eD()(lu().letter,lu().letter4)}),(0,ex.jsx)(Image_Image,{src:f,alt:"",width:64,height:64,className:eD()(lu().letter,lu().letter5)}),(0,ex.jsx)(Image_Image,{src:d,alt:"",width:41,height:31,className:eD()(lu().letter,lu().shape4)}),(0,ex.jsx)(Image_Image,{src:x,alt:"",width:76,height:76,className:eD()(lu().letter,lu().letter6)}),(0,ex.jsx)(Image_Image,{src:v,alt:"",width:112,height:112,className:eD()(lu().letter,lu().letter7)}),(0,ex.jsx)(Image_Image,{src:u,alt:"",width:58,height:26,className:eD()(lu().letter,lu().shape5)}),(0,ex.jsx)(Image_Image,{src:w,alt:"",width:92,height:92,className:eD()(lu().letter,lu().letter8)}),(0,ex.jsx)(Image_Image,{src:m,alt:"",width:49,height:38,className:eD()(lu().letter,lu().shape6)}),(0,ex.jsx)("div",{className:lu().lettersTopContainer,children:(0,ex.jsx)(Image_Image,{src:n,alt:"",className:lu().lettersStatic})}),(0,ex.jsx)("div",{className:lu().lettersBottomContainer,children:(0,ex.jsx)(Image_Image,{src:o,alt:"",className:lu().lettersStatic})})]})]})})]})},lh=a(72165),lf=a.n(lh),lx=a(87715),lv=a.n(lx),LandingPageButton=e=>(0,ex.jsx)(tj,(0,th._)((0,ta._)({},e),{className:eD()(lv().button,e.className)})),useIsPhoneResolution=()=>{var{width:e}=useWindowSize();return e<eU.RR.Tablet},Bonus=()=>{var{Bonus:{title:e,text:t,button:a,images:r}}=(0,tc.r)("LandingV2"),i=(0,eB.rS)(),n=useIsPhoneResolution();return(0,ex.jsx)(Block_Block,{children:(0,ex.jsxs)("div",{className:lf().card,children:[n?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().mobileImage1),src:r.mobileImage1,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().mobileImage2),src:r.mobileImage2,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().mobileImage3),src:r.mobileImage3,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().mobileImage4),src:r.mobileImage4,alt:""})]}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().image1),src:r.image1,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().image2),src:r.image2,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().image3),src:r.image3,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().image4),src:r.image4,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().image5),src:r.image5,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(lf().floatImage,lf().image6),src:r.image6,alt:""})]}),(0,ex.jsxs)("div",{className:lf().content,children:[(0,ex.jsx)("p",{className:lf().title,children:e}),(0,ex.jsx)("p",{className:lf().text,children:t}),(0,ex.jsx)(LandingPageButton,{className:lf().button,theme:W.Secondary,onClick:()=>{i.trackClickGetPromoCode(),scrollToElement(document.getElementById(ed.Demo))},children:a.text})]})]})})},lw=a(83782),lC=a.n(lw),Title=e=>{var{children:t,className:a}=e;return(0,ex.jsx)("p",{className:eD()(lC().root,a),children:t})},lb=a(80558),lj=a.n(lb),About=()=>{var{About:{title:e,items:t}}=(0,tc.r)("LandingV2");return(0,ex.jsxs)(Block_Block,{size:ec.Small,children:[(0,ex.jsx)(Title,{children:e}),(0,ex.jsx)("div",{className:lj().items,children:t.map((e,t)=>(0,ex.jsxs)("div",{className:lj().item,children:[(0,ex.jsxs)("div",{className:lj().itemIconWrapper,children:[(0,ex.jsx)(Image_Image,{className:lj().itemIconShadow,src:e.iconShadow,alt:""}),(0,ex.jsx)(Image_Image,{className:lj().itemIcon,src:e.icon,alt:""})]}),(0,ex.jsx)("p",{className:lj().itemTitle,children:e.title}),(0,ex.jsx)("p",{className:lj().itemDescription,children:e.description})]},t))})]})},lk=a(34348),ly=a.n(lk),lS=a(10177),lT=a.n(lS),lN=a(71771),lB=a.n(lN),lI=a(32027),lD=a(58705),lE=a.n(lD),lM=a(92967),lL=a.n(lM),lR=a(55458),lP=a.n(lR),DemoGameModal=e=>(0,ex.jsx)(Modal,(0,th._)((0,ta._)({},e),{className:eD()(lP().root,e.className)})),DemoGameModalHeader=e=>(0,ex.jsx)(Modal.Header,(0,th._)((0,ta._)({},e),{title:e.title&&(0,th._)((0,ta._)({},e.title),{className:eD()(lP().title,e.title.className)})})),WelcomeModal_WelcomeModal=e=>{var{onPrimaryButtonClick:t,onSecondaryButtonClick:a,isVisible:r,className:i,title:n,description:o,primaryButtonText:s,secondaryButtonText:l,selector:c}=e;return(0,ex.jsx)(DemoGameModal,{isVisible:r,qaTag:eQ.BE.DemoGame.WelcomeModal.root,className:eD()(lL().root,i),position:z.Absolute,selector:c,isClosableOnlyByChildren:!0,children:(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(DemoGameModalHeader,{title:{text:n,align:q.Center}}),(0,ex.jsx)("p",{className:lL().description,children:o}),(0,ex.jsxs)("div",{className:lL().buttons,children:[(0,ex.jsx)(tj,{className:lL().button,onClick:t,children:s}),(0,ex.jsx)(tj,{className:lL().button,theme:W.Flat,onClick:a,children:l})]})]})})},WelcomeModal=e=>{var{onStartGameButtonClick:t,isVisible:a,className:r,landingModalClassName:i}=e,n=(0,eB.rS)(),{WelcomeModal:o,WelcomeModalWithoutBonus:s}=(0,tc.r)("DemoGameV2"),{isLandingPageBonusEnabled:l}=(0,eB.Vf)(),{title:c,description:d,startGameButton:u,goToMbButton:m}=l?o:s;return(0,ex.jsx)(WelcomeModal_WelcomeModal,{isVisible:a,title:c,selector:"#".concat(eU.O.DemoGameContainer),className:eD()(lE().root,i,r),onPrimaryButtonClick:e=>{n.trackClickStartDemoLandingV2(),null==t||t(e)},onSecondaryButtonClick:()=>{n.trackClickOpenFullVersionFromDemoWelcomeLandingV2(),scrollToElement(document.querySelector("#".concat(ed.HowToFind)))},description:d,primaryButtonText:u,secondaryButtonText:m})},useWindowHeight=()=>{var e=(0,eB.bU)(),t=useWindowSize(),[a,r]=(0,ej.useState)(null!=eu?eu:t.height);return(0,ej.useEffect)(()=>{if(!e.isMobileDevice()){r(t.height);return}var i=a-t.height;i>0&&i<=100&&r(t.height)},[e,a,t.height]),(0,ej.useEffect)(()=>{eu=a},[a]),a},LandingModal=e=>{var t=useWindowHeight();return(0,ex.jsx)(Modal,{className:eD()(lB().root,{[lB().compact]:t>=800},e.className),qaTag:e.qaTag,selector:e.selector,position:e.position,children:(0,ex.jsxs)(Modal.Container,{scrollable:{className:eD()(lB().scrollable,{[lB().withExtraTopPadding]:!e.isClosableOnlyByChildren},e.scrollableClassName),onScroll:e.onScroll},children:[!e.isClosableOnlyByChildren&&(0,ex.jsx)(Modal.CloseButton,{}),e.onBack&&(0,ex.jsx)(Modal.BackButton,{onClick:e.onBack}),(0,ex.jsx)(Modal.Header,{title:{text:e.title||"",align:e.titleAlign,className:eD()(lB().title,e.titleClassName)}}),e.children]})})},lG=a(15038),lA=a.n(lG),lH=ej.forwardRef((e,t)=>{var{title:a,imageSrc:r,style:i,children:n}=e;return(0,ex.jsxs)("div",{ref:t,className:lA().root,style:i,children:[(0,ex.jsx)(Image_Image,{className:lA().image,src:r,alt:""}),(0,ex.jsx)("p",{className:lA().title,children:a}),n]})});lH.displayName="TabCard";var lO=a(36890),lW=a.n(lO),UpcomingGiftsTab_UpcomingGiftsTab=e=>{var{style:t}=e,{ResultModal:{tabs:{upcoming:{card:{imageSrc:a,title:r,description:i}}}}}=(0,tc.r)("DemoGameV2");return(0,ex.jsx)(lH,{style:t,imageSrc:a,title:r,children:(0,ex.jsx)("p",{className:lW().description,children:i})})},lV=a(62701),lF=a.n(lV),CopyButton=e=>{var{textToCopy:t,title:a,copiedTitle:r,className:i,onClick:n}=e,[o,s]=(0,ej.useState)(!1),l=(0,ej.useRef)(null),c=(0,eB.O)();return(0,ej.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),(0,ex.jsx)(LandingPageButton,{className:eD()(lF().root,{[lF().copied]:o},i),theme:W.Transparent,onClick:()=>{null==n||n(),l.current&&clearTimeout(l.current);try{copyToClipboard_copyToClipboard(t),s(!0),l.current=window.setTimeout(()=>{s(!1)},eU.K8)}catch(e){c.captureException({error:e,message:aZ.Pe.CopyToClipboardError})}},children:o?(0,ex.jsx)("span",{className:lF().copiedTitle,children:r}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("span",{className:lF().title,children:a}),(0,ex.jsx)(Image_Image,{className:lF().copyIcon,src:"./icons/copy-new.svg",alt:""})]})})},lU=a(53779),lZ=a.n(lU),ReceivedGiftsTab_ReceivedGiftsTab=e=>{var{onMounted:t}=e,{ResultModal:{tabs:{received:{card:{imageSrc:a,title:r,description:i,goToCardButton:n,promoButton:o}}}}}=(0,tc.r)("DemoGameV2"),s=(0,eB.rS)(),l=(0,ej.useRef)(null);return(0,ej.useLayoutEffect)(()=>{l.current&&t(l.current)},[t]),(0,ex.jsxs)(lH,{ref:l,imageSrc:a,title:r,children:[(0,ex.jsx)(CopyButton,{className:lZ().copyButton,textToCopy:o.textToCopy,title:o.textToCopy,copiedTitle:o.copiedTitle,onClick:()=>s.trackClickCopyPromoCode()}),(0,ex.jsx)("p",{className:lZ().description,children:i}),(0,ex.jsx)(LandingPageButton,{className:lZ().goToCardButton,theme:W.Secondary,onClick:()=>{s.trackClickGetCard(),scrollToElement(document.querySelector("#".concat(ed.Card)))},children:n})]})},lq=a(83094),lz=a.n(lq),lK=a(1629),lY=a.n(lK),UpcomingGiftsCardWithoutBonus=()=>{var{ResultModalWithoutBonus:{card:{imageSrc:e,title:t,description:a,buttons:r}}}=(0,tc.r)("DemoGameV2"),i=(0,eB.rS)();return(0,ex.jsxs)(lH,{imageSrc:e,title:t,children:[(0,ex.jsx)("p",{className:lY().description,children:a}),(0,ex.jsxs)("div",{className:lY().buttons,children:[(0,ex.jsx)(LandingPageButton,{theme:W.Secondary,onClick:()=>{i.trackClickBecomeClientLandingV2(),scrollToElement(document.querySelector("#".concat(ed.Card)))},children:r.notClient}),(0,ex.jsx)(LandingPageButton,{theme:W.FlatDark,className:lY().clientButton,onClick:()=>{i.trackClickAlreadyClientLandingV2(),scrollToElement(document.querySelector("#".concat(ed.HowToFind)))},children:r.client})]})]})};(E=em||(em={}))[E.UpcomingGifts=0]="UpcomingGifts",E[E.ReceivedGifts=1]="ReceivedGifts";var ResultModal_ResultModal=e=>{var{isVisible:t}=e,{isLandingPageBonusEnabled:a}=(0,eB.Vf)(),{ResultModal:r,ResultModalWithoutBonus:i}=(0,tc.r)("DemoGameV2"),[n,o]=(0,ej.useState)(null),[s,l]=(0,ej.useState)(1),c=(0,eB.rS)(),d=(0,eB.gT)();if((0,ej.useEffect)(()=>{t&&(d.isWon?c.trackShowDemoWonResultModalLandingV2():c.trackShowDemoLostResultModalLandingV2())},[d.isWon,t,c]),!t)return null;if(a){var u=d.isWon?r.won.title:r.lose.title,m=[{id:0,title:(0,ex.jsx)("span",{className:lz().tabTitle,children:r.tabs.upcoming.tabTitle}),content:(0,ex.jsx)(UpcomingGiftsTab_UpcomingGiftsTab,{style:{minHeight:"".concat(n,"px")}})},{id:1,title:(0,ex.jsx)("span",{className:lz().tabTitle,children:r.tabs.received.tabTitle}),content:(0,ex.jsx)(ReceivedGiftsTab_ReceivedGiftsTab,{onMounted:e=>{var{clientHeight:t}=e;return o(t)}})}];return(0,ex.jsx)(LandingModal,{title:u,className:lz().modal,titleClassName:lz().title,scrollableClassName:lz().scrollable,qaTag:eQ.BE.DemoGame.ResultModal.root,titleAlign:q.Center,selector:"#".concat(eU.O.DemoGameContainer),position:z.Absolute,isClosableOnlyByChildren:!0,children:(0,ex.jsx)(Tabs,{theme:et.Flat,items:m,initialTabIndex:s,tabIndex:s,onTabChange:l,tabsClassName:lz().tabs})})}var _=d.isWon?i.won.title:i.lose.title;return(0,ex.jsx)(LandingModal,{title:_,className:lz().modal,titleClassName:lz().title,scrollableClassName:lz().scrollable,qaTag:eQ.BE.DemoGame.ResultModal.root,titleAlign:q.Center,selector:"#".concat(eU.O.DemoGameContainer),position:z.Absolute,isClosableOnlyByChildren:!0,children:(0,ex.jsx)(UpcomingGiftsCardWithoutBonus,{})})},lX=a(87763),lQ=a.n(lX),lJ=(0,eb.Pi)(()=>{var e=(0,eB.T_)(),t=(0,eB.uP)();return(0,ex.jsxs)("div",{className:lQ().root,children:[(0,ex.jsx)(tX,{isOverlayed:e.isLogoOverlayed}),(0,ex.jsx)("div",{className:lQ().buttons,children:(0,ex.jsx)("button",{"data-qa":eQ.BE.DemoGame.Header.infoButton,className:lQ().button,"data-overlayed":e.isInfoButtonOverlayed,onClick:()=>t.setIsRulesModalVisible(!0),children:(0,ex.jsx)(LightInfoIcon,{})})})]})}),l$=a(584),l0=a.n(l$),StartEnterWord_StartEnterWord=e=>{var{isVisible:t}=e,{StartEnterWord:{tooltip:a}}=(0,tc.r)("DemoGameV2"),r=useElementBoundingRect("#".concat(eU.O.DemoKeyboardContainer));return(0,ex.jsx)(ex.Fragment,{children:r&&(0,ex.jsx)(Tooltip,{position:P.Fixed,className:l0().tooltip,isVisible:t,x:r.left+r.width/2,y:r.top,children:a})})},l1=(0,eb.Pi)(()=>{var e=(0,eB.T_)(),t=(0,eB.gT)();(0,eB.Ac)();var a=(0,eB.Q3)(),{currentStep:r,accentKeyboardKey:i,isModalVisible:n}=(0,eB.uP)();return(0,ej.useEffect)(()=>{t.loadState()},[t]),(0,ex.jsxs)(Game,{columnCount:eN.l$,rowCount:eN.Do,fieldWords:(0,e3.ZN)(t.fieldWords),letterEvaluations:(0,e3.ZN)(t.letterEvaluations),lettersEvaluationsMap:(0,e3.ZN)(t.lettersEvaluationsMap),currentRowIndex:t.currentRowIndex,currentRowStatus:t.currentRowStatus,onFinishRowAnimation:t.clearCurrentRowStatus,onKeyPress:t.addLetter,onBackspacePress:t.removeLastLetter,onEnterPress:a.submitCurrentRow,shouldClearCurrentRow:t.shouldClearCurrentRow,canSubmit:t.canSubmit,canClear:t.canClear,isSubmittingWord:t.isSubmittingWord,isFieldTotallyOverlayed:e.isTilesOverlayed,fieldOverlayedTiles:e.overlayedTiles,isKeyboardTotallyOverlayed:e.isKeyboardOverlayed,keyboardOverlayedKeys:e.overlayedKeyboardKeys,keyboardAccentKey:i,keyboardContainerId:eU.O.DemoKeyboardContainer,children:[(0,ex.jsx)(StartEnterWord_StartEnterWord,{isVisible:r===lI.P.StartEnterWord}),t.dailyWord&&(0,ex.jsx)(FirstLetterTooltip,{isVisible:r===lI.P.FirstLetterTooltip,firstLetterSelector:'[data-key="'.concat(t.dailyWord.word[0],'"]')}),(0,ex.jsx)(ai,{isVisible:!n}),i&&(0,ex.jsx)(TapAccent,{isAbsolute:!0,selector:'[data-key="'.concat(i,'"]')})]})}),l2=a(36618),l3=a.n(l2),l5={topOffset:40,bottomOffset:24,height:56},l4=(0,th._)((0,ta._)({},l5),{bottomOffset:32}),RulesModal_RulesModal=e=>{var{isVisible:t,onClose:a,onSkip:r,onPlay:i,onCloseButtonClick:n,onBackgroundClick:o,hasBottomButton:s,className:l,titleClassName:c,selector:d}=e,{RulesModal:{title:u,introText:m,examples:_,afterText:p,bottomButtons:g}}=(0,tc.r)("DemoGameV2"),h=usePrevious(s),f=usePrevious(t),[x,v]=(0,ej.useState)(0),[w,C]=(0,ej.useState)(0),b=(0,ej.useRef)(null),j=useWindowSize(),k=x>=99,y=s||h,S=t||f,T=Object.values(j.width>=eU.RR.TabletMedium?l4:l5).reduce((e,t)=>e+t,0),N=y?T:80;return(0,ex.jsxs)(DemoGameModal,{isVisible:t,className:eD()(l3().root,l),qaTag:eQ.BE.Modals.RulesModal.root,onClose:a,onBackgroundClick:o,position:z.Absolute,selector:d,children:[(0,ex.jsx)(Modal.CloseButton,{onClick:n}),(0,ex.jsxs)(Modal.Container,{scrollable:{paddings:{default:{bottom:N},[eU.RR.Tablet]:{bottom:N}},onScroll:(e,t)=>v(t),edgeOverlays:{isAlwaysVisible:!0,bottom:y?{height:T,gradientHeight:l5.topOffset}:void 0}},nonScrollableChildren:y?(0,ex.jsx)(tj,{className:l3().playButton,theme:k?W.Primary:W.Dark,onClick:()=>k?null==i?void 0:i():null==r?void 0:r(),children:k?g.play:g.skip}):void 0,onMounted:()=>{if(b.current){var e=(eN.l$-1)*eN.XN,t=(Math.min(b.current.clientWidth,260)-e)/eN.l$;C(calcOptimalTileSize(t,t/eN.dj,eN.dj).height)}},children:[(0,ex.jsx)(DemoGameModalHeader,{title:{text:u,className:c}}),(0,ex.jsxs)("div",{ref:b,className:l3().container,children:[(0,ex.jsx)("p",{children:m}),(0,ex.jsx)("div",{className:l3().divider}),_.map(e=>{var{word:t,evaluations:a,hint:r}=e;return(0,ex.jsxs)("div",{className:l3().example,children:[(0,ex.jsx)("div",{className:l3().rowWrapper,style:{height:"".concat(w,"px"),fontSize:"".concat(w/2,"px"),maxWidth:"".concat(260,"px")},onClick:e=>e.stopPropagation(),children:(0,ex.jsx)(Row,{row:-1,className:l3().row,columnCount:eN.l$,gridGap:eN.XN,word:t,evaluation:S?a:void 0})}),(0,ex.jsx)("p",{children:r})]},t)}),(0,ex.jsx)("div",{className:l3().divider}),(0,ex.jsx)("p",{children:p})]})]})]})},l9=(0,eb.Pi)(()=>{var e=(0,eB.rS)(),{currentStep:t,startDemoGame:a,closeRulesModal:r,isResultModalVisible:i,isRulesModalVisible:n}=(0,eB.uP)(),o=useWindowSize(),[s]=(0,ej.useState)(()=>o.width>=eU.RR.DesktopLarge?"desktopLarge":o.width>=eU.RR.MobileLarge?"mobileLarge":""),l=useWindowHeight(),c=eD()(lB().root,{[lB().compact]:l>=800});return(0,ex.jsx)("div",{className:eD()(lT().root,lT()[s]),children:(0,ex.jsxs)("div",{id:eU.O.DemoGameContainer,className:lT().container,children:[(0,ex.jsx)(lJ,{}),(0,ex.jsx)(l1,{}),(0,ex.jsx)(WelcomeModal,{isVisible:t===lI.P.Welcome,onStartGameButtonClick:a,landingModalClassName:c}),(0,ex.jsx)(RulesModal_RulesModal,{isVisible:n,hasBottomButton:t===lI.P.Rules,onClose:r,onCloseButtonClick:e.trackClickCloseRulesLandingV2,onBackgroundClick:e.trackClickOverlayRulesLandingV2,onPlay:()=>{e.trackClickPlayDemoGameLandingV2(),r()},onSkip:()=>{e.trackClickSkipRulesLandingV2(),r()},className:c,selector:"#".concat(eU.O.DemoGameContainer),titleClassName:lB().title}),(0,ex.jsx)(ResultModal_ResultModal,{isVisible:i})]})})}),Demo=()=>{var e=(0,ej.useRef)(null),t=useWindowHeight();return(0,ej.useEffect)(()=>{var a,r=.01*t;null===(a=e.current)||void 0===a||a.style.setProperty("--vh","".concat(r,"px"))},[t]),(0,ex.jsx)("div",{ref:e,className:ly().root,id:ed.Demo,children:(0,ex.jsx)("div",{className:ly().container,children:(0,ex.jsx)(l9,{})})})},l6=a(39875),l8=a.n(l6),l7=a(40920),Card=()=>{var{Card:{title:e,description:t,iframe:a}}=(0,tc.r)("LandingV2"),r=(0,eB.ZR)().isStage?a.originTest:a.origin;return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Block_Block,{id:ed.Card,className:l8().block,children:(0,ex.jsxs)("div",{className:l8().textContent,children:[(0,ex.jsx)(Title,{children:e}),(0,ex.jsx)("p",{className:l8().description,children:t})]})}),(0,ex.jsx)("div",{className:l8().iframeWrapper,children:(0,ex.jsx)(l7.h,{defaultHeight:1e3,title:"Tinkoff",srcOrigin:r,srcPath:a.src,className:l8().iframe,useScrolling:!1})})]})},ce=a(7559),ct=a(84714),ca=a.n(ct),HowToFind=()=>{var e,t,{HowToFind:{title:a,info:{app:r,qr:i}}}=(0,tc.r)("LandingV2"),n=(0,eB.rS)(),o=(0,eB.bU)();return(0,ex.jsxs)(Block_Block,{id:ed.HowToFind,size:ec.Small,children:[(0,ex.jsx)(Title,{children:a}),(0,ex.jsxs)("div",{className:ca().cards,children:[(0,ex.jsx)("div",{className:eD()(ca().card,ca().appCard),children:(0,ex.jsxs)("div",{className:ca().card1Content,children:[(0,ex.jsx)("p",{className:ca().cardTitle,children:r.title}),(0,ex.jsx)("p",{className:ca().cardDescription,children:r.description}),(0,ex.jsx)(Image_Image,{className:ca().phoneImage,src:r.image,alt:""}),(0,ex.jsx)(LandingPageButton,{className:ca().goToAppButton,theme:W.Secondary,link:o.isIos()?r.button.linkIOS:r.button.link,onClick:()=>n.trackClickGoToAppFromLandingV2(),children:r.button.title}),(0,ex.jsx)("p",{className:ca().instruction,children:(e=r.instruction.template,t=r.instruction.params,renderParameterizedString(e,{br:()=>(0,ex.jsx)("br",{}),link:e=>(0,ex.jsx)("a",{className:ca().link,href:null==t?void 0:t.link,target:"_blank",rel:"noreferrer",children:e})}))})]})}),(0,ex.jsxs)("div",{className:eD()(ca().card,ca().qrCard),children:[(0,ex.jsx)("p",{className:ca().cardTitle,children:i.title}),(0,ex.jsx)("p",{className:ca().cardDescription,children:i.description}),(0,ex.jsx)("div",{className:ca().qrCodeWrapper,children:(0,ex.jsx)("div",{className:ca().qrCodeContainer,children:(0,ex.jsx)(ce.ZP,{value:r.button.link,className:ca().qrCode})})})]})]})]})},cr=a(82070),ci=a.n(cr),Footer=e=>{var t,a,{Footer:{copyright:r,links:i,images:{mobileImage1:n,image1:o,image2:s},disclaimer:l}}=(0,tc.r)("LandingV2"),{isLandingPageBonusEnabled:c}=(0,eB.Vf)(),d=useIsPhoneResolution(),u=new Date().getFullYear(),m=u<2024?"".concat(2024):u.toString();return(0,ex.jsxs)("div",{className:ci().root,children:[d&&(0,ex.jsx)(Image_Image,{className:eD()(ci().floatImage,ci().mobileImage1),src:n,alt:""}),(0,ex.jsxs)(Block_Block,{size:ec.Small,className:ci().block,children:[(0,ex.jsxs)("div",{className:ci().content,children:[!d&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Image_Image,{className:eD()(ci().floatImage,ci().image1),src:o,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(ci().floatImage,ci().image2),src:s,alt:""})]}),(0,ex.jsx)("p",{children:r.replace("%currentYear%",m)}),(0,ex.jsx)("ul",{children:(null!==(t=e.links)&&void 0!==t?t:i).filter(e=>!!c||!e.isBonusLink).map((e,t)=>{var a;return(0,ex.jsx)("li",{className:ci().linkItem,children:(0,ex.jsx)("a",{href:e.href,target:null!==(a=e.target)&&void 0!==a?a:"_blank",className:ci().link,children:e.text})},t)})})]}),(0,ex.jsx)("p",{className:ci().disclaimer,children:null!==(a=e.disclaimer)&&void 0!==a?a:l})]})]})},cn=a(20439),co=a.n(cn),LandingPageContainer=e=>{var{children:t}=e,a=(0,eB.ZR)();return(0,ej.useEffect)(()=>{var e=document.querySelector("html");return!a.isServer&&e&&(e.classList.add("landing"),e.style.backgroundColor=eU._x.landingBackground),a.isServer||document.body.classList.add(co().body),()=>{var e;a.isServer||null===(e=document.querySelector("html"))||void 0===e||e.classList.remove("landing"),a.isServer||document.body.classList.remove(co().body)}},[a.isServer]),(0,ex.jsx)("div",{className:co().root,children:t})},cs=a(91185),cl=a.n(cs),DrawResult=()=>{var{DrawResult:{title:e,description:t,winnersButton:a,liveButton:r,images:i}}=(0,tc.r)("LandingV2"),n=useIsPhoneResolution();return(0,ex.jsx)(Block_Block,{children:(0,ex.jsxs)("div",{className:cl().card,children:[n?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Image_Image,{className:eD()(cl().floatImage,cl().sparkles1),src:i.sparkles1,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cl().floatImage,cl().sparkles2),src:i.sparkles2,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cl().floatImage,cl().group1),src:i.group1,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cl().floatImage,cl().group2),src:i.group2,alt:""})]}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Image_Image,{className:eD()(cl().floatImage,cl().lotteryLeft),src:i.lotteryLeft,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cl().floatImage,cl().lotteryRight),src:i.lotteryRight,alt:""})]}),(0,ex.jsxs)("div",{className:cl().content,children:[(0,ex.jsx)("p",{className:cl().title,children:e}),(0,ex.jsx)("p",{className:cl().description,children:t}),(0,ex.jsxs)("div",{className:cl().buttons,children:[(0,ex.jsx)(LandingPageButton,{className:cl().button,link:a.link,theme:W.Secondary,children:a.text}),(0,ex.jsx)(LandingPageButton,{className:cl().button,link:r.link,theme:W.Transparent,children:r.text})]})]})]})})},LandingPage=()=>{var{isLandingPageBonusEnabled:e,isDrawResultEnabled:t}=(0,eB.Vf)();return(0,ex.jsxs)(LandingPageContainer,{children:[(0,ex.jsx)(Intro,{}),e&&(0,ex.jsx)(Bonus,{}),(0,ex.jsx)(About,{}),(0,ex.jsx)(Demo,{}),t&&(0,ex.jsx)(DrawResult,{}),(0,ex.jsx)(Card,{}),(0,ex.jsx)(HowToFind,{}),(0,ex.jsx)(Footer,{})]})},cc=(0,eb.Pi)(()=>{var{viewMode:e}=(0,eB.mv)();return e===al.w.Landing?(0,ex.jsx)(LandingPage,{}):(0,ex.jsx)(s7,{})}),cd=a(38084),cu=a(91825),cm=a.n(cu),c_=a(96754),cp=a(33427),cg=(0,eb.Pi)(()=>{(0,eB.Rt)();var e=(0,eB.LM)(),t=(0,eB.HS)(),{isProd:a}=(0,eB.ZR)(),r=(0,eB._)();return e.isLoggedIn?(0,ex.jsx)(ew.Fg,{to:"".concat(eU.jv.Main,"?").concat(cp.p.MbVersion,"=1"),replace:!0}):e.isError?null:(0,ex.jsxs)("div",{className:cm().root,children:[(0,ex.jsx)(c_.IframeSso,{projectUri:t.APP_PROJECT_URL,postCompleteRedirectPath:t.APP_POST_COMPLETE_REDIRECT_PATH,className:cm().iframe}),!a&&(0,ex.jsxs)("label",{className:cm().label,children:["AccessTokenSso",(0,ex.jsx)("input",{type:"text",className:cm().input,onChange:e=>r.setItem(eU.Fe.DevToolsSessionID,e.target.value)})]})]})}),ch=a(93620),cf=a.n(ch),cx={id:"MOCK_GIFT",issuedAt:new Date().toISOString(),status:re.iU.Issued,source:re.A4.Game,giftClass:re.eC.Secret,name:"",receiveGiftButton:{text:"",link:"https://tinkoff.ru"},imageLink:"/empty.svg",daysToExpire:4,lastUsageDate:"2029-12-31"};(M=e_||(e_={})).Gift="gift",M.SpecialImageLink="specialImageLink";var PreviewCurrentGiftCardPage=()=>{var{Gifts:{title:e,tabs:{received:t}}}=(0,tc.r)("Modals"),{search:a}=(0,ew.TH)(),r=new URLSearchParams(a),i=r.get(e_.Gift),n=r.get(e_.SpecialImageLink),o=i?JSON.parse(i):{},s=(0,th._)((0,ta._)({},cx,o),{imageLink:o.imageLink||cx.imageLink});return(0,ex.jsx)(Modal,{children:(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:"".concat(e," (").concat(t.tabTitle,")"),align:q.Center}}),(0,ex.jsxs)("div",{className:cf().group,children:[(0,ex.jsx)("p",{className:cf().cardHint,children:"Приз Ñ Ð¾Ð±Ñ‹Ñ‡Ð½Ð¾Ð¹ картинкой"}),(0,ex.jsx)(r9,{gift:s,modalId:tZ.Z.Gifts})]}),(0,ex.jsxs)("div",{className:cf().group,children:[(0,ex.jsx)("p",{className:cf().cardHint,children:"Приз Ñ Ð¾Ñобой картинкой"}),(0,ex.jsx)(r9,{gift:(0,th._)((0,ta._)({},s),{imageLink:n||s.imageLink}),modalId:tZ.Z.Gifts})]})]})})},cv={id:"mock",source:re.A4.Game,giftClass:re.eC.Secret,name:"",imageLink:"/empty.svg",winsLeft:25};(ep||(ep={})).IsResultModal="isResultModal";var cw=a(46531),cC=a.n(cw),PreviewUpcomingGiftCardPage=()=>{var{Result:{titles:{winTitle:e}},Gifts:{title:t,tabs:{upcoming:a}}}=(0,tc.r)("Modals"),{search:r}=(0,ew.TH)(),i=new URLSearchParams(r),n=i.get(e_.Gift),o=i.get(e_.SpecialImageLink),s="true"===i.get(ep.IsResultModal),l=n?JSON.parse(n):{},c=(0,th._)((0,ta._)({},cv,l),{imageLink:l.imageLink||cv.imageLink});return(0,ex.jsx)(Modal,{children:(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:s?e:"".concat(t," (").concat(a.tabTitle,")"),align:q.Center}}),(0,ex.jsxs)("div",{className:cC().group,children:[(0,ex.jsx)("p",{className:cC().cardHint,children:"Приз Ñ Ð¾Ð±Ñ‹Ñ‡Ð½Ð¾Ð¹ картинкой"}),(0,ex.jsx)(rm,{gift:c,isResultModal:s})]}),(0,ex.jsxs)("div",{className:cC().group,children:[(0,ex.jsx)("p",{className:cC().cardHint,children:"Приз Ñ Ð¾Ñобой картинкой"}),(0,ex.jsx)(rm,{gift:(0,th._)((0,ta._)({},c),{imageLink:o||c.imageLink}),isResultModal:s})]})]})})},cb=a(42696),cj=a.n(cb),Intro_Intro=()=>{var{Intro:{title:e,description:t,disabled:a,images:r}}=(0,tc.r)("ReferralPage"),i=useIsPhoneResolution(),{ReferralPage:{pageStatus:n}}=(0,eB.Vf)(),o=n===eU.ti.Disabled;return(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Header_Header,{}),(0,ex.jsxs)(Block_Block,{className:eD()(cj().block),children:[i&&(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().topMobileImage),src:r.lettersStaticTop,alt:""})}),(0,ex.jsxs)("div",{className:cj().content,children:[!i&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsxs)("div",{className:eD()(cj().floatImage,cj().leftGroup),children:[(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().leftO),src:r.leftO,alt:""}),(0,ex.jsxs)("div",{className:eD()(cj().floatImage,cj().leftF),children:[(0,ex.jsx)(Image_Image,{className:eD()(cj().shadow),src:r.tileShadow,alt:""}),(0,ex.jsx)(Image_Image,{className:cj().image,src:r.leftF,alt:""})]}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().letter,cj().leftK),src:r.leftK,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().letter,cj().leftN),src:r.leftN,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().letter,cj().leftT),src:r.leftT,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().shape,cj().shape4),src:r.shape4,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().shape,cj().shape5),src:r.shape5,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().shape,cj().shape6),src:r.shape6,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().leftDoubleStars),src:r.stars2,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().leftStar),src:r.star1,alt:""})]}),(0,ex.jsxs)("div",{className:eD()(cj().floatImage,cj().rightGroup),children:[(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().rightI),src:r.rightI,alt:""}),(0,ex.jsxs)("div",{className:eD()(cj().floatImage,cj().rightT),children:[(0,ex.jsx)(Image_Image,{className:eD()(cj().shadow),src:r.tileShadow,alt:""}),(0,ex.jsx)(Image_Image,{className:cj().image,src:r.rightT,alt:""})]}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().letter,cj().rightF),src:r.rightF,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().letter,cj().rightN),src:r.rightN,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().letter,cj().rightK),src:r.rightK,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().shape,cj().shape1),src:r.shape1,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().shape,cj().shape3),src:r.shape3,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().rightDoubleStars),src:r.stars2,alt:""}),(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().rightStar),src:r.star1,alt:""})]})]}),(0,ex.jsx)("p",{className:cj().title,children:o?a.title:e}),(0,ex.jsx)("p",{className:cj().description,children:o?a.description:t}),i&&o&&(0,ex.jsx)("div",{className:cj().bottomMobileImageWrapper,children:(0,ex.jsx)(Image_Image,{className:eD()(cj().floatImage,cj().bottomMobileImage),src:r.lettersStaticBottom,alt:""})})]})]})]})},ck=a(33340),cy=a.n(ck),cS=a(7477),cT=a(51815),cN=a.n(cT),cB=a(94024),cI=a.n(cB),Title_Title=e=>{var{children:t}=e;return(0,ex.jsx)("p",{className:cI().root,children:t})},cD=a(46539),cE=a.n(cD),useAuthErrorResources=e=>{var{Auth:{ssoSteps:{error:t,errors:a}}}=(0,tc.r)("ReferralPage");if(!e)return t;var{errorCode:r}=e,i=a.find(e=>e.errorCodes.includes(r));return null!=i?i:t},cM=(0,eb.Pi)(()=>{var e,t=(0,eB.ZR)(),{userState:a}=(0,eB.LM)(),{logout:r}=(0,eB.Rt)(),i=(0,rB.hp)(a.error),{errorCode:n,timestamp:o,requestId:s}=i,{title:l,text:c,button:d,isErrorCodeVisible:u}=useAuthErrorResources(i);(0,ej.useEffect)(()=>{if(!t.isServer)return window.addEventListener("beforeunload",r),()=>{r(),window.removeEventListener("beforeunload",r)}},[t.isServer,r]);var m=(e=(0,aU._)(function*(){d&&(0,rB.ZT)(d)&&d.action===aZ._2.Logout&&(yield r())}),function(){return e.apply(this,arguments)});return(0,ex.jsxs)("div",{className:cE().root,children:[(0,ex.jsx)(Title_Title,{children:l}),(0,ex.jsx)("p",{className:cE().description,children:c}),u&&(0,ex.jsxs)("p",{className:cE().errorInfo,children:[n,o?"@".concat(o):"",s?"\n".concat(s):""]}),d&&(0,ex.jsx)(LandingPageButton,{link:(0,rB.tO)(d)?d.href:void 0,className:cE().button,onClick:m,children:d.text})]})}),cL=(0,eb.Pi)(e=>{var{initialTitle:t,initialSubtitleTitle:a,confirmationTitle:r,errorTitle:i,postCompleteRedirectPath:n,onChangeSsoAuthFormStep:o}=e,[s,l]=(0,ej.useState)(cS.SsoAuthFormStep.Initial),[c,d]=(0,ej.useState)(!1),u=(0,ej.useRef)(null),m=(0,eB.HS)(),{isError:_}=(0,eB.LM)();return(0,ej.useEffect)(()=>{null==o||o(s)},[s,o]),(0,ej.useEffect)(()=>{if(!("IntersectionObserver"in window)){d(!0);return}var e=new IntersectionObserver(t=>{t[0].isIntersecting&&(d(!0),e.disconnect())},{threshold:.1});return u.current&&e.observe(u.current),()=>{e.disconnect()}},[]),(0,ex.jsx)("div",{ref:u,className:cN().root,children:c?(0,ex.jsx)(ex.Fragment,{children:_?(0,ex.jsx)(cM,{}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Title_Title,{children:s===cS.SsoAuthFormStep.Error?i:s===cS.SsoAuthFormStep.Initial?t:r}),s===cS.SsoAuthFormStep.Initial&&(0,ex.jsx)("p",{className:cN().subtitle,children:a}),(0,ex.jsx)(c_.IframeSso,{onAuthFormStepChange:l,projectUri:m.APP_PROJECT_URL,postCompleteRedirectPath:null!=n?n:m.APP_POST_COMPLETE_REDIRECT_PATH,className:cN().iframe})]})}):(0,ex.jsx)("div",{className:cN().loaderWrapper,children:(0,ex.jsx)(e1.a,{className:cN().loader})})})});(eg||(eg={})).Saved="saved";var cR=a(21678),cP=a.n(cR),AuthSuccess=()=>{var e,t,{Auth:{ssoSteps:{success:a}}}=(0,tc.r)("ReferralPage"),r=(0,eB.bU)(),i=(0,eB.rS)();return(0,ex.jsxs)(ex.Fragment,{children:[r.isMobileDevice()?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Title_Title,{children:a.mobile.title}),(0,ex.jsx)("p",{className:cP().text,children:a.mobile.text}),(0,ex.jsx)(LandingPageButton,{className:cP().goToAppButton,theme:W.Primary,onClick:i.trackClickPlayButtonOnReferralPage,link:r.isIos()?a.goToAppButton.linkIOS:a.goToAppButton.link,children:a.goToAppButton.title})]}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(Title_Title,{children:a.desktop.title}),(0,ex.jsx)("p",{className:cP().text,children:a.desktop.text}),(0,ex.jsx)(ce.ZP,{value:a.goToAppButton.link,className:cP().qrCode})]}),(0,ex.jsx)("p",{className:cP().instruction,children:(e=a.instruction.template,t=a.instruction.params,renderParameterizedString(e,{br:()=>(0,ex.jsx)("br",{}),link:e=>(0,ex.jsx)("a",{className:cP().link,href:null==t?void 0:t.link,target:"_blank",rel:"noreferrer",children:e})}))})]})},useReferralStatus=()=>{var e=(0,eB._)(),{isLoggedIn:t}=(0,eB.LM)(),{logout:a}=(0,eB.Rt)(),{ReferralPage:{referralStatusTtlMs:r}}=(0,eB.Vf)(),[i,n]=(0,ej.useState)(()=>{var t=e.getItem(eU.Fe.ReferralStatusSavedDate);return!t||new Date().getTime()-Number.parseInt(t)>=r?(e.removeItem(eU.Fe.ReferralStatus),e.removeItem(eU.Fe.ReferralStatusSavedDate),null):e.getItem(eU.Fe.ReferralStatus)});return(0,ej.useEffect)(()=>{t&&(e.setItem(eU.Fe.ReferralStatus,eg.Saved),e.setItem(eU.Fe.ReferralStatusSavedDate,new Date().getTime().toString()),n(eg.Saved),a())},[t,e,a]),i},cG=(0,eb.Pi)(()=>{var e,t,{Auth:{ssoSteps:a}}=(0,tc.r)("ReferralPage"),r=(0,eB.HS)(),i=(0,eB.rS)(),{isLoggedIn:n,isError:o}=(0,eB.LM)(),s=useReferralStatus(),[l,c]=(0,ej.useState)(cS.SsoAuthFormStep.Initial);return(0,ej.useEffect)(()=>{n&&i.trackSuccessAuthReferralPage(),o&&i.trackFailedAuthReferralPage()},[n,o,i]),(0,ex.jsx)("div",{id:eU.O.ReferralAuth,className:cy().root,children:(0,ex.jsx)("div",{className:cy().content,children:s===eg.Saved?(0,ex.jsx)(AuthSuccess,{}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(cL,{initialTitle:a.initial.title,initialSubtitleTitle:a.initial.subtitle,confirmationTitle:a.confirmation.title,errorTitle:a.error.title,postCompleteRedirectPath:r.APP_POST_COMPLETE_REDIRECT_PATH,onChangeSsoAuthFormStep:c}),l===cS.SsoAuthFormStep.Initial&&(0,ex.jsx)("p",{className:cy().conditions,children:(e=a.initial.conditions.template,t=a.initial.conditions.params,renderParameterizedString(e,{link1:e=>(0,ex.jsx)("a",{className:cy().link,href:null==t?void 0:t.link1,target:"_blank",rel:"noreferrer",children:e})}))})]})})})}),ReferralPage=()=>{var{Footer:{links:e,disclaimer:t}}=(0,tc.r)("ReferralPage"),{ReferralPage:{pageStatus:a}}=(0,eB.Vf)();return useLogRenderResult(aR.y8.ReferralPage,!1),(0,ex.jsxs)(LandingPageContainer,{children:[(0,ex.jsx)(Intro_Intro,{}),a===eU.ti.Enabled&&(0,ex.jsx)(cG,{}),(0,ex.jsx)(About,{}),a===eU.ti.Disabled&&(0,ex.jsx)(HowToFind,{}),(0,ex.jsx)(Footer,{links:e,disclaimer:t})]})},cA=a(76725),PreviewNotificationPage=()=>{var{search:e}=(0,ew.TH)(),t=new URLSearchParams(e).get("message"),a=t?JSON.parse(t):{},r=(0,ta._)({},cA.uJ,a);return(0,ex.jsx)(s3,{currentNotification:r})},cH=a(59072),cO=a.n(cH),AuthModal=e=>{var{isVisible:t,onBack:a,hasResult:r}=e,{AuthModal:i}=(0,tc.r)("DemoGamePage"),n=(0,eB.HS)();return t?(0,ex.jsxs)(DemoGameModal,{isVisible:t,qaTag:eQ.BE.DemoGame.AuthModal.root,position:z.Absolute,children:[a&&(0,ex.jsx)(Modal.BackButton,{onClick:a}),(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(DemoGameModalHeader,{title:{text:r?i.title.withResult:i.title.withoutResult,align:q.Center}}),(0,ex.jsx)(c_.IframeSso,{projectUri:n.APP_PROJECT_URL,postCompleteRedirectPath:n.APP_POST_COMPLETE_REDIRECT_PATH})]})]}):null},cW=a(7239),cV=a.n(cW),cF=a(4794),cU=a.n(cF),cZ=a(62783),cq=a.n(cZ),DemoPageModal=e=>{var{isVisible:t,title:a,imageSrc:r,description:i,qaTag:n,children:o,isClosableOnlyByChildren:s}=e;return(0,ex.jsx)(Modal,{isVisible:t,qaTag:n,className:cV().root,position:z.Absolute,isClosableOnlyByChildren:s,children:(0,ex.jsxs)(Modal.Container,{scrollable:{paddings:{default:{top:0,horizontal:24,bottom:24},[eU.RR.Tablet]:{top:0,horizontal:24,bottom:24}}},children:[(0,ex.jsx)(Modal.Header,{title:{text:a,align:q.Center,className:eD()(cU().className,cV().title)},children:(0,ex.jsx)("div",{className:cV().imageWrapper,children:(0,ex.jsx)(Image_Image,{className:cV().image,src:r,alt:""})})}),(0,ex.jsx)("p",{className:eD()(cq().className,cV().description),children:i}),o]})})},cz=a(72450),cK=a.n(cz),DemoWelcomeModal=e=>{var{isVisible:t,onPrimaryButtonClick:a,onSecondaryButtonClick:r}=e,{WelcomeModal:i}=(0,tc.r)("DemoGamePage"),{title:n,description:o,primaryButton:s,secondaryButton:l}=i;return(0,ex.jsx)(DemoPageModal,{isVisible:t,qaTag:eQ.BE.DemoGame.WelcomeModal.root,title:n,imageSrc:i.image,description:o,isClosableOnlyByChildren:!0,children:(0,ex.jsxs)("div",{className:cK().buttons,children:[(0,ex.jsx)(tj,{className:cK().button,onClick:a,size:V.Medium,children:s}),l&&(0,ex.jsx)(tj,{className:cK().button,theme:W.Flat,onClick:r,children:l})]})})},cY=a(85291),cX=a.n(cY),useTriggerTracking=()=>{var e=(0,eB.C5)();return(0,ej.useCallback)(()=>{e.dispatchEvent(new Event("pagehide"))},[e])},DemoResultModal=e=>{var{isVisible:t,isWon:a}=e,{ResultModal:r}=(0,tc.r)("DemoGamePage"),i=(0,eB.rS)(),n=useTriggerTracking(),o=r.buttons.secondary.title;return(0,ex.jsx)(DemoPageModal,{isVisible:t,qaTag:eQ.BE.DemoGame.ResultModal.root,title:a?r.won.title:r.lose.title,imageSrc:a?r.won.image:r.lose.image,description:r.text,isClosableOnlyByChildren:!0,children:(0,ex.jsxs)("div",{className:cX().buttons,children:[(0,ex.jsx)(tj,{className:cX().button,onClick:()=>{i.trackClickBecomeClientOnDemoGameResultModal(a),n(),(0,r2.E)(r.buttons.primary.link,{target:"_top"}).click()},size:V.Medium,children:r.buttons.primary.title}),o&&(0,ex.jsx)(tj,{className:cX().button,theme:W.Flat,onClick:()=>{i.trackClickAlreadyClientOnDemoGameResultModal(a),n(),(0,r2.E)(r.buttons.secondary.link,{target:"_top"}).click()},size:V.Medium,children:o})]})})},cQ=(0,eb.Pi)(()=>{var{currentStep:e,startDemoGame:t,closeRulesModal:a,isResultModalVisible:r,isRulesModalVisible:i,isAuthModalVisible:n,showAuthModal:o,closeAuthModal:s,setIsRulesModalVisible:l}=(0,eB.uP)(),{isWon:c,currentWord:d,currentRowIndex:u}=(0,eB.gT)(),m=(0,eB.rS)();useLogRenderResult(aR.y8.DemoPage,!1);var _=(0,eB.T_)(),{RulesButtonText:p}=(0,tc.r)("DemoGamePage"),g=e===lI.P.Welcome&&!n;return(0,ej.useEffect)(()=>{var e;return null===(e=document.querySelector("html"))||void 0===e||e.classList.add("demo"),()=>{var e;null===(e=document.querySelector("html"))||void 0===e||e.classList.remove("demo")}},[]),(0,ej.useEffect)(()=>{d.length>0&&m.trackDemoGameAddFirstLetter()},[d,m]),(0,ej.useEffect)(()=>{(u>0||c)&&m.trackDemoGameAddFirstWord()},[u,d,c,m]),(0,ej.useEffect)(()=>{r&&m.trackShowDemoGameResultModal(c)},[r,c,m]),(0,ex.jsx)("div",{className:cO().root,children:(0,ex.jsxs)(Container,{className:cO().container,children:[(0,ex.jsxs)("div",{className:cO().row,children:[(0,ex.jsx)(tX,{isOverlayed:_.isLogoOverlayed,className:cO().logo}),(0,ex.jsxs)("div",{className:cO().buttons,children:[(0,ex.jsx)("button",{"data-qa":eQ.BE.DemoGame.Header.infoButton,className:eD()(cO().button,cO().smallResolution),"data-overlayed":_.isInfoButtonOverlayed,onClick:()=>l(!0),children:(0,ex.jsx)(LightInfoIcon,{})}),(0,ex.jsx)("div",{"data-overlayed":_.isInfoButtonOverlayed,className:cO().highResolution,children:(0,ex.jsxs)(tj,{theme:W.Dark,size:V.Small,qaTag:eQ.BE.DemoGame.Header.infoButton,onClick:()=>l(!0),children:[(0,ex.jsx)(a0.kIh,{}),(0,ex.jsx)("span",{className:cO().rulesButtonText,children:p})]})})]}),(0,ex.jsx)("div",{className:cO().gameWrapper,children:(0,ex.jsx)(l1,{})})]}),(0,ex.jsx)(DemoWelcomeModal,{isVisible:g,onPrimaryButtonClick:()=>{t(),m.trackClickStartDemoGameOnWelcomeModal()},onSecondaryButtonClick:o}),(0,ex.jsx)(RulesModal_RulesModal,{isVisible:i,hasBottomButton:e===lI.P.Rules,onClose:a,onCloseButtonClick:m.trackClickCloseDemoGameRulesModal,onBackgroundClick:m.trackClickOutsideDemoGameRulesModal,onPlay:()=>{a(),m.trackClickStartDemoGameOnRulesModal()},onSkip:()=>{a(),m.trackClickSkipDemoGameOnRulesModal()}}),r&&(0,ex.jsx)(DemoResultModal,{isVisible:r,isWon:c}),(0,ex.jsx)(AuthModal,{isVisible:n,onBack:e===lI.P.Welcome?s:void 0,hasResult:e===lI.P.Result})]})})}),Redirect=e=>{var{to:t}=e,a=(0,eB.C5)();return(0,ej.useEffect)(()=>{a.location.href=t},[a,t]),null},cJ=a(7920),c$=a.n(cJ),DemoPageTest=()=>(0,ex.jsx)("div",{className:c$().root,children:(0,ex.jsx)("iframe",{src:"".concat(tB.p.APP_STATIC_URL).concat(eU.jv.Demo),frameBorder:"0",className:c$().iframe})}),c0={name:"Какой то приз",status:iq.a3.InProgress,description:"10 призов",img:{availableBonus:"".concat(tB.p.APP_STATIC_BASE_URL,"/static/5bukv/100000gift-2024-10-10-09-48-59.png"),wonBonus:"".concat(tB.p.APP_STATIC_BASE_URL,"/static/5bukv/100_000-2024-11-25-08-01-56.png")},type:iq.tZ.Default,ticketCountToOpen:1};(eh||(eh={})).DrawGift="drawGift";var c1=a(13621),c2=a.n(c1),DrawGiftItemTestPage=()=>{var{search:e}=(0,ew.TH)(),t=new URLSearchParams(e).get(eh.DrawGift),a=t?JSON.parse(t):{},[r,i]=(0,ej.useState)(""),n=(0,th._)((0,ta._)({},c0,a),{isLocked:!1});return r&&(n.img.availableBonus=r),(0,ex.jsxs)("div",{className:c2().root,children:[(0,ex.jsx)("input",{className:c2().input,placeholder:"Картинка png",type:"file",accept:"image/png",onChange:e=>{if(e.target.files&&e.target.files[0]){var t=e.target.files[0];i(URL.createObjectURL(t))}}}),(0,ex.jsx)("div",{className:c2().giftWrapper,children:(0,ex.jsx)(DrawGiftItem,{gift:n},n.img.availableBonus)})]})},c3="preview-modal",useQueryParams=e=>{var{search:t}=(0,ew.TH)(),a=new URLSearchParams(t);return e.reduce((e,t)=>{var{param:r}=t,i=a.get(r);return i&&"undefined"!==i&&(e[r]=JSON.parse(i)),e},{})},PreviewThematicWordTooltipPage=()=>{var{Result:{thematicDayTitles:e,lose:t}}=(0,tc.r)("Modals"),{word:a,win:r,index:i}=useQueryParams([{param:"word",type:"object"},{param:"win",type:"string"},{param:"index",type:"number"}]),n={};return"object"!=typeof a||Array.isArray(a)||(n=a),n.link="",(0,ex.jsx)(Modal,{isVisible:!0,isMaxHeight:!0,children:(0,ex.jsxs)(Modal.Container,{children:[(0,ex.jsx)(Modal.Header,{title:{text:r?e.titleWithGifts:e.loseTitle,align:q.Center}}),(0,ex.jsxs)("div",{id:c3,children:[!r&&(0,ex.jsxs)("div",{className:aO().item,children:[(0,ex.jsx)("p",{className:aO().rightWordTitle,children:t.rightWordTitle}),(0,ex.jsxs)("p",{className:aO().rightWord,children:[n.word,(0,ex.jsx)(RightWordTooltipButton,{className:aO().rightWordTooltipButton})]})]}),(0,ex.jsx)(AnswersGroup,{items:(0,tp.R)(),context:H.Modal}),(0,ex.jsx)(ThematicWordTooltip,{isVisible:!0,elementSelector:r?"#AnswersHistoryItem_-".concat(i||3,"_modal"):"#".concat(eU.O.RightWordTooltipButton),elementContainerSelector:"#".concat(c3),onClickDetailsButton:()=>{},onClickHideButton:()=>{},dailyWord:n})]})]})})},c5=a(15348),c4=a.n(c5),c9={name:"",status:iq.a3.InProgress,description:"",img:{availableBonus:"/empty.svg"},type:iq.tZ.Default,ticketCountToOpen:1};(ef||(ef={})).DrawGift="drawGift";var PreviewDrawGiftPage=()=>{var e,t,a,r,i,n,o,s,{search:l}=(0,ew.TH)(),c=new URLSearchParams(l).get(ef.DrawGift),d=c?JSON.parse(c):{},u=(0,th._)((0,ta._)({},c9,d),{isLocked:!1}),m=(0,th._)((0,ta._)({},u),{isLocked:!0}),_=(0,th._)((0,ta._)({},u),{img:(0,ta._)({},u.img),status:iq.a3.Won,userWonCount:1}),p=(0,th._)((0,ta._)({},u),{img:(0,ta._)({},u.img)});(null===(e=d.img)||void 0===e?void 0:e.calculationBonus)&&(p.img.availableBonus=d.img.calculationBonus);var g=(0,th._)((0,ta._)({},u),{img:(0,ta._)({},u.img)});return((null===(t=d.img)||void 0===t?void 0:t.resultBonus)&&(g.img.availableBonus=d.img.resultBonus),null===(a=d.img)||void 0===a?void 0:a.availableBonus)?d.type===iq.tZ.Shared?(0,ex.jsxs)("div",{className:c4().root,children:[(0,ex.jsxs)("div",{className:c4().sharedGift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Открытый приз"}),(0,ex.jsx)(SharedGiftView,{sharedGift:u,title:"Ðазвание (заполнÑетÑÑ Ð² реÑурÑах)",description:"ОпиÑание (заполнÑетÑÑ Ð² реÑурÑах)",isLocked:!1,ticketCountToOpenSharedGift:1})]}),(null===(s=d.img)||void 0===s?void 0:s.unavailableBonus)&&(0,ex.jsxs)("div",{className:c4().sharedGift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Закрытый приз"}),(0,ex.jsx)(SharedGiftView,{sharedGift:u,title:"Ðазвание (заполнÑетÑÑ Ð² реÑурÑах)",description:"ОпиÑание (заполнÑетÑÑ Ð² реÑурÑах)",isLocked:!0,ticketCountToOpenSharedGift:1})]})]}):(0,ex.jsx)("div",{className:c4().root,children:(0,ex.jsxs)(Block,{className:c4().giftsList,children:[(0,ex.jsxs)("div",{className:c4().gift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Открытый приз"}),(0,ex.jsx)(DrawGiftItem,{gift:u})]}),(null===(r=d.img)||void 0===r?void 0:r.unavailableBonus)&&(0,ex.jsxs)("div",{className:c4().gift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Закрытый приз"}),(0,ex.jsx)(DrawGiftItem,{gift:m})]}),(null===(i=d.img)||void 0===i?void 0:i.wonBonus)&&(0,ex.jsxs)("div",{className:c4().gift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Выигранный приз"}),(0,ex.jsx)(DrawGiftItem,{gift:_})]}),(null===(n=d.img)||void 0===n?void 0:n.calculationBonus)&&(0,ex.jsxs)("div",{className:c4().gift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Приз на Ñтапе подÑчета результатов"}),(0,ex.jsx)(DrawGiftItem,{gift:p})]}),(null===(o=d.img)||void 0===o?void 0:o.resultBonus)&&(0,ex.jsxs)("div",{className:c4().gift,children:[(0,ex.jsx)(DrawSubtitle,{className:c4().giftTitle,children:"Приз на Ñтапе публикации результатов"}),(0,ex.jsx)(DrawGiftItem,{gift:g})]})]})}):void 0};function App(){return(0,eB.ZR)().isServer?(0,ex.jsx)(eC.gx,{location:"/",children:(0,ex.jsx)(AppRoutes,{})}):(0,ex.jsx)(ev.VK,{children:(0,ex.jsx)(AppRoutes,{})})}function AppRoutes(){var e=(0,eB.rS)(),t=(0,eB.mv)(),a=(0,eB.Vf)(),r=(0,eB.bU)(),i=(0,eB.Ii)(),n=(0,eB.HS)(),o=(0,eB.ZR)(),s=(0,iB.useRouter)(),[l]=(0,ev.lr)(),c=(0,ej.useRef)(null);return(0,ej.useEffect)(()=>{r.isIos()&&document.documentElement.classList.add("ios")},[r]),(0,ej.useEffect)(()=>{t.checkViewMode()},[t,l]),(0,ej.useEffect)(()=>{e.updateLocation()},[s,e]),(0,ej.useEffect)(()=>(c.current=window.setInterval(()=>{var e;(null===(e=window.tracking)||void 0===e?void 0:e.addPixel)&&(window.tracking.addPixel(a.customPixel),c.current&&clearInterval(c.current))},100),()=>{c.current&&clearInterval(c.current)}),[a.customPixel]),(0,ej.useEffect)(()=>{(0,cd.polyfill)()},[]),(0,ex.jsx)(ex.Fragment,{children:(0,ex.jsxs)(ew.Z5,{children:[(0,ex.jsx)(ew.AW,{path:eU.jv.Main,element:(0,ex.jsx)(cc,{})}),(0,ex.jsx)(ew.AW,{path:eU.jv.AuthUser,element:(0,ex.jsx)(cg,{})}),i.isReferralPageAvailable&&(0,ex.jsx)(ew.AW,{path:eU.jv.Referral,element:(0,ex.jsx)(ReferralPage,{})}),(0,ex.jsx)(ew.AW,{path:eU.jv.PreviewCurrentGiftCardPage,element:(0,ex.jsx)(PreviewCurrentGiftCardPage,{})}),(0,ex.jsx)(ew.AW,{path:eU.jv.PreviewUpcomingGiftCardPage,element:(0,ex.jsx)(PreviewUpcomingGiftCardPage,{})}),(0,ex.jsx)(ew.AW,{path:eU.jv.PreviewNotification,element:(0,ex.jsx)(PreviewNotificationPage,{})}),(0,ex.jsx)(ew.AW,{path:eU.jv.PreviewThematicWordTooltip,element:(0,ex.jsx)(PreviewThematicWordTooltipPage,{})}),!o.isProd&&(0,ex.jsx)(ew.AW,{path:eU.jv.DrawGiftItemTest,element:(0,ex.jsx)(DrawGiftItemTestPage,{})}),i.isDemoPageAvailable&&(0,ex.jsx)(ew.AW,{path:eU.jv.Demo,element:(0,ex.jsx)(cQ,{})}),o.isLocal&&i.isDemoPageAvailable&&(0,ex.jsx)(ew.AW,{path:eU.jv.DemoTest,element:(0,ex.jsx)(DemoPageTest,{})}),(0,ex.jsx)(ew.AW,{path:eU.jv.PreviewDrawGiftPage,element:(0,ex.jsx)(PreviewDrawGiftPage,{})}),(0,ex.jsx)(ew.AW,{path:"*",element:(0,ex.jsx)(Redirect,{to:n.APP_PROJECT_URL})})]})})}(0,e3.jQ)({enforceActions:"always"})},55323:function(e){e.exports={root:"AdditionalGameButton_root__sjvFZ",image:"AdditionalGameButton_image__z0H_y",digit:"AdditionalGameButton_digit__S8ljr"}},55971:function(e){e.exports={root:"AppUpdateReminder_root__zQ2gv",block:"AppUpdateReminder_block__Y863T",image:"AppUpdateReminder_image__tWF0L",title:"AppUpdateReminder_title__x4z9J",description:"AppUpdateReminder_description__IZebp",button:"AppUpdateReminder_button___yntS"}},68581:function(e){e.exports={root:"ConfettiOverlay_root__h_AFD",animated:"ConfettiOverlay_animated__S_MRS",visible:"ConfettiOverlay_visible__vEJcn"}},54717:function(e){e.exports={root:"CorrectAnswersHistory_root__El2_R",item:"CorrectAnswersHistory_item__GWpWp"}},89811:function(e){e.exports={root:"AnswersGroup_root__IxL8f",item:"AnswersGroup_item__Pws8a",round:"AnswersGroup_round__TirYY",won:"AnswersGroup_won__EPsMp",animated:"AnswersGroup_animated__tuh6j",scale:"AnswersGroup_scale___HTBw",icon:"AnswersGroup_icon__51hG4",progressWrapper:"AnswersGroup_progressWrapper__Tu7u9",progress:"AnswersGroup_progress__PEUUf",word:"AnswersGroup_word__cLKRv",wordPlaceholder:"AnswersGroup_wordPlaceholder__2_oTd",dot:"AnswersGroup_dot__qdsay",snake:"AnswersGroup_snake__0i5St"}},97840:function(e){e.exports={root:"TapAnimation_root__X7DkA",animated:"TapAnimation_animated__8VzOj",tapAccentOuter:"TapAnimation_tapAccentOuter__l9FFm",tapAccentInner:"TapAnimation_tapAccentInner__cY_6x"}},55458:function(e){e.exports={root:"DemoGameModal_root__j84UD",title:"DemoGameModal_title__i_SbT"}},87763:function(e){e.exports={smallButton:"Header_smallButton__C5HJi",root:"Header_root__Se4Xm",buttons:"Header_buttons__ZQR_r",button:"Header_button__Dwepb Header_smallButton__C5HJi"}},36618:function(e){e.exports={divider:"RulesModal_divider__YgKsN",example:"RulesModal_example__aKUuS",rowWrapper:"RulesModal_rowWrapper__bkk5S",row:"RulesModal_row__cm87_",playButton:"RulesModal_playButton__D7820"}},584:function(e){e.exports={tooltip:"StartEnterWord_tooltip__c_4ne"}},92967:function(e){e.exports={root:"WelcomeModal_root__3o7df",description:"WelcomeModal_description__HGN0Y",buttons:"WelcomeModal_buttons__4PYLA",button:"WelcomeModal_button__6rreZ"}},78434:function(e){e.exports={block:"DevTools_block__HFdvo",actionsBlock:"DevTools_actionsBlock__WBrqz",enabled:"DevTools_enabled__bRigp",input:"DevTools_input__k0eqE",button:"DevTools_button__FJKsY",toggleButton:"DevTools_toggleButton__A3q_Y",dailyWord:"DevTools_dailyWord__9WRVV",debugInfo:"DevTools_debugInfo__ercjl"}},57689:function(e){e.exports={container:"FireFlyParticles_container__xeqBY"}},69527:function(e){e.exports={root:"Game_root__tWlkc",fieldContainer:"Game_fieldContainer__E2Rk8"}},81821:function(e){e.exports={root:"Field_root__wyXIh",tiles:"Field_tiles__j95u4",row:"Field_row__DW7Gp"}},89899:function(e){e.exports={root:"Row_root__6nOJ4",tileWrapper:"Row_tileWrapper__T5FHj",invalid:"Row_invalid__e7wom",shake:"Row_shake__X7Gbs",tile:"Row_tile__Tys1s",win:"Row_win__R5N0p",scale:"Row_scale__vZK6Z"}},85747:function(e){e.exports={root:"Tile_root__C3RE7",front:"Tile_front__T6_44",back:"Tile_back__JFInx",enter:"Tile_enter__sLLQx",flip:"Tile_flip__267KN",flipBack:"Tile_flipBack__bacca",flipAnimationFinished:"Tile_flipAnimationFinished__Z47db",none:"Tile_none__twqv2"}},48656:function(e){e.exports={root:"TileLegacy_root__fZuSe",front:"TileLegacy_front__kNTwP",back:"TileLegacy_back__y8czs",enter:"TileLegacy_enter__5wQ7C",flip:"TileLegacy_flip__VbhTB",animationFinished:"TileLegacy_animationFinished__OuiSL",none:"TileLegacy_none__puEWd"}},70353:function(e){e.exports={root:"Keyboard_root__NtISO",disabled:"Keyboard_disabled___P1Pq",row:"Keyboard_row__irhAo",key:"Keyboard_key___5UZn",wide:"Keyboard_wide__4xBpe",correct:"Keyboard_correct__gzgQY",present:"Keyboard_present__DRnIT",absent:"Keyboard_absent__7KoE1",accent:"Keyboard_accent___Vns7",halfKeySpace:"Keyboard_halfKeySpace__P42X_",backspace:"Keyboard_backspace__ga_qb",enabled:"Keyboard_enabled__TGRIk",highlighted:"Keyboard_highlighted__FCgdp",enter:"Keyboard_enter__YclWK",loader:"Keyboard_loader__m1QqZ",icon:"Keyboard_icon__wv0cs"}},29115:function(e){e.exports={tooltip:"HelpWithWord_tooltip__7RFSX",overlay:"HelpWithWord_overlay__50ZzM"}},99782:function(e){e.exports={tooltip:"StartEnterWord_tooltip__TrDpx"}},59439:function(e){e.exports={root:"TapAccent_root__iP_fw",absolute:"TapAccent_absolute__ICZcQ",outer:"TapAccent_outer__HIl_T",inner:"TapAccent_inner__FQFQk"}},93322:function(e){e.exports={title:"Welcome_title__CwOu_",imageContainer:"Welcome_imageContainer__bM59q",image:"Welcome_image__cHent",description:"Welcome_description__UApmK",buttons:"Welcome_buttons__3KmCW",button:"Welcome_button__HlI5b"}},6227:function(e){e.exports={tooltip:"GiftTooltip_tooltip__wKbav",clickableBox:"GiftTooltip_clickableBox__wjzoV"}},99124:function(e){e.exports={root:"Header_root__EIxKS",buttons:"Header_buttons__pJu1Y",button:"Header_button__3U5s_"}},43545:function(e){e.exports={root:"EnergyButton_root__dzbFM",visible:"EnergyButton_visible__DpyFi",energyIcon:"EnergyButton_energyIcon__DNa6F",countWrapper:"EnergyButton_countWrapper___SC7y",count:"EnergyButton_count__eybyR"}},2575:function(e){e.exports={smallButton:"HeaderButton_smallButton__CrJT_",root:"HeaderButton_root__MEI7C HeaderButton_smallButton__CrJT_",accentDot:"HeaderButton_accentDot__3vvAU"}},14125:function(e){e.exports={root:"ProjectLogo_root__yFthi",logoImage:"ProjectLogo_logoImage__wT4nf"}},89310:function(e){e.exports={root:"SpecialLogo_root__Ayr2X",shadows:"SpecialLogo_shadows__dmH6u",lights:"SpecialLogo_lights__cegFd",lightsImage:"SpecialLogo_lightsImage__hsDq3",shadow:"SpecialLogo_shadow__q9IWy",light:"SpecialLogo_light__mJClK",logoImage:"SpecialLogo_logoImage__9NMJW",brightness:"SpecialLogo_brightness__y5bWc"}},95789:function(e){e.exports={keyboardContainer:"MBGame_keyboardContainer__zsDNj",visible:"MBGame_visible__SeIsJ"}},42006:function(e){e.exports={bottomProgressBarContainer:"BottomProgressBar_bottomProgressBarContainer__Cod6x",visible:"BottomProgressBar_visible__oYjQj",bottomBarLoader:"BottomProgressBar_bottomBarLoader__gYpeX",bottomProgressBar:"BottomProgressBar_bottomProgressBar__meqYX",historyContainer:"BottomProgressBar_historyContainer__JyDjX",bottomProgressBarTitle:"BottomProgressBar_bottomProgressBarTitle__QzQ_9",animated:"BottomProgressBar_animated__DGLTm"}},79963:function(e){e.exports={bottomProgressBarContainer:"BottomProgressBarWithAdditionalGame_bottomProgressBarContainer__3B_d4",visible:"BottomProgressBarWithAdditionalGame_visible__0u7OV",bottomBarLoader:"BottomProgressBarWithAdditionalGame_bottomBarLoader__PDO_e",bottomProgressBar:"BottomProgressBarWithAdditionalGame_bottomProgressBar__QTaDf",historyContainer:"BottomProgressBarWithAdditionalGame_historyContainer__2P7Pb",content:"BottomProgressBarWithAdditionalGame_content__Uj8LS",bottomProgressBarTitle:"BottomProgressBarWithAdditionalGame_bottomProgressBarTitle__ESNI1 typography_headingS__91Uwz",additionalGameButton:"BottomProgressBarWithAdditionalGame_additionalGameButton__Ngy1I",animated:"BottomProgressBarWithAdditionalGame_animated__gmDA2"}},80493:function(e){e.exports={smallButton:"ModalBackButton_smallButton__O4j6P",backButton:"ModalBackButton_backButton__7QbJ1 ModalBackButton_smallButton__O4j6P"}},37051:function(e){e.exports={closeButton:"ModalCloseButton_closeButton__5mzlk"}},91312:function(e){e.exports={body:"ModalContainer_body__H_Cwj",overScrollableBody:"ModalContainer_overScrollableBody__EorpB"}},80483:function(e){e.exports={title:"ModalHeader_title__Bq4C9",left:"ModalHeader_left__Zauuv",right:"ModalHeader_right__5oB2N",center:"ModalHeader_center__FZ4q_",withSubtitle:"ModalHeader_withSubtitle__fqmFJ",subtitle:"ModalHeader_subtitle__MK8_3"}},99710:function(e){e.exports={root:"ConditionsModal_root__p0bgs",backIcon:"ConditionsModal_backIcon__BieAH",wrapper:"ConditionsModal_wrapper__u5mT_"}},38082:function(e){e.exports={subscriptionBlock:"GameInfoModal_subscriptionBlock__Et2vI",subscription:"GameInfoModal_subscription__2FgnY",loader:"GameInfoModal_loader__CfOmi",subscriptionToggle:"GameInfoModal_subscriptionToggle__HkeE1",title:"GameInfoModal_title__IBzzM",toggleButton:"GameInfoModal_toggleButton__021dK",nextWordTimer:"GameInfoModal_nextWordTimer__2yG_T",nextWordTimerHint:"GameInfoModal_nextWordTimerHint__Y0cYq",buttons:"GameInfoModal_buttons__l3jiN",buttonWrapper:"GameInfoModal_buttonWrapper__OIOsk",button:"GameInfoModal_button__xrm59",buttonHeader:"GameInfoModal_buttonHeader__LGEku",buttonIcon:"GameInfoModal_buttonIcon__oxZul",buttonDescription:"GameInfoModal_buttonDescription__Mn9Pr"}},76019:function(e){e.exports={root:"Content_root__Al5d7"}},55198:function(e){e.exports={root:"StatItem_root__oKz_c",enabled:"StatItem_enabled__HUT0F",description:"StatItem_description__9eRk9",tooltipButton:"StatItem_tooltipButton__0xLvH",value:"StatItem_value__6mf_E",loaderWrapper:"StatItem_loaderWrapper__F1Wy6",loader:"StatItem_loader__2xuc_",muted:"StatItem_muted__iXZ22"}},65378:function(e){e.exports={root:"StatItemList_root__ZgB0Y",mutedStatItem:"StatItemList_mutedStatItem__5hzqE"}},40750:function(e){e.exports={content:"Statistics_content__2XfMP",title:"Statistics_title__khCAS",description:"Statistics_description__01nyf"}},84997:function(e){e.exports={smallButton:"TooltipButton_smallButton__mNRhT",root:"TooltipButton_root__S_DzL TooltipButton_smallButton__mNRhT",active:"TooltipButton_active__FAWBk",light:"TooltipButton_light__sQDBc",info:"TooltipButton_info__p9FMI"}},35024:function(e){e.exports={root:"GiftsModal_root__4Thw3",loader:"GiftsModal_loader__9XOdp",giftsLoader:"GiftsModal_giftsLoader__orqpb",gifts:"GiftsModal_gifts__Zr5vj",giftItem:"GiftsModal_giftItem__BM7SW",inactive:"GiftsModal_inactive__iQjfV",notClickable:"GiftsModal_notClickable__JWLz0",accentDot:"GiftsModal_accentDot__qFFKl",disclaimer:"GiftsModal_disclaimer__Yj7lR"}},69791:function(e){e.exports={root:"NoGifts_root__TCZbz",imageWrapper:"NoGifts_imageWrapper__1R3_W",image:"NoGifts_image__8spfB",subtitle:"NoGifts_subtitle__ryf8X",title:"NoGifts_title__u5KfN",button:"NoGifts_button__m3pZu"}},79150:function(e){e.exports={root:"ModalBackground_root__j3UVu",background:"ModalBackground_background__QcUBH",image:"ModalBackground_image__eo7pZ"}},18914:function(e){e.exports={title:"NewDayModal_title__TjWJK",description:"NewDayModal_description__PH__M",reloadButton:"NewDayModal_reloadButton__JkAKW"}},67857:function(e){e.exports={root:"NextWordTimer_root__fKB76",title:"NextWordTimer_title__OPygK",timer:"NextWordTimer_timer__EMuYT",digit:"NextWordTimer_digit__OnwCK",loader:"NextWordTimer_loader__hChU0"}},22893:function(e){e.exports={root:"PredictionModal_root__ahgcM",inner:"PredictionModal_inner__W1VZ_",animationContainer:"PredictionModal_animationContainer__yjic_",tapTitle:"PredictionModal_tapTitle__zNcdC",prediction:"PredictionModal_prediction__iITPh",title:"PredictionModal_title__dt9Xj",text:"PredictionModal_text__wlSvs",button:"PredictionModal_button__aEFyY"}},37897:function(e){e.exports={root:"PredictionAnimation_root__OpNHi",shadowAnimation:"PredictionAnimation_shadowAnimation__OElFR",inner:"PredictionAnimation_inner__eHs9R",imagesLoadFinished:"PredictionAnimation_imagesLoadFinished__F6FKg",step:"PredictionAnimation_step__1wLeo",visible:"PredictionAnimation_visible__ptntQ",loader:"PredictionAnimation_loader___y_qP"}},89665:function(e){e.exports={root:"PredictionShadowAnimation_root__6ryAP",main:"PredictionShadowAnimation_main__EWcKe",shadow:"PredictionShadowAnimation_shadow__HwOhi",isAnimated:"PredictionShadowAnimation_isAnimated__0RfXC"}},62017:function(e){e.exports={image:"ReferralModal_image__ZntDQ",title:"ReferralModal_title__ctwVV",description:"ReferralModal_description__F1QV4",input:"ReferralModal_input__rrusN"}},6462:function(e){e.exports={root:"ResultModal_root__CWr80",item:"ResultModal_item__oLz39",hidden:"ResultModal_hidden__Ryb59",subscription:"ResultModal_subscription__mexFC",rightWordTitle:"ResultModal_rightWordTitle__IOs5i",rightWord:"ResultModal_rightWord__ThNJw",rightWordTooltipButton:"ResultModal_rightWordTooltipButton__PsaER",timer:"ResultModal_timer__8n83t",latDayInfo:"ResultModal_latDayInfo__U38eQ",numberOfAttemptsTitle:"ResultModal_numberOfAttemptsTitle__qGXI1",attemptsInner:"ResultModal_attemptsInner__NSGYk",attempts:"ResultModal_attempts__KcYsM",successful:"ResultModal_successful__bXqlF",shareButton:"ResultModal_shareButton__ezMV1",drawButton:"ResultModal_drawButton__tzwtj",giftButton:"ResultModal_giftButton__VB_IA",additionalGameButton:"ResultModal_additionalGameButton__fU6hJ",additionalDrawTicketsInfoCard:"ResultModal_additionalDrawTicketsInfoCard__1DC87"}},92717:function(e){e.exports={card:"AdditionalDrawTicketsInfoCardView_card__aLjpl typography_bodyM__aFlPx",image:"AdditionalDrawTicketsInfoCardView_image__IpYJf"}},32314:function(e){e.exports={neon:"DrawTicketCard_neon__swtiO",neonSmall:"DrawTicketCard_neonSmall__y88o_",neonWhiteSmall:"DrawTicketCard_neonWhiteSmall__oBswl",floatingToDownRight:"DrawTicketCard_floatingToDownRight__IzCV4",floatToDownRight:"DrawTicketCard_floatToDownRight__5Ksvr",floatingToDownLeft:"DrawTicketCard_floatingToDownLeft__xpv_q",floatToDownLeft:"DrawTicketCard_floatToDownLeft__e9Uj6",mainButton:"DrawTicketCard_mainButton___9r6u DrawTicketCard_neonSmall__y88o_",image:"DrawTicketCard_image__z__BI",buttons:"DrawTicketCard_buttons__tYj4O"}},13425:function(e){e.exports={root:"RightWordTooltipButton_root__HAqL_"}},8607:function(e){e.exports={mainButton:"SwitchableGifts_mainButton__yolW_"}},18734:function(e){e.exports={tooltip:"ThematicWordTooltip_tooltip__JTM7k",tooltipSource:"ThematicWordTooltip_tooltipSource__RXrfg"}},28736:function(e){e.exports={title:"ThematicWordTooltipContent_title__NmNu4",description:"ThematicWordTooltipContent_description__DQ9LA",buttons:"ThematicWordTooltipContent_buttons__POcQY",button:"ThematicWordTooltipContent_button__6FlUj",details:"ThematicWordTooltipContent_details__LLroc"}},67345:function(e){e.exports={divider:"RulesModal_divider__ZcGFr",example:"RulesModal_example__u3WAR",rowWrapper:"RulesModal_rowWrapper__TKN_J",row:"RulesModal_row__dYTxz",container:"RulesModal_container__4O_mH",playButton:"RulesModal_playButton__Bd18Y",root:"RulesModal_root___n5gx"}},56130:function(e){e.exports={description:"ShareModal_description__RbJAg",button:"ShareModal_button__RHBpt"}},63367:function(e){e.exports={root:"Subscription_root__Lkbag",text:"Subscription_text__WNKut",loader:"Subscription_loader__r7Skn",toggle:"Subscription_toggle__XbFna",toggleButton:"Subscription_toggleButton__V7O6R"}},27176:function(e){e.exports={title:"Advertising_title__xexMT typography_headingM__6exXK"}},13167:function(e){e.exports={root:"AdvertisingBannerItem_root__nh38s",scalable:"AdvertisingBannerItem_scalable__0onSt",background:"AdvertisingBannerItem_background__IY8Xn",image:"AdvertisingBannerItem_image__Dsa5D",content:"AdvertisingBannerItem_content__vJMSd",title:"AdvertisingBannerItem_title__leCs_ typography_headingS__91Uwz",description:"AdvertisingBannerItem_description__DeWpK typography_bodyM__aFlPx",button:"AdvertisingBannerItem_button__myQ_t",label:"AdvertisingBannerItem_label__6Vj7r typography_headingS__91Uwz"}},27363:function(e){e.exports={banners:"AdvertisingBanners_banners__18KkE",banner:"AdvertisingBanners_banner__PNpea"}},58979:function(e){e.exports={root:"DrawAnnouncementModal_root__8p0XK"}},539:function(e){e.exports={root:"DrawAnnouncementModalSkeleton_root__3J8xv",titleWrapper:"DrawAnnouncementModalSkeleton_titleWrapper__asSfB",title:"DrawAnnouncementModalSkeleton_title__Iyrd4",row2:"DrawAnnouncementModalSkeleton_row2__6PpNZ",descriptionWrapper:"DrawAnnouncementModalSkeleton_descriptionWrapper__gJfys",row1:"DrawAnnouncementModalSkeleton_row1__N8bYS",description:"DrawAnnouncementModalSkeleton_description__AbOnX",sharedGift:"DrawAnnouncementModalSkeleton_sharedGift__DPM5G",gifts:"DrawAnnouncementModalSkeleton_gifts__tAy5s"}},90582:function(e){e.exports={gold:"DrawHeader_gold__Y8DSa"}},90290:function(e){e.exports={root:"DrawModal_root__Cklv5"}},97508:function(e){e.exports={accent:"DrawHeader_accent__aojO2"}},51374:function(e){e.exports={root:"DrawModalSkeleton_root__6j2B4",ticketsProgress:"DrawModalSkeleton_ticketsProgress__xPYjp",gifts:"DrawModalSkeleton_gifts__aXx24",titleWrapper:"DrawModalSkeleton_titleWrapper__w6tL_",title:"DrawModalSkeleton_title__FAUHn",row2:"DrawModalSkeleton_row2__tc87u",descriptionWrapper:"DrawModalSkeleton_descriptionWrapper__XFGEI",row1:"DrawModalSkeleton_row1__YRF_f",description:"DrawModalSkeleton_description__0xzZw",ticketsButton:"DrawModalSkeleton_ticketsButton__LpjIX",inviteFriend:"DrawModalSkeleton_inviteFriend__lEZC_",buttonGetTicket:"DrawModalSkeleton_buttonGetTicket__PxBkQ"}},71280:function(e){e.exports={root:"DrawStatistics_root__smCjj"}},66287:function(e){e.exports={root:"DrawStatisticsLockedView_root__j6tFn",background:"DrawStatisticsLockedView_background__riIjl",content:"DrawStatisticsLockedView_content__wuTJa typography_bodyM__aFlPx",description:"DrawStatisticsLockedView_description__L2_6r",image:"DrawStatisticsLockedView_image___bm61"}},24029:function(e){e.exports={progress:"DrawStatisticsUnlocked_progress__xwYVN",progressInner:"DrawStatisticsUnlocked_progressInner__ew_p_",progressGradient:"DrawStatisticsUnlocked_progressGradient__mk3Yo",progressDescription:"DrawStatisticsUnlocked_progressDescription__SnPnn"}},66404:function(e){e.exports={title:"InviteFriend_title__9yrtY typography_headingM__6exXK",description:"InviteFriend_description__o_NjB typography_bodyM__aFlPx",button:"InviteFriend_button__juxUW",root:"InviteFriend_root__6GOoY",attention:"InviteFriend_attention__klIbl"}},25749:function(e){e.exports={root:"LockIcon_root__0grnF"}},2247:function(e){e.exports={root:"NextWordTimer_root__QzfyG typography_bodyL__d293V",time:"NextWordTimer_time__aaHAg"}},22119:function(e){e.exports={block:"SharedGiftView_block__dFHs_",blockInner:"SharedGiftView_blockInner__qNPc3",dark:"SharedGiftView_dark__XUq8z",subtitle:"SharedGiftView_subtitle__NKjod",imageContainer:"SharedGiftView_imageContainer__o0gOO",image:"SharedGiftView_image__bpto0",lockIconContainer:"SharedGiftView_lockIconContainer__vV3XP",lockIcon:"SharedGiftView_lockIcon__wMblq",shadow:"SharedGiftView_shadow__SuQEp"}},98822:function(e){e.exports={root:"TicketsButton_root__mEcji"}},54744:function(e){e.exports={title:"TicketsProgress_title__S8CPE typography_headingM__6exXK",description:"TicketsProgress_description__HUebX typography_bodyM__aFlPx",progressWrapper:"TicketsProgress_progressWrapper__wVusz",progress:"TicketsProgress_progress__eyxrs",bottomText:"TicketsProgress_bottomText__hvkgu typography_bodyS__tzsAt",daysLeft:"TicketsProgress_daysLeft__yr_uI"}},32899:function(e){e.exports={title:"WonSharedGift_title___uE8n typography_headingM__6exXK",description:"WonSharedGift_description__oQWck typography_bodyM__aFlPx"}},57543:function(e){e.exports={root:"DrawResultCalculationModal_root__sHeJV"}},63540:function(e){e.exports={root:"DrawBigGiftCard_root__Zl3ac",title:"DrawBigGiftCard_title__AGyR0",image:"DrawBigGiftCard_image__o3kIM",description:"DrawBigGiftCard_description__EOQl7",background:"DrawBigGiftCard_background__YIDEH",visible:"DrawBigGiftCard_visible__6Ncv3"}},58885:function(e){e.exports={title:"DrawHeader_title__ScdMz",shifted:"DrawHeader_shifted__vY4tR",accent:"DrawHeader_accent__KoiJC"}},99495:function(e){e.exports={root:"DrawResultCalculationModalSkeleton_root__rt5cF",titleWrapper:"DrawResultCalculationModalSkeleton_titleWrapper__doBPX",title:"DrawResultCalculationModalSkeleton_title__7P2M8",row2:"DrawResultCalculationModalSkeleton_row2__qLqa2",descriptionWrapper:"DrawResultCalculationModalSkeleton_descriptionWrapper__SxDMf",row1:"DrawResultCalculationModalSkeleton_row1__TOxS6",description:"DrawResultCalculationModalSkeleton_description__oW9IY",broadcastButton:"DrawResultCalculationModalSkeleton_broadcastButton__ICAU9",gifts:"DrawResultCalculationModalSkeleton_gifts__vI4j_",lostSharedGift:"DrawResultCalculationModalSkeleton_lostSharedGift__AuRuW",ticketsButton:"DrawResultCalculationModalSkeleton_ticketsButton__zLCea"}},197:function(e){e.exports={overlay:"GiftsButton_overlay__I30Ku",visible:"GiftsButton_visible__GXCmp",buttonWrapper:"GiftsButton_buttonWrapper__U74JL",button:"GiftsButton_button__OtR6n"}},34841:function(e){e.exports={copyButton:"HasTicketsBody_copyButton__T5PJk"}},22148:function(e){e.exports={giftsTitle:"SharedGiftNoTickets_giftsTitle___2hde"}},7012:function(e){e.exports={image:"WonExtraGift_image__A8LXK",button:"WonExtraGift_button__XgiQI",descriptionWrapper:"WonExtraGift_descriptionWrapper__TXUU2",description:"WonExtraGift_description__GYpMr",visible:"WonExtraGift_visible__uxdxM",gold:"WonExtraGift_gold__ZMuPV",expirationHint:"WonExtraGift_expirationHint__wTziR",expirationIcon:"WonExtraGift_expirationIcon__Fsxwp"}},21702:function(e){e.exports={root:"WonSharedGift_root__Dk0gA",info:"WonSharedGift_info__gP7u3",commonTitle:"WonSharedGift_commonTitle___vGE6"}},70377:function(e){e.exports={root:"DrawResultsModal_root__u4Pk4"}},64922:function(e){e.exports={gold:"DrawHeader_gold__a38kK"}},61872:function(e){e.exports={root:"DrawStatistics_root__n7oUA",block:"DrawStatistics_block__NOPa5",iconWrapper:"DrawStatistics_iconWrapper__OV0qO",iconBg:"DrawStatistics_iconBg__KUENk",description:"DrawStatistics_description__y65bA",gradient:"DrawStatistics_gradient__4xj91"}},71556:function(e){e.exports={afterStatisticsBlock:"HasTicketsBody_afterStatisticsBlock__w4noc",bottomItemGradient:"HasTicketsBody_bottomItemGradient__iBMGq"}},58306:function(e){e.exports={root:"NextDrawAnnouncement_root__RcZTw",background:"NextDrawAnnouncement_background__WBkKj",title:"NextDrawAnnouncement_title__ZXXLS",description:"NextDrawAnnouncement_description__cYdmB",bottom:"NextDrawAnnouncement_bottom__Dx0H_",bottomDecorator:"NextDrawAnnouncement_bottomDecorator__yuIbH",mainImage:"NextDrawAnnouncement_mainImage__AoV33",buttonWrapper:"NextDrawAnnouncement_buttonWrapper__dy9IX",visible:"NextDrawAnnouncement_visible__7Gk2E",button:"NextDrawAnnouncement_button__7CXg5"}},27504:function(e){e.exports={label:"SharedGiftNoTickets_label__1Hqap"}},35282:function(e){e.exports={root:"DrawTicketsModal_root__syqlr",tickets:"DrawTicketsModal_tickets__5PkmM",title:"DrawTicketsModal_title__vjVYZ"}},52111:function(e){e.exports={root:"DrawTicketsSkeleton_root__wdabA",tickets:"DrawTicketsSkeleton_tickets__gpxzz",ticket:"DrawTicketsSkeleton_ticket__vZQEI"}},38508:function(e){e.exports={root:"Ticket_root__sITxo",won:"Ticket_won__rocer",lost:"Ticket_lost__UbT8P",wonBorder:"Ticket_wonBorder__yIQZg",content:"Ticket_content__oYxJR",number:"Ticket_number__kQ7dw",wonText:"Ticket_wonText__xzqNy",date:"Ticket_date__C3iaN",imageWrapper:"Ticket_imageWrapper__HN3of",image:"Ticket_image__xUGmm",disabled:"Ticket_disabled__xk5QN"}},98763:function(e){e.exports={title:"Typography_title__x3GKn",big:"Typography_big__Npe0j",subtitle:"Typography_subtitle__mCFoY typography_bodyM__aFlPx",centered:"Typography_centered__BwuDe"}},4048:function(e){e.exports={label:"Block_label__RXk38 typography_headingS__91Uwz",root:"Block_root__jGbM2",background:"Block_background__It1_3"}},93709:function(e){e.exports={root:"DrawCopyButton_root__B_iRZ",texts:"DrawCopyButton_texts__LvD_e",title:"DrawCopyButton_title__7tK2G",gray:"DrawCopyButton_gray__Bx7pM",text:"DrawCopyButton_text__LYec2",copied:"DrawCopyButton_copied__IiorG",copiedIcon:"DrawCopyButton_copiedIcon__NpA_p",copyButton:"DrawCopyButton_copyButton__t_TA5",glow:"DrawCopyButton_glow__Bdt_E"}},58469:function(e){e.exports={root:"DrawGiftItem_root__Chh4S",innerContent:"DrawGiftItem_innerContent__mX9qy",infoIconWrapper:"DrawGiftItem_infoIconWrapper__OwwqB",wonDecorator:"DrawGiftItem_wonDecorator__fIAXC",imageWrapper:"DrawGiftItem_imageWrapper__1gN7Z",gradient:"DrawGiftItem_gradient__B7bDT",won:"DrawGiftItem_won___DdUb",image:"DrawGiftItem_image___a5xW",disabled:"DrawGiftItem_disabled__cF5IM",lockIcon:"DrawGiftItem_lockIcon__Pf8kQ",title:"DrawGiftItem_title__RgZoG",description:"DrawGiftItem_description__Ym_FX",button:"DrawGiftItem_button__RSS_E"}},52819:function(e){e.exports={tooltipSource:"DrawGiftTooltipButton_tooltipSource__CKGG9"}},22809:function(e){e.exports={content:"TooltipContent_content__YmHXB",link:"TooltipContent_link__s0NwD",text:"TooltipContent_text___IqhE"}},95321:function(e){e.exports={listWrapper:"DrawGiftList_listWrapper__gMUHL",list:"DrawGiftList_list__JOakH",listItem:"DrawGiftList_listItem__OooPC"}},49917:function(e){e.exports={root:"DrawGiftsBlock_root__Glb6t",beforeContent:"DrawGiftsBlock_beforeContent__ecgdm",backgroundLight:"DrawGiftsBlock_backgroundLight__7f5BW",top:"DrawGiftsBlock_top__Flmr8",content:"DrawGiftsBlock_content__TmWXC"}},29514:function(e){e.exports={subtitle:"DrawGiftsView_subtitle__4jMgW",gray:"DrawGiftsView_gray__2VAaF"}},94029:function(e){e.exports={header:"UnitedDrawGiftsView_header__wkEKu",subtitle:"UnitedDrawGiftsView_subtitle__bbZIp",infoIconContainer:"UnitedDrawGiftsView_infoIconContainer__TIFta",infoIcon:"UnitedDrawGiftsView_infoIcon__6hWGN",giftsRow:"UnitedDrawGiftsView_giftsRow__hcU8j"}},94781:function(e){e.exports={image:"DrawHeaderImageSkeleton_image__cYp8o"}},47098:function(e){e.exports={root:"DrawHeaderView_root__J_y1E",imageWrapper:"DrawHeaderView_imageWrapper__eoDV0",image:"DrawHeaderView_image__GHRnk",title:"DrawHeaderView_title__wzY_h",description:"DrawHeaderView_description__WUBtT",before:"DrawHeaderView_before__Aad9B",after:"DrawHeaderView_after__IaJEH"}},53878:function(e){e.exports={root:"FloatingButton_root__qvuuW",visible:"FloatingButton_visible__vfADZ",button:"FloatingButton_button__VSI9T",buttonStub:"FloatingButton_buttonStub__uqJNT"}},93989:function(e){e.exports={image:"GetTicketFloatingButton_image__gToON"}},24107:function(e){e.exports={root:"DynamicFloatingButton_root___5rFU",visible:"DynamicFloatingButton_visible__jelL0",fake:"DynamicFloatingButton_fake__HQlLu"}},32206:function(e){e.exports={root:"HeaderGlowView_root__wD_9C",theme:"HeaderGlowView_theme__Dzpr_",visible:"HeaderGlowView_visible__vKFDU",default:"HeaderGlowView_default__YhY9b",accent:"HeaderGlowView_accent__sCY4r",accentSmall:"HeaderGlowView_accentSmall__DYUU2"}},91019:function(e){e.exports={root:"ImageDecorator_root__uXJrK",left:"ImageDecorator_left__PXu3Z",right:"ImageDecorator_right__sile9",top:"ImageDecorator_top__ySZh_",bottom:"ImageDecorator_bottom__y8Mug"}},39761:function(e){e.exports={root:"LostSharedGiftView_root__t_XUY",content:"LostSharedGiftView_content__ttqoZ",icon:"LostSharedGiftView_icon__0Xyfg",title:"LostSharedGiftView_title__EW2e0",description:"LostSharedGiftView_description__SQywA"}},67365:function(e){e.exports={root:"SharedGiftInfo_root__OcDFY",iconCheckContainer:"SharedGiftInfo_iconCheckContainer__FAUGj",content:"SharedGiftInfo_content__AZU4S",title:"SharedGiftInfo_title__ML9ln",infoIconContainer:"SharedGiftInfo_infoIconContainer__Tw_K2",infoIcon:"SharedGiftInfo_infoIcon__K4e3i"}},33769:function(e){e.exports={logo:"PartnerTBankLogo_logo__yRaxL"}},54162:function(e){e.exports={root:"LecarAdvertising_root__s8lO7",content:"LecarAdvertising_content__sjTrD",logo:"LecarAdvertising_logo__LVbs_",image:"LecarAdvertising_image__pGqIU",glow:"LecarAdvertising_glow__CC8fO",headerImage:"LecarAdvertising_headerImage__WO_To",title:"LecarAdvertising_title__C59vn",description:"LecarAdvertising_description____1fA typography_bodyM__aFlPx",button:"LecarAdvertising_button__fdZls",copyButton:"LecarAdvertising_copyButton__YKJf6",adsInfo:"LecarAdvertising_adsInfo__vWW6_ typography_bodyS__tzsAt"}},43169:function(e){e.exports={root:"LecarHeaderInfo_root__E0mtX",title:"LecarHeaderInfo_title__LgqCU typography_bodyS__tzsAt",accent:"LecarHeaderInfo_accent__Cpm_v"}},3875:function(e){e.exports={root:"EnergyBalance_root__9pnoT",imageContainer:"EnergyBalance_imageContainer__oSPok",image:"EnergyBalance_image__zVKDt",glow:"EnergyBalance_glow__TpcuQ",small:"EnergyBalance_small__EmTqA",battery:"EnergyBalance_battery__EhUO_",visible:"EnergyBalance_visible__nXJZ_",balance:"EnergyBalance_balance__PtWO6",gold:"EnergyBalance_gold__SoXoY"}},76591:function(e){e.exports={root:"EnergyBalanceModal_root__iWJiX",contentWrapper:"EnergyBalanceModal_contentWrapper__p4Ory",container:"EnergyBalanceModal_container__x36wv",streakTitle:"EnergyBalanceModal_streakTitle__DH06G",streakTitleText:"EnergyBalanceModal_streakTitleText__MJ_Z5",streakContainer:"EnergyBalanceModal_streakContainer__DO4ca",button:"EnergyBalanceModal_button__KhuPQ"}},8169:function(e){e.exports={headerContainer:"EnergyBalanceHero_headerContainer__5w006",headerContent:"EnergyBalanceHero_headerContent__n_unP",title:"EnergyBalanceHero_title__TTjX6",description:"EnergyBalanceHero_description__6Qiav",balance:"EnergyBalanceHero_balance__LZPnD",energyStatus:"EnergyBalanceHero_energyStatus__nyApf",energyStatusImage:"EnergyBalanceHero_energyStatusImage__Brsk_",accentGold:"EnergyBalanceHero_accentGold__8CR_r",accentPurple:"EnergyBalanceHero_accentPurple__EgU9E",tooltipButton:"EnergyBalanceHero_tooltipButton__NSg__",tooltipButtonActive:"EnergyBalanceHero_tooltipButtonActive__TUvwx",tooltipContent:"EnergyBalanceHero_tooltipContent__QoTX3"}},56971:function(e){e.exports={image:"EnergyImage_image__iftbj",shadow:"EnergyImage_shadow___QD79"}},8770:function(e){e.exports={root:"EnergyOverlimitModal_root__E5PKk",contentWrapper:"EnergyOverlimitModal_contentWrapper__X_k1X",container:"EnergyOverlimitModal_container__CDMxj",balanceWrapper:"EnergyOverlimitModal_balanceWrapper__9K6V7",balance:"EnergyOverlimitModal_balance__YvEq2",title:"EnergyOverlimitModal_title__zh3Ar",accentGold:"EnergyOverlimitModal_accentGold__WDpeV",titleM:"EnergyOverlimitModal_titleM__UufA3 typography_headingM__6exXK",titleL:"EnergyOverlimitModal_titleL__iiv28 typography_headingL__2902i",energyImage:"EnergyOverlimitModal_energyImage__F8WNu",description:"EnergyOverlimitModal_description__BNRhr",descriptionS:"EnergyOverlimitModal_descriptionS__TsDI_ typography_bodyS__tzsAt",descriptionL:"EnergyOverlimitModal_descriptionL__WpM4N typography_bodyL__d293V",button:"EnergyOverlimitModal_button__1jxYA"}},65925:function(e){e.exports={streak:"EnergyStreakList_streak__cwIfe",item:"EnergyStreakList_item__S7d8e",visible:"EnergyStreakList_visible__ObNOP"}},38527:function(e){e.exports={item:"EnergyStreakItem_item__oCW6H",title:"EnergyStreakItem_title__FeGM5",titleImg:"EnergyStreakItem_titleImg__D6I1m",description:"EnergyStreakItem_description__PWBq3 typography_bodyXXS__wPjsJ",stamp:"EnergyStreakItem_stamp__kLiSG",visible:"EnergyStreakItem_visible__7FYiK",beams:"EnergyStreakItem_beams__f4svC",animationContainer:"EnergyStreakItem_animationContainer__iNLH7",itemWrapper:"EnergyStreakItem_itemWrapper__se2Zr",received:"EnergyStreakItem_received__VGUfr",active:"EnergyStreakItem_active__TqMq3",last:"EnergyStreakItem_last__dNp6w"}},46836:function(e){e.exports={root:"EnergyStreakModal_root__U77Nc",container:"EnergyStreakModal_container__3SN9e",title:"EnergyStreakModal_title__cVDAj",description:"EnergyStreakModal_description__AbTBm",buttonWrapper:"EnergyStreakModal_buttonWrapper__1m_Cu",button:"EnergyStreakModal_button__FQ1tL"}},40615:function(e){e.exports={root:"EnergyWelcomeModal_root__26VIy",container:"EnergyWelcomeModal_container__NEnXN",title:"EnergyWelcomeModal_title__X5rzH",energyImage:"EnergyWelcomeModal_energyImage__hj_8r",description:"EnergyWelcomeModal_description__leMHX",buttonWrapper:"EnergyWelcomeModal_buttonWrapper__wBs9I",button:"EnergyWelcomeModal_button__dA75I"}},75669:function(e){e.exports={root:"EnergyHeaderBeams_root__cgwm6",imageWrapper:"EnergyHeaderBeams_imageWrapper__AiojH",image:"EnergyHeaderBeams_image__aRCxH",visible:"EnergyHeaderBeams_visible___CYdt"}},54812:function(e){e.exports={root:"EnergyHeaderGlow_root__hI_bz",glowContainer:"EnergyHeaderGlow_glowContainer__qLKwl",glow:"EnergyHeaderGlow_glow__XXJm7",gold:"EnergyHeaderGlow_gold__oPzjl"}},64255:function(e){e.exports={root:"EnergyHeaderImage_root__f_i30",image:"EnergyHeaderImage_image__Tt4F7",visible:"EnergyHeaderImage_visible__XDlC_",horizontal:"EnergyHeaderImage_horizontal__BYeuh"}},32158:function(e){e.exports={smallButton:"NotificationBottomSheetContent_smallButton__70kFJ",root:"NotificationBottomSheetContent_root__fWD9L",bigBottomPadding:"NotificationBottomSheetContent_bigBottomPadding__KY_cU",imageContainer:"NotificationBottomSheetContent_imageContainer__W_DWG",image:"NotificationBottomSheetContent_image__WydSy",content:"NotificationBottomSheetContent_content__NWA1e",title:"NotificationBottomSheetContent_title__BEnlZ",description:"NotificationBottomSheetContent_description__sERLP",buttons:"NotificationBottomSheetContent_buttons__VWool",button:"NotificationBottomSheetContent_button__OXT4s",closeButton:"NotificationBottomSheetContent_closeButton__6o_H0"}},28927:function(e){e.exports={loader:"PdfViewer_loader__nf8C1",root:"PdfViewer_root__CYuba",pdfPage:"PdfViewer_pdfPage__HvHLL",error:"PdfViewer_error__5MKys"}},33398:function(e){e.exports={root:"RTBBanner_root__41So4"}},26492:function(e){e.exports={root:"Scrollable_root__9zb5U",bodyWrapper:"Scrollable_bodyWrapper__npAPH",topFix:"Scrollable_topFix__vLppB",bottomFix:"Scrollable_bottomFix___jCUC",body:"Scrollable_body__6wVLW",hasScroll:"Scrollable_hasScroll__vroIE",overlay:"Scrollable_overlay___iA2F",mounted:"Scrollable_mounted__TsDT_",visible:"Scrollable_visible__cT0Lj",top:"Scrollable_top__0_AEa",bottom:"Scrollable_bottom__Tt8eW"}},52935:function(e){e.exports={root:"SpritePlayer_root__d3Y_m",frame:"SpritePlayer_frame__FNvtC",animated:"SpritePlayer_animated__7yRjD",sprite:"SpritePlayer_sprite__7IXz9"}},45469:function(e){e.exports={root:"StatusNotificationView_root__GLaLc",inner:"StatusNotificationView_inner__yIhRW",body:"StatusNotificationView_body__vitHX",hasText:"StatusNotificationView_hasText__qKRHA",visible:"StatusNotificationView_visible__kwWAc",transitioned:"StatusNotificationView_transitioned__JDrdC",icon:"StatusNotificationView_icon__GSJQx",text:"StatusNotificationView_text__rbBdP",nextBodyHolder:"StatusNotificationView_nextBodyHolder__IAHGL"}},90503:function(e){e.exports={root:"SwitchableContainer_root__51KS1",swiper:"SwitchableContainer_swiper__W5EYQ",finished:"SwitchableContainer_finished__n3eb7",invisibleBox:"SwitchableContainer_invisibleBox__0MUfr",next:"SwitchableContainer_next__degv3"}},12821:function(e){e.exports={root:"TileTooltip_root__08E7B",emoji:"TileTooltip_emoji__1UQWb"}},62641:function(e){e.exports={overlay:"EnergyCurrentGiftCard_overlay__wpDrd",hidingCard:"EnergyCurrentGiftCard_hidingCard__yU3EH",energyImage:"EnergyCurrentGiftCard_energyImage__ANP7K",card:"EnergyCurrentGiftCard_card__hHeCt"}},56112:function(e){e.exports={neon:"GiftCardView_neon__yIB7i",neonSmall:"GiftCardView_neonSmall__c_Vot",neonWhiteSmall:"GiftCardView_neonWhiteSmall__XTZPc",floatingToDownRight:"GiftCardView_floatingToDownRight__UzMXs",floatToDownRight:"GiftCardView_floatToDownRight__FkbJ0",floatingToDownLeft:"GiftCardView_floatingToDownLeft__Uwz2S",floatToDownLeft:"GiftCardView_floatToDownLeft__KOWc_",card:"GiftCardView_card__WbhzC",mainButton:"GiftCardView_mainButton__pBqiG",highlighted:"GiftCardView_highlighted___dOSl GiftCardView_neon__yIB7i",content:"GiftCardView_content__An8Th",image:"GiftCardView_image__he7QQ",name:"GiftCardView_name___BbUU",nameWrapper:"GiftCardView_nameWrapper__HtU7C",subtitle:"GiftCardView_subtitle__c6zUS",description:"GiftCardView_description__fnFfv",buttons:"GiftCardView_buttons__FDXoy",detailsButton:"GiftCardView_detailsButton__qhlk3",additionalInfo:"GiftCardView_additionalInfo__WAnpo",expirationHint:"GiftCardView_expirationHint__cn5Rd",expirationIcon:"GiftCardView_expirationIcon__lbltg",shining:"GiftCardView_shining__tPyKT",shine:"GiftCardView_shine__LPuoG",root:"GiftCardView_root__3izlA",pending:"GiftCardView_pending__Y8XWk",expired:"GiftCardView_expired__Oes1D"}},55142:function(e){e.exports={wrapper:"GiftCardWithTooltip_wrapper__Hx_Ki",tooltipButton:"GiftCardWithTooltip_tooltipButton__2xw0x"}},50950:function(e){e.exports={neon:"ReceivableCurrentGiftCard_neon__N_i3D",neonSmall:"ReceivableCurrentGiftCard_neonSmall__8abRX",neonWhiteSmall:"ReceivableCurrentGiftCard_neonWhiteSmall__1jfyG",floatingToDownRight:"ReceivableCurrentGiftCard_floatingToDownRight__DnxP7",floatToDownRight:"ReceivableCurrentGiftCard_floatToDownRight__HMLXW",floatingToDownLeft:"ReceivableCurrentGiftCard_floatingToDownLeft__0gTDM",floatToDownLeft:"ReceivableCurrentGiftCard_floatToDownLeft__g1PWw",mainButton:"ReceivableCurrentGiftCard_mainButton__t8eb0 ReceivableCurrentGiftCard_neonSmall__8abRX",mainWhiteButton:"ReceivableCurrentGiftCard_mainWhiteButton__sXs5Q ReceivableCurrentGiftCard_neonWhiteSmall__1jfyG"}},92674:function(e){e.exports={card:"UpcomingGiftCard_card__sWbnu",inactiveImage:"UpcomingGiftCard_inactiveImage__c_iKL"}},5688:function(e){e.exports={root:"AccentDot_root__AQoUt",pulse:"AccentDot_pulse__UVKCO"}},32010:function(e){e.exports={root:"AnimatedCounter_root__3wXrR",fractionalPart:"AnimatedCounter_fractionalPart__iEM4b",separator:"AnimatedCounter_separator__dHuzx",visible:"AnimatedCounter_visible__Ni4yz"}},99785:function(e){e.exports={root:"AnimatedDigit_root__9whZp",visible:"AnimatedDigit_visible__6cCAp",digit:"AnimatedDigit_digit__VHSat",invisible:"AnimatedDigit_invisible__g50Ce",absolute:"AnimatedDigit_absolute__0jylc",topAnimation:"AnimatedDigit_topAnimation__q3uvg",topAnimationRestart:"AnimatedDigit_topAnimationRestart__N_4dA",bottomAnimation:"AnimatedDigit_bottomAnimation__88DDB",bottomAnimationRestart:"AnimatedDigit_bottomAnimationRestart__EJj_V",toTop:"AnimatedDigit_toTop__ToAqM",toTopRestart:"AnimatedDigit_toTopRestart__FiIyJ",toBottom:"AnimatedDigit_toBottom__MgKs4",toBottomRestart:"AnimatedDigit_toBottomRestart__Q2g_e"}},4238:function(e){e.exports={root:"AnimatedDigitV2_root__lEtp_",visible:"AnimatedDigitV2_visible__zdaCW",digits:"AnimatedDigitV2_digits__d1vvl",digit:"AnimatedDigitV2_digit__wKhs3",invisible:"AnimatedDigitV2_invisible__o6U22",absolute:"AnimatedDigitV2_absolute__xQ0x_"}},57154:function(e){e.exports={box:"AspectRatioBlock_box__bgGoS",children:"AspectRatioBlock_children__4wYoE"}},53146:function(e){e.exports={root:"BottomSheet_root__xE8E_",openWithFade:"BottomSheet_openWithFade__3mNM2",visible:"BottomSheet_visible__YL4t9",space:"BottomSheet_space__MKBrh",slide:"BottomSheet_slide__LEDL_",slideContentWrapper:"BottomSheet_slideContentWrapper__6v_3K",slideContent:"BottomSheet_slideContent__MZ41V",overlay:"BottomSheet_overlay__yzNKT",position_absolute:"BottomSheet_position_absolute__P9nw8",extraOverlay:"BottomSheet_extraOverlay__WRGz1",animated:"BottomSheet_animated__CB6XW",preventInteraction:"BottomSheet_preventInteraction__raoq0",content:"BottomSheet_content__LxYbL",maxHeight:"BottomSheet_maxHeight__0ghPt"}},78117:function(e){e.exports={root:"Button_root__X_DlB",disabled:"Button_disabled__ZUApo",loader:"Button_loader__cT4Zo",loading:"Button_loading__v4jMJ"}},74619:function(e){e.exports={root:"ButtonLegacy_root__7iAlr",disabled:"ButtonLegacy_disabled__YV0Eg"}},28758:function(e){e.exports={smallButton:"CloseButton_smallButton__O_iE6",root:"CloseButton_root__PcQ_N CloseButton_smallButton__O_iE6"}},79021:function(e){e.exports={container:"Container_container__NX3GC"}},31614:function(e){e.exports={counter:"FlipCounter_counter__YuhiZ",digit:"FlipCounter_digit__r7G_C"}},13567:function(e){e.exports={digit:"FlipCounterDigit_digit__rjCmk",animated:"FlipCounterDigit_animated__Wy2DB",shadowBottom:"FlipCounterDigit_shadowBottom__uLnS4",digitOverlay:"FlipCounterDigit_digitOverlay__bvAfc",flipTop:"FlipCounterDigit_flipTop__XvfmJ",flipBottom:"FlipCounterDigit_flipBottom__XmRRL"}},59463:function(e){e.exports={overlay:"Popup_overlay__wDSj_",position_absolute:"Popup_position_absolute__Zo1gj",extraOverlay:"Popup_extraOverlay__di7P_",root:"Popup_root__v_EuI",animated:"Popup_animated__6upMF",visible:"Popup_visible__7XK23"}},99021:function(e){e.exports={root:"PressScale_root__0kLea",pressed:"PressScale_pressed__8poNi"}},53127:function(e){e.exports={root:"SkeletonItem_root__yYQfP"}},37726:function(e){e.exports={root:"Tabs_root__BHiLr"}},99805:function(e){e.exports={root:"TabsNav_root__gpueq",inactive:"TabsNav_inactive__kywjq",selector:"TabsNav_selector__YDji7",item:"TabsNav_item__MRg7E",active:"TabsNav_active__qguAo",title:"TabsNav_title__g9iXS"}},17340:function(e){e.exports={root:"Toggle_root__QMu1_",enabled:"Toggle_enabled__RzUZb"}},36799:function(e){e.exports={tooltip:"Tooltip_tooltip__OpLPl",light:"Tooltip_light__I5sRk",dark:"Tooltip_dark__BLhlL",fake:"Tooltip_fake__YFhR9",arrow:"Tooltip_arrow__s_Tk6",source:"Tooltip_source__VPHMC",arrowOnTop:"Tooltip_arrowOnTop__9rKei",visible:"Tooltip_visible__jaQ4A"}},91825:function(e){e.exports={root:"AuthPageUser_root__g3OPD",iframe:"AuthPageUser_iframe__oN7Nm",label:"AuthPageUser_label__9xGFi",input:"AuthPageUser_input__hojW_"}},59072:function(e){e.exports={smallButton:"DemoPage_smallButton__XTe4j",root:"DemoPage_root__a2owF",container:"DemoPage_container__A2AYG",hidden:"DemoPage_hidden__srJjI",row:"DemoPage_row__X_FOY",logo:"DemoPage_logo__m1kZ1",buttons:"DemoPage_buttons__a2H7y",button:"DemoPage_button__tlyZY DemoPage_smallButton__XTe4j",smallResolution:"DemoPage_smallResolution__PYdTt",highResolution:"DemoPage_highResolution__30_GT",rulesButtonText:"DemoPage_rulesButtonText__oOuKS",gameWrapper:"DemoPage_gameWrapper__uNWkO"}},7239:function(e){e.exports={root:"DemoPageModal_root__V8Woi",imageWrapper:"DemoPageModal_imageWrapper__gyrQh",image:"DemoPageModal_image__I97sO",title:"DemoPageModal_title__seSxc",description:"DemoPageModal_description__8Zb6o"}},85291:function(e){e.exports={buttons:"DemoResultModal_buttons__0pyN2",button:"DemoResultModal_button__QmDNd"}},72450:function(e){e.exports={buttons:"DemoWelcomeModal_buttons__2_0Vf",button:"DemoWelcomeModal_button__Nb8OY"}},7920:function(e){e.exports={root:"DemoPageTest_root__XdFgb",iframe:"DemoPageTest_iframe__MDBnf"}},37105:function(e){e.exports={root:"GamePage_root__Colte",container:"GamePage_container__ROJXm",noscript:"GamePage_noscript__uT1XW",modal:"GamePage_modal__kkNmo",errorInfo:"GamePage_errorInfo__IuMxz"}},80558:function(e){e.exports={block:"About_block__ttLl8",items:"About_items__t4Bye",item:"About_item__ke2Ph",itemIconWrapper:"About_itemIconWrapper__TPwbY",itemIconShadow:"About_itemIconShadow__8fxgi",itemIcon:"About_itemIcon__XXoBW",itemTitle:"About_itemTitle__Z4aKN",itemDescription:"About_itemDescription__6bC7z"}},77514:function(e){e.exports={root:"Block_root__ycJEp",content:"Block_content__ZU3ud"}},72165:function(e){e.exports={card:"Bonus_card__C9W5Q",content:"Bonus_content__bpeSV",title:"Bonus_title__Vqjwm",text:"Bonus_text__h6O3e",button:"Bonus_button__AT39l",mobileImage:"Bonus_mobileImage__B_p1D",floatImage:"Bonus_floatImage__gaNeV",mobileImage1:"Bonus_mobileImage1__SiyWd",mobileImage2:"Bonus_mobileImage2__39c4j",mobileImage3:"Bonus_mobileImage3__W_tdk",mobileImage4:"Bonus_mobileImage4__gHFST",image1:"Bonus_image1__BICLS",image2:"Bonus_image2__6U8rm",image3:"Bonus_image3__tJb7N",image4:"Bonus_image4__Q__Lw",image5:"Bonus_image5__ixwMu",image6:"Bonus_image6__IqUyV"}},39875:function(e){e.exports={block:"Card_block__IRZE_",textContent:"Card_textContent__g9tGA",description:"Card_description__rXSHk",iframeWrapper:"Card_iframeWrapper__9w5Hi",iframe:"Card_iframe__Ec70d"}},62701:function(e){e.exports={root:"CopyButton_root__h6yDl",copied:"CopyButton_copied__YPxgD",title:"CopyButton_title__LOks1",copiedTitle:"CopyButton_copiedTitle__HQ9VD",copyIcon:"CopyButton_copyIcon__c1lij"}},34348:function(e){e.exports={root:"Demo_root__QZhvT",container:"Demo_container__3g_Oy"}},10177:function(e){e.exports={root:"LandingDemoGame_root__7GXTg",mobileLarge:"LandingDemoGame_mobileLarge__4aE7A",desktopLarge:"LandingDemoGame_desktopLarge__PB7ZA",container:"LandingDemoGame_container__scvub"}},83094:function(e){e.exports={scrollable:"ResultModal_scrollable__xt0P2",tabTitle:"ResultModal_tabTitle__UA5_U",title:"ResultModal_title__1Iusr",tabs:"ResultModal_tabs__fCCfP"}},53779:function(e){e.exports={copyButton:"ReceivedGiftsTab_copyButton__T_wxw",description:"ReceivedGiftsTab_description__vR_LE",goToCardButton:"ReceivedGiftsTab_goToCardButton__0zOhN"}},15038:function(e){e.exports={root:"TabCard_root__eA9nW",image:"TabCard_image__w0L44",title:"TabCard_title__m9bxr"}},1629:function(e){e.exports={description:"UpcomingGiftsCardWithoutBonus_description__PwXsq",buttons:"UpcomingGiftsCardWithoutBonus_buttons__nxi7f",clientButton:"UpcomingGiftsCardWithoutBonus_clientButton__qTva9"}},36890:function(e){e.exports={description:"UpcomingGiftsTab_description__8uHgz"}},58705:function(e){e.exports={root:"WelcomeModal_root__UkvBZ"}},91185:function(e){e.exports={card:"DrawResult_card__MB_Ww",content:"DrawResult_content__6EQ8r",title:"DrawResult_title__dO_ZL",description:"DrawResult_description__kGlgk",buttons:"DrawResult_buttons__2M6KB",button:"DrawResult_button__6B4dN",floatImage:"DrawResult_floatImage__CNwo1",sparkles1:"DrawResult_sparkles1__quYEM",sparkles2:"DrawResult_sparkles2__0ffQU",group1:"DrawResult_group1___COC6",group2:"DrawResult_group2__8Y5rr",lotteryLeft:"DrawResult_lotteryLeft__dtbB6",lotteryRight:"DrawResult_lotteryRight__w8PXM"}},82070:function(e){e.exports={root:"Footer_root__j9SlK",block:"Footer_block__jSRqB",content:"Footer_content__jPuqa",linkItem:"Footer_linkItem__UX_wN",link:"Footer_link__3PhVs",floatImage:"Footer_floatImage__uva6P",mobileImage1:"Footer_mobileImage1___LRnR",image1:"Footer_image1__8_lOs",image2:"Footer_image2__QUVB2",disclaimer:"Footer_disclaimer__P7Got"}},84714:function(e){e.exports={cards:"HowToFind_cards__qlFIB",card:"HowToFind_card__mwV8J",appCard:"HowToFind_appCard__TiscJ",cardTitle:"HowToFind_cardTitle__0bgvx",cardDescription:"HowToFind_cardDescription__6YrsA",phoneImage:"HowToFind_phoneImage__S7R4X",goToAppButton:"HowToFind_goToAppButton__f9N_R",instruction:"HowToFind_instruction__8Pp_H",link:"HowToFind_link__4AjA8",card1Content:"HowToFind_card1Content__YAMVz",qrCard:"HowToFind_qrCard__1ZUL6",qrCodeWrapper:"HowToFind_qrCodeWrapper__KUDsN",qrCodeContainer:"HowToFind_qrCodeContainer__dzo_f",qrCode:"HowToFind_qrCode__Lhanq"}},43714:function(e){e.exports={block:"Intro_block__2QxnS",container:"Intro_container__fTyk7",content:"Intro_content__TJAPx",mainTitle:"Intro_mainTitle__6Nfli",description:"Intro_description___FJ9M",button:"Intro_button__CR7P5",giftsContainer:"Intro_giftsContainer__oiQqh",giftsContent:"Intro_giftsContent__gsWzT",giftsImage:"Intro_giftsImage__o_oSx",counter:"Intro_counter__dphRc",giftsDescription:"Intro_giftsDescription__2bN74",lettersTopContainer:"Intro_lettersTopContainer__mBXEZ",lettersBottomContainer:"Intro_lettersBottomContainer___VCjT",lettersStatic:"Intro_lettersStatic__g1p_N",letter:"Intro_letter__ILn7_",letterGroup1:"Intro_letterGroup1__a4sK2",letter1:"Intro_letter1__1ptL1",floatLeftTop:"Intro_floatLeftTop__zZczf",shape1:"Intro_shape1__Lar3p",floatRightTop:"Intro_floatRightTop__UDRD9",shape2:"Intro_shape2__J26o8",floatLeftBottom:"Intro_floatLeftBottom__wnkqT",letter2:"Intro_letter2__CZer3",shape3:"Intro_shape3___Xx7X",letter3:"Intro_letter3__qDD0v",letter4:"Intro_letter4__9r69a",letter5:"Intro_letter5__poCtg",floatRightBottom:"Intro_floatRightBottom___WsrI",shape4:"Intro_shape4__FC1A4",letter6:"Intro_letter6__AP_va",letter7:"Intro_letter7__4jSxZ",shape5:"Intro_shape5__5HSj4",letter8:"Intro_letter8__X9BNT",shape6:"Intro_shape6__P4YMP"}},62065:function(e){e.exports={root:"Button_root__qcvgb"}},72155:function(e){e.exports={block:"Header_block__oIBKj",logoContainer:"Header_logoContainer__t7Nye",logo:"Header_logo__r_n4z",companyLogo:"Header_companyLogo__a0920"}},71771:function(e){e.exports={root:"LandingModal_root__OLiHK",compact:"LandingModal_compact__z65WC",scrollable:"LandingModal_scrollable__9Yycv",withExtraTopPadding:"LandingModal_withExtraTopPadding__fDkYy",title:"LandingModal_title__ZcYE_"}},87715:function(e){e.exports={button:"LandingPageButton_button__Imycr"}},20439:function(e){e.exports={body:"LandingPageContainer_body__rSoql",root:"LandingPageContainer_root__MZ41C"}},83782:function(e){e.exports={root:"Title_root__1IMGp"}},33340:function(e){e.exports={root:"Auth_root__dAY6o",content:"Auth_content__R0Za3",conditions:"Auth_conditions__7Lete",link:"Auth_link__tqE3A"}},46539:function(e){e.exports={root:"AuthError_root__yzMKc",description:"AuthError_description__kofyx",errorInfo:"AuthError_errorInfo__gFeug",button:"AuthError_button__7UeBg"}},51815:function(e){e.exports={root:"AuthIframe_root__rMySk",subtitle:"AuthIframe_subtitle__kSOBj",iframe:"AuthIframe_iframe__mooIi",loaderWrapper:"AuthIframe_loaderWrapper__UfqNe",loader:"AuthIframe_loader__Yl_bb"}},21678:function(e){e.exports={text:"AuthSuccess_text__cwfT3",goToAppButton:"AuthSuccess_goToAppButton__xZk_h",qrCode:"AuthSuccess_qrCode__GfdQa",instruction:"AuthSuccess_instruction__14wUe",link:"AuthSuccess_link__Kccjr"}},94024:function(e){e.exports={root:"Title_root__3TDbo"}},42696:function(e){e.exports={block:"Intro_block__bTFdb",content:"Intro_content__IP2UX",title:"Intro_title__yipzw",description:"Intro_description__QDlus",floatImage:"Intro_floatImage__QSK_O",topMobileImage:"Intro_topMobileImage__SpA2M",bottomMobileImageWrapper:"Intro_bottomMobileImageWrapper__coKOS",bottomMobileImage:"Intro_bottomMobileImage__43Frd",leftGroup:"Intro_leftGroup__zIarb",rightGroup:"Intro_rightGroup__peS4p",leftO:"Intro_leftO__5aKih",leftF:"Intro_leftF__Otdl4",leftK:"Intro_leftK__HdeRy",floatRightBottom:"Intro_floatRightBottom__2duum",leftN:"Intro_leftN__EjNSG",floatRightTop:"Intro_floatRightTop__NY_mi",leftT:"Intro_leftT__GooJj",shape4:"Intro_shape4__orFjL",floatLeftBottom:"Intro_floatLeftBottom__91ZJQ",shape5:"Intro_shape5__Xve1h",shape6:"Intro_shape6__zUWcx",rightT:"Intro_rightT__HKqj_",rightI:"Intro_rightI__UB6r5",rightF:"Intro_rightF__TtFTw",floatLeftTop:"Intro_floatLeftTop__3Jxbl",rightN:"Intro_rightN__mp62l",rightK:"Intro_rightK___rb3y",shape1:"Intro_shape1__IaPka",shape3:"Intro_shape3__chooF",shadow:"Intro_shadow__D5vnV",image:"Intro_image__N9FMF",letter:"Intro_letter__Jogmw",shape:"Intro_shape__Gfg0v",leftDoubleStars:"Intro_leftDoubleStars__KvBgv",leftStar:"Intro_leftStar__1uh9z",rightDoubleStars:"Intro_rightDoubleStars__Yi8Du",rightStar:"Intro_rightStar__ZolSv"}},13621:function(e){e.exports={root:"DrawGiftItemTestPage_root__BXQZk",input:"DrawGiftItemTestPage_input__tm16i",giftWrapper:"DrawGiftItemTestPage_giftWrapper__QoRDG"}},93620:function(e){e.exports={cardHint:"PreviewCurrentGiftCardPage_cardHint__e1BuU",group:"PreviewCurrentGiftCardPage_group__gtzpP"}},15348:function(e){e.exports={root:"PreviewDrawGiftPage_root__E_WeI",giftsList:"PreviewDrawGiftPage_giftsList__oGiD7",gift:"PreviewDrawGiftPage_gift__VqVUz",giftTitle:"PreviewDrawGiftPage_giftTitle__rDKMU",sharedGift:"PreviewDrawGiftPage_sharedGift__f_4ZT"}},46531:function(e){e.exports={cardHint:"PreviewUpcomingGiftCardPage_cardHint__MdCJg",group:"PreviewUpcomingGiftCardPage_group__7QhsP"}},79190:function(){},24485:function(){},24654:function(){},14601:function(){},32767:function(){},28251:function(){},57677:function(){},87324:function(){}},function(e){e.O(0,[824,367,644,267,774,888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); //# sourceMappingURL=index-f385913b20341630.js.map