From 6c6f78c18bb36b447ee86126503dfd58f64f79a0 Mon Sep 17 00:00:00 2001 From: fantsyrdr89 Date: Thu, 19 Jan 2017 12:28:25 -0500 Subject: [PATCH] Add files via upload --- BankAccount/BankAccount.html | 12 + BankAccount/BankAccount.iml | 17 ++ BankAccount/pom.xml | 20 ++ .../java/armstrong/alexandra/AccountType.java | 6 + .../java/armstrong/alexandra/BankAccount.java | 194 ++++++++++++++ .../java/armstrong/alexandra/Overdraft.java | 6 + .../main/java/armstrong/alexandra/Status.java | 6 + .../armstrong/alexandra/BankAccountTest.java | 237 ++++++++++++++++++ .../armstrong/alexandra/AccountType.class | Bin 0 -> 1156 bytes .../armstrong/alexandra/BankAccount.class | Bin 0 -> 5568 bytes .../armstrong/alexandra/Overdraft.class | Bin 0 -> 1040 bytes .../classes/armstrong/alexandra/Status.class | Bin 0 -> 1011 bytes .../armstrong/alexandra/BankAccountTest.class | Bin 0 -> 6685 bytes 13 files changed, 498 insertions(+) create mode 100644 BankAccount/BankAccount.html create mode 100644 BankAccount/BankAccount.iml create mode 100644 BankAccount/pom.xml create mode 100644 BankAccount/src/main/java/armstrong/alexandra/AccountType.java create mode 100644 BankAccount/src/main/java/armstrong/alexandra/BankAccount.java create mode 100644 BankAccount/src/main/java/armstrong/alexandra/Overdraft.java create mode 100644 BankAccount/src/main/java/armstrong/alexandra/Status.java create mode 100644 BankAccount/src/test/java/armstrong/alexandra/BankAccountTest.java create mode 100644 BankAccount/target/classes/armstrong/alexandra/AccountType.class create mode 100644 BankAccount/target/classes/armstrong/alexandra/BankAccount.class create mode 100644 BankAccount/target/classes/armstrong/alexandra/Overdraft.class create mode 100644 BankAccount/target/classes/armstrong/alexandra/Status.class create mode 100644 BankAccount/target/test-classes/armstrong/alexandra/BankAccountTest.class diff --git a/BankAccount/BankAccount.html b/BankAccount/BankAccount.html new file mode 100644 index 0000000..539b860 --- /dev/null +++ b/BankAccount/BankAccount.html @@ -0,0 +1,12 @@ + + + + +BankAccount + + + +
+ + + diff --git a/BankAccount/BankAccount.iml b/BankAccount/BankAccount.iml new file mode 100644 index 0000000..03320bd --- /dev/null +++ b/BankAccount/BankAccount.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/BankAccount/pom.xml b/BankAccount/pom.xml new file mode 100644 index 0000000..d3e3c02 --- /dev/null +++ b/BankAccount/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + armstrong.alexandra + BankAccount + 1.0-SNAPSHOT + + + + junit + junit + 4.12 + + + + + \ No newline at end of file diff --git a/BankAccount/src/main/java/armstrong/alexandra/AccountType.java b/BankAccount/src/main/java/armstrong/alexandra/AccountType.java new file mode 100644 index 0000000..a3a1fb9 --- /dev/null +++ b/BankAccount/src/main/java/armstrong/alexandra/AccountType.java @@ -0,0 +1,6 @@ +package armstrong.alexandra; + +/** + * Created by alexandraarmstrong on 1/17/17. + */ +public enum AccountType {CHECKING, SAVINGS, INVESTMENT, IRA, MONEY_MARKET} diff --git a/BankAccount/src/main/java/armstrong/alexandra/BankAccount.java b/BankAccount/src/main/java/armstrong/alexandra/BankAccount.java new file mode 100644 index 0000000..6bb1b1f --- /dev/null +++ b/BankAccount/src/main/java/armstrong/alexandra/BankAccount.java @@ -0,0 +1,194 @@ +package armstrong.alexandra; + +import java.io.*; + +import static armstrong.alexandra.Status.*; +import static armstrong.alexandra.AccountType.*; +import static armstrong.alexandra.Overdraft.*; + +/** + * Created by alexandraarmstrong on 1/17/17. + */ +public class BankAccount { + private final static int ROUTERNUMBER = 1234567; + private static int accountCounter = 0; + + private AccountType accountType; + private long accountNumber; + private double balance = 0; + private String accountHolderName; + private double interestRate = 1.00d; + private Status status = CLOSED; + private Overdraft overdraft = DISABLED; + //private File record; + + BankAccount(AccountType accountType, String accountHolderName){ + this.accountType = accountType; + this.accountHolderName = accountHolderName; + accountCounter++; + accountNumber = Integer.valueOf(String.valueOf(ROUTERNUMBER) + String.valueOf(accountCounter)); + status = OPEN; + } + + BankAccount(AccountType accountType, String accountHolderName, Overdraft overdraft){ + this(accountType, accountHolderName); + this.overdraft = overdraft; + } + + BankAccount(AccountType accountType, String accountHolderName, double interestRate){ + this(accountType, accountHolderName); + this.interestRate = interestRate; + } + + BankAccount(AccountType accountType, String accountHolderName, double interestRate, Overdraft overdraft){ + this(accountType, accountHolderName, overdraft); + this.interestRate = interestRate; + } + + + public AccountType getAccountType(){ + return accountType; + } + + public long getAccountNumber(){ + return accountNumber; + } + + public Double getBalance(){ + if (status == FROZEN) { + return null; + } else { + return balance; + } + } + + public String getAccountHolderName(){ + return accountHolderName; + } + + public double getInterestRate(){ + return interestRate; + } + + public Status getStatus(){ + return status; + } + + public Overdraft getOverdraft() { + return overdraft; + } + + public void setOverdraft(Overdraft overdraft){ + this.overdraft = overdraft; + } + + public void setInterestRate(double interestRate){ + this.interestRate = interestRate; + writeToFileChangeInterestRate(); + } + + protected void setStatus(Status status){ + this.status = status; + writeToFileChangeStatus(); + } + + public String changeBalance(double amount) { + if (status == OPEN) { + if (overdraft == ENABLED) { + if (amount > 0 || amount > getBalance()) { + balance += amount; + writeToFileChangeBalance(); + return "Balance adjusted"; + } else { + return "Insufficient Funds"; + } + } else { + balance += amount; + writeToFileChangeBalance(); + return "Balance adjusted"; + } + } else { + return "Balance inaccessible"; + } + } + + public String transferMoneyToOtherAccount(BankAccount otherAccount, double amount) { + if (accountHolderName.equalsIgnoreCase(otherAccount.accountHolderName)) { + if (getBalance() > amount || overdraft != DISABLED) { + changeBalance(-1 * amount); + otherAccount.changeBalance(amount); + return "Transfer Successful"; + } else { + return "Insufficient funds"; + } + } else { + return "Permission Denied"; + } + } + + public void setAccountHolderName(String name){ + if(status != CLOSED){ + this.accountHolderName = name; + writeToFileChangeName(); + } + } + + public String closeAccount(){ + if(getBalance() == 0d){ + setStatus(CLOSED); + return "Account Closed"; + } else { + return "Please withdraw funds"; + } + } + + public String changeFreezeStatus(){ + if (status == FROZEN) { + setStatus(OPEN); + return "Account unfrozen"; + } else { + setStatus(FROZEN); + return "Account frozen"; + } + } + + private void writeToFileChangeBalance() { + try { + PrintStream print = new PrintStream(new BufferedOutputStream(new FileOutputStream("BankAccount.txt", true))); + print.println("Balance Changed to " + balance + "."); + print.close(); + } catch (IOException e) { + } + } + + private void writeToFileChangeStatus(){ + try { + PrintStream print = new PrintStream(new BufferedOutputStream(new FileOutputStream("BankAccount.txt", true))); + print.println("Status changed to " + status + "."); + print.close(); + } catch (IOException e) { + } + } + + private void writeToFileChangeName(){ + try { + PrintStream print = new PrintStream(new BufferedOutputStream(new FileOutputStream("BankAccount.txt", true))); + print.println("Name changed to " + accountHolderName + "."); + print.close(); + } catch (IOException e) { + } + } + + private void writeToFileChangeInterestRate(){ + try { + PrintStream print = new PrintStream(new BufferedOutputStream(new FileOutputStream("BankAccount.txt", true))); + print.println("Interest rate changed to " + interestRate + "."); + print.close(); + } catch (IOException e) { + } + } + +} + + + diff --git a/BankAccount/src/main/java/armstrong/alexandra/Overdraft.java b/BankAccount/src/main/java/armstrong/alexandra/Overdraft.java new file mode 100644 index 0000000..101b696 --- /dev/null +++ b/BankAccount/src/main/java/armstrong/alexandra/Overdraft.java @@ -0,0 +1,6 @@ +package armstrong.alexandra; + +/** + * Created by alexandraarmstrong on 1/17/17. + */ +public enum Overdraft {ENABLED, DISABLED, AUTOMATIC} diff --git a/BankAccount/src/main/java/armstrong/alexandra/Status.java b/BankAccount/src/main/java/armstrong/alexandra/Status.java new file mode 100644 index 0000000..82a6e06 --- /dev/null +++ b/BankAccount/src/main/java/armstrong/alexandra/Status.java @@ -0,0 +1,6 @@ +package armstrong.alexandra; + +/** + * Created by alexandraarmstrong on 1/17/17. + */ +public enum Status {OPEN, CLOSED, FROZEN} diff --git a/BankAccount/src/test/java/armstrong/alexandra/BankAccountTest.java b/BankAccount/src/test/java/armstrong/alexandra/BankAccountTest.java new file mode 100644 index 0000000..fc1895b --- /dev/null +++ b/BankAccount/src/test/java/armstrong/alexandra/BankAccountTest.java @@ -0,0 +1,237 @@ +package armstrong.alexandra; + +import org.junit.*; + +import static armstrong.alexandra.Status.*; +import static armstrong.alexandra.AccountType.*; +import static armstrong.alexandra.Overdraft.*; +import static junit.framework.TestCase.assertEquals; + +/** + * Created by alexandraarmstrong on 1/17/17. + */ +public class BankAccountTest { + BankAccount ba; + BankAccount bb; + + @Before + public void setUp() { + } + + @Test + public void constructorTest1() { + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + AccountType expected = SAVINGS; + AccountType actual = ba.getAccountType(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest2() { + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + String expected = "Alex Armstrong"; + String actual = ba.getAccountHolderName(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest3() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", ENABLED); + AccountType expected = SAVINGS; + AccountType actual = ba.getAccountType(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest4() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", ENABLED); + String expected = "Alex Armstrong"; + String actual = ba.getAccountHolderName(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest5() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", ENABLED); + Overdraft expected = ENABLED; + Overdraft actual = ba.getOverdraft(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest6() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04d); + double expected = 1.04d; + double actual = ba.getInterestRate(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest7() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04d); + AccountType expected = SAVINGS; + AccountType actual = ba.getAccountType(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest8() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04); + String expected = "Alex Armstrong"; + String actual = ba.getAccountHolderName(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest9() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04d, ENABLED); + String expected = "Alex Armstrong"; + String actual = ba.getAccountHolderName(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest10() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04d, ENABLED); + AccountType expected = SAVINGS; + AccountType actual = ba.getAccountType(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest11() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04d, ENABLED); + Overdraft expected = ENABLED; + Overdraft actual = ba.getOverdraft(); + assertEquals(expected, actual); + } + + @Test + public void constructorTest12() { + ba = new BankAccount(SAVINGS, "Alex Armstrong", 1.04d, ENABLED); + double expected = 1.04d; + double actual = ba.getInterestRate(); + assertEquals(expected, actual); + } + + @Test + public void getBalanceTest(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.setStatus(FROZEN); + Double expected = null; + Double actual = ba.getBalance(); + assertEquals(expected, actual); + } + + @Test + public void changeBalanceTest(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.changeBalance(528d); + ba.changeBalance(-432d); + double expected = 0d + 528d + -432d; + double actual = ba.getBalance(); + assertEquals(expected, actual); + } + + @Test + public void changeBalanceTest2(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.setStatus(CLOSED); + String expected = "Balance inaccessible"; + String actual = ba.changeBalance(-432d); + assertEquals(expected, actual); + } + + @Test + public void TransferFromTest1(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + bb = new BankAccount(SAVINGS, "Alexandra Armstrong"); + String expected = "Permission Denied"; + String actual = ba.transferMoneyToOtherAccount(bb, 40d); + assertEquals(expected, actual); + } + + @Test + public void TransferFromTest2(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + bb = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.changeBalance(30d); + String expected = "Insufficient funds"; + String actual = ba.transferMoneyToOtherAccount(bb, 40d); + assertEquals(expected, actual); + } + + @Test + public void TransferFromTest3(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + bb = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.changeBalance(50d); + String expected = "Transfer Successful"; + String actual = ba.transferMoneyToOtherAccount(bb, 40d); + assertEquals(expected, actual); + } + + @Test + public void setAccountHolderNameTest(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.setAccountHolderName("Alexandra Armstrong"); + String expected = "Alexandra Armstrong"; + String actual = ba.getAccountHolderName(); + assertEquals(expected, actual); + } + + @Test + public void setAccountHolderNameTest2(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.setStatus(CLOSED); + ba.setAccountHolderName("Alexandra Armstrong"); + String expected = "Alex Armstrong"; + String actual = ba.getAccountHolderName(); + assertEquals(expected, actual); + } + + @Test + public void closeAccountTest(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.changeBalance(40d); + String expected = "Please withdraw funds"; + String actual = ba.closeAccount(); + assertEquals(expected, actual); + } + + @Test + public void closeAccountTest2(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + String expected = "Account Closed"; + String actual = ba.closeAccount(); + assertEquals(expected, actual); + } + + @Test + public void changeFreezeStatus(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + String expected = "Account frozen"; + String actual = ba.changeFreezeStatus(); + assertEquals(expected, actual); + } + + @Test + public void changeFreezeStatus2(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.setStatus(FROZEN); + String expected = "Account unfrozen"; + String actual = ba.changeFreezeStatus(); + assertEquals(expected, actual); + } + + @Test + public void writeToFileTest(){ + ba = new BankAccount(SAVINGS, "Alex Armstrong"); + ba.changeBalance(40); + ba.changeBalance( -20); + ba.setStatus(CLOSED); + ba.setStatus(OPEN); + ba.setAccountHolderName("Alexandra Armstrong"); + ba.setInterestRate(1.04d); + } +} \ No newline at end of file diff --git a/BankAccount/target/classes/armstrong/alexandra/AccountType.class b/BankAccount/target/classes/armstrong/alexandra/AccountType.class new file mode 100644 index 0000000000000000000000000000000000000000..d18eda869802e1e3fc789e5bd6a94ce33a7c4073 GIT binary patch literal 1156 zcma)4ZBNrs6n^g3wOuK1;~h~1Q8!TLc=2ruVOgp!jFHf}WbuP3rOuMBGhIjYlYdD^ zB1WU(vp>ps?sbtZm_VDHljol2KKD8I++V-H{REIfE)EIzHLN17U{=8c4GCm;SW_{k zQE`nk)>TaKyrE)}=S>w;JU>)1&GRD#j~Ud$3!|`8EI(&hC|Nhp*z(#=i(x65x(Z(^G!Gqy;gah+<#yx12`bisM=OdD+Iz#WnJgVy$5z_2 zs3kKDT)&=8UBODC)U++HY6UJ=?8-{M)gbl6MM(xZ=lX8A#W4Aw6N{-TgA~4XskgZ4 z)_p5%2c#5D@`9SPz3%4q9%;jGH*%L+-J+3bX0sjG&NG+yKGHL;Ro=Uf8U99Qbv(gS zhWSfItYaQo9ZR^aV+`XuCU}_SVTy-oj57?KUn;lB5VO6ePp6M3Q#~#09UM7!NDlkP zQ1Gl)E89c+H~@A8X@Xw7ygkFc0F=p&$mB?5G9@zk0!C(ev$R7(9M>=hhUy`MeGa`=STYZ3$&vDWs&|ZQKw5I z7C$kADE)x4yfSwR`LihZ9(TT7!5wZLcLgU26)7aUMm|y_{HuS5R7)t)Q>Z713!q5? z3<#jd1Q--xNETpNfDuK2QS}EYL_75SYElOSW-ZpipjneU7&dE42czZ*7`NGfE0M0P LWvoywf_r}ej=A=i literal 0 HcmV?d00001 diff --git a/BankAccount/target/classes/armstrong/alexandra/BankAccount.class b/BankAccount/target/classes/armstrong/alexandra/BankAccount.class new file mode 100644 index 0000000000000000000000000000000000000000..44ecbd745811cdd0cb68f352f58626b3cd6d6fb0 GIT binary patch literal 5568 zcmbVQ340UQ6+L5HmMjL@2pceq5g}h}%U~yzLW&`Y*T%$Hu5A`mk}ybPTOdnD8nLBK z(lmsoNwd+GLPFXm0oo)4L$C~?P1T=?(*(^ z(g*)}=Uo7I;9p*};PEod#ZeiaD8n&)PG(P*;q!P(W>3rT1sR@^;aNAH^I{GjcjNhD z_&+@6#S1ttD_@l1OI~~#CuI1F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<@C$(I|?St2F2R~~D{U0fr#M()GbQ0^j8?w!AJv$w-6lHLy z|6`o9*=4YyA%o^~DCxdvg58L_v5^9$-7PlD_DMFpQ@9f^a{V-SU&1~7-Ah`V9Jp$> zqEF$|CU1)akKYt#4{wtN&y~Slvw-&sA-qa>uMyr^!aGBF=WYOx-xFpJ?`{hoPf5ir z;Jrb3ZxY^l!n;6tZxP=34dC(1*6iWkW5Fw)U2rcG-UQ)g2=5BvO%mSK{|V27&p7aw cnPF#-E#{p{P9%Rt;%IdxAKxD1TM<6{UjSa}YXATM literal 0 HcmV?d00001 diff --git a/BankAccount/target/classes/armstrong/alexandra/Overdraft.class b/BankAccount/target/classes/armstrong/alexandra/Overdraft.class new file mode 100644 index 0000000000000000000000000000000000000000..bf32389653bfcd66ff495a56bcf01ac0e108f3de GIT binary patch literal 1040 zcmah{?{Csj6g>|LEnNq!;*`0$iBo~iA#Q$xEJKC~NgW@`NQj>vtivv)B&87lEMQGZk6nWTa%|Rm8C)j$H)_m4dqh z@m#@*uzL!0VGA-|Fvzu&%4?%`%&=*2uRrv?f!ix^$NIqCGmjSUL}g{R>e52nG9R+7IH+#+!Im3R|xZq=6a5(8Ueb07#rQAXpx-sZ-r^P*6@J&f2m-mTV|C^8@TDD!=KV(?_ zN4|Ql#UT0bZK^9~+C7*1BafKESrJgmU1$2ZI73}?NB!~wp@-CU)f|kxuJy(ib;ob! zu_vn5a7Ro$rO_I^WZ3xc1U00wui+s!H6)PKup$l}Nus@Np^(K8={f_K@};u58Oe># zh1C_C@M^XRRfi9Ur5V`G6y{k=M@3q@IPI)-lokpAvLqs~qytE|0{s5uiR@J5a7euZh34CY{|A20^KPaqYBZyOL z2qiKW5vCuI^E>NTh<*yfv*~W1%h(dq@hHG#px|*JSkSbo5b;&ML2B!A_zKD;Vu7Pd sfwL4iS|o6mqu&V^p3oAtr3seIc4UHO^Ab!5n6Ec9O}LFG6bs?$Z&H5Wh5!Hn literal 0 HcmV?d00001 diff --git a/BankAccount/target/classes/armstrong/alexandra/Status.class b/BankAccount/target/classes/armstrong/alexandra/Status.class new file mode 100644 index 0000000000000000000000000000000000000000..928997953ff11c6288fdbc07b1fbca29e9b66a27 GIT binary patch literal 1011 zcmah{VQ&&a5Pb^=cU-SPPppE}YOM;iLecsO(zHREm|TkSlmz{>&=apYj^sERf0ok3 z8jYr({ZYo*EwK=_-Ai_EcHX{uGqXQ`efI>#SVEm9@QA)4Xb50pV80$ z%hnrlL0xa}S+AQm!^+z$?jCb*?2H&z3&ks-N@IBFFr+NkcMisbt`ofCU5`#w$!4EO&JxR4~W?On~jRByS^LlFf9Kg+4EwX zx)#27siK7K_I+wmKupns2x#@5H@#e*p>F!)LH#n7JJe*|9*%>av+s(E7tVWM7R4I4 zCgz$kXxNV#a{nKdfh?XFxQ$fV9`DS69VSzjZ71+<37bAc<>v_iq${> literal 0 HcmV?d00001 diff --git a/BankAccount/target/test-classes/armstrong/alexandra/BankAccountTest.class b/BankAccount/target/test-classes/armstrong/alexandra/BankAccountTest.class new file mode 100644 index 0000000000000000000000000000000000000000..2838866d2dc2e866a656848e5a243f48972c77d8 GIT binary patch literal 6685 zcmbW4*>@Ay9ml_8K$6V>wh$0jFDy2O*kOk_fHxKsV*@s3YnzPaku8u%W;DWVNyyrk zY;8kA(qP* z=coU>eiOh7e6I)_a5#t~g-D=31g!`KNETu}21M&<5p<+P%Mh(}A&y~CJRTQcCjy)Q z`}(Iv8wcJHPbbCKsUn=leWG=LAs)aP(RxsPJrt-vbB0?2;_2bQtyAU$0`>c?hM4$> znDb}|kA?6>!SJOJz8t7;&I~BP*+Bg!>nViC1NAML_7h^!CqsBj{5~DRS3>xzXnrk( zX9BlYTf@ZS=S1(bK|B}4c?kvGiiGl3Mek1;dQ$7HRTAoPMeEU(+D1h?(h!X%)0$By z26jsb+!fd2#wH09s+M+1nAnu;Q6)@kjcaOKy1!f1JC*JPd%~^BsFLVX^tgDoJ0}`_ z@sxzcqixoyro@JmQmV0cK*H=j1c>*mUGY?$i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