| 1 |
4f470e00
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 2 |
|
|
// Copyright 2020 Leszek Koltunski //
|
| 3 |
|
|
// //
|
| 4 |
|
|
// This file is part of Magic Cube. //
|
| 5 |
|
|
// //
|
| 6 |
|
|
// Magic Cube is free software: you can redistribute it and/or modify //
|
| 7 |
|
|
// it under the terms of the GNU General Public License as published by //
|
| 8 |
|
|
// the Free Software Foundation, either version 2 of the License, or //
|
| 9 |
|
|
// (at your option) any later version. //
|
| 10 |
|
|
// //
|
| 11 |
|
|
// Magic Cube is distributed in the hope that it will be useful, //
|
| 12 |
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
| 13 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
| 14 |
|
|
// GNU General Public License for more details. //
|
| 15 |
|
|
// //
|
| 16 |
|
|
// You should have received a copy of the GNU General Public License //
|
| 17 |
|
|
// along with Magic Cube. If not, see <http://www.gnu.org/licenses/>. //
|
| 18 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 19 |
|
|
|
| 20 |
1f9772f3
|
Leszek Koltunski
|
package org.distorted.states;
|
| 21 |
4f470e00
|
Leszek Koltunski
|
|
| 22 |
|
|
import android.content.SharedPreferences;
|
| 23 |
e108b57e
|
Leszek Koltunski
|
import android.os.Bundle;
|
| 24 |
66e777b0
|
Leszek Koltunski
|
import androidx.fragment.app.FragmentManager;
|
| 25 |
e3c74c0f
|
Leszek Koltunski
|
import android.util.TypedValue;
|
| 26 |
11877284
|
Leszek Koltunski
|
import android.view.Gravity;
|
| 27 |
4f470e00
|
Leszek Koltunski
|
import android.view.LayoutInflater;
|
| 28 |
a6d3b158
|
Leszek Koltunski
|
import android.view.View;
|
| 29 |
0a57000c
|
Leszek Koltunski
|
import android.widget.ImageButton;
|
| 30 |
4f470e00
|
Leszek Koltunski
|
import android.widget.LinearLayout;
|
| 31 |
|
|
import android.widget.TextView;
|
| 32 |
|
|
|
| 33 |
1f9772f3
|
Leszek Koltunski
|
import org.distorted.dialogs.RubikDialogPattern;
|
| 34 |
|
|
import org.distorted.main.R;
|
| 35 |
|
|
import org.distorted.main.RubikActivity;
|
| 36 |
5a4d4fba
|
Leszek Koltunski
|
import org.distorted.main.RubikPreRender;
|
| 37 |
9c2f0c91
|
Leszek Koltunski
|
import org.distorted.objects.ObjectList;
|
| 38 |
53f23b64
|
Leszek Koltunski
|
import org.distorted.patterns.RubikPattern;
|
| 39 |
b498f3f6
|
Leszek Koltunski
|
import org.distorted.patterns.RubikPatternList;
|
| 40 |
4f470e00
|
Leszek Koltunski
|
|
| 41 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 42 |
|
|
|
| 43 |
|
|
public class RubikStatePattern extends RubikStateAbstract
|
| 44 |
|
|
{
|
| 45 |
3a9d19ed
|
Leszek Koltunski
|
private TextView mText;
|
| 46 |
4fb1fc0d
|
Leszek Koltunski
|
private ImageButton mPrevButton, mNextButton, mBackButton;
|
| 47 |
0a57000c
|
Leszek Koltunski
|
private TextView mMovesText;
|
| 48 |
8becce57
|
Leszek Koltunski
|
private int mNumMoves;
|
| 49 |
b498f3f6
|
Leszek Koltunski
|
private int mPatternOrdinal, mCategory, mPattern;
|
| 50 |
da768c35
|
Leszek Koltunski
|
private float mButtonSize;
|
| 51 |
4f470e00
|
Leszek Koltunski
|
|
| 52 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 53 |
|
|
|
| 54 |
|
|
RubikStatePattern()
|
| 55 |
|
|
{
|
| 56 |
|
|
|
| 57 |
|
|
}
|
| 58 |
|
|
|
| 59 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 60 |
|
|
|
| 61 |
|
|
void leaveState(RubikActivity act)
|
| 62 |
|
|
{
|
| 63 |
be576d14
|
Leszek Koltunski
|
RubikStatePlay play = (RubikStatePlay) StateList.PLAY.getStateClass();
|
| 64 |
53f23b64
|
Leszek Koltunski
|
|
| 65 |
9c2f0c91
|
Leszek Koltunski
|
ObjectList object = RubikPatternList.getObject(mPatternOrdinal);
|
| 66 |
b498f3f6
|
Leszek Koltunski
|
int size = RubikPatternList.getSize(mPatternOrdinal);
|
| 67 |
|
|
|
| 68 |
7b7d65ce
|
Leszek Koltunski
|
if( !play.setObjectAndSize(act,object,size) )
|
| 69 |
53f23b64
|
Leszek Koltunski
|
{
|
| 70 |
b498f3f6
|
Leszek Koltunski
|
int objectPlay= play.getObject();
|
| 71 |
|
|
int sizePlay = play.getSize();
|
| 72 |
53f23b64
|
Leszek Koltunski
|
|
| 73 |
9c2f0c91
|
Leszek Koltunski
|
act.changeObject(ObjectList.getObject(objectPlay),sizePlay, false);
|
| 74 |
53f23b64
|
Leszek Koltunski
|
}
|
| 75 |
4f470e00
|
Leszek Koltunski
|
}
|
| 76 |
|
|
|
| 77 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 78 |
|
|
|
| 79 |
a6d3b158
|
Leszek Koltunski
|
void enterState(final RubikActivity act)
|
| 80 |
4f470e00
|
Leszek Koltunski
|
{
|
| 81 |
e3c74c0f
|
Leszek Koltunski
|
float width = act.getScreenWidthInPixels();
|
| 82 |
|
|
mButtonSize = width*RubikActivity.BUTTON_TEXT_SIZE;
|
| 83 |
da768c35
|
Leszek Koltunski
|
float titleSize = width*RubikActivity.TITLE_TEXT_SIZE;
|
| 84 |
e3c74c0f
|
Leszek Koltunski
|
|
| 85 |
be576d14
|
Leszek Koltunski
|
RubikStatePlay play = (RubikStatePlay) StateList.PLAY.getStateClass();
|
| 86 |
53f23b64
|
Leszek Koltunski
|
int obj = play.getObject();
|
| 87 |
|
|
int size = play.getSize();
|
| 88 |
|
|
|
| 89 |
b498f3f6
|
Leszek Koltunski
|
mPatternOrdinal = RubikPatternList.getOrdinal(obj,size);
|
| 90 |
|
|
|
| 91 |
|
|
if( mPatternOrdinal<0 )
|
| 92 |
53f23b64
|
Leszek Koltunski
|
{
|
| 93 |
9c2f0c91
|
Leszek Koltunski
|
mPatternOrdinal = ObjectList.getSizeIndex(RubikStatePlay.DEF_OBJECT,RubikStatePlay.DEF_SIZE);
|
| 94 |
53f23b64
|
Leszek Koltunski
|
}
|
| 95 |
a6d3b158
|
Leszek Koltunski
|
|
| 96 |
e108b57e
|
Leszek Koltunski
|
FragmentManager mana = act.getSupportFragmentManager();
|
| 97 |
|
|
RubikDialogPattern diag = (RubikDialogPattern) mana.findFragmentByTag(RubikDialogPattern.getDialogTag());
|
| 98 |
|
|
|
| 99 |
|
|
if( diag==null ) showDialog(mana);
|
| 100 |
|
|
|
| 101 |
4f470e00
|
Leszek Koltunski
|
LayoutInflater inflater = act.getLayoutInflater();
|
| 102 |
|
|
|
| 103 |
|
|
// TOP ////////////////////////////
|
| 104 |
7289fd6c
|
Leszek Koltunski
|
LinearLayout layoutTop = act.findViewById(R.id.upperBar);
|
| 105 |
4f470e00
|
Leszek Koltunski
|
layoutTop.removeAllViews();
|
| 106 |
de44c2b4
|
Leszek Koltunski
|
mText = (TextView)inflater.inflate(R.layout.upper_pattern_text, null);
|
| 107 |
da768c35
|
Leszek Koltunski
|
mText.setTextSize(TypedValue.COMPLEX_UNIT_PX, titleSize);
|
| 108 |
3a9d19ed
|
Leszek Koltunski
|
mText.setText(R.string.patterns);
|
| 109 |
|
|
layoutTop.addView(mText);
|
| 110 |
4f470e00
|
Leszek Koltunski
|
|
| 111 |
|
|
// BOT ////////////////////////////
|
| 112 |
92843d3b
|
Leszek Koltunski
|
LinearLayout layoutBot = act.findViewById(R.id.lowerBar);
|
| 113 |
|
|
layoutBot.removeAllViews();
|
| 114 |
53f23b64
|
Leszek Koltunski
|
|
| 115 |
ad0c8e0e
|
Leszek Koltunski
|
setupPrevButton(act,width);
|
| 116 |
|
|
setupNextButton(act,width);
|
| 117 |
|
|
setupTextView(act,width);
|
| 118 |
0a57000c
|
Leszek Koltunski
|
|
| 119 |
4b4e6837
|
Leszek Koltunski
|
setTrioState(false);
|
| 120 |
|
|
|
| 121 |
af133d41
|
Leszek Koltunski
|
LinearLayout.LayoutParams paramsL = new LinearLayout.LayoutParams((int)(width/2),LinearLayout.LayoutParams.MATCH_PARENT);
|
| 122 |
|
|
LinearLayout.LayoutParams paramsM = new LinearLayout.LayoutParams((int)(width/6),LinearLayout.LayoutParams.MATCH_PARENT);
|
| 123 |
|
|
LinearLayout.LayoutParams paramsR = new LinearLayout.LayoutParams((int)(width/3),LinearLayout.LayoutParams.MATCH_PARENT);
|
| 124 |
92843d3b
|
Leszek Koltunski
|
|
| 125 |
|
|
LinearLayout layoutLeft = new LinearLayout(act);
|
| 126 |
af133d41
|
Leszek Koltunski
|
layoutLeft.setLayoutParams(paramsL);
|
| 127 |
|
|
LinearLayout layoutMid = new LinearLayout(act);
|
| 128 |
|
|
layoutMid.setLayoutParams(paramsM);
|
| 129 |
4fb1fc0d
|
Leszek Koltunski
|
LinearLayout layoutRight = new LinearLayout(act);
|
| 130 |
af133d41
|
Leszek Koltunski
|
layoutRight.setLayoutParams(paramsR);
|
| 131 |
92843d3b
|
Leszek Koltunski
|
|
| 132 |
0a57000c
|
Leszek Koltunski
|
layoutLeft.addView(mPrevButton);
|
| 133 |
|
|
layoutLeft.addView(mMovesText);
|
| 134 |
|
|
layoutLeft.addView(mNextButton);
|
| 135 |
|
|
|
| 136 |
ad0c8e0e
|
Leszek Koltunski
|
setupBackButton(act,width);
|
| 137 |
53f23b64
|
Leszek Koltunski
|
|
| 138 |
|
|
layoutRight.addView(mBackButton);
|
| 139 |
92843d3b
|
Leszek Koltunski
|
|
| 140 |
|
|
layoutBot.addView(layoutLeft);
|
| 141 |
af133d41
|
Leszek Koltunski
|
layoutBot.addView(layoutMid);
|
| 142 |
92843d3b
|
Leszek Koltunski
|
layoutBot.addView(layoutRight);
|
| 143 |
53f23b64
|
Leszek Koltunski
|
}
|
| 144 |
4f470e00
|
Leszek Koltunski
|
|
| 145 |
53f23b64
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 146 |
a6d3b158
|
Leszek Koltunski
|
|
| 147 |
e108b57e
|
Leszek Koltunski
|
private void showDialog(FragmentManager manager)
|
| 148 |
53f23b64
|
Leszek Koltunski
|
{
|
| 149 |
e108b57e
|
Leszek Koltunski
|
RubikDialogPattern diag = new RubikDialogPattern();
|
| 150 |
b498f3f6
|
Leszek Koltunski
|
Bundle bundle = new Bundle();
|
| 151 |
|
|
bundle.putInt("tab", mPatternOrdinal );
|
| 152 |
e108b57e
|
Leszek Koltunski
|
diag.setArguments(bundle);
|
| 153 |
|
|
diag.show( manager, RubikDialogPattern.getDialogTag() );
|
| 154 |
53f23b64
|
Leszek Koltunski
|
}
|
| 155 |
|
|
|
| 156 |
4b4e6837
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 157 |
|
|
|
| 158 |
|
|
private void setTrioState(boolean enable)
|
| 159 |
|
|
{
|
| 160 |
|
|
int state = enable ? View.VISIBLE : View.INVISIBLE;
|
| 161 |
|
|
|
| 162 |
|
|
if( mPrevButton!=null ) mPrevButton.setVisibility(state);
|
| 163 |
|
|
if( mNextButton!=null ) mNextButton.setVisibility(state);
|
| 164 |
|
|
if( mMovesText !=null ) mMovesText.setVisibility(state);
|
| 165 |
|
|
}
|
| 166 |
|
|
|
| 167 |
53f23b64
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 168 |
|
|
|
| 169 |
ad0c8e0e
|
Leszek Koltunski
|
private void setupBackButton(final RubikActivity act, final float width)
|
| 170 |
53f23b64
|
Leszek Koltunski
|
{
|
| 171 |
4fb1fc0d
|
Leszek Koltunski
|
final int icon = RubikActivity.getDrawable(R.drawable.ui_small_back,R.drawable.ui_medium_back, R.drawable.ui_big_back, R.drawable.ui_huge_back);
|
| 172 |
da768c35
|
Leszek Koltunski
|
mBackButton = new TransparentImageButton(act, icon, width, LinearLayout.LayoutParams.MATCH_PARENT);
|
| 173 |
53f23b64
|
Leszek Koltunski
|
|
| 174 |
|
|
mBackButton.setOnClickListener( new View.OnClickListener()
|
| 175 |
a6d3b158
|
Leszek Koltunski
|
{
|
| 176 |
|
|
@Override
|
| 177 |
|
|
public void onClick(View v)
|
| 178 |
|
|
{
|
| 179 |
e108b57e
|
Leszek Koltunski
|
FragmentManager mana = act.getSupportFragmentManager();
|
| 180 |
|
|
RubikDialogPattern diag = (RubikDialogPattern) mana.findFragmentByTag(RubikDialogPattern.getDialogTag());
|
| 181 |
53f23b64
|
Leszek Koltunski
|
|
| 182 |
e108b57e
|
Leszek Koltunski
|
if( diag==null )
|
| 183 |
53f23b64
|
Leszek Koltunski
|
{
|
| 184 |
e108b57e
|
Leszek Koltunski
|
showDialog(mana);
|
| 185 |
4b4e6837
|
Leszek Koltunski
|
setTrioState(false);
|
| 186 |
53f23b64
|
Leszek Koltunski
|
}
|
| 187 |
e108b57e
|
Leszek Koltunski
|
else
|
| 188 |
|
|
{
|
| 189 |
c715128d
|
Leszek Koltunski
|
diag.rememberState();
|
| 190 |
e108b57e
|
Leszek Koltunski
|
diag.dismiss();
|
| 191 |
be576d14
|
Leszek Koltunski
|
StateList.goBack(act);
|
| 192 |
e108b57e
|
Leszek Koltunski
|
}
|
| 193 |
|
|
}
|
| 194 |
|
|
});
|
| 195 |
4f470e00
|
Leszek Koltunski
|
}
|
| 196 |
|
|
|
| 197 |
0a57000c
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 198 |
|
|
|
| 199 |
ad0c8e0e
|
Leszek Koltunski
|
private void setupPrevButton(final RubikActivity act, final float width)
|
| 200 |
0a57000c
|
Leszek Koltunski
|
{
|
| 201 |
31a9f38d
|
Leszek Koltunski
|
int icon = RubikActivity.getDrawable(R.drawable.ui_small_left,R.drawable.ui_medium_left, R.drawable.ui_big_left, R.drawable.ui_huge_left);
|
| 202 |
da768c35
|
Leszek Koltunski
|
mPrevButton = new TransparentImageButton(act,icon,width,0);
|
| 203 |
0a57000c
|
Leszek Koltunski
|
|
| 204 |
|
|
mPrevButton.setOnClickListener( new View.OnClickListener()
|
| 205 |
|
|
{
|
| 206 |
|
|
@Override
|
| 207 |
|
|
public void onClick(View v)
|
| 208 |
|
|
{
|
| 209 |
8becce57
|
Leszek Koltunski
|
RubikPattern pattern = RubikPattern.getInstance();
|
| 210 |
5a4d4fba
|
Leszek Koltunski
|
RubikPreRender pre = act.getPreRender();
|
| 211 |
|
|
pattern.backMove( pre, mPatternOrdinal, mCategory, mPattern);
|
| 212 |
b498f3f6
|
Leszek Koltunski
|
int currMove = pattern.getCurMove(mPatternOrdinal, mCategory, mPattern);
|
| 213 |
8becce57
|
Leszek Koltunski
|
mMovesText.setText(act.getString(R.string.mo_placeholder,currMove,mNumMoves));
|
| 214 |
0a57000c
|
Leszek Koltunski
|
}
|
| 215 |
|
|
});
|
| 216 |
|
|
}
|
| 217 |
|
|
|
| 218 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 219 |
|
|
|
| 220 |
ad0c8e0e
|
Leszek Koltunski
|
private void setupNextButton(final RubikActivity act, final float width)
|
| 221 |
0a57000c
|
Leszek Koltunski
|
{
|
| 222 |
31a9f38d
|
Leszek Koltunski
|
int icon = RubikActivity.getDrawable(R.drawable.ui_small_right,R.drawable.ui_medium_right, R.drawable.ui_big_right, R.drawable.ui_huge_right);
|
| 223 |
da768c35
|
Leszek Koltunski
|
mNextButton = new TransparentImageButton(act,icon,width,0);
|
| 224 |
0a57000c
|
Leszek Koltunski
|
|
| 225 |
|
|
mNextButton.setOnClickListener( new View.OnClickListener()
|
| 226 |
|
|
{
|
| 227 |
|
|
@Override
|
| 228 |
|
|
public void onClick(View v)
|
| 229 |
|
|
{
|
| 230 |
8becce57
|
Leszek Koltunski
|
RubikPattern pattern = RubikPattern.getInstance();
|
| 231 |
5a4d4fba
|
Leszek Koltunski
|
RubikPreRender pre = act.getPreRender();
|
| 232 |
|
|
pattern.makeMove( pre, mPatternOrdinal, mCategory, mPattern);
|
| 233 |
b498f3f6
|
Leszek Koltunski
|
int currMove = pattern.getCurMove(mPatternOrdinal, mCategory, mPattern);
|
| 234 |
8becce57
|
Leszek Koltunski
|
mMovesText.setText(act.getString(R.string.mo_placeholder,currMove,mNumMoves));
|
| 235 |
0a57000c
|
Leszek Koltunski
|
}
|
| 236 |
|
|
});
|
| 237 |
|
|
}
|
| 238 |
|
|
|
| 239 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 240 |
|
|
|
| 241 |
ad0c8e0e
|
Leszek Koltunski
|
private void setupTextView(final RubikActivity act, final float width)
|
| 242 |
0a57000c
|
Leszek Koltunski
|
{
|
| 243 |
ad0c8e0e
|
Leszek Koltunski
|
int padding = (int)(width*RubikActivity.PADDING);
|
| 244 |
|
|
int margin = (int)(width*RubikActivity.MARGIN);
|
| 245 |
|
|
|
| 246 |
11877284
|
Leszek Koltunski
|
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(0,LinearLayout.LayoutParams.MATCH_PARENT,2.0f);
|
| 247 |
ad0c8e0e
|
Leszek Koltunski
|
params.topMargin = margin;
|
| 248 |
|
|
params.bottomMargin = margin;
|
| 249 |
|
|
params.leftMargin = margin;
|
| 250 |
|
|
params.rightMargin = margin;
|
| 251 |
0a57000c
|
Leszek Koltunski
|
|
| 252 |
|
|
mMovesText = new TextView(act);
|
| 253 |
aa171dee
|
Leszek Koltunski
|
mMovesText.setTextSize(20);
|
| 254 |
0a57000c
|
Leszek Koltunski
|
mMovesText.setLayoutParams(params);
|
| 255 |
|
|
mMovesText.setPadding(padding,0,padding,0);
|
| 256 |
11877284
|
Leszek Koltunski
|
mMovesText.setGravity(Gravity.CENTER);
|
| 257 |
e3c74c0f
|
Leszek Koltunski
|
mMovesText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mButtonSize);
|
| 258 |
8a64eaa4
|
Leszek Koltunski
|
mMovesText.setText(act.getString(R.string.mo_placeholder,0,0));
|
| 259 |
0a57000c
|
Leszek Koltunski
|
}
|
| 260 |
|
|
|
| 261 |
3a9d19ed
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 262 |
|
|
|
| 263 |
b498f3f6
|
Leszek Koltunski
|
public void setPattern(final RubikActivity act, int ordinal, int category, int pattern)
|
| 264 |
3a9d19ed
|
Leszek Koltunski
|
{
|
| 265 |
b498f3f6
|
Leszek Koltunski
|
mPatternOrdinal = ordinal;
|
| 266 |
|
|
mCategory = category;
|
| 267 |
|
|
mPattern = pattern;
|
| 268 |
044529c1
|
Leszek Koltunski
|
|
| 269 |
4b4e6837
|
Leszek Koltunski
|
setTrioState(true);
|
| 270 |
|
|
|
| 271 |
e0e84674
|
Leszek Koltunski
|
RubikPattern patt = RubikPattern.getInstance();
|
| 272 |
b498f3f6
|
Leszek Koltunski
|
String patternName = patt.getPatternName(ordinal,category,pattern);
|
| 273 |
e0e84674
|
Leszek Koltunski
|
mText.setText(patternName);
|
| 274 |
aa171dee
|
Leszek Koltunski
|
|
| 275 |
b498f3f6
|
Leszek Koltunski
|
mNumMoves = patt.getNumMoves(ordinal,category,pattern);
|
| 276 |
|
|
int currMove= patt.getCurMove(ordinal,category,pattern);
|
| 277 |
aa171dee
|
Leszek Koltunski
|
|
| 278 |
8becce57
|
Leszek Koltunski
|
mMovesText.setText(act.getString(R.string.mo_placeholder,currMove,mNumMoves));
|
| 279 |
3a9d19ed
|
Leszek Koltunski
|
}
|
| 280 |
|
|
|
| 281 |
4f470e00
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 282 |
|
|
|
| 283 |
|
|
public void savePreferences(SharedPreferences.Editor editor)
|
| 284 |
|
|
{
|
| 285 |
4f36e418
|
Leszek Koltunski
|
|
| 286 |
4f470e00
|
Leszek Koltunski
|
}
|
| 287 |
|
|
|
| 288 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
| 289 |
|
|
|
| 290 |
|
|
public void restorePreferences(SharedPreferences preferences)
|
| 291 |
|
|
{
|
| 292 |
|
|
|
| 293 |
|
|
}
|
| 294 |
|
|
}
|