Server IP : 192.158.238.246 / Your IP : 3.18.103.55 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/jenniferflocom/www/wp-content/plugins/gutenkit-blocks-addon/build/blocks/drop-cap/ |
Upload File : |
(()=>{"use strict";var e,t,r,o={416:(e,t,r)=>{const o=window.wp.blocks;var n=r(7723),i=r(6087);const a=window.wp.blockEditor;var c=r(790);const s=(0,i.lazy)((()=>r.e(9031).then(r.bind(r,9031)))),l=JSON.parse('{"UU":"gutenkit/drop-cap"}'),{dropCap:p}=window.gutenkit.editorIcon;(0,o.registerBlockType)(l.UU,{edit:function({attributes:e,setAttributes:t,clientId:r,advancedControl:o,isSelected:i}){const{GkitStyle:l,GkitSuspense:p}=window.gutenkit.components,{useDeviceType:d,useDeviceList:u,useBlockStyles:g}=window.gutenkit.helpers,f=u(),{dropcapsText:b}=e,v=d(),h=(0,a.useBlockProps)();return g(e,t,"blocksCSS",((e,t)=>{const{parseCSS:r,backgroundGenerator:o,getBoxValue:n,getBorderValue:i,getTypographyValue:a,getColor:c}=window.gutenkit.helpers,s=e?.blockClass;return r([[{selector:`.${s} .gkit-dropcap-content`,color:c(e?.contentColor)},{selector:`.${s} .gkit-dropcap-content:first-child:first-letter`,color:c(e?.contentDropcapsColor),background:o(e?.contentDropcapsBackground).background,...i(e?.contentDropcapsBorder)}],t=>[{selector:`.${s} .gkit-dropcap-content`,...a(e?.contentTypography,t)},{selector:`.${s} .gkit-dropcap-content:first-child:first-letter`,...a(e?.contentDropcapsTypography,t),...n(e?.[`contentDropcapsPadding${t}`],"padding"),...n(e?.[`contentDropcapsMargin${t}`],"margin"),...n(e?.[`contentDropcapsBorderRadius${t}`],"border-radius")}]],t)})(e,f)),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l,{blocksCSS:e?.blocksCSS}),i&&(0,c.jsx)(p,{children:(0,c.jsx)(s,{attributes:e,setAttributes:t,device:v,advancedControl:o})}),(0,c.jsx)("div",{...h,children:(0,c.jsx)(a.RichText,{identifier:"content",tagName:"p",value:b,onChange:e=>{t({dropcapsText:e})},placeholder:(0,n.__)("Enter your title here...","gutenkit-blocks-addon"),className:"gkit-dropcap-content"})})]})},icon:{src:p},save:function({attributes:e}){const{dropcapsText:t}=e,r=a.useBlockProps.save();return(0,c.jsx)("div",{...r,children:(0,c.jsx)(a.RichText.Content,{identifier:"content",tagName:"p",value:t,className:"gkit-dropcap-content"})})}})},790:e=>{e.exports=window.ReactJSXRuntime},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.m=o,e=[],i.O=(t,r,o,n)=>{if(!r){var a=1/0;for(p=0;p<e.length;p++){r=e[p][0],o=e[p][1],n=e[p][2];for(var c=!0,s=0;s<r.length;s++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](r[s])))?r.splice(s--,1):(c=!1,n<a&&(a=n));if(c){e.splice(p--,1);var l=o();void 0!==l&&(t=l)}}return t}n=n||0;for(var p=e.length;p>0&&e[p-1][2]>n;p--)e[p]=e[p-1];e[p]=[r,o,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>e+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="gutenkit-blocks-addon:",i.l=(e,o,n,a)=>{if(t[e])t[e].push(o);else{var c,s;if(void 0!==n)for(var l=document.getElementsByTagName("script"),p=0;p<l.length;p++){var d=l[p];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+n){c=d;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+n),c.src=e),t[e]=[o];var u=(r,o)=>{c.onerror=c.onload=null,clearTimeout(g);var n=t[e];if(delete t[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach((e=>e(o))),r)return r(o)},g=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e+"../../"})(),(()=>{var e={9109:0,5529:0};i.f.j=(t,r)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(5529!=t){var n=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=n);var a=i.p+i.u(t),c=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,o[1](c)}}),"chunk-"+t,t)}else e[t]=0},i.O.j=t=>0===e[t];var t=(t,r)=>{var o,n,a=r[0],c=r[1],s=r[2],l=0;if(a.some((t=>0!==e[t]))){for(o in c)i.o(c,o)&&(i.m[o]=c[o]);if(s)var p=s(i)}for(t&&t(r);l<a.length;l++)n=a[l],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(p)},r=self.webpackChunkgutenkit_blocks_addon=self.webpackChunkgutenkit_blocks_addon||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var a=i.O(void 0,[5529],(()=>i(416)));a=i.O(a)})();