This commit is contained in:
2024-05-20 15:37:46 +03:00
commit 00b7dbd0b7
10404 changed files with 3285853 additions and 0 deletions
@@ -0,0 +1 @@
.visual-portfolio-elementor-preview{overflow:hidden;pointer-events:none;position:relative}.visual-portfolio-elementor-preview iframe{max-width:none;min-height:20px}
@@ -0,0 +1 @@
.visual-portfolio-elementor-preview{overflow:hidden;pointer-events:none;position:relative}.visual-portfolio-elementor-preview iframe{max-width:none;min-height:20px}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
<defs>
<style>
.cls-1 {
fill: #bbbbbb;
}
</style>
</defs>
<rect id="BR" class="cls-1" y="6" width="7" height="9"/>
<rect id="BL" class="cls-1" x="8" y="10" width="7" height="5"/>
<rect id="TR" class="cls-1" width="7" height="5"/>
<rect id="TL" class="cls-1" x="8" width="7" height="9"/>
</svg>

After

Width:  |  Height:  |  Size: 454 B

@@ -0,0 +1,11 @@
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" rx="50" fill="currentColor"/>
<path d="M57.5311 69.5L70.2439 33H58.4473L47 69.5H57.5311Z" fill="url(#paint0_linear)"/>
<path d="M42.7128 69.5L30 33H41.7966L53.2439 69.5H42.7128Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="64.5" y1="33" x2="33" y2="77" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="white" stop-opacity="0"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 548 B

@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
<defs>
<style>
.cls-1 {
fill: #555d66;
}
</style>
</defs>
<rect id="BR" class="cls-1" y="6" width="7" height="9"/>
<rect id="BL" class="cls-1" x="8" y="10" width="7" height="5"/>
<rect id="TR" class="cls-1" width="7" height="5"/>
<rect id="TL" class="cls-1" x="8" width="7" height="9"/>
</svg>

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

@@ -0,0 +1,11 @@
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" rx="50" fill="white"/>
<path d="M57.5311 69.5L70.2439 33H58.4473L47 69.5H57.5311Z" fill="url(#paint0_linear)"/>
<path d="M42.7128 69.5L30 33H41.7966L53.2439 69.5H42.7128Z" fill="black"/>
<defs>
<linearGradient id="paint0_linear" x1="64.5" y1="33" x2="33" y2="77" gradientUnits="userSpaceOnUse">
<stop/>
<stop offset="1" stop-opacity="0"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

@@ -0,0 +1 @@
<?php return array('dependencies' => array('jquery'), 'version' => 'a5acab910f687a1d18d9');
@@ -0,0 +1 @@
!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.jQuery,n=e.n(t);const{ajaxurl:r,VPAdminVariables:a}=window;n()('select[name="vp_general[portfolio_archive_page]"]').select2({ajax:{url:r,dataType:"json",delay:250,data(e){return{q:e.term,selected:this[0].value,nonce:a.nonce,action:"vp_get_pages_list"}},processResults(e){const t=[],r=this.$element.select2("data");let a=!1;return r&&r[0]&&r[0].selected&&(a=Number(r[0].id),t.push({id:a,text:r[0].text})),e&&n().each(e,((e,n)=>{a&&a===n[0]||t.push({id:n[0],text:n[1]})})),{results:t}},cache:!0}})}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jquery'), 'version' => '9c6d0bd9ffc24de033f3');
@@ -0,0 +1 @@
!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,t=e.n(n);const{ajaxurl:o,VPAskReviewNotice:i}=window;t()("body").on("click",".vpf-review-plugin-notice-dismiss",(function(e){const n=t()(this),r=n.attr("data-vpf-review-action");"yes"!==r&&e.preventDefault(),n.closest(".notice").slideUp("slow"),t().post(o,{action:"vpf_dismiss_ask_review_notice",type:r,nonce:i.nonce})}))}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jquery'), 'version' => '04e0dbca72c32ccb2701');
@@ -0,0 +1 @@
!function(){"use strict";var e={n:function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(i,{a:i}),i},d:function(n,i){for(var o in i)e.o(i,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:i[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,i=e.n(n);const{elementorFrontend:o,VPAdminElementorVariables:r}=window,t=i()(window);t.on("elementor/frontend/init",(e=>{if(!r)return;const{target:n}=e;function a(){const e=n.jQuery(n.document).width();n.jQuery.find(".visual-portfolio-elementor-preview iframe").forEach((n=>{const o=i()(n),r=o.parent().width();o.css({width:e}),n.iFrameResizer&&(n.iFrameResizer.sendMessage({name:"resize",width:r}),n.iFrameResizer.resize())}))}var c,u,l,d;t.on("resize",function(e,n,i){var o,r=i||{},t=r.noTrailing,a=void 0!==t&&t,c=r.noLeading,u=void 0!==c&&c,l=r.debounceMode,d=void 0===l?void 0:l,s=!1,f=0;function m(){o&&clearTimeout(o)}function v(){for(var i=arguments.length,r=new Array(i),t=0;t<i;t++)r[t]=arguments[t];var c=this,l=Date.now()-f;function v(){f=Date.now(),n.apply(c,r)}function p(){o=void 0}s||(u||!d||o||v(),m(),void 0===d&&l>e?u?(f=Date.now(),a||(o=setTimeout(d?p:v,e))):v():!0!==a&&(o=setTimeout(d?p:v,void 0===d?e-l:e)))}return v.cancel=function(e){var n=(e||{}).upcomingOnly,i=void 0!==n&&n;m(),s=!i},v}(300,(c=a,u=[],l=null,d=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];u=n,l||(l=requestAnimationFrame((function(){l=null,c.apply(void 0,u)})))},d.cancel=function(){l&&(cancelAnimationFrame(l),l=null)},d))),o.hooks.addAction("frontend/element_ready/visual-portfolio.default",(e=>{const n=i()(e).find(".visual-portfolio-elementor-preview"),o=n.find("iframe"),t=n.attr("data-id"),c=`${r.preview_url+(r.preview_url.split("?")[1]?"&":"?")}vp_preview_frame=true&vp_preview_type=elementor&vp_preview_frame_id=${t}&vp_preview_nonce=${r.nonce}`;o.attr("src",c),i().fn.iFrameResize&&o.iFrameResize({onInit(){a()},onMessage({message:e}){"clicked"===e&&(o.closest(".elementor-element").find(".elementor-editor-element-edit").click(),window.focus())}})}))}))}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '540fe6b74d5bdff27971');
@@ -0,0 +1 @@
!function(){const{tinymce:t,VPTinyMCEData:i}=window;if(void 0!==i&&i.layouts.length){const l=[{text:"",value:""}];Object.keys(i.layouts).forEach((t=>{l.push({text:i.layouts[t].title,value:i.layouts[t].id})})),t.create("tinymce.plugins.visual_portfolio",{init(t){t.addButton("visual_portfolio",{type:"listbox",title:i.plugin_name,icon:"visual-portfolio",classes:"visual-portfolio-btn",onclick(){this.menu&&this.menu.$el.find(".mce-first").hide()},onselect(){this.value()&&t.insertContent(`[visual_portfolio id="${this.value()}"]`),this.value("")},values:l,value:""})}}),t.PluginManager.add("visual_portfolio",t.plugins.visual_portfolio)}}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '31d6cfe0d16ae931b73c');
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jquery', 'wp-compose'), 'version' => '6387ffe7069208ed46b3');
@@ -0,0 +1 @@
!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,t=e.n(n),o=window.wp.compose;const{ajaxurl:i,VPAdminVariables:r}=window,c=t()("body");c.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"], [name="vp_sort_shortcode"]',(function(){this.select()})),c.on("click",".vp-onclick-selection",(function(){window.getSelection().selectAllChildren(this)})),c.on("copy cut",".vp-onclick-selection",(e=>{const n=window.getSelection().toString().replace(/[\n\r]+/g,"");e.originalEvent.clipboardData.setData("text/plain",n),e.originalEvent.preventDefault()}));const l=t()("#vp_format_video"),a=t()("#post-format-video");let u=null;function s(e){null!==u&&u===e||(u=e,l[e?"show":"hide"]())}l.length&&a.length&&(s(a.is(":checked")),c.on("change","[name=post_format]",(()=>{s(a.is(":checked"))})));let p=null,d=function(e){p=t().ajax({url:i,method:"POST",dataType:"json",data:{action:"vp_find_oembed",q:e.val(),nonce:r.nonce},complete(n){const t=n.responseJSON;t&&void 0!==t.html&&e.next(".vp-oembed-preview").html(t.html)}})};var f,h,m,v;d=(0,o.debounce)(300,(f=d,h=[],m=null,v=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];h=n,m||(m=requestAnimationFrame((function(){m=null,f.apply(void 0,h)})))},v.cancel=function(){m&&(cancelAnimationFrame(m),m=null)},v)),c.on("change input",'.vp-input[name="_vp_format_video_url"]',(function(){null!==p&&p.abort();const e=t()(this);e.next(".vp-oembed-preview").html(""),d(e)})),c.on("change","input[name='vp_general[register_portfolio_post_type]']",(function(){t()(this).is(":checked")||confirm("Are you sure you want to turn off the Portfolio custom post type and related taxonomies? Make sure you don't use this post type on your site, otherwise you might see errors on the frontend.")||t()(this).prop("checked",!0)}))}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jquery'), 'version' => 'b8cbac7aeb677e894b20');
@@ -0,0 +1 @@
!function(){"use strict";var e={n:function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(o,{a:o}),o},d:function(n,o){for(var t in o)e.o(o,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:o[t]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,o=e.n(n);const{vc:t}=window;o()((()=>{void 0!==t&&t.events.on("shortcodes:add shortcodeView:updated",(e=>{if("visual_portfolio"!==e.settings.base)return;const n=t.$frame[0].contentWindow,o=!!n&&n.jQuery;if(o){const n=o(e.view.el).children(".vp-portfolio");n.length&&void 0!==n.vpf&&n.vpf()}}))}))}();