説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

home_screen.dart 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. import 'dart:async';
  2. import 'dart:convert';
  3. import 'dart:typed_data';
  4. import 'package:connectivity_plus/connectivity_plus.dart';
  5. import 'package:double_back_to_close/double_back_to_close.dart';
  6. import 'package:flutter/cupertino.dart';
  7. import 'package:flutter/material.dart';
  8. import 'package:fluttertoast/fluttertoast.dart';
  9. import 'package:focus_detector/focus_detector.dart';
  10. import 'package:google_fonts/google_fonts.dart';
  11. import 'package:hris_selfservice_mobile/Screens/Menu/About/about_screen.dart';
  12. import 'package:hris_selfservice_mobile/Screens/Menu/Absensi/absensi_screen.dart';
  13. import 'package:hris_selfservice_mobile/Screens/Menu/AjukanCuti/ajukancuti_screen.dart';
  14. import 'package:hris_selfservice_mobile/Screens/Menu/Reimburse/reimburse_screen.dart';
  15. import 'package:hris_selfservice_mobile/Screens/Menu/SlipGaji/slipgaji_screen.dart';
  16. import 'package:hris_selfservice_mobile/Screens/Menu/SuratTugas/surattugas_screen.dart';
  17. import 'package:hris_selfservice_mobile/Screens/Settings/settings_screen.dart';
  18. import 'package:lottie/lottie.dart';
  19. import 'package:progress_dialog_null_safe/progress_dialog_null_safe.dart';
  20. import 'package:shared_preferences/shared_preferences.dart';
  21. import 'dart:developer' as logDev;
  22. import '../Settings/RequestHttp/getDetail_post.dart';
  23. import '../Settings/RequestHttp/getProfileImage_post.dart';
  24. import 'package:internet_connection_checker/internet_connection_checker.dart';
  25. var _imageToShow;
  26. late String nameShared;
  27. String name = "",
  28. statusDetail = "",
  29. dateOfBirth = "",
  30. phone = "",
  31. email = "",
  32. address = "",
  33. position = "";
  34. class HomeView extends StatefulWidget {
  35. @override
  36. _HomeView createState() => _HomeView();
  37. }
  38. class _HomeView extends State<HomeView> {
  39. late StreamSubscription subscription;
  40. bool isDeviceConnected = false;
  41. bool isAlertSet = false;
  42. @override
  43. initState() {
  44. getConnectivity();
  45. getDetail();
  46. _imageToShow = AssetImage('assets/images/ic_administrator.png');
  47. WidgetsBinding.instance.addPostFrameCallback((_) async {
  48. getProfileImage();
  49. });
  50. super.initState();
  51. }
  52. getConnectivity() =>
  53. subscription = Connectivity().onConnectivityChanged.listen(
  54. (ConnectivityResult result) async {
  55. isDeviceConnected = await InternetConnectionChecker().hasConnection;
  56. if (!isDeviceConnected && isAlertSet == false) {
  57. showDialogBox();
  58. setState(() => isAlertSet = true);
  59. }
  60. },
  61. );
  62. @override
  63. void dispose() {
  64. subscription.cancel();
  65. super.dispose();
  66. }
  67. //Get Profile image
  68. getProfileImage() async {
  69. final SharedPreferences prefs = await SharedPreferences.getInstance();
  70. final session = prefs.getString('session');
  71. ProgressDialog loading = ProgressDialog(context);
  72. loading = ProgressDialog(context,
  73. type: ProgressDialogType.normal,
  74. isDismissible: false,
  75. showLogs: true);
  76. loading.style(
  77. message: 'Please Wait .....',
  78. borderRadius: 5,
  79. backgroundColor: Colors.white,
  80. progressWidget: CircularProgressIndicator(),
  81. elevation: 10.0,
  82. padding: EdgeInsets.all(10),
  83. insetAnimCurve: Curves.easeInOut,
  84. progress: 0.0,
  85. maxProgress: 100.0,
  86. progressTextStyle: TextStyle(
  87. color: Colors.black, fontSize: 10.0, fontWeight: FontWeight.w400),
  88. messageTextStyle: TextStyle(
  89. color: Colors.black,
  90. fontSize: 15.0,
  91. fontWeight: FontWeight.w600));
  92. loading.show();
  93. GetProfileImage_Post.connectToAPI(session!).then((valueResult) async {
  94. Map<String, dynamic> object = json.decode(valueResult);
  95. if (object.containsKey("result").toString() == "true") {
  96. String status = object['result']['status'].toString();
  97. logDev.log(status, name: "STATUS GET PROFILE");
  98. if (status == "success") {
  99. String photo = object['result']['photo'].toString();
  100. if (photo == "false") {
  101. setState(() {
  102. _imageToShow = AssetImage('assets/images/ic_administrator.png');
  103. });
  104. } else if (photo != "false") {
  105. Uint8List decodedBytes = Base64Decoder().convert(photo);
  106. setState(() {
  107. _imageToShow = Image
  108. .memory(decodedBytes, gaplessPlayback: true)
  109. .image;
  110. });
  111. }
  112. loading.hide();
  113. } else if (status == "failed") {
  114. String message = object['result']['message'].toString();
  115. Fluttertoast.showToast(
  116. msg: message,
  117. toastLength: Toast.LENGTH_LONG,
  118. gravity: ToastGravity.CENTER,
  119. timeInSecForIosWeb: 1,
  120. textColor: Colors.white,
  121. fontSize: 16.0);
  122. }
  123. loading.hide();
  124. } else {
  125. Fluttertoast.showToast(
  126. msg: "Server Response Error",
  127. toastLength: Toast.LENGTH_SHORT,
  128. gravity: ToastGravity.CENTER,
  129. timeInSecForIosWeb: 1,
  130. textColor: Colors.white,
  131. fontSize: 16.0);
  132. loading.hide();
  133. }
  134. });
  135. return _imageToShow;
  136. }
  137. //GetDetail
  138. getDetail() async {
  139. GetDetail_Post.connectToAPI().then((valueResult) async {
  140. Map<String, dynamic> object = json.decode(valueResult);
  141. if (object.containsKey("result").toString() == "true") {
  142. statusDetail = object['result']['status'].toString();
  143. String message = object['result']['message'].toString();
  144. if (statusDetail == "failed" || message == "User Not Found") {
  145. Fluttertoast.showToast(
  146. msg: message + ", Please login again!",
  147. toastLength: Toast.LENGTH_SHORT,
  148. gravity: ToastGravity.CENTER,
  149. timeInSecForIosWeb: 1,
  150. textColor: Colors.white,
  151. fontSize: 16.0);
  152. } else if (statusDetail != "failed") {
  153. name = object['result']['name'].toString();
  154. dateOfBirth = object['result']['date_of_birth'].toString();
  155. phone = object['result']['phone'].toString();
  156. email = object['result']['email'].toString();
  157. address = object['result']['address'].toString();
  158. position = object['result']['position'].toString();
  159. var prefs = await SharedPreferences.getInstance();
  160. await prefs.setString('position', position);
  161. }
  162. } else {
  163. Fluttertoast.showToast(
  164. msg: "Server Response Error",
  165. toastLength: Toast.LENGTH_SHORT,
  166. gravity: ToastGravity.CENTER,
  167. timeInSecForIosWeb: 1,
  168. textColor: Colors.white,
  169. fontSize: 16.0);
  170. }
  171. });
  172. }
  173. @override
  174. Widget build(BuildContext context) {
  175. return MaterialApp(
  176. home: DoubleBack(
  177. /*onFirstBackPress: (context) {
  178. final snackBar = SnackBar(content: Text("Double Back Press to Exit"));
  179. ScaffoldMessenger.of(context).showSnackBar(snackBar);
  180. },*/
  181. message: "Double Back Press to Exit",
  182. background: Colors.black38,
  183. backgroundRadius: 10,
  184. textStyle: TextStyle(
  185. fontSize: 16, fontWeight: FontWeight.bold, color: Colors.white),
  186. child: Scaffold(
  187. resizeToAvoidBottomInset: false,
  188. //backgroundColor: Colors.white,
  189. body: Stack(
  190. children: <Widget>[
  191. //Background(),
  192. HomeScreen(),
  193. ],
  194. )),
  195. ),
  196. );
  197. }
  198. showDialogBox() => showCupertinoDialog<String>(
  199. context: context,
  200. builder: (BuildContext context) => CupertinoAlertDialog(
  201. title: const Text('No Connection'),
  202. content: const Text('Please check your internet connectivity'),
  203. actions: <Widget>[
  204. Column(
  205. children: [
  206. SizedBox(
  207. width: 250,
  208. height: 250,
  209. child: LottieBuilder.asset(
  210. //'assets/animation/animation_no_internet.json',
  211. 'assets/animation/animation_no_internet_3.json',
  212. repeat: true),
  213. ),
  214. ],
  215. ),
  216. TextButton(
  217. onPressed: () async {
  218. Navigator.pop(context, 'Cancel');
  219. setState(() => isAlertSet = false);
  220. isDeviceConnected = await InternetConnectionChecker().hasConnection;
  221. if (!isDeviceConnected && isAlertSet == false) {
  222. showDialogBox();
  223. setState(() => isAlertSet = true);
  224. }
  225. },
  226. child: const Text('Retry'),
  227. ),
  228. ],
  229. ),
  230. );
  231. }
  232. class HomeScreen extends StatefulWidget {
  233. @override
  234. State<HomeScreen> createState() => _HomeScreenState();
  235. }
  236. class _HomeScreenState extends State<HomeScreen> {
  237. //Get Profile image
  238. getProfileImage() async {
  239. final SharedPreferences prefs = await SharedPreferences.getInstance();
  240. final session = prefs.getString('session');
  241. GetProfileImage_Post.connectToAPI(session!).then((valueResult) async {
  242. Map<String, dynamic> object = json.decode(valueResult);
  243. if (object.containsKey("result").toString() == "true") {
  244. String status = object['result']['status'].toString();
  245. logDev.log(status, name: "STATUS GET PROFILE");
  246. if (status == "success") {
  247. String photo = object['result']['photo'].toString();
  248. if (photo == "false") {
  249. setState(() {
  250. _imageToShow = AssetImage('assets/images/ic_administrator.png');
  251. });
  252. } else if (photo != "false") {
  253. Uint8List decodedBytes = Base64Decoder().convert(photo);
  254. //logDev.log(decodedBytes.toString(), name: "DECODED BYTES photo");
  255. setState(() {
  256. _imageToShow = Image.memory(decodedBytes, gaplessPlayback: true).image;
  257. });
  258. }
  259. } else if (status == "failed") {
  260. String message = object['result']['message'].toString();
  261. Fluttertoast.showToast(
  262. msg: message,
  263. toastLength: Toast.LENGTH_LONG,
  264. gravity: ToastGravity.CENTER,
  265. timeInSecForIosWeb: 1,
  266. textColor: Colors.white,
  267. fontSize: 16.0);
  268. }
  269. //loading.hide();
  270. } else {
  271. Fluttertoast.showToast(
  272. msg: "Server Response Error",
  273. toastLength: Toast.LENGTH_SHORT,
  274. gravity: ToastGravity.CENTER,
  275. timeInSecForIosWeb: 1,
  276. textColor: Colors.white,
  277. fontSize: 16.0);
  278. //loading.hide();
  279. }
  280. });
  281. return _imageToShow;
  282. }
  283. @override
  284. Widget build(BuildContext context) {
  285. var size = MediaQuery.of(context).size;
  286. return FocusDetector(
  287. /*onVisibilityGained: (){
  288. getProfileImage();
  289. },
  290. onVisibilityLost: (){
  291. getProfileImage();
  292. },
  293. onFocusLost: (){
  294. getProfileImage();
  295. },*/
  296. onFocusGained: (){
  297. getProfileImage();
  298. },
  299. /* onForegroundLost: (){
  300. getProfileImage();
  301. },
  302. onForegroundGained: (){
  303. getProfileImage();
  304. },*/
  305. child: Scaffold(
  306. body: SingleChildScrollView(
  307. child: Stack(
  308. children: <Widget>[
  309. Container(
  310. height: size.height * 0.3,
  311. decoration: BoxDecoration(
  312. gradient: LinearGradient(
  313. begin: Alignment.topRight,
  314. end: Alignment.bottomRight,
  315. colors: [
  316. Color(0xFF4858A7),
  317. Color(0xFF6474C6),
  318. //Color(0xFF8C99DD),
  319. ])),
  320. ),
  321. SafeArea(
  322. child: Padding(
  323. padding: EdgeInsets.all(20),
  324. child: Column(
  325. children: <Widget>[
  326. Align(
  327. alignment: Alignment.topRight,
  328. child: InkWell(
  329. child: Container(
  330. alignment: Alignment.center,
  331. height: 40,
  332. width: 40,
  333. child: Image.asset('assets/images/ic_settings.png')),
  334. onTap: () {
  335. Navigator.push(
  336. context,
  337. MaterialPageRoute(
  338. builder: (context) => SettingsScreen()));
  339. },
  340. ),
  341. ),
  342. Container(
  343. child: Stack(
  344. alignment: Alignment.topLeft,
  345. children: [
  346. Container(
  347. margin: EdgeInsets.only(top: ((size.width - 20) * 0.33) * 0.5),
  348. child: Card(
  349. elevation: 15,
  350. child: Container(
  351. height: size.width * 0.35,
  352. width: size.width - 20,
  353. padding: EdgeInsets.all(15),
  354. decoration: BoxDecoration(
  355. color: Colors.white,
  356. borderRadius:
  357. BorderRadius.all(Radius.circular(10))),
  358. child: Column(
  359. mainAxisAlignment: MainAxisAlignment.end,
  360. crossAxisAlignment: CrossAxisAlignment.center,
  361. children: <Widget>[
  362. Text(name,
  363. maxLines: 2,
  364. overflow: TextOverflow.ellipsis,
  365. textAlign: TextAlign.center,
  366. style: GoogleFonts.inter(
  367. fontSize: 18,
  368. color: Colors.black,
  369. fontWeight: FontWeight.bold),
  370. ),
  371. Text(position,
  372. textAlign: TextAlign.center,
  373. style: GoogleFonts.inter(
  374. fontSize: 17, color: Colors.black),
  375. ),
  376. ],
  377. )),
  378. ),
  379. ),
  380. Align(
  381. alignment: Alignment.topCenter,
  382. child: Container(
  383. margin: EdgeInsets.only(left: 15),
  384. alignment: Alignment.topLeft,
  385. height: (size.width - 20) * 0.33,
  386. width: (size.width - 20) * 0.33,
  387. decoration: BoxDecoration(
  388. color: Colors.black,
  389. image: DecorationImage(
  390. image: _imageToShow,
  391. fit: BoxFit.fill,
  392. ),
  393. shape: BoxShape.circle,
  394. ),
  395. ),
  396. ),
  397. ],
  398. ),
  399. ),
  400. GridView.count(
  401. shrinkWrap: true,
  402. physics: NeverScrollableScrollPhysics(),
  403. padding: EdgeInsets.only(top: 25, left: 5, right: 5),
  404. crossAxisSpacing: 15,
  405. mainAxisSpacing: 15,
  406. crossAxisCount: 2,
  407. children: <Widget>[
  408. InkWell(
  409. child: Container(
  410. decoration: BoxDecoration(
  411. color: Color(0xFFD0D0D0),
  412. borderRadius: BorderRadius.circular(5)),
  413. child: Column(
  414. crossAxisAlignment: CrossAxisAlignment.center,
  415. mainAxisAlignment: MainAxisAlignment.center,
  416. children: <Widget>[
  417. Container(
  418. width: 75,
  419. height: 75,
  420. child: Image.asset(
  421. "assets/icons/menu/ic_absensi.png",
  422. fit: BoxFit.fill,
  423. alignment: Alignment.center,
  424. ),
  425. ),
  426. Container(
  427. margin: EdgeInsets.only(top: 10),
  428. padding: EdgeInsets.all(5),
  429. child: Text(
  430. 'Attendance',
  431. textAlign: TextAlign.center,
  432. style: GoogleFonts.acme(
  433. fontSize: 18, color: Colors.black),
  434. ),
  435. ),
  436. ],
  437. ),
  438. ),
  439. onTap: () {
  440. Navigator.push(
  441. context,
  442. MaterialPageRoute(
  443. builder: (context) => AbsensiScreen()));
  444. }),
  445. InkWell(
  446. child: Container(
  447. decoration: BoxDecoration(
  448. color: Color(0xFFD0D0D0),
  449. borderRadius: BorderRadius.circular(5)),
  450. child: Column(
  451. crossAxisAlignment: CrossAxisAlignment.center,
  452. mainAxisAlignment: MainAxisAlignment.center,
  453. children: <Widget>[
  454. Container(
  455. width: 75,
  456. height: 75,
  457. child: Image.asset(
  458. "assets/icons/menu/ic_slipgaji_2.png",
  459. fit: BoxFit.fill,
  460. alignment: Alignment.center),
  461. ),
  462. Container(
  463. margin: EdgeInsets.only(top: 10),
  464. padding: EdgeInsets.all(5),
  465. child: Text(
  466. 'Pay Slip',
  467. textAlign: TextAlign.center,
  468. style: GoogleFonts.acme(
  469. fontSize: 18, color: Colors.black),
  470. ),
  471. ),
  472. ],
  473. ),
  474. ),
  475. onTap: () {
  476. Navigator.push(
  477. context,
  478. MaterialPageRoute(
  479. builder: (context) => SlipGajiScreen()));
  480. },
  481. ),
  482. InkWell(
  483. child: Container(
  484. decoration: BoxDecoration(
  485. color: Color(0xFFD0D0D0),
  486. borderRadius: BorderRadius.circular(5)),
  487. child: Column(
  488. crossAxisAlignment: CrossAxisAlignment.center,
  489. mainAxisAlignment: MainAxisAlignment.center,
  490. children: <Widget>[
  491. Container(
  492. width: 70,
  493. height: 70,
  494. child: Image.asset(
  495. "assets/icons/menu/ic_cuti_2.png",
  496. fit: BoxFit.fill,
  497. alignment: Alignment.center),
  498. ),
  499. Container(
  500. margin: EdgeInsets.only(top: 10),
  501. padding: EdgeInsets.all(5),
  502. child: Text(
  503. 'Time Off Submission',
  504. textAlign: TextAlign.center,
  505. style: GoogleFonts.acme(
  506. fontSize: 18, color: Colors.black),
  507. ),
  508. ),
  509. ],
  510. ),
  511. ),
  512. onTap: () {
  513. Navigator.push(
  514. context,
  515. MaterialPageRoute(
  516. builder: (context) => AjukanCutiScreen()));
  517. },
  518. ),
  519. /*InkWell(
  520. child: Container(
  521. decoration: BoxDecoration(
  522. color: Color(0xFFD0D0D0),
  523. borderRadius: BorderRadius.circular(5)),
  524. child: Column(
  525. crossAxisAlignment: CrossAxisAlignment.center,
  526. mainAxisAlignment: MainAxisAlignment.center,
  527. children: <Widget>[
  528. Container(
  529. width: 75,
  530. height: 75,
  531. child: Image.asset(
  532. "assets/icons/menu/ic_menu_berita2.png"),
  533. ),
  534. Container(
  535. margin: EdgeInsets.only(top: 10),
  536. padding: EdgeInsets.all(5),
  537. child: Text(
  538. 'Berita',
  539. textAlign: TextAlign.center,
  540. style: GoogleFonts.acme(
  541. fontSize: 18, color: Colors.black),
  542. ),
  543. ),
  544. ],
  545. ),
  546. ),
  547. onTap: () {
  548. Navigator.push(
  549. context,
  550. MaterialPageRoute(
  551. builder: (context) => BeritaScreen()));
  552. },
  553. ),*/
  554. InkWell(
  555. child: Container(
  556. decoration: BoxDecoration(
  557. color: Color(0xFFD0D0D0),
  558. borderRadius: BorderRadius.circular(5)),
  559. child: Column(
  560. crossAxisAlignment: CrossAxisAlignment.center,
  561. mainAxisAlignment: MainAxisAlignment.center,
  562. children: <Widget>[
  563. Container(
  564. width: 70,
  565. height: 70,
  566. child: Image.asset(
  567. "assets/icons/menu/ic_surattugas_2.png",
  568. fit: BoxFit.fill,
  569. alignment: Alignment.center,
  570. ),
  571. ),
  572. Container(
  573. margin: EdgeInsets.only(top: 10),
  574. padding: EdgeInsets.all(5),
  575. child: Text(
  576. 'Assignment Letter',
  577. textAlign: TextAlign.center,
  578. style: GoogleFonts.acme(
  579. fontSize: 18, color: Colors.black),
  580. ),
  581. ),
  582. ],
  583. ),
  584. ),
  585. onTap: () {
  586. Navigator.push(
  587. context,
  588. MaterialPageRoute(
  589. builder: (context) => SuratTugas_Screen()));
  590. },
  591. ),
  592. InkWell(
  593. child: Container(
  594. decoration: BoxDecoration(
  595. color: Color(0xFFD0D0D0),
  596. borderRadius: BorderRadius.circular(5)),
  597. child: Column(
  598. crossAxisAlignment: CrossAxisAlignment.center,
  599. mainAxisAlignment: MainAxisAlignment.center,
  600. children: <Widget>[
  601. Container(
  602. width: 70,
  603. height: 70,
  604. child: Image.asset(
  605. "assets/icons/menu/ic_reimburse.png",
  606. fit: BoxFit.fill,
  607. alignment: Alignment.center),
  608. ),
  609. Container(
  610. margin: EdgeInsets.only(top: 10),
  611. padding: EdgeInsets.all(5),
  612. child: Text(
  613. 'Reimburse',
  614. textAlign: TextAlign.center,
  615. style: GoogleFonts.acme(
  616. fontSize: 18, color: Colors.black),
  617. ),
  618. ),
  619. ],
  620. ),
  621. ),
  622. onTap: () {
  623. Navigator.push(
  624. context,
  625. MaterialPageRoute(
  626. builder: (context) => ReimburseScreen()));
  627. },
  628. ),
  629. InkWell(
  630. child: Container(
  631. decoration: BoxDecoration(
  632. color: Color(0xFFD0D0D0),
  633. borderRadius: BorderRadius.circular(5)),
  634. child: Column(
  635. crossAxisAlignment: CrossAxisAlignment.center,
  636. mainAxisAlignment: MainAxisAlignment.center,
  637. children: <Widget>[
  638. Container(
  639. width: 70,
  640. height: 70,
  641. child: Image.asset(
  642. "assets/icons/menu/ic_about_3.png",
  643. fit: BoxFit.fill,
  644. alignment: Alignment.center),
  645. ),
  646. Container(
  647. margin: EdgeInsets.only(top: 10),
  648. padding: EdgeInsets.all(5),
  649. child: Text(
  650. 'About',
  651. textAlign: TextAlign.center,
  652. style: GoogleFonts.acme(
  653. fontSize: 18, color: Colors.black),
  654. ),
  655. ),
  656. ],
  657. ),
  658. ),
  659. onTap: () {
  660. Navigator.push(
  661. context,
  662. MaterialPageRoute(
  663. builder: (context) => AboutScreen()));
  664. },
  665. ),
  666. ],
  667. )
  668. ],
  669. ),
  670. ),
  671. ),
  672. ],
  673. ),
  674. )),
  675. );
  676. }
  677. }