Update pages/01_See_How_It_Works.py
Browse files- pages/01_See_How_It_Works.py +251 -324
pages/01_See_How_It_Works.py
CHANGED
|
@@ -1,324 +1,251 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
import os
|
| 3 |
-
from PIL import Image
|
| 4 |
-
import torch
|
| 5 |
-
from manga_translator.translator import MangaTextDetector
|
| 6 |
-
import tempfile
|
| 7 |
-
import cv2
|
| 8 |
-
import io
|
| 9 |
-
import numpy as np
|
| 10 |
-
from PIL import ImageDraw, ImageFont
|
| 11 |
-
|
| 12 |
-
# Set page config for wider layout and title
|
| 13 |
-
st.set_page_config(
|
| 14 |
-
page_title="Process Details - Manga Translator",
|
| 15 |
-
page_icon="🔍",
|
| 16 |
-
layout="wide"
|
| 17 |
-
)
|
| 18 |
-
|
| 19 |
-
# Custom CSS
|
| 20 |
-
st.markdown("""
|
| 21 |
-
<style>
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
)
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
if 'translation' in region:
|
| 253 |
-
st.markdown("**English Translation:**")
|
| 254 |
-
st.code(region['translation'])
|
| 255 |
-
|
| 256 |
-
# Show text preview with improved rendering
|
| 257 |
-
preview_height = 100
|
| 258 |
-
preview_width = 400
|
| 259 |
-
preview_img = np.ones((preview_height, preview_width, 3), dtype=np.uint8) * 255
|
| 260 |
-
preview_img = cv2.cvtColor(preview_img, cv2.COLOR_BGR2RGB)
|
| 261 |
-
pil_img = Image.fromarray(preview_img)
|
| 262 |
-
draw = ImageDraw.Draw(pil_img)
|
| 263 |
-
|
| 264 |
-
# Calculate font size based on text and preview dimensions
|
| 265 |
-
text = region['translation']
|
| 266 |
-
font_size = calculate_font_size(text, preview_width * 0.9, preview_height * 0.8)
|
| 267 |
-
font = get_font(font_size)
|
| 268 |
-
|
| 269 |
-
# Center text
|
| 270 |
-
bbox = draw.textbbox((0, 0), text, font=font)
|
| 271 |
-
text_width = bbox[2] - bbox[0]
|
| 272 |
-
text_height = bbox[3] - bbox[1]
|
| 273 |
-
x = (preview_width - text_width) // 2
|
| 274 |
-
y = (preview_height - text_height) // 2
|
| 275 |
-
|
| 276 |
-
# Draw with improved outline
|
| 277 |
-
outline_width = max(1, min(3, int(font_size / 20)))
|
| 278 |
-
for dx in range(-outline_width, outline_width + 1):
|
| 279 |
-
for dy in range(-outline_width, outline_width + 1):
|
| 280 |
-
if dx == 0 and dy == 0:
|
| 281 |
-
continue
|
| 282 |
-
draw.text((x + dx, y + dy), text,
|
| 283 |
-
font=font, fill=(255, 255, 255))
|
| 284 |
-
|
| 285 |
-
draw.text((x, y), text, font=font, fill=(0, 0, 0))
|
| 286 |
-
st.image(pil_img, caption="Text Preview", use_column_width=True)
|
| 287 |
-
else:
|
| 288 |
-
st.warning("No text regions detected in this image.")
|
| 289 |
-
|
| 290 |
-
# 4. Final Translation
|
| 291 |
-
st.markdown('<div class="step-header">4️⃣ Final Translation</div>', unsafe_allow_html=True)
|
| 292 |
-
if results['translated_image'] is not None:
|
| 293 |
-
st.image(
|
| 294 |
-
cv2.cvtColor(results['translated_image'], cv2.COLOR_BGR2RGB),
|
| 295 |
-
caption="Final Translated Image",
|
| 296 |
-
use_column_width=True
|
| 297 |
-
)
|
| 298 |
-
|
| 299 |
-
# Download button with improved styling
|
| 300 |
-
st.markdown('<div class="download-btn">', unsafe_allow_html=True)
|
| 301 |
-
translated_bytes = cv2.imencode('.png', results['translated_image'])[1].tobytes()
|
| 302 |
-
st.download_button(
|
| 303 |
-
label="⬇️ Download Translated Image",
|
| 304 |
-
data=translated_bytes,
|
| 305 |
-
file_name=f"translated_{uploaded_file.name}",
|
| 306 |
-
mime="image/png"
|
| 307 |
-
)
|
| 308 |
-
st.markdown('</div>', unsafe_allow_html=True)
|
| 309 |
-
else:
|
| 310 |
-
st.warning("Translation could not be completed.")
|
| 311 |
-
|
| 312 |
-
st.markdown('</div>', unsafe_allow_html=True)
|
| 313 |
-
st.markdown("---")
|
| 314 |
-
|
| 315 |
-
else:
|
| 316 |
-
st.info("👆 Upload a manga page to see the detailed translation process!")
|
| 317 |
-
|
| 318 |
-
st.subheader("What You'll See")
|
| 319 |
-
st.write("""
|
| 320 |
-
1. **Original Image**: Your uploaded manga page
|
| 321 |
-
2. **Text Detection**: View detected text regions and bubbles
|
| 322 |
-
3. **Detected Text**: See each text region with its translation
|
| 323 |
-
4. **Final Translation**: The complete translated image
|
| 324 |
-
""")
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import os
|
| 3 |
+
from PIL import Image
|
| 4 |
+
import torch
|
| 5 |
+
from manga_translator.translator import MangaTextDetector
|
| 6 |
+
import tempfile
|
| 7 |
+
import cv2
|
| 8 |
+
import io
|
| 9 |
+
import numpy as np
|
| 10 |
+
from PIL import ImageDraw, ImageFont
|
| 11 |
+
|
| 12 |
+
# Set page config for wider layout and title
|
| 13 |
+
st.set_page_config(
|
| 14 |
+
page_title="Process Details - Manga Translator",
|
| 15 |
+
page_icon="🔍",
|
| 16 |
+
layout="wide"
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
+
# Custom CSS for consistent layout with main page
|
| 20 |
+
st.markdown("""
|
| 21 |
+
<style>
|
| 22 |
+
body {
|
| 23 |
+
background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%) !important;
|
| 24 |
+
}
|
| 25 |
+
.main .block-container {
|
| 26 |
+
max-width: 900px;
|
| 27 |
+
margin: 0 auto;
|
| 28 |
+
padding-top: 2rem;
|
| 29 |
+
padding-bottom: 2rem;
|
| 30 |
+
}
|
| 31 |
+
.centered-box {
|
| 32 |
+
background: white;
|
| 33 |
+
border-radius: 16px;
|
| 34 |
+
box-shadow: 0 4px 32px rgba(0,0,0,0.08);
|
| 35 |
+
padding: 2rem;
|
| 36 |
+
margin-bottom: 2rem;
|
| 37 |
+
}
|
| 38 |
+
.stButton>button {
|
| 39 |
+
width: 100%;
|
| 40 |
+
}
|
| 41 |
+
.stAlert {
|
| 42 |
+
background-color: rgb(255, 251, 235);
|
| 43 |
+
border: none;
|
| 44 |
+
padding: 1rem;
|
| 45 |
+
margin: 1rem 0;
|
| 46 |
+
}
|
| 47 |
+
.download-btn {
|
| 48 |
+
text-align: center;
|
| 49 |
+
padding: 1rem;
|
| 50 |
+
}
|
| 51 |
+
.region-info {
|
| 52 |
+
border: 1px solid #e0e0e0;
|
| 53 |
+
padding: 1rem;
|
| 54 |
+
border-radius: 5px;
|
| 55 |
+
margin: 0.5rem 0;
|
| 56 |
+
}
|
| 57 |
+
.region-stats {
|
| 58 |
+
font-size: 0.9em;
|
| 59 |
+
color: #666;
|
| 60 |
+
margin-top: 0.5rem;
|
| 61 |
+
}
|
| 62 |
+
/* Remove custom sidebar width, use Streamlit default */
|
| 63 |
+
/* If you want to force 250px, uncomment below: */
|
| 64 |
+
/*
|
| 65 |
+
[data-testid="stSidebar"][aria-expanded="true"] {
|
| 66 |
+
min-width: 250px;
|
| 67 |
+
max-width: 250px;
|
| 68 |
+
}
|
| 69 |
+
[data-testid="stSidebar"][aria-expanded="false"] {
|
| 70 |
+
margin-left: -250px;
|
| 71 |
+
}
|
| 72 |
+
*/
|
| 73 |
+
</style>
|
| 74 |
+
""", unsafe_allow_html=True)
|
| 75 |
+
|
| 76 |
+
# Main centered box for all content
|
| 77 |
+
st.markdown('<div class="centered-box">', unsafe_allow_html=True)
|
| 78 |
+
|
| 79 |
+
st.title("See How It Works")
|
| 80 |
+
st.write("Explore the step-by-step translation process!")
|
| 81 |
+
|
| 82 |
+
def get_font(size):
|
| 83 |
+
"""Get font with proper error handling"""
|
| 84 |
+
try:
|
| 85 |
+
return ImageFont.truetype('font/CC Wild Words Roman.ttf', size)
|
| 86 |
+
except:
|
| 87 |
+
try:
|
| 88 |
+
# Fallback to Arial if available
|
| 89 |
+
return ImageFont.truetype('arial.ttf', size)
|
| 90 |
+
except:
|
| 91 |
+
return ImageFont.load_default()
|
| 92 |
+
|
| 93 |
+
def calculate_font_size(text, max_width, max_height):
|
| 94 |
+
"""Calculate optimal font size based on text and box dimensions"""
|
| 95 |
+
min_size = 12
|
| 96 |
+
max_size = min(60, int(max_height * 0.8))
|
| 97 |
+
if any(c in text for c in '!?!?'):
|
| 98 |
+
min_size = 16
|
| 99 |
+
max_size = min(max_size, int(max_height * 0.9))
|
| 100 |
+
elif text.isupper():
|
| 101 |
+
max_size = min(max_size, int(max_height * 0.7))
|
| 102 |
+
elif len(text.split()) <= 2:
|
| 103 |
+
min_size = 16
|
| 104 |
+
char_count = len(text)
|
| 105 |
+
area = max_width * max_height
|
| 106 |
+
chars_per_area = char_count / (area + 1)
|
| 107 |
+
size_factor = 1.0
|
| 108 |
+
if chars_per_area > 0.01:
|
| 109 |
+
size_factor = 0.8
|
| 110 |
+
elif chars_per_area < 0.005:
|
| 111 |
+
size_factor = 1.2
|
| 112 |
+
initial_size = int(min(max_width / (char_count * 0.6), max_height * 0.8) * size_factor)
|
| 113 |
+
return max(min_size, min(initial_size, max_size))
|
| 114 |
+
|
| 115 |
+
def process_detailed_image(uploaded_file):
|
| 116 |
+
"""Process image and store detailed results in session state."""
|
| 117 |
+
if uploaded_file.name not in st.session_state:
|
| 118 |
+
st.session_state.processed_results = {}
|
| 119 |
+
if uploaded_file.name not in st.session_state.processed_results:
|
| 120 |
+
try:
|
| 121 |
+
detector = MangaTextDetector('best.pt')
|
| 122 |
+
temp_path = os.path.join(tempfile.mkdtemp(), uploaded_file.name)
|
| 123 |
+
with open(temp_path, "wb") as f:
|
| 124 |
+
f.write(uploaded_file.getbuffer())
|
| 125 |
+
image, detections, result_image, processed_regions, translated_image = detector.process_image(temp_path)
|
| 126 |
+
st.session_state.processed_results[uploaded_file.name] = {
|
| 127 |
+
'image': image,
|
| 128 |
+
'detections': detections,
|
| 129 |
+
'result_image': result_image,
|
| 130 |
+
'processed_regions': processed_regions,
|
| 131 |
+
'translated_image': translated_image
|
| 132 |
+
}
|
| 133 |
+
try:
|
| 134 |
+
os.remove(temp_path)
|
| 135 |
+
except:
|
| 136 |
+
pass
|
| 137 |
+
return True
|
| 138 |
+
except Exception as e:
|
| 139 |
+
st.error(f"❌ Error: {str(e)}")
|
| 140 |
+
return False
|
| 141 |
+
return True
|
| 142 |
+
|
| 143 |
+
uploaded_files = st.file_uploader(
|
| 144 |
+
"Choose manga pages",
|
| 145 |
+
type=['jpg', 'jpeg', 'png'],
|
| 146 |
+
accept_multiple_files=True,
|
| 147 |
+
help="Upload manga pages to see the detailed translation process"
|
| 148 |
+
)
|
| 149 |
+
|
| 150 |
+
if uploaded_files:
|
| 151 |
+
with st.spinner("Processing your manga pages..."):
|
| 152 |
+
for uploaded_file in uploaded_files:
|
| 153 |
+
if process_detailed_image(uploaded_file):
|
| 154 |
+
results = st.session_state.processed_results[uploaded_file.name]
|
| 155 |
+
st.header(f"📝 Processing: {uploaded_file.name}")
|
| 156 |
+
st.subheader("1️⃣ Original Image")
|
| 157 |
+
st.image(
|
| 158 |
+
cv2.cvtColor(results['image'], cv2.COLOR_BGR2RGB),
|
| 159 |
+
caption="Original Image",
|
| 160 |
+
use_column_width=True
|
| 161 |
+
)
|
| 162 |
+
st.subheader("2️⃣ Text Detection")
|
| 163 |
+
st.write("Detected text regions and speech bubbles are highlighted:")
|
| 164 |
+
st.image(
|
| 165 |
+
cv2.cvtColor(results['result_image'], cv2.COLOR_BGR2RGB),
|
| 166 |
+
caption="Detected Regions",
|
| 167 |
+
use_column_width=True
|
| 168 |
+
)
|
| 169 |
+
st.subheader("3️⃣ Detected Text Regions")
|
| 170 |
+
if results['processed_regions'] and results['processed_regions']['text_regions']:
|
| 171 |
+
for i, region in enumerate(results['processed_regions']['text_regions'], 1):
|
| 172 |
+
with st.expander(f"Region {i}"):
|
| 173 |
+
col1, col2 = st.columns(2)
|
| 174 |
+
with col1:
|
| 175 |
+
x1, y1, x2, y2 = region['coords']
|
| 176 |
+
region_img = results['image'][y1:y2, x1:x2]
|
| 177 |
+
st.image(
|
| 178 |
+
cv2.cvtColor(region_img, cv2.COLOR_BGR2RGB),
|
| 179 |
+
caption=f"Region {i}"
|
| 180 |
+
)
|
| 181 |
+
region_width = x2 - x1
|
| 182 |
+
region_height = y2 - y1
|
| 183 |
+
st.markdown(
|
| 184 |
+
f'<div class="region-stats">'
|
| 185 |
+
f'Region Size: {region_width}x{region_height} pixels<br>'
|
| 186 |
+
f'Type: {region["type"].capitalize()}<br>'
|
| 187 |
+
f'Text Length: {len(region["text"])} chars'
|
| 188 |
+
f'</div>',
|
| 189 |
+
unsafe_allow_html=True
|
| 190 |
+
)
|
| 191 |
+
with col2:
|
| 192 |
+
st.markdown("**Japanese Text:**")
|
| 193 |
+
st.code(region['text'])
|
| 194 |
+
if 'translation' in region:
|
| 195 |
+
st.markdown("**English Translation:**")
|
| 196 |
+
st.code(region['translation'])
|
| 197 |
+
preview_height = 100
|
| 198 |
+
preview_width = 400
|
| 199 |
+
preview_img = np.ones((preview_height, preview_width, 3), dtype=np.uint8) * 255
|
| 200 |
+
preview_img = cv2.cvtColor(preview_img, cv2.COLOR_BGR2RGB)
|
| 201 |
+
pil_img = Image.fromarray(preview_img)
|
| 202 |
+
draw = ImageDraw.Draw(pil_img)
|
| 203 |
+
text = region['translation']
|
| 204 |
+
font_size = calculate_font_size(text, preview_width * 0.9, preview_height * 0.8)
|
| 205 |
+
font = get_font(font_size)
|
| 206 |
+
bbox = draw.textbbox((0, 0), text, font=font)
|
| 207 |
+
text_width = bbox[2] - bbox[0]
|
| 208 |
+
text_height = bbox[3] - bbox[1]
|
| 209 |
+
x = (preview_width - text_width) // 2
|
| 210 |
+
y = (preview_height - text_height) // 2
|
| 211 |
+
outline_width = max(1, min(3, int(font_size / 20)))
|
| 212 |
+
for dx in range(-outline_width, outline_width + 1):
|
| 213 |
+
for dy in range(-outline_width, outline_width + 1):
|
| 214 |
+
if dx == 0 and dy == 0:
|
| 215 |
+
continue
|
| 216 |
+
draw.text((x + dx, y + dy), text,
|
| 217 |
+
font=font, fill=(255, 255, 255))
|
| 218 |
+
draw.text((x, y), text, font=font, fill=(0, 0, 0))
|
| 219 |
+
st.image(pil_img, caption="Text Preview", use_column_width=True)
|
| 220 |
+
else:
|
| 221 |
+
st.warning("No text regions detected in this image.")
|
| 222 |
+
st.subheader("4️⃣ Final Translation")
|
| 223 |
+
if results['translated_image'] is not None:
|
| 224 |
+
st.image(
|
| 225 |
+
cv2.cvtColor(results['translated_image'], cv2.COLOR_BGR2RGB),
|
| 226 |
+
caption="Final Translated Image",
|
| 227 |
+
use_column_width=True
|
| 228 |
+
)
|
| 229 |
+
st.markdown('<div class="download-btn">', unsafe_allow_html=True)
|
| 230 |
+
translated_bytes = cv2.imencode('.png', results['translated_image'])[1].tobytes()
|
| 231 |
+
st.download_button(
|
| 232 |
+
label="⬇️ Download Translated Image",
|
| 233 |
+
data=translated_bytes,
|
| 234 |
+
file_name=f"translated_{uploaded_file.name}",
|
| 235 |
+
mime="image/png"
|
| 236 |
+
)
|
| 237 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 238 |
+
else:
|
| 239 |
+
st.warning("Translation could not be completed.")
|
| 240 |
+
st.markdown("---")
|
| 241 |
+
else:
|
| 242 |
+
st.info("👆 Upload a manga page to see the detailed translation process!")
|
| 243 |
+
st.subheader("What You'll See")
|
| 244 |
+
st.write("""
|
| 245 |
+
1. **Original Image**: Your uploaded manga page
|
| 246 |
+
2. **Text Detection**: View detected text regions and bubbles
|
| 247 |
+
3. **Detected Text**: See each text region with its translation
|
| 248 |
+
4. **Final Translation**: The complete translated image
|
| 249 |
+
""")
|
| 250 |
+
|
| 251 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|