HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/zeusxp5/chuair.org/wp-content/plugins/wd-framework/build/responsive-spacer.js
!function(){"use strict";var e,t={7097:function(){var e=window.wp.blocks;function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},t.apply(this,arguments)}var n=window.wp.element,i=window.wp.i18n,r=window.wp.blockEditor,o=function(e){let{icon:t,size:i=24,...r}=e;return(0,n.cloneElement)(t,{width:i,height:i,...r})},a=window.wp.primitives,c=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})),s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})),l=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})),p=JSON.parse('{"apiVersion":2,"name":"webdevia/responsive-spacer","version":"0.1.0","title":"Responsive spacer","category":"webdevia","description":"The Responsive spacer!","supports":{"html":false},"attributes":{"DesktopHeight":{"type":"integer","default":200},"TabletHeight":{"type":"integer","default":100},"MobileHeight":{"type":"integer","default":50}},"keywords":["responsive","spacer"],"textdomain":"webdevia-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","viewScript":"file:./view.js","style":"file:./style-index.css"}');const{name:h,...v}=p,w=wp.element.createElement,d=w("svg",{width:24,height:24,viewBox:"0 0 24 24",strokeWidth:"0",className:"wd-blocks-icon"},w("path",{d:"M8.465 16.95l2.828 3.05h-7.293v-7.293l3.051 2.829 8.484-8.486-2.828-3.05h7.293v7.292l-3.051-2.828z"}));(0,e.registerBlockType)(h,{...v,icon:d,edit:function(e){let{attributes:a,setAttributes:p}=e;const{PanelBody:h,RangeControl:v}=wp.components,{InspectorControls:w}=wp.blockEditor,{DesktopHeight:d,TabletHeight:m,MobileHeight:u}=a;return[(0,n.createElement)(w,{key:"1"},(0,n.createElement)(h,{title:(0,i.__)("Responsive spacer settings"),className:"wd__responsive-spacer__panel-body"},(0,n.createElement)(v,{label:(0,i.__)("Height in pixels (Desktop):","wd-framework"),beforeIcon:(0,n.createElement)(o,{icon:c}),value:d,onChange:e=>{p({DesktopHeight:e})},min:0,max:500,placeholder:"Enter the number of posts per page"}),(0,n.createElement)(v,{label:(0,i.__)("Height in pixels (Tablet):","wd-framework"),beforeIcon:(0,n.createElement)(o,{icon:s}),value:m,onChange:e=>{p({TabletHeight:e})},min:0,max:500}),(0,n.createElement)(v,{label:(0,i.__)("Height in pixels (Mobile):","wd-framework"),beforeIcon:(0,n.createElement)(o,{icon:l}),value:u,onChange:e=>{p({MobileHeight:e})},min:0,max:500}))),(0,n.createElement)("div",t({},(0,r.useBlockProps)(),{style:{height:d}}))]},save:function(e){let{attributes:i}=e;const{DesktopHeight:o,TabletHeight:a,MobileHeight:c}=i,s=r.useBlockProps.save({className:"wd_empty_space"});return(0,n.createElement)("div",t({},s,{"data-heightmobile":c,"data-heighttablet":a,"data-heightdesktop":o}))}})}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.m=t,e=[],i.O=function(t,n,r,o){if(!n){var a=1/0;for(p=0;p<e.length;p++){n=e[p][0],r=e[p][1],o=e[p][2];for(var c=!0,s=0;s<n.length;s++)(!1&o||a>=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[s])}))?n.splice(s--,1):(c=!1,o<a&&(a=o));if(c){e.splice(p--,1);var l=r();void 0!==l&&(t=l)}}return t}o=o||0;for(var p=e.length;p>0&&e[p-1][2]>o;p--)e[p]=e[p-1];e[p]=[n,r,o]},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={2797:0,9207:0,649:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,a=n[0],c=n[1],s=n[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)var p=s(i)}for(t&&t(n);l<a.length;l++)o=a[l],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(p)},n=self.webpackChunkwebdevia_blocks=self.webpackChunkwebdevia_blocks||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var r=i.O(void 0,[649],(function(){return i(7097)}));r=i.O(r)}();