Deprecated : The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 148
Deprecated : The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 266
Deprecated : The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 274
fg/home2/cargocap/public_html/wp-content/plugins/gutenify/core/dist/blocks/countup/index.js
(()=>{"use strict";var e,t={8205:()=>{const e=window.React,t=window.wp.blocks,n=window.wp.components,o=JSON.parse('{"UU":"gutenify/count-up"}'),i=window.wp.blockEditor,u=window.wp.i18n,r=window.wp.primitives,l=(0,e.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(r.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})),a=(0,e.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(r.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})),c=(0,e.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(r.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})),p="gutenify",f=window?.[`_${p}_vars`]?window[`_${p}_vars`]:{},{is_pro_activated:s,pro_account_url:m,pro_license_status:g,title:x,prefix:y,slug:b,authorWebSite:_,authorDemoWebSite:C,authorWebSiteProPage:v,defaultTheme:d,authorWebSiteSupport:h,plugin_directory_url:E,brand_color:S,plugin_main_version:w,documentationsURL:N,pro_title:P,active_blocks:z,plugin_main_camel_case_name:B}=f,{countUp:T}=(f?.siteUrl?f.siteUrl:f.site_url,(0,u.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'<a href="'+v+'" target="_blank">',P,"</a>"),window?.[`_${y}_vars`]?.components?.Icons),{UU:k}=o;(0,t.registerBlockType)(k,{icon:(0,e.createElement)(n.Icon,{icon:T}),edit:t=>{const{attributes:{prefix:o,suffix:r,startNumber:p,endNumber:f,prefixColor:s,counterColor:m,suffixColor:g,prefixSize:x,suffixSize:y,counterSize:b,justifyContent:_,gapBeforeCounter:C,gapAfterCounter:v,counterTime:d,prefixToTop:h,suffixToBottom:E},setAttributes:S}=t,w=(0,i.useBlockProps)({"data-endnumber":f,"data-startnumber":p,"data-countertime":d,"data-prefixtop":h,"data-suffixbottom":E,style:{"--gutenify-countup-prefix-color":s,"--gutenify-countup-counter-color":m,"--gutenify-countup-suffix-color":g,"--gutenify-countup-prefix-size":x,"--gutenify-countup-counter-size":b,"--gutenify-countup-suffix-size":y,"--gutenify-countup-justify-content":_,"--gutenify-countup-gap-before-counter":C,"--gutenify-countup-gap-after-counter":v}});return(0,e.createElement)("div",{...w},(0,e.createElement)(i.InspectorControls,null,(0,e.createElement)(n.Panel,null,(0,e.createElement)(n.PanelBody,{title:"Input Sections",initialOpen:!0},(0,e.createElement)(n.__experimentalInputControl,{value:o,onChange:e=>S({prefix:e}),label:"Prefix text"}),(0,e.createElement)(n.__experimentalInputControl,{value:r,onChange:e=>S({suffix:e}),label:"Suffix text"}),(0,e.createElement)(n.__experimentalInputControl,{value:p,onChange:e=>S({startNumber:e}),label:"Start Number ",type:"number",min:0}),(0,e.createElement)(n.__experimentalInputControl,{value:f,onChange:e=>S({endNumber:e}),label:"End Number",type:"number",min:p}),(0,e.createElement)(n.__experimentalInputControl,{value:d,onChange:e=>S({counterTime:e}),label:"Time",type:"number",min:0})))),(0,e.createElement)(i.InspectorControls,{group:"styles"},(0,e.createElement)(n.PanelBody,{title:"Prefix Style",initialOpen:!1},(0,e.createElement)(i.PanelColorSettings,{title:(0,u.__)("Prefix"),className:"gutenify-countup-color-setting",__experimentalIsRenderedInSidebar:!0,colorSettings:[{value:s,onChange:e=>S({prefixColor:e}),label:(0,u.__)("Prefix Color")}]}),(0,e.createElement)(n.__experimentalUnitControl,{onChange:e=>S({prefixSize:e}),value:x,label:(0,u.__)("Font Size"),min:10})),(0,e.createElement)(n.PanelBody,{title:"Counter Style",initialOpen:!1},(0,e.createElement)(i.PanelColorSettings,{title:(0,u.__)("Counter"),className:"gutenify-countup-color-setting",colorSettings:[{value:m,onChange:e=>S({counterColor:e}),label:(0,u.__)("Counter Color")}]}),(0,e.createElement)(n.__experimentalUnitControl,{onChange:e=>S({counterSize:e}),value:b,label:(0,u.__)("Font Size"),min:10})),(0,e.createElement)(n.PanelBody,{title:"Suffix Style",initialOpen:!1},(0,e.createElement)(i.PanelColorSettings,{title:(0,u.__)("Suffix"),className:"gutenify-countup-color-setting",colorSettings:[{value:g,onChange:e=>S({suffixColor:e}),label:(0,u.__)("Suffix Color")}]}),(0,e.createElement)(n.__experimentalUnitControl,{onChange:e=>S({suffixSize:e}),value:y,label:(0,u.__)("Font Size"),min:10})),(0,e.createElement)(n.PanelBody,{title:"Dimensions",initialOpen:!0},(0,e.createElement)(n.__experimentalUnitControl,{label:"Counter-Prefix Space",onChange:e=>S({gapBeforeCounter:e}),value:C,min:0}),(0,e.createElement)(n.__experimentalUnitControl,{label:"Counter-Suffix Space",onChange:e=>S({gapAfterCounter:e}),value:v,min:0}),(0,e.createElement)(n.SelectControl,{label:"Prefix placement",value:h,options:[{label:"Inline",value:"inline"},{label:"Top",value:"top"},{label:"Bottom",value:"bottom"}],onChange:e=>S({prefixToTop:e}),__nextHasNoMarginBottom:!0}),(0,e.createElement)(n.SelectControl,{label:"Suffix placement",value:E,options:[{label:"Inline",value:"inline"},{label:"Top",value:"top"},{label:"Bottom",value:"bottom"}],onChange:e=>S({suffixToBottom:e}),__nextHasNoMarginBottom:!0}))),(0,e.createElement)(i.BlockControls,null,(0,e.createElement)(n.ToolbarGroup,{label:"Options"},(0,e.createElement)(n.ToolbarDropdownMenu,{icon:"center"===_&&l||"right"===_&&a||"left"===_&&c,controls:[{title:"Left",icon:c,onClick:()=>S({justifyContent:"left"})},{title:"Center",icon:l,onClick:()=>S({justifyContent:"center"})},{title:"Right",icon:a,onClick:()=>S({justifyContent:"right"})}]}))),("top"==h||"inline"==h)&&(0,e.createElement)("span",{className:`gutenify-countup-prefix ${"inline"==h?"gutenify-countup-prefix-line":"top"==h&&"gutenify-countup-prefix-top"} `},o),"top"===E&&(0,e.createElement)("span",{className:"gutenify-countup-suffix gutenify-countup-suffix-top"},r),(0,e.createElement)("span",{className:"gutenify-countup-counter",id:"gutenify-countup-counter"},f),("bottom"==E||"inline"==E)&&(0,e.createElement)("span",{className:`gutenify-countup-suffix ${"bottom"==E?"gutenify-countup-suffix-bottom":"inline"==E&&"gutenify-countup-suffix-line"}`},r),"bottom"===h&&(0,e.createElement)("span",{className:"gutenify-countup-prefix gutenify-countup-prefix-bottom"},o))},save:t=>{const{attributes:{prefix:n,suffix:o,startNumber:u,endNumber:r,prefixColor:l,counterColor:a,suffixColor:c,prefixSize:p,suffixSize:f,counterSize:s,justifyContent:m,gapBeforeCounter:g,gapAfterCounter:x,counterTime:y,prefixToTop:b,suffixToBottom:_}}=t,C=i.useBlockProps.save({"data-endnumber":r,"data-startnumber":u,"data-countertime":y,"data-prefixtop":b,"data-suffixbottom":_,style:{"--gutenify-countup-prefix-color":l,"--gutenify-countup-counter-color":a,"--gutenify-countup-suffix-color":c,"--gutenify-countup-prefix-size":p,"--gutenify-countup-counter-size":s,"--gutenify-countup-suffix-size":f,"--gutenify-countup-justify-content":m,"--gutenify-countup-gap-before-counter":g,"--gutenify-countup-gap-after-counter":x}});return(0,e.createElement)("div",{...C},("top"==b||"inline"==b)&&(0,e.createElement)("span",{className:`gutenify-countup-prefix ${"inline"==b?"gutenify-countup-prefix-line":"top"==b&&"gutenify-countup-prefix-top"} `},n),"top"===_&&(0,e.createElement)("span",{className:"gutenify-countup-suffix gutenify-countup-suffix-top"},o),(0,e.createElement)("span",{className:"gutenify-countup-counter",id:"gutenify-countup-counter"},r),("bottom"==_||"inline"==_)&&(0,e.createElement)("span",{className:`gutenify-countup-suffix ${"bottom"==_?"gutenify-countup-suffix-top":"inline"==_&&"gutenify-countup-suffix-line"}`},o),"bottom"===b&&(0,e.createElement)("span",{className:"gutenify-countup-prefix gutenify-countup-prefix-top"},n))}})}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var u=n[e]={exports:{}};return t[e](u,u.exports,o),u.exports}o.m=t,e=[],o.O=(t,n,i,u)=>{if(!n){var r=1/0;for(p=0;p<e.length;p++){for(var[n,i,u]=e[p],l=!0,a=0;a<n.length;a++)(!1&u||r>=u)&&Object.keys(o.O).every((e=>o.O[e](n[a])))?n.splice(a--,1):(l=!1,u<r&&(r=u));if(l){e.splice(p--,1);var c=i();void 0!==c&&(t=c)}}return t}u=u||0;for(var p=e.length;p>0&&e[p-1][2]>u;p--)e[p]=e[p-1];e[p]=[n,i,u]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={3186:0,1862:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var i,u,[r,l,a]=n,c=0;if(r.some((t=>0!==e[t]))){for(i in l)o.o(l,i)&&(o.m[i]=l[i]);if(a)var p=a(o)}for(t&&t(n);c<r.length;c++)u=r[c],o.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return o.O(p)},n=globalThis.webpackChunkgutenify=globalThis.webpackChunkgutenify||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=o.O(void 0,[1862],(()=>o(8205)));i=o.O(i)})();
Run Command [Bypass]
Run Command