Version Description
Download this release
Release Info
Developer | nko |
Plugin | Visual Portfolio, Photo Gallery & Post Grid |
Version | 1.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 1.9.2
- assets/admin/css/style.min.css +1 -1
- assets/admin/js/mce-dropdown.min.js +1 -1
- assets/admin/js/script.min.js +1 -1
- assets/admin/js/vc-frontend.min.js +1 -1
- assets/css/style.min.css +1 -1
- assets/js/script-preview.min.js +1 -1
- assets/js/script.min.js +2 -2
- class-visual-portfolio.php +4 -4
- classes/class-admin.php +3 -2
- classes/class-get-portfolio.php +4 -0
- languages/visual-portfolio.pot +150 -150
- readme.md +7 -1
assets/admin/css/style.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 1.9.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/.dashicons-visual-portfolio,.dashicons-visual-portfolio-gray,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:15px;opacity:.6}.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon-mce.svg");opacity:1}.menu-top.current .dashicons-visual-portfolio,.menu-top:hover .dashicons-visual-portfolio,.wp-has-current-submenu .dashicons-visual-portfolio{opacity:1}.dashicons-visual-portfolio-gray,.mce-i-visual-portfolio-gray{background-image:url("../images/icon-gray.svg")}.vc_element-icon[data-is-container="true"].icon-visual-portfolio,.vc_element-icon.icon-visual-portfolio{background-position:50% 50%}.vc_element-icon.icon-visual-portfolio,.vc_control-visual-portfolio{position:relative;overflow:hidden;background-image:url("../images/icon-vc.png");background-position:50% 50%;background-size:cover;border-radius:3px}.vc_add-element-container .icon-visual-portfolio{position:absolute}.vc_control-visual-portfolio{display:inline-block;width:18px;height:18px;margin:0 2px;cursor:pointer}.vc_controls-row .vc_control-visual-portfolio{float:right;margin:4px}.vc_control-visual-portfolio-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.vp-row{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap;box-sizing:border-box;margin-right:-15px;margin-left:-15px}.vp-col-1,.vp-col-2,.vp-col-3,.vp-col-4,.vp-col-5,.vp-col-6,.vp-col-7,.vp-col-8,.vp-col-9,.vp-col-10,.vp-col-11,.vp-col-12{flex:0 0 auto;box-sizing:border-box;padding-right:15px;padding-left:15px}.vp-col-1{flex-basis:8.33333%;max-width:8.33333%}.vp-col-2{flex-basis:16.66667%;max-width:16.66667%}.vp-col-3{flex-basis:25%;max-width:25%}.vp-col-4{flex-basis:33.33333%;max-width:33.33333%}.vp-col-5{flex-basis:41.66667%;max-width:41.66667%}.vp-col-6{flex-basis:50%;max-width:50%}.vp-col-7{flex-basis:58.33333%;max-width:58.33333%}.vp-col-8{flex-basis:66.66667%;max-width:66.66667%}.vp-col-9{flex-basis:75%;max-width:75%}.vp-col-10{flex-basis:83.33333%;max-width:83.33333%}.vp-col-11{flex-basis:91.66667%;max-width:91.66667%}.vp-col-12{flex-basis:100%;max-width:100%}.vp-col-clearfix{flex-basis:100%;max-width:100%}.vp-col-clearfix .vp-control-html{margin-bottom:0}.post-type-vp_lists.post-php,.post-type-vp_lists.post-new-php{background-color:#edeff0}.post-type-vp_lists.post-php #wpcontent,.post-type-vp_lists.post-new-php #wpcontent{padding-left:0}.post-type-vp_lists.post-php .wrap,.post-type-vp_lists.post-new-php .wrap{margin:0}.post-type-vp_lists.post-php #poststuff,.post-type-vp_lists.post-new-php #poststuff{padding-top:0}.post-type-vp_lists.post-php #wpfooter,.post-type-vp_lists.post-new-php #wpfooter{display:none}.post-type-vp_lists.post-php #wpbody-content,.post-type-vp_lists.post-new-php #wpbody-content{padding-bottom:0}.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:fixed;top:0;right:300px;bottom:0;width:300px;overflow:auto;-webkit-overflow-scrolling:touch}html.wp-toolbar .post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,html.wp-toolbar .post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{top:32px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:relative;top:auto;right:auto;bottom:auto;width:100%;margin-right:0}}.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{position:absolute;top:0;right:0;bottom:0;left:0;width:calc(100% - 300px);min-height:calc(100vh - 32px);overflow:auto;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{right:0;bottom:auto;width:100%}}.post-type-vp_lists.post-php .columns-2 #side-sortables,.post-type-vp_lists.post-new-php .columns-2 #side-sortables{width:auto}.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin:0;margin-right:300px;margin-bottom:1px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin-right:0}}.post-type-vp_lists.post-php #poststuff .postbox,.post-type-vp_lists.post-new-php #poststuff .postbox{margin-bottom:0;border-color:#e2e4e7;border-top:0;border-right:0}.post-type-vp_lists.post-php #poststuff .postbox>h2,.post-type-vp_lists.post-new-php #poststuff .postbox>h2{padding:15px;border-bottom:none}.post-type-vp_lists.post-php #poststuff .postbox>.handlediv,.post-type-vp_lists.post-new-php #poststuff .postbox>.handlediv{height:50px}.post-type-vp_lists.post-php #poststuff .postbox>.inside,.post-type-vp_lists.post-new-php #poststuff .postbox>.inside{padding:15px;padding-top:0}.vp-control{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:19px}.vp-control>label{width:100%;margin-bottom:5px}.vp-control>.vp-control-description{width:100%;margin:2px 0 5px;font-size:13px;font-style:italic;color:#666}.vp-control.vp-control-checkbox,.vp-control.vp-control-toggle{flex-wrap:nowrap}.vp-control.vp-control-checkbox>label,.vp-control.vp-control-toggle>label{margin-bottom:0}.vp-control.vp-control-textarea textarea{width:100%}.vp-image-picker{display:none}.vp-image-picker,.vp-image-picker *{box-sizing:border-box}.vp-image-picker+ul.thumbnails.image_picker_selector li{margin:0 10px 10px 0}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:0;cursor:pointer;border:none}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail img{display:block;border:2px solid transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected{background-color:transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected img{border-color:#0073aa}.vp-image-picker+ul.thumbnails.image_picker_selector .group_title{padding-top:5px;padding-left:5px;font-weight:500}.vp-control-range [type="number"]{width:50px;margin-left:10px}.vp-control-range [type="range"]{flex:1;width:100%;padding:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vp-control-range [type="range"]::-webkit-slider-thumb{box-sizing:border-box;width:18px;height:18px;margin-top:-7px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%;-webkit-appearance:none;appearance:none}.vp-control-range [type="range"]::-moz-range-thumb{box-sizing:border-box;width:18px;height:18px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%}.vp-control-range [type="range"]::-ms-thumb{box-sizing:border-box;width:14px;height:14px;margin-top:0;cursor:pointer;background:#555d66;background-clip:padding-box;border:2px solid transparent;border-radius:50%}.vp-control-range [type="range"]:focus{outline:none}.vp-control-range [type="range"]:focus::-webkit-slider-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-moz-range-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-ms-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]::-webkit-slider-runnable-track{height:3px;margin-top:-4px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-ms-track{height:3px;margin-top:-4px;color:transparent;cursor:pointer;background:#e2e4e7;border-color:transparent;border-radius:1.5px}.vp-control-toggle,.vp-control-toggle *{box-sizing:border-box}.vp-control-toggle .vp-toggle{position:relative}.vp-control-toggle .vp-toggle .vp-toggle__track{content:"";display:inline-block;box-sizing:border-box;width:36px;height:18px;vertical-align:top;background-color:#fff;border:2px solid #6c7781;border-radius:9px;transition:background .2s ease}.vp-control-toggle .vp-toggle .vp-toggle__track::after{content:"";position:absolute;display:block;top:50%;right:5px;width:3px;height:3px;margin-top:-3px;border:1.5px solid #6c7781;border-radius:3px}.vp-control-toggle .vp-toggle:hover .vp-toggle__track{background-color:#e2e4e7}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track{background-color:#33b3db;border:2px solid #33b3db}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track::after{top:50%;right:auto;left:8px;width:0;height:5px;margin-top:-3px;border:0;border-right:2px solid #fff;border-radius:0}.vp-control-toggle .vp-toggle .vp-toggle__thumb{position:absolute;display:block;top:4px;left:4px;width:10px;height:10px;background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;transition:-webkit-transform .1s ease;transition:transform .1s ease;transition:transform .1s ease, -webkit-transform .1s ease}.vp-control-toggle .vp-toggle [type="checkbox"]:focus ~ .vp-toggle__track{box-shadow:0 0 0 2px #fff, 0 0 0 3px #6c7781}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__thumb{background-color:#fff;border-width:0;-webkit-transform:translateX(18px);transform:translateX(18px)}.vp-control-toggle .vp-toggle [type="checkbox"]{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;opacity:0;z-index:1}.vp-control-image-dropdown{position:relative;display:flex;align-items:center;width:100%;padding:5px 7px;cursor:pointer;background-color:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-control-image-dropdown,.vp-control-image-dropdown *{box-sizing:border-box}.vp-control-image-dropdown::before{content:"";position:absolute;display:block;top:50%;right:6px;width:0;height:0;margin-top:-2px;border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px}.vp-control-image-dropdown.active::before{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.vp-control-image-dropdown .vp-control-image-dropdown__preview{display:block;flex:0 0 auto;width:32px}.vp-control-image-dropdown .vp-control-image-dropdown__preview img{display:block;width:100%;height:auto}.vp-control-image-dropdown .vp-control-image-dropdown__title{flex:1;padding-left:10px}.vp-control-image-dropdown .vp-control-image-dropdown__content{position:absolute;display:none;top:100%;left:0;width:100%;max-width:285px;margin-top:7px;margin-left:-1px;cursor:default;background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04);z-index:1}.vp-control-image-dropdown .vp-control-image-dropdown__content>div{width:100%;max-height:250px;padding:4px;overflow:auto}.vp-control-image-dropdown .vp-control-image-dropdown__content::before{content:"";position:absolute;display:block;top:-5px;left:10px;width:0;height:0;border-right:5px solid transparent;border-bottom:5px solid #e5e5e5;border-left:5px solid transparent}.vp-control-image-dropdown .vp-control-image-dropdown__content::after{content:"";position:absolute;display:block;top:-7px;right:0;left:0;height:7px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector .group>ul{display:flex;flex-wrap:wrap}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li{display:block;flex:0 0 25%;float:none;max-width:25%;margin:0}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group_title{flex:0 0 100%;max-width:100%}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:3px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li img{width:100%;height:auto}.vp-control-image-dropdown.active .vp-control-image-dropdown__content{display:block}.vp-oembed-preview{position:relative;width:100%;padding-top:56.25%;color:#a2a2a2;background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-oembed-preview::after{content:"\f126";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;vertical-align:top;z-index:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vp-oembed-preview>iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.vp-portfolio__thumbnail{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;border-radius:3px}.vp-portfolio__thumbnail img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.vp-portfolio__thumbnail:empty{background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-portfolio__thumbnail:empty,.vp-portfolio__thumbnail:empty:hover,.vp-portfolio__thumbnail:empty:active,.vp-portfolio__thumbnail:empty:focus{color:#a2a2a2}.vp-portfolio__thumbnail:empty::after{content:"\f128";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-list-table th.column-portfolio_post_thumbs{width:70px}.wp-list-table th.column-vp_lists_post_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs{float:left;width:70px !important;min-width:70px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs::before{content:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-title{overflow:hidden;clear:right}}.vp-portfolio-list .vp-portfolio-list__icon span{display:block;width:120px;height:120px;margin:0 auto;margin-top:60px;background-size:105px}.vp-portfolio-list .vp-portfolio-list__text{text-align:center}.vp-portfolio-list .vp-portfolio-list__text p{margin-top:30px;margin-bottom:30px;font-size:15px;font-weight:500;color:#8e8e8e}.vp-portfolio-list .vp-portfolio-list__text .button-hero{display:inline-block}.vp_list_preview{padding:0 12px;margin-right:-12px;margin-left:-12px}.vp_list_preview iframe{width:100%;min-height:120px;transition:height .3s}.vp-content-source{display:flex;flex-wrap:wrap;padding-right:9px;padding-left:9px;margin-right:-15px;margin-left:-15px}.vp-content-source .vp-content-source__item{position:relative;width:70px;height:50px;padding:12px;margin:0 5px;color:#6c7781;text-align:center;cursor:pointer;border:1px solid transparent;border-radius:3px}.vp-content-source .vp-content-source__item.active,.vp-content-source .vp-content-source__item:hover{color:#555;background-color:#ecf0f4}.vp-content-source .vp-content-source__item.active{color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-content-source .vp-content-source__item .vp-content-source__item-icon>span{width:24px;height:24px;margin-top:2px;font-size:24px}.vp-content-source .vp-content-source__item .vp-content-source__item-title{position:absolute;top:58%;right:8px;left:8px;font-weight:500}.vp-content-source .vp-content-source__item-content{flex:1;min-width:100%}.vp-content-source .vp-content-source__item-content>div{position:relative;display:none;padding:0 15px;padding-bottom:1px;margin-top:12px;margin-right:-9px;margin-bottom:-14px;margin-left:-9px;overflow:hidden;background-color:#f9f9fa;border-top:1px solid #eee}.vp-content-source .vp-content-source__item-content>div:empty{display:none !important}.vp-content-source .vp-content-source__item-content>div.active{display:block}.vp-select2{width:100%}.vp-select2+.select2{width:100%}.post-attributes-label+.vp-select2+.select2{margin-top:5px}.vp-select2+.select2 ul,.vp-select2+.select2 li{margin-bottom:0}.vp-select2+.select2 .select2-selection{border:1px solid #ddd;border-radius:0;box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-select2+.select2.select2-container--open .select2-selection{outline:none}.vp-select2+.select2 .select2-selection--multiple{min-height:27px}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice{padding:3px 8px;margin-top:3px;color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice__remove{float:right;margin-right:0;margin-left:3px;color:inherit;opacity:.5}.select2-vp-container ul,.select2-vp-container li{margin-bottom:0}.select2-vp-container .select2-dropdown{border-color:#ddd}.select2-vp-container .select2-search--dropdown .select2-search__field{padding:3px 4px;border:1px solid #ddd;outline:none;box-shadow:none}.select2-vp-container .select2-results__option[aria-selected="true"]{background-color:#efeeee}.select2-vp-container .select2-results__option--highlighted[aria-selected]{background-color:#33b3db}.vp-select2-ajax__result{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap}.vp-select2-ajax__result .vp-select2-ajax__result-img{position:relative;flex:0 0 35px;background-color:rgba(0,0,0,0.1);background-position:center center;background-size:cover;border-radius:3px}.vp-select2-ajax__result .vp-select2-ajax__result-img::after{content:"";display:block;width:100%;padding-top:100%}.vp-select2-ajax__result .vp-select2-ajax__result-data{padding-left:10px}.vp-select2-ajax__result .vp-select2-ajax__result-title{font-size:16px;font-weight:500;line-height:1}.vp-select2-ajax__result .vp-select2-ajax__result-post-type{font-size:12px;opacity:.5}.vp-control-gallery .vp-control-gallery-additional-data{position:absolute;box-sizing:border-box;top:0;right:-350px;bottom:0;width:350px;padding:15px 13px;overflow:auto;background-color:#fff;border-left:1px solid #eaeaea;transition:.15s right}.vp-control-gallery .vp-control-gallery-additional-data.active{right:0}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:335px}@media (max-width: 910px){.vp-control-gallery .vp-control-gallery-additional-data{position:relative;display:none;right:0;width:120%;height:auto;margin-bottom:30px;border:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data.active{display:block}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:-15px}}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview{display:flex;padding:15px 13px;margin:-15px -13px;margin-bottom:15px;border-bottom:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image{margin-right:15px}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image img{display:block;width:70px;border-radius:3px;box-shadow:0 0 0 1px #fff, 0 0 0 2px #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-size{color:#8f9498}.vp-control-gallery .vp-control-gallery-items{display:flex;flex-wrap:wrap;align-content:flex-start;width:120%;height:325px;padding:7px;margin:-12px;margin-bottom:-25px;overflow:auto;transition:.15s margin-right}.vp-control-gallery .vp-control-gallery-items::after{content:"";display:block;width:100%}.vp-control-gallery .vp-control-gallery-items>div{position:relative;display:block;width:calc(12.5% - 10px);margin:5px;cursor:move;cursor:-webkit-grab;cursor:grab;border-radius:3px}@media (max-width: 1350px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(14.22% - 10px)}}@media (max-width: 1250px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(16.66% - 10px)}}@media (max-width: 1100px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(25% - 10px)}}.vp-control-gallery .vp-control-gallery-items>div::after{content:"";display:block;padding-top:100%}.vp-control-gallery .vp-control-gallery-items>div.sortable-ghost{opacity:.4}.vp-control-gallery .vp-control-gallery-items>div img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove{position:absolute;top:-5px;right:-5px;width:20px;height:20px;color:#fff;cursor:pointer;visibility:hidden;background-color:#dc3232;border-radius:50%;opacity:0;transition:.15s visibility, .15s opacity}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove span{width:20px;height:20px;font-size:10px;line-height:20px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img:hover .vp-control-gallery-items-remove{visibility:visible;opacity:1}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img.active{box-shadow:0 0 0 1px #fff, 0 0 0 4px #33b3db}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add{display:flex;align-items:center;justify-content:center;box-sizing:border-box;color:#6c7781;text-align:center;cursor:pointer;background-color:#fff;border:1px solid #ccd3da;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add>span{position:absolute;top:50%;left:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px;line-height:24px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add:hover{color:#555;background-color:#f7f7f7}.vp-input{width:100%}.post-type-vp_lists .CodeMirror{width:100%;text-align:left;border:1px solid #ddd}.post-type-vp_lists .CodeMirror .CodeMirror-matchingbracket{color:inherit;background:rgba(255,150,0,0.3)}.post-type-vp_lists [class*="CodeMirror-lint-message"],.post-type-vp_lists .CodeMirror-lint-marker-multiple,.post-type-vp_lists [class*="CodeMirror-lint-marker"]{background-image:none}.post-type-vp_lists .CodeMirror-lint-marker-error,.post-type-vp_lists .CodeMirror-lint-marker-warning{cursor:help}.post-type-vp_lists .CodeMirror-lint-marker-multiple{position:absolute;top:0}.post-type-vp_lists [class*="CodeMirror-lint-marker"]::before{position:relative;top:-2px;font:400 18px/1 dashicons}.post-type-vp_lists [class*="CodeMirror-lint-message"]::before{position:absolute;left:16px;font:400 16px/1 dashicons}.post-type-vp_lists .CodeMirror-lint-message-error,.post-type-vp_lists .CodeMirror-lint-message-warning{padding:3px 12px 3px 28px;margin:5px 0 2px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}.post-type-vp_lists .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.post-type-vp_lists .CodeMirror-lint-message-warning::before,.post-type-vp_lists .CodeMirror-lint-marker-warning::before{content:"\f534";color:#f6a306}.post-type-vp_lists .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.post-type-vp_lists .CodeMirror-lint-message-error::before,.post-type-vp_lists .CodeMirror-lint-marker-error::before{content:"\f153";color:#dc3232}.post-type-vp_lists .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.post-type-vp_lists .CodeMirror-resizer{display:none;display:flex;align-items:center;justify-content:center;width:100%;height:20px;margin-top:-2px;font-size:13px;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fbfbfb}.post-type-vp_lists .CodeMirror-resizer::before{content:"\2261";position:absolute;left:50%;color:#999}.post-type-vp_lists .CodeMirror-resizer:hover{background:#f7f7f7}.post-type-vp_lists .CodeMirror-resizer:hover::before{color:#000}.post-type-vp_lists .CodeMirror ~ .CodeMirror-resizer{display:block}@media (max-width: 850px){.vp-steps__right,.vp-steps__step{float:none;width:100%}}.post-type-vp_lists #slugdiv,.post-type-vp_lists #postcustom{display:none}
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 1.9.2
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/.dashicons-visual-portfolio,.dashicons-visual-portfolio-gray,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:15px;opacity:.6}.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon-mce.svg");opacity:1}.menu-top.current .dashicons-visual-portfolio,.menu-top:hover .dashicons-visual-portfolio,.wp-has-current-submenu .dashicons-visual-portfolio{opacity:1}.dashicons-visual-portfolio-gray,.mce-i-visual-portfolio-gray{background-image:url("../images/icon-gray.svg")}.vc_element-icon[data-is-container="true"].icon-visual-portfolio,.vc_element-icon.icon-visual-portfolio{background-position:50% 50%}.vc_element-icon.icon-visual-portfolio,.vc_control-visual-portfolio{position:relative;overflow:hidden;background-image:url("../images/icon-vc.png");background-position:50% 50%;background-size:cover;border-radius:3px}.vc_add-element-container .icon-visual-portfolio{position:absolute}.vc_control-visual-portfolio{display:inline-block;width:18px;height:18px;margin:0 2px;cursor:pointer}.vc_controls-row .vc_control-visual-portfolio{float:right;margin:4px}.vc_control-visual-portfolio-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.vp-row{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap;box-sizing:border-box;margin-right:-15px;margin-left:-15px}.vp-col-1,.vp-col-2,.vp-col-3,.vp-col-4,.vp-col-5,.vp-col-6,.vp-col-7,.vp-col-8,.vp-col-9,.vp-col-10,.vp-col-11,.vp-col-12{flex:0 0 auto;box-sizing:border-box;padding-right:15px;padding-left:15px}.vp-col-1{flex-basis:8.33333%;max-width:8.33333%}.vp-col-2{flex-basis:16.66667%;max-width:16.66667%}.vp-col-3{flex-basis:25%;max-width:25%}.vp-col-4{flex-basis:33.33333%;max-width:33.33333%}.vp-col-5{flex-basis:41.66667%;max-width:41.66667%}.vp-col-6{flex-basis:50%;max-width:50%}.vp-col-7{flex-basis:58.33333%;max-width:58.33333%}.vp-col-8{flex-basis:66.66667%;max-width:66.66667%}.vp-col-9{flex-basis:75%;max-width:75%}.vp-col-10{flex-basis:83.33333%;max-width:83.33333%}.vp-col-11{flex-basis:91.66667%;max-width:91.66667%}.vp-col-12{flex-basis:100%;max-width:100%}.vp-col-clearfix{flex-basis:100%;max-width:100%}.vp-col-clearfix .vp-control-html{margin-bottom:0}.post-type-vp_lists.post-php,.post-type-vp_lists.post-new-php{background-color:#edeff0}.post-type-vp_lists.post-php #wpcontent,.post-type-vp_lists.post-new-php #wpcontent{padding-left:0}.post-type-vp_lists.post-php .wrap,.post-type-vp_lists.post-new-php .wrap{margin:0}.post-type-vp_lists.post-php #poststuff,.post-type-vp_lists.post-new-php #poststuff{padding-top:0}.post-type-vp_lists.post-php #wpfooter,.post-type-vp_lists.post-new-php #wpfooter{display:none}.post-type-vp_lists.post-php #wpbody-content,.post-type-vp_lists.post-new-php #wpbody-content{padding-bottom:0}.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:fixed;top:0;right:300px;bottom:0;width:300px;overflow:auto;-webkit-overflow-scrolling:touch}html.wp-toolbar .post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,html.wp-toolbar .post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{top:32px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:relative;top:auto;right:auto;bottom:auto;width:100%;margin-right:0}}.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{position:absolute;top:0;right:0;bottom:0;left:0;width:calc(100% - 300px);min-height:calc(100vh - 32px);overflow:auto;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{right:0;bottom:auto;width:100%}}.post-type-vp_lists.post-php .columns-2 #side-sortables,.post-type-vp_lists.post-new-php .columns-2 #side-sortables{width:auto}.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin:0;margin-right:300px;margin-bottom:1px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin-right:0}}.post-type-vp_lists.post-php #poststuff .postbox,.post-type-vp_lists.post-new-php #poststuff .postbox{margin-bottom:0;border-color:#e2e4e7;border-top:0;border-right:0}.post-type-vp_lists.post-php #poststuff .postbox>h2,.post-type-vp_lists.post-new-php #poststuff .postbox>h2{padding:15px;border-bottom:none}.post-type-vp_lists.post-php #poststuff .postbox>.handlediv,.post-type-vp_lists.post-new-php #poststuff .postbox>.handlediv{height:50px}.post-type-vp_lists.post-php #poststuff .postbox>.inside,.post-type-vp_lists.post-new-php #poststuff .postbox>.inside{padding:15px;padding-top:0}.vp-control{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:19px}.vp-control>label{width:100%;margin-bottom:5px}.vp-control>.vp-control-description{width:100%;margin:2px 0 5px;font-size:13px;font-style:italic;color:#666}.vp-control.vp-control-checkbox,.vp-control.vp-control-toggle{flex-wrap:nowrap}.vp-control.vp-control-checkbox>label,.vp-control.vp-control-toggle>label{margin-bottom:0}.vp-control.vp-control-textarea textarea{width:100%}.vp-image-picker{display:none}.vp-image-picker,.vp-image-picker *{box-sizing:border-box}.vp-image-picker+ul.thumbnails.image_picker_selector li{margin:0 10px 10px 0}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:0;cursor:pointer;border:none}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail img{display:block;border:2px solid transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected{background-color:transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected img{border-color:#0073aa}.vp-image-picker+ul.thumbnails.image_picker_selector .group_title{padding-top:5px;padding-left:5px;font-weight:500}.vp-control-range [type="number"]{width:50px;margin-left:10px}.vp-control-range [type="range"]{flex:1;width:100%;padding:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vp-control-range [type="range"]::-webkit-slider-thumb{box-sizing:border-box;width:18px;height:18px;margin-top:-7px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%;-webkit-appearance:none;appearance:none}.vp-control-range [type="range"]::-moz-range-thumb{box-sizing:border-box;width:18px;height:18px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%}.vp-control-range [type="range"]::-ms-thumb{box-sizing:border-box;width:14px;height:14px;margin-top:0;cursor:pointer;background:#555d66;background-clip:padding-box;border:2px solid transparent;border-radius:50%}.vp-control-range [type="range"]:focus{outline:none}.vp-control-range [type="range"]:focus::-webkit-slider-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-moz-range-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-ms-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]::-webkit-slider-runnable-track{height:3px;margin-top:-4px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-ms-track{height:3px;margin-top:-4px;color:transparent;cursor:pointer;background:#e2e4e7;border-color:transparent;border-radius:1.5px}.vp-control-toggle,.vp-control-toggle *{box-sizing:border-box}.vp-control-toggle .vp-toggle{position:relative}.vp-control-toggle .vp-toggle .vp-toggle__track{content:"";display:inline-block;box-sizing:border-box;width:36px;height:18px;vertical-align:top;background-color:#fff;border:2px solid #6c7781;border-radius:9px;transition:background .2s ease}.vp-control-toggle .vp-toggle .vp-toggle__track::after{content:"";position:absolute;display:block;top:50%;right:5px;width:3px;height:3px;margin-top:-3px;border:1.5px solid #6c7781;border-radius:3px}.vp-control-toggle .vp-toggle:hover .vp-toggle__track{background-color:#e2e4e7}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track{background-color:#33b3db;border:2px solid #33b3db}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track::after{top:50%;right:auto;left:8px;width:0;height:5px;margin-top:-3px;border:0;border-right:2px solid #fff;border-radius:0}.vp-control-toggle .vp-toggle .vp-toggle__thumb{position:absolute;display:block;top:4px;left:4px;width:10px;height:10px;background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;transition:-webkit-transform .1s ease;transition:transform .1s ease;transition:transform .1s ease, -webkit-transform .1s ease}.vp-control-toggle .vp-toggle [type="checkbox"]:focus ~ .vp-toggle__track{box-shadow:0 0 0 2px #fff, 0 0 0 3px #6c7781}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__thumb{background-color:#fff;border-width:0;-webkit-transform:translateX(18px);transform:translateX(18px)}.vp-control-toggle .vp-toggle [type="checkbox"]{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;opacity:0;z-index:1}.vp-control-image-dropdown{position:relative;display:flex;align-items:center;width:100%;padding:5px 7px;cursor:pointer;background-color:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-control-image-dropdown,.vp-control-image-dropdown *{box-sizing:border-box}.vp-control-image-dropdown::before{content:"";position:absolute;display:block;top:50%;right:6px;width:0;height:0;margin-top:-2px;border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px}.vp-control-image-dropdown.active::before{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.vp-control-image-dropdown .vp-control-image-dropdown__preview{display:block;flex:0 0 auto;width:32px}.vp-control-image-dropdown .vp-control-image-dropdown__preview img{display:block;width:100%;height:auto}.vp-control-image-dropdown .vp-control-image-dropdown__title{flex:1;padding-left:10px}.vp-control-image-dropdown .vp-control-image-dropdown__content{position:absolute;display:none;top:100%;left:0;width:100%;max-width:285px;margin-top:7px;margin-left:-1px;cursor:default;background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04);z-index:1}.vp-control-image-dropdown .vp-control-image-dropdown__content>div{width:100%;max-height:250px;padding:4px;overflow:auto}.vp-control-image-dropdown .vp-control-image-dropdown__content::before{content:"";position:absolute;display:block;top:-5px;left:10px;width:0;height:0;border-right:5px solid transparent;border-bottom:5px solid #e5e5e5;border-left:5px solid transparent}.vp-control-image-dropdown .vp-control-image-dropdown__content::after{content:"";position:absolute;display:block;top:-7px;right:0;left:0;height:7px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector .group>ul{display:flex;flex-wrap:wrap}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li{display:block;flex:0 0 25%;float:none;max-width:25%;margin:0}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group_title{flex:0 0 100%;max-width:100%}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:3px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li img{width:100%;height:auto}.vp-control-image-dropdown.active .vp-control-image-dropdown__content{display:block}.vp-oembed-preview{position:relative;width:100%;padding-top:56.25%;color:#a2a2a2;background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-oembed-preview::after{content:"\f126";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;vertical-align:top;z-index:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vp-oembed-preview>iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.vp-portfolio__thumbnail{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;border-radius:3px}.vp-portfolio__thumbnail img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.vp-portfolio__thumbnail:empty{background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-portfolio__thumbnail:empty,.vp-portfolio__thumbnail:empty:hover,.vp-portfolio__thumbnail:empty:active,.vp-portfolio__thumbnail:empty:focus{color:#a2a2a2}.vp-portfolio__thumbnail:empty::after{content:"\f128";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-list-table th.column-portfolio_post_thumbs{width:70px}.wp-list-table th.column-vp_lists_post_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs{float:left;width:70px !important;min-width:70px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs::before{content:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-title{overflow:hidden;clear:right}}.vp-portfolio-list .vp-portfolio-list__icon span{display:block;width:120px;height:120px;margin:0 auto;margin-top:60px;background-size:105px}.vp-portfolio-list .vp-portfolio-list__text{text-align:center}.vp-portfolio-list .vp-portfolio-list__text p{margin-top:30px;margin-bottom:30px;font-size:15px;font-weight:500;color:#8e8e8e}.vp-portfolio-list .vp-portfolio-list__text .button-hero{display:inline-block}.vp_list_preview{padding:0 12px;margin-right:-12px;margin-left:-12px}.vp_list_preview iframe{width:100%;min-height:120px;transition:height .3s}.vp-content-source{display:flex;flex-wrap:wrap;padding-right:9px;padding-left:9px;margin-right:-15px;margin-left:-15px}.vp-content-source .vp-content-source__item{position:relative;width:70px;height:50px;padding:12px;margin:0 5px;color:#6c7781;text-align:center;cursor:pointer;border:1px solid transparent;border-radius:3px}.vp-content-source .vp-content-source__item.active,.vp-content-source .vp-content-source__item:hover{color:#555;background-color:#ecf0f4}.vp-content-source .vp-content-source__item.active{color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-content-source .vp-content-source__item .vp-content-source__item-icon>span{width:24px;height:24px;margin-top:2px;font-size:24px}.vp-content-source .vp-content-source__item .vp-content-source__item-title{position:absolute;top:58%;right:8px;left:8px;font-weight:500}.vp-content-source .vp-content-source__item-content{flex:1;min-width:100%}.vp-content-source .vp-content-source__item-content>div{position:relative;display:none;padding:0 15px;padding-bottom:1px;margin-top:12px;margin-right:-9px;margin-bottom:-14px;margin-left:-9px;overflow:hidden;background-color:#f9f9fa;border-top:1px solid #eee}.vp-content-source .vp-content-source__item-content>div:empty{display:none !important}.vp-content-source .vp-content-source__item-content>div.active{display:block}.vp-select2{width:100%}.vp-select2+.select2{width:100%}.post-attributes-label+.vp-select2+.select2{margin-top:5px}.vp-select2+.select2 ul,.vp-select2+.select2 li{margin-bottom:0}.vp-select2+.select2 .select2-selection{border:1px solid #ddd;border-radius:0;box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-select2+.select2.select2-container--open .select2-selection{outline:none}.vp-select2+.select2 .select2-selection--multiple{min-height:27px}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice{padding:3px 8px;margin-top:3px;color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice__remove{float:right;margin-right:0;margin-left:3px;color:inherit;opacity:.5}.select2-vp-container ul,.select2-vp-container li{margin-bottom:0}.select2-vp-container .select2-dropdown{border-color:#ddd}.select2-vp-container .select2-search--dropdown .select2-search__field{padding:3px 4px;border:1px solid #ddd;outline:none;box-shadow:none}.select2-vp-container .select2-results__option[aria-selected="true"]{background-color:#efeeee}.select2-vp-container .select2-results__option--highlighted[aria-selected]{background-color:#33b3db}.vp-select2-ajax__result{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap}.vp-select2-ajax__result .vp-select2-ajax__result-img{position:relative;flex:0 0 35px;background-color:rgba(0,0,0,0.1);background-position:center center;background-size:cover;border-radius:3px}.vp-select2-ajax__result .vp-select2-ajax__result-img::after{content:"";display:block;width:100%;padding-top:100%}.vp-select2-ajax__result .vp-select2-ajax__result-data{padding-left:10px}.vp-select2-ajax__result .vp-select2-ajax__result-title{font-size:16px;font-weight:500;line-height:1}.vp-select2-ajax__result .vp-select2-ajax__result-post-type{font-size:12px;opacity:.5}.vp-control-gallery .vp-control-gallery-additional-data{position:absolute;box-sizing:border-box;top:0;right:-350px;bottom:0;width:350px;padding:15px 13px;overflow:auto;background-color:#fff;border-left:1px solid #eaeaea;transition:.15s right}.vp-control-gallery .vp-control-gallery-additional-data.active{right:0}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:335px}@media (max-width: 910px){.vp-control-gallery .vp-control-gallery-additional-data{position:relative;display:none;right:0;width:120%;height:auto;margin-bottom:30px;border:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data.active{display:block}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:-15px}}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview{display:flex;padding:15px 13px;margin:-15px -13px;margin-bottom:15px;border-bottom:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image{margin-right:15px}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image img{display:block;width:70px;border-radius:3px;box-shadow:0 0 0 1px #fff, 0 0 0 2px #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-size{color:#8f9498}.vp-control-gallery .vp-control-gallery-items{display:flex;flex-wrap:wrap;align-content:flex-start;width:120%;height:325px;padding:7px;margin:-12px;margin-bottom:-25px;overflow:auto;transition:.15s margin-right}.vp-control-gallery .vp-control-gallery-items::after{content:"";display:block;width:100%}.vp-control-gallery .vp-control-gallery-items>div{position:relative;display:block;width:calc(12.5% - 10px);margin:5px;cursor:move;cursor:-webkit-grab;cursor:grab;border-radius:3px}@media (max-width: 1350px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(14.22% - 10px)}}@media (max-width: 1250px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(16.66% - 10px)}}@media (max-width: 1100px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(25% - 10px)}}.vp-control-gallery .vp-control-gallery-items>div::after{content:"";display:block;padding-top:100%}.vp-control-gallery .vp-control-gallery-items>div.sortable-ghost{opacity:.4}.vp-control-gallery .vp-control-gallery-items>div img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove{position:absolute;top:-5px;right:-5px;width:20px;height:20px;color:#fff;cursor:pointer;visibility:hidden;background-color:#dc3232;border-radius:50%;opacity:0;transition:.15s visibility, .15s opacity}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove span{width:20px;height:20px;font-size:10px;line-height:20px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img:hover .vp-control-gallery-items-remove{visibility:visible;opacity:1}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img.active{box-shadow:0 0 0 1px #fff, 0 0 0 4px #33b3db}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add{display:flex;align-items:center;justify-content:center;box-sizing:border-box;color:#6c7781;text-align:center;cursor:pointer;background-color:#fff;border:1px solid #ccd3da;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add>span{position:absolute;top:50%;left:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px;line-height:24px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add:hover{color:#555;background-color:#f7f7f7}.vp-input{width:100%}.post-type-vp_lists .CodeMirror{width:100%;text-align:left;border:1px solid #ddd}.post-type-vp_lists .CodeMirror .CodeMirror-matchingbracket{color:inherit;background:rgba(255,150,0,0.3)}.post-type-vp_lists [class*="CodeMirror-lint-message"],.post-type-vp_lists .CodeMirror-lint-marker-multiple,.post-type-vp_lists [class*="CodeMirror-lint-marker"]{background-image:none}.post-type-vp_lists .CodeMirror-lint-marker-error,.post-type-vp_lists .CodeMirror-lint-marker-warning{cursor:help}.post-type-vp_lists .CodeMirror-lint-marker-multiple{position:absolute;top:0}.post-type-vp_lists [class*="CodeMirror-lint-marker"]::before{position:relative;top:-2px;font:400 18px/1 dashicons}.post-type-vp_lists [class*="CodeMirror-lint-message"]::before{position:absolute;left:16px;font:400 16px/1 dashicons}.post-type-vp_lists .CodeMirror-lint-message-error,.post-type-vp_lists .CodeMirror-lint-message-warning{padding:3px 12px 3px 28px;margin:5px 0 2px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}.post-type-vp_lists .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.post-type-vp_lists .CodeMirror-lint-message-warning::before,.post-type-vp_lists .CodeMirror-lint-marker-warning::before{content:"\f534";color:#f6a306}.post-type-vp_lists .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.post-type-vp_lists .CodeMirror-lint-message-error::before,.post-type-vp_lists .CodeMirror-lint-marker-error::before{content:"\f153";color:#dc3232}.post-type-vp_lists .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.post-type-vp_lists .CodeMirror-resizer{display:none;display:flex;align-items:center;justify-content:center;width:100%;height:20px;margin-top:-2px;font-size:13px;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fbfbfb}.post-type-vp_lists .CodeMirror-resizer::before{content:"\2261";position:absolute;left:50%;color:#999}.post-type-vp_lists .CodeMirror-resizer:hover{background:#f7f7f7}.post-type-vp_lists .CodeMirror-resizer:hover::before{color:#000}.post-type-vp_lists .CodeMirror ~ .CodeMirror-resizer{display:block}@media (max-width: 850px){.vp-steps__right,.vp-steps__step{float:none;width:100%}}.post-type-vp_lists #slugdiv,.post-type-vp_lists #postcustom{display:none}
|
assets/admin/js/mce-dropdown.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=165)}({165:function(t,e,n){t.exports=n(166)},166:function(t,e){
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
-
* Version : 1.9.
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
var n=window,o=n.tinymce,i=n.VPTinyMCEOptions;if(void 0!==i&&i.length){var r=[{text:"",value:""}];Object.keys(i).forEach(function(t){r.push({text:i[t].title,value:i[t].id})}),o.create("tinymce.plugins.visual_portfolio",{init:function(t){t.addButton("visual_portfolio",{type:"listbox",title:"Visual Portfolio",icon:"visual-portfolio",classes:"visual-portfolio-btn",onclick:function(){this.menu&&this.menu.$el.find(".mce-first").hide()},onselect:function(){this.value()&&t.insertContent('[visual_portfolio id="'.concat(this.value(),'"]')),this.value("")},values:r,value:""})}}),o.PluginManager.add("visual_portfolio",o.plugins.visual_portfolio)}}});
|
1 |
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=165)}({165:function(t,e,n){t.exports=n(166)},166:function(t,e){
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
+
* Version : 1.9.2
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
var n=window,o=n.tinymce,i=n.VPTinyMCEOptions;if(void 0!==i&&i.length){var r=[{text:"",value:""}];Object.keys(i).forEach(function(t){r.push({text:i[t].title,value:i[t].id})}),o.create("tinymce.plugins.visual_portfolio",{init:function(t){t.addButton("visual_portfolio",{type:"listbox",title:"Visual Portfolio",icon:"visual-portfolio",classes:"visual-portfolio-btn",onclick:function(){this.menu&&this.menu.$el.find(".mce-first").hide()},onselect:function(){this.value()&&t.insertContent('[visual_portfolio id="'.concat(this.value(),'"]')),this.value("")},values:r,value:""})}}),o.PluginManager.add("visual_portfolio",o.plugins.visual_portfolio)}}});
|
assets/admin/js/script.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
!function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=169)}({169:function(t,e,a){t.exports=a(170)},170:function(t,e,a){"use strict";a.r(e);var n=a(30);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
-
* Version : 1.9.
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var r=jQuery,l=window,c=l.ajaxurl,s=l.VPAdminVariables,d=l.Tooltip,p=l.CodeMirror,v=l.emmetCodeMirror,u=r("body"),f=r(window),m=r('form[name="post"]'),g=r('[name="post_type"]'),h=r("#postID, #post_ID").eq(0).val();u.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"]',function(){this.select()}),u.on("click",".vp-onclick-selection",function(){window.getSelection().selectAllChildren(this)});var _=r("#vp_format_video"),y=r("#post-format-video");function b(){_[y.is(":checked")?"show":"hide"]()}_.length&&y.length&&(b(),u.on("change","[name=post_format]",function(){b()}));var w=null;function k(t){w=r.ajax({url:c,method:"GET",dataType:"json",data:{action:"vp_find_oembed",q:t.val(),nonce:s.nonce},complete:function(e){var a=e.responseJSON;a&&void 0!==a.html&&t.next(".vp-oembed-preview").html(a.html)}})}function C(){var t=r('[name="vp_popup_gallery[show_caption]"]');t.closest("tbody").find("tr.caption_title, tr.caption_description")[t.is(":checked")?"show":"hide"]()}k=Object(n.a)(300,k),u.on("change input",'.vp-input[name="video_url"]',function(){null!==w&&w.abort();var t=r(this);t.next(".vp-oembed-preview").html(""),k(t)}),void 0!==d&&r('[data-hint]:not([data-hint=""]):not([data-hint="false"])').each(function(){var t=r(this);new d(this,{placement:t.attr("data-hint-place")||"top",title:t.attr("data-hint"),container:r("body")[0],boundariesElement:"viewport"})}),function(){if("vp_lists"===g.val()&&m.length){var t=r(".vp-content-source"),e=t.find('[name="vp_content_source"]');t.on("click",".vp-content-source__item",function(){var a=r(this).attr("data-content");t.find('[data-content="'.concat(a,'"]')).addClass("active").siblings().removeClass("active"),e.val(a).change()}),t.children('[data-content="'.concat(e.val(),'"]')).click(),r.fn.conditionize&&m.conditionize(),r(".vp-control-range").each(function(){var t=r(this).find("input"),e=t.filter('[type="hidden"]');t.on("change input",function(a){t.val(r(this).val()),e.trigger("vp-fake-".concat(a.type))})}),r.fn.wpColorPicker&&r(".vp-color-picker").each(function(){r(this).data("change",Object(n.a)(300,function(t){r(t.target).change()})).wpColorPicker()}),r.fn.imagepicker&&r(".vp-image-picker").imagepicker();var a=r(".vp_list_preview iframe"),l=!1,d=!1,_=r('<form target="vp_list_preview_iframe" method="post" style="display: none">').attr("action",a.attr("src")).insertAfter(m);r.fn.iFrameResize&&a.iFrameResize({interval:10}),I=Object(n.a)(400,I),m.on("change input vp-fake-change vp-fake-input",'[name*="vp_"]',function(t){var e=r(this);if(!e.closest(".vp-no-reload").length)if(r('[name="'.concat(e.attr("name"),'__style[]"]')).length)D();else{var a={name:e.attr("name"),value:e.is("[type=checkbox], [type=radio]")?e.is(":checked"):e.val(),reload:"change"===t.type||"vp-fake-change"===t.type,jQuery:d,$portfolio:l},n=_.find('[name="'.concat(a.name,'"]'));n.length||(n=r('<input type="hidden" name="'.concat(a.name,'" />')).appendTo(_)),n.attr("value",a.value),f.trigger("vp-preview-change",a),a.reload||D(),!a.reload&&l||I()}}),a.on("load",function(){d=this.contentWindow.jQuery,l=d(".vp-portfolio"),D()}),f.on("vp-preview-change",function(t,e){if(e.$portfolio)switch(e.name){case"vp_layout":case"vp_tiles_type":case"vp_masonry_columns":case"vp_justified_row_height":case"vp_justified_row_height_tolerance":case"vp_slider_effect":case"vp_slider_speed":case"vp_slider_autoplay":case"vp_slider_centered_slides":case"vp_slider_loop":case"vp_slider_free_mode":case"vp_slider_arrows":case"vp_slider_arrows_icon_prev":case"vp_slider_arrows_icon_next":case"vp_slider_bullets":case"vp_slider_bullets_dynamic":case"vp_items_gap":var a=e.name;a=(a=a.substring(3)).replace(/_/g,"-"),e.$portfolio.attr("data-vp-".concat(a),e.value),e.$portfolio.vpf("init"),e.reload=!1;break;case"vp_filter_align":e.$portfolio.find(".vp-filter").removeClass("vp-filter__align-center vp-filter__align-left vp-filter__align-right").addClass("vp-filter__align-".concat(e.value)),e.reload=!1;break;case"vp_pagination_align":e.$portfolio.find(".vp-pagination").removeClass("vp-pagination__align-center vp-pagination__align-left vp-pagination__align-right").addClass("vp-pagination__align-".concat(e.value)),e.reload=!1;break;case"vp_controls_styles":var n=e.$portfolio.closest("html"),i="vp-controls-styles-".concat(h,"-inline-css"),o=n.find("#".concat(i));o.length||(o=e.jQuery('<style id="'.concat(i,'">')),n.find("body").prepend(o)),o.html(e.value),e.reload=!1;break;case"vp_custom_css":var r=e.$portfolio.closest("html"),l="vp-custom-css-".concat(h,"-inline-css"),c=r.find("#".concat(l));c.length||(c=e.jQuery('<style id="'.concat(l,'">')),r.find("body").prepend(c)),c.html(e.value),e.reload=!1;break;case"vp_list_name":case"vp_stretch":e.reload=!1}}),u.on("click",".vp-control-image-dropdown",function(t){r(t.target).closest(".vp-control-image-dropdown__content").length||r(this).toggleClass("active")}),u.on("mousedown",function(t){var e=r(t.target).closest(".vp-control-image-dropdown");r(".vp-control-image-dropdown.active").each(function(){this!==e[0]&&r(this).removeClass("active")})}),u.on("change",".vp-control-image-dropdown .vp-image-picker",function(){var t=r(this),e=t.data("picker");if(e){var a=e.select.find('option[value="'.concat(e.select.val(),'"]')),n=a.parent("optgroup"),i=t.closest(".vp-control-image-dropdown"),o=a.attr("data-img-src");i.length&&(i.children(".vp-control-image-dropdown__preview").html('<img src="'.concat(o,'" alt="">')),n.length&&i.children(".vp-control-image-dropdown__title").html(n.attr("label")))}});var y=r('[name="vp_list_name"]'),b=r('[name="post_title"]');y.length&&b.length&&(y.on("input",function(){b.val()!==y.val()&&b.val(y.val()).change()}),b.on("input",function(){y.val(b.val())})),r.fn.select2&&r(".vp-select2").each(function(){var t=r(this),e={width:"100%",minimumResultsForSearch:t.hasClass("vp-select2-nosearch")?-1:1,tags:t.hasClass("vp-select2-tags")},a=!!t.attr("data-post-type")&&r(t.attr("data-post-type"));t.closest(".vp-select2-posts-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:c,dataType:"json",delay:250,data:function(t){return{action:"vp_find_posts",q:t.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(t){return{results:!(!t||!t.length)&&t}},cache:!0},escapeMarkup:function(t){return t},templateResult:function(t){if(t.loading)return t.text;var e="";t.title&&(e=t.title);var a="";t.post_type&&(a=t.post_type);var n="";return t.img&&(n="style=\"background-image: url('".concat(t.img,"');\"")),"".concat('<div class="vp-select2-ajax__result"><div class="vp-select2-ajax__result-img" ').concat(n,"></div>")+'<div class="vp-select2-ajax__result-data">'+'<div class="vp-select2-ajax__result-title">'.concat(e,"</div>")+'<div class="vp-select2-ajax__result-post-type">'.concat(a,"</div>")+"</div></div>"},templateSelection:function(t){return t.title||t.text}},e)),t.closest(".vp-select2-taxonomies-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:c,dataType:"json",delay:250,data:function(t){return{action:"vp_find_taxonomies",q:t.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(t){var e=[];return t&&Object.keys(t).forEach(function(a){e.push({text:a,children:t[a]})}),{results:e}},cache:!0}},e)),t.select2(e).data("select2").$dropdown.addClass("select2-vp-container")});var w=r(".vp-control-gallery"),k=0;if(r.fn.sortable&&(w.each(function(){var t=r(this),e=t.children(".vp-control-gallery-items-default");t.children(".vp-control-gallery-items").sortable({animation:150,draggable:".vp-control-gallery-items-img",onUpdate:function(){Q(t)}}),t.on("click",".vp-control-gallery-items-remove",function(e){e.preventDefault(),r(this).parent().remove(),Q(t)}),t.on("click",".vp-control-gallery-items-add",function(a){a.preventDefault();var n=t.data("wp-frame");n?n.open():wp.media?(n=wp.media({title:"Select or Upload Images",button:{text:"Add images"},multiple:!0,library:{type:"image"}}),t.data("wp-frame",n),n.on("select",function(){var a=n.state().get("selection").models;a&&a.length&&(a.forEach(function(a){var n=a.attributes.url;a.attributes.sizes&&a.attributes.sizes.thumbnail&&(n=a.attributes.sizes.thumbnail.url);var i=e.children().clone();i.attr("data-image-id",a.id),i.children("img").attr("src",n),i.find('[data-meta="width"]').html(a.attributes.width),i.find('[data-meta="height"]').html(a.attributes.height),i.find('[data-meta="filename"]').html(a.attributes.filename),i.find('[data-meta="editLink"]').html(a.attributes.editLink),i.find('[data-meta="filesizeHumanReadable"]').html(a.attributes.filesizeHumanReadable),a.attributes.title&&i.find('[data-additional="title"]').html(a.attributes.title),a.attributes.description&&i.find('[data-additional="description"]').html(a.attributes.description),t.find(".vp-control-gallery-items-add").before(i)}),Q(t))}),n.open()):console.error("Can't access wp.media object.")}),t.on("click",".vp-control-gallery-items-img",function(e){e.preventDefault(),U(t,r(this).attr("data-image-id"))}),t.on("change input",".vp-control-gallery-additional-data [name]",Object(n.a)(200,function(){var e=t.children(".vp-control-gallery-additional-data"),a=t.children("textarea").attr("name"),n=t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").attr("data-image-id");if(n){var o=t.children(".vp-control-gallery-items").find('[data-image-id="'+n+'"]');e.find('[name*="'+a+'_additional_"]').each(function(){var t=r(this).attr("name").replace(a+"_additional_","").replace("[]",""),e=r(this).val()||"";"object"===i(e)&&(e=JSON.stringify(e)),o.find('[data-additional="'+t+'"]').html(e||"")}),Q(t)}}))}),w.length)){var C=w.children(".vp-control-gallery-additional-data");r(document).on("mousedown",function(t){if(k){var e=t.target;r(e).closest(".vp-control-gallery-additional-data, .vp-control-gallery-items-img, .select2-vp-container").length||(C.removeClass("active"),w.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").removeClass("active"),k=w.find(".vp-control-gallery-additional-data.active").length)}})}var x=r('[name="vp_custom_css"]'),j=!1,S=!0;if(void 0!==p&&x.length){var O=function(t){$.css("height",Math.max(200,M+t.originalEvent.y-A)),z.setSize(null,Math.max(200,M+t.y-A)+"px")},E=function t(){u.off("mousemove",O),u.off("mouseup",t)};if(s&&s.classnames){var T=p.hint.css;p.hint.css=function(t){var e=t.getCursor(),a=T(t)||{from:e,to:t.getCursor(),list:[]},n=t.getTokenAt(e);return"top"===n.state.state&&0===n.string.indexOf(".")&&(a={from:p.Pos(e.line,n.start),to:p.Pos(e.line,n.end),list:[]},s.classnames.forEach(function(t){-1!==t.indexOf(n.string)&&a.list.push(t)})),a}}var z=p.fromTextArea(x[0],{mode:"css",theme:"eclipse",indentUnit:4,autoCloseTags:!0,autoCloseBrackets:!0,matchBrackets:!0,foldGutter:!0,lint:{options:{errors:!0,"box-model":!0,"display-property-grouping":!0,"duplicate-properties":!0,"known-properties":!0,"outline-none":!0},onUpdateLinting:function(t,e,a){var n=[];t.forEach(function(t){"error"===t.severity&&n.push(t)}),a.vcLintErrors=n,j||q(a.vcLintErrors,!0)}},lineNumbers:!0,lineWrapping:!0,scrollPastEnd:!0,emmet_active:!0,emmet:!0,styleActiveLine:!0,continueComments:!0,scrollbarStyle:"simple",extraKeys:{"Ctrl-Space":"autocomplete","Ctrl-/":"toggleComment","Cmd-/":"toggleComment","Alt-F":"findPersistent"},gutters:["CodeMirror-lint-markers","CodeMirror-linenumbers","CodeMirror-foldgutter"]});v(z),x.data("CodeMirrorInstance",z),z.on("change",function(){z.save(),x.change()}),z.on("keyup",function(t,e){var a=/^[a-zA-Z]$/.test(e.key);if(!t.state.completionActive||!a){var n=t.getTokenAt(t.getCursor());if("string"!==n.type&&"comment"!==n.type){var i=t.doc.getLine(t.doc.getCursor().line).substr(0,t.doc.getCursor().ch);(a||":"===e.key||" "===e.key&&/:\s+$/.test(i))&&t.showHint({completeSingle:!1})}}});var A,M,L=r(".CodeMirror-resizer").after(x),$=L.prev(".CodeMirror");L.on("mousedown",function(t){A=t.originalEvent.y,M=$.height(),u.on("mousemove",O),u.on("mouseup",E)})}var P=!1;u.on("click","#publish:not(.disabled)",function(t){if(P=!0,!j){var e=r(this),a=x.length&&x.data("CodeMirrorInstance");a&&a.vcLintErrors&&a.vcLintErrors.length&&(t.preventDefault(),e.addClass("disabled button-disabled button-primary-disabled"),setTimeout(function(){e.removeClass("disabled button-disabled button-primary-disabled")},1500),q(a.vcLintErrors,!1),r("html,body").animate({scrollTop:r("#vp_custom_css").offset().top-100},300),a.focus(),a.setCursor(a.vcLintErrors[0].from.line))}});var R=m.serialize();r(window).on("beforeunload",function(){if(!P)return R!==m.serialize()||void 0;P=!1}),u.on("change","#vp_custom_css_notice_prevent",function(){j=!0,r(this).closest(".notice").slideUp()})}function D(){var t="",e=r('[name="vp_controls_styles"]'),a=".vp-id-".concat(h),n=e.val();r('.vp-control-style [type="hidden"]').each(function(){var e=r(this),n=e.closest(".vp-control");if("none"!==n.css("display")){var i=(e.attr("data-style-mask")||"$").replace("$",n.find(e.attr("data-style-from")).val()),o=a+" "+e.attr("data-style-element"),l=e.attr("data-style-property");t&&(t+=" "),t+="".concat(o," { ").concat(l,": ").concat(i,"; }")}}),n!==t&&e.val(t).trigger("vp-fake-change")}function I(){d=!1,l=!1,_.submit()}function N(t,e){var a={id:e};return t.find('[data-image-id="'+e+'"]').find("[data-additional]").each(function(){var t=r(this),e=t.attr("data-additional");if(a[e]=t.html(),"true"===t.attr("data-to-json"))try{a[e]=JSON.parse(a[e])}catch(t){a[e]=""}}),a}function Q(t){var e=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){e.push(N(t,r(this).attr("data-image-id")))});var a=JSON.stringify(e),n=t.children("textarea");a!==n.val()&&n.val(a).change()}function U(t,e){var a=t.children("textarea").attr("name"),n=t.children(".vp-control-gallery-additional-data"),i=n.children(".vp-control-gallery-additional-data-preview"),l=t.children(".vp-control-gallery-items").find('.vp-control-gallery-items-img[data-image-id="'+e+'"]'),c=N(t,e),s=function(t,e){var a={};return t.find('[data-image-id="'+e+'"]').find("[data-meta]").each(function(){a[r(this).attr("data-meta")]=r(this).html()}),a}(t,e);c&&Object.keys(c).forEach(function(e){var i=n.find('[name="'+a+"_additional_"+e+'"], [name="'+a+"_additional_"+e+'[]"]').val(c[e]||"");if(i.hasClass("vp-select2")){if(i.hasClass("vp-select2-tags")){var l=[],s=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){var a=N(t,r(this).attr("data-image-id"));a&&void 0!==a[e]&&a[e]&&(l=o(new Set(o(l).concat(o(a[e])))))}),l.forEach(function(t){s.push(new window.Option(t,t,!1,!1))}),i.html(s.length?s:""),i.val(void 0!==c[e]&&c[e]?c[e]:"")}i.trigger("change")}}),i.find(".vp-control-gallery-additional-data-preview-image img").attr("src",l.children("img").attr("src")||""),i.find(".vp-control-gallery-additional-data-preview-name").html(s.filename),i.find(".vp-control-gallery-additional-data-preview-size").html(s.width+"x"+s.height+" ("+s.filesizeHumanReadable+")"),i.find(".vp-control-gallery-additional-data-preview-edit a").attr("href",s.editLink.replace("&","&")),l.siblings().removeClass("active"),l.addClass("active"),n.addClass("active"),k=w.find(".vp-control-gallery-additional-data.active").length}function q(t,e){if(S&&(e=!1,S=!1),s&&s.css_editor_error_notice){var a=!1;if(1===t.length?a=s.css_editor_error_notice.singular.replace("%d","1"):t.length>1&&(a=s.css_editor_error_notice.plural.replace("%d",String(t.length))),a){var n=x.prev("#vp_custom_css_notice");if(n.length||e||(n=r('<div class="notice notice-error inline" id="vp_custom_css_notice"></div>'),x.before(n)),!n.length)return;var i='<p class="notification-message">'.concat(a,"</p>")+'<p><input id="vp_custom_css_notice_prevent" type="checkbox">'+'<label for="vp_custom_css_notice_prevent">'.concat(s.css_editor_error_checkbox,"</label>")+"</p>";n.html(i)}else x.prev("#vp_custom_css_notice").remove()}}}(),u.hasClass("portfolio_page_visual-portfolio-settings")&&(u.on("change",'[name="vp_popup_gallery[show_caption]"]',C),f.on("ready",C),C())},30:function(t,e,a){"use strict";function n(t,e,a,n){var i,o=0;return"boolean"!=typeof e&&(n=a,a=e,e=void 0),function(){var r=this,l=Number(new Date)-o,c=arguments;function s(){o=Number(new Date),a.apply(r,c)}n&&!i&&s(),i&&clearTimeout(i),void 0===n&&l>t?s():!0!==e&&(i=setTimeout(n?function(){i=void 0}:s,void 0===n?t-l:t))}}function i(t,e,a){return void 0===a?n(t,e,!1):n(t,a,!1!==e)}a.d(e,"b",function(){return n}),a.d(e,"a",function(){return i})}});
|
1 |
!function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=169)}({169:function(t,e,a){t.exports=a(170)},170:function(t,e,a){"use strict";a.r(e);var n=a(30);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
+
* Version : 1.9.2
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var r=jQuery,l=window,c=l.ajaxurl,s=l.VPAdminVariables,d=l.Tooltip,p=l.CodeMirror,v=l.emmetCodeMirror,u=r("body"),f=r(window),m=r('form[name="post"]'),g=r('[name="post_type"]'),h=r("#postID, #post_ID").eq(0).val();u.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"]',function(){this.select()}),u.on("click",".vp-onclick-selection",function(){window.getSelection().selectAllChildren(this)});var _=r("#vp_format_video"),y=r("#post-format-video");function b(){_[y.is(":checked")?"show":"hide"]()}_.length&&y.length&&(b(),u.on("change","[name=post_format]",function(){b()}));var w=null;function k(t){w=r.ajax({url:c,method:"GET",dataType:"json",data:{action:"vp_find_oembed",q:t.val(),nonce:s.nonce},complete:function(e){var a=e.responseJSON;a&&void 0!==a.html&&t.next(".vp-oembed-preview").html(a.html)}})}function C(){var t=r('[name="vp_popup_gallery[show_caption]"]');t.closest("tbody").find("tr.caption_title, tr.caption_description")[t.is(":checked")?"show":"hide"]()}k=Object(n.a)(300,k),u.on("change input",'.vp-input[name="video_url"]',function(){null!==w&&w.abort();var t=r(this);t.next(".vp-oembed-preview").html(""),k(t)}),void 0!==d&&r('[data-hint]:not([data-hint=""]):not([data-hint="false"])').each(function(){var t=r(this);new d(this,{placement:t.attr("data-hint-place")||"top",title:t.attr("data-hint"),container:r("body")[0],boundariesElement:"viewport"})}),function(){if("vp_lists"===g.val()&&m.length){var t=r(".vp-content-source"),e=t.find('[name="vp_content_source"]');t.on("click",".vp-content-source__item",function(){var a=r(this).attr("data-content");t.find('[data-content="'.concat(a,'"]')).addClass("active").siblings().removeClass("active"),e.val(a).change()}),t.children('[data-content="'.concat(e.val(),'"]')).click(),r.fn.conditionize&&m.conditionize(),r(".vp-control-range").each(function(){var t=r(this).find("input"),e=t.filter('[type="hidden"]');t.on("change input",function(a){t.val(r(this).val()),e.trigger("vp-fake-".concat(a.type))})}),r.fn.wpColorPicker&&r(".vp-color-picker").each(function(){r(this).data("change",Object(n.a)(300,function(t){r(t.target).change()})).wpColorPicker()}),r.fn.imagepicker&&r(".vp-image-picker").imagepicker();var a=r(".vp_list_preview iframe"),l=!1,d=!1,_=r('<form target="vp_list_preview_iframe" method="post" style="display: none">').attr("action",a.attr("src")).insertAfter(m);r.fn.iFrameResize&&a.iFrameResize({interval:10}),I=Object(n.a)(400,I),m.on("change input vp-fake-change vp-fake-input",'[name*="vp_"]',function(t){var e=r(this);if(!e.closest(".vp-no-reload").length)if(r('[name="'.concat(e.attr("name"),'__style[]"]')).length)D();else{var a={name:e.attr("name"),value:e.is("[type=checkbox], [type=radio]")?e.is(":checked"):e.val(),reload:"change"===t.type||"vp-fake-change"===t.type,jQuery:d,$portfolio:l},n=_.find('[name="'.concat(a.name,'"]'));n.length||(n=r('<input type="hidden" name="'.concat(a.name,'" />')).appendTo(_)),n.attr("value",a.value),f.trigger("vp-preview-change",a),a.reload||D(),!a.reload&&l||I()}}),a.on("load",function(){d=this.contentWindow.jQuery,l=d(".vp-portfolio"),D()}),f.on("vp-preview-change",function(t,e){if(e.$portfolio)switch(e.name){case"vp_layout":case"vp_tiles_type":case"vp_masonry_columns":case"vp_justified_row_height":case"vp_justified_row_height_tolerance":case"vp_slider_effect":case"vp_slider_speed":case"vp_slider_autoplay":case"vp_slider_centered_slides":case"vp_slider_loop":case"vp_slider_free_mode":case"vp_slider_arrows":case"vp_slider_arrows_icon_prev":case"vp_slider_arrows_icon_next":case"vp_slider_bullets":case"vp_slider_bullets_dynamic":case"vp_items_gap":var a=e.name;a=(a=a.substring(3)).replace(/_/g,"-"),e.$portfolio.attr("data-vp-".concat(a),e.value),e.$portfolio.vpf("init"),e.reload=!1;break;case"vp_filter_align":e.$portfolio.find(".vp-filter").removeClass("vp-filter__align-center vp-filter__align-left vp-filter__align-right").addClass("vp-filter__align-".concat(e.value)),e.reload=!1;break;case"vp_pagination_align":e.$portfolio.find(".vp-pagination").removeClass("vp-pagination__align-center vp-pagination__align-left vp-pagination__align-right").addClass("vp-pagination__align-".concat(e.value)),e.reload=!1;break;case"vp_controls_styles":var n=e.$portfolio.closest("html"),i="vp-controls-styles-".concat(h,"-inline-css"),o=n.find("#".concat(i));o.length||(o=e.jQuery('<style id="'.concat(i,'">')),n.find("body").prepend(o)),o.html(e.value),e.reload=!1;break;case"vp_custom_css":var r=e.$portfolio.closest("html"),l="vp-custom-css-".concat(h,"-inline-css"),c=r.find("#".concat(l));c.length||(c=e.jQuery('<style id="'.concat(l,'">')),r.find("body").prepend(c)),c.html(e.value),e.reload=!1;break;case"vp_list_name":case"vp_stretch":e.reload=!1}}),u.on("click",".vp-control-image-dropdown",function(t){r(t.target).closest(".vp-control-image-dropdown__content").length||r(this).toggleClass("active")}),u.on("mousedown",function(t){var e=r(t.target).closest(".vp-control-image-dropdown");r(".vp-control-image-dropdown.active").each(function(){this!==e[0]&&r(this).removeClass("active")})}),u.on("change",".vp-control-image-dropdown .vp-image-picker",function(){var t=r(this),e=t.data("picker");if(e){var a=e.select.find('option[value="'.concat(e.select.val(),'"]')),n=a.parent("optgroup"),i=t.closest(".vp-control-image-dropdown"),o=a.attr("data-img-src");i.length&&(i.children(".vp-control-image-dropdown__preview").html('<img src="'.concat(o,'" alt="">')),n.length&&i.children(".vp-control-image-dropdown__title").html(n.attr("label")))}});var y=r('[name="vp_list_name"]'),b=r('[name="post_title"]');y.length&&b.length&&(y.on("input",function(){b.val()!==y.val()&&b.val(y.val()).change()}),b.on("input",function(){y.val(b.val())})),r.fn.select2&&r(".vp-select2").each(function(){var t=r(this),e={width:"100%",minimumResultsForSearch:t.hasClass("vp-select2-nosearch")?-1:1,tags:t.hasClass("vp-select2-tags")},a=!!t.attr("data-post-type")&&r(t.attr("data-post-type"));t.closest(".vp-select2-posts-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:c,dataType:"json",delay:250,data:function(t){return{action:"vp_find_posts",q:t.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(t){return{results:!(!t||!t.length)&&t}},cache:!0},escapeMarkup:function(t){return t},templateResult:function(t){if(t.loading)return t.text;var e="";t.title&&(e=t.title);var a="";t.post_type&&(a=t.post_type);var n="";return t.img&&(n="style=\"background-image: url('".concat(t.img,"');\"")),"".concat('<div class="vp-select2-ajax__result"><div class="vp-select2-ajax__result-img" ').concat(n,"></div>")+'<div class="vp-select2-ajax__result-data">'+'<div class="vp-select2-ajax__result-title">'.concat(e,"</div>")+'<div class="vp-select2-ajax__result-post-type">'.concat(a,"</div>")+"</div></div>"},templateSelection:function(t){return t.title||t.text}},e)),t.closest(".vp-select2-taxonomies-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:c,dataType:"json",delay:250,data:function(t){return{action:"vp_find_taxonomies",q:t.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(t){var e=[];return t&&Object.keys(t).forEach(function(a){e.push({text:a,children:t[a]})}),{results:e}},cache:!0}},e)),t.select2(e).data("select2").$dropdown.addClass("select2-vp-container")});var w=r(".vp-control-gallery"),k=0;if(r.fn.sortable&&(w.each(function(){var t=r(this),e=t.children(".vp-control-gallery-items-default");t.children(".vp-control-gallery-items").sortable({animation:150,draggable:".vp-control-gallery-items-img",onUpdate:function(){Q(t)}}),t.on("click",".vp-control-gallery-items-remove",function(e){e.preventDefault(),r(this).parent().remove(),Q(t)}),t.on("click",".vp-control-gallery-items-add",function(a){a.preventDefault();var n=t.data("wp-frame");n?n.open():wp.media?(n=wp.media({title:"Select or Upload Images",button:{text:"Add images"},multiple:!0,library:{type:"image"}}),t.data("wp-frame",n),n.on("select",function(){var a=n.state().get("selection").models;a&&a.length&&(a.forEach(function(a){var n=a.attributes.url;a.attributes.sizes&&a.attributes.sizes.thumbnail&&(n=a.attributes.sizes.thumbnail.url);var i=e.children().clone();i.attr("data-image-id",a.id),i.children("img").attr("src",n),i.find('[data-meta="width"]').html(a.attributes.width),i.find('[data-meta="height"]').html(a.attributes.height),i.find('[data-meta="filename"]').html(a.attributes.filename),i.find('[data-meta="editLink"]').html(a.attributes.editLink),i.find('[data-meta="filesizeHumanReadable"]').html(a.attributes.filesizeHumanReadable),a.attributes.title&&i.find('[data-additional="title"]').html(a.attributes.title),a.attributes.description&&i.find('[data-additional="description"]').html(a.attributes.description),t.find(".vp-control-gallery-items-add").before(i)}),Q(t))}),n.open()):console.error("Can't access wp.media object.")}),t.on("click",".vp-control-gallery-items-img",function(e){e.preventDefault(),U(t,r(this).attr("data-image-id"))}),t.on("change input",".vp-control-gallery-additional-data [name]",Object(n.a)(200,function(){var e=t.children(".vp-control-gallery-additional-data"),a=t.children("textarea").attr("name"),n=t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").attr("data-image-id");if(n){var o=t.children(".vp-control-gallery-items").find('[data-image-id="'+n+'"]');e.find('[name*="'+a+'_additional_"]').each(function(){var t=r(this).attr("name").replace(a+"_additional_","").replace("[]",""),e=r(this).val()||"";"object"===i(e)&&(e=JSON.stringify(e)),o.find('[data-additional="'+t+'"]').html(e||"")}),Q(t)}}))}),w.length)){var C=w.children(".vp-control-gallery-additional-data");r(document).on("mousedown",function(t){if(k){var e=t.target;r(e).closest(".vp-control-gallery-additional-data, .vp-control-gallery-items-img, .select2-vp-container").length||(C.removeClass("active"),w.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").removeClass("active"),k=w.find(".vp-control-gallery-additional-data.active").length)}})}var x=r('[name="vp_custom_css"]'),j=!1,S=!0;if(void 0!==p&&x.length){var O=function(t){$.css("height",Math.max(200,M+t.originalEvent.y-A)),z.setSize(null,Math.max(200,M+t.y-A)+"px")},E=function t(){u.off("mousemove",O),u.off("mouseup",t)};if(s&&s.classnames){var T=p.hint.css;p.hint.css=function(t){var e=t.getCursor(),a=T(t)||{from:e,to:t.getCursor(),list:[]},n=t.getTokenAt(e);return"top"===n.state.state&&0===n.string.indexOf(".")&&(a={from:p.Pos(e.line,n.start),to:p.Pos(e.line,n.end),list:[]},s.classnames.forEach(function(t){-1!==t.indexOf(n.string)&&a.list.push(t)})),a}}var z=p.fromTextArea(x[0],{mode:"css",theme:"eclipse",indentUnit:4,autoCloseTags:!0,autoCloseBrackets:!0,matchBrackets:!0,foldGutter:!0,lint:{options:{errors:!0,"box-model":!0,"display-property-grouping":!0,"duplicate-properties":!0,"known-properties":!0,"outline-none":!0},onUpdateLinting:function(t,e,a){var n=[];t.forEach(function(t){"error"===t.severity&&n.push(t)}),a.vcLintErrors=n,j||q(a.vcLintErrors,!0)}},lineNumbers:!0,lineWrapping:!0,scrollPastEnd:!0,emmet_active:!0,emmet:!0,styleActiveLine:!0,continueComments:!0,scrollbarStyle:"simple",extraKeys:{"Ctrl-Space":"autocomplete","Ctrl-/":"toggleComment","Cmd-/":"toggleComment","Alt-F":"findPersistent"},gutters:["CodeMirror-lint-markers","CodeMirror-linenumbers","CodeMirror-foldgutter"]});v(z),x.data("CodeMirrorInstance",z),z.on("change",function(){z.save(),x.change()}),z.on("keyup",function(t,e){var a=/^[a-zA-Z]$/.test(e.key);if(!t.state.completionActive||!a){var n=t.getTokenAt(t.getCursor());if("string"!==n.type&&"comment"!==n.type){var i=t.doc.getLine(t.doc.getCursor().line).substr(0,t.doc.getCursor().ch);(a||":"===e.key||" "===e.key&&/:\s+$/.test(i))&&t.showHint({completeSingle:!1})}}});var A,M,L=r(".CodeMirror-resizer").after(x),$=L.prev(".CodeMirror");L.on("mousedown",function(t){A=t.originalEvent.y,M=$.height(),u.on("mousemove",O),u.on("mouseup",E)})}var P=!1;u.on("click","#publish:not(.disabled)",function(t){if(P=!0,!j){var e=r(this),a=x.length&&x.data("CodeMirrorInstance");a&&a.vcLintErrors&&a.vcLintErrors.length&&(t.preventDefault(),e.addClass("disabled button-disabled button-primary-disabled"),setTimeout(function(){e.removeClass("disabled button-disabled button-primary-disabled")},1500),q(a.vcLintErrors,!1),r("html,body").animate({scrollTop:r("#vp_custom_css").offset().top-100},300),a.focus(),a.setCursor(a.vcLintErrors[0].from.line))}});var R=m.serialize();r(window).on("beforeunload",function(){if(!P)return R!==m.serialize()||void 0;P=!1}),u.on("change","#vp_custom_css_notice_prevent",function(){j=!0,r(this).closest(".notice").slideUp()})}function D(){var t="",e=r('[name="vp_controls_styles"]'),a=".vp-id-".concat(h),n=e.val();r('.vp-control-style [type="hidden"]').each(function(){var e=r(this),n=e.closest(".vp-control");if("none"!==n.css("display")){var i=(e.attr("data-style-mask")||"$").replace("$",n.find(e.attr("data-style-from")).val()),o=a+" "+e.attr("data-style-element"),l=e.attr("data-style-property");t&&(t+=" "),t+="".concat(o," { ").concat(l,": ").concat(i,"; }")}}),n!==t&&e.val(t).trigger("vp-fake-change")}function I(){d=!1,l=!1,_.submit()}function N(t,e){var a={id:e};return t.find('[data-image-id="'+e+'"]').find("[data-additional]").each(function(){var t=r(this),e=t.attr("data-additional");if(a[e]=t.html(),"true"===t.attr("data-to-json"))try{a[e]=JSON.parse(a[e])}catch(t){a[e]=""}}),a}function Q(t){var e=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){e.push(N(t,r(this).attr("data-image-id")))});var a=JSON.stringify(e),n=t.children("textarea");a!==n.val()&&n.val(a).change()}function U(t,e){var a=t.children("textarea").attr("name"),n=t.children(".vp-control-gallery-additional-data"),i=n.children(".vp-control-gallery-additional-data-preview"),l=t.children(".vp-control-gallery-items").find('.vp-control-gallery-items-img[data-image-id="'+e+'"]'),c=N(t,e),s=function(t,e){var a={};return t.find('[data-image-id="'+e+'"]').find("[data-meta]").each(function(){a[r(this).attr("data-meta")]=r(this).html()}),a}(t,e);c&&Object.keys(c).forEach(function(e){var i=n.find('[name="'+a+"_additional_"+e+'"], [name="'+a+"_additional_"+e+'[]"]').val(c[e]||"");if(i.hasClass("vp-select2")){if(i.hasClass("vp-select2-tags")){var l=[],s=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){var a=N(t,r(this).attr("data-image-id"));a&&void 0!==a[e]&&a[e]&&(l=o(new Set(o(l).concat(o(a[e])))))}),l.forEach(function(t){s.push(new window.Option(t,t,!1,!1))}),i.html(s.length?s:""),i.val(void 0!==c[e]&&c[e]?c[e]:"")}i.trigger("change")}}),i.find(".vp-control-gallery-additional-data-preview-image img").attr("src",l.children("img").attr("src")||""),i.find(".vp-control-gallery-additional-data-preview-name").html(s.filename),i.find(".vp-control-gallery-additional-data-preview-size").html(s.width+"x"+s.height+" ("+s.filesizeHumanReadable+")"),i.find(".vp-control-gallery-additional-data-preview-edit a").attr("href",s.editLink.replace("&","&")),l.siblings().removeClass("active"),l.addClass("active"),n.addClass("active"),k=w.find(".vp-control-gallery-additional-data.active").length}function q(t,e){if(S&&(e=!1,S=!1),s&&s.css_editor_error_notice){var a=!1;if(1===t.length?a=s.css_editor_error_notice.singular.replace("%d","1"):t.length>1&&(a=s.css_editor_error_notice.plural.replace("%d",String(t.length))),a){var n=x.prev("#vp_custom_css_notice");if(n.length||e||(n=r('<div class="notice notice-error inline" id="vp_custom_css_notice"></div>'),x.before(n)),!n.length)return;var i='<p class="notification-message">'.concat(a,"</p>")+'<p><input id="vp_custom_css_notice_prevent" type="checkbox">'+'<label for="vp_custom_css_notice_prevent">'.concat(s.css_editor_error_checkbox,"</label>")+"</p>";n.html(i)}else x.prev("#vp_custom_css_notice").remove()}}}(),u.hasClass("portfolio_page_visual-portfolio-settings")&&(u.on("change",'[name="vp_popup_gallery[show_caption]"]',C),f.on("ready",C),C())},30:function(t,e,a){"use strict";function n(t,e,a,n){var i,o=0;return"boolean"!=typeof e&&(n=a,a=e,e=void 0),function(){var r=this,l=Number(new Date)-o,c=arguments;function s(){o=Number(new Date),a.apply(r,c)}n&&!i&&s(),i&&clearTimeout(i),void 0===n&&l>t?s():!0!==e&&(i=setTimeout(n?function(){i=void 0}:s,void 0===n?t-l:t))}}function i(t,e,a){return void 0===a?n(t,e,!1):n(t,a,!1!==e)}a.d(e,"b",function(){return n}),a.d(e,"a",function(){return i})}});
|
assets/admin/js/vc-frontend.min.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Additional js for frontend VC
|
4 |
*
|
5 |
* Name : Visual Portfolio
|
6 |
-
* Version : 1.9.
|
7 |
* Author : nK https://nkdev.info
|
8 |
*/
|
9 |
var n=window.vc;jQuery(function(){void 0!==n&&n.events.on("shortcodes:add shortcodeView:updated",function(e){if("visual_portfolio"===e.settings.base){var t=n.$frame[0].contentWindow,r=!!t&&t.jQuery;if(r){var o=r(e.view.el).children(".vp-portfolio");o.length&&void 0!==o.vpf&&o.vpf()}}})})}});
|
3 |
* Additional js for frontend VC
|
4 |
*
|
5 |
* Name : Visual Portfolio
|
6 |
+
* Version : 1.9.2
|
7 |
* Author : nK https://nkdev.info
|
8 |
*/
|
9 |
var n=window.vc;jQuery(function(){void 0!==n&&n.events.on("shortcodes:add shortcodeView:updated",function(e){if("visual_portfolio"===e.settings.base){var t=n.$frame[0].contentWindow,r=!!t&&t.jQuery;if(r){var o=r(e.view.el).children(".vp-portfolio");o.length&&void 0!==o.vpf&&o.vpf()}}})})}});
|
assets/css/style.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 1.9.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/.vp-portfolio{position:relative;min-height:114px}.vp-portfolio,.vp-portfolio *{box-sizing:border-box}.vp-portfolio__items{transition:.3s height ease-in-out, .3s transform ease-in-out;will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap{visibility:hidden;opacity:0;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__item-wrap{position:relative;float:left;width:33.333%}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a{display:block;width:100%;height:auto}.vp-portfolio__item-img{position:relative}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;left:50%;width:23px;height:24px;margin-top:45px;margin-left:-11px;-webkit-animation:vp-preloader 2s linear infinite;animation:vp-preloader 2s linear infinite}.vp-portfolio__preloader span{position:absolute;display:block;top:0;left:0;width:10px;height:7px;background-color:#8a8a8a}.vp-portfolio__preloader span:nth-of-type(1){height:14px}.vp-portfolio__preloader span:nth-of-type(2){left:12px}.vp-portfolio__preloader span:nth-of-type(3){top:16px}.vp-portfolio__preloader span:nth-of-type(4){top:9px;left:12px;height:14px}@-webkit-keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}@keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}[data-vp-layout="tiles"] .vp-portfolio__item-img img,[data-vp-layout="tiles"] .vp-portfolio__item-img{position:absolute;top:0;right:0;bottom:0;left:0}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap::before{content:"";display:block;margin-top:56%}[data-vp-layout="tiles"] .vp-portfolio__item-img img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="justified"] .vp-portfolio__items{transition:.2s height ease-in-out;will-change:height}[data-vp-layout="justified"] .vp-portfolio__item-wrap{float:left;top:0;left:0;transition:.2s transform ease-in-out, .2s width ease-in-out, .2s height ease-in-out;will-change:transform, width, height}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;width:auto}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap::before{content:"";display:block}[data-vp-layout="slider"] .vp-portfolio__item-img img{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="slider"] .vp-portfolio__items-arrow{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;width:40px;height:40px;margin-top:-20px;color:#6c7781;cursor:pointer;background-color:#fff;border-radius:50%;box-shadow:0 0 7px 2px rgba(0,0,0,0.04);opacity:.5;transition:.2s opacity ease-in-out, .2s box-shadow ease-in-out;will-change:opacity, box-shadow;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow::after{content:"";position:absolute;display:block;top:-10px;right:-10px;bottom:-10px;left:-10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow:hover{box-shadow:0 2px 15px 2px rgba(0,0,0,0.04);opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow-prev{left:10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow-next{right:10px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap{padding-bottom:25px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap .vp-portfolio__items-arrow{margin-top:-32.5px}[data-vp-layout="slider"] .vp-portfolio__items-bullets{position:absolute;margin-bottom:-15px;text-align:center;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets.swiper-pagination-bullets-dynamic{margin-bottom:-7px}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span{position:relative;cursor:pointer;background-color:#6c7781;opacity:.2;transition:.15s opacity ease-in-out;will-change:opacity}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span:hover{opacity:.5}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span.swiper-pagination-bullet-active{opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span::after{content:"";position:absolute;display:block;top:-4px;right:-4px;bottom:-4px;left:-4px}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__pagination-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading::before{content:"";position:absolute;display:block;top:0;right:0;bottom:0;left:0;z-index:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__pagination-wrap{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-pswp{z-index:1500}body.admin-bar .vp-pswp{top:32px;min-height:calc(100% - 32px)}@media screen and (max-width: 782px){body.admin-bar .vp-pswp{top:42px;min-height:calc(100% - 42px)}}@media screen and (max-width: 600px){body.admin-bar .vp-pswp{top:0;min-height:100%}}.vp-pswp .pswp__caption{background-color:rgba(0,0,0,0.75)}.vp-pswp .pswp__caption>div{max-width:600px;font-size:12px;color:#fff}.vp-pswp .pswp__caption h3{color:inherit}.vp-pswp .pswp__caption a{color:inherit}.vp-pswp .pswp__caption a:hover{opacity:.8}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title{margin-top:0;margin-bottom:3px;font-size:14px;color:inherit}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title a{text-decoration:none}.vp-pswp .pswp__preloader{position:absolute;right:0;bottom:0;z-index:1}.vp-pswp .vp-pswp-video{position:relative;display:flex;align-items:center;width:100%;max-width:1920px;height:100%;margin:0 auto;line-height:0;text-align:left;vertical-align:middle;z-index:1045}.vp-pswp .vp-pswp-video>div{position:relative;width:100%;height:0;padding-bottom:56.25%}.vp-pswp .vp-pswp-video>div iframe{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}.vp-pswp .vp-pswp-video>div video{width:100% !important;height:auto !important;margin:0}img.visual-portfolio-lazyload{opacity:1;transition:.3s opacity;will-change:opacity}.vp-portfolio__item-img::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(-70deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 58%);background-color:rgba(132,136,177,0.05);background-position:0% 50%;background-size:500% 100%;transition:.3s .3s opacity, .3s .3s visibility}.vp-portfolio__item-img-lazyloading::before{visibility:visible;opacity:1;transition:none;-webkit-animation:vp-lazyload-placeholder 3s linear infinite;animation:vp-lazyload-placeholder 3s linear infinite}.vp-portfolio__item-img-lazyloading img.visual-portfolio-lazyload{opacity:0}@-webkit-keyframes vp-lazyload-placeholder{0%,80%{background-position:100% 50%}100%{background-position:0% 50%}}@keyframes vp-lazyload-placeholder{0%,80%{background-position:100% 50%}100%{background-position:0% 50%}}
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 1.9.2
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/.vp-portfolio{position:relative;min-height:114px}.vp-portfolio,.vp-portfolio *{box-sizing:border-box}.vp-portfolio__items{transition:.3s height ease-in-out, .3s transform ease-in-out;will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap{visibility:hidden;opacity:0;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__item-wrap{position:relative;float:left;width:33.333%}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a{display:block;width:100%;height:auto}.vp-portfolio__item-img{position:relative}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;left:50%;width:23px;height:24px;margin-top:45px;margin-left:-11px;-webkit-animation:vp-preloader 2s linear infinite;animation:vp-preloader 2s linear infinite}.vp-portfolio__preloader span{position:absolute;display:block;top:0;left:0;width:10px;height:7px;background-color:#8a8a8a}.vp-portfolio__preloader span:nth-of-type(1){height:14px}.vp-portfolio__preloader span:nth-of-type(2){left:12px}.vp-portfolio__preloader span:nth-of-type(3){top:16px}.vp-portfolio__preloader span:nth-of-type(4){top:9px;left:12px;height:14px}@-webkit-keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}@keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}[data-vp-layout="tiles"] .vp-portfolio__item-img img,[data-vp-layout="tiles"] .vp-portfolio__item-img{position:absolute;top:0;right:0;bottom:0;left:0}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap::before{content:"";display:block;margin-top:56%}[data-vp-layout="tiles"] .vp-portfolio__item-img img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="justified"] .vp-portfolio__items{transition:.2s height ease-in-out;will-change:height}[data-vp-layout="justified"] .vp-portfolio__item-wrap{float:left;top:0;left:0;transition:.2s transform ease-in-out, .2s width ease-in-out, .2s height ease-in-out;will-change:transform, width, height}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;width:auto}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap::before{content:"";display:block}[data-vp-layout="slider"] .vp-portfolio__item-img img{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="slider"] .vp-portfolio__items-arrow{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;width:40px;height:40px;margin-top:-20px;color:#6c7781;cursor:pointer;background-color:#fff;border-radius:50%;box-shadow:0 0 7px 2px rgba(0,0,0,0.04);opacity:.5;transition:.2s opacity ease-in-out, .2s box-shadow ease-in-out;will-change:opacity, box-shadow;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow::after{content:"";position:absolute;display:block;top:-10px;right:-10px;bottom:-10px;left:-10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow:hover{box-shadow:0 2px 15px 2px rgba(0,0,0,0.04);opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow-prev{left:10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow-next{right:10px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap{padding-bottom:25px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap .vp-portfolio__items-arrow{margin-top:-32.5px}[data-vp-layout="slider"] .vp-portfolio__items-bullets{position:absolute;margin-bottom:-15px;text-align:center;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets.swiper-pagination-bullets-dynamic{margin-bottom:-7px}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span{position:relative;cursor:pointer;background-color:#6c7781;opacity:.2;transition:.15s opacity ease-in-out;will-change:opacity}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span:hover{opacity:.5}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span.swiper-pagination-bullet-active{opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span::after{content:"";position:absolute;display:block;top:-4px;right:-4px;bottom:-4px;left:-4px}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__pagination-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading::before{content:"";position:absolute;display:block;top:0;right:0;bottom:0;left:0;z-index:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__pagination-wrap{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-pswp{z-index:1500}body.admin-bar .vp-pswp{top:32px;min-height:calc(100% - 32px)}@media screen and (max-width: 782px){body.admin-bar .vp-pswp{top:42px;min-height:calc(100% - 42px)}}@media screen and (max-width: 600px){body.admin-bar .vp-pswp{top:0;min-height:100%}}.vp-pswp .pswp__caption{background-color:rgba(0,0,0,0.75)}.vp-pswp .pswp__caption>div{max-width:600px;font-size:12px;color:#fff}.vp-pswp .pswp__caption h3{color:inherit}.vp-pswp .pswp__caption a{color:inherit}.vp-pswp .pswp__caption a:hover{opacity:.8}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title{margin-top:0;margin-bottom:3px;font-size:14px;color:inherit}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title a{text-decoration:none}.vp-pswp .pswp__preloader{position:absolute;right:0;bottom:0;z-index:1}.vp-pswp .vp-pswp-video{position:relative;display:flex;align-items:center;width:100%;max-width:1920px;height:100%;margin:0 auto;line-height:0;text-align:left;vertical-align:middle;z-index:1045}.vp-pswp .vp-pswp-video>div{position:relative;width:100%;height:0;padding-bottom:56.25%}.vp-pswp .vp-pswp-video>div iframe{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}.vp-pswp .vp-pswp-video>div video{width:100% !important;height:auto !important;margin:0}img.visual-portfolio-lazyload{opacity:1;transition:.3s opacity;will-change:opacity}.vp-portfolio__item-img::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(-70deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 58%);background-color:rgba(132,136,177,0.05);background-position:0% 50%;background-size:500% 100%;transition:.3s .3s opacity, .3s .3s visibility}.vp-portfolio__item-img-lazyloading::before{visibility:visible;opacity:1;transition:none;-webkit-animation:vp-lazyload-placeholder 3s linear infinite;animation:vp-lazyload-placeholder 3s linear infinite}.vp-portfolio__item-img-lazyloading img.visual-portfolio-lazyload{opacity:0}@-webkit-keyframes vp-lazyload-placeholder{0%,80%{background-position:100% 50%}100%{background-position:0% 50%}}@keyframes vp-lazyload-placeholder{0%,80%{background-position:100% 50%}100%{background-position:0% 50%}}
|
assets/js/script-preview.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=160)}({160:function(e,t,r){e.exports=r(161)},161:function(e,t){
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
-
* Version : 1.9.
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
!function(e){var t=jQuery("#vp_preview > .vp-portfolio");t.on("click",".vp-portfolio__item, .vp-portfolio__item a",function(e){e.preventDefault(),e.stopPropagation()}),window.iFrameResizer={heightCalculationMethod:function(){return t.outerHeight(!0)}}}()}});
|
1 |
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=160)}({160:function(e,t,r){e.exports=r(161)},161:function(e,t){
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
+
* Version : 1.9.2
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
!function(e){var t=jQuery("#vp_preview > .vp-portfolio");t.on("click",".vp-portfolio__item, .vp-portfolio__item a",function(e){e.preventDefault(),e.stopPropagation()}),window.iFrameResizer={heightCalculationMethod:function(){return t.outerHeight(!0)}}}()}});
|
assets/js/script.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
!function(t){var i={};function e(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,e),s.l=!0,s.exports}e.m=t,e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)e.d(o,s,function(i){return t[i]}.bind(null,s));return o},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},e.p="",e(e.s=162)}({155:function(t,i,e){var o=e(164),s=o.requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||function(t){var i=+new Date,e=Math.max(0,16-(i-n)),o=setTimeout(t,e);return n=i,o},n=+new Date;var a=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(s=s.bind(o),a=a.bind(o)),(t.exports=s).cancel=a},162:function(t,i,e){t.exports=e(163)},163:function(t,i,e){"use strict";e.r(i);var o=e(30),s=e(155),n=e.n(s);function a(t){return function(t){if(Array.isArray(t)){for(var i=0,e=new Array(t.length);i<t.length;i++)e[i]=t[i];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,i){for(var e=0;e<i.length;e++){var o=i[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
-
* Version : 1.9.
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
-
var l=jQuery,d=window,c=d.VPData,f=d.objectFitImages,v=d.PhotoSwipe,h=d.PhotoSwipeUI_Default,u=c.__,m=c.settingsPopupGallery,_=l(window),y=0,w=0;function g(){y=_.width(),w=_.height()}g(),_.on("resize load orientationchange",g);var b=[320,576,768,992,1200];void 0!==f&&(f(".vp-portfolio img:not(.visual-portfolio-lazyload)"),l(document).on("lazybeforeunveil",function(t){var i=l(t.target);i.hasClass("visual-portfolio-lazyload")&&i.one("load",function(){f(i[0])})}));var x=function(){function t(i,e){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t);this.$item=i;for(var o=i[0].className.split(/\s+/),s=0;s<o.length;s++)o[s]&&/^vp-uid-/.test(o[s])&&(this.uid=o[s].replace(/^vp-uid-/,"")),o[s]&&/^vp-id-/.test(o[s])&&(this.id=o[s].replace(/^vp-id-/,""));this.uid?(this.$items_wrap=i.find(".vp-portfolio__items"),this.$pagination=i.find(".vp-portfolio__pagination-wrap"),this.$filter=i.find(".vp-portfolio__filter-wrap"),this.id&&(this.$filter=this.$filter.add(".vp-single-filter.vp-id-".concat(this.id," .vp-portfolio__filter-wrap"))),this.userOptions=e,this.firstRun=!0,this.init()):console.error(u.couldnt_retrieve_vp)}return function(t,i,e){i&&p(t.prototype,i),e&&p(t,e)}(t,[{key:"emitEvent",value:function(t,i){i=i?[this].concat(i):[this],this.$item.trigger("".concat(t,".vpf"),i),this.$item.trigger("".concat(t,".vpf-uid-").concat(this.uid),i)}},{key:"init",value:function(){this.firstRun||this.destroy(),this.destroyed=!1,this.initOptions(),this.initEvents(),this.prepareLazyLoad(),this.initLayout(),this.initCustomColors(),this.initPhotoswipe(),this.emitEvent("init"),this.$item.addClass("vp-portfolio__ready"),this.id&&l(".vp-single-filter.vp-id-".concat(this.id)).addClass("vp-single-filter__ready"),this.initIsotope(),this.initFjGallery(),this.initSwiper(),this.resized(),this.firstRun=!1}},{key:"resized",value:function(){if("function"==typeof window.Event)window.dispatchEvent(new window.Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}this.emitEvent("resized")}},{key:"destroy",value:function(){this.$item.removeClass("vp-portfolio__ready"),this.id&&l(".vp-single-filter.vp-id-".concat(this.id)).removeClass("vp-single-filter__ready"),this.destroyEvents(),this.removeStyle(),this.renderStyle(),this.destroyPhotoswipe(),this.destroyIsotope(),this.destroyFjGallery(),this.destroySwiper(),this.emitEvent("destroy"),this.destroyed=!0}},{key:"addStyle",value:function(t,i,e){e=e||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]&&(this.stylesList[o]={}),void 0===this.stylesList[o][e]&&(this.stylesList[o][e]={}),void 0===this.stylesList[o][e][t]&&(this.stylesList[o][e][t]={}),this.stylesList[o][e][t]=l.extend(this.stylesList[o][e][t],i),this.emitEvent("addStyle",[t,i,e,this.stylesList])}},{key:"removeStyle",value:function(t,i,e){e=e||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]||t||(this.stylesList[o]={}),void 0!==this.stylesList[o]&&void 0!==this.stylesList[o][e]&&void 0!==this.stylesList[o][e][t]&&t&&delete this.stylesList[o][e][t],this.emitEvent("removeStyle",[t,i,this.stylesList])}},{key:"renderStyle",value:function(){var t=this,i=t.uid,e="";t.stylesList||(t.stylesList={}),void 0!==t.stylesList[i]&&Object.keys(t.stylesList[i]).forEach(function(o){o&&(e+="@media ".concat(o," {")),Object.keys(t.stylesList[i][o]).forEach(function(s){e+=".vp-uid-".concat(i," ").concat(s," {"),Object.keys(t.stylesList[i][o][s]).forEach(function(n){e+="".concat(n,":").concat(t.stylesList[i][o][s][n],";")}),e+="}"}),o&&(e+="}")});var o=l("#vp-style-".concat(i));o.length||(o=l("<style>").attr("id","vp-style-".concat(i)).appendTo("head")),o.html(e),t.emitEvent("renderStyle",[e,t.stylesList,o])}},{key:"firstToLowerCase",value:function(t){return t.substr(0,1).toLowerCase()+t.substr(1)}},{key:"initOptions",value:function(t){var i=this;i.defaults={layout:"tile",itemsGap:0,tilesType:"3|1,1|",masonryColumns:3,justifiedRowHeight:250,justifiedRowHeightTolerance:.25,pagination:"load-more"},t&&(i.userOptions=t);var e=i.$item[0].dataset,o={};Object.keys(e).forEach(function(t){t&&"vp"===t.substring(0,2)&&(o[i.firstToLowerCase(t.substring(2))]=e[t])}),i.options=l.extend({},i.defaults,o,i.userOptions),i.emitEvent("initOptions")}},{key:"isCrossLine",value:function(t,i,e,o){var s=(o.x-e.x)*(t.y-e.y)-(o.y-e.y)*(t.x-e.x),n=(o.x-e.x)*(i.y-e.y)-(o.y-e.y)*(i.x-e.x),a=(i.x-t.x)*(e.y-t.y)-(i.y-t.y)*(e.x-t.x),r=(i.x-t.x)*(o.y-t.y)-(i.y-t.y)*(o.x-t.x);return s*n<=0&&a*r<=0}},{key:"initEvents",value:function(){var t,i=this,e=".vpf-uid-".concat(i.uid);function o(){var t=i.$item[0].getBoundingClientRect(),e=t.left,o=y-t.right,s=parseFloat(i.$item.css("margin-left")||0),n=parseFloat(i.$item.css("margin-right")||0);i.$item.css({"margin-left":s-e,"margin-right":n-o})}if(i.$item.hasClass("vp-portfolio__stretch")&&(_.on("load".concat(e," resize").concat(e," orientationchange").concat(e),function(){o()}),o()),"fly"===i.options.itemsStyle){var s={};_.on("mousemove".concat(e),function(t){s={x:t.clientX,y:t.clientY}}),i.$item.on("mouseenter".concat(e," mouseleave").concat(e),".vp-portfolio__item",function(t){var e=l(this),o=e[0].getBoundingClientRect(),n=e.find(".vp-portfolio__item-overlay"),a="mouseenter"===t.type,r="0%",p="0%",d={x:t.clientX,y:t.clientY},c=i.isCrossLine({x:o.left,y:o.top},{x:o.left+o.width,y:o.top},d,s),f=i.isCrossLine({x:o.left,y:o.top+o.height},{x:o.left+o.width,y:o.top+o.height},d,s),v=i.isCrossLine({x:o.left,y:o.top},{x:o.left,y:o.top+o.height},d,s),h=i.isCrossLine({x:o.left+o.width,y:o.top},{x:o.left+o.width,y:o.top+o.height},d,s);if(!(c||f||v||h)){var u=(o.width/2-d.x+o.left)/(o.width/2),m=(o.height/2-d.y+o.top)/(o.height/2);Math.abs(u)>Math.abs(m)?u>0?v=!0:h=!0:m>0?c=!0:f=!0}c?p="-10".concat(p):f?p="10".concat(p):v?r="-10".concat(r):h&&(r="10".concat(r)),a&&(n.css({transition:"none",transform:"translateX(".concat(r,") translateY(").concat(p,") translateZ(0)")}),n[0].offsetHeight),n.css({transition:".2s transform ease-in-out",transform:"translateX(".concat(a?"0%":r,") translateY(").concat(a?"0%":p,") translateZ(0)")})})}i.$filter.on("click".concat(e),".vp-filter .vp-filter__item a",function(t){t.preventDefault();var e=l(this);i.loading||e.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),i.loadNewItems(e.attr("href"),!0)}),i.$item.on("click".concat(e),".vp-pagination .vp-pagination__item a",function(t){t.preventDefault();var e=l(this);e.hasClass("vp-pagination__no-more")&&"paged"!==i.options.pagination||i.loadNewItems(e.attr("href"),"paged"===i.options.pagination)}),i.$item.on("click".concat(e),".vp-portfolio__items .vp-portfolio__item-meta-category a",function(t){t.preventDefault(),t.stopPropagation(),i.loadNewItems(l(this).attr("href"),!0)});var n=250;function a(){var t=i.$item[0].getBoundingClientRect();t.bottom>0&&t.bottom-n<=w&&i.loadNewItems(i.options.nextPageUrl,!1,function(){a()})}"infinite"===i.options.pagination&&(_.on("load".concat(e," scroll").concat(e," resize").concat(e," orientationchange").concat(e),function(){clearTimeout(t),t=setTimeout(function(){a()},60)}),a()),i.$item.on("transitionend".concat(e),".vp-portfolio__items",function(t){t.currentTarget===t.target&&i.resized()}),i.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=".vpf-uid-".concat(this.uid);this.$item.off(t),this.$filter.off(t),_.off(t),this.emitEvent("destroyEvents")}},{key:"prepareLazyLoad",value:function(){var t=window.lazySizesConfig;if(t){var i={"data-vpf-src":t.srcAttr,"data-vpf-sizes":t.sizesAttr,"data-vpf-srcset":t.srcsetAttr};this.$items_wrap.find(".visual-portfolio-lazyload:not(.".concat(t.lazyClass,")")).each(function(){var e=l(this);Object.keys(i).forEach(function(t){i[t]&&t!==i[t]&&e.attr(t)&&(e.attr(i[t],e.attr(t)),e.removeAttr(t))}),e.addClass(t.lazyClass)})}}},{key:"getTilesSettings",value:function(){var t=this.options.tilesType.split(/[:|]/);return void 0===t[t.length-1]||t[t.length-1]||t.pop(),t}},{key:"initLayout",value:function(){if(this.options.layout)switch(this.options.layout){case"tiles":var t=this.getTilesSettings(),i=parseInt(t[0],10)||1;if(t.shift(),this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/i,"%")}),t&&t.length)for(var e=0;e<t.length;e++){var o=t[e].split(","),s=parseFloat(o[0])||1,n=parseFloat(o[1])||1,a=".vp-portfolio__item-wrap";t.length>1&&(a+=":nth-of-type(".concat(t.length,"n+").concat(e+1,")")),s&&1!==s&&this.addStyle(a,{width:"".concat(100*s/i,"%")}),this.addStyle("".concat(a," .vp-portfolio__item-img-wrap::before"),{"margin-top":"".concat(100*n,"%")})}for(var r=i-1,p=Math.min(b.length-1,r);p>=0;p--)r>0&&void 0!==b[p]&&(this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/r,"%")},"screen and (max-width: ".concat(b[p],"px)")),this.addStyle(".vp-portfolio__item-wrap:nth-of-type(n)",{width:"".concat(100/r,"%")},"screen and (max-width: ".concat(b[p],"px)"))),r-=1;break;case"masonry":this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/this.options.masonryColumns,"%")});for(var l=this.options.masonryColumns-1,d=Math.min(b.length-1,l);d>=0;d--)l>0&&void 0!==b[d]&&this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/l,"%")},"screen and (max-width: ".concat(b[d],"px)")),l-=1;case"justified":break;case"slider":"auto"!==this.options.sliderItemsHeight&&("auto"===this.options.sliderSlidesPerView?this.options.sliderItemsHeight.indexOf("%")===this.options.sliderItemsHeight.length-1?(this.addStyle(".vp-portfolio__items-wrap::before",{content:'""',display:"block",width:"100%","margin-top":isNaN(this.options.sliderItemsHeight)?this.options.sliderItemsHeight:"".concat(this.options.sliderItemsHeight,"px")}),this.addStyle(".vp-portfolio__items",{position:"absolute",top:0,left:0,right:0,bottom:0}),this.addStyle(".vp-portfolio__item-wrap",{height:"true"===this.options.sliderBullets?"calc( 100% - 25px )":"100%"}),this.addStyle(".vp-portfolio__item, .vp-portfolio__item-img-wrap, .vp-portfolio__item-img, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img a, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:"100%"})):this.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:isNaN(this.options.sliderItemsHeight)?this.options.sliderItemsHeight:"".concat(this.options.sliderItemsHeight,"px")}):(this.addStyle(".vp-portfolio__item-img-wrap::before",{"margin-top":isNaN(this.options.sliderItemsHeight)?this.options.sliderItemsHeight:"".concat(this.options.sliderItemsHeight,"px")}),this.addStyle(".vp-portfolio__item-img img",{position:"absolute",top:0,right:0,bottom:0,left:0}),this.addStyle(".vp-portfolio__item-img",{position:"absolute",top:0,right:0,bottom:0,left:0}),this.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"100%",height:"100%"})))}var c=parseInt(this.options.itemsGap,10);if(c&&("tiles"===this.options.layout||"masonry"===this.options.layout)){this.addStyle(".vp-portfolio__items",{"margin-left":"-".concat(c,"px"),"margin-top":"-".concat(c,"px")});var f="".concat(c,"px");this.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item",{"margin-left":f,"margin-top":f}),"tiles"===this.options.layout&&(this.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img-wrap",{"margin-left":"-".concat(f),"margin-top":"-".concat(f)}),this.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img",{left:f,top:f}))}this.renderStyle(),this.emitEvent("initLayout")}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each(function(){var i=l(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'.concat(i,'"]'),{"background-color":"".concat(i," !important")})}),t.$item.find("[data-vp-text-color]").each(function(){var i=l(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'.concat(i,'"]'),{color:"".concat(i," !important")})}),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"initIsotope",value:function(t){!this.$items_wrap.isotope||"tiles"!==this.options.layout&&"masonry"!==this.options.layout||(this.$items_wrap.isotope(t||{itemSelector:".vp-portfolio__item-wrap",layoutMode:"masonry",transitionDuration:"0.3s",percentPosition:!0}),this.emitEvent("initIsotope",[t]))}},{key:"destroyIsotope",value:function(){this.$items_wrap.data("isotope")&&(this.$items_wrap.isotope("destroy"),this.emitEvent("destroyIsotope"))}},{key:"initFjGallery",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.$items_wrap.fjGallery&&"justified"===this.options.layout&&(this.$items_wrap.fjGallery(!1!==t?t:{gutter:parseFloat(this.options.itemsGap)||0,rowHeight:parseFloat(this.options.justifiedRowHeight)||200,rowHeightTolerance:parseFloat(this.options.justifiedRowHeightTolerance)||0,itemSelector:".vp-portfolio__item-wrap",imageSelector:".vp-portfolio__item-img img"},i),this.emitEvent("initFjGallery",[t]))}},{key:"destroyFjGallery",value:function(){this.$items_wrap.data("fjGallery")&&(this.$items_wrap.fjGallery("destroy"),this.emitEvent("destroyFjGallery"))}},{key:"initSwiper",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("slider"===this.options.layout&&void 0!==window.Swiper){var i=this.$items_wrap.parent();i.addClass("swiper-container"),this.$items_wrap.addClass("swiper-wrapper"),this.$items_wrap.children().addClass("swiper-slide"),"true"!==this.options.sliderArrows||i.find(".vp-portfolio__items-arrow").length||i.append('\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-prev"><span class="'.concat(this.options.sliderArrowsIconPrev,'"></span></div>\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-next"><span class="').concat(this.options.sliderArrowsIconNext,'"></span></div>\n ')),"true"!==this.options.sliderBullets||i.find(".vp-portfolio__items-bullets").length||i.append('<div class="vp-portfolio__items-bullets"></div>');var e=this.options.sliderSlidesPerView||3,o={};if(!isNaN(e))for(var s=e-1,n=Math.min(b.length-1,s);n>=0;n--)s>0&&void 0!==b[n]&&(o[b[n]]={slidesPerView:s}),s-=1;0===(t=t||{speed:1e3*(parseFloat(this.options.sliderSpeed)||0),autoHeight:"auto"===this.options.sliderItemsHeight,effect:this.options.sliderEffect||"slide",spaceBetween:parseFloat(this.options.itemsGap)||0,centeredSlides:"true"===this.options.sliderCenteredSlides,freeMode:"true"===this.options.sliderFreeMode,loop:"true"===this.options.sliderLoop,autoplay:parseFloat(this.options.sliderAutoplay)>0&&{delay:1e3*parseFloat(this.options.sliderAutoplay),disableOnInteraction:!1},navigation:"true"===this.options.sliderArrows&&{nextEl:".vp-portfolio__items-arrow-next",prevEl:".vp-portfolio__items-arrow-prev"},pagination:"true"===this.options.sliderBullets&&{el:".vp-portfolio__items-bullets",clickable:!0,dynamicBullets:"true"===this.options.sliderBulletsDynamic,renderBullet:function(t,i){return'<span class="'.concat(i,'" data-bullet-index="').concat(t,'" data-bullet-number="').concat(t+1,'"></span>')}},mousewheel:"true"===this.options.sliderMousewheel,slidesPerView:e,breakpoints:o,keyboard:!0,grabCursor:!0}).speed&&(t.speed=1);var a=0;t.on={transitionEnd:function(){0===a?(a=1,this.setTransition(1),this.setTranslate(this.translate+.1)):1===a&&(a=2,this.slideReset())}},new window.Swiper(i[0],t),this.emitEvent("initSwiper",[t])}}},{key:"destroySwiper",value:function(){var t=this.$items_wrap.parent(),i=t[0].swiper;i&&(i.destroy(),t.removeClass("swiper-container"),this.$items_wrap.removeClass("swiper-wrapper"),this.$items_wrap.children().removeClass("swiper-slide"),t.find(".vp-portfolio__items-arrow, .vp-portfolio__items-bullets").remove(),this.emitEvent("destroySwiper"))}},{key:"initPhotoswipe",value:function(){var t=this;if(void 0!==v&&t.options.itemsClickAction&&"popup_gallery"===t.options.itemsClickAction&&!t.$item.closest("#vp_preview").length){if(!l(".vp-pswp").length){var i='\n <div class="pswp vp-pswp vp-pswp-uid-'.concat(t.uid,'" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n <div class="pswp__top-bar">\n <div class="pswp__counter"></div>\n <a class="pswp__button pswp__button--close" title="').concat(u.pswp_close,'"></a>\n <a class="pswp__button pswp__button--share" title="').concat(u.pswp_share,'"></a>\n <a class="pswp__button pswp__button--fs" title="').concat(u.pswp_fs,'"></a>\n <a class="pswp__button pswp__button--zoom" title="').concat(u.pswp_zoom,'"></a>\n </div>\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n <a class="pswp__button pswp__button--arrow--left" title="').concat(u.pswp_prev,'"></a>\n <a class="pswp__button pswp__button--arrow--right" title="').concat(u.pswp_next,'"></a>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n </div>\n ');l("body").append(i)}var e=function(i,e,o,n){var a=l(".vp-pswp")[0],r=function(t){var i,e,o,s,n,a=[];return l(t).find(".vp-portfolio__item-wrap").each(function(){if(i=l(this).find(".vp-portfolio__item-popup"),e=(i.attr("data-vp-popup-img-size")||"1920x1080").split("x"),o=(i.attr("data-vp-popup-video-size")||"1920x1080").split("x"),n=i.attr("data-vp-popup-video"))s={html:n,vw:parseInt(o[0],10),vh:parseInt(o[1],10)};else{s={src:i.attr("data-vp-popup-img"),w:parseInt(e[0],10),h:parseInt(e[1],10)};var t=i.html();t&&(s.title=t),s.el=this;var r=i.attr("data-vp-popup-md-img")||s.src;r&&(e=(i.attr("data-vp-popup-md-img-size")||i.attr("data-vp-popup-img-size")||"1920x1080").split("x"),s.m={src:r,w:parseInt(e[0],10),h:parseInt(e[1],10)}),s.o={src:s.src,w:s.w,h:s.h}}a.push(s)}),a}(e),p={captionAndToolbarShowEmptyCaptions:!1,closeEl:m.show_close_button,captionEl:m.show_caption,fullscreenEl:m.show_fullscreen_button,zoomEl:m.show_zoom_button,shareEl:m.show_share_button,counterEl:m.show_counter,arrowEl:m.show_arrows,shareButtons:[{id:"facebook",label:u.pswp_share_fb,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:u.pswp_share_tw,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:u.pswp_share_pin,url:"https://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"}],bgOpacity:1,tapToClose:!0,tapToToggleControls:!1,showHideOpacity:!0,galleryUID:t.uid};if(n)if(p.galleryPIDs){for(var d=0;d<r.length;d++)if(r[d].pid===i){p.index=d;break}}else p.index=parseInt(i,10)-1;else p.index=parseInt(i,10);if(!isNaN(p.index)){o&&(p.showAnimationDuration=0);var c,f,_=new v(a,h,r,p),y=!1,w=!0;_.listen("beforeResize",function(){c=_.viewportSize.x*window.devicePixelRatio,y&&c<1e3?(y=!1,f=!0):!y&&c>=1e3&&(y=!0,f=!0),f&&!w&&_.invalidateCurrItems(),w&&(w=!1),f=!1}),_.listen("gettingData",function(t,i){i.html||(y?(i.src=i.o.src,i.w=i.o.w,i.h=i.o.h):(i.src=i.m.src,i.w=i.m.w,i.h=i.m.h))}),_.listen("resize",function(){s(this)}),_.listen("afterChange",function(){s(this)}),_.listen("beforeChange",function(){if(this&&this.itemHolders.length){var t=this.getCurrentIndex();this.itemHolders.forEach(function(i){if(i.el&&i.index!==t){var e=l(i.el).find(".vp-pswp-video iframe");e.length&&e.attr("src",e.attr("src"))}})}}),_.listen("destroy",function(){this&&this.itemHolders.length&&this.itemHolders.forEach(function(t){t.el&&l(t.el).find(".vp-pswp-video").remove()})}),_.init()}};t.$item.on("click.vpf-uid-".concat(t.uid),".vp-portfolio__item",function(i){i.preventDefault();var o=0,s=this;t.$item.find(".vp-portfolio__item").each(function(t){return this!==s||(o=t,!1)}),e(o,t.$item[0])});var o=function(){var t=window.location.hash.substring(1),i={};if(t.length<5)return i;for(var e=t.split("&"),o=0;o<e.length;o++)if(e[o]){var s=e[o].split("=");s.length<2||(i[s[0]]=s[1])}return i}();o.pid&&o.gid===t.uid&&e(o.pid,t.$item[0],!0,!0)}function s(t,i){if(void 0!==i){var e,o=t.viewportSize.x,n=t.viewportSize.y,a=i.vw/i.vh,r=l(i.container),p=t.options.barsSize,d=0,c=0;p&&(d=p.top&&"auto"!==p.top?p.top:0,c=p.bottom&&"auto"!==p.bottom?p.bottom:0),e=a>o/(n-=d+c)?o:n*a,r.find(".vp-pswp-video").css("max-width",e),r.css({top:d,bottom:c})}else t&&t.itemHolders.length&&t.itemHolders.forEach(function(i){i.item&&i.item.html&&s(t,i.item)})}}},{key:"destroyPhotoswipe",value:function(){this.$item.off("click.vpf-uid-".concat(this.uid)),l(".vp-pswp-uid-".concat(this.uid)).remove()}},{key:"addItems",value:function(t,i){var e=this,o=e.$items_wrap.data("isotope"),s=e.$items_wrap.data("fjGallery"),n=e.$items_wrap.parent()[0].swiper;if(o){if(i){var a=e.$items_wrap.find(".vp-portfolio__item-wrap");e.$items_wrap.isotope("remove",a),e.$items_wrap.prepend(t).isotope("prepended",t)}else e.$items_wrap.append(t).isotope("appended",t);setTimeout(function(){e.initIsotope("layout")},0)}else if(s)i?(e.destroyFjGallery(),e.$items_wrap.find(".vp-portfolio__item-wrap").remove(),e.$items_wrap.prepend(t),e.initFjGallery()):(e.$items_wrap.append(t),e.initFjGallery("appendImages",t));else if(n){i&&n.removeAllSlides();var r=[];t.addClass("swiper-slide").each(function(){r.push(this)}),n.appendSlide(r)}e.emitEvent("addItems",[t,i])}},{key:"removeItems",value:function(t){this.$items_wrap.data("isotope")&&this.$items_wrap.isotope("remove",t),this.emitEvent("removeItems",[t])}},{key:"loadNewItems",value:function(t,i,e){var o=this;!o.loading&&t&&(o.loading=!0,o.$item.addClass("vp-portfolio__loading"),o.emitEvent("startLoadingNewItems",[t]),l.get(t,{},function(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var s=l(t).filter("#vp-infinite-load-body"),n=s.find(".vp-portfolio.vp-uid-".concat(o.uid));if(n.length){var a=n.find(".vp-portfolio__items").html();o.$filter.length&&o.$filter.each(function(){var t=l(this),i="";i=t.parent().hasClass("vp-single-filter")?s.find('[class="'.concat(t.parent().attr("class").replace(" vp-single-filter__ready",""),'"] .vp-portfolio__filter-wrap')).html():n.find(".vp-portfolio__filter-wrap").html(),t.html(i)}),o.$pagination.length&&o.$pagination.html(n.find(".vp-portfolio__pagination-wrap").html()),o.addItems(l(a),i),o.emitEvent("loadedNewItems",[n,n,t])}var r=n.attr("data-vp-next-page-url");o.options.nextPageUrl=r,o.$item.attr("data-vp-next-page-url",r),o.$item.removeClass("vp-portfolio__loading"),o.loading=!1,o.emitEvent("endLoadingNewItems"),o.prepareLazyLoad(),o.initCustomColors(),e&&e()}))}}]),t}();l(document).on("lazybeforeunveil",function(t){var i=l(t.target);i.hasClass("visual-portfolio-lazyload")&&i.closest(".vp-portfolio__item-img").addClass("vp-portfolio__item-img-lazyloading")}),l(document).on("lazyloaded",function(t){var i=l(t.target);i.hasClass("visual-portfolio-lazyload")&&i.closest(".vp-portfolio__item-img-lazyloading").removeClass("vp-portfolio__item-img-lazyloading")});var S=function(t){var i,e=Array.prototype.slice.call(arguments,1);return this.each(function(){if(void 0===i)if("object"===r(t)||void 0===t)this.vpf||(this.vpf=new x(l(this),t));else if(this.vpf){var o;i=(o=this.vpf)[t].apply(o,a(e))}}),void 0!==i?i:this};S.constructor=x;var $=jQuery.fn.vpf;jQuery.fn.vpf=S,jQuery.fn.vpf.noConflict=function(){return jQuery.fn.vpf=$,this},l(".vp-portfolio").vpf(),l(function(){l(".vp-portfolio").vpf()});var C=Object(o.b)(200,function(){n()(function(){l(".vp-portfolio:not(.vp-portfolio__ready)").vpf()})});window.MutationObserver?new window.MutationObserver(C).observe(document.documentElement,{childList:!0,subtree:!0}):l(document).on("DOMContentLoaded DOMNodeInserted load",function(){C()})},164:function(t,i,e){(function(i){var e;e="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{},t.exports=e}).call(this,e(59))},30:function(t,i,e){"use strict";function o(t,i,e,o){var s,n=0;return"boolean"!=typeof i&&(o=e,e=i,i=void 0),function(){var a=this,r=Number(new Date)-n,p=arguments;function l(){n=Number(new Date),e.apply(a,p)}o&&!s&&l(),s&&clearTimeout(s),void 0===o&&r>t?l():!0!==i&&(s=setTimeout(o?function(){s=void 0}:l,void 0===o?t-r:t))}}function s(t,i,e){return void 0===e?o(t,i,!1):o(t,e,!1!==i)}e.d(i,"b",function(){return o}),e.d(i,"a",function(){return s})},59:function(t,i){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e}});
|
1 |
!function(t){var i={};function e(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,e),s.l=!0,s.exports}e.m=t,e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)e.d(o,s,function(i){return t[i]}.bind(null,s));return o},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},e.p="",e(e.s=162)}({155:function(t,i,e){var o=e(164),s=o.requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||function(t){var i=+new Date,e=Math.max(0,16-(i-n)),o=setTimeout(t,e);return n=i,o},n=+new Date;var a=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(s=s.bind(o),a=a.bind(o)),(t.exports=s).cancel=a},162:function(t,i,e){t.exports=e(163)},163:function(t,i,e){"use strict";e.r(i);var o=e(30),s=e(155),n=e.n(s);function a(t){return function(t){if(Array.isArray(t)){for(var i=0,e=new Array(t.length);i<t.length;i++)e[i]=t[i];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,i){for(var e=0;e<i.length;e++){var o=i[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
+
* Version : 1.9.2
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
+
var l=jQuery,d=window,c=d.VPData,f=d.objectFitImages,v=d.PhotoSwipe,h=d.PhotoSwipeUI_Default,u=c.__,m=c.settingsPopupGallery,_=l(window),y=0,w=0;function g(){y=_.width(),w=_.height()}g(),_.on("resize load orientationchange",g);var b=[320,576,768,992,1200];void 0!==f&&(f(".vp-portfolio img:not(.visual-portfolio-lazyload)"),l(document).on("lazybeforeunveil",function(t){var i=l(t.target);i.hasClass("visual-portfolio-lazyload")&&i.one("load",function(){f(i[0])})}));var x=function(){function t(i,e){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t);this.$item=i;for(var o=i[0].className.split(/\s+/),s=0;s<o.length;s++)o[s]&&/^vp-uid-/.test(o[s])&&(this.uid=o[s].replace(/^vp-uid-/,"")),o[s]&&/^vp-id-/.test(o[s])&&(this.id=o[s].replace(/^vp-id-/,""));this.uid?(this.$items_wrap=i.find(".vp-portfolio__items"),this.$pagination=i.find(".vp-portfolio__pagination-wrap"),this.$filter=i.find(".vp-portfolio__filter-wrap"),this.id&&(this.$filter=this.$filter.add(".vp-single-filter.vp-id-".concat(this.id," .vp-portfolio__filter-wrap"))),this.userOptions=e,this.firstRun=!0,this.init()):console.error(u.couldnt_retrieve_vp)}return function(t,i,e){i&&p(t.prototype,i),e&&p(t,e)}(t,[{key:"emitEvent",value:function(t,i){i=i?[this].concat(i):[this],this.$item.trigger("".concat(t,".vpf"),i),this.$item.trigger("".concat(t,".vpf-uid-").concat(this.uid),i)}},{key:"init",value:function(){this.firstRun||this.destroy(),this.destroyed=!1,this.initOptions(),this.initEvents(),this.prepareLazyLoad(),this.initLayout(),this.initCustomColors(),this.initPhotoswipe(),this.emitEvent("init"),this.$item.addClass("vp-portfolio__ready"),this.id&&l(".vp-single-filter.vp-id-".concat(this.id)).addClass("vp-single-filter__ready"),this.initIsotope(),this.initFjGallery(),this.initSwiper(),this.resized(),this.imagesLoaded(),this.firstRun=!1}},{key:"resized",value:function(){if("function"==typeof window.Event)window.dispatchEvent(new window.Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}this.emitEvent("resized")}},{key:"imagesLoaded",value:function(){var t=this,i=this;i.$items_wrap.imagesLoaded&&i.$items_wrap.imagesLoaded(function(){i.initIsotope("layout"),i.initFjGallery(),t.emitEvent("imagesLoaded")})}},{key:"destroy",value:function(){this.$item.removeClass("vp-portfolio__ready"),this.id&&l(".vp-single-filter.vp-id-".concat(this.id)).removeClass("vp-single-filter__ready"),this.destroyEvents(),this.removeStyle(),this.renderStyle(),this.destroyPhotoswipe(),this.destroyIsotope(),this.destroyFjGallery(),this.destroySwiper(),this.emitEvent("destroy"),this.destroyed=!0}},{key:"addStyle",value:function(t,i,e){e=e||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]&&(this.stylesList[o]={}),void 0===this.stylesList[o][e]&&(this.stylesList[o][e]={}),void 0===this.stylesList[o][e][t]&&(this.stylesList[o][e][t]={}),this.stylesList[o][e][t]=l.extend(this.stylesList[o][e][t],i),this.emitEvent("addStyle",[t,i,e,this.stylesList])}},{key:"removeStyle",value:function(t,i,e){e=e||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]||t||(this.stylesList[o]={}),void 0!==this.stylesList[o]&&void 0!==this.stylesList[o][e]&&void 0!==this.stylesList[o][e][t]&&t&&delete this.stylesList[o][e][t],this.emitEvent("removeStyle",[t,i,this.stylesList])}},{key:"renderStyle",value:function(){var t=this,i=t.uid,e="";t.stylesList||(t.stylesList={}),void 0!==t.stylesList[i]&&Object.keys(t.stylesList[i]).forEach(function(o){o&&(e+="@media ".concat(o," {")),Object.keys(t.stylesList[i][o]).forEach(function(s){e+=".vp-uid-".concat(i," ").concat(s," {"),Object.keys(t.stylesList[i][o][s]).forEach(function(n){e+="".concat(n,":").concat(t.stylesList[i][o][s][n],";")}),e+="}"}),o&&(e+="}")});var o=l("#vp-style-".concat(i));o.length||(o=l("<style>").attr("id","vp-style-".concat(i)).appendTo("head")),o.html(e),t.emitEvent("renderStyle",[e,t.stylesList,o])}},{key:"firstToLowerCase",value:function(t){return t.substr(0,1).toLowerCase()+t.substr(1)}},{key:"initOptions",value:function(t){var i=this;i.defaults={layout:"tile",itemsGap:0,tilesType:"3|1,1|",masonryColumns:3,justifiedRowHeight:250,justifiedRowHeightTolerance:.25,pagination:"load-more"},t&&(i.userOptions=t);var e=i.$item[0].dataset,o={};Object.keys(e).forEach(function(t){t&&"vp"===t.substring(0,2)&&(o[i.firstToLowerCase(t.substring(2))]=e[t])}),i.options=l.extend({},i.defaults,o,i.userOptions),i.emitEvent("initOptions")}},{key:"isCrossLine",value:function(t,i,e,o){var s=(o.x-e.x)*(t.y-e.y)-(o.y-e.y)*(t.x-e.x),n=(o.x-e.x)*(i.y-e.y)-(o.y-e.y)*(i.x-e.x),a=(i.x-t.x)*(e.y-t.y)-(i.y-t.y)*(e.x-t.x),r=(i.x-t.x)*(o.y-t.y)-(i.y-t.y)*(o.x-t.x);return s*n<=0&&a*r<=0}},{key:"initEvents",value:function(){var t,i=this,e=".vpf-uid-".concat(i.uid);function o(){var t=i.$item[0].getBoundingClientRect(),e=t.left,o=y-t.right,s=parseFloat(i.$item.css("margin-left")||0),n=parseFloat(i.$item.css("margin-right")||0);i.$item.css({"margin-left":s-e,"margin-right":n-o})}if(i.$item.hasClass("vp-portfolio__stretch")&&(_.on("load".concat(e," resize").concat(e," orientationchange").concat(e),function(){o()}),o()),"fly"===i.options.itemsStyle){var s={};_.on("mousemove".concat(e),function(t){s={x:t.clientX,y:t.clientY}}),i.$item.on("mouseenter".concat(e," mouseleave").concat(e),".vp-portfolio__item",function(t){var e=l(this),o=e[0].getBoundingClientRect(),n=e.find(".vp-portfolio__item-overlay"),a="mouseenter"===t.type,r="0%",p="0%",d={x:t.clientX,y:t.clientY},c=i.isCrossLine({x:o.left,y:o.top},{x:o.left+o.width,y:o.top},d,s),f=i.isCrossLine({x:o.left,y:o.top+o.height},{x:o.left+o.width,y:o.top+o.height},d,s),v=i.isCrossLine({x:o.left,y:o.top},{x:o.left,y:o.top+o.height},d,s),h=i.isCrossLine({x:o.left+o.width,y:o.top},{x:o.left+o.width,y:o.top+o.height},d,s);if(!(c||f||v||h)){var u=(o.width/2-d.x+o.left)/(o.width/2),m=(o.height/2-d.y+o.top)/(o.height/2);Math.abs(u)>Math.abs(m)?u>0?v=!0:h=!0:m>0?c=!0:f=!0}c?p="-10".concat(p):f?p="10".concat(p):v?r="-10".concat(r):h&&(r="10".concat(r)),a&&(n.css({transition:"none",transform:"translateX(".concat(r,") translateY(").concat(p,") translateZ(0)")}),n[0].offsetHeight),n.css({transition:".2s transform ease-in-out",transform:"translateX(".concat(a?"0%":r,") translateY(").concat(a?"0%":p,") translateZ(0)")})})}i.$filter.on("click".concat(e),".vp-filter .vp-filter__item a",function(t){t.preventDefault();var e=l(this);i.loading||e.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),i.loadNewItems(e.attr("href"),!0)}),i.$item.on("click".concat(e),".vp-pagination .vp-pagination__item a",function(t){t.preventDefault();var e=l(this);e.hasClass("vp-pagination__no-more")&&"paged"!==i.options.pagination||i.loadNewItems(e.attr("href"),"paged"===i.options.pagination)}),i.$item.on("click".concat(e),".vp-portfolio__items .vp-portfolio__item-meta-category a",function(t){t.preventDefault(),t.stopPropagation(),i.loadNewItems(l(this).attr("href"),!0)});var n=250;function a(){var t=i.$item[0].getBoundingClientRect();t.bottom>0&&t.bottom-n<=w&&i.loadNewItems(i.options.nextPageUrl,!1,function(){a()})}"infinite"===i.options.pagination&&(_.on("load".concat(e," scroll").concat(e," resize").concat(e," orientationchange").concat(e),function(){clearTimeout(t),t=setTimeout(function(){a()},60)}),a()),i.$item.on("transitionend".concat(e),".vp-portfolio__items",function(t){t.currentTarget===t.target&&i.resized()}),i.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=".vpf-uid-".concat(this.uid);this.$item.off(t),this.$filter.off(t),_.off(t),this.emitEvent("destroyEvents")}},{key:"prepareLazyLoad",value:function(){var t=window.lazySizesConfig;if(t){var i={"data-vpf-src":t.srcAttr,"data-vpf-sizes":t.sizesAttr,"data-vpf-srcset":t.srcsetAttr};this.$items_wrap.find(".visual-portfolio-lazyload:not(.".concat(t.lazyClass,")")).each(function(){var e=l(this);Object.keys(i).forEach(function(t){i[t]&&t!==i[t]&&e.attr(t)&&(e.attr(i[t],e.attr(t)),e.removeAttr(t))}),e.addClass(t.lazyClass)})}}},{key:"getTilesSettings",value:function(){var t=this.options.tilesType.split(/[:|]/);return void 0===t[t.length-1]||t[t.length-1]||t.pop(),t}},{key:"initLayout",value:function(){if(this.options.layout)switch(this.options.layout){case"tiles":var t=this.getTilesSettings(),i=parseInt(t[0],10)||1;if(t.shift(),this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/i,"%")}),t&&t.length)for(var e=0;e<t.length;e++){var o=t[e].split(","),s=parseFloat(o[0])||1,n=parseFloat(o[1])||1,a=".vp-portfolio__item-wrap";t.length>1&&(a+=":nth-of-type(".concat(t.length,"n+").concat(e+1,")")),s&&1!==s&&this.addStyle(a,{width:"".concat(100*s/i,"%")}),this.addStyle("".concat(a," .vp-portfolio__item-img-wrap::before"),{"margin-top":"".concat(100*n,"%")})}for(var r=i-1,p=Math.min(b.length-1,r);p>=0;p--)r>0&&void 0!==b[p]&&(this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/r,"%")},"screen and (max-width: ".concat(b[p],"px)")),this.addStyle(".vp-portfolio__item-wrap:nth-of-type(n)",{width:"".concat(100/r,"%")},"screen and (max-width: ".concat(b[p],"px)"))),r-=1;break;case"masonry":this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/this.options.masonryColumns,"%")});for(var l=this.options.masonryColumns-1,d=Math.min(b.length-1,l);d>=0;d--)l>0&&void 0!==b[d]&&this.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/l,"%")},"screen and (max-width: ".concat(b[d],"px)")),l-=1;case"justified":break;case"slider":"auto"!==this.options.sliderItemsHeight&&("auto"===this.options.sliderSlidesPerView?this.options.sliderItemsHeight.indexOf("%")===this.options.sliderItemsHeight.length-1?(this.addStyle(".vp-portfolio__items-wrap::before",{content:'""',display:"block",width:"100%","margin-top":isNaN(this.options.sliderItemsHeight)?this.options.sliderItemsHeight:"".concat(this.options.sliderItemsHeight,"px")}),this.addStyle(".vp-portfolio__items",{position:"absolute",top:0,left:0,right:0,bottom:0}),this.addStyle(".vp-portfolio__item-wrap",{height:"true"===this.options.sliderBullets?"calc( 100% - 25px )":"100%"}),this.addStyle(".vp-portfolio__item, .vp-portfolio__item-img-wrap, .vp-portfolio__item-img, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img a, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:"100%"})):this.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:isNaN(this.options.sliderItemsHeight)?this.options.sliderItemsHeight:"".concat(this.options.sliderItemsHeight,"px")}):(this.addStyle(".vp-portfolio__item-img-wrap::before",{"margin-top":isNaN(this.options.sliderItemsHeight)?this.options.sliderItemsHeight:"".concat(this.options.sliderItemsHeight,"px")}),this.addStyle(".vp-portfolio__item-img img",{position:"absolute",top:0,right:0,bottom:0,left:0}),this.addStyle(".vp-portfolio__item-img",{position:"absolute",top:0,right:0,bottom:0,left:0}),this.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"100%",height:"100%"})))}var c=parseInt(this.options.itemsGap,10);if(c&&("tiles"===this.options.layout||"masonry"===this.options.layout)){this.addStyle(".vp-portfolio__items",{"margin-left":"-".concat(c,"px"),"margin-top":"-".concat(c,"px")});var f="".concat(c,"px");this.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item",{"margin-left":f,"margin-top":f}),"tiles"===this.options.layout&&(this.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img-wrap",{"margin-left":"-".concat(f),"margin-top":"-".concat(f)}),this.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img",{left:f,top:f}))}this.renderStyle(),this.emitEvent("initLayout")}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each(function(){var i=l(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'.concat(i,'"]'),{"background-color":"".concat(i," !important")})}),t.$item.find("[data-vp-text-color]").each(function(){var i=l(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'.concat(i,'"]'),{color:"".concat(i," !important")})}),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"initIsotope",value:function(t){!this.$items_wrap.isotope||"tiles"!==this.options.layout&&"masonry"!==this.options.layout||(this.$items_wrap.isotope(t||{itemSelector:".vp-portfolio__item-wrap",layoutMode:"masonry",transitionDuration:"0.3s",percentPosition:!0}),this.emitEvent("initIsotope",[t]))}},{key:"destroyIsotope",value:function(){this.$items_wrap.data("isotope")&&(this.$items_wrap.isotope("destroy"),this.emitEvent("destroyIsotope"))}},{key:"initFjGallery",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.$items_wrap.fjGallery&&"justified"===this.options.layout&&(this.$items_wrap.fjGallery(!1!==t?t:{gutter:parseFloat(this.options.itemsGap)||0,rowHeight:parseFloat(this.options.justifiedRowHeight)||200,rowHeightTolerance:parseFloat(this.options.justifiedRowHeightTolerance)||0,itemSelector:".vp-portfolio__item-wrap",imageSelector:".vp-portfolio__item-img img"},i),this.emitEvent("initFjGallery",[t]))}},{key:"destroyFjGallery",value:function(){this.$items_wrap.data("fjGallery")&&(this.$items_wrap.fjGallery("destroy"),this.emitEvent("destroyFjGallery"))}},{key:"initSwiper",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("slider"===this.options.layout&&void 0!==window.Swiper){var i=this.$items_wrap.parent();i.addClass("swiper-container"),this.$items_wrap.addClass("swiper-wrapper"),this.$items_wrap.children().addClass("swiper-slide"),"true"!==this.options.sliderArrows||i.find(".vp-portfolio__items-arrow").length||i.append('\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-prev"><span class="'.concat(this.options.sliderArrowsIconPrev,'"></span></div>\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-next"><span class="').concat(this.options.sliderArrowsIconNext,'"></span></div>\n ')),"true"!==this.options.sliderBullets||i.find(".vp-portfolio__items-bullets").length||i.append('<div class="vp-portfolio__items-bullets"></div>');var e=this.options.sliderSlidesPerView||3,o={};if(!isNaN(e))for(var s=e-1,n=Math.min(b.length-1,s);n>=0;n--)s>0&&void 0!==b[n]&&(o[b[n]]={slidesPerView:s}),s-=1;0===(t=t||{speed:1e3*(parseFloat(this.options.sliderSpeed)||0),autoHeight:"auto"===this.options.sliderItemsHeight,effect:this.options.sliderEffect||"slide",spaceBetween:parseFloat(this.options.itemsGap)||0,centeredSlides:"true"===this.options.sliderCenteredSlides,freeMode:"true"===this.options.sliderFreeMode,loop:"true"===this.options.sliderLoop,autoplay:parseFloat(this.options.sliderAutoplay)>0&&{delay:1e3*parseFloat(this.options.sliderAutoplay),disableOnInteraction:!1},navigation:"true"===this.options.sliderArrows&&{nextEl:".vp-portfolio__items-arrow-next",prevEl:".vp-portfolio__items-arrow-prev"},pagination:"true"===this.options.sliderBullets&&{el:".vp-portfolio__items-bullets",clickable:!0,dynamicBullets:"true"===this.options.sliderBulletsDynamic,renderBullet:function(t,i){return'<span class="'.concat(i,'" data-bullet-index="').concat(t,'" data-bullet-number="').concat(t+1,'"></span>')}},mousewheel:"true"===this.options.sliderMousewheel,slidesPerView:e,breakpoints:o,keyboard:!0,grabCursor:!0}).speed&&(t.speed=1);var a=0;t.on={transitionEnd:function(){0===a?(a=1,this.setTransition(1),this.setTranslate(this.translate+.1)):1===a&&(a=2,this.slideReset())}},new window.Swiper(i[0],t),this.emitEvent("initSwiper",[t])}}},{key:"destroySwiper",value:function(){var t=this.$items_wrap.parent(),i=t[0].swiper;i&&(i.destroy(),t.removeClass("swiper-container"),this.$items_wrap.removeClass("swiper-wrapper"),this.$items_wrap.children().removeClass("swiper-slide"),t.find(".vp-portfolio__items-arrow, .vp-portfolio__items-bullets").remove(),this.emitEvent("destroySwiper"))}},{key:"initPhotoswipe",value:function(){var t=this;if(void 0!==v&&t.options.itemsClickAction&&"popup_gallery"===t.options.itemsClickAction&&!t.$item.closest("#vp_preview").length){if(!l(".vp-pswp").length){var i='\n <div class="pswp vp-pswp vp-pswp-uid-'.concat(t.uid,'" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n <div class="pswp__top-bar">\n <div class="pswp__counter"></div>\n <a class="pswp__button pswp__button--close" title="').concat(u.pswp_close,'"></a>\n <a class="pswp__button pswp__button--share" title="').concat(u.pswp_share,'"></a>\n <a class="pswp__button pswp__button--fs" title="').concat(u.pswp_fs,'"></a>\n <a class="pswp__button pswp__button--zoom" title="').concat(u.pswp_zoom,'"></a>\n </div>\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n <a class="pswp__button pswp__button--arrow--left" title="').concat(u.pswp_prev,'"></a>\n <a class="pswp__button pswp__button--arrow--right" title="').concat(u.pswp_next,'"></a>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n </div>\n ');l("body").append(i)}var e=function(i,e,o,n){var a=l(".vp-pswp")[0],r=function(t){var i,e,o,s,n,a=[];return l(t).find(".vp-portfolio__item-wrap").each(function(){if(i=l(this).find(".vp-portfolio__item-popup"),e=(i.attr("data-vp-popup-img-size")||"1920x1080").split("x"),o=(i.attr("data-vp-popup-video-size")||"1920x1080").split("x"),n=i.attr("data-vp-popup-video"))s={html:n,vw:parseInt(o[0],10),vh:parseInt(o[1],10)};else{s={src:i.attr("data-vp-popup-img"),w:parseInt(e[0],10),h:parseInt(e[1],10)};var t=i.html();t&&(s.title=t),s.el=this;var r=i.attr("data-vp-popup-md-img")||s.src;r&&(e=(i.attr("data-vp-popup-md-img-size")||i.attr("data-vp-popup-img-size")||"1920x1080").split("x"),s.m={src:r,w:parseInt(e[0],10),h:parseInt(e[1],10)}),s.o={src:s.src,w:s.w,h:s.h}}a.push(s)}),a}(e),p={captionAndToolbarShowEmptyCaptions:!1,closeEl:m.show_close_button,captionEl:m.show_caption,fullscreenEl:m.show_fullscreen_button,zoomEl:m.show_zoom_button,shareEl:m.show_share_button,counterEl:m.show_counter,arrowEl:m.show_arrows,shareButtons:[{id:"facebook",label:u.pswp_share_fb,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:u.pswp_share_tw,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:u.pswp_share_pin,url:"https://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"}],bgOpacity:1,tapToClose:!0,tapToToggleControls:!1,showHideOpacity:!0,galleryUID:t.uid};if(n)if(p.galleryPIDs){for(var d=0;d<r.length;d++)if(r[d].pid===i){p.index=d;break}}else p.index=parseInt(i,10)-1;else p.index=parseInt(i,10);if(!isNaN(p.index)){o&&(p.showAnimationDuration=0);var c,f,_=new v(a,h,r,p),y=!1,w=!0;_.listen("beforeResize",function(){c=_.viewportSize.x*window.devicePixelRatio,y&&c<1e3?(y=!1,f=!0):!y&&c>=1e3&&(y=!0,f=!0),f&&!w&&_.invalidateCurrItems(),w&&(w=!1),f=!1}),_.listen("gettingData",function(t,i){i.html||(y?(i.src=i.o.src,i.w=i.o.w,i.h=i.o.h):(i.src=i.m.src,i.w=i.m.w,i.h=i.m.h))}),_.listen("resize",function(){s(this)}),_.listen("afterChange",function(){s(this)}),_.listen("beforeChange",function(){if(this&&this.itemHolders.length){var t=this.getCurrentIndex();this.itemHolders.forEach(function(i){if(i.el&&i.index!==t){var e=l(i.el).find(".vp-pswp-video iframe");e.length&&e.attr("src",e.attr("src"))}})}}),_.listen("destroy",function(){this&&this.itemHolders.length&&this.itemHolders.forEach(function(t){t.el&&l(t.el).find(".vp-pswp-video").remove()})}),_.init()}};t.$item.on("click.vpf-uid-".concat(t.uid),".vp-portfolio__item",function(i){i.preventDefault();var o=0,s=this;t.$item.find(".vp-portfolio__item").each(function(t){return this!==s||(o=t,!1)}),e(o,t.$item[0])});var o=function(){var t=window.location.hash.substring(1),i={};if(t.length<5)return i;for(var e=t.split("&"),o=0;o<e.length;o++)if(e[o]){var s=e[o].split("=");s.length<2||(i[s[0]]=s[1])}return i}();o.pid&&o.gid===t.uid&&e(o.pid,t.$item[0],!0,!0)}function s(t,i){if(void 0!==i){var e,o=t.viewportSize.x,n=t.viewportSize.y,a=i.vw/i.vh,r=l(i.container),p=t.options.barsSize,d=0,c=0;p&&(d=p.top&&"auto"!==p.top?p.top:0,c=p.bottom&&"auto"!==p.bottom?p.bottom:0),e=a>o/(n-=d+c)?o:n*a,r.find(".vp-pswp-video").css("max-width",e),r.css({top:d,bottom:c})}else t&&t.itemHolders.length&&t.itemHolders.forEach(function(i){i.item&&i.item.html&&s(t,i.item)})}}},{key:"destroyPhotoswipe",value:function(){this.$item.off("click.vpf-uid-".concat(this.uid)),l(".vp-pswp-uid-".concat(this.uid)).remove()}},{key:"addItems",value:function(t,i){var e=this,o=e.$items_wrap.data("isotope"),s=e.$items_wrap.data("fjGallery"),n=e.$items_wrap.parent()[0].swiper;if(o){if(i){var a=e.$items_wrap.find(".vp-portfolio__item-wrap");e.$items_wrap.isotope("remove",a),e.$items_wrap.prepend(t).isotope("prepended",t)}else e.$items_wrap.append(t).isotope("appended",t);setTimeout(function(){e.initIsotope("layout")},0)}else if(s)i?(e.destroyFjGallery(),e.$items_wrap.find(".vp-portfolio__item-wrap").remove(),e.$items_wrap.prepend(t),e.initFjGallery()):(e.$items_wrap.append(t),e.initFjGallery("appendImages",t));else if(n){i&&n.removeAllSlides();var r=[];t.addClass("swiper-slide").each(function(){r.push(this)}),n.appendSlide(r)}e.emitEvent("addItems",[t,i])}},{key:"removeItems",value:function(t){this.$items_wrap.data("isotope")&&this.$items_wrap.isotope("remove",t),this.emitEvent("removeItems",[t])}},{key:"loadNewItems",value:function(t,i,e){var o=this;!o.loading&&t&&(o.loading=!0,o.$item.addClass("vp-portfolio__loading"),o.emitEvent("startLoadingNewItems",[t]),l.get(t,{},function(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var s=l(t).filter("#vp-infinite-load-body"),n=s.find(".vp-portfolio.vp-uid-".concat(o.uid));if(n.length){var a=n.find(".vp-portfolio__items").html();o.$filter.length&&o.$filter.each(function(){var t=l(this),i="";i=t.parent().hasClass("vp-single-filter")?s.find('[class="'.concat(t.parent().attr("class").replace(" vp-single-filter__ready",""),'"] .vp-portfolio__filter-wrap')).html():n.find(".vp-portfolio__filter-wrap").html(),t.html(i)}),o.$pagination.length&&o.$pagination.html(n.find(".vp-portfolio__pagination-wrap").html()),o.addItems(l(a),i),o.emitEvent("loadedNewItems",[n,n,t])}var r=n.attr("data-vp-next-page-url");o.options.nextPageUrl=r,o.$item.attr("data-vp-next-page-url",r),o.$item.removeClass("vp-portfolio__loading"),o.loading=!1,o.emitEvent("endLoadingNewItems"),o.prepareLazyLoad(),o.initCustomColors(),e&&e()}))}}]),t}();l(document).on("lazybeforeunveil",function(t){var i=l(t.target);i.hasClass("visual-portfolio-lazyload")&&i.closest(".vp-portfolio__item-img").addClass("vp-portfolio__item-img-lazyloading")}),l(document).on("lazyloaded",function(t){var i=l(t.target);i.hasClass("visual-portfolio-lazyload")&&i.closest(".vp-portfolio__item-img-lazyloading").removeClass("vp-portfolio__item-img-lazyloading")});var S=function(t){var i,e=Array.prototype.slice.call(arguments,1);return this.each(function(){if(void 0===i)if("object"===r(t)||void 0===t)this.vpf||(this.vpf=new x(l(this),t));else if(this.vpf){var o;i=(o=this.vpf)[t].apply(o,a(e))}}),void 0!==i?i:this};S.constructor=x;var $=jQuery.fn.vpf;jQuery.fn.vpf=S,jQuery.fn.vpf.noConflict=function(){return jQuery.fn.vpf=$,this},l(".vp-portfolio").vpf(),l(function(){l(".vp-portfolio").vpf()});var C=Object(o.b)(200,function(){n()(function(){l(".vp-portfolio:not(.vp-portfolio__ready)").vpf()})});window.MutationObserver?new window.MutationObserver(C).observe(document.documentElement,{childList:!0,subtree:!0}):l(document).on("DOMContentLoaded DOMNodeInserted load",function(){C()})},164:function(t,i,e){(function(i){var e;e="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{},t.exports=e}).call(this,e(59))},30:function(t,i,e){"use strict";function o(t,i,e,o){var s,n=0;return"boolean"!=typeof i&&(o=e,e=i,i=void 0),function(){var a=this,r=Number(new Date)-n,p=arguments;function l(){n=Number(new Date),e.apply(a,p)}o&&!s&&l(),s&&clearTimeout(s),void 0===o&&r>t?l():!0!==i&&(s=setTimeout(o?function(){s=void 0}:l,void 0===o?t-r:t))}}function s(t,i,e){return void 0===e?o(t,i,!1):o(t,e,!1!==i)}e.d(i,"b",function(){return o}),e.d(i,"a",function(){return s})},59:function(t,i){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e}});
|
class-visual-portfolio.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Visual Portfolio
|
4 |
* Description: Portfolio post type with visual editor
|
5 |
-
* Version: 1.9.
|
6 |
* Author: nK
|
7 |
* Author URI: https://nkdev.info
|
8 |
* License: GPLv2 or later
|
@@ -145,7 +145,7 @@ class Visual_Portfolio {
|
|
145 |
* Register scripts that will be used in the future when portfolio will be printed.
|
146 |
*/
|
147 |
public function register_scripts() {
|
148 |
-
$vp_deps = array( 'jquery' );
|
149 |
$vp_style_deps = array();
|
150 |
|
151 |
// Isotope.
|
@@ -207,8 +207,8 @@ class Visual_Portfolio {
|
|
207 |
}
|
208 |
|
209 |
// Visual Portfolio.
|
210 |
-
wp_register_script( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/js/script.min.js', $vp_deps, '1.9.
|
211 |
-
wp_register_style( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/css/style.min.css', $vp_style_deps, '1.9.
|
212 |
|
213 |
// Visual Portfolio data.
|
214 |
$data_init = array(
|
2 |
/**
|
3 |
* Plugin Name: Visual Portfolio
|
4 |
* Description: Portfolio post type with visual editor
|
5 |
+
* Version: 1.9.2
|
6 |
* Author: nK
|
7 |
* Author URI: https://nkdev.info
|
8 |
* License: GPLv2 or later
|
145 |
* Register scripts that will be used in the future when portfolio will be printed.
|
146 |
*/
|
147 |
public function register_scripts() {
|
148 |
+
$vp_deps = array( 'jquery', 'imagesloaded' );
|
149 |
$vp_style_deps = array();
|
150 |
|
151 |
// Isotope.
|
207 |
}
|
208 |
|
209 |
// Visual Portfolio.
|
210 |
+
wp_register_script( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/js/script.min.js', $vp_deps, '1.9.2', true );
|
211 |
+
wp_register_style( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/css/style.min.css', $vp_style_deps, '1.9.2' );
|
212 |
|
213 |
// Visual Portfolio data.
|
214 |
$data_init = array(
|
classes/class-admin.php
CHANGED
@@ -152,8 +152,8 @@ class Visual_Portfolio_Admin {
|
|
152 |
wp_enqueue_script( 'tooltip.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/tooltip.min.js', array( 'popper.js' ), '1.14.3', true );
|
153 |
wp_enqueue_style( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.css', '', '1.14.3' );
|
154 |
|
155 |
-
wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery' ), '1.9.
|
156 |
-
wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', '', '1.9.
|
157 |
wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
|
158 |
}
|
159 |
|
@@ -254,6 +254,7 @@ class Visual_Portfolio_Admin {
|
|
254 |
'revisions',
|
255 |
'excerpt',
|
256 |
'post-formats',
|
|
|
257 |
),
|
258 |
)
|
259 |
);
|
152 |
wp_enqueue_script( 'tooltip.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/tooltip.min.js', array( 'popper.js' ), '1.14.3', true );
|
153 |
wp_enqueue_style( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.css', '', '1.14.3' );
|
154 |
|
155 |
+
wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery' ), '1.9.2', true );
|
156 |
+
wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', '', '1.9.2' );
|
157 |
wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
|
158 |
}
|
159 |
|
254 |
'revisions',
|
255 |
'excerpt',
|
256 |
'post-formats',
|
257 |
+
'page-attributes',
|
258 |
),
|
259 |
)
|
260 |
);
|
classes/class-get-portfolio.php
CHANGED
@@ -705,6 +705,10 @@ class Visual_Portfolio_Get {
|
|
705 |
$query_opts['orderby'] = 'post__in';
|
706 |
break;
|
707 |
|
|
|
|
|
|
|
|
|
708 |
// "rand" orderby don't work fine for paged, so we need to use custom solution.
|
709 |
// thanks to https://gist.github.com/hlashbrooke/6298714 .
|
710 |
case 'rand':
|
705 |
$query_opts['orderby'] = 'post__in';
|
706 |
break;
|
707 |
|
708 |
+
case 'menu_order':
|
709 |
+
$query_opts['orderby'] = 'menu_order';
|
710 |
+
break;
|
711 |
+
|
712 |
// "rand" orderby don't work fine for paged, so we need to use custom solution.
|
713 |
// thanks to https://gist.github.com/hlashbrooke/6298714 .
|
714 |
case 'rand':
|
languages/visual-portfolio.pot
CHANGED
@@ -53,11 +53,11 @@ msgctxt "Post Type Singular Name"
|
|
53 |
msgid "Portfolio Item"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: dist/visual-portfolio/classes/class-admin.php:211, dist/visual-portfolio/classes/class-admin.php:
|
57 |
msgid "Visual Portfolio"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: dist/visual-portfolio/classes/class-admin.php:212, dist/visual-portfolio/classes/class-admin.php:
|
61 |
msgid "Parent Portfolio Item"
|
62 |
msgstr ""
|
63 |
|
@@ -73,7 +73,7 @@ msgstr ""
|
|
73 |
msgid "Add New Portfolio Item"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: dist/visual-portfolio/classes/class-admin.php:216, dist/visual-portfolio/classes/class-admin.php:
|
77 |
msgid "Add New"
|
78 |
msgstr ""
|
79 |
|
@@ -89,593 +89,593 @@ msgstr ""
|
|
89 |
msgid "Search Portfolio Item"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: dist/visual-portfolio/classes/class-admin.php:220, dist/visual-portfolio/classes/class-admin.php:
|
93 |
msgid "Not Found"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: dist/visual-portfolio/classes/class-admin.php:221, dist/visual-portfolio/classes/class-admin.php:
|
97 |
msgid "Not found in Trash"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
101 |
msgid "Portfolio Categories"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
105 |
msgid "Categories"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
109 |
msgid "Portfolio Tags"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
113 |
msgid "Tags"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
117 |
msgctxt "Post Type General Name"
|
118 |
msgid "Portfolio Layouts"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
122 |
msgctxt "Post Type Singular Name"
|
123 |
msgid "Portfolio Layout"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
127 |
msgid "Portfolio Layouts"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
131 |
msgid "View Portfolio Layout"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
135 |
msgid "Add New Portfolio Layout"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
139 |
msgid "Edit Portfolio Layout"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
143 |
msgid "Update Portfolio Layout"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
147 |
msgid "Search Portfolio Layout"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
151 |
msgid "Video"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
155 |
msgid "https://"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
159 |
msgid "Ready to add your awesome portfolio?"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
163 |
msgid "Create your first portfolio list!"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
167 |
msgid "Thumbnail"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
171 |
msgid "Shortcode"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
175 |
msgid "Documentation"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
179 |
msgid "Tiles"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
183 |
msgid "Type"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
187 |
msgid "Select tiles type"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
191 |
msgid "Masonry"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
195 |
msgid "Columns"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
199 |
msgid "Justified"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
203 |
msgid "Row height"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
207 |
msgid "Row height tolerance"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
211 |
msgid "Slider"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
215 |
msgid "Effect"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
219 |
msgid "Slide"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
223 |
msgid "Coverflow"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
227 |
msgid "Fade"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
231 |
msgid "Speed (seconds)"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
235 |
msgid "Autoplay (seconds)"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
239 |
msgid "Items height"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
243 |
msgid "Auto"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
247 |
msgid "Static (px)"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
251 |
msgid "Dynamic (%)"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
255 |
msgid "Slides per view"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
259 |
msgid "Custom"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
263 |
msgid "Centered slides"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
267 |
msgid "Loop"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
271 |
msgid "Free scroll"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
275 |
msgid "Show arrows"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
279 |
msgid "Prev arrow icon"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
283 |
msgid "Next arrow icon"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
287 |
msgid "Show bullets"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
291 |
msgid "Dynamic bullets"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
295 |
msgid "Mousewheel Control"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
299 |
msgid "Gap"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
303 |
msgid "Items per page"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
307 |
msgid "Stretch"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
311 |
msgid "Break container and display it wide"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
315 |
msgid "Default"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
319 |
msgid "Show Read more button"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
323 |
msgid "False"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
327 |
msgid "Always show"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
331 |
msgid "Show when used \"More tag\" in the post"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
335 |
msgid "Read more button label"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
339 |
msgid "Fly"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
343 |
msgid "Overlay background color"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
347 |
msgid "Overlay text color"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
351 |
msgid "Emerge"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
355 |
msgid "Show title"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
359 |
msgid "Show categories"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
363 |
msgid "Categories count"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
367 |
msgid "Show date"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
371 |
msgid "Show"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
375 |
msgid "Human Format"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
379 |
msgid ""
|
380 |
"Date format
|
381 |
" Example: F j, Y"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
385 |
msgid "Show excerpt"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
389 |
msgid "Excerpt words count"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
393 |
msgid "Show icon"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
397 |
msgid "Standard icon"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
401 |
msgid "Video icon"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
405 |
msgid "Caption align"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
409 |
msgid "Disabled"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
413 |
msgid "URL"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
417 |
msgid "Popup Gallery"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
421 |
msgid "Target"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
425 |
msgid "New tab (_blank)"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
429 |
msgid "Top frame (_top)"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
433 |
msgid "Align"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
437 |
msgid "Center"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
441 |
msgid "Left"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
445 |
msgid "Right"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
449 |
msgid "Show count"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
453 |
msgid "All button text"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
457 |
msgid "All"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
461 |
msgid "Paged"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
465 |
msgid "Load More"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
469 |
msgid "Infinite"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
473 |
msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
477 |
msgid "Texts"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
481 |
msgid "Load more"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
485 |
msgid "Load more button label"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
489 |
msgid "Loading more..."
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
493 |
msgid "Loading more button label"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
497 |
msgid "You’ve reached the end of the list"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
501 |
msgid "End of the list text"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
505 |
msgid "Show numbers"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
509 |
msgid "Data source"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
513 |
msgid "Specific posts"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
517 |
msgid "Excluded posts"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
521 |
msgid "Custom query"
|
522 |
msgstr ""
|
523 |
|
524 |
#. translators: %1$s - escaped url.
|
525 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
526 |
msgid "Build custom query according to <a href=\"%1$s\">WordPress Codex</a>."
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
530 |
msgid "Taxonomies"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
534 |
msgid "Taxonomies relation"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
538 |
msgid "OR"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
542 |
msgid "AND"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
546 |
msgid "Order by"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
550 |
msgid "Date"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
554 |
msgid "Title"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
558 |
msgid "ID"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
562 |
msgid "Menu Order"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
566 |
msgid "Random"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
570 |
msgid "Order direction"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
574 |
msgid "DESC"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
578 |
msgid "ASC"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
582 |
msgid "Name & Shortcode"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
586 |
msgid "Layout"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
590 |
msgid "Items Style"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
594 |
msgid "Items Click Action"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
598 |
msgid "Filter"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
602 |
msgid "Pagination"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
606 |
msgid "Preview"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
610 |
msgid "Content Source"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
614 |
msgid "Custom CSS"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
618 |
msgid "Name"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
622 |
msgid "Place the shortcode where you want to show the portfolio list."
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
626 |
msgid "Filter Shortcode"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
630 |
msgid "Place the shortcode where you want to show the filter."
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
634 |
msgid "Portfolio"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
638 |
msgid "Post-Based"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
642 |
msgid "Images"
|
643 |
msgstr ""
|
644 |
|
645 |
#. translators: %1$s - escaped url.
|
646 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
647 |
msgid "Portfolio items list from <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
651 |
msgid "Available classes:"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
655 |
msgid " - use this classname for each styles you added. It is the main Visual Portfolio wrapper."
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
659 |
msgid " - items wrapper."
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
663 |
msgid " - single item wrapper."
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
667 |
msgid " - filter wrapper."
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
671 |
msgid " - pagination wrapper."
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
675 |
msgid "Specific Posts"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
679 |
msgid "Custom Query"
|
680 |
msgstr ""
|
681 |
|
@@ -720,7 +720,7 @@ msgid "No items found."
|
|
720 |
msgstr ""
|
721 |
|
722 |
#. translators: %s - published in human format.
|
723 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
724 |
msgid "%s ago"
|
725 |
msgstr ""
|
726 |
|
53 |
msgid "Portfolio Item"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: dist/visual-portfolio/classes/class-admin.php:211, dist/visual-portfolio/classes/class-admin.php:308, dist/visual-portfolio/classes/class-admin.php:633, dist/visual-portfolio/classes/class-vc.php:65
|
57 |
msgid "Visual Portfolio"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: dist/visual-portfolio/classes/class-admin.php:212, dist/visual-portfolio/classes/class-admin.php:309
|
61 |
msgid "Parent Portfolio Item"
|
62 |
msgstr ""
|
63 |
|
73 |
msgid "Add New Portfolio Item"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: dist/visual-portfolio/classes/class-admin.php:216, dist/visual-portfolio/classes/class-admin.php:313
|
77 |
msgid "Add New"
|
78 |
msgstr ""
|
79 |
|
89 |
msgid "Search Portfolio Item"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: dist/visual-portfolio/classes/class-admin.php:220, dist/visual-portfolio/classes/class-admin.php:317
|
93 |
msgid "Not Found"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: dist/visual-portfolio/classes/class-admin.php:221, dist/visual-portfolio/classes/class-admin.php:318
|
97 |
msgid "Not found in Trash"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: dist/visual-portfolio/classes/class-admin.php:270
|
101 |
msgid "Portfolio Categories"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: dist/visual-portfolio/classes/class-admin.php:272, dist/visual-portfolio/classes/class-controls.php:596
|
105 |
msgid "Categories"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: dist/visual-portfolio/classes/class-admin.php:286
|
109 |
msgid "Portfolio Tags"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: dist/visual-portfolio/classes/class-admin.php:288
|
113 |
msgid "Tags"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: dist/visual-portfolio/classes/class-admin.php:306
|
117 |
msgctxt "Post Type General Name"
|
118 |
msgid "Portfolio Layouts"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: dist/visual-portfolio/classes/class-admin.php:307
|
122 |
msgctxt "Post Type Singular Name"
|
123 |
msgid "Portfolio Layout"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: dist/visual-portfolio/classes/class-admin.php:310
|
127 |
msgid "Portfolio Layouts"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: dist/visual-portfolio/classes/class-admin.php:311
|
131 |
msgid "View Portfolio Layout"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: dist/visual-portfolio/classes/class-admin.php:312
|
135 |
msgid "Add New Portfolio Layout"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: dist/visual-portfolio/classes/class-admin.php:314
|
139 |
msgid "Edit Portfolio Layout"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: dist/visual-portfolio/classes/class-admin.php:315
|
143 |
msgid "Update Portfolio Layout"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: dist/visual-portfolio/classes/class-admin.php:316
|
147 |
msgid "Search Portfolio Layout"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: dist/visual-portfolio/classes/class-admin.php:371, dist/visual-portfolio/classes/class-controls.php:608
|
151 |
msgid "Video"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: dist/visual-portfolio/classes/class-admin.php:411
|
155 |
msgid "https://"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: dist/visual-portfolio/classes/class-admin.php:510
|
159 |
msgid "Ready to add your awesome portfolio?"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: dist/visual-portfolio/classes/class-admin.php:511
|
163 |
msgid "Create your first portfolio list!"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: dist/visual-portfolio/classes/class-admin.php:550
|
167 |
msgid "Thumbnail"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: dist/visual-portfolio/classes/class-admin.php:593, dist/visual-portfolio/classes/class-admin.php:2423
|
171 |
msgid "Shortcode"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: dist/visual-portfolio/classes/class-admin.php:686, dist/visual-portfolio/classes/class-admin.php:687
|
175 |
msgid "Documentation"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: dist/visual-portfolio/classes/class-admin.php:705
|
179 |
msgid "Tiles"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: dist/visual-portfolio/classes/class-admin.php:720, dist/visual-portfolio/classes/class-admin.php:1745
|
183 |
msgid "Type"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: dist/visual-portfolio/classes/class-admin.php:721
|
187 |
msgid "Select tiles type"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: dist/visual-portfolio/classes/class-admin.php:840
|
191 |
msgid "Masonry"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: dist/visual-portfolio/classes/class-admin.php:844
|
195 |
msgid "Columns"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: dist/visual-portfolio/classes/class-admin.php:855
|
199 |
msgid "Justified"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: dist/visual-portfolio/classes/class-admin.php:859
|
203 |
msgid "Row height"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: dist/visual-portfolio/classes/class-admin.php:867
|
207 |
msgid "Row height tolerance"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: dist/visual-portfolio/classes/class-admin.php:879
|
211 |
msgid "Slider"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: dist/visual-portfolio/classes/class-admin.php:883
|
215 |
msgid "Effect"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: dist/visual-portfolio/classes/class-admin.php:887
|
219 |
msgid "Slide"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: dist/visual-portfolio/classes/class-admin.php:888
|
223 |
msgid "Coverflow"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: dist/visual-portfolio/classes/class-admin.php:889, dist/visual-portfolio/classes/class-admin.php:1287
|
227 |
msgid "Fade"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: dist/visual-portfolio/classes/class-admin.php:894
|
231 |
msgid "Speed (seconds)"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: dist/visual-portfolio/classes/class-admin.php:903
|
235 |
msgid "Autoplay (seconds)"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: dist/visual-portfolio/classes/class-admin.php:912
|
239 |
msgid "Items height"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: dist/visual-portfolio/classes/class-admin.php:916, dist/visual-portfolio/classes/class-admin.php:955
|
243 |
msgid "Auto"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: dist/visual-portfolio/classes/class-admin.php:917
|
247 |
msgid "Static (px)"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: dist/visual-portfolio/classes/class-admin.php:918
|
251 |
msgid "Dynamic (%)"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: dist/visual-portfolio/classes/class-admin.php:951
|
255 |
msgid "Slides per view"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: dist/visual-portfolio/classes/class-admin.php:956
|
259 |
msgid "Custom"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: dist/visual-portfolio/classes/class-admin.php:987
|
263 |
msgid "Centered slides"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: dist/visual-portfolio/classes/class-admin.php:1000
|
267 |
msgid "Loop"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: dist/visual-portfolio/classes/class-admin.php:1006
|
271 |
msgid "Free scroll"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: dist/visual-portfolio/classes/class-admin.php:1012, dist/visual-portfolio/classes/class-admin.php:1991, dist/visual-portfolio/classes/class-settings.php:146
|
275 |
msgid "Show arrows"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: dist/visual-portfolio/classes/class-admin.php:1020, dist/visual-portfolio/classes/class-admin.php:1021, dist/visual-portfolio/classes/class-admin.php:2013, dist/visual-portfolio/classes/class-admin.php:2014
|
279 |
msgid "Prev arrow icon"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: dist/visual-portfolio/classes/class-admin.php:1033, dist/visual-portfolio/classes/class-admin.php:1034, dist/visual-portfolio/classes/class-admin.php:2038, dist/visual-portfolio/classes/class-admin.php:2039
|
283 |
msgid "Next arrow icon"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: dist/visual-portfolio/classes/class-admin.php:1044
|
287 |
msgid "Show bullets"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: dist/visual-portfolio/classes/class-admin.php:1050
|
291 |
msgid "Dynamic bullets"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: dist/visual-portfolio/classes/class-admin.php:1061
|
295 |
msgid "Mousewheel Control"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: dist/visual-portfolio/classes/class-admin.php:1126
|
299 |
msgid "Gap"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: dist/visual-portfolio/classes/class-admin.php:1138
|
303 |
msgid "Items per page"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: dist/visual-portfolio/classes/class-admin.php:1150
|
307 |
msgid "Stretch"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: dist/visual-portfolio/classes/class-admin.php:1153
|
311 |
msgid "Break container and display it wide"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: dist/visual-portfolio/classes/class-admin.php:1164, dist/visual-portfolio/classes/class-admin.php:1536, dist/visual-portfolio/classes/class-admin.php:1560, dist/visual-portfolio/classes/class-admin.php:1684
|
315 |
msgid "Default"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: dist/visual-portfolio/classes/class-admin.php:1176
|
319 |
msgid "Show Read more button"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: dist/visual-portfolio/classes/class-admin.php:1180, dist/visual-portfolio/classes/class-admin.php:1394
|
323 |
msgid "False"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: dist/visual-portfolio/classes/class-admin.php:1181
|
327 |
msgid "Always show"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: dist/visual-portfolio/classes/class-admin.php:1182
|
331 |
msgid "Show when used \"More tag\" in the post"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: dist/visual-portfolio/classes/class-admin.php:1190
|
335 |
msgid "Read more button label"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: dist/visual-portfolio/classes/class-admin.php:1205
|
339 |
msgid "Fly"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: dist/visual-portfolio/classes/class-admin.php:1217, dist/visual-portfolio/classes/class-admin.php:1258, dist/visual-portfolio/classes/class-admin.php:1299
|
343 |
msgid "Overlay background color"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: dist/visual-portfolio/classes/class-admin.php:1230, dist/visual-portfolio/classes/class-admin.php:1271, dist/visual-portfolio/classes/class-admin.php:1312
|
347 |
msgid "Overlay text color"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: dist/visual-portfolio/classes/class-admin.php:1246
|
351 |
msgid "Emerge"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: dist/visual-portfolio/classes/class-admin.php:1361
|
355 |
msgid "Show title"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: dist/visual-portfolio/classes/class-admin.php:1369
|
359 |
msgid "Show categories"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: dist/visual-portfolio/classes/class-admin.php:1375
|
363 |
msgid "Categories count"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: dist/visual-portfolio/classes/class-admin.php:1390
|
367 |
msgid "Show date"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: dist/visual-portfolio/classes/class-admin.php:1395
|
371 |
msgid "Show"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: dist/visual-portfolio/classes/class-admin.php:1396
|
375 |
msgid "Human Format"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: dist/visual-portfolio/classes/class-admin.php:1404
|
379 |
msgid ""
|
380 |
"Date format
|
381 |
" Example: F j, Y"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: dist/visual-portfolio/classes/class-admin.php:1416
|
385 |
msgid "Show excerpt"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: dist/visual-portfolio/classes/class-admin.php:1422
|
389 |
msgid "Excerpt words count"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: dist/visual-portfolio/classes/class-admin.php:1437
|
393 |
msgid "Show icon"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: dist/visual-portfolio/classes/class-admin.php:1445, dist/visual-portfolio/classes/class-admin.php:1446
|
397 |
msgid "Standard icon"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: dist/visual-portfolio/classes/class-admin.php:1458, dist/visual-portfolio/classes/class-admin.php:1459
|
401 |
msgid "Video icon"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: dist/visual-portfolio/classes/class-admin.php:1471
|
405 |
msgid "Caption align"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: dist/visual-portfolio/classes/class-admin.php:1524, dist/visual-portfolio/classes/class-admin.php:1554, dist/visual-portfolio/classes/class-admin.php:1678
|
409 |
msgid "Disabled"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: dist/visual-portfolio/classes/class-admin.php:1525, dist/visual-portfolio/classes/class-controls.php:625
|
413 |
msgid "URL"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: dist/visual-portfolio/classes/class-admin.php:1526, dist/visual-portfolio/classes/class-settings.php:104
|
417 |
msgid "Popup Gallery"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: dist/visual-portfolio/classes/class-admin.php:1532
|
421 |
msgid "Target"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: dist/visual-portfolio/classes/class-admin.php:1537
|
425 |
msgid "New tab (_blank)"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: dist/visual-portfolio/classes/class-admin.php:1538
|
429 |
msgid "Top frame (_top)"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: dist/visual-portfolio/classes/class-admin.php:1622, dist/visual-portfolio/classes/class-admin.php:1787
|
433 |
msgid "Align"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: dist/visual-portfolio/classes/class-admin.php:1626, dist/visual-portfolio/classes/class-admin.php:1791, dist/visual-portfolio/classes/class-controls.php:535, dist/visual-portfolio/classes/class-controls.php:544, dist/visual-portfolio/classes/class-controls.php:548, dist/visual-portfolio/classes/class-controls.php:561
|
437 |
msgid "Center"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: dist/visual-portfolio/classes/class-admin.php:1627, dist/visual-portfolio/classes/class-admin.php:1792, dist/visual-portfolio/classes/class-controls.php:538, dist/visual-portfolio/classes/class-controls.php:551, dist/visual-portfolio/classes/class-controls.php:564
|
441 |
msgid "Left"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: dist/visual-portfolio/classes/class-admin.php:1628, dist/visual-portfolio/classes/class-admin.php:1793, dist/visual-portfolio/classes/class-controls.php:541, dist/visual-portfolio/classes/class-controls.php:554, dist/visual-portfolio/classes/class-controls.php:567
|
445 |
msgid "Right"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: dist/visual-portfolio/classes/class-admin.php:1643
|
449 |
msgid "Show count"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: dist/visual-portfolio/classes/class-admin.php:1659
|
453 |
msgid "All button text"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: dist/visual-portfolio/classes/class-admin.php:1661
|
457 |
msgid "All"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: dist/visual-portfolio/classes/class-admin.php:1750
|
461 |
msgid "Paged"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: dist/visual-portfolio/classes/class-admin.php:1751
|
465 |
msgid "Load More"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: dist/visual-portfolio/classes/class-admin.php:1752
|
469 |
msgid "Infinite"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: dist/visual-portfolio/classes/class-admin.php:1767
|
473 |
msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: dist/visual-portfolio/classes/class-admin.php:1813, dist/visual-portfolio/classes/class-admin.php:1833
|
477 |
msgid "Texts"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: dist/visual-portfolio/classes/class-admin.php:1854, dist/visual-portfolio/classes/class-admin.php:1923
|
481 |
msgid "Load more"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: dist/visual-portfolio/classes/class-admin.php:1855, dist/visual-portfolio/classes/class-admin.php:1856, dist/visual-portfolio/classes/class-admin.php:1924, dist/visual-portfolio/classes/class-admin.php:1925
|
485 |
msgid "Load more button label"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: dist/visual-portfolio/classes/class-admin.php:1877, dist/visual-portfolio/classes/class-admin.php:1946
|
489 |
msgid "Loading more..."
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: dist/visual-portfolio/classes/class-admin.php:1878, dist/visual-portfolio/classes/class-admin.php:1879, dist/visual-portfolio/classes/class-admin.php:1947, dist/visual-portfolio/classes/class-admin.php:1948
|
493 |
msgid "Loading more button label"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: dist/visual-portfolio/classes/class-admin.php:1900, dist/visual-portfolio/classes/class-admin.php:1969
|
497 |
msgid "You’ve reached the end of the list"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: dist/visual-portfolio/classes/class-admin.php:1901, dist/visual-portfolio/classes/class-admin.php:1902, dist/visual-portfolio/classes/class-admin.php:1970, dist/visual-portfolio/classes/class-admin.php:1971
|
501 |
msgid "End of the list text"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: dist/visual-portfolio/classes/class-admin.php:2061
|
505 |
msgid "Show numbers"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: dist/visual-portfolio/classes/class-admin.php:2125
|
509 |
msgid "Data source"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: dist/visual-portfolio/classes/class-admin.php:2137
|
513 |
msgid "Specific posts"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: dist/visual-portfolio/classes/class-admin.php:2158
|
517 |
msgid "Excluded posts"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: dist/visual-portfolio/classes/class-admin.php:2186
|
521 |
msgid "Custom query"
|
522 |
msgstr ""
|
523 |
|
524 |
#. translators: %1$s - escaped url.
|
525 |
+
#: dist/visual-portfolio/classes/class-admin.php:2188
|
526 |
msgid "Build custom query according to <a href=\"%1$s\">WordPress Codex</a>."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: dist/visual-portfolio/classes/class-admin.php:2214
|
530 |
msgid "Taxonomies"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: dist/visual-portfolio/classes/class-admin.php:2241
|
534 |
msgid "Taxonomies relation"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: dist/visual-portfolio/classes/class-admin.php:2245
|
538 |
msgid "OR"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: dist/visual-portfolio/classes/class-admin.php:2246
|
542 |
msgid "AND"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: dist/visual-portfolio/classes/class-admin.php:2267
|
546 |
msgid "Order by"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: dist/visual-portfolio/classes/class-admin.php:2271
|
550 |
msgid "Date"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: dist/visual-portfolio/classes/class-admin.php:2272, dist/visual-portfolio/classes/class-controls.php:586
|
554 |
msgid "Title"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: dist/visual-portfolio/classes/class-admin.php:2273
|
558 |
msgid "ID"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: dist/visual-portfolio/classes/class-admin.php:2274
|
562 |
msgid "Menu Order"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: dist/visual-portfolio/classes/class-admin.php:2275
|
566 |
msgid "Random"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: dist/visual-portfolio/classes/class-admin.php:2284
|
570 |
msgid "Order direction"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: dist/visual-portfolio/classes/class-admin.php:2288
|
574 |
msgid "DESC"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: dist/visual-portfolio/classes/class-admin.php:2289
|
578 |
msgid "ASC"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: dist/visual-portfolio/classes/class-admin.php:2328
|
582 |
msgid "Name & Shortcode"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: dist/visual-portfolio/classes/class-admin.php:2336
|
586 |
msgid "Layout"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: dist/visual-portfolio/classes/class-admin.php:2344
|
590 |
msgid "Items Style"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: dist/visual-portfolio/classes/class-admin.php:2352
|
594 |
msgid "Items Click Action"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: dist/visual-portfolio/classes/class-admin.php:2360
|
598 |
msgid "Filter"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: dist/visual-portfolio/classes/class-admin.php:2368
|
602 |
msgid "Pagination"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: dist/visual-portfolio/classes/class-admin.php:2377
|
606 |
msgid "Preview"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: dist/visual-portfolio/classes/class-admin.php:2385
|
610 |
msgid "Content Source"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: dist/visual-portfolio/classes/class-admin.php:2393
|
614 |
msgid "Custom CSS"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: dist/visual-portfolio/classes/class-admin.php:2414
|
618 |
msgid "Name"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: dist/visual-portfolio/classes/class-admin.php:2424
|
622 |
msgid "Place the shortcode where you want to show the portfolio list."
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: dist/visual-portfolio/classes/class-admin.php:2490
|
626 |
msgid "Filter Shortcode"
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: dist/visual-portfolio/classes/class-admin.php:2491
|
630 |
msgid "Place the shortcode where you want to show the filter."
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: dist/visual-portfolio/classes/class-admin.php:2558
|
634 |
msgid "Portfolio"
|
635 |
msgstr ""
|
636 |
|
637 |
+
#: dist/visual-portfolio/classes/class-admin.php:2564
|
638 |
msgid "Post-Based"
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: dist/visual-portfolio/classes/class-admin.php:2570
|
642 |
msgid "Images"
|
643 |
msgstr ""
|
644 |
|
645 |
#. translators: %1$s - escaped url.
|
646 |
+
#: dist/visual-portfolio/classes/class-admin.php:2589
|
647 |
msgid "Portfolio items list from <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: dist/visual-portfolio/classes/class-admin.php:2625
|
651 |
msgid "Available classes:"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: dist/visual-portfolio/classes/class-admin.php:2628
|
655 |
msgid " - use this classname for each styles you added. It is the main Visual Portfolio wrapper."
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: dist/visual-portfolio/classes/class-admin.php:2629
|
659 |
msgid " - items wrapper."
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: dist/visual-portfolio/classes/class-admin.php:2630
|
663 |
msgid " - single item wrapper."
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: dist/visual-portfolio/classes/class-admin.php:2631
|
667 |
msgid " - filter wrapper."
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: dist/visual-portfolio/classes/class-admin.php:2632
|
671 |
msgid " - pagination wrapper."
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: dist/visual-portfolio/classes/class-admin.php:2693
|
675 |
msgid "Specific Posts"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: dist/visual-portfolio/classes/class-admin.php:2694
|
679 |
msgid "Custom Query"
|
680 |
msgstr ""
|
681 |
|
720 |
msgstr ""
|
721 |
|
722 |
#. translators: %s - published in human format.
|
723 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1091
|
724 |
msgid "%s ago"
|
725 |
msgstr ""
|
726 |
|
readme.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Requires at least: 4.0.0
|
6 |
* Tested up to: 4.9
|
7 |
* Requires PHP: 5.4
|
8 |
-
* Stable tag: 1.9.
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -119,6 +119,12 @@ The manual installation method involves downloading our Visual Portfolio plugin
|
|
119 |
|
120 |
## Changelog ##
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
= 1.9.1 =
|
123 |
|
124 |
* changed lazyload image preloader z position (not able to click on items links)
|
5 |
* Requires at least: 4.0.0
|
6 |
* Tested up to: 4.9
|
7 |
* Requires PHP: 5.4
|
8 |
+
* Stable tag: 1.9.2
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
119 |
|
120 |
## Changelog ##
|
121 |
|
122 |
+
= 1.9.2 =
|
123 |
+
|
124 |
+
* added page-attributes in portfolio post type (Order attribute)
|
125 |
+
* fixed Menu Order in post based source (didn't work at all)
|
126 |
+
* possible fixed iOs isotope images position (sometimes broken)
|
127 |
+
|
128 |
= 1.9.1 =
|
129 |
|
130 |
* changed lazyload image preloader z position (not able to click on items links)
|