Shortcodes Ultimate - Version 5.10.0

Version Description

Download this release

Release Info

Developer gn_themes
Plugin Icon 128x128 Shortcodes Ultimate
Version 5.10.0
Comparing to
See all releases

Code changes from version 5.9.8 to 5.10.0

changelog.txt CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  ### 5.9.7
2
 
3
  **What's new**
1
+ ### 5.9.8
2
+
3
+ **What's new**
4
+
5
+ - Improved handling of nested dynamic elements within Tabs
6
+ - Improved handling of nested dynamic elements within Spoiler
7
+ - Tested compatibility with WordPress 5.7
8
+
9
+
10
  ### 5.9.7
11
 
12
  **What's new**
inc/core/assets.php CHANGED
@@ -51,9 +51,14 @@ class Su_Assets {
51
  wp_register_style( 'animate', plugins_url( 'vendor/animatecss/animate.css', SU_PLUGIN_FILE ), false, '3.1.1', 'all' );
52
  // InView
53
  wp_register_script( 'jquery-inview', plugins_url( 'vendor/jquery-inview/jquery-inview.js', SU_PLUGIN_FILE ), array( 'jquery' ), '1.1.2', true );
54
- // qTip
55
- wp_register_style( 'qtip', plugins_url( 'vendor/qtip/qtip.css', SU_PLUGIN_FILE ), false, '2.1.1', 'all' );
56
- wp_register_script( 'qtip', plugins_url( 'vendor/qtip/qtip.js', SU_PLUGIN_FILE ), array( 'jquery' ), '2.1.1', true );
 
 
 
 
 
57
  // Magnific Popup
58
  wp_register_style( 'magnific-popup', plugins_url( 'vendor/magnific-popup/magnific-popup.css', SU_PLUGIN_FILE ), false, '1.1.0', 'all' );
59
  wp_register_script( 'magnific-popup', plugins_url( 'vendor/magnific-popup/magnific-popup.js', SU_PLUGIN_FILE ), array( 'jquery' ), '1.1.0', true );
51
  wp_register_style( 'animate', plugins_url( 'vendor/animatecss/animate.css', SU_PLUGIN_FILE ), false, '3.1.1', 'all' );
52
  // InView
53
  wp_register_script( 'jquery-inview', plugins_url( 'vendor/jquery-inview/jquery-inview.js', SU_PLUGIN_FILE ), array( 'jquery' ), '1.1.2', true );
54
+ // PopperJS
55
+ wp_register_script(
56
+ 'popper',
57
+ plugins_url( 'vendor/popper/popper.min.js', SU_PLUGIN_FILE ),
58
+ array(),
59
+ '2.9.2',
60
+ true
61
+ );
62
  // Magnific Popup
63
  wp_register_style( 'magnific-popup', plugins_url( 'vendor/magnific-popup/magnific-popup.css', SU_PLUGIN_FILE ), false, '1.1.0', 'all' );
64
  wp_register_script( 'magnific-popup', plugins_url( 'vendor/magnific-popup/magnific-popup.js', SU_PLUGIN_FILE ), array( 'jquery' ), '1.1.0', true );
includes/css/shortcodes.css CHANGED
@@ -1 +1 @@
1
- .su-u-clearfix::after{content:'';display:table;clear:both}.su-u-trim>:first-child{margin-top:0}.su-u-trim>:last-child{margin-bottom:0}.su-u-responsive-media-yes{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.su-u-responsive-media-yes .fluid-width-video-wrapper,.su-u-responsive-media-yes .video-holder{position:static!important}.su-u-responsive-media-yes embed,.su-u-responsive-media-yes iframe,.su-u-responsive-media-yes object{position:absolute;top:0;left:0;width:100%;height:100%}.su-u-overflow-hidden{overflow:hidden}.su-accordion{margin-bottom:1.5em}.su-accordion .su-spoiler{margin-bottom:.5em}.su-audio{position:relative;width:100%;height:30px;margin-bottom:1.5em;background:#7c8781;background:-webkit-gradient(linear,left top,left bottom,from(#7c8781),to(#0a0809));background:linear-gradient(to bottom,#7c8781 0,#0a0809 100%);border-radius:3px}.su-audio .jp-pause,.su-audio .jp-play{position:absolute;left:0;top:0;display:block;width:30px;height:30px;border-top-left-radius:3px;border-bottom-left-radius:3px;cursor:pointer;border-right:1px solid #454947;background-image:url(../images/player/default.png);background-repeat:no-repeat}.su-audio .jp-play{background-position:0 0}.su-audio .jp-pause{background-position:-30px 0}.su-audio .jp-current-time,.su-audio .jp-duration{position:absolute;top:0;display:block;height:30px;line-height:30px;font-size:10px;color:#eee;text-shadow:0 -1px 0 #000}.su-audio .jp-current-time{left:45px}.su-audio .jp-duration{right:10px}.su-audio .jp-play-bar,.su-audio .jp-seek-bar{position:absolute;top:0;left:0;height:10px;border-radius:3px;cursor:pointer}.su-audio .jp-progress{position:absolute;top:10px;left:85px;right:50px;height:10px;background:#333;box-shadow:0 0 5px #000 inset;border-radius:3px}.su-audio .jp-seek-bar{background:#0b0b0b;background:-webkit-gradient(linear,left top,left bottom,from(#0b0b0b),to(#666));background:linear-gradient(to bottom,#0b0b0b 0,#666 100%)}.su-audio .jp-play-bar{background:#6db3f2;background:-webkit-gradient(linear,left top,left bottom,from(#6db3f2),color-stop(50%,#54a3ee),color-stop(51%,#3690f0),to(#1e69de));background:linear-gradient(to bottom,#6db3f2 0,#54a3ee 50%,#3690f0 51%,#1e69de 100%)}.su-box{margin:0 0 1.5em;border-width:2px;border-style:solid}.su-box-title{display:block;padding:.5em 1em;font-weight:700;font-size:1.1em}.su-box-content{background-color:#fff;color:#444;padding:1em}.su-box-style-soft .su-box-title{background-image:url(../images/styles/style-soft.png);background-position:0 0;background-repeat:repeat-x}.su-box-style-glass .su-box-title{background-image:url(../images/styles/style-glass.png);background-position:0 50%;background-repeat:repeat-x}.su-box-style-bubbles .su-box-title{background-image:url(../images/styles/style-bubbles.png);background-position:0 50%;background-repeat:repeat-x}.su-box-style-noise .su-box-title{background-image:url(../images/styles/style-noise.png);background-position:0 0;background-repeat:repeat-x}.su-button{display:inline-block!important;text-align:center;text-decoration:none!important;box-sizing:content-box!important;-webkit-transition:all .2s;transition:all .2s}.su-button-wide{display:block!important;margin:1em 0}.su-button-center{text-align:center}.su-button span{display:block!important;text-decoration:none!important;box-sizing:content-box!important;-webkit-transition:all .2s;transition:all .2s}.su-button img{border:none!important;vertical-align:middle!important;margin:-.2em .4em 0 -.3em!important;box-shadow:none!important}.su-button i{display:inline-block;width:1em;height:1em;margin:0 .5em 0 0!important;text-align:center;line-height:1em}.su-button.su-button-float-icon img{margin:0 .5em!important}.su-button small{display:block;margin:-.2em 0 0;color:inherit;text-align:center;font-style:normal;font-size:.8em;line-height:1;opacity:.7}.su-button-style-default{border-width:1px;border-style:solid}.su-button-style-default:hover{opacity:.7}.su-button-style-default span{border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid}.su-button-style-flat,.su-button-style-flat span{border:none}.su-button-style-flat span{position:relative}.su-button-style-flat:hover span{top:1px}.su-button-style-ghost{background:0 0!important}.su-button-style-ghost span{border-width:3px;border-style:solid}.su-button-style-ghost:hover span{border-color:inherit!important}.su-button-style-soft span{background:0 -20px url(../images/styles/style-soft.png) repeat-x}.su-button-style-soft:hover span{background:0 0 url(../images/styles/style-soft.png) repeat-x}.su-button-style-glass span{background:0 50% url(../images/styles/style-glass.png) repeat-x}.su-button-style-glass:hover span{background:100% 50% url(../images/styles/style-glass.png) repeat-x}.su-button-style-bubbles span{background:0 50% url(../images/styles/style-bubbles.png) no-repeat}.su-button-style-bubbles:hover span{background:-710px 50% url(../images/styles/style-bubbles.png) no-repeat}.su-button-style-noise span{background:0 0 url(../images/styles/style-noise.png) repeat-x}.su-button-style-noise:hover span{background:0 0 url(../images/styles/style-noise.png) repeat-x}.su-button-style-stroked span{margin:1px;border:1px dashed #fff!important}.su-button-style-stroked:hover span{opacity:.7}.su-button-style-3d{border-bottom-style:solid;border-bottom-width:6px}.su-button-style-3d span{border-bottom-style:solid;border-bottom-width:1px}.su-button-style-3d:hover{position:relative;top:3px;border-bottom-width:3px}.su-carousel{position:relative;margin-bottom:1.5em;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.su-carousel-centered{margin:0 auto 1.5em}.su-carousel-slides{position:relative;width:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transform:translate3d(0,0,0);-o-transition-timing-function:ease;-o-transform:translate(0,0);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0,0,0);-ms-transition-timing-function:ease;-webkit-transition-property:left,top,-webkit-transform;transition-property:left,top,-webkit-transform;transition-property:transform,left,top;transition-property:transform,left,top,-webkit-transform;transition-duration:0s;transform:translate3d(0,0,0);transition-timing-function:ease}.swiper-free-mode>.su-carousel-slides{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.su-carousel-slide{position:relative;float:left}.su-carousel-slide>a,.su-carousel-slide>a>img,.su-carousel-slide>img{position:relative;display:block;width:100%;height:100%;text-decoration:none;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.su-carousel-responsive-yes .su-carousel-slide>a,.su-carousel-responsive-yes .su-carousel-slide>a>img,.su-carousel-responsive-yes .su-carousel-slide>img{height:auto}.su-carousel-pages-no .su-carousel-pagination{display:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}.su-carousel .su-carousel-slide a{padding:0 5px}.su-carousel .su-carousel-slide img{padding:3px;border:1px solid #ccc;background:#fff;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}.su-carousel .su-carousel-slide-title{position:absolute;left:9px;right:9px;bottom:4px;display:block;padding:2px 3px;color:#fff;line-height:1.2;font-size:11px;background:#000;background:rgba(0,0,0,.5);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;transition:opacity 1s;-o-transition:opacity 1s;-moz-transition:opacity 1s;-webkit-transition:opacity 1s}.su-carousel .su-carousel-next,.su-carousel .su-carousel-prev{position:absolute;top:50%;display:block;width:40px;height:40px;margin-top:-20px;background:#000 0 0 url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-carousel .su-carousel-prev{right:20px;margin-right:40px;background-position:-40px 0}.su-carousel .su-carousel-next{left:20px;margin-left:40px;background-position:0 0}.su-carousel:hover .su-carousel-next,.su-carousel:hover .su-carousel-prev{margin-left:0;margin-right:0;opacity:.7}.su-carousel .su-carousel-next:hover,.su-carousel .su-carousel-prev:hover{opacity:1}.su-carousel .su-carousel-pagination{position:absolute;left:15%;right:15%;top:50%;width:70%;height:0;margin-top:-7px;text-align:center;cursor:default;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-carousel:hover .su-carousel-pagination{bottom:20px;opacity:1}.su-carousel .su-carousel-pagination span{display:inline-block;width:14px;height:14px;margin:0;background:#000 0 -999px url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;-webkit-transition:all .2s;transition:all .2s}.su-carousel:hover .su-carousel-pagination span{margin:0 3px}.su-carousel .su-carousel-pagination span.swiper-visible-switch{background-color:#fff;background-color:rgba(255,255,255,.5)}.su-carousel .su-carousel-pagination span.swiper-active-switch,.su-carousel .su-carousel-pagination span:hover{background-position:0 -40px}.su-row{margin-bottom:1.5em}.su-row::after{display:table;clear:both;content:''}.su-row .su-column{display:block;float:left;box-sizing:border-box;margin:0 0 0 4%}.su-row .su-column:first-child{margin-left:0}.su-row .su-column.su-column-size-1-1{margin-right:0;margin-left:0}.su-row .su-column.su-column-centered{float:none;margin-right:auto;margin-left:auto}.su-row .su-column-size-1-1{width:100%}.su-row .su-column-size-1-2{width:48%}.su-row .su-column-size-1-3{width:30.66%}.su-row .su-column-size-2-3{width:65.33%}.su-row .su-column-size-1-4{width:22%}.su-row .su-column-size-3-4{width:74%}.su-row .su-column-size-1-5{width:16.8%}.su-row .su-column-size-2-5{width:37.6%}.su-row .su-column-size-3-5{width:58.4%}.su-row .su-column-size-4-5{width:79.2%}.su-row .su-column-size-1-6{width:13.33%}.su-row .su-column-size-5-6{width:82.66%}.su-row .su-column embed,.su-row .su-column iframe,.su-row .su-column img,.su-row .su-column object{max-width:100%}.su-custom-gallery{margin-bottom:1.5em}.su-custom-gallery:after,.su-custom-gallery:before{content:'';display:table}.su-custom-gallery:after{clear:both}.su-custom-gallery-slide{position:relative;float:left;margin:.5em;overflow:hidden}.su-custom-gallery-slide a{display:block;width:100%}.su-custom-gallery-slide img{display:block;margin:0;padding:3px;border:1px solid #ccc;background:#fff;box-sizing:border-box;border-radius:5px;box-shadow:none;-webkit-transition:all .2s;transition:all .2s}.su-custom-gallery-slide:hover img{background:#eee;border:1px solid #aaa}.su-custom-gallery-slide span{position:absolute;left:4px;bottom:4px;right:4px;display:block;padding:2px 4px;font-size:12px;color:#fff;background:#000;background:rgba(0,0,0,.5);line-height:1.3;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-custom-gallery-slide:hover span{opacity:1}.su-custom-gallery-title-never span{display:none}.su-custom-gallery-title-always span{opacity:1}.su-dailymotion{margin:0 0 1.5em}.su-dailymotion iframe{border:none!important}.su-display-posts-template-default .su-post{display:-webkit-box;display:flex;margin-bottom:1.75em}.su-display-posts-template-default .su-post-thumbnail{margin:0 1.25em 0 0;width:8.25em}.su-display-posts-template-default .su-post-thumbnail a{display:block!important;text-decoration:none!important}.su-display-posts-template-default .su-post-thumbnail img{display:block!important;margin:0!important;max-width:100%!important;height:auto!important;-o-object-fit:cover!important;object-fit:cover!important}.su-display-posts-template-default .su-post-body{-webkit-box-flex:1;flex:1}.su-display-posts-template-default h2.su-post-title{margin:0 0 1em!important;padding:0!important;border:none!important;font-size:1.35em!important}.su-display-posts-template-default h2.su-post-title::after,.su-display-posts-template-default h2.su-post-title::before{display:none}.su-display-posts-template-default .su-post-meta{margin:1em 0;font-size:.85em;opacity:.85}.su-display-posts-template-default .su-post-excerpt p{margin:1em 0}.su-display-posts-template-default .su-post-excerpt>:last-child{margin-bottom:0!important}.su-display-posts-template-default .su-post-comments-link{margin:1em 0 0}.su-display-posts-template-teasers .su-post{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:1em}.su-display-posts-template-teasers .su-post-thumbnail{margin:0 1em 0 0;width:3.75em}.su-display-posts-template-teasers .su-post-thumbnail a{display:block!important;text-decoration:none!important}.su-display-posts-template-teasers .su-post-thumbnail img{display:block!important;margin:0!important;max-width:100%!important;height:auto!important;-o-object-fit:cover!important;object-fit:cover!important}.su-display-posts-template-teasers .su-post-body{-webkit-box-flex:1;flex:1}.su-display-posts-template-teasers h2.su-post-title{margin:0!important;padding:0!important;border:none!important;font-size:1.15em!important}.su-display-posts-template-teasers h2.su-post-title::after,.su-display-posts-template-teasers h2.su-post-title::before{display:none}.su-display-posts-template-single h2.su-post-title{margin:0 0 1em!important;padding:0!important;border:none!important;font-size:1.75em!important}.su-display-posts-template-single .su-post-meta{margin:1em 0;font-size:.85em;opacity:.85}.su-display-posts-pagination{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.su-display-posts-pagination-next{margin-left:auto}.su-divider{clear:both;border:none;text-align:right;line-height:1}.su-divider a{display:inline-block;font-size:.8em;text-decoration:none;outline:0;padding-bottom:5px}.su-divider-style-default{border-bottom-style:solid}.su-divider-style-dotted{border-bottom-style:dotted}.su-divider-style-dashed{border-bottom-style:dashed}.su-divider-style-double{border-bottom-style:double}.su-document{margin:0 0 1.5em}.su-document iframe{border:none!important}.su-dropcap{float:left;display:inline-block;width:2em;height:2em;margin:.2em .5em .2em 0;line-height:2em;text-align:center;overflow:hidden;text-transform:uppercase}.su-dropcap-style-default{color:#fff;background:#45484d;background:-webkit-gradient(linear,left top,left bottom,from(#45484d),to(black));background:linear-gradient(to bottom,#45484d 0,#000 100%);text-shadow:-1px -1px 0 #000;border-radius:50%}.su-dropcap-style-flat{background:#444;color:#fff}.su-dropcap-style-light{color:#333;border-radius:50%;background:#fff;background:-webkit-gradient(linear,left top,left bottom,from(white),to(#eaeaea));background:linear-gradient(to bottom,#fff 0,#eaeaea 100%)}.su-dropcap-style-simple{width:1em;height:1em;line-height:1em;text-align:left}.su-expand{margin:0 0 1.5em}.su-expand-content{overflow:hidden}.su-expand-link{margin-top:.5em;cursor:pointer}.su-expand-link:hover{opacity:.7}.su-expand-link a,.su-expand-link a:active,.su-expand-link a:focus,.su-expand-link a:hover,.su-expand-link a:visited{display:inline;text-decoration:none;box-shadow:none;background:0 0;border:none}.su-expand-link-style-underlined .su-expand-link span{text-decoration:underline}.su-expand-link-style-dotted .su-expand-link span{border-bottom:1px dotted #333}.su-expand-link-style-dashed .su-expand-link span{border-bottom:1px dashed #333}.su-expand-link-style-button .su-expand-link a{display:inline-block;margin-top:.2em;padding:.2em .4em;border:2px solid #333}.su-expand-link-more{display:none}.su-expand-link-less{display:block}.su-expand-collapsed .su-expand-link-more{display:block}.su-expand-collapsed .su-expand-link-less{display:none}.su-expand-link i{display:inline-block;margin:0 .3em 0 0;vertical-align:middle;color:inherit}.su-expand-link img{display:inline-block;width:1em;height:1em;margin:0 .3em 0 0;vertical-align:middle}.su-frame,.su-frame-inner{display:block}.su-frame-align-left{float:left;margin:0 1em 1em 0}.su-frame-align-center{float:none;margin:1em auto}.su-frame-align-right{float:right;margin:0 0 1em 1em}.su-frame img{display:block!important;float:none!important;padding:0!important;margin:0!important;border:none!important;box-shadow:none!important}.su-frame-style-default{padding:2px;border:1px solid #999;background:#fff;box-shadow:1px 1px 4px #ccc}.su-frame-style-default .su-frame-inner{padding:2px;border:4px solid #eee}.su-gmap{margin:0 0 1.5em}.su-gmap iframe{border:none!important}.su-guests{margin-bottom:1.5em}.su-heading-style-default{padding:2px 0;border-top:1px solid #999;border-bottom:1px solid #999}.su-heading-style-default .su-heading-inner{padding:1em .5em;border-top:4px solid #eee;border-bottom:4px solid #eee}.su-heading.su-heading-align-left{text-align:left}.su-heading.su-heading-align-left .su-heading-inner{padding-left:.2em}.su-heading.su-heading-align-right{text-align:right}.su-heading.su-heading-align-right .su-heading-inner{padding-right:.2em}.su-heading.su-heading-align-center{text-align:center}.su-highlight{display:inline;padding:1px 0}.su-image-carousel{margin:1.5em 0;width:100%}.su-image-carousel:first-child{margin-top:0}.su-image-carousel:last-child{margin-bottom:0}.su-image-carousel-item{box-sizing:border-box;width:100%}.su-image-carousel-item-content{position:relative}.su-image-carousel-item-content a,.su-image-carousel-item-content a:active,.su-image-carousel-item-content a:focus,.su-image-carousel-item-content a:hover,.su-image-carousel-item-content a:visited,.su-image-carousel-item-content img{display:block;box-sizing:border-box;margin:0;padding:0;width:100%;height:100%;border:none;border-radius:0;box-shadow:none;text-decoration:none}.su-image-carousel-item-content a::after,.su-image-carousel-item-content a::before,.su-image-carousel-item-content img::after,.su-image-carousel-item-content img::before{display:none}.su-image-carousel-item-content span{position:absolute;display:block;overflow:auto;max-height:60%;word-wrap:break-word;font-size:.9em;line-height:1.3}.su-image-carousel-item-content span:empty{display:none}.su-image-carousel-columns-2 .su-image-carousel-item{width:50%}.su-image-carousel-columns-3 .su-image-carousel-item{width:33.3333333333%}.su-image-carousel-columns-4 .su-image-carousel-item{width:25%}.su-image-carousel-columns-5 .su-image-carousel-item{width:20%}.su-image-carousel-columns-6 .su-image-carousel-item{width:16.6666666666%}.su-image-carousel-columns-7 .su-image-carousel-item{width:14.2857142857%}.su-image-carousel-columns-8 .su-image-carousel-item{width:12.5%}.su-image-carousel-columns-2.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:3%;width:48.5%}.su-image-carousel-columns-3.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.9%;width:31.4%}.su-image-carousel-columns-4.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.8%;width:22.9%}.su-image-carousel-columns-5.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.5%;width:18%}.su-image-carousel-columns-6.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.6%;width:14.5%}.su-image-carousel-columns-7.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.2%;width:12.4%}.su-image-carousel-columns-8.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2%;width:10.75%}.su-image-carousel-crop .su-image-carousel-item-content::before{float:left;margin-left:-1px;width:1px;height:0;content:''}.su-image-carousel-crop .su-image-carousel-item-content::after{display:table;clear:both;content:''}.su-image-carousel-crop .su-image-carousel-item-content a,.su-image-carousel-crop .su-image-carousel-item-content img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.su-image-carousel-crop .su-image-carousel-item-content img{-o-object-fit:cover;object-fit:cover}.su-image-carousel-crop-16-9 .su-image-carousel-item-content::before{padding-top:56.25%}.su-image-carousel-crop-16-10 .su-image-carousel-item-content::before{padding-top:62.5%}.su-image-carousel-crop-21-9 .su-image-carousel-item-content::before{padding-top:42.857142857143%}.su-image-carousel-crop-5-4 .su-image-carousel-item-content::before{padding-top:80%}.su-image-carousel-crop-4-3 .su-image-carousel-item-content::before{padding-top:75%}.su-image-carousel-crop-3-2 .su-image-carousel-item-content::before{padding-top:66.666666666667%}.su-image-carousel-crop-2-1 .su-image-carousel-item-content::before{padding-top:50%}.su-image-carousel-crop-1-1 .su-image-carousel-item-content::before{padding-top:100%}.su-image-carousel-crop-1-2 .su-image-carousel-item-content::before{padding-top:200%}.su-image-carousel-crop-2-3 .su-image-carousel-item-content::before{padding-top:150%}.su-image-carousel-crop-3-4 .su-image-carousel-item-content::before{padding-top:133.33333333333%}.su-image-carousel-crop-4-5 .su-image-carousel-item-content::before{padding-top:125%}.su-image-carousel-crop-9-21 .su-image-carousel-item-content::before{padding-top:233.33333333333%}.su-image-carousel-crop-10-16 .su-image-carousel-item-content::before{padding-top:160%}.su-image-carousel-crop-9-16 .su-image-carousel-item-content::before{padding-top:177.77777777778%}.su-image-carousel-align-left{float:left;margin-top:0;margin-right:1.5em}.su-image-carousel-align-right{float:right;margin-top:0;margin-left:1.5em}.su-image-carousel-align-center{margin-right:auto;margin-left:auto}.su-image-carousel-align-full{margin-right:calc(50% - 50vw);margin-left:calc(50% - 50vw);max-width:100vw!important;width:100vw!important}.su-image-carousel button.flickity-prev-next-button{position:absolute;top:50%;display:block;margin:-22px 0 0;padding:0;width:44px;height:44px;outline:0;border-radius:50%;opacity:0;-webkit-transition:opacity .2s ease,-webkit-transform .2s ease;transition:opacity .2s ease,-webkit-transform .2s ease;transition:opacity .2s ease,transform .2s ease;transition:opacity .2s ease,transform .2s ease,-webkit-transform .2s ease;-webkit-transform:none;transform:none}.su-image-carousel:hover button.flickity-prev-next-button{opacity:.5}.su-image-carousel button.flickity-prev-next-button:focus,.su-image-carousel button.flickity-prev-next-button:hover{box-shadow:none;opacity:1}.su-image-carousel button.flickity-prev-next-button:focus{-webkit-transform:scale(1.05);transform:scale(1.05)}.su-image-carousel button.flickity-prev-next-button[disabled]{display:none}.su-image-carousel button.flickity-prev-next-button.previous{left:20px}.su-image-carousel button.flickity-prev-next-button.next{right:20px}.su-image-carousel>ol.flickity-page-dots{position:absolute;top:50%;bottom:auto;left:50%;margin:0;padding:0;width:auto;list-style:none;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.su-image-carousel:hover>ol.flickity-page-dots{opacity:1}.su-image-carousel>ol.flickity-page-dots>li.dot{position:relative;display:inline-block;margin:5px;padding:0;width:20px;height:20px;border-radius:50%;list-style:none;opacity:.5;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;pointer-events:all}.su-image-carousel>ol.flickity-page-dots>li.dot:hover{opacity:1}.su-image-carousel>ol.flickity-page-dots>li.dot::before{position:absolute;top:50%;left:50%;display:none;margin:0;padding:0;width:10px;height:10px;border-radius:50%;content:'';-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.su-image-carousel>ol.flickity-page-dots>li.dot.is-selected::before{display:block}.su-image-carousel-controls-style-dark button.flickity-prev-next-button{background:#000;color:#fff}.su-image-carousel-controls-style-dark ol.flickity-page-dots li.dot{background:#000}.su-image-carousel-controls-style-dark ol.flickity-page-dots li.dot::before{background:#fff}.su-image-carousel-controls-style-light button.flickity-prev-next-button{background:#fff;color:#000}.su-image-carousel-controls-style-light ol.flickity-page-dots li.dot{background:#fff}.su-image-carousel-controls-style-light ol.flickity-page-dots li.dot::before{background:#000}.su-image-carousel-slides-style-default .su-image-carousel-item-content{margin:1px}.su-image-carousel-slides-style-default .su-image-carousel-item-content img{padding:3px;border:1px solid #ccc;border-radius:7px;background:#fff}.su-image-carousel-slides-style-default .su-image-carousel-item-content span{right:4px;bottom:4px;left:4px;padding:.5em .7em;border-bottom-right-radius:2px;border-bottom-left-radius:2px;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(transparent));background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;text-shadow:0 2px 5px #000}.su-image-carousel-slides-style-minimal .su-image-carousel-item-content{margin:1px}.su-image-carousel-slides-style-minimal .su-image-carousel-item-content span{right:0;bottom:0;left:0;padding:.7em;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(transparent));background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;text-shadow:0 2px 5px #000}.su-image-carousel-slides-style-photo .su-image-carousel-item-content{padding:7px}.su-image-carousel-slides-style-photo .su-image-carousel-item-content img{border:5px solid #fff;border-radius:7px;box-shadow:0 2px 5px rgba(0,0,0,.5)}.su-image-carousel-slides-style-photo .su-image-carousel-item-content span{right:12px;bottom:12px;left:12px;padding:.3em .5em;background:#fff;color:#000;font-size:.9em}.su-image-carousel-slides-style-photo.su-image-carousel-crop .su-image-carousel-item-content img{top:7px;right:7px;bottom:7px;left:7px;width:calc(100% - 14px);height:calc(100% - 14px)}.su-image-carousel-mfp.mfp-bg{z-index:102000!important}.su-image-carousel-mfp.mfp-wrap{z-index:102001!important}.su-image-carousel-mfp.mfp-wrap .mfp-preloader{z-index:102002!important}.su-image-carousel-mfp.mfp-wrap .mfp-content{z-index:102003!important}.su-image-carousel-mfp.mfp-wrap button.mfp-arrow,.su-image-carousel-mfp.mfp-wrap button.mfp-close{z-index:102004!important}.su-image-carousel-has-outline .su-image-carousel-item-content a:focus img,.su-image-carousel-has-outline button.flickity-prev-next-button:focus{outline-width:2px;outline-style:solid;outline-color:Highlight}.su-label{display:inline;margin-right:.3em;padding:.1em .3em;font-size:.8em;height:.8em;line-height:.8em;color:#fff;border-radius:3px}.su-label-type-default{background:#999}.su-label-type-success{background:#090}.su-label-type-warning{background:#f90}.su-label-type-important{background:#f03}.su-label-type-black{background:#111}.su-label-type-info{background:#09c}.su-lightbox-content{position:relative;margin:0 auto}#su-generator .su-lightbox-content,.mfp-content .su-lightbox-content{display:block!important}.su-lightbox-content-preview{width:100%;min-height:300px;background:#444;overflow:hidden}.su-lightbox-content h1,.su-lightbox-content h2,.su-lightbox-content h3,.su-lightbox-content h4,.su-lightbox-content h5,.su-lightbox-content h6{color:inherit}.su-lightbox{cursor:pointer}.su-list{margin-bottom:1.5em}.su-list ul{margin:0!important;padding:0!important;list-style:none!important}.su-list ul li{position:relative;display:block!important;margin:0!important;padding:4px 0 4px 2em!important;list-style-type:none!important;line-height:1.3em}.su-list ul li>img{position:absolute;left:0;top:4px;width:1.3em;height:1.3em;padding:0;margin:0;border:none}.su-list ul li>i{position:absolute;left:0;top:4px;width:1.3em;height:1.3em;line-height:1.3em;text-align:center}.su-members{margin-bottom:1.5em;padding:1em;border-width:1px 0;border-style:solid;text-align:center}.su-members a{text-decoration:underline;color:inherit}.su-note{margin:0 0 1.5em;border-width:1px;border-style:solid}.su-note-inner{padding:1em;border-width:1px;border-style:solid}.su-posts-default-loop .su-post{margin-bottom:2.5em;line-height:1.5}.su-posts-default-loop .su-post:after{content:'';display:table;clear:both}.su-posts-default-loop .su-post-thumbnail{float:left;display:block;width:100px;height:100px;margin-right:1em}.su-posts-default-loop .su-post-thumbnail img{max-width:100px;max-height:100px}.su-posts-default-loop h2.su-post-title{clear:none;margin:0 0 .3em;font-size:1.2em;font-weight:700}.su-posts-default-loop .su-post-meta{margin-bottom:.7em;font-size:.8em;opacity:.6}.su-posts-default-loop .su-post-excerpt{margin-bottom:.5em}.su-posts-default-loop .su-post-excerpt p:last-child{margin-bottom:0}.su-posts-default-loop .su-post-comments-link{font-size:.9em}.su-posts-teaser-loop .su-post{margin-bottom:1.5em;line-height:1.2}.su-posts-teaser-loop .su-post:after{content:'';display:table;clear:both}.su-posts-teaser-loop .su-post-thumbnail{float:left;display:block;width:56px;height:56px;margin:0 1em 0 0}.su-posts-teaser-loop .su-post-thumbnail img{display:block;margin:0;padding:2px;border:1px solid #ccc;border-radius:5px;max-width:100%;max-height:100%}.su-posts-teaser-loop h2.su-post-title{display:block;margin:0;padding:0;border:none;font-size:.9em;font-weight:400;clear:none}.su-posts-single-post .su-post{margin-bottom:2.5em;line-height:1.5}.su-posts-single-post .su-post:after{content:'';display:table;clear:both}.su-posts-single-post h1.su-post-title{clear:none;margin:0 0 .3em;font-size:1.2em;font-weight:700}.su-posts-single-post .su-post-meta{margin-bottom:.7em;font-size:.8em;opacity:.6}.su-posts-single-post .su-post-content{margin-bottom:.5em}.su-posts-single-post .su-post-content p:last-child{margin-bottom:0}.su-private{margin:0 0 1.5em}.su-pullquote{display:block;width:30%;padding:.5em 1em}.su-pullquote-align-left{margin:.5em 1.5em 1em 0;padding-left:0;float:left;border-right:5px solid #eee}.su-pullquote-align-right{margin:.5em 0 1em 1.5em;padding-right:0;float:right;border-left:5px solid #eee}.su-qrcode{display:inline-block}.su-qrcode-align-left{float:left;margin:0 .5em .5em 0}.su-qrcode-align-center{display:block;clear:both;margin:1em auto;text-align:center}.su-qrcode-align-right{float:right;margin:0 0 .5em .5em}.su-qrcode a,.su-qrcode a:active,.su-qrcode a:focus,.su-qrcode a:hover{background:0 0;outline:0;display:inline;text-decoration:none}.su-qrcode-clickable a:hover{opacity:.7}.su-qrcode img{max-width:100%}.su-quote-style-default{position:relative;margin-bottom:1.5em;padding:.5em 3em;font-style:italic}.su-quote-style-default:after,.su-quote-style-default:before{position:absolute;display:block;width:20px;height:20px;background-image:url(../images/quote.png);content:''}.su-quote-style-default:before{top:0;left:0;background-position:0 0}.su-quote-style-default:after{right:0;bottom:0;background-position:-20px 0}.su-quote-style-default .su-quote-cite{display:block;text-align:right;font-style:normal}.su-quote-style-default .su-quote-cite:before{content:'\2014\0000a0'}.su-quote-style-default .su-quote-cite a{text-decoration:underline}.su-screenr{margin:0 0 1.5em}.su-screenr iframe{border:none!important}.su-service{position:relative;margin:0 0 1.5em}.su-service-title{display:block;margin-bottom:.5em;color:#333;font-weight:700;font-size:1.1em}.su-service-title img{position:absolute;top:0;left:0;display:block!important;margin:0!important;padding:0!important;border:none!important;box-shadow:none!important}.su-service-title i{position:absolute;top:0;left:0;display:block!important;width:1em;height:1em;text-align:center;line-height:1em}.su-service-content{line-height:1.4}.su-slider{position:relative;margin-bottom:1.5em;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.su-slider-centered{margin:0 auto 1.5em}.su-slider-slides{position:relative;width:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transform:translate3d(0,0,0);-o-transition-timing-function:ease;-o-transform:translate(0,0);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0,0,0);-ms-transition-timing-function:ease;-webkit-transition-property:left,top,-webkit-transform;transition-property:left,top,-webkit-transform;transition-property:transform,left,top;transition-property:transform,left,top,-webkit-transform;transition-duration:0s;transform:translate3d(0,0,0);transition-timing-function:ease}.swiper-free-mode>.su-slider-slides{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.su-slider-slide{position:relative;float:left}.su-slider-slide>a,.su-slider-slide>a>img,.su-slider-slide>img{position:relative;display:block;width:100%;height:100%;text-decoration:none}.su-slider-responsive-yes .su-slider-slide>a,.su-slider-responsive-yes .su-slider-slide>a>img,.su-slider-responsive-yes .su-slider-slide>img{height:auto}.su-slider-pages-no .su-slider-pagination{display:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}.su-slider-slide-title{position:absolute;left:20px;bottom:20px;display:block;max-width:90%;padding:5px 10px;color:#fff;line-height:1.3;background:#000;background:rgba(0,0,0,.5);border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;opacity:0;transition:opacity 1s;-o-transition:opacity 1s;-moz-transition:opacity 1s;-webkit-transition:opacity 1s}.su-slider-slide-visible .su-slider-slide-title{opacity:1}.su-slider-next,.su-slider-prev{position:absolute;top:50%;display:block;width:40px;height:40px;margin-top:-20px!important;background:#000 0 0 url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-slider-prev{right:10px;margin-right:30px;background-position:-40px 0}.su-slider-next{left:10px;margin-left:30px;background-position:0 0}.su-slider:hover .su-slider-next,.su-slider:hover .su-slider-prev{margin-left:0;margin-right:0;opacity:.7}.su-slider .su-slider-next:hover,.su-slider .su-slider-prev:hover{opacity:1}.su-slider-pagination{position:absolute;left:15%;right:15%;top:50%;width:70%;height:0;margin-top:-7px;text-align:center;cursor:default;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-slider:hover .su-slider-pagination{bottom:20px;opacity:1}.su-slider-pagination span{display:inline-block;width:14px;height:14px;margin:0;background:#000 0 -999px url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;-webkit-transition:all .2s;transition:all .2s}.su-slider:hover .su-slider-pagination span{margin:0 3px}.su-slider .su-slider-pagination span.swiper-visible-switch{background-color:#fff;background-color:rgba(255,255,255,.5)}.su-slider-pagination span.swiper-active-switch,.su-slider-pagination span:hover{background-position:0 -40px}.su-spacer{display:block;height:0;clear:both;overflow:hidden}.su-spacer-5{height:5px}.su-spacer-10{height:10px}.su-spacer-20{height:20px}.su-spacer-30{height:30px}.su-spacer-40{height:40px}.su-spoiler{margin-bottom:1.5em}.su-spoiler .su-spoiler:last-child{margin-bottom:0}.su-spoiler-title{position:relative;cursor:pointer;min-height:20px;line-height:20px;padding:7px 7px 7px 34px;font-weight:700;font-size:13px}.su-spoiler-title:focus{outline:currentColor thin dotted}.su-spoiler-icon{position:absolute;left:7px;top:7px;display:block;width:20px;height:20px;line-height:21px;text-align:center;font-size:14px;font-family:ShortcodesUltimateIcons;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.su-spoiler-content{padding:14px;-webkit-transition:padding-top .2s;transition:padding-top .2s;-ie-transition:padding-top .2s}.su-spoiler.su-spoiler-closed>.su-spoiler-content{height:0;margin:0;padding-top:0;padding-bottom:0;overflow:hidden;border:none;opacity:0;pointer-events:none}.su-spoiler.su-spoiler-closed>.su-spoiler-content iframe{display:none}.su-spoiler-icon-plus .su-spoiler-icon:before{content:'\f068'}.su-spoiler-icon-plus.su-spoiler-closed .su-spoiler-icon:before{content:'\f067'}.su-spoiler-icon-plus-circle .su-spoiler-icon:before{content:'\f056'}.su-spoiler-icon-plus-circle.su-spoiler-closed .su-spoiler-icon:before{content:'\f055'}.su-spoiler-icon-plus-square-1 .su-spoiler-icon:before{content:'\f146'}.su-spoiler-icon-plus-square-1.su-spoiler-closed .su-spoiler-icon:before{content:'\f0fe'}.su-spoiler-icon-plus-square-2 .su-spoiler-icon:before{content:'\f147'}.su-spoiler-icon-plus-square-2.su-spoiler-closed .su-spoiler-icon:before{content:'\f196'}.su-spoiler-icon-arrow .su-spoiler-icon:before{content:'\f063'}.su-spoiler-icon-arrow.su-spoiler-closed .su-spoiler-icon:before{content:'\f061'}.su-spoiler-icon-arrow-circle-1 .su-spoiler-icon:before{content:'\f0ab'}.su-spoiler-icon-arrow-circle-1.su-spoiler-closed .su-spoiler-icon:before{content:'\f0a9'}.su-spoiler-icon-arrow-circle-2 .su-spoiler-icon:before{content:'\f01a'}.su-spoiler-icon-arrow-circle-2.su-spoiler-closed .su-spoiler-icon:before{content:'\f18e'}.su-spoiler-icon-chevron .su-spoiler-icon:before{content:'\f078'}.su-spoiler-icon-chevron.su-spoiler-closed .su-spoiler-icon:before{content:'\f054'}.su-spoiler-icon-chevron-circle .su-spoiler-icon:before{content:'\f13a'}.su-spoiler-icon-chevron-circle.su-spoiler-closed .su-spoiler-icon:before{content:'\f138'}.su-spoiler-icon-caret .su-spoiler-icon:before{content:'\f0d7'}.su-spoiler-icon-caret.su-spoiler-closed .su-spoiler-icon:before{content:'\f0da'}.su-spoiler-icon-caret-square .su-spoiler-icon:before{content:'\f150'}.su-spoiler-icon-caret-square.su-spoiler-closed .su-spoiler-icon:before{content:'\f152'}.su-spoiler-icon-folder-1 .su-spoiler-icon:before{content:'\f07c'}.su-spoiler-icon-folder-1.su-spoiler-closed .su-spoiler-icon:before{content:'\f07b'}.su-spoiler-icon-folder-2 .su-spoiler-icon:before{content:'\f115'}.su-spoiler-icon-folder-2.su-spoiler-closed .su-spoiler-icon:before{content:'\f114'}.su-spoiler-style-default>.su-spoiler-title{padding-left:27px;padding-right:0}.su-spoiler-style-default>.su-spoiler-title>.su-spoiler-icon{left:0}.su-spoiler-style-default>.su-spoiler-content{padding:1em 0 1em 27px}.su-spoiler-style-fancy{border:1px solid #ccc;border-radius:10px;background:#fff;color:#333}.su-spoiler-style-fancy>.su-spoiler-title{border-bottom:1px solid #ccc;border-radius:10px;background:#f0f0f0;font-size:.9em}.su-spoiler-style-fancy.su-spoiler-closed>.su-spoiler-title{border:none}.su-spoiler-style-fancy>.su-spoiler-content{border-radius:10px}.su-spoiler-style-simple{border-top:1px solid #ccc;border-bottom:1px solid #ccc}.su-spoiler-style-simple>.su-spoiler-title{padding:5px 10px;background:#f0f0f0;color:#333;font-size:.9em}.su-spoiler-style-simple>.su-spoiler-title>.su-spoiler-icon{display:none}.su-spoiler-style-simple>.su-spoiler-content{padding:1em 10px;background:#fff;color:#333}.su-table{width:100%;margin-bottom:1.5em}.su-table table{width:100%!important;margin:0!important;border-collapse:collapse!important;font-size:1em!important;border:1px solid #ccc!important;table-layout:auto!important}.su-table table th{text-align:center!important;padding:1em!important;font-size:1em!important;font-weight:700!important;color:#333!important;border:1px solid #ccc!important;background:#f0f0f0!important}.su-table table td{padding:.5em 1em!important;border:1px solid #ccc!important;background:#fff!important}.su-table-responsive{overflow-x:auto}.su-table-responsive table{width:auto!important;min-width:100%!important}.su-table-responsive table td,.su-table-responsive table th{word-break:initial!important}.su-table-alternate table tr:nth-child(even) td{background-color:#f7f7f7!important}.su-table-fixed table{table-layout:fixed!important}.su-tabs{margin:0 0 1.5em;padding:3px;border-radius:3px;background:#eee}.su-tabs-nav span{display:inline-block;margin-right:3px;padding:10px 15px;min-height:40px;border-top-left-radius:3px;border-top-right-radius:3px;color:#333;font-size:13px;line-height:20px;cursor:pointer;-webkit-transition:all .2s;transition:all .2s}.su-tabs-nav span:hover{background:#f5f5f5}.su-tabs-nav span.su-tabs-current{background:#fff;cursor:default}.su-tabs-nav span:focus{outline:currentColor thin dotted}.su-tabs-nav span.su-tabs-disabled{opacity:.5;cursor:default}.su-tabs-pane{padding:15px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background:#fff;color:#333;font-size:13px}.su-tabs-pane:not(.su-tabs-pane-open){overflow:hidden!important;padding-top:0!important;padding-bottom:0!important;min-height:0!important;height:0!important;border:none!important}.su-tabs-nav,.su-tabs-nav span,.su-tabs-pane,.su-tabs-panes{box-sizing:border-box!important}.su-tabs-vertical{display:-webkit-box;display:flex}.su-tabs-vertical .su-tabs-nav{width:30%}.su-tabs-vertical .su-tabs-nav>span{display:block;margin-right:0;border-radius:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.su-tabs-vertical .su-tabs-panes{width:70%}.su-tabs-vertical .su-tabs-panes .su-tabs-pane{height:100%;border-radius:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.qtip.su-qtip{max-width:480px!important}.su-tooltip{display:inline-block}.su-qtip-size-1{font-size:.8em!important}.su-qtip-size-2{font-size:.9em!important}.su-qtip-size-3{font-size:1em!important}.su-qtip-size-4{font-size:1.1em!important}.su-qtip-size-5{font-size:1.2em!important}.su-qtip-size-6{font-size:1.3em!important}.su-tooltip-content{display:none}.su-tooltip-content>:last-child{margin-bottom:0}.qtip-content .su-tooltip-content embed,.qtip-content .su-tooltip-content iframe,.qtip-content .su-tooltip-content img,.qtip-content .su-tooltip-content object{max-width:430px}.qtip-content .su-tooltip-content .su-u-responsive-media-yes{width:430px}.su-video{position:relative;margin-bottom:1.5em;overflow:hidden}.su-video .jp-title{position:absolute;top:-100px;left:0;width:100%;height:30px;padding:0 1em;line-height:30px;font-size:.9em;background:#000;background:rgba(0,0,0,.5);color:#fff;-webkit-transition:top .2s;transition:top .2s}.su-video:hover .jp-title{top:0}.su-video .jp-start{position:absolute;left:0;top:0;width:100%;height:100%;cursor:pointer;opacity:.5;-webkit-transition:opacity .2s;transition:opacity .2s;background:50% 50% url(../images/player/default-start.png) no-repeat}.su-video:hover .jp-start{opacity:.8}.su-video.jp-video-full{position:fixed;left:0;top:0;width:100%;height:100%}.su-video.jp-video-full .jp-jplayer{position:fixed!important;left:0;top:0;overflow:hidden}.su-video .jp-gui{position:relative;height:30px;background:#7c8781;background:-webkit-gradient(linear,left top,left bottom,from(#7c8781),to(#0a0809));background:linear-gradient(to bottom,#7c8781 0,#0a0809 100%);border-bottom-right-radius:3px;border-bottom-left-radius:3px}.su-video.jp-video-full .jp-gui{position:fixed;left:0;bottom:0;width:100%}.su-video-controls-no .jp-gui{position:absolute!important;bottom:-100px;left:0;right:0;-webkit-transition:bottom .2s;transition:bottom .2s}.su-video-controls-no:hover .jp-gui{bottom:0}.su-video img{border-radius:0!important;border:none!important;margin:0!important;padding:0!important}.su-video .jp-gui .jp-pause,.su-video .jp-gui .jp-play{position:absolute;left:0;top:0;display:block;width:30px;height:30px;border-right:1px solid #454947;cursor:pointer}.su-video .jp-gui .jp-play{background:0 0 url(../images/player/default.png) no-repeat}.su-video .jp-gui .jp-pause{background:-30px 0 url(../images/player/default.png) no-repeat}.su-video .jp-full-screen,.su-video .jp-restore-screen{position:absolute;top:0;right:0;display:block;width:30px;height:30px;border-left:1px solid #454947;cursor:pointer}.su-video .jp-full-screen{background:0 -30px url(../images/player/default.png) no-repeat}.su-video .jp-restore-screen{background:-30px -30px url(../images/player/default.png) no-repeat}.su-video .jp-progress{position:absolute;top:10px;left:90px;right:90px;height:10px;background:#333;border-radius:3px;box-shadow:0 0 5px #000 inset}.su-video .jp-play-bar,.su-video .jp-seek-bar{position:absolute;top:0;left:0;height:100%;cursor:pointer;border-radius:3px}.su-video .jp-seek-bar{background:#0b0b0b;background:-webkit-gradient(linear,left top,left bottom,from(#0b0b0b),to(#666));background:linear-gradient(to bottom,#0b0b0b 0,#666 100%)}.su-video .jp-play-bar{background:#6db3f2;background:-webkit-gradient(linear,left top,left bottom,from(#6db3f2),color-stop(50%,#54a3ee),color-stop(51%,#3690f0),to(#1e69de));background:linear-gradient(to bottom,#6db3f2 0,#54a3ee 50%,#3690f0 51%,#1e69de 100%)}.su-video .jp-current-time,.su-video .jp-duration{position:absolute;top:0;display:block;height:30px;line-height:30px;color:#f5f5f5;font-size:10px}.su-video .jp-current-time{left:50px}.su-video .jp-duration{right:50px}.su-vimeo{margin:0 0 1.5em}.su-vimeo iframe{border:none!important}.su-youtube{margin:0 0 1.5em}.su-youtube iframe{border:none!important}@media screen and (max-width:768px){.su-button span{padding-top:.25em!important;padding-bottom:.25em!important;line-height:1.2!important}.su-button small{margin-top:.2em!important}.su-display-posts-template-default .su-post-thumbnail{width:4em}.su-display-posts-template-teasers .su-post-thumbnail{width:2.75em}.su-image-carousel-adaptive .su-image-carousel-item,.su-image-carousel-adaptive.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:0;width:100%}}@media screen and (max-width:48em){.su-pullquote{width:auto}.su-pullquote-align-left,.su-pullquote-align-right{float:none;margin:1.5em 0;padding:.5em 1em}}@media only screen and (max-width:768px){.su-tabs-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.su-tabs-vertical .su-tabs-nav,.su-tabs-vertical .su-tabs-panes{width:100%}.su-tabs-vertical .su-tabs-nav .su-tabs-pane,.su-tabs-vertical .su-tabs-nav>span,.su-tabs-vertical .su-tabs-panes .su-tabs-pane,.su-tabs-vertical .su-tabs-panes>span{border-radius:3px}.su-tabs-mobile-stack .su-tabs-nav span{display:block}.su-tabs-mobile-scroll .su-tabs-nav{display:-webkit-box;display:flex;-webkit-box-align:end;align-items:flex-end;white-space:nowrap;overflow-x:auto}}@media only screen and (max-width:767px){.su-row .su-column{float:none;width:100%;margin:0}.su-row .su-column+.su-column{margin:1.5rem 0 0}}@media (-webkit-min-device-pixel-ratio:0){.su-image-carousel-has-outline .su-image-carousel-item-content a:focus,.su-image-carousel-has-outline button.flickity-prev-next-button:focus{outline-style:auto;outline-color:-webkit-focus-ring-color}}
1
+ .su-u-clearfix::after{content:'';display:table;clear:both}.su-u-trim>:first-child{margin-top:0}.su-u-trim>:last-child{margin-bottom:0}.su-u-responsive-media-yes{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.su-u-responsive-media-yes .fluid-width-video-wrapper,.su-u-responsive-media-yes .video-holder{position:static!important}.su-u-responsive-media-yes embed,.su-u-responsive-media-yes iframe,.su-u-responsive-media-yes object{position:absolute;top:0;left:0;width:100%;height:100%}.su-u-overflow-hidden{overflow:hidden}.su-accordion{margin-bottom:1.5em}.su-accordion .su-spoiler{margin-bottom:.5em}.su-audio{position:relative;width:100%;height:30px;margin-bottom:1.5em;background:#7c8781;background:-webkit-gradient(linear,left top,left bottom,from(#7c8781),to(#0a0809));background:linear-gradient(to bottom,#7c8781 0,#0a0809 100%);border-radius:3px}.su-audio .jp-pause,.su-audio .jp-play{position:absolute;left:0;top:0;display:block;width:30px;height:30px;border-top-left-radius:3px;border-bottom-left-radius:3px;cursor:pointer;border-right:1px solid #454947;background-image:url(../images/player/default.png);background-repeat:no-repeat}.su-audio .jp-play{background-position:0 0}.su-audio .jp-pause{background-position:-30px 0}.su-audio .jp-current-time,.su-audio .jp-duration{position:absolute;top:0;display:block;height:30px;line-height:30px;font-size:10px;color:#eee;text-shadow:0 -1px 0 #000}.su-audio .jp-current-time{left:45px}.su-audio .jp-duration{right:10px}.su-audio .jp-play-bar,.su-audio .jp-seek-bar{position:absolute;top:0;left:0;height:10px;border-radius:3px;cursor:pointer}.su-audio .jp-progress{position:absolute;top:10px;left:85px;right:50px;height:10px;background:#333;box-shadow:0 0 5px #000 inset;border-radius:3px}.su-audio .jp-seek-bar{background:#0b0b0b;background:-webkit-gradient(linear,left top,left bottom,from(#0b0b0b),to(#666));background:linear-gradient(to bottom,#0b0b0b 0,#666 100%)}.su-audio .jp-play-bar{background:#6db3f2;background:-webkit-gradient(linear,left top,left bottom,from(#6db3f2),color-stop(50%,#54a3ee),color-stop(51%,#3690f0),to(#1e69de));background:linear-gradient(to bottom,#6db3f2 0,#54a3ee 50%,#3690f0 51%,#1e69de 100%)}.su-box{margin:0 0 1.5em;border-width:2px;border-style:solid}.su-box-title{display:block;padding:.5em 1em;font-weight:700;font-size:1.1em}.su-box-content{background-color:#fff;color:#444;padding:1em}.su-box-style-soft .su-box-title{background-image:url(../images/styles/style-soft.png);background-position:0 0;background-repeat:repeat-x}.su-box-style-glass .su-box-title{background-image:url(../images/styles/style-glass.png);background-position:0 50%;background-repeat:repeat-x}.su-box-style-bubbles .su-box-title{background-image:url(../images/styles/style-bubbles.png);background-position:0 50%;background-repeat:repeat-x}.su-box-style-noise .su-box-title{background-image:url(../images/styles/style-noise.png);background-position:0 0;background-repeat:repeat-x}.su-button{display:inline-block!important;text-align:center;text-decoration:none!important;box-sizing:content-box!important;-webkit-transition:all .2s;transition:all .2s}.su-button-wide{display:block!important;margin:1em 0}.su-button-center{text-align:center}.su-button span{display:block!important;text-decoration:none!important;box-sizing:content-box!important;-webkit-transition:all .2s;transition:all .2s}.su-button img{border:none!important;vertical-align:middle!important;margin:-.2em .4em 0 -.3em!important;box-shadow:none!important}.su-button i{display:inline-block;width:1em;height:1em;margin:0 .5em 0 0!important;text-align:center;line-height:1em}.su-button.su-button-float-icon img{margin:0 .5em!important}.su-button small{display:block;margin:-.2em 0 0;color:inherit;text-align:center;font-style:normal;font-size:.8em;line-height:1;opacity:.7}.su-button-style-default{border-width:1px;border-style:solid}.su-button-style-default:hover{opacity:.7}.su-button-style-default span{border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid}.su-button-style-flat,.su-button-style-flat span{border:none}.su-button-style-flat span{position:relative}.su-button-style-flat:hover span{top:1px}.su-button-style-ghost{background:0 0!important}.su-button-style-ghost span{border-width:3px;border-style:solid}.su-button-style-ghost:hover span{border-color:inherit!important}.su-button-style-soft span{background:0 -20px url(../images/styles/style-soft.png) repeat-x}.su-button-style-soft:hover span{background:0 0 url(../images/styles/style-soft.png) repeat-x}.su-button-style-glass span{background:0 50% url(../images/styles/style-glass.png) repeat-x}.su-button-style-glass:hover span{background:100% 50% url(../images/styles/style-glass.png) repeat-x}.su-button-style-bubbles span{background:0 50% url(../images/styles/style-bubbles.png) no-repeat}.su-button-style-bubbles:hover span{background:-710px 50% url(../images/styles/style-bubbles.png) no-repeat}.su-button-style-noise span{background:0 0 url(../images/styles/style-noise.png) repeat-x}.su-button-style-noise:hover span{background:0 0 url(../images/styles/style-noise.png) repeat-x}.su-button-style-stroked span{margin:1px;border:1px dashed #fff!important}.su-button-style-stroked:hover span{opacity:.7}.su-button-style-3d{border-bottom-style:solid;border-bottom-width:6px}.su-button-style-3d span{border-bottom-style:solid;border-bottom-width:1px}.su-button-style-3d:hover{position:relative;top:3px;border-bottom-width:3px}.su-carousel{position:relative;margin-bottom:1.5em;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.su-carousel-centered{margin:0 auto 1.5em}.su-carousel-slides{position:relative;width:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transform:translate3d(0,0,0);-o-transition-timing-function:ease;-o-transform:translate(0,0);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0,0,0);-ms-transition-timing-function:ease;-webkit-transition-property:left,top,-webkit-transform;transition-property:left,top,-webkit-transform;transition-property:transform,left,top;transition-property:transform,left,top,-webkit-transform;transition-duration:0s;transform:translate3d(0,0,0);transition-timing-function:ease}.swiper-free-mode>.su-carousel-slides{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.su-carousel-slide{position:relative;float:left}.su-carousel-slide>a,.su-carousel-slide>a>img,.su-carousel-slide>img{position:relative;display:block;width:100%;height:100%;text-decoration:none;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.su-carousel-responsive-yes .su-carousel-slide>a,.su-carousel-responsive-yes .su-carousel-slide>a>img,.su-carousel-responsive-yes .su-carousel-slide>img{height:auto}.su-carousel-pages-no .su-carousel-pagination{display:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}.su-carousel .su-carousel-slide a{padding:0 5px}.su-carousel .su-carousel-slide img{padding:3px;border:1px solid #ccc;background:#fff;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}.su-carousel .su-carousel-slide-title{position:absolute;left:9px;right:9px;bottom:4px;display:block;padding:2px 3px;color:#fff;line-height:1.2;font-size:11px;background:#000;background:rgba(0,0,0,.5);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;transition:opacity 1s;-o-transition:opacity 1s;-moz-transition:opacity 1s;-webkit-transition:opacity 1s}.su-carousel .su-carousel-next,.su-carousel .su-carousel-prev{position:absolute;top:50%;display:block;width:40px;height:40px;margin-top:-20px;background:#000 0 0 url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-carousel .su-carousel-prev{right:20px;margin-right:40px;background-position:-40px 0}.su-carousel .su-carousel-next{left:20px;margin-left:40px;background-position:0 0}.su-carousel:hover .su-carousel-next,.su-carousel:hover .su-carousel-prev{margin-left:0;margin-right:0;opacity:.7}.su-carousel .su-carousel-next:hover,.su-carousel .su-carousel-prev:hover{opacity:1}.su-carousel .su-carousel-pagination{position:absolute;left:15%;right:15%;top:50%;width:70%;height:0;margin-top:-7px;text-align:center;cursor:default;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-carousel:hover .su-carousel-pagination{bottom:20px;opacity:1}.su-carousel .su-carousel-pagination span{display:inline-block;width:14px;height:14px;margin:0;background:#000 0 -999px url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;-webkit-transition:all .2s;transition:all .2s}.su-carousel:hover .su-carousel-pagination span{margin:0 3px}.su-carousel .su-carousel-pagination span.swiper-visible-switch{background-color:#fff;background-color:rgba(255,255,255,.5)}.su-carousel .su-carousel-pagination span.swiper-active-switch,.su-carousel .su-carousel-pagination span:hover{background-position:0 -40px}.su-row{margin-bottom:1.5em}.su-row::after{display:table;clear:both;content:''}.su-row .su-column{display:block;float:left;box-sizing:border-box;margin:0 0 0 4%}.su-row .su-column:first-child{margin-left:0}.su-row .su-column.su-column-size-1-1{margin-right:0;margin-left:0}.su-row .su-column.su-column-centered{float:none;margin-right:auto;margin-left:auto}.su-row .su-column-size-1-1{width:100%}.su-row .su-column-size-1-2{width:48%}.su-row .su-column-size-1-3{width:30.66%}.su-row .su-column-size-2-3{width:65.33%}.su-row .su-column-size-1-4{width:22%}.su-row .su-column-size-3-4{width:74%}.su-row .su-column-size-1-5{width:16.8%}.su-row .su-column-size-2-5{width:37.6%}.su-row .su-column-size-3-5{width:58.4%}.su-row .su-column-size-4-5{width:79.2%}.su-row .su-column-size-1-6{width:13.33%}.su-row .su-column-size-5-6{width:82.66%}.su-row .su-column embed,.su-row .su-column iframe,.su-row .su-column img,.su-row .su-column object{max-width:100%}.su-custom-gallery{margin-bottom:1.5em}.su-custom-gallery:after,.su-custom-gallery:before{content:'';display:table}.su-custom-gallery:after{clear:both}.su-custom-gallery-slide{position:relative;float:left;margin:.5em;overflow:hidden}.su-custom-gallery-slide a{display:block;width:100%}.su-custom-gallery-slide img{display:block;margin:0;padding:3px;border:1px solid #ccc;background:#fff;box-sizing:border-box;border-radius:5px;box-shadow:none;-webkit-transition:all .2s;transition:all .2s}.su-custom-gallery-slide:hover img{background:#eee;border:1px solid #aaa}.su-custom-gallery-slide span{position:absolute;left:4px;bottom:4px;right:4px;display:block;padding:2px 4px;font-size:12px;color:#fff;background:#000;background:rgba(0,0,0,.5);line-height:1.3;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-custom-gallery-slide:hover span{opacity:1}.su-custom-gallery-title-never span{display:none}.su-custom-gallery-title-always span{opacity:1}.su-dailymotion{margin:0 0 1.5em}.su-dailymotion iframe{border:none!important}.su-display-posts-template-default .su-post{display:-webkit-box;display:flex;margin-bottom:1.75em}.su-display-posts-template-default .su-post-thumbnail{margin:0 1.25em 0 0;width:8.25em}.su-display-posts-template-default .su-post-thumbnail a{display:block!important;text-decoration:none!important}.su-display-posts-template-default .su-post-thumbnail img{display:block!important;margin:0!important;max-width:100%!important;height:auto!important;-o-object-fit:cover!important;object-fit:cover!important}.su-display-posts-template-default .su-post-body{-webkit-box-flex:1;flex:1}.su-display-posts-template-default h2.su-post-title{margin:0 0 1em!important;padding:0!important;border:none!important;font-size:1.35em!important}.su-display-posts-template-default h2.su-post-title::after,.su-display-posts-template-default h2.su-post-title::before{display:none}.su-display-posts-template-default .su-post-meta{margin:1em 0;font-size:.85em;opacity:.85}.su-display-posts-template-default .su-post-excerpt p{margin:1em 0}.su-display-posts-template-default .su-post-excerpt>:last-child{margin-bottom:0!important}.su-display-posts-template-default .su-post-comments-link{margin:1em 0 0}.su-display-posts-template-teasers .su-post{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:1em}.su-display-posts-template-teasers .su-post-thumbnail{margin:0 1em 0 0;width:3.75em}.su-display-posts-template-teasers .su-post-thumbnail a{display:block!important;text-decoration:none!important}.su-display-posts-template-teasers .su-post-thumbnail img{display:block!important;margin:0!important;max-width:100%!important;height:auto!important;-o-object-fit:cover!important;object-fit:cover!important}.su-display-posts-template-teasers .su-post-body{-webkit-box-flex:1;flex:1}.su-display-posts-template-teasers h2.su-post-title{margin:0!important;padding:0!important;border:none!important;font-size:1.15em!important}.su-display-posts-template-teasers h2.su-post-title::after,.su-display-posts-template-teasers h2.su-post-title::before{display:none}.su-display-posts-template-single h2.su-post-title{margin:0 0 1em!important;padding:0!important;border:none!important;font-size:1.75em!important}.su-display-posts-template-single .su-post-meta{margin:1em 0;font-size:.85em;opacity:.85}.su-display-posts-pagination{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.su-display-posts-pagination-next{margin-left:auto}.su-divider{clear:both;border:none;text-align:right;line-height:1}.su-divider a{display:inline-block;font-size:.8em;text-decoration:none;outline:0;padding-bottom:5px}.su-divider-style-default{border-bottom-style:solid}.su-divider-style-dotted{border-bottom-style:dotted}.su-divider-style-dashed{border-bottom-style:dashed}.su-divider-style-double{border-bottom-style:double}.su-document{margin:0 0 1.5em}.su-document iframe{border:none!important}.su-dropcap{float:left;display:inline-block;width:2em;height:2em;margin:.2em .5em .2em 0;line-height:2em;text-align:center;overflow:hidden;text-transform:uppercase}.su-dropcap-style-default{color:#fff;background:#45484d;background:-webkit-gradient(linear,left top,left bottom,from(#45484d),to(black));background:linear-gradient(to bottom,#45484d 0,#000 100%);text-shadow:-1px -1px 0 #000;border-radius:50%}.su-dropcap-style-flat{background:#444;color:#fff}.su-dropcap-style-light{color:#333;border-radius:50%;background:#fff;background:-webkit-gradient(linear,left top,left bottom,from(white),to(#eaeaea));background:linear-gradient(to bottom,#fff 0,#eaeaea 100%)}.su-dropcap-style-simple{width:1em;height:1em;line-height:1em;text-align:left}.su-expand{margin:0 0 1.5em}.su-expand-content{overflow:hidden}.su-expand-link{margin-top:.5em;cursor:pointer}.su-expand-link:hover{opacity:.7}.su-expand-link a,.su-expand-link a:active,.su-expand-link a:focus,.su-expand-link a:hover,.su-expand-link a:visited{display:inline;text-decoration:none;box-shadow:none;background:0 0;border:none}.su-expand-link-style-underlined .su-expand-link span{text-decoration:underline}.su-expand-link-style-dotted .su-expand-link span{border-bottom:1px dotted #333}.su-expand-link-style-dashed .su-expand-link span{border-bottom:1px dashed #333}.su-expand-link-style-button .su-expand-link a{display:inline-block;margin-top:.2em;padding:.2em .4em;border:2px solid #333}.su-expand-link-more{display:none}.su-expand-link-less{display:block}.su-expand-collapsed .su-expand-link-more{display:block}.su-expand-collapsed .su-expand-link-less{display:none}.su-expand-link i{display:inline-block;margin:0 .3em 0 0;vertical-align:middle;color:inherit}.su-expand-link img{display:inline-block;width:1em;height:1em;margin:0 .3em 0 0;vertical-align:middle}.su-frame,.su-frame-inner{display:block}.su-frame-align-left{float:left;margin:0 1em 1em 0}.su-frame-align-center{float:none;margin:1em auto}.su-frame-align-right{float:right;margin:0 0 1em 1em}.su-frame img{display:block!important;float:none!important;padding:0!important;margin:0!important;border:none!important;box-shadow:none!important}.su-frame-style-default{padding:2px;border:1px solid #999;background:#fff;box-shadow:1px 1px 4px #ccc}.su-frame-style-default .su-frame-inner{padding:2px;border:4px solid #eee}.su-gmap{margin:0 0 1.5em}.su-gmap iframe{border:none!important}.su-guests{margin-bottom:1.5em}.su-heading-style-default{padding:2px 0;border-top:1px solid #999;border-bottom:1px solid #999}.su-heading-style-default .su-heading-inner{padding:1em .5em;border-top:4px solid #eee;border-bottom:4px solid #eee}.su-heading.su-heading-align-left{text-align:left}.su-heading.su-heading-align-left .su-heading-inner{padding-left:.2em}.su-heading.su-heading-align-right{text-align:right}.su-heading.su-heading-align-right .su-heading-inner{padding-right:.2em}.su-heading.su-heading-align-center{text-align:center}.su-highlight{display:inline;padding:1px 0}.su-image-carousel{margin:1.5em 0;width:100%}.su-image-carousel:first-child{margin-top:0}.su-image-carousel:last-child{margin-bottom:0}.su-image-carousel-item{box-sizing:border-box;width:100%}.su-image-carousel-item-content{position:relative}.su-image-carousel-item-content a,.su-image-carousel-item-content a:active,.su-image-carousel-item-content a:focus,.su-image-carousel-item-content a:hover,.su-image-carousel-item-content a:visited,.su-image-carousel-item-content img{display:block;box-sizing:border-box;margin:0;padding:0;width:100%;height:100%;border:none;border-radius:0;box-shadow:none;text-decoration:none}.su-image-carousel-item-content a::after,.su-image-carousel-item-content a::before,.su-image-carousel-item-content img::after,.su-image-carousel-item-content img::before{display:none}.su-image-carousel-item-content span{position:absolute;display:block;overflow:auto;max-height:60%;word-wrap:break-word;font-size:.9em;line-height:1.3}.su-image-carousel-item-content span:empty{display:none}.su-image-carousel-columns-2 .su-image-carousel-item{width:50%}.su-image-carousel-columns-3 .su-image-carousel-item{width:33.3333333333%}.su-image-carousel-columns-4 .su-image-carousel-item{width:25%}.su-image-carousel-columns-5 .su-image-carousel-item{width:20%}.su-image-carousel-columns-6 .su-image-carousel-item{width:16.6666666666%}.su-image-carousel-columns-7 .su-image-carousel-item{width:14.2857142857%}.su-image-carousel-columns-8 .su-image-carousel-item{width:12.5%}.su-image-carousel-columns-2.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:3%;width:48.5%}.su-image-carousel-columns-3.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.9%;width:31.4%}.su-image-carousel-columns-4.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.8%;width:22.9%}.su-image-carousel-columns-5.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.5%;width:18%}.su-image-carousel-columns-6.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.6%;width:14.5%}.su-image-carousel-columns-7.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2.2%;width:12.4%}.su-image-carousel-columns-8.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:2%;width:10.75%}.su-image-carousel-crop .su-image-carousel-item-content::before{float:left;margin-left:-1px;width:1px;height:0;content:''}.su-image-carousel-crop .su-image-carousel-item-content::after{display:table;clear:both;content:''}.su-image-carousel-crop .su-image-carousel-item-content a,.su-image-carousel-crop .su-image-carousel-item-content img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.su-image-carousel-crop .su-image-carousel-item-content img{-o-object-fit:cover;object-fit:cover}.su-image-carousel-crop-16-9 .su-image-carousel-item-content::before{padding-top:56.25%}.su-image-carousel-crop-16-10 .su-image-carousel-item-content::before{padding-top:62.5%}.su-image-carousel-crop-21-9 .su-image-carousel-item-content::before{padding-top:42.857142857143%}.su-image-carousel-crop-5-4 .su-image-carousel-item-content::before{padding-top:80%}.su-image-carousel-crop-4-3 .su-image-carousel-item-content::before{padding-top:75%}.su-image-carousel-crop-3-2 .su-image-carousel-item-content::before{padding-top:66.666666666667%}.su-image-carousel-crop-2-1 .su-image-carousel-item-content::before{padding-top:50%}.su-image-carousel-crop-1-1 .su-image-carousel-item-content::before{padding-top:100%}.su-image-carousel-crop-1-2 .su-image-carousel-item-content::before{padding-top:200%}.su-image-carousel-crop-2-3 .su-image-carousel-item-content::before{padding-top:150%}.su-image-carousel-crop-3-4 .su-image-carousel-item-content::before{padding-top:133.33333333333%}.su-image-carousel-crop-4-5 .su-image-carousel-item-content::before{padding-top:125%}.su-image-carousel-crop-9-21 .su-image-carousel-item-content::before{padding-top:233.33333333333%}.su-image-carousel-crop-10-16 .su-image-carousel-item-content::before{padding-top:160%}.su-image-carousel-crop-9-16 .su-image-carousel-item-content::before{padding-top:177.77777777778%}.su-image-carousel-align-left{float:left;margin-top:0;margin-right:1.5em}.su-image-carousel-align-right{float:right;margin-top:0;margin-left:1.5em}.su-image-carousel-align-center{margin-right:auto;margin-left:auto}.su-image-carousel-align-full{margin-right:calc(50% - 50vw);margin-left:calc(50% - 50vw);max-width:100vw!important;width:100vw!important}.su-image-carousel button.flickity-prev-next-button{position:absolute;top:50%;display:block;margin:-22px 0 0;padding:0;width:44px;height:44px;outline:0;border-radius:50%;opacity:0;-webkit-transition:opacity .2s ease,-webkit-transform .2s ease;transition:opacity .2s ease,-webkit-transform .2s ease;transition:opacity .2s ease,transform .2s ease;transition:opacity .2s ease,transform .2s ease,-webkit-transform .2s ease;-webkit-transform:none;transform:none}.su-image-carousel:hover button.flickity-prev-next-button{opacity:.5}.su-image-carousel button.flickity-prev-next-button:focus,.su-image-carousel button.flickity-prev-next-button:hover{box-shadow:none;opacity:1}.su-image-carousel button.flickity-prev-next-button:focus{-webkit-transform:scale(1.05);transform:scale(1.05)}.su-image-carousel button.flickity-prev-next-button[disabled]{display:none}.su-image-carousel button.flickity-prev-next-button.previous{left:20px}.su-image-carousel button.flickity-prev-next-button.next{right:20px}.su-image-carousel>ol.flickity-page-dots{position:absolute;top:50%;bottom:auto;left:50%;margin:0;padding:0;width:auto;list-style:none;opacity:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.su-image-carousel:hover>ol.flickity-page-dots{opacity:1}.su-image-carousel>ol.flickity-page-dots>li.dot{position:relative;display:inline-block;margin:5px;padding:0;width:20px;height:20px;border-radius:50%;list-style:none;opacity:.5;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;pointer-events:all}.su-image-carousel>ol.flickity-page-dots>li.dot:hover{opacity:1}.su-image-carousel>ol.flickity-page-dots>li.dot::before{position:absolute;top:50%;left:50%;display:none;margin:0;padding:0;width:10px;height:10px;border-radius:50%;content:'';-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.su-image-carousel>ol.flickity-page-dots>li.dot.is-selected::before{display:block}.su-image-carousel-controls-style-dark button.flickity-prev-next-button{background:#000;color:#fff}.su-image-carousel-controls-style-dark ol.flickity-page-dots li.dot{background:#000}.su-image-carousel-controls-style-dark ol.flickity-page-dots li.dot::before{background:#fff}.su-image-carousel-controls-style-light button.flickity-prev-next-button{background:#fff;color:#000}.su-image-carousel-controls-style-light ol.flickity-page-dots li.dot{background:#fff}.su-image-carousel-controls-style-light ol.flickity-page-dots li.dot::before{background:#000}.su-image-carousel-slides-style-default .su-image-carousel-item-content{margin:1px}.su-image-carousel-slides-style-default .su-image-carousel-item-content img{padding:3px;border:1px solid #ccc;border-radius:7px;background:#fff}.su-image-carousel-slides-style-default .su-image-carousel-item-content span{right:4px;bottom:4px;left:4px;padding:.5em .7em;border-bottom-right-radius:2px;border-bottom-left-radius:2px;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(transparent));background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;text-shadow:0 2px 5px #000}.su-image-carousel-slides-style-minimal .su-image-carousel-item-content{margin:1px}.su-image-carousel-slides-style-minimal .su-image-carousel-item-content span{right:0;bottom:0;left:0;padding:.7em;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(transparent));background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;text-shadow:0 2px 5px #000}.su-image-carousel-slides-style-photo .su-image-carousel-item-content{padding:7px}.su-image-carousel-slides-style-photo .su-image-carousel-item-content img{border:5px solid #fff;border-radius:7px;box-shadow:0 2px 5px rgba(0,0,0,.5)}.su-image-carousel-slides-style-photo .su-image-carousel-item-content span{right:12px;bottom:12px;left:12px;padding:.3em .5em;background:#fff;color:#000;font-size:.9em}.su-image-carousel-slides-style-photo.su-image-carousel-crop .su-image-carousel-item-content img{top:7px;right:7px;bottom:7px;left:7px;width:calc(100% - 14px);height:calc(100% - 14px)}.su-image-carousel-mfp.mfp-bg{z-index:102000!important}.su-image-carousel-mfp.mfp-wrap{z-index:102001!important}.su-image-carousel-mfp.mfp-wrap .mfp-preloader{z-index:102002!important}.su-image-carousel-mfp.mfp-wrap .mfp-content{z-index:102003!important}.su-image-carousel-mfp.mfp-wrap button.mfp-arrow,.su-image-carousel-mfp.mfp-wrap button.mfp-close{z-index:102004!important}.su-image-carousel-has-outline .su-image-carousel-item-content a:focus img,.su-image-carousel-has-outline button.flickity-prev-next-button:focus{outline-width:2px;outline-style:solid;outline-color:Highlight}.su-label{display:inline;margin-right:.3em;padding:.1em .3em;font-size:.8em;height:.8em;line-height:.8em;color:#fff;border-radius:3px}.su-label-type-default{background:#999}.su-label-type-success{background:#090}.su-label-type-warning{background:#f90}.su-label-type-important{background:#f03}.su-label-type-black{background:#111}.su-label-type-info{background:#09c}.su-lightbox-content{position:relative;margin:0 auto}#su-generator .su-lightbox-content,.mfp-content .su-lightbox-content{display:block!important}.su-lightbox-content-preview{width:100%;min-height:300px;background:#444;overflow:hidden}.su-lightbox-content h1,.su-lightbox-content h2,.su-lightbox-content h3,.su-lightbox-content h4,.su-lightbox-content h5,.su-lightbox-content h6{color:inherit}.su-lightbox{cursor:pointer}.su-list{margin-bottom:1.5em}.su-list ul{margin:0!important;padding:0!important;list-style:none!important}.su-list ul li{position:relative;display:block!important;margin:0!important;padding:4px 0 4px 2em!important;list-style-type:none!important;line-height:1.3em}.su-list ul li>img{position:absolute;left:0;top:4px;width:1.3em;height:1.3em;padding:0;margin:0;border:none}.su-list ul li>i{position:absolute;left:0;top:4px;width:1.3em;height:1.3em;line-height:1.3em;text-align:center}.su-members{margin-bottom:1.5em;padding:1em;border-width:1px 0;border-style:solid;text-align:center}.su-members a{text-decoration:underline;color:inherit}.su-note{margin:0 0 1.5em;border-width:1px;border-style:solid}.su-note-inner{padding:1em;border-width:1px;border-style:solid}.su-posts-default-loop .su-post{margin-bottom:2.5em;line-height:1.5}.su-posts-default-loop .su-post:after{content:'';display:table;clear:both}.su-posts-default-loop .su-post-thumbnail{float:left;display:block;width:100px;height:100px;margin-right:1em}.su-posts-default-loop .su-post-thumbnail img{max-width:100px;max-height:100px}.su-posts-default-loop h2.su-post-title{clear:none;margin:0 0 .3em;font-size:1.2em;font-weight:700}.su-posts-default-loop .su-post-meta{margin-bottom:.7em;font-size:.8em;opacity:.6}.su-posts-default-loop .su-post-excerpt{margin-bottom:.5em}.su-posts-default-loop .su-post-excerpt p:last-child{margin-bottom:0}.su-posts-default-loop .su-post-comments-link{font-size:.9em}.su-posts-teaser-loop .su-post{margin-bottom:1.5em;line-height:1.2}.su-posts-teaser-loop .su-post:after{content:'';display:table;clear:both}.su-posts-teaser-loop .su-post-thumbnail{float:left;display:block;width:56px;height:56px;margin:0 1em 0 0}.su-posts-teaser-loop .su-post-thumbnail img{display:block;margin:0;padding:2px;border:1px solid #ccc;border-radius:5px;max-width:100%;max-height:100%}.su-posts-teaser-loop h2.su-post-title{display:block;margin:0;padding:0;border:none;font-size:.9em;font-weight:400;clear:none}.su-posts-single-post .su-post{margin-bottom:2.5em;line-height:1.5}.su-posts-single-post .su-post:after{content:'';display:table;clear:both}.su-posts-single-post h1.su-post-title{clear:none;margin:0 0 .3em;font-size:1.2em;font-weight:700}.su-posts-single-post .su-post-meta{margin-bottom:.7em;font-size:.8em;opacity:.6}.su-posts-single-post .su-post-content{margin-bottom:.5em}.su-posts-single-post .su-post-content p:last-child{margin-bottom:0}.su-private{margin:0 0 1.5em}.su-pullquote{display:block;width:30%;padding:.5em 1em}.su-pullquote-align-left{margin:.5em 1.5em 1em 0;padding-left:0;float:left;border-right:5px solid #eee}.su-pullquote-align-right{margin:.5em 0 1em 1.5em;padding-right:0;float:right;border-left:5px solid #eee}.su-qrcode{display:inline-block}.su-qrcode-align-left{float:left;margin:0 .5em .5em 0}.su-qrcode-align-center{display:block;clear:both;margin:1em auto;text-align:center}.su-qrcode-align-right{float:right;margin:0 0 .5em .5em}.su-qrcode a,.su-qrcode a:active,.su-qrcode a:focus,.su-qrcode a:hover{background:0 0;outline:0;display:inline;text-decoration:none}.su-qrcode-clickable a:hover{opacity:.7}.su-qrcode img{max-width:100%}.su-quote-style-default{position:relative;margin-bottom:1.5em;padding:.5em 3em;font-style:italic}.su-quote-style-default:after,.su-quote-style-default:before{position:absolute;display:block;width:20px;height:20px;background-image:url(../images/quote.png);content:''}.su-quote-style-default:before{top:0;left:0;background-position:0 0}.su-quote-style-default:after{right:0;bottom:0;background-position:-20px 0}.su-quote-style-default .su-quote-cite{display:block;text-align:right;font-style:normal}.su-quote-style-default .su-quote-cite:before{content:'\2014\0000a0'}.su-quote-style-default .su-quote-cite a{text-decoration:underline}.su-screenr{margin:0 0 1.5em}.su-screenr iframe{border:none!important}.su-service{position:relative;margin:0 0 1.5em}.su-service-title{display:block;margin-bottom:.5em;color:#333;font-weight:700;font-size:1.1em}.su-service-title img{position:absolute;top:0;left:0;display:block!important;margin:0!important;padding:0!important;border:none!important;box-shadow:none!important}.su-service-title i{position:absolute;top:0;left:0;display:block!important;width:1em;height:1em;text-align:center;line-height:1em}.su-service-content{line-height:1.4}.su-slider{position:relative;margin-bottom:1.5em;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.su-slider-centered{margin:0 auto 1.5em}.su-slider-slides{position:relative;width:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transform:translate3d(0,0,0);-o-transition-timing-function:ease;-o-transform:translate(0,0);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0,0,0);-ms-transition-timing-function:ease;-webkit-transition-property:left,top,-webkit-transform;transition-property:left,top,-webkit-transform;transition-property:transform,left,top;transition-property:transform,left,top,-webkit-transform;transition-duration:0s;transform:translate3d(0,0,0);transition-timing-function:ease}.swiper-free-mode>.su-slider-slides{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.su-slider-slide{position:relative;float:left}.su-slider-slide>a,.su-slider-slide>a>img,.su-slider-slide>img{position:relative;display:block;width:100%;height:100%;text-decoration:none}.su-slider-responsive-yes .su-slider-slide>a,.su-slider-responsive-yes .su-slider-slide>a>img,.su-slider-responsive-yes .su-slider-slide>img{height:auto}.su-slider-pages-no .su-slider-pagination{display:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}.su-slider-slide-title{position:absolute;left:20px;bottom:20px;display:block;max-width:90%;padding:5px 10px;color:#fff;line-height:1.3;background:#000;background:rgba(0,0,0,.5);border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;opacity:0;transition:opacity 1s;-o-transition:opacity 1s;-moz-transition:opacity 1s;-webkit-transition:opacity 1s}.su-slider-slide-visible .su-slider-slide-title{opacity:1}.su-slider-next,.su-slider-prev{position:absolute;top:50%;display:block;width:40px;height:40px;margin-top:-20px!important;background:#000 0 0 url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-slider-prev{right:10px;margin-right:30px;background-position:-40px 0}.su-slider-next{left:10px;margin-left:30px;background-position:0 0}.su-slider:hover .su-slider-next,.su-slider:hover .su-slider-prev{margin-left:0;margin-right:0;opacity:.7}.su-slider .su-slider-next:hover,.su-slider .su-slider-prev:hover{opacity:1}.su-slider-pagination{position:absolute;left:15%;right:15%;top:50%;width:70%;height:0;margin-top:-7px;text-align:center;cursor:default;opacity:0;-webkit-transition:all .2s;transition:all .2s}.su-slider:hover .su-slider-pagination{bottom:20px;opacity:1}.su-slider-pagination span{display:inline-block;width:14px;height:14px;margin:0;background:#000 0 -999px url(../images/swiper/default.png) no-repeat;background-color:rgba(0,0,0,.5);cursor:pointer;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;-webkit-transition:all .2s;transition:all .2s}.su-slider:hover .su-slider-pagination span{margin:0 3px}.su-slider .su-slider-pagination span.swiper-visible-switch{background-color:#fff;background-color:rgba(255,255,255,.5)}.su-slider-pagination span.swiper-active-switch,.su-slider-pagination span:hover{background-position:0 -40px}.su-spacer{display:block;height:0;clear:both;overflow:hidden}.su-spacer-5{height:5px}.su-spacer-10{height:10px}.su-spacer-20{height:20px}.su-spacer-30{height:30px}.su-spacer-40{height:40px}.su-spoiler{margin-bottom:1.5em}.su-spoiler .su-spoiler:last-child{margin-bottom:0}.su-spoiler-title{position:relative;cursor:pointer;min-height:20px;line-height:20px;padding:7px 7px 7px 34px;font-weight:700;font-size:13px}.su-spoiler-title:focus{outline:currentColor thin dotted}.su-spoiler-icon{position:absolute;left:7px;top:7px;display:block;width:20px;height:20px;line-height:21px;text-align:center;font-size:14px;font-family:ShortcodesUltimateIcons;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.su-spoiler-content{padding:14px;-webkit-transition:padding-top .2s;transition:padding-top .2s;-ie-transition:padding-top .2s}.su-spoiler.su-spoiler-closed>.su-spoiler-content{height:0;margin:0;padding-top:0;padding-bottom:0;overflow:hidden;border:none;opacity:0;pointer-events:none}.su-spoiler.su-spoiler-closed>.su-spoiler-content iframe{display:none}.su-spoiler-icon-plus .su-spoiler-icon:before{content:'\f068'}.su-spoiler-icon-plus.su-spoiler-closed .su-spoiler-icon:before{content:'\f067'}.su-spoiler-icon-plus-circle .su-spoiler-icon:before{content:'\f056'}.su-spoiler-icon-plus-circle.su-spoiler-closed .su-spoiler-icon:before{content:'\f055'}.su-spoiler-icon-plus-square-1 .su-spoiler-icon:before{content:'\f146'}.su-spoiler-icon-plus-square-1.su-spoiler-closed .su-spoiler-icon:before{content:'\f0fe'}.su-spoiler-icon-plus-square-2 .su-spoiler-icon:before{content:'\f147'}.su-spoiler-icon-plus-square-2.su-spoiler-closed .su-spoiler-icon:before{content:'\f196'}.su-spoiler-icon-arrow .su-spoiler-icon:before{content:'\f063'}.su-spoiler-icon-arrow.su-spoiler-closed .su-spoiler-icon:before{content:'\f061'}.su-spoiler-icon-arrow-circle-1 .su-spoiler-icon:before{content:'\f0ab'}.su-spoiler-icon-arrow-circle-1.su-spoiler-closed .su-spoiler-icon:before{content:'\f0a9'}.su-spoiler-icon-arrow-circle-2 .su-spoiler-icon:before{content:'\f01a'}.su-spoiler-icon-arrow-circle-2.su-spoiler-closed .su-spoiler-icon:before{content:'\f18e'}.su-spoiler-icon-chevron .su-spoiler-icon:before{content:'\f078'}.su-spoiler-icon-chevron.su-spoiler-closed .su-spoiler-icon:before{content:'\f054'}.su-spoiler-icon-chevron-circle .su-spoiler-icon:before{content:'\f13a'}.su-spoiler-icon-chevron-circle.su-spoiler-closed .su-spoiler-icon:before{content:'\f138'}.su-spoiler-icon-caret .su-spoiler-icon:before{content:'\f0d7'}.su-spoiler-icon-caret.su-spoiler-closed .su-spoiler-icon:before{content:'\f0da'}.su-spoiler-icon-caret-square .su-spoiler-icon:before{content:'\f150'}.su-spoiler-icon-caret-square.su-spoiler-closed .su-spoiler-icon:before{content:'\f152'}.su-spoiler-icon-folder-1 .su-spoiler-icon:before{content:'\f07c'}.su-spoiler-icon-folder-1.su-spoiler-closed .su-spoiler-icon:before{content:'\f07b'}.su-spoiler-icon-folder-2 .su-spoiler-icon:before{content:'\f115'}.su-spoiler-icon-folder-2.su-spoiler-closed .su-spoiler-icon:before{content:'\f114'}.su-spoiler-style-default>.su-spoiler-title{padding-left:27px;padding-right:0}.su-spoiler-style-default>.su-spoiler-title>.su-spoiler-icon{left:0}.su-spoiler-style-default>.su-spoiler-content{padding:1em 0 1em 27px}.su-spoiler-style-fancy{border:1px solid #ccc;border-radius:10px;background:#fff;color:#333}.su-spoiler-style-fancy>.su-spoiler-title{border-bottom:1px solid #ccc;border-radius:10px;background:#f0f0f0;font-size:.9em}.su-spoiler-style-fancy.su-spoiler-closed>.su-spoiler-title{border:none}.su-spoiler-style-fancy>.su-spoiler-content{border-radius:10px}.su-spoiler-style-simple{border-top:1px solid #ccc;border-bottom:1px solid #ccc}.su-spoiler-style-simple>.su-spoiler-title{padding:5px 10px;background:#f0f0f0;color:#333;font-size:.9em}.su-spoiler-style-simple>.su-spoiler-title>.su-spoiler-icon{display:none}.su-spoiler-style-simple>.su-spoiler-content{padding:1em 10px;background:#fff;color:#333}.su-table{width:100%;margin-bottom:1.5em}.su-table table{width:100%!important;margin:0!important;border-collapse:collapse!important;font-size:1em!important;border:1px solid #ccc!important;table-layout:auto!important}.su-table table th{text-align:center!important;padding:1em!important;font-size:1em!important;font-weight:700!important;color:#333!important;border:1px solid #ccc!important;background:#f0f0f0!important}.su-table table td{padding:.5em 1em!important;border:1px solid #ccc!important;background:#fff!important}.su-table-responsive{overflow-x:auto}.su-table-responsive table{width:auto!important;min-width:100%!important}.su-table-responsive table td,.su-table-responsive table th{word-break:initial!important}.su-table-alternate table tr:nth-child(even) td{background-color:#f7f7f7!important}.su-table-fixed table{table-layout:fixed!important}.su-tabs{margin:0 0 1.5em;padding:3px;border-radius:3px;background:#eee}.su-tabs-nav span{display:inline-block;margin-right:3px;padding:10px 15px;min-height:40px;border-top-left-radius:3px;border-top-right-radius:3px;color:#333;font-size:13px;line-height:20px;cursor:pointer;-webkit-transition:all .2s;transition:all .2s}.su-tabs-nav span:hover{background:#f5f5f5}.su-tabs-nav span.su-tabs-current{background:#fff;cursor:default}.su-tabs-nav span:focus{outline:currentColor thin dotted}.su-tabs-nav span.su-tabs-disabled{opacity:.5;cursor:default}.su-tabs-pane{padding:15px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background:#fff;color:#333;font-size:13px}.su-tabs-pane:not(.su-tabs-pane-open){overflow:hidden!important;padding-top:0!important;padding-bottom:0!important;min-height:0!important;height:0!important;border:none!important}.su-tabs-nav,.su-tabs-nav span,.su-tabs-pane,.su-tabs-panes{box-sizing:border-box!important}.su-tabs-vertical{display:-webkit-box;display:flex}.su-tabs-vertical .su-tabs-nav{width:30%}.su-tabs-vertical .su-tabs-nav>span{display:block;margin-right:0;border-radius:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.su-tabs-vertical .su-tabs-panes{width:70%}.su-tabs-vertical .su-tabs-panes .su-tabs-pane{height:100%;border-radius:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.su-tooltip{display:none}.su-tooltip.su-tooltip-visible{display:block}.su-tooltip-inner{display:block;position:relative;padding:.7em .85em}.su-tooltip-title{display:block;font-weight:700;font-size:1.1em;margin-bottom:.25em}.su-tooltip-title:empty{display:none}.su-tooltip-content{display:block}.su-tooltip-shadow-yes{box-shadow:0 0 10px rgba(0,0,0,.5)}.su-tooltip-button{position:relative}.su-tooltip-button-outline-no:focus{outline:0}.su-tooltip-arrow,.su-tooltip-arrow::before{position:absolute;width:8px;height:8px;background:inherit}.su-tooltip-arrow{visibility:hidden}.su-tooltip-arrow::before{visibility:visible;content:'';-webkit-transform:rotate(45deg);transform:rotate(45deg)}.su-tooltip[data-popper-placement^=top]>.su-tooltip-arrow{bottom:-4px}.su-tooltip[data-popper-placement^=bottom]>.su-tooltip-arrow{top:-4px}.su-tooltip[data-popper-placement^=left]>.su-tooltip-arrow{right:-4px}.su-tooltip[data-popper-placement^=right]>.su-tooltip-arrow{left:-4px}.su-video{position:relative;margin-bottom:1.5em;overflow:hidden}.su-video .jp-title{position:absolute;top:-100px;left:0;width:100%;height:30px;padding:0 1em;line-height:30px;font-size:.9em;background:#000;background:rgba(0,0,0,.5);color:#fff;-webkit-transition:top .2s;transition:top .2s}.su-video:hover .jp-title{top:0}.su-video .jp-start{position:absolute;left:0;top:0;width:100%;height:100%;cursor:pointer;opacity:.5;-webkit-transition:opacity .2s;transition:opacity .2s;background:50% 50% url(../images/player/default-start.png) no-repeat}.su-video:hover .jp-start{opacity:.8}.su-video.jp-video-full{position:fixed;left:0;top:0;width:100%;height:100%}.su-video.jp-video-full .jp-jplayer{position:fixed!important;left:0;top:0;overflow:hidden}.su-video .jp-gui{position:relative;height:30px;background:#7c8781;background:-webkit-gradient(linear,left top,left bottom,from(#7c8781),to(#0a0809));background:linear-gradient(to bottom,#7c8781 0,#0a0809 100%);border-bottom-right-radius:3px;border-bottom-left-radius:3px}.su-video.jp-video-full .jp-gui{position:fixed;left:0;bottom:0;width:100%}.su-video-controls-no .jp-gui{position:absolute!important;bottom:-100px;left:0;right:0;-webkit-transition:bottom .2s;transition:bottom .2s}.su-video-controls-no:hover .jp-gui{bottom:0}.su-video img{border-radius:0!important;border:none!important;margin:0!important;padding:0!important}.su-video .jp-gui .jp-pause,.su-video .jp-gui .jp-play{position:absolute;left:0;top:0;display:block;width:30px;height:30px;border-right:1px solid #454947;cursor:pointer}.su-video .jp-gui .jp-play{background:0 0 url(../images/player/default.png) no-repeat}.su-video .jp-gui .jp-pause{background:-30px 0 url(../images/player/default.png) no-repeat}.su-video .jp-full-screen,.su-video .jp-restore-screen{position:absolute;top:0;right:0;display:block;width:30px;height:30px;border-left:1px solid #454947;cursor:pointer}.su-video .jp-full-screen{background:0 -30px url(../images/player/default.png) no-repeat}.su-video .jp-restore-screen{background:-30px -30px url(../images/player/default.png) no-repeat}.su-video .jp-progress{position:absolute;top:10px;left:90px;right:90px;height:10px;background:#333;border-radius:3px;box-shadow:0 0 5px #000 inset}.su-video .jp-play-bar,.su-video .jp-seek-bar{position:absolute;top:0;left:0;height:100%;cursor:pointer;border-radius:3px}.su-video .jp-seek-bar{background:#0b0b0b;background:-webkit-gradient(linear,left top,left bottom,from(#0b0b0b),to(#666));background:linear-gradient(to bottom,#0b0b0b 0,#666 100%)}.su-video .jp-play-bar{background:#6db3f2;background:-webkit-gradient(linear,left top,left bottom,from(#6db3f2),color-stop(50%,#54a3ee),color-stop(51%,#3690f0),to(#1e69de));background:linear-gradient(to bottom,#6db3f2 0,#54a3ee 50%,#3690f0 51%,#1e69de 100%)}.su-video .jp-current-time,.su-video .jp-duration{position:absolute;top:0;display:block;height:30px;line-height:30px;color:#f5f5f5;font-size:10px}.su-video .jp-current-time{left:50px}.su-video .jp-duration{right:50px}.su-vimeo{margin:0 0 1.5em}.su-vimeo iframe{border:none!important}.su-youtube{margin:0 0 1.5em}.su-youtube iframe{border:none!important}@media screen and (max-width:768px){.su-button span{padding-top:.25em!important;padding-bottom:.25em!important;line-height:1.2!important}.su-button small{margin-top:.2em!important}.su-display-posts-template-default .su-post-thumbnail{width:4em}.su-display-posts-template-teasers .su-post-thumbnail{width:2.75em}.su-image-carousel-adaptive .su-image-carousel-item,.su-image-carousel-adaptive.su-image-carousel-has-spacing .su-image-carousel-item{margin-right:0;width:100%}}@media screen and (max-width:48em){.su-pullquote{width:auto}.su-pullquote-align-left,.su-pullquote-align-right{float:none;margin:1.5em 0;padding:.5em 1em}}@media only screen and (max-width:768px){.su-tabs-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.su-tabs-vertical .su-tabs-nav,.su-tabs-vertical .su-tabs-panes{width:100%}.su-tabs-vertical .su-tabs-nav .su-tabs-pane,.su-tabs-vertical .su-tabs-nav>span,.su-tabs-vertical .su-tabs-panes .su-tabs-pane,.su-tabs-vertical .su-tabs-panes>span{border-radius:3px}.su-tabs-mobile-stack .su-tabs-nav span{display:block}.su-tabs-mobile-scroll .su-tabs-nav{display:-webkit-box;display:flex;-webkit-box-align:end;align-items:flex-end;white-space:nowrap;overflow-x:auto}}@media only screen and (max-width:767px){.su-row .su-column{float:none;width:100%;margin:0}.su-row .su-column+.su-column{margin:1.5rem 0 0}}@media (-webkit-min-device-pixel-ratio:0){.su-image-carousel-has-outline .su-image-carousel-item-content a:focus,.su-image-carousel-has-outline button.flickity-prev-next-button:focus{outline-style:auto;outline-color:-webkit-focus-ring-color}}
includes/css/shortcodes.full.css CHANGED
@@ -2666,55 +2666,80 @@ img {
2666
  }
2667
  }
2668
 
2669
- .qtip.su-qtip {
2670
- max-width: 480px !important;
2671
  }
2672
 
2673
- .su-tooltip {
2674
- display: inline-block;
 
 
 
 
 
 
2675
  }
2676
 
2677
- .su-qtip-size-1 {
2678
- font-size: 0.8em !important;
 
 
 
2679
  }
2680
 
2681
- .su-qtip-size-2 {
2682
- font-size: 0.9em !important;
2683
  }
2684
 
2685
- .su-qtip-size-3 {
2686
- font-size: 1em !important;
2687
  }
2688
 
2689
- .su-qtip-size-4 {
2690
- font-size: 1.1em !important;
2691
  }
2692
 
2693
- .su-qtip-size-5 {
2694
- font-size: 1.2em !important;
2695
  }
2696
 
2697
- .su-qtip-size-6 {
2698
- font-size: 1.3em !important;
2699
  }
2700
 
2701
- .su-tooltip-content {
2702
- display: none;
 
 
 
 
2703
  }
2704
 
2705
- .su-tooltip-content > :last-child {
2706
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2707
  }
2708
 
2709
- .qtip-content .su-tooltip-content img,
2710
- .qtip-content .su-tooltip-content object,
2711
- .qtip-content .su-tooltip-content iframe,
2712
- .qtip-content .su-tooltip-content embed {
2713
- max-width: 430px;
2714
  }
2715
 
2716
- .qtip-content .su-tooltip-content .su-u-responsive-media-yes {
2717
- width: 430px;
2718
  }
2719
 
2720
  .su-video {
2666
  }
2667
  }
2668
 
2669
+ .su-tooltip {
2670
+ display: none;
2671
  }
2672
 
2673
+ .su-tooltip.su-tooltip-visible {
2674
+ display: block;
2675
+ }
2676
+
2677
+ .su-tooltip-inner {
2678
+ display: block;
2679
+ position: relative;
2680
+ padding: 0.7em 0.85em;
2681
  }
2682
 
2683
+ .su-tooltip-title {
2684
+ display: block;
2685
+ font-weight: bold;
2686
+ font-size: 1.1em;
2687
+ margin-bottom: 0.25em;
2688
  }
2689
 
2690
+ .su-tooltip-title:empty {
2691
+ display: none;
2692
  }
2693
 
2694
+ .su-tooltip-content {
2695
+ display: block;
2696
  }
2697
 
2698
+ .su-tooltip-shadow-yes {
2699
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
2700
  }
2701
 
2702
+ .su-tooltip-button {
2703
+ position: relative;
2704
  }
2705
 
2706
+ .su-tooltip-button-outline-no:focus {
2707
+ outline: 0;
2708
  }
2709
 
2710
+ .su-tooltip-arrow,
2711
+ .su-tooltip-arrow::before {
2712
+ position: absolute;
2713
+ width: 8px;
2714
+ height: 8px;
2715
+ background: inherit;
2716
  }
2717
 
2718
+ .su-tooltip-arrow {
2719
+ visibility: hidden;
2720
+ }
2721
+
2722
+ .su-tooltip-arrow::before {
2723
+ visibility: visible;
2724
+ content: '';
2725
+ -webkit-transform: rotate(45deg);
2726
+ transform: rotate(45deg);
2727
+ }
2728
+
2729
+ .su-tooltip[data-popper-placement^='top'] > .su-tooltip-arrow {
2730
+ bottom: -4px;
2731
+ }
2732
+
2733
+ .su-tooltip[data-popper-placement^='bottom'] > .su-tooltip-arrow {
2734
+ top: -4px;
2735
  }
2736
 
2737
+ .su-tooltip[data-popper-placement^='left'] > .su-tooltip-arrow {
2738
+ right: -4px;
 
 
 
2739
  }
2740
 
2741
+ .su-tooltip[data-popper-placement^='right'] > .su-tooltip-arrow {
2742
+ left: -4px;
2743
  }
2744
 
2745
  .su-video {
includes/functions-helpers.php CHANGED
@@ -325,3 +325,19 @@ function su_join_paths() {
325
  return $path;
326
 
327
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  return $path;
326
 
327
  }
328
+
329
+ /**
330
+ * Helper function that adds CSS units to the supplied numeric value
331
+ * @param mixed $value The original value (String or Integer)
332
+ * @param string $units CSS units to add
333
+ * @return string Value with CSS units
334
+ */
335
+ function su_maybe_add_css_units( $value = '', $units = '' ) {
336
+
337
+ if ( is_numeric( $value ) ) {
338
+ $value .= $units;
339
+ }
340
+
341
+ return $value;
342
+
343
+ }
includes/js/shortcodes/index.js CHANGED
@@ -1,2 +1,2 @@
1
- !function o(n,r,l){function c(t,e){if(!r[t]){if(!n[t]){var a="function"==typeof require&&require;if(!e&&a)return a(t,!0);if(u)return u(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var s=r[t]={exports:{}};n[t][0].call(s.exports,function(e){return c(n[t][1][e]||e)},s,s.exports,o,n,r,l)}return r[t].exports}for(var u="function"==typeof require&&require,e=0;e<l.length;e++)c(l[e]);return c}({1:[function(e,t,a){"use strict";var i=r(e("./shortcodes/galleries")),s=r(e("./shortcodes/players")),o=r(e("./shortcodes/other")),n=r(e("./shortcodes/image-carousel"));function r(e){return e&&e.__esModule?e:{default:e}}(0,i.default)(),(0,s.default)(),(0,o.default)(),(0,n.default)()},{"./shortcodes/galleries":2,"./shortcodes/image-carousel":3,"./shortcodes/other":4,"./shortcodes/players":5}],2:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){jQuery(document).ready(function(i){i(".su-lightbox-gallery").each(function(){var t=[];i(this).find(".su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide").each(function(e){i(this).attr("data-index",e),t.push({src:i(this).children("a").attr("href"),title:i(this).children("a").attr("title")})}),i(this).data("slides",t)}),i(".su-slider").each(function(){var e=i(this),t=e.swiper({wrapperClass:"su-slider-slides",slideClass:"su-slider-slide",slideActiveClass:"su-slider-slide-active",slideVisibleClass:"su-slider-slide-visible",pagination:"#"+e.attr("id")+" .su-slider-pagination",autoplay:e.data("autoplay"),paginationClickable:!0,grabCursor:!0,mode:"horizontal",mousewheelControl:e.data("mousewheel"),speed:e.data("speed"),calculateHeight:e.hasClass("su-slider-responsive-yes"),loop:!0});e.find(".su-slider-prev").click(function(e){t.swipeNext()}),e.find(".su-slider-next").click(function(e){t.swipePrev()})}),i(".su-carousel").each(function(){var e=i(this),t=e.find(".su-carousel-slide"),a=e.swiper({wrapperClass:"su-carousel-slides",slideClass:"su-carousel-slide",slideActiveClass:"su-carousel-slide-active",slideVisibleClass:"su-carousel-slide-visible",pagination:"#"+e.attr("id")+" .su-carousel-pagination",autoplay:e.data("autoplay"),paginationClickable:!0,grabCursor:!0,mode:"horizontal",mousewheelControl:e.data("mousewheel"),speed:e.data("speed"),slidesPerView:e.data("items")>t.length?t.length:e.data("items"),slidesPerGroup:e.data("scroll"),calculateHeight:e.hasClass("su-carousel-responsive-yes"),loop:!0});e.find(".su-carousel-prev").click(function(e){a.swipeNext()}),e.find(".su-carousel-next").click(function(e){a.swipePrev()})}),i(".su-lightbox-gallery").on("click",".su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide",function(e){e.preventDefault();var t=i(this).parents(".su-lightbox-gallery").data("slides");i.magnificPopup.open({items:t,type:"image",mainClass:"mfp-img-mobile",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:SUShortcodesL10n.magnificPopup.prev,tNext:SUShortcodesL10n.magnificPopup.next,tCounter:SUShortcodesL10n.magnificPopup.counter},tClose:SUShortcodesL10n.magnificPopup.close,tLoading:SUShortcodesL10n.magnificPopup.loading},i(this).data("index"))})})}},{}],3:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){window.SUImageCarousel=function(){var o={MFPItems:{},MFPL10n:SUShortcodesL10n.magnificPopup,initGalleries:function(){var e=document.querySelectorAll(".su-image-carousel");Array.prototype.forEach.call(e,o.initGallery)},initGallery:function(e){if(!e.classList.contains("su-image-carousel-ready")){var t=JSON.parse(e.getAttribute("data-flickity-options")),a=new Flickity(e,t);if(e.removeAttribute("tabindex"),a.on("settle",o.onGallerySettle),e.classList.contains("su-image-carousel-has-lightbox")){a.on("staticClick",o.onFlickityStaticClick),e.addEventListener("click",o.preventGalleryLinkClick),e.addEventListener("keyup",o.onGalleryKeyUp);var i=e.getAttribute("id"),s=e.querySelectorAll(".su-image-carousel-item-content > a");o.MFPItems[i]=[],Array.prototype.forEach.call(s,function(e,t){e.setAttribute("data-gallery",i),e.setAttribute("data-index",t),o.MFPItems[i].push({src:e.getAttribute("href"),title:e.getAttribute("data-caption")})})}e.classList.add("su-image-carousel-ready")}},onFlickityStaticClick:function(e,t,a,i){if(a){var s=a.querySelector("a");s&&o.openMagnificPopupFromLink(s)}},onGallerySettle:function(e){var t=this.element.querySelectorAll(".su-image-carousel-item");Array.prototype.forEach.call(t,function(e,t){var a=e.querySelectorAll("a")[0];a&&(a.setAttribute("tabindex",-1),e.classList.contains("is-selected")&&a.setAttribute("tabindex",0))})},preventGalleryLinkClick:function(e){o.closest(e.target,function(e){return e.tagName&&"A"===e.tagName.toUpperCase()})&&e.preventDefault()},onGalleryKeyUp:function(e){if(e.keyCode&&13===e.keyCode){var t=o.closest(e.target,function(e){return e.tagName&&"A"===e.tagName.toUpperCase()});t&&o.openMagnificPopupFromLink(t)}},openMagnificPopup:function(e,t){jQuery.magnificPopup.open({items:o.MFPItems[e],type:"image",mainClass:"mfp-img-mobile su-image-carousel-mfp",gallery:{enabled:!0,navigateByImgClick:!0,preload:[1,1],tPrev:o.MFPL10n.prev,tNext:o.MFPL10n.next,tCounter:o.MFPL10n.counter},tClose:o.MFPL10n.close,tLoading:o.MFPL10n.loading},t)},openMagnificPopupFromLink:function(e){var t=e.getAttribute("data-gallery"),a=parseInt(e.getAttribute("data-index"),10);o.openMagnificPopup(t,a)},closest:function(e,t){return e&&(t(e)?e:o.closest(e.parentNode,t))},ready:function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}};return{ready:o.ready,initGalleries:o.initGalleries,initGallery:o.initGallery}}(),jQuery(document).ready(function(){window.SUImageCarousel.initGalleries()})}},{}],4:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){jQuery(document).ready(function(o){function a(e){(o(window).scrollTop()+o("body").offset().top>e.offset().top||o(window).scrollTop()+o(window).height()<e.offset().top)&&o(window).scrollTop(e.offset().top-o("body").offset().top-e.data("scroll-offset"))}function s(e){var t=0<arguments.length&&void 0!==e?e:"";"string"==typeof t&&""!==(t=t.replace(/[^a-z0-9_-]/gim,"").trim())&&(window.location.hash="#"+t)}function n(e){var t=e.index(),a=e.hasClass("su-tabs-disabled"),i=e.parents(".su-tabs"),s=i.find(".su-tabs-nav span"),o=i.find(".su-tabs-pane");a||(o.removeClass("su-tabs-pane-open").eq(t).addClass("su-tabs-pane-open"),s.removeClass("su-tabs-current").eq(t).addClass("su-tabs-current"),window.setTimeout(function(){window.dispatchEvent(new Event("resize"))},100))}var e;function t(){""!==document.location.hash&&(o(".su-tabs-nav span[data-anchor]").each(function(){if("#"+o(this).data("anchor")===document.location.hash){var e=o(this).parents(".su-tabs");o(this).trigger("click"),window.setTimeout(function(){a(e)},100)}}),o(".su-spoiler[data-anchor]").each(function(){if("#"+o(this).data("anchor")===document.location.hash){var e=o(this);e.hasClass("su-spoiler-closed")&&e.find(".su-spoiler-title:first").trigger("click"),window.setTimeout(function(){a(e)},100)}}))}o("body:not(.su-other-shortcodes-loaded)").on("click keypress",".su-spoiler-title",function(e){var t=o(this).parent();t.toggleClass("su-spoiler-closed"),t.hasClass("su-spoiler-closed")||"yes"!==t.data("anchor-in-url")||s(t.data("anchor")),t.parent(".su-accordion").children(".su-spoiler").not(t).addClass("su-spoiler-closed"),a(t),e.preventDefault()}),o("body:not(.su-other-shortcodes-loaded)").on("click keypress",".su-tabs-nav span",function(e){var t=o(this),a=t.parents(".su-tabs"),i=t.data();n(t),"yes"===a.data("anchor-in-url")&&s(t.data("anchor")),""!==i.url&&("self"===i.target?window.location=i.url:"blank"===i.target&&window.open(i.url)),e.preventDefault()}),o(".su-tabs").each(function(){var e=parseInt(o(this).data("active"))-1;n(o(this).children(".su-tabs-nav").children("span").eq(e))}),t(),o(document).on("click",".su-lightbox",function(e){if(e.preventDefault(),e.stopPropagation(),"su-generator-preview"!==o(this).parent().attr("id")){var t=o(this).data("mfp-type"),a=o(this).data("mobile"),i=o(window).width();o(this).magnificPopup({disableOn:function(){return!("no"===a&&i<768)&&!("number"==typeof a&&i<a)},type:t,tClose:SUShortcodesL10n.magnificPopup.close,tLoading:SUShortcodesL10n.magnificPopup.loading,gallery:{tPrev:SUShortcodesL10n.magnificPopup.prev,tNext:SUShortcodesL10n.magnificPopup.next,tCounter:SUShortcodesL10n.magnificPopup.counter},image:{tError:SUShortcodesL10n.magnificPopup.error},ajax:{tError:SUShortcodesL10n.magnificPopup.error},iframe:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen allow="autoplay; fullscreen"></iframe></div>'}}).magnificPopup("open")}else o(this).html(SUShortcodesL10n.noPreview)}),o(".su-frame-align-center, .su-frame-align-none").each(function(){var e=o(this).find("img").width();o(this).css("width",e+12)}),o(".su-tooltip").each(function(){var e=o(this),t=e.find(".su-tooltip-content"),a=0<t.length,i=e.data(),s={style:{classes:i.classes},position:{my:i.my,at:i.at,viewport:o(window)},content:{title:"",text:""}};""!==i.title&&(s.content.title=i.title),s.content.text=a?t:e.attr("title"),"yes"===i.close&&(s.content.button=!0),"click"===i.behavior?(s.show="click",s.hide="click",e.on("click",function(e){e.preventDefault(),e.stopPropagation()}),o(window).on("scroll resize",function(){e.qtip("reposition")})):"always"===i.behavior?(s.show=!0,s.hide=!1,o(window).on("scroll resize",function(){e.qtip("reposition")})):"hover"===i.behavior&&a&&(s.hide={fixed:!0,delay:600}),e.qtip(s)}),o("body:not(.su-other-shortcodes-loaded)").on("click",".su-expand-link",function(){var e=o(this).parents(".su-expand"),t=e.children(".su-expand-content");e.hasClass("su-expand-collapsed")?t.css("max-height","none"):t.css("max-height",e.data("height")+"px"),e.toggleClass("su-expand-collapsed")}),void 0!==(e=(document.body||document.documentElement).style).transition||void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.MsTransition||void 0!==e.OTransition?o(".su-animate").each(function(){o(this).one("inview",function(e){var t=o(this),a=t.data();window.setTimeout(function(){t.addClass(a.animation),t.addClass("animated"),t.css("visibility","visible")},1e3*a.delay)})}):o(".su-animate").css("visibility","visible"),"onhashchange"in window&&o(window).on("hashchange",t),o("body").addClass("su-other-shortcodes-loaded")})}},{}],5:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){jQuery(document).ready(function(r){r(".su-audio").each(function(){var e=r(this),t="#"+e.data("id"),a=r(t),i=e.data("audio"),s=e.data("swf");a.jPlayer({ready:function(){a.jPlayer("setMedia",{mp3:i}),"yes"===e.data("autoplay")&&a.jPlayer("play"),"yes"===e.data("loop")&&a.bind(r.jPlayer.event.ended+".repeat",function(){a.jPlayer("play")})},cssSelectorAncestor:t+"_container",volume:1,keyEnabled:!0,smoothPlayBar:!0,swfPath:s,supplied:"mp3"})}),r(".su-video").each(function(){var e=r(this),t=e.attr("id"),a=r("#"+t+"_player"),i=e.data("video"),s=e.data("swf"),o=e.data("poster"),n={width:a.width(),height:a.height()};a.jPlayer({ready:function(){a.jPlayer("setMedia",{mp4:i,flv:i,poster:o}),"yes"===e.data("autoplay")&&a.jPlayer("play"),"yes"===e.data("loop")&&a.bind(r.jPlayer.event.ended+".repeat",function(){a.jPlayer("play")})},cssSelector:{gui:".jp-gui, .jp-title"},size:n,cssSelectorAncestor:"#"+t,volume:1,keyEnabled:!0,smoothPlayBar:!0,swfPath:s,supplied:"mp4, flv"})})})}},{}]},{},[1]);
2
  //# sourceMappingURL=index.js.map
1
+ !function o(n,r,l){function u(t,e){if(!r[t]){if(!n[t]){var a="function"==typeof require&&require;if(!e&&a)return a(t,!0);if(c)return c(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var s=r[t]={exports:{}};n[t][0].call(s.exports,function(e){return u(n[t][1][e]||e)},s,s.exports,o,n,r,l)}return r[t].exports}for(var c="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,t,a){"use strict";var i=l(e("./shortcodes/galleries")),s=l(e("./shortcodes/players")),o=l(e("./shortcodes/other")),n=l(e("./shortcodes/image-carousel")),r=l(e("./shortcodes/tooltip"));function l(e){return e&&e.__esModule?e:{default:e}}(0,i.default)(),(0,s.default)(),(0,o.default)(),(0,n.default)(),(0,r.default)()},{"./shortcodes/galleries":2,"./shortcodes/image-carousel":3,"./shortcodes/other":4,"./shortcodes/players":5,"./shortcodes/tooltip":6}],2:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){jQuery(document).ready(function(i){i(".su-lightbox-gallery").each(function(){var t=[];i(this).find(".su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide").each(function(e){i(this).attr("data-index",e),t.push({src:i(this).children("a").attr("href"),title:i(this).children("a").attr("title")})}),i(this).data("slides",t)}),i(".su-slider").each(function(){var e=i(this),t=e.swiper({wrapperClass:"su-slider-slides",slideClass:"su-slider-slide",slideActiveClass:"su-slider-slide-active",slideVisibleClass:"su-slider-slide-visible",pagination:"#"+e.attr("id")+" .su-slider-pagination",autoplay:e.data("autoplay"),paginationClickable:!0,grabCursor:!0,mode:"horizontal",mousewheelControl:e.data("mousewheel"),speed:e.data("speed"),calculateHeight:e.hasClass("su-slider-responsive-yes"),loop:!0});e.find(".su-slider-prev").click(function(e){t.swipeNext()}),e.find(".su-slider-next").click(function(e){t.swipePrev()})}),i(".su-carousel").each(function(){var e=i(this),t=e.find(".su-carousel-slide"),a=e.swiper({wrapperClass:"su-carousel-slides",slideClass:"su-carousel-slide",slideActiveClass:"su-carousel-slide-active",slideVisibleClass:"su-carousel-slide-visible",pagination:"#"+e.attr("id")+" .su-carousel-pagination",autoplay:e.data("autoplay"),paginationClickable:!0,grabCursor:!0,mode:"horizontal",mousewheelControl:e.data("mousewheel"),speed:e.data("speed"),slidesPerView:e.data("items")>t.length?t.length:e.data("items"),slidesPerGroup:e.data("scroll"),calculateHeight:e.hasClass("su-carousel-responsive-yes"),loop:!0});e.find(".su-carousel-prev").click(function(e){a.swipeNext()}),e.find(".su-carousel-next").click(function(e){a.swipePrev()})}),i(".su-lightbox-gallery").on("click",".su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide",function(e){e.preventDefault();var t=i(this).parents(".su-lightbox-gallery").data("slides");i.magnificPopup.open({items:t,type:"image",mainClass:"mfp-img-mobile",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],tPrev:SUShortcodesL10n.magnificPopup.prev,tNext:SUShortcodesL10n.magnificPopup.next,tCounter:SUShortcodesL10n.magnificPopup.counter},tClose:SUShortcodesL10n.magnificPopup.close,tLoading:SUShortcodesL10n.magnificPopup.loading},i(this).data("index"))})})}},{}],3:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){window.SUImageCarousel=function(){var o={MFPItems:{},MFPL10n:SUShortcodesL10n.magnificPopup,initGalleries:function(){var e=document.querySelectorAll(".su-image-carousel");Array.prototype.forEach.call(e,o.initGallery)},initGallery:function(e){if(!e.classList.contains("su-image-carousel-ready")){var t=JSON.parse(e.getAttribute("data-flickity-options")),a=new Flickity(e,t);if(e.removeAttribute("tabindex"),a.on("settle",o.onGallerySettle),e.classList.contains("su-image-carousel-has-lightbox")){a.on("staticClick",o.onFlickityStaticClick),e.addEventListener("click",o.preventGalleryLinkClick),e.addEventListener("keyup",o.onGalleryKeyUp);var i=e.getAttribute("id"),s=e.querySelectorAll(".su-image-carousel-item-content > a");o.MFPItems[i]=[],Array.prototype.forEach.call(s,function(e,t){e.setAttribute("data-gallery",i),e.setAttribute("data-index",t),o.MFPItems[i].push({src:e.getAttribute("href"),title:e.getAttribute("data-caption")})})}e.classList.add("su-image-carousel-ready")}},onFlickityStaticClick:function(e,t,a,i){if(a){var s=a.querySelector("a");s&&o.openMagnificPopupFromLink(s)}},onGallerySettle:function(e){var t=this.element.querySelectorAll(".su-image-carousel-item");Array.prototype.forEach.call(t,function(e,t){var a=e.querySelectorAll("a")[0];a&&(a.setAttribute("tabindex",-1),e.classList.contains("is-selected")&&a.setAttribute("tabindex",0))})},preventGalleryLinkClick:function(e){o.closest(e.target,function(e){return e.tagName&&"A"===e.tagName.toUpperCase()})&&e.preventDefault()},onGalleryKeyUp:function(e){if(e.keyCode&&13===e.keyCode){var t=o.closest(e.target,function(e){return e.tagName&&"A"===e.tagName.toUpperCase()});t&&o.openMagnificPopupFromLink(t)}},openMagnificPopup:function(e,t){jQuery.magnificPopup.open({items:o.MFPItems[e],type:"image",mainClass:"mfp-img-mobile su-image-carousel-mfp",gallery:{enabled:!0,navigateByImgClick:!0,preload:[1,1],tPrev:o.MFPL10n.prev,tNext:o.MFPL10n.next,tCounter:o.MFPL10n.counter},tClose:o.MFPL10n.close,tLoading:o.MFPL10n.loading},t)},openMagnificPopupFromLink:function(e){var t=e.getAttribute("data-gallery"),a=parseInt(e.getAttribute("data-index"),10);o.openMagnificPopup(t,a)},closest:function(e,t){return e&&(t(e)?e:o.closest(e.parentNode,t))},ready:function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}};return{ready:o.ready,initGalleries:o.initGalleries,initGallery:o.initGallery}}(),jQuery(document).ready(function(){window.SUImageCarousel.initGalleries()})}},{}],4:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){jQuery(document).ready(function(s){function a(e){(s(window).scrollTop()+s("body").offset().top>e.offset().top||s(window).scrollTop()+s(window).height()<e.offset().top)&&s(window).scrollTop(e.offset().top-s("body").offset().top-e.data("scroll-offset"))}function o(e){var t=0<arguments.length&&void 0!==e?e:"";"string"==typeof t&&""!==(t=t.replace(/[^a-z0-9_-]/gim,"").trim())&&(window.location.hash="#"+t)}function n(e){var t=e.index(),a=e.hasClass("su-tabs-disabled"),i=e.parents(".su-tabs"),s=i.find(".su-tabs-nav span"),o=i.find(".su-tabs-pane");a||(o.removeClass("su-tabs-pane-open").eq(t).addClass("su-tabs-pane-open"),s.removeClass("su-tabs-current").eq(t).addClass("su-tabs-current"),window.setTimeout(function(){window.dispatchEvent(new Event("resize"))},100))}var e;function t(){""!==document.location.hash&&(s(".su-tabs-nav span[data-anchor]").each(function(){if("#"+s(this).data("anchor")===document.location.hash){var e=s(this).parents(".su-tabs");s(this).trigger("click"),window.setTimeout(function(){a(e)},100)}}),s(".su-spoiler[data-anchor]").each(function(){if("#"+s(this).data("anchor")===document.location.hash){var e=s(this);e.hasClass("su-spoiler-closed")&&e.find(".su-spoiler-title:first").trigger("click"),window.setTimeout(function(){a(e)},100)}}))}s("body:not(.su-other-shortcodes-loaded)").on("click keypress",".su-spoiler-title",function(e){var t=s(this).parent();t.toggleClass("su-spoiler-closed"),t.hasClass("su-spoiler-closed")||"yes"!==t.data("anchor-in-url")||o(t.data("anchor")),t.parent(".su-accordion").children(".su-spoiler").not(t).addClass("su-spoiler-closed"),a(t),e.preventDefault()}),s("body:not(.su-other-shortcodes-loaded)").on("click keypress",".su-tabs-nav span",function(e){var t=s(this),a=t.parents(".su-tabs"),i=t.data();n(t),"yes"===a.data("anchor-in-url")&&o(t.data("anchor")),""!==i.url&&("self"===i.target?window.location=i.url:"blank"===i.target&&window.open(i.url)),e.preventDefault()}),s(".su-tabs").each(function(){var e=parseInt(s(this).data("active"))-1;n(s(this).children(".su-tabs-nav").children("span").eq(e))}),t(),s(document).on("click",".su-lightbox",function(e){if(e.preventDefault(),e.stopPropagation(),"su-generator-preview"!==s(this).parent().attr("id")){var t=s(this).data("mfp-type"),a=s(this).data("mobile"),i=s(window).width();s(this).magnificPopup({disableOn:function(){return!("no"===a&&i<768)&&!("number"==typeof a&&i<a)},type:t,tClose:SUShortcodesL10n.magnificPopup.close,tLoading:SUShortcodesL10n.magnificPopup.loading,gallery:{tPrev:SUShortcodesL10n.magnificPopup.prev,tNext:SUShortcodesL10n.magnificPopup.next,tCounter:SUShortcodesL10n.magnificPopup.counter},image:{tError:SUShortcodesL10n.magnificPopup.error},ajax:{tError:SUShortcodesL10n.magnificPopup.error},iframe:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen allow="autoplay; fullscreen"></iframe></div>'}}).magnificPopup("open")}else s(this).html(SUShortcodesL10n.noPreview)}),s(".su-frame-align-center, .su-frame-align-none").each(function(){var e=s(this).find("img").width();s(this).css("width",e+12)}),s("body:not(.su-other-shortcodes-loaded)").on("click",".su-expand-link",function(){var e=s(this).parents(".su-expand"),t=e.children(".su-expand-content");e.hasClass("su-expand-collapsed")?t.css("max-height","none"):t.css("max-height",e.data("height")+"px"),e.toggleClass("su-expand-collapsed")}),void 0!==(e=(document.body||document.documentElement).style).transition||void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.MsTransition||void 0!==e.OTransition?s(".su-animate").each(function(){s(this).one("inview",function(e){var t=s(this),a=t.data();window.setTimeout(function(){t.addClass(a.animation),t.addClass("animated"),t.css("visibility","visible")},1e3*a.delay)})}):s(".su-animate").css("visibility","visible"),"onhashchange"in window&&s(window).on("hashchange",t),s("body").addClass("su-other-shortcodes-loaded")})}},{}],5:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){jQuery(document).ready(function(r){r(".su-audio").each(function(){var e=r(this),t="#"+e.data("id"),a=r(t),i=e.data("audio"),s=e.data("swf");a.jPlayer({ready:function(){a.jPlayer("setMedia",{mp3:i}),"yes"===e.data("autoplay")&&a.jPlayer("play"),"yes"===e.data("loop")&&a.bind(r.jPlayer.event.ended+".repeat",function(){a.jPlayer("play")})},cssSelectorAncestor:t+"_container",volume:1,keyEnabled:!0,smoothPlayBar:!0,swfPath:s,supplied:"mp3"})}),r(".su-video").each(function(){var e=r(this),t=e.attr("id"),a=r("#"+t+"_player"),i=e.data("video"),s=e.data("swf"),o=e.data("poster"),n={width:a.width(),height:a.height()};a.jPlayer({ready:function(){a.jPlayer("setMedia",{mp4:i,flv:i,poster:o}),"yes"===e.data("autoplay")&&a.jPlayer("play"),"yes"===e.data("loop")&&a.bind(r.jPlayer.event.ended+".repeat",function(){a.jPlayer("play")})},cssSelector:{gui:".jp-gui, .jp-title"},size:n,cssSelectorAncestor:"#"+t,volume:1,keyEnabled:!0,smoothPlayBar:!0,swfPath:s,supplied:"mp4, flv"})})})}},{}],6:[function(e,t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){var o=[{name:"offset",options:{offset:[0,8]}}];function e(e){var t=e.getAttribute("id"),a=document.getElementById(t+"_button"),i=JSON.parse(a.getAttribute("data-settings"));document.body.appendChild(e);var s=Popper.createPopper(a,e,{placement:i.position,modifiers:[].concat(o)});"always"===i.behavior&&window.setTimeout(function(){n(e,s)},0),"click"!==i.behavior&&"hover"!==i.behavior||(a.addEventListener("focus",function(){return n(e,s)}),a.addEventListener("blur",function(){return r(e,s,i.hideDelay)})),"hover"===i.behavior&&(a.addEventListener("mouseenter",function(){return n(e,s)}),a.addEventListener("mouseleave",function(){return r(e,s,i.hideDelay)})),e.removeAttribute("style")}function n(e,t){e.classList.add("su-tooltip-visible"),t.setOptions({modifiers:[{name:"eventListeners",enabled:!0}].concat(o)}),t.update()}function r(e,t,a){window.setTimeout(function(){e.classList.remove("su-tooltip-visible"),t.setOptions({modifiers:[{name:"eventListeners",enabled:!1}].concat(o)})},a)}document.addEventListener("DOMContentLoaded",function(){Array.prototype.forEach.call(document.querySelectorAll(".su-tooltip"),e)})}},{}]},{},[1]);
2
  //# sourceMappingURL=index.js.map
includes/js/shortcodes/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["includes/js/shortcodes/node_modules/browser-pack/_prelude.js","includes/js/shortcodes/includes/js/shortcodes/src/index.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/galleries.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/image-carousel.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/other.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/players.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","_galleries","_interopRequireDefault","_players","_other","_imageCarousel","default","jQuery","document","ready","$","each","slides","this","find","attr","push","src","children","title","data","$slider","$swiper","swiper","wrapperClass","slideClass","slideActiveClass","slideVisibleClass","pagination","autoplay","paginationClickable","grabCursor","mode","mousewheelControl","speed","calculateHeight","hasClass","loop","click","swipeNext","swipePrev","$carousel","$slides","slidesPerView","slidesPerGroup","on","preventDefault","parents","magnificPopup","open","items","type","mainClass","gallery","enabled","navigateByImgClick","preload","tPrev","SUShortcodesL10n","prev","tNext","next","tCounter","counter","tClose","close","tLoading","loading","window","SUImageCarousel","self","MFPItems","MFPL10n","initGalleries","galleries","querySelectorAll","Array","prototype","forEach","initGallery","classList","contains","flickityOptions","JSON","parse","getAttribute","flckty","Flickity","removeAttribute","onGallerySettle","onFlickityStaticClick","addEventListener","preventGalleryLinkClick","onGalleryKeyUp","galleryID","item","itemIndex","setAttribute","add","event","pointer","cellElement","cellIndex","clickedLink","querySelector","openMagnificPopupFromLink","index","element","link","closest","target","el","tagName","toUpperCase","keyCode","openMagnificPopup","linkEl","parseInt","fn","parentNode","readyState","scrollIn","$el","scrollTop","offset","top","height","addAnchor","anchor","arguments","undefined","replace","trim","location","hash","revealTab","$tab","isDisabled","$container","$tabs","$panes","removeClass","eq","addClass","setTimeout","dispatchEvent","Event","thisStyle","anchorNav","trigger","$spoiler","parent","toggleClass","not","url","active","stopPropagation","mobile","windowWidth","width","disableOn","image","tError","error","ajax","iframe","markup","html","noPreview","frameWidth","css","$tt","$content","isAdvanced","config","style","classes","position","my","at","viewport","content","text","button","behavior","show","hide","qtip","fixed","delay","body","documentElement","transition","WebkitTransition","MozTransition","MsTransition","OTransition","one","$this","animation","selector","$player","audio","swf","jPlayer","mp3","bind","ended","cssSelectorAncestor","volume","keyEnabled","smoothPlayBar","swfPath","supplied","$video","id","file","poster","size","mp4","flv","cssSelector","gui"],"mappings":"CAAA,SAAAA,EAAAC,EAAAC,EAAAC,GAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,IAAAE,EAAA,mBAAAC,SAAAA,QAAA,IAAAF,GAAAC,EAAA,OAAAA,EAAAF,GAAA,GAAA,GAAAI,EAAA,OAAAA,EAAAJ,GAAA,GAAA,IAAAK,EAAA,IAAAC,MAAA,uBAAAN,EAAA,KAAA,MAAAK,EA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function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()","import SUGalleriesShortcodes from './shortcodes/galleries'\nimport SUPlayersShortcodes from './shortcodes/players'\nimport SUOtherShortcodes from './shortcodes/other'\nimport SUImageCarouselShortcode from './shortcodes/image-carousel'\n\nSUGalleriesShortcodes()\nSUPlayersShortcodes()\nSUOtherShortcodes()\nSUImageCarouselShortcode()\n","export default function SUGalleriesShortcodes () {\n jQuery(document).ready(function ($) {\n // Prepare items arrays for lightbox\n $('.su-lightbox-gallery').each(function () {\n var slides = []\n $(this)\n .find('.su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide')\n .each(function (i) {\n $(this).attr('data-index', i)\n slides.push({\n src: $(this)\n .children('a')\n .attr('href'),\n title: $(this)\n .children('a')\n .attr('title')\n })\n })\n $(this).data('slides', slides)\n })\n // Enable sliders\n $('.su-slider').each(function () {\n // Prepare data\n var $slider = $(this)\n // Apply Swiper\n var $swiper = $slider.swiper({\n wrapperClass: 'su-slider-slides',\n slideClass: 'su-slider-slide',\n slideActiveClass: 'su-slider-slide-active',\n slideVisibleClass: 'su-slider-slide-visible',\n pagination: '#' + $slider.attr('id') + ' .su-slider-pagination',\n autoplay: $slider.data('autoplay'),\n paginationClickable: true,\n grabCursor: true,\n mode: 'horizontal',\n mousewheelControl: $slider.data('mousewheel'),\n speed: $slider.data('speed'),\n calculateHeight: $slider.hasClass('su-slider-responsive-yes'),\n loop: true\n })\n // Prev button\n $slider.find('.su-slider-prev').click(function (e) {\n $swiper.swipeNext()\n })\n // Next button\n $slider.find('.su-slider-next').click(function (e) {\n $swiper.swipePrev()\n })\n })\n // Enable carousels\n $('.su-carousel').each(function () {\n // Prepare data\n var $carousel = $(this)\n var $slides = $carousel.find('.su-carousel-slide')\n // Apply Swiper\n var $swiper = $carousel.swiper({\n wrapperClass: 'su-carousel-slides',\n slideClass: 'su-carousel-slide',\n slideActiveClass: 'su-carousel-slide-active',\n slideVisibleClass: 'su-carousel-slide-visible',\n pagination: '#' + $carousel.attr('id') + ' .su-carousel-pagination',\n autoplay: $carousel.data('autoplay'),\n paginationClickable: true,\n grabCursor: true,\n mode: 'horizontal',\n mousewheelControl: $carousel.data('mousewheel'),\n speed: $carousel.data('speed'),\n slidesPerView:\n $carousel.data('items') > $slides.length\n ? $slides.length\n : $carousel.data('items'),\n slidesPerGroup: $carousel.data('scroll'),\n calculateHeight: $carousel.hasClass('su-carousel-responsive-yes'),\n loop: true\n })\n // Prev button\n $carousel.find('.su-carousel-prev').click(function (e) {\n $swiper.swipeNext()\n })\n // Next button\n $carousel.find('.su-carousel-next').click(function (e) {\n $swiper.swipePrev()\n })\n })\n // Enable lightbox\n $('.su-lightbox-gallery').on(\n 'click',\n '.su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide',\n function (e) {\n e.preventDefault()\n var slides = $(this)\n .parents('.su-lightbox-gallery')\n .data('slides')\n $.magnificPopup.open(\n {\n items: slides,\n type: 'image',\n mainClass: 'mfp-img-mobile',\n gallery: {\n enabled: true,\n navigateByImgClick: true,\n preload: [0, 1],\n tPrev: SUShortcodesL10n.magnificPopup.prev,\n tNext: SUShortcodesL10n.magnificPopup.next,\n tCounter: SUShortcodesL10n.magnificPopup.counter\n },\n tClose: SUShortcodesL10n.magnificPopup.close,\n tLoading: SUShortcodesL10n.magnificPopup.loading\n },\n $(this).data('index')\n )\n }\n )\n })\n}\n","/* global jQuery, Flickity, SUShortcodesL10n */\n\nexport default function SUImageCarouselShortcode () {\n window.SUImageCarousel = (function () {\n var self = {\n MFPItems: {},\n MFPL10n: SUShortcodesL10n.magnificPopup\n }\n\n self.initGalleries = function () {\n var galleries = document.querySelectorAll('.su-image-carousel')\n\n Array.prototype.forEach.call(galleries, self.initGallery)\n }\n\n self.initGallery = function (gallery) {\n if (gallery.classList.contains('su-image-carousel-ready')) {\n return\n }\n\n var flickityOptions = JSON.parse(\n gallery.getAttribute('data-flickity-options')\n )\n\n var flckty = new Flickity(gallery, flickityOptions)\n\n gallery.removeAttribute('tabindex')\n\n flckty.on('settle', self.onGallerySettle)\n\n if (gallery.classList.contains('su-image-carousel-has-lightbox')) {\n flckty.on('staticClick', self.onFlickityStaticClick)\n gallery.addEventListener('click', self.preventGalleryLinkClick)\n gallery.addEventListener('keyup', self.onGalleryKeyUp)\n\n var galleryID = gallery.getAttribute('id')\n var items = gallery.querySelectorAll(\n '.su-image-carousel-item-content > a'\n )\n\n self.MFPItems[galleryID] = []\n\n Array.prototype.forEach.call(items, function (item, itemIndex) {\n item.setAttribute('data-gallery', galleryID)\n item.setAttribute('data-index', itemIndex)\n\n self.MFPItems[galleryID].push({\n src: item.getAttribute('href'),\n title: item.getAttribute('data-caption')\n })\n })\n }\n\n gallery.classList.add('su-image-carousel-ready')\n }\n\n self.onFlickityStaticClick = function (event, pointer, cellElement, cellIndex) {\n if (!cellElement) {\n return\n }\n\n var clickedLink = cellElement.querySelector('a')\n\n if (!clickedLink) {\n return\n }\n\n self.openMagnificPopupFromLink(clickedLink)\n }\n\n self.onGallerySettle = function (index) {\n var items = this.element.querySelectorAll('.su-image-carousel-item')\n\n Array.prototype.forEach.call(items, function (item, itemIndex) {\n var link = item.querySelectorAll('a')[0]\n\n if (!link) {\n return\n }\n\n link.setAttribute('tabindex', -1)\n\n if (item.classList.contains('is-selected')) {\n link.setAttribute('tabindex', 0)\n }\n })\n }\n\n self.preventGalleryLinkClick = function (e) {\n var clickedLink = self.closest(e.target, function (el) {\n return el.tagName && el.tagName.toUpperCase() === 'A'\n })\n\n if (!clickedLink) {\n return\n }\n\n e.preventDefault()\n }\n\n self.onGalleryKeyUp = function (e) {\n if (!e.keyCode || e.keyCode !== 13) {\n return\n }\n\n var clickedLink = self.closest(e.target, function (el) {\n return el.tagName && el.tagName.toUpperCase() === 'A'\n })\n\n if (!clickedLink) {\n return\n }\n\n self.openMagnificPopupFromLink(clickedLink)\n }\n\n self.openMagnificPopup = function (galleryID, itemIndex) {\n jQuery.magnificPopup.open(\n {\n items: self.MFPItems[galleryID],\n type: 'image',\n mainClass: 'mfp-img-mobile su-image-carousel-mfp',\n gallery: {\n enabled: true,\n navigateByImgClick: true,\n preload: [1, 1],\n tPrev: self.MFPL10n.prev,\n tNext: self.MFPL10n.next,\n tCounter: self.MFPL10n.counter\n },\n tClose: self.MFPL10n.close,\n tLoading: self.MFPL10n.loading\n },\n itemIndex\n )\n }\n\n self.openMagnificPopupFromLink = function (linkEl) {\n var galleryID = linkEl.getAttribute('data-gallery')\n var itemIndex = parseInt(linkEl.getAttribute('data-index'), 10)\n\n self.openMagnificPopup(galleryID, itemIndex)\n }\n\n self.closest = function closest (el, fn) {\n return el && (fn(el) ? el : self.closest(el.parentNode, fn))\n }\n\n self.ready = function (fn) {\n if (document.readyState !== 'loading') {\n fn()\n } else {\n document.addEventListener('DOMContentLoaded', fn)\n }\n }\n\n return {\n ready: self.ready,\n initGalleries: self.initGalleries,\n initGallery: self.initGallery\n }\n })()\n\n jQuery(document).ready(function () {\n window.SUImageCarousel.initGalleries()\n })\n}\n","/* global jQuery, SUShortcodesL10n, Event */\n\nexport default function SUOtherShortcodes () {\n jQuery(document).ready(function ($) {\n function scrollIn ($el) {\n if (\n $(window).scrollTop() + $('body').offset().top > $el.offset().top ||\n $(window).scrollTop() + $(window).height() < $el.offset().top\n ) {\n $(window).scrollTop(\n $el.offset().top -\n $('body').offset().top -\n $el.data('scroll-offset')\n )\n }\n }\n function addAnchor (anchor = '') {\n if (typeof anchor !== 'string') {\n return\n }\n anchor = anchor\n .replace(/[^a-z0-9_-]/gim, '')\n .trim()\n if (anchor === '') {\n return\n }\n window.location.hash = '#' + anchor\n }\n // Spoiler\n $('body:not(.su-other-shortcodes-loaded)').on(\n 'click keypress',\n '.su-spoiler-title',\n function (e) {\n var $spoiler = $(this).parent()\n // Open/close spoiler\n $spoiler.toggleClass('su-spoiler-closed')\n // Add anchor to URL\n if (!$spoiler.hasClass('su-spoiler-closed') && $spoiler.data('anchor-in-url') === 'yes') {\n addAnchor($spoiler.data('anchor'))\n }\n // Close other spoilers in accordion\n $spoiler\n .parent('.su-accordion')\n .children('.su-spoiler')\n .not($spoiler)\n .addClass('su-spoiler-closed')\n // Scroll in spoiler in accordion\n scrollIn($spoiler)\n e.preventDefault()\n }\n )\n\n function revealTab ($tab) {\n var index = $tab.index()\n var isDisabled = $tab.hasClass('su-tabs-disabled')\n var $container = $tab.parents('.su-tabs')\n var $tabs = $container.find('.su-tabs-nav span')\n var $panes = $container.find('.su-tabs-pane')\n // Check tab is not disabled\n if (isDisabled) return false\n // Hide all panes, show selected pane\n $panes\n .removeClass('su-tabs-pane-open')\n .eq(index)\n .addClass('su-tabs-pane-open')\n // Disable all tabs, enable selected tab\n $tabs\n .removeClass('su-tabs-current')\n .eq(index)\n .addClass('su-tabs-current')\n // Emit resize event\n window.setTimeout(function () {\n window.dispatchEvent(new Event('resize'))\n }, 100)\n }\n\n // Tabs\n $('body:not(.su-other-shortcodes-loaded)').on(\n 'click keypress',\n '.su-tabs-nav span',\n function (e) {\n var $tab = $(this)\n var $container = $tab.parents('.su-tabs')\n var data = $tab.data()\n revealTab($tab)\n // Add anchor to URL\n if ($container.data('anchor-in-url') === 'yes') {\n addAnchor($tab.data('anchor'))\n }\n // Open specified url\n if (data.url !== '') {\n if (data.target === 'self') window.location = data.url\n else if (data.target === 'blank') window.open(data.url)\n }\n e.preventDefault()\n }\n )\n\n // Activate tabs\n $('.su-tabs').each(function () {\n var active = parseInt($(this).data('active')) - 1\n\n var $tab = $(this)\n .children('.su-tabs-nav')\n .children('span')\n .eq(active)\n\n revealTab($tab)\n })\n\n // Activate anchor nav for tabs and spoilers\n anchorNav()\n\n // Lightbox\n $(document).on('click', '.su-lightbox', function (e) {\n e.preventDefault()\n e.stopPropagation()\n\n if (\n $(this)\n .parent()\n .attr('id') === 'su-generator-preview'\n ) {\n $(this).html(SUShortcodesL10n.noPreview)\n\n return\n }\n\n var type = $(this).data('mfp-type')\n var mobile = $(this).data('mobile')\n var windowWidth = $(window).width()\n\n $(this)\n .magnificPopup({\n disableOn: function () {\n if (mobile === 'no' && windowWidth < 768) {\n return false\n }\n if (typeof mobile === 'number' && windowWidth < mobile) {\n return false\n }\n return true\n },\n type: type,\n tClose: SUShortcodesL10n.magnificPopup.close,\n tLoading: SUShortcodesL10n.magnificPopup.loading,\n gallery: {\n tPrev: SUShortcodesL10n.magnificPopup.prev,\n tNext: SUShortcodesL10n.magnificPopup.next,\n tCounter: SUShortcodesL10n.magnificPopup.counter\n },\n image: {\n tError: SUShortcodesL10n.magnificPopup.error\n },\n ajax: {\n tError: SUShortcodesL10n.magnificPopup.error\n },\n iframe: {\n markup: '<div class=\"mfp-iframe-scaler\">' +\n '<div class=\"mfp-close\"></div>' +\n '<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen allow=\"autoplay; fullscreen\"></iframe>' +\n '</div>'\n }\n })\n .magnificPopup('open')\n })\n // Frame\n $('.su-frame-align-center, .su-frame-align-none').each(function () {\n var frameWidth = $(this)\n .find('img')\n .width()\n $(this).css('width', frameWidth + 12)\n })\n // Tooltip\n $('.su-tooltip').each(function () {\n var $tt = $(this)\n var $content = $tt.find('.su-tooltip-content')\n var isAdvanced = $content.length > 0\n var data = $tt.data()\n var config = {\n style: {\n classes: data.classes\n },\n position: {\n my: data.my,\n at: data.at,\n viewport: $(window)\n },\n content: {\n title: '',\n text: ''\n }\n }\n if (data.title !== '') config.content.title = data.title\n if (isAdvanced) config.content.text = $content\n else config.content.text = $tt.attr('title')\n if (data.close === 'yes') config.content.button = true\n if (data.behavior === 'click') {\n config.show = 'click'\n config.hide = 'click'\n $tt.on('click', function (e) {\n e.preventDefault()\n e.stopPropagation()\n })\n $(window).on('scroll resize', function () {\n $tt.qtip('reposition')\n })\n } else if (data.behavior === 'always') {\n config.show = true\n config.hide = false\n $(window).on('scroll resize', function () {\n $tt.qtip('reposition')\n })\n } else if (data.behavior === 'hover' && isAdvanced) {\n config.hide = {\n fixed: true,\n delay: 600\n }\n }\n $tt.qtip(config)\n })\n\n // Expand\n $('body:not(.su-other-shortcodes-loaded)').on(\n 'click',\n '.su-expand-link',\n function () {\n var $this = $(this)\n var $container = $this.parents('.su-expand')\n var $content = $container.children('.su-expand-content')\n\n if ($container.hasClass('su-expand-collapsed')) {\n $content.css('max-height', 'none')\n } else {\n $content.css('max-height', $container.data('height') + 'px')\n }\n\n $container.toggleClass('su-expand-collapsed')\n }\n )\n\n function isTransitionSupported () {\n var thisBody = document.body || document.documentElement\n var thisStyle = thisBody.style\n var support =\n thisStyle.transition !== undefined ||\n thisStyle.WebkitTransition !== undefined ||\n thisStyle.MozTransition !== undefined ||\n thisStyle.MsTransition !== undefined ||\n thisStyle.OTransition !== undefined\n\n return support\n }\n\n // Animations is supported\n if (isTransitionSupported()) {\n // Animate\n $('.su-animate').each(function () {\n $(this).one('inview', function (e) {\n var $this = $(this)\n var data = $this.data()\n window.setTimeout(function () {\n $this.addClass(data.animation)\n $this.addClass('animated')\n $this.css('visibility', 'visible')\n }, data.delay * 1000)\n })\n })\n } else {\n // Animations isn't supported\n $('.su-animate').css('visibility', 'visible')\n }\n\n function anchorNav () {\n // Check hash\n if (document.location.hash === '') return\n // Go through tabs\n $('.su-tabs-nav span[data-anchor]').each(function () {\n if ('#' + $(this).data('anchor') === document.location.hash) {\n var $tabs = $(this).parents('.su-tabs')\n // Activate tab\n $(this).trigger('click')\n // Scroll-in tabs container\n window.setTimeout(function () {\n scrollIn($tabs)\n }, 100)\n }\n })\n // Go through spoilers\n $('.su-spoiler[data-anchor]').each(function () {\n if ('#' + $(this).data('anchor') === document.location.hash) {\n var $spoiler = $(this)\n // Activate tab\n if ($spoiler.hasClass('su-spoiler-closed')) {\n $spoiler.find('.su-spoiler-title:first').trigger('click')\n }\n // Scroll-in tabs container\n window.setTimeout(function () {\n scrollIn($spoiler)\n }, 100)\n }\n })\n }\n\n if ('onhashchange' in window) $(window).on('hashchange', anchorNav)\n\n $('body').addClass('su-other-shortcodes-loaded')\n })\n}\n","export default function SUPlayersShortcodes () {\n jQuery(document).ready(function ($) {\n // Audio player\n $('.su-audio').each(function () {\n // Prepare data\n var $this = $(this)\n var id = $this.data('id')\n var selector = '#' + id\n var $player = $(selector)\n var audio = $this.data('audio')\n var swf = $this.data('swf')\n // Init jPlayer\n $player.jPlayer({\n ready: function (e) {\n // Set media\n $player.jPlayer('setMedia', {\n mp3: audio\n })\n // Autoplay\n if ($this.data('autoplay') === 'yes') $player.jPlayer('play')\n // Loop\n if ($this.data('loop') === 'yes') {\n $player.bind($.jPlayer.event.ended + '.repeat', function () {\n $player.jPlayer('play')\n })\n }\n },\n cssSelectorAncestor: selector + '_container',\n volume: 1,\n keyEnabled: true,\n smoothPlayBar: true,\n swfPath: swf,\n supplied: 'mp3'\n })\n })\n // Video player\n $('.su-video').each(function () {\n // Prepare data\n var $video = $(this)\n var id = $video.attr('id')\n var $player = $('#' + id + '_player')\n var file = $video.data('video')\n var swf = $video.data('swf')\n var poster = $video.data('poster')\n var size = {\n width: $player.width(),\n height: $player.height()\n }\n // Init jPlayer\n $player.jPlayer({\n ready: function (e) {\n // Set media\n $player.jPlayer('setMedia', {\n mp4: file,\n flv: file,\n poster: poster\n })\n // Autoplay\n if ($video.data('autoplay') === 'yes') $player.jPlayer('play')\n // Loop\n if ($video.data('loop') === 'yes') {\n $player.bind($.jPlayer.event.ended + '.repeat', function () {\n $player.jPlayer('play')\n })\n }\n },\n cssSelector: {\n gui: '.jp-gui, .jp-title'\n },\n size: size,\n cssSelectorAncestor: '#' + id,\n volume: 1,\n keyEnabled: true,\n smoothPlayBar: true,\n swfPath: swf,\n supplied: 'mp4, flv'\n })\n })\n })\n}\n"]}
1
+ {"version":3,"sources":["includes/js/shortcodes/node_modules/browser-pack/_prelude.js","includes/js/shortcodes/includes/js/shortcodes/src/index.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/galleries.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/image-carousel.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/other.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/players.js","includes/js/shortcodes/includes/js/shortcodes/src/shortcodes/tooltip.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","_galleries","_interopRequireDefault","_players","_other","_imageCarousel","_tooltip","default","jQuery","document","ready","$","each","slides","this","find","attr","push","src","children","title","data","$slider","$swiper","swiper","wrapperClass","slideClass","slideActiveClass","slideVisibleClass","pagination","autoplay","paginationClickable","grabCursor","mode","mousewheelControl","speed","calculateHeight","hasClass","loop","click","swipeNext","swipePrev","$carousel","$slides","slidesPerView","slidesPerGroup","on","preventDefault","parents","magnificPopup","open","items","type","mainClass","gallery","enabled","navigateByImgClick","preload","tPrev","SUShortcodesL10n","prev","tNext","next","tCounter","counter","tClose","close","tLoading","loading","window","SUImageCarousel","self","MFPItems","MFPL10n","initGalleries","galleries","querySelectorAll","Array","prototype","forEach","initGallery","classList","contains","flickityOptions","JSON","parse","getAttribute","flckty","Flickity","removeAttribute","onGallerySettle","onFlickityStaticClick","addEventListener","preventGalleryLinkClick","onGalleryKeyUp","galleryID","item","itemIndex","setAttribute","add","event","pointer","cellElement","cellIndex","clickedLink","querySelector","openMagnificPopupFromLink","index","element","link","closest","target","el","tagName","toUpperCase","keyCode","openMagnificPopup","linkEl","parseInt","fn","parentNode","readyState","scrollIn","$el","scrollTop","offset","top","height","addAnchor","anchor","arguments","undefined","replace","trim","location","hash","revealTab","$tab","isDisabled","$container","$tabs","$panes","removeClass","eq","addClass","setTimeout","dispatchEvent","Event","thisStyle","anchorNav","trigger","$spoiler","parent","toggleClass","not","url","active","stopPropagation","mobile","windowWidth","width","disableOn","image","tError","error","ajax","iframe","markup","html","noPreview","frameWidth","css","$content","body","documentElement","style","transition","WebkitTransition","MozTransition","MsTransition","OTransition","one","$this","animation","delay","selector","$player","audio","swf","jPlayer","mp3","bind","ended","cssSelectorAncestor","volume","keyEnabled","smoothPlayBar","swfPath","supplied","$video","id","file","poster","size","mp4","flv","cssSelector","gui","popperModifiers","name","options","initTooltip","tooltip","button","getElementById","settings","appendChild","popperInstance","Popper","createPopper","placement","position","modifiers","concat","behavior","show","hide","hideDelay","setOptions","update","remove"],"mappings":"CAAA,SAAAA,EAAAC,EAAAC,EAAAC,GAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,IAAAE,EAAA,mBAAAC,SAAAA,QAAA,IAAAF,GAAAC,EAAA,OAAAA,EAAAF,GAAA,GAAA,GAAAI,EAAA,OAAAA,EAAAJ,GAAA,GAAA,IAAAK,EAAA,IAAAC,MAAA,uBAAAN,EAAA,KAAA,MAAAK,EAAAE,KAAA,mBAAAF,EAAA,IAAAG,EAAAX,EAAAG,GAAA,CAAAS,QAAA,IAAAb,EAAAI,GAAA,GAAAU,KAAAF,EAAAC,QAAA,SAAAd,GAAA,OAAAI,EAAAH,EAAAI,GAAA,GAAAL,IAAAA,IAAAa,EAAAA,EAAAC,QAAAd,EAAAC,EAAAC,EAAAC,GAAA,OAAAD,EAAAG,GAAAS,QAAA,IAAA,IAAAL,EAAA,mBAAAD,SAAAA,QAAAH,EAAA,EAAAA,EAAAF,EAAAa,OAAAX,IAAAD,EAAAD,EAAAE,IAAA,OAAAD,EAAA,CAAA,CAAAa,EAAA,CAAA,SAAAT,EAAAU,EAAAJ,gBCAA,IAAAK,EAAAC,EAAAZ,EAAA,2BACAa,EAAAD,EAAAZ,EAAA,yBACAc,EAAAF,EAAAZ,EAAA,uBACAe,EAAAH,EAAAZ,EAAA,gCAC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gI,EAAO/H,aAAa,kBAE9C7E,SAASoK,KAAK2C,YAAYJ,GAE1B,IAAIK,EAAiBC,OAAOC,aAAaN,EAAQD,EAAS,CACxDQ,UAAWL,EAASM,SACpBC,UAAS,GAAAC,OAAMf,KAGS,WAAtBO,EAASS,UACX3J,OAAO4E,WAAW,WAChBgF,EAAKb,EAASK,IACb,GAGqB,UAAtBF,EAASS,UAA8C,UAAtBT,EAASS,WAC5CX,EAAOzH,iBAAiB,QAAS,WAAA,OAAMqI,EAAKb,EAASK,KACrDJ,EAAOzH,iBAAiB,OAAQ,WAAA,OAAMsI,EAAKd,EAASK,EAAgBF,EAASY,cAGrD,UAAtBZ,EAASS,WACXX,EAAOzH,iBAAiB,aAAc,WAAA,OAAMqI,EAAKb,EAASK,KAC1DJ,EAAOzH,iBAAiB,aAAc,WAAA,OAAMsI,EAAKd,EAASK,EAAgBF,EAASY,cAGrFf,EAAQ3H,gBAAgB,SAG1B,SAASwI,EAAMb,EAASK,GACtBL,EAAQnI,UAAUkB,IAAI,sBAEtBsH,EAAeW,WAAW,CACxBN,UAAS,CAAG,CAAEb,KAAM,iBAAkB1J,SAAS,IAAtCwK,OAAiDf,KAG5DS,EAAeY,SAGjB,SAASH,EAAMd,EAASK,EAAgBjC,GACtCnH,OAAO4E,WAAW,WAChBmE,EAAQnI,UAAUqJ,OAAO,sBAEzBb,EAAeW,WAAW,CACxBN,UAAS,CAAG,CAAEb,KAAM,iBAAkB1J,SAAS,IAAtCwK,OAAkDf,MAE5DxB,GAUL/K,SAASmF,iBAAiB,mBAP1B,WACEf,MAAMC,UAAUC,QAAQlF,KACtBY,SAASmE,iBAAiB,eAC1BuI","file":"index.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()","import SUGalleriesShortcodes from './shortcodes/galleries'\nimport SUPlayersShortcodes from './shortcodes/players'\nimport SUOtherShortcodes from './shortcodes/other'\nimport SUImageCarouselShortcode from './shortcodes/image-carousel'\nimport SUTooltipShortcode from './shortcodes/tooltip'\n\nSUGalleriesShortcodes()\nSUPlayersShortcodes()\nSUOtherShortcodes()\nSUImageCarouselShortcode()\nSUTooltipShortcode()\n","export default function SUGalleriesShortcodes () {\n jQuery(document).ready(function ($) {\n // Prepare items arrays for lightbox\n $('.su-lightbox-gallery').each(function () {\n var slides = []\n $(this)\n .find('.su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide')\n .each(function (i) {\n $(this).attr('data-index', i)\n slides.push({\n src: $(this)\n .children('a')\n .attr('href'),\n title: $(this)\n .children('a')\n .attr('title')\n })\n })\n $(this).data('slides', slides)\n })\n // Enable sliders\n $('.su-slider').each(function () {\n // Prepare data\n var $slider = $(this)\n // Apply Swiper\n var $swiper = $slider.swiper({\n wrapperClass: 'su-slider-slides',\n slideClass: 'su-slider-slide',\n slideActiveClass: 'su-slider-slide-active',\n slideVisibleClass: 'su-slider-slide-visible',\n pagination: '#' + $slider.attr('id') + ' .su-slider-pagination',\n autoplay: $slider.data('autoplay'),\n paginationClickable: true,\n grabCursor: true,\n mode: 'horizontal',\n mousewheelControl: $slider.data('mousewheel'),\n speed: $slider.data('speed'),\n calculateHeight: $slider.hasClass('su-slider-responsive-yes'),\n loop: true\n })\n // Prev button\n $slider.find('.su-slider-prev').click(function (e) {\n $swiper.swipeNext()\n })\n // Next button\n $slider.find('.su-slider-next').click(function (e) {\n $swiper.swipePrev()\n })\n })\n // Enable carousels\n $('.su-carousel').each(function () {\n // Prepare data\n var $carousel = $(this)\n var $slides = $carousel.find('.su-carousel-slide')\n // Apply Swiper\n var $swiper = $carousel.swiper({\n wrapperClass: 'su-carousel-slides',\n slideClass: 'su-carousel-slide',\n slideActiveClass: 'su-carousel-slide-active',\n slideVisibleClass: 'su-carousel-slide-visible',\n pagination: '#' + $carousel.attr('id') + ' .su-carousel-pagination',\n autoplay: $carousel.data('autoplay'),\n paginationClickable: true,\n grabCursor: true,\n mode: 'horizontal',\n mousewheelControl: $carousel.data('mousewheel'),\n speed: $carousel.data('speed'),\n slidesPerView:\n $carousel.data('items') > $slides.length\n ? $slides.length\n : $carousel.data('items'),\n slidesPerGroup: $carousel.data('scroll'),\n calculateHeight: $carousel.hasClass('su-carousel-responsive-yes'),\n loop: true\n })\n // Prev button\n $carousel.find('.su-carousel-prev').click(function (e) {\n $swiper.swipeNext()\n })\n // Next button\n $carousel.find('.su-carousel-next').click(function (e) {\n $swiper.swipePrev()\n })\n })\n // Enable lightbox\n $('.su-lightbox-gallery').on(\n 'click',\n '.su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide',\n function (e) {\n e.preventDefault()\n var slides = $(this)\n .parents('.su-lightbox-gallery')\n .data('slides')\n $.magnificPopup.open(\n {\n items: slides,\n type: 'image',\n mainClass: 'mfp-img-mobile',\n gallery: {\n enabled: true,\n navigateByImgClick: true,\n preload: [0, 1],\n tPrev: SUShortcodesL10n.magnificPopup.prev,\n tNext: SUShortcodesL10n.magnificPopup.next,\n tCounter: SUShortcodesL10n.magnificPopup.counter\n },\n tClose: SUShortcodesL10n.magnificPopup.close,\n tLoading: SUShortcodesL10n.magnificPopup.loading\n },\n $(this).data('index')\n )\n }\n )\n })\n}\n","/* global jQuery, Flickity, SUShortcodesL10n */\n\nexport default function SUImageCarouselShortcode () {\n window.SUImageCarousel = (function () {\n var self = {\n MFPItems: {},\n MFPL10n: SUShortcodesL10n.magnificPopup\n }\n\n self.initGalleries = function () {\n var galleries = document.querySelectorAll('.su-image-carousel')\n\n Array.prototype.forEach.call(galleries, self.initGallery)\n }\n\n self.initGallery = function (gallery) {\n if (gallery.classList.contains('su-image-carousel-ready')) {\n return\n }\n\n var flickityOptions = JSON.parse(\n gallery.getAttribute('data-flickity-options')\n )\n\n var flckty = new Flickity(gallery, flickityOptions)\n\n gallery.removeAttribute('tabindex')\n\n flckty.on('settle', self.onGallerySettle)\n\n if (gallery.classList.contains('su-image-carousel-has-lightbox')) {\n flckty.on('staticClick', self.onFlickityStaticClick)\n gallery.addEventListener('click', self.preventGalleryLinkClick)\n gallery.addEventListener('keyup', self.onGalleryKeyUp)\n\n var galleryID = gallery.getAttribute('id')\n var items = gallery.querySelectorAll(\n '.su-image-carousel-item-content > a'\n )\n\n self.MFPItems[galleryID] = []\n\n Array.prototype.forEach.call(items, function (item, itemIndex) {\n item.setAttribute('data-gallery', galleryID)\n item.setAttribute('data-index', itemIndex)\n\n self.MFPItems[galleryID].push({\n src: item.getAttribute('href'),\n title: item.getAttribute('data-caption')\n })\n })\n }\n\n gallery.classList.add('su-image-carousel-ready')\n }\n\n self.onFlickityStaticClick = function (event, pointer, cellElement, cellIndex) {\n if (!cellElement) {\n return\n }\n\n var clickedLink = cellElement.querySelector('a')\n\n if (!clickedLink) {\n return\n }\n\n self.openMagnificPopupFromLink(clickedLink)\n }\n\n self.onGallerySettle = function (index) {\n var items = this.element.querySelectorAll('.su-image-carousel-item')\n\n Array.prototype.forEach.call(items, function (item, itemIndex) {\n var link = item.querySelectorAll('a')[0]\n\n if (!link) {\n return\n }\n\n link.setAttribute('tabindex', -1)\n\n if (item.classList.contains('is-selected')) {\n link.setAttribute('tabindex', 0)\n }\n })\n }\n\n self.preventGalleryLinkClick = function (e) {\n var clickedLink = self.closest(e.target, function (el) {\n return el.tagName && el.tagName.toUpperCase() === 'A'\n })\n\n if (!clickedLink) {\n return\n }\n\n e.preventDefault()\n }\n\n self.onGalleryKeyUp = function (e) {\n if (!e.keyCode || e.keyCode !== 13) {\n return\n }\n\n var clickedLink = self.closest(e.target, function (el) {\n return el.tagName && el.tagName.toUpperCase() === 'A'\n })\n\n if (!clickedLink) {\n return\n }\n\n self.openMagnificPopupFromLink(clickedLink)\n }\n\n self.openMagnificPopup = function (galleryID, itemIndex) {\n jQuery.magnificPopup.open(\n {\n items: self.MFPItems[galleryID],\n type: 'image',\n mainClass: 'mfp-img-mobile su-image-carousel-mfp',\n gallery: {\n enabled: true,\n navigateByImgClick: true,\n preload: [1, 1],\n tPrev: self.MFPL10n.prev,\n tNext: self.MFPL10n.next,\n tCounter: self.MFPL10n.counter\n },\n tClose: self.MFPL10n.close,\n tLoading: self.MFPL10n.loading\n },\n itemIndex\n )\n }\n\n self.openMagnificPopupFromLink = function (linkEl) {\n var galleryID = linkEl.getAttribute('data-gallery')\n var itemIndex = parseInt(linkEl.getAttribute('data-index'), 10)\n\n self.openMagnificPopup(galleryID, itemIndex)\n }\n\n self.closest = function closest (el, fn) {\n return el && (fn(el) ? el : self.closest(el.parentNode, fn))\n }\n\n self.ready = function (fn) {\n if (document.readyState !== 'loading') {\n fn()\n } else {\n document.addEventListener('DOMContentLoaded', fn)\n }\n }\n\n return {\n ready: self.ready,\n initGalleries: self.initGalleries,\n initGallery: self.initGallery\n }\n })()\n\n jQuery(document).ready(function () {\n window.SUImageCarousel.initGalleries()\n })\n}\n","/* global jQuery, SUShortcodesL10n, Event */\n\nexport default function SUOtherShortcodes () {\n jQuery(document).ready(function ($) {\n function scrollIn ($el) {\n if (\n $(window).scrollTop() + $('body').offset().top > $el.offset().top ||\n $(window).scrollTop() + $(window).height() < $el.offset().top\n ) {\n $(window).scrollTop(\n $el.offset().top -\n $('body').offset().top -\n $el.data('scroll-offset')\n )\n }\n }\n function addAnchor (anchor = '') {\n if (typeof anchor !== 'string') {\n return\n }\n anchor = anchor\n .replace(/[^a-z0-9_-]/gim, '')\n .trim()\n if (anchor === '') {\n return\n }\n window.location.hash = '#' + anchor\n }\n // Spoiler\n $('body:not(.su-other-shortcodes-loaded)').on(\n 'click keypress',\n '.su-spoiler-title',\n function (e) {\n var $spoiler = $(this).parent()\n // Open/close spoiler\n $spoiler.toggleClass('su-spoiler-closed')\n // Add anchor to URL\n if (!$spoiler.hasClass('su-spoiler-closed') && $spoiler.data('anchor-in-url') === 'yes') {\n addAnchor($spoiler.data('anchor'))\n }\n // Close other spoilers in accordion\n $spoiler\n .parent('.su-accordion')\n .children('.su-spoiler')\n .not($spoiler)\n .addClass('su-spoiler-closed')\n // Scroll in spoiler in accordion\n scrollIn($spoiler)\n e.preventDefault()\n }\n )\n\n function revealTab ($tab) {\n var index = $tab.index()\n var isDisabled = $tab.hasClass('su-tabs-disabled')\n var $container = $tab.parents('.su-tabs')\n var $tabs = $container.find('.su-tabs-nav span')\n var $panes = $container.find('.su-tabs-pane')\n // Check tab is not disabled\n if (isDisabled) return false\n // Hide all panes, show selected pane\n $panes\n .removeClass('su-tabs-pane-open')\n .eq(index)\n .addClass('su-tabs-pane-open')\n // Disable all tabs, enable selected tab\n $tabs\n .removeClass('su-tabs-current')\n .eq(index)\n .addClass('su-tabs-current')\n // Emit resize event\n window.setTimeout(function () {\n window.dispatchEvent(new Event('resize'))\n }, 100)\n }\n\n // Tabs\n $('body:not(.su-other-shortcodes-loaded)').on(\n 'click keypress',\n '.su-tabs-nav span',\n function (e) {\n var $tab = $(this)\n var $container = $tab.parents('.su-tabs')\n var data = $tab.data()\n revealTab($tab)\n // Add anchor to URL\n if ($container.data('anchor-in-url') === 'yes') {\n addAnchor($tab.data('anchor'))\n }\n // Open specified url\n if (data.url !== '') {\n if (data.target === 'self') window.location = data.url\n else if (data.target === 'blank') window.open(data.url)\n }\n e.preventDefault()\n }\n )\n\n // Activate tabs\n $('.su-tabs').each(function () {\n var active = parseInt($(this).data('active')) - 1\n\n var $tab = $(this)\n .children('.su-tabs-nav')\n .children('span')\n .eq(active)\n\n revealTab($tab)\n })\n\n // Activate anchor nav for tabs and spoilers\n anchorNav()\n\n // Lightbox\n $(document).on('click', '.su-lightbox', function (e) {\n e.preventDefault()\n e.stopPropagation()\n\n if (\n $(this)\n .parent()\n .attr('id') === 'su-generator-preview'\n ) {\n $(this).html(SUShortcodesL10n.noPreview)\n\n return\n }\n\n var type = $(this).data('mfp-type')\n var mobile = $(this).data('mobile')\n var windowWidth = $(window).width()\n\n $(this)\n .magnificPopup({\n disableOn: function () {\n if (mobile === 'no' && windowWidth < 768) {\n return false\n }\n if (typeof mobile === 'number' && windowWidth < mobile) {\n return false\n }\n return true\n },\n type: type,\n tClose: SUShortcodesL10n.magnificPopup.close,\n tLoading: SUShortcodesL10n.magnificPopup.loading,\n gallery: {\n tPrev: SUShortcodesL10n.magnificPopup.prev,\n tNext: SUShortcodesL10n.magnificPopup.next,\n tCounter: SUShortcodesL10n.magnificPopup.counter\n },\n image: {\n tError: SUShortcodesL10n.magnificPopup.error\n },\n ajax: {\n tError: SUShortcodesL10n.magnificPopup.error\n },\n iframe: {\n markup: '<div class=\"mfp-iframe-scaler\">' +\n '<div class=\"mfp-close\"></div>' +\n '<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen allow=\"autoplay; fullscreen\"></iframe>' +\n '</div>'\n }\n })\n .magnificPopup('open')\n })\n // Frame\n $('.su-frame-align-center, .su-frame-align-none').each(function () {\n var frameWidth = $(this)\n .find('img')\n .width()\n $(this).css('width', frameWidth + 12)\n })\n\n // Expand\n $('body:not(.su-other-shortcodes-loaded)').on(\n 'click',\n '.su-expand-link',\n function () {\n var $this = $(this)\n var $container = $this.parents('.su-expand')\n var $content = $container.children('.su-expand-content')\n\n if ($container.hasClass('su-expand-collapsed')) {\n $content.css('max-height', 'none')\n } else {\n $content.css('max-height', $container.data('height') + 'px')\n }\n\n $container.toggleClass('su-expand-collapsed')\n }\n )\n\n function isTransitionSupported () {\n var thisBody = document.body || document.documentElement\n var thisStyle = thisBody.style\n var support =\n thisStyle.transition !== undefined ||\n thisStyle.WebkitTransition !== undefined ||\n thisStyle.MozTransition !== undefined ||\n thisStyle.MsTransition !== undefined ||\n thisStyle.OTransition !== undefined\n\n return support\n }\n\n // Animations is supported\n if (isTransitionSupported()) {\n // Animate\n $('.su-animate').each(function () {\n $(this).one('inview', function (e) {\n var $this = $(this)\n var data = $this.data()\n window.setTimeout(function () {\n $this.addClass(data.animation)\n $this.addClass('animated')\n $this.css('visibility', 'visible')\n }, data.delay * 1000)\n })\n })\n } else {\n // Animations isn't supported\n $('.su-animate').css('visibility', 'visible')\n }\n\n function anchorNav () {\n // Check hash\n if (document.location.hash === '') return\n // Go through tabs\n $('.su-tabs-nav span[data-anchor]').each(function () {\n if ('#' + $(this).data('anchor') === document.location.hash) {\n var $tabs = $(this).parents('.su-tabs')\n // Activate tab\n $(this).trigger('click')\n // Scroll-in tabs container\n window.setTimeout(function () {\n scrollIn($tabs)\n }, 100)\n }\n })\n // Go through spoilers\n $('.su-spoiler[data-anchor]').each(function () {\n if ('#' + $(this).data('anchor') === document.location.hash) {\n var $spoiler = $(this)\n // Activate tab\n if ($spoiler.hasClass('su-spoiler-closed')) {\n $spoiler.find('.su-spoiler-title:first').trigger('click')\n }\n // Scroll-in tabs container\n window.setTimeout(function () {\n scrollIn($spoiler)\n }, 100)\n }\n })\n }\n\n if ('onhashchange' in window) $(window).on('hashchange', anchorNav)\n\n $('body').addClass('su-other-shortcodes-loaded')\n })\n}\n","export default function SUPlayersShortcodes () {\n jQuery(document).ready(function ($) {\n // Audio player\n $('.su-audio').each(function () {\n // Prepare data\n var $this = $(this)\n var id = $this.data('id')\n var selector = '#' + id\n var $player = $(selector)\n var audio = $this.data('audio')\n var swf = $this.data('swf')\n // Init jPlayer\n $player.jPlayer({\n ready: function (e) {\n // Set media\n $player.jPlayer('setMedia', {\n mp3: audio\n })\n // Autoplay\n if ($this.data('autoplay') === 'yes') $player.jPlayer('play')\n // Loop\n if ($this.data('loop') === 'yes') {\n $player.bind($.jPlayer.event.ended + '.repeat', function () {\n $player.jPlayer('play')\n })\n }\n },\n cssSelectorAncestor: selector + '_container',\n volume: 1,\n keyEnabled: true,\n smoothPlayBar: true,\n swfPath: swf,\n supplied: 'mp3'\n })\n })\n // Video player\n $('.su-video').each(function () {\n // Prepare data\n var $video = $(this)\n var id = $video.attr('id')\n var $player = $('#' + id + '_player')\n var file = $video.data('video')\n var swf = $video.data('swf')\n var poster = $video.data('poster')\n var size = {\n width: $player.width(),\n height: $player.height()\n }\n // Init jPlayer\n $player.jPlayer({\n ready: function (e) {\n // Set media\n $player.jPlayer('setMedia', {\n mp4: file,\n flv: file,\n poster: poster\n })\n // Autoplay\n if ($video.data('autoplay') === 'yes') $player.jPlayer('play')\n // Loop\n if ($video.data('loop') === 'yes') {\n $player.bind($.jPlayer.event.ended + '.repeat', function () {\n $player.jPlayer('play')\n })\n }\n },\n cssSelector: {\n gui: '.jp-gui, .jp-title'\n },\n size: size,\n cssSelectorAncestor: '#' + id,\n volume: 1,\n keyEnabled: true,\n smoothPlayBar: true,\n swfPath: swf,\n supplied: 'mp4, flv'\n })\n })\n })\n}\n","/* global Popper */\n\nexport default function SUTooltipShortcode () {\n var popperModifiers = [\n {\n name: 'offset',\n options: {\n offset: [0, 8]\n }\n }\n ]\n\n function initTooltip (tooltip) {\n var id = tooltip.getAttribute('id')\n var button = document.getElementById(id + '_button')\n var settings = JSON.parse(button.getAttribute('data-settings'))\n\n document.body.appendChild(tooltip)\n\n var popperInstance = Popper.createPopper(button, tooltip, {\n placement: settings.position,\n modifiers: [...popperModifiers]\n })\n\n if (settings.behavior === 'always') {\n window.setTimeout(() => {\n show(tooltip, popperInstance)\n }, 0)\n }\n\n if (settings.behavior === 'click' || settings.behavior === 'hover') {\n button.addEventListener('focus', () => show(tooltip, popperInstance))\n button.addEventListener('blur', () => hide(tooltip, popperInstance, settings.hideDelay))\n }\n\n if (settings.behavior === 'hover') {\n button.addEventListener('mouseenter', () => show(tooltip, popperInstance))\n button.addEventListener('mouseleave', () => hide(tooltip, popperInstance, settings.hideDelay))\n }\n\n tooltip.removeAttribute('style')\n }\n\n function show (tooltip, popperInstance) {\n tooltip.classList.add('su-tooltip-visible')\n\n popperInstance.setOptions({\n modifiers: [{ name: 'eventListeners', enabled: true }, ...popperModifiers]\n })\n\n popperInstance.update()\n }\n\n function hide (tooltip, popperInstance, delay) {\n window.setTimeout(function () {\n tooltip.classList.remove('su-tooltip-visible')\n\n popperInstance.setOptions({\n modifiers: [{ name: 'eventListeners', enabled: false }, ...popperModifiers]\n })\n }, delay)\n }\n\n function initAll () {\n Array.prototype.forEach.call(\n document.querySelectorAll('.su-tooltip'),\n initTooltip\n )\n }\n\n document.addEventListener('DOMContentLoaded', initAll)\n}\n"]}
includes/shortcodes/tooltip.php CHANGED
@@ -9,93 +9,96 @@ su_add_shortcode(
9
  'type' => 'wrap',
10
  'group' => 'other',
11
  'atts' => array(
12
- 'style' => array(
13
- 'type' => 'select',
14
- 'values' => array(
15
- 'light' => __( 'Basic: Light', 'shortcodes-ultimate' ),
16
- 'dark' => __( 'Basic: Dark', 'shortcodes-ultimate' ),
17
- 'yellow' => __( 'Basic: Yellow', 'shortcodes-ultimate' ),
18
- 'green' => __( 'Basic: Green', 'shortcodes-ultimate' ),
19
- 'red' => __( 'Basic: Red', 'shortcodes-ultimate' ),
20
- 'blue' => __( 'Basic: Blue', 'shortcodes-ultimate' ),
21
- 'youtube' => __( 'Youtube', 'shortcodes-ultimate' ),
22
- 'tipsy' => __( 'Tipsy', 'shortcodes-ultimate' ),
23
- 'bootstrap' => __( 'Bootstrap', 'shortcodes-ultimate' ),
24
- 'jtools' => __( 'jTools', 'shortcodes-ultimate' ),
25
- 'tipped' => __( 'Tipped', 'shortcodes-ultimate' ),
26
- 'cluetip' => __( 'Cluetip', 'shortcodes-ultimate' ),
27
- ),
28
- 'default' => 'yellow',
29
- 'name' => __( 'Style', 'shortcodes-ultimate' ),
30
- 'desc' => __( 'Tooltip window style', 'shortcodes-ultimate' ),
31
  ),
32
- 'position' => array(
33
  'type' => 'select',
34
  'values' => array(
35
- 'north' => __( 'Top', 'shortcodes-ultimate' ),
36
- 'south' => __( 'Bottom', 'shortcodes-ultimate' ),
37
- 'west' => __( 'Left', 'shortcodes-ultimate' ),
38
- 'east' => __( 'Right', 'shortcodes-ultimate' ),
39
  ),
40
  'default' => 'top',
41
  'name' => __( 'Position', 'shortcodes-ultimate' ),
42
  'desc' => __( 'Tooltip position', 'shortcodes-ultimate' ),
43
  ),
44
- 'shadow' => array(
45
- 'type' => 'bool',
46
- 'default' => 'no',
47
- 'name' => __( 'Shadow', 'shortcodes-ultimate' ),
48
- 'desc' => __( 'Add shadow to tooltip. This option is only works with basic styes, e.g. blue, green etc.', 'shortcodes-ultimate' ),
49
  ),
50
- 'rounded' => array(
51
- 'type' => 'bool',
52
- 'default' => 'no',
53
- 'name' => __( 'Rounded corners', 'shortcodes-ultimate' ),
54
- 'desc' => __( 'Use rounded for tooltip. This option is only works with basic styes, e.g. blue, green etc.', 'shortcodes-ultimate' ),
 
 
 
 
 
 
 
 
 
55
  ),
56
- 'size' => array(
57
  'type' => 'select',
58
  'values' => array(
59
- 'default' => __( 'Default', 'shortcodes-ultimate' ),
60
- '1' => 1,
61
- '2' => 2,
62
- '3' => 3,
63
- '4' => 4,
64
- '5' => 5,
65
- '6' => 6,
66
  ),
67
- 'default' => 'default',
68
- 'name' => __( 'Font size', 'shortcodes-ultimate' ),
69
- 'desc' => __( 'Tooltip font size', 'shortcodes-ultimate' ),
70
  ),
71
- 'title' => array(
72
- 'default' => '',
73
- 'name' => __( 'Tooltip title', 'shortcodes-ultimate' ),
74
- 'desc' => __( 'Enter title for tooltip window. Leave this field empty to hide the title', 'shortcodes-ultimate' ),
 
 
 
 
75
  ),
76
- 'content' => array(
77
- 'default' => __( 'Tooltip text', 'shortcodes-ultimate' ),
78
- 'name' => __( 'Tooltip content', 'shortcodes-ultimate' ),
79
- 'desc' => __( 'Enter tooltip content here', 'shortcodes-ultimate' ),
 
 
 
 
 
 
 
 
 
 
80
  ),
81
- 'behavior' => array(
82
  'type' => 'select',
83
  'values' => array(
84
- 'hover' => __( 'Show and hide on mouse hover', 'shortcodes-ultimate' ),
85
- 'click' => __( 'Show and hide by mouse click', 'shortcodes-ultimate' ),
86
  'always' => __( 'Always visible', 'shortcodes-ultimate' ),
87
  ),
88
  'default' => 'hover',
89
  'name' => __( 'Behavior', 'shortcodes-ultimate' ),
90
- 'desc' => __( 'Select tooltip behavior', 'shortcodes-ultimate' ),
91
- ),
92
- 'close' => array(
93
- 'type' => 'bool',
94
- 'default' => 'no',
95
- 'name' => __( 'Close button', 'shortcodes-ultimate' ),
96
- 'desc' => __( 'Show close button', 'shortcodes-ultimate' ),
97
  ),
98
- 'class' => array(
99
  'type' => 'extra_css_class',
100
  'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
101
  'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
@@ -110,54 +113,122 @@ su_add_shortcode(
110
 
111
  function su_shortcode_tooltip( $atts = null, $content = null ) {
112
 
113
- $atts = shortcode_atts(
114
- array(
115
- 'style' => 'yellow',
116
- 'position' => 'north',
117
- 'shadow' => 'no',
118
- 'rounded' => 'no',
119
- 'size' => 'default',
120
- 'title' => '',
121
- 'content' => __( 'Tooltip text', 'shortcodes-ultimate' ),
122
- 'behavior' => 'hover',
123
- 'close' => 'no',
124
- 'class' => '',
125
- ),
126
  $atts,
127
- 'tooltip'
 
 
 
 
 
 
 
 
 
128
  );
129
 
130
- // Prepare style
131
- $atts['style'] = in_array( $atts['style'], array( 'light', 'dark', 'green', 'red', 'blue', 'youtube', 'tipsy', 'bootstrap', 'jtools', 'tipped', 'cluetip' ) )
132
- ? $atts['style']
133
- : 'plain';
134
 
135
- // Position
136
- $atts['position'] = str_replace( array( 'top', 'right', 'bottom', 'left' ), array( 'north', 'east', 'south', 'west' ), $atts['position'] );
137
- $position = array(
138
- 'my' => str_replace( array( 'north', 'east', 'south', 'west' ), array( 'bottom center', 'center left', 'top center', 'center right' ), $atts['position'] ),
139
- 'at' => str_replace( array( 'north', 'east', 'south', 'west' ), array( 'top center', 'center right', 'bottom center', 'center left' ), $atts['position'] ),
140
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
 
142
- // Prepare classes
143
- $classes = array( 'su-qtip qtip-' . $atts['style'] );
144
- $classes[] = 'su-qtip-size-' . $atts['size'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
 
146
- if ( $atts['shadow'] === 'yes' ) {
147
- $classes[] = 'qtip-shadow';
148
  }
149
 
150
- if ( $atts['rounded'] === 'yes' ) {
151
- $classes[] = 'qtip-rounded';
152
  }
153
 
154
- // Query assets
155
- su_query_asset( 'css', 'qtip' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  su_query_asset( 'css', 'su-shortcodes' );
157
- su_query_asset( 'js', 'jquery' );
158
- su_query_asset( 'js', 'qtip' );
159
  su_query_asset( 'js', 'su-shortcodes' );
160
 
161
- return '<span class="su-tooltip' . su_get_css_class( $atts ) . '" data-close="' . $atts['close'] . '" data-behavior="' . $atts['behavior'] . '" data-my="' . $position['my'] . '" data-at="' . $position['at'] . '" data-classes="' . implode( ' ', $classes ) . '" data-title="' . $atts['title'] . '" title="' . esc_attr( $atts['content'] ) . '">' . do_shortcode( $content ) . '</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
 
163
  }
9
  'type' => 'wrap',
10
  'group' => 'other',
11
  'atts' => array(
12
+ 'title' => array(
13
+ 'default' => '',
14
+ 'name' => __( 'Tooltip title', 'shortcodes-ultimate' ),
15
+ 'desc' => __( 'Title of the tooltip. Use empty value to hide the title', 'shortcodes-ultimate' ),
16
+ ),
17
+ 'content' => array(
18
+ 'default' => __( 'Tooltip content', 'shortcodes-ultimate' ),
19
+ 'name' => __( 'Tooltip content', 'shortcodes-ultimate' ),
20
+ 'desc' => __( 'Content of the tooltip', 'shortcodes-ultimate' ),
 
 
 
 
 
 
 
 
 
 
21
  ),
22
+ 'position' => array(
23
  'type' => 'select',
24
  'values' => array(
25
+ 'top' => __( 'Top', 'shortcodes-ultimate' ),
26
+ 'bottom' => __( 'Bottom', 'shortcodes-ultimate' ),
27
+ 'left' => __( 'Left', 'shortcodes-ultimate' ),
28
+ 'right' => __( 'Right', 'shortcodes-ultimate' ),
29
  ),
30
  'default' => 'top',
31
  'name' => __( 'Position', 'shortcodes-ultimate' ),
32
  'desc' => __( 'Tooltip position', 'shortcodes-ultimate' ),
33
  ),
34
+ 'background' => array(
35
+ 'type' => 'color',
36
+ 'default' => '#222222',
37
+ 'name' => __( 'Background color', 'shortcodes-ultimate' ),
38
+ 'desc' => __( 'Tooltip background color', 'shortcodes-ultimate' ),
39
  ),
40
+ 'color' => array(
41
+ 'type' => 'color',
42
+ 'default' => '#FFFFFF',
43
+ 'name' => __( 'Text color', 'shortcodes-ultimate' ),
44
+ 'desc' => __( 'Tooltip text color', 'shortcodes-ultimate' ),
45
+ ),
46
+ 'font_size' => array(
47
+ 'type' => 'slider',
48
+ 'min' => 10,
49
+ 'max' => 24,
50
+ 'step' => 1,
51
+ 'default' => 16,
52
+ 'name' => __( 'Font size', 'shortcodes-ultimate' ),
53
+ 'desc' => __( 'The font size of the tooltip content', 'shortcodes-ultimate' ),
54
  ),
55
+ 'text_align' => array(
56
  'type' => 'select',
57
  'values' => array(
58
+ 'left' => __( 'Left', 'shortcodes-ultimate' ),
59
+ 'center' => __( 'Center', 'shortcodes-ultimate' ),
60
+ 'right' => __( 'Right', 'shortcodes-ultimate' ),
 
 
 
 
61
  ),
62
+ 'default' => 'left',
63
+ 'name' => __( 'Text align', 'shortcodes-ultimate' ),
64
+ 'desc' => __( 'The alignment of the tooltip content', 'shortcodes-ultimate' ),
65
  ),
66
+ 'max_width' => array(
67
+ 'type' => 'slider',
68
+ 'min' => 10,
69
+ 'max' => 1000,
70
+ 'step' => 10,
71
+ 'default' => 300,
72
+ 'name' => __( 'Max width', 'shortcodes-ultimate' ),
73
+ 'desc' => __( 'The maximum width of the tooltip, in pixels', 'shortcodes-ultimate' ),
74
  ),
75
+ 'radius' => array(
76
+ 'type' => 'slider',
77
+ 'min' => 0,
78
+ 'max' => 20,
79
+ 'step' => 1,
80
+ 'default' => 5,
81
+ 'name' => __( 'Tooltip border radius', 'shortcodes-ultimate' ),
82
+ 'desc' => __( 'The radius of the tooltip corners, in pixels. Use 0 to make corners square', 'shortcodes-ultimate' ),
83
+ ),
84
+ 'shadow' => array(
85
+ 'type' => 'bool',
86
+ 'default' => 'no',
87
+ 'name' => __( 'Tooltip shadow', 'shortcodes-ultimate' ),
88
+ 'desc' => __( 'This option enables tooltip shadow', 'shortcodes-ultimate' ),
89
  ),
90
+ 'behavior' => array(
91
  'type' => 'select',
92
  'values' => array(
93
+ 'hover' => __( 'Show and hide on mouse over', 'shortcodes-ultimate' ),
94
+ 'click' => __( 'Show and hide on mouse click', 'shortcodes-ultimate' ),
95
  'always' => __( 'Always visible', 'shortcodes-ultimate' ),
96
  ),
97
  'default' => 'hover',
98
  'name' => __( 'Behavior', 'shortcodes-ultimate' ),
99
+ 'desc' => __( 'This option determines how the tooltip will be opened', 'shortcodes-ultimate' ),
 
 
 
 
 
 
100
  ),
101
+ 'class' => array(
102
  'type' => 'extra_css_class',
103
  'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
104
  'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
113
 
114
  function su_shortcode_tooltip( $atts = null, $content = null ) {
115
 
116
+ $atts = su_parse_shortcode_atts(
117
+ 'tooltip',
 
 
 
 
 
 
 
 
 
 
 
118
  $atts,
119
+ array(
120
+ 'style' => 'none',
121
+ 'size' => 'none',
122
+ 'rounded' => 'none',
123
+ 'outline' => 'yes',
124
+ 'tabindex' => 'yes',
125
+ 'reference_tag' => 'span',
126
+ 'line_height' => '1.25',
127
+ 'hide_delay' => '0',
128
+ )
129
  );
130
 
131
+ if ( 'none' !== $atts['style'] ) {
 
 
 
132
 
133
+ $bc_styles = array(
134
+ 'light' => array( '#FFFFFF', '#454545' ),
135
+ 'dark' => array( '#505050', '#F3F3F3' ),
136
+ 'yellow' => array( '#FFFFA3', '#555555' ),
137
+ 'green' => array( '#CAED9E', '#3F6219' ),
138
+ 'red' => array( '#F78B83', '#912323' ),
139
+ 'blue' => array( '#E5F6FE', '#5E99BD' ),
140
+ 'youtube' => array( '#252626', '#FFFFFF' ),
141
+ 'tipsy' => array( '#111111', '#FFFFFF' ),
142
+ 'bootstrap' => array( '#FFFFFF', '#333333' ),
143
+ 'jtools' => array( '#252626', '#F5F5F5' ),
144
+ 'tipped' => array( '#FFFFFF', '#454545' ),
145
+ 'cluetip' => array( '#D9D9C2', '#111111' ),
146
+ );
147
+
148
+ if ( array_key_exists( $atts['style'], $bc_styles ) ) {
149
+
150
+ $atts['background'] = $bc_styles[ $atts['style'] ][0];
151
+ $atts['color'] = $bc_styles[ $atts['style'] ][1];
152
+
153
+ }
154
 
155
+ }
156
+
157
+ if ( 'none' !== $atts['size'] ) {
158
+
159
+ $bc_sizes = array(
160
+ 'default' => '14',
161
+ '1' => '13',
162
+ '2' => '14',
163
+ '3' => '16',
164
+ '4' => '18',
165
+ '5' => '19',
166
+ '6' => '21',
167
+ );
168
+
169
+ if ( array_key_exists( $atts['size'], $bc_sizes ) ) {
170
+ $atts['font_size'] = $bc_sizes[ $atts['size'] ];
171
+ }
172
 
 
 
173
  }
174
 
175
+ if ( 'no' === $atts['rounded'] ) {
176
+ $atts['radius'] = 0;
177
  }
178
 
179
+ $atts['position'] = sanitize_key( $atts['position'] );
180
+ $atts['position'] = str_replace(
181
+ array( 'north', 'east', 'south', 'west' ),
182
+ array( 'top', 'right', 'bottom', 'left' ),
183
+ $atts['position']
184
+ );
185
+
186
+ foreach ( array( 'max_width', 'font_size', 'radius' ) as $attr ) {
187
+ $atts[ $attr ] = su_maybe_add_css_units( $atts[ $attr ], 'px' );
188
+ }
189
+
190
+ foreach ( array( 'text_align', 'shadow', 'outline', 'reference_tag' ) as $attr ) {
191
+ $atts[ $attr ] = sanitize_key( $atts[ $attr ] );
192
+ }
193
+
194
+ $atts['tabindex'] = 'yes' === $atts['tabindex'] ? ' tabindex="0"' : '';
195
+
196
+ $js_settings = array(
197
+ 'position' => sanitize_key( $atts['position'] ),
198
+ 'behavior' => sanitize_key( $atts['behavior'] ),
199
+ 'hideDelay' => intval( $atts['hide_delay'] ),
200
+ );
201
+
202
  su_query_asset( 'css', 'su-shortcodes' );
203
+ su_query_asset( 'js', 'popper' );
 
204
  su_query_asset( 'js', 'su-shortcodes' );
205
 
206
+ $template = '<{{REFERENCE_TAG}} id="{{ID}}_button" class="su-tooltip-button su-tooltip-button-outline-{{OUTLINE}}{{CSS_CLASS}}" aria-describedby="{{ID}}" data-settings=\'{{JSON}}\'{{TABINDEX}}>{{BUTTON}}</{{REFERENCE_TAG}}><span style="display:none" id="{{ID}}" class="su-tooltip{{CSS_CLASS}}" role="tooltip"><span class="su-tooltip-inner su-tooltip-shadow-{{SHADOW}}" style="background:{{BACKGROUND}};color:{{COLOR}};font-size:{{FONT_SIZE}};border-radius:{{RADIUS}};text-align:{{ALIGN}};max-width:{{MAX_WIDTH}};line-height:{{LINE_HEIGHT}}"><span class="su-tooltip-title">{{TITLE}}</span><span class="su-tooltip-content su-u-trim">{{CONTENT}}</span></span><span id="{{ID}}_arrow" class="su-tooltip-arrow" style="background:{{BACKGROUND}}" data-popper-arrow></span></span>';
207
+
208
+ $template_data = array(
209
+ '{{ID}}' => uniqid( 'su_tooltip_' ),
210
+ '{{CSS_CLASS}}' => su_get_css_class( $atts ),
211
+ '{{JSON}}' => wp_json_encode( $js_settings ),
212
+ '{{BUTTON}}' => do_shortcode( $content ),
213
+ '{{TITLE}}' => su_do_attribute( $atts['title'] ),
214
+ '{{CONTENT}}' => su_do_attribute( $atts['content'] ),
215
+ '{{SHADOW}}' => $atts['shadow'],
216
+ '{{RADIUS}}' => $atts['radius'],
217
+ '{{BACKGROUND}}' => $atts['background'],
218
+ '{{COLOR}}' => $atts['color'],
219
+ '{{FONT_SIZE}}' => $atts['font_size'],
220
+ '{{MAX_WIDTH}}' => $atts['max_width'],
221
+ '{{ALIGN}}' => $atts['text_align'],
222
+ '{{OUTLINE}}' => $atts['outline'],
223
+ '{{REFERENCE_TAG}}' => $atts['reference_tag'],
224
+ '{{TABINDEX}}' => $atts['tabindex'],
225
+ '{{LINE_HEIGHT}}' => $atts['line_height'],
226
+ );
227
+
228
+ return str_replace(
229
+ array_keys( $template_data ),
230
+ array_values( $template_data ),
231
+ $template
232
+ );
233
 
234
  }
includes/shortcodes/user.php CHANGED
@@ -65,6 +65,7 @@ su_add_shortcode(
65
  function su_shortcode_user( $atts = null, $content = null ) {
66
 
67
  $atts = su_parse_shortcode_atts( 'user', $atts );
 
68
 
69
  if ( 'user_pass' === $atts['field'] ) {
70
 
@@ -81,29 +82,24 @@ function su_shortcode_user( $atts = null, $content = null ) {
81
  $atts['user_id'] = get_current_user_id();
82
  }
83
 
84
- if ( ! is_numeric( $atts['user_id'] ) || $atts['user_id'] < 0 ) {
85
 
86
- return su_error_message(
87
- 'User',
88
- __( 'invalid user ID', 'shortcodes-ultimate' )
89
- );
90
 
91
- }
92
 
93
- $user = get_user_by( 'id', $atts['user_id'] );
 
 
 
94
 
95
- if ( ! $user ) {
96
 
97
- return su_error_message(
98
- 'User',
99
- __( 'user not found', 'shortcodes-ultimate' )
100
- );
101
 
102
  }
103
 
104
- $data = $user->get( $atts['field'] );
105
-
106
- if ( ! is_string( $data ) || '' === $data ) {
107
  $data = su_do_attribute( $atts['default'] );
108
  }
109
 
65
  function su_shortcode_user( $atts = null, $content = null ) {
66
 
67
  $atts = su_parse_shortcode_atts( 'user', $atts );
68
+ $data = '';
69
 
70
  if ( 'user_pass' === $atts['field'] ) {
71
 
82
  $atts['user_id'] = get_current_user_id();
83
  }
84
 
85
+ if ( su_is_positive_number( $atts['user_id'] ) ) {
86
 
87
+ $user = get_user_by( 'id', $atts['user_id'] );
 
 
 
88
 
89
+ if ( ! $user ) {
90
 
91
+ return su_error_message(
92
+ 'User',
93
+ __( 'user not found', 'shortcodes-ultimate' )
94
+ );
95
 
96
+ }
97
 
98
+ $data = $user->get( $atts['field'] );
 
 
 
99
 
100
  }
101
 
102
+ if ( ! is_string( $data ) || empty( $data ) ) {
 
 
103
  $data = su_do_attribute( $atts['default'] );
104
  }
105
 
languages/shortcodes-ultimate.pot CHANGED
@@ -78,7 +78,7 @@ msgstr ""
78
  msgid "Content slider"
79
  msgstr ""
80
 
81
- #: admin/class-shortcodes-ultimate-admin-extra-shortcodes.php:126, includes/shortcodes/lightbox-content.php:104, includes/shortcodes/tooltip.php:47
82
  msgid "Shadow"
83
  msgstr ""
84
 
@@ -284,56 +284,56 @@ msgstr ""
284
  msgid "Use this field to add custom links to slides used with Slider, Carousel and Custom Gallery shortcodes"
285
  msgstr ""
286
 
287
- #: inc/core/assets.php:83
288
  msgid "Choose file"
289
  msgstr ""
290
 
291
- #: inc/core/assets.php:84
292
  msgid "Insert"
293
  msgstr ""
294
 
295
- #: inc/core/assets.php:85
296
  msgid "Select images"
297
  msgstr ""
298
 
299
- #: inc/core/assets.php:86
300
  msgid "Add selected images"
301
  msgstr ""
302
 
303
- #: inc/core/assets.php:87
304
  msgid "Please enter a name for new preset"
305
  msgstr ""
306
 
307
- #: inc/core/assets.php:88
308
  msgid "New preset"
309
  msgstr ""
310
 
311
- #: inc/core/assets.php:89
312
  msgid "Last used settings"
313
  msgstr ""
314
 
315
- #: inc/core/assets.php:117
316
  msgid "This shortcode doesn't work in live preview. Please insert it into editor and preview on the site."
317
  msgstr ""
318
 
319
- #: inc/core/assets.php:119
320
  msgid "Close (Esc)"
321
  msgstr ""
322
 
323
- #: inc/core/assets.php:120
324
  msgid "Loading..."
325
  msgstr ""
326
 
327
- #: inc/core/assets.php:121
328
  msgid "Previous (Left arrow key)"
329
  msgstr ""
330
 
331
- #: inc/core/assets.php:122
332
  msgid "Next (Right arrow key)"
333
  msgstr ""
334
 
335
  #. translators: %1$s of %2$s represents image counter in lightbox, will be replaced with "1 of 5"
336
- #: inc/core/assets.php:124
337
  msgid "%1$s of %2$s"
338
  msgstr ""
339
 
@@ -622,11 +622,11 @@ msgstr ""
622
  msgid "Accordion"
623
  msgstr ""
624
 
625
- #: includes/shortcodes/accordion.php:14, includes/shortcodes/animate.php:44, includes/shortcodes/audio.php:37, includes/shortcodes/box.php:56, includes/shortcodes/button.php:144, includes/shortcodes/carousel.php:143, includes/shortcodes/column.php:40, includes/shortcodes/csv-table.php:52, includes/shortcodes/custom-gallery.php:82, includes/shortcodes/dailymotion.php:103, includes/shortcodes/display-posts.php:223, includes/shortcodes/divider.php:74, includes/shortcodes/document.php:50, includes/shortcodes/dropcap.php:33, includes/shortcodes/dummy-image.php:53, includes/shortcodes/dummy-text.php:46, includes/shortcodes/expand.php:88, includes/shortcodes/feed.php:39, includes/shortcodes/frame.php:25, includes/shortcodes/gmap.php:58, includes/shortcodes/guests.php:13, includes/shortcodes/heading.php:56, includes/shortcodes/highlight.php:26, includes/shortcodes/image-carousel.php:193, includes/shortcodes/label.php:27, includes/shortcodes/lightbox-content.php:109, includes/shortcodes/lightbox.php:38, includes/shortcodes/list.php:35, includes/shortcodes/members.php:35, includes/shortcodes/menu.php:18, includes/shortcodes/note.php:37, includes/shortcodes/permalink.php:38, includes/shortcodes/private.php:13, includes/shortcodes/pullquote.php:22, includes/shortcodes/qrcode.php:81, includes/shortcodes/quote.php:34, includes/shortcodes/row.php:15, includes/shortcodes/service.php:41, includes/shortcodes/siblings.php:19, includes/shortcodes/slider.php:124, includes/shortcodes/spacer.php:22, includes/shortcodes/spoiler.php:67, includes/shortcodes/subpages.php:25, includes/shortcodes/table.php:34, includes/shortcodes/tabs.php:58, includes/shortcodes/tabs.php:117, includes/shortcodes/tooltip.php:100, includes/shortcodes/video.php:67, includes/shortcodes/vimeo.php:71, includes/shortcodes/youtube-advanced.php:134, includes/shortcodes/youtube.php:60
626
  msgid "Extra CSS class"
627
  msgstr ""
628
 
629
- #: includes/shortcodes/accordion.php:15, includes/shortcodes/animate.php:45, includes/shortcodes/audio.php:38, includes/shortcodes/box.php:57, includes/shortcodes/button.php:145, includes/shortcodes/carousel.php:144, includes/shortcodes/column.php:41, includes/shortcodes/csv-table.php:53, includes/shortcodes/custom-gallery.php:83, includes/shortcodes/dailymotion.php:104, includes/shortcodes/display-posts.php:224, includes/shortcodes/divider.php:75, includes/shortcodes/document.php:51, includes/shortcodes/dropcap.php:34, includes/shortcodes/dummy-image.php:54, includes/shortcodes/dummy-text.php:47, includes/shortcodes/expand.php:89, includes/shortcodes/feed.php:40, includes/shortcodes/gmap.php:59, includes/shortcodes/guests.php:14, includes/shortcodes/heading.php:57, includes/shortcodes/highlight.php:27, includes/shortcodes/image-carousel.php:194, includes/shortcodes/label.php:28, includes/shortcodes/lightbox-content.php:110, includes/shortcodes/lightbox.php:39, includes/shortcodes/list.php:36, includes/shortcodes/members.php:36, includes/shortcodes/menu.php:19, includes/shortcodes/note.php:38, includes/shortcodes/permalink.php:39, includes/shortcodes/private.php:14, includes/shortcodes/pullquote.php:23, includes/shortcodes/qrcode.php:82, includes/shortcodes/quote.php:35, includes/shortcodes/row.php:16, includes/shortcodes/service.php:42, includes/shortcodes/siblings.php:20, includes/shortcodes/slider.php:125, includes/shortcodes/spacer.php:23, includes/shortcodes/spoiler.php:68, includes/shortcodes/subpages.php:26, includes/shortcodes/table.php:35, includes/shortcodes/tabs.php:59, includes/shortcodes/tabs.php:118, includes/shortcodes/tooltip.php:101, includes/shortcodes/video.php:68, includes/shortcodes/vimeo.php:72, includes/shortcodes/youtube-advanced.php:135, includes/shortcodes/youtube.php:61
630
  msgid "Additional CSS class name(s) separated by space(s)"
631
  msgstr ""
632
 
@@ -734,7 +734,7 @@ msgstr ""
734
  msgid "Text for the box title"
735
  msgstr ""
736
 
737
- #: includes/shortcodes/box.php:21, includes/shortcodes/button.php:31, includes/shortcodes/divider.php:31, includes/shortcodes/dropcap.php:14, includes/shortcodes/expand.php:53, includes/shortcodes/heading.php:14, includes/shortcodes/image-carousel.php:38, includes/shortcodes/label.php:14, includes/shortcodes/meta.php:18, includes/shortcodes/post.php:44, includes/shortcodes/quote.php:15, includes/shortcodes/spoiler.php:25, includes/shortcodes/tabs.php:18, includes/shortcodes/tooltip.php:59, includes/shortcodes/user.php:36
738
  msgid "Default"
739
  msgstr ""
740
 
@@ -754,7 +754,7 @@ msgstr ""
754
  msgid "Noise"
755
  msgstr ""
756
 
757
- #: includes/shortcodes/box.php:28, includes/shortcodes/button.php:42, includes/shortcodes/divider.php:37, includes/shortcodes/dropcap.php:20, includes/shortcodes/heading.php:17, includes/shortcodes/quote.php:18, includes/shortcodes/spoiler.php:30, includes/shortcodes/tabs.php:21, includes/shortcodes/tooltip.php:29
758
  msgid "Style"
759
  msgstr ""
760
 
@@ -858,7 +858,7 @@ msgstr ""
858
  msgid "Button background color"
859
  msgstr ""
860
 
861
- #: includes/shortcodes/button.php:56, includes/shortcodes/expand.php:40, includes/shortcodes/highlight.php:22, includes/shortcodes/lightbox-content.php:92, includes/shortcodes/lightbox-content.php:98, includes/shortcodes/note.php:23
862
  msgid "Text color"
863
  msgstr ""
864
 
@@ -1087,7 +1087,7 @@ msgstr ""
1087
  msgid "Display titles for each item"
1088
  msgstr ""
1089
 
1090
- #: includes/shortcodes/carousel.php:106, includes/shortcodes/expand.php:67, includes/shortcodes/frame.php:15, includes/shortcodes/heading.php:33, includes/shortcodes/image-carousel.php:90, includes/shortcodes/lightbox-content.php:76, includes/shortcodes/qrcode.php:45, includes/shortcodes/slider.php:87
1091
  msgid "Center"
1092
  msgstr ""
1093
 
@@ -1327,7 +1327,7 @@ msgstr ""
1327
  msgid "Start the playback of the video automatically after the player load. May not work on some mobile OS versions"
1328
  msgstr ""
1329
 
1330
- #: includes/shortcodes/dailymotion.php:50, includes/shortcodes/lightbox-content.php:86, includes/shortcodes/qrcode.php:76
1331
  msgid "Background color"
1332
  msgstr ""
1333
 
@@ -2017,11 +2017,11 @@ msgstr ""
2017
  msgid "Select the style for more/less link"
2018
  msgstr ""
2019
 
2020
- #: includes/shortcodes/expand.php:66, includes/shortcodes/frame.php:14, includes/shortcodes/heading.php:32, includes/shortcodes/image-carousel.php:88, includes/shortcodes/lightbox-content.php:75, includes/shortcodes/pullquote.php:14, includes/shortcodes/qrcode.php:44, includes/shortcodes/tooltip.php:37
2021
  msgid "Left"
2022
  msgstr ""
2023
 
2024
- #: includes/shortcodes/expand.php:68, includes/shortcodes/frame.php:16, includes/shortcodes/heading.php:34, includes/shortcodes/image-carousel.php:89, includes/shortcodes/lightbox-content.php:77, includes/shortcodes/pullquote.php:15, includes/shortcodes/qrcode.php:46, includes/shortcodes/tooltip.php:38
2025
  msgid "Right"
2026
  msgstr ""
2027
 
@@ -2305,7 +2305,7 @@ msgstr ""
2305
  msgid "This option controls how the gallery will be aligned within a page. Left, Right, and Center options require Max Width to be set. Full option requires page template with no sidebar."
2306
  msgstr ""
2307
 
2308
- #: includes/shortcodes/image-carousel.php:99
2309
  msgid "Max width"
2310
  msgstr ""
2311
 
@@ -3470,147 +3470,107 @@ msgstr ""
3470
  msgid "Tooltip"
3471
  msgstr ""
3472
 
3473
- #: includes/shortcodes/tooltip.php:15
3474
- msgid "Basic: Light"
3475
- msgstr ""
3476
-
3477
- #: includes/shortcodes/tooltip.php:16
3478
- msgid "Basic: Dark"
3479
- msgstr ""
3480
-
3481
- #: includes/shortcodes/tooltip.php:17
3482
- msgid "Basic: Yellow"
3483
  msgstr ""
3484
 
3485
- #: includes/shortcodes/tooltip.php:18
3486
- msgid "Basic: Green"
3487
  msgstr ""
3488
 
3489
- #: includes/shortcodes/tooltip.php:19
3490
- msgid "Basic: Red"
3491
  msgstr ""
3492
 
3493
  #: includes/shortcodes/tooltip.php:20
3494
- msgid "Basic: Blue"
3495
- msgstr ""
3496
-
3497
- #: includes/shortcodes/tooltip.php:21
3498
- msgid "Youtube"
3499
- msgstr ""
3500
-
3501
- #: includes/shortcodes/tooltip.php:22
3502
- msgid "Tipsy"
3503
- msgstr ""
3504
-
3505
- #: includes/shortcodes/tooltip.php:23
3506
- msgid "Bootstrap"
3507
- msgstr ""
3508
-
3509
- #: includes/shortcodes/tooltip.php:24
3510
- msgid "jTools"
3511
  msgstr ""
3512
 
3513
  #: includes/shortcodes/tooltip.php:25
3514
- msgid "Tipped"
3515
- msgstr ""
3516
-
3517
- #: includes/shortcodes/tooltip.php:26
3518
- msgid "Cluetip"
3519
- msgstr ""
3520
-
3521
- #: includes/shortcodes/tooltip.php:30
3522
- msgid "Tooltip window style"
3523
- msgstr ""
3524
-
3525
- #: includes/shortcodes/tooltip.php:35
3526
  msgid "Top"
3527
  msgstr ""
3528
 
3529
- #: includes/shortcodes/tooltip.php:36
3530
  msgid "Bottom"
3531
  msgstr ""
3532
 
3533
- #: includes/shortcodes/tooltip.php:41
3534
  msgid "Position"
3535
  msgstr ""
3536
 
3537
- #: includes/shortcodes/tooltip.php:42
3538
  msgid "Tooltip position"
3539
  msgstr ""
3540
 
3541
- #: includes/shortcodes/tooltip.php:48
3542
- msgid "Add shadow to tooltip. This option is only works with basic styes, e.g. blue, green etc."
3543
- msgstr ""
3544
-
3545
- #: includes/shortcodes/tooltip.php:53
3546
- msgid "Rounded corners"
3547
  msgstr ""
3548
 
3549
- #: includes/shortcodes/tooltip.php:54
3550
- msgid "Use rounded for tooltip. This option is only works with basic styes, e.g. blue, green etc."
3551
  msgstr ""
3552
 
3553
- #: includes/shortcodes/tooltip.php:68
3554
  msgid "Font size"
3555
  msgstr ""
3556
 
3557
- #: includes/shortcodes/tooltip.php:69
3558
- msgid "Tooltip font size"
3559
  msgstr ""
3560
 
3561
- #: includes/shortcodes/tooltip.php:73
3562
- msgid "Tooltip title"
3563
  msgstr ""
3564
 
3565
- #: includes/shortcodes/tooltip.php:74
3566
- msgid "Enter title for tooltip window. Leave this field empty to hide the title"
3567
  msgstr ""
3568
 
3569
- #: includes/shortcodes/tooltip.php:77, includes/shortcodes/tooltip.php:121
3570
- msgid "Tooltip text"
3571
  msgstr ""
3572
 
3573
- #: includes/shortcodes/tooltip.php:78
3574
- msgid "Tooltip content"
3575
  msgstr ""
3576
 
3577
- #: includes/shortcodes/tooltip.php:79
3578
- msgid "Enter tooltip content here"
3579
  msgstr ""
3580
 
3581
- #: includes/shortcodes/tooltip.php:84
3582
- msgid "Show and hide on mouse hover"
3583
  msgstr ""
3584
 
3585
- #: includes/shortcodes/tooltip.php:85
3586
- msgid "Show and hide by mouse click"
3587
  msgstr ""
3588
 
3589
- #: includes/shortcodes/tooltip.php:86
3590
- msgid "Always visible"
3591
  msgstr ""
3592
 
3593
- #: includes/shortcodes/tooltip.php:89
3594
- msgid "Behavior"
3595
  msgstr ""
3596
 
3597
- #: includes/shortcodes/tooltip.php:90
3598
- msgid "Select tooltip behavior"
3599
  msgstr ""
3600
 
3601
- #: includes/shortcodes/tooltip.php:95
3602
- msgid "Close button"
3603
  msgstr ""
3604
 
3605
- #: includes/shortcodes/tooltip.php:96
3606
- msgid "Show close button"
3607
  msgstr ""
3608
 
3609
- #: includes/shortcodes/tooltip.php:105
3610
  msgid "Hover me to open tooltip"
3611
  msgstr ""
3612
 
3613
- #: includes/shortcodes/tooltip.php:106
3614
  msgid "Tooltip window with custom content"
3615
  msgstr ""
3616
 
@@ -3678,15 +3638,11 @@ msgstr ""
3678
  msgid "This shortcode can display a user data, like login or email, including meta fields"
3679
  msgstr ""
3680
 
3681
- #: includes/shortcodes/user.php:73
3682
  msgid "password field is not allowed"
3683
  msgstr ""
3684
 
3685
- #: includes/shortcodes/user.php:88
3686
- msgid "invalid user ID"
3687
- msgstr ""
3688
-
3689
- #: includes/shortcodes/user.php:99
3690
  msgid "user not found"
3691
  msgstr ""
3692
 
78
  msgid "Content slider"
79
  msgstr ""
80
 
81
+ #: admin/class-shortcodes-ultimate-admin-extra-shortcodes.php:126, includes/shortcodes/lightbox-content.php:104
82
  msgid "Shadow"
83
  msgstr ""
84
 
284
  msgid "Use this field to add custom links to slides used with Slider, Carousel and Custom Gallery shortcodes"
285
  msgstr ""
286
 
287
+ #: inc/core/assets.php:88
288
  msgid "Choose file"
289
  msgstr ""
290
 
291
+ #: inc/core/assets.php:89
292
  msgid "Insert"
293
  msgstr ""
294
 
295
+ #: inc/core/assets.php:90
296
  msgid "Select images"
297
  msgstr ""
298
 
299
+ #: inc/core/assets.php:91
300
  msgid "Add selected images"
301
  msgstr ""
302
 
303
+ #: inc/core/assets.php:92
304
  msgid "Please enter a name for new preset"
305
  msgstr ""
306
 
307
+ #: inc/core/assets.php:93
308
  msgid "New preset"
309
  msgstr ""
310
 
311
+ #: inc/core/assets.php:94
312
  msgid "Last used settings"
313
  msgstr ""
314
 
315
+ #: inc/core/assets.php:122
316
  msgid "This shortcode doesn't work in live preview. Please insert it into editor and preview on the site."
317
  msgstr ""
318
 
319
+ #: inc/core/assets.php:124
320
  msgid "Close (Esc)"
321
  msgstr ""
322
 
323
+ #: inc/core/assets.php:125
324
  msgid "Loading..."
325
  msgstr ""
326
 
327
+ #: inc/core/assets.php:126
328
  msgid "Previous (Left arrow key)"
329
  msgstr ""
330
 
331
+ #: inc/core/assets.php:127
332
  msgid "Next (Right arrow key)"
333
  msgstr ""
334
 
335
  #. translators: %1$s of %2$s represents image counter in lightbox, will be replaced with "1 of 5"
336
+ #: inc/core/assets.php:129
337
  msgid "%1$s of %2$s"
338
  msgstr ""
339
 
622
  msgid "Accordion"
623
  msgstr ""
624
 
625
+ #: includes/shortcodes/accordion.php:14, includes/shortcodes/animate.php:44, includes/shortcodes/audio.php:37, includes/shortcodes/box.php:56, includes/shortcodes/button.php:144, includes/shortcodes/carousel.php:143, includes/shortcodes/column.php:40, includes/shortcodes/csv-table.php:52, includes/shortcodes/custom-gallery.php:82, includes/shortcodes/dailymotion.php:103, includes/shortcodes/display-posts.php:223, includes/shortcodes/divider.php:74, includes/shortcodes/document.php:50, includes/shortcodes/dropcap.php:33, includes/shortcodes/dummy-image.php:53, includes/shortcodes/dummy-text.php:46, includes/shortcodes/expand.php:88, includes/shortcodes/feed.php:39, includes/shortcodes/frame.php:25, includes/shortcodes/gmap.php:58, includes/shortcodes/guests.php:13, includes/shortcodes/heading.php:56, includes/shortcodes/highlight.php:26, includes/shortcodes/image-carousel.php:193, includes/shortcodes/label.php:27, includes/shortcodes/lightbox-content.php:109, includes/shortcodes/lightbox.php:38, includes/shortcodes/list.php:35, includes/shortcodes/members.php:35, includes/shortcodes/menu.php:18, includes/shortcodes/note.php:37, includes/shortcodes/permalink.php:38, includes/shortcodes/private.php:13, includes/shortcodes/pullquote.php:22, includes/shortcodes/qrcode.php:81, includes/shortcodes/quote.php:34, includes/shortcodes/row.php:15, includes/shortcodes/service.php:41, includes/shortcodes/siblings.php:19, includes/shortcodes/slider.php:124, includes/shortcodes/spacer.php:22, includes/shortcodes/spoiler.php:67, includes/shortcodes/subpages.php:25, includes/shortcodes/table.php:34, includes/shortcodes/tabs.php:58, includes/shortcodes/tabs.php:117, includes/shortcodes/tooltip.php:103, includes/shortcodes/video.php:67, includes/shortcodes/vimeo.php:71, includes/shortcodes/youtube-advanced.php:134, includes/shortcodes/youtube.php:60
626
  msgid "Extra CSS class"
627
  msgstr ""
628
 
629
+ #: includes/shortcodes/accordion.php:15, includes/shortcodes/animate.php:45, includes/shortcodes/audio.php:38, includes/shortcodes/box.php:57, includes/shortcodes/button.php:145, includes/shortcodes/carousel.php:144, includes/shortcodes/column.php:41, includes/shortcodes/csv-table.php:53, includes/shortcodes/custom-gallery.php:83, includes/shortcodes/dailymotion.php:104, includes/shortcodes/display-posts.php:224, includes/shortcodes/divider.php:75, includes/shortcodes/document.php:51, includes/shortcodes/dropcap.php:34, includes/shortcodes/dummy-image.php:54, includes/shortcodes/dummy-text.php:47, includes/shortcodes/expand.php:89, includes/shortcodes/feed.php:40, includes/shortcodes/gmap.php:59, includes/shortcodes/guests.php:14, includes/shortcodes/heading.php:57, includes/shortcodes/highlight.php:27, includes/shortcodes/image-carousel.php:194, includes/shortcodes/label.php:28, includes/shortcodes/lightbox-content.php:110, includes/shortcodes/lightbox.php:39, includes/shortcodes/list.php:36, includes/shortcodes/members.php:36, includes/shortcodes/menu.php:19, includes/shortcodes/note.php:38, includes/shortcodes/permalink.php:39, includes/shortcodes/private.php:14, includes/shortcodes/pullquote.php:23, includes/shortcodes/qrcode.php:82, includes/shortcodes/quote.php:35, includes/shortcodes/row.php:16, includes/shortcodes/service.php:42, includes/shortcodes/siblings.php:20, includes/shortcodes/slider.php:125, includes/shortcodes/spacer.php:23, includes/shortcodes/spoiler.php:68, includes/shortcodes/subpages.php:26, includes/shortcodes/table.php:35, includes/shortcodes/tabs.php:59, includes/shortcodes/tabs.php:118, includes/shortcodes/tooltip.php:104, includes/shortcodes/video.php:68, includes/shortcodes/vimeo.php:72, includes/shortcodes/youtube-advanced.php:135, includes/shortcodes/youtube.php:61
630
  msgid "Additional CSS class name(s) separated by space(s)"
631
  msgstr ""
632
 
734
  msgid "Text for the box title"
735
  msgstr ""
736
 
737
+ #: includes/shortcodes/box.php:21, includes/shortcodes/button.php:31, includes/shortcodes/divider.php:31, includes/shortcodes/dropcap.php:14, includes/shortcodes/expand.php:53, includes/shortcodes/heading.php:14, includes/shortcodes/image-carousel.php:38, includes/shortcodes/label.php:14, includes/shortcodes/meta.php:18, includes/shortcodes/post.php:44, includes/shortcodes/quote.php:15, includes/shortcodes/spoiler.php:25, includes/shortcodes/tabs.php:18, includes/shortcodes/user.php:36
738
  msgid "Default"
739
  msgstr ""
740
 
754
  msgid "Noise"
755
  msgstr ""
756
 
757
+ #: includes/shortcodes/box.php:28, includes/shortcodes/button.php:42, includes/shortcodes/divider.php:37, includes/shortcodes/dropcap.php:20, includes/shortcodes/heading.php:17, includes/shortcodes/quote.php:18, includes/shortcodes/spoiler.php:30, includes/shortcodes/tabs.php:21
758
  msgid "Style"
759
  msgstr ""
760
 
858
  msgid "Button background color"
859
  msgstr ""
860
 
861
+ #: includes/shortcodes/button.php:56, includes/shortcodes/expand.php:40, includes/shortcodes/highlight.php:22, includes/shortcodes/lightbox-content.php:92, includes/shortcodes/lightbox-content.php:98, includes/shortcodes/note.php:23, includes/shortcodes/tooltip.php:43
862
  msgid "Text color"
863
  msgstr ""
864
 
1087
  msgid "Display titles for each item"
1088
  msgstr ""
1089
 
1090
+ #: includes/shortcodes/carousel.php:106, includes/shortcodes/expand.php:67, includes/shortcodes/frame.php:15, includes/shortcodes/heading.php:33, includes/shortcodes/image-carousel.php:90, includes/shortcodes/lightbox-content.php:76, includes/shortcodes/qrcode.php:45, includes/shortcodes/slider.php:87, includes/shortcodes/tooltip.php:59
1091
  msgid "Center"
1092
  msgstr ""
1093
 
1327
  msgid "Start the playback of the video automatically after the player load. May not work on some mobile OS versions"
1328
  msgstr ""
1329
 
1330
+ #: includes/shortcodes/dailymotion.php:50, includes/shortcodes/lightbox-content.php:86, includes/shortcodes/qrcode.php:76, includes/shortcodes/tooltip.php:37
1331
  msgid "Background color"
1332
  msgstr ""
1333
 
2017
  msgid "Select the style for more/less link"
2018
  msgstr ""
2019
 
2020
+ #: includes/shortcodes/expand.php:66, includes/shortcodes/frame.php:14, includes/shortcodes/heading.php:32, includes/shortcodes/image-carousel.php:88, includes/shortcodes/lightbox-content.php:75, includes/shortcodes/pullquote.php:14, includes/shortcodes/qrcode.php:44, includes/shortcodes/tooltip.php:27, includes/shortcodes/tooltip.php:58
2021
  msgid "Left"
2022
  msgstr ""
2023
 
2024
+ #: includes/shortcodes/expand.php:68, includes/shortcodes/frame.php:16, includes/shortcodes/heading.php:34, includes/shortcodes/image-carousel.php:89, includes/shortcodes/lightbox-content.php:77, includes/shortcodes/pullquote.php:15, includes/shortcodes/qrcode.php:46, includes/shortcodes/tooltip.php:28, includes/shortcodes/tooltip.php:60
2025
  msgid "Right"
2026
  msgstr ""
2027
 
2305
  msgid "This option controls how the gallery will be aligned within a page. Left, Right, and Center options require Max Width to be set. Full option requires page template with no sidebar."
2306
  msgstr ""
2307
 
2308
+ #: includes/shortcodes/image-carousel.php:99, includes/shortcodes/tooltip.php:72
2309
  msgid "Max width"
2310
  msgstr ""
2311
 
3470
  msgid "Tooltip"
3471
  msgstr ""
3472
 
3473
+ #: includes/shortcodes/tooltip.php:14
3474
+ msgid "Tooltip title"
 
 
 
 
 
 
 
 
3475
  msgstr ""
3476
 
3477
+ #: includes/shortcodes/tooltip.php:15
3478
+ msgid "Title of the tooltip. Use empty value to hide the title"
3479
  msgstr ""
3480
 
3481
+ #: includes/shortcodes/tooltip.php:18, includes/shortcodes/tooltip.php:19
3482
+ msgid "Tooltip content"
3483
  msgstr ""
3484
 
3485
  #: includes/shortcodes/tooltip.php:20
3486
+ msgid "Content of the tooltip"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3487
  msgstr ""
3488
 
3489
  #: includes/shortcodes/tooltip.php:25
 
 
 
 
 
 
 
 
 
 
 
 
3490
  msgid "Top"
3491
  msgstr ""
3492
 
3493
+ #: includes/shortcodes/tooltip.php:26
3494
  msgid "Bottom"
3495
  msgstr ""
3496
 
3497
+ #: includes/shortcodes/tooltip.php:31
3498
  msgid "Position"
3499
  msgstr ""
3500
 
3501
+ #: includes/shortcodes/tooltip.php:32
3502
  msgid "Tooltip position"
3503
  msgstr ""
3504
 
3505
+ #: includes/shortcodes/tooltip.php:38
3506
+ msgid "Tooltip background color"
 
 
 
 
3507
  msgstr ""
3508
 
3509
+ #: includes/shortcodes/tooltip.php:44
3510
+ msgid "Tooltip text color"
3511
  msgstr ""
3512
 
3513
+ #: includes/shortcodes/tooltip.php:52
3514
  msgid "Font size"
3515
  msgstr ""
3516
 
3517
+ #: includes/shortcodes/tooltip.php:53
3518
+ msgid "The font size of the tooltip content"
3519
  msgstr ""
3520
 
3521
+ #: includes/shortcodes/tooltip.php:63
3522
+ msgid "Text align"
3523
  msgstr ""
3524
 
3525
+ #: includes/shortcodes/tooltip.php:64
3526
+ msgid "The alignment of the tooltip content"
3527
  msgstr ""
3528
 
3529
+ #: includes/shortcodes/tooltip.php:73
3530
+ msgid "The maximum width of the tooltip, in pixels"
3531
  msgstr ""
3532
 
3533
+ #: includes/shortcodes/tooltip.php:81
3534
+ msgid "Tooltip border radius"
3535
  msgstr ""
3536
 
3537
+ #: includes/shortcodes/tooltip.php:82
3538
+ msgid "The radius of the tooltip corners, in pixels. Use 0 to make corners square"
3539
  msgstr ""
3540
 
3541
+ #: includes/shortcodes/tooltip.php:87
3542
+ msgid "Tooltip shadow"
3543
  msgstr ""
3544
 
3545
+ #: includes/shortcodes/tooltip.php:88
3546
+ msgid "This option enables tooltip shadow"
3547
  msgstr ""
3548
 
3549
+ #: includes/shortcodes/tooltip.php:93
3550
+ msgid "Show and hide on mouse over"
3551
  msgstr ""
3552
 
3553
+ #: includes/shortcodes/tooltip.php:94
3554
+ msgid "Show and hide on mouse click"
3555
  msgstr ""
3556
 
3557
+ #: includes/shortcodes/tooltip.php:95
3558
+ msgid "Always visible"
3559
  msgstr ""
3560
 
3561
+ #: includes/shortcodes/tooltip.php:98
3562
+ msgid "Behavior"
3563
  msgstr ""
3564
 
3565
+ #: includes/shortcodes/tooltip.php:99
3566
+ msgid "This option determines how the tooltip will be opened"
3567
  msgstr ""
3568
 
3569
+ #: includes/shortcodes/tooltip.php:108
3570
  msgid "Hover me to open tooltip"
3571
  msgstr ""
3572
 
3573
+ #: includes/shortcodes/tooltip.php:109
3574
  msgid "Tooltip window with custom content"
3575
  msgstr ""
3576
 
3638
  msgid "This shortcode can display a user data, like login or email, including meta fields"
3639
  msgstr ""
3640
 
3641
+ #: includes/shortcodes/user.php:74
3642
  msgid "password field is not allowed"
3643
  msgstr ""
3644
 
3645
+ #: includes/shortcodes/user.php:93
 
 
 
 
3646
  msgid "user not found"
3647
  msgstr ""
3648
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: shortcode, toggle, columns, button, slider
6
  Requires PHP: 5.3
7
  Requires at least: 4.6
8
  Tested up to: 5.7
9
- Stable tag: 5.9.8
10
 
11
  A comprehensive collection of visual components for your site
12
 
@@ -140,19 +140,18 @@ Yes! Shortcodes Ultimate is designed to work with any theme, but your theme must
140
 
141
  ### Where can I get help?
142
 
143
- First, visit the [Help Center](https://getshortcodes.com/support/). If you get stuck, ask for help at the [official support forum](https://wordpress.org/support/plugin/shortcodes-ultimate). Also, you can get personal support from the developer by purchasing any of the [premium add-ons](https://getshortcodes.com/add-ons/).
144
 
145
 
146
  ## Changelog
147
 
148
 
149
- ### 5.9.8
150
 
151
  **What's new**
152
 
153
- - Improved handling of nested dynamic elements within Tabs
154
- - Improved handling of nested dynamic elements within Spoiler
155
- - Tested compatibility with WordPress 5.7
156
 
157
  ---
158
  [Version history →](https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/trunk/changelog.txt)
6
  Requires PHP: 5.3
7
  Requires at least: 4.6
8
  Tested up to: 5.7
9
+ Stable tag: 5.10.0
10
 
11
  A comprehensive collection of visual components for your site
12
 
140
 
141
  ### Where can I get help?
142
 
143
+ First, visit the [Help Center](https://getshortcodes.com/support/). If you get stuck, ask for help at the [community support forum](https://wordpress.org/support/plugin/shortcodes-ultimate). Also, you can get personal support from the developer by purchasing any of the [premium add-ons](https://getshortcodes.com/add-ons/).
144
 
145
 
146
  ## Changelog
147
 
148
 
149
+ ### 5.10.0
150
 
151
  **What's new**
152
 
153
+ - Major update to the `su_tooltip` shortcode, now it works without jQuery migrate and has more options
154
+ - Fixed logic of the `su_user` shortcode
 
155
 
156
  ---
157
  [Version history →](https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/trunk/changelog.txt)
shortcodes-ultimate.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Shortcodes Ultimate
4
  * Plugin URI: https://getshortcodes.com/
5
- * Version: 5.9.8
6
  * Author: Vladimir Anokhin
7
  * Author URI: https://getshortcodes.com/
8
  * Description: A comprehensive collection of visual components for WordPress
@@ -17,7 +17,7 @@
17
  * Define plugin constants.
18
  */
19
  define( 'SU_PLUGIN_FILE', __FILE__ );
20
- define( 'SU_PLUGIN_VERSION', '5.9.8' );
21
 
22
  /**
23
  * Load dependencies.
@@ -35,7 +35,7 @@ require_once 'inc/core/widget.php';
35
  */
36
  function activate_shortcodes_ultimate() {
37
 
38
- require_once plugin_dir_path( __FILE__ ) . 'includes/class-shortcodes-ultimate-activator.php';
39
 
40
  Shortcodes_Ultimate_Activator::activate();
41
 
@@ -50,11 +50,11 @@ register_activation_hook( __FILE__, 'activate_shortcodes_ultimate' );
50
  */
51
  function run_shortcodes_ultimate() {
52
 
53
- require_once plugin_dir_path( __FILE__ ) . 'includes/class-shortcodes-ultimate.php';
54
 
55
  $plugin = new Shortcodes_Ultimate( __FILE__, SU_PLUGIN_VERSION, 'shortcodes-ultimate-' );
56
 
57
- do_action( 'su/ready' );
58
 
59
  }
60
 
2
  /**
3
  * Plugin Name: Shortcodes Ultimate
4
  * Plugin URI: https://getshortcodes.com/
5
+ * Version: 5.10.0
6
  * Author: Vladimir Anokhin
7
  * Author URI: https://getshortcodes.com/
8
  * Description: A comprehensive collection of visual components for WordPress
17
  * Define plugin constants.
18
  */
19
  define( 'SU_PLUGIN_FILE', __FILE__ );
20
+ define( 'SU_PLUGIN_VERSION', '5.10.0' );
21
 
22
  /**
23
  * Load dependencies.
35
  */
36
  function activate_shortcodes_ultimate() {
37
 
38
+ require_once dirname( __FILE__ ) . '/includes/class-shortcodes-ultimate-activator.php';
39
 
40
  Shortcodes_Ultimate_Activator::activate();
41
 
50
  */
51
  function run_shortcodes_ultimate() {
52
 
53
+ require_once dirname( __FILE__ ) . '/includes/class-shortcodes-ultimate.php';
54
 
55
  $plugin = new Shortcodes_Ultimate( __FILE__, SU_PLUGIN_VERSION, 'shortcodes-ultimate-' );
56
 
57
+ do_action( 'su/ready', $plugin );
58
 
59
  }
60
 
vendor/popper/popper.min.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /**
2
+ * @popperjs/core v2.9.2 - MIT License
3
+ */
4
+
5
+ "use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){function t(e){return{width:(e=e.getBoundingClientRect()).width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function n(e){return null==e?window:"[object Window]"!==e.toString()?(e=e.ownerDocument)&&e.defaultView||window:e}function o(e){return{scrollLeft:(e=n(e)).pageXOffset,scrollTop:e.pageYOffset}}function r(e){return e instanceof n(e).Element||e instanceof Element}function i(e){return e instanceof n(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof n(e).ShadowRoot||e instanceof ShadowRoot)}function s(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return((r(e)?e.ownerDocument:e.document)||window.document).documentElement}function p(e){return t(f(e)).left+o(e).scrollLeft}function c(e){return n(e).getComputedStyle(e)}function l(e){return e=c(e),/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function u(e,r,a){void 0===a&&(a=!1);var c=f(r);e=t(e);var u=i(r),d={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(u||!u&&!a)&&(("body"!==s(r)||l(c))&&(d=r!==n(r)&&i(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:o(r)),i(r)?((m=t(r)).x+=r.clientLeft,m.y+=r.clientTop):c&&(m.x=p(c))),{x:e.left+d.scrollLeft-m.x,y:e.top+d.scrollTop-m.y,width:e.width,height:e.height}}function d(e){var n=t(e),o=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(n.width-o)&&(o=n.width),1>=Math.abs(n.height-r)&&(r=n.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function m(e){return"html"===s(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||f(e)}function h(e){return 0<=["html","body","#document"].indexOf(s(e))?e.ownerDocument.body:i(e)&&l(e)?e:h(m(e))}function v(e,t){var o;void 0===t&&(t=[]);var r=h(e);return e=r===(null==(o=e.ownerDocument)?void 0:o.body),o=n(r),r=e?[o].concat(o.visualViewport||[],l(r)?r:[]):r,t=t.concat(r),e?t:t.concat(v(m(r)))}function g(e){return i(e)&&"fixed"!==c(e).position?e.offsetParent:null}function y(e){for(var t=n(e),o=g(e);o&&0<=["table","td","th"].indexOf(s(o))&&"static"===c(o).position;)o=g(o);if(o&&("html"===s(o)||"body"===s(o)&&"static"===c(o).position))return t;if(!o)e:{if(o=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),-1===navigator.userAgent.indexOf("Trident")||!i(e)||"fixed"!==c(e).position)for(e=m(e);i(e)&&0>["html","body"].indexOf(s(e));){var r=c(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||o&&"filter"===r.willChange||o&&r.filter&&"none"!==r.filter){o=e;break e}e=e.parentNode}o=null}return o||t}function b(e){function t(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){o.has(e)||(e=n.get(e))&&t(e)})),r.push(e)}var n=new Map,o=new Set,r=[];return e.forEach((function(e){n.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||t(e)})),r}function w(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function x(e){return e.split("-")[0]}function O(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n))do{if(t&&e.isSameNode(t))return!0;t=t.parentNode||t.host}while(t);return!1}function j(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function E(e,r){if("viewport"===r){r=n(e);var a=f(e);r=r.visualViewport;var s=a.clientWidth;a=a.clientHeight;var l=0,u=0;r&&(s=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=r.offsetLeft,u=r.offsetTop)),e=j(e={width:s,height:a,x:l+p(e),y:u})}else i(r)?((e=t(r)).top+=r.clientTop,e.left+=r.clientLeft,e.bottom=e.top+r.clientHeight,e.right=e.left+r.clientWidth,e.width=r.clientWidth,e.height=r.clientHeight,e.x=e.left,e.y=e.top):(u=f(e),e=f(u),s=o(u),r=null==(a=u.ownerDocument)?void 0:a.body,a=_(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=_(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),u=-s.scrollLeft+p(u),s=-s.scrollTop,"rtl"===c(r||e).direction&&(u+=_(e.clientWidth,r?r.clientWidth:0)-a),e=j({width:a,height:l,x:u,y:s}));return e}function D(e,t,n){return t="clippingParents"===t?function(e){var t=v(m(e)),n=0<=["absolute","fixed"].indexOf(c(e).position)&&i(e)?y(e):e;return r(n)?t.filter((function(e){return r(e)&&O(e,n)&&"body"!==s(e)})):[]}(e):[].concat(t),(n=(n=[].concat(t,[n])).reduce((function(t,n){return n=E(e,n),t.top=_(n.top,t.top),t.right=U(n.right,t.right),t.bottom=U(n.bottom,t.bottom),t.left=_(n.left,t.left),t}),E(e,n[0]))).width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function L(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function P(e){var t=e.reference,n=e.element,o=(e=e.placement)?x(e):null;e=e?e.split("-")[1]:null;var r=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2;switch(o){case"top":r={x:r,y:t.y-n.height};break;case"bottom":r={x:r,y:t.y+t.height};break;case"right":r={x:t.x+t.width,y:i};break;case"left":r={x:t.x-n.width,y:i};break;default:r={x:t.x,y:t.y}}if(null!=(o=o?L(o):null))switch(i="y"===o?"height":"width",e){case"start":r[o]-=t[i]/2-n[i]/2;break;case"end":r[o]+=t[i]/2-n[i]/2}return r}function M(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function k(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function A(e,n){void 0===n&&(n={});var o=n;n=void 0===(n=o.placement)?e.placement:n;var i=o.boundary,a=void 0===i?"clippingParents":i,s=void 0===(i=o.rootBoundary)?"viewport":i;i=void 0===(i=o.elementContext)?"popper":i;var p=o.altBoundary,c=void 0!==p&&p;o=M("number"!=typeof(o=void 0===(o=o.padding)?0:o)?o:k(o,C));var l=e.elements.reference;p=e.rects.popper,a=D(r(c=e.elements[c?"popper"===i?"reference":"popper":i])?c:c.contextElement||f(e.elements.popper),a,s),c=P({reference:s=t(l),element:p,strategy:"absolute",placement:n}),p=j(Object.assign({},p,c)),s="popper"===i?p:s;var u={top:a.top-s.top+o.top,bottom:s.bottom-a.bottom+o.bottom,left:a.left-s.left+o.left,right:s.right-a.right+o.right};if(e=e.modifiersData.offset,"popper"===i&&e){var d=e[n];Object.keys(u).forEach((function(e){var t=0<=["right","bottom"].indexOf(e)?1:-1,n=0<=["top","bottom"].indexOf(e)?"y":"x";u[e]+=d[n]*t}))}return u}function W(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function B(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=void 0===(e=e.defaultOptions)?F:e;return function(e,t,i){function a(){f.forEach((function(e){return e()})),f=[]}void 0===i&&(i=o);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},F,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},f=[],p=!1,c={state:s,setOptions:function(i){return a(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:r(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)},i=function(e){var t=b(e);return I.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,s.options.modifiers))),s.orderedModifiers=i.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options;n=void 0===n?{}:n,"function"==typeof(e=e.effect)&&(t=e({state:s,name:t,instance:c,options:n}),f.push(t||function(){}))})),c.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference;if(W(t,e=e.popper))for(s.rects={reference:u(t,y(e),"fixed"===s.options.strategy),popper:d(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)})),t=0;t<s.orderedModifiers.length;t++)if(!0===s.reset)s.reset=!1,t=-1;else{var n=s.orderedModifiers[t];e=n.fn;var o=n.options;o=void 0===o?{}:o,n=n.name,"function"==typeof e&&(s=e({state:s,options:o,name:n,instance:c})||s)}}},update:w((function(){return new Promise((function(e){c.forceUpdate(),e(s)}))})),destroy:function(){a(),p=!0}};return W(e,t)?(c.setOptions(i).then((function(e){!p&&i.onFirstUpdate&&i.onFirstUpdate(e)})),c):c}}function T(e){var t,o=e.popper,r=e.popperRect,i=e.placement,a=e.offsets,s=e.position,p=e.gpuAcceleration,l=e.adaptive;if(!0===(e=e.roundOffsets)){e=a.y;var u=window.devicePixelRatio||1;e={x:z(z(a.x*u)/u)||0,y:z(z(e*u)/u)||0}}else e="function"==typeof e?e(a):a;e=void 0===(e=(u=e).x)?0:e,u=void 0===(u=u.y)?0:u;var d=a.hasOwnProperty("x");a=a.hasOwnProperty("y");var m,h="left",v="top",g=window;if(l){var b=y(o),w="clientHeight",x="clientWidth";b===n(o)&&("static"!==c(b=f(o)).position&&(w="scrollHeight",x="scrollWidth")),"top"===i&&(v="bottom",u-=b[w]-r.height,u*=p?1:-1),"left"===i&&(h="right",e-=b[x]-r.width,e*=p?1:-1)}return o=Object.assign({position:s},l&&J),p?Object.assign({},o,((m={})[v]=a?"0":"",m[h]=d?"0":"",m.transform=2>(g.devicePixelRatio||1)?"translate("+e+"px, "+u+"px)":"translate3d("+e+"px, "+u+"px, 0)",m)):Object.assign({},o,((t={})[v]=a?u+"px":"",t[h]=d?e+"px":"",t.transform="",t))}function H(e){return e.replace(/left|right|bottom|top/g,(function(e){return $[e]}))}function R(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function S(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function q(e){return["top","right","bottom","left"].some((function(t){return 0<=e[t]}))}var C=["top","bottom","right","left"],N=C.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),V=[].concat(C,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),I="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),_=Math.max,U=Math.min,z=Math.round,F={placement:"bottom",modifiers:[],strategy:"absolute"},X={passive:!0},Y={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=(e=e.options).scroll,i=void 0===r||r,a=void 0===(e=e.resize)||e,s=n(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach((function(e){e.addEventListener("scroll",o.update,X)})),a&&s.addEventListener("resize",o.update,X),function(){i&&f.forEach((function(e){e.removeEventListener("scroll",o.update,X)})),a&&s.removeEventListener("resize",o.update,X)}},data:{}},G={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=P({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},J={top:"auto",right:"auto",bottom:"auto",left:"auto"},K={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options;e=void 0===(e=n.gpuAcceleration)||e;var o=n.adaptive;o=void 0===o||o,n=void 0===(n=n.roundOffsets)||n,e={placement:x(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e},null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,T(Object.assign({},e,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:n})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,T(Object.assign({},e,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:n})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Q={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];i(r)&&s(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{};e=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{}),i(o)&&s(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.name,o=void 0===(e=e.options.offset)?[0,0]:e,r=(e=V.reduce((function(e,n){var r=t.rects,i=x(n),a=0<=["left","top"].indexOf(i)?-1:1,s="function"==typeof o?o(Object.assign({},r,{placement:n})):o;return r=(r=s[0])||0,s=((s=s[1])||0)*a,i=0<=["left","right"].indexOf(i)?{x:s,y:r}:{x:r,y:s},e[n]=i,e}),{}))[t.placement],i=r.x;r=r.y,null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=r),t.modifiersData[n]=e}},$={left:"right",right:"left",bottom:"top",top:"bottom"},ee={start:"end",end:"start"},te={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;if(e=e.name,!t.modifiersData[e]._skip){var o=n.mainAxis;o=void 0===o||o;var r=n.altAxis;r=void 0===r||r;var i=n.fallbackPlacements,a=n.padding,s=n.boundary,f=n.rootBoundary,p=n.altBoundary,c=n.flipVariations,l=void 0===c||c,u=n.allowedAutoPlacements;c=x(n=t.options.placement),i=i||(c!==n&&l?function(e){if("auto"===x(e))return[];var t=H(e);return[R(e),t,R(t)]}(n):[H(n)]);var d=[n].concat(i).reduce((function(e,n){return e.concat("auto"===x(n)?function(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,a=t.allowedAutoPlacements,s=void 0===a?V:a,f=t.placement.split("-")[1];0===(i=(t=f?i?N:N.filter((function(e){return e.split("-")[1]===f})):C).filter((function(e){return 0<=s.indexOf(e)}))).length&&(i=t);var p=i.reduce((function(t,i){return t[i]=A(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[x(i)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:s,rootBoundary:f,padding:a,flipVariations:l,allowedAutoPlacements:u}):n)}),[]);n=t.rects.reference,i=t.rects.popper;var m=new Map;c=!0;for(var h=d[0],v=0;v<d.length;v++){var g=d[v],y=x(g),b="start"===g.split("-")[1],w=0<=["top","bottom"].indexOf(y),O=w?"width":"height",j=A(t,{placement:g,boundary:s,rootBoundary:f,altBoundary:p,padding:a});if(b=w?b?"right":"left":b?"bottom":"top",n[O]>i[O]&&(b=H(b)),O=H(b),w=[],o&&w.push(0>=j[y]),r&&w.push(0>=j[b],0>=j[O]),w.every((function(e){return e}))){h=g,c=!1;break}m.set(g,w)}if(c)for(o=function(e){var t=d.find((function(t){if(t=m.get(t))return t.slice(0,e).every((function(e){return e}))}));if(t)return h=t,"break"},r=l?3:1;0<r&&"break"!==o(r);r--);t.placement!==h&&(t.modifiersData[e]._skip=!0,t.placement=h,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ne={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;e=e.name;var o=n.mainAxis,r=void 0===o||o,i=void 0!==(o=n.altAxis)&&o;o=void 0===(o=n.tether)||o;var a=n.tetherOffset,s=void 0===a?0:a,f=A(t,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary});n=x(t.placement);var p=t.placement.split("-")[1],c=!p,l=L(n);n="x"===l?"y":"x",a=t.modifiersData.popperOffsets;var u=t.rects.reference,m=t.rects.popper,h="function"==typeof s?s(Object.assign({},t.rects,{placement:t.placement})):s;if(s={x:0,y:0},a){if(r||i){var v="y"===l?"top":"left",g="y"===l?"bottom":"right",b="y"===l?"height":"width",w=a[l],O=a[l]+f[v],j=a[l]-f[g],E=o?-m[b]/2:0,D="start"===p?u[b]:m[b];p="start"===p?-m[b]:-u[b],m=t.elements.arrow,m=o&&m?d(m):{width:0,height:0};var P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};v=P[v],g=P[g],m=_(0,U(u[b],m[b])),D=c?u[b]/2-E-m-v-h:D-m-v-h,u=c?-u[b]/2+E+m+g+h:p+m+g+h,c=t.elements.arrow&&y(t.elements.arrow),h=t.modifiersData.offset?t.modifiersData.offset[t.placement][l]:0,c=a[l]+D-h-(c?"y"===l?c.clientTop||0:c.clientLeft||0:0),u=a[l]+u-h,r&&(r=o?U(O,c):O,j=o?_(j,u):j,r=_(r,U(w,j)),a[l]=r,s[l]=r-w),i&&(r=(i=a[n])+f["x"===l?"top":"left"],f=i-f["x"===l?"bottom":"right"],r=o?U(r,c):r,o=o?_(f,u):f,o=_(r,U(i,o)),a[n]=o,s[n]=o-i)}t.modifiersData[e]=s}},requiresIfExists:["offset"]},oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=x(n.placement);if(e=L(s),s=0<=["left","right"].indexOf(s)?"height":"width",i&&a){r=M("number"!=typeof(r="function"==typeof(r=r.padding)?r(Object.assign({},n.rects,{placement:n.placement})):r)?r:k(r,C));var f=d(i),p="y"===e?"top":"left",c="y"===e?"bottom":"right",l=n.rects.reference[s]+n.rects.reference[e]-a[e]-n.rects.popper[s];a=a[e]-n.rects.reference[e],a=(i=(i=y(i))?"y"===e?i.clientHeight||0:i.clientWidth||0:0)/2-f[s]/2+(l/2-a/2),s=_(r[p],U(a,i-f[s]-r[c])),n.modifiersData[o]=((t={})[e]=s,t.centerOffset=s-a,t)}},effect:function(e){var t=e.state;if(null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)){if("string"==typeof e&&!(e=t.elements.popper.querySelector(e)))return;O(t.elements.popper,e)&&(t.elements.arrow=e)}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},re={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state;e=e.name;var n=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,i=A(t,{elementContext:"reference"}),a=A(t,{altBoundary:!0});n=S(i,n),o=S(a,o,r),r=q(n),a=q(o),t.modifiersData[e]={referenceClippingOffsets:n,popperEscapeOffsets:o,isReferenceHidden:r,hasPopperEscaped:a},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":r,"data-popper-escaped":a})}},ie=B({defaultModifiers:[Y,G,K,Q]}),ae=[Y,G,K,Q,Z,te,ne,oe,re],se=B({defaultModifiers:ae});e.applyStyles=Q,e.arrow=oe,e.computeStyles=K,e.createPopper=se,e.createPopperLite=ie,e.defaultModifiers=ae,e.detectOverflow=A,e.eventListeners=Y,e.flip=te,e.hide=re,e.offset=Z,e.popperGenerator=B,e.popperOffsets=G,e.preventOverflow=ne,Object.defineProperty(e,"__esModule",{value:!0})}));
6
+ //# sourceMappingURL=popper.min.js.map
vendor/qtip/qtip.css DELETED
@@ -1,2 +0,0 @@
1
- /* qTip2 v2.1.1 basic css3 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */
2
- .qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid;border-color:transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-titlebar .ui-icon,.qtip-icon .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}.qtip-focus{}.qtip-hover{}.qtip-default{border-width:1px;border-style:solid;border-color:#F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111} .qtip-light{background-color:#fff;border-color:#E2E2E2;color:#454545}.qtip-light .qtip-titlebar{background-color:#f1f1f1} .qtip-dark{background-color:#505050;border-color:#303030;color:#f3f3f3}.qtip-dark .qtip-titlebar{background-color:#404040}.qtip-dark .qtip-icon{border-color:#444}.qtip-dark .qtip-titlebar .ui-state-hover{border-color:#303030} .qtip-cream{background-color:#FBF7AA;border-color:#F9E98E;color:#A27D35}.qtip-cream .qtip-titlebar{background-color:#F0DE7D}.qtip-cream .qtip-close .qtip-icon{background-position:-82px 0} .qtip-red{background-color:#F78B83;border-color:#D95252;color:#912323}.qtip-red .qtip-titlebar{background-color:#F06D65}.qtip-red .qtip-close .qtip-icon{background-position:-102px 0}.qtip-red .qtip-icon{border-color:#D95252}.qtip-red .qtip-titlebar .ui-state-hover{border-color:#D95252} .qtip-green{background-color:#CAED9E;border-color:#90D93F;color:#3F6219}.qtip-green .qtip-titlebar{background-color:#B0DE78}.qtip-green .qtip-close .qtip-icon{background-position:-42px 0} .qtip-blue{background-color:#E5F6FE;border-color:#ADD9ED;color:#5E99BD}.qtip-blue .qtip-titlebar{background-color:#D0E9F5}.qtip-blue .qtip-close .qtip-icon{background-position:-2px 0}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-rounded,.qtip-tipsy,.qtip-bootstrap{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border-width:0;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:#4A4A4A;background-color:rgba(0,0,0,0)}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323)"}.qtip-jtools .qtip-titlebar,.qtip-jtools .qtip-content{background:transparent;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:transparent}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}x:-o-prefocus,.qtip .qtip-tip{visibility:hidden}.qtip .qtip-tip,.qtip .qtip-tip .qtip-vml,.qtip .qtip-tip canvas{position:absolute;color:#123456;background:transparent;border:0 dashed transparent}.qtip .qtip-tip canvas{top:0;left:0}.qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}#qtip-overlay{position:fixed;left:-10000em;top:-10000em}#qtip-overlay.blurs{cursor:pointer}#qtip-overlay div{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;opacity:.7;filter:alpha(opacity=70);-ms-filter:"alpha(Opacity=70)"}.qtipmodal-ie6fix{position:absolute!important}
 
 
vendor/qtip/qtip.js DELETED
@@ -1,3 +0,0 @@
1
- /* qTip2 v2.1.1 tips modal viewport svg imagemap ie6 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */
2
- (function(t,e,s){(function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","imagesloaded"],t):jQuery&&!jQuery.fn.qtip&&t(jQuery)})(function(o){function n(t,e,i,s){this.id=i,this.target=t,this.tooltip=E,this.elements=elements={target:t},this._id=$+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache=cache={event:{},target:o(),disabled:S,attr:s,onTooltip:S,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=S}function r(t){return t===E||"object"!==o.type(t)}function a(t){return!(o.isFunction(t)||t&&t.attr||t.length||"object"===o.type(t)&&(t.jquery||t.then))}function h(t){var e,i,s,n;return r(t)?S:(r(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(e=t.content,r(e)||e.jquery||e.done?e=t.content={text:i=a(e)?S:e}:i=e.text,"ajax"in e&&(s=e.ajax,n=s&&s.once!==S,delete e.ajax,e.text=function(t,e){var r=i||o(this).attr(e.options.content.attr)||"Loading...",a=o.ajax(o.extend({},s,{context:e})).then(s.success,E,s.error).then(function(t){return t&&n&&e.set("content.text",t),t},function(t,i,s){e.destroyed||0===t.status||e.set("content.text",i+": "+s)});return n?r:(e.set("content.text",r),a)}),"title"in e&&(r(e.title)||(e.button=e.title.button,e.title=e.title.text),a(e.title||S)&&(e.title=S))),"position"in t&&r(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&r(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===M?{ready:M}:{event:t.show}),"hide"in t&&r(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&r(t.style)&&(t.style={classes:t.style}),o.each(N,function(){this.sanitize&&this.sanitize(t)}),t)}function l(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)n.length>s&&(i=o);return[i||t,n.pop()]}function c(t,e){var i,s,o;for(i in this.checks)for(s in this.checks[i])(o=RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}function p(t){return H.concat("").join(t?"-"+t+" ":" ")}function d(t){if(this.tooltip.hasClass(te))return S;clearTimeout(this.timers.show),clearTimeout(this.timers.hide);var e=o.proxy(function(){this.toggle(M,t)},this);this.options.show.delay>0?this.timers.show=setTimeout(e,this.options.show.delay):e()}function u(t){if(this.tooltip.hasClass(te))return S;var e=o(t.relatedTarget),i=e.closest(G)[0]===this.tooltip[0],s=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||s))try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}else{var r=o.proxy(function(){this.toggle(S,t)},this);this.options.hide.delay>0?this.timers.hide=setTimeout(r,this.options.hide.delay):r()}}function f(t){return this.tooltip.hasClass(te)||!this.options.hide.inactive?S:(clearTimeout(this.timers.inactive),this.timers.inactive=setTimeout(o.proxy(function(){this.hide(t)},this),this.options.hide.inactive),s)}function g(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function m(t,i,s){o(e.body).delegate(t,(i.split?i:i.join(re+" "))+re,function(){var t=T.api[o.attr(this,Y)];t&&!t.disabled&&s.apply(t,arguments)})}function v(t,i,s){var r,a,l,c,p,d=o(e.body),u=t[0]===e?d:t,f=t.metadata?t.metadata(s.metadata):E,g="html5"===s.metadata.type&&f?f[s.metadata.name]:E,m=t.data(s.metadata.name||"qtipopts");try{m="string"==typeof m?o.parseJSON(m):m}catch(v){}if(c=o.extend(M,{},T.defaults,s,"object"==typeof m?h(m):E,h(g||f)),a=c.position,c.id=i,"boolean"==typeof c.content.text){if(l=t.attr(c.content.attr),c.content.attr===S||!l)return S;c.content.text=l}if(a.container.length||(a.container=d),a.target===S&&(a.target=u),c.show.target===S&&(c.show.target=u),c.show.solo===M&&(c.show.solo=a.container.closest("body")),c.hide.target===S&&(c.hide.target=u),c.position.viewport===M&&(c.position.viewport=a.container),a.container=a.container.eq(0),a.at=new j(a.at,M),a.my=new j(a.my),t.data($))if(c.overwrite)t.qtip("destroy");else if(c.overwrite===S)return S;return t.attr(X,i),c.suppress&&(p=t.attr("title"))&&t.removeAttr("title").attr(ie,p).attr("title",""),r=new n(t,c,i,!!l),t.data($,r),t.one("remove.qtip-"+i+" removeqtip.qtip-"+i,function(){var t;(t=o(this).data($))&&t.destroy()}),r}function y(t){return t.charAt(0).toUpperCase()+t.slice(1)}function b(t,e){var i,o,n=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+ve.join(n+" ")+n).split(" "),a=0;if(me[e])return t.css(me[e]);for(;i=r[a++];)if((o=t.css(i))!==s)return me[e]=i,o}function w(t,e){return parseInt(b(t,e),10)}function x(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.init(this.qtip=t)}function _(t,e){this.options=e,this._ns="-modal",this.init(this.qtip=t)}function q(t){this._ns="ie6",this.init(this.qtip=t)}var T,C,j,z,W,M=!0,S=!1,E=null,O="x",R="y",I="width",k="height",B="top",L="left",P="bottom",V="right",D="center",A="flipinvert",F="shift",N={},$="qtip",X="data-hasqtip",Y="data-qtip-id",H=["ui-widget","ui-tooltip"],G="."+$,U="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Q=$+"-fixed",J=$+"-default",K=$+"-focus",Z=$+"-hover",te=$+"-disabled",ee="_replacedByqTip",ie="oldtitle";BROWSER={ie:function(){for(var t=3,i=e.createElement("div");(i.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->")&&i.getElementsByTagName("i")[0];);return t>4?t:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||S},C=n.prototype,C.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,s=this.cache,n=this.elements,r=i.content.text,a=i.content.title,h=i.content.button,l=i.position,c="."+this._id+" ",p=[];return o.attr(this.target[0],"aria-describedby",this._id),this.tooltip=n.tooltip=tooltip=o("<div/>",{id:this._id,"class":[$,J,i.style.classes,$+"-pos-"+i.position.my.abbrev()].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":S,"aria-describedby":this._id+"-content","aria-hidden":M}).toggleClass(te,this.disabled).attr(Y,this.id).data($,this).appendTo(l.container).append(n.content=o("<div />",{"class":$+"-content",id:this._id+"-content","aria-atomic":M})),this.rendered=-1,this.positioning=M,a&&(this._createTitle(),o.isFunction(a)||p.push(this._updateTitle(a,S))),h&&this._createButton(),o.isFunction(r)||p.push(this._updateContent(r,S)),this.rendered=M,this._setWidget(),o.each(i.events,function(t,e){o.isFunction(e)&&tooltip.bind(("toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t]).join(c)+c,e)}),o.each(N,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._assignEvents(),o.when.apply(o,p).then(function(){e._trigger("render"),e.positioning=S,e.hiddenDuringWait||!i.show.ready&&!t||e.toggle(M,s.event,S),e.hiddenDuringWait=S}),T.api[this.id]=this,this},C.destroy=function(t){function e(){if(!this.destroyed){this.destroyed=M;var t=this.target,e=t.attr(ie);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),o.each(this.plugins,function(){this.destroy&&this.destroy()}),clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this._unassignEvents(),t.removeData($).removeAttr(Y).removeAttr("aria-describedby"),this.options.suppress&&e&&t.attr("title",e).removeAttr(ie),this._unbind(t),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=E,delete T.api[this.id]}}return this.destroyed?this.target:(t!==M&&this.rendered?(tooltip.one("tooltiphidden",o.proxy(e,this)),!this.triggering&&this.hide()):e.call(this),this.target)},z=C.checks={builtin:{"^id$":function(t,e,i,s){var n=i===M?T.nextid:i,r=$+"-"+n;n!==S&&n.length>0&&!o("#"+r).length?(this._id=r,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=s},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,i){return i?(i&&!this.elements.title&&this._createTitle(),this._updateTitle(i),s):this._removeTitle()},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(t[e]=new j(i,"at"===e))},"^position.container$":function(t,e,i){this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(M)||this.toggle(M))},"^style.classes$":function(t,e,i,s){this.tooltip.removeClass(s).addClass(i)},"^style.width|height":function(t,e,i){this.tooltip.css(e,i)},"^style.widget|content.title":function(){this._setWidget()},"^style.def":function(t,e,i){this.tooltip.toggleClass(J,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){tooltip[(o.isFunction(i)?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var t=this.options.position;tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}},C.get=function(t){if(this.destroyed)return this;var e=l(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var se=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,oe=/^prerender|show\.ready/i;C.set=function(t,e){if(this.destroyed)return this;var i,n=this.rendered,r=S,a=this.options;return this.checks,"string"==typeof t?(i=t,t={},t[i]=e):t=o.extend({},t),o.each(t,function(e,i){if(!n&&!oe.test(e))return delete t[e],s;var h,c=l(a,e.toLowerCase());h=c[0][c[1]],c[0][c[1]]=i&&i.nodeType?o(i):i,r=se.test(e)||r,t[e]=[c[0],c[1],i,h]}),h(a),this.positioning=M,o.each(t,o.proxy(c,this)),this.positioning=S,this.rendered&&this.tooltip[0].offsetWidth>0&&r&&this.reposition("mouse"===a.position.target?E:this.cache.event),this},C._update=function(t,e){var i=this,s=this.cache;return this.rendered&&t?(o.isFunction(t)&&(t=t.call(this.elements.target,s.event,this)||""),o.isFunction(t.then)?(s.waiting=M,t.then(function(t){return s.waiting=S,i._update(t,e)},E,function(t){return i._update(t,e)})):t===S||!t&&""!==t?S:(t.jquery&&t.length>0?e.children().detach().end().append(t.css({display:"block"})):e.html(t),s.waiting=M,(o.fn.imagesLoaded?e.imagesLoaded():o.Deferred().resolve(o([]))).done(function(t){s.waiting=S,t.length&&i.rendered&&i.tooltip[0].offsetWidth>0&&i.reposition(s.event,!t.length)}).promise())):S},C._updateContent=function(t,e){this._update(t,this.elements.content,e)},C._updateTitle=function(t,e){this._update(t,this.elements.title,e)===S&&this._removeTitle(S)},C._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=o("<div />",{"class":$+"-titlebar "+(this.options.style.widget?p("header"):"")}).append(t.title=o("<div />",{id:e,"class":$+"-title","aria-atomic":M})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){o(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){o(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},C._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=E,t!==S&&this.reposition())},C.reposition=function(i,s){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=M;var n,r,a=this.cache,h=this.tooltip,l=this.options.position,c=l.target,p=l.my,d=l.at,u=l.viewport,f=l.container,g=l.adjust,m=g.method.split(" "),v=h.outerWidth(S),y=h.outerHeight(S),b=0,w=0,x=h.css("position"),_={left:0,top:0},q=h[0].offsetWidth>0,T=i&&"scroll"===i.type,C=o(t),j=f[0].ownerDocument,z=this.mouse;if(o.isArray(c)&&2===c.length)d={x:L,y:B},_={left:c[0],top:c[1]};else if("mouse"===c&&(i&&i.pageX||a.event.pageX))d={x:L,y:B},i=!z||!z.pageX||!g.mouse&&i&&i.pageX?(!i||"resize"!==i.type&&"scroll"!==i.type?i&&i.pageX&&"mousemove"===i.type?i:(!g.mouse||this.options.show.distance)&&a.origin&&a.origin.pageX?a.origin:i:a.event)||i||a.event||z||{}:z,"static"!==x&&(_=f.offset()),j.body.offsetWidth!==(t.innerWidth||j.documentElement.clientWidth)&&(r=o(j.body).offset()),_={left:i.pageX-_.left+(r&&r.left||0),top:i.pageY-_.top+(r&&r.top||0)},g.mouse&&T&&(_.left-=z.scrollX-C.scrollLeft(),_.top-=z.scrollY-C.scrollTop());else{if("event"===c&&i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?a.target=o(i.target):"event"!==c&&(a.target=o(c.jquery?c:elements.target)),c=a.target,c=o(c).eq(0),0===c.length)return this;c[0]===e||c[0]===t?(b=BROWSER.iOS?t.innerWidth:c.width(),w=BROWSER.iOS?t.innerHeight:c.height(),c[0]===t&&(_={top:(u||c).scrollTop(),left:(u||c).scrollLeft()})):N.imagemap&&c.is("area")?n=N.imagemap(this,c,d,N.viewport?m:S):N.svg&&c[0].ownerSVGElement?n=N.svg(this,c,d,N.viewport?m:S):(b=c.outerWidth(S),w=c.outerHeight(S),_=c.offset()),n&&(b=n.width,w=n.height,r=n.offset,_=n.position),_=this.reposition.offset(c,_,f),(BROWSER.iOS>3.1&&4.1>BROWSER.iOS||BROWSER.iOS>=4.3&&4.33>BROWSER.iOS||!BROWSER.iOS&&"fixed"===x)&&(_.left-=C.scrollLeft(),_.top-=C.scrollTop()),(!n||n&&n.adjustable!==S)&&(_.left+=d.x===V?b:d.x===D?b/2:0,_.top+=d.y===P?w:d.y===D?w/2:0)}return _.left+=g.x+(p.x===V?-v:p.x===D?-v/2:0),_.top+=g.y+(p.y===P?-y:p.y===D?-y/2:0),N.viewport?(_.adjusted=N.viewport(this,_,l,b,w,v,y),r&&_.adjusted.left&&(_.left+=r.left),r&&_.adjusted.top&&(_.top+=r.top)):_.adjusted={left:0,top:0},this._trigger("move",[_,u.elem||u],i)?(delete _.adjusted,s===S||!q||isNaN(_.left)||isNaN(_.top)||"mouse"===c||!o.isFunction(l.effect)?h.css(_):o.isFunction(l.effect)&&(l.effect.call(h,this,o.extend({},_)),h.queue(function(t){o(this).css({opacity:"",height:""}),BROWSER.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=S,this):this},C.reposition.offset=function(t,i,s){function n(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}if(!s[0])return i;var r,a,h,l,c=o(t[0].ownerDocument),p=!!BROWSER.ie&&"CSS1Compat"!==e.compatMode,d=s[0];do"static"!==(a=o.css(d,"position"))&&("fixed"===a?(h=d.getBoundingClientRect(),n(c,-1)):(h=o(d).position(),h.left+=parseFloat(o.css(d,"borderLeftWidth"))||0,h.top+=parseFloat(o.css(d,"borderTopWidth"))||0),i.left-=h.left+(parseFloat(o.css(d,"marginLeft"))||0),i.top-=h.top+(parseFloat(o.css(d,"marginTop"))||0),r||"hidden"===(l=o.css(d,"overflow"))||"visible"===l||(r=o(d)));while(d=d.offsetParent);return r&&(r[0]!==c[0]||p)&&n(r,1),i};var ne=(j=C.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,D).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?R:O}).prototype;ne.invert=function(t,e){this[t]=this[t]===L?V:this[t]===V?L:e||this[t]},ne.string=function(){var t=this.x,e=this.y;return t===e?t:this.precedance===R||this.forceY&&"center"!==e?e+" "+t:t+" "+e},ne.abbrev=function(){var t=this.string().split(" ");return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},ne.clone=function(){return new j(this.string(),this.forceY)},C.toggle=function(t,i){var s=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&/out|leave/.test(s.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;s.event=o.extend({},i)}if(this.waiting&&!t&&(this.hiddenDuringWait=M),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,l=t?"show":"hide",c=this.options[l],p=(this.options[t?"hide":"show"],this.options.position),d=this.options.content,u=this.tooltip.css("width"),f=this.tooltip[0].offsetWidth>0,g=t||1===c.target.length,m=!i||2>c.target.length||s.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!f),a=!r.is(":animated")&&f===t&&m,h=a?E:!!this._trigger(l,[90]),h!==S&&t&&this.focus(i),!h||a?this:(o.attr(r[0],"aria-hidden",!t),t?(s.origin=o.extend({},this.mouse),o.isFunction(d.text)&&this._updateContent(d.text,S),o.isFunction(d.title)&&this._updateTitle(d.title,S),!W&&"mouse"===p.target&&p.adjust.mouse&&(o(e).bind("mousemove."+$,this._storeMouse),W=M),u||r.css("width",r.outerWidth(S)),this.reposition(i,arguments[2]),u||r.css("width",""),c.solo&&("string"==typeof c.solo?o(c.solo):o(G,c.solo)).not(r).not(c.target).qtip("hide",o.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete s.origin,W&&!o(G+'[tracking="true"]:visible',c.solo).not(r).length&&(o(e).unbind("mousemove."+$),W=S),this.blur(i)),after=o.proxy(function(){t?(BROWSER.ie&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof c.autofocus&&o(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),c.effect===S||g===S?(r[l](),after()):o.isFunction(c.effect)?(r.stop(1,1),c.effect.call(r,this),r.queue("fx",function(t){after(),t()})):r.fadeTo(90,t?1:0,after),t&&c.target.trigger("qtip-"+this.id+"-inactive"),this)},C.show=function(t){return this.toggle(M,t)},C.hide=function(t){return this.toggle(S,t)},C.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=o(G),i=this.tooltip,s=parseInt(i[0].style.zIndex,10),n=T.zindex+e.length;return i.hasClass(K)||this._trigger("focus",[n],t)&&(s!==n&&(e.each(function(){this.style.zIndex>s&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+K).qtip("blur",t)),i.addClass(K)[0].style.zIndex=n),this},C.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(K),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},C.disable=function(t){return this.destroyed?this:("boolean"!=typeof t&&(t=!(this.tooltip.hasClass(te)||this.disabled)),this.rendered&&this.tooltip.toggleClass(te,t).attr("aria-disabled",t),this.disabled=!!t,this)},C.enable=function(){return this.disable(S)},C._createButton=function(){var t=this,e=this.elements,i=e.tooltip,s=this.options.content.button,n="string"==typeof s,r=n?s:"Close tooltip";e.button&&e.button.remove(),e.button=s.jquery?s:o("<a />",{"class":"qtip-close "+(this.options.style.widget?"":$+"-icon"),title:r,"aria-label":r}).prepend(o("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),e.button.appendTo(e.titlebar||i).attr("role","button").click(function(e){return i.hasClass(te)||t.hide(e),S})},C._updateButton=function(t){if(!this.rendered)return S;var e=this.elements.button;t?this._createButton():e.remove()},C._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(te);i.removeClass(te),te=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(te,s),i.toggleClass("ui-helper-reset "+p(),t).toggleClass(J,this.options.style.def&&!t),e.content&&e.content.toggleClass(p("content"),t),e.titlebar&&e.titlebar.toggleClass(p("header"),t),e.button&&e.button.toggleClass($+"-icon",!t)},C._storeMouse=function(i){this.mouse={pageX:i.pageX,pageY:i.pageY,type:"mousemove",scrollX:t.pageXOffset||e.body.scrollLeft||e.documentElement.scrollLeft,scrollY:t.pageYOffset||e.body.scrollTop||e.documentElement.scrollTop}},C._bind=function(t,e,i,s,n){var r="."+this._id+(s?"-"+s:"");e.length&&o(t).bind((e.split?e:e.join(r+" "))+r,o.proxy(i,n||this))},C._unbind=function(t,e){o(t).unbind("."+this._id+(e?"-"+e:""))};var re="."+$;o(function(){m(G,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=o(t.currentTarget),s=o(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(Q)&&!i.hasClass(te)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.hide.event&&n.show.target&&!s.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(Z,e)}),m("["+Y+"]",U,f)}),C._trigger=function(t,e,i){var s=o.Event("tooltip"+t);return s.originalEvent=i&&o.extend({},i)||this.cache.event||E,this.triggering=M,this.tooltip.trigger(s,[this].concat(e||[])),this.triggering=S,!s.isDefaultPrevented()},C._assignEvents=function(){var i=this.options,n=i.position,r=this.tooltip,a=i.show.target,h=i.hide.target,l=n.container,c=n.viewport,p=o(e),m=(o(e.body),o(t)),v=i.show.event?o.trim(""+i.show.event).split(" "):[],y=i.hide.event?o.trim(""+i.hide.event).split(" "):[],b=[];/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(p,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),i.hide.fixed?h=h.add(r.addClass(Q)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(h,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(t){var e=o(t.target),i=this.rendered&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0,s=e.parents(G).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||s||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof i.hide.inactive&&(this._bind(a,"qtip-"+this.id+"-inactive",f),this._bind(h.add(r),T.inactiveEvents,f,"-inactive")),y=o.map(y,function(t){var e=o.inArray(t,v);return e>-1&&h.add(a).length===h.length?(b.push(v.splice(e,1)[0]),s):t}),this._bind(a,v,d),this._bind(h,y,u),this._bind(a,b,function(t){(this.tooltip[0].offsetWidth>0?u:d).call(this,t)}),this._bind(a.add(r),"mousemove",function(t){if("number"==typeof i.hide.distance){var e=this.cache.origin||{},s=this.options.hide.distance,o=Math.abs;(o(t.pageX-e.pageX)>=s||o(t.pageY-e.pageY)>=s)&&this.hide(t)}this._storeMouse(t)}),"mouse"===n.target&&n.adjust.mouse&&(i.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(t){this.cache.onTarget="mouseenter"===t.type}),this._bind(p,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(n.adjust.resize||c.length)&&this._bind(o.event.special.resize?c:m,"resize",g),n.adjust.scroll&&this._bind(m.add(n.container),"scroll",g)},C._unassignEvents=function(){var i=[this.options.show.target[0],this.options.hide.target[0],this.rendered&&this.tooltip[0],this.options.position.container[0],this.options.position.viewport[0],this.options.position.container.closest("html")[0],t,e];this.rendered?this._unbind(o([]).pushStack(o.grep(i,function(t){return"object"==typeof t}))):o(i[0]).unbind("."+this._id+"-create")},T=o.fn.qtip=function(t,e,i){var n=(""+t).toLowerCase(),r=E,a=o.makeArray(arguments).slice(1),l=a[a.length-1],c=this[0]?o.data(this[0],$):E;return!arguments.length&&c||"api"===n?c:"string"==typeof t?(this.each(function(){var t=o.data(this,$);if(!t)return M;if(l&&l.timeStamp&&(t.cache.event=l),!e||"option"!==n&&"options"!==n)t[n]&&t[n].apply(t,a);else{if(i===s&&!o.isPlainObject(e))return r=t.get(e),S;t.set(e,i)}}),r!==E?r:this):"object"!=typeof t&&arguments.length?s:(c=h(o.extend(M,{},t)),T.bind.call(this,c,l))},T.bind=function(t,e){return this.each(function(i){function n(t){function e(){c.render("object"==typeof t||r.show.ready),a.show.add(a.hide).unbind(l)}return c.disabled?S:(c.cache.event=o.extend({},t),c.cache.target=t?o(t.target):[s],r.show.delay>0?(clearTimeout(c.timers.show),c.timers.show=setTimeout(e,r.show.delay),h.show!==h.hide&&a.hide.bind(h.hide,function(){clearTimeout(c.timers.show)})):e(),s)}var r,a,h,l,c,p;return p=o.isArray(t.id)?t.id[i]:t.id,p=!p||p===S||1>p.length||T.api[p]?T.nextid++:p,l=".qtip-"+p+"-create",c=v(o(this),p,t),c===S?M:(T.api[p]=c,r=c.options,o.each(N,function(){"initialize"===this.initialize&&this(c)}),a={show:r.show.target,hide:r.hide.target},h={show:o.trim(""+r.show.event).replace(/ /g,l+" ")+l,hide:o.trim(""+r.hide.event).replace(/ /g,l+" ")+l},/mouse(over|enter)/i.test(h.show)&&!/mouse(out|leave)/i.test(h.hide)&&(h.hide+=" mouseleave"+l),a.show.bind("mousemove"+l,function(t){c._storeMouse(t),c.cache.onTarget=M}),a.show.bind(h.show,n),(r.show.ready||r.prerender)&&n(e),s)})},T.api={},o.each({attr:function(t,e){if(this.length){var i=this[0],s="title",n=o.data(i,"qtip");if(t===s&&n&&"object"==typeof n&&n.options.suppress)return 2>arguments.length?o.attr(i,ie):(n&&n.options.content.attr===s&&n.cache.attr&&n.set("content.text",e),this.attr(ie,e))}return o.fn["attr"+ee].apply(this,arguments)},clone:function(t){var e=(o([]),o.fn["clone"+ee].apply(this,arguments));return t||e.filter("["+ie+"]").attr("title",function(){return o.attr(this,ie)}).removeAttr(ie),e}},function(t,e){if(!e||o.fn[t+ee])return M;var i=o.fn[t+ee]=o.fn[t];o.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),o.ui||(o["cleanData"+ee]=o.cleanData,o.cleanData=function(t){for(var e,i=0;(e=o(t[i])).length;i++)if(e.attr(X))try{e.triggerHandler("removeqtip")}catch(s){}o["cleanData"+ee].apply(this,arguments)}),T.version="2.1.1",T.nextid=0,T.inactiveEvents=U,T.zindex=15e3,T.defaults={prerender:S,id:S,overwrite:M,suppress:M,content:{text:M,attr:"title",title:S,button:S},position:{my:"top left",at:"bottom right",target:S,container:S,viewport:S,adjust:{x:0,y:0,mouse:M,scroll:M,resize:M,method:"flipinvert flipinvert"},effect:function(t,e){o(this).animate(e,{duration:200,queue:S})}},show:{target:S,event:"mouseenter",effect:M,delay:90,solo:S,ready:S,autofocus:S},hide:{target:S,event:"mouseleave",effect:M,delay:0,fixed:S,inactive:S,leave:"window",distance:S},style:{classes:"",widget:S,width:S,height:S,def:M},events:{render:E,move:E,show:E,hide:E,toggle:E,visible:E,hidden:E,focus:E,blur:E}};var ae,he="margin",le="border",ce="color",pe="background-color",de="transparent",ue=" !important",fe=!!e.createElement("canvas").getContext,ge=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,me={},ve=["Webkit","O","Moz","ms"];fe||(createVML=function(t,e,i){return"<qtipvml:"+t+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(e||"")+' style="behavior: url(#default#VML); '+(i||"")+'" />'}),o.extend(x.prototype,{init:function(t){var e,i;i=this.element=t.elements.tip=o("<div />",{"class":$+"-tip"}).prependTo(t.tooltip),fe?(e=o("<canvas />").appendTo(this.element)[0].getContext("2d"),e.lineJoin="miter",e.miterLimit=100,e.save()):(e=createVML("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(e+e),t._bind(o("*",i).add(i),["click","mousedown"],function(t){t.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(t){var e=this.qtip.elements.titlebar;return e&&(t.y===B||t.y===D&&this.element.position().top+this.size[1]/2+this.options.offset<e.outerHeight(M))},_parseCorner:function(t){var e=this.qtip.options.position.my;return t===S||e===S?t=S:t===M?t=new j(e.string()):t.string||(t=new j(t),t.fixed=M),t},_parseWidth:function(t,e,i){var s=this.qtip.elements,o=le+y(e)+"Width";return(i?w(i,o):w(s.content,o)||w(this._useTitle(t)&&s.titlebar||s.content,o)||w(tooltip,o))||0},_parseRadius:function(t){var e=this.qtip.elements,i=le+y(t.y)+y(t.x)+"Radius";return 9>BROWSER.ie?0:w(this._useTitle(t)&&e.titlebar||e.content,i)||w(e.tooltip,i)||0},_invalidColour:function(t,e,i){var s=t.css(e);return!s||i&&s===t.css(i)||ge.test(s)?S:s},_parseColours:function(t){var e=this.qtip.elements,i=this.element.css("cssText",""),s=le+y(t[t.precedance])+y(ce),n=this._useTitle(t)&&e.titlebar||e.content,r=this._invalidColour,a=[];return a[0]=r(i,pe)||r(n,pe)||r(e.content,pe)||r(tooltip,pe)||i.css(pe),a[1]=r(i,s,ce)||r(n,s,ce)||r(e.content,s,ce)||r(tooltip,s,ce)||tooltip.css(s),o("*",i).add(i).css("cssText",pe+":"+de+ue+";"+le+":0"+ue+";"),a},_calculateSize:function(t){var e,i,s,o=t.precedance===R,n=this.options[o?"height":"width"],r=this.options[o?"width":"height"],a="c"===t.abbrev(),h=n*(a?.5:1),l=Math.pow,c=Math.round,p=Math.sqrt(l(h,2)+l(r,2)),d=[this.border/h*p,this.border/r*p];return d[2]=Math.sqrt(l(d[0],2)-l(this.border,2)),d[3]=Math.sqrt(l(d[1],2)-l(this.border,2)),e=p+d[2]+d[3]+(a?0:d[0]),i=e/p,s=[c(i*n),c(i*r)],o?s:s.reverse()},_calculateTip:function(t){var e=this.size[0],i=this.size[1],s=Math.ceil(e/2),o=Math.ceil(i/2),n={br:[0,0,e,i,e,0],bl:[0,0,e,0,0,i],tr:[0,i,e,0,e,i],tl:[0,0,0,i,e,i],tc:[0,i,s,0,e,i],bc:[0,0,e,0,s,i],rc:[0,0,e,o,0,i],lc:[e,0,e,i,0,o]};return n.lt=n.br,n.rt=n.bl,n.lb=n.tr,n.rb=n.tl,n[t.abbrev()]},create:function(){var t=this.corner=(fe||BROWSER.ie)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,e){if(!this.enabled)return this;var i,s,n,r,a,h,l,c=(this.qtip.elements,this.element),p=c.children(),d=this.options,u=this.size,f=d.mimic,g=Math.round;t||(t=this.qtip.cache.corner||this.corner),f===S?f=t:(f=new j(f),f.precedance=t.precedance,"inherit"===f.x?f.x=t.x:"inherit"===f.y?f.y=t.y:f.x===f.y&&(f[t.precedance]=t[t.precedance])),s=f.precedance,t.precedance===O?this._swapDimensions():this._resetDimensions(),i=this.color=this._parseColours(t),i[1]!==de?(l=this.border=this._parseWidth(t,t[t.precedance]),d.border&&1>l&&(i[0]=i[1]),this.border=l=d.border!==M?d.border:l):this.border=l=0,r=this._calculateTip(f),h=this.size=this._calculateSize(t),c.css({width:h[0],height:h[1],lineHeight:h[1]+"px"}),a=t.precedance===R?[g(f.x===L?l:f.x===V?h[0]-u[0]-l:(h[0]-u[0])/2),g(f.y===B?h[1]-u[1]:0)]:[g(f.x===L?h[0]-u[0]:0),g(f.y===B?l:f.y===P?h[1]-u[1]-l:(h[1]-u[1])/2)],fe?(p.attr(I,h[0]).attr(k,h[1]),n=p[0].getContext("2d"),n.restore(),n.save(),n.clearRect(0,0,3e3,3e3),n.fillStyle=i[0],n.strokeStyle=i[1],n.lineWidth=2*l,n.translate(a[0],a[1]),n.beginPath(),n.moveTo(r[0],r[1]),n.lineTo(r[2],r[3]),n.lineTo(r[4],r[5]),n.closePath(),l&&("border-box"===tooltip.css("background-clip")&&(n.strokeStyle=i[0],n.stroke()),n.strokeStyle=i[1],n.stroke()),n.fill()):(r="m"+r[0]+","+r[1]+" l"+r[2]+","+r[3]+" "+r[4]+","+r[5]+" xe",a[2]=l&&/^(r|b)/i.test(t.string())?8===BROWSER.ie?2:1:0,p.css({coordsize:u[0]+l+" "+(u[1]+l),antialias:""+(f.string().indexOf(D)>-1),left:a[0]-a[2]*Number(s===O),top:a[1]-a[2]*Number(s===R),width:u[0]+l,height:u[1]+l}).each(function(t){var e=o(this);e[e.prop?"prop":"attr"]({coordsize:u[0]+l+" "+(u[1]+l),path:r,fillcolor:i[0],filled:!!t,stroked:!t}).toggle(!(!l&&!t)),!t&&e.html(createVML("stroke",'weight="'+2*l+'px" color="'+i[1]+'" miterlimit="1000" joinstyle="miter"'))})),e!==S&&this.calculate(t)},calculate:function(t){if(!this.enabled)return S;var e,i,s,n=this,r=this.qtip.elements,a=this.element,h=this.options.offset,l=(this.qtip.tooltip.hasClass("ui-widget"),{});return t=t||this.corner,e=t.precedance,i=this._calculateSize(t),s=[t.x,t.y],e===O&&s.reverse(),o.each(s,function(s,o){var a,c,p;o===D?(a=e===R?L:B,l[a]="50%",l[he+"-"+a]=-Math.round(i[e===R?0:1]/2)+h):(a=n._parseWidth(t,o,r.tooltip),c=n._parseWidth(t,o,r.content),p=n._parseRadius(t),l[o]=Math.max(-n.border,s?c:h+(p>a?p:-a)))}),l[t[e]]-=i[e===O?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,i){if(this.enabled){var o,n,r=e.cache,a=this.corner.clone(),h=i.adjusted,l=e.options.position.adjust.method.split(" "),c=l[0],p=l[1]||l[0],d={left:S,top:S,x:0,y:0},u={};this.corner.fixed!==M&&(c===F&&a.precedance===O&&h.left&&a.y!==D?a.precedance=a.precedance===O?R:O:c!==F&&h.left&&(a.x=a.x===D?h.left>0?L:V:a.x===L?V:L),p===F&&a.precedance===R&&h.top&&a.x!==D?a.precedance=a.precedance===R?O:R:p!==F&&h.top&&(a.y=a.y===D?h.top>0?B:P:a.y===B?P:B),a.string()===r.corner.string()||r.cornerTop===h.top&&r.cornerLeft===h.left||this.update(a,S)),o=this.calculate(a,h),o.right!==s&&(o.left=-o.right),o.bottom!==s&&(o.top=-o.bottom),o.user=this.offset,(d.left=c===F&&!!h.left)&&(a.x===D?u[he+"-left"]=d.x=o[he+"-left"]-h.left:(n=o.right!==s?[h.left,-o.left]:[-h.left,o.left],(d.x=Math.max(n[0],n[1]))>n[0]&&(i.left-=h.left,d.left=S),u[o.right!==s?V:L]=d.x)),(d.top=p===F&&!!h.top)&&(a.y===D?u[he+"-top"]=d.y=o[he+"-top"]-h.top:(n=o.bottom!==s?[h.top,-o.top]:[-h.top,o.top],(d.y=Math.max(n[0],n[1]))>n[0]&&(i.top-=h.top,d.top=S),u[o.bottom!==s?P:B]=d.y)),this.element.css(u).toggle(!(d.x&&d.y||a.x===D&&d.y||a.y===D&&d.x)),i.left-=o.left.charAt?o.user:c!==F||d.top||!d.left&&!d.top?o.left:0,i.top-=o.top.charAt?o.user:p!==F||d.left||!d.left&&!d.top?o.top:0,r.cornerLeft=h.left,r.cornerTop=h.top,r.corner=a.clone()
3
- }},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),ae=N.tip=function(t){return new x(t,t.options.style.tip)},ae.initialize="render",ae.sanitize=function(t){t.style&&"tip"in t.style&&(opts=t.style.tip,"object"!=typeof opts&&(opts=t.style.tip={corner:opts}),/string|boolean/i.test(typeof opts.corner)||(opts.corner=M))},z.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},o.extend(M,T.defaults,{style:{tip:{corner:M,mimic:S,width:6,height:6,border:M,offset:0}}});var ye,be,we="qtip-modal",xe="."+we;be=function(){function i(t){if(o.expr[":"].focusable)return o.expr[":"].focusable;var e,i,s,n=!isNaN(o.attr(t,"tabindex")),r=t.nodeName&&t.nodeName.toLowerCase();return"area"===r?(e=t.parentNode,i=e.name,t.href&&i&&"map"===e.nodeName.toLowerCase()?(s=o("img[usemap=#"+i+"]")[0],!!s&&s.is(":visible")):!1):/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||n:n}function s(t){1>p.length&&t.length?t.not("body").blur():p.first().focus()}function n(t){if(l.is(":visible")){var e,i=o(t.target),n=r.tooltip,h=i.closest(G);e=1>h.length?S:parseInt(h[0].style.zIndex,10)>parseInt(n[0].style.zIndex,10),e||i.closest(G)[0]===n[0]||s(i),a=t.target===p[p.length-1]}}var r,a,h,l,c=this,p={};o.extend(c,{init:function(){function i(){var t=o(this);l.css({height:t.height(),width:t.width()})}return l=c.elem=o("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return S}}).hide(),o(t).bind("resize"+xe,i),i(),o(e.body).bind("focusin"+xe,n),o(e).bind("keydown"+xe,function(t){r&&r.options.show.modal.escape&&27===t.keyCode&&r.hide(t)}),l.bind("click"+xe,function(t){r&&r.options.show.modal.blur&&r.hide(t)}),c},update:function(t){r=t,p=t.options.show.modal.stealfocus!==S?t.tooltip.find("*").filter(function(){return i(this)}):[]},toggle:function(t,i,n){var a=(o(e.body),t.tooltip),p=t.options.show.modal,d=p.effect,u=i?"show":"hide",f=l.is(":visible"),g=o(xe).filter(":visible:not(:animated)").not(a);return c.update(t),i&&p.stealfocus!==S&&s(o(":focus")),l.toggleClass("blurs",p.blur),i&&l.css({left:0,top:0}).appendTo(e.body),l.is(":animated")&&f===i&&h!==S||!i&&g.length?c:(l.stop(M,S),o.isFunction(d)?d.call(l,i):d===S?l[u]():l.fadeTo(parseInt(n,10)||90,i?1:0,function(){i||l.hide()}),i||l.queue(function(t){l.css({left:"",top:""}),o(xe).length||l.detach(),t()}),h=i,r.destroyed&&(r=E),c)}}),c.init()},be=new be,o.extend(_.prototype,{init:function(t){var e=t.tooltip;return this.options.on?(t.elements.overlay=be.elem,e.addClass(we).css("z-index",N.modal.zindex+o(xe).length),t._bind(e,["tooltipshow","tooltiphide"],function(t,i,s){var n=t.originalEvent;if(t.target===e[0])if(n&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(n.type)&&o(n.relatedTarget).closest(overlay[0]).length)try{t.preventDefault()}catch(r){}else(!n||n&&!n.solo)&&this.toggle(t,"tooltipshow"===t.type,s)},this._ns,this),t._bind(e,"tooltipfocus",function(t,i){if(!t.isDefaultPrevented()&&t.target===e[0]){var s=o(xe),n=N.modal.zindex+s.length,r=parseInt(e[0].style.zIndex,10);be.elem[0].style.zIndex=n-1,s.each(function(){this.style.zIndex>r&&(this.style.zIndex-=1)}),s.filter("."+K).qtip("blur",t.originalEvent),e.addClass(K)[0].style.zIndex=n,be.update(i);try{t.preventDefault()}catch(a){}}},this._ns,this),t._bind(e,"tooltiphide",function(t){t.target===e[0]&&o(xe).filter(":visible").not(e).last().qtip("focus",t)},this._ns,this),s):this},toggle:function(t,e,i){return t&&t.isDefaultPrevented()?this:(be.toggle(this.qtip,!!e,i),s)},destroy:function(){this.qtip.tooltip.removeClass(we),this.qtip._unbind(this.qtip.tooltip,this._ns),be.toggle(this.qtip,S),delete this.qtip.elements.overlay}}),ye=N.modal=function(t){return new _(t,t.options.show.modal)},ye.sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:t.show.modal.on===s&&(t.show.modal.on=M))},ye.zindex=T.zindex-200,ye.initialize="render",z.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},o.extend(M,T.defaults,{show:{modal:{on:S,effect:M,blur:M,stealfocus:M,escape:M}}}),N.viewport=function(i,s,o,n,r,a,h){function l(t,e,i,o,n,r,a,h,l){var c=s[n],d=g[t],u=m[t],f=i===F,v=-_.offset[n]+x.offset[n]+x["scroll"+n],y=d===n?l:d===r?-l:-l/2,b=u===n?h:u===r?-h:-h/2,w=T&&T.size?T.size[a]||0:0,q=T&&T.corner&&T.corner.precedance===t&&!f?w:0,C=v-c+q,j=c+l-x[a]-v+q,z=y-(g.precedance===t||d===g[e]?b:0)-(u===D?h/2:0);return f?(q=T&&T.corner&&T.corner.precedance===e?w:0,z=(d===n?1:-1)*y-q,s[n]+=C>0?C:j>0?-j:0,s[n]=Math.max(-_.offset[n]+x.offset[n]+(q&&T.corner[t]===D?T.offset:0),c-z,Math.min(Math.max(-_.offset[n]+x.offset[n]+x[a],c+z),s[n]))):(o*=i===A?2:0,C>0&&(d!==n||j>0)?(s[n]-=z+o,p.invert(t,n)):j>0&&(d!==r||C>0)&&(s[n]-=(d===D?-z:z)+o,p.invert(t,r)),v>s[n]&&-s[n]>j&&(s[n]=c,p=g.clone())),s[n]-c}var c,p,d,u=o.target,f=i.elements.tooltip,g=o.my,m=o.at,v=o.adjust,y=v.method.split(" "),b=y[0],w=y[1]||y[0],x=o.viewport,_=o.container,q=i.cache,T=i.plugins.tip,C={left:0,top:0};return x.jquery&&u[0]!==t&&u[0]!==e.body&&"none"!==v.method?(c="fixed"===f.css("position"),x={elem:x,width:x[0]===t?x.width():x.outerWidth(S),height:x[0]===t?x.height():x.outerHeight(S),scrollleft:c?0:x.scrollLeft(),scrolltop:c?0:x.scrollTop(),offset:x.offset()||{left:0,top:0}},_={elem:_,scrollLeft:_.scrollLeft(),scrollTop:_.scrollTop(),offset:_.offset()||{left:0,top:0}},("shift"!==b||"shift"!==w)&&(p=g.clone()),C={left:"none"!==b?l(O,R,b,v.x,L,V,I,n,a):0,top:"none"!==w?l(R,O,w,v.y,B,P,k,r,h):0},p&&q.lastClass!==(d=$+"-pos-"+p.abbrev())&&f.removeClass(i.cache.lastClass).addClass(i.cache.lastClass=d),C):C},N.polys={polygon:function(t,e){var i,s,o,n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:S},r=0,a=[],h=1,l=1,c=0,p=0;for(r=t.length;r--;)i=[parseInt(t[--r],10),parseInt(t[r+1],10)],i[0]>n.position.right&&(n.position.right=i[0]),i[0]<n.position.left&&(n.position.left=i[0]),i[1]>n.position.bottom&&(n.position.bottom=i[1]),i[1]<n.position.top&&(n.position.top=i[1]),a.push(i);if(s=n.width=Math.abs(n.position.right-n.position.left),o=n.height=Math.abs(n.position.bottom-n.position.top),"c"===e.abbrev())n.position={left:n.position.left+n.width/2,top:n.position.top+n.height/2};else{for(;s>0&&o>0&&h>0&&l>0;)for(s=Math.floor(s/2),o=Math.floor(o/2),e.x===L?h=s:e.x===V?h=n.width-s:h+=Math.floor(s/2),e.y===B?l=o:e.y===P?l=n.height-o:l+=Math.floor(o/2),r=a.length;r--&&!(2>a.length);)c=a[r][0]-n.position.left,p=a[r][1]-n.position.top,(e.x===L&&c>=h||e.x===V&&h>=c||e.x===D&&(h>c||c>n.width-h)||e.y===B&&p>=l||e.y===P&&l>=p||e.y===D&&(l>p||p>n.height-l))&&a.splice(r,1);n.position={left:a[0][0],top:a[0][1]}}return n},rect:function(t,e,i,s){return{width:Math.abs(i-t),height:Math.abs(s-e),position:{left:Math.min(t,i),top:Math.min(e,s)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(t,e,i,s,o){var n=N.polys._angles[o.abbrev()],r=i*Math.cos(n*Math.PI),a=s*Math.sin(n*Math.PI);return{width:2*i-Math.abs(r),height:2*s-Math.abs(a),position:{left:t+r,top:e+a},adjustable:S}},circle:function(t,e,i,s){return N.polys.ellipse(t,e,i,i,s)}},N.svg=function(t,s,n){for(var r,a,h,l=o(e),c=s[0],p={};!c.getBBox;)c=c.parentNode;if(!c.getBBox||!c.parentNode)return S;switch(c.nodeName){case"rect":a=N.svg.toPixel(c,c.x.baseVal.value,c.y.baseVal.value),h=N.svg.toPixel(c,c.x.baseVal.value+c.width.baseVal.value,c.y.baseVal.value+c.height.baseVal.value),p=N.polys.rect(a[0],a[1],h[0],h[1],n);break;case"ellipse":case"circle":a=N.svg.toPixel(c,c.cx.baseVal.value,c.cy.baseVal.value),p=N.polys.ellipse(a[0],a[1],(c.rx||c.r).baseVal.value,(c.ry||c.r).baseVal.value,n);break;case"line":case"polygon":case"polyline":for(points=c.points||[{x:c.x1.baseVal.value,y:c.y1.baseVal.value},{x:c.x2.baseVal.value,y:c.y2.baseVal.value}],p=[],i=-1,len=points.numberOfItems||points.length;len>++i;)next=points.getItem?points.getItem(i):points[i],p.push.apply(p,N.svg.toPixel(c,next.x,next.y));p=N.polys.polygon(p,n);break;default:if(r=c.getBBox(),mtx=c.getScreenCTM(),root=c.farthestViewportElement||c,!root.createSVGPoint)return S;point=root.createSVGPoint(),point.x=r.x,point.y=r.y,tPoint=point.matrixTransform(mtx),p.position={left:tPoint.x,top:tPoint.y},point.x+=r.width,point.y+=r.height,tPoint=point.matrixTransform(mtx),p.width=tPoint.x-p.position.left,p.height=tPoint.y-p.position.top}return p.position.left+=l.scrollLeft(),p.position.top+=l.scrollTop(),p},N.svg.toPixel=function(t,e,i){var s,o,n=t.getScreenCTM(),r=t.farthestViewportElement||t;return r.createSVGPoint?(o=r.createSVGPoint(),o.x=e,o.y=i,s=o.matrixTransform(n),[s.x,s.y]):S},N.imagemap=function(t,e,i){e.jquery||(e=o(e));var s,n,r,a=e.attr("shape").toLowerCase().replace("poly","polygon"),h=o('img[usemap="#'+e.parent("map").attr("name")+'"]'),l=e.attr("coords"),c=l.split(",");if(!h.length)return S;if("polygon"===a)result=N.polys.polygon(c,i);else{if(!N.polys[a])return S;for(r=-1,len=c.length,n=[];len>++r;)n.push(parseInt(c[r],10));result=N.polys[a].apply(this,n.concat(i))}return s=h.offset(),s.left+=Math.ceil((h.outerWidth(S)-h.width())/2),s.top+=Math.ceil((h.outerHeight(S)-h.height())/2),result.position.left+=s.left,result.position.top+=s.top,result};var _e,qe='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>';o.extend(q.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=o(t).scrollTop()+"px")},init:function(i){var s=i.tooltip;1>o("select, object").length&&(this.bgiframe=i.elements.bgiframe=o(qe).appendTo(s),i._bind(s,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=o("<div/>",{id:$+"-rcontainer"}).appendTo(e.body),i.elements.overlay&&i.elements.overlay.addClass("qtipmodal-ie6fix")&&(i._bind(t,["scroll","resize"],this._scroll,this._ns,this),i._bind(s,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,i=this.qtip.tooltip,s={height:i.outerHeight(S),width:i.outerWidth(S)},o=this.qtip.plugins.tip,n=this.qtip.elements.tip;e=parseInt(i.css("borderLeftWidth"),10)||0,e={left:-e,top:-e},o&&n&&(t="x"===o.corner.precedance?[I,L]:[k,B],e[t[1]]-=n[t[0]]()),this.bgiframe.css(e).css(s)},redraw:function(){if(1>this.qtip.rendered||this.drawing)return self;var t,e,i,s,o=this.qtip.tooltip,n=this.qtip.options.style,r=this.qtip.options.position.container;return this.qtip.drawing=1,n.height&&o.css(k,n.height),n.width?o.css(I,n.width):(o.css(I,"").appendTo(this.redrawContainer),e=o.width(),1>e%2&&(e+=1),i=o.css("maxWidth")||"",s=o.css("minWidth")||"",t=(i+s).indexOf("%")>-1?r.width()/100:0,i=(i.indexOf("%")>-1?t:1)*parseInt(i,10)||e,s=(s.indexOf("%")>-1?t:1)*parseInt(s,10)||0,e=i+s?Math.min(Math.max(e,s),i):e,o.css(I,Math.round(e)).appendTo(r)),this.drawing=0,self},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([t,this.qtip.tooltip],this._ns)}}),_e=N.ie6=function(t){return 6===BROWSER.ie?new q(t):S},_e.initialize="render",z.ie6={"^content|style$":function(){this.redraw()}}})})(window,document);