diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3fa1ce3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules + +bower_components +build \ No newline at end of file diff --git a/bower.json b/bower.json index b478dfe..14f0bb8 100644 --- a/bower.json +++ b/bower.json @@ -14,9 +14,13 @@ "normalize.css": "*", "jquery": "2.*", "slick-carousel": "^1.5.9", - "normalize-scss": "normalize.scss#^4.0.3" + "normalize-scss": "normalize.scss#^4.0.3", + "fontawesome": "fontawesome#^4.6.3", + "font-awesome": "fontawesome#^4.6.3" }, "authors": [ "codeandrey " - ] + ], + "homepage": "https://github.com/codeandrey/frontend", + "moduleType": [] } diff --git a/gulpfile.js b/gulpfile.js index 44c85b0..a6837de 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,21 +23,24 @@ var path = { js: 'build/js/', css: 'build/css/', img: 'build/img/', - fonts: 'build/fonts/' + fonts: 'build/fonts/', + libs: 'build/libs/' }, src: { html: 'src/*.html', js: 'src/js/**/*.js', style: 'src/sass/main.sass', img: 'src/img/**/*.*', - fonts: 'src/fonts/**/*.*' + fonts: 'src/fonts/**/*.*', + libs: 'src/libs/**/*.*' }, watch: { html: 'src/**/*.html', js: 'src/js/**/*.js', style: 'src/sass/**/*.sass', img: 'src/img/**/*.*', - fonts: 'src/fonts/**/*.*' + fonts: 'src/fonts/**/*.*', + libs: 'src/libs/**/*.*' }, clean: './build' }; @@ -82,7 +85,7 @@ gulp.task('style:build', function () { .pipe(sass({ includePaths: ['src/sass/'], outputStyle: 'compressed', - sourceMap: true, + sourceMap: false, errLogToConsole: false })) .pipe(prefixer()) @@ -109,29 +112,48 @@ gulp.task('fonts:build', function() { .pipe(gulp.dest(path.build.fonts)) }); +gulp.task('libs:build', function() { + gulp.src(path.src.libs) + .pipe(gulp.dest(path.build.libs)) +}); gulp.task('sprite', function() { var spriteData = gulp.src('./src/images_sprite/*.png') // путь, откуда берем картинки для спрайта .pipe(spritesmith({ algorithm: 'top-down', //алгоритм створення спрайта top-down left-right diagonal alt-diagonal binary-tree padding: 10, //отступ між картинками в спрайті - imgName: 'sprite.png', + imgName: '../img/sprite.png', cssName: 'sprite.css', - })); + })) - spriteData.img.pipe(gulp.dest('./src/img/')); // путь, куда сохраняем картинку + spriteData.img.pipe(gulp.dest('build/img/')); // путь, куда сохраняем картинку spriteData.css.pipe(gulp.dest('build/css/')); // путь, куда сохраняем стили -}); + }); -gulp.task('build', [ +gulp.task('allcss:build', function() { +gulp.src('build/css/*.css') + .pipe(cssmin()) + .pipe(concat('style.min.css')) + .pipe(gulp.dest('build/css/')) + .pipe(reload({stream: true})); + }); + + +gulp.task('buildall', ['build'], function() { +return gulp.start('allcss:build'); }); + +gulp.task('build', ['clean'], function() { + return gulp.start( + 'sprite', 'html:build', 'js:build', 'style:build', 'fonts:build', + 'libs:build', 'image:build' -]); - + ); +}); gulp.task('html', function () { gulp.src(path.src.html) .pipe(rigger()) @@ -170,4 +192,6 @@ gulp.task('watch', function(){ }); -gulp.task('default', ['sprite', 'build', 'webserver', 'watch']); \ No newline at end of file +gulp.task('default', ['buildall'], function() { + return gulp.start( 'webserver', 'watch'); +}); \ No newline at end of file diff --git a/help/fonts/Lato.png b/help/fonts/Lato.png new file mode 100644 index 0000000..811f5c9 Binary files /dev/null and b/help/fonts/Lato.png differ diff --git a/help/fonts/LatoBold/LatoBold.eot b/help/fonts/LatoBold/LatoBold.eot new file mode 100644 index 0000000..e3c491f Binary files /dev/null and b/help/fonts/LatoBold/LatoBold.eot differ diff --git a/help/fonts/LatoBold/LatoBold.ttf b/help/fonts/LatoBold/LatoBold.ttf new file mode 100644 index 0000000..6f0787a Binary files /dev/null and b/help/fonts/LatoBold/LatoBold.ttf differ diff --git a/help/fonts/LatoBold/LatoBold.woff b/help/fonts/LatoBold/LatoBold.woff new file mode 100644 index 0000000..8471729 Binary files /dev/null and b/help/fonts/LatoBold/LatoBold.woff differ diff --git a/help/fonts/LatoBoldItalic/LatoBoldItalic.eot b/help/fonts/LatoBoldItalic/LatoBoldItalic.eot new file mode 100644 index 0000000..d9f71a4 Binary files /dev/null and b/help/fonts/LatoBoldItalic/LatoBoldItalic.eot differ diff --git a/help/fonts/LatoBoldItalic/LatoBoldItalic.ttf b/help/fonts/LatoBoldItalic/LatoBoldItalic.ttf new file mode 100644 index 0000000..e1bfa35 Binary files /dev/null and b/help/fonts/LatoBoldItalic/LatoBoldItalic.ttf differ diff --git a/help/fonts/LatoBoldItalic/LatoBoldItalic.woff b/help/fonts/LatoBoldItalic/LatoBoldItalic.woff new file mode 100644 index 0000000..9721a93 Binary files /dev/null and b/help/fonts/LatoBoldItalic/LatoBoldItalic.woff differ diff --git a/help/fonts/LatoHairline.ttf b/help/fonts/LatoHairline.ttf new file mode 100644 index 0000000..dd22f75 Binary files /dev/null and b/help/fonts/LatoHairline.ttf differ diff --git a/help/fonts/LatoItalic/LatoItalic.eot b/help/fonts/LatoItalic/LatoItalic.eot new file mode 100644 index 0000000..1cbb07e Binary files /dev/null and b/help/fonts/LatoItalic/LatoItalic.eot differ diff --git a/help/fonts/LatoItalic/LatoItalic.ttf b/help/fonts/LatoItalic/LatoItalic.ttf new file mode 100644 index 0000000..a31d9a3 Binary files /dev/null and b/help/fonts/LatoItalic/LatoItalic.ttf differ diff --git a/help/fonts/LatoItalic/LatoItalic.woff b/help/fonts/LatoItalic/LatoItalic.woff new file mode 100644 index 0000000..f7172e5 Binary files /dev/null and b/help/fonts/LatoItalic/LatoItalic.woff differ diff --git a/help/fonts/LatoLight/LatoLight.eot b/help/fonts/LatoLight/LatoLight.eot new file mode 100644 index 0000000..a619ac8 Binary files /dev/null and b/help/fonts/LatoLight/LatoLight.eot differ diff --git a/help/fonts/LatoLight/LatoLight.ttf b/help/fonts/LatoLight/LatoLight.ttf new file mode 100644 index 0000000..35d78cd Binary files /dev/null and b/help/fonts/LatoLight/LatoLight.ttf differ diff --git a/help/fonts/LatoLight/LatoLight.woff b/help/fonts/LatoLight/LatoLight.woff new file mode 100644 index 0000000..dc37683 Binary files /dev/null and b/help/fonts/LatoLight/LatoLight.woff differ diff --git a/help/fonts/LatoLightItalic/LatoLightItalic.eot b/help/fonts/LatoLightItalic/LatoLightItalic.eot new file mode 100644 index 0000000..241de2b Binary files /dev/null and b/help/fonts/LatoLightItalic/LatoLightItalic.eot differ diff --git a/help/fonts/LatoLightItalic/LatoLightItalic.ttf b/help/fonts/LatoLightItalic/LatoLightItalic.ttf new file mode 100644 index 0000000..7fdb790 Binary files /dev/null and b/help/fonts/LatoLightItalic/LatoLightItalic.ttf differ diff --git a/help/fonts/LatoLightItalic/LatoLightItalic.woff b/help/fonts/LatoLightItalic/LatoLightItalic.woff new file mode 100644 index 0000000..c8befdf Binary files /dev/null and b/help/fonts/LatoLightItalic/LatoLightItalic.woff differ diff --git a/help/fonts/LatoRegular/LatoRegular.eot b/help/fonts/LatoRegular/LatoRegular.eot new file mode 100644 index 0000000..991aba2 Binary files /dev/null and b/help/fonts/LatoRegular/LatoRegular.eot differ diff --git a/help/fonts/LatoRegular/LatoRegular.ttf b/help/fonts/LatoRegular/LatoRegular.ttf new file mode 100644 index 0000000..1d8baa4 Binary files /dev/null and b/help/fonts/LatoRegular/LatoRegular.ttf differ diff --git a/help/fonts/LatoRegular/LatoRegular.woff b/help/fonts/LatoRegular/LatoRegular.woff new file mode 100644 index 0000000..be80c0e Binary files /dev/null and b/help/fonts/LatoRegular/LatoRegular.woff differ diff --git a/help/fonts/font.txt b/help/fonts/font.txt new file mode 100644 index 0000000..97a24d5 --- /dev/null +++ b/help/fonts/font.txt @@ -0,0 +1,61 @@ +/* /css/stylename.css */ +/* font-family: "LatoRegular"; */ +@font-face { + font-family: "LatoRegular"; + src: url("../fonts/LatoRegular/LatoRegular.eot"); + src: url("../fonts/LatoRegular/LatoRegular.eot?#iefix")format("embedded-opentype"), + url("../fonts/LatoRegular/LatoRegular.woff") format("woff"), + url("../fonts/LatoRegular/LatoRegular.ttf") format("truetype"); + font-style: normal; + font-weight: normal; +} +/* font-family: "LatoBold"; */ +@font-face { + font-family: "LatoBold"; + src: url("../fonts/LatoBold/LatoBold.eot"); + src: url("../fonts/LatoBold/LatoBold.eot?#iefix")format("embedded-opentype"), + url("../fonts/LatoBold/LatoBold.woff") format("woff"), + url("../fonts/LatoBold/LatoBold.ttf") format("truetype"); + font-style: normal; + font-weight: normal; +} +/* font-family: "LatoItalic"; */ +@font-face { + font-family: "LatoItalic"; + src: url("../fonts/LatoItalic/LatoItalic.eot"); + src: url("../fonts/LatoItalic/LatoItalic.eot?#iefix")format("embedded-opentype"), + url("../fonts/LatoItalic/LatoItalic.woff") format("woff"), + url("../fonts/LatoItalic/LatoItalic.ttf") format("truetype"); + font-style: normal; + font-weight: normal; +} +/* font-family: "LatoLight"; */ +@font-face { + font-family: "LatoLight"; + src: url("../fonts/LatoLight/LatoLight.eot"); + src: url("../fonts/LatoLight/LatoLight.eot?#iefix")format("embedded-opentype"), + url("../fonts/LatoLight/LatoLight.woff") format("woff"), + url("../fonts/LatoLight/LatoLight.ttf") format("truetype"); + font-style: normal; + font-weight: normal; +} +/* font-family: "LatoBoldItalic"; */ +@font-face { + font-family: "LatoBoldItalic"; + src: url("../fonts/LatoBoldItalic/LatoBoldItalic.eot"); + src: url("../fonts/LatoBoldItalic/LatoBoldItalic.eot?#iefix")format("embedded-opentype"), + url("../fonts/LatoBoldItalic/LatoBoldItalic.woff") format("woff"), + url("../fonts/LatoBoldItalic/LatoBoldItalic.ttf") format("truetype"); + font-style: normal; + font-weight: normal; +} +/* font-family: "LatoLightItalic"; */ +@font-face { + font-family: "LatoLightItalic"; + src: url("../fonts/LatoLightItalic/LatoLightItalic.eot"); + src: url("../fonts/LatoLightItalic/LatoLightItalic.eot?#iefix")format("embedded-opentype"), + url("../fonts/LatoLightItalic/LatoLightItalic.woff") format("woff"), + url("../fonts/LatoLightItalic/LatoLightItalic.ttf") format("truetype"); + font-style: normal; + font-weight: normal; +} diff --git a/help/fonts/readme.txt b/help/fonts/readme.txt new file mode 100644 index 0000000..895db94 --- /dev/null +++ b/help/fonts/readme.txt @@ -0,0 +1,40 @@ +Congratulations, you have successfully downloaded font file! + +This font is provided to you by Fonts2u.com – the largest online +repository of free fonts for Windows and Mac. + + + +How to install this font on your computer? + +For Windows 7 / Vista users: + +- Right-click the font file(s) and choose "Install". + +For users of the previous Windows versions: + +- Copy the included file(s) into a default Windows font folder + (usually C:\WINDOWS\FONTS or C:\WINNT\FONTS) + +For Mac users: + +Mac OS X 10.3 or above (including the FontBook) + +- Double-click the font file and hit "Install font" button at + the bottom of the preview. + +Mac OS X + +- Either copy the font file(s) to /Library/Fonts (for all users), + or to /Users/Your_username/Library/Fonts (for you only). + +Mac OS 9 or earlier + +- You have to convert the font file(s) you have downloaded. + Drag the font suitcases into the System folder. The system + will propose you to add them to the Fonts folder. + +For Linux users: + +- Copy the font file(s) to /USR/SHARE/FONTS + diff --git a/hotkeys (1).jpg b/hotkeys (1).jpg new file mode 100644 index 0000000..2d424dd Binary files /dev/null and b/hotkeys (1).jpg differ diff --git a/src/fonts/LatoBold/LatoBold.eot b/src/fonts/LatoBold/LatoBold.eot new file mode 100644 index 0000000..e3c491f Binary files /dev/null and b/src/fonts/LatoBold/LatoBold.eot differ diff --git a/src/fonts/LatoBold/LatoBold.ttf b/src/fonts/LatoBold/LatoBold.ttf new file mode 100644 index 0000000..6f0787a Binary files /dev/null and b/src/fonts/LatoBold/LatoBold.ttf differ diff --git a/src/fonts/LatoBold/LatoBold.woff b/src/fonts/LatoBold/LatoBold.woff new file mode 100644 index 0000000..8471729 Binary files /dev/null and b/src/fonts/LatoBold/LatoBold.woff differ diff --git a/src/fonts/LatoHairline/LatoHairline.eot b/src/fonts/LatoHairline/LatoHairline.eot new file mode 100644 index 0000000..2323483 Binary files /dev/null and b/src/fonts/LatoHairline/LatoHairline.eot differ diff --git a/src/fonts/LatoHairline/LatoHairline.ttf b/src/fonts/LatoHairline/LatoHairline.ttf new file mode 100644 index 0000000..dd22f75 Binary files /dev/null and b/src/fonts/LatoHairline/LatoHairline.ttf differ diff --git a/src/fonts/LatoHairline/LatoHairline.woff b/src/fonts/LatoHairline/LatoHairline.woff new file mode 100644 index 0000000..01c8e39 Binary files /dev/null and b/src/fonts/LatoHairline/LatoHairline.woff differ diff --git a/src/fonts/LatoLight/LatoLight.eot b/src/fonts/LatoLight/LatoLight.eot new file mode 100644 index 0000000..a619ac8 Binary files /dev/null and b/src/fonts/LatoLight/LatoLight.eot differ diff --git a/src/fonts/LatoLight/LatoLight.ttf b/src/fonts/LatoLight/LatoLight.ttf new file mode 100644 index 0000000..35d78cd Binary files /dev/null and b/src/fonts/LatoLight/LatoLight.ttf differ diff --git a/src/fonts/LatoLight/LatoLight.woff b/src/fonts/LatoLight/LatoLight.woff new file mode 100644 index 0000000..dc37683 Binary files /dev/null and b/src/fonts/LatoLight/LatoLight.woff differ diff --git a/src/fonts/LatoRegular/LatoRegular.eot b/src/fonts/LatoRegular/LatoRegular.eot new file mode 100644 index 0000000..991aba2 Binary files /dev/null and b/src/fonts/LatoRegular/LatoRegular.eot differ diff --git a/src/fonts/LatoRegular/LatoRegular.ttf b/src/fonts/LatoRegular/LatoRegular.ttf new file mode 100644 index 0000000..1d8baa4 Binary files /dev/null and b/src/fonts/LatoRegular/LatoRegular.ttf differ diff --git a/src/fonts/LatoRegular/LatoRegular.woff b/src/fonts/LatoRegular/LatoRegular.woff new file mode 100644 index 0000000..be80c0e Binary files /dev/null and b/src/fonts/LatoRegular/LatoRegular.woff differ diff --git a/src/fonts/OpenSans-Regular.ttf b/src/fonts/OpenSans-Regular.ttf deleted file mode 100644 index db43334..0000000 Binary files a/src/fonts/OpenSans-Regular.ttf and /dev/null differ diff --git a/src/images_sprite/comp.png b/src/images_sprite/comp.png new file mode 100644 index 0000000..8525401 Binary files /dev/null and b/src/images_sprite/comp.png differ diff --git a/src/images_sprite/creative.png b/src/images_sprite/creative.png new file mode 100644 index 0000000..dd23461 Binary files /dev/null and b/src/images_sprite/creative.png differ diff --git a/src/images_sprite/facebook-hover.png b/src/images_sprite/facebook-hover.png new file mode 100644 index 0000000..19b832f Binary files /dev/null and b/src/images_sprite/facebook-hover.png differ diff --git a/src/images_sprite/facebook.png b/src/images_sprite/facebook.png new file mode 100644 index 0000000..01033d6 Binary files /dev/null and b/src/images_sprite/facebook.png differ diff --git a/src/images_sprite/g-plus.png b/src/images_sprite/g-plus.png new file mode 100644 index 0000000..ef7d431 Binary files /dev/null and b/src/images_sprite/g-plus.png differ diff --git a/src/images_sprite/in.png b/src/images_sprite/in.png new file mode 100644 index 0000000..cbfc914 Binary files /dev/null and b/src/images_sprite/in.png differ diff --git a/src/images_sprite/labels.png b/src/images_sprite/labels.png new file mode 100644 index 0000000..d4a2ab8 Binary files /dev/null and b/src/images_sprite/labels.png differ diff --git a/src/images_sprite/labs.png b/src/images_sprite/labs.png new file mode 100644 index 0000000..df2dc60 Binary files /dev/null and b/src/images_sprite/labs.png differ diff --git a/src/images_sprite/map.png b/src/images_sprite/map.png new file mode 100644 index 0000000..37f6337 Binary files /dev/null and b/src/images_sprite/map.png differ diff --git a/src/images_sprite/mute.png b/src/images_sprite/mute.png new file mode 100644 index 0000000..d60051d Binary files /dev/null and b/src/images_sprite/mute.png differ diff --git a/src/images_sprite/paint.png b/src/images_sprite/paint.png new file mode 100644 index 0000000..2994695 Binary files /dev/null and b/src/images_sprite/paint.png differ diff --git a/src/images_sprite/pause.png b/src/images_sprite/pause.png new file mode 100644 index 0000000..1a3abe1 Binary files /dev/null and b/src/images_sprite/pause.png differ diff --git a/src/images_sprite/play.png b/src/images_sprite/play.png new file mode 100644 index 0000000..383e086 Binary files /dev/null and b/src/images_sprite/play.png differ diff --git a/src/images_sprite/play_while.png b/src/images_sprite/play_while.png new file mode 100644 index 0000000..526e14e Binary files /dev/null and b/src/images_sprite/play_while.png differ diff --git a/src/images_sprite/premium.png b/src/images_sprite/premium.png new file mode 100644 index 0000000..769880f Binary files /dev/null and b/src/images_sprite/premium.png differ diff --git a/src/images_sprite/speach.png b/src/images_sprite/speach.png new file mode 100644 index 0000000..94dd080 Binary files /dev/null and b/src/images_sprite/speach.png differ diff --git a/src/images_sprite/twitter.png b/src/images_sprite/twitter.png new file mode 100644 index 0000000..49ef841 Binary files /dev/null and b/src/images_sprite/twitter.png differ diff --git a/src/images_sprite/volumute.png b/src/images_sprite/volumute.png new file mode 100644 index 0000000..9b80fea Binary files /dev/null and b/src/images_sprite/volumute.png differ diff --git a/src/img/bg_contact.png b/src/img/bg_contact.png new file mode 100644 index 0000000..82292e7 Binary files /dev/null and b/src/img/bg_contact.png differ diff --git a/src/img/bg_header.png b/src/img/bg_header.png new file mode 100644 index 0000000..3d2a6e1 Binary files /dev/null and b/src/img/bg_header.png differ diff --git a/src/img/pf01.jpg b/src/img/pf01.jpg new file mode 100644 index 0000000..0930d3d Binary files /dev/null and b/src/img/pf01.jpg differ diff --git a/src/img/pf02.jpg b/src/img/pf02.jpg new file mode 100644 index 0000000..f12d195 Binary files /dev/null and b/src/img/pf02.jpg differ diff --git a/src/img/pf03.jpg b/src/img/pf03.jpg new file mode 100644 index 0000000..eab8e36 Binary files /dev/null and b/src/img/pf03.jpg differ diff --git a/src/img/pf04.jpg b/src/img/pf04.jpg new file mode 100644 index 0000000..69a60fb Binary files /dev/null and b/src/img/pf04.jpg differ diff --git a/src/img/pf05.jpg b/src/img/pf05.jpg new file mode 100644 index 0000000..7afe367 Binary files /dev/null and b/src/img/pf05.jpg differ diff --git a/src/img/pf06.jpg b/src/img/pf06.jpg new file mode 100644 index 0000000..4918a09 Binary files /dev/null and b/src/img/pf06.jpg differ diff --git a/src/img/pf07.jpg b/src/img/pf07.jpg new file mode 100644 index 0000000..38cf35d Binary files /dev/null and b/src/img/pf07.jpg differ diff --git a/src/img/pf08.jpg b/src/img/pf08.jpg new file mode 100644 index 0000000..22f3d6c Binary files /dev/null and b/src/img/pf08.jpg differ diff --git a/src/img/sprite.png b/src/img/sprite.png new file mode 100644 index 0000000..820d81a Binary files /dev/null and b/src/img/sprite.png differ diff --git a/src/index.html b/src/index.html index 9fd7954..42c5dbc 100644 --- a/src/index.html +++ b/src/index.html @@ -12,49 +12,344 @@ Frontend Hcode - - + + + -
-
+ -
-

This is a header

-

Lorem ipsum dolor sit amet, error numquam pertinax qui ea, sit veri atqui periculis ex. Cu his paulo ubique, at sed quaeque eripuit appareat, et pro diceret fierent. Ei pri feugiat aliquando, vel altera platonem ea. Per harum viris id.

- -
- -
-
    -
  • -
  • -
  • -
  • -
  • +
+ +
+
+
+

You can use IMAGE, VIDEO, ANIMATION as Banner

+

CREATIVE DESIGN & POERFULL CODING

+

PHP | HTML5 | CSS3 | JAVASCRIPT | MOTION GRAPHICS

+ + +
+
+
+
+ +
+ + +
+
+
+
+ +
+ Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola per. In erant minimum qui. Inani diceret percipit te has. + Amet aliquid neglegentur et his. Quem probo no eam, at vim rebum summo scripta. Sit expetenda assentior ei. Lorem indoctum sea no. Vel ne noster ullamcorper, case oratio soleat vix . +
+
+ Eos ne sint sanctus splendide, nulla libris utroque ut vim. Nam gloriatur moderatius an. Populo vocibus docendi vis no, hinc scaevola his ei. Ne vel augue diceret. Ut exerci salutatus cum. + Tota liber eirmod mel ei. Id habemus perpetua eam. Et accumsan vivendum inciderint nec, exerci facete mea at, ut sed elit dicam corrumpit. Numquam sensibus efficiendi pri at. + At mel alii melius iuvaret, tale timeam suavitate per ad, offendit gubergren ex pro. Veritus percipitur ei mel, ut fabulas nusquam sensibus has. Vel vidisse moderatius ad, ei case putant facilis sit, te doctus salutandi referrentur sed. Mei no malis definitiones, mel dicunt phaedrum at. +
+ +
+
+
+
+
+ Team +
+
+ Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola per. In erant minimum qui. Inani diceret percipit te has.Amet aliquid neglegentur et his. Quem probo no eam, at vim rebum summo scripta. Sit expetenda assentior ei. Lorem indoctum sea no. Vel ne noster ullamcorper, case oratio soleat vix . +
+
    +
  • + +
    DM ROBI
    + cEO | FOUNDER +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola

    +
    +
      +
    • +
    • +
    +
    +
    +
  • +
  • + +
    DM ROBI
    + cEO | FOUNDER +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola

    +
    +
      +
    • +
    • +
    +
    +
    +
  • +
  • + +
    DM ROBI
    + cEO | FOUNDER +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola

    +
    +
      +
    • +
    • +
    +
    +
    +
  • +
  • +
    + +
    +
    DM ROBI
    + cEO | FOUNDER +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit enserit. Ex atqui scaevola

    +
    +
      +
    • +
    • +
    +
    +
    +
    +
  • +
+
+
+
+
+ +
    +
  • +
    +
    +
    + +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola per. In erant minimum qui. Inani diceret percipit te has.

    +
  • +
  • +
    +
    +
    + +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola per. In erant minimum qui. Inani diceret percipit te has.

    +
  • +
  • +
    +
    +
    + +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola per. In erant minimum qui. Inani diceret percipit te has.

    +
  • +
  • +
    +
    +
    + +

    Lorem ipsum dolor sit amet, nostro malorum molestie et qui, nec eu wisi offendit senserit. Ex atqui scaevola per. In erant minimum qui. Inani diceret percipit te has.

    +
  • +
+
+
+
+ +
+
+ +
+
    +
  • +
  • +
  • +
  • +
+
+
+
+ + + + Send +
+
+
+ + + + \ No newline at end of file diff --git a/src/js/main.js b/src/js/main.js index ec0d9be..fde16c1 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -1,10 +1,16 @@ $(document).ready(function(){ + //Асинхронная загрузка CSS +$("head").append(""); +//анимируем переход по якорю + $("#menu, #footer_nav").on("click","a", function (event) { + //отменяем стандартную обработку нажатия по ссылке + event.preventDefault(); + //забираем идентификатор бока с атрибута href + var id = $(this).attr('href'), + //узнаем высоту от начала страницы до блока на который ссылается якорь + top = $(id).offset().top; + //анимируем переход на расстояние - top за 1500 мс + $('body,html').animate({scrollTop: top}, 1500); + }); -$('.multiple_slider').slick({ - autoplay:true, - arrows: false, - slidesToShow: 4, - slidesToScroll: 1 -}); - }); \ No newline at end of file diff --git a/src/libs/jquery.js b/src/libs/jquery.js new file mode 100644 index 0000000..0f60b7b --- /dev/null +++ b/src/libs/jquery.js @@ -0,0 +1,5 @@ +/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.3",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1; + +return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/\s*$/g,ra={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xa(b).text=a.text,ya(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=da(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?""!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("
Window size: x
Viewport size: x
\ No newline at end of file diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/0.jpg" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/0.jpg" new file mode 100644 index 0000000..09715b5 Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/0.jpg" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/488909e8cf98e02bca6fdf45114605b8" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/488909e8cf98e02bca6fdf45114605b8" new file mode 100644 index 0000000..9f23d7d Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/488909e8cf98e02bca6fdf45114605b8" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/4ebb61409fdb13d20b167fd919d7511d" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/4ebb61409fdb13d20b167fd919d7511d" new file mode 100644 index 0000000..532a591 Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/4ebb61409fdb13d20b167fd919d7511d" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/4ebb61409fdb13d20b167fd919d7511d(1)" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/4ebb61409fdb13d20b167fd919d7511d(1)" new file mode 100644 index 0000000..532a591 Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/4ebb61409fdb13d20b167fd919d7511d(1)" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/QJkCMIIM_YA.jpg" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/QJkCMIIM_YA.jpg" new file mode 100644 index 0000000..2860b74 Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/QJkCMIIM_YA.jpg" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/YnJ0PvJ01bQ.jpg" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/YnJ0PvJ01bQ.jpg" new file mode 100644 index 0000000..67d0a15 Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/YnJ0PvJ01bQ.jpg" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/anonym2.png" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/anonym2.png" new file mode 100644 index 0000000..12b6bba Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/anonym2.png" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/avatar.jpg" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/avatar.jpg" new file mode 100644 index 0000000..a2413ce Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/avatar.jpg" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/bootstrap" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/bootstrap" new file mode 100644 index 0000000..82206ab --- /dev/null +++ "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/bootstrap" @@ -0,0 +1 @@ +cackle_Comment32193({"widgetBootstrap":{"sitePageId":1422893,"close":false,"title":"Параметры | Sublime Text","rating":"0:0:1422893","setting":{"setting":{"providers":"vkontakte;twitter;facebook;yandex;googleplus;mailru;livejournal;odnoklassniki;","avatarSize":36,"mcHeader":"","fromLabel":null,"placeholder":null,"submitLabel":null,"commentsLabel":null,"replyLabel":null,"nextLabel":null,"urlRecogn":true,"crossposting":true,"countSetting":{"noComment":"","oneComment":"","numComment":""},"loginSetting":{"redirectUri":null,"callback":null}},"anonymEnable":true,"gravatarEnable":true,"anonymGravatarEnable":true,"anonymAvatar":"","theme":"simple","verifyEmail":false,"denyWww":false,"media":true,"pagination":20,"level":4,"modified":1417602395950},"comments":{"content":[{"id":49191469,"siteId":32193,"message":"Почему в файле пользовательских настроек удаляются комментарии, как сделать чтобы они не удалялись?","media":"","rating":0,"status":"approved","created":1460399191603,"anonym":{"id":109808,"name":"John"}},{"id":49206269,"siteId":32193,"parentId":49191469,"path":[49191469],"message":"К сожалению, никак.","rating":0,"status":"approved","created":1460414804173,"author":{"id":2934151,"name":"Dmitry Loac","avatar":"","www":"","hash":"488909e8cf98e02bca6fdf45114605b8"},"admin":true},{"id":49505527,"siteId":32193,"parentId":49206269,"path":[49191469,49206269],"message":"Dmitry Loac, предлагаю указать это на видном месте. У меня тоже все комментарии удалились, а раз что-то случилось у двоих, то повышается вероятность, что попадётся кто-то ещё. Спасибо.","rating":0,"status":"approved","created":1460811740258,"author":{"id":6198439,"name":"Саша Черных","avatar":"http://cackle.me/uploads/users/1076692555596/avatar.jpg","www":"http://www.odnoklassniki.ru/profile/564397734114","provider":"odnoklassniki"}},{"id":44908150,"siteId":32193,"message":"на пустой строке при сохранении курсор переходит к началу строки, как оставить его на месте?","rating":0,"status":"approved","created":1456957944145,"anonym":{"id":6103758,"name":"4uls"}},{"id":44917718,"siteId":32193,"parentId":44908150,"path":[44908150],"message":"Насколько я понимаю, а тебя включен параметр trim_trailing_white_space_on_save, который после сохранения удаляет пробелы в конце строк.","rating":0,"status":"approved","created":1456988989782,"author":{"id":2730083,"name":"Дмитрий Лоак","avatar":"http://cs403427.vk.me/v403427835/6460/YnJ0PvJ01bQ.jpg","www":"http://vk.com/id206422835","provider":"vkontakte","hash":"4dcbb597bed2699e96de73229470787e"}},{"id":39610936,"siteId":32193,"message":"Как отключить появление рамочек у тегов одного типа при выделении одного из них?","rating":0,"status":"approved","created":1450789758824,"anonym":{"id":5715858,"name":"Coriolan161"}},{"id":39611875,"siteId":32193,"parentId":39610936,"path":[39610936],"message":"\"match_selection\": false, если я правильно понял вопрос.","rating":0,"status":"approved","created":1450790212942,"author":{"id":2934151,"name":"Dmitry Loac","avatar":"","www":"","hash":"488909e8cf98e02bca6fdf45114605b8"},"admin":true},{"id":35716889,"siteId":32193,"message":"Как изменит цвет выделяемого текста?","rating":0,"status":"approved","created":1445788218595,"author":{"id":5507905,"name":"Vladymyr Kylaksizov","avatar":"http://cs623229.vk.me/v623229727/3bf42/xk4VAzeuP2A.jpg","www":"http://vk.com/id62033727","provider":"vkontakte","hash":"8b2da4b1ae77fe21915a29a77390735c"}},{"id":27798124,"siteId":32193,"message":"Ни у кого не было проблемы с отступом при переносе каретки в версии 3?\nЯ даже видео записал. Не могу найти причину. Во 2 версии работает нормально. В 3 - нет.\nhttps://youtu.be/Ckz8ATf0x64","rating":0,"status":"approved","created":1432929028822,"author":{"id":776613,"name":"Рома Зварич","avatar":"http://cs307107.vk.me/v307107923/b5c9/QJkCMIIM_YA.jpg","www":"http://vk.com/id6893923","provider":"vkontakte"}},{"id":27808944,"siteId":32193,"parentId":27798124,"path":[27798124],"message":"Проверь параметр auto_indent.","rating":0,"status":"approved","created":1432964689041,"author":{"id":2730083,"name":"Дмитрий Лоак","avatar":"http://cs403427.vk.me/v403427835/6460/YnJ0PvJ01bQ.jpg","www":"http://vk.com/id206422835","provider":"vkontakte","hash":"4dcbb597bed2699e96de73229470787e"}},{"id":22354339,"siteId":32193,"message":"Подскажите, как настроить навигацию по вкладкам (Cntrl+Tab) по ОЧЕРЕДИ, а не в порядке открытия? Как это было в ST2. Может плагин какой есть?","rating":0,"status":"approved","created":1424674945541,"anonym":{"id":4064409,"name":"Гость","hash":"4ebb61409fdb13d20b167fd919d7511d"}},{"id":22364274,"siteId":32193,"parentId":22354339,"path":[22354339],"message":"Проще всего изменить назначение клавиш (http://forum.sublimetext.ru/index.php/topic,618.msg1546.html#msg1546)","rating":0,"status":"approved","created":1424691402421,"author":{"id":2730083,"name":"Дмитрий Лоак","avatar":"http://cs403427.vk.me/v403427835/6460/YnJ0PvJ01bQ.jpg","www":"http://vk.com/id206422835","provider":"vkontakte","hash":"4dcbb597bed2699e96de73229470787e"}},{"id":22376098,"siteId":32193,"parentId":22364274,"path":[22354339,22364274],"message":"Супер. Спасибо.","rating":0,"status":"approved","created":1424707821225,"anonym":{"id":4064409,"name":"Гость","hash":"4ebb61409fdb13d20b167fd919d7511d"}}],"numberOfElements":13,"totalElements":13,"firstPage":true,"lastPage":true,"totalPages":1,"size":20,"number":0},"lang":"ru","login":{"providers":"vkontakte;twitter;facebook;yandex;googleplus;mailru;livejournal;odnoklassniki;","verifyEmail":false},"wl":false,"expired":false,"ver":2}}); \ No newline at end of file diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/cackle.png" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/cackle.png" new file mode 100644 index 0000000..7c4afbb Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/cackle.png" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/comment2.css" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/comment2.css" new file mode 100644 index 0000000..221c3f9 --- /dev/null +++ "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/comment2.css" @@ -0,0 +1,474 @@ +.mc-c,.mc-c h1,.mc-c h2,.mc-c h3,.mc-c h4,.mc-c h5,.mc-c h6,.mc-c p,.mc-c td,.mc-c dl,.mc-c tr,.mc-c dt,.mc-c ol,.mc-c form,.mc-c select,.mc-c option,.mc-c pre,.mc-c div,.mc-c table,.mc-c th,.mc-c tbody,.mc-c tfoot,.mc-c caption,.mc-c thead,.mc-c ul,.mc-c li,.mc-c address,.mc-c blockquote,.mc-c dd,.mc-c fieldset,.mc-c li,.mc-c iframe,.mc-c strong,.mc-c legend,.mc-c em,.mc-c s,.mc-c cite,.mc-c span,.mc-c input,.mc-c sup,.mc-c label,.mc-c dfn,.mc-c object,.mc-c big,.mc-c q,.mc-c font,.mc-c samp,.mc-c acronym,.mc-c small,.mc-c img,.mc-c strike,.mc-c code,.mc-c sub,.mc-c ins,.mc-c textarea,.mc-c var,.mc-c a,.mc-c abbr,.mc-c applet,.mc-c del,.mc-c kbd,.mc-c tt,.mc-c b,.mc-c i,.mc-c hr{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border-color:black!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;text-shadow:none!important;-webkit-transition:none!important;transition:none!important;-webkit-box-shadow:none!important;box-shadow:none!important} +.mc-c,.mc-c h3,.mc-c h5,.mc-c p,.mc-c h1,.mc-c dl,.mc-c dt,.mc-c h6,.mc-c ol,.mc-c form,.mc-c select,.mc-c option,.mc-c pre,.mc-c div,.mc-c h2,.mc-c caption,.mc-c h4,.mc-c ul,.mc-c address,.mc-c blockquote,.mc-c dd,.mc-c fieldset,.mc-c textarea,.mc-c hr{display:block} +.mc-c table{display:table} +.mc-c tbody{display:table-row-group} +.mc-c tr{display:table-row} +.mc-c td{display:table-cell} +.mc-c ul{list-style-type:none!important} +.mc-c li{display:list-item;min-height:auto!important;min-width:auto!important} +.mc-c a,.mc-c a *,.mc-c input[type=submit],.mc-c input[type=radio],.mc-c input[type=checkbox],.mc-c select{cursor:pointer!important} +.mc-c a:hover{text-decoration:none!important} +.mc-c button,.mc-c input[type=submit]{height:auto!important;text-align:center!important} +.mc-c input[type=hidden]{display:none} +.mc-c select{-webkit-appearance:menulist!important;-moz-appearance:menulist!important;appearance:menulist!important} +.mc-c input[type=checkbox]{-webkit-appearance:checkbox!important;-moz-appearance:checkbox!important;appearance:checkbox!important} +.mc-c input[type="checkbox"]:before,.mc-c input[type="checkbox"]:after{content:none!important;border:0!important} +.mc-c input[type=radio]{-webkit-appearance:radio!important;-moz-appearance:radio!important;appearance:radio!important} +.mc-c input[type="radio"]:before,.mc-c input[type="radio"]:after{content:none!important;border:0!important} +.mc-c li:before,.mc-c li:after{content:""!important} +.mc-c input,.mc-c select{vertical-align:middle!important} +.mc-c select,.mc-c textarea,.mc-c input{border:1px solid #ccc!important} +.mc-c table{border-collapse:collapse!important;border-spacing:0!important} +.mc-c *[dir=rtl]{direction:rtl!important} +.mc-c img{border:0!important} +.mc-c{font-size:13px!important;line-height:18px!important;direction:ltr!important;text-align:left!important;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important;color:#333!important;font-style:normal!important;font-weight:normal!important;text-decoration:none!important;list-style-type:disc!important}@font-face{font-family:'FontAwesome';font-weight:normal;font-style:normal;src:url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?v=4.2.0');src:url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg')} +.mc-c [class^="mcicon-"],.mc-c [class*=" mcicon-"]{font-family:FontAwesome!important;font-weight:normal!important;font-style:normal!important;text-decoration:inherit!important;-webkit-font-smoothing:antialiased!important;display:inline!important;width:auto!important;height:auto!important;line-height:normal!important;vertical-align:baseline!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;margin-top:0!important} +.mc-c [class^="mcicon-"]:before,.mc-c [class*=" mcicon-"]:before{text-decoration:inherit!important;display:inline-block!important;font-family:inherit!important;speak:none!important} +.mc-c a [class^="mcicon-"],.mc-c a [class*=" mcicon-"]{display:inline-block!important} +.mc-c li [class^="mcicon-"],.mc-c li [class*=" mcicon-"]{display:inline-block!important;width:1.25em!important;text-align:center!important} +.mc-c .mcicon-ok:before{content:"\f00c"!important} +.mc-c .mcicon-share:before{content:"\f045"!important} +.mc-c .mcicon-exclamation-sign:before{content:"\f06a"!important} +.mc-c .mcicon-thumbs-up:before{content:"\f164"!important} +.mc-c .mcicon-thumbs-down:before{content:"\f165"!important} +.mc-c .mcicon-rss:before{content:"\f09e"!important} +.mc-c .mcicon-caret-down:before{content:"\f0d7"!important} +.mc-c .mcicon-envelope:before{content:"\f003"!important} +.mc-c .mcicon-envelope-alt:before{content:"\f0e0"!important} +.mc-c .mcicon-smile-o:before{content:"\f118"!important} +.mc-c .mcicon-picture:before{content:"\f03e"!important} +.mc-c .mcicon-comments:before{content:"\f086"!important} +.mc-c .mcicon-star:before{content:"\f005"!important} +.mc-c .mcicon-star-o:before{content:"\f006"!important} +.mc-c .mcicon-star-half-o:before{content:"\f123"!important} +.mc-c .mcicon-search:before{content:"\f002"!important} +.mc-c .mcicon-caret-left:before{content:"\f0d9"!important} +.mc-c .mcicon-caret-right:before{content:"\f0da"!important} +.mc-c .mcicon-pencil:before{content:"\f040"!important} +.mc-c .mcicon-lock:before{content:"\f023"!important} +.mc-c .mcicon-unlock:before{content:"\f09c"!important} +.mc-c .mcicon-save:before{content:"\f0c7"!important} +.mc-c .mcicon-undo:before{content:"\f0e2"!important} +.mc-c .mcicon-cog:before{content:"\f013"!important} +.mc-c .mcicon-trash:before{content:"\f014"!important} +.mc-c .mcicon-home:before{content:"\f015"!important} +.mc-c .mcicon-time:before{content:"\f017"!important} +.mc-c .mcicon-edit:before{content:"\f044"!important} +.mc-c .mcicon-ban-circle:before{content:"\f05e"!important} +.mc-c .mcicon-check-empty:before{content:"\f096"!important} +.mc-c .mcicon-globe:before{content:"\f0ac"!important} +.mc-c .mcicon-beaker:before{content:"\f0c3"!important} +.mc-c .mcicon-paper-clip:before{content:"\f0c6"!important} +.mc-c .mcicon-desktop:before{content:"\f108"!important} +.mc-c .mcicon-laptop:before{content:"\f109"!important} +.mc-c .mcicon-reply:before{content:"\f112"!important} +.mc-c .mcicon-linux:before{content:"\f17c"!important} +.mc-c .mcicon-shield:before{content:"\f132"!important} +.mc-c .mcicon-bug:before{content:"\f188"!important} +.mc-c .mcicon-ok-o:before{content:"\f05d"!important} +.mc-c .mcicon-meh-o:before{content:"\f11a"!important} +.mc-c .mcicon-user:before{content:"\f007"!important} +.mc-c .mcicon-check:before{content:"\f046"!important} +.mc-c .mcicon-shop:before{content:"\f07a"!important} +.mc-c .mcicon-warning-sign:before{content:"\f071"!important} +.mc-c .mcicon-minus-sign:before{content:"\f056"!important} +.mc-c .mcicon-share-alt:before{content:"\f1e0"!important} +.mc-c .mcicon-check-circle:before{content:"\f058"!important} +.mc-c .mcicon-plus-sign:before{content:"\f055"!important} +.mc-c .mcicon-question-circle:before{content:"\f059"!important} +.mc-c .mcicon-calendar:before{content:"\f073"!important} +.mc-c .mcicon-refresh:before{content:"\f021"!important} +.mc-c .mcicon-camera:before{content:"\f030"!important} +.mc-c .mcicon-link:before{content:"\f0c1"!important} +.mc-c .mcicon-bars:before{content:"\f0c9"!important} +.mc-c .mcicon-sort:before{content:"\f0dc"!important} +.mc-c .mcicon-share2:before{content:"\f064"!important} +.mc-c .mcicon-angle-up:before{content:"\f106"!important} +.mc-c .mcicon-angle-down:before{content:"\f107"!important} +.mc-c .mcicon-cert:before{content:"\f0a3"!important}.mc-c .mc-right,.mc-c .mc-btn.mc-right{float:right!important} +.mc-c .mc-h4{font-weight:bold!important} +.mc-c .mc-sm{color:#999!important;font-size:12px!important} +.mc-c .mc-header{font-size:36px;padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.mc-c .mc-spin2{margin:2px!important;vertical-align:middle!important;-webkit-animation:mc-rotator 1.4s linear infinite;animation:mc-rotator 1.4s linear infinite} +@-webkit-keyframes mc-rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)} +100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)} +} +@keyframes mc-rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)} +100%{-webkit-transform:rotate(270deg);transform:rotate(270deg)} +} +.mc-c .mc-path{stroke-dasharray:187;stroke-dashoffset:0;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-animation:mc-dash 1.4s ease-in-out infinite,mc-colors 5.6s ease-in-out infinite;animation:mc-dash 1.4s ease-in-out infinite,mc-colors 5.6s ease-in-out infinite} +@-webkit-keyframes mc-colors{0%{stroke:#4285f4} +25%{stroke:#de3e35} +50%{stroke:#f7c223} +75%{stroke:#1b9a59} +100%{stroke:#4285f4} +} +@keyframes mc-colors{0%{stroke:#4285f4} +25%{stroke:#de3e35} +50%{stroke:#f7c223} +75%{stroke:#1b9a59} +100%{stroke:#4285f4} +} +@-webkit-keyframes mc-dash{0%{stroke-dashoffset:187} +50%{stroke-dashoffset:46.75;-webkit-transform:rotate(135deg);transform:rotate(135deg)} +100%{stroke-dashoffset:187;-webkit-transform:rotate(450deg);transform:rotate(450deg)} +} +@keyframes mc-dash{0%{stroke-dashoffset:187} +50%{stroke-dashoffset:46.75;-webkit-transform:rotate(135deg);transform:rotate(135deg)} +100%{stroke-dashoffset:187;-webkit-transform:rotate(450deg);transform:rotate(450deg)} +}.mc-c .mc-alert{text-align:center!important;font-size:13px!important;padding:8px 35px 8px 14px!important;background-color:#fcf8e3!important;-webkit-border-radius:2px!important;-moz-border-radius:2px!important;border-radius:2px!important} +.mc-c .mc-alert.mc-alert-close{color:#fff!important;background:rgba(0,0,0,.5)!important} +.mc-c .mc-alert.mc-alert-error{color:#a94442!important;border-color:#ebccd1!important;background-color:#f2dede!important} +.mc-c .mc-alert.mc-alert-info{color:#31708f!important;background-color:#d9edf7!important;border-color:#9acfea!important}.mc-c .mc-attachimg-cnt{position:absolute!important;bottom:0!important;right:10px!important;z-index:999!important;font-size:15px!important} +.mc-c .mc-attachimg{color:#999!important;text-decoration:none!important} +.mc-c .mc-attachimg:hover{color:#333!important;text-decoration:none!important} +.mc-c .mc-media-preview{display:inline-block;width:100%!important;overflow:hidden!important;border-top:1px dashed #ccc!important;margin-top:8px!important} +.mc-c .mc-media-preview li{display:inline-block!important;position:relative!important;margin:10px 10px 0 0!important} +.mc-c .mc-media-preview li span{position:absolute!important;top:-5px!important;right:-5px!important;cursor:pointer!important;font-size:21px!important;font-weight:700!important;color:#999!important;width:18px!important;height:18px!important;text-align:center!important;border-radius:20px!important;background:#eee!important} +.mc-c .mc-media-preview li span:hover{color:#333!important} +.mc-c .mc-media-preview .mc-media-surface{display:block!important;border:1px solid #CCC!important;background:white!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;border-radius:3px!important;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.08)!important;-moz-box-shadow:0 1px 3px rgba(0,0,0,0.08)!important;box-shadow:0 1px 3px rgba(0,0,0,0.08)!important} +.mc-c .mc-media-preview img{display:block!important;max-width:300px!important;max-height:75px!important} +.mc-c .mc-comment-media{display:inline-block!important;margin:5px 0 0!important;width:100%!important} +.mc-c .mc-comment-media li{display:inline-block;margin:0 10px 10px 0!important} +.mc-c .mc-comment-media li.mc-block{display:block} +.mc-c .mc-comment-media a{position:relative!important;display:inline-block!important;max-width:100%!important} +.mc-c .mc-comment-media .mc-media-play{position:absolute!important;top:0!important;left:0!important;z-index:0!important;width:100%!important;height:100%!important;opacity:.6!important;transition:opacity .2s!important} +.mc-c .mc-comment-media .mc-media-play:hover{opacity:1.0!important} +.mc-c .mc-comment-media object,.mc-c .mc-comment-media embed{display:block!important;width:100%!important;height:360px!important} +.mc-c .mc-comment-media img{display:block!important;max-width:300px!important;max-height:200px!important;z-index:-1!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;border-radius:3px!important;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)!important} +.mc-c.mc-modal-lightbox .mc-close2{position:fixed!important;right:23px!important;top:23px!important;padding:3px!important;font-size:36px!important;border-radius:50%!important;background:#fff!important} +.mc-c.mc-modal-lightbox .mc-modal-dialog2{margin:0!important;padding:0!important;width:auto!important;background:none!important;box-shadow:none!important} +.mc-c.mc-modal-lightbox .mc-modal-content2{margin:0!important;padding:0!important} +.mc-c.mc-modal-lightbox .mc-modal-body2{margin-left:auto!important;margin-right:auto!important} +.mc-c.mc-modal-lightbox img{display:block;width:100%!important} +.mc-c.mc-modal-lightbox .mc-media-nav{position:absolute!important;top:0!important;left:0!important;height:100%!important;width:100%!important;z-index:10!important} +.mc-c.mc-modal-lightbox .mc-media-nav>span{width:50%!important;height:100%!important;left:0!important;float:left!important;cursor:pointer!important} +.mc-c.mc-modal-lightbox .mc-media-nav img{position:absolute!important;top:48%!important;width:24px!important;cursor:pointer!important;opacity:0!important;filter:alpha(opacity=0)!important;transition:opacity .6s!important} +.mc-c.mc-modal-lightbox .mc-media-prev img{left:-24px!important} +.mc-c.mc-modal-lightbox .mc-media-next img{right:-24px!important} +.mc-c.mc-modal-lightbox .mc-media-nav span:hover img{opacity:1!important;filter:alpha(opacity=100)!important}.mc-c .mc-modal2{display:none;position:absolute!important;top:0!important;right:0!important;left:0!important;z-index:9999999!important;overflow:hidden!important;-webkit-overflow-scrolling:touch!important;outline:0!important;transform:translateZ(0)!important;-webkit-transform:translateZ(0)!important;-moz-transform:translateZ(0)!important} +.mc-c .mc-modal-dialog2{position:relative!important;width:auto!important;margin:10px!important;background:#fff!important;-webkit-background-clip:padding-box!important;background-clip:padding-box!important;-webkit-border-radius:4px!important;border-radius:4px!important;-webkit-box-shadow:0 8px 10px -5px rgba(0,0,0,.14),0 16px 24px 2px rgba(0,0,0,.098),0 6px 30px 5px rgba(0,0,0,.084)!important;box-shadow:0 8px 10px -5px rgba(0,0,0,.14),0 16px 24px 2px rgba(0,0,0,.098),0 6px 30px 5px rgba(0,0,0,.084)!important} +@media(min-width:768px){.mc-c .mc-modal-dialog2{width:600px!important;margin:30px auto!important} +} +.mc-c .mc-modal-content2{position:relative!important;padding:24px!important;outline:0!important} +.mc-c .mc-modal-header2{font-size:20px!important;font-weight:500!important;letter-spacing:.005em!important} +.mc-c .mc-close2{width:auto!important;float:right!important;font-size:32px!important;font-weight:500!important;line-height:.6!important;color:#999!important} +.mc-c .mc-close2:hover{color:#555!important} +.mc-c button.mc-close2{-webkit-appearance:none!important;padding:0!important;cursor:pointer!important;outline:0!important;border:0!important;background:0 0!important;min-height:0!important} +.mc-c .mc-modal-header2 .mc-close{margin-top:-7px!important} +.mc-c .mc-clear{clear:both!important;height:1px!important;line-height:1px!important} +.mc-c .mc-modal-body2{position:relative!important;margin:20px 0 0!important;white-space:pre-wrap!important;word-wrap:break-word!important} +.mc-c .mc-modal-backdrop2{position:fixed!important;top:0!important;left:0!important;right:0!important;height:100%!important;z-index:999999!important;background:rgba(0,0,0,0.5)!important;background-color:rgba(0,0,0,0.5)!important}.mc-c .mc-social{display:inline-block!important;width:16px!important;height:16px!important;vertical-align:inherit!important;border-radius:20px!important;-webkit-border-radius:20px!important;-moz-border-radius:20px!important;background:url(../img/prov-sm.png) 0 0 transparent no-repeat!important} +.mc-c .mc-social.mc-vkontakte{background-position:0 0!important;background-color:#41658b!important} +.mc-c .mc-social.mc-odnoklassniki{background-position:-16px 0!important;background-color:#f4960f!important} +.mc-c .mc-social.mc-mymailru{background-position:-32px 0!important;background-color:#3d6cb0!important} +.mc-c .mc-social.mc-facebook{background-position:-48px 0!important;background-color:#3c5b9b!important} +.mc-c .mc-social.mc-twitter{background-position:-64px 0!important;background-color:#2daae1!important} +.mc-c .mc-social.mc-google,.mc-c .mc-social.mc-googleplus{background-position:-80px 0!important;background-color:#dd4b39!important} +.mc-c .mc-social.mc-stackoverflow{background-position:-96px 0!important;background-color:#fe7a15!important} +.mc-c .mc-social.mc-linkedin{background-position:-112px 0!important;background-color:#0173b2!important} +.mc-c .mc-social.mc-yandex{background-position:-128px 0!important;background-color:#ffdb4c!important} +.mc-c .mc-social.mc-livejournal{background-position:-144px 0!important;background-color:#306599!important} +.mc-c .mc-social.mc-instagram{background-position:-160px 0!important;background-color:#3d739c!important} +.mc-c .mc-social.mc-foursquare{background-position:-176px 0!important;background-color:#2a99cd!important} +.mc-c .mc-social.mc-500px{background-position:-192px 0!important;background-color:#222!important} +.mc-c .mc-social.mc-yammer{background-position:-208px 0!important;background-color:#1ba1e2!important} +.mc-c .mc-social.mc-tumblr{background-position:-224px 0!important;background-color:#2a445f!important} +.mc-c .mc-social.mc-soundcloud{background-position:-240px 0!important;background-color:#F50!important} +.mc-c .mc-social.mc-dropbox{background-position:-256px 0!important;background-color:#007ee6!important} +.mc-c .mc-social.mc-yahoo{background-position:-272px 0!important;background-color:#7b0099!important} +.mc-c .mc-social.mc-wordpress{background-position:-288px 0!important;background-color:#464442!important} +.mc-c .mc-social.mc-live{background-position:-304px 0!important;background-color:#0cb3ee!important} +.mc-c .mc-social.mc-mailru{background-position:-320px 0!important;background-color:#2f69a1!important} +.mc-c .mc-social.mc-cackle{background-position:-336px 0!important} +.mc-c .mc-social.mc-guest{background-position:-352px 0!important} +.mc-c .mc-social.mc-,.mc-c .mc-social.mc-undefined{background-position:-368px 0!important} +.mc-c .mc-auth-btn{display:inline-block!important;width:30px!important;height:30px!important;border-radius:4px!important;-webkit-border-radius:4px!important;-moz-border-radius:4px!important;margin:0 6px 10px 0!important} +.mc-c .mc-auth-btn:hover{box-shadow:0 0 0 1px rgba(0,0,0,.2),0 3px 5px -3px rgba(0,0,0,.7)!important} +.mc-c .mc-auth-btn div{display:inline-block!important;vertical-align:inherit!important;width:30px!important;height:30px!important;border-radius:4px!important;-webkit-border-radius:4px!important;-moz-border-radius:4px!important;background:url(../img/prov.png) 0 0 transparent no-repeat!important} +.mc-c .mc-auth-btn .mc-vkontakte{background-position:0 0!important;background-color:#41658b!important} +.mc-c .mc-auth-btn .mc-odnoklassniki{background-position:-30px 0!important;background-color:#f4960f!important} +.mc-c .mc-auth-btn .mc-mymailru{background-position:-60px 0!important;background-color:#3d6cb0!important} +.mc-c .mc-auth-btn .mc-facebook{background-position:-90px 0!important;background-color:#3c5b9b!important} +.mc-c .mc-auth-btn .mc-twitter{background-position:-120px 0!important;background-color:#2daae1!important} +.mc-c .mc-auth-btn .mc-googleplus{background-position:-150px 0!important;background-color:#dd4b39!important} +.mc-c .mc-auth-btn .mc-stackoverflow{background-position:-180px 0!important;background-color:#fe7a15!important} +.mc-c .mc-auth-btn .mc-linkedin{background-position:-210px 0!important;background-color:#0173b2!important} +.mc-c .mc-auth-btn .mc-yandex{background-position:-240px 0!important;background-color:#ffdb4c!important} +.mc-c .mc-auth-btn .mc-livejournal{background-position:-270px 0!important;background-color:#306599!important} +.mc-c .mc-auth-btn .mc-instagram{background-position:-300px 0!important;background-color:#3d739c!important} +.mc-c .mc-auth-btn .mc-foursquare{background-position:-330px 0!important;background-color:#2a99cd!important} +.mc-c .mc-auth-btn .mc-500px{background-position:-360px 0!important;background-color:#222!important} +.mc-c .mc-auth-btn .mc-yammer{background-position:-390px 0!important;background-color:#1ba1e2!important} +.mc-c .mc-auth-btn .mc-tumblr{background-position:-420px 0!important;background-color:#2a445f!important} +.mc-c .mc-auth-btn .mc-soundcloud{background-position:-450px 0!important;background-color:#F50!important} +.mc-c .mc-auth-btn .mc-dropbox{background-position:-480px 0!important;background-color:#007ee6!important} +.mc-c .mc-auth-btn .mc-yahoo{background-position:-510px 0!important;background-color:#7b0099!important} +.mc-c .mc-auth-btn .mc-wordpress{background-position:-540px 0!important;background-color:#464442!important} +.mc-c .mc-auth-btn .mc-live{background-position:-570px 0!important;background-color:#0cb3ee!important} +.mc-c .mc-auth-btn .mc-mailru{background-position:-600px 0!important;background-color:#2f69a1!important} +.mc-c .mc-auth-btn .mc-cackle{background-position:-630px 0!important}.mc-c .mc-btn2{display:inline-block!important;outline:0!important;border:0!important;width:auto!important;padding:0 6px!important;margin:6px 8px!important;line-height:36px!important;min-height:36px!important;background:0 0!important;white-space:nowrap!important;min-width:88px!important;text-align:center!important;text-transform:uppercase!important;font-weight:500!important;font-size:14px!important;font-style:inherit!important;font-variant:inherit!important;font-family:inherit!important;text-decoration:none!important;cursor:pointer!important;overflow:hidden!important;transition:box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)!important;color:rgba(0,0,0,0.87)!important;background:#fafafa!important;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important;box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important} +.mc-c .mc-btn2:active{background:rgba(0,0,0,0.09)!important;-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.4)!important;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important;box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important} +.mc-c .mc-btn2-sm{font-size:12px!important;line-height:26px!important;min-height:26px!important;text-transform:none!important} +.mc-c .mc-btn2-bck{width:100%!important;margin-left:0!important}.mc-c .mc-authbox{position:relative!important} +.mc-c .mc-expanded .mc-authbox{display:block!important} +.mc-c.mc-loggedin .mc-authbox{display:none!important} +.mc-c .mc-sso-provider{margin:0 6px 10px 0!important} +.mc-c .mc-auth-social{margin:0 0 10px 0!important} +.mc-c .mc-auth-anonym{padding:0 10px 0 0!important} +.mc-c .mc-auth-anonym+.mc-auth-social{padding:0 0 0 10px!important} +.mc-c .mc-anonym-avatar{height:30px!important;width:30px!important} +.mc-c .mc-auth-anonym .mc-btn{width:100%!important} +.mc-c .mc-auth-anonym .mc-hide{display:none} +.mc-c .mc-auth-anonym.mc-expanded .mc-hide{display:block} +.mc-c .mc-auth-anonym input{text-align:left!important;width:100%!important;height:30px!important;background:#fff!important;border-color:#d4d8dd #EDEEEf #edeeef #D4D8DD!important;-webkit-border-radius:2px!important;-moz-border-radius:2px!important;border-radius:2px!important;border-style:solid!important;border-width:1px!important;color:#666!important;font-family:inherit!important;font-size:13px!important;margin:0!important;padding:4px!important;box-shadow:none!important} +.mc-c .mc-auth-anonym .mc-captcha{overflow:hidden!important;padding:0 0 0 40px!important} +.mc-c .mc-auth-anonym .g-recaptcha{-webkit-transform:scale(0.8)!important;-moz-transform:scale(0.8)!important;-ms-transform:scale(0.8)!important;-o-transform:scale(0.8)!important;transform:scale(0.8)!important;-webkit-transform-origin:0 0!important;-moz-transform-origin:0 0!important;-ms-transform-origin:0 0!important;-o-transform-origin:0 0!important;transform-origin:0 0!important} +.mc-c .mc-h6{font-weight:700!important;font-size:11px!important;margin:0 0 10px!important;line-height:1!important;color:rgba(0,39,59,.5)!important;text-transform:uppercase!important} +.mc-c .mc-p{position:relative!important;margin:0 0 12px!important;padding:0 0 0 40px!important} +.mc-c .mc-avatar-wrap{position:absolute!important;top:0!important;left:0!important} +.mc-c input.mc-error{border:1px solid #a94442!important}#mc-container{clear:both!important} +#mc-link{display:block!important;text-align:right!important;font-weight:700!important;font-size:10px!important;color:rgba(0,39,59,.5)!important;text-transform:uppercase!important;text-decoration:none!important} +#mc-link:hover{color:rgba(0,39,59,.7)!important} +.cc{display:block!important;position:relative!important;padding:0 2px!important;clear:both!important} +.cc .mc-avatar-cnt{position:relative!important;float:left!important} +.cc .mc-avatar-wrap,.mc-complaint .mc-avatar-wrap{position:absolute!important;top:0!important;left:0!important} +.cc .mc-p{position:relative!important;margin:0 0 12px!important;padding:0 0 0 40px!important} +.cc .mc-h6{font-weight:700!important;font-size:11px!important;margin:0 0 10px!important;line-height:1!important;color:rgba(0,39,59,.5)!important;text-transform:uppercase!important} +.cc textarea{width:100%!important;resize:none!important} +.cc.mc-c input.mc-error{border:1px solid #a94442!important} +.cc ul li:before,.cc ul li:after{display:none!important} +.cc .mc-grid{display:block!important;overflow:hidden!important} +.cc .mc-grid-xs,.mc-c .mc-grid-xs4,.mc-c .mc-grid-xs6{float:left!important;width:50%!important} +.mc-c .mc-grid-xs4{width:40%!important} +.mc-c .mc-grid-xs6{width:60%!important} +.cc .mc-grid-lg{float:left!important;width:100%!important} +@media(min-width:768px){.cc .mc-grid-lg{width:50%!important} +} +.cc .mc-head{display:block!important;height:22px!important;margin:10px 0 20px!important} +.cc .mc-head .mc-comment-star{float:left!important;color:#ffaf02!important;font-size:20px!important} +.cc .mc-head .mc-comment-star:hover{color:#ffcf02!important} +.cc .mc-head .mc-comment-star span{cursor:pointer!important} +.cc .mc-head .mc-comment-star:hover .mc-readonly{color:#ffaf02!important} +.cc .mc-head .mc-comment-star .mc-readonly span{cursor:default!important} +.cc .mc-head .mc-star{vertical-align:middle!important} +.cc .mc-head .mc-star-count{color:#b7bbc1!important;font-size:12px!important;vertical-align:middle!important} +.cc .mc-head .mc-comment-count{float:left!important;color:#3f4549!important;font-size:18px!important;cursor:default!important} +.cc .mc-head .mc-logo{display:inline-block!important;float:right!important} +.cc .mc-head .mc-logo img{vertical-align:middle!important} +.cc.mc-loggedin .mc-head .mc-logo{display:none!important} +.cc .mc-head .mc-user-menu{display:none!important;float:right!important} +.cc.mc-loggedin .mc-head .mc-user-menu{display:inline-block!important;position:relative!important} +.cc .mc-head .mc-user-menu .mc-menu-toggle{color:rgba(0,39,59,.5)!important;font-weight:700!important;font-size:13px!important;line-height:1!important;vertical-align:middle!important;transition:all .2s ease-in-out!important} +.cc .mc-head .mc-user-menu .mc-menu-toggle:hover{color:rgba(0,39,59,.6)!important} +.cc .mc-head .mc-user-menu .mcicon-bars{font-weight:normal!important} +.cc .mc-dropdown-menu{display:block;position:absolute!important;right:0!important;background:none repeat scroll 0 0 #fff!important;border:1px solid #ccc!important;border-radius:3px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;list-style-type:none!important;margin:3px 0 0 0!important;padding:0!important;z-index:999999!important;text-align:left!important;box-shadow:0 1px 6px rgba(0,0,0,.15)!important;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.15)!important;-moz-box-shadow:0 1px 6px rgba(0,0,0,.15)!important} +.cc .mc-dropdown-menu li{list-style:none!important;padding:0!important;margin:0!important;border-bottom:1px solid #ededed!important} +.cc .mc-dropdown-menu li a{display:block!important;margin:0!important;padding:8px 14px!important;color:#999!important;font-size:13px!important;text-decoration:none!important;white-space:nowrap!important} +.cc .mc-dropdown-menu li a:hover{color:#666!important;background-color:#f1f1f1!important} +.cc .mc-form .mc-avatar{width:48px!important;height:48px!important} +.cc .mc-form .mc-textarea{height:33px;min-height:33px!important} +.cc .mc-form.mc-expanded .mc-textarea{min-height:60px!important} +.cc .mc-postbox{position:relative!important} +.cc .mc-postbox .mc-avatar{float:left!important;border-radius:3px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important} +.cc .mc-postbox .mc-social{display:none!important} +.cc.mc-loggedin .mc-postbox .mc-social{display:block!important} +.cc .mc-social-wrap,.mc-complaint .mc-social-wrap{position:absolute!important;top:37px!important;left:37px!important;width:16px!important;height:16px!important;border-radius:20px!important;-webkit-border-radius:20px!important;-moz-border-radius:20px!important;-webkit-box-shadow:0 0 1px #000!important} +.cc .mc-text-cnt{position:relative!important;margin:0 0 0 60px!important} +.cc .mc-text-wrap,.mc-complaint .mc-text-wrap{position:relative!important;background:#fff!important;border-top:1px solid #eee!important;padding:10px 10px 4px!important;border-radius:2px!important;-webkit-border-radius:2px!important;-moz-border-radius:2px!important;box-shadow:0 1px 2px rgba(0,0,0,.23)!important;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.23)!important;-moz-box-shadow:0 1px 2px rgba(0,0,0,.23)!important;transition:min-height .1s ease-in-out!important} +.cc .mc-expanded .mc-text-cnt .mc-text-wrap{border-top:1px solid #f1f1f1!important;box-shadow:0 1px 3px rgba(0,0,0,.33)!important;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.33)!important;-moz-box-shadow:0 1px 3px rgba(0,0,0,.33)!important} +.cc .mc-textarea-wrap,.mc-complaint .mc-textarea-wrap{position:relative!important} +.cc .mc-text-wrap .mc-textarea,.mc-complaint .mc-textarea{width:100%!important;max-width:none!important;border:0!important;outline:0!important;margin:0!important;padding:0!important;resize:none!important;color:#3e474d!important;font-size:14px!important;font-weight:normal!important;font-family:Arial,Helvetica,sans-serif!important;overflow:hidden!important;background:#fff!important;line-height:18px!important;white-space:pre-wrap!important;word-wrap:break-word!important;box-shadow:none!important;transition:min-height .1s ease-in-out!important} +.cc .mc-form .mc-alert{margin:10px 0 0 60px!important} +.cc .mc-submit-cnt{display:none!important;margin:10px 0 0 60px!important;text-align:right!important} +.cc .mc-submit-cnt .mc-submit{margin-right:0!important;text-transform:capitalize!important} +.cc .mc-submit-cnt .mc-submit-left{float:left!important;text-align:left!important} +.cc.mc-loggedin .mc-expanded .mc-submit-cnt{display:block!important} +.cc .mc-comment-replybox .mc-submit-cnt{margin-left:48px!important} +.cc.mc-loggedin .mc-comment-replybox .mc-submit-cnt{display:block!important} +.cc .mc-social-xpost{display:inline-block;margin:6px 0 4px!important} +.cc .mc-social-xpost .mc-social-xpost-checkbox{margin-right:4px!important} +.cc .mc-social-xpost .mc-social-xpost-icon.mc-social{display:inline-block!important;margin-left:4px!important;vertical-align:middle!important} +.cc .mc-attach-cnt{position:absolute!important;bottom:9px!important;right:5px!important;z-index:9999!important;font-size:20px!important} +.cc .mc-attach-toggle{cursor:pointer!important;color:rgba(0,39,59,.5)!important;transition:all .2s ease-in-out!important} +.cc .mc-attach-toggle:hover{color:rgba(0,39,59,.6)!important} +.cc .mc-attachimg.mc-spin{width:auto!important;height:auto!important;text-indent:0!important;overflow:visible!important;background-position:8% 50%!important} +.cc .mc-attachimg.mc-spin span{visibility:hidden!important} +.cc .mc-attachlinkbox{padding:4px!important} +.cc .mc-attachlinkbox .mc-attachlink-textarea{min-height:65px!important;padding:2px!important;font-size:12px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;border-radius:3px!important} +.cc .mc-attachlinkbox .mc-attachlink-btn{margin-top:4px!important} +.cc .mc-authbox{display:none!important;position:relative!important;padding:10px 0 0!important;margin:0 0 0 60px!important} +.cc .mc-comment-replybox .mc-authbox{margin-left:48px!important} +.mc-c .mc-auth-modal{overflow:hidden!important} +.mc-c .mc-auth-modal .mc-h6{display:none!important} +.cc .mc-menu{border-bottom:1px solid #f0f1f4!important;margin-bottom:16px!important} +.cc .mc-menu [class^="mcicon-"]{font-size:14px!important;font-weight:normal!important} +.cc .mc-nav{overflow:hidden!important;list-style-type:none!important} +.cc .mc-nav li{float:left!important} +.cc .mc-nav li a{display:block;margin:0 15px!important;padding:18px 0 10px 0!important;font-size:13px!important;font-weight:700!important;color:rgba(0,39,59,.4)!important;transition:all .2s ease-in-out!important} +.cc .mc-nav li:first-child a{margin-left:0!important} +.cc .mc-nav li a:hover{color:rgba(0,39,59,.6)!important} +.cc .mc-sort-toggle{display:block;padding:18px 0 10px 0!important;font-size:12px!important;font-weight:700!important;color:rgba(0,39,59,.4)!important;transition:all .2s ease-in-out!important} +@media screen and (min-width:768px){.cc .mc-menu .mc-sort-toggle,.cc .mc-sort.mc-dropdown-menu{display:none} +} +.cc .mc-menu.mc-menu-sm .mc-sort-toggle{display:block} +.cc .mc-sort.mc-dropdown-menu{left:0!important;right:auto!important} +.cc .mc-sort.mc-dropdown-menu li .mcicon-ok{display:none!important} +.cc .mc-sort.mc-dropdown-menu li.mc-active .mcicon-ok{display:inline-block!important} +@media screen and (max-width:767px){.cc .mc-sort.mc-nav,.cc .mc-navlabel{display:none!important} +} +.cc .mc-menu.mc-menu-sm .mc-sort.mc-nav{display:none!important} +.cc .mc-menu.mc-menu-sm .mc-navlabel{display:none!important} +.cc .mc-sort.mc-nav li.mc-active .mc-sort-hover{position:absolute!important;background:rgba(0,39,59,.6)!important;bottom:0!important;left:0!important;right:0!important;height:3px!important;transition:all .2s ease-in-out!important} +.cc .mc-sort li.mc-active a{position:relative!important;color:rgba(0,39,59,.6)!important} +.cc .mc-sort .mc-comment-count{display:none!important;font-size:11px!important} +.cc .mc-sort .mc-active .mc-comment-count{display:inline!important} +.cc .mc-useract{float:right!important} +.cc .mc-share-cnt .mc-share-toggle{margin-right:0!important} +.cc .mc-share-cnt .dropdown-menu li{border:none!important} +.cc .mc-share-cnt .mc-share-menu li{float:left!important;padding:5px!important;border:0!important;cursor:pointer!important} +.cc .mc-share-cnt .mc-share-menu li:hover{background:#eee!important} +.cc .mc-share-cnt .mc-share-menu span{float:left!important;height:16px!important;width:16px!important;cursor:pointer!important} +.cc .mc-share-menu .mc-social{-webkit-box-shadow:0 0 1px #666!important} +.cc .mc-nav .mc-subscribed a{color:#4bad00!important} +.cc .mc-nav .mc-subscribed a:hover{color:#4bad00!important} +.cc .mc-nav .mc-subscr-email input{height:20px!important;font-size:12px!important;font-weight:normal!important;background:white!important;border-radius:3px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;margin-top:-4px!important;padding:2px!important} +.cc .mc-nav .mc-subscr-input-wrap{padding:20px 0 0 0!important;margin:0!important} +.mc-profile a{color:#07c!important} +.mc-profile a:hover{color:#0c65a5!important;text-decoration:none!important} +.mc-profile .mc-profile-top{overflow:hidden!important} +.mc-profile .mc-user-img{float:left!important} +.mc-profile .mc-user-img img{max-width:50px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important;border-radius:3px!important} +.mc-profile .mc-user-info{margin-left:60px!important} +.mc-profile .mc-user-name{font-size:18px!important;margin:0 0 6px!important} +.mc-profile .mc-hr{font-size:14px!important;margin:0 0 10px!important;color:#94989d!important;padding:20px 0 6px 0!important;border-bottom:1px solid #edf3f7!important} +.mc-profile .mc-user-comment{overflow:hidden!important;padding:16px 0 18px!important;border-bottom:1px solid #ededed!important} +.mc-profile .mc-user-comment:last-child{border-bottom:0!important} +.mc-profile .mc-user-comment .mc-avatar-wrap{position:relative!important;float:left!important;width:40px!important} +.mc-profile .mc-user-comment .mc-avatar-wrap img{width:36px!important;border-radius:3px!important} +.mc-profile .mc-comment{position:relative!important;margin:0 0 10px 48px!important;font-size:12px!important;line-height:18px!important} +.mc-profile .mc-comment .mc-comment-author{color:#333!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;vertical-align:middle!important} +.mc-profile .mc-comment .mc-comment-time{font-size:10px!important;color:#9e9e9e!important;margin-left:10px!important;padding:2px 0 0 4px!important} +.mc-profile .mc-comment .mc-comment-status{display:inline;float:right!important;padding:0 3px 0!important;color:#fff!important;font-size:11px!important;text-align:center!important;white-space:nowrap!important;border-radius:3px!important;background:#999!important} +.mc-profile .mc-spam .mc-comment .mc-comment-status{background:rgba(219,29,29,0.45)!important} +.mc-profile .mc-comment .mc-comment-rating{position:absolute!important;bottom:0!important;right:0!important} +.mc-profile .mc-comment .mc-comment-rating>span{display:none!important} +.mc-profile .mc-comment .mc-comment-up{color:#29e548!important} +.mc-profile .mc-comment .mc-comment-up .mcicon-thumbs-up{display:inline-block!important} +.mc-profile .mc-comment .mc-comment-down{color:#f73131!important} +.mc-profile .mc-comment .mc-comment-down .mcicon-thumbs-down{display:inline-block!important} +.mc-profile .mc-comment .mc-comment-text{margin:4px 0 0!important;padding:0 20px 0 0!important;font-size:12px!important;font-family:Arial,"lucida grande",tahoma,verdana,sans-serif!important;line-height:18px!important;color:#363636!important;direction:ltr!important;word-wrap:break-word!important} +.mc-profile .mc-comment-link{margin-left:48px!important;padding:0!important;font-size:12px!important;color:#a3a3a3!important;font-family:Arial,Tahoma,sans-serif!important} +.mc-profile .mc-comment-link a{font-size:12px!important} +.mc-profile.mc-profile-edit .mc-user-info{margin:0 0 0 150px!important} +.mc-profile.mc-profile-edit .mc-user-img{position:relative!important;width:150px!important;height:135px!important;text-align:center!important} +.mc-profile.mc-profile-edit .mc-user-img img{width:100px!important;max-width:100px!important;max-height:100px!important} +.mc-profile.mc-profile-edit input[type="text"],.mc-profile.mc-profile-edit select{display:block;width:100%!important;height:31px!important;margin:10px 0 0!important;padding:4px!important;border-radius:2px!important;border:1px solid #ccc!important;box-shadow:none!important} +.mc-profile.mc-profile-edit .mc-user-btn{margin:6px 0 0!important} +.mc-profile.mc-profile-edit .mc-btn2.mc-profile-cancel{margin-left:0!important} +.mc-profile.mc-profile-edit .mc-profile-setting>label{display:block!important;margin-bottom:10px!important;cursor:pointer!important} +.mc-profile.mc-profile-edit .mc-subscr-list>div{position:relative!important;padding-right:16px!important;margin-bottom:10px!important;overflow:hidden!important;text-overflow:ellipsis!important} +.mc-profile.mc-profile-edit .mc-subscr-list a{white-space:nowrap!important} +.mc-profile.mc-profile-edit .mc-subscr-list .mc-subscr-remove{position:absolute!important;right:0!important;top:0!important;color:#777!important;font-size:16px!important;cursor:pointer!important} +.mc-profile.mc-profile-edit .mc-subscr-list .mc-subscr-remove:hover{color:#333!important} +.mc-c.mc-modal-notice .mc-notice-agree{width:100%!important;margin:20px 0 0!important} +.cc .mc-rt{width:100%!important;padding:10px 35px 10px 14px!important;color:#444!important;font-weight:700!important;line-height:20px!important;font-size:13px!important;text-align:center!important;cursor:pointer!important;border:0!important;outline:0!important;border-radius:4px!important;background:rgba(210,214,238,0.8)!important;transition:all .2s ease-in-out!important} +.cc .mc-rt:hover{background:rgba(210,214,238,1.0)!important} +.cc .mc-comment-rtreply{padding-left:3px!important;border-left:5px solid #8f9be6!important} +.cc .mc-nocomments{opacity:.6!important;line-height:97px!important;text-align:center!important;font-size:14px!important} +.cc .mc-comments{text-align:center!important} +.cc .mc-comment{position:relative!important} +.cc .mc-comment-wrap{position:relative!important;padding:16px 0 16px!important;text-align:left!important;transition:all .2s ease-in-out!important} +.cc .mc-comment-wrap.mc-comment-pending,.cc .mc-comment-wrap.mc-comment-deleted,.cc .mc-comment-wrap.mc-comment-spam{opacity:.7!important} +.cc .mc-comment-child{margin-left:60px!important} +.cc .mc-comment-child .mc-comment-child{margin-left:48px!important} +.cc .mc-comment-child.mc-lastlvl{margin-left:0!important} +.cc .mc-comment-user,.mc-complaint .mc-comment-user{position:relative!important} +.cc .mc-comment .mc-avatar-wrap,.mc-complaint .mc-comment .mc-avatar-wrap{top:auto!important} +.cc .mc-comment-user .mc-avatar,.mc-complaint .mc-comment-user .mc-avatar{width:48px!important;height:48px!important;border-radius:3px!important;-webkit-border-radius:3px!important;-moz-border-radius:3px!important} +.cc .mc-comment-child .mc-comment-user .mc-avatar{width:36px!important;height:36px!important} +.cc .mc-comment-child .mc-comment-user .mc-social-wrap{top:25px!important;left:25px!important} +.cc .mc-comment-info,.mc-complaint .mc-comment-info{margin:0 0 0 60px!important;text-align:left!important} +.cc .mc-comment-child .mc-comment-info{margin-left:48px!important} +.cc .mc-comment-head{padding:0 70px 0 0!important} +.cc .mc-comment-head>a,.mc-complaint .mc-comment-head>a{display:inline-block;text-decoration:none!important;transition:all .2s ease-in-out!important} +.cc .mc-comment-username,.mc-complaint .mc-comment-username{color:#333!important;font-size:14px!important;font-weight:600!important;vertical-align:top!important} +.cc .mc-comment-badge,.mc-complaint .mc-comment-badge{display:inline-block!important;color:#fff!important;font-size:10px!important;line-height:1.1!important;font-weight:700!important;margin:0 0 0 2px!important;padding:1px 3px!important;border-radius:3px!important;background:rgba(34,59,74,.3)!important} +.cc .mc-comment-parent{color:#999!important;font-size:12px!important;margin-left:6px!important} +.cc .mc-comment-parent:hover{color:#555!important} +.cc .mc-comment-time,.mc-complaint .mc-comment-time{color:#b7bbc1!important;font-size:11px!important;margin-left:12px!important} +.cc .mc-comment-vote{position:absolute!important;bottom:14px!important;right:0!important;float:right!important;color:#ccc!important;font-size:18px!important} +.cc .mc-comment-rating{display:none;width:16px!important;margin:0 4px!important;font-size:14px!important;vertical-align:middle!important;text-align:right!important;cursor:pointer!important} +.cc .mc-comment-rating.mc-comment-up{display:inline-block!important;color:#29e548!important} +.cc .mc-comment-rating.mc-comment-down{display:inline-block!important;color:#f73131!important} +.cc .mc-comment-vote .mc-comment-like,.cc .mc-comment-vote .mc-comment-dislike{display:none!important;width:30px!important;text-align:center!important;cursor:pointer!important;transition:all .2s ease-in-out!important} +.cc .mc-comment-vote .mc-comment-like:hover{color:#29e548!important} +.cc .mc-comment-vote .mc-comment-dislike{vertical-align:middle!important} +.cc .mc-comment-vote .mc-comment-dislike:hover{color:#f73131!important} +.cc .mc-comment-wrap:hover .mc-comment-vote .mc-comment-rating,.cc .mc-comment-wrap:hover .mc-comment-vote .mc-comment-like,.cc .mc-comment-wrap:hover .mc-comment-vote .mc-comment-dislike{display:inline-block!important} +.cc .mc-comment-body{margin:4px 0!important} +.cc .mc-comment-msg,.mc-complaint .mc-comment-msg{color:#363636!important;font-size:14px!important;line-height:20px!important;white-space:pre-wrap!important;word-wrap:break-word!important} +.cc .mc-comment-msgcnt{overflow:hidden!important;zoom:1!important} +.cc .mc-comment-seemore{display:block;z-index:999!important;border-top:1px solid #ccc!important;color:#999!important;text-align:center!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;text-decoration:none!important} +.cc .mc-comment-seemore:hover{color:#666!important} +.cc .mc-comment-footer>a{font-size:12px!important;color:#b0b0b0!important;margin:0 14px 0 0!important;transition:all .2s ease-in-out!important} +.cc .mc-comment-footer>a:hover{color:#707070!important} +.cc .mc-comment-edit [class^="mcicon-"]{vertical-align:middle!important} +.cc .mc-comment-footer [class^="mcicon-"]{display:none!important;font-size:16px!important;font-weight:normal!important} +.cc .mc-comment-footer.mc-footer-sm [class^="mcicon-"]{display:inline-block!important} +.cc .mc-comment-footer.mc-footer-sm .mc-commentlabel{display:none!important} +@media screen and (max-width:767px){.cc .mc-comment-footer [class^="mcicon-"]{display:inline-block!important} +} +@media screen and (max-width:767px){.cc .mc-comment-footer .mc-commentlabel{display:none!important} +} +.mc-vote-login .mc-modal-body{text-align:center!important} +.cc .mc-comment-wrap:hover ~ .mc-comment-menu,.cc .mc-comment-menu:hover{display:inline-block!important} +.cc .mc-comment-menu{display:none!important;position:absolute!important;top:14px!important;right:2px!important;color:#ccc!important;font-size:14px!important;cursor:pointer!important} +.cc .mc-comment-menu>a{margin:0 0 0 15px!important;transition:all .2s ease-in-out!important} +.cc .mc-comment-menu>a:hover{color:#777!important} +.cc .mc-comment-menu-toggle{cursor:pointer!important} +.cc .mc-comment-light{display:none!important;position:absolute!important;top:16px!important;left:0!important;width:5px!important;height:48px!important;border-radius:3px!important} +.cc .mc-comment-child .mc-comment-light{height:36px!important} +.cc .mc-comment-target .mc-comment-light{display:block!important;background:#ffc62e!important} +.cc .mc-comment-new .mc-comment-light{display:block!important;background:#8f9be6!important;-webkit-transition:opacity 10s linear!important;-moz-transition:opacity 10s linear!important;-ms-transition:opacity 10s linear!important;-o-transition:opacity 10s linear!important;transition:opacity 10s linear!important} +.cc .mc-comment-seen .mc-comment-light{opacity:0!important} +.cc .mc-comment-new.mc-comment-wrap,.cc .mc-comment-target.mc-comment-wrap{padding-left:12px!important} +.cc .mc-dropdown-menu li.mc-admin-menu a{padding:4px 14px!important;font-size:12px!important} +.cc .mc-comment-replybox{margin-left:60px!important;padding:0 0 16px!important;text-align:left!important} +.cc .mc-comment-child .mc-comment-replybox{margin-left:48px!important} +.cc .mc-comment-replybox .mc-avatar{width:36px!important;height:36px!important} +.cc .mc-comment-replybox .mc-social-wrap{top:25px!important;left:25px!important} +.cc .mc-comment-replybox .mc-text-cnt{margin-left:48px!important} +.cc .mc-comment-replybox .mc-textarea{height:60px;min-height:60px!important} +.cc .mc-comment-replybox .mc-authbox{display:block!important} +.cc.mc-loggedin .mc-comment-replybox .mc-authbox{display:none!important} +.cc .mc-comment-replybox .mc-alert{margin:10px 0 0 48px!important} +.cc .mc-comment-editbox .mc-comment-save{margin-top:10px!important;margin-left:0!important} +.cc.mc-blue .mc-btn2{color:#fff!important;background:#337ab7!important} +.cc.mc-blue .mc-btn2:active{background:#286090!important} +.cc.mc-blue .mc-comment-footer>a{color:#337ab7!important} +.cc.mc-blue .mc-comment-footer>a:hover{color:#286090!important} +.cc.mc-sky .mc-btn2{color:#fff!important;background:#5bc0de!important} +.cc.mc-sky .mc-btn2:active{background:#31b0d5!important} +.cc.mc-sky .mc-comment-footer>a{color:#5bc0de!important} +.cc.mc-sky .mc-comment-footer>a:hover{color:#31b0d5!important} +.cc.mc-green .mc-btn2{color:#fff!important;background:#5cb85c!important} +.cc.mc-green .mc-btn2:active{background:#449d44!important} +.cc.mc-green .mc-comment-footer>a{color:#5cb85c!important} +.cc.mc-green .mc-comment-footer>a:hover{color:#449d44!important} +.cc.mc-orange .mc-btn2{color:#fff!important;background:#faa732!important} +.cc.mc-orange .mc-btn2:active{background:#ec971f!important} +.cc.mc-orange .mc-comment-footer>a{color:#faa732!important} +.cc.mc-orange .mc-comment-footer>a:hover{color:#ec971f!important} +.cc.mc-red .mc-btn2{color:#fff!important;background:#d9534f!important} +.cc.mc-red .mc-btn2:active{background:#c9302c!important} +.cc.mc-red .mc-comment-footer>a{color:#d9534f!important} +.cc.mc-red .mc-comment-footer>a:hover{color:#c9302c!important} +.cc.mc-black,.cc.mc-black .mc-head .mc-comment-count,.cc.mc-black .mc-head .mc-user-menu .mc-menu-toggle,.cc.mc-black .mc-nav li a,.cc.mc-black .mc-sort-toggle{color:#eee!important} +.cc.mc-black .mc-sort.mc-nav li.mc-active .mc-sort-hover{background:rgba(164,218,246,.6)!important} +.cc.mc-black .mc-h6,.cc.mc-black .mc-comment-username{color:#ddd!important} +.cc.mc-black .mc-comment-msg{color:#fff!important} +.cc.mc-black .mc-comment-badge{background:#768187!important;background:rgba(255,255,255,.35)!important} +.mc-comment-url.mc-c input{width:100%!important;height:29px!important;padding:4px!important;border-radius:3px!important} +.mc-c .mc-complaint-msg{margin:20px 0 0!important} +.mc-c .mc-complaint-btn{margin:10px 0 0!important;text-align:right!important} +.mc-c .mc-complaint-btn .mc-send{margin-left:0!important} \ No newline at end of file diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/comment2ru.js" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/comment2ru.js" new file mode 100644 index 0000000..a00ba27 --- /dev/null +++ "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/comment2ru.js" @@ -0,0 +1,2385 @@ +var Cackle=Cackle||{}; +Cackle.Fastjs=Cackle.Fastjs||{get:function(b,a){return document.querySelector(b+" "+a) +},extend:function(c,a){var b={},d; +for(d in c){if(Object.prototype.hasOwnProperty.call(c,d)){b[d]=c[d] +}}for(d in a){if(Object.prototype.hasOwnProperty.call(a,d)){b[d]=a[d] +}}return b +},create:function(b,a,c,d){var e=document.createElement(b); +if(a){this.addcl(e,a) +}if(c){e.setAttribute("title",c) +}if(d){e.setAttribute("style",d) +}return e +},addcls:function(d,a){for(var b=0; +b-1 +},on:function(c,d,a){if(!c){return +}var b=this; +if(c.addEventListener){c.addEventListener(d,function(f){if(a.call(c,f)==false){b.stop(f) +}},false) +}else{c.attachEvent("on"+d,function(f){f.stopPropagation=f.stopPropagation||function(){this.cancelBubble=true +}; +f.preventDefault=f.preventDefault||function(){this.returnValue=false +}; +if(a.call(c,f)==false){b.stop(f) +}}) +}},on2:function(c,b,e,a){if(!c){return +}var d=c.querySelector(b); +if(d){this.on(d,e,a) +}},onall:function(c,d,a){for(var b=0; +b-1){return d +}}}},children:function(c){var b=[]; +for(var a=c.children.length; +a--; +){if(c.children[a].nodeType!=8){b.unshift(c.children[a]) +}}return b +},icss:function(b,a){return b+":"+a+"px!important;" +},transCss:function(b,d){var c=" .5s ease-in-out!important;",a="overflow-y:hidden!important;-webkit-transition:"+d+c+"-moz-transition:"+d+c+"-o-transition:"+d+c+"transition:"+d+c; +b.setAttribute("style",a); +return a +},prependSlide:function(e,b){var a=this,d=this.transCss(e,"max-height"); +b.insertBefore(e,b.firstChild); +var c=e.offsetHeight; +e.setAttribute("style",this.icss("max-height",0)+d); +setTimeout(function(){e.setAttribute("style",a.icss("max-height",c)+d); +setTimeout(function(){e.setAttribute("style","") +},1000) +},1) +},slidedwn:function(b){b.style.display=""; +var a=b.offsetHeight; +b.setAttribute("style",this.transCss(b,"height")); +b.style.height="0"; +setTimeout(function(){b.style.height=a+"px"; +setTimeout(function(){b.setAttribute("style","") +},500) +},5) +},slideup:function(b,a){b.setAttribute("style",this.transCss(b,"height")); +b.style.height=b.offsetHeight+"px"; +setTimeout(function(){b.style.height="0"; +setTimeout(function(){b.setAttribute("style","display:none"); +a&&a() +},500) +},5) +},title:function(){var a=document.getElementsByTagName("title")[0]; +return a&&a.textContent||"" +},nextES:function(a){do{a=a.nextSibling +}while(a&&a.nodeType!==1); +return a +},next:function(a){return a.nextElementSibling||this.nextES(a) +},prevES:function(a){do{a=a.previousSibling +}while(a&&a.nodeType!==1); +return a +},prev:function(a){return a.previousElementSibling||this.prevES(a) +},after:function(a,b){a.parentNode.insertBefore(b,a.nextSibling) +},isVisible:function(a){return a.offsetWidth>0&&a.offsetHeight>0 +},isInteger:function(a){return a%1===0 +},isString:function(a){return typeof a=="string" +},afun:function(a){var b="cackle_"+Math.floor(Math.random()*1000001); +window[b]=function(c){window[b]=undefined; +try{delete window[b] +}catch(d){}a(c) +}; +return b +},params:function(c,b,a){var d=[]; +if(b){for(p in b){d.push(encodeURIComponent(p)+"="+encodeURIComponent(b[p])) +}}if(a){d.push("callback="+this.afun(a)) +}if(d.length>0){var e=(c.indexOf("?")<0)?"?":"&"; +return c+=e+d.join("&") +}return c +},jsonp:function(c,b,a){var d=document.createElement("script"); +d.src=this.params(c,b,a); +d.type="text/javascript"; +(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(d) +},popup:function(c,d,a,b,f,e){f=f||(screen.height/2)-(a/2); +e=e||(screen.width/2)-(d/2); +return window.open(this.params(c,b),"","location=1,status=1,resizable=yes,width="+d+",height="+a+",top="+f+",left="+e) +},inArray:function(c,b){for(var a=0; +a0){for(var e=0; +e()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,error:function(a,b){var c=b[a.code],d=a.banInfo; +if(d){if(d.expired){c+=" "+b.banUntil+" "+new Date(d.expired).toLocaleString() +}if(d.reason){c+="
"+b.banReason+" "+b["ban"+d.reason] +}else{if(d.reasonTxt){c+="
"+b.banReason+" "+d.reasonTxt +}}}return c +},validEmail:function(a){return this.emailRegex.test(a) +},gotoId:function(b){var a=window.location.href; +if(a.indexOf("#"+b)>0){document.location.replace(a) +}},ssl:function(a){if(Cackle.protocol=="https:"&&a){if(a.indexOf("http://media.cackle.me")>-1||a.indexOf("http://cackle.me")>-1){return a.replace("http:","https:") +}else{if(a.indexOf("https://media.cackle.me")>-1||a.indexOf("https")==0){return a +}else{return"https://i2.wp.com/"+a.replace("http://","") +}}}else{return a +}},urlsToHyperlinks:function(d){var c=/(\b(https?|ftp|file):\/\/[-A-Z0-9А-Я+&@#\/%?=~_|!:,.;]*[-A-Z0-9А-Я+&@#\/%=~_|])/ig,b=/(^|[^\/])(www\.[\S]+(\b|$))/ig,a=d.replace(c,'$1'); +return a.replace(b,'$1$2') +},escapeHtml:function(a){return a?document.createElement("div").appendChild(document.createTextNode(a)).parentNode.innerHTML:"" +},escapeHtmlWithLinks:function(a){return this.urlsToHyperlinks(this.escapeHtml(a)) +},getAvatar:function(b,d,c,a){if(b){b=this.ssl(b); +return b.match("^http://cackle.me/")?b.replace("http://","http://i1.wp.com/"):b +}else{if((a.gravatarEnable||a.anonymGravatarEnable)&&d){return this.getGravatar(d,c,a) +}else{return this.getDefaultAvatar(a) +}}},getGravatar:function(c,b,a){return"//gravatar.com/avatar/"+c+"?d="+this.getDefaultAvatar(a)+"&r=PG&s="+b +},getDefaultAvatar:function(a){return a.anonymAvatar?(a.anonymAvatar.match("^https?:")?a.anonymAvatar:"//"+a.anonymAvatar):this.getCackleAvatar() +},getCackleAvatar:function(){return Cackle.origin+"/widget/img/anonym2.png" +}};if(typeof JSON!=="object"){JSON={} +}(function(){function f(n){return n<10?"0"+n:n +}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null +}; +String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf() +} +}var cx,escapable,gap,indent,meta,rep; +function quote(string){escapable.lastIndex=0; +return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a]; +return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4) +})+'"':'"'+string+'"' +}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key]; +if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key) +}if(typeof rep==="function"){value=rep.call(holder,key,value) +}switch(typeof value){case"string":return quote(value); +case"number":return isFinite(value)?String(value):"null"; +case"boolean":case"null":return String(value); +case"object":if(!value){return"null" +}gap+=indent; +partial=[]; +if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length; +for(i=0; +i9&&aa>0;return true}var v,x;if(C(N,"addEventListener")){v=function(Z,X,Y){Z.addEventListener(X,Y,false)};x=function(Z,X,Y){Z.removeEventListener(X,Y,false)}}else{if(C(N,"attachEvent")){v=function(X,Z,Y){X.attachEvent("on"+Z,Y)};x=function(X,Z,Y){X.detachEvent("on"+Z,Y)}}else{throw new Error("Browser not supported")}}var W=false,J=[],L;if("readyState" in d){L=d.readyState;W=L=="complete"||(~navigator.userAgent.indexOf("AppleWebKit/")&&(L=="loaded"||L=="interactive"))}else{W=!!d.body}function s(){if(W){return}W=true;for(var X=0;X')}else{ac=d.createElement("IFRAME");ac.name=Y.props.name}ac.id=ac.name=Y.props.name;delete Y.props.name;if(typeof Y.container=="string"){Y.container=d.getElementById(Y.container)}if(!Y.container){T(ac.style,{position:"absolute",top:"-2000px",left:"0px"});Y.container=d.body}var ab=Y.props.src;Y.props.src="javascript:false";T(ac,Y.props);ac.border=ac.frameBorder=0;ac.allowTransparency=true;Y.container.appendChild(ac);if(Y.onLoad){v(ac,"load",Y.onLoad)}if(Y.usePost){var aa=Y.container.appendChild(d.createElement("form")),X;aa.target=ac.name;aa.action=ab;aa.method="POST";if(typeof(Y.usePost)==="object"){for(var Z in Y.usePost){if(Y.usePost.hasOwnProperty(Z)){if(E){X=d.createElement('')}else{X=d.createElement("INPUT");X.name=Z}X.value=Y.usePost[Z];aa.appendChild(X)}}}aa.submit();aa.parentNode.removeChild(aa)}else{ac.src=ab}Y.props.src=ab;return ac}function V(aa,Z){if(typeof aa=="string"){aa=[aa]}var Y,X=aa.length;while(X--){Y=aa[X];Y=new RegExp(Y.substr(0,1)=="^"?Y:("^"+Y.replace(/(\*)/g,".$1").replace(/\?/g,".")+"$"));if(Y.test(Z)){return true}}return false}function l(Z){var ae=Z.protocol,Y;Z.isHost=Z.isHost||t(S.xdm_p);y=Z.hash||false;if(!Z.props){Z.props={}}if(!Z.isHost){Z.channel=S.xdm_c.replace(/["'<>\\]/g,"");Z.secret=S.xdm_s;Z.remote=S.xdm_e.replace(/["'<>\\]/g,"");ae=S.xdm_p;if(Z.acl&&!V(Z.acl,Z.remote)){throw new Error("Access denied for "+Z.remote)}}else{Z.remote=B(Z.remote);Z.channel=Z.channel||"default"+n++;Z.secret=Math.random().toString(16).substring(2);if(t(ae)){if(j(p.href)==j(Z.remote)){ae="4"}else{if(C(N,"postMessage")||C(d,"postMessage")){ae="1"}else{if(Z.swf&&C(N,"ActiveXObject")&&c()){ae="6"}else{if(navigator.product==="Gecko"&&"frameElement" in N&&navigator.userAgent.indexOf("WebKit")==-1){ae="5"}else{if(Z.remoteHelper){ae="2"}else{ae="0"}}}}}}}Z.protocol=ae;switch(ae){case"0":T(Z,{interval:100,delay:2000,useResize:true,useParent:false,usePolling:false},true);if(Z.isHost){if(!Z.local){var ac=p.protocol+"//"+p.host,X=d.body.getElementsByTagName("img"),ad;var aa=X.length;while(aa--){ad=X[aa];if(ad.src.substring(0,ac.length)===ac){Z.local=ad.src;break}}if(!Z.local){Z.local=N}}var ab={xdm_c:Z.channel,xdm_p:0};if(Z.local===N){Z.usePolling=true;Z.useParent=true;Z.local=p.protocol+"//"+p.host+p.pathname+p.search;ab.xdm_e=Z.local;ab.xdm_pa=1}else{ab.xdm_e=B(Z.local)}if(Z.container){Z.useResize=false;ab.xdm_po=1}Z.remote=P(Z.remote,ab)}else{T(Z,{channel:S.xdm_c,remote:S.xdm_e,useParent:!t(S.xdm_pa),usePolling:!t(S.xdm_po),useResize:Z.useParent?false:Z.useResize})}Y=[new o.stack.HashTransport(Z),new o.stack.ReliableBehavior({}),new o.stack.QueueBehavior({encode:true,maxLength:4000-Z.remote.length}),new o.stack.VerifyBehavior({initiate:Z.isHost})];break;case"1":Y=[new o.stack.PostMessageTransport(Z)];break;case"2":if(Z.isHost){Z.remoteHelper=B(Z.remoteHelper)}Y=[new o.stack.NameTransport(Z),new o.stack.QueueBehavior(),new o.stack.VerifyBehavior({initiate:Z.isHost})];break;case"3":Y=[new o.stack.NixTransport(Z)];break;case"4":Y=[new o.stack.SameOriginTransport(Z)];break;case"5":Y=[new o.stack.FrameElementTransport(Z)];break;case"6":if(!i){c()}Y=[new o.stack.FlashTransport(Z)];break}Y.push(new o.stack.QueueBehavior({lazy:Z.lazy,remove:true}));return Y}function D(aa){var ab,Z={incoming:function(ad,ac){this.up.incoming(ad,ac)},outgoing:function(ac,ad){this.down.outgoing(ac,ad)},callback:function(ac){this.up.callback(ac)},init:function(){this.down.init()},destroy:function(){this.down.destroy()}};for(var Y=0,X=aa.length;Y<\/script>')}}};(function(){var X={};o.Fn={set:function(Y,Z){X[Y]=Z},get:function(Z,Y){if(!X.hasOwnProperty(Z)){return}var aa=X[Z];if(Y){delete X[Z]}return aa}}}());o.Socket=function(Y){var X=D(l(Y).concat([{incoming:function(ab,aa){Y.onMessage(ab,aa)},callback:function(aa){if(Y.onReady){Y.onReady(aa)}}}])),Z=j(Y.remote);this.origin=j(Y.remote);this.destroy=function(){X.destroy()};this.postMessage=function(aa){X.outgoing(aa,Z)};X.init()};o.Rpc=function(Z,Y){if(Y.local){for(var ab in Y.local){if(Y.local.hasOwnProperty(ab)){var aa=Y.local[ab];if(typeof aa==="function"){Y.local[ab]={method:aa}}}}}var X=D(l(Z).concat([new o.stack.RpcBehavior(this,Y),{callback:function(ac){if(Z.onReady){Z.onReady(ac)}}}]));this.origin=j(Z.remote);this.destroy=function(){X.destroy()};X.init()};o.stack.SameOriginTransport=function(Y){var Z,ab,aa,X;return(Z={outgoing:function(ad,ae,ac){aa(ad);if(ac){ac()}},destroy:function(){if(ab){ab.parentNode.removeChild(ab);ab=null}},onDOMReady:function(){X=j(Y.remote);if(Y.isHost){T(Y.props,{src:P(Y.remote,{xdm_e:p.protocol+"//"+p.host+p.pathname,xdm_c:Y.channel,xdm_p:4}),name:U+Y.channel+"_provider"});ab=A(Y);o.Fn.set(Y.channel,function(ac){aa=ac;K(function(){Z.up.callback(true)},0);return function(ad){Z.up.incoming(ad,X)}})}else{aa=m().Fn.get(Y.channel,true)(function(ac){Z.up.incoming(ac,X)});K(function(){Z.up.callback(true)},0)}},init:function(){G(Z.onDOMReady,Z)}})};o.stack.FlashTransport=function(aa){var ac,X,ab,ad,Y,ae;function af(ah,ag){K(function(){ac.up.incoming(ah,ad)},0)}function Z(ah){var ag=aa.swf+"?host="+aa.isHost;var aj="easyXDM_swf_"+Math.floor(Math.random()*10000);o.Fn.set("flash_loaded"+ah.replace(/[\-.]/g,"_"),function(){o.stack.FlashTransport[ah].swf=Y=ae.firstChild;var ak=o.stack.FlashTransport[ah].queue;for(var al=0;al"}return(ac={outgoing:function(ah,ai,ag){Y.postMessage(aa.channel,ah.toString());if(ag){ag()}},destroy:function(){try{Y.destroyChannel(aa.channel)}catch(ag){}Y=null;if(X){X.parentNode.removeChild(X);X=null}},onDOMReady:function(){ad=aa.remote;o.Fn.set("flash_"+aa.channel+"_init",function(){K(function(){ac.up.callback(true)})});o.Fn.set("flash_"+aa.channel+"_onMessage",af);aa.swf=B(aa.swf);var ah=z(aa.swf);var ag=function(){o.stack.FlashTransport[ah].init=true;Y=o.stack.FlashTransport[ah].swf;Y.createChannel(aa.channel,aa.secret,j(aa.remote),aa.isHost);if(aa.isHost){if(h&&aa.swfNoThrottle){T(aa.props,{position:"fixed",right:0,top:0,height:"20px",width:"20px"})}T(aa.props,{src:P(aa.remote,{xdm_e:j(p.href),xdm_c:aa.channel,xdm_p:6,xdm_s:aa.secret}),name:U+aa.channel+"_provider"});X=A(aa)}};if(o.stack.FlashTransport[ah]&&o.stack.FlashTransport[ah].init){ag()}else{if(!o.stack.FlashTransport[ah]){o.stack.FlashTransport[ah]={queue:[ag]};Z(ah)}else{o.stack.FlashTransport[ah].queue.push(ag)}}},init:function(){G(ac.onDOMReady,ac)}})};o.stack.PostMessageTransport=function(aa){var ac,ad,Y,Z;function X(ae){if(ae.origin){return j(ae.origin)}if(ae.uri){return j(ae.uri)}if(ae.domain){return p.protocol+"//"+ae.domain}throw"Unable to retrieve the origin of the event"}function ab(af){var ae=X(af);if(ae==Z&&af.data.substring(0,aa.channel.length+1)==aa.channel+" "){ac.up.incoming(af.data.substring(aa.channel.length+1),ae)}}return(ac={outgoing:function(af,ag,ae){Y.postMessage(aa.channel+" "+af,ag||Z);if(ae){ae()}},destroy:function(){x(N,"message",ab);if(ad){Y=null;ad.parentNode.removeChild(ad);ad=null}},onDOMReady:function(){Z=j(aa.remote);if(aa.isHost){var ae=function(af){if(af.data==aa.channel+"-ready"){Y=("postMessage" in ad.contentWindow)?ad.contentWindow:ad.contentWindow.document;x(N,"message",ae);v(N,"message",ab);K(function(){ac.up.callback(true)},0)}};v(N,"message",ae);T(aa.props,{src:P(aa.remote,{xdm_e:j(p.href),xdm_c:aa.channel,xdm_p:1}),name:U+aa.channel+"_provider"});ad=A(aa)}else{v(N,"message",ab);Y=("postMessage" in N.parent)?N.parent:N.parent.document;Y.postMessage(aa.channel+"-ready",Z);K(function(){ac.up.callback(true)},0)}},init:function(){G(ac.onDOMReady,ac)}})};o.stack.FrameElementTransport=function(Y){var Z,ab,aa,X;return(Z={outgoing:function(ad,ae,ac){aa.call(this,ad);if(ac){ac()}},destroy:function(){if(ab){ab.parentNode.removeChild(ab);ab=null}},onDOMReady:function(){X=j(Y.remote);if(Y.isHost){T(Y.props,{src:P(Y.remote,{xdm_e:j(p.href),xdm_c:Y.channel,xdm_p:5}),name:U+Y.channel+"_provider"});ab=A(Y);ab.fn=function(ac){delete ab.fn;aa=ac;K(function(){Z.up.callback(true)},0);return function(ad){Z.up.incoming(ad,X)}}}else{if(d.referrer&&j(d.referrer)!=S.xdm_e){N.top.location=S.xdm_e}aa=N.frameElement.fn(function(ac){Z.up.incoming(ac,X)});Z.up.callback(true)}},init:function(){G(Z.onDOMReady,Z)}})};o.stack.NameTransport=function(ab){var ac;var ae,ai,aa,ag,ah,Y,X;function af(al){var ak=ab.remoteHelper+(ae?"#_3":"#_2")+ab.channel;ai.contentWindow.sendMessage(al,ak)}function ad(){if(ae){if(++ag===2||!ae){ac.up.callback(true)}}else{af("ready");ac.up.callback(true)}}function aj(ak){ac.up.incoming(ak,Y)}function Z(){if(ah){K(function(){ah(true)},0)}}return(ac={outgoing:function(al,am,ak){ah=ak;af(al)},destroy:function(){ai.parentNode.removeChild(ai);ai=null;if(ae){aa.parentNode.removeChild(aa);aa=null}},onDOMReady:function(){ae=ab.isHost;ag=0;Y=j(ab.remote);ab.local=B(ab.local);if(ae){o.Fn.set(ab.channel,function(al){if(ae&&al==="ready"){o.Fn.set(ab.channel,aj);ad()}});X=P(ab.remote,{xdm_e:ab.local,xdm_c:ab.channel,xdm_p:2});T(ab.props,{src:X+"#"+ab.channel,name:U+ab.channel+"_provider"});aa=A(ab)}else{ab.remoteHelper=ab.remote;o.Fn.set(ab.channel,aj)}var ak=function(){var al=ai||this;x(al,"load",ak);o.Fn.set(ab.channel+"_load",Z);(function am(){if(typeof al.contentWindow.sendMessage=="function"){ad()}else{K(am,50)}}())};ai=A({props:{src:ab.local+"#_4"+ab.channel},onLoad:ak})},init:function(){G(ac.onDOMReady,ac)}})};o.stack.HashTransport=function(Z){var ac;var ah=this,af,aa,X,ad,am,ab,al;var ag,Y;function ak(ao){if(!al){return}var an=Z.remote+"#"+(am++)+"_"+ao;((af||!ag)?al.contentWindow:al).location=an}function ae(an){ad=an;ac.up.incoming(ad.substring(ad.indexOf("_")+1),Y)}function aj(){if(!ab){return}var an=ab.location.href,ap="",ao=an.indexOf("#");if(ao!=-1){ap=an.substring(ao)}if(ap&&ap!=ad){ae(ap)}}function ai(){aa=setInterval(aj,X)}return(ac={outgoing:function(an,ao){ak(an)},destroy:function(){N.clearInterval(aa);if(af||!ag){al.parentNode.removeChild(al)}al=null},onDOMReady:function(){af=Z.isHost;X=Z.interval;ad="#"+Z.channel;am=0;ag=Z.useParent;Y=j(Z.remote);if(af){T(Z.props,{src:Z.remote,name:U+Z.channel+"_provider"});if(ag){Z.onLoad=function(){ab=N;ai();ac.up.callback(true)}}else{var ap=0,an=Z.delay/50;(function ao(){if(++ap>an){throw new Error("Unable to reference listenerwindow")}try{ab=al.contentWindow.frames[U+Z.channel+"_consumer"]}catch(aq){}if(ab){ai();ac.up.callback(true)}else{K(ao,50)}}())}al=A(Z)}else{ab=N;ai();if(ag){al=parent;ac.up.callback(true)}else{T(Z,{props:{src:Z.remote+"#"+Z.channel+new Date(),name:U+Z.channel+"_consumer"},onLoad:function(){ac.up.callback(true)}});al=A(Z)}}},init:function(){G(ac.onDOMReady,ac)}})};o.stack.ReliableBehavior=function(Y){var aa,ac;var ab=0,X=0,Z="";return(aa={incoming:function(af,ad){var ae=af.indexOf("_"),ag=af.substring(0,ae).split(",");af=af.substring(ae+1);if(ag[0]==ab){Z="";if(ac){ac(true)}}if(af.length>0){aa.down.outgoing(ag[1]+","+ab+"_"+Z,ad);if(X!=ag[1]){X=ag[1];aa.up.incoming(af,ad)}}},outgoing:function(af,ad,ae){Z=af;ac=ae;aa.down.outgoing(X+","+(++ab)+"_"+af,ad)}})};o.stack.QueueBehavior=function(Z){var ac,ad=[],ag=true,aa="",af,X=0,Y=false,ab=false;function ae(){if(Z.remove&&ad.length===0){w(ac);return}if(ag||ad.length===0||af){return}ag=true;var ah=ad.shift();ac.down.outgoing(ah.data,ah.origin,function(ai){ag=false;if(ah.callback){K(function(){ah.callback(ai)},0)}ae()})}return(ac={init:function(){if(t(Z)){Z={}}if(Z.maxLength){X=Z.maxLength;ab=true}if(Z.lazy){Y=true}else{ac.down.init()}},callback:function(ai){ag=false;var ah=ac.up;ae();ah.callback(ai)},incoming:function(ak,ai){if(ab){var aj=ak.indexOf("_"),ah=parseInt(ak.substring(0,aj),10);aa+=ak.substring(aj+1);if(ah===0){if(Z.encode){aa=k(aa)}ac.up.incoming(aa,ai);aa=""}}else{ac.up.incoming(ak,ai)}},outgoing:function(al,ai,ak){if(Z.encode){al=H(al)}var ah=[],aj;if(ab){while(al.length!==0){aj=al.substring(0,X);al=al.substring(aj.length);ah.push(aj)}while((aj=ah.shift())){ad.push({data:ah.length+"_"+aj,origin:ai,callback:ah.length===0?ak:null})}}else{ad.push({data:al,origin:ai,callback:ak})}if(Y){ac.down.init()}else{ae()}},destroy:function(){af=true;ac.down.destroy()}})};o.stack.VerifyBehavior=function(ab){var ac,aa,Y,Z=false;function X(){aa=Math.random().toString(16).substring(2);ac.down.outgoing(aa)}return(ac={incoming:function(af,ad){var ae=af.indexOf("_");if(ae===-1){if(af===aa){ac.up.callback(true)}else{if(!Y){Y=af;if(!ab.initiate){X()}ac.down.outgoing(af)}}}else{if(af.substring(0,ae)===Y){ac.up.incoming(af.substring(ae+1),ad)}}},outgoing:function(af,ad,ae){ac.down.outgoing(aa+"_"+af,ad,ae)},callback:function(ad){if(ab.initiate){X()}}})};o.stack.RpcBehavior=function(ad,Y){var aa,af=Y.serializer||O();var ae=0,ac={};function X(ag){ag.jsonrpc="2.0";aa.down.outgoing(af.stringify(ag))}function ab(ag,ai){var ah=Array.prototype.slice;return function(){var aj=arguments.length,al,ak={method:ai};if(aj>0&&typeof arguments[aj-1]==="function"){if(aj>1&&typeof arguments[aj-2]==="function"){al={success:arguments[aj-2],error:arguments[aj-1]};ak.params=ah.call(arguments,0,aj-2)}else{al={success:arguments[aj-1]};ak.params=ah.call(arguments,0,aj-1)}ac[""+(++ae)]=al;ak.id=ae}else{ak.params=ah.call(arguments,0)}if(ag.namedParams&&ak.params.length===1){ak.params=ak.params[0]}X(ak)}}function Z(an,am,ai,al){if(!ai){if(am){X({id:am,error:{code:-32601,message:"Procedure not found."}})}return}var ak,ah;if(am){ak=function(ao){ak=q;X({id:am,result:ao})};ah=function(ao,ap){ah=q;var aq={id:am,error:{code:-32099,message:ao}};if(ap){aq.error.data=ap}X(aq)}}else{ak=ah=q}if(!r(al)){al=[al]}try{var ag=ai.method.apply(ai.scope,al.concat([ak,ah]));if(!t(ag)){ak(ag)}}catch(aj){ah(aj.message)}}return(aa={incoming:function(ah,ag){var ai=af.parse(ah);if(ai.method){if(Y.handle){Y.handle(ai,X)}else{Z(ai.method,ai.id,Y.local[ai.method],ai.params)}}else{var aj=ac[ai.id];if(ai.error){if(aj.error){aj.error(ai.error)}}else{if(aj.success){aj.success(ai.result)}}delete ac[ai.id]}},init:function(){if(Y.remote){for(var ag in Y.remote){if(Y.remote.hasOwnProperty(ag)){ad[ag]=ab(Y.remote[ag],ag)}}}aa.down.init()},destroy:function(){for(var ag in Y.remote){if(Y.remote.hasOwnProperty(ag)&&ad.hasOwnProperty(ag)){delete ad[ag]}}aa.down.destroy()}})};b.easyXDM=o})(window,document,location,window.setTimeout,decodeURIComponent,encodeURIComponent); + }, + + get: function(xhrhost, url, data, success, complete) { + this.send(xhrhost, url, 'GET', data, success, complete); + }, + + post: function(xhrhost, url, data, success, complete) { + if (Cackle.auth && Cackle.auth.provider == 'sso' && /Safari/.test(navigator.userAgent) && /Apple/.test(navigator.vendor)) { + var p3pCookie = Cackle.getCookie('mc-sso-p3p'); + if (p3pCookie) { + this.postP3P(p3pCookie, url, data, success, complete); + return; + } + } + this.doPost(url, data, success, complete); + }, + + //In iOS (Safari) SSO auth don't set cookie according P3P policy + //This is workaround for set cookie into window.popup + postP3P: function(p3pCookie, url, data, success, complete) { + var handler = this, + p3pJson = JSON.parse(p3pCookie), + win = Cackle.Fastjs.popup(p3pJson.url, 1, 1, p3pJson.params, 1000000, 1000000); + + function check() { + if (!win || win.closed != false) { + Cackle.Cookie.erase('mc-sso-p3p'); + handler.doPost(url, data, success, complete); + } else { + setTimeout(check, 10); + } + } + setTimeout(check, 10); + }, + + doPost: function(url, data, success, complete) { + url = url.replace(/https?.*cackle.me/, Cackle.origin); + this.send(Cackle.origin, url, 'POST', data, success, complete); + }, + + send: function(xhrhost, url, type, data, success, complete) { + if (data) { + for (d in data) { + if (data.hasOwnProperty(d)) { + var val = data[d]; + if (typeof val == 'string') { + data[d] = this.escape(val); + } + } + } + } + this.xhr(xhrhost).request({url: url, method: type, headers: {'Accept': 'application/json;'}, data: data}, + function(res) { + if (success) { + if (res.data) { + var json; + try { json = JSON.parse(res.data); } catch (e) {} + success(json || res.data); + } else { + success(); + } + } + if (complete) complete(); + }, function(res) { + if (complete) complete(); + } + ); + }, + + escape: function(str) { + var escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + meta = {'\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '"' : '\\"', '\\': '\\\\'}; + + escapable.lastIndex = 0; + return escapable.test(str) ? + str.replace(escapable, function (a) { + var c = meta[a]; + return typeof c === 'string' ? c : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) : str; + }, + + stringify: function (obj) { + var t = typeof (obj); + if (t != "object" || obj === null) { + if (t == "string"){obj = '"'+obj+'"';} + return String(obj); + } + else { + var n, v, json = [], arr = (obj && obj.constructor == Array); + for (n in obj) { + if (obj.hasOwnProperty(n)) { + v = obj[n]; t = typeof(v); + if (t == "string"){v = '"'+v+'"';}else if (t == "object" && v !== null){v = this.stringify(v);} + json.push((arr ? "" : '"' + n + '":') + String(v)); + } + } + return (arr ? "[" : "{") + String(json) + (arr ? "]" : "}"); + } + } +};var Cackle=Cackle||{}; +Cackle.Cookie=Cackle.Cookie||{create:function(b,d,e){var c=b+"="+encodeURIComponent(d); +if(e){var a=new Date(); +a.setTime(a.getTime()+(e*24*60*60*1000)); +c+=";expires="+a.toGMTString() +}if(window.mcXDCookie){c+=";domain="+this.getXDomain() +}c+=";path=/"; +document.cookie=c +},getXDomain:function(){var b=window.location.hostname.split("."),a=b.length; +if(a>1){return"."+b[a-2]+"."+b[a-1] +}else{return"" +}},read:function(b){var e=b+"=",a=document.cookie.split(";"); +for(var d=0; +d{{?it.conf.anonym != false}}
{{?it.conf.guestFirst == true}}
{{=it.msg.anonym2}}
{{=it.anonym}}
{{=it.msg.social2}}
{{=it.soc}}
{{??}}
{{=it.msg.social}}
{{=it.soc}}
{{=it.msg.anonym}}
{{=it.anonym}}
{{?}}
{{??}}
{{=it.msg.social}}
{{=it.soc}}
{{?}}',anonym:'
{{?it.conf.anonymExpand}}
{{?}}{{?it.conf.guestHideEmail != true}}
{{?}}
{{?it.conf.anonymExpand}}
{{?}}',soctemp:'{{~it.provs :p}}{{?p && Cackle.Login2.prov[p]}}
{{?}}{{~}}',captcha:'
',render:function(a,b){return(doT.template(Cackle.Login2[a]))(b) +},authorize:function(c,a){var d=this,b=c.host+"/login/"+c.id+"/authorize.json",e={}; +if(c.chanId>0){e.chanId=c.chanId +}Cackle.PostMessage.get(c.host,b,e,function(f){d.authorizecb(c,f.authorizeResponse,a) +}) +},authorizecb:function(b,c,a){if(b.provTrust||this.isProviderCorrect(b,c.auth)){Cackle.auth=Cackle.Login2.auth=c.auth; +Cackle.Fastjs.cbs(b,"loggedin",c.auth); +b.action&&b.action(c.auth); +if(b.logcb){if(b.redirect){this.post(b.redirect,{name:"token",value:c.token}) +}if(b.callbackjs){this.execfun(b.callbackjs,[c.token,c.auth]) +}}}a&&a() +},post:function(b,d){var c=document.createElement("form"); +c.action=decodeURIComponent(b.match("^https?://")?b:"http://"+b); +c.method="post"; +c.target="_top"; +c.style.display="none"; +var a=document.createElement("input"); +a.type="hidden"; +a.name=d.name; +a.value=d.value; +c.appendChild(a); +document.body.appendChild(c); +c.submit() +},execfun:function(a,c){try{window[a](c[0],c[1],c[2],c[3],c[4]) +}catch(b){try{a(c[0],c[1],c[2],c[3],c[4]) +}catch(b){}}},logout:function(b){var c=b?b.host:Cackle.origin,a=c+"/login/logout.json"; +Cackle.PostMessage.get(c,a,null,function(){Cackle.auth=Cackle.Login2.auth=null; +if(b){Cackle.Fastjs.cbs(b,"logout") +}}) +},isAuthorized:function(){return Cackle.Login2.auth&&Cackle.Login2.auth.id +},isProviderCorrect:function(a,d){if(a.widget=="comment"&&this.isModerator(d)){return true +}else{var c=a.providers,b=d.provider; +if(c){return b=="guest"||b=="sso"||Cackle.Fastjs.inArray(c,b)>-1 +}}return false +},isModerator:function(b){var a=b||Cackle.Login2.auth; +return a&&a.moderator +},init:function(a,c){var d=this,e=c.querySelectorAll("[data-provider]"); +if(a.ssoProvider){Cackle.Fastjs.prepend(c,this.renderSSO(a)) +}for(var b=0; +b',pthumb:Cackle.origin+"/widget/img/presen_thumbl.png",uploadImage:function(b){var a=Cackle.Fastjs.next(this); +a.click(); +return false +},uploadFiles:function(b,c,d,g){if(!window.FormData){return +}var j=Cackle.Fastjs.prev(c); +Cackle.Fastjs.addcl(j,"mc-spin"); +var e=new FormData(); +for(var h=0,f; +f=b[h]; +++h){e.append("file",f) +}var k=this; +if(!this.xhr){this.xhr=new XMLHttpRequest() +}this.xhr.open("POST",this.srv+"upload2",true); +this.xhr.onload=function(i){if(4===k.xhr.readyState){if(200===k.xhr.status&&k.xhr.responseText.length>0){var a=k.srv+k.xhr.responseText; +if(d){k.attachImage(a,d) +}if(g){g(a) +}Cackle.Fastjs.remcl(j,"mc-spin") +}}}; +this.xhr.send(e) +},attachImage:function(b,d){if(b){var c=this.makePreview(b.split(" "),true),e=Cackle.Fastjs.next(d); +if(e&&Cackle.Fastjs.hascl(e,"mc-media-preview")){var a=e.querySelector("ul"); +Cackle.Fastjs.each(c.querySelectorAll("li"),function(g){a.appendChild(g) +}) +}else{var f=Cackle.Fastjs.create("div","mc-media-preview"); +f.appendChild(c); +Cackle.Fastjs.after(d,f) +}}},makeContent:function(e,d,a){var b=this.findLinks(e); +if(b&&b.length>0){var c=this.makePreview(b,d,a); +var f=Cackle.Fastjs.create("div","mc-comment-media"); +f.appendChild(c); +return f +}return"" +},makeContentHtml:function(c,b){var a=this.makeContent(c,b); +if(a){return a.outerHTML +}return"" +},findLinks:function(a){return a.match(/(((\bhttps?:)?(\/\/)?(((www\.)?youtube\.com\/watch\?[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])|((www\.)?youtu\.be\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])|(vimeo\.com\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*\/?(\d)*)|([-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|]\.(png|jpg|jpeg|gif))|(docs\.google\.com\/present\/view?[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])|(www\.slideshare\.net\/slideshow\/embed_code\/(\d)+))))/ig) +},makePreview:function(b,f,a){var d=this,c=Cackle.Fastjs.create("ul"),e=0; +Cackle.Fastjs.each(b,function(o){var l=o.toString().trim(); +if(!l){return +}var m=Cackle.Fastjs.create("li"),i=false,k="img",j; +if(l.indexOf("youtube.com")>-1){j=d.youtubeThumbl(l); +k="youtube"; +i=true +}else{if(l.indexOf("youtu.be")>-1){j=d.youtubeShortThumbl(l); +k="youtube"; +i=true +}else{if(l.indexOf("vimeo.com")>-1){j=d.vimeoThumbl(l); +k="vimeo"; +i=true +}else{if(l.indexOf("docs.google.com")>-1){j=d.imgThumbl(d.pthumb) +}else{if(l.indexOf("slideshare.net")>-1){j=d.imgThumbl(d.pthumb) +}else{j=d.imgThumbl(l) +}}}}}if(!j){return +}var g; +if(f){g=Cackle.Fastjs.create("div","mc-media-surface"); +g.setAttribute("data-media",l); +var n=Cackle.Fastjs.create("span"); +n.innerHTML="×"; +m.appendChild(n); +Cackle.Fastjs.on(n,"click",function(p){m.parentNode.removeChild(m); +return false +}) +}else{g=Cackle.Fastjs.create("a"); +g.href=l; +g.target="_blank"; +g.setAttribute("data-type",k); +Cackle.Fastjs.on(g,"click",d.mediaClick); +if(i){var h=Cackle.Fastjs.create("img","mc-media-play"); +h.src=Cackle.origin+"/widget/img/ytplay.png"; +g.appendChild(h) +}}j.onload=function(){a&&a() +}; +g.appendChild(j); +m.appendChild(g); +c.appendChild(m); +e+=1 +}); +return c +},mediaClick:function(c){var a=this.getAttribute("href"),b=this.getAttribute("data-type"); +if(b!="img"){Cackle.Fastjs.addcl(this.parentNode,"mc-block"); +this.outerHTML=Cackle.Media[b+"Video"](a) +}else{if(Cackle.Modal2){Cackle.Media.lightbox(a,this) +}else{return +}}return false +},lightbox:function(e,d){var b='
',c=Cackle.Modal2.show("mc-modal-lightbox","",null,b,true),a=c.querySelector("img"); +Cackle.Fastjs.on(window,"resize",function(f){Cackle.Media.imgResize(a) +},false); +Cackle.Fastjs.onall2(c,".mc-modal2, .mc-modal-backdrop2","click",function(f){Cackle.Fastjs.rm(c) +},false); +Cackle.Fastjs.onall2(c,".mc-media-prev, .mc-media-prev img, .mc-media-next, .mc-media-next img","click",function(){Cackle.Fastjs.rm(c); +var g=this.getAttribute("data-dir")||this.parentNode.getAttribute("data-dir"); +var f=function(j){var i=Cackle.Fastjs[g]((j||d).parentNode); +if(i){var k=Cackle.Fastjs.children(i)[0]; +if(k&&k.getAttribute("data-type")=="img"){Cackle.Media.mediaClick.call(k); +return +}else{f(k) +}}else{var h=Cackle.Fastjs.parents(d,"mc-comment-media"); +Cackle.Media.mediaClick.call(h.querySelector((g=="prev"?"li:last-child ":"")+'a[data-type="img"]')) +}}; +f() +}); +Cackle.Media.ratio=false; +Cackle.Media.imgOriginWidth=0; +Cackle.Media.imgOriginHeight=0; +Cackle.Media.imgResize(a) +},youtubeVideo:function(b){if(b.indexOf("youtu.be")>-1){var a=this.youtubeShortRegex(b); +if(a&&a.length>1){return this.youtubeEmbed(b,a[2]) +}}else{var a=this.youtubeRegex(b); +if(a&&a.length>0){return this.youtubeEmbed(b,a[1]) +}}},youtubeEmbed:function(a,b){return'' +},vimeoVideo:function(b){var a=/vimeo\.com\/?.*\/(\d+)/.exec(b); +if(a&&a.length>0){return this.vimeoEmbed(a[1]) +}},vimeoEmbed:function(a){return'' +},youtubeThumbl:function(b){var a=this.youtubeRegex(b); +if(a&&a.length>0){return this.imgThumbl(this.youtubeThumbSrc(a[1])) +}},youtubeShortThumbl:function(b){var a=this.youtubeShortRegex(b); +if(a&&a.length>1){return this.imgThumbl(this.youtubeThumbSrc(a[2])) +}},youtubeThumbSrc:function(a){return"//i.ytimg.com/vi/"+a+"/0.jpg" +},youtubeRegex:function(a){return/v=([^\?\&]+)/.exec(a) +},youtubeShortRegex:function(a){return/([^\/]+)\/([^\/]+)/.exec(a) +},vimeoThumbl:function(c){var a=/vimeo\.com\/?.*\/(\d+)/.exec(c); +if(a&&a.length>0){var b=Cackle.Fastjs.create("img"); +Cackle.Fastjs.jsonp("//vimeo.com/api/v2/video/"+a[1]+".json",null,function(d){b.src=d[0].thumbnail_large +}); +return b +}},imgThumbl:function(a){var b=Cackle.Fastjs.create("img"); +b.src=a; +return b +},imgResize:function(c){var f,b; +var e=window.innerWidth||document.documentElement.offsetWidth; +var a=window.innerHeight||document.documentElement.offsetHeight; +if(!this.ratio&&c&&c.offsetWidth&&c.offsetHeight){this.ratio=c.offsetWidth/c.offsetHeight +}if(Math.floor(e/this.ratio)>a){f=a*this.ratio; +b=a +}else{f=e; +b=e/this.ratio +}f=Math.floor(f*0.8); +b=Math.floor(b*0.8); +this.imgOriginWidth=this.imgOriginWidth||c.naturalWidth||c.width; +this.imgOriginHeight=this.imgOriginHeight||c.naturalHeight||c.height; +if(f>this.imgOriginWidth||b>this.imgOriginHeight){f=this.imgOriginWidth; +b=this.imgOriginHeight +}var d="width:"+f+"px!important;height:"+b+"px!important;margin-top:"+(((window.innerHeight||document.documentElement.offsetHeight)-b)/2)+"px!important"; +c.parentNode.setAttribute("style",d) +}}; +Cackle.Media.attach=function(b,c){if(c){var a=c.trim().split(/\s+/); +Cackle.Fastjs.each(a,function(d){Cackle.Media.attachImage(d,b) +}) +}}; +Cackle.Media.main=function(a,c){if(!a){return +}var b=Cackle.Fastjs.create("div","mc-attachimg-cnt"); +b.innerHTML=Cackle.Media.html; +a.appendChild(b); +Cackle.Fastjs.on2(a,".mc-attachimg","click",Cackle.Media.uploadImage); +Cackle.Fastjs.on2(a,'input[type="file"]',"change",function(){Cackle.Media.uploadFiles(this.files,this,a); +this.value="" +}); +Cackle.Media.attach(a,c) +}; +Cackle.Media.event=function(b,a){Cackle.Fastjs.on2(b,".mc-attachimg","click",Cackle.Media.uploadImage); +Cackle.Fastjs.on2(b,'input[type="file"]',"change",function(){Cackle.Media.uploadFiles(this.files,this,a); +this.value="" +}) +};var Cackle=Cackle||{}; +Cackle.Time=Cackle.Time||{getTime:function(b,c,a){if(a=="chat"){return this.getChatTime(b,c||"ru") +}else{if(a){return this.getFormatTime(b,a,c||"ru") +}else{return this.getDefaultTime(b,c||"ru") +}}},getChatTime:function(g,j){var c=new Date().getTime(),b=c-g,f=b/1000,a=f/60,e=a/60,i=e/24; +if(e<24){return this.getFormatTime(g,"HH:mm",j) +}else{if(i<365){return this.getFormatTime(g,"dd.MM HH:mm",j) +}else{return this.getFormatTime(g,"yyyy.MM.dd HH:mm",j) +}}},getDefaultTime:function(g,j){var c=new Date(),b=c.getTime()-g,f=b/1000,a=f/60,e=a/60,i=e/24; +if(e<24){return this.getTimeAgo(g,j) +}else{if(i<30){return this.getTimeAgo(g,j)+" "+this.getFormatTime(g,"HH:mm",j) +}else{if(new Date(g).getFullYear()==c.getFullYear()){return this.getFormatTime(g,"dd.MM HH:mm",j) +}else{return this.getFormatTime(g,"yyyy.MM.dd HH:mm",j) +}}}},getTimeAgo:function(c,b){var a=new Date().getTime(),i=a-c,k=i/1000,e=k/60,f=e/60,g=f/24,j=g/365; +b=Cackle.Time.Messages[b]?b:"en"; +if(k<45){return Cackle.Time.Messages[b].second +}else{if(k<90){return Cackle.Time.Messages[b].minute +}else{if(e<45){return Cackle.Time.Messages[b].minutes(e) +}else{if(e<90){return Cackle.Time.Messages[b].hour +}else{if(f<24){return Cackle.Time.Messages[b].hours(f) +}else{if(f<48){return Cackle.Time.Messages[b].day +}else{if(g<30){return Cackle.Time.Messages[b].days(g) +}else{if(g<60){return Cackle.Time.Messages[b].month +}else{if(g<365){return Cackle.Time.Messages[b].months(g) +}else{if(j<2){return Cackle.Time.Messages[b].year +}else{return Cackle.Time.Messages[b].years(j) +}}}}}}}}}}},getFormatTime:function(d,c,e){var b=new Date(d),a={SS:b.getMilliseconds(),ss:b.getSeconds(),mm:b.getMinutes(),HH:b.getHours(),hh:((b.getHours()%12)?b.getHours()%12:12)+(b.getHours()>=12?"PM":"AM"),dd:b.getDate(),MM:b.getMonth()+1,yyyy:b.getFullYear(),yy:String(b.getFullYear()).toString().substr(2,2),ago:this.getTimeAgo(d,e)}; +return c.replace(/(SS|ss|mm|HH|hh|DD|dd|MM|yyyy|yy|ago)/g,function(f,g){var h=a[g]; +return h<10?"0"+h:h +}) +},declineNum:function(d,c,b,a){return d+" "+this.declineMsg(d,c,b,a) +},declineMsg:function(e,c,b,a){var d=e%10; +if((d==1)&&((e==1)||(e>20))){return c +}else{if((d>1)&&(d<5)&&((e>20)||(e<10))){return b +}else{return a +}}}}; +Cackle.Time.Messages={ru:{second:"только что",minute:"минуту назад",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"минута назад","минуты назад","минут назад") +},hour:"час назад",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"час назад","часа назад","часов назад") +},day:"день назад",days:function(a){return Cackle.Time.declineNum(Math.round(a),"день назад","дня назад","дней назад") +},month:"месяц назад",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"месяц назад","месяца назад","месяцев назад") +},year:"год назад",years:function(a){return Cackle.Time.declineNum(Math.round(a),"год назад","года назад","лет назад") +}},en:{second:"just now",minute:"minute ago",minutes:function(a){return Math.round(a)+" minutes ago" +},hour:"an hour ago",hours:function(a){return"about "+Math.round(a)+" hours ago" +},day:"day ago",days:function(a){return Math.round(a)+" days ago" +},month:"a month ago",months:function(a){return Math.round(a/30)+" months ago" +},year:"a year ago",years:function(a){return Math.round(a)+" years ago" +}},uk:{second:"тільки що",minute:"хвилину тому",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"хвилину тому","хвилини тому","хвилин тому") +},hour:"годину тому",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"годину тому","години тому","годин тому") +},day:"день тому",days:function(a){return Cackle.Time.declineNum(Math.round(a),"день тому","дні тому","днів тому") +},month:"місяць тому",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"місяць тому","місяці тому","місяців тому") +},year:"рік тому",years:function(a){return Cackle.Time.declineNum(Math.round(a),"рік тому","роки тому","років тому") +}},ro:{second:"chiar acum",minute:"în urmă minut",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"o minuta in urma","minute in urma","de minute in urma") +},hour:"acum o ora",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"acum o ora","ore in urma","de ore in urma") +},day:"o zi in urma",days:function(a){return Cackle.Time.declineNum(Math.round(a),"o zi in urma","zile in urma","de zile in urma") +},month:"o luna in urma",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"o luna in urma","luni in urma","de luni in urma") +},year:"un an in urma",years:function(a){return Cackle.Time.declineNum(Math.round(a),"un an in urma","ani in urma","de ani in urma") +}},lv:{second:"Mazāk par minūti",minute:"Pirms minūtes",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"pirms minūtes","pirms minūtēm","pirms minūtēm") +},hour:"pirms stundas",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"pirms stundas","pirms stundām","pirms stundām") +},day:"pirms dienas",days:function(a){return Cackle.Time.declineNum(Math.round(a),"pirms dienas","pirms dienām","pirms dienām") +},month:"pirms mēneša",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"pirms mēneša","pirms mēnešiem","pirms mēnešiem") +},year:"pirms gada",years:function(a){return Cackle.Time.declineNum(Math.round(a),"pirms gada","pirms gadiem","pirms gadiem") +}},lt:{second:"ką tik",minute:"prieš minutę",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"minutė prieš","minutės prieš","minučių prieš") +},hour:"prieš valandą",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"valanda prieš","valandos prieš","valandų prieš") +},day:"prieš dieną",days:function(a){return Cackle.Time.declineNum(Math.round(a),"diena prieš","dienos prieš","dienų prieš") +},month:"prieš mėnesį",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"mėnesį prieš","mėnesiai prieš","mėnesių prieš") +},year:"prieš metus",years:function(a){return Cackle.Time.declineNum(Math.round(a),"metai prieš","metai prieš","metų prieš") +}},kk:{second:"бір минуттан аз уақыт бұрын",minute:"бір минут бұрын",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"минут бұрын","минут бұрын","минут бұрын") +},hour:"бір сағат бұрын",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"сағат бұрын","сағат бұрын","сағат бұрын") +},day:"бір күн бұрын",days:function(a){return Cackle.Time.declineNum(Math.round(a),"күн бұрын","күн бұрын","күн бұрын") +},month:"бір ай бұрын",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"ай бұрын","ай бұрын","ай бұрын") +},year:"бір жыл бұрын",years:function(a){return Cackle.Time.declineNum(Math.round(a),"жыл бұрын","жыл бұрын","жыл бұрын") +}},ka:{second:"წამის წინ",minute:"წუთის წინ",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"წუთის წინ","წუთის წინ","წუთის წინ") +},hour:"საათის წინ",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"საათის წინ","საათის წინ","საათის წინ") +},day:"დღის წინ",days:function(a){return Cackle.Time.declineNum(Math.round(a),"დღის წინ","დღის წინ","დღის წინ") +},month:"თვის წინ",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"თვის წინ","თვის წინ","თვის წინ") +},year:"წლის წინ",years:function(a){return Cackle.Time.declineNum(Math.round(a),"წლის წინ","წლის წინ","წლის წინ") +}},hy:{second:"մի քնի վայրկյան առաջ",minute:"մեկ րոպե առաջ",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"րոպե առաջ","րոպե առաջ","րոպե առաջ") +},hour:"մեկ ժամ առաջ",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"ժամ առաջ","ժամ առաջ","ժամ առաջ") +},day:"մեկ օր առաջ",days:function(a){return Cackle.Time.declineNum(Math.round(a),"օր առաջ","օր առաջ","օր առաջ") +},month:"մեկ ամիս առաջ",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"ամիս առաջ","ամիս առաջ","ամիս առաջ") +},year:"մեկ տարի առաջ",years:function(a){return Cackle.Time.declineNum(Math.round(a),"տարի առաջ","տարի առաջ","տարի առաջ") +}},fr:{second:"tout à l'heure",minute:"environ une minute",minutes:function(a){return Math.round(a)+" minutes" +},hour:"environ une heure",hours:function(a){return"environ "+Math.round(a)+" heures" +},day:"un jour",days:function(a){return Math.round(a)+" jours" +},month:"environ un mois",months:function(a){return Math.round(a/30)+" mois" +},year:"environ un an",years:function(a){return Math.round(a)+" ans" +}},es:{second:"en este momento",minute:"hace un minuto",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"hace un minuto","minutos atrás","minutos atrás") +},hour:"una hora atrás",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"una hora atrás","horas atrás","horas atrás") +},day:"hace un día",days:function(a){return Cackle.Time.declineNum(Math.round(a),"un día atrás","días atrás","días atrás") +},month:"Hace un mes",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"un mes atrás","meses atrás","meses atrás") +},year:"Hace un año",years:function(a){return Cackle.Time.declineNum(Math.round(a),"hace un año","años atrás","años atrás") +}},el:{second:"λιγότερο από ένα λεπτό",minute:"γύρω στο ένα λεπτό",minutes:function(a){return Math.round(a)+" minutes" +},hour:"γύρω στην μια ώρα",hours:function(a){return"about "+Math.round(a)+" hours" +},day:"μια μέρα",days:function(a){return Math.round(a)+" days" +},month:"γύρω στον ένα μήνα",months:function(a){return Math.round(a/30)+" months" +},year:"γύρω στον ένα χρόνο",years:function(a){return Math.round(a)+" years" +}},de:{second:"soeben",minute:"vor einer Minute",minutes:function(a){if(Math.round(a)==1){return"vor einer Minute" +}else{return"vor "+Math.round(a)+" Minuten" +}},hour:"vor einer Stunde",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"vor einer Stunde","vor Stunden","vor Stunden") +},day:"vor einem Tag",days:function(a){return Cackle.Time.declineNum(Math.round(a),"vor einem Tag","vor Tage","vor Tage") +},month:"vor einem Monat",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"vor einem Monat","vor Monate","vor Monate") +},year:"vor einem Jahr",years:function(a){return Cackle.Time.declineNum(Math.round(a),"vor einem Jahr","vor Jahre","vor Jahre") +}},be:{second:"менш за хвіліну таму",minute:"хвіліну таму",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"хвіліна таму","хвіліны таму","хвілін таму") +},hour:"гадзіну таму",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"гадзіну таму","гадзіны таму","гадзін таму") +},day:"дзень таму",days:function(a){return Cackle.Time.declineNum(Math.round(a),"дзень таму","дні таму","дзён таму") +},month:"месяц таму",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"месяц таму","месяца таму","месяцаў таму") +},year:"год таму",years:function(a){return Cackle.Time.declineNum(Math.round(a),"год таму","гады таму","год таму") +}},it:{second:"proprio ora",minute:"un minuto fa",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"un minuto fa","minuti fa","minuti fa") +},hour:"un'ora fa",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"un'ora fa","ore fa","ore fa") +},day:"un giorno fa",days:function(a){return Cackle.Time.declineNum(Math.round(a),"un giorno fa","giorni fa","giorni fa") +},month:"un mese fa",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"un mese fa","mesi fa","mesi fa") +},year:"un anno fa",years:function(a){return Cackle.Time.declineNum(Math.round(a),"un anno fa","anni fa","anni fa") +}},bg:{second:"току що",minute:"преди минута",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"преди минута","преди минути","преди минути") +},hour:"преди час",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"преди час","преди часове","преди часове") +},day:"преди ден",days:function(a){return Cackle.Time.declineNum(Math.round(a),"преди ден","преди дни","преди дни") +},month:"преди месец",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"преди месец","преди месеци","преди месеци") +},year:"преди година",years:function(a){return Cackle.Time.declineNum(Math.round(a),"преди година","преди години","преди години") +}},pt:{second:"Agora",minute:"1 minuto atrás",minutes:function(a){return Cackle.Time.declineNum(Math.round(a),"1 minuto atrás","1 minuto atrás","alguns minutos") +},hour:"1 hora atrás",hours:function(a){return Cackle.Time.declineNum(Math.round(a),"1 hora atrás","1 hora atrás","algumas horas atrás") +},day:"dia anterior",days:function(a){return Cackle.Time.declineNum(Math.round(a),"dia anterior","dia anterior","dia anterior") +},month:"1 mês atrás",months:function(a){return Cackle.Time.declineNum(Math.round(a/30),"1 mês atrás","1 mês atrás","alguns meses atrás") +},year:"1 ano atrás",years:function(a){return Cackle.Time.declineNum(Math.round(a),"1 ano atrás","1 ano atrás","alguns anos atrás") +}},id:{second:"baru saja",minute:"semenit yang lalu",minutes:function(a){return Math.round(a)+" semenit yang lalu" +},hour:"sejam yang lalu",hours:function(a){return Math.round(a)+" sejam yang lalu" +},day:"hari yang lalu",days:function(a){return Math.round(a)+" hari yang lalu" +},month:"sebulan yang lalu",months:function(a){return Math.round(a/30)+" sebulan yang lalu" +},year:"setahun yang lalu",years:function(a){return Math.round(a)+" setahun yang lalu" +}},hi:{second:"बस अभी",minute:"एक मिनट पहले",minutes:function(a){return Math.round(a)+" एक मिनट पहले" +},hour:"घंटा पहले",hours:function(a){return Math.round(a)+" घंटा पहले" +},day:"दिन पहले",days:function(a){return Math.round(a)+" दिन पहले" +},month:"महीना पहले",months:function(a){return Math.round(a/30)+" महीना पहले" +},year:"एक साल पहले",years:function(a){return Math.round(a)+" साल पहले" +}}};var Cackle=Cackle||{}; +Cackle.Social=Cackle.Social||{Share:{vkontakte:function(b){var a="http://vk.com/share.php?noparse=true&url="+encodeURIComponent(b.url); +if(b.title){a+="&title="+encodeURIComponent(b.title) +}if(b.text){a+="&description="+encodeURIComponent(this.trim(b.text)) +}if(b.img){a+="&image="+encodeURIComponent(b.img) +}this.popup(a) +},odnoklassniki:function(b){var a="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl="+encodeURIComponent(b.url); +if(b.text){a+="&st.comments="+encodeURIComponent(this.trim(b.text)) +}this.popup(a) +},mymailru:function(b){var a="http://connect.mail.ru/share?url="+encodeURIComponent(b.url); +if(b.title){a+="&title="+encodeURIComponent(b.title) +}if(b.text){a+="&description="+encodeURIComponent(this.trim(b.text)) +}if(b.img){a+="&imageurl="+encodeURIComponent(b.img) +}this.popup(a) +},googleplus:function(b){var a="https://plus.google.com/share?url="+encodeURIComponent(b.url); +this.popup(a) +},facebook:function(b){var a; +if(!b.title&&!b.text&&b.url){a="https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(b.url) +}else{a="https://www.facebook.com/dialog/feed?app_id=230560550330921&display=popup"; +a+="&redirect_uri="+encodeURIComponent("http://cackle.me/login/success"); +a+="&caption="+encodeURIComponent(b.title); +a+="&description="+encodeURIComponent(b.text); +a+="&link="+encodeURIComponent(b.url); +if(b.img&&b.img.indexOf("facebook.com")<0){a+="&picture="+encodeURIComponent(b.img) +}}this.popup(a) +},twitter:function(c){var b="http://twitter.com/share?"; +if(c.title){var a=c.title.length+c.url.length+10,d; +if(c.text.length+a>140){d=c.text.substring(0,140-a)+"..." +}else{d=c.text +}b+="text="+encodeURIComponent('"'+d+'" - '+c.title); +b+="&url="+encodeURIComponent(c.url); +b+="&counturl="+encodeURIComponent(c.url) +}else{if(c.text.length>140){d=c.text.substring(0,140)+"..." +}else{d=c.text +}b+="text="+encodeURIComponent(d); +b+="&url="+encodeURIComponent(c.url) +}this.popup(b) +},trim:function(b){var a=300; +if(b&&b.length>a){return b.substring(0,a)+"..." +}return b +},popup:function(a){Cackle.Fastjs.popup(a,626,436) +}}};(function(H,f,o){if(H.PushStream){return +}var F={}; +var g=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]; +var v=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]; +var u=function(O){return((O<10)?"0":"")+O +}; +F.dateToUTCString=function(O){var P=u(O.getUTCHours())+":"+u(O.getUTCMinutes())+":"+u(O.getUTCSeconds()); +return g[O.getUTCDay()]+", "+u(O.getUTCDate())+" "+v[O.getUTCMonth()]+" "+O.getUTCFullYear()+" "+P+" GMT" +}; +var m=function(){var P=arguments[0]||{}; +for(var Q=0; +Q100){Q.innerHTML=O.slice(-100).join("\n") +}}}}; +var y={_getXHRObject:function(){var S=false; +try{S=new H.XMLHttpRequest() +}catch(R){try{S=new H.XDomainRequest() +}catch(Q){try{S=new H.ActiveXObject("Msxml2.XMLHTTP") +}catch(P){try{S=new H.ActiveXObject("Microsoft.XMLHTTP") +}catch(O){S=false +}}}}return S +},_send:function(R,Q){R=R||{}; +R.timeout=R.timeout||30000; +var T=y._getXHRObject(); +if(!T||!R.url){return +}y.clear(R); +T.onreadystatechange=function(){if(T.readyState===4){y.clear(R); +if(R.afterReceive){R.afterReceive(T) +}if(T.status===200){if(R.success){R.success(T.responseText) +}}else{if(R.error){R.error(T.status) +}}}}; +if(R.beforeOpen){R.beforeOpen(T) +}var S={}; +var P=null; +var U="GET"; +if(Q){P=E(R.data); +U="POST" +}else{S=R.data||{} +}T.open(U,N(R.url,m({},S,b())),true); +if(R.beforeSend){R.beforeSend(T) +}var O=function(){try{T.abort() +}catch(V){}y.clear(R); +R.error(304) +}; +if(Q){T.setRequestHeader("Accept","application/json"); +T.setRequestHeader("Content-type","application/x-www-form-urlencoded") +}else{R.timeoutId=H.setTimeout(O,R.timeout+2000) +}T.send(P); +return T +},_clear_script:function(O){if(O){O.onerror=O.onload=O.onreadystatechange=null; +if(O.parentNode){O.parentNode.removeChild(O) +}}},_clear_timeout:function(O){O.timeoutId=L(O.timeoutId) +},clear:function(O){y._clear_timeout(O); +y._clear_script(f.getElementById(O.scriptId)) +},jsonp:function(S){S.timeout=S.timeout||30000; +y.clear(S); +var Q=f.head||f.getElementsByTagName("head")[0]; +var P=f.createElement("script"); +var R=r(); +var O=function(){y.clear(S); +var W=S.data.callback; +if(W){H[W]=function(){H[W]=null +} +}var V=r(); +S.error(((V-R)>S.timeout/2)?304:0) +}; +var T=function(){y.clear(S); +S.load() +}; +P.onerror=O; +P.onload=P.onreadystatechange=function(V){if(!P.readyState||/loaded|complete/.test(P.readyState)){T() +}}; +if(S.beforeOpen){S.beforeOpen({}) +}if(S.beforeSend){S.beforeSend({}) +}S.timeoutId=H.setTimeout(O,S.timeout+2000); +S.scriptId=S.scriptId||r(); +var U=S.data.callback; +if(U){H[U]=function(){H[U]=null +} +}S.data.callback=S.scriptId+"_onmessage_"+r(); +H[S.data.callback]=S.success; +P.setAttribute("src",N(S.url,m({},S.data,b()))); +P.setAttribute("async","async"); +P.setAttribute("id",S.scriptId); +Q.insertBefore(P,Q.firstChild); +return S +},load:function(O){return y._send(O,false) +},post:function(O){return y._send(O,true) +}}; +var z=function(O){return(O)?H.escape(O):"" +}; +var A=function(O){return(O)?H.unescape(O):"" +}; +F.parseMessage=function(Q,P){var R=Q; +if(k(Q)){R=F.parseJSON(Q) +}var O={id:R[P.jsonIdKey],channel:R[P.jsonChannelKey],text:k(R[P.jsonTextKey])?A(R[P.jsonTextKey]):R[P.jsonTextKey],tag:R[P.jsonTagKey],time:R[P.jsonTimeKey],eventid:R[P.jsonEventIdKey]||""}; +return O +}; +var l=function(O){return(O.backtrack)?".b"+Number(O.backtrack):"" +}; +var p=function(O,Q){var R=""; +for(var P in O){if(!O.hasOwnProperty||O.hasOwnProperty(P)){R+="/"+P+(Q?l(O[P]):"") +}}return R +}; +var i=function(R,T,U,W){var P=R.wrapper.type===G.TYPE; +var Q=R.useSSL; +var O=(P)?((Q)?"wss://":"ws://"):((Q)?"https://":"http://"); +O+=R.host; +O+=((!Q&&R.port===80)||(Q&&R.port===443))?"":(":"+R.port); +O+=T; +var S=p(R.channels,W); +if(R.channelsByArgument){var V={}; +V[R.channelsArgument]=S.substring(1); +U=m({},U,V) +}else{O+=S +}return N(O,U) +}; +var D=function(R){var Q=""; +var P=(R.useSSL)?"https://":"http://"; +P+=R.host; +P+=((R.port!==80)&&(R.port!==443))?(":"+R.port):""; +P+=R.urlPrefixPublisher; +for(var O in R.channels){if(!R.channels.hasOwnProperty||R.channels.hasOwnProperty(O)){Q=O; +break +}}P+="?id="+Q; +return P +}; +F.extract_xss_domain=function(P){if(P.match(/^(\d{1,3}\.){3}\d{1,3}$/)){return P +}var Q=P.split("."); +var O=Math.max(Q.length-1,(P.match(/(\w{4,}\.\w{2}|\.\w{3,})$/)?2:3)); +return Q.slice(-1*O).join(".") +}; +var B=function(P,O){return function(){return P.apply(O,arguments) +} +}; +var L=function(O){if(O){H.clearTimeout(O) +}return null +}; +var h=function(P){s.info("["+this.type+"] message received",arguments); +var O=F.parseMessage(P.data,this.pushstream); +if(O.tag){this.pushstream._etag=O.tag +}if(O.time){this.pushstream._lastModified=O.time +}if(O.eventid){this.pushstream._lastEventId=O.eventid +}this.pushstream._onmessage(O.text,O.id,O.channel,O.eventid,true) +}; +var I=function(){this.pushstream._onopen(); +s.info("["+this.type+"] connection opened") +}; +var M=function(O){s.info("["+this.type+"] error (disconnected by server):",O); +if((this.pushstream.readyState===e.OPEN)&&(this.type===t.TYPE)&&(O.type==="error")&&(this.connection.readyState===H.EventSource.CONNECTING)){return +}this._closeCurrentConnection(); +this.pushstream._onerror({type:((O&&((O.type==="load")||(O.type==="close")))||(this.pushstream.readyState===e.CONNECTING))?"load":"timeout"}) +}; +var G=function(O){if(!H.WebSocket&&!H.MozWebSocket){throw"WebSocket not supported" +}this.type=G.TYPE; +this.pushstream=O; +this.connection=null +}; +G.TYPE="WebSocket"; +G.prototype={connect:function(){this._closeCurrentConnection(); +var P=m({},this.pushstream.extraParams(),b(),q(this.pushstream)); +var O=i(this.pushstream,this.pushstream.urlPrefixWebsocket,P,!this.pushstream._useControlArguments()); +this.connection=(H.WebSocket)?new H.WebSocket(O):new H.MozWebSocket(O); +this.connection.onerror=B(M,this); +this.connection.onclose=B(M,this); +this.connection.onopen=B(I,this); +this.connection.onmessage=B(h,this); +s.info("[WebSocket] connecting to:",O) +},disconnect:function(){if(this.connection){s.debug("[WebSocket] closing connection to:",this.connection.URL); +this.connection.onclose=null; +this._closeCurrentConnection(); +this.pushstream._onclose() +}},_closeCurrentConnection:function(){if(this.connection){try{this.connection.close() +}catch(O){}this.connection=null +}},sendMessage:function(O){if(this.connection){this.connection.send(O) +}}}; +var t=function(O){if(!H.EventSource){throw"EventSource not supported" +}this.type=t.TYPE; +this.pushstream=O; +this.connection=null +}; +t.TYPE="EventSource"; +t.prototype={connect:function(){this._closeCurrentConnection(); +var P=m({},this.pushstream.extraParams(),b(),q(this.pushstream)); +var O=i(this.pushstream,this.pushstream.urlPrefixEventsource,P,!this.pushstream._useControlArguments()); +this.connection=new H.EventSource(O); +this.connection.onerror=B(M,this); +this.connection.onopen=B(I,this); +this.connection.onmessage=B(h,this); +s.info("[EventSource] connecting to:",O) +},disconnect:function(){if(this.connection){s.debug("[EventSource] closing connection to:",this.connection.URL); +this.connection.onclose=null; +this._closeCurrentConnection(); +this.pushstream._onclose() +}},_closeCurrentConnection:function(){if(this.connection){try{this.connection.close() +}catch(O){}this.connection=null +}}}; +var C=function(O){this.type=C.TYPE; +this.pushstream=O; +this.connection=null; +this.url=null; +this.frameloadtimer=null; +this.pingtimer=null; +this.iframeId="PushStreamManager_"+O.id +}; +C.TYPE="Stream"; +C.prototype={connect:function(){this._closeCurrentConnection(); +var O=F.extract_xss_domain(this.pushstream.host); +try{f.domain=O +}catch(P){s.error("[Stream] (warning) problem setting document.domain = "+O+" (OBS: IE8 does not support set IP numbers as domain)") +}var Q=m({},this.pushstream.extraParams(),b(),{streamid:this.pushstream.id},q(this.pushstream)); +this.url=i(this.pushstream,this.pushstream.urlPrefixStream,Q,!this.pushstream._useControlArguments()); +s.debug("[Stream] connecting to:",this.url); +this.loadFrame(this.url) +},disconnect:function(){if(this.connection){s.debug("[Stream] closing connection to:",this.url); +this._closeCurrentConnection(); +this.pushstream._onclose() +}},_clear_iframe:function(){var O=f.getElementById(this.iframeId); +if(O){O.onload=null; +O.src="about:blank"; +if(O.parentNode){O.parentNode.removeChild(O) +}}},_closeCurrentConnection:function(){this._clear_iframe(); +if(this.connection){this.pingtimer=L(this.pingtimer); +this.frameloadtimer=L(this.frameloadtimer); +this.connection=null; +this.transferDoc=null; +if(typeof H.CollectGarbage==="function"){H.CollectGarbage() +}}},loadFrame:function(O){this._clear_iframe(); +try{var P=new H.ActiveXObject("htmlfile"); +P.open(); +P.write(' + + + + + + + \ No newline at end of file diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/js_UWQINlriydSoeSiGQxToOUdv493zEa7dpsXC1OtYlZU.js" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/js_UWQINlriydSoeSiGQxToOUdv493zEa7dpsXC1OtYlZU.js" new file mode 100644 index 0000000..3fe1ba1 --- /dev/null +++ "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/js_UWQINlriydSoeSiGQxToOUdv493zEa7dpsXC1OtYlZU.js" @@ -0,0 +1,752 @@ + +/*! + * jQuery JavaScript Library v1.4.4 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Nov 11 19:04:53 2010 -0500 + */ +(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h= +h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;kd)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La, +"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this, +e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a, +"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+ +a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/, +C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j, +s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this, +j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length}, +toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j=== +-1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false; +if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload", +b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&& +!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&& +l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H
a";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"), +k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false, +scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent= +false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom= +1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="
";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="
t
";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display= +"none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h= +c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando); +else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one"; +if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true}, +attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&& +b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0}; +c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem, +arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid= +d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+ +c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType=== +8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k=== +"click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+ +d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired= +B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type=== +"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]=== +0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); +(function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3]; +break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr, +q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h= +l;g.sort(w);if(h)for(var i=1;i0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n, +m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== +true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== +g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return in[3]-0},nth:function(g,i,n){return n[3]- +0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()=== +i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]]; +if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m, +g);else if(typeof g.length==="number")for(var p=g.length;n";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g); +n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&& +function(){var g=k,i=t.createElement("div");i.innerHTML="

";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F|| +p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g= +t.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition? +function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n0)for(var h=d;h0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h= +h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context): +c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a, +2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a, +b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&& +e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/\s]+\/)>/g,P={option:[1, +""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null; +else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append", +prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument|| +b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]===""&&!x?r.childNodes:[];for(o=k.length- +1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))); +d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i, +jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true, +zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b), +h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b); +if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f= +d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left; +e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/)<[^<]*)*<\/script>/gi, +ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b=== +"object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("
").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&& +!this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})}, +getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html", +script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| +!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache= +false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset; +A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type", +b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&& +c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| +c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]= +encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess", +[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"), +e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}}); +if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show", +3),a,b,d);else{d=0;for(var e=this.length;d=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, +d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a* +Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)} +var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; +this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| +this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= +c.timers,b=0;b-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a, +e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&& +c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase(); +c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+ +b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window); +; + +/** + * jQuery Once Plugin v1.2 + * http://plugins.jquery.com/project/once + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ + +(function ($) { + var cache = {}, uuid = 0; + + /** + * Filters elements by whether they have not yet been processed. + * + * @param id + * (Optional) If this is a string, then it will be used as the CSS class + * name that is applied to the elements for determining whether it has + * already been processed. The elements will get a class in the form of + * "id-processed". + * + * If the id parameter is a function, it will be passed off to the fn + * parameter and the id will become a unique identifier, represented as a + * number. + * + * When the id is neither a string or a function, it becomes a unique + * identifier, depicted as a number. The element's class will then be + * represented in the form of "jquery-once-#-processed". + * + * Take note that the id must be valid for usage as an element's class name. + * @param fn + * (Optional) If given, this function will be called for each element that + * has not yet been processed. The function's return value follows the same + * logic as $.each(). Returning true will continue to the next matched + * element in the set, while returning false will entirely break the + * iteration. + */ + $.fn.once = function (id, fn) { + if (typeof id != 'string') { + // Generate a numeric ID if the id passed can't be used as a CSS class. + if (!(id in cache)) { + cache[id] = ++uuid; + } + // When the fn parameter is not passed, we interpret it from the id. + if (!fn) { + fn = id; + } + id = 'jquery-once-' + cache[id]; + } + // Remove elements from the set that have already been processed. + var name = id + '-processed'; + var elements = this.not('.' + name).addClass(name); + + return $.isFunction(fn) ? elements.each(fn) : elements; + }; + + /** + * Filters elements that have been processed once already. + * + * @param id + * A required string representing the name of the class which should be used + * when filtering the elements. This only filters elements that have already + * been processed by the once function. The id should be the same id that + * was originally passed to the once() function. + * @param fn + * (Optional) If given, this function will be called for each element that + * has not yet been processed. The function's return value follows the same + * logic as $.each(). Returning true will continue to the next matched + * element in the set, while returning false will entirely break the + * iteration. + */ + $.fn.removeOnce = function (id, fn) { + var name = id + '-processed'; + var elements = this.filter('.' + name).removeClass(name); + + return $.isFunction(fn) ? elements.each(fn) : elements; + }; +})(jQuery); +; + +var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'locale': {} }; + +// Allow other JavaScript libraries to use $. +jQuery.noConflict(); + +(function ($) { + +/** + * Override jQuery.fn.init to guard against XSS attacks. + * + * See http://bugs.jquery.com/ticket/9521 + */ +var jquery_init = $.fn.init; +$.fn.init = function (selector, context, rootjQuery) { + // If the string contains a "#" before a "<", treat it as invalid HTML. + if (selector && typeof selector === 'string') { + var hash_position = selector.indexOf('#'); + if (hash_position >= 0) { + var bracket_position = selector.indexOf('<'); + if (bracket_position > hash_position) { + throw 'Syntax error, unrecognized expression: ' + selector; + } + } + } + return jquery_init.call(this, selector, context, rootjQuery); +}; +$.fn.init.prototype = jquery_init.prototype; + +/** + * Attach all registered behaviors to a page element. + * + * Behaviors are event-triggered actions that attach to page elements, enhancing + * default non-JavaScript UIs. Behaviors are registered in the Drupal.behaviors + * object using the method 'attach' and optionally also 'detach' as follows: + * @code + * Drupal.behaviors.behaviorName = { + * attach: function (context, settings) { + * ... + * }, + * detach: function (context, settings, trigger) { + * ... + * } + * }; + * @endcode + * + * Drupal.attachBehaviors is added below to the jQuery ready event and so + * runs on initial page load. Developers implementing AHAH/Ajax in their + * solutions should also call this function after new page content has been + * loaded, feeding in an element to be processed, in order to attach all + * behaviors to the new content. + * + * Behaviors should use + * @code + * $(selector).once('behavior-name', function () { + * ... + * }); + * @endcode + * to ensure the behavior is attached only once to a given element. (Doing so + * enables the reprocessing of given elements, which may be needed on occasion + * despite the ability to limit behavior attachment to a particular element.) + * + * @param context + * An element to attach behaviors to. If none is given, the document element + * is used. + * @param settings + * An object containing settings for the current context. If none given, the + * global Drupal.settings object is used. + */ +Drupal.attachBehaviors = function (context, settings) { + context = context || document; + settings = settings || Drupal.settings; + // Execute all of them. + $.each(Drupal.behaviors, function () { + if ($.isFunction(this.attach)) { + this.attach(context, settings); + } + }); +}; + +/** + * Detach registered behaviors from a page element. + * + * Developers implementing AHAH/Ajax in their solutions should call this + * function before page content is about to be removed, feeding in an element + * to be processed, in order to allow special behaviors to detach from the + * content. + * + * Such implementations should look for the class name that was added in their + * corresponding Drupal.behaviors.behaviorName.attach implementation, i.e. + * behaviorName-processed, to ensure the behavior is detached only from + * previously processed elements. + * + * @param context + * An element to detach behaviors from. If none is given, the document element + * is used. + * @param settings + * An object containing settings for the current context. If none given, the + * global Drupal.settings object is used. + * @param trigger + * A string containing what's causing the behaviors to be detached. The + * possible triggers are: + * - unload: (default) The context element is being removed from the DOM. + * - move: The element is about to be moved within the DOM (for example, + * during a tabledrag row swap). After the move is completed, + * Drupal.attachBehaviors() is called, so that the behavior can undo + * whatever it did in response to the move. Many behaviors won't need to + * do anything simply in response to the element being moved, but because + * IFRAME elements reload their "src" when being moved within the DOM, + * behaviors bound to IFRAME elements (like WYSIWYG editors) may need to + * take some action. + * - serialize: When an Ajax form is submitted, this is called with the + * form as the context. This provides every behavior within the form an + * opportunity to ensure that the field elements have correct content + * in them before the form is serialized. The canonical use-case is so + * that WYSIWYG editors can update the hidden textarea to which they are + * bound. + * + * @see Drupal.attachBehaviors + */ +Drupal.detachBehaviors = function (context, settings, trigger) { + context = context || document; + settings = settings || Drupal.settings; + trigger = trigger || 'unload'; + // Execute all of them. + $.each(Drupal.behaviors, function () { + if ($.isFunction(this.detach)) { + this.detach(context, settings, trigger); + } + }); +}; + +/** + * Encode special characters in a plain-text string for display as HTML. + * + * @ingroup sanitization + */ +Drupal.checkPlain = function (str) { + var character, regex, + replace = { '&': '&', '"': '"', '<': '<', '>': '>' }; + str = String(str); + for (character in replace) { + if (replace.hasOwnProperty(character)) { + regex = new RegExp(character, 'g'); + str = str.replace(regex, replace[character]); + } + } + return str; +}; + +/** + * Replace placeholders with sanitized values in a string. + * + * @param str + * A string with placeholders. + * @param args + * An object of replacements pairs to make. Incidences of any key in this + * array are replaced with the corresponding value. Based on the first + * character of the key, the value is escaped and/or themed: + * - !variable: inserted as is + * - @variable: escape plain text to HTML (Drupal.checkPlain) + * - %variable: escape text and theme as a placeholder for user-submitted + * content (checkPlain + Drupal.theme('placeholder')) + * + * @see Drupal.t() + * @ingroup sanitization + */ +Drupal.formatString = function(str, args) { + // Transform arguments before inserting them. + for (var key in args) { + switch (key.charAt(0)) { + // Escaped only. + case '@': + args[key] = Drupal.checkPlain(args[key]); + break; + // Pass-through. + case '!': + break; + // Escaped and placeholder. + case '%': + default: + args[key] = Drupal.theme('placeholder', args[key]); + break; + } + str = str.replace(key, args[key]); + } + return str; +}; + +/** + * Translate strings to the page language or a given language. + * + * See the documentation of the server-side t() function for further details. + * + * @param str + * A string containing the English string to translate. + * @param args + * An object of replacements pairs to make after translation. Incidences + * of any key in this array are replaced with the corresponding value. + * See Drupal.formatString(). + * + * @param options + * - 'context' (defaults to the empty context): The context the source string + * belongs to. + * + * @return + * The translated string. + */ +Drupal.t = function (str, args, options) { + options = options || {}; + options.context = options.context || ''; + + // Fetch the localized version of the string. + if (Drupal.locale.strings && Drupal.locale.strings[options.context] && Drupal.locale.strings[options.context][str]) { + str = Drupal.locale.strings[options.context][str]; + } + + if (args) { + str = Drupal.formatString(str, args); + } + return str; +}; + +/** + * Format a string containing a count of items. + * + * This function ensures that the string is pluralized correctly. Since Drupal.t() is + * called by this function, make sure not to pass already-localized strings to it. + * + * See the documentation of the server-side format_plural() function for further details. + * + * @param count + * The item count to display. + * @param singular + * The string for the singular case. Please make sure it is clear this is + * singular, to ease translation (e.g. use "1 new comment" instead of "1 new"). + * Do not use @count in the singular string. + * @param plural + * The string for the plural case. Please make sure it is clear this is plural, + * to ease translation. Use @count in place of the item count, as in "@count + * new comments". + * @param args + * An object of replacements pairs to make after translation. Incidences + * of any key in this array are replaced with the corresponding value. + * See Drupal.formatString(). + * Note that you do not need to include @count in this array. + * This replacement is done automatically for the plural case. + * @param options + * The options to pass to the Drupal.t() function. + * @return + * A translated string. + */ +Drupal.formatPlural = function (count, singular, plural, args, options) { + var args = args || {}; + args['@count'] = count; + // Determine the index of the plural form. + var index = Drupal.locale.pluralFormula ? Drupal.locale.pluralFormula(args['@count']) : ((args['@count'] == 1) ? 0 : 1); + + if (index == 0) { + return Drupal.t(singular, args, options); + } + else if (index == 1) { + return Drupal.t(plural, args, options); + } + else { + args['@count[' + index + ']'] = args['@count']; + delete args['@count']; + return Drupal.t(plural.replace('@count', '@count[' + index + ']'), args, options); + } +}; + +/** + * Returns the passed in URL as an absolute URL. + * + * @param url + * The URL string to be normalized to an absolute URL. + * + * @return + * The normalized, absolute URL. + * + * @see https://github.com/angular/angular.js/blob/v1.4.4/src/ng/urlUtils.js + * @see https://grack.com/blog/2009/11/17/absolutizing-url-in-javascript + * @see https://github.com/jquery/jquery-ui/blob/1.11.4/ui/tabs.js#L53 + */ +Drupal.absoluteUrl = function (url) { + var urlParsingNode = document.createElement('a'); + + // Decode the URL first; this is required by IE <= 6. Decoding non-UTF-8 + // strings may throw an exception. + try { + url = decodeURIComponent(url); + } catch (e) {} + + urlParsingNode.setAttribute('href', url); + + // IE <= 7 normalizes the URL when assigned to the anchor node similar to + // the other browsers. + return urlParsingNode.cloneNode(false).href; +}; + +/** + * Returns true if the URL is within Drupal's base path. + * + * @param url + * The URL string to be tested. + * + * @return + * Boolean true if local. + * + * @see https://github.com/jquery/jquery-ui/blob/1.11.4/ui/tabs.js#L58 + */ +Drupal.urlIsLocal = function (url) { + // Always use browser-derived absolute URLs in the comparison, to avoid + // attempts to break out of the base path using directory traversal. + var absoluteUrl = Drupal.absoluteUrl(url); + var protocol = location.protocol; + + // Consider URLs that match this site's base URL but use HTTPS instead of HTTP + // as local as well. + if (protocol === 'http:' && absoluteUrl.indexOf('https:') === 0) { + protocol = 'https:'; + } + var baseUrl = protocol + '//' + location.host + Drupal.settings.basePath.slice(0, -1); + + // Decoding non-UTF-8 strings may throw an exception. + try { + absoluteUrl = decodeURIComponent(absoluteUrl); + } catch (e) {} + try { + baseUrl = decodeURIComponent(baseUrl); + } catch (e) {} + + // The given URL matches the site's base URL, or has a path under the site's + // base URL. + return absoluteUrl === baseUrl || absoluteUrl.indexOf(baseUrl + '/') === 0; +}; + +/** + * Generate the themed representation of a Drupal object. + * + * All requests for themed output must go through this function. It examines + * the request and routes it to the appropriate theme function. If the current + * theme does not provide an override function, the generic theme function is + * called. + * + * For example, to retrieve the HTML for text that should be emphasized and + * displayed as a placeholder inside a sentence, call + * Drupal.theme('placeholder', text). + * + * @param func + * The name of the theme function to call. + * @param ... + * Additional arguments to pass along to the theme function. + * @return + * Any data the theme function returns. This could be a plain HTML string, + * but also a complex object. + */ +Drupal.theme = function (func) { + var args = Array.prototype.slice.apply(arguments, [1]); + + return (Drupal.theme[func] || Drupal.theme.prototype[func]).apply(this, args); +}; + +/** + * Freeze the current body height (as minimum height). Used to prevent + * unnecessary upwards scrolling when doing DOM manipulations. + */ +Drupal.freezeHeight = function () { + Drupal.unfreezeHeight(); + $('
').css({ + position: 'absolute', + top: '0px', + left: '0px', + width: '1px', + height: $('body').css('height') + }).appendTo('body'); +}; + +/** + * Unfreeze the body height. + */ +Drupal.unfreezeHeight = function () { + $('#freeze-height').remove(); +}; + +/** + * Encodes a Drupal path for use in a URL. + * + * For aesthetic reasons slashes are not escaped. + */ +Drupal.encodePath = function (item, uri) { + uri = uri || location.href; + return encodeURIComponent(item).replace(/%2F/g, '/'); +}; + +/** + * Get the text selection in a textarea. + */ +Drupal.getSelection = function (element) { + if (typeof element.selectionStart != 'number' && document.selection) { + // The current selection. + var range1 = document.selection.createRange(); + var range2 = range1.duplicate(); + // Select all text. + range2.moveToElementText(element); + // Now move 'dummy' end point to end point of original range. + range2.setEndPoint('EndToEnd', range1); + // Now we can calculate start and end points. + var start = range2.text.length - range1.text.length; + var end = start + range1.text.length; + return { 'start': start, 'end': end }; + } + return { 'start': element.selectionStart, 'end': element.selectionEnd }; +}; + +/** + * Build an error message from an Ajax response. + */ +Drupal.ajaxError = function (xmlhttp, uri, customMessage) { + var statusCode, statusText, pathText, responseText, readyStateText, message; + if (xmlhttp.status) { + statusCode = "\n" + Drupal.t("An AJAX HTTP error occurred.") + "\n" + Drupal.t("HTTP Result Code: !status", {'!status': xmlhttp.status}); + } + else { + statusCode = "\n" + Drupal.t("An AJAX HTTP request terminated abnormally."); + } + statusCode += "\n" + Drupal.t("Debugging information follows."); + pathText = "\n" + Drupal.t("Path: !uri", {'!uri': uri} ); + statusText = ''; + // In some cases, when statusCode == 0, xmlhttp.statusText may not be defined. + // Unfortunately, testing for it with typeof, etc, doesn't seem to catch that + // and the test causes an exception. So we need to catch the exception here. + try { + statusText = "\n" + Drupal.t("StatusText: !statusText", {'!statusText': $.trim(xmlhttp.statusText)}); + } + catch (e) {} + + responseText = ''; + // Again, we don't have a way to know for sure whether accessing + // xmlhttp.responseText is going to throw an exception. So we'll catch it. + try { + responseText = "\n" + Drupal.t("ResponseText: !responseText", {'!responseText': $.trim(xmlhttp.responseText) } ); + } catch (e) {} + + // Make the responseText more readable by stripping HTML tags and newlines. + responseText = responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,""); + responseText = responseText.replace(/[\n]+\s+/g,"\n"); + + // We don't need readyState except for status == 0. + readyStateText = xmlhttp.status == 0 ? ("\n" + Drupal.t("ReadyState: !readyState", {'!readyState': xmlhttp.readyState})) : ""; + + // Additional message beyond what the xmlhttp object provides. + customMessage = customMessage ? ("\n" + Drupal.t("CustomMessage: !customMessage", {'!customMessage': customMessage})) : ""; + + message = statusCode + pathText + statusText + customMessage + responseText + readyStateText; + return message; +}; + +// Class indicating that JS is enabled; used for styling purpose. +$('html').addClass('js'); + +// 'js enabled' cookie. +document.cookie = 'has_js=1; path=/'; + +/** + * Additions to jQuery.support. + */ +$(function () { + /** + * Boolean indicating whether or not position:fixed is supported. + */ + if (jQuery.support.positionFixed === undefined) { + var el = $('
').appendTo(document.body); + jQuery.support.positionFixed = el[0].offsetTop === 10; + el.remove(); + } +}); + +//Attach all behaviors. +$(function () { + Drupal.attachBehaviors(document, Drupal.settings); +}); + +/** + * The default themes. + */ +Drupal.theme.prototype = { + + /** + * Formats text for emphasized display in a placeholder inside a sentence. + * + * @param str + * The text to format (plain-text). + * @return + * The formatted text (html). + */ + placeholder: function (str) { + return '' + Drupal.checkPlain(str) + ''; + } +}; + +})(jQuery); +; diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/logo.png" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/logo.png" new file mode 100644 index 0000000..de943b6 Binary files /dev/null and "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/logo.png" differ diff --git "a/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/widget.js" "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/widget.js" new file mode 100644 index 0000000..93c8d3c --- /dev/null +++ "b/\320\237\320\260\321\200\320\260\320\274\320\265\321\202\321\200\321\213 _ Sublime Text_files/widget.js" @@ -0,0 +1,142 @@ +var Cackle=Cackle||{}; +Cackle.protocol=("https:"==window.location.protocol)?"https:":"http:"; +Cackle.host=Cackle.host||"cackle.me"; +Cackle.origin=Cackle.protocol+"//"+Cackle.host; +Cackle.cluster=["e."+Cackle.host,"h."+Cackle.host,"i."+Cackle.host]; +Cackle.env="prod"; +Cackle.ver="?v=76dafdd816b2"; +Cackle.initHosts=function(){var b=Cackle.getHost(); +for(var a=0; +a-1){b=Cackle.host +}if(!cackle_widget[a].host||cackle_widget[a].host.indexOf("http")<0){cackle_widget[a].host=Cackle.protocol+"//"+(cackle_widget[a].host||b) +}}}; +Cackle.getParam=function(a){if(location.search&&location.search.indexOf(a)>-1){if(!Cackle.params){Cackle.params={}; +location.search.substr(1).split("&").forEach(function(b){var c=b.split("="); +Cackle.params[c[0]]=c[1] +}) +}return Cackle.params[a] +}}; +Cackle.getHost=function(){if(Cackle.env=="prod"){var b=Cackle.getParam("cackle_host"); +if(b){return b +}function a(d,c){return Math.floor(Math.random()*(c-d+1))+d +}return Cackle.cluster[a(0,Cackle.cluster.length-1)] +}else{return Cackle.host +}}; +Cackle.getSearchPath=function(c){var b=document.createElement("a"); +b.href=c; +var d=b.pathname+b.search; +return d.indexOf("/")!=0?"/"+d:d +}; +Cackle.getChan=function(b){var c; +if(b.channel){return b.channel +}else{if(b.chanParam){return Cackle.getParam(b.chanParam) +}else{if(b.url){c=Cackle.getSearchPath(b.url) +}else{var a=window.location; +c=a.pathname+a.search +}}}if(b.chanWithoutParams&&c.indexOf("?")>-1){return c.substring(0,c.indexOf("?")||c.length) +}return c +}; +Cackle.getUrl=function(b){var a=window.location.href; +return decodeURIComponent(b.url||a.substring(0,a.indexOf("#")>0?a.indexOf("#"):a.length)) +}; +Cackle.getCookie=function(a){return(a=(document.cookie.match("(^|; )"+a+"=([^;]*)")||0)[2])&&decodeURIComponent(a) +}; +Cackle.getBrowserLang=function(){var a=navigator; +return(a.language||a.systemLanguage||a.userLanguage||"en").substr(0,2).toLowerCase() +}; +Cackle.Lib=Cackle.Lib||{load:function(d,c,a){var b=d+"/widget/"; +this.loadJss(b+"js/",c[0],0,a); +if(c[1]){this.loadCsss(b+"css/",c[1]) +}},loadJss:function(b,e,c,a){var d=this; +if(e.length>c){Cackle.Lib.loadJs(b+e[c]+Cackle.ver,function(){d.loadJss(b,e,c+1,a) +}) +}else{if(a){a() +}}},loadJson:function(c,d){var b="cackle_"+(c.widget+c.id+(c.container||"")).replace(/[-:.]/g,""); +window[b]=function(e){var f=(c.data=(function(g){for(var h in g){return g[h] +}})(e)); +if(f){c.lang=c.lang||f.lang||Cackle.getBrowserLang(); +d[f.expired?"expired":"boot"](c) +}}; +var a=d.url(c); +a+=(a.indexOf("?")>-1?"&":"?")+"callback="+b; +return this.loadJs(a) +},loadJs:function(b,c){var a=document.createElement("script"); +a.type="text/javascript"; +a.src=b; +a.async=true; +if(c){if(typeof a.onload!="undefined"){a.onload=c +}else{if(typeof a.onreadystatechange!="undefined"){a.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){c() +}} +}else{a.onreadystatechange=a.onload=function(){var d=a.readyState; +if(!d||/loaded|complete/.test(d)){c() +}} +}}}this.appendToRoot(a) +},loadCsss:function(a,c){for(var b=0; +b1?f.ver:""); +var b=this[Cackle.env]||this.dev; +b[0].push(g+(Cackle.env=="prod"&&f.ver>1?a.lang:"")+".js"); +b[1].push(g+".css"); +this.isLoaded=true; +Cackle.Lib.load(a.host,b,function(){while(e.cb.length){e.cb.shift()() +}}) +}else{if(Cackle[a.widget]){Cackle[a.widget].main(a) +}}},expired:function(a){var b=document.getElementById(a.container||"mc-container"); +b.innerHTML=(a.lang=="ru"?"Комментарии отключены":"Comments are disabled") +}},CommentRecent:{prod:[["comment-recent.js"],["comment-recent.css"]],dev:[["utils.js","base.js","time.js","doT.min.js","comment-recent.js"],["cleanslate.css","social.css","comment-recent.css"]]},CommentCount:{prod:[["comment-count.js"]],dev:[["utils.js","easyXDM.min.js","doT.min.js","svg-icon.js","comment-count.js"]]},CommentAdmin:{prod:[["comment-adm.js"],["admin.css"]],dev:[["fastjs.js","utils.js","json2.js","easyXDM.min.js","cookie.js","storage.js","time.js","media.js","notify.js","jquery.js","ua-parser.min.js","doT.min.js","pushstream.js","stream.js","autosize.js","login.js","admin.js","comment-adm.js"],["cleanslate.css","font.css","common.css","spin.css","button.css","button-group.css","media.css","admin.css"]]},Review:{cb:[],prod:[[],["review.css"]],dev:[["fastjs.js","base.js","json2.js","easyXDM.min.js","cookie.js","storage.js","login2.js","time.js","social.js","doT.min.js","autosize.js","media.js","modal2.js","md5.min.js","lang/review.js","lang/review_ru.js","lang/review_pl.js","lang/review_uk.js","lang/review_de.js","review.js"],["cleanslate.css","font.css","common.css","spin.css","alert.css","media.css","modal2.css","form.css","social.css","login2.css","btn2.css","review.css"]],url:function(c){var e=encodeURIComponent(Cackle.getChan(c)),b=encodeURIComponent(Cackle.getUrl(c)),d=Cackle.getCookie("cr-sort"),a=Cackle.getCookie("cr-order"); +if(d){b+="&prop="+d +}if(a){b+="&order="+a +}if(c.size){b+="&size="+c.size +}if(c.replies){b+="&replies="+c.replies +}return c.host+"/review/"+c.id+"/bootstrap?chan="+e+"&url="+b +},boot:function(a){this.cb.push(function(){Cackle[a.widget].main(a) +}); +if(!this.isLoaded){var c=this; +var b=this[Cackle.env]||this.dev; +b[0].push("review"+(Cackle.env=="prod"?a.lang:"")+".js"); +this.isLoaded=true; +Cackle.Lib.load(a.host,b,function(){while(c.cb.length){c.cb.shift()() +}}) +}else{if(Cackle[a.widget]){Cackle[a.widget].main(a) +}}},expired:function(a){var b=document.getElementById(a.container||"mc-review"); +b.innerHTML=(a.lang=="ru"?"Отзывы отключены":"Reviews are disabled") +}},ReviewRecent:{prod:[["review-recent.js"],["review-recent.css"]],dev:[["utils.js","base.js","time.js","doT.min.js","review-recent.js"],["cleanslate.css","font.css","social.css","review-recent.css"]]},ReviewRating:{prod:[["review-rating.js"],["review-rating.css"]],dev:[["fastjs.js","utils.js","doT.min.js","easyXDM.min.js","cookie.js","review-rating.js"],["font.css","review-rating.css"]]},ReviewAdmin:{prod:[["review-adm.js"],["review-adm.css"]],dev:[["fastjs.js","utils.js","json2.js","easyXDM.min.js","cookie.js","storage.js","time.js","media.js","notify.js","jquery.js","ua-parser.min.js","doT.min.js","pushstream.js","stream.js","autosize.js","login.js","admin.js","review-adm.js"],["cleanslate.css","font.css","common.css","spin.css","button.css","button-group.css","media.css","admin.css","review-adm.css"]]},Chat:{prod:[["chat.js"],["chat.css"]],dev:[["fastjs.js","utils.js","json2.js","easyXDM.min.js","cookie.js","storage.js","login.js","time.js","jquery.js","baron.js","pushstream.js","stream.js","chat.js"],["login.css","chat.css"]]},Poll:{prod:[["poll.js"],["poll.css"]],dev:[["fastjs.js","utils.js","json2.js","easyXDM.min.js","cookie.js","storage.js","login.js","doT.min.js","media.js","lang/poll.js","lang/poll_ru.js","poll.js"],["login.css","poll.css"]]}}; +(Cackle.bootstrap=function(b){Cackle.initHosts(); +for(var a=0; +a