minor fixes
BIN
rainloop/v/1.3.10.492/static/browsers/chrome.gif
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
rainloop/v/1.3.10.492/static/browsers/firefox.gif
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
rainloop/v/1.3.10.492/static/browsers/opera.gif
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
rainloop/v/1.3.10.492/static/browsers/safari.gif
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
8596
rainloop/v/1.3.10.492/static/css/app.css
Normal file
4
rainloop/v/1.3.10.492/static/css/app.min.css
vendored
Normal file
BIN
rainloop/v/1.3.10.492/static/css/flags.png
Normal file
|
After Width: | Height: | Size: 77 KiB |
308
rainloop/v/1.3.10.492/static/css/fonts/icomoon.dev.svg
Normal file
|
|
@ -0,0 +1,308 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>
|
||||
This is a custom SVG font generated by IcoMoon.
|
||||
<iconset grid="16"></iconset>
|
||||
</metadata>
|
||||
<defs>
|
||||
<font id="icomoon" horiz-adv-x="512" >
|
||||
<font-face units-per-em="512" ascent="480" descent="-32" />
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
||||
<glyph unicode="" d="M 478.566,412.544C 469.786,409.446, 35.149,256.307, 26.598,253.286c-7.27-2.56-8.909-8.832-0.256-12.262
|
||||
c 10.266-4.122, 97.178-38.938, 97.178-38.938L 123.494,202.086 l 57.626-23.091c0,0, 277.427,203.75, 281.19,206.49c 3.763,2.765, 8.141-2.432, 5.402-5.402
|
||||
c-2.739-2.995-201.498-217.958-201.498-217.958c-0.026,0-0.026,0-0.026,0l-11.571-12.902l 15.334-8.243l0,0c0,0, 119.040-64.077, 127.514-68.659
|
||||
c 7.424-3.994, 17.101-0.666, 19.251,8.576c 2.534,10.906, 72.832,313.907, 74.394,320.614C 493.158,410.291, 487.373,415.642, 478.566,412.544z M 180.608,40.653
|
||||
c0-6.323, 3.558-8.064, 8.474-3.61c 6.4,5.837, 72.934,65.536, 72.934,65.536l-81.408,42.138L 180.608,40.653 z" data-tags="paperplane, travel, plane, airplane" />
|
||||
<glyph unicode="" d="M 486.4,49.92c0,0-51.2,249.165-275.84,249.165L 210.56,398.080 L 25.6,232.832l 184.96-171.29l0,111.565 C 332.493,173.107, 422.835,162.304, 486.4,49.92z" data-tags="reply, undo, arrow, left, back, previous" />
|
||||
<glyph unicode="" d="M 184.96,329.472L 184.96,398.080 L0,232.832l 184.96-171.29l0,71.142 L 76.8,232.832L 184.96,329.472z M 312.96,299.11L 312.96,398.080 L 128,232.832l 184.96-171.29l0,111.565
|
||||
c 84.301,0, 135.475-10.803, 199.040-123.187C 512,49.92, 502.605,299.11, 312.96,299.11z" data-tags="reply-all, first, arrow, left" />
|
||||
<glyph unicode="" d="M 301.44,173.107l0-111.539 L 486.4,232.832L 301.44,398.080l0-98.97 C 76.8,299.11, 25.6,49.92, 25.6,49.92C 89.165,162.304, 179.507,173.107, 301.44,173.107z" data-tags="forward, arrow, right" />
|
||||
<glyph unicode="" d="M 449.152,84.019l-96.742,96.742c 14.592,23.987, 22.989,52.096, 22.989,82.227c0,87.45-75.802,163.251-163.277,163.251
|
||||
C 124.672,426.24, 53.76,355.328, 53.76,267.878c0-87.475, 75.776-163.277, 163.251-163.277c 29.082,0, 56.32,7.885, 79.744,21.581l 97.254-97.28
|
||||
c 9.549-9.523, 24.96-9.523, 34.458,0l 24.141,24.115C 462.106,62.541, 458.65,74.522, 449.152,84.019z M 102.502,267.878
|
||||
c0,60.544, 49.075,109.645, 109.619,109.645c 60.57,0, 114.534-53.965, 114.534-114.534s-49.075-109.645-109.645-109.645S 102.502,207.309, 102.502,267.878z" data-tags="search, magnifier, lookup, find" />
|
||||
<glyph unicode="" d="M 179.2,249.6L 25.6,249.6 c-14.131,0-25.6-11.469-25.6-25.6s 11.469-25.6, 25.6-25.6l 153.6,0 c 14.131,0, 25.6,11.469, 25.6,25.6S 193.331,249.6, 179.2,249.6z M 179.2,147.2L 25.6,147.2 c-14.131,0-25.6-11.443-25.6-25.6s 11.469-25.6, 25.6-25.6l 153.6,0
|
||||
c 14.131,0, 25.6,11.443, 25.6,25.6S 193.331,147.2, 179.2,147.2z M 496.64,249.6L 409.6,249.6 L 409.6,336.64 C 409.6,350.771, 398.157,352, 384,352s-25.6-1.229-25.6-15.36L 358.4,249.6 l-84.48,0 C 259.763,249.6, 258.56,238.131, 258.56,224
|
||||
s 1.229-25.6, 15.386-25.6L 358.4,198.4 l0-87.040 c0-14.131, 11.443-15.36, 25.6-15.36s 25.6,1.229, 25.6,15.36L 409.6,198.4 l 87.040,0 c 14.131,0, 15.36,11.469, 15.36,25.6S 510.771,249.6, 496.64,249.6z M 179.2,352L 25.6,352
|
||||
C 11.469,352,0,340.531,0,326.4s 11.469-25.6, 25.6-25.6l 153.6,0 c 14.131,0, 25.6,11.469, 25.6,25.6S 193.331,352, 179.2,352z" data-tags="add-to-list, plus, list" />
|
||||
<glyph unicode="" d="M 318.259,480c 34.304,0, 51.456-23.398, 51.456-50.125c0-33.382-29.798-64.282-68.557-64.282c-32.512,0-51.456,19.2-50.56,50.918
|
||||
C 250.598,443.264, 273.126,480, 318.259,480z M 212.71-32c-27.085,0-46.925,16.691-27.981,90.189l 31.078,130.33c 5.402,20.864, 6.298,29.235,0,29.235
|
||||
c-8.141,0-43.264-14.413-64.051-28.621L 138.24,211.686c 65.869,55.962, 141.619,88.755, 174.106,88.755c 27.059,0, 31.539-32.563, 18.048-82.662l-35.61-137.011
|
||||
c-6.298-24.218-3.61-32.563, 2.688-32.563c 8.141,0, 34.739,10.061, 60.902,30.925l 15.36-20.864C 309.709-6.912, 239.77-32, 212.71-32z" data-tags="info, about" />
|
||||
<glyph unicode="" d="M 153.626,341.76L 153.6,106.24L 358.4,224 z" data-tags="arrow-right, triangle, right, next" />
|
||||
<glyph unicode="" d="M 373.76,326.374L 138.24,326.4L 256,121.6 z" data-tags="arrow-down, triangle, down, bottom" />
|
||||
<glyph unicode="" d="M 76.8,280.32c-31.104,0-56.32-25.216-56.32-56.32c0-31.104, 25.216-56.32, 56.32-56.32s 56.32,25.216, 56.32,56.32C 133.12,255.104, 107.904,280.32, 76.8,280.32z M 256,280.32
|
||||
c-31.104,0-56.32-25.216-56.32-56.32c0-31.104, 25.216-56.32, 56.32-56.32s 56.294,25.216, 56.294,56.32C 312.294,255.104, 287.104,280.32, 256,280.32z M 435.2,280.32
|
||||
c-31.104,0-56.32-25.216-56.32-56.32c0-31.104, 25.216-56.32, 56.32-56.32s 56.32,25.216, 56.32,56.32C 491.52,255.104, 466.304,280.32, 435.2,280.32z" data-tags="ellipsis, dots, circles" />
|
||||
<glyph unicode="" d="M 432,480 C 476.182,480 512,444.183 512,400 C 512,381.99 506.045,365.371 496,352 L 464,320 L 352,432 L 384,464 C 397.371,474.045 413.989,480 432,480 ZM 32,112L0-32l 144,32l 296,296L 328,408L 32,112z M 357.789,298.211l-224-224l-27.578,27.578l 224,224L 357.789,298.211z" data-tags="pencil, write, edit, blog, note" />
|
||||
<glyph unicode="" d="M0,416l0-416 l 512,0 L 512,416 L0,416 z M 480,32L 32,32 L 32,384 l 448,0 L 480,32 zM 352,304A48,48 2700 1 1 448,304A48,48 2700 1 1 352,304zM 448,64 L 64,64 L 160,320 L 288,160 L 352,208 Z" data-tags="image, picture, photo, graphic" />
|
||||
<glyph unicode="" d="M 160,384 L 512,480 L 512,448 L 512,384 L 512,112 C 512,67.817 461.855,32 400,32 C 338.145,32 288,67.817 288,112 C 288,156.183 338.145,192 400,192 C 417.179,192 433.451,189.234 448,184.297 L 448,349.091 L 224,288 L 224,48 C 224,3.817 173.856-32 112-32 C 50.144-32 0,3.817 0,48 C 0,92.183 50.144,128 112,128 C 129.179,128 145.451,125.234 160,120.297 L 160,288 L 160,384 Z" data-tags="music, song, audio, sound" />
|
||||
<glyph unicode="" d="M0,416l0-384 l 512,0 L 512,416 L0,416 z M 96,64L 32,64 l0,64 l 64,0 L 96,64 z M 96,192L 32,192 l0,64 l 64,0 L 96,192 z M 96,320L 32,320 L 32,384 l 64,0 L 96,320 z M 384,64L 128,64 L 128,384 l 256,0 L 384,64 z
|
||||
M 480,64l-64,0 l0,64 l 64,0 L 480,64 z M 480,192l-64,0 l0,64 l 64,0 L 480,192 z M 480,320l-64,0 L 416,384 l 64,0 L 480,320 zM 192,320L 192,128L 320,224 z" data-tags="film, video, movie, tape, play" />
|
||||
<glyph unicode="" d="M 128,448L 384,448L 384,384L 128,384zM 480,352L 32,352 C 14.4,352,0,337.6,0,320l0-160 c0-17.6, 14.398-32, 32-32l 96,0 l0-128 l 256,0 L 384,128 l 96,0 c 17.6,0, 32,14.4, 32,32L 512,320
|
||||
C 512,337.6, 497.6,352, 480,352z M 352,32L 160,32 L 160,192 l 192,0 L 352,32 z M 487.2,304c0-12.813-10.387-23.2-23.199-23.2
|
||||
c-12.813,0-23.201,10.387-23.201,23.2s 10.388,23.2, 23.201,23.2C 476.814,327.2, 487.2,316.813, 487.2,304z" data-tags="print, printer" />
|
||||
<glyph unicode="" d="M 160,288L 224,288L 224,224L 160,224zM 256,288L 320,288L 320,224L 256,224zM 352,288L 416,288L 416,224L 352,224zM 64,96L 128,96L 128,32L 64,32zM 160,96L 224,96L 224,32L 160,32zM 256,96L 320,96L 320,32L 256,32zM 160,192L 224,192L 224,128L 160,128zM 256,192L 320,192L 320,128L 256,128zM 352,192L 416,192L 416,128L 352,128zM 64,192L 128,192L 128,128L 64,128zM 416,480l0-32 l-64,0 L 352,480 L 128,480 l0-32 L 64,448 L 64,480 L0,480 l0-512 l 480,0 L 480,480 L 416,480 z M 448,0L 32,0 L 32,352 l 416,0 L 448,0 z" data-tags="calendar, schedule, date, time, day" />
|
||||
<glyph unicode="" d="M 352,480c-88.365,0-160-71.634-160-160c0-10.013, 0.929-19.808, 2.688-29.312L0,96l0-96 c0-17.673, 14.327-32, 32-32
|
||||
l 32,0 l0,32 l 64,0 l0,64 l 64,0 l0,64 l 64,0 l 41.521,41.521C 314.526,163.363, 332.869,160, 352,160c 88.365,0, 160,71.634, 160,160S 440.365,480, 352,480z
|
||||
M 399.937,319.937c-26.51,0-48,21.49-48,48s 21.49,48, 48,48s 48-21.49, 48-48S 426.447,319.937, 399.937,319.937z" data-tags="key, password, login, log in, signin, sign in" />
|
||||
<glyph unicode="" d="M 466.895,174.875c-26.863,46.527-10.708,106.152, 36.076,133.244l-50.313,87.146c-14.375-8.427-31.088-13.259-48.923-13.259
|
||||
c-53.768,0-97.354,43.873-97.354,97.995L 205.752,480.001 c 0.133-16.705-4.037-33.641-12.979-49.126
|
||||
c-26.862-46.528-86.578-62.351-133.431-35.379L 9.030,308.35c 14.485-8.236, 27.025-20.294, 35.943-35.739
|
||||
c 26.819-46.454, 10.756-105.96-35.854-133.112l 50.313-87.146c 14.325,8.348, 30.958,13.127, 48.7,13.127
|
||||
c 53.598,0, 97.072-43.596, 97.35-97.479l 100.627,0 c-0.043,16.537, 4.136,33.285, 12.983,48.609
|
||||
c 26.818,46.453, 86.388,62.297, 133.207,35.506l 50.313,87.145C 488.222,147.494, 475.766,159.51, 466.895,174.875z M 256,120.334
|
||||
c-57.254,0-103.668,46.412-103.668,103.667c0,57.254, 46.413,103.667, 103.668,103.667c 57.254,0, 103.666-46.413, 103.666-103.667
|
||||
C 359.665,166.746, 313.254,120.334, 256,120.334z" data-tags="cog, preferences, settings, gear, generate, control, options" />
|
||||
<glyph unicode="" d="M 160.504-32 C 126.381,39.004 144.553,79.689 170.779,118.022 C 199.499,160 206.901,201.555 206.901,201.555 C 206.901,201.555 229.478,172.205 220.447,126.301 C 260.333,170.701 267.859,241.441 261.838,268.533 C 351.995,205.527 390.526,69.105 338.599-32 C 614.785,124.266 407.298,358.086 371.176,384.425 C 383.217,358.087 385.5,313.5 361.176,291.862 C 320,448 218.19,480 218.19,480 C 230.231,399.478 174.542,311.428 120.842,245.635 C 118.955,277.743 116.951,299.899 100.067,330.625 C 96.277,272.297 51.701,224.751 39.63,166.311 C 23.279,87.168 51.878,29.221 160.504-32 Z" data-tags="fire, flame, hot, popular" />
|
||||
<glyph unicode="" d="M 352,448L 192,288L 96,288 L0,160c0,0, 101.708,28.326, 161.033,15.042L0-32l 210.951,164.072C 240.37,64.745, 192-32, 192-32l 128,96
|
||||
l0,96 l 160,160L 512,480L 352,448z" data-tags="rocket, speed, jet, spaceship, fast" />
|
||||
<glyph unicode="" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z M 384,368L 224,208l-96,96l-64-64l 160-160l 224,224L 384,368z" data-tags="checkbox-checked, tick, checked, selected" />
|
||||
<glyph unicode="" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z" data-tags="checkbox-unchecked, unchecked, square" />
|
||||
<glyph unicode="" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 zM 128,352L 384,352L 384,96L 128,96z" data-tags="checkbox-partial, partial" />
|
||||
<glyph unicode="" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32
|
||||
c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 160,224A96,96 12780 1 1 352,224A96,96 12780 1 1 160,224z" data-tags="radio-checked" />
|
||||
<glyph unicode="" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32
|
||||
c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32z" data-tags="radio-unchecked, circle" />
|
||||
<glyph unicode="" d="M 394.767,448c0,0-100.478,0-133.97,0c-60.061,0-116.585-45.503-116.585-98.211c0-53.863, 40.941-97.333, 102.044-97.333
|
||||
c 4.249,0, 8.378,0.085, 12.42,0.376c-3.964-7.593-6.8-16.144-6.8-25.021c0-14.969, 8.052-27.105, 18.234-37.012
|
||||
c-7.693,0-15.121-0.224-23.226-0.224c-74.391,0.001-131.65-47.38-131.65-96.511c0-48.389, 62.771-78.656, 137.167-78.656
|
||||
c 84.812,0, 131.653,48.122, 131.653,96.514c0,38.801-11.448,62.036-46.843,87.067c-12.108,8.571-35.266,29.418-35.266,41.672
|
||||
c0,14.36, 4.098,21.434, 25.714,38.323c 22.156,17.312, 37.837,41.651, 37.837,69.958c0,33.703-15.011,66.549-43.187,77.386l 42.478,0
|
||||
L 394.767,448z M 347.974,120.271c 1.063-4.486, 1.642-9.104, 1.642-13.814c0-39.1-25.195-69.655-97.487-69.655
|
||||
c-51.421,0-88.558,32.552-88.558,71.65c0,38.321, 46.063,70.222, 97.482,69.666c 12-0.127, 23.184-2.058, 33.334-5.345
|
||||
C 322.301,153.359, 342.325,142.393, 347.974,120.271z M 265.643,266.112c-34.519,1.032-67.318,38.613-73.276,83.93
|
||||
c-5.958,45.333, 17.185,80.021, 51.694,78.995C 278.565,428, 311.379,391.63, 317.34,346.308
|
||||
C 323.293,300.978, 300.145,265.079, 265.643,266.112z" data-tags="google" />
|
||||
<glyph unicode="" d="M 0.403,45.168c-0.122,1.266-0.226,2.535-0.292,3.815C 0.176,47.703, 0.281,46.434, 0.403,45.168zM 117.954,197.426c 46.005-1.369, 76.867,46.349, 68.931,106.599c-7.947,60.24-51.698,108.584-97.704,109.961
|
||||
c-46.013,1.365-76.87-44.741-68.926-105C 28.196,248.752, 71.931,198.799, 117.954,197.426zM 512,352L 512,394.655 C 512,441.595, 473.609,480, 426.671,480L 85.343,480 C 39.205,480, 1.337,442.884, 0.061,397.037
|
||||
c 29.181,25.693, 69.662,47.158, 111.437,47.158c 44.652,0, 178.622,0, 178.622,0l-39.974-33.809l-56.634,0
|
||||
c 37.565-14.402, 57.578-58.062, 57.578-102.861c0-37.624-20.905-69.977-50.444-92.984c-28.822-22.451-34.286-31.854-34.286-50.939
|
||||
c0-16.289, 30.873-44, 47.016-55.394c 47.191-33.269, 62.458-64.156, 62.458-115.728c0-8.214-1.021-16.415-3.033-24.48l 153.871,0
|
||||
C 473.609-32, 512,6.375, 512,53.345L 512,319.999 l-96,0 L 416,224 l-32,0 l0,96 l-95.999,0 l0,32 L 384,352 L 384,448 l 32,0 l0-96 L 512,352 zM 92.943,97.032c 10.807,0, 20.711,0.295, 30.968,0.295c-13.573,13.167-24.313,29.3-24.313,49.19
|
||||
c0,11.804, 3.782,23.168, 9.067,33.26c-5.391-0.385-10.895-0.497-16.563-0.497c-37.178,0-68.753,12.038-92.102,31.927l0-33.621
|
||||
l 0.003-100.865C 26.723,89.408, 58.447,97.032, 92.943,97.032zM 1.71,36.371c-0.556,2.729-0.983,5.503-1.271,8.317C 0.726,41.874, 1.154,39.1, 1.71,36.371zM 227.725,3.577c-7.529,29.403-34.227,43.982-71.444,69.784c-13.536,4.366-28.447,6.937-44.447,7.104
|
||||
c-44.809,0.482-86.554-17.471-110.108-44.186C 9.686-2.574, 44.243-32, 85.343-32l 143.222,0 c 0.908,5.564, 1.348,11.316, 1.348,17.216
|
||||
C 229.913-8.517, 229.146-2.388, 227.725,3.577z" data-tags="google plus, social" />
|
||||
<glyph unicode="" d="M 426.672,480L 85.342,480 C 38.406,480,0,441.593,0,394.656l0-341.313 C0,6.374, 38.406-32, 85.342-32l 341.33,0.001
|
||||
c 46.938,0, 85.328,38.373, 85.328,85.344L 512,394.656 C 512,441.593, 473.609,480, 426.672,480z M 435.296,224L 352,224 l0-224 l-96,0 L 256,224 l-46.263,0 l0,73.282 L 256,297.282
|
||||
l0,47.593 C 256,409.546, 283.896,448, 359.935,448l 87.622,0 l0-79.285 l-71.565,0 c-21.241,0.035-23.876-11.076-23.876-31.756L 352,297.282l 96,0
|
||||
L 435.296,224z" data-tags="facebook, social" />
|
||||
<glyph unicode="" d="M 512,382.791c-18.838-8.354-39.082-14.001-60.33-16.54c 21.686,13, 38.343,33.585, 46.186,58.115
|
||||
c-20.298-12.039-42.778-20.78-66.705-25.49c-19.16,20.415-46.461,33.17-76.673,33.17c-58.011,0-105.044-47.029-105.044-105.039
|
||||
c0-8.233, 0.929-16.25, 2.72-23.939c-87.3,4.382-164.701,46.2-216.509,109.753c-9.042-15.514-14.223-33.558-14.223-52.809
|
||||
c0-36.444, 18.544-68.596, 46.73-87.433c-17.219,0.546-33.416,5.271-47.577,13.139c-0.010-0.438-0.010-0.878-0.010-1.321
|
||||
c0-50.894, 36.209-93.348, 84.261-103c-8.813-2.4-18.094-3.686-27.674-3.686c-6.769,0-13.349,0.66-19.764,1.886
|
||||
c 13.368-41.73, 52.16-72.103, 98.126-72.948c-35.95-28.175-81.243-44.967-130.458-44.967c-8.479,0-16.84,0.497-25.058,1.47
|
||||
c 46.486-29.805, 101.701-47.197, 161.021-47.197c 193.211,0, 298.868,160.062, 298.868,298.872c0,4.554-0.103,9.084-0.305,13.59
|
||||
C 480.11,343.227, 497.918,361.727, 512,382.791z" data-tags="twitter, tweet, social" />
|
||||
<glyph unicode="" d="M 416,416L 96,416 c-52.8,0-96-43.2-96-96l0-192 c0-52.8, 43.2-96, 96-96l 320,0 c 52.8,0, 96,43.2, 96,96L 512,320 C 512,372.8, 468.8,416, 416,416z
|
||||
M 192,96L 192,352 l 160-128L 192,96z" data-tags="youtube, social" />
|
||||
<glyph unicode="" d="M 421.006,185.26c-6.824,6.723-21.957,10.283-44.986,10.586c-15.589,0.172-34.351-1.201-54.085-3.964
|
||||
c-8.837,5.099-17.946,10.647-25.094,17.329c-19.231,17.958-35.284,42.886-45.288,70.297c 0.652,2.56, 1.207,4.81, 1.724,7.106
|
||||
c0,0, 10.833,61.53, 7.965,82.333c-0.395,2.853-0.637,3.681-1.404,5.898l-0.941,2.417c-2.948,6.796-8.724,13.997-17.783,13.604
|
||||
l-5.312,0.169l-0.146,0.003c-10.1,0-18.332-5.166-20.493-12.887c-6.569-24.217, 0.209-60.446, 12.491-107.369l-3.144-7.643
|
||||
c-8.794-21.438-19.815-43.030-29.539-62.079l-1.264-2.476c-10.23-20.019-19.512-37.013-27.927-51.411l-8.688-4.594
|
||||
c-0.632-0.334-15.522-8.209-19.014-10.322c-29.628-17.691-49.261-37.77-52.518-53.708c-1.036-5.085-0.265-11.593, 5.007-14.607
|
||||
l 8.403-4.229c 3.645-1.826, 7.489-2.751, 11.427-2.751c 21.102,0, 45.6,26.286, 79.348,85.183
|
||||
c 38.965,12.684, 83.327,23.228, 122.207,29.045c 29.629-16.684, 66.071-28.273, 89.071-28.273c 4.084,0, 7.606,0.389, 10.466,1.148
|
||||
c 4.411,1.168, 8.129,3.683, 10.396,7.096c 4.463,6.716, 5.367,15.966, 4.156,25.438C 425.68,179.411, 423.435,182.887, 421.006,185.26z
|
||||
M 105.823,72.976c 3.848,10.521, 19.080,31.322, 41.602,49.778c 1.416,1.148, 4.904,4.416, 8.097,7.451
|
||||
C 131.971,92.643, 116.199,77.672, 105.823,72.976z M 239.217,380.157c 6.783,0, 10.642-17.097, 10.962-33.127
|
||||
c 0.32-16.030-3.429-27.28-8.079-35.604c-3.851,12.324-5.713,31.75-5.713,44.452C 236.387,355.878, 236.104,380.157, 239.217,380.157z
|
||||
M 199.426,161.253c 4.725,8.458, 9.641,17.378, 14.665,26.839c 12.246,23.158, 19.979,41.278, 25.739,56.173
|
||||
c 11.455-20.842, 25.722-38.56, 42.493-52.756c 2.092-1.771, 4.309-3.551, 6.637-5.325C 254.855,179.436, 225.378,171.229, 199.426,161.253z
|
||||
M 414.452,163.174c-2.077-1.299-8.027-2.050-11.854-2.050c-12.353,0-27.636,5.647-49.063,14.833
|
||||
c 8.234,0.609, 15.781,0.919, 22.55,0.919c 12.391,0, 16.060,0.054, 28.175-3.036S 416.529,164.473, 414.452,163.174zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-pdf, file, format, pdf" />
|
||||
<glyph unicode="" d="M 319.889,242.054L 341.995,242.054L 316.489,128.965L 283.326,287.97L 230.051,287.97L 191.494,128.965L 162.586,287.97L 106.889,287.97L 163.435,32.029L 217.854,32.029L 256.001,183.383L 290.129,32.029L 340.297,32.029L 405.112,287.97L 319.889,287.97
|
||||
zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-word, file, format, word, docx" />
|
||||
<glyph unicode="" d="M 371.514,288L 303.867,288L 256.001,217.484L 208.131,288L 140.487,288L 221.568,166.768L 130.081,32L 261.201,32L 261.201,77.788L 230.923,77.788L 256.001,115.285L 311.699,32L 381.92,32L 290.432,166.768 zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-excel, file, format, excel, xlc" />
|
||||
<glyph unicode="" d="M 96,224l 96,0 l0-32 L 96,192 L 96,224 z M 96,160l 96,0 l0-32 L 96,128 L 96,160 z M 96,96l 96,0 l0-32 L 96,64 L 96,96 z M 451.716,380.285l-71.432,71.431
|
||||
C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0 c 22,0, 40,18, 40,40L 480,312
|
||||
C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440 c0,4.336, 3.664,8, 8,8
|
||||
l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 zM 288,128 L 382.396,128 C 374.983,91.484 342.703,64 304,64 C 259.817,64 224,99.817 224,144 C 224,182.703 251.485,214.983 288,222.396 L 288,128 ZM 336,256 C 380.183,256 416,220.183 416,176 C 416,170.521 415.446,165.17 414.396,160 L 320,160 L 320,254.396 C 325.17,255.446 330.521,256 336,256 Z" data-tags="file-powerpoint" />
|
||||
<glyph unicode="" d="M 224,192L 192,224L 96,128L 192,32L 224,64L 160,128 zM 288,64L 320,32L 416,128L 320,224L 288,192L 352,128 zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-xml, file, format, code, html, xml" />
|
||||
<glyph unicode="" d="M 192,174.277L 192,231.39 c0,7.564, 3.348,14.718, 9.427,20.143c 6.080,5.424, 14.096,8.413, 22.573,8.413l0,28.555
|
||||
c-35.2,0-64-25.7-64-57.111l0-42.833 c0-7.886-7.164-14.279-16-14.279l-16,0 l0-28.555 l 16,0 c 8.837,0, 16-6.395, 16-14.279l0-42.838
|
||||
c0-31.407, 28.8-57.107, 64-57.107l0,28.556 c-8.477,0-16.494,2.988-22.573,8.413c-6.079,5.426-9.427,12.577-9.427,20.139l0,57.117
|
||||
c0,7.885-7.164,14.277-16,14.277C 184.837,160, 192,166.395, 192,174.277zM 320,145.723l0-57.117 c0-7.562-3.348-14.713-9.427-20.139c-6.079-5.425-14.095-8.413-22.573-8.413l0-28.556
|
||||
c 35.201,0, 64,25.7, 64,57.107l0,42.838 c0,7.886, 7.164,14.279, 16,14.279l 16,0 l0,28.555 l-16,0 c-8.836,0-16,6.395-16,14.279L 352,231.39
|
||||
c0,31.412-28.799,57.111-64,57.111l0-28.555 c 8.479,0, 16.494-2.989, 22.573-8.415c 6.080-5.424, 9.427-12.578, 9.427-20.142l0-57.114
|
||||
c0-7.883, 7.164-14.276, 16-14.276C 327.164,160, 320,153.605, 320,145.723zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-css, file, format, code, css" />
|
||||
<glyph unicode="" d="M 505.216,60.624l-191.984,384C 302.4,466.304, 280.256,480, 256,480s-46.4-13.696-57.232-35.376
|
||||
l-191.984-384c-9.92-19.84-8.864-43.408, 2.8-62.288C 21.248-20.512, 41.84-32, 64.016-32l 383.952,0 c 22.192,0, 42.784,11.488, 54.432,30.336
|
||||
C 514.064,17.216, 515.12,40.784, 505.216,60.624z M 287.968,48c0-8.848-7.152-16-16-16l-32,0 c-8.848,0-16,7.152-16,16l0,32 c0,8.848, 7.152,16, 16,16l 32,0
|
||||
c 8.848,0, 16-7.152, 16-16L 287.968,48 z M 287.968,176c0-8.848-7.152-16-16-16l-32,0 c-8.848,0-16,7.152-16,16L 223.968,336 c0,8.832, 7.152,16, 16,16l 32,0 c 8.848,0, 16-7.168, 16-16
|
||||
L 287.968,176 z" data-tags="warning, alert" />
|
||||
<glyph unicode="" d="M 480,224c0-123.712-100.288-224-224-224S 32,100.288, 32,224c0,54.528, 19.616,104.368, 52,143.2
|
||||
c 2.464,4.544, 5.888,8.496, 10.16,11.36c 0.72,0.752, 1.36,1.6, 2.096,2.336c 0.016-0.368, 0.176-0.72, 0.208-1.088C 101.088,382.4, 106.336,384, 112,384
|
||||
c 17.664,0, 32-14.336, 32-32c0-11.136-5.68-20.928-14.32-26.656C 130.24,324.928, 130.64,324.416, 131.216,324C 109.216,296.608, 96,261.872, 96,224
|
||||
c0-88.368, 71.632-160, 160-160s 160,71.632, 160,160c0,37.872-13.216,72.608-35.216,100c 0.576,0.416, 0.992,0.928, 1.536,1.344
|
||||
C 373.68,331.072, 368,340.864, 368,352c0,17.664, 14.336,32, 32,32c 5.664,0, 10.912-1.6, 15.536-4.192c 0.032,0.368, 0.192,0.72, 0.224,1.088
|
||||
c 0.72-0.736, 1.36-1.584, 2.096-2.336c 4.272-2.864, 7.68-6.816, 10.16-11.36C 460.368,328.368, 480,278.528, 480,224z M 272,192l-32,0
|
||||
c-8.848,0-16,7.152-16,16L 224,432 c0,8.832, 7.152,16, 16,16l 32,0 c 8.848,0, 16-7.168, 16-16l0-224 C 288,199.152, 280.848,192, 272,192z" data-tags="switch, power" />
|
||||
<glyph unicode="" d="M 399.712,324.512c 5.968-5.968, 15.648-5.968, 21.6,0l 84.528,66.544
|
||||
c 14.064-44.224, 4.128-94.432-30.96-129.52c-33.472-33.488-80.736-44.032-123.424-32.768l-100.256-100.256c 11.264-42.704, 0.704-89.952-32.752-123.424
|
||||
c-35.088-35.088-85.312-45.024-129.536-30.96l 66.576,84.512c 5.968,5.984, 5.968,15.648,0,21.616l-43.2,43.184c-5.968,5.968-15.648,5.968-21.6,0
|
||||
l-84.528-66.544c-14.064,44.224-4.128,94.416, 30.944,129.504c 33.488,33.488, 80.736,44.048, 123.44,32.768l 100.272,100.272
|
||||
c-11.28,42.688-0.72,89.952, 32.736,123.424c 35.088,35.088, 85.312,45.024, 129.552,30.976l-66.576-84.544c-5.952-5.952-5.952-15.632,0-21.584
|
||||
L 399.712,324.512z" data-tags="wrench, settings, options, preferences" />
|
||||
<glyph unicode="" d="M 370.857,102.286q0-11.429 -8-19.429l-38.857-38.857q-8-8 -19.429-8t-19.429,8l-84,84l-84-84q-8-8 -19.429-8t-19.429,8l-38.857,38.857q-8,8 -8,19.429t 8,19.429l 84,84l-84,84q-8,8 -8,19.429t 8,19.429l 38.857,38.857q 8,8 19.429,8t 19.429-8l 84-84l 84,84q 8,8 19.429,8t 19.429-8l 38.857-38.857q 8-8 8-19.429 t-8-19.429l-84-84l 84-84q 8-8 8-19.429z" horiz-adv-x="402.286" data-tags="remove, cancel, close, delete, mutiply" />
|
||||
<glyph unicode="" d="M 477.429,318.286q0-11.429 -8-19.429l-206.857-206.857l-38.857-38.857q-8-8 -19.429-8t-19.429,8l-38.857,38.857l-103.429,103.429q-8,8 -8,19.429t 8,19.429l 38.857,38.857q 8,8 19.429,8t 19.429-8l 84-84.286l 187.429,187.714q 8,8 19.429,8t 19.429-8l 38.857-38.857q 8-8 8-19.429z" data-tags="ok, checkmark, tick, correct" />
|
||||
<glyph unicode="" d="M 402.286,269.714l0-54.857 q0-11.429 -8-19.429t-19.429-8l-118.857,0 l0-118.857 q0-11.429 -8-19.429t-19.429-8l-54.857,0 q-11.429,0 -19.429,8t-8,19.429l0,118.857 l-118.857,0 q-11.429,0 -19.429,8t-8,19.429l0,54.857 q0,11.429 8,19.429t 19.429,8l 118.857,0 l0,118.857 q0,11.429 8,19.429t 19.429,8l 54.857,0 q 11.429,0 19.429-8t 8-19.429l0-118.857 l 118.857,0 q 11.429,0 19.429-8t 8-19.429z" horiz-adv-x="402.286" data-tags="plus, add, sum" />
|
||||
<glyph unicode="" d="M 402.286,269.714l0-54.857 q0-11.429 -8-19.429t-19.429-8l-347.429,0 q-11.429,0 -19.429,8t-8,19.429l0,54.857 q0,11.429 8,19.429t 19.429,8l 347.429,0 q 11.429,0 19.429-8t 8-19.429z" horiz-adv-x="402.286" data-tags="minus, remove, delete, subtract" />
|
||||
<glyph unicode="" d="M 348.916,316.476l-32.476,32.461L 154.035,186.566c-26.907-26.896-26.907-70.524,0-97.422
|
||||
c 26.902-26.896, 70.53-26.896, 97.437,0l 194.886,194.854c 44.857,44.831, 44.857,117.531,0,162.363
|
||||
c-44.833,44.852-117.556,44.852-162.391,0L 79.335,241.788l 0.017-0.016c-0.145-0.152-0.306-0.288-0.438-0.423
|
||||
c-62.551-62.548-62.551-163.928,0-226.453c 62.527-62.528, 163.934-62.528, 226.494,0c 0.137,0.137, 0.258,0.284, 0.41,0.438l 0.016-0.017
|
||||
l 139.666,139.646l-32.493,32.46L 273.35,47.792l-0.008,0 c-0.148-0.134-0.282-0.285-0.423-0.422
|
||||
c-44.537-44.529-116.99-44.529-161.538,0c-44.531,44.521-44.531,116.961,0,161.489c 0.152,0.152, 0.302,0.291, 0.444,0.423l-0.023,0.030
|
||||
l 204.64,204.583c 26.856,26.869, 70.572,26.869, 97.443,0c 26.856-26.867, 26.856-70.574,0-97.42L 218.999,121.625
|
||||
c-8.968-8.961-23.527-8.961-32.486,0c-8.947,8.943-8.947,23.516,0,32.46L 348.916,316.476z" data-tags="attachment, paperclip" />
|
||||
<glyph unicode="" d="M 255.616,418.56L 255.616,320.563L 435.251,320.589L 435.251,127.258L 255.616,127.258L 255.616,29.44L 61.491,224 z" data-tags="arrow-left, left, previous" />
|
||||
<glyph unicode="" d="M 450.56,224.384L 352.563,224.358L 352.589,44.749L 159.258,44.749L 159.258,224.384L 61.44,224.358L 256.026,418.509 z" data-tags="arrow-up- upload, top" />
|
||||
<glyph unicode="" d="M 256.384,418.56L 256.384,320.563L 76.749,320.589L 76.749,127.258L 256.384,127.258L 256.384,29.44L 450.509,224 z" data-tags="arrow-right, right, next" />
|
||||
<glyph unicode="" d="M 450.56,223.616L 352.563,223.642L 352.589,403.251L 159.258,403.251L 159.258,223.616L 61.44,223.642L 256,29.491 z" data-tags="arrow-down, download, bottom" />
|
||||
<glyph unicode="" d="M 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0 c 22,0, 40,18, 40,40
|
||||
L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440 c0,4.336, 3.664,8, 8,8
|
||||
l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file, paper, page, new, empty, blank, document" />
|
||||
<glyph unicode="" d="M 208,416L 256,416L 256,384L 208,384zM 160,384L 208,384L 208,352L 160,352zM 208,352L 256,352L 256,320L 208,320zM 160,320L 208,320L 208,288L 160,288zM 208,288L 256,288L 256,256L 208,256zM 160,256L 208,256L 208,224L 160,224zM 208,224l0-32 l-48,0 l0-112 c0-8.837, 7.163-16, 16-16l 64,0 c 8.837,0, 16,7.163, 16,16L 256,224 L 208,224 z M 240,96l-64,0 l0,32 l 64,0 L 240,96 zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-zip, zip" />
|
||||
<glyph unicode="" d="M0,448l0-448 l 512,0 L 512,448 L0,448 z M 480,32L 32,32 L 32,416 l 448,0 L 480,32 zM 448,384L 64,384 l0-320 l 384,0 L 448,384 z M 224,224l-32,0 l0-32 l-32,0 l0-32 l-32,0 l0,32 l 32,0 l0,32 l 32,0 l0,32 l-32,0 l0,32 l-32,0 l0,32 l 32,0 l0-32 l 32,0 l0-32 l 32,0 L 224,224 z M 352,160l-96,0
|
||||
l0,32 l 96,0 L 352,160 z" data-tags="console, command line, terminal" />
|
||||
<glyph unicode="" d="M 480-32L 32-32 c-17.664,0-32,14.336-32,32L0,448 c0,17.664, 14.336,32, 32,32l 384,0 l 96-96l0-384
|
||||
C 512-17.664, 497.664-32, 480-32z M 128,48c0-8.848, 7.168-16, 16-16l 224,0 c 8.848,0, 16,7.152, 16,16l0,128 c0,8.848-7.152,16-16,16L 144,192 c-8.832,0-16-7.152-16-16L 128,48 z
|
||||
M 352,400c0,8.848-7.152,16-16,16s-16-7.152-16-16l0-48 c0-8.848, 7.152-16, 16-16s 16,7.152, 16,16L 352,400 z M 448,368l-48,48l-16,0 l0-112 c0-8.848-7.152-16-16-16L 144,288
|
||||
c-8.832,0-16,7.152-16,16L 128,416 L 80,416 C 71.168,416, 64,408.848, 64,400l0-352 c0-8.848, 7.168-16, 16-16l 16,0 L 96,208 c0,8.848, 7.168,16, 16,16l 288,0 c 8.848,0, 16-7.152, 16-16l0-176 l 16,0
|
||||
c 8.848,0, 16,7.152, 16,16L 448,368 z" data-tags="floppy, disk, save, store" />
|
||||
<glyph unicode="" d="M 379.392,110.131c-63.104,22.989-83.277,42.394-83.277,83.942c0,24.934, 19.277,16.794, 27.725,62.464c 3.507,18.944, 20.531,0.307, 23.808,43.546
|
||||
c0,17.229-9.293,21.53-9.293,21.53s 4.736,25.523, 6.579,45.133C 347.187,391.219, 330.803,454.4, 243.2,454.4C 155.622,454.4, 139.187,391.219, 141.491,366.746
|
||||
C 143.334,347.136, 148.070,321.613, 148.070,321.613S 138.752,317.338, 138.752,300.083c 3.251-43.238, 20.275-24.602, 23.782-43.546
|
||||
c 8.474-45.67, 27.75-37.53, 27.75-62.464c0-41.549-20.173-60.954-83.277-83.942c-63.334-23.040-104.448-46.566-104.448-62.618c0-16.026,0-53.888,0-53.888
|
||||
l 240.64,0 l 240.64,0 c0,0,0,37.862,0,53.888C 483.84,63.539, 442.701,87.066, 379.392,110.131z" data-tags="user, group, profile, avatar, persona" />
|
||||
<glyph unicode="" d="M 464,416L 48,416 C 21.488,416,0,394.512,0,368l0-288 c0-26.496, 21.488-48, 48-48l 416,0 c 26.512,0, 48,21.504, 48,48L 512,368 C 512,394.512, 490.512,416, 464,416z M 43.856,64.16
|
||||
L 32.16,75.872l 131.984,131.968l 11.696-11.712L 43.856,64.16z M 468.144,64.16l-131.984,131.968l 11.696,11.712l 131.984-131.968L 468.144,64.16z M 272,170.8
|
||||
L 272,160 l-32,0 l0,10.8 L 32.048,363.6l 20.352,20.352L 256,195.184L 459.6,383.952l 20.352-20.352L 272,170.8z" data-tags="envelope, mail, email, contact" />
|
||||
<glyph unicode="" d="M 316.851,110.131C 253.082,133.12, 232.704,152.525, 232.704,194.074c0,24.934, 19.482,16.794, 28.032,62.464c 3.558,18.944, 20.762,0.307, 24.013,43.546
|
||||
c0,17.229-9.37,21.53-9.37,21.53s 4.787,25.523, 6.63,45.133C 284.314,391.219, 267.725,454.4, 179.2,454.4S 74.086,391.219, 76.39,366.746
|
||||
c 1.869-19.635, 6.656-45.133, 6.656-45.133S 73.651,317.338, 73.651,300.083c 3.302-43.238, 20.506-24.602, 24.013-43.546
|
||||
c 8.576-45.67, 28.058-37.53, 28.058-62.464c0-41.549-20.403-60.954-84.173-83.942c-7.68-2.739-25.984-7.040-41.549-13.773L0-6.4 l 409.6,0
|
||||
c0,0,0,37.862,0,53.888S 380.851,87.066, 316.851,110.131z M 435.2,249.6L 435.2,326.4 l-51.2,0 l0-76.8 l-76.8,0 l0-51.2 l 76.8,0 l0-76.8 l 51.2,0 l0,76.8 l 76.8,0 L 512,249.6 L 435.2,249.6 z" data-tags="user-add" />
|
||||
<glyph unicode="" d="M 256,384C 144.341,384, 47.559,318.979,0,224c 47.559-94.979, 144.341-160, 256-160c 111.657,0, 208.439,65.021, 256,160
|
||||
C 464.442,318.979, 367.657,384, 256,384z M 382.225,299.148c 30.081-19.187, 55.571-44.887, 74.717-75.148
|
||||
c-19.146-30.261-44.637-55.961-74.718-75.149C 344.427,124.743, 300.779,112, 256,112c-44.78,0-88.428,12.743-126.225,36.852
|
||||
C 99.695,168.038, 74.205,193.738, 55.058,224c 19.146,30.262, 44.637,55.962, 74.717,75.148c 1.959,1.25, 3.938,2.461, 5.929,3.65
|
||||
C 130.725,289.134, 128,274.387, 128,259c0-70.692, 57.308-128, 128-128s 128,57.308, 128,128c0,15.387-2.725,30.134-7.704,43.799
|
||||
C 378.286,301.61, 380.265,300.398, 382.225,299.148z M 256,275c0-26.51-21.49-48-48-48s-48,21.49-48,48s 21.49,48, 48,48
|
||||
S 256,301.51, 256,275z" data-tags="eye, views, vision, visit" />
|
||||
<glyph unicode="" d="M 194.586,136.499c-6.861-6.938-6.861-18.15,0-25.062c 6.835-6.938, 17.946-6.938, 24.806,0l 98.048,100.019
|
||||
c 6.861,6.938, 6.861,18.15,0,25.062l-98.048,100.045c-6.861,6.938-17.946,6.938-24.806,0S 187.725,318.438, 194.56,311.526L 274.97,224L 194.586,136.499z" data-tags="arrow-right, right, next" />
|
||||
<glyph unicode="" d="M 343.501,285.414c 6.938,6.861, 18.15,6.861, 25.062,0c 6.938-6.861, 6.938-17.946,0-24.806l-100.019-98.048
|
||||
c-6.938-6.861-18.15-6.861-25.062,0l-100.045,98.048c-6.912,6.861-6.912,17.946,0,24.806c 6.938,6.861, 18.125,6.861, 25.062,0L 256,205.030
|
||||
L 343.501,285.414z" data-tags="arrow-down, down, bottom" />
|
||||
<glyph unicode="" d="M 287.935-32L 192-32 L 192,224 l-64,0 l0,88.225 l 64,0.029l-0.104,51.976C 191.896,436.206, 211.413,480, 296.195,480l 70.588,0 l0-88.242 l-44.115,0
|
||||
c-33.016,0-34.603-12.328-34.603-35.342l-0.131-44.162l 79.345,0 l-9.352-88.225L 288,224L 287.935-32z" data-tags="facebook, social" />
|
||||
<glyph unicode="" d="M 96,224c0,6.090, 0.352,12.098, 1.015,18.011l-92.49,30.052C 1.567,256.493,0,240.431,0,224
|
||||
c0-73.615, 31.083-139.961, 80.827-186.662l 57.142,78.648C 111.907,144.449, 96,182.365, 96,224zM 416,224c0-41.634-15.906-79.551-41.969-108.014l 57.142-78.648C 480.917,84.039, 512,150.385, 512,224
|
||||
c0,16.431-1.566,32.493-4.524,48.063l-92.49-30.052C 415.648,236.097, 416,230.090, 416,224zM 288,380.796c 45.967-9.331, 84.772-38.371, 107.225-77.913l 92.489,30.051C 451.116,410.644, 376.594,466.964, 288,478.012L 288,380.796 zM 116.775,302.884c 22.453,39.542, 61.258,68.582, 107.225,77.913L 224,478.012 C 135.406,466.964, 60.885,410.644, 24.287,332.935
|
||||
L 116.775,302.884zM 322.278,78.336C 302.083,69.132, 279.642,64, 256,64s-46.083,5.132-66.277,14.335l-57.146-78.655
|
||||
C 169.18-20.503, 211.245-32, 256-32s 86.82,11.497, 123.424,31.68L 322.278,78.336z" data-tags="spinner, loading, busy, wait, wheel" />
|
||||
<glyph unicode="" d="M 192,480L0,224L 192,224L 64-32L 512,288L 256,288L 448,480 z" data-tags="lightning, power" />
|
||||
<glyph unicode="" d="M 480,384l-9,0 l-430,0 l-9,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.25,22.75t 22.75,9.5l 160,0 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l 160,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25zM 480,32q0-26.5 -18.75-45.25t-45.25-18.75l-320,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,320 l 448,0 l0-320 zM 160,256
|
||||
q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,192 zM 288,256q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,192 zM 416,256q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-192
|
||||
q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,192 z" data-tags="trash" />
|
||||
<glyph unicode="" d="M 448-32l-384,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-16 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.75l0,16 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-48 q0-26.5 -18.75-45.25t-45.25-18.75zM 272.5,103q-7-7 -16.5-7t-16.5,7l-170.5,172.5
|
||||
q-6,6.5 -4.25,9.5t 9.25,3l 118,0 l0,160 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-160 l 117.5,0 q 7.5,0 9.5-3t-4-9.5z" data-tags="download" />
|
||||
<glyph unicode="" d="M 448-32l-384,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-16 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,16 q0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-48 q0-26.5 -18.75-45.25t-45.25-18.75zM 437.5,288l-117.5,0 l0-160 q0-13.5 -9.25-22.75t-22.75-9.25
|
||||
l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,160 l-118,0 q-7.5,0 -9.25,3t 4.25,9.5l 170.5,172.5q 7,7 16.5,7t 16.5-7l 170.5-172.5q 6-6.5 4-9.5t-9.5-3z" data-tags="upload" />
|
||||
<glyph unicode="" d="M 480,192l-160,0 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-160,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 160,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l 160,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 288,256l-64,0 l0-64 l 64,0 l0,64
|
||||
zM 480,384l-32,0 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-288,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 288,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l 32,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 416,448l-64,0 l0-64 l 64,0 l0,64 z
|
||||
M 32,64l 32,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75l 288,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.5-9.5l-288,0 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25zM 96,0l 64,0 l0,64 l-64,0 l0-64 z" data-tags="settings5" />
|
||||
<glyph unicode="" d="M 512,192l0,32 l-96.645,0 c-2.931,36.343-15.893,69.513-35.835,96.125l 80.972,0 l 35.030,140.12l-31.045,7.761l-28.97-115.88l-87.34,0
|
||||
c-0.446,0.347-0.898,0.687-1.349,1.028c 3.355,9.751, 5.181,20.211, 5.181,31.097C 352,437.131, 309.020,480, 256,480s-96-42.869-96-95.75
|
||||
c0-10.886, 1.825-21.346, 5.181-31.097c-0.45-0.342-0.902-0.681-1.349-1.028l-87.34,0 l-28.97,115.88l-31.045-7.761l 35.030-140.12l 80.972,0
|
||||
C 112.537,293.513, 99.576,260.343, 96.645,224L0,224 l0-32 l 96.685,0 c 1.901-22.832, 7.754-44.406, 16.819-63.875L 51.508,128.125 l-35.030-140.119
|
||||
l 31.045-7.762l 28.97,115.881l 56.177,0 C 162.016,57.109, 206.368,32.25, 256,32.25s 93.983,24.859, 123.331,63.875l 56.177,0 l 28.97-115.881
|
||||
l 31.045,7.762l-35.030,140.119l-61.996,0 c 9.065,19.469, 14.918,41.043, 16.818,63.875L 512,192 z" data-tags="bug, virus, error" />
|
||||
<glyph unicode="" d="M 267.313,468.686C 261.091,474.908, 248.8,480, 240,480L 48,480 c-8.8,0-16-7.2-16-16l0-480 c0-8.8, 7.2-16, 16-16l 384,0 c 8.8,0, 16,7.2, 16,16L 448,272
|
||||
c0,8.8-5.091,21.091-11.313,27.313L 267.313,468.686z M 416,0L 64,0 L 64,448 l 175.579,0 c 1.458-0.24, 4.204-1.377, 5.405-2.239l 168.778-168.777
|
||||
c 0.861-1.201, 1.998-3.947, 2.238-5.405L 416,0 zM 432,480l-96,0 c-8.8,0-10.909-5.091-4.687-11.313l 105.373-105.373C 442.909,357.091, 448,359.2, 448,368L 448,464 C 448,472.8, 440.8,480, 432,480
|
||||
z" data-tags="libreoffice, file" />
|
||||
<glyph unicode="" d="M 345.11,244.159c-30.334,14.326-68.986,17.21-97.417-3.024c 34.57,3.302, 72.479-2.419, 97.553-28.562
|
||||
c 24,27.54, 62.057,32.703, 96.479,29.866C 412.981,261.511, 375.115,258.951, 345.11,244.159zM 332.824,177.125c-34.189,0.789-67.217-11.586-95.55-30.052c-53.588,22.794-121.368,18.562-167.001-19.491
|
||||
c 13.165,0.467, 26.003,3.723, 39.028,5.396c 47.591,4.744, 98.294-7.071, 134.256-39.912c 14.886,21.771, 35.822,39.121, 59.826,49.961
|
||||
c 31.537,15.26, 67.080,16.842, 101.41,17.26C 383.949,174.611, 357.485,177.264, 332.824,177.125zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" data-tags="file-openoffice, file, format, openoffice, open office" />
|
||||
<glyph unicode="" d="M 229.665,150.084L 144.338,2.25L 426.665,2.25L 512,150.084 zM 487.806,192L 341.339,445.75L 170.665,445.75L 317.143,192 zM 146.418,403.743L0,150.084L 85.338,2.25L 231.754,255.912 z" data-tags="google-drive, drive" />
|
||||
<glyph unicode="" d="M 480-32l-384,0 q-13,0 -22.5,9.25t-9.5,22.75l0,180 l 139.5-139q 9-9.5 23-8.5l 61.5,0 q 13,0 22.5,9.25t 9.5,22.75l0,63.5 q0,11.5 -9.5,20.5l-246.5,246.5l0,52.5 q0,13.5 9.5,22.75t 22.5,9.25l 224,0 l0-176 q0-6.5 4.5-11.25t 11.5-4.75l 175.5,0 l0-0.5 l0-287 q0-13.5 -9.25-22.75t-22.25-9.25zM 352,480q 13,0 22-9l 128-128.5
|
||||
q 9.5-9.5 9.5-23l-159.5,0 l0,160.5 zM 39.5,258l-34,33.5q-5.5,6 -5.5,14t 5.5,13.5l 27.5,27.5q 5.5,5.5 13.75,5.5t 13.75-5.5l 33.5-33.5zM 288,112.5l0-32 q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-7,0 -13,5.5l-162,162l 55,55l 162-162q 6-6 6-12.5z" data-tags="edit2" />
|
||||
<glyph unicode="" d="M 480,0l-32,0 l0,128 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q0-13.5 -9.25-22.75t-22.75-9.25zM 480,160l-32,0 l0,128 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q0-13.5 -9.25-22.75t-22.75-9.25zM 480,320l-32,0 l0,128 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q0-13.5 -9.25-22.75t-22.75-9.25z
|
||||
M 416,0q0-13 -9.25-22.5t-22.75-9.5l-352,0 q-13,0 -22.5,9.5t-9.5,22.5l0,448 q0,13.5 9.5,22.75t 22.5,9.25l 352,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-448 zM 240,173l0,9 q 48,19.5 48,106q0,31.5 -22.25,47.75t-57.5,16.25t-57.75-16.25t-22.5-47.75q0-84 48-105.5l0-9.5 q-34.5-6 -57-22.5t-23-37.5q0-6 10.75-9.75
|
||||
t 31.5-5.25t 34.25-1.75t 35.5-0.25t 35.5,0.25t 34.25,1.75t 31.5,5.25t 10.75,9.75q-0.5,21 -23,37.5t-57,22.5z" data-tags="phonebook" />
|
||||
<glyph unicode="" d="M 448,416l0-416 L 112,0 c-26.511,0-48,21.49-48,48c0,26.509, 21.489,48, 48,48l 304,0 L 416,480 L 96,480 C 60.801,480, 32,451.2, 32,416l0-384
|
||||
c0-35.2, 28.801-64, 64-64l 384,0 L 480,416 L 448,416 zM 128,64L 416,64L 416,32L 128,32z" data-tags="book, reading" />
|
||||
<glyph unicode="" d="M 256,480 C 116.626,480 3.271,368.619 0.076,230.013 C 3.036,350.945 94.992,448 208,448 C 322.875,448 416,347.712 416,224 C 416,197.49 437.49,176 464,176 C 490.51,176 512,197.49 512,224 C 512,365.385 397.385,480 256,480 ZM 256-32 C 395.374-32 508.729,79.381 511.924,217.987 C 508.964,97.055 417.008,0 304,0 C 189.125,0 96,100.288 96,224 C 96,250.51 74.51,272 48,272 C 21.49,272 0,250.51 0,224 C 0,82.615 114.615-32 256-32 Z" data-tags="spinner, loading, busy, wait, wheel" />
|
||||
<glyph unicode="" d="M 242.286-4.571q0,4.571 -4.571,4.571q-16.857,0 -29,12.143t-12.143,29q0,4.571 -4.571,4.571t-4.571-4.571q0-20.857 14.714-35.571t 35.571-14.714q 4.571,0 4.571,4.571zM 52.286,77.714l 370.857,0 q-46.857,51.714 -70.429,117.571t-23.571,138.429q0,73.143 -91.429,73.143t-91.429-73.143q0-72.571 -23.571-138.429t-70.429-117.571zM 475.429,77.714q0-14.857 -10.857-25.714t-25.714-10.857 l-128,0 q0-30.286 -21.429-51.714t-51.714-21.429t-51.714,21.429t-21.429,51.714l-128,0 q-14.857,0 -25.714,10.857t-10.857,25.714q 54.286,46 82,113.571t 27.714,142.429q0,47.143 27.429,74.857t 75.429,33.429q-2.286,5.143 -2.286,10.571q0,11.429 8,19.429t 19.429,8t 19.429-8t 8-19.429q0-5.429 -2.286-10.571q 48-5.714 75.429-33.429t 27.429-74.857q0-74.857 27.714-142.429t 82-113.571z" horiz-adv-x="475.429" data-tags="bell, alarm, notification" />
|
||||
<glyph unicode="" d="M 488.791,382.769c-16.992,4.854-34.705-4.985-39.56-21.978L 446.72,352L 148.249,352 l-4.496,35.969
|
||||
C 141.751,403.983, 128.138,416, 112,416L 32,416 C 14.327,416,0,401.673,0,384s 14.327-32, 32-32l 51.751,0 l 28.496-227.969
|
||||
C 114.249,108.018, 127.862,96, 144,96l 272,0 c 14.287,0, 26.844,9.472, 30.769,23.209l 64,224
|
||||
C 515.624,360.202, 505.784,377.914, 488.791,382.769z M 256,224l0,32 l 63.998,0 l0-32 L 256,224 z M 319.998,192l0-32 L 256,160 l0,32 L 319.998,192 z M 256,288l0,32
|
||||
l 63.998,0 l0-32 L 256,288 z M 152.249,320L 224,320 l0-32 l-67.751,0 L 152.249,320z M 160.249,256L 224,256 l0-32 l-59.751,0 L 160.249,256z M 168.249,192L 224,192 l0-32 l-51.751,0
|
||||
L 168.249,192z M 391.862,160l-39.864,0 l0,32 l 49.007,0 L 391.862,160z M 410.148,224l-58.15,0 l0,32 l 67.293,0 L 410.148,224z M 428.434,288l-76.436,0
|
||||
l0,32 l 85.579,0 L 428.434,288zM 128,16A48,48 2700 1 1 224,16A48,48 2700 1 1 128,16zM 320,16A48,48 2700 1 1 416,16A48,48 2700 1 1 320,16z" data-tags="cart, ecommerce, shopping, products, purchase, buy, store" />
|
||||
<glyph unicode="" d="M 512,175.953l0,96.094 l-73.387,12.231c-2.979,9.066-6.611,17.834-10.847,26.25l 43.227,60.517l-67.948,67.949l-60.413-43.152
|
||||
c-8.455,4.277-17.269,7.944-26.384,10.951L 304.047,480l-96.094,0 l-12.201-73.208c-9.115-3.007-17.929-6.674-26.383-10.951
|
||||
l-60.414,43.152l-67.949-67.949l 43.227-60.518c-4.235-8.415-7.867-17.183-10.846-26.249L0,272.047l0-96.094 l 73.559-12.26
|
||||
c 2.98-8.984, 6.605-17.674, 10.821-26.015l-43.374-60.724l 67.949-67.948l 60.827,43.447c 8.301-4.175, 16.945-7.764, 25.882-10.717
|
||||
L 207.953-32l 96.094,0 l 12.289,73.737c 8.937,2.953, 17.581,6.542, 25.883,10.716l 60.826-43.446l 67.948,67.948l-43.372,60.723
|
||||
c 4.216,8.341, 7.839,17.031, 10.82,26.016L 512,175.953z M 256,160c-35.346,0-64,28.653-64,64c0,35.346, 28.654,64, 64,64
|
||||
c 35.347,0, 64-28.654, 64-64C 320,188.653, 291.347,160, 256,160z" data-tags="cog, preferences, settings, gear, generate, control, options" />
|
||||
<glyph unicode="" d="M 448,0l-384,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,13 9.25,22.5t 22.75,9.5l 240,0 l 23,42.5q 3.5,9 14,15.25t 22,6.25l 120,0 q 12,0 22.5-6.25t 14-15.25l 24.5-42.5l0-288 q0-26.5 -18.75-45.25t-45.25-18.75zM 448,320q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t-14-22.5t-34-9.25l-192,0
|
||||
q-6.5,0 -11.25-4.75t-4.75-11.25l0-192 q0-6.5 4.75-11.25t 11.25-4.75l 352,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,240 zM 23,426q 3.5,9.5 14,15.75t 22,6.25l 120,0 q 12,0 22.5-6.25t 14.5-15.75l 24-42l-240,0 z" data-tags="legacyfilemanager" />
|
||||
<glyph unicode="" d="M 512.5,248.5l-101-112l 14.5-148.5q-1.5-10 -9.5-15.75t-18-3.75l-139.5,59.5l-139.5-59.5q-10-2 -18,4t-9.5,15.5l 14.5,148.5l-101,112q-4.5,8.5 -1.25,18t 11.75,14l 149,32l 77,129q 7,7 17,7t 17-7l 77-129l 149-32q 8.5-4.5 11.75-14t-1.25-18z" data-tags="favorite" />
|
||||
<glyph unicode="" d="M 512.5,248.5l-101-112l 14.5-148.5q-1.5-10 -9.5-15.75t-18-3.75l-139.5,59.5l-139.5-59.5q-10-2 -18,3.75t-9.5,15.75l 14.5,148.5l-101,112q-4.5,8.5 -1.25,18t 11.75,14l 149,32l 77,129q 7,7 17,7t 17-7l 77-129l 149-32q 8.5-4.5 11.75-14t-1.25-18zM 425.5,251l-102,22.5l-53,90q-5,5 -11.75,5
|
||||
t-11.75-5l-53-90l-102.5-22.5q-6-3.5 -8-10t 1-12.5l 70.5-80l-8-100q 1-7.5 5.25-12.5t 10.25-4l 96,42l 96-42q 6.5-1 10.75,4t 5.25,12.5l-8,100.5l 70.5,79.5q 3,6 0.75,12.5t-8.25,10z" data-tags="favorite2" />
|
||||
<glyph unicode="" d="M 402.5,118l-146.5-150l-147,150q-59.5,61 -84.25,115.5t-24.75,118.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0-63.5 -24.75-118.25t-84.75-115.75z" data-tags="loved" />
|
||||
<glyph unicode="" d="M 402.5,118l-146.5-150l-147,150q-59.5,61 -84.25,115.5t-24.75,118.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0-63.5 -24.75-118.25t-84.75-115.75zM 448,352q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25l0-0.5 q0-8.5 -20-20t-44-11.5
|
||||
q-25,0 -44.5,11t-19.5,21l0,0 q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25l0-0.5 q0-53 18-95.25t 63.5-95.25l 110.5-113l 110,113q 46,53.5 64,95.5t 18,95.5l0,0 z" data-tags="love" />
|
||||
<glyph unicode="" d="M 480-32l-191.5,0 q-13.5,0 -22.75,9.25t-9.25,22.75l 67.5,67.5l-74.5,72.5q-9,9.5 -9,22.75t 9,22.75l 46,45.5q 9,9 22.5,9t 23-9l 73.5-72.5l 65.5,65q 13.5,0 22.75-9.25t 9.25-22.75l0-191.5 q0-13.5 -9.25-22.75t-22.75-9.25zM 217,217q-9.5-9.5 -22.75-9.5t-22.75,9.5l-74,72.5l-65.5-65.5
|
||||
q-13,0 -22.5,9.5t-9.5,22.5l0,192 q0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.75l-67.5-67.5l 74.5-73q 9.5-9 9.5-22.5t-9.5-22.5z" data-tags="scaleup" />
|
||||
<glyph unicode="" d="M 502.5,69.5q 9.5-9.5 9.5-23t-9.5-23l-45.5-46q-9.5-9.5 -22.75-9.5t-22.75,9.5l-57,57l-66.5-66.5q-13.5,0 -22.75,9.5t-9.25,22.5l0,192.5 q0,13 9.25,22.5t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.5l-66.5-66.5zM 224,224.5l-191.5,0 q-13.5,0 -22.75,9.25t-9.25,22.75l 66,66l-57,56.5q-9.5,9.5 -9.5,23t 9.5,23
|
||||
l 45.5,46q 9.5,9.5 23,9.5t 23-9.5l 57-57l 66,66q 13.5,0 22.75-9.25t 9.25-22.75l0-191.5 q0-13.5 -9.5-22.75t-22.5-9.25z" data-tags="scaledown" />
|
||||
<glyph unicode="" d="M 448,96l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 q0-26.5 -18.75-45.25t-45.25-18.75zM 448,384q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 116,0 l-139.5-139.5
|
||||
q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 140,140l0-117 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,192 zM 416-0.25q0-13.25 -9.25-22.5t-22.75-9.25l-320,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,320 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-288 q0-13.5 9.25-22.75
|
||||
t 22.75-9.25l 288,0 q 13,0 22.5-9.5t 9.5-22.75z" data-tags="opennewwindow" />
|
||||
<glyph unicode="" d="M 438.857,406.857l0-128 q0-7.429 -5.429-12.857t-12.857-5.429l-128,0 q-12,0 -16.857,11.429q-4.857,11.143 4,19.714l 39.429,39.429q-42.286,39.143 -99.714,39.143q-29.714,0 -56.714-11.571t-46.714-31.286t-31.286-46.714t-11.571-56.714t 11.571-56.714t 31.286-46.714t 46.714-31.286t 56.714-11.571q 48.286,0 86.857,28.429t 52.857,74.714q 2,6.571 8.571,6.571l 56.857,0 q 4.571,0 7.143-3.429q 2.857-3.714 2-7.714q-11.143-50 -42.143-89.143t-76-60.857t-96.143-21.714q-44.571,0 -85.143,17.429t-70,46.857t-46.857,70t-17.429,85.143t 17.429,85.143t 46.857,70t 70,46.857t 85.143,17.429q 42,0 81.286-15.857t 69.857-44.714l 37.143,36.857q 8.286,8.857 20,4q 11.143-4.857 11.143-16.857z" horiz-adv-x="438.857" data-tags="repeat, loop, reload, refresh, synchronize" />
|
||||
<glyph unicode="" d="M 438.857,96l0-36.571 q0-7.429 -5.429-12.857t-12.857-5.429l-402.286,0 q-7.429,0 -12.857,5.429t-5.429,12.857l0,36.571 q0,7.429 5.429,12.857t 12.857,5.429l 402.286,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 438.857,242.286l0-36.571 q0-7.429 -5.429-12.857t-12.857-5.429l-402.286,0 q-7.429,0 -12.857,5.429t-5.429,12.857l0,36.571 q0,7.429 5.429,12.857t 12.857,5.429l 402.286,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 438.857,388.571l0-36.571 q0-7.429 -5.429-12.857 t-12.857-5.429l-402.286,0 q-7.429,0 -12.857,5.429t-5.429,12.857l0,36.571 q0,7.429 5.429,12.857t 12.857,5.429l 402.286,0 q 7.429,0 12.857-5.429t 5.429-12.857z" horiz-adv-x="438.857" data-tags="reorder, list, menu" />
|
||||
<glyph unicode="" d="M 512,96q0-53 -37.5-90.5t-90.5-37.5q-51.5,0 -88.5,35.5q-20.5-3.5 -39.5-3.5q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87q0,18.5 3.5,39.5q-35.5,37 -35.5,88.5q0,53 37.5,90.5t 90.5,37.5q 51.5,0 88.5-35.5q 20.5,3.5 39.5,3.5q 45.5,0 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87q0-19 -3.5-39.5q 35.5-37 35.5-88.5
|
||||
zM 256,320q 26.5,0 45.25-9.25t 18.75-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,40 -37.5,68t-90.5,28t-90.5-28t-37.5-68t 37.5-68t 90.5-28q 26.5,0 45.25-9.25t 18.75-22.75t-18.75-22.75t-45.25-9.25t-45.25,9.5t-18.75,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.75q0-40 37.5-68t 90.5-28
|
||||
t 90.5,28t 37.5,68t-37.5,68t-90.5,28q-26.5,0 -45.25,9.5t-18.75,22.75t 18.75,22.5t 45.25,9.25z" data-tags="skype" />
|
||||
<glyph unicode="" d="M 156.39,456.909L 10.24,365.875l 100.122-83.942L 256,376.525L 156.39,456.909z M 344.371,70.554c-2.611,0-5.197,0.896-7.296,2.662L 256,140.442
|
||||
l-81.075-67.251c-2.099-1.741-4.71-2.662-7.296-2.662c-2.176,0-4.352,0.589-6.246,1.843l-60.058,39.296l0-23.194 L 256-8.909l 154.675,97.408
|
||||
l0,23.194 l-60.058-39.296C 348.723,71.142, 346.547,70.554, 344.371,70.554z M 501.76,365.875l-146.15,91.034L 256,376.525l 145.613-94.566L 501.76,365.875z
|
||||
M 256,190.95l 90.291-74.957l 144.435,94.413l-89.088,71.526L 256,190.95z M 165.709,115.994L 256,190.95L 110.387,281.958l-89.088-71.552L 165.709,115.994z" data-tags="dropbox, social" />
|
||||
<glyph unicode=" " horiz-adv-x="256" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 52 KiB |
BIN
rainloop/v/1.3.10.492/static/css/fonts/icomoon.eot
Normal file
308
rainloop/v/1.3.10.492/static/css/fonts/icomoon.svg
Normal file
|
|
@ -0,0 +1,308 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>
|
||||
This is a custom SVG font generated by IcoMoon.
|
||||
<iconset grid="16"></iconset>
|
||||
</metadata>
|
||||
<defs>
|
||||
<font id="icomoon" horiz-adv-x="512" >
|
||||
<font-face units-per-em="512" ascent="480" descent="-32" />
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
||||
<glyph unicode="" d="M 478.566,412.544C 469.786,409.446, 35.149,256.307, 26.598,253.286c-7.27-2.56-8.909-8.832-0.256-12.262
|
||||
c 10.266-4.122, 97.178-38.938, 97.178-38.938L 123.494,202.086 l 57.626-23.091c0,0, 277.427,203.75, 281.19,206.49c 3.763,2.765, 8.141-2.432, 5.402-5.402
|
||||
c-2.739-2.995-201.498-217.958-201.498-217.958c-0.026,0-0.026,0-0.026,0l-11.571-12.902l 15.334-8.243l0,0c0,0, 119.040-64.077, 127.514-68.659
|
||||
c 7.424-3.994, 17.101-0.666, 19.251,8.576c 2.534,10.906, 72.832,313.907, 74.394,320.614C 493.158,410.291, 487.373,415.642, 478.566,412.544z M 180.608,40.653
|
||||
c0-6.323, 3.558-8.064, 8.474-3.61c 6.4,5.837, 72.934,65.536, 72.934,65.536l-81.408,42.138L 180.608,40.653 z" />
|
||||
<glyph unicode="" d="M 486.4,49.92c0,0-51.2,249.165-275.84,249.165L 210.56,398.080 L 25.6,232.832l 184.96-171.29l0,111.565 C 332.493,173.107, 422.835,162.304, 486.4,49.92z" />
|
||||
<glyph unicode="" d="M 184.96,329.472L 184.96,398.080 L0,232.832l 184.96-171.29l0,71.142 L 76.8,232.832L 184.96,329.472z M 312.96,299.11L 312.96,398.080 L 128,232.832l 184.96-171.29l0,111.565
|
||||
c 84.301,0, 135.475-10.803, 199.040-123.187C 512,49.92, 502.605,299.11, 312.96,299.11z" />
|
||||
<glyph unicode="" d="M 301.44,173.107l0-111.539 L 486.4,232.832L 301.44,398.080l0-98.97 C 76.8,299.11, 25.6,49.92, 25.6,49.92C 89.165,162.304, 179.507,173.107, 301.44,173.107z" />
|
||||
<glyph unicode="" d="M 449.152,84.019l-96.742,96.742c 14.592,23.987, 22.989,52.096, 22.989,82.227c0,87.45-75.802,163.251-163.277,163.251
|
||||
C 124.672,426.24, 53.76,355.328, 53.76,267.878c0-87.475, 75.776-163.277, 163.251-163.277c 29.082,0, 56.32,7.885, 79.744,21.581l 97.254-97.28
|
||||
c 9.549-9.523, 24.96-9.523, 34.458,0l 24.141,24.115C 462.106,62.541, 458.65,74.522, 449.152,84.019z M 102.502,267.878
|
||||
c0,60.544, 49.075,109.645, 109.619,109.645c 60.57,0, 114.534-53.965, 114.534-114.534s-49.075-109.645-109.645-109.645S 102.502,207.309, 102.502,267.878z" />
|
||||
<glyph unicode="" d="M 179.2,249.6L 25.6,249.6 c-14.131,0-25.6-11.469-25.6-25.6s 11.469-25.6, 25.6-25.6l 153.6,0 c 14.131,0, 25.6,11.469, 25.6,25.6S 193.331,249.6, 179.2,249.6z M 179.2,147.2L 25.6,147.2 c-14.131,0-25.6-11.443-25.6-25.6s 11.469-25.6, 25.6-25.6l 153.6,0
|
||||
c 14.131,0, 25.6,11.443, 25.6,25.6S 193.331,147.2, 179.2,147.2z M 496.64,249.6L 409.6,249.6 L 409.6,336.64 C 409.6,350.771, 398.157,352, 384,352s-25.6-1.229-25.6-15.36L 358.4,249.6 l-84.48,0 C 259.763,249.6, 258.56,238.131, 258.56,224
|
||||
s 1.229-25.6, 15.386-25.6L 358.4,198.4 l0-87.040 c0-14.131, 11.443-15.36, 25.6-15.36s 25.6,1.229, 25.6,15.36L 409.6,198.4 l 87.040,0 c 14.131,0, 15.36,11.469, 15.36,25.6S 510.771,249.6, 496.64,249.6z M 179.2,352L 25.6,352
|
||||
C 11.469,352,0,340.531,0,326.4s 11.469-25.6, 25.6-25.6l 153.6,0 c 14.131,0, 25.6,11.469, 25.6,25.6S 193.331,352, 179.2,352z" />
|
||||
<glyph unicode="" d="M 318.259,480c 34.304,0, 51.456-23.398, 51.456-50.125c0-33.382-29.798-64.282-68.557-64.282c-32.512,0-51.456,19.2-50.56,50.918
|
||||
C 250.598,443.264, 273.126,480, 318.259,480z M 212.71-32c-27.085,0-46.925,16.691-27.981,90.189l 31.078,130.33c 5.402,20.864, 6.298,29.235,0,29.235
|
||||
c-8.141,0-43.264-14.413-64.051-28.621L 138.24,211.686c 65.869,55.962, 141.619,88.755, 174.106,88.755c 27.059,0, 31.539-32.563, 18.048-82.662l-35.61-137.011
|
||||
c-6.298-24.218-3.61-32.563, 2.688-32.563c 8.141,0, 34.739,10.061, 60.902,30.925l 15.36-20.864C 309.709-6.912, 239.77-32, 212.71-32z" />
|
||||
<glyph unicode="" d="M 153.626,341.76L 153.6,106.24L 358.4,224 z" />
|
||||
<glyph unicode="" d="M 373.76,326.374L 138.24,326.4L 256,121.6 z" />
|
||||
<glyph unicode="" d="M 76.8,280.32c-31.104,0-56.32-25.216-56.32-56.32c0-31.104, 25.216-56.32, 56.32-56.32s 56.32,25.216, 56.32,56.32C 133.12,255.104, 107.904,280.32, 76.8,280.32z M 256,280.32
|
||||
c-31.104,0-56.32-25.216-56.32-56.32c0-31.104, 25.216-56.32, 56.32-56.32s 56.294,25.216, 56.294,56.32C 312.294,255.104, 287.104,280.32, 256,280.32z M 435.2,280.32
|
||||
c-31.104,0-56.32-25.216-56.32-56.32c0-31.104, 25.216-56.32, 56.32-56.32s 56.32,25.216, 56.32,56.32C 491.52,255.104, 466.304,280.32, 435.2,280.32z" />
|
||||
<glyph unicode="" d="M 432,480 C 476.182,480 512,444.183 512,400 C 512,381.99 506.045,365.371 496,352 L 464,320 L 352,432 L 384,464 C 397.371,474.045 413.989,480 432,480 ZM 32,112L0-32l 144,32l 296,296L 328,408L 32,112z M 357.789,298.211l-224-224l-27.578,27.578l 224,224L 357.789,298.211z" />
|
||||
<glyph unicode="" d="M0,416l0-416 l 512,0 L 512,416 L0,416 z M 480,32L 32,32 L 32,384 l 448,0 L 480,32 zM 352,304A48,48 2700 1 1 448,304A48,48 2700 1 1 352,304zM 448,64 L 64,64 L 160,320 L 288,160 L 352,208 Z" />
|
||||
<glyph unicode="" d="M 160,384 L 512,480 L 512,448 L 512,384 L 512,112 C 512,67.817 461.855,32 400,32 C 338.145,32 288,67.817 288,112 C 288,156.183 338.145,192 400,192 C 417.179,192 433.451,189.234 448,184.297 L 448,349.091 L 224,288 L 224,48 C 224,3.817 173.856-32 112-32 C 50.144-32 0,3.817 0,48 C 0,92.183 50.144,128 112,128 C 129.179,128 145.451,125.234 160,120.297 L 160,288 L 160,384 Z" />
|
||||
<glyph unicode="" d="M0,416l0-384 l 512,0 L 512,416 L0,416 z M 96,64L 32,64 l0,64 l 64,0 L 96,64 z M 96,192L 32,192 l0,64 l 64,0 L 96,192 z M 96,320L 32,320 L 32,384 l 64,0 L 96,320 z M 384,64L 128,64 L 128,384 l 256,0 L 384,64 z
|
||||
M 480,64l-64,0 l0,64 l 64,0 L 480,64 z M 480,192l-64,0 l0,64 l 64,0 L 480,192 z M 480,320l-64,0 L 416,384 l 64,0 L 480,320 zM 192,320L 192,128L 320,224 z" />
|
||||
<glyph unicode="" d="M 128,448L 384,448L 384,384L 128,384zM 480,352L 32,352 C 14.4,352,0,337.6,0,320l0-160 c0-17.6, 14.398-32, 32-32l 96,0 l0-128 l 256,0 L 384,128 l 96,0 c 17.6,0, 32,14.4, 32,32L 512,320
|
||||
C 512,337.6, 497.6,352, 480,352z M 352,32L 160,32 L 160,192 l 192,0 L 352,32 z M 487.2,304c0-12.813-10.387-23.2-23.199-23.2
|
||||
c-12.813,0-23.201,10.387-23.201,23.2s 10.388,23.2, 23.201,23.2C 476.814,327.2, 487.2,316.813, 487.2,304z" />
|
||||
<glyph unicode="" d="M 160,288L 224,288L 224,224L 160,224zM 256,288L 320,288L 320,224L 256,224zM 352,288L 416,288L 416,224L 352,224zM 64,96L 128,96L 128,32L 64,32zM 160,96L 224,96L 224,32L 160,32zM 256,96L 320,96L 320,32L 256,32zM 160,192L 224,192L 224,128L 160,128zM 256,192L 320,192L 320,128L 256,128zM 352,192L 416,192L 416,128L 352,128zM 64,192L 128,192L 128,128L 64,128zM 416,480l0-32 l-64,0 L 352,480 L 128,480 l0-32 L 64,448 L 64,480 L0,480 l0-512 l 480,0 L 480,480 L 416,480 z M 448,0L 32,0 L 32,352 l 416,0 L 448,0 z" />
|
||||
<glyph unicode="" d="M 352,480c-88.365,0-160-71.634-160-160c0-10.013, 0.929-19.808, 2.688-29.312L0,96l0-96 c0-17.673, 14.327-32, 32-32
|
||||
l 32,0 l0,32 l 64,0 l0,64 l 64,0 l0,64 l 64,0 l 41.521,41.521C 314.526,163.363, 332.869,160, 352,160c 88.365,0, 160,71.634, 160,160S 440.365,480, 352,480z
|
||||
M 399.937,319.937c-26.51,0-48,21.49-48,48s 21.49,48, 48,48s 48-21.49, 48-48S 426.447,319.937, 399.937,319.937z" />
|
||||
<glyph unicode="" d="M 466.895,174.875c-26.863,46.527-10.708,106.152, 36.076,133.244l-50.313,87.146c-14.375-8.427-31.088-13.259-48.923-13.259
|
||||
c-53.768,0-97.354,43.873-97.354,97.995L 205.752,480.001 c 0.133-16.705-4.037-33.641-12.979-49.126
|
||||
c-26.862-46.528-86.578-62.351-133.431-35.379L 9.030,308.35c 14.485-8.236, 27.025-20.294, 35.943-35.739
|
||||
c 26.819-46.454, 10.756-105.96-35.854-133.112l 50.313-87.146c 14.325,8.348, 30.958,13.127, 48.7,13.127
|
||||
c 53.598,0, 97.072-43.596, 97.35-97.479l 100.627,0 c-0.043,16.537, 4.136,33.285, 12.983,48.609
|
||||
c 26.818,46.453, 86.388,62.297, 133.207,35.506l 50.313,87.145C 488.222,147.494, 475.766,159.51, 466.895,174.875z M 256,120.334
|
||||
c-57.254,0-103.668,46.412-103.668,103.667c0,57.254, 46.413,103.667, 103.668,103.667c 57.254,0, 103.666-46.413, 103.666-103.667
|
||||
C 359.665,166.746, 313.254,120.334, 256,120.334z" />
|
||||
<glyph unicode="" d="M 160.504-32 C 126.381,39.004 144.553,79.689 170.779,118.022 C 199.499,160 206.901,201.555 206.901,201.555 C 206.901,201.555 229.478,172.205 220.447,126.301 C 260.333,170.701 267.859,241.441 261.838,268.533 C 351.995,205.527 390.526,69.105 338.599-32 C 614.785,124.266 407.298,358.086 371.176,384.425 C 383.217,358.087 385.5,313.5 361.176,291.862 C 320,448 218.19,480 218.19,480 C 230.231,399.478 174.542,311.428 120.842,245.635 C 118.955,277.743 116.951,299.899 100.067,330.625 C 96.277,272.297 51.701,224.751 39.63,166.311 C 23.279,87.168 51.878,29.221 160.504-32 Z" />
|
||||
<glyph unicode="" d="M 352,448L 192,288L 96,288 L0,160c0,0, 101.708,28.326, 161.033,15.042L0-32l 210.951,164.072C 240.37,64.745, 192-32, 192-32l 128,96
|
||||
l0,96 l 160,160L 512,480L 352,448z" />
|
||||
<glyph unicode="" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z M 384,368L 224,208l-96,96l-64-64l 160-160l 224,224L 384,368z" />
|
||||
<glyph unicode="" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 z" />
|
||||
<glyph unicode="" d="M0,480l0-512 l 512,0 L 512,480 L0,480 z M 480,0L 32,0 L 32,448 l 448,0 L 480,0 zM 128,352L 384,352L 384,96L 128,96z" />
|
||||
<glyph unicode="" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32
|
||||
c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 160,224A96,96 12780 1 1 352,224A96,96 12780 1 1 160,224z" />
|
||||
<glyph unicode="" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32
|
||||
c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32z" />
|
||||
<glyph unicode="" d="M 394.767,448c0,0-100.478,0-133.97,0c-60.061,0-116.585-45.503-116.585-98.211c0-53.863, 40.941-97.333, 102.044-97.333
|
||||
c 4.249,0, 8.378,0.085, 12.42,0.376c-3.964-7.593-6.8-16.144-6.8-25.021c0-14.969, 8.052-27.105, 18.234-37.012
|
||||
c-7.693,0-15.121-0.224-23.226-0.224c-74.391,0.001-131.65-47.38-131.65-96.511c0-48.389, 62.771-78.656, 137.167-78.656
|
||||
c 84.812,0, 131.653,48.122, 131.653,96.514c0,38.801-11.448,62.036-46.843,87.067c-12.108,8.571-35.266,29.418-35.266,41.672
|
||||
c0,14.36, 4.098,21.434, 25.714,38.323c 22.156,17.312, 37.837,41.651, 37.837,69.958c0,33.703-15.011,66.549-43.187,77.386l 42.478,0
|
||||
L 394.767,448z M 347.974,120.271c 1.063-4.486, 1.642-9.104, 1.642-13.814c0-39.1-25.195-69.655-97.487-69.655
|
||||
c-51.421,0-88.558,32.552-88.558,71.65c0,38.321, 46.063,70.222, 97.482,69.666c 12-0.127, 23.184-2.058, 33.334-5.345
|
||||
C 322.301,153.359, 342.325,142.393, 347.974,120.271z M 265.643,266.112c-34.519,1.032-67.318,38.613-73.276,83.93
|
||||
c-5.958,45.333, 17.185,80.021, 51.694,78.995C 278.565,428, 311.379,391.63, 317.34,346.308
|
||||
C 323.293,300.978, 300.145,265.079, 265.643,266.112z" />
|
||||
<glyph unicode="" d="M 0.403,45.168c-0.122,1.266-0.226,2.535-0.292,3.815C 0.176,47.703, 0.281,46.434, 0.403,45.168zM 117.954,197.426c 46.005-1.369, 76.867,46.349, 68.931,106.599c-7.947,60.24-51.698,108.584-97.704,109.961
|
||||
c-46.013,1.365-76.87-44.741-68.926-105C 28.196,248.752, 71.931,198.799, 117.954,197.426zM 512,352L 512,394.655 C 512,441.595, 473.609,480, 426.671,480L 85.343,480 C 39.205,480, 1.337,442.884, 0.061,397.037
|
||||
c 29.181,25.693, 69.662,47.158, 111.437,47.158c 44.652,0, 178.622,0, 178.622,0l-39.974-33.809l-56.634,0
|
||||
c 37.565-14.402, 57.578-58.062, 57.578-102.861c0-37.624-20.905-69.977-50.444-92.984c-28.822-22.451-34.286-31.854-34.286-50.939
|
||||
c0-16.289, 30.873-44, 47.016-55.394c 47.191-33.269, 62.458-64.156, 62.458-115.728c0-8.214-1.021-16.415-3.033-24.48l 153.871,0
|
||||
C 473.609-32, 512,6.375, 512,53.345L 512,319.999 l-96,0 L 416,224 l-32,0 l0,96 l-95.999,0 l0,32 L 384,352 L 384,448 l 32,0 l0-96 L 512,352 zM 92.943,97.032c 10.807,0, 20.711,0.295, 30.968,0.295c-13.573,13.167-24.313,29.3-24.313,49.19
|
||||
c0,11.804, 3.782,23.168, 9.067,33.26c-5.391-0.385-10.895-0.497-16.563-0.497c-37.178,0-68.753,12.038-92.102,31.927l0-33.621
|
||||
l 0.003-100.865C 26.723,89.408, 58.447,97.032, 92.943,97.032zM 1.71,36.371c-0.556,2.729-0.983,5.503-1.271,8.317C 0.726,41.874, 1.154,39.1, 1.71,36.371zM 227.725,3.577c-7.529,29.403-34.227,43.982-71.444,69.784c-13.536,4.366-28.447,6.937-44.447,7.104
|
||||
c-44.809,0.482-86.554-17.471-110.108-44.186C 9.686-2.574, 44.243-32, 85.343-32l 143.222,0 c 0.908,5.564, 1.348,11.316, 1.348,17.216
|
||||
C 229.913-8.517, 229.146-2.388, 227.725,3.577z" />
|
||||
<glyph unicode="" d="M 426.672,480L 85.342,480 C 38.406,480,0,441.593,0,394.656l0-341.313 C0,6.374, 38.406-32, 85.342-32l 341.33,0.001
|
||||
c 46.938,0, 85.328,38.373, 85.328,85.344L 512,394.656 C 512,441.593, 473.609,480, 426.672,480z M 435.296,224L 352,224 l0-224 l-96,0 L 256,224 l-46.263,0 l0,73.282 L 256,297.282
|
||||
l0,47.593 C 256,409.546, 283.896,448, 359.935,448l 87.622,0 l0-79.285 l-71.565,0 c-21.241,0.035-23.876-11.076-23.876-31.756L 352,297.282l 96,0
|
||||
L 435.296,224z" />
|
||||
<glyph unicode="" d="M 512,382.791c-18.838-8.354-39.082-14.001-60.33-16.54c 21.686,13, 38.343,33.585, 46.186,58.115
|
||||
c-20.298-12.039-42.778-20.78-66.705-25.49c-19.16,20.415-46.461,33.17-76.673,33.17c-58.011,0-105.044-47.029-105.044-105.039
|
||||
c0-8.233, 0.929-16.25, 2.72-23.939c-87.3,4.382-164.701,46.2-216.509,109.753c-9.042-15.514-14.223-33.558-14.223-52.809
|
||||
c0-36.444, 18.544-68.596, 46.73-87.433c-17.219,0.546-33.416,5.271-47.577,13.139c-0.010-0.438-0.010-0.878-0.010-1.321
|
||||
c0-50.894, 36.209-93.348, 84.261-103c-8.813-2.4-18.094-3.686-27.674-3.686c-6.769,0-13.349,0.66-19.764,1.886
|
||||
c 13.368-41.73, 52.16-72.103, 98.126-72.948c-35.95-28.175-81.243-44.967-130.458-44.967c-8.479,0-16.84,0.497-25.058,1.47
|
||||
c 46.486-29.805, 101.701-47.197, 161.021-47.197c 193.211,0, 298.868,160.062, 298.868,298.872c0,4.554-0.103,9.084-0.305,13.59
|
||||
C 480.11,343.227, 497.918,361.727, 512,382.791z" />
|
||||
<glyph unicode="" d="M 416,416L 96,416 c-52.8,0-96-43.2-96-96l0-192 c0-52.8, 43.2-96, 96-96l 320,0 c 52.8,0, 96,43.2, 96,96L 512,320 C 512,372.8, 468.8,416, 416,416z
|
||||
M 192,96L 192,352 l 160-128L 192,96z" />
|
||||
<glyph unicode="" d="M 421.006,185.26c-6.824,6.723-21.957,10.283-44.986,10.586c-15.589,0.172-34.351-1.201-54.085-3.964
|
||||
c-8.837,5.099-17.946,10.647-25.094,17.329c-19.231,17.958-35.284,42.886-45.288,70.297c 0.652,2.56, 1.207,4.81, 1.724,7.106
|
||||
c0,0, 10.833,61.53, 7.965,82.333c-0.395,2.853-0.637,3.681-1.404,5.898l-0.941,2.417c-2.948,6.796-8.724,13.997-17.783,13.604
|
||||
l-5.312,0.169l-0.146,0.003c-10.1,0-18.332-5.166-20.493-12.887c-6.569-24.217, 0.209-60.446, 12.491-107.369l-3.144-7.643
|
||||
c-8.794-21.438-19.815-43.030-29.539-62.079l-1.264-2.476c-10.23-20.019-19.512-37.013-27.927-51.411l-8.688-4.594
|
||||
c-0.632-0.334-15.522-8.209-19.014-10.322c-29.628-17.691-49.261-37.77-52.518-53.708c-1.036-5.085-0.265-11.593, 5.007-14.607
|
||||
l 8.403-4.229c 3.645-1.826, 7.489-2.751, 11.427-2.751c 21.102,0, 45.6,26.286, 79.348,85.183
|
||||
c 38.965,12.684, 83.327,23.228, 122.207,29.045c 29.629-16.684, 66.071-28.273, 89.071-28.273c 4.084,0, 7.606,0.389, 10.466,1.148
|
||||
c 4.411,1.168, 8.129,3.683, 10.396,7.096c 4.463,6.716, 5.367,15.966, 4.156,25.438C 425.68,179.411, 423.435,182.887, 421.006,185.26z
|
||||
M 105.823,72.976c 3.848,10.521, 19.080,31.322, 41.602,49.778c 1.416,1.148, 4.904,4.416, 8.097,7.451
|
||||
C 131.971,92.643, 116.199,77.672, 105.823,72.976z M 239.217,380.157c 6.783,0, 10.642-17.097, 10.962-33.127
|
||||
c 0.32-16.030-3.429-27.28-8.079-35.604c-3.851,12.324-5.713,31.75-5.713,44.452C 236.387,355.878, 236.104,380.157, 239.217,380.157z
|
||||
M 199.426,161.253c 4.725,8.458, 9.641,17.378, 14.665,26.839c 12.246,23.158, 19.979,41.278, 25.739,56.173
|
||||
c 11.455-20.842, 25.722-38.56, 42.493-52.756c 2.092-1.771, 4.309-3.551, 6.637-5.325C 254.855,179.436, 225.378,171.229, 199.426,161.253z
|
||||
M 414.452,163.174c-2.077-1.299-8.027-2.050-11.854-2.050c-12.353,0-27.636,5.647-49.063,14.833
|
||||
c 8.234,0.609, 15.781,0.919, 22.55,0.919c 12.391,0, 16.060,0.054, 28.175-3.036S 416.529,164.473, 414.452,163.174zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 319.889,242.054L 341.995,242.054L 316.489,128.965L 283.326,287.97L 230.051,287.97L 191.494,128.965L 162.586,287.97L 106.889,287.97L 163.435,32.029L 217.854,32.029L 256.001,183.383L 290.129,32.029L 340.297,32.029L 405.112,287.97L 319.889,287.97
|
||||
zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 371.514,288L 303.867,288L 256.001,217.484L 208.131,288L 140.487,288L 221.568,166.768L 130.081,32L 261.201,32L 261.201,77.788L 230.923,77.788L 256.001,115.285L 311.699,32L 381.92,32L 290.432,166.768 zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 96,224l 96,0 l0-32 L 96,192 L 96,224 z M 96,160l 96,0 l0-32 L 96,128 L 96,160 z M 96,96l 96,0 l0-32 L 96,64 L 96,96 z M 451.716,380.285l-71.432,71.431
|
||||
C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0 c 22,0, 40,18, 40,40L 480,312
|
||||
C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440 c0,4.336, 3.664,8, 8,8
|
||||
l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 zM 288,128 L 382.396,128 C 374.983,91.484 342.703,64 304,64 C 259.817,64 224,99.817 224,144 C 224,182.703 251.485,214.983 288,222.396 L 288,128 ZM 336,256 C 380.183,256 416,220.183 416,176 C 416,170.521 415.446,165.17 414.396,160 L 320,160 L 320,254.396 C 325.17,255.446 330.521,256 336,256 Z" />
|
||||
<glyph unicode="" d="M 224,192L 192,224L 96,128L 192,32L 224,64L 160,128 zM 288,64L 320,32L 416,128L 320,224L 288,192L 352,128 zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 192,174.277L 192,231.39 c0,7.564, 3.348,14.718, 9.427,20.143c 6.080,5.424, 14.096,8.413, 22.573,8.413l0,28.555
|
||||
c-35.2,0-64-25.7-64-57.111l0-42.833 c0-7.886-7.164-14.279-16-14.279l-16,0 l0-28.555 l 16,0 c 8.837,0, 16-6.395, 16-14.279l0-42.838
|
||||
c0-31.407, 28.8-57.107, 64-57.107l0,28.556 c-8.477,0-16.494,2.988-22.573,8.413c-6.079,5.426-9.427,12.577-9.427,20.139l0,57.117
|
||||
c0,7.885-7.164,14.277-16,14.277C 184.837,160, 192,166.395, 192,174.277zM 320,145.723l0-57.117 c0-7.562-3.348-14.713-9.427-20.139c-6.079-5.425-14.095-8.413-22.573-8.413l0-28.556
|
||||
c 35.201,0, 64,25.7, 64,57.107l0,42.838 c0,7.886, 7.164,14.279, 16,14.279l 16,0 l0,28.555 l-16,0 c-8.836,0-16,6.395-16,14.279L 352,231.39
|
||||
c0,31.412-28.799,57.111-64,57.111l0-28.555 c 8.479,0, 16.494-2.989, 22.573-8.415c 6.080-5.424, 9.427-12.578, 9.427-20.142l0-57.114
|
||||
c0-7.883, 7.164-14.276, 16-14.276C 327.164,160, 320,153.605, 320,145.723zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 505.216,60.624l-191.984,384C 302.4,466.304, 280.256,480, 256,480s-46.4-13.696-57.232-35.376
|
||||
l-191.984-384c-9.92-19.84-8.864-43.408, 2.8-62.288C 21.248-20.512, 41.84-32, 64.016-32l 383.952,0 c 22.192,0, 42.784,11.488, 54.432,30.336
|
||||
C 514.064,17.216, 515.12,40.784, 505.216,60.624z M 287.968,48c0-8.848-7.152-16-16-16l-32,0 c-8.848,0-16,7.152-16,16l0,32 c0,8.848, 7.152,16, 16,16l 32,0
|
||||
c 8.848,0, 16-7.152, 16-16L 287.968,48 z M 287.968,176c0-8.848-7.152-16-16-16l-32,0 c-8.848,0-16,7.152-16,16L 223.968,336 c0,8.832, 7.152,16, 16,16l 32,0 c 8.848,0, 16-7.168, 16-16
|
||||
L 287.968,176 z" />
|
||||
<glyph unicode="" d="M 480,224c0-123.712-100.288-224-224-224S 32,100.288, 32,224c0,54.528, 19.616,104.368, 52,143.2
|
||||
c 2.464,4.544, 5.888,8.496, 10.16,11.36c 0.72,0.752, 1.36,1.6, 2.096,2.336c 0.016-0.368, 0.176-0.72, 0.208-1.088C 101.088,382.4, 106.336,384, 112,384
|
||||
c 17.664,0, 32-14.336, 32-32c0-11.136-5.68-20.928-14.32-26.656C 130.24,324.928, 130.64,324.416, 131.216,324C 109.216,296.608, 96,261.872, 96,224
|
||||
c0-88.368, 71.632-160, 160-160s 160,71.632, 160,160c0,37.872-13.216,72.608-35.216,100c 0.576,0.416, 0.992,0.928, 1.536,1.344
|
||||
C 373.68,331.072, 368,340.864, 368,352c0,17.664, 14.336,32, 32,32c 5.664,0, 10.912-1.6, 15.536-4.192c 0.032,0.368, 0.192,0.72, 0.224,1.088
|
||||
c 0.72-0.736, 1.36-1.584, 2.096-2.336c 4.272-2.864, 7.68-6.816, 10.16-11.36C 460.368,328.368, 480,278.528, 480,224z M 272,192l-32,0
|
||||
c-8.848,0-16,7.152-16,16L 224,432 c0,8.832, 7.152,16, 16,16l 32,0 c 8.848,0, 16-7.168, 16-16l0-224 C 288,199.152, 280.848,192, 272,192z" />
|
||||
<glyph unicode="" d="M 399.712,324.512c 5.968-5.968, 15.648-5.968, 21.6,0l 84.528,66.544
|
||||
c 14.064-44.224, 4.128-94.432-30.96-129.52c-33.472-33.488-80.736-44.032-123.424-32.768l-100.256-100.256c 11.264-42.704, 0.704-89.952-32.752-123.424
|
||||
c-35.088-35.088-85.312-45.024-129.536-30.96l 66.576,84.512c 5.968,5.984, 5.968,15.648,0,21.616l-43.2,43.184c-5.968,5.968-15.648,5.968-21.6,0
|
||||
l-84.528-66.544c-14.064,44.224-4.128,94.416, 30.944,129.504c 33.488,33.488, 80.736,44.048, 123.44,32.768l 100.272,100.272
|
||||
c-11.28,42.688-0.72,89.952, 32.736,123.424c 35.088,35.088, 85.312,45.024, 129.552,30.976l-66.576-84.544c-5.952-5.952-5.952-15.632,0-21.584
|
||||
L 399.712,324.512z" />
|
||||
<glyph unicode="" d="M 370.857,102.286q0-11.429 -8-19.429l-38.857-38.857q-8-8 -19.429-8t-19.429,8l-84,84l-84-84q-8-8 -19.429-8t-19.429,8l-38.857,38.857q-8,8 -8,19.429t 8,19.429l 84,84l-84,84q-8,8 -8,19.429t 8,19.429l 38.857,38.857q 8,8 19.429,8t 19.429-8l 84-84l 84,84q 8,8 19.429,8t 19.429-8l 38.857-38.857q 8-8 8-19.429 t-8-19.429l-84-84l 84-84q 8-8 8-19.429z" horiz-adv-x="402.286" />
|
||||
<glyph unicode="" d="M 477.429,318.286q0-11.429 -8-19.429l-206.857-206.857l-38.857-38.857q-8-8 -19.429-8t-19.429,8l-38.857,38.857l-103.429,103.429q-8,8 -8,19.429t 8,19.429l 38.857,38.857q 8,8 19.429,8t 19.429-8l 84-84.286l 187.429,187.714q 8,8 19.429,8t 19.429-8l 38.857-38.857q 8-8 8-19.429z" />
|
||||
<glyph unicode="" d="M 402.286,269.714l0-54.857 q0-11.429 -8-19.429t-19.429-8l-118.857,0 l0-118.857 q0-11.429 -8-19.429t-19.429-8l-54.857,0 q-11.429,0 -19.429,8t-8,19.429l0,118.857 l-118.857,0 q-11.429,0 -19.429,8t-8,19.429l0,54.857 q0,11.429 8,19.429t 19.429,8l 118.857,0 l0,118.857 q0,11.429 8,19.429t 19.429,8l 54.857,0 q 11.429,0 19.429-8t 8-19.429l0-118.857 l 118.857,0 q 11.429,0 19.429-8t 8-19.429z" horiz-adv-x="402.286" />
|
||||
<glyph unicode="" d="M 402.286,269.714l0-54.857 q0-11.429 -8-19.429t-19.429-8l-347.429,0 q-11.429,0 -19.429,8t-8,19.429l0,54.857 q0,11.429 8,19.429t 19.429,8l 347.429,0 q 11.429,0 19.429-8t 8-19.429z" horiz-adv-x="402.286" />
|
||||
<glyph unicode="" d="M 348.916,316.476l-32.476,32.461L 154.035,186.566c-26.907-26.896-26.907-70.524,0-97.422
|
||||
c 26.902-26.896, 70.53-26.896, 97.437,0l 194.886,194.854c 44.857,44.831, 44.857,117.531,0,162.363
|
||||
c-44.833,44.852-117.556,44.852-162.391,0L 79.335,241.788l 0.017-0.016c-0.145-0.152-0.306-0.288-0.438-0.423
|
||||
c-62.551-62.548-62.551-163.928,0-226.453c 62.527-62.528, 163.934-62.528, 226.494,0c 0.137,0.137, 0.258,0.284, 0.41,0.438l 0.016-0.017
|
||||
l 139.666,139.646l-32.493,32.46L 273.35,47.792l-0.008,0 c-0.148-0.134-0.282-0.285-0.423-0.422
|
||||
c-44.537-44.529-116.99-44.529-161.538,0c-44.531,44.521-44.531,116.961,0,161.489c 0.152,0.152, 0.302,0.291, 0.444,0.423l-0.023,0.030
|
||||
l 204.64,204.583c 26.856,26.869, 70.572,26.869, 97.443,0c 26.856-26.867, 26.856-70.574,0-97.42L 218.999,121.625
|
||||
c-8.968-8.961-23.527-8.961-32.486,0c-8.947,8.943-8.947,23.516,0,32.46L 348.916,316.476z" />
|
||||
<glyph unicode="" d="M 255.616,418.56L 255.616,320.563L 435.251,320.589L 435.251,127.258L 255.616,127.258L 255.616,29.44L 61.491,224 z" />
|
||||
<glyph unicode="" d="M 450.56,224.384L 352.563,224.358L 352.589,44.749L 159.258,44.749L 159.258,224.384L 61.44,224.358L 256.026,418.509 z" />
|
||||
<glyph unicode="" d="M 256.384,418.56L 256.384,320.563L 76.749,320.589L 76.749,127.258L 256.384,127.258L 256.384,29.44L 450.509,224 z" />
|
||||
<glyph unicode="" d="M 450.56,223.616L 352.563,223.642L 352.589,403.251L 159.258,403.251L 159.258,223.616L 61.44,223.642L 256,29.491 z" />
|
||||
<glyph unicode="" d="M 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0 c 22,0, 40,18, 40,40
|
||||
L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440 c0,4.336, 3.664,8, 8,8
|
||||
l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 208,416L 256,416L 256,384L 208,384zM 160,384L 208,384L 208,352L 160,352zM 208,352L 256,352L 256,320L 208,320zM 160,320L 208,320L 208,288L 160,288zM 208,288L 256,288L 256,256L 208,256zM 160,256L 208,256L 208,224L 160,224zM 208,224l0-32 l-48,0 l0-112 c0-8.837, 7.163-16, 16-16l 64,0 c 8.837,0, 16,7.163, 16,16L 256,224 L 208,224 z M 240,96l-64,0 l0,32 l 64,0 L 240,96 zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M0,448l0-448 l 512,0 L 512,448 L0,448 z M 480,32L 32,32 L 32,416 l 448,0 L 480,32 zM 448,384L 64,384 l0-320 l 384,0 L 448,384 z M 224,224l-32,0 l0-32 l-32,0 l0-32 l-32,0 l0,32 l 32,0 l0,32 l 32,0 l0,32 l-32,0 l0,32 l-32,0 l0,32 l 32,0 l0-32 l 32,0 l0-32 l 32,0 L 224,224 z M 352,160l-96,0
|
||||
l0,32 l 96,0 L 352,160 z" />
|
||||
<glyph unicode="" d="M 480-32L 32-32 c-17.664,0-32,14.336-32,32L0,448 c0,17.664, 14.336,32, 32,32l 384,0 l 96-96l0-384
|
||||
C 512-17.664, 497.664-32, 480-32z M 128,48c0-8.848, 7.168-16, 16-16l 224,0 c 8.848,0, 16,7.152, 16,16l0,128 c0,8.848-7.152,16-16,16L 144,192 c-8.832,0-16-7.152-16-16L 128,48 z
|
||||
M 352,400c0,8.848-7.152,16-16,16s-16-7.152-16-16l0-48 c0-8.848, 7.152-16, 16-16s 16,7.152, 16,16L 352,400 z M 448,368l-48,48l-16,0 l0-112 c0-8.848-7.152-16-16-16L 144,288
|
||||
c-8.832,0-16,7.152-16,16L 128,416 L 80,416 C 71.168,416, 64,408.848, 64,400l0-352 c0-8.848, 7.168-16, 16-16l 16,0 L 96,208 c0,8.848, 7.168,16, 16,16l 288,0 c 8.848,0, 16-7.152, 16-16l0-176 l 16,0
|
||||
c 8.848,0, 16,7.152, 16,16L 448,368 z" />
|
||||
<glyph unicode="" d="M 379.392,110.131c-63.104,22.989-83.277,42.394-83.277,83.942c0,24.934, 19.277,16.794, 27.725,62.464c 3.507,18.944, 20.531,0.307, 23.808,43.546
|
||||
c0,17.229-9.293,21.53-9.293,21.53s 4.736,25.523, 6.579,45.133C 347.187,391.219, 330.803,454.4, 243.2,454.4C 155.622,454.4, 139.187,391.219, 141.491,366.746
|
||||
C 143.334,347.136, 148.070,321.613, 148.070,321.613S 138.752,317.338, 138.752,300.083c 3.251-43.238, 20.275-24.602, 23.782-43.546
|
||||
c 8.474-45.67, 27.75-37.53, 27.75-62.464c0-41.549-20.173-60.954-83.277-83.942c-63.334-23.040-104.448-46.566-104.448-62.618c0-16.026,0-53.888,0-53.888
|
||||
l 240.64,0 l 240.64,0 c0,0,0,37.862,0,53.888C 483.84,63.539, 442.701,87.066, 379.392,110.131z" />
|
||||
<glyph unicode="" d="M 464,416L 48,416 C 21.488,416,0,394.512,0,368l0-288 c0-26.496, 21.488-48, 48-48l 416,0 c 26.512,0, 48,21.504, 48,48L 512,368 C 512,394.512, 490.512,416, 464,416z M 43.856,64.16
|
||||
L 32.16,75.872l 131.984,131.968l 11.696-11.712L 43.856,64.16z M 468.144,64.16l-131.984,131.968l 11.696,11.712l 131.984-131.968L 468.144,64.16z M 272,170.8
|
||||
L 272,160 l-32,0 l0,10.8 L 32.048,363.6l 20.352,20.352L 256,195.184L 459.6,383.952l 20.352-20.352L 272,170.8z" />
|
||||
<glyph unicode="" d="M 316.851,110.131C 253.082,133.12, 232.704,152.525, 232.704,194.074c0,24.934, 19.482,16.794, 28.032,62.464c 3.558,18.944, 20.762,0.307, 24.013,43.546
|
||||
c0,17.229-9.37,21.53-9.37,21.53s 4.787,25.523, 6.63,45.133C 284.314,391.219, 267.725,454.4, 179.2,454.4S 74.086,391.219, 76.39,366.746
|
||||
c 1.869-19.635, 6.656-45.133, 6.656-45.133S 73.651,317.338, 73.651,300.083c 3.302-43.238, 20.506-24.602, 24.013-43.546
|
||||
c 8.576-45.67, 28.058-37.53, 28.058-62.464c0-41.549-20.403-60.954-84.173-83.942c-7.68-2.739-25.984-7.040-41.549-13.773L0-6.4 l 409.6,0
|
||||
c0,0,0,37.862,0,53.888S 380.851,87.066, 316.851,110.131z M 435.2,249.6L 435.2,326.4 l-51.2,0 l0-76.8 l-76.8,0 l0-51.2 l 76.8,0 l0-76.8 l 51.2,0 l0,76.8 l 76.8,0 L 512,249.6 L 435.2,249.6 z" />
|
||||
<glyph unicode="" d="M 256,384C 144.341,384, 47.559,318.979,0,224c 47.559-94.979, 144.341-160, 256-160c 111.657,0, 208.439,65.021, 256,160
|
||||
C 464.442,318.979, 367.657,384, 256,384z M 382.225,299.148c 30.081-19.187, 55.571-44.887, 74.717-75.148
|
||||
c-19.146-30.261-44.637-55.961-74.718-75.149C 344.427,124.743, 300.779,112, 256,112c-44.78,0-88.428,12.743-126.225,36.852
|
||||
C 99.695,168.038, 74.205,193.738, 55.058,224c 19.146,30.262, 44.637,55.962, 74.717,75.148c 1.959,1.25, 3.938,2.461, 5.929,3.65
|
||||
C 130.725,289.134, 128,274.387, 128,259c0-70.692, 57.308-128, 128-128s 128,57.308, 128,128c0,15.387-2.725,30.134-7.704,43.799
|
||||
C 378.286,301.61, 380.265,300.398, 382.225,299.148z M 256,275c0-26.51-21.49-48-48-48s-48,21.49-48,48s 21.49,48, 48,48
|
||||
S 256,301.51, 256,275z" />
|
||||
<glyph unicode="" d="M 194.586,136.499c-6.861-6.938-6.861-18.15,0-25.062c 6.835-6.938, 17.946-6.938, 24.806,0l 98.048,100.019
|
||||
c 6.861,6.938, 6.861,18.15,0,25.062l-98.048,100.045c-6.861,6.938-17.946,6.938-24.806,0S 187.725,318.438, 194.56,311.526L 274.97,224L 194.586,136.499z" />
|
||||
<glyph unicode="" d="M 343.501,285.414c 6.938,6.861, 18.15,6.861, 25.062,0c 6.938-6.861, 6.938-17.946,0-24.806l-100.019-98.048
|
||||
c-6.938-6.861-18.15-6.861-25.062,0l-100.045,98.048c-6.912,6.861-6.912,17.946,0,24.806c 6.938,6.861, 18.125,6.861, 25.062,0L 256,205.030
|
||||
L 343.501,285.414z" />
|
||||
<glyph unicode="" d="M 287.935-32L 192-32 L 192,224 l-64,0 l0,88.225 l 64,0.029l-0.104,51.976C 191.896,436.206, 211.413,480, 296.195,480l 70.588,0 l0-88.242 l-44.115,0
|
||||
c-33.016,0-34.603-12.328-34.603-35.342l-0.131-44.162l 79.345,0 l-9.352-88.225L 288,224L 287.935-32z" />
|
||||
<glyph unicode="" d="M 96,224c0,6.090, 0.352,12.098, 1.015,18.011l-92.49,30.052C 1.567,256.493,0,240.431,0,224
|
||||
c0-73.615, 31.083-139.961, 80.827-186.662l 57.142,78.648C 111.907,144.449, 96,182.365, 96,224zM 416,224c0-41.634-15.906-79.551-41.969-108.014l 57.142-78.648C 480.917,84.039, 512,150.385, 512,224
|
||||
c0,16.431-1.566,32.493-4.524,48.063l-92.49-30.052C 415.648,236.097, 416,230.090, 416,224zM 288,380.796c 45.967-9.331, 84.772-38.371, 107.225-77.913l 92.489,30.051C 451.116,410.644, 376.594,466.964, 288,478.012L 288,380.796 zM 116.775,302.884c 22.453,39.542, 61.258,68.582, 107.225,77.913L 224,478.012 C 135.406,466.964, 60.885,410.644, 24.287,332.935
|
||||
L 116.775,302.884zM 322.278,78.336C 302.083,69.132, 279.642,64, 256,64s-46.083,5.132-66.277,14.335l-57.146-78.655
|
||||
C 169.18-20.503, 211.245-32, 256-32s 86.82,11.497, 123.424,31.68L 322.278,78.336z" />
|
||||
<glyph unicode="" d="M 192,480L0,224L 192,224L 64-32L 512,288L 256,288L 448,480 z" />
|
||||
<glyph unicode="" d="M 480,384l-9,0 l-430,0 l-9,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.25,22.75t 22.75,9.5l 160,0 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l 160,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25zM 480,32q0-26.5 -18.75-45.25t-45.25-18.75l-320,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,320 l 448,0 l0-320 zM 160,256
|
||||
q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,192 zM 288,256q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,192 zM 416,256q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-192
|
||||
q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,192 z" />
|
||||
<glyph unicode="" d="M 448-32l-384,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-16 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.75l0,16 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-48 q0-26.5 -18.75-45.25t-45.25-18.75zM 272.5,103q-7-7 -16.5-7t-16.5,7l-170.5,172.5
|
||||
q-6,6.5 -4.25,9.5t 9.25,3l 118,0 l0,160 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-160 l 117.5,0 q 7.5,0 9.5-3t-4-9.5z" />
|
||||
<glyph unicode="" d="M 448-32l-384,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-16 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,16 q0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-48 q0-26.5 -18.75-45.25t-45.25-18.75zM 437.5,288l-117.5,0 l0-160 q0-13.5 -9.25-22.75t-22.75-9.25
|
||||
l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,160 l-118,0 q-7.5,0 -9.25,3t 4.25,9.5l 170.5,172.5q 7,7 16.5,7t 16.5-7l 170.5-172.5q 6-6.5 4-9.5t-9.5-3z" />
|
||||
<glyph unicode="" d="M 480,192l-160,0 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-160,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 160,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l 160,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 288,256l-64,0 l0-64 l 64,0 l0,64
|
||||
zM 480,384l-32,0 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-288,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 288,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l 32,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 416,448l-64,0 l0-64 l 64,0 l0,64 z
|
||||
M 32,64l 32,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75l 288,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.5-9.5l-288,0 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25zM 96,0l 64,0 l0,64 l-64,0 l0-64 z" />
|
||||
<glyph unicode="" d="M 512,192l0,32 l-96.645,0 c-2.931,36.343-15.893,69.513-35.835,96.125l 80.972,0 l 35.030,140.12l-31.045,7.761l-28.97-115.88l-87.34,0
|
||||
c-0.446,0.347-0.898,0.687-1.349,1.028c 3.355,9.751, 5.181,20.211, 5.181,31.097C 352,437.131, 309.020,480, 256,480s-96-42.869-96-95.75
|
||||
c0-10.886, 1.825-21.346, 5.181-31.097c-0.45-0.342-0.902-0.681-1.349-1.028l-87.34,0 l-28.97,115.88l-31.045-7.761l 35.030-140.12l 80.972,0
|
||||
C 112.537,293.513, 99.576,260.343, 96.645,224L0,224 l0-32 l 96.685,0 c 1.901-22.832, 7.754-44.406, 16.819-63.875L 51.508,128.125 l-35.030-140.119
|
||||
l 31.045-7.762l 28.97,115.881l 56.177,0 C 162.016,57.109, 206.368,32.25, 256,32.25s 93.983,24.859, 123.331,63.875l 56.177,0 l 28.97-115.881
|
||||
l 31.045,7.762l-35.030,140.119l-61.996,0 c 9.065,19.469, 14.918,41.043, 16.818,63.875L 512,192 z" />
|
||||
<glyph unicode="" d="M 267.313,468.686C 261.091,474.908, 248.8,480, 240,480L 48,480 c-8.8,0-16-7.2-16-16l0-480 c0-8.8, 7.2-16, 16-16l 384,0 c 8.8,0, 16,7.2, 16,16L 448,272
|
||||
c0,8.8-5.091,21.091-11.313,27.313L 267.313,468.686z M 416,0L 64,0 L 64,448 l 175.579,0 c 1.458-0.24, 4.204-1.377, 5.405-2.239l 168.778-168.777
|
||||
c 0.861-1.201, 1.998-3.947, 2.238-5.405L 416,0 zM 432,480l-96,0 c-8.8,0-10.909-5.091-4.687-11.313l 105.373-105.373C 442.909,357.091, 448,359.2, 448,368L 448,464 C 448,472.8, 440.8,480, 432,480
|
||||
z" />
|
||||
<glyph unicode="" d="M 345.11,244.159c-30.334,14.326-68.986,17.21-97.417-3.024c 34.57,3.302, 72.479-2.419, 97.553-28.562
|
||||
c 24,27.54, 62.057,32.703, 96.479,29.866C 412.981,261.511, 375.115,258.951, 345.11,244.159zM 332.824,177.125c-34.189,0.789-67.217-11.586-95.55-30.052c-53.588,22.794-121.368,18.562-167.001-19.491
|
||||
c 13.165,0.467, 26.003,3.723, 39.028,5.396c 47.591,4.744, 98.294-7.071, 134.256-39.912c 14.886,21.771, 35.822,39.121, 59.826,49.961
|
||||
c 31.537,15.26, 67.080,16.842, 101.41,17.26C 383.949,174.611, 357.485,177.264, 332.824,177.125zM 451.716,380.285l-71.432,71.431C 364.728,467.272, 334,480, 312,480L 72,480 C 50,480, 32,462, 32,440l0-432 c0-22, 18-40, 40-40l 368,0
|
||||
c 22,0, 40,18, 40,40L 480,312 C 480,334, 467.272,364.729, 451.716,380.285z M 429.089,357.657c 1.565-1.565, 3.125-3.487, 4.64-5.657L 352,352 L 352,433.728
|
||||
c 2.17-1.515, 4.092-3.075, 5.657-4.64L 429.089,357.657z M 448,8c0-4.336-3.664-8-8-8L 72,0 c-4.336,0-8,3.664-8,8L 64,440
|
||||
c0,4.336, 3.664,8, 8,8l 240,0 c 2.416,0, 5.127-0.305, 8-0.852L 320,320 l 127.148,0 c 0.547-2.873, 0.852-5.583, 0.852-8L 448,8 z" />
|
||||
<glyph unicode="" d="M 229.665,150.084L 144.338,2.25L 426.665,2.25L 512,150.084 zM 487.806,192L 341.339,445.75L 170.665,445.75L 317.143,192 zM 146.418,403.743L0,150.084L 85.338,2.25L 231.754,255.912 z" />
|
||||
<glyph unicode="" d="M 480-32l-384,0 q-13,0 -22.5,9.25t-9.5,22.75l0,180 l 139.5-139q 9-9.5 23-8.5l 61.5,0 q 13,0 22.5,9.25t 9.5,22.75l0,63.5 q0,11.5 -9.5,20.5l-246.5,246.5l0,52.5 q0,13.5 9.5,22.75t 22.5,9.25l 224,0 l0-176 q0-6.5 4.5-11.25t 11.5-4.75l 175.5,0 l0-0.5 l0-287 q0-13.5 -9.25-22.75t-22.25-9.25zM 352,480q 13,0 22-9l 128-128.5
|
||||
q 9.5-9.5 9.5-23l-159.5,0 l0,160.5 zM 39.5,258l-34,33.5q-5.5,6 -5.5,14t 5.5,13.5l 27.5,27.5q 5.5,5.5 13.75,5.5t 13.75-5.5l 33.5-33.5zM 288,112.5l0-32 q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-7,0 -13,5.5l-162,162l 55,55l 162-162q 6-6 6-12.5z" />
|
||||
<glyph unicode="" d="M 480,0l-32,0 l0,128 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q0-13.5 -9.25-22.75t-22.75-9.25zM 480,160l-32,0 l0,128 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q0-13.5 -9.25-22.75t-22.75-9.25zM 480,320l-32,0 l0,128 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q0-13.5 -9.25-22.75t-22.75-9.25z
|
||||
M 416,0q0-13 -9.25-22.5t-22.75-9.5l-352,0 q-13,0 -22.5,9.5t-9.5,22.5l0,448 q0,13.5 9.5,22.75t 22.5,9.25l 352,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-448 zM 240,173l0,9 q 48,19.5 48,106q0,31.5 -22.25,47.75t-57.5,16.25t-57.75-16.25t-22.5-47.75q0-84 48-105.5l0-9.5 q-34.5-6 -57-22.5t-23-37.5q0-6 10.75-9.75
|
||||
t 31.5-5.25t 34.25-1.75t 35.5-0.25t 35.5,0.25t 34.25,1.75t 31.5,5.25t 10.75,9.75q-0.5,21 -23,37.5t-57,22.5z" />
|
||||
<glyph unicode="" d="M 448,416l0-416 L 112,0 c-26.511,0-48,21.49-48,48c0,26.509, 21.489,48, 48,48l 304,0 L 416,480 L 96,480 C 60.801,480, 32,451.2, 32,416l0-384
|
||||
c0-35.2, 28.801-64, 64-64l 384,0 L 480,416 L 448,416 zM 128,64L 416,64L 416,32L 128,32z" />
|
||||
<glyph unicode="" d="M 256,480 C 116.626,480 3.271,368.619 0.076,230.013 C 3.036,350.945 94.992,448 208,448 C 322.875,448 416,347.712 416,224 C 416,197.49 437.49,176 464,176 C 490.51,176 512,197.49 512,224 C 512,365.385 397.385,480 256,480 ZM 256-32 C 395.374-32 508.729,79.381 511.924,217.987 C 508.964,97.055 417.008,0 304,0 C 189.125,0 96,100.288 96,224 C 96,250.51 74.51,272 48,272 C 21.49,272 0,250.51 0,224 C 0,82.615 114.615-32 256-32 Z" />
|
||||
<glyph unicode="" d="M 242.286-4.571q0,4.571 -4.571,4.571q-16.857,0 -29,12.143t-12.143,29q0,4.571 -4.571,4.571t-4.571-4.571q0-20.857 14.714-35.571t 35.571-14.714q 4.571,0 4.571,4.571zM 52.286,77.714l 370.857,0 q-46.857,51.714 -70.429,117.571t-23.571,138.429q0,73.143 -91.429,73.143t-91.429-73.143q0-72.571 -23.571-138.429t-70.429-117.571zM 475.429,77.714q0-14.857 -10.857-25.714t-25.714-10.857 l-128,0 q0-30.286 -21.429-51.714t-51.714-21.429t-51.714,21.429t-21.429,51.714l-128,0 q-14.857,0 -25.714,10.857t-10.857,25.714q 54.286,46 82,113.571t 27.714,142.429q0,47.143 27.429,74.857t 75.429,33.429q-2.286,5.143 -2.286,10.571q0,11.429 8,19.429t 19.429,8t 19.429-8t 8-19.429q0-5.429 -2.286-10.571q 48-5.714 75.429-33.429t 27.429-74.857q0-74.857 27.714-142.429t 82-113.571z" horiz-adv-x="475.429" />
|
||||
<glyph unicode="" d="M 488.791,382.769c-16.992,4.854-34.705-4.985-39.56-21.978L 446.72,352L 148.249,352 l-4.496,35.969
|
||||
C 141.751,403.983, 128.138,416, 112,416L 32,416 C 14.327,416,0,401.673,0,384s 14.327-32, 32-32l 51.751,0 l 28.496-227.969
|
||||
C 114.249,108.018, 127.862,96, 144,96l 272,0 c 14.287,0, 26.844,9.472, 30.769,23.209l 64,224
|
||||
C 515.624,360.202, 505.784,377.914, 488.791,382.769z M 256,224l0,32 l 63.998,0 l0-32 L 256,224 z M 319.998,192l0-32 L 256,160 l0,32 L 319.998,192 z M 256,288l0,32
|
||||
l 63.998,0 l0-32 L 256,288 z M 152.249,320L 224,320 l0-32 l-67.751,0 L 152.249,320z M 160.249,256L 224,256 l0-32 l-59.751,0 L 160.249,256z M 168.249,192L 224,192 l0-32 l-51.751,0
|
||||
L 168.249,192z M 391.862,160l-39.864,0 l0,32 l 49.007,0 L 391.862,160z M 410.148,224l-58.15,0 l0,32 l 67.293,0 L 410.148,224z M 428.434,288l-76.436,0
|
||||
l0,32 l 85.579,0 L 428.434,288zM 128,16A48,48 2700 1 1 224,16A48,48 2700 1 1 128,16zM 320,16A48,48 2700 1 1 416,16A48,48 2700 1 1 320,16z" />
|
||||
<glyph unicode="" d="M 512,175.953l0,96.094 l-73.387,12.231c-2.979,9.066-6.611,17.834-10.847,26.25l 43.227,60.517l-67.948,67.949l-60.413-43.152
|
||||
c-8.455,4.277-17.269,7.944-26.384,10.951L 304.047,480l-96.094,0 l-12.201-73.208c-9.115-3.007-17.929-6.674-26.383-10.951
|
||||
l-60.414,43.152l-67.949-67.949l 43.227-60.518c-4.235-8.415-7.867-17.183-10.846-26.249L0,272.047l0-96.094 l 73.559-12.26
|
||||
c 2.98-8.984, 6.605-17.674, 10.821-26.015l-43.374-60.724l 67.949-67.948l 60.827,43.447c 8.301-4.175, 16.945-7.764, 25.882-10.717
|
||||
L 207.953-32l 96.094,0 l 12.289,73.737c 8.937,2.953, 17.581,6.542, 25.883,10.716l 60.826-43.446l 67.948,67.948l-43.372,60.723
|
||||
c 4.216,8.341, 7.839,17.031, 10.82,26.016L 512,175.953z M 256,160c-35.346,0-64,28.653-64,64c0,35.346, 28.654,64, 64,64
|
||||
c 35.347,0, 64-28.654, 64-64C 320,188.653, 291.347,160, 256,160z" />
|
||||
<glyph unicode="" d="M 448,0l-384,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,13 9.25,22.5t 22.75,9.5l 240,0 l 23,42.5q 3.5,9 14,15.25t 22,6.25l 120,0 q 12,0 22.5-6.25t 14-15.25l 24.5-42.5l0-288 q0-26.5 -18.75-45.25t-45.25-18.75zM 448,320q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t-14-22.5t-34-9.25l-192,0
|
||||
q-6.5,0 -11.25-4.75t-4.75-11.25l0-192 q0-6.5 4.75-11.25t 11.25-4.75l 352,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,240 zM 23,426q 3.5,9.5 14,15.75t 22,6.25l 120,0 q 12,0 22.5-6.25t 14.5-15.75l 24-42l-240,0 z" />
|
||||
<glyph unicode="" d="M 512.5,248.5l-101-112l 14.5-148.5q-1.5-10 -9.5-15.75t-18-3.75l-139.5,59.5l-139.5-59.5q-10-2 -18,4t-9.5,15.5l 14.5,148.5l-101,112q-4.5,8.5 -1.25,18t 11.75,14l 149,32l 77,129q 7,7 17,7t 17-7l 77-129l 149-32q 8.5-4.5 11.75-14t-1.25-18z" />
|
||||
<glyph unicode="" d="M 512.5,248.5l-101-112l 14.5-148.5q-1.5-10 -9.5-15.75t-18-3.75l-139.5,59.5l-139.5-59.5q-10-2 -18,3.75t-9.5,15.75l 14.5,148.5l-101,112q-4.5,8.5 -1.25,18t 11.75,14l 149,32l 77,129q 7,7 17,7t 17-7l 77-129l 149-32q 8.5-4.5 11.75-14t-1.25-18zM 425.5,251l-102,22.5l-53,90q-5,5 -11.75,5
|
||||
t-11.75-5l-53-90l-102.5-22.5q-6-3.5 -8-10t 1-12.5l 70.5-80l-8-100q 1-7.5 5.25-12.5t 10.25-4l 96,42l 96-42q 6.5-1 10.75,4t 5.25,12.5l-8,100.5l 70.5,79.5q 3,6 0.75,12.5t-8.25,10z" />
|
||||
<glyph unicode="" d="M 402.5,118l-146.5-150l-147,150q-59.5,61 -84.25,115.5t-24.75,118.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0-63.5 -24.75-118.25t-84.75-115.75z" />
|
||||
<glyph unicode="" d="M 402.5,118l-146.5-150l-147,150q-59.5,61 -84.25,115.5t-24.75,118.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0-63.5 -24.75-118.25t-84.75-115.75zM 448,352q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25l0-0.5 q0-8.5 -20-20t-44-11.5
|
||||
q-25,0 -44.5,11t-19.5,21l0,0 q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25l0-0.5 q0-53 18-95.25t 63.5-95.25l 110.5-113l 110,113q 46,53.5 64,95.5t 18,95.5l0,0 z" />
|
||||
<glyph unicode="" d="M 480-32l-191.5,0 q-13.5,0 -22.75,9.25t-9.25,22.75l 67.5,67.5l-74.5,72.5q-9,9.5 -9,22.75t 9,22.75l 46,45.5q 9,9 22.5,9t 23-9l 73.5-72.5l 65.5,65q 13.5,0 22.75-9.25t 9.25-22.75l0-191.5 q0-13.5 -9.25-22.75t-22.75-9.25zM 217,217q-9.5-9.5 -22.75-9.5t-22.75,9.5l-74,72.5l-65.5-65.5
|
||||
q-13,0 -22.5,9.5t-9.5,22.5l0,192 q0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.75l-67.5-67.5l 74.5-73q 9.5-9 9.5-22.5t-9.5-22.5z" />
|
||||
<glyph unicode="" d="M 502.5,69.5q 9.5-9.5 9.5-23t-9.5-23l-45.5-46q-9.5-9.5 -22.75-9.5t-22.75,9.5l-57,57l-66.5-66.5q-13.5,0 -22.75,9.5t-9.25,22.5l0,192.5 q0,13 9.25,22.5t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.5l-66.5-66.5zM 224,224.5l-191.5,0 q-13.5,0 -22.75,9.25t-9.25,22.75l 66,66l-57,56.5q-9.5,9.5 -9.5,23t 9.5,23
|
||||
l 45.5,46q 9.5,9.5 23,9.5t 23-9.5l 57-57l 66,66q 13.5,0 22.75-9.25t 9.25-22.75l0-191.5 q0-13.5 -9.5-22.75t-22.5-9.25z" />
|
||||
<glyph unicode="" d="M 448,96l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 q0-26.5 -18.75-45.25t-45.25-18.75zM 448,384q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 116,0 l-139.5-139.5
|
||||
q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 140,140l0-117 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,192 zM 416-0.25q0-13.25 -9.25-22.5t-22.75-9.25l-320,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,320 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-288 q0-13.5 9.25-22.75
|
||||
t 22.75-9.25l 288,0 q 13,0 22.5-9.5t 9.5-22.75z" />
|
||||
<glyph unicode="" d="M 438.857,406.857l0-128 q0-7.429 -5.429-12.857t-12.857-5.429l-128,0 q-12,0 -16.857,11.429q-4.857,11.143 4,19.714l 39.429,39.429q-42.286,39.143 -99.714,39.143q-29.714,0 -56.714-11.571t-46.714-31.286t-31.286-46.714t-11.571-56.714t 11.571-56.714t 31.286-46.714t 46.714-31.286t 56.714-11.571q 48.286,0 86.857,28.429t 52.857,74.714q 2,6.571 8.571,6.571l 56.857,0 q 4.571,0 7.143-3.429q 2.857-3.714 2-7.714q-11.143-50 -42.143-89.143t-76-60.857t-96.143-21.714q-44.571,0 -85.143,17.429t-70,46.857t-46.857,70t-17.429,85.143t 17.429,85.143t 46.857,70t 70,46.857t 85.143,17.429q 42,0 81.286-15.857t 69.857-44.714l 37.143,36.857q 8.286,8.857 20,4q 11.143-4.857 11.143-16.857z" horiz-adv-x="438.857" />
|
||||
<glyph unicode="" d="M 438.857,96l0-36.571 q0-7.429 -5.429-12.857t-12.857-5.429l-402.286,0 q-7.429,0 -12.857,5.429t-5.429,12.857l0,36.571 q0,7.429 5.429,12.857t 12.857,5.429l 402.286,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 438.857,242.286l0-36.571 q0-7.429 -5.429-12.857t-12.857-5.429l-402.286,0 q-7.429,0 -12.857,5.429t-5.429,12.857l0,36.571 q0,7.429 5.429,12.857t 12.857,5.429l 402.286,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 438.857,388.571l0-36.571 q0-7.429 -5.429-12.857 t-12.857-5.429l-402.286,0 q-7.429,0 -12.857,5.429t-5.429,12.857l0,36.571 q0,7.429 5.429,12.857t 12.857,5.429l 402.286,0 q 7.429,0 12.857-5.429t 5.429-12.857z" horiz-adv-x="438.857" />
|
||||
<glyph unicode="" d="M 512,96q0-53 -37.5-90.5t-90.5-37.5q-51.5,0 -88.5,35.5q-20.5-3.5 -39.5-3.5q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87q0,18.5 3.5,39.5q-35.5,37 -35.5,88.5q0,53 37.5,90.5t 90.5,37.5q 51.5,0 88.5-35.5q 20.5,3.5 39.5,3.5q 45.5,0 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87q0-19 -3.5-39.5q 35.5-37 35.5-88.5
|
||||
zM 256,320q 26.5,0 45.25-9.25t 18.75-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,40 -37.5,68t-90.5,28t-90.5-28t-37.5-68t 37.5-68t 90.5-28q 26.5,0 45.25-9.25t 18.75-22.75t-18.75-22.75t-45.25-9.25t-45.25,9.5t-18.75,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.75q0-40 37.5-68t 90.5-28
|
||||
t 90.5,28t 37.5,68t-37.5,68t-90.5,28q-26.5,0 -45.25,9.5t-18.75,22.75t 18.75,22.5t 45.25,9.25z" />
|
||||
<glyph unicode="" d="M 156.39,456.909L 10.24,365.875l 100.122-83.942L 256,376.525L 156.39,456.909z M 344.371,70.554c-2.611,0-5.197,0.896-7.296,2.662L 256,140.442
|
||||
l-81.075-67.251c-2.099-1.741-4.71-2.662-7.296-2.662c-2.176,0-4.352,0.589-6.246,1.843l-60.058,39.296l0-23.194 L 256-8.909l 154.675,97.408
|
||||
l0,23.194 l-60.058-39.296C 348.723,71.142, 346.547,70.554, 344.371,70.554z M 501.76,365.875l-146.15,91.034L 256,376.525l 145.613-94.566L 501.76,365.875z
|
||||
M 256,190.95l 90.291-74.957l 144.435,94.413l-89.088,71.526L 256,190.95z M 165.709,115.994L 256,190.95L 110.387,281.958l-89.088-71.552L 165.709,115.994z" />
|
||||
<glyph unicode=" " horiz-adv-x="256" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 49 KiB |
BIN
rainloop/v/1.3.10.492/static/css/fonts/icomoon.ttf
Normal file
BIN
rainloop/v/1.3.10.492/static/css/fonts/icomoon.woff
Normal file
BIN
rainloop/v/1.3.10.492/static/css/images/editor.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
rainloop/v/1.3.10.492/static/css/images/empty-contact.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
rainloop/v/1.3.10.492/static/css/images/grey.png
Normal file
|
After Width: | Height: | Size: 109 B |
|
After Width: | Height: | Size: 244 B |
BIN
rainloop/v/1.3.10.492/static/css/images/loader-black.gif
Normal file
|
After Width: | Height: | Size: 404 B |
BIN
rainloop/v/1.3.10.492/static/css/images/loader-white.gif
Normal file
|
After Width: | Height: | Size: 404 B |
BIN
rainloop/v/1.3.10.492/static/css/images/sync.gif
Normal file
|
After Width: | Height: | Size: 847 B |
BIN
rainloop/v/1.3.10.492/static/css/images/sync.png
Normal file
|
After Width: | Height: | Size: 356 B |
BIN
rainloop/v/1.3.10.492/static/css/images/white.png
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
rainloop/v/1.3.10.492/static/css/select2-spinner.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
rainloop/v/1.3.10.492/static/css/select2.png
Normal file
|
After Width: | Height: | Size: 613 B |
BIN
rainloop/v/1.3.10.492/static/css/select2x2.png
Normal file
|
After Width: | Height: | Size: 845 B |
BIN
rainloop/v/1.3.10.492/static/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
rainloop/v/1.3.10.492/static/favicon.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
159
rainloop/v/1.3.10.492/static/js/admin.min.js
vendored
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
(function(g,i,d,fa,y,j){function p(){this.sBase="#/";this.sCdnStaticDomain=e.settingsGet("CdnStaticDomain");this.sVersion=e.settingsGet("Version");this.sSpecSuffix=e.settingsGet("AuthAccountHash")||"0";this.sServer=(e.settingsGet("IndexFile")||"./")+"?";this.sCdnStaticDomain=""===this.sCdnStaticDomain?this.sCdnStaticDomain:"/"===this.sCdnStaticDomain.substr(-1)?this.sCdnStaticDomain:this.sCdnStaticDomain+"/"}function N(){}function O(){}function P(){var a=j.find([O,N],function(a){return a.supported()});
|
||||
a&&(this.oDriver=new a)}function ga(){}function t(a,b){this.sPosition=c.pString(a);this.sTemplate=c.pString(b);this.viewModelName="";this.viewModelVisibility=d.observable(!1);"Popups"===this.sPosition&&(this.modalVisibility=d.observable(!1));this.viewModelDom=null}function w(a,b){this.sScreenName=a;this.aViewModels=c.isArray(b)?b:[]}function r(){this.sDefaultScreenName="";this.oScreens={};this.oCurrentScreen=this.oBoot=null;this.popupVisibility=d.observable(!1);this.popupVisibility.subscribe(function(a){e&&
|
||||
e.popupVisibility(a)})}function s(a,b){this.email=a||"";this.name=b||"";this.privateType=null;this.clearDuplicateName()}function B(){t.call(this,"Popups","PopupsDomain");this.edit=d.observable(!1);this.saving=d.observable(!1);this.savingError=d.observable("");this.whiteListPage=d.observable(!1);this.testing=d.observable(!1);this.testingDone=d.observable(!1);this.testingImapError=d.observable(!1);this.testingSmtpError=d.observable(!1);this.imapServerFocus=d.observable(!1);this.smtpServerFocus=d.observable(!1);
|
||||
this.name=d.observable("");this.imapServer=d.observable("");this.imapPort=d.observable(m.Values.ImapDefaulPort);this.imapSecure=d.observable(f.ServerSecure.None);this.imapShortLogin=d.observable(!1);this.smtpServer=d.observable("");this.smtpPort=d.observable(m.Values.SmtpDefaulPort);this.smtpSecure=d.observable(f.ServerSecure.None);this.smtpShortLogin=d.observable(!1);this.smtpAuth=d.observable(!0);this.whiteList=d.observable("");this.imapServerFocus.subscribe(function(a){a&&(""!==this.name()&&""===
|
||||
this.imapServer())&&this.imapServer(this.name())},this);this.smtpServerFocus.subscribe(function(a){a&&(""!==this.imapServer()&&""===this.smtpServer())&&this.smtpServer(this.imapServer())},this);this.headerText=d.computed(function(){var a=this.name();return this.edit()?'Edit Domain "'+a+'"':"Add Domain"+(""===a?"":' "'+a+'"')},this);this.domainIsComputed=d.computed(function(){return""!==this.name()&&""!==this.imapServer()&&""!==this.imapPort()&&""!==this.smtpServer()&&""!==this.smtpPort()},this);this.canBeTested=
|
||||
d.computed(function(){return!this.testing()&&this.domainIsComputed()},this);this.canBeSaved=d.computed(function(){return!this.saving()&&this.domainIsComputed()},this);this.createOrAddCommand=c.createCommand(this,function(){this.saving(!0);e.remote().createOrUpdateDomain(j.bind(this.onDomainCreateOrSaveResponse,this),!this.edit(),this.name(),this.imapServer(),this.imapPort(),this.imapSecure(),this.imapShortLogin(),this.smtpServer(),this.smtpPort(),this.smtpSecure(),this.smtpShortLogin(),this.smtpAuth(),
|
||||
this.whiteList())},this.canBeSaved);this.testConnectionCommand=c.createCommand(this,function(){this.whiteListPage(!1);this.testingDone(!1);this.testingImapError(!1);this.testingSmtpError(!1);this.testing(!0);e.remote().testConnectionForDomain(j.bind(this.onTestConnectionResponse,this),this.imapServer(),this.imapPort(),this.imapSecure(),this.smtpServer(),this.smtpPort(),this.smtpSecure(),this.smtpAuth())},this.canBeTested);this.whiteListCommand=c.createCommand(this,function(){this.whiteListPage(!this.whiteListPage())})}
|
||||
function Q(){t.call(this,"Popups","PopupsPlugin");var a=this;this.onPluginSettingsUpdateResponse=j.bind(this.onPluginSettingsUpdateResponse,this);this.saveError=d.observable("");this.name=d.observable("");this.readme=d.observable("");this.configures=d.observableArray([]);this.hasReadme=d.computed(function(){return""!==this.readme()},this);this.hasConfiguration=d.computed(function(){return 0<this.configures().length},this);this.readmePopoverConf={placement:"top",trigger:"hover",title:"About",content:function(){return a.readme()}};
|
||||
this.saveCommand=c.createCommand(this,function(){var a={};a.Name=this.name();j.each(this.configures(),function(h){var c=h.value();if(!1===c||!0===c)c=c?"1":"0";a["_"+h.Name]=c},this);this.saveError("");e.remote().pluginSettingsUpdate(this.onPluginSettingsUpdateResponse,a)},this.hasConfiguration)}function R(){t.call(this,"Popups","PopupsActivate");var a=this;this.domain=d.observable("");this.key=d.observable("");this.key.focus=d.observable(!1);this.activationSuccessed=d.observable(!1);this.licenseTrigger=
|
||||
e.data().licenseTrigger;this.activateProcess=d.observable(!1);this.activateText=d.observable("");this.activateText.isError=d.observable(!1);this.key.subscribe(function(){this.activateText("");this.activateText.isError(!1)},this);this.activationSuccessed.subscribe(function(a){a&&this.licenseTrigger(!this.licenseTrigger())},this);this.activateCommand=c.createCommand(this,function(){this.activateProcess(!0);this.validateSubscriptionKey()?e.remote().licensingActivate(function(b,h){a.activateProcess(!1);
|
||||
f.StorageResultType.Success===b&&h.Result?!0===h.Result?(a.activationSuccessed(!0),a.activateText("Subscription Key Activated Successfully"),a.activateText.isError(!1)):(a.activateText(h.Result),a.activateText.isError(!0),a.key.focus(!0)):(h.ErrorCode?a.activateText(c.getNotification(h.ErrorCode)):a.activateText(c.getNotification(f.Notification.UnknownError)),a.activateText.isError(!0),a.key.focus(!0))},this.domain(),this.key()):(this.activateProcess(!1),this.activateText("Invalid Subscription Key"),
|
||||
this.activateText.isError(!0),this.key.focus(!0))},function(){return!this.activateProcess()&&""!==this.domain()&&""!==this.key()&&!this.activationSuccessed()})}function S(){t.call(this,"Popups","PopupsLanguages");this.exp=d.observable(!1);this.languages=d.computed(function(){var a=e.data().mainLanguage();return j.map(e.data().languages(),function(b){return{key:b,selected:b===a,fullName:c.convertLangName(b)}})})}function T(){t.call(this,"Right","AdminLogin");this.login=d.observable("");this.password=
|
||||
d.observable("");this.loginError=d.observable(!1);this.passwordError=d.observable(!1);this.loginFocus=d.observable(!1);this.login.subscribe(function(){this.loginError(!1)},this);this.password.subscribe(function(){this.passwordError(!1)},this);this.submitRequest=d.observable(!1);this.submitError=d.observable("");this.submitCommand=c.createCommand(this,function(){this.loginError(""===c.trim(this.login()));this.passwordError(""===c.trim(this.password()));if(this.loginError()||this.passwordError())return!1;
|
||||
this.submitRequest(!0);e.remote().adminLogin(j.bind(function(a,b){f.StorageResultType.Success===a&&b&&"AdminLogin"===b.Action?b.Result?e.loginAndLogoutReload():b.ErrorCode&&(this.submitRequest(!1),this.submitError(c.getNotification(b.ErrorCode))):(this.submitRequest(!1),this.submitError(c.getNotification(f.Notification.UnknownError)))},this),this.login(),this.password());return!0},function(){return!this.submitRequest()})}function X(a){t.call(this,"Left","AdminMenu");this.menu=a.menu}function Y(){t.call(this,
|
||||
"Right","AdminPane");this.adminDomain=d.observable(e.settingsGet("AdminDomain"));this.version=d.observable(e.settingsGet("Version"))}function ha(){var a=e.data();this.mainLanguage=a.mainLanguage;this.mainTheme=a.mainTheme;this.language=a.language;this.theme=a.theme;this.allowThemes=a.allowThemes;this.allowCustomTheme=a.allowCustomTheme;this.allowCustomLogin=a.allowCustomLogin;this.allowLanguagesOnLogin=a.allowLanguagesOnLogin;this.allowLanguagesOnSettings=a.allowLanguagesOnSettings;this.allowAdditionalAccounts=
|
||||
a.allowAdditionalAccounts;this.allowIdentities=a.allowIdentities;this.determineUserLanguage=a.determineUserLanguage;this.title=d.observable(e.settingsGet("Title"));this.defaultDomain=d.observable(e.settingsGet("LoginDefaultDomain"));this.themesOptions=d.computed(function(){return j.map(a.themes(),function(a){return{optValue:a,optText:c.convertThemeName(a)}})});this.languagesOptions=d.computed(function(){return j.map(a.languages(),function(a){return{optValue:a,optText:c.convertLangName(a)}})});this.contactsSupported=
|
||||
e.settingsGet("ContactsIsSupported");this.contactsIsAllowed=e.settingsGet("ContactsIsAllowed");this.titleTrigger=d.observable(f.SaveSettingsStep.Idle);this.languageTrigger=d.observable(f.SaveSettingsStep.Idle);this.themeTrigger=d.observable(f.SaveSettingsStep.Idle);this.defaultDomainTrigger=d.observable(f.SaveSettingsStep.Idle)}function C(){var a=e.data();this.domains=a.domains;this.domainsLoading=a.domainsLoading;this.iDomainForDeletionTimeout=0;this.visibility=d.computed(function(){return a.domainsLoading()?
|
||||
"visible":"hidden"},this);this.domainForDeletion=d.observable(null).extend({toggleSubscribe:[this,function(a){a&&a.deleteAccess(!1)},function(a){a&&(a.deleteAccess(!0),this.startDomainForDeletionTimeout())}]})}function K(){this.csrfProtection=d.observable(!!e.settingsGet("UseTokenProtection"));this.usageStatistics=d.observable(!!e.settingsGet("UsageStatistics"));this.adminLogin=d.observable(e.settingsGet("AdminLogin"));this.adminPassword=d.observable("");this.adminPasswordNew=d.observable("");this.adminPasswordUpdateError=
|
||||
d.observable(!1);this.adminPasswordUpdateSuccess=d.observable(!1);this.adminPassword.subscribe(function(){this.adminPasswordUpdateError(!1);this.adminPasswordUpdateSuccess(!1)},this);this.adminPasswordNew.subscribe(function(){this.adminPasswordUpdateError(!1);this.adminPasswordUpdateSuccess(!1)},this);this.onNewAdminPasswordResponse=j.bind(this.onNewAdminPasswordResponse,this);this.saveNewAdminPasswordCommand=c.createCommand(this,function(){this.adminPasswordUpdateError(!1);this.adminPasswordUpdateSuccess(!1);
|
||||
e.remote().saveNewAdminPassword(this.onNewAdminPasswordResponse,{Password:this.adminPassword(),NewPassword:this.adminPasswordNew()})},function(){return""!==this.adminPassword()&&""!==this.adminPasswordNew()})}function ia(){var a=e.data();this.googleEnable=a.googleEnable;this.googleClientID=a.googleClientID;this.googleClientSecret=a.googleClientSecret;this.googleTrigger1=d.observable(f.SaveSettingsStep.Idle);this.googleTrigger2=d.observable(f.SaveSettingsStep.Idle);this.facebookEnable=a.facebookEnable;
|
||||
this.facebookAppID=a.facebookAppID;this.facebookAppSecret=a.facebookAppSecret;this.facebookTrigger1=d.observable(f.SaveSettingsStep.Idle);this.facebookTrigger2=d.observable(f.SaveSettingsStep.Idle);this.twitterEnable=a.twitterEnable;this.twitterConsumerKey=a.twitterConsumerKey;this.twitterConsumerSecret=a.twitterConsumerSecret;this.twitterTrigger1=d.observable(f.SaveSettingsStep.Idle);this.twitterTrigger2=d.observable(f.SaveSettingsStep.Idle);this.dropboxEnable=a.dropboxEnable;this.dropboxApiKey=
|
||||
a.dropboxApiKey;this.dropboxTrigger1=d.observable(f.SaveSettingsStep.Idle)}function E(){var a=e.data();this.enabledPlugins=d.observable(!!e.settingsGet("EnabledPlugins"));this.pluginsError=d.observable("");this.plugins=a.plugins;this.pluginsLoading=a.pluginsLoading;this.visibility=d.computed(function(){return a.pluginsLoading()?"visible":"hidden"},this);this.onPluginLoadRequest=j.bind(this.onPluginLoadRequest,this);this.onPluginDisableRequest=j.bind(this.onPluginDisableRequest,this)}function J(){var a=
|
||||
e.data();this.packagesError=d.observable("");this.packages=a.packages;this.packagesLoading=a.packagesLoading;this.packagesReal=a.packagesReal;this.packagesMainUpdatable=a.packagesMainUpdatable;this.packagesCurrent=d.computed(function(){return j.filter(this.packages(),function(a){return a&&""!==a.installed&&!a.compare})},this);this.packagesAvailableForUpdate=d.computed(function(){return j.filter(this.packages(),function(a){return a&&""!==a.installed&&!!a.compare})},this);this.packagesAvailableForInstallation=
|
||||
d.computed(function(){return j.filter(this.packages(),function(a){return a&&""===a.installed})},this);this.visibility=d.computed(function(){return a.packagesLoading()?"visible":"hidden"},this)}function L(){this.licensing=e.data().licensing;this.licensingProcess=e.data().licensingProcess;this.licenseValid=e.data().licenseValid;this.licenseExpired=e.data().licenseExpired;this.licenseError=e.data().licenseError;this.licenseTrigger=e.data().licenseTrigger;this.adminDomain=d.observable("");this.subscriptionEnabled=
|
||||
d.observable(!!e.settingsGet("SubscriptionEnabled"));this.licenseTrigger.subscribe(function(){this.subscriptionEnabled()&&e.reloadLicensing(!0)},this)}function Z(){c.initDataConstructorBySettings(this)}function aa(){c.initDataConstructorBySettings(this);this.domainsLoading=d.observable(!1).extend({throttle:100});this.domains=d.observableArray([]);this.pluginsLoading=d.observable(!1).extend({throttle:100});this.plugins=d.observableArray([]);this.packagesReal=d.observable(!0);this.packagesMainUpdatable=
|
||||
d.observable(!0);this.packagesLoading=d.observable(!1).extend({throttle:100});this.packages=d.observableArray([]);this.licensing=d.observable(!1);this.licensingProcess=d.observable(!1);this.licenseValid=d.observable(!1);this.licenseExpired=d.observable(0);this.licenseError=d.observable("");this.licenseTrigger=d.observable(!1)}function F(){this.oRequests={}}function n(){this.oRequests={};this.oRequests={}}function D(){this.oEmailsPicsHashes={};this.oServices={}}function ja(){D.call(this)}function G(a){w.call(this,
|
||||
"settings",a);this.menu=d.observableArray([]);this.oViewModelPlace=this.oCurrentSubScreen=null}function ba(){w.call(this,"login",[T])}function ca(){G.call(this,[X,Y])}function u(){this.oLocal=this.oLink=this.oPlugins=this.oSettings=null;this.isLocalAutocomplete=!0;this.popupVisibility=d.observable(!1);this.iframe=i('<iframe style="display:none" src="javascript:;" />').appendTo("body");H.on("error",function(a){e&&(a&&a.originalEvent&&a.originalEvent.message&&-1===c.inArray(a.originalEvent.message,
|
||||
["Script error.","Uncaught Error: Error calling method on NPObject."]))&&e.remote().jsError(c.emptyFunction,a.originalEvent.message,a.originalEvent.filename,a.originalEvent.lineno,location&&location.toString?location.toString():"",I.attr("class"),c.microtime()-k.now)})}function v(){u.call(this);this.oCache=this.oRemote=this.oData=null}var m={},f={},l={},c={},o={},k={},A={settings:[],"settings-removed":[],"settings-disabled":[]},q=null,U=g.rainloopAppData||{},da=g.rainloopI18N||{},I=i("html"),H=i(g),
|
||||
ka=i(g.document),V=g.Notification&&g.Notification.requestPermission?g.Notification:null,e=null;k.now=(new Date).getTime();k.minuteTick=d.observable(!0);k.fiveMinuteTick=d.observable(!0);k.langChangeTick=d.observable(!0);k.iAjaxErrorCount=0;k.iTokenErrorCount=0;k.iMessageBodyCacheCount=0;k.bUnload=!1;k.sUserAgent=(navigator.userAgent||"").toLowerCase();k.bIsiOSDevice=-1<k.sUserAgent.indexOf("iphone")||-1<k.sUserAgent.indexOf("ipod")||-1<k.sUserAgent.indexOf("ipad");k.bIsAndroidDevice=-1<k.sUserAgent.indexOf("android");
|
||||
k.bMobileDevice=k.bIsiOSDevice||k.bIsAndroidDevice;k.bDisableNanoScroll=k.bMobileDevice;k.bAnimationSupported=!k.bMobileDevice&&I.hasClass("csstransitions");k.sAnimationType="";m.Defaults={};m.Values={};m.DataImages={};m.Defaults.MessagesPerPage=20;m.Defaults.MessagesPerPageArray=[10,20,30,50,100];m.Defaults.DefaultAjaxTimeout=2E4;m.Defaults.SearchAjaxTimeout=12E4;m.Defaults.SendMessageAjaxTimeout=2E5;m.Defaults.SaveMessageAjaxTimeout=2E5;m.Values.UnuseOptionValue="__UNUSE__";m.Values.GmailFolderName=
|
||||
"[Gmail]";m.Values.ClientSideCookieIndexName="rlcsc";m.Values.ImapDefaulPort=143;m.Values.ImapDefaulSecurePort=993;m.Values.SmtpDefaulPort=25;m.Values.SmtpDefaulSecurePort=465;m.Values.iMessageBodyCacheLimit=15;m.DataImages.UserDotPic="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2P8DwQACgAD/il4QJ8AAAAASUVORK5CYII=";m.DataImages.TranspPic="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII=";f.StorageResultType=
|
||||
{Success:"success",Abort:"abort",Error:"error",Unload:"unload"};f.State={Empty:10,Login:20,Auth:30};f.StateType={Webmail:0,Admin:1};f.FolderType={Inbox:10,SentItems:11,Draft:12,Trash:13,Spam:14,User:99};f.LoginSignMeTypeAsString={DefaultOff:"defaultoff",DefaultOn:"defaulton",Unused:"unused"};f.LoginSignMeType={DefaultOff:0,DefaultOn:1,Unused:2};f.ComposeType={Empty:"empty",Reply:"reply",ReplyAll:"replyall",Forward:"forward",ForwardAsAttachment:"forward-as-attachment",Draft:"draft"};f.UploadErrorCode=
|
||||
{Normal:0,FileIsTooBig:1,FilePartiallyUploaded:2,FileNoUploaded:3,MissingTempFolder:4,FileOnSaveingError:5,FileType:98,Unknown:99};f.SetSystemFoldersNotification={None:0,Sent:1,Draft:2,Spam:3,Trash:4};f.ClientSideKeyName={FoldersLashHash:0,MessagesInboxLastHash:1,MailBoxListSize:2,ExpandedFolders:3,FolderListSize:4};f.EventKeyCode={Backspace:8,Enter:13,Esc:27,PageUp:33,PageDown:34,Left:37,Right:39,Up:38,Down:40,End:35,Home:36,Insert:45,Delete:46,A:65,S:83};f.MessageSetAction={SetSeen:0,UnsetSeen:1,
|
||||
SetFlag:2,UnsetFlag:3};f.MessageSelectAction={All:0,None:1,Invert:2,Unseen:3,Seen:4,Flagged:5,Unflagged:6};f.DesktopNotifications={Allowed:0,NotAllowed:1,Denied:2,NotSupported:9};f.MessagePriority={Low:5,Normal:3,High:1};f.EditorDefaultType={Html:"Html",Plain:"Plain"};f.CustomThemeType={Light:"Light",Dark:"Dark"};f.ServerSecure={None:0,SSL:1,TLS:2};f.SearchDateType={All:-1,Days3:3,Days7:7,Month:30};f.EmailType={Defailt:0,Facebook:1,Google:2};f.SaveSettingsStep={Animate:-2,Idle:-1,TrueResult:1,FalseResult:0};
|
||||
f.InterfaceAnimation={None:"None",Normal:"Normal",Full:"Full"};f.Notification={InvalidToken:101,AuthError:102,AccessError:103,ConnectionError:104,CaptchaError:105,SocialFacebookLoginAccessDisable:106,SocialTwitterLoginAccessDisable:107,SocialGoogleLoginAccessDisable:108,DomainNotAllowed:109,AccountNotAllowed:110,CantGetMessageList:201,CantGetMessage:202,CantDeleteMessage:203,CantMoveMessage:204,CantSaveMessage:301,CantSendMessage:302,InvalidRecipients:303,CantCreateFolder:400,CantRenameFolder:401,
|
||||
CantDeleteFolder:402,CantSubscribeFolder:403,CantUnsubscribeFolder:404,CantDeleteNonEmptyFolder:405,CantSaveSettings:501,CantSavePluginSettings:502,DomainAlreadyExists:601,CantInstallPackage:701,CantDeletePackage:702,InvalidPluginPackage:703,UnsupportedPluginPackage:704,LicensingServerIsUnavailable:710,LicensingExpired:711,LicensingBanned:712,DemoSendMessageError:750,AccountAlreadyExists:801,MailServerError:901,UnknownNotification:999,UnknownError:999};c.trim=i.trim;c.inArray=i.inArray;c.isArray=
|
||||
j.isArray;c.isFunc=j.isFunction;c.isUnd=j.isUndefined;c.isNull=j.isNull;c.emptyFunction=function(){};c.isNormal=function(a){return!c.isUnd(a)&&!c.isNull(a)};c.windowResize=j.debounce(function(a){c.isUnd(a)?H.resize():g.setTimeout(function(){H.resize()},a)},50);c.isPosNumeric=function(a,b){return c.isNormal(a)?c.isUnd(b)||b?/^[0-9]*$/.test(a.toString()):/^[1-9]+[0-9]*$/.test(a.toString()):!1};c.pInt=function(a){return c.isNormal(a)&&""!==a?g.parseInt(a,10):0};c.pString=function(a){return c.isNormal(a)?
|
||||
""+a:""};c.isNonEmptyArray=function(a){return c.isArray(a)&&0<a.length};c.exportPath=function(a,b,h){for(var d=null,a=a.split("."),h=h||g;a.length&&(d=a.shift());)!a.length&&!c.isUnd(b)?h[d]=b:h=h[d]?h[d]:h[d]={}};c.pImport=function(a,b,h){a[b]=h};c.pExport=function(a,b,h){return c.isUnd(a[b])?h:a[b]};c.encodeHtml=function(a){return c.isNormal(a)?a.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):""};c.splitPlainText=function(a,
|
||||
b){for(var h="",d="",e=a,f=0,g=0,b=c.isUnd(b)?100:b;e.length>b;)d=e.substring(0,b),f=d.lastIndexOf(" "),g=d.lastIndexOf("\n"),-1!==g&&(f=g),-1===f&&(f=b),h+=d.substring(0,f)+"\n",e=e.substring(f+1);return h+e};var W={};c.timeOutAction=function(a,b,h){c.isUnd(W[a])&&(W[a]=0);g.clearTimeout(W[a]);W[a]=g.setTimeout(b,h)};var ea={};c.timeOutActionSecond=function(a,b,h){ea[a]||(ea[a]=g.setTimeout(function(){b();ea[a]=0},h))};var z=!1;c.audio=function(a,b){if(!1===z)if(k.bIsiOSDevice)z=null;else{var h=
|
||||
!1,c=!1,d=g.Audio?new g.Audio:null;d&&d.canPlayType&&d.play?((h=""!==d.canPlayType('audio/mpeg; codecs="mp3"'))||(c=""!==d.canPlayType('audio/ogg; codecs="vorbis"')),h||c?(z=d,z.preload="none",z.loop=!1,z.autoplay=!1,z.muted=!1,z.src=h?a:b):z=null):z=null}return z};c.hos=function(a,b){return a&&Object.hasOwnProperty?Object.hasOwnProperty.call(a,b):!1};c.i18n=function(a,b,h){var d="",a=c.isUnd(da[a])?c.isUnd(h)?a:h:da[a];if(!c.isUnd(b)&&!c.isNull(b))for(d in b)c.hos(b,d)&&(a=a.replace("%"+d+"%",b[d]));
|
||||
return a};c.i18nToNode=function(a){j.defer(function(){i(".i18n",a).each(function(){var a=i(this),h="";(h=a.data("i18n-text"))?a.text(c.i18n(h)):((h=a.data("i18n-html"))&&a.html(c.i18n(h)),(h=a.data("i18n-placeholder"))&&a.attr("placeholder",c.i18n(h)))})})};c.i18nToDoc=function(){g.rainloopI18N&&(da=g.rainloopI18N||{},c.i18nToNode(ka),k.langChangeTick(!k.langChangeTick()));g.rainloopI18N={}};c.initOnStartOrLangChange=function(a,b,c){a&&a.call(b);c?k.langChangeTick.subscribe(function(){a&&a.call(b);
|
||||
c.call(b)}):a&&k.langChangeTick.subscribe(a,b)};c.inFocus=function(){var a=document.activeElement;return a&&("INPUT"===a.tagName||"TEXTAREA"===a.tagName||"IFRAME"===a.tagName||"DIV"===a.tagName&&"editorHtmlArea"===a.className&&a.contentEditable)};c.removeInFocus=function(){if(document&&document.activeElement&&document.activeElement.blur){var a=i(document.activeElement);(a.is("input")||a.is("textarea"))&&document.activeElement.blur()}};c.removeSelection=function(){if(g&&g.getSelection){var a=g.getSelection();
|
||||
a&&a.removeAllRanges&&a.removeAllRanges()}else document&&(document.selection&&document.selection.empty)&&document.selection.empty()};c.replySubjectAdd=function(a,b){var h=null,d=c.trim(b);null!==(h=(new g.RegExp("^"+a+"[\\s]?\\:(.*)$","gi")).exec(b))&&!c.isUnd(h[1])?d=a+"[2]: "+h[1]:null!==(h=(new g.RegExp("^("+a+"[\\s]?[\\[\\(]?)([\\d]+)([\\]\\)]?[\\s]?\\:.*)$","gi")).exec(b))&&!c.isUnd(h[1])&&!c.isUnd(h[2])&&!c.isUnd(h[3])?(c.pInt(h[2]),d=h[1]+(c.pInt(h[2])+1)+h[3]):d=a+": "+b;return d};c.roundNumber=
|
||||
function(a,b){return Math.round(a*Math.pow(10,b))/Math.pow(10,b)};c.friendlySize=function(a){a=c.pInt(a);return 1073741824<=a?c.roundNumber(a/1073741824,1)+"GB":1048576<=a?c.roundNumber(a/1048576,1)+"MB":1024<=a?c.roundNumber(a/1024,0)+"KB":a+"B"};c.log=function(a){g.console&&g.console.log&&g.console.log(a)};c.getNotification=function(a){a=c.pInt(a);return c.isUnd(l[a])?"":l[a]};c.initNotificationLanguage=function(){l[f.Notification.InvalidToken]=c.i18n("NOTIFICATIONS/INVALID_TOKEN");l[f.Notification.AuthError]=
|
||||
c.i18n("NOTIFICATIONS/AUTH_ERROR");l[f.Notification.AccessError]=c.i18n("NOTIFICATIONS/ACCESS_ERROR");l[f.Notification.ConnectionError]=c.i18n("NOTIFICATIONS/CONNECTION_ERROR");l[f.Notification.CaptchaError]=c.i18n("NOTIFICATIONS/CAPTCHA_ERROR");l[f.Notification.SocialFacebookLoginAccessDisable]=c.i18n("NOTIFICATIONS/SOCIAL_FACEBOOK_LOGIN_ACCESS_DISABLE");l[f.Notification.SocialTwitterLoginAccessDisable]=c.i18n("NOTIFICATIONS/SOCIAL_TWITTER_LOGIN_ACCESS_DISABLE");l[f.Notification.SocialGoogleLoginAccessDisable]=
|
||||
c.i18n("NOTIFICATIONS/SOCIAL_GOOGLE_LOGIN_ACCESS_DISABLE");l[f.Notification.DomainNotAllowed]=c.i18n("NOTIFICATIONS/DOMAIN_NOT_ALLOWED");l[f.Notification.AccountNotAllowed]=c.i18n("NOTIFICATIONS/ACCOUNT_NOT_ALLOWED");l[f.Notification.CantGetMessageList]=c.i18n("NOTIFICATIONS/CANT_GET_MESSAGE_LIST");l[f.Notification.CantGetMessage]=c.i18n("NOTIFICATIONS/CANT_GET_MESSAGE");l[f.Notification.CantDeleteMessage]=c.i18n("NOTIFICATIONS/CANT_DELETE_MESSAGE");l[f.Notification.CantMoveMessage]=c.i18n("NOTIFICATIONS/CANT_MOVE_MESSAGE");
|
||||
l[f.Notification.CantSaveMessage]=c.i18n("NOTIFICATIONS/CANT_SAVE_MESSAGE");l[f.Notification.CantSendMessage]=c.i18n("NOTIFICATIONS/CANT_SEND_MESSAGE");l[f.Notification.InvalidRecipients]=c.i18n("NOTIFICATIONS/INVALID_RECIPIENTS");l[f.Notification.CantCreateFolder]=c.i18n("NOTIFICATIONS/CANT_CREATE_FOLDER");l[f.Notification.CantRenameFolder]=c.i18n("NOTIFICATIONS/CANT_RENAME_FOLDER");l[f.Notification.CantDeleteFolder]=c.i18n("NOTIFICATIONS/CANT_DELETE_FOLDER");l[f.Notification.CantDeleteNonEmptyFolder]=
|
||||
c.i18n("NOTIFICATIONS/CANT_DELETE_NON_EMPTY_FOLDER");l[f.Notification.CantSubscribeFolder]=c.i18n("NOTIFICATIONS/CANT_SUBSCRIBE_FOLDER");l[f.Notification.CantUnsubscribeFolder]=c.i18n("NOTIFICATIONS/CANT_UNSUBSCRIBE_FOLDER");l[f.Notification.CantSaveSettings]=c.i18n("NOTIFICATIONS/CANT_SAVE_SETTINGS");l[f.Notification.CantSavePluginSettings]=c.i18n("NOTIFICATIONS/CANT_SAVE_PLUGIN_SETTINGS");l[f.Notification.DomainAlreadyExists]=c.i18n("NOTIFICATIONS/DOMAIN_ALREADY_EXISTS");l[f.Notification.CantInstallPackage]=
|
||||
c.i18n("NOTIFICATIONS/CANT_INSTALL_PACKAGE");l[f.Notification.CantDeletePackage]=c.i18n("NOTIFICATIONS/CANT_DELETE_PACKAGE");l[f.Notification.InvalidPluginPackage]=c.i18n("NOTIFICATIONS/INVALID_PLUGIN_PACKAGE");l[f.Notification.UnsupportedPluginPackage]=c.i18n("NOTIFICATIONS/UNSUPPORTED_PLUGIN_PACKAGE");l[f.Notification.LicensingServerIsUnavailable]=c.i18n("NOTIFICATIONS/LICENSING_SERVER_IS_UNAVAILABLE");l[f.Notification.LicensingExpired]=c.i18n("NOTIFICATIONS/LICENSING_EXPIRED");l[f.Notification.LicensingBanned]=
|
||||
c.i18n("NOTIFICATIONS/LICENSING_BANNED");l[f.Notification.DemoSendMessageError]=c.i18n("NOTIFICATIONS/DEMO_SEND_MESSAGE_ERROR");l[f.Notification.AccountAlreadyExists]=c.i18n("NOTIFICATIONS/ACCOUNT_ALREADY_EXISTS");l[f.Notification.MailServerError]=c.i18n("NOTIFICATIONS/MAIL_SERVER_ERROR");l[f.Notification.UnknownNotification]=c.i18n("NOTIFICATIONS/UNKNOWN_ERROR");l[f.Notification.UnknownError]=c.i18n("NOTIFICATIONS/UNKNOWN_ERROR")};c.getUploadErrorDescByCode=function(a){var b="";switch(c.pInt(a)){case f.UploadErrorCode.FileIsTooBig:b=
|
||||
c.i18n("UPLOAD/ERROR_FILE_IS_TOO_BIG");break;case f.UploadErrorCode.FilePartiallyUploaded:b=c.i18n("UPLOAD/ERROR_FILE_PARTIALLY_UPLOADED");break;case f.UploadErrorCode.FileNoUploaded:b=c.i18n("UPLOAD/ERROR_NO_FILE_UPLOADED");break;case f.UploadErrorCode.MissingTempFolder:b=c.i18n("UPLOAD/ERROR_MISSING_TEMP_FOLDER");break;case f.UploadErrorCode.FileOnSaveingError:b=c.i18n("UPLOAD/ERROR_ON_SAVING_FILE");break;case f.UploadErrorCode.FileType:b=c.i18n("UPLOAD/ERROR_FILE_TYPE");break;default:b=c.i18n("UPLOAD/ERROR_UNKNOWN")}return b};
|
||||
c.killCtrlAandS=function(a){if(a=a||g.event){var b=a.target||a.srcElement,c=a.keyCode||a.which;if(a.ctrlKey&&c===f.EventKeyCode.S)a.preventDefault();else if((!b||!b.tagName||!b.tagName.match(/INPUT|TEXTAREA/i))&&a.ctrlKey&&c===f.EventKeyCode.A)g.getSelection?g.getSelection().removeAllRanges():g.document.selection&&g.document.selection.clear&&g.document.selection.clear(),a.preventDefault()}};c.createCommand=function(a,b,h){var e=b?function(){e.canExecute&&e.canExecute()&&b.apply(a,Array.prototype.slice.call(arguments));
|
||||
return!1}:function(){};e.enabled=d.observable(!0);h=c.isUnd(h)?!0:h;e.canExecute=c.isFunc(h)?d.computed(function(){return e.enabled()&&h.call(a)}):d.computed(function(){return e.enabled()&&!!h});return e};c.initDataConstructorBySettings=function(a){a.editorDefaultType=d.observable(f.EditorDefaultType.Html);a.showImages=d.observable(!1);a.interfaceAnimation=d.observable(f.InterfaceAnimation.Full);k.sAnimationType=f.InterfaceAnimation.Full;a.allowThemes=d.observable(!0);a.allowCustomLogin=d.observable(!1);
|
||||
a.allowLanguagesOnSettings=d.observable(!0);a.allowLanguagesOnLogin=d.observable(!0);a.desktopNotifications=d.observable(!1);a.useThreads=d.observable(!0);a.replySameFolder=d.observable(!0);a.usePreviewPane=d.observable(!0);a.useCheckboxesInList=d.observable(!0);a.interfaceAnimation.subscribe(function(a){if(k.bMobileDevice||a===f.InterfaceAnimation.None)I.removeClass("rl-anim rl-anim-full").addClass("no-rl-anim"),k.sAnimationType=f.InterfaceAnimation.None;else switch(a){case f.InterfaceAnimation.Full:I.removeClass("no-rl-anim").addClass("rl-anim rl-anim-full");
|
||||
k.sAnimationType=a;break;case f.InterfaceAnimation.Normal:I.removeClass("no-rl-anim rl-anim-full").addClass("rl-anim"),k.sAnimationType=a}});a.interfaceAnimation.valueHasMutated();a.desktopNotificationsPermisions=d.computed(function(){a.desktopNotifications();var b=f.DesktopNotifications.NotSupported;if(V&&V.permission)switch(V.permission.toLowerCase()){case "granted":b=f.DesktopNotifications.Allowed;break;case "denied":b=f.DesktopNotifications.Denied;break;case "default":b=f.DesktopNotifications.NotAllowed}else g.webkitNotifications&&
|
||||
g.webkitNotifications.checkPermission&&(b=g.webkitNotifications.checkPermission());return b});a.useDesktopNotifications=d.computed({read:function(){return a.desktopNotifications()&&f.DesktopNotifications.Allowed===a.desktopNotificationsPermisions()},write:function(b){b?(b=a.desktopNotificationsPermisions(),f.DesktopNotifications.Allowed===b?a.desktopNotifications(!0):f.DesktopNotifications.NotAllowed===b?V.requestPermission(function(){a.desktopNotifications.valueHasMutated();f.DesktopNotifications.Allowed===
|
||||
a.desktopNotificationsPermisions()?a.desktopNotifications()?a.desktopNotifications.valueHasMutated():a.desktopNotifications(!0):a.desktopNotifications()?a.desktopNotifications(!1):a.desktopNotifications.valueHasMutated()}):a.desktopNotifications(!1)):a.desktopNotifications(!1)}});a.language=d.observable("");a.languages=d.observableArray([]);a.mainLanguage=d.computed({read:a.language,write:function(b){b!==a.language()?-1<c.inArray(b,a.languages())?a.language(b):0<a.languages().length&&a.language(a.languages()[0]):
|
||||
a.language.valueHasMutated()}});a.theme=d.observable("");a.themes=d.observableArray([]);a.mainTheme=d.computed({read:a.theme,write:function(b){if(b!==a.theme()){var h=a.themes();-1<c.inArray(b,h)?a.theme(b):0<h.length&&a.theme(h[0])}else a.theme.valueHasMutated()}});a.allowCustomTheme=d.observable(!1);a.allowAdditionalAccounts=d.observable(!1);a.allowIdentities=d.observable(!1);a.determineUserLanguage=d.observable(!1);a.messagesPerPage=d.observable(m.Defaults.MessagesPerPage);a.mainMessagesPerPage=
|
||||
a.messagesPerPage;a.mainMessagesPerPage=d.computed({read:a.messagesPerPage,write:function(b){-1<c.inArray(c.pInt(b),m.Defaults.MessagesPerPageArray)?b!==a.messagesPerPage()&&a.messagesPerPage(b):a.messagesPerPage.valueHasMutated()}});a.facebookEnable=d.observable(!1);a.facebookAppID=d.observable("");a.facebookAppSecret=d.observable("");a.twitterEnable=d.observable(!1);a.twitterConsumerKey=d.observable("");a.twitterConsumerSecret=d.observable("");a.googleEnable=d.observable(!1);a.googleClientID=d.observable("");
|
||||
a.googleClientSecret=d.observable("");a.dropboxEnable=d.observable(!1);a.dropboxApiKey=d.observable("");a.contactsIsSupported=d.observable(!1);a.contactsIsAllowed=d.observable(!1)};c.createMomentDate=function(a){return d.computed(function(){k.minuteTick();return this.moment().fromNow()},a)};c.createMomentShortDate=function(a){return d.computed(function(){var a="",a=moment(),h=this.moment(),d=this.momentDate();return a=4>=a.diff(h,"hours")?d:a.format("L")===h.format("L")?c.i18n("MESSAGE_LIST/TODAY_AT",
|
||||
{TIME:h.format("LT")}):a.clone().subtract("days",1).format("L")===h.format("L")?c.i18n("MESSAGE_LIST/YESTERDAY_IN",{TIME:h.format("LT")}):a.year()===h.year()?h.format("D MMM."):h.format("LL")},a)};c.isFolderExpanded=function(a){var b=e.local().get(f.ClientSideKeyName.ExpandedFolders);return j.isArray(b)&&-1!==j.indexOf(b,a)};c.setExpandedFolder=function(a,b){var c=e.local().get(f.ClientSideKeyName.ExpandedFolders);j.isArray(c)||(c=[]);b?(c.push(a),c=j.uniq(c)):c=j.without(c,a);e.local().set(f.ClientSideKeyName.ExpandedFolders,
|
||||
c)};c.initLayoutResizer=function(a,b,c,d,f,M,g,k){var d=d||300,f=f||500,M=M||f-d/2,g=g||300,x=0,l=i(a),m=i(b),o=i(c),b=e.local().get(k)||M,p=function(a,b,c){if(b||c)a=o.width(),b=b?100*(b.size.width/a):null,null===b&&c&&(b=100*(l.width()/a)),null!==b&&(l.css({width:"",height:"",right:""+(100-b)+"%"}),m.css({width:"",height:"",left:""+b+"%"}))};b&&l.width(b);x=o.width()-g;x=f>x?x:f;l.resizable({minWidth:d,maxWidth:x,handles:"e",resize:p,stop:p});p(null,null,!0);H.resize(j.throttle(function(b,c){c&&
|
||||
(c.element&&c.element[0].id&&"#"+c.element[0].id===""+a)&&(x=o.width()-g,x=f>x?x:f,l.resizable("option","maxWidth",x),c.size&&c.size.width&&e.local().set(k,c.size.width),p(null,null,!0))},400))};c.initBlockquoteSwitcher=function(a){if(a){var b=i("blockquote:not(.rl-bq-switcher)",a).filter(function(){return 0===i(this).parent().closest("blockquote",a).length});b&&0<b.length&&b.each(function(){var a=i(this),b=a.height();if(0===b||100<b)a.addClass("rl-bq-switcher hidden-bq"),i('<span class="rlBlockquoteSwitcher"><i class="icon-ellipsis" /></span>').insertBefore(a).click(function(){a.toggleClass("hidden-bq");
|
||||
c.windowResize()}).after("<br />").before("<br />")})}};c.removeBlockquoteSwitcher=function(a){a&&(i(a).find("blockquote.rl-bq-switcher").each(function(){i(this).removeClass("rl-bq-switcher hidden-bq")}),i(a).find(".rlBlockquoteSwitcher").each(function(){i(this).remove()}))};c.extendAsViewModel=function(a,b){b&&(b.__name=a,o.regViewModelHook(a,b),j.extend(b.prototype,t.prototype))};c.addSettingsViewModel=function(a,b,c,d,e){a.__rlSettingsData={Label:c,Template:b,Route:d,IsDefault:!!e};A.settings.push(a)};
|
||||
c.removeSettingsViewModel=function(a){A["settings-removed"].push(a)};c.disableSettingsViewModel=function(a){A["settings-disabled"].push(a)};c.convertThemeName=function(a){return c.trim(a.replace(/[^a-zA-Z]/g," ").replace(/([A-Z])/g," $1").replace(/[\s]+/g," "))};c.quoteName=function(a){return a.replace(/["]/g,'\\"')};c.microtime=function(){return(new Date).getTime()};c.convertLangName=function(a){return c.i18n("LANGS_NAMES/LANG_"+a.toUpperCase().replace(/[^a-zA-Z0-9]+/,"_"),null,a)};c.fakeMd5=function(a){for(var b=
|
||||
"",a=c.isUnd(a)?32:c.pInt(a);b.length<a;)b+="0123456789abcdefghijklmnopqrstuvwxyz".substr(g.Math.round(36*g.Math.random()),1);return b};c.convertPlainTextToHtml=function(a){return a.toString().replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/\r/g,"").replace(/\n/g,"<br />")};c.draggeblePlace=function(){return i('<div class="draggablePlace"><span class="text"></span> <i class="icon-envelope icon-white"></i></div>').appendTo("#rl-hidden")};c.defautOptionsAfterRender=function(a,
|
||||
b){b&&!c.isUnd(b.disable)&&d.applyBindingsToNode(a,{disable:b.disable},b)};c.windowPopupKnockout=function(a,b,h,d){var e=null,f=g.open(""),j="__OpenerApplyBindingsUid"+c.fakeMd5()+"__",k=i("#"+b);g[j]=function(){if(f&&f.document.body&&k&&k[0]){var b=i(f.document.body);i("#rl-content",b).html(k.html());i("html",f.document).addClass("external "+i("html").attr("class"));c.i18nToNode(b);r.prototype.applyExternal(a,i("#rl-content",b)[0]);g[j]=null;d(f)}};f.document.open();f.document.write('<html><head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><meta name="viewport" content="user-scalable=no" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="robots" content="noindex, nofollow, noodp" /><title>'+
|
||||
c.encodeHtml(h)+'</title></head><body><div id="rl-content"></div></body></html>');f.document.close();e=f.document.createElement("script");e.type="text/javascript";e.innerHTML="if(window&&window.opener&&window.opener['"+j+"']){window.opener['"+j+"']();window.opener['"+j+"']=null}";f.document.getElementsByTagName("head")[0].appendChild(e)};c.settingsSaveHelperFunction=function(a,b,h,d){h=h||null;d=c.isUnd(d)?1E3:c.pInt(d);return function(c,e,g,i,x){b.call(h,e&&e.Result?f.SaveSettingsStep.TrueResult:
|
||||
f.SaveSettingsStep.FalseResult);a&&a.call(h,c,e,g,i,x);j.delay(function(){b.call(h,f.SaveSettingsStep.Idle)},d)}};c.settingsSaveHelperSimpleFunction=function(a,b){return c.settingsSaveHelperFunction(null,a,b,1E3)};c.resizeAndCrop=function(a,b,c){var d=new Image;d.onload=function(){var a=[0,0],d=document.createElement("canvas"),e=d.getContext("2d");d.width=b;d.height=b;a=this.width>this.height?[this.width-this.height,0]:[0,this.height-this.width];e.fillStyle="#fff";e.fillRect(0,0,b,b);e.drawImage(this,
|
||||
a[0]/2,a[1]/2,this.width-a[0],this.height-a[1],0,0,b,b);c(d.toDataURL("image/jpeg"))};d.src=a};d.bindingHandlers.tooltip={init:function(a,b){if(!k.bMobileDevice){var h=i(a).data("tooltip-class")||"",e=i(a).data("tooltip-placement")||"top";i(a).tooltip({delay:{show:500,hide:100},html:!0,placement:e,trigger:"hover",title:function(){return'<span class="tooltip-class '+h+'">'+c.i18n(d.utils.unwrapObservable(b()))+"</span>"}})}}};d.bindingHandlers.tooltip2={init:function(a,b){var c=i(a).data("tooltip-class")||
|
||||
"",d=i(a).data("tooltip-placement")||"top";i(a).tooltip({delay:{show:500,hide:100},html:!0,placement:d,title:function(){return'<span class="tooltip-class '+c+'">'+b()()+"</span>"}})}};d.bindingHandlers.dropdown={init:function(a){i(a).closest(".dropdown").on("click",".e-item",function(){i(a).dropdown("toggle")})}};d.bindingHandlers.popover={init:function(a,b){i(a).popover(d.utils.unwrapObservable(b()))}};d.bindingHandlers.resizecrop={init:function(a){i(a).addClass("resizecrop").resizecrop({width:"100",
|
||||
height:"100",wrapperCSS:{"border-radius":"10px"}})},update:function(a,b){b()();i(a).resizecrop({width:"100",height:"100"})}};d.bindingHandlers.onEnter={init:function(a,b,c,d){i(a).on("keypress",function(c){c&&13===g.parseInt(c.keyCode,10)&&(i(a).trigger("change"),b().call(d))})}};d.bindingHandlers.onEsc={init:function(a,b,c,d){i(a).on("keypress",function(c){c&&27===g.parseInt(c.keyCode,10)&&(i(a).trigger("change"),b().call(d))})}};d.bindingHandlers.modal={init:function(a,b){i(a).modal({keyboard:!1,
|
||||
show:d.utils.unwrapObservable(b())}).on("hidden",function(){b()(!1)})},update:function(a,b){var c=d.utils.unwrapObservable(b());i(a).modal(c?"show":"hide");j.delay(function(){i(a).toggleClass("popup-active",c)},1)}};d.bindingHandlers.i18nInit={init:function(a){c.i18nToNode(a)}};d.bindingHandlers.i18nUpdate={update:function(a,b){d.utils.unwrapObservable(b());c.i18nToNode(a)}};d.bindingHandlers.link={update:function(a,b){i(a).attr("href",d.utils.unwrapObservable(b()))}};d.bindingHandlers.title={update:function(a,
|
||||
b){i(a).attr("title",d.utils.unwrapObservable(b()))}};d.bindingHandlers.textF={init:function(a,b){i(a).text(d.utils.unwrapObservable(b()))}};d.bindingHandlers.initDom={init:function(a,b){b()(a)}};d.bindingHandlers.initResizeTrigger={init:function(a,b){var c=d.utils.unwrapObservable(b());i(a).css({height:c[1],"min-height":c[1]})},update:function(a,b){var h=d.utils.unwrapObservable(b()),e=c.pInt(h[1]),f=0,f=i(a).offset().top;0<f&&(f+=c.pInt(h[2]),f=H.height()-f,e<f&&(e=f),i(a).css({height:e,"min-height":e}))}};
|
||||
d.bindingHandlers.appendDom={update:function(a,b){i(a).hide().empty().append(d.utils.unwrapObservable(b())).show()}};d.bindingHandlers.draggable={init:function(a,b,h){if(!k.bMobileDevice){var e=(h=h())&&h.droppableSelector?h.droppableSelector:"",h={distance:20,handle:".dragHandle",cursorAt:{top:22,left:3},refreshPositions:!0,scroll:!0};e&&(h.drag=function(a){i(e).each(function(){var b=null,h=null,d=i(this),h=d.offset(),b=h.top+d.height();g.clearInterval(d.data("timerScroll"));d.data("timerScroll",
|
||||
!1);if(a.pageX>=h.left&&a.pageX<=h.left+d.width()&&(a.pageY>=b-100&&a.pageY<=b&&(b=function(){d.scrollTop(d.scrollTop()+3);c.windowResize()},d.data("timerScroll",g.setInterval(b,10)),b()),a.pageY>=h.top&&a.pageY<=h.top+100))h=function(){d.scrollTop(d.scrollTop()-3);c.windowResize()},d.data("timerScroll",g.setInterval(h,10)),h()})},h.stop=function(){i(e).each(function(){g.clearInterval(i(this).data("timerScroll"));i(this).data("timerScroll",!1)})});h.helper=function(a){return b()(a&&a.target?d.dataFor(a.target):
|
||||
null)};i(a).draggable(h).on("mousedown",function(){c.removeInFocus()})}}};d.bindingHandlers.droppable={init:function(a,b,c){if(!k.bMobileDevice){var d=b(),e=(b=c())&&b.droppableOver?b.droppableOver:null,f=b&&b.droppableOut?b.droppableOut:null,b={tolerance:"pointer",hoverClass:"droppableHover"};d&&(b.drop=function(a,b){d(a,b)},e&&(b.over=function(a,b){e(a,b)}),f&&(b.out=function(a,b){f(a,b)}),i(a).droppable(b))}}};d.bindingHandlers.nano={init:function(a){k.bDisableNanoScroll||i(a).addClass("nano").nanoScroller({iOSNativeScrolling:!1,
|
||||
preventPageScrolling:!0})}};d.bindingHandlers.saveTrigger={init:function(a){i(a).append(' <i class="icon-spinner-2 animated"></i><i class="icon-remove error"></i><i class="icon-ok success"></i>').addClass("settings-saved-trigger")},update:function(a,b){var c=d.utils.unwrapObservable(b()),e=i(a);switch(c.toString()){case "1":e.find(".animated,.error").hide().removeClass("visible").end().find(".success").show().addClass("visible");break;case "0":e.find(".animated,.success").hide().removeClass("visible").end().find(".error").show().addClass("visible");
|
||||
break;case "-2":e.find(".error,.success").hide().removeClass("visible").end().find(".animated").show().addClass("visible");break;default:e.find(".animated").hide().end().find(".error,.success").removeClass("visible")}}};d.bindingHandlers.select2={init:function(a,b){var h=0,f=null,la=new g.RegExp(/[a-zA-Z0-9\.\-_]+@[a-zA-Z0-9\.\-_]+/),M=new g.RegExp(/(.+) [<]?([^\s<@]+@[a-zA-Z0-9\.\-_]+)[>]?/),k=function(){return""},l=function(a){e.getAutocomplete(a.term,a.page,function(b,c){a.callback({more:!!c,results:j.map(b,
|
||||
function(a){var b=a.toLine(!1);return{id:b,text:b,c:a}})})})};i(a).addClass("ko-select2").select2({query:function(a){a&&(0===h?(l(a),h=g.setTimeout(c.emptyFunction,100)):(g.clearInterval(h),h=g.setTimeout(function(){l(a)},100)))},formatSelection:function(a,b){var c=a&&a.c?a.c.select2Selection(b):a.text;if(null!==c)return c},formatResult:function(a,b,c,h){b=a&&a.c?a.c.select2Result(b):"";return""===b?h(a.text):b},createSearchChoice:function(a,b){return 0===b.length&&la.test(a)?{id:a,text:a}:null},
|
||||
formatNoMatches:k,formatSearching:function(){return c.i18n("SUGGESTIONS/SEARCHING_DESC")},formatInputTooShort:k,formatSelectionTooBig:k,multiple:!0,tokenSeparators:[",",";"],minimumInputLength:2,selectOnBlur:!1,closeOnSelect:!0,openOnEnter:!1});d.utils.domNodeDisposal.addDisposeCallback(a,function(){i(a).select2("destroy")});i(a).on("change",function(){for(var a=i(this).select2("data"),h=0,d=a.length,e=null,g=[];h<d;h++)if((e=a[h])&&e.id)e.c||(e.c=new s,(f=M.exec(c.trim(e.id)))&&!c.isUnd(f[2])?(e.c.name=
|
||||
f[1],e.c.email=f[2]):e.c.email=e.id),g.push(e.c);b()(g)})},update:function(a,b){for(var c=d.utils.unwrapObservable(b()),e=0,f=c.length,g=null,j="",k=[];e<f;e++)g=c[e],j=g.toLine(!1),k.push({id:j,text:j,c:g});i(a).select2("data",k)}};d.bindingHandlers.command={init:function(a,b,c,e){var f=i(a),g=b();if(!g||!g.enabled||!g.canExecute)throw Error("You are not using command function");f.addClass("command");d.bindingHandlers[f.is("form")?"submit":"click"].init.apply(e,arguments)},update:function(a,b){var c=
|
||||
!0,d=i(a),e=b(),c=e.enabled();d.toggleClass("command-not-enabled",!c);c&&(c=e.canExecute(),d.toggleClass("command-can-not-be-execute",!c));d.toggleClass("command-disabled disable disabled",!c);(d.is("input")||d.is("button"))&&d.prop("disabled",!c)}};d.extenders.trimmer=function(a){var b=d.computed({read:a,write:function(b){a(c.trim(b.toString()))},owner:this});b(a());return b};d.extenders.reversible=function(a){var b=a();a.commit=function(){b=a()};a.reverse=function(){a(b)};a.commitedValue=function(){return b};
|
||||
return a};d.extenders.toggleSubscribe=function(a,b){a.subscribe(b[1],b[0],"beforeChange");a.subscribe(b[2],b[0]);return a};d.extenders.falseTimeout=function(a,b){a.iTimeout=0;a.subscribe(function(h){h&&(g.clearTimeout(a.iTimeout),a.iTimeout=g.setTimeout(function(){a(!1);a.iTimeout=0},c.pInt(b)))});return a};d.observable.fn.validateEmail=function(){this.hasError=d.observable(!1);this.subscribe(function(a){a=c.trim(a);this.hasError(""!==a&&!/^[^@\s]+@[^@\s]+$/.test(a))},this);this.valueHasMutated();
|
||||
return this};d.observable.fn.validateSimpleEmail=function(){this.hasError=d.observable(!1);this.subscribe(function(a){a=c.trim(a);this.hasError(""!==a&&!/^.+@.+$/.test(a))},this);this.valueHasMutated();return this};d.observable.fn.validateFunc=function(a){this.hasFuncError=d.observable(!1);c.isFunc(a)&&(this.subscribe(function(b){this.hasFuncError(!a(b))},this),this.valueHasMutated());return this};p.prototype.root=function(){return this.sBase};p.prototype.attachmentDownload=function(a){return this.sServer+
|
||||
"/Raw/"+this.sSpecSuffix+"/Download/"+a};p.prototype.attachmentPreview=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/View/"+a};p.prototype.attachmentPreviewAsPlain=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/ViewAsPlain/"+a};p.prototype.upload=function(){return this.sServer+"/Upload/"+this.sSpecSuffix+"/"};p.prototype.uploadBackground=function(){return this.sServer+"/UploadBackground/"+this.sSpecSuffix+"/"};p.prototype.append=function(){return this.sServer+"/Append/"+this.sSpecSuffix+
|
||||
"/"};p.prototype.change=function(a){return this.sServer+"/Change/"+this.sSpecSuffix+"/"+g.encodeURIComponent(a)+"/"};p.prototype.ajax=function(a){return this.sServer+"/Ajax/"+this.sSpecSuffix+"/"+a};p.prototype.messageViewLink=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/ViewAsPlain/"+a};p.prototype.messageDownloadLink=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/Download/"+a};p.prototype.inbox=function(){return this.sBase+"mailbox/Inbox"};p.prototype.settings=function(a){var b=
|
||||
this.sBase+"settings";!c.isUnd(a)&&""!==a&&(b+="/"+a);return b};p.prototype.admin=function(a){var b=this.sBase;switch(a){case "AdminDomains":b+="domains";break;case "AdminSecurity":b+="security";break;case "AdminLicensing":b+="licensing"}return b};p.prototype.mailBox=function(a,b,h){var b=c.isNormal(b)?c.pInt(b):1,h=c.pString(h),d=this.sBase+"mailbox/";""!==a&&(d+=encodeURI(a));1<b&&(d=d.replace(/[\/]+$/,""),d+="/p"+b);""!==h&&(d=d.replace(/[\/]+$/,""),d+="/"+encodeURI(h));return d};p.prototype.phpInfo=
|
||||
function(){return this.sServer+"Info"};p.prototype.langLink=function(a){return this.sServer+"/Lang/0/"+encodeURI(a)+"/"+this.sVersion+"/"};p.prototype.getUserPicUrlFromHash=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/UserPic/"+a+"/"+this.sVersion+"/"};p.prototype.emptyContactPic=function(){return(""===this.sCdnStaticDomain?"rainloop/v/":this.sCdnStaticDomain)+this.sVersion+"/static/css/images/empty-contact.png"};p.prototype.sound=function(a){return(""===this.sCdnStaticDomain?"rainloop/v/":
|
||||
this.sCdnStaticDomain)+this.sVersion+"/static/sounds/"+a};p.prototype.themePreviewLink=function(a){return(""===this.sCdnStaticDomain?"rainloop/v/":this.sCdnStaticDomain)+this.sVersion+"/themes/"+encodeURI(a)+"/images/preview.png"};p.prototype.notificationMailIcon=function(){return(""===this.sCdnStaticDomain?"rainloop/v/":this.sCdnStaticDomain)+this.sVersion+"/static/css/images/icom-message-notification.png"};p.prototype.socialGoogle=function(){return this.sServer+"SocialGoogle"+(""!==this.sSpecSuffix?
|
||||
"/"+this.sSpecSuffix+"/":"")};p.prototype.socialTwitter=function(){return this.sServer+"SocialTwitter"+(""!==this.sSpecSuffix?"/"+this.sSpecSuffix+"/":"")};p.prototype.socialFacebook=function(){return this.sServer+"SocialFacebook"+(""!==this.sSpecSuffix?"/"+this.sSpecSuffix+"/":"")};o.oViewModelsHooks={};o.oSimpleHooks={};o.regViewModelHook=function(a,b){b&&(b.__hookName=a)};o.addHook=function(a,b){c.isFunc(b)&&(c.isArray(o.oSimpleHooks[a])||(o.oSimpleHooks[a]=[]),o.oSimpleHooks[a].push(b))};o.runHook=
|
||||
function(a,b){c.isArray(o.oSimpleHooks[a])&&(b=b||[],j.each(o.oSimpleHooks[a],function(a){a.apply(null,b)}))};o.mainSettingsGet=function(a){return e?e.settingsGet(a):null};o.remoteRequest=function(a,b,c,d,f,g){e&&e.remote().defaultRequest(a,b,c,d,f,g)};o.settingsGet=function(a,b){var d=o.mainSettingsGet("Plugins");return(d=d&&c.isUnd(d[a])?null:d[a])?c.isUnd(d[b])?null:d[b]:null};N.supported=function(){return!0};N.prototype.set=function(a,b){var c=i.cookie(m.Values.ClientSideCookieIndexName),d=!1,
|
||||
e=null;try{(e=null===c?null:JSON.parse(c))||(e={}),e[a]=b,i.cookie(m.Values.ClientSideCookieIndexName,JSON.stringify(e),{expires:30}),d=!0}catch(f){}return d};N.prototype.get=function(a){var b=i.cookie(m.Values.ClientSideCookieIndexName),d=null;try{d=(d=null===b?null:JSON.parse(b))&&!c.isUnd(d[a])?d[a]:null}catch(e){}return d};O.supported=function(){return!!g.localStorage};O.prototype.set=function(a,b){var c=g.localStorage[m.Values.ClientSideCookieIndexName]||null,d=!1,e=null;try{(e=null===c?null:
|
||||
JSON.parse(c))||(e={}),e[a]=b,g.localStorage[m.Values.ClientSideCookieIndexName]=JSON.stringify(e),d=!0}catch(f){}return d};O.prototype.get=function(a){var b=g.localStorage[m.Values.ClientSideCookieIndexName]||null,d=null;try{d=(d=null===b?null:JSON.parse(b))&&!c.isUnd(d[a])?d[a]:null}catch(e){}return d};P.prototype.oDriver=null;P.prototype.set=function(a,b){return this.oDriver?this.oDriver.set("p"+a,b):!1};P.prototype.get=function(a){return this.oDriver?this.oDriver.get("p"+a):null};ga.prototype.bootstart=
|
||||
function(){};t.prototype.sPosition="";t.prototype.sTemplate="";t.prototype.viewModelName="";t.prototype.viewModelDom=null;t.prototype.viewModelTemplate=function(){return this.sTemplate};t.prototype.viewModelPosition=function(){return this.sPosition};t.prototype.cancelCommand=t.prototype.closeCommand=function(){};w.prototype.oCross=null;w.prototype.sScreenName="";w.prototype.aViewModels=[];w.prototype.viewModels=function(){return this.aViewModels};w.prototype.screenName=function(){return this.sScreenName};
|
||||
w.prototype.routes=function(){return null};w.prototype.__cross=function(){return this.oCross};w.prototype.__start=function(){var a=this.routes(),b=null,d=null;c.isNonEmptyArray(a)&&(d=j.bind(this.onRoute||c.emptyFunction,this),b=fa.create(),j.each(a,function(a){b.addRoute(a[0],d).rules=a[1]}),this.oCross=b)};r.prototype.sDefaultScreenName="";r.prototype.oScreens={};r.prototype.oBoot=null;r.prototype.oCurrentScreen=null;r.prototype.showLoading=function(){i("#rl-loading").show()};r.prototype.hideLoading=
|
||||
function(){i("#rl-loading").hide()};r.prototype.routeOff=function(){y.changed.active=!1};r.prototype.routeOn=function(){y.changed.active=!0};r.prototype.setBoot=function(a){c.isNormal(a)&&(this.oBoot=a);return this};r.prototype.screen=function(a){return""!==a&&!c.isUnd(this.oScreens[a])?this.oScreens[a]:null};r.prototype.delegateRun=function(a,b,d){a&&a[b]&&a[b].apply(a,c.isArray(d)?d:[])};r.prototype.buildViewModel=function(a,b){if(a&&!a.__builded){var h=new a(b),f=h.viewModelPosition(),g=i("#rl-content #rl-"+
|
||||
f.toLowerCase()),j=null;a.__builded=!0;a.__vm=h;h.data=e.data();h.viewModelName=a.__name;g&&1===g.length?(j=i("<div>").addClass("rl-view-model").addClass("RL-"+h.viewModelTemplate()).hide().attr("data-bind",'template: {name: "'+h.viewModelTemplate()+'"}, i18nInit: true'),j.appendTo(g),h.viewModelDom=j,a.__dom=j,"Popups"===f&&(h.cancelCommand=h.closeCommand=c.createCommand(h,function(){q.hideScreenPopup(a)})),o.runHook("view-model-pre-build",[a.__name,h,j]),d.applyBindings(h,j[0]),this.delegateRun(h,
|
||||
"onBuild",[j]),o.runHook("view-model-post-build",[a.__name,h,j])):c.log("Cannot find view model position: "+f)}return a?a.__vm:null};r.prototype.applyExternal=function(a,b){a&&b&&d.applyBindings(a,b)};r.prototype.hideScreenPopup=function(a){a&&(a.__vm&&a.__dom)&&(a.__dom.hide(),a.__vm.modalVisibility(!1),this.delegateRun(a.__vm,"onHide"),this.popupVisibility(!1),j.defer(function(){a.__dom.find(".ko-select2").select2("close")}))};r.prototype.showScreenPopup=function(a,b){a&&(this.buildViewModel(a),
|
||||
a.__vm&&a.__dom&&(a.__dom.show(),a.__vm.modalVisibility(!0),this.delegateRun(a.__vm,"onShow",b||[]),this.popupVisibility(!0),o.runHook("view-model-on-show",[a.__name,a.__vm,b||[]])))};r.prototype.screenOnRoute=function(a,b){var d=this,e=null,f=null;""===c.pString(a)&&(a=this.sDefaultScreenName);if(""!==a){e=this.screen(a);if(!e&&(e=this.screen(this.sDefaultScreenName)))b=a+"/"+b,a=this.sDefaultScreenName;e&&e.__started&&(e.__builded||(e.__builded=!0,c.isNonEmptyArray(e.viewModels())&&j.each(e.viewModels(),
|
||||
function(a){this.buildViewModel(a,e)},this),this.delegateRun(e,"onBuild")),j.defer(function(){if(d.oCurrentScreen){d.delegateRun(d.oCurrentScreen,"onHide");c.isNonEmptyArray(d.oCurrentScreen.viewModels())&&j.each(d.oCurrentScreen.viewModels(),function(a){if(a.__vm&&a.__dom&&"Popups"!==a.__vm.viewModelPosition()){a.__dom.hide();a.__vm.viewModelVisibility(false);d.delegateRun(a.__vm,"onHide")}})}d.oCurrentScreen=e;if(d.oCurrentScreen){d.delegateRun(d.oCurrentScreen,"onShow");o.runHook("screen-on-show",
|
||||
[d.oCurrentScreen.screenName(),d.oCurrentScreen]);c.isNonEmptyArray(d.oCurrentScreen.viewModels())&&j.each(d.oCurrentScreen.viewModels(),function(a){if(a.__vm&&a.__dom&&"Popups"!==a.__vm.viewModelPosition()){a.__dom.show();a.__vm.viewModelVisibility(true);d.delegateRun(a.__vm,"onShow");o.runHook("view-model-on-show",[a.__name,a.__vm])}},d)}(f=e.__cross())&&f.parse(b)}))}};r.prototype.startScreens=function(a){j.each(a,function(a){var c=(a=new a)?a.screenName():"";a&&""!==c&&(""===this.sDefaultScreenName&&
|
||||
(this.sDefaultScreenName=c),this.oScreens[c]=a)},this);j.each(this.oScreens,function(a){a&&(!a.__started&&a.__start)&&(a.__started=!0,a.__start(),o.runHook("screen-pre-start",[a.screenName(),a]),this.delegateRun(a,"onStart"),o.runHook("screen-post-start",[a.screenName(),a]))},this);a=fa.create();a.addRoute(/^([a-zA-Z0-9\-]*)\/?(.*)$/,j.bind(this.screenOnRoute,this));y.initialized.add(a.parse,a);y.changed.add(a.parse,a);y.init()};r.prototype.setHash=function(a,b,d){a="#"===a.substr(0,1)?a.substr(1):
|
||||
a;a="/"===a.substr(0,1)?a.substr(1):a;d=c.isUnd(d)?!1:!!d;(c.isUnd(b)?0:b)?(y.changed.active=!1,y[d?"replaceHash":"setHash"](a),y.changed.active=!0):(y.changed.active=!0,y[d?"replaceHash":"setHash"](a),y.setHash(a))};r.prototype.bootstart=function(){this.oBoot&&this.oBoot.bootstart&&this.oBoot.bootstart();return this};q=new r;s.newInstanceFromJson=function(a){var b=new s;return b.initByJson(a)?b:null};s.prototype.name="";s.prototype.email="";s.prototype.privateType=null;s.prototype.validate=function(){return""!==
|
||||
this.name||""!==this.email};s.prototype.hash=function(a){return"#"+(a?"":this.name)+"#"+this.email+"#"};s.prototype.clearDuplicateName=function(){this.name===this.email&&(this.name="")};s.prototype.type=function(){if(null===this.privateType&&(this.email&&"@facebook.com"===this.email.substr(-13)&&(this.privateType=f.EmailType.Facebook),null===this.privateType))this.privateType=f.EmailType.Default;return this.privateType};s.prototype.search=function(a){return-1<(this.name+" "+this.email).toLowerCase().indexOf(a.toLowerCase())};
|
||||
s.prototype.parse=function(a){var a=c.trim(a),b=/(?:"([^"]+)")? ?<?(.*?@[^>,]+)>?,? ?/g.exec(a);b?(this.name=b[1]||"",this.email=b[2]||"",this.clearDuplicateName()):/^[^@]+@[^@]+$/.test(a)&&(this.name="",this.email=a)};s.prototype.initByJson=function(a){var b=!1;a&&"Object/Email"===a["@Object"]&&(this.name=c.trim(a.Name),this.email=c.trim(a.Email),b=""!==this.email,this.clearDuplicateName());return b};s.prototype.toLine=function(a,b){var d="";""!==this.email&&(b=c.isUnd(b)?!1:!!b,a&&""!==this.name?
|
||||
d=b?'<a href="mailto:'+c.encodeHtml('"'+this.name+'" <'+this.email+">")+'" target="_blank" tabindex="-1">'+c.encodeHtml(this.name)+"</a>":this.name:(d=this.email,""!==this.name?d=b?c.encodeHtml('"'+this.name+'" <')+'<a href="mailto:'+c.encodeHtml('"'+this.name+'" <'+this.email+">")+'" target="_blank" tabindex="-1">'+c.encodeHtml(d)+"</a>"+c.encodeHtml(">"):'"'+this.name+'" <'+d+">":b&&(d='<a href="mailto:'+c.encodeHtml(this.email)+'" target="_blank" tabindex="-1">'+c.encodeHtml(this.email)+"</a>")));
|
||||
return d};s.prototype.select2Result=function(){var a="",b=e.cache().getUserPic(this.email),a=""!==b?a+('<img class="select2-user-pic pull-left" src="'+c.encodeHtml(b)+'" />'):a+('<img class="select2-user-pic pull-left" src="'+e.link().emptyContactPic()+'" />');f.EmailType.Facebook===this.type()?(a+=""+(0<this.name.length?this.name:this.email),a+='<i class="icon-facebook pull-right select2-icon-result" />'):a+=""+(0<this.name.length?this.email+' <span class="select2-subname">('+this.name+")</span>":
|
||||
this.email);return a+""};s.prototype.select2Selection=function(a){var b="";if(f.EmailType.Facebook===this.type()){if(b=0<this.name.length?this.name:this.email,""!==b)return i("<pan>").text(b).appendTo(a),a.append('<i class="icon-facebook select2-icon"></i>'),null}else b=0<this.name.length?this.name+" ("+this.email+")":this.email;return b};c.extendAsViewModel("PopupsDomainViewModel",B);B.prototype.onTestConnectionResponse=function(a,b){this.testing(!1);f.StorageResultType.Success===a&&b.Result?(this.testingDone(!0),
|
||||
this.testingImapError(!1===b.Result.Imap),this.testingSmtpError(!1===b.Result.Smtp)):(this.testingImapError(!0),this.testingSmtpError(!0))};B.prototype.onDomainCreateOrSaveResponse=function(a,b){this.saving(!1);f.StorageResultType.Success===a&&b?b.Result?(e.reloadDomainList(),this.closeCommand()):f.Notification.DomainAlreadyExists===b.ErrorCode&&this.savingError("Domain already exists"):this.savingError("Unknown error")};B.prototype.onHide=function(){this.whiteListPage(!1)};B.prototype.onShow=function(a){this.saving(!1);
|
||||
this.whiteListPage(!1);this.testing(!1);this.testingDone(!1);this.testingImapError(!1);this.testingSmtpError(!1);this.clearForm();a&&(this.edit(!0),this.name(c.trim(a.Name)),this.imapServer(c.trim(a.IncHost)),this.imapPort(c.pInt(a.IncPort)),this.imapSecure(c.trim(a.IncSecure)),this.imapShortLogin(!!a.IncShortLogin),this.smtpServer(c.trim(a.OutHost)),this.smtpPort(c.pInt(a.OutPort)),this.smtpSecure(c.trim(a.OutSecure)),this.smtpShortLogin(!!a.OutShortLogin),this.smtpAuth(!!a.OutAuth),this.whiteList(c.trim(a.WhiteList)))};
|
||||
B.prototype.clearForm=function(){this.edit(!1);this.whiteListPage(!1);this.savingError("");this.name("");this.imapServer("");this.imapPort(m.Values.ImapDefaulPort);this.imapSecure(f.ServerSecure.None);this.imapShortLogin(!1);this.smtpServer("");this.smtpPort(m.Values.SmtpDefaulPort);this.smtpSecure(f.ServerSecure.None);this.smtpShortLogin(!1);this.smtpAuth(!0);this.whiteList("")};c.extendAsViewModel("PopupsPluginViewModel",Q);Q.prototype.onPluginSettingsUpdateResponse=function(a,b){f.StorageResultType.Success===
|
||||
a&&b&&b.Result?this.cancelCommand():(this.saveError(""),b&&b.ErrorCode?this.saveError(c.getNotification(b.ErrorCode)):this.saveError(c.getNotification(f.Notification.CantSavePluginSettings)))};Q.prototype.onShow=function(a){this.name();this.readme();this.configures([]);a&&(this.name(a.Name),this.readme(a.Readme),a=a.Config,c.isNonEmptyArray(a)&&this.configures(j.map(a,function(a){return{value:d.observable(a[0]),Name:a[1],Type:a[2],Label:a[3],Default:a[4],Desc:a[5]}})))};c.extendAsViewModel("PopupsActivateViewModel",
|
||||
R);R.prototype.onShow=function(){this.domain(e.settingsGet("AdminDomain"));this.activateProcess()||(this.key(""),this.activateText(""),this.activateText.isError(!1),this.activationSuccessed(!1),this.key.focus(!0))};R.prototype.validateSubscriptionKey=function(){var a=this.key();return""===a||!!/^RL[\d]+-[A-Z0-9\-]+Z$/.test(c.trim(a))};c.extendAsViewModel("PopupsLanguagesViewModel",S);S.prototype.onShow=function(){this.exp(!0)};S.prototype.onHide=function(){this.exp(!1)};S.prototype.changeLanguage=
|
||||
function(a){e.data().mainLanguage(a);this.cancelCommand()};c.extendAsViewModel("AdminLoginViewModel",T);T.prototype.onShow=function(){q.routeOff();j.delay(j.bind(function(){this.loginFocus(!0)},this),100)};T.prototype.onHide=function(){this.loginFocus(!1)};c.extendAsViewModel("AdminMenuViewModel",X);X.prototype.link=function(a){return"#/"+a};c.extendAsViewModel("AdminPaneViewModel",Y);Y.prototype.logoutClick=function(){e.remote().adminLogout(function(){e.loginAndLogoutReload()})};c.addSettingsViewModel(ha,
|
||||
"AdminGeneral","General","general",!0);ha.prototype.onBuild=function(){var a=this;j.delay(function(){var b=c.settingsSaveHelperSimpleFunction(a.titleTrigger,a),d=c.settingsSaveHelperSimpleFunction(a.languageTrigger,a),f=c.settingsSaveHelperSimpleFunction(a.themeTrigger,a),g=c.settingsSaveHelperSimpleFunction(a.defaultDomainTrigger,a);a.title.subscribe(function(a){e.remote().saveAdminConfig(b,{Title:c.trim(a)})});a.language.subscribe(function(a){e.remote().saveAdminConfig(d,{Language:c.trim(a)})});
|
||||
a.theme.subscribe(function(a){e.remote().saveAdminConfig(f,{Theme:c.trim(a)})});a.allowCustomTheme.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowCustomTheme:a?"1":"0"})});a.allowAdditionalAccounts.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowAdditionalAccounts:a?"1":"0"})});a.allowIdentities.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowIdentities:a?"1":"0"})});a.determineUserLanguage.subscribe(function(a){e.remote().saveAdminConfig(null,{DetermineUserLanguage:a?
|
||||
"1":"0"})});a.allowThemes.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowThemes:a?"1":"0"})});a.allowCustomLogin.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowCustomLogin:a?"1":"0"})});a.allowLanguagesOnLogin.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowLanguagesOnLogin:a?"1":"0"})});a.allowLanguagesOnSettings.subscribe(function(a){e.remote().saveAdminConfig(null,{AllowLanguagesOnSettings:a?"1":"0"})});a.defaultDomain.subscribe(function(a){e.remote().saveAdminConfig(g,
|
||||
{LoginDefaultDomain:c.trim(a)})})},50)};c.addSettingsViewModel(C,"AdminDomains","Domains","domains");C.prototype.startDomainForDeletionTimeout=function(){var a=this;g.clearInterval(this.iDomainForDeletionTimeout);this.iDomainForDeletionTimeout=g.setTimeout(function(){a.domainForDeletion(null)},3E3)};C.prototype.createDomain=function(){q.showScreenPopup(B)};C.prototype.deleteDomain=function(a){this.domains.remove(a);e.remote().domainDelete(j.bind(this.onDomainListChangeRequest,this),a.name)};C.prototype.disableDomain=
|
||||
function(a){a.disabled(!a.disabled());e.remote().domainDisable(j.bind(this.onDomainListChangeRequest,this),a.name,a.disabled())};C.prototype.onBuild=function(a){var b=this;a.on("click",".b-admin-domains-list-table .e-item .e-action",function(){var a=d.dataFor(this);a&&e.remote().domain(j.bind(b.onDomainLoadRequest,b),a.name)});e.reloadDomainList()};C.prototype.onDomainLoadRequest=function(a,b){f.StorageResultType.Success===a&&(b&&b.Result)&&q.showScreenPopup(B,[b.Result])};C.prototype.onDomainListChangeRequest=
|
||||
function(){e.reloadDomainList()};c.addSettingsViewModel(K,"AdminSecurity","Security","security");K.prototype.onNewAdminPasswordResponse=function(a,b){f.StorageResultType.Success===a&&b&&b.Result?(this.adminPassword(""),this.adminPasswordNew(""),this.adminPasswordUpdateSuccess(!0)):this.adminPasswordUpdateError(!0)};K.prototype.onBuild=function(){this.csrfProtection.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,{TokenProtection:a?"1":"0"})});this.usageStatistics.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,
|
||||
{UsageStatistics:a?"1":"0"})})};K.prototype.onHide=function(){this.adminPassword("");this.adminPasswordNew("")};K.prototype.phpInfoLink=function(){return e.link().phpInfo()};c.addSettingsViewModel(ia,"AdminSocial","Social","social");ia.prototype.onBuild=function(){var a=this;j.delay(function(){var b=c.settingsSaveHelperSimpleFunction(a.facebookTrigger1,a),d=c.settingsSaveHelperSimpleFunction(a.facebookTrigger2,a),f=c.settingsSaveHelperSimpleFunction(a.twitterTrigger1,a),g=c.settingsSaveHelperSimpleFunction(a.twitterTrigger2,
|
||||
a),j=c.settingsSaveHelperSimpleFunction(a.googleTrigger1,a),i=c.settingsSaveHelperSimpleFunction(a.googleTrigger2,a),k=c.settingsSaveHelperSimpleFunction(a.dropboxTrigger1,a);a.facebookEnable.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,{FacebookEnable:a?"1":"0"})});a.facebookAppID.subscribe(function(a){e.remote().saveAdminConfig(b,{FacebookAppID:c.trim(a)})});a.facebookAppSecret.subscribe(function(a){e.remote().saveAdminConfig(d,{FacebookAppSecret:c.trim(a)})});a.twitterEnable.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,
|
||||
{TwitterEnable:a?"1":"0"})});a.twitterConsumerKey.subscribe(function(a){e.remote().saveAdminConfig(f,{TwitterConsumerKey:c.trim(a)})});a.twitterConsumerSecret.subscribe(function(a){e.remote().saveAdminConfig(g,{TwitterConsumerSecret:c.trim(a)})});a.googleEnable.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,{GoogleEnable:a?"1":"0"})});a.googleClientID.subscribe(function(a){e.remote().saveAdminConfig(j,{GoogleClientID:c.trim(a)})});a.googleClientSecret.subscribe(function(a){e.remote().saveAdminConfig(i,
|
||||
{GoogleClientSecret:c.trim(a)})});a.dropboxEnable.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,{DropboxEnable:a?"1":"0"})});a.dropboxApiKey.subscribe(function(a){e.remote().saveAdminConfig(k,{DropboxApiKey:c.trim(a)})})},50)};c.addSettingsViewModel(E,"AdminPlugins","Plugins","plugins");E.prototype.disablePlugin=function(a){a.disabled(!a.disabled());e.remote().pluginDisable(this.onPluginDisableRequest,a.name,a.disabled())};E.prototype.configurePlugin=function(a){e.remote().plugin(this.onPluginLoadRequest,
|
||||
a.name)};E.prototype.onBuild=function(){this.enabledPlugins.subscribe(function(a){e.remote().saveAdminConfig(c.emptyFunction,{EnabledPlugins:a?"1":"0"})})};E.prototype.onShow=function(){this.pluginsError("");e.reloadPluginList()};E.prototype.onPluginLoadRequest=function(a,b){f.StorageResultType.Success===a&&(b&&b.Result)&&q.showScreenPopup(Q,[b.Result])};E.prototype.onPluginDisableRequest=function(a,b){f.StorageResultType.Success===a&&b&&!b.Result&&b.ErrorCode&&(f.Notification.UnsupportedPluginPackage===
|
||||
b.ErrorCode&&b.ErrorMessage&&""!==b.ErrorMessage?this.pluginsError(b.ErrorMessage):this.pluginsError(c.getNotification(b.ErrorCode)));e.reloadPluginList()};c.addSettingsViewModel(J,"AdminPackages","Packages","packages");J.prototype.onShow=function(){this.packagesError("")};J.prototype.onBuild=function(){e.reloadPackagesList()};J.prototype.requestHelper=function(a,b){var d=this;return function(i,k){if(f.StorageResultType.Success!==i||!k||!k.Result)k&&k.ErrorCode?d.packagesError(c.getNotification(k.ErrorCode)):
|
||||
d.packagesError(c.getNotification(b?f.Notification.CantInstallPackage:f.Notification.CantDeletePackage));j.each(e.data().packages(),function(b){b&&(a&&b.loading()&&a.file===b.file)&&(a.loading(!1),b.loading(!1))});f.StorageResultType.Success===i&&k&&k.Result&&k.Result.Reload?g.location.reload():e.reloadPackagesList()}};J.prototype.deletePackage=function(a){a&&(a.loading(!0),e.remote().packageDelete(this.requestHelper(a,!1),a))};J.prototype.installPackage=function(a){a&&(a.loading(!0),e.remote().packageInstall(this.requestHelper(a,
|
||||
!0),a))};c.addSettingsViewModel(L,"AdminLicensing","Licensing","licensing");L.prototype.onBuild=function(){this.subscriptionEnabled()&&e.reloadLicensing(!1)};L.prototype.onShow=function(){this.adminDomain(e.settingsGet("AdminDomain"))};L.prototype.showActivationForm=function(){q.showScreenPopup(R)};L.prototype.licenseExpiredMomentValue=function(){var a=moment.unix(this.licenseExpired());return a.format("LL")+" ("+a.from(moment())+")"};Z.prototype.populateDataOnStart=function(){var a=e.settingsGet("Languages"),
|
||||
b=e.settingsGet("Themes");c.isArray(a)&&this.languages(a);c.isArray(b)&&this.themes(b);this.mainLanguage(e.settingsGet("Language"));this.mainTheme(e.settingsGet("Theme"));this.allowCustomTheme(!!e.settingsGet("AllowCustomTheme"));this.allowAdditionalAccounts(!!e.settingsGet("AllowAdditionalAccounts"));this.allowIdentities(!!e.settingsGet("AllowIdentities"));this.determineUserLanguage(!!e.settingsGet("DetermineUserLanguage"));this.allowThemes(!!e.settingsGet("AllowThemes"));this.allowCustomLogin(!!e.settingsGet("AllowCustomLogin"));
|
||||
this.allowLanguagesOnLogin(!!e.settingsGet("AllowLanguagesOnLogin"));this.allowLanguagesOnSettings(!!e.settingsGet("AllowLanguagesOnSettings"));this.editorDefaultType(e.settingsGet("EditorDefaultType"));this.showImages(!!e.settingsGet("ShowImages"));this.interfaceAnimation(e.settingsGet("InterfaceAnimation"));this.mainMessagesPerPage(e.settingsGet("MPP"));this.desktopNotifications(!!e.settingsGet("DesktopNotifications"));this.useThreads(!!e.settingsGet("UseThreads"));this.replySameFolder(!!e.settingsGet("ReplySameFolder"));
|
||||
this.usePreviewPane(!!e.settingsGet("UsePreviewPane"));this.useCheckboxesInList(!!e.settingsGet("UseCheckboxesInList"));this.facebookEnable(!!e.settingsGet("AllowFacebookSocial"));this.facebookAppID(e.settingsGet("FacebookAppID"));this.facebookAppSecret(e.settingsGet("FacebookAppSecret"));this.twitterEnable(!!e.settingsGet("AllowTwitterSocial"));this.twitterConsumerKey(e.settingsGet("TwitterConsumerKey"));this.twitterConsumerSecret(e.settingsGet("TwitterConsumerSecret"));this.googleEnable(!!e.settingsGet("AllowGoogleSocial"));
|
||||
this.googleClientID(e.settingsGet("GoogleClientID"));this.googleClientSecret(e.settingsGet("GoogleClientSecret"));this.dropboxEnable(!!e.settingsGet("AllowDropboxSocial"));this.dropboxApiKey(e.settingsGet("DropboxApiKey"));this.contactsIsSupported(!!e.settingsGet("ContactsIsSupported"));this.contactsIsAllowed(!!e.settingsGet("ContactsIsAllowed"))};j.extend(aa.prototype,Z.prototype);aa.prototype.populateDataOnStart=function(){Z.prototype.populateDataOnStart.call(this)};F.prototype.oRequests={};F.prototype.defaultResponse=
|
||||
function(a,b,d,i,l,m){var p=function(){f.StorageResultType.Success!==d&&k.bUnload&&(d=f.StorageResultType.Unload);if(f.StorageResultType.Success===d&&i&&!i.Result){if(i&&-1<c.inArray(i.ErrorCode,[f.Notification.AuthError,f.Notification.AccessError,f.Notification.ConnectionError,f.Notification.DomainNotAllowed,f.Notification.AccountNotAllowed,f.Notification.MailServerError,f.Notification.UnknownNotification,f.Notification.UnknownError])&&k.iAjaxErrorCount++,i&&f.Notification.InvalidToken===i.ErrorCode&&
|
||||
k.iTokenErrorCount++,10<k.iTokenErrorCount&&e.loginAndLogoutReload(!0),i.Logout||7<k.iAjaxErrorCount)g.__rlah_clear&&g.__rlah_clear(),e.loginAndLogoutReload(!0)}else f.StorageResultType.Success===d&&(i&&i.Result)&&(k.iAjaxErrorCount=0,k.iTokenErrorCount=0);a&&(o.runHook("ajax-default-response",[b,f.StorageResultType.Success===d?i:null,d,l,m]),a(d,f.StorageResultType.Success===d?i:null,l,b,m))};switch(d){case "success":d=f.StorageResultType.Success;break;case "abort":d=f.StorageResultType.Abort;break;
|
||||
default:d=f.StorageResultType.Error}f.StorageResultType.Error===d?j.delay(p,300):p()};F.prototype.ajaxRequest=function(a,b,d,f,k){var l=this,m=""===f,p=(new g.Date).getTime(),o=null,n="",b=b||{},d=c.isNormal(d)?d:2E4,f=c.isUnd(f)?"":c.pString(f),k=c.isArray(k)?k:[];(n=b.Action||"")&&0<k.length&&j.each(k,function(a){l.oRequests[a]&&(l.oRequests[a].__aborted=!0,l.oRequests[a].abort&&l.oRequests[a].abort(),l.oRequests[a]=null)});m&&(b.XToken=e.settingsGet("Token"));o=i.ajax({type:m?"POST":"GET",url:e.link().ajax(f),
|
||||
async:!0,dataType:"json",data:m?b:{},headers:{},timeout:d,global:!0});o.always(function(d,e){var f=!1;d&&d.Time&&(f=c.pInt(d.Time)>(new g.Date).getTime()-p);n&&l.oRequests[n]&&(l.oRequests[n].__aborted&&(e="abort"),l.oRequests[n]=null);l.defaultResponse(a,n,e,d,f,b)});n&&(0<k.length&&-1<c.inArray(n,k))&&(this.oRequests[n]&&(this.oRequests[n].__aborted=!0,this.oRequests[n].abort&&this.oRequests[n].abort(),this.oRequests[n]=null),this.oRequests[n]=o);return o};F.prototype.defaultRequest=function(a,
|
||||
b,d,e,f,g){d=d||{};d.Action=b;f=c.pString(f);o.runHook("ajax-default-request",[b,d,f]);this.ajaxRequest(a,d,c.isUnd(e)?m.Defaults.DefaultAjaxTimeout:c.pInt(e),f,g)};F.prototype.noop=function(a){this.defaultRequest(a,"Noop")};F.prototype.jsError=function(a,b,c,d,e,f,g){this.defaultRequest(a,"JsError",{Message:b,FileName:c,LineNo:d,Location:e,HtmlCapa:f,TimeOnPage:g})};j.extend(n.prototype,F.prototype);n.prototype.adminLogin=function(a,b,c){this.defaultRequest(a,"AdminLogin",{Login:b,Password:c})};
|
||||
n.prototype.adminLogout=function(a){this.defaultRequest(a,"AdminLogout")};n.prototype.saveAdminConfig=function(a,b){this.defaultRequest(a,"AdminSettingsUpdate",b)};n.prototype.domainList=function(a){this.defaultRequest(a,"AdminDomainList")};n.prototype.pluginList=function(a){this.defaultRequest(a,"AdminPluginList")};n.prototype.packagesList=function(a){this.defaultRequest(a,"AdminPackagesList")};n.prototype.packageInstall=function(a,b){this.defaultRequest(a,"AdminPackageInstall",{Id:b.id,Type:b.type,
|
||||
File:b.file},6E4)};n.prototype.packageDelete=function(a,b){this.defaultRequest(a,"AdminPackageDelete",{Id:b.id})};n.prototype.domain=function(a,b){this.defaultRequest(a,"AdminDomainLoad",{Name:b})};n.prototype.plugin=function(a,b){this.defaultRequest(a,"AdminPluginLoad",{Name:b})};n.prototype.domainDelete=function(a,b){this.defaultRequest(a,"AdminDomainDelete",{Name:b})};n.prototype.domainDisable=function(a,b,c){return this.defaultRequest(a,"AdminDomainDisable",{Name:b,Disabled:c?"1":"0"})};n.prototype.pluginSettingsUpdate=
|
||||
function(a,b){return this.defaultRequest(a,"AdminPluginSettingsUpdate",b)};n.prototype.licensing=function(a,b){return this.defaultRequest(a,"AdminLicensing",{Force:b?"1":"0"})};n.prototype.licensingActivate=function(a,b,c){return this.defaultRequest(a,"AdminLicensingActivate",{Domain:b,Key:c})};n.prototype.pluginDisable=function(a,b,c){return this.defaultRequest(a,"AdminPluginDisable",{Name:b,Disabled:c?"1":"0"})};n.prototype.createOrUpdateDomain=function(a,b,c,d,e,f,g,i,j,k,l,m,n){this.defaultRequest(a,
|
||||
"AdminDomainSave",{Create:b?"1":"0",Name:c,IncHost:d,IncPort:e,IncSecure:f,IncShortLogin:g?"1":"0",OutHost:i,OutPort:j,OutSecure:k,OutShortLogin:l?"1":"0",OutAuth:m?"1":"0",WhiteList:n})};n.prototype.testConnectionForDomain=function(a,b,c,d,e,f,g,i){this.defaultRequest(a,"AdminDomainTest",{IncHost:b,IncPort:c,IncSecure:d,OutHost:e,OutPort:f,OutSecure:g,OutAuth:i?"1":"0"})};n.prototype.saveNewAdminPassword=function(a,b){this.defaultRequest(a,"AdminPasswordUpdate",b)};n.prototype.adminPing=function(a){this.defaultRequest(a,
|
||||
"AdminPing")};D.prototype.oEmailsPicsHashes={};D.prototype.oServices={};D.prototype.clear=function(){this.oServices={};this.oEmailsPicsHashes={}};D.prototype.getUserPic=function(a){var b="",b="",b=a.toLowerCase(),d=c.isUnd(this.oEmailsPicsHashes[a])?"":this.oEmailsPicsHashes[a];""===d?(b=b.substr(a.indexOf("@")+1),b=""!==b&&this.oServices[b]?this.oServices[b]:""):b=e.link().getUserPicUrlFromHash(d);return b};D.prototype.setServicesData=function(a){this.oServices=a};D.prototype.setEmailsPicsHashesData=
|
||||
function(a){this.oEmailsPicsHashes=a};j.extend(ja.prototype,D.prototype);j.extend(G.prototype,w.prototype);G.prototype.onRoute=function(a){var b=this,f=null,g=null,k=null,l=null;if(g=j.find(A.settings,function(b){return b&&b.__rlSettingsData&&a===b.__rlSettingsData.Route}))j.find(A["settings-removed"],function(a){return a&&a===g})&&(g=null),g&&j.find(A["settings-disabled"],function(a){return a&&a===g})&&(g=null);g?(g.__builded&&g.__vm?f=g.__vm:(k=this.oViewModelPlace)&&1===k.length?(f=new g,l=i("<div></div>").addClass("rl-settings-view-model").hide().attr("data-bind",
|
||||
'template: {name: "'+g.__rlSettingsData.Template+'"}, i18nInit: true'),l.appendTo(k),f.data=e.data(),f.viewModelDom=l,f.__rlSettingsData=g.__rlSettingsData,g.__dom=l,g.__builded=!0,g.__vm=f,d.applyBindings(f,l[0]),q.delegateRun(f,"onBuild",[l])):c.log("Cannot find sub settings view model position: SettingsSubScreen"),f&&j.defer(function(){if(b.oCurrentSubScreen){q.delegateRun(b.oCurrentSubScreen,"onHide");b.oCurrentSubScreen.viewModelDom.hide()}b.oCurrentSubScreen=f;if(b.oCurrentSubScreen){b.oCurrentSubScreen.viewModelDom.show();
|
||||
q.delegateRun(b.oCurrentSubScreen,"onShow");j.each(b.menu(),function(a){a.selected(f&&f.__rlSettingsData&&a.route===f.__rlSettingsData.Route)});i("#rl-content .b-settings .b-content .content").scrollTop(0)}c.windowResize()})):q.setHash(e.link().settings(),!1,!0)};G.prototype.onHide=function(){this.oCurrentSubScreen&&this.oCurrentSubScreen.viewModelDom&&(q.delegateRun(this.oCurrentSubScreen,"onHide"),this.oCurrentSubScreen.viewModelDom.hide())};G.prototype.onBuild=function(){j.each(A.settings,function(a){a&&
|
||||
(a.__rlSettingsData&&!j.find(A["settings-removed"],function(b){return b&&b===a}))&&this.menu.push({route:a.__rlSettingsData.Route,label:a.__rlSettingsData.Label,selected:d.observable(!1),disabled:!!j.find(A["settings-disabled"],function(b){return b&&b===a})})},this);this.oViewModelPlace=i("#rl-content #rl-settings-subscreen")};G.prototype.routes=function(){var a=j.find(A.settings,function(a){return a&&a.__rlSettingsData&&a.__rlSettingsData.IsDefault}),b=a?a.__rlSettingsData.Route:"general",a={subname:/^(.*)$/,
|
||||
normalize_:function(a,d){d.subname=c.isUnd(d.subname)?b:c.pString(d.subname);return[d.subname]}};return[["{subname}/",a],["{subname}",a],["",a]]};j.extend(ba.prototype,w.prototype);ba.prototype.onShow=function(){e.setTitle("")};j.extend(ca.prototype,G.prototype);ca.prototype.onShow=function(){e.setTitle("")};j.extend(u.prototype,ga.prototype);u.prototype.oSettings=null;u.prototype.oLink=null;u.prototype.download=function(a){var b=null,c=null;if((b=navigator.userAgent.toLowerCase())&&(-1<b.indexOf("chrome")||
|
||||
-1<b.indexOf("chrome")))if(b=document.createElement("a"),b.href=a,document.createEvent&&(c=document.createEvent("MouseEvents"))&&c.initEvent&&b.dispatchEvent)return c.initEvent("click",!0,!0),b.dispatchEvent(c),!0;k.bMobileDevice?(g.open(a,"_self"),g.focus()):this.iframe.attr("src",a);return!0};u.prototype.link=function(){null===this.oLink&&(this.oLink=new p);return this.oLink};u.prototype.local=function(){null===this.oLocal&&(this.oLocal=new P);return this.oLocal};u.prototype.settingsGet=function(a){null===
|
||||
this.oSettings&&(this.oSettings=c.isNormal(U)?U:{});return c.isUnd(this.oSettings[a])?null:this.oSettings[a]};u.prototype.settingsSet=function(a,b){null===this.oSettings&&(this.oSettings=c.isNormal(U)?U:{});this.oSettings[a]=b};u.prototype.setTitle=function(a){a=(0<a.length?a+" - ":"")+this.settingsGet("Title")||"";a!==g.document.title&&(g.document.title=a)};u.prototype.loginAndLogoutReload=function(a,b){var d=c.pString(this.settingsGet("CustomLogoutLink")),f=!!this.settingsGet("InIframe"),a=c.isUnd(a)?
|
||||
!1:!!a,b=c.isUnd(b)?!1:!!b;a&&(b&&g.close)&&g.close();a&&""!==d&&g.location.href!==d?j.delay(function(){f&&g.parent?g.parent.location.href=d:g.location.href=d},100):(q.routeOff(),q.setHash(e.link().root(),!0),q.routeOff(),j.delay(function(){f&&g.parent?g.parent.location.reload():g.location.reload()},100))};u.prototype.getAutocomplete=function(a,b,c){c([],a)};u.prototype.bootstart=function(){c.initOnStartOrLangChange(function(){c.initNotificationLanguage()},null);j.delay(function(){c.windowResize()},
|
||||
1E3)};j.extend(v.prototype,u.prototype);v.prototype.oData=null;v.prototype.oRemote=null;v.prototype.oCache=null;v.prototype.data=function(){null===this.oData&&(this.oData=new aa);return this.oData};v.prototype.remote=function(){null===this.oRemote&&(this.oRemote=new n);return this.oRemote};v.prototype.cache=function(){null===this.oCache&&(this.oCache=new ja);return this.oCache};v.prototype.reloadDomainList=function(){e.data().domainsLoading(!0);e.remote().domainList(function(a,b){e.data().domainsLoading(!1);
|
||||
if(f.StorageResultType.Success===a&&b&&b.Result){var c=j.map(b.Result,function(a,b){return{name:b,disabled:d.observable(!a),deleteAccess:d.observable(!1)}},this);e.data().domains(c)}})};v.prototype.reloadPluginList=function(){e.data().pluginsLoading(!0);e.remote().pluginList(function(a,b){e.data().pluginsLoading(!1);if(f.StorageResultType.Success===a&&b&&b.Result){var c=j.map(b.Result,function(a){return{name:a.Name,disabled:d.observable(!a.Enabled),configured:d.observable(!!a.Configured)}},this);
|
||||
e.data().plugins(c)}})};v.prototype.reloadPackagesList=function(){e.data().packagesLoading(!0);e.data().packagesReal(!0);e.remote().packagesList(function(a,b){e.data().packagesLoading(!1);if(f.StorageResultType.Success===a&&b&&b.Result){e.data().packagesReal(!!b.Result.Real);e.data().packagesMainUpdatable(!!b.Result.MainUpdatable);var g=[],i={};j.each(e.data().packages(),function(a){a&&a.loading()&&(i[a.file]=a)});c.isArray(b.Result.List)&&(g=j.compact(j.map(b.Result.List,function(a){return a?(a.loading=
|
||||
d.observable(!c.isUnd(i[a.file])),"core"===a.type&&!a.canBeInstalled?null:a):null})));e.data().packages(g)}else e.data().packagesReal(!1)})};v.prototype.reloadLicensing=function(a){a=c.isUnd(a)?!1:!!a;e.data().licensingProcess(!0);e.data().licenseError("");e.remote().licensing(function(a,d){e.data().licensingProcess(!1);f.StorageResultType.Success===a&&d&&d.Result&&c.isNormal(d.Result.Expired)?(e.data().licenseValid(!0),e.data().licenseExpired(c.pInt(d.Result.Expired)),e.data().licenseError(""),e.data().licensing(!0)):
|
||||
d&&d.ErrorCode&&-1<c.inArray(c.pInt(d.ErrorCode),[f.Notification.LicensingServerIsUnavailable,f.Notification.LicensingExpired])?(e.data().licenseError(c.getNotification(c.pInt(d.ErrorCode))),e.data().licensing(!0)):f.StorageResultType.Abort===a?(e.data().licenseError(c.getNotification(f.Notification.LicensingServerIsUnavailable)),e.data().licensing(!0)):e.data().licensing(!1)},a)};v.prototype.bootstart=function(){u.prototype.bootstart.call(this);e.data().populateDataOnStart();q.hideLoading();this.settingsGet("AllowAdminPanel")?
|
||||
this.settingsGet("Auth")?(q.startScreens([ca]),k.bMobileDevice||j.defer(function(){c.initLayoutResizer("#rl-top-resizer-left","#rl-top-resizer-right","#rl-center",120,300,200,600,f.ClientSideKeyName.FolderListSize)})):q.startScreens([ba]):(q.routeOff(),q.setHash(e.link().root(),!0),q.routeOff(),j.defer(function(){g.location.href="/"}));g.SimplePace&&g.SimplePace.set(100)};e=new v;I.addClass(k.bMobileDevice?"mobile":"no-mobile");H.keydown(c.killCtrlAandS).keyup(c.killCtrlAandS);H.unload(function(){k.bUnload=
|
||||
!0});g.rl=g.rl||{};g.rl.addHook=o.addHook;g.rl.settingsGet=o.mainSettingsGet;g.rl.remoteRequest=o.remoteRequest;g.rl.pluginSettingsGet=o.settingsGet;g.rl.addSettingsViewModel=c.addSettingsViewModel;g.rl.createCommand=c.createCommand;g.rl.EmailModel=s;g.rl.Enums=f;g.__RLBOOT=function(a){i(function(){g.rainloopTEMPLATES&&g.rainloopTEMPLATES[0]?(i("#rl-templates").html(g.rainloopTEMPLATES[0]),g.setInterval(function(){k.minuteTick(!k.minuteTick())},6E4),g.setInterval(function(){k.fiveMinuteTick(!k.fiveMinuteTick())},
|
||||
3E5),j.delay(function(){g.rainloopAppData={};g.rainloopI18N={};g.rainloopTEMPLATES={};q.setBoot(e).bootstart();I.addClass("rl-started")},50)):a(!1);g.__RLBOOT=null})};g.SimplePace&&g.SimplePace.add(10)})(window,jQuery,ko,crossroads,hasher,_);
|
||||
406
rainloop/v/1.3.10.492/static/js/app.min.js
vendored
Normal file
|
|
@ -0,0 +1,406 @@
|
|||
(function(h,j,e,Ta,P,da,ua,i){function C(){this.sBase="#/";this.sCdnStaticDomain=f.settingsGet("CdnStaticDomain");this.sVersion=f.settingsGet("Version");this.sSpecSuffix=f.settingsGet("AuthAccountHash")||"0";this.sServer=(f.settingsGet("IndexFile")||"./")+"?";this.sCdnStaticDomain=""===this.sCdnStaticDomain?this.sCdnStaticDomain:"/"===this.sCdnStaticDomain.substr(-1)?this.sCdnStaticDomain:this.sCdnStaticDomain+"/"}function u(a,b,c,k){this.bIe=!!/msie/.test(navigator.userAgent.toLowerCase());this.oOptions=
|
||||
k=j.extend({DisableHtml:!1,onSwitch:!1,LangSwitcherConferm:"EDITOR_TEXT_SWITCHER_CONFIRM",LangSwitcherTextLabel:"EDITOR_SWITCHER_TEXT_LABEL",LangSwitcherHtmlLabel:"EDITOR_SWITCHER_HTML_LABEL"},d.isUnd(k)?{}:k);this.bOnlyPlain=!!this.oOptions.DisableHtml;this.fOnSwitch=this.oOptions.onSwitch;this.textarea=j(a).empty().addClass("editorTextArea");this.htmlarea=j(b).empty().addClass("editorHtmlArea").prop("contentEditable","true");this.toolbar=j(c).empty().addClass("editorToolbar");u.htmlInitEditor.apply(this);
|
||||
u.htmlInitToolbar.apply(this);u.htmlAttachEditorEvents.apply(this);this.bOnlyPlain&&this.toolbar.hide()}function M(a,b,c,k,f){this.list=a;this.selectedItem=b;this.selectedItem.extend({toggleSubscribe:[null,function(a){a&&a.selected(!1)},function(a){a&&a.selected(!0)}]});this.oContentScrollable=this.oContentVisible=null;this.sItemSelector=c;this.sItemSelectedSelector=k;this.sItemCheckedSelector=f;this.sLastUid="";this.oCallbacks={};this.iSelectTimer=0;this.bUseKeyboard=!0;this.emptyFunction=function(){};
|
||||
this.useItemSelectCallback=!0;this.throttleSelection=!1;this.selectedItem.subscribe(function(a){this.useItemSelectCallback&&(this.throttleSelection?(this.throttleSelection=!1,this.selectItemCallbacksThrottle(a)):this.selectItemCallbacks(a))},this);var e=this,g=[],l=null;this.list.subscribe(function(){var a=this,b=this.list();d.isArray(b)&&i.each(b,function(b){b.checked()&&g.push(a.getItemUid(b));null===l&&b.selected()&&(l=a.getItemUid(b))})},this,"beforeChange");this.list.subscribe(function(a){this.useItemSelectCallback=
|
||||
!1;this.selectedItem(null);if(d.isArray(a)){var b=this,c=g.length;i.each(a,function(a){0<c&&-1<d.inArray(b.getItemUid(a),g)&&(a.checked(!0),c--);null!==l&&l===b.getItemUid(a)&&(a.selected(!0),l=null,b.selectedItem(a))})}this.useItemSelectCallback=!0;g=[];l=null},this);this.list.setSelectedByUid=function(a){e.selectByUid(a,!1)};this.selectItemCallbacksThrottle=i.debounce(this.selectItemCallbacks,300)}function va(){}function wa(){}function xa(){var a=i.find([wa,va],function(a){return a.supported()});
|
||||
a&&(this.oDriver=new a)}function Ua(){}function D(a,b){this.sPosition=d.pString(a);this.sTemplate=d.pString(b);this.viewModelName="";this.viewModelVisibility=e.observable(!1);"Popups"===this.sPosition&&(this.modalVisibility=e.observable(!1));this.viewModelDom=null}function L(a,b){this.sScreenName=a;this.aViewModels=d.isArray(b)?b:[]}function F(){this.sDefaultScreenName="";this.oScreens={};this.oCurrentScreen=this.oBoot=null;this.popupVisibility=e.observable(!1);this.popupVisibility.subscribe(function(a){f&&
|
||||
f.popupVisibility(a)})}function G(a,b){this.email=a||"";this.name=b||"";this.privateType=null;this.clearDuplicateName()}function oa(){this.idContact=0;this.name=this.listName=this.imageHash="";this.emails=[];this.checked=e.observable(!1);this.selected=e.observable(!1);this.deleted=e.observable(!1)}function E(){this.fileName=this.mimeType="";this.estimatedSize=0;this.friendlySize="";this.isLinked=this.isInline=!1;this.mimeIndex=this.uid=this.folder=this.download=this.contentLocation=this.cidWithOutTags=
|
||||
this.cid=""}function N(a,b,c,k,f,t,g){this.id=a;this.isInline=d.isUnd(k)?!1:!!k;this.isLinked=d.isUnd(f)?!1:!!f;this.CID=d.isUnd(t)?"":t;this.contentLocation=d.isUnd(g)?"":g;this.fromMessage=!1;this.fileName=e.observable(b);this.size=e.observable(d.isUnd(c)?null:c);this.tempName=e.observable("");this.progress=e.observable("");this.error=e.observable("");this.waiting=e.observable(!0);this.uploading=e.observable(!1);this.enabled=e.observable(!0);this.friendlySize=e.computed(function(){return null===
|
||||
this.size()?"":d.friendlySize(this.size())},this)}function p(){this.requestHash=this.uid=this.folderFullNameRaw="";this.subject=e.observable("");this.size=e.observable(0);this.dateTimeStampInUTC=e.observable(0);this.priority=e.observable(g.MessagePriority.Normal);this.fromEmailString=e.observable("");this.toEmailsString=e.observable("");this.senderEmailsString=e.observable("");this.prefetched=!1;this.emails=[];this.from=[];this.to=[];this.cc=[];this.bcc=[];this.replyTo=[];this.newForAnimation=e.observable(!1);
|
||||
this.deleted=e.observable(!1);this.unseen=e.observable(!1);this.flagged=e.observable(!1);this.answered=e.observable(!1);this.forwarded=e.observable(!1);this.selected=e.observable(!1);this.checked=e.observable(!1);this.hasAttachments=e.observable(!1);this.attachmentsMainType=e.observable("");this.moment=e.observable(da());this.attachmentIconClass=e.computed(function(){var a="";if(this.hasAttachments())switch(a="icon-attachment",this.attachmentsMainType()){case "image":a="icon-image";break;case "archive":a=
|
||||
"icon-file-zip";break;case "doc":a="icon-file";break;case "pdf":a="icon-file-pdf"}return a},this);this.fullFormatDateValue=e.computed(function(){return p.calculateFullFromatDateValue(this.dateTimeStampInUTC())},this);this.fullFormatDateValue=e.computed(function(){return p.calculateFullFromatDateValue(this.dateTimeStampInUTC())},this);this.momentDate=d.createMomentDate(this);this.momentShortDate=d.createMomentShortDate(this);this.dateTimeStampInUTC.subscribe(function(a){var b=da().unix();this.moment(da.unix(b<
|
||||
a?b:a))},this);this.body=null;this.isRtl=e.observable(!1);this.isHtml=e.observable(!1);this.hasImages=e.observable(!1);this.attachments=e.observableArray([]);this.priority=e.observable(g.MessagePriority.Normal);this.aDraftInfo=[];this.sReferences=this.sInReplyTo=this.sMessageId="";this.parentUid=e.observable(0);this.threads=e.observableArray([]);this.threadsLen=e.observable(0);this.hasUnseenSubMessage=e.observable(!1);this.hasFlaggedSubMessage=e.observable(!1);this.lastInCollapsedThread=e.observable(!1);
|
||||
this.lastInCollapsedThreadLoading=e.observable(!1);this.threadsLenResult=e.computed(function(){var a=this.threadsLen();return 0===this.parentUid()&&0<a?a+1:""},this)}function I(){this.name=e.observable("");this.namespace=this.delimiter=this.fullNameHash=this.fullNameRaw=this.fullName="";this.deep=0;this.selectable=!1;this.existen=!0;this.isUnpaddigFolder=this.isGmailFolder=this.isNamespaceFolder=!1;this.type=e.observable(g.FolderType.User);this.selected=e.observable(!1);this.edited=e.observable(!1);
|
||||
this.collapsed=e.observable(!0);this.subScribed=e.observable(!0);this.subFolders=e.observableArray([]);this.deleteAccess=e.observable(!1);this.actionBlink=e.observable(!1).extend({falseTimeout:1E3});this.nameForEdit=e.observable("");this.name.subscribe(function(a){this.nameForEdit(a)},this);this.edited.subscribe(function(a){a&&this.nameForEdit(this.name())},this);this.canBeEdited=e.computed(function(){return g.FolderType.User===this.type()},this);this.privateMessageCountAll=e.observable(0);this.privateMessageCountUnread=
|
||||
e.observable(0);this.collapsedPrivate=e.observable(!0)}function Na(a,b){this.email=a;this.deleteAccess=e.observable(!1);this.canBeDalete=e.observable(b)}function ya(a,b,c){this.id=a;this.email=e.observable(b);this.name=e.observable("");this.replyTo=e.observable("");this.bcc=e.observable("");this.deleteAccess=e.observable(!1);this.canBeDalete=e.observable(c)}function za(){D.call(this,"Popups","PopupsFolderClear");this.selectedFolder=e.observable(null);this.clearingProcess=e.observable(!1);this.clearingError=
|
||||
e.observable("");this.folderFullNameForClear=e.computed(function(){var a=this.selectedFolder();return a?a.printableFullName():""},this);this.folderNameForClear=e.computed(function(){var a=this.selectedFolder();return a?a.localName():""},this);this.dangerDescHtml=e.computed(function(){return d.i18n("POPUPS_CLEAR_FOLDER/DANGER_DESC_HTML_1",{FOLDER:this.folderNameForClear()})},this);this.clearCommand=d.createCommand(this,function(){var a=this,b=this.selectedFolder();b&&(f.data().message(null),f.data().messageList([]),
|
||||
this.clearingProcess(!0),f.cache().setFolderHash(b.fullNameRaw,""),f.remote().folderClear(function(b,k){a.clearingProcess(!1);g.StorageResultType.Success===b&&k&&k.Result?(f.reloadMessageList(!0),a.cancelCommand()):k&&k.ErrorCode?a.clearingError(d.getNotification(k.ErrorCode)):a.clearingError(d.getNotification(g.Notification.MailServerError))},b.fullNameRaw))},function(){var a=this.selectedFolder();return!this.clearingProcess()&&null!==a})}function ga(){D.call(this,"Popups","PopupsFolderCreate");
|
||||
d.initOnStartOrLangChange(function(){this.sNoParentText=d.i18n("POPUPS_CREATE_FOLDER/SELECT_NO_PARENT")},this);this.folderName=e.observable("");this.focusTrigger=e.observable(!1);this.selectedParentValue=e.observable(n.Values.UnuseOptionValue);this.parentFolderSelectList=e.computed(function(){var a=f.data(),b=[],c=null,d=a.folderList();b.push(["",this.sNoParentText]);""!==a.namespace&&(c=function(b){return a.namespace!==b.fullNameRaw.substr(0,a.namespace.length)});return f.folderListOptionsBuilder([],
|
||||
d,[],b,null,c,null,function(a){return a?a.isSystemFolder()?a.name()+" "+a.manageFolderSystemName():a.name():""})},this);this.createFolder=d.createCommand(this,function(){var a=f.data(),b=this.selectedParentValue();""===b&&1<a.namespace.length&&(b=a.namespace.substr(0,a.namespace.length-1));a.foldersCreating(!0);f.remote().folderCreate(function(a,b){f.data().foldersCreating(!1);g.StorageResultType.Success===a&&b&&b.Result?f.folders(!1):f.data().foldersListError(b&&b.ErrorCode?d.getNotification(b.ErrorCode):
|
||||
d.i18n("NOTIFICATIONS/CANT_CREATE_FOLDER"))},this.folderName(),b);this.cancelCommand()},function(){return this.simpleFolderNameValidation(this.folderName())});this.defautOptionsAfterRender=d.defautOptionsAfterRender}function aa(){D.call(this,"Popups","PopupsFolderSystem");d.initOnStartOrLangChange(function(){this.sChooseOnText=d.i18n("POPUPS_SYSTEM_FOLDERS/SELECT_CHOOSE_ONE");this.sUnuseText=d.i18n("POPUPS_SYSTEM_FOLDERS/SELECT_UNUSE_NAME")},this);this.notification=e.observable("");this.folderSelectList=
|
||||
e.computed(function(){return f.folderListOptionsBuilder([],f.data().folderList(),f.data().folderListSystemNames(),[["",this.sChooseOnText],[n.Values.UnuseOptionValue,this.sUnuseText]])},this);var a=f.data(),b=this,c=null,k=null;this.sentFolder=a.sentFolder;this.draftFolder=a.draftFolder;this.spamFolder=a.spamFolder;this.trashFolder=a.trashFolder;c=i.debounce(function(){f.settingsSet("SentFolder",b.sentFolder());f.settingsSet("DraftFolder",b.draftFolder());f.settingsSet("SpamFolder",b.spamFolder());
|
||||
f.settingsSet("TrashFolder",b.trashFolder());f.remote().saveSystemFolders(d.emptyFunction,{SentFolder:b.sentFolder(),DraftFolder:b.draftFolder(),SpamFolder:b.spamFolder(),TrashFolder:b.trashFolder()})},1E3);k=function(){f.settingsSet("SentFolder",b.sentFolder());f.settingsSet("DraftFolder",b.draftFolder());f.settingsSet("SpamFolder",b.spamFolder());f.settingsSet("TrashFolder",b.trashFolder());c()};this.sentFolder.subscribe(k);this.draftFolder.subscribe(k);this.spamFolder.subscribe(k);this.trashFolder.subscribe(k);
|
||||
this.defautOptionsAfterRender=d.defautOptionsAfterRender}function z(){D.call(this,"Popups","PopupsCompose");this.aDraftInfo=this.oEditor=null;this.sInReplyTo="";this.bFromDraft=!1;this.sReferences="";this.bReloadFolder=!1;var a=this,b=f.settingsGet("AllowIdentities"),c=function(a){for(var b=0,c=a.length,d=[];b<c;b++)d.push(a[b].toLine(!1));return d.join(", ")},k=function(a){!1===this.showCcAndBcc()&&0<a.length&&this.showCcAndBcc(!0)};this.resizer=e.observable(!1).extend({throttle:50});this.to=e.observableArray([]);
|
||||
this.cc=e.observableArray([]);this.bcc=e.observableArray([]);this.replyTo=e.observable("");this.subject=e.observable("");this.sendError=e.observable(!1);this.sendSuccessButSaveError=e.observable(!1);this.savedError=e.observable(!1);this.savedTime=e.observable(0);this.savedOrSendingText=e.observable("");this.emptyToError=e.observable(!1);this.showCcAndBcc=e.observable(!1);this.cc.subscribe(k,this);this.bcc.subscribe(k,this);this.draftFolder=e.observable("");this.draftUid=e.observable("");this.draftID=
|
||||
e.observable("");this.sending=e.observable(!1);this.saving=e.observable(!1);this.attachments=e.observableArray([]);this.attachmentsInProcess=e.computed(function(){return i.filter(this.attachments(),function(a){return a&&""===a.tempName()})},this);this.attachmentsInReady=e.computed(function(){return i.filter(this.attachments(),function(a){return a&&""!==a.tempName()})},this);this.attachments.subscribe(function(){this.triggerForResize()},this);this.isDraftFolderMessage=e.computed(function(){return""!==
|
||||
this.draftFolder()&&""!==this.draftUid()&&""!==this.draftID()},this);this.composeUploaderButton=e.observable(null);this.composeUploaderDropPlace=e.observable(null);this.dragAndDropEnabled=e.observable(!1);this.dragAndDropOver=e.observable(!1).extend({throttle:1});this.dragAndDropVisible=e.observable(!1).extend({throttle:1});this.attacheMultipleAllowed=e.observable(!1);this.addAttachmentEnabled=e.observable(!1);this.composeEditorTextArea=e.observable(null);this.composeEditorHtmlArea=e.observable(null);
|
||||
this.composeEditorToolbar=e.observable(null);this.identities=f.data().identities;this.currentIdentityID=e.observable("");this.currentIdentityString=e.observable("");this.currentIdentityResultEmail=e.observable("");this.identitiesOptions=e.computed(function(){return i.map(f.data().identities(),function(a){return{optValue:a.id,optText:a.formattedNameForCompose()}})},this);e.computed(function(){var a="",c="",c=null,d=this.currentIdentityID(),k=this.identities();b&&d?(a=(c=i.find(k,function(a){return a&&
|
||||
d===a.id}))?c.formattedNameForCompose():"",c=c?c.formattedNameForEmail():"",""===a&&k[0]&&this.currentIdentityID(k[0].id)):(a=this.formattedFrom(!1),c=this.formattedFrom(!0));this.currentIdentityString(a);this.currentIdentityResultEmail(c);return a},this);this.to.subscribe(function(a){this.emptyToError()&&0<a.length&&this.emptyToError(!1)},this);this.canBeSended=e.computed(function(){return!this.sending()&&!this.saving()&&0===this.attachmentsInProcess().length&&0<this.to().length},this);this.canBeSendedOrSaved=
|
||||
e.computed(function(){return!this.sending()&&!this.saving()},this);this.deleteCommand=d.createCommand(this,function(){var a=null,b=this.draftFolder(),c=this.draftUid();this.bFromDraft&&(a=f.data().message())&&(b===a.folderFullNameRaw&&c===a.uid)&&f.data().message(null);f.data().currentFolderFullNameRaw()===this.draftFolder()&&i.each(f.data().messageList(),function(a){a&&(b===a.folderFullNameRaw&&c===a.uid)&&a.deleted(true)});f.data().messageListIsNotCompleted(!0);f.remote().messagesDelete(function(){f.cache().setFolderHash(b,
|
||||
"");f.reloadMessageList()},this.draftFolder(),[this.draftUid()]);this.bReloadFolder=!1;o.hideScreenPopup(z)},function(){return this.isDraftFolderMessage()});this.sendMessageResponse=i.bind(this.sendMessageResponse,this);this.saveMessageResponse=i.bind(this.saveMessageResponse,this);this.sendCommand=d.createCommand(this,function(){var a=this.to(),b=f.data().sentFolder(),k=[];if(0===a.length)this.emptyToError(!0);else if(f.data().replySameFolder()&&d.isArray(this.aDraftInfo)&&(3===this.aDraftInfo.length&&
|
||||
d.isNormal(this.aDraftInfo[2])&&0<this.aDraftInfo[2].length)&&(b=this.aDraftInfo[2]),""===b)o.showScreenPopup(aa,[g.SetSystemFoldersNotification.Sent]);else{this.sendError(!1);this.sending(!0);this.bReloadFolder=!0;if(d.isArray(this.aDraftInfo)&&3===this.aDraftInfo.length&&(k=f.cache().getMessageFlagsFromCache(this.aDraftInfo[2],this.aDraftInfo[1])))"forward"===this.aDraftInfo[0]?k[3]=!0:k[2]=!0,f.cache().setMessageFlagsToCache(this.aDraftInfo[2],this.aDraftInfo[1],k),f.reloadFlagsCurrentMessageListAndMessageFromCache();
|
||||
b=n.Values.UnuseOptionValue===b?"":b;f.cache().setFolderHash(this.draftFolder(),"");f.cache().setFolderHash(b,"");f.remote().sendMessage(this.sendMessageResponse,this.draftFolder(),this.draftUid(),this.draftID(),b,this.currentIdentityResultEmail(),c(a),c(this.cc()),c(this.bcc()),this.subject(),this.oEditor.isHtml(),this.oEditor.getTextForRequest(),this.prepearAttachmentsForSendOrSave(),this.aDraftInfo,this.sInReplyTo,this.sReferences)}},this.canBeSendedOrSaved);this.saveCommand=d.createCommand(this,
|
||||
function(){f.data().draftFolderNotEnabled()?o.showScreenPopup(aa,[g.SetSystemFoldersNotification.Draft]):(this.savedError(!1),this.saving(!0),this.bReloadFolder=!0,f.cache().setFolderHash(f.data().draftFolder(),""),f.remote().saveMessage(this.saveMessageResponse,this.draftFolder(),this.draftUid(),this.draftID(),f.data().draftFolder(),this.currentIdentityResultEmail(),c(this.to()),c(this.cc()),c(this.bcc()),this.subject(),this.oEditor.isHtml(),this.oEditor.getTextForRequest(),this.prepearAttachmentsForSendOrSave(),
|
||||
this.aDraftInfo,this.sInReplyTo,this.sReferences))},this.canBeSendedOrSaved);m.minuteTick.subscribe(function(){this.modalVisibility()&&(!f.data().draftFolderNotEnabled()&&!this.isEmptyForm(!1)&&!this.saving()&&!this.sending()&&!this.savedError())&&this.saveCommand()},this);d.initOnStartOrLangChange(null,this,function(){this.oEditor&&this.oEditor.initLanguage(d.i18n("EDITOR/TEXT_SWITCHER_CONFIRM"),d.i18n("EDITOR/TEXT_SWITCHER_PLAINT_TEXT"),d.i18n("EDITOR/TEXT_SWITCHER_RICH_FORMATTING"))});this.showCcAndBcc.subscribe(function(){this.triggerForResize()},
|
||||
this);this.dropboxEnabled=e.observable(f.settingsGet("DropboxApiKey")?!0:!1);this.dropboxCommand=d.createCommand(this,function(){h.Dropbox&&h.Dropbox.choose({success:function(b){b&&(b[0]&&b[0].link)&&a.addDropboxAttachment(b[0])},linkType:"direct",multiselect:!1});return!0},function(){return this.dropboxEnabled()});this.modalVisibility.subscribe(function(a){!a&&this.bReloadFolder&&(this.bReloadFolder=!1,f.reloadMessageList())},this);this.driveEnabled=e.observable(!1);this.driveCommand=d.createCommand(this,
|
||||
function(){return!0},function(){return this.driveEnabled()})}function O(){D.call(this,"Popups","PopupsContacts");var a=this;this.imageUploader=e.observable(null);this.imageDom=e.observable(null);this.imageTrigger=e.observable(!1);this.search=e.observable("");this.contacts=e.observableArray([]);this.contacts.loading=e.observable(!1).extend({throttle:200});this.currentContact=e.observable(null);this.emptySelection=e.observable(!0);this.viewClearSearch=e.observable(!1);this.viewID=e.observable("");this.viewName=
|
||||
e.observable("");this.viewName.focused=e.observable(!1);this.viewEmail=e.observable("").validateEmail();this.viewEmail.focused=e.observable(!1);this.viewImageUrl=e.observable(f.link().emptyContactPic());this.viewSaving=e.observable(!1);this.useCheckboxesInList=f.data().useCheckboxesInList;this.search.subscribe(function(){this.reloadContactList()},this);this.contacts.subscribe(function(){d.windowResize()},this);this.viewImageUrl.subscribe(function(a){this.imageDom().src=a},this);this.contactsChecked=
|
||||
e.computed(function(){return i.filter(this.contacts(),function(a){return a.checked()})},this);this.contactsCheckedOrSelected=e.computed(function(){var a=this.contactsChecked(),c=this.currentContact();return i.union(a,c?[c]:[])},this);this.contactsCheckedOrSelectedUids=e.computed(function(){return i.map(this.contactsCheckedOrSelected(),function(a){return a.idContact})},this);this.newCommand=d.createCommand(this,function(){this.populateViewContact(null)});this.selector=new M(this.contacts,this.currentContact,
|
||||
".e-contact-item .actionHandle",".e-contact-item.selected",".e-contact-item .checkboxItem");this.selector.on("onItemSelect",i.bind(function(a){this.populateViewContact(a?a:null)},this));this.selector.on("onItemGetUid",function(a){return a?a.generateUid():""});this.selector.on("onDelete",i.bind(function(){this.deleteCommand()},this));this.newCommand=d.createCommand(this,function(){this.populateViewContact(null);this.currentContact(null)});this.deleteCommand=d.createCommand(this,function(){this.deleteSelectedContacts()},
|
||||
function(){return 0<this.contactsCheckedOrSelected().length});this.newMessageCommand=d.createCommand(this,function(){var a=this.contactsCheckedOrSelected(),c=[];d.isNonEmptyArray(a)&&(c=i.map(a,function(a){return a&&a.emails&&(a=new G(a.emails[0]||"",a.name),a.validate())?a:null}),c=i.compact(c));d.isNonEmptyArray(a)&&(o.hideScreenPopup(O),o.showScreenPopup(z,[g.ComposeType.Empty,null,c]))},function(){return 0<this.contactsCheckedOrSelected().length});this.clearCommand=d.createCommand(this,function(){this.search("")});
|
||||
this.saveCommand=d.createCommand(this,function(){var b=d.fakeMd5(),c=this.imageTrigger();this.viewSaving(!0);f.remote().contactSave(function(k,e){a.viewSaving(!1);g.StorageResultType.Success===k&&(e&&e.Result&&e.Result.RequestUid===b&&0<d.pInt(e.Result.ResultID))&&(""===a.viewID()&&a.viewID(d.pInt(e.Result.ResultID)),a.reloadContactList(),c&&f.emailsPicsHashes())},b,this.viewID(),this.viewName(),this.viewEmail(),c?this.imageDom().src:"")},function(){var a=this.viewName(),c=this.viewEmail();return!this.viewSaving()&&
|
||||
(""!==a||""!==c)})}function ha(){D.call(this,"Popups","PopupsAdvancedSearch");this.fromFocus=e.observable(!1);this.from=e.observable("");this.to=e.observable("");this.subject=e.observable("");this.text=e.observable("");this.selectedDateValue=e.observable(-1);this.hasAttachments=e.observable(!1);this.searchCommand=d.createCommand(this,function(){var a=this.buildSearchString();""!==a&&f.data().mainMessageListSearch(a);this.cancelCommand()})}function ia(){D.call(this,"Popups","PopupsAddAccount");this.email=
|
||||
e.observable("");this.login=e.observable("");this.password=e.observable("");this.emailError=e.observable(!1);this.loginError=e.observable(!1);this.passwordError=e.observable(!1);this.email.subscribe(function(){this.emailError(!1)},this);this.login.subscribe(function(){this.loginError(!1)},this);this.password.subscribe(function(){this.passwordError(!1)},this);this.allowCustomLogin=e.observable(!1);this.submitRequest=e.observable(!1);this.submitError=e.observable("");this.emailFocus=e.observable(!1);
|
||||
this.loginFocus=e.observable(!1);this.addAccountCommand=d.createCommand(this,function(){this.emailError(""===d.trim(this.email()));this.passwordError(""===d.trim(this.password()));if(this.emailError()||this.passwordError())return!1;this.submitRequest(!0);f.remote().accountAdd(i.bind(function(a,b){this.submitRequest(!1);g.StorageResultType.Success===a&&b&&"AccountAdd"===b.Action?b.Result?(f.accountsAndIdentities(),this.cancelCommand()):b.ErrorCode&&this.submitError(d.getNotification(b.ErrorCode)):
|
||||
this.submitError(d.getNotification(g.Notification.UnknownError))},this),this.email(),this.login(),this.password());return!0},function(){return!this.submitRequest()});this.loginFocus.subscribe(function(a){a&&(""===this.login()&&""!==this.email())&&this.login(this.email())},this)}function pa(){D.call(this,"Popups","PopupsIdentity");this.id="";this.edit=e.observable(!1);this.owner=e.observable(!1);this.email=e.observable("").validateEmail();this.email.focused=e.observable(!1);this.name=e.observable("");
|
||||
this.name.focused=e.observable(!1);this.replyTo=e.observable("").validateSimpleEmail();this.replyTo.focused=e.observable(!1);this.bcc=e.observable("").validateSimpleEmail();this.bcc.focused=e.observable(!1);this.submitRequest=e.observable(!1);this.submitError=e.observable("");this.addOrEditIdentityCommand=d.createCommand(this,function(){this.email.hasError()||this.email.hasError(""===d.trim(this.email()));if(this.email.hasError())return this.owner()||this.email.focused(!0),!1;if(this.replyTo.hasError())return this.replyTo.focused(!0),
|
||||
!1;if(this.bcc.hasError())return this.bcc.focused(!0),!1;this.submitRequest(!0);f.remote().identityUpdate(i.bind(function(a,b){this.submitRequest(!1);g.StorageResultType.Success===a&&b?b.Result?(f.accountsAndIdentities(),this.cancelCommand()):b.ErrorCode&&this.submitError(d.getNotification(b.ErrorCode)):this.submitError(d.getNotification(g.Notification.UnknownError))},this),this.id,this.email(),this.name(),this.replyTo(),this.bcc());return!0},function(){return!this.submitRequest()});this.label=e.computed(function(){return d.i18n("POPUPS_IDENTITIES/"+
|
||||
(this.edit()?"TITLE_UPDATE_IDENTITY":"TITLE_ADD_IDENTITY"))},this);this.button=e.computed(function(){return d.i18n("POPUPS_IDENTITIES/"+(this.edit()?"BUTTON_UPDATE_IDENTITY":"BUTTON_ADD_IDENTITY"))},this)}function ja(){D.call(this,"Popups","PopupsLanguages");this.exp=e.observable(!1);this.languages=e.computed(function(){var a=f.data().mainLanguage();return i.map(f.data().languages(),function(b){return{key:b,selected:b===a,fullName:d.convertLangName(b)}})})}function ka(){D.call(this,"Right","Login");
|
||||
var a=f.data();this.email=e.observable("");this.login=e.observable("");this.password=e.observable("");this.signMe=e.observable(!1);this.logoMain=e.observable("RainLoop");this.emailError=e.observable(!1);this.loginError=e.observable(!1);this.passwordError=e.observable(!1);this.emailFocus=e.observable(!1);this.loginFocus=e.observable(!1);this.submitFocus=e.observable(!1);this.email.subscribe(function(){this.emailError(!1)},this);this.login.subscribe(function(){this.loginError(!1)},this);this.password.subscribe(function(){this.passwordError(!1)},
|
||||
this);this.submitRequest=e.observable(!1);this.submitError=e.observable("");this.allowCustomLogin=a.allowCustomLogin;this.allowLanguagesOnLogin=a.allowLanguagesOnLogin;this.langRequest=e.observable(!1);this.mainLanguage=a.mainLanguage;this.bSendLanguage=!1;this.mainLanguageFullName=e.computed(function(){return d.convertLangName(this.mainLanguage())},this);this.signMeType=e.observable(g.LoginSignMeType.Unused);this.signMeType.subscribe(function(a){this.signMe(g.LoginSignMeType.DefaultOn===a)},this);
|
||||
this.signMeVisibility=e.computed(function(){return g.LoginSignMeType.Unused!==this.signMeType()},this);this.submitCommand=d.createCommand(this,function(){this.emailError(""===d.trim(this.email()));this.passwordError(""===d.trim(this.password()));if(this.emailError()||this.passwordError())return!1;this.submitRequest(!0);f.remote().login(i.bind(function(a,c){g.StorageResultType.Success===a&&c&&"Login"===c.Action?c.Result?f.loginAndLogoutReload():c.ErrorCode?(this.submitRequest(!1),this.submitError(d.getNotification(c.ErrorCode))):
|
||||
this.submitRequest(!1):(this.submitRequest(!1),this.submitError(d.getNotification(g.Notification.UnknownError)))},this),this.email(),this.login(),this.password(),!!this.signMe(),this.bSendLanguage?this.mainLanguage():"");return!0},function(){return!this.submitRequest()});this.facebookLoginEnabled=e.observable(!1);this.facebookCommand=d.createCommand(this,function(){h.open(f.link().socialFacebook(),"Facebook","left=200,top=100,width=650,height=335,menubar=no,status=no,resizable=yes,scrollbars=yes");
|
||||
return!0},function(){return!this.submitRequest()&&this.facebookLoginEnabled()});this.googleLoginEnabled=e.observable(!1);this.googleCommand=d.createCommand(this,function(){h.open(f.link().socialGoogle(),"Google","left=200,top=100,width=650,height=335,menubar=no,status=no,resizable=yes,scrollbars=yes");return!0},function(){return!this.submitRequest()&&this.googleLoginEnabled()});this.twitterLoginEnabled=e.observable(!1);this.twitterCommand=d.createCommand(this,function(){h.open(f.link().socialTwitter(),
|
||||
"Twitter","left=200,top=100,width=650,height=335,menubar=no,status=no,resizable=yes,scrollbars=yes");return!0},function(){return!this.submitRequest()&&this.twitterLoginEnabled()});this.loginFocus.subscribe(function(a){a&&(""===this.login()&&""!==this.email())&&this.login(this.email())},this);this.socialLoginEnabled=e.computed(function(){var a=this.facebookLoginEnabled(),c=this.googleLoginEnabled(),d=this.twitterLoginEnabled();return a||c||d},this)}function T(){D.call(this,"Right","SystemDropDown");
|
||||
var a=f.data();this.accounts=a.accounts;this.accountEmail=a.accountEmail;this.accountsLoading=a.accountsLoading;this.allowAddAccount=f.settingsGet("AllowAdditionalAccounts");this.loading=e.computed(function(){return this.accountsLoading()},this);this.accountClick=i.bind(this.accountClick,this)}function Va(){T.call(this)}function Wa(){T.call(this)}function ba(){D.call(this,"Left","MailFolderList");this.folderList=f.data().folderList;this.folderListSystem=f.data().folderListSystem;this.iDropOverTimer=
|
||||
0;this.allowContacts=!!f.settingsGet("ContactsIsSupported")&&!!f.settingsGet("ContactsIsAllowed")}function A(){D.call(this,"Right","MailMessageList");this.sLastUid=null;this.emptySubjectValue="";var a=f.data();this.popupVisibility=f.popupVisibility;this.messageList=a.messageList;this.currentMessage=a.currentMessage;this.isMessageSelected=a.isMessageSelected;this.messageListSearch=a.messageListSearch;this.messageListError=a.messageListError;this.folderMenuForMove=a.folderMenuForMove;this.useCheckboxesInList=
|
||||
a.useCheckboxesInList;this.mainMessageListSearch=a.mainMessageListSearch;this.messageListEndFolder=a.messageListEndFolder;this.messageListChecked=a.messageListChecked;this.messageListCheckedOrSelected=a.messageListCheckedOrSelected;this.messageListCheckedOrSelectedUidsWithSubMails=a.messageListCheckedOrSelectedUidsWithSubMails;this.messageListCompleteLoadingThrottle=a.messageListCompleteLoadingThrottle;d.initOnStartOrLangChange(function(){this.emptySubjectValue=d.i18n("MESSAGE_LIST/EMPTY_SUBJECT_TEXT")},
|
||||
this);this.userQuota=a.userQuota;this.userUsageSize=a.userUsageSize;this.userUsageProc=a.userUsageProc;this.dragOver=e.observable(!1).extend({throttle:1});this.dragOverEnter=e.observable(!1).extend({throttle:1});this.dragOverArea=e.observable(null);this.dragOverBodyArea=e.observable(null);this.messageListItemTemplate=e.computed(function(){return a.usePreviewPane()?"MailMessageListItem":"MailMessageListItemNoPreviewPane"});this.messageListSearchDesc=e.computed(function(){var b=a.messageListEndSearch();
|
||||
return""===b?"":d.i18n("MESSAGE_LIST/SEARCH_RESULT_FOR",{SEARCH:b})});this.messageListPagenator=e.computed(function(){var b=0,c=0,k=2,f=[],e=a.messageListPage(),g=a.messageListPageCount(),l=function(a,b,c){a={current:a===e,name:d.isUnd(c)?a.toString():c.toString(),custom:d.isUnd(c)?!1:!0,title:d.isUnd(c)?"":a.toString(),value:a.toString()};d.isUnd(b)||b?f.push(a):f.unshift(a)};if(1<g||0<g&&g<e){if(g<e)l(g),c=b=g;else{if(3>=e||g-2<=e)k+=2;l(e);c=b=e}for(;0<k;)if(b-=1,c+=1,0<b&&(l(b,!1),k--),g>=c)l(c,
|
||||
!0),k--;else if(0>=b)break;3===b?l(2,!1):3<b&&l(Math.round((b-1)/2),!1,"...");g-2===c?l(g-1,!0):g-2>c&&l(Math.round((g+c)/2),!0,"...");1<b&&l(1,!1);g>c&&l(g,!0)}return f},this);this.checkAll=e.computed({read:function(){return 0<f.data().messageListCheckedOrSelected().length},write:function(a){a=!!a;i.each(f.data().messageList(),function(c){c.checked(a)});a||f.data().message(null)}});this.inputMessageListSearchFocus=e.observable(!1);this.sLastSearchValue="";this.inputProxyMessageListSearch=e.computed({read:this.mainMessageListSearch,
|
||||
write:function(a){this.sLastSearchValue=a},owner:this});this.isIncompleteChecked=e.computed(function(){var a=f.data().messageList().length,c=f.data().messageListCheckedOrSelected().length;return 0<a&&0<c&&a>c},this);this.hasMessages=e.computed(function(){return 0<this.messageList().length},this);this.hasCheckedLines=e.computed(function(){return 0<this.messageListChecked().length},this);this.hasCheckedOrSelectedLines=e.computed(function(){return 0<this.messageListCheckedOrSelected().length},this);
|
||||
this.isSpamFolder=e.computed(function(){return f.data().spamFolder()===this.messageListEndFolder()},this);this.isTrashFolder=e.computed(function(){return f.data().trashFolder()===this.messageListEndFolder()},this);this.canBeMoved=this.hasCheckedOrSelectedLines;this.clearCommand=d.createCommand(this,function(){o.showScreenPopup(za,[f.data().currentFolder()])});this.multyForwardCommand=d.createCommand(this,function(){o.showScreenPopup(z,[g.ComposeType.ForwardAsAttachment,f.data().messageListCheckedOrSelected()])},
|
||||
this.canBeMoved);this.deleteWithoutMoveCommand=d.createCommand(this,function(){this.deleteSelectedMessageFromCurrentFolder(g.FolderType.Trash,!1)},this.canBeMoved);this.deleteCommand=d.createCommand(this,function(){this.deleteSelectedMessageFromCurrentFolder(g.FolderType.Trash,!0)},this.canBeMoved);this.spamCommand=d.createCommand(this,function(){this.deleteSelectedMessageFromCurrentFolder(g.FolderType.Spam,!0)},this.canBeMoved);this.moveCommand=d.createCommand(this,d.emptyFunction,this.canBeMoved);
|
||||
this.setCommand=d.createCommand(this,d.emptyFunction,this.hasCheckedLines);this.checkCommand=d.createCommand(this,d.emptyFunction,this.hasCheckedLines);this.reloadCommand=d.createCommand(this,function(){f.data().messageListCompleteLoadingThrottle()||f.reloadMessageList(!1,!0)});this.quotaTooltip=i.bind(this.quotaTooltip,this);this.selector=new M(this.messageList,this.currentMessage,".messageListItem .actionHandle",".messageListItem.selected",".messageListItem .checkboxMessage");this.selector.on("onItemSelect",
|
||||
i.bind(function(b){b?(a.message(a.staticMessageList.populateByMessageListItem(b)),this.populateMessageBody(a.message())):a.message(null)},this));this.selector.on("onItemGetUid",function(a){return a?a.generateUid():""});this.selector.on("onDelete",i.bind(function(){0<f.data().messageListCheckedOrSelected().length&&this.deleteCommand()},this))}function J(){D.call(this,"Right","MailMessageView");var a="",b=f.data(),c=this,k=function(a){return d.createCommand(c,function(){this.replyOrforward(a)},c.canBeRepliedOrForwarded)};
|
||||
this.oMessageScrollerDom=null;this.message=b.message;this.messageLoading=b.messageLoading;this.messageLoadingThrottle=b.messageLoadingThrottle;this.messagesBodiesDom=b.messagesBodiesDom;this.useThreads=b.useThreads;this.replySameFolder=b.replySameFolder;this.usePreviewPane=b.usePreviewPane;this.isMessageSelected=b.isMessageSelected;this.messageActiveDom=b.messageActiveDom;this.messageError=b.messageError;this.fullScreenMode=b.messageFullScreenMode;this.showFullInfo=e.observable(!1);this.canBeRepliedOrForwarded=
|
||||
this.messageVisibility=e.computed(function(){return!this.messageLoadingThrottle()&&!!this.message()},this);this.closeMessage=d.createCommand(this,function(){b.message(null)});this.replyCommand=k(g.ComposeType.Reply);this.replyAllCommand=k(g.ComposeType.ReplyAll);this.forwardCommand=k(g.ComposeType.Forward);this.forwardAsAttachmentCommand=k(g.ComposeType.ForwardAsAttachment);this.messageVisibilityCommand=d.createCommand(this,d.emptyFunction,this.messageVisibility);this.messageEditCommand=d.createCommand(this,
|
||||
function(){this.editMessage()},this.messageVisibility);this.viewSubject=e.observable("");this.viewFromShort=e.observable("");this.viewToShort=e.observable("");this.viewFrom=e.observable("");this.viewTo=e.observable("");this.viewCc=e.observable("");this.viewBcc=e.observable("");this.viewDate=e.observable("");this.viewMoment=e.observable("");this.viewLineAsCcc=e.observable("");this.viewHasImages=e.observable(!1);this.viewHasVisibleAttachments=e.observable(!1);this.viewAttachments=e.observableArray([]);
|
||||
this.viewIsHtml=e.observable(!1);this.viewIsRtl=e.observable(!1);this.viewViewLink=e.observable("");this.viewDownloadLink=e.observable("");this.viewUserPic=e.observable(n.DataImages.UserDotPic);this.viewUserPicVisible=e.observable(!1);this.message.subscribe(function(b){this.messageActiveDom(null);b&&(this.viewSubject(b.subject()),this.viewFromShort(b.fromToLine(!0,!0)),this.viewToShort(b.toToLine(!0,!0)),this.viewFrom(b.fromToLine(!1)),this.viewTo(b.toToLine(!1)),this.viewCc(b.ccToLine(!1)),this.viewBcc(b.bccToLine(!1)),
|
||||
this.viewDate(b.fullFormatDateValue()),this.viewMoment(b.momentDate()),this.viewLineAsCcc(b.lineAsCcc()),this.viewHasImages(b.hasImages()),this.viewHasVisibleAttachments(b.hasVisibleAttachments()),this.viewAttachments(b.attachments()),this.viewIsHtml(b.isHtml()),this.viewIsRtl(b.isRtl()),this.viewViewLink(b.viewLink()),this.viewDownloadLink(b.downloadLink()),a=f.cache().getUserPic(b.fromAsSingleEmail()),a!==this.viewUserPic()&&(this.viewUserPicVisible(!1),this.viewUserPic(n.DataImages.UserDotPic),
|
||||
""!==a&&(this.viewUserPicVisible(!0),this.viewUserPic(a))))},this);this.fullScreenMode.subscribe(function(a){a?Q.addClass("rl-message-fullscreen"):Q.removeClass("rl-message-fullscreen");d.windowResize()});this.messageLoadingThrottle.subscribe(function(a){a&&d.windowResize()});this.messageActiveDom.subscribe(function(){this.scrollMessageToTop()},this)}function Aa(a){D.call(this,"Left","SettingsMenu");this.menu=a.menu}function Ba(){D.call(this,"Right","SettingsPane")}function Ca(){var a=f.data();this.mainLanguage=
|
||||
a.mainLanguage;this.mainMessagesPerPage=a.mainMessagesPerPage;this.mainMessagesPerPageArray=n.Defaults.MessagesPerPageArray;this.editorDefaultType=a.editorDefaultType;this.showImages=a.showImages;this.interfaceAnimation=a.interfaceAnimation;this.useDesktopNotifications=a.useDesktopNotifications;this.threading=a.threading;this.useThreads=a.useThreads;this.replySameFolder=a.replySameFolder;this.usePreviewPane=a.usePreviewPane;this.useCheckboxesInList=a.useCheckboxesInList;this.allowLanguagesOnSettings=
|
||||
a.allowLanguagesOnSettings;this.isDesktopNotificationsSupported=e.computed(function(){return g.DesktopNotifications.NotSupported!==a.desktopNotificationsPermisions()});this.isDesktopNotificationsDenied=e.computed(function(){return g.DesktopNotifications.NotSupported===a.desktopNotificationsPermisions()||g.DesktopNotifications.Denied===a.desktopNotificationsPermisions()});this.mainLanguageFullName=e.computed(function(){return d.convertLangName(this.mainLanguage())},this);this.languageTrigger=e.observable(g.SaveSettingsStep.Idle).extend({throttle:100});
|
||||
this.mppTrigger=e.observable(g.SaveSettingsStep.Idle);this.isAnimationSupported=m.bAnimationSupported}function Oa(){var a=f.data();this.displayName=a.displayName;this.replyTo=a.replyTo;this.signature=a.signature;this.nameTrigger=e.observable(g.SaveSettingsStep.Idle);this.replyTrigger=e.observable(g.SaveSettingsStep.Idle);this.signatureTrigger=e.observable(g.SaveSettingsStep.Idle)}function Da(){var a=f.data();this.accounts=a.accounts;this.processText=e.computed(function(){return a.accountsLoading()?
|
||||
d.i18n("SETTINGS_ACCOUNTS/LOADING_PROCESS"):""},this);this.visibility=e.computed(function(){return""===this.processText()?"hidden":"visible"},this);this.accountForDeletion=e.observable(null).extend({falseTimeout:3E3}).extend({toggleSubscribe:[this,function(a){a&&a.deleteAccess(!1)},function(a){a&&a.deleteAccess(!0)}]})}function la(){var a=f.data();this.identities=a.identities;this.legent=e.computed(function(){return d.i18n("SETTINGS_IDENTITIES/LEGEND_IDENTITIES_FOR",{EMAIL:a.accountEmail()})},this);
|
||||
this.processText=e.computed(function(){return a.identitiesLoading()?d.i18n("SETTINGS_IDENTITIES/LOADING_PROCESS"):""},this);this.visibility=e.computed(function(){return""===this.processText()?"hidden":"visible"},this);this.identityForDeletion=e.observable(null).extend({falseTimeout:3E3}).extend({toggleSubscribe:[this,function(a){a&&a.deleteAccess(!1)},function(a){a&&a.deleteAccess(!0)}]});this.signature=a.signature;this.signatureTrigger=e.observable(g.SaveSettingsStep.Idle)}function Xa(){var a=f.data();
|
||||
this.googleEnable=a.googleEnable;this.googleActions=a.googleActions;this.googleLoggined=a.googleLoggined;this.googleUserName=a.googleUserName;this.facebookEnable=a.facebookEnable;this.facebookActions=a.facebookActions;this.facebookLoggined=a.facebookLoggined;this.facebookUserName=a.facebookUserName;this.twitterEnable=a.twitterEnable;this.twitterActions=a.twitterActions;this.twitterLoggined=a.twitterLoggined;this.twitterUserName=a.twitterUserName;this.connectGoogle=d.createCommand(this,function(){this.googleLoggined()||
|
||||
f.googleConnect()},function(){return!this.googleLoggined()&&!this.googleActions()});this.disconnectGoogle=d.createCommand(this,function(){f.googleDisconnect()});this.connectFacebook=d.createCommand(this,function(){this.facebookLoggined()||f.facebookConnect()},function(){return!this.facebookLoggined()&&!this.facebookActions()});this.disconnectFacebook=d.createCommand(this,function(){f.facebookDisconnect()});this.connectTwitter=d.createCommand(this,function(){this.twitterLoggined()||f.twitterConnect()},
|
||||
function(){return!this.twitterLoggined()&&!this.twitterActions()});this.disconnectTwitter=d.createCommand(this,function(){f.twitterDisconnect()})}function Ea(){this.changeProcess=e.observable(!1);this.passwordUpdateError=e.observable(!1);this.passwordUpdateSuccess=e.observable(!1);this.currentPassword=e.observable("");this.newPassword=e.observable("");this.currentPassword.subscribe(function(){this.passwordUpdateError(!1);this.passwordUpdateSuccess(!1)},this);this.newPassword.subscribe(function(){this.passwordUpdateError(!1);
|
||||
this.passwordUpdateSuccess(!1)},this);this.saveNewPasswordCommand=d.createCommand(this,function(){this.changeProcess(!0);this.passwordUpdateError(!1);this.passwordUpdateSuccess(!1);f.remote().changePassword(this.onChangePasswordResponse,this.currentPassword(),this.newPassword())},function(){return!this.changeProcess()&&""!==this.currentPassword()&&""!==this.newPassword()});this.onChangePasswordResponse=i.bind(this.onChangePasswordResponse,this)}function W(){var a=f.data();this.foldersListError=a.foldersListError;
|
||||
this.folderList=a.folderList;this.processText=e.computed(function(){var a=f.data(),c=a.foldersLoading(),k=a.foldersCreating(),e=a.foldersDeleting(),a=a.foldersRenaming();return k?d.i18n("SETTINGS_FOLDERS/CREATING_PROCESS"):e?d.i18n("SETTINGS_FOLDERS/DELETING_PROCESS"):a?d.i18n("SETTINGS_FOLDERS/RENAMING_PROCESS"):c?d.i18n("SETTINGS_FOLDERS/LOADING_PROCESS"):""},this);this.visibility=e.computed(function(){return""===this.processText()?"hidden":"visible"},this);this.folderForDeletion=e.observable(null).extend({falseTimeout:3E3}).extend({toggleSubscribe:[this,
|
||||
function(a){a&&a.deleteAccess(!1)},function(a){a&&a.deleteAccess(!0)}]});this.folderForEdit=e.observable(null).extend({toggleSubscribe:[this,function(a){a&&a.edited(!1)},function(a){a&&a.canBeEdited()&&a.edited(!0)}]});this.useImapSubscribe=!!f.settingsGet("UseImapSubscribe")}function qa(){var a=this;this.mainTheme=f.data().mainTheme;this.customThemeType=e.observable(f.settingsGet("CustomThemeType"));this.customThemeImg=e.observable(f.settingsGet("CustomThemeImg"));this.themesObjects=e.observableArray([]);
|
||||
this.customThemeUploaderProgress=e.observable(!1);this.customThemeUploaderButton=e.observable(null);this.showCustomThemeConfig=e.computed(function(){return"Custom"===this.mainTheme()},this);this.showCustomThemeConfig.subscribe(function(){d.windowResize()});this.themeTrigger=e.observable(g.SaveSettingsStep.Idle).extend({throttle:100});this.oLastAjax=null;this.iTimer=0;f.data().theme.subscribe(function(b){i.each(this.themesObjects(),function(a){a.selected(b===a.name)});var c=j("#rlThemeLink"),k=j("#rlThemeStyle"),
|
||||
e=c.attr("href");e||(e=k.attr("data-href"));e&&(e=e.toString().replace(/\/-\/[^\/]+\/\-\//,"/-/"+b+"/-/"),e=e.toString().replace(/\/Css\/[^\/]+\/User\//,"/Css/"+("Custom"===b&&h.__rlah?h.__rlah()||"0":"0")+"/User/"),"Json/"!==e.substring(e.length-5,e.length)&&(e+="Json/"),h.clearTimeout(a.iTimer),a.themeTrigger(g.SaveSettingsStep.Animate),this.oLastAjax&&this.oLastAjax.abort&&this.oLastAjax.abort(),this.oLastAjax=j.ajax({url:e,dataType:"json"}).done(function(b){if(b&&d.isArray(b)&&2===b.length){if(c&&
|
||||
c[0]&&(!k||!k[0]))k=j('<style id="rlThemeStyle"></style>'),c.after(k),c.remove();k&&k[0]&&k.attr("data-href",e).attr("data-theme",b[0]).text(b[1]);a.themeTrigger(g.SaveSettingsStep.TrueResult)}}).always(function(){a.iTimer=h.setTimeout(function(){a.themeTrigger(g.SaveSettingsStep.Idle)},1E3);a.oLastAjax=null}));f.remote().saveSettings(null,{Theme:b})},this)}function Pa(){d.initDataConstructorBySettings(this)}function U(){d.initDataConstructorBySettings(this);var a=function(a){return function(){var b=
|
||||
f.cache().getFolderFromCacheList(a());b&&b.type(g.FolderType.User)}},b=function(a){return function(b){(b=f.cache().getFolderFromCacheList(b))&&b.type(a)}};this.devPassword=this.devLogin=this.devEmail="";this.accountEmail=e.observable("");this.accountLogin=e.observable("");this.projectHash=e.observable("");this.threading=e.observable(!1);this.lastFoldersHash="";this.remoteChangePassword=this.remoteSuggestions=!1;this.sentFolder=e.observable("");this.draftFolder=e.observable("");this.spamFolder=e.observable("");
|
||||
this.trashFolder=e.observable("");this.sentFolder.subscribe(a(this.sentFolder),this,"beforeChange");this.draftFolder.subscribe(a(this.draftFolder),this,"beforeChange");this.spamFolder.subscribe(a(this.spamFolder),this,"beforeChange");this.trashFolder.subscribe(a(this.trashFolder),this,"beforeChange");this.sentFolder.subscribe(b(g.FolderType.SentItems),this);this.draftFolder.subscribe(b(g.FolderType.Draft),this);this.spamFolder.subscribe(b(g.FolderType.Spam),this);this.trashFolder.subscribe(b(g.FolderType.Trash),
|
||||
this);this.draftFolderNotEnabled=e.computed(function(){return""===this.draftFolder()||n.Values.UnuseOptionValue===this.draftFolder()},this);this.displayName=e.observable("");this.signature=e.observable("");this.replyTo=e.observable("");this.accounts=e.observableArray([]);this.accountsLoading=e.observable(!1).extend({throttle:100});this.identities=e.observableArray([]);this.identitiesLoading=e.observable(!1).extend({throttle:100});this.namespace="";this.folderList=e.observableArray([]);this.foldersListError=
|
||||
e.observable("");this.foldersLoading=e.observable(!1);this.foldersCreating=e.observable(!1);this.foldersDeleting=e.observable(!1);this.foldersRenaming=e.observable(!1);this.currentFolder=e.observable(null).extend({toggleSubscribe:[null,function(a){a&&a.selected(!1)},function(a){a&&a.selected(!0)}]});this.currentFolderFullNameRaw=e.computed(function(){return this.currentFolder()?this.currentFolder().fullNameRaw:""},this);this.currentFolderFullName=e.computed(function(){return this.currentFolder()?
|
||||
this.currentFolder().fullName:""},this);this.currentFolderFullNameHash=e.computed(function(){return this.currentFolder()?this.currentFolder().fullNameHash:""},this);this.currentFolderName=e.computed(function(){return this.currentFolder()?this.currentFolder().name():""},this);this.folderListSystemNames=e.computed(function(){var a=["INBOX"],b=this.folderList(),f=this.sentFolder(),e=this.draftFolder(),g=this.spamFolder(),l=this.trashFolder();d.isArray(b)&&0<b.length&&(""!==f&&n.Values.UnuseOptionValue!==
|
||||
f&&a.push(f),""!==e&&n.Values.UnuseOptionValue!==e&&a.push(e),""!==g&&n.Values.UnuseOptionValue!==g&&a.push(g),""!==l&&n.Values.UnuseOptionValue!==l&&a.push(l));return a},this);this.folderListSystem=e.computed(function(){return i.compact(i.map(this.folderListSystemNames(),function(a){return f.cache().getFolderFromCacheList(a)}))},this);this.folderMenuForMove=e.computed(function(){return f.folderListOptionsBuilder(this.folderListSystem(),this.folderList(),[this.currentFolderFullNameRaw()],null,null,
|
||||
null,null,function(a){return a?a.localName():""})},this);this.staticMessageList=[];this.messageList=e.observableArray([]);this.messageListCount=e.observable(0);this.messageListSearch=e.observable("");this.messageListPage=e.observable(1);this.messageListThreadFolder=e.observable("");this.messageListThreadUids=e.observableArray([]);this.messageListThreadFolder.subscribe(function(){this.messageListThreadUids([])},this);this.messageListEndSearch=e.observable("");this.messageListEndFolder=e.observable("");
|
||||
this.messageListPageCount=e.computed(function(){var a=Math.ceil(this.messageListCount()/this.messagesPerPage());return 0===a?1:a},this);this.mainMessageListSearch=e.computed({read:this.messageListSearch,write:function(a){o.setHash(f.link().mailBox(this.currentFolderFullNameHash(),1,d.trim(a.toString())))},owner:this});this.messageListError=e.observable("");this.messageListLoading=e.observable(!1);this.messageListIsNotCompleted=e.observable(!1);this.messageListCompleteLoadingThrottle=e.observable(!1).extend({throttle:200});
|
||||
this.messageListCompleteLoading=e.computed(function(){var a=this.messageListLoading(),b=this.messageListIsNotCompleted();return a||b},this);this.messageListCompleteLoading.subscribe(function(a){this.messageListCompleteLoadingThrottle(a)},this);this.messageList.subscribe(i.debounce(function(a){i.each(a,function(a){a.newForAnimation()&&a.newForAnimation(!1)})},500));this.staticMessageList=new p;this.message=e.observable(null);this.messageLoading=e.observable(!1);this.messageLoadingThrottle=e.observable(!1).extend({throttle:50});
|
||||
this.messageLoading.subscribe(function(a){this.messageLoadingThrottle(a)},this);this.messageFullScreenMode=e.observable(!1);this.messageError=e.observable("");this.messagesBodiesDom=e.observable(null);this.messagesBodiesDom.subscribe(function(a){a&&!(a instanceof jQuery)&&this.messagesBodiesDom(j(a))},this);this.messageActiveDom=e.observable(null);this.isMessageSelected=e.computed(function(){return null!==this.message()},this);this.currentMessage=e.observable(null);this.message.subscribe(function(a){null===
|
||||
a&&(this.currentMessage(null),this.hideMessageBodies())},this);this.messageListChecked=e.computed(function(){return i.filter(this.messageList(),function(a){return a.checked()})},this);this.messageListCheckedOrSelected=e.computed(function(){var a=this.messageListChecked(),b=this.currentMessage();return i.union(a,b?[b]:[])},this);this.messageListCheckedUids=e.computed(function(){var a=[];i.each(this.messageListChecked(),function(b){b&&(a.push(b.uid),0<b.threadsLen()&&(0===b.parentUid()&&b.lastInCollapsedThread())&&
|
||||
(a=i.union(a,b.threads())))});return a},this);this.messageListCheckedOrSelectedUidsWithSubMails=e.computed(function(){var a=[];i.each(this.messageListCheckedOrSelected(),function(b){b&&(a.push(b.uid),0<b.threadsLen()&&(0===b.parentUid()&&b.lastInCollapsedThread())&&(a=i.union(a,b.threads())))});return a},this);this.userQuota=e.observable(0);this.userUsageSize=e.observable(0);this.userUsageProc=e.computed(function(){var a=this.userQuota(),b=this.userUsageSize();return 0<a?Math.ceil(100*(b/a)):0},this);
|
||||
this.useKeyboardShortcuts=e.observable(!0);this.googleActions=e.observable(!1);this.googleLoggined=e.observable(!1);this.googleUserName=e.observable("");this.facebookActions=e.observable(!1);this.facebookLoggined=e.observable(!1);this.facebookUserName=e.observable("");this.twitterActions=e.observable(!1);this.twitterLoggined=e.observable(!1);this.twitterUserName=e.observable("");this.customThemeType=e.observable(g.CustomThemeType.Light);this.purgeMessageBodyCacheThrottle=i.throttle(this.purgeMessageBodyCache,
|
||||
3E4)}function ea(){this.oRequests={}}function s(){this.oRequests={};this.oRequests={}}function X(){this.oEmailsPicsHashes={};this.oServices={}}function x(){X.call(this);this.oFoldersCache={};this.oFoldersNamesCache={};this.oFolderHashCache={};this.oFolderUidNextCache={};this.oMessageListHashCache={};this.oMessageFlagsCache={};this.oNewMessage={};this.oRequestedMessage={}}function fa(a){L.call(this,"settings",a);this.menu=e.observableArray([]);this.oViewModelPlace=this.oCurrentSubScreen=null}function Fa(){L.call(this,
|
||||
"login",[ka])}function ca(){L.call(this,"mailbox",[Va,ba,A,J]);this.oLastRoute={}}function Qa(){fa.call(this,[Wa,Aa,Ba]);d.initOnStartOrLangChange(function(){this.sSettingsTitle=d.i18n("TITLES/SETTINGS")},this,function(){f.setTitle(this.sSettingsTitle)})}function K(){this.oLocal=this.oLink=this.oPlugins=this.oSettings=null;this.isLocalAutocomplete=!0;this.popupVisibility=e.observable(!1);this.iframe=j('<iframe style="display:none" src="javascript:;" />').appendTo("body");R.on("error",function(a){f&&
|
||||
(a&&a.originalEvent&&a.originalEvent.message&&-1===d.inArray(a.originalEvent.message,["Script error.","Uncaught Error: Error calling method on NPObject."]))&&f.remote().jsError(d.emptyFunction,a.originalEvent.message,a.originalEvent.filename,a.originalEvent.lineno,location&&location.toString?location.toString():"",Q.attr("class"),d.microtime()-m.now)})}function B(){K.call(this);this.oCache=this.oRemote=this.oData=null;this.iSuggestionsLimit=d.pInt(this.settingsGet("SuggestionsLimit"));this.iSuggestionsLimit=
|
||||
0===this.iSuggestionsLimit?20:this.iSuggestionsLimit;this.quotaDebounce=i.debounce(this.quota,3E4)}var n={},g={},v={},d={},y={},ma={},m={},V={settings:[],"settings-removed":[],"settings-disabled":[]},o=null,Ga=h.rainloopAppData||{},Ra=h.rainloopI18N||{},Q=j("html"),R=j(h),Ha=j(h.document),na=h.Notification&&h.Notification.requestPermission?h.Notification:null,f=null;m.now=(new Date).getTime();m.minuteTick=e.observable(!0);m.fiveMinuteTick=e.observable(!0);m.langChangeTick=e.observable(!0);m.iAjaxErrorCount=
|
||||
0;m.iTokenErrorCount=0;m.iMessageBodyCacheCount=0;m.bUnload=!1;m.sUserAgent=(navigator.userAgent||"").toLowerCase();m.bIsiOSDevice=-1<m.sUserAgent.indexOf("iphone")||-1<m.sUserAgent.indexOf("ipod")||-1<m.sUserAgent.indexOf("ipad");m.bIsAndroidDevice=-1<m.sUserAgent.indexOf("android");m.bMobileDevice=m.bIsiOSDevice||m.bIsAndroidDevice;m.bDisableNanoScroll=m.bMobileDevice;m.bAnimationSupported=!m.bMobileDevice&&Q.hasClass("csstransitions");m.sAnimationType="";n.Defaults={};n.Values={};n.DataImages=
|
||||
{};n.Defaults.MessagesPerPage=20;n.Defaults.MessagesPerPageArray=[10,20,30,50,100];n.Defaults.DefaultAjaxTimeout=2E4;n.Defaults.SearchAjaxTimeout=12E4;n.Defaults.SendMessageAjaxTimeout=2E5;n.Defaults.SaveMessageAjaxTimeout=2E5;n.Values.UnuseOptionValue="__UNUSE__";n.Values.GmailFolderName="[Gmail]";n.Values.ClientSideCookieIndexName="rlcsc";n.Values.ImapDefaulPort=143;n.Values.ImapDefaulSecurePort=993;n.Values.SmtpDefaulPort=25;n.Values.SmtpDefaulSecurePort=465;n.Values.iMessageBodyCacheLimit=15;
|
||||
n.DataImages.UserDotPic="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2P8DwQACgAD/il4QJ8AAAAASUVORK5CYII=";n.DataImages.TranspPic="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII=";g.StorageResultType={Success:"success",Abort:"abort",Error:"error",Unload:"unload"};g.State={Empty:10,Login:20,Auth:30};g.StateType={Webmail:0,Admin:1};g.FolderType={Inbox:10,SentItems:11,Draft:12,Trash:13,Spam:14,User:99};
|
||||
g.LoginSignMeTypeAsString={DefaultOff:"defaultoff",DefaultOn:"defaulton",Unused:"unused"};g.LoginSignMeType={DefaultOff:0,DefaultOn:1,Unused:2};g.ComposeType={Empty:"empty",Reply:"reply",ReplyAll:"replyall",Forward:"forward",ForwardAsAttachment:"forward-as-attachment",Draft:"draft"};g.UploadErrorCode={Normal:0,FileIsTooBig:1,FilePartiallyUploaded:2,FileNoUploaded:3,MissingTempFolder:4,FileOnSaveingError:5,FileType:98,Unknown:99};g.SetSystemFoldersNotification={None:0,Sent:1,Draft:2,Spam:3,Trash:4};
|
||||
g.ClientSideKeyName={FoldersLashHash:0,MessagesInboxLastHash:1,MailBoxListSize:2,ExpandedFolders:3,FolderListSize:4};g.EventKeyCode={Backspace:8,Enter:13,Esc:27,PageUp:33,PageDown:34,Left:37,Right:39,Up:38,Down:40,End:35,Home:36,Insert:45,Delete:46,A:65,S:83};g.MessageSetAction={SetSeen:0,UnsetSeen:1,SetFlag:2,UnsetFlag:3};g.MessageSelectAction={All:0,None:1,Invert:2,Unseen:3,Seen:4,Flagged:5,Unflagged:6};g.DesktopNotifications={Allowed:0,NotAllowed:1,Denied:2,NotSupported:9};g.MessagePriority={Low:5,
|
||||
Normal:3,High:1};g.EditorDefaultType={Html:"Html",Plain:"Plain"};g.CustomThemeType={Light:"Light",Dark:"Dark"};g.ServerSecure={None:0,SSL:1,TLS:2};g.SearchDateType={All:-1,Days3:3,Days7:7,Month:30};g.EmailType={Defailt:0,Facebook:1,Google:2};g.SaveSettingsStep={Animate:-2,Idle:-1,TrueResult:1,FalseResult:0};g.InterfaceAnimation={None:"None",Normal:"Normal",Full:"Full"};g.Notification={InvalidToken:101,AuthError:102,AccessError:103,ConnectionError:104,CaptchaError:105,SocialFacebookLoginAccessDisable:106,
|
||||
SocialTwitterLoginAccessDisable:107,SocialGoogleLoginAccessDisable:108,DomainNotAllowed:109,AccountNotAllowed:110,CantGetMessageList:201,CantGetMessage:202,CantDeleteMessage:203,CantMoveMessage:204,CantSaveMessage:301,CantSendMessage:302,InvalidRecipients:303,CantCreateFolder:400,CantRenameFolder:401,CantDeleteFolder:402,CantSubscribeFolder:403,CantUnsubscribeFolder:404,CantDeleteNonEmptyFolder:405,CantSaveSettings:501,CantSavePluginSettings:502,DomainAlreadyExists:601,CantInstallPackage:701,CantDeletePackage:702,
|
||||
InvalidPluginPackage:703,UnsupportedPluginPackage:704,LicensingServerIsUnavailable:710,LicensingExpired:711,LicensingBanned:712,DemoSendMessageError:750,AccountAlreadyExists:801,MailServerError:901,UnknownNotification:999,UnknownError:999};d.trim=j.trim;d.inArray=j.inArray;d.isArray=i.isArray;d.isFunc=i.isFunction;d.isUnd=i.isUndefined;d.isNull=i.isNull;d.emptyFunction=function(){};d.isNormal=function(a){return!d.isUnd(a)&&!d.isNull(a)};d.windowResize=i.debounce(function(a){d.isUnd(a)?R.resize():
|
||||
h.setTimeout(function(){R.resize()},a)},50);d.isPosNumeric=function(a,b){return d.isNormal(a)?d.isUnd(b)||b?/^[0-9]*$/.test(a.toString()):/^[1-9]+[0-9]*$/.test(a.toString()):!1};d.pInt=function(a){return d.isNormal(a)&&""!==a?h.parseInt(a,10):0};d.pString=function(a){return d.isNormal(a)?""+a:""};d.isNonEmptyArray=function(a){return d.isArray(a)&&0<a.length};d.exportPath=function(a,b,c){for(var k=null,a=a.split("."),c=c||h;a.length&&(k=a.shift());)!a.length&&!d.isUnd(b)?c[k]=b:c=c[k]?c[k]:c[k]={}};
|
||||
d.pImport=function(a,b,c){a[b]=c};d.pExport=function(a,b,c){return d.isUnd(a[b])?c:a[b]};d.encodeHtml=function(a){return d.isNormal(a)?a.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):""};d.splitPlainText=function(a,b){for(var c="",k="",f=a,e=0,g=0,b=d.isUnd(b)?100:b;f.length>b;)k=f.substring(0,b),e=k.lastIndexOf(" "),g=k.lastIndexOf("\n"),-1!==g&&(e=g),-1===e&&(e=b),c+=k.substring(0,e)+"\n",f=f.substring(e+1);return c+f};var Ia=
|
||||
{};d.timeOutAction=function(a,b,c){d.isUnd(Ia[a])&&(Ia[a]=0);h.clearTimeout(Ia[a]);Ia[a]=h.setTimeout(b,c)};var Sa={};d.timeOutActionSecond=function(a,b,c){Sa[a]||(Sa[a]=h.setTimeout(function(){b();Sa[a]=0},c))};var S=!1;d.audio=function(a,b){if(!1===S)if(m.bIsiOSDevice)S=null;else{var c=!1,d=!1,f=h.Audio?new h.Audio:null;f&&f.canPlayType&&f.play?((c=""!==f.canPlayType('audio/mpeg; codecs="mp3"'))||(d=""!==f.canPlayType('audio/ogg; codecs="vorbis"')),c||d?(S=f,S.preload="none",S.loop=!1,S.autoplay=
|
||||
!1,S.muted=!1,S.src=c?a:b):S=null):S=null}return S};d.hos=function(a,b){return a&&Object.hasOwnProperty?Object.hasOwnProperty.call(a,b):!1};d.i18n=function(a,b,c){var k="",a=d.isUnd(Ra[a])?d.isUnd(c)?a:c:Ra[a];if(!d.isUnd(b)&&!d.isNull(b))for(k in b)d.hos(b,k)&&(a=a.replace("%"+k+"%",b[k]));return a};d.i18nToNode=function(a){i.defer(function(){j(".i18n",a).each(function(){var a=j(this),c="";(c=a.data("i18n-text"))?a.text(d.i18n(c)):((c=a.data("i18n-html"))&&a.html(d.i18n(c)),(c=a.data("i18n-placeholder"))&&
|
||||
a.attr("placeholder",d.i18n(c)))})})};d.i18nToDoc=function(){h.rainloopI18N&&(Ra=h.rainloopI18N||{},d.i18nToNode(Ha),m.langChangeTick(!m.langChangeTick()));h.rainloopI18N={}};d.initOnStartOrLangChange=function(a,b,c){a&&a.call(b);c?m.langChangeTick.subscribe(function(){a&&a.call(b);c.call(b)}):a&&m.langChangeTick.subscribe(a,b)};d.inFocus=function(){var a=document.activeElement;return a&&("INPUT"===a.tagName||"TEXTAREA"===a.tagName||"IFRAME"===a.tagName||"DIV"===a.tagName&&"editorHtmlArea"===a.className&&
|
||||
a.contentEditable)};d.removeInFocus=function(){if(document&&document.activeElement&&document.activeElement.blur){var a=j(document.activeElement);(a.is("input")||a.is("textarea"))&&document.activeElement.blur()}};d.removeSelection=function(){if(h&&h.getSelection){var a=h.getSelection();a&&a.removeAllRanges&&a.removeAllRanges()}else document&&(document.selection&&document.selection.empty)&&document.selection.empty()};d.replySubjectAdd=function(a,b){var c=null,k=d.trim(b);null!==(c=(new h.RegExp("^"+
|
||||
a+"[\\s]?\\:(.*)$","gi")).exec(b))&&!d.isUnd(c[1])?k=a+"[2]: "+c[1]:null!==(c=(new h.RegExp("^("+a+"[\\s]?[\\[\\(]?)([\\d]+)([\\]\\)]?[\\s]?\\:.*)$","gi")).exec(b))&&!d.isUnd(c[1])&&!d.isUnd(c[2])&&!d.isUnd(c[3])?(d.pInt(c[2]),k=c[1]+(d.pInt(c[2])+1)+c[3]):k=a+": "+b;return k};d.roundNumber=function(a,b){return Math.round(a*Math.pow(10,b))/Math.pow(10,b)};d.friendlySize=function(a){a=d.pInt(a);return 1073741824<=a?d.roundNumber(a/1073741824,1)+"GB":1048576<=a?d.roundNumber(a/1048576,1)+"MB":1024<=
|
||||
a?d.roundNumber(a/1024,0)+"KB":a+"B"};d.log=function(a){h.console&&h.console.log&&h.console.log(a)};d.getNotification=function(a){a=d.pInt(a);return d.isUnd(v[a])?"":v[a]};d.initNotificationLanguage=function(){v[g.Notification.InvalidToken]=d.i18n("NOTIFICATIONS/INVALID_TOKEN");v[g.Notification.AuthError]=d.i18n("NOTIFICATIONS/AUTH_ERROR");v[g.Notification.AccessError]=d.i18n("NOTIFICATIONS/ACCESS_ERROR");v[g.Notification.ConnectionError]=d.i18n("NOTIFICATIONS/CONNECTION_ERROR");v[g.Notification.CaptchaError]=
|
||||
d.i18n("NOTIFICATIONS/CAPTCHA_ERROR");v[g.Notification.SocialFacebookLoginAccessDisable]=d.i18n("NOTIFICATIONS/SOCIAL_FACEBOOK_LOGIN_ACCESS_DISABLE");v[g.Notification.SocialTwitterLoginAccessDisable]=d.i18n("NOTIFICATIONS/SOCIAL_TWITTER_LOGIN_ACCESS_DISABLE");v[g.Notification.SocialGoogleLoginAccessDisable]=d.i18n("NOTIFICATIONS/SOCIAL_GOOGLE_LOGIN_ACCESS_DISABLE");v[g.Notification.DomainNotAllowed]=d.i18n("NOTIFICATIONS/DOMAIN_NOT_ALLOWED");v[g.Notification.AccountNotAllowed]=d.i18n("NOTIFICATIONS/ACCOUNT_NOT_ALLOWED");
|
||||
v[g.Notification.CantGetMessageList]=d.i18n("NOTIFICATIONS/CANT_GET_MESSAGE_LIST");v[g.Notification.CantGetMessage]=d.i18n("NOTIFICATIONS/CANT_GET_MESSAGE");v[g.Notification.CantDeleteMessage]=d.i18n("NOTIFICATIONS/CANT_DELETE_MESSAGE");v[g.Notification.CantMoveMessage]=d.i18n("NOTIFICATIONS/CANT_MOVE_MESSAGE");v[g.Notification.CantSaveMessage]=d.i18n("NOTIFICATIONS/CANT_SAVE_MESSAGE");v[g.Notification.CantSendMessage]=d.i18n("NOTIFICATIONS/CANT_SEND_MESSAGE");v[g.Notification.InvalidRecipients]=
|
||||
d.i18n("NOTIFICATIONS/INVALID_RECIPIENTS");v[g.Notification.CantCreateFolder]=d.i18n("NOTIFICATIONS/CANT_CREATE_FOLDER");v[g.Notification.CantRenameFolder]=d.i18n("NOTIFICATIONS/CANT_RENAME_FOLDER");v[g.Notification.CantDeleteFolder]=d.i18n("NOTIFICATIONS/CANT_DELETE_FOLDER");v[g.Notification.CantDeleteNonEmptyFolder]=d.i18n("NOTIFICATIONS/CANT_DELETE_NON_EMPTY_FOLDER");v[g.Notification.CantSubscribeFolder]=d.i18n("NOTIFICATIONS/CANT_SUBSCRIBE_FOLDER");v[g.Notification.CantUnsubscribeFolder]=d.i18n("NOTIFICATIONS/CANT_UNSUBSCRIBE_FOLDER");
|
||||
v[g.Notification.CantSaveSettings]=d.i18n("NOTIFICATIONS/CANT_SAVE_SETTINGS");v[g.Notification.CantSavePluginSettings]=d.i18n("NOTIFICATIONS/CANT_SAVE_PLUGIN_SETTINGS");v[g.Notification.DomainAlreadyExists]=d.i18n("NOTIFICATIONS/DOMAIN_ALREADY_EXISTS");v[g.Notification.CantInstallPackage]=d.i18n("NOTIFICATIONS/CANT_INSTALL_PACKAGE");v[g.Notification.CantDeletePackage]=d.i18n("NOTIFICATIONS/CANT_DELETE_PACKAGE");v[g.Notification.InvalidPluginPackage]=d.i18n("NOTIFICATIONS/INVALID_PLUGIN_PACKAGE");
|
||||
v[g.Notification.UnsupportedPluginPackage]=d.i18n("NOTIFICATIONS/UNSUPPORTED_PLUGIN_PACKAGE");v[g.Notification.LicensingServerIsUnavailable]=d.i18n("NOTIFICATIONS/LICENSING_SERVER_IS_UNAVAILABLE");v[g.Notification.LicensingExpired]=d.i18n("NOTIFICATIONS/LICENSING_EXPIRED");v[g.Notification.LicensingBanned]=d.i18n("NOTIFICATIONS/LICENSING_BANNED");v[g.Notification.DemoSendMessageError]=d.i18n("NOTIFICATIONS/DEMO_SEND_MESSAGE_ERROR");v[g.Notification.AccountAlreadyExists]=d.i18n("NOTIFICATIONS/ACCOUNT_ALREADY_EXISTS");
|
||||
v[g.Notification.MailServerError]=d.i18n("NOTIFICATIONS/MAIL_SERVER_ERROR");v[g.Notification.UnknownNotification]=d.i18n("NOTIFICATIONS/UNKNOWN_ERROR");v[g.Notification.UnknownError]=d.i18n("NOTIFICATIONS/UNKNOWN_ERROR")};d.getUploadErrorDescByCode=function(a){var b="";switch(d.pInt(a)){case g.UploadErrorCode.FileIsTooBig:b=d.i18n("UPLOAD/ERROR_FILE_IS_TOO_BIG");break;case g.UploadErrorCode.FilePartiallyUploaded:b=d.i18n("UPLOAD/ERROR_FILE_PARTIALLY_UPLOADED");break;case g.UploadErrorCode.FileNoUploaded:b=
|
||||
d.i18n("UPLOAD/ERROR_NO_FILE_UPLOADED");break;case g.UploadErrorCode.MissingTempFolder:b=d.i18n("UPLOAD/ERROR_MISSING_TEMP_FOLDER");break;case g.UploadErrorCode.FileOnSaveingError:b=d.i18n("UPLOAD/ERROR_ON_SAVING_FILE");break;case g.UploadErrorCode.FileType:b=d.i18n("UPLOAD/ERROR_FILE_TYPE");break;default:b=d.i18n("UPLOAD/ERROR_UNKNOWN")}return b};d.killCtrlAandS=function(a){if(a=a||h.event){var b=a.target||a.srcElement,c=a.keyCode||a.which;if(a.ctrlKey&&c===g.EventKeyCode.S)a.preventDefault();else if((!b||
|
||||
!b.tagName||!b.tagName.match(/INPUT|TEXTAREA/i))&&a.ctrlKey&&c===g.EventKeyCode.A)h.getSelection?h.getSelection().removeAllRanges():h.document.selection&&h.document.selection.clear&&h.document.selection.clear(),a.preventDefault()}};d.createCommand=function(a,b,c){var k=b?function(){k.canExecute&&k.canExecute()&&b.apply(a,Array.prototype.slice.call(arguments));return!1}:function(){};k.enabled=e.observable(!0);c=d.isUnd(c)?!0:c;k.canExecute=d.isFunc(c)?e.computed(function(){return k.enabled()&&c.call(a)}):
|
||||
e.computed(function(){return k.enabled()&&!!c});return k};d.initDataConstructorBySettings=function(a){a.editorDefaultType=e.observable(g.EditorDefaultType.Html);a.showImages=e.observable(!1);a.interfaceAnimation=e.observable(g.InterfaceAnimation.Full);m.sAnimationType=g.InterfaceAnimation.Full;a.allowThemes=e.observable(!0);a.allowCustomLogin=e.observable(!1);a.allowLanguagesOnSettings=e.observable(!0);a.allowLanguagesOnLogin=e.observable(!0);a.desktopNotifications=e.observable(!1);a.useThreads=e.observable(!0);
|
||||
a.replySameFolder=e.observable(!0);a.usePreviewPane=e.observable(!0);a.useCheckboxesInList=e.observable(!0);a.interfaceAnimation.subscribe(function(a){if(m.bMobileDevice||a===g.InterfaceAnimation.None)Q.removeClass("rl-anim rl-anim-full").addClass("no-rl-anim"),m.sAnimationType=g.InterfaceAnimation.None;else switch(a){case g.InterfaceAnimation.Full:Q.removeClass("no-rl-anim").addClass("rl-anim rl-anim-full");m.sAnimationType=a;break;case g.InterfaceAnimation.Normal:Q.removeClass("no-rl-anim rl-anim-full").addClass("rl-anim"),
|
||||
m.sAnimationType=a}});a.interfaceAnimation.valueHasMutated();a.desktopNotificationsPermisions=e.computed(function(){a.desktopNotifications();var b=g.DesktopNotifications.NotSupported;if(na&&na.permission)switch(na.permission.toLowerCase()){case "granted":b=g.DesktopNotifications.Allowed;break;case "denied":b=g.DesktopNotifications.Denied;break;case "default":b=g.DesktopNotifications.NotAllowed}else h.webkitNotifications&&h.webkitNotifications.checkPermission&&(b=h.webkitNotifications.checkPermission());
|
||||
return b});a.useDesktopNotifications=e.computed({read:function(){return a.desktopNotifications()&&g.DesktopNotifications.Allowed===a.desktopNotificationsPermisions()},write:function(b){b?(b=a.desktopNotificationsPermisions(),g.DesktopNotifications.Allowed===b?a.desktopNotifications(!0):g.DesktopNotifications.NotAllowed===b?na.requestPermission(function(){a.desktopNotifications.valueHasMutated();g.DesktopNotifications.Allowed===a.desktopNotificationsPermisions()?a.desktopNotifications()?a.desktopNotifications.valueHasMutated():
|
||||
a.desktopNotifications(!0):a.desktopNotifications()?a.desktopNotifications(!1):a.desktopNotifications.valueHasMutated()}):a.desktopNotifications(!1)):a.desktopNotifications(!1)}});a.language=e.observable("");a.languages=e.observableArray([]);a.mainLanguage=e.computed({read:a.language,write:function(b){b!==a.language()?-1<d.inArray(b,a.languages())?a.language(b):0<a.languages().length&&a.language(a.languages()[0]):a.language.valueHasMutated()}});a.theme=e.observable("");a.themes=e.observableArray([]);
|
||||
a.mainTheme=e.computed({read:a.theme,write:function(b){if(b!==a.theme()){var c=a.themes();-1<d.inArray(b,c)?a.theme(b):0<c.length&&a.theme(c[0])}else a.theme.valueHasMutated()}});a.allowCustomTheme=e.observable(!1);a.allowAdditionalAccounts=e.observable(!1);a.allowIdentities=e.observable(!1);a.determineUserLanguage=e.observable(!1);a.messagesPerPage=e.observable(n.Defaults.MessagesPerPage);a.mainMessagesPerPage=a.messagesPerPage;a.mainMessagesPerPage=e.computed({read:a.messagesPerPage,write:function(b){-1<
|
||||
d.inArray(d.pInt(b),n.Defaults.MessagesPerPageArray)?b!==a.messagesPerPage()&&a.messagesPerPage(b):a.messagesPerPage.valueHasMutated()}});a.facebookEnable=e.observable(!1);a.facebookAppID=e.observable("");a.facebookAppSecret=e.observable("");a.twitterEnable=e.observable(!1);a.twitterConsumerKey=e.observable("");a.twitterConsumerSecret=e.observable("");a.googleEnable=e.observable(!1);a.googleClientID=e.observable("");a.googleClientSecret=e.observable("");a.dropboxEnable=e.observable(!1);a.dropboxApiKey=
|
||||
e.observable("");a.contactsIsSupported=e.observable(!1);a.contactsIsAllowed=e.observable(!1)};d.createMomentDate=function(a){return e.computed(function(){m.minuteTick();return this.moment().fromNow()},a)};d.createMomentShortDate=function(a){return e.computed(function(){var a="",a=da(),c=this.moment(),k=this.momentDate();return a=4>=a.diff(c,"hours")?k:a.format("L")===c.format("L")?d.i18n("MESSAGE_LIST/TODAY_AT",{TIME:c.format("LT")}):a.clone().subtract("days",1).format("L")===c.format("L")?d.i18n("MESSAGE_LIST/YESTERDAY_IN",
|
||||
{TIME:c.format("LT")}):a.year()===c.year()?c.format("D MMM."):c.format("LL")},a)};d.isFolderExpanded=function(a){var b=f.local().get(g.ClientSideKeyName.ExpandedFolders);return i.isArray(b)&&-1!==i.indexOf(b,a)};d.setExpandedFolder=function(a,b){var c=f.local().get(g.ClientSideKeyName.ExpandedFolders);i.isArray(c)||(c=[]);b?(c.push(a),c=i.uniq(c)):c=i.without(c,a);f.local().set(g.ClientSideKeyName.ExpandedFolders,c)};d.initLayoutResizer=function(a,b,c,d,e,g,w,l){var d=d||300,e=e||500,g=g||e-d/2,w=
|
||||
w||300,h=0,q=j(a),gb=j(b),r=j(c),b=f.local().get(l)||g,H=function(a,b,c){if(b||c)a=r.width(),b=b?100*(b.size.width/a):null,null===b&&c&&(b=100*(q.width()/a)),null!==b&&(q.css({width:"",height:"",right:""+(100-b)+"%"}),gb.css({width:"",height:"",left:""+b+"%"}))};b&&q.width(b);h=r.width()-w;h=e>h?h:e;q.resizable({minWidth:d,maxWidth:h,handles:"e",resize:H,stop:H});H(null,null,!0);R.resize(i.throttle(function(b,c){c&&(c.element&&c.element[0].id&&"#"+c.element[0].id===""+a)&&(h=r.width()-w,h=e>h?h:e,
|
||||
q.resizable("option","maxWidth",h),c.size&&c.size.width&&f.local().set(l,c.size.width),H(null,null,!0))},400))};d.initBlockquoteSwitcher=function(a){if(a){var b=j("blockquote:not(.rl-bq-switcher)",a).filter(function(){return 0===j(this).parent().closest("blockquote",a).length});b&&0<b.length&&b.each(function(){var a=j(this),b=a.height();if(0===b||100<b)a.addClass("rl-bq-switcher hidden-bq"),j('<span class="rlBlockquoteSwitcher"><i class="icon-ellipsis" /></span>').insertBefore(a).click(function(){a.toggleClass("hidden-bq");
|
||||
d.windowResize()}).after("<br />").before("<br />")})}};d.removeBlockquoteSwitcher=function(a){a&&(j(a).find("blockquote.rl-bq-switcher").each(function(){j(this).removeClass("rl-bq-switcher hidden-bq")}),j(a).find(".rlBlockquoteSwitcher").each(function(){j(this).remove()}))};d.extendAsViewModel=function(a,b){b&&(b.__name=a,y.regViewModelHook(a,b),i.extend(b.prototype,D.prototype))};d.addSettingsViewModel=function(a,b,c,d,f){a.__rlSettingsData={Label:c,Template:b,Route:d,IsDefault:!!f};V.settings.push(a)};
|
||||
d.removeSettingsViewModel=function(a){V["settings-removed"].push(a)};d.disableSettingsViewModel=function(a){V["settings-disabled"].push(a)};d.convertThemeName=function(a){return d.trim(a.replace(/[^a-zA-Z]/g," ").replace(/([A-Z])/g," $1").replace(/[\s]+/g," "))};d.quoteName=function(a){return a.replace(/["]/g,'\\"')};d.microtime=function(){return(new Date).getTime()};d.convertLangName=function(a){return d.i18n("LANGS_NAMES/LANG_"+a.toUpperCase().replace(/[^a-zA-Z0-9]+/,"_"),null,a)};d.fakeMd5=function(a){for(var b=
|
||||
"",a=d.isUnd(a)?32:d.pInt(a);b.length<a;)b+="0123456789abcdefghijklmnopqrstuvwxyz".substr(h.Math.round(36*h.Math.random()),1);return b};d.convertPlainTextToHtml=function(a){return a.toString().replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/\r/g,"").replace(/\n/g,"<br />")};d.draggeblePlace=function(){return j('<div class="draggablePlace"><span class="text"></span> <i class="icon-envelope icon-white"></i></div>').appendTo("#rl-hidden")};d.defautOptionsAfterRender=function(a,
|
||||
b){b&&!d.isUnd(b.disable)&&e.applyBindingsToNode(a,{disable:b.disable},b)};d.windowPopupKnockout=function(a,b,c,k){var f=null,e=h.open(""),g="__OpenerApplyBindingsUid"+d.fakeMd5()+"__",l=j("#"+b);h[g]=function(){if(e&&e.document.body&&l&&l[0]){var b=j(e.document.body);j("#rl-content",b).html(l.html());j("html",e.document).addClass("external "+j("html").attr("class"));d.i18nToNode(b);F.prototype.applyExternal(a,j("#rl-content",b)[0]);h[g]=null;k(e)}};e.document.open();e.document.write('<html><head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><meta name="viewport" content="user-scalable=no" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="robots" content="noindex, nofollow, noodp" /><title>'+
|
||||
d.encodeHtml(c)+'</title></head><body><div id="rl-content"></div></body></html>');e.document.close();f=e.document.createElement("script");f.type="text/javascript";f.innerHTML="if(window&&window.opener&&window.opener['"+g+"']){window.opener['"+g+"']();window.opener['"+g+"']=null}";e.document.getElementsByTagName("head")[0].appendChild(f)};d.settingsSaveHelperFunction=function(a,b,c,k){c=c||null;k=d.isUnd(k)?1E3:d.pInt(k);return function(d,f,e,l,h){b.call(c,f&&f.Result?g.SaveSettingsStep.TrueResult:
|
||||
g.SaveSettingsStep.FalseResult);a&&a.call(c,d,f,e,l,h);i.delay(function(){b.call(c,g.SaveSettingsStep.Idle)},k)}};d.settingsSaveHelperSimpleFunction=function(a,b){return d.settingsSaveHelperFunction(null,a,b,1E3)};d.resizeAndCrop=function(a,b,c){var d=new Image;d.onload=function(){var a=[0,0],d=document.createElement("canvas"),k=d.getContext("2d");d.width=b;d.height=b;a=this.width>this.height?[this.width-this.height,0]:[0,this.height-this.width];k.fillStyle="#fff";k.fillRect(0,0,b,b);k.drawImage(this,
|
||||
a[0]/2,a[1]/2,this.width-a[0],this.height-a[1],0,0,b,b);c(d.toDataURL("image/jpeg"))};d.src=a};ma={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",urlsafe_encode:function(a){return ma.encode(a).replace(/[+]/g,"-").replace(/[\/]/g,"_").replace(/[=]/g,".")},encode:function(a){for(var b="",c,d,f,e,g,l,i=0,a=ma._utf8_encode(a);i<a.length;)c=a.charCodeAt(i++),d=a.charCodeAt(i++),f=a.charCodeAt(i++),e=c>>2,c=(c&3)<<4|d>>4,g=(d&15)<<2|f>>6,l=f&63,isNaN(d)?g=l=64:isNaN(f)&&(l=
|
||||
64),b=b+this._keyStr.charAt(e)+this._keyStr.charAt(c)+this._keyStr.charAt(g)+this._keyStr.charAt(l);return b},decode:function(a){for(var b="",c,d,f,e,g,l=0,a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<a.length;)c=this._keyStr.indexOf(a.charAt(l++)),d=this._keyStr.indexOf(a.charAt(l++)),e=this._keyStr.indexOf(a.charAt(l++)),g=this._keyStr.indexOf(a.charAt(l++)),c=c<<2|d>>4,d=(d&15)<<4|e>>2,f=(e&3)<<6|g,b+=String.fromCharCode(c),64!==e&&(b+=String.fromCharCode(d)),64!==g&&(b+=String.fromCharCode(f));return ma._utf8_decode(b)},
|
||||
_utf8_encode:function(a){for(var a=a.replace(/\r\n/g,"\n"),b="",c=0,d=a.length,f=0;c<d;c++)f=a.charCodeAt(c),128>f?b+=String.fromCharCode(f):(127<f&&2048>f?b+=String.fromCharCode(f>>6|192):(b+=String.fromCharCode(f>>12|224),b+=String.fromCharCode(f>>6&63|128)),b+=String.fromCharCode(f&63|128));return b},_utf8_decode:function(a){for(var b="",c=0,d=0,f=0,e=0;c<a.length;)d=a.charCodeAt(c),128>d?(b+=String.fromCharCode(d),c++):191<d&&224>d?(f=a.charCodeAt(c+1),b+=String.fromCharCode((d&31)<<6|f&63),c+=
|
||||
2):(f=a.charCodeAt(c+1),e=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(f&63)<<6|e&63),c+=3);return b}};e.bindingHandlers.tooltip={init:function(a,b){if(!m.bMobileDevice){var c=j(a).data("tooltip-class")||"",k=j(a).data("tooltip-placement")||"top";j(a).tooltip({delay:{show:500,hide:100},html:!0,placement:k,trigger:"hover",title:function(){return'<span class="tooltip-class '+c+'">'+d.i18n(e.utils.unwrapObservable(b()))+"</span>"}})}}};e.bindingHandlers.tooltip2={init:function(a,b){var c=j(a).data("tooltip-class")||
|
||||
"",d=j(a).data("tooltip-placement")||"top";j(a).tooltip({delay:{show:500,hide:100},html:!0,placement:d,title:function(){return'<span class="tooltip-class '+c+'">'+b()()+"</span>"}})}};e.bindingHandlers.dropdown={init:function(a){j(a).closest(".dropdown").on("click",".e-item",function(){j(a).dropdown("toggle")})}};e.bindingHandlers.popover={init:function(a,b){j(a).popover(e.utils.unwrapObservable(b()))}};e.bindingHandlers.resizecrop={init:function(a){j(a).addClass("resizecrop").resizecrop({width:"100",
|
||||
height:"100",wrapperCSS:{"border-radius":"10px"}})},update:function(a,b){b()();j(a).resizecrop({width:"100",height:"100"})}};e.bindingHandlers.onEnter={init:function(a,b,c,d){j(a).on("keypress",function(c){c&&13===h.parseInt(c.keyCode,10)&&(j(a).trigger("change"),b().call(d))})}};e.bindingHandlers.onEsc={init:function(a,b,c,d){j(a).on("keypress",function(c){c&&27===h.parseInt(c.keyCode,10)&&(j(a).trigger("change"),b().call(d))})}};e.bindingHandlers.modal={init:function(a,b){j(a).modal({keyboard:!1,
|
||||
show:e.utils.unwrapObservable(b())}).on("hidden",function(){b()(!1)})},update:function(a,b){var c=e.utils.unwrapObservable(b());j(a).modal(c?"show":"hide");i.delay(function(){j(a).toggleClass("popup-active",c)},1)}};e.bindingHandlers.i18nInit={init:function(a){d.i18nToNode(a)}};e.bindingHandlers.i18nUpdate={update:function(a,b){e.utils.unwrapObservable(b());d.i18nToNode(a)}};e.bindingHandlers.link={update:function(a,b){j(a).attr("href",e.utils.unwrapObservable(b()))}};e.bindingHandlers.title={update:function(a,
|
||||
b){j(a).attr("title",e.utils.unwrapObservable(b()))}};e.bindingHandlers.textF={init:function(a,b){j(a).text(e.utils.unwrapObservable(b()))}};e.bindingHandlers.initDom={init:function(a,b){b()(a)}};e.bindingHandlers.initResizeTrigger={init:function(a,b){var c=e.utils.unwrapObservable(b());j(a).css({height:c[1],"min-height":c[1]})},update:function(a,b){var c=e.utils.unwrapObservable(b()),k=d.pInt(c[1]),f=0,f=j(a).offset().top;0<f&&(f+=d.pInt(c[2]),f=R.height()-f,k<f&&(k=f),j(a).css({height:k,"min-height":k}))}};
|
||||
e.bindingHandlers.appendDom={update:function(a,b){j(a).hide().empty().append(e.utils.unwrapObservable(b())).show()}};e.bindingHandlers.draggable={init:function(a,b,c){if(!m.bMobileDevice){var k=(c=c())&&c.droppableSelector?c.droppableSelector:"",c={distance:20,handle:".dragHandle",cursorAt:{top:22,left:3},refreshPositions:!0,scroll:!0};k&&(c.drag=function(a){j(k).each(function(){var b=null,c=null,k=j(this),c=k.offset(),b=c.top+k.height();h.clearInterval(k.data("timerScroll"));k.data("timerScroll",
|
||||
!1);if(a.pageX>=c.left&&a.pageX<=c.left+k.width()&&(a.pageY>=b-100&&a.pageY<=b&&(b=function(){k.scrollTop(k.scrollTop()+3);d.windowResize()},k.data("timerScroll",h.setInterval(b,10)),b()),a.pageY>=c.top&&a.pageY<=c.top+100))c=function(){k.scrollTop(k.scrollTop()-3);d.windowResize()},k.data("timerScroll",h.setInterval(c,10)),c()})},c.stop=function(){j(k).each(function(){h.clearInterval(j(this).data("timerScroll"));j(this).data("timerScroll",!1)})});c.helper=function(a){return b()(a&&a.target?e.dataFor(a.target):
|
||||
null)};j(a).draggable(c).on("mousedown",function(){d.removeInFocus()})}}};e.bindingHandlers.droppable={init:function(a,b,c){if(!m.bMobileDevice){var d=b(),f=(b=c())&&b.droppableOver?b.droppableOver:null,e=b&&b.droppableOut?b.droppableOut:null,b={tolerance:"pointer",hoverClass:"droppableHover"};d&&(b.drop=function(a,b){d(a,b)},f&&(b.over=function(a,b){f(a,b)}),e&&(b.out=function(a,b){e(a,b)}),j(a).droppable(b))}}};e.bindingHandlers.nano={init:function(a){m.bDisableNanoScroll||j(a).addClass("nano").nanoScroller({iOSNativeScrolling:!1,
|
||||
preventPageScrolling:!0})}};e.bindingHandlers.saveTrigger={init:function(a){j(a).append(' <i class="icon-spinner-2 animated"></i><i class="icon-remove error"></i><i class="icon-ok success"></i>').addClass("settings-saved-trigger")},update:function(a,b){var c=e.utils.unwrapObservable(b()),d=j(a);switch(c.toString()){case "1":d.find(".animated,.error").hide().removeClass("visible").end().find(".success").show().addClass("visible");break;case "0":d.find(".animated,.success").hide().removeClass("visible").end().find(".error").show().addClass("visible");
|
||||
break;case "-2":d.find(".error,.success").hide().removeClass("visible").end().find(".animated").show().addClass("visible");break;default:d.find(".animated").hide().end().find(".error,.success").removeClass("visible")}}};e.bindingHandlers.select2={init:function(a,b){var c=0,k=null,g=new h.RegExp(/[a-zA-Z0-9\.\-_]+@[a-zA-Z0-9\.\-_]+/),t=new h.RegExp(/(.+) [<]?([^\s<@]+@[a-zA-Z0-9\.\-_]+)[>]?/),w=function(){return""},l=function(a){f.getAutocomplete(a.term,a.page,function(b,c){a.callback({more:!!c,results:i.map(b,
|
||||
function(a){var b=a.toLine(!1);return{id:b,text:b,c:a}})})})};j(a).addClass("ko-select2").select2({query:function(a){a&&(0===c?(l(a),c=h.setTimeout(d.emptyFunction,100)):(h.clearInterval(c),c=h.setTimeout(function(){l(a)},100)))},formatSelection:function(a,b){var c=a&&a.c?a.c.select2Selection(b):a.text;if(null!==c)return c},formatResult:function(a,b,c,d){b=a&&a.c?a.c.select2Result(b):"";return""===b?d(a.text):b},createSearchChoice:function(a,b){return 0===b.length&&g.test(a)?{id:a,text:a}:null},formatNoMatches:w,
|
||||
formatSearching:function(){return d.i18n("SUGGESTIONS/SEARCHING_DESC")},formatInputTooShort:w,formatSelectionTooBig:w,multiple:!0,tokenSeparators:[",",";"],minimumInputLength:2,selectOnBlur:!1,closeOnSelect:!0,openOnEnter:!1});e.utils.domNodeDisposal.addDisposeCallback(a,function(){j(a).select2("destroy")});j(a).on("change",function(){for(var a=j(this).select2("data"),c=0,f=a.length,e=null,g=[];c<f;c++)if((e=a[c])&&e.id)e.c||(e.c=new G,(k=t.exec(d.trim(e.id)))&&!d.isUnd(k[2])?(e.c.name=k[1],e.c.email=
|
||||
k[2]):e.c.email=e.id),g.push(e.c);b()(g)})},update:function(a,b){for(var c=e.utils.unwrapObservable(b()),d=0,f=c.length,g=null,w="",l=[];d<f;d++)g=c[d],w=g.toLine(!1),l.push({id:w,text:w,c:g});j(a).select2("data",l)}};e.bindingHandlers.command={init:function(a,b,c,d){var f=j(a),g=b();if(!g||!g.enabled||!g.canExecute)throw Error("You are not using command function");f.addClass("command");e.bindingHandlers[f.is("form")?"submit":"click"].init.apply(d,arguments)},update:function(a,b){var c=!0,d=j(a),
|
||||
f=b(),c=f.enabled();d.toggleClass("command-not-enabled",!c);c&&(c=f.canExecute(),d.toggleClass("command-can-not-be-execute",!c));d.toggleClass("command-disabled disable disabled",!c);(d.is("input")||d.is("button"))&&d.prop("disabled",!c)}};e.extenders.trimmer=function(a){var b=e.computed({read:a,write:function(b){a(d.trim(b.toString()))},owner:this});b(a());return b};e.extenders.reversible=function(a){var b=a();a.commit=function(){b=a()};a.reverse=function(){a(b)};a.commitedValue=function(){return b};
|
||||
return a};e.extenders.toggleSubscribe=function(a,b){a.subscribe(b[1],b[0],"beforeChange");a.subscribe(b[2],b[0]);return a};e.extenders.falseTimeout=function(a,b){a.iTimeout=0;a.subscribe(function(c){c&&(h.clearTimeout(a.iTimeout),a.iTimeout=h.setTimeout(function(){a(!1);a.iTimeout=0},d.pInt(b)))});return a};e.observable.fn.validateEmail=function(){this.hasError=e.observable(!1);this.subscribe(function(a){a=d.trim(a);this.hasError(""!==a&&!/^[^@\s]+@[^@\s]+$/.test(a))},this);this.valueHasMutated();
|
||||
return this};e.observable.fn.validateSimpleEmail=function(){this.hasError=e.observable(!1);this.subscribe(function(a){a=d.trim(a);this.hasError(""!==a&&!/^.+@.+$/.test(a))},this);this.valueHasMutated();return this};e.observable.fn.validateFunc=function(a){this.hasFuncError=e.observable(!1);d.isFunc(a)&&(this.subscribe(function(b){this.hasFuncError(!a(b))},this),this.valueHasMutated());return this};C.prototype.root=function(){return this.sBase};C.prototype.attachmentDownload=function(a){return this.sServer+
|
||||
"/Raw/"+this.sSpecSuffix+"/Download/"+a};C.prototype.attachmentPreview=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/View/"+a};C.prototype.attachmentPreviewAsPlain=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/ViewAsPlain/"+a};C.prototype.upload=function(){return this.sServer+"/Upload/"+this.sSpecSuffix+"/"};C.prototype.uploadBackground=function(){return this.sServer+"/UploadBackground/"+this.sSpecSuffix+"/"};C.prototype.append=function(){return this.sServer+"/Append/"+this.sSpecSuffix+
|
||||
"/"};C.prototype.change=function(a){return this.sServer+"/Change/"+this.sSpecSuffix+"/"+h.encodeURIComponent(a)+"/"};C.prototype.ajax=function(a){return this.sServer+"/Ajax/"+this.sSpecSuffix+"/"+a};C.prototype.messageViewLink=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/ViewAsPlain/"+a};C.prototype.messageDownloadLink=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/Download/"+a};C.prototype.inbox=function(){return this.sBase+"mailbox/Inbox"};C.prototype.settings=function(a){var b=
|
||||
this.sBase+"settings";!d.isUnd(a)&&""!==a&&(b+="/"+a);return b};C.prototype.admin=function(a){var b=this.sBase;switch(a){case "AdminDomains":b+="domains";break;case "AdminSecurity":b+="security";break;case "AdminLicensing":b+="licensing"}return b};C.prototype.mailBox=function(a,b,c){var b=d.isNormal(b)?d.pInt(b):1,c=d.pString(c),f=this.sBase+"mailbox/";""!==a&&(f+=encodeURI(a));1<b&&(f=f.replace(/[\/]+$/,""),f+="/p"+b);""!==c&&(f=f.replace(/[\/]+$/,""),f+="/"+encodeURI(c));return f};C.prototype.phpInfo=
|
||||
function(){return this.sServer+"Info"};C.prototype.langLink=function(a){return this.sServer+"/Lang/0/"+encodeURI(a)+"/"+this.sVersion+"/"};C.prototype.getUserPicUrlFromHash=function(a){return this.sServer+"/Raw/"+this.sSpecSuffix+"/UserPic/"+a+"/"+this.sVersion+"/"};C.prototype.emptyContactPic=function(){return(""===this.sCdnStaticDomain?"rainloop/v/":this.sCdnStaticDomain)+this.sVersion+"/static/css/images/empty-contact.png"};C.prototype.sound=function(a){return(""===this.sCdnStaticDomain?"rainloop/v/":
|
||||
this.sCdnStaticDomain)+this.sVersion+"/static/sounds/"+a};C.prototype.themePreviewLink=function(a){return(""===this.sCdnStaticDomain?"rainloop/v/":this.sCdnStaticDomain)+this.sVersion+"/themes/"+encodeURI(a)+"/images/preview.png"};C.prototype.notificationMailIcon=function(){return(""===this.sCdnStaticDomain?"rainloop/v/":this.sCdnStaticDomain)+this.sVersion+"/static/css/images/icom-message-notification.png"};C.prototype.socialGoogle=function(){return this.sServer+"SocialGoogle"+(""!==this.sSpecSuffix?
|
||||
"/"+this.sSpecSuffix+"/":"")};C.prototype.socialTwitter=function(){return this.sServer+"SocialTwitter"+(""!==this.sSpecSuffix?"/"+this.sSpecSuffix+"/":"")};C.prototype.socialFacebook=function(){return this.sServer+"SocialFacebook"+(""!==this.sSpecSuffix?"/"+this.sSpecSuffix+"/":"")};y.oViewModelsHooks={};y.oSimpleHooks={};y.regViewModelHook=function(a,b){b&&(b.__hookName=a)};y.addHook=function(a,b){d.isFunc(b)&&(d.isArray(y.oSimpleHooks[a])||(y.oSimpleHooks[a]=[]),y.oSimpleHooks[a].push(b))};y.runHook=
|
||||
function(a,b){d.isArray(y.oSimpleHooks[a])&&(b=b||[],i.each(y.oSimpleHooks[a],function(a){a.apply(null,b)}))};y.mainSettingsGet=function(a){return f?f.settingsGet(a):null};y.remoteRequest=function(a,b,c,d,e,g){f&&f.remote().defaultRequest(a,b,c,d,e,g)};y.settingsGet=function(a,b){var c=y.mainSettingsGet("Plugins");return(c=c&&d.isUnd(c[a])?null:c[a])?d.isUnd(c[b])?null:c[b]:null};u.prototype.initLanguage=function(a,b,c){this.oOptions.LangSwitcherConferm=a;this.oOptions.LangSwitcherTextLabel=b;this.oOptions.LangSwitcherHtmlLabel=
|
||||
c};u.prototype.execCom=function(a,b,c){h.document&&(h.document.execCommand(a,b||!1,c||null),this.updateTextArea())};u.prototype.getEditorSelection=function(){var a=null;h.getSelection?a=h.getSelection():h.document.getSelection?a=h.document.getSelection():h.document.selection&&(a=h.document.selection);return a};u.prototype.getEditorRange=function(){var a=this.getEditorSelection();return!a||0===a.rangeCount?null:a.getRangeAt?a.getRangeAt(0):a.createRange()};u.prototype.ec=function(a,b,c){this.execCom(a,
|
||||
b,c)};u.prototype.heading=function(a){this.ec("formatblock",!1,this.bIe?"Heading "+a:"h"+a)};u.prototype.insertImage=function(a){this.isHtml()&&!this.bOnlyPlain&&(this.htmlarea.focus(),this.ec("insertImage",!1,a))};u.prototype.focus=function(){this.isHtml()&&!this.bOnlyPlain?this.htmlarea.focus():this.textarea.focus()};u.prototype.setcolor=function(a,b){var c=null,c="";this.bIe&&!document.addEventListener?(c=this.getEditorRange())&&c.execCommand("forecolor"===a?"ForeColor":"BackColor",!1,b):(c=this.bIe?
|
||||
"forecolor"===a?"ForeColor":"BackColor":"forecolor"===a?"foreColor":"backColor",this.ec(c,!1,b))};u.prototype.isHtml=function(){return!0===this.bOnlyPlain?!1:this.textarea.is(":hidden")};u.prototype.toHtmlString=function(){return this.editor.innerHTML};u.prototype.toString=function(){return this.editor.innerText};u.prototype.updateTextArea=function(){this.textarea.val(this.toHtmlString())};u.prototype.updateHtmlArea=function(){this.editor.innerHTML=this.textarea.val()};u.prototype.setRawText=function(a,
|
||||
b){b&&!this.bOnlyPlain?(this.isHtml()||(this.textarea.val(""),this.switchToHtml()),this.textarea.val(a.toString()),this.updateHtmlArea()):(this.textarea.val(a.toString()),this.updateHtmlArea(),this.switchToPlain(!1))};u.prototype.clear=function(){this.textarea.val("");this.editor.innerHTML="";this.bOnlyPlain?(this.toolbar.hide(),this.switchToPlain(!1)):this.switchToHtml()};u.prototype.getTextForRequest=function(){this.isHtml()&&this.updateTextArea();return this.textarea.val()};u.prototype.getTextFromHtml=
|
||||
function(a){var b="",c=function(){if(arguments&&1<arguments.length){var a=d.trim(arguments[1]).replace(/__bq__start__([\s\S\n\r]*)__bq__end__/gm,c),a="\n> "+d.trim(a).replace(/\n/gm,"\n> ")+"\n>\n";return a.replace(/\n([> ]+)/gm,function(){return arguments&&1<arguments.length?"\n"+d.trim(arguments[1].replace(/[\s]/,""))+" ":""})}return""},f=function(){if(arguments&&1<arguments.length){var a=d.trim(arguments[1]);0<a.length&&(a=a.replace(/<div[^>]*>([\s\S]*)<\/div>/gmi,f),a="\n"+d.trim(a)+"\n");return a}return""},
|
||||
a=d.isUnd(a)?!0:!!a,b=this.toHtmlString().replace(/[\s]+/gm," ").replace(/<br\s?\/?>/gmi,"\n").replace(/<\/h\d>/gi,"\n").replace(/<\/p>/gi,"\n\n").replace(/<\/li>/gi,"\n").replace(/<\/td>/gi,"\n").replace(/<\/tr>/gi,"\n").replace(/<hr[^>]*>/gmi,"\n_______________________________\n\n").replace(/<img [^>]*>/gmi,"").replace(/<div[^>]*>([\s\S]*)<\/div>/gmi,f).replace(/<blockquote[^>]*>/gmi,"\n__bq__start__\n").replace(/<\/blockquote>/gmi,"\n__bq__end__\n").replace(/<a [^>]*>([\s\S]*?)<\/a>/gmi,function(){return arguments&&
|
||||
1<arguments.length?d.trim(arguments[1]):""}).replace(/ /gi," ").replace(/<[^>]*>/gm,"").replace(/>/gi,">").replace(/</gi,"<").replace(/&/gi,"&").replace(/&\w{2,6};/gi,"");return(a?d.splitPlainText(b):b).replace(/\n[ \t]+/gm,"\n").replace(/[\n]{3,}/gm,"\n\n").replace(/__bq__start__([\s\S]*)__bq__end__/gm,c).replace(/__bq__start__/gm,"").replace(/__bq__end__/gm,"")};u.prototype.getHtmlFromText=function(){return d.convertPlainTextToHtml(this.textarea.val())};u.prototype.switchToggle=function(){this.isHtml()?
|
||||
this.switchToPlain():this.switchToHtml()};u.prototype.switchToPlain=function(a){var a=d.isUnd(a)?!0:a,b=this.getTextFromHtml(),c=i.bind(function(a){a&&(this.toolbar.addClass("editorHideToolbar"),j(".editorSwitcher",this.toolbar).text(this.switcherLinkText(!1)),this.textarea.val(b),this.textarea.show(),this.htmlarea.hide(),this.fOnSwitch&&this.fOnSwitch(!1))},this);!a||0===d.trim(b).length?c(!0):c(h.confirm(this.oOptions.LangSwitcherConferm))};u.prototype.switcherLinkText=function(a){return a?this.oOptions.LangSwitcherTextLabel:
|
||||
this.oOptions.LangSwitcherHtmlLabel};u.prototype.switchToHtml=function(){this.toolbar.removeClass("editorHideToolbar");j(".editorSwitcher",this.toolbar).text(this.switcherLinkText(!0));this.textarea.val(this.getHtmlFromText());this.updateHtmlArea();this.textarea.hide();this.htmlarea.show();this.fOnSwitch&&this.fOnSwitch(!0)};u.prototype.addButton=function(a,b){var c=this;j("<div />").addClass("editorToolbarButtom").append(j('<a tabindex="-1" href="javascript:void(0);"></a>').addClass(a)).attr("title",
|
||||
b).click(function(b){d.isUnd(u.htmlFunctions[a])?h.alert(a):u.htmlFunctions[a].apply(c,[j(this),b])}).appendTo(this.toolbar)};u.htmlInitToolbar=function(){if(!this.bOnlyPlain){this.addButton("bold","Bold");this.addButton("italic","Italic");this.addButton("underline","Underline");this.addButton("strikethrough","Strikethrough");this.addButton("removeformat","removeformat");this.addButton("justifyleft","justifyleft");this.addButton("justifycenter","justifycenter");this.addButton("justifyright","justifyright");
|
||||
this.addButton("horizontalrule","horizontalrule");this.addButton("orderedlist","orderedlist");this.addButton("unorderedlist","unorderedlist");this.addButton("indent","indent");this.addButton("outdent","outdent");this.addButton("forecolor","forecolor");var a=this;j("<span />").addClass("editorSwitcher").text(a.switcherLinkText(!0)).click(function(){a.switchToggle()}).appendTo(a.toolbar)}};u.htmlInitEditor=function(){this.editor=this.htmlarea[0];this.editor.innerHTML=this.textarea.val()};u.htmlAttachEditorEvents=
|
||||
function(){var a=this,b=function(b){if(b=(b&&b.originalEvent?b.originalEvent:b)||h.event){b.stopPropagation();b.preventDefault();var c=null,d=null;if((b=b.files||(b.dataTransfer?b.dataTransfer.files:null))&&1===b.length&&b[0]&&b[0].type&&0===b[0].type.indexOf("image/")){var d=b[0],c=new h.FileReader,f=d;c.onload=function(b){a.insertImage(b.target.result,f.name)};c.readAsDataURL(d)}}a.htmlarea.removeClass("editorDragOver")},c=function(){a.htmlarea.removeClass("editorDragOver")},d=function(b){b.stopPropagation();
|
||||
b.preventDefault();a.htmlarea.addClass("editorDragOver")},f=function(b){(b=b&&b.clipboardData?b.clipboardData:b&&b.originalEvent&&b.originalEvent.clipboardData?b.originalEvent.clipboardData:null)&&b.items&&i.each(b.items,function(b){if(b&&(b.type&&0===b.type.indexOf("image/"))&&b.getAsFile){var c=null,d=b.getAsFile();d&&(c=new h.FileReader,c.onload=function(b){a.insertImage(b.target.result,d.name)},c.readAsDataURL(d))}})};!this.bOnlyPlain&&(h.File&&h.FileReader&&h.FileList)&&(this.htmlarea.bind("dragover",
|
||||
d),this.htmlarea.bind("dragleave",c),this.htmlarea.bind("drop",b),this.htmlarea.bind("paste",f))};for(var hb=u,ra=[],Ya=[],Y=0,Ja=0,Ka=0,La=0,Ma="",Y=0;256>Y;Y+=85)Ma=Y.toString(16),ra.push(1===Ma.length?"0"+Ma:Ma);La=ra.length;for(Y=0;Y<La;Y++)for(Ja=0;Ja<La;Ja++)for(Ka=0;Ka<La;Ka++)Ya.push("#"+ra[Y]+""+ra[Ja]+""+ra[Ka]);hb.htmlColorPickerColors=Ya;var ib=u,Za=j(h.document),$a=!1,sa=j('<div style="position: absolute;" class="editorFontStylePicker"><div class="editorFpFonts"></div></div>'),ab=sa.find(".editorFpFonts"),
|
||||
bb=function(){};j.each("Arial;Arial Black;Courier New;Tahoma;Times New Roman;Verdana".split(";"),function(a,b){ab.append(j('<a href="javascript:void(0);" tabindex="-1" class="editorFpFont" style="font-family: '+b+';">'+b+"</a>").click(function(){bb(b)}));ab.append("<br />")});sa.hide();ib.htmlFontPicker=function(a,b,c){$a||(sa.appendTo(c),$a=!0);bb=b;Za.unbind("click.fpNamespace");h.setTimeout(function(){Za.one("click.fpNamespace",function(){sa.hide()})},500);b=j(a).position();sa.css("top",5+b.top+
|
||||
j(a).height()+"px").css("left",b.left+"px").show()};var jb=u,cb=j(h.document),db=!1,ta=j('<div style="position: absolute;" class="editorColorPicker"><div class="editorCpColors"></div></div>'),eb=ta.find(".editorCpColors"),fb=function(){};j.each(u.htmlColorPickerColors,function(a,b){eb.append('<a href="javascript:void(0);" tabindex="-1" class="editorCpColor" style="background-color: '+b+';"></a>')});ta.hide();j(".editorCpColor",eb).click(function(a){var b=1,c="#000000",a=j(a.target).css("background-color"),
|
||||
c=a.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(null!==c){for(delete c[0];3>=b;++b)c[b]=d.pInt(c[b]).toString(16),1===c[b].length&&(c[b]="0"+c[b]);c="#"+c.join("")}else c=a;fb(c)});jb.htmlColorPicker=function(a,b,c){db||(ta.appendTo(c),db=!0);c=j(a).position();fb=b;cb.unbind("click.cpNamespace");h.setTimeout(function(){cb.one("click.cpNamespace",function(){ta.hide()})},100);ta.css("top",5+c.top+j(a).height()+"px").css("left",c.left+"px").show()};u.htmlFunctions={bold:function(){this.ec("bold")},
|
||||
italic:function(){this.ec("italic")},underline:function(){this.ec("underline")},strikethrough:function(){this.ec("strikethrough")},indent:function(){this.ec("indent")},outdent:function(){this.ec("outdent")},justifyleft:function(){this.ec("justifyLeft")},justifycenter:function(){this.ec("justifyCenter")},justifyright:function(){this.ec("justifyRight")},horizontalrule:function(){this.ec("insertHorizontalRule",!1,"ht")},removeformat:function(){this.ec("removeFormat")},orderedlist:function(){this.ec("insertorderedlist")},
|
||||
unorderedlist:function(){this.ec("insertunorderedlist")},forecolor:function(a){u.htmlColorPicker(a,i.bind(function(a){this.setcolor("forecolor",a)},this),this.toolbar)},backcolor:function(a){u.htmlColorPicker(a,i.bind(function(a){this.setcolor("backcolor",a)},this),this.toolbar)},fontname:function(a){u.htmlFontPicker(a,i.bind(function(a){this.ec("fontname",!1,a)},this),this.toolbar)}};M.prototype.selectItemCallbacks=function(a){(this.oCallbacks.onItemSelect||this.emptyFunction)(a)};M.prototype.init=
|
||||
function(a,b){this.oContentVisible=a;this.oContentScrollable=b;if(this.oContentVisible&&this.oContentScrollable){var c=this;j(this.oContentVisible).on("click",this.sItemSelector,function(a){c.actionClick(e.dataFor(this),a)}).on("click",this.sItemCheckedSelector,function(a){var b=e.dataFor(this);b&&(a&&a.shiftKey?c.actionClick(b,a):(c.sLastUid=c.getItemUid(b),b.selected()?(b.checked(!1),c.selectedItem(null)):b.checked(!b.checked())))});j(h.document).on("keydown",function(a){var b=!0;if(a&&c.bUseKeyboard&&
|
||||
!d.inFocus())if(-1<d.inArray(a.keyCode,[g.EventKeyCode.Up,g.EventKeyCode.Down,g.EventKeyCode.Insert,g.EventKeyCode.Home,g.EventKeyCode.End,g.EventKeyCode.PageUp,g.EventKeyCode.PageDown]))c.newSelectPosition(a.keyCode,a.shiftKey),b=!1;else if(g.EventKeyCode.Delete===a.keyCode&&!a.ctrlKey&&!a.shiftKey){if(c.oCallbacks.onDelete)c.oCallbacks.onDelete();b=!1}return b})}};M.prototype.selectByUid=function(a,b){this.useItemSelectCallback=b=d.isUnd(b)?!0:!!b;var c=i.find(this.list(),function(b){return a===
|
||||
this.getItemUid(b)},this);c&&this.selectedItem(c);this.useItemSelectCallback=!0};M.prototype.useKeyboard=function(a){this.bUseKeyboard=!!a};M.prototype.getItemUid=function(a){var b="",c=this.oCallbacks.onItemGetUid||null;c&&a&&(b=c(a));return b.toString()};M.prototype.newSelectPosition=function(a,b){var c=this,d=0,f=!1,e=!1,w=null,l=this.list(),j=l?l.length:0,q=this.selectedItem();if(0<j)if(q){if(q)if(g.EventKeyCode.Down===a||g.EventKeyCode.Up===a||g.EventKeyCode.Insert===a)i.each(l,function(b){if(!e)switch(a){case g.EventKeyCode.Up:q===
|
||||
b?e=!0:w=b;break;case g.EventKeyCode.Down:case g.EventKeyCode.Insert:f?(w=b,e=!0):q===b&&(f=!0)}});else if(g.EventKeyCode.Home===a||g.EventKeyCode.End===a)g.EventKeyCode.Home===a?w=l[0]:g.EventKeyCode.End===a&&(w=l[l.length-1]);else if(g.EventKeyCode.PageDown===a)for(;d<j;d++){if(q===l[d]){d+=10;d=j-1<d?j-1:d;w=l[d];break}}else if(g.EventKeyCode.PageUp===a)for(d=j;0<=d;d--)if(q===l[d]){d-=10;d=0>d?0:d;w=l[d];break}}else if(g.EventKeyCode.Down===a||g.EventKeyCode.Insert===a||g.EventKeyCode.Home===
|
||||
a||g.EventKeyCode.PageUp===a)w=l[0];else if(g.EventKeyCode.Up===a||g.EventKeyCode.End===a||g.EventKeyCode.PageDown===a)w=l[l.length-1];w?(q&&(b?(g.EventKeyCode.Up===a||g.EventKeyCode.Down===a)&&q.checked(!q.checked()):g.EventKeyCode.Insert===a&&q.checked(!q.checked())),this.throttleSelection=!0,this.selectedItem(w),this.throttleSelection=!0,0!==this.iSelectTimer?(h.clearTimeout(this.iSelectTimer),this.iSelectTimer=h.setTimeout(function(){c.iSelectTimer=0;c.actionClick(w)},1E3)):(this.iSelectTimer=
|
||||
h.setTimeout(function(){c.iSelectTimer=0},200),this.actionClick(w)),this.scrollToSelected()):q&&(b&&(g.EventKeyCode.Up===a||g.EventKeyCode.Down===a)?q.checked(!q.checked()):g.EventKeyCode.Insert===a&&q.checked(!q.checked()))};M.prototype.scrollToSelected=function(){if(!this.oContentVisible||!this.oContentScrollable)return!1;var a=j(this.sItemSelectedSelector,this.oContentScrollable),b=a.position(),c=this.oContentVisible.height(),a=a.outerHeight();return b&&(0>b.top||b.top+a>c)?(0>b.top?this.oContentScrollable.scrollTop(this.oContentScrollable.scrollTop()+
|
||||
b.top-20):this.oContentScrollable.scrollTop(this.oContentScrollable.scrollTop()+b.top-c+a+20),!0):!1};M.prototype.eventClickFunction=function(a,b){var c=this.getItemUid(a),d=0,f=0,e=null,g="",l=!1,i=!1,h=[],j=!1;if(b&&b.shiftKey&&""!==c&&""!==this.sLastUid&&c!==this.sLastUid){h=this.list();j=a.checked();d=0;for(f=h.length;d<f;d++){e=h[d];g=this.getItemUid(e);l=!1;if(g===this.sLastUid||g===c)l=!0;l&&(i=!i);(i||l)&&e.checked(j)}}this.sLastUid=""===c?"":c};M.prototype.actionClick=function(a,b){if(a){var c=
|
||||
!0,d=this.getItemUid(a);b&&(b.shiftKey?(c=!1,""===this.sLastUid&&(this.sLastUid=d),a.checked(!a.checked()),this.eventClickFunction(a,b)):b.ctrlKey&&(c=!1,this.sLastUid=d,a.checked(!a.checked())));c&&(this.selectedItem(a),this.sLastUid=d)}};M.prototype.on=function(a,b){this.oCallbacks[a]=b};va.supported=function(){return!0};va.prototype.set=function(a,b){var c=j.cookie(n.Values.ClientSideCookieIndexName),d=!1,f=null;try{(f=null===c?null:JSON.parse(c))||(f={}),f[a]=b,j.cookie(n.Values.ClientSideCookieIndexName,
|
||||
JSON.stringify(f),{expires:30}),d=!0}catch(e){}return d};va.prototype.get=function(a){var b=j.cookie(n.Values.ClientSideCookieIndexName),c=null;try{c=(c=null===b?null:JSON.parse(b))&&!d.isUnd(c[a])?c[a]:null}catch(f){}return c};wa.supported=function(){return!!h.localStorage};wa.prototype.set=function(a,b){var c=h.localStorage[n.Values.ClientSideCookieIndexName]||null,d=!1,f=null;try{(f=null===c?null:JSON.parse(c))||(f={}),f[a]=b,h.localStorage[n.Values.ClientSideCookieIndexName]=JSON.stringify(f),
|
||||
d=!0}catch(e){}return d};wa.prototype.get=function(a){var b=h.localStorage[n.Values.ClientSideCookieIndexName]||null,c=null;try{c=(c=null===b?null:JSON.parse(b))&&!d.isUnd(c[a])?c[a]:null}catch(f){}return c};xa.prototype.oDriver=null;xa.prototype.set=function(a,b){return this.oDriver?this.oDriver.set("p"+a,b):!1};xa.prototype.get=function(a){return this.oDriver?this.oDriver.get("p"+a):null};Ua.prototype.bootstart=function(){};D.prototype.sPosition="";D.prototype.sTemplate="";D.prototype.viewModelName=
|
||||
"";D.prototype.viewModelDom=null;D.prototype.viewModelTemplate=function(){return this.sTemplate};D.prototype.viewModelPosition=function(){return this.sPosition};D.prototype.cancelCommand=D.prototype.closeCommand=function(){};L.prototype.oCross=null;L.prototype.sScreenName="";L.prototype.aViewModels=[];L.prototype.viewModels=function(){return this.aViewModels};L.prototype.screenName=function(){return this.sScreenName};L.prototype.routes=function(){return null};L.prototype.__cross=function(){return this.oCross};
|
||||
L.prototype.__start=function(){var a=this.routes(),b=null,c=null;d.isNonEmptyArray(a)&&(c=i.bind(this.onRoute||d.emptyFunction,this),b=Ta.create(),i.each(a,function(a){b.addRoute(a[0],c).rules=a[1]}),this.oCross=b)};F.prototype.sDefaultScreenName="";F.prototype.oScreens={};F.prototype.oBoot=null;F.prototype.oCurrentScreen=null;F.prototype.showLoading=function(){j("#rl-loading").show()};F.prototype.hideLoading=function(){j("#rl-loading").hide()};F.prototype.routeOff=function(){P.changed.active=!1};
|
||||
F.prototype.routeOn=function(){P.changed.active=!0};F.prototype.setBoot=function(a){d.isNormal(a)&&(this.oBoot=a);return this};F.prototype.screen=function(a){return""!==a&&!d.isUnd(this.oScreens[a])?this.oScreens[a]:null};F.prototype.delegateRun=function(a,b,c){a&&a[b]&&a[b].apply(a,d.isArray(c)?c:[])};F.prototype.buildViewModel=function(a,b){if(a&&!a.__builded){var c=new a(b),k=c.viewModelPosition(),g=j("#rl-content #rl-"+k.toLowerCase()),t=null;a.__builded=!0;a.__vm=c;c.data=f.data();c.viewModelName=
|
||||
a.__name;g&&1===g.length?(t=j("<div>").addClass("rl-view-model").addClass("RL-"+c.viewModelTemplate()).hide().attr("data-bind",'template: {name: "'+c.viewModelTemplate()+'"}, i18nInit: true'),t.appendTo(g),c.viewModelDom=t,a.__dom=t,"Popups"===k&&(c.cancelCommand=c.closeCommand=d.createCommand(c,function(){o.hideScreenPopup(a)})),y.runHook("view-model-pre-build",[a.__name,c,t]),e.applyBindings(c,t[0]),this.delegateRun(c,"onBuild",[t]),y.runHook("view-model-post-build",[a.__name,c,t])):d.log("Cannot find view model position: "+
|
||||
k)}return a?a.__vm:null};F.prototype.applyExternal=function(a,b){a&&b&&e.applyBindings(a,b)};F.prototype.hideScreenPopup=function(a){a&&(a.__vm&&a.__dom)&&(a.__dom.hide(),a.__vm.modalVisibility(!1),this.delegateRun(a.__vm,"onHide"),this.popupVisibility(!1),i.defer(function(){a.__dom.find(".ko-select2").select2("close")}))};F.prototype.showScreenPopup=function(a,b){a&&(this.buildViewModel(a),a.__vm&&a.__dom&&(a.__dom.show(),a.__vm.modalVisibility(!0),this.delegateRun(a.__vm,"onShow",b||[]),this.popupVisibility(!0),
|
||||
y.runHook("view-model-on-show",[a.__name,a.__vm,b||[]])))};F.prototype.screenOnRoute=function(a,b){var c=this,f=null,e=null;""===d.pString(a)&&(a=this.sDefaultScreenName);if(""!==a){f=this.screen(a);if(!f&&(f=this.screen(this.sDefaultScreenName)))b=a+"/"+b,a=this.sDefaultScreenName;f&&f.__started&&(f.__builded||(f.__builded=!0,d.isNonEmptyArray(f.viewModels())&&i.each(f.viewModels(),function(a){this.buildViewModel(a,f)},this),this.delegateRun(f,"onBuild")),i.defer(function(){if(c.oCurrentScreen){c.delegateRun(c.oCurrentScreen,
|
||||
"onHide");d.isNonEmptyArray(c.oCurrentScreen.viewModels())&&i.each(c.oCurrentScreen.viewModels(),function(a){if(a.__vm&&a.__dom&&"Popups"!==a.__vm.viewModelPosition()){a.__dom.hide();a.__vm.viewModelVisibility(false);c.delegateRun(a.__vm,"onHide")}})}c.oCurrentScreen=f;if(c.oCurrentScreen){c.delegateRun(c.oCurrentScreen,"onShow");y.runHook("screen-on-show",[c.oCurrentScreen.screenName(),c.oCurrentScreen]);d.isNonEmptyArray(c.oCurrentScreen.viewModels())&&i.each(c.oCurrentScreen.viewModels(),function(a){if(a.__vm&&
|
||||
a.__dom&&"Popups"!==a.__vm.viewModelPosition()){a.__dom.show();a.__vm.viewModelVisibility(true);c.delegateRun(a.__vm,"onShow");y.runHook("view-model-on-show",[a.__name,a.__vm])}},c)}(e=f.__cross())&&e.parse(b)}))}};F.prototype.startScreens=function(a){i.each(a,function(a){var c=(a=new a)?a.screenName():"";a&&""!==c&&(""===this.sDefaultScreenName&&(this.sDefaultScreenName=c),this.oScreens[c]=a)},this);i.each(this.oScreens,function(a){a&&(!a.__started&&a.__start)&&(a.__started=!0,a.__start(),y.runHook("screen-pre-start",
|
||||
[a.screenName(),a]),this.delegateRun(a,"onStart"),y.runHook("screen-post-start",[a.screenName(),a]))},this);a=Ta.create();a.addRoute(/^([a-zA-Z0-9\-]*)\/?(.*)$/,i.bind(this.screenOnRoute,this));P.initialized.add(a.parse,a);P.changed.add(a.parse,a);P.init()};F.prototype.setHash=function(a,b,c){a="#"===a.substr(0,1)?a.substr(1):a;a="/"===a.substr(0,1)?a.substr(1):a;c=d.isUnd(c)?!1:!!c;(d.isUnd(b)?0:b)?(P.changed.active=!1,P[c?"replaceHash":"setHash"](a),P.changed.active=!0):(P.changed.active=!0,P[c?
|
||||
"replaceHash":"setHash"](a),P.setHash(a))};F.prototype.bootstart=function(){this.oBoot&&this.oBoot.bootstart&&this.oBoot.bootstart();return this};o=new F;G.newInstanceFromJson=function(a){var b=new G;return b.initByJson(a)?b:null};G.prototype.name="";G.prototype.email="";G.prototype.privateType=null;G.prototype.validate=function(){return""!==this.name||""!==this.email};G.prototype.hash=function(a){return"#"+(a?"":this.name)+"#"+this.email+"#"};G.prototype.clearDuplicateName=function(){this.name===
|
||||
this.email&&(this.name="")};G.prototype.type=function(){if(null===this.privateType&&(this.email&&"@facebook.com"===this.email.substr(-13)&&(this.privateType=g.EmailType.Facebook),null===this.privateType))this.privateType=g.EmailType.Default;return this.privateType};G.prototype.search=function(a){return-1<(this.name+" "+this.email).toLowerCase().indexOf(a.toLowerCase())};G.prototype.parse=function(a){var a=d.trim(a),b=/(?:"([^"]+)")? ?<?(.*?@[^>,]+)>?,? ?/g.exec(a);b?(this.name=b[1]||"",this.email=
|
||||
b[2]||"",this.clearDuplicateName()):/^[^@]+@[^@]+$/.test(a)&&(this.name="",this.email=a)};G.prototype.initByJson=function(a){var b=!1;a&&"Object/Email"===a["@Object"]&&(this.name=d.trim(a.Name),this.email=d.trim(a.Email),b=""!==this.email,this.clearDuplicateName());return b};G.prototype.toLine=function(a,b){var c="";""!==this.email&&(b=d.isUnd(b)?!1:!!b,a&&""!==this.name?c=b?'<a href="mailto:'+d.encodeHtml('"'+this.name+'" <'+this.email+">")+'" target="_blank" tabindex="-1">'+d.encodeHtml(this.name)+
|
||||
"</a>":this.name:(c=this.email,""!==this.name?c=b?d.encodeHtml('"'+this.name+'" <')+'<a href="mailto:'+d.encodeHtml('"'+this.name+'" <'+this.email+">")+'" target="_blank" tabindex="-1">'+d.encodeHtml(c)+"</a>"+d.encodeHtml(">"):'"'+this.name+'" <'+c+">":b&&(c='<a href="mailto:'+d.encodeHtml(this.email)+'" target="_blank" tabindex="-1">'+d.encodeHtml(this.email)+"</a>")));return c};G.prototype.select2Result=function(){var a="",b=f.cache().getUserPic(this.email),a=""!==b?a+('<img class="select2-user-pic pull-left" src="'+
|
||||
d.encodeHtml(b)+'" />'):a+('<img class="select2-user-pic pull-left" src="'+f.link().emptyContactPic()+'" />');g.EmailType.Facebook===this.type()?(a+=""+(0<this.name.length?this.name:this.email),a+='<i class="icon-facebook pull-right select2-icon-result" />'):a+=""+(0<this.name.length?this.email+' <span class="select2-subname">('+this.name+")</span>":this.email);return a+""};G.prototype.select2Selection=function(a){var b="";if(g.EmailType.Facebook===this.type()){if(b=0<this.name.length?this.name:this.email,
|
||||
""!==b)return j("<pan>").text(b).appendTo(a),a.append('<i class="icon-facebook select2-icon"></i>'),null}else b=0<this.name.length?this.name+" ("+this.email+")":this.email;return b};oa.prototype.parse=function(a){var b=!1;a&&"Object/Contact"===a["@Object"]&&(this.idContact=d.pInt(a.IdContact),this.listName=d.pString(a.ListName),this.name=d.pString(a.Name),this.emails=d.isNonEmptyArray(a.Emails)?a.Emails:[],this.imageHash=d.pString(a.ImageHash),b=!0);return b};oa.prototype.srcAttr=function(){return""===
|
||||
this.imageHash?f.link().emptyContactPic():f.link().getUserPicUrlFromHash(this.imageHash)};oa.prototype.generateUid=function(){return""+this.idContact};oa.prototype.lineAsCcc=function(){var a=[];this.deleted()&&a.push("deleted");this.selected()&&a.push("selected");this.checked()&&a.push("checked");return a.join(" ")};E.newInstanceFromJson=function(a){var b=new E;return b.initByJson(a)?b:null};E.prototype.mimeType="";E.prototype.fileName="";E.prototype.estimatedSize=0;E.prototype.friendlySize="";E.prototype.isInline=
|
||||
!1;E.prototype.isLinked=!1;E.prototype.cid="";E.prototype.cidWithOutTags="";E.prototype.contentLocation="";E.prototype.download="";E.prototype.folder="";E.prototype.uid="";E.prototype.mimeIndex="";E.prototype.initByJson=function(a){var b=!1;a&&"Object/Attachment"===a["@Object"]&&(this.mimeType=a.MimeType,this.fileName=a.FileName,this.estimatedSize=d.pInt(a.EstimatedSize),this.isInline=!!a.IsInline,this.isLinked=!!a.IsLinked,this.cid=a.CID,this.contentLocation=a.ContentLocation,this.download=a.Download,
|
||||
this.folder=a.Folder,this.uid=a.Uid,this.mimeIndex=a.MimeIndex,this.friendlySize=d.friendlySize(this.estimatedSize),this.cidWithOutTags=this.cid.replace(/^<+/,"").replace(/>+$/,""),b=!0);return b};E.prototype.isImage=function(){return-1<d.inArray(this.mimeType.toLowerCase(),["image/png","image/jpg","image/jpeg","image/gif"])};E.prototype.isText=function(){return"text/"===this.mimeType.substr(0,5)};E.prototype.linkDownload=function(){return f.link().attachmentDownload(this.download)};E.prototype.linkPreview=
|
||||
function(){return f.link().attachmentPreview(this.download)};E.prototype.linkPreviewAsPlain=function(){return f.link().attachmentPreviewAsPlain(this.download)};E.prototype.generateTransferDownloadUrl=function(){var a=this.linkDownload();"http"!==a.substr(0,4)&&(a=h.location.protocol+"//"+h.location.host+h.location.pathname+a);return this.mimeType+":"+this.fileName+":"+a};E.prototype.eventDragStart=function(a,b){var c=b.originalEvent||b;a&&(c&&c.dataTransfer&&c.dataTransfer.setData)&&c.dataTransfer.setData("DownloadURL",
|
||||
this.generateTransferDownloadUrl());return!0};E.prototype.iconClass=function(){var a=this.mimeType.toLocaleString().split("/"),b="icon-file";a&&a[1]&&("image"===a[0]?b="icon-image":"text"===a[0]?b="icon-file-xml":"audio"===a[0]?b="icon-music":"video"===a[0]?b="icon-film":-1<d.inArray(a[1],"zip 7z tar rar gzip bzip bzip2 x-zip x-7z x-rar x-tar x-gzip x-bzip x-bzip2 x-zip-compressed x-7z-compressed x-rar-compressed".split(" "))?b="icon-file-zip":-1<d.inArray(a[1],["pdf","x-pdf"])?b="icon-file-pdf":
|
||||
-1<d.inArray(a[1],["exe","x-exe","x-winexe","bat"])?b="icon-console":-1<d.inArray(a[1],"rtf msword vnd.msword vnd.openxmlformats-officedocument.wordprocessingml.document vnd.openxmlformats-officedocument.wordprocessingml.template vnd.ms-word.document.macroEnabled.12 vnd.ms-word.template.macroEnabled.12".split(" "))?b="icon-file-word":-1<d.inArray(a[1],"excel ms-excel vnd.ms-excel vnd.openxmlformats-officedocument.spreadsheetml.sheet vnd.openxmlformats-officedocument.spreadsheetml.template vnd.ms-excel.sheet.macroEnabled.12 vnd.ms-excel.template.macroEnabled.12 vnd.ms-excel.addin.macroEnabled.12 vnd.ms-excel.sheet.binary.macroEnabled.12".split(" "))?
|
||||
b="icon-file-excel":-1<d.inArray(a[1],"powerpoint ms-powerpoint vnd.ms-powerpoint vnd.openxmlformats-officedocument.presentationml.presentation vnd.openxmlformats-officedocument.presentationml.template vnd.openxmlformats-officedocument.presentationml.slideshow vnd.ms-powerpoint.addin.macroEnabled.12 vnd.ms-powerpoint.presentation.macroEnabled.12 vnd.ms-powerpoint.template.macroEnabled.12 vnd.ms-powerpoint.slideshow.macroEnabled.12".split(" "))&&(b="icon-file-powerpoint"));return b};N.prototype.id=
|
||||
"";N.prototype.isInline=!1;N.prototype.isLinked=!1;N.prototype.CID="";N.prototype.contentLocation="";N.prototype.fromMessage=!1;N.prototype.cancel=d.emptyFunction;N.prototype.initByUploadJson=function(a){var b=!1;a&&(this.fileName(a.Name),this.size(d.isUnd(a.Size)?0:d.pInt(a.Size)),this.tempName(d.isUnd(a.TempName)?"":a.TempName),this.isInline=!1,b=!0);return b};p.newInstanceFromJson=function(a){var b=new p;return b.initByJson(a)?b:null};p.calculateFullFromatDateValue=function(a){return da.unix(a).format("LLL")};
|
||||
p.emailsToLine=function(a,b,c){var f=[],e=0,g=0;if(d.isNonEmptyArray(a)){e=0;for(g=a.length;e<g;e++)f.push(a[e].toLine(b,c))}return f.join(", ")};p.initEmailsFromJson=function(a){var b=0,c=0,f=null,e=[];if(d.isNonEmptyArray(a)){b=0;for(c=a.length;b<c;b++)(f=G.newInstanceFromJson(a[b]))&&e.push(f)}return e};p.replyHelper=function(a,b,c){if(a&&0<a.length)for(var f=0,e=a.length;f<e;f++)d.isUnd(b[a[f].email])&&(b[a[f].email]=!0,c.push(a[f]))};p.prototype.initByJson=function(a){var b=!1;a&&"Object/Message"===
|
||||
a["@Object"]&&(this.folderFullNameRaw=a.Folder,this.uid=a.Uid,this.requestHash=a.RequestHash,this.prefetched=!1,this.size(d.pInt(a.Size)),this.from=p.initEmailsFromJson(a.From),this.to=p.initEmailsFromJson(a.To),this.cc=p.initEmailsFromJson(a.Cc),this.bcc=p.initEmailsFromJson(a.Bcc),this.replyTo=p.initEmailsFromJson(a.ReplyTo),this.subject(a.Subject),this.dateTimeStampInUTC(d.pInt(a.DateTimeStampInUTC)),this.hasAttachments(!!a.HasAttachments),this.attachmentsMainType(a.AttachmentsMainType),this.fromEmailString(p.emailsToLine(this.from,
|
||||
!0)),this.toEmailsString(p.emailsToLine(this.to,!0)),this.parentUid(d.pInt(a.ParentThread)),this.threads(d.isArray(a.Threads)?a.Threads:[]),this.threadsLen(d.pInt(a.ThreadsLen)),this.initFlagsByJson(a),this.computeSenderEmail(),b=!0);return b};p.prototype.computeSenderEmail=function(){var a=f.data().sentFolder(),b=f.data().draftFolder();this.senderEmailsString(this.folderFullNameRaw===a||this.folderFullNameRaw===b?this.toEmailsString():this.fromEmailString())};p.prototype.initUpdateByMessageJson=
|
||||
function(a){var b=!1,c=g.MessagePriority.Normal;a&&"Object/Message"===a["@Object"]&&(c=d.pInt(a.Priority),this.priority(-1<d.inArray(c,[g.MessagePriority.High,g.MessagePriority.Low])?c:g.MessagePriority.Normal),this.aDraftInfo=a.DraftInfo,this.sMessageId=a.MessageId,this.sInReplyTo=a.InReplyTo,this.sReferences=a.References,this.hasAttachments(!!a.HasAttachments),this.attachmentsMainType(a.AttachmentsMainType),this.foundedCIDs=d.isArray(a.FoundedCIDs)?a.FoundedCIDs:[],this.attachments(this.initAttachmentsFromJson(a.Attachments)),
|
||||
this.computeSenderEmail(),b=!0);return b};p.prototype.initAttachmentsFromJson=function(a){var b=0,c=0,f=null,e=[];if(a&&"Collection/AttachmentCollection"===a["@Object"]&&d.isNonEmptyArray(a["@Collection"])){b=0;for(c=a["@Collection"].length;b<c;b++)if(f=E.newInstanceFromJson(a["@Collection"][b]))""!==f.cidWithOutTags&&(0<this.foundedCIDs.length&&0<=d.inArray(f.cidWithOutTags,this.foundedCIDs))&&(f.isLinked=!0),e.push(f)}return e};p.prototype.initFlagsByJson=function(a){var b=!1;a&&"Object/Message"===
|
||||
a["@Object"]&&(this.unseen(!a.IsSeen),this.flagged(!!a.IsFlagged),this.answered(!!a.IsAnswered),this.forwarded(!!a.IsForwarded),b=!0);return b};p.prototype.fromToLine=function(a,b){return p.emailsToLine(this.from,a,b)};p.prototype.toToLine=function(a,b){return p.emailsToLine(this.to,a,b)};p.prototype.ccToLine=function(a,b){return p.emailsToLine(this.cc,a,b)};p.prototype.bccToLine=function(a,b){return p.emailsToLine(this.bcc,a,b)};p.prototype.lineAsCcc=function(){var a=[];this.deleted()&&a.push("deleted");
|
||||
this.selected()&&a.push("selected");this.checked()&&a.push("checked");this.flagged()&&a.push("flagged");this.unseen()&&a.push("unseen");this.answered()&&a.push("answered");this.forwarded()&&a.push("forwarded");if(this.hasAttachments())switch(a.push("withAttachments"),this.attachmentsMainType()){case "image":a.push("imageOnlyAttachments");break;case "archive":a.push("archiveOnlyAttachments")}this.newForAnimation()&&a.push("new");""===this.subject()&&a.push("emptySubject");0<this.parentUid()&&a.push("hasParentMessage");
|
||||
0<this.threadsLen()&&0===this.parentUid()&&a.push("hasChildrenMessage");this.hasUnseenSubMessage()&&a.push("hasUnseenSubMessage");this.hasFlaggedSubMessage()&&a.push("hasFlaggedSubMessage");return a.join(" ")};p.prototype.hasVisibleAttachments=function(){return!!i.find(this.attachments(),function(a){return!a.isLinked})};p.prototype.findAttachmentByCid=function(a){var b=null,c=this.attachments();d.isNonEmptyArray(c)&&(a=a.replace(/^<+/,"").replace(/>+$/,""),b=i.find(c,function(b){return a===b.cidWithOutTags}));
|
||||
return b||null};p.prototype.findAttachmentByContentLocation=function(a){var b=null,c=this.attachments();d.isNonEmptyArray(c)&&(b=i.find(c,function(b){return a===b.contentLocation}));return b||null};p.prototype.messageId=function(){return this.sMessageId};p.prototype.inReplyTo=function(){return this.sInReplyTo};p.prototype.references=function(){return this.sReferences};p.prototype.fromAsSingleEmail=function(){return d.isArray(this.from)&&this.from[0]?this.from[0].email:""};p.prototype.viewLink=function(){return f.link().messageViewLink(this.requestHash)};
|
||||
p.prototype.downloadLink=function(){return f.link().messageDownloadLink(this.requestHash)};p.prototype.replyEmails=function(a){var b=[],a=d.isUnd(a)?{}:a;p.replyHelper(this.replyTo,a,b);0===b.length&&p.replyHelper(this.from,a,b);return b};p.prototype.replyAllEmails=function(a){var b=[],c=[],a=d.isUnd(a)?{}:a;p.replyHelper(this.replyTo,a,b);0===b.length&&p.replyHelper(this.from,a,b);p.replyHelper(this.to,a,b);p.replyHelper(this.cc,a,c);return[b,c]};p.prototype.textBodyToString=function(){return this.body?
|
||||
this.body.html():""};p.prototype.attachmentsToStringLine=function(){var a=i.map(this.attachments(),function(a){return a.fileName+" ("+a.friendlySize+")"});return a&&0<a.length?a.join(", "):""};p.prototype.getDataForWindowPopup=function(){return{popupFrom:this.fromToLine(!1),popupTo:this.toToLine(!1),popupCc:this.ccToLine(!1),popupBcc:this.bccToLine(!1),popupSubject:this.subject(),popupDate:this.fullFormatDateValue(),popupAttachments:this.attachmentsToStringLine(),popupBody:this.textBodyToString()}};
|
||||
p.prototype.viewPopupMessage=function(a){d.windowPopupKnockout(this.getDataForWindowPopup(),"PopupsWindowSimpleMessage",this.subject(),function(b){b&&(b.document&&b.document.body)&&(j("img.lazy",b.document.body).each(function(a,b){var d=j(b),f=d.data("original"),e=d.attr("src");0<=a&&(f&&!e)&&d.attr("src",f)}),a&&h.setTimeout(function(){b.print()},100))})};p.prototype.printMessage=function(){this.viewPopupMessage(!0)};p.prototype.generateUid=function(){return this.folderFullNameRaw+"/"+this.uid};
|
||||
p.prototype.populateByMessageListItem=function(a){this.folderFullNameRaw=a.folderFullNameRaw;this.uid=a.uid;this.requestHash=a.requestHash;this.subject(a.subject());this.size(a.size());this.dateTimeStampInUTC(a.dateTimeStampInUTC());this.priority(a.priority());this.fromEmailString(a.fromEmailString());this.toEmailsString(a.toEmailsString());this.emails=a.emails;this.from=a.from;this.to=a.to;this.cc=a.cc;this.bcc=a.bcc;this.replyTo=a.replyTo;this.unseen(a.unseen());this.flagged(a.flagged());this.answered(a.answered());
|
||||
this.forwarded(a.forwarded());this.selected(a.selected());this.checked(a.checked());this.hasAttachments(a.hasAttachments());this.attachmentsMainType(a.attachmentsMainType());this.moment(a.moment());this.body=null;this.priority(g.MessagePriority.Normal);this.aDraftInfo=[];this.sReferences=this.sInReplyTo=this.sMessageId="";this.parentUid(a.parentUid());this.threads(a.threads());this.threadsLen(a.threadsLen());this.computeSenderEmail();return this};p.prototype.showExternalImages=function(a){this.body&&
|
||||
this.body.data("rl-has-images")&&(a=d.isUnd(a)?!1:a,this.hasImages(!1),this.body.data("rl-has-images",!1),j("[data-x-src]",this.body).each(function(){a&&j(this).is("img")?j(this).addClass("lazy").attr("data-original",j(this).attr("data-x-src")).removeAttr("data-x-src"):j(this).attr("src",j(this).attr("data-x-src")).removeAttr("data-x-src")}),j("[data-x-style-url]",this.body).each(function(){var a=d.trim(j(this).attr("style")),a=""===a?"":";"===a.substr(-1)?a+" ":a+"; ";j(this).attr("style",a+j(this).attr("data-x-style-url")).removeAttr("data-x-style-url")}),
|
||||
a&&(j("img.lazy",this.body).addClass("lazy-inited").lazyload({threshold:400,effect:"fadeIn",skip_invisible:!1,container:j(".RL-MailMessageView .messageView .messageItem .content")[0]}),R.resize()),d.windowResize(500))};p.prototype.showInternalImages=function(a){if(this.body&&!this.body.data("rl-init-internal-images")){var a=d.isUnd(a)?!1:a,b=this;this.body.data("rl-init-internal-images",!0);j("[data-x-src-cid]",this.body).each(function(){var c=b.findAttachmentByCid(j(this).attr("data-x-src-cid"));
|
||||
c&&c.download&&(a&&j(this).is("img")?j(this).addClass("lazy").attr("data-original",c.linkPreview()):j(this).attr("src",c.linkPreview()))});j("[data-x-src-location]",this.body).each(function(){var c=b.findAttachmentByContentLocation(j(this).attr("data-x-src-location"));c||(c=b.findAttachmentByCid(j(this).attr("data-x-src-location")));c&&c.download&&(a&&j(this).is("img")?j(this).addClass("lazy").attr("data-original",c.linkPreview()):j(this).attr("src",c.linkPreview()))});j("[data-x-style-cid]",this.body).each(function(){var a=
|
||||
"",c="",f=b.findAttachmentByCid(j(this).attr("data-x-style-cid"));f&&f.linkPreview&&(c=j(this).attr("data-x-style-cid-name"),""!==c&&(a=d.trim(j(this).attr("style")),a=""===a?"":";"===a.substr(-1)?a+" ":a+"; ",j(this).attr("style",a+c+": url('"+f.linkPreview()+"')")))});if(a){var c=j("img.lazy",b.body),f=j(".RL-MailMessageView .messageView .messageItem .content")[0];i.delay(function(){c.addClass("lazy-inited").lazyload({threshold:400,effect:"fadeIn",skip_invisible:!1,container:f})},300)}d.windowResize(500)}};
|
||||
I.newInstanceFromJson=function(a){var b=new I;return b.initByJson(a)?b.initComputed():null};I.prototype.initComputed=function(){this.hasSubScribedSubfolders=e.computed(function(){return!!i.find(this.subFolders(),function(a){return a.subScribed()})},this);this.visible=e.computed(function(){var a=this.subScribed(),b=this.hasSubScribedSubfolders();return a||b&&(!this.existen||!this.selectable)},this);this.isSystemFolder=e.computed(function(){return g.FolderType.User!==this.type()},this);this.hidden=
|
||||
e.computed(function(){var a=this.isSystemFolder(),b=this.hasSubScribedSubfolders();return this.isGmailFolder||a&&this.isNamespaceFolder||a&&!b},this);this.selectableForFolderList=e.computed(function(){return!this.isSystemFolder()&&this.selectable},this);this.messageCountAll=e.computed({read:this.privateMessageCountAll,write:function(a){d.isPosNumeric(a,!0)?this.privateMessageCountAll(a):this.privateMessageCountAll.valueHasMutated()},owner:this});this.messageCountUnread=e.computed({read:this.privateMessageCountUnread,
|
||||
write:function(a){d.isPosNumeric(a,!0)?this.privateMessageCountUnread(a):this.privateMessageCountUnread.valueHasMutated()},owner:this});this.printableUnreadCount=e.computed(function(){var a=this.messageCountAll(),b=this.messageCountUnread(),c=this.type();return 0<b&&(g.FolderType.Inbox===c||g.FolderType.Spam===c)?""+b:0<a&&g.FolderType.Draft===c?""+a:""},this);this.canBeDeleted=e.computed(function(){return!this.isSystemFolder()&&0===this.subFolders().length&&"INBOX"!==this.fullNameRaw},this);this.canBeSubScribed=
|
||||
e.computed(function(){return!this.isSystemFolder()&&this.selectable&&"INBOX"!==this.fullNameRaw},this);this.visible.subscribe(function(){d.timeOutAction("folder-list-folder-visibility-change",function(){R.trigger("folder-list-folder-visibility-change")},100)});this.localName=e.computed(function(){m.langChangeTick();var a=this.type(),b=this.name();if(this.isSystemFolder())switch(a){case g.FolderType.Inbox:b=d.i18n("FOLDER_LIST/INBOX_NAME");break;case g.FolderType.SentItems:b=d.i18n("FOLDER_LIST/SENT_NAME");
|
||||
break;case g.FolderType.Draft:b=d.i18n("FOLDER_LIST/DRAFTS_NAME");break;case g.FolderType.Spam:b=d.i18n("FOLDER_LIST/SPAM_NAME");break;case g.FolderType.Trash:b=d.i18n("FOLDER_LIST/TRASH_NAME")}return b},this);this.manageFolderSystemName=e.computed(function(){m.langChangeTick();var a="",b=this.type(),c=this.name();if(this.isSystemFolder())switch(b){case g.FolderType.Inbox:a="("+d.i18n("FOLDER_LIST/INBOX_NAME")+")";break;case g.FolderType.SentItems:a="("+d.i18n("FOLDER_LIST/SENT_NAME")+")";break;case g.FolderType.Draft:a=
|
||||
"("+d.i18n("FOLDER_LIST/DRAFTS_NAME")+")";break;case g.FolderType.Spam:a="("+d.i18n("FOLDER_LIST/SPAM_NAME")+")";break;case g.FolderType.Trash:a="("+d.i18n("FOLDER_LIST/TRASH_NAME")+")"}if(""!==a&&"("+c+")"===a||"(inbox)"===a.toLowerCase())a="";return a},this);this.collapsed=e.computed({read:function(){return!this.hidden()&&this.collapsedPrivate()},write:function(a){this.collapsedPrivate(a)},owner:this});return this};I.prototype.fullName="";I.prototype.fullNameRaw="";I.prototype.fullNameHash="";I.prototype.delimiter=
|
||||
"";I.prototype.namespace="";I.prototype.deep=0;I.prototype.isNamespaceFolder=!1;I.prototype.isGmailFolder=!1;I.prototype.isUnpaddigFolder=!1;I.prototype.collapsedCss=function(){return this.hasSubScribedSubfolders()?this.collapsed()?"icon-arrow-right-3 e-collapsed-sign":"icon-arrow-down-3 e-collapsed-sign":"icon-none e-collapsed-sign"};I.prototype.initByJson=function(a){var b=!1;a&&"Object/Folder"===a["@Object"]&&(this.name(a.Name),this.delimiter=a.Delimiter,this.fullName=a.FullName,this.fullNameRaw=
|
||||
a.FullNameRaw,this.fullNameHash=a.FullNameHash,this.deep=a.FullNameRaw.split(this.delimiter).length-1,this.selectable=!!a.IsSelectable,this.existen=!!a.IsExisten,this.subScribed(!!a.IsSubscribed),this.type("INBOX"===this.fullNameRaw?g.FolderType.Inbox:g.FolderType.User),b=!0);return b};I.prototype.printableFullName=function(){return this.fullName.split(this.delimiter).join(" / ")};Na.prototype.email="";Na.prototype.changeAccountLink=function(){return f.link().change(this.email)};ya.prototype.formattedName=
|
||||
function(){var a=this.name();return""===a?this.email():a+" <"+this.email()+">"};ya.prototype.formattedNameForCompose=function(){var a=this.name();return""===a?this.email():a+" ("+this.email()+")"};ya.prototype.formattedNameForEmail=function(){var a=this.name();return""===a?this.email():'"'+d.quoteName(a)+'" <'+this.email()+">"};d.extendAsViewModel("PopupsFolderClearViewModel",za);za.prototype.clearPopup=function(){this.clearingProcess(!1);this.selectedFolder(null)};za.prototype.onShow=function(a){this.clearPopup();
|
||||
a&&this.selectedFolder(a)};d.extendAsViewModel("PopupsFolderCreateViewModel",ga);ga.prototype.sNoParentText="";ga.prototype.simpleFolderNameValidation=function(a){return/^[^\\\/]+$/g.test(d.trim(a))};ga.prototype.clearPopup=function(){this.folderName("");this.selectedParentValue("");this.focusTrigger(!1)};ga.prototype.onShow=function(){this.clearPopup();this.focusTrigger(!0)};d.extendAsViewModel("PopupsFolderSystemViewModel",aa);aa.prototype.sChooseOnText="";aa.prototype.sUnuseText="";aa.prototype.onShow=
|
||||
function(a){var b="",a=d.isUnd(a)?g.SetSystemFoldersNotification.None:a;switch(a){case g.SetSystemFoldersNotification.Sent:b=d.i18n("POPUPS_SYSTEM_FOLDERS/NOTIFICATION_SENT");break;case g.SetSystemFoldersNotification.Draft:b=d.i18n("POPUPS_SYSTEM_FOLDERS/NOTIFICATION_DRAFTS");break;case g.SetSystemFoldersNotification.Spam:b=d.i18n("POPUPS_SYSTEM_FOLDERS/NOTIFICATION_SPAM");break;case g.SetSystemFoldersNotification.Trash:b=d.i18n("POPUPS_SYSTEM_FOLDERS/NOTIFICATION_TRASH")}this.notification(b)};d.extendAsViewModel("PopupsComposeViewModel",
|
||||
z);z.prototype.selectIdentity=function(a){a&&this.currentIdentityID(a.optValue)};z.prototype.formattedFrom=function(a){var b=f.data().displayName(),c=f.data().accountEmail();return""===b?c:(d.isUnd(a)?0:a)?'"'+d.quoteName(b)+'" <'+c+">":b+" ("+c+")"};z.prototype.sendMessageResponse=function(a,b){var c=!1;this.sending(!1);g.StorageResultType.Success===a&&(b&&b.Result)&&(c=!0,this.modalVisibility()&&o.delegateRun(this,"closeCommand"));this.modalVisibility()&&!c&&(b&&g.Notification.CantSaveMessage===
|
||||
b.ErrorCode?(this.sendSuccessButSaveError(!0),h.alert(d.trim(d.i18n("COMPOSE/SAVED_ERROR_ON_SEND")))):(this.sendError(!0),h.alert(d.getNotification(b.ErrorCode?b.ErrorCode:g.Notification.CantSendMessage))))};z.prototype.saveMessageResponse=function(a,b){var c=!1,e=null;this.saving(!1);if(g.StorageResultType.Success===a&&(b&&b.Result)&&(b.Result.NewFolder&&b.Result.NewUid)&&(this.bFromDraft&&(e=f.data().message())&&(this.draftFolder()===e.folderFullNameRaw&&this.draftUid()===e.uid)&&f.data().message(null),
|
||||
this.draftFolder(b.Result.NewFolder),this.draftUid(b.Result.NewUid),this.draftID(b.Result.NewID),this.modalVisibility()))this.savedTime(h.Math.round((new h.Date).getTime()/1E3)),this.savedOrSendingText(0<this.savedTime()?d.i18n("COMPOSE/SAVED_TIME",{TIME:da.unix(this.savedTime()-1).format("LT")}):""),c=!0,this.bFromDraft&&f.cache().setFolderHash(this.draftFolder(),"");!this.modalVisibility()&&!c&&(this.savedError(!0),this.savedOrSendingText(d.getNotification(g.Notification.CantSaveMessage)))};z.prototype.onHide=
|
||||
function(){o.routeOn()};z.prototype.onShow=function(a,b,c){o.routeOff();var e=this,Z="",t="",w="",l="",h="",q=null,l=q="",m=[],Z={},l=f.data().accountEmail(),r=[],r=t=null,m=!1,a=a||g.ComposeType.Empty;(b=b||null)&&d.isNormal(b)&&(r=d.isArray(b)&&1===b.length?b[0]:!d.isArray(b)?b:null);null!==l&&(Z[l]=!0,this.currentIdentityID(l));this.reset();d.isNonEmptyArray(c)&&this.to(c);if(""!==a&&r){l=r.fullFormatDateValue();h=r.subject();t=r.aDraftInfo;q=j(r.body).clone();d.removeBlockquoteSwitcher(q);q=q.html();
|
||||
switch(a){case g.ComposeType.Reply:this.to(r.replyEmails(Z));this.subject(d.replySubjectAdd("Re",h));this.prepearMessageAttachments(r,a);this.aDraftInfo=["reply",r.uid,r.folderFullNameRaw];this.sInReplyTo=r.sMessageId;this.sReferences=d.trim(this.sInReplyTo+" "+r.sReferences);m=!0;break;case g.ComposeType.ReplyAll:m=r.replyAllEmails(Z);this.to(m[0]);this.cc(m[1]);this.subject(d.replySubjectAdd("Re",h));this.prepearMessageAttachments(r,a);this.aDraftInfo=["reply",r.uid,r.folderFullNameRaw];this.sInReplyTo=
|
||||
r.sMessageId;this.sReferences=d.trim(this.sInReplyTo+" "+r.references());m=!0;break;case g.ComposeType.Forward:this.subject(d.replySubjectAdd("Fwd",h));this.prepearMessageAttachments(r,a);this.aDraftInfo=["forward",r.uid,r.folderFullNameRaw];this.sInReplyTo=r.sMessageId;this.sReferences=d.trim(this.sInReplyTo+" "+r.sReferences);break;case g.ComposeType.ForwardAsAttachment:this.subject(d.replySubjectAdd("Fwd",h));this.prepearMessageAttachments(r,a);this.aDraftInfo=["forward",r.uid,r.folderFullNameRaw];
|
||||
this.sInReplyTo=r.sMessageId;this.sReferences=d.trim(this.sInReplyTo+" "+r.sReferences);break;case g.ComposeType.Draft:this.to(r.to),this.cc(r.cc),this.bcc(r.bcc),this.bFromDraft=!0,this.draftFolder(r.folderFullNameRaw),this.draftUid(r.uid),this.draftID(r.messageId()),this.subject(h),this.prepearMessageAttachments(r,a),this.aDraftInfo=d.isNonEmptyArray(t)&&3===t.length?t:null,this.sInReplyTo=r.sInReplyTo,this.sReferences=r.sReferences}if(this.oEditor){switch(a){case g.ComposeType.Reply:case g.ComposeType.ReplyAll:Z=
|
||||
r.fromToLine(!1,!0);l=d.i18n("COMPOSE/REPLY_MESSAGE_TITLE",{DATETIME:l,EMAIL:Z});q="<br /><br />"+l+":<blockquote><br />"+q+"</blockquote>";break;case g.ComposeType.Forward:Z=r.fromToLine(!1,!0);t=r.toToLine(!1,!0);w=r.ccToLine(!1,!0);q="<br /><br /><br />"+d.i18n("COMPOSE/FORWARD_MESSAGE_TOP_TITLE")+"<br />"+d.i18n("COMPOSE/FORWARD_MESSAGE_TOP_FROM")+": "+Z+"<br />"+d.i18n("COMPOSE/FORWARD_MESSAGE_TOP_TO")+": "+t+(0<w.length?"<br />"+d.i18n("COMPOSE/FORWARD_MESSAGE_TOP_CC")+": "+w:"")+"<br />"+d.i18n("COMPOSE/FORWARD_MESSAGE_TOP_SENT")+
|
||||
": "+d.encodeHtml(l)+"<br />"+d.i18n("COMPOSE/FORWARD_MESSAGE_TOP_SUBJECT")+": "+d.encodeHtml(h)+"<br /><br />"+q;break;case g.ComposeType.ForwardAsAttachment:q=""}this.oEditor.setRawText(q,r.isHtml)}}else this.oEditor&&g.ComposeType.Empty===a?this.oEditor.setRawText("<br />"+d.convertPlainTextToHtml(f.data().signature()),g.EditorDefaultType.Html===f.data().editorDefaultType()):d.isNonEmptyArray(b)&&i.each(b,function(a){e.addMessageAsAttachment(a)});r=this.getAttachmentsDownloadsForUpload();d.isNonEmptyArray(r)&&
|
||||
f.remote().messageUploadAttachments(function(a,b){if(g.StorageResultType.Success===a&&b&&b.Result){var c=null,d="";if(!e.viewModelVisibility())for(d in b.Result)if(b.Result.hasOwnProperty(d))(c=e.getAttachmentById(b.Result[d]))&&c.tempName(d)}else e.setMessageAttachmentFailedDowbloadText()},r);m&&this.oEditor&&this.oEditor.focus();this.triggerForResize()};z.prototype.onBuild=function(){this.initEditor();this.initUploader();var a=this,b=null;R.on("keydown",function(b){var d=!0;b&&(a.modalVisibility()&&
|
||||
f.data().useKeyboardShortcuts())&&(b.ctrlKey&&g.EventKeyCode.S===b.keyCode?(a.saveCommand(),d=!1):b.ctrlKey&&g.EventKeyCode.Enter===b.keyCode&&(a.sendCommand(),d=!1));return d});R.on("resize",function(){a.triggerForResize()});this.dropboxEnabled()&&(b=document.createElement("script"),b.type="text/javascript",b.src="https://www.dropbox.com/static/api/1/dropins.js",j(b).attr("id","dropboxjs").attr("data-app-key",f.settingsGet("DropboxApiKey")),document.body.appendChild(b))};z.prototype.getAttachmentById=
|
||||
function(a){for(var b=this.attachments(),c=0,d=b.length;c<d;c++)if(b[c]&&a===b[c].id)return b[c];return null};z.prototype.initEditor=function(){if(this.composeEditorTextArea()&&this.composeEditorHtmlArea()&&this.composeEditorToolbar()){var a=this;this.oEditor=new u(this.composeEditorTextArea(),this.composeEditorHtmlArea(),this.composeEditorToolbar(),{onSwitch:function(b){b||a.removeLinkedAttachments()}});this.oEditor.initLanguage(d.i18n("EDITOR/TEXT_SWITCHER_CONFIRM"),d.i18n("EDITOR/TEXT_SWITCHER_PLAINT_TEXT"),
|
||||
d.i18n("EDITOR/TEXT_SWITCHER_RICH_FORMATTING"))}};z.prototype.initUploader=function(){if(this.composeUploaderButton()){var a={},b=d.pInt(f.settingsGet("AttachmentLimit")),c=new ua({action:f.link().upload(),name:"uploader",queueSize:2,multipleSizeLimit:50,disableFolderDragAndDrop:!1,clickElement:this.composeUploaderButton(),dragAndDropElement:this.composeUploaderDropPlace(),onDragEnter:i.bind(function(){this.dragAndDropOver(!0)},this),onDragLeave:i.bind(function(){this.dragAndDropOver(!1)},this),onBodyDragEnter:i.bind(function(){this.dragAndDropVisible(!0)},
|
||||
this),onBodyDragLeave:i.bind(function(){this.dragAndDropVisible(!1)},this),onProgress:i.bind(function(b,c,f){var e=null;d.isUnd(a[b])?(e=this.getAttachmentById(b))&&(a[b]=e):e=a[b];e&&e.progress(" - "+Math.floor(100*(c/f))+"%")},this),onSelect:i.bind(function(a,f){this.dragAndDropOver(!1);var e=this,g=d.isUnd(f.FileName)?"":f.FileName.toString(),l=d.isNormal(f.Size)?d.pInt(f.Size):null,g=new N(a,g,l);g.cancel=function(){e.attachments.remove(function(b){return b&&b.id===a});c&&c.cancel(a)};this.attachments.push(g);
|
||||
return 0<l&&0<b&&b<l?(g.error(d.i18n("UPLOAD/ERROR_FILE_IS_TOO_BIG")),!1):!0},this),onStart:i.bind(function(b){var c=null;d.isUnd(a[b])?(c=this.getAttachmentById(b))&&(a[b]=c):c=a[b];c&&(c.waiting(!1),c.uploading(!0))},this),onComplete:i.bind(function(b,c,f){var e="",g=null,i=null,h=this.getAttachmentById(b),i=c&&f&&f.Result&&f.Result.Attachment?f.Result.Attachment:null,g=f&&f.Result&&f.Result.ErrorCode?f.Result.ErrorCode:null;null!==g?e=d.getUploadErrorDescByCode(g):i||(e=d.i18n("UPLOAD/ERROR_UNKNOWN"));
|
||||
h&&(""!==e&&0<e.length?h.waiting(!1).uploading(!1).error(e):i&&(h.waiting(!1).uploading(!1),h.initByUploadJson(i)),d.isUnd(a[b])&&delete a[b])},this)});c?this.addAttachmentEnabled(!0).dragAndDropEnabled(c.isDragAndDropSupported()):this.addAttachmentEnabled(!1).dragAndDropEnabled(!1)}};z.prototype.prepearAttachmentsForSendOrSave=function(){var a={};i.each(this.attachmentsInReady(),function(b){b&&(""!==b.tempName()&&b.enabled())&&(a[b.tempName()]=[b.fileName(),b.isInline?"1":"0",b.CID,b.contentLocation])});
|
||||
return a};z.prototype.addMessageAsAttachment=function(a){if(a){var b=this,c=null,c=a.subject(),c=".eml"===c.substr(-4).toLowerCase()?c:c+".eml",c=new N(a.requestHash,c,a.size());c.fromMessage=!0;var d=a.requestHash;c.cancel=function(){b.attachments.remove(function(a){return a&&a.id===d})};c.waiting(!1).uploading(!0);this.attachments.push(c)}};z.prototype.addDropboxAttachment=function(a){var b=this,c=d.pInt(f.settingsGet("AttachmentLimit")),e=null,i=a.bytes,e=new N(a.link,a.name,i);e.fromMessage=!1;
|
||||
var t=a.link;e.cancel=function(){b.attachments.remove(function(a){return a&&a.id===t})};e.waiting(!1).uploading(!0);this.attachments.push(e);if(0<i&&0<c&&c<i)return e.uploading(!1),e.error(d.i18n("UPLOAD/ERROR_FILE_IS_TOO_BIG")),!1;f.remote().composeUploadExternals(function(a,b){var c=!1;e.uploading(!1);g.StorageResultType.Success===a&&(b&&b.Result)&&b.Result[e.id]&&(c=!0,e.tempName(b.Result[e.id]));c||e.error(d.getUploadErrorDescByCode(g.UploadErrorCode.FileNoUploaded))},[a.link]);return!0};z.prototype.prepearMessageAttachments=
|
||||
function(a,b){if(a){var c=this,f=d.isNonEmptyArray(a.attachments())?a.attachments():[],e=0,t=f.length,i=null,h=null,j=function(a){return function(){c.attachments.remove(function(b){return b&&b.id===a})}};if(g.ComposeType.ForwardAsAttachment===b)this.addMessageAsAttachment(a);else for(;e<t;e++)h=f[e],i=new N(h.download,h.fileName,h.estimatedSize,h.isInline,h.isLinked,h.cid,h.contentLocation),i.fromMessage=!0,i.cancel=j(h.download),i.waiting(!1).uploading(!0),this.attachments.push(i)}};z.prototype.removeLinkedAttachments=
|
||||
function(){this.attachments.remove(function(a){return a&&a.isLinked})};z.prototype.setMessageAttachmentFailedDowbloadText=function(){i.each(this.attachments(),function(a){a&&a.fromMessage&&a.waiting(!1).uploading(!1).error(d.getUploadErrorDescByCode(g.UploadErrorCode.FileNoUploaded))},this)};z.prototype.isEmptyForm=function(a){a=(a=d.isUnd(a)?!0:!!a)?0===this.attachments().length:0===this.attachmentsInReady().length;return 0===this.to().length&&0===this.cc().length&&0===this.bcc().length&&0===this.subject().length&&
|
||||
a&&""===this.oEditor.getTextForRequest()};z.prototype.reset=function(){this.to([]);this.cc([]);this.bcc([]);this.subject("");this.aDraftInfo=null;this.sInReplyTo="";this.bFromDraft=!1;this.sReferences="";this.bReloadFolder=!1;this.sendError(!1);this.sendSuccessButSaveError(!1);this.savedError(!1);this.savedTime(0);this.savedOrSendingText("");this.emptyToError(!1);this.showCcAndBcc(!1);this.attachments([]);this.dragAndDropOver(!1);this.dragAndDropVisible(!1);this.draftFolder("");this.draftUid("");
|
||||
this.draftID("");this.sending(!1);this.saving(!1);this.oEditor&&this.oEditor.clear()};z.prototype.getAttachmentsDownloadsForUpload=function(){return i.map(i.filter(this.attachments(),function(a){return a&&""===a.tempName()}),function(a){return a.id})};z.prototype.triggerForResize=function(){this.resizer(!this.resizer())};d.extendAsViewModel("PopupsContactsViewModel",O);O.prototype.removeCheckedOrSelectedContactsFromList=function(){var a=this,b=this.contacts,c=this.currentContact(),d=this.contactsCheckedOrSelected();
|
||||
0<d.length&&(i.each(d,function(b){c&&c.idContact===b.idContact&&(c=null,a.currentContact(null));b.deleted(!0)}),i.delay(function(){i.each(d,function(a){b.remove(a)})},500))};O.prototype.deleteSelectedContacts=function(){0<this.contactsCheckedOrSelected().length&&(f.remote().contactsDelete(i.bind(this.deleteResponse,this),this.contactsCheckedOrSelectedUids()),this.removeCheckedOrSelectedContactsFromList())};O.prototype.deleteResponse=function(a,b){500<(g.StorageResultType.Success===a&&b&&b.Time?d.pInt(b.Time):
|
||||
0)?this.reloadContactList():i.delay(function(a){return function(){a.reloadContactList()}}(this),500)};O.prototype.populateViewContact=function(a){this.imageTrigger(!1);this.emptySelection(!1);a?(this.viewID(a.idContact),this.viewName(a.name),this.viewEmail(a.emails[0]||""),this.viewImageUrl(a.srcAttr())):(this.viewID(""),this.viewName(""),this.viewEmail(""),this.viewImageUrl(f.link().emptyContactPic()))};O.prototype.reloadContactList=function(){var a=this;this.contacts.loading(!0);f.remote().contacts(function(b,
|
||||
c){var f=[];g.StorageResultType.Success===b&&(c&&c.Result&&c.Result.List)&&d.isNonEmptyArray(c.Result.List)&&(f=i.map(c.Result.List,function(a){var b=new oa;return b.parse(a)?b:null}),f=i.compact(f));a.contacts(f);a.viewClearSearch(""!==a.search());a.contacts.loading(!1);""!==a.viewID()&&(!a.currentContact()&&a.contacts.setSelectedByUid)&&a.contacts.setSelectedByUid(""+a.viewID())},this.search())};O.prototype.onBuild=function(a){this.initUploader();this.oContentVisible=j(".b-list-content",a);this.oContentScrollable=
|
||||
j(".content",this.oContentVisible);this.selector.init(this.oContentVisible,this.oContentScrollable);this.viewImageUrl.valueHasMutated();e.computed(function(){var a=this.modalVisibility(),c=f.data().useKeyboardShortcuts();this.selector.useKeyboard(a&&c)},this).extend({notify:"always"})};O.prototype.initUploader=function(){var a=this,b=null;h.File&&(h.FileReader&&this.imageUploader())&&(b=new ua({queueSize:1,multipleSizeLimit:1,clickElement:this.imageUploader(),disableDragAndDrop:!0,disableMultiple:!0,
|
||||
onSelect:function(b,f){if(f&&f.File&&f.File.type){var e=null,g=f.File;f.File.type.match(/image.*/)?(e=new h.FileReader,e.onload=function(b){b&&(b.target&&b.target.result)&&d.resizeAndCrop(b.target.result,150,function(b){a.viewImageUrl(b);a.imageTrigger(!0)})},e.readAsDataURL(g)):h.alert("this file is not an image.")}return!1}}));return b};O.prototype.onShow=function(){o.routeOff();this.reloadContactList()};O.prototype.onHide=function(){o.routeOn();this.currentContact(null);this.emptySelection(!0);
|
||||
this.search("");i.each(this.contacts(),function(a){a.checked(!1)})};d.extendAsViewModel("PopupsAdvancedSearchViewModel",ha);ha.prototype.buildSearchStringValue=function(a){-1<a.indexOf(" ")&&(a='"'+a+'"');return a};ha.prototype.buildSearchString=function(){var a=[],b=d.trim(this.from()),c=d.trim(this.to()),f=d.trim(this.subject()),e=d.trim(this.text());b&&""!==b&&a.push("from:"+this.buildSearchStringValue(b));c&&""!==c&&a.push("to:"+this.buildSearchStringValue(c));f&&""!==f&&a.push("subject:"+this.buildSearchStringValue(f));
|
||||
this.hasAttachments()&&a.push("has:attachments");-1<this.selectedDateValue()&&a.push("date:"+da().subtract("days",this.selectedDateValue()).format("YYYY.MM.DD")+"/");e&&""!==e&&a.push("text:"+this.buildSearchStringValue(e));return d.trim(a.join(" "))};ha.prototype.clearPopup=function(){this.from("");this.to("");this.subject("");this.text("");this.selectedDateValue(-1);this.hasAttachments(!1);this.fromFocus(!0)};ha.prototype.onShow=function(){this.clearPopup();this.fromFocus(!0)};d.extendAsViewModel("PopupsAddAccountViewModel",
|
||||
ia);ia.prototype.clearPopup=function(){this.email("");this.login("");this.password("");this.emailError(!1);this.loginError(!1);this.passwordError(!1);this.submitRequest(!1);this.submitError("")};ia.prototype.onShow=function(){this.clearPopup();this.emailFocus(!0)};ia.prototype.onBuild=function(){this.allowCustomLogin(!!f.settingsGet("AllowCustomLogin"))};d.extendAsViewModel("PopupsIdentityViewModel",pa);pa.prototype.clearPopup=function(){this.id="";this.edit(!1);this.owner(!1);this.name("");this.email("");
|
||||
this.replyTo("");this.bcc("");this.email.hasError(!1);this.replyTo.hasError(!1);this.bcc.hasError(!1);this.submitRequest(!1);this.submitError("")};pa.prototype.onShow=function(a){this.clearPopup();a&&(this.edit(!0),this.id=a.id,this.name(a.name()),this.email(a.email()),this.replyTo(a.replyTo()),this.bcc(a.bcc()),this.owner(this.id===f.data().accountEmail()));this.owner()||this.email.focused(!0)};d.extendAsViewModel("PopupsLanguagesViewModel",ja);ja.prototype.onShow=function(){this.exp(!0)};ja.prototype.onHide=
|
||||
function(){this.exp(!1)};ja.prototype.changeLanguage=function(a){f.data().mainLanguage(a);this.cancelCommand()};d.extendAsViewModel("LoginViewModel",ka);ka.prototype.onShow=function(){o.routeOff();i.delay(i.bind(function(){""!==this.email()&&""!==this.password()?this.submitFocus(!0):this.emailFocus(!0);f.settingsGet("UserLanguage")&&j.cookie("rllang",f.data().language(),{expires:30})},this),100)};ka.prototype.onHide=function(){this.submitFocus(!1);this.emailFocus(!1)};ka.prototype.onBuild=function(){var a=
|
||||
this,b=f.settingsGet("JsHash"),c=function(b){b=d.pInt(b);0===b?(a.submitRequest(!0),f.loginAndLogoutReload()):a.submitError(d.getNotification(b))};this.facebookLoginEnabled(!!f.settingsGet("AllowFacebookSocial"));this.twitterLoginEnabled(!!f.settingsGet("AllowTwitterSocial"));this.googleLoginEnabled(!!f.settingsGet("AllowGoogleSocial"));switch((f.settingsGet("SignMe")||"unused").toLowerCase()){case g.LoginSignMeTypeAsString.DefaultOff:this.signMeType(g.LoginSignMeType.DefaultOff);break;case g.LoginSignMeTypeAsString.DefaultOn:this.signMeType(g.LoginSignMeType.DefaultOn);
|
||||
break;default:case g.LoginSignMeTypeAsString.Unused:this.signMeType(g.LoginSignMeType.Unused)}this.email(f.data().devEmail);this.login(f.data().devLogin);this.password(f.data().devPassword);this.googleLoginEnabled()&&(h["rl_"+b+"_google_login_service"]=c);this.facebookLoginEnabled()&&(h["rl_"+b+"_facebook_login_service"]=c);this.twitterLoginEnabled()&&(h["rl_"+b+"_twitter_login_service"]=c);i.delay(function(){f.data().language.subscribe(function(b){a.langRequest(!0);j.ajax({url:f.link().langLink(b),
|
||||
dataType:"script",cache:!0}).done(function(){a.bSendLanguage=!0;d.i18nToDoc();j.cookie("rllang",f.data().language(),{expires:30})}).always(function(){a.langRequest(!1)})})},50)};ka.prototype.selectLanguage=function(){o.showScreenPopup(ja)};i.extend(T.prototype,D.prototype);T.prototype.accountClick=function(a,b){if(a&&b&&!d.isUnd(b.which)&&1===b.which){var c=this;this.accountsLoading(!0);i.delay(function(){c.accountsLoading(!1)},1E3)}return!0};T.prototype.emailTitle=function(){return f.data().accountEmail()};
|
||||
T.prototype.settingsClick=function(){o.setHash(f.link().settings())};T.prototype.addAccountClick=function(){this.allowAddAccount&&o.showScreenPopup(ia)};T.prototype.logoutClick=function(){f.remote().logout(function(){h.__rlah_clear&&h.__rlah_clear();f.loginAndLogoutReload(!0,f.settingsGet("ParentEmail")&&0<f.settingsGet("ParentEmail").length)})};i.extend(Va.prototype,T.prototype);i.extend(Wa.prototype,T.prototype);d.extendAsViewModel("MailBoxFolderListViewModel",ba);ba.prototype.onBuild=function(a){a.on("click",
|
||||
".b-folders .e-item .e-link .e-collapsed-sign",function(a){var c=e.dataFor(this),f=!1;c&&a&&(f=c.collapsed(),d.setExpandedFolder(c.fullNameHash,f),c.collapsed(!f),a.preventDefault(),a.stopPropagation())}).on("click",".b-folders .e-item .e-link.selectable",function(a){a.preventDefault();if(a=e.dataFor(this))f.data().usePreviewPane()||f.data().message(null),a.fullNameRaw===f.data().currentFolderFullNameRaw()&&f.cache().setFolderHash(a.fullNameRaw,""),o.setHash(f.link().mailBox(a.fullNameHash))})};ba.prototype.messagesDropOver=
|
||||
function(a){h.clearTimeout(this.iDropOverTimer);a&&a.collapsed()&&(this.iDropOverTimer=h.setTimeout(function(){a.collapsed(!1);d.setExpandedFolder(a.fullNameHash,!0);d.windowResize()},500))};ba.prototype.messagesDropOut=function(){h.clearTimeout(this.iDropOverTimer)};ba.prototype.messagesDrop=function(a,b){if(a&&b&&b.helper){var c=b.helper.data("rl-folder"),f=b.helper.data("rl-uids");A&&(A.__vm&&d.isNormal(c)&&d.isArray(f))&&A.__vm.moveMessagesToFolder(c,f,a.fullNameRaw)}};ba.prototype.composeClick=
|
||||
function(){o.showScreenPopup(z)};ba.prototype.contactsClick=function(){this.allowContacts&&o.showScreenPopup(O)};d.extendAsViewModel("MailBoxMessageListViewModel",A);A.prototype.emptySubjectValue="";A.prototype.searchEnterAction=function(){this.mainMessageListSearch(this.sLastSearchValue);this.inputMessageListSearchFocus(!1)};A.prototype.cancelSearch=function(){this.mainMessageListSearch("");this.inputMessageListSearchFocus(!1)};A.prototype.removeMessagesFromList=function(a,b,c,e){var c=d.isNormal(c)?
|
||||
c:"",e=d.isUnd(e)?!1:!!e,g=0,h=f.data(),j=f.cache().getFolderFromCacheList(a),l=""===c?null:f.cache().getFolderFromCacheList(c||""),m=h.currentFolderFullNameRaw(),q=h.message(),p=m===a?i.filter(h.messageList(),function(a){return a&&-1<d.inArray(a.uid,b)}):[];e||i.each(p,function(a){a&&a.unseen()&&g++});j&&!e&&(j.messageCountAll(0<=j.messageCountAll()-b.length?j.messageCountAll()-b.length:0),0<g&&j.messageCountUnread(0<=j.messageCountUnread()-g?j.messageCountUnread()-g:0));l&&!e&&(l.messageCountAll(l.messageCountAll()+
|
||||
b.length),0<g&&l.messageCountUnread(l.messageCountUnread()+g));0<p.length&&(i.each(p,function(a){if(q&&q.requestHash===a.requestHash){q=null;h.message(null)}a.deleted(true)}),i.delay(function(){i.each(p,function(a){h.messageList.remove(a)})},400),e||(f.data().messageListIsNotCompleted(!0),f.cache().setFolderHash(a,""),d.isNormal(c)&&f.cache().setFolderHash(c||"","")))};A.prototype.removeCheckedOrSelectedMessagesFromList=function(a){this.removeMessagesFromList(f.data().currentFolderFullNameRaw(),i.map(f.data().messageListCheckedOrSelected(),
|
||||
function(a){return a.uid}),a)};A.prototype.moveOrDeleteResponse=function(a,b){g.StorageResultType.Success===a&&f.data().currentFolder()&&(b&&d.isArray(b.Result)&&2===b.Result.length?f.cache().setFolderHash(b.Result[0],b.Result[1]):(b&&g.Notification.CantMoveMessage===b.ErrorCode&&h.alert(d.getNotification(g.Notification.CantMoveMessage)),f.cache().setFolderHash(f.data().currentFolderFullNameRaw(),"")),f.reloadMessageList(),f.quotaDebounce())};A.prototype.moveMessagesToFolder=function(a,b,c){if(a!==
|
||||
c&&d.isArray(b)&&0<b.length){var e=f.cache().getFolderFromCacheList(a),g=f.cache().getFolderFromCacheList(c);if(e&&g)return f.remote().messagesMove(i.bind(this.moveOrDeleteResponse,this),e.fullNameRaw,g.fullNameRaw,b),g.actionBlink(!0),this.removeMessagesFromList(a,b,c),!0}return!1};A.prototype.moveSelectedMessagesToFolder=function(a){return this.canBeMoved()?this.moveMessagesToFolder(f.data().currentFolderFullNameRaw(),f.data().messageListCheckedOrSelectedUidsWithSubMails(),a):!1};A.prototype.deleteSelectedMessageFromCurrentFolder=
|
||||
function(a,b){if(this.canBeMoved()){var b=d.isUnd(b)?!0:!!b,c=f.cache().getFolderFromCacheList(g.FolderType.Spam===a?f.data().spamFolder():f.data().trashFolder());!c&&b?o.showScreenPopup(aa,[g.FolderType.Spam===a?g.SetSystemFoldersNotification.Spam:g.SetSystemFoldersNotification.Trash]):!b||c&&(n.Values.UnuseOptionValue===c.fullNameRaw||f.data().currentFolderFullNameRaw()===c.fullNameRaw)?(f.remote().messagesDelete(i.bind(this.moveOrDeleteResponse,this),f.data().currentFolderFullNameRaw(),f.data().messageListCheckedOrSelectedUidsWithSubMails()),
|
||||
this.removeCheckedOrSelectedMessagesFromList()):c&&(f.remote().messagesMove(i.bind(this.moveOrDeleteResponse,this),f.data().currentFolderFullNameRaw(),c.fullNameRaw,f.data().messageListCheckedOrSelectedUidsWithSubMails()),c.actionBlink(!0),this.removeCheckedOrSelectedMessagesFromList(c.fullNameRaw))}};A.prototype.dragAndDronHelper=function(a){a&&a.checked(!0);a=d.draggeblePlace();a.data("rl-folder",f.data().currentFolderFullNameRaw());a.data("rl-uids",f.data().messageListCheckedOrSelectedUidsWithSubMails());
|
||||
a.find(".text").text(f.data().messageListCheckedOrSelectedUidsWithSubMails().length);return a};A.prototype.onMessageResponse=function(a,b,c){var e=f.data();e.messageLoading(!1);g.StorageResultType.Success===a&&b&&b.Result?e.setMessage(b,c):g.StorageResultType.Unload===a?(e.message(null),e.messageError("")):g.StorageResultType.Abort!==a&&(e.message(null),e.messageError(b&&b.ErrorCode?d.getNotification(b.ErrorCode):d.getNotification(g.Notification.UnknownError)))};A.prototype.populateMessageBody=function(a){a&&
|
||||
(f.remote().message(this.onMessageResponse,a.folderFullNameRaw,a.uid)?f.data().messageLoading(!0):d.log("Error: Unknown message request: "+a.folderFullNameRaw+" ~ "+a.uid+" [e-101]"))};A.prototype.setAction=function(a,b,c){var e=[],h=null,t=f.cache(),j=0;d.isUnd(c)&&(c=f.data().messageListChecked());e=i.map(c,function(a){return a.uid});if(""!==a&&0<e.length){switch(b){case g.MessageSetAction.SetSeen:i.each(c,function(a){a.unseen()&&j++;a.unseen(!1);t.storeMessageFlagsToCache(a)});(h=t.getFolderFromCacheList(a))&&
|
||||
h.messageCountUnread(h.messageCountUnread()-j);f.remote().messageSetSeen(d.emptyFunction,a,e,!0);break;case g.MessageSetAction.UnsetSeen:i.each(c,function(a){a.unseen()&&j++;a.unseen(!0);t.storeMessageFlagsToCache(a)});(h=t.getFolderFromCacheList(a))&&h.messageCountUnread(h.messageCountUnread()-j+e.length);f.remote().messageSetSeen(d.emptyFunction,a,e,!1);break;case g.MessageSetAction.SetFlag:i.each(c,function(a){a.flagged(!0);t.storeMessageFlagsToCache(a)});f.remote().messageSetFlagged(d.emptyFunction,
|
||||
a,e,!0);break;case g.MessageSetAction.UnsetFlag:i.each(c,function(a){a.flagged(!1);t.storeMessageFlagsToCache(a)}),f.remote().messageSetFlagged(d.emptyFunction,a,e,!1)}f.reloadFlagsCurrentMessageListAndMessageFromCache()}};A.prototype.setActionForAll=function(a,b){var c=null,e=f.data().messageList(),h=f.cache();if(""!==a&&(c=h.getFolderFromCacheList(a))){switch(b){case g.MessageSetAction.SetSeen:if(c=h.getFolderFromCacheList(a))i.each(e,function(a){a.unseen(!1)}),c.messageCountUnread(0),h.clearMessageFlagsFromCacheByFolder(a);
|
||||
f.remote().messageSetSeenToAll(d.emptyFunction,a,!0);break;case g.MessageSetAction.UnsetSeen:if(c=h.getFolderFromCacheList(a))i.each(e,function(a){a.unseen(!0)}),c.messageCountUnread(c.messageCountAll()),h.clearMessageFlagsFromCacheByFolder(a);f.remote().messageSetSeenToAll(d.emptyFunction,a,!1)}f.reloadFlagsCurrentMessageListAndMessageFromCache()}};A.prototype.listSetSeen=function(){this.setAction(f.data().currentFolderFullNameRaw(),g.MessageSetAction.SetSeen,f.data().messageListCheckedOrSelected())};
|
||||
A.prototype.listSetAllSeen=function(){this.setActionForAll(f.data().currentFolderFullNameRaw(),g.MessageSetAction.SetSeen)};A.prototype.listUnsetSeen=function(){this.setAction(f.data().currentFolderFullNameRaw(),g.MessageSetAction.UnsetSeen,f.data().messageListCheckedOrSelected())};A.prototype.listSetFlags=function(){this.setAction(f.data().currentFolderFullNameRaw(),g.MessageSetAction.SetFlag,f.data().messageListCheckedOrSelected())};A.prototype.listUnsetFlags=function(){this.setAction(f.data().currentFolderFullNameRaw(),
|
||||
g.MessageSetAction.UnsetFlag,f.data().messageListCheckedOrSelected())};A.prototype.onBuild=function(a){var b=this,c=f.data();this.oContentVisible=j(".b-content",a);this.oContentScrollable=j(".content",this.oContentVisible);this.oContentVisible.on("click",".fullThreadHandle",function(){var a=[],b=e.dataFor(this);b&&!b.lastInCollapsedThreadLoading()&&(f.data().messageListThreadFolder(b.folderFullNameRaw),a=f.data().messageListThreadUids(),b.lastInCollapsedThread()?a.push(0<b.parentUid()?b.parentUid():
|
||||
b.uid):a=i.without(a,0<b.parentUid()?b.parentUid():b.uid),f.data().messageListThreadUids(i.uniq(a)),b.lastInCollapsedThreadLoading(!0),b.lastInCollapsedThread(!b.lastInCollapsedThread()),f.reloadMessageList());return!1});this.selector.init(this.oContentVisible,this.oContentScrollable);Ha.on("keydown",function(a){var e=!0,h=a?a.keyCode:0;if(a&&b.viewModelVisibility()&&c.useKeyboardShortcuts()&&!f.popupVisibility()&&!c.messageFullScreenMode()&&!d.inFocus()&&(c.usePreviewPane()||!c.message()&&(g.EventKeyCode.Delete===
|
||||
h||g.EventKeyCode.A===h))&&a.ctrlKey&&g.EventKeyCode.A===h)b.checkAll(!(b.checkAll()&&!b.isIncompleteChecked())),e=!1;return e});a.on("click",".pagenator .page",function(){var a=e.dataFor(this);a&&o.setHash(f.link().mailBox(c.currentFolderFullNameHash(),a.value,c.messageListSearch()))}).on("click",".messageList .checkboxCkeckAll",function(){b.checkAll(!b.checkAll())}).on("click",".messageList .messageListItem .flagParent",function(){var a=e.dataFor(this),f=c.messageListCheckedOrSelected(),h=[];a&&
|
||||
(0<f.length&&(h=i.map(f,function(a){return a.uid})),0<h.length&&-1<d.inArray(a.uid,h)?b.setAction(a.folderFullNameRaw,a.flagged()?g.MessageSetAction.UnsetFlag:g.MessageSetAction.SetFlag,f):b.setAction(a.folderFullNameRaw,a.flagged()?g.MessageSetAction.UnsetFlag:g.MessageSetAction.SetFlag,[a]))});e.computed(function(){var a=f.data(),b=this.viewModelVisibility(),c=f.popupVisibility(),d=a.useKeyboardShortcuts(),a=a.messageFullScreenMode();this.selector.useKeyboard(b&&d&&!a&&!c)},this).extend({notify:"always"});
|
||||
this.initUploaderForAppend()};A.prototype.composeClick=function(){o.showScreenPopup(z)};A.prototype.advancedSearchClick=function(){o.showScreenPopup(ha)};A.prototype.quotaTooltip=function(){return d.i18n("MESSAGE_LIST/QUOTA_SIZE",{SIZE:d.friendlySize(this.userUsageSize()),PROC:this.userUsageProc(),LIMIT:d.friendlySize(this.userQuota())})};A.prototype.initUploaderForAppend=function(){return!f.settingsGet("AllowAppendMessage")||!this.dragOverArea()?!1:!!new ua({action:f.link().append(),name:"AppendFile",
|
||||
queueSize:1,multipleSizeLimit:1,disableFolderDragAndDrop:!0,hidden:{Folder:function(){return f.data().currentFolderFullNameRaw()}},dragAndDropElement:this.dragOverArea(),dragAndDropBodyElement:this.dragOverBodyArea(),onDragEnter:i.bind(function(){this.dragOverEnter(true)},this),onDragLeave:i.bind(function(){this.dragOverEnter(false)},this),onBodyDragEnter:i.bind(function(){this.dragOver(true)},this),onBodyDragLeave:i.bind(function(){this.dragOver(false)},this),onSelect:i.bind(function(a,b){if(a&&
|
||||
b&&"message/rfc822"===b.Type){f.data().messageListLoading(true);return true}return false}),onComplete:i.bind(function(){f.reloadMessageList(true,true)},this)})};d.extendAsViewModel("MailBoxMessageViewViewModel",J);J.prototype.scrollToTop=function(){var a=j(".messageItem.nano .content",this.viewModelDom);a&&a[0]?a.scrollTop(0):j(".messageItem",this.viewModelDom).scrollTop(0);d.windowResize()};J.prototype.fullScreen=function(){this.fullScreenMode(!0);d.windowResize()};J.prototype.unFullScreen=function(){this.fullScreenMode(!1);
|
||||
d.windowResize()};J.prototype.toggleFullScreen=function(){d.removeSelection();this.fullScreenMode(!this.fullScreenMode());d.windowResize()};J.prototype.replyOrforward=function(a){o.showScreenPopup(z,[a,f.data().message()])};J.prototype.onBuild=function(a){var b=this,c=f.data();Ha.on("keydown",function(a){var f=!0,a=a?a.keyCode:0;if(0<a&&(g.EventKeyCode.Backspace===a||g.EventKeyCode.Esc===a)&&b.viewModelVisibility()&&c.useKeyboardShortcuts()&&!d.inFocus()&&c.message())b.fullScreenMode(!1),c.usePreviewPane()||
|
||||
c.message(null),f=!1;return f});j(".attachmentsPlace",a).magnificPopup({delegate:".magnificPopupImage:visible",type:"image",preload:[1,1],gallery:{enabled:!0},callbacks:{open:function(){c.useKeyboardShortcuts(!1)},close:function(){c.useKeyboardShortcuts(!0)}},mainClass:"mfp-fade",removalDelay:300});a.on("click",".attachmentsPlace .attachmentPreview",function(a){a&&a.stopPropagation&&a.stopPropagation()}).on("click",".attachmentsPlace .attachmentItem",function(){var a=e.dataFor(this);a&&a.download&&
|
||||
f.download(a.linkDownload())});this.oMessageScrollerDom=(this.oMessageScrollerDom=a.find(".messageItem .content"))&&this.oMessageScrollerDom[0]?this.oMessageScrollerDom:null};J.prototype.isDraftFolder=function(){return f.data().message()&&f.data().draftFolder()===f.data().message().folderFullNameRaw};J.prototype.isSentFolder=function(){return f.data().message()&&f.data().sentFolder()===f.data().message().folderFullNameRaw};J.prototype.isDraftOrSentFolder=function(){return this.isDraftFolder()||this.isSentFolder()};
|
||||
J.prototype.composeClick=function(){o.showScreenPopup(z)};J.prototype.editMessage=function(){f.data().message()&&o.showScreenPopup(z,[g.ComposeType.Draft,f.data().message()])};J.prototype.scrollMessageToTop=function(){this.oMessageScrollerDom&&this.oMessageScrollerDom.scrollTop(0)};J.prototype.showImages=function(a){a&&a.showExternalImages&&a.showExternalImages(!0)};d.extendAsViewModel("SettingsMenuViewModel",Aa);Aa.prototype.link=function(a){return f.link().settings(a)};Aa.prototype.backToMailBoxClick=
|
||||
function(){o.setHash(f.link().inbox())};d.extendAsViewModel("SettingsPaneViewModel",Ba);Ba.prototype.onShow=function(){f.data().message(null)};Ba.prototype.backToMailBoxClick=function(){o.setHash(f.link().inbox())};d.addSettingsViewModel(Ca,"SettingsGeneral","SETTINGS_LABELS/LABEL_GENERAL_NAME","general",!0);Ca.prototype.onBuild=function(){var a=this;i.delay(function(){var b=f.data(),c=d.settingsSaveHelperSimpleFunction(a.mppTrigger,a);b.language.subscribe(function(b){a.languageTrigger(g.SaveSettingsStep.Animate);
|
||||
j.ajax({url:f.link().langLink(b),dataType:"script",cache:!0}).done(function(){d.i18nToDoc();a.languageTrigger(g.SaveSettingsStep.TrueResult)}).fail(function(){a.languageTrigger(g.SaveSettingsStep.FalseResult)}).always(function(){i.delay(function(){a.languageTrigger(g.SaveSettingsStep.Idle)},1E3)});f.remote().saveSettings(d.emptyFunction,{Language:b})});b.editorDefaultType.subscribe(function(a){f.remote().saveSettings(d.emptyFunction,{EditorDefaultType:a})});b.messagesPerPage.subscribe(function(a){f.remote().saveSettings(c,
|
||||
{MPP:a})});b.showImages.subscribe(function(a){f.remote().saveSettings(d.emptyFunction,{ShowImages:a?"1":"0"})});b.interfaceAnimation.subscribe(function(a){f.remote().saveSettings(d.emptyFunction,{InterfaceAnimation:a})});b.useDesktopNotifications.subscribe(function(a){d.timeOutAction("SaveDesktopNotifications",function(){f.remote().saveSettings(d.emptyFunction,{DesktopNotifications:a?"1":"0"})},3E3)});b.replySameFolder.subscribe(function(a){d.timeOutAction("SaveReplySameFolder",function(){f.remote().saveSettings(d.emptyFunction,
|
||||
{ReplySameFolder:a?"1":"0"})},3E3)});b.useThreads.subscribe(function(a){b.messageList([]);f.remote().saveSettings(d.emptyFunction,{UseThreads:a?"1":"0"})});b.usePreviewPane.subscribe(function(a){b.messageList([]);f.remote().saveSettings(d.emptyFunction,{UsePreviewPane:a?"1":"0"})});b.useCheckboxesInList.subscribe(function(a){f.remote().saveSettings(d.emptyFunction,{UseCheckboxesInList:a?"1":"0"})})},50)};Ca.prototype.onShow=function(){f.data().desktopNotifications.valueHasMutated()};Ca.prototype.selectLanguage=
|
||||
function(){o.showScreenPopup(ja)};d.addSettingsViewModel(Oa,"SettingsPersonal","SETTINGS_LABELS/LABEL_PERSONAL_NAME","personal");Oa.prototype.onBuild=function(){var a=this;i.delay(function(){var b=f.data(),c=d.settingsSaveHelperSimpleFunction(a.nameTrigger,a),e=d.settingsSaveHelperSimpleFunction(a.replyTrigger,a),g=d.settingsSaveHelperSimpleFunction(a.signatureTrigger,a);b.displayName.subscribe(function(a){f.remote().saveSettings(c,{DisplayName:a})});b.replyTo.subscribe(function(a){f.remote().saveSettings(e,
|
||||
{ReplyTo:a})});b.signature.subscribe(function(a){f.remote().saveSettings(g,{Signature:a})})},50)};d.addSettingsViewModel(Da,"SettingsAccounts","SETTINGS_LABELS/LABEL_ACCOUNTS_NAME","accounts");Da.prototype.addNewAccount=function(){o.showScreenPopup(ia)};Da.prototype.deleteAccount=function(a){if(a&&a.deleteAccess()){this.accountForDeletion(null);var b=function(b){return a===b};a&&(this.accounts.remove(b),f.remote().accountDelete(function(){f.accountsAndIdentities()},a.email))}};d.addSettingsViewModel(la,
|
||||
"SettingsIdentities","SETTINGS_LABELS/LABEL_IDENTITIES_NAME","identities");la.prototype.addNewIdentity=function(){o.showScreenPopup(pa)};la.prototype.editIdentity=function(a){o.showScreenPopup(pa,[a])};la.prototype.deleteIdentity=function(a){if(a&&a.deleteAccess()){this.identityForDeletion(null);var b=function(b){return a===b};a&&(this.identities.remove(b),f.remote().identityDelete(function(){f.accountsAndIdentities()},a.id))}};la.prototype.onBuild=function(a){var b=this;a.on("click",".identity-item .e-action",
|
||||
function(){var a=e.dataFor(this);a&&b.editIdentity(a)});i.delay(function(){var a=f.data(),e=d.settingsSaveHelperSimpleFunction(b.signatureTrigger,b);a.signature.subscribe(function(a){f.remote().saveSettings(e,{Signature:a})})},50)};d.addSettingsViewModel(Xa,"SettingsSocial","SETTINGS_LABELS/LABEL_SOCIAL_NAME","social");d.addSettingsViewModel(Ea,"SettingsChangePassword","SETTINGS_LABELS/LABEL_CHANGE_PASSWORD_NAME","change-password");Ea.prototype.onHide=function(){this.changeProcess(!1);this.currentPassword("");
|
||||
this.newPassword("")};Ea.prototype.onChangePasswordResponse=function(a,b){this.changeProcess(!1);g.StorageResultType.Success===a&&b&&b.Result?(this.currentPassword(""),this.newPassword(""),this.passwordUpdateSuccess(!0)):this.passwordUpdateError(!0)};d.addSettingsViewModel(W,"SettingsFolders","SETTINGS_LABELS/LABEL_FOLDERS_NAME","folders");W.prototype.folderEditOnEnter=function(a){var b=a?d.trim(a.nameForEdit()):"";""!==b&&a.name()!==b&&(f.local().set(g.ClientSideKeyName.FoldersLashHash,""),f.data().foldersRenaming(!0),
|
||||
f.remote().folderRename(function(a,b){f.data().foldersRenaming(!1);if(g.StorageResultType.Success!==a||!b||!b.Result)f.data().foldersListError(b&&b.ErrorCode?d.getNotification(b.ErrorCode):d.i18n("NOTIFICATIONS/CANT_RENAME_FOLDER"));f.folders(!1)},a.fullNameRaw,b),f.cache().removeFolderFromCacheList(a.fullNameRaw),a.name(b));a.edited(!1)};W.prototype.folderEditOnEsc=function(a){a&&a.edited(!1)};W.prototype.onShow=function(){f.data().foldersListError("")};W.prototype.createFolder=function(){o.showScreenPopup(ga)};
|
||||
W.prototype.systemFolder=function(){o.showScreenPopup(aa)};W.prototype.deleteFolder=function(a){if(a&&a.canBeDeleted()&&a.deleteAccess()&&0===a.privateMessageCountAll()){this.folderForDeletion(null);var b=function(c){if(a===c)return!0;c.subFolders.remove(b);return!1};a&&(f.local().set(g.ClientSideKeyName.FoldersLashHash,""),f.data().folderList.remove(b),f.data().foldersDeleting(!0),f.remote().folderDelete(function(a,b){f.data().foldersDeleting(!1);if(g.StorageResultType.Success!==a||!b||!b.Result)f.data().foldersListError(b&&
|
||||
b.ErrorCode?d.getNotification(b.ErrorCode):d.i18n("NOTIFICATIONS/CANT_DELETE_FOLDER"));f.folders(!1)},a.fullNameRaw),f.cache().removeFolderFromCacheList(a.fullNameRaw))}else 0<a.privateMessageCountAll()&&f.data().foldersListError(d.getNotification(g.Notification.CantDeleteNonEmptyFolder))};W.prototype.subscribeFolder=function(a){f.local().set(g.ClientSideKeyName.FoldersLashHash,"");f.remote().folderSetSubscribe(d.emptyFunction,a.fullNameRaw,!0);a.subScribed(!0)};W.prototype.unSubscribeFolder=function(a){f.local().set(g.ClientSideKeyName.FoldersLashHash,
|
||||
"");f.remote().folderSetSubscribe(d.emptyFunction,a.fullNameRaw,!1);a.subScribed(!1)};d.addSettingsViewModel(qa,"SettingsThemes","SETTINGS_LABELS/LABEL_THEMES_NAME","themes");qa.prototype.removeCustomThemeImg=function(){this.customThemeImg("")};qa.prototype.onBuild=function(){var a=this,b=f.data().theme();this.themesObjects(i.map(f.data().themes(),function(a){return{name:a,nameDisplay:d.convertThemeName(a),selected:e.observable(a===b),themePreviewSrc:f.link().themePreviewLink(a)}}));i.delay(function(){a.customThemeType.subscribe(function(a){f.remote().saveSettings(function(){f.data().theme.valueHasMutated()},
|
||||
{CustomThemeType:a})});a.customThemeImg.subscribe(function(a){f.remote().saveSettings(function(){f.data().theme.valueHasMutated()},{CustomThemeImg:a})})},50);this.initCustomThemeUploader()};qa.prototype.initCustomThemeUploader=function(){return this.customThemeUploaderButton()?!!new ua({action:f.link().uploadBackground(),name:"uploader",queueSize:1,multipleSizeLimit:1,disableFolderDragAndDrop:!0,clickElement:this.customThemeUploaderButton(),onSelect:i.bind(function(a,b){var c=d.isUnd(b.FileName)?
|
||||
"":b.FileName.toString(),c=c.substring(c.length-4,c.length),f=d.isNormal(b.Size)?d.pInt(b.Size):null;return-1===d.inArray(c,["jpeg",".jpg",".png"])?(h.alert(d.i18n("SETTINGS_THEMES/ERROR_FILE_TYPE_ERROR")),!1):1048576<f?(h.alert(d.i18n("SETTINGS_THEMES/ERROR_FILE_IS_TOO_BIG")),!1):!0},this),onStart:i.bind(function(){this.customThemeUploaderProgress(!0)},this),onComplete:i.bind(function(a,b,c){!b||!c||!c.Result?h.alert(c&&c.ErrorCode?d.getUploadErrorDescByCode(c.ErrorCode):d.getUploadErrorDescByCode(g.UploadErrorCode.Unknown)):
|
||||
this.customThemeImg(c.Result);this.customThemeUploaderProgress(!1)},this)}):!1};Pa.prototype.populateDataOnStart=function(){var a=f.settingsGet("Languages"),b=f.settingsGet("Themes");d.isArray(a)&&this.languages(a);d.isArray(b)&&this.themes(b);this.mainLanguage(f.settingsGet("Language"));this.mainTheme(f.settingsGet("Theme"));this.allowCustomTheme(!!f.settingsGet("AllowCustomTheme"));this.allowAdditionalAccounts(!!f.settingsGet("AllowAdditionalAccounts"));this.allowIdentities(!!f.settingsGet("AllowIdentities"));
|
||||
this.determineUserLanguage(!!f.settingsGet("DetermineUserLanguage"));this.allowThemes(!!f.settingsGet("AllowThemes"));this.allowCustomLogin(!!f.settingsGet("AllowCustomLogin"));this.allowLanguagesOnLogin(!!f.settingsGet("AllowLanguagesOnLogin"));this.allowLanguagesOnSettings(!!f.settingsGet("AllowLanguagesOnSettings"));this.editorDefaultType(f.settingsGet("EditorDefaultType"));this.showImages(!!f.settingsGet("ShowImages"));this.interfaceAnimation(f.settingsGet("InterfaceAnimation"));this.mainMessagesPerPage(f.settingsGet("MPP"));
|
||||
this.desktopNotifications(!!f.settingsGet("DesktopNotifications"));this.useThreads(!!f.settingsGet("UseThreads"));this.replySameFolder(!!f.settingsGet("ReplySameFolder"));this.usePreviewPane(!!f.settingsGet("UsePreviewPane"));this.useCheckboxesInList(!!f.settingsGet("UseCheckboxesInList"));this.facebookEnable(!!f.settingsGet("AllowFacebookSocial"));this.facebookAppID(f.settingsGet("FacebookAppID"));this.facebookAppSecret(f.settingsGet("FacebookAppSecret"));this.twitterEnable(!!f.settingsGet("AllowTwitterSocial"));
|
||||
this.twitterConsumerKey(f.settingsGet("TwitterConsumerKey"));this.twitterConsumerSecret(f.settingsGet("TwitterConsumerSecret"));this.googleEnable(!!f.settingsGet("AllowGoogleSocial"));this.googleClientID(f.settingsGet("GoogleClientID"));this.googleClientSecret(f.settingsGet("GoogleClientSecret"));this.dropboxEnable(!!f.settingsGet("AllowDropboxSocial"));this.dropboxApiKey(f.settingsGet("DropboxApiKey"));this.contactsIsSupported(!!f.settingsGet("ContactsIsSupported"));this.contactsIsAllowed(!!f.settingsGet("ContactsIsAllowed"))};
|
||||
i.extend(U.prototype,Pa.prototype);U.prototype.purgeMessageBodyCache=function(){var a=0,b=null,c=m.iMessageBodyCacheCount-n.Values.iMessageBodyCacheLimit;if(0<c&&(b=this.messagesBodiesDom()))b.find(".rl-cache-class").each(function(){var b=j(this);c>b.data("rl-cache-count")&&(b.addClass("rl-cache-purge"),a++)}),0<a&&i.delay(function(){b.find(".rl-cache-purge").remove()},300)};U.prototype.populateDataOnStart=function(){Pa.prototype.populateDataOnStart.call(this);this.accountEmail(f.settingsGet("Email"));
|
||||
this.accountLogin(f.settingsGet("Login"));this.projectHash(f.settingsGet("ProjectHash"));this.displayName(f.settingsGet("DisplayName"));this.replyTo(f.settingsGet("ReplyTo"));this.signature(f.settingsGet("Signature"));this.lastFoldersHash=f.local().get(g.ClientSideKeyName.FoldersLashHash)||"";this.remoteSuggestions=!!f.settingsGet("RemoteSuggestions");this.remoteChangePassword=!!f.settingsGet("RemoteChangePassword");this.devEmail=f.settingsGet("DevEmail");this.devLogin=f.settingsGet("DevLogin");this.devPassword=
|
||||
f.settingsGet("DevPassword")};U.prototype.initUidNextAndNewMessages=function(a,b,c){if("INBOX"===a&&d.isNormal(b)&&""!==b){if(d.isArray(c)&&0<c.length){var e=f.cache(),g=0,j=c.length,w=function(a,b,c){var d=null;if(na&&f.data().useDesktopNotifications()&&(d=new na(b,{body:c,icon:a})))d.show&&d.show(),h.setTimeout(function(a){return function(){a.cancel?a.cancel():a.close&&a.close()}}(d),7E3)};i.each(c,function(b){e.addNewMessageCache(a,b.Uid)});if(3<j)w(f.link().notificationMailIcon(),f.data().accountEmail(),
|
||||
d.i18n("MESSAGE_LIST/NEW_MESSAGE_NOTIFICATION",{COUNT:j}));else for(;g<j;g++)w(f.link().notificationMailIcon(),p.emailsToLine(p.initEmailsFromJson(c[g].From),!1),c[g].Subject)}f.cache().setFolderUidNext(a,b)}};U.prototype.folderResponseParseRec=function(a,b,c){for(var e=0,g=0,h=null,i=null,j="",h=[],m=[],c=!!c,e=0,g=b.length;e<g;e++)if(h=b[e]){j=h.FullNameRaw;i=f.cache().getFolderFromCacheList(j);if(!i&&(i=I.newInstanceFromJson(h)))if(f.cache().setFolderToCacheList(j,i),f.cache().setFolderFullNameRaw(i.fullNameHash,
|
||||
j),i.isGmailFolder=n.Values.GmailFolderName.toLowerCase()===j.toLowerCase(),""!==a&&a===i.fullNameRaw+i.delimiter&&(i.isNamespaceFolder=!0),i.isNamespaceFolder||i.isGmailFolder)i.isUnpaddigFolder=!0;i&&(i.collapsed(!d.isFolderExpanded(i.fullNameHash)),!c&&h.Extended&&(h.Extended.Hash&&f.cache().setFolderHash(i.fullNameRaw,h.Extended.Hash),d.isNormal(h.Extended.MessageCount)&&i.messageCountAll(h.Extended.MessageCount),d.isNormal(h.Extended.MessageUnseenCount)&&i.messageCountUnread(h.Extended.MessageUnseenCount)),
|
||||
(h=h.SubFolders)&&("Collection/FolderCollection"===h["@Object"]&&h["@Collection"]&&d.isArray(h["@Collection"]))&&i.subFolders(this.folderResponseParseRec(a,h["@Collection"],c)),m.push(i))}return m};U.prototype.setFolders=function(a,b){var c=[],e=!1,h=f.data(),i=0===h.folderList().length,j=function(a){return""===a||n.Values.UnuseOptionValue===a||null!==f.cache().getFolderFromCacheList(a)?a:""};a&&(a.Result&&"Collection/FolderCollection"===a.Result["@Object"]&&a.Result["@Collection"]&&d.isArray(a.Result["@Collection"]))&&
|
||||
(d.isUnd(a.Result.Namespace)||(h.namespace=a.Result.Namespace),this.threading(!!f.settingsGet("UseImapThread")&&a.Result.IsThreadsSupported&&!0),c=this.folderResponseParseRec(h.namespace,a.Result["@Collection"],!!b),h.folderList(c),a.Result.SystemFolders&&""===""+f.settingsGet("SentFolder")+f.settingsGet("DraftFolder")+f.settingsGet("SpamFolder")+f.settingsGet("TrashFolder")&&(f.settingsSet("SentFolder",a.Result.SystemFolders[2]||null),f.settingsSet("DraftFolder",a.Result.SystemFolders[3]||null),
|
||||
f.settingsSet("SpamFolder",a.Result.SystemFolders[4]||null),f.settingsSet("TrashFolder",a.Result.SystemFolders[5]||null),e=!0),h.sentFolder(j(f.settingsGet("SentFolder"))),h.draftFolder(j(f.settingsGet("DraftFolder"))),h.spamFolder(j(f.settingsGet("SpamFolder"))),h.trashFolder(j(f.settingsGet("TrashFolder"))),e&&f.remote().saveSystemFolders(d.emptyFunction,{SentFolder:h.sentFolder(),DraftFolder:h.draftFolder(),SpamFolder:h.spamFolder(),TrashFolder:h.trashFolder()}),b||f.local().set(g.ClientSideKeyName.FoldersLashHash,
|
||||
a.Result.FoldersHash),i&&b&&f.folders(!1))};U.prototype.hideMessageBodies=function(){var a=this.messagesBodiesDom();a&&a.find(".b-text-part").hide()};U.prototype.setMessage=function(a,b){var c=!1,e=!1,g=!1,h=null,e=null,c="",i=this.messagesBodiesDom(),l=this.message();if(a&&l&&a.Result&&"Object/Message"===a.Result["@Object"]&&l.folderFullNameRaw===a.Result.Folder&&l.uid===a.Result.Uid){this.messageError("");l.initUpdateByMessageJson(a.Result);f.cache().addRequestedMessage(l.folderFullNameRaw,l.uid);
|
||||
b||l.initFlagsByJson(a.Result);if(i=i&&i[0]?i:null)c="rl-"+l.requestHash.replace(/[^a-zA-Z0-9]/g,""),e=i.find("#"+c),!e||!e[0]?(e=!!a.Result.HasExternals,g=!!a.Result.HasInternals,h=j('<div id="'+c+'" />').hide().addClass("rl-cache-class"),h.data("rl-cache-count",++m.iMessageBodyCacheCount),d.isNormal(a.Result.Html)&&""!==a.Result.Html?(c=!0,h.html(a.Result.Html.toString()).addClass("b-text-part html")):d.isNormal(a.Result.Plain)&&""!==a.Result.Plain?(c=!1,h.html(a.Result.Plain.toString()).addClass("b-text-part plain")):
|
||||
c=!1,a.Result.Rtl&&(h.data("rl-is-rtl",!0),h.addClass("rtl-text-part")),i.append(h),h.data("rl-is-html",c),h.data("rl-has-images",e),l.isRtl(!!h.data("rl-is-rtl")),l.isHtml(!!h.data("rl-is-html")),l.hasImages(!!h.data("rl-has-images")),l.body=h,g&&l.showInternalImages(!0),l.hasImages()&&this.showImages()&&l.showExternalImages(!0),this.purgeMessageBodyCacheThrottle()):(e.data("rl-cache-count",++m.iMessageBodyCacheCount),l.isRtl(!!e.data("rl-is-rtl")),l.isHtml(!!e.data("rl-is-html")),l.hasImages(!!e.data("rl-has-images")),
|
||||
l.body=e),this.messageActiveDom(l.body),this.hideMessageBodies(),l.body.show(),h&&d.initBlockquoteSwitcher(h);f.cache().initMessageFlagsFromCache(l);l.unseen()&&f.setMessageSeen(l);d.windowResize()}};U.prototype.setMessageList=function(a,b){if(a&&a.Result&&"Collection/MessageCollection"===a.Result["@Object"]&&a.Result["@Collection"]&&d.isArray(a.Result["@Collection"])){var c=f.data(),e=f.cache(),h=null,i=0,j=0,l=0,m=0,q=[],o=c.staticMessageList,r=null,H=null,n=null,s=0,u=!1,l=d.pInt(a.Result.MessageResultCount),
|
||||
m=d.pInt(a.Result.Offset);d.isNonEmptyArray(a.Result.LastCollapsedThreadUids)&&(h=a.Result.LastCollapsedThreadUids);if((n=f.cache().getFolderFromCacheList(d.isNormal(a.Result.Folder)?a.Result.Folder:""))&&!b)f.cache().setFolderHash(a.Result.Folder,a.Result.FolderHash),d.isNormal(a.Result.MessageCount)&&n.messageCountAll(a.Result.MessageCount),d.isNormal(a.Result.MessageUnseenCount)&&(d.pInt(n.messageCountUnread())!==d.pInt(a.Result.MessageUnseenCount)&&(u=!0),n.messageCountUnread(a.Result.MessageUnseenCount)),
|
||||
this.initUidNextAndNewMessages(n.fullNameRaw,a.Result.UidNext,a.Result.NewMessages);u&&n&&f.cache().clearMessageFlagsFromCacheByFolder(n.fullNameRaw);i=0;for(j=a.Result["@Collection"].length;i<j;i++)if((r=a.Result["@Collection"][i])&&"Object/Message"===r["@Object"]){H=o[i];if(!H||!H.initByJson(r))H=p.newInstanceFromJson(r);H&&(e.hasNewMessageAndRemoveFromCache(H.folderFullNameRaw,H.uid)&&5>=s&&(s++,H.newForAnimation(!0)),H.deleted(!1),b?f.cache().initMessageFlagsFromCache(H):f.cache().storeMessageFlagsToCache(H),
|
||||
H.lastInCollapsedThread(h&&-1<d.inArray(d.pInt(H.uid),h)?!0:!1),q.push(H))}c.messageListCount(l);c.messageListSearch(d.isNormal(a.Result.Search)?a.Result.Search:"");c.messageListEndSearch(d.isNormal(a.Result.Search)?a.Result.Search:"");c.messageListEndFolder(d.isNormal(a.Result.Folder)?a.Result.Folder:"");c.messageListPage(Math.ceil(m/c.messagesPerPage()+1));c.messageList(q);c.messageListIsNotCompleted(!1);(H=c.message())&&c.messageList.setSelectedByUid&&c.messageList.setSelectedByUid(H.generateUid());
|
||||
o.length<q.length&&(c.staticMessageList=q);e.clearNewMessageCache();n&&(b||u||f.data().useThreads())&&f.folderInformation(n.fullNameRaw,q)}else f.data().messageListCount(0),f.data().messageList([]),f.data().messageListError(d.getNotification(a&&a.ErrorCode?a.ErrorCode:g.Notification.CantGetMessageList))};ea.prototype.oRequests={};ea.prototype.defaultResponse=function(a,b,c,e,j,t){var w=function(){g.StorageResultType.Success!==c&&m.bUnload&&(c=g.StorageResultType.Unload);if(g.StorageResultType.Success===
|
||||
c&&e&&!e.Result){if(e&&-1<d.inArray(e.ErrorCode,[g.Notification.AuthError,g.Notification.AccessError,g.Notification.ConnectionError,g.Notification.DomainNotAllowed,g.Notification.AccountNotAllowed,g.Notification.MailServerError,g.Notification.UnknownNotification,g.Notification.UnknownError])&&m.iAjaxErrorCount++,e&&g.Notification.InvalidToken===e.ErrorCode&&m.iTokenErrorCount++,10<m.iTokenErrorCount&&f.loginAndLogoutReload(!0),e.Logout||7<m.iAjaxErrorCount)h.__rlah_clear&&h.__rlah_clear(),f.loginAndLogoutReload(!0)}else g.StorageResultType.Success===
|
||||
c&&(e&&e.Result)&&(m.iAjaxErrorCount=0,m.iTokenErrorCount=0);a&&(y.runHook("ajax-default-response",[b,g.StorageResultType.Success===c?e:null,c,j,t]),a(c,g.StorageResultType.Success===c?e:null,j,b,t))};switch(c){case "success":c=g.StorageResultType.Success;break;case "abort":c=g.StorageResultType.Abort;break;default:c=g.StorageResultType.Error}g.StorageResultType.Error===c?i.delay(w,300):w()};ea.prototype.ajaxRequest=function(a,b,c,e,g){var t=this,w=""===e,l=(new h.Date).getTime(),m=null,q="",b=b||
|
||||
{},c=d.isNormal(c)?c:2E4,e=d.isUnd(e)?"":d.pString(e),g=d.isArray(g)?g:[];(q=b.Action||"")&&0<g.length&&i.each(g,function(a){t.oRequests[a]&&(t.oRequests[a].__aborted=!0,t.oRequests[a].abort&&t.oRequests[a].abort(),t.oRequests[a]=null)});w&&(b.XToken=f.settingsGet("Token"));m=j.ajax({type:w?"POST":"GET",url:f.link().ajax(e),async:!0,dataType:"json",data:w?b:{},headers:{},timeout:c,global:!0});m.always(function(c,f){var e=!1;c&&c.Time&&(e=d.pInt(c.Time)>(new h.Date).getTime()-l);q&&t.oRequests[q]&&
|
||||
(t.oRequests[q].__aborted&&(f="abort"),t.oRequests[q]=null);t.defaultResponse(a,q,f,c,e,b)});q&&(0<g.length&&-1<d.inArray(q,g))&&(this.oRequests[q]&&(this.oRequests[q].__aborted=!0,this.oRequests[q].abort&&this.oRequests[q].abort(),this.oRequests[q]=null),this.oRequests[q]=m);return m};ea.prototype.defaultRequest=function(a,b,c,f,e,g){c=c||{};c.Action=b;e=d.pString(e);y.runHook("ajax-default-request",[b,c,e]);this.ajaxRequest(a,c,d.isUnd(f)?n.Defaults.DefaultAjaxTimeout:d.pInt(f),e,g)};ea.prototype.noop=
|
||||
function(a){this.defaultRequest(a,"Noop")};ea.prototype.jsError=function(a,b,c,d,f,e,g){this.defaultRequest(a,"JsError",{Message:b,FileName:c,LineNo:d,Location:f,HtmlCapa:e,TimeOnPage:g})};i.extend(s.prototype,ea.prototype);s.prototype.folders=function(a,b){var c=f.data().lastFoldersHash;(b=d.isUnd(b)?!1:!!b)&&""!==c?this.defaultRequest(a,"Folders",{},null,"Folders/"+f.data().projectHash()+"-"+c,["Folders"]):this.defaultRequest(a,"Folders",{},null,"",["Folders"])};s.prototype.login=function(a,b,c,
|
||||
d,f,e){this.defaultRequest(a,"Login",{Email:b,Login:c,Password:d,Language:e||"",SignMe:f?"1":"0"})};s.prototype.accountAdd=function(a,b,c,d){this.defaultRequest(a,"AccountAdd",{Email:b,Login:c,Password:d})};s.prototype.accountDelete=function(a,b){this.defaultRequest(a,"AccountDelete",{EmailToDelete:b})};s.prototype.identityUpdate=function(a,b,c,d,f,e){this.defaultRequest(a,"IdentityUpdate",{Id:b,Email:c,Name:d,ReplyTo:f,Bcc:e})};s.prototype.identityDelete=function(a,b){this.defaultRequest(a,"IdentityDelete",
|
||||
{IdToDelete:b})};s.prototype.accountsAndIdentities=function(a){this.defaultRequest(a,"AccountsAndIdentities")};s.prototype.messageList=function(a,b,c,e,g,h){var b=d.pString(b),i=f.data(),j=f.cache().getFolderHash(b),h=d.isUnd(h)?!1:!!h,c=d.isUnd(c)?0:d.pInt(c),e=d.isUnd(c)?20:d.pInt(e),g=d.pString(g);""!==j?this.defaultRequest(a,"MessageList",{},""===g?n.Defaults.DefaultAjaxTimeout:n.Defaults.SearchAjaxTimeout,"MessageList/"+ma.urlsafe_encode([b,c,e,g,i.projectHash(),j,"INBOX"===b?f.cache().getFolderUidNext(b):
|
||||
"",i.threading()&&i.useThreads()?"1":"0",i.threading()&&b===i.messageListThreadFolder()?i.messageListThreadUids().join(","):""].join(String.fromCharCode(0))),h?[]:["MessageList"]):this.defaultRequest(a,"MessageList",{Folder:b,Offset:c,Limit:e,Search:g,UidNext:"INBOX"===b?f.cache().getFolderUidNext(b):"",UseThreads:f.data().threading()&&f.data().useThreads()?"1":"0",ExpandedThreadUid:i.threading()&&b===i.messageListThreadFolder()?i.messageListThreadUids().join(","):""},""===g?n.Defaults.DefaultAjaxTimeout:
|
||||
n.Defaults.SearchAjaxTimeout,"",h?[]:["MessageList"])};s.prototype.messageUploadAttachments=function(a,b){this.defaultRequest(a,"MessageUploadAttachments",{Attachments:b},999E3)};s.prototype.message=function(a,b,c){b=d.pString(b);c=d.pInt(c);return f.cache().getFolderFromCacheList(b)&&0<c?(this.defaultRequest(a,"Message",{},null,"Message/"+ma.urlsafe_encode([b,c,f.data().projectHash(),f.data().threading()&&f.data().useThreads()?"1":"0"].join(String.fromCharCode(0))),["Message"]),!0):!1};s.prototype.composeUploadExternals=
|
||||
function(a,b){this.defaultRequest(a,"ComposeUploadExternals",{Externals:b},999E3)};s.prototype.folderInformation=function(a,b,c){var e=!0,g=f.cache(),h=[];d.isArray(c)&&0<c.length&&(e=!1,i.each(c,function(a){g.getMessageFlagsFromCache(a.folderFullNameRaw,a.uid)||h.push(a.uid);0<a.threads().length&&i.each(a.threads(),function(b){g.getMessageFlagsFromCache(a.folderFullNameRaw,b)||h.push(b)})}),0<h.length&&(e=!0));e?this.defaultRequest(a,"FolderInformation",{Folder:b,FlagsUids:d.isArray(h)?h.join(","):
|
||||
"",UidNext:"INBOX"===b?f.cache().getFolderUidNext(b):""}):f.data().useThreads()&&f.reloadFlagsCurrentMessageListAndMessageFromCache()};s.prototype.logout=function(a){this.defaultRequest(a,"Logout")};s.prototype.messageSetFlagged=function(a,b,c,d){this.defaultRequest(a,"MessageSetFlagged",{Folder:b,Uids:c.join(","),SetAction:d?"1":"0"})};s.prototype.messageSetSeen=function(a,b,c,d){this.defaultRequest(a,"MessageSetSeen",{Folder:b,Uids:c.join(","),SetAction:d?"1":"0"})};s.prototype.messageSetSeenToAll=
|
||||
function(a,b,c){this.defaultRequest(a,"MessageSetSeenToAll",{Folder:b,SetAction:c?"1":"0"})};s.prototype.saveMessage=function(a,b,c,d,f,e,g,h,i,j,m,r,p,o,s,u){this.defaultRequest(a,"SaveMessage",{MessageFolder:b,MessageUid:c,MessageID:d,DraftFolder:f,From:e,To:g,Cc:h,Bcc:i,Subject:j,TextIsHtml:m?"1":"0",Text:r,DraftInfo:o,InReplyTo:s,References:u,Attachments:p},n.Defaults.SaveMessageAjaxTimeout)};s.prototype.sendMessage=function(a,b,c,d,f,e,g,h,i,j,m,p,o,s,u,v){this.defaultRequest(a,"SendMessage",
|
||||
{MessageFolder:b,MessageUid:c,MessageID:d,SentFolder:f,From:e,To:g,Cc:h,Bcc:i,Subject:j,TextIsHtml:m?"1":"0",Text:p,DraftInfo:s,InReplyTo:u,References:v,Attachments:o},n.Defaults.SendMessageAjaxTimeout)};s.prototype.saveSystemFolders=function(a,b){this.defaultRequest(a,"SystemFoldersUpdate",b)};s.prototype.saveSettings=function(a,b){this.defaultRequest(a,"SettingsUpdate",b)};s.prototype.changePassword=function(a,b,c){this.defaultRequest(a,"ChangePassword",{PrevPassword:b,NewPassword:c})};s.prototype.folderCreate=
|
||||
function(a,b,c){this.defaultRequest(a,"FolderCreate",{Folder:b,Parent:c},null,"",["Folders"])};s.prototype.folderDelete=function(a,b){this.defaultRequest(a,"FolderDelete",{Folder:b},null,"",["Folders"])};s.prototype.folderRename=function(a,b,c){this.defaultRequest(a,"FolderRename",{Folder:b,NewFolderName:c},null,"",["Folders"])};s.prototype.folderClear=function(a,b){this.defaultRequest(a,"FolderClear",{Folder:b})};s.prototype.folderSetSubscribe=function(a,b,c){this.defaultRequest(a,"FolderSubscribe",
|
||||
{Folder:b,Subscribe:c?"1":"0"})};s.prototype.messagesMove=function(a,b,c,d){this.defaultRequest(a,"MessageMove",{FromFolder:b,ToFolder:c,Uids:d.join(",")},null,"",["MessageList","Message"])};s.prototype.messagesDelete=function(a,b,c){this.defaultRequest(a,"MessageDelete",{Folder:b,Uids:c.join(",")},null,"",["MessageList","Message"])};s.prototype.appDelayStart=function(a){this.defaultRequest(a,"AppDelayStart")};s.prototype.quota=function(a){this.defaultRequest(a,"Quota")};s.prototype.contacts=function(a,
|
||||
b){this.defaultRequest(a,"Contacts",{Search:b},null,"",["Contacts"])};s.prototype.contactSave=function(a,b,c,f,e,g){c=d.trim(c);this.defaultRequest(a,"ContactSave",{RequestUid:b,Uid:c,Name:f,Email:e,ImageData:g})};s.prototype.contactsDelete=function(a,b){this.defaultRequest(a,"ContactsDelete",{Uids:b.join(",")})};s.prototype.suggestions=function(a,b,c){this.defaultRequest(a,"Suggestions",{Query:b,Page:c},null,"",["Suggestions"])};s.prototype.servicesPics=function(a){this.defaultRequest(a,"ServicesPics")};
|
||||
s.prototype.emailsPicsHashes=function(a){this.defaultRequest(a,"EmailsPicsHashes")};s.prototype.facebookUser=function(a){this.defaultRequest(a,"SocialFacebookUserInformation")};s.prototype.facebookDisconnect=function(a){this.defaultRequest(a,"SocialFacebookDisconnect")};s.prototype.twitterUser=function(a){this.defaultRequest(a,"SocialTwitterUserInformation")};s.prototype.twitterDisconnect=function(a){this.defaultRequest(a,"SocialTwitterDisconnect")};s.prototype.googleUser=function(a){this.defaultRequest(a,
|
||||
"SocialGoogleUserInformation")};s.prototype.googleDisconnect=function(a){this.defaultRequest(a,"SocialGoogleDisconnect")};s.prototype.socialUsers=function(a){this.defaultRequest(a,"SocialUsers")};X.prototype.oEmailsPicsHashes={};X.prototype.oServices={};X.prototype.clear=function(){this.oServices={};this.oEmailsPicsHashes={}};X.prototype.getUserPic=function(a){var b="",b="",b=a.toLowerCase(),c=d.isUnd(this.oEmailsPicsHashes[a])?"":this.oEmailsPicsHashes[a];""===c?(b=b.substr(a.indexOf("@")+1),b=""!==
|
||||
b&&this.oServices[b]?this.oServices[b]:""):b=f.link().getUserPicUrlFromHash(c);return b};X.prototype.setServicesData=function(a){this.oServices=a};X.prototype.setEmailsPicsHashesData=function(a){this.oEmailsPicsHashes=a};i.extend(x.prototype,X.prototype);x.prototype.oFoldersCache={};x.prototype.oFoldersNamesCache={};x.prototype.oFolderHashCache={};x.prototype.oFolderUidNextCache={};x.prototype.oMessageListHashCache={};x.prototype.oMessageFlagsCache={};x.prototype.oBodies={};x.prototype.oNewMessage=
|
||||
{};x.prototype.oRequestedMessage={};x.prototype.clear=function(){X.prototype.clear.call(this);this.oFoldersCache={};this.oFoldersNamesCache={};this.oFolderHashCache={};this.oFolderUidNextCache={};this.oMessageListHashCache={};this.oMessageFlagsCache={};this.oBodies={}};x.prototype.getMessageKey=function(a,b){return a+"#"+b};x.prototype.addRequestedMessage=function(a,b){this.oRequestedMessage[this.getMessageKey(a,b)]=!0};x.prototype.hasRequestedMessage=function(a,b){return!0===this.oRequestedMessage[this.getMessageKey(a,
|
||||
b)]};x.prototype.addNewMessageCache=function(a,b){this.oNewMessage[this.getMessageKey(a,b)]=!0};x.prototype.hasNewMessageAndRemoveFromCache=function(a,b){return this.oNewMessage[this.getMessageKey(a,b)]?(this.oNewMessage[this.getMessageKey(a,b)]=null,!0):!1};x.prototype.clearNewMessageCache=function(){this.oNewMessage={}};x.prototype.getFolderFullNameRaw=function(a){return""!==a&&this.oFoldersNamesCache[a]?this.oFoldersNamesCache[a]:""};x.prototype.setFolderFullNameRaw=function(a,b){this.oFoldersNamesCache[a]=
|
||||
b};x.prototype.getFolderHash=function(a){return""!==a&&this.oFolderHashCache[a]?this.oFolderHashCache[a]:""};x.prototype.setFolderHash=function(a,b){this.oFolderHashCache[a]=b};x.prototype.getFolderUidNext=function(a){return""!==a&&this.oFolderUidNextCache[a]?this.oFolderUidNextCache[a]:""};x.prototype.setFolderUidNext=function(a,b){this.oFolderUidNextCache[a]=b};x.prototype.getFolderFromCacheList=function(a){return""!==a&&this.oFoldersCache[a]?this.oFoldersCache[a]:null};x.prototype.setFolderToCacheList=
|
||||
function(a,b){this.oFoldersCache[a]=b};x.prototype.removeFolderFromCacheList=function(a){this.setFolderToCacheList(a,null)};x.prototype.getMessageFlagsFromCache=function(a,b){return this.oMessageFlagsCache[a]&&this.oMessageFlagsCache[a][b]?this.oMessageFlagsCache[a][b]:null};x.prototype.setMessageFlagsToCache=function(a,b,c){this.oMessageFlagsCache[a]||(this.oMessageFlagsCache[a]={});this.oMessageFlagsCache[a][b]=c};x.prototype.clearMessageFlagsFromCacheByFolder=function(a){this.oMessageFlagsCache[a]=
|
||||
{}};x.prototype.initMessageFlagsFromCache=function(a){if(a){var b=this,c=this.getMessageFlagsFromCache(a.folderFullNameRaw,a.uid),f=null,e=null;c&&4===c.length&&(a.unseen(c[0]),a.flagged(c[1]),a.answered(c[2]),a.forwarded(c[3]));0<a.threads().length&&(f=i.find(a.threads(),function(c){return(c=b.getMessageFlagsFromCache(a.folderFullNameRaw,c))&&4===c.length&&!!c[0]}),e=i.find(a.threads(),function(c){return(c=b.getMessageFlagsFromCache(a.folderFullNameRaw,c))&&4===c.length&&!!c[1]}),a.hasUnseenSubMessage(f&&
|
||||
0<d.pInt(f)),a.hasFlaggedSubMessage(e&&0<d.pInt(e)))}};x.prototype.storeMessageFlagsToCache=function(a){a&&this.setMessageFlagsToCache(a.folderFullNameRaw,a.uid,[a.unseen(),a.flagged(),a.answered(),a.forwarded()])};x.prototype.storeMessageFlagsToCacheByFolderAndUid=function(a,b,c){d.isArray(c)&&4===c.length&&this.setMessageFlagsToCache(a,b,c)};i.extend(fa.prototype,L.prototype);fa.prototype.onRoute=function(a){var b=this,c=null,g=null,h=null,t=null;if(g=i.find(V.settings,function(b){return b&&b.__rlSettingsData&&
|
||||
a===b.__rlSettingsData.Route}))i.find(V["settings-removed"],function(a){return a&&a===g})&&(g=null),g&&i.find(V["settings-disabled"],function(a){return a&&a===g})&&(g=null);g?(g.__builded&&g.__vm?c=g.__vm:(h=this.oViewModelPlace)&&1===h.length?(c=new g,t=j("<div></div>").addClass("rl-settings-view-model").hide().attr("data-bind",'template: {name: "'+g.__rlSettingsData.Template+'"}, i18nInit: true'),t.appendTo(h),c.data=f.data(),c.viewModelDom=t,c.__rlSettingsData=g.__rlSettingsData,g.__dom=t,g.__builded=
|
||||
!0,g.__vm=c,e.applyBindings(c,t[0]),o.delegateRun(c,"onBuild",[t])):d.log("Cannot find sub settings view model position: SettingsSubScreen"),c&&i.defer(function(){if(b.oCurrentSubScreen){o.delegateRun(b.oCurrentSubScreen,"onHide");b.oCurrentSubScreen.viewModelDom.hide()}b.oCurrentSubScreen=c;if(b.oCurrentSubScreen){b.oCurrentSubScreen.viewModelDom.show();o.delegateRun(b.oCurrentSubScreen,"onShow");i.each(b.menu(),function(a){a.selected(c&&c.__rlSettingsData&&a.route===c.__rlSettingsData.Route)});
|
||||
j("#rl-content .b-settings .b-content .content").scrollTop(0)}d.windowResize()})):o.setHash(f.link().settings(),!1,!0)};fa.prototype.onHide=function(){this.oCurrentSubScreen&&this.oCurrentSubScreen.viewModelDom&&(o.delegateRun(this.oCurrentSubScreen,"onHide"),this.oCurrentSubScreen.viewModelDom.hide())};fa.prototype.onBuild=function(){i.each(V.settings,function(a){a&&(a.__rlSettingsData&&!i.find(V["settings-removed"],function(b){return b&&b===a}))&&this.menu.push({route:a.__rlSettingsData.Route,label:a.__rlSettingsData.Label,
|
||||
selected:e.observable(!1),disabled:!!i.find(V["settings-disabled"],function(b){return b&&b===a})})},this);this.oViewModelPlace=j("#rl-content #rl-settings-subscreen")};fa.prototype.routes=function(){var a=i.find(V.settings,function(a){return a&&a.__rlSettingsData&&a.__rlSettingsData.IsDefault}),b=a?a.__rlSettingsData.Route:"general",a={subname:/^(.*)$/,normalize_:function(a,f){f.subname=d.isUnd(f.subname)?b:d.pString(f.subname);return[f.subname]}};return[["{subname}/",a],["{subname}",a],["",a]]};
|
||||
i.extend(Fa.prototype,L.prototype);Fa.prototype.onShow=function(){f.setTitle(d.i18n("TITLES/LOGIN"))};i.extend(ca.prototype,L.prototype);ca.prototype.oLastRoute={};ca.prototype.onShow=function(){var a=f.data().accountEmail();f.setTitle((""===a?"":a+" - ")+d.i18n("TITLES/MAILBOX"))};ca.prototype.onRoute=function(a,b,c){var d=f.data(),a=f.cache().getFolderFullNameRaw(a);if(a=f.cache().getFolderFromCacheList(a))d.currentFolder(a).messageListPage(b).messageListSearch(c),!d.usePreviewPane()&&d.message()&&
|
||||
d.message(null),f.reloadMessageList()};ca.prototype.onStart=function(){var a=f.data(),b=function(){d.windowResize()};(f.settingsGet("AllowAdditionalAccounts")||f.settingsGet("AllowIdentities"))&&f.accountsAndIdentities();i.delay(function(){f.quota()},5E3);i.delay(function(){"INBOX"!==a.currentFolderFullNameRaw()&&f.folderInformation("INBOX")},1E3);i.delay(function(){var b=f.data().spamFolder();b!==a.currentFolderFullNameRaw()&&f.folderInformation(b)},1500);i.delay(function(){var b=f.data().draftFolder();
|
||||
b!==a.currentFolderFullNameRaw()&&f.folderInformation(b)},2E3);i.delay(function(){f.remote().appDelayStart(d.emptyFunction)},35E3);h.setInterval(function(){f.folderInformation("INBOX")},12E4);h.setInterval(function(){f.quota()},3E5);Q.toggleClass("rl-no-preview-pane",!a.usePreviewPane());a.folderList.subscribe(b);a.messageList.subscribe(b);a.message.subscribe(b);a.usePreviewPane.subscribe(function(a){Q.toggleClass("rl-no-preview-pane",!a)})};ca.prototype.onBuild=function(){m.bMobileDevice||i.defer(function(){d.initLayoutResizer("#rl-resizer-left",
|
||||
"#rl-resizer-right","#rl-right",350,800,350,350,g.ClientSideKeyName.MailBoxListSize)})};ca.prototype.routes=function(){var a=function(a,c){c[0]=d.pString(c[0]);c[1]=d.pInt(c[1]);c[1]=0>=c[1]?1:c[1];c[2]=d.pString(c[2]);""===a&&(c[0]="Inbox",c[1]=1);return[decodeURI(c[0]),c[1],decodeURI(c[2])]};return[[/^([a-zA-Z0-9]+)\/p([1-9][0-9]*)\/(.+)\/?$/,{normalize_:a}],[/^([a-zA-Z0-9]+)\/p([1-9][0-9]*)\/?$/,{normalize_:a}],[/^([a-zA-Z0-9]+)\/(.+)\/?$/,{normalize_:function(a,c){c[0]=d.pString(c[0]);c[1]=d.pString(c[1]);
|
||||
""===a&&(c[0]="Inbox");return[decodeURI(c[0]),1,decodeURI(c[1])]}}],[/^([^\/]*)$/,{normalize_:a}]]};i.extend(Qa.prototype,fa.prototype);Qa.prototype.onShow=function(){f.setTitle(this.sSettingsTitle)};i.extend(K.prototype,Ua.prototype);K.prototype.oSettings=null;K.prototype.oLink=null;K.prototype.download=function(a){var b=null,c=null;if((b=navigator.userAgent.toLowerCase())&&(-1<b.indexOf("chrome")||-1<b.indexOf("chrome")))if(b=document.createElement("a"),b.href=a,document.createEvent&&(c=document.createEvent("MouseEvents"))&&
|
||||
c.initEvent&&b.dispatchEvent)return c.initEvent("click",!0,!0),b.dispatchEvent(c),!0;m.bMobileDevice?(h.open(a,"_self"),h.focus()):this.iframe.attr("src",a);return!0};K.prototype.link=function(){null===this.oLink&&(this.oLink=new C);return this.oLink};K.prototype.local=function(){null===this.oLocal&&(this.oLocal=new xa);return this.oLocal};K.prototype.settingsGet=function(a){null===this.oSettings&&(this.oSettings=d.isNormal(Ga)?Ga:{});return d.isUnd(this.oSettings[a])?null:this.oSettings[a]};K.prototype.settingsSet=
|
||||
function(a,b){null===this.oSettings&&(this.oSettings=d.isNormal(Ga)?Ga:{});this.oSettings[a]=b};K.prototype.setTitle=function(a){a=(0<a.length?a+" - ":"")+this.settingsGet("Title")||"";a!==h.document.title&&(h.document.title=a)};K.prototype.loginAndLogoutReload=function(a,b){var c=d.pString(this.settingsGet("CustomLogoutLink")),e=!!this.settingsGet("InIframe"),a=d.isUnd(a)?!1:!!a,b=d.isUnd(b)?!1:!!b;a&&(b&&h.close)&&h.close();a&&""!==c&&h.location.href!==c?i.delay(function(){e&&h.parent?h.parent.location.href=
|
||||
c:h.location.href=c},100):(o.routeOff(),o.setHash(f.link().root(),!0),o.routeOff(),i.delay(function(){e&&h.parent?h.parent.location.reload():h.location.reload()},100))};K.prototype.getAutocomplete=function(a,b,c){c([],a)};K.prototype.bootstart=function(){d.initOnStartOrLangChange(function(){d.initNotificationLanguage()},null);i.delay(function(){d.windowResize()},1E3)};i.extend(B.prototype,K.prototype);B.prototype.oData=null;B.prototype.oRemote=null;B.prototype.oCache=null;B.prototype.data=function(){null===
|
||||
this.oData&&(this.oData=new U);return this.oData};B.prototype.remote=function(){null===this.oRemote&&(this.oRemote=new s);return this.oRemote};B.prototype.cache=function(){null===this.oCache&&(this.oCache=new x);return this.oCache};B.prototype.reloadFlagsCurrentMessageListAndMessageFromCache=function(){var a=f.cache();i.each(f.data().messageList(),function(b){a.initMessageFlagsFromCache(b)});a.initMessageFlagsFromCache(f.data().message())};B.prototype.reloadMessageList=function(a,b){var c=f.data(),
|
||||
e=(c.messageListPage()-1)*c.messagesPerPage();(d.isUnd(b)?0:b)&&f.cache().setFolderHash(c.currentFolderFullNameRaw(),"");if(d.isUnd(a)?0:a)c.messageListPage(1),e=0;c.messageListLoading(!0);f.remote().messageList(function(a,b,f){g.StorageResultType.Success===a&&b&&b.Result?(c.messageListError(""),c.messageListLoading(!1),c.setMessageList(b,f)):g.StorageResultType.Unload===a?(c.messageListError(""),c.messageListLoading(!1)):g.StorageResultType.Abort!==a&&(c.messageList([]),c.messageListLoading(!1),
|
||||
c.messageListError(b&&b.ErrorCode?d.getNotification(b.ErrorCode):d.i18n("NOTIFICATIONS/CANT_GET_MESSAGE_LIST")))},c.currentFolderFullNameRaw(),e,c.messagesPerPage(),c.messageListSearch())};B.prototype.recacheInboxMessageList=function(){f.remote().messageList(d.emptyFunction,"INBOX",0,f.data().messagesPerPage(),"",!0)};B.prototype.folders=function(a,b){this.data().foldersLoading(!0);this.remote().folders(i.bind(function(a,d,e){f.data().foldersLoading(!1);g.StorageResultType.Success===a?(this.data().setFolders(d,
|
||||
e),b&&b(!0)):b&&b(!1)},this),a)};B.prototype.accountsAndIdentities=function(){var a=f.data();a.accountsLoading(!0);a.identitiesLoading(!0);f.remote().accountsAndIdentities(function(b,c){a.accountsLoading(!1);a.identitiesLoading(!1);if(g.StorageResultType.Success===b&&c.Result){var e=f.settingsGet("ParentEmail"),h=a.accountEmail(),e=""===e?h:e;d.isArray(c.Result.Accounts)&&a.accounts(i.map(c.Result.Accounts,function(a){return new Na(a,a!==e)}));d.isArray(c.Result.Identities)&&a.identities(i.map(c.Result.Identities,
|
||||
function(a){var b=d.pString(a.Id),c=d.pString(a.Email),b=new ya(b,c,b!==h);b.name(d.pString(a.Name));b.replyTo(d.pString(a.ReplyTo));b.bcc(d.pString(a.Bcc));return b}))}})};B.prototype.quota=function(){this.remote().quota(function(a,b){g.StorageResultType.Success===a&&(b&&b.Result&&d.isArray(b.Result)&&2===b.Result.length&&d.isPosNumeric(b.Result[0],!0)&&d.isPosNumeric(b.Result[1],!0))&&(f.data().userQuota(1024*d.pInt(b.Result[1])),f.data().userUsageSize(1024*d.pInt(b.Result[0])))})};B.prototype.folderInformation=
|
||||
function(a,b){this.remote().folderInformation(function(a,b){if(g.StorageResultType.Success===a&&b&&b.Result&&b.Result.Hash&&b.Result.Folder){var e=f.cache().getFolderHash(b.Result.Folder),h=f.cache().getFolderFromCacheList(b.Result.Folder),i=!1,j="",m=[],m=!1,q=null;if(h){b.Result.Hash&&f.cache().setFolderHash(b.Result.Folder,b.Result.Hash);d.isNormal(b.Result.MessageCount)&&h.messageCountAll(b.Result.MessageCount);d.isNormal(b.Result.MessageUnseenCount)&&(d.pInt(h.messageCountUnread())!==d.pInt(b.Result.MessageUnseenCount)&&
|
||||
(m=!0),h.messageCountUnread(b.Result.MessageUnseenCount));m&&f.cache().clearMessageFlagsFromCacheByFolder(h.fullNameRaw);if(b.Result.Flags){for(j in b.Result.Flags)b.Result.Flags.hasOwnProperty(j)&&(i=!0,q=b.Result.Flags[j],f.cache().storeMessageFlagsToCacheByFolderAndUid(h.fullNameRaw,j.toString(),[!q.IsSeen,!!q.IsFlagged,!!q.IsAnswered,!!q.IsForwarded]));i&&f.reloadFlagsCurrentMessageListAndMessageFromCache()}f.data().initUidNextAndNewMessages(h.fullNameRaw,b.Result.UidNext,b.Result.NewMessages);
|
||||
b.Result.Hash!==e||""===e?h.fullNameRaw===f.data().currentFolderFullNameRaw()?f.reloadMessageList():"INBOX"===h.fullNameRaw&&f.recacheInboxMessageList():m&&h.fullNameRaw===f.data().currentFolderFullNameRaw()&&(m=f.data().messageList(),d.isNonEmptyArray(m)&&f.folderInformation(h.fullNameRaw,m))}}},a,b)};B.prototype.setMessageSeen=function(a){if(a.unseen()){a.unseen(!1);var b=f.cache().getFolderFromCacheList(a.folderFullNameRaw);b&&b.messageCountUnread(0<=b.messageCountUnread()-1?b.messageCountUnread()-
|
||||
1:0);f.cache().storeMessageFlagsToCache(a);f.reloadFlagsCurrentMessageListAndMessageFromCache()}f.remote().messageSetSeen(d.emptyFunction,a.folderFullNameRaw,[a.uid],!0)};B.prototype.googleConnect=function(){h.open(f.link().socialGoogle(),"Google","left=200,top=100,width=650,height=600,menubar=no,status=no,resizable=yes,scrollbars=yes")};B.prototype.twitterConnect=function(){h.open(f.link().socialTwitter(),"Twitter","left=200,top=100,width=650,height=350,menubar=no,status=no,resizable=yes,scrollbars=yes")};
|
||||
B.prototype.facebookConnect=function(){h.open(f.link().socialFacebook(),"Facebook","left=200,top=100,width=650,height=335,menubar=no,status=no,resizable=yes,scrollbars=yes")};B.prototype.socialUsers=function(a){var b=f.data();a&&(b.googleActions(!0),b.facebookActions(!0),b.twitterActions(!0));f.remote().socialUsers(function(a,d){if(g.StorageResultType.Success===a&&d&&d.Result){b.googleUserName(d.Result.Google||"");b.facebookUserName(d.Result.Facebook||"");b.twitterUserName(d.Result.Twitter||"")}else{b.googleUserName("");
|
||||
b.facebookUserName("");b.twitterUserName("")}b.googleLoggined(""!==b.googleUserName());b.facebookLoggined(""!==b.facebookUserName());b.twitterLoggined(""!==b.twitterUserName());b.googleActions(false);b.facebookActions(false);b.twitterActions(false)})};B.prototype.googleDisconnect=function(){f.data().googleActions(!0);f.remote().googleDisconnect(function(){f.socialUsers()})};B.prototype.facebookDisconnect=function(){f.data().facebookActions(!0);f.remote().facebookDisconnect(function(){f.socialUsers()})};
|
||||
B.prototype.twitterDisconnect=function(){f.data().twitterActions(!0);f.remote().twitterDisconnect(function(){f.socialUsers()})};B.prototype.folderListOptionsBuilder=function(a,b,c,e,i,j,m,l,p,q){var o=0,r=0,n=null,s=[],p=!d.isNormal(p)?0<a.length:p,q=d.isUnd(q)?!1:!!q,i=!d.isNormal(i)?0:i,j=d.isNormal(j)?j:null,m=d.isNormal(m)?m:null,l=d.isNormal(l)?l:null;d.isArray(c)||(c=[]);d.isArray(e)||(e=[]);o=0;for(r=e.length;o<r;o++)s.push({id:e[o][0],name:e[o][1],disable:!1});o=0;for(r=a.length;o<r;o++)if(n=
|
||||
a[o],m?m.call(null,n):1)s.push({id:n.fullNameRaw,system:!0,name:l?l.call(null,n):n.name(),disable:!n.selectable||-1<d.inArray(n.fullNameRaw,c)||(j?j.call(null,n):!1)});o=0;for(r=b.length;o<r;o++){n=b[o];if(!n.isGmailFolder&&(n.subScribed()||!n.existen))if(m?m.call(null,n):1)if(g.FolderType.User===n.type()||!p||!n.isNamespaceFolder&&0<n.subFolders().length)s.push({id:n.fullNameRaw,system:!1,name:(new h.Array(n.deep+1-i)).join("\u00a0\u00a0\u00a0")+(l?l.call(null,n):n.name()),disable:!n.selectable||
|
||||
-1<d.inArray(n.fullNameRaw,c)||g.FolderType.User!==n.type()||(j?j.call(null,n):!1)});n.subScribed()&&0<n.subFolders().length&&(s=s.concat(f.folderListOptionsBuilder([],n.subFolders(),c,[],n.isUnpaddigFolder?i+1:i,j,m,l,p,q)))}return s};B.prototype.getAutocomplete=function(a,b,c){var e=[];f.remote().suggestions(function(a,b){g.StorageResultType.Success===a&&b&&b.Result&&d.isArray(b.Result.List)?(e=i.map(b.Result.List,function(a){return a&&a[0]?new G(a[0],a[1]):null}),c(i.compact(e),!!b.Result.More)):
|
||||
g.StorageResultType.Abort!==a&&c([],!1)},a,b)};B.prototype.emailsPicsHashes=function(){f.remote().emailsPicsHashes(function(a,b){g.StorageResultType.Success===a&&(b&&b.Result)&&f.cache().setEmailsPicsHashesData(b.Result)})};B.prototype.bootstart=function(){K.prototype.bootstart.call(this);f.data().populateDataOnStart();var a="",b=this.settingsGet("JsHash"),c=this.settingsGet("AllowGoogleSocial"),e=this.settingsGet("AllowFacebookSocial"),n=this.settingsGet("AllowTwitterSocial");this.settingsGet("RemoteChangePassword")||
|
||||
d.removeSettingsViewModel(Ea);this.settingsGet("AllowAdditionalAccounts")||d.removeSettingsViewModel(Da);this.settingsGet("AllowIdentities")?d.removeSettingsViewModel(Oa):d.removeSettingsViewModel(la);!c&&(!e&&!n)&&d.removeSettingsViewModel(Xa);this.settingsGet("AllowThemes")||d.removeSettingsViewModel(qa);d.initOnStartOrLangChange(function(){j.extend(!0,j.magnificPopup.defaults,{tClose:d.i18n("MAGNIFIC_POPUP/CLOSE"),tLoading:d.i18n("MAGNIFIC_POPUP/LOADING"),gallery:{tPrev:d.i18n("MAGNIFIC_POPUP/GALLERY_PREV"),
|
||||
tNext:d.i18n("MAGNIFIC_POPUP/GALLERY_NEXT"),tCounter:d.i18n("MAGNIFIC_POPUP/GALLERY_COUNTER")},image:{tError:d.i18n("MAGNIFIC_POPUP/IMAGE_ERROR")},ajax:{tError:d.i18n("MAGNIFIC_POPUP/AJAX_ERROR")}})},this);h.SimplePace&&(h.SimplePace.set(70),h.SimplePace.sleep());this.settingsGet("Auth")?(this.setTitle(d.i18n("TITLES/LOADING")),this.folders(!0,i.bind(function(a){o.hideLoading();if(a){o.startScreens([ca,Qa]);Ha.on("mousedown","#rl-center a",function(a){if(a&&3!==a.which){var a=null,b=j(this).attr("href");
|
||||
if(b&&"mailto:"===b.toString().toLowerCase().substr(0,7)){a=new G;a.parse(h.decodeURI(b.toString().substr(7)));if(a&&a.email){o.showScreenPopup(z,[g.ComposeType.Empty,null,[a]]);return false}}}return true});(c||e||n)&&f.socialUsers(true);i.delay(function(){f.emailsPicsHashes();f.remote().servicesPics(function(a,b){g.StorageResultType.Success===a&&(b&&b.Result)&&f.cache().setServicesData(b.Result)})},1E3);y.runHook("rl-start-user-screens")}else{o.startScreens([Fa]);y.runHook("rl-start-login-screens")}h.SimplePace&&
|
||||
h.SimplePace.set(100);m.bMobileDevice||i.defer(function(){d.initLayoutResizer("#rl-top-resizer-left","#rl-top-resizer-right","#rl-center",120,300,200,600,g.ClientSideKeyName.FolderListSize)})},this))):(a=d.pString(this.settingsGet("CustomLoginLink")))?(o.routeOff(),o.setHash(f.link().root(),!0),o.routeOff(),i.defer(function(){h.location.href=a})):(o.hideLoading(),o.startScreens([Fa]),y.runHook("rl-start-login-screens"),h.SimplePace&&h.SimplePace.set(100));c&&(h["rl_"+b+"_google_service"]=function(){f.data().googleActions(true);
|
||||
f.socialUsers()});e&&(h["rl_"+b+"_facebook_service"]=function(){f.data().facebookActions(true);f.socialUsers()});n&&(h["rl_"+b+"_twitter_service"]=function(){f.data().twitterActions(true);f.socialUsers()});y.runHook("rl-start-screens")};f=new B;Q.addClass(m.bMobileDevice?"mobile":"no-mobile");R.keydown(d.killCtrlAandS).keyup(d.killCtrlAandS);R.unload(function(){m.bUnload=!0});h.rl=h.rl||{};h.rl.addHook=y.addHook;h.rl.settingsGet=y.mainSettingsGet;h.rl.remoteRequest=y.remoteRequest;h.rl.pluginSettingsGet=
|
||||
y.settingsGet;h.rl.addSettingsViewModel=d.addSettingsViewModel;h.rl.createCommand=d.createCommand;h.rl.EmailModel=G;h.rl.Enums=g;h.__RLBOOT=function(a){j(function(){h.rainloopTEMPLATES&&h.rainloopTEMPLATES[0]?(j("#rl-templates").html(h.rainloopTEMPLATES[0]),h.setInterval(function(){m.minuteTick(!m.minuteTick())},6E4),h.setInterval(function(){m.fiveMinuteTick(!m.fiveMinuteTick())},3E5),i.delay(function(){h.rainloopAppData={};h.rainloopI18N={};h.rainloopTEMPLATES={};o.setBoot(f).bootstart();Q.addClass("rl-started")},
|
||||
50)):a(!1);h.__RLBOOT=null})};h.SimplePace&&h.SimplePace.add(10)})(window,jQuery,ko,crossroads,hasher,moment,Jua,_);
|
||||
266
rainloop/v/1.3.10.492/static/js/libs.js
Normal file
BIN
rainloop/v/1.3.10.492/static/services/amazon.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
rainloop/v/1.3.10.492/static/services/apple.jpg
Normal file
|
After Width: | Height: | Size: 807 B |
BIN
rainloop/v/1.3.10.492/static/services/asana.png
Normal file
|
After Width: | Height: | Size: 995 B |
BIN
rainloop/v/1.3.10.492/static/services/battle.net.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
rainloop/v/1.3.10.492/static/services/cnet.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
rainloop/v/1.3.10.492/static/services/ea.png
Normal file
|
After Width: | Height: | Size: 6 KiB |
BIN
rainloop/v/1.3.10.492/static/services/ebay.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
rainloop/v/1.3.10.492/static/services/facebook.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
rainloop/v/1.3.10.492/static/services/github.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
rainloop/v/1.3.10.492/static/services/google-plus.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
rainloop/v/1.3.10.492/static/services/google.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
rainloop/v/1.3.10.492/static/services/icloud.jpg
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
rainloop/v/1.3.10.492/static/services/microsoft.jpg
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
rainloop/v/1.3.10.492/static/services/myspace.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
rainloop/v/1.3.10.492/static/services/onlive.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
rainloop/v/1.3.10.492/static/services/paypal.jpg
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
rainloop/v/1.3.10.492/static/services/skype.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
rainloop/v/1.3.10.492/static/services/steam.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
rainloop/v/1.3.10.492/static/services/ted.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
rainloop/v/1.3.10.492/static/services/twitter.jpg
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
rainloop/v/1.3.10.492/static/services/youtube.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |