{"id":1828,"date":"2024-09-20T17:34:42","date_gmt":"2024-09-20T15:34:42","guid":{"rendered":"https:\/\/newinprague.cz\/?page_id=1828"},"modified":"2025-03-12T06:29:28","modified_gmt":"2025-03-12T05:29:28","slug":"rozcestnik","status":"publish","type":"page","link":"https:\/\/newinprague.cz\/vi\/rozcestnik","title":{"rendered":"H\u01b0\u1edbng d\u1eabn d\u00e0nh cho ng\u01b0\u1eddi n\u01b0\u1edbc ngo\u00e0i m\u1edbi \u0111\u1ebfn"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">H\u00e3y tr\u1ea3 l\u1eddi 5 c\u00e2u h\u1ecfi \u0111\u01a1n gi\u1ea3n v\u00e0 t\u00ecm hi\u1ec3u xem, ngh\u0129a v\u1ee5 c\u1ee7a b\u1ea1n l\u00e0 g\u00ec v\u00e0 b\u1ea1n kh\u00f4ng n\u00ean qu\u00ean nh\u1eefng g\u00ec, n\u1ebfu b\u1ea1n l\u00e0 ng\u01b0\u1eddi n\u01b0\u1edbc ngo\u00e0i \u0111ang s\u1ed1ng t\u1ea1i Praha.<\/p>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-bplugins-custom-html\" id='bPluginsCustomHtml-1'>\n<div id=\"question-container\"><\/div>\n<div class=\"result-box hidden\" id=\"result-box\"><\/div>\n<button id=\"back-button\" class=\"hidden wp-element-button\">Quay l\u1ea1i <\/button>\n<button id=\"reset-button\" class=\"hidden wp-element-button\">B\u1eaft \u0111\u1ea7u l\u1ea1i<\/button>\n<button id=\"next-button\" class=\"hidden wp-element-button\">Ti\u1ebfp theo<\/button>\n\n<script>\n    const results = [];\n    const history = [];\n    const phrases = {\n        welcome_tourist: \"H\u00e3y t\u1eadn h\u01b0\u1edfng k\u1ef3 l\u01b0u tr\u00fa c\u1ee7a b\u1ea1n, b\u1ea1n c\u00f3 th\u1ec3 xem c\u00e1c th\u00f4ng tin v\u1ec1 Praha <a href='https:\/\/newinprague.cz\/vi\/praha' target='_blank'>t\u1ea1i \u0111\u00e2y.<\/a> Ch\u00fang t\u00f4i khuy\u00ean b\u1ea1n n\u00ean truy c\u1eadp trang web <a href='https:\/\/prague.eu' target='_blank'>Prague City Tourism.<\/a>\",\n        \n        registrace_EU_tourist: \"N\u1ebfu b\u1ea1n d\u1ef1 \u0111\u1ecbnh l\u01b0u tr\u00fa l\u00e2u h\u01a1n 30 ng\u00e0y, <a href='https:\/\/www.policie.cz\/clanek\/hlaseni-pobytu-cizincu.aspx' target='_blank'>h\u00e3y b\u00e1o c\u00e1o \u0111\u1ecba ch\u1ec9 c\u1ee7a b\u1ea1n cho c\u1ea3nh s\u00e1t ngo\u1ea1i ki\u1ec1u.<\/a> Ngh\u0129a v\u1ee5 b\u00e1o c\u00e1o n\u01a1i l\u01b0u tr\u00fa cho c\u1ea3nh s\u00e1t kh\u00f4ng li\u00ean quan t\u1edbi b\u1ea1n n\u1ebfu b\u1ea1n \u0111\u00e3 ho\u00e0n th\u00e0nh ngh\u0129a v\u1ee5 n\u00e0y v\u1edbi ch\u1ee7 nh\u00e0.\",\n        \n        registrace_EU: \"<a href='https:\/\/www.policie.cz\/clanek\/hlaseni-pobytu-cizincu.aspx' target='_blank'>H\u00e3y b\u00e1o c\u00e1o \u0111\u1ecba ch\u1ec9 c\u1ee7a b\u1ea1n cho c\u1ea3nh s\u00e1t ngo\u1ea1i ki\u1ec1u<\/a> trong v\u00f2ng 30 ng\u00e0y. Ngh\u0129a v\u1ee5 b\u00e1o c\u00e1o n\u01a1i l\u01b0u tr\u00fa cho c\u1ea3nh s\u00e1t kh\u00f4ng li\u00ean quan t\u1edbi b\u1ea1n n\u1ebfu b\u1ea1n \u0111\u00e3 ho\u00e0n th\u00e0nh ngh\u0129a v\u1ee5 n\u00e0y v\u1edbi ch\u1ee7 nh\u00e0.\",\n        \n        registrace_nonEU_visa: \"<a href='https:\/\/www.policie.cz\/clanek\/hlaseni-pobytu-cizincu.aspx' target='_blank'>H\u00e3y b\u00e1o c\u00e1o \u0111\u1ecba ch\u1ec9 c\u1ee7a b\u1ea1n cho c\u1ea3nh s\u00e1t ngo\u1ea1i ki\u1ec1u<\/a> trong v\u00f2ng 3 ng\u00e0y. Ngh\u0129a v\u1ee5 b\u00e1o c\u00e1o n\u01a1i l\u01b0u tr\u00fa cho c\u1ea3nh s\u00e1t kh\u00f4ng li\u00ean quan t\u1edbi b\u1ea1n n\u1ebfu b\u1ea1n \u0111\u00e3 ho\u00e0n th\u00e0nh ngh\u0129a v\u1ee5 n\u00e0y v\u1edbi ch\u1ee7 nh\u00e0.\",\n        \n        registrace_nonEU_PKP: \"H\u00e3y \u0111\u0103ng k\u00fd, t\u1ee9c b\u00e1o c\u00e1o n\u01a1i c\u01b0 tr\u00fa c\u1ee7a b\u1ea1n tr\u00ean l\u00e3nh th\u1ed5 C\u1ed9ng h\u00f2a S\u00e9c t\u1ea1i v\u0103n ph\u00f2ng B\u1ed9 N\u1ed9i v\u1ee5. N\u1ebfu b\u1ea1n \u0111\u00e3 \u0111\u01b0\u1ee3c c\u1ea5p th\u1ecb th\u1ef1c l\u01b0u tr\u00fa h\u01a1n 90 ng\u00e0y t\u1ea1i \u0111\u1ea1i s\u1ee9 qu\u00e1n \u0111\u1ec3 nh\u1eadn gi\u1ea5y ph\u00e9p c\u01b0 tr\u00fa (D\/VR), h\u00e3y \u0111\u0103ng k\u00fd trong v\u00f2ng 30 ng\u00e0y. N\u1ebfu b\u1ea1n t\u1edbi C\u1ed9ng h\u00f2a S\u00e9c b\u1eb1ng c\u00e1ch kh\u00e1c, h\u00e3y ti\u1ebfn h\u00e0nh vi\u1ec7c \u0111\u0103ng k\u00fd trong v\u00f2ng 3 ng\u00e0y l\u00e0m vi\u1ec7c. \u0110\u1ed3ng th\u1eddi, t\u1ea1i n\u01a1i l\u00e0m vi\u1ec7c c\u1ee7a B\u1ed9 N\u1ed9i v\u1ee5, d\u1eef li\u1ec7u sinh tr\u1eafc h\u1ecdc c\u1ea7n thi\u1ebft c\u0169ng \u0111\u01b0\u1ee3c l\u1ea5y \u0111\u1ec3 c\u1ea5p th\u1ebb c\u01b0 tr\u00fa.\",\n        \n        do: \"<a href='https:\/\/www.policie.cz\/clanek\/hlaseni-pobytu-cizincu.aspx' target='_blank'>H\u00e3y \u0111\u0103ng k\u00fd t\u1ea1i c\u1ea3nh s\u00e1t ngo\u1ea1i ki\u1ec1u<\/a> trong v\u00f2ng 3 ng\u00e0y (n\u1ebfu b\u1ea1n kh\u00f4ng th\u1ef1c hi\u1ec7n ngh\u0129a v\u1ee5 khai b\u00e1o \u0111\u1ecba ch\u1ec9 c\u1ee7a m\u00ecnh cho KACPU). N\u1ed9p \u0111\u01a1n xin b\u1ea3o v\u1ec7 t\u1ea1m th\u1eddi t\u1ea1i KACPU.\",\n        \n        oamp_ZK: \"N\u1ebfu b\u1ea1n quy\u1ebft \u0111\u1ecbnh thay \u0111\u1ed5i c\u00f4ng vi\u1ec7c v\u1edbi t\u01b0 c\u00e1ch l\u00e0 ng\u01b0\u1eddi c\u00f3 th\u1ebb lao \u0111\u1ed9ng ho\u1eb7c th\u1ebb xanh da tr\u1eddi, b\u1ea1n ph\u1ea3i th\u00f4ng b\u00e1o \u0111i\u1ec1u \u0111\u00f3 cho B\u1ed9 N\u1ed9i v\u1ee5. Ng\u01b0\u1eddi c\u00f3 th\u1ebb lao \u0111\u1ed9ng kh\u00f4ng \u0111\u01b0\u1ee3c t\u1ef1 do ti\u1ebfp c\u1eadn th\u1ecb tr\u01b0\u1eddng lao \u0111\u1ed9ng S\u00e9c (xem chi ti\u1ebft t\u1ea1i <a href='https:\/\/ipc.gov.cz\/zivot-v-cesku\/volny-pristup-na-trh-prace\/' target='_blank'>\u0111\u00e2y<\/a>), h\u1ecd ch\u1ec9 c\u00f3 th\u1ec3 b\u1eaft \u0111\u1ea7u c\u00f4ng vi\u1ec7c m\u1edbi sau khi \u0111\u01b0\u1ee3c B\u1ed9 N\u1ed9i v\u1ee5 CH S\u00e9c ch\u1ea5p thu\u1eadn. N\u1ebfu b\u1ea1n quy\u1ebft \u0111\u1ecbnh t\u00ecm m\u1ed9t c\u00f4ng vi\u1ec7c kh\u00e1c (ngay c\u1ea3 khi \u0111\u00f3 ch\u1ec9 l\u00e0 c\u00f4ng vi\u1ec7c b\u00e1n th\u1eddi gian), h\u00e3y t\u01b0 v\u1ea5n v\u1edbi chuy\u00ean gia v\u1ec1 c\u00e1c l\u1ef1a ch\u1ecdn v\u00e0 c\u00e1c b\u01b0\u1edbc b\u1ea1n c\u1ea7n th\u1ef1c hi\u1ec7n.\",\n        \n        work_permit: \"N\u1ebfu b\u1ea1n d\u1ef1 \u0111\u1ecbnh \u0111i l\u00e0m, h\u00e3y ki\u1ec3m tra xem b\u1ea1n c\u00f3 \u0111\u01b0\u1ee3c <a href='https:\/\/ipc.gov.cz\/zivot-v-cesku\/volny-pristup-na-trh-prace\/' target='_blank'>t\u1ef1 do ti\u1ebfp c\u1eadn th\u1ecb tr\u01b0\u1eddng lao \u0111\u1ed9ng<\/a> hay kh\u00f4ng. N\u1ebfu b\u1ea1n kh\u00f4ng \u0111\u01b0\u1ee3c ph\u00e9p, h\u00e3y n\u1ed9p \u0111\u01a1n xin gi\u1ea5y ph\u00e9p t\u1ea1i S\u1edf Lao \u0111\u1ed9ng.\",\n        \n        free_to_work: \"N\u1ebfu b\u1ea1n d\u1ef1 \u0111\u1ecbnh \u0111i l\u00e0m, b\u1ea1n c\u00f3 quy\u1ec1n ti\u1ebfp c\u1eadn th\u1ecb tr\u01b0\u1eddng lao \u0111\u1ed9ng nh\u01b0 c\u00f4ng d\u00e2n S\u00e9c th\u00ec b\u1ea1n kh\u00f4ng c\u1ea7n ph\u1ea3i xin gi\u1ea5y ph\u00e9p lao \u0111\u1ed9ng.\",\n        \n        aik: \"H\u00e3y ki\u1ec3m tra xem b\u1ea1n c\u00f3 ngh\u0129a v\u1ee5 ph\u1ea3i tham gia Kh\u00f3a h\u1ecdc Th\u00edch \u1ee9ng-H\u1ed9i nh\u1eadp hay kh\u00f4ng t\u1ea1i  <a href='https:\/\/aik.icpraha.com\/form\/' target='_blank'>\u0111\u00e2y.<\/a> Trong tr\u01b0\u1eddng h\u1ee3p \u0111i\u1ec1u \u0111\u00f3 l\u00e0 b\u1eaft bu\u1ed9c v\u00e0 b\u1ea1n kh\u00f4ng ho\u00e0n th\u00e0nh n\u00f3 trong v\u00f2ng m\u1ed9t n\u0103m, b\u1ea1n c\u00f3 th\u1ec3 b\u1ecb ph\u1ea1t.\",\n        \n        insurance_TP: \"B\u1ea1n c\u00f3 th\u1ec3 t\u1ef1 \u0111\u1ed9ng ti\u1ebfp c\u1eadn b\u1ea3o hi\u1ec3m y t\u1ebf c\u00f4ng: h\u00e3y \u0111\u1ea3m b\u1ea3o r\u1eb1ng ti\u1ec1n b\u1ea3o hi\u1ec3m lu\u00f4n \u0111\u01b0\u1ee3c b\u1ea1n, ch\u1ee7 lao \u0111\u1ed9ng ho\u1eb7c nh\u00e0 n\u01b0\u1edbc chi tr\u1ea3 (xem <a href='https:\/\/newinprague.cz\/vi\/zdravotnictvi' target='_blank'>Y T\u1ebe<\/a>.\",\n        \n        insurance_ZK: \"L\u00e0 ng\u01b0\u1eddi c\u01b0 tr\u00fa l\u00e2u d\u00e0i tr\u00ean l\u00e3nh th\u1ed5 CH S\u00e9c, b\u1ea1n ph\u1ea3i lu\u00f4n c\u00f3 b\u1ea3o hi\u1ec3m y t\u1ebf. N\u1ebfu b\u1ea1n \u0111i l\u00e0m, ch\u1ee7 lao \u0111\u1ed9ng c\u1ee7a b\u1ea1n c\u00f3 ngh\u0129a v\u1ee5 ph\u1ea3i tr\u1ea3 b\u1ea3o hi\u1ec3m y t\u1ebf c\u00f4ng cho b\u1ea1n. N\u1ebfu b\u1ea1n c\u00f3 kho\u1ea3ng th\u1eddi gian ngh\u1ec9 gi\u1eefa c\u00e1c c\u00f4ng vi\u1ec7c, \u0111\u1eebng qu\u00ean mua b\u1ea3o hi\u1ec3m th\u01b0\u01a1ng m\u1ea1i cho kho\u1ea3ng th\u1eddi gian \u0111\u00f3.\",\n        \n        insurance_other: \"L\u00e0 ng\u01b0\u1eddi c\u01b0 tr\u00fa l\u00e2u d\u00e0i tr\u00ean l\u00e3nh th\u1ed5 CH S\u00e9c, b\u1ea1n ph\u1ea3i lu\u00f4n c\u00f3 b\u1ea3o hi\u1ec3m y t\u1ebf h\u1ee3p l\u1ec7. N\u1ebfu b\u1ea1n c\u00f3 b\u1ea3o hi\u1ec3m y t\u1ebf c\u00f4ng, ti\u1ec1n b\u1ea3o hi\u1ec3m ph\u1ea3i \u0111\u01b0\u1ee3c thanh to\u00e1n h\u00e0ng th\u00e1ng (xem <a href='https:\/\/newinprague.cz\/vi\/zdravotnictvi' target='_blank'>Y T\u1ebe<\/a>. N\u1ebfu b\u1ea1n kh\u00f4ng \u0111\u1ee7 \u0111i\u1ec1u ki\u1ec7n tham gia b\u1ea3o hi\u1ec3m c\u00f4ng, h\u00e3y mua b\u1ea3o hi\u1ec3m y t\u1ebf th\u01b0\u01a1ng m\u1ea1i to\u00e0n th\u1eddi gian. Th\u00f4ng tin th\u00eam v\u1ec1 vi\u1ec7c ti\u1ebfp c\u1eadn b\u1ea3o hi\u1ec3m y t\u1ebf c\u00f4ng c\u1ed9ng c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c t\u00ecm th\u1ea5y \u1edf <a href='https:\/\/en.vzp.cz\/information\/healthcare-for-foreigners' target='_blank'>\u0111\u00e2y.<\/a>\",\n        \n        osvc: \"L\u00e0 m\u1ed9t doanh nh\u00e2n, b\u1ea1n c\u00f3 ngh\u0129a v\u1ee5 n\u1ed9p t\u1edd khai thu\u1ebf h\u00e0ng n\u0103m cho S\u1edf thu\u1ebf v\u00e0 b\u1ea3ng t\u1ed5ng k\u1ebft thu chi cho C\u1ee5c qu\u1ea3n l\u00fd An sinh X\u00e3 h\u1ed9i S\u00e9c v\u00e0 c\u00f4ng ty b\u1ea3o hi\u1ec3m (n\u1ebfu b\u1ea1n l\u00e0 ng\u01b0\u1eddi tham gia b\u1ea3o hi\u1ec3m y t\u1ebf c\u00f4ng). B\u1ea1n c\u00f3 ngh\u0129a v\u1ee5 \u0111\u00f3ng b\u1ea3o hi\u1ec3m x\u00e3 h\u1ed9i v\u00e0 b\u1ea3o hi\u1ec3m y t\u1ebf t\u00f9y t\u1eebng tr\u01b0\u1eddng h\u1ee3p c\u1ee5 th\u1ec3.\",\n        \n        psd: \"N\u1ebfu con b\u1ea1n t\u1eeb 5 \u0111\u1ebfn 17 tu\u1ed5i v\u00e0 ch\u01b0a ho\u00e0n th\u00e0nh 9 n\u0103m ti\u1ec3u h\u1ecdc, b\u1ea1n c\u00f3 ngh\u0129a v\u1ee5 \u0111\u0103ng k\u00fd cho con \u0111i h\u1ecdc, xem <a href='https:\/\/newinprague.cz\/vi\/vzdelavani' target='_blank'>GI\u00c1O D\u1ee4C.<\/a>\",\n        \n        pediatritian: \"\u0110\u1eebng qu\u00ean \u0111\u0103ng k\u00fd b\u00e1c s\u0129 \u0111a khoa cho con b\u1ea1n, xem <a href='https:\/\/newinprague.cz\/vi\/zdravotnictvi' target='_blank'>Y T\u1ebe<\/a>.\",\n        \n        gp: \"Ch\u00fang t\u00f4i khuy\u00ean b\u1ea1n n\u00ean t\u00ecm b\u00e1c s\u0129 \u0111a khoa v\u00e0 c\u00e1c chuy\u00ean gia kh\u00e1c m\u00e0 b\u1ea1n c\u00f3 th\u1ec3 c\u1ea7n s\u1edbm nh\u1ea5t c\u00f3 th\u1ec3, xem <a href='https:\/\/newinprague.cz\/vi\/zdravotnictvi' target='_blank'>Y T\u1ebe<\/a>.\",\n        \n        changes: \"B\u1ea1n ph\u1ea3i b\u00e1o c\u00e1o m\u1ecdi thay \u0111\u1ed5i v\u1ec1 \u0111\u1ecba ch\u1ec9, t\u00ean, h\u1ed9 chi\u1ebfu ho\u1eb7c t\u00ecnh tr\u1ea1ng h\u00f4n nh\u00e2n c\u0169ng nh\u01b0 c\u00e1c d\u1eef li\u1ec7u kh\u00e1c \u0111\u01b0\u1ee3c n\u00eau trong gi\u1ea5y ph\u00e9p c\u01b0 tr\u00fa cho B\u1ed9 N\u1ed9i v\u1ee5 CH S\u00e9c, xem t\u1ea1i <a href='https:\/\/ipc.gov.cz\/povinnosti-cizincu\/' target='_blank'>\u0111\u00e2y<\/a>.\",\n        \n        czech_courses: \"Bi\u1ebft ti\u1ebfng S\u00e9c s\u1ebd khi\u1ebfn cu\u1ed9c s\u1ed1ng c\u1ee7a b\u1ea1n \u1edf Praha tho\u1ea3i m\u00e1i h\u01a1n r\u1ea5t nhi\u1ec1u. H\u00e3y xem c\u00e1c kh\u1ea3 n\u0103ng d\u1ea1y ti\u1ebfng S\u00e9c <a href='https:\/\/newinprague.cz\/vi\/kurzy-ceskeho-jazyka' target='_blank'>T\u1ea0I \u0110\u00c2Y<\/a>.\"\n    };\n\n    const questions = [\n        {\n            text: \"B\u1ea1n c\u00f3 qu\u1ed1c t\u1ecbch g\u00ec?\",\n            answers: [\n                { text: \"T\u00f4i l\u00e0 c\u00f4ng d\u00e2n EU\", next: \"question2_1\" },\n                { text: \"T\u00f4i l\u00e0 c\u00f4ng d\u00e2n c\u1ee7a m\u1ed9t qu\u1ed1c gia ngo\u00e0i EU\", next: \"question2_2\" },\n                { text: \"T\u00f4i l\u00e0 c\u00f4ng d\u00e2n c\u1ee7a n\u01b0\u1edbc th\u1ee9 ba c\u01b0 tr\u00fa t\u1ea1i \u0111\u00e2y v\u1edbi t\u01b0 c\u00e1ch l\u00e0 th\u00e0nh vi\u00ean gia \u0111\u00ecnh c\u1ee7a m\u1ed9t c\u00f4ng d\u00e2n EU\", next: \"question2_3\" },\n            ]\n        },\n        {\n            id: \"question2_1\",\n            text: \"B\u1ea1n d\u1ef1 \u0111\u1ecbnh\/c\u00f3 h\u00ecnh th\u1ee9c c\u01b0 tr\u00fa n\u00e0o \u1edf CH S\u00e9c?\",\n            answers: [\n                { text: \"t\u00f4i l\u00e0 kh\u00e1ch du l\u1ecbch\", results: [\"welcome_tourist\", \"registrace_EU_tourist\"], showResults: true },\n                { text: \"T\u00f4i l\u00e0 c\u00f4ng d\u00e2n EU s\u1ed1ng t\u1ea1i CH S\u00e9c trong m\u1ed9t th\u1eddi gian d\u00e0i m\u00e0 kh\u00f4ng c\u00f3 gi\u1ea5y ch\u1ee9ng nh\u1eadn \u0111\u0103ng k\u00fd\", next: \"question4_3\", results: [\"registrace_EU\"] },\n                { text: \"gi\u1ea5y ch\u1ee9ng nh\u1eadn \u0111\u0103ng k\u00fd c\u1ee7a c\u00f4ng d\u00e2n EU\", next: \"question4_3\", results: [\"registrace_EU\"] },\n                { text: \"th\u01b0\u1eddng tr\u00fa\", next: \"question4_3\", results: [\"registrace_EU\", \"insurance_TP\"] },\n                { text: \"kh\u00e1c\", next: \"question4_3\", results: [\"registrace_EU\"] },\n            ]\n        },\n        {\n            id: \"question2_2\",\n            text: \"B\u1ea1n d\u1ef1 \u0111\u1ecbnh\/c\u00f3 h\u00ecnh th\u1ee9c c\u01b0 tr\u00fa n\u00e0o \u1edf CH S\u00e9c?\",\n            answers: [\n                { text: \"t\u00f4i l\u00e0 kh\u00e1ch du l\u1ecbch\", results: [\"welcome_tourist\", \"registrace_nonEU_visa\"], showResults: true },\n                { text: \"th\u1ecb th\u1ef1c d\u00e0i h\u1ea1n\", next: \"question4_2\", results: [\"registrace_nonEU_visa\"] },\n                { text: \"th\u1ebb lao \u0111\u1ed9ng ho\u1eb7c th\u1ebb xanh (da tr\u1eddi)\", next: \"question3_1\", results: [\"registrace_nonEU_PKP\", \"insurance_ZK\", \"oamp_ZK\"] },\n                { text: \"c\u01b0 tr\u00fa d\u00e0i h\u1ea1n kh\u00e1c ngo\u00e0i th\u1ebb lao \u0111\u1ed9ng ho\u1eb7c th\u1ebb xanh da tr\u1eddi\", next: \"question3_2\", results: [\"registrace_nonEU_PKP\"] },\n                { text: \"\u0111\u01b0\u1ee3c c\u1ea5p b\u1ea3o v\u1ec7 qu\u1ed1c t\u1ebf\", next: \"question4_3\", results: [\"registrace_nonEU_PKP\", \"insurance_TP\"] },\n                { text: \"b\u1ea3o v\u1ec7 t\u1ea1m th\u1eddi\", next: \"question4_3\", results: [\"do\", \"insurance_TP\"] },\n                { text: \"th\u01b0\u1eddng tr\u00fa\", next: \"question3_3\", results: [\"registrace_nonEU_PKP\", \"insurance_TP\"] },\n                { text: \"kh\u00e1c\", next: \"question3_2\", results: [\"registrace_nonEU_PKP\"] },\n            ]\n        },\n        {\n            id: \"question2_3\",\n            text: \"B\u1ea1n d\u1ef1 \u0111\u1ecbnh\/c\u00f3 h\u00ecnh th\u1ee9c c\u01b0 tr\u00fa n\u00e0o \u1edf CH S\u00e9c?\",\n            answers: [\n                { text: \"t\u00f4i l\u00e0 kh\u00e1ch du l\u1ecbch\", results: [\"welcome_tourist\", \"registrace_EU_tourist\"], showResults: true },\n                { text: \"gi\u1ea5y ph\u00e9p t\u1ea1m tr\u00fa cho th\u00e0nh vi\u00ean gia \u0111\u00ecnh c\u1ee7a c\u00f4ng d\u00e2n EU\", next: \"question4_3\", results: [\"registrace_EU\"] },\n                { text: \"th\u01b0\u1eddng tr\u00fa\", next: \"question4_3\", results: [\"registrace_EU\", \"insurance_TP\"] },\n                { text: \"kh\u00e1c\", next: \"question4_2\", results: [\"registrace_EU\"] },\n            ]\n        },\n        {\n            id: \"question3_1\",\n            text: \"B\u1ea1n nh\u1eadn \u0111\u01b0\u1ee3c th\u1ebb c\u01b0 tr\u00fa \u0111\u1ea7u ti\u00ean sau ng\u00e0y 1. 1. 2021?\",\n            answers: [\n                { text: \"c\u00f3\", next: \"question4_1\", results: [\"aik\"] },\n                { text: \"kh\u00f4ng\", next: \"question4_1\" },\n            ]\n        },\n        {\n            id: \"question3_2\",\n            text: \"B\u1ea1n nh\u1eadn \u0111\u01b0\u1ee3c th\u1ebb c\u01b0 tr\u00fa \u0111\u1ea7u ti\u00ean sau ng\u00e0y 1. 1. 2021?\",\n            answers: [\n                { text: \"c\u00f3\", next: \"question4_2\", results: [\"aik\"] },\n                { text: \"kh\u00f4ng\", next: \"question4_2\" },\n            ]\n        },\n        {\n            id: \"question3_3\",\n            text: \"B\u1ea1n nh\u1eadn \u0111\u01b0\u1ee3c th\u1ebb c\u01b0 tr\u00fa \u0111\u1ea7u ti\u00ean sau ng\u00e0y 1. 1. 2021?\",\n            answers: [\n                { text: \"c\u00f3\", next: \"question4_3\", results: [\"aik\"] },\n                { text: \"kh\u00f4ng\", next: \"question4_3\" },\n            ]\n        },\n        {\n            id: \"question4_1\",\n            text: \"B\u1ea1n c\u00f3 ho\u1eb7c \u0111ang d\u1ef1 \u0111\u1ecbnh xin gi\u1ea5y ph\u00e9p kinh doanh?\",\n            answers: [\n                { text: \"c\u00f3\", next: \"question5\", results: [\"osvc\"] },\n                { text: \"kh\u00f4ng\", next: \"question5\" },\n            ]\n        },\n        {\n            id: \"question4_2\",\n            text: \"B\u1ea1n c\u00f3 ho\u1eb7c \u0111ang d\u1ef1 \u0111\u1ecbnh xin vi\u1ec7c l\u00e0m ho\u1eb7c gi\u1ea5y ph\u00e9p kinh doanh?\",\n            answers: [\n                { text: \"c\u00f4ng vi\u1ec7c, vi\u1ec7c l\u00e0m\", next: \"question5\", results: [\"work_permit\"], isCheckbox: true },\n                { text: \"gi\u1ea5y ph\u00e9p kinh doanh\", next: \"question5\", results: [\"osvc\"], isCheckbox: true },\n                { text: \"l\u00e0m th\u00eam (DPP - th\u1ecfa thu\u1eadn gia c\u00f4ng, DP\u010c - th\u1ecfa thu\u1eadn lao \u0111\u1ed9ng)\", next: \"question5\", results: [\"work_permit\"], isCheckbox: true },\n            ]\n        },\n        {\n            id: \"question4_3\",\n            text: \"B\u1ea1n c\u00f3 ho\u1eb7c \u0111ang d\u1ef1 \u0111\u1ecbnh xin vi\u1ec7c l\u00e0m ho\u1eb7c gi\u1ea5y ph\u00e9p kinh doanh?\",\n            answers: [\n                { text: \"c\u00f4ng vi\u1ec7c, vi\u1ec7c l\u00e0m\", next: \"question5\", results: [\"free_to_work\"], isCheckbox: true },\n                { text: \"gi\u1ea5y ph\u00e9p kinh doanh\", next: \"question5\", results: [\"osvc\"], isCheckbox: true },\n                { text: \"l\u00e0m th\u00eam (DPP - th\u1ecfa thu\u1eadn gia c\u00f4ng, DP\u010c - th\u1ecfa thu\u1eadn lao \u0111\u1ed9ng)\", next: \"question5\", results: [\"free_to_work\"], isCheckbox: true },\n            ]\n        },\n        {\n            id: \"question5\",\n            text: \"B\u1ea1n c\u00f3 con nh\u1ecf (v\u1ecb th\u00e0nh ni\u00ean)?\",\n            answers: [\n                { text: \"c\u00f3\", results: [\"psd\", \"pediatritian\", \"gp\", \"insurance_other\", \"changes\", \"czech_courses\"], showResults: true },\n                { text: \"kh\u00f4ng\", results: [\"gp\", \"insurance_other\", \"changes\", \"czech_courses\"], showResults: true },\n            ]\n        }\n    ];\n\n    let currentQuestionIndex = 0;\n    let currentResults = [];\n\n    function showQuestion(index) {\n        const questionContainer = document.getElementById('question-container');\n        questionContainer.innerHTML = '';\n\n        const question = questions[index];\n        const questionElement = document.createElement('div');\n        questionElement.innerHTML = `<h3>${question.text}<\/h3>`;\n        \n        question.answers.forEach((answer, answerIndex) => {\n            const label = document.createElement('label');\n            const input = document.createElement('input');\n            \n            if (answer.isCheckbox) {\n                input.type = 'checkbox';\n                input.name = 'answer';\n                input.value = answer.text;\n                input.id = `answer${answerIndex}`;\n            } else {\n                input.type = 'radio';\n                input.name = 'answer';\n                input.value = answer.text;\n                input.id = `answer${answerIndex}`;\n            }\n\n            label.appendChild(input);\n            label.appendChild(document.createTextNode(answer.text));\n            questionElement.appendChild(label);\n        });\n\n        questionContainer.appendChild(questionElement);\n        document.getElementById('next-button').classList.remove('hidden');\n        document.getElementById('back-button').classList.toggle('hidden', index === 0); \/\/ Hide back button on first question\n    }\n\n    document.getElementById('next-button').addEventListener('click', () => {\n        const question = questions[currentQuestionIndex];\n\n        if (question.answers.some(answer => answer.isCheckbox)) {\n            const selectedAnswers = document.querySelectorAll('input[name=\"answer\"]:checked');\n            selectedAnswers.forEach(selectedAnswer => {\n                const answer = question.answers.find(a => a.text === selectedAnswer.value);\n                if (answer) {\n                    currentResults.push(...(answer.results || []));\n                }\n            });\n\n            history.push(currentQuestionIndex);\n            currentQuestionIndex = questions.findIndex(q => q.id === question.answers[0].next); \/\/ Move to the next question\n            showQuestion(currentQuestionIndex);\n        } else {\n            const selectedAnswer = document.querySelector('input[name=\"answer\"]:checked');\n            if (selectedAnswer) {\n                const answer = question.answers.find(a => a.text === selectedAnswer.value);\n                if (answer) {\n                    currentResults.push(...(answer.results || []));\n                    history.push(currentQuestionIndex);\n                    if (answer.next) {\n                        currentQuestionIndex = questions.findIndex(q => q.id === answer.next);\n                        showQuestion(currentQuestionIndex);\n                    } else if (answer.showResults) {\n                        showResults();\n                    } else {\n                        currentQuestionIndex++;\n                        showQuestion(currentQuestionIndex);\n                    }\n                }\n            }\n        }\n    });\n\n    document.getElementById('back-button').addEventListener('click', () => {\n        if (history.length > 0) {\n            currentQuestionIndex = history.pop();\n            showQuestion(currentQuestionIndex);\n        }\n    });\n\nfunction showResults() {\n    const resultBox = document.getElementById('result-box');\n    const questionContainer = document.getElementById('question-container');\n\n    \/\/ Odstranit duplicity a udr\u017eet jen jeden v\u00fdsledek t\u00fdkaj\u00edc\u00ed se poji\u0161t\u011bn\u00ed\n    const uniqueResults = [...new Set(currentResults)];\n\n    if (uniqueResults.includes(\"insurance_TP\") || uniqueResults.includes(\"insurance_ZK\")) {\n        const index = uniqueResults.indexOf(\"insurance_other\");\n        if (index !== -1) {\n            uniqueResults.splice(index, 1); \/\/ Odstra\u0148 \"insurance_other\", pokud u\u017e m\u00e1me TP nebo ZK\n        }\n    }\n\n        \/\/ Vytvo\u0159en\u00ed HTML pro v\u00fdsledky jako bullet list\n        resultBox.innerHTML = '<b>Nh\u1eefng g\u00ec b\u1ea1n ph\u1ea3i l\u00e0m sau khi chuy\u1ec3n \u0111\u1ebfn Praha...<\/b><ul class= \"check-list\">' + \n        uniqueResults.map(result => `<li>${phrases[result]}<\/li>`).join('') + \n        '<\/ul>';\n    resultBox.classList.remove('hidden');\n    \n    \/\/ Skryj ot\u00e1zky, kdy\u017e se zobraz\u00ed v\u00fdsledky\n    questionContainer.classList.add('hidden');\n    \n    document.getElementById('next-button').classList.add('hidden');\n    document.getElementById('back-button').classList.add('hidden');\n    document.getElementById('reset-button').classList.remove('hidden');\n}\n\ndocument.getElementById('reset-button').addEventListener('click', () => {\n    currentQuestionIndex = 0;\n    currentResults = [];\n    history.length = 0;\n    \n    const resultBox = document.getElementById('result-box');\n    const questionContainer = document.getElementById('question-container');\n    \n    resultBox.classList.add('hidden');\n    document.getElementById('reset-button').classList.add('hidden');\n    \n    \/\/ Zobraz\u00ed kontejner s ot\u00e1zkami po resetu\n    questionContainer.classList.remove('hidden');\n\n    showQuestion(currentQuestionIndex);\n});\nshowQuestion(currentQuestionIndex);\n\nfunction toggleNextButton() {\n    const question = questions[currentQuestionIndex];\n    const nextButton = document.getElementById('next-button');\n\n    \/\/ Umo\u017enit pokra\u010dov\u00e1n\u00ed bez v\u00fdb\u011bru pro question4_2 a question4_3\n    if (question.id === 'question4_2' || question.id === 'question4_3') {\n        nextButton.classList.remove('disabled');\n        return;\n    }\n\n    \/\/ Kontrola, zda je vybr\u00e1na odpov\u011b\u010f (radio nebo alespo\u0148 jeden checkbox)\n    const isAnySelected = question.answers.some(answer => {\n        if (answer.isCheckbox) {\n            return document.querySelector('input[name=\"answer\"]:checked');\n        } else {\n            return document.querySelector('input[name=\"answer\"]:checked') !== null;\n        }\n    });\n\n    \/\/ P\u0159idejte nebo odeberte t\u0159\u00eddu 'disabled' podle stavu v\u00fdb\u011bru\n    if (isAnySelected) {\n        nextButton.classList.remove('disabled');\n    } else {\n        nextButton.classList.add('disabled');\n    }\n}\n\n\/\/ Aktualizace zobrazen\u00ed ot\u00e1zky tak, aby volala toggleNextButton p\u0159i ka\u017ed\u00e9m zobrazen\u00ed ot\u00e1zky\nfunction showQuestion(index) {\n    const questionContainer = document.getElementById('question-container');\n    questionContainer.innerHTML = '';\n\n    const question = questions[index];\n    const questionElement = document.createElement('div');\n    questionElement.innerHTML = `<h3>${question.text}<\/h3>`;\n\n    question.answers.forEach((answer, answerIndex) => {\n        const label = document.createElement('label');\n        const input = document.createElement('input');\n        \n        if (answer.isCheckbox) {\n            input.type = 'checkbox';\n            input.name = 'answer';\n            input.value = answer.text;\n            input.id = `answer${answerIndex}`;\n        } else {\n            input.type = 'radio';\n            input.name = 'answer';\n            input.value = answer.text;\n            input.id = `answer${answerIndex}`;\n        }\n\n        \/\/ Ka\u017ed\u00fd input listener k vol\u00e1n\u00ed toggleNextButton\n        input.addEventListener('change', toggleNextButton);\n\n        label.appendChild(input);\n        label.appendChild(document.createTextNode(answer.text));\n        questionElement.appendChild(label);\n    });\n\n    if (question.id === 'question4_2' || question.id === 'question4_3') {\n        const caption = document.createElement('p');\n        caption.innerText = 'N\u1ebfu kh\u00f4ng, nh\u1ea5p v\u00e0o \"ti\u1ebfp theo\".';\n        questionElement.appendChild(caption);\n    }\n  \n    questionContainer.appendChild(questionElement);\n    document.getElementById('next-button').classList.remove('hidden');\n    document.getElementById('back-button').classList.toggle('hidden', index === 0);\n    \n    toggleNextButton(); \/\/ Aktualizujte stav tla\u010d\u00edtka p\u0159i na\u010dten\u00ed ot\u00e1zky\n}\n\n<\/script>\n\n<style>\n        .hidden { display: none; }\n        .result-box { background-color: var(--wp--preset--color--accent-2); padding: 1.5rem; border-radius: 1rem; }\n        input[type=\"radio\"], input[type=\"checkbox\"] {\n            accent-color: var(--wp--preset--color--accent-3);\n            margin-right: 1rem;\n        }\n        .next-btn { margin-left: 1rem; }\n<\/style><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>H\u00e3y tr\u1ea3 l\u1eddi 5 c\u00e2u h\u1ecfi \u0111\u01a1n gi\u1ea3n v\u00e0 t\u00ecm hi\u1ec3u xem, ngh\u0129a v\u1ee5 c\u1ee7a b\u1ea1n l\u00e0 g\u00ec v\u00e0 b\u1ea1n kh\u00f4ng n\u00ean qu\u00ean nh\u1eefng g\u00ec, n\u1ebfu b\u1ea1n l\u00e0 ng\u01b0\u1eddi n\u01b0\u1edbc ngo\u00e0i \u0111ang s\u1ed1ng t\u1ea1i Praha.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1828","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/pages\/1828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/comments?post=1828"}],"version-history":[{"count":6,"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/pages\/1828\/revisions"}],"predecessor-version":[{"id":2628,"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/pages\/1828\/revisions\/2628"}],"wp:attachment":[{"href":"https:\/\/newinprague.cz\/vi\/wp-json\/wp\/v2\/media?parent=1828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}