From 55071b7bed024da9a936c6945d83dd8f7b9c168d Mon Sep 17 00:00:00 2001 From: Jax Date: Tue, 5 Jul 2022 23:09:50 +0800 Subject: [PATCH] v2.1 --- .../Icons/Tray/MixerDark/Preview/Volume0.png | Bin 0 -> 1244 bytes @Resources/Icons/Tray/MixerDark/Volume0.ico | Bin 0 -> 9662 bytes @Resources/Icons/Tray/MixerDark/Volume1.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerDark/Volume2.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerDark/Volume3.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerDark/Volume4.ico | Bin 0 -> 5430 bytes .../Icons/Tray/MixerLight/Preview/Volume0.png | Bin 0 -> 1081 bytes @Resources/Icons/Tray/MixerLight/Volume0.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerLight/Volume1.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerLight/Volume2.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerLight/Volume3.ico | Bin 0 -> 5430 bytes @Resources/Icons/Tray/MixerLight/Volume4.ico | Bin 0 -> 5430 bytes @Resources/Images/AppIcons/javaw.exe.png | Bin 0 -> 9662 bytes @Resources/Lua/Func.lua | Bin 22750 -> 22770 bytes @Resources/Powershell/toggleWidgetMode.ps1 | 96 ++++++++++++++++++ @Resources/Version.inc | Bin 50 -> 50 bytes Core/General.inc | Bin 21472 -> 22460 bytes Core/InteractionBox/MixerIconTheme.inc | Bin 14990 -> 15878 bytes Core/PatchNote/Main1.inc | Bin 948 -> 1670 bytes Core/Window/Setup/2.inc | Bin 1042 -> 2624 bytes .../{3.inc => RemoveDefaultIcon-Win10.inc} | Bin Core/Window/Setup/RemoveDefaultIcon-Win11.inc | Bin 0 -> 1612 bytes .../ControlScreen/Cache/MixerContent.inc | Bin 4326 -> 2 bytes 23 files changed, 96 insertions(+) create mode 100644 @Resources/Icons/Tray/MixerDark/Preview/Volume0.png create mode 100644 @Resources/Icons/Tray/MixerDark/Volume0.ico create mode 100644 @Resources/Icons/Tray/MixerDark/Volume1.ico create mode 100644 @Resources/Icons/Tray/MixerDark/Volume2.ico create mode 100644 @Resources/Icons/Tray/MixerDark/Volume3.ico create mode 100644 @Resources/Icons/Tray/MixerDark/Volume4.ico create mode 100644 @Resources/Icons/Tray/MixerLight/Preview/Volume0.png create mode 100644 @Resources/Icons/Tray/MixerLight/Volume0.ico create mode 100644 @Resources/Icons/Tray/MixerLight/Volume1.ico create mode 100644 @Resources/Icons/Tray/MixerLight/Volume2.ico create mode 100644 @Resources/Icons/Tray/MixerLight/Volume3.ico create mode 100644 @Resources/Icons/Tray/MixerLight/Volume4.ico create mode 100644 @Resources/Images/AppIcons/javaw.exe.png create mode 100644 @Resources/Powershell/toggleWidgetMode.ps1 rename Core/Window/Setup/{3.inc => RemoveDefaultIcon-Win10.inc} (100%) create mode 100644 Core/Window/Setup/RemoveDefaultIcon-Win11.inc diff --git a/@Resources/Icons/Tray/MixerDark/Preview/Volume0.png b/@Resources/Icons/Tray/MixerDark/Preview/Volume0.png new file mode 100644 index 0000000000000000000000000000000000000000..209df683ca47cbf9d63bbbb2560b152683516192 GIT binary patch literal 1244 zcmV<21S9*2P)--<5Ry|`iR$wCqb)0C;e#;b4{kgQkV^l&4>4u zCk~~W%*DEj&NyW+PKg-b5}CoLWq;m~SKI zNnYu^j%+d`8{-njn~jVzd6aa9Yf@MN_A~i4#6|y_jodMLu~fY5cTIBM0^BR7f*_d2 z36r4``i_gvgPiPVz~kINHf|@LhA?&DsUvJKcKsB8Uyy&S)thAK3}`LV<5l0r*(T7E zhn;3RzcQ>^hR90GZ@<$jmH1;}+qmAZCW&SzuwuoqmC&96$wT44>LaSst6bw0k1&oB*_Z+72bf>3f~IQqTSKH3B4bBwA(;y zR~!qFDPdC|nR74kyse+v&zkWuCXYqxEC4UtI5-Dg;1s+61GIWy{cLBDjk&PYxzONu ziU;vBF1HaKodsaRw=f54A*!aCiH#<&R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ka^nFYCC3v+&^c)Sqn%7nys%AInfk&|JYuW&e8ul zKz&Zv)}u%J?Ew8_^{88GLVE}JS>!cHe!H%%SC7VhK)yqpCihj%zSl=x8??57LqPWR zgAy-fCiP8V08E45;1%cxD;F{+j#@OX0*`^s9+7N{LswW%^bOjC8@c|lv*M^jr`$88 zY$^_2VL1{0tCV=o&4!(2tD}ENW(07=aa#7cA)971N6oi5#D(PiYHGC|%WDMnxc;Ik zaQ$tssggM~RQ3L^q*mK3^ap*v2z*Ai&8<}q{ii`GtM~o?pZ@%n>&)Vt&p+~e{6F*j zQ>*)QiDzjA7Q+e@Hezp2;IO36tMl1Zp>9I^q>9CRKS1!m3x3b=3A0XO)vxCj=I2ud z9l2z|XXQslboso0eqJtCa(~^#?Gq{%@1L(@#N^C6iB-Rzr{@=R K^Vic~#Qy<)8xpwy literal 0 HcmV?d00001 diff --git a/@Resources/Icons/Tray/MixerDark/Volume1.ico b/@Resources/Icons/Tray/MixerDark/Volume1.ico new file mode 100644 index 0000000000000000000000000000000000000000..0f01e6c805a577d712f94683342f1b4b7c3dc566 GIT binary patch literal 5430 zcmeH~OGp(_7{`w#TAP#}U@hu`q1mQ35n-W{iv*WN(dLQ}y`X}KR^n|}5tXe9qMNh{ z7lkd_l=L#82iTh+7nkfEy>Jl`IQ{6&yO+iYB=I}YtuxRQal^y&Gz2U=Ifwz~P* zN@DlHWB34zv&H-S$teQ8KYG>sT8^`>(6Rmbj9UXbp9R?-tKT2gnWs-@rg8hCd=RF;djj>PQSHC}pf+(y zkWKpfhv-lB^EZuapR)JQT@&U|1$B_|y`z5-T!!!P6q?;JCc8wd6!dT8HSNhOCRVwvVSe=!^{`a%_k65j4tG~&%btd%Yj{aW<%^|7}jipvk->R+P-jBAZW9FNO=2<%j zw@6W$o$okNr*L)#bt literal 0 HcmV?d00001 diff --git a/@Resources/Icons/Tray/MixerDark/Volume2.ico b/@Resources/Icons/Tray/MixerDark/Volume2.ico new file mode 100644 index 0000000000000000000000000000000000000000..0f01e6c805a577d712f94683342f1b4b7c3dc566 GIT binary patch literal 5430 zcmeH~OGp(_7{`w#TAP#}U@hu`q1mQ35n-W{iv*WN(dLQ}y`X}KR^n|}5tXe9qMNh{ z7lkd_l=L#82iTh+7nkfEy>Jl`IQ{6&yO+iYB=I}YtuxRQal^y&Gz2U=Ifwz~P* zN@DlHWB34zv&H-S$teQ8KYG>sT8^`>(6Rmbj9UXbp9R?-tKT2gnWs-@rg8hCd=RF;djj>PQSHC}pf+(y zkWKpfhv-lB^EZuapR)JQT@&U|1$B_|y`z5-T!!!P6q?;JCc8wd6!dT8HSNhOCRVwvVSe=!^{`a%_k65j4tG~&%btd%Yj{aW<%^|7}jipvk->R+P-jBAZW9FNO=2<%j zw@6W$o$okNr*L)#bt literal 0 HcmV?d00001 diff --git a/@Resources/Icons/Tray/MixerDark/Volume3.ico b/@Resources/Icons/Tray/MixerDark/Volume3.ico new file mode 100644 index 0000000000000000000000000000000000000000..0f01e6c805a577d712f94683342f1b4b7c3dc566 GIT binary patch literal 5430 zcmeH~OGp(_7{`w#TAP#}U@hu`q1mQ35n-W{iv*WN(dLQ}y`X}KR^n|}5tXe9qMNh{ z7lkd_l=L#82iTh+7nkfEy>Jl`IQ{6&yO+iYB=I}YtuxRQal^y&Gz2U=Ifwz~P* zN@DlHWB34zv&H-S$teQ8KYG>sT8^`>(6Rmbj9UXbp9R?-tKT2gnWs-@rg8hCd=RF;djj>PQSHC}pf+(y zkWKpfhv-lB^EZuapR)JQT@&U|1$B_|y`z5-T!!!P6q?;JCc8wd6!dT8HSNhOCRVwvVSe=!^{`a%_k65j4tG~&%btd%Yj{aW<%^|7}jipvk->R+P-jBAZW9FNO=2<%j zw@6W$o$okNr*L)#bt literal 0 HcmV?d00001 diff --git a/@Resources/Icons/Tray/MixerDark/Volume4.ico b/@Resources/Icons/Tray/MixerDark/Volume4.ico new file mode 100644 index 0000000000000000000000000000000000000000..0f01e6c805a577d712f94683342f1b4b7c3dc566 GIT binary patch literal 5430 zcmeH~OGp(_7{`w#TAP#}U@hu`q1mQ35n-W{iv*WN(dLQ}y`X}KR^n|}5tXe9qMNh{ z7lkd_l=L#82iTh+7nkfEy>Jl`IQ{6&yO+iYB=I}YtuxRQal^y&Gz2U=Ifwz~P* zN@DlHWB34zv&H-S$teQ8KYG>sT8^`>(6Rmbj9UXbp9R?-tKT2gnWs-@rg8hCd=RF;djj>PQSHC}pf+(y zkWKpfhv-lB^EZuapR)JQT@&U|1$B_|y`z5-T!!!P6q?;JCc8wd6!dT8HSNhOCRVwvVSe=!^{`a%_k65j4tG~&%btd%Yj{aW<%^|7}jipvk->R+P-jBAZW9FNO=2<%j zw@6W$o$okNr*L)#bt literal 0 HcmV?d00001 diff --git a/@Resources/Icons/Tray/MixerLight/Preview/Volume0.png b/@Resources/Icons/Tray/MixerLight/Preview/Volume0.png new file mode 100644 index 0000000000000000000000000000000000000000..b8d6ab20285300c4dea214370f90396c164df11f GIT binary patch literal 1081 zcmV-91jhS`P)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt00(qQO+^Rh2L%p00#Oy+0{{R6K}keGRA}DqnN3JkQ5462cgQg+ zHK78rtRzqZDf&Pq60H`}ri~g!A?<>wl%O^Rp+O55e$=WW5!y&#AG9l#L^6n^4~haa zGs~!rp+z&*+!h{Z-i&YNJ@xhsnm3Dc|L2`^&;Ols?tLGlH1m7-<~e?nK#~9p%ulJ( z*ou#@Jk}u>=Gy2FKXrT;FvKAj9!A4w@-#+u!CL}1Y?M`=5uhYI9N;DsGJcQGD+1?b z(1~9|UYNqhL|!JBVUEaF9R&TFt{A=3GE_cl*olAE1PVk3V&pk>)M6E+lP1dowWP4t zP%Vzgd{5$9)Yz9`gP~Gni_C~?VToiV(8f+9JTx1G-z~lRJmNXD9(8 zwf`)#o}MVXK|N?e2A5%LOb_%5F8695I1%1@it&eAIz+Zt1lAI?QQvX!GDko|{WR4W ztGp!Oqb@27!<0GtxSF_-2HLsIUQ!)xH_^cuA%lRUJ)pj!JEnEqe<{Za|9AUkSr6~uP68S2ZEOy zxoO4T3&^66fGy42Vo_<}k^}USWuJjl6vcTS$`_eu;EMeeaWVp}1eC$VCO)i@VoIR@ zdI@xN2@GUNVCl0=R!cce1?l|eK25sUKoia=mAe>;QZ%BB zl)z>9Jibj+9`}+!w~caw9A{4>-v`ucN@ZA!pKXi+u$W4ZdVq2n^awsC_=>Y{)OSLa zOTnx@P)u#npG1y|T(73*AjtDLFQ=5*zFN)X*DW(0NN5$b?j_b9s3v8O&9G+b$`e|p zP#pnQ0#D}{9>zp|aImvPvi3kTilSKsUMXELAb9F_Jwl(2^+Q@L$jB<#BZFIl4+_5K z(LTVi$TGDKRBE`!?_BsA$$*cK;oa{ZZ^I|HyYMwZK*M1hP)Ix{#rFf=PLFgh?WKsv~k00000NkvXXu0mjf)>F%W literal 0 HcmV?d00001 diff --git a/@Resources/Icons/Tray/MixerLight/Volume0.ico b/@Resources/Icons/Tray/MixerLight/Volume0.ico new file mode 100644 index 0000000000000000000000000000000000000000..f7b62ba70357337bff45e8017915c25bec96a0a4 GIT binary patch literal 5430 zcmeI0OGs2v7{|}3q-|1qK((j=!$%yvO!(k5I4 zwrEq5mIXbacLceZ60!$9z(tE-Zoj{tqqpnac~36tz|V8O?|k3)KljX?Gxust#FUwu z8bcp7`znm7GsZ-tGxk;dXYn=QV@Sk|pUxQk!RC3MDK%);!)A!&s%3M((7%PFsq*p1 zU@(OH_#eO_nDE8ycD3*|!j2G5q{*44r8f}3fWWKQ?bBhbDow#(&b z>WMuDFW@t*%M>4+Cno~>{?rBM3b&2%dV#w%j*6IK{ElsPw#HK@=WLJhbPj%h*#2I5Ev?cw_BNh1AV97p;x(%W7&J;w3D~ zwnn-*>eNFs{PFwi&ta|up28=%4r~1L`HZO%flJ`7X^L^y&p-KS`g73gwA%VUk3kZ& zhR}WR=NCFgryq3fdsK^d%i7xttsTs#ZX@XV%Ji3dek*N-vm%+c^3GAhr@`^Q&mYx?nVF2R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afb9d80a3824087dec285ecff5e6d9191..bbde6f323ce2c9558270a6f8954b72b0c98268e4 100644 GIT binary patch delta 122 zcmcb&k@3?;#tpONCePDSntVV(X|jP2+vFJ*QmjS{rVOT&6P1-GD`*H!exT1Wxj>j> za)O%7_ev*?XuqsHqFcdK) xGNc1xB0~~G4nrz~I)e^_0+2L>sS%7~2mtCThRYa0WR#UA2Pm;^W>I)&0RVc79}EBh diff --git a/@Resources/Powershell/toggleWidgetMode.ps1 b/@Resources/Powershell/toggleWidgetMode.ps1 new file mode 100644 index 0000000..dda92ea --- /dev/null +++ b/@Resources/Powershell/toggleWidgetMode.ps1 @@ -0,0 +1,96 @@ + +# ---------------------------------------------------------------------------- # +# Functions # +# ---------------------------------------------------------------------------- # + +function Get-IniContent ($filePath) { + $ini = [ordered]@{} + if (![System.IO.File]::Exists($filePath)) { + throw "$filePath invalid" + } + # $section = ';ItIsNotAFuckingSection;' + # $ini.Add($section, [ordered]@{}) + + foreach ($line in [System.IO.File]::ReadLines($filePath)) { + if ($line -match "^\s*\[(.+?)\]\s*$") { + $section = $matches[1] + $secDup = 1 + while ($ini.Keys -contains $section) { + $section = $section + '||ps' + $secDup + } + $ini.Add($section, [ordered]@{}) + } + elseif ($line -match "^\s*;.*$") { + $notSectionCount = 0 + while ($ini[$section].Keys -contains ';NotSection' + $notSectionCount) { + $notSectionCount++ + } + $ini[$section][';NotSection' + $notSectionCount] = $matches[1] + } + elseif ($line -match "^\s*(.+?)\s*=\s*(.+?)$") { + $key, $value = $matches[1..2] + $ini[$section][$key] = $value + } + else { + $notSectionCount = 0 + while ($ini[$section].Keys -contains ';NotSection' + $notSectionCount) { + $notSectionCount++ + } + $ini[$section][';NotSection' + $notSectionCount] = $line + } + } + + return $ini +} + +function Set-IniContent($ini, $filePath) { + $str = @() + + foreach ($section in $ini.GetEnumerator()) { + if ($section -ne ';ItIsNotAFuckingSection;') { + $str += "[" + ($section.Key -replace '\|\|ps\d+$', '') + "]" + } + foreach ($keyvaluepair in $section.Value.GetEnumerator()) { + if ($keyvaluepair.Key -match "^;NotSection\d+$") { + $str += $keyvaluepair.Value + } + else { + $str += $keyvaluepair.Key + "=" + $keyvaluepair.Value + } + } + } + + $finalStr = $str -join [System.Environment]::NewLine + + $finalStr | Out-File -filePath $filePath -Force -Encoding unicode +} + +# ---------------------------------------------------------------------------- # +# Actions # +# ---------------------------------------------------------------------------- # + + +function Toggle-MixerMode { + + $CurrentMode = $RmAPI.VariableStr('StayOnDesktop') + $SaveLocation = $RmAPI.VariableStr('Sec.SaveLocation') + + $Ini = Get-IniContent -filePath "$($RmAPI.VariableStr('SETTINGSPATH'))Rainmeter.ini" + if ($CurrentMode -eq 1) { + # ---------------------------- Set to module mode ---------------------------- # + $Ini['YourMixer\Main\Elements\ControlScreen'].SavePosition = 0 + $Ini['YourMixer\Main\Elements\ControlScreen'].AlphaValue = 1 + $Ini['YourMixer\Main\Elements\ControlScreen'].Remove('WindowX') + $Ini['YourMixer\Main\Elements\ControlScreen'].Remove('WindowY') + Set-IniContent -ini $Ini -filePath "$($RmAPI.VariableStr('SETTINGSPATH'))Rainmeter.ini" + # ------------- Standard actions ------------- # + $RmAPI.Bang('[!SetVariable StayOnDesktop 0][!WriteKeyValue Variables StayOnDesktop "0" '+$SaveLocation+'][!UpdateMeasure Auto_Refresh:M][!UpdateMeter *][!Redraw]') + } else { + # ---------------------------- Set to widget mode ---------------------------- # + $Ini['YourMixer\Main\Elements\ControlScreen'].SavePosition = 1 + $Ini['YourMixer\Main\Elements\ControlScreen'].AlphaValue = 255 + Set-IniContent -ini $Ini -filePath "$($RmAPI.VariableStr('SETTINGSPATH'))Rainmeter.ini" + # ------------- Standard actions ------------- # + $RmAPI.Bang('[!SetVariable StayOnDesktop 1][!WriteKeyValue Variables StayOnDesktop "1" '+$SaveLocation+'][!UpdateMeasure Auto_Refresh:M][!UpdateMeter *][!Redraw]') + } +} \ No newline at end of file diff --git a/@Resources/Version.inc b/@Resources/Version.inc index df1c7fe012fb1b63f7544ba8dc8cb4b6d3e0a2aa..65ff621bb168419f5e98b6df3ff2a9f9ec7efc8c 100644 GIT binary patch delta 7 OcmXpqnqa_W$N&Hai2+yu delta 7 OcmXpqnqa_WzyJUShXGdr diff --git a/Core/General.inc b/Core/General.inc index 6c02ca76caa2df2fd7d86fa7a85cda3c7af38cae..6b5f137caa83556648f37a74d4bbef20a8066312 100644 GIT binary patch delta 429 zcmaE`oN>>3#tj-wf^H0@40#O63?&Si4EaD-@#Ke$u9F><*VRWe6f@{CgaAd;fiQ<5 zl_4CcCI!e&1*-N1il+csu?)NnTtHqbLn2UpDMJyEWy=r%R9^~InF%xzB#+Do$>uYZ z1JxA)bz}hP93Tt=ngLQ740KBoP+tKb&=NNw17xu+gVJO}EonyY$%TQ!6SKtXv6&D9 z)PUcudJF|X8x0whz&5!uQ~-@m2D%gGcaW($Kr53ODuGsp0^JVsO)*d&0q6kaVATbBJrnGhB6zSWF~m-8 M)REjQp>aYR0L&Fyt^fc4 delta 23 fcmdn9p7FtQ#tj-woAX%js7`)oEwcHG_6cnOe;f*n diff --git a/Core/InteractionBox/MixerIconTheme.inc b/Core/InteractionBox/MixerIconTheme.inc index 491e10c9bdbd86111b09814f24f9a7334fd346f4..5a77539b61b96f3b6fb268c20f655da078642699 100644 GIT binary patch delta 565 zcmeAxZL66ugVAKNAiMO&EwdPzwHS;y`!Y=w5j1AdWYA|Y0+Kom8Vtq^Mw?%Y$+Apl z-Lix8tYb@DlFiOsvTRESf&Pfu#|GTl9llf!sK6hSW3W>97bW=Lg7 zX3%2@0J0&z=4Iewh-9#xoTw_wY6WD)PTr`dKe^68YVtCDEh4;-I(dVk)aDrm4UF8; z489DR3>82tiYCWvYJx15#Az|e8cu}zgPO)5%cQXeDuWit>67IRVkaBuaInMd=vLDv S$&Qz5rbODovRT5Yi~|78;d$2p delta 429 zcmZpx=_{QugVB6qzVyZ|vlurAF-;KRHDb^NLLCMT1~Uee&7Z|&SteUZ-P6)S}K$oGEYxx^Bdhg kjFU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&TaDlS-fa6zjUZGmEE9 OwFI`{U9UFJB%7alQfRIK delta 26 icmX>gGKquf|G&*GY*UyfFJN+EG@dNT>^nJ(^A!M%DG9y+ diff --git a/Core/Window/Setup/3.inc b/Core/Window/Setup/RemoveDefaultIcon-Win10.inc similarity index 100% rename from Core/Window/Setup/3.inc rename to Core/Window/Setup/RemoveDefaultIcon-Win10.inc diff --git a/Core/Window/Setup/RemoveDefaultIcon-Win11.inc b/Core/Window/Setup/RemoveDefaultIcon-Win11.inc new file mode 100644 index 0000000000000000000000000000000000000000..971929a188841808729e2b5bc42402eb0a2cdb26 GIT binary patch literal 1612 zcmds%-D?w35XH~4;Qw$Oo` zF6XOY-Qk^SsF{L3dd?Z%YjA^hxPt84>I9<4L!6IIWjq06tQ zX8qi*&Q0Ytgp^A0Ot+nv*{b+uPIE1m{|m+==o|Oy^sdJk>L$Lse>CNPJDdMom!oP` TA2fgc5QgWB#D6f!r63VC$*qzPr4^_WsUpHhrHX^wgn($`$Vq@o{C41(UEJMG z)~ON%@c~(m*WTIrc;A`X&CeeX<$+wvvCO#MN-j6jmiMAxdoq$t=CYK6Q7V1rmNJ%4 zGBxx5dm3n1%7hiFqmKq%J(UF-d@EMQpI7-aB!|d%WeB^g3CpJRL`jeaq{WSK2*8 zUv`(P_t|yQrG=Mx^Z~zm#*aB~r;NUW|1lnFRppFRD&P^7kz-BmDLY~PCu>|a$if`Y z#wPj_(+1sRJ6&Bk->l2e>(DEgA4!n?v0Ar&t?IHkYv$Q`?JGlA%fQI?LFMT((i=;L zGy@87)Q(b}8@`lslgM{&moev9oM2nC#OeFb;%dkKGZy{5&GD!EL0Q=srWOwA6Bph- zXl3KI?m9z^*KoEa9k1@YYZkWcGokj?oC;?{+qUEAP8W7@hl-Lu+SiRZMfEB{Q; z@$lH^$-{CK-%I|@$)jFK)bZp|h0rc1j}D!<9w!e!Dp!eqf4c7ku-nNaX4jo1s_WnF zUrxH*vuu6a4iMAt?{n1_e5qJ}-MnumFuUopKE}P<2KBJhs#ZUG+hyZc{&trQ|JnFE e&OSSA*Wk0y4qGoI>eykc5Za}~>KT839rhRY&&&D%