1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9585],{80560:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bao-gia-du-hoc",function(){return t(25235)}])},6768:function(n,e,t){"use strict";var i=t(85893),r=t(67294),a=t(93507),o=t.n(a);function c(n){return function(n){if(Array.isArray(n)){for(var e=0,t=new Array(n.length);e<n.length;e++)t[e]=n[e];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var l=function(n){return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0111/g,"d").replace(/\u0110/g,"D").toLowerCase()};e.Z=function(n){var e=n.value,t=n.values,a=n.multiple,s=void 0!==a&&a,u=n.options,h=n.onChange,d=n.onChangeMultiple,m=n.ariaLabel,g=n.placeholder,v=void 0===g?"Ch\u1ecdn":g,p=n.className,f=n.align,b=void 0===f?"left":f,y=n.block,x=void 0!==y&&y,_=n.searchable,j=void 0!==_&&_,N=n.size,k=void 0===N?"md":N,T=(0,r.useState)(!1),C=T[0],P=T[1],S=(0,r.useState)(""),w=S[0],A=S[1],L=(0,r.useRef)(null),Y=(0,r.useRef)(null),B=u.find((function(n){return n.value===e})),Q=t||[],I=s?u.filter((function(n){return Q.includes(n.value)})).map((function(n){return n.label})):[],q=s?0===I.length?v:1===I.length?I[0]:"".concat(I.length," \u0111\xe3 ch\u1ecdn"):(null===B||void 0===B?void 0:B.label)||v,M=j&&w.trim()?u.filter((function(n){return l(n.label).includes(l(w.trim()))})):u;return(0,r.useEffect)((function(){var n;C&&j&&(A(""),null===(n=Y.current)||void 0===n||n.focus())}),[C,j]),(0,r.useEffect)((function(){if(C){var n=function(n){L.current&&!L.current.contains(n.target)&&P(!1)},e=function(n){"Escape"===n.key&&P(!1)};return document.addEventListener("mousedown",n),document.addEventListener("keydown",e),function(){document.removeEventListener("mousedown",n),document.removeEventListener("keydown",e)}}}),[C]),(0,i.jsxs)("div",{className:"".concat(o().select," ").concat(x?o().block:""," ").concat(p||""),ref:L,children:[(0,i.jsxs)("button",{type:"button",className:"".concat(o().trigger," ").concat("lg"===k?o().triggerLg:""," ").concat(C?o().triggerOpen:""),onClick:function(){return P((function(n){return!n}))},"aria-haspopup":"listbox","aria-expanded":C,"aria-label":m,children:[(0,i.jsx)("span",{className:o().value,children:q}),(0,i.jsx)("span",{className:o().chevWrap,"aria-hidden":"true",children:(0,i.jsx)("span",{className:"material-symbols-outlined ".concat(o().chev),children:C?"expand_less":"expand_more"})})]}),C&&(0,i.jsxs)("div",{className:"".concat(o().panel," ").concat("right"===b?o().panelRight:""),role:"listbox",children:[j&&(0,i.jsxs)("div",{className:o().searchBox,children:[(0,i.jsx)("span",{className:"material-symbols-outlined","aria-hidden":"true",children:"search"}),(0,i.jsx)("input",{ref:Y,value:w,onChange:function(n){return A(n.target.value)},placeholder:"G\xf5 \u0111\u1ec3 t\xecm...","aria-label":"T\xecm trong danh s\xe1ch",onKeyDown:function(n){if("Enter"===n.key&&1===M.length)if(s){var e=M[0].value;null===d||void 0===d||d(Q.includes(e)?Q.filter((function(n){return n!==e})):c(Q).concat([e]))}else null===h||void 0===h||h(M[0].value),P(!1)}})]}),j&&0===M.length&&(0,i.jsx)("div",{className:o().noResult,children:"Kh\xf4ng c\xf3 k\u1ebft qu\u1ea3 ph\xf9 h\u1ee3p"}),M.map((function(n){var t=s?Q.includes(n.value):n.value===e;return(0,i.jsxs)("button",{type:"button",role:"option","aria-selected":t,className:"".concat(o().opt," ").concat(t?o().optOn:""),onClick:function(){s?null===d||void 0===d||d(t?Q.filter((function(e){return e!==n.value})):c(Q).concat([n.value])):(null===h||void 0===h||h(n.value),P(!1))},children:[(0,i.jsx)("span",{className:o().optLabel,children:n.label}),t&&(0,i.jsx)("span",{className:"material-symbols-outlined ".concat(o().check),"aria-hidden":"true",children:"check"})]},n.value)}))]})]})}},4812:function(n,e,t){"use strict";var i=t(85893),r=t(6628),a=t(2962),o="https://cdn2.studyinchina.net";e.Z=function(n){var e=n.title,t=n.metaDescription,c=n.socialImageUrl,l=n.faviconImageUrl,s=n.url,u=n.canonical,h=n.noindex,d=void 0!==h&&h,m=n.nofollow,g=void 0!==m&&m,v=n.languageAlternates,p=n.articleConfig,f=n.keywords,b=n.ogTitle,y=n.ogDescription,x=n.contentLocale||"vi_VN",_=null===t||void 0===t?void 0:t.substring(0,320),j=function(n){var e="".concat(o,"/school/");return n.startsWith(e)?"".concat(o,"/cdn-cgi/image/").concat("width=1200,height=630,fit=cover,gravity=auto,quality=85,format=jpeg","/").concat(n.slice(o.length+1)):n}(c||"https://cdn2.studyinchina.net/school/449d086e-f90e-436e-856b-ff28ad6abf30.jpeg"),N="Study In China",k="Study in China with top Chinese universities. Find scholarships, apply easily, and start your international education journey in China.",T=u||s||window.location.href,C={type:p?"article":"website",locale:x,url:T,siteName:N,site_name:N,title:b||e||N,description:(0,r.ju)(y||_||k),images:[{url:j,alt:e||N,width:1200,height:630,type:"image/jpeg"}]};return p&&p.publishedTime&&(C.article={publishedTime:p.publishedTime,modifiedTime:p.modifiedTime,authors:p.authors,tags:p.tags,section:p.section}),(0,i.jsx)(a.PB,{title:e||N,description:(0,r.ju)(_||k),canonical:T,noindex:d,nofollow:g,languageAlternates:v,twitter:{cardType:"summary_large_image"},openGraph:C,additionalLinkTags:[{rel:"icon",type:"image/png",href:l||void 0}],additionalMetaTags:[{name:"viewport",content:"initial-scale=1.0, width=device-width"},{name:"keywords",content:f||"Study in China, Du h\u1ecdc Trung Qu\u1ed1c, Chinese Scholarships, Chinese Universities"},{name:"author",content:"Study In China"},{property:"fb:image",content:j},{property:"fb:description",content:(0,r.ju)(_||k)},{property:"fb:title",content:e||N},{property:"fb:url",content:T},{property:"fb:type",content:p?"article":"website"},{property:"fb:locale",content:x},{property:"fb:site_name",content:N}],robotsProps:{maxSnippet:320}})}},48383:function(n,e,t){"use strict";t.d(e,{XJ:function(){return c},Dk:function(){return l},s0:function(){return h},wm:function(){return d}});var i=t(28520),r=t.n(i);function a(n,e,t,i,r,a,o){try{var c=n[a](o),l=c.value}catch(s){return void t(s)}c.done?e(l):Promise.resolve(l).then(i,r)}function o(n){return function(){var e=this,t=arguments;return new Promise((function(i,r){var o=n.apply(e,t);function c(n){a(o,i,r,c,l,"next",n)}function l(n){a(o,i,r,c,l,"throw",n)}c(void 0)}))}}function c(){var n="https://api.studyinchina.net";return/localhost|127\.0\.0\.1/.test(n)?"https://api.studyinchina.net":n}function l(n){return String(n||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0111/g,"d").replace(/\u0110/g,"D").toLowerCase().trim()}var s=null,u=null;function h(){return s?Promise.resolve(s):u||(u=fetch("".concat(c(),"/api/school/meta/lite")).then((function(n){return n.ok?n.json():null})).then((function(n){var e=(null===n||void 0===n?void 0:n.items)||(Array.isArray(n)?n:[]);
1return s=e.filter((function(n){return(null===n||void 0===n?void 0:n.id)&&(null===n||void 0===n?void 0:n.name)})).map((function(n){return{id:String(n.id),slug:n.slug||void 0,name:String(n.name).trim(),city:n.city||null,province:n.province||null,rank:"number"===typeof n.rank?n.rank:null,projects:Array.isArray(n.projects)?n.projects:[],searchKey:l("".concat(n.name," ").concat(n.city||""," ").concat(n.province||""))}}))})).catch((function(){return u=null,[]})))}function d(n){return m.apply(this,arguments)}function m(){return(m=o(r().mark((function n(e){var t,i;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch("".concat(c(),"/api/school/news/admission/paginate?page=1&limit=100&schoolId=").concat(encodeURIComponent(e)));case 2:if((t=n.sent).ok){n.next=5;break}throw new Error("HTTP ".concat(t.status));case 5:return n.next=7,t.json();case 7:return i=n.sent,n.abrupt("return",Array.isArray(null===i||void 0===i?void 0:i.items)?i.items:[]);case 9:case"end":return n.stop()}}),n)})))).apply(this,arguments)}},81380:function(n,e,t){"use strict";t.d(e,{Qn:function(){return i},dZ:function(){return r},_Z:function(){return a},Y_:function(){return o},Ai:function(){return c},m4:function(){return l},wv:function(){return s},f3:function(){return u},aQ:function(){return h},K2:function(){return d},XC:function(){return m},Hd:function(){return g},$_:function(){return v},KI:function(){return p},cX:function(){return f},hS:function(){return b}});var i="/dich-vu-ho-tro-ung-tuyen-hoc-bong-du-hoc-trung-quoc-2027",r="/bang-gia",a="/lien-he",o="0888 666 015",c="08:30 - 21:00",l="[email protected]",s="studyinchina.net",u="https://facebook.com/riba.vn",h={badge:"B\u1ea3ng gi\xe1 d\u1ecbch v\u1ee5 2027",title:"B\u1ea3ng gi\xe1 d\u1ecbch v\u1ee5 h\u1ed7 tr\u1ee3 \u1ee9ng tuy\u1ec3n h\u1ecdc b\u1ed5ng du h\u1ecdc Trung Qu\u1ed1c 2027",subtitle:"Ba g\xf3i d\u1ecbch v\u1ee5, ba m\u1ee9c b\u1ea3o v\u1ec7 ph\xed: \u0110\u1ed3ng h\xe0nh - An t\xe2m - Tr\u1ecdn v\u1eb9n. So s\xe1nh \u0111\u1ec3 \u01b0\u1edbc t\xednh t\u1ed5ng chi ph\xed v\xe0 ch\u1ecdn m\u1ee9c ph\xf9 h\u1ee3p nh\u1ea5t v\u1edbi k\u1ebf ho\u1ea1ch c\u1ee7a b\u1ea1n.",chips:[{icon:"shield_person",text:"H\u1ed7 tr\u1ee3 h\u1ed3 s\u01a1 chuy\xean nghi\u1ec7p"},{icon:"account_balance",text:"T\u01b0 v\u1ea5n & ch\u1ecdn tr\u01b0\u1eddng ph\xf9 h\u1ee3p"},{icon:"monitoring",text:"Theo d\xf5i ti\u1ebfn \u0111\u1ed9 minh b\u1ea1ch"},{icon:"flight_takeoff",text:"H\u1ed7 tr\u1ee3 apply & visa to\xe0n di\u1ec7n"}],compareTitle:"3 m\u1ee9c b\u1ea3o v\u1ec7 ph\xed - 1 g\xf3i d\u1ecbch v\u1ee5 - D\u1ec5 so s\xe1nh, d\u1ec5 l\u1ef1a ch\u1ecdn"},d={title:"Ch\u1ecdn m\u1ee9c b\u1ea3o v\u1ec7 ph\xed d\u1ecbch v\u1ee5 ph\xf9 h\u1ee3p v\u1edbi h\u1ed3 s\u01a1 c\u1ee7a b\u1ea1n",lead:"Ba g\xf3i c\xf3 c\xf9ng n\u1ed9i dung h\u1ed7 tr\u1ee3 v\xe0 c\xf9ng \u0111\u1ed9i ng\u0169 l\xe0m h\u1ed3 s\u01a1. Kh\xe1c nhau duy nh\u1ea5t \u1edf ch\u1ed7: n\u1ebfu kh\xf4ng \u0111\u1ea1t k\u1ebft qu\u1ea3, b\u1ea1n \u0111\u01b0\u1ee3c ho\xe0n l\u1ea1i bao nhi\xeau ph\u1ea7n ph\xed d\u1ecbch v\u1ee5.",note:"M\u1ee9c ho\xe0n ph\xed \xe1p d\u1ee5ng theo \u0111\xfang \u0111i\u1ec1u ki\u1ec7n ghi trong h\u1ee3p \u0111\u1ed3ng d\u1ecbch v\u1ee5 \u0111\xe3 k\xfd. \u0110\xe2y kh\xf4ng ph\u1ea3i cam k\u1ebft tr\xfang tuy\u1ec3n.",fallbackRatio:{no_refund:"Kh\xf4ng ho\xe0n ph\xed",refund_50:"Ho\xe0n 50%",refund_100:"Ho\xe0n t\u1ed1i \u0111a 100%"}},m={title:"Tra c\u1ee9u nhanh theo h\u1ec7 \u0111\xe0o t\u1ea1o",text:"Ch\u1ecdn h\u1ec7 \u0111\u1ec3 xem b\u1ea3ng gi\xe1 t\u01b0\u01a1ng \u1ee9ng."},g={title:"Chi ph\xed kh\xe1c t\u1ef1 chi tr\u1ea3 (tham kh\u1ea3o)",note:"C\xe1c kho\u1ea3n n\xe0y l\xe0 chi ph\xed tham kh\u1ea3o, c\xf3 th\u1ec3 thay \u0111\u1ed5i theo tr\u01b0\u1eddng, khu v\u1ef1c, th\u1eddi \u0111i\u1ec3m v\xe0 y\xeau c\u1ea7u th\u1ef1c t\u1ebf. RIBA kh\xf4ng thu c\xe1c kho\u1ea3n n\xe0y trong ph\xed d\u1ecbch v\u1ee5."},v={title:"RIBA h\u1ed7 tr\u1ee3 nh\u1eefng g\xec trong g\xf3i d\u1ecbch v\u1ee5?",subtitle:"Danh s\xe1ch h\u1ea1ng m\u1ee5c h\u1ed7 tr\u1ee3 ti\xeau bi\u1ec3u m\xe0 kh\xe1ch h\xe0ng nh\u1eadn \u0111\u01b0\u1ee3c trong su\u1ed1t qu\xe1 tr\xecnh apply du h\u1ecdc Trung Qu\u1ed1c.",note:"Ph\u1ea1m vi h\u1ed7 tr\u1ee3 c\u1ee5 th\u1ec3 c\xf3 th\u1ec3 thay \u0111\u1ed5i t\xf9y g\xf3i d\u1ecbch v\u1ee5, h\u1ec7 \u0111\xe0o t\u1ea1o v\xe0 \u0111i\u1ec1u ki\u1ec7n ghi trong h\u1ee3p \u0111\u1ed3ng \u0111\xe3 k\xfd."},p={kicker:"\u0110i\u1ec1u kho\u1ea3n trong h\u1ee3p \u0111\u1ed3ng d\u1ecbch v\u1ee5",title:"Cam k\u1ebft b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng RIBA",lead:"K\u1ebft qu\u1ea3 x\xe9t tuy\u1ec3n do tr\u01b0\u1eddng quy\u1ebft \u0111\u1ecbnh, nh\u01b0ng ph\u1ea7n vi\u1ec7c c\u1ee7a RIBA th\xec RIBA ch\u1ecbu tr\xe1ch nhi\u1ec7m. N\u1ebfu l\u1ed7i nghi\u1ec7p v\u1ee5 thu\u1ed9c v\u1ec1 RIBA l\xe0m b\u1ea1n m\u1ea5t c\u01a1 h\u1ed9i x\xe9t tuy\u1ec3n, RIBA ho\xe0n l\u1ea1i to\xe0n b\u1ed9 ph\xed d\u1ecbch v\u1ee5 v\xe0 tr\u1ea3 th\xeam m\u1ed9t kho\u1ea3n b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng t\u01b0\u01a1ng \u0111\u01b0\u01a1ng.",badgeValue:"200%",badgeLabel:"t\u1ed5ng m\u1ee9c chi tr\u1ea3",badgeNote:"khi l\u1ed7i thu\u1ed9c v\u1ec1 RIBA",payouts:[{icon:"currency_exchange",title:"Ho\xe0n 100% ph\xed d\u1ecbch v\u1ee5",desc:"To\xe0n b\u1ed9 ph\xed d\u1ecbch v\u1ee5 RIBA \u0111\xe3 nh\u1eadn c\u1ee7a ph\u1ea7n d\u1ecbch v\u1ee5 b\u1ecb \u1ea3nh h\u01b0\u1edfng."},{icon:"verified_user",title:"\u0110\u1ec1n th\xeam 100% ph\xed d\u1ecbch v\u1ee5",desc:"Kho\u1ea3n b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng b\u1eb1ng 100% ph\xed d\u1ecbch v\u1ee5 c\u1ee7a h\u1ee3p \u0111\u1ed3ng, khi Cam k\u1ebft \u0111\u01b0\u1ee3c x\xe1c \u0111\u1ecbnh \xe1p d\u1ee5ng cho g\xf3i."}],conditionsTitle:"\xc1p d\u1ee5ng khi h\u1ed9i \u0111\u1ee7 c\u1ea3 3 \u0111i\u1ec1u ki\u1ec7n",conditions:[{title:"B\u1ea1n \u0111\xe3 ho\xe0n th\xe0nh \u0111\u1ea7y \u0111\u1ee7 ngh\u0129a v\u1ee5",desc:"N\u1ed9p \u0111\u1ee7 gi\u1ea5y t\u1edd v\xe0 ph\u1ea3n h\u1ed3i \u0111\xfang h\u1ea1n theo th\u1ecfa thu\u1eadn trong h\u1ee3p \u0111\u1ed3ng."},{title:"L\u1ed7i tr\u1ef1c ti\u1ebfp thu\u1ed9c tr\xe1ch nhi\u1ec7m RIBA",desc:"V\xe0 l\u1ed7i \u0111\xf3 l\xe0m m\u1ea5t to\xe0n b\u1ed9 c\u01a1 h\u1ed9i \u0111\u01b0\u1ee3c x\xe9t tuy\u1ec3n c\u1ee7a c\xe1c nguy\u1ec7n v\u1ecdng b\u1ecb \u1ea3nh h\u01b0\u1edfng."},{title:"Kh\xf4ng c\xf2n c\xe1ch kh\xf4i ph\u1ee5c",desc:"RIBA kh\xf4ng kh\xf4i ph\u1ee5c \u0111\u01b0\u1ee3c quy\u1ec1n x\xe9t tuy\u1ec3n, c\u0169ng kh\xf4ng \u0111\u01b0a ra \u0111\u01b0\u1ee3c ph\u01b0\u01a1ng \xe1n t\u01b0\u01a1ng \u0111\u01b0\u01a1ng m\xe0 b\u1ea1n ch\u1ea5p nh\u1eadn."}],errorsTitle:"L\u1ed7i \u0111i\u1ec3n h\xecnh \u0111\u01b0\u1ee3c t\xednh",errors:[{icon:"wrong_location",title:"N\u1ed9p sai nguy\u1ec7n v\u1ecdng",desc:"Sai tr\u01b0\u1eddng, sai ng\xe0nh ho\u1eb7c sai lo\u1ea1i h\u1ecdc b\u1ed5ng so v\u1edbi nguy\u1ec7n v\u1ecdng b\u1ea1n \u0111\xe3 x\xe1c nh\u1eadn."},{icon:"playlist_remove",title:"B\u1ecf s\xf3t b\u01b0\u1edbc b\u1eaft bu\u1ed9c",desc:"Thi\u1ebfu m\u1ed9t b\u01b0\u1edbc trong quy tr\xecnh thu\u1ed9c tr\xe1ch nhi\u1ec7m c\u1ee7a RIBA."}
1,{icon:"schedule",title:"N\u1ed9p qu\xe1 h\u1ea1n",desc:"H\u1ed3 s\u01a1 n\u1ed9p tr\u1ec5 h\u1ea1n do l\u1ed7i tr\u1ef1c ti\u1ebfp c\u1ee7a RIBA."},{icon:"report",title:"Sai s\xf3t nghi\u1ec7p v\u1ee5 nghi\xeam tr\u1ecdng",desc:"C\xe1c sai s\xf3t t\u01b0\u01a1ng t\u1ef1 v\u1ec1 m\u1ee9c \u0111\u1ed9 \u1ea3nh h\u01b0\u1edfng t\u1edbi quy\u1ec1n x\xe9t tuy\u1ec3n."}],processTitle:"Quy tr\xecnh x\u1eed l\xfd",process:[{title:"Ghi nh\u1eadn s\u1ef1 c\u1ed1",desc:"Hai b\xean \u0111\u1ed1i chi\u1ebfu nguy\u1ec7n v\u1ecdng \u0111\xe3 x\xe1c nh\u1eadn v\xe0 di\u1ec5n bi\u1ebfn h\u1ed3 s\u01a1."},{title:"RIBA kh\u1eafc ph\u1ee5c tr\u01b0\u1edbc",desc:"C\xf2n kh\u1ea3 n\u0103ng kh\xf4i ph\u1ee5c \u0111\u1ea7y \u0111\u1ee7 quy\u1ec1n x\xe9t tuy\u1ec3n th\xec RIBA \u0111\u01b0\u1ee3c \u01b0u ti\xean s\u1eeda."},{title:"\u0110\u1ed1i chi\u1ebfu \u0111i\u1ec1u ki\u1ec7n",desc:"X\xe1c \u0111\u1ecbnh l\u1ed7i c\xf3 thu\u1ed9c tr\xe1ch nhi\u1ec7m RIBA v\xe0 c\xf3 l\xe0m m\u1ea5t c\u01a1 h\u1ed9i x\xe9t tuy\u1ec3n hay kh\xf4ng."},{title:"Chi tr\u1ea3 100% + 100%",desc:"Ho\xe0n ph\xed d\u1ecbch v\u1ee5 v\xe0 tr\u1ea3 kho\u1ea3n b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng theo h\u1ee3p \u0111\u1ed3ng."}],disclaimerTitle:"C\u1ea7n n\xf3i r\xf5",disclaimers:["\u0110\xe2y kh\xf4ng ph\u1ea3i cam k\u1ebft tr\xfang tuy\u1ec3n. K\u1ebft qu\u1ea3 x\xe9t tuy\u1ec3n do tr\u01b0\u1eddng v\xe0 \u0111\u01a1n v\u1ecb c\u1ea5p h\u1ecdc b\u1ed5ng quy\u1ebft \u0111\u1ecbnh.","Cam k\u1ebft ch\u1ec9 \xe1p d\u1ee5ng cho ph\u1ea7n d\u1ecbch v\u1ee5 b\u1ecb \u1ea3nh h\u01b0\u1edfng b\u1edfi l\u1ed7i thu\u1ed9c tr\xe1ch nhi\u1ec7m c\u1ee7a RIBA.","Kho\u1ea3n b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng 100% \xe1p d\u1ee5ng khi Cam k\u1ebft \u0111\u01b0\u1ee3c x\xe1c \u0111\u1ecbnh \xe1p d\u1ee5ng cho g\xf3i d\u1ecbch v\u1ee5 trong h\u1ee3p \u0111\u1ed3ng \u0111\xe3 k\xfd.","RIBA \u0111\u01b0\u1ee3c quy\u1ec1n \u01b0u ti\xean kh\u1eafc ph\u1ee5c sai s\xf3t tr\u01b0\u1edbc n\u1ebfu v\u1eabn c\xf2n kh\u1ea3 n\u0103ng kh\xf4i ph\u1ee5c \u0111\u1ea7y \u0111\u1ee7 quy\u1ec1n x\xe9t tuy\u1ec3n.","\u0110\xe2y l\xe0 ch\xednh s\xe1ch th\u01b0\u01a1ng m\u1ea1i c\u1ee7a RIBA v\xe0 kh\xf4ng lo\u1ea1i tr\u1eeb c\xe1c tr\xe1ch nhi\u1ec7m kh\xe1c m\xe0 ph\xe1p lu\u1eadt b\u1eaft bu\u1ed9c \xe1p d\u1ee5ng."],packageHint:"G\xf3i c\xf3 \xe1p d\u1ee5ng Cam k\u1ebft b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng \u0111\u01b0\u1ee3c \u0111\xe1nh d\u1ea5u trong ph\u1ea7n chi ti\u1ebft t\u1eebng g\xf3i."},f=[{question:"Ba g\xf3i \u0110\u1ed3ng h\xe0nh / An t\xe2m / Tr\u1ecdn v\u1eb9n kh\xe1c nhau th\u1ebf n\xe0o?",answer:"C\xf9ng m\u1ed9t g\xf3i d\u1ecbch v\u1ee5, n\u1ed9i dung h\u1ed7 tr\u1ee3 nh\u01b0 nhau, ch\u1ec9 kh\xe1c m\u1ee9c b\u1ea3o v\u1ec7 ph\xed. G\xf3i \u0110\u1ed3ng h\xe0nh c\xf3 gi\xe1 t\u1ed1t nh\u1ea5t nh\u01b0ng kh\xf4ng ho\xe0n ph\xed. G\xf3i An t\xe2m ho\xe0n 50% ph\xed d\u1ecbch v\u1ee5, g\xf3i Tr\u1ecdn v\u1eb9n ho\xe0n 80-100% ph\xed d\u1ecbch v\u1ee5 \u2014 \u0111\u1ec1u theo \u0111\xfang \u0111i\u1ec1u ki\u1ec7n ghi trong h\u1ee3p \u0111\u1ed3ng n\u1ebfu b\u1ea1n kh\xf4ng \u0111\u1ea1t k\u1ebft qu\u1ea3."},{question:"G\xf3i Tr\u1ecdn v\u1eb9n c\xf3 ngh\u0129a l\xe0 c\u1ee9 tr\u01b0\u1ee3t l\xe0 \u0111\u01b0\u1ee3c ho\xe0n to\xe0n b\u1ed9 ti\u1ec1n?",answer:'Kh\xf4ng. Vi\u1ec7c ho\xe0n ph\xed \xe1p d\u1ee5ng theo c\xe1c \u0111i\u1ec1u ki\u1ec7n c\u1ee5 th\u1ec3 ghi trong h\u1ee3p \u0111\u1ed3ng \u0111\xe3 k\xfd (v\xed d\u1ee5: h\u1ed3 s\u01a1 n\u1ed9p \u0111\xfang h\u1ea1n, cung c\u1ea5p \u0111\u1ee7 gi\u1ea5y t\u1edd, kh\xf4ng t\u1ef1 \xfd r\xfat h\u1ed3 s\u01a1...). Ngo\xe0i ra, c\xe1c kho\u1ea3n chi ph\xed \u0111\xe3 ph\xe1t sinh th\u1ef1c t\u1ebf \u0111\u01b0\u1ee3c tr\u1eeb theo m\u1ee5c "Chi ph\xed d\u1ef1 ki\u1ebfn tr\u1eeb khi thanh l\xfd h\u1ee3p \u0111\u1ed3ng" trong chi ti\u1ebft g\xf3i.'},{question:"Cam k\u1ebft b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng kh\xe1c g\xec v\u1edbi g\xf3i An t\xe2m / Tr\u1ecdn v\u1eb9n?",answer:"Hai c\u01a1 ch\u1ebf kh\xe1c nhau ho\xe0n to\xe0n. G\xf3i An t\xe2m / Tr\u1ecdn v\u1eb9n l\xe0 ch\xednh s\xe1ch chia s\u1ebb r\u1ee7i ro v\u1ec1 K\u1ebeT QU\u1ea2: b\u1ea1n tr\u1ea3 gi\xe1 cao h\u01a1n, \u0111\u1ed5i l\u1ea1i \u0111\u01b0\u1ee3c ho\xe0n ph\xed theo \u0111i\u1ec1u ki\u1ec7n h\u1ee3p \u0111\u1ed3ng n\u1ebfu kh\xf4ng \u0111\u1ea1t k\u1ebft qu\u1ea3. C\xf2n Cam k\u1ebft b\u1ea3o \u0111\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng l\xe0 tr\xe1ch nhi\u1ec7m c\u1ee7a RIBA v\u1ec1 L\u1ed6I NGHI\u1ec6P V\u1ee4: n\u1ebfu RIBA l\xe0m sai v\xe0 l\xe0m m\u1ea5t c\u01a1 h\u1ed9i x\xe9t tuy\u1ec3n c\u1ee7a b\u1ea1n, RIBA ho\xe0n 100% ph\xed d\u1ecbch v\u1ee5 c\u1ee7a ph\u1ea7n b\u1ecb \u1ea3nh h\u01b0\u1edfng v\xe0 tr\u1ea3 th\xeam m\u1ed9t kho\u1ea3n b\u1ea3o \u0111\u1ea3m b\u1eb1ng 100% ph\xed d\u1ecbch v\u1ee5. Cam k\u1ebft n\xe0y kh\xf4ng ph\u1ee5 thu\u1ed9c b\u1ea1n ch\u1ecdn lo\u1ea1i gi\xe1 n\xe0o, v\xe0 c\u0169ng kh\xf4ng ph\u1ea3i cam k\u1ebft tr\xfang tuy\u1ec3n."},{question:"Gi\xe1 tr\xean b\u1ea3ng \u0111\xe3 bao g\u1ed3m ph\xed b\xe1o danh, visa, kh\xe1m s\u1ee9c kh\u1ecfe ch\u01b0a?",answer:'Ch\u01b0a. B\u1ea3ng gi\xe1 ch\u1ec9 l\xe0 ph\xed d\u1ecbch v\u1ee5 c\u1ee7a RIBA. C\xe1c kho\u1ea3n b\xean th\u1ee9 ba nh\u01b0 ph\xed b\xe1o danh c\u1ee7a tr\u01b0\u1eddng, ph\xed visa, kh\xe1m s\u1ee9c kh\u1ecfe, d\u1ecbch thu\u1eadt ph\xe1t sinh, chuy\u1ec3n ph\xe1t nhanh, v\xe9 m\xe1y bay... kh\xe1ch h\xe0ng t\u1ef1 chi tr\u1ea3. B\u1ea1n c\xf3 th\u1ec3 \u01b0\u1edbc t\xednh c\xe1c kho\u1ea3n n\xe0y ngay trong c\xf4ng c\u1ee5 "T\u1ef1 t\u1ea1o b\u1ea3ng t\xednh b\xe1o gi\xe1".'},{question:"T\xf4i mu\u1ed1n n\u1ed9p nhi\u1ec1u tr\u01b0\u1eddng h\u01a1n s\u1ed1 tr\u01b0\u1eddng m\u1eb7c \u0111\u1ecbnh c\u1ee7a g\xf3i th\xec t\xednh th\u1ebf n\xe0o?",answer:'M\u1ed7i g\xf3i c\xf3 s\u1ed1 tr\u01b0\u1eddng h\u1ed7 tr\u1ee3 m\u1eb7c \u0111\u1ecbnh. V\u1edbi g\xf3i cho ph\xe9p m\u1edf r\u1ed9ng, m\u1ed7i tr\u01b0\u1eddng t\u0103ng th\xeam \u0111\u01b0\u1ee3c t\xednh theo m\u1ee9c ph\xed ni\xeam y\u1ebft trong c\xf4ng c\u1ee5 b\xe1o gi\xe1. V\u1edbi g\xf3i \u0111\xe3 \u1edf m\u1ee9c tr\u1ea7n ho\u1eb7c ch\u01b0a c\xf3 quy t\u1eafc t\xednh, c\xf4ng c\u1ee5 s\u1ebd hi\u1ec3n th\u1ecb "Li\xean h\u1ec7 t\u01b0 v\u1ea5n \u0111\u1ec3 b\xe1o gi\xe1 ch\xednh x\xe1c" thay v\xec \u0111\u01b0a ra con s\u1ed1 kh\xf4ng ch\u1eafc ch\u1eafn.'},{question:"B\u1ea3ng gi\xe1 n\xe0y c\xf3 c\u1ed1 \u0111\u1ecbnh trong c\u1ea3 n\u0103m 2027 kh\xf4ng?",answer:"Gi\xe1 c\xf3 th\u1ec3 thay \u0111\u1ed5i theo ch\u01b0\u01a1ng tr\xecnh, tr\u01b0\u1eddng, ng\xe0nh, th\u1eddi \u0111i\u1ec3m v\xe0 ch\xednh s\xe1ch t\u1eebng n\u0103m. Gi\xe1 ch\xednh th\u1ee9c \xe1p d\u1ee5ng cho b\u1ea1n l\xe0 gi\xe1 ghi trong h\u1ee3p \u0111\u1ed3ng d\u1ecbch v\u1ee5 \u0111\xe3 k\xfd gi\u1eefa hai b\xean."}
1,{question:"RIBA c\xf3 cam k\u1ebft ch\u1eafc ch\u1eafn tr\xfang tuy\u1ec3n kh\xf4ng?",answer:"Kh\xf4ng. RIBA cam k\u1ebft v\u1ec1 ch\u1ea5t l\u01b0\u1ee3ng h\u1ed7 tr\u1ee3 h\u1ed3 s\u01a1, ti\u1ebfn \u0111\u1ed9 v\xe0 t\xednh minh b\u1ea1ch c\u1ee7a quy tr\xecnh. K\u1ebft qu\u1ea3 x\xe9t tuy\u1ec3n do tr\u01b0\u1eddng v\xe0 \u0111\u01a1n v\u1ecb c\u1ea5p h\u1ecdc b\u1ed5ng quy\u1ebft \u0111\u1ecbnh. Ch\xednh s\xe1ch ho\xe0n ph\xed l\xe0 c\u01a1 ch\u1ebf chia s\u1ebb r\u1ee7i ro, kh\xf4ng ph\u1ea3i cam k\u1ebft k\u1ebft qu\u1ea3."}],b={title:"Ch\u01b0a ch\u1eafc g\xf3i n\xe0o ph\xf9 h\u1ee3p v\u1edbi h\u1ed3 s\u01a1 c\u1ee7a b\u1ea1n?",desc:"G\u1eedi th\xf4ng tin h\u1ed3 s\u01a1, chuy\xean vi\xean RIBA s\u1ebd t\u01b0 v\u1ea5n g\xf3i d\u1ecbch v\u1ee5, s\u1ed1 tr\u01b0\u1eddng n\xean n\u1ed9p v\xe0 lo\u1ea1i ch\xednh s\xe1ch ho\xe0n ph\xed h\u1ee3p l\xfd nh\u1ea5t v\u1edbi m\u1ee5c ti\xeau v\xe0 ng\xe2n s\xe1ch c\u1ee7a b\u1ea1n."}},48580:function(n,e,t){"use strict";var i=t(85893),r=(t(67294),t(98259)),a=t(66422);e.Z=function(n){var e=n.children,t=n.headerAbsolute,o=n.bg,c=n.theme;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Z,{absolute:t,theme:c}),(0,i.jsx)("div",{className:"vnext-layout-wrapper ".concat(c?"theme-".concat(c):""),"data-theme":c,style:{minHeight:"100vh",display:"flex",flexDirection:"column",backgroundColor:o||"var(--sic-bg-primary, #03111f)",color:"dark"===c?"#ffffff":"var(--sic-text-primary, #ffffff)",paddingTop:t?0:"73px"},children:(0,i.jsx)("main",{style:{flex:1},children:e})}),(0,i.jsx)(a.Z,{})]})}},25235:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return le},default:function(){return se}});var i=t(85893),r=t(67294),a=t(48580),o=t(4812),c=t(28520),l=t.n(c),s=t(11163),u=t(6768),h=t(98833),d=t(48383),m=t(43525),g=t(66231),v=t(80407),p=t(96291);function f(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function b(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),i.forEach((function(e){f(n,e,t[e])}))}return n}var y=[{id:"language",label:"Phi h\u1ecdc v\u1ecb",pricingLevel:"language",defaultYears:1},{id:"bachelor",label:"\u0110\u1ea1i h\u1ecdc",pricingLevel:"undergraduate",defaultYears:4},{id:"master",label:"Th\u1ea1c s\u0129",pricingLevel:"master",defaultYears:3},{id:"phd",label:"Ti\u1ebfn s\u0129",pricingLevel:"phd",defaultYears:4}];function x(n){return y.find((function(e){return e.id===n}))||y[1]}var _=y.filter((function(n){return"language"!==n.id})),j=[{id:"year",label:"H\u1ec7 1 n\u0103m ti\u1ebfng",trainingIds:["1f9f3064-b518-4d18-a7d0-acc034095915"],defaultYears:1},{id:"semester",label:"H\u1ec7 1 h\u1ecdc k\u1ef3",trainingIds:["6a025239-1587-4dd6-af48-d806b329315c"],defaultYears:5/12},{id:"foundation",label:"D\u1ef1 b\u1ecb 1 n\u0103m",trainingIds:["623c4ff6-031f-4ff5-b3a8-c3d7d69330db"],defaultYears:1},{id:"four_week",label:"H\u1ec7 4 tu\u1ea7n",trainingIds:["e4444444-4444-4444-4444-444444444444","0fbfab6f-e8d2-4af2-be71-7c55f7ef3c65"],defaultYears:1/12},{id:"summer",label:"Tr\u1ea1i h\xe8",trainingIds:["68166d21-f440-41c5-9bfb-4285fafdfe02"],defaultYears:1/12},{id:"winter",label:"Tr\u1ea1i \u0111\xf4ng",trainingIds:["e645f9a8-b33e-4981-b7e2-a7758cc36e56"],defaultYears:1/12}];function N(n){return j.find((function(e){return e.id===n}))||j[0]}function k(n){return j.some((function(e){return e.id===n}))}function T(n,e){return"language"===n&&N(e).defaultYears<1}function C(n,e){return"language"===n?N(e).defaultYears:x(n).defaultYears}function P(n){return n>=1?"".concat(Math.round(n)," n\u0103m"):"".concat(Math.max(1,Math.round(12*n))," th\xe1ng")}var S={per_year:"/ n\u0103m",per_semester:"/ k\u1ef3",per_month:"/ th\xe1ng",one_time:"(1 l\u1ea7n)"},w={single:"ph\xf2ng \u0111\u01a1n",double:"ph\xf2ng \u0111\xf4i",triple:"ph\xf2ng 3",quad:"ph\xf2ng 4",sextuple:"ph\xf2ng 6",triple_quad:"ph\xf2ng 3-4",apartment:"c\u0103n h\u1ed9",off_campus:"ngo\xe0i tr\u01b0\u1eddng"},A=["single","double","triple","triple_quad","quad","sextuple","apartment","off_campus"];
1function L(n){if(null===n||void 0===n||""===n)return null;var e=Number(n);return Number.isFinite(e)?e:null}function Y(n,e){return"per_year"===n||"per_semester"===n||"per_month"===n||"one_time"===n?n:e}function B(n,e){var t=n.filter((function(n){return null!==L(n.amountMin)||null!==L(n.amountMax)}));if(!t.length)return null;var i=1/0,r=-1/0,a=new Map,o=new Set,c=!0,l=!1,s=void 0;try{for(var u,h=t[Symbol.iterator]();!(c=(u=h.next()).done);c=!0){var d=u.value,m=L(d.amountMin),g=L(d.amountMax),v=null!==m&&void 0!==m?m:g,p=null!==g&&void 0!==g?g:m;if(null!==v&&null!==p){i=Math.min(i,v,p),r=Math.max(r,v,p);var f=Y(d.period,e);a.set(f,(a.get(f)||0)+1),d.dormRoomType&&o.add(w[d.dormRoomType]||d.dormRoomType)}}}catch(x){l=!0,s=x}finally{try{c||null==h.return||h.return()}finally{if(l)throw s}}if(!Number.isFinite(i)||!Number.isFinite(r))return null;var b=e,y=0;return a.forEach((function(n,e){n>y&&(y=n,b=e)})),{min:i,max:r,period:b,currency:t[0].currency||"CNY",count:t.length,roomTypes:Array.from(o)}}function Q(n){return!n.status||"available"===n.status||"scholarship_only"===n.status}function I(n,e,t,i){return"language"===e&&"year"!==t?null:function(n,e,t){var i=n.filter((function(n){return"tuition"===n.costType&&n.programLevel===e&&Q(n)}));if(!i.length)return null;var r=i.filter((function(n){return n.instructionLanguage===t})),a=i.filter((function(n){return!n.instructionLanguage||"any"===n.instructionLanguage}));return B(r.length?r:a.length?a:i,"per_year")}(n,e,i)}function q(n,e){return"language"===n?"foundation"===e?["foundation"]:["language","non_degree"]:[n]}function M(n,e,t){var i=q(e,t),r=new Map,a=0,o=!0,c=!1,l=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var h=s.value;if("dormitory"===h.costType&&Q(h)&&(!h.programLevel||i.includes(h.programLevel))){var d=L(h.amountMin),m=L(h.amountMax),g=null!==d&&void 0!==d?d:m,v=null!==m&&void 0!==m?m:d;if(null!==g&&null!==v&&"CNY"===(h.currency||"CNY")){var p=h.period;if("per_month"===p||"per_semester"===p||"per_year"===p){var f=h.dormRoomType||null,b="".concat(f||"any","|").concat(p),y=r.get(b);if(y)y.min=Math.min(y.min,g,v),y.max=Math.max(y.max,g,v),y.count+=1;else{var x=f?w[f]||f:"Kho\u1ea3ng gi\xe1 chung";r.set(b,{key:b,roomType:f,label:x.charAt(0).toUpperCase()+x.slice(1),min:Math.min(g,v),max:Math.max(g,v),period:p,count:1})}}else a+=1}}}}catch(N){c=!0,l=N}finally{try{o||null==u.return||u.return()}finally{if(c)throw l}}var _={per_month:0,per_semester:1,per_year:2},j=function(n){if(!n)return 99;var e=A.indexOf(n);return-1===e?98:e};return{options:Array.from(r.values()).sort((function(n,e){return j(n.roomType)-j(e.roomType)||_[n.period]-_[e.period]})),skipped:a}}function R(n){var e=n.min===n.max?z(n.min):"".concat(z(n.min),"\u2013").concat(z(n.max));return"".concat(n.label," \xb7 ").concat(e," CNY ").concat(S[n.period])}function V(n,e,t,i){var r=q(t,i),a=function(n){return null===L(n)?null:2*L(n)},o=[],c=!0,l=!1,s=void 0;try{for(var u,h=n[Symbol.iterator]();!(c=(u=h.next()).done);c=!0){var d=u.value;(d.kind||d.costType)===e&&Q(d)&&("CNY"===(d.currency||"CNY")&&(d.programLevel&&!r.includes(d.programLevel)||("per_year"===d.period||"one_time"===d.period?o.push(d):"per_semester"===d.period&&o.push(b({},d,{amountMin:a(d.amountMin),amountMax:a(d.amountMax),period:"per_year"})))))}}catch(x){l=!0,s=x}finally{try{c||null==h.return||h.return()}finally{if(l)throw s}}var m=o.filter((function(n){return n.programLevel})),g=m.length?m:o,v=g.filter((function(n){return"per_year"===n.period})),p=g.filter((function(n){return"one_time"===n.period})),f=p.length>v.length?"one_time":"per_year",y=B("one_time"===f?p:v,f);return y?b({},y,{period:f}):null}function D(n,e,t){return B(n.filter((function(n){return n.costType===e&&Q(n)})),t)}var F=[10,11,12];function K(n){var e=Number(n);return F.includes(e)?e:12}function H(n,e){switch(e){case"per_month":return 12*n;case"per_semester":return 2*n;default:return n}}var E={db:"CSDL tr\u01b0\u1eddng",ref:"Tham kh\u1ea3o",manual:"T\u1ef1 nh\u1eadp"},O={tuitionPct:0,dormPct:0,insuranceCovered:!1,stipendMonthly:null,stipendMonths:12},G={language:2500,bachelor:2500,master:3e3,phd:3500},W=[{id:"none",label:"T\u1ef1 ph\xed (kh\xf4ng c\xf3 h\u1ecdc b\u1ed5ng)"},{id:"tuition_50",label:"H\u1ecdc b\u1ed5ng tr\u01b0\u1eddng \u2013 gi\u1ea3m 50% h\u1ecdc ph\xed"},{id:"tuition_100",label:"H\u1ecdc b\u1ed5ng tr\u01b0\u1eddng \u2013 mi\u1ec5n 100% h\u1ecdc ph\xed"},{id:"csc_full",label:"CSC to\xe0n ph\u1ea7n \u2013 mi\u1ec5n h\u1ecdc ph\xed, KTX, b\u1ea3o hi\u1ec3m + tr\u1ee3 c\u1ea5p"},{id:"custom",label:"T\xf9y ch\u1ec9nh"}];function Z(n){var e;return(null===(e=W.find((function(e){return e.id===n})))||void 0===e?void 0:e.label)||"T\xf9y ch\u1ec9nh"}function U(n){return"none"===n||"tuition_50"===n||"tuition_100"===n||"csc_full"===n||"custom"===n}function X(n,e){switch(n){case"tuition_50":return b({},O,{tuitionPct:50});case"tuition_100":return b({},O,{tuitionPct:100});case"csc_full":return b({},O,{tuitionPct:100,dormPct:100,insuranceCovered:!0,stipendMonthly:G[e]});default:return b({},O)}}function z(n){return"number"===typeof n&&Number.isFinite(n)?Math.round(n).toLocaleStr
1ing("vi-VN"):"\u2014"}var J="none";function $(n,e){var t=null===n||void 0===n?void 0:n.extraCostOptions.find((function(n){return n.id===e}));return t&&"number"===typeof t.defaultAmount&&t.defaultAmount>0?t.defaultAmount:null}function nn(n){var e=/^(\d{5})-/.exec(String(n||""));return e?Number(e[1]):null}function en(n){return"language"===n||"bachelor"===n||"master"===n||"phd"===n}function tn(n){return"chinese"===n||"english"===n}function rn(n){return"no_refund"===n||"refund_50"===n||"refund_100"===n}var an=t(97815),on=t.n(an);function cn(n){return function(n){if(Array.isArray(n)){for(var e=0,t=new Array(n.length);e<n.length;e++)t[e]=n[e];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ln(n){return{id:n.id,name:n.name,slug:n.slug||null,code:nn(n.slug),city:n.city||null,province:n.province||null,rank:"number"===typeof n.rank?n.rank:null,projects:Array.isArray(n.projects)?n.projects:[]}}function sn(n,e){return("number"===typeof n.rank?n.rank:1e5)-("number"===typeof e.rank?e.rank:1e5)||n.name.localeCompare(e.name,"vi")}var un=function(n){var e=n.value,t=n.onChange,a=n.initialCode,o=(0,r.useState)(null),c=o[0],l=o[1],s=(0,r.useState)(!1),u=s[0],h=s[1],m=(0,r.useState)(!1),g=m[0],v=m[1],p=(0,r.useState)(""),f=p[0],b=p[1],y=(0,r.useState)(!1),x=y[0],_=y[1],j=(0,r.useRef)(null),N=(0,r.useRef)(!1),k=(0,r.useRef)(!0);(0,r.useEffect)((function(){return k.current=!0,function(){k.current=!1}}),[]);var T=(0,r.useCallback)((function(){h(!0),v(!1),(0,d.s0)().then((function(n){k.current&&(n.length||v(!0),l(n))})).finally((function(){return k.current&&h(!1)}))}),[]);(0,r.useEffect)((function(){T()}),[T]),(0,r.useEffect)((function(){if(!N.current&&c&&a){N.current=!0;var n=c.find((function(n){return nn(n.slug)===a}));n&&t(ln(n))}}),[c,a,t]),(0,r.useEffect)((function(){if(x){var n=function(n){j.current&&!j.current.contains(n.target)&&_(!1)},e=function(n){"Escape"===n.key&&_(!1)};return document.addEventListener("mousedown",n),document.addEventListener("keydown",e),function(){document.removeEventListener("mousedown",n),document.removeEventListener("keydown",e)}}}),[x]);var C=(0,r.useMemo)((function(){if(!c)return[];var n=(0,d.Dk)(f);return cn(n?c.filter((function(e){return e.searchKey.includes(n)})):c).sort(sn).slice(0,40)}),[c,f]),P=(0,r.useMemo)((function(){if(!c)return 0;var n=(0,d.Dk)(f);return n?c.filter((function(e){return e.searchKey.includes(n)})).length:c.length}),[c,f]),S=function(n){t(ln(n)),b(""),_(!1)};return(0,i.jsxs)("div",{className:on().picker,ref:j,children:[e&&!x?(0,i.jsxs)("button",{type:"button",className:on().pickerValue,onClick:function(){return _(!0)},"aria-label":"Tr\u01b0\u1eddng \u0111\xe3 ch\u1ecdn: ".concat(e.name,". B\u1ea5m \u0111\u1ec3 \u0111\u1ed5i tr\u01b0\u1eddng"),children:[(0,i.jsx)("span",{className:on().pickerValueName,children:e.name}),(0,i.jsx)("span",{className:on().pickerValueSub,children:[e.city,e.province].filter(Boolean).join(" \xb7 ")||"B\u1ea5m \u0111\u1ec3 \u0111\u1ed5i tr\u01b0\u1eddng"}),(0,i.jsx)("span",{className:"material-symbols-outlined ".concat(on().pickerChev),"aria-hidden":"true",children:"expand_more"})]}):(0,i.jsxs)("div",{className:on().pickerSearch,children:[(0,i.jsx)("span",{className:"material-symbols-outlined","aria-hidden":"true",children:"search"}),(0,i.jsx)("input",{type:"text",value:f,placeholder:"G\xf5 t\xean tr\u01b0\u1eddng, th\xe0nh ph\u1ed1 ho\u1eb7c t\u1ec9nh...","aria-label":"T\xecm tr\u01b0\u1eddng \u0111\u1ea1i h\u1ecdc",autoFocus:Boolean(e),onFocus:function(){return _(!0)},onChange:function(n){b(n.target.value),_(!0)},onKeyDown:function(n){"Enter"===n.key&&C.length&&(n.preventDefault(),S(C[0]))}}),e&&(0,i.jsx)("button",{type:"button",className:on().pickerCancel,onClick:function(){b(""),_(!1)},"aria-label":"Gi\u1eef tr\u01b0\u1eddng \u0111ang ch\u1ecdn",children:"H\u1ee7y"})]}),x&&(0,i.jsxs)("div",{className:on().pickerPanel,role:"listbox","aria-label":"Danh s\xe1ch tr\u01b0\u1eddng",children:[u&&!c&&(0,i.jsx)("div",{className:on().pickerNote,children:"\u0110ang t\u1ea3i danh s\xe1ch tr\u01b0\u1eddng..."}),g&&(0,i.jsxs)("div",{className:on().pickerNote,children:["Kh\xf4ng t\u1ea3i \u0111\u01b0\u1ee3c danh s\xe1ch tr\u01b0\u1eddng."," ",(0,i.jsx)("button",{type:"button",className:on().linkBtn,onClick:T,children:"Th\u1eed l\u1ea1i"})]}),c&&!g&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:on().pickerNote,children:[P.toLocaleStr
1ing("vi-VN")," tr\u01b0\u1eddng",f.trim()?" kh\u1edbp":"",P>40?" \xb7 hi\u1ec7n ".concat(40," tr\u01b0\u1eddng \u0111\u1ea7u, g\xf5 th\xeam \u0111\u1ec3 thu h\u1eb9p"):""]}),0===C.length&&(0,i.jsx)("div",{className:on().pickerNote,children:"Kh\xf4ng t\xecm th\u1ea5y tr\u01b0\u1eddng ph\xf9 h\u1ee3p."}),C.map((function(n){var t=(null===e||void 0===e?void 0:e.id)===n.id;return(0,i.jsxs)("button",{type:"button",role:"option","aria-selected":t,className:"".concat(on().pickerItem," ").concat(t?on().pickerItemOn:""),onClick:function(){return S(n)},children:[(0,i.jsx)("span",{className:on().pickerItemName,children:n.name}),(0,i.jsxs)("span",{className:on().pickerItemSub,children:[[n.city,n.province].filter(Boolean).join(" \xb7 "),"number"===typeof n.rank?" \xb7 H\u1ea1ng ".concat(n.rank):""]})]},n.id)}))]})]})]})};function hn(n,e,t,i,r,a,o){try{var c=n[a](o),l=c.value}catch(s){return void t(s)}c.done?e(l):Promise.resolve(l).then(i,r)}function dn(n){return function(){var e=this,t=arguments;return new Promise((function(i,r){var a=n.apply(e,t);function o(n){hn(a,i,r,o,c,"next",n)}function c(n){hn(a,i,r,o,c,"throw",n)}o(void 0)}))}}function mn(n){return function(n){if(Array.isArray(n)){for(var e=0,t=new Array(n.length);e<n.length;e++)t[e]=n[e];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var gn="nd_program",vn={language:"non_degree",bachelor:"bachelor",master:"master",phd:"doctor"};function pn(n){if(null===n||void 0===n||""===n)return null;var e=Number(n);return Number.isFinite(e)?e:null}function fn(n){var e=[],t=Array.isArray(null===n||void 0===n?void 0:n.levels)?n.levels:[],i=!0,r=!1,a=void 0;try{for(var o,c=t[Symbol.iterator]();!(i=(o=c.next()).done);i=!0){var l=o.value,s=Array.isArray(null===l||void 0===l?void 0:l.langs)?l.langs:[],u=!0,h=!1,d=void 0;try{for(var m,g=s[Symbol.iterator]();!(u=(m=g.next()).done);u=!0){var v=m.value,p=Array.isArray(null===v||void 0===v?void 0:v.categories)?v.categories:[],f=!0,b=!1,y=void 0;try{for(var x,_=p[Symbol.iterator]();!(f=(x=_.next()).done);f=!0){var j=x.value,N=Array.isArray(null===j||void 0===j?void 0:j.majors)?j.majors:[],k=!0,T=!1,C=void 0;try{for(var P,S=N[Symbol.iterator]();!(k=(P=S.next()).done);k=!0){var w=P.value,A=String((null===w||void 0===w?void 0:w.nameVi)||(null===w||void 0===w?void 0:w.nameCn)||(null===w||void 0===w?void 0:w.nameEn)||"").trim();A&&e.push({key:"".concat(l.code,"|").concat(v.code,"|").concat((null===w||void 0===w?void 0:w.code)||"","|").concat((null===w||void 0===w?void 0:w.nameCn)||A),code:(null===w||void 0===w?void 0:w.code)?String(w.code):null,nameVi:A,nameCn:(null===w||void 0===w?void 0:w.nameCn)?String(w.nameCn):null,nameEn:(null===w||void 0===w?void 0:w.nameEn)?String(w.nameEn):null,level:String((null===l||void 0===l?void 0:l.code)||""),lang:String((null===v||void 0===v?void 0:v.code)||""),category:(null===j||void 0===j?void 0:j.nameVi)?String(j.nameVi):null,tuitionMin:pn(null===w||void 0===w?void 0:w.tuitionMin),tuitionMax:pn(null===w||void 0===w?void 0:w.tuitionMax),tuitionPeriod:"per_year",trainingId:null,durationYears:(null===w||void 0===w?void 0:w.durationYears)?String(w.durationYears):null,rank:pn(null===w||void 0===w?void 0:w.rank),rankAlphabet:(null===w||void 0===w?void 0:w.rankAlphabet)?String(w.rankAlphabet):null,source:"campuschina"})}}catch(L){T=!0,C=L}finally{try{k||null==S.return||S.return()}finally{if(T)throw C}}}}catch(L){b=!0,y=L}finally{try{f||null==_.return||_.return()}finally{if(b)throw y}}}}catch(L){h=!0,d=L}finally{try{u||null==g.return||g.return()}finally{if(h)throw d}}}}catch(L){r=!0,a=L}finally{try{i||null==c.return||c.return()}finally{if(r)throw a}}return e}function bn(n){var e,t;return null!==(t=null===(e=j.find((function(e){return e.trainingIds.includes(String(n))})))||void 0===e?void 0:e.id)&&void 0!==t?t:null}function yn(n){var e,t;return(Array.isArray(n)?n:[]).filter((function(n){var e;return null!==bn(null===n||void 0===n||null===(e=n.nonDegreeProgram)||void 0===e?void 0:e.trainingId)})).sort((function(n,i){return(null!==(e=pn(null===n||void 0===n?void 0:n.rank))&&void 0!==e?e:999)-(null!==(t=pn(null===i||void 0===i?void 0:i.rank))&&void 0!==t?t:999)})).flatMap((function(n){var e,t,i=Array.isArray(null===(e=n.nonDegreeProgram)||void 0===e?void 0:e.language)?n.nonDegreeProgram.language:[],r=function(n){var e=Array.isArray(n)?n:[],t=function(n){var t;return String((null===(t=e.find((function(e){return(null===e||void 0===e?void 0:e.lang)===n}
1)))||void 0===t?void 0:t.title)||"").trim()};return t("vi")||t("cn")||t("en")}(i);if(!r)return[];var a=String((null===(t=i.find((function(n){return"cn"===(null===n||void 0===n?void 0:n.lang)})))||void 0===t?void 0:t.title)||"").trim()||null,o=N(bn(n.nonDegreeProgram.trainingId)),c=n.period||"year",l="semester"===c?"per_semester":"year"===c?"per_year":null,s=null!==pn(n.tuition)&&"CNY"===(n.currency||"CNY")&&null!==l?pn(n.tuition):null;return[{key:"".concat(gn,"|").concat(n.id),code:null,nameVi:r,nameCn:a,nameEn:null,level:gn,lang:"chinese",category:null,tuitionMin:s,tuitionMax:s,tuitionPeriod:l||"per_year",trainingId:String(n.nonDegreeProgram.trainingId),durationYears:String(o.defaultYears),rank:null,rankAlphabet:null,source:"school-program",needsReview:Boolean(n.needsReview)}]}))}var xn={bachelor:"bachelor",master:"master",phd:"doctor"};var _n=new Map;function jn(){return(jn=dn(l().mark((function n(e,t){var i,r,a,o,c,s,u;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(i=_n.get(e))){n.next=3;break}return n.abrupt("return",i);case 3:return r=t?fetch("".concat((0,d.XJ)(),"/api/school-non-degree-program/public/school/").concat(encodeURIComponent(t))).then((function(n){return n.ok?n.json():null})).catch((function(){return null})):Promise.resolve([]),n.next=6,fetch("".concat((0,d.XJ)(),"/api/intl-major/school/").concat(e));case 6:if((a=n.sent).ok){n.next=9;break}throw new Error("HTTP ".concat(a.status));case 9:return n.next=11,a.text();case 11:return o=n.sent,c=o?JSON.parse(o):null,n.next=15,r;case 15:return s=n.sent,u=mn(yn(s)).concat(mn(fn(c))),null!==s&&_n.set(e,u),n.abrupt("return",u);case 19:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function Nn(n){if(null===n.tuitionMin&&null===n.tuitionMax)return null;var e,t,i=null!==(e=n.tuitionMin)&&void 0!==e?e:n.tuitionMax,r=null!==(t=n.tuitionMax)&&void 0!==t?t:n.tuitionMin,a=i===r?z(i):"".concat(z(i),"\u2013").concat(z(r));return"".concat(a," CNY ").concat(S[n.tuitionPeriod])}function kn(n){var e=["non_degree"===n.level?"Ti\u1ebfn tu \xb7 ".concat(n.nameVi):n.nameVi];n.nameCn&&n.nameCn!==n.nameVi&&e.push(n.nameCn);var t=Nn(n);return t&&e.push(t),e.join(" \xb7 ")}function Tn(n){if(!n.durationYears)return null;var e=Number(n.durationYears);return!Number.isFinite(e)||e<=0?null:e>=1?Math.round(e):Math.max(1,Math.round(12*e))/12}function Cn(n){return function(n){if(Array.isArray(n)){for(var e=0,t=new Array(n.length);e<n.length;e++)t[e]=n[e];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Pn="__custom",Sn=function(n){var e=n.options,t=n.value,a=n.customText,o=n.onPick,c=n.onCustomText,l=n.status,s=n.hasSchool,h=n.onRetry,d=n.levelLabel,m=n.languageLabel,g=(0,r.useState)(!1),v=g[0],p=g[1];(0,r.useEffect)((function(){a||p(!1)}),[e]);var f=(0,i.jsx)("input",{id:"qt-major",type:"text",value:a,onChange:function(n){return c(n.target.value)},placeholder:"Nh\u1eadp chuy\xean ng\xe0nh...",autoComplete:"off"});if("loading"===l)return(0,i.jsxs)(i.Fragment,{children:[f,(0,i.jsx)("div",{className:on().hint,children:"\u0110ang t\u1ea3i danh s\xe1ch chuy\xean ng\xe0nh c\u1ee7a tr\u01b0\u1eddng..."})]});if(!e.length)return(0,i.jsxs)(i.Fragment,{children:[f,(0,i.jsx)("div",{className:on().hint,children:s?"error"===l?(0,i.jsxs)(i.Fragment,{children:["Kh\xf4ng t\u1ea3i \u0111\u01b0\u1ee3c danh s\xe1ch chuy\xean ng\xe0nh."," ",(0,i.jsx)("button",{type:"button",className:on().linkBtn,onClick:h,children:"Th\u1eed l\u1ea1i"})]}):"Tr\u01b0\u1eddng ch\u01b0a c\xf3 danh s\xe1ch chuy\xean ng\xe0nh / ch\u01b0\u01a1ng tr\xecnh ".concat(d," d\u1ea1y b\u1eb1ng ").concat(m," trong h\u1ec7 th\u1ed1ng \u2014 nh\u1eadp tay."):"Ch\u1ecdn tr\u01b0\u1eddng \u0111\u1ec3 hi\u1ec7n danh s\xe1ch chuy\xean ng\xe0nh, ho\u1eb7c nh\u1eadp tay."})]});var b=e.filter((function(n){return"school-program"===n.source})).length,y=e.length-b,x=t?t.key:v||a?Pn:"";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:on().majorWrap,children:(0,i.jsx)(u.Z,{value:x,options:[{value:"",label:"\u2014 Ch\u1ecdn chuy\xean ng\xe0nh \u2014"},{value:Pn,label:"Nh\u1eadp tay chuy\xean ng\xe0nh kh\xe1c..."}].concat(Cn(e.map((function(n){return{value:n.key,label:kn(n)}})))),onChange:function(n){if(n===Pn)return p(!0),void o(null);if(p(!1),!n)return o(null),void c("");var t=e.find((function(e){return e.key===n}))||null;o(t)},ariaLabel:"Chuy\xean ng\xe0nh",placeholder:"\u2014 Ch\u1ecdn chuy\xean ng\xe0nh \u2014",searchable:!0,block:!0})}),(v||!t&&a)&&(0,i.jsx)("div",{className:on().majorCustom,children:f}),(0,i.jsxs)("div",{className:on().hint,children:[b>0&&"".concat(b," ch\u01b0\u01a1ng tr\xecnh ").concat(d," c\u1ee7a tr\u01b0\u1eddng"),b>0&&y>0&&" v\xe0 ",y>
10&&"".concat(y.toLocaleString("vi-VN")," chuy\xean ng\xe0nh ").concat(d," d\u1ea1y b\u1eb1ng ").concat(m," theo c\u1ed5ng campuschina"),"; g\xf5 \u0111\u1ec3 t\xecm theo t\xean Vi\u1ec7t / Trung."]})]})},wn=t(81380);function An(n){return function(n){if(Array.isArray(n)){for(var e=0,t=new Array(n.length);e<n.length;e++)t[e]=n[e];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ln="[email protected]",Yn=function(n,e){return null===n?"Ch\u01b0a x\xe1c \u0111\u1ecbnh":"".concat(z(n)," ").concat(e)},Bn=(0,r.forwardRef)((function(n,e){var t="number"===typeof n.rate&&n.rate>0,r=n.quote.scholarshipLines.length>0,a=function(e){return null!==e&&t?"\u2248 ".concat(z(e*n.rate)," \u0111"):null},o=n.school?n.school.name:"Ch\u01b0a ch\u1ecdn tr\u01b0\u1eddng",c=n.school?[n.school.city,n.school.province].filter(Boolean).join(", "):"",l=n.school?[null!==n.school.rank?"H\u1ea1ng ".concat(n.school.rank," to\xe0n qu\u1ed1c"):""].concat(An(n.school.projects)):[],s=n.service.none?"Kh\xf4ng d\xf9ng d\u1ecbch v\u1ee5 (t\u1ef1 n\u1ed9p h\u1ed3 s\u01a1)":n.service.packageName?"".concat(n.service.packageName).concat(n.service.policyLabel?" \xb7 ".concat(n.service.policyLabel):""):"Ch\u01b0a ch\u1ecdn g\xf3i";return(0,i.jsxs)("div",{className:"".concat(on().sheet," ").concat(n.capturing?on().sheetCapturing:""),ref:e,"aria-hidden":"true",children:[(0,i.jsx)("div",{className:on().shWmFixed,"aria-hidden":"true",children:(0,i.jsx)("img",{src:"/images/icon-logo.png",alt:""})}),(0,i.jsx)("div",{className:on().shWmRepeat,"aria-hidden":"true",children:[0,1,2,3].map((function(n){return(0,i.jsx)("img",{src:"/images/icon-logo.png",alt:"",style:{top:"".concat(561+1123*n,"px")}},n)}))}),(0,i.jsxs)("header",{className:on().shHead,children:[(0,i.jsxs)("div",{className:on().shBrand,children:[(0,i.jsx)("img",{src:"/images/logo.png",alt:"StudyInChina",className:on().shLogo}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:on().shBrandName,children:["StudyInChina",(0,i.jsx)("span",{children:".net"})," ",(0,i.jsx)("em",{children:"|"})," RIBA"]}),(0,i.jsxs)("div",{className:on().shBrandLine,children:["C\xf4ng ty C\u1ed5 ph\u1ea7n T\u1eadp \u0111o\xe0n H\u1ee3p t\xe1c qu\u1ed1c t\u1ebf Riba"," \xb7 T\u01b0 v\u1ea5n du h\u1ecdc Trung Qu\u1ed1c"]}),(0,i.jsxs)("div",{className:on().shBrandLine,children:["Hotline ",wn.Y_," (",wn.Ai,") \xb7 ",Ln," \xb7 ",wn.wv]})]})]}),(0,i.jsxs)("dl",{className:on().shMeta,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"M\xe3 b\xe1o gi\xe1"}),(0,i.jsx)("dd",{children:n.quoteCode})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Ng\xe0y l\u1eadp"}),(0,i.jsx)("dd",{children:(0,g.BI)(n.createdAt)})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Hi\u1ec7u l\u1ef1c \u0111\u1ebfn"}),(0,i.jsx)("dd",{children:(0,g.BI)(n.validUntil)})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"T\u1ef7 gi\xe1"}),(0,i.jsx)("dd",{children:t?"1 CNY = ".concat(z(n.rate)," \u0111"):"Ch\u01b0a c\xf3"})]})]})]}),(0,i.jsxs)("div",{className:on().shTitleBlock,children:[(0,i.jsx)("div",{className:on().shKicker,children:"B\u1ea3ng b\xe1o gi\xe1 chi ph\xed du h\u1ecdc Trung Qu\u1ed1c"}),(0,i.jsx)("h1",{className:on().shTitle,children:o}),(n.schoolNameCn||n.schoolShortName)&&(0,i.jsx)("div",{className:on().shSubtitle,children:[n.schoolNameCn,n.schoolShortName].filter(Boolean).join(" \xb7 ")}),(0,i.jsxs)("div",{className:on().shProgram,children:[n.levelLabel,n.major.trim()?" \xb7 ".concat(n.major.trim()):""," \xb7 ",n.languageLabel," \xb7 ",P(n.years)]})]}),(0,i.jsxs)("div",{className:on().shInfoGrid,children:[(0,i.jsxs)("section",{className:on().shInfoBox,children:[(0,i.jsx)("h2",{children:"Th\xf4ng tin ch\u01b0\u01a1ng tr\xecnh"}),(0,i.jsxs)("dl",{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Tr\u01b0\u1eddng"}),(0,i.jsx)("dd",{children:o})]}),c&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Khu v\u1ef1c"}),(0,i.jsx)("dd",{children:c})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"H\u1ec7 \u0111\xe0o t\u1ea1o"}),(0,i.jsx)("dd",{children:n.levelLabel})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Chuy\xean ng\xe0nh"}),(0,i.jsxs)("dd",{children:[n.major.trim()||"Ch\u01b0a x\xe1c \u0111\u1ecbnh",n.majorCn?" (".concat(n.majorCn,")"):""]})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Ng\xf4n ng\u1eef"}),(0,i.jsx)("dd",{children:n.languageLabel})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Th\u1eddi gian h\u1ecdc"}),(0,i.jsx)("dd",{children:P(n.years)})]}),n.scholarshipName&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"H\u1ecdc b\u1ed5ng"}),(0,i.jsx)("dd",{children:n.scholarshipName})]}),l.filter(Boolean).length>0&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"X\u1ebfp h\u1ea1ng"}),(0,i.jsx)("dd",{children:l.filter(Boolean).join(" \xb7 ")})]})]})]}),(0,i.jsxs)("section",{className:on().shInfoBox,children:[(0,i.jsx)("h2",{children:"Kh\xe1ch h\xe0ng & d\u1ecbch v\u1ee5"}),(0,i.jsxs)("dl",{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"K\xednh g\u1eedi"}),(0,i.jsx)("dd",{children:n.customerName.trim()||"................................................"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"\u0110i\u1ec7n tho\u1ea1i"}),(0,i.jsx)("dd",{children:n.customerPhone.trim()||"................................"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"T\u01b0 v\u1ea5n vi\xean"}),(0,i.jsx)("dd",{children:n.advisorName.trim()||"................................"})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"G\xf3i d\u1ecbch v\u1ee5"}),(0,i.jsx)("dd",{children:s})]}),n.service.quote&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Ph\xed d\u1ecbch v\u1ee5"}),(0,i.jsxs)("dd",{children:[z(n.service.quote.total)," \u0111",n.service.quote.vatAmount>0?n.service.quote.vatIncludedInTotal?" (\u0111\xe3 g\u1ed3m VAT ".concat(n.service.quote.vatPercent,"%)"):" (ch\u01b0a g\u1ed3m VAT ".concat(n.service.quote.vatPercent,"%)"):""]})]})]})]})]}),(0,i.jsxs)("div",{className:on().shKpis,children:[(0,i.jsxs)("div",{className:"".concat(on().shKpi," ").concat(on().shKpiMain),children:[(0,i.jsx)("div",{className:on().shKpiLabel,children:"T\u1ed5ng chi ph\xed n\u0103m \u0111\u1ea7u ti\xean"}),(0,i.jsxs)("div",{className:on().shKpiValue,children:["\u2248 ",t?z(n.quote.totalFirstYearVnd):"\u2014"," \u0111"]}),(0,i.jsxs)("div",{className:on().shKpiSub,children:[z(n.quote.cnyNetFirstYear)," CNY + ",z(n.quote.vndOneTime)," \u0111"]})]}),(0,i.jsxs)("div",{className:on().shKpi,children:[(0,i.jsxs)("div",{className:on().shKpiLabel,children:["T\u1ed5ng c\u1ea3 kh\xf3a (",P(n.years),")"]}),(0,i.jsxs)("div",{className:on().shKpiValue,children:["\u2248 ",t?z(n.quote.totalWholeVnd):"\u2014"," \u0111"]}),(0,i.jsxs)("div",{className:on().shKpiSub,children:[z(n.quote.cnyNetWhole)," CNY + ",z(n.quote.vndOneTime)," \u0111"]})]}),(0,i.jsxs)("div",{className:on().shKpi,children:[(0,i.jsx)("div",{className:on().shKpiLabel,children:r?"C\xf2n ph\u1ea3i chi / n\u0103m":"Chi ph\xed t\u1ea1i tr\u01b0\u1eddng / n\u0103m"}),(0,i.jsxs)("div",{className:on().shKpiValue,children:[z(n.quote.cnyNetFirstYear)," CNY"]}),(0,i.jsxs)("div",{className:on().shKpiSub,children:["\u2248 ",t?z(n.quote.cnyNetFirstYear*n.rate):"\u2014"," \u0111"]})]})]}),(0,i.jsxs)("section",{className:on().shSection,children:[(0,i.jsxs)("h2",{className:on().shSectionTitle,children:[(0,i.jsx)("span",{children:"1"})," Chi ph\xed t\u1ea1i tr\u01b0\u1eddng (CNY \u2013 Nh\xe2n d\xe2n t\u1ec7)"]}),(0,i.jsxs)("table",{className:on().shTable,children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:on().shColIdx,children:"#"}),(0,i.jsx)("th",{children:"H\u1ea1ng m\u1ee5c"}),(0,i.jsx)("th",{children:"\u0110\u01a1n gi\xe1"}),(0,i.jsx)("th",{className:on().shNum,children:"N\u0103m \u0111\u1ea7u"}),(0,i.jsxs)("th",{className:on().shNum,children:["C\u1ea3 kh\xf3a (",P(n.years),")"]})]})}),(0,i.jsx)("tbody",{children:n.quote.cnyLines.map((function(e,t){return(0,i.jsxs)("tr",{className:null===e.firstYear?on().shRowUnknown:void 0,children:[(0,i.jsx)("td",{className:on().shColIdx,children:t+1}),(0,i.jsxs)("td",{children:[e.label,"tuition"===e.key&&n.major.trim()?" (".concat(n.major.trim(),")"):""]}),(0,i.jsx)("td",{children:e.unit}),(0,i.jsxs)("td",{className:on().shNum,children:[Yn(e.firstYear,"CNY"),a(e.firstYear)&&(0,i.jsx)("span",{className:on().shSubVnd,children:a(e.firstYear)})]}),(0,i.jsxs)("td",{className:on().shNum,children:[null===e.whole?"\u2014":"".concat(z(e.whole)," CNY"),a(e.whole)&&(0,i.jsx)("span",{className:on().shSubVnd,children:a(e.whole)})]})]},e.key)}))}),(0,i.jsxs)("tfoot",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsxs)("td",{colSpan:3,children:["C\u1ed9ng chi ph\xed t\u1ea1i tr\u01b0\u1eddng",(0,i.jsxs)("span",{className:on().shSubVnd,children:["Quy \u0111\u1ed5i theo t\u1ef7 gi\xe1 1 CNY = ",t?z(n.rate):"\u2014"," \u0111"]})]}),(0,i.jsxs)("td",{className:on().shNum,children:[z(n.quote.cnyFirstYear)," CNY",a(n.quote.cnyFirstYear)&&(0,i.jsx)("span",{className:on().shSubVnd,children:a(n.quote.cnyFirstYear)})]}),(0,i.jsxs)("td",{className:on().shNum,children:[z(n.quote.cnyWhole)," CNY",a(n.quote.cnyWhole)&&(0,i.jsx)("span",{className:on().shSubVnd,children:a(n.quote.cnyWhole)})]})]}),r&&n.quote.scholarshipLines.map((function(n){return(0,i.jsxs)("tr",{className:on().shRowScholarship,children:[(0,i.jsx)("td",{colSpan:2,children:n.label}),(0,i.jsx)("td",{children:n.unit}),(0,i.jsxs)("td",{className:on().shNum,children:["\u2212 ",z(n.firstYear)," CNY"]}),(0,i.jsxs)("td",{className:on().shNum,children:["\u2212 ",z(n.whole)," CNY"]})]},n.key)})),r&&(0,i.jsxs)("tr",{className:on().shRowNet,children:[(0,i.jsx)("td",{colSpan:3,children:"C\xf2n ph\u1ea3i chi t\u1ea1i tr\u01b0\u1eddng sau h\u1ecdc b\u1ed5ng"}),(0,i.jsxs)("td",{className:on().shNum,children:[z(n.quote.cnyNetFirstYear)," CNY",a(n.quote.cnyNetFirstYear)&&(0,i.jsx)("span",{className:on().shSubVnd,children:a(n.quote.cnyNetFirstYear)})]}),(0,i.jsxs)("td",{className:on().shNum,children:[z(n.quote.cnyNetWhole)," CNY",a(n.quote.cnyNetWhole)&&(0,i.jsx)("span",{className:on().shSubVnd,children:a(n.quote.cnyNetWhole)})]})]})]})]})]}),(0,i.jsxs)("section",{className:on().shSection,children:[(0,i.jsxs)("h2",{className:on().shSectionTitle,children:[(0,i.jsx)("span",{children:"2"})," Chi ph\xed t\u1ea1i Vi\u1ec7t Nam & d\u1ecbch v\u1ee5 (VND, thu 1 l\u1ea7n)"]}),(0,i.jsxs)("table",{className:on().shTable,children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:on().shColIdx,children:"#"}),(0,i.jsx)("th",{children:"H\u1ea1ng m\u1ee5c"}),(0,i.jsx)("th",{children:"Ghi ch\xfa"}),(0,i.jsx)("th",{className:on().shNum,children:"S\u1ed1 ti\u1ec1n"})]})}),(0,i.jsx)("tbody",{children:n.quote.vndLines.map((function(e,t){return(0,i.jsxs)("tr",{className:null===e.firstYear?on().shRowUnknown:void 0,children:[(0,i.jsx)("td",{className:on().shColIdx,children:t+1}),(0,i.jsxs)("td",{children:[e.label,"service"===e.key&&n.service.packageName?" \u2014 ".concat(n.service.packageName):"","service"===e.key&&n.service.n
1one?" \u2014 kh\xf4ng d\xf9ng":""]}),(0,i.jsx)("td",{children:"service"===e.key?n.service.quote?"".concat(n.service.policyLabel||"").concat(n.service.quote.vatAmount>0?n.service.quote.vatIncludedInTotal?" \xb7 \u0111\xe3 g\u1ed3m VAT ".concat(n.service.quote.vatPercent,"%"):" \xb7 ch\u01b0a g\u1ed3m VAT ".concat(n.service.quote.vatPercent,"% (").concat(z(n.service.quote.vatAmount)," \u0111)"):""):n.service.none?"Kh\xe1ch t\u1ef1 n\u1ed9p h\u1ed3 s\u01a1":"Ch\u01b0a ch\u1ecdn g\xf3i d\u1ecbch v\u1ee5":e.unit}),(0,i.jsx)("td",{className:on().shNum,children:Yn(e.firstYear,"\u0111")})]},e.key)}))}),(0,i.jsx)("tfoot",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{colSpan:3,children:"C\u1ed9ng chi ph\xed t\u1ea1i Vi\u1ec7t Nam"}),(0,i.jsxs)("td",{className:on().shNum,children:[z(n.quote.vndOneTime)," \u0111"]})]})})]})]}),(0,i.jsxs)("div",{className:on().shTotal,children:[(0,i.jsxs)("div",{className:on().shTotalRow,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:on().shTotalLabel,children:"T\u1ed5ng chi ph\xed \u01b0\u1edbc t\xednh n\u0103m \u0111\u1ea7u ti\xean"}),(0,i.jsxs)("div",{className:on().shTotalFormula,children:[z(n.quote.cnyNetFirstYear)," CNY \xd7 ",t?z(n.rate):"\u2014"," +"," ",z(n.quote.vndOneTime)," \u0111"]})]}),(0,i.jsxs)("div",{className:on().shTotalValue,children:["\u2248 ",t?z(n.quote.totalFirstYearVnd):"\u2014"," \u0111"]})]}),(0,i.jsxs)("div",{className:"".concat(on().shTotalRow," ").concat(on().shTotalRowSub),children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:on().shTotalLabel,children:["T\u1ed5ng chi ph\xed \u01b0\u1edbc t\xednh c\u1ea3 kh\xf3a (",P(n.years),")"]}),(0,i.jsxs)("div",{className:on().shTotalFormula,children:[z(n.quote.cnyNetWhole)," CNY \xd7 ",t?z(n.rate):"\u2014"," +"," ",z(n.quote.vndOneTime)," \u0111"]})]}),(0,i.jsxs)("div",{className:on().shTotalValue,children:["\u2248 ",t?z(n.quote.totalWholeVnd):"\u2014"," \u0111"]})]}),n.quote.unknownLabels.length>0&&(0,i.jsxs)("div",{className:on().shTotalWarn,children:["T\u1ed5ng tr\xean ch\u01b0a g\u1ed3m: ",n.quote.unknownLabels.join(", ")," (ch\u01b0a c\xf3 s\u1ed1 li\u1ec7u t\u1ea1i th\u1eddi \u0111i\u1ec3m l\u1eadp)."]})]}),(0,i.jsxs)("section",{className:on().shNotes,children:[(0,i.jsxs)("h2",{className:on().shSectionTitle,children:[(0,i.jsx)("span",{children:"3"})," Ngu\u1ed3n s\u1ed1 li\u1ec7u & \u0111i\u1ec1u ki\u1ec7n \xe1p d\u1ee5ng"]}),(0,i.jsxs)("ol",{children:[(0,i.jsxs)("li",{children:["Chi ph\xed t\u1ea1i tr\u01b0\u1eddng"," ",n.costFromDb?"l\u1ea5y t\u1eeb c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u01b0\u1eddng c\u1ee7a StudyInChina (kho\u1ea3n c\xf3 kho\u1ea3ng gi\xe1 l\u1ea5y m\u1ee9c th\u1ea5p nh\u1ea5t)":"do t\u01b0 v\u1ea5n vi\xean nh\u1eadp theo th\xf4ng b\xe1o tuy\u1ec3n sinh c\u1ee7a tr\u01b0\u1eddng","; c\xe1c kho\u1ea3n tham kh\u1ea3o (ph\xed b\xe1o danh, b\u1ea3o hi\u1ec3m, visa, kh\xe1m s\u1ee9c kh\u1ecfe, v\xe9 m\xe1y bay) l\xe0 m\u1ee9c ph\u1ed5 bi\u1ebfn, s\u1ed1 th\u1ef1c t\u1ebf theo th\xf4ng b\xe1o c\u1ee7a tr\u01b0\u1eddng v\xe0 \u0111\u01a1n v\u1ecb thu."]}),(0,i.jsxs)("li",{children:["Ph\xed d\u1ecbch v\u1ee5 RIBA theo b\u1ea3ng gi\xe1 ",n.catalogVersion||"hi\u1ec7n h\xe0nh",n.vatNote?". ".concat(n.vatNote):""]}),(0,i.jsxs)("li",{children:[n.rateNote," S\u1ed1 quy \u0111\u1ed5i VND ch\u1ec9 \u0111\u1ec3 tham kh\u1ea3o; thanh to\xe1n th\u1ef1c t\u1ebf theo t\u1ef7 gi\xe1 ng\xe2n h\xe0ng t\u1ea1i th\u1eddi \u0111i\u1ec3m chuy\u1ec3n ti\u1ec1n."]}),r&&(0,i.jsxs)("li",{children:["Ph\u1ea7n h\u1ecdc b\u1ed5ng l\xe0 m\xf4 ph\u1ecfng theo lo\u1ea1i h\u1ecdc b\u1ed5ng d\u1ef1 ki\u1ebfn (",n.scholarshipName,"); m\u1ee9c h\u1ed7 tr\u1ee3 th\u1ef1c t\u1ebf theo quy\u1ebft \u0111\u1ecbnh c\u1ea5p h\u1ecdc b\u1ed5ng c\u1ee7a tr\u01b0\u1eddng / \u0111\u01a1n v\u1ecb c\u1ea5p."]}),(0,i.jsxs)("li",{children:["B\xe1o gi\xe1 c\xf3 hi\u1ec7u l\u1ef1c \u0111\u1ebfn ",(0,g.BI)(n.validUntil),"; sau th\u1eddi \u0111i\u1ec3m n\xe0y vui l\xf2ng li\xean h\u1ec7 \u0111\u1ec3 c\u1eadp nh\u1eadt."]}),n.legalNotes.map((function(n){return(0,i.jsx)("li",{children:n},n)}))]})]}),(0,i.jsxs)("div",{className:on().shSign,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:on().shSignTitle,children:"T\u01b0 v\u1ea5n vi\xean l\u1eadp b\xe1o gi\xe1"}),(0,i.jsx)("div",{className:on().shSignHint,children:"(K\xfd, ghi r\xf5 h\u1ecd t\xean)"}),(0,i.jsx)("div",{className:on().shSignName,children:n.advisorName.trim()})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:on().shSignTitle,children:"Kh\xe1ch h\xe0ng x\xe1c nh\u1eadn"}),(0,i.jsx)("div",{className:on().shSignHint,children:"(K\xfd, ghi r\xf5 h\u1ecd t\xean)"}),(0,i.jsx)("div",{className:on().shSignName,children:n.customerName.trim()})]})]}),(0,i.jsxs)("footer",{className:on().shFoot,children:[(0,i.jsxs)("span",{children:["StudyInChina.net by RIBA \xb7 Hotline ",wn.Y_," \xb7 ",Ln]}),(0,i.jsxs)("span",{children:[n.quoteCode," \xb7 L\u1eadp ng\xe0y ",(0,g.BI)(n.createdAt)," \xb7 ",wn.wv,"/bao-gia-du-hoc"]})]}),(n.dormPhotos.length>0||n.campusPhotos.length>
10)&&(0,i.jsxs)("section",{className:on().shPhotoPage,"data-photo-page":!0,children:[(0,i.jsxs)("h2",{className:on().shSectionTitle,children:[(0,i.jsx)("span",{children:"4"})," H\xecnh \u1ea3nh tham kh\u1ea3o"]}),n.dormPhotos.length>0&&(0,i.jsxs)("div",{className:on().shPhotoBlock,children:[(0,i.jsx)("div",{className:on().shPhotoLabel,children:"K\xfd t\xfac x\xe1"}),(0,i.jsx)("div",{className:on().shPhotoGrid,children:n.dormPhotos.map((function(n){return(0,i.jsx)("img",{src:n,alt:""},n)}))})]}),n.campusPhotos.length>0&&(0,i.jsxs)("div",{className:on().shPhotoBlock,children:[(0,i.jsx)("div",{className:on().shPhotoLabel,children:"Khu\xf4n vi\xean"}),(0,i.jsx)("div",{className:on().shPhotoGrid,children:n.campusPhotos.map((function(n){return(0,i.jsx)("img",{src:n,alt:""},n)}))})]}),(0,i.jsx)("p",{className:on().shPhotoNote,children:"\u1ea2nh l\u1ea5y t\u1eeb c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u01b0\u1eddng c\u1ee7a StudyInChina, mang t\xednh tham kh\u1ea3o; th\u1ef1c t\u1ebf c\xf3 th\u1ec3 kh\xe1c theo t\u1eebng th\u1eddi \u0111i\u1ec3m v\xe0 khu v\u1ef1c."})]})]})}));Bn.displayName="QuotationPrintSheet";var Qn=Bn,In=t(6628);function qn(n,e,t,i,r,a,o){try{var c=n[a](o),l=c.value}catch(s){return void t(s)}c.done?e(l):Promise.resolve(l).then(i,r)}function Mn(n){return function(){var e=this,t=arguments;return new Promise((function(i,r){var a=n.apply(e,t);function o(n){qn(a,i,r,o,c,"next",n)}function c(n){qn(a,i,r,o,c,"throw",n)}o(void 0)}))}}var Rn={status:"idle",campus:[],dorm:[]};function Vn(){return(Vn=Mn(l().mark((function n(e){var t,i;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch("/api/school-quote-photos/".concat(encodeURIComponent(e)));case 2:if((t=n.sent).ok){n.next=5;break}throw new Error("HTTP ".concat(t.status));case 5:return n.next=7,t.json();case 7:return i=n.sent,n.abrupt("return",{campus:Array.isArray(null===i||void 0===i?void 0:i.campus)?i.campus:[],dorm:Array.isArray(null===i||void 0===i?void 0:i.dorm)?i.dorm:[]});case 9:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function Dn(n){return Math.max(1,Math.ceil(n/6))}function Fn(n,e){var t=function(n){return(0,In.qD)(n)||""};return(n.length<=6?n.map(t):Array.from({length:6},(function(i,r){return t(n[(6*e%n.length+r)%n.length])}))).filter(Boolean)}function Kn(n){var e=n.title,t=n.total,r=n.shown,a=n.setIndex,o=n.onNext,c=Dn(t);return(0,i.jsxs)("div",{className:on().photoGroup,children:[(0,i.jsxs)("div",{className:on().photoGroupHead,children:[(0,i.jsxs)("div",{className:on().photoGroupTitle,children:[e," ",(0,i.jsxs)("span",{children:["(",t," \u1ea3nh)"]})]}),t>6&&(0,i.jsxs)("button",{type:"button",className:on().photoSwap,onClick:o,children:["\u0110\u1ed5i b\u1ed9 \u1ea3nh \xb7 ",a%c+1,"/",c]})]}),0===t?(0,i.jsx)("div",{className:on().photoEmpty,children:"Tr\u01b0\u1eddng ch\u01b0a c\xf3 \u1ea3nh nh\xf3m n\xe0y trong c\u01a1 s\u1edf d\u1eef li\u1ec7u."}):(0,i.jsx)("div",{className:on().photoGrid,children:r.map((function(n){return(0,i.jsx)("img",{src:n,alt:"",loading:"lazy"},n)}))})]})}function Hn(n){var e=n.photos;return(0,i.jsxs)("div",{className:on().card,children:[(0,i.jsxs)("div",{className:"".concat(on().cardHeader," ").concat(on().cardHeaderBlue),children:[(0,i.jsx)("span",{children:"3. H\xecnh \u1ea3nh tham kh\u1ea3o"}),(0,i.jsx)("span",{className:on().cardHeaderNote,children:"In k\xe8m \u1edf trang cu\u1ed1i b\u1ea3n b\xe1o gi\xe1"})]}),(0,i.jsxs)("div",{className:on().photoBody,children:[!n.hasSchool&&(0,i.jsx)("div",{className:on().photoEmpty,children:"Ch\u1ecdn tr\u01b0\u1eddng \u0111\u1ec3 l\u1ea5y \u1ea3nh k\xfd t\xfac x\xe1 v\xe0 khu\xf4n vi\xean."}),n.hasSchool&&"loading"===e.status&&(0,i.jsx)("div",{className:on().photoEmpty,children:"\u0110ang t\u1ea3i \u1ea3nh c\u1ee7a tr\u01b0\u1eddng..."}),n.hasSchool&&"error"===e.status&&(0,i.jsxs)("div",{className:on().photoEmpty,children:["Kh\xf4ng t\u1ea3i \u0111\u01b0\u1ee3c \u1ea3nh c\u1ee7a tr\u01b0\u1eddng."," ",(0,i.jsx)("button",{type:"button",className:on().linkBtn,onClick:n.onRetry,children:"Th\u1eed l\u1ea1i"})]}),n.hasSchool&&"ok"===e.status&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Kn,{title:"K\xfd t\xfac x\xe1",total:e.dorm.length,shown:n.dormShown,setIndex:n.dormSet,onNext:n.onNextDorm}),(0,i.jsx)(Kn,{title:"Khu\xf4n vi\xean",total:e.campus.length,shown:n.campusShown,setIndex:n.campusSet,onNext:n.onNextCampus})]})]})]})}function En(n,e,t,i,r,a,o){try{var c=n[a](o),l=c.value}catch(s){return void t(s)}c.done?e(l):Promise.resolve(l).then(i,r)}function On(n){return function(){var e=this,t=arguments;return new Promise((function(i,r){var a=n.apply(e,t);function o(n){En(a,i,r,o,c,"next",n)}function c(n){En(a,i,r,o,c,"throw",n)}o(void 0)}))}}function Gn(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Wn(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}
1)))),i.forEach((function(e){Gn(n,e,t[e])}))}return n}function Zn(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=[],i=!0,r=!1,a=void 0;try{for(var o,c=n[Symbol.iterator]();!(i=(o=c.next()).done)&&(t.push(o.value),!e||t.length!==e);i=!0);}catch(l){r=!0,a=l}finally{try{i||null==c.return||c.return()}finally{if(r)throw a}}return t}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Un(n){return function(n){if(Array.isArray(n)){for(var e=0,t=new Array(n.length);e<n.length;e++)t[e]=n[e];return t}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Xn={tuition:null,dorm:null,living:null,registration:null,insurance:null,visaConversion:null,materials:null};function zn(n){if(!n)return"";var e=n.min===n.max?z(n.min):"".concat(z(n.min),"\u2013").concat(z(n.max)),t=n.roomTypes.length?" (".concat(n.roomTypes.join(", "),")"):"";return"".concat(e," ").concat(n.currency," ").concat(S[n.period]).concat(t)}function Jn(n){return{min:n.min,max:n.max,period:n.period,currency:"CNY",count:n.count,roomTypes:n.roomType?[n.label.toLowerCase()]:[]}}function $n(n){if(""===n.trim())return null;var e=Number(n);return Number.isFinite(e)&&e>=0?e:null}var ne=function(n){var e=n.source;return(0,i.jsx)("span",{className:"".concat(on().chip," ").concat(on()["chip_".concat(e)]),children:E[e]})};function ee(n){return n.replace(/\B(?=(\d{3})+(?!\d))/g,".")}function te(n){if(null===n||!Number.isFinite(n))return"";var e=Zn(String(n).split("."),2),t=e[0],i=e[1];return ee(t)+(i?",".concat(i):"")}function ie(n){return $n(n.replace(/\./g,"").replace(",","."))}var re=function(n){var e=n.id,t=n.label,a=n.value,o=n.onChange,c=n.source,l=n.hint,s=n.placeholder,u=n.step,h=n.max,d=n.after,m=(0,r.useState)((function(){return te(a)})),g=m[0],v=m[1];(0,r.useEffect)((function(){v((function(n){return ie(n)===a?n:te(a)}))}),[a]);var p=function(n,e,t){if(v(n),o(ie(n)),e&&null!==t){for(var i=0,r=0;i<n.length&&r<t;)"."!==n[i]&&(r+=1),i+=1;requestAnimationFrame((function(){document.activeElement===e&&e.selectionStart===e.selectionEnd&&e.setSelectionRange(i,i)}))}};return(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsxs)("label",{htmlFor:e,className:on().labelRow,children:[(0,i.jsx)("span",{children:t}),c?(0,i.jsx)(ne,{source:c}):null]}),(0,i.jsxs)("div",{className:d?on().inputGroup:void 0,children:[(0,i.jsx)("input",{id:e,type:"text",inputMode:"decimal",autoComplete:"off",value:g,placeholder:s||"Ch\u01b0a x\xe1c \u0111\u1ecbnh",onChange:function(n){var e,t=n.target,i=null!==(e=t.selectionStart)&&void 0!==e?e:t.value.length,r=t.value.slice(0,i).replace(/[^\d,]/g,"").length;p(function(n){var e=n.replace(/[^\d,]/g,""),t=e.indexOf(","),i=(-1===t?e:e.slice(0,t)).replace(/^0+(?=\d)/,"");return-1===t?ee(i):"".concat(ee(i)||"0",",").concat(e.slice(t+1).replace(/,/g,"").slice(0,4))}(t.value),t,r)},onKeyDown:function(n){if("ArrowUp"===n.key||"ArrowDown"===n.key){var e;n.preventDefault();var t=null!==(e=ie(g))&&void 0!==e?e:0,i=u||100,r=Math.max(0,t+("ArrowUp"===n.key?i:-i));void 0!==h&&(r=Math.min(h,r)),p(te(r),null,null)}}}),d]}),l?(0,i.jsx)("div",{className:on().hint,children:l}):null]})};function ae(n){var e,t=n.catalog,a=n.catalogSource,o=n.rate,c=(0,s.useRouter)(),f=(0,r.useState)(null),b=f[0],y=f[1],w=(0,r.useState)("bachelor"),A=w[0],L=w[1],Y=(0,r.useState)("year"),q=Y[0],E=Y[1],G=(0,r.useRef)("bachelor"),nn=(0,r.useState)("chinese"),an=nn[0],cn=nn[1],ln=(0,r.useState)(""),sn=ln[0],hn=ln[1],dn=(0,r.useState)(null),gn=dn[0],fn=dn[1],bn=(0,r.useState)([]),yn=bn[0],_n=bn[1],kn=(0,r.useState)([]),Cn=kn[0],Pn=kn[1],wn=(0,r.useState)("idle"),An=wn[0],Ln=wn[1],Yn=(0,r.useState)(0),Bn=Yn[0],In=Yn[1],qn=(0,r.useState)(x("bachelor").defaultYears),Mn=qn[0],Kn=qn[1],En=(0,r.useState)(!1),Zn=En[0],ne=En[1],ee=(0,r.useState)(null),te=ee[0],ie=ee[1],ae=(0,r.useState)((function(){return{tuition:null,tuitionPeriod:"per_year",dorm:null,dormPeriod:"per_month",living:null,registration:400,insurance:800,visaConversion:400,visaConversionPeriod:"per_year",materials:null,materialsPeriod:"per_year",shopping:null,shoppingPerio
1d:"per_year",visaVnd:$(t,"ec-visa"),healthVnd:$(t,"ec-kham-suc-khoe"),flightVnd:$(t,"ec-ve-may-bay")}})),oe=ae[0],ce=ae[1],le=(0,r.useState)((function(){return{tuition:"manual",dorm:"manual",living:"manual",registration:"ref",insurance:"ref",visaConversion:"ref",materials:"manual",shopping:"manual",visaVnd:null!==$(t,"ec-visa")?"ref":"manual",healthVnd:null!==$(t,"ec-kham-suc-khoe")?"ref":"manual",flightVnd:null!==$(t,"ec-ve-may-bay")?"ref":"manual"}})),se=le[0],ue=le[1],he=(0,r.useState)(Xn),de=he[0],me=he[1],ge=(0,r.useRef)(oe);ge.current=oe;var ve=(0,r.useState)(null),pe=ve[0],fe=ve[1],be=(0,r.useRef)(null),ye=(0,r.useState)({status:"idle",code:null,items:[],nameCn:null,shortName:null}),xe=ye[0],_e=ye[1],je=(0,r.useState)(""),Ne=je[0],ke=je[1],Te=(0,r.useState)("no_refund"),Ce=Te[0],Pe=Te[1],Se=(0,r.useState)("none"),we=Se[0],Ae=Se[1],Le=(0,r.useState)(O),Ye=Le[0],Be=Le[1],Qe=function(n,e){Be((function(t){return Wn({},t,Gn({},n,e))})),Ae("custom")},Ie=(0,r.useState)(o.value),qe=Ie[0],Me=Ie[1],Re=(0,r.useState)(o.source),Ve=Re[0],De=Re[1],Fe=(0,r.useState)(null),Ke=Fe[0],He=Fe[1],Ee=(0,r.useRef)(!1),Oe=(0,r.useState)(""),Ge=Oe[0],We=Oe[1],Ze=(0,r.useState)(""),Ue=Ze[0],Xe=Ze[1],ze=(0,r.useState)(""),Je=ze[0],$e=ze[1],nt=(0,r.useRef)(null),et=(0,r.useState)(!1),tt=et[0],it=et[1],rt=(0,r.useState)(!1),at=rt[0],ot=rt[1],ct=(0,r.useState)(Rn),lt=ct[0],st=ct[1],ut=(0,r.useState)(0),ht=ut[0],dt=ut[1],mt=(0,r.useState)(0),gt=mt[0],vt=mt[1],pt=(0,r.useState)(0),ft=pt[0],bt=pt[1];(0,r.useEffect)((function(){if(c.isReady&&!Ee.current){Ee.current=!0;var n=c.query,e=Number(Array.isArray(n.truong)?n.truong[0]:n.truong);Number.isFinite(e)&&e>0&&He(e);var t=Array.isArray(n.he)?n.he[0]:n.he,i=Array.isArray(n.pv)?n.pv[0]:n.pv;if(en(t)){var r="language"===t&&k(i)?i:"year";L(t),E(r),"language"!==t&&(G.current=t),Kn(C(t,r))}var a=Array.isArray(n.nn)?n.nn[0]:n.nn;tn(a)&&cn(a);var o=Array.isArray(n.hoan)?n.hoan[0]:n.hoan;rn(o)&&Pe(o);var l=Array.isArray(n.hb)?n.hb[0]:n.hb;U(l)&&"custom"!==l&&(Ae(l),Be(X(l,en(t)?t:"bachelor")))}}),[c.isReady,c.query]),(0,r.useEffect)((function(){if(c.isReady&&Ee.current){var n={he:A,nn:an};"language"===A&&"year"!==q&&(n.pv=q),(null===b||void 0===b?void 0:b.code)&&(n.truong=String(b.code)),"no_refund"
1!==Ce&&(n.hoan=Ce),"none"!==we&&"custom"!==we&&(n.hb=we);var e=c.query;["truong","he","pv","nn","hoan","hb"].every((function(t){var i;return((Array.isArray(e[t])?null===(i=e[t])||void 0===i?void 0:i[0]:e[t])||"")===(n[t]||"")}))||c.replace({pathname:c.pathname,query:n},void 0,{shallow:!0,scroll:!1})}}),[null===b||void 0===b?void 0:b.code,A,q,an,Ce,we,c.isReady]);var yt=(0,r.useCallback)((function(n,e){ce((function(t){return Wn({},t,Gn({},n,e))})),ue((function(e){return Wn({},e,Gn({},n,"manual"))}))}),[]),xt=(0,r.useCallback)((function(n,e,t,i,r){var a=I(n,e,t,i),o=function(){var i=M(n,e,t).options;return i.find((function(n){return n.key===be.current}))||function(n){var e=null,t=!0,i=!1,r=void 0;try{for(var a,o=n[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var c=a.value;if(e){var l=H(c.min,c.period),s=H(e.min,e.period);(l<s||l===s&&null===e.roomType&&null!==c.roomType)&&(e=c)}else e=c}}catch(u){i=!0,r=u}finally{try{t||null==o.return||o.return()}finally{if(i)throw r}}return e}(i)}(),c=o?Jn(o):null;be.current=o?o.key:null,fe(be.current);var l=D(n,"living_expense","per_month"),s=function(n,e){var t=n.filter((function(n){return"application_fee"===n.costType&&Q(n)})),i=t.filter((function(n){return n.programLevel===e})),r=t.filter((function(n){return!n.programLevel}));return B(i.length?i:r,"one_time")}(n,e),u=D(n,"insurance","per_year"),h=V(n,"residence_permit",e,t),d=V(n,"textbook",e,t),m=!r||"manual"!==se.visaConversion||null===ge.current.visaConversion,g=!r||"db"===se.materials||null===ge.current.materials;me((function(n){return r?Wn({},n,{tuition:a,registration:s,dorm:c,visaConversion:h,materials:d}):{tuition:a,dorm:c,living:l,registration:s,insurance:u,visaConversion:h,materials:d}})),ce((function(n){var e=Wn({},n);return a?(e.tuition=a.min,e.tuitionPeriod="per_semester"===a.period?"per_semester":"one_time"===a.period?"one_time":"per_year"):"db"===se.tuition&&(e.tuition=null),s?e.registration=s.min:"db"===se.registration&&(e.registration=400),r&&"db"!==se.dorm||(c&&o?(e.dorm=c.min,e.dormPeriod=o.period):"db"===se.dorm&&(e.dorm=null)),m&&(h?(e.visaConversion=h.min,e.visaConversionPeriod=h.period):"db"===se.visaConversion&&(e.visaConversion=400,e.visaConversionPeriod="per_year")),g&&(d?(e.materials=d.min,e.materialsPeriod=d.period):"db"===se.materials&&(e.materials=null)),r||(l?e.living=l.min:"db"===se.living&&(e.living=null),u?e.insurance=u.min:"db"===se.insurance&&(e.insurance=800)),e})),ue((function(n){var e=Wn({},n);return e.tuition=a?"db":"db"===n.tuition?"manual":n.tuition,e.registration=s?"db":"db"===n.registration?"ref":n.registration,r&&"db"!==n.dorm||(e.dorm=c?"db":"db"===n.dorm?"manual":n.dorm),m&&(e.visaConversion=h?"db":"db"===n.visaConversion?"ref":n.visaConversion),g&&(e.materials=d?"db":"db"===n.materials?"manual":n.materials),r||(e.living=l?"db":"db"===n.living?"manual":n.living,e.insurance=u?"db":"db"===n.insurance?"ref":n.insurance),e}))}),[se]);(0,r.useEffect)((function(){var n,e=null!==(n=null===b||void 0===b?void 0:b.code)&&void 0!==n?n:null;if(be.current=null,!b)return _e({status:"idle",code:null,items:[],nameCn:null,shortName:null}),void xt([],A,q,an,!1);if(!e)return _e({status:"empty",code:null,items:[],nameCn:null,shortName:null}),Pn([]),void xt([],A,q,an,!1);var t=!1;return _e((function(n){return Wn({},n,{status:"loading",code:e})})),fetch("".concat((0,d.XJ)(),"/api/school-cost/public/school/").concat(e)).then(On(l().mark((function n(e){return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(404!==e.status){n.next=2;break}return n.abrupt("return",{school:null,items:[]});case 2:if(e.ok){n.next=4;break}throw new Error("HTTP ".concat(e.status));case 4:return n.abrupt("return",e.json());case 5:case"end":return n.stop()}}),n)})))).then((function(n){var i,r;if(!t){var a=Array.isArray(null===n||void 0===n?void 0:n.items)?n.items:[];Pn(Array.isArray(null===n||void 0===n?void 0:n.majorVariants)?n.majorVariants:[]),_e({status:a.length?"ok":"empty",code:e,items:a,nameCn:(null===n||void 0===n||null===(i=n.school)||void 0===i?void 0:i.nameCn)||null,shortName:(null===n||void 0===n||null===(r=n.school)||void 0===r?void 0:r.shortName)||null}),xt(a,A,q,an,!1)}}
1)).catch((function(){t||(_e({status:"error",code:e,items:[],nameCn:null,shortName:null}),Pn([]))})),function(){t=!0}}),[null===b||void 0===b?void 0:b.id]),(0,r.useEffect)((function(){var n,e=null!==(n=null===b||void 0===b?void 0:b.code)&&void 0!==n?n:null;if(fn(null),!e)return _n([]),void Ln("idle");var t,i=!1;return Ln("loading"),function(n,e){return jn.apply(this,arguments)}(e,null!==(t=null===b||void 0===b?void 0:b.id)&&void 0!==t?t:null).then((function(n){i||(_n(n),Ln(n.length?"ok":"empty"))})).catch((function(){i||(_n([]),Ln("error"))})),function(){i=!0}}),[null===b||void 0===b?void 0:b.code,Bn]),(0,r.useEffect)((function(){if(vt(0),bt(0),null===b||void 0===b?void 0:b.id){var n=!1;return st({status:"loading",campus:[],dorm:[]}),function(n){return Vn.apply(this,arguments)}(b.id).then((function(e){n||st(Wn({status:"ok"},e))})).catch((function(){n||st({status:"error",campus:[],dorm:[]})})),function(){n=!0}}st(Rn)}),[null===b||void 0===b?void 0:b.id,ht]);var _t=(0,r.useMemo)((function(){return Fn(lt.campus,gt)}),[lt.campus,gt]),jt=(0,r.useMemo)((function(){return Fn(lt.dorm,ft)}),[lt.dorm,ft]),Nt=(0,r.useMemo)((function(){return n=Cn,e=yn,(Array.isArray(n)?n:[]).flatMap((function(n){var t,i=xn[String((null===n||void 0===n?void 0:n.level)||"")],r=pn(null===n||void 0===n?void 0:n.amountMin);if(!i||!(null===n||void 0===n?void 0:n.variant)||!(null===n||void 0===n?void 0:n.majorCode)||null===r||r<=0)return[];var a=null!==(t=pn(null===n||void 0===n?void 0:n.amountMax))&&void 0!==t?t:r,o="english"===(null===n||void 0===n?void 0:n.instructionLanguage)?["english"]:"chinese"===(null===n||void 0===n?void 0:n.instructionLanguage)?["chinese"]:["chinese","english"],c=String((null===n||void 0===n?void 0:n.majorNameVi)||(null===n||void 0===n?void 0:n.majorNameCn)||(null===n||void 0===n?void 0:n.majorCode)).trim(),l=String(n.variant).trim();return o.map((function(t){var o,s,u,h,d=e.find((function(e){return"campuschina"===e.source&&e.code===String(n.majorCode)&&e.level===i&&e.lang===t}));return{key:"variant|".concat(i,"|").concat(t,"|").concat(n.majorCode,"|").concat(l),code:String(n.majorCode),nameVi:"".concat(c," (").concat(l,")"),nameCn:(null===n||void 0===n?void 0:n.majorNameCn)?"".concat(n.majorNameCn,"\uff08").concat(l,"\uff09"):null,nameEn:null,level:i,lang:t,category:null!==(o=null===d||void 0===d?void 0:d.category)&&void 0!==o?o:null,tuitionMin:r,tuitionMax:a,tuitionPeriod:"per_semester"===(null===n||void 0===n?void 0:n.period)?"per_semester":"per_year",trainingId:null,durationYears:null!==(s=null===d||void 0===d?void 0:d.durationYears)&&void 0!==s?s:null,rank:null!==(u=null===d||void 0===d?void 0:d.rank)&&void 0!==u?u:null,rankAlphabet:null!==(h=null===d||void 0===d?void 0:d.rankAlphabet)&&void 0!==h?h:null,source:"school-variant"}}))}));var n,e}),[Cn,yn]),kt=(0,r.useMemo)((function(){return function(n,e,t,i,r){var a,o=void 0===r?[]:r,c="language"===e;if(c&&"year"!==i){var l=N(i).trainingIds;return"chinese"===t?n.filter((function(n){return"school-program"===n.source&&null!==n.trainingId&&l.includes(n.trainingId)})):[]}var s=vn[e],u=new Set,h=n.filter((function(n){return"campuschina"===n.source&&n.level===s&&n.lang===t})).filter((function(n){return!u.has(n.key)&&(u.add(n.key),!0)})),d=o.filter((function(n){return n.level===s&&n.lang===t&&!u.has(n.key)}));d.forEach((function(n){return u.add(n.key)})),(a=h).push.apply(a,mn(d)),h.sort((function(n,e){return n.nameVi.localeCompare(e.nameVi,"vi")}));var m=N("year").trainingIds;return mn(c&&"chinese"===t?n.filter((function(n){return"school-program"===n.source&&null!==n.trainingId&&m.includes(n.trainingId)})):[]).concat(mn(h))}(yn,A,an,q,Nt)}),[yn,A,an,q,Nt]);(0,r.useEffect)((function(){gn&&!kt.some((function(n){return n.key===gn.key}))&&(fn(null),hn(""))}),[kt]);var Tt=(0,r.useRef)(!0);(0,r.useEffect)((function(){Tt.current?Tt.current=!1:"ok"===xe.status&&xt(xe.items,A,q,an,!0)}),[A,q,an]);var Ct=function(n,e){var t=T(A,q)!==T(n,e);L(n),E(e),"language"!==n&&(G.current=n),Zn&&!t||(Kn(C(n,e)),t&&ne(!1)),"csc_full"===we&&Be(X("csc_full",n))},Pt="language"===A,St=(0,r.useMemo)((function(){return M(xe.items,A,q)}),[xe.items,A,q]),wt=St.options.find((function(n){return n.key===pe}))||null,At=(0,r.useMemo)((function(){return t?function(n,e){var t=x(e).pricingLevel;return n.filter((function(n){return n.educationLevel===t})).sort((function(n,e){return n.displayOrder-e.displayOrder}))}(t.packages,A):[]}),[t,A]);(0,r.useEffect)((function(){Ne&&Ne!==J&&!At.some((function(n){return n.id===Ne}))&&ke("")}),[At,Ne]);var Lt=(0,r.useMemo)((function(){return At.find((function(n){return n.id===Ne}))||null}),[At,Ne]),Yt=(0,r.useMemo)((function(){return t&&Lt?function(n,e,t){if(!n)return null;var i=n.prices.find((function(n){return n.refundPolicy===e}));if(!i||"number"!==typeof i.price)return null;var r=i.price,a=!1===i.vatIncluded&&t.vatPercent?r:0,o=a?Math.round(a*t.vatPercent/100):0,c=Boolean(t.vatEnabled&&o);return{base:r,vatPercent:t.vatPercent,vatAmount:o,vatIncludedInTotal:c,total:r+(c?o:0)}}(Lt,Ce,t.quoteRules):null}),[t,Lt,Ce]),Bt=Ne===J?0:Yt?Yt.total:null,Qt=function(n){var e,i,r,a=(0,m.rk)(n),o=null===t||void 0===t||null===(e=t.refundPolicyTexts)||void 0===e?void 0:e[n],c=(null===o||void 0===o||null===(i=o.label)||void 0===i?void 0:i.trim())||a.fullLabel,l=void 0===(null===o||void 0===o?void 0:o.badge)?a.conditionBadge:(null===(r=o.badge)||void 0===r?void 0:r.trim())||"";return l&&l!==c?"".concat(c," \xb7 ").concat(l):c},It={years:Mn,rate:null!==qe&&void 0!==qe?qe:0,scholarship:Ye,tuition:oe.tuition,tuitionPeriod:oe.tuitionPeriod,dorm:oe.dorm,dormPeriod:oe.dormPeriod,dormLabel:"db"===se.dorm&&(null===wt||void 0===wt?void 0:wt.roomType)?wt.label:null,living:oe.living,registration:oe.registration,insurance:oe.insurance,visaConversion:oe.visaConversion,visaConversionPeriod:oe.visaConversionPeriod,materials:oe.materials,materialsPeriod:oe.materialsPeriod,shopping:oe.shopping,shoppingPerio
1d:oe.shoppingPeriod,visaVnd:oe.visaVnd,healthVnd:oe.healthVnd,flightVnd:oe.flightVnd,serviceVnd:Bt},qt=(0,r.useMemo)((function(){return function(n){var e=Number(n.years),t=Number.isFinite(e)&&e>0?e>=1?Math.max(1,Math.round(e)):Math.max(1,Math.round(12*e))/12:1,i=Math.round(12*t),r=t<1,a=Math.min(1,t),o=[],c=[],l=[],s=function(n,e,i,r,o,c,s,u){if(null===o)return l.push(i),void n.push({key:e,label:i,unit:"Ch\u01b0a x\xe1c \u0111\u1ecbnh",currency:r,firstYear:null,whole:null});var h=u?o:s*a;n.push({key:e,label:i,unit:c,currency:r,firstYear:h,whole:u?h:s*t})},u=Math.min(2,Math.max(1,Math.ceil(i/5)));if(null===n.tuition)s(o,"tuition","H\u1ecdc ph\xed","CNY",null,"",null,!1);else{var h,d,m=n.tuition,g="".concat(z(m)," CNY ").concat(S[n.tuitionPeriod]),v=g;"one_time"===n.tuitionPeriod?(h=m,d=m):r?(d=h=("per_semester"===n.tuitionPeriod?m:m/2)*u,v="".concat(g," \xd7 ").concat(u," k\u1ef3").concat("per_year"===n.tuitionPeriod?" (1 k\u1ef3 = \xbd n\u0103m)":"")):d=(h=H(m,n.tuitionPeriod))*t,o.push({key:"tuition",label:"H\u1ecdc ph\xed",unit:v,currency:"CNY",firstYear:h,whole:d})}s(o,"dorm",n.dormLabel?"K\xfd t\xfac x\xe1 (".concat(n.dormLabel.toLowerCase(),")"):"K\xfd t\xfac x\xe1","CNY",n.dorm,null===n.dorm?"":"".concat(z(n.dorm)," CNY ").concat(S[n.dormPeriod]),null===n.dorm?null:H(n.dorm,n.dormPeriod),!1),s(o,"living","Sinh ho\u1ea1t ph\xed","CNY",n.living,null===n.living?"":"".concat(z(n.living)," CNY / th\xe1ng \xd7 ").concat(r?"".concat(i," th\xe1ng"):10),null===n.living?null:n.living*(r?12:10),!1),s(o,"insurance","B\u1ea3o hi\u1ec3m y t\u1ebf","CNY",n.insurance,null===n.insurance?"":"".concat(z(n.insurance)," CNY ").concat(r?"(tr\u1ecdn ch\u01b0\u01a1ng tr\xecnh)":"/ n\u0103m"),n.insurance,r);var p=function(n,e,i,a){if(null!==i){var c="one_time"===a||r,l="one_time"===a?S.one_time:r?"(tr\u1ecdn ch\u01b0\u01a1ng tr\xecnh)":S.per_year;o.push({key:n,label:e,unit:"".concat(z(i)," CNY ").concat(l),currency:"CNY",firstYear:i,whole:c?i:i*t})}};p("visaConversion","Ph\xed chuy\u1ec3n \u0111\u1ed5i visa",n.visaConversion,n.visaConversionPeriod),p("materials","Ph\xed t\xe0i li\u1ec7u h\u1ecdc t\u1eadp",n.materials,n.materialsPeriod),p("shopping","Chi ph\xed mua s\u1eafm kh\xe1c",n.shopping,n.shoppingPerio
1d),s(o,"registration","Ph\xed b\xe1o danh","CNY",n.registration,null===n.registration?"":"".concat(z(n.registration)," CNY (1 l\u1ea7n)"),null,!0),s(c,"visaVnd","Ph\xed xin visa","VND",n.visaVnd,"N\u1ed9p t\u1ea1i Vi\u1ec7t Nam (1 l\u1ea7n)",null,!0),s(c,"healthVnd","Kh\xe1m s\u1ee9c kh\u1ecfe","VND",n.healthVnd,"Theo m\u1eabu c\u1ee7a tr\u01b0\u1eddng (1 l\u1ea7n)",null,!0),s(c,"flightVnd","V\xe9 m\xe1y bay","VND",n.flightVnd,"\u01af\u1edbc t\xednh v\xe9 m\u1ed9t chi\u1ec1u",null,!0),s(c,"service","Ph\xed d\u1ecbch v\u1ee5 RIBA","VND",n.serviceVnd,"Theo b\u1ea3ng gi\xe1 d\u1ecbch v\u1ee5 (1 l\u1ea7n)",null,!0);var f=function(n,e){return n.reduce((function(n,t){return n+("number"===typeof t[e]?t[e]:0)}),0)},b=f(o,"firstYear"),y=f(o,"whole"),x=f(c,"firstYear"),_=Number.isFinite(n.rate)&&n.rate>0?n.rate:0,j=n.scholarship||O,N=[],k=function(n){return o.find((function(e){return e.key===n}))},T=function(n,e,t,i){var a=Math.min(100,Math.max(0,t||0));!e||null===e.firstYear||null===e.whole||a<=0||N.push({key:n,label:i,unit:"".concat(a,"% \xd7 ").concat(z(e.firstYear)," CNY").concat(r?"":" / n\u0103m"),currency:"CNY",firstYear:Math.round(e.firstYear*a/100),whole:Math.round(e.whole*a/100)})};T("sch_tuition",k("tuition"),j.tuitionPct,"Mi\u1ec5n gi\u1ea3m h\u1ecdc ph\xed ".concat(Math.round(j.tuitionPct),"%")),T("sch_dorm",k("dorm"),j.dormPct,"Mi\u1ec5n gi\u1ea3m k\xfd t\xfac x\xe1 ".concat(Math.round(j.dormPct),"%")),j.insuranceCovered&&T("sch_insurance",k("insurance"),100,"H\u1ecdc b\u1ed5ng chi tr\u1ea3 b\u1ea3o hi\u1ec3m y t\u1ebf");var C=k("living");if(null!==j.stipendMonthly&&j.stipendMonthly>0&&C&&null!==C.firstYear&&null!==C.whole){var P=r?i:K(j.stipendMonths),w=j.stipendMonthly*P,A=Math.min(w,C.firstYear),L=w>C.firstYear;N.push({key:"sch_stipend",label:"Tr\u1ee3 c\u1ea5p sinh ho\u1ea1t",unit:"".concat(z(j.stipendMonthly)," CNY / th\xe1ng \xd7 ").concat(P," th\xe1ng").concat(r?"":" / n\u0103m").concat(L?" (t\u1ed1i \u0111a b\u1eb1ng sinh ho\u1ea1t ph\xed)":""),currency:"CNY",firstYear:A,whole:Math.min(w*(r?1:t),C.whole)})}var Y=f(N,"firstYear"),B=f(N,"whole"),Q=b-Y,I=y-B;return{cnyLines:o,vndLines:c,cnyFirstYear:b,cnyWhole:y,scholarshipLines:N,cnyScholarshipFirstYear:Y,cnyScholarshipWhole:B,cnyNetFirstYear:Q,cnyNetWhole:I,vndOneTime:x,totalFirstYearVnd:Q*_+x,totalWholeVnd:I*_+x,unknownLabels:l}}(It)}),[JSON.stringify(It)]),Mt="number"===typeof qe&&qe>0,Rt=function(n){return null!==n&&Mt?"\u2248 ".concat(z(n*qe)," \u0111"):null},Vt=qt.scholarshipLines.length>0,Dt=(0,r.useMemo)((function(){return new Date}),[]),Ft=(0,r.useMemo)((function(){return(0,p.xd)(Dt)}),[Dt]),Kt=(0,r.useMemo)((function(){var n;return(0,p.$m)((null===t||void 0===t||null===(n=t.version)||void 0===n?void 0:n.year)||Dt.getFullYear(),Dt)}),[null===t||void 0===t||null===(e=t.version)||void 0===e?void 0:e.year,Dt]),Ht="manual"===Ve?"T\u1ef7 gi\xe1 do ng\u01b0\u1eddi l\u1eadp nh\u1eadp tay.":"api"===o.source?"T\u1ef7 gi\xe1 th\u1ecb tr\u01b0\u1eddng ng\xe0y ".concat((0,g.BI)(o.updatedAt)," (").concat(o.provider||"exchangerate-api.com",")."):"Kh\xf4ng t\u1ea3i \u0111\u01b0\u1ee3c t\u1ef7 gi\xe1 th\u1ecb tr\u01b0\u1eddng \u2014 \u0111ang d\xf9ng s\u1ed1 t\u1ea1m t\xednh, h\xe3y s\u1eeda theo t\u1ef7 gi\xe1 ng\xe2n h\xe0ng.",Et=x(A),Ot=Pt?N(q).label:Et.label,Gt=Pt?"Phi h\u1ecdc v\u1ecb \xb7 ".concat(Ot):Et.label,Wt=T(A,q),Zt=Wt?11:8,Ut=Wt?Math.round(12*Mn):Mn,Xt=gn?Tn(gn):null,zt=function(n){Kn(Wt?n/12:n),ne(!0)},Jt="chinese"===an?"Ti\u1ebfng Trung":"Ti\u1ebfng Anh",$t="bao-gia-du-hoc-".concat((0,v.bZ)(b?b.name:"chua-chon-truong"),"-").concat((0,v.bZ)(Kt)),ni=On(l().mark((function n(){var e,t,i,r,a;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!tt){n.next=2;break}return n.abrupt("return");case 2:return ot(!1),it(!0),n.next=6,new Promise((function(n){return setTimeout(n,80)}));case 6:return e=nt.current,t=1123,(i=null===e||void 0===e?void 0:e.querySelector("[data-photo-page]"))&&(r=i.offsetTop,i.style.marginTop="".concat((t-r%t)%t,"px")),e&&(e.style.minHeight="".concat(Math.ceil(e.offsetHeight/t)*t,"px")),n.next=13,(0,v.hO)(e,$t,{image:"jpeg",quality:.92});case 13:a=n.sent,e&&(e.style.minHeight=""),i&&(i.style.marginTop=""),it(!1),a||ot(!0);case 18:case"end":return n.stop()}}),n)}))),ei=b?b.name:"Ch\u01b0a ch\u1ecdn tr\u01b0\u1eddng",ti=b?[xe.nameCn,xe.shortName].filter(
1Boolean).join(" \xb7 ")||[b.city,b.province].filter(Boolean).join(", "):"Ch\u1ecdn tr\u01b0\u1eddng \u1edf c\u1ed9t b\xean tr\xe1i \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng \u0111i\u1ec1n chi ph\xed th\u1eadt";return(0,i.jsxs)("div",{className:on().page,children:[(0,i.jsx)("section",{className:on().hero,children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)("div",{className:on().badge,children:"C\xf4ng c\u1ee5 d\xe0nh cho T\u01b0 v\u1ea5n vi\xean & Ph\u1ee5 huynh"}),(0,i.jsx)("h1",{className:on().title,children:"T\u1ea1o B\u1ea3ng B\xe1o Gi\xe1 Du H\u1ecdc"}),(0,i.jsx)("p",{className:on().subtitle,children:"Ch\u1ecdn tr\u01b0\u1eddng, h\u1ec7 \u0111\xe0o t\u1ea1o, h\u1ecdc b\u1ed5ng d\u1ef1 ki\u1ebfn v\xe0 g\xf3i d\u1ecbch v\u1ee5 \u2014 chi ph\xed l\u1ea5y t\u1eeb c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u01b0\u1eddng c\u1ee7a StudyInChina, b\u1ea3ng gi\xe1 d\u1ecbch v\u1ee5 RIBA v\xe0 t\u1ef7 gi\xe1 th\u1ecb tr\u01b0\u1eddng, m\u1ecdi kho\u1ea3n \u0111\u1ec1u s\u1eeda \u0111\u01b0\u1ee3c tr\u01b0\u1edbc khi in."})]})}),(0,i.jsxs)("div",{className:"container",children:["demo"===a&&(0,i.jsxs)("div",{className:"".concat(on().banner," ").concat(on().bannerWarn),role:"status",children:["Kh\xf4ng t\u1ea3i \u0111\u01b0\u1ee3c b\u1ea3ng gi\xe1 d\u1ecbch v\u1ee5 t\u1eeb h\u1ec7 th\u1ed1ng \u2014 ph\xed d\u1ecbch v\u1ee5 \u0111ang hi\u1ec3n th\u1ecb theo b\u1ed9 gi\xe1 d\u1ef1 ph\xf2ng trong m\xe3 ngu\u1ed3n. Ki\u1ec3m tra l\u1ea1i tr\xean ",(0,i.jsx)(h.Z,{href:"/bang-gia",children:"trang B\u1ea3ng gi\xe1"})," tr\u01b0\u1edbc khi g\u1eedi kh\xe1ch."]}),(0,i.jsxs)("div",{className:on().layout,children:[(0,i.jsxs)("aside",{className:on().sidebar,children:[(0,i.jsx)("h2",{className:on().sidebarTitle,children:"Nh\u1eadp th\xf4ng tin"}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"Tr\u01b0\u1eddng \u0111\u1ea1i h\u1ecdc"}),(0,i.jsx)(un,{value:b,onChange:y,initialCode:Ke}),b&&!b.code&&(0,i.jsx)("div",{className:on().hint,children:"Tr\u01b0\u1eddng n\xe0y ch\u01b0a c\xf3 m\xe3 trong h\u1ec7 th\u1ed1ng \u2014 h\xe3y nh\u1eadp chi ph\xed b\u1eb1ng tay."})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{id:"qt-kind-label",children:"Lo\u1ea1i ch\u01b0\u01a1ng tr\xecnh"}),(0,i.jsx)("div",{className:on().segmented,role:"radiogroup","aria-labelledby":"qt-kind-label",children:[{nd:!1,label:"C\xf3 h\u1ecdc v\u1ecb"},{nd:!0,label:"Phi h\u1ecdc v\u1ecb"}].map((function(n){return(0,i.jsx)("button",{type:"button",role:"radio","aria-checked":n.nd===Pt,className:"".concat(on().segBtn," ").concat(n.nd===Pt?on().segBtnActive:""),onClick:function(){var e;(e=n.nd)!==Pt&&Ct(e?"language":G.current,q)},children:n.label},n.label)}))}),(0,i.jsx)("div",{className:on().hint,children:Pt?"Kh\xf4ng c\u1ea5p b\u1eb1ng: h\u1ecdc ti\u1ebfng, d\u1ef1 b\u1ecb, h\u1ecdc k\u1ef3, ng\u1eafn h\u1ea1n, tr\u1ea1i h\xe8 / \u0111\xf4ng.":"C\u1ea5p b\u1eb1ng: \u0110\u1ea1i h\u1ecdc, Th\u1ea1c s\u0129, Ti\u1ebfn s\u0129."})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"H\u1ec7 \u0111\xe0o t\u1ea1o"}),(0,i.jsx)(u.Z,{value:Pt?q:A,options:Pt?j.map((function(n){return{value:n.id,label:n.label}})):_.map((function(n){return{value:n.id,label:n.label}})),onChange:Pt?function(n){k(n)&&Ct("language",n)}:function(n){en(n)&&"language"!==n&&Ct(n,q)},ariaLabel:"H\u1ec7 \u0111\xe0o t\u1ea1o",block:!0})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"Ng\xf4n ng\u1eef gi\u1ea3ng d\u1ea1y"}),(0,i.jsx)(u.Z,{value:an,options:[{value:"chinese",label:"Ti\u1ebfng Trung"},{value:"english",label:"Ti\u1ebfng Anh"}],onChange:function(n){return tn(n)&&cn(n)},ariaLabel:"Ng\xf4n ng\u1eef gi\u1ea3ng d\u1ea1y",block:!0})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{htmlFor:"qt-major",children:Pt?"Ch\u01b0\u01a1ng tr\xecnh h\u1ecdc / chuy\xean ng\xe0nh":"Chuy\xean ng\xe0nh"}),(0,i.jsx)(Sn,{options:kt,value:gn,customText:sn,onPick:function(n){if(fn(n),n){if(hn(n.nameVi),null!==n.tuitionMin||null!==n.tuitionMax){var e,t=null!==(e=n.tuitionMin)&&void 0!==e?e:n.tuitionMax;ce((function(e){return Wn({},e,{tuition:t,tuitionPeriod:n.tuitionPeriod})})),ue((function(n){return Wn({},n,{tuition:"db"})}))}var i=Tn(n);null!==i&&i<1===T(A,q)&&(Kn(i),ne(!1),ie(null))}},onCustomText:function(n){fn(null),hn(n)}
1,status:An,hasSchool:Boolean(null===b||void 0===b?void 0:b.code),onRetry:function(){return In((function(n){return n+1}))},levelLabel:Ot,languageLabel:"chinese"===an?"ti\u1ebfng Trung":"ti\u1ebfng Anh"})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{htmlFor:"qt-years",children:Wt?"Th\u1eddi gian h\u1ecdc (th\xe1ng)":"S\u1ed1 n\u0103m h\u1ecdc"}),(0,i.jsx)("input",{id:"qt-years",type:"text",inputMode:"numeric",autoComplete:"off",value:null!==te&&void 0!==te?te:String(Ut),onFocus:function(n){return n.target.select()},onChange:function(n){var e=n.target.value.replace(/\D/g,"").slice(0,2);ie(e);var t=Number(e);""!==e&&t>=1&&t<=Zt&&zt(t)},onBlur:function(){null!==te&&Number(te)>Zt&&zt(Zt),ie(null)}}),(0,i.jsxs)("div",{className:on().hint,children:[null===Xt||Zn?"":"\u0110ang l\u1ea5y theo ch\u01b0\u01a1ng tr\xecnh \u0111\xe3 ch\u1ecdn (".concat(P(Xt),"); g\xf5 s\u1ed1 kh\xe1c \u0111\u1ec3 ch\u1ec9nh tay. "),null!==Xt&&Zn&&Xt!==Mn?(0,i.jsxs)(i.Fragment,{children:["\u0110\xe3 ch\u1ec9nh tay."," ",(0,i.jsxs)("button",{type:"button",className:on().linkBtn,onClick:function(){Kn(Xt),ne(!1),ie(null)},children:["\u0110\u1eb7t l\u1ea1i theo ch\u01b0\u01a1ng tr\xecnh (",P(Xt),")"]})," "]}):null,Wt?"H\u1ec7 ng\u1eafn h\u1ea1n t\xednh theo th\xe1ng: k\xfd t\xfac x\xe1 v\xe0 sinh ho\u1ea1t ph\xed nh\xe2n s\u1ed1 th\xe1ng; h\u1ecdc ph\xed t\xednh theo k\u1ef3 ho\u1eb7c c\u1ea3 ch\u01b0\u01a1ng tr\xecnh, kh\xf4ng chia theo th\xe1ng. M\u1ed9t h\u1ecdc k\u1ef3 t\u1ed1i \u0111a 5 th\xe1ng h\u1ecdc.":"D\xf9ng \u0111\u1ec3 t\xednh t\u1ed5ng c\u1ea3 kh\xf3a; c\xe1c kho\u1ea3n 1 l\u1ea7n ch\u1ec9 t\xednh m\u1ed9t l\u1ea7n. M\u1ed7i n\u0103m h\u1ecdc t\xednh 10 th\xe1ng (h\u1ec7 1 n\u0103m c\u0169ng v\u1eady);
1 h\u1ecdc ph\xed t\xednh theo n\u0103m ho\u1eb7c k\u1ef3, kh\xf4ng chia theo th\xe1ng."]})]}),(0,i.jsx)("hr",{className:on().divider}),(0,i.jsx)("div",{className:on().sectionTitle,children:"Chi ph\xed t\u1ea1i tr\u01b0\u1eddng (CNY)"}),"loading"===xe.status&&(0,i.jsx)("div",{className:"".concat(on().status," ").concat(on().statusInfo),role:"status",children:"\u0110ang t\u1ea3i chi ph\xed c\u1ee7a tr\u01b0\u1eddng..."}),"ok"===xe.status&&(0,i.jsxs)("div",{className:"".concat(on().status," ").concat(on().statusOk),role:"status",children:["\u0110\xe3 \u0111i\u1ec1n ",xe.items.length," d\xf2ng chi ph\xed t\u1eeb CSDL tr\u01b0\u1eddng StudyInChina. S\u1ed1 c\xf3 kho\u1ea3ng gi\xe1 l\u1ea5y m\u1ee9c th\u1ea5p nh\u1ea5t \u2014 s\u1eeda theo th\xf4ng b\xe1o tuy\u1ec3n sinh n\u1ebfu c\u1ea7n."]}),"empty"===xe.status&&b&&(0,i.jsx)("div",{className:"".concat(on().status," ").concat(on().statusWarn),role:"status",children:"Tr\u01b0\u1eddng ch\u01b0a c\xf3 d\u1eef li\u1ec7u chi ph\xed trong h\u1ec7 th\u1ed1ng \u2014 nh\u1eadp tay c\xe1c kho\u1ea3n b\xean d\u01b0\u1edbi."}),"error"===xe.status&&(0,i.jsxs)("div",{className:"".concat(on().status," ").concat(on().statusErr),role:"alert",children:["Kh\xf4ng t\u1ea3i \u0111\u01b0\u1ee3c chi ph\xed tr\u01b0\u1eddng."," ",(0,i.jsx)("button",{type:"button",className:on().linkBtn,onClick:function(){var n=b;y(null),setTimeout((function(){return y(n)}),0)},children:"Th\u1eed l\u1ea1i"})]}),(0,i.jsx)(re,{id:"qt-tuition",label:"H\u1ecdc ph\xed (CNY)",value:oe.tuition,onChange:function(n){return yt("tuition",n)},source:se.tuition,hint:gn&&Nn(gn)?"school-program"===gn.source?"H\u1ecdc ph\xed ch\u01b0\u01a1ng tr\xecnh ".concat(gn.nameVi," (CSDL tr\u01b0\u1eddng): ").concat(Nn(gn)).concat(gn.needsReview?" \xb7 \u0111ang ch\u1edd r\xe0 so\xe1t, \u0111\u1ed1i chi\u1ebfu th\xf4ng b\xe1o c\u1ee7a tr\u01b0\u1eddng":""):"H\u1ecdc ph\xed ng\xe0nh ".concat(gn.nameVi," (campuschina): ").concat(Nn(gn)).concat(gn.durationYears?" \xb7 ".concat(gn.durationYears," n\u0103m"):""):de.tuition?"CSDL tr\u01b0\u1eddng (".concat(Ot,", ").concat("chinese"===an?"ti\u1ebfng Trung":"ti\u1ebfng Anh","): ").concat(zn(de.tuition)):b&&"ok"===xe.status?"CSDL tr\u01b0\u1eddng ch\u01b0a c\xf3 h\u1ecdc ph\xed ".concat(Ot," \u2014 nh\u1eadp tay ho\u1eb7c ch\u1ecdn ").concat(Pt?"ch\u01b0\u01a1ng tr\xecnh":"chuy\xean ng\xe0nh"," b\xean tr\xean."):void 0,after:(0,i.jsx)(u.Z,{value:oe.tuitionPeriod,options:[{value:"per_year",label:"/ N\u0103m"},{value:"per_semester",label:"/ K\u1ef3"},{value:"one_time",label:"/ C\u1ea3 ch\u01b0\u01a1ng tr\xecnh"}],onChange:function(n){return ce((function(e){return Wn({},e,{tuitionPeriod:"per_semester"===n?"per_semester":"one_time"===n?"one_time":"per_year"})}))},ariaLabel:"\u0110\u01a1n v\u1ecb h\u1ecdc ph\xed",align:"right"})}),St.options.length>1&&(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"Lo\u1ea1i ph\xf2ng k\xfd t\xfac x\xe1"}),(0,i.jsx)(u.Z,{value:"db"===se.dorm&&pe?pe:"",options:St.options.map((function(n){return{value:n.key,label:R(n)}})),onChange:function(n){var e=St.options.find((function(e){return e.key===n}));e&&(be.current=e.key,fe(e.key),ce((function(n){return Wn({},n,{dorm:e.min,dormPeriod:e.period})})),ue((function(n){return Wn({},n,{dorm:"db"})})),me((function(n){return Wn({},n,{dorm:Jn(e)})})))},ariaLabel:"Lo\u1ea1i ph\xf2ng k\xfd t\xfac x\xe1",placeholder:"\u2014 \u0110\xe3 s\u1eeda tay, ch\u1ecdn l\u1ea1i lo\u1ea1i ph\xf2ng \u2014",block:!0}),(0,i.jsxs)("div",{className:on().hint,children:["Tr\u01b0\u1eddng c\xf3 ",St.options.length," l\u1ef1a ch\u1ecdn k\xfd t\xfac x\xe1",St.options.some((function(n){return n.roomType}))?" (theo lo\u1ea1i ph\xf2ng)":"","; m\u1eb7c \u0111\u1ecbnh l\u1ea5y m\u1ee9c th\u1ea5p nh\u1ea5t."]})]}),(0,i.jsx)(re,{id:"qt-dorm",label:"K\xfd t\xfac x\xe1 (CNY)",value:oe.dorm,onChange:function(n){return yt("dorm",n)},source:se.dorm,hint:de.dorm?"CSDL tr\u01b0\u1eddng: ".concat(zn(de.dorm)).concat(St.skipped?" \xb7 b\u1ecf qua ".concat(St.skipped," d\xf2ng kh\xf4ng ghi k\u1ef3 h\u1ea1n thu"):"").concat("db"===se.dorm&&"per_month"===oe.dormPeriod&&null!==oe.dorm&&oe.dorm<100?" \xb7 M\u1ee9c th\u1ea5p b\u1ea5t th\u01b0\u1eddng (d\u01b0\u1edbi 100 CNY / th\xe1ng), c\xf3 th\u1ec3 nh\u1eadp sai \u0111\u01a1n v\u1ecb \u2014 \u0111\u1ed1i chi\u1ebfu th\xf4ng b\xe1o c\u1ee7a tr\u01b0\u1eddng.":""):St.skipped?"CSDL tr\u01b0\u1eddng c\xf3 ".concat(St.skipped," d\xf2ng k\xfd t\xfac x\xe1 nh\u01b0ng kh\xf4ng ghi k\u1ef3 h\u1ea1n thu n\xean kh\xf4ng t\u1ef1 \u0111i\u1ec1n \u2014 nh\u1eadp tay."):void 0,after:(0,i.jsx)(u.Z,{value:oe.dormPeriod,options:[{value:"per_month",label:"/ Th\xe1ng"},{value:"per_semester",label:"/ K\u1ef3"},{value:"per_year",label:"/ N\u0103m"}],onChange:function(n){return ce((function(e){return Wn({},e,{dormPeriod:"per_year"===n?"per_year":"per_semester"===n?"per_semester":"per_month"})}))},ariaLabel:"\u0110\u01a1n v\u1ecb k\xfd t\xfac x\xe1",align:"right"})}),(0,i.jsx)(re,{id:"qt-living",label:"Sinh ho\u1ea1t ph\xed (CNY / th\xe1ng, t\xednh 10 th\xe1ng/n\u0103m)",value:oe.living,onChange:function(n){return yt("living",n)},source:se.living,hint:de.living?"CSDL tr\u01b0\u1eddng: ".concat(zn(de.living)):"
1Ch\u01b0a c\xf3 s\u1ed1 c\u1ee7a tr\u01b0\u1eddng \u2014 nh\u1eadp theo th\xe0nh ph\u1ed1 (B\u1eafc Kinh/Th\u01b0\u1ee3ng H\u1ea3i th\u01b0\u1eddng cao h\u01a1n t\u1ec9nh l\u1ebb)."}),(0,i.jsx)(re,{id:"qt-reg",label:"Ph\xed b\xe1o danh (CNY, 1 l\u1ea7n)",value:oe.registration,onChange:function(n){return yt("registration",n)},source:se.registration,step:50,hint:de.registration?"CSDL tr\u01b0\u1eddng: ".concat(zn(de.registration)):"Tham kh\u1ea3o b\u1ea3ng gi\xe1 RIBA: 400\u2013800 CNY/tr\u01b0\u1eddng, t\xf9y tr\u01b0\u1eddng."}),(0,i.jsx)(re,{id:"qt-ins",label:"B\u1ea3o hi\u1ec3m y t\u1ebf (CNY / n\u0103m)",value:oe.insurance,onChange:function(n){return yt("insurance",n)},source:se.insurance,step:50,hint:de.insurance?"CSDL tr\u01b0\u1eddng: ".concat(zn(de.insurance)):"M\u1ee9c b\u1ea3o hi\u1ec3m b\u1eaft bu\u1ed9c cho sinh vi\xean qu\u1ed1c t\u1ebf: 800 CNY/n\u0103m."}),(0,i.jsx)(re,{id:"qt-visa-conv",label:"Ph\xed chuy\u1ec3n \u0111\u1ed5i visa (CNY)",value:oe.visaConversion,onChange:function(n){return yt("visaConversion",n)},source:se.visaConversion,step:50,placeholder:"Kh\xf4ng t\xednh",hint:de.visaConversion?"CSDL tr\u01b0\u1eddng (ph\xed c\u01b0 tr\xfa): ".concat(zn(de.visaConversion)):"M\u1eb7c \u0111\u1ecbnh 400 CNY/n\u0103m khi tr\u01b0\u1eddng ch\u01b0a c\xf3 s\u1ed1 ri\xeang. \u0110\u1ec3 tr\u1ed1ng = kh\xf4ng \u0111\u01b0a v\xe0o b\u1ea3ng b\xe1o gi\xe1.",after:(0,i.jsx)(u.Z,{value:oe.visaConversionPeriod,options:[{value:"per_year",label:"/ N\u0103m"},{value:"one_time",label:"/ 1 l\u1ea7n"}],onChange:function(n){return ce((function(e){return Wn({},e,{visaConversionPeriod:"one_time"===n?"one_time":"per_year"})}))},ariaLabel:"\u0110\u01a1n v\u1ecb ph\xed chuy\u1ec3n \u0111\u1ed5i visa",align:"right"})}),(0,i.jsx)(re,{id:"qt-materials",label:"Ph\xed t\xe0i li\u1ec7u h\u1ecdc t\u1eadp (CNY)",value:oe.materials,onChange:function(n){return yt("materials",n)},source:se.materials,step:100,placeholder:"Kh\xf4ng t\xednh",hint:de.materials?"CSDL tr\u01b0\u1eddng (gi\xe1o tr\xecnh): ".concat(zn(de.materials)):"Tr\u01b0\u1eddng ch\u01b0a c\xf3 s\u1ed1 ri\xeang n\xean \u0111\u1ec3 tr\u1ed1ng; nh\u1eadp tay n\u1ebfu c\u1ea7n (gi\xe1o tr\xecnh, t\xe0i li\u1ec7u, d\u1ee5ng c\u1ee5 h\u1ecdc t\u1eadp). \u0110\u1ec3 tr\u1ed1ng = kh\xf4ng \u0111\u01b0a v\xe0o b\u1ea3ng b\xe1o gi\xe1.",after:(0,i.jsx)(u.Z,{value:oe.materialsPeriod,options:[{value:"per_year",label:"/ N\u0103m"},{value:"one_time",label:"/ 1 l\u1ea7n"}],onChange:function(n){return ce((function(e){return Wn({},e,{materialsPeriod:"one_time"===n?"one_time":"per_year"})}))},ariaLabel:"\u0110\u01a1n v\u1ecb ph\xed t\xe0i li\u1ec7u h\u1ecdc t\u1eadp",align:"right"})}),(0,i.jsx)(re,{id:"qt-shopping",label:"Chi ph\xed mua s\u1eafm kh\xe1c (CNY)",value:oe.shopping,onChange:function(n){return yt("shopping",n)},source:se.shopping,step:100,placeholder:"Kh\xf4ng t\xednh",hint:"CSDL tr\u01b0\u1eddng ch\u01b0a c\xf3 m\u1ee5c n\xe0y n\xean \u0111\u1ec3 tr\u1ed1ng; nh\u1eadp tay n\u1ebfu c\u1ea7n (\u0111\u1ed3 d\xf9ng c\xe1 nh\xe2n, qu\u1ea7n \xe1o, mua s\u1eafm ph\xe1t sinh). \u0110\u1ec3 tr\u1ed1ng = kh\xf4ng \u0111\u01b0a v\xe0o b\u1ea3ng b\xe1o gi\xe1.",after:(0,i.jsx)(u.Z,{value:oe.shoppingPerio
1d,options:[{value:"per_year",label:"/ N\u0103m"},{value:"one_time",label:"/ 1 l\u1ea7n"}],onChange:function(n){return ce((function(e){return Wn({},e,{shoppingPeriod:"one_time"===n?"one_time":"per_year"})}))},ariaLabel:"\u0110\u01a1n v\u1ecb chi ph\xed mua s\u1eafm kh\xe1c",align:"right"})}),(0,i.jsx)("hr",{className:on().divider}),(0,i.jsx)("div",{className:on().sectionTitle,children:"H\u1ecdc b\u1ed5ng d\u1ef1 ki\u1ebfn"}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"Lo\u1ea1i h\u1ecdc b\u1ed5ng"}),(0,i.jsx)(u.Z,{value:we,options:W.map((function(n){return{value:n.id,label:n.label}})),onChange:function(n){U(n)&&(Ae(n),"custom"!==n&&Be(X(n,A)))},ariaLabel:"Lo\u1ea1i h\u1ecdc b\u1ed5ng",block:!0}),"none"===we&&(0,i.jsx)("div",{className:on().hint,children:"Ch\u1ecdn lo\u1ea1i h\u1ecdc b\u1ed5ng \u0111\u1ec3 m\xf4 ph\u1ecfng s\u1ed1 ti\u1ec1n c\xf2n ph\u1ea3i chi sau khi \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3."})]}),"none"!==we&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(re,{id:"qt-sch-tuition",label:"Mi\u1ec5n gi\u1ea3m h\u1ecdc ph\xed (%)",value:Ye.tuitionPct,onChange:function(n){return Qe("tuitionPct",Math.min(100,null!==n&&void 0!==n?n:0))},step:10,max:100,placeholder:"0"}),(0,i.jsx)(re,{id:"qt-sch-dorm",label:"Mi\u1ec5n gi\u1ea3m k\xfd t\xfac x\xe1 (%)",value:Ye.dormPct,onChange:function(n){return Qe("dormPct",Math.min(100,null!==n&&void 0!==n?n:0))},step:10,max:100,placeholder:"0"}),(0,i.jsxs)("label",{className:on().checkRow,htmlFor:"qt-sch-ins",children:[(0,i.jsx)("input",{id:"qt-sch-ins",type:"checkbox",checked:Ye.insuranceCovered,onChange:function(n){return Qe("insuranceCovered",n.target.checked)}}),"H\u1ecdc b\u1ed5ng chi tr\u1ea3 b\u1ea3o hi\u1ec3m y t\u1ebf"]}),(0,i.jsx)(re,{id:"qt-sch-stipend",label:"Tr\u1ee3 c\u1ea5p sinh ho\u1ea1t (CNY / th\xe1ng)",value:Ye.stipendMonthly,onChange:function(n){return Qe("stipendMonthly",n)},step:100,placeholder:"Kh\xf4ng c\xf3",hint:"CSC to\xe0n ph\u1ea7n: 2.500 (ti\u1ebfng/\u0111\u1ea1i h\u1ecdc), 3.000 (th\u1ea1c s\u0129), 3.500 (ti\u1ebfn s\u0129) CNY/th\xe1ng."}),!Wt&&(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"S\u1ed1 th\xe1ng nh\u1eadn tr\u1ee3 c\u1ea5p m\u1ed7i n\u0103m"}),(0,i.jsx)(u.Z,{value:String(K(Ye.stipendMonths)),options:F.map((function(n){return{value:String(n),label:"".concat(n," th\xe1ng / n\u0103m")}})),onChange:function(n){return Qe("stipendMonths",K(n))},ariaLabel:"S\u1ed1 th\xe1ng nh\u1eadn tr\u1ee3 c\u1ea5p m\u1ed7i n\u0103m",block:!0}),(0,i.jsx)("div",{className:on().hint,children:"T\xf9y lo\u1ea1i h\u1ecdc b\u1ed5ng: c\xf3 lo\u1ea1i c\u1ea5p 10, 11 ho\u1eb7c 12 th\xe1ng/n\u0103m \u2014 ch\u1ecdn theo th\xf4ng b\xe1o c\u1ee7a h\u1ecdc b\u1ed5ng \u0111\u1ec3 s\u1ed1 th\u1ef1c nh\u1eadn ch\xednh x\xe1c. H\u1ec7 d\u01b0\u1edbi 1 n\u0103m nh\u1eadn theo s\u1ed1 th\xe1ng h\u1ecdc."})]})]}),(0,i.jsx)("hr",{className:on().divider}),(0,i.jsx)("div",{className:on().sectionTitle,children:"Chi ph\xed t\u1ea1i Vi\u1ec7t Nam (VND)"}),(0,i.jsx)(re,{id:"qt-visa",label:"Ph\xed xin visa",value:oe.visaVnd,onChange:function(n){return yt("visaVnd",n)},source:se.visaVnd,step:1e5,hint:t?'Theo m\u1ee5c "chi ph\xed kh\xe1ch t\u1ef1 chi tr\u1ea3" c\u1ee7a b\u1ea3ng gi\xe1 RIBA.':void 0}),(0,i.jsx)(re,{id:"qt-health",label:"Kh\xe1m s\u1ee9c kh\u1ecfe",value:oe.healthVnd,onChange:function(n){return yt("healthVnd",n)},source:se.healthVnd,step:1e5}),(0,i.jsx)(re,{id:"qt-flight",label:"V\xe9 m\xe1y bay (\u01b0\u1edbc t\xednh)",value:oe.flightVnd,onChange:function(n){return yt("flightVnd",n)},source:se.flightVnd,step:5e5,hint:"T\xf9y th\u1eddi \u0111i\u1ec3m v\xe0 ch\u1eb7ng bay."}),(0,i.jsx)("hr",{className:on().divider}),(0,i.jsx)("div",{className:on().sectionTitle,children:"Ph\xed d\u1ecbch v\u1ee5 RIBA"}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsxs)("label",{children:["G\xf3i d\u1ecbch v\u1ee5 (",Et.label,")"]}),(0,i.jsx)(u.Z,{value:Ne,options:[{value:"",label:"\u2014 Ch\u1ecdn g\xf3i d\u1ecbch v\u1ee5 \u2014"},{value:J,label:"Kh\xf4ng d\xf9ng d\u1ecbch v\u1ee5 (t\u1ef1 n\u1ed9p h\u1ed3 s\u01a1)"}].concat(Un(At.map((function(n){return{value:n.id,label:"".concat(n.name).concat(n.shortLabel&&n.shortL
1abel!==n.name?" (".concat(n.shortLabel,")"):""," \xb7 ").concat(n.schoolCount," tr\u01b0\u1eddng")}})))),onChange:ke,ariaLabel:"G\xf3i d\u1ecbch v\u1ee5",placeholder:"\u2014 Ch\u1ecdn g\xf3i d\u1ecbch v\u1ee5 \u2014",block:!0}),t&&0===At.length&&(0,i.jsxs)("div",{className:on().hint,children:["B\u1ea3ng gi\xe1 ch\u01b0a c\xf3 g\xf3i cho h\u1ec7 ",Et.label,"."]})]}),Lt&&(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{children:"Ch\xednh s\xe1ch ho\xe0n ph\xed"}),(0,i.jsx)(u.Z,{value:Ce,options:m.AB.map((function(n){return{value:n,label:Qt(n)}})),onChange:function(n){return rn(n)&&Pe(n)},ariaLabel:"Ch\xednh s\xe1ch ho\xe0n ph\xed",block:!0})]}),Lt&&Yt&&(0,i.jsxs)("div",{className:on().serviceBox,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:"Gi\xe1 g\xf3i"}),(0,i.jsxs)("strong",{children:[z(Yt.base)," \u0111"]})]}),Yt.vatAmount>0&&(0,i.jsxs)("div",{children:[(0,i.jsxs)("span",{children:["VAT ",Yt.vatPercent,"%",Yt.vatIncludedInTotal?"":" (ch\u01b0a c\u1ed9ng)"]}),(0,i.jsxs)("strong",{children:[z(Yt.vatAmount)," \u0111"]})]}),(0,i.jsxs)("div",{className:on().serviceTotal,children:[(0,i.jsx)("span",{children:"Ph\xed d\u1ecbch v\u1ee5"}),(0,i.jsxs)("strong",{children:[z(Yt.total)," \u0111"]})]}),(0,i.jsxs)("div",{className:on().hint,children:["B\u1ea3ng gi\xe1 ",(null===t||void 0===t?void 0:t.version)?"".concat(t.version.year," ").concat(t.version.version):"RIBA"," \xb7"," ",(0,i.jsx)(h.Z,{href:"/bang-gia",children:"Xem chi ti\u1ebft g\xf3i"})]})]}),Lt&&!Yt&&(0,i.jsx)("div",{className:"".concat(on().status," ").concat(on().statusWarn),children:"G\xf3i n\xe0y ch\u01b0a c\xf3 gi\xe1 cho ch\xednh s\xe1ch ho\xe0n ph\xed \u0111\xe3 ch\u1ecdn \u2014 li\xean h\u1ec7 t\u01b0 v\u1ea5n \u0111\u1ec3 b\xe1o gi\xe1."}),(0,i.jsx)("hr",{className:on().divider}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsxs)("label",{htmlFor:"qt-rate",className:on().labelRow,children:[(0,i.jsx)("span",{children:"T\u1ef7 gi\xe1 (VND / 1 CNY)"}),(0,i.jsx)("span",{className:"".concat(on().chip," ").concat("manual"===Ve?on().chip_manual:"api"===o.source?on().chip_db:on().chip_ref),children:"manual"===Ve?"T\u1ef1 nh\u1eadp":"api"===o.source?"Th\u1ecb tr\u01b0\u1eddng":"T\u1ea1m t\xednh"})]}),(0,i.jsx)("input",{id:"qt-rate",type:"number",min:0,step:10,value:null===qe?"":qe,onChange:function(n){Me($n(n.target.value)),De("manual")}}),(0,i.jsx)("div",{className:on().hint,children:Ht})]}),(0,i.jsx)("hr",{className:on().divider}),(0,i.jsx)("div",{className:on().sectionTitle,children:"Th\xf4ng tin tr\xean b\u1ea3n in"}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{htmlFor:"qt-customer",children:"K\xednh g\u1eedi (t\xean ph\u1ee5 huynh / h\u1ecdc sinh)"}),(0,i.jsx)("input",{id:"qt-customer",type:"text",value:Ge,onChange:function(n){return We(n.target.value)},placeholder:"Kh\xf4ng b\u1eaft bu\u1ed9c",autoComplete:"off"})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{htmlFor:"qt-phone",children:"S\u1ed1 \u0111i\u1ec7n tho\u1ea1i kh\xe1ch"}),(0,i.jsx)("input",{id:"qt-phone",type:"tel",value:Ue,onChange:function(n){return Xe(n.target.value)},placeholder:"Kh\xf4ng b\u1eaft bu\u1ed9c",autoComplete:"off"})]}),(0,i.jsxs)("div",{className:on().field,children:[(0,i.jsx)("label",{htmlFor:"qt-advisor",children:"T\u01b0 v\u1ea5n vi\xean l\u1eadp b\xe1o gi\xe1"}),(0,i.jsx)("input",{id:"qt-advisor",type:"text",value:Je,onChange:function(n){return $e(n.target.value)},placeholder:"Kh\xf4ng b\u1eaft bu\u1ed9c",autoComplete:"off"}),(0,i.jsxs)("div",{className:on().hint,children:["Ch\u1ec9 in l\xean b\u1ea3n b\xe1o gi\xe1, kh\xf4ng l\u01b0u l\u1ea1i. M\xe3 b\xe1o gi\xe1: ",(0,i.jsx)("strong",{children:Kt}),", hi\u1ec7u l\u1ef1c \u0111\u1ebfn"," ",(0,g.BI)(Ft),"."]})]}),(0,i.jsxs)("div",{className:on().btnRow,children:[(0,i.jsxs)("button",{className:on().printBtn,onClick:function(){(0,v.sn)(nt.current,"Bao gia du hoc - ".concat(b?b.name:"StudyInChina"," - ").concat(Kt))},type:"button",children:[(0,i.jsx)("span",{className:"material-symbols-outlined","aria-hidden":"true",children:"print"}),"In / L\u01b0u PDF b\u1ea3n b\xe1o gi\xe1"]}),(0,i.jsxs)("button",{className:on().btnSecondary,onClick:ni,type:"button",disabled:tt,children:[(0,i.jsx)("span",{className:"material-symbols-outlined","aria-hidden":"true",children:"download"}),tt?"\u0110ang t\u1ea1o file PDF...":"T\u1ea3i file PDF (\u1ea3nh)"]}),(0,i.jsx)("div",{className:on().hint,children:'B\u1ea3n \u0111\u1eb9p nh\u1ea5t \u0111\u1ec3 g\u1eedi kh\xe1ch: b\u1ea5m "In / L\u01b0u PDF" r\u1ed3i ch\u1ecdn m\xe1y in "L\u01b0u th\xe0nh PDF" (ch\u1eef s\u1eafc n\xe9t, ch\u1ecdn \u0111\u01b0\u1ee3c). N\xfat "T\u1ea3i file PDF" t\u1ea1o b\u1ea3n \u1ea3nh, d\xf9ng khi tr\xecnh duy\u1ec7t kh\xf4ng c\xf3 h\u1ed9p tho\u1ea1i in.'}),at&&(0,i.jsx)("div",{className:"".concat(on().status," ").concat(on().statusErr),role:"alert",children:'Kh\xf4ng t\u1ea1o \u0111\u01b0\u1ee3c file PDF tr\xean tr\xecnh duy\u1ec7t n\xe0y \u2014 h\xe3y d\xf9ng n\xfat "In / L\u01b0u PDF" v\xe0 ch\u1ecdn L\u01b0u th\xe0nh PDF.'})]})]}),(0,i.jsxs)("main",{className:on().main,children:[(0,i.jsxs)("div",{className:on().schoolCard,children:[(0,i.jsx)("div",{className:on().schoolName,children:ei}),(0,i.jsx)("div",{className:on().schoolSub,children:ti}),(0,i.jsxs)("div",{className:on().programInfo,children:[(0,i.jsxs)("div",{className:on().programRow,children:[(0,i.jsx)("strong",{children:"H\u1ec7 \u0111\xe0o t\u1ea1o:"})," ",Gt]}),(0,i.jsxs)("div",{className:on().programRow,children:[(0,i.jsx)("strong",{children:"Chuy\xean ng\xe0nh:"})," ",sn.trim()||"Ch\u01b0a x\xe1c \u0111\u1ecbnh",(null===gn||void 0===gn?void 0:gn.nameCn)&&gn.nameCn!==sn?" \xb7 ".concat(gn.nameCn):""]}),(0,i.jsxs)("div",{className:on().programRow,children:[(0,i.jsx)("strong",{children:"Ng\xf4n ng\u1eef:"})," ","chinese"===an?"Ti\u1ebfng Trung":"Ti\u1ebfng Anh"]}),(0,i.jsxs)("div",{className:on().programRow,children:[(0,i.jsx)("strong",{children:"Th\u1eddi gian h\u1ecdc:"})," ",P(Mn)]}),"none"!==we&&(0,i.jsxs)("div",{className:on().programRow,children:[(0,i.jsx)("strong",{children:"H\u1ecdc b\u1ed5ng:"})," ",Z(we)]}),b&&(b.city||b.province)&&(0,i.jsxs)("div",{className:on().programRow,children:[(0,i.jsx)("strong",{children:"Khu v\u1ef1c:"}
1)," ",[b.city,b.province].filter(Boolean).join(", ")]})]}),b&&(null!==b.rank||b.projects.length>0)&&(0,i.jsxs)("div",{className:on().tags,children:[null!==b.rank&&(0,i.jsxs)("span",{className:on().tag,children:["H\u1ea1ng ",b.rank," to\xe0n qu\u1ed1c"]}),b.projects.map((function(n){return(0,i.jsx)("span",{className:on().tag,children:n},n)}))]})]}),(0,i.jsxs)("div",{className:on().card,children:[(0,i.jsxs)("div",{className:"".concat(on().cardHeader," ").concat(on().cardHeaderBlue),children:[(0,i.jsx)("span",{children:"1. Chi ph\xed t\u1ea1i tr\u01b0\u1eddng (CNY \u2013 Nh\xe2n d\xe2n t\u1ec7)"}),(0,i.jsxs)("span",{className:on().cardHeaderNote,children:[P(Mn)," h\u1ecdc"]})]}),(0,i.jsx)("div",{className:on().cardBody,children:(0,i.jsx)("div",{className:on().tableWrap,children:(0,i.jsxs)("table",{className:on().table,children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:"H\u1ea1ng m\u1ee5c"}),(0,i.jsx)("th",{children:"\u0110\u01a1n gi\xe1"}),(0,i.jsx)("th",{className:on().num,children:"N\u0103m \u0111\u1ea7u"}),(0,i.jsxs)("th",{className:on().num,children:["C\u1ea3 kh\xf3a (",P(Mn),")"]})]})}),(0,i.jsx)("tbody",{children:qt.cnyLines.map((function(n){return(0,i.jsxs)("tr",{className:null===n.firstYear?on().rowUnknown:void 0,children:[(0,i.jsxs)("td",{children:[n.label,"tuition"===n.key&&sn.trim()?" (".concat(sn.trim(),")"):""]}),(0,i.jsx)("td",{children:n.unit}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:[null===n.firstYear?"Ch\u01b0a x\xe1c \u0111\u1ecbnh":"".concat(z(n.firstYear)," CNY"),Rt(n.firstYear)&&(0,i.jsx)("span",{className:on().subVnd,children:Rt(n.firstYear)})]}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:[null===n.whole?"\u2014":"".concat(z(n.whole)," CNY"),Rt(n.whole)&&(0,i.jsx)("span",{className:on().subVnd,children:Rt(n.whole)})]})]},n.key)}))}),(0,i.jsxs)("tfoot",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{colSpan:2,children:"C\u1ed9ng chi ph\xed t\u1ea1i tr\u01b0\u1eddng"}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:[z(qt.cnyFirstYear)," CNY",Rt(qt.cnyFirstYear)&&(0,i.jsx)("span",{className:on().subVnd,children:Rt(qt.cnyFirstYear)})]}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:[z(qt.cnyWhole)," CNY",Rt(qt.cnyWhole)&&(0,i.jsx)("span",{className:on().subVnd,children:Rt(qt.cnyWhole)})]})]}),Vt&&(0,i.jsxs)(i.Fragment,{children:[qt.scholarshipLines.map((function(n){return(0,i.jsxs)("tr",{className:on().rowScholarship,children:[(0,i.jsx)("td",{children:n.label}),(0,i.jsx)("td",{children:n.unit}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:["\u2212 ",z(n.firstYear)," CNY"]}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:["\u2212 ",z(n.whole)," CNY"]})]},n.key)})),(0,i.jsxs)("tr",{className:on().rowNet,children:[(0,i.jsx)("td",{colSpan:2,children:"C\xf2n ph\u1ea3i chi t\u1ea1i tr\u01b0\u1eddng sau h\u1ecdc b\u1ed5ng"}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:[z(qt.cnyNetFirstYear)," CNY",Rt(qt.cnyNetFirstYear)&&(0,i.jsx)("span",{className:on().subVnd,children:Rt(qt.cnyNetFirstYear)})]}),(0,i.jsxs)("td",{className:"".concat(on().amount," ").concat(on().num),children:[z(qt.cnyNetWhole)," CNY",Rt(qt.cnyNetWhole)&&(0,i.jsx)("span",{className:on().subVnd,children:Rt(qt.cnyNetWhole)})]})]})]})]})]})})})]}),(0,i.jsxs)("div",{className:on().card,children:[(0,i.jsxs)("div",{className:"".concat(on().cardHeader," ").concat(on().cardHeaderPink),children:[(0,i.jsx)("span",{children:"2. Chi ph\xed t\u1ea1i Vi\u1ec7t Nam & d\u1ecbch v\u1ee5 (VND)"}),(0,i.jsx)("span",{className:on().cardHeaderNote,children:"Thu 1 l\u1ea7n"})]}),(0,i.jsx)("div",{className:on().cardBody,children:(0,i.jsx)("div",{className:on().tableWrap,children:(0,i.jsxs)("table",{className:on().table,children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:"H\u1ea1ng m\u1ee5c"}),(0,i.jsx)("th",{children:"Ghi ch\xfa"}),(0,i.jsx)("th",{className:on().num,children:"S\u1ed1 ti\u1ec1n"})]})}),(0,i.jsx)("tbody",{children:qt.vndLines.map((function(n){return(0,i.jsxs)("tr",{className:null===n.firstYear?on().rowUnknown:void 0,children:[(0,i.jsxs)("td",{children:[n.label,"service"===n.key&&Lt?" \u2014 ".concat(Lt.name,", ").concat(Qt(Ce)):"","service"===n.key&&Ne===J?" \u2014 kh\xf4ng d\xf9ng":""]}),(0,i.jsx)("td",{children:"service"===n.key&&Yt?Yt.vatIncludedInTotal?"\u0110\xe3 g\u1ed3m VAT ".concat(Yt.vatPercent,"%"):Yt.vatAmount?"Ch\u01b0a g\u1ed3m VAT ".concat(Yt.vatPercent,"% (").concat(z(Yt.vatAmount)," \u0111)"):n.unit:"service"!==n.key||Lt||Ne===J?n.unit:"Ch\u01b0a ch\u1ecdn g\xf3i d\u1ecbch v\u1ee5"}),(0,i.jsx)("td",{className:"".concat(on().amountVnd," ").concat(on().num),children:null===n.firstYear?"Ch\u01b0a x\xe1c \u0111\u1ecbnh":"".concat(z(n.firstYear)," \u0111")})]},n.key)}))}),(0,i.jsx)("tfoot",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{colSpan:2,children:"C\u1ed9ng chi ph\xed t\u1ea1i Vi\u1ec7t Nam"}),(0,i.jsxs)("td",{className:"".concat(on().amountVnd," ").concat(on().num),children:[z(qt.vndOneTime)," \u0111"]})]})})]})})})]}),(0,i.jsxs)("div",{className:on().summary,children:[(0,i.jsxs)("div",{className:on().summaryTitle,children:["T\u1ed5ng chi ph\xed \u01b0\u1edbc t\xednh",(0,i.jsxs)("div",{className:on().summaryNote,children:["T\u1ef7 gi\xe1 t\u1ea1m t\xednh: 1 CNY = ",Mt?z(qe):"\u2014"," VND",Vt&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),"\u0110\xe3 tr\u1eeb h\u1ecdc b\u1ed5ng ",z(qt.cnyScholarshipFirstYear)," CNY n\u0103m \u0111\u1ea7u,"," ",z(qt.cnyScholarshipWhole)," CNY c\u1ea3 kh\xf3a."]})]})]}),(0,i.jsxs)("div",{className:on().summaryGrid,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:on().summaryLabel,children:"N\u0103m \u0111\u1ea7u ti\xean"}),(0,i.jsxs)("div",{className:on().summaryBreak,children:[z(qt.cnyNetFirstYear)," CNY + ",z(qt.vndOneTime)," \u0111"]}),(0,i.jsxs)("div",{className:on().summaryTotal,children:["\u2248 ",Mt?z(qt.totalFirstYearVnd):"\u2014"," \u0111"]})]}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:on().summaryLabel,children:["C\u1ea3 kh\xf3a (",P(Mn),")"]}),(0,i.jsxs)("div",{className:on().summaryBreak,children:[z(qt.cnyNetWhole)," CNY + ",z(qt.vndOneTime)," \u0111"]}),(0,i.jsxs)("div",{className:on().summaryTotalSub,children:["\u2248 ",Mt?z(qt.totalWholeVnd):"\u2014"," \u0111"]})]})]})]}),qt.unknownLabels.length>0&&(0,i.jsxs)("div",{className:"".concat(on().banner," ").concat(on().bannerWarn),role:"status",children:["T\u1ed5ng tr\xean ",(0,i.jsx)("strong",{children:"ch\u01b0a g\u1ed3m"}),": ",qt.unknownLabels.join(", ")," \u2014 ch\u01b0a c\xf3 s\u1ed1 li\u1ec7u. Nh\u1eadp tay \u1edf c\u1ed9t b\xean tr\xe1i \u0111\u1ec3 b\xe1o gi\xe1 \u0111\u1ee7."]}
1),(0,i.jsx)(Hn,{hasSchool:Boolean(b),photos:lt,campusShown:_t,dormShown:jt,campusSet:gt,dormSet:ft,onNextCampus:function(){return vt((function(n){return(n+1)%Dn(lt.campus.length)}))},onNextDorm:function(){return bt((function(n){return(n+1)%Dn(lt.dorm.length)}))},onRetry:function(){return dt((function(n){return n+1}))}}),(0,i.jsxs)("div",{className:on().notes,children:[(0,i.jsx)("div",{className:on().notesTitle,children:"Ngu\u1ed3n s\u1ed1 li\u1ec7u & l\u01b0u \xfd"}),(0,i.jsxs)("ul",{children:[(0,i.jsxs)("li",{children:["Chi ph\xed t\u1ea1i tr\u01b0\u1eddng:"," ","ok"===xe.status?"c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u01b0\u1eddng c\u1ee7a StudyInChina (s\u1ed1 c\xf3 kho\u1ea3ng gi\xe1 l\u1ea5y m\u1ee9c th\u1ea5p nh\u1ea5t)":"do ng\u01b0\u1eddi l\u1eadp nh\u1eadp",'; c\xe1c kho\u1ea3n g\u1eafn nh\xe3n "Tham kh\u1ea3o" l\xe0 m\u1ee9c ph\u1ed5 bi\u1ebfn, c\u1ea7n \u0111\u1ed1i chi\u1ebfu th\xf4ng b\xe1o tuy\u1ec3n sinh c\u1ee7a tr\u01b0\u1eddng.']}),(0,i.jsxs)("li",{children:["Ph\xed d\u1ecbch v\u1ee5 RIBA theo b\u1ea3ng gi\xe1"," ",(null===t||void 0===t?void 0:t.version)?"".concat(t.version.year," ").concat(t.version.version):"hi\u1ec7n h\xe0nh",(null===t||void 0===t?void 0:t.vatNote)?" \u2014 ".concat(t.vatNote):""]}),(0,i.jsxs)("li",{children:[Ht," S\u1ed1 quy \u0111\u1ed5i VND ch\u1ec9 \u0111\u1ec3 tham kh\u1ea3o, thanh to\xe1n th\u1ef1c t\u1ebf theo t\u1ef7 gi\xe1 ng\xe2n h\xe0ng t\u1ea1i th\u1eddi \u0111i\u1ec3m chuy\u1ec3n."]}),((null===t||void 0===t?void 0:t.legalNotes)||[]).map((function(n){return(0,i.jsx)("li",{children:n},n)}))]})]})]})]})]}),tt&&(0,i.jsx)("div",{className:on().captureBackdrop,children:"\u0110ang t\u1ea1o file PDF, vui l\xf2ng \u0111\u1ee3i..."}),(0,i.jsx)(Qn,{ref:nt,capturing:tt,quoteCode:Kt,createdAt:Dt,validUntil:Ft,school:b,schoolNameCn:xe.nameCn,schoolShortName:xe.shortName,levelLabel:Gt,major:sn,majorCn:(null===gn||void 0===gn?void 0:gn.nameCn)&&gn.nameCn!==sn?gn.nameCn:null,languageLabel:Jt,years:Mn,quote:qt,rate:Mt?qe:null,rateNote:Ht,costFromDb:"ok"===xe.status,service:{packageName:Lt?Lt.name:null,policyLabel:Lt?Qt(Ce):null,quote:Yt,none:Ne===J},catalogVersion:(null===t||void 0===t?void 0:t.version)?"".concat(t.version.year," ").concat(t.version.version):null,vatNote:(null===t||void 0===t?void 0:t.vatNote)||"",legalNotes:(null===t||void 0===t?void 0:t.legalNotes)||[],customerName:Ge,customerPhone:Ue,advisorName:Je,scholarshipName:"none"===we?null:Z(we),campusPhotos:"ok"===lt.status?_t:[],dormPhotos:"ok"===lt.status?jt:[]})]})}function oe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ce(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),i.forEach((function(e){oe(n,e,t[e])}))}return n}var le=!0,se=function(n){return(0,i.jsxs)(a.Z,{theme:"light",bg:"#f8fafc",headerAbsolute:!1,children:[(0,i.jsx)(o.Z,{title:"D\u1ef1 tr\xf9 kinh ph\xed & B\u1ea3ng b\xe1o gi\xe1 du h\u1ecdc Trung Qu\u1ed1c | StudyInChina",metaDescription:"D\u1ef1 tr\xf9 kinh ph\xed v\xe0 l\u1eadp b\u1ea3ng b\xe1o gi\xe1 du h\u1ecdc Trung Qu\u1ed1c theo 1.031 tr\u01b0\u1eddng: h\u1ecdc ph\xed, k\xfd t\xfac x\xe1, sinh ho\u1ea1t ph\xed, b\u1ea3o hi\u1ec3m t\u1eeb d\u1eef li\u1ec7u tr\u01b0\u1eddng, m\xf4 ph\u1ecfng h\u1ecdc b\u1ed5ng CSC / h\u1ecdc b\u1ed5ng tr\u01b0\u1eddng, ph\xed d\u1ecbch v\u1ee5 RIBA v\xe0 t\u1ef7 gi\xe1 th\u1ecb tr\u01b0\u1eddng, in PDF g\u1eedi ph\u1ee5 huynh."}),(0,i.jsx)(ae,ce({},n))]})}},96291:function(n,e,t){"use strict";t.d(e,{$m:function(){return l},xd:function(){return s},IQ:function(){return u},fc:function(){return h},Gx:function(){return d}});var i=t(81380),r=t(66231),a=t(43525),o=t(80407),c="sic-pricing-quote-2027";function l(n,e){var t=void 0===n?2027:n,i=void 0===e?new Date:e,r=Math.floor(i.getTime()/1e3)%1e6;return"RIBA-QT-".concat(t,"-").concat(String(r).padStart(6,"0"))}function s(n,e){var t=void 0===n?new Date:n,i=void 0===e?30:e,r=new Date(t.getTime());return r.setDate(r.getDate()+i),r}function u(n){try{return window.localStorage.setItem(c,JSON.stringify(n)),!0}catch(e){return!1}}function h(n,e){return(0,o.hO)(n,"bao-gia-riba-".concat((0,o.bZ)(e)))}function d(n){var e=n.toEmail,t=n.code,o=n.pkg,c=n.refundPolicy,l=n.schoolCount,s=n.result,u=["M\xe3 b\xe1o gi\xe1: ".concat(t),"Ng\xe0y t\u1ea1o: ".concat((0,r.BI)(new Date)),"G\xf3i d\u1ecbch v\u1ee5: ".concat(o?o.name:"\u2014"),"Lo\u1ea1i g\xf3i: ".concat((0,a.XG)(c,!0)),"S\u1ed1 tr\u01b0\u1eddng: ".concat(l),"","Chi ph\xed d\u1ecbch v\u1ee5 RIBA: ".concat((0,r.Ac)(s.serviceFee)),"Chi ph\xed kh\xe1c t\u1ef1 chi tr\u1ea3 (\u01b0\u1edbc t\xednh): ".concat((0,r.Ac)(s.extraCosts)),"T\u1ed5ng d\u1ef1 ki\u1ebfn: ".concat((0,r.Ac)(s.totalEstimatedCost)),"","L\u01b0u \xfd: b\xe1o gi\xe1 mang t\xednh tham kh\u1ea3o, gi\xe1 ch\xednh th\u1ee9c theo h\u1ee3p \u0111\u1ed3ng k\xfd k\u1ebft.","StudyInChina.net by RIBA \u2014 Hotline ".concat(i.Y_)],h=encodeURIComponent("[RIBA] B\xe1o gi\xe1 d\u1ecbch v\u1ee5 du h\u1ecdc Trung Qu\u1ed1c 2027 - ".concat(t)),d=encodeURIComponent(u.join("\n"));return"mailto:".concat(e||"","?subject=").concat(h,"&body=").concat(d)}},66231:function(n,e,t){"use strict";function i(n,e){var t=void 0===e||e;return"number"===typeof n&&Number.isFinite(n)?"".concat(Math.round(n).toLocaleStr
1ing("vi-VN")).concat(t?"\u0111":""):"\u2014"}function r(n){if(!n)return"\u2014";var e="string"===typeof n?new Date(n):n;if(Number.isNaN(e.getTime()))return"\u2014";var t=function(n){return String(n).padStart(2,"0")};return"".concat(t(e.getDate()),"/").concat(t(e.getMonth()+1),"/").concat(e.getFullYear())}t.d(e,{Ac:function(){return i},BI:function(){return r}})},43525:function(n,e,t){"use strict";t.d(e,{AB:function(){return r},rk:function(){return a},XG:function(){return o}});var i={no_refund:{label:"G\xf3i kh\xf4ng ho\xe0n",fullLabel:"G\xf3i Kh\xf4ng ho\xe0n ph\xed",description:"Gi\xe1 t\u1ed1t h\u01a1n, ph\xf9 h\u1ee3p h\u1ed3 s\u01a1 ch\u1eafc ch\u1eafn. Kh\xf4ng \xe1p d\u1ee5ng ch\xednh s\xe1ch ho\xe0n ph\xed.",conditionBadge:null,icon:"savings"},refund_50:{label:"G\xf3i ho\xe0n 50%",fullLabel:"G\xf3i Ho\xe0n 50%",description:"C\xe2n b\u1eb1ng chi ph\xed v\xe0 quy\u1ec1n l\u1ee3i. Ho\xe0n 50% ph\xed d\u1ecbch v\u1ee5 theo \u0111i\u1ec1u ki\u1ec7n h\u1ee3p \u0111\u1ed3ng n\u1ebfu kh\xf4ng \u0111\u1ea1t k\u1ebft qu\u1ea3.",conditionBadge:null,icon:"balance"},refund_100:{label:"G\xf3i ho\xe0n 100%",fullLabel:"G\xf3i tr\u1ecdn v\u1eb9n",description:"An t\xe2m t\u1ed1i \u0111a. Ho\xe0n 100% ph\xed d\u1ecbch v\u1ee5 theo \u0111i\u1ec1u ki\u1ec7n h\u1ee3p \u0111\u1ed3ng n\u1ebfu kh\xf4ng \u0111\u1ea1t k\u1ebft qu\u1ea3.",conditionBadge:null,icon:"shield_lock"}},r=["no_refund","refund_50","refund_100"];function a(n){return i[n]}function o(n,e){var t=i[n];return void 0!==e&&e?t.fullLabel:t.label}},80407:function(n,e,t){"use strict";t.d(e,{sn:function(){return u},Ru:function(){return d},hO:function(){return g},bZ:function(){return p}});var i=t(28520),r=t.n(i);function a(n,e,t,i,r,a,o){try{var c=n[a](o),l=c.value}catch(s){return void t(s)}c.done?e(l):Promise.resolve(l).then(i,r)}function o(n){return function(){var e=this,t=arguments;return new Promise((function(i,r){var o=n.apply(e,t);function c(n){a(o,i,r,c,l,"next",n)}function l(n){a(o,i,r,c,l,"throw",n)}c(void 0)}))}}var c="sic-print-pricing",l="data-sic-print",s="data-sic-print-chain";function u(n,e){if(!n)return!1;var t=function(n){n.setAttribute(l,"true");for(var e=[],t=n.parentElement;t;)t.setAttribute(s,"true"),e.push(t),t=t.parentElement;return document.body.classList.add(c),function(){n.removeAttribute(l),e.forEach((function(n){return n.removeAttribute(s)})),document.body.classList.remove(c)}}(n),i=document.title;e&&(document.title=e);var r=function(){t(),document.title=i,window.removeEventListener("afterprint",r)};return window.addEventListener("afterprint",r),window.print(),window.setTimeout(r,3e3),!0}function h(n,e){var t=document.createElement("a");t.href=n,t.download=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)}function d(n,e){return m.apply(this,arguments)}function m(){return(m=o(r().mark((function n(e,i){var a;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return",!1);case 2:return n.prev=2,n.next=5,t.e(5443).then(t.t.bind(t,46020,23));case 5:return a=n.sent.default,n.next=8,a(e,{scale:2,backgroundColor:"#ffffff",logging:!1,useCORS:!0,windowWidth:Math.max(e.scrollWidth,900)});case 8:return h(n.sent.toDataURL("image/png"),i.endsWith(".png")?i:"".concat(i,".png")),n.abrupt("return",!0);case 13:return n.prev=13,n.t0=n.catch(2),n.abrupt("return",!1);case 16:case"end":return n.stop()}}),n,null,[[2,13]])})))).apply(this,arguments)}function g(n,e){return v.apply(this,arguments)}function v(){return(v=o(r().mark((function n(e,i,a){var o,c,l,s,u,h,d,m,g,v,p,f,b,y,x;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=void 0===a?{}:a,e){n.next=3;break}return n.abrupt("return",!1);case 3:return n.prev=3,n.next=6,t.e(5443).then(t.t.bind(t,46020,23));case 6:return c=n.sent.default,n.next=9,Promise.all([t.e(2655),t.e(7847),t.e(6339)]).then(t.bind(t,91819));case 9:if(l=n.sent,s=l.jsPDF||l.default){n.next=13;break}return n.abrupt("return",!1);case 13:return n.next=15,c(e,{scale:2,backgroundColor:"#ffffff",logging:!1,useCORS:!0,windowWidth:Math.max(e.scrollWidth,900)});case 15:for(u=n.sent,h=new s({unit:"mm",format:"a4",orientation:"portrait"}),d=h.internal.pageSize.getWidth(),m=h.internal.pageSize.getHeight(),g=u.height*d/u.width,v="jpeg"===o.image,p=v?"JPEG":"PNG",b=v?u.toDataURL("image/jpeg",null!==(f=o.quality)&&void 0!==f?f:.9):u.toDataURL("image/png"),y=g,x=0,h.addImage(b,p,
10,0,d,g),y-=m;y>1;)x-=m,h.addPage(),h.addImage(b,p,0,x,d,g),y-=m;return h.save(i.endsWith(".pdf")?i:"".concat(i,".pdf")),n.abrupt("return",!0);case 33:return n.prev=33,n.t0=n.catch(3),n.abrupt("return",!1);case 36:case"end":return n.stop()}}),n,null,[[3,33]])})))).apply(this,arguments)}function p(n){return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0111/g,"d").replace(/\u0110/g,"D").replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-+|-+$/g,"").toLowerCase()}},97815:function(n){n.exports={page:"QuotationToolPage_page__DnrUW",hero:"QuotationToolPage_hero__cu9K0",badge:"QuotationToolPage_badge__WEa3H",title:"QuotationToolPage_title__XtiE4",subtitle:"QuotationToolPage_subtitle__bgCyY",layout:"QuotationToolPage_layout__yttMQ",sidebar:"QuotationToolPage_sidebar__7Ad3j",field:"QuotationToolPage_field__6vTXJ",inputGroup:"QuotationToolPage_inputGroup__ZWvln",schoolCard:"QuotationToolPage_schoolCard__qFns7",schoolName:"QuotationToolPage_schoolName__sHDJE",schoolSub:"QuotationToolPage_schoolSub__6_z0Z",programInfo:"QuotationToolPage_programInfo___IFGR",programRow:"QuotationToolPage_programRow__6_LVB",tags:"QuotationToolPage_tags__jqox9",tag:"QuotationToolPage_tag__J6m6E",main:"QuotationToolPage_main__8sF9t",card:"QuotationToolPage_card__wwoUq",cardHeader:"QuotationToolPage_cardHeader__xvbKb",cardHeaderBlue:"QuotationToolPage_cardHeaderBlue__appX3",cardHeaderPink:"QuotationToolPage_cardHeaderPink__VppLv",cardBody:"QuotationToolPage_cardBody__OlkSA",table:"QuotationToolPage_table__GzfZm",amount:"QuotationToolPage_amount__WK0Gs",amountVnd:"QuotationToolPage_amountVnd__RgcHI",summary:"QuotationToolPage_summary__plpRu",summaryTitle:"QuotationToolPage_summaryTitle__jw7yl",summaryTotal:"QuotationToolPage_summaryTotal__u_5ne",printBtn:"QuotationToolPage_printBtn__FM3vP",sidebarTitle:"QuotationToolPage_sidebarTitle__Apzua",divider:"QuotationToolPage_divider__zyxDa",sectionTitle:"QuotationToolPage_sectionTitle__L8dys",labelRow:"QuotationToolPage_labelRow__es8jy",chip:"QuotationToolPage_chip__Oh0Yh",chip_db:"QuotationToolPage_chip_db__qc2dM",chip_ref:"QuotationToolPage_chip_ref__Lm74R",chip_manual:"QuotationToolPage_chip_manual__mcUgc",segmented:"QuotationToolPage_segmented__xn8qi",segBtn:"QuotationToolPage_segBtn__0Vb3s",segBtnActive:"QuotationToolPage_segBtnActive__xlr29",hint:"QuotationToolPage_hint__TpFzT",linkBtn:"QuotationToolPage_linkBtn__6NbCs",status:"QuotationToolPage_status__tHkip",statusInfo:"QuotationToolPage_statusInfo___It6H",statusOk:"QuotationToolPage_statusOk__XejEO",statusWarn:"QuotationToolPage_statusWarn__p56bU",statusErr:"QuotationToolPage_statusErr__XzPmo",banner:"QuotationToolPage_banner__trEjo",bannerWarn:"QuotationToolPage_bannerWarn__OnqTK",picker:"QuotationToolPage_picker__N6Xjk",pickerSearch:"QuotationToolPage_pickerSearch__4_A_5",pickerCancel:"QuotationToolPage_pickerCancel__vyTtU",pickerValue:"QuotationToolPage_pickerValue__0PoC7",pickerValueName:"QuotationToolPage_pickerValueName__AAMAv",pickerValueSub:"QuotationToolPage_pickerValueSub__kPbg3",pickerChev:"QuotationToolPage_pickerChev__yO0Ag",pickerPanel:"QuotationToolPage_pickerPanel__lfXDA",pickerNote:"QuotationToolPage_pickerNote__vT8kD",pickerItem:"QuotationToolPage_pickerItem__e6gkd",pickerItemOn:"QuotationToolPage_pickerItemOn__Sjd6t",pickerItemName:"QuotationToolPage_pickerItemName__e12QO",pickerItemSub:"QuotationToolPage_pickerItemSub___aZ02",serviceBox:"QuotationToolPage_serviceBox___GGrr",serviceTotal:"QuotationToolPage_serviceTotal__M8moU",tableWrap:"QuotationToolPage_tableWrap__HNQdO",num:"QuotationToolPage_num__iLnzt",rowUnknown:"QuotationToolPage_rowUnknown__RIyhY",rowScholarship:"QuotationToolPage_rowScholarship__8Ofks",rowNet:"QuotationToolPage_rowNet__Tksb6",checkRow:"QuotationToolPage_checkRow__rP0RW",majorWrap:"QuotationToolPage_majorWrap__DiwjN",majorCustom:"QuotationToolPage_majorCustom__A_MgY",subVnd:"QuotationToolPage_subVnd__GROY_",cardHeaderNote:"QuotationToolPage_cardHeaderNote__SoMl6",summaryNote:"QuotationToolPage_summaryNote__B2KA1",summaryGrid:"QuotationToolPage_summaryGrid__GmPhr",summaryLabel:"QuotationToolPage_summaryLabel__U76OD",summaryBreak:"QuotationToolPage_summaryBreak__ZeEOx",summaryTotalSub:"QuotationToolPage_summaryTotalSub__c9r9Z",notes:"QuotationToolPage_notes__j_G84",notesTitle:"QuotationToolPage_notesTitle__80Fm5",sheet:"QuotationToolPage_sheet__hmnWx",shWmFixed:"QuotationToolPage_shWmFixed__DglST",shWmRepeat:"QuotationToolPage_shWmRepeat__kXhim",sheetCapturing:"QuotationToolPage_sheetCapturing__XPl6H",captureBackdrop:"QuotationToolPage_captureBackdrop__SNuXF",shHead:"QuotationToolPage_shHead__aAGQB",shBrand:"QuotationToolPage_shBrand__wbbqW",shLogo:"QuotationToolPage_shLogo__
161EWs",shBrandName:"QuotationToolPage_shBrandName__5lFl3",shBrandLine:"QuotationToolPage_shBrandLine__sITXk",shMeta:"QuotationToolPage_shMeta__p8_vs",shTitleBlock:"QuotationToolPage_shTitleBlock__GmkVZ",shKicker:"QuotationToolPage_shKicker__EXDYH",shTitle:"QuotationToolPage_shTitle__G_530",shSubtitle:"QuotationToolPage_shSubtitle__992pI",shProgram:"QuotationToolPage_shProgram__1FMUX",shInfoGrid:"QuotationToolPage_shInfoGrid__QzljL",shInfoBox:"QuotationToolPage_shInfoBox__cCsT3",shKpis:"QuotationToolPage_shKpis__AltXS",shKpi:"QuotationToolPage_shKpi__5VZlt",shKpiMain:"QuotationToolPage_shKpiMain__gn0_0",shKpiLabel:"QuotationToolPage_shKpiLabel__tLReN",shKpiValue:"QuotationToolPage_shKpiValue__9hcKY",shKpiSub:"QuotationToolPage_shKpiSub__D8hPk",shSection:"QuotationToolPage_shSection__DNkbj",shSectionTitle:"QuotationToolPage_shSectionTitle__kZmJL",shTable:"QuotationToolPage_shTable__q92xR",shSubVnd:"QuotationToolPage_shSubVnd__YNXXW",shRowScholarship:"QuotationToolPage_shRowScholarship__2TlJG",shRowNet:"QuotationToolPage_shRowNet__JxbgG",shColIdx:"QuotationToolPage_shColIdx__p6Lwq",shNum:"QuotationToolPage_shNum__zxsw2",shRowUnknown:"QuotationToolPage_shRowUnknown___eO__",shTotal:"QuotationToolPage_shTotal__oP7Ma",shTotalRow:"QuotationToolPage_shTotalRow__uuaP4",shTotalRowSub:"QuotationToolPage_shTotalRowSub__FoMQ3",shTotalLabel:"QuotationToolPage_shTotalLabel__1TZJQ",shTotalFormula:"QuotationToolPage_shTotalFormula___mRZk",shTotalValue:"QuotationToolPage_shTotalValue__mxPnK",shTotalWarn:"QuotationToolPage_shTotalWarn__lHcjL",shNotes:"QuotationToolPage_shNotes__zFU81",shSign:"QuotationToolPage_shSign__dHn07",shSignTitle:"QuotationToolPage_shSignTitle__c65sn",shSignHint:"QuotationToolPage_shSignHint__i5uua",shSignName:"QuotationToolPage_shSignName__nnaF_",shFoot:"QuotationToolPage_shFoot__IQiDJ",btnRow:"QuotationToolPage_btnRow__Vxutf",btnSecondary:"QuotationToolPage_btnSecondary__xuM9g",photoBody:"QuotationToolPage_photoBody__bEyIo",photoEmpty:"QuotationToolPage_photoEmpty__rN1h6",photoGroupHead:"QuotationToolPage_photoGroupHead__s0EOB",photoGroupTitle:"QuotationToolPage_photoGroupTitle__pQVT_",photoSwap:"QuotationToolPage_photoSwap__GiwRb",photoGrid:"QuotationToolPage_photoGrid__RXUN4",shPhotoPage:"QuotationToolPage_shPhotoPage__xmHXg",shPhotoBlock:"QuotationToolPage_shPhotoBlock__5gbml",shPhotoLabel:"QuotationToolPage_shPhotoLabel__ov_VS",shPhotoGrid:"QuotationToolPage_shPhotoGrid__UL3Tm",shPhotoNote:"QuotationToolPage_shPhotoNote__CAWJB"}},93507:function(n){n.exports={select:"AppSelect_select__CAM4Q",block:"AppSelect_block__vhA3C",trigger:"AppSelect_trigger__0WzDL",chevWrap:"AppSelect_chevWrap__Xjbjk",triggerOpen:"AppSelect_triggerOpen__KT_D0",triggerLg:"AppSelect_triggerLg__fnSCa",value:"AppSelect_value__2tL6C",chev:"AppSelect_chev__tq8Nz",panel:"AppSelect_panel__eExSI",appSelectIn:"AppSelect_appSelectIn__pnt8A",panelRight:"AppSelect_panelRight__tUWd4",opt:"AppSelect_opt__MxScR",optLabel:"AppSelect_optLabel__owNEc",optOn:"AppSelect_optOn__NASoJ",check:"AppSelect_check__udOrq",searchBox:"AppSelect_searchBox__By2xC",noResult:"AppSelect_noResult__WJS6_"}}},function(n){n.O(0,[6281,7555,2256,6422,9774,2888,179],(function(){return e=80560,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
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.