1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4660],{22868:function(){},26349:function(){},99830:function(){},70209:function(){},88401:function(e,t,n){"use strict";var a,l=n(94746);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none"},e),a||(a=l.createElement("path",{fill:"currentColor",d:"m13.554 6.354-5 5a.5.5 0 0 1-.708 0l-5-5a.5.5 0 1 1 .708-.707L8.2 10.293l4.646-4.646a.5.5 0 0 1 .708.707"})))}},73650:function(e,t,n){"use strict";var a,l=n(94746);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),a||(a=l.createElement("path",{fill:"currentColor",d:"M22.7 17.633 14.502 3.396a2.322 2.322 0 0 0-4.004 0L2.3 17.633a2.2 2.2 0 0 0 0 2.224A2.28 2.28 0 0 0 4.302 21h16.396a2.28 2.28 0 0 0 2-1.143 2.2 2.2 0 0 0 .002-2.224M11.75 9.75a.75.75 0 1 1 1.5 0v3.75a.75.75 0 1 1-1.5 0zM12.5 18a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25"})))}},18714:function(e,t,n){"use strict";var a,l,r,i,c,s,o,h,u,d,m,f,p,v=n(94746);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return v.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),a||(a=v.createElement("path",{fill:"#CBC5EF",d:"M18.545 21.273h2.182v-2.364c0-1.616-2.182-1.616-2.182 0zM29.454 21.273v-2.364c0-1.616-2.181-1.616-2.181 0v2.364z"})),l||(l=v.createElement("path",{fill:"#DBD8F1",d:"M29.455 17.455a5.455 5.455 0 0 0-10.91 0v1.454h2.182v-1.454a3.273 3.273 0 1 1 6.546 0v1.454h2.181z"})),r||(r=v.createElement("path",{fill:"#ECEAF5",d:"M29.366 20.364h-.38c-1.944 0-2.077.528-2.077 1.18v1.632h3.637v-1.633a1.18 1.18 0 0 0-1.18-1.18"})),i||(i=v.createElement("path",{fill:"#DBD8F1",d:"M28.986 20.364H27.36a1.18 1.18 0 0 0-1.18 1.18v1.632h1.625v-1.633c0-.651.528-1.18 1.18-1.18"})),c||(c=v.createElement("path",{fill:"#ECEAF5",d:"M20.638 20.364h-.38c-1.943 0-2.076.528-2.076 1.18v1.632h3.636v-1.633a1.18 1.18 0 0 0-1.18-1.18"})),s||(s=v.createElement("path",{fill:"#DBD8F1",d:"M20.259 20.364h-1.625a1.18 1.18 0 0 0-1.18 1.18v1.632h1.625v-1.633c0-.651.528-1.18 1.18-1.18"})),o||(o=v.createElement("path",{fill:"#727BEB",d:"M28 36h.032a4.33 4.33 0 0 0 4.332-4.331v-7.435a2.05 2.05 0 0 0-2.053-2.052h-7.82c-5.618 1.575-2.973 13.018 4.055 13.817l.755-.815z"})),h||(h=v.createElement("path",{fill:"#5A6CD9",d:"M22.492 22.182h-4.803a2.05 2.05 0 0 0-2.053 2.052v7.435a4.33 4.33 0 0 0 4.331 4.33H20l.683-.908.771.909h1.819L24 34.877 24.727 36h1.818c-4.275-2.78-6.114-9.087-4.053-13.818"})),u||(u=v.createElement("path",{fill:"#05DFFD",d:"M23.273 29.726V36h1.454v-6.274c0-1.472-1.454-1.472-1.454 0"})),d||(d=v.createElement("path",{fill:"#05C6FD",d:"M23.273 28.168v1.558c.475.123.979.123 1.454 0v-1.558c0-1.355-1.454-1.355-1.454 0"})),m||(m=v.createElement("path",{fill:"#67EDFD",d:"M30.182 27.636v.337c0 .909-.361 1.78-1.004 2.423l-.6.6c-.37.37-.578.872-.578 1.395V36h-1.455v-3.61c0-.908.362-1.78 1.004-2.422l.6-.6c.37-.37.578-.872.578-1.395v-.337a.728.728 0 0 1 1.455 0"})),f||(f=v.createElement("path",{fill:"#05C6FD",d:"M21.455 32.39V36H20v-3.61c0-.522-.207-1.024-.577-1.394l-.601-.6a3.43 3.43 0 0 1-1.004-2.423v-.337a.727.727 0 0 1 1.455 0v.337c0 .523.207 1.024.577 1.394l.601.601a3.43 3.43 0 0 1 1.004 2.423"})),p||(p=v.createElement("path",{fill:"#67EDFD",d:"M24 28.364a1.455 1.455 0 1 0 0-2.91 1.455 1.455 0 0 0 0 2.91"})))}},13589:function(e,t,n){"use strict";var a,l,r,i,c,s,o,h,u,d,m,f,p,v,g,x,w,b,y=n(94746);function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return y.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",width:"auto",height:"auto",fill:"none",viewBox:"0 0 248 86"},e),a||(a=y.createElement("path",{fill:"#FFAD16",d:"M62.587 26.506v8.18L40.864 42.87l-21.722-8.182v-8.181l21.723 8.18z"})),l||(l=y.createElement("path",{fill:"#FF7B00",d:"m81.23 16.098-40.366 14.96L.5 16.099 40.865 0z"})),r||(r=y.createElement("path",{fill:"#232122",d:"M62.587 42.85v7.853l-16.34-6.137V85.29H35.208V44.67l-16.066 6.033V42.85l21.723-8.165zM103.027 42.89v42.401H94.5l-1.88-2.602-16.452-22.758v25.36H65.76v-42.4h9.02l1.388 1.955 16.451 23.151V42.891zM116.273 42.89h-5.417v42.401h5.417z"})),i||(i=y.createElement("path",{fill:"#232122",d:"m125.334 52.734-3.726 3.005-9.356-11.355 2.725-1.493h2.369z"})),c||(c=y.createElement("path",{fill:"#FFAD16",d:"m138.717 69.225-3.544 2.978-12.347-14.984 3.718-2.994z"})),s||(s=y.createElement("path",{fill:"#232122",d:"M145.585 85.291h5.417v-42.4h-5.417z"})),o||(o=y.createElement("path",{fill:"#232122",d:"m136.525 52.734 3.726 3.005 9.355-11.355-2.723-1.493h-2.3
169z"})),h||(h=y.createElement("path",{fill:"#FFAD16",d:"m123.142 69.225 3.544 2.978 12.345-14.984-3.717-2.994z"})),u||(u=y.createElement("path",{fill:"#FF7B00",d:"M10.392 18.416H9.288v13.457h1.104z"})),d||(d=y.createElement("path",{fill:"#FF7B00",d:"M9.872 34.88a2.57 2.57 0 0 0 2.576-2.562 2.57 2.57 0 0 0-2.576-2.562 2.57 2.57 0 0 0-2.576 2.562 2.57 2.57 0 0 0 2.576 2.562"})),m||(m=y.createElement("path",{fill:"#FF7B00",d:"M13.808 42.869h-7.87l3.932-10.55zM174.283 53.338h-14.686v4.847h14.686z"})),f||(f=y.createElement("path",{fill:"#232122",d:"M176.184 53.684s7.573 1.757 7.573 8.923v21.952h-4.752V63.31s.02-1.677-.655-2.795c-.674-1.118-2.166-1.91-2.166-1.91z"})),p||(p=y.createElement("path",{fill:"#232122",d:"M179.004 66.43h-13.225s-6.744.276-8.911 5.976c-1.84 4.838.369 8.696 2.003 10.123 1.152 1.008 3.209 2.81 9.647 2.81 6.531 0 10.793-4.396 10.793-4.396v-4.92s-3.599 4.7-9.811 4.92c-5.047.18-6.374-.766-7.4-2.174-.816-1.122-1.431-4.407.204-6.282 1.383-1.586 2.512-1.91 5.447-1.952 2.934-.041 11.253-.041 11.253-.041l.798-3.334zM206.821 80.598v3.619c-1.442.69-2.933.96-4.005 1.065-.33.032-.618.047-.856.056-.424.012-.673 0-.673 0h-.737c-4.573 0-8.28-3.687-8.28-8.235V66.428h5.275V77.04a3.87 3.87 0 0 0 2.883 3.734c.11.026.83.274 2.388.31 2.311.052 4.005-.486 4.005-.486"})),v||(v=y.createElement("path",{fill:"#FFAD16",d:"M197.553 46.463h-5.283v18.263h5.283z"})),g||(g=y.createElement("path",{fill:"#FFAD16",d:"M185.535 53.825v4.396h18.978v-4.396z"})),x||(x=y.createElement("path",{fill:"#232122",d:"M216.185 41.14h-5.416v44.15h5.416z"})),w||(w=y.createElement("path",{fill:"#FF7B00",d:"M239.16 66.43h-5.417v18.863h5.417zM228.52 77.621a2.6 2.6 0 0 0 2.607-2.592 2.6 2.6 0 0 0-2.607-2.591 2.6 2.6 0 0 0-2.606 2.591 2.6 2.6 0 0 0 2.606 2.592M244.893 77.621a2.6 2.6 0 0 0 2.607-2.592 2.6 2.6 0 0 0-2.607-2.591 2.6 2.6 0 0 0-2.606 2.591 2.6 2.6 0 0 0 2.606 2.592"})),b||(b=y.createElement("path",{fill:"#232122",d:"M215.827 62.059s4.508-5.03 11.1-4.513 6.99 3.415 6.99 7.181h5.242s.828-7.18-4.508-9.955c-5.335-2.775-14.256-1.586-18.641 2.865z"})))}},74032:function(e,t,n){"use strict";var a,l,r=n(94746);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),a||(a=r.createElement("g",{clipPath:"url(#logout_svg__a)"},r.createElement("path",{fill:"#5972A4",d:"M28.394 32.027H14.228V12.005h14.166c1.48 0 2.68 1.2 2.68 2.68v14.663c0 1.48-1.2 2.68-2.68 2.68"}),r.createElement("path",{fill:"#72D98B",d:"M35.135 22.397a19 19 0 0 0-1.646-1.513c-.51-.418-1.041-.815-1.553-1.156-1.687 1.855-1.463 5.543.715 6.538.281-.208.563-.427.838-.653a19 19 0 0 0 1.646-1.512 1.234 1.234 0 0 0 0-1.704"}),r.createElement("path",{fill:"#00C67F",d:"M31.936 19.728q-.188-.127-.372-.241a.951.951 0 0 0-1.452.81v.46a.187.187 0 0 1-.187.186h-4.989c-.814 0-1.475.66-1.475 1.475v1.66c0 .815.66 1.475 1.475 1.475h4.99c.102 0 .186.084.186.187v.46a.951.951 0 0 0 1.452.81c.352-.22.72-.472 1.087-.744-.991-1.594-1.304-4.55-.715-6.538"}),r.createElement("path",{fill:"#EEB798",d:"m24.506 15.632-5.56-2.024c-4.718 3.308-4.769 16.596.385 20.906l3.648 1.327a2.59 2.59 0 0 0 3.475-2.433V18.414a2.96 2.96 0 0 0-1.948-2.782"}),r.createElement("path",{fill:"#EC9A83",d:"m18.947 13.609-4.133-1.505a1.707 1.707 0 0 0-2.29 1.604v17.133c0 .717.448 1.358 1.123 1.604l5.685 2.069c-2.242-4.807-2.676-16.297-.385-20.906"}),r.createElement("path",{fill:"#F7E969",d:"M23.662 27.596a1.14 1.14 0 1 0-1.612-1.613 1.14 1.14 0 0 0 1.612 1.613"}),r.createElement("path",{fill:"#fff",d:"M15.502 22.582c.783 0 1.418-.505 1.418-1.128 0-.624-.635-1.13-1.418-1.13s-1.418.506-1.418 1.13.635 1.128 1.418 1.128M23.186 22.582c.782 0 1.417-.505 1.417-1.128 0-.624-.635-1.13-1.417-1.13-.783 0-1.418.506-1.418 1.13s.635 1.128 1.418 1.128"}),r.createElement("path",{fill:"#425460",d:"M16.328 20.719a.35.35 0 0 1-.351-.352v-.58a.351.351 0 1 1 .703 0v.58a.35.35 0 0 1-.352.352M22.36 20.719a.35.35 0 0 1-.352-.352v-.58a.352.352 0 1 1 .703 0v.58a.35.35 0 0 1-.352.352M19.344 21.063c-.406 0-.793-.176-1.06-.482a.351.351 0 1 1 .53-.462.703.703 0 0 0 1.06 0 .352.352 0 0 1 .53.462 1.4 1.4 0 0 1-1.06.482"}))),l||(l=r.createElement("defs",null,r.createElement("clipPath",{id:"logout_svg__a"},r.createElement("path",{fill:"#fff",d:"M12 12h24v24H12z"})))))}},8679:function(e,t,n){"use strict";var a,l=n(94746);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),a||(a=l.createElement("path",{fill:"currentColor",d:"M20 24.552a4.72 4.72 0 0 0 3.393-1.456 5.06 5.06 0 0 0 1.407-3.51v-6.62c0-1.317-.506-2.58-1.406-3.512A4.72 4.72 0 0 0 20 8a4.72 4.72 0 0 0-3.394 1.454 5.05 5.05 0 0 0-1.406 3.512v6.62a5.06 5.06 0 0 0 1.407 3.51c.9.93 2.12 1.454 3.393 1.456m-3.2-11.586c0-.878.337-1.72.937-2.341s1.414-.97 2.263-.97 1.663.349 2.263.97c.6.62.937 1.463.937 2.34v6.621c0 .878-.337 1.72-.937 2.341-.6.62-1.414.97-2.263.97a3.15 3.15 0 0 1-2.263-.97 3.37 3.37 0 0 1-.937-2.34zm4 14.855v3.351c0 .22-.084.43-.234.586A.79.79 0 0 1 20 32a.79.79 0 0 1-.566-.242.84.84 0 0 1-.234-.586v-3.351a7.92 7.92 0 0 1-5.13-2.686A8.45 8.45 0 0 1 12 19.586c0-.22.084-.43.234-.585a.79.79 0 0 1 .566-.242c.212 0 .416.087.566.242s.234.366.234.585c0 1.756.674 3.44 1.875 4.682A6.3 6.3 0 0 0 20 26.207a6.3 6.3 0 0 0 4.526-1.94 6.74 6.74 0 0 0 1.874-4.68c0-.22.084-.43.234-.586a.79.79 0 0 1 .566-.242c.212 0 .416.087.566.242s.234.366.234.585a8.45 8.45 0 0 1-2.07 5.55 7.92 7.92 0 0 1-5.13 2.685"})))}},71207:function(e,t,n){"use strict";var a,l,r=n(94746);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),a||(a=r.createElement("g",{clipPath:"url(#profile-management_svg__a)"},r.createElement("path",{fill:"#E9E9FB",d:"M29.2 12H18.8c-.93 0-1.716.612-1.979 1.454l1.878 2.087a9.64 9.64 0 0 0 10.186 2.703l2.388-.79v-3.381A2.073 2.073 0 0 0 29.2 12"}),r.createElement("path",{fill:"#D9D9FB",d:"M24.446 17.455a1.46 1.46 0 0 1-1.386-1.014 4.33 4.33 0 0 0-4.114-2.986H16.82c-.06.195-.094.402-.094.618v.836a10.17 10.17 0 0 0 11.928 4.813l2.618-.813v-1.454z"}),r.createElement("path",{fill:"#FBB835",d:"M12 28.364v1.49a2.873 2.873 0 0 0 2.873 2.873h9.147a24 24 0 0 1-3.03-4.363c-2.913-1.509-6.386-1.143-8.99 0"}),r.createElement("path",{fill:"#FBD251",d:"M36 29.855v-1.491q-4.616-2.91-9.677 0a24 24 0 0 0 3.03 4.363h3.774A2.873 2.873 0 0 0 36 29.855"}),r.createElement("path",{fill:"#FBE47F",d:"M36 21.782a2.873 2.873 0 0 0-2.873-2.873H21.819v-1.127a2.873 2.873 0 0 0-2.872-2.873h-.39c-2.461 4.47-2.039 9.317 1.866 13.455l3.465-1.94 5.608 1.94H36z"}),r.createElement("path",{fill:"#FBD251",d:"M18.556 14.91h-3.683A2.873 2.873 0 0 0 12 17.781v10.582h8.422c-1.747-4.143-2.603-8.988-1.866-13.455"}),r.createElement("path",{fill:"#605875",d:"m29.752 30.312-.724-.418a5.1 5.1 0 0 0 0-1.607l.724-.418c.63-.363.846-1.169.482-1.799l-.501-.868a1.317 1.317 0 0 0-1.8-.482l-.724.419a5.1 5.1 0 0 0-1.39-.805V23.5c0-.728-.59-1.317-1.318-1.317h-.514c-.976.94-1.166 2.195-.541 3.684l2.623 2.384-.564 3.747c-.387.82.127 1.247 1.184 1.416q.271-.169.52-.37l.725.418c.63.364 1.435.148 1.799-.482l.501-.868a1.317 1.317 0 0 0-.482-1.799"}),r.createElement("path",{fill:"#544D66",d:"m25.505 31.997-4.122-2.232 2.063-3.9a9.9 9.9 0 0 1 .541-3.683H23.5c-.727 0-1.317.59-1.317 1.317v.835a5.1 5.1 0 0 0-1.39.805l-.725-.419a1.317 1.317 0 0 0-1.8.482l-.501.868a1.317 1.317 0 0 0 .482 1.8l.725.417a5.1 5.1 0 0 0 0 1.607l-.725.418a1.317 1.317 0 0 0-.482 1.8l.004.006.003.006q0-.002-.002-.003l.003.003v.001l.493.854c.364.63 1.17.846 1.8.482l.724-.418c.415.337.883.61 1.391.804v.835c0 .728.59 1.318 1.317 1.318h1.002c.728 0 1.317-.59 1.317-1.318v-.835q.46-.176.87-.434c-.425-.426-.822-.9-1.183-1.416"}),r.createElement("path",{fill:"#FBD251",d:"M24 31.125a2.203 2.203
10 1 0 0-4.406 2.203 2.203 0 0 0 0 4.406"}),r.createElement("path",{fill:"#544D66",d:"M27.273 29.09a3.273 3.273 0 0 0-3.827-3.224c-.412.606-.37 1.213.217 1.81a1.454 1.454 0 0 1 .924 2.746c-.233.645-.061 1.194.918 1.575a3.27 3.27 0 0 0 1.768-2.906"}),r.createElement("path",{fill:"#4A4359",d:"M24 30.545a1.454 1.454 0 0 1-.337-2.87 11 11 0 0 1-.217-1.81 3.273 3.273 0 1 0 2.06 6.132q-.514-.734-.919-1.575a1.45 1.45 0 0 1-.587.123"}))),l||(l=r.createElement("defs",null,r.createElement("clipPath",{id:"profile-management_svg__a"},r.createElement("path",{fill:"#fff",d:"M12 12h24v24H12z"})))))}},90060:function(e,t,n){"use strict";var a,l,r=n(94746);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),a||(a=r.createElement("g",{clipPath:"url(#profile_svg__a)"},r.createElement("path",{fill:"#E8E7F9",d:"M35.049 18.34v12.833a2.28 2.28 0 0 1-2.278 2.278H20.196a2.28 2.28 0 0 1-2.277-2.278V14.278A2.28 2.28 0 0 1 20.196 12h8.512l1.958 4.587z"}),r.createElement("path",{fill:"#CDCDF9",d:"m35.049 18.34-4.383-1.753L28.708 12h-1.449v4.855a2.937 2.937 0 0 0 2.934 2.935h4.856z"}),r.createElement("path",{fill:"#E8E7F9",d:"M35.049 18.34h-4.856c-.82 0-1.485-.664-1.485-1.485V12z"}),r.createElement("path",{fill:"#5877C9",d:"M32.1 30.634h-3.834a.362.362 0 1 1 0-.725H32.1a.362.362 0 1 1 0 .725M32.1 26.08h-5.802a.362.362 0 1 1 0-.724H32.1a.362.362 0 1 1 0 .725"}),r.createElement("path",{fill:"#4F4F4F",d:"M13.25 25.522c0-3.65 2.97-6.62 6.62-6.62s6.62 2.97 6.62 6.62z"}),r.createElement("path",{fill:"#F7C2B5",d:"M25.26 27.248a1.53 1.53 0 1 0 0-3.06 1.53 1.53 0 0 0 0 3.06"}),r.createElement("path",{fill:"#C2A3EB",d:"m17.19 29.912 2.68 3.634L17.19 36h-3.405c0-5.052 3.405-6.088 3.405-6.088M25.956 36H22.55l-2.68-2.454 2.68-3.634s3.405 1.036 3.405 6.088"}),r.createElement("path",{fill:"#AB84DD",d:"M23.904 30.73c-.72-.625-1.353-.818-1.353-.818l-1.553 2.105a6.54 6.54 0 0 0 2.906-1.288M17.19 29.912s-.635.194-1.356.819a6.56 6.56 0 0 0 2.908 1.286z"}),r.createElement("path",{fill:"#E8E7F9",d:"M17.19 29.912h5.361V36H17.19z"}),r.createElement("path",{fill:"#CDCDF9",d:"M17.19 31.544a6.55 6.55 0 0 0 2.773.57 6.55 6.55 0 0 0 2.588-.57v-1.632H17.19z"}),r.createElement("path",{fill:"#F7D4C6",d:"M25.014 25.623c-.054 2.76-2.311 5.004-5.071 5.042a5.144 5.144 0 0 1-4.566-7.65c.567-1.015 1.759-1.526 2.868-1.18.37.116.67.286.907.464.427.32 1.01.32 1.436 0 .207-.155.461-.304.768-.416 1.155-.422 2.43.083 3.023 1.16.42.763.652 1.644.634 2.58"}),r.createElement("path",{fill:"#F7C2B5",d:"M19.764 30.664a7.28 7.28 0 0 1-2.958-5.866c0-1.096.242-2.136.675-3.069a2.5 2.5 0 0 0-2.104 1.286 5 5 0 0 0-.49 1.229 1.53 1.53 0 1 0 .106 2.916 5.15 5.15 0 0 0 4.771 3.504"}),r.createElement("path",{fill:"#423E4F",d:"M17.036 25.79a.36.36 0 0 1-.362-.361v-.545a.362.362 0 0 1 .724 0v.545c0 .2-.162.362-.362.362M22.704 25.79a.36.36 0 0 1-.362-.361v-.545a.362.362 0 1 1 .725 0v.545c0 .2-.163.362-.363.362M19.87 26.115c-.39 0-.763-.17-1.02-.465a.362.362 0 0 1 .546-.476.63.63 0 0 0 .948 0 .362.362 0 1 1 .546.476c-.257.296-.629.465-1.02.465"}),r.createElement("path",{fill:"#5877C9",d:"M26.278 16.925h-6.716a.362.362 0 1 1 0-.725h6.716a.362.362 0 1 1 0 .724M32.278 21.724h-6.716a.362.362 0 1 1 0-.724h6.716a.362.362 0 1 1 0 .724"}))),l||(l=r.createElement("defs",null,r.createElement("clipPath",{id:"profile_svg__a"},r.createElement("path",{fill:"#fff",d:"M12 12h24v24H12z"})))))}},38408:function(e,t,n){"use strict";var a,l=n(94746);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=function(e){return l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),a||(a=l.createElement("path",{fill:"currentColor",d:"m21.796 20.203-4.452-4.454a8.636 8.636 0 1 0-1.594
11.594l4.456 4.457a1.126 1.126 0 1 0 1.594-1.594zM4.125 10.5a6.375 6.375 0 1 1 6.375 6.375A6.38 6.38 0 0 1 4.125 10.5"})))}},76367:function(e,t,n){"use strict";n.d(t,{C:function(){return f}});var a,l,r=n(57437),i=n(46175);n(2265);var c=n(94746);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var o=function(e){return c.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none"},e),a||(a=c.createElement("path",{fill:"currentColor",d:"M10.5 1.875A8.125 8.125 0 1 0 18.625 10 8.133 8.133 0 0 0 10.5 1.875M9.875 6.25a.625.625 0 1 1 1.25 0v4.375a.624.624 0 1 1-1.25 0zm.625 8.125a.938.938 0 1 1 0-1.875.938.938 0 0 1 0 1.875"})))};function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var u=function(e){return c.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),l||(l=c.createElement("path",{fill:"currentColor",d:"M12.5 2.25A9.75 9.75 0 1 0 22.25 12a9.76 9.76 0 0 0-9.75-9.75m4.28 8.03-5.25 5.25a.747.747 0 0 1-1.06 0l-2.25-2.25a.75.75 0 1 1 1.06-1.06L11 13.94l4.72-4.72a.751.751 0 0 1 1.06 1.06"})))},d=n(73650),m=n(65011);let f=(e,t)=>{i.default.custom(n=>{let{bgColor:a,Icon:l}={default:{bgColor:"bg-[#EBF0FF] border-[#386AFF]",Icon:(0,r.jsx)(o,{className:"text-[#386AFF]"})},success:{bgColor:"bg-[#DCF5E8] border-[#008F47]",Icon:(0,r.jsx)(u,{className:"text-[#008F47]"})},error:{bgColor:"bg-[#FFE5E5] border-[#E54040]",Icon:(0,r.jsx)(d.Z,{className:"text-[#E54040]"})},warning:{bgColor:"bg-[#FAF2D7] border-[#D1A200]",Icon:(0,r.jsx)(o,{className:"text-[#D1A200]"})}}[null!=t?t:"default"];return(0,r.jsxs)("div",{className:"flex items-center justify-between max-w-xs w-full py-[13px] px-3 rounded-lg border-[0.5px] shadow-lg ".concat(a),children:[(0,r.jsxs)("div",{className:"flex items-start gap-[6px]",children:[(0,r.jsx)("div",{className:"min-w-6",children:l}),(0,r.jsx)("span",{className:"text-gray-80",children:e})]}),(0,r.jsx)("button",{onClick:()=>i.default.dismiss(n.id),children:(0,r.jsx)(m.Z,{className:"w-5 h-5 text-[#1B1B1F]"})})]})})}},60763:function(e,t,n){"use strict";var a=n(57437);n(2265);var l=n(27648),r=n(80442),i=n(64204);t.Z=e=>{let{children:t,url:n,className:c,as:s="p",...o}=e;return n?(0,a.jsx)(l.default,{href:n,className:(0,r.cn)("text-[#4D4D4D] text-base",c),...o,prefetch:(0,i.b)(n),children:t}):(0,a.jsx)(s,{className:(0,r.cn)("text-[#4D4D4D] text-base",c),children:t})}},44036:function(e,t,n){"use strict";var a=n(57437);n(2265);var l=n(80442);t.Z=e=>{let{content:t,children:n,className:r,wrapperClassName:i,position:c="top",arrow:s}=e;return(0,a.jsxs)("div",{className:"relative group/tooltip inline-block",children:[n,(0,a.jsxs)("div",{className:(0,l.cn)("absolute opacity-0 transition-opacity z-1 hidden hover:block group-hover/tooltip:block group-hover/tooltip:opacity-100","top"===c&&"left-1/2 -translate-x-1/2 bottom-full","bottom"===c&&"left-1/2 -translate-x-1/2 top-full","right"===c&&"top-1/2 -translate-y-1/2 left-full","left"===c&&"top-1/2 -translate-y-1/2 right-full","topLeft"===c&&"left-0 bottom-full","topRight"===c&&"right-0 bottom-full","bottomLeft"===c&&"left-0 top-full","bottomRight"===c&&"right-0 top-full","leftTop"===c&&"top-0 right-full","leftBottom"===c&&"bottom-0 right-full","rightTop"===c&&"top-0 left-full","rightBottom"===c&&"bottom-0 left-full","center"===c&&"top-1/2 left-1/2",i),children:[(0,a.jsx)("div",{className:(0,l.cn)("w-max rounded bg-white px-3 py-1 text-sm text-gray-70 shadow-[0px_8px_10px_0px_#B4C7EA40] m-1",r),children:t}),s&&"center"!==c?(0,a.jsx)("div",{className:(0,l.cn)("absolute","top"===c&&"bottom-0 left-1/2 -translate-x-1/2","topLeft"===c&&"bottom-0 left-1 -translate-x-1/2","topRight"===c&&"bottom-0 right-1 -translate-x-1/2","bottom"===c&&"top-0 left-1/2 -translate-x-1/2","bottomLeft"===c&&"top-0 left-1 -translate-x-1/2","bottomRight"===c&&"top-0 right-1 -translate-x-1/2","left"===c&&"right-0 top-1/2 -translate-y-1/2","leftTop"===c&&"right-0 top-1 -translate-y-1/2","leftBottom"===c&&"right-0 bottom-1 -translate-y-1/2","right"===c&&"left-0 top-1/2 -translate-y-1/2","rightTop"===c&&"left-0 top-1 -translate-y-1/2","rightBottom"===c&&"left-0 bottom-1 -translate-y-1/2"),children:(0,a.jsx)("div",{className:(0,l.cn)("w-0 h-0",("top"===c||"topLeft"===c||"topRight"===c)&&"border-t-4 border-b-white border-x-4 border-x-trans
1parent",("bottom"===c||"bottomLeft"===c||"bottomRight"===c)&&"border-b-4 border-t-white border-x-4 border-x-transparent",("left"===c||"leftTop"===c||"leftBottom"===c)&&"border-l-4 border-l-white border-y-4 border-y-transparent",("right"===c||"rightTop"===c||"rightBottom"===c)&&"border-r-4 border-r-white border-y-4 border-y-transparent")})}):null]})]})}},56342:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var a=n(90498),l=n.n(a);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l()(null!=e?e:"",{allowedTags:[],allowedAttributes:{},...t})}},79692:function(e,t,n){"use strict";var a=n(57437),l=n(33230),r=n(2265),i=n(38188),c=n(94766);let s=r.memo(e=>{let{width:t=132,height:n=132}=e,s=(0,l.CG)(e=>e.user.userInfo),o=(0,r.useMemo)(()=>{try{let e=sessionStorage.getItem("userData");return e?JSON.parse(e):null}catch(e){return null}},[]),h=s||o,{avatarSrc:u,frameSrc:d,effectSrc:m,hasCustomAvatar:f}=(0,r.useMemo)(()=>{let e=null==h?void 0:h.profile,t=!!((null==e?void 0:e.avatar)&&(e.avatar.startsWith("public")||e.avatar.startsWith("http")));return{avatarSrc:t?null==e?void 0:e.avatar:i.Z.src,frameSrc:null==e?void 0:e.frame,effectSrc:null==e?void 0:e.effect,hasCustomAvatar:t}},[null==h?void 0:h.profile]),p=!!d;return(0,a.jsx)("div",{className:"flex z-0 relative",style:{width:t,height:n},children:(0,a.jsxs)("div",{className:"relative z-0 aspect-square h-full w-full object-cover",children:[(0,a.jsx)("div",{className:"h-full w-full absolute top-0 left-0 flex items-center justify-center",children:(0,a.jsx)("div",{className:"relative rounded-full overflow-hidden ".concat(p?"":"w-full h-full"),style:{width:p?.7*t:void 0,height:p?.7*n:void 0},children:(0,a.jsx)(c.Z,{isNewFlow:!0,classNameImg:"object-cover",src:u,isLocal:!f,alt:"Avatar",priority:!0})})}),p&&(0,a.jsx)("div",{className:"h-full w-full absolute top-0 left-0 flex items-center justify-center pointer-events-none",children:(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)(c.Z,{isNewFlow:!0,classNameImg:"object-contain",src:d,alt:"Frame",priority:!0})})}),m&&(0,a.jsx)("div",{className:"h-full w-full absolute top-0 left-0 flex items-center justify-center pointer-events-none",children:(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)(c.Z,{isNewFlow:!0,classNameImg:"object-contain",src:m,alt:"Effect",priority:!0})})})]})})});s.displayName="AvatarUser",t.Z=s},65917:function(e,t,n){"use strict";var a=n(57437),l=n(41880),r=n(2265),i=n(43949),c=n(65011),s=n(77562),o=n(80442),h=n(63804);t.Z=e=>{var t,n;let{title:u,onClose:d,open:m,showButton:f,className:p="w-[1214px]",policy:v}=e,{t:g}=(0,i.$G)(),x=(0,o.G3)(),[w,b]=(0,r.useState)(!1),y=(0,r.useRef)({x:0,y:0});return(0,a.jsx)(l.Z,{open:m,onClose:d,className:(0,o.cn)(p,"p-0 lg:h-auto h-[70vh] overflow-y-auto"),hideClose:!0,children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"cursor-move flex justify-between items-center text-gray-50 p-4 border-b border-gray-5 sticky top-0 bg-white ",onPointerDown:e=>{b(!0),y.current={x:e.clientX,y:e.clientY},e.target.setPointerCapture(e.pointerId)},onPointerMove:e=>{w&&(y.current={x:e.clientX,y:e.clientY})},onPointerUp:e=>{b(!1),e.target.releasePointerCapture(e.pointerId)},children:[(0,a.jsx)("p",{className:"text-gray-70 font-paytone text-xl",children:null!=u?u:g("payment.term")}),(0,a.jsx)("button",{onClick:d,children:(0,a.jsx)(c.Z,{className:"text-gray-70 text-[24px]"})})]}),(0,a.jsx)("div",{className:"p-4 popup-policy",children:v&&(0,s.ZP)("vi"===x?null==v?void 0:null===(t=v.valueTranslation)||void 0===t?void 0:t.contentVi:null==v?void 0:null===(n=v.valueTranslation)||void 0===n?void 0:n.contentEn)}),f&&(0,a.jsx)("div",{className:"p-4",children:(0,a.jsx)(h.Z,{variant:"primary",className:"w-full whitespace-nowrap px-0 text-center",onClick:d,children:g("payment.Agree")})})]})})}},13135:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var a,l=n(57437),r=n(41880);n(2265);var i=n(94746);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var s=function(e){return i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),a||(a=i.createElement("path",{fill:"#FF3B3B",d:"M20 2.5a17.5 17.5 0 1 1 0 35 17.5 17.5 0 0 1 0-35m0 7.5a2.28 2.28 0 0 0-2.275 2.49l.912 10.015a1.37 1.37 0 0 0 2.726 0l.91-10.015A2.283 2.283 0 0 0 20 10m0 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4"})))},o=n(63804),h=n(43949),u=e=>{let{isOpen:t,setIsOpen:n}=e,{t:a}=(0,h.$G)(),i=a("search.anErrorHasOccurred"),c=a("search.noAudioDeviceFound");return(0,l.jsx)(r.Z,{open:t,onClose:()=>n(!1),title:"",className:"p-0",hideClose:!0,children:(0,l.jsx)("div",{className:"p-4 w-[336px] rounded-lg",children:(0,l.jsxs)("div",{className:"text-[#4D4D4D] text-center ",children:[(0,l.jsx)("div",{className:"flex justify-center mb-4",children:(0,l.jsx)(s,{})}),(0,l.jsx)("h1",{className:"text-xl font-normal font-paytone mb-4",children:i}),(0,l.jsx)("p",{className:"text-base font-semibold mb-8",children:c}),(0,l.jsx)(o.Z,{onClick:()=>n(!1),variant:"primary",className:"flex-1 w-full",children:a("search.close")})]})})})}},1846:function(e,t,n){"use strict";n.d(t,{default:function(){return ez}}
1);var a,l,r,i,c,s,o,h,u,d,m,f,p,v,g,x,w,b,y,E,j,M,N,C,A,k,F,S,D,O=n(57437),z=n(27648),T=n(2265),H=n(13589),I=n(94746);function P(){return(P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var Z=function(e){return I.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=I.createElement("path",{fill:"currentColor",d:"M12 3C8.134 3 5 6.022 5 9.75c0 1.468.499 2.815 1.329 3.918.014.026.017.056.034.081l4.666 6.75c.217.313.581.501.971.501s.754-.188.97-.5l4.667-6.75c.017-.026.02-.056.035-.082A6.5 6.5 0 0 0 19 9.75C19 6.022 15.866 3 12 3m0 9c-1.289 0-2.333-1.007-2.333-2.25S10.71 7.5 12 7.5s2.333 1.007 2.333 2.25S13.29 12 12 12"})))};function L(){return(L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var R=function(e){return I.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),l||(l=I.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m17.8 9.8-4 3.2q-.75.6-1.8.6-.9 0-1.8-.6l-4-3.3c-.3-.3-.4-.7-.1-1.1s.7-.4 1.1-.1l4 3.2c.5.4 1.2.4 1.6 0l4-3.2c.3-.3.8-.2 1.1.1.3.4.2.9-.1 1.2m-1.4-6.4H7.6c-2.9 0-5.1 2.4-5.1 5.5v6.2c0 1.6.6 3.1 1.6 4.1.9.9 2.1 1.4 3.5 1.4h8.8c1.3 0 2.5-.5 3.5-1.4 1-1 1.6-2.5 1.6-4.1V8.9c0-3.1-2.2-5.5-5.1-5.5",clipRule:"evenodd"})))};function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var B=function(e){return I.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=I.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.308 16.895c-.012-.896-.684-1.535-1.615-2.42a35 35 0 0 1-.737-.714c-1.2-1.2-2.194-.812-3.072-.467-1.002.39-1.948.764-3.674-.963h-.001c-1.726-1.724-1.356-2.67-.964-3.673.343-.878.733-1.873-.466-3.075-.263-.263-.5-.513-.72-.743-.882-.928-1.52-1.6-2.414-1.61-.73-.012-1.588.482-2.802 1.697-.012.013-.075.075-.086.09-.268.262-.981.962-.988 2.323-.01 2.13 1.708 4.93 5.107 8.33 3.386 3.386 6.18 5.103 8.306 5.102h.029c1.361-.01 2.057-.725 2.32-.995l.085-.083c1.21-1.212 1.7-2.022 1.692-2.799",clipRule:"evenodd"})))};function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var q=function(e){return I.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none"},e),i||(i=I.createElement("path",{fill:"red",d:"M29.702 9.123a3.58 3.58 0 0 0-2.528-2.526C24.944 6 16 6 16 6s-8.944 0-11.173.597a3.58 3.58 0 0 0-2.529 2.526C1.7 11.35 1.7 16 1.7 16s0 4.65.598 6.877a3.58 3.58 0 0 0 2.529 2.526C7.057 26 16 26 16 26s8.944 0 11.174-.597a3.58 3.58 0 0 0 2.528-2.526C30.3 20.65 30.3 16 30.3 16s-.002-4.65-.598-6.877"})),c||(c=I.createElement("path",{fill:"#fff",d:"M13.138 20.285 20.568 16l-7.43-4.285z"})))};function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var K=function(e){return I.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none"},e),s||(s=I.createElement("path",{fill:"#0866FF",d:"M30 16c0-7.732-6.268-14-14-14S2 8.268 2 16c0 6.566 4.52 12.075 10.618 13.588v-9.31H9.73V16h2.887v-1.844c0-4.765 2.156-6.973 6.835-6.973.887 0 2.417.174 3.043.348v3.878c-.33-.035-.904-.052-1.617-.052-2.296 0-3.183.87-3.183 3.13V16h4.573l-.786 4.278h-3.787v9.62C24.628 29.06 30 23.157 30 16"})),o||(o=I.createElement("path",{fill:"#fff",d:"M21.483 20.278 22.27 16h-4.573v-1.513c0-2.26.887-3.13 3.183-3.13.713 0 1.287.017 1.617.052V7.53c-.626-.174-2.156-.348-3.043-.348-4.679 0-6.835 2.208-6.835 6.974V16H9.73v4.278h2.887v9.31a14 14 0 0 0 5.078.31v-9.62z"})))};function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var W=function(e){return I.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none"},e),h||(h=I.createElement("path",{fill:"#0068FF",fillRule:"evenodd",d:"M14.8 3.087h2.304c3.165 0 5.014.465 6.656 1.345a9.1 9.1 0 0 1 3.808 3.808c.88 1.642 1.345 3.491 1.345 6.656v2.295c0 3.165-.465 5.014-1.345 6.656a9.1 9.1 0 0 1-3.808 3.808C22.118 28.535 20.27 29 17.104 29h-2.295c-3.165 0-5.014-.465-6.656-1.345a9.1 9.1 0 0 1-3.808-3.808C3.465 22.205 3 20.356 3 17.191v-2.295c0-3.165.465-5.014 1.345-6.656a9.1 9.1 0 0 1 3.808-3.808c1.632-.88 3.491-1.345 6.646-1.345",clipRule:"evenodd"})),u||(u=I.createElement("path",{fill:"#001A33",fillRule:"evenodd",d:"M28.913 16.812v.379c0 3.165-.465 5.014-1.345 6.656a9.1 9.1 0 0 1-3.808 3.808c-1.642.88-3.492 1.345-6.657 1.345H14.81c-2.59 0-4.299-.311-5.734-.907l-2.366-2.436z",clipRule:"evenodd",opacity:.12})),d||(d=I.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M6.972 25.742c1.212.134 2.727-.212 3.803-.734 4.672 2.582 11.975 2.459 16.395-.37a10 10 0 0 0 .48-.802c.884-1.648 1.35-3.504 1.35-6.68v-2.304c0-3.176-.466-5.032-1.35-6.68a9.15 9.15 0 0 0-3.822-3.822C22.182 3.467 20.324 3 17.149 3h-2.313c-2.705 0-4.462.34-5.937.99q-.12.109-.238.221c-4.329 4.173-4.658 13.22-.987 18.134l.014.022c.566.834.02 2.293-.834 3.146-.139.13-.09.209.12.229",clipRule:"evenodd"})),m||(m=I.createElement("path",{fill:"#0068FF",d:"M13.642 11.87H8.568v1.087h3.521L8.618 17.26c-.11.158-.188.306-.188.643v.277h4.787a.44.44 0 0 0 .435-.436v-.583h-3.7l3.265-4.095.178-.217.02-.03c.188-.277.227-.514.227-.801zM20.1 18.18h.722v-6.31h-1.088v5.944c0 .197.158.366.366.366M16.381 13.274a2.473 2.473 0 1 0 2.473 2.473 2.46 2.46 0 0 0-2.472-2.473m0 3.927a1.456 1.456 0 0 1-1.453-1.454c0-.801.652-1.454 1.453-1.454.802 0 1.454.653 1.454 1.454a1.45 1.45 0 0 1-1.454 1.454M24.037 13.234a2.495 2.495 0 0 0-2.493 2.493 2.495 2.495 0 0 0 2.493 2.492 2.495 2.495 0 0 0 2.492-2.492 2.495 2.495 0 0 0-2.492-2.493m0 3.966a1.46 1.46 0 0 1-1.464-1.463 1.46 1.46 0 0 1 1.464-1.464 1.46 1.46 0 0 1 1.463 1.464 1.46 1.46 0 0 1-1.463 1.463"})),f||(f=I.createElement("path",{fill:"#0068FF",d:"M18.282 18.18h.583v-4.768h-1.018v4.342c0 .228.197.425.435.425"})))};function Y(){return(Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var $=function(e){return I.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none"},e),p||(p=I.createElement("path",{fill:"#FF165D",d:"M13.785 13.644v-.953a6.5 6.5 0 0 0-.927-.071C9.077 12.614 6 15.943 6 20.04c0 2.51 1.158 4.733 2.93 6.079-1.142-1.324-1.842-3.105-1.842-5.055 0-4.037 2.99-7.328 6.697-
17.42"})),v||(v=I.createElement("path",{fill:"#FF165D",d:"M13.95 24.45c1.687 0 3.067-1.454 3.127-3.263l.005-16.163h2.73A6 6 0 0 1 19.726 4H16l-.005 16.163c-.06 1.809-1.44 3.263-3.128 3.263a2.9 2.9 0 0 1-1.455-.392c.564.855 1.49 1.417 2.538 1.417M24.913 10.511v-.899a4.86 4.86 0 0 1-2.825-.91c.726.9 1.707 1.553 2.825 1.81"})),g||(g=I.createElement("path",{fill:"#3EC1D3",d:"M22.09 8.7a5.84 5.84 0 0 1-1.274-3.677h-.997c.257 1.536 1.103 2.855 2.27 3.677M12.863 16.644c-1.728 0-3.133 1.52-3.133 3.389 0 1.302.685 2.435 1.682 3.002a3.54 3.54 0 0 1-.594-1.978c0-1.869 1.405-3.388 3.132-3.388.323 0 .635.06.927.157v-4.118a6.5 6.5 0 0 0-.927-.07c-.055 0-.105.005-.16.005v3.16a3 3 0 0 0-.927-.159"})),x||(x=I.createElement("path",{fill:"#3EC1D3",d:"M24.912 10.509v3.132c-1.933 0-3.726-.67-5.186-1.803v8.199c0 4.09-3.077 7.425-6.864 7.425a6.5 6.5 0 0 1-3.933-1.346c1.254 1.455 3.042 2.37 5.02 2.37 3.783 0 6.864-3.328 6.864-7.425v-8.199c1.46 1.133 3.253 1.803 5.187 1.803v-4.03q-.566-.002-1.088-.126"})),w||(w=I.createElement("path",{fill:"#000",d:"M19.727 20.037v-8.2c1.46 1.134 3.253 1.804 5.187 1.804V10.51c-1.118-.256-2.1-.91-2.825-1.809-1.168-.822-2.01-2.14-2.276-3.677h-2.73l-.004 16.163c-.06 1.809-1.44 3.263-3.128 3.263-1.047 0-1.969-.56-2.543-1.41-.997-.573-1.681-1.7-1.681-3.002 0-1.869 1.405-3.389 3.132-3.389.322 0 .634.06.926.158v-3.16c-3.706.088-6.697 3.378-6.697 7.415 0 1.95.7 3.726 1.843 5.055a6.5 6.5 0 0 0 3.933 1.346c3.781 0 6.863-3.334 6.863-7.425"})))},J=n(80442),X=n(88145),Q=n(33230),ee=n(93837),et=n(65917),en=n(61453),ea=n(43949),el=n(60763);function er(){return(er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var ei=function(e){return I.createElement("svg",er({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),b||(b=I.createElement("g",{clipPath:"url(#learnMath_svg__a)"},I.createElement("path",{fill:"#C7C5CB",d:"M9.528 16.916h4.945v5.72H9.528z"}),I.createElement("path",{fill:"#80DFB5",d:"M24 2.842v10.201L12 15.73 0 13.043V2.842A2.826 2.826 0 0 1 2.826.016h18.348A2.826 2.826 0 0 1 24 2.842"}),I.createElement("path",{fill:"#B2B0BC",d:"M9.528 16.916h4.945v2.948H9.528z"}),I.createElement("path",{fill:"#36D39A",d:"M1.845 6.253c0-2.22.468-4.33 1.31-6.237h-.329A2.826 2.826 0 0 0 0 2.842v10.201l3.56.797c-1.127-2.242-1.715-4.83-1.715-7.587"}),I.createElement("path",{fill:"#C7C5CB",d:"M24 13.043v2.545a2.826 2.826 0 0 1-2.826 2.826H2.826A2.826 2.826 0 0 1 0 15.588v-2.545z"}),I.createElement("path",{fill:"#77718C",d:"M12 16.916a1.187 1.187 0 1 0 0-2.373 1.187 1.187 0 0 0 0 2.373"}),I.createElement("path",{fill:"#fff",d:"M6.716 6.25c1.077 0 1.95-.695 1.95-1.553 0-.857-.873-1.552-1.95-1.552s-1.95.695-1.95 1.552.873 1.553 1.95 1.553M17.284 6.25c1.076 0 1.95-.695 1.95-1.553 0-.857-.874-1.552-1.95-1.552s-1.95.695-1.95 1.552.873 1.553 1.95 1.553M17.281 7.918h-2.517a.362.362 0 0 0 0 .724h2.517a.362.362 0 0 0 0-.724M17.281 9.299h-2.517a.362.362 0 0 0 0 .724h2.517a.362.362 0 0 0 0-.724M9.087 8.594h-.882v-.882a.362.362 0 0 0-.724 0v.882h-.912a.362.362 0 0 0 0 .724h.912v.912a.362.362 0 0 0 .724 0v-.912h.882a.362.362 0 0 0 0-.724M21.316 9.388h-.123c.006-.931.01-1.952-.002-2.089-.023-.276-.187-.5-.418-.572-.228-.071-.473.02-.654.242-.219.268-1.298 2.218-1.512 2.606a.362.362 0 0 0 .317.537h1.54l-.006.759c-.002.2.159.364.36.365h.002c.199 0 .36-.16.362-.359l.006-.765h.128a.362.362 0 0 0 0-.724m-.847 0h-.93c.36-.645.715-1.268.935-1.636.001.385-.001 1-.005 1.636M4.772 10.54c-.44.006-.91.01-1.271.01.215-.286.533-.717.987-1.365.238-.34.394-.661.461-.953.024-.09.028-.214.028-.23 0-.736-.6-1.336-1.336-1.336-.638 0-1.19.453-1.312 1.078a.362.362 0 1 0 .71.14.61.61 0 0 1 .602-.494c.33 0 .627.264.612.592a1 1 0 0 1-.013.103c-.04.2-.165.427-.345.684a43 43 0 0 1-1.159 1.59c-.237.31-.326.426-.262.631a.38.38 0 0 0 .247.25c.049.017.103.035.832.035.289 0 .684-.003 1.228-.01a.362.362 0 0 0-.009-.724M12.967 10.54c-.44.006-.91.01-1.272.01.215-.286.534-.717.988-1.365.238-.34.393-.661.46-.953.024-.093.029-.214.029-.23 0-.736-.6-1.336-1.337-1.336-.637 0-1.189.453-1.312 1.078a.362.362 0 1 0 .711.14.61.61 0 0 1 .601-.494c.331 0 .624.264.612.592a1 1 0 0 1-.013.103c-.037.2-.165.427-.345.684a43 43 0 0 1-1.158 1.59c-.237.31-.326.426-.263.631a.38.38 0 0 0 .248.25c.049.017.102.035.831.035.29 0 .685-.003 1.229-.01a.362.362 0 0 0-.01-.724"}),I.createElement("path",{fill:"#423E4F",d:"M7.042 3.188c.2 0 .362-.163.362-.363V2.07a.362.362 0 0 0-.724 0v.756c0 .2.162.363.362.363M16.958 3.188c.2 0 .362-.163.362-.363V2.07a.362.362 0 1 0-.724 0v.756c0 .2.162.363.362.363M12 4.664c.572 0 1.035-.519 1.035-1.158 0-.64-.463-1.158-1.035-1.158s-1.035.518-1.035 1.158.463 1.158 1.035 1.158"}),I.createElement("path",{fill:"#B2B0BC",d:"M15.246 21.29H8.755c-.791 0-1.433.64-1.433 1.431v.323c0 .52.421.94.941.94h7.474a.94.94 0 0 0 .94-.94v-.323c0-.79-.64-1.432-1.431-1.432M3.188 13.043H0v2.545a2.826 2.826 0 0 0 2.826 2.826h4.387c-1.765-1.433-3.118-3.268-4.025-5.371"}))),y||(y=I.createElement("defs",null,I.createElement("clipPath",{id:"learnMath_svg__a"},I.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))};function ec(){return(ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var es=function(e){return I.createElement("svg",ec({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),E||(E=I.createElement("g",{clipPath:"url(#practiceMath_svg__a)"},I.createElement("path",{fill:"#EBE9FF",d:"m21.77 11.547-8.853 12.437c-3.537.06-5.984-.115-8.387-.292-1.42-.104-2.553-1.169-2.682-2.52a96.6 96.6 0 0 1 0-18.348C1.978 1.467 3.116.406 4.53.304l1.216-.09a80 80 0 0 1 11.69 0l1.216.09c1.42.103 2.553 1.168 2.682 2.52q.416 4.355.435 8.723"}),I.createElement("path",{fill:"#D0D0FF",d:"M21.334 21.172c-.13 1.357-1.268 2.417-2.681 2.52-1.785.131-3.31.253-5.736.292a7.63 7.63 0 0 1-3.143-6.17c0-6.226 7.03-9.733 11.995-6.267a96 96 0 0 1-.435 9.625"}),I.createElement("path",{fill:"#73DA8C",d:"m11.416 13.09.082.39-.59.334H9.41a.362.362 0 0 1 0-.724z"}),I.createElement("path",{fill:"#29CE69",d:"M16.316 13.452c0 .2-.162.362-.362.362h-5.046q.234-.378.508-.724h4.538c.2 0 .362.162.362.362"}),I.createElement("path",{fill:"#73DA8C",d:"m13.036 11.56-.18.24-.384.196H9.41a.362.362 0 0 1 0-.724h3.272c.174 0 .32.124.354.288"}),I.createElement("path",{fill:"#29CE69",d:"M12.682 11.997h-.21q.272-.232.564-.437a.362.362 0 0 1-.354.436"}),I.createElement("path",{fill:"#D0D0FF",d:"M7.123 13.452H4.425a.47.47 0 0 1-.469-.468v-2.335c0-.259.21-.469.469-.469h2.698c.259 0 .469.21.469.469v2.335c0 .258-.21.468-.469.468"}),I.createElement("path",{fill:"#73DA8C",d:"m9.984 18.179-.176.362H9.41a.362.362 0 0 1 0-.725h.365z"}),I.createElement("path",{fill:"#29CE69",d:"M16.316 18.179c0 .2-.162.362-.362.362H9.808a8 8 0 0 1-.034-.725h6.18c.2 0 .362.163.362.363"}),I.createElement("path",{fill:"#73DA8C",d:"m10.175 16.36-.323.363H9.41a.362.362 0 1 1 0-.724h.583z"}),I.createElement("path",{fill:"#29CE69",d:"M13.044 16.36c0 .2-.162.362-.362.362h-2.83q.053-.367.14-.724h2.69c.2 0 .362.162.362.362"}),I.createElement("path",{fill:"#D0D0FF",d:"M7.123 18.178H4.425a.47.47 0 0 1-.469-.468v-2.335c0-.259.21-.469.469-.469h2.698c.259 0 .469.21.469.469v2.335c0 .258-.21.468-.469.468"}),I.createElement("path",{fill:"#73DA8C",d:"M15.954 9.088H9.41a.362.362 0 1 1 0-.724h6.544a.362.362 0 1 1 0 .724M12.682 7.27H9.41a.362.362 0 1 1 0-.724h3.272a.362.362 0 1 1 0 .724"}),I.createElement("path",{fill:"#FF9DA8",d:"M9.151 3.025c.002-.627-.636-1.137-1.423-1.138C6.94 1.885 6.3 2.392 6.3 3.019c-.002.627.636 1.137 1.423 1.139.788.001 1.427-.506 1.428-1.133M16.878 3.042c.002-.627-.636-1.137-1.423-1.138-.788-.002-1.427.505-1.428 1.132-.002.628.636 1.137 1.423 1.139.788.001 1.427-.506 1.428-1.133"}
1),I.createElement("path",{fill:"#49445F",d:"M8.428 1.2c-.2 0-.362.163-.362.363v.58a.362.362 0 1 0 .724 0v-.58c0-.2-.162-.362-.362-.362M14.875 1.092c-1.03 0-1.358 1.396-.672 1.396.2 0 .362-.162.362-.362a.31.31 0 0 1 .619 0c0 .2.162.362.362.362.683 0 .36-1.396-.671-1.396M12.992 2.16c-.2 0-.362.163-.362.363a.336.336 0 0 1-.672 0 .362.362 0 1 0-.724 0 .336.336 0 0 1-.672 0 .362.362 0 1 0-.724 0 1.061 1.061 0 0 0 1.758.797c.681.597 1.758.113 1.758-.797 0-.2-.162-.362-.362-.362"}),I.createElement("path",{fill:"#FF869C",d:"M23.589 17.815a6.18 6.18 0 0 1-4.296 5.888c-12.505-5.539-1.65-12.064-1.65-12.064a6.18 6.18 0 0 1 5.946 6.176"}),I.createElement("path",{fill:"#FF5F7F",d:"M19.293 23.703c-3.987 1.273-8.065-1.703-8.065-5.888a6.18 6.18 0 0 1 6.416-6.176c-1.831 1.879-5.716 7.108 1.65 12.064"}),I.createElement("path",{fill:"#EBE9FF",d:"M21.77 17.815a4.363 4.363 0 0 1-4.362 4.362c-6.864-3.138-1.34-8.515-1.34-8.515a4.363 4.363 0 0 1 5.704 4.153"}),I.createElement("path",{fill:"#D0D0FF",d:"M17.372 22.177a4.362 4.362 0 0 1-1.305-8.515c-1.296 2.155-2.043 5.315 1.305 8.515"}),I.createElement("path",{fill:"#FF5F7F",d:"M17.502 18.106a.362.362 0 0 1-.217-.651l1.36-1.02a.362.362 0 0 1 .435.579c-1.506 1.129-1.416 1.092-1.578 1.092"}),I.createElement("path",{fill:"#00C2FA",d:"m17.027 17.896-1.374-2.062a.362.362 0 1 1 .602-.401l1.375 2.061a.362.362 0 0 1-.603.402"}),I.createElement("path",{fill:"#7293DF",d:"M17.408 18.542a.727.727 0 1 0 0-1.454.727.727 0 0 0 0 1.454M17.408 14.541a.36.36 0 0 1-.362-.362v-.727a.362.362 0 1 1 .724 0v.727c0 .2-.162.362-.362.362M17.77 21.45c0 .747.037.85-.113.99-.526.053-.611-.587-.611-.587v-.402a.362.362 0 0 1 .724 0"}),I.createElement("path",{fill:"#4677D5",d:"M17.657 22.44a.362.362 0 0 1-.611-.263v-.325q.282.295.61.589M13.772 18.177h-.727a.362.362 0 1 1 0-.724h.727a.362.362 0 1 1 0 .724"}),I.createElement("path",{fill:"#7293DF",d:"M21.77 18.177h-.726a.362.362 0 1 1 0-.724h.727a.362.362 0 1 1 0 .724"}),I.createElement("path",{fill:"#D0D0FF",d:"M7.123 8.726H4.425a.47.47 0 0 1-.469-.469V5.922c0-.259.21-.468.469-.468h2.698c.259 0 .469.21.469.468v2.335c0 .259-.21.469-.469.469"}),I.createElement("rect",{width:15.086,height:3.331,x:2.433,y:11.647,fill:"#59D5FF",rx:1.665,transform:"rotate(45 2.433 11.647)"}),I.createElement("rect",{width:6.759,height:3.331,x:7.212,y:13.933,fill:"#5972A4",rx:1.665,transform:"rotate(135 7.212 13.933)"}),I.createElement("rect",{width:6.759,height:3.331,x:13.1,y:19.82,fill:"#5972A4",rx:1.665,transform:"rotate(135 13.1 19.82)"}))),j||(j=I.createElement("defs",null,I.createElement("clipPath",{id:"practiceMath_svg__a"},I.createElement("path",{fill:"#fff",d:"M.5 0h24v24H.5z"})))))};function eo(){return(eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var eh=function(e){return I.createElement("svg",eo({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),M||(M=I.createElement("g",{clipPath:"url(#examMath_svg__a)"},I.createElement("path",{fill:"#EBE9FF",d:"m20.239 19.539-.286 2.162a2.145 2.145 0 0 1-1.84 1.85c-2.207.29-4.426.439-6.646.447 0 0-12.909-5.32-1.428-21.453h7.854c1.06 0 1.958.782 2.114 1.837l.13.883c.695 4.73.729 9.534.102 14.274"}),I.createElement("path",{fill:"#D0D0FF",d:"M11.467 23.998c-2.587.01-4.774-.16-7.107-.455a2.144 2.144 0 0 1-1.853-1.851c-.76-5.74-1.163-9.766-.052-17.31a2.14 2.14 0 0 1 2.113-1.837h5.471c-1.2 4.444-4.134 14.857 1.428 21.453"}),I.createElement("path",{fill:"#D0D0FF",d:"M15.958 18.907H9.413a.362.362 0 1 1 0-.724h6.545a.362.362 0 1 1 0 .724M13.413 17.089h-4a.362.362 0 0 1 0-.725h4a.362.362 0 1 1 0 .725"}),I.createElement("path",{fill:"#E7896E",d:"M17.412 4a2.18 2.18 0 0 1-2.181 2.182h-3.913c-5.428-2.703-.3-6.174-.3-6.174Q11.124 0 11.232 0c1.104 0 2.064.616 2.557 1.523.099.182.29.295.497.295h.945c1.205 0 2.182.977 2.182 2.182"}),I.createElement("path",{fill:"#DD6642",d:"M11.319 6.182H7.23a2.18 2.18 0 1 1 0-4.364h.945a.57.57 0 0 0 .498-.295A2.9 2.9 0 0 1 11.019.008c-.754 1.065-2.36 3.932.3 6.174"}),I.createElement("path",{fill:"#49445F",d:"M8.322 2.742c-.2 0-.362.162-.362.362v.58a.362.362 0 0 0 .724 0v-.58c0-.2-.162-.362-.362-.362M14.354 2.742c-.2 0-.362.162-.362.362v.58a.362.362 0 1 0 .724 0v-.58c0-.2-.162-.362-.362-.362M12.743 3.667c-.2 0-.363.162-.363.362a.336.336 0 0 1-.671 0 .362.362 0 1 0-.725 0 .336.336 0 0 1-.671 0 .362.362 0 1 0-.725 0c0 .91 1.077 1.395 1.759.797.186.164.43.264.698.264 1.053 0 1.389-1.423.698-1.423"}),I.createElement("path",{fill:"#73DA8C",d:"m14.308 23.361-1.324-.014-.22-1.213h.001c.762-1.497 2.397-2.74 3.036-2.232.651.518-.226 2.399-1.493 3.46"}),I.createElement("path",{fill:"#4677D5",d:"m21.635 14.321-1.708-1.358 1.359-1.707a1.09 1.09 0 1 1 1.707 1.358z"}),I.createElement("path",{fill:"#7293DF",d:"M22.557 14.464a37.7 37.7 0 0 1-4.5 6.05c-3.84-.704-1.513-5.02-1.473-5.095v-.001l.234-.282.884-.32.07-.78a37 37 0 0 1 1.848-1.908.72.72 0 0 1 .953-.045l1.813 1.442a.724.724 0 0 1 .171.94"}),I.createElement("path",{fill:"#4677D5",d:"M18.056 20.514a40 40 0 0 1-1.734 1.78.725.725 0 0 1-.957.05l-1.805-1.437a.725.725 0 0 1-.168-.944c.938-1.537 1.867-2.925 3.193-4.545-.25 1.515-.068 3.383 1.471 5.096"}),I.createElement("path",{fill:"#F9E978",d:"m20.256 17.87-3.438-2.734q.467-.56.954-1.1l3.34 2.658q-.415.597-.856 1.177"}),I.createElement("path",{fill:"#29CE69",d:"M14.308 23.361c-1.514 1.27-2.44.535-1.543-1.227z"}),I.createElement("path",{fill:"#AFAFE1",d:"M7.23 10.545a1.818 1.818 0 1 1-2.218-1.774l.513.931.633-.816c.632.284 1.073.92 1.073 1.66"}),I.createElement("path",{fill:"#29CE69",d:"M5.52 10.909a.64.64 0 0 1-.505-.264l-.893-1.18a.85.85 0 0 1 .066-1.082c.279-.277.7-.243.943.076l.242.32c.083.11.247.113.333.006l.731-.904a.61.61 0 0 1 .944-.04c.27.288.286.773.035 1.083l-1.407 1.74a.63.63 0 0 1-.49.245"}),I.createElement("path",{fill:"#AFAFE1",d:"M7.23 16.727a1.818 1.818 0 1 1-2.401-1.722l.764.904.705-.77c.557.31.933.905.933 1.588"}),I.createElement("path",{fill:"#29CE69",d:"M5.52 17.09a.64.64 0 0 1-.505-.264l-.893-1.18a.85.85 0 0 1 .066-1.081c.279-.278.7-.244.943.076l.242.32c.083.11.247.112.333.005l.731-.903a.61.61 0 0 1 .944-.04c.27.288.286.773.035 1.083l-1.407 1.74a.63.63 0 0 1-.49.244"}),I.createElement("path",{fill:"#D0D0FF",d:"M15.958 12.725H9.413a.362.362 0 0 1 0-.724h6.545a.362.362 0 1 1 0 .724M13.413 10.908h-4a.362.362 0 1 1 0-.725h4a.362.362 0 1 1 0 .725"}),I.createElement("path",{fill:"#FFCC6B",d:"M18.64 19.837a1.09 1.09 0 0 1-.175-1.532l2.264-2.846a1.09 1.09 0 1 1 1.707 1.358l-2.263 2.846a1.09 1.09 0 0 1-1.533.174"}))),N||(N=I.createElement("defs",null,I.createElement("clipPath",{id:"examMath_svg__a"},I.createElement("path",{fill:"#fff",d:"M.5 0h24v24H.5z"})))))};function eu(){return(eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var ed=function(e){return I.createElement("svg",eu({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),C||(C=I.createElement("g",{clipPath:"url(#course_svg__a)"},I.createElement("path",{fill:"#D4D4FF",d:"M21.896 5.942H3.104a3.43 3.43 0 0 0-1.15 2.56V20.69h6.294c.591 0 1.124.36 1.343.909.22.549.751.909 1.343.909h3.133c.59 0 1.123-.36 1.342-.91.22-.548.752-.908 1.343-.908h6.294V8.503a3.43 3.43 0 0 0-1.15-2.56"}),I.createElement("path",{fill:"#B9BBFD",d:"M21.896 5.942H3.104a3.4 3.4 0 0 0-.722.904l1.664.713c.431.185.745.561.866 1.014.078.292.238.64.563.956.57.556 1.38.737 2.118.503A16.2 16.2 0 0 1 12.5 9.27h.077c1.638.008 3.263.264 4.83.761q.316.1.643.1c1.468 0 1.915-1.076 2.05-1.734.068-.324.288-.595.593-.725l1.926-.826a3.4 3.4 0 0 0-.722-.904"}),I.createElement("path",{fill:"#8088CE",d:"M23.03 19.622H16.75c-.59 0-1.122.36-1.342.91-.22.548-.752.908-1.343.908h-3.133c-.59 0-1.123-.36-1.342-.909a1.45 1.45 0 0 0-1.343-.909H4.575c-2.37 0-2.984.658-2.984 1.47 0 1.598 1.115 2.894 4.406 2.894h15.61a2.893 2.893 0 0 0 2.893-2.893c0-.815-.66-1.47-1.47-1.47"}),I.createElement("path",{fill:"#6470B5",d:"M3.104 21.093c0-.812.658-1.47 1.47-1.47H1.972A1.47 1.47 0 0 0 .5 21.092a2.893 2.893 0 0 0 2.893 2.893h2.604a2.893 2.893 0 0 1-2.893-2.893"}),I.createElement("path",{fill:"#EFEDFF",d:"M4.408 7.78c-.17.223-.272.502-.272.804v7.531c0 .732.594 1.325 1.325 1.325h14.077c.732 0 1.325-.593 1.325-1.325V8.584c0-.32-.113-.615-.303-.844z"}),I.createElement("path",{fill:"#D4D4FF",d:"M19.539 7.258H5.46c-.43 0-.811.205-1.053.522.244.202.42.48.504.793.078.292.238.64.563.956.57.556 1.38.737 2.118.503A16.2 16.2 0 0 1 12.5 9.27h.077c1.638.008 3.263.264 4.83.761q.316.1.643.1c1.468 0 1.915-1.076 2.051-1.733.057-.276.225-.513.46-.658a1.32 1.32 0 0 0-1.021-.482"}),I.createElement("path",{fill:"#6470B5",d:"M22.2 3.84 13.983.32a3.76 3.76 0 0 0-2.964 0L2.8 3.84c-.867.37-.867 1.6 0 1.97l2.05.88h15.3l2.05-.88c.867-.37.867-1.6 0-1.97"}),I.createElement("path",{fill:"#46559C",d:"M17.417 3.31a17.64 17.64 0 0 0-9.847.004A3.81 3.81 0 0 0 4.85 6.69l1.105.474h13.09l1.105-.474a3.82 3.82 0 0 0-2.733-3.38"}),I.createElement("path",{fill:"#8088CE",d:"M17.106 4.381a16.5 16.5 0 0 0-7.197-.45c-2.348.503-2.536 1.557-2.536 2.755v.342c.04.636-.055 1.576 1.202 1.579a17.3 17.3 0 0 1 9.169.361.998.998 0 0 0 1.302-.948V6.956a2.68 2.68 0 0 0-1.94-2.575"}),I.createElement("path",{fill:"#6470B5",d:"M8.346 6.686c0-1.198.621-2.269 1.563-2.755-.746.118-1.425.279-2.028.454a2.68 2.68 0 0 0-1.926 2.571v1.063a.997.997 0 0 0 1.3.95c.4-.127.841-.251 1.32-.363a1.2 1.2 0 0 1-.228-.718z"}),I.createElement("path",{fill:"#FD9FAA",d:"M16.361 12.788c.787 0 1.425.508 1.425 1.134 0 .627-.638 1.135-1.425 1.135s-1.424-.508-1.424-1.135c0-.626.637-1.134 1.424-1.134"}),I.createElement("path",{fill:"#293345",d:"M11.351 13.05c0-.71.514-.777 1.149-.777s1.149.067 1.149.777-.514 1.285-1.15 1.285c-.634 0-1.148-.575-1.148-1.285"}),I.createElement("path",{fill:"#FD9FAA",d:"M8.639 12.788c.786 0 1.424.508 1.424 1.134 0 .627-.638 1.135-1.424 1.135-.787 0-1.425-.508-1.425-1.135 0-.626.638-1.134 1.425-1.134"}),I.createElement("path",{fill:"#293345",d:"M8.877 12.931a.364.364 0 0 1-.364-.363v-.582a.364.364 0 0 1 .727 0v.582c0 .2-.162.363-.363.363M16.123 12.931a.364.364 0 0 1-.363-.363v-.582a.364.364 0 0 1 .727 0v.582c0 .2-.163.363-.364.363"}))),A||(A=I.createElement("defs",null,I.createElement("clipPath",{id:"course_svg__a"},I.createElement("path",{fill:"#fff",d:"M.5 0h24v24H.5z"})))))};function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var ef=function(e){return I.createElement("svg",em({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),k||(k=I.createElement("g",{clipPath:"url(#game_svg__a)"},I.createElement("path",{fill:"#565A55",d:"M.195 2.86c.093-.349.182-.699.44-.971.486-.513 1.103-.613 1.762-.532 1.089.133 2.032.632 2.935 1.219 1.542 1 2.857 2.261 4.093 3.61.442.483.871.977 1.278 1.49.007.07-.036.114-.079.158q-.457.465-.923.923c-.048.048-.1.096-.176.096-.123-.026-.19-.126-.271-.206-.628-.614-1.275-1.206-1.996-1.71-.428-.299-.86-.6-1.389-.705-.537-.106-.89.242-.792.785.065.363.243.679.435.986.546.873 1.22 1.64 1.958 2.354.093.09.205.166.242.302.004.077-.043.128-.092.178q-.459.467-.924.925c-.043.043-.09.087-.158.08l-1.488-1.26c-.16-.065-.283-.183-.403-.301-.903-.884-1.791-1.78-2.558-2.79C1.439 6.639.857 5.744.463 4.737a4.3 4.3 0 0 1-.268-1.183z"}),I.createElement("path",{fill:"#F7CE86",d:"m6.537 11.842 1.163-1.16c.005-.085.062-.137.116-.192q.765-.767 1.532-1.532c.054-.053.105-.115.192-.114l1.163-1.169c.073-.067.15-.13.22-.2l5.138-5.137c.06-.06.125-.113.187-.17.074.199.21.35.358.497q.989.98 1.97 1.97c.075.074.168.138.187.254-.158.296-.404.52-.634.751-2.718 2.729-5.444 5.45-8.167 8.175q-2.426 2.427-4.854 4.853c-.075.075-.14.165-.245.206-.096.002-.151-.068-.21-.127q-1.102-1.
1101-2.201-2.202c-.102-.102-.181-.212-.139-.367.019-.134.118-.211.205-.298l3.834-3.835c.065-.063.124-.135.185-.203M21.917 7.808q-.083.096-.17.186-2.497 2.496-4.99 4.994c-.06.06-.112.126-.168.188-.006.086-.067.136-.12.19-1.442 1.444-2.888 2.882-4.326 4.329a.15.15 0 0 1-.077.048c-.11-.005-.154.091-.216.153a1884 1884 0 0 0-3.67 3.67c-.1.1-.2.193-.35.201-.126.009-.213-.056-.298-.14L5.348 19.44c-.058-.058-.129-.113-.13-.208.032-.092.109-.149.173-.214q6.774-6.777 13.55-13.551c.064-.065.121-.14.212-.175.123.004.184.101.259.176q.938.933 1.87 1.87c.188.188.365.393.635.47"}),I.createElement("path",{fill:"#F7A246",d:"M21.917 7.809c-.178.025-.304-.059-.425-.18q-1.073-1.081-2.15-2.155c-.06-.06-.126-.113-.188-.17a.9.9 0 0 1-.413-.415q-1.16-1.171-2.324-2.339c-.107-.107-.196-.216-.168-.381.524-.552 1.036-1.123 1.627-1.603.537-.437 1.184-.43 1.827-.271.518.127.979.381 1.36.752.664.644 1.326 1.29 1.96 1.964.555.592.866 1.305.842 2.134-.01.401-.118.787-.386 1.091-.492.552-1.026 1.063-1.562 1.573"}),I.createElement("path",{fill:"#ED9237",d:"M5.235 19.23q1.2 1.207 2.404 2.414c.053.053.126.084.19.125-.861.248-1.722.498-2.583.742q-2.056.584-4.114 1.16c-.162.046-.324.098-.49.13-.294.058-.446-.103-.366-.39.387-1.387.78-2.774 1.168-4.161q.419-1.505.836-3.012c.006-.021.022-.039.034-.058a.36.36 0 0 0 .106.247q1.223 1.215 2.446 2.433a.82.82 0 0 1 .37.37"}),I.createElement("path",{fill:"#C5755B",d:"M22.076 20.611c.392.448.82.855 1.334 1.165.155.094.211.245.176.419a.38.38 0 0 1-.327.315c-1.505.287-3.021.402-4.55.289-.973-.073-1.924-.245-2.818-.652-1.53-.696-2.367-1.864-2.431-3.561-.003-.052.013-.11-.04-.148-.004-.017-.004-.038.006-.042.49-.197.767-.644 1.144-.974.078-.07.138-.17.266-.157.143.07.162.22.217.341.35.78.803 1.492 1.43 2.077.85.79 1.843 1.23 3.02 1.247a8.4 8.4 0 0 0 2.259-.288c.101-.027.204-.078.314-.03"}),I.createElement("path",{fill:"#D3886E",d:"M17.306 14.553c1.395.203 2.268 1.1 2.958 2.233.228.372.439.754.559 1.178.037.342-.022.464-.352.531-1.301.263-2.505.129-3.433-.952a3.9 3.9 0 0 1-.831-1.654c-.003-.113.077-.18.146-.25.151-.155.295-.317.46-.455.211-.178.327-.423.493-.631"}),I.createElement("path",{fill:"#ED9237",d:"M17.306 14.552q-.085.303-.313.527c-.257.252-.503.515-.755.774-.14.25-.38.41-.566.618-.06.069-.128.13-.191.195-.233.199-.404.465-.676.62-.25.244-.51.481-.751.735-.182.19-.377.348-.634.417-.617.133-1.138-.134-1.355-.694.012-.075.064-.12.114-.17l4.34-4.34c.02-.021.046-.039.07-.058.615.31.844.751.717 1.376"}),I.createElement("path",{fill:"#C5755B",d:"M15.453 16.64q.365-.42.786-.787c.172.527.373 1.042.716 1.485.477.619 1.075 1.038 1.864 1.154a4.4 4.4 0 0 0 1.597-.046c.34-.075.388-.14.406-.48a7.1 7.1 0 0 0 .77 1.959c-.031.049-.082.07-.134.084-.833.216-1.673.34-2.535.189-1.001-.175-1.775-.712-2.404-1.482-.433-.53-.743-1.133-1-1.763-.038-.1-.083-.2-.066-.313"}),I.createElement("path",{fill:"#D3886E",d:"M15.453 16.639c.214.508.426 1.02.722 1.488.73 1.156 1.722 1.937 3.123 2.065.73.066 1.451-.053 2.16-.244.044-.012.09-.017.134-.024l.483.688c-1.327.388-2.664.593-4.011.124-.931-.323-1.668-.924-2.252-1.712a6.7 6.7 0 0 1-.917-1.638.17.17 0 0 0-.09-.1q.298-.351.648-.647"}),I.createElement("path",{fill:"#8F928E",d:"M9.54 8.844 7.7 10.682c-.389-.425-.82-.81-1.192-1.253-.511-.605-1-1.225-1.341-1.947-.1-.21-.167-.427-.164-.664a.668.668 0 0 1 .806-.663c.567.106 1.034.419 1.493.74.815.57 1.53 1.257 2.238 1.95M2.09 4.455c.002-.696.543-1.227 1.252-1.226.67 0 1.242.563 1.243 1.226 0 .664-.588 1.276-1.244 1.263-.732-.013-1.275-.594-1.25-1.263"}),I.createElement("path",{fill:"#ED9237",d:"M5.235 19.23a2 2 0 0 1-.37-.372c.066-.074.129-.15.2-.221q6.522-6.524 13.041-13.049c.223-.222.423-.465.634-.7.15.128.29.263.413.416-.055.064-.106.131-.166.19Q12.21 12.28 5.424 19.062c-.06.06-.126.113-.189.168"}))),F||(F=I.createElement("defs",null,I.createElement("clipPath",{id:"game_svg__a"},I.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))};function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var ev=function(e){return I.createElement("svg",ep({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),S||(S=I.createElement("g",{clipPath:"url(#arena_svg__a)"},I.createElement("path",{fill:"#5972A5",d:"M24 3.104v10.514a2.53 2.53 0 0 1-2.528 2.528h-2.916C8.513 14.917 7.036 4.736 10.058.576h11.414A2.53 2.53 0 0 1 24 3.104"}),I.createElement("path",{fill:"#4A66A0",d:"M18.556 16.146H2.528A2.53 2.53 0 0 1 0 13.618V3.104A2.53 2.53 0 0 1 2.528.576h7.53c-1.078 5.202.278 13.58 8.498 15.57"}),I.createElement("path",{fill:"#F3F5FC",d:"M22.024 3.727v9.268c0 .64-.518 1.158-1.158 1.158h-6.6C9.104 12.844 7.763 5.371 9.783 2.57h11.083c.64 0 1.158.518 1.158 1.158"}),I.createElement("path",{fill:"#D7DDF5",d:"M14.266 14.153H3.134c-.64 0-1.158-.519-1.158-1.158V3.726c0-.639.518-1.157 1.158-1.157h6.65c-.29 3.912.758 8.737 4.482 11.584"}),I.createElement("path",{fill:"#5AD6FF",d:"M16.404 7.573v2.76c0 .51-.324.963-.806 1.129l-3.04 1.041c-2.274-.958-2.81-3.328-2.381-4.93z"}),I.createElement("path",{fill:"#00C5FD",d:"m12.559 12.503-.484.166-3.661-1.213a1.19 1.19 0 0 1-.818-1.133v-2.75h2.581c.427 1.761 1.187 3.477 2.382 4.93"}),I.createElement("path",{fill:"#00B4FD",d:"m18.218 7.628-5.741 1.957a1.48 1.48 0 0 1-.954 0l-.804-.274C9.14 8.006 8.973 6.19 9.8 5.255l1.722-.588a1.48 1.48 0 0 1 .954 0l5.74 1.958a.53.53 0 0 1 0 1.003"}),I.createElement("path",{fill:"#0092E2",d:"M10.719 9.31 5.782 7.629a.53.53 0 0 1 0-1.004l4.019-1.37c.118 1.356.409 2.741.918 4.057"}),I.createElement("path",{fill:"#FDC072",d:"M5.423 10.015a.35.35 0 0 1-.351-.351V7.82c0-.577.469-1.
1047 1.046-1.047H12a.352.352 0 1 1 0 .704H6.118a.344.344 0 0 0-.343.343v1.843a.35.35 0 0 1-.352.351"}),I.createElement("path",{fill:"#996ACC",d:"m4.682 16.136-.719 4.918c-.275 1.888 1.936 3.108 3.386 1.869l5.265-4.502z"}),I.createElement("path",{fill:"#B18CD9",d:"m19.318 16.136.719 4.918c.275 1.888-1.936 3.108-3.386 1.869l-5.265-4.502z"}),I.createElement("path",{fill:"#C7AEE4",d:"M19.318 16.136a3.93 3.93 0 0 1-1.155 2.788 3.93 3.93 0 0 1-2.788 1.156h-1.32c-4.307-.988-4.568-5.518-2.841-7.29l.786.321 2.252-.92h1.123a3.944 3.944 0 0 1 3.943 3.945"}),I.createElement("path",{fill:"#B18CD9",d:"M14.055 20.08H8.626a3.944 3.944 0 0 1 0-7.888h1.122l1.466.598c-.777 2.41-.512 5.886 2.84 7.29"}),I.createElement("path",{fill:"#4A66A0",d:"M7.764 17.076a1.21 1.21 0 1 0 0-2.419 1.21 1.21 0 0 0 0 2.42"}),I.createElement("path",{fill:"#5972A5",d:"M16.236 17.076a1.21 1.21 0 1 0 0-2.419 1.21 1.21 0 0 0 0 2.42"}),I.createElement("path",{fill:"#4A66A0",d:"M11.182 17.956h-.797a.352.352 0 1 1 0-.704h.797a.352.352 0 1 1 0 .704"}),I.createElement("path",{fill:"#5972A5",d:"M13.615 17.956h-.796a.352.352 0 1 1 0-.704h.796a.352.352 0 1 1 0 .704M14.252 12.192v.606a.99.99 0 0 1-.99.99h-2.296c-.374-.65-.182-1.402.47-1.596z"}),I.createElement("path",{fill:"#4A66A0",d:"M11.437 12.192a7.4 7.4 0 0 0-.47 1.596h-.229a.99.99 0 0 1-.99-.99v-.606zM9.972 21.73a1.21 1.21 0 1 0 0-2.42 1.21 1.21 0 0 0 0 2.42"}),I.createElement("path",{fill:"#5972A5",d:"M14.027 21.73a1.21 1.21 0 1 0 0-2.42 1.21 1.21 0 0 0 0 2.42"}))),D||(D=I.createElement("defs",null,I.createElement("clipPath",{id:"arena_svg__a"},I.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},eg=n(99376),ex=n(63804),ew=n(64204),eb=()=>{let{role:e}=(0,Q.CG)(e=>e.user),t=e===en.zw.PARENTS,[n,a]=(0,T.useState)(!1),[l,r]=(0,T.useState)(!1),i=(0,eg.useRouter)(),c=(0,eg.usePathname)(),{t:s}=(0,ea.$G)(),o=(0,T.useRef)(null),h=(0,T.useRef)(null),u=(0,T.useRef)(null),d=(0,T.useRef)(null),m=e=>"/"!==e&&c.startsWith(e),f=[{label:(0,J.ul)(s("learnMath.title")),icon:(0,O.jsx)(ei,{}),href:"/hoc-toan"},{label:(0,J.ul)(s("examPractice.title")),icon:(0,O.jsx)(es,{}),href:"/luyen-toan"},{label:(0,J.ul)(s("examPractice.exam")),icon:(0,O.jsx)(eh,{}),href:"/thi-toan"},{label:(0,J.ul)(s("common.course")),icon:(0,O.jsx)(ed,{}),href:"/khoa-hoc/khoa-hoc-online",hasSubMenu2:!0},{label:(0,J.ul)(s("common.play")),icon:(0,O.jsx)(ef,{}),href:"/",hasSubMenu:!0}];(0,T.useEffect)(()=>{let e=e=>{o.current&&h.current&&!o.current.contains(e.target)&&!h.current.contains(e.target)&&a(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,T.useEffect)(()=>{let e=e=>{d.current&&u.current&&!d.current.contains(e.target)&&!u.current.contains(e.target)&&r(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let p=e=>{e.hasSubMenu?a(!n):e.hasSubMenu2?r(!l):i.push(e.href)},v=[{label:s("common.arena"),onClick:()=>{i.push(ew.O.arena),a(!1)},icon:ef,href:ew.O.arena},{label:"Game",icon:ev,onClick:()=>{i.push("/game-toan"),a(!1)},href:"/game-toan"}],g=[{label:s("courses.courseOnline"),onClick:()=>{i.push("/khoa-hoc/khoa-hoc-online"),r(!1)},icon:ef,href:"/khoa-hoc/khoa-hoc-online"},{label:s("publications.publications"),icon:ev,onClick:()=>{i.push("/khoa-hoc/an-pham"),r(!1)},href:"/khoa-hoc/an-pham"}],x=t?f.filter(e=>"/khoa-hoc/khoa-hoc-online"===e.href):f;return(0,O.jsxs)("div",{className:"fixed bottom-0 inset-x-0 w-screen max-w-[100vw] bg-white border-t border-gray-10 z-[9998] lg:hidden safe-area-bottom",children:[(0,O.jsx)("div",{className:"flex items-center justify-between w-full h-[80px] px-2",children:x.map((e,t)=>(0,O.jsx)("div",{className:"flex-1 min-w-0 px-1",children:(0,O.jsxs)("button",{ref:e.hasSubMenu?h:e.hasSubMenu2?u:null,onClick:()=>p(e),className:"w-full h-full flex flex-col items-center justify-center",children:[(0,O.jsx)("div",{className:"w-6 h-6 flex items-center justify-center",children:e.icon}),(0,O.jsx)("span",{className:(0,J.cn)("text-xs mt-1 font-medium text-gray-60 hover:text-primary truncate w-full text-center",m(e.href)&&"text-primary"),children:e.label})]})},e.label+t))}),n&&(0,O.jsx)("div",{ref:o,className:"absolute bottom-full right-0 w-[200px] bg-white rounded-lg border border-gray-10 shadow-[0px_-4px_6px_-1px_rgba(0,0,0,0.05)]",children:(0,O.jsx)("div",{className:"w-full p-4",children:v.map(e=>{let{icon:t,label:n,onClick:a,href:l}=e;return(0,O.jsxs)(ex.Z,{onClick:a,className:(0,J.cn)("w-full text-[16px] leading-[20px] hover:bg-gray-5 px-4 border-none text-left text-gray-80 flex items-center h-[48px] gap-2",m(l)&&"text-primary"),children:[null==t?void 0:t(),(0,O.jsx)("span",{className:"truncate",children:n})]},n)})})}),l&&(0,O.jsx)("div",{ref:d,className:"absolute bottom-full right-0 w-[200px] bg-white rounded-lg border border-gray-10 shadow-[0px_-4px_6px_-1px_rgba(0,0,0,0.05)]",children:(0,O.jsx)("div",{className:"w-full p-4",children:g.map(e=>{let{icon:t,label:n,onClick:a,href:l}=e;return(0,O.jsxs)(ex.Z,{onClick:a,className:(0,J.cn)("w-full text-[16px] leading-[20px] hover:bg-gray-5 px-4 border-none text-left text-gray-80 flex items-center h-[48px] gap-2",m(l)&&"text-primary"),children:[null==t?void 0:t(),(0,O.jsx)("span",{className:"truncate",children:n})]},n)})})})]})},ey=n(66043),eE=n(41880),ej=n(65011),eM=n(77562),eN=e=>{let{onClose:t,open:n,className:a="w-[1214px]"}=e,{t:l}=(0,ea.$G)(),r=(0,J.G3)(),[i,c]=(0,T.useState)(!1),s=(0,T.useRef)({x:0,y:0});return(0,O.jsx)(eE.Z,{open:n,onClose:t,className:(0,J.cn)(a,"p-0 lg:h-auto h-[70vh] overflow-y-auto"),hideClose:!0,children:(0,O.jsxs)("div",{children:[(0,O.jsxs)("div",{className:"cursor-move flex justify-between items-center text-gray-50 p-4 border-b border-gray-5 sticky top-0 bg-white ",onPointerDown:e=>{c(!0),s.current={x:e.clientX,y:e.clientY},e.target.setPointerCapture(e.pointerId)},onPointerMove:e=>{i&&(s.current={x:e.clientX,y:e.clientY})},onPointerUp:e=>{c(!1),e.target.releasePointerCapture(e.pointerId)},children:[(0,O.jsx)("p",{className:"text-gray-70 font-paytone text-xl",children:l("common.securityPolicy")}),(0,O.jsx)("button",{onClick:t,children:(0,O.jsx)(ej.Z,{className:"text-gray-70 text-[24px]"})})]}),(0,O.jsx)("div",{className:"p-4 popup-policy prose-h3:font-bold",children:(0,eM.ZP)("vi"===r?eC:eA)}
1),(0,O.jsx)("div",{className:"p-4",children:(0,O.jsx)(ex.Z,{variant:"primary",className:"w-full whitespace-nowrap px-0 text-center",onClick:t,children:l("payment.Agree")})})]})})};let eC='<div>\nWebsiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>â¯cam kết sẽ ná» lá»±c hết sức v\xe0 sá» dụng c\xe1c biá»n ph\xe1p th\xedch hợp như n\xeau cụ thá» dưá»i Ä\xe2y Äá» c\xe1c dữ liá»u m\xe0 bạn cung cấp cho ch\xfang t\xf4i trong qu\xe1 tr\xecnh sá» dụngâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>â¯Äược bảo máºt. \n\n<h3>1. Mục Ä\xedch thu tháºp th\xf4ng tin c\xe1 nh\xe2n </h3>\n<ul>\n<li>Äá» xá» l\xfd viá»c cung cấp cho kh\xe1ch h\xe0ng c\xe1c sản phẩm hay dá»ch vụ y\xeau cầu từ website, xá» l\xfd phần thanh to\xe1n. </li>\n<li>Äá» cải tiến v\xe0 n\xe2ng cao trải nghiá»m cá»§a kh\xe1ch h\xe0ng tr\xean website. </li>\n<li>Ä\xe1nh gi\xe1 viá»c sá» dụng sản phẩm v\xe0 dá»ch vụ tr\xean website. ⯠</li>\n<li>Tạo cÆ¡ há»i cho kh\xe1ch h\xe0ng tham gia v\xe0o c\xe1c cuá»c thi hay chương tr\xecnh khuyến m\xe3i cá»§a website. Kh\xe1ch h\xe0ng sẽ ÄÆ°á»£c nháºn th\xf4ng tin cuá»c thi hay chương tr\xecnh qua c\xe1c k\xeanh truyá»n th\xf4ng cá»§a dá»ch vụ: website, facebook, zalo OA, hotline. </li>\n<li>Ph\xe2n t\xedch t\xednh hiá»u quả cá»§a c\xe1c ná»i dung cá»§a kh\xe1ch h\xe0ng sá» dụng từ Ä\xf3 há» thá»ng sẽ c\xe1 nh\xe2n h\xf3a ngưá»i d\xf9ng v\xe0 Äá» xuất, giá»i thiá»u vá» c\xe1c ná»i dung m\xe0 ch\xfang t\xf4i cho rằng kh\xe1ch h\xe0ng c\xf3 thá» quan t\xe2m tr\xean website, zalo OA, hotline. </li>\n<li>C\xe1 nh\xe2n h\xf3a trải nghiá»m website cá»§a kh\xe1ch h\xe0ng, Äá»ng thá»i Ä\xe1nh gi\xe1 sá» liá»u thá»ng k\xea vá» hoạt Äá»ng cá»§a website, chẳng hạn như thá»i gian gh\xe9 thÄm, ÄÆ°á»ng link/trang web n\xe0o giá»i thiá»u kh\xe1ch h\xe0ng ÄÄng nháºp v\xe0o Ä\xf3⦠</li>\n</ul>\n<h3>2. Dữ liá»u thu tháºp </h3>\n<ul>\n<li>Dữ liá»u c\xf3 thá» bao gá»m những th\xf4ng tin như há» t\xean, Äá»a chá», t\xean ÄÄng nháºp, h\xecnh Äại diá»n, Äá»a chá» email v\xe0 sá» Äiá»n thoại, sá» chứng minh nh\xe2n d\xe2n, th\xf4ng tin thanh to\xe1n, cÅ©ng c\xf3 thá» bao gá»m c\xe1c th\xf4ng tin kh\xe1c như Äá»a chá» IP, th\xf3i quen mua sắm, sá» th\xedch v\xe0 th\xf4ng tin vá» phong c\xe1ch sá»ng hay sá» th\xedch, bất kỳ th\xf4ng tin c\xe1 nh\xe2n n\xe0o kh\xe1c m\xe0 qu\xfd kh\xe1ch tá»± nguyá»n cung cấp cho Trạng Nguy\xean⦠Dữ liá»u n\xe0y ÄÆ°á»£c thu tháºp từ c\xe1c nguá»n: </li>\n<li>Kh\xe1ch h\xe0ng cung cấp trá»±c tiếp cho Trạng Nguy\xean: chẳng hạn như khi kh\xe1ch h\xe0ng ÄÄng k\xfd mua g\xf3i cưá»c dá»ch vụ v\xe0 c\xe1c ná»i dung kh\xe1c, ÄÄng k\xfd Äá» nháºn th\xf4ng tin... </li>\n<li>Tá»± Äá»ng thu tháºp khi kh\xe1ch h\xe0ng sá» dụng websiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>, v\xed dụ: cookies v\xe0 c\xe1c c\xf4ng cụ kh\xe1câ¦Viá»c thu tháºp c\xe1c th\xf4ng tin từ c\xe1c h\xecnh thức n\xe0y Äá»u c\xf3 th\xf4ng b\xe1o tá»i kh\xe1ch h\xe0ng Äá» kh\xe1ch h\xe0ng x\xe1c nháºn trưá»c khi thá»±c hiá»n. </li>\n</ul>\n\n<h3>3. Phạm vi sá» dụngâ¯â¯ </h3>\n\nChá» sá» dụng c\xe1c th\xf4ng tin ÄÆ°á»£c Kh\xe1ch h\xe0ng ÄÄng k\xfd v\xe0/hoặc cáºp nháºt tr\xean Ná»n tảng website tnmath.edu.vn, kh\xf4ng sá» dụng c\xe1c th\xf4ng tin do Kh\xe1ch h\xe0ng ÄÆ°a tr\xean c\xe1c phương tiá»n, c\xf4ng cụ kh\xe1c. \n\n<h3>4. Thá»i gian lưu trữ th\xf4ng tin </h3>\nDữ liá»u c\xe1 nh\xe2n cá»§a kh\xe1ch h\xe0ng sẽ ÄÆ°á»£c lưu trữ tá»i thiá»u 02 nÄm. Sau thá»i gian n\xe0y dữ liá»u sẽ bá» x\xf3a ho\xe0n to\xe0n khá»i há» thá»ng. Trong má»i trưá»ng hợp th\xf4ng tin c\xe1 nh\xe2n kh\xe1ch h\xe0ng sẽ ÄÆ°á»£c bảo máºt tại m\xe1y chá»§ cá»§a website tnmath.edu.vn. \n\n<h3>5. Những ngưá»i hoặc tá» chức c\xf3 thá» tiếp cáºn th\xf4ng tin </h3>\nCh\xfang t\xf4i kh\xf4ng chia sẻ dữ liá»u cá»§a kh\xe1ch h\xe0ng vá»i bất kỳ ai ngo\xe0i c\xe1c ÄÆ¡n vá» tham gia v\xe0o qu\xe1 tr\xecnh quản l\xfd, váºn h\xe0nh website <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> v\xe0 c\xe1c ÄÆ¡n vá» cung cấp dá»ch vụ li\xean quan. Những c\xf4ng ty n\xe0y sẽ tu\xe2n thá»§ c\xe1c quy Äá»nh ph\xf9 hợp vá»i ch\xednh s\xe1ch n\xe0y bao gá»m: \n<ul>\n<li>ÄÆ¡n vá» chá»§ quản website tnmath.edu.vn. </li>\n<li>C\xe1c b\xean thứ ba ÄÆ°á»£c y\xeau cầu giao sản phẩm hay qu\xe0 tặng cho qu\xfd kh\xe1ch. </li>\n<li>ÄÆ¡n vá» cung cấp dá»ch vụ thanh to\xe1n. </li>\n<li>CÆ¡ quan Nh\xe0 nưá»c c\xf3 thẩm quyá»n y\xeau cầu ch\xfang t\xf4i tiết lá» th\xf4ng tin. ⯠</li>\n</ul>\n<h3>6. Phương thức, c\xf4ng cụ Äá» Kh\xe1ch h\xe0ng c\xf3 thá» cung cấp, chá»nh sá»a hoặc x\xf3a th\xf4ng tin </h3>\n\nKh\xe1ch h\xe0ng c\xf3 thá» cung cấp v\xe0 chá»nh sá»a th\xf4ng tin cá»
1§a m\xecnh khi ÄÄng k\xfd, ÄÄng nháºp v\xe0o há» thá»ng theo hưá»ng dẫn chi tiết tr\xean websiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> \n\nTrong trưá»ng hợp kh\xe1ch h\xe0ng muá»n há»§y c\xe1c th\xf4ng tin lưu trữ tr\xean há» thá»ng cá»§aâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>, vui l\xf2ng li\xean há» vá»i ch\xfang t\xf4i bằng c\xe1ch gá»i Email Äến Äá»a chá» [email protected] vá»i ná»i dung như sau: \n<ul>\n <li>âTi\xeau Äá» email: Y\xeau cầu x\xf3a t\xe0i khoản - Há» v\xe0 t\xean Äầy Äá»§, Äá»a chá» Email v\xe0 th\xf4ng tin Sá» b\xe1o danh kh\xe1ch h\xe0ng tr\xean dá»ch vụâ </li>\n <li>Trạng Nguy\xean sẽ phản há»i y\xeau cầu cá»§a bạn trong khoảng thá»i gian 03 ng\xe0y l\xe0m viá»c. Tất cả c\xe1c dữ liá»u lưu trữ tr\xean há» thá»ng vá» t\xe0i khoản n\xe0y sẽ bá» há»§y bá» ká» từ ng\xe0y x\xe1c nháºn. </li>\n</ul>\n\nTrong trưá»ng hợp kh\xe1ch h\xe0ng kh\xf4ng muá»n nháºn c\xe1c th\xf4ng tin khuyến mại, chương tr\xecnh â¦Äược tá» chức tr\xean dá»ch vụ, kh\xe1ch h\xe0ng l\xe0m theo c\xe1c bưá»c sau: \n<br/>\nC\xe1ch 1: <br/>\n<ul>\n <li>Kh\xe1ch h\xe0ng truy cáºp website:â¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> </li>\n <li>Chá»n mục Th\xf4ng tin khuyến mại </li>\n <li>Chá»n button âTắtâ nháºn th\xf4ng tin khuyến mại v\xe0 chÄm s\xf3c kh\xe1ch h\xe0ng </li>\n</ul>\n\nC\xe1ch 2: <br/>\n\nGá»i Äiá»n l\xean hotline cá»§a dá»ch vụ y\xeau cầu kh\xf4ng nháºn c\xe1c th\xf4ng tin khuyến mại v\xe0 chÄm s\xf3c kh\xe1ch h\xe0ng. \n\n<h3>7. Äá»a chá» cá»§a ÄÆ¡n vá» thu tháºp v\xe0 quản l\xfd th\xf4ng tin cá»
1§a Kh\xe1ch h\xe0ng </h3>\n\nC\xf4ng ty TNHH Äầu tư Gi\xe1o dục Trạng Nguy\xean \n\nÄá»a chá»: Sá» nh\xe0 7, Ng\xf5 68, Phá» Trung k\xednh, Phưá»ng Y\xean h\xf2a, Quáºn Cầu Giấy, Th\xe0nh phá» H\xe0 Ná»i. \n\nÄiá»n thoại: 0913032415 \n\n<h3>8. Cam kết bảo máºt th\xf4ng tin c\xe1 nh\xe2n cá»§a Kh\xe1ch h\xe0ng </h3>\n<ul>\n<li>Th\xf4ng tin c\xe1 nh\xe2n cá»§a Kh\xe1ch h\xe0ng tr\xean Websiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>â¯Äược cam kết bảo máºt tuyá»t Äá»i theo ch\xednh s\xe1ch bảo vá» th\xf4ng tin c\xe1 nh\xe2n cá»§a website. Viá»c thu tháºp v\xe0 sá» dụng th\xf4ng tin cá»§a má»i Kh\xe1ch h\xe0ng chá» ÄÆ°á»£c thá»±c hiá»n khi c\xf3 sá»± Äá»ng \xfd cá»§a Kh\xe1ch h\xe0ng Ä\xf3 trừ những trưá»ng hợp ph\xe1p luáºt c\xf3 quy Äá»nh kh\xe1c; </li>\n<li>Kh\xf4ng sá» dụng, kh\xf4ng chuyá»n giao, cung cấp hay tiết lá» cho b\xean thứ 3 n\xe0o vá» th\xf4ng tin c\xe1 nh\xe2n cá»§a Kh\xe1ch h\xe0ng khi kh\xf4ng c\xf3 sá»± cho ph\xe9p Äá»ng \xfd từ Kh\xe1ch h\xe0ng; </li>\n<li>Trong trưá»ng hợp m\xe1y chá»§ lưu trữ th\xf4ng tin bá» hacker tấn c\xf4ng dẫn Äến mất m\xe1t dữ liá»u c\xe1 nh\xe2n Kh\xe1ch h\xe0ng, websiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>â¯â¯sẽ c\xf3 tr\xe1ch nhiá»m th\xf4ng b\xe1o vụ viá»c cho cÆ¡ quan chức nÄng Äiá»u tra xá» l\xfd ká»p thá»i v\xe0 th\xf4ng b\xe1o cho Kh\xe1ch h\xe0ng ÄÆ°á»£c biết. </li>\n<li>Tuy nhi\xean do hạn chế vá» mặt kỹ thuáºt, kh\xf4ng má»t dữ liá»u n\xe0o c\xf3 thá» ÄÆ°á»£c truyá»n tr\xean ÄÆ°á»ng truyá»n Internet m\xe0 c\xf3 thá» ÄÆ°á»£c bảo máºt 100%. Do váºy, websiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>â¯kh\xf4ng thá» ÄÆ°a ra má»t cam kết chắc chắn rằng th\xf4ng tin Kh\xe1ch h\xe0ng cung cấp cho websiteâ¯<a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>â¯sẽ ÄÆ°á»£c bảo máºt má»t c\xe1ch tuyá»t Äá»i an to\xe0n, v\xe0 website <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> kh\xf4ng thá» chá»u tr\xe1ch nhiá»m trong trưá»ng hợp c\xf3 sá»± truy cáºp tr\xe1i ph\xe9p th\xf4ng tin c\xe1 nh\xe2n cá»§a Kh\xe1ch h\xe0ng, như c\xe1c trưá»ng hợp Kh\xe1ch h\xe0ng tá»± \xfd chia sẻ th\xf4ng tin vá»i ngưá»i kh\xe1c.</li>\n</ul> \n\n<h3>9. Hưá»ng dẫn vá» c\xe1c nguy\xean tắc bảo máºt </h3>\n\nÄá» viá»c sá» dụng dá»ch vụ ÄÆ°á»£c thá»±c hiá»n an to\xe0n, tr\xe1nh c\xe1c gian láºn ph\xe1t sinh, Kh\xe1ch h\xe0ng n\xean tháºn trá»ng trong viá»c sá» dụng, bảo vá» c\xe1c th\xf4ng tin vá» t\xe0i khoản bằng viá»c giữ b\xed máºt vá» th\xf4ng tin c\xe1 nh\xe2n, th\xf4ng tin truy cáºp t\xe0i khoản, th\xf4ng tin thanh to\xe1n cá»§a m\xecnh. Nếu c\xf3 thá», c\xe1c thiết bá» c\xe1 nh\xe2n, thiết bá» c\xf4ng cá»ng hoặc c\xe1c thiết bá» d\xf9ng chung n\xean ÄÆ°á»£c ÄÄng xuất khi ho\xe0n th\xe0nh má»i lần truy cáºp. Ch\xfang t\xf4i kh\xf4ng chá»u tr\xe1ch nhiá»m trong trưá»ng hợp Äá» lá» dữ liá»u g\xe2y thiá»t hại cho kh\xe1ch h\xe0ng m\xe0 kh\xf4ng do lá»i cá»§a Tnmath.edu.vn \n</div>',eA='\nWebsite <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> is committed to making every effort and implementing appropriate measures, as detailed below, to ensure that the data you provide during your use of <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> is securely protected. \n\n<h3>1. Purpose of Collecting Personal Information</h3>\n<ul>\n<li>To process and provide products or services requested by customers via the website, and to handle payments. </li>\n<li>To improve and enhance customer experience on the website. </li>\n<li>To evaluate the usage of products and services on the website. </li>\n<li>To create opportunities for customers to participate in contests or promotional programs. Customers will receive information about these events through various communication channels such as the website, Facebook, Zalo OA, and hotline. </li>\n<li>To analyze the effectiveness of the content used by customers, allowing the system to personalize the user experience and recommend content that may be of interest across the website, Zalo OA, and hotline. </li>\n<li>To personalize customer experience on the website and assess statistical data related to website operations, such as visit durations, referral links/pages, etc. </li>\n</ul>\n\n<h3>2. Data Collected</h3>\n\nData may include information such as full name, address, username, profile picture, email address, phone number, ID/CCCD number, payment information, and may also include other information such as IP address, shopping habits, preferences, lifestyle details, or any other personal information voluntarily provided to Trang Nguyen. \n\nThis data is collected from the following sources: \n\na. Information provided directly by customers <br/>\nExamples include registering for service packages, content access, or subscribing to information updates. \n\nb. Information collected automatically <br/>\nWhen customers use <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a>, such as through cookies and other tracking tools. \nAll such data collection methods will be notified in advance for customer consent. \n\n<h3>3. Scope of Use</h3>\n\nData is used strictly within the platform tnmath.edu.vn, based on the information customers have registered and/or updated. \nWe do not use information provided by customers on other platforms or tools. \n\n<h3>4. Data Retention Period</h3>\n\nPersonal data is stored for a minimum of 02 years. After this period, the data will be permanently deleted from the system. \nIn all cases, customer information will be securely stored on the servers of tnmath.edu.vn. \n\n<h3>5. Individuals and Organizations Who May Access the Data</h3>\n\nWe do not share customer data with any third party except for units involved in managing and operating <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> and relevant service providers. These entities must comply with this policy. They include: \n<ul>\n<li>The entity managing the website tnmath.edu.vn </li>\n<li>Third parties required to deliver products or gifts to customers </li>\n<li>Payment service providers </li>\n<li>Competent Government authorities upon lawful request </li>\n</ul>\n<h3>6. Methods and Tools for Customers to Provide, Modify, or Delete Information</h3>\n\nCustomers can provide and edit their information during the registration or login process following the instructions on <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> \n\nIf customers wish to delete their stored information, please contact us by sending an email to: \n\[email protected] \n\nwith the following content: \nEmail subject: Request to delete account â Full name, Email address, and Customer ID (if applicable) \n\nTrang Nguyen will respond within 03 working days. All data related to the account will be permanently deleted upon confirmation. \n\nIf customers do not wish to receive promotional or program-related information, they may: \n<br/>\nOption 1: <br/>\n<ul>\n <li>Visit: <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> </li>\n <li>Select the Promotional Information section </li>\n <li>Click the âTurn Offâ button to stop receiving promotional and customer-care notifications </li>\n</ul>\n\nOption 2: <br/>\nCall the service hotline to request removal from promotional communication lists. \n\n<h3>7. Contact Information of the Data Controller</h3>\n\nTrang Nguyen Education Investment Company Limited \nAddress: No. 7, Alley 68, Trung K\xednh Street, Y\xean H\xf2a Ward,
1Cầu Giấy District, Hanoi \nPhone: 0913032415 \n\n<h3>8. Commitment to Protect Customer Personal Information</h3>\n<ul>\n<li>All personal information on <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> is strictly protected according to our privacy policy. Data collection and usage will only occur with customer consent unless otherwise required by law. </li>\n\n\n<li>We do not use, transfer, or disclose customer information to any third party without explicit consent. </li>\n\n<li>If the server is attacked by hackers resulting in data loss, <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> will promptly notify authorities for investigation and inform affected customers. </li>\n\n<li>Due to technical limitations, no data transmitted over the Internet is 100% secure. Therefore, <a href="https://tnmath.edu.vn/">https://tnmath.edu.vn/</a> cannot guarantee absolute security of information and cannot be held responsible for unauthorized access arising from situations such as customers sharing their information with others. </li>\n</ul>\n\nH\xecnh dạng \n\n<h3>9. Guidelines for Data Security</h3>\n\nTo ensure safety and prevent fraud, customers should safeguard their account information by keeping personal data, login details, and payment information confidential. When using public or shared devices, customers should log out after each session. \n\nWe are not responsible for damages caused by data breaches that occur due to customer negligence and not due to any fault of http://tnmath.edu.vn \n';var ek=n(6436);let eF=e=>{let{registrationLicense:t}=e,{t:n}=(0,ea.$G)();return(0,O.jsxs)("div",{className:"flex flex-col col-span-2",children:[(0,O.jsxs)("div",{className:"mb-4 w-fit",children:[(0,O.jsxs)("div",{className:"lg:block hidden",children:[(0,O.jsx)("div",{className:"2xl:w-[248px] xl:w-[210px] w-[158px]",children:(0,O.jsx)(H.Z,{className:"m-auto"})}),(0,O.jsx)("div",{className:"xl:tracking-[0.0125em] tracking-normal 2xl:text-[10px] xl:text-[8.5px] lg:text-[7px] font-montserrat leading-[20px] text-right text-[#232122] font-semibold",children:n("common.headerTitle")})]}),(0,O.jsxs)("div",{className:"lg:hidden block",children:[(0,O.jsx)(ey.W,{}),(0,O.jsx)("div",{className:"text-[4.3px] leading-[6px] text-center",children:(0,O.jsx)("div",{className:"font-montserrat text-[#232122] font-semibold text-right",children:n("common.headerTitle")})})]})]}),(0,O.jsx)("p",{className:"lg:text-gray-60 text-gray-80 max-w-[250px] text-xl font-paytone mb-2",children:n("common.companyName")}),t.map((e,t)=>(0,O.jsx)("p",{className:(0,J.cn)("lg:text-gray-60 text-gray-80 mb-4 max-w-[250px]",1===t&&"text-xl font-paytone mb-2",2===t&&"font-bold mb-1",3===t&&"text-sm"),children:e},(0,ee.Z)()))]})},eS=(e,t,n,a)=>{switch(e){case en.zr.TERMS_OF_USE:t(!0);break;case en.zr.SECURITY_POLICY:n(!0);break;case en.zr.PAYMENT_POLICY:a(!0)}},eD=e=>{let{menus:t,last:n,introduction:a,setIsOpenTermsOfUse:l,setIsOpenSecurityPolicy:r,setIsOpenPaymentPolicy:i}=e;return(0,O.jsxs)("div",{className:"flex flex-col gap-2 text-gray-60 ",children:[t.map(e=>{let{text:t,isLabel:a,url:c,keyConfig:s}=e;return a?(0,O.jsx)("h2",{className:"text-xl font-paytone mb-4 text-gray-80",children:t},(0,ee.Z)()):s?(0,O.jsx)("button",{className:"font-bold leading-6 tracking-[0.005em] text-start",onClick:()=>eS(s,l,r,i),children:t},(0,ee.Z)()):(0,O.jsx)(T.Fragment,{children:(0,O.jsx)(el.Z,{url:c,className:(0,J.cn)("text-gray-60",n&&" font-bold leading-6 tracking-[0.005em]"),children:t})},(0,ee.Z)())}),n&&(0,O.jsx)("div",{className:"lg:block hidden ",children:(0,O.jsx)(eO,{...a})})]})},eO=e=>{let{address:t,email:n,phone:a,certificateImg:l,linkFacebook:r,linkYoutube:i,linkZalo:c,linkTiktok:s}=e;return(0,O.jsxs)("div",{className:"text-gray-60 flex flex-col gap-2 mt-6",children:[t&&(0,O.jsxs)("div",{className:"flex gap-2",children:[(0,O.jsx)(Z,{className:"w-6 lg:w-10 xl:w-6 h-6"}),(0,O.jsx)("p",{className:"max-w-[246px]",children:t})]}),n&&(0,O.jsxs)("div",{className:"flex gap-2",children:[(0,O.jsx)(R,{className:"w-6 h-6"}),(0,O.jsx)("p",{className:"max-w-[246px]",children:n})]}),a&&(0,O.jsxs)("div",{className:"flex gap-2",children:[(0,O.jsx)(B,{className:"w-6 h-6"}),(0,O.jsx)("p",{className:"max-w-[246px]",children:a})]}),(0,O.jsxs)("div",{className:"flex gap-4",children:[i&&(0,O.jsx)(z.default,{href:i,target:"_blank",children:(0,O.jsx)(q,{})}),r&&(0,O.jsx)(z.default,{href:r,target:"_blank",children:(0,O.jsx)(K,{})}),c&&(0,O.jsx)(z.default,{href:c,target:"_blank",children:(0,O.jsx)(W,{})}),s&&(0,O.jsx)(z.default,{href:s,target:"_blank",children:(0,O.jsx)($,{})})]}),l&&(0,O.jsx)(z.default,{href:"http://online.gov.vn/Home/WebDetails/108999?AspxAutoDetectCookieSupport=1",target:"_blank",children:(0,O.jsx)(X.Z,{src:l,alt:"",className:"h-[46px] w-[121px]",isLocal:!0})})]})};var ez=()=>{var e;let{footerMenu:t}=(0,Q.CG)(e=>e.menu),{t:n}=(0,ea.$G)(),[a,l]=(0,T.useState)(!1),[r,i]=(0,T.useState)(!1),[c,s]=(0,T.useState)(!1),[o,h]=(0,T.useState)({}),u=async(e,t)=>{if(!o[e])try{let n=await ek.Z.user.getConfigurations(t);h(t=>({...t,[e]:n}))}catch(e){console.error("Fetch policy error:",e)}};if((0,T.useEffect)(()=>{a&&u("product",en.zr.PRODUCT_POLICY)},[a]),(0,T.useEffect)(()=>{c&&u("payment",en.zr.PAYMENT_POLICY)},[c]),!t)return null;let{menus:d,registrationLicense:m,introduction:f}=t;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("div",{className:"bg-[#FFD7B2] lg:pb-0 pb-[80px]",children:[(0,O.jsx)(et.Z,{showButton:!0,open:a&&!!o.product,onClose:()=>l(!1),title:n("common.termsOfUse"),policy:o.product}),(0,O.jsx)(eN,{open:r,onClose:()=>i(!1)}),(0,O.jsx)(et.Z,{showButton:!0,open:c&&!!o.payment,onClose:()=>s(!1),title:null===(e=o.payment)||void 0===e?void 0:e.titleTranslation,policy:o.payment}),(0,O.jsx)("div",{className:"section-content",children:(0,O.jsxs)("div",{className:"lg:flex flex-row grid grid-cols-2 justify-between lg:py-20 py-10 lg:gap-6 gap-4",children:[(0,O.jsx)(eF,{registrationLicense:m}),d.map((e,t)=>(0,O.jsx)(eD,{menus:e,last:t===d.length-1,introduction:f,setIsOpenTermsOfUse:l,setIsOpenSecurityPolicy:i,setIsOpenPaymentPolicy:s},(0,ee.Z)())),(0,O.jsx)("div",{className:"lg:hidden col-span-2 ",children:(0,O.jsx)(eO,{...f})})]})})]}),(0,O.jsx)(eb,{})]})}},43497:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var a,l,r,i,c=n(57437),s=n(2265),o=n(94746);
1function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var u=function(e){return o.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:"1.313em",height:"1em",fill:"none",viewBox:"0 0 21 16"},e),a||(a=o.createElement("rect",{width:21,height:15,y:.5,fill:"#F93939",rx:3})),l||(l=o.createElement("path",{fill:"#FFDA2C",fillRule:"evenodd",d:"m10.502 9.83-2.09 1.1.4-2.327-1.69-1.647 2.336-.34L10.502 4.5l1.045 2.116 2.335.34-1.69 1.647.4 2.326",clipRule:"evenodd"})))};function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var m=function(e){return o.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:"1.313em",height:"1em",fill:"none",viewBox:"0 0 21 16"},e),r||(r=o.createElement("g",{clipPath:"url(#flag-EN_svg__a)"},o.createElement("rect",{width:21,height:15,y:.5,fill:"#fff",rx:3}),o.createElement("path",{fill:"#1A47B8",fillRule:"evenodd",d:"M0 .5h9v7H0z",clipRule:"evenodd"}),o.createElement("path",{fill:"#F93939",fillRule:"evenodd",d:"M9 .5v1h12v-1zm0 2v1h12v-1zm0 2v1h12v-1zm0 2v1h12v-1zm-9 2v1h21v-1zm0 2v1h21v-1zm0 2v1h21v-1zm0 2v1h21v-1z",clipRule:"evenodd"}),o.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M1 1.5v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-1 1v1h1v-1zm-2 0v1h1v-1zm-2 0v1h1v-1zm-1 1v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-6 2v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-1-1v1h1v-1zm-2 0v1h1v-1zm-2 0v1h1v-1z",clipRule:"evenodd"}))),i||(i=o.createElement("defs",null,o.createElement("clipPath",{id:"flag-EN_svg__a"},o.createElement("rect",{width:21,height:15,y:.5,fill:"#fff",rx:3})))))},f=n(88401),p=n(43949),v=n(80442),g=n(27129),x=n(58683),w=()=>{var e;let{t,i18n:n}=(0,p.$G)(),[a,l]=(0,s.useState)(!1),r=(0,s.useRef)(null),i=(0,g.ej)(x.y.ACCESS_TOKEN),o=[{label:t("language.vietnamese"),value:"vi",flag:u},{label:t("language.english"),value:"en",flag:m}],h=e=>{e!=n.language&&(n.changeLanguage(e),localStorage.setItem("language",e),window.location.reload())};return(0,s.useEffect)(()=>{let e=e=>{r.current&&!r.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,c.jsxs)("div",{ref:r,className:"relative",children:[(0,c.jsx)("button",{className:"focus-visible:outline-none",onClick:()=>l(!a),children:(0,c.jsxs)("div",{className:"flex items-center gap-1 cursor-pointer text-[#1B1B1F]",children:[null===(e=o.find(e=>e.value===n.language))||void 0===e?void 0:e.flag({className:"w-8 h-6"}),(0,c.jsx)(f.Z,{})]})}),a&&(0,c.jsx)("div",{className:(0,v.cn)("absolute top-full sm:left-[-85px] bg-white rounded-lg border border-gray-200 border-solid shadow-base p-2.5 mt-3 flex flex-col gap-5 z-50 min-w-[200px]",i?"left-[-60px]":"left-[-80px]"),children:o.map(e=>(0,c.jsxs)("button",{className:"flex items-center justify-between gap-2 cursor-pointer p-2 min-w-42 hover:bg-primary-5 hover:text-[#171717] rounded-lg",onClick:()=>{h(e.value),l(!1)},children:[e.label,e.flag()]},e.value))})]})}},66043:function(e,t,n){"use strict";n.d(t,{W:function(){return R},Z:function(){return L}});var a,l=n(57437),r=n(2265),i=n(38408),c=n(27648),s=n(110),o=n(43497),h=n(79692),u=n(94746);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var m=function(e){return u.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=u.createElement("path",{fill:"currentColor",d:"M21 12a.75.75 0 0 1-.75.75H3.75a.75.75 0 1 1 0-1.5h16.5A.75.75 0 0 1 21 12M3.75 6.75h16.5a.75.75 0 1 0 0-1.5H3.75a.75.75 0 0 0 0 1.5m16.5 10.5H3.75a.75.75 0 1 0 0 1.5h16.5a.75.75 0 1 0 0-1.5"})))},f=n(43949),p=n(65011),v=n(90060),g=n(71207),x=n(18714),w=n(74032),b=n(99376),y=n(63804),E=n(93837),j=n(33230),M=n(80442),N=n(27129),C=n(58683),A=n(3962),k=n(68575),F=n(64204),S=n(61453),D=n(14645),O=e=>{var t;let{isOpen:n,onClose:a,hasMyTN:i,listUser:s}=e,o=(0,N.ej)(C.y.ACCESS_TOKEN),{userInfo:u,role:d}=(0,j.CG)(e=>e.user),m=null==u?void 0:u.profile,{t:O}=(0,f.$G)(),z=(0,b.useRouter)(),T=(0,b.usePathname)(),H=(0,M.th)("login"),I=(0,M.th)("register"),P=(0,k.I0)(),Z=d===S.zw.STUDENT,L=d===S.zw.PARENTS,R=()=>{P((0,D.qp)(!0))},_=e=>{z.push(e),a()},B=e=>{e(),a()},V=[{label:O("common.vnmf"),href:"https://vnmf.edu.vn",isSpecial:!0},{label:O("common.vmoni"),href:"/",isSpecial:!0},{label:O("common.community"),href:"/",isSpecial:!0},{label:O("myTrangNguyen.myTrangNguyen"),href:F.O.myTnMath,isHidden:!o||!i&&d===S.zw.STUDENT||(null==s?void 0:s.length)===0&&d===S.zw.PARENTS},{label:O("common.about"),href:"/gioi-thieu"}
1,{label:(0,M.ul)(O("common.course")),href:"/khoa-hoc/khoa-hoc-online"},{label:(0,M.ul)(O("publications.publications")),href:"/khoa-hoc/an-pham"},{label:(0,M.ul)(O("learnMath.title")),href:"/hoc-toan",disabledWithParent:!0},{label:(0,M.ul)(O("examPractice.title")),href:"/luyen-toan",disabledWithParent:!0},{label:(0,M.ul)(O("examPractice.exam")),href:"/thi-toan",disabledWithParent:!0},{label:(0,M.ul)(O("common.game")),href:"/game-toan",disabledWithParent:!0},{label:(0,M.ul)(O("common.arena")),href:F.O.arena,disabledWithParent:!0},{label:(0,M.ul)(O("common.worldOfMathematics")),href:"/the-gioi-toan-hoc"},{label:(0,M.ul)(O("common.honorTitle")),href:"/vinh-danh"},{label:(0,M.ul)(O("redeemGifts.title")),href:"/doi-qua",disabledWithParent:!0},{label:"V\xf2ng quay may mắn",href:"/vong-quay-may-man",disabledWithParent:!0},{label:(0,M.ul)(O("common.news")),href:"/tin-tuc"}],q=!!(o&&(null==u?void 0:u.profile)),G=["/doi-qua","/vong-quay-may-man"],K=Z?V:L?V.filter(e=>!e.disabledWithParent):q?V:V.filter(e=>!e.disabledWithParent||G.includes(e.href)),U=e=>"/"!==e&&T.startsWith(e),W=(0,r.useMemo)(()=>[{label:O("common.profilePage"),onClick:()=>{z.push("/quan-ly-tai-khoan/thong-tin-ca-nhan"),P((0,A.H)())},icon:v.Z,href:"/quan-ly-tai-khoan/thong-tin-ca-nhan"},{label:O("changePassword.changePassword"),icon:x.Z,onClick:()=>{z.push("/quan-ly-tai-khoan/doi-mat-khau")},href:"/quan-ly-tai-khoan/doi-mat-khau"},{label:O("common.profileManagement"),icon:g.Z,onClick:()=>{z.push("/quan-ly-ho-so/ho-so-ca-nhan")},href:"/quan-ly-ho-so/ho-so-ca-nhan",isHidden:!Z},{label:O("common.logout"),onClick:()=>{R()},icon:w.Z,href:"#"}],[z,O,Z]);return(0,r.useEffect)(()=>(n?document.body.classList.add("overflow-hidden"):document.body.classList.remove("overflow-hidden"),()=>{document.body.classList.remove("overflow-hidden")}),[n]),(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)("button",{className:"fixed inset-0 bg-black bg-opacity-50 z-[9999] overflow-hidden",onClick:a}),(0,l.jsxs)("div",{className:"fixed top-0 right-0 w-screen max-w-[100vw] h-screen bg-white z-[9999] transition-transform duration-300 ease-in-out ".concat(n?"translate-x-0":"translate-x-full"),children:[(0,l.jsxs)("div",{className:"sticky top-0 w-full h-14 bg-white flex justify-between items-center p-4 border-b border-gray-10",children:[o||(null==u?void 0:u.profile)?(0,l.jsx)("div",{className:"text-lg font-medium"}):(0,l.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,l.jsx)(y.Z,{className:"w-[100px] sm:w-[120px] py-[10px]",url:H,onClick:e=>{e.preventDefault(),_(H)},children:O("common.login")}),(0,l.jsx)(y.Z,{className:"w-[100px] sm:w-[120px] py-[10px]",variant:"primary",url:I,onClick:e=>{e.preventDefault(),_(I)},children:O("common.register")})]}),(0,l.jsx)("button",{onClick:a,className:"text-2xl",children:(0,l.jsx)(p.Z,{className:"text-gray-70 text-[24px]"})})]}),(0,l.jsx)("div",{className:"bg-white h-[calc(100dvh-56px)] flex flex-col pb-6",children:(0,l.jsx)("div",{className:"flex-1 overflow-y-auto overscroll-contain",children:(0,l.jsxs)("div",{className:"w-full px-4 pb-safe",children:[K.map((e,t)=>(0,l.jsx)(c.default,{href:e.href,prefetch:(0,F.b)(e.href),onClick:t=>{t.preventDefault(),_(e.href)},className:(0,M.cn)("py-2 lg:hover:bg-gray-5 h-[48px] text-[16px] leading-[20px] px-2 rounded-lg flex items-center w-full font-semibold",e.isSpecial&&"text-[#1E6F79]",e.isHidden?"hidden":"flex",U(e.href)&&"bg-gray-5"),children:e.label},e.label+t)),o&&(null==u?void 0:u.profile)&&(0,l.jsxs)("div",{className:"mt-4 border-t border-gray-10 py-4 w-full pb-[60px]",children:[(0,l.jsxs)("div",{className:"flex items-center justify-start gap-2 w-full mb-2",children:[(0,l.jsx)(h.Z,{width:40,height:40}),(0,l.jsxs)("div",{className:"text-left flex-1 min-w-0",children:[(0,l.jsx)("p",{className:"text-gray-80 font-bold line-clamp-2 text-[16px] leading-[20px]",children:null==m?void 0:m.fullName}),(0,l.jsx)("p",{className:"text-gray-80 text-[16px] leading-[20px] truncate",children:L?"vi"===(0,M.G3)()?"Phụ Huynh":"Parents":(null==m?void 0:m.userNumber)&&"".concat(O("mathGame.sbd"),": ").concat(null==m?void 0:m.userNumber)})]})]}),(0,l.jsx)("div",{className:"w-full",children:null==W?void 0:null===(t=W.filter(e=>!e.isHidden))||void 0===t?void 0:t.map(e=>{let{icon:t,label:n,onClick:a,href:r}=e;return(0,l.jsxs)(y.Z,{onClick:()=>B(a),className:(0,M.cn)("font-semibold w-full text-[16px] leading-[20px] hover:bg-gray-5 border-none text-left text-gray-80 xl:p-0 p-0 flex items-center gap-2",U(r)&&"bg-gray-5"),children:[null==t?void 0:t(),(0,l.jsx)("span",{className:"truncate",children:n})]},(0,E.Z)())})})]})]})})})]})]})},z=n(6436),T=n(2016),H=n(9913),I=n(14123),P=n.n(I),Z=n(38591),L=e=>{var t;let{hasMyTN:n,listUser:a}=e,u=(0,j.CG)(e=>e.user.userInfo),[d,v]=(0,r.useState)(!1),[g,x]=(0,r.useState)(!1),w=(0,b.useRouter)(),y=null!==(t=(0,b.useSearchParams)().get("keyword"))&&void 0!==t?t:"",E=(0,N.ej)(C.y.ACCESS_TOKEN),[F,S]=(0,r.useState)(""),[D,I]=(0,r.useState)(null),[L,_]=(0,r.useState)(null),[B,V]=(0,r.useState)(null),[q,G]=(0,r.useState)(null),[K,U]=(0,r.useState)(!1),[W,Y]=(0,r.useState)(!1),[$,J]=(0,r.useState)([]),[X,Q]=(0,r.useState)(!1),{t:ee}=(0,f.$G)(),et=(0,r.useRef)(null),en=(0,r.useRef)(!1),ea=(0,r.useRef)(null),el=(0,r.useRef)(null),[er,ei]=(0,r.useState)(!1),ec=(0,k.I0)();(0,r.useEffect)(()=>{S(y)},[y]);let es=()=>{localStorage.removeItem("learningTagId"),localStorage.removeItem("newTagId")},[eo,eh]=(0,r.useState)(null),eu=e=>{S(e.target.value),ed(e.target.value),Q(!1)},ed=(0,r.useMemo)(()=>P()(e=>{ev(e)},1e3),[]);(0,r.useEffect)(()=>()=>{ed.cancel()},[ed]);let em=()=>{if(!F||""===F.trim()){Q(!0),v(!1),ei(!0);return}w.push("/search?keyword=".concat(encodeURIComponent(null!=F?F:""))),localStorage.setItem("keyword",F),v(!1),ei(!1),x(!1),es()},ef=()=>{let e=null;(null==q?void 0:q.keySearch)&&(e=null==q?void 0:q.keySearch,es()),(null==B?void 0:B.data.name)&&(e=null==B?void 0:B.data.name),e&&w.push("/search?keyword=".concat(encodeURIComponent(e))),V(null),G(null),e&&S(e),x(!1)},ep=async()=>
1{if(E)try{let e=await z.Z.search.getHistorySearch();if(!e)return;J(e),localStorage.setItem("historySearch",JSON.stringify(e))}catch(e){console.error("Error fetching search history:",e)}};(0,r.useEffect)(()=>{ef()},[B,W,q,E]),(0,r.useEffect)(()=>{E&&ep()},[E]);let ev=async e=>{try{var t,n;let a=(0,N.ej)(C.y.ACCESS_TOKEN),l={keySearch:e,newTagId:null!==(t=null==D?void 0:D.id)&&void 0!==t?t:null,learningTagId:null!==(n=null==L?void 0:L.id)&&void 0!==n?n:null,accessToken:null!=a?a:""},r=await z.Z.search.postSearchPreview(l);eh(r)}catch(e){console.error(e)}};(0,r.useEffect)(()=>{var e,t;(null==B?void 0:B.name)==="tag"&&(localStorage.setItem("newTagId",null==B?void 0:null===(e=B.data)||void 0===e?void 0:e.id),localStorage.removeItem("learningTagId"),_(null)),(null==B?void 0:B.name)==="learning"&&(localStorage.setItem("learningTagId",null==B?void 0:null===(t=B.data)||void 0===t?void 0:t.id),localStorage.removeItem("newTagId"),I(null))},[B]),(0,r.useEffect)(()=>{d&&(0===F.length?(ep(),eh(null)):F.length>1&&Q(!1))},[d,F]),(0,r.useEffect)(()=>{d&&F.length>1&&ev(F)},[d]);let eg=()=>{S(""),et.current&&(en.current=!0,et.current.stop()),x(e=>!e),v(e=>!e)},ex=()=>{S(""),et.current&&(en.current=!0,et.current.stop()),x(!1)};(0,r.useEffect)(()=>{let e=window.innerWidth-document.documentElement.clientWidth;return g?(document.body.style.overflow="hidden",document.body.style.paddingRight="".concat(e,"px")):(document.body.style.overflow="",document.body.style.paddingRight=""),()=>{document.body.style.overflow="",document.body.style.paddingRight=""}},[g]);let ew="safari"===(0,Z.G)();return(0,r.useEffect)(()=>{let e=e=>{ea.current&&el.current&&!ea.current.contains(e.target)&&!el.current.contains(e.target)&&(x(!1),v(!1),S(""),et.current&&(en.current=!0,et.current.stop()))};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[]),(0,l.jsxs)("div",{className:"h-[60px]",children:[(0,l.jsxs)("header",{className:"fixed top-0 left-0 w-screen bg-white z-[9990] h-[60px] border-b border-gray-10",children:[(0,l.jsxs)("div",{className:"absolute left-0 top-0 w-full px-4 flex justify-between items-center pt-2",children:[(0,l.jsxs)(c.default,{href:"/",className:"flex-shrink-0 flex flex-col items-center",children:[(0,l.jsx)(R,{}),(0,l.jsx)("div",{className:"text-[4.3px] leading-[6px] w-full text-right",children:(0,l.jsx)("div",{className:"font-montserrat text-[#232122] font-[600] text-right w-full",children:ee("common.headerTitle")})})]}),(0,l.jsxs)("div",{className:(0,M.cn)("flex items-center gap-6 ml-auto",E&&"gap-4"),children:[(0,l.jsx)("div",{className:(0,M.cn)("mt-2",!E&&!(null==u?void 0:u.profile)&&"mr-6 lg:mr-0"),children:(0,l.jsx)(o.Z,{})}),(0,l.jsx)("button",{onClick:()=>eg(),ref:el,children:(0,l.jsx)(i.Z,{className:"text-gray-60 text-[24px]"})}),E&&(0,l.jsx)(l.Fragment,{children:(null==u?void 0:u.profile)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.Z,{}),(0,l.jsx)(c.default,{href:"/quan-ly-tai-khoan/thong-tin-ca-nhan",onClick:()=>{ec((0,A.H)())},children:(0,l.jsx)(h.Z,{width:24,height:24})})]}):(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"inline-block h-6 w-6 animate-spin rounded-full border-4 border-solid border-r-transparent border-primary align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"})})}),(0,l.jsx)("button",{onClick:()=>U(!0),children:(0,l.jsx)(m,{className:"text-gray-70"})})]})]}),g&&(0,l.jsxs)("div",{ref:ea,className:"absolute left-1/2 transform -translate-x-1/2 border border-[#F2F2F2] rounded-lg bg-white w-[calc(100%-16px)] top-[60px]",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("p",{className:"px-4 py-5 font-paytone text-t1m",children:ee("common.search")}),(0,l.jsx)("button",{onClick:()=>ex(),children:(0,l.jsx)(p.Z,{width:20,height:20,className:"text-gray-30 hover:text-primary mr-5"})})]}),(0,l.jsxs)("div",{className:"bg-[#F8F8F8] p-4 rounded-md",children:[(0,l.jsx)("div",{className:"relative bg-white",children:(0,l.jsx)(T.Z,{inputValue:F,isOpenSearch:g,value:F,setInputValue:S,handleSearchMic:e=>{v(!1),w.push("/search?keyword=".concat(encodeURIComponent(e)))},onChange:e=>eu(e),onFocus:()=>v(!0),maxLength:200,onKeyDown:e=>{if("Enter"===e.key){if(!F||""===F.trim()){Q(!0),v(!1),ei(!0);return}Q(!1),w.push("/search?keyword=".concat(encodeURIComponent(null!=F?F:""))),localStorage.setItem("keyword",F),e.currentTarget.blur(),v(!1),x(!1),ei(!1),es()}},validateSearchInput:em,className:"w-full lg:w-[400px] border-[#FF7B00]",isEmpty:X,getHistorySearch:ep,setIsOpen:v,setIsEmpty:Q,isCheckSearch:er,recognitionRef:et,isCanceledManuallyRef:en,hideSuffix:ew})}),(0,l.jsx)(H.Z,{inputValue:F,setLearningTag:_,setNewTag:I,searchResultsPreview:eo,isOpen:d,setSearchItemKey:V,setIsOpen:v,setIsSearch:Y,historySearch:$,setHistorySearch:J,setSearchItemKeyHistory:G,closeResultSearch:()=>{v(!1),x(!1)},validateSearchInput:em})]})]})]}),(0,l.jsx)(O,{hasMyTN:n,listUser:a,isOpen:K,onClose:()=>U(!1)})]})};let R=()=>(0,l.jsxs)("svg",{width:"104",height:"36",viewBox:"0 0 104 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M26.1421 11.1328V14.5689L16.9956 18.0055L7.84912 14.5689V11.1328L16.9956 14.5689L26.1421 11.1328Z",fill:"#FFAD16"}),(0,l.jsx)("path",{d:"M33.9917 6.76128L16.9956 13.0447L0 6.76128L16.9956 0L33.9917 6.76128Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M26.1421 17.9973V21.2957L19.2618 18.7182V35.8222H14.6141V18.7617L7.84912 21.2957V17.9973L16.9956 14.5684L26.1421 17.9973Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M43.1694 18.0137V35.8219H39.5788L38.7871 34.7292L31.86 25.1706V35.8219H27.4778V18.0137H31.2756L31.86 18.8347L38.7871 28.5584V18.0137H43.1694Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M48.7464 18.0137H46.4658V35.8219H48.7464V18.0137Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M52.5618 22.148L50.9929 23.4099L47.0533 18.6411L48.2006 18.0137H49.1982L52.5618 22.148Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M58.1968 29.0745L56.7042 30.3251L51.5057 24.0322L53.071 22.7744L58.1968 29.0745Z",fill:"#FFAD16"}),(0,l.jsx)("path",{d:"M61.0886 35.8223L63.3693 35.8223L63.3693 18.014L61.0886 18.014L61.0886 35.8223Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M57.2738 22.148L58.8427 23.4099L62.7816 18.6411L61.635 18.0137H60.6374L57.2738 22.148Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M51.6385 29.0745L53.1311 30.3251L58.329 24.0322L56.7638 22.7744L51.6385 29.0745Z",fill:"#FFAD16"}),(0,l.jsx)("path",{d:"M4.16533 7.73438H3.70044V13.3863H4.16533V7.73438Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M3.94632 14.6491C4.54541 14.6491 5.03107 14.1674 5.03107 13.5731C5.03107 12.9788 4.54541 12.4971 3.94632 12.4971C3.34723 12.4971 2.86157 12.9788 2.86157 13.5731C2.86157 14.1674 3.34723 14.6491 3.94632 14.6491Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M5.60326 18.0043H2.28955L3.9455 13.5732L5.60326 18.0043Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M73.1716 22.4023H66.988V24.4382H73.1716V22.4023Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M73.972 22.5469C73.972 22.5469 77.1608 23.2851 77.1608 26.2945C77.1608 29.304 77.1608 35.5147 77.1608 35.5147H75.1601V26.5895C75.1601 26.5895 75.1685 25.8852 74.8844 25.4157C74.6003 24.9462 73.972 24.6132 73.972 24.6132V22.5469Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M75.1597 27.9004H69.5912C69.5912 27.9004 66.7514 28.0166 65.839 30.4105C65.0642 32.4423 65.9946 34.0629 66.6823 34.6623C67.1676 35.0853 68.0338 35.8426 70.7444 35.8426C73.4941 35.8426 75.2888 33.9961 75.2888 33.9961V31.9299C75.2888 31.9299 73.7734 33.9038 71.1577 33.9961C69.0326 34.0712 68.474 33.6744 68.0422 33.0828C67.6986 32.6115 67.4397 31.2322 68.1281 30.4445C68.7101 29.7784 69.1858 29.642 70.4213 29.6247C71.6568 29.6074 75.1597 29.6074 75.1597 29.6074L75.4955 28.2072L75.1597 27.9004Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M86.8722 33.851V35.3709C86.265 35.6605 85.6373 35.7743 85.
11856 35.8184C85.0469 35.8315 84.9255 35.838 84.8252 35.8416C84.6468 35.847 84.5417 35.8416 84.5417 35.8416H84.2318C82.3062 35.8416 80.7451 34.2931 80.7451 32.3829V27.8994H82.9663V32.3567C82.9663 33.108 83.4822 33.7419 84.1802 33.9249C84.2264 33.9356 84.5297 34.0399 85.1856 34.0548C86.1586 34.0768 86.8722 33.851 86.8722 33.851Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M82.9699 19.5146H80.7451V27.1851H82.9699V19.5146Z",fill:"#FFAD16"}),(0,l.jsx)("path",{d:"M77.9097 22.6067V24.4531H85.9005V22.6067H77.9097Z",fill:"#FFAD16"}),(0,l.jsx)("path",{d:"M90.8148 17.2793H88.5342V35.8222H90.8148V17.2793Z",fill:"#232122"}),(0,l.jsx)("path",{d:"M100.488 27.9004H98.2076V35.8229H100.488V27.9004Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M96.0085 32.6009C96.6145 32.6009 97.1058 32.1136 97.1058 31.5124C97.1058 30.9112 96.6145 30.4238 96.0085 30.4238C95.4024 30.4238 94.9111 30.9112 94.9111 31.5124C94.9111 32.1136 95.4024 32.6009 96.0085 32.6009Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M102.902 32.6009C103.508 32.6009 104 32.1136 104 31.5124C104 30.9112 103.508 30.4238 102.902 30.4238C102.296 30.4238 101.805 30.9112 101.805 31.5124C101.805 32.1136 102.296 32.6009 102.902 32.6009Z",fill:"#FF7B00"}),(0,l.jsx)("path",{d:"M90.6641 26.0647C90.6641 26.0647 92.5621 23.952 95.3376 24.1695C98.1131 24.3869 98.2807 25.6036 98.2807 27.1855H100.488C100.488 27.1855 100.836 24.1695 98.5901 23.0041C96.3437 21.8386 92.5873 22.3379 90.7409 24.2076L90.6641 26.0647Z",fill:"#232122"})]})},110:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var a,l,r,i,c,s,o,h,u,d,m=n(57437),f=n(2265),p=n(94746);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var g=function(e){return p.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},e),a||(a=p.createElement("path",{fill:"gray",d:"M8.303 16.023c.417-.088 2.955-.088 3.372 0 .356.082.74.274.74.694-.02.4-.254.754-.578.979-.42.327-.913.534-1.428.61a3.2 3.2 0 0 1-.84 0 3 3 0 0 1-1.428-.611c-.324-.224-.559-.578-.58-.978 0-.42.386-.612.742-.694m1.735-14.356c1.733 0 3.504.822 4.556 2.187.683.878.996 1.756.996 3.121v.355c0 1.047.276 1.664.885 2.374.461.524.609 1.196.609 1.926 0 .728-.24 1.42-.72 1.981a3.78 3.78 0 0 1-2.416 1.178c-1.31.112-2.62.206-3.947.206-1.329 0-2.638-.057-3.948-.206a3.78 3.78 0 0 1-2.416-1.178 3 3 0 0 1-.72-1.981c0-.73.148-1.402.609-1.926.628-.71.886-1.327.886-2.374v-.355c0-1.402.35-2.318 1.07-3.215 1.07-1.309 2.784-2.093 4.481-2.093z"})))},x=n(80442),w=n(43949),b=e=>{let{selectedItem:t,setSelectedItem:n,notifications:a}=e,{t:l}=(0,w.$G)(),r=a.filter(e=>!e.isRead),i=[{id:0,title:l("common.all"),value:0},{id:1,title:l("notification.read"),value:1},{id:2,title:l("notification.unRead"),value:2,count:(null==r?void 0:r.length)>0?null==r?void 0:r.length:null}];return(0,m.jsx)("div",{className:"flex gap-6 items-center",children:null==i?void 0:i.map(e=>(0,m.jsxs)("button",{onClick:()=>n(e.id),className:(0,x.cn)("flex flex-wrap font-medium gap-1 py-1 text-gray-80 transition-all border-transparent",t===e.id&&"text-primary"),children:[(0,m.jsx)("p",{children:e.title}),(null==e?void 0:e.count)&&(0,m.jsx)("p",{className:"text-primary",children:e.count}),(0,m.jsx)("div",{className:(0,x.cn)("w-full h-1 bg-transparent rounded-lg",t===e.id&&"bg-primary")})]},e.id))})},y=n(65011),E=n(63804),j=n(76367),M=n(6436),N={src:"https://static.tnmath.edu.vn/_next/static/media/default-notification.bb63928a.png",height:4096,width:4096,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAb1BMVEXav53csovZvpqwu6vew5zss3SupIPmx53kyqLdwJLuxI6dckmMj4zk7erK0MLipYP6vJHemG7ORDHf1p/ZrHxGkVbSupjClFfcvrXNbixJiZJoZluehm7Pzsu0z8GUdEewnn5Ee1b239DFvJmkmYAAVCdDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAARUlEQVR4nAXBhQHAMAwDMHeFJKUxM/x/4yRAERMRUNTeCrOBabuw6MrA9VtYx6bEkON92glwOh358YLiinv6ZguwuFcUfmkJA0OoyHFLAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};function C(){return(C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var A=function(e){return p.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),l||(l=p.createElement("path",{fill:"#A3DEFE",d:"M17.979 22.415c-2.053 0-3.982-.8-5.434-2.25l-.705-.706a1.955 1.955 0 0 1 2.764-2.764l.706.705a3.75 3.75 0 0 0 2.669 1.106 3.75 3.75 0 0 0 2.67-1.106l4.34-4.341a3.75 3.75 0 0 0 1.106-2.67A3.75 3.75 0 0 0 24.99 7.72l-.706-.705a3.75 3.75 0 0 0-2.669-1.106 3.75 3.75 0 0 0-2.67 1.106 1.955 1.955 0 0 1-2.764-2.764A7.63 7.63 0 0 1 21.615 2c2.052 0 3.982.8 5.434 2.25l.705.706c2.996 2.996 2.996 7.871 0 10.867l-4.342 4.341a7.63 7.63 0 0 1-5.433 2.251"})),r||(r=p.createElement("path",{fill:"#7ACEFA",d:"m23.349 14.7-2.701 2.7a3.75 3.75 0 0 1-2.669 1.105c-.356 0-.705-.05-1.038-.144a2.22 2.22 0 0 1-.624 1.203l-1.952 1.952a7.65 7.65 0 0 0 3.614.899c2.053 0 3.982-.8 5.433-2.251l.354-.354a9.3 9.3 0 0 0-.417-5.11"})),i||(i=p.createElement("path",{fill:"#8EAFE2",d:"M10.386 30a7.66 7.66 0 0 1-5.434-2.247l-.705-.705c-2.996-2.996-2.996-7.87 0-10.867l4.341-4.341c2.996-2.996 7.871-2.996 10.867 0l.706.705a7.63 7.63 0 0 1 2.25 5.434c0 2.052-.799 3.982-2.25 5.433l-4.341 4.342A7.66 7.66 0 0 1 10.386 30M14.022 13.5a3.75 3.75 0 0 0-2.67 1.105l-4.34 4.342a3.78 3.78 0 0 0 0 5.338l.705.705a3.75 3.75 0 0 0 2.669 1.106 3.75 3.75 0 0 0 2.67-1.106l4.34-4.341a3.75 3.75 0 0 0 1.106-2.67 3.75 3.75 0 0 0-1.106-2.668l-.705-.706a3.75 3.75 0 0 0-2.67-1.105"})),c||(c=p.createElement("path",{fill:"#6A96D7",d:"M16.198 27.375c-1.316-.714-2.295-1.553-3.034-2.495l-.109.109a3.75 3.75 0 0 1-2.669 1.106 3.75 3.75 0 0 1-2.67-1.106l-.705-.705a3.78 3.78 0 0 1 0-5.339l4.342-4.341a3.75 3.75 0 0 1 2.669-1.106q.536.001 1.04.145a2.23 2.23 0 0 1 .622-1.204l1.95-1.95c-2.906-1.543-6.601-1.094-9.046 1.35l-4.341 4.342c-2.996 2.996-2.996 7.87 0 10.867l.705.705A7.66 7.66 0 0 0 10.386 30a7.66 7.66 0 0 0 5.433-2.247z"})),s||(s=p.createElement("path",{fill:"#8EAFE2",d:"M4.934 19.813a.41.41 0 0 1-.41-.41v-1.2a.41.41 0 1 1 .82 0v1.2a.41.41 0 0 1-.41.41M3.85 22.057a.41.41 0 0 1-.41-.41v-.658a.41.41 0 0 1 .82 0v.658a.41.41 0 0 1-.41.41"})),o||(o=p.createElement("path",{fill:"#A3DEFE",d:"M13.222 20.031c-.5 0-1-.19-1.382-.572-2.996-2.996-2.996-7.871 0-10.867L16.18 4.25a1.955 1.955 0 0 1 2.764 2.765l-4.34 4.34a3.78 3.78 0 0 0 0 5.34 1.955 1.955 0 0 1-1.383 3.336"})),h||(h=p.createElement("path",{fill:"#7ACEFA",d:"M28.107 11.654a.41.41 0 0 1-.41-.41v-1.18a.41.41 0 0 1 .82 0v1.18a.41.41 0 0 1-.41.41"})))},k=n(33230),F=n(61453),S=n(46175),D=n(68575),O=n(93837),z=n(94272),T=n(56342),H=n(27648),I=n(88145),P=e=>{var t,n,a,l,r,i,c,s;let{item:o,notifications:h,setNotifications:u,setShowNotice:d}=e,{t:f}=(0,w.$G)(),{userInfo:p}=(0,k.CG)(e=>e.user),v=0===Number(null==p?void 0:p.role)?F.zw.STUDENT:F.zw.PARENTS,g=(0,D.I0)(),b=async()=>{try{if(await M.Z.notification.markNotificationAsRead(o.id)){let e=h.map(e=>e.id===o.id?{...e,isRead:!0}:e);u(e)}}catch(e){e&&(0,j.C)("Error","error")}},y=(null==o?void 0:null===(t=o.metaData)||void 0===t?void 0:t.code)&&(null==o?void 0:null===(n=o.metaData)||void 0===n?void 0:n.childId)&&(null==o?void 0:null===(a=o.metaData)||void 0===a?void 0:a.isConfirm)==!1,C=async()=>{try{var e,t,n,a;let l=await M.Z.accountManagementInStudent.acceptLinkAccount({code:null!==(n=null==o?void 0:null===(e=o.metaData)||void 0===e?void 0:e.code)&&void 0!==n?n:"",childId:null!==(a=null==o?void 0:null===(t=o.metaData)||void 0===t?void 0:t.childId
1)&&void 0!==a?a:""});200===l.code?(S.default.success(f("accountManagement.AccountManagementInStudent.linkSuccess")),g((0,z.Im)((0,O.Z)())),d(!1)):S.default.error(f("accountManagement.AccountManagementInStudent.codeNotFoundOrExpired"))}catch(e){S.default.error(f("accountManagement.AccountManagementInStudent.codeNotFoundOrExpired")),console.log("error",e)}},P=async()=>{try{var e,t,n,a;let l=await M.Z.accountManagementInStudent.rejectLinkAccount({code:null!==(n=null==o?void 0:null===(e=o.metaData)||void 0===e?void 0:e.code)&&void 0!==n?n:"",childId:null!==(a=null==o?void 0:null===(t=o.metaData)||void 0===t?void 0:t.childId)&&void 0!==a?a:""});200===l.code?(S.default.success(f("accountManagement.AccountManagementInStudent.unLinkSuccess")),d(!1)):S.default.error(f("accountManagement.AccountManagementInStudent.codeNotFoundOrExpired"))}catch(e){S.default.error(f("accountManagement.AccountManagementInStudent.codeNotFoundOrExpired")),console.log("error",e)}};return(0,m.jsx)("div",{className:"w-full py-4 border-b border-gray-10 first-of-type:pt-2 last-of-type:border-transparent ",children:(0,m.jsxs)("button",{onClick:b,children:[(0,m.jsx)(H.default,{href:(null==o?void 0:null===(l=o.metaData)||void 0===l?void 0:l.link)||"",children:(0,m.jsxs)("div",{className:"flex text-left",children:[(0,m.jsx)("div",{className:(0,x.cn)("min-w-[84px] w-max-content min-h-[56px] max-h-[56px] relative mr-5"),children:(null==o?void 0:null===(r=o.metaData)||void 0===r?void 0:r.updatingRelationshipsType)!=null?(0,m.jsx)(A,{className:"min-h-[56px] max-h-[56px] min-w-[84px] "}):(0,m.jsx)(I.Z,{src:null!==(c=null==o?void 0:null===(i=o.metaData)||void 0===i?void 0:i.notificationImage)&&void 0!==c?c:N,alt:"ảnh th\xf4ng b\xe1o",isLocal:!1,className:"w-full h-full",classNameImg:"object-contain w-full h-full"})}),(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:(0,x.cn)("text-gray-80 !text-t2m font-bold lg:!text-base ",!(null==o?void 0:o.isRead)&&"text-primary"),children:null==o?void 0:o.titleTranslation}),(0,m.jsx)("p",{className:(0,x.cn)("text-gray-60 text-[12px]",!(null==o?void 0:o.isRead)&&"text-primary"),children:(0,x.Bi)(null==o?void 0:o.createdAt,"DD/MM/YYYY")}),(0,m.jsx)("div",{className:(0,x.cn)("!text-gray-60 text-dm lg:text-sm",!(null==o?void 0:o.isRead)&&"!text-primary"),children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,T.a)(null!==(s=null==o?void 0:o.messageTranslation)&&void 0!==s?s:"",{allowedTags:!1,allowedAttributes:{"*":["style"]},transformTags:{"*":(e,t)=>
1(t.style&&(t.style=t.style.replace(/color\s*:[^;]+;?/gi,"").replace(/background(-color)?\s*:[^;]+;?/gi,"")),{tagName:e,attribs:t})}})}})})]})]})}),y&&v===F.zw.PARENTS&&(0,m.jsxs)("div",{className:"flex justify-end gap-2 mt-1",children:[(0,m.jsx)(E.Z,{onClick:C,variant:"primary",className:"lg:min-w-[110px] min-w-[100px] lg:min-h-[40px] min-h-[40px] text-dm lg:font-bold font-semibold !py-0 text-white",children:f("common.agree")}),(0,m.jsx)(E.Z,{onClick:P,className:"lg:min-w-[110px] min-w-[100px] lg:min-h-[40px] min-h-[40px] text-dm lg:font-bold font-semibold !py-0",children:f("accountManagement.AccountManagementInStudent.rejectLinkAccount")})]})]})})};function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var L=function(e){return p.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),u||(u=p.createElement("path",{fill:"currentColor",d:"M11.999 17.979a3.13 3.13 0 0 1-1.639-.465L3.002 13v6.993A1.01 1.01 0 0 0 4.007 21h15.99a1.004 1.004 0 0 0 1.005-1.007V13l-7.358 4.512a3.13 3.13 0 0 1-1.645.467"})),d||(d=p.createElement("path",{fill:"currentColor",d:"m20.728 9.31-1.8-1.91V4.04A1.043 1.043 0 0 0 17.89 3H6.038a1.044 1.044 0 0 0-1.036 1.04v3.42L3.271 9.31a.95.95 0 0 0-.26.79.3.3 0 0 0 .01.1 1.07 1.07 0 0 0 .52.84l7.83 4.79c.181.11.389.17.6.17a1.14 1.14 0 0 0 .588-.17l7.83-4.79c.176-.105.318-.257.41-.44a1 1 0 0 0-.07-1.29M13.95 11H7.988a1 1 0 0 1 0-2h5.962a1 1 0 1 1 0 2m1.99-3.99H7.988a1.01 1.01 0 0 1 0-2.02h7.952a1.01 1.01 0 0 1 0 2.02"})))},R=n(44036),_=n(41880),B=e=>{let{open:t,onClose:n,markAllNotificationAsRead:a}=e,{t:l}=(0,w.$G)(),r=l("notification.notification"),i=l("notification.markAllNotificationAsRead");return(0,m.jsxs)(_.Z,{open:t,onClose:n,className:"md:w-auto w-[93vw] p-4",hideClose:!0,children:[(0,m.jsx)("div",{className:"flex justify-end md:w-[376px]",children:(0,m.jsx)("button",{className:"absolute top-2 right-2",onClick:n,children:(0,m.jsx)(y.Z,{className:"text-gray-70 text-[24px]"})})}),(0,m.jsxs)("div",{className:"text-center",children:[(0,m.jsx)("p",{className:"text-gray-70 font-paytone text-xl",children:r}),(0,m.jsx)("p",{className:"text-gray-70 mt-4 mb-8 whitespace-pre-line",children:i})]}),(0,m.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,m.jsx)(E.Z,{onClick:n,className:"flex-1",children:l("common.cancel")}),(0,m.jsx)(E.Z,{variant:"primary",className:"flex-1",onClick:()=>{a(),n()},children:l("common.agree")})]})]})},V=e=>{let{loading:t,notifications:n,setNotifications:a,setShowNotice:l,selectedItem:r,setSelectedItem:i,markAllNotificationAsRead:c}=e,{t:s}=(0,w.$G)(),[o,h]=(0,f.useState)(!1),u=(0,f.useMemo)(()=>n.filter(e=>!e.isRead),[n]),d=(0,f.useMemo)(()=>n.filter(e=>e.isRead),[n]),p=()=>{switch(r){case 1:return d;case 2:return u;default:return n}};return(0,m.jsxs)("div",{className:"absolute z-10 w-[343px] bg-white top-[48px] -left-[205px] sm:-left-[280px] sm:w-[416px] rounded-b-2xl",children:[(0,m.jsxs)("div",{className:"border border-gray-5 p-4 flex items-start justify-between rounded-t-lg",children:[(0,m.jsx)(b,{selectedItem:r,setSelectedItem:i,notifications:n}),(0,m.jsx)(B,{open:o,onClose:()=>h(!1),markAllNotificationAsRead:c}),(0,m.jsxs)("div",{className:"flex items-start justify-center gap-6 pt-1",children:[(0,m.jsx)(R.Z,{position:"bottom",content:s("notification.markAsAllRead"),children:(0,m.jsx)("button",{onClick:()=>{h(!0)},className:"cursor-pointer",children:(0,m.jsx)(L,{className:"text-gray-70 text-[24px] hover:text-primary"})})}),(0,m.jsx)("button",{onClick:()=>{i(0),l(!1)},className:"cursor-pointer",children:(0,m.jsx)(y.Z,{className:"text-gray-70 text-[24px]"})})]})]}),(0,m.jsx)("div",{className:"p-2 bg-bg-elevation rounded-b-2xl border border-gray-5 border-top-0",children:t?null:(0,m.jsx)("div",{className:"w-full px-2 max-h-[344px] overflow-auto",children:(()=>{let e=p();return 0===e.length?(0,m.jsx)("div",{className:"p-4 text-center w-full text-sm text-gray-60",children:s("notification.noNotice")}):e.map(e=>(0,m.jsx)(P,{item:e,notifications:n,setNotifications:a,setShowNotice:l},e.id))})()})})]})},q=n(18719),G=()=>{let{t:e}=(0,w.$G)(),[t,n]=(0,f.useState)(!1),a=(0,f.useRef)(null),l=(0,f.useRef)(null),[r,i]=(0,f.useState)(0),c=(0,k.TL)(),{list:s,loading:o,hasUnread:h}=(0,k.CG)(e=>e.notification),u=async()=>
1{if(0!==s.filter(e=>!e.isRead).length)try{await c((0,q.op)()).unwrap()&&(0,j.C)(e("common.success"),"success")}catch(e){console.log(e)}};return(0,f.useEffect)(()=>{function e(e){var t;if(null===(t=l.current)||void 0===t?void 0:t.contains(e.target))return;let r=e.target;r.closest('[role="dialog"]')||r.closest(".fixed")||!a.current||a.current.contains(e.target)||n(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,m.jsxs)("div",{ref:a,className:"relative p-1.5 flex items-start justify-center sm:flex sm:items-center sm:justify-center",children:[(0,m.jsxs)("button",{ref:l,className:"cursor-pointer relative",onClick:()=>n(e=>!e),children:[(0,m.jsx)(g,{className:"size-5 text-xl"}),h&&(0,m.jsx)("div",{className:"absolute w-3 h-3 bg-warning-50 rounded-full -right-[2px] -top-[3px]"})]}),t&&(0,m.jsx)(V,{loading:o,notifications:s,setNotifications:e=>{c((0,q.Rv)(e))},selectedItem:r,setSelectedItem:i,setShowNotice:n,markAllNotificationAsRead:u})]})}},9913:function(e,t,n){"use strict";var a=n(57437),l=n(15549),r=n(6436),i=n(2265);t.Z=e=>{var t;let{isOpen:n,inputValue:c,setNewTag:s,setLearningTag:o,searchResultsPreview:h,setSearchItemKey:u,setIsOpen:d,setIsSearch:m,historySearch:f,setHistorySearch:p,setSearchItemKeyHistory:v,closeResultSearch:g,validateSearchInput:x}=e,[w,b]=(0,i.useState)(null),y=async()=>{try{let e=await r.Z.search.getTopSearchTags();b(e)}catch(e){console.error(e)}},E=(0,i.useRef)(!1);(0,i.useEffect)(()=>{n&&!E.current&&(E.current=!0,y())},[n]),(0,i.useEffect)(()=>{if(!f||(null==f?void 0:f.length)===0){var e;let t=JSON.parse(null!==(e=localStorage.getItem("historySearch"))&&void 0!==e?e:"null");t&&p(t)}},[n]);let j=n&&(c.length>0||(null!==(t=null==f?void 0:f.length)&&void 0!==t?t:0)>0);return(0,a.jsx)("div",{className:"absolute w-full z-2 left-0 lg:left-auto",children:j&&(0,a.jsx)(l.Z,{keywords:w,inputValue:c,setLearningTag:o,setNewTag:s,searchResultsPreview:h,historySearch:f,setSearchItemKey:u,setIsOpen:d,setIsSearch:m,setSearchItemKeyHistory:v,closeResultSearch:g,validateSearchInput:x,setHistorySearch:p})})}},2016:function(e,t,n){"use strict";var a=n(57437),l=n(2265),r=n(38408),i=n(8679),c=n(43949),s=n(80442),o=n(99376),h=n(65011),u=n(13135),d=n(76367);t.Z=e=>{var t;let{hideSuffix:n,className:m,isOpenSearch:f,inputClassName:p,validateSearchInput:v,setInputValue:g,handleSearchMic:x,inputValue:w,isEmpty:b,getHistorySearch:y,setIsOpen:E,setIsEmpty:j,isCheckSearch:M,recognitionRef:N,isCanceledManuallyRef:C,...A}=e,{t:k}=(0,c.$G)(),F=(0,l.useRef)(null),S=(0,l.useRef)(null),D=null!==(t=(0,o.useSearchParams)().get("keyword"))&&void 0!==t?t:"",O=(0,s.G3)(),[z,T]=(0,l.useState)(!1),[H,I]=(0,l.useState)(!1),P=(0,l.useRef)(null);return(0,l.useEffect)(()=>{w.length>0&&M&&E(!0)},[w]),(0,l.useEffect)(()=>{let e=S.current;null==e||e.addEventListener("focus",()=>{var e;null===(e=F.current)||void 0===e||e.classList.add("!border-primary"),j(!1)}),null==e||e.addEventListener("blur",()=>{var e;null===(e=F.current)||void 0===e||e.classList.remove("!border-primary")});let t=e=>{H&&N.current&&F.current&&!F.current.contains(e.target)&&(C.current=!0,N.current.stop())};return document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}},[H]),(0,l.useEffect)(()=>{S.current&&(S.current.value=D)},[D]),(0,l.useEffect)(()=>{if(f){var e;null===(e=S.current)||void 0===e||e.focus(),S.current&&(S.current.value="")}},[f]),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{ref:F,className:(0,s.cn)("flex items-center border rounded-lg h-12 w-fit relative border-[#e5e7eb]",m),children:[(0,a.jsx)(u.Z,{isOpen:z,setIsOpen:T}),(0,a.jsx)("button",{onClick:v,children:(0,a.jsx)("div",{className:"size-12 flex justify-center items-center",children:(0,a.jsx)(r.Z,{className:"text-primary text-[24px]"})})}),(0,a.jsx)("input",{ref:S,value:w,className:(0,s.cn)("p-0 border-transparent focus:border-transparent focus:ring-0 flex-1 relative w-full caret-primary ",p),placeholder:"".concat(k("common.search"),"..."),...A}),w.length>0&&(0,a.jsx)("button",{onClick:()=>{var e;g(""),y(),null===(e=S.current)||void 0===e||e.focus()},children:(0,a.jsx)(h.Z,{width:20,height:20,className:"text-gray-30 hover:text-primary mr-3 sm:mr-5 lg:mr-0"})}),!n&&(0,a.jsx)("button",{onClick:()=>
1{if(!("webkitSpeechRecognition"in window||"SpeechRecognition"in window)){T(!0);return}let e=new(window.SpeechRecognition||window.webkitSpeechRecognition);e.lang="vi"===O?"vi-VN":"en-US",e.continuous=!1,e.interimResults=!1;let t=!1,n=!1;C.current=!1,e.onstart=()=>{n=!0,I(!0)},e.onresult=n=>{if(n.results.length>0){let a=n.results[0][0].transcript.trim(),l=a.split(/\s+/);if(l.length>200){let t=l.slice(0,200).join(" ");g(t),x(t),e.stop(),I(!1);return}a&&(g(a),x(a),t=!0),P.current&&clearTimeout(P.current),P.current=setTimeout(()=>{e.stop(),I(!1)},1e3)}},e.onend=()=>{I(!1),!n||t||C.current||(0,d.C)(k("search.voiceError"),"error")},e.onerror=e=>{console.error(k("common.voiceError"),e.error),I(!1),"not-allowed"===e.error&&T(!0)};try{e.start(),N.current=e}catch(e){console.error(k("common.voiceError"),e),T(!0),I(!1)}},disabled:H,className:(0,s.cn)("mr-0 text-primary",{"opacity-50 cursor-not-allowed":H}),children:(0,a.jsx)(i.Z,{className:"text-primary"})})]}),b&&(0,a.jsx)("div",{className:"text-error-50 text-sm m-1 text-warning-50 absolute",children:k("search.searchInputEmpty")})]})}},92146:function(e,t,n){"use strict";n.d(t,{default:function(){return er}});var a,l,r,i,c=n(57437),s=n(2265),o=n(13589),h=n(27648),u=n(99376),d=n(43949),m=n(14123),f=n.n(m),p=n(33230),v=n(6436),g=n(73823),x=n(27129),w=n(58683),b=n(61453),y=n(38591),E=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let a=a=>{let l=a.target;t.some(e=>l.closest(e))||!n.current||n.current.contains(l)||e(a)};return document.addEventListener("mouseup",a),document.addEventListener("touchend",a),()=>{document.removeEventListener("mouseup",a),document.removeEventListener("touchend",a)}},[e,t]),n},j=n(18719),M=n(9913),N=n(66043),C=n(2016),A=n(94746);function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var F=function(e){return A.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=A.createElement("path",{fill:"currentColor",d:"m20.515 9.729-7.5-7.076-.01-.01a1.5 1.5 0 0 0-2.018 0l-.01.01-7.492 7.076A1.5 1.5 0 0 0 3 10.833V19.5A1.5 1.5 0 0 0 4.5 21H9a1.5 1.5 0 0 0 1.5-1.5V15h3v4.5A1.5 1.5 0 0 0 15 21h4.5a1.5 1.5 0 0 0 1.5-1.5v-8.667a1.5 1.5 0 0 0-.485-1.104M19.5 19.5H15V15a1.5 1.5 0 0 0-1.5-1.5h-3A1.5 1.5 0 0 0 9 15v4.5H4.5v-8.667l.01-.01L12 3.75l7.49 7.072.01.01z"})))},S=n(80442),D=n(60763);function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var z=function(e){return A.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),l||(l=A.createElement("path",{fill:"currentColor",d:"M21.75 15.75H21v-9a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6.75v9h-.75a.75.75 0 0 0-.75.75V18a2.25 2.25 0 0 0 2.25 2.25h16.5A2.25 2.25 0 0 0 22.5 18v-1.5a.75.75 0 0 0-.75-.75m-17.25-9A.75.75 0 0 1 5.25 6h13.5a.75.75 0 0 1 .75.75v9h-15zM21 18a.75.75 0 0 1-.75.75H3.75A.75.75 0 0 1 3 18v-.75h18zm-6.75-9.75a.75.75 0 0 1-.75.75h-3a.75.75 0 1 1 0-1.5h3a.75.75 0 0 1 .75.75"})))};function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var H=function(e){return A.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=A.createElement("path",{fill:"currentColor",d:"M21.717 18.24 18.606 3.444a1.5 1.5 0 0 0-1.782-1.161l-4.388.943a1.51 1.51 0 0 0-1.153 1.781l3.111 14.794a1.5 1.5 0 0 0 1.782 1.164l4.388-.943a1.51 1.51 0 0 0 1.153-1.784M12.75 4.701v-.009l4.387-.937.313 1.488-4.388.944zm.62 2.95 4.39-.942.313 1.49-4.385.944zm.623 2.96 4.39-.943 1.246 5.928-4.389.944zm6.257 7.945-4.387.938-.313-1.488 4.388-.944.312 1.486zM9.75 3h-4.5a1.5 1.5 0 0 0-1.5 1.5v15a1.5 1.5 0 0 0 1.5 1.5h4.5a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 9.75 3m-4.5 1.5h4.5V6h-4.5zm0 3h4.5v9h-4.5zm4.5 12h-4.5V18h4.5z"})))},I=n(16120),P=n(53335),Z=e=>{let{children:t,anchor:n="bottom",panel:a,renderPanel:l,className:r}=e;return(0,c.jsx)(I.J2,{className:"relative",children:e=>{let{close:i}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(I.O7,{className:"focus-visible:outline-none",children:t}),(0,c.jsx)(I.Hi,{anchor:n,className:(0,P.m6)("bg-white rounded-lg border border-gray-200 border-solid shadow-base p-2 z-10",r),children:l?l(i):a})]})}})},L=n(88401);let R=[],_=e=>{switch(e){case"/khoa-hoc-online":return(0,c.jsx)(z,{});case"/an-pham":return(0,c.jsx)(H,{});case"/vong-quay-may-man":return(0,c.jsx)("span",{className:"text-lg",children:"\uD83C\uDFAF"})}};var B=e=>{let{nameTranslation:t,link:n,children:a,dim:l}=e,r=(0,u.usePathname)(),i="/"+r.split("/")[1],s="/"+r.split("/")[2],o=R.includes(n);return!(null==a?void 0:a.length)||a.every(e=>e.isHidden)?(0,c.jsx)(D.Z,{url:n,className:(0,S.cn)(r.startsWith(n)&&"text-primary",!!l&&"opacity-60"),target:o?"_blank":"_self",children:t}):(0,c.jsx)(Z,{renderPanel:e=>(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"fixed inset-0 z-[-1] cursor-default",onClick:t=>{t.stopPropagation(),e()}}),(0,c.jsx)("div",{className:"flex flex-col gap-2 relative z-50",children:a.map(t=>(0,c.jsxs)(h.default,{href:n+t.link,className:(0,S.cn)("text-gray-70 hover:bg-gray-5 p-2 rounded-lg flex items-center gap-1 min-w-48",s===t.link&&"text-primary "),onClick:()=>e(),children:[_(t.link),t.nameTranslation]},t.id))})]}),className:"z-50",children:(0,c.jsxs)("div",{className:(0,S.cn)("flex items-center gap-1 text-gray-70 cursor-pointer",i===n&&"text-primary"),children:[(0,c.jsx)("span",{children:t}),(0,c.jsx)(L.Z,{})]})})},V=n(64204),q=e=>{let{menus:t,hasMyTN:n,role:a,listUser:l}=e,r=(0,u.usePathname)(),{t:i}=(0,d.$G)(),s=a===b.zw.PARENTS,o=t.filter(e=>!e.disabledWithParent),m=s?null==o?void 0:o.filter(e=>!e.isHidden):null==t?void 0:t.filter(e=>!e.isHidden);return(0,c.jsxs)("div",{className:(0,S.cn)("flex justify-between gap-2 w-[1440px] max-w-[calc(100%-80p
1x)]",s&&"justify-start gap-14"),children:[(0,c.jsx)(h.default,{href:"/",className:(0,S.cn)("text-gray-70","/"===r&&"text-primary"),children:(0,c.jsx)(F,{})}),n&&a===b.zw.STUDENT&&(0,c.jsx)(B,{link:V.O.myTnMath,id:"my-trang-nguyen",nameTranslation:i("myTrangNguyen.myTrangNguyen"),type:b.hd.HEADER}),a===b.zw.PARENTS&&l&&(null==l?void 0:l.length)>0&&(0,c.jsx)(B,{link:V.O.myTnMath,id:"my-trang-nguyen",nameTranslation:i("myTrangNguyen.myTrangNguyen"),type:b.hd.HEADER}),m.map(e=>(0,c.jsx)(B,{...e},e.link))]})};function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var K=function(e){return A.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=A.createElement("path",{fill:"#333",d:"m18.667 12-.003-.187A6.67 6.67 0 0 0 12 5.333 6.673 6.673 0 0 0 5.334 12c0 3.673 2.993 6.666 6.666 6.666A6.673 6.673 0 0 0 18.667 12m-4-1.32c.2.2.2.513 0 .707l-2.313 2.326a.5.5 0 0 1-.707 0l-2.313-2.326a.47.47 0 0 1-.147-.347.497.497 0 0 1 .853-.353L12 12.653l1.96-1.966c.193-.2.513-.2.707-.007"})))},U=n(90060),W=n(71207),Y=n(18714),$=n(74032),J=n(93837),X=n(63804),Q=n(79692),ee=n(14645),et=()=>{var e,t,n;let{t:a}=(0,d.$G)(),l=(0,u.useRouter)(),r=(0,p.TL)(),[i,o]=(0,s.useState)(!1),{userInfo:h}=(0,p.CG)(e=>e.user),m=(0,S.G3)(),f=(()=>{try{let e=sessionStorage.getItem("userData");return e?JSON.parse(e):null}catch(e){return null}})()||h,v=null==f?void 0:f.profile,g=0===Number(null==f?void 0:f.role),x=(0,s.useRef)(null),w=(0,s.useRef)(null);(0,s.useEffect)(()=>{function e(e){var t;null!==(t=w.current)&&void 0!==t&&t.contains(e.target)||!x.current||x.current.contains(e.target)||o(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let b=()=>{o(!1),r((0,ee.qp)(!0))},y=(0,s.useMemo)(()=>[{label:a("common.profilePage"),onClick:()=>l.push("/quan-ly-tai-khoan/thong-tin-ca-nhan"),icon:U.Z},{label:a("changePassword.changePassword"),onClick:()=>l.push("/quan-ly-tai-khoan/doi-mat-khau"),icon:Y.Z},{label:a("common.profileManagement"),onClick:()=>l.push("/quan-ly-ho-so/ho-so-ca-nhan"),icon:W.Z,isHidden:!g},{label:a("common.logout"),onClick:b,icon:$.Z}],[l,a]),E=[{value:1,viName:"Phụ Huynh",enName:"Parents"},{value:3,viName:"Gi\xe1o vi\xean",enName:"Teacher"}];return(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)("button",{ref:w,onClick:()=>o(!i),children:(0,c.jsxs)("div",{className:"flex items-center justify-between lg:gap-1 xl:gap-2 lg:w-[200px] xl:w-60",children:[(0,c.jsx)(Q.Z,{width:40,height:40}),f?(0,c.jsxs)("div",{className:"text-left",children:[(0,c.jsx)("p",{className:"text-gray-80 font-bold line-clamp-2",children:(0,S.ul)(String(null==v?void 0:v.fullName))}),(0,c.jsx)("p",{className:"text-gray-80",children:g?"".concat(a("common.sbd"),": ").concat(null==v?void 0:v.userNumber):"vi"===m?null==E?void 0:null===(e=E.find(e=>e.value===(null==f?void 0:f.role)))||void 0===e?void 0:e.viName:null==E?void 0:null===(t=E.find(e=>e.value===(null==f?void 0:f.role)))||void 0===t?void 0:t.enName})]}):(0,c.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,c.jsx)("div",{className:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-r-transparent border-primary"})}),(0,c.jsx)("div",{className:"w-[20px] h-[20px]",children:(0,c.jsx)(K,{})})]})}),(0,c.jsx)("div",{ref:x,className:(0,S.cn)("absolute right-0 p-2 border border-gray-10 shadow-6 bg-white rounded-lg flex flex-col z-1",!i&&"hidden"),children:null==y?void 0:null===(n=y.filter(e=>!e.isHidden))||void 0===n?void 0:n.map(e=>{let{icon:t,label:n,onClick:a}=e;return(0,c.jsxs)(X.Z,{onClick:a,className:"w-[200px] xl:w-[222px] sm:w-[182px] hover:bg-[#EBEBEB] !p-0 border-none text-left text-gray-80 flex items-center gap-2",children:[(0,c.jsx)(t,{}),n]},(0,J.Z)())})})]})},en=n(110),ea=n(43497),el=e=>{let{menus:t}=e,{t:n}=(0,d.$G)(),a=(0,u.usePathname)(),l=(0,x.ej)(w.y.ACCESS_TOKEN),{loading:r,loadingToken:i,role:s}=(0,p.CG)(e=>e.user),o=s===b.zw.PARENTS,h=(0,S.th)("login",a),m=(0,S.th)("register",a),f=t.filter(e=>!e.disabledWithParent),v=o?f:t;return(0,c.jsxs)("div",{className:"flex justify-end items-center xl:gap-[18px] gap-3 max-w-[65%] w-[65%] lg:ml-4 xl:ml-0",children:[(0,c.jsx)(ea.Z,{}),v.length>0&&v.map(e=>{let{nameTranslation:t,link:n,id:l}=e;return(0,c.jsx)(D.Z,{url:n,className:(0,S.cn)("hover:bg-[#FFF2E5] rounded-lg px-2 py-1 text-center",a===n&&"text-primary"),children:t},l)}),i||r?(0,c.jsx)("div",{children:(0,c.jsx)("div",{className:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-r-transparent border-primary align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"})}):l?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(en.Z,{}),(0,c.jsx)(et,{})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(X.Z,{url:h,children:n("common.login")}),(0,c.jsx)(X.Z,{className:"",variant:"primary",url:m,children:n("common.register")})]})]})},er=()=>{var e;let{t}=(0,d.$G)(),n=(0,u.useRouter)(),a=(0,p.TL)(),l=(0,u.useSearchParams)(),r="safari"===(0,y.G)(),{topMenu:i,headerMenu:m}=(0,p.CG)(e=>e.menu),{role:A,userInfo:k}=(0,p.CG)(e=>e.user),F=(0,s.useRef)(null),S=(0,s.useRef)(null),D=(0,s.useRef)(!1),O=null!==(e=l.get("keyword"))&&void 0!==e?e:"",[z,T]=(0,s.use
1State)(""),[H,I]=(0,s.useState)(!1),[P,Z]=(0,s.useState)(!1),[L,R]=(0,s.useState)(!1),[_,B]=(0,s.useState)(!1),[V,G]=(0,s.useState)([]),[K,U]=(0,s.useState)(null),[W,Y]=(0,s.useState)(null),[$,J]=(0,s.useState)(null),[X,Q]=(0,s.useState)(null),[ee,et]=(0,s.useState)(null),en=(0,x.ej)(w.y.ACCESS_TOKEN),[ea,er]=(0,s.useState)(!1),[ei,ec]=(0,s.useState)([]),es=A===b.zw.PARENTS,eo=E(e=>{var t;if(null===(t=F.current)||void 0===t?void 0:t.contains(document.activeElement))return;let n=e.target;n.closest("[role='dialog']")||n.closest(".MuiDialog-root")||(I(!1),Z(!1))}),eh=(0,s.useMemo)(()=>f()(e=>{ep(e)},1e3),[]),eu=()=>{localStorage.removeItem("learningTagId"),localStorage.removeItem("newTagId")},ed=()=>{if(!z||""===z.trim()){Z(!0),I(!1),B(!0);return}n.push("/search?keyword=".concat(encodeURIComponent(null!=z?z:""))),localStorage.setItem("keyword",z),I(!1),B(!1),eu()},em=()=>{let e=null;(null==$?void 0:$.keySearch)&&(e=null==$?void 0:$.keySearch,eu()),(null==W?void 0:W.data.name)&&(e=null==W?void 0:W.data.name),e&&n.push("/search?keyword=".concat(encodeURIComponent(e))),Y(null),J(null),e&&T(e)},ef=async()=>{if(en)try{let e=await v.Z.search.getHistorySearch();if(!e)return;G(e),localStorage.setItem("historySearch",JSON.stringify(e))}catch(e){console.error("Error fetching search history:",e)}},ep=async e=>{try{var t,n;let a=(0,x.ej)(w.y.ACCESS_TOKEN),l={keySearch:e,newTagId:null!==(t=null==X?void 0:X.id)&&void 0!==t?t:null,learningTagId:null!==(n=null==ee?void 0:ee.id)&&void 0!==n?n:null,accessToken:null!=a?a:""},r=await v.Z.search.postSearchPreview(l);U(r)}catch(e){console.error(e)}},ev=async()=>{try{let e=(await (0,g.Z)().getListUserAsync()).filter(e=>e.hasMyTnMath);ec(e)}catch(e){ec([]),console.log(e)}};return(0,s.useEffect)(()=>{T(O)},[O]),(0,s.useEffect)(()=>{en&&a((0,j.nZ)())},[en,a]),(0,s.useEffect)(()=>{en&&ef()},[en]),(0,s.useEffect)(()=>{em()},[W,L,$,en]),(0,s.useEffect)(()=>{var e,t;(null==W?void 0:W.name)==="tag"&&(localStorage.setItem("newTagId",null==W?void 0:null===(e=W.data)||void 0===e?void 0:e.id),localStorage.removeItem("learningTagId"),et(null)),(null==W?void 0:W.name)==="learning"&&(localStorage.setItem("learningTagId",null==W?void 0:null===(t=W.data)||void 0===t?void 0:t.id),localStorage.removeItem("newTagId"),Q(null))},[W]),(0,s.useEffect)(()=>{H&&(0===z.length?(ef(),U(null)):z.length>1&&Z(!1))},[H,z]),(0,s.useEffect)(()=>{H&&z.length>1&&ep(z)},[H]),(0,s.useEffect)(()=>{er(!!(null==k?void 0:k.profile.userId)&&"true"===localStorage.getItem("hasMyTN"))},[null==k?void 0:k.profile.userId]),(0,s.useEffect)(()=>{en&&!es&&(async()=>{let e=await v.Z.myTN.getListFrameAsync();er(e.length>0),localStorage.setItem("hasMyTN",e.length>0?"true":"false")})()},[en,es]),(0,s.useEffect)(()=>{en&&es&&ev()},[en,es]),(0,s.useEffect)(()=>()=>{eh.cancel()},[eh]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"h-[204px] hidden lg:block",children:(0,c.jsxs)("header",{className:"fixed top-0 left-0 w-screen bg-white z-50 h-[204px]",children:[(0,c.jsx)("div",{className:"absolute left-1/2 top-0 -translate-x-1/2 flex justify-center gap-3 ",children:(0,c.jsxs)("div",{className:"mt-5 w-[100vw]",children:[(0,c.jsx)("div",{className:"w-[100vw] flex justify-center",children:(0,c.jsxs)("div",{className:" flex justify-between lg:items-center w-[1440px] max-w-[calc(100%-80px)]",children:[(0,c.jsxs)(h.default,{href:"/",className:"flex flex-col items-center mr-6",children:[(0,c.jsx)("div",{className:"2xl:w-[248px] xl:w-[210px] w-[158px]",children:(0,c.jsx)(o.Z,{className:"m-auto"})}),(0,c.jsx)("div",{className:"xl:tracking-[0.0125em] 2xl:text-[10px] xl:text-[8.5px] lg:text-[7px] font-montserrat leading-[20px] text-right text-[#232122] font-[600]",children:t("common.headerTitle")})]}),(0,c.jsx)("div",{ref:eo,children:(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)(C.Z,{inputValue:z,setInputValue:T,handleSearchMic:e=>{I(!1),n.push("/search?keyword=".concat(encodeURIComponent(e)))},onChange:e=>{T(e.target.value),eh(e.target.value),Z(!1)},onFocus:()=>I(!0),maxLength:200,onKeyDown:e=>{if("Enter"===e.key){if(!z||""===z.trim()){Z(!0),I(!1),B(!0);return}Z(!1),n.push("/search?keyword=".concat(encodeURIComponent(null!=z?z:""))),localStorage.setItem("keyword",z),e.currentTarget.blur(),I(!1),B(!1),eu()}},validateSearchInput:ed,className:"lg:w-[260px] xl:w-[300px] 2xl:w-[400px]",isEmpty:P,getHistorySearch:ef,setIsOpen:I,setIsEmpty:Z,isCheckSearch:_,recognitionRef:S,isCanceledManuallyRef:D,hideSuffix:r}),(0,c.jsx)(M.Z,{inputValue:z,setLearningTag:et,setNewTag:Q,searchResultsPreview:K,isOpen:H,setSearchItemKey:Y,setIsOpen:I,setIsSearch:R,historySearch:V,setHistorySearch:G,setSearchItemKeyHistory:J,closeResultSearch:()=>{I(!1)},validateSearchInput:ed})]})}),(0,c.jsx)(el,{menus:i})]})}),(0,c.jsx)("div",{className:"border-b border-[#F0F0F0] my-[15px]"}),(0,c.jsx)("div",{className:"w-[100vw] flex justify-center",children:(0,c.jsx)(q,{menus:m,hasMyTN:ea,role:A,listUser:ei})})]})}),(0,c.jsx)("div",{className:"border-t border-gray-12 w-full pt-[88px]"})]})}),(0,c.jsx)("div",{className:"block lg:hidden z-[9995]",children:(0,c.jsx)(N.Z,{hasMyTN:ea,listUser:ei})})]})}},38591:function(e,t,n){"use strict";n.d(t,{G:function(){return l}});var a=n(2265);function l(){let[e,t]=(0,a.useState)("other");return(0,a.useEffect)(()=>{let e=navigator.userAgent;/Chrome/.test(e)&&!/Edg|OPR|Brave/.test(e)?t("chrome"):/Safari/.test(e)&&!/Chrome/.test(e)&&t("safari")},[]),e}},38188:function(e,t){"use strict";t.Z={src:"https://static.tnmath.edu.vn/_next/static/media/default-avatar.d129ae4b.png",height:360,width:360,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAD1BMVEXm5uawsLDOzs6/v7/a2tofEI6JAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJ0lEQVR4nGNgQAJMTFCakRHCgjNgUizMzMzMLAwMDMyMjIyMzAgGAAZCAD3v06MiAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.